From ae581a19fbe896a797450b9d9573fb66f2735227 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 16:37:38 +0200 Subject: Adding upstream version 1.9.13p3. Signed-off-by: Daniel Baumann --- plugins/sudoers/Makefile.in | 3192 +++++++++++ plugins/sudoers/alias.c | 377 ++ plugins/sudoers/audit.c | 472 ++ plugins/sudoers/auth/API | 148 + plugins/sudoers/auth/afs.c | 87 + plugins/sudoers/auth/aix_auth.c | 311 + plugins/sudoers/auth/bsdauth.c | 212 + plugins/sudoers/auth/dce.c | 201 + plugins/sudoers/auth/fwtk.c | 158 + plugins/sudoers/auth/kerb5.c | 338 ++ plugins/sudoers/auth/pam.c | 766 +++ plugins/sudoers/auth/passwd.c | 130 + plugins/sudoers/auth/rfc1938.c | 139 + plugins/sudoers/auth/secureware.c | 113 + plugins/sudoers/auth/securid5.c | 234 + plugins/sudoers/auth/sia.c | 155 + plugins/sudoers/auth/sudo_auth.c | 492 ++ plugins/sudoers/auth/sudo_auth.h | 107 + plugins/sudoers/b64_decode.c | 83 + plugins/sudoers/b64_encode.c | 64 + plugins/sudoers/boottime.c | 167 + plugins/sudoers/bsm_audit.c | 283 + plugins/sudoers/bsm_audit.h | 26 + plugins/sudoers/check.c | 401 ++ plugins/sudoers/check.h | 91 + plugins/sudoers/check_aliases.c | 226 + plugins/sudoers/cvtsudoers.c | 1526 +++++ plugins/sudoers/cvtsudoers.h | 119 + plugins/sudoers/cvtsudoers_csv.c | 718 +++ plugins/sudoers/cvtsudoers_json.c | 933 +++ plugins/sudoers/cvtsudoers_ldif.c | 733 +++ plugins/sudoers/cvtsudoers_merge.c | 1247 ++++ plugins/sudoers/cvtsudoers_pwutil.c | 484 ++ plugins/sudoers/def_data.c | 701 +++ plugins/sudoers/def_data.h | 341 ++ plugins/sudoers/def_data.in | 502 ++ plugins/sudoers/defaults.c | 1288 +++++ plugins/sudoers/defaults.h | 154 + plugins/sudoers/digestname.c | 55 + plugins/sudoers/editor.c | 274 + plugins/sudoers/env.c | 1419 +++++ plugins/sudoers/env_pattern.c | 93 + plugins/sudoers/exptilde.c | 99 + plugins/sudoers/file.c | 145 + plugins/sudoers/filedigest.c | 92 + plugins/sudoers/find_path.c | 172 + plugins/sudoers/fmtsudoers.c | 318 ++ plugins/sudoers/fmtsudoers_cvt.c | 219 + plugins/sudoers/gc.c | 164 + plugins/sudoers/gentime.c | 171 + plugins/sudoers/getdate.c | 2457 ++++++++ plugins/sudoers/getdate.y | 923 +++ plugins/sudoers/getspwuid.c | 139 + plugins/sudoers/goodpath.c | 73 + plugins/sudoers/gram.c | 4231 ++++++++++++++ plugins/sudoers/gram.h | 206 + plugins/sudoers/gram.y | 2048 +++++++ plugins/sudoers/group_plugin.c | 313 + plugins/sudoers/ins_2001.h | 35 + plugins/sudoers/ins_classic.h | 39 + plugins/sudoers/ins_csops.h | 41 + plugins/sudoers/ins_goons.h | 50 + plugins/sudoers/ins_python.h | 39 + plugins/sudoers/insults.h | 69 + plugins/sudoers/interfaces.c | 134 + plugins/sudoers/interfaces.h | 57 + plugins/sudoers/iolog.c | 1367 +++++ plugins/sudoers/iolog_path_escapes.c | 141 + plugins/sudoers/ldap.c | 2154 +++++++ plugins/sudoers/ldap_conf.c | 953 ++++ plugins/sudoers/ldap_util.c | 634 +++ plugins/sudoers/linux_audit.c | 116 + plugins/sudoers/linux_audit.h | 24 + plugins/sudoers/locale.c | 155 + plugins/sudoers/log_client.c | 2069 +++++++ plugins/sudoers/log_client.h | 123 + plugins/sudoers/logging.c | 1092 ++++ plugins/sudoers/logging.h | 95 + plugins/sudoers/match.c | 709 +++ plugins/sudoers/match_addr.c | 208 + plugins/sudoers/match_command.c | 903 +++ plugins/sudoers/match_digest.c | 137 + plugins/sudoers/mkdefaults | 164 + plugins/sudoers/parse.c | 1089 ++++ plugins/sudoers/parse.h | 458 ++ plugins/sudoers/parse_ldif.c | 781 +++ plugins/sudoers/po/README | 14 + plugins/sudoers/po/ast.mo | Bin 0 -> 34264 bytes plugins/sudoers/po/ast.po | 2343 ++++++++ plugins/sudoers/po/ca.mo | Bin 0 -> 67494 bytes plugins/sudoers/po/ca.po | 3260 +++++++++++ plugins/sudoers/po/cs.mo | Bin 0 -> 77482 bytes plugins/sudoers/po/cs.po | 4084 +++++++++++++ plugins/sudoers/po/da.mo | Bin 0 -> 46504 bytes plugins/sudoers/po/da.po | 2344 ++++++++ plugins/sudoers/po/de.mo | Bin 0 -> 80375 bytes plugins/sudoers/po/de.po | 3815 +++++++++++++ plugins/sudoers/po/el.mo | Bin 0 -> 51009 bytes plugins/sudoers/po/el.po | 1718 ++++++ plugins/sudoers/po/eo.mo | Bin 0 -> 74185 bytes plugins/sudoers/po/eo.po | 3789 ++++++++++++ plugins/sudoers/po/es.mo | Bin 0 -> 14341 bytes plugins/sudoers/po/es.po | 1882 ++++++ plugins/sudoers/po/eu.mo | Bin 0 -> 6404 bytes plugins/sudoers/po/eu.po | 1679 ++++++ plugins/sudoers/po/fi.mo | Bin 0 -> 73935 bytes plugins/sudoers/po/fi.po | 4136 ++++++++++++++ plugins/sudoers/po/fr.mo | Bin 0 -> 84891 bytes plugins/sudoers/po/fr.po | 4135 ++++++++++++++ plugins/sudoers/po/fur.mo | Bin 0 -> 9485 bytes plugins/sudoers/po/fur.po | 2119 +++++++ plugins/sudoers/po/hr.mo | Bin 0 -> 78225 bytes plugins/sudoers/po/hr.po | 4173 ++++++++++++++ plugins/sudoers/po/hu.mo | Bin 0 -> 26073 bytes plugins/sudoers/po/hu.po | 2152 +++++++ plugins/sudoers/po/it.mo | Bin 0 -> 68062 bytes plugins/sudoers/po/it.po | 3271 +++++++++++ plugins/sudoers/po/ja.mo | Bin 0 -> 87074 bytes plugins/sudoers/po/ja.po | 4150 ++++++++++++++ plugins/sudoers/po/ka.mo | Bin 0 -> 14862 bytes plugins/sudoers/po/ka.po | 3715 ++++++++++++ plugins/sudoers/po/ko.mo | Bin 0 -> 80213 bytes plugins/sudoers/po/ko.po | 3992 +++++++++++++ plugins/sudoers/po/lt.mo | Bin 0 -> 1994 bytes plugins/sudoers/po/lt.po | 1682 ++++++ plugins/sudoers/po/nb.mo | Bin 0 -> 49008 bytes plugins/sudoers/po/nb.po | 2444 ++++++++ plugins/sudoers/po/nl.mo | Bin 0 -> 39096 bytes plugins/sudoers/po/nl.po | 2282 ++++++++ plugins/sudoers/po/pl.mo | Bin 0 -> 78283 bytes plugins/sudoers/po/pl.po | 3796 +++++++++++++ plugins/sudoers/po/pt.mo | Bin 0 -> 70925 bytes plugins/sudoers/po/pt.po | 3681 ++++++++++++ plugins/sudoers/po/pt_BR.mo | Bin 0 -> 73478 bytes plugins/sudoers/po/pt_BR.po | 3801 +++++++++++++ plugins/sudoers/po/ro.mo | Bin 0 -> 81480 bytes plugins/sudoers/po/ro.po | 4081 +++++++++++++ plugins/sudoers/po/ru.mo | Bin 0 -> 10958 bytes plugins/sudoers/po/ru.po | 3852 +++++++++++++ plugins/sudoers/po/sk.mo | Bin 0 -> 4927 bytes plugins/sudoers/po/sk.po | 1892 ++++++ plugins/sudoers/po/sl.mo | Bin 0 -> 36413 bytes plugins/sudoers/po/sl.po | 1758 ++++++ plugins/sudoers/po/sr.mo | Bin 0 -> 98181 bytes plugins/sudoers/po/sr.po | 3962 +++++++++++++ plugins/sudoers/po/sudoers.pot | 3743 ++++++++++++ plugins/sudoers/po/sv.mo | Bin 0 -> 74994 bytes plugins/sudoers/po/sv.po | 4117 ++++++++++++++ plugins/sudoers/po/tr.mo | Bin 0 -> 13979 bytes plugins/sudoers/po/tr.po | 1721 ++++++ plugins/sudoers/po/uk.mo | Bin 0 -> 106262 bytes plugins/sudoers/po/uk.po | 3866 +++++++++++++ plugins/sudoers/po/vi.mo | Bin 0 -> 54696 bytes plugins/sudoers/po/vi.po | 2502 ++++++++ plugins/sudoers/po/zh_CN.mo | Bin 0 -> 63567 bytes plugins/sudoers/po/zh_CN.po | 4134 ++++++++++++++ plugins/sudoers/po/zh_TW.mo | Bin 0 -> 71395 bytes plugins/sudoers/po/zh_TW.po | 4015 +++++++++++++ plugins/sudoers/policy.c | 1377 +++++ plugins/sudoers/prompt.c | 170 + plugins/sudoers/pwutil.c | 1188 ++++ plugins/sudoers/pwutil.h | 77 + plugins/sudoers/pwutil_impl.c | 446 ++ plugins/sudoers/redblack.c | 479 ++ plugins/sudoers/redblack.h | 60 + .../sudoers/regress/check_symbols/check_symbols.c | 101 + .../regress/corpus/seed/ldif/invalid_b64.ldif | 33 + .../sudoers/regress/corpus/seed/ldif/pr196.ldif | 6 + .../sudoers/regress/corpus/seed/ldif/sample.ldif | 295 + .../regress/corpus/seed/ldif/valid_b64.ldif | 44 + .../sudoers/regress/corpus/seed/policy/policy.1 | 1 + .../sudoers/regress/corpus/seed/policy/policy.2 | 5 + .../sudoers/regress/corpus/seed/policy/policy.3 | 11 + .../sudoers/regress/corpus/seed/policy/policy.4 | 36 + .../sudoers/regress/corpus/seed/policy/policy.5 | 36 + plugins/sudoers/regress/cvtsudoers/sudoers | 126 + plugins/sudoers/regress/cvtsudoers/sudoers.defs | 19 + plugins/sudoers/regress/cvtsudoers/sudoers1 | 97 + plugins/sudoers/regress/cvtsudoers/sudoers2 | 97 + plugins/sudoers/regress/cvtsudoers/sudoers3 | 97 + plugins/sudoers/regress/cvtsudoers/sudoers4 | 97 + plugins/sudoers/regress/cvtsudoers/test1.out.ok | 14 + plugins/sudoers/regress/cvtsudoers/test1.sh | 10 + plugins/sudoers/regress/cvtsudoers/test10.out.ok | 1 + plugins/sudoers/regress/cvtsudoers/test10.sh | 10 + plugins/sudoers/regress/cvtsudoers/test11.out.ok | 7 + plugins/sudoers/regress/cvtsudoers/test11.sh | 8 + plugins/sudoers/regress/cvtsudoers/test12.out.ok | 8 + plugins/sudoers/regress/cvtsudoers/test12.sh | 8 + plugins/sudoers/regress/cvtsudoers/test13.out.ok | 7 + plugins/sudoers/regress/cvtsudoers/test13.sh | 8 + plugins/sudoers/regress/cvtsudoers/test14.out.ok | 7 + plugins/sudoers/regress/cvtsudoers/test14.sh | 8 + plugins/sudoers/regress/cvtsudoers/test15.out.ok | 1 + plugins/sudoers/regress/cvtsudoers/test15.sh | 10 + plugins/sudoers/regress/cvtsudoers/test16.out.ok | 1 + plugins/sudoers/regress/cvtsudoers/test16.sh | 10 + plugins/sudoers/regress/cvtsudoers/test17.out.ok | 1 + plugins/sudoers/regress/cvtsudoers/test17.sh | 10 + plugins/sudoers/regress/cvtsudoers/test18.out.ok | 1 + plugins/sudoers/regress/cvtsudoers/test18.sh | 10 + plugins/sudoers/regress/cvtsudoers/test19.out.ok | 11 + plugins/sudoers/regress/cvtsudoers/test19.sh | 8 + plugins/sudoers/regress/cvtsudoers/test2.out.ok | 10 + plugins/sudoers/regress/cvtsudoers/test2.sh | 10 + plugins/sudoers/regress/cvtsudoers/test20.conf | 6 + plugins/sudoers/regress/cvtsudoers/test20.out.ok | 1 + plugins/sudoers/regress/cvtsudoers/test20.sh | 13 + plugins/sudoers/regress/cvtsudoers/test21.conf | 8 + plugins/sudoers/regress/cvtsudoers/test21.out.ok | 24 + plugins/sudoers/regress/cvtsudoers/test21.sh | 14 + plugins/sudoers/regress/cvtsudoers/test22.out.ok | 31 + plugins/sudoers/regress/cvtsudoers/test22.sh | 73 + plugins/sudoers/regress/cvtsudoers/test23.out.ok | 20 + plugins/sudoers/regress/cvtsudoers/test23.sh | 9 + plugins/sudoers/regress/cvtsudoers/test24.out.ok | 89 + plugins/sudoers/regress/cvtsudoers/test24.sh | 9 + plugins/sudoers/regress/cvtsudoers/test25.out.ok | 31 + plugins/sudoers/regress/cvtsudoers/test25.sh | 53 + plugins/sudoers/regress/cvtsudoers/test26.err.ok | 3 + plugins/sudoers/regress/cvtsudoers/test26.out.ok | 0 plugins/sudoers/regress/cvtsudoers/test26.sh | 49 + plugins/sudoers/regress/cvtsudoers/test27.out.ok | 16 + plugins/sudoers/regress/cvtsudoers/test27.sh | 12 + plugins/sudoers/regress/cvtsudoers/test28.out.ok | 10 + plugins/sudoers/regress/cvtsudoers/test28.sh | 74 + plugins/sudoers/regress/cvtsudoers/test29.out.ok | 4 + plugins/sudoers/regress/cvtsudoers/test29.sh | 61 + plugins/sudoers/regress/cvtsudoers/test3.out.ok | 7 + plugins/sudoers/regress/cvtsudoers/test3.sh | 10 + plugins/sudoers/regress/cvtsudoers/test30.out.ok | 26 + plugins/sudoers/regress/cvtsudoers/test30.sh | 15 + plugins/sudoers/regress/cvtsudoers/test31.conf | 9 + plugins/sudoers/regress/cvtsudoers/test31.out.ok | 24 + plugins/sudoers/regress/cvtsudoers/test31.sh | 14 + plugins/sudoers/regress/cvtsudoers/test32.err.ok | 1 + plugins/sudoers/regress/cvtsudoers/test32.out.ok | 119 + plugins/sudoers/regress/cvtsudoers/test32.sh | 22 + plugins/sudoers/regress/cvtsudoers/test33.out.ok | 7 + plugins/sudoers/regress/cvtsudoers/test33.sh | 62 + plugins/sudoers/regress/cvtsudoers/test34.out.ok | 18 + plugins/sudoers/regress/cvtsudoers/test34.sh | 9 + plugins/sudoers/regress/cvtsudoers/test35.out.ok | 18 + plugins/sudoers/regress/cvtsudoers/test35.sh | 9 + plugins/sudoers/regress/cvtsudoers/test36.out.ok | 17 + plugins/sudoers/regress/cvtsudoers/test36.sh | 9 + plugins/sudoers/regress/cvtsudoers/test37.out.ok | 17 + plugins/sudoers/regress/cvtsudoers/test37.sh | 10 + plugins/sudoers/regress/cvtsudoers/test38.out.ok | 14 + plugins/sudoers/regress/cvtsudoers/test38.sh | 10 + plugins/sudoers/regress/cvtsudoers/test39.out.ok | 0 plugins/sudoers/regress/cvtsudoers/test39.sh | 12 + plugins/sudoers/regress/cvtsudoers/test4.out.ok | 5 + plugins/sudoers/regress/cvtsudoers/test4.sh | 10 + plugins/sudoers/regress/cvtsudoers/test40.out.ok | 10 + plugins/sudoers/regress/cvtsudoers/test40.sh | 29 + plugins/sudoers/regress/cvtsudoers/test5.out.ok | 6 + plugins/sudoers/regress/cvtsudoers/test5.sh | 10 + plugins/sudoers/regress/cvtsudoers/test6.out.ok | 1 + plugins/sudoers/regress/cvtsudoers/test6.sh | 10 + plugins/sudoers/regress/cvtsudoers/test7.out.ok | 2 + plugins/sudoers/regress/cvtsudoers/test7.sh | 10 + plugins/sudoers/regress/cvtsudoers/test8.out.ok | 1 + plugins/sudoers/regress/cvtsudoers/test8.sh | 10 + plugins/sudoers/regress/cvtsudoers/test9.out.ok | 1 + plugins/sudoers/regress/cvtsudoers/test9.sh | 10 + plugins/sudoers/regress/editor/check_editor.c | 162 + .../sudoers/regress/env_match/check_env_pattern.c | 76 + plugins/sudoers/regress/env_match/data | 22 + plugins/sudoers/regress/exptilde/check_exptilde.c | 105 + plugins/sudoers/regress/fuzz/fuzz_policy.c | 877 +++ plugins/sudoers/regress/fuzz/fuzz_policy.dict | 56 + plugins/sudoers/regress/fuzz/fuzz_stubs.c | 87 + plugins/sudoers/regress/fuzz/fuzz_sudoers.c | 419 ++ plugins/sudoers/regress/fuzz/fuzz_sudoers.dict | 221 + plugins/sudoers/regress/fuzz/fuzz_sudoers.out.ok | 577 ++ plugins/sudoers/regress/fuzz/fuzz_sudoers_ldif.c | 152 + .../sudoers/regress/fuzz/fuzz_sudoers_ldif.dict | 14 + plugins/sudoers/regress/harness.in | 217 + .../regress/iolog_plugin/check_iolog_plugin.c | 432 ++ plugins/sudoers/regress/parser/check_addr.c | 139 + plugins/sudoers/regress/parser/check_addr.in | 13 + plugins/sudoers/regress/parser/check_base64.c | 117 + plugins/sudoers/regress/parser/check_digest.c | 125 + plugins/sudoers/regress/parser/check_digest.out.ok | 36 + plugins/sudoers/regress/parser/check_fill.c | 205 + plugins/sudoers/regress/parser/check_gentime.c | 85 + .../regress/serialize_list/check_serialize_list.c | 83 + .../sudoers/regress/starttime/check_starttime.c | 128 + plugins/sudoers/regress/sudoers/test1.in | 12 + plugins/sudoers/regress/sudoers/test1.json.ok | 154 + plugins/sudoers/regress/sudoers/test1.ldif.ok | 88 + plugins/sudoers/regress/sudoers/test1.ldif2sudo.ok | 13 + plugins/sudoers/regress/sudoers/test1.out.ok | 6 + plugins/sudoers/regress/sudoers/test1.toke.ok | 8 + plugins/sudoers/regress/sudoers/test10.in | 1 + plugins/sudoers/regress/sudoers/test10.json.ok | 0 plugins/sudoers/regress/sudoers/test10.ldif.ok | 0 plugins/sudoers/regress/sudoers/test10.out.ok | 2 + plugins/sudoers/regress/sudoers/test10.toke.ok | 1 + plugins/sudoers/regress/sudoers/test11.in | 1 + plugins/sudoers/regress/sudoers/test11.json.ok | 0 plugins/sudoers/regress/sudoers/test11.ldif.ok | 0 plugins/sudoers/regress/sudoers/test11.out.ok | 1 + plugins/sudoers/regress/sudoers/test11.toke.ok | 2 + plugins/sudoers/regress/sudoers/test12.in | 1 + plugins/sudoers/regress/sudoers/test12.json.ok | 0 plugins/sudoers/regress/sudoers/test12.ldif.ok | 0 plugins/sudoers/regress/sudoers/test12.out.ok | 1 + plugins/sudoers/regress/sudoers/test12.toke.ok | 2 + plugins/sudoers/regress/sudoers/test13.in | 1 + plugins/sudoers/regress/sudoers/test13.json.ok | 0 plugins/sudoers/regress/sudoers/test13.ldif.ok | 0 plugins/sudoers/regress/sudoers/test13.out.ok | 1 + plugins/sudoers/regress/sudoers/test13.toke.ok | 2 + plugins/sudoers/regress/sudoers/test14.in | 6 + plugins/sudoers/regress/sudoers/test14.json.ok | 62 + plugins/sudoers/regress/sudoers/test14.ldif.ok | 20 + .../sudoers/regress/sudoers/test14.ldif2sudo.ok | 12 + plugins/sudoers/regress/sudoers/test14.out.ok | 7 + plugins/sudoers/regress/sudoers/test14.toke.ok | 6 + plugins/sudoers/regress/sudoers/test15.in | 2 + plugins/sudoers/regress/sudoers/test15.json.ok | 19 + plugins/sudoers/regress/sudoers/test15.ldif.ok | 9 + .../sudoers/regress/sudoers/test15.ldif2sudo.ok | 2 + plugins/sudoers/regress/sudoers/test15.out.ok | 3 + plugins/sudoers/regress/sudoers/test15.toke.ok | 2 + plugins/sudoers/regress/sudoers/test16.in | 3 + plugins/sudoers/regress/sudoers/test16.json.ok | 24 + plugins/sudoers/regress/sudoers/test16.ldif.ok | 9 + .../sudoers/regress/sudoers/test16.ldif2sudo.ok | 2 + plugins/sudoers/regress/sudoers/test16.out.ok | 5 + plugins/sudoers/regress/sudoers/test16.toke.ok | 3 + plugins/sudoers/regress/sudoers/test17.in | 13 + plugins/sudoers/regress/sudoers/test17.json.ok | 180 + plugins/sudoers/regress/sudoers/test17.ldif.ok | 104 + .../sudoers/regress/sudoers/test17.ldif2sudo.ok | 29 + plugins/sudoers/regress/sudoers/test17.out.ok | 13 + plugins/sudoers/regress/sudoers/test17.toke.ok | 11 + plugins/sudoers/regress/sudoers/test18.in | 8 + plugins/sudoers/regress/sudoers/test18.json.ok | 0 plugins/sudoers/regress/sudoers/test18.ldif.ok | 0 plugins/sudoers/regress/sudoers/test18.out.ok | 3 + plugins/sudoers/regress/sudoers/test18.toke.ok | 10 + plugins/sudoers/regress/sudoers/test19.in | 12 + plugins/sudoers/regress/sudoers/test19.json.ok | 187 + plugins/sudoers/regress/sudoers/test19.ldif.ok | 103 + .../sudoers/regress/sudoers/test19.ldif2sudo.ok | 30 + plugins/sudoers/regress/sudoers/test19.out.ok | 12 + plugins/sudoers/regress/sudoers/test19.toke.ok | 12 + plugins/sudoers/regress/sudoers/test2.in | 63 + plugins/sudoers/regress/sudoers/test2.json.ok | 420 ++ plugins/sudoers/regress/sudoers/test2.ldif.ok | 168 + plugins/sudoers/regress/sudoers/test2.ldif2sudo.ok | 41 + plugins/sudoers/regress/sudoers/test2.out.ok | 43 + plugins/sudoers/regress/sudoers/test2.toke.ok | 63 + plugins/sudoers/regress/sudoers/test20.in | 26 + plugins/sudoers/regress/sudoers/test20.json.ok | 114 + plugins/sudoers/regress/sudoers/test20.ldif.ok | 28 + .../sudoers/regress/sudoers/test20.ldif2sudo.ok | 22 + plugins/sudoers/regress/sudoers/test20.out.ok | 24 + plugins/sudoers/regress/sudoers/test20.toke.ok | 26 + plugins/sudoers/regress/sudoers/test21.in | 36 + plugins/sudoers/regress/sudoers/test21.json.ok | 169 + plugins/sudoers/regress/sudoers/test21.ldif.ok | 39 + .../sudoers/regress/sudoers/test21.ldif2sudo.ok | 33 + plugins/sudoers/regress/sudoers/test21.out.ok | 35 + plugins/sudoers/regress/sudoers/test21.toke.ok | 36 + plugins/sudoers/regress/sudoers/test22.in | 6 + plugins/sudoers/regress/sudoers/test22.json.ok | 88 + plugins/sudoers/regress/sudoers/test22.ldif.ok | 40 + .../sudoers/regress/sudoers/test22.ldif2sudo.ok | 11 + plugins/sudoers/regress/sudoers/test22.out.ok | 6 + plugins/sudoers/regress/sudoers/test22.toke.ok | 6 + plugins/sudoers/regress/sudoers/test23.in | 11 + plugins/sudoers/regress/sudoers/test23.json.ok | 102 + plugins/sudoers/regress/sudoers/test23.ldif.ok | 14 + .../sudoers/regress/sudoers/test23.ldif2sudo.ok | 8 + plugins/sudoers/regress/sudoers/test23.out.ok | 10 + plugins/sudoers/regress/sudoers/test23.toke.ok | 11 + plugins/sudoers/regress/sudoers/test24.in | 6 + plugins/sudoers/regress/sudoers/test24.json.ok | 61 + plugins/sudoers/regress/sudoers/test24.ldif.ok | 39 + .../sudoers/regress/sudoers/test24.ldif2sudo.ok | 8 + plugins/sudoers/regress/sudoers/test24.out.ok | 7 + plugins/sudoers/regress/sudoers/test24.toke.ok | 6 + plugins/sudoers/regress/sudoers/test25.in | 3 + plugins/sudoers/regress/sudoers/test25.json.ok | 0 plugins/sudoers/regress/sudoers/test25.ldif.ok | 0 plugins/sudoers/regress/sudoers/test25.out.ok | 1 + plugins/sudoers/regress/sudoers/test25.toke.ok | 3 + plugins/sudoers/regress/sudoers/test26.in | 128 + plugins/sudoers/regress/sudoers/test26.json.ok | 626 ++ plugins/sudoers/regress/sudoers/test26.ldif.ok | 134 + .../sudoers/regress/sudoers/test26.ldif2sudo.ok | 128 + plugins/sudoers/regress/sudoers/test26.out.ok | 122 + plugins/sudoers/regress/sudoers/test26.toke.ok | 128 + plugins/sudoers/regress/sudoers/test27.in | 13 + plugins/sudoers/regress/sudoers/test27.json.ok | 119 + plugins/sudoers/regress/sudoers/test27.ldif.ok | 58 + .../sudoers/regress/sudoers/test27.ldif2sudo.ok | 16 + plugins/sudoers/regress/sudoers/test27.out.ok | 9 + plugins/sudoers/regress/sudoers/test27.toke.ok | 13 + plugins/sudoers/regress/sudoers/test28.in | 36 + plugins/sudoers/regress/sudoers/test28.json.ok | 199 + plugins/sudoers/regress/sudoers/test28.ldif.ok | 117 + .../sudoers/regress/sudoers/test28.ldif2sudo.ok | 12 + plugins/sudoers/regress/sudoers/test28.out.ok | 14 + plugins/sudoers/regress/sudoers/test28.toke.ok | 32 + plugins/sudoers/regress/sudoers/test29.in | 11 + plugins/sudoers/regress/sudoers/test29.json.ok | 0 plugins/sudoers/regress/sudoers/test29.ldif.ok | 0 plugins/sudoers/regress/sudoers/test29.out.ok | 1 + plugins/sudoers/regress/sudoers/test29.toke.ok | 11 + plugins/sudoers/regress/sudoers/test3.in | 6 + plugins/sudoers/regress/sudoers/test3.json.ok | 45 + plugins/sudoers/regress/sudoers/test3.ldif.ok | 12 + plugins/sudoers/regress/sudoers/test3.ldif2sudo.ok | 0 plugins/sudoers/regress/sudoers/test3.out.ok | 8 + plugins/sudoers/regress/sudoers/test3.toke.ok | 6 + plugins/sudoers/regress/sudoers/test30.in | 10 + plugins/sudoers/regress/sudoers/test30.json.ok | 79 + plugins/sudoers/regress/sudoers/test30.ldif.ok | 38 + .../sudoers/regress/sudoers/test30.ldif2sudo.ok | 11 + plugins/sudoers/regress/sudoers/test30.out.ok | 6 + plugins/sudoers/regress/sudoers/test30.sudo.ok | 7 + plugins/sudoers/regress/sudoers/test30.toke.ok | 10 + plugins/sudoers/regress/sudoers/test4.in | 7 + plugins/sudoers/regress/sudoers/test4.json.ok | 0 plugins/sudoers/regress/sudoers/test4.ldif.ok | 0 plugins/sudoers/regress/sudoers/test4.out.ok | 3 + plugins/sudoers/regress/sudoers/test4.toke.ok | 5 + plugins/sudoers/regress/sudoers/test5.in | 3 + plugins/sudoers/regress/sudoers/test5.json.ok | 0 plugins/sudoers/regress/sudoers/test5.ldif.ok | 0 plugins/sudoers/regress/sudoers/test5.out.ok | 1 + plugins/sudoers/regress/sudoers/test5.toke.ok | 3 + plugins/sudoers/regress/sudoers/test6.in | 15 + plugins/sudoers/regress/sudoers/test6.json.ok | 158 + plugins/sudoers/regress/sudoers/test6.ldif.ok | 70 + plugins/sudoers/regress/sudoers/test6.ldif2sudo.ok | 5 + plugins/sudoers/regress/sudoers/test6.out.ok | 13 + plugins/sudoers/regress/sudoers/test6.toke.ok | 15 + plugins/sudoers/regress/sudoers/test7.in | 7 + plugins/sudoers/regress/sudoers/test7.json.ok | 0 plugins/sudoers/regress/sudoers/test7.ldif.ok | 0 plugins/sudoers/regress/sudoers/test7.out.ok | 1 + plugins/sudoers/regress/sudoers/test7.toke.ok | 7 + plugins/sudoers/regress/sudoers/test8.in | 8 + plugins/sudoers/regress/sudoers/test8.json.ok | 0 plugins/sudoers/regress/sudoers/test8.ldif.ok | 0 plugins/sudoers/regress/sudoers/test8.out.ok | 4 + plugins/sudoers/regress/sudoers/test8.toke.ok | 7 + plugins/sudoers/regress/sudoers/test9.in | 0 plugins/sudoers/regress/sudoers/test9.json.ok | 0 plugins/sudoers/regress/sudoers/test9.ldif.ok | 0 plugins/sudoers/regress/sudoers/test9.out.ok | 2 + plugins/sudoers/regress/sudoers/test9.toke.ok | 0 plugins/sudoers/regress/testsudoers/group | 15 + plugins/sudoers/regress/testsudoers/test1.out.ok | 8 + plugins/sudoers/regress/testsudoers/test1.sh | 15 + plugins/sudoers/regress/testsudoers/test10.out.ok | 51 + plugins/sudoers/regress/testsudoers/test10.sh | 46 + plugins/sudoers/regress/testsudoers/test11.out.ok | 21 + plugins/sudoers/regress/testsudoers/test11.sh | 25 + plugins/sudoers/regress/testsudoers/test12.out.ok | 18 + plugins/sudoers/regress/testsudoers/test12.sh | 19 + plugins/sudoers/regress/testsudoers/test13.out.ok | 22 + plugins/sudoers/regress/testsudoers/test13.sh | 22 + plugins/sudoers/regress/testsudoers/test14.out.ok | 18 + plugins/sudoers/regress/testsudoers/test14.sh | 25 + plugins/sudoers/regress/testsudoers/test15.out.ok | 17 + plugins/sudoers/regress/testsudoers/test15.sh | 24 + plugins/sudoers/regress/testsudoers/test16.out.ok | 10 + plugins/sudoers/regress/testsudoers/test16.sh | 41 + plugins/sudoers/regress/testsudoers/test17.out.ok | 10 + plugins/sudoers/regress/testsudoers/test17.sh | 51 + plugins/sudoers/regress/testsudoers/test18.out.ok | 60 + plugins/sudoers/regress/testsudoers/test18.sh | 40 + plugins/sudoers/regress/testsudoers/test19.out.ok | 20 + plugins/sudoers/regress/testsudoers/test19.sh | 20 + plugins/sudoers/regress/testsudoers/test2.inc | 1 + plugins/sudoers/regress/testsudoers/test2.out.ok | 25 + plugins/sudoers/regress/testsudoers/test2.sh | 25 + plugins/sudoers/regress/testsudoers/test20.out.ok | 15 + plugins/sudoers/regress/testsudoers/test20.sh | 18 + plugins/sudoers/regress/testsudoers/test3.out.ok | 51 + plugins/sudoers/regress/testsudoers/test3.sh | 48 + plugins/sudoers/regress/testsudoers/test4.out.ok | 5 + plugins/sudoers/regress/testsudoers/test4.sh | 13 + plugins/sudoers/regress/testsudoers/test5.out.ok | 10 + plugins/sudoers/regress/testsudoers/test5.sh | 31 + plugins/sudoers/regress/testsudoers/test6.out.ok | 10 + plugins/sudoers/regress/testsudoers/test6.sh | 13 + plugins/sudoers/regress/testsudoers/test7.out.ok | 10 + plugins/sudoers/regress/testsudoers/test7.sh | 13 + plugins/sudoers/regress/testsudoers/test8.out.ok | 25 + plugins/sudoers/regress/testsudoers/test8.sh | 24 + plugins/sudoers/regress/testsudoers/test9.out.ok | 10 + plugins/sudoers/regress/testsudoers/test9.sh | 15 + plugins/sudoers/regress/unescape/check_unesc.c | 190 + plugins/sudoers/regress/visudo/test1.out.ok | 1 + plugins/sudoers/regress/visudo/test1.sh | 14 + plugins/sudoers/regress/visudo/test10.out.ok | 1 + plugins/sudoers/regress/visudo/test10.sh | 13 + plugins/sudoers/regress/visudo/test2.err.ok | 1 + plugins/sudoers/regress/visudo/test2.out.ok | 0 plugins/sudoers/regress/visudo/test2.sh | 17 + plugins/sudoers/regress/visudo/test3.err.ok | 2 + plugins/sudoers/regress/visudo/test3.out.ok | 1 + plugins/sudoers/regress/visudo/test3.sh | 37 + plugins/sudoers/regress/visudo/test4.out.ok | 1 + plugins/sudoers/regress/visudo/test4.sh | 16 + plugins/sudoers/regress/visudo/test5.out.ok | 1 + plugins/sudoers/regress/visudo/test5.sh | 10 + plugins/sudoers/regress/visudo/test6.out.ok | 1 + plugins/sudoers/regress/visudo/test6.sh | 27 + plugins/sudoers/regress/visudo/test7.out.ok | 1 + plugins/sudoers/regress/visudo/test7.sh | 31 + plugins/sudoers/regress/visudo/test8.err.ok | 1 + plugins/sudoers/regress/visudo/test8.out.ok | 1 + plugins/sudoers/regress/visudo/test8.sh | 32 + plugins/sudoers/regress/visudo/test9.out.ok | 1 + plugins/sudoers/regress/visudo/test9.sh | 14 + plugins/sudoers/serialize_list.c | 82 + plugins/sudoers/set_perms.c | 1613 ++++++ plugins/sudoers/solaris_audit.c | 139 + plugins/sudoers/solaris_audit.h | 25 + plugins/sudoers/sssd.c | 813 +++ plugins/sudoers/starttime.c | 311 + plugins/sudoers/strlcpy_unesc.c | 55 + plugins/sudoers/strlist.c | 92 + plugins/sudoers/strlist.h | 40 + plugins/sudoers/strvec_join.c | 74 + plugins/sudoers/stubs.c | 126 + plugins/sudoers/sudo_ldap.h | 31 + plugins/sudoers/sudo_ldap_conf.h | 143 + plugins/sudoers/sudo_nss.c | 264 + plugins/sudoers/sudo_nss.h | 47 + plugins/sudoers/sudo_printf.c | 69 + plugins/sudoers/sudoers.c | 1925 +++++++ plugins/sudoers/sudoers.exp | 7 + plugins/sudoers/sudoers.h | 492 ++ plugins/sudoers/sudoers.in | 99 + plugins/sudoers/sudoers_debug.c | 135 + plugins/sudoers/sudoers_debug.h | 48 + plugins/sudoers/sudoers_hooks.c | 155 + plugins/sudoers/sudoers_version.h | 81 + plugins/sudoers/sudoreplay.c | 1718 ++++++ plugins/sudoers/testsudoers.c | 621 ++ plugins/sudoers/testsudoers_pwutil.c | 14 + plugins/sudoers/timeout.c | 109 + plugins/sudoers/timestamp.c | 1173 ++++ plugins/sudoers/timestr.c | 50 + plugins/sudoers/toke.c | 6002 ++++++++++++++++++++ plugins/sudoers/toke.h | 52 + plugins/sudoers/toke.l | 1454 +++++ plugins/sudoers/toke_util.c | 248 + plugins/sudoers/tsdump.c | 311 + plugins/sudoers/tsgetgrpw.c | 421 ++ plugins/sudoers/tsgetgrpw.h | 47 + plugins/sudoers/unesc_str.c | 46 + plugins/sudoers/visudo.c | 1255 ++++ 563 files changed, 197188 insertions(+) create mode 100644 plugins/sudoers/Makefile.in create mode 100644 plugins/sudoers/alias.c create mode 100644 plugins/sudoers/audit.c create mode 100644 plugins/sudoers/auth/API create mode 100644 plugins/sudoers/auth/afs.c create mode 100644 plugins/sudoers/auth/aix_auth.c create mode 100644 plugins/sudoers/auth/bsdauth.c create mode 100644 plugins/sudoers/auth/dce.c create mode 100644 plugins/sudoers/auth/fwtk.c create mode 100644 plugins/sudoers/auth/kerb5.c create mode 100644 plugins/sudoers/auth/pam.c create mode 100644 plugins/sudoers/auth/passwd.c create mode 100644 plugins/sudoers/auth/rfc1938.c create mode 100644 plugins/sudoers/auth/secureware.c create mode 100644 plugins/sudoers/auth/securid5.c create mode 100644 plugins/sudoers/auth/sia.c create mode 100644 plugins/sudoers/auth/sudo_auth.c create mode 100644 plugins/sudoers/auth/sudo_auth.h create mode 100644 plugins/sudoers/b64_decode.c create mode 100644 plugins/sudoers/b64_encode.c create mode 100644 plugins/sudoers/boottime.c create mode 100644 plugins/sudoers/bsm_audit.c create mode 100644 plugins/sudoers/bsm_audit.h create mode 100644 plugins/sudoers/check.c create mode 100644 plugins/sudoers/check.h create mode 100644 plugins/sudoers/check_aliases.c create mode 100644 plugins/sudoers/cvtsudoers.c create mode 100644 plugins/sudoers/cvtsudoers.h create mode 100644 plugins/sudoers/cvtsudoers_csv.c create mode 100644 plugins/sudoers/cvtsudoers_json.c create mode 100644 plugins/sudoers/cvtsudoers_ldif.c create mode 100644 plugins/sudoers/cvtsudoers_merge.c create mode 100644 plugins/sudoers/cvtsudoers_pwutil.c create mode 100644 plugins/sudoers/def_data.c create mode 100644 plugins/sudoers/def_data.h create mode 100644 plugins/sudoers/def_data.in create mode 100644 plugins/sudoers/defaults.c create mode 100644 plugins/sudoers/defaults.h create mode 100644 plugins/sudoers/digestname.c create mode 100644 plugins/sudoers/editor.c create mode 100644 plugins/sudoers/env.c create mode 100644 plugins/sudoers/env_pattern.c create mode 100644 plugins/sudoers/exptilde.c create mode 100644 plugins/sudoers/file.c create mode 100644 plugins/sudoers/filedigest.c create mode 100644 plugins/sudoers/find_path.c create mode 100644 plugins/sudoers/fmtsudoers.c create mode 100644 plugins/sudoers/fmtsudoers_cvt.c create mode 100644 plugins/sudoers/gc.c create mode 100644 plugins/sudoers/gentime.c create mode 100644 plugins/sudoers/getdate.c create mode 100644 plugins/sudoers/getdate.y create mode 100644 plugins/sudoers/getspwuid.c create mode 100644 plugins/sudoers/goodpath.c create mode 100644 plugins/sudoers/gram.c create mode 100644 plugins/sudoers/gram.h create mode 100644 plugins/sudoers/gram.y create mode 100644 plugins/sudoers/group_plugin.c create mode 100644 plugins/sudoers/ins_2001.h create mode 100644 plugins/sudoers/ins_classic.h create mode 100644 plugins/sudoers/ins_csops.h create mode 100644 plugins/sudoers/ins_goons.h create mode 100644 plugins/sudoers/ins_python.h create mode 100644 plugins/sudoers/insults.h create mode 100644 plugins/sudoers/interfaces.c create mode 100644 plugins/sudoers/interfaces.h create mode 100644 plugins/sudoers/iolog.c create mode 100644 plugins/sudoers/iolog_path_escapes.c create mode 100644 plugins/sudoers/ldap.c create mode 100644 plugins/sudoers/ldap_conf.c create mode 100644 plugins/sudoers/ldap_util.c create mode 100644 plugins/sudoers/linux_audit.c create mode 100644 plugins/sudoers/linux_audit.h create mode 100644 plugins/sudoers/locale.c create mode 100644 plugins/sudoers/log_client.c create mode 100644 plugins/sudoers/log_client.h create mode 100644 plugins/sudoers/logging.c create mode 100644 plugins/sudoers/logging.h create mode 100644 plugins/sudoers/match.c create mode 100644 plugins/sudoers/match_addr.c create mode 100644 plugins/sudoers/match_command.c create mode 100644 plugins/sudoers/match_digest.c create mode 100755 plugins/sudoers/mkdefaults create mode 100644 plugins/sudoers/parse.c create mode 100644 plugins/sudoers/parse.h create mode 100644 plugins/sudoers/parse_ldif.c create mode 100644 plugins/sudoers/po/README create mode 100644 plugins/sudoers/po/ast.mo create mode 100644 plugins/sudoers/po/ast.po create mode 100644 plugins/sudoers/po/ca.mo create mode 100644 plugins/sudoers/po/ca.po create mode 100644 plugins/sudoers/po/cs.mo create mode 100644 plugins/sudoers/po/cs.po create mode 100644 plugins/sudoers/po/da.mo create mode 100644 plugins/sudoers/po/da.po create mode 100644 plugins/sudoers/po/de.mo create mode 100644 plugins/sudoers/po/de.po create mode 100644 plugins/sudoers/po/el.mo create mode 100644 plugins/sudoers/po/el.po create mode 100644 plugins/sudoers/po/eo.mo create mode 100644 plugins/sudoers/po/eo.po create mode 100644 plugins/sudoers/po/es.mo create mode 100644 plugins/sudoers/po/es.po create mode 100644 plugins/sudoers/po/eu.mo create mode 100644 plugins/sudoers/po/eu.po create mode 100644 plugins/sudoers/po/fi.mo create mode 100644 plugins/sudoers/po/fi.po create mode 100644 plugins/sudoers/po/fr.mo create mode 100644 plugins/sudoers/po/fr.po create mode 100644 plugins/sudoers/po/fur.mo create mode 100644 plugins/sudoers/po/fur.po create mode 100644 plugins/sudoers/po/hr.mo create mode 100644 plugins/sudoers/po/hr.po create mode 100644 plugins/sudoers/po/hu.mo create mode 100644 plugins/sudoers/po/hu.po create mode 100644 plugins/sudoers/po/it.mo create mode 100644 plugins/sudoers/po/it.po create mode 100644 plugins/sudoers/po/ja.mo create mode 100644 plugins/sudoers/po/ja.po create mode 100644 plugins/sudoers/po/ka.mo create mode 100644 plugins/sudoers/po/ka.po create mode 100644 plugins/sudoers/po/ko.mo create mode 100644 plugins/sudoers/po/ko.po create mode 100644 plugins/sudoers/po/lt.mo create mode 100644 plugins/sudoers/po/lt.po create mode 100644 plugins/sudoers/po/nb.mo create mode 100644 plugins/sudoers/po/nb.po create mode 100644 plugins/sudoers/po/nl.mo create mode 100644 plugins/sudoers/po/nl.po create mode 100644 plugins/sudoers/po/pl.mo create mode 100644 plugins/sudoers/po/pl.po create mode 100644 plugins/sudoers/po/pt.mo create mode 100644 plugins/sudoers/po/pt.po create mode 100644 plugins/sudoers/po/pt_BR.mo create mode 100644 plugins/sudoers/po/pt_BR.po create mode 100644 plugins/sudoers/po/ro.mo create mode 100644 plugins/sudoers/po/ro.po create mode 100644 plugins/sudoers/po/ru.mo create mode 100644 plugins/sudoers/po/ru.po create mode 100644 plugins/sudoers/po/sk.mo create mode 100644 plugins/sudoers/po/sk.po create mode 100644 plugins/sudoers/po/sl.mo create mode 100644 plugins/sudoers/po/sl.po create mode 100644 plugins/sudoers/po/sr.mo create mode 100644 plugins/sudoers/po/sr.po create mode 100644 plugins/sudoers/po/sudoers.pot create mode 100644 plugins/sudoers/po/sv.mo create mode 100644 plugins/sudoers/po/sv.po create mode 100644 plugins/sudoers/po/tr.mo create mode 100644 plugins/sudoers/po/tr.po create mode 100644 plugins/sudoers/po/uk.mo create mode 100644 plugins/sudoers/po/uk.po create mode 100644 plugins/sudoers/po/vi.mo create mode 100644 plugins/sudoers/po/vi.po create mode 100644 plugins/sudoers/po/zh_CN.mo create mode 100644 plugins/sudoers/po/zh_CN.po create mode 100644 plugins/sudoers/po/zh_TW.mo create mode 100644 plugins/sudoers/po/zh_TW.po create mode 100644 plugins/sudoers/policy.c create mode 100644 plugins/sudoers/prompt.c create mode 100644 plugins/sudoers/pwutil.c create mode 100644 plugins/sudoers/pwutil.h create mode 100644 plugins/sudoers/pwutil_impl.c create mode 100644 plugins/sudoers/redblack.c create mode 100644 plugins/sudoers/redblack.h create mode 100644 plugins/sudoers/regress/check_symbols/check_symbols.c create mode 100644 plugins/sudoers/regress/corpus/seed/ldif/invalid_b64.ldif create mode 100644 plugins/sudoers/regress/corpus/seed/ldif/pr196.ldif create mode 100644 plugins/sudoers/regress/corpus/seed/ldif/sample.ldif create mode 100644 plugins/sudoers/regress/corpus/seed/ldif/valid_b64.ldif create mode 100644 plugins/sudoers/regress/corpus/seed/policy/policy.1 create mode 100644 plugins/sudoers/regress/corpus/seed/policy/policy.2 create mode 100644 plugins/sudoers/regress/corpus/seed/policy/policy.3 create mode 100644 plugins/sudoers/regress/corpus/seed/policy/policy.4 create mode 100644 plugins/sudoers/regress/corpus/seed/policy/policy.5 create mode 100644 plugins/sudoers/regress/cvtsudoers/sudoers create mode 100755 plugins/sudoers/regress/cvtsudoers/sudoers.defs create mode 100644 plugins/sudoers/regress/cvtsudoers/sudoers1 create mode 100644 plugins/sudoers/regress/cvtsudoers/sudoers2 create mode 100644 plugins/sudoers/regress/cvtsudoers/sudoers3 create mode 100644 plugins/sudoers/regress/cvtsudoers/sudoers4 create mode 100644 plugins/sudoers/regress/cvtsudoers/test1.out.ok create mode 100755 plugins/sudoers/regress/cvtsudoers/test1.sh create mode 100644 plugins/sudoers/regress/cvtsudoers/test10.out.ok create mode 100755 plugins/sudoers/regress/cvtsudoers/test10.sh create mode 100644 plugins/sudoers/regress/cvtsudoers/test11.out.ok create mode 100755 plugins/sudoers/regress/cvtsudoers/test11.sh create mode 100644 plugins/sudoers/regress/cvtsudoers/test12.out.ok create mode 100755 plugins/sudoers/regress/cvtsudoers/test12.sh create mode 100644 plugins/sudoers/regress/cvtsudoers/test13.out.ok create mode 100755 plugins/sudoers/regress/cvtsudoers/test13.sh create mode 100644 plugins/sudoers/regress/cvtsudoers/test14.out.ok create mode 100755 plugins/sudoers/regress/cvtsudoers/test14.sh create mode 100644 plugins/sudoers/regress/cvtsudoers/test15.out.ok create mode 100755 plugins/sudoers/regress/cvtsudoers/test15.sh create mode 100644 plugins/sudoers/regress/cvtsudoers/test16.out.ok create mode 100755 plugins/sudoers/regress/cvtsudoers/test16.sh create mode 100644 plugins/sudoers/regress/cvtsudoers/test17.out.ok create mode 100755 plugins/sudoers/regress/cvtsudoers/test17.sh create mode 100644 plugins/sudoers/regress/cvtsudoers/test18.out.ok create mode 100755 plugins/sudoers/regress/cvtsudoers/test18.sh create mode 100644 plugins/sudoers/regress/cvtsudoers/test19.out.ok create mode 100755 plugins/sudoers/regress/cvtsudoers/test19.sh create mode 100644 plugins/sudoers/regress/cvtsudoers/test2.out.ok create mode 100755 plugins/sudoers/regress/cvtsudoers/test2.sh create mode 100644 plugins/sudoers/regress/cvtsudoers/test20.conf create mode 100644 plugins/sudoers/regress/cvtsudoers/test20.out.ok create mode 100755 plugins/sudoers/regress/cvtsudoers/test20.sh create mode 100644 plugins/sudoers/regress/cvtsudoers/test21.conf create mode 100644 plugins/sudoers/regress/cvtsudoers/test21.out.ok create mode 100755 plugins/sudoers/regress/cvtsudoers/test21.sh create mode 100644 plugins/sudoers/regress/cvtsudoers/test22.out.ok create mode 100755 plugins/sudoers/regress/cvtsudoers/test22.sh create mode 100644 plugins/sudoers/regress/cvtsudoers/test23.out.ok create mode 100755 plugins/sudoers/regress/cvtsudoers/test23.sh create mode 100644 plugins/sudoers/regress/cvtsudoers/test24.out.ok create mode 100755 plugins/sudoers/regress/cvtsudoers/test24.sh create mode 100644 plugins/sudoers/regress/cvtsudoers/test25.out.ok create mode 100755 plugins/sudoers/regress/cvtsudoers/test25.sh create mode 100644 plugins/sudoers/regress/cvtsudoers/test26.err.ok create mode 100644 plugins/sudoers/regress/cvtsudoers/test26.out.ok create mode 100755 plugins/sudoers/regress/cvtsudoers/test26.sh create mode 100644 plugins/sudoers/regress/cvtsudoers/test27.out.ok create mode 100755 plugins/sudoers/regress/cvtsudoers/test27.sh create mode 100644 plugins/sudoers/regress/cvtsudoers/test28.out.ok create mode 100755 plugins/sudoers/regress/cvtsudoers/test28.sh create mode 100644 plugins/sudoers/regress/cvtsudoers/test29.out.ok create mode 100755 plugins/sudoers/regress/cvtsudoers/test29.sh create mode 100644 plugins/sudoers/regress/cvtsudoers/test3.out.ok create mode 100755 plugins/sudoers/regress/cvtsudoers/test3.sh create mode 100644 plugins/sudoers/regress/cvtsudoers/test30.out.ok create mode 100755 plugins/sudoers/regress/cvtsudoers/test30.sh create mode 100644 plugins/sudoers/regress/cvtsudoers/test31.conf create mode 100644 plugins/sudoers/regress/cvtsudoers/test31.out.ok create mode 100644 plugins/sudoers/regress/cvtsudoers/test31.sh create mode 100644 plugins/sudoers/regress/cvtsudoers/test32.err.ok create mode 100644 plugins/sudoers/regress/cvtsudoers/test32.out.ok create mode 100644 plugins/sudoers/regress/cvtsudoers/test32.sh create mode 100644 plugins/sudoers/regress/cvtsudoers/test33.out.ok create mode 100755 plugins/sudoers/regress/cvtsudoers/test33.sh create mode 100644 plugins/sudoers/regress/cvtsudoers/test34.out.ok create mode 100755 plugins/sudoers/regress/cvtsudoers/test34.sh create mode 100644 plugins/sudoers/regress/cvtsudoers/test35.out.ok create mode 100644 plugins/sudoers/regress/cvtsudoers/test35.sh create mode 100644 plugins/sudoers/regress/cvtsudoers/test36.out.ok create mode 100644 plugins/sudoers/regress/cvtsudoers/test36.sh create mode 100644 plugins/sudoers/regress/cvtsudoers/test37.out.ok create mode 100755 plugins/sudoers/regress/cvtsudoers/test37.sh create mode 100644 plugins/sudoers/regress/cvtsudoers/test38.out.ok create mode 100755 plugins/sudoers/regress/cvtsudoers/test38.sh create mode 100644 plugins/sudoers/regress/cvtsudoers/test39.out.ok create mode 100644 plugins/sudoers/regress/cvtsudoers/test39.sh create mode 100644 plugins/sudoers/regress/cvtsudoers/test4.out.ok create mode 100755 plugins/sudoers/regress/cvtsudoers/test4.sh create mode 100644 plugins/sudoers/regress/cvtsudoers/test40.out.ok create mode 100755 plugins/sudoers/regress/cvtsudoers/test40.sh create mode 100644 plugins/sudoers/regress/cvtsudoers/test5.out.ok create mode 100755 plugins/sudoers/regress/cvtsudoers/test5.sh create mode 100644 plugins/sudoers/regress/cvtsudoers/test6.out.ok create mode 100755 plugins/sudoers/regress/cvtsudoers/test6.sh create mode 100644 plugins/sudoers/regress/cvtsudoers/test7.out.ok create mode 100755 plugins/sudoers/regress/cvtsudoers/test7.sh create mode 100644 plugins/sudoers/regress/cvtsudoers/test8.out.ok create mode 100755 plugins/sudoers/regress/cvtsudoers/test8.sh create mode 100644 plugins/sudoers/regress/cvtsudoers/test9.out.ok create mode 100755 plugins/sudoers/regress/cvtsudoers/test9.sh create mode 100644 plugins/sudoers/regress/editor/check_editor.c create mode 100644 plugins/sudoers/regress/env_match/check_env_pattern.c create mode 100644 plugins/sudoers/regress/env_match/data create mode 100644 plugins/sudoers/regress/exptilde/check_exptilde.c create mode 100644 plugins/sudoers/regress/fuzz/fuzz_policy.c create mode 100644 plugins/sudoers/regress/fuzz/fuzz_policy.dict create mode 100644 plugins/sudoers/regress/fuzz/fuzz_stubs.c create mode 100644 plugins/sudoers/regress/fuzz/fuzz_sudoers.c create mode 100644 plugins/sudoers/regress/fuzz/fuzz_sudoers.dict create mode 100644 plugins/sudoers/regress/fuzz/fuzz_sudoers.out.ok create mode 100644 plugins/sudoers/regress/fuzz/fuzz_sudoers_ldif.c create mode 100644 plugins/sudoers/regress/fuzz/fuzz_sudoers_ldif.dict create mode 100755 plugins/sudoers/regress/harness.in create mode 100644 plugins/sudoers/regress/iolog_plugin/check_iolog_plugin.c create mode 100644 plugins/sudoers/regress/parser/check_addr.c create mode 100644 plugins/sudoers/regress/parser/check_addr.in create mode 100644 plugins/sudoers/regress/parser/check_base64.c create mode 100644 plugins/sudoers/regress/parser/check_digest.c create mode 100644 plugins/sudoers/regress/parser/check_digest.out.ok create mode 100644 plugins/sudoers/regress/parser/check_fill.c create mode 100644 plugins/sudoers/regress/parser/check_gentime.c create mode 100644 plugins/sudoers/regress/serialize_list/check_serialize_list.c create mode 100644 plugins/sudoers/regress/starttime/check_starttime.c create mode 100644 plugins/sudoers/regress/sudoers/test1.in create mode 100644 plugins/sudoers/regress/sudoers/test1.json.ok create mode 100644 plugins/sudoers/regress/sudoers/test1.ldif.ok create mode 100644 plugins/sudoers/regress/sudoers/test1.ldif2sudo.ok create mode 100644 plugins/sudoers/regress/sudoers/test1.out.ok create mode 100644 plugins/sudoers/regress/sudoers/test1.toke.ok create mode 100644 plugins/sudoers/regress/sudoers/test10.in create mode 100644 plugins/sudoers/regress/sudoers/test10.json.ok create mode 100644 plugins/sudoers/regress/sudoers/test10.ldif.ok create mode 100644 plugins/sudoers/regress/sudoers/test10.out.ok create mode 100644 plugins/sudoers/regress/sudoers/test10.toke.ok create mode 100644 plugins/sudoers/regress/sudoers/test11.in create mode 100644 plugins/sudoers/regress/sudoers/test11.json.ok create mode 100644 plugins/sudoers/regress/sudoers/test11.ldif.ok create mode 100644 plugins/sudoers/regress/sudoers/test11.out.ok create mode 100644 plugins/sudoers/regress/sudoers/test11.toke.ok create mode 100644 plugins/sudoers/regress/sudoers/test12.in create mode 100644 plugins/sudoers/regress/sudoers/test12.json.ok create mode 100644 plugins/sudoers/regress/sudoers/test12.ldif.ok create mode 100644 plugins/sudoers/regress/sudoers/test12.out.ok create mode 100644 plugins/sudoers/regress/sudoers/test12.toke.ok create mode 100644 plugins/sudoers/regress/sudoers/test13.in create mode 100644 plugins/sudoers/regress/sudoers/test13.json.ok create mode 100644 plugins/sudoers/regress/sudoers/test13.ldif.ok create mode 100644 plugins/sudoers/regress/sudoers/test13.out.ok create mode 100644 plugins/sudoers/regress/sudoers/test13.toke.ok create mode 100644 plugins/sudoers/regress/sudoers/test14.in create mode 100644 plugins/sudoers/regress/sudoers/test14.json.ok create mode 100644 plugins/sudoers/regress/sudoers/test14.ldif.ok create mode 100644 plugins/sudoers/regress/sudoers/test14.ldif2sudo.ok create mode 100644 plugins/sudoers/regress/sudoers/test14.out.ok create mode 100644 plugins/sudoers/regress/sudoers/test14.toke.ok create mode 100644 plugins/sudoers/regress/sudoers/test15.in create mode 100644 plugins/sudoers/regress/sudoers/test15.json.ok create mode 100644 plugins/sudoers/regress/sudoers/test15.ldif.ok create mode 100644 plugins/sudoers/regress/sudoers/test15.ldif2sudo.ok create mode 100644 plugins/sudoers/regress/sudoers/test15.out.ok create mode 100644 plugins/sudoers/regress/sudoers/test15.toke.ok create mode 100644 plugins/sudoers/regress/sudoers/test16.in create mode 100644 plugins/sudoers/regress/sudoers/test16.json.ok create mode 100644 plugins/sudoers/regress/sudoers/test16.ldif.ok create mode 100644 plugins/sudoers/regress/sudoers/test16.ldif2sudo.ok create mode 100644 plugins/sudoers/regress/sudoers/test16.out.ok create mode 100644 plugins/sudoers/regress/sudoers/test16.toke.ok create mode 100644 plugins/sudoers/regress/sudoers/test17.in create mode 100644 plugins/sudoers/regress/sudoers/test17.json.ok create mode 100644 plugins/sudoers/regress/sudoers/test17.ldif.ok create mode 100644 plugins/sudoers/regress/sudoers/test17.ldif2sudo.ok create mode 100644 plugins/sudoers/regress/sudoers/test17.out.ok create mode 100644 plugins/sudoers/regress/sudoers/test17.toke.ok create mode 100644 plugins/sudoers/regress/sudoers/test18.in create mode 100644 plugins/sudoers/regress/sudoers/test18.json.ok create mode 100644 plugins/sudoers/regress/sudoers/test18.ldif.ok create mode 100644 plugins/sudoers/regress/sudoers/test18.out.ok create mode 100644 plugins/sudoers/regress/sudoers/test18.toke.ok create mode 100644 plugins/sudoers/regress/sudoers/test19.in create mode 100644 plugins/sudoers/regress/sudoers/test19.json.ok create mode 100644 plugins/sudoers/regress/sudoers/test19.ldif.ok create mode 100644 plugins/sudoers/regress/sudoers/test19.ldif2sudo.ok create mode 100644 plugins/sudoers/regress/sudoers/test19.out.ok create mode 100644 plugins/sudoers/regress/sudoers/test19.toke.ok create mode 100644 plugins/sudoers/regress/sudoers/test2.in create mode 100644 plugins/sudoers/regress/sudoers/test2.json.ok create mode 100644 plugins/sudoers/regress/sudoers/test2.ldif.ok create mode 100644 plugins/sudoers/regress/sudoers/test2.ldif2sudo.ok create mode 100644 plugins/sudoers/regress/sudoers/test2.out.ok create mode 100644 plugins/sudoers/regress/sudoers/test2.toke.ok create mode 100644 plugins/sudoers/regress/sudoers/test20.in create mode 100644 plugins/sudoers/regress/sudoers/test20.json.ok create mode 100644 plugins/sudoers/regress/sudoers/test20.ldif.ok create mode 100644 plugins/sudoers/regress/sudoers/test20.ldif2sudo.ok create mode 100644 plugins/sudoers/regress/sudoers/test20.out.ok create mode 100644 plugins/sudoers/regress/sudoers/test20.toke.ok create mode 100644 plugins/sudoers/regress/sudoers/test21.in create mode 100644 plugins/sudoers/regress/sudoers/test21.json.ok create mode 100644 plugins/sudoers/regress/sudoers/test21.ldif.ok create mode 100644 plugins/sudoers/regress/sudoers/test21.ldif2sudo.ok create mode 100644 plugins/sudoers/regress/sudoers/test21.out.ok create mode 100644 plugins/sudoers/regress/sudoers/test21.toke.ok create mode 100644 plugins/sudoers/regress/sudoers/test22.in create mode 100644 plugins/sudoers/regress/sudoers/test22.json.ok create mode 100644 plugins/sudoers/regress/sudoers/test22.ldif.ok create mode 100644 plugins/sudoers/regress/sudoers/test22.ldif2sudo.ok create mode 100644 plugins/sudoers/regress/sudoers/test22.out.ok create mode 100644 plugins/sudoers/regress/sudoers/test22.toke.ok create mode 100644 plugins/sudoers/regress/sudoers/test23.in create mode 100644 plugins/sudoers/regress/sudoers/test23.json.ok create mode 100644 plugins/sudoers/regress/sudoers/test23.ldif.ok create mode 100644 plugins/sudoers/regress/sudoers/test23.ldif2sudo.ok create mode 100644 plugins/sudoers/regress/sudoers/test23.out.ok create mode 100644 plugins/sudoers/regress/sudoers/test23.toke.ok create mode 100644 plugins/sudoers/regress/sudoers/test24.in create mode 100644 plugins/sudoers/regress/sudoers/test24.json.ok create mode 100644 plugins/sudoers/regress/sudoers/test24.ldif.ok create mode 100644 plugins/sudoers/regress/sudoers/test24.ldif2sudo.ok create mode 100644 plugins/sudoers/regress/sudoers/test24.out.ok create mode 100644 plugins/sudoers/regress/sudoers/test24.toke.ok create mode 100644 plugins/sudoers/regress/sudoers/test25.in create mode 100644 plugins/sudoers/regress/sudoers/test25.json.ok create mode 100644 plugins/sudoers/regress/sudoers/test25.ldif.ok create mode 100644 plugins/sudoers/regress/sudoers/test25.out.ok create mode 100644 plugins/sudoers/regress/sudoers/test25.toke.ok create mode 100644 plugins/sudoers/regress/sudoers/test26.in create mode 100644 plugins/sudoers/regress/sudoers/test26.json.ok create mode 100644 plugins/sudoers/regress/sudoers/test26.ldif.ok create mode 100644 plugins/sudoers/regress/sudoers/test26.ldif2sudo.ok create mode 100644 plugins/sudoers/regress/sudoers/test26.out.ok create mode 100644 plugins/sudoers/regress/sudoers/test26.toke.ok create mode 100644 plugins/sudoers/regress/sudoers/test27.in create mode 100644 plugins/sudoers/regress/sudoers/test27.json.ok create mode 100644 plugins/sudoers/regress/sudoers/test27.ldif.ok create mode 100644 plugins/sudoers/regress/sudoers/test27.ldif2sudo.ok create mode 100644 plugins/sudoers/regress/sudoers/test27.out.ok create mode 100644 plugins/sudoers/regress/sudoers/test27.toke.ok create mode 100644 plugins/sudoers/regress/sudoers/test28.in create mode 100644 plugins/sudoers/regress/sudoers/test28.json.ok create mode 100644 plugins/sudoers/regress/sudoers/test28.ldif.ok create mode 100644 plugins/sudoers/regress/sudoers/test28.ldif2sudo.ok create mode 100644 plugins/sudoers/regress/sudoers/test28.out.ok create mode 100644 plugins/sudoers/regress/sudoers/test28.toke.ok create mode 100644 plugins/sudoers/regress/sudoers/test29.in create mode 100644 plugins/sudoers/regress/sudoers/test29.json.ok create mode 100644 plugins/sudoers/regress/sudoers/test29.ldif.ok create mode 100644 plugins/sudoers/regress/sudoers/test29.out.ok create mode 100644 plugins/sudoers/regress/sudoers/test29.toke.ok create mode 100644 plugins/sudoers/regress/sudoers/test3.in create mode 100644 plugins/sudoers/regress/sudoers/test3.json.ok create mode 100644 plugins/sudoers/regress/sudoers/test3.ldif.ok create mode 100644 plugins/sudoers/regress/sudoers/test3.ldif2sudo.ok create mode 100644 plugins/sudoers/regress/sudoers/test3.out.ok create mode 100644 plugins/sudoers/regress/sudoers/test3.toke.ok create mode 100644 plugins/sudoers/regress/sudoers/test30.in create mode 100644 plugins/sudoers/regress/sudoers/test30.json.ok create mode 100644 plugins/sudoers/regress/sudoers/test30.ldif.ok create mode 100644 plugins/sudoers/regress/sudoers/test30.ldif2sudo.ok create mode 100644 plugins/sudoers/regress/sudoers/test30.out.ok create mode 100644 plugins/sudoers/regress/sudoers/test30.sudo.ok create mode 100644 plugins/sudoers/regress/sudoers/test30.toke.ok create mode 100644 plugins/sudoers/regress/sudoers/test4.in create mode 100644 plugins/sudoers/regress/sudoers/test4.json.ok create mode 100644 plugins/sudoers/regress/sudoers/test4.ldif.ok create mode 100644 plugins/sudoers/regress/sudoers/test4.out.ok create mode 100644 plugins/sudoers/regress/sudoers/test4.toke.ok create mode 100644 plugins/sudoers/regress/sudoers/test5.in create mode 100644 plugins/sudoers/regress/sudoers/test5.json.ok create mode 100644 plugins/sudoers/regress/sudoers/test5.ldif.ok create mode 100644 plugins/sudoers/regress/sudoers/test5.out.ok create mode 100644 plugins/sudoers/regress/sudoers/test5.toke.ok create mode 100644 plugins/sudoers/regress/sudoers/test6.in create mode 100644 plugins/sudoers/regress/sudoers/test6.json.ok create mode 100644 plugins/sudoers/regress/sudoers/test6.ldif.ok create mode 100644 plugins/sudoers/regress/sudoers/test6.ldif2sudo.ok create mode 100644 plugins/sudoers/regress/sudoers/test6.out.ok create mode 100644 plugins/sudoers/regress/sudoers/test6.toke.ok create mode 100644 plugins/sudoers/regress/sudoers/test7.in create mode 100644 plugins/sudoers/regress/sudoers/test7.json.ok create mode 100644 plugins/sudoers/regress/sudoers/test7.ldif.ok create mode 100644 plugins/sudoers/regress/sudoers/test7.out.ok create mode 100644 plugins/sudoers/regress/sudoers/test7.toke.ok create mode 100644 plugins/sudoers/regress/sudoers/test8.in create mode 100644 plugins/sudoers/regress/sudoers/test8.json.ok create mode 100644 plugins/sudoers/regress/sudoers/test8.ldif.ok create mode 100644 plugins/sudoers/regress/sudoers/test8.out.ok create mode 100644 plugins/sudoers/regress/sudoers/test8.toke.ok create mode 100644 plugins/sudoers/regress/sudoers/test9.in create mode 100644 plugins/sudoers/regress/sudoers/test9.json.ok create mode 100644 plugins/sudoers/regress/sudoers/test9.ldif.ok create mode 100644 plugins/sudoers/regress/sudoers/test9.out.ok create mode 100644 plugins/sudoers/regress/sudoers/test9.toke.ok create mode 100644 plugins/sudoers/regress/testsudoers/group create mode 100644 plugins/sudoers/regress/testsudoers/test1.out.ok create mode 100755 plugins/sudoers/regress/testsudoers/test1.sh create mode 100644 plugins/sudoers/regress/testsudoers/test10.out.ok create mode 100755 plugins/sudoers/regress/testsudoers/test10.sh create mode 100644 plugins/sudoers/regress/testsudoers/test11.out.ok create mode 100755 plugins/sudoers/regress/testsudoers/test11.sh create mode 100644 plugins/sudoers/regress/testsudoers/test12.out.ok create mode 100755 plugins/sudoers/regress/testsudoers/test12.sh create mode 100644 plugins/sudoers/regress/testsudoers/test13.out.ok create mode 100755 plugins/sudoers/regress/testsudoers/test13.sh create mode 100644 plugins/sudoers/regress/testsudoers/test14.out.ok create mode 100755 plugins/sudoers/regress/testsudoers/test14.sh create mode 100644 plugins/sudoers/regress/testsudoers/test15.out.ok create mode 100755 plugins/sudoers/regress/testsudoers/test15.sh create mode 100644 plugins/sudoers/regress/testsudoers/test16.out.ok create mode 100755 plugins/sudoers/regress/testsudoers/test16.sh create mode 100644 plugins/sudoers/regress/testsudoers/test17.out.ok create mode 100755 plugins/sudoers/regress/testsudoers/test17.sh create mode 100644 plugins/sudoers/regress/testsudoers/test18.out.ok create mode 100755 plugins/sudoers/regress/testsudoers/test18.sh create mode 100644 plugins/sudoers/regress/testsudoers/test19.out.ok create mode 100755 plugins/sudoers/regress/testsudoers/test19.sh create mode 100644 plugins/sudoers/regress/testsudoers/test2.inc create mode 100644 plugins/sudoers/regress/testsudoers/test2.out.ok create mode 100755 plugins/sudoers/regress/testsudoers/test2.sh create mode 100644 plugins/sudoers/regress/testsudoers/test20.out.ok create mode 100644 plugins/sudoers/regress/testsudoers/test20.sh create mode 100644 plugins/sudoers/regress/testsudoers/test3.out.ok create mode 100755 plugins/sudoers/regress/testsudoers/test3.sh create mode 100644 plugins/sudoers/regress/testsudoers/test4.out.ok create mode 100755 plugins/sudoers/regress/testsudoers/test4.sh create mode 100644 plugins/sudoers/regress/testsudoers/test5.out.ok create mode 100755 plugins/sudoers/regress/testsudoers/test5.sh create mode 100644 plugins/sudoers/regress/testsudoers/test6.out.ok create mode 100755 plugins/sudoers/regress/testsudoers/test6.sh create mode 100644 plugins/sudoers/regress/testsudoers/test7.out.ok create mode 100755 plugins/sudoers/regress/testsudoers/test7.sh create mode 100644 plugins/sudoers/regress/testsudoers/test8.out.ok create mode 100755 plugins/sudoers/regress/testsudoers/test8.sh create mode 100644 plugins/sudoers/regress/testsudoers/test9.out.ok create mode 100755 plugins/sudoers/regress/testsudoers/test9.sh create mode 100644 plugins/sudoers/regress/unescape/check_unesc.c create mode 100644 plugins/sudoers/regress/visudo/test1.out.ok create mode 100755 plugins/sudoers/regress/visudo/test1.sh create mode 100644 plugins/sudoers/regress/visudo/test10.out.ok create mode 100755 plugins/sudoers/regress/visudo/test10.sh create mode 100644 plugins/sudoers/regress/visudo/test2.err.ok create mode 100644 plugins/sudoers/regress/visudo/test2.out.ok create mode 100755 plugins/sudoers/regress/visudo/test2.sh create mode 100644 plugins/sudoers/regress/visudo/test3.err.ok create mode 100644 plugins/sudoers/regress/visudo/test3.out.ok create mode 100755 plugins/sudoers/regress/visudo/test3.sh create mode 100644 plugins/sudoers/regress/visudo/test4.out.ok create mode 100755 plugins/sudoers/regress/visudo/test4.sh create mode 100644 plugins/sudoers/regress/visudo/test5.out.ok create mode 100755 plugins/sudoers/regress/visudo/test5.sh create mode 100644 plugins/sudoers/regress/visudo/test6.out.ok create mode 100755 plugins/sudoers/regress/visudo/test6.sh create mode 100644 plugins/sudoers/regress/visudo/test7.out.ok create mode 100755 plugins/sudoers/regress/visudo/test7.sh create mode 100644 plugins/sudoers/regress/visudo/test8.err.ok create mode 100644 plugins/sudoers/regress/visudo/test8.out.ok create mode 100755 plugins/sudoers/regress/visudo/test8.sh create mode 100644 plugins/sudoers/regress/visudo/test9.out.ok create mode 100755 plugins/sudoers/regress/visudo/test9.sh create mode 100644 plugins/sudoers/serialize_list.c create mode 100644 plugins/sudoers/set_perms.c create mode 100644 plugins/sudoers/solaris_audit.c create mode 100644 plugins/sudoers/solaris_audit.h create mode 100644 plugins/sudoers/sssd.c create mode 100644 plugins/sudoers/starttime.c create mode 100644 plugins/sudoers/strlcpy_unesc.c create mode 100644 plugins/sudoers/strlist.c create mode 100644 plugins/sudoers/strlist.h create mode 100644 plugins/sudoers/strvec_join.c create mode 100644 plugins/sudoers/stubs.c create mode 100644 plugins/sudoers/sudo_ldap.h create mode 100644 plugins/sudoers/sudo_ldap_conf.h create mode 100644 plugins/sudoers/sudo_nss.c create mode 100644 plugins/sudoers/sudo_nss.h create mode 100644 plugins/sudoers/sudo_printf.c create mode 100644 plugins/sudoers/sudoers.c create mode 100644 plugins/sudoers/sudoers.exp create mode 100644 plugins/sudoers/sudoers.h create mode 100644 plugins/sudoers/sudoers.in create mode 100644 plugins/sudoers/sudoers_debug.c create mode 100644 plugins/sudoers/sudoers_debug.h create mode 100644 plugins/sudoers/sudoers_hooks.c create mode 100644 plugins/sudoers/sudoers_version.h create mode 100644 plugins/sudoers/sudoreplay.c create mode 100644 plugins/sudoers/testsudoers.c create mode 100644 plugins/sudoers/testsudoers_pwutil.c create mode 100644 plugins/sudoers/timeout.c create mode 100644 plugins/sudoers/timestamp.c create mode 100644 plugins/sudoers/timestr.c create mode 100644 plugins/sudoers/toke.c create mode 100644 plugins/sudoers/toke.h create mode 100644 plugins/sudoers/toke.l create mode 100644 plugins/sudoers/toke_util.c create mode 100644 plugins/sudoers/tsdump.c create mode 100644 plugins/sudoers/tsgetgrpw.c create mode 100644 plugins/sudoers/tsgetgrpw.h create mode 100644 plugins/sudoers/unesc_str.c create mode 100644 plugins/sudoers/visudo.c (limited to 'plugins/sudoers') diff --git a/plugins/sudoers/Makefile.in b/plugins/sudoers/Makefile.in new file mode 100644 index 0000000..6e7c97c --- /dev/null +++ b/plugins/sudoers/Makefile.in @@ -0,0 +1,3192 @@ +# +# SPDX-License-Identifier: ISC +# +# Copyright (c) 1996, 1998-2005, 2007-2022 +# Todd C. Miller +# +# Permission to use, copy, modify, and distribute this software for any +# purpose with or without fee is hereby granted, provided that the above +# copyright notice and this permission notice appear in all copies. +# +# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +# +# Sponsored in part by the Defense Advanced Research Projects +# Agency (DARPA) and Air Force Research Laboratory, Air Force +# Materiel Command, USAF, under agreement number F39502-99-1-0512. +# +# @configure_input@ +# + +#### Start of system configuration section. #### + +srcdir = @srcdir@ +abs_srcdir = @abs_srcdir@ +top_srcdir = @top_srcdir@ +abs_top_srcdir = @abs_top_srcdir@ +top_builddir = @top_builddir@ +abs_top_builddir = @abs_top_builddir@ +devdir = @devdir@ +scriptdir = $(top_srcdir)/scripts +authdir = $(srcdir)/auth +incdir = $(top_srcdir)/include +docdir = @docdir@ +libdir = @libdir@ +rundir = @rundir@ +vardir = @vardir@ +cross_compiling = @CROSS_COMPILING@ + +# Compiler & tools to use +CC = @CC@ +LIBTOOL = @LIBTOOL@ +SHA1SUM = @SHA1SUM@ +FLEX = @FLEX@ +YACC = @YACC@ +EGREP = @EGREP@ +SED = @SED@ +AWK = @AWK@ + +# Our install program supports extra flags... +INSTALL = $(SHELL) $(scriptdir)/install-sh -c +INSTALL_OWNER = -o $(install_uid) -g $(install_gid) +INSTALL_BACKUP = @INSTALL_BACKUP@ + +# Libraries +LIBFUZZSTUB = $(top_builddir)/lib/fuzzstub/libsudo_fuzzstub.la +LIBEVENTLOG = $(top_builddir)/lib/eventlog/libsudo_eventlog.la +LIBIOLOG = $(top_builddir)/lib/iolog/libsudo_iolog.la $(LIBEVENTLOG) +LIBLOGSRV = @LIBLOGSRV@ +LIBUTIL = $(top_builddir)/lib/util/libsudo_util.la +LIBS = $(LIBUTIL) +NET_LIBS = @NET_LIBS@ +SUDOERS_LIBS = @SUDOERS_LIBS@ @AFS_LIBS@ @GETGROUPS_LIB@ @LIBTLS@ $(NET_LIBS) $(LIBIOLOG) $(LIBLOGSRV) +REPLAY_LIBS = @REPLAY_LIBS@ $(LIBIOLOG) +VISUDO_LIBS = $(NET_LIBS) +CVTSUDOERS_LIBS = $(NET_LIBS) +TESTSUDOERS_LIBS = $(NET_LIBS) + +# C preprocessor defines +CPPDEFS = -DLIBDIR=\"$(libdir)\" -DLOCALEDIR=\"$(localedir)\" \ + -D_PATH_SUDOERS=\"$(sysconfdir)/sudoers\" \ + -D_PATH_CVTSUDOERS_CONF=\"$(sysconfdir)/cvtsudoers.conf\" \ + -DSUDOERS_UID=$(sudoers_uid) -DSUDOERS_GID=$(sudoers_gid) \ + -DSUDOERS_MODE=$(sudoers_mode) + +# C preprocessor flags +CPPFLAGS = -I$(incdir) -I$(top_builddir) -I$(devdir) -I$(srcdir) \ + $(CPPDEFS) @CPPFLAGS@ + +# Usually -O and/or -g +CFLAGS = @CFLAGS@ + +# Flags to pass to the link stage +LDFLAGS = @LDFLAGS@ +LT_LDFLAGS = @SUDOERS_LDFLAGS@ @LT_LDFLAGS@ @LT_LDEXPORTS@ + +# Flags to pass to libtool +LTFLAGS = + +# Address sanitizer flags +ASAN_CFLAGS = @ASAN_CFLAGS@ +ASAN_LDFLAGS = @ASAN_LDFLAGS@ + +# PIE flags +PIE_CFLAGS = @PIE_CFLAGS@ +PIE_LDFLAGS = @PIE_LDFLAGS@ + +# Stack smashing protection flags +HARDENING_CFLAGS = @HARDENING_CFLAGS@ +HARDENING_LDFLAGS = @HARDENING_LDFLAGS@ + +# cppcheck options, usually set in the top-level Makefile +CPPCHECK_OPTS = -q --enable=warning,performance,portability --suppress=constStatement --suppress=compareBoolExpressionWithInt --error-exitcode=1 --inline-suppr -Dva_copy=va_copy -U__cplusplus -UQUAD_MAX -UQUAD_MIN -UUQUAD_MAX -U_POSIX_HOST_NAME_MAX -U_POSIX_PATH_MAX -U__NBBY -DNSIG=64 + +# splint options, usually set in the top-level Makefile +SPLINT_OPTS = -D__restrict= -checks + +# PVS-studio options +PVS_CFG = $(top_srcdir)/PVS-Studio.cfg +PVS_IGNORE = 'V707,V011,V002,V536' +PVS_LOG_OPTS = -a 'GA:1,2' -e -t errorfile -d $(PVS_IGNORE) + +# Where to install things... +prefix = @prefix@ +exec_prefix = @exec_prefix@ +bindir = @bindir@ +sbindir = @sbindir@ +sysconfdir = @sysconfdir@ +libexecdir = @libexecdir@ +datarootdir = @datarootdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ + +# File mode and map file to use for shared libraries/objects +shlib_enable = @SHLIB_ENABLE@ +shlib_mode = @SHLIB_MODE@ +shlib_exp = $(srcdir)/sudoers.exp +shlib_map = sudoers.map +shlib_opt = sudoers.opt + +# Directory in which to install the sudoers plugin +plugindir = @plugindir@ + +# User and group ids the installed files should be "owned" by +install_uid = 0 +install_gid = 0 + +# User, group, and mode the sudoers file should be "owned" by (configure) +sudoers_uid = @SUDOERS_UID@ +sudoers_gid = @SUDOERS_GID@ +sudoers_mode = @SUDOERS_MODE@ + +# Set to non-empty for development mode +DEVEL = @DEVEL@ + +#### End of system configuration section. #### + +SHELL = @SHELL@ + +PROGS = sudoers.la visudo sudoreplay cvtsudoers testsudoers + +# Regression tests +TEST_PROGS = check_addr check_base64 check_digest check_editor \ + check_env_pattern check_exptilde check_fill check_gentime \ + check_iolog_plugin check_serialize_list \ + check_starttime check_unesc @SUDOERS_TEST_PROGS@ +TEST_VERBOSE = +HARNESS = $(SHELL) regress/harness $(TEST_VERBOSE) + +# Fuzzers +LIB_FUZZING_ENGINE = @FUZZ_ENGINE@ +FUZZ_PROGS = fuzz_policy fuzz_sudoers fuzz_sudoers_ldif +FUZZ_SEED_CORPUS = ${FUZZ_PROGS:=_seed_corpus.zip} +FUZZ_LIBS = libparsesudoers.la @SUDOERS_LIBS@ $(LIB_FUZZING_ENGINE) +FUZZ_LDFLAGS = @SUDOERS_LDFLAGS@ +FUZZ_MAX_LEN = 4096 +FUZZ_RUNS = 8192 +FUZZ_VERBOSE = + +AUTH_OBJS = sudo_auth.lo @AUTH_OBJS@ + +LIBPARSESUDOERS_OBJS = alias.lo b64_decode.lo defaults.lo digestname.lo \ + exptilde.lo filedigest.lo gentime.lo gram.lo \ + match.lo match_addr.lo match_command.lo \ + match_digest.lo pwutil.lo pwutil_impl.lo \ + redblack.lo strlist.lo sudoers_debug.lo timeout.lo \ + timestr.lo toke.lo toke_util.lo + +LIBPARSESUDOERS_IOBJS = $(LIBPARSESUDOERS_OBJS:.lo=.i) passwd.i + +SUDOERS_OBJS = $(AUTH_OBJS) audit.lo boottime.lo check.lo editor.lo env.lo \ + sudoers_hooks.lo env_pattern.lo file.lo find_path.lo \ + fmtsudoers.lo gc.lo goodpath.lo group_plugin.lo interfaces.lo \ + iolog.lo iolog_path_escapes.lo locale.lo log_client.lo \ + logging.lo parse.lo policy.lo prompt.lo serialize_list.lo \ + set_perms.lo starttime.lo strlcpy_unesc.lo strvec_join.lo \ + sudo_nss.lo sudoers.lo timestamp.lo unesc_str.lo @SUDOERS_OBJS@ + +SUDOERS_IOBJS = $(SUDOERS_OBJS:.lo=.i) + +VISUDO_OBJS = check_aliases.o editor.lo find_path.lo gc.lo goodpath.lo \ + locale.lo stubs.o sudo_printf.o visudo.o + +VISUDO_IOBJS = sudo_printf.i visudo.i + +CVTSUDOERS_OBJS = b64_encode.o cvtsudoers.o cvtsudoers_json.o cvtsudoers_csv.o \ + cvtsudoers_ldif.o cvtsudoers_merge.o cvtsudoers_pwutil.o \ + fmtsudoers.lo fmtsudoers_cvt.lo locale.lo parse_ldif.o \ + stubs.o sudo_printf.o ldap_util.lo testsudoers_pwutil.o \ + tsgetgrpw.o + +CVTSUDOERS_IOBJS = cvtsudoers.i cvtsudoers_csv.i cvtsudoers_json.i \ + cvtsudoers_ldif.i cvtsudoers_merge.i cvtsudoers_pwutil.i + +REPLAY_OBJS = getdate.o sudoreplay.o + +REPLAY_IOBJS = $(REPLAY_OBJS:.o=.i) + +TEST_OBJS = fmtsudoers.lo fmtsudoers_cvt.lo group_plugin.lo interfaces.lo \ + ldap_util.lo locale.lo net_ifs.o parse_ldif.o sudo_printf.o \ + testsudoers.o testsudoers_pwutil.o tsgetgrpw.o + +IOBJS = $(LIBPARSESUDOERS_IOBJS) $(SUDOERS_IOBJS) $(VISUDO_IOBJS) \ + $(CVTSUDOERS_IOBJS) $(REPLAY_IOBJS) + +POBJS = $(IOBJS:.i=.plog) + +TSDUMP_OBJS = tsdump.o sudoers_debug.lo locale.lo + +CHECK_ADDR_OBJS = check_addr.o interfaces.lo match_addr.lo sudoers_debug.lo \ + sudo_printf.o + +CHECK_BASE64_OBJS = check_base64.o b64_decode.lo b64_encode.o sudoers_debug.lo + +CHECK_DIGEST_OBJS = check_digest.o filedigest.lo digestname.lo sudoers_debug.lo + +CHECK_EDITOR_OBJS = check_editor.o gc.lo editor.lo sudoers_debug.lo + +CHECK_ENV_MATCH_OBJS = check_env_pattern.o env_pattern.lo sudoers_debug.lo + +CHECK_EXPTILDE_OBJS = check_exptilde.o exptilde.lo pwutil.lo pwutil_impl.lo redblack.lo sudoers_debug.lo + +CHECK_FILL_OBJS = check_fill.o toke_util.lo sudoers_debug.lo + +CHECK_GENTIME_OBJS = check_gentime.o gentime.lo sudoers_debug.lo + +CHECK_IOLOG_PLUGIN_OBJS = check_iolog_plugin.o iolog.lo log_client.lo \ + locale.lo pwutil.lo pwutil_impl.lo redblack.lo \ + strlist.lo sudoers_debug.lo unesc_str.lo + +CHECK_SYMBOLS_OBJS = check_symbols.o + +CHECK_STARTTIME_OBJS = check_starttime.o starttime.lo sudoers_debug.lo + +CHECK_UNESC_OBJS = check_unesc.o strlcpy_unesc.lo strvec_join.lo \ + sudoers_debug.lo unesc_str.lo + +CHECK_SERIALIZE_LIST_OBJS = check_serialize_list.lo serialize_list.lo \ + sudoers_debug.lo + +FUZZ_POLICY_OBJS = editor.lo env.lo env_pattern.lo fuzz_policy.o fuzz_stubs.o \ + gc.lo iolog_path_escapes.lo locale.lo policy.lo \ + serialize_list.lo strlcpy_unesc.lo strvec_join.lo \ + sudoers.lo sudoers_hooks.lo + +FUZZ_POLICY_CORPUS = $(srcdir)/regress/corpus/seed/policy/policy.* + +FUZZ_SUDOERS_OBJS = check_aliases.o fuzz_stubs.o fuzz_sudoers.o fmtsudoers.lo \ + parse.lo locale.lo + +FUZZ_SUDOERS_CORPUS = $(top_builddir)/examples/sudoers \ + $(srcdir)/regress/sudoers/test1.in \ + $(srcdir)/regress/sudoers/test2.in \ + $(srcdir)/regress/sudoers/test3.in \ + $(srcdir)/regress/sudoers/test4.in \ + $(srcdir)/regress/sudoers/test5.in \ + $(srcdir)/regress/sudoers/test6.in \ + $(srcdir)/regress/sudoers/test7.in \ + $(srcdir)/regress/sudoers/test8.in \ + $(srcdir)/regress/sudoers/test9.in \ + $(srcdir)/regress/sudoers/test10.in \ + $(srcdir)/regress/sudoers/test11.in \ + $(srcdir)/regress/sudoers/test12.in \ + $(srcdir)/regress/sudoers/test13.in \ + $(srcdir)/regress/sudoers/test14.in \ + $(srcdir)/regress/sudoers/test15.in \ + $(srcdir)/regress/sudoers/test16.in \ + $(srcdir)/regress/sudoers/test17.in \ + $(srcdir)/regress/sudoers/test18.in \ + $(srcdir)/regress/sudoers/test19.in \ + $(srcdir)/regress/sudoers/test20.in \ + $(srcdir)/regress/sudoers/test21.in \ + $(srcdir)/regress/sudoers/test22.in \ + $(srcdir)/regress/sudoers/test23.in \ + $(srcdir)/regress/sudoers/test24.in \ + $(srcdir)/regress/sudoers/test25.in + +FUZZ_SUDOERS_LDIF_OBJS = fuzz_stubs.o fuzz_sudoers_ldif.o parse_ldif.o \ + ldap_util.lo fmtsudoers.lo locale.lo + +FUZZ_SUDOERS_LDIF_CORPUS = $(srcdir)/regress/sudoers/*.ldif.ok \ + $(srcdir)/regress/corpus/seed/ldif/*.ldif + +VERSION = @PACKAGE_VERSION@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ + +all: $(PROGS) + +.SUFFIXES: .c .h .i .l .lo .o .plog .y + +.c.o: + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $< + +.c.lo: + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $< + +.c.i: + $(CC) -E -o $@ $(CPPFLAGS) $< + +.i.plog: + ifile=$<; rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $${ifile%i}c --i-file $< --output-file $@ + +$(shlib_map): $(shlib_exp) + @$(AWK) 'BEGIN { print "{\n\tglobal:" } { print "\t\t"$$0";" } END { print "\tlocal:\n\t\t*;\n};" }' $(shlib_exp) > $@ + +$(shlib_opt): $(shlib_exp) + @$(SED) 's/^/+e /' $(shlib_exp) > $@ + +# Prevent default rules from building .c files from .l and .y files +.l.c: + @true + +.y.c: + @true + +depend: + $(scriptdir)/mkdep.pl --srcdir=$(abs_top_srcdir) \ + --builddir=$(abs_top_builddir) plugins/sudoers/Makefile.in + cd $(top_builddir) && ./config.status --file plugins/sudoers/Makefile + +harness: $(srcdir)/regress/harness.in + cd $(top_builddir) && ./config.status --file plugins/sudoers/regress/harness && chmod +x plugins/sudoers/regress/harness + +Makefile: $(srcdir)/Makefile.in + cd $(top_builddir) && ./config.status --file plugins/sudoers/Makefile + +libparsesudoers.la: $(LIBPARSESUDOERS_OBJS) + $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) -o $@ $(LIBPARSESUDOERS_OBJS) -no-install + +sudoers.la: $(SUDOERS_OBJS) $(LIBIOLOG) $(LIBLOGSRV) libparsesudoers.la @LT_LDDEP@ + case "$(LT_LDFLAGS)" in \ + *-no-install*) \ + $(LIBTOOL) $(LTFLAGS) @SUDOERS_LT_STATIC@ --mode=link $(CC) $(LDFLAGS) $(LT_LDFLAGS) -o $@ $(SUDOERS_OBJS) libparsesudoers.la $(SUDOERS_LIBS) -module;; \ + *) \ + $(LIBTOOL) $(LTFLAGS) @SUDOERS_LT_STATIC@ --mode=link $(CC) $(LDFLAGS) $(ASAN_LDFLAGS) $(HARDENING_LDFLAGS) $(LT_LDFLAGS) -o $@ $(SUDOERS_OBJS) libparsesudoers.la $(SUDOERS_LIBS) -module -avoid-version -rpath $(plugindir) -shrext .so;; \ + esac + +visudo: libparsesudoers.la $(VISUDO_OBJS) $(LIBUTIL) + $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) -o $@ $(VISUDO_OBJS) $(LDFLAGS) $(ASAN_LDFLAGS) $(PIE_LDFLAGS) $(HARDENING_LDFLAGS) libparsesudoers.la $(LIBS) $(VISUDO_LIBS) + +cvtsudoers: libparsesudoers.la $(CVTSUDOERS_OBJS) $(LIBUTIL) + $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) -o $@ $(CVTSUDOERS_OBJS) $(LDFLAGS) $(ASAN_LDFLAGS) $(PIE_LDFLAGS) $(HARDENING_LDFLAGS) libparsesudoers.la $(LIBS) $(CVTSUDOERS_LIBS) + +sudoreplay: timestr.lo $(REPLAY_OBJS) $(LIBIOLOG) + $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) -o $@ $(REPLAY_OBJS) $(LDFLAGS) $(ASAN_LDFLAGS) $(PIE_LDFLAGS) $(HARDENING_LDFLAGS) timestr.lo $(REPLAY_LIBS) + +testsudoers: libparsesudoers.la $(TEST_OBJS) $(LIBUTIL) + $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) -o $@ $(TEST_OBJS) $(LDFLAGS) $(ASAN_LDFLAGS) $(PIE_LDFLAGS) $(HARDENING_LDFLAGS) libparsesudoers.la $(LIBS) $(TESTSUDOERS_LIBS) + +tsdump: $(TSDUMP_OBJS) $(LIBUTIL) + $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) -o $@ $(TSDUMP_OBJS) $(LDFLAGS) $(ASAN_LDFLAGS) $(PIE_LDFLAGS) $(HARDENING_LDFLAGS) $(LIBS) + +check_addr: $(CHECK_ADDR_OBJS) $(LIBUTIL) + $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) -o $@ $(CHECK_ADDR_OBJS) $(LDFLAGS) $(ASAN_LDFLAGS) $(PIE_LDFLAGS) $(HARDENING_LDFLAGS) $(LIBS) $(NET_LIBS) + +check_base64: $(CHECK_BASE64_OBJS) $(LIBUTIL) + $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) -o $@ $(CHECK_BASE64_OBJS) $(LDFLAGS) $(ASAN_LDFLAGS) $(PIE_LDFLAGS) $(HARDENING_LDFLAGS) $(LIBS) + +check_digest: $(CHECK_DIGEST_OBJS) $(LIBUTIL) + $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) -o $@ $(CHECK_DIGEST_OBJS) $(LDFLAGS) $(ASAN_LDFLAGS) $(PIE_LDFLAGS) $(HARDENING_LDFLAGS) $(LIBS) + +check_editor: $(CHECK_EDITOR_OBJS) $(LIBUTIL) + $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) -o $@ $(CHECK_EDITOR_OBJS) $(LDFLAGS) $(ASAN_LDFLAGS) $(PIE_LDFLAGS) $(HARDENING_LDFLAGS) $(LIBS) + +check_env_pattern: $(CHECK_ENV_MATCH_OBJS) $(LIBUTIL) + $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) -o $@ $(CHECK_ENV_MATCH_OBJS) $(LDFLAGS) $(ASAN_LDFLAGS) $(PIE_LDFLAGS) $(HARDENING_LDFLAGS) $(LIBS) + +check_exptilde: $(CHECK_EXPTILDE_OBJS) $(LIBUTIL) + $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) -o $@ $(CHECK_EXPTILDE_OBJS) $(LDFLAGS) $(ASAN_LDFLAGS) $(PIE_LDFLAGS) $(HARDENING_LDFLAGS) $(LIBS) + +check_fill: $(CHECK_FILL_OBJS) $(LIBUTIL) + $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) -o $@ $(CHECK_FILL_OBJS) $(LDFLAGS) $(ASAN_LDFLAGS) $(PIE_LDFLAGS) $(HARDENING_LDFLAGS) $(LIBS) + +check_gentime: $(CHECK_GENTIME_OBJS) $(LIBUTIL) + $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) -o $@ $(CHECK_GENTIME_OBJS) $(LDFLAGS) $(ASAN_LDFLAGS) $(PIE_LDFLAGS) $(HARDENING_LDFLAGS) $(LIBS) + +check_iolog_plugin: $(CHECK_IOLOG_PLUGIN_OBJS) $(LIBUTIL) $(LIBIOLOG) $(LIBLOGSRV) + $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) -o $@ $(CHECK_IOLOG_PLUGIN_OBJS) $(LDFLAGS) $(ASAN_LDFLAGS) $(PIE_LDFLAGS) $(HARDENING_LDFLAGS) $(LIBIOLOG) $(LIBLOGSRV) @LIBTLS@ + +check_serialize_list: $(CHECK_SERIALIZE_LIST_OBJS) $(LIBUTIL) + $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) -o $@ $(CHECK_SERIALIZE_LIST_OBJS) $(LDFLAGS) $(ASAN_LDFLAGS) $(PIE_LDFLAGS) $(HARDENING_LDFLAGS) $(LIBS) + +check_starttime: $(CHECK_STARTTIME_OBJS) $(LIBUTIL) + $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) -o $@ $(CHECK_STARTTIME_OBJS) $(LDFLAGS) $(ASAN_LDFLAGS) $(PIE_LDFLAGS) $(HARDENING_LDFLAGS) $(LIBS) + +check_unesc: $(CHECK_UNESC_OBJS) $(LIBUTIL) + $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) -o $@ $(CHECK_UNESC_OBJS) $(LDFLAGS) $(ASAN_LDFLAGS) $(PIE_LDFLAGS) $(HARDENING_LDFLAGS) $(LIBS) + +# We need to link check_symbols with -lpthread on HP-UX since LDAP uses threads +check_symbols: $(CHECK_SYMBOLS_OBJS) $(LIBUTIL) + $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) -o $@ $(CHECK_SYMBOLS_OBJS) $(CHECK_SYMBOLS_LDFLAGS) $(LDFLAGS) $(ASAN_LDFLAGS) $(PIE_LDFLAGS) $(HARDENING_LDFLAGS) $(LIBS) @SUDO_LIBS@ + +fuzz_policy: $(FUZZ_POLICY_OBJS) libparsesudoers.la $(LIBEVENTLOG) $(LIBUTIL) $(LIBFUZZSTUB) + $(LIBTOOL) $(LTFLAGS) --mode=link @FUZZ_LD@ -o $@ $(FUZZ_POLICY_OBJS) $(LDFLAGS) $(ASAN_LDFLAGS) $(PIE_LDFLAGS) $(HARDENING_LDFLAGS) $(FUZZ_LDFLAGS) $(FUZZ_LIBS) $(LIBEVENTLOG) + +fuzz_sudoers: $(FUZZ_SUDOERS_OBJS) libparsesudoers.la $(LIBUTIL) $(LIBFUZZSTUB) + $(LIBTOOL) $(LTFLAGS) --mode=link @FUZZ_LD@ -o $@ $(FUZZ_SUDOERS_OBJS) $(LDFLAGS) $(ASAN_LDFLAGS) $(PIE_LDFLAGS) $(HARDENING_LDFLAGS) $(FUZZ_LDFLAGS) $(FUZZ_LIBS) $(LIBUTIL) + +fuzz_sudoers_ldif: $(FUZZ_SUDOERS_LDIF_OBJS) libparsesudoers.la $(LIBUTIL) $(LIBFUZZSTUB) + $(LIBTOOL) $(LTFLAGS) --mode=link @FUZZ_LD@ -o $@ $(FUZZ_SUDOERS_LDIF_OBJS) $(LDFLAGS) $(ASAN_LDFLAGS) $(PIE_LDFLAGS) $(HARDENING_LDFLAGS) $(FUZZ_LDFLAGS) $(FUZZ_LIBS) $(LIBUTIL) + +fuzz_policy_seed_corpus.zip: + tdir=fuzz_policy.$$$$; \ + mkdir $$tdir; \ + for f in $(FUZZ_POLICY_CORPUS); do \ + cp $$f $$tdir/`$(SHA1SUM) $$f | $(SED) -e 's/^.*= *//' -e 's/ .*//'`; \ + done; \ + zip -j $@ $$tdir/*; \ + rm -rf $$tdir + +run-fuzz_policy: fuzz_policy + l=`locale -a 2>&1 | $(EGREP) -i '^C\.UTF-?8$$' | $(SED) 1q` || true; \ + test -n "$$l" || l="C"; \ + LC_ALL="$$l"; export LC_ALL; \ + unset LANG || LANG=; \ + unset LANGUAGE || LANGUAGE=; \ + MALLOC_OPTIONS=S; export MALLOC_OPTIONS; \ + MALLOC_CONF="abort:true,junk:true"; export MALLOC_CONF; \ + umask 022; \ + corpus=regress/corpus/policy; \ + mkdir -p $$corpus; \ + for f in $(FUZZ_POLICY_CORPUS); do \ + cp $$f $$corpus; \ + done; \ + ./fuzz_policy -dict=$(srcdir)/regress/fuzz/fuzz_policy.dict -max_len=$(FUZZ_MAX_LEN) -runs=$(FUZZ_RUNS) $(FUZZ_VERBOSE) $$corpus + +fuzz_sudoers_seed_corpus.zip: + tdir=fuzz_sudoers.$$$$; \ + mkdir $$tdir; \ + for f in $(FUZZ_SUDOERS_CORPUS); do \ + cp $$f $$tdir/`$(SHA1SUM) $$f | $(SED) -e 's/^.*= *//' -e 's/ .*//'`; \ + done; \ + zip -j $@ $$tdir/*; \ + rm -rf $$tdir + +run-fuzz_sudoers: fuzz_sudoers + l=`locale -a 2>&1 | $(EGREP) -i '^C\.UTF-?8$$' | $(SED) 1q` || true; \ + test -n "$$l" || l="C"; \ + LC_ALL="$$l"; export LC_ALL; \ + unset LANG || LANG=; \ + unset LANGUAGE || LANGUAGE=; \ + MALLOC_OPTIONS=S; export MALLOC_OPTIONS; \ + MALLOC_CONF="abort:true,junk:true"; export MALLOC_CONF; \ + umask 022; \ + corpus=regress/corpus/sudoers; \ + mkdir -p $$corpus; \ + for f in $(FUZZ_SUDOERS_CORPUS); do \ + cp $$f $$corpus; \ + done; \ + ./fuzz_sudoers -dict=$(srcdir)/regress/fuzz/fuzz_sudoers.dict -max_len=$(FUZZ_MAX_LEN) -runs=$(FUZZ_RUNS) $(FUZZ_VERBOSE) $$corpus + +fuzz_sudoers_ldif_seed_corpus.zip: + tdir=fuzz_sudoers_ldif.$$$$; \ + mkdir $$tdir; \ + for f in $(FUZZ_SUDOERS_LDIF_CORPUS); do \ + cp $$f $$tdir/`$(SHA1SUM) $$f | $(SED) -e 's/^.*= *//' -e 's/ .*//'`; \ + done; \ + zip -j $@ $$tdir/*; \ + rm -rf $$tdir + +run-fuzz_sudoers_ldif: fuzz_sudoers_ldif + l=`locale -a 2>&1 | $(EGREP) -i '^C\.UTF-?8$$' | $(SED) 1q` || true; \ + test -n "$$l" || l="C"; \ + LC_ALL="$$l"; export LC_ALL; \ + unset LANG || LANG=; \ + unset LANGUAGE || LANGUAGE=; \ + MALLOC_OPTIONS=S; export MALLOC_OPTIONS; \ + MALLOC_CONF="abort:true,junk:true"; export MALLOC_CONF; \ + umask 022; \ + corpus=regress/corpus/sudoers_ldif; \ + mkdir -p $$corpus; \ + for f in $(FUZZ_SUDOERS_LDIF_CORPUS); do \ + cp $$f $$corpus; \ + done; \ + ./fuzz_sudoers_ldif -dict=$(srcdir)/regress/fuzz/fuzz_sudoers_ldif.dict -max_len=$(FUZZ_MAX_LEN) -runs=$(FUZZ_RUNS) $(FUZZ_VERBOSE) $$corpus + +GENERATED = gram.h gram.c toke.c def_data.c def_data.h getdate.c + +prologue: + echo "/*" > $@ + echo " * This is an open source non-commercial project. Dear PVS-Studio, please check it." >> $@ + echo " * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com" >> $@ + echo " */" >> $@ + echo "" >> $@ + echo "#include " >> $@ + +$(devdir)/gram.c $(devdir)/gram.h: $(srcdir)/gram.y prologue + @if [ -n "$(DEVEL)" ]; then \ + if test "$(srcdir)" = "."; then \ + gram_y="gram.y"; \ + else \ + gram_y="$(srcdir)/gram.y"; \ + fi; \ + cmd='$(YACC) -d -p sudoers '"$$gram_y"'; cp prologue $(devdir)/gram.c; $(SED) -e "s/^\\(#line .*\\) \"y\\.tab\\.c\"/\1 \"gram.c\"/" -e "/^# *include /{N;s/__STDC_VERSION__ && 199901 <= __STDC_VERSION__/HAVE_STDINT_H/;}" y.tab.c >> $(devdir)/gram.c; sed -e "s/^\\(#line .*\\) \"y\\.tab\\.h\"/\1 \"gram.h\"/" y.tab.h > $(devdir)/gram.h; rm -f y.tab.[ch]'; \ + echo "$$cmd"; eval $$cmd; \ + fi + +$(devdir)/toke.c: $(srcdir)/toke.l prologue + @if [ -n "$(DEVEL)" ]; then \ + if test "$(srcdir)" = "."; then \ + toke_l="toke.l"; \ + else \ + toke_l="$(srcdir)/toke.l"; \ + fi; \ + cmd='$(FLEX) '"$$toke_l"'; cp prologue $(devdir)/toke.c; $(SED) -e "s/^\\(#line .*\\) \"lex\\.sudoers\\.c\"/\1 \"toke.c\"/" -e "s:/\* *FALLTHROUGH *\*/:FALLTHROUGH;:" lex.sudoers.c >> $(devdir)/toke.c; rm -f lex.sudoers.c'; \ + echo "$$cmd"; eval $$cmd; \ + fi + +$(devdir)/getdate.c: $(srcdir)/getdate.y prologue + @if [ -n "$(DEVEL)" ]; then \ + echo "expect 10 shift/reduce conflicts"; \ + if test "$(srcdir)" = "."; then \ + getdate_y="getdate.y"; \ + else \ + getdate_y="$(srcdir)/getdate.y"; \ + fi; \ + cmd='$(YACC) '"$$getdate_y"'; cp prologue $(devdir)/getdate.c; $(SED) -e "s/^\\(#line .*\\) \"y\\.tab\\.c\"/\1 \"getdate.c\"/" -e "/^# *include /{N;s/__STDC_VERSION__ && 199901 <= __STDC_VERSION__/HAVE_STDINT_H/;}" y.tab.c >> $(devdir)/getdate.c; rm -f y.tab.c'; \ + echo "$$cmd"; eval $$cmd; \ + fi + +$(devdir)/def_data.c $(devdir)/def_data.h: $(srcdir)/def_data.in + @if [ -n "$(DEVEL)" ]; then \ + cmd='AWK=$(AWK) $(SHELL) $(srcdir)/mkdefaults -o $(devdir)/def_data $(srcdir)/def_data.in'; \ + echo "$$cmd"; eval $$cmd; \ + fi + +sudoers: $(srcdir)/sudoers.in + cd $(top_builddir) && $(SHELL) config.status --file=plugins/sudoers/$@ + +pre-install: visudo + @if test X"$(cross_compiling)" != X"yes" -a X"$(DESTDIR)" = X""; then \ + if test -r $(sysconfdir)/sudoers; then \ + echo "Checking existing sudoers file for syntax errors."; \ + ./visudo -c -f $(sysconfdir)/sudoers; \ + fi; \ + fi + +install: install-plugin install-binaries install-sudoers install-doc + +install-dirs: + $(SHELL) $(scriptdir)/mkinstalldirs $(DESTDIR)$(plugindir) \ + $(DESTDIR)$(sbindir) $(DESTDIR)$(bindir) \ + $(DESTDIR)$(sysconfdir) $(DESTDIR)$(docdir) \ + `echo $(DESTDIR)$(rundir)|$(SED) 's,/[^/]*$$,,'` \ + `echo $(DESTDIR)$(vardir)|$(SED) 's,/[^/]*$$,,'` + $(INSTALL) -d $(INSTALL_OWNER) -m 0711 $(DESTDIR)$(rundir) + $(INSTALL) -d $(INSTALL_OWNER) -m 0711 $(DESTDIR)$(vardir) + $(INSTALL) -d $(INSTALL_OWNER) -m 0700 $(DESTDIR)$(vardir)/lectured + +install-binaries: cvtsudoers sudoreplay visudo install-dirs + INSTALL_BACKUP='$(INSTALL_BACKUP)' $(LIBTOOL) $(LTFLAGS) --mode=install $(INSTALL) $(INSTALL_OWNER) -m 0755 cvtsudoers $(DESTDIR)$(bindir)/cvtsudoers + INSTALL_BACKUP='$(INSTALL_BACKUP)' $(LIBTOOL) $(LTFLAGS) --mode=install $(INSTALL) $(INSTALL_OWNER) -m 0755 sudoreplay $(DESTDIR)$(bindir)/sudoreplay + INSTALL_BACKUP='$(INSTALL_BACKUP)' $(LIBTOOL) $(LTFLAGS) --mode=install $(INSTALL) $(INSTALL_OWNER) -m 0755 visudo $(DESTDIR)$(sbindir)/visudo + +install-includes: + +install-doc: + +install-plugin: sudoers.la install-dirs + case "$(LT_LDFLAGS)" in \ + *-no-install*) ;; \ + *) if [ X"$(shlib_enable)" = X"yes" ]; then \ + INSTALL_BACKUP='$(INSTALL_BACKUP)' $(LIBTOOL) $(LTFLAGS) --mode=install $(INSTALL) $(INSTALL_OWNER) -m $(shlib_mode) sudoers.la $(DESTDIR)$(plugindir); \ + fi;; \ + esac + +install-sudoers: install-dirs + $(INSTALL) -d $(INSTALL_OWNER) -m 0750 $(DESTDIR)$(sysconfdir)/sudoers.d + $(INSTALL) $(INSTALL_OWNER) -m $(sudoers_mode) sudoers $(DESTDIR)$(sysconfdir)/sudoers.dist + test -r $(DESTDIR)$(sysconfdir)/sudoers || \ + cp -p $(DESTDIR)$(sysconfdir)/sudoers.dist $(DESTDIR)$(sysconfdir)/sudoers + +install-fuzzer: $(FUZZ_PROGS) $(FUZZ_SEED_CORPUS) + @if test X"$(FUZZ_DESTDIR)" = X""; then \ + echo "must set FUZZ_DESTDIR for install-fuzzer target"; \ + else \ + cp $(FUZZ_PROGS) $(FUZZ_SEED_CORPUS) $(FUZZ_DESTDIR); \ + cp $(srcdir)/regress/fuzz/*.dict $(FUZZ_DESTDIR); \ + fi + +uninstall: + -$(LIBTOOL) $(LTFLAGS) --mode=uninstall rm -f $(DESTDIR)$(plugindir)/sudoers.la + -rm -f $(DESTDIR)$(bindir)/cvtsudoers \ + $(DESTDIR)$(bindir)/sudoreplay \ + $(DESTDIR)$(sbindir)/visudo + -test -z "$(INSTALL_BACKUP)" || \ + $(DESTDIR)$(bindir)/cvtsudoers$(INSTALL_BACKUP) \ + $(DESTDIR)$(bindir)/sudoreplay$(INSTALL_BACKUP) \ + $(DESTDIR)$(sbindir)/visudo$(INSTALL_BACKUP) \ + $(DESTDIR)$(plugindir)/sudoers.so$(INSTALL_BACKUP) + -cmp $(DESTDIR)$(sysconfdir)/sudoers $(DESTDIR)$(sysconfdir)/sudoers.dist >/dev/null && \ + rm -f $(DESTDIR)$(sysconfdir)/sudoers + -rm -f $(DESTDIR)$(sysconfdir)/sudoers.dist + +splint: + splint $(SPLINT_OPTS) -I$(incdir) -I$(top_builddir) -I$(devdir) -I$(srcdir) $(srcdir)/*.c $(srcdir)/auth/*.c + +cppcheck: + cppcheck $(CPPCHECK_OPTS) -I$(incdir) -I$(top_builddir) -I$(devdir) -I$(srcdir) $(srcdir)/*.c $(srcdir)/auth/*.c + +pvs-log-files: $(POBJS) + +pvs-studio: $(POBJS) + plog-converter $(PVS_LOG_OPTS) $(POBJS) + +fuzz: run-fuzz_policy run-fuzz_sudoers run-fuzz_sudoers_ldif + +check-fuzzer: $(FUZZ_PROGS) + @if test X"$(cross_compiling)" != X"yes"; then \ + l=`locale -a 2>&1 | $(EGREP) -i '^C\.UTF-?8$$' | $(SED) 1q` || true; \ + test -n "$$l" || l="C"; \ + LC_ALL="$$l"; export LC_ALL; \ + unset LANG || LANG=; \ + unset LANGUAGE || LANGUAGE=; \ + MALLOC_OPTIONS=S; export MALLOC_OPTIONS; \ + MALLOC_CONF="abort:true,junk:true"; export MALLOC_CONF; \ + echo "fuzz_sudoers: verifying corpus"; \ + ./fuzz_sudoers $(FUZZ_VERBOSE) $(FUZZ_SUDOERS_CORPUS); \ + echo "fuzz_sudoers-ldif: verifying corpus"; \ + ./fuzz_sudoers_ldif $(FUZZ_VERBOSE) $(FUZZ_SUDOERS_LDIF_CORPUS); \ + echo "fuzz_policy: verifying corpus"; \ + ./fuzz_policy $(FUZZ_VERBOSE) $(FUZZ_POLICY_CORPUS); \ + fi + +check: $(TEST_PROGS) visudo testsudoers cvtsudoers check-fuzzer + @if test X"$(cross_compiling)" != X"yes"; then \ + l=`locale -a 2>&1 | $(EGREP) -i '^C\.UTF-?8$$' | $(SED) 1q` || true; \ + test -n "$$l" || l="C"; \ + LC_ALL="$$l"; export LC_ALL; \ + unset LANG || LANG=; \ + unset LANGUAGE || LANGUAGE=; \ + MALLOC_OPTIONS=S; export MALLOC_OPTIONS; \ + MALLOC_CONF="abort:true,junk:true"; export MALLOC_CONF; \ + umask 022; \ + rval=0; \ + mkdir -p regress/parser; \ + ./check_addr $(srcdir)/regress/parser/check_addr.in || rval=`expr $$rval + $$?`; \ + ./check_base64 || rval=`expr $$rval + $$?`; \ + if test -f check_digest; then \ + ./check_digest > regress/parser/check_digest.out; \ + diff regress/parser/check_digest.out $(srcdir)/regress/parser/check_digest.out.ok || rval=`expr $$rval + $$?`; \ + fi; \ + ./check_editor || rval=`expr $$rval + $$?`; \ + ./check_env_pattern $(srcdir)/regress/env_match/data || rval=`expr $$rval + $$?`; \ + ./check_exptilde || rval=`expr $$rval + $$?`; \ + ./check_fill || rval=`expr $$rval + $$?`; \ + ./check_gentime || rval=`expr $$rval + $$?`; \ + mkdir -p regress/iolog_plugin; \ + ./check_iolog_plugin regress/iolog_plugin/iolog || rval=`expr $$rval + $$?`; \ + ./check_serialize_list || rval=`expr $$rval + $$?`; \ + ./check_starttime || rval=`expr $$rval + $$?`; \ + ./check_unesc || rval=`expr $$rval + $$?`; \ + if test -f check_symbols; then \ + ./check_symbols .libs/sudoers.so $(shlib_exp) || rval=`expr $$rval + $$?`; \ + fi; \ + AWK=$(AWK) $(HARNESS) sudoers || rval=`expr $$rval + $$?`; \ + AWK=$(AWK) $(HARNESS) testsudoers || rval=`expr $$rval + $$?`; \ + AWK=$(AWK) $(HARNESS) visudo || rval=`expr $$rval + $$?`; \ + AWK=$(AWK) $(HARNESS) cvtsudoers || rval=`expr $$rval + $$?`; \ + exit $$rval; \ + fi + +check-verbose: + exec $(MAKE) $(MFLAGS) TEST_VERBOSE=-v FUZZ_VERBOSE=-verbosity=1 check + +clean: + -$(LIBTOOL) $(LTFLAGS) --mode=clean rm -f $(PROGS) $(TEST_PROGS) \ + $(FUZZ_PROGS) *.lo *.o *.la + -rm -f *.i *.plog stamp-* core *.core core.* prologue regress/*/*.out \ + regress/*/*.toke regress/*/*.err regress/*/*.json \ + regress/*/*.ldif regress/*/*.ldif2sudo regress/*/*.sudo + -rm -rf regress/iolog_plugin/iolog regress/corpus/policy \ + regress/corpus/sudoers regress/corpus/sudoers_ldif + +mostlyclean: clean + +distclean: clean + -rm -rf Makefile sudoers sudoers.lo regress/harness \ + .libs $(shlib_map) $(shlib_opt) + @if [ -n "$(DEVEL)" -a "$(devdir)" != "$(srcdir)" ]; then \ + cmd='rm -rf $(GENERATED)'; \ + echo "$$cmd"; eval $$cmd; \ + fi + +clobber: distclean + +realclean: distclean + rm -f TAGS tags + +cleandir: realclean + +.PHONY: clean mostlyclean distclean cleandir clobber realclean \ + harness $(FUZZ_SEED_CORPUS) run-fuzz_policy run-fuzz_sudoers \ + run-fuzz_sudoers_ldif + +# Autogenerated dependencies, do not modify +afs.lo: $(authdir)/afs.c $(authdir)/sudo_auth.h $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/check.h $(srcdir)/defaults.h $(srcdir)/logging.h \ + $(srcdir)/parse.h $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(authdir)/afs.c +afs.i: $(authdir)/afs.c $(authdir)/sudo_auth.h $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/check.h $(srcdir)/defaults.h $(srcdir)/logging.h \ + $(srcdir)/parse.h $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +afs.plog: afs.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(authdir)/afs.c --i-file $< --output-file $@ +aix_auth.lo: $(authdir)/aix_auth.c $(authdir)/sudo_auth.h $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(authdir)/aix_auth.c +aix_auth.i: $(authdir)/aix_auth.c $(authdir)/sudo_auth.h $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +aix_auth.plog: aix_auth.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(authdir)/aix_auth.c --i-file $< --output-file $@ +alias.lo: $(srcdir)/alias.c $(devdir)/def_data.h $(devdir)/gram.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/redblack.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/alias.c +alias.i: $(srcdir)/alias.c $(devdir)/def_data.h $(devdir)/gram.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/redblack.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +alias.plog: alias.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/alias.c --i-file $< --output-file $@ +audit.lo: $(srcdir)/audit.c $(devdir)/def_data.h $(incdir)/compat/stdbool.h \ + $(incdir)/log_server.pb-c.h $(incdir)/protobuf-c/protobuf-c.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/bsm_audit.h \ + $(srcdir)/defaults.h $(srcdir)/linux_audit.h $(srcdir)/log_client.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/solaris_audit.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/audit.c +audit.i: $(srcdir)/audit.c $(devdir)/def_data.h $(incdir)/compat/stdbool.h \ + $(incdir)/log_server.pb-c.h $(incdir)/protobuf-c/protobuf-c.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/bsm_audit.h \ + $(srcdir)/defaults.h $(srcdir)/linux_audit.h $(srcdir)/log_client.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/solaris_audit.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +audit.plog: audit.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/audit.c --i-file $< --output-file $@ +b64_decode.lo: $(srcdir)/b64_decode.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/b64_decode.c +b64_decode.i: $(srcdir)/b64_decode.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +b64_decode.plog: b64_decode.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/b64_decode.c --i-file $< --output-file $@ +b64_encode.o: $(srcdir)/b64_encode.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/b64_encode.c +b64_encode.i: $(srcdir)/b64_encode.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +b64_encode.plog: b64_encode.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/b64_encode.c --i-file $< --output-file $@ +boottime.lo: $(srcdir)/boottime.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/boottime.c +boottime.i: $(srcdir)/boottime.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +boottime.plog: boottime.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/boottime.c --i-file $< --output-file $@ +bsdauth.lo: $(authdir)/bsdauth.c $(authdir)/sudo_auth.h $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(authdir)/bsdauth.c +bsdauth.i: $(authdir)/bsdauth.c $(authdir)/sudo_auth.h $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +bsdauth.plog: bsdauth.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(authdir)/bsdauth.c --i-file $< --output-file $@ +bsm_audit.lo: $(srcdir)/bsm_audit.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/bsm_audit.h $(srcdir)/defaults.h $(srcdir)/logging.h \ + $(srcdir)/parse.h $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/bsm_audit.c +bsm_audit.i: $(srcdir)/bsm_audit.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/bsm_audit.h $(srcdir)/defaults.h $(srcdir)/logging.h \ + $(srcdir)/parse.h $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +bsm_audit.plog: bsm_audit.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/bsm_audit.c --i-file $< --output-file $@ +check.lo: $(srcdir)/check.c $(devdir)/def_data.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/check.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/check.c +check.i: $(srcdir)/check.c $(devdir)/def_data.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/check.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +check.plog: check.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/check.c --i-file $< --output-file $@ +check_addr.o: $(srcdir)/regress/parser/check_addr.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/interfaces.h $(srcdir)/logging.h \ + $(srcdir)/parse.h $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/regress/parser/check_addr.c +check_addr.i: $(srcdir)/regress/parser/check_addr.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/interfaces.h $(srcdir)/logging.h \ + $(srcdir)/parse.h $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +check_addr.plog: check_addr.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/regress/parser/check_addr.c --i-file $< --output-file $@ +check_aliases.o: $(srcdir)/check_aliases.c $(devdir)/def_data.h \ + $(devdir)/gram.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/check_aliases.c +check_aliases.i: $(srcdir)/check_aliases.c $(devdir)/def_data.h \ + $(devdir)/gram.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +check_aliases.plog: check_aliases.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/check_aliases.c --i-file $< --output-file $@ +check_base64.o: $(srcdir)/regress/parser/check_base64.c \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_util.h $(top_builddir)/config.h + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/regress/parser/check_base64.c +check_base64.i: $(srcdir)/regress/parser/check_base64.c \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_util.h $(top_builddir)/config.h + $(CC) -E -o $@ $(CPPFLAGS) $< +check_base64.plog: check_base64.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/regress/parser/check_base64.c --i-file $< --output-file $@ +check_digest.o: $(srcdir)/regress/parser/check_digest.c \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_digest.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/parse.h $(top_builddir)/config.h + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/regress/parser/check_digest.c +check_digest.i: $(srcdir)/regress/parser/check_digest.c \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_digest.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/parse.h $(top_builddir)/config.h + $(CC) -E -o $@ $(CPPFLAGS) $< +check_digest.plog: check_digest.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/regress/parser/check_digest.c --i-file $< --output-file $@ +check_editor.o: $(srcdir)/regress/editor/check_editor.c $(devdir)/def_data.c \ + $(devdir)/def_data.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/defaults.h $(srcdir)/logging.h \ + $(srcdir)/parse.h $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/regress/editor/check_editor.c +check_editor.i: $(srcdir)/regress/editor/check_editor.c $(devdir)/def_data.c \ + $(devdir)/def_data.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/defaults.h $(srcdir)/logging.h \ + $(srcdir)/parse.h $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +check_editor.plog: check_editor.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/regress/editor/check_editor.c --i-file $< --output-file $@ +check_env_pattern.o: $(srcdir)/regress/env_match/check_env_pattern.c \ + $(devdir)/def_data.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/regress/env_match/check_env_pattern.c +check_env_pattern.i: $(srcdir)/regress/env_match/check_env_pattern.c \ + $(devdir)/def_data.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +check_env_pattern.plog: check_env_pattern.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/regress/env_match/check_env_pattern.c --i-file $< --output-file $@ +check_exptilde.o: $(srcdir)/regress/exptilde/check_exptilde.c \ + $(devdir)/def_data.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/regress/exptilde/check_exptilde.c +check_exptilde.i: $(srcdir)/regress/exptilde/check_exptilde.c \ + $(devdir)/def_data.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +check_exptilde.plog: check_exptilde.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/regress/exptilde/check_exptilde.c --i-file $< --output-file $@ +check_fill.o: $(srcdir)/regress/parser/check_fill.c $(devdir)/gram.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/parse.h $(srcdir)/toke.h \ + $(top_builddir)/config.h + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/regress/parser/check_fill.c +check_fill.i: $(srcdir)/regress/parser/check_fill.c $(devdir)/gram.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/parse.h $(srcdir)/toke.h \ + $(top_builddir)/config.h + $(CC) -E -o $@ $(CPPFLAGS) $< +check_fill.plog: check_fill.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/regress/parser/check_fill.c --i-file $< --output-file $@ +check_gentime.o: $(srcdir)/regress/parser/check_gentime.c \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/parse.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/regress/parser/check_gentime.c +check_gentime.i: $(srcdir)/regress/parser/check_gentime.c \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/parse.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h + $(CC) -E -o $@ $(CPPFLAGS) $< +check_gentime.plog: check_gentime.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/regress/parser/check_gentime.c --i-file $< --output-file $@ +check_iolog_plugin.o: $(srcdir)/regress/iolog_plugin/check_iolog_plugin.c \ + $(devdir)/def_data.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_iolog.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/regress/iolog_plugin/check_iolog_plugin.c +check_iolog_plugin.i: $(srcdir)/regress/iolog_plugin/check_iolog_plugin.c \ + $(devdir)/def_data.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_iolog.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +check_iolog_plugin.plog: check_iolog_plugin.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/regress/iolog_plugin/check_iolog_plugin.c --i-file $< --output-file $@ +check_serialize_list.lo: \ + $(srcdir)/regress/serialize_list/check_serialize_list.c \ + $(devdir)/def_data.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/regress/serialize_list/check_serialize_list.c +check_serialize_list.i: \ + $(srcdir)/regress/serialize_list/check_serialize_list.c \ + $(devdir)/def_data.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +check_serialize_list.plog: check_serialize_list.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/regress/serialize_list/check_serialize_list.c --i-file $< --output-file $@ +check_starttime.o: $(srcdir)/regress/starttime/check_starttime.c \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_util.h $(srcdir)/check.h \ + $(top_builddir)/config.h + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/regress/starttime/check_starttime.c +check_starttime.i: $(srcdir)/regress/starttime/check_starttime.c \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_util.h $(srcdir)/check.h \ + $(top_builddir)/config.h + $(CC) -E -o $@ $(CPPFLAGS) $< +check_starttime.plog: check_starttime.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/regress/starttime/check_starttime.c --i-file $< --output-file $@ +check_symbols.o: $(srcdir)/regress/check_symbols/check_symbols.c \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_dso.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_util.h \ + $(top_builddir)/config.h + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/regress/check_symbols/check_symbols.c +check_symbols.i: $(srcdir)/regress/check_symbols/check_symbols.c \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_dso.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_util.h \ + $(top_builddir)/config.h + $(CC) -E -o $@ $(CPPFLAGS) $< +check_symbols.plog: check_symbols.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/regress/check_symbols/check_symbols.c --i-file $< --output-file $@ +check_unesc.o: $(srcdir)/regress/unescape/check_unesc.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/regress/unescape/check_unesc.c +check_unesc.i: $(srcdir)/regress/unescape/check_unesc.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +check_unesc.plog: check_unesc.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/regress/unescape/check_unesc.c --i-file $< --output-file $@ +cvtsudoers.o: $(srcdir)/cvtsudoers.c $(devdir)/def_data.h $(devdir)/gram.h \ + $(incdir)/compat/getopt.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_lbuf.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/cvtsudoers.h $(srcdir)/defaults.h $(srcdir)/logging.h \ + $(srcdir)/parse.h $(srcdir)/redblack.h $(srcdir)/strlist.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(srcdir)/sudoers_version.h \ + $(srcdir)/tsgetgrpw.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/cvtsudoers.c +cvtsudoers.i: $(srcdir)/cvtsudoers.c $(devdir)/def_data.h $(devdir)/gram.h \ + $(incdir)/compat/getopt.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_lbuf.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/cvtsudoers.h $(srcdir)/defaults.h $(srcdir)/logging.h \ + $(srcdir)/parse.h $(srcdir)/redblack.h $(srcdir)/strlist.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(srcdir)/sudoers_version.h \ + $(srcdir)/tsgetgrpw.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +cvtsudoers.plog: cvtsudoers.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/cvtsudoers.c --i-file $< --output-file $@ +cvtsudoers_csv.o: $(srcdir)/cvtsudoers_csv.c $(devdir)/def_data.h \ + $(devdir)/gram.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/cvtsudoers.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/strlist.h $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/cvtsudoers_csv.c +cvtsudoers_csv.i: $(srcdir)/cvtsudoers_csv.c $(devdir)/def_data.h \ + $(devdir)/gram.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/cvtsudoers.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/strlist.h $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +cvtsudoers_csv.plog: cvtsudoers_csv.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/cvtsudoers_csv.c --i-file $< --output-file $@ +cvtsudoers_json.o: $(srcdir)/cvtsudoers_json.c $(devdir)/def_data.h \ + $(devdir)/gram.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_json.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/cvtsudoers.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/strlist.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/cvtsudoers_json.c +cvtsudoers_json.i: $(srcdir)/cvtsudoers_json.c $(devdir)/def_data.h \ + $(devdir)/gram.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_json.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/cvtsudoers.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/strlist.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +cvtsudoers_json.plog: cvtsudoers_json.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/cvtsudoers_json.c --i-file $< --output-file $@ +cvtsudoers_ldif.o: $(srcdir)/cvtsudoers_ldif.c $(devdir)/def_data.h \ + $(devdir)/gram.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_lbuf.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/cvtsudoers.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/redblack.h \ + $(srcdir)/strlist.h $(srcdir)/sudo_ldap.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/cvtsudoers_ldif.c +cvtsudoers_ldif.i: $(srcdir)/cvtsudoers_ldif.c $(devdir)/def_data.h \ + $(devdir)/gram.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_lbuf.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/cvtsudoers.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/redblack.h \ + $(srcdir)/strlist.h $(srcdir)/sudo_ldap.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +cvtsudoers_ldif.plog: cvtsudoers_ldif.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/cvtsudoers_ldif.c --i-file $< --output-file $@ +cvtsudoers_merge.o: $(srcdir)/cvtsudoers_merge.c $(devdir)/def_data.h \ + $(devdir)/gram.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/cvtsudoers.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/redblack.h $(srcdir)/strlist.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/cvtsudoers_merge.c +cvtsudoers_merge.i: $(srcdir)/cvtsudoers_merge.c $(devdir)/def_data.h \ + $(devdir)/gram.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/cvtsudoers.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/redblack.h $(srcdir)/strlist.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +cvtsudoers_merge.plog: cvtsudoers_merge.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/cvtsudoers_merge.c --i-file $< --output-file $@ +cvtsudoers_pwutil.o: $(srcdir)/cvtsudoers_pwutil.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/cvtsudoers.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/pwutil.h \ + $(srcdir)/strlist.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/cvtsudoers_pwutil.c +cvtsudoers_pwutil.i: $(srcdir)/cvtsudoers_pwutil.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/cvtsudoers.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/pwutil.h \ + $(srcdir)/strlist.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +cvtsudoers_pwutil.plog: cvtsudoers_pwutil.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/cvtsudoers_pwutil.c --i-file $< --output-file $@ +dce.lo: $(authdir)/dce.c $(authdir)/sudo_auth.h $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/check.h $(srcdir)/defaults.h $(srcdir)/logging.h \ + $(srcdir)/parse.h $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(authdir)/dce.c +dce.i: $(authdir)/dce.c $(authdir)/sudo_auth.h $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/check.h $(srcdir)/defaults.h $(srcdir)/logging.h \ + $(srcdir)/parse.h $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +dce.plog: dce.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(authdir)/dce.c --i-file $< --output-file $@ +defaults.lo: $(srcdir)/defaults.c $(devdir)/def_data.c $(devdir)/def_data.h \ + $(devdir)/gram.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_iolog.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/defaults.c +defaults.i: $(srcdir)/defaults.c $(devdir)/def_data.c $(devdir)/def_data.h \ + $(devdir)/gram.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_iolog.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +defaults.plog: defaults.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/defaults.c --i-file $< --output-file $@ +digestname.lo: $(srcdir)/digestname.c $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_digest.h $(incdir)/sudo_queue.h \ + $(srcdir)/parse.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/digestname.c +digestname.i: $(srcdir)/digestname.c $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_digest.h $(incdir)/sudo_queue.h \ + $(srcdir)/parse.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h + $(CC) -E -o $@ $(CPPFLAGS) $< +digestname.plog: digestname.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/digestname.c --i-file $< --output-file $@ +editor.lo: $(srcdir)/editor.c $(devdir)/def_data.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/defaults.h $(srcdir)/logging.h \ + $(srcdir)/parse.h $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/editor.c +editor.i: $(srcdir)/editor.c $(devdir)/def_data.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/defaults.h $(srcdir)/logging.h \ + $(srcdir)/parse.h $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +editor.plog: editor.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/editor.c --i-file $< --output-file $@ +env.lo: $(srcdir)/env.c $(devdir)/def_data.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/env.c +env.i: $(srcdir)/env.c $(devdir)/def_data.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +env.plog: env.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/env.c --i-file $< --output-file $@ +env_pattern.lo: $(srcdir)/env_pattern.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/env_pattern.c +env_pattern.i: $(srcdir)/env_pattern.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +env_pattern.plog: env_pattern.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/env_pattern.c --i-file $< --output-file $@ +exptilde.lo: $(srcdir)/exptilde.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/pwutil.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/exptilde.c +exptilde.i: $(srcdir)/exptilde.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/pwutil.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +exptilde.plog: exptilde.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/exptilde.c --i-file $< --output-file $@ +file.lo: $(srcdir)/file.c $(devdir)/def_data.h $(devdir)/gram.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_lbuf.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/file.c +file.i: $(srcdir)/file.c $(devdir)/def_data.h $(devdir)/gram.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_lbuf.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +file.plog: file.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/file.c --i-file $< --output-file $@ +filedigest.lo: $(srcdir)/filedigest.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_digest.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/defaults.h $(srcdir)/logging.h \ + $(srcdir)/parse.h $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/filedigest.c +filedigest.i: $(srcdir)/filedigest.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_digest.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/defaults.h $(srcdir)/logging.h \ + $(srcdir)/parse.h $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +filedigest.plog: filedigest.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/filedigest.c --i-file $< --output-file $@ +find_path.lo: $(srcdir)/find_path.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/find_path.c +find_path.i: $(srcdir)/find_path.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +find_path.plog: find_path.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/find_path.c --i-file $< --output-file $@ +fmtsudoers.lo: $(srcdir)/fmtsudoers.c $(devdir)/def_data.h $(devdir)/gram.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_lbuf.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/defaults.h $(srcdir)/logging.h \ + $(srcdir)/parse.h $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/fmtsudoers.c +fmtsudoers.i: $(srcdir)/fmtsudoers.c $(devdir)/def_data.h $(devdir)/gram.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_lbuf.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/defaults.h $(srcdir)/logging.h \ + $(srcdir)/parse.h $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +fmtsudoers.plog: fmtsudoers.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/fmtsudoers.c --i-file $< --output-file $@ +fmtsudoers_cvt.lo: $(srcdir)/fmtsudoers_cvt.c $(devdir)/def_data.h \ + $(devdir)/gram.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_lbuf.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/fmtsudoers_cvt.c +fmtsudoers_cvt.i: $(srcdir)/fmtsudoers_cvt.c $(devdir)/def_data.h \ + $(devdir)/gram.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_lbuf.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +fmtsudoers_cvt.plog: fmtsudoers_cvt.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/fmtsudoers_cvt.c --i-file $< --output-file $@ +fuzz_policy.o: $(srcdir)/regress/fuzz/fuzz_policy.c $(devdir)/def_data.h \ + $(incdir)/compat/getaddrinfo.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_iolog.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/check.h \ + $(srcdir)/defaults.h $(srcdir)/interfaces.h $(srcdir)/logging.h \ + $(srcdir)/parse.h $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/regress/fuzz/fuzz_policy.c +fuzz_policy.i: $(srcdir)/regress/fuzz/fuzz_policy.c $(devdir)/def_data.h \ + $(incdir)/compat/getaddrinfo.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_iolog.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/check.h \ + $(srcdir)/defaults.h $(srcdir)/interfaces.h $(srcdir)/logging.h \ + $(srcdir)/parse.h $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +fuzz_policy.plog: fuzz_policy.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/regress/fuzz/fuzz_policy.c --i-file $< --output-file $@ +fuzz_stubs.o: $(srcdir)/regress/fuzz/fuzz_stubs.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/interfaces.h $(srcdir)/logging.h \ + $(srcdir)/parse.h $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/regress/fuzz/fuzz_stubs.c +fuzz_stubs.i: $(srcdir)/regress/fuzz/fuzz_stubs.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/interfaces.h $(srcdir)/logging.h \ + $(srcdir)/parse.h $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +fuzz_stubs.plog: fuzz_stubs.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/regress/fuzz/fuzz_stubs.c --i-file $< --output-file $@ +fuzz_sudoers.o: $(srcdir)/regress/fuzz/fuzz_sudoers.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/interfaces.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/regress/fuzz/fuzz_sudoers.c +fuzz_sudoers.i: $(srcdir)/regress/fuzz/fuzz_sudoers.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/interfaces.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +fuzz_sudoers.plog: fuzz_sudoers.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/regress/fuzz/fuzz_sudoers.c --i-file $< --output-file $@ +fuzz_sudoers_ldif.o: $(srcdir)/regress/fuzz/fuzz_sudoers_ldif.c \ + $(devdir)/def_data.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/regress/fuzz/fuzz_sudoers_ldif.c +fuzz_sudoers_ldif.i: $(srcdir)/regress/fuzz/fuzz_sudoers_ldif.c \ + $(devdir)/def_data.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +fuzz_sudoers_ldif.plog: fuzz_sudoers_ldif.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/regress/fuzz/fuzz_sudoers_ldif.c --i-file $< --output-file $@ +fwtk.lo: $(authdir)/fwtk.c $(authdir)/sudo_auth.h $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(authdir)/fwtk.c +fwtk.i: $(authdir)/fwtk.c $(authdir)/sudo_auth.h $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +fwtk.plog: fwtk.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(authdir)/fwtk.c --i-file $< --output-file $@ +gc.lo: $(srcdir)/gc.c $(devdir)/def_data.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/defaults.h $(srcdir)/logging.h \ + $(srcdir)/parse.h $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/gc.c +gc.i: $(srcdir)/gc.c $(devdir)/def_data.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/defaults.h $(srcdir)/logging.h \ + $(srcdir)/parse.h $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +gc.plog: gc.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/gc.c --i-file $< --output-file $@ +gentime.lo: $(srcdir)/gentime.c $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_queue.h $(srcdir)/parse.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/gentime.c +gentime.i: $(srcdir)/gentime.c $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_queue.h $(srcdir)/parse.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h + $(CC) -E -o $@ $(CPPFLAGS) $< +gentime.plog: gentime.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/gentime.c --i-file $< --output-file $@ +getdate.o: $(devdir)/getdate.c $(incdir)/sudo_compat.h $(top_builddir)/config.h + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(devdir)/getdate.c +getdate.i: $(devdir)/getdate.c $(incdir)/sudo_compat.h $(top_builddir)/config.h + $(CC) -E -o $@ $(CPPFLAGS) $< +getdate.plog: getdate.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(devdir)/getdate.c --i-file $< --output-file $@ +getspwuid.lo: $(srcdir)/getspwuid.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/getspwuid.c +getspwuid.i: $(srcdir)/getspwuid.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +getspwuid.plog: getspwuid.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/getspwuid.c --i-file $< --output-file $@ +goodpath.lo: $(srcdir)/goodpath.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/goodpath.c +goodpath.i: $(srcdir)/goodpath.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +goodpath.plog: goodpath.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/goodpath.c --i-file $< --output-file $@ +gram.lo: $(devdir)/gram.c $(devdir)/def_data.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_digest.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(srcdir)/toke.h $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(devdir)/gram.c +gram.i: $(devdir)/gram.c $(devdir)/def_data.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_digest.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(srcdir)/toke.h $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +gram.plog: gram.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(devdir)/gram.c --i-file $< --output-file $@ +group_plugin.lo: $(srcdir)/group_plugin.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_dso.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/group_plugin.c +group_plugin.i: $(srcdir)/group_plugin.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_dso.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +group_plugin.plog: group_plugin.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/group_plugin.c --i-file $< --output-file $@ +interfaces.lo: $(srcdir)/interfaces.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/interfaces.h $(srcdir)/logging.h \ + $(srcdir)/parse.h $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/interfaces.c +interfaces.i: $(srcdir)/interfaces.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/interfaces.h $(srcdir)/logging.h \ + $(srcdir)/parse.h $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +interfaces.plog: interfaces.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/interfaces.c --i-file $< --output-file $@ +iolog.lo: $(srcdir)/iolog.c $(devdir)/def_data.h $(incdir)/compat/stdbool.h \ + $(incdir)/log_server.pb-c.h $(incdir)/protobuf-c/protobuf-c.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_iolog.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/log_client.h $(srcdir)/logging.h \ + $(srcdir)/parse.h $(srcdir)/strlist.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/iolog.c +iolog.i: $(srcdir)/iolog.c $(devdir)/def_data.h $(incdir)/compat/stdbool.h \ + $(incdir)/log_server.pb-c.h $(incdir)/protobuf-c/protobuf-c.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_iolog.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/log_client.h $(srcdir)/logging.h \ + $(srcdir)/parse.h $(srcdir)/strlist.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +iolog.plog: iolog.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/iolog.c --i-file $< --output-file $@ +iolog_path_escapes.lo: $(srcdir)/iolog_path_escapes.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_iolog.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/iolog_path_escapes.c +iolog_path_escapes.i: $(srcdir)/iolog_path_escapes.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_iolog.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +iolog_path_escapes.plog: iolog_path_escapes.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/iolog_path_escapes.c --i-file $< --output-file $@ +kerb5.lo: $(authdir)/kerb5.c $(authdir)/sudo_auth.h $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(authdir)/kerb5.c +kerb5.i: $(authdir)/kerb5.c $(authdir)/sudo_auth.h $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +kerb5.plog: kerb5.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(authdir)/kerb5.c --i-file $< --output-file $@ +ldap.lo: $(srcdir)/ldap.c $(devdir)/def_data.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_dso.h $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_lbuf.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_ldap.h $(srcdir)/sudo_ldap_conf.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/ldap.c +ldap.i: $(srcdir)/ldap.c $(devdir)/def_data.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_dso.h $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_lbuf.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_ldap.h $(srcdir)/sudo_ldap_conf.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +ldap.plog: ldap.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/ldap.c --i-file $< --output-file $@ +ldap_conf.lo: $(srcdir)/ldap_conf.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_lbuf.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/defaults.h $(srcdir)/logging.h \ + $(srcdir)/parse.h $(srcdir)/sudo_ldap.h \ + $(srcdir)/sudo_ldap_conf.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/ldap_conf.c +ldap_conf.i: $(srcdir)/ldap_conf.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_lbuf.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/defaults.h $(srcdir)/logging.h \ + $(srcdir)/parse.h $(srcdir)/sudo_ldap.h \ + $(srcdir)/sudo_ldap_conf.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +ldap_conf.plog: ldap_conf.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/ldap_conf.c --i-file $< --output-file $@ +ldap_util.lo: $(srcdir)/ldap_util.c $(devdir)/def_data.h $(devdir)/gram.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_digest.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_lbuf.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/interfaces.h $(srcdir)/logging.h \ + $(srcdir)/parse.h $(srcdir)/sudo_ldap.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/ldap_util.c +ldap_util.i: $(srcdir)/ldap_util.c $(devdir)/def_data.h $(devdir)/gram.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_digest.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_lbuf.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/interfaces.h $(srcdir)/logging.h \ + $(srcdir)/parse.h $(srcdir)/sudo_ldap.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +ldap_util.plog: ldap_util.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/ldap_util.c --i-file $< --output-file $@ +linux_audit.lo: $(srcdir)/linux_audit.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/linux_audit.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/linux_audit.c +linux_audit.i: $(srcdir)/linux_audit.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/linux_audit.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +linux_audit.plog: linux_audit.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/linux_audit.c --i-file $< --output-file $@ +locale.lo: $(srcdir)/locale.c $(devdir)/def_data.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(srcdir)/defaults.h $(srcdir)/logging.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/locale.c +locale.i: $(srcdir)/locale.c $(devdir)/def_data.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(srcdir)/defaults.h $(srcdir)/logging.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h + $(CC) -E -o $@ $(CPPFLAGS) $< +locale.plog: locale.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/locale.c --i-file $< --output-file $@ +log_client.lo: $(srcdir)/log_client.c $(devdir)/def_data.h \ + $(incdir)/compat/getaddrinfo.h $(incdir)/compat/stdbool.h \ + $(incdir)/hostcheck.h $(incdir)/log_server.pb-c.h \ + $(incdir)/protobuf-c/protobuf-c.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_event.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_iolog.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/log_client.h $(srcdir)/logging.h \ + $(srcdir)/parse.h $(srcdir)/strlist.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/log_client.c +log_client.i: $(srcdir)/log_client.c $(devdir)/def_data.h \ + $(incdir)/compat/getaddrinfo.h $(incdir)/compat/stdbool.h \ + $(incdir)/hostcheck.h $(incdir)/log_server.pb-c.h \ + $(incdir)/protobuf-c/protobuf-c.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_event.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_iolog.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/log_client.h $(srcdir)/logging.h \ + $(srcdir)/parse.h $(srcdir)/strlist.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +log_client.plog: log_client.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/log_client.c --i-file $< --output-file $@ +logging.lo: $(srcdir)/logging.c $(devdir)/def_data.h \ + $(incdir)/compat/getaddrinfo.h $(incdir)/compat/stdbool.h \ + $(incdir)/log_server.pb-c.h $(incdir)/protobuf-c/protobuf-c.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/defaults.h $(srcdir)/log_client.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/strlist.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/logging.c +logging.i: $(srcdir)/logging.c $(devdir)/def_data.h \ + $(incdir)/compat/getaddrinfo.h $(incdir)/compat/stdbool.h \ + $(incdir)/log_server.pb-c.h $(incdir)/protobuf-c/protobuf-c.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/defaults.h $(srcdir)/log_client.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/strlist.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +logging.plog: logging.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/logging.c --i-file $< --output-file $@ +match.lo: $(srcdir)/match.c $(devdir)/def_data.h $(devdir)/gram.h \ + $(incdir)/compat/fnmatch.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/match.c +match.i: $(srcdir)/match.c $(devdir)/def_data.h $(devdir)/gram.h \ + $(incdir)/compat/fnmatch.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +match.plog: match.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/match.c --i-file $< --output-file $@ +match_addr.lo: $(srcdir)/match_addr.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/interfaces.h $(srcdir)/logging.h \ + $(srcdir)/parse.h $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/match_addr.c +match_addr.i: $(srcdir)/match_addr.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/interfaces.h $(srcdir)/logging.h \ + $(srcdir)/parse.h $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +match_addr.plog: match_addr.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/match_addr.c --i-file $< --output-file $@ +match_command.lo: $(srcdir)/match_command.c $(devdir)/def_data.h \ + $(devdir)/gram.h $(incdir)/compat/fnmatch.h \ + $(incdir)/compat/glob.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/match_command.c +match_command.i: $(srcdir)/match_command.c $(devdir)/def_data.h \ + $(devdir)/gram.h $(incdir)/compat/fnmatch.h \ + $(incdir)/compat/glob.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +match_command.plog: match_command.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/match_command.c --i-file $< --output-file $@ +match_digest.lo: $(srcdir)/match_digest.c $(devdir)/def_data.h \ + $(devdir)/gram.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_digest.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/match_digest.c +match_digest.i: $(srcdir)/match_digest.c $(devdir)/def_data.h \ + $(devdir)/gram.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_digest.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +match_digest.plog: match_digest.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/match_digest.c --i-file $< --output-file $@ +net_ifs.o: $(top_srcdir)/src/net_ifs.c $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_event.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h $(top_srcdir)/src/sudo.h + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(top_srcdir)/src/net_ifs.c +net_ifs.i: $(top_srcdir)/src/net_ifs.c $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_event.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h $(top_srcdir)/src/sudo.h + $(CC) -E -o $@ $(CPPFLAGS) $< +net_ifs.plog: net_ifs.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(top_srcdir)/src/net_ifs.c --i-file $< --output-file $@ +pam.lo: $(authdir)/pam.c $(authdir)/sudo_auth.h $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(authdir)/pam.c +pam.i: $(authdir)/pam.c $(authdir)/sudo_auth.h $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +pam.plog: pam.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(authdir)/pam.c --i-file $< --output-file $@ +parse.lo: $(srcdir)/parse.c $(devdir)/def_data.h $(devdir)/gram.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_lbuf.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/parse.c +parse.i: $(srcdir)/parse.c $(devdir)/def_data.h $(devdir)/gram.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_lbuf.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +parse.plog: parse.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/parse.c --i-file $< --output-file $@ +parse_ldif.o: $(srcdir)/parse_ldif.c $(devdir)/def_data.h $(devdir)/gram.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/redblack.h $(srcdir)/strlist.h $(srcdir)/sudo_ldap.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/parse_ldif.c +parse_ldif.i: $(srcdir)/parse_ldif.c $(devdir)/def_data.h $(devdir)/gram.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/redblack.h $(srcdir)/strlist.h $(srcdir)/sudo_ldap.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +parse_ldif.plog: parse_ldif.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/parse_ldif.c --i-file $< --output-file $@ +passwd.lo: $(authdir)/passwd.c $(authdir)/sudo_auth.h $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(authdir)/passwd.c +passwd.i: $(authdir)/passwd.c $(authdir)/sudo_auth.h $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +passwd.plog: passwd.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(authdir)/passwd.c --i-file $< --output-file $@ +policy.lo: $(srcdir)/policy.c $(devdir)/def_data.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/defaults.h $(srcdir)/interfaces.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(srcdir)/sudoers_version.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/policy.c +policy.i: $(srcdir)/policy.c $(devdir)/def_data.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/defaults.h $(srcdir)/interfaces.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(srcdir)/sudoers_version.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +policy.plog: policy.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/policy.c --i-file $< --output-file $@ +prompt.lo: $(srcdir)/prompt.c $(devdir)/def_data.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/defaults.h $(srcdir)/logging.h \ + $(srcdir)/parse.h $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/prompt.c +prompt.i: $(srcdir)/prompt.c $(devdir)/def_data.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/defaults.h $(srcdir)/logging.h \ + $(srcdir)/parse.h $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +prompt.plog: prompt.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/prompt.c --i-file $< --output-file $@ +pwutil.lo: $(srcdir)/pwutil.c $(devdir)/def_data.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/defaults.h $(srcdir)/logging.h \ + $(srcdir)/parse.h $(srcdir)/pwutil.h $(srcdir)/redblack.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/pwutil.c +pwutil.i: $(srcdir)/pwutil.c $(devdir)/def_data.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/defaults.h $(srcdir)/logging.h \ + $(srcdir)/parse.h $(srcdir)/pwutil.h $(srcdir)/redblack.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +pwutil.plog: pwutil.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/pwutil.c --i-file $< --output-file $@ +pwutil_impl.lo: $(srcdir)/pwutil_impl.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/pwutil.h $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/pwutil_impl.c +pwutil_impl.i: $(srcdir)/pwutil_impl.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/pwutil.h $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +pwutil_impl.plog: pwutil_impl.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/pwutil_impl.c --i-file $< --output-file $@ +redblack.lo: $(srcdir)/redblack.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/redblack.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/redblack.c +redblack.i: $(srcdir)/redblack.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/redblack.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +redblack.plog: redblack.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/redblack.c --i-file $< --output-file $@ +rfc1938.lo: $(authdir)/rfc1938.c $(authdir)/sudo_auth.h $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(authdir)/rfc1938.c +rfc1938.i: $(authdir)/rfc1938.c $(authdir)/sudo_auth.h $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +rfc1938.plog: rfc1938.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(authdir)/rfc1938.c --i-file $< --output-file $@ +secureware.lo: $(authdir)/secureware.c $(authdir)/sudo_auth.h \ + $(devdir)/def_data.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/defaults.h $(srcdir)/logging.h \ + $(srcdir)/parse.h $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(authdir)/secureware.c +secureware.i: $(authdir)/secureware.c $(authdir)/sudo_auth.h \ + $(devdir)/def_data.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/defaults.h $(srcdir)/logging.h \ + $(srcdir)/parse.h $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +secureware.plog: secureware.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(authdir)/secureware.c --i-file $< --output-file $@ +securid5.lo: $(authdir)/securid5.c $(authdir)/sudo_auth.h $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(authdir)/securid5.c +securid5.i: $(authdir)/securid5.c $(authdir)/sudo_auth.h $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +securid5.plog: securid5.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(authdir)/securid5.c --i-file $< --output-file $@ +serialize_list.lo: $(srcdir)/serialize_list.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/serialize_list.c +serialize_list.i: $(srcdir)/serialize_list.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +serialize_list.plog: serialize_list.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/serialize_list.c --i-file $< --output-file $@ +set_perms.lo: $(srcdir)/set_perms.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/set_perms.c +set_perms.i: $(srcdir)/set_perms.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +set_perms.plog: set_perms.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/set_perms.c --i-file $< --output-file $@ +sia.lo: $(authdir)/sia.c $(authdir)/sudo_auth.h $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(authdir)/sia.c +sia.i: $(authdir)/sia.c $(authdir)/sudo_auth.h $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +sia.plog: sia.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(authdir)/sia.c --i-file $< --output-file $@ +solaris_audit.lo: $(srcdir)/solaris_audit.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/solaris_audit.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/solaris_audit.c +solaris_audit.i: $(srcdir)/solaris_audit.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/solaris_audit.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +solaris_audit.plog: solaris_audit.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/solaris_audit.c --i-file $< --output-file $@ +sssd.lo: $(srcdir)/sssd.c $(devdir)/def_data.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_dso.h $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_lbuf.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_ldap.h $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/sssd.c +sssd.i: $(srcdir)/sssd.c $(devdir)/def_data.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_dso.h $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_lbuf.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_ldap.h $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +sssd.plog: sssd.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/sssd.c --i-file $< --output-file $@ +starttime.lo: $(srcdir)/starttime.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/check.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/starttime.c +starttime.i: $(srcdir)/starttime.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/check.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +starttime.plog: starttime.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/starttime.c --i-file $< --output-file $@ +strlcpy_unesc.lo: $(srcdir)/strlcpy_unesc.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/strlcpy_unesc.c +strlcpy_unesc.i: $(srcdir)/strlcpy_unesc.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +strlcpy_unesc.plog: strlcpy_unesc.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/strlcpy_unesc.c --i-file $< --output-file $@ +strlist.lo: $(srcdir)/strlist.c $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/strlist.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/strlist.c +strlist.i: $(srcdir)/strlist.c $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/strlist.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h + $(CC) -E -o $@ $(CPPFLAGS) $< +strlist.plog: strlist.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/strlist.c --i-file $< --output-file $@ +strvec_join.lo: $(srcdir)/strvec_join.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/strvec_join.c +strvec_join.i: $(srcdir)/strvec_join.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +strvec_join.plog: strvec_join.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/strvec_join.c --i-file $< --output-file $@ +stubs.o: $(srcdir)/stubs.c $(devdir)/def_data.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/cvtsudoers.h \ + $(srcdir)/defaults.h $(srcdir)/interfaces.h $(srcdir)/logging.h \ + $(srcdir)/parse.h $(srcdir)/strlist.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/stubs.c +stubs.i: $(srcdir)/stubs.c $(devdir)/def_data.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/cvtsudoers.h \ + $(srcdir)/defaults.h $(srcdir)/interfaces.h $(srcdir)/logging.h \ + $(srcdir)/parse.h $(srcdir)/strlist.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +stubs.plog: stubs.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/stubs.c --i-file $< --output-file $@ +sudo_auth.lo: $(authdir)/sudo_auth.c $(authdir)/sudo_auth.h \ + $(devdir)/def_data.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_rand.h $(incdir)/sudo_util.h $(srcdir)/check.h \ + $(srcdir)/defaults.h $(srcdir)/ins_2001.h \ + $(srcdir)/ins_classic.h $(srcdir)/ins_csops.h \ + $(srcdir)/ins_goons.h $(srcdir)/ins_python.h $(srcdir)/insults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(authdir)/sudo_auth.c +sudo_auth.i: $(authdir)/sudo_auth.c $(authdir)/sudo_auth.h \ + $(devdir)/def_data.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_rand.h $(incdir)/sudo_util.h $(srcdir)/check.h \ + $(srcdir)/defaults.h $(srcdir)/ins_2001.h \ + $(srcdir)/ins_classic.h $(srcdir)/ins_csops.h \ + $(srcdir)/ins_goons.h $(srcdir)/ins_python.h $(srcdir)/insults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +sudo_auth.plog: sudo_auth.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(authdir)/sudo_auth.c --i-file $< --output-file $@ +sudo_nss.lo: $(srcdir)/sudo_nss.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/sudo_nss.c +sudo_nss.i: $(srcdir)/sudo_nss.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +sudo_nss.plog: sudo_nss.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/sudo_nss.c --i-file $< --output-file $@ +sudo_printf.o: $(srcdir)/sudo_printf.c $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/sudo_printf.c +sudo_printf.i: $(srcdir)/sudo_printf.c $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +sudo_printf.plog: sudo_printf.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/sudo_printf.c --i-file $< --output-file $@ +sudoers.lo: $(srcdir)/sudoers.c $(devdir)/def_data.h \ + $(incdir)/compat/getaddrinfo.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_iolog.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/auth/sudo_auth.h $(srcdir)/check.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/sudoers.c +sudoers.i: $(srcdir)/sudoers.c $(devdir)/def_data.h \ + $(incdir)/compat/getaddrinfo.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \ + $(incdir)/sudo_debug.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_iolog.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/auth/sudo_auth.h $(srcdir)/check.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +sudoers.plog: sudoers.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/sudoers.c --i-file $< --output-file $@ +sudoers_debug.lo: $(srcdir)/sudoers_debug.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/sudoers_debug.c +sudoers_debug.i: $(srcdir)/sudoers_debug.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +sudoers_debug.plog: sudoers_debug.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/sudoers_debug.c --i-file $< --output-file $@ +sudoers_hooks.lo: $(srcdir)/sudoers_hooks.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/sudoers_hooks.c +sudoers_hooks.i: $(srcdir)/sudoers_hooks.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +sudoers_hooks.plog: sudoers_hooks.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/sudoers_hooks.c --i-file $< --output-file $@ +sudoreplay.o: $(srcdir)/sudoreplay.c $(incdir)/compat/getopt.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_event.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_iolog.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/logging.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/sudoreplay.c +sudoreplay.i: $(srcdir)/sudoreplay.c $(incdir)/compat/getopt.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_event.h $(incdir)/sudo_eventlog.h \ + $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \ + $(incdir)/sudo_iolog.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/logging.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +sudoreplay.plog: sudoreplay.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/sudoreplay.c --i-file $< --output-file $@ +testsudoers.o: $(srcdir)/testsudoers.c $(devdir)/def_data.h $(devdir)/gram.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_lbuf.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/interfaces.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(srcdir)/tsgetgrpw.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/testsudoers.c +testsudoers.i: $(srcdir)/testsudoers.c $(devdir)/def_data.h $(devdir)/gram.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_lbuf.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h \ + $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/interfaces.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(srcdir)/tsgetgrpw.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +testsudoers.plog: testsudoers.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/testsudoers.c --i-file $< --output-file $@ +testsudoers_pwutil.o: $(srcdir)/testsudoers_pwutil.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h \ + $(srcdir)/parse.h $(srcdir)/pwutil.h \ + $(srcdir)/pwutil_impl.c $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(srcdir)/tsgetgrpw.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/testsudoers_pwutil.c +testsudoers_pwutil.i: $(srcdir)/testsudoers_pwutil.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h \ + $(srcdir)/parse.h $(srcdir)/pwutil.h \ + $(srcdir)/pwutil_impl.c $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(srcdir)/tsgetgrpw.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +testsudoers_pwutil.plog: testsudoers_pwutil.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/testsudoers_pwutil.c --i-file $< --output-file $@ +timeout.lo: $(srcdir)/timeout.c $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_queue.h $(srcdir)/parse.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/timeout.c +timeout.i: $(srcdir)/timeout.c $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_queue.h $(srcdir)/parse.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h + $(CC) -E -o $@ $(CPPFLAGS) $< +timeout.plog: timeout.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/timeout.c --i-file $< --output-file $@ +timestamp.lo: $(srcdir)/timestamp.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/check.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/timestamp.c +timestamp.i: $(srcdir)/timestamp.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/check.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +timestamp.plog: timestamp.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/timestamp.c --i-file $< --output-file $@ +timestr.lo: $(srcdir)/timestr.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/timestr.c +timestr.i: $(srcdir)/timestr.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +timestr.plog: timestr.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/timestr.c --i-file $< --output-file $@ +toke.lo: $(devdir)/toke.c $(devdir)/def_data.h $(devdir)/gram.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h $(incdir)/sudo_digest.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_lbuf.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(srcdir)/toke.h $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(devdir)/toke.c +toke.i: $(devdir)/toke.c $(devdir)/def_data.h $(devdir)/gram.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h $(incdir)/sudo_digest.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_lbuf.h \ + $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(srcdir)/toke.h $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +toke.plog: toke.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(devdir)/toke.c --i-file $< --output-file $@ +toke_util.lo: $(srcdir)/toke_util.c $(devdir)/def_data.h $(devdir)/gram.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(srcdir)/toke.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/toke_util.c +toke_util.i: $(srcdir)/toke_util.c $(devdir)/def_data.h $(devdir)/gram.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(srcdir)/toke.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +toke_util.plog: toke_util.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/toke_util.c --i-file $< --output-file $@ +tsdump.o: $(srcdir)/tsdump.c $(devdir)/def_data.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/check.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/tsdump.c +tsdump.i: $(srcdir)/tsdump.c $(devdir)/def_data.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/check.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +tsdump.plog: tsdump.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/tsdump.c --i-file $< --output-file $@ +tsgetgrpw.o: $(srcdir)/tsgetgrpw.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(srcdir)/tsgetgrpw.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/tsgetgrpw.c +tsgetgrpw.i: $(srcdir)/tsgetgrpw.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/logging.h $(srcdir)/parse.h $(srcdir)/sudo_nss.h \ + $(srcdir)/sudoers.h $(srcdir)/sudoers_debug.h \ + $(srcdir)/tsgetgrpw.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +tsgetgrpw.plog: tsgetgrpw.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/tsgetgrpw.c --i-file $< --output-file $@ +unesc_str.lo: $(srcdir)/unesc_str.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/unesc_str.c +unesc_str.i: $(srcdir)/unesc_str.c $(devdir)/def_data.h \ + $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \ + $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \ + $(srcdir)/defaults.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(top_builddir)/config.h \ + $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +unesc_str.plog: unesc_str.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/unesc_str.c --i-file $< --output-file $@ +visudo.o: $(srcdir)/visudo.c $(devdir)/def_data.h $(devdir)/gram.h \ + $(incdir)/compat/getopt.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/interfaces.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/redblack.h $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(srcdir)/sudoers_version.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(HARDENING_CFLAGS) $(srcdir)/visudo.c +visudo.i: $(srcdir)/visudo.c $(devdir)/def_data.h $(devdir)/gram.h \ + $(incdir)/compat/getopt.h $(incdir)/compat/stdbool.h \ + $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \ + $(incdir)/sudo_eventlog.h $(incdir)/sudo_fatal.h \ + $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \ + $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(srcdir)/defaults.h \ + $(srcdir)/interfaces.h $(srcdir)/logging.h $(srcdir)/parse.h \ + $(srcdir)/redblack.h $(srcdir)/sudo_nss.h $(srcdir)/sudoers.h \ + $(srcdir)/sudoers_debug.h $(srcdir)/sudoers_version.h \ + $(top_builddir)/config.h $(top_builddir)/pathnames.h + $(CC) -E -o $@ $(CPPFLAGS) $< +visudo.plog: visudo.i + rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/visudo.c --i-file $< --output-file $@ diff --git a/plugins/sudoers/alias.c b/plugins/sudoers/alias.c new file mode 100644 index 0000000..d435400 --- /dev/null +++ b/plugins/sudoers/alias.c @@ -0,0 +1,377 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2004-2005, 2007-2019 + * Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include +#include + +#include "sudoers.h" +#include "redblack.h" +#include + +/* + * Comparison function for the red-black tree. + * Aliases are sorted by name with the type used as a tie-breaker. + */ +static int +alias_compare(const void *v1, const void *v2) +{ + const struct alias *a1 = (const struct alias *)v1; + const struct alias *a2 = (const struct alias *)v2; + int res; + debug_decl(alias_compare, SUDOERS_DEBUG_ALIAS); + + if (a1 == NULL) + res = -1; + else if (a2 == NULL) + res = 1; + else if ((res = strcmp(a1->name, a2->name)) == 0) + res = a1->type - a2->type; + debug_return_int(res); +} + +/* + * Search the tree for an alias with the specified name and type. + * Returns a pointer to the alias structure or NULL if not found. + * Caller is responsible for calling alias_put() on the returned + * alias to mark it as unused. + */ +struct alias * +alias_get(struct sudoers_parse_tree *parse_tree, const char *name, int type) +{ + struct alias key; + struct rbnode *node; + struct alias *a = NULL; + debug_decl(alias_get, SUDOERS_DEBUG_ALIAS); + + if (parse_tree->aliases == NULL) + debug_return_ptr(NULL); + + key.name = (char *)name; + key.type = type; + if ((node = rbfind(parse_tree->aliases, &key)) != NULL) { + /* + * Check whether this alias is already in use. + * If so, we've detected a loop. If not, set the flag, + * which the caller should clear with a call to alias_put(). + */ + a = node->data; + if (a->used) { + errno = ELOOP; + debug_return_ptr(NULL); + } + a->used = true; + } else { + errno = ENOENT; + } + debug_return_ptr(a); +} + +/* + * Clear the "used" flag in an alias once the caller is done with it. + */ +void +alias_put(struct alias *a) +{ + debug_decl(alias_put, SUDOERS_DEBUG_ALIAS); + a->used = false; + debug_return; +} + +/* + * Add an alias to the aliases redblack tree. + * Note that "file" must be a reference-counted string. + * Returns true on success and false on failure, setting errno. + */ +bool +alias_add(struct sudoers_parse_tree *parse_tree, char *name, int type, + char *file, int line, int column, struct member *members) +{ + struct alias *a; + debug_decl(alias_add, SUDOERS_DEBUG_ALIAS); + + if (parse_tree->aliases == NULL) { + if ((parse_tree->aliases = alloc_aliases()) == NULL) + debug_return_bool(false); + } + + a = calloc(1, sizeof(*a)); + if (a == NULL) + debug_return_bool(false); + + /* Only set elements used by alias_compare() in case there is a dupe. */ + a->name = name; + a->type = type; + switch (rbinsert(parse_tree->aliases, a, NULL)) { + case 1: + free(a); + errno = EEXIST; + debug_return_bool(false); + case -1: + free(a); + debug_return_bool(false); + } + + /* + * It is now safe to fill in the rest of the alias. We do this last + * since it modifies "file" (adds a ref) and "members" (tailq conversion). + */ + /* a->used = false; */ + a->file = sudo_rcstr_addref(file); + a->line = line; + a->column = column; + HLTQ_TO_TAILQ(&a->members, members, entries); + debug_return_bool(true); +} + +/* + * Closure to adapt 2-arg rbapply() to 3-arg alias_apply(). + */ +struct alias_apply_closure { + struct sudoers_parse_tree *parse_tree; + int (*func)(struct sudoers_parse_tree *, struct alias *, void *); + void *cookie; +}; + +/* Adapt rbapply() to alias_apply() calling convention. */ +static int +alias_apply_func(void *v1, void *v2) +{ + struct alias *a = v1; + struct alias_apply_closure *closure = v2; + + return closure->func(closure->parse_tree, a, closure->cookie); +} + +/* + * Apply a function to each alias entry and pass in a cookie. + */ +void +alias_apply(struct sudoers_parse_tree *parse_tree, + int (*func)(struct sudoers_parse_tree *, struct alias *, void *), + void *cookie) +{ + struct alias_apply_closure closure; + debug_decl(alias_apply, SUDOERS_DEBUG_ALIAS); + + if (parse_tree->aliases != NULL) { + closure.parse_tree = parse_tree; + closure.func = func; + closure.cookie = cookie; + rbapply(parse_tree->aliases, alias_apply_func, &closure, inorder); + } + + debug_return; +} + +/* + * Returns true if there are no aliases in the parse_tree, else false. + */ +bool +no_aliases(struct sudoers_parse_tree *parse_tree) +{ + debug_decl(no_aliases, SUDOERS_DEBUG_ALIAS); + debug_return_bool(parse_tree->aliases == NULL || + rbisempty(parse_tree->aliases)); +} + +/* + * Free memory used by an alias struct and its members. + */ +void +alias_free(void *v) +{ + struct alias *a = (struct alias *)v; + debug_decl(alias_free, SUDOERS_DEBUG_ALIAS); + + if (a != NULL) { + free(a->name); + sudo_rcstr_delref(a->file); + free_members(&a->members); + free(a); + } + + debug_return; +} + +/* + * Find the named alias, remove it from the tree and return it. + */ +struct alias * +alias_remove(struct sudoers_parse_tree *parse_tree, const char *name, int type) +{ + struct rbnode *node; + struct alias key; + debug_decl(alias_remove, SUDOERS_DEBUG_ALIAS); + + if (parse_tree->aliases != NULL) { + key.name = (char *)name; + key.type = type; + if ((node = rbfind(parse_tree->aliases, &key)) != NULL) + debug_return_ptr(rbdelete(parse_tree->aliases, node)); + } + errno = ENOENT; + debug_return_ptr(NULL); +} + +struct rbtree * +alloc_aliases(void) +{ + debug_decl(alloc_aliases, SUDOERS_DEBUG_ALIAS); + + debug_return_ptr(rbcreate(alias_compare)); +} + +void +free_aliases(struct rbtree *aliases) +{ + debug_decl(free_aliases, SUDOERS_DEBUG_ALIAS); + + if (aliases != NULL) + rbdestroy(aliases, alias_free); +} + +const char * +alias_type_to_string(int alias_type) +{ + return alias_type == HOSTALIAS ? "Host_Alias" : + alias_type == CMNDALIAS ? "Cmnd_Alias" : + alias_type == USERALIAS ? "User_Alias" : + alias_type == RUNASALIAS ? "Runas_Alias" : + "Invalid_Alias"; +} + +/* + * Remove the alias of the specified type as well as any other aliases + * referenced by that alias. Stores removed aliases in a freelist. + */ +static bool +alias_remove_recursive(struct sudoers_parse_tree *parse_tree, char *name, + int type, struct rbtree *freelist) +{ + struct member *m; + struct alias *a; + bool ret = true; + debug_decl(alias_remove_recursive, SUDOERS_DEBUG_ALIAS); + + if ((a = alias_remove(parse_tree, name, type)) != NULL) { + TAILQ_FOREACH(m, &a->members, entries) { + if (m->type == ALIAS) { + if (!alias_remove_recursive(parse_tree, m->name, type, freelist)) + ret = false; + } + } + if (rbinsert(freelist, a, NULL) != 0) + ret = false; + } + debug_return_bool(ret); +} + +static int +alias_find_used_members(struct sudoers_parse_tree *parse_tree, + struct member_list *members, int atype, struct rbtree *used_aliases) +{ + struct member *m; + int errors = 0; + debug_decl(alias_find_used_members, SUDOERS_DEBUG_ALIAS); + + if (members != NULL) { + TAILQ_FOREACH(m, members, entries) { + if (m->type != ALIAS) + continue; + if (!alias_remove_recursive(parse_tree, m->name, atype, used_aliases)) + errors++; + } + } + + debug_return_int(errors); +} + +/* + * Move all aliases referenced by userspecs to used_aliases. + */ +bool +alias_find_used(struct sudoers_parse_tree *parse_tree, struct rbtree *used_aliases) +{ + struct privilege *priv; + struct userspec *us; + struct cmndspec *cs; + struct defaults *d; + struct member *m; + int errors = 0; + debug_decl(alias_find_used, SUDOERS_DEBUG_ALIAS); + + /* Move referenced aliases to used_aliases. */ + TAILQ_FOREACH(us, &parse_tree->userspecs, entries) { + errors += alias_find_used_members(parse_tree, &us->users, + USERALIAS, used_aliases); + TAILQ_FOREACH(priv, &us->privileges, entries) { + errors += alias_find_used_members(parse_tree, &priv->hostlist, + HOSTALIAS, used_aliases); + TAILQ_FOREACH(cs, &priv->cmndlist, entries) { + errors += alias_find_used_members(parse_tree, cs->runasuserlist, + RUNASALIAS, used_aliases); + errors += alias_find_used_members(parse_tree, cs->runasgrouplist, + RUNASALIAS, used_aliases); + if ((m = cs->cmnd)->type == ALIAS) { + if (!alias_remove_recursive(parse_tree, m->name, CMNDALIAS, + used_aliases)) + errors++; + } + } + } + } + TAILQ_FOREACH(d, &parse_tree->defaults, entries) { + switch (d->type) { + case DEFAULTS_HOST: + errors += alias_find_used_members(parse_tree, + &d->binding->members, HOSTALIAS, used_aliases); + break; + case DEFAULTS_USER: + errors += alias_find_used_members(parse_tree, + &d->binding->members, USERALIAS, used_aliases); + break; + case DEFAULTS_RUNAS: + errors += alias_find_used_members(parse_tree, + &d->binding->members, RUNASALIAS, used_aliases); + break; + case DEFAULTS_CMND: + errors += alias_find_used_members(parse_tree, + &d->binding->members, CMNDALIAS, used_aliases); + break; + default: + break; + } + } + + debug_return_int(errors ? false : true); +} diff --git a/plugins/sudoers/audit.c b/plugins/sudoers/audit.c new file mode 100644 index 0000000..5a03bfe --- /dev/null +++ b/plugins/sudoers/audit.c @@ -0,0 +1,472 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2009-2015, 2019-2020 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include +#include +#include + +#include "sudoers.h" +#ifdef SUDOERS_LOG_CLIENT +# include "log_client.h" +#endif + +#ifdef HAVE_BSM_AUDIT +# include "bsm_audit.h" +#endif +#ifdef HAVE_LINUX_AUDIT +# include "linux_audit.h" +#endif +#ifdef HAVE_SOLARIS_AUDIT +# include "solaris_audit.h" +#endif + +#ifdef SUDOERS_LOG_CLIENT +static struct log_details audit_details; +#endif +char *audit_msg = NULL; + +/* sudoers_audit is declared at the end of this file. */ +extern sudo_dso_public struct audit_plugin sudoers_audit; + +static int +audit_success(char *const argv[]) +{ + int rc = 0; + debug_decl(audit_success, SUDOERS_DEBUG_AUDIT); + + if (argv != NULL) { +#ifdef HAVE_BSM_AUDIT + if (bsm_audit_success(argv) == -1) + rc = -1; +#endif +#ifdef HAVE_LINUX_AUDIT + if (linux_audit_command(argv, 1) == -1) + rc = -1; +#endif +#ifdef HAVE_SOLARIS_AUDIT + if (solaris_audit_success(argv) == -1) + rc = -1; +#endif + } + + debug_return_int(rc); +} + +static int +audit_failure_int(char *const argv[], const char *message) +{ + int ret = 0; + debug_decl(audit_failure_int, SUDOERS_DEBUG_AUDIT); + +#if defined(HAVE_BSM_AUDIT) || defined(HAVE_LINUX_AUDIT) + if (def_log_denied && argv != NULL) { +#ifdef HAVE_BSM_AUDIT + if (bsm_audit_failure(argv, message) == -1) + ret = -1; +#endif +#ifdef HAVE_LINUX_AUDIT + if (linux_audit_command(argv, 0) == -1) + ret = -1; +#endif +#ifdef HAVE_SOLARIS_AUDIT + if (solaris_audit_failure(argv, message) == -1) + ret = -1; +#endif + } +#endif /* HAVE_BSM_AUDIT || HAVE_LINUX_AUDIT */ + + debug_return_int(ret); +} + +int +vaudit_failure(char *const argv[], char const *const fmt, va_list ap) +{ + int oldlocale, ret; + char *message; + debug_decl(vaudit_failure, SUDOERS_DEBUG_AUDIT); + + /* Audit messages should be in the sudoers locale. */ + sudoers_setlocale(SUDOERS_LOCALE_SUDOERS, &oldlocale); + + if ((ret = vasprintf(&message, _(fmt), ap)) == -1) + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + + if (ret != -1) { + /* Set audit_msg for audit plugins. */ + free(audit_msg); + audit_msg = message; + + ret = audit_failure_int(argv, audit_msg); + } + + sudoers_setlocale(oldlocale, NULL); + + debug_return_int(ret); +} + +int +audit_failure(char *const argv[], char const *const fmt, ...) +{ + va_list ap; + int ret; + debug_decl(audit_failure, SUDOERS_DEBUG_AUDIT); + + va_start(ap, fmt); + ret = vaudit_failure(argv, fmt, ap); + va_end(ap); + + debug_return_int(ret); +} + +static int +sudoers_audit_open(unsigned int version, sudo_conv_t conversation, + sudo_printf_t plugin_printf, char * const settings[], + char * const user_info[], int submit_optind, char * const submit_argv[], + char * const submit_envp[], char * const plugin_options[], + const char **errstr) +{ + struct sudo_conf_debug_file_list debug_files = TAILQ_HEAD_INITIALIZER(debug_files); + struct sudoers_open_info info; + const char *cp, *plugin_path = NULL; + char * const *cur; + int ret; + debug_decl(sudoers_audit_open, SUDOERS_DEBUG_PLUGIN); + + sudo_conv = conversation; + sudo_printf = plugin_printf; + if (sudoers_audit.event_alloc != NULL) + plugin_event_alloc = sudoers_audit.event_alloc; + + bindtextdomain("sudoers", LOCALEDIR); + + /* Initialize the debug subsystem. */ + for (cur = settings; (cp = *cur) != NULL; cur++) { + if (strncmp(cp, "debug_flags=", sizeof("debug_flags=") - 1) == 0) { + cp += sizeof("debug_flags=") - 1; + if (!sudoers_debug_parse_flags(&debug_files, cp)) + debug_return_int(-1); + continue; + } + if (strncmp(cp, "plugin_path=", sizeof("plugin_path=") - 1) == 0) { + plugin_path = cp + sizeof("plugin_path=") - 1; + continue; + } + } + if (!sudoers_debug_register(plugin_path, &debug_files)) + debug_return_int(-1); + + /* Call the sudoers init function. */ + info.settings = settings; + info.user_info = user_info; + info.plugin_args = plugin_options; + ret = sudoers_init(&info, log_parse_error, submit_envp); + + if (ret == true) { + /* Unset close function if we don't need it to avoid extra process. */ +#ifdef SUDOERS_LOG_CLIENT + if (client_closure == NULL) +#endif + sudoers_audit.close = NULL; + } else { + /* The audit functions set audit_msg on failure. */ + if (audit_msg != NULL) + *errstr = audit_msg; + } + + debug_return_int(ret); +} + +static void +audit_to_eventlog(struct eventlog *evlog, char * const command_info[], + char * const run_argv[], char * const run_envp[], const char *uuid_str) +{ + char * const *cur; + debug_decl(audit_to_eventlog, SUDOERS_DEBUG_PLUGIN); + + /* Fill in evlog from sudoers Defaults, run_argv and run_envp. */ + sudoers_to_eventlog(evlog, NULL, run_argv, run_envp, uuid_str); + + /* Update iolog and execution environment from command_info[]. */ + if (command_info != NULL) { + for (cur = command_info; *cur != NULL; cur++) { + switch (**cur) { + case 'c': + if (strncmp(*cur, "command=", sizeof("command=") - 1) == 0) { + evlog->command = *cur + sizeof("command=") - 1; + continue; + } + if (strncmp(*cur, "chroot=", sizeof("chroot=") - 1) == 0) { + evlog->runchroot = *cur + sizeof("chroot=") - 1; + continue; + } + break; + case 'i': + if (strncmp(*cur, "iolog_path=", sizeof("iolog_path=") - 1) == 0) { + evlog->iolog_path = *cur + sizeof("iolog_path=") - 1; + evlog->iolog_file = sudo_basename(evlog->iolog_path); + continue; + } + break; + case 'r': + if (strncmp(*cur, "runcwd=", sizeof("runcwd=") - 1) == 0) { + evlog->runcwd = *cur + sizeof("runcwd=") - 1; + continue; + } + break; + } + } + } + + debug_return; +} + +#ifdef SUDOERS_LOG_CLIENT +static bool +log_server_accept(struct eventlog *evlog) +{ + struct timespec now; + bool ret = false; + debug_decl(log_server_accept, SUDOERS_DEBUG_PLUGIN); + + if (SLIST_EMPTY(&def_log_servers)) + debug_return_bool(true); + + if (client_closure != NULL && ISSET(sudo_mode, MODE_POLICY_INTERCEPTED)) { + /* Older servers don't support multiple commands per session. */ + if (!client_closure->subcommands) + debug_return_bool(true); + } else { + /* Only send accept event to log server if I/O log plugin did not. */ + if (iolog_enabled) + debug_return_bool(true); + } + + if (sudo_gettime_real(&now) == -1) { + sudo_warn("%s", U_("unable to get time of day")); + goto done; + } + + if (client_closure != NULL) { + /* Use existing client closure. */ + if (fmt_accept_message(client_closure, evlog)) { + if (client_closure->write_ev->add(client_closure->write_ev, + &client_closure->log_details->server_timeout) == -1) { + sudo_warn("%s", U_("unable to add event to queue")); + goto done; + } + ret = true; + } + } else { + if (!init_log_details(&audit_details, evlog)) + goto done; + + /* Open connection to log server, send hello and accept messages. */ + client_closure = log_server_open(&audit_details, &now, false, + SEND_ACCEPT, NULL); + if (client_closure != NULL) + ret = true; + } + +done: + debug_return_bool(ret); +} + +static void +log_server_exit(int status_type, int status) +{ + debug_decl(log_server_exit, SUDOERS_DEBUG_PLUGIN); + + if (client_closure != NULL) { + int exit_status = 0, error = 0; + + if (status_type == SUDO_PLUGIN_WAIT_STATUS) { + if (WIFEXITED(status)) + exit_status = WEXITSTATUS(status); + else + exit_status = WTERMSIG(status) | 128; + } else { + /* Must be errno. */ + error = status; + } + log_server_close(client_closure, exit_status, error); + client_closure = NULL; + free(audit_details.evlog); + audit_details.evlog = NULL; + } + + debug_return; +} +#else +static bool +log_server_accept(struct eventlog *evlog) +{ + return true; +} + +static void +log_server_exit(int status_type, int status) +{ + return; +} +#endif /* SUDOERS_LOG_CLIENT */ + +static int +sudoers_audit_accept(const char *plugin_name, unsigned int plugin_type, + char * const command_info[], char * const run_argv[], + char * const run_envp[], const char **errstr) +{ + const char *uuid_str = NULL; + struct eventlog evlog; + static bool first = true; + int ret = true; + debug_decl(sudoers_audit_accept, SUDOERS_DEBUG_PLUGIN); + + /* Only log the accept event from the sudo front-end */ + if (plugin_type != SUDO_FRONT_END) + debug_return_int(true); + + if (!def_log_allowed) + debug_return_int(true); + + if (audit_success(run_argv) != 0 && !def_ignore_audit_errors) + ret = false; + + if (!ISSET(sudo_mode, MODE_POLICY_INTERCEPTED)) + uuid_str = sudo_user.uuid_str; + + audit_to_eventlog(&evlog, command_info, run_argv, run_envp, uuid_str); + if (!log_allowed(&evlog) && !def_ignore_logfile_errors) + ret = false; + + if (!log_server_accept(&evlog)) { + if (!def_ignore_logfile_errors) + ret = false; + } + + if (first) { + /* log_subcmds doesn't go through sudo_policy_main again to set this. */ + if (def_log_subcmds) + SET(sudo_mode, MODE_POLICY_INTERCEPTED); + first = false; + } + + debug_return_int(ret); +} + +static int +sudoers_audit_reject(const char *plugin_name, unsigned int plugin_type, + const char *message, char * const command_info[], const char **errstr) +{ + struct eventlog evlog; + int ret = true; + debug_decl(sudoers_audit_reject, SUDOERS_DEBUG_PLUGIN); + + /* Skip reject events that sudoers generated itself. */ + if (strncmp(plugin_name, "sudoers_", 8) == 0) + debug_return_int(true); + + if (!def_log_denied) + debug_return_int(true); + + if (audit_failure_int(NewArgv, message) != 0) { + if (!def_ignore_audit_errors) + ret = false; + } + + audit_to_eventlog(&evlog, command_info, NewArgv, env_get(), NULL); + if (!eventlog_reject(&evlog, 0, message, NULL, NULL)) + ret = false; + + if (!log_server_reject(&evlog, message)) + ret = false; + + debug_return_int(ret); +} + +static int +sudoers_audit_error(const char *plugin_name, unsigned int plugin_type, + const char *message, char * const command_info[], const char **errstr) +{ + struct eventlog evlog; + struct timespec now; + int ret = true; + debug_decl(sudoers_audit_error, SUDOERS_DEBUG_PLUGIN); + + /* Skip error events that sudoers generated itself. */ + if (strncmp(plugin_name, "sudoers_", 8) == 0) + debug_return_int(true); + + if (audit_failure_int(NewArgv, message) != 0) { + if (!def_ignore_audit_errors) + ret = false; + } + + if (sudo_gettime_real(&now)) { + sudo_warn("%s", U_("unable to get time of day")); + debug_return_bool(false); + } + + audit_to_eventlog(&evlog, command_info, NewArgv, env_get(), NULL); + if (!eventlog_alert(&evlog, 0, &now, message, NULL)) + ret = false; + + if (!log_server_alert(&evlog, &now, message, NULL)) + ret = false; + + debug_return_int(ret); +} + +static void +sudoers_audit_close(int status_type, int status) +{ + log_server_exit(status_type, status); +} + +static int +sudoers_audit_version(int verbose) +{ + debug_decl(sudoers_audit_version, SUDOERS_DEBUG_PLUGIN); + + sudo_printf(SUDO_CONV_INFO_MSG, "Sudoers audit plugin version %s\n", + PACKAGE_VERSION); + + debug_return_int(true); +} + +sudo_dso_public struct audit_plugin sudoers_audit = { + SUDO_AUDIT_PLUGIN, + SUDO_API_VERSION, + sudoers_audit_open, + sudoers_audit_close, + sudoers_audit_accept, + sudoers_audit_reject, + sudoers_audit_error, + sudoers_audit_version, + NULL, /* register_hooks */ + NULL, /* deregister_hooks */ + NULL /* event_alloc() filled in by sudo */ +}; diff --git a/plugins/sudoers/auth/API b/plugins/sudoers/auth/API new file mode 100644 index 0000000..3609670 --- /dev/null +++ b/plugins/sudoers/auth/API @@ -0,0 +1,148 @@ +NOTE: the Sudo auth API is subject to change + +Purpose: to provide a simple API for authentication methods that + encapsulates things nicely without turning into a maze + of #ifdef's + +The sudo_auth struct looks like this: + +typedef struct sudo_auth { + int flags; /* various flags, see below */ + int status; /* status from verify routine */ + char *name; /* name of the method in string form */ + void *data; /* method-specific data pointer */ + + int (*init)(struct passwd *pw, sudo_auth *auth); + int (*setup)(struct passwd *pw, char **prompt, sudo_auth *auth); + int (*verify)(struct passwd *pw, const char *p, sudo_auth *auth, struct sudo_conv_callback *callback); + int (*approval)(struct passwd *pw, sudo_auth *auth); + int (*cleanup)(struct passwd *pw, sudo_auth *auth, bool force); + int (*begin_session)(struct passwd *pw, char **user_env[], struct sudo_auth *auth); + int (*end_session)(struct passwd *pw, struct sudo_auth *auth); +} sudo_auth; + +The variables in the struct are as follows: + flags Bitwise binary flags, see below. + + status Contains the return value from the last run of + the "verify" function. Starts out as AUTH_FAILURE. + + name The name of the authentication method as a C string. + + data A pointer to method-specific data. This is passed to + all the functions of an auth method and is usually + initialized in the "init" or "setup" routines. + +Possible values of sudo_auth.flags: + FLAG_DISABLED Set if an "init" or "setup" function fails. + + FLAG_STANDALONE If set, this indicates that the method must + be the only auth method configured, and that + it will prompt for the password itself. + + FLAG_ONEANDONLY If set, this indicates that the method is the + only one in use. Can be used by auth functions + to determine whether to return a fatal or nonfatal + error. + + FLAG_NONINTERACTIVE If set, this indicates that the user invoked + sudo with the -n option and no user interaction + is allowed. + +The member functions can return the following values: + AUTH_SUCCESS Function succeeded. For a ``verify'' function + this means the user correctly authenticated. + + AUTH_FAILURE Function failed. If this is an ``init'' or + ``setup'' routine, the auth method will be + marked as !configured. + + AUTH_FATAL A fatal error occurred. The routine should have + written an error message to stderr and optionally + sent mail to the administrator. + When verify_user() gets AUTH_FATAL from an auth + function it does an exit(1). + + AUTH_INTR An attempt to read the password read was interrupted. + Usually this means the user entered ^C at the + password prompt. + + AUTH_NONINTERACTIVE Function failed because user interaction was + required but sudo was run in non-interactive + mode. + +The functions in the struct are as follows: + + int init(struct passwd *pw, sudo_auth *auth) + Function to do any one-time initialization for the auth + method. All of the "init" functions are run before anything + else. + + int setup(struct passwd *pw, char **prompt, sudo_auth *auth) + Function to do method-specific setup. All the "setup" + routines are run before any of the "verify" routines. A + pointer to the prompt string may be used to add method-specific + info to the prompt. + + int verify(struct passwd *pw, char *p, sudo_auth *auth, struct sudo_conv_callback *callback) + Function to do user verification for this auth method. For + standalone auth methods ``p'' is the prompt string. For + normal auth methods, ``p'' is the password the user entered. + The callback should be passed to auth_getpass() to allow sudoers + to unlock the ticket file when sudo is suspended. + Note that standalone auth methods are responsible for + rerading the password themselves. + + int approval(struct passwd *pw, struct sudo_auth *auth) + Function to perform account management and approval *after* + the user has authenticated successfully. This function may + check for expired accounts, perform time of day restrictions, etc. + For PAM, this calls pam_acct_mgmt(). For BSD auth, it calls + auth_approval(). + + int cleanup(struct passwd *pw, sudo_auth *auth, bool force) + Function to do per-auth method cleanup. This is only run + at the end of the authentication process, after the user + has completely failed or succeeded to authenticate. + The ``auth->status'' variable contains the result of the + last authentication attempt which may be interesting. + If the force flag is set, cleanup should happen immediately. + + int begin_session(struct passwd *pw, char **user_env[], struct sudo_auth *auth) + Function to begin a user session. This is used for session handling + in PAM and SIA. + + int end_session(struct passwd *pw, struct sudo_auth *auth) + Function to end a user session. This is used for session handling + in PAM and SIA. + +A note about standalone methods. Some authentication methods can't +coexist with any others. This may be because they encapsulate other +methods (pam, sia) or because they have a special way of interacting +with the user (securid). + +Adding a new authentication method: + +Each method should live in its own file. Add prototypes for the functions +in sudo_auth.h. + +Add the method to the ``auth_switch'' in sudo_auth.c. Note that +standalone methods must go first. If ``fooauth'' is a normal auth +method, its entry would look like: + +#ifdef HAVE_FOOAUTH +AUTH_ENTRY("foo", 0, foo_init, foo_setup, foo_verify, + foo_cleanup, foo_begin_session, foo_end_session) +#endif + +If this is a standalone method, it would be: + +#ifdef HAVE_FOOAUTH +AUTH_ENTRY("foo", FLAG_STANDALONE, foo_init, foo_setup, foo_verify, + foo_cleanup, foo_begin_session, foo_end_session) +#endif + +If the method needs to run as the user, not root, add FLAG_USER to +the second argument in the AUTH_ENTRY line. If you don't have an +init/setup/cleanup/begin/end routine, just use a NULL for that +field. diff --git a/plugins/sudoers/auth/afs.c b/plugins/sudoers/auth/afs.c new file mode 100644 index 0000000..29e9dde --- /dev/null +++ b/plugins/sudoers/auth/afs.c @@ -0,0 +1,87 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1999, 2001-2005, 2007, 2010-2012, 2014-2015 + * Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Sponsored in part by the Defense Advanced Research Projects + * Agency (DARPA) and Air Force Research Laboratory, Air Force + * Materiel Command, USAF, under agreement number F39502-99-1-0512. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#ifdef HAVE_AFS + +#include +#include +#include +#include +#include +#include + +#include +#include + +#include "sudoers.h" +#include "sudo_auth.h" +#include "check.h" + +int +sudo_afs_verify(struct passwd *pw, const char *pass, sudo_auth *auth, struct sudo_conv_callback *callback) +{ + struct ktc_encryptionKey afs_key; + struct ktc_token afs_token; + debug_decl(sudo_afs_verify, SUDOERS_DEBUG_AUTH); + + if (IS_NONINTERACTIVE(auth)) + debug_return_int(AUTH_NONINTERACTIVE); + + /* Display lecture if needed and we haven't already done so. */ + display_lecture(callback); + + /* Try to just check the password */ + ka_StringToKey(pass, NULL, &afs_key); + if (ka_GetAdminToken(pw->pw_name, /* name */ + NULL, /* instance */ + NULL, /* realm */ + &afs_key, /* key (contains password) */ + 0, /* lifetime */ + &afs_token, /* token */ + 0) == 0) /* new */ + debug_return_int(AUTH_SUCCESS); + + /* Fall back on old method XXX - needed? */ + setpag(); + if (ka_UserAuthenticateGeneral(KA_USERAUTH_VERSION+KA_USERAUTH_DOSETPAG, + pw->pw_name, /* name */ + NULL, /* instance */ + NULL, /* realm */ + pass, /* password */ + 0, /* lifetime */ + NULL, /* expiration ptr (unused) */ + 0, /* spare */ + NULL) == 0) /* reason */ + debug_return_int(AUTH_SUCCESS); + + debug_return_int(AUTH_FAILURE); +} + +#endif HAVE_AFS diff --git a/plugins/sudoers/auth/aix_auth.c b/plugins/sudoers/auth/aix_auth.c new file mode 100644 index 0000000..239c8f9 --- /dev/null +++ b/plugins/sudoers/auth/aix_auth.c @@ -0,0 +1,311 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1999-2005, 2007-2018 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Sponsored in part by the Defense Advanced Research Projects + * Agency (DARPA) and Air Force Research Laboratory, Air Force + * Materiel Command, USAF, under agreement number F39502-99-1-0512. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#ifdef HAVE_AIXAUTH + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "sudoers.h" +#include "sudo_auth.h" + +/* + * For a description of the AIX authentication API, see + * http://publib16.boulder.ibm.com/doc_link/en_US/a_doc_lib/libs/basetrf1/authenticate.htm + */ + +#ifdef HAVE_PAM +# define AIX_AUTH_UNKNOWN 0 +# define AIX_AUTH_STD 1 +# define AIX_AUTH_PAM 2 + +static int +sudo_aix_authtype(void) +{ + size_t linesize = 0; + ssize_t len; + char *cp, *line = NULL; + bool in_stanza = false; + int authtype = AIX_AUTH_UNKNOWN; + FILE *fp; + debug_decl(sudo_aix_authtype, SUDOERS_DEBUG_AUTH); + + if ((fp = fopen("/etc/security/login.cfg", "r")) == NULL) + debug_return_int(AIX_AUTH_UNKNOWN); + + while ((len = getdelim(&line, &linesize, '\n', fp)) != -1) { + /* First remove comments. */ + if ((cp = strchr(line, '#')) != NULL) { + *cp = '\0'; + len = (ssize_t)(cp - line); + } + + /* Next remove trailing newlines and whitespace. */ + while (len > 0 && isspace((unsigned char)line[len - 1])) + line[--len] = '\0'; + + /* Skip blank lines. */ + if (len == 0) + continue; + + /* Match start of the usw stanza. */ + if (!in_stanza) { + if (strncmp(line, "usw:", 4) == 0) + in_stanza = true; + continue; + } + + /* Check for end of the usw stanza. */ + if (!isblank((unsigned char)line[0])) { + in_stanza = false; + break; + } + + /* Skip leading blanks. */ + cp = line; + do { + cp++; + } while (isblank((unsigned char)*cp)); + + /* Match "auth_type = (PAM_AUTH|STD_AUTH)". */ + if (strncmp(cp, "auth_type", 9) != 0) + continue; + cp += 9; + while (isblank((unsigned char)*cp)) + cp++; + if (*cp++ != '=') + continue; + while (isblank((unsigned char)*cp)) + cp++; + if (strcmp(cp, "PAM_AUTH") == 0) { + authtype = AIX_AUTH_PAM; + break; + } + if (strcmp(cp, "STD_AUTH") == 0) { + authtype = AIX_AUTH_STD; + break; + } + } + free(line); + fclose(fp); + + debug_return_int(authtype); +} +#endif /* HAVE_PAM */ + +int +sudo_aix_init(struct passwd *pw, sudo_auth *auth) +{ + debug_decl(sudo_aix_init, SUDOERS_DEBUG_AUTH); + +#ifdef HAVE_PAM + /* Check auth_type in /etc/security/login.cfg. */ + if (sudo_aix_authtype() == AIX_AUTH_PAM) { + if (sudo_pam_init_quiet(pw, auth) == AUTH_SUCCESS) { + /* Fail AIX authentication so we can use PAM instead. */ + debug_return_int(AUTH_FAILURE); + } + } +#endif + debug_return_int(AUTH_SUCCESS); +} + +/* Ignore AIX password incorrect message */ +static bool +sudo_aix_valid_message(const char *message) +{ + const char *cp; + const char badpass_msgid[] = "3004-300"; + debug_decl(sudo_aix_valid_message, SUDOERS_DEBUG_AUTH); + + if (message == NULL || message[0] == '\0') + debug_return_bool(false); + + /* Match "3004-300: You entered an invalid login name or password" */ + for (cp = message; *cp != '\0'; cp++) { + if (isdigit((unsigned char)*cp)) { + if (strncmp(cp, badpass_msgid, strlen(badpass_msgid)) == 0) + debug_return_bool(false); + break; + } + } + debug_return_bool(true); +} + +/* + * Change the user's password. If root changes the user's password + * the ADMCHG flag is set on the account (and the user must change + * it again) so we run passwd(1) as the user. This does mean that + * the user will need to re-enter their original password again, + * unlike with su(1). We may consider using pwdadm(1) as root to + * change the password and then clear the flag in the future. + */ +static bool +sudo_aix_change_password(const char *user) +{ + struct sigaction sa, savechld; + pid_t child, pid; + bool ret = false; + sigset_t mask; + int status; + debug_decl(sudo_aix_change_password, SUDOERS_DEBUG_AUTH); + + /* Set SIGCHLD handler to default since we call waitpid() below. */ + memset(&sa, 0, sizeof(sa)); + sigemptyset(&sa.sa_mask); + sa.sa_flags = SA_RESTART; + sa.sa_handler = SIG_DFL; + (void) sigaction(SIGCHLD, &sa, &savechld); + + switch (child = sudo_debug_fork()) { + case -1: + /* error */ + sudo_warn("%s", U_("unable to fork")); + break; + case 0: + /* child, run passwd(1) */ + sigemptyset(&mask); + sigaddset(&mask, SIGINT); + sigaddset(&mask, SIGQUIT); + (void) sigprocmask(SIG_UNBLOCK, &mask, NULL); + set_perms(PERM_USER); + execl("/usr/bin/passwd", "passwd", user, (char *)NULL); + sudo_warn("passwd"); + _exit(127); + /* NOTREACHED */ + default: + /* parent */ + break; + } + + /* Wait for passwd(1) to complete. */ + do { + pid = waitpid(child, &status, 0); + } while (pid == -1 && errno == EINTR); + sudo_debug_printf(SUDO_DEBUG_INFO|SUDO_DEBUG_LINENO, + "child (%d) exit value %d", (int)child, status); + if (pid != -1 && WIFEXITED(status) && WEXITSTATUS(status) == 0) + ret = true; + + /* Restore saved SIGCHLD handler. */ + (void) sigaction(SIGCHLD, &savechld, NULL); + + debug_return_bool(ret); +} + +int +sudo_aix_verify(struct passwd *pw, const char *prompt, sudo_auth *auth, struct sudo_conv_callback *callback) +{ + char *pass, *message = NULL; + int result = 1, reenter = 0; + int ret = AUTH_SUCCESS; + debug_decl(sudo_aix_verify, SUDOERS_DEBUG_AUTH); + + if (IS_NONINTERACTIVE(auth)) + debug_return_int(AUTH_NONINTERACTIVE); + + do { + pass = auth_getpass(prompt, SUDO_CONV_PROMPT_ECHO_OFF, callback); + if (pass == NULL) + break; + free(message); + message = NULL; + result = authenticate(pw->pw_name, pass, &reenter, &message); + freezero(pass, strlen(pass)); + prompt = message; + } while (reenter); + + if (result != 0) { + /* Display error message, if any. */ + if (sudo_aix_valid_message(message)) + sudo_printf(SUDO_CONV_ERROR_MSG|SUDO_CONV_PREFER_TTY, + "%s", message); + ret = pass ? AUTH_FAILURE : AUTH_INTR; + } + free(message); + message = NULL; + + /* Check if password expired and allow user to change it if possible. */ + if (ret == AUTH_SUCCESS) { + result = passwdexpired(pw->pw_name, &message); + if (message != NULL && message[0] != '\0') { + int msg_type = SUDO_CONV_PREFER_TTY; + msg_type |= result ? SUDO_CONV_ERROR_MSG : SUDO_CONV_INFO_MSG, + sudo_printf(msg_type, "%s", message); + free(message); + message = NULL; + } + switch (result) { + case 0: + /* password not expired. */ + break; + case 1: + /* password expired, user must change it */ + if (!sudo_aix_change_password(pw->pw_name)) { + sudo_warnx(U_("unable to change password for %s"), pw->pw_name); + ret = AUTH_FATAL; + } + break; + case 2: + /* password expired, only admin can change it */ + ret = AUTH_FATAL; + break; + default: + /* error (-1) */ + sudo_warn("passwdexpired"); + ret = AUTH_FATAL; + break; + } + } + + debug_return_int(ret); +} + +int +sudo_aix_cleanup(struct passwd *pw, sudo_auth *auth, bool force) +{ + debug_decl(sudo_aix_cleanup, SUDOERS_DEBUG_AUTH); + + /* Unset AUTHSTATE as it may not be correct for the runas user. */ + if (sudo_unsetenv("AUTHSTATE") == -1) + debug_return_int(AUTH_FAILURE); + + debug_return_int(AUTH_SUCCESS); +} + +#endif /* HAVE_AIXAUTH */ diff --git a/plugins/sudoers/auth/bsdauth.c b/plugins/sudoers/auth/bsdauth.c new file mode 100644 index 0000000..2d97288 --- /dev/null +++ b/plugins/sudoers/auth/bsdauth.c @@ -0,0 +1,212 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2000-2005, 2007-2008, 2010-2015 + * Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Sponsored in part by the Defense Advanced Research Projects + * Agency (DARPA) and Air Force Research Laboratory, Air Force + * Materiel Command, USAF, under agreement number F39502-99-1-0512. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#ifdef HAVE_BSD_AUTH_H + +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +#include "sudoers.h" +#include "sudo_auth.h" + +# ifndef LOGIN_DEFROOTCLASS +# define LOGIN_DEFROOTCLASS "daemon" +# endif + +struct bsdauth_state { + auth_session_t *as; + login_cap_t *lc; +}; + +int +bsdauth_init(struct passwd *pw, sudo_auth *auth) +{ + static struct bsdauth_state state; + debug_decl(bsdauth_init, SUDOERS_DEBUG_AUTH); + + /* Only initialize once. */ + if (auth->data != NULL) + debug_return_int(AUTH_SUCCESS); + + /* Get login class based on auth user, which may not be invoking user. */ + if (pw->pw_class && *pw->pw_class) + state.lc = login_getclass(pw->pw_class); + else + state.lc = login_getclass(pw->pw_uid ? (char *)LOGIN_DEFCLASS : (char *)LOGIN_DEFROOTCLASS); + if (state.lc == NULL) { + log_warning(0, + N_("unable to get login class for user %s"), pw->pw_name); + debug_return_int(AUTH_FATAL); + } + + if ((state.as = auth_open()) == NULL) { + log_warning(0, N_("unable to begin bsd authentication")); + login_close(state.lc); + debug_return_int(AUTH_FATAL); + } + + /* XXX - maybe check the auth style earlier? */ + login_style = login_getstyle(state.lc, login_style, (char *)"auth-sudo"); + if (login_style == NULL) { + log_warningx(0, N_("invalid authentication type")); + auth_close(state.as); + login_close(state.lc); + debug_return_int(AUTH_FATAL); + } + + if (auth_setitem(state.as, AUTHV_STYLE, login_style) < 0 || + auth_setitem(state.as, AUTHV_NAME, pw->pw_name) < 0 || + auth_setitem(state.as, AUTHV_CLASS, login_class) < 0) { + log_warningx(0, N_("unable to initialize BSD authentication")); + auth_close(state.as); + login_close(state.lc); + debug_return_int(AUTH_FATAL); + } + + auth->data = (void *) &state; + debug_return_int(AUTH_SUCCESS); +} + +int +bsdauth_verify(struct passwd *pw, const char *prompt, sudo_auth *auth, struct sudo_conv_callback *callback) +{ + char *pass; + char *s; + size_t len; + int authok = 0; + struct sigaction sa, osa; + auth_session_t *as = ((struct bsdauth_state *) auth->data)->as; + debug_decl(bsdauth_verify, SUDOERS_DEBUG_AUTH); + + if (IS_NONINTERACTIVE(auth)) + debug_return_int(AUTH_NONINTERACTIVE); + + /* save old signal handler */ + sigemptyset(&sa.sa_mask); + sa.sa_flags = SA_RESTART; + sa.sa_handler = SIG_DFL; + (void) sigaction(SIGCHLD, &sa, &osa); + + /* + * If there is a challenge then print that instead of the normal + * prompt. If the user just hits return we prompt again with echo + * turned on, which is useful for challenge/response things like + * S/Key. + */ + if ((s = auth_challenge(as)) == NULL) { + pass = auth_getpass(prompt, SUDO_CONV_PROMPT_ECHO_OFF, callback); + } else { + pass = auth_getpass(s, SUDO_CONV_PROMPT_ECHO_OFF, callback); + if (pass != NULL && *pass == '\0') { + if ((prompt = strrchr(s, '\n'))) + prompt++; + else + prompt = s; + + /* + * Append '[echo on]' to the last line of the challenge and + * re-prompt with echo turned on. + */ + len = strlen(prompt); + while (len > 0 && (isspace((unsigned char)prompt[len - 1]) || prompt[len - 1] == ':')) + len--; + if (asprintf(&s, "%.*s [echo on]: ", (int)len, prompt) == -1) { + log_warningx(0, N_("unable to allocate memory")); + debug_return_int(AUTH_FATAL); + } + free(pass); + pass = auth_getpass(s, SUDO_CONV_PROMPT_ECHO_ON, callback); + free(s); + } + } + + if (pass) { + authok = auth_userresponse(as, pass, 1); + freezero(pass, strlen(pass)); + } + + /* restore old signal handler */ + (void) sigaction(SIGCHLD, &osa, NULL); + + if (authok) + debug_return_int(AUTH_SUCCESS); + + if (!pass) + debug_return_int(AUTH_INTR); + + if ((s = auth_getvalue(as, (char *)"errormsg")) != NULL) + log_warningx(0, "%s", s); + debug_return_int(AUTH_FAILURE); +} + +int +bsdauth_approval(struct passwd *pw, sudo_auth *auth, bool exempt) +{ + struct bsdauth_state *state = auth->data; + debug_decl(bsdauth_approval, SUDOERS_DEBUG_AUTH); + + if (auth_approval(state->as, state->lc, pw->pw_name, (char *)"auth-sudo") == 0) { + if (auth_getstate(state->as) & AUTH_EXPIRED) + log_warningx(0, "%s", N_("your account has expired")); + else + log_warningx(0, "%s", N_("approval failed")); + debug_return_int(AUTH_FAILURE); + } + debug_return_int(AUTH_SUCCESS); +} + +int +bsdauth_cleanup(struct passwd *pw, sudo_auth *auth, bool force) +{ + struct bsdauth_state *state = auth->data; + debug_decl(bsdauth_cleanup, SUDOERS_DEBUG_AUTH); + + if (state != NULL) { + auth_close(state->as); + state->as = NULL; + login_close(state->lc); + state->lc = NULL; + auth->data = NULL; + } + login_style = NULL; + + debug_return_int(AUTH_SUCCESS); +} + +#endif /* HAVE_BSD_AUTH_H */ diff --git a/plugins/sudoers/auth/dce.c b/plugins/sudoers/auth/dce.c new file mode 100644 index 0000000..bbee842 --- /dev/null +++ b/plugins/sudoers/auth/dce.c @@ -0,0 +1,201 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1996, 1998-2005, 2010-2012, 2014-2015 + * Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Sponsored in part by the Defense Advanced Research Projects + * Agency (DARPA) and Air Force Research Laboratory, Air Force + * Materiel Command, USAF, under agreement number F39502-99-1-0512. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ +/* + * The code below basically comes from the examples supplied on + * the OSF DCE 1.0.3 manpages for the sec_login routines, with + * enough additional polishing to make the routine work with the + * rest of sudo. + * + * This code is known to work on HP 700 and 800 series systems + * running HP-UX 9.X and 10.X, with either HP's version 1.2.1 of DCE. + * (aka, OSF DCE 1.0.3) or with HP's version 1.4 of DCE (aka, OSF + * DCE 1.1). + */ + +#include + +#ifdef HAVE_DCE + +#include +#include +#include +#include +#include +#include + +#include +#include +#include /* required to call dce_error_inq_text routine */ + +#include "sudoers.h" +#include "sudo_auth.h" +#include "check.h" + +static int check_dce_status(error_status_t, char *); + +int +sudo_dce_verify(struct passwd *pw, const char *plain_pw, sudo_auth *auth, struct sudo_conv_callback *callback) +{ + struct passwd temp_pw; + sec_passwd_rec_t password_rec; + sec_login_handle_t login_context; + boolean32 reset_passwd; + sec_login_auth_src_t auth_src; + error_status_t status; + debug_decl(sudo_dce_verify, SUDOERS_DEBUG_AUTH); + + if (IS_NONINTERACTIVE(auth)) + debug_return_int(AUTH_NONINTERACTIVE); + + /* Display lecture if needed and we haven't already done so. */ + display_lecture(callback); + + /* + * Create the local context of the DCE principal necessary + * to perform authenticated network operations. The network + * identity set up by this operation cannot be used until it + * is validated via sec_login_validate_identity(). + */ + if (sec_login_setup_identity((unsigned_char_p_t) pw->pw_name, + sec_login_no_flags, &login_context, &status)) { + + if (check_dce_status(status, "sec_login_setup_identity(1):")) + debug_return_int(AUTH_FAILURE); + + password_rec.key.key_type = sec_passwd_plain; + password_rec.key.tagged_union.plain = (idl_char *) plain_pw; + password_rec.pepper = NULL; + password_rec.version_number = sec_passwd_c_version_none; + + /* Validate the login context with the password */ + if (sec_login_validate_identity(login_context, &password_rec, + &reset_passwd, &auth_src, &status)) { + + if (check_dce_status(status, "sec_login_validate_identity(1):")) + debug_return_int(AUTH_FAILURE); + + /* + * Certify that the DCE Security Server used to set + * up and validate a login context is legitimate. Makes + * sure that we didn't get spoofed by another DCE server. + */ + if (!sec_login_certify_identity(login_context, &status)) { + sudo_printf(SUDO_CONV_ERROR_MSG|SUDO_CONV_PREFER_TTY, + "Whoa! Bogus authentication server!\n"); + (void) check_dce_status(status,"sec_login_certify_identity(1):"); + debug_return_int(AUTH_FAILURE); + } + if (check_dce_status(status, "sec_login_certify_identity(2):")) + debug_return_int(AUTH_FAILURE); + + /* + * Sets the network credentials to those specified + * by the now validated login context. + */ + sec_login_set_context(login_context, &status); + if (check_dce_status(status, "sec_login_set_context:")) + debug_return_int(AUTH_FAILURE); + + /* + * Oops, your credentials were no good. Possibly + * caused by clock times out of adjustment between + * DCE client and DCE security server... + */ + if (auth_src != sec_login_auth_src_network) { + sudo_printf(SUDO_CONV_ERROR_MSG|SUDO_CONV_PREFER_TTY, + "You have no network credentials.\n"); + debug_return_int(AUTH_FAILURE); + } + /* Check if the password has aged and is thus no good */ + if (reset_passwd) { + sudo_printf(SUDO_CONV_ERROR_MSG|SUDO_CONV_PREFER_TTY, + "Your DCE password needs resetting.\n"); + debug_return_int(AUTH_FAILURE); + } + + /* + * We should be a valid user by this point. Pull the + * user's password structure from the DCE security + * server just to make sure. If we get it with no + * problems, then we really are legitimate... + */ + sec_login_get_pwent(login_context, (sec_login_passwd_t) &temp_pw, + &status); + if (check_dce_status(status, "sec_login_get_pwent:")) + debug_return_int(AUTH_FAILURE); + + /* + * If we get to here, then the pwent above properly fetched + * the password structure from the DCE registry, so the user + * must be valid. We don't really care what the user's + * registry password is, just that the user could be + * validated. In fact, if we tried to compare the local + * password to the DCE entry at this point, the operation + * would fail if the hidden password feature is turned on, + * because the password field would contain an asterisk. + * Also go ahead and destroy the user's DCE login context + * before we leave here (and don't bother checking the + * status), in order to clean up credentials files in + * /opt/dcelocal/var/security/creds. By doing this, we are + * assuming that the user will not need DCE authentication + * later in the program, only local authentication. If this + * is not true, then the login_context will have to be + * returned to the calling program, and the context purged + * somewhere later in the program. + */ + sec_login_purge_context(&login_context, &status); + debug_return_int(AUTH_SUCCESS); + } else { + if(check_dce_status(status, "sec_login_validate_identity(2):")) + debug_return_int(AUTH_FAILURE); + sec_login_purge_context(&login_context, &status); + if(check_dce_status(status, "sec_login_purge_context:")) + debug_return_int(AUTH_FAILURE); + } + } + (void) check_dce_status(status, "sec_login_setup_identity(2):"); + debug_return_int(AUTH_FAILURE); +} + +/* Returns 0 for DCE "ok" status, 1 otherwise */ +static int +check_dce_status(error_status_t input_status, char *comment) +{ + int error_stat; + unsigned char error_string[dce_c_error_string_len]; + debug_decl(check_dce_status, SUDOERS_DEBUG_AUTH); + + if (input_status == rpc_s_ok) + debug_return_int(0); + dce_error_inq_text(input_status, error_string, &error_stat); + sudo_printf(SUDO_CONV_ERROR_MSG|SUDO_CONV_PREFER_TTY, + "%s %s\n", comment, error_string); + debug_return_int(1); +} + +#endif /* HAVE_DCE */ diff --git a/plugins/sudoers/auth/fwtk.c b/plugins/sudoers/auth/fwtk.c new file mode 100644 index 0000000..a8092dc --- /dev/null +++ b/plugins/sudoers/auth/fwtk.c @@ -0,0 +1,158 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1999-2005, 2008, 2010-2015 + * Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Sponsored in part by the Defense Advanced Research Projects + * Agency (DARPA) and Air Force Research Laboratory, Air Force + * Materiel Command, USAF, under agreement number F39502-99-1-0512. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#ifdef HAVE_FWTK + +#include +#include +#include +#include +#include +#include + +#include +#include + +#include "sudoers.h" +#include "sudo_auth.h" + +int +sudo_fwtk_init(struct passwd *pw, sudo_auth *auth) +{ + static Cfg *confp; /* Configuration entry struct */ + char resp[128]; /* Response from the server */ + debug_decl(sudo_fwtk_init, SUDOERS_DEBUG_AUTH); + + /* Only initialize once. */ + if (auth->data != NULL) + debug_return_int(AUTH_SUCCESS); + + if (IS_NONINTERACTIVE(auth)) + debug_return_int(AUTH_NONINTERACTIVE); + + if ((confp = cfg_read("sudo")) == (Cfg *)-1) { + sudo_warnx("%s", U_("unable to read fwtk config")); + debug_return_int(AUTH_FATAL); + } + + if (auth_open(confp)) { + sudo_warnx("%s", U_("unable to connect to authentication server")); + debug_return_int(AUTH_FATAL); + } + + /* Get welcome message from auth server */ + if (auth_recv(resp, sizeof(resp))) { + sudo_warnx("%s", U_("lost connection to authentication server")); + debug_return_int(AUTH_FATAL); + } + if (strncmp(resp, "Authsrv ready", 13) != 0) { + sudo_warnx(U_("authentication server error:\n%s"), resp); + debug_return_int(AUTH_FATAL); + } + auth->data = (void *) confp; + + debug_return_int(AUTH_SUCCESS); +} + +int +sudo_fwtk_verify(struct passwd *pw, const char *prompt, sudo_auth *auth, struct sudo_conv_callback *callback) +{ + char *pass; /* Password from the user */ + char buf[SUDO_CONV_REPL_MAX + 12]; /* General prupose buffer */ + char resp[128]; /* Response from the server */ + int error; + debug_decl(sudo_fwtk_verify, SUDOERS_DEBUG_AUTH); + + /* Send username to authentication server. */ + (void) snprintf(buf, sizeof(buf), "authorize %s 'sudo'", pw->pw_name); +restart: + if (auth_send(buf) || auth_recv(resp, sizeof(resp))) { + sudo_warnx("%s", U_("lost connection to authentication server")); + debug_return_int(AUTH_FATAL); + } + + /* Get the password/response from the user. */ + if (strncmp(resp, "challenge ", 10) == 0) { + (void) snprintf(buf, sizeof(buf), "%s\nResponse: ", &resp[10]); + pass = auth_getpass(buf, SUDO_CONV_PROMPT_ECHO_OFF, callback); + if (pass && *pass == '\0') { + free(pass); + pass = auth_getpass("Response [echo on]: ", + SUDO_CONV_PROMPT_ECHO_ON, callback); + } + } else if (strncmp(resp, "chalnecho ", 10) == 0) { + pass = auth_getpass(&resp[10], SUDO_CONV_PROMPT_ECHO_OFF, callback); + } else if (strncmp(resp, "password", 8) == 0) { + pass = auth_getpass(prompt, SUDO_CONV_PROMPT_ECHO_OFF, callback); + } else if (strncmp(resp, "display ", 8) == 0) { + sudo_printf(SUDO_CONV_INFO_MSG|SUDO_CONV_PREFER_TTY, "%s\n", &resp[8]); + strlcpy(buf, "response noop", sizeof(buf)); + goto restart; + } else { + sudo_warnx("%s", resp); + debug_return_int(AUTH_FATAL); + } + if (!pass) { /* ^C or error */ + debug_return_int(AUTH_INTR); + } + + /* Send the user's response to the server */ + (void) snprintf(buf, sizeof(buf), "response '%s'", pass); + if (auth_send(buf) || auth_recv(resp, sizeof(resp))) { + sudo_warnx("%s", U_("lost connection to authentication server")); + error = AUTH_FATAL; + goto done; + } + + if (strncmp(resp, "ok", 2) == 0) { + error = AUTH_SUCCESS; + goto done; + } + + /* Main loop prints "Permission Denied" or insult. */ + if (strcmp(resp, "Permission Denied.") != 0) + sudo_warnx("%s", resp); + error = AUTH_FAILURE; +done: + explicit_bzero(buf, sizeof(buf)); + freezero(pass, strlen(pass)); + debug_return_int(error); +} + +int +sudo_fwtk_cleanup(struct passwd *pw, sudo_auth *auth, bool force) +{ + debug_decl(sudo_fwtk_cleanup, SUDOERS_DEBUG_AUTH); + + auth_close(); + debug_return_int(AUTH_SUCCESS); +} + +#endif /* HAVE_FWTK */ diff --git a/plugins/sudoers/auth/kerb5.c b/plugins/sudoers/auth/kerb5.c new file mode 100644 index 0000000..7992cf3 --- /dev/null +++ b/plugins/sudoers/auth/kerb5.c @@ -0,0 +1,338 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1999-2005, 2007-2008, 2010-2015 + * Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Sponsored in part by the Defense Advanced Research Projects + * Agency (DARPA) and Air Force Research Laboratory, Air Force + * Materiel Command, USAF, under agreement number F39502-99-1-0512. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#ifdef HAVE_KERB5 + +#include +#include +#include +#include +#include +#include +#include +#ifdef HAVE_HEIMDAL +#include +#endif + +#include "sudoers.h" +#include "sudo_auth.h" + +#ifdef HAVE_HEIMDAL +# define extract_name(c, p) krb5_principal_get_comp_string(c, p, 1) +# define krb5_free_data_contents(c, d) krb5_data_free(d) +#else +# define extract_name(c, p) (krb5_princ_component(c, p, 1)->data) +#endif + +#ifndef HAVE_KRB5_VERIFY_USER +static int verify_krb_v5_tgt(krb5_context, krb5_creds *, char *); +#endif +static struct _sudo_krb5_data { + krb5_context sudo_context; + krb5_principal princ; + krb5_ccache ccache; +} sudo_krb5_data = { NULL, NULL, NULL }; +typedef struct _sudo_krb5_data *sudo_krb5_datap; + +#ifdef SUDO_KRB5_INSTANCE +static const char *sudo_krb5_instance = SUDO_KRB5_INSTANCE; +#else +static const char *sudo_krb5_instance = NULL; +#endif + +#ifndef HAVE_KRB5_GET_INIT_CREDS_OPT_ALLOC +static krb5_error_code +krb5_get_init_creds_opt_alloc(krb5_context context, + krb5_get_init_creds_opt **opts) +{ + *opts = malloc(sizeof(krb5_get_init_creds_opt)); + if (*opts == NULL) + return KRB5_CC_NOMEM; + krb5_get_init_creds_opt_init(*opts); + return 0; +} + +static void +krb5_get_init_creds_opt_free(krb5_get_init_creds_opt *opts) +{ + free(opts); +} +#endif + +int +sudo_krb5_setup(struct passwd *pw, char **promptp, sudo_auth *auth) +{ + static char *krb5_prompt; + debug_decl(sudo_krb5_init, SUDOERS_DEBUG_AUTH); + + /* Don't override the prompt if the user specified their own. */ + if (strcmp(*promptp, PASSPROMPT) != 0) { + debug_return_int(AUTH_SUCCESS); + } + + if (krb5_prompt == NULL) { + krb5_context sudo_context; + krb5_principal princ; + char *pname; + krb5_error_code error; + + sudo_context = ((sudo_krb5_datap) auth->data)->sudo_context; + princ = ((sudo_krb5_datap) auth->data)->princ; + + /* + * Really, we need to tell the caller not to prompt for password. The + * API does not currently provide this unless the auth is standalone. + */ + if ((error = krb5_unparse_name(sudo_context, princ, &pname))) { + log_warningx(0, + N_("%s: unable to convert principal to string ('%s'): %s"), + auth->name, pw->pw_name, error_message(error)); + debug_return_int(AUTH_FAILURE); + } + + if (asprintf(&krb5_prompt, "Password for %s: ", pname) == -1) { + log_warningx(0, N_("unable to allocate memory")); + free(pname); + debug_return_int(AUTH_FATAL); + } + free(pname); + } + *promptp = krb5_prompt; + + debug_return_int(AUTH_SUCCESS); +} + +int +sudo_krb5_init(struct passwd *pw, sudo_auth *auth) +{ + krb5_context sudo_context; + krb5_error_code error; + char cache_name[64], *pname = pw->pw_name; + debug_decl(sudo_krb5_init, SUDOERS_DEBUG_AUTH); + + /* Only initialize once. */ + if (auth->data != NULL) + debug_return_int(AUTH_SUCCESS); + + if (sudo_krb5_instance != NULL) { + int len = asprintf(&pname, "%s%s%s", pw->pw_name, + sudo_krb5_instance[0] != '/' ? "/" : "", sudo_krb5_instance); + if (len == -1) { + log_warningx(0, N_("unable to allocate memory")); + debug_return_int(AUTH_FATAL); + } + } + +#ifdef HAVE_KRB5_INIT_SECURE_CONTEXT + error = krb5_init_secure_context(&(sudo_krb5_data.sudo_context)); +#else + error = krb5_init_context(&(sudo_krb5_data.sudo_context)); +#endif + if (error) + goto done; + sudo_context = sudo_krb5_data.sudo_context; + + error = krb5_parse_name(sudo_context, pname, &(sudo_krb5_data.princ)); + if (error) { + log_warningx(0, N_("%s: unable to parse '%s': %s"), auth->name, pname, + error_message(error)); + goto done; + } + + (void) snprintf(cache_name, sizeof(cache_name), "MEMORY:sudocc_%ld", + (long) getpid()); + if ((error = krb5_cc_resolve(sudo_context, cache_name, + &(sudo_krb5_data.ccache)))) { + log_warningx(0, N_("%s: unable to resolve credential cache: %s"), + auth->name, error_message(error)); + goto done; + } + + auth->data = (void *) &sudo_krb5_data; /* Stash all our data here */ + +done: + if (sudo_krb5_instance != NULL) + free(pname); + debug_return_int(error ? AUTH_FAILURE : AUTH_SUCCESS); +} + +#ifdef HAVE_KRB5_VERIFY_USER +int +sudo_krb5_verify(struct passwd *pw, const char *pass, sudo_auth *auth, struct sudo_conv_callback *callback) +{ + krb5_context sudo_context; + krb5_principal princ; + krb5_ccache ccache; + krb5_error_code error; + debug_decl(sudo_krb5_verify, SUDOERS_DEBUG_AUTH); + + sudo_context = ((sudo_krb5_datap) auth->data)->sudo_context; + princ = ((sudo_krb5_datap) auth->data)->princ; + ccache = ((sudo_krb5_datap) auth->data)->ccache; + + error = krb5_verify_user(sudo_context, princ, ccache, pass, 1, NULL); + debug_return_int(error ? AUTH_FAILURE : AUTH_SUCCESS); +} +#else +int +sudo_krb5_verify(struct passwd *pw, const char *pass, sudo_auth *auth, struct sudo_conv_callback *callback) +{ + krb5_context sudo_context; + krb5_principal princ; + krb5_creds credbuf, *creds = NULL; + krb5_ccache ccache; + krb5_error_code error; + krb5_get_init_creds_opt *opts = NULL; + debug_decl(sudo_krb5_verify, SUDOERS_DEBUG_AUTH); + + sudo_context = ((sudo_krb5_datap) auth->data)->sudo_context; + princ = ((sudo_krb5_datap) auth->data)->princ; + ccache = ((sudo_krb5_datap) auth->data)->ccache; + + /* Set default flags based on the local config file. */ + error = krb5_get_init_creds_opt_alloc(sudo_context, &opts); + if (error) { + log_warningx(0, N_("%s: unable to allocate options: %s"), auth->name, + error_message(error)); + goto done; + } +#ifdef HAVE_HEIMDAL + krb5_get_init_creds_opt_set_default_flags(sudo_context, NULL, + krb5_principal_get_realm(sudo_context, princ), opts); +#endif + + /* Note that we always obtain a new TGT to verify the user */ + if ((error = krb5_get_init_creds_password(sudo_context, &credbuf, princ, + pass, krb5_prompter_posix, + NULL, 0, NULL, opts))) { + /* Don't print error if just a bad password */ + if (error != KRB5KRB_AP_ERR_BAD_INTEGRITY) { + log_warningx(0, N_("%s: unable to get credentials: %s"), + auth->name, error_message(error)); + } + goto done; + } + creds = &credbuf; + + /* Verify the TGT to prevent spoof attacks. */ + if ((error = verify_krb_v5_tgt(sudo_context, creds, auth->name))) + goto done; + + /* Store credential in cache. */ + if ((error = krb5_cc_initialize(sudo_context, ccache, princ))) { + log_warningx(0, N_("%s: unable to initialize credential cache: %s"), + auth->name, error_message(error)); + } else if ((error = krb5_cc_store_cred(sudo_context, ccache, creds))) { + log_warningx(0, N_("%s: unable to store credential in cache: %s"), + auth->name, error_message(error)); + } + +done: + if (opts) { +#ifdef HAVE_KRB5_GET_INIT_CREDS_OPT_FREE_TWO_ARGS + krb5_get_init_creds_opt_free(sudo_context, opts); +#else + krb5_get_init_creds_opt_free(opts); +#endif + } + if (creds) + krb5_free_cred_contents(sudo_context, creds); + debug_return_int(error ? AUTH_FAILURE : AUTH_SUCCESS); +} +#endif + +int +sudo_krb5_cleanup(struct passwd *pw, sudo_auth *auth, bool force) +{ + krb5_context sudo_context; + krb5_principal princ; + krb5_ccache ccache; + debug_decl(sudo_krb5_cleanup, SUDOERS_DEBUG_AUTH); + + sudo_context = ((sudo_krb5_datap) auth->data)->sudo_context; + princ = ((sudo_krb5_datap) auth->data)->princ; + ccache = ((sudo_krb5_datap) auth->data)->ccache; + + if (sudo_context) { + if (ccache) + krb5_cc_destroy(sudo_context, ccache); + if (princ) + krb5_free_principal(sudo_context, princ); + krb5_free_context(sudo_context); + } + + debug_return_int(AUTH_SUCCESS); +} + +#ifndef HAVE_KRB5_VERIFY_USER +/* + * Verify the Kerberos ticket-granting ticket just retrieved for the + * user. If the Kerberos server doesn't respond, assume the user is + * trying to fake us out (since we DID just get a TGT from what is + * supposedly our KDC). + * + * Returns 0 for successful authentication, non-zero for failure. + */ +static int +verify_krb_v5_tgt(krb5_context sudo_context, krb5_creds *cred, char *auth_name) +{ + krb5_error_code error; + krb5_principal server; + krb5_verify_init_creds_opt vopt; + debug_decl(verify_krb_v5_tgt, SUDOERS_DEBUG_AUTH); + + /* + * Get the server principal for the local host. + * (Use defaults of "host" and canonicalized local name.) + */ + if ((error = krb5_sname_to_principal(sudo_context, NULL, NULL, + KRB5_NT_SRV_HST, &server))) { + log_warningx(0, N_("%s: unable to get host principal: %s"), auth_name, + error_message(error)); + debug_return_int(-1); + } + + /* Initialize verify opts and set secure mode */ + krb5_verify_init_creds_opt_init(&vopt); + krb5_verify_init_creds_opt_set_ap_req_nofail(&vopt, 1); + + /* verify the Kerberos ticket-granting ticket we just retrieved */ + error = krb5_verify_init_creds(sudo_context, cred, server, NULL, + NULL, &vopt); + krb5_free_principal(sudo_context, server); + if (error) { + log_warningx(0, N_("%s: Cannot verify TGT! Possible attack!: %s"), + auth_name, error_message(error)); + } + debug_return_int(error); +} +#endif + +#endif /* HAVE_KERB5 */ diff --git a/plugins/sudoers/auth/pam.c b/plugins/sudoers/auth/pam.c new file mode 100644 index 0000000..92cd2dd --- /dev/null +++ b/plugins/sudoers/auth/pam.c @@ -0,0 +1,766 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1999-2005, 2007-2020 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Sponsored in part by the Defense Advanced Research Projects + * Agency (DARPA) and Air Force Research Laboratory, Air Force + * Materiel Command, USAF, under agreement number F39502-99-1-0512. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#ifdef HAVE_PAM + +#include +#include +#include +#include +#include +#include +#include + +#ifdef HAVE_PAM_PAM_APPL_H +# include +#else +# include +#endif + +#ifdef __hpux +# include +#endif + +#ifdef HAVE_LIBINTL_H +# if defined(__LINUX_PAM__) +# define PAM_TEXT_DOMAIN "Linux-PAM" +# elif defined(__sun__) +# define PAM_TEXT_DOMAIN "SUNW_OST_SYSOSPAM" +# endif +#endif + +/* We don't want to translate the strings in the calls to dgt(). */ +#ifdef PAM_TEXT_DOMAIN +# define dgt(d, t) dgettext(d, t) +#endif + +#include "sudoers.h" +#include "sudo_auth.h" + +/* Only OpenPAM and Linux PAM use const qualifiers. */ +#ifdef PAM_SUN_CODEBASE +# define PAM_CONST +#else +# define PAM_CONST const +#endif + +/* Ambiguity in spec: is it an array of pointers or a pointer to an array? */ +#ifdef PAM_SUN_CODEBASE +# define PAM_MSG_GET(msg, n) (*(msg) + (n)) +#else +# define PAM_MSG_GET(msg, n) ((msg)[(n)]) +#endif + +#ifndef PAM_DATA_SILENT +#define PAM_DATA_SILENT 0 +#endif + +struct conv_filter { + char *msg; + size_t msglen; +}; + +static int converse(int, PAM_CONST struct pam_message **, + struct pam_response **, void *); +static struct sudo_conv_callback *conv_callback; +static struct pam_conv pam_conv = { converse, &conv_callback }; +static const char *def_prompt = PASSPROMPT; +static bool getpass_error; +static bool noninteractive; +static pam_handle_t *pamh; +static struct conv_filter *conv_filter; + +static void +conv_filter_init(void) +{ + debug_decl(conv_filter_init, SUDOERS_DEBUG_AUTH); + +#ifdef __hpux + /* + * HP-UX displays last login information as part of either account + * management (in trusted mode) or session management (regular mode). + * Filter those out in the conversation function unless running a shell. + */ + if (!ISSET(sudo_mode, MODE_SHELL|MODE_LOGIN_SHELL)) { + int i, nfilt = 0, maxfilters = 0; + struct conv_filter *newfilt; + nl_catd catd; + char *msg; + + /* + * Messages from PAM account management when trusted mode is enabled: + * 1 Last successful login for %s: %s + * 2 Last successful login for %s: %s on %s + * 3 Last unsuccessful login for %s: %s + * 4 Last unsuccessful login for %s: %s on %s + */ + if ((catd = catopen("pam_comsec", NL_CAT_LOCALE)) != -1) { + maxfilters += 4; + newfilt = reallocarray(conv_filter, maxfilters + 1, + sizeof(*conv_filter)); + if (newfilt != NULL) { + conv_filter = newfilt; + for (i = 1; i < 5; i++) { + if ((msg = catgets(catd, 1, i, NULL)) == NULL) + break; + sudo_debug_printf(SUDO_DEBUG_INFO|SUDO_DEBUG_LINENO, + "adding \"%s\" to conversation filter", msg); + if ((conv_filter[nfilt].msg = strdup(msg)) == NULL) + break; + conv_filter[nfilt].msglen = strcspn(msg, "%"); + nfilt++; + } + } + } + /* + * Messages from PAM session management when trusted mode is disabled: + * 3 Last successful login: %s %s %s %s + * 4 Last authentication failure: %s %s %s %s + */ + if ((catd = catopen("pam_hpsec", NL_CAT_LOCALE)) != -1) { + maxfilters += 2; + newfilt = reallocarray(conv_filter, maxfilters + 1, + sizeof(*conv_filter)); + if (newfilt != NULL) { + conv_filter = newfilt; + for (i = 3; i < 5; i++) { + if ((msg = catgets(catd, 1, i, NULL)) == NULL) + break; + sudo_debug_printf(SUDO_DEBUG_INFO|SUDO_DEBUG_LINENO, + "adding \"%s\" to conversation filter", msg); + if ((conv_filter[nfilt].msg = strdup(msg)) == NULL) + break; + conv_filter[nfilt].msglen = strcspn(msg, "%"); + nfilt++; + } + } + } + if (conv_filter != NULL) { + conv_filter[nfilt].msg = NULL; + conv_filter[nfilt].msglen = 0; + } + } +#endif /* __hpux */ + debug_return; +} + +/* + * Like pam_strerror() but never returns NULL and uses strerror(errno) + * for PAM_SYSTEM_ERR. + */ +static const char * +sudo_pam_strerror(pam_handle_t *handle, int errnum) +{ + const char *errstr; + static char errbuf[32]; + + if (errnum == PAM_SYSTEM_ERR) + return strerror(errno); + if ((errstr = pam_strerror(handle, errnum)) == NULL) + (void)snprintf(errbuf, sizeof(errbuf), "PAM error %d", errnum); + return errstr; +} + +static int +sudo_pam_init2(struct passwd *pw, sudo_auth *auth, bool quiet) +{ + static int pam_status = PAM_SUCCESS; + const char *ttypath = user_ttypath; + const char *errstr, *pam_service; + int rc; + debug_decl(sudo_pam_init, SUDOERS_DEBUG_AUTH); + + /* Stash pointer to last pam status. */ + auth->data = &pam_status; + + if (pamh != NULL) { + /* Already initialized (may happen with AIX or with sub-commands). */ + debug_return_int(AUTH_SUCCESS); + } + + /* Stash value of noninteractive flag for conversation function. */ + noninteractive = IS_NONINTERACTIVE(auth); + + /* Initialize PAM. */ + if (ISSET(sudo_mode, MODE_ASKPASS) && def_pam_askpass_service != NULL) { + pam_service = def_pam_askpass_service; + } else { + pam_service = ISSET(sudo_mode, MODE_LOGIN_SHELL) ? + def_pam_login_service : def_pam_service; + } + pam_status = pam_start(pam_service, pw->pw_name, &pam_conv, &pamh); + if (pam_status != PAM_SUCCESS) { + errstr = sudo_pam_strerror(NULL, pam_status); + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "pam_start(%s, %s, %p, %p): %s", pam_service, pw->pw_name, + &pam_conv, &pamh, errstr); + if (!quiet) + log_warningx(0, N_("unable to initialize PAM: %s"), errstr); + debug_return_int(AUTH_FATAL); + } + + /* Initialize conversation function message filter. */ + conv_filter_init(); + + /* + * Set PAM_RUSER to the invoking user (the "from" user). + * Solaris 7 and below require PAM_RHOST to be set if PAM_RUSER is. + * Note: PAM_RHOST may cause a DNS lookup on Linux in libaudit. + */ + if (def_pam_ruser) { + rc = pam_set_item(pamh, PAM_RUSER, user_name); + if (rc != PAM_SUCCESS) { + errstr = sudo_pam_strerror(pamh, rc); + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "pam_set_item(pamh, PAM_RUSER, %s): %s", user_name, errstr); + } + } + if (def_pam_rhost) { + rc = pam_set_item(pamh, PAM_RHOST, user_host); + if (rc != PAM_SUCCESS) { + errstr = sudo_pam_strerror(pamh, rc); + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "pam_set_item(pamh, PAM_RHOST, %s): %s", user_host, errstr); + } + } + if (ttypath != NULL) { + rc = pam_set_item(pamh, PAM_TTY, ttypath); + if (rc != PAM_SUCCESS) { + errstr = sudo_pam_strerror(pamh, rc); + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "pam_set_item(pamh, PAM_TTY, %s): %s", ttypath, errstr); + } + } + + /* + * If PAM session and setcred support is disabled we don't + * need to keep a sudo process around to close the session. + */ + if (!def_pam_session && !def_pam_setcred) + auth->end_session = NULL; + + debug_return_int(AUTH_SUCCESS); +} + +int +sudo_pam_init(struct passwd *pw, sudo_auth *auth) +{ + return sudo_pam_init2(pw, auth, false); +} + +#ifdef _AIX +int +sudo_pam_init_quiet(struct passwd *pw, sudo_auth *auth) +{ + return sudo_pam_init2(pw, auth, true); +} +#endif /* _AIX */ + +int +sudo_pam_verify(struct passwd *pw, const char *prompt, sudo_auth *auth, struct sudo_conv_callback *callback) +{ + const char *envccname; + const char *s; + int *pam_status = (int *) auth->data; + debug_decl(sudo_pam_verify, SUDOERS_DEBUG_AUTH); + + def_prompt = prompt; /* for converse */ + getpass_error = false; /* set by converse if user presses ^C */ + conv_callback = callback; /* passed to conversation function */ + + /* Set KRB5CCNAME from the user environment if not set to propagate this + * information to PAM modules that may use it to authentication. */ + envccname = sudo_getenv("KRB5CCNAME"); + if (envccname == NULL && user_ccname != NULL) { + if (sudo_setenv("KRB5CCNAME", user_ccname, true) != 0) { + sudo_debug_printf(SUDO_DEBUG_WARN|SUDO_DEBUG_LINENO, + "unable to set KRB5CCNAME"); + debug_return_int(AUTH_FAILURE); + } + } + + /* PAM_SILENT prevents the authentication service from generating output. */ + *pam_status = pam_authenticate(pamh, PAM_SILENT); + + /* Restore def_prompt, the passed-in prompt may be freed later. */ + def_prompt = PASSPROMPT; + + /* Restore KRB5CCNAME to its original value. */ + if (envccname == NULL && sudo_unsetenv("KRB5CCNAME") != 0) { + sudo_debug_printf(SUDO_DEBUG_WARN|SUDO_DEBUG_LINENO, + "unable to restore KRB5CCNAME"); + debug_return_int(AUTH_FAILURE); + } + + if (getpass_error) { + /* error or ^C from tgetpass() or running non-interactive */ + debug_return_int(noninteractive ? AUTH_NONINTERACTIVE : AUTH_INTR); + } + switch (*pam_status) { + case PAM_SUCCESS: + debug_return_int(AUTH_SUCCESS); + case PAM_AUTH_ERR: + case PAM_AUTHINFO_UNAVAIL: + case PAM_MAXTRIES: + case PAM_PERM_DENIED: + sudo_debug_printf(SUDO_DEBUG_WARN|SUDO_DEBUG_LINENO, + "pam_authenticate: %d", *pam_status); + debug_return_int(AUTH_FAILURE); + default: + s = sudo_pam_strerror(pamh, *pam_status); + log_warningx(0, N_("PAM authentication error: %s"), s); + debug_return_int(AUTH_FATAL); + } +} + +int +sudo_pam_approval(struct passwd *pw, sudo_auth *auth, bool exempt) +{ + const char *s; + int rc, status = AUTH_SUCCESS; + int *pam_status = (int *) auth->data; + debug_decl(sudo_pam_approval, SUDOERS_DEBUG_AUTH); + + if (def_pam_acct_mgmt) { + rc = pam_acct_mgmt(pamh, PAM_SILENT); + switch (rc) { + case PAM_SUCCESS: + break; + case PAM_AUTH_ERR: + log_warningx(0, N_("account validation failure, " + "is your account locked?")); + status = AUTH_FATAL; + break; + case PAM_NEW_AUTHTOK_REQD: + /* Ignore if user is exempt from password restrictions. */ + if (exempt) { + rc = *pam_status; + break; + } + /* New password required, try to change it. */ + log_warningx(0, N_("Account or password is " + "expired, reset your password and try again")); + rc = pam_chauthtok(pamh, PAM_CHANGE_EXPIRED_AUTHTOK); + if (rc == PAM_SUCCESS) + break; + s = pam_strerror(pamh, rc); + log_warningx(0, N_("unable to change expired password: %s"), s); + status = AUTH_FAILURE; + break; + case PAM_AUTHTOK_EXPIRED: + /* Ignore if user is exempt from password restrictions. */ + if (exempt) { + rc = *pam_status; + break; + } + /* Password expired, cannot be updated by user. */ + log_warningx(0, + N_("Password expired, contact your system administrator")); + status = AUTH_FATAL; + break; + case PAM_ACCT_EXPIRED: + log_warningx(0, + N_("Account expired or PAM config lacks an \"account\" " + "section for sudo, contact your system administrator")); + status = AUTH_FATAL; + break; + case PAM_AUTHINFO_UNAVAIL: + case PAM_MAXTRIES: + case PAM_PERM_DENIED: + s = sudo_pam_strerror(pamh, rc); + log_warningx(0, N_("PAM account management error: %s"), s); + status = AUTH_FAILURE; + break; + default: + s = sudo_pam_strerror(pamh, rc); + log_warningx(0, N_("PAM account management error: %s"), s); + status = AUTH_FATAL; + break; + } + *pam_status = rc; + } + debug_return_int(status); +} + +int +sudo_pam_cleanup(struct passwd *pw, sudo_auth *auth, bool force) +{ + int *pam_status = (int *) auth->data; + debug_decl(sudo_pam_cleanup, SUDOERS_DEBUG_AUTH); + + /* If successful, we can't close the session until sudo_pam_end_session() */ + if (force || *pam_status != PAM_SUCCESS || auth->end_session == NULL) { + *pam_status = pam_end(pamh, *pam_status | PAM_DATA_SILENT); + pamh = NULL; + } + debug_return_int(*pam_status == PAM_SUCCESS ? AUTH_SUCCESS : AUTH_FAILURE); +} + +int +sudo_pam_begin_session(struct passwd *pw, char **user_envp[], sudo_auth *auth) +{ + int rc, status = AUTH_SUCCESS; + int *pam_status = (int *) auth->data; + const char *errstr; + debug_decl(sudo_pam_begin_session, SUDOERS_DEBUG_AUTH); + + /* + * If there is no valid user we cannot open a PAM session. + * This is not an error as sudo can run commands with arbitrary + * uids, it just means we are done from a session management standpoint. + */ + if (pw == NULL) { + if (pamh != NULL) { + rc = pam_end(pamh, PAM_SUCCESS | PAM_DATA_SILENT); + if (rc != PAM_SUCCESS) { + errstr = sudo_pam_strerror(pamh, rc); + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "pam_end: %s", errstr); + } + pamh = NULL; + } + goto done; + } + + /* + * Update PAM_USER to reference the user we are running the command + * as, as opposed to the user we authenticated as. + */ + rc = pam_set_item(pamh, PAM_USER, pw->pw_name); + if (rc != PAM_SUCCESS) { + errstr = sudo_pam_strerror(pamh, rc); + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "pam_set_item(pamh, PAM_USER, %s): %s", pw->pw_name, errstr); + } + + /* + * Reinitialize credentials when changing the user. + * We don't worry about a failure from pam_setcred() since with + * stacked PAM auth modules a failure from one module may override + * PAM_SUCCESS from another. For example, given a non-local user, + * pam_unix will fail but pam_ldap or pam_sss may succeed, but if + * pam_unix is first in the stack, pam_setcred() will fail. + */ + if (def_pam_setcred) { + rc = pam_setcred(pamh, PAM_REINITIALIZE_CRED); + if (rc != PAM_SUCCESS) { + errstr = sudo_pam_strerror(pamh, rc); + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "pam_setcred: %s", errstr); + def_pam_setcred = false; + } + } + + if (def_pam_session) { + /* + * We use PAM_SILENT to prevent pam_lastlog from printing last login + * information except when explicitly running a shell. + */ + const bool silent = !ISSET(sudo_mode, MODE_SHELL|MODE_LOGIN_SHELL); + rc = pam_open_session(pamh, silent ? PAM_SILENT : 0); + switch (rc) { + case PAM_SUCCESS: + break; + case PAM_SESSION_ERR: + /* Treat PAM_SESSION_ERR as a non-fatal error. */ + errstr = sudo_pam_strerror(pamh, rc); + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "pam_open_session: %s", errstr); + /* Avoid closing session that was not opened. */ + def_pam_session = false; + break; + default: + /* Unexpected session failure, treat as fatal error. */ + *pam_status = rc; + errstr = sudo_pam_strerror(pamh, rc); + log_warningx(0, N_("%s: %s"), "pam_open_session", errstr); + rc = pam_end(pamh, *pam_status | PAM_DATA_SILENT); + if (rc != PAM_SUCCESS) { + errstr = sudo_pam_strerror(pamh, rc); + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "pam_end: %s", errstr); + } + pamh = NULL; + status = AUTH_FATAL; + goto done; + } + } + +#ifdef HAVE_PAM_GETENVLIST + /* + * Update environment based on what is stored in pamh. + * If no authentication is done we will only have environment + * variables if pam_env is called via session. + */ + if (user_envp != NULL) { + char **pam_envp = pam_getenvlist(pamh); + if (pam_envp != NULL) { + /* Merge pam env with user env. */ + if (!env_init(*user_envp) || !env_merge(pam_envp)) + status = AUTH_FATAL; + *user_envp = env_get(); + free(pam_envp); + /* XXX - we leak any duplicates that were in pam_envp */ + } + } +#endif /* HAVE_PAM_GETENVLIST */ + +done: + debug_return_int(status); +} + +int +sudo_pam_end_session(struct passwd *pw, sudo_auth *auth) +{ + int rc, status = AUTH_SUCCESS; + const char *errstr; + debug_decl(sudo_pam_end_session, SUDOERS_DEBUG_AUTH); + + if (pamh != NULL) { + /* + * Update PAM_USER to reference the user we are running the command + * as, as opposed to the user we authenticated as. + * XXX - still needed now that session init is in parent? + */ + rc = pam_set_item(pamh, PAM_USER, pw->pw_name); + if (rc != PAM_SUCCESS) { + errstr = sudo_pam_strerror(pamh, rc); + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "pam_set_item(pamh, PAM_USER, %s): %s", pw->pw_name, errstr); + } + if (def_pam_session) { + rc = pam_close_session(pamh, PAM_SILENT); + if (rc != PAM_SUCCESS) { + errstr = sudo_pam_strerror(pamh, rc); + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "pam_close_session: %s", errstr); + } + } + if (def_pam_setcred) { + rc = pam_setcred(pamh, PAM_DELETE_CRED | PAM_SILENT); + if (rc != PAM_SUCCESS) { + errstr = sudo_pam_strerror(pamh, rc); + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "pam_setcred: %s", errstr); + } + } + rc = pam_end(pamh, PAM_SUCCESS | PAM_DATA_SILENT); + if (rc != PAM_SUCCESS) { + errstr = sudo_pam_strerror(pamh, rc); + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "pam_end: %s", errstr); + status = AUTH_FATAL; + } + pamh = NULL; + } + + debug_return_int(status); +} + +#define PROMPT_IS_PASSWORD(_p) \ + (strncmp((_p), "Password:", 9) == 0 && \ + ((_p)[9] == '\0' || ((_p)[9] == ' ' && (_p)[10] == '\0'))) + +#ifdef PAM_TEXT_DOMAIN +# define PAM_PROMPT_IS_PASSWORD(_p) \ + (strcmp((_p), dgt(PAM_TEXT_DOMAIN, "Password:")) == 0 || \ + strcmp((_p), dgt(PAM_TEXT_DOMAIN, "Password: ")) == 0 || \ + PROMPT_IS_PASSWORD(_p)) +#else +# define PAM_PROMPT_IS_PASSWORD(_p) PROMPT_IS_PASSWORD(_p) +#endif /* PAM_TEXT_DOMAIN */ + +/* + * We use the PAM prompt in preference to sudo's as long + * as passprompt_override is not set and: + * a) the (translated) sudo prompt matches /^Password: ?/ + * or: + * b) the PAM prompt itself *doesn't* match /^Password: ?/ + * or /^username's Password: ?/ + * + * The intent is to use the PAM prompt for things like + * challenge-response, otherwise use sudo's prompt. + * There may also be cases where a localized translation + * of "Password: " exists for PAM but not for sudo. + */ +static bool +use_pam_prompt(const char *pam_prompt) +{ + size_t user_len; + debug_decl(use_pam_prompt, SUDOERS_DEBUG_AUTH); + + /* Always use sudo prompt if passprompt_override is set. */ + if (def_passprompt_override) + debug_return_bool(false); + + /* If sudo prompt matches "^Password: ?$", use PAM prompt. */ + if (PROMPT_IS_PASSWORD(def_prompt)) + debug_return_bool(true); + + /* If PAM prompt matches "^Password: ?$", use sudo prompt. */ + if (PAM_PROMPT_IS_PASSWORD(pam_prompt)) + debug_return_bool(false); + + /* + * Some PAM modules use "^username's Password: ?$" instead of + * "^Password: ?" so check for that too. + */ + user_len = strlen(user_name); + if (strncmp(pam_prompt, user_name, user_len) == 0) { + const char *cp = pam_prompt + user_len; + if (strncmp(cp, "'s Password:", 12) == 0 && + (cp[12] == '\0' || (cp[12] == ' ' && cp[13] == '\0'))) + debug_return_bool(false); + } + + /* Otherwise, use the PAM prompt. */ + debug_return_bool(true); +} + +static bool +is_filtered(const char *msg) +{ + bool filtered = false; + + if (conv_filter != NULL) { + struct conv_filter *filt = conv_filter; + while (filt->msg != NULL) { + if (strncmp(msg, filt->msg, filt->msglen) == 0) { + filtered = true; + break; + } + filt++; + } + } + return filtered; +} + +/* + * ``Conversation function'' for PAM <-> human interaction. + */ +static int +converse(int num_msg, PAM_CONST struct pam_message **msg, + struct pam_response **reply_out, void *vcallback) +{ + struct sudo_conv_callback *callback = NULL; + struct pam_response *reply; + const char *prompt; + char *pass; + int n, type; + debug_decl(converse, SUDOERS_DEBUG_AUTH); + + if (num_msg <= 0 || num_msg > PAM_MAX_NUM_MSG) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "invalid number of PAM messages: %d", num_msg); + debug_return_int(PAM_CONV_ERR); + } + sudo_debug_printf(SUDO_DEBUG_DEBUG|SUDO_DEBUG_LINENO, + "number of PAM messages: %d", num_msg); + + if ((reply = calloc(num_msg, sizeof(struct pam_response))) == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + debug_return_int(PAM_BUF_ERR); + } + + if (vcallback != NULL) + callback = *((struct sudo_conv_callback **)vcallback); + + for (n = 0; n < num_msg; n++) { + PAM_CONST struct pam_message *pm = PAM_MSG_GET(msg, n); + + type = SUDO_CONV_PROMPT_ECHO_OFF; + switch (pm->msg_style) { + case PAM_PROMPT_ECHO_ON: + type = SUDO_CONV_PROMPT_ECHO_ON; + FALLTHROUGH; + case PAM_PROMPT_ECHO_OFF: + /* Error out if the last password read was interrupted. */ + if (getpass_error) + goto bad; + + /* Treat non-interactive mode as a getpass error. */ + if (noninteractive) { + getpass_error = true; + goto bad; + } + + /* Choose either the sudo prompt or the PAM one. */ + prompt = use_pam_prompt(pm->msg) ? pm->msg : def_prompt; + + /* Read the password unless interrupted. */ + pass = auth_getpass(prompt, type, callback); + if (pass == NULL) { + /* Error (or ^C) reading password, don't try again. */ + getpass_error = true; + goto bad; + } + if (strlen(pass) >= PAM_MAX_RESP_SIZE) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "password longer than %d", PAM_MAX_RESP_SIZE); + freezero(pass, strlen(pass)); + pass = NULL; + goto bad; + } + reply[n].resp = pass; /* auth_getpass() malloc's a copy */ + break; + case PAM_TEXT_INFO: + if (pm->msg != NULL && !is_filtered(pm->msg)) + sudo_printf(SUDO_CONV_INFO_MSG|SUDO_CONV_PREFER_TTY, + "%s\n", pm->msg); + break; + case PAM_ERROR_MSG: + if (pm->msg != NULL) + sudo_printf(SUDO_CONV_ERROR_MSG|SUDO_CONV_PREFER_TTY, + "%s\n", pm->msg); + break; + default: + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "unsupported message style: %d", pm->msg_style); + goto bad; + } + } + + *reply_out = reply; + debug_return_int(PAM_SUCCESS); + +bad: + /* Zero and free allocated memory and return an error. */ + for (n = 0; n < num_msg; n++) { + struct pam_response *pr = &reply[n]; + + if (pr->resp != NULL) { + freezero(pr->resp, strlen(pr->resp)); + pr->resp = NULL; + } + } + free(reply); + debug_return_int(PAM_CONV_ERR); +} + +#endif /* HAVE_PAM */ diff --git a/plugins/sudoers/auth/passwd.c b/plugins/sudoers/auth/passwd.c new file mode 100644 index 0000000..6967e4f --- /dev/null +++ b/plugins/sudoers/auth/passwd.c @@ -0,0 +1,130 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1999-2005, 2010-2015 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Sponsored in part by the Defense Advanced Research Projects + * Agency (DARPA) and Air Force Research Laboratory, Air Force + * Materiel Command, USAF, under agreement number F39502-99-1-0512. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include +#include +#include +#include + +#include "sudoers.h" +#include "sudo_auth.h" + +#define DESLEN 13 +#define HAS_AGEINFO(p, l) (l == 18 && p[DESLEN] == ',') + +int +sudo_passwd_init(struct passwd *pw, sudo_auth *auth) +{ + debug_decl(sudo_passwd_init, SUDOERS_DEBUG_AUTH); + + /* Only initialize once. */ + if (auth->data != NULL) + debug_return_int(AUTH_SUCCESS); + +#ifdef HAVE_SKEYACCESS + if (skeyaccess(pw, user_tty, NULL, NULL) == 0) + debug_return_int(AUTH_FAILURE); +#endif + sudo_setspent(); + auth->data = sudo_getepw(pw); + sudo_endspent(); + debug_return_int(auth->data ? AUTH_SUCCESS : AUTH_FATAL); +} + +#ifdef HAVE_CRYPT +int +sudo_passwd_verify(struct passwd *pw, const char *pass, sudo_auth *auth, struct sudo_conv_callback *callback) +{ + char des_pass[9], *epass; + char *pw_epasswd = auth->data; + size_t pw_len; + int matched = 0; + debug_decl(sudo_passwd_verify, SUDOERS_DEBUG_AUTH); + + /* An empty plain-text password must match an empty encrypted password. */ + if (pass[0] == '\0') + debug_return_int(pw_epasswd[0] ? AUTH_FAILURE : AUTH_SUCCESS); + + /* + * Truncate to 8 chars if standard DES since not all crypt()'s do this. + */ + pw_len = strlen(pw_epasswd); + if (pw_len == DESLEN || HAS_AGEINFO(pw_epasswd, pw_len)) { + strlcpy(des_pass, pass, sizeof(des_pass)); + pass = des_pass; + } + + /* + * Normal UN*X password check. + * HP-UX may add aging info (separated by a ',') at the end so + * only compare the first DESLEN characters in that case. + */ + epass = (char *) crypt(pass, pw_epasswd); + if (epass != NULL) { + if (HAS_AGEINFO(pw_epasswd, pw_len) && strlen(epass) == DESLEN) + matched = !strncmp(pw_epasswd, epass, DESLEN); + else + matched = !strcmp(pw_epasswd, epass); + } + + explicit_bzero(des_pass, sizeof(des_pass)); + + debug_return_int(matched ? AUTH_SUCCESS : AUTH_FAILURE); +} +#else +int +sudo_passwd_verify(struct passwd *pw, const char *pass, sudo_auth *auth, struct sudo_conv_callback *callback) +{ + char *pw_passwd = auth->data; + int matched; + debug_decl(sudo_passwd_verify, SUDOERS_DEBUG_AUTH); + + /* Simple string compare for systems without crypt(). */ + matched = !strcmp(pass, pw_passwd); + + debug_return_int(matched ? AUTH_SUCCESS : AUTH_FAILURE); +} +#endif + +int +sudo_passwd_cleanup(struct passwd *pw, sudo_auth *auth, bool force) +{ + debug_decl(sudo_passwd_cleanup, SUDOERS_DEBUG_AUTH); + + if (auth->data != NULL) { + /* Zero out encrypted password before freeing. */ + size_t len = strlen((char *)auth->data); + freezero(auth->data, len); + auth->data = NULL; + } + + debug_return_int(AUTH_SUCCESS); +} diff --git a/plugins/sudoers/auth/rfc1938.c b/plugins/sudoers/auth/rfc1938.c new file mode 100644 index 0000000..2065c52 --- /dev/null +++ b/plugins/sudoers/auth/rfc1938.c @@ -0,0 +1,139 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1994-1996, 1998-2005, 2010-2012, 2014-2015 + * Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Sponsored in part by the Defense Advanced Research Projects + * Agency (DARPA) and Air Force Research Laboratory, Air Force + * Materiel Command, USAF, under agreement number F39502-99-1-0512. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#if defined(HAVE_SKEY) || defined(HAVE_OPIE) + +#include +#include +#include +#include +#include +#include + +#if defined(HAVE_SKEY) +# include +# define RFC1938 skey +# ifdef HAVE_RFC1938_SKEYCHALLENGE +# define rfc1938challenge(a,b,c,d) skeychallenge((a),(b),(c),(d)) +# else +# define rfc1938challenge(a,b,c,d) skeychallenge((a),(b),(c)) +# endif +# define rfc1938verify(a,b) skeyverify((a),(b)) +#elif defined(HAVE_OPIE) +# include +# define RFC1938 opie +# define rfc1938challenge(a,b,c,d) opiechallenge((a),(b),(c)) +# define rfc1938verify(a,b) opieverify((a),(b)) +#endif + +#include "sudoers.h" +#include "sudo_auth.h" + +int +sudo_rfc1938_setup(struct passwd *pw, char **promptp, sudo_auth *auth) +{ + char challenge[256]; + size_t challenge_len; + static char *orig_prompt = NULL, *new_prompt = NULL; + static size_t op_len, np_size; + static struct RFC1938 rfc1938; + debug_decl(sudo_rfc1938_setup, SUDOERS_DEBUG_AUTH); + + /* Stash a pointer to the rfc1938 struct if we have not initialized */ + if (!auth->data) + auth->data = &rfc1938; + + /* Save the original prompt */ + if (orig_prompt == NULL) { + orig_prompt = *promptp; + op_len = strlen(orig_prompt); + + /* Ignore trailing colon (we will add our own) */ + if (orig_prompt[op_len - 1] == ':') + op_len--; + else if (op_len >= 2 && orig_prompt[op_len - 1] == ' ' + && orig_prompt[op_len - 2] == ':') + op_len -= 2; + } + +#ifdef HAVE_SKEY + /* Close old stream */ + if (rfc1938.keyfile) + (void) fclose(rfc1938.keyfile); +#endif + + /* + * Look up the user and get the rfc1938 challenge. + * If the user is not in the OTP db, only post a fatal error if + * we are running alone (since they may just use a normal passwd). + */ + if (rfc1938challenge(&rfc1938, pw->pw_name, challenge, sizeof(challenge))) { + if (IS_ONEANDONLY(auth)) { + sudo_warnx(U_("you do not exist in the %s database"), auth->name); + debug_return_int(AUTH_FATAL); + } else { + debug_return_int(AUTH_FAILURE); + } + } + + /* Get space for new prompt with embedded challenge */ + challenge_len = strlen(challenge); + if (np_size < op_len + challenge_len + 7) { + char *p = realloc(new_prompt, op_len + challenge_len + 7); + if (p == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + debug_return_int(AUTH_FATAL); + } + np_size = op_len + challenge_len + 7; + new_prompt = p; + } + + if (def_long_otp_prompt) + (void) snprintf(new_prompt, np_size, "%s\n%s", challenge, orig_prompt); + else + (void) snprintf(new_prompt, np_size, "%.*s [ %s ]:", (int)op_len, + orig_prompt, challenge); + + *promptp = new_prompt; + debug_return_int(AUTH_SUCCESS); +} + +int +sudo_rfc1938_verify(struct passwd *pw, const char *pass, sudo_auth *auth, struct sudo_conv_callback *callback) +{ + debug_decl(sudo_rfc1938_verify, SUDOERS_DEBUG_AUTH); + + if (rfc1938verify((struct RFC1938 *) auth->data, (char *)pass) == 0) + debug_return_int(AUTH_SUCCESS); + else + debug_return_int(AUTH_FAILURE); +} + +#endif /* HAVE_SKEY || HAVE_OPIE */ diff --git a/plugins/sudoers/auth/secureware.c b/plugins/sudoers/auth/secureware.c new file mode 100644 index 0000000..49a4b4e --- /dev/null +++ b/plugins/sudoers/auth/secureware.c @@ -0,0 +1,113 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1998-2005, 2010-2015 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Sponsored in part by the Defense Advanced Research Projects + * Agency (DARPA) and Air Force Research Laboratory, Air Force + * Materiel Command, USAF, under agreement number F39502-99-1-0512. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#ifdef HAVE_GETPRPWNAM + +#include +#include +#include +#include +#include +#include +#ifdef __hpux +# undef MAXINT +# include +#else +# include +#endif /* __hpux */ +#include + +#include "sudoers.h" +#include "sudo_auth.h" + +#ifdef __alpha +extern int crypt_type; +#endif + +int +sudo_secureware_init(struct passwd *pw, sudo_auth *auth) +{ + debug_decl(sudo_secureware_init, SUDOERS_DEBUG_AUTH); + + /* Only initialize once. */ + if (auth->data != NULL) + debug_return_int(AUTH_SUCCESS); + +#ifdef __alpha + if (crypt_type == INT_MAX) + debug_return_int(AUTH_FAILURE); /* no shadow */ +#endif + + sudo_setspent(); + auth->data = sudo_getepw(pw); + sudo_endspent(); + debug_return_int(auth->data ? AUTH_SUCCESS : AUTH_FATAL); +} + +int +sudo_secureware_verify(struct passwd *pw, const char *pass, sudo_auth *auth, struct sudo_conv_callback *callback) +{ + char *pw_epasswd = auth->data; + char *epass = NULL; + debug_decl(sudo_secureware_verify, SUDOERS_DEBUG_AUTH); + + /* An empty plain-text password must match an empty encrypted password. */ + if (pass[0] == '\0') + debug_return_int(pw_epasswd[0] ? AUTH_FAILURE : AUTH_SUCCESS); + +#if defined(__alpha) +# ifdef HAVE_DISPCRYPT + epass = dispcrypt(pass, pw_epasswd, crypt_type); +# else + if (crypt_type == AUTH_CRYPT_BIGCRYPT) + epass = bigcrypt(pass, pw_epasswd); + else if (crypt_type == AUTH_CRYPT_CRYPT16) + epass = crypt(pass, pw_epasswd); +# endif /* HAVE_DISPCRYPT */ +#elif defined(HAVE_BIGCRYPT) + epass = bigcrypt(pass, pw_epasswd); +#endif /* __alpha */ + + if (epass != NULL && strcmp(pw_epasswd, epass) == 0) + debug_return_int(AUTH_SUCCESS); + debug_return_int(AUTH_FAILURE); +} + +int +sudo_secureware_cleanup(struct passwd *pw, sudo_auth *auth, bool force) +{ + char *pw_epasswd = auth->data; + debug_decl(sudo_secureware_cleanup, SUDOERS_DEBUG_AUTH); + + if (pw_epasswd != NULL) + freezero(pw_epasswd, strlen(pw_epasswd)); + debug_return_int(AUTH_SUCCESS); +} + +#endif /* HAVE_GETPRPWNAM */ diff --git a/plugins/sudoers/auth/securid5.c b/plugins/sudoers/auth/securid5.c new file mode 100644 index 0000000..349a311 --- /dev/null +++ b/plugins/sudoers/auth/securid5.c @@ -0,0 +1,234 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1999-2005, 2007, 2010-2012, 2014-2016 + * Todd C. Miller + * Copyright (c) 2002 Michael Stroucken + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Sponsored in part by the Defense Advanced Research Projects + * Agency (DARPA) and Air Force Research Laboratory, Air Force + * Materiel Command, USAF, under agreement number F39502-99-1-0512. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#ifdef HAVE_SECURID + +#include +#include +#include +#include +#include +#include + +/* Needed for SecurID v5.0 Authentication on UNIX */ +#define UNIX 1 +#include +#include + +#include "sudoers.h" +#include "sudo_auth.h" + +/* + * securid_init - Initialises communications with ACE server + * Arguments in: + * pw - UNUSED + * auth - sudo authentication structure + * + * Results out: + * auth - auth->data contains pointer to new SecurID handle + * return code - Fatal if initialization unsuccessful, otherwise + * success. + */ +int +sudo_securid_init(struct passwd *pw, sudo_auth *auth) +{ + static SDI_HANDLE sd_dat; /* SecurID handle */ + debug_decl(sudo_securid_init, SUDOERS_DEBUG_AUTH); + + /* Only initialize once. */ + if (auth->data != NULL) + debug_return_int(AUTH_SUCCESS); + + if (IS_NONINTERACTIVE(auth)) + debug_return_int(AUTH_NONINTERACTIVE); + + /* Start communications */ + if (AceInitialize() == SD_FALSE) { + sudo_warnx("%s", U_("failed to initialise the ACE API library")); + debug_return_int(AUTH_FATAL); + } + + auth->data = (void *) &sd_dat; /* For method-specific data */ + + debug_return_int(AUTH_SUCCESS); +} + +/* + * securid_setup - Initialises a SecurID transaction and locks out other + * ACE servers + * + * Arguments in: + * pw - struct passwd for username + * promptp - UNUSED + * auth - sudo authentication structure for SecurID handle + * + * Results out: + * return code - Success if transaction started correctly, fatal + * otherwise + */ +int +sudo_securid_setup(struct passwd *pw, char **promptp, sudo_auth *auth) +{ + SDI_HANDLE *sd = (SDI_HANDLE *) auth->data; + int retval; + debug_decl(sudo_securid_setup, SUDOERS_DEBUG_AUTH); + + /* Re-initialize SecurID every time. */ + if (SD_Init(sd) != ACM_OK) { + sudo_warnx("%s", U_("unable to contact the SecurID server")); + debug_return_int(AUTH_FATAL); + } + + /* Lock new PIN code */ + retval = SD_Lock(*sd, pw->pw_name); + + switch (retval) { + case ACM_OK: + sudo_warnx("%s", U_("User ID locked for SecurID Authentication")); + debug_return_int(AUTH_SUCCESS); + + case ACE_UNDEFINED_USERNAME: + sudo_warnx("%s", U_("invalid username length for SecurID")); + debug_return_int(AUTH_FATAL); + + case ACE_ERR_INVALID_HANDLE: + sudo_warnx("%s", U_("invalid Authentication Handle for SecurID")); + debug_return_int(AUTH_FATAL); + + case ACM_ACCESS_DENIED: + sudo_warnx("%s", U_("SecurID communication failed")); + debug_return_int(AUTH_FATAL); + + default: + sudo_warnx("%s", U_("unknown SecurID error")); + debug_return_int(AUTH_FATAL); + } +} + +/* + * securid_verify - Authenticates user and handles ACE responses + * + * Arguments in: + * pw - struct passwd for username + * prompt - UNUSED + * auth - sudo authentication structure for SecurID handle + * + * Results out: + * return code - Success on successful authentication, failure on + * incorrect authentication, fatal on errors + */ +int +sudo_securid_verify(struct passwd *pw, const char *promp, sudo_auth *auth, struct sudo_conv_callback *callback) +{ + SDI_HANDLE *sd = (SDI_HANDLE *) auth->data; + char *pass; + int ret; + debug_decl(sudo_securid_verify, SUDOERS_DEBUG_AUTH); + + pass = auth_getpass("Enter your PASSCODE: ", SUDO_CONV_PROMPT_ECHO_OFF, + callback); + + /* Have ACE verify password */ + switch (SD_Check(*sd, pass, pw->pw_name)) { + case ACM_OK: + ret = AUTH_SUCESS; + break; + + case ACE_UNDEFINED_PASSCODE: + sudo_warnx("%s", U_("invalid passcode length for SecurID")); + ret = AUTH_FATAL; + break; + + case ACE_UNDEFINED_USERNAME: + sudo_warnx("%s", U_("invalid username length for SecurID")); + ret = AUTH_FATAL; + break; + + case ACE_ERR_INVALID_HANDLE: + sudo_warnx("%s", U_("invalid Authentication Handle for SecurID")); + ret = AUTH_FATAL; + break; + + case ACM_ACCESS_DENIED: + ret = AUTH_FAILURE; + break; + + case ACM_NEXT_CODE_REQUIRED: + /* Sometimes (when current token close to expire?) + ACE challenges for the next token displayed + (entered without the PIN) */ + if (pass != NULL) + freezero(pass, strlen(pass)); + pass = auth_getpass("\ +!!! ATTENTION !!!\n\ +Wait for the token code to change, \n\ +then enter the new token code.\n", \ + SUDO_CONV_PROMPT_ECHO_OFF, callback); + + if (SD_Next(*sd, pass) == ACM_OK) { + ret = AUTH_SUCCESS; + break; + } + + ret = AUTH_FAILURE; + break; + + case ACM_NEW_PIN_REQUIRED: + /* + * This user's SecurID has not been activated yet, + * or the pin has been reset + */ + /* XXX - Is setting up a new PIN within sudo's scope? */ + SD_Pin(*sd, ""); + sudo_printf(SUDO_CONV_ERROR_MSG|SUDO_CONV_PREFER_TTY, + "Your SecurID access has not yet been set up.\n"); + sudo_printf(SUDO_CONV_ERROR_MSG|SUDO_CONV_PREFER_TTY, + "Please set up a PIN before you try to authenticate.\n"); + ret = AUTH_FATAL; + break; + + default: + sudo_warnx("%s", U_("unknown SecurID error")); + ret = AUTH_FATAL; + break; + } + + /* Free resources */ + SD_Close(*sd); + + if (pass != NULL) + freezero(pass, strlen(pass)); + + /* Return stored state to calling process */ + debug_return_int(ret); +} + +#endif /* HAVE_SECURID */ diff --git a/plugins/sudoers/auth/sia.c b/plugins/sudoers/auth/sia.c new file mode 100644 index 0000000..3327550 --- /dev/null +++ b/plugins/sudoers/auth/sia.c @@ -0,0 +1,155 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1999-2005, 2007, 2010-2015 + * Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Sponsored in part by the Defense Advanced Research Projects + * Agency (DARPA) and Air Force Research Laboratory, Air Force + * Materiel Command, USAF, under agreement number F39502-99-1-0512. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#ifdef HAVE_SIA_SES_INIT + +#include +#include +#include +#include +#include +#include +#include +#include + +#include "sudoers.h" +#include "sudo_auth.h" + +static char **sudo_argv; +static int sudo_argc; + +int +sudo_sia_setup(struct passwd *pw, char **promptp, sudo_auth *auth) +{ + SIAENTITY *siah; + int i; + debug_decl(sudo_sia_setup, SUDOERS_DEBUG_AUTH); + + /* Rebuild argv for sia_ses_init() */ + sudo_argc = NewArgc + 1; + sudo_argv = reallocarray(NULL, sudo_argc + 1, sizeof(char *)); + if (sudo_argv == NULL) { + log_warningx(0, N_("unable to allocate memory")); + debug_return_int(AUTH_FATAL); + } + sudo_argv[0] = "sudo"; + for (i = 0; i < NewArgc; i++) + sudo_argv[i + 1] = NewArgv[i]; + sudo_argv[sudo_argc] = NULL; + + /* We don't let SIA prompt the user for input. */ + if (sia_ses_init(&siah, sudo_argc, sudo_argv, NULL, pw->pw_name, user_ttypath, 0, NULL) != SIASUCCESS) { + log_warning(0, N_("unable to initialize SIA session")); + debug_return_int(AUTH_FATAL); + } + + auth->data = siah; + debug_return_int(AUTH_SUCCESS); +} + +int +sudo_sia_verify(struct passwd *pw, const char *prompt, sudo_auth *auth, + struct sudo_conv_callback *callback) +{ + SIAENTITY *siah = auth->data; + char *pass; + int rc; + debug_decl(sudo_sia_verify, SUDOERS_DEBUG_AUTH); + + if (IS_NONINTERACTIVE(auth)) + debug_return_int(AUTH_NONINTERACTIVE); + + /* Get password, return AUTH_INTR if we got ^C */ + pass = auth_getpass(prompt, SUDO_CONV_PROMPT_ECHO_OFF, callback); + if (pass == NULL) + debug_return_int(AUTH_INTR); + + /* Check password and zero out plaintext copy. */ + rc = sia_ses_authent(NULL, pass, siah); + freezero(pass, strlen(pass)); + + if (rc == SIASUCCESS) + debug_return_int(AUTH_SUCCESS); + if (ISSET(rc, SIASTOP)) + debug_return_int(AUTH_FATAL); + debug_return_int(AUTH_FAILURE); +} + +int +sudo_sia_cleanup(struct passwd *pw, sudo_auth *auth, bool force) +{ + SIAENTITY *siah = auth->data; + debug_decl(sudo_sia_cleanup, SUDOERS_DEBUG_AUTH); + + (void) sia_ses_release(&siah); + auth->data = NULL; + free(sudo_argv); + debug_return_int(AUTH_SUCCESS); +} + +int +sudo_sia_begin_session(struct passwd *pw, char **user_envp[], sudo_auth *auth) +{ + SIAENTITY *siah; + int status = AUTH_FATAL; + debug_decl(sudo_sia_begin_session, SUDOERS_DEBUG_AUTH); + + /* Re-init sia for the target user's session. */ + if (sia_ses_init(&siah, NewArgc, NewArgv, NULL, pw->pw_name, user_ttypath, 0, NULL) != SIASUCCESS) { + log_warning(0, N_("unable to initialize SIA session")); + goto done; + } + + if (sia_make_entity_pwd(pw, siah) != SIASUCCESS) { + sudo_warn("sia_make_entity_pwd"); + goto done; + } + + status = AUTH_FAILURE; /* no more fatal errors. */ + + siah->authtype = SIA_A_NONE; + if (sia_ses_estab(sia_collect_trm, siah) != SIASUCCESS) { + sudo_warn("sia_ses_estab"); + goto done; + } + + if (sia_ses_launch(sia_collect_trm, siah) != SIASUCCESS) { + sudo_warn("sia_ses_launch"); + goto done; + } + + status = AUTH_SUCCESS; + +done: + (void) sia_ses_release(&siah); + debug_return_int(status); +} + +#endif /* HAVE_SIA_SES_INIT */ diff --git a/plugins/sudoers/auth/sudo_auth.c b/plugins/sudoers/auth/sudo_auth.c new file mode 100644 index 0000000..341f97d --- /dev/null +++ b/plugins/sudoers/auth/sudo_auth.c @@ -0,0 +1,492 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1999-2005, 2008-2020 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Sponsored in part by the Defense Advanced Research Projects + * Agency (DARPA) and Air Force Research Laboratory, Air Force + * Materiel Command, USAF, under agreement number F39502-99-1-0512. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include +#if defined(HAVE_STDINT_H) +# include +#elif defined(HAVE_INTTYPES_H) +# include +#endif +#include +#include +#include +#include +#include + +#include "sudoers.h" +#include "sudo_auth.h" +#include "insults.h" +#include "check.h" + +static sudo_auth auth_switch[] = { +/* Standalone entries first */ +#ifdef HAVE_AIXAUTH + AUTH_ENTRY("aixauth", FLAG_STANDALONE, sudo_aix_init, NULL, sudo_aix_verify, NULL, sudo_aix_cleanup, NULL, NULL) +#endif +#ifdef HAVE_PAM + AUTH_ENTRY("pam", FLAG_STANDALONE, sudo_pam_init, NULL, sudo_pam_verify, sudo_pam_approval, sudo_pam_cleanup, sudo_pam_begin_session, sudo_pam_end_session) +#endif +#ifdef HAVE_SECURID + AUTH_ENTRY("SecurId", FLAG_STANDALONE, sudo_securid_init, sudo_securid_setup, sudo_securid_verify, NULL, NULL, NULL, NULL) +#endif +#ifdef HAVE_SIA_SES_INIT + AUTH_ENTRY("sia", FLAG_STANDALONE, NULL, sudo_sia_setup, sudo_sia_verify, NULL, sudo_sia_cleanup, sudo_sia_begin_session, NULL) +#endif +#ifdef HAVE_FWTK + AUTH_ENTRY("fwtk", FLAG_STANDALONE, sudo_fwtk_init, NULL, sudo_fwtk_verify, NULL, sudo_fwtk_cleanup, NULL, NULL) +#endif +#ifdef HAVE_BSD_AUTH_H + AUTH_ENTRY("bsdauth", FLAG_STANDALONE, bsdauth_init, NULL, bsdauth_verify, bsdauth_approval, bsdauth_cleanup, NULL, NULL) +#endif + +/* Non-standalone entries */ +#ifndef WITHOUT_PASSWD + AUTH_ENTRY("passwd", 0, sudo_passwd_init, NULL, sudo_passwd_verify, NULL, sudo_passwd_cleanup, NULL, NULL) +#endif +#if defined(HAVE_GETPRPWNAM) && !defined(WITHOUT_PASSWD) + AUTH_ENTRY("secureware", 0, sudo_secureware_init, NULL, sudo_secureware_verify, NULL, sudo_secureware_cleanup, NULL, NULL) +#endif +#ifdef HAVE_AFS + AUTH_ENTRY("afs", 0, NULL, NULL, sudo_afs_verify, NULL, NULL, NULL, NULL) +#endif +#ifdef HAVE_DCE + AUTH_ENTRY("dce", 0, NULL, NULL, sudo_dce_verify, NULL, NULL, NULL, NULL) +#endif +#ifdef HAVE_KERB5 + AUTH_ENTRY("kerb5", 0, sudo_krb5_init, sudo_krb5_setup, sudo_krb5_verify, NULL, sudo_krb5_cleanup, NULL, NULL) +#endif +#ifdef HAVE_SKEY + AUTH_ENTRY("S/Key", 0, NULL, sudo_rfc1938_setup, sudo_rfc1938_verify, NULL, NULL, NULL, NULL) +#endif +#ifdef HAVE_OPIE + AUTH_ENTRY("OPIE", 0, NULL, sudo_rfc1938_setup, sudo_rfc1938_verify, NULL, NULL, NULL, NULL) +#endif + AUTH_ENTRY(NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL) +}; + +static bool standalone; + +/* + * Initialize sudoers authentication method(s). + * Returns 0 on success and -1 on error. + */ +int +sudo_auth_init(struct passwd *pw, int mode) +{ + sudo_auth *auth; + int status = AUTH_SUCCESS; + debug_decl(sudo_auth_init, SUDOERS_DEBUG_AUTH); + + if (auth_switch[0].name == NULL) + debug_return_int(0); + + /* Initialize auth methods and unconfigure the method if necessary. */ + for (auth = auth_switch; auth->name; auth++) { + if (ISSET(mode, MODE_NONINTERACTIVE)) + SET(auth->flags, FLAG_NONINTERACTIVE); + if (auth->init && !IS_DISABLED(auth)) { + /* Disable if it failed to init unless there was a fatal error. */ + status = (auth->init)(pw, auth); + if (status == AUTH_FAILURE) + SET(auth->flags, FLAG_DISABLED); + else if (status == AUTH_FATAL) + break; /* assume error msg already printed */ + } + } + + /* + * Make sure we haven't mixed standalone and shared auth methods. + * If there are multiple standalone methods, only use the first one. + */ + if ((standalone = IS_STANDALONE(&auth_switch[0]))) { + bool found = false; + for (auth = auth_switch; auth->name; auth++) { + if (IS_DISABLED(auth)) + continue; + if (!IS_STANDALONE(auth)) { + audit_failure(NewArgv, N_("invalid authentication methods")); + log_warningx(SLOG_SEND_MAIL, + N_("Invalid authentication methods compiled into sudo! " + "You may not mix standalone and non-standalone authentication.")); + debug_return_int(-1); + } + if (!found) { + /* Found first standalone method. */ + found = true; + continue; + } + /* Disable other standalone methods. */ + SET(auth->flags, FLAG_DISABLED); + } + } + + /* Set FLAG_ONEANDONLY if there is only one auth method. */ + for (auth = auth_switch; auth->name; auth++) { + /* Find first enabled auth method. */ + if (!IS_DISABLED(auth)) { + sudo_auth *first = auth; + /* Check for others. */ + for (; auth->name; auth++) { + if (!IS_DISABLED(auth)) + break; + } + if (auth->name == NULL) + SET(first->flags, FLAG_ONEANDONLY); + break; + } + } + + debug_return_int(status == AUTH_FATAL ? -1 : 0); +} + +/* + * Cleanup all authentication approval methods. + * Returns true on success, false on failure and -1 on error. + */ +int +sudo_auth_approval(struct passwd *pw, int validated, bool exempt) +{ + sudo_auth *auth; + debug_decl(sudo_auth_approval, SUDOERS_DEBUG_AUTH); + + /* Call approval routines. */ + for (auth = auth_switch; auth->name; auth++) { + if (auth->approval && !IS_DISABLED(auth)) { + int status = (auth->approval)(pw, auth, exempt); + if (status != AUTH_SUCCESS) { + /* Assume error msg already printed. */ + log_auth_failure(validated, 0); + debug_return_int(status == AUTH_FAILURE ? false : -1); + } + } + } + debug_return_int(true); +} + +/* + * Cleanup all authentication methods. + * Returns 0 on success and -1 on error. + */ +int +sudo_auth_cleanup(struct passwd *pw, bool force) +{ + sudo_auth *auth; + debug_decl(sudo_auth_cleanup, SUDOERS_DEBUG_AUTH); + + /* Call cleanup routines. */ + for (auth = auth_switch; auth->name; auth++) { + if (auth->cleanup && !IS_DISABLED(auth)) { + int status = (auth->cleanup)(pw, auth, force); + if (status == AUTH_FATAL) { + /* Assume error msg already printed. */ + debug_return_int(-1); + } + } + } + debug_return_int(0); +} + +static void +pass_warn(void) +{ + const char *warning = def_badpass_message; + debug_decl(pass_warn, SUDOERS_DEBUG_AUTH); + +#ifdef INSULT + if (def_insults) + warning = INSULT; +#endif + sudo_printf(SUDO_CONV_ERROR_MSG|SUDO_CONV_PREFER_TTY, "%s\n", warning); + + debug_return; +} + +static bool +user_interrupted(void) +{ + sigset_t mask; + + return (sigpending(&mask) == 0 && + (sigismember(&mask, SIGINT) || sigismember(&mask, SIGQUIT))); +} + +/* + * Verify the specified user. + * Returns true if verified, false if not or -1 on error. + */ +int +verify_user(struct passwd *pw, char *prompt, int validated, + struct sudo_conv_callback *callback) +{ + unsigned int ntries; + int ret, status, success = AUTH_FAILURE; + sudo_auth *auth; + sigset_t mask, omask; + struct sigaction sa, saved_sigtstp; + debug_decl(verify_user, SUDOERS_DEBUG_AUTH); + + /* Make sure we have at least one auth method. */ + if (auth_switch[0].name == NULL) { + audit_failure(NewArgv, N_("no authentication methods")); + log_warningx(SLOG_SEND_MAIL, + N_("There are no authentication methods compiled into sudo! " + "If you want to turn off authentication, use the " + "--disable-authentication configure option.")); + debug_return_int(-1); + } + + /* Enable suspend during password entry. */ + sigemptyset(&sa.sa_mask); + sa.sa_flags = SA_RESTART; + sa.sa_handler = SIG_DFL; + (void) sigaction(SIGTSTP, &sa, &saved_sigtstp); + + /* + * We treat authentication as a critical section and block + * keyboard-generated signals such as SIGINT and SIGQUIT + * which might otherwise interrupt a sleep(3). + * They are temporarily unblocked by auth_getpass(). + */ + sigemptyset(&mask); + sigaddset(&mask, SIGINT); + sigaddset(&mask, SIGQUIT); + (void) sigprocmask(SIG_BLOCK, &mask, &omask); + + for (ntries = 0; ntries < def_passwd_tries; ntries++) { + int num_methods = 0; + char *pass = NULL; + + /* If user attempted to interrupt password verify, quit now. */ + if (user_interrupted()) + goto done; + + if (ntries != 0) + pass_warn(); + + /* Do any per-method setup and unconfigure the method if needed */ + for (auth = auth_switch; auth->name; auth++) { + if (IS_DISABLED(auth)) + continue; + num_methods++; + if (auth->setup != NULL) { + status = (auth->setup)(pw, &prompt, auth); + if (status == AUTH_FAILURE) + SET(auth->flags, FLAG_DISABLED); + else if (status == AUTH_NONINTERACTIVE) + goto done; + else if (status == AUTH_FATAL || user_interrupted()) + goto done; /* assume error msg already printed */ + } + } + if (num_methods == 0) { + audit_failure(NewArgv, N_("no authentication methods")); + log_warningx(SLOG_SEND_MAIL, + N_("Unable to initialize authentication methods.")); + debug_return_int(-1); + } + + /* Get the password unless the auth function will do it for us */ + if (!standalone) { + if (IS_NONINTERACTIVE(&auth_switch[0])) { + success = AUTH_NONINTERACTIVE; + goto done; + } + pass = auth_getpass(prompt, SUDO_CONV_PROMPT_ECHO_OFF, callback); + if (pass == NULL) + break; + } + + /* Call authentication functions. */ + for (auth = auth_switch; auth->name; auth++) { + if (IS_DISABLED(auth)) + continue; + + success = auth->status = + (auth->verify)(pw, standalone ? prompt : pass, auth, callback); + if (success != AUTH_FAILURE) + break; + } + if (pass != NULL) + freezero(pass, strlen(pass)); + + if (success != AUTH_FAILURE) + goto done; + } + +done: + /* Restore signal handlers and signal mask. */ + (void) sigaction(SIGTSTP, &saved_sigtstp, NULL); + (void) sigprocmask(SIG_SETMASK, &omask, NULL); + + switch (success) { + case AUTH_SUCCESS: + ret = true; + break; + case AUTH_INTR: + case AUTH_FAILURE: + if (ntries != 0) + SET(validated, FLAG_BAD_PASSWORD); + log_auth_failure(validated, ntries); + ret = false; + break; + case AUTH_NONINTERACTIVE: + SET(validated, FLAG_NO_USER_INPUT); + FALLTHROUGH; + case AUTH_FATAL: + default: + log_auth_failure(validated, 0); + ret = -1; + break; + } + + debug_return_int(ret); +} + +/* + * Call authentication method begin session hooks. + * Returns 1 on success and -1 on error. + */ +int +sudo_auth_begin_session(struct passwd *pw, char **user_env[]) +{ + sudo_auth *auth; + debug_decl(sudo_auth_begin_session, SUDOERS_DEBUG_AUTH); + + for (auth = auth_switch; auth->name; auth++) { + if (auth->begin_session && !IS_DISABLED(auth)) { + int status = (auth->begin_session)(pw, user_env, auth); + if (status != AUTH_SUCCESS) { + /* Assume error msg already printed. */ + debug_return_int(-1); + } + } + } + debug_return_int(1); +} + +bool +sudo_auth_needs_end_session(void) +{ + sudo_auth *auth; + bool needed = false; + debug_decl(sudo_auth_needs_end_session, SUDOERS_DEBUG_AUTH); + + for (auth = auth_switch; auth->name; auth++) { + if (auth->end_session && !IS_DISABLED(auth)) { + needed = true; + break; + } + } + debug_return_bool(needed); +} + +/* + * Call authentication method end session hooks. + * Returns 1 on success and -1 on error. + */ +int +sudo_auth_end_session(struct passwd *pw) +{ + sudo_auth *auth; + int status; + debug_decl(sudo_auth_end_session, SUDOERS_DEBUG_AUTH); + + for (auth = auth_switch; auth->name; auth++) { + if (auth->end_session && !IS_DISABLED(auth)) { + status = (auth->end_session)(pw, auth); + if (status == AUTH_FATAL) { + /* Assume error msg already printed. */ + debug_return_int(-1); + } + } + } + debug_return_int(1); +} + +/* + * Prompts the user for a password using the conversation function. + * Returns the plaintext password or NULL. + * The user is responsible for freeing the returned value. + */ +char * +auth_getpass(const char *prompt, int type, struct sudo_conv_callback *callback) +{ + struct sudo_conv_message msg; + struct sudo_conv_reply repl; + sigset_t mask, omask; + debug_decl(auth_getpass, SUDOERS_DEBUG_AUTH); + + /* Display lecture if needed and we haven't already done so. */ + display_lecture(callback); + + /* Mask user input if pwfeedback set and echo is off. */ + if (type == SUDO_CONV_PROMPT_ECHO_OFF && def_pwfeedback) + type = SUDO_CONV_PROMPT_MASK; + + /* If visiblepw set, do not error out if there is no tty. */ + if (def_visiblepw) + type |= SUDO_CONV_PROMPT_ECHO_OK; + + /* Unblock SIGINT and SIGQUIT during password entry. */ + /* XXX - do in tgetpass() itself instead? */ + sigemptyset(&mask); + sigaddset(&mask, SIGINT); + sigaddset(&mask, SIGQUIT); + (void) sigprocmask(SIG_UNBLOCK, &mask, &omask); + + /* Call conversation function. */ + memset(&msg, 0, sizeof(msg)); + msg.msg_type = type; + msg.timeout = def_passwd_timeout.tv_sec; + msg.msg = prompt; + memset(&repl, 0, sizeof(repl)); + sudo_conv(1, &msg, &repl, callback); + /* XXX - check for ENOTTY? */ + + /* Restore previous signal mask. */ + (void) sigprocmask(SIG_SETMASK, &omask, NULL); + + debug_return_str_masked(repl.reply); +} + +void +dump_auth_methods(void) +{ + sudo_auth *auth; + debug_decl(dump_auth_methods, SUDOERS_DEBUG_AUTH); + + sudo_printf(SUDO_CONV_INFO_MSG, _("Authentication methods:")); + for (auth = auth_switch; auth->name; auth++) + sudo_printf(SUDO_CONV_INFO_MSG, " '%s'", auth->name); + sudo_printf(SUDO_CONV_INFO_MSG, "\n"); + + debug_return; +} diff --git a/plugins/sudoers/auth/sudo_auth.h b/plugins/sudoers/auth/sudo_auth.h new file mode 100644 index 0000000..0318104 --- /dev/null +++ b/plugins/sudoers/auth/sudo_auth.h @@ -0,0 +1,107 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1999-2005, 2007-2016, 2018 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#ifndef SUDO_AUTH_H +#define SUDO_AUTH_H + +/* Auth function return values. */ +#define AUTH_SUCCESS 0 +#define AUTH_FAILURE 1 +#define AUTH_INTR 2 +#define AUTH_FATAL 3 +#define AUTH_NONINTERACTIVE 4 + +typedef struct sudo_auth { + int flags; /* various flags, see below */ + int status; /* status from verify routine */ + const char *name; /* name of the method as a string */ + void *data; /* method-specific data pointer */ + int (*init)(struct passwd *pw, struct sudo_auth *auth); + int (*setup)(struct passwd *pw, char **prompt, struct sudo_auth *auth); + int (*verify)(struct passwd *pw, const char *p, struct sudo_auth *auth, struct sudo_conv_callback *callback); + int (*approval)(struct passwd *pw, struct sudo_auth *auth, bool exempt); + int (*cleanup)(struct passwd *pw, struct sudo_auth *auth, bool force); + int (*begin_session)(struct passwd *pw, char **user_env[], struct sudo_auth *auth); + int (*end_session)(struct passwd *pw, struct sudo_auth *auth); +} sudo_auth; + +/* Values for sudo_auth.flags. */ +#define FLAG_DISABLED 0x02 /* method disabled */ +#define FLAG_STANDALONE 0x04 /* standalone auth method */ +#define FLAG_ONEANDONLY 0x08 /* one and only auth method */ +#define FLAG_NONINTERACTIVE 0x10 /* no user input allowed */ + +/* Shortcuts for using the flags above. */ +#define IS_DISABLED(x) ((x)->flags & FLAG_DISABLED) +#define IS_STANDALONE(x) ((x)->flags & FLAG_STANDALONE) +#define IS_ONEANDONLY(x) ((x)->flags & FLAG_ONEANDONLY) +#define IS_NONINTERACTIVE(x) ((x)->flags & FLAG_NONINTERACTIVE) + +/* Like tgetpass() but uses conversation function */ +char *auth_getpass(const char *prompt, int type, struct sudo_conv_callback *callback); + +/* Pointer to conversation function to use with auth_getpass(). */ +extern sudo_conv_t sudo_conv; + +/* Prototypes for standalone methods */ +int bsdauth_init(struct passwd *pw, sudo_auth *auth); +int bsdauth_verify(struct passwd *pw, const char *prompt, sudo_auth *auth, struct sudo_conv_callback *callback); +int bsdauth_approval(struct passwd *pw, sudo_auth *auth, bool exempt); +int bsdauth_cleanup(struct passwd *pw, sudo_auth *auth, bool force); +int sudo_aix_init(struct passwd *pw, sudo_auth *auth); +int sudo_aix_verify(struct passwd *pw, const char *pass, sudo_auth *auth, struct sudo_conv_callback *callback); +int sudo_aix_cleanup(struct passwd *pw, sudo_auth *auth, bool force); +int sudo_fwtk_init(struct passwd *pw, sudo_auth *auth); +int sudo_fwtk_verify(struct passwd *pw, const char *prompt, sudo_auth *auth, struct sudo_conv_callback *callback); +int sudo_fwtk_cleanup(struct passwd *pw, sudo_auth *auth, bool force); +int sudo_pam_init(struct passwd *pw, sudo_auth *auth); +int sudo_pam_init_quiet(struct passwd *pw, sudo_auth *auth); +int sudo_pam_verify(struct passwd *pw, const char *prompt, sudo_auth *auth, struct sudo_conv_callback *callback); +int sudo_pam_approval(struct passwd *pw, sudo_auth *auth, bool exempt); +int sudo_pam_cleanup(struct passwd *pw, sudo_auth *auth, bool force); +int sudo_pam_begin_session(struct passwd *pw, char **user_env[], sudo_auth *auth); +int sudo_pam_end_session(struct passwd *pw, sudo_auth *auth); +int sudo_securid_init(struct passwd *pw, sudo_auth *auth); +int sudo_securid_setup(struct passwd *pw, char **prompt, sudo_auth *auth); +int sudo_securid_verify(struct passwd *pw, const char *pass, sudo_auth *auth, struct sudo_conv_callback *callback); +int sudo_sia_setup(struct passwd *pw, char **prompt, sudo_auth *auth); +int sudo_sia_verify(struct passwd *pw, const char *prompt, sudo_auth *auth, struct sudo_conv_callback *callback); +int sudo_sia_cleanup(struct passwd *pw, sudo_auth *auth, bool force); +int sudo_sia_begin_session(struct passwd *pw, char **user_env[], sudo_auth *auth); + +/* Prototypes for normal methods */ +int sudo_afs_verify(struct passwd *pw, const char *pass, sudo_auth *auth, struct sudo_conv_callback *callback); +int sudo_dce_verify(struct passwd *pw, const char *pass, sudo_auth *auth, struct sudo_conv_callback *callback); +int sudo_krb5_init(struct passwd *pw, sudo_auth *auth); +int sudo_krb5_setup(struct passwd *pw, char **prompt, sudo_auth *auth); +int sudo_krb5_verify(struct passwd *pw, const char *pass, sudo_auth *auth, struct sudo_conv_callback *callback); +int sudo_krb5_cleanup(struct passwd *pw, sudo_auth *auth, bool force); +int sudo_passwd_init(struct passwd *pw, sudo_auth *auth); +int sudo_passwd_verify(struct passwd *pw, const char *pass, sudo_auth *auth, struct sudo_conv_callback *callback); +int sudo_passwd_cleanup(struct passwd *pw, sudo_auth *auth, bool force); +int sudo_rfc1938_setup(struct passwd *pw, char **prompt, sudo_auth *auth); +int sudo_rfc1938_verify(struct passwd *pw, const char *pass, sudo_auth *auth, struct sudo_conv_callback *callback); +int sudo_secureware_init(struct passwd *pw, sudo_auth *auth); +int sudo_secureware_verify(struct passwd *pw, const char *pass, sudo_auth *auth, struct sudo_conv_callback *callback); +int sudo_secureware_cleanup(struct passwd *pw, sudo_auth *auth, bool force); + +/* Fields: name, flags, init, setup, verify, approval, cleanup, begin_sess, end_sess */ +#define AUTH_ENTRY(n, f, i, s, v, a, c, b, e) \ + { (f), AUTH_FAILURE, (n), NULL, (i), (s), (v), (a), (c) , (b), (e) }, + +#endif /* SUDO_AUTH_H */ diff --git a/plugins/sudoers/b64_decode.c b/plugins/sudoers/b64_decode.c new file mode 100644 index 0000000..736df28 --- /dev/null +++ b/plugins/sudoers/b64_decode.c @@ -0,0 +1,83 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2013-2018 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include "sudoers.h" + +/* + * Derived from code with the following declaration: + * PUBLIC DOMAIN - Jon Mayo - November 13, 2003 + */ + +static const unsigned char base64dec_tab[256]= { + 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255,255,255,255, 62,255,255,255, 63, + 52, 53, 54, 55, 56, 57, 58, 59, 60, 61,255,255,255, 0,255,255, + 255, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, + 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,255,255,255,255,255, + 255, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, + 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51,255,255,255,255,255, + 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255, +}; + +/* + * Decode a NUL-terminated string in base64 format and store the + * result in dst. + */ +size_t +base64_decode(const char *in, unsigned char *out, size_t out_size) +{ + unsigned char *out_end = out + out_size; + const unsigned char *out0 = out; + unsigned int rem, v; + debug_decl(base64_decode, SUDOERS_DEBUG_MATCH); + + for (v = 0, rem = 0; *in != '\0' && *in != '='; in++) { + unsigned char ch = base64dec_tab[(unsigned char)*in]; + if (ch == 255) + debug_return_size_t((size_t)-1); + v = (v << 6) | ch; + rem += 6; + if (rem >= 8) { + rem -= 8; + if (out >= out_end) + debug_return_size_t((size_t)-1); + *out++ = (v >> rem) & 0xff; + } + } + if (rem >= 8) { + if (out >= out_end) + debug_return_size_t((size_t)-1); + *out++ = (v >> rem) & 0xff; + } + debug_return_size_t((size_t)(out - out0)); +} diff --git a/plugins/sudoers/b64_encode.c b/plugins/sudoers/b64_encode.c new file mode 100644 index 0000000..8832ba9 --- /dev/null +++ b/plugins/sudoers/b64_encode.c @@ -0,0 +1,64 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2013-2018 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include "sudoers.h" + +static const unsigned char base64enc_tab[64] = + "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; + +size_t +base64_encode(const unsigned char *in, size_t in_len, char *out, size_t out_len) +{ + size_t ii, io; + unsigned int rem, v; + debug_decl(base64_encode, SUDOERS_DEBUG_MATCH); + + for (io = 0, ii = 0, v = 0, rem = 0; ii < in_len; ii++) { + unsigned char ch = in[ii]; + v = (v << 8) | ch; + rem += 8; + while (rem >= 6) { + rem -= 6; + if (io >= out_len) + debug_return_size_t((size_t)-1); /* truncation is failure */ + out[io++] = base64enc_tab[(v >> rem) & 63]; + } + } + if (rem != 0) { + v <<= (6 - rem); + if (io >= out_len) + debug_return_size_t((size_t)-1); /* truncation is failure */ + out[io++] = base64enc_tab[v&63]; + } + while (io & 3) { + if (io >= out_len) + debug_return_size_t((size_t)-1); /* truncation is failure */ + out[io++] = '='; + } + if (io >= out_len) + debug_return_size_t((size_t)-1); /* no room for NUL terminator */ + out[io] = '\0'; + debug_return_size_t(io); +} diff --git a/plugins/sudoers/boottime.c b/plugins/sudoers/boottime.c new file mode 100644 index 0000000..883173c --- /dev/null +++ b/plugins/sudoers/boottime.c @@ -0,0 +1,167 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2009-2015, 2018 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include /* for size_t, ssize_t */ +#include + +#include +#include +#include +#include +#include +#include +#ifndef __linux__ +# if defined(HAVE_SYS_SYSCTL_H) +# include +# elif defined(HAVE_GETUTXID) +# include +# elif defined(HAVE_GETUTID) +# include +# endif +#endif /* !__linux__ */ + +#include "sudoers.h" + +/* + * Fill in a struct timespec with the time the system booted. + * Returns 1 on success and 0 on failure. + */ + +#if defined(__linux__) +bool +get_boottime(struct timespec *ts) +{ + char *line = NULL; + size_t linesize = 0; + bool found = false; + long long llval; + ssize_t len; + FILE *fp; + debug_decl(get_boottime, SUDOERS_DEBUG_UTIL); + + /* read btime from /proc/stat */ + fp = fopen("/proc/stat", "r"); + if (fp != NULL) { + while ((len = getdelim(&line, &linesize, '\n', fp)) != -1) { + if (strncmp(line, "btime ", 6) == 0) { + if (line[len - 1] == '\n') + line[len - 1] = '\0'; + llval = sudo_strtonum(line + 6, 1, LLONG_MAX, NULL); + if (llval > 0) { + ts->tv_sec = (time_t)llval; + ts->tv_nsec = 0; + found = true; + sudo_debug_printf(SUDO_DEBUG_DEBUG|SUDO_DEBUG_LINENO, + "found btime in /proc/stat: %lld", llval); + break; + } else { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "invalid btime in /proc/stat: %s", line); + } + } + } + fclose(fp); + free(line); + } + + debug_return_bool(found); +} + +#elif defined(HAVE_SYSCTL) && defined(KERN_BOOTTIME) + +bool +get_boottime(struct timespec *ts) +{ + size_t size; + int mib[2]; + struct timeval tv; + debug_decl(get_boottime, SUDOERS_DEBUG_UTIL); + + mib[0] = CTL_KERN; + mib[1] = KERN_BOOTTIME; + size = sizeof(tv); + if (sysctl(mib, 2, &tv, &size, NULL, 0) != -1) { + sudo_debug_printf(SUDO_DEBUG_DEBUG|SUDO_DEBUG_LINENO, + "KERN_BOOTTIME: %lld, %ld", (long long)tv.tv_sec, (long)tv.tv_usec); + TIMEVAL_TO_TIMESPEC(&tv, ts); + debug_return_bool(true); + } + + sudo_debug_printf(SUDO_DEBUG_DEBUG|SUDO_DEBUG_LINENO, + "KERN_BOOTTIME: %s", strerror(errno)); + debug_return_bool(false); +} + +#elif defined(HAVE_GETUTXID) + +bool +get_boottime(struct timespec *ts) +{ + struct utmpx *ut, key; + debug_decl(get_boottime, SUDOERS_DEBUG_UTIL); + + memset(&key, 0, sizeof(key)); + key.ut_type = BOOT_TIME; + setutxent(); + if ((ut = getutxid(&key)) != NULL) { + sudo_debug_printf(SUDO_DEBUG_DEBUG|SUDO_DEBUG_LINENO, + "BOOT_TIME: %lld, %ld", (long long)ut->ut_tv.tv_sec, + (long)ut->ut_tv.tv_usec); + TIMEVAL_TO_TIMESPEC(&ut->ut_tv, ts); + } + endutxent(); + debug_return_bool(ut != NULL); +} + +#elif defined(HAVE_GETUTID) + +bool +get_boottime(struct timespec *ts) +{ + struct utmp *ut, key; + debug_decl(get_boottime, SUDOERS_DEBUG_UTIL); + + memset(&key, 0, sizeof(key)); + key.ut_type = BOOT_TIME; + setutent(); + if ((ut = getutid(&key)) != NULL) { + sudo_debug_printf(SUDO_DEBUG_DEBUG|SUDO_DEBUG_LINENO, + "BOOT_TIME: %lld", (long long)ut->ut_time); + ts->tv_sec = ut->ut_time; + ts->tv_nsec = 0; + } + endutent(); + debug_return_bool(ut != NULL); +} + +#else + +bool +get_boottime(struct timespec *ts) +{ + debug_decl(get_boottime, SUDOERS_DEBUG_UTIL); + debug_return_bool(false); +} +#endif diff --git a/plugins/sudoers/bsm_audit.c b/plugins/sudoers/bsm_audit.c new file mode 100644 index 0000000..2867c5f --- /dev/null +++ b/plugins/sudoers/bsm_audit.c @@ -0,0 +1,283 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2009-2015 Todd C. Miller + * Copyright (c) 2009 Christian S.J. Peron + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#ifdef HAVE_BSM_AUDIT + +#include /* for pid_t */ + +#include +#include +#include + +#include +#include +#include +#include + +#include "sudoers.h" +#include "bsm_audit.h" + +/* + * Solaris auditon() returns EINVAL if BSM audit not configured. + * OpenBSM returns ENOSYS for unimplemented options. + */ +#ifdef __sun +# define AUDIT_NOT_CONFIGURED EINVAL +#else +# define AUDIT_NOT_CONFIGURED ENOSYS +#endif + +#ifdef __FreeBSD__ +# define BSM_AUDIT_COMPAT +#endif + +static au_event_t sudo_audit_event = AUE_sudo; + +static int +audit_sudo_selected(int sorf) +{ + auditinfo_addr_t ainfo_addr; + struct au_mask *mask; + int rc; + debug_decl(audit_sudo_selected, SUDOERS_DEBUG_AUDIT); + + if (getaudit_addr(&ainfo_addr, sizeof(ainfo_addr)) < 0) { +#ifdef BSM_AUDIT_COMPAT + if (errno == ENOSYS) { + auditinfo_t ainfo; + + /* Fall back to older BSM API. */ + if (getaudit(&ainfo) < 0) { + sudo_warn("getaudit"); + debug_return_int(-1); + } + mask = &ainfo.ai_mask; + } else +#endif /* BSM_AUDIT_COMPAT */ + { + sudo_warn("getaudit_addr"); + debug_return_int(-1); + } + } else { + mask = &ainfo_addr.ai_mask; + } + rc = au_preselect(sudo_audit_event, mask, sorf, AU_PRS_REREAD); + if (rc == -1) { +#if defined(__APPLE__) && defined(AUE_DARWIN_sudo) + /* + * Mac OS X 10.10 au_preselect() only accepts AUE_DARWIN_sudo. + */ + sudo_audit_event = AUE_DARWIN_sudo; + rc = au_preselect(sudo_audit_event, mask, sorf, AU_PRS_REREAD); + if (rc == -1) +#endif + + sudo_warn("au_preselect"); + } + debug_return_int(rc); +} + +/* + * Returns 0 on success or -1 on error. + */ +int +bsm_audit_success(char *const exec_args[]) +{ + auditinfo_addr_t ainfo_addr; + token_t *tok; + au_id_t auid; + long au_cond; + int aufd, selected; + pid_t pid; + debug_decl(bsm_audit_success, SUDOERS_DEBUG_AUDIT); + + /* + * If we are not auditing, don't cut an audit record; just return. + */ + if (auditon(A_GETCOND, (caddr_t)&au_cond, sizeof(long)) < 0) { + if (errno == AUDIT_NOT_CONFIGURED) + debug_return_int(0); + sudo_warn("%s", U_("Could not determine audit condition")); + debug_return_int(-1); + } + if (au_cond == AUC_NOAUDIT) + debug_return_int(0); + /* + * Check to see if the preselection masks are interested in seeing + * this event. + */ + selected = audit_sudo_selected(AU_PRS_SUCCESS); + if (selected != 1) + debug_return_int(!selected ? 0 : -1); + if (getauid(&auid) < 0) { + sudo_warn("getauid"); + debug_return_int(-1); + } + if ((aufd = au_open()) == -1) { + sudo_warn("au_open"); + debug_return_int(-1); + } + pid = getpid(); + if (getaudit_addr(&ainfo_addr, sizeof(ainfo_addr)) == 0) { + tok = au_to_subject_ex(auid, geteuid(), getegid(), getuid(), + getuid(), pid, pid, &ainfo_addr.ai_termid); +#ifdef BSM_AUDIT_COMPAT + } else if (errno == ENOSYS) { + auditinfo_t ainfo; + + /* + * NB: We should probably watch out for ERANGE here. + */ + if (getaudit(&ainfo) < 0) { + sudo_warn("getaudit"); + debug_return_int(-1); + } + tok = au_to_subject(auid, geteuid(), getegid(), getuid(), + getuid(), pid, pid, &ainfo.ai_termid); +#endif /* BSM_AUDIT_COMPAT */ + } else { + sudo_warn("getaudit_addr"); + debug_return_int(-1); + } + if (tok == NULL) { + sudo_warn("au_to_subject"); + debug_return_int(-1); + } + au_write(aufd, tok); + tok = au_to_exec_args((char **)exec_args); + if (tok == NULL) { + sudo_warn("au_to_exec_args"); + debug_return_int(-1); + } + au_write(aufd, tok); + tok = au_to_return32(0, 0); + if (tok == NULL) { + sudo_warn("au_to_return32"); + debug_return_int(-1); + } + au_write(aufd, tok); +#ifdef HAVE_AU_CLOSE_SOLARIS11 + if (au_close(aufd, 1, sudo_audit_event, 0) == -1) +#else + if (au_close(aufd, 1, sudo_audit_event) == -1) +#endif + { + sudo_warn("%s", U_("unable to commit audit record")); + debug_return_int(-1); + } + debug_return_int(0); +} + +/* + * Returns 0 on success or -1 on error. + */ +int +bsm_audit_failure(char *const exec_args[], const char *errmsg) +{ + auditinfo_addr_t ainfo_addr; + token_t *tok; + long au_cond; + au_id_t auid; + pid_t pid; + int aufd; + debug_decl(bsm_audit_failure, SUDOERS_DEBUG_AUDIT); + + /* + * If we are not auditing, don't cut an audit record; just return. + */ + if (auditon(A_GETCOND, (caddr_t)&au_cond, sizeof(long)) < 0) { + if (errno == AUDIT_NOT_CONFIGURED) + debug_return_int(0); + sudo_warn("%s", U_("Could not determine audit condition")); + debug_return_int(-1); + } + if (au_cond == AUC_NOAUDIT) + debug_return_int(0); + if (!audit_sudo_selected(AU_PRS_FAILURE)) + debug_return_int(0); + if (getauid(&auid) < 0) { + sudo_warn("getauid"); + debug_return_int(-1); + } + if ((aufd = au_open()) == -1) { + sudo_warn("au_open"); + debug_return_int(-1); + } + pid = getpid(); + if (getaudit_addr(&ainfo_addr, sizeof(ainfo_addr)) == 0) { + tok = au_to_subject_ex(auid, geteuid(), getegid(), getuid(), + getuid(), pid, pid, &ainfo_addr.ai_termid); +#ifdef BSM_AUDIT_COMPAT + } else if (errno == ENOSYS) { + auditinfo_t ainfo; + + if (getaudit(&ainfo) < 0) { + sudo_warn("getaudit"); + debug_return_int(-1); + } + tok = au_to_subject(auid, geteuid(), getegid(), getuid(), + getuid(), pid, pid, &ainfo.ai_termid); +#endif /* BSM_AUDIT_COMPAT */ + } else { + sudo_warn("getaudit_addr"); + debug_return_int(-1); + } + if (tok == NULL) { + sudo_warn("au_to_subject"); + debug_return_int(-1); + } + au_write(aufd, tok); + tok = au_to_exec_args((char **)exec_args); + if (tok == NULL) { + sudo_warn("au_to_exec_args"); + debug_return_int(-1); + } + au_write(aufd, tok); + tok = au_to_text((char *)errmsg); + if (tok == NULL) { + sudo_warn("au_to_text"); + debug_return_int(-1); + } + au_write(aufd, tok); + tok = au_to_return32(EPERM, 1); + if (tok == NULL) { + sudo_warn("au_to_return32"); + debug_return_int(-1); + } + au_write(aufd, tok); +#ifdef HAVE_AU_CLOSE_SOLARIS11 + if (au_close(aufd, 1, sudo_audit_event, PAD_FAILURE) == -1) +#else + if (au_close(aufd, 1, sudo_audit_event) == -1) +#endif + { + sudo_warn("%s", U_("unable to commit audit record")); + debug_return_int(-1); + } + debug_return_int(0); +} + +#endif /* HAVE_BSM_AUDIT */ diff --git a/plugins/sudoers/bsm_audit.h b/plugins/sudoers/bsm_audit.h new file mode 100644 index 0000000..db2f496 --- /dev/null +++ b/plugins/sudoers/bsm_audit.h @@ -0,0 +1,26 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2009-2010, 2013-2014 Todd C. Miller + * Copyright (c) 2009 Christian S.J. Peron + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#ifndef SUDOERS_BSM_AUDIT_H +#define SUDOERS_BSM_AUDIT_H + +int bsm_audit_success(char *const argv[]); +int bsm_audit_failure(char *const argv[], const char *errmsg); + +#endif /* SUDOERS_BSM_AUDIT_H */ diff --git a/plugins/sudoers/check.c b/plugins/sudoers/check.c new file mode 100644 index 0000000..7a14802 --- /dev/null +++ b/plugins/sudoers/check.c @@ -0,0 +1,401 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1993-1996,1998-2005, 2007-2018 + * Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Sponsored in part by the Defense Advanced Research Projects + * Agency (DARPA) and Air Force Research Laboratory, Air Force + * Materiel Command, USAF, under agreement number F39502-99-1-0512. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include /* for ssize_t */ +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "sudoers.h" +#include "check.h" + +struct getpass_closure { + int tstat; + int lectured; + void *cookie; + struct passwd *auth_pw; +}; + +static struct passwd *get_authpw(int); + +/* + * Called when getpass is suspended so we can drop the lock. + */ +static int +getpass_suspend(int signo, void *vclosure) +{ + struct getpass_closure *closure = vclosure; + + timestamp_close(closure->cookie); + closure->cookie = NULL; + return 0; +} + +/* + * Called when getpass is resumed so we can reacquire the lock. + */ +static int +getpass_resume(int signo, void *vclosure) +{ + struct getpass_closure *closure = vclosure; + + closure->cookie = timestamp_open(user_name, user_sid); + if (closure->cookie == NULL) + return -1; + if (!timestamp_lock(closure->cookie, closure->auth_pw)) + return -1; + return 0; +} + +/* + * Returns true if the user successfully authenticates, false if not + * or -1 on fatal error. + */ +static int +check_user_interactive(int validated, int mode, struct getpass_closure *closure) +{ + struct sudo_conv_callback callback; + int ret = -1; + char *prompt; + debug_decl(check_user_interactive, SUDOERS_DEBUG_AUTH); + + /* Construct callback for getpass function. */ + memset(&callback, 0, sizeof(callback)); + callback.version = SUDO_CONV_CALLBACK_VERSION; + callback.closure = closure; + callback.on_suspend = getpass_suspend; + callback.on_resume = getpass_resume; + + /* Open, lock and read time stamp file if we are using it. */ + if (!ISSET(mode, MODE_IGNORE_TICKET)) { + /* Open time stamp file and check its status. */ + closure->cookie = timestamp_open(user_name, user_sid); + if (closure->cookie != NULL) { + if (timestamp_lock(closure->cookie, closure->auth_pw)) { + closure->tstat = timestamp_status(closure->cookie, + closure->auth_pw); + } + callback.on_suspend = getpass_suspend; + callback.on_resume = getpass_resume; + } + } + + switch (closure->tstat) { + case TS_FATAL: + /* Fatal error (usually setuid failure), unsafe to proceed. */ + goto done; + + case TS_CURRENT: + /* Time stamp file is valid and current. */ + if (!ISSET(validated, FLAG_CHECK_USER)) { + ret = true; + break; + } + sudo_debug_printf(SUDO_DEBUG_INFO, + "%s: check user flag overrides time stamp", __func__); + FALLTHROUGH; + + default: + if (ISSET(mode, MODE_NONINTERACTIVE) && !def_noninteractive_auth) { + validated |= FLAG_NO_USER_INPUT; + log_auth_failure(validated, 0); + goto done; + } + + /* Expand any escapes in the prompt. */ + prompt = expand_prompt(user_prompt ? user_prompt : def_passprompt, + closure->auth_pw->pw_name); + if (prompt == NULL) + goto done; + + ret = verify_user(closure->auth_pw, prompt, validated, &callback); + if (ret == true && closure->lectured) + (void)set_lectured(); /* lecture error not fatal */ + free(prompt); + break; + } + +done: + debug_return_int(ret); +} + +/* + * Returns true if the user successfully authenticates, false if not + * or -1 on error. + */ +int +check_user(int validated, int mode) +{ + struct getpass_closure closure = { TS_ERROR }; + int ret = -1; + bool exempt = false; + debug_decl(check_user, SUDOERS_DEBUG_AUTH); + + /* + * In intercept mode, only check the user if configured to do so. + * We already have a session so no need to init the auth subsystem. + */ + if (ISSET(sudo_mode, MODE_POLICY_INTERCEPTED)) { + if (!def_intercept_authenticate) { + debug_return_int(true); + } + } + + /* + * Init authentication system regardless of whether we need a password. + * Required for proper PAM session support. + */ + if ((closure.auth_pw = get_authpw(mode)) == NULL) + goto done; + if (sudo_auth_init(closure.auth_pw, mode) == -1) + goto done; + + /* + * Don't prompt for the root passwd or if the user is exempt. + * If the user is not changing uid/gid, no need for a password. + */ + if (!def_authenticate || user_is_exempt()) { + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: %s", __func__, + !def_authenticate ? "authentication disabled" : + "user exempt from authentication"); + exempt = true; + ret = true; + goto done; + } + if (user_uid == 0 || (user_uid == runas_pw->pw_uid && + (!runas_gr || user_in_group(sudo_user.pw, runas_gr->gr_name)))) { +#ifdef HAVE_SELINUX + if (user_role == NULL && user_type == NULL) +#endif +#ifdef HAVE_APPARMOR + if (user_apparmor_profile == NULL) +#endif +#ifdef HAVE_PRIV_SET + if (runas_privs == NULL && runas_limitprivs == NULL) +#endif + { + sudo_debug_printf(SUDO_DEBUG_INFO, + "%s: user running command as self", __func__); + ret = true; + goto done; + } + } + + ret = check_user_interactive(validated, mode, &closure); + +done: + if (ret == true) { + /* The approval function may disallow a user post-authentication. */ + ret = sudo_auth_approval(closure.auth_pw, validated, exempt); + + /* + * Only update time stamp if user validated and was approved. + * Failure to update the time stamp is not a fatal error. + */ + if (ret == true && ISSET(validated, VALIDATE_SUCCESS)) { + if (ISSET(mode, MODE_UPDATE_TICKET) && closure.tstat != TS_ERROR) + (void)timestamp_update(closure.cookie, closure.auth_pw); + } + } + timestamp_close(closure.cookie); + sudo_auth_cleanup(closure.auth_pw, !ISSET(validated, VALIDATE_SUCCESS)); + if (closure.auth_pw != NULL) + sudo_pw_delref(closure.auth_pw); + + debug_return_int(ret); +} + +/* + * Display sudo lecture (standard or custom). + * Returns true if the user was lectured, else false. + */ +void +display_lecture(struct sudo_conv_callback *callback) +{ + struct getpass_closure *closure; + struct sudo_conv_message msg[2]; + struct sudo_conv_reply repl[2]; + char buf[BUFSIZ]; + struct stat sb; + ssize_t nread; + int fd, msgcount = 1; + debug_decl(lecture, SUDOERS_DEBUG_AUTH); + + if (callback == NULL || (closure = callback->closure) == NULL) + debug_return; + + if (closure->lectured) + debug_return; + + if (def_lecture == never || (def_lecture == once && already_lectured())) + debug_return; + + memset(&msg, 0, sizeof(msg)); + memset(&repl, 0, sizeof(repl)); + + if (def_lecture_file) { + fd = open(def_lecture_file, O_RDONLY|O_NONBLOCK); + if (fd != -1 && fstat(fd, &sb) == 0) { + if (S_ISREG(sb.st_mode)) { + (void) fcntl(fd, F_SETFL, fcntl(fd, F_GETFL, 0) & ~O_NONBLOCK); + while ((nread = read(fd, buf, sizeof(buf) - 1)) > 0) { + buf[nread] = '\0'; + msg[0].msg_type = SUDO_CONV_ERROR_MSG|SUDO_CONV_PREFER_TTY; + msg[0].msg = buf; + sudo_conv(1, msg, repl, NULL); + } + if (nread == 0) { + close(fd); + goto done; + } + log_warning(SLOG_RAW_MSG, + N_("error reading lecture file %s"), def_lecture_file); + } else { + log_warningx(SLOG_RAW_MSG, + N_("ignoring lecture file %s: not a regular file"), + def_lecture_file); + } + } else { + log_warning(SLOG_RAW_MSG|SLOG_NO_STDERR, N_("unable to open %s"), + def_lecture_file); + } + if (fd != -1) + close(fd); + } + + /* Default sudo lecture. */ + msg[0].msg_type = SUDO_CONV_ERROR_MSG|SUDO_CONV_PREFER_TTY; + msg[0].msg = _("\n" + "We trust you have received the usual lecture from the local System\n" + "Administrator. It usually boils down to these three things:\n\n" + " #1) Respect the privacy of others.\n" + " #2) Think before you type.\n" + " #3) With great power comes great responsibility.\n\n"); + if (!def_pwfeedback) { + msg[1].msg_type = SUDO_CONV_ERROR_MSG|SUDO_CONV_PREFER_TTY; + msg[1].msg = _("For security reasons, the password you type will not be visible.\n\n"); + msgcount++; + } + sudo_conv(msgcount, msg, repl, NULL); + +done: + closure->lectured = true; + debug_return; +} + +/* + * Checks if the user is exempt from supplying a password. + */ +bool +user_is_exempt(void) +{ + bool ret = false; + debug_decl(user_is_exempt, SUDOERS_DEBUG_AUTH); + + if (def_exempt_group) { + if (user_in_group(sudo_user.pw, def_exempt_group)) + ret = true; + } + debug_return_bool(ret); +} + +/* + * Get passwd entry for the user we are going to authenticate as. + * By default, this is the user invoking sudo. In the most common + * case, this matches sudo_user.pw or runas_pw. + */ +static struct passwd * +get_authpw(int mode) +{ + struct passwd *pw = NULL; + debug_decl(get_authpw, SUDOERS_DEBUG_AUTH); + + if (ISSET(mode, (MODE_CHECK|MODE_LIST))) { + /* In list mode we always prompt for the user's password. */ + sudo_pw_addref(sudo_user.pw); + pw = sudo_user.pw; + } else { + if (def_rootpw) { + if ((pw = sudo_getpwuid(ROOT_UID)) == NULL) { + log_warningx(SLOG_SEND_MAIL, N_("unknown uid %u"), ROOT_UID); + } + } else if (def_runaspw) { + if ((pw = sudo_getpwnam(def_runas_default)) == NULL) { + log_warningx(SLOG_SEND_MAIL, + N_("unknown user %s"), def_runas_default); + } + } else if (def_targetpw) { + if (runas_pw->pw_name == NULL) { + /* This should never be NULL as we fake up the passwd struct */ + log_warningx(SLOG_RAW_MSG, N_("unknown uid %u"), + (unsigned int) runas_pw->pw_uid); + } else { + sudo_pw_addref(runas_pw); + pw = runas_pw; + } + } else { + sudo_pw_addref(sudo_user.pw); + pw = sudo_user.pw; + } + } + + debug_return_ptr(pw); +} + +/* + * Returns true if the specified shell is allowed by /etc/shells, else false. + */ +bool +check_user_shell(const struct passwd *pw) +{ + const char *shell; + debug_decl(check_user_shell, SUDOERS_DEBUG_AUTH); + + if (!def_runas_check_shell) + debug_return_bool(true); + + sudo_debug_printf(SUDO_DEBUG_INFO, + "%s: checking /etc/shells for %s", __func__, pw->pw_shell); + + setusershell(); + while ((shell = getusershell()) != NULL) { + if (strcmp(shell, pw->pw_shell) == 0) + debug_return_bool(true); + } + endusershell(); + + debug_return_bool(false); +} diff --git a/plugins/sudoers/check.h b/plugins/sudoers/check.h new file mode 100644 index 0000000..41a5daf --- /dev/null +++ b/plugins/sudoers/check.h @@ -0,0 +1,91 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1993-1996, 1998-2005, 2007-2015, 2017-2018, 2021-2022 + * Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Sponsored in part by the Defense Advanced Research Projects + * Agency (DARPA) and Air Force Research Laboratory, Air Force + * Materiel Command, USAF, under agreement number F39502-99-1-0512. + */ + +#ifndef SUDOERS_CHECK_H +#define SUDOERS_CHECK_H + +/* Status codes for timestamp_status() */ +#define TS_CURRENT 0 +#define TS_OLD 1 +#define TS_MISSING 2 +#define TS_ERROR 3 +#define TS_FATAL 4 + +/* + * Time stamps are now stored in a single file which contains multiple + * records. Each record starts with a 16-bit version number and a 16-bit + * record size. Multiple record types can coexist in the same file. + */ +#define TS_VERSION 2 + +/* Time stamp entry types */ +#define TS_GLOBAL 0x01 /* not restricted by tty or ppid */ +#define TS_TTY 0x02 /* restricted by tty */ +#define TS_PPID 0x03 /* restricted by ppid */ +#define TS_LOCKEXCL 0x04 /* special lock record */ + +/* Time stamp flags */ +#define TS_DISABLED 0x01 /* entry disabled */ +#define TS_ANYUID 0x02 /* ignore uid, only valid in the key */ + +struct timestamp_entry_v1 { + unsigned short version; /* version number */ + unsigned short size; /* entry size */ + unsigned short type; /* TS_GLOBAL, TS_TTY, TS_PPID */ + unsigned short flags; /* TS_DISABLED, TS_ANYUID */ + uid_t auth_uid; /* uid to authenticate as */ + pid_t sid; /* session ID associated with tty/ppid */ + struct timespec ts; /* time stamp (CLOCK_MONOTONIC) */ + union { + dev_t ttydev; /* tty device number */ + pid_t ppid; /* parent pid */ + } u; +}; + +struct timestamp_entry { + unsigned short version; /* version number */ + unsigned short size; /* entry size */ + unsigned short type; /* TS_GLOBAL, TS_TTY, TS_PPID */ + unsigned short flags; /* TS_DISABLED, TS_ANYUID */ + uid_t auth_uid; /* uid to authenticate as */ + pid_t sid; /* session ID associated with tty/ppid */ + struct timespec start_time; /* session/ppid start time */ + struct timespec ts; /* time stamp (CLOCK_MONOTONIC) */ + union { + dev_t ttydev; /* tty device number */ + pid_t ppid; /* parent pid */ + } u; +}; + +void *timestamp_open(const char *user, pid_t sid); +void timestamp_close(void *vcookie); +bool timestamp_lock(void *vcookie, struct passwd *pw); +bool timestamp_update(void *vcookie, struct passwd *pw); +int timestamp_status(void *vcookie, struct passwd *pw); +int get_starttime(pid_t pid, struct timespec *starttime); +bool already_lectured(void); +int set_lectured(void); +void display_lecture(struct sudo_conv_callback *callback); +int create_admin_success_flag(void); + +#endif /* SUDOERS_CHECK_H */ diff --git a/plugins/sudoers/check_aliases.c b/plugins/sudoers/check_aliases.c new file mode 100644 index 0000000..1b3d030 --- /dev/null +++ b/plugins/sudoers/check_aliases.c @@ -0,0 +1,226 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2004-2005, 2007-2018, 2021-2022 + * Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include +#include + +#include "sudoers.h" +#include + +struct alias_warned { + SLIST_ENTRY(alias_warned) entries; + const char *name; +}; +SLIST_HEAD(alias_warned_list, alias_warned); + +static bool alias_warnx(const char *file, int line, int column, bool strict, bool quiet, const char *fmt, ...) sudo_printflike(6, 7); + +static bool +alias_warned(struct alias_warned_list *warned, char *name) +{ + struct alias_warned *w; + debug_decl(alias_warned, SUDOERS_DEBUG_ALIAS); + + SLIST_FOREACH(w, warned, entries) { + if (strcmp(w->name, name) == 0) + debug_return_bool(true); + } + + debug_return_bool(false); +} + +static void +alias_warned_add(struct alias_warned_list *warned, char *name) +{ + struct alias_warned *w; + debug_decl(alias_warned_add, SUDOERS_DEBUG_ALIAS); + + w = malloc(sizeof(*w)); + if (w != NULL) { + w->name = name; + SLIST_INSERT_HEAD(warned, w, entries); + } + + debug_return; +} + +static bool +alias_warnx(const char *file, int line, int column, bool strict, bool quiet, + const char *fmt, ...) +{ + bool ret = true; + va_list ap; + debug_decl(alias_warnx, SUDOERS_DEBUG_ALIAS); + + if (strict && sudoers_error_hook != NULL) { + va_start(ap, fmt); + ret = sudoers_error_hook(file, line, column, fmt, ap); + va_end(ap); + } + + if (!quiet) { + int oldlocale; + char *errstr; + + sudoers_setlocale(SUDOERS_LOCALE_USER, &oldlocale); + va_start(ap, fmt); + if (vasprintf(&errstr, _(fmt), ap) == -1) { + errstr = NULL; + ret = false; + } else if (line > 0) { + sudo_printf(SUDO_CONV_ERROR_MSG, _("%s:%d:%d: %s\n"), file, + line, column, errstr); + } else { + sudo_printf(SUDO_CONV_ERROR_MSG, _("%s: %s\n"), file, errstr); + } + va_end(ap); + sudoers_setlocale(oldlocale, NULL); + + free(errstr); + } + + debug_return_bool(ret); +} + +static int +check_alias(struct sudoers_parse_tree *parse_tree, + struct alias_warned_list *warned, char *name, int type, + char *file, int line, int column, bool strict, bool quiet) +{ + struct member *m; + struct alias *a; + int errors = 0; + debug_decl(check_alias, SUDOERS_DEBUG_ALIAS); + + if ((a = alias_get(parse_tree, name, type)) != NULL) { + /* check alias contents */ + TAILQ_FOREACH(m, &a->members, entries) { + if (m->type != ALIAS) + continue; + errors += check_alias(parse_tree, warned, m->name, type, + a->file, a->line, a->column, strict, quiet); + } + alias_put(a); + } else { + if (!alias_warned(warned, name)) { + if (errno == ELOOP) { + alias_warnx(file, line, column, strict, quiet, + N_("cycle in %s \"%s\""), alias_type_to_string(type), name); + } else { + alias_warnx(file, line, column, strict, quiet, + N_("%s \"%s\" referenced but not defined"), + alias_type_to_string(type), name); + } + alias_warned_add(warned, name); + } + errors++; + } + + debug_return_int(errors); +} + +/* + * Iterate through the sudoers datastructures looking for undefined + * aliases or unused aliases. + * In strict mode, returns the number of errors, else 0. + */ +int +check_aliases(struct sudoers_parse_tree *parse_tree, bool strict, bool quiet, + int (*cb_unused)(struct sudoers_parse_tree *, struct alias *, void *)) +{ + struct alias_warned_list warned = SLIST_HEAD_INITIALIZER(warned); + struct rbtree *used_aliases; + struct alias_warned *w; + struct cmndspec *cs; + struct member *m; + struct privilege *priv; + struct userspec *us; + int errors = 0; + debug_decl(check_aliases, SUDOERS_DEBUG_ALIAS); + + used_aliases = alloc_aliases(); + if (used_aliases == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + debug_return_int(-1); + } + + /* Forward check. */ + TAILQ_FOREACH(us, &parse_tree->userspecs, entries) { + TAILQ_FOREACH(m, &us->users, entries) { + if (m->type == ALIAS) { + errors += check_alias(parse_tree, &warned, m->name, USERALIAS, + us->file, us->line, us->column, strict, quiet); + } + } + TAILQ_FOREACH(priv, &us->privileges, entries) { + TAILQ_FOREACH(m, &priv->hostlist, entries) { + if (m->type == ALIAS) { + errors += check_alias(parse_tree, &warned, m->name, HOSTALIAS, + us->file, us->line, us->column, strict, quiet); + } + } + TAILQ_FOREACH(cs, &priv->cmndlist, entries) { + if (cs->runasuserlist != NULL) { + TAILQ_FOREACH(m, cs->runasuserlist, entries) { + if (m->type == ALIAS) { + errors += check_alias(parse_tree, &warned, m->name, RUNASALIAS, + us->file, us->line, us->column, strict, quiet); + } + } + } + if (cs->runasgrouplist != NULL) { + TAILQ_FOREACH(m, cs->runasgrouplist, entries) { + if (m->type == ALIAS) { + errors += check_alias(parse_tree, &warned, m->name, RUNASALIAS, + us->file, us->line, us->column, strict, quiet); + } + } + } + if ((m = cs->cmnd)->type == ALIAS) { + errors += check_alias(parse_tree, &warned, m->name, CMNDALIAS, + us->file, us->line, us->column, strict, quiet); + } + } + } + } + while ((w = SLIST_FIRST(&warned)) != NULL) { + SLIST_REMOVE_HEAD(&warned, entries); + free(w); + } + + /* Reverse check (destructive) */ + if (!alias_find_used(parse_tree, used_aliases)) + errors++; + free_aliases(used_aliases); + + /* If all aliases were referenced we will have an empty tree. */ + if (!no_aliases(parse_tree)) + alias_apply(parse_tree, cb_unused, &quiet); + + debug_return_int(strict ? errors : 0); +} diff --git a/plugins/sudoers/cvtsudoers.c b/plugins/sudoers/cvtsudoers.c new file mode 100644 index 0000000..dfc518f --- /dev/null +++ b/plugins/sudoers/cvtsudoers.c @@ -0,0 +1,1526 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2018-2021 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +/* + * Convert from the sudoers file format to LDIF or JSON format. + */ + +#include + +#include +#include +#include +#ifdef HAVE_STRINGS_H +# include +#endif /* HAVE_STRINGS_H */ +#include +#include +#include +#include +#ifdef HAVE_GETOPT_LONG +# include +# else +# include "compat/getopt.h" +#endif /* HAVE_GETOPT_LONG */ + +#include "sudoers.h" +#include "sudoers_version.h" +#include "sudo_lbuf.h" +#include "redblack.h" +#include "cvtsudoers.h" +#include "tsgetgrpw.h" +#include + +/* Long-only options values. */ +#define OPT_GROUP_FILE 256 +#define OPT_PASSWD_FILE 257 + +/* + * Globals + */ +struct cvtsudoers_filter *filters; +struct sudo_user sudo_user; +struct passwd *list_pw; +static FILE *logfp; +static const char short_opts[] = "b:c:d:ef:hi:I:l:m:Mo:O:pP:s:V"; +static struct option long_opts[] = { + { "base", required_argument, NULL, 'b' }, + { "config", required_argument, NULL, 'c' }, + { "defaults", required_argument, NULL, 'd' }, + { "expand-aliases", no_argument, NULL, 'e' }, + { "output-format", required_argument, NULL, 'f' }, + { "help", no_argument, NULL, 'h' }, + { "input-format", required_argument, NULL, 'i' }, + { "increment", required_argument, NULL, 'I' }, + { "logfile", required_argument, NULL, 'l' }, + { "match", required_argument, NULL, 'm' }, + { "match-local", no_argument, NULL, 'M' }, + { "prune-matches", no_argument, NULL, 'p' }, + { "padding", required_argument, NULL, 'P' }, + { "order-start", required_argument, NULL, 'O' }, + { "output", required_argument, NULL, 'o' }, + { "suppress", required_argument, NULL, 's' }, + { "version", no_argument, NULL, 'V' }, + { "group-file", required_argument, NULL, OPT_GROUP_FILE }, + { "passwd-file", required_argument, NULL, OPT_PASSWD_FILE }, + { NULL, no_argument, NULL, 0 }, +}; + +sudo_dso_public int main(int argc, char *argv[]); +static bool convert_sudoers_sudoers(struct sudoers_parse_tree *parse_tree, const char *output_file, struct cvtsudoers_config *conf); +static bool parse_sudoers(const char *input_file, struct cvtsudoers_config *conf); +static bool parse_ldif(struct sudoers_parse_tree *parse_tree, const char *input_file, struct cvtsudoers_config *conf); +static bool cvtsudoers_parse_filter(char *expression); +static struct cvtsudoers_config *cvtsudoers_conf_read(const char *conf_file); +static void cvtsudoers_conf_free(struct cvtsudoers_config *conf); +static int cvtsudoers_parse_defaults(char *expression); +static int cvtsudoers_parse_suppression(char *expression); +static void filter_userspecs(struct sudoers_parse_tree *parse_tree, struct cvtsudoers_config *conf); +static void filter_defaults(struct sudoers_parse_tree *parse_tree, struct cvtsudoers_config *conf); +static void alias_remove_unused(struct sudoers_parse_tree *parse_tree); +static void alias_prune(struct sudoers_parse_tree *parse_tree, struct cvtsudoers_config *conf); +sudo_noreturn static void help(void); +sudo_noreturn static void usage(void); + +int +main(int argc, char *argv[]) +{ + struct sudoers_parse_tree_list parse_trees = TAILQ_HEAD_INITIALIZER(parse_trees); + struct sudoers_parse_tree merged_tree, *parse_tree = NULL; + struct cvtsudoers_config *conf = NULL; + enum sudoers_formats output_format = format_ldif; + enum sudoers_formats input_format = format_sudoers; + const char *input_file = "-"; + const char *output_file = "-"; + const char *conf_file = _PATH_CVTSUDOERS_CONF; + const char *grfile = NULL, *pwfile = NULL; + const char *cp, *errstr; + int ch, exitcode = EXIT_FAILURE; + bool match_local = false; + debug_decl(main, SUDOERS_DEBUG_MAIN); + +#if defined(SUDO_DEVEL) && defined(__OpenBSD__) + { + extern char *malloc_options; + malloc_options = "S"; + } +#endif + + initprogname(argc > 0 ? argv[0] : "cvtsudoers"); + if (!sudoers_initlocale(setlocale(LC_ALL, ""), def_sudoers_locale)) + sudo_fatalx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + sudo_warn_set_locale_func(sudoers_warn_setlocale); + bindtextdomain("sudoers", LOCALEDIR); + textdomain("sudoers"); + + /* Initialize early, before any "goto done". */ + init_parse_tree(&merged_tree, NULL, NULL); + + /* Read debug and plugin sections of sudo.conf. */ + if (sudo_conf_read(NULL, SUDO_CONF_DEBUG|SUDO_CONF_PLUGINS) == -1) + goto done; + + /* Initialize the debug subsystem. */ + if (!sudoers_debug_register(getprogname(), sudo_conf_debug_files(getprogname()))) + goto done; + + /* Check for --config option first (no getopt warnings). */ + opterr = 0; + while ((ch = getopt_long(argc, argv, short_opts, long_opts, NULL)) != -1) { + switch (ch) { + case 'c': + conf_file = optarg; + break; + } + } + + /* Read conf file. */ + conf = cvtsudoers_conf_read(conf_file); + + /* + * Reset getopt and handle the rest of the arguments. + */ + opterr = 1; + optind = 1; +#ifdef HAVE_OPTRESET + optreset = 1; +#endif + while ((ch = getopt_long(argc, argv, short_opts, long_opts, NULL)) != -1) { + switch (ch) { + case 'b': + free(conf->sudoers_base); + conf->sudoers_base = strdup(optarg); + if (conf->sudoers_base == NULL) { + sudo_fatalx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + } + break; + case 'c': + /* handled above */ + break; + case 'd': + conf->defstr = optarg; + break; + case 'e': + conf->expand_aliases = true; + break; + case 'f': + free(conf->output_format); + conf->output_format = strdup(optarg); + if (conf->output_format == NULL) { + sudo_fatalx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + } + break; + case 'h': + help(); + break; + case 'i': + free(conf->input_format); + conf->input_format = strdup(optarg); + if (conf->input_format == NULL) { + sudo_fatalx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + } + break; + case 'I': + conf->order_increment = sudo_strtonum(optarg, 1, UINT_MAX, &errstr); + if (errstr != NULL) { + sudo_warnx(U_("order increment: %s: %s"), optarg, U_(errstr)); + usage(); + } + break; + case 'l': + conf->logfile = optarg; + break; + case 'm': + conf->filter = optarg; + break; + case 'M': + match_local = true; + break; + case 'o': + output_file = optarg; + break; + case 'O': + conf->sudo_order = sudo_strtonum(optarg, 0, UINT_MAX, &errstr); + if (errstr != NULL) { + sudo_warnx(U_("starting order: %s: %s"), optarg, U_(errstr)); + usage(); + } + break; + case 'p': + conf->prune_matches = true; + break; + case 'P': + conf->order_padding = sudo_strtonum(optarg, 1, UINT_MAX, &errstr); + if (errstr != NULL ) { + sudo_warnx(U_("order padding: %s: %s"), optarg, U_(errstr)); + usage(); + } + break; + case 's': + conf->supstr = optarg; + break; + case 'V': + (void) printf(_("%s version %s\n"), getprogname(), + PACKAGE_VERSION); + (void) printf(_("%s grammar version %d\n"), getprogname(), + SUDOERS_GRAMMAR_VERSION); + exitcode = EXIT_SUCCESS; + goto done; + case OPT_GROUP_FILE: + grfile = optarg; + break; + case OPT_PASSWD_FILE: + pwfile = optarg; + break; + default: + usage(); + } + } + argc -= optind; + argv += optind; + + if (conf->logfile != NULL) { + logfp = fopen(conf->logfile, "w"); + if (logfp == NULL) + sudo_fatalx(U_("unable to open log file %s"), conf->logfile); + } + + if (conf->input_format != NULL) { + if (strcasecmp(conf->input_format, "ldif") == 0) { + input_format = format_ldif; + } else if (strcasecmp(conf->input_format, "sudoers") == 0) { + input_format = format_sudoers; // -V1048 + } else { + sudo_warnx(U_("unsupported input format %s"), conf->input_format); + usage(); + } + } + if (conf->output_format != NULL) { + if (strcasecmp(conf->output_format, "csv") == 0) { + output_format = format_csv; + conf->store_options = true; + } else if (strcasecmp(conf->output_format, "json") == 0) { + output_format = format_json; + conf->store_options = true; + } else if (strcasecmp(conf->output_format, "ldif") == 0) { + output_format = format_ldif; // -V1048 + conf->store_options = true; + } else if (strcasecmp(conf->output_format, "sudoers") == 0) { + output_format = format_sudoers; + conf->store_options = false; + } else { + sudo_warnx(U_("unsupported output format %s"), conf->output_format); + usage(); + } + } + if (conf->filter != NULL) { + /* We always expand aliases when filtering (may change in future). */ + if (!cvtsudoers_parse_filter(conf->filter)) + usage(); + } + if (conf->defstr != NULL) { + conf->defaults = cvtsudoers_parse_defaults(conf->defstr); + if (conf->defaults == -1) + usage(); + } + if (conf->supstr != NULL) { + conf->suppress = cvtsudoers_parse_suppression(conf->supstr); + if (conf->suppress == -1) + usage(); + } + + /* Apply padding to sudo_order if present. */ + if (conf->sudo_order != 0 && conf->order_padding != 0) { + unsigned int multiplier = 1; + + do { + multiplier *= 10; + } while (--conf->order_padding != 0); + conf->sudo_order *= multiplier; + conf->order_max = conf->sudo_order + (multiplier - 1); + conf->order_padding = multiplier; + } + + /* If no base DN specified, check SUDOERS_BASE. */ + if (conf->sudoers_base == NULL) { + conf->sudoers_base = getenv("SUDOERS_BASE"); + if (conf->sudoers_base != NULL && *conf->sudoers_base != '\0') { + if ((conf->sudoers_base = strdup(conf->sudoers_base)) == NULL) { + sudo_fatalx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + } + } + } + + /* Set pwutil backend to use the filter data. */ + if (conf->filter != NULL && !match_local) { + sudo_pwutil_set_backend(cvtsudoers_make_pwitem, cvtsudoers_make_gritem, + cvtsudoers_make_gidlist_item, cvtsudoers_make_grlist_item); + } else { + if (grfile != NULL) + testsudoers_setgrfile(grfile); + if (pwfile != NULL) + testsudoers_setpwfile(pwfile); + sudo_pwutil_set_backend( + pwfile ? testsudoers_make_pwitem : NULL, + grfile ? testsudoers_make_gritem : NULL, + grfile ? testsudoers_make_gidlist_item : NULL, + grfile ? testsudoers_make_grlist_item : NULL); + } + + /* We may need the hostname to resolve %h escapes in include files. */ + get_hostname(); + + do { + char *lhost = NULL, *shost = NULL; + + /* Input file (defaults to stdin). */ + if (argc > 0) + input_file = argv[0]; + + /* Check for optional hostname prefix on the input file. */ + cp = strchr(input_file, ':'); + if (cp != NULL) { + struct stat sb; + + if (strcmp(cp, ":-") == 0 || stat(input_file, &sb) == -1) { + lhost = strndup(input_file, (size_t)(cp - input_file)); + if (lhost == NULL) + sudo_fatalx("%s", U_("unable to allocate memory")); + input_file = cp + 1; + cp = strchr(lhost, '.'); + if (cp == NULL) { + shost = lhost; + } else { + shost = strndup(lhost, (size_t)(cp - lhost)); + } + } + } + + if (strcmp(input_file, "-") != 0) { + if (strcmp(input_file, output_file) == 0) { + sudo_fatalx(U_("%s: input and output files must be different"), + input_file); + } + } + + parse_tree = malloc(sizeof(*parse_tree)); + if (parse_tree == NULL) + sudo_fatalx("%s", U_("unable to allocate memory")); + init_parse_tree(parse_tree, lhost, shost); + TAILQ_INSERT_TAIL(&parse_trees, parse_tree, entries); + + /* Setup defaults data structures. */ + if (!init_defaults()) { + sudo_fatalx("%s", + U_("unable to initialize sudoers default values")); + } + + switch (input_format) { + case format_ldif: + if (!parse_ldif(parse_tree, input_file, conf)) + goto done; + break; + case format_sudoers: + if (!parse_sudoers(input_file, conf)) + goto done; + reparent_parse_tree(parse_tree); + break; + default: + sudo_fatalx("error: unhandled input %d", input_format); + } + + /* Apply filters. */ + filter_userspecs(parse_tree, conf); + filter_defaults(parse_tree, conf); + if (filters != NULL) { + alias_remove_unused(parse_tree); + if (conf->prune_matches && conf->expand_aliases) + alias_prune(parse_tree, conf); + } + + argc--; + argv++; + } while (argc > 0); + + parse_tree = TAILQ_FIRST(&parse_trees); + if (TAILQ_NEXT(parse_tree, entries)) { + /* Multiple sudoers files, merge them all. */ + parse_tree = merge_sudoers(&parse_trees, &merged_tree); + } + + switch (output_format) { + case format_csv: + exitcode = !convert_sudoers_csv(parse_tree, output_file, conf); + break; + case format_json: + exitcode = !convert_sudoers_json(parse_tree, output_file, conf); + break; + case format_ldif: + exitcode = !convert_sudoers_ldif(parse_tree, output_file, conf); + break; + case format_sudoers: + exitcode = !convert_sudoers_sudoers(parse_tree, output_file, conf); + break; + default: + sudo_fatalx("error: unhandled output format %d", output_format); + } + +done: + free_parse_tree(&merged_tree); + while ((parse_tree = TAILQ_FIRST(&parse_trees)) != NULL) { + TAILQ_REMOVE(&parse_trees, parse_tree, entries); + free_parse_tree(parse_tree); + free(parse_tree); + } + cvtsudoers_conf_free(conf); + sudo_debug_exit_int(__func__, __FILE__, __LINE__, sudo_debug_subsys, exitcode); + return exitcode; +} + +void +log_warnx(const char *fmt, ...) +{ + va_list ap; + + va_start(ap, fmt); + if (logfp != NULL) { + vfprintf(logfp, fmt, ap); + fputc('\n', logfp); + } else { + sudo_vwarnx_nodebug(fmt, ap); + } + va_end(ap); +} + +/* + * cvtsudoers configuration data. + */ +static struct cvtsudoers_config cvtsudoers_config = INITIAL_CONFIG; +static struct cvtsudoers_conf_table cvtsudoers_conf_vars[] = { + { "order_start", CONF_UINT, &cvtsudoers_config.sudo_order }, + { "order_increment", CONF_UINT, &cvtsudoers_config.order_increment }, + { "order_padding", CONF_UINT, &cvtsudoers_config.order_padding }, + { "sudoers_base", CONF_STR, &cvtsudoers_config.sudoers_base }, + { "input_format", CONF_STR, &cvtsudoers_config.input_format }, + { "output_format", CONF_STR, &cvtsudoers_config.output_format }, + { "match", CONF_STR, &cvtsudoers_config.filter }, + { "match_local", CONF_BOOL, &cvtsudoers_config.match_local }, + { "logfile", CONF_STR, &cvtsudoers_config.logfile }, + { "defaults", CONF_STR, &cvtsudoers_config.defstr }, + { "suppress", CONF_STR, &cvtsudoers_config.supstr }, + { "group_file", CONF_STR, &cvtsudoers_config.group_file }, + { "passwd_file", CONF_STR, &cvtsudoers_config.passwd_file }, + { "expand_aliases", CONF_BOOL, &cvtsudoers_config.expand_aliases }, + { "prune_matches", CONF_BOOL, &cvtsudoers_config.prune_matches } +}; + +/* + * Look up keyword in config table. + * Returns true if found, else false. + */ +static bool +cvtsudoers_parse_keyword(const char *conf_file, const char *keyword, + const char *value, struct cvtsudoers_conf_table *table) +{ + struct cvtsudoers_conf_table *cur; + const char *errstr; + debug_decl(sudo_ldap_parse_keyword, SUDOERS_DEBUG_UTIL); + + /* Look up keyword in config tables */ + for (cur = table; cur->conf_str != NULL; cur++) { + if (strcasecmp(keyword, cur->conf_str) == 0) { + switch (cur->type) { + case CONF_BOOL: + *(bool *)(cur->valp) = sudo_strtobool(value) == true; + break; + case CONF_UINT: + { + unsigned int uval = + sudo_strtonum(value, 0, UINT_MAX, &errstr); + if (errstr != NULL) { + sudo_warnx(U_("%s: %s: %s: %s"), + conf_file, keyword, value, U_(errstr)); + continue; + } + *(unsigned int *)(cur->valp) = uval; + } + break; + case CONF_STR: + { + char *cp = strdup(value); + if (cp == NULL) { + sudo_fatalx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + } + free(*(char **)(cur->valp)); + *(char **)(cur->valp) = cp; + break; + } + } + debug_return_bool(true); + } + } + debug_return_bool(false); +} + +static struct cvtsudoers_config * +cvtsudoers_conf_read(const char *conf_file) +{ + char *line = NULL; + size_t linesize = 0; + FILE *fp; + debug_decl(cvtsudoers_conf_read, SUDOERS_DEBUG_UTIL); + + if ((fp = fopen(conf_file, "r")) == NULL) + debug_return_ptr(&cvtsudoers_config); + + while (sudo_parseln(&line, &linesize, NULL, fp, 0) != -1) { + char *cp, *keyword, *value; + + if (*line == '\0') + continue; /* skip empty line */ + + /* Parse keyword = value */ + keyword = line; + if ((cp = strchr(line, '=')) == NULL) + continue; + value = cp-- + 1; + + /* Trim whitespace after keyword. */ + while (cp != line && isblank((unsigned char)cp[-1])) + cp--; + *cp = '\0'; + + /* Trim whitespace before value. */ + while (isblank((unsigned char)*value)) + value++; + + /* Look up keyword in config tables */ + if (!cvtsudoers_parse_keyword(conf_file, keyword, value, cvtsudoers_conf_vars)) + sudo_warnx(U_("%s: unknown key word %s"), conf_file, keyword); + } + free(line); + fclose(fp); + + debug_return_ptr(&cvtsudoers_config); +} + +static void +cvtsudoers_conf_free(struct cvtsudoers_config *conf) +{ + debug_decl(cvtsudoers_conf_free, SUDOERS_DEBUG_UTIL); + + if (conf != NULL) { + free(conf->sudoers_base); + free(conf->input_format); + free(conf->output_format); + conf->sudoers_base = NULL; + conf->input_format = NULL; + conf->output_format = NULL; + } + + debug_return; +} + +static int +cvtsudoers_parse_defaults(char *expression) +{ + char *last, *cp = expression; + int flags = 0; + debug_decl(cvtsudoers_parse_defaults, SUDOERS_DEBUG_UTIL); + + for ((cp = strtok_r(cp, ",", &last)); cp != NULL; (cp = strtok_r(NULL, ",", &last))) { + if (strcasecmp(cp, "all") == 0) { + SET(flags, CVT_DEFAULTS_ALL); + } else if (strcasecmp(cp, "global") == 0) { + SET(flags, CVT_DEFAULTS_GLOBAL); + } else if (strcasecmp(cp, "user") == 0) { + SET(flags, CVT_DEFAULTS_USER); + } else if (strcasecmp(cp, "runas") == 0) { + SET(flags, CVT_DEFAULTS_RUNAS); + } else if (strcasecmp(cp, "host") == 0) { + SET(flags, CVT_DEFAULTS_HOST); + } else if (strcasecmp(cp, "command") == 0) { + SET(flags, CVT_DEFAULTS_CMND); + } else { + sudo_warnx(U_("invalid defaults type: %s"), cp); + debug_return_int(-1); + } + } + + debug_return_int(flags); +} + +static int +cvtsudoers_parse_suppression(char *expression) +{ + char *last, *cp = expression; + int flags = 0; + debug_decl(cvtsudoers_parse_suppression, SUDOERS_DEBUG_UTIL); + + for ((cp = strtok_r(cp, ",", &last)); cp != NULL; (cp = strtok_r(NULL, ",", &last))) { + if (strcasecmp(cp, "defaults") == 0) { + SET(flags, SUPPRESS_DEFAULTS); + } else if (strcasecmp(cp, "aliases") == 0) { + SET(flags, SUPPRESS_ALIASES); + } else if (strcasecmp(cp, "privileges") == 0 || strcasecmp(cp, "privs") == 0) { + SET(flags, SUPPRESS_PRIVS); + } else { + sudo_warnx(U_("invalid suppression type: %s"), cp); + debug_return_int(-1); + } + } + + debug_return_int(flags); +} + +static bool +cvtsudoers_parse_filter(char *expression) +{ + char *last, *cp = expression; + debug_decl(cvtsudoers_parse_filter, SUDOERS_DEBUG_UTIL); + + if (filters == NULL) { + if ((filters = malloc(sizeof(*filters))) == NULL) { + sudo_fatalx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + } + STAILQ_INIT(&filters->users); + STAILQ_INIT(&filters->groups); + STAILQ_INIT(&filters->hosts); + STAILQ_INIT(&filters->cmnds); + } + + for ((cp = strtok_r(cp, ",", &last)); cp != NULL; (cp = strtok_r(NULL, ",", &last))) { + /* + * Filter expression: + * user=foo,group=bar,host=baz + */ + char *keyword; + struct sudoers_string *s; + + if ((s = malloc(sizeof(*s))) == NULL) { + sudo_fatalx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + } + + /* Parse keyword = value */ + keyword = cp; + if ((cp = strchr(cp, '=')) == NULL) { + sudo_warnx(U_("invalid filter: %s"), keyword); + free(s); + debug_return_bool(false); + } + *cp++ = '\0'; + s->str = cp; + + if (strcmp(keyword, "user") == 0) { + STAILQ_INSERT_TAIL(&filters->users, s, entries); + } else if (strcmp(keyword, "group") == 0) { + STAILQ_INSERT_TAIL(&filters->groups, s, entries); + } else if (strcmp(keyword, "host") == 0) { + STAILQ_INSERT_TAIL(&filters->hosts, s, entries); + } else if (strcmp(keyword, "cmnd") == 0 || strcmp(keyword, "cmd") == 0) { + STAILQ_INSERT_TAIL(&filters->cmnds, s, entries); + } else { + sudo_warnx(U_("invalid filter: %s"), keyword); + free(s); + debug_return_bool(false); + } + } + + debug_return_bool(true); +} + +static bool +parse_ldif(struct sudoers_parse_tree *parse_tree, const char *input_file, + struct cvtsudoers_config *conf) +{ + FILE *fp = stdin; + bool ret = false; + debug_decl(parse_ldif, SUDOERS_DEBUG_UTIL); + + /* Open LDIF file and parse it. */ + if (strcmp(input_file, "-") != 0) { + if ((fp = fopen(input_file, "r")) == NULL) + sudo_warn(U_("unable to open %s"), input_file); + } + if (fp != NULL) { + ret = sudoers_parse_ldif(parse_tree, fp, conf->sudoers_base, + conf->store_options); + if (fp != stdin) + fclose(fp); + } + debug_return_bool(ret); +} + +static bool +parse_sudoers(const char *input_file, struct cvtsudoers_config *conf) +{ + debug_decl(parse_sudoers, SUDOERS_DEBUG_UTIL); + + /* Open sudoers file and parse it. */ + if (strcmp(input_file, "-") == 0) { + sudoersin = stdin; + input_file = "stdin"; + } else if ((sudoersin = fopen(input_file, "r")) == NULL) + sudo_fatal(U_("unable to open %s"), input_file); + init_parser(input_file, false, true); + if (sudoersparse() && !parse_error) { + sudo_warnx(U_("failed to parse %s file, unknown error"), input_file); + parse_error = true; + } + debug_return_bool(!parse_error); +} + +FILE * +open_sudoers(const char *file, bool doedit, bool *keepopen) +{ + return fopen(file, "r"); +} + +static bool +userlist_matches_filter(struct sudoers_parse_tree *parse_tree, + struct member_list *users, struct cvtsudoers_config *conf) +{ + struct sudoers_string *s; + struct member *m, *next; + bool ret = false; + debug_decl(userlist_matches_filter, SUDOERS_DEBUG_UTIL); + + if (filters == NULL || + (STAILQ_EMPTY(&filters->users) && STAILQ_EMPTY(&filters->groups))) + debug_return_bool(true); + + TAILQ_FOREACH_REVERSE_SAFE(m, users, member_list, entries, next) { + bool matched = false; + + if (STAILQ_EMPTY(&filters->users)) { + struct passwd pw; + + /* + * Only groups in filter, make a fake user so userlist_matches() + * can do its thing. + */ + memset(&pw, 0, sizeof(pw)); + pw.pw_name = (char *)"_nobody"; + pw.pw_uid = (uid_t)-1; + pw.pw_gid = (gid_t)-1; + + if (user_matches(parse_tree, &pw, m) == true) + matched = true; + } else { + STAILQ_FOREACH(s, &filters->users, entries) { + struct passwd *pw = NULL; + + /* An upper case filter entry may be a User_Alias */ + /* XXX - doesn't handle nested aliases */ + if (m->type == ALIAS && !conf->expand_aliases) { + if (strcmp(m->name, s->str) == 0) { + matched = true; + break; + } + } + + if (s->str[0] == '#') { + const char *errstr; + uid_t uid = sudo_strtoid(s->str + 1, &errstr); + if (errstr == NULL) + pw = sudo_getpwuid(uid); + } + if (pw == NULL) + pw = sudo_getpwnam(s->str); + if (pw == NULL) + continue; + + if (user_matches(parse_tree, pw, m) == true) + matched = true; + sudo_pw_delref(pw); + + /* Only need one user in the filter to match. */ + if (matched) + break; + } + } + + if (matched) { + ret = true; + } else if (conf->prune_matches) { + TAILQ_REMOVE(users, m, entries); + free_member(m); + } + } + + debug_return_bool(ret); +} + +static bool +hostlist_matches_filter(struct sudoers_parse_tree *parse_tree, + struct member_list *hostlist, struct cvtsudoers_config *conf) +{ + struct sudoers_string *s; + struct member *m, *next; + char *lhost, *shost; + bool ret = false; + char **shosts; + int n = 0; + debug_decl(hostlist_matches_filter, SUDOERS_DEBUG_UTIL); + + if (filters == NULL || STAILQ_EMPTY(&filters->hosts)) + debug_return_bool(true); + + /* Create an array of short host names. */ + STAILQ_FOREACH(s, &filters->hosts, entries) { + n++; + } + shosts = reallocarray(NULL, n, sizeof(char *)); + if (shosts == NULL) + sudo_fatalx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + n = 0; + STAILQ_FOREACH(s, &filters->hosts, entries) { + lhost = s->str; + if ((shost = strchr(lhost, '.')) != NULL) { + shost = strndup(lhost, (size_t)(shost - lhost)); + if (shost == NULL) { + sudo_fatalx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + } + } else { + shost = lhost; + } + shosts[n++] = shost; + } + + TAILQ_FOREACH_REVERSE_SAFE(m, hostlist, member_list, entries, next) { + bool matched = false; + n = 0; + STAILQ_FOREACH(s, &filters->hosts, entries) { + lhost = s->str; + shost = shosts[n++]; + + /* An upper case filter entry may be a Host_Alias */ + /* XXX - doesn't handle nested aliases */ + if (m->type == ALIAS && !conf->expand_aliases) { + if (strcmp(m->name, s->str) == 0) { + matched = true; + break; + } + } + + /* Only need one host in the filter to match. */ + /* XXX - can't use netgroup_tuple with NULL pw */ + if (host_matches(parse_tree, NULL, lhost, shost, m) == true) { + matched = true; + break; + } + } + + if (matched) { + ret = true; + } else if (conf->prune_matches) { + TAILQ_REMOVE(hostlist, m, entries); + free_member(m); + } + } + + /* Free shosts array and its contents. */ + n = 0; + STAILQ_FOREACH(s, &filters->hosts, entries) { + lhost = s->str; + shost = shosts[n++]; + if (shost != lhost) + free(shost); + } + free(shosts); + + debug_return_bool(ret); +} + +static bool +cmnd_matches_filter(struct sudoers_parse_tree *parse_tree, + struct member *m, struct cvtsudoers_config *conf) +{ + struct sudoers_string *s; + bool matched = false; + debug_decl(cmnd_matches_filter, SUDOERS_DEBUG_UTIL); + + /* TODO: match on runasuserlist/runasgrouplist, notbefore/notafter etc */ + STAILQ_FOREACH(s, &filters->cmnds, entries) { + /* An upper case filter entry may be a Cmnd_Alias */ + /* XXX - doesn't handle nested aliases */ + if (m->type == ALIAS && !conf->expand_aliases) { + if (strcmp(m->name, s->str) == 0) { + matched = true; + break; + } + } + + /* Only need one command in the filter to match. */ + user_cmnd = s->str; + user_base = sudo_basename(user_cmnd); + if (cmnd_matches(parse_tree, m, NULL, NULL) == true) { + matched = true; + break; + } + } + user_base = NULL; + user_cmnd = NULL; + + debug_return_bool(matched); +} + +static bool +cmndlist_matches_filter(struct sudoers_parse_tree *parse_tree, + struct member_list *cmndlist, struct cvtsudoers_config *conf) +{ + struct member *m, *next; + bool ret = false; + debug_decl(cmndlist_matches_filter, SUDOERS_DEBUG_UTIL); + + if (filters == NULL || STAILQ_EMPTY(&filters->cmnds)) + debug_return_bool(true); + + TAILQ_FOREACH_REVERSE_SAFE(m, cmndlist, member_list, entries, next) { + bool matched = cmnd_matches_filter(parse_tree, m, conf); + if (matched) { + ret = true; + } else if (conf->prune_matches) { + TAILQ_REMOVE(cmndlist, m, entries); + free_member(m); + } + } + + debug_return_bool(ret); +} + +static bool +cmndspeclist_matches_filter(struct sudoers_parse_tree *parse_tree, + struct cmndspec_list *cmndspecs, struct cvtsudoers_config *conf) +{ + struct cmndspec *cs, *next; + bool ret = false; + debug_decl(cmndspeclist_matches_filter, SUDOERS_DEBUG_UTIL); + + if (filters == NULL || STAILQ_EMPTY(&filters->cmnds)) + debug_return_bool(true); + + TAILQ_FOREACH_REVERSE_SAFE(cs, cmndspecs, cmndspec_list, entries, next) { + bool matched = cmnd_matches_filter(parse_tree, cs->cmnd, conf); + if (matched) { + ret = true; + } else if (conf->prune_matches) { + /* free_cmndspec() removes cs from the list itself. */ + free_cmndspec(cs, cmndspecs); + } + } + + debug_return_bool(ret); +} + +/* + * Display Defaults entries + */ +static bool +print_defaults_sudoers(struct sudoers_parse_tree *parse_tree, + struct sudo_lbuf *lbuf, bool expand_aliases) +{ + struct defaults *def, *next; + debug_decl(print_defaults_sudoers, SUDOERS_DEBUG_UTIL); + + TAILQ_FOREACH_SAFE(def, &parse_tree->defaults, entries, next) { + sudoers_format_default_line(lbuf, parse_tree, def, &next, + expand_aliases); + } + + debug_return_bool(!sudo_lbuf_error(lbuf)); +} + +static int +print_alias_sudoers(struct sudoers_parse_tree *parse_tree, struct alias *a, + void *v) +{ + struct sudo_lbuf *lbuf = v; + struct member *m; + debug_decl(print_alias_sudoers, SUDOERS_DEBUG_UTIL); + + sudo_lbuf_append(lbuf, "%s %s = ", alias_type_to_string(a->type), + a->name); + TAILQ_FOREACH(m, &a->members, entries) { + if (m != TAILQ_FIRST(&a->members)) + sudo_lbuf_append(lbuf, ", "); + sudoers_format_member(lbuf, parse_tree, m, NULL, UNSPEC); + } + sudo_lbuf_append(lbuf, "\n"); + + debug_return_int(sudo_lbuf_error(lbuf) ? -1 : 0); +} + +/* + * Display aliases + */ +static bool +print_aliases_sudoers(struct sudoers_parse_tree *parse_tree, + struct sudo_lbuf *lbuf) +{ + debug_decl(print_aliases_sudoers, SUDOERS_DEBUG_UTIL); + + alias_apply(parse_tree, print_alias_sudoers, lbuf); + + debug_return_bool(!sudo_lbuf_error(lbuf)); +} + +static FILE *output_fp; /* global for convert_sudoers_output */ + +static int +convert_sudoers_output(const char *buf) +{ + return fputs(buf, output_fp); +} + +/* + * Apply filters to userspecs, removing non-matching entries. + */ +static void +filter_userspecs(struct sudoers_parse_tree *parse_tree, + struct cvtsudoers_config *conf) +{ + struct userspec *us, *next_us; + struct privilege *priv, *next_priv; + debug_decl(filter_userspecs, SUDOERS_DEBUG_UTIL); + + if (filters == NULL) + debug_return; + + /* + * Does not currently prune out non-matching entries in the user or + * host lists. It acts more like a grep than a true filter. + * In the future, we may want to add a prune option. + */ + TAILQ_FOREACH_SAFE(us, &parse_tree->userspecs, entries, next_us) { + if (!userlist_matches_filter(parse_tree, &us->users, conf)) { + TAILQ_REMOVE(&parse_tree->userspecs, us, entries); + free_userspec(us); + continue; + } + TAILQ_FOREACH_SAFE(priv, &us->privileges, entries, next_priv) { + if (!hostlist_matches_filter(parse_tree, &priv->hostlist, conf) || + !cmndspeclist_matches_filter(parse_tree, &priv->cmndlist, conf)) { + TAILQ_REMOVE(&us->privileges, priv, entries); + free_privilege(priv); + } + } + if (TAILQ_EMPTY(&us->privileges)) { + TAILQ_REMOVE(&parse_tree->userspecs, us, entries); + free_userspec(us); + continue; + } + } + debug_return; +} + +/* + * Check whether the alias described by "alias_name" is the same + * as "name" or includes an alias called "name". + * Returns true if matched, else false. + */ +static bool +alias_matches(struct sudoers_parse_tree *parse_tree, const char *name, + const char *alias_name, int alias_type) +{ + struct alias *a; + struct member *m; + bool ret = false; + debug_decl(alias_matches, SUDOERS_DEBUG_ALIAS); + + if (strcmp(name, alias_name) == 0) + debug_return_bool(true); + + a = alias_get(parse_tree, alias_name, alias_type); + if (a != NULL) { + TAILQ_FOREACH(m, &a->members, entries) { + if (m->type != ALIAS) + continue; + if (alias_matches(parse_tree, name, m->name, alias_type)) { + ret = true; + break; + } + } + alias_put(a); + } + + debug_return_bool(ret); +} + +/* + * Check whether userspecs uses the aliases in the specified member lists. + * If used, they are removed (and freed) from the list. + * This does *not* check Defaults for used aliases, only userspecs. + */ +static void +alias_used_by_userspecs(struct sudoers_parse_tree *parse_tree, + struct member_list *user_aliases, struct member_list *runas_aliases, + struct member_list *host_aliases, struct member_list *cmnd_aliases) +{ + struct privilege *priv, *priv_next; + struct userspec *us, *us_next; + struct cmndspec *cs, *cs_next; + struct member *m, *m_next; + struct member *am, *am_next; + debug_decl(alias_used_by_userspecs, SUDOERS_DEBUG_ALIAS); + + /* Iterate over the policy, checking for aliases. */ + TAILQ_FOREACH_SAFE(us, &parse_tree->userspecs, entries, us_next) { + TAILQ_FOREACH_SAFE(m, &us->users, entries, m_next) { + if (m->type == ALIAS) { + /* If alias is used, remove from user_aliases and free. */ + TAILQ_FOREACH_SAFE(am, user_aliases, entries, am_next) { + if (alias_matches(parse_tree, am->name, m->name, USERALIAS)) { + TAILQ_REMOVE(user_aliases, am, entries); + free_member(am); + } + } + } + } + TAILQ_FOREACH_SAFE(priv, &us->privileges, entries, priv_next) { + TAILQ_FOREACH(m, &priv->hostlist, entries) { + if (m->type == ALIAS) { + /* If alias is used, remove from host_aliases and free. */ + TAILQ_FOREACH_SAFE(am, host_aliases, entries, am_next) { + if (alias_matches(parse_tree, am->name, m->name, HOSTALIAS)) { + TAILQ_REMOVE(host_aliases, am, entries); + free_member(am); + } + } + } + } + TAILQ_FOREACH_SAFE(cs, &priv->cmndlist, entries, cs_next) { + if (cs->runasuserlist != NULL) { + TAILQ_FOREACH_SAFE(m, cs->runasuserlist, entries, m_next) { + if (m->type == ALIAS) { + /* If alias is used, remove from runas_aliases and free. */ + TAILQ_FOREACH_SAFE(am, runas_aliases, entries, am_next) { + if (alias_matches(parse_tree, am->name, m->name, RUNASALIAS)) { + TAILQ_REMOVE(runas_aliases, am, entries); + free_member(am); + } + } + } + } + } + if (cs->runasgrouplist != NULL) { + TAILQ_FOREACH_SAFE(m, cs->runasgrouplist, entries, m_next) { + if (m->type == ALIAS) { + /* If alias is used, remove from runas_aliases and free. */ + TAILQ_FOREACH_SAFE(am, runas_aliases, entries, am_next) { + if (alias_matches(parse_tree, am->name, m->name, RUNASALIAS)) { + TAILQ_REMOVE(runas_aliases, am, entries); + free_member(am); + } + } + } + } + } + if ((m = cs->cmnd)->type == ALIAS) { + /* If alias is used, remove from cmnd_aliases and free. */ + TAILQ_FOREACH_SAFE(am, cmnd_aliases, entries, am_next) { + if (alias_matches(parse_tree, am->name, m->name, CMNDALIAS)) { + TAILQ_REMOVE(cmnd_aliases, am, entries); + free_member(am); + } + } + } + } + } + } + + debug_return; +} + +/* + * For each alias listed in members, remove and free the alias. + * Frees the contents of members too. + */ +static void +free_aliases_by_members(struct sudoers_parse_tree *parse_tree, + struct member_list *members, int type) +{ + struct member *m; + struct alias *a; + debug_decl(free_aliases_by_members, SUDOERS_DEBUG_ALIAS); + + while ((m = TAILQ_FIRST(members)) != NULL) { + TAILQ_REMOVE(members, m, entries); + a = alias_remove(parse_tree, m->name, type); + alias_free(a); + free_member(m); + } + debug_return; +} + +/* + * Apply filters to host/user-based Defaults, removing non-matching entries. + */ +static void +filter_defaults(struct sudoers_parse_tree *parse_tree, + struct cvtsudoers_config *conf) +{ + struct member_list user_aliases = TAILQ_HEAD_INITIALIZER(user_aliases); + struct member_list runas_aliases = TAILQ_HEAD_INITIALIZER(runas_aliases); + struct member_list host_aliases = TAILQ_HEAD_INITIALIZER(host_aliases); + struct member_list cmnd_aliases = TAILQ_HEAD_INITIALIZER(cmnd_aliases); + struct defaults *def, *def_next; + struct member *m, *m_next; + int alias_type; + debug_decl(filter_defaults, SUDOERS_DEBUG_DEFAULTS); + + if (filters == NULL && conf->defaults == CVT_DEFAULTS_ALL) + debug_return; + + TAILQ_FOREACH_SAFE(def, &parse_tree->defaults, entries, def_next) { + bool keep = true; + + switch (def->type) { + case DEFAULTS: + if (!ISSET(conf->defaults, CVT_DEFAULTS_GLOBAL)) + keep = false; + alias_type = UNSPEC; + break; + case DEFAULTS_USER: + if (!ISSET(conf->defaults, CVT_DEFAULTS_USER) || + !userlist_matches_filter(parse_tree, &def->binding->members, + conf)) { + keep = false; + } + alias_type = USERALIAS; + break; + case DEFAULTS_RUNAS: + if (!ISSET(conf->defaults, CVT_DEFAULTS_RUNAS)) + keep = false; + alias_type = RUNASALIAS; + break; + case DEFAULTS_HOST: + if (!ISSET(conf->defaults, CVT_DEFAULTS_HOST) || + !hostlist_matches_filter(parse_tree, &def->binding->members, + conf)) { + keep = false; + } + alias_type = HOSTALIAS; + break; + case DEFAULTS_CMND: + if (!ISSET(conf->defaults, CVT_DEFAULTS_CMND) || + !cmndlist_matches_filter(parse_tree, &def->binding->members, + conf)) { + keep = false; + } + alias_type = CMNDALIAS; + break; + default: + sudo_fatalx_nodebug("unexpected defaults type %d", def->type); + break; + } + + if (!keep) { + /* + * Look for aliases used by the binding. + * Consecutive Defaults can share the same binding. + */ + /* XXX - move to function */ + if (alias_type != UNSPEC && + (def_next == NULL || def->binding != def_next->binding)) { + TAILQ_FOREACH_SAFE(m, &def->binding->members, entries, m_next) { + if (m->type == ALIAS) { + TAILQ_REMOVE(&def->binding->members, m, entries); + switch (alias_type) { + case USERALIAS: + TAILQ_INSERT_TAIL(&user_aliases, m, entries); + break; + case RUNASALIAS: + TAILQ_INSERT_TAIL(&runas_aliases, m, entries); + break; + case HOSTALIAS: + TAILQ_INSERT_TAIL(&host_aliases, m, entries); + break; + case CMNDALIAS: + TAILQ_INSERT_TAIL(&cmnd_aliases, m, entries); + break; + default: + sudo_fatalx_nodebug("unexpected alias type %d", + alias_type); + break; + } + } + } + } + TAILQ_REMOVE(&parse_tree->defaults, def, entries); + free_default(def); + } + } + + /* Determine unreferenced aliases and remove/free them. */ + alias_used_by_userspecs(parse_tree, &user_aliases, &runas_aliases, + &host_aliases, &cmnd_aliases); + free_aliases_by_members(parse_tree, &user_aliases, USERALIAS); + free_aliases_by_members(parse_tree, &runas_aliases, RUNASALIAS); + free_aliases_by_members(parse_tree, &host_aliases, HOSTALIAS); + free_aliases_by_members(parse_tree, &cmnd_aliases, CMNDALIAS); + + debug_return; +} + +/* + * Remove unreferenced aliases. + */ +static void +alias_remove_unused(struct sudoers_parse_tree *parse_tree) +{ + struct rbtree *used_aliases; + debug_decl(alias_remove_unused, SUDOERS_DEBUG_ALIAS); + + used_aliases = alloc_aliases(); + if (used_aliases == NULL) + sudo_fatalx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + + /* Move all referenced aliases to used_aliases. */ + if (!alias_find_used(parse_tree, used_aliases)) + sudo_fatalx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + + /* Only unreferenced aliases are left, swap and free the unused ones. */ + free_aliases(parse_tree->aliases); + parse_tree->aliases = used_aliases; + + debug_return; +} + +/* + * Prune out non-matching entries from user and host aliases. + */ +static int +alias_prune_helper(struct sudoers_parse_tree *parse_tree, struct alias *a, + void *v) +{ + struct cvtsudoers_config *conf = v; + + /* XXX - misuse of these functions */ + switch (a->type) { + case USERALIAS: + userlist_matches_filter(parse_tree, &a->members, conf); + break; + case HOSTALIAS: + hostlist_matches_filter(parse_tree, &a->members, conf); + break; + default: + break; + } + + return 0; +} + +/* + * Prune out non-matching entries from within aliases. + */ +static void +alias_prune(struct sudoers_parse_tree *parse_tree, + struct cvtsudoers_config *conf) +{ + debug_decl(alias_prune, SUDOERS_DEBUG_ALIAS); + + alias_apply(parse_tree, alias_prune_helper, conf); + + debug_return; +} + +/* + * Convert back to sudoers. + */ +static bool +convert_sudoers_sudoers(struct sudoers_parse_tree *parse_tree, + const char *output_file, struct cvtsudoers_config *conf) +{ + bool ret = true; + struct sudo_lbuf lbuf; + debug_decl(convert_sudoers_sudoers, SUDOERS_DEBUG_UTIL); + + if (strcmp(output_file, "-") == 0) { + output_fp = stdout; + } else { + if ((output_fp = fopen(output_file, "w")) == NULL) + sudo_fatal(U_("unable to open %s"), output_file); + } + + /* Wrap lines at 80 columns with a 4 character indent. */ + sudo_lbuf_init(&lbuf, convert_sudoers_output, 4, "\\", 80); + + /* Print Defaults */ + if (!ISSET(conf->suppress, SUPPRESS_DEFAULTS)) { + if (!print_defaults_sudoers(parse_tree, &lbuf, conf->expand_aliases)) + goto done; + if (lbuf.len > 0) { + sudo_lbuf_print(&lbuf); + sudo_lbuf_append(&lbuf, "\n"); + } + } + + /* Print Aliases */ + if (!conf->expand_aliases && !ISSET(conf->suppress, SUPPRESS_ALIASES)) { + if (!print_aliases_sudoers(parse_tree, &lbuf)) + goto done; + if (lbuf.len > 1) { + sudo_lbuf_print(&lbuf); + sudo_lbuf_append(&lbuf, "\n"); + } + } + + /* Print User_Specs, separated by blank lines. */ + if (!ISSET(conf->suppress, SUPPRESS_PRIVS)) { + if (!sudoers_format_userspecs(&lbuf, parse_tree, "\n", + conf->expand_aliases, true)) { + goto done; + } + if (lbuf.len > 1) { + sudo_lbuf_print(&lbuf); + } + } + +done: + if (sudo_lbuf_error(&lbuf)) { + if (errno == ENOMEM) + sudo_fatalx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + ret = false; + } + sudo_lbuf_destroy(&lbuf); + + (void)fflush(output_fp); + if (ferror(output_fp)) { + sudo_warn(U_("unable to write to %s"), output_file); + ret = false; + } + if (output_fp != stdout) + fclose(output_fp); + + debug_return_bool(ret); +} + +static void +print_usage(FILE *fp) +{ + (void) fprintf(fp, "usage: %s [-ehMpV] [-b dn] " + "[-c conf_file ] [-d deftypes] [-f output_format] [-i input_format] " + "[-I increment] [-m filter] [-o output_file] [-O start_point] " + "[-P padding] [-s sections] [input_file]\n", getprogname()); +} + +static void +usage(void) +{ + print_usage(stderr); + exit(EXIT_FAILURE); +} + +static void +help(void) +{ + (void) printf(_("%s - convert between sudoers file formats\n\n"), getprogname()); + print_usage(stdout); + (void) puts(_("\nOptions:\n" + " -b, --base=dn the base DN for sudo LDAP queries\n" + " -c, --config=conf_file the path to the configuration file\n" + " -d, --defaults=deftypes only convert Defaults of the specified types\n" + " -e, --expand-aliases expand aliases when converting\n" + " -f, --output-format=format set output format: JSON, LDIF or sudoers\n" + " -i, --input-format=format set input format: LDIF or sudoers\n" + " -I, --increment=num amount to increase each sudoOrder by\n" + " -h, --help display help message and exit\n" + " -m, --match=filter only convert entries that match the filter\n" + " -M, --match-local match filter uses passwd and group databases\n" + " -o, --output=output_file write converted sudoers to output_file\n" + " -O, --order-start=num starting point for first sudoOrder\n" + " -p, --prune-matches prune non-matching users, groups and hosts\n" + " -P, --padding=num base padding for sudoOrder increment\n" + " -s, --suppress=sections suppress output of certain sections\n" + " -V, --version display version information and exit")); + exit(EXIT_SUCCESS); +} diff --git a/plugins/sudoers/cvtsudoers.h b/plugins/sudoers/cvtsudoers.h new file mode 100644 index 0000000..6aaaeb2 --- /dev/null +++ b/plugins/sudoers/cvtsudoers.h @@ -0,0 +1,119 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2018 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#ifndef SUDOERS_CVTSUDOERS_H +#define SUDOERS_CVTSUDOERS_H + +#include "strlist.h" + +/* Supported input/output formats. */ +enum sudoers_formats { + format_csv, + format_json, + format_ldif, + format_sudoers +}; + +/* Flags for cvtsudoers_config.defaults */ +#define CVT_DEFAULTS_GLOBAL 0x01 +#define CVT_DEFAULTS_USER 0x02 +#define CVT_DEFAULTS_RUNAS 0x04 +#define CVT_DEFAULTS_HOST 0x08 +#define CVT_DEFAULTS_CMND 0x10 +#define CVT_DEFAULTS_ALL 0xff + +/* Flags for cvtsudoers_config.suppress */ +#define SUPPRESS_DEFAULTS 0x01 +#define SUPPRESS_ALIASES 0x02 +#define SUPPRESS_PRIVS 0x04 + +/* cvtsudoers.conf settings */ +struct cvtsudoers_config { + unsigned int sudo_order; + unsigned int order_increment; + unsigned int order_padding; + unsigned int order_max; + short defaults; + short suppress; + bool store_options; + bool expand_aliases; + bool prune_matches; + bool match_local; + char *sudoers_base; + char *input_format; + char *output_format; + char *filter; + char *logfile; + char *defstr; + char *supstr; + char *group_file; + char *passwd_file; +}; + +/* Initial config settings for above. */ +#define INITIAL_CONFIG { 1, 1, 0, 0, CVT_DEFAULTS_ALL, 0, true } + +#define CONF_BOOL 0 +#define CONF_UINT 1 +#define CONF_STR 2 + +struct cvtsudoers_conf_table { + const char *conf_str; /* config file string */ + int type; /* CONF_BOOL, CONF_UINT, CONF_STR */ + void *valp; /* pointer into cvtsudoers_config */ +}; + +struct cvtsudoers_filter { + struct sudoers_str_list users; + struct sudoers_str_list groups; + struct sudoers_str_list hosts; + struct sudoers_str_list cmnds; +}; + +/* cvtsudoers.c */ +extern struct cvtsudoers_filter *filters; +void log_warnx(const char *fmt, ...) sudo_printflike(1, 2); + +/* cvtsudoers_csv.c */ +bool convert_sudoers_csv(struct sudoers_parse_tree *parse_tree, const char *output_file, struct cvtsudoers_config *conf); + +/* cvtsudoers_json.c */ +bool convert_sudoers_json(struct sudoers_parse_tree *parse_tree, const char *output_file, struct cvtsudoers_config *conf); + +/* cvtsudoers_ldif.c */ +bool convert_sudoers_ldif(struct sudoers_parse_tree *parse_tree, const char *output_file, struct cvtsudoers_config *conf); + +/* cvtsudoers_merge.c */ +struct sudoers_parse_tree *merge_sudoers(struct sudoers_parse_tree_list *parse_trees, struct sudoers_parse_tree *merged_tree); + +/* cvtsudoers_pwutil.c */ +struct cache_item *cvtsudoers_make_pwitem(uid_t uid, const char *name); +struct cache_item *cvtsudoers_make_gritem(gid_t gid, const char *name); +struct cache_item *cvtsudoers_make_gidlist_item(const struct passwd *pw, char * const *unused1, unsigned int type); +struct cache_item *cvtsudoers_make_grlist_item(const struct passwd *pw, char * const *unused1); + +/* testsudoers_pwutil.c */ +struct cache_item *testsudoers_make_gritem(gid_t gid, const char *group); +struct cache_item *testsudoers_make_grlist_item(const struct passwd *pw, char * const *groups); +struct cache_item *testsudoers_make_gidlist_item(const struct passwd *pw, char * const *gids, unsigned int type); +struct cache_item *testsudoers_make_pwitem(uid_t uid, const char *user); + +/* stubs.c */ +void get_hostname(void); + +#endif /* SUDOERS_CVTSUDOERS_H */ diff --git a/plugins/sudoers/cvtsudoers_csv.c b/plugins/sudoers/cvtsudoers_csv.c new file mode 100644 index 0000000..aa96c5d --- /dev/null +++ b/plugins/sudoers/cvtsudoers_csv.c @@ -0,0 +1,718 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2021 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include +#ifdef HAVE_STRINGS_H +# include +#endif /* HAVE_STRINGS_H */ +#include +#include + +#include "sudoers.h" +#include "cvtsudoers.h" +#include + +static void print_member_list_csv(FILE *fp, struct sudoers_parse_tree *parse_tree, struct member_list *members, bool negated, int alias_type, bool expand_aliases); + +/* + * Print sudoOptions from a defaults_list. + */ +static bool +print_options_csv(FILE *fp, struct defaults_list *options, bool need_comma) +{ + struct defaults *opt; + debug_decl(print_options_csv, SUDOERS_DEBUG_UTIL); + + TAILQ_FOREACH(opt, options, entries) { + if (opt->val != NULL) { + /* There is no need to double quote values here. */ + fprintf(fp, "%s%s%s%s", need_comma ? "," : "", opt->var, + opt->op == '+' ? "+=" : opt->op == '-' ? "-=" : "=", opt->val); + } else { + /* Boolean flag. */ + fprintf(fp, "%s%s%s%s", need_comma ? "," : "", opt->var, + opt->op == false ? "!" : "", opt->var); + } + need_comma = true; + } + + debug_return_bool(!ferror(fp)); +} + +/* + * Map a Defaults type to string. + */ +static const char * +defaults_type_to_string(int defaults_type) +{ + switch (defaults_type) { + case DEFAULTS: + return "defaults"; + case DEFAULTS_CMND: + return "defaults_command"; + case DEFAULTS_HOST: + return "defaults_host"; + case DEFAULTS_RUNAS: + return "defaults_runas"; + case DEFAULTS_USER: + return "defaults_user"; + default: + sudo_fatalx_nodebug("unexpected defaults type %d", defaults_type); + } +} + +/* + * Map a Defaults type to an alias type. + */ +static int +defaults_to_alias_type(int defaults_type) +{ + switch (defaults_type) { + case DEFAULTS_CMND: + return CMNDALIAS; + case DEFAULTS_HOST: + return HOSTALIAS; + case DEFAULTS_RUNAS: + return RUNASALIAS; + case DEFAULTS_USER: + return USERALIAS; + default: + sudo_fatalx_nodebug("unexpected defaults type %d", defaults_type); + } +} + +/* + * Print a string, performing quoting as needed. + * If a field includes a comma it must be double-quoted. + * Double quotes are replaced by a pair of double-quotes. + * XXX - rewrite this + */ +static bool +print_csv_string(FILE *fp, const char *str, bool quoted) +{ + const char *src = str; + char *dst, *newstr; + size_t len, newsize; + bool quote_it = false; + bool ret = true; + debug_decl(print_csv_string, SUDOERS_DEBUG_UTIL); + + len = strcspn(str, quoted ? "\"" : "\","); + if (str[len] == '\0') { + /* nothing to escape */ + debug_return_bool(fputs(str, fp) != EOF); + } + + if (!quoted && strchr(str + len, ',') != NULL) + quote_it = true; + + /* String includes characters we need to escape. */ + newsize = len + 2 + (strlen(len + str) * 2) + 1; + if ((newstr = malloc(newsize)) == NULL) + debug_return_bool(false); + dst = newstr; + + if (quote_it) + *dst++ = '"'; + while (*src != '\0') { + if (*src == '"') + *dst++ = '"'; + *dst++ = *src++; + } + if (quote_it) + *dst++ = '"'; + *dst = '\0'; + + if (fputs(newstr, fp) == EOF) + ret = false; + free(newstr); + + debug_return_bool(ret); +} + +/* + * Format a sudo_command as a string. + * Returns the formatted, dynamically allocated string or dies on error. + */ +static char * +format_cmnd(struct sudo_command *c, bool negated) +{ + struct command_digest *digest; + char *buf, *cp, *cmnd; + size_t bufsiz; + int len; + debug_decl(format_cmnd, SUDOERS_DEBUG_UTIL); + + cmnd = c->cmnd ? c->cmnd : (char *)"ALL"; + bufsiz = negated + strlen(cmnd) + 1; + if (c->args != NULL) + bufsiz += 1 + strlen(c->args); + TAILQ_FOREACH(digest, &c->digests, entries) { + bufsiz += strlen(digest_type_to_name(digest->digest_type)) + 1 + + strlen(digest->digest_str) + 1; + if (TAILQ_NEXT(digest, entries) != NULL) + bufsiz += 2; + } + + if ((buf = malloc(bufsiz)) == NULL) { + sudo_fatalx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + } + + cp = buf; + TAILQ_FOREACH(digest, &c->digests, entries) { + len = snprintf(cp, bufsiz - (cp - buf), "%s:%s%s ", + digest_type_to_name(digest->digest_type), digest->digest_str, + TAILQ_NEXT(digest, entries) ? "," : ""); + if (len < 0 || len >= (int)bufsiz - (cp - buf)) + sudo_fatalx(U_("internal error, %s overflow"), __func__); + cp += len; + } + + len = snprintf(cp, bufsiz - (cp - buf), "%s%s%s%s", negated ? "!" : "", + cmnd, c->args ? " " : "", c->args ? c->args : ""); + if (len < 0 || len >= (int)bufsiz - (cp - buf)) + sudo_fatalx(U_("internal error, %s overflow"), __func__); + + debug_return_str(buf); +} + +/* + * Print struct member in CSV format as the specified attribute. + * See print_member_int() in parse.c. + */ +static void +print_member_csv(FILE *fp, struct sudoers_parse_tree *parse_tree, char *name, + int type, bool negated, bool quoted, int alias_type, bool expand_aliases) +{ + struct alias *a; + char *str; + int len; + debug_decl(print_member_csv, SUDOERS_DEBUG_UTIL); + + switch (type) { + case MYSELF: + /* Only valid for sudoRunasUser */ + break; + case ALL: + if (name == NULL) { + fputs(negated ? "!ALL" : "ALL", fp); + break; + } + FALLTHROUGH; + case COMMAND: + str = format_cmnd((struct sudo_command *)name, negated); + print_csv_string(fp, str, quoted); + free(str); + break; + case ALIAS: + if (expand_aliases) { + if ((a = alias_get(parse_tree, name, alias_type)) != NULL) { + print_member_list_csv(fp, parse_tree, &a->members, negated, + alias_type, expand_aliases); + alias_put(a); + break; + } + } + FALLTHROUGH; + default: + len = asprintf(&str, "%s%s", negated ? "!" : "", name); + if (len == -1) { + sudo_fatalx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + } + print_csv_string(fp, str, quoted); + free(str); + break; + } + + debug_return; +} + +/* + * Print list of struct member in CSV format as the specified attribute. + * See print_member_int() in parse.c. + */ +static void +print_member_list_csv(FILE *fp, struct sudoers_parse_tree *parse_tree, + struct member_list *members, bool negated, int alias_type, + bool expand_aliases) +{ + struct member *m, *next; + debug_decl(print_member_list_csv, SUDOERS_DEBUG_UTIL); + + if (TAILQ_EMPTY(members)) + debug_return; + + if (TAILQ_FIRST(members) != TAILQ_LAST(members, member_list)) + putc('"', fp); + TAILQ_FOREACH_SAFE(m, members, entries, next) { + print_member_csv(fp, parse_tree, m->name, m->type, + negated ? !m->negated : m->negated, true, alias_type, + expand_aliases); + if (next != NULL) + putc(',', fp); + } + if (TAILQ_FIRST(members) != TAILQ_LAST(members, member_list)) + putc('"', fp); + + debug_return; +} + +/* + * Print the binding for a Defaults entry of the specified type. + */ +static void +print_defaults_binding_csv(FILE *fp, struct sudoers_parse_tree *parse_tree, + struct defaults_binding *binding, int type, bool expand_aliases) +{ + int alias_type; + debug_decl(print_defaults_binding_csv, SUDOERS_DEBUG_UTIL); + + if (type != DEFAULTS) { + /* Print each member object in binding. */ + alias_type = defaults_to_alias_type(type); + print_member_list_csv(fp, parse_tree, &binding->members, false, + alias_type, expand_aliases); + } + + debug_return; +} + +/* + * Print all Defaults in CSV format: + * + * defaults,binding,name,operator,value + * + * where "operator" is one of +=, -=, or = + * and boolean flags use true/false for the value. + */ +static bool +print_defaults_csv(FILE *fp, struct sudoers_parse_tree *parse_tree, + bool expand_aliases) +{ + struct defaults *def; + debug_decl(print_defaults_csv, SUDOERS_DEBUG_UTIL); + + if (TAILQ_EMPTY(&parse_tree->defaults)) + debug_return_bool(true); + + /* Heading line. */ + fputs("defaults_type,binding,name,operator,value\n", fp); + + TAILQ_FOREACH(def, &parse_tree->defaults, entries) { + const char *operator; + + /* Print operator */ + switch (def->op) { + case '+': + operator = "+="; + break; + case '-': + operator = "-="; + break; + case true: + case false: + operator = "="; + break; + default: + sudo_warnx("internal error: unexpected defaults op %d", def->op); + continue; + } + + /* + * For CSV we use a separate entry for each Defaults setting, + * even if they were on the same line in sudoers. + */ + fprintf(fp, "%s,", defaults_type_to_string(def->type)); + + /* Print binding (if any), which could be a list. */ + print_defaults_binding_csv(fp, parse_tree, def->binding, def->type, + expand_aliases); + + /* Print Defaults name + operator. */ + fprintf(fp, ",%s,%s,", def->var, operator); + + /* Print defaults value. */ + /* XXX - differentiate between lists and single values? */ + if (def->val == NULL) { + fputs(def->op == true ? "true" : "false", fp); + } else { + /* Does not handle lists specially. */ + print_csv_string(fp, def->val, false); + } + putc('\n', fp); + } + putc('\n', fp); + fflush(fp); + + debug_return_bool(!ferror(fp)); +} + +/* + * Callback for alias_apply() to print an alias entry. + */ +static int +print_alias_csv(struct sudoers_parse_tree *parse_tree, struct alias *a, void *v +) +{ + FILE *fp = v; + const char *title; + debug_decl(print_alias_csv, SUDOERS_DEBUG_UTIL); + + title = alias_type_to_string(a->type); + if (title == NULL) { + sudo_warnx("unexpected alias type %d", a->type); + debug_return_int(0); + } + + fprintf(fp, "%s,%s,", title, a->name); + print_member_list_csv(fp, parse_tree, &a->members, false, a->type, false); + putc('\n', fp); + debug_return_int(0); +} + +/* + * Print all aliases in CSV format: + */ +static bool +print_aliases_csv(FILE *fp, struct sudoers_parse_tree *parse_tree) +{ + debug_decl(print_aliases_csv, SUDOERS_DEBUG_UTIL); + + if (TAILQ_EMPTY(&parse_tree->defaults)) + debug_return_bool(true); + + /* Heading line. */ + fputs("alias_type,alias_name,members\n", fp); + + alias_apply(parse_tree, print_alias_csv, fp); + putc('\n', fp); + + debug_return_bool(true); +} + +/* + * Print a Cmnd_Spec in CSV format. + */ +static void +print_cmndspec_csv(FILE *fp, struct sudoers_parse_tree *parse_tree, + struct cmndspec *cs, struct cmndspec **nextp, + struct defaults_list *options, bool expand_aliases) +{ + char timebuf[sizeof("20120727121554Z")]; + struct cmndspec *next = *nextp; + bool need_comma = false; + struct member *m; + struct tm gmt; + bool last_one, quoted = false; + int len; + debug_decl(print_cmndspec_csv, SUDOERS_DEBUG_UTIL); + + if (cs->runasuserlist != NULL) { + print_member_list_csv(fp, parse_tree, cs->runasuserlist, false, + RUNASALIAS, expand_aliases); + } + putc(',', fp); + + if (cs->runasgrouplist != NULL) { + print_member_list_csv(fp, parse_tree, cs->runasgrouplist, false, + RUNASALIAS, expand_aliases); + } + putc(',', fp); + + /* We don't know how many options there will be so always quote it. */ + putc('"', fp); + if (cs->notbefore != UNSPEC) { + if (gmtime_r(&cs->notbefore, &gmt) == NULL) { + sudo_warn("%s", U_("unable to get GMT time")); + } else { + timebuf[sizeof(timebuf) - 1] = '\0'; + len = strftime(timebuf, sizeof(timebuf), "%Y%m%d%H%M%SZ", &gmt); + if (len == 0 || timebuf[sizeof(timebuf) - 1] != '\0') { + sudo_warnx("%s", U_("unable to format timestamp")); + } else { + fprintf(fp, "%snotbefore=%s", need_comma ? "," : "", timebuf); // -V547 + need_comma = true; + } + } + } + if (cs->notafter != UNSPEC) { + if (gmtime_r(&cs->notafter, &gmt) == NULL) { + sudo_warn("%s", U_("unable to get GMT time")); + } else { + timebuf[sizeof(timebuf) - 1] = '\0'; + len = strftime(timebuf, sizeof(timebuf), "%Y%m%d%H%M%SZ", &gmt); + if (len == 0 || timebuf[sizeof(timebuf) - 1] != '\0') { + sudo_warnx("%s", U_("unable to format timestamp")); + } else { + fprintf(fp, "%snotafter=%s", need_comma ? "," : "", timebuf); + need_comma = true; + } + } + } + + if (cs->timeout > 0) { + fprintf(fp, "%scommand_timeout=%d", need_comma ? "," : "", cs->timeout); + need_comma = true; + } + + /* Print tags as options */ + if (TAGS_SET(cs->tags)) { + struct cmndtag tag = cs->tags; + + if (tag.nopasswd != UNSPEC) { + fprintf(fp, "%s%s", need_comma ? "," : "", + tag.nopasswd ? "!authenticate" : "authenticate"); + need_comma = true; + } + if (tag.noexec != UNSPEC) { + fprintf(fp, "%s%s", need_comma ? "," : "", + tag.noexec ? "noexec" : "!noexec"); + need_comma = true; + } + if (tag.intercept != UNSPEC) { + fprintf(fp, "%s%s", need_comma ? "," : "", + tag.intercept ? "intercept" : "!intercept"); + need_comma = true; + } + if (tag.send_mail != UNSPEC) { + if (tag.send_mail) { + fprintf(fp, "%smail_all_cmnds", need_comma ? "," : ""); + } else { + fprintf(fp, "%s!mail_all_cmnds,!mail_always,!mail_no_perms", + need_comma ? "," : ""); + } + need_comma = true; + } + if (tag.setenv != UNSPEC && tag.setenv != IMPLIED) { + fprintf(fp, "%s%s", need_comma ? "," : "", + tag.setenv ? "setenv" : "!setenv"); + need_comma = true; + } + if (tag.follow != UNSPEC) { + fprintf(fp, "%s%s", need_comma ? "," : "", + tag.follow ? "sudoedit_follow" : "!sudoedit_follow"); + need_comma = true; + } + if (tag.log_input != UNSPEC) { + fprintf(fp, "%s%s", need_comma ? "," : "", + tag.follow ? "log_input" : "!log_input"); + need_comma = true; + } + if (tag.log_output != UNSPEC) { + fprintf(fp, "%s%s", need_comma ? "," : "", + tag.follow ? "log_output" : "!log_output"); + need_comma = true; + } + } + print_options_csv(fp, options, need_comma); + if (!TAILQ_EMPTY(options)) + need_comma = true; + + /* Print runchroot and runcwd. */ + if (cs->runchroot != NULL) { + fprintf(fp, "%srunchroot=%s", need_comma ? "," : "", cs->runchroot); + need_comma = true; + } + if (cs->runcwd != NULL) { + fprintf(fp, "%sruncwd=%s", need_comma ? "," : "", cs->runcwd); + need_comma = true; + } + +#ifdef HAVE_SELINUX + /* Print SELinux role/type */ + if (cs->role != NULL && cs->type != NULL) { + fprintf(fp, "%srole=%s,type=%s", need_comma ? "," : "", + cs->role, cs->type); + need_comma = true; + } +#endif /* HAVE_SELINUX */ + +#ifdef HAVE_APPARMOR + if (cs->apparmor_profile != NULL) { + fprintf(fp, "%sapparmor_profile=%s,", need_comma ? "," : "", + cs->apparmor_profile); + need_comma = true; + } +#endif /* HAVE_APPARMOR */ + +#ifdef HAVE_PRIV_SET + /* Print Solaris privs/limitprivs */ + if (cs->privs != NULL || cs->limitprivs != NULL) { + if (cs->privs != NULL) { + fprintf(fp, "%sprivs=%s", need_comma ? "," : "", cs->privs); + need_comma = true; + } + if (cs->limitprivs != NULL) { + fprintf(fp, "%slimitprivs=%s", need_comma ? "," : "", cs->limitprivs); + need_comma = true; + } + } +#endif /* HAVE_PRIV_SET */ +#ifdef __clang_analyzer__ + (void)&need_comma; +#endif + putc('"', fp); + putc(',', fp); + + /* + * Merge adjacent commands with matching tags, runas, SELinux + * role/type, AppArmor profiles and Solaris priv settings. + */ + for (;;) { + /* Does the next entry differ only in the command itself? */ + /* XXX - move into a function that returns bool */ + /* XXX - TAG_SET does not account for implied SETENV */ + last_one = next == NULL || + RUNAS_CHANGED(cs, next) || TAGS_CHANGED(cs->tags, next->tags) +#ifdef HAVE_PRIV_SET + || cs->privs != next->privs || cs->limitprivs != next->limitprivs +#endif /* HAVE_PRIV_SET */ +#ifdef HAVE_SELINUX + || cs->role != next->role || cs->type != next->type +#endif /* HAVE_SELINUX */ +#ifdef HAVE_APPARMOR + || cs->apparmor_profile != next->apparmor_profile +#endif /* HAVE_APPARMOR */ + || cs->runchroot != next->runchroot || cs->runcwd != next->runcwd; + + if (!quoted && !last_one) { + quoted = true; + putc('"', fp); + } + m = cs->cmnd; + print_member_csv(fp, parse_tree, m->name, m->type, m->negated, quoted, + CMNDALIAS, expand_aliases); + if (last_one) + break; + putc(',', fp); + cs = next; + next = TAILQ_NEXT(cs, entries); + } + if (quoted) + putc('"', fp); + + *nextp = next; + + debug_return; +} + +/* + * Print a single User_Spec. + */ +static bool +print_userspec_csv(FILE *fp, struct sudoers_parse_tree *parse_tree, + struct userspec *us, bool expand_aliases) +{ + struct privilege *priv; + struct cmndspec *cs, *next; + debug_decl(print_userspec_csv, SUDOERS_DEBUG_UTIL); + + /* + * Each userspec struct may contain multiple privileges for the user. + */ + TAILQ_FOREACH(priv, &us->privileges, entries) { + TAILQ_FOREACH_SAFE(cs, &priv->cmndlist, entries, next) { + fputs("rule,", fp); + print_member_list_csv(fp, parse_tree, &us->users, false, + USERALIAS, expand_aliases); + putc(',', fp); + + print_member_list_csv(fp, parse_tree, &priv->hostlist, false, + HOSTALIAS, expand_aliases); + putc(',', fp); + + print_cmndspec_csv(fp, parse_tree, cs, &next, &priv->defaults, + expand_aliases); + putc('\n', fp); + } + } + + debug_return_bool(!ferror(fp)); +} + +/* + * Print User_Specs. + */ +static bool +print_userspecs_csv(FILE *fp, struct sudoers_parse_tree *parse_tree, + bool expand_aliases) +{ + struct userspec *us; + debug_decl(print_userspecs_csv, SUDOERS_DEBUG_UTIL); + + if (TAILQ_EMPTY(&parse_tree->userspecs)) + debug_return_bool(true); + + /* Heading line. */ + fputs("rule,user,host,runusers,rungroups,options,command\n", fp); + + TAILQ_FOREACH(us, &parse_tree->userspecs, entries) { + if (!print_userspec_csv(fp, parse_tree, us, expand_aliases)) + debug_return_bool(false); + } + debug_return_bool(true); +} + +/* + * Export the parsed sudoers file in CSV format. + */ +bool +convert_sudoers_csv(struct sudoers_parse_tree *parse_tree, + const char *output_file, struct cvtsudoers_config *conf) +{ + bool ret = true; + FILE *output_fp = stdout; + debug_decl(convert_sudoers_csv, SUDOERS_DEBUG_UTIL); + + if (output_file != NULL && strcmp(output_file, "-") != 0) { + if ((output_fp = fopen(output_file, "w")) == NULL) + sudo_fatal(U_("unable to open %s"), output_file); + } + + /* Dump Defaults in CSV format. */ + if (!ISSET(conf->suppress, SUPPRESS_DEFAULTS)) + print_defaults_csv(output_fp, parse_tree, conf->expand_aliases); + + /* Dump Aliases in CSV format. */ + if (!conf->expand_aliases && !ISSET(conf->suppress, SUPPRESS_ALIASES)) { + print_aliases_csv(output_fp, parse_tree); + } + + /* Dump User_Specs in CSV format. */ + if (!ISSET(conf->suppress, SUPPRESS_PRIVS)) + print_userspecs_csv(output_fp, parse_tree, conf->expand_aliases); + + (void)fflush(output_fp); + if (ferror(output_fp)) + ret = false; + if (output_fp != stdout) + fclose(output_fp); + + debug_return_bool(ret); +} diff --git a/plugins/sudoers/cvtsudoers_json.c b/plugins/sudoers/cvtsudoers_json.c new file mode 100644 index 0000000..9fc56e3 --- /dev/null +++ b/plugins/sudoers/cvtsudoers_json.c @@ -0,0 +1,933 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2013-2021 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include +#include +#include +#include + +#include "sudoers.h" +#include "sudo_json.h" +#include "cvtsudoers.h" +#include + +/* + * Closure used to store state when iterating over all aliases. + */ +struct json_alias_closure { + struct json_container *jsonc; + const char *title; + unsigned int count; + int alias_type; +}; + +/* + * Type values used to disambiguate the generic WORD and ALIAS types. + */ +enum word_type { + TYPE_COMMAND, + TYPE_HOSTNAME, + TYPE_RUNASGROUP, + TYPE_RUNASUSER, + TYPE_USERNAME +}; + +/* + * Print sudo command member in JSON format, with correct indentation. + */ +static void +print_command_json(struct json_container *jsonc, const char *name, bool negated) +{ + struct sudo_command *c = (struct sudo_command *)name; + struct command_digest *digest; + struct json_value value; + char *cmnd = c->cmnd; + const char *digest_name; + debug_decl(print_command_json, SUDOERS_DEBUG_UTIL); + + /* Print command with optional command line args. */ + if (c->args != NULL) { + if (asprintf(&cmnd, "%s %s", c->cmnd, c->args) == -1) { + sudo_fatalx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + } + } + value.type = JSON_STRING; + value.u.string = cmnd ? cmnd : (char *)"ALL"; + + if (!negated && TAILQ_EMPTY(&c->digests)) { + /* Print as { "command": "command and args" } */ + sudo_json_add_value_as_object(jsonc, "command", &value); + } else { + /* Print as multi-line object. */ + sudo_json_open_object(jsonc, NULL); + sudo_json_add_value(jsonc, "command", &value); + + /* Optional digest list. */ + TAILQ_FOREACH(digest, &c->digests, entries) { + digest_name = digest_type_to_name(digest->digest_type); + value.type = JSON_STRING; + value.u.string = digest->digest_str; + sudo_json_add_value(jsonc, digest_name, &value); + } + + /* Command may be negated. */ + if (negated) { + value.type = JSON_BOOL; + value.u.boolean = true; + sudo_json_add_value(jsonc, "negated", &value); + } + + sudo_json_close_object(jsonc); + } + + if (cmnd != c->cmnd) + free(cmnd); + + debug_return; +} + +/* + * Map an alias type to enum word_type. + */ +static enum word_type +alias_to_word_type(int alias_type) +{ + switch (alias_type) { + case CMNDALIAS: + return TYPE_COMMAND; + case HOSTALIAS: + return TYPE_HOSTNAME; + case RUNASALIAS: + return TYPE_RUNASUSER; + case USERALIAS: + return TYPE_USERNAME; + default: + sudo_fatalx_nodebug("unexpected alias type %d", alias_type); + } +} + +/* + * Map a Defaults type to enum word_type. + */ +static enum word_type +defaults_to_word_type(int defaults_type) +{ + switch (defaults_type) { + case DEFAULTS_CMND: + return TYPE_COMMAND; + case DEFAULTS_HOST: + return TYPE_HOSTNAME; + case DEFAULTS_RUNAS: + return TYPE_RUNASUSER; + case DEFAULTS_USER: + return TYPE_USERNAME; + default: + sudo_fatalx_nodebug("unexpected defaults type %d", defaults_type); + } +} + +/* + * Print struct member in JSON format, with correct indentation. + */ +static void +print_member_json_int(struct json_container *jsonc, + struct sudoers_parse_tree *parse_tree, char *name, int type, bool negated, + enum word_type word_type, bool expand_aliases) +{ + struct json_value value; + const char *typestr = NULL; + const char *errstr; + int alias_type = UNSPEC; + id_t id; + debug_decl(print_member_json_int, SUDOERS_DEBUG_UTIL); + + /* Most of the time we print a string. */ + value.type = JSON_STRING; + switch (type) { + case ALL: + if (name == NULL) { + value.u.string = "ALL"; + } else { + /* ALL used with digest, print as a command. */ + type = COMMAND; + } + break; + case MYSELF: + value.u.string = ""; + break; + default: + if (name == NULL) + sudo_fatalx("missing member name for type %d", type); + value.u.string = name; + } + + switch (type) { + case USERGROUP: + value.u.string++; /* skip leading '%' */ + if (*value.u.string == ':') { + value.u.string++; + typestr = "nonunixgroup"; + if (*value.u.string == '#') { + id = sudo_strtoid(value.u.string + 1, &errstr); + if (errstr != NULL) { + sudo_warnx("internal error: non-Unix group-ID %s: \"%s\"", + errstr, value.u.string + 1); + } else { + value.type = JSON_ID; + value.u.id = id; + typestr = "nonunixgid"; + } + } + } else { + typestr = "usergroup"; + if (*value.u.string == '#') { + id = sudo_strtoid(value.u.string + 1, &errstr); + if (errstr != NULL) { + sudo_warnx("internal error: group-ID %s: \"%s\"", + errstr, value.u.string + 1); + } else { + value.type = JSON_ID; + value.u.id = id; + typestr = "usergid"; + } + } + } + break; + case NETGROUP: + typestr = "netgroup"; + value.u.string++; /* skip leading '+' */ + break; + case NTWKADDR: + typestr = "networkaddr"; + break; + case COMMAND: + print_command_json(jsonc, name, negated); + debug_return; + case ALL: + case MYSELF: + case WORD: + switch (word_type) { + case TYPE_COMMAND: + typestr = "command"; + break; + case TYPE_HOSTNAME: + typestr = "hostname"; + break; + case TYPE_RUNASGROUP: + typestr = "usergroup"; + break; + case TYPE_RUNASUSER: + case TYPE_USERNAME: + typestr = "username"; + if (*value.u.string == '#') { + id = sudo_strtoid(value.u.string + 1, &errstr); + if (errstr != NULL) { + sudo_warnx("internal error: user-ID %s: \"%s\"", + errstr, name); + } else { + value.type = JSON_ID; + value.u.id = id; + typestr = "userid"; + } + } + break; + default: + sudo_fatalx("unexpected word type %d", word_type); + } + break; + case ALIAS: + switch (word_type) { + case TYPE_COMMAND: + if (expand_aliases) { + alias_type = CMNDALIAS; + } else { + typestr = "cmndalias"; + } + break; + case TYPE_HOSTNAME: + if (expand_aliases) { + alias_type = HOSTALIAS; + } else { + typestr = "hostalias"; + } + break; + case TYPE_RUNASGROUP: + case TYPE_RUNASUSER: + if (expand_aliases) { + alias_type = RUNASALIAS; + } else { + typestr = "runasalias"; + } + break; + case TYPE_USERNAME: + if (expand_aliases) { + alias_type = USERALIAS; + } else { + typestr = "useralias"; + } + break; + default: + sudo_fatalx("unexpected word type %d", word_type); + } + break; + default: + sudo_fatalx("unexpected member type %d", type); + } + + if (expand_aliases && type == ALIAS) { + struct alias *a; + struct member *m; + + /* Print each member of the alias. */ + if ((a = alias_get(parse_tree, value.u.string, alias_type)) != NULL) { + TAILQ_FOREACH(m, &a->members, entries) { + print_member_json_int(jsonc, parse_tree, m->name, m->type, + negated ? !m->negated : m->negated, + alias_to_word_type(alias_type), true); + } + alias_put(a); + } + } else { + if (negated) { + sudo_json_open_object(jsonc, NULL); + sudo_json_add_value(jsonc, typestr, &value); + value.type = JSON_BOOL; + value.u.boolean = true; + sudo_json_add_value(jsonc, "negated", &value); + sudo_json_close_object(jsonc); + } else { + sudo_json_add_value_as_object(jsonc, typestr, &value); + } + } + + debug_return; +} + +static void +print_member_json(struct json_container *jsonc, + struct sudoers_parse_tree *parse_tree, struct member *m, + enum word_type word_type, bool expand_aliases) +{ + print_member_json_int(jsonc, parse_tree, m->name, m->type, m->negated, + word_type, expand_aliases); +} + +/* + * Callback for alias_apply() to print an alias entry if it matches + * the type specified in the closure. + */ +static int +print_alias_json(struct sudoers_parse_tree *parse_tree, struct alias *a, void *v) +{ + struct json_alias_closure *closure = v; + struct member *m; + debug_decl(print_alias_json, SUDOERS_DEBUG_UTIL); + + if (a->type != closure->alias_type) + debug_return_int(0); + + /* Open the aliases object or close the last entry, then open new one. */ + if (closure->count++ == 0) { + sudo_json_open_object(closure->jsonc, closure->title); + } else { + sudo_json_close_array(closure->jsonc); + } + sudo_json_open_array(closure->jsonc, a->name); + + TAILQ_FOREACH(m, &a->members, entries) { + print_member_json(closure->jsonc, parse_tree, m, + alias_to_word_type(closure->alias_type), false); + } + debug_return_int(0); +} + +/* + * Print the binding for a Defaults entry of the specified type. + */ +static void +print_binding_json(struct json_container *jsonc, + struct sudoers_parse_tree *parse_tree, struct defaults_binding *binding, + int type, bool expand_aliases) +{ + struct member *m; + debug_decl(print_binding_json, SUDOERS_DEBUG_UTIL); + + if (TAILQ_EMPTY(&binding->members)) + debug_return; + + /* Print each member object in binding. */ + sudo_json_open_array(jsonc, "Binding"); + TAILQ_FOREACH(m, &binding->members, entries) { + print_member_json(jsonc, parse_tree, m, defaults_to_word_type(type), + expand_aliases); + } + sudo_json_close_array(jsonc); + + debug_return; +} + +/* + * Print a Defaults list JSON format. + */ +static void +print_defaults_list_json(struct json_container *jsonc, struct defaults *def) +{ + char savech, *start, *end = def->val; + struct json_value value; + debug_decl(print_defaults_list_json, SUDOERS_DEBUG_UTIL); + + sudo_json_open_object(jsonc, NULL); + value.type = JSON_STRING; + switch (def->op) { + case '+': + value.u.string = "list_add"; + break; + case '-': + value.u.string = "list_remove"; + break; + case true: + value.u.string = "list_assign"; + break; + default: + sudo_warnx("internal error: unexpected list op %d", def->op); + value.u.string = "unsupported"; + break; + } + sudo_json_add_value(jsonc, "operation", &value); + sudo_json_open_array(jsonc, def->var); + /* Split value into multiple space-separated words. */ + do { + /* Remove leading blanks, must have a non-empty string. */ + for (start = end; isblank((unsigned char)*start); start++) + continue; + if (*start == '\0') + break; + + /* Find the end and print it. */ + for (end = start; *end && !isblank((unsigned char)*end); end++) + continue; + savech = *end; + *end = '\0'; + value.type = JSON_STRING; + value.u.string = start; + sudo_json_add_value(jsonc, NULL, &value); + *end = savech; + } while (*end++ != '\0'); + sudo_json_close_array(jsonc); + sudo_json_close_object(jsonc); + + debug_return; +} + +static int +get_defaults_type(struct defaults *def) +{ + struct sudo_defs_types *cur; + + /* Look up def in table to find its type. */ + for (cur = sudo_defs_table; cur->name; cur++) { + if (strcmp(def->var, cur->name) == 0) + return cur->type; + } + return -1; +} + +/* + * Export all Defaults in JSON format. + */ +static void +print_defaults_json(struct json_container *jsonc, + struct sudoers_parse_tree *parse_tree, bool expand_aliases) +{ + struct json_value value; + struct defaults *def, *next; + int type; + debug_decl(print_defaults_json, SUDOERS_DEBUG_UTIL); + + if (TAILQ_EMPTY(&parse_tree->defaults)) + debug_return; + + sudo_json_open_array(jsonc, "Defaults"); + + TAILQ_FOREACH_SAFE(def, &parse_tree->defaults, entries, next) { + type = get_defaults_type(def); + if (type == -1) { + log_warnx(U_("%s:%d:%d: unknown defaults entry \"%s\""), + def->file, def->line, def->column, def->var); + /* XXX - just pass it through as a string anyway? */ + continue; + } + + /* Found it, print object container and binding (if any). */ + sudo_json_open_object(jsonc, NULL); + print_binding_json(jsonc, parse_tree, def->binding, def->type, + expand_aliases); + + /* Validation checks. */ + /* XXX - validate values in addition to names? */ + + /* Print options, merging ones with the same binding. */ + sudo_json_open_array(jsonc, "Options"); + for (;;) { + next = TAILQ_NEXT(def, entries); + /* XXX - need to update cur too */ + if ((type & T_MASK) == T_FLAG || def->val == NULL) { + value.type = JSON_BOOL; + value.u.boolean = def->op; + sudo_json_add_value_as_object(jsonc, def->var, &value); + } else if ((type & T_MASK) == T_LIST) { + print_defaults_list_json(jsonc, def); + } else { + value.type = JSON_STRING; + value.u.string = def->val; + sudo_json_add_value_as_object(jsonc, def->var, &value); + } + if (next == NULL || def->binding != next->binding) + break; + def = next; + type = get_defaults_type(def); + if (type == -1) { + log_warnx(U_("%s:%d:%d: unknown defaults entry \"%s\""), + def->file, def->line, def->column, def->var); + /* XXX - just pass it through as a string anyway? */ + break; + } + } + sudo_json_close_array(jsonc); + sudo_json_close_object(jsonc); + } + + /* Close Defaults array; comma (if any) & newline will be printer later. */ + sudo_json_close_array(jsonc); + + debug_return; +} + +/* + * Export all aliases of the specified type in JSON format. + * Iterates through the entire aliases tree. + */ +static void +print_aliases_by_type_json(struct json_container *jsonc, + struct sudoers_parse_tree *parse_tree, int alias_type, const char *title) +{ + struct json_alias_closure closure; + debug_decl(print_aliases_by_type_json, SUDOERS_DEBUG_UTIL); + + closure.jsonc = jsonc; + closure.count = 0; + closure.alias_type = alias_type; + closure.title = title; + alias_apply(parse_tree, print_alias_json, &closure); + if (closure.count != 0) { + sudo_json_close_array(jsonc); + sudo_json_close_object(jsonc); + } + + debug_return; +} + +/* + * Export all aliases in JSON format. + */ +static void +print_aliases_json(struct json_container *jsonc, + struct sudoers_parse_tree *parse_tree) +{ + debug_decl(print_aliases_json, SUDOERS_DEBUG_UTIL); + + print_aliases_by_type_json(jsonc, parse_tree, USERALIAS, "User_Aliases"); + print_aliases_by_type_json(jsonc, parse_tree, RUNASALIAS, "Runas_Aliases"); + print_aliases_by_type_json(jsonc, parse_tree, HOSTALIAS, "Host_Aliases"); + print_aliases_by_type_json(jsonc, parse_tree, CMNDALIAS, "Command_Aliases"); + + debug_return; +} + +/* Does the next entry differ only in the command itself? */ +static bool +cmndspec_continues(struct cmndspec *cs, struct cmndspec *next) +{ + bool ret = next != NULL && + !RUNAS_CHANGED(cs, next) && !TAGS_CHANGED(cs->tags, next->tags) +#ifdef HAVE_PRIV_SET + && cs->privs == next->privs && cs->limitprivs == next->limitprivs +#endif /* HAVE_PRIV_SET */ +#ifdef HAVE_SELINUX + && cs->role == next->role && cs->type == next->type +#endif /* HAVE_SELINUX */ +#ifdef HAVE_APPARMOR + && cs->apparmor_profile == next->apparmor_profile +#endif /* HAVE_APPARMOR */ + && cs->runchroot == next->runchroot && cs->runcwd == next->runcwd; + return ret; +} + +/* + * Print a Cmnd_Spec in JSON format at the correct indent level. + * A pointer to the next Cmnd_Spec is passed in to make it possible to + * merge adjacent entries that are identical in all but the command. + */ +static void +print_cmndspec_json(struct json_container *jsonc, + struct sudoers_parse_tree *parse_tree, struct cmndspec *cs, + struct cmndspec **nextp, struct defaults_list *options, bool expand_aliases) +{ + char timebuf[sizeof("20120727121554Z")]; + struct cmndspec *next = *nextp; + struct json_value value; + struct defaults *def; + struct member *m; + struct tm gmt; + int len; + debug_decl(print_cmndspec_json, SUDOERS_DEBUG_UTIL); + + /* Open Cmnd_Spec object. */ + sudo_json_open_object(jsonc, NULL); + + /* Print runasuserlist */ + if (cs->runasuserlist != NULL) { + sudo_json_open_array(jsonc, "runasusers"); + TAILQ_FOREACH(m, cs->runasuserlist, entries) { + print_member_json(jsonc, parse_tree, m, TYPE_RUNASUSER, + expand_aliases); + } + sudo_json_close_array(jsonc); + } + + /* Print runasgrouplist */ + if (cs->runasgrouplist != NULL) { + sudo_json_open_array(jsonc, "runasgroups"); + TAILQ_FOREACH(m, cs->runasgrouplist, entries) { + print_member_json(jsonc, parse_tree, m, TYPE_RUNASGROUP, + expand_aliases); + } + sudo_json_close_array(jsonc); + } + + /* Print options and tags */ + if (cs->timeout > 0 || cs->notbefore != UNSPEC || cs->notafter != UNSPEC || + cs->runchroot != NULL || cs->runcwd != NULL || TAGS_SET(cs->tags) || + !TAILQ_EMPTY(options)) { + struct cmndtag tag = cs->tags; + + sudo_json_open_array(jsonc, "Options"); + if (cs->runchroot != NULL) { + value.type = JSON_STRING; + value.u.string = cs->runchroot; + sudo_json_add_value(jsonc, "runchroot", &value); + } + if (cs->runcwd != NULL) { + value.type = JSON_STRING; + value.u.string = cs->runcwd; + sudo_json_add_value(jsonc, "runcwd", &value); + } + if (cs->timeout > 0) { + value.type = JSON_NUMBER; + value.u.number = cs->timeout; + sudo_json_add_value_as_object(jsonc, "command_timeout", &value); + } + if (cs->notbefore != UNSPEC) { + if (gmtime_r(&cs->notbefore, &gmt) == NULL) { + sudo_warn("%s", U_("unable to get GMT time")); + } else { + timebuf[sizeof(timebuf) - 1] = '\0'; + len = strftime(timebuf, sizeof(timebuf), "%Y%m%d%H%M%SZ", &gmt); + if (len == 0 || timebuf[sizeof(timebuf) - 1] != '\0') { + sudo_warnx("%s", U_("unable to format timestamp")); + } else { + value.type = JSON_STRING; + value.u.string = timebuf; + sudo_json_add_value_as_object(jsonc, "notbefore", &value); + } + } + } + if (cs->notafter != UNSPEC) { + if (gmtime_r(&cs->notafter, &gmt) == NULL) { + sudo_warn("%s", U_("unable to get GMT time")); + } else { + timebuf[sizeof(timebuf) - 1] = '\0'; + len = strftime(timebuf, sizeof(timebuf), "%Y%m%d%H%M%SZ", &gmt); + if (len == 0 || timebuf[sizeof(timebuf) - 1] != '\0') { + sudo_warnx("%s", U_("unable to format timestamp")); + } else { + value.type = JSON_STRING; + value.u.string = timebuf; + sudo_json_add_value_as_object(jsonc, "notafter", &value); + } + } + } + if (tag.nopasswd != UNSPEC) { + value.type = JSON_BOOL; + value.u.boolean = !tag.nopasswd; + sudo_json_add_value_as_object(jsonc, "authenticate", &value); + } + if (tag.noexec != UNSPEC) { + value.type = JSON_BOOL; + value.u.boolean = tag.noexec; + sudo_json_add_value_as_object(jsonc, "noexec", &value); + } + if (tag.intercept != UNSPEC) { + value.type = JSON_BOOL; + value.u.boolean = tag.intercept; + sudo_json_add_value_as_object(jsonc, "intercept", &value); + } + if (tag.send_mail != UNSPEC) { + value.type = JSON_BOOL; + value.u.boolean = tag.send_mail; + sudo_json_add_value_as_object(jsonc, "send_mail", &value); + } + if (tag.setenv != UNSPEC) { + value.type = JSON_BOOL; + value.u.boolean = tag.setenv; + sudo_json_add_value_as_object(jsonc, "setenv", &value); + } + if (tag.follow != UNSPEC) { + value.type = JSON_BOOL; + value.u.boolean = tag.follow; + sudo_json_add_value_as_object(jsonc, "sudoedit_follow", &value); + } + if (tag.log_input != UNSPEC) { + value.type = JSON_BOOL; + value.u.boolean = tag.log_input; + sudo_json_add_value_as_object(jsonc, "log_input", &value); + } + if (tag.log_output != UNSPEC) { + value.type = JSON_BOOL; + value.u.boolean = tag.log_output; + sudo_json_add_value_as_object(jsonc, "log_output", &value); + } + TAILQ_FOREACH(def, options, entries) { + int type = get_defaults_type(def); + if (type == -1) { + log_warnx(U_("%s:%d:%d: unknown defaults entry \"%s\""), + def->file, def->line, def->column, def->var); + /* XXX - just pass it through as a string anyway? */ + continue; + } + if ((type & T_MASK) == T_FLAG || def->val == NULL) { + value.type = JSON_BOOL; + value.u.boolean = def->op; + sudo_json_add_value_as_object(jsonc, def->var, &value); + } else if ((type & T_MASK) == T_LIST) { + print_defaults_list_json(jsonc, def); + } else { + value.type = JSON_STRING; + value.u.string = def->val; + sudo_json_add_value_as_object(jsonc, def->var, &value); + } + } + sudo_json_close_array(jsonc); + } + +#ifdef HAVE_SELINUX + /* Print SELinux role/type */ + if (cs->role != NULL && cs->type != NULL) { + sudo_json_open_array(jsonc, "SELinux_Spec"); + value.type = JSON_STRING; + value.u.string = cs->role; + sudo_json_add_value(jsonc, "role", &value); + value.u.string = cs->type; + sudo_json_add_value(jsonc, "type", &value); + sudo_json_close_array(jsonc); + } +#endif /* HAVE_SELINUX */ + +#ifdef HAVE_APPARMOR + if (cs->apparmor_profile != NULL) { + sudo_json_open_array(jsonc, "AppArmor_Spec"); + value.type = JSON_STRING; + value.u.string = cs->apparmor_profile; + sudo_json_add_value(jsonc, "apparmor_profile", &value); + sudo_json_close_array(jsonc); + } +#endif /* HAVE_APPARMOR */ + +#ifdef HAVE_PRIV_SET + /* Print Solaris privs/limitprivs */ + if (cs->privs != NULL || cs->limitprivs != NULL) { + sudo_json_open_array(jsonc, "Solaris_Priv_Spec"); + value.type = JSON_STRING; + if (cs->privs != NULL) { + value.u.string = cs->privs; + sudo_json_add_value(jsonc, "privs", &value); + } + if (cs->limitprivs != NULL) { + value.u.string = cs->limitprivs; + sudo_json_add_value(jsonc, "limitprivs", &value); + } + sudo_json_close_array(jsonc); + } +#endif /* HAVE_PRIV_SET */ + + /* + * Merge adjacent commands with matching tags, runas, SELinux + * role/type and Solaris priv settings. + */ + sudo_json_open_array(jsonc, "Commands"); + for (;;) { + print_member_json(jsonc, parse_tree, cs->cmnd, TYPE_COMMAND, + expand_aliases); + /* Does the next entry differ only in the command itself? */ + if (!cmndspec_continues(cs, next)) + break; + cs = next; + next = TAILQ_NEXT(cs, entries); + } + sudo_json_close_array(jsonc); + + /* Close Cmnd_Spec object. */ + sudo_json_close_object(jsonc); + + *nextp = next; + + debug_return; +} + +/* + * Print a User_Spec in JSON format at the correct indent level. + */ +static void +print_userspec_json(struct json_container *jsonc, + struct sudoers_parse_tree *parse_tree, struct userspec *us, + bool expand_aliases) +{ + struct privilege *priv; + struct member *m; + struct cmndspec *cs, *next; + debug_decl(print_userspec_json, SUDOERS_DEBUG_UTIL); + + /* + * Each userspec struct may contain multiple privileges for + * a user. We export each privilege as a separate User_Spec + * object for simplicity's sake. + */ + TAILQ_FOREACH(priv, &us->privileges, entries) { + /* Open User_Spec object. */ + sudo_json_open_object(jsonc, NULL); + + /* Print users list. */ + sudo_json_open_array(jsonc, "User_List"); + TAILQ_FOREACH(m, &us->users, entries) { + print_member_json(jsonc, parse_tree, m, TYPE_USERNAME, + expand_aliases); + } + sudo_json_close_array(jsonc); + + /* Print hosts list. */ + sudo_json_open_array(jsonc, "Host_List"); + TAILQ_FOREACH(m, &priv->hostlist, entries) { + print_member_json(jsonc, parse_tree, m, TYPE_HOSTNAME, + expand_aliases); + } + sudo_json_close_array(jsonc); + + /* Print commands. */ + sudo_json_open_array(jsonc, "Cmnd_Specs"); + TAILQ_FOREACH_SAFE(cs, &priv->cmndlist, entries, next) { + print_cmndspec_json(jsonc, parse_tree, cs, &next, &priv->defaults, + expand_aliases); + } + sudo_json_close_array(jsonc); + + /* Close User_Spec object. */ + sudo_json_close_object(jsonc); + } + + debug_return; +} + +static void +print_userspecs_json(struct json_container *jsonc, + struct sudoers_parse_tree *parse_tree, bool expand_aliases) +{ + struct userspec *us; + debug_decl(print_userspecs_json, SUDOERS_DEBUG_UTIL); + + if (TAILQ_EMPTY(&parse_tree->userspecs)) + debug_return; + + sudo_json_open_array(jsonc, "User_Specs"); + TAILQ_FOREACH(us, &parse_tree->userspecs, entries) { + print_userspec_json(jsonc, parse_tree, us, expand_aliases); + } + sudo_json_close_array(jsonc); + + debug_return; +} + +/* + * Export the parsed sudoers file in JSON format. + */ +bool +convert_sudoers_json(struct sudoers_parse_tree *parse_tree, + const char *output_file, struct cvtsudoers_config *conf) +{ + struct json_container jsonc; + bool ret = true; + FILE *output_fp = stdout; + debug_decl(convert_sudoers_json, SUDOERS_DEBUG_UTIL); + + if (strcmp(output_file, "-") != 0) { + if ((output_fp = fopen(output_file, "w")) == NULL) + sudo_fatal(U_("unable to open %s"), output_file); + } + + /* 4 space indent, non-compact, exit on memory allocation failure. */ + sudo_json_init(&jsonc, 4, false, true, false); + + /* Dump Defaults in JSON format. */ + if (!ISSET(conf->suppress, SUPPRESS_DEFAULTS)) { + print_defaults_json(&jsonc, parse_tree, conf->expand_aliases); + } + + /* Dump Aliases in JSON format. */ + if (!conf->expand_aliases && !ISSET(conf->suppress, SUPPRESS_ALIASES)) { + print_aliases_json(&jsonc, parse_tree); + } + + /* Dump User_Specs in JSON format. */ + if (!ISSET(conf->suppress, SUPPRESS_PRIVS)) { + print_userspecs_json(&jsonc, parse_tree, conf->expand_aliases); + } + + /* Write JSON output. */ + if (sudo_json_get_len(&jsonc) != 0) { + putc('{', output_fp); + fputs(sudo_json_get_buf(&jsonc), output_fp); + fputs("\n}\n", output_fp); + (void)fflush(output_fp); + if (ferror(output_fp)) + ret = false; + } + sudo_json_free(&jsonc); + if (output_fp != stdout) + fclose(output_fp); + + debug_return_bool(ret); +} diff --git a/plugins/sudoers/cvtsudoers_ldif.c b/plugins/sudoers/cvtsudoers_ldif.c new file mode 100644 index 0000000..9be75e5 --- /dev/null +++ b/plugins/sudoers/cvtsudoers_ldif.c @@ -0,0 +1,733 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2018-2021 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include +#ifdef HAVE_STRINGS_H +# include +#endif /* HAVE_STRINGS_H */ +#include +#include + +#include "sudoers.h" +#include "sudo_ldap.h" +#include "redblack.h" +#include "cvtsudoers.h" +#include "sudo_lbuf.h" +#include + +struct seen_user { + const char *name; + unsigned long count; +}; + +static struct rbtree *seen_users; + +static int +seen_user_compare(const void *aa, const void *bb) +{ + const struct seen_user *a = aa; + const struct seen_user *b = bb; + + return strcasecmp(a->name, b->name); +} + +static void +seen_user_free(void *v) +{ + struct seen_user *su = v; + + free((void *)su->name); + free(su); +} + +static bool +safe_string(const char *str) +{ + unsigned int ch = *str++; + debug_decl(safe_string, SUDOERS_DEBUG_UTIL); + + /* Initial char must be <= 127 and not LF, CR, SPACE, ':', '<' */ + switch (ch) { + case '\0': + debug_return_bool(true); + case '\n': + case '\r': + case ' ': + case ':': + case '<': + debug_return_bool(false); + default: + if (ch > 127) + debug_return_bool(false); + } + + /* Any value <= 127 decimal except NUL, LF, and CR is safe */ + while ((ch = *str++) != '\0') { + if (ch > 127 || ch == '\n' || ch == '\r') + debug_return_bool(false); + } + + debug_return_bool(true); +} + +static bool +print_attribute_ldif(FILE *fp, const char *name, const char *value) +{ + const unsigned char *uvalue = (unsigned char *)value; + char *encoded = NULL; + size_t esize; + debug_decl(print_attribute_ldif, SUDOERS_DEBUG_UTIL); + + if (!safe_string(value)) { + const size_t vlen = strlen(value); + esize = ((vlen + 2) / 3 * 4) + 1; + if ((encoded = malloc(esize)) == NULL) + debug_return_bool(false); + if (base64_encode(uvalue, vlen, encoded, esize) == (size_t)-1) { + free(encoded); + debug_return_bool(false); + } + fprintf(fp, "%s:: %s\n", name, encoded); + free(encoded); + } else if (*value != '\0') { + fprintf(fp, "%s: %s\n", name, value); + } else { + fprintf(fp, "%s:\n", name); + } + + debug_return_bool(true); +} + +/* + * Print sudoOptions from a defaults_list. + */ +static bool +print_options_ldif(FILE *fp, struct defaults_list *options) +{ + struct defaults *opt; + char *attr_val; + int len; + debug_decl(print_options_ldif, SUDOERS_DEBUG_UTIL); + + TAILQ_FOREACH(opt, options, entries) { + if (opt->type != DEFAULTS) + continue; /* don't support bound defaults */ + + if (opt->val != NULL) { + /* There is no need to double quote values here. */ + len = asprintf(&attr_val, "%s%s%s", opt->var, + opt->op == '+' ? "+=" : opt->op == '-' ? "-=" : "=", opt->val); + } else { + /* Boolean flag. */ + len = asprintf(&attr_val, "%s%s", + opt->op == false ? "!" : "", opt->var); + } + if (len == -1) { + sudo_fatalx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + } + print_attribute_ldif(fp, "sudoOption", attr_val); + free(attr_val); + } + + debug_return_bool(!ferror(fp)); +} + +/* + * Print global Defaults in a single sudoRole object. + */ +static bool +print_global_defaults_ldif(FILE *fp, struct sudoers_parse_tree *parse_tree, + const char *base) +{ + unsigned int count = 0; + struct sudo_lbuf lbuf; + struct defaults *opt; + char *dn; + debug_decl(print_global_defaults_ldif, SUDOERS_DEBUG_UTIL); + + sudo_lbuf_init(&lbuf, NULL, 0, NULL, 80); + + TAILQ_FOREACH(opt, &parse_tree->defaults, entries) { + /* Skip bound Defaults (unsupported). */ + if (opt->type == DEFAULTS) { + count++; + } else { + lbuf.len = 0; + sudo_lbuf_append(&lbuf, "# "); + sudoers_format_default_line(&lbuf, parse_tree, opt, false, true); + fprintf(fp, "# Unable to translate %s:%d:%d:\n%s\n", + opt->file, opt->line, opt->column, lbuf.buf); + } + } + sudo_lbuf_destroy(&lbuf); + + if (count == 0) + debug_return_bool(true); + + if (asprintf(&dn, "cn=defaults,%s", base) == -1) { + sudo_fatalx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + } + print_attribute_ldif(fp, "dn", dn); + free(dn); + print_attribute_ldif(fp, "objectClass", "top"); + print_attribute_ldif(fp, "objectClass", "sudoRole"); + print_attribute_ldif(fp, "cn", "defaults"); + print_attribute_ldif(fp, "description", "Default sudoOption's go here"); + + print_options_ldif(fp, &parse_tree->defaults); + putc('\n', fp); + + debug_return_bool(!ferror(fp)); +} + +/* + * Format a sudo_command as a string. + * Returns the formatted, dynamically allocated string or dies on error. + */ +static char * +format_cmnd(struct sudo_command *c, bool negated) +{ + struct command_digest *digest; + char *buf, *cp, *cmnd; + size_t bufsiz; + int len; + debug_decl(format_cmnd, SUDOERS_DEBUG_UTIL); + + cmnd = c->cmnd ? c->cmnd : (char *)"ALL"; + bufsiz = negated + strlen(cmnd) + 1; + if (c->args != NULL) + bufsiz += 1 + strlen(c->args); + TAILQ_FOREACH(digest, &c->digests, entries) { + bufsiz += strlen(digest_type_to_name(digest->digest_type)) + 1 + + strlen(digest->digest_str) + 1; + if (TAILQ_NEXT(digest, entries) != NULL) + bufsiz += 2; + } + + if ((buf = malloc(bufsiz)) == NULL) { + sudo_fatalx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + } + + cp = buf; + TAILQ_FOREACH(digest, &c->digests, entries) { + len = snprintf(cp, bufsiz - (cp - buf), "%s:%s%s ", + digest_type_to_name(digest->digest_type), digest->digest_str, + TAILQ_NEXT(digest, entries) ? "," : ""); + if (len < 0 || len >= (int)bufsiz - (cp - buf)) + sudo_fatalx(U_("internal error, %s overflow"), __func__); + cp += len; + } + + len = snprintf(cp, bufsiz - (cp - buf), "%s%s%s%s", negated ? "!" : "", + cmnd, c->args ? " " : "", c->args ? c->args : ""); + if (len < 0 || len >= (int)bufsiz - (cp - buf)) + sudo_fatalx(U_("internal error, %s overflow"), __func__); + + debug_return_str(buf); +} + +/* + * Print struct member in LDIF format as the specified attribute. + * See print_member_int() in parse.c. + */ +static void +print_member_ldif(FILE *fp, struct sudoers_parse_tree *parse_tree, char *name, + int type, bool negated, int alias_type, const char *attr_name) +{ + struct alias *a; + struct member *m; + char *attr_val; + int len; + debug_decl(print_member_ldif, SUDOERS_DEBUG_UTIL); + + switch (type) { + case MYSELF: + /* Only valid for sudoRunasUser */ + print_attribute_ldif(fp, attr_name, ""); + break; + case ALL: + if (name == NULL) { + print_attribute_ldif(fp, attr_name, negated ? "!ALL" : "ALL"); + break; + } + FALLTHROUGH; + case COMMAND: + attr_val = format_cmnd((struct sudo_command *)name, negated); + print_attribute_ldif(fp, attr_name, attr_val); + free(attr_val); + break; + case ALIAS: + if ((a = alias_get(parse_tree, name, alias_type)) != NULL) { + TAILQ_FOREACH(m, &a->members, entries) { + print_member_ldif(fp, parse_tree, m->name, m->type, + negated ? !m->negated : m->negated, alias_type, attr_name); + } + alias_put(a); + break; + } + FALLTHROUGH; + default: + len = asprintf(&attr_val, "%s%s", negated ? "!" : "", name); + if (len == -1) { + sudo_fatalx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + } + print_attribute_ldif(fp, attr_name, attr_val); + free(attr_val); + break; + } + + debug_return; +} + +/* + * Print a Cmnd_Spec in LDIF format. + * A pointer to the next Cmnd_Spec is passed in to make it possible to + * merge adjacent entries that are identical in all but the command. + */ +static void +print_cmndspec_ldif(FILE *fp, struct sudoers_parse_tree *parse_tree, + struct cmndspec *cs, struct cmndspec **nextp, struct defaults_list *options) +{ + char timebuf[sizeof("20120727121554Z")]; + struct cmndspec *next = *nextp; + struct member *m; + struct tm gmt; + char *attr_val; + bool last_one; + int len; + debug_decl(print_cmndspec_ldif, SUDOERS_DEBUG_UTIL); + + /* Print runasuserlist as sudoRunAsUser attributes */ + if (cs->runasuserlist != NULL) { + TAILQ_FOREACH(m, cs->runasuserlist, entries) { + print_member_ldif(fp, parse_tree, m->name, m->type, m->negated, + RUNASALIAS, "sudoRunAsUser"); + } + } + + /* Print runasgrouplist as sudoRunAsGroup attributes */ + if (cs->runasgrouplist != NULL) { + TAILQ_FOREACH(m, cs->runasgrouplist, entries) { + print_member_ldif(fp, parse_tree, m->name, m->type, m->negated, + RUNASALIAS, "sudoRunAsGroup"); + } + } + + /* Print sudoNotBefore and sudoNotAfter attributes */ + if (cs->notbefore != UNSPEC) { + if (gmtime_r(&cs->notbefore, &gmt) == NULL) { + sudo_warn("%s", U_("unable to get GMT time")); + } else { + timebuf[sizeof(timebuf) - 1] = '\0'; + len = strftime(timebuf, sizeof(timebuf), "%Y%m%d%H%M%SZ", &gmt); + if (len == 0 || timebuf[sizeof(timebuf) - 1] != '\0') { + sudo_warnx("%s", U_("unable to format timestamp")); + } else { + print_attribute_ldif(fp, "sudoNotBefore", timebuf); + } + } + } + if (cs->notafter != UNSPEC) { + if (gmtime_r(&cs->notafter, &gmt) == NULL) { + sudo_warn("%s", U_("unable to get GMT time")); + } else { + timebuf[sizeof(timebuf) - 1] = '\0'; + len = strftime(timebuf, sizeof(timebuf), "%Y%m%d%H%M%SZ", &gmt); + if (len == 0 || timebuf[sizeof(timebuf) - 1] != '\0') { + sudo_warnx("%s", U_("unable to format timestamp")); + } else { + print_attribute_ldif(fp, "sudoNotAfter", timebuf); + } + } + } + + /* Print timeout as a sudoOption. */ + if (cs->timeout > 0) { + if (asprintf(&attr_val, "command_timeout=%d", cs->timeout) == -1) { + sudo_fatalx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + } + print_attribute_ldif(fp, "sudoOption", attr_val); + free(attr_val); + } + + /* Print tags as sudoOption attributes */ + if (TAGS_SET(cs->tags)) { + struct cmndtag tag = cs->tags; + + if (tag.nopasswd != UNSPEC) { + print_attribute_ldif(fp, "sudoOption", + tag.nopasswd ? "!authenticate" : "authenticate"); + } + if (tag.noexec != UNSPEC) { + print_attribute_ldif(fp, "sudoOption", + tag.noexec ? "noexec" : "!noexec"); + } + if (tag.intercept != UNSPEC) { + print_attribute_ldif(fp, "sudoOption", + tag.intercept ? "intercept" : "!intercept"); + } + if (tag.send_mail != UNSPEC) { + if (tag.send_mail) { + print_attribute_ldif(fp, "sudoOption", "mail_all_cmnds"); + } else { + print_attribute_ldif(fp, "sudoOption", "!mail_all_cmnds"); + print_attribute_ldif(fp, "sudoOption", "!mail_always"); + print_attribute_ldif(fp, "sudoOption", "!mail_no_perms"); + } + } + if (tag.setenv != UNSPEC && tag.setenv != IMPLIED) { + print_attribute_ldif(fp, "sudoOption", + tag.setenv ? "setenv" : "!setenv"); + } + if (tag.follow != UNSPEC) { + print_attribute_ldif(fp, "sudoOption", + tag.follow ? "sudoedit_follow" : "!sudoedit_follow"); + } + if (tag.log_input != UNSPEC) { + print_attribute_ldif(fp, "sudoOption", + tag.log_input ? "log_input" : "!log_input"); + } + if (tag.log_output != UNSPEC) { + print_attribute_ldif(fp, "sudoOption", + tag.log_output ? "log_output" : "!log_output"); + } + } + print_options_ldif(fp, options); + + /* Print runchroot and runcwd. */ + if (cs->runchroot != NULL) { + if (asprintf(&attr_val, "runchroot=%s", cs->runchroot) == -1) { + sudo_fatalx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + } + print_attribute_ldif(fp, "sudoOption", attr_val); + free(attr_val); + } + if (cs->runcwd != NULL) { + if (asprintf(&attr_val, "runcwd=%s", cs->runcwd) == -1) { + sudo_fatalx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + } + print_attribute_ldif(fp, "sudoOption", attr_val); + free(attr_val); + } + +#ifdef HAVE_SELINUX + /* Print SELinux role/type */ + if (cs->role != NULL && cs->type != NULL) { + if (asprintf(&attr_val, "role=%s", cs->role) == -1) { + sudo_fatalx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + } + print_attribute_ldif(fp, "sudoOption", attr_val); + free(attr_val); + + if (asprintf(&attr_val, "type=%s", cs->type) == -1) { + sudo_fatalx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + } + print_attribute_ldif(fp, "sudoOption", attr_val); + free(attr_val); + } +#endif /* HAVE_SELINUX */ + +#ifdef HAVE_APPARMOR + /* Print AppArmor profile */ + if (cs->apparmor_profile != NULL) { + if (asprintf(&attr_val, "apparmor_profile=%s", cs->apparmor_profile) == -1) { + sudo_fatalx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + } + print_attribute_ldif(fp, "sudoOption", attr_val); + free(attr_val); + } +#endif /* HAVE_APPARMOR */ + +#ifdef HAVE_PRIV_SET + /* Print Solaris privs/limitprivs */ + if (cs->privs != NULL || cs->limitprivs != NULL) { + if (cs->privs != NULL) { + if (asprintf(&attr_val, "privs=%s", cs->privs) == -1) { + sudo_fatalx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + } + print_attribute_ldif(fp, "sudoOption", attr_val); + free(attr_val); + } + if (cs->limitprivs != NULL) { + if (asprintf(&attr_val, "limitprivs=%s", cs->limitprivs) == -1) { + sudo_fatalx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + } + print_attribute_ldif(fp, "sudoOption", attr_val); + free(attr_val); + } + } +#endif /* HAVE_PRIV_SET */ + + /* + * Merge adjacent commands with matching tags, runas, SELinux + * role/type and Solaris priv settings. + */ + for (;;) { + /* Does the next entry differ only in the command itself? */ + /* XXX - move into a function that returns bool */ + /* XXX - TAG_SET does not account for implied SETENV */ + last_one = next == NULL || + RUNAS_CHANGED(cs, next) || TAGS_CHANGED(cs->tags, next->tags) +#ifdef HAVE_PRIV_SET + || cs->privs != next->privs || cs->limitprivs != next->limitprivs +#endif /* HAVE_PRIV_SET */ +#ifdef HAVE_SELINUX + || cs->role != next->role || cs->type != next->type +#endif /* HAVE_SELINUX */ + || cs->runchroot != next->runchroot || cs->runcwd != next->runcwd; + + print_member_ldif(fp, parse_tree, cs->cmnd->name, cs->cmnd->type, + cs->cmnd->negated, CMNDALIAS, "sudoCommand"); + if (last_one) + break; + cs = next; + next = TAILQ_NEXT(cs, entries); + } + + *nextp = next; + + debug_return; +} + +/* + * Convert user name to cn, avoiding duplicates and quoting as needed. + * See http://www.faqs.org/rfcs/rfc2253.html + */ +static char * +user_to_cn(const char *user) +{ + struct seen_user key, *su = NULL; + struct rbnode *node; + const char *src; + char *cn, *dst; + size_t size; + debug_decl(user_to_cn, SUDOERS_DEBUG_UTIL); + + /* Allocate as much as we could possibly need. */ + size = (2 * strlen(user)) + 64 + 1; + if ((cn = malloc(size)) == NULL) + goto bad; + + /* + * Increment the number of times we have seen this user. + */ + key.name = user; + node = rbfind(seen_users, &key); + if (node != NULL) { + su = node->data; + } else { + if ((su = malloc(sizeof(*su))) == NULL) + goto bad; + su->count = 0; + if ((su->name = strdup(user)) == NULL) + goto bad; + if (rbinsert(seen_users, su, NULL) != 0) + goto bad; + } + + /* Build cn, quoting special chars as needed (we allocated 2 x len). */ + for (src = user, dst = cn; *src != '\0'; src++) { + switch (*src) { + case ',': + case '+': + case '"': + case '\\': + case '<': + case '>': + case '#': + case ';': + *dst++ = '\\'; /* always escape */ + break; + case ' ': + if (src == user || src[1] == '\0') + *dst++ = '\\'; /* only escape at beginning or end of string */ + break; + default: + break; + } + *dst++ = *src; + } + *dst = '\0'; + + /* Append count if there are duplicate users (cn must be unique). */ + if (su->count != 0) { + size -= (size_t)(dst - cn); + if ((size_t)snprintf(dst, size, "_%lu", su->count) >= size) { + sudo_warnx(U_("internal error, %s overflow"), __func__); + goto bad; + } + } + su->count++; + + debug_return_str(cn); +bad: + if (su != NULL && su->count == 0) + seen_user_free(su); + free(cn); + debug_return_str(NULL); +} + +/* + * Print a single User_Spec. + */ +static bool +print_userspec_ldif(FILE *fp, struct sudoers_parse_tree *parse_tree, + struct userspec *us, struct cvtsudoers_config *conf) +{ + struct privilege *priv; + struct member *m; + struct cmndspec *cs, *next; + debug_decl(print_userspec_ldif, SUDOERS_DEBUG_UTIL); + + /* + * Each userspec struct may contain multiple privileges for + * the user. We export each privilege as a separate sudoRole + * object for simplicity's sake. + */ + TAILQ_FOREACH(priv, &us->privileges, entries) { + TAILQ_FOREACH_SAFE(cs, &priv->cmndlist, entries, next) { + const char *base = conf->sudoers_base; + char *cn, *dn; + + /* + * Increment the number of times we have seen this user. + * If more than one user is listed, just use the first one. + */ + m = TAILQ_FIRST(&us->users); + cn = user_to_cn(m->type == ALL ? "ALL" : m->name); + if (cn == NULL || asprintf(&dn, "cn=%s,%s", cn, base) == -1) { + sudo_fatalx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + } + + print_attribute_ldif(fp, "dn", dn); + print_attribute_ldif(fp, "objectClass", "top"); + print_attribute_ldif(fp, "objectClass", "sudoRole"); + print_attribute_ldif(fp, "cn", cn); + free(cn); + free(dn); + + TAILQ_FOREACH(m, &us->users, entries) { + print_member_ldif(fp, parse_tree, m->name, m->type, m->negated, + USERALIAS, "sudoUser"); + } + + TAILQ_FOREACH(m, &priv->hostlist, entries) { + print_member_ldif(fp, parse_tree, m->name, m->type, m->negated, + HOSTALIAS, "sudoHost"); + } + + print_cmndspec_ldif(fp, parse_tree, cs, &next, &priv->defaults); + + if (conf->sudo_order != 0) { + char numbuf[(((sizeof(conf->sudo_order) * 8) + 2) / 3) + 2]; + if (conf->order_max != 0 && conf->sudo_order > conf->order_max) { + sudo_fatalx(U_("too many sudoers entries, maximum %u"), + conf->order_padding); + } + (void)snprintf(numbuf, sizeof(numbuf), "%u", conf->sudo_order); + print_attribute_ldif(fp, "sudoOrder", numbuf); + putc('\n', fp); + conf->sudo_order += conf->order_increment; + } + } + } + + debug_return_bool(!ferror(fp)); +} + +/* + * Print User_Specs. + */ +static bool +print_userspecs_ldif(FILE *fp, struct sudoers_parse_tree *parse_tree, + struct cvtsudoers_config *conf) +{ + struct userspec *us; + debug_decl(print_userspecs_ldif, SUDOERS_DEBUG_UTIL); + + TAILQ_FOREACH(us, &parse_tree->userspecs, entries) { + if (!print_userspec_ldif(fp, parse_tree, us, conf)) + debug_return_bool(false); + } + debug_return_bool(true); +} + +/* + * Export the parsed sudoers file in LDIF format. + */ +bool +convert_sudoers_ldif(struct sudoers_parse_tree *parse_tree, + const char *output_file, struct cvtsudoers_config *conf) +{ + bool ret = true; + FILE *output_fp = stdout; + debug_decl(convert_sudoers_ldif, SUDOERS_DEBUG_UTIL); + + if (conf->sudoers_base == NULL) { + sudo_fatalx("%s", U_("the SUDOERS_BASE environment variable is not set and the -b option was not specified.")); + } + + if (output_file != NULL && strcmp(output_file, "-") != 0) { + if ((output_fp = fopen(output_file, "w")) == NULL) + sudo_fatal(U_("unable to open %s"), output_file); + } + + /* Create a dictionary of already-seen users. */ + seen_users = rbcreate(seen_user_compare); + + /* Dump global Defaults in LDIF format. */ + if (!ISSET(conf->suppress, SUPPRESS_DEFAULTS)) + print_global_defaults_ldif(output_fp, parse_tree, conf->sudoers_base); + + /* Dump User_Specs in LDIF format, expanding Aliases. */ + if (!ISSET(conf->suppress, SUPPRESS_PRIVS)) + print_userspecs_ldif(output_fp, parse_tree, conf); + + /* Clean up. */ + rbdestroy(seen_users, seen_user_free); + + (void)fflush(output_fp); + if (ferror(output_fp)) + ret = false; + if (output_fp != stdout) + fclose(output_fp); + + debug_return_bool(ret); +} diff --git a/plugins/sudoers/cvtsudoers_merge.c b/plugins/sudoers/cvtsudoers_merge.c new file mode 100644 index 0000000..3afd5db --- /dev/null +++ b/plugins/sudoers/cvtsudoers_merge.c @@ -0,0 +1,1247 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2021-2022 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include +#include +#include +#include +#include + +#include "sudoers.h" +#include "redblack.h" +#include "cvtsudoers.h" +#include + +static struct member * +new_member(const char *name, int type) +{ + struct member *m; + debug_decl(digest_list_equivalent, SUDOERS_DEBUG_PARSER); + + m = calloc(1, sizeof(struct member)); + if (m == NULL) + sudo_fatalx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + if (name != NULL) { + m->name = strdup(name); + if (m->name == NULL) { + sudo_fatalx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + } + } + m->type = type; + + debug_return_ptr(m); +} + +/* + * Compare two digest lists. + * Returns true if they are the same, else false. + * XXX - should not care about order + */ +static bool +digest_list_equivalent(struct command_digest_list *cdl1, + struct command_digest_list *cdl2) +{ + struct command_digest *cd1 = TAILQ_FIRST(cdl1); + struct command_digest *cd2 = TAILQ_FIRST(cdl2); + debug_decl(digest_list_equivalent, SUDOERS_DEBUG_PARSER); + + while (cd1 != NULL && cd2 != NULL) { + if (cd1->digest_type != cd2->digest_type) + debug_return_bool(false); + if (strcmp(cd1->digest_str, cd2->digest_str) != 0) + debug_return_bool(false); + cd1 = TAILQ_NEXT(cd1, entries); + cd2 = TAILQ_NEXT(cd2, entries); + } + + if (cd1 != NULL || cd2 != NULL) + debug_return_bool(false); + debug_return_bool(true); +} + +/* + * Compare two members. + * Returns true if they are the same, else false. + */ +static bool +member_equivalent(struct member *m1, struct member *m2) +{ + debug_decl(member_equivalent, SUDOERS_DEBUG_PARSER); + + if (m1->type != m2->type || m1->negated != m2->negated) + debug_return_bool(false); + + if (m1->type == COMMAND) { + struct sudo_command *c1 = (struct sudo_command *)m1->name; + struct sudo_command *c2 = (struct sudo_command *)m2->name; + if (c1->cmnd != NULL && c2->cmnd != NULL) { + if (strcmp(c1->cmnd, c2->cmnd) != 0) + debug_return_bool(false); + } else if (c1->cmnd != c2->cmnd) { + debug_return_bool(false); + } + + if (c1->args != NULL && c2->args != NULL) { + if (strcmp(c1->args, c2->args) != 0) + debug_return_bool(false); + } else if (c1->args != c2->args) { + debug_return_bool(false); + } + + if (!digest_list_equivalent(&c1->digests, &c2->digests)) { + debug_return_bool(false); + } + } else { + if (m1->name != NULL && m2->name != NULL) { + if (strcmp(m1->name, m2->name) != 0) + debug_return_bool(false); + } else if (m1->name != m2->name) { + debug_return_bool(false); + } + } + + debug_return_bool(true); +} + +/* + * Compare two members, m1 and m2. + * Returns true if m2 overrides m1, else false. + */ +static bool +member_overridden(struct member *m1, struct member *m2, bool check_negated) +{ + debug_decl(member_overridden, SUDOERS_DEBUG_PARSER); + + if (check_negated && m1->negated != m2->negated) + debug_return_bool(false); + + /* "ALL" always wins (modulo digest). */ + if (m2->type == ALL) { + if (m2->name != NULL) { + struct sudo_command *c1 = (struct sudo_command *)m1->name; + struct sudo_command *c2 = (struct sudo_command *)m2->name; + debug_return_bool(digest_list_equivalent(&c1->digests, &c2->digests)); + } + debug_return_bool(true); + } + + if (m1->type != m2->type) + debug_return_bool(false); + + if (m1->type == COMMAND) { + struct sudo_command *c1 = (struct sudo_command *)m1->name; + struct sudo_command *c2 = (struct sudo_command *)m2->name; + if (strcmp(c1->cmnd, c2->cmnd) != 0) + debug_return_bool(false); + + if (c1->args != NULL && c2->args != NULL) { + if (strcmp(c1->args, c2->args) != 0) + debug_return_bool(false); + } else if (c1->args != c2->args) { + debug_return_bool(false); + } + + if (!digest_list_equivalent(&c1->digests, &c2->digests)) { + debug_return_bool(false); + } + } else { + if (strcmp(m1->name, m2->name) != 0) + debug_return_bool(false); + } + + debug_return_bool(true); +} + +/* + * Given two member lists, ml1 and ml2. + * Returns true if the every element of ml1 is overridden by ml2, else false. + */ +static bool +member_list_override(struct member_list *ml1, struct member_list *ml2, + bool check_negated) +{ + struct member *m1, *m2; + debug_decl(member_list_override, SUDOERS_DEBUG_PARSER); + + /* An empty member_list only overrides another empty list. */ + if (TAILQ_EMPTY(ml2)) { + debug_return_bool(TAILQ_EMPTY(ml1)); + } + + /* Check whether each element of ml1 is also covered by ml2. */ + TAILQ_FOREACH_REVERSE(m1, ml1, member_list, entries) { + bool overridden = false; + TAILQ_FOREACH_REVERSE(m2, ml2, member_list, entries) { + if (member_overridden(m1, m2, check_negated)) { + overridden = true; + break; + } + } + if (!overridden) + debug_return_bool(false); + } + + debug_return_bool(true); +} + +/* + * Compare two member lists. + * Returns true if they are the same, else false. + * XXX - should not care about order if things are not negated. + */ +static bool +member_list_equivalent(struct member_list *ml1, struct member_list *ml2) +{ + struct member *m1 = TAILQ_FIRST(ml1); + struct member *m2 = TAILQ_FIRST(ml2); + debug_decl(member_list_equivalent, SUDOERS_DEBUG_PARSER); + + while (m1 != NULL && m2 != NULL) { + if (!member_equivalent(m1, m2)) + debug_return_bool(false); + m1 = TAILQ_NEXT(m1, entries); + m2 = TAILQ_NEXT(m2, entries); + } + + if (m1 != NULL || m2 != NULL) + debug_return_bool(false); + debug_return_bool(true); +} + +/* + * Attempt to simplify a host list. + * If a host list contains all hosts in bound_hosts, replace them with + * "ALL". Also prune hosts on either side of "ALL" when possible. + */ +static void +simplify_host_list(struct member_list *hosts, const char *file, int line, + int column, struct member_list *bound_hosts) +{ + struct member *m, *n, *next; + bool logged = false; + debug_decl(simplify_host_list, SUDOERS_DEBUG_PARSER); + + /* + * If all sudoers sources have an associated host, replace a + * list of those hosts with "ALL". + */ + if (!TAILQ_EMPTY(bound_hosts)) { + TAILQ_FOREACH_REVERSE(n, bound_hosts, member_list, entries) { + TAILQ_FOREACH_REVERSE(m, hosts, member_list, entries) { + if (m->negated) { + /* Don't try to handled negated entries. */ + m = NULL; + break; + } + if (m->type == n->type && strcmp(m->name, n->name) == 0) { + /* match */ + break; + } + } + if (m == NULL) { + /* no match */ + break; + } + } + if (n == NULL) { + /* found all hosts */ + log_warnx(U_("%s:%d:%d: converting host list to ALL"), + file, line, column); + logged = true; + + TAILQ_FOREACH_REVERSE(n, bound_hosts, member_list, entries) { + TAILQ_FOREACH_REVERSE_SAFE(m, hosts, member_list, entries, next) { + if (m->negated) { + /* Don't try to handled negated entries. */ + m = NULL; + break; + } + if (m->type == n->type && strcmp(m->name, n->name) == 0) { + /* remove matching host */ + TAILQ_REMOVE(hosts, m, entries); + free_member(m); + break; + } + } + } + m = new_member(NULL, ALL); + TAILQ_INSERT_TAIL(hosts, m, entries); + } + } + + /* + * A host list that contains ALL with no negated entries past it + * is equivalent to a list containing just "ALL". + */ + TAILQ_FOREACH_REVERSE(m, hosts, member_list, entries) { + if (m->negated) { + /* Don't try to handled negated entries. */ + break; + } + if (m->type == ALL) { + /* Replace member list with a single ALL entry. */ + if (!logged) { + log_warnx(U_("%s:%d:%d: converting host list to ALL"), + file, line, column); + } + TAILQ_REMOVE(hosts, m, entries); + free_members(hosts); + TAILQ_INSERT_TAIL(hosts, m, entries); + break; + } + } + + debug_return; +} + +/* + * Generate a unique name from old_name that is not used in parse_tree, + * subsequent parse_trees or merged_tree. + */ +static char * +alias_make_unique(const char *old_name, int type, + struct sudoers_parse_tree *parse_tree0, + struct sudoers_parse_tree *merged_tree) +{ + struct sudoers_parse_tree *parse_tree; + char *cp, *new_name = NULL; + struct alias *a; + long long suffix; + size_t namelen; + debug_decl(alias_make_unique, SUDOERS_DEBUG_ALIAS); + + /* If old_name already has a suffix, increment it, else start with "_1". */ + suffix = 0; + namelen = strlen(old_name); + cp = strrchr(old_name, '_'); + if (cp != NULL && isdigit((unsigned char)cp[1])) { + suffix = sudo_strtonum(cp + 1, 0, LLONG_MAX, NULL); + if (suffix != 0) { + namelen = (size_t)(cp - old_name); + } + } + + for (;;) { + suffix++; + free(new_name); + if (asprintf(&new_name, "%.*s_%lld", (int)namelen, old_name, suffix) == -1) + sudo_fatalx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + /* Make sure new_name is not already in use. */ + a = alias_get(merged_tree, new_name, type); + if (a != NULL) { + alias_put(a); + continue; + } + parse_tree = parse_tree0; + while ((parse_tree = TAILQ_NEXT(parse_tree, entries)) != NULL) { + a = alias_get(parse_tree, new_name, type); + if (a != NULL) { + alias_put(a); + break; + } + } + if (a == NULL) { + /* Must be unique. */ + break; + } + } + + debug_return_ptr(new_name); +} + +struct alias_rename_closure { + const char *old_name; + const char *new_name; + int type; +}; + +static int +alias_rename_members(struct sudoers_parse_tree *parse_tree, struct alias *a, + void *v) +{ + struct alias_rename_closure *closure = v; + struct member *m; + debug_decl(alias_rename_members, SUDOERS_DEBUG_ALIAS); + + if (a->type != closure->type) + debug_return_int(0); + + /* Replace old_name in member list, if present. */ + TAILQ_FOREACH(m, &a->members, entries) { + if (m->type == ALIAS && strcmp(m->name, closure->old_name) == 0) { + char *copy = strdup(closure->new_name); + if (copy == NULL) + sudo_fatalx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + free(m->name); + m->name = copy; + } + } + + debug_return_int(0); +} + +static void +alias_rename_defaults(const char *old_name, const char *new_name, + int alias_type, struct defaults_list *defaults) +{ + struct defaults *def, *def_next; + struct member *m; + debug_decl(alias_rename_defaults, SUDOERS_DEBUG_ALIAS); + + TAILQ_FOREACH_SAFE(def, defaults, entries, def_next) { + /* Consecutive Defaults can share the same binding. */ + if (def_next != NULL && def->binding == def_next->binding) + continue; + + switch (def->type) { + case DEFAULTS_USER: + if (alias_type != USERALIAS) + continue; + break; + case DEFAULTS_RUNAS: + if (alias_type != RUNASALIAS) + continue; + break; + case DEFAULTS_HOST: + if (alias_type != HOSTALIAS) + continue; + break; + default: + continue; + } + + /* Rename matching aliases in the binding's member_list. */ + TAILQ_FOREACH(m, &def->binding->members, entries) { + if (m->type != ALIAS) + continue; + if (strcmp(m->name, old_name) == 0) { + char *copy = strdup(new_name); + if (copy == NULL) { + sudo_fatalx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + } + free(m->name); + m->name = copy; + } + } + } + + debug_return; +} + +static void +alias_rename_member(const char *old_name, const char *new_name, + struct member *m) +{ + debug_decl(alias_rename_member, SUDOERS_DEBUG_ALIAS); + + if (m->type == ALIAS && strcmp(m->name, old_name) == 0) { + char *copy = strdup(new_name); + if (copy == NULL) { + sudo_fatalx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + } + free(m->name); + m->name = copy; + } + + debug_return; +} + +static void +alias_rename_member_list(const char *old_name, const char *new_name, + struct member_list *members) +{ + struct member *m; + debug_decl(alias_rename_member_list, SUDOERS_DEBUG_ALIAS); + + TAILQ_FOREACH(m, members, entries) { + alias_rename_member(old_name, new_name, m); + } + + debug_return; +} + +static bool +alias_rename_userspecs(const char *old_name, const char *new_name, + int alias_type, struct userspec_list *userspecs) +{ + struct privilege *priv; + struct cmndspec *cs; + struct userspec *us; + bool ret = true; + debug_decl(alias_rename_userspecs, SUDOERS_DEBUG_ALIAS); + + TAILQ_FOREACH(us, userspecs, entries) { + if (alias_type == USERALIAS) { + alias_rename_member_list(old_name, new_name, &us->users); + } + TAILQ_FOREACH(priv, &us->privileges, entries) { + alias_rename_defaults(old_name, new_name, alias_type, &priv->defaults); + if (alias_type == HOSTALIAS) { + alias_rename_member_list(old_name, new_name, &priv->hostlist); + continue; + } + TAILQ_FOREACH(cs, &priv->cmndlist, entries) { + if (alias_type == CMNDALIAS) { + alias_rename_member(old_name, new_name, cs->cmnd); + continue; + } + if (alias_type == RUNASALIAS) { + if (cs->runasuserlist != NULL) { + alias_rename_member_list(old_name, new_name, cs->runasuserlist); + } + if (cs->runasgrouplist != NULL) { + alias_rename_member_list(old_name, new_name, cs->runasgrouplist); + } + } + } + } + } + + debug_return_bool(ret); +} + +/* + * Rename an alias in parse_tree and all the places where it is used. + */ +static bool +alias_rename(const char *old_name, const char *new_name, int alias_type, + struct sudoers_parse_tree *parse_tree) +{ + struct alias_rename_closure closure = { old_name, new_name, alias_type }; + struct alias *a; + debug_decl(alias_rename, SUDOERS_DEBUG_ALIAS); + + /* Remove under old name and add via new to maintain tree properties. */ + a = alias_remove(parse_tree, old_name, alias_type); + if (a == NULL) { + /* Should not happen. */ + sudo_warnx(U_("unable to find alias %s"), old_name); + debug_return_bool(false); + } + log_warnx(U_("%s:%d:%d: renaming alias %s to %s"), + a->file, a->line, a->column, a->name, new_name); + free(a->name); + a->name = strdup(new_name); + if (a->name == NULL) + sudo_fatalx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + switch (rbinsert(parse_tree->aliases, a, NULL)) { + case 0: + /* success */ + break; + case 1: + /* Already present, should not happen. */ + errno = EEXIST; + sudo_warn(U_("%s: %s"), __func__, a->name); + break; + default: + sudo_fatalx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + } + + /* Rename it in the aliases tree itself (aliases can be nested). */ + alias_apply(parse_tree, alias_rename_members, &closure); + + /* Rename it in the Defaults list. */ + alias_rename_defaults(old_name, new_name, alias_type, &parse_tree->defaults); + + /* Rename it in the userspecs list. */ + alias_rename_userspecs(old_name, new_name, alias_type, &parse_tree->userspecs); + + debug_return_bool(true); +} + +static int +alias_resolve_conflicts(struct sudoers_parse_tree *parse_tree0, struct alias *a, + void *v) +{ + struct sudoers_parse_tree *parse_tree = parse_tree0; + struct sudoers_parse_tree *merged_tree = v; + char *new_name; + int ret; + debug_decl(alias_resolve_conflicts, SUDOERS_DEBUG_ALIAS); + + /* + * Check for conflicting alias names in the subsequent sudoers files. + * Duplicates are removed and conflicting aliases are renamed. + * We cannot modify the alias tree that we are traversing. + */ + while ((parse_tree = TAILQ_NEXT(parse_tree, entries)) != NULL) { + struct alias *b = alias_get(parse_tree, a->name, a->type); + if (b == NULL) + continue; + + /* If alias 'b' is equivalent, remove it. */ + alias_put(b); + if (member_list_equivalent(&a->members, &b->members)) { + sudo_debug_printf(SUDO_DEBUG_INFO|SUDO_DEBUG_LINENO, + "removing duplicate alias %s from %p", a->name, parse_tree); + b = alias_remove(parse_tree, a->name, a->type); + log_warnx(U_("%s:%d:%d: removing duplicate alias %s"), + b->file, b->line, b->column, b->name); + alias_free(b); + continue; + } + + /* Rename alias 'b' to avoid a naming conflict. */ + new_name = alias_make_unique(a->name, a->type, parse_tree, merged_tree); + alias_rename(a->name, new_name, a->type, parse_tree); + free(new_name); + } + + /* + * The alias will exist in both the original and merged trees. + * This is not a problem as the caller will delete the old trees + * (without freeing the data). + */ + ret = rbinsert(merged_tree->aliases, a, NULL); + switch (ret) { + case 0: + /* success */ + break; + case 1: + /* already present, should not happen. */ + errno = EEXIST; + sudo_warn(U_("%s: %s"), __func__, a->name); + break; + default: + sudo_fatalx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + } + + debug_return_int(0); +} + +static bool +merge_aliases(struct sudoers_parse_tree_list *parse_trees, + struct sudoers_parse_tree *merged_tree) +{ + struct sudoers_parse_tree *parse_tree; + debug_decl(merge_aliases, SUDOERS_DEBUG_ALIAS); + + /* + * For each parse_tree, check for collisions with alias names + * in subsequent parse trees. On collision, add a numbered + * suffix (e.g. ALIAS_1) to make the name unique and rename + * any uses of that alias in the affected parse_tree. + */ + TAILQ_FOREACH(parse_tree, parse_trees, entries) { + if (parse_tree->aliases == NULL) + continue; + + /* + * Resolve any conflicts in alias names, renaming aliases as + * needed and eliminating duplicates. + */ + alias_apply(parse_tree, alias_resolve_conflicts, merged_tree); + + /* + * Destroy the old alias tree without freeing the alias data + * which has been copied to merged_tree. + */ + rbdestroy(parse_tree->aliases, NULL); + parse_tree->aliases = NULL; + } + + debug_return_bool(true); +} + +/* + * Compare two defaults structs but not their actual value. + * Returns true if they refer to the same Defaults variable and binding. + * Also sets mergeable if they only differ in the binding. + */ +static bool +defaults_var_matches(struct defaults *d1, struct defaults *d2, + bool *mergeable) +{ + debug_decl(defaults_var_matches, SUDOERS_DEBUG_DEFAULTS); + + if (strcmp(d1->var, d2->var) != 0) + debug_return_bool(false); + if (d1->type != d2->type) { + if ((d1->type == DEFAULTS && d2->type == DEFAULTS_HOST) || + (d1->type == DEFAULTS_HOST && d2->type == DEFAULTS)) { + /* We can merge host and global bindings. */ + if (mergeable != NULL) + *mergeable = true; + } + debug_return_bool(false); + } + if (d1->type != DEFAULTS) { + if (!member_list_equivalent(&d1->binding->members, &d2->binding->members)) { + if (mergeable != NULL) + *mergeable = true; + debug_return_bool(false); + } + } + + debug_return_bool(true); +} + +/* + * Compare the values of two defaults structs, which must be of the same type. + * Returns true if the value and operator match, else false. + */ +static bool +defaults_val_matches(struct defaults *d1, struct defaults *d2) +{ + debug_decl(defaults_val_matches, SUDOERS_DEBUG_DEFAULTS); + + /* XXX - what about list operators? */ + if (d1->op != d2->op) + debug_return_bool(false); + + /* Either both must be NULL or both non-NULL _and_ matching. */ + if (d1->val != NULL && d2->val != NULL) { + if (strcmp(d1->val, d2->val) != 0) + debug_return_bool(false); + } else { + if (d1->val != NULL || d2->val != NULL) + debug_return_bool(false); + } + + debug_return_bool(true); +} + +/* + * Returns true if d1 is equivalent to d2, else false. + */ +static bool +defaults_equivalent(struct defaults *d1, struct defaults *d2) +{ + debug_decl(defaults_equivalent, SUDOERS_DEBUG_DEFAULTS); + + if (!defaults_var_matches(d1, d2, NULL)) + debug_return_bool(false); + debug_return_bool(defaults_val_matches(d1, d2)); +} + +/* + * Returns true if dl1 is equivalent to dl2, else false. + */ +static bool +defaults_list_equivalent(struct defaults_list *dl1, struct defaults_list *dl2) +{ + struct defaults *d1 = TAILQ_FIRST(dl1); + struct defaults *d2 = TAILQ_FIRST(dl2); + debug_decl(defaults_list_equivalent, SUDOERS_DEBUG_DEFAULTS); + + while (d1 != NULL && d2 != NULL) { + if (!defaults_equivalent(d1, d2)) + debug_return_bool(false); + d1 = TAILQ_NEXT(d1, entries); + d2 = TAILQ_NEXT(d2, entries); + } + + if (d1 != NULL || d2 != NULL) + debug_return_bool(false); + debug_return_bool(true); +} + +enum cvtsudoers_conflict { + CONFLICT_NONE, + CONFLICT_RESOLVED, + CONFLICT_UNRESOLVED +}; + +/* + * Check for duplicate and conflicting Defaults entries in later sudoers files. + * Returns true if we find a conflict or duplicate, else false. + */ +static enum cvtsudoers_conflict +defaults_check_conflict(struct defaults *def, + struct sudoers_parse_tree *parse_tree0) +{ + struct sudoers_parse_tree *parse_tree = parse_tree0; + struct defaults *d; + debug_decl(defaults_check_conflict, SUDOERS_DEBUG_DEFAULTS); + + while ((parse_tree = TAILQ_NEXT(parse_tree, entries)) != NULL) { + TAILQ_FOREACH_REVERSE(d, &parse_tree->defaults, defaults_list, entries) { + bool mergeable = false; + + /* + * We currently only merge host-based Defaults but could do + * others as well. Lists in Defaults entries can be harder + * to read, especially command lists. + */ + if (!defaults_var_matches(def, d, &mergeable)) { + if (!mergeable || (def->type != DEFAULTS && def->type != DEFAULTS_HOST)) + continue; + } + if (defaults_val_matches(def, d)) { + /* Duplicate Defaults entry (may need to merge binding). */ + if (mergeable) { + if (d->type != def->type && + (d->type == DEFAULTS || def->type == DEFAULTS)) { + /* + * To be able to merge two Defaults, they both must + * have the same binding type. Convert a global + * Defaults to one bound to single "ALL" member. + */ + if (d->type == DEFAULTS) { + struct member *m = new_member(NULL, ALL); + TAILQ_INSERT_TAIL(&d->binding->members, m, entries); + d->type = def->type; + } + if (def->type == DEFAULTS) { + struct member *m = new_member(NULL, ALL); + TAILQ_INSERT_TAIL(&def->binding->members, m, entries); + def->type = d->type; + } + } + + /* Prepend def binding to d (hence double concat). */ + TAILQ_CONCAT(&def->binding->members, &d->binding->members, entries); + TAILQ_CONCAT(&d->binding->members, &def->binding->members, entries); + } + debug_return_int(CONFLICT_RESOLVED); + } + /* + * If the value doesn't match but the Defaults name did we don't + * consider that a conflict. + */ + if (!mergeable) { + log_warnx(U_("%s:%d:%d: conflicting Defaults entry \"%s\" host-specific in %s:%d:%d"), + def->file, def->line, def->column, def->var, + d->file, d->line, d->column); + debug_return_int(CONFLICT_UNRESOLVED); + } + } + } + + debug_return_int(CONFLICT_NONE); +} + +/* + * Merge Defaults entries in parse_trees and store the result in + * merged_tree. If a hostname was specified with the sudoers source, + * create a host-specific Defaults entry where possible. + * Returns true on success, else false. + */ +static bool +merge_defaults(struct sudoers_parse_tree_list *parse_trees, + struct sudoers_parse_tree *merged_tree, struct member_list *bound_hosts) +{ + struct sudoers_parse_tree *parse_tree; + struct defaults *def; + struct member *m; + debug_decl(merge_defaults, SUDOERS_DEBUG_DEFAULTS); + + TAILQ_FOREACH(parse_tree, parse_trees, entries) { + /* + * If parse_tree has a host name associated with it, + * try to make the Defaults setting host-specific. + */ + TAILQ_FOREACH(def, &parse_tree->defaults, entries) { + if (parse_tree->lhost != NULL && def->type == DEFAULTS) { + m = new_member(parse_tree->lhost, WORD); + log_warnx(U_("%s:%d:%d: made Defaults \"%s\" specific to host %s"), + def->file, def->line, def->column, def->var, + parse_tree->lhost); + TAILQ_INSERT_TAIL(&def->binding->members, m, entries); + def->type = DEFAULTS_HOST; + } + } + } + + TAILQ_FOREACH(parse_tree, parse_trees, entries) { + while ((def = TAILQ_FIRST(&parse_tree->defaults)) != NULL) { + /* + * Only add Defaults entry if not overridden by subsequent sudoers. + */ + TAILQ_REMOVE(&parse_tree->defaults, def, entries); + switch (defaults_check_conflict(def, parse_tree)) { + case CONFLICT_NONE: + if (def->type != DEFAULTS_HOST) { + log_warnx(U_("%s:%d:%d: unable to make Defaults \"%s\" host-specific"), + def->file, def->line, def->column, def->var); + } + TAILQ_INSERT_TAIL(&merged_tree->defaults, def, entries); + break; + case CONFLICT_RESOLVED: + /* Duplicate or merged into a subsequent Defaults setting. */ + free_default(def); + break; + case CONFLICT_UNRESOLVED: + log_warnx(U_("%s:%d:%d: removing Defaults \"%s\" overridden by subsequent entries"), + def->file, def->line, def->column, def->var); + free_default(def); + break; + } + } + } + + /* + * Simplify host lists in the merged Defaults. + */ + TAILQ_FOREACH(def, &merged_tree->defaults, entries) { + /* TODO: handle refcnt != 1 */ + if (def->type == DEFAULTS_HOST && def->binding->refcnt == 1) { + simplify_host_list(&def->binding->members, def->file, def->line, + def->column, bound_hosts); + m = TAILQ_FIRST(&def->binding->members); + if (m->type == ALL && !m->negated) { + if (TAILQ_NEXT(m, entries) == NULL) { + /* Convert Defaults@ALL -> Defaults */ + def->type = DEFAULTS; + free_members(&def->binding->members); + TAILQ_INIT(&def->binding->members); + } + } + } + } + + debug_return_bool(true); +} + +/* + * Returns true if cs1 is equivalent to cs2, else false. + */ +static bool +cmndspec_equivalent(struct cmndspec *cs1, struct cmndspec *cs2, bool check_negated) +{ + debug_decl(cmndspec_equivalent, SUDOERS_DEBUG_PARSER); + + if (cs1->runasuserlist != NULL && cs2->runasuserlist != NULL) { + if (!member_list_override(cs1->runasuserlist, cs2->runasuserlist, check_negated)) + debug_return_bool(false); + } else if (cs1->runasuserlist != cs2->runasuserlist) { + debug_return_bool(false); + } + if (cs1->runasgrouplist != NULL && cs2->runasgrouplist != NULL) { + if (!member_list_override(cs1->runasgrouplist, cs2->runasgrouplist, check_negated)) + debug_return_bool(false); + } else if (cs1->runasgrouplist != cs2->runasgrouplist) { + debug_return_bool(false); + } + if (!member_equivalent(cs1->cmnd, cs2->cmnd)) + debug_return_bool(false); + if (TAGS_CHANGED(cs1->tags, cs2->tags)) + debug_return_bool(false); + if (cs1->timeout != cs2->timeout) + debug_return_bool(false); + if (cs1->notbefore != cs2->notbefore) + debug_return_bool(false); + if (cs1->notafter != cs2->notafter) + debug_return_bool(false); + if (cs1->runcwd != NULL && cs2->runcwd != NULL) { + if (strcmp(cs1->runcwd, cs2->runcwd) != 0) + debug_return_bool(false); + } else if (cs1->runcwd != cs2->runcwd) { + debug_return_bool(false); + } + if (cs1->runchroot != NULL && cs2->runchroot != NULL) { + if (strcmp(cs1->runchroot, cs2->runchroot) != 0) + debug_return_bool(false); + } else if (cs1->runchroot != cs2->runchroot) { + debug_return_bool(false); + } +#ifdef HAVE_SELINUX + if (cs1->role != NULL && cs2->role != NULL) { + if (strcmp(cs1->role, cs2->role) != 0) + debug_return_bool(false); + } else if (cs1->role != cs2->role) { + debug_return_bool(false); + } + if (cs1->type != NULL && cs2->type != NULL) { + if (strcmp(cs1->type, cs2->type) != 0) + debug_return_bool(false); + } else if (cs1->type != cs2->type) { + debug_return_bool(false); + } +#endif +#ifdef HAVE_APPARMOR + if (cs1->apparmor_profile != NULL && cs2->apparmor_profile != NULL) { + if (strcmp(cs1->apparmor_profile, cs2->apparmor_profile) != 0) + debug_return_bool(false); + } else if (cs1->apparmor_profile != cs2->apparmor_profile) { + debug_return_bool(false); + } +#endif +#ifdef HAVE_PRIV_SET + if (cs1->privs != NULL && cs2->privs != NULL) { + if (strcmp(cs1->privs, cs2->privs) != 0) + debug_return_bool(false); + } else if (cs1->privs != cs2->privs) { + debug_return_bool(false); + } + if (cs1->limitprivs != NULL && cs2->limitprivs != NULL) { + if (strcmp(cs1->limitprivs, cs2->limitprivs) != 0) + debug_return_bool(false); + } else if (cs1->limitprivs != cs2->limitprivs) { + debug_return_bool(false); + } +#endif + + debug_return_bool(true); +} + +/* + * Returns true if csl1 is equivalent to csl2, else false. + */ +static bool +cmndspec_list_equivalent(struct cmndspec_list *csl1, struct cmndspec_list *csl2, + bool check_negated) +{ + struct cmndspec *cs1 = TAILQ_FIRST(csl1); + struct cmndspec *cs2 = TAILQ_FIRST(csl2); + debug_decl(cmndspec_list_equivalent, SUDOERS_DEBUG_PARSER); + + while (cs1 != NULL && cs2 != NULL) { + if (!cmndspec_equivalent(cs1, cs2, check_negated)) + debug_return_bool(false); + cs1 = TAILQ_NEXT(cs1, entries); + cs2 = TAILQ_NEXT(cs2, entries); + } + + if (cs1 != NULL || cs2 != NULL) + debug_return_bool(false); + debug_return_bool(true); +} + +/* + * Check whether userspec us1 is overridden by another sudoers file entry. + * If us1 and another userspec differ only in their host lists, merges + * the hosts from us1 into that userspec. + * Returns true if overridden, else false. + * TODO: merge privs + */ +static enum cvtsudoers_conflict +userspec_overridden(struct userspec *us1, + struct sudoers_parse_tree *parse_tree, bool check_negated) +{ + struct userspec *us2; + bool hosts_differ = false; + debug_decl(userspec_overridden, SUDOERS_DEBUG_PARSER); + + if (TAILQ_EMPTY(&parse_tree->userspecs)) + debug_return_int(CONFLICT_NONE); + + /* Sudoers rules are applied in reverse order (last match wins). */ + TAILQ_FOREACH_REVERSE(us2, &parse_tree->userspecs, userspec_list, entries) { + struct privilege *priv1, *priv2; + + if (!member_list_override(&us1->users, &us2->users, check_negated)) + continue; + + /* XXX - order should not matter */ + priv1 = TAILQ_LAST(&us1->privileges, privilege_list); + priv2 = TAILQ_LAST(&us2->privileges, privilege_list); + while (priv1 != NULL && priv2 != NULL) { + if (!defaults_list_equivalent(&priv1->defaults, &priv2->defaults)) + break; + if (!cmndspec_list_equivalent(&priv1->cmndlist, &priv2->cmndlist, check_negated)) + break; + + if (!member_list_override(&priv1->hostlist, &priv2->hostlist, check_negated)) + hosts_differ = true; + + priv1 = TAILQ_PREV(priv1, privilege_list, entries); + priv2 = TAILQ_PREV(priv2, privilege_list, entries); + } + if (priv1 != NULL || priv2 != NULL) { + /* mismatch */ + continue; + } + + /* + * If we have a match of everything except the host list, + * merge the differing host lists. + */ + if (hosts_differ) { + priv1 = TAILQ_LAST(&us1->privileges, privilege_list); + priv2 = TAILQ_LAST(&us2->privileges, privilege_list); + while (priv1 != NULL && priv2 != NULL) { + if (!member_list_override(&priv1->hostlist, &priv2->hostlist, check_negated)) { + /* + * Priv matches but hosts differ, prepend priv1 hostlist + * to into priv2 hostlist (hence the double concat). + */ + TAILQ_CONCAT(&priv1->hostlist, &priv2->hostlist, entries); + TAILQ_CONCAT(&priv2->hostlist, &priv1->hostlist, entries); + log_warnx(U_("%s:%d:%d: merging userspec into %s:%d:%d"), + us1->file, us1->line, us1->column, + us2->file, us2->line, us2->column); + } + priv1 = TAILQ_PREV(priv1, privilege_list, entries); + priv2 = TAILQ_PREV(priv2, privilege_list, entries); + } + debug_return_int(CONFLICT_RESOLVED); + } + debug_return_int(CONFLICT_UNRESOLVED); + } + + debug_return_int(CONFLICT_NONE); +} + +/* + * Check whether userspec us1 is overridden by another sudoers file entry. + * If us1 and another userspec differ only in their host lists, merges + * the hosts from us1 into that userspec. + * Returns true if overridden, else false. + */ +static enum cvtsudoers_conflict +userspec_check_conflict(struct userspec *us1, + struct sudoers_parse_tree *parse_tree0) +{ + struct sudoers_parse_tree *parse_tree = parse_tree0; + debug_decl(userspec_check_conflict, SUDOERS_DEBUG_PARSER); + + while ((parse_tree = TAILQ_NEXT(parse_tree, entries)) != NULL) { + enum cvtsudoers_conflict ret = + userspec_overridden(us1, parse_tree, false); + if (ret != CONFLICT_NONE) + debug_return_int(ret); + } + + debug_return_int(CONFLICT_NONE); +} + +/* + * Merge userspecs in parse_trees and store the result in merged_tree. + * If a hostname was specified with the sudoers source, make the + * privilege host-specific where possible. + * Returns true on success, else false. + */ +static bool +merge_userspecs(struct sudoers_parse_tree_list *parse_trees, + struct sudoers_parse_tree *merged_tree, struct member_list *bound_hosts) +{ + struct sudoers_parse_tree *parse_tree; + struct userspec *us; + struct privilege *priv; + struct member *m; + debug_decl(merge_userspecs, SUDOERS_DEBUG_DEFAULTS); + + /* + * If parse_tree has a host name associated with it, + * try to make the privilege host-specific. + */ + TAILQ_FOREACH(parse_tree, parse_trees, entries) { + if (parse_tree->lhost == NULL) + continue; + TAILQ_FOREACH(us, &parse_tree->userspecs, entries) { + TAILQ_FOREACH(priv, &us->privileges, entries) { + TAILQ_FOREACH(m, &priv->hostlist, entries) { + /* We don't alter !ALL in a hostlist (XXX - should we?). */ + if (m->type == ALL && !m->negated) { + m->type = WORD; + m->name = strdup(parse_tree->lhost); + if (m->name == NULL) { + sudo_fatalx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + } + } + } + } + } + } + + /* + * Prune out duplicate userspecs after substituting hostname(s). + * Traverse the list in reverse order--in sudoers last match wins. + * XXX - do this at the privilege/cmndspec level instead. + */ + TAILQ_FOREACH(parse_tree, parse_trees, entries) { + while ((us = TAILQ_LAST(&parse_tree->userspecs, userspec_list)) != NULL) { + TAILQ_REMOVE(&parse_tree->userspecs, us, entries); + switch (userspec_check_conflict(us, parse_tree)) { + case CONFLICT_NONE: + TAILQ_INSERT_HEAD(&merged_tree->userspecs, us, entries); + break; + case CONFLICT_RESOLVED: + free_userspec(us); + break; + case CONFLICT_UNRESOLVED: + log_warnx(U_("%s:%d:%d: removing userspec overridden by subsequent entries"), + us->file, us->line, us->column); + free_userspec(us); + break; + } + } + } + + /* + * Simplify member lists in the merged tree. + * Convert host lists with all hosts listed to "ALL" and + * collapse other entries around "ALL". + */ + TAILQ_FOREACH_REVERSE(us, &merged_tree->userspecs, userspec_list, entries) { + TAILQ_FOREACH_REVERSE(priv, &us->privileges, privilege_list, entries) { + /* TODO: simplify other lists? */ + simplify_host_list(&priv->hostlist, us->file, us->line, us->column, + bound_hosts); + } + } + + debug_return_bool(true); +} + +struct sudoers_parse_tree * +merge_sudoers(struct sudoers_parse_tree_list *parse_trees, + struct sudoers_parse_tree *merged_tree) +{ + struct member_list bound_hosts = TAILQ_HEAD_INITIALIZER(bound_hosts); + struct sudoers_parse_tree *parse_tree; + debug_decl(merge_sudoers, SUDOERS_DEBUG_UTIL); + + /* + * If all sudoers sources have a host associated with them, we + * can replace a list of those hosts with "ALL" in Defaults + * and userspecs. + */ + TAILQ_FOREACH(parse_tree, parse_trees, entries) { + if (parse_tree->lhost == NULL) + break; + } + if (parse_tree == NULL) { + TAILQ_FOREACH(parse_tree, parse_trees, entries) { + struct member *m = new_member(parse_tree->lhost, WORD); + TAILQ_INSERT_TAIL(&bound_hosts, m, entries); + } + } + + if ((merged_tree->aliases = alloc_aliases()) == NULL) + sudo_fatalx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + + if (!merge_aliases(parse_trees, merged_tree)) + goto bad; + + if (!merge_defaults(parse_trees, merged_tree, &bound_hosts)) + goto bad; + + if (!merge_userspecs(parse_trees, merged_tree, &bound_hosts)) + goto bad; + + free_members(&bound_hosts); + debug_return_ptr(merged_tree); +bad: + free_members(&bound_hosts); + debug_return_ptr(NULL); +} diff --git a/plugins/sudoers/cvtsudoers_pwutil.c b/plugins/sudoers/cvtsudoers_pwutil.c new file mode 100644 index 0000000..6b30d03 --- /dev/null +++ b/plugins/sudoers/cvtsudoers_pwutil.c @@ -0,0 +1,484 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1996, 1998-2005, 2007-2019 + * Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Sponsored in part by the Defense Advanced Research Projects + * Agency (DARPA) and Air Force Research Laboratory, Air Force + * Materiel Command, USAF, under agreement number F39502-99-1-0512. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include +#include +#ifdef HAVE_STRINGS_H +# include +#endif /* HAVE_STRINGS_H */ +#include +#include +#include +#include +#include + +#include "sudoers.h" +#include "cvtsudoers.h" +#include "pwutil.h" + +#ifndef LOGIN_NAME_MAX +# ifdef _POSIX_LOGIN_NAME_MAX +# define LOGIN_NAME_MAX _POSIX_LOGIN_NAME_MAX +# else +# define LOGIN_NAME_MAX 9 +# endif +#endif /* LOGIN_NAME_MAX */ + +#define FIELD_SIZE(src, name, size) \ +do { \ + if ((src)->name) { \ + size = strlen((src)->name) + 1; \ + total += size; \ + } else { \ + size = 0; \ + } \ +} while (0) + +#define FIELD_COPY(src, dst, name, size) \ +do { \ + if ((src)->name) { \ + memcpy(cp, (src)->name, size); \ + (dst)->name = cp; \ + cp += size; \ + } \ +} while (0) + +/* + * Dynamically allocate space for a struct item plus the key and data + * elements. If name is non-NULL it is used as the key, else the + * uid is the key. Fills in datum from the users filter. + * Returns NULL on calloc error or unknown name/id, setting errno + * to ENOMEM or ENOENT respectively. + */ +struct cache_item * +cvtsudoers_make_pwitem(uid_t uid, const char *name) +{ + char *cp, uidstr[MAX_UID_T_LEN + 2]; + size_t nsize, psize, gsize, dsize, ssize, total; +#ifdef HAVE_LOGIN_CAP_H + size_t csize; +#endif + struct cache_item_pw *pwitem; + struct passwd pw, *newpw; + struct sudoers_string *s = NULL; + debug_decl(cvtsudoers_make_pwitem, SUDOERS_DEBUG_NSS); + + /* Look up name or uid in filter list. */ + if (name != NULL) { + STAILQ_FOREACH(s, &filters->users, entries) { + if (strcasecmp(name, s->str) == 0) { + uid = (uid_t)-1; + break; + } + } + } else { + STAILQ_FOREACH(s, &filters->users, entries) { + const char *errstr; + uid_t filter_uid; + + if (s->str[0] != '#') + continue; + + filter_uid = sudo_strtoid(s->str + 1, &errstr); + if (errstr == NULL) { + if (uid != filter_uid) + continue; + (void)snprintf(uidstr, sizeof(uidstr), "#%u", + (unsigned int)uid); + break; + } + } + } + if (s == NULL) { + errno = ENOENT; + debug_return_ptr(NULL); + } + + /* Fake up a passwd struct. */ + memset(&pw, 0, sizeof(pw)); + pw.pw_name = name ? s->str : uidstr; + pw.pw_passwd = (char *)"*"; + pw.pw_uid = uid; + pw.pw_gid = (gid_t)-1; + pw.pw_shell = (char *)_PATH_BSHELL; + pw.pw_dir = (char *)"/"; + + /* Allocate in one big chunk for easy freeing. */ + total = sizeof(*pwitem); + FIELD_SIZE(&pw, pw_name, nsize); + FIELD_SIZE(&pw, pw_passwd, psize); +#ifdef HAVE_LOGIN_CAP_H + FIELD_SIZE(&pw, pw_class, csize); +#endif + FIELD_SIZE(&pw, pw_gecos, gsize); + FIELD_SIZE(&pw, pw_dir, dsize); + FIELD_SIZE(&pw, pw_shell, ssize); + if (name != NULL) + total += strlen(name) + 1; + + /* Allocate space for struct item, struct passwd and the strings. */ + if ((pwitem = calloc(1, total)) == NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "unable to allocate memory"); + debug_return_ptr(NULL); + } + newpw = &pwitem->pw; + + /* + * Copy in passwd contents and make strings relative to space + * at the end of the struct. + */ + memcpy(newpw, &pw, sizeof(pw)); + cp = (char *)(pwitem + 1); + FIELD_COPY(&pw, newpw, pw_name, nsize); + FIELD_COPY(&pw, newpw, pw_passwd, psize); +#ifdef HAVE_LOGIN_CAP_H + FIELD_COPY(&pw, newpw, pw_class, csize); +#endif + FIELD_COPY(&pw, newpw, pw_gecos, gsize); + FIELD_COPY(&pw, newpw, pw_dir, dsize); + FIELD_COPY(&pw, newpw, pw_shell, ssize); + + /* Set key and datum. */ + if (name != NULL) { + memcpy(cp, name, strlen(name) + 1); + pwitem->cache.k.name = cp; + } else { + pwitem->cache.k.uid = pw.pw_uid; + } + pwitem->cache.d.pw = newpw; + pwitem->cache.refcnt = 1; + + debug_return_ptr(&pwitem->cache); +} + +/* + * Dynamically allocate space for a struct item plus the key and data + * elements. If name is non-NULL it is used as the key, else the + * gid is the key. Fills in datum from the groups filter. + * Returns NULL on calloc error or unknown name/id, setting errno + * to ENOMEM or ENOENT respectively. + */ +struct cache_item * +cvtsudoers_make_gritem(gid_t gid, const char *name) +{ + char *cp, gidstr[MAX_UID_T_LEN + 2]; + size_t nsize, psize, total, len, nmem = 0; + struct cache_item_gr *gritem; + struct group gr, *newgr; + struct sudoers_string *s = NULL; + debug_decl(cvtsudoers_make_gritem, SUDOERS_DEBUG_NSS); + + /* Look up name or gid in filter list. */ + if (name != NULL) { + STAILQ_FOREACH(s, &filters->groups, entries) { + if (strcasecmp(name, s->str) == 0) { + gid = (gid_t)-1; + break; + } + } + } else { + STAILQ_FOREACH(s, &filters->groups, entries) { + const char *errstr; + gid_t filter_gid; + + if (s->str[0] != '#') + continue; + + filter_gid = sudo_strtoid(s->str + 1, &errstr); + if (errstr == NULL) { + if (gid != filter_gid) + continue; + (void)snprintf(gidstr, sizeof(gidstr), "#%u", + (unsigned int)gid); + break; + } + } + } + if (s == NULL) { + errno = ENOENT; + debug_return_ptr(NULL); + } + + /* Fake up a group struct with all filter users as members. */ + memset(&gr, 0, sizeof(gr)); + gr.gr_name = name ? s->str : gidstr; + gr.gr_gid = gid; + + /* Allocate in one big chunk for easy freeing. */ + total = sizeof(*gritem); + FIELD_SIZE(&gr, gr_name, nsize); + FIELD_SIZE(&gr, gr_passwd, psize); + if (!STAILQ_EMPTY(&filters->users)) { + STAILQ_FOREACH(s, &filters->users, entries) { + total += strlen(s->str) + 1; + nmem++; + } + total += sizeof(char *) * nmem; + } + if (name != NULL) + total += strlen(name) + 1; + + if ((gritem = calloc(1, total)) == NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "unable to allocate memory"); + debug_return_ptr(NULL); + } + + /* + * Copy in group contents and make strings relative to space + * at the end of the buffer. Note that gr_mem must come + * immediately after struct group to guarantee proper alignment. + */ + newgr = &gritem->gr; + memcpy(newgr, &gr, sizeof(gr)); + cp = (char *)(gritem + 1); + if (nmem != 0) { + newgr->gr_mem = (char **)cp; + cp += sizeof(char *) * nmem; + nmem = 0; + STAILQ_FOREACH(s, &filters->users, entries) { + len = strlen(s->str) + 1; + memcpy(cp, s->str, len); + newgr->gr_mem[nmem++] = cp; + cp += len; + } + newgr->gr_mem[nmem] = NULL; + } + FIELD_COPY(&gr, newgr, gr_passwd, psize); + FIELD_COPY(&gr, newgr, gr_name, nsize); + + /* Set key and datum. */ + if (name != NULL) { + memcpy(cp, name, strlen(name) + 1); + gritem->cache.k.name = cp; + } else { + gritem->cache.k.gid = gr.gr_gid; + } + gritem->cache.d.gr = newgr; + gritem->cache.refcnt = 1; + + debug_return_ptr(&gritem->cache); +} + +static struct cache_item_gidlist *gidlist_item; + +/* + * Dynamically allocate space for a struct item plus the key and data + * elements. Fills in datum from the groups filter. + */ +struct cache_item * +cvtsudoers_make_gidlist_item(const struct passwd *pw, char * const *unused1, + unsigned int type) +{ + char *cp; + size_t nsize, total; + struct cache_item_gidlist *glitem; + struct sudoers_string *s; + struct gid_list *gidlist; + GETGROUPS_T *gids = NULL; + int i, ngids = 0; + debug_decl(cvtsudoers_make_gidlist_item, SUDOERS_DEBUG_NSS); + + /* + * There's only a single gid list. + */ + if (gidlist_item != NULL) { + gidlist_item->cache.refcnt++; + debug_return_ptr(&gidlist_item->cache); + } + + /* Count number of possible gids in the filter. */ + STAILQ_FOREACH(s, &filters->groups, entries) { + if (s->str[0] == '#') + ngids++; + } + + /* Allocate gids[] array and fill it with parsed gids. */ + if (ngids != 0) { + gids = reallocarray(NULL, ngids, sizeof(GETGROUPS_T)); + if (gids == NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "unable to allocate memory"); + debug_return_ptr(NULL); + } + ngids = 0; + STAILQ_FOREACH(s, &filters->groups, entries) { + if (s->str[0] == '#') { + const char *errstr; + gid_t gid = sudo_strtoid(s->str + 1, &errstr); + if (errstr == NULL) { + /* Valid gid. */ + gids[ngids++] = gid; + } + } + } + } + if (ngids == 0) { + free(gids); + errno = ENOENT; + debug_return_ptr(NULL); + } + + /* Allocate in one big chunk for easy freeing. */ + nsize = strlen(pw->pw_name) + 1; + total = sizeof(*glitem) + nsize; + total += sizeof(gid_t *) * ngids; + + if ((glitem = calloc(1, total)) == NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "unable to allocate memory"); + free(gids); + debug_return_ptr(NULL); + } + + /* + * Copy in group list and make pointers relative to space + * at the end of the buffer. Note that the groups array must come + * immediately after struct group to guarantee proper alignment. + */ + gidlist = &glitem->gidlist; + cp = (char *)(glitem + 1); + gidlist->gids = (gid_t *)cp; + cp += sizeof(gid_t) * ngids; + + /* Set key and datum. */ + memcpy(cp, pw->pw_name, nsize); + glitem->cache.k.name = cp; + glitem->cache.d.gidlist = gidlist; + glitem->cache.refcnt = 1; + glitem->cache.type = type; + + /* + * Store group IDs. + */ + for (i = 0; i < ngids; i++) + gidlist->gids[i] = gids[i]; + gidlist->ngids = ngids; + free(gids); + + debug_return_ptr(&glitem->cache); +} + +static struct cache_item_gidlist *grlist_item; + +/* + * Dynamically allocate space for a struct item plus the key and data + * elements. Fills in group names from the groups filter. + */ +struct cache_item * +cvtsudoers_make_grlist_item(const struct passwd *pw, char * const *unused1) +{ + char *cp; + size_t nsize, ngroups, total, len; + struct cache_item_grlist *grlitem; + struct sudoers_string *s; + struct group_list *grlist; + int groupname_len; + debug_decl(cvtsudoers_make_grlist_item, SUDOERS_DEBUG_NSS); + + /* + * There's only a single group list. + */ + if (grlist_item != NULL) { + grlist_item->cache.refcnt++; + debug_return_ptr(&grlist_item->cache); + } + + /* Count number of groups in the filter. */ + ngroups = 0; + STAILQ_FOREACH(s, &filters->groups, entries) { + ngroups++; + } + +#ifdef _SC_LOGIN_NAME_MAX + groupname_len = MAX((int)sysconf(_SC_LOGIN_NAME_MAX), 32); +#else + groupname_len = MAX(LOGIN_NAME_MAX, 32); +#endif + + /* Allocate in one big chunk for easy freeing. */ + nsize = strlen(pw->pw_name) + 1; + total = sizeof(*grlitem) + nsize; + total += groupname_len * ngroups; + +again: + if ((grlitem = calloc(1, total)) == NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "unable to allocate memory"); + debug_return_ptr(NULL); + } + + /* + * Copy in group list and make pointers relative to space + * at the end of the buffer. Note that the groups array must come + * immediately after struct group to guarantee proper alignment. + */ + grlist = &grlitem->grlist; + cp = (char *)(grlitem + 1); + grlist->groups = (char **)cp; + cp += sizeof(char *) * ngroups; + + /* Set key and datum. */ + memcpy(cp, pw->pw_name, nsize); + grlitem->cache.k.name = cp; + grlitem->cache.d.grlist = grlist; + grlitem->cache.refcnt = 1; + cp += nsize; + + /* + * Copy groups from filter. + */ + ngroups = 0; + STAILQ_FOREACH(s, &filters->groups, entries) { + if (s->str[0] == '#') { + const char *errstr; + sudo_strtoid(s->str + 1, &errstr); + if (errstr == NULL) { + /* Group ID not name, ignore it. */ + continue; + } + } + len = strlen(s->str) + 1; + if (cp - (char *)grlitem + len > total) { + total += len + groupname_len; + free(grlitem); + goto again; + } + memcpy(cp, s->str, len); + grlist->groups[ngroups++] = cp; + cp += len; + } + grlist->ngroups = ngroups; + + debug_return_ptr(&grlitem->cache); +} diff --git a/plugins/sudoers/def_data.c b/plugins/sudoers/def_data.c new file mode 100644 index 0000000..b8c1212 --- /dev/null +++ b/plugins/sudoers/def_data.c @@ -0,0 +1,701 @@ +/* generated file, do not edit */ + +static struct def_values def_data_lecture[] = { + { "never", never }, + { "once", once }, + { "always", always }, + { NULL, 0 }, +}; + +static struct def_values def_data_listpw[] = { + { "never", never }, + { "any", any }, + { "all", all }, + { "always", always }, + { NULL, 0 }, +}; + +static struct def_values def_data_verifypw[] = { + { "never", never }, + { "all", all }, + { "any", any }, + { "always", always }, + { NULL, 0 }, +}; + +static struct def_values def_data_fdexec[] = { + { "never", never }, + { "digest_only", digest_only }, + { "always", always }, + { NULL, 0 }, +}; + +static struct def_values def_data_timestamp_type[] = { + { "global", global }, + { "ppid", ppid }, + { "tty", tty }, + { "kernel", kernel }, + { NULL, 0 }, +}; + +static struct def_values def_data_log_format[] = { + { "sudo", sudo }, + { "json", json }, + { NULL, 0 }, +}; + +static struct def_values def_data_intercept_type[] = { + { "dso", dso }, + { "trace", trace }, + { NULL, 0 }, +}; + +struct sudo_defs_types sudo_defs_table[] = { + { + "syslog", T_LOGFAC|T_BOOL, + N_("Syslog facility if syslog is being used for logging: %s"), + NULL, + }, { + "syslog_goodpri", T_LOGPRI|T_BOOL, + N_("Syslog priority to use when user authenticates successfully: %s"), + NULL, + }, { + "syslog_badpri", T_LOGPRI|T_BOOL, + N_("Syslog priority to use when user authenticates unsuccessfully: %s"), + NULL, + }, { + "long_otp_prompt", T_FLAG, + N_("Put OTP prompt on its own line"), + NULL, + }, { + "ignore_dot", T_FLAG, + N_("Ignore '.' in $PATH"), + NULL, + }, { + "mail_always", T_FLAG, + N_("Always send mail when sudo is run"), + NULL, + }, { + "mail_badpass", T_FLAG, + N_("Send mail if user authentication fails"), + NULL, + }, { + "mail_no_user", T_FLAG, + N_("Send mail if the user is not in sudoers"), + NULL, + }, { + "mail_no_host", T_FLAG, + N_("Send mail if the user is not in sudoers for this host"), + NULL, + }, { + "mail_no_perms", T_FLAG, + N_("Send mail if the user is not allowed to run a command"), + NULL, + }, { + "mail_all_cmnds", T_FLAG, + N_("Send mail if the user tries to run a command"), + NULL, + }, { + "tty_tickets", T_FLAG, + N_("Use a separate timestamp for each user/tty combo"), + NULL, + }, { + "lecture", T_TUPLE|T_BOOL, + N_("Lecture user the first time they run sudo"), + def_data_lecture, + }, { + "lecture_file", T_STR|T_PATH|T_BOOL, + N_("File containing the sudo lecture: %s"), + NULL, + }, { + "authenticate", T_FLAG, + N_("Require users to authenticate by default"), + NULL, + }, { + "root_sudo", T_FLAG, + N_("Root may run sudo"), + NULL, + }, { + "log_host", T_FLAG, + N_("Log the hostname in the (non-syslog) log file"), + NULL, + }, { + "log_year", T_FLAG, + N_("Log the year in the (non-syslog) log file"), + NULL, + }, { + "shell_noargs", T_FLAG, + N_("If sudo is invoked with no arguments, start a shell"), + NULL, + }, { + "set_home", T_FLAG, + N_("Set $HOME to the target user when starting a shell with -s"), + NULL, + }, { + "always_set_home", T_FLAG, + N_("Always set $HOME to the target user's home directory"), + NULL, + }, { + "path_info", T_FLAG, + N_("Allow some information gathering to give useful error messages"), + NULL, + }, { + "fqdn", T_FLAG, + N_("Require fully-qualified hostnames in the sudoers file"), + NULL, + }, { + "insults", T_FLAG, + N_("Insult the user when they enter an incorrect password"), + NULL, + }, { + "requiretty", T_FLAG, + N_("Only allow the user to run sudo if they have a tty"), + NULL, + }, { + "env_editor", T_FLAG, + N_("Visudo will honor the EDITOR environment variable"), + NULL, + }, { + "rootpw", T_FLAG, + N_("Prompt for root's password, not the users's"), + NULL, + }, { + "runaspw", T_FLAG, + N_("Prompt for the runas_default user's password, not the users's"), + NULL, + }, { + "targetpw", T_FLAG, + N_("Prompt for the target user's password, not the users's"), + NULL, + }, { + "use_loginclass", T_FLAG, + N_("Apply defaults in the target user's login class if there is one"), + NULL, + }, { + "set_logname", T_FLAG, + N_("Set the LOGNAME and USER environment variables"), + NULL, + }, { + "stay_setuid", T_FLAG, + N_("Only set the effective uid to the target user, not the real uid"), + NULL, + }, { + "preserve_groups", T_FLAG, + N_("Don't initialize the group vector to that of the target user"), + NULL, + }, { + "loglinelen", T_UINT|T_BOOL, + N_("Length at which to wrap log file lines (0 for no wrap): %u"), + NULL, + }, { + "timestamp_timeout", T_TIMESPEC|T_BOOL, + N_("Authentication timestamp timeout: %.1f minutes"), + NULL, + }, { + "passwd_timeout", T_TIMESPEC|T_BOOL, + N_("Password prompt timeout: %.1f minutes"), + NULL, + }, { + "passwd_tries", T_UINT, + N_("Number of tries to enter a password: %u"), + NULL, + }, { + "umask", T_MODE|T_BOOL, + N_("Umask to use or 0777 to use user's: 0%o"), + NULL, + }, { + "logfile", T_STR|T_BOOL|T_PATH, + N_("Path to log file: %s"), + NULL, + }, { + "mailerpath", T_STR|T_BOOL|T_PATH, + N_("Path to mail program: %s"), + NULL, + }, { + "mailerflags", T_STR|T_BOOL, + N_("Flags for mail program: %s"), + NULL, + }, { + "mailto", T_STR|T_BOOL, + N_("Address to send mail to: %s"), + NULL, + }, { + "mailfrom", T_STR|T_BOOL, + N_("Address to send mail from: %s"), + NULL, + }, { + "mailsub", T_STR, + N_("Subject line for mail messages: %s"), + NULL, + }, { + "badpass_message", T_STR, + N_("Incorrect password message: %s"), + NULL, + }, { + "lecture_status_dir", T_STR|T_PATH, + N_("Path to lecture status dir: %s"), + NULL, + }, { + "timestampdir", T_STR|T_PATH, + N_("Path to authentication timestamp dir: %s"), + NULL, + }, { + "timestampowner", T_STR, + N_("Owner of the authentication timestamp dir: %s"), + NULL, + }, { + "exempt_group", T_STR|T_BOOL, + N_("Users in this group are exempt from password and PATH requirements: %s"), + NULL, + }, { + "passprompt", T_STR, + N_("Default password prompt: %s"), + NULL, + }, { + "passprompt_override", T_FLAG, + N_("If set, passprompt will override system prompt in all cases."), + NULL, + }, { + "runas_default", T_STR, + N_("Default user to run commands as: %s"), + NULL, + }, { + "secure_path", T_STR|T_BOOL, + N_("Value to override user's $PATH with: %s"), + NULL, + }, { + "editor", T_STR|T_PATH, + N_("Path to the editor for use by visudo: %s"), + NULL, + }, { + "listpw", T_TUPLE|T_BOOL, + N_("When to require a password for 'list' pseudocommand: %s"), + def_data_listpw, + }, { + "verifypw", T_TUPLE|T_BOOL, + N_("When to require a password for 'verify' pseudocommand: %s"), + def_data_verifypw, + }, { + "noexec", T_FLAG, + N_("Preload the sudo_noexec library which replaces the exec functions"), + NULL, + }, { + "ignore_local_sudoers", T_FLAG, + N_("If LDAP directory is up, do we ignore local sudoers file"), + NULL, + }, { + "closefrom", T_INT, + N_("File descriptors >= %d will be closed before executing a command"), + NULL, + }, { + "closefrom_override", T_FLAG, + N_("If set, users may override the value of \"closefrom\" with the -C option"), + NULL, + }, { + "setenv", T_FLAG, + N_("Allow users to set arbitrary environment variables"), + NULL, + }, { + "env_reset", T_FLAG, + N_("Reset the environment to a default set of variables"), + NULL, + }, { + "env_check", T_LIST|T_BOOL, + N_("Environment variables to check for safety:"), + NULL, + }, { + "env_delete", T_LIST|T_BOOL, + N_("Environment variables to remove:"), + NULL, + }, { + "env_keep", T_LIST|T_BOOL, + N_("Environment variables to preserve:"), + NULL, + }, { + "role", T_STR, + N_("SELinux role to use in the new security context: %s"), + NULL, + }, { + "type", T_STR, + N_("SELinux type to use in the new security context: %s"), + NULL, + }, { + "env_file", T_STR|T_PATH|T_BOOL, + N_("Path to the sudo-specific environment file: %s"), + NULL, + }, { + "restricted_env_file", T_STR|T_PATH|T_BOOL, + N_("Path to the restricted sudo-specific environment file: %s"), + NULL, + }, { + "sudoers_locale", T_STR, + N_("Locale to use while parsing sudoers: %s"), + NULL, + }, { + "visiblepw", T_FLAG, + N_("Allow sudo to prompt for a password even if it would be visible"), + NULL, + }, { + "pwfeedback", T_FLAG, + N_("Provide visual feedback at the password prompt when there is user input"), + NULL, + }, { + "fast_glob", T_FLAG, + N_("Use faster globbing that is less accurate but does not access the filesystem"), + NULL, + }, { + "umask_override", T_FLAG, + N_("The umask specified in sudoers will override the user's, even if it is more permissive"), + NULL, + }, { + "log_input", T_FLAG, + N_("Log user's input for the command being run"), + NULL, + }, { + "log_stdin", T_FLAG, + N_("Log the command's standard input if not connected to a terminal"), + NULL, + }, { + "log_ttyin", T_FLAG, + N_("Log the user's terminal input for the command being run"), + NULL, + }, { + "log_output", T_FLAG, + N_("Log the output of the command being run"), + NULL, + }, { + "log_stdout", T_FLAG, + N_("Log the command's standard output if not connected to a terminal"), + NULL, + }, { + "log_stderr", T_FLAG, + N_("Log the command's standard error if not connected to a terminal"), + NULL, + }, { + "log_ttyout", T_FLAG, + N_("Log the terminal output of the command being run"), + NULL, + }, { + "compress_io", T_FLAG, + N_("Compress I/O logs using zlib"), + NULL, + }, { + "use_pty", T_FLAG, + N_("Always run commands in a pseudo-tty"), + NULL, + }, { + "group_plugin", T_STR, + N_("Plugin for non-Unix group support: %s"), + NULL, + }, { + "iolog_dir", T_STR|T_PATH, + N_("Directory in which to store input/output logs: %s"), + NULL, + }, { + "iolog_file", T_STR, + N_("File in which to store the input/output log: %s"), + NULL, + }, { + "set_utmp", T_FLAG, + N_("Add an entry to the utmp/utmpx file when allocating a pty"), + NULL, + }, { + "utmp_runas", T_FLAG, + N_("Set the user in utmp to the runas user, not the invoking user"), + NULL, + }, { + "privs", T_STR, + N_("Set of permitted privileges: %s"), + NULL, + }, { + "limitprivs", T_STR, + N_("Set of limit privileges: %s"), + NULL, + }, { + "exec_background", T_FLAG, + N_("Run commands on a pty in the background"), + NULL, + }, { + "pam_service", T_STR, + N_("PAM service name to use: %s"), + NULL, + }, { + "pam_login_service", T_STR, + N_("PAM service name to use for login shells: %s"), + NULL, + }, { + "pam_askpass_service", T_STR, + N_("PAM service name to use when sudo is run with the -A option: %s"), + NULL, + }, { + "pam_setcred", T_FLAG, + N_("Attempt to establish PAM credentials for the target user"), + NULL, + }, { + "pam_session", T_FLAG, + N_("Create a new PAM session for the command to run in"), + NULL, + }, { + "pam_acct_mgmt", T_FLAG, + N_("Perform PAM account validation management"), + NULL, + }, { + "maxseq", T_STR, + N_("Maximum I/O log sequence number: %s"), + NULL, + }, { + "use_netgroups", T_FLAG, + N_("Enable sudoers netgroup support"), + NULL, + }, { + "sudoedit_checkdir", T_FLAG, + N_("Check parent directories for writability when editing files with sudoedit"), + NULL, + }, { + "sudoedit_follow", T_FLAG, + N_("Follow symbolic links when editing files with sudoedit"), + NULL, + }, { + "always_query_group_plugin", T_FLAG, + N_("Query the group plugin for unknown system groups"), + NULL, + }, { + "netgroup_tuple", T_FLAG, + N_("Match netgroups based on the entire tuple: user, host and domain"), + NULL, + }, { + "ignore_audit_errors", T_FLAG, + N_("Allow commands to be run even if sudo cannot write to the audit log"), + NULL, + }, { + "ignore_iolog_errors", T_FLAG, + N_("Allow commands to be run even if sudo cannot write to the I/O log"), + NULL, + }, { + "ignore_logfile_errors", T_FLAG, + N_("Allow commands to be run even if sudo cannot write to the log file"), + NULL, + }, { + "match_group_by_gid", T_FLAG, + N_("Resolve groups in sudoers and match on the group ID, not the name"), + NULL, + }, { + "syslog_maxlen", T_UINT, + N_("Log entries larger than this value will be split into multiple syslog messages: %u"), + NULL, + }, { + "iolog_user", T_STR|T_BOOL, + N_("User that will own the I/O log files: %s"), + NULL, + }, { + "iolog_group", T_STR|T_BOOL, + N_("Group that will own the I/O log files: %s"), + NULL, + }, { + "iolog_mode", T_MODE, + N_("File mode to use for the I/O log files: 0%o"), + NULL, + }, { + "fdexec", T_TUPLE|T_BOOL, + N_("Execute commands by file descriptor instead of by path: %s"), + def_data_fdexec, + }, { + "ignore_unknown_defaults", T_FLAG, + N_("Ignore unknown Defaults entries in sudoers instead of producing a warning"), + NULL, + }, { + "command_timeout", T_TIMEOUT|T_BOOL, + N_("Time in seconds after which the command will be terminated: %u"), + NULL, + }, { + "user_command_timeouts", T_FLAG, + N_("Allow the user to specify a timeout on the command line"), + NULL, + }, { + "iolog_flush", T_FLAG, + N_("Flush I/O log data to disk immediately instead of buffering it"), + NULL, + }, { + "syslog_pid", T_FLAG, + N_("Include the process ID when logging via syslog"), + NULL, + }, { + "timestamp_type", T_TUPLE, + N_("Type of authentication timestamp record: %s"), + def_data_timestamp_type, + }, { + "authfail_message", T_STR, + N_("Authentication failure message: %s"), + NULL, + }, { + "case_insensitive_user", T_FLAG, + N_("Ignore case when matching user names"), + NULL, + }, { + "case_insensitive_group", T_FLAG, + N_("Ignore case when matching group names"), + NULL, + }, { + "log_allowed", T_FLAG, + N_("Log when a command is allowed by sudoers"), + NULL, + }, { + "log_denied", T_FLAG, + N_("Log when a command is denied by sudoers"), + NULL, + }, { + "log_servers", T_LIST|T_BOOL, + N_("Sudo log server(s) to connect to with optional port"), + NULL, + }, { + "log_server_timeout", T_TIMEOUT|T_BOOL, + N_("Sudo log server timeout in seconds: %u"), + NULL, + }, { + "log_server_keepalive", T_FLAG, + N_("Enable SO_KEEPALIVE socket option on the socket connected to the logserver"), + NULL, + }, { + "log_server_cabundle", T_STR|T_BOOL|T_PATH, + N_("Path to the audit server's CA bundle file: %s"), + NULL, + }, { + "log_server_peer_cert", T_STR|T_BOOL|T_PATH, + N_("Path to the sudoers certificate file: %s"), + NULL, + }, { + "log_server_peer_key", T_STR|T_BOOL|T_PATH, + N_("Path to the sudoers private key file: %s"), + NULL, + }, { + "log_server_verify", T_FLAG, + N_("Verify that the log server's certificate is valid"), + NULL, + }, { + "runas_allow_unknown_id", T_FLAG, + N_("Allow the use of unknown runas user and/or group ID"), + NULL, + }, { + "runas_check_shell", T_FLAG, + N_("Only permit running commands as a user with a valid shell"), + NULL, + }, { + "pam_ruser", T_FLAG, + N_("Set the pam remote user to the user running sudo"), + NULL, + }, { + "pam_rhost", T_FLAG, + N_("Set the pam remote host to the local host name"), + NULL, + }, { + "runcwd", T_STR|T_BOOL|T_CHPATH, + N_("Working directory to change to before executing the command: %s"), + NULL, + }, { + "runchroot", T_STR|T_BOOL|T_CHPATH, + N_("Root directory to change to before executing the command: %s"), + NULL, + }, { + "log_format", T_TUPLE, + N_("The format of logs to produce: %s"), + def_data_log_format, + }, { + "selinux", T_FLAG, + N_("Enable SELinux RBAC support"), + NULL, + }, { + "admin_flag", T_STR|T_BOOL|T_CHPATH, + N_("Path to the file that is created the first time sudo is run: %s"), + NULL, + }, { + "intercept", T_FLAG, + N_("Intercept further commands and apply sudoers restrictions to them"), + NULL, + }, { + "log_subcmds", T_FLAG, + N_("Log sub-commands run by the original command"), + NULL, + }, { + "log_exit_status", T_FLAG, + N_("Log the exit status of commands"), + NULL, + }, { + "intercept_authenticate", T_FLAG, + N_("Subsequent commands in an intercepted session must be authenticated"), + NULL, + }, { + "intercept_allow_setid", T_FLAG, + N_("Allow an intercepted command to run set setuid or setgid programs"), + NULL, + }, { + "rlimit_as", T_RLIMIT|T_BOOL, + N_("The maximum size to which the process's address space may grow (in bytes): %s"), + NULL, + }, { + "rlimit_core", T_RLIMIT|T_BOOL, + N_("The largest size core dump file that may be created (in bytes): %s"), + NULL, + }, { + "rlimit_cpu", T_RLIMIT|T_BOOL, + N_("The maximum amount of CPU time that the process may use (in seconds): %s"), + NULL, + }, { + "rlimit_data", T_RLIMIT|T_BOOL, + N_("The maximum size of the data segment for the process (in bytes): %s"), + NULL, + }, { + "rlimit_fsize", T_RLIMIT|T_BOOL, + N_("The largest size file that the process may create (in bytes): %s"), + NULL, + }, { + "rlimit_locks", T_RLIMIT|T_BOOL, + N_("The maximum number of locks that the process may establish: %s"), + NULL, + }, { + "rlimit_memlock", T_RLIMIT|T_BOOL, + N_("The maximum size that the process may lock in memory (in bytes): %s"), + NULL, + }, { + "rlimit_nofile", T_RLIMIT|T_BOOL, + N_("The maximum number of files that the process may have open: %s"), + NULL, + }, { + "rlimit_nproc", T_RLIMIT|T_BOOL, + N_("The maximum number of processes that the user may run simultaneously: %s"), + NULL, + }, { + "rlimit_rss", T_RLIMIT|T_BOOL, + N_("The maximum size to which the process's resident set size may grow (in bytes): %s"), + NULL, + }, { + "rlimit_stack", T_RLIMIT|T_BOOL, + N_("The maximum size to which the process's stack may grow (in bytes): %s"), + NULL, + }, { + "noninteractive_auth", T_FLAG, + N_("Attempt authentication even when in non-interactive mode"), + NULL, + }, { + "log_passwords", T_FLAG, + N_("Store plaintext passwords in I/O log input"), + NULL, + }, { + "passprompt_regex", T_LIST|T_SPACE|T_BOOL, + N_("List of regular expressions to use when matching a password prompt"), + NULL, + }, { + "intercept_type", T_TUPLE, + N_("The mechanism used by the intercept and log_subcmds options: %s"), + def_data_intercept_type, + }, { + "intercept_verify", T_FLAG, + N_("Attempt to verify the command and arguments after execution"), + NULL, + }, { + "apparmor_profile", T_STR, + N_("AppArmor profile to use in the new security context: %s"), + NULL, + }, { + NULL, 0, NULL + } +}; diff --git a/plugins/sudoers/def_data.h b/plugins/sudoers/def_data.h new file mode 100644 index 0000000..5c244a4 --- /dev/null +++ b/plugins/sudoers/def_data.h @@ -0,0 +1,341 @@ +/* generated file, do not edit */ + +#define I_SYSLOG 0 +#define def_syslog (sudo_defs_table[I_SYSLOG].sd_un.ival) +#define I_SYSLOG_GOODPRI 1 +#define def_syslog_goodpri (sudo_defs_table[I_SYSLOG_GOODPRI].sd_un.ival) +#define I_SYSLOG_BADPRI 2 +#define def_syslog_badpri (sudo_defs_table[I_SYSLOG_BADPRI].sd_un.ival) +#define I_LONG_OTP_PROMPT 3 +#define def_long_otp_prompt (sudo_defs_table[I_LONG_OTP_PROMPT].sd_un.flag) +#define I_IGNORE_DOT 4 +#define def_ignore_dot (sudo_defs_table[I_IGNORE_DOT].sd_un.flag) +#define I_MAIL_ALWAYS 5 +#define def_mail_always (sudo_defs_table[I_MAIL_ALWAYS].sd_un.flag) +#define I_MAIL_BADPASS 6 +#define def_mail_badpass (sudo_defs_table[I_MAIL_BADPASS].sd_un.flag) +#define I_MAIL_NO_USER 7 +#define def_mail_no_user (sudo_defs_table[I_MAIL_NO_USER].sd_un.flag) +#define I_MAIL_NO_HOST 8 +#define def_mail_no_host (sudo_defs_table[I_MAIL_NO_HOST].sd_un.flag) +#define I_MAIL_NO_PERMS 9 +#define def_mail_no_perms (sudo_defs_table[I_MAIL_NO_PERMS].sd_un.flag) +#define I_MAIL_ALL_CMNDS 10 +#define def_mail_all_cmnds (sudo_defs_table[I_MAIL_ALL_CMNDS].sd_un.flag) +#define I_TTY_TICKETS 11 +#define def_tty_tickets (sudo_defs_table[I_TTY_TICKETS].sd_un.flag) +#define I_LECTURE 12 +#define def_lecture (sudo_defs_table[I_LECTURE].sd_un.tuple) +#define I_LECTURE_FILE 13 +#define def_lecture_file (sudo_defs_table[I_LECTURE_FILE].sd_un.str) +#define I_AUTHENTICATE 14 +#define def_authenticate (sudo_defs_table[I_AUTHENTICATE].sd_un.flag) +#define I_ROOT_SUDO 15 +#define def_root_sudo (sudo_defs_table[I_ROOT_SUDO].sd_un.flag) +#define I_LOG_HOST 16 +#define def_log_host (sudo_defs_table[I_LOG_HOST].sd_un.flag) +#define I_LOG_YEAR 17 +#define def_log_year (sudo_defs_table[I_LOG_YEAR].sd_un.flag) +#define I_SHELL_NOARGS 18 +#define def_shell_noargs (sudo_defs_table[I_SHELL_NOARGS].sd_un.flag) +#define I_SET_HOME 19 +#define def_set_home (sudo_defs_table[I_SET_HOME].sd_un.flag) +#define I_ALWAYS_SET_HOME 20 +#define def_always_set_home (sudo_defs_table[I_ALWAYS_SET_HOME].sd_un.flag) +#define I_PATH_INFO 21 +#define def_path_info (sudo_defs_table[I_PATH_INFO].sd_un.flag) +#define I_FQDN 22 +#define def_fqdn (sudo_defs_table[I_FQDN].sd_un.flag) +#define I_INSULTS 23 +#define def_insults (sudo_defs_table[I_INSULTS].sd_un.flag) +#define I_REQUIRETTY 24 +#define def_requiretty (sudo_defs_table[I_REQUIRETTY].sd_un.flag) +#define I_ENV_EDITOR 25 +#define def_env_editor (sudo_defs_table[I_ENV_EDITOR].sd_un.flag) +#define I_ROOTPW 26 +#define def_rootpw (sudo_defs_table[I_ROOTPW].sd_un.flag) +#define I_RUNASPW 27 +#define def_runaspw (sudo_defs_table[I_RUNASPW].sd_un.flag) +#define I_TARGETPW 28 +#define def_targetpw (sudo_defs_table[I_TARGETPW].sd_un.flag) +#define I_USE_LOGINCLASS 29 +#define def_use_loginclass (sudo_defs_table[I_USE_LOGINCLASS].sd_un.flag) +#define I_SET_LOGNAME 30 +#define def_set_logname (sudo_defs_table[I_SET_LOGNAME].sd_un.flag) +#define I_STAY_SETUID 31 +#define def_stay_setuid (sudo_defs_table[I_STAY_SETUID].sd_un.flag) +#define I_PRESERVE_GROUPS 32 +#define def_preserve_groups (sudo_defs_table[I_PRESERVE_GROUPS].sd_un.flag) +#define I_LOGLINELEN 33 +#define def_loglinelen (sudo_defs_table[I_LOGLINELEN].sd_un.uival) +#define I_TIMESTAMP_TIMEOUT 34 +#define def_timestamp_timeout (sudo_defs_table[I_TIMESTAMP_TIMEOUT].sd_un.tspec) +#define I_PASSWD_TIMEOUT 35 +#define def_passwd_timeout (sudo_defs_table[I_PASSWD_TIMEOUT].sd_un.tspec) +#define I_PASSWD_TRIES 36 +#define def_passwd_tries (sudo_defs_table[I_PASSWD_TRIES].sd_un.uival) +#define I_UMASK 37 +#define def_umask (sudo_defs_table[I_UMASK].sd_un.mode) +#define I_LOGFILE 38 +#define def_logfile (sudo_defs_table[I_LOGFILE].sd_un.str) +#define I_MAILERPATH 39 +#define def_mailerpath (sudo_defs_table[I_MAILERPATH].sd_un.str) +#define I_MAILERFLAGS 40 +#define def_mailerflags (sudo_defs_table[I_MAILERFLAGS].sd_un.str) +#define I_MAILTO 41 +#define def_mailto (sudo_defs_table[I_MAILTO].sd_un.str) +#define I_MAILFROM 42 +#define def_mailfrom (sudo_defs_table[I_MAILFROM].sd_un.str) +#define I_MAILSUB 43 +#define def_mailsub (sudo_defs_table[I_MAILSUB].sd_un.str) +#define I_BADPASS_MESSAGE 44 +#define def_badpass_message (sudo_defs_table[I_BADPASS_MESSAGE].sd_un.str) +#define I_LECTURE_STATUS_DIR 45 +#define def_lecture_status_dir (sudo_defs_table[I_LECTURE_STATUS_DIR].sd_un.str) +#define I_TIMESTAMPDIR 46 +#define def_timestampdir (sudo_defs_table[I_TIMESTAMPDIR].sd_un.str) +#define I_TIMESTAMPOWNER 47 +#define def_timestampowner (sudo_defs_table[I_TIMESTAMPOWNER].sd_un.str) +#define I_EXEMPT_GROUP 48 +#define def_exempt_group (sudo_defs_table[I_EXEMPT_GROUP].sd_un.str) +#define I_PASSPROMPT 49 +#define def_passprompt (sudo_defs_table[I_PASSPROMPT].sd_un.str) +#define I_PASSPROMPT_OVERRIDE 50 +#define def_passprompt_override (sudo_defs_table[I_PASSPROMPT_OVERRIDE].sd_un.flag) +#define I_RUNAS_DEFAULT 51 +#define def_runas_default (sudo_defs_table[I_RUNAS_DEFAULT].sd_un.str) +#define I_SECURE_PATH 52 +#define def_secure_path (sudo_defs_table[I_SECURE_PATH].sd_un.str) +#define I_EDITOR 53 +#define def_editor (sudo_defs_table[I_EDITOR].sd_un.str) +#define I_LISTPW 54 +#define def_listpw (sudo_defs_table[I_LISTPW].sd_un.tuple) +#define I_VERIFYPW 55 +#define def_verifypw (sudo_defs_table[I_VERIFYPW].sd_un.tuple) +#define I_NOEXEC 56 +#define def_noexec (sudo_defs_table[I_NOEXEC].sd_un.flag) +#define I_IGNORE_LOCAL_SUDOERS 57 +#define def_ignore_local_sudoers (sudo_defs_table[I_IGNORE_LOCAL_SUDOERS].sd_un.flag) +#define I_CLOSEFROM 58 +#define def_closefrom (sudo_defs_table[I_CLOSEFROM].sd_un.ival) +#define I_CLOSEFROM_OVERRIDE 59 +#define def_closefrom_override (sudo_defs_table[I_CLOSEFROM_OVERRIDE].sd_un.flag) +#define I_SETENV 60 +#define def_setenv (sudo_defs_table[I_SETENV].sd_un.flag) +#define I_ENV_RESET 61 +#define def_env_reset (sudo_defs_table[I_ENV_RESET].sd_un.flag) +#define I_ENV_CHECK 62 +#define def_env_check (sudo_defs_table[I_ENV_CHECK].sd_un.list) +#define I_ENV_DELETE 63 +#define def_env_delete (sudo_defs_table[I_ENV_DELETE].sd_un.list) +#define I_ENV_KEEP 64 +#define def_env_keep (sudo_defs_table[I_ENV_KEEP].sd_un.list) +#define I_ROLE 65 +#define def_role (sudo_defs_table[I_ROLE].sd_un.str) +#define I_TYPE 66 +#define def_type (sudo_defs_table[I_TYPE].sd_un.str) +#define I_ENV_FILE 67 +#define def_env_file (sudo_defs_table[I_ENV_FILE].sd_un.str) +#define I_RESTRICTED_ENV_FILE 68 +#define def_restricted_env_file (sudo_defs_table[I_RESTRICTED_ENV_FILE].sd_un.str) +#define I_SUDOERS_LOCALE 69 +#define def_sudoers_locale (sudo_defs_table[I_SUDOERS_LOCALE].sd_un.str) +#define I_VISIBLEPW 70 +#define def_visiblepw (sudo_defs_table[I_VISIBLEPW].sd_un.flag) +#define I_PWFEEDBACK 71 +#define def_pwfeedback (sudo_defs_table[I_PWFEEDBACK].sd_un.flag) +#define I_FAST_GLOB 72 +#define def_fast_glob (sudo_defs_table[I_FAST_GLOB].sd_un.flag) +#define I_UMASK_OVERRIDE 73 +#define def_umask_override (sudo_defs_table[I_UMASK_OVERRIDE].sd_un.flag) +#define I_LOG_INPUT 74 +#define def_log_input (sudo_defs_table[I_LOG_INPUT].sd_un.flag) +#define I_LOG_STDIN 75 +#define def_log_stdin (sudo_defs_table[I_LOG_STDIN].sd_un.flag) +#define I_LOG_TTYIN 76 +#define def_log_ttyin (sudo_defs_table[I_LOG_TTYIN].sd_un.flag) +#define I_LOG_OUTPUT 77 +#define def_log_output (sudo_defs_table[I_LOG_OUTPUT].sd_un.flag) +#define I_LOG_STDOUT 78 +#define def_log_stdout (sudo_defs_table[I_LOG_STDOUT].sd_un.flag) +#define I_LOG_STDERR 79 +#define def_log_stderr (sudo_defs_table[I_LOG_STDERR].sd_un.flag) +#define I_LOG_TTYOUT 80 +#define def_log_ttyout (sudo_defs_table[I_LOG_TTYOUT].sd_un.flag) +#define I_COMPRESS_IO 81 +#define def_compress_io (sudo_defs_table[I_COMPRESS_IO].sd_un.flag) +#define I_USE_PTY 82 +#define def_use_pty (sudo_defs_table[I_USE_PTY].sd_un.flag) +#define I_GROUP_PLUGIN 83 +#define def_group_plugin (sudo_defs_table[I_GROUP_PLUGIN].sd_un.str) +#define I_IOLOG_DIR 84 +#define def_iolog_dir (sudo_defs_table[I_IOLOG_DIR].sd_un.str) +#define I_IOLOG_FILE 85 +#define def_iolog_file (sudo_defs_table[I_IOLOG_FILE].sd_un.str) +#define I_SET_UTMP 86 +#define def_set_utmp (sudo_defs_table[I_SET_UTMP].sd_un.flag) +#define I_UTMP_RUNAS 87 +#define def_utmp_runas (sudo_defs_table[I_UTMP_RUNAS].sd_un.flag) +#define I_PRIVS 88 +#define def_privs (sudo_defs_table[I_PRIVS].sd_un.str) +#define I_LIMITPRIVS 89 +#define def_limitprivs (sudo_defs_table[I_LIMITPRIVS].sd_un.str) +#define I_EXEC_BACKGROUND 90 +#define def_exec_background (sudo_defs_table[I_EXEC_BACKGROUND].sd_un.flag) +#define I_PAM_SERVICE 91 +#define def_pam_service (sudo_defs_table[I_PAM_SERVICE].sd_un.str) +#define I_PAM_LOGIN_SERVICE 92 +#define def_pam_login_service (sudo_defs_table[I_PAM_LOGIN_SERVICE].sd_un.str) +#define I_PAM_ASKPASS_SERVICE 93 +#define def_pam_askpass_service (sudo_defs_table[I_PAM_ASKPASS_SERVICE].sd_un.str) +#define I_PAM_SETCRED 94 +#define def_pam_setcred (sudo_defs_table[I_PAM_SETCRED].sd_un.flag) +#define I_PAM_SESSION 95 +#define def_pam_session (sudo_defs_table[I_PAM_SESSION].sd_un.flag) +#define I_PAM_ACCT_MGMT 96 +#define def_pam_acct_mgmt (sudo_defs_table[I_PAM_ACCT_MGMT].sd_un.flag) +#define I_MAXSEQ 97 +#define def_maxseq (sudo_defs_table[I_MAXSEQ].sd_un.str) +#define I_USE_NETGROUPS 98 +#define def_use_netgroups (sudo_defs_table[I_USE_NETGROUPS].sd_un.flag) +#define I_SUDOEDIT_CHECKDIR 99 +#define def_sudoedit_checkdir (sudo_defs_table[I_SUDOEDIT_CHECKDIR].sd_un.flag) +#define I_SUDOEDIT_FOLLOW 100 +#define def_sudoedit_follow (sudo_defs_table[I_SUDOEDIT_FOLLOW].sd_un.flag) +#define I_ALWAYS_QUERY_GROUP_PLUGIN 101 +#define def_always_query_group_plugin (sudo_defs_table[I_ALWAYS_QUERY_GROUP_PLUGIN].sd_un.flag) +#define I_NETGROUP_TUPLE 102 +#define def_netgroup_tuple (sudo_defs_table[I_NETGROUP_TUPLE].sd_un.flag) +#define I_IGNORE_AUDIT_ERRORS 103 +#define def_ignore_audit_errors (sudo_defs_table[I_IGNORE_AUDIT_ERRORS].sd_un.flag) +#define I_IGNORE_IOLOG_ERRORS 104 +#define def_ignore_iolog_errors (sudo_defs_table[I_IGNORE_IOLOG_ERRORS].sd_un.flag) +#define I_IGNORE_LOGFILE_ERRORS 105 +#define def_ignore_logfile_errors (sudo_defs_table[I_IGNORE_LOGFILE_ERRORS].sd_un.flag) +#define I_MATCH_GROUP_BY_GID 106 +#define def_match_group_by_gid (sudo_defs_table[I_MATCH_GROUP_BY_GID].sd_un.flag) +#define I_SYSLOG_MAXLEN 107 +#define def_syslog_maxlen (sudo_defs_table[I_SYSLOG_MAXLEN].sd_un.uival) +#define I_IOLOG_USER 108 +#define def_iolog_user (sudo_defs_table[I_IOLOG_USER].sd_un.str) +#define I_IOLOG_GROUP 109 +#define def_iolog_group (sudo_defs_table[I_IOLOG_GROUP].sd_un.str) +#define I_IOLOG_MODE 110 +#define def_iolog_mode (sudo_defs_table[I_IOLOG_MODE].sd_un.mode) +#define I_FDEXEC 111 +#define def_fdexec (sudo_defs_table[I_FDEXEC].sd_un.tuple) +#define I_IGNORE_UNKNOWN_DEFAULTS 112 +#define def_ignore_unknown_defaults (sudo_defs_table[I_IGNORE_UNKNOWN_DEFAULTS].sd_un.flag) +#define I_COMMAND_TIMEOUT 113 +#define def_command_timeout (sudo_defs_table[I_COMMAND_TIMEOUT].sd_un.ival) +#define I_USER_COMMAND_TIMEOUTS 114 +#define def_user_command_timeouts (sudo_defs_table[I_USER_COMMAND_TIMEOUTS].sd_un.flag) +#define I_IOLOG_FLUSH 115 +#define def_iolog_flush (sudo_defs_table[I_IOLOG_FLUSH].sd_un.flag) +#define I_SYSLOG_PID 116 +#define def_syslog_pid (sudo_defs_table[I_SYSLOG_PID].sd_un.flag) +#define I_TIMESTAMP_TYPE 117 +#define def_timestamp_type (sudo_defs_table[I_TIMESTAMP_TYPE].sd_un.tuple) +#define I_AUTHFAIL_MESSAGE 118 +#define def_authfail_message (sudo_defs_table[I_AUTHFAIL_MESSAGE].sd_un.str) +#define I_CASE_INSENSITIVE_USER 119 +#define def_case_insensitive_user (sudo_defs_table[I_CASE_INSENSITIVE_USER].sd_un.flag) +#define I_CASE_INSENSITIVE_GROUP 120 +#define def_case_insensitive_group (sudo_defs_table[I_CASE_INSENSITIVE_GROUP].sd_un.flag) +#define I_LOG_ALLOWED 121 +#define def_log_allowed (sudo_defs_table[I_LOG_ALLOWED].sd_un.flag) +#define I_LOG_DENIED 122 +#define def_log_denied (sudo_defs_table[I_LOG_DENIED].sd_un.flag) +#define I_LOG_SERVERS 123 +#define def_log_servers (sudo_defs_table[I_LOG_SERVERS].sd_un.list) +#define I_LOG_SERVER_TIMEOUT 124 +#define def_log_server_timeout (sudo_defs_table[I_LOG_SERVER_TIMEOUT].sd_un.ival) +#define I_LOG_SERVER_KEEPALIVE 125 +#define def_log_server_keepalive (sudo_defs_table[I_LOG_SERVER_KEEPALIVE].sd_un.flag) +#define I_LOG_SERVER_CABUNDLE 126 +#define def_log_server_cabundle (sudo_defs_table[I_LOG_SERVER_CABUNDLE].sd_un.str) +#define I_LOG_SERVER_PEER_CERT 127 +#define def_log_server_peer_cert (sudo_defs_table[I_LOG_SERVER_PEER_CERT].sd_un.str) +#define I_LOG_SERVER_PEER_KEY 128 +#define def_log_server_peer_key (sudo_defs_table[I_LOG_SERVER_PEER_KEY].sd_un.str) +#define I_LOG_SERVER_VERIFY 129 +#define def_log_server_verify (sudo_defs_table[I_LOG_SERVER_VERIFY].sd_un.flag) +#define I_RUNAS_ALLOW_UNKNOWN_ID 130 +#define def_runas_allow_unknown_id (sudo_defs_table[I_RUNAS_ALLOW_UNKNOWN_ID].sd_un.flag) +#define I_RUNAS_CHECK_SHELL 131 +#define def_runas_check_shell (sudo_defs_table[I_RUNAS_CHECK_SHELL].sd_un.flag) +#define I_PAM_RUSER 132 +#define def_pam_ruser (sudo_defs_table[I_PAM_RUSER].sd_un.flag) +#define I_PAM_RHOST 133 +#define def_pam_rhost (sudo_defs_table[I_PAM_RHOST].sd_un.flag) +#define I_RUNCWD 134 +#define def_runcwd (sudo_defs_table[I_RUNCWD].sd_un.str) +#define I_RUNCHROOT 135 +#define def_runchroot (sudo_defs_table[I_RUNCHROOT].sd_un.str) +#define I_LOG_FORMAT 136 +#define def_log_format (sudo_defs_table[I_LOG_FORMAT].sd_un.tuple) +#define I_SELINUX 137 +#define def_selinux (sudo_defs_table[I_SELINUX].sd_un.flag) +#define I_ADMIN_FLAG 138 +#define def_admin_flag (sudo_defs_table[I_ADMIN_FLAG].sd_un.str) +#define I_INTERCEPT 139 +#define def_intercept (sudo_defs_table[I_INTERCEPT].sd_un.flag) +#define I_LOG_SUBCMDS 140 +#define def_log_subcmds (sudo_defs_table[I_LOG_SUBCMDS].sd_un.flag) +#define I_LOG_EXIT_STATUS 141 +#define def_log_exit_status (sudo_defs_table[I_LOG_EXIT_STATUS].sd_un.flag) +#define I_INTERCEPT_AUTHENTICATE 142 +#define def_intercept_authenticate (sudo_defs_table[I_INTERCEPT_AUTHENTICATE].sd_un.flag) +#define I_INTERCEPT_ALLOW_SETID 143 +#define def_intercept_allow_setid (sudo_defs_table[I_INTERCEPT_ALLOW_SETID].sd_un.flag) +#define I_RLIMIT_AS 144 +#define def_rlimit_as (sudo_defs_table[I_RLIMIT_AS].sd_un.str) +#define I_RLIMIT_CORE 145 +#define def_rlimit_core (sudo_defs_table[I_RLIMIT_CORE].sd_un.str) +#define I_RLIMIT_CPU 146 +#define def_rlimit_cpu (sudo_defs_table[I_RLIMIT_CPU].sd_un.str) +#define I_RLIMIT_DATA 147 +#define def_rlimit_data (sudo_defs_table[I_RLIMIT_DATA].sd_un.str) +#define I_RLIMIT_FSIZE 148 +#define def_rlimit_fsize (sudo_defs_table[I_RLIMIT_FSIZE].sd_un.str) +#define I_RLIMIT_LOCKS 149 +#define def_rlimit_locks (sudo_defs_table[I_RLIMIT_LOCKS].sd_un.str) +#define I_RLIMIT_MEMLOCK 150 +#define def_rlimit_memlock (sudo_defs_table[I_RLIMIT_MEMLOCK].sd_un.str) +#define I_RLIMIT_NOFILE 151 +#define def_rlimit_nofile (sudo_defs_table[I_RLIMIT_NOFILE].sd_un.str) +#define I_RLIMIT_NPROC 152 +#define def_rlimit_nproc (sudo_defs_table[I_RLIMIT_NPROC].sd_un.str) +#define I_RLIMIT_RSS 153 +#define def_rlimit_rss (sudo_defs_table[I_RLIMIT_RSS].sd_un.str) +#define I_RLIMIT_STACK 154 +#define def_rlimit_stack (sudo_defs_table[I_RLIMIT_STACK].sd_un.str) +#define I_NONINTERACTIVE_AUTH 155 +#define def_noninteractive_auth (sudo_defs_table[I_NONINTERACTIVE_AUTH].sd_un.flag) +#define I_LOG_PASSWORDS 156 +#define def_log_passwords (sudo_defs_table[I_LOG_PASSWORDS].sd_un.flag) +#define I_PASSPROMPT_REGEX 157 +#define def_passprompt_regex (sudo_defs_table[I_PASSPROMPT_REGEX].sd_un.list) +#define I_INTERCEPT_TYPE 158 +#define def_intercept_type (sudo_defs_table[I_INTERCEPT_TYPE].sd_un.tuple) +#define I_INTERCEPT_VERIFY 159 +#define def_intercept_verify (sudo_defs_table[I_INTERCEPT_VERIFY].sd_un.flag) +#define I_APPARMOR_PROFILE 160 +#define def_apparmor_profile (sudo_defs_table[I_APPARMOR_PROFILE].sd_un.str) + +enum def_tuple { + never, + once, + always, + any, + all, + digest_only, + global, + ppid, + tty, + kernel, + sudo, + json, + dso, + trace +}; diff --git a/plugins/sudoers/def_data.in b/plugins/sudoers/def_data.in new file mode 100644 index 0000000..4d627e6 --- /dev/null +++ b/plugins/sudoers/def_data.in @@ -0,0 +1,502 @@ +# +# Format: +# +# var_name +# TYPE +# description (or NULL) +# array of struct def_values if TYPE == T_TUPLE +# +# NOTE: for tuples that can be used in a boolean context the first +# value corresponds to boolean FALSE and the second to TRUE. +# + +syslog + T_LOGFAC|T_BOOL + "Syslog facility if syslog is being used for logging: %s" +syslog_goodpri + T_LOGPRI|T_BOOL + "Syslog priority to use when user authenticates successfully: %s" +syslog_badpri + T_LOGPRI|T_BOOL + "Syslog priority to use when user authenticates unsuccessfully: %s" +long_otp_prompt + T_FLAG + "Put OTP prompt on its own line" +ignore_dot + T_FLAG + "Ignore '.' in $PATH" +mail_always + T_FLAG + "Always send mail when sudo is run" +mail_badpass + T_FLAG + "Send mail if user authentication fails" +mail_no_user + T_FLAG + "Send mail if the user is not in sudoers" +mail_no_host + T_FLAG + "Send mail if the user is not in sudoers for this host" +mail_no_perms + T_FLAG + "Send mail if the user is not allowed to run a command" +mail_all_cmnds + T_FLAG + "Send mail if the user tries to run a command" +tty_tickets + T_FLAG + "Use a separate timestamp for each user/tty combo" +lecture + T_TUPLE|T_BOOL + "Lecture user the first time they run sudo" + never once always +lecture_file + T_STR|T_PATH|T_BOOL + "File containing the sudo lecture: %s" +authenticate + T_FLAG + "Require users to authenticate by default" +root_sudo + T_FLAG + "Root may run sudo" +log_host + T_FLAG + "Log the hostname in the (non-syslog) log file" +log_year + T_FLAG + "Log the year in the (non-syslog) log file" +shell_noargs + T_FLAG + "If sudo is invoked with no arguments, start a shell" +set_home + T_FLAG + "Set $HOME to the target user when starting a shell with -s" +always_set_home + T_FLAG + "Always set $HOME to the target user's home directory" +path_info + T_FLAG + "Allow some information gathering to give useful error messages" +fqdn + T_FLAG + "Require fully-qualified hostnames in the sudoers file" +insults + T_FLAG + "Insult the user when they enter an incorrect password" +requiretty + T_FLAG + "Only allow the user to run sudo if they have a tty" +env_editor + T_FLAG + "Visudo will honor the EDITOR environment variable" +rootpw + T_FLAG + "Prompt for root's password, not the users's" +runaspw + T_FLAG + "Prompt for the runas_default user's password, not the users's" +targetpw + T_FLAG + "Prompt for the target user's password, not the users's" +use_loginclass + T_FLAG + "Apply defaults in the target user's login class if there is one" +set_logname + T_FLAG + "Set the LOGNAME and USER environment variables" +stay_setuid + T_FLAG + "Only set the effective uid to the target user, not the real uid" +preserve_groups + T_FLAG + "Don't initialize the group vector to that of the target user" +loglinelen + T_UINT|T_BOOL + "Length at which to wrap log file lines (0 for no wrap): %u" +timestamp_timeout + T_TIMESPEC|T_BOOL + "Authentication timestamp timeout: %.1f minutes" +passwd_timeout + T_TIMESPEC|T_BOOL + "Password prompt timeout: %.1f minutes" +passwd_tries + T_UINT + "Number of tries to enter a password: %u" +umask + T_MODE|T_BOOL + "Umask to use or 0777 to use user's: 0%o" +logfile + T_STR|T_BOOL|T_PATH + "Path to log file: %s" +mailerpath + T_STR|T_BOOL|T_PATH + "Path to mail program: %s" +mailerflags + T_STR|T_BOOL + "Flags for mail program: %s" +mailto + T_STR|T_BOOL + "Address to send mail to: %s" +mailfrom + T_STR|T_BOOL + "Address to send mail from: %s" +mailsub + T_STR + "Subject line for mail messages: %s" +badpass_message + T_STR + "Incorrect password message: %s" +lecture_status_dir + T_STR|T_PATH + "Path to lecture status dir: %s" +timestampdir + T_STR|T_PATH + "Path to authentication timestamp dir: %s" +timestampowner + T_STR + "Owner of the authentication timestamp dir: %s" +exempt_group + T_STR|T_BOOL + "Users in this group are exempt from password and PATH requirements: %s" +passprompt + T_STR + "Default password prompt: %s" +passprompt_override + T_FLAG + "If set, passprompt will override system prompt in all cases." +runas_default + T_STR + "Default user to run commands as: %s" +secure_path + T_STR|T_BOOL + "Value to override user's $PATH with: %s" +editor + T_STR|T_PATH + "Path to the editor for use by visudo: %s" +listpw + T_TUPLE|T_BOOL + "When to require a password for 'list' pseudocommand: %s" + never any all always +verifypw + T_TUPLE|T_BOOL + "When to require a password for 'verify' pseudocommand: %s" + never all any always +noexec + T_FLAG + "Preload the sudo_noexec library which replaces the exec functions" +ignore_local_sudoers + T_FLAG + "If LDAP directory is up, do we ignore local sudoers file" +closefrom + T_INT + "File descriptors >= %d will be closed before executing a command" +closefrom_override + T_FLAG + "If set, users may override the value of "closefrom" with the -C option" +setenv + T_FLAG + "Allow users to set arbitrary environment variables" +env_reset + T_FLAG + "Reset the environment to a default set of variables" +env_check + T_LIST|T_BOOL + "Environment variables to check for safety:" +env_delete + T_LIST|T_BOOL + "Environment variables to remove:" +env_keep + T_LIST|T_BOOL + "Environment variables to preserve:" +role + T_STR + "SELinux role to use in the new security context: %s" +type + T_STR + "SELinux type to use in the new security context: %s" +env_file + T_STR|T_PATH|T_BOOL + "Path to the sudo-specific environment file: %s" +restricted_env_file + T_STR|T_PATH|T_BOOL + "Path to the restricted sudo-specific environment file: %s" +sudoers_locale + T_STR + "Locale to use while parsing sudoers: %s" +visiblepw + T_FLAG + "Allow sudo to prompt for a password even if it would be visible" +pwfeedback + T_FLAG + "Provide visual feedback at the password prompt when there is user input" +fast_glob + T_FLAG + "Use faster globbing that is less accurate but does not access the filesystem" +umask_override + T_FLAG + "The umask specified in sudoers will override the user's, even if it is more permissive" +log_input + T_FLAG + "Log user's input for the command being run" +log_stdin + T_FLAG + "Log the command's standard input if not connected to a terminal" +log_ttyin + T_FLAG + "Log the user's terminal input for the command being run" +log_output + T_FLAG + "Log the output of the command being run" +log_stdout + T_FLAG + "Log the command's standard output if not connected to a terminal" +log_stderr + T_FLAG + "Log the command's standard error if not connected to a terminal" +log_ttyout + T_FLAG + "Log the terminal output of the command being run" +compress_io + T_FLAG + "Compress I/O logs using zlib" +use_pty + T_FLAG + "Always run commands in a pseudo-tty" +group_plugin + T_STR + "Plugin for non-Unix group support: %s" +iolog_dir + T_STR|T_PATH + "Directory in which to store input/output logs: %s" +iolog_file + T_STR + "File in which to store the input/output log: %s" +set_utmp + T_FLAG + "Add an entry to the utmp/utmpx file when allocating a pty" +utmp_runas + T_FLAG + "Set the user in utmp to the runas user, not the invoking user" +privs + T_STR + "Set of permitted privileges: %s" +limitprivs + T_STR + "Set of limit privileges: %s" +exec_background + T_FLAG + "Run commands on a pty in the background" +pam_service + T_STR + "PAM service name to use: %s" +pam_login_service + T_STR + "PAM service name to use for login shells: %s" +pam_askpass_service + T_STR + "PAM service name to use when sudo is run with the -A option: %s" +pam_setcred + T_FLAG + "Attempt to establish PAM credentials for the target user" +pam_session + T_FLAG + "Create a new PAM session for the command to run in" +pam_acct_mgmt + T_FLAG + "Perform PAM account validation management" +maxseq + T_STR + "Maximum I/O log sequence number: %s" +use_netgroups + T_FLAG + "Enable sudoers netgroup support" +sudoedit_checkdir + T_FLAG + "Check parent directories for writability when editing files with sudoedit" +sudoedit_follow + T_FLAG + "Follow symbolic links when editing files with sudoedit" +always_query_group_plugin + T_FLAG + "Query the group plugin for unknown system groups" +netgroup_tuple + T_FLAG + "Match netgroups based on the entire tuple: user, host and domain" +ignore_audit_errors + T_FLAG + "Allow commands to be run even if sudo cannot write to the audit log" +ignore_iolog_errors + T_FLAG + "Allow commands to be run even if sudo cannot write to the I/O log" +ignore_logfile_errors + T_FLAG + "Allow commands to be run even if sudo cannot write to the log file" +match_group_by_gid + T_FLAG + "Resolve groups in sudoers and match on the group ID, not the name" +syslog_maxlen + T_UINT + "Log entries larger than this value will be split into multiple syslog messages: %u" +iolog_user + T_STR|T_BOOL + "User that will own the I/O log files: %s" +iolog_group + T_STR|T_BOOL + "Group that will own the I/O log files: %s" +iolog_mode + T_MODE + "File mode to use for the I/O log files: 0%o" +fdexec + T_TUPLE|T_BOOL + "Execute commands by file descriptor instead of by path: %s" + never digest_only always +ignore_unknown_defaults + T_FLAG + "Ignore unknown Defaults entries in sudoers instead of producing a warning" +command_timeout + T_TIMEOUT|T_BOOL + "Time in seconds after which the command will be terminated: %u" +user_command_timeouts + T_FLAG + "Allow the user to specify a timeout on the command line" +iolog_flush + T_FLAG + "Flush I/O log data to disk immediately instead of buffering it" +syslog_pid + T_FLAG + "Include the process ID when logging via syslog" +timestamp_type + T_TUPLE + "Type of authentication timestamp record: %s" + global ppid tty kernel +authfail_message + T_STR + "Authentication failure message: %s" +case_insensitive_user + T_FLAG + "Ignore case when matching user names" +case_insensitive_group + T_FLAG + "Ignore case when matching group names" +log_allowed + T_FLAG + "Log when a command is allowed by sudoers" +log_denied + T_FLAG + "Log when a command is denied by sudoers" +log_servers + T_LIST|T_BOOL + "Sudo log server(s) to connect to with optional port" +log_server_timeout + T_TIMEOUT|T_BOOL + "Sudo log server timeout in seconds: %u" +log_server_keepalive + T_FLAG + "Enable SO_KEEPALIVE socket option on the socket connected to the logserver" +log_server_cabundle + T_STR|T_BOOL|T_PATH + "Path to the audit server's CA bundle file: %s" +log_server_peer_cert + T_STR|T_BOOL|T_PATH + "Path to the sudoers certificate file: %s" +log_server_peer_key + T_STR|T_BOOL|T_PATH + "Path to the sudoers private key file: %s" +log_server_verify + T_FLAG + "Verify that the log server's certificate is valid" +runas_allow_unknown_id + T_FLAG + "Allow the use of unknown runas user and/or group ID" +runas_check_shell + T_FLAG + "Only permit running commands as a user with a valid shell" +pam_ruser + T_FLAG + "Set the pam remote user to the user running sudo" +pam_rhost + T_FLAG + "Set the pam remote host to the local host name" +runcwd + T_STR|T_BOOL|T_CHPATH + "Working directory to change to before executing the command: %s" +runchroot + T_STR|T_BOOL|T_CHPATH + "Root directory to change to before executing the command: %s" +log_format + T_TUPLE + "The format of logs to produce: %s" + sudo json +selinux + T_FLAG + "Enable SELinux RBAC support" +admin_flag + T_STR|T_BOOL|T_CHPATH + "Path to the file that is created the first time sudo is run: %s" +intercept + T_FLAG + "Intercept further commands and apply sudoers restrictions to them" +log_subcmds + T_FLAG + "Log sub-commands run by the original command" +log_exit_status + T_FLAG + "Log the exit status of commands" +intercept_authenticate + T_FLAG + "Subsequent commands in an intercepted session must be authenticated" +intercept_allow_setid + T_FLAG + "Allow an intercepted command to run set setuid or setgid programs" +rlimit_as + T_RLIMIT|T_BOOL + "The maximum size to which the process's address space may grow (in bytes): %s" +rlimit_core + T_RLIMIT|T_BOOL + "The largest size core dump file that may be created (in bytes): %s" +rlimit_cpu + T_RLIMIT|T_BOOL + "The maximum amount of CPU time that the process may use (in seconds): %s" +rlimit_data + T_RLIMIT|T_BOOL + "The maximum size of the data segment for the process (in bytes): %s" +rlimit_fsize + T_RLIMIT|T_BOOL + "The largest size file that the process may create (in bytes): %s" +rlimit_locks + T_RLIMIT|T_BOOL + "The maximum number of locks that the process may establish: %s" +rlimit_memlock + T_RLIMIT|T_BOOL + "The maximum size that the process may lock in memory (in bytes): %s" +rlimit_nofile + T_RLIMIT|T_BOOL + "The maximum number of files that the process may have open: %s" +rlimit_nproc + T_RLIMIT|T_BOOL + "The maximum number of processes that the user may run simultaneously: %s" +rlimit_rss + T_RLIMIT|T_BOOL + "The maximum size to which the process's resident set size may grow (in bytes): %s" +rlimit_stack + T_RLIMIT|T_BOOL + "The maximum size to which the process's stack may grow (in bytes): %s" +noninteractive_auth + T_FLAG + "Attempt authentication even when in non-interactive mode" +log_passwords + T_FLAG + "Store plaintext passwords in I/O log input" +passprompt_regex + T_LIST|T_SPACE|T_BOOL + "List of regular expressions to use when matching a password prompt" +intercept_type + T_TUPLE + "The mechanism used by the intercept and log_subcmds options: %s" + dso trace +intercept_verify + T_FLAG + "Attempt to verify the command and arguments after execution" +apparmor_profile + T_STR + "AppArmor profile to use in the new security context: %s" diff --git a/plugins/sudoers/defaults.c b/plugins/sudoers/defaults.c new file mode 100644 index 0000000..e90be1f --- /dev/null +++ b/plugins/sudoers/defaults.c @@ -0,0 +1,1288 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1999-2005, 2007-2022 + * Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Sponsored in part by the Defense Advanced Research Projects + * Agency (DARPA) and Air Force Research Laboratory, Air Force + * Materiel Command, USAF, under agreement number F39502-99-1-0512. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "sudoers.h" +#include "sudo_eventlog.h" +#include "sudo_iolog.h" +#include + +static struct early_default early_defaults[] = { + { I_IGNORE_UNKNOWN_DEFAULTS }, +#ifdef FQDN + { I_FQDN, true }, +#else + { I_FQDN }, +#endif + { I_MATCH_GROUP_BY_GID }, + { I_GROUP_PLUGIN }, + { I_RUNAS_DEFAULT }, + { I_SUDOERS_LOCALE }, + { -1 } +}; + +/* + * Local prototypes. + */ +static bool store_int(const char *str, struct sudo_defs_types *def); +static bool store_list(const char *str, struct sudo_defs_types *def, int op); +static bool store_mode(const char *str, struct sudo_defs_types *def); +static int store_str(const char *str, struct sudo_defs_types *def); +static bool store_syslogfac(const char *str, struct sudo_defs_types *def); +static bool store_syslogpri(const char *str, struct sudo_defs_types *def); +static bool store_timeout(const char *str, struct sudo_defs_types *def); +static bool store_tuple(const char *str, struct sudo_defs_types *def); +static bool store_uint(const char *str, struct sudo_defs_types *def); +static bool store_timespec(const char *str, struct sudo_defs_types *def); +static bool store_rlimit(const char *str, struct sudo_defs_types *def); +static bool list_op(const char *str, size_t, struct list_members *list, enum list_ops op); +static bool valid_path(struct sudo_defs_types *def, const char *val, const char *file, int line, int column, bool quiet); +static bool defaults_warnx(const char *file, int line, int column, bool quiet, const char *fmt, ...) sudo_printflike(5, 6); + +/* + * Table describing compile-time and run-time options. + */ +#include + +/* + * Print version and configure info. + */ +void +dump_defaults(void) +{ + struct sudo_defs_types *cur; + struct list_member *item; + struct def_values *def; + const char *desc; + debug_decl(dump_defaults, SUDOERS_DEBUG_DEFAULTS); + + for (cur = sudo_defs_table; cur->name; cur++) { + if (cur->desc) { + desc = _(cur->desc); + switch (cur->type & T_MASK) { + case T_FLAG: + if (cur->sd_un.flag) + sudo_printf(SUDO_CONV_INFO_MSG, "%s\n", desc); + break; + case T_STR: + case T_RLIMIT: + if (cur->sd_un.str) { + sudo_printf(SUDO_CONV_INFO_MSG, desc, cur->sd_un.str); + sudo_printf(SUDO_CONV_INFO_MSG, "\n"); + } + break; + case T_LOGFAC: + if (cur->sd_un.ival) { + sudo_printf(SUDO_CONV_INFO_MSG, desc, + sudo_logfac2str(cur->sd_un.ival)); + sudo_printf(SUDO_CONV_INFO_MSG, "\n"); + } + break; + case T_LOGPRI: + if (cur->sd_un.ival) { + sudo_printf(SUDO_CONV_INFO_MSG, desc, + sudo_logpri2str(cur->sd_un.ival)); + sudo_printf(SUDO_CONV_INFO_MSG, "\n"); + } + break; + case T_INT: + sudo_printf(SUDO_CONV_INFO_MSG, desc, cur->sd_un.ival); + sudo_printf(SUDO_CONV_INFO_MSG, "\n"); + break; + case T_UINT: + sudo_printf(SUDO_CONV_INFO_MSG, desc, cur->sd_un.uival); + sudo_printf(SUDO_CONV_INFO_MSG, "\n"); + break; + case T_TIMESPEC: { + /* display timespec in minutes as a double */ + double d = cur->sd_un.tspec.tv_sec + + (cur->sd_un.tspec.tv_nsec / 1000000000.0); + sudo_printf(SUDO_CONV_INFO_MSG, desc, d / 60.0); + sudo_printf(SUDO_CONV_INFO_MSG, "\n"); + break; + } + case T_MODE: + sudo_printf(SUDO_CONV_INFO_MSG, desc, cur->sd_un.mode); + sudo_printf(SUDO_CONV_INFO_MSG, "\n"); + break; + case T_LIST: + if (!SLIST_EMPTY(&cur->sd_un.list)) { + sudo_printf(SUDO_CONV_INFO_MSG, "%s\n", desc); + SLIST_FOREACH(item, &cur->sd_un.list, entries) { + sudo_printf(SUDO_CONV_INFO_MSG, + "\t%s\n", item->value); + } + } + break; + case T_TIMEOUT: + if (cur->sd_un.ival) { + sudo_printf(SUDO_CONV_INFO_MSG, desc, + cur->sd_un.ival); + sudo_printf(SUDO_CONV_INFO_MSG, "\n"); + } + break; + case T_TUPLE: + for (def = cur->values; def->sval; def++) { + if (cur->sd_un.tuple == def->nval) { + sudo_printf(SUDO_CONV_INFO_MSG, desc, def->sval); + break; + } + } + sudo_printf(SUDO_CONV_INFO_MSG, "\n"); + break; + } + } + } + debug_return; +} + +/* + * Find the index of the specified Defaults name in sudo_defs_table[] + * On success, returns the matching index or -1 on failure. + */ +static int +find_default(const char *name, const char *file, int line, int column, bool quiet) +{ + int i; + debug_decl(find_default, SUDOERS_DEBUG_DEFAULTS); + + for (i = 0; sudo_defs_table[i].name != NULL; i++) { + if (strcmp(name, sudo_defs_table[i].name) == 0) + debug_return_int(i); + } + if (!def_ignore_unknown_defaults) { + defaults_warnx(file, line, column, quiet, + N_("unknown defaults entry \"%s\""), name); + } + debug_return_int(-1); +} + +/* + * Parse a defaults entry, storing the parsed entry in sd_un. + * Returns true on success or false on failure. + */ +static bool +parse_default_entry(struct sudo_defs_types *def, const char *val, int op, + const char *file, int line, int column, bool quiet) +{ + int rc; + debug_decl(parse_default_entry, SUDOERS_DEBUG_DEFAULTS); + + if (file == NULL) + file = "front-end"; + + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: %s:%d:%d: %s=%s op=%d", + __func__, file, line, column, def->name, val ? val : "", op); + + /* + * If no value specified, the boolean flag must be set for non-flags. + * Only flags and tuples support boolean "true". + */ + if (val == NULL) { + switch (def->type & T_MASK) { + case T_FLAG: + break; + case T_TUPLE: + if (ISSET(def->type, T_BOOL)) + break; + FALLTHROUGH; + case T_LOGFAC: + if (op == true) { + /* Use default syslog facility if none specified. */ + val = LOGFAC; + } + break; + default: + if (!ISSET(def->type, T_BOOL) || op != false) { + defaults_warnx(file, line, column, quiet, + N_("no value specified for \"%s\""), def->name); + debug_return_bool(false); + } + } + } + + /* Only lists support append/remove. */ + if ((op == '+' || op == '-') && (def->type & T_MASK) != T_LIST) { + defaults_warnx(file, line, column, quiet, + N_("invalid operator \"%c=\" for \"%s\""), op, def->name); + debug_return_bool(false); + } + + switch (def->type & T_MASK) { + case T_LOGFAC: + rc = store_syslogfac(val, def); + break; + case T_LOGPRI: + rc = store_syslogpri(val, def); + break; + case T_STR: + if (val != NULL && ISSET(def->type, T_PATH|T_CHPATH)) { + if (!valid_path(def, val, file, line, column, quiet)) { + rc = -1; + break; + } + } + rc = store_str(val, def); + break; + case T_INT: + rc = store_int(val, def); + break; + case T_UINT: + rc = store_uint(val, def); + break; + case T_MODE: + rc = store_mode(val, def); + break; + case T_FLAG: + if (val != NULL) { + defaults_warnx(file, line, column, quiet, + N_("option \"%s\" does not take a value"), def->name); + rc = -1; + break; + } + def->sd_un.flag = op; + rc = true; + break; + case T_LIST: + rc = store_list(val, def, op); + break; + case T_TIMEOUT: + rc = store_timeout(val, def); + break; + case T_TUPLE: + rc = store_tuple(val, def); + break; + case T_TIMESPEC: + rc = store_timespec(val, def); + break; + case T_RLIMIT: + rc = store_rlimit(val, def); + break; + default: + defaults_warnx(file, line, column, quiet, + N_("invalid Defaults type 0x%x for option \"%s\""), + def->type, def->name); + rc = -1; + break; + } + if (rc == false) { + defaults_warnx(file, line, column, quiet, + N_("value \"%s\" is invalid for option \"%s\""), val, def->name); + } + + debug_return_bool(rc == true); +} + +static struct early_default * +is_early_default(const char *name) +{ + struct early_default *early; + debug_decl(is_early_default, SUDOERS_DEBUG_DEFAULTS); + + for (early = early_defaults; early->idx != -1; early++) { + if (strcmp(name, sudo_defs_table[early->idx].name) == 0) + debug_return_ptr(early); + } + debug_return_ptr(NULL); +} + +static bool +run_callback(const char *file, int line, int column, + struct sudo_defs_types *def, int op) +{ + debug_decl(run_callback, SUDOERS_DEBUG_DEFAULTS); + + if (def->callback == NULL) + debug_return_bool(true); + debug_return_bool(def->callback(file, line, column, &def->sd_un, op)); +} + +/* + * Sets/clears an entry in the defaults structure. + * Runs the callback if present on success. + */ +bool +set_default(const char *var, const char *val, int op, const char *file, + int line, int column, bool quiet) +{ + int idx; + debug_decl(set_default, SUDOERS_DEBUG_DEFAULTS); + + sudo_debug_printf(SUDO_DEBUG_INFO|SUDO_DEBUG_LINENO, + "%s: setting Defaults %s -> %s", __func__, var, val ? val : "false"); + + idx = find_default(var, file, line, column, quiet); + if (idx != -1) { + /* Set parsed value in sudo_defs_table and run callback (if any). */ + struct sudo_defs_types *def = &sudo_defs_table[idx]; + if (parse_default_entry(def, val, op, file, line, column, quiet)) + debug_return_bool(run_callback(file, line, column, def, op)); + } + debug_return_bool(false); +} + +/* + * Like set_default() but stores the matching default value + * and does not run callbacks. + */ +static bool +set_early_default(const char *var, const char *val, int op, const char *file, + int line, int column, bool quiet, struct early_default *early) +{ + int idx; + debug_decl(set_early_default, SUDOERS_DEBUG_DEFAULTS); + + idx = find_default(var, file, line, column, quiet); + if (idx != -1) { + /* Set parsed value in sudo_defs_table but defer callback (if any). */ + struct sudo_defs_types *def = &sudo_defs_table[idx]; + if (parse_default_entry(def, val, op, file, line, column, quiet)) { + if (early->file != NULL) + sudo_rcstr_delref(early->file); + early->file = sudo_rcstr_addref(file); + early->line = line; + early->column = column; + early->run_callback = true; + debug_return_bool(true); + } + } + debug_return_bool(false); +} + +/* + * Run callbacks for early defaults. + */ +static bool +run_early_defaults(void) +{ + struct early_default *early; + bool ret = true; + debug_decl(run_early_defaults, SUDOERS_DEBUG_DEFAULTS); + + for (early = early_defaults; early->idx != -1; early++) { + if (early->run_callback) { + if (!run_callback(early->file, early->line, early->column, + &sudo_defs_table[early->idx], true)) + ret = false; + early->run_callback = false; + } + } + debug_return_bool(ret); +} + +static void +free_defs_val(int type, union sudo_defs_val *sd_un) +{ + switch (type & T_MASK) { + case T_STR: + case T_RLIMIT: + free(sd_un->str); + break; + case T_LIST: + (void)list_op(NULL, 0, &sd_un->list, freeall); + break; + } + memset(sd_un, 0, sizeof(*sd_un)); +} + +static bool +init_passprompt_regex(void) +{ + struct list_member *lm; + debug_decl(init_passprompt_regex, SUDOERS_DEBUG_DEFAULTS); + + /* Add initial defaults setting. */ + lm = calloc(1, sizeof(struct list_member)); + if (lm == NULL || (lm->value = strdup(PASSPROMPT_REGEX)) == NULL) { + free(lm); + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + debug_return_bool(false); + } + SLIST_INSERT_HEAD(&def_passprompt_regex, lm, entries); + + debug_return_bool(true); +} + +/* + * Set default options to compiled-in values. + * Any of these may be overridden at runtime by a "Defaults" file. + */ +bool +init_defaults(void) +{ + static bool firsttime = true; + struct sudo_defs_types *def; + debug_decl(init_defaults, SUDOERS_DEBUG_DEFAULTS); + + /* Clear any old settings. */ + if (!firsttime) { + for (def = sudo_defs_table; def->name != NULL; def++) + free_defs_val(def->type, &def->sd_un); + } + + /* First initialize the flags. */ +#ifdef LONG_OTP_PROMPT + def_long_otp_prompt = true; +#endif +#ifdef IGNORE_DOT_PATH + def_ignore_dot = true; +#endif +#ifdef ALWAYS_SEND_MAIL + def_mail_always = true; +#endif +#ifdef SEND_MAIL_WHEN_NO_USER + def_mail_no_user = true; +#endif +#ifdef SEND_MAIL_WHEN_NO_HOST + def_mail_no_host = true; +#endif +#ifdef SEND_MAIL_WHEN_NOT_OK + def_mail_no_perms = true; +#endif +#ifndef NO_LECTURE + def_lecture = once; +#endif +#ifndef NO_AUTHENTICATION + def_authenticate = true; +#endif +#ifndef NO_ROOT_SUDO + def_root_sudo = true; +#endif +#ifdef HOST_IN_LOG + def_log_host = true; +#endif +#ifdef SHELL_IF_NO_ARGS + def_shell_noargs = true; +#endif +#ifdef SHELL_SETS_HOME + def_set_home = true; +#endif +#ifndef DONT_LEAK_PATH_INFO + def_path_info = true; +#endif +#ifdef USE_INSULTS + def_insults = true; +#endif +#ifdef FQDN + def_fqdn = true; +#endif +#ifdef ENV_EDITOR + def_env_editor = true; +#endif +#ifdef UMASK_OVERRIDE + def_umask_override = true; +#endif + def_timestamp_type = TIMESTAMP_TYPE; + if ((def_iolog_file = strdup("%{seq}")) == NULL) + goto oom; + if ((def_iolog_dir = strdup(_PATH_SUDO_IO_LOGDIR)) == NULL) + goto oom; + if ((def_sudoers_locale = strdup("C")) == NULL) + goto oom; + def_env_reset = ENV_RESET; + def_set_logname = true; + def_closefrom = STDERR_FILENO + 1; + def_pam_ruser = true; +#ifdef __sun__ + def_pam_rhost = true; +#endif + if ((def_pam_service = strdup("sudo")) == NULL) + goto oom; +#ifdef HAVE_PAM_LOGIN + if ((def_pam_login_service = strdup("sudo-i")) == NULL) + goto oom; +#else + if ((def_pam_login_service = strdup("sudo")) == NULL) + goto oom; +#endif +#ifdef NO_PAM_SESSION + def_pam_session = false; +#else + def_pam_session = true; +#endif +#ifdef HAVE_SELINUX + def_selinux = true; +#endif +#ifdef HAVE_INNETGR + def_use_netgroups = true; +#endif +#ifdef _PATH_SUDO_ADMIN_FLAG + if ((def_admin_flag = strdup(_PATH_SUDO_ADMIN_FLAG)) == NULL) + goto oom; +#endif + if ((def_rlimit_core = strdup("0,0")) == NULL) + goto oom; + def_intercept_type = dso; + def_intercept_verify = true; + def_netgroup_tuple = false; + def_sudoedit_checkdir = true; + def_iolog_mode = S_IRUSR|S_IWUSR; + def_fdexec = digest_only; + def_log_allowed = true; + def_log_denied = true; + def_log_format = sudo; + def_runas_allow_unknown_id = false; + def_noninteractive_auth = false; + + /* Syslog options need special care since they both strings and ints */ +#if (LOGGING & SLOG_SYSLOG) + (void) store_syslogfac(LOGFAC, &sudo_defs_table[I_SYSLOG]); + (void) store_syslogpri(PRI_SUCCESS, &sudo_defs_table[I_SYSLOG_GOODPRI]); + (void) store_syslogpri(PRI_FAILURE, &sudo_defs_table[I_SYSLOG_BADPRI]); +#endif + + /* Password flags also have a string and integer component. */ + (void) store_tuple("any", &sudo_defs_table[I_LISTPW]); + (void) store_tuple("all", &sudo_defs_table[I_VERIFYPW]); + + /* Then initialize the int-like things. */ +#ifdef SUDO_UMASK + def_umask = SUDO_UMASK; +#else + def_umask = ACCESSPERMS; +#endif + def_loglinelen = MAXLOGFILELEN; + def_timestamp_timeout.tv_sec = TIMEOUT * 60; + def_passwd_timeout.tv_sec = PASSWORD_TIMEOUT * 60; + def_passwd_tries = TRIES_FOR_PASSWORD; +#ifdef HAVE_ZLIB_H + def_compress_io = true; +#endif + def_log_passwords = true; + def_log_server_timeout = 30; + def_log_server_verify = true; + def_log_server_keepalive = true; + def_ignore_audit_errors = true; + def_ignore_iolog_errors = false; + def_ignore_logfile_errors = true; + + /* Now do the strings */ + if ((def_mailto = strdup(MAILTO)) == NULL) + goto oom; + if ((def_mailsub = strdup(N_(MAILSUBJECT))) == NULL) + goto oom; + if ((def_badpass_message = strdup(_(INCORRECT_PASSWORD))) == NULL) + goto oom; + if ((def_lecture_status_dir = strdup(_PATH_SUDO_LECTURE_DIR)) == NULL) + goto oom; + if ((def_timestampdir = strdup(_PATH_SUDO_TIMEDIR)) == NULL) + goto oom; + if ((def_passprompt = strdup(_(PASSPROMPT))) == NULL) + goto oom; + if ((def_runas_default = strdup(RUNAS_DEFAULT)) == NULL) + goto oom; +#ifdef _PATH_SUDO_SENDMAIL + if ((def_mailerpath = strdup(_PATH_SUDO_SENDMAIL)) == NULL) + goto oom; +#endif + if ((def_mailerflags = strdup("-t")) == NULL) + goto oom; +#if (LOGGING & SLOG_FILE) + if ((def_logfile = strdup(_PATH_SUDO_LOGFILE)) == NULL) + goto oom; +#endif +#ifdef EXEMPTGROUP + if ((def_exempt_group = strdup(EXEMPTGROUP)) == NULL) + goto oom; +#endif +#ifdef SECURE_PATH + if ((def_secure_path = strdup(SECURE_PATH)) == NULL) + goto oom; +#endif + if ((def_editor = strdup(EDITOR)) == NULL) + goto oom; + def_set_utmp = true; + def_pam_acct_mgmt = true; + def_pam_setcred = true; + def_syslog_maxlen = MAXSYSLOGLEN; + def_case_insensitive_user = true; + def_case_insensitive_group = true; + + /* Reset the locale. */ + if (!firsttime) { + if (!sudoers_initlocale(NULL, def_sudoers_locale)) + goto oom; + } + + /* Finally do the lists (currently just environment tables). */ + if (!init_envtables()) + goto oom; + + /* Init eventlog config. */ + init_eventlog_config(); + + /* Initial iolog password prompt regex. */ + if (!init_passprompt_regex()) + debug_return_bool(false); + + firsttime = false; + + debug_return_bool(true); +oom: + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + debug_return_bool(false); +} + +/* + * Check whether a defaults entry matches the specified type. + * Returns true if it matches, else false. + */ +static bool +default_type_matches(struct defaults *d, int what) +{ + debug_decl(default_type_matches, SUDOERS_DEBUG_DEFAULTS); + + switch (d->type) { + case DEFAULTS: + if (ISSET(what, SETDEF_GENERIC)) + debug_return_bool(true); + break; + case DEFAULTS_USER: + if (ISSET(what, SETDEF_USER)) + debug_return_bool(true); + break; + case DEFAULTS_RUNAS: + if (ISSET(what, SETDEF_RUNAS)) + debug_return_bool(true); + break; + case DEFAULTS_HOST: + if (ISSET(what, SETDEF_HOST)) + debug_return_bool(true); + break; + case DEFAULTS_CMND: + if (ISSET(what, SETDEF_CMND)) + debug_return_bool(true); + break; + } + debug_return_bool(false); +} + +/* + * Check whether a defaults entry's binding matches. + * Returns true if it matches, else false. + */ +static bool +default_binding_matches(struct sudoers_parse_tree *parse_tree, + struct defaults *d, int what) +{ + debug_decl(default_binding_matches, SUDOERS_DEBUG_DEFAULTS); + + switch (d->type) { + case DEFAULTS: + debug_return_bool(true); + case DEFAULTS_USER: + if (userlist_matches(parse_tree, sudo_user.pw, &d->binding->members) == ALLOW) + debug_return_bool(true); + break; + case DEFAULTS_RUNAS: + if (runaslist_matches(parse_tree, &d->binding->members, NULL, NULL, NULL) == ALLOW) + debug_return_bool(true); + break; + case DEFAULTS_HOST: + if (hostlist_matches(parse_tree, sudo_user.pw, &d->binding->members) == ALLOW) + debug_return_bool(true); + break; + case DEFAULTS_CMND: + if (cmndlist_matches(parse_tree, &d->binding->members, NULL, NULL) == ALLOW) + debug_return_bool(true); + break; + } + debug_return_bool(false); +} + +/* + * Update the global defaults based on the given defaults list. + * Pass in an OR'd list of which default types to update. + */ +bool +update_defaults(struct sudoers_parse_tree *parse_tree, + struct defaults_list *defs, int what, bool quiet) +{ + struct defaults *d; + bool global_defaults = false; + bool ret = true; + debug_decl(update_defaults, SUDOERS_DEBUG_DEFAULTS); + + sudo_debug_printf(SUDO_DEBUG_INFO|SUDO_DEBUG_LINENO, + "what: 0x%02x", what); + + /* If no defaults list specified, use the global one in the parse tree. */ + if (defs == NULL) { + defs = &parse_tree->defaults; + global_defaults = true; + } + + /* + * If using the global defaults list, apply Defaults values marked as early. + */ + if (global_defaults) { + TAILQ_FOREACH(d, defs, entries) { + struct early_default *early = is_early_default(d->var); + if (early == NULL) + continue; + + /* Defaults type and binding must match. */ + if (!default_type_matches(d, what) || + !default_binding_matches(parse_tree, d, what)) + continue; + + /* Copy the value to sudo_defs_table and mark as early. */ + if (!set_early_default(d->var, d->val, d->op, d->file, d->line, + d->column, quiet, early)) + ret = false; + } + + /* Run callbacks for early defaults (if any) */ + if (!run_early_defaults()) + ret = false; + } + + /* + * Set the rest of the defaults and run their callbacks, if any. + */ + TAILQ_FOREACH(d, defs, entries) { + if (global_defaults) { + /* Skip Defaults marked as early, we already did them. */ + if (is_early_default(d->var)) + continue; + } + + /* Defaults type and binding must match. */ + if (!default_type_matches(d, what) || + !default_binding_matches(parse_tree, d, what)) + continue; + + /* Copy the value to sudo_defs_table and run callback (if any) */ + if (!set_default(d->var, d->val, d->op, d->file, d->line, d->column, quiet)) + ret = false; + } + + debug_return_bool(ret); +} + +/* + * Check all defaults entries without actually setting them. + */ +bool +check_defaults(struct sudoers_parse_tree *parse_tree, bool quiet) +{ + struct defaults *d; + bool ret = true; + int idx; + debug_decl(check_defaults, SUDOERS_DEBUG_DEFAULTS); + + TAILQ_FOREACH(d, &parse_tree->defaults, entries) { + idx = find_default(d->var, d->file, d->line, d->column, quiet); + if (idx != -1) { + struct sudo_defs_types def = sudo_defs_table[idx]; + memset(&def.sd_un, 0, sizeof(def.sd_un)); + if (parse_default_entry(&def, d->val, d->op, d->file, + d->line, d->column, quiet)) { + free_defs_val(def.type, &def.sd_un); + continue; + } + } + /* There was an error in the entry, flag it. */ + d->error = true; + ret = false; + } + debug_return_bool(ret); +} + +static bool +store_int(const char *str, struct sudo_defs_types *def) +{ + const char *errstr; + int i; + debug_decl(store_int, SUDOERS_DEBUG_DEFAULTS); + + if (str == NULL) { + def->sd_un.ival = 0; + } else { + i = sudo_strtonum(str, INT_MIN, INT_MAX, &errstr); + if (errstr != NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "%s: %s", str, errstr); + debug_return_bool(false); + } + def->sd_un.ival = i; + } + debug_return_bool(true); +} + +static bool +store_uint(const char *str, struct sudo_defs_types *def) +{ + const char *errstr; + unsigned int u; + debug_decl(store_uint, SUDOERS_DEBUG_DEFAULTS); + + if (str == NULL) { + def->sd_un.uival = 0; + } else { + u = sudo_strtonum(str, 0, UINT_MAX, &errstr); + if (errstr != NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "%s: %s", str, errstr); + debug_return_bool(false); + } + def->sd_un.uival = u; + } + debug_return_bool(true); +} + +/* Check resource limit syntax, does not save as rlim_t. */ +static bool +check_rlimit(const char *str, bool soft) +{ + const size_t inflen = sizeof("infinity") - 1; + debug_decl(check_rlimit, SUDOERS_DEBUG_DEFAULTS); + + if (isdigit((unsigned char)*str)) { + unsigned long long ullval; + char *ep; + + errno = 0; +#ifdef HAVE_STRTOULL + ullval = strtoull(str, &ep, 10); + if (str == ep || (errno == ERANGE && ullval == ULLONG_MAX)) + debug_return_bool(false); +#else + ullval = strtoul(str, &ep, 10); + if (str == ep || (errno == ERANGE && ullval == ULONG_MAX)) + debug_return_bool(false); +#endif + if (*ep == '\0' || (soft && *ep == ',')) + debug_return_bool(true); + debug_return_bool(false); + } + if (strncmp(str, "infinity", inflen) == 0) { + if (str[inflen] == '\0' || (soft && str[inflen] == ',')) + debug_return_bool(true); + } + debug_return_bool(false); +} + +static bool +store_rlimit(const char *str, struct sudo_defs_types *def) +{ + debug_decl(store_rlimit, SUDOERS_DEBUG_DEFAULTS); + + /* The special values "user" and "default" are not compound. */ + if (str != NULL && strcmp(str, "user") != 0 && strcmp(str, "default") != 0) { + const char *hard, *soft = str; + /* + * Expect a limit in the form "soft,hard" or "limit" (both soft+hard). + */ + hard = strchr(str, ','); + if (hard != NULL) + hard++; + else + hard = soft; + + if (!check_rlimit(soft, true)) + debug_return_bool(false); + if (!check_rlimit(hard, false)) + debug_return_bool(false); + } + + /* Store as string, front-end will parse it as a limit. */ + debug_return_bool(store_str(str, def)); +} + +static bool +store_timespec(const char *str, struct sudo_defs_types *def) +{ + struct timespec ts; + char sign = '+'; + long i; + debug_decl(store_timespec, SUDOERS_DEBUG_DEFAULTS); + + sudo_timespecclear(&ts); + if (str != NULL) { + /* Convert from minutes to seconds. */ + if (*str == '+' || *str == '-') + sign = *str++; + while (*str != '\0' && *str != '.') { + if (!isdigit((unsigned char)*str)) + debug_return_bool(false); /* invalid number */ + + /* Verify (ts.tv_sec * 10) + (digit * 60) <= TIME_T_MAX. */ + i = (*str++ - '0') * 60L; + if (ts.tv_sec > (TIME_T_MAX - i) / 10) + debug_return_bool(false); /* overflow */ + ts.tv_sec *= 10; + ts.tv_sec += i; + } + if (*str++ == '.') { + long long nsec = 0; + + /* Convert optional fractional component to seconds and nanosecs. */ + for (i = 100000000; i > 0; i /= 10) { + if (*str == '\0') + break; + if (!isdigit((unsigned char)*str)) + debug_return_bool(false); /* invalid number */ + nsec += i * (*str++ - '0') * 60LL; + } + while (nsec >= 1000000000) { + if (ts.tv_sec == TIME_T_MAX) + debug_return_bool(false); /* overflow */ + ts.tv_sec++; + nsec -= 1000000000; + } + ts.tv_nsec = nsec; + } + } + if (sign == '-') { + def->sd_un.tspec.tv_sec = -ts.tv_sec; + def->sd_un.tspec.tv_nsec = -ts.tv_nsec; + } else { + def->sd_un.tspec.tv_sec = ts.tv_sec; + def->sd_un.tspec.tv_nsec = ts.tv_nsec; + } + debug_return_bool(true); +} + +static bool +store_tuple(const char *str, struct sudo_defs_types *def) +{ + struct def_values *v; + debug_decl(store_tuple, SUDOERS_DEBUG_DEFAULTS); + + /* + * Look up tuple value by name to find enum def_tuple value. + * For negation to work the first element of enum def_tuple + * must be equivalent to boolean false. + */ + if (str == NULL) { + def->sd_un.ival = 0; + } else { + for (v = def->values; v->sval != NULL; v++) { + if (strcmp(v->sval, str) == 0) { + def->sd_un.tuple = v->nval; + break; + } + } + if (v->sval == NULL) + debug_return_bool(false); + } + debug_return_bool(true); +} + +static int +store_str(const char *str, struct sudo_defs_types *def) +{ + debug_decl(store_str, SUDOERS_DEBUG_DEFAULTS); + + free(def->sd_un.str); + if (str == NULL) { + def->sd_un.str = NULL; + } else { + if ((def->sd_un.str = strdup(str)) == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + debug_return_int(-1); + } + } + debug_return_int(true); +} + +static bool +store_list(const char *str, struct sudo_defs_types *def, int op) +{ + debug_decl(store_list, SUDOERS_DEBUG_DEFAULTS); + + /* Remove all old members. */ + if (op == false || op == true) + (void)list_op(NULL, 0, &def->sd_un.list, freeall); + + /* Split str into multiple space-separated words and act on each one. */ + if (str != NULL) { + const char *cp, *ep; + const char *end = str + strlen(str); + const enum list_ops lop = op == '-' ? delete : add; + + if (ISSET(def->type, T_SPACE)) { + if (!list_op(str, strlen(str), &def->sd_un.list, lop)) + debug_return_bool(false); + } else { + for (cp = sudo_strsplit(str, end, " \t", &ep); cp != NULL; + cp = sudo_strsplit(NULL, end, " \t", &ep)) { + if (!list_op(cp, ep - cp, &def->sd_un.list, lop)) + debug_return_bool(false); + } + } + } + debug_return_bool(true); +} + +static bool +store_syslogfac(const char *str, struct sudo_defs_types *def) +{ + debug_decl(store_syslogfac, SUDOERS_DEBUG_DEFAULTS); + + if (str == NULL) { + def->sd_un.ival = false; + debug_return_bool(true); + } + debug_return_bool(sudo_str2logfac(str, &def->sd_un.ival)); +} + +static bool +store_syslogpri(const char *str, struct sudo_defs_types *def) +{ + debug_decl(store_syslogpri, SUDOERS_DEBUG_DEFAULTS); + + if (str == NULL) { + def->sd_un.ival = -1; + debug_return_bool(true); + } + debug_return_bool(sudo_str2logpri(str, &def->sd_un.ival)); +} + +static bool +store_mode(const char *str, struct sudo_defs_types *def) +{ + mode_t mode; + const char *errstr; + debug_decl(store_mode, SUDOERS_DEBUG_DEFAULTS); + + if (str == NULL) { + def->sd_un.mode = ACCESSPERMS; + } else { + mode = sudo_strtomode(str, &errstr); + if (errstr != NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "%s is %s", str, errstr); + debug_return_bool(false); + } + def->sd_un.mode = mode; + } + debug_return_bool(true); +} + +static bool +store_timeout(const char *str, struct sudo_defs_types *def) +{ + debug_decl(store_mode, SUDOERS_DEBUG_DEFAULTS); + + if (str == NULL) { + def->sd_un.ival = 0; + } else { + int seconds = parse_timeout(str); + if (seconds == -1) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_ERRNO|SUDO_DEBUG_LINENO, + "%s", str); + debug_return_bool(false); + } + def->sd_un.ival = seconds; + } + debug_return_bool(true); +} + +static bool +valid_path(struct sudo_defs_types *def, const char *val, + const char *file, int line, int column, bool quiet) +{ + bool ret = true; + debug_decl(valid_path, SUDOERS_DEBUG_DEFAULTS); + + if (strlen(val) >= PATH_MAX) { + defaults_warnx(file, line, column, quiet, + N_("path name for \"%s\" too long"), def->name); + ret = false; + } + if (ISSET(def->type, T_CHPATH)) { + if (val[0] != '/' && val[0] != '~' && (val[0] != '*' || val[1] != '\0')) { + defaults_warnx(file, line, column, quiet, + N_("values for \"%s\" must start with a '/', '~', or '*'"), + def->name); + ret = false; + } + } else { + if (val[0] != '/') { + defaults_warnx(file, line, column, quiet, + N_("values for \"%s\" must start with a '/'"), def->name); + ret = false; + } + + } + debug_return_bool(ret); +} + +static bool +list_op(const char *str, size_t len, struct list_members *list, + enum list_ops op) +{ + struct list_member *cur, *prev = NULL; + debug_decl(list_op, SUDOERS_DEBUG_DEFAULTS); + + if (op == freeall) { + while ((cur = SLIST_FIRST(list)) != NULL) { + SLIST_REMOVE_HEAD(list, entries); + free(cur->value); + free(cur); + } + debug_return_bool(true); + } + + SLIST_FOREACH(cur, list, entries) { + if ((strncmp(cur->value, str, len) == 0 && cur->value[len] == '\0')) { + + if (op == add) + debug_return_bool(true); /* already exists */ + + /* Delete node */ + if (prev == NULL) + SLIST_REMOVE_HEAD(list, entries); + else + SLIST_REMOVE_AFTER(prev, entries); + free(cur->value); + free(cur); + break; + } + prev = cur; + } + + /* Add new node to the head of the list. */ + if (op == add) { + cur = calloc(1, sizeof(struct list_member)); + if (cur == NULL || (cur->value = strndup(str, len)) == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + free(cur); + debug_return_bool(false); + } + SLIST_INSERT_HEAD(list, cur, entries); + } + debug_return_bool(true); +} + +bool +append_default(const char *var, const char *val, int op, + char *source, struct defaults_list *defs) +{ + struct defaults *def; + debug_decl(append_default, SUDOERS_DEBUG_DEFAULTS); + + if ((def = calloc(1, sizeof(*def))) == NULL) + goto oom; + + def->type = DEFAULTS; + def->op = op; + if ((def->var = strdup(var)) == NULL) { + goto oom; + } + if (val != NULL) { + if ((def->val = strdup(val)) == NULL) + goto oom; + } + def->file = source; + sudo_rcstr_addref(source); + TAILQ_INSERT_TAIL(defs, def, entries); + debug_return_bool(true); + +oom: + if (def != NULL) { + free(def->var); + free(def->val); + free(def); + } + debug_return_bool(false); +} + +bool +cb_passprompt_regex(const char *file, int line, int column, + const union sudo_defs_val *sd_un, int op) +{ + struct list_member *lm; + const char *errstr; + debug_decl(cb_passprompt_regex, SUDOERS_DEBUG_DEFAULTS); + + /* If adding one or more regexps, make sure they are valid. */ + if (op == '+' || op == true) { + SLIST_FOREACH(lm, &sd_un->list, entries) { + if (!sudo_regex_compile(NULL, lm->value, &errstr)) { + defaults_warnx(file, line, column, false, + U_("invalid regular expression \"%s\": %s"), + lm->value, U_(errstr)); + debug_return_bool(false); + } + } + } + + debug_return_bool(true); +} + +static bool +defaults_warnx(const char *file, int line, int column, bool quiet, + const char *fmt, ...) +{ + bool ret = true; + va_list ap; + debug_decl(defaults_warnx, SUDOERS_DEBUG_DEFAULTS); + + if (sudoers_error_hook != NULL) { + va_start(ap, fmt); + ret = sudoers_error_hook(file, line, column, fmt, ap); + va_end(ap); + } + + if (!quiet) { + int oldlocale; + char *errstr; + + sudoers_setlocale(SUDOERS_LOCALE_USER, &oldlocale); + va_start(ap, fmt); + if (vasprintf(&errstr, _(fmt), ap) == -1) { + errstr = NULL; + ret = false; + } else if (line > 0) { + sudo_printf(SUDO_CONV_ERROR_MSG, _("%s:%d:%d: %s\n"), file, + line, column, errstr); + } else { + sudo_printf(SUDO_CONV_ERROR_MSG, _("%s: %s\n"), file, errstr); + } + va_end(ap); + sudoers_setlocale(oldlocale, NULL); + + free(errstr); + } + + debug_return_bool(ret); +} diff --git a/plugins/sudoers/defaults.h b/plugins/sudoers/defaults.h new file mode 100644 index 0000000..f0bf88e --- /dev/null +++ b/plugins/sudoers/defaults.h @@ -0,0 +1,154 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1999-2005, 2008-2022 + * Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Sponsored in part by the Defense Advanced Research Projects + * Agency (DARPA) and Air Force Research Laboratory, Air Force + * Materiel Command, USAF, under agreement number F39502-99-1-0512. + */ + +#ifndef SUDOERS_DEFAULTS_H +#define SUDOERS_DEFAULTS_H + +#include +#include +#include "sudo_queue.h" + +struct list_member { + SLIST_ENTRY(list_member) entries; + char *value; +}; + +SLIST_HEAD(list_members, list_member); + +enum list_ops { + add, + delete, + freeall +}; + +/* Mapping of tuple string value to enum def_tuple. */ +struct def_values { + const char *sval; /* string value */ + enum def_tuple nval;/* numeric value */ +}; + +union sudo_defs_val { + int flag; + int ival; + unsigned int uival; + enum def_tuple tuple; + char *str; + mode_t mode; + struct timespec tspec; + struct list_members list; +}; + +/* + * Structure describing compile-time and run-time options. + */ +struct sudo_defs_types { + const char *name; + int type; + const char *desc; + struct def_values *values; + bool (*callback)(const char *file, int line, int column, const union sudo_defs_val *, int op); + union sudo_defs_val sd_un; +}; + +/* + * Defaults values to apply before others. + */ +struct early_default { + short idx; + short run_callback; + short line; + short column; + char *file; +}; + +/* + * Four types of defaults: strings, integers, and flags. + * Also, T_INT, T_TIMESPEC or T_STR may be ANDed with T_BOOL to indicate that + * a value is not required. Flags are boolean by nature... + */ +#undef T_INT +#define T_INT 0x001 +#undef T_UINT +#define T_UINT 0x002 +#undef T_STR +#define T_STR 0x003 +#undef T_FLAG +#define T_FLAG 0x004 +#undef T_MODE +#define T_MODE 0x005 +#undef T_LIST +#define T_LIST 0x006 +#undef T_LOGFAC +#define T_LOGFAC 0x007 +#undef T_LOGPRI +#define T_LOGPRI 0x008 +#undef T_TUPLE +#define T_TUPLE 0x009 +#undef T_TIMESPEC +#define T_TIMESPEC 0x010 +#undef T_TIMEOUT +#define T_TIMEOUT 0x011 +#undef T_RLIMIT +#define T_RLIMIT 0x012 +#undef T_MASK +#define T_MASK 0x0FF +#undef T_BOOL +#define T_BOOL 0x100 +#undef T_PATH +#define T_PATH 0x200 +#undef T_CHPATH +#define T_CHPATH 0x400 +#undef T_SPACE +#define T_SPACE 0x800 + +/* + * Argument to update_defaults() + */ +#define SETDEF_GENERIC 0x01 +#define SETDEF_HOST 0x02 +#define SETDEF_USER 0x04 +#define SETDEF_RUNAS 0x08 +#define SETDEF_CMND 0x10 +#define SETDEF_ALL (SETDEF_GENERIC|SETDEF_HOST|SETDEF_USER|SETDEF_RUNAS|SETDEF_CMND) + +/* + * Convenience macros + */ +#define iolog_enabled (def_log_stdin || def_log_ttyin || def_log_stdout || def_log_stderr || def_log_ttyout) + +/* + * Prototypes + */ +struct defaults_list; +struct sudoers_parse_tree; +void dump_default(void); +bool init_defaults(void); +bool set_default(const char *var, const char *val, int op, const char *file, int line, int column, bool quiet); +bool update_defaults(struct sudoers_parse_tree *parse_tree, struct defaults_list *defs, int what, bool quiet); +bool check_defaults(struct sudoers_parse_tree *parse_tree, bool quiet); +bool append_default(const char *var, const char *val, int op, char *source, struct defaults_list *defs); +bool cb_passprompt_regex(const char *file, int line, int column, const union sudo_defs_val *sd_un, int op); + +extern struct sudo_defs_types sudo_defs_table[]; + +#endif /* SUDOERS_DEFAULTS_H */ diff --git a/plugins/sudoers/digestname.c b/plugins/sudoers/digestname.c new file mode 100644 index 0000000..e501de4 --- /dev/null +++ b/plugins/sudoers/digestname.c @@ -0,0 +1,55 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2017 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include "sudo_compat.h" +#include "sudo_digest.h" +#include "sudoers_debug.h" +#include "parse.h" + +const char * +digest_type_to_name(int digest_type) +{ + const char *digest_name; + debug_decl(digest_type_to_name, SUDOERS_DEBUG_UTIL); + + switch (digest_type) { + case SUDO_DIGEST_SHA224: + digest_name = "sha224"; + break; + case SUDO_DIGEST_SHA256: + digest_name = "sha256"; + break; + case SUDO_DIGEST_SHA384: + digest_name = "sha384"; + break; + case SUDO_DIGEST_SHA512: + digest_name = "sha512"; + break; + default: + digest_name = "unknown digest"; + break; + } + debug_return_const_str(digest_name); +} diff --git a/plugins/sudoers/editor.c b/plugins/sudoers/editor.c new file mode 100644 index 0000000..829be82 --- /dev/null +++ b/plugins/sudoers/editor.c @@ -0,0 +1,274 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2010-2015, 2020-2022 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include +#include +#include +#include + +#include "sudoers.h" + +/* + * Non-destructive word-split that handles single and double quotes and + * escaped white space. Quotes are only recognized at the start of a word. + * They are treated as normal characters inside a word. + */ +static const char * +wordsplit(const char *str, const char *endstr, const char **last) +{ + const char *cp; + debug_decl(wordsplit, SUDOERS_DEBUG_UTIL); + + /* If no str specified, use last ptr (if any). */ + if (str == NULL) { + str = *last; + /* Consume end quote if present. */ + if (*str == '"' || *str == '\'') + str++; + } + + /* Skip leading white space characters. */ + while (str < endstr && (*str == ' ' || *str == '\t')) + str++; + + /* Empty string? */ + if (str >= endstr) { + *last = endstr; + debug_return_ptr(NULL); + } + + /* If word is quoted, skip to end quote and return. */ + if (*str == '"' || *str == '\'') { + const char *endquote; + for (cp = str + 1; cp < endstr; cp = endquote + 1) { + endquote = memchr(cp, *str, endstr - cp); + if (endquote == NULL) + break; + /* ignore escaped quotes */ + if (endquote[-1] != '\\') { + *last = endquote; + debug_return_const_ptr(str + 1); + } + } + } + + /* Scan str until we encounter white space. */ + for (cp = str; cp < endstr; cp++) { + if (cp[0] == '\\' && cp[1] != '\0') { + /* quoted char, do not interpret */ + cp++; + continue; + } + if (*cp == ' ' || *cp == '\t') { + /* end of word */ + break; + } + } + *last = cp; + debug_return_const_ptr(str); +} + +/* Copy len chars from string, collapsing chars escaped with a backslash. */ +static char * +copy_arg(const char *src, size_t len) +{ + const char *src_end = src + len; + char *copy, *dst; + debug_decl(copy_arg, SUDOERS_DEBUG_UTIL); + + if ((copy = malloc(len + 1)) != NULL) { + sudoers_gc_add(GC_PTR, copy); + for (dst = copy; src < src_end; ) { + if (src[0] == '\\' && src[1] != '\0') + src++; + *dst++ = *src++; + } + *dst = '\0'; + } + + debug_return_ptr(copy); +} + +/* + * Search for the specified editor in the user's PATH, checking + * the result against allowlist if non-NULL. An argument vector + * suitable for execve() is allocated and stored in argv_out. + * If nfiles is non-zero, files[] is added to the end of argv_out. + * + * Returns the path to be executed on success, else NULL. + * The caller is responsible for freeing the returned editor path + * as well as the argument vector. + */ +static char * +resolve_editor(const char *ed, size_t edlen, int nfiles, char * const *files, + int *argc_out, char ***argv_out, char * const *allowlist) +{ + char **nargv = NULL, *editor = NULL, *editor_path = NULL; + const char *tmp, *cp, *ep = NULL; + const char *edend = ed + edlen; + struct stat user_editor_sb; + int nargc = 0; + debug_decl(resolve_editor, SUDOERS_DEBUG_UTIL); + + /* + * Split editor into an argument vector, including files to edit. + * The EDITOR and VISUAL environment variables may contain command + * line args so look for those and alloc space for them too. + */ + cp = wordsplit(ed, edend, &ep); + if (cp == NULL) + debug_return_str(NULL); + editor = copy_arg(cp, ep - cp); + if (editor == NULL) + goto oom; + + /* If we can't find the editor in the user's PATH, give up. */ + if (find_path(editor, &editor_path, &user_editor_sb, getenv("PATH"), NULL, + 0, allowlist) != FOUND) { + errno = ENOENT; + goto bad; + } + + /* Count rest of arguments and allocate editor argv. */ + for (nargc = 1, tmp = ep; wordsplit(NULL, edend, &tmp) != NULL; ) + nargc++; + if (nfiles != 0) + nargc += nfiles + 1; + nargv = reallocarray(NULL, nargc + 1, sizeof(char *)); + if (nargv == NULL) + goto oom; + sudoers_gc_add(GC_PTR, nargv); + + /* Fill in editor argv (assumes files[] is NULL-terminated). */ + nargv[0] = editor; + editor = NULL; + for (nargc = 1; (cp = wordsplit(NULL, edend, &ep)) != NULL; nargc++) { + /* Copy string, collapsing chars escaped with a backslash. */ + nargv[nargc] = copy_arg(cp, ep - cp); + if (nargv[nargc] == NULL) + goto oom; + + /* + * We use "--" to separate the editor and arguments from the files + * to edit. The editor arguments themselves may not contain "--". + */ + if (strcmp(nargv[nargc], "--") == 0) { + sudo_warnx(U_("ignoring editor: %.*s"), (int)edlen, ed); + sudo_warnx("%s", U_("editor arguments may not contain \"--\"")); + errno = EINVAL; + goto bad; + } + } + if (nfiles != 0) { + nargv[nargc++] = (char *)"--"; + while (nfiles--) + nargv[nargc++] = *files++; + } + nargv[nargc] = NULL; + + *argc_out = nargc; + *argv_out = nargv; + debug_return_str(editor_path); +oom: + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); +bad: + sudoers_gc_remove(GC_PTR, editor); + free(editor); + free(editor_path); + if (nargv != NULL) { + while (nargc--) { + sudoers_gc_remove(GC_PTR, nargv[nargc]); + free(nargv[nargc]); + } + sudoers_gc_remove(GC_PTR, nargv); + free(nargv); + } + debug_return_str(NULL); +} + +/* + * Determine which editor to use based on the SUDO_EDITOR, VISUAL and + * EDITOR environment variables as well as the editor path in sudoers. + * + * Returns the path to be executed on success, else NULL. + * The caller is responsible for freeing the returned editor path + * as well as the argument vector. + */ +char * +find_editor(int nfiles, char * const *files, int *argc_out, char ***argv_out, + char * const *allowlist, const char **env_editor) +{ + char *editor_path = NULL; + const char *ev[3]; + unsigned int i; + debug_decl(find_editor, SUDOERS_DEBUG_UTIL); + + /* + * If any of SUDO_EDITOR, VISUAL or EDITOR are set, choose the first one. + */ + *env_editor = NULL; + ev[0] = "SUDO_EDITOR"; + ev[1] = "VISUAL"; + ev[2] = "EDITOR"; + for (i = 0; i < nitems(ev); i++) { + char *editor = getenv(ev[i]); + + if (editor != NULL && *editor != '\0') { + *env_editor = editor; + editor_path = resolve_editor(editor, strlen(editor), + nfiles, files, argc_out, argv_out, allowlist); + if (editor_path != NULL) + break; + if (errno != ENOENT) + debug_return_str(NULL); + } + } + + /* + * If SUDO_EDITOR, VISUAL and EDITOR were either not set or not + * allowed (based on the values of def_editor and def_env_editor), + * choose the first one in def_editor that exists. + */ + if (editor_path == NULL) { + const char *def_editor_end = def_editor + strlen(def_editor); + const char *cp, *ep; + + /* def_editor could be a path, split it up, avoiding strtok() */ + for (cp = sudo_strsplit(def_editor, def_editor_end, ":", &ep); + cp != NULL; cp = sudo_strsplit(NULL, def_editor_end, ":", &ep)) { + editor_path = resolve_editor(cp, (size_t)(ep - cp), nfiles, + files, argc_out, argv_out, allowlist); + if (editor_path != NULL) + break; + if (errno != ENOENT) + debug_return_str(NULL); + } + } + + /* Caller is responsible for freeing editor_path, not g/c'd. */ + debug_return_str(editor_path); +} diff --git a/plugins/sudoers/env.c b/plugins/sudoers/env.c new file mode 100644 index 0000000..73f017a --- /dev/null +++ b/plugins/sudoers/env.c @@ -0,0 +1,1419 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2000-2005, 2007-2019 + * Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Sponsored in part by the Defense Advanced Research Projects + * Agency (DARPA) and Air Force Research Laboratory, Air Force + * Materiel Command, USAF, under agreement number F39502-99-1-0512. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include +#include +#if defined(HAVE_STDINT_H) +# include +#elif defined(HAVE_INTTYPES_H) +# include +#endif +#ifdef HAVE_LOGIN_CAP_H +# include +# ifndef LOGIN_SETENV +# define LOGIN_SETENV 0 +# endif +#endif /* HAVE_LOGIN_CAP_H */ +#include +#include +#include +#include + +#include "sudoers.h" + +/* + * Flags used in rebuild_env() + */ +#undef DID_TERM +#define DID_TERM 0x00000001 +#undef DID_PATH +#define DID_PATH 0x00000002 +#undef DID_HOME +#define DID_HOME 0x00000004 +#undef DID_SHELL +#define DID_SHELL 0x00000008 +#undef DID_LOGNAME +#define DID_LOGNAME 0x00000010 +#undef DID_USER +#define DID_USER 0x00000020 +#undef DID_LOGIN +#define DID_LOGIN 0x00000040 +#undef DID_MAIL +#define DID_MAIL 0x00000080 +#undef DID_MAX +#define DID_MAX 0x0000ffff + +#undef KEPT_TERM +#define KEPT_TERM 0x00010000 +#undef KEPT_PATH +#define KEPT_PATH 0x00020000 +#undef KEPT_HOME +#define KEPT_HOME 0x00040000 +#undef KEPT_SHELL +#define KEPT_SHELL 0x00080000 +#undef KEPT_LOGNAME +#define KEPT_LOGNAME 0x00100000 +#undef KEPT_USER +#define KEPT_USER 0x00200000 +#undef KEPT_LOGIN +#define KEPT_LOGIN 0x00400000 +#undef KEPT_MAIL +#define KEPT_MAIL 0x00800000 +#undef KEPT_MAX +#define KEPT_MAX 0xffff0000 + +/* + * AIX sets the LOGIN environment variable too. + */ +#ifdef _AIX +# define KEPT_USER_VARIABLES (KEPT_LOGIN|KEPT_LOGNAME|KEPT_USER) +#else +# define KEPT_USER_VARIABLES (KEPT_LOGNAME|KEPT_USER) +#endif + +/* + * Functions to open, close and parse an environment file, either + * a system file such as /etc/environment or one specified in sudoers. + */ +struct sudoers_env_file { + void * (*open)(const char *); + void (*close)(void *); + char * (*next)(void *, int *); +}; + +/* + * State for a local environment file. + */ +struct env_file_local { + FILE *fp; + char *line; + size_t linesize; +}; + +struct environment { + char **envp; /* pointer to the new environment */ + char **old_envp; /* pointer the old environment we allocated */ + size_t env_size; /* size of new_environ in char **'s */ + size_t env_len; /* number of slots used, not counting NULL */ +}; + +/* + * Copy of the sudo-managed environment. + */ +static struct environment env; + +/* + * Default table of "bad" variables to remove from the environment. + * XXX - how to omit TERMCAP if it starts with '/'? + */ +static const char *initial_badenv_table[] = { + "IFS", + "CDPATH", + "LOCALDOMAIN", + "RES_OPTIONS", + "HOSTALIASES", + "NLSPATH", + "PATH_LOCALE", + "LD_*", + "_RLD*", +#ifdef __hpux + "SHLIB_PATH", +#endif /* __hpux */ +#ifdef _AIX + "LDR_*", + "LIBPATH", + "AUTHSTATE", +#endif +#ifdef __APPLE__ + "DYLD_*", +#endif +#ifdef HAVE_KERB5 + "KRB5_CONFIG*", + "KRB5_KTNAME", +#endif /* HAVE_KERB5 */ +#ifdef HAVE_SECURID + "VAR_ACE", + "USR_ACE", + "DLC_ACE", +#endif /* HAVE_SECURID */ + "TERMINFO", /* terminfo, exclusive path to terminfo files */ + "TERMINFO_DIRS", /* terminfo, path(s) to terminfo files */ + "TERMPATH", /* termcap, path(s) to termcap files */ + "TERMCAP", /* XXX - only if it starts with '/' */ + "ENV", /* ksh, file to source before script runs */ + "BASH_ENV", /* bash, file to source before script runs */ + "PS4", /* bash, prefix for lines in xtrace mode */ + "GLOBIGNORE", /* bash, globbing patterns to ignore */ + "BASHOPTS", /* bash, initial "shopt -s" options */ + "SHELLOPTS", /* bash, initial "set -o" options */ + "JAVA_TOOL_OPTIONS", /* java, extra command line options */ + "PERLIO_DEBUG", /* perl, debugging output file */ + "PERLLIB", /* perl, search path for modules/includes */ + "PERL5LIB", /* perl 5, search path for modules/includes */ + "PERL5OPT", /* perl 5, extra command line options */ + "PERL5DB", /* perl 5, command used to load debugger */ + "FPATH", /* ksh, search path for functions */ + "NULLCMD", /* zsh, command for null file redirection */ + "READNULLCMD", /* zsh, command for null file redirection */ + "ZDOTDIR", /* zsh, search path for dot files */ + "TMPPREFIX", /* zsh, prefix for temporary files */ + "PYTHONHOME", /* python, module search path */ + "PYTHONPATH", /* python, search path */ + "PYTHONINSPECT", /* python, allow inspection */ + "PYTHONUSERBASE", /* python, per user site-packages directory */ + "RUBYLIB", /* ruby, library load path */ + "RUBYOPT", /* ruby, extra command line options */ + "*=()*", /* bash functions */ + NULL +}; + +/* + * Default table of variables to check for '%' and '/' characters. + */ +static const char *initial_checkenv_table[] = { + "COLORTERM", + "LANG", + "LANGUAGE", + "LC_*", + "LINGUAS", + "TERM", + "TZ", + NULL +}; + +/* + * Default table of variables to preserve in the environment. + */ +static const char *initial_keepenv_table[] = { + "COLORS", + "DISPLAY", + "HOSTNAME", + "KRB5CCNAME", + "LS_COLORS", + "PATH", + "PS1", + "PS2", + "XAUTHORITY", + "XAUTHORIZATION", + "XDG_CURRENT_DESKTOP", + NULL +}; + +/* + * Initialize env based on envp. + */ +bool +env_init(char * const envp[]) +{ + char * const *ep; + size_t len; + debug_decl(env_init, SUDOERS_DEBUG_ENV); + + if (envp == NULL) { + /* Free the old envp we allocated, if any. */ + sudoers_gc_remove(GC_PTR, env.old_envp); + free(env.old_envp); + + /* Reset to initial state but keep a pointer to what we allocated. */ + env.old_envp = env.envp; + env.envp = NULL; + env.env_size = 0; + env.env_len = 0; + } else { + /* Make private copy of envp. */ + for (ep = envp; *ep != NULL; ep++) + continue; + len = (size_t)(ep - envp); + + env.env_len = len; + env.env_size = len + 1 + 128; + env.envp = reallocarray(NULL, env.env_size, sizeof(char *)); + if (env.envp == NULL) { + env.env_size = 0; + env.env_len = 0; + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + debug_return_bool(false); + } + sudoers_gc_add(GC_PTR, env.envp); +#ifdef ENV_DEBUG + memset(env.envp, 0, env.env_size * sizeof(char *)); +#endif + memcpy(env.envp, envp, len * sizeof(char *)); + env.envp[len] = NULL; + + /* Free the old envp we allocated, if any. */ + sudoers_gc_remove(GC_PTR, env.old_envp); + free(env.old_envp); + env.old_envp = NULL; + } + + debug_return_bool(true); +} + +/* + * Getter for private copy of the environment. + */ +char ** +env_get(void) +{ + return env.envp; +} + +/* + * Swap the old and new copies of the environment. + */ +bool +env_swap_old(void) +{ + char **old_envp; + + if (env.old_envp == NULL) + return false; + old_envp = env.old_envp; + env.old_envp = env.envp; + env.envp = old_envp; + return true; +} + +/* + * Similar to putenv(3) but operates on sudo's private copy of the + * environment (not environ) and it always overwrites. The dupcheck param + * determines whether we need to verify that the variable is not already set. + * Will only overwrite an existing variable if overwrite is set. + * Does not include warnings or debugging to avoid recursive calls. + */ +int +sudo_putenv_nodebug(char *str, bool dupcheck, bool overwrite) +{ + char **ep; + const char *equal; + bool found = false; + + /* Some putenv(3) implementations check for NULL. */ + if (str == NULL) { + errno = EINVAL; + return -1; + } + + /* The string must contain a '=' char but not start with one. */ + equal = strchr(str, '='); + if (equal == NULL || equal == str) { + errno = EINVAL; + return -1; + } + + /* Make sure there is room for the new entry plus a NULL. */ + if (env.env_size > 2 && env.env_len > env.env_size - 2) { + char **nenvp; + size_t nsize; + + if (env.env_size > SIZE_MAX - 128) { + sudo_warnx_nodebug(U_("internal error, %s overflow"), + "sudo_putenv_nodebug"); + errno = EOVERFLOW; + return -1; + } + nsize = env.env_size + 128; + if (nsize > SIZE_MAX / sizeof(char *)) { + sudo_warnx_nodebug(U_("internal error, %s overflow"), + "sudo_putenv_nodebug"); + errno = EOVERFLOW; + return -1; + } + sudoers_gc_remove(GC_PTR, env.envp); + nenvp = reallocarray(env.envp, nsize, sizeof(char *)); + if (nenvp == NULL) { + sudoers_gc_add(GC_PTR, env.envp); + return -1; + } + sudoers_gc_add(GC_PTR, nenvp); + env.envp = nenvp; + env.env_size = nsize; +#ifdef ENV_DEBUG + memset(env.envp + env.env_len, 0, + (env.env_size - env.env_len) * sizeof(char *)); +#endif + } + +#ifdef ENV_DEBUG + if (env.envp[env.env_len] != NULL) { + errno = EINVAL; + return -1; + } +#endif + + if (dupcheck) { + size_t len = (size_t)(equal - str) + 1; + for (ep = env.envp; *ep != NULL; ep++) { + if (strncmp(str, *ep, len) == 0) { + if (overwrite) + *ep = str; + found = true; + break; + } + } + /* Prune out extra instances of the variable we just overwrote. */ + if (found && overwrite) { + while (*++ep != NULL) { + if (strncmp(str, *ep, len) == 0) { + char **cur = ep; + while ((*cur = *(cur + 1)) != NULL) + cur++; + ep--; + } + } + env.env_len = ep - env.envp; + } + } + + if (!found) { + ep = env.envp + env.env_len; + env.env_len++; + *ep++ = str; + *ep = NULL; + } + return 0; +} + +/* + * Similar to putenv(3) but operates on sudo's private copy of the + * environment (not environ) and it always overwrites. The dupcheck param + * determines whether we need to verify that the variable is not already set. + * Will only overwrite an existing variable if overwrite is set. + */ +static int +sudo_putenv(char *str, bool dupcheck, bool overwrite) +{ + int ret; + debug_decl(sudo_putenv, SUDOERS_DEBUG_ENV); + + sudo_debug_printf(SUDO_DEBUG_INFO, "sudo_putenv: %s", str); + + ret = sudo_putenv_nodebug(str, dupcheck, overwrite); + if (ret == -1) { +#ifdef ENV_DEBUG + if (env.envp[env.env_len] != NULL) { + sudo_warnx("%s", + U_("sudo_putenv: corrupted envp, length mismatch")); + } +#endif + } + debug_return_int(ret); +} + +/* + * Similar to setenv(3) but operates on a private copy of the environment. + * The dupcheck param determines whether we need to verify that the variable + * is not already set. + */ +static int +sudo_setenv2(const char *var, const char *val, bool dupcheck, bool overwrite) +{ + char *estring; + size_t esize; + int ret = -1; + debug_decl(sudo_setenv2, SUDOERS_DEBUG_ENV); + + esize = strlen(var) + 1 + strlen(val) + 1; + if ((estring = malloc(esize)) == NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "unable to allocate memory"); + debug_return_int(-1); + } + + /* Build environment string and insert it. */ + if (strlcpy(estring, var, esize) >= esize || + strlcat(estring, "=", esize) >= esize || + strlcat(estring, val, esize) >= esize) { + + sudo_warnx(U_("internal error, %s overflow"), __func__); + errno = EOVERFLOW; + } else { + ret = sudo_putenv(estring, dupcheck, overwrite); + } + if (ret == -1) + free(estring); + else + sudoers_gc_add(GC_PTR, estring); + debug_return_int(ret); +} + +/* + * Similar to setenv(3) but operates on a private copy of the environment. + */ +int +sudo_setenv(const char *var, const char *val, int overwrite) +{ + return sudo_setenv2(var, val, true, (bool)overwrite); +} + +/* + * Similar to unsetenv(3) but operates on a private copy of the environment. + * Does not include warnings or debugging to avoid recursive calls. + */ +int +sudo_unsetenv_nodebug(const char *var) +{ + char **ep = env.envp; + size_t len; + + if (ep == NULL || var == NULL || *var == '\0' || strchr(var, '=') != NULL) { + errno = EINVAL; + return -1; + } + + len = strlen(var); + while (*ep != NULL) { + if (strncmp(var, *ep, len) == 0 && (*ep)[len] == '=') { + /* Found it; shift remainder + NULL over by one. */ + char **cur = ep; + while ((*cur = *(cur + 1)) != NULL) + cur++; + env.env_len--; + /* Keep going, could be multiple instances of the var. */ + } else { + ep++; + } + } + return 0; +} + +/* + * Similar to unsetenv(3) but operates on a private copy of the environment. + */ +int +sudo_unsetenv(const char *name) +{ + int ret; + debug_decl(sudo_unsetenv, SUDOERS_DEBUG_ENV); + + sudo_debug_printf(SUDO_DEBUG_INFO, "sudo_unsetenv: %s", name); + + ret = sudo_unsetenv_nodebug(name); + + debug_return_int(ret); +} + +/* + * Similar to getenv(3) but operates on a private copy of the environment. + * Does not include warnings or debugging to avoid recursive calls. + */ +char * +sudo_getenv_nodebug(const char *name) +{ + char **ep, *val = NULL; + size_t namelen = 0; + + if (env.env_len != 0) { + /* For BSD compatibility, treat '=' in name like end of string. */ + while (name[namelen] != '\0' && name[namelen] != '=') + namelen++; + for (ep = env.envp; *ep != NULL; ep++) { + if (strncmp(*ep, name, namelen) == 0 && (*ep)[namelen] == '=') { + val = *ep + namelen + 1; + break; + } + } + } + return val; +} + +/* + * Similar to getenv(3) but operates on a private copy of the environment. + */ +char * +sudo_getenv(const char *name) +{ + char *val; + debug_decl(sudo_getenv, SUDOERS_DEBUG_ENV); + + sudo_debug_printf(SUDO_DEBUG_INFO, "sudo_getenv: %s", name); + + val = sudo_getenv_nodebug(name); + + debug_return_str(val); +} + +/* + * Check for var against patterns in the specified environment list. + * Returns true if the variable was found, else false. + */ +static bool +matches_env_list(const char *var, struct list_members *list, bool *full_match) +{ + struct list_member *cur; + bool is_logname = false; + debug_decl(matches_env_list, SUDOERS_DEBUG_ENV); + + switch (*var) { + case 'L': + if (strncmp(var, "LOGNAME=", 8) == 0) + is_logname = true; +#ifdef _AIX + else if (strncmp(var, "LOGIN=", 6) == 0) + is_logname = true; +#endif + break; + case 'U': + if (strncmp(var, "USER=", 5) == 0) + is_logname = true; + break; + } + + if (is_logname) { + /* + * We treat LOGIN, LOGNAME and USER specially. + * If one is preserved/deleted we want to preserve/delete them all. + */ + SLIST_FOREACH(cur, list, entries) { + if (matches_env_pattern(cur->value, "LOGNAME", full_match) || +#ifdef _AIX + matches_env_pattern(cur->value, "LOGIN", full_match) || +#endif + matches_env_pattern(cur->value, "USER", full_match)) + debug_return_bool(true); + } + } else { + SLIST_FOREACH(cur, list, entries) { + if (matches_env_pattern(cur->value, var, full_match)) + debug_return_bool(true); + } + } + debug_return_bool(false); +} + +/* + * Check the env_delete blocklist. + * Returns true if the variable was found, else false. + */ +static bool +matches_env_delete(const char *var) +{ + bool full_match; /* unused */ + debug_decl(matches_env_delete, SUDOERS_DEBUG_ENV); + + /* Skip anything listed in env_delete. */ + debug_return_bool(matches_env_list(var, &def_env_delete, &full_match)); +} + +/* + * Verify the TZ environment variable is safe. + * On many systems it is possible to set this to a pathname. + */ +static bool +tz_is_safe(const char *tzval) +{ + const char *cp; + char lastch; + debug_decl(tz_is_safe, SUDOERS_DEBUG_ENV); + + /* tzcode treats a value beginning with a ':' as a path. */ + if (tzval[0] == ':') + tzval++; + + /* Reject fully-qualified TZ that doesn't being with the zoneinfo dir. */ + if (tzval[0] == '/') { +#ifdef _PATH_ZONEINFO + if (strncmp(tzval, _PATH_ZONEINFO, sizeof(_PATH_ZONEINFO) - 1) != 0 || + tzval[sizeof(_PATH_ZONEINFO) - 1] != '/') + debug_return_bool(false); +#else + /* Assume the worst. */ + debug_return_bool(false); +#endif + } + + /* + * Make sure TZ only contains printable non-space characters + * and does not contain a '..' path element. + */ + lastch = '/'; + for (cp = tzval; *cp != '\0'; cp++) { + if (isspace((unsigned char)*cp) || !isprint((unsigned char)*cp)) + debug_return_bool(false); + if (lastch == '/' && cp[0] == '.' && cp[1] == '.' && + (cp[2] == '/' || cp[2] == '\0')) + debug_return_bool(false); + lastch = *cp; + } + + /* Reject extra long TZ values (even if not a path). */ + if ((size_t)(cp - tzval) >= PATH_MAX) + debug_return_bool(false); + + debug_return_bool(true); +} + +/* + * Apply the env_check list. + * Returns true if the variable is allowed, false if denied + * or -1 if no match. + */ +static int +matches_env_check(const char *var, bool *full_match) +{ + int keepit = -1; + debug_decl(matches_env_check, SUDOERS_DEBUG_ENV); + + /* Skip anything listed in env_check that includes '/' or '%'. */ + if (matches_env_list(var, &def_env_check, full_match)) { + if (strncmp(var, "TZ=", 3) == 0) { + /* Special case for TZ */ + keepit = tz_is_safe(var + 3); + } else { + const char *val = strchr(var, '='); + if (val != NULL) + keepit = !strpbrk(val + 1, "/%"); + } + } + debug_return_int(keepit); +} + +/* + * Check the env_keep list. + * Returns true if the variable is allowed else false. + */ +static bool +matches_env_keep(const char *var, bool *full_match) +{ + bool keepit = false; + debug_decl(matches_env_keep, SUDOERS_DEBUG_ENV); + + /* Preserve SHELL variable for "sudo -s". */ + if (ISSET(sudo_mode, MODE_SHELL) && strncmp(var, "SHELL=", 6) == 0) { + keepit = true; + } else if (matches_env_list(var, &def_env_keep, full_match)) { + keepit = true; + } + debug_return_bool(keepit); +} + +/* + * Look up var in the env_delete and env_check. + * Returns true if we should delete the variable, else false. + */ +static bool +env_should_delete(const char *var) +{ + int delete_it; + bool full_match = false; + debug_decl(env_should_delete, SUDOERS_DEBUG_ENV); + + delete_it = matches_env_delete(var); + if (!delete_it) + delete_it = matches_env_check(var, &full_match) == false; + + sudo_debug_printf(SUDO_DEBUG_INFO, "delete %s: %s", + var, delete_it ? "YES" : "NO"); + debug_return_bool(delete_it); +} + +/* + * Lookup var in the env_check and env_keep lists. + * Returns true if the variable is allowed else false. + */ +static bool +env_should_keep(const char *var) +{ + int keepit; + bool full_match = false; + const char *cp; + debug_decl(env_should_keep, SUDOERS_DEBUG_ENV); + + keepit = matches_env_check(var, &full_match); + if (keepit == -1) + keepit = matches_env_keep(var, &full_match); + + /* Skip bash functions unless we matched on the value as well as name. */ + if (keepit && !full_match) { + if ((cp = strchr(var, '=')) != NULL) { + if (strncmp(cp, "=() ", 4) == 0) + keepit = false; + } + } + sudo_debug_printf(SUDO_DEBUG_INFO, "keep %s: %s", + var, keepit == true ? "YES" : "NO"); + debug_return_bool(keepit == true); +} + +#ifdef HAVE_PAM +/* + * Merge another environment with our private copy. + * Only overwrite an existing variable if it is not + * being preserved from the user's environment. + * Returns true on success or false on failure. + */ +bool +env_merge(char * const envp[]) +{ + char * const *ep; + bool ret = true; + debug_decl(env_merge, SUDOERS_DEBUG_ENV); + + for (ep = envp; *ep != NULL; ep++) { + /* XXX - avoid checking value here, should only check name */ + bool overwrite = def_env_reset ? !env_should_keep(*ep) : env_should_delete(*ep); + if (sudo_putenv(*ep, true, overwrite) == -1) { + /* XXX cannot undo on failure */ + ret = false; + break; + } + } + debug_return_bool(ret); +} +#endif /* HAVE_PAM */ + +static void +env_update_didvar(const char *ep, unsigned int *didvar) +{ + switch (*ep) { + case 'H': + if (strncmp(ep, "HOME=", 5) == 0) + SET(*didvar, DID_HOME); + break; + case 'L': +#ifdef _AIX + if (strncmp(ep, "LOGIN=", 8) == 0) + SET(*didvar, DID_LOGIN); +#endif + if (strncmp(ep, "LOGNAME=", 8) == 0) + SET(*didvar, DID_LOGNAME); + break; + case 'M': + if (strncmp(ep, "MAIL=", 5) == 0) + SET(*didvar, DID_MAIL); + break; + case 'P': + if (strncmp(ep, "PATH=", 5) == 0) + SET(*didvar, DID_PATH); + break; + case 'S': + if (strncmp(ep, "SHELL=", 6) == 0) + SET(*didvar, DID_SHELL); + break; + case 'T': + if (strncmp(ep, "TERM=", 5) == 0) + SET(*didvar, DID_TERM); + break; + case 'U': + if (strncmp(ep, "USER=", 5) == 0) + SET(*didvar, DID_USER); + break; + } +} + +#define CHECK_PUTENV(a, b, c) do { \ + if (sudo_putenv((char *)(a), (b), (c)) == -1) { \ + goto bad; \ + } \ +} while (0) + +#define CHECK_SETENV2(a, b, c, d) do { \ + if (sudo_setenv2((char *)(a), (b), (c), (d)) == -1) { \ + goto bad; \ + } \ +} while (0) + +/* + * Build a new environment and either clear potentially dangerous + * variables from the old one or start with a clean slate. + * Also adds sudo-specific variables (SUDO_*). + * Returns true on success or false on failure. + */ +bool +rebuild_env(void) +{ + char **ep, *cp, *ps1; + char idbuf[MAX_UID_T_LEN + 1]; + unsigned int didvar; + bool reset_home = false; + debug_decl(rebuild_env, SUDOERS_DEBUG_ENV); + + /* + * Either clean out the environment or reset to a safe default. + */ + ps1 = NULL; + didvar = 0; + env.env_len = 0; + env.env_size = 128; + sudoers_gc_remove(GC_PTR, env.old_envp); + free(env.old_envp); + env.old_envp = env.envp; + env.envp = reallocarray(NULL, env.env_size, sizeof(char *)); + if (env.envp == NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "unable to allocate memory"); + env.env_size = 0; + goto bad; + } + sudoers_gc_add(GC_PTR, env.envp); +#ifdef ENV_DEBUG + memset(env.envp, 0, env.env_size * sizeof(char *)); +#else + env.envp[0] = NULL; +#endif + + /* Reset HOME based on target user if configured to. */ + if (ISSET(sudo_mode, MODE_RUN)) { + if (def_always_set_home || + ISSET(sudo_mode, MODE_RESET_HOME | MODE_LOGIN_SHELL) || + (ISSET(sudo_mode, MODE_SHELL) && def_set_home)) + reset_home = true; + } + + if (def_env_reset || ISSET(sudo_mode, MODE_LOGIN_SHELL)) { + /* + * If starting with a fresh environment, initialize it based on + * /etc/environment or login.conf. For "sudo -i" we want those + * variables to override the invoking user's environment, so we + * defer reading them until later. + */ + if (!ISSET(sudo_mode, MODE_LOGIN_SHELL)) { +#ifdef HAVE_LOGIN_CAP_H + /* Insert login class environment variables. */ + if (login_class) { + login_cap_t *lc = login_getclass(login_class); + if (lc != NULL) { + setusercontext(lc, runas_pw, runas_pw->pw_uid, + LOGIN_SETPATH|LOGIN_SETENV); + login_close(lc); + } + } +#endif /* HAVE_LOGIN_CAP_H */ +#if defined(_AIX) || (defined(__linux__) && !defined(HAVE_PAM)) + /* Insert system-wide environment variables. */ + if (!read_env_file(_PATH_ENVIRONMENT, true, false)) + sudo_warn("%s", _PATH_ENVIRONMENT); +#endif + for (ep = env.envp; *ep; ep++) + env_update_didvar(*ep, &didvar); + } + + /* Pull in vars we want to keep from the old environment. */ + if (env.old_envp != NULL) { + for (ep = env.old_envp; *ep; ep++) { + bool keepit; + + /* + * Look up the variable in the env_check and env_keep lists. + */ + keepit = env_should_keep(*ep); + + /* + * Do SUDO_PS1 -> PS1 conversion. + * This must happen *after* env_should_keep() is called. + */ + if (strncmp(*ep, "SUDO_PS1=", 9) == 0) + ps1 = *ep + 5; + + if (keepit) { + /* Preserve variable. */ + CHECK_PUTENV(*ep, true, false); + env_update_didvar(*ep, &didvar); + } + } + } + didvar |= didvar << 16; /* convert DID_* to KEPT_* */ + + /* + * Add in defaults. In -i mode these come from the runas user, + * otherwise they may be from the user's environment (depends + * on sudoers options). + */ + if (ISSET(sudo_mode, MODE_LOGIN_SHELL)) { + CHECK_SETENV2("SHELL", runas_pw->pw_shell, + ISSET(didvar, DID_SHELL), true); +#ifdef _AIX + CHECK_SETENV2("LOGIN", runas_pw->pw_name, + ISSET(didvar, DID_LOGIN), true); +#endif + CHECK_SETENV2("LOGNAME", runas_pw->pw_name, + ISSET(didvar, DID_LOGNAME), true); + CHECK_SETENV2("USER", runas_pw->pw_name, + ISSET(didvar, DID_USER), true); + } else { + /* We will set LOGNAME later in the def_set_logname case. */ + if (!def_set_logname) { +#ifdef _AIX + if (!ISSET(didvar, DID_LOGIN)) + CHECK_SETENV2("LOGIN", user_name, false, true); +#endif + if (!ISSET(didvar, DID_LOGNAME)) + CHECK_SETENV2("LOGNAME", user_name, false, true); + if (!ISSET(didvar, DID_USER)) + CHECK_SETENV2("USER", user_name, false, true); + } + } + + /* If we didn't keep HOME, reset it based on target user. */ + if (!ISSET(didvar, KEPT_HOME)) + reset_home = true; + + /* + * Set MAIL to target user in -i mode or if MAIL is not preserved + * from user's environment. + */ + if (ISSET(sudo_mode, MODE_LOGIN_SHELL) || !ISSET(didvar, KEPT_MAIL)) { + if (_PATH_MAILDIR[sizeof(_PATH_MAILDIR) - 2] == '/') { + if (asprintf(&cp, "MAIL=%s%s", _PATH_MAILDIR, runas_pw->pw_name) == -1) + goto bad; + } else { + if (asprintf(&cp, "MAIL=%s/%s", _PATH_MAILDIR, runas_pw->pw_name) == -1) + goto bad; + } + if (sudo_putenv(cp, ISSET(didvar, DID_MAIL), true) == -1) { + free(cp); + goto bad; + } + sudoers_gc_add(GC_PTR, cp); + } + } else { + /* + * Copy environ entries as long as they don't match env_delete or + * env_check. + */ + if (env.old_envp != NULL) { + for (ep = env.old_envp; *ep; ep++) { + /* Add variable unless it matches a blocklist. */ + if (!env_should_delete(*ep)) { + if (strncmp(*ep, "SUDO_PS1=", 9) == 0) + ps1 = *ep + 5; + else if (strncmp(*ep, "SHELL=", 6) == 0) + SET(didvar, DID_SHELL); + else if (strncmp(*ep, "PATH=", 5) == 0) + SET(didvar, DID_PATH); + else if (strncmp(*ep, "TERM=", 5) == 0) + SET(didvar, DID_TERM); + CHECK_PUTENV(*ep, true, false); + } + } + } + } + /* Replace the PATH envariable with a secure one? */ + if (def_secure_path && !user_is_exempt()) { + CHECK_SETENV2("PATH", def_secure_path, true, true); + SET(didvar, DID_PATH); + } + + /* + * Set LOGIN, LOGNAME, and USER to target if "set_logname" is not + * disabled. We skip this if we are running a login shell (because + * they have already been set). + */ + if (def_set_logname && !ISSET(sudo_mode, MODE_LOGIN_SHELL)) { + if ((didvar & KEPT_USER_VARIABLES) == 0) { + /* Nothing preserved, set them all. */ +#ifdef _AIX + CHECK_SETENV2("LOGIN", runas_pw->pw_name, true, true); +#endif + CHECK_SETENV2("LOGNAME", runas_pw->pw_name, true, true); + CHECK_SETENV2("USER", runas_pw->pw_name, true, true); + } else if ((didvar & KEPT_USER_VARIABLES) != KEPT_USER_VARIABLES) { + /* + * Preserved some of LOGIN, LOGNAME, USER but not all. + * Make the unset ones match so we don't end up with some + * set to the invoking user and others set to the runas user. + */ + if (ISSET(didvar, KEPT_LOGNAME)) + cp = sudo_getenv("LOGNAME"); +#ifdef _AIX + else if (ISSET(didvar, KEPT_LOGIN)) + cp = sudo_getenv("LOGIN"); +#endif + else if (ISSET(didvar, KEPT_USER)) + cp = sudo_getenv("USER"); + else + cp = NULL; + if (cp != NULL) { +#ifdef _AIX + if (!ISSET(didvar, KEPT_LOGIN)) + CHECK_SETENV2("LOGIN", cp, true, true); +#endif + if (!ISSET(didvar, KEPT_LOGNAME)) + CHECK_SETENV2("LOGNAME", cp, true, true); + if (!ISSET(didvar, KEPT_USER)) + CHECK_SETENV2("USER", cp, true, true); + } + } + } + + /* Set $HOME to target user if not preserving user's value. */ + if (reset_home) + CHECK_SETENV2("HOME", runas_pw->pw_dir, true, true); + + /* Provide default values for $SHELL, $TERM and $PATH if not set. */ + if (!ISSET(didvar, DID_SHELL)) + CHECK_SETENV2("SHELL", runas_pw->pw_shell, false, false); + if (!ISSET(didvar, DID_TERM)) + CHECK_PUTENV("TERM=unknown", false, false); + if (!ISSET(didvar, DID_PATH)) + CHECK_SETENV2("PATH", _PATH_STDPATH, false, true); + + /* Set PS1 if SUDO_PS1 is set. */ + if (ps1 != NULL) + CHECK_PUTENV(ps1, true, true); + + /* Add the SUDO_COMMAND envariable (cmnd + args). */ + if (user_args) { + /* + * We limit user_args to 4096 bytes to avoid an execve() failure + * for very long argument vectors. The command's environment also + * counts against the ARG_MAX limit. + */ + if (asprintf(&cp, "SUDO_COMMAND=%s %.*s", user_cmnd, 4096, user_args) == -1) + goto bad; + if (sudo_putenv(cp, true, true) == -1) { + free(cp); + goto bad; + } + sudoers_gc_add(GC_PTR, cp); + } else { + CHECK_SETENV2("SUDO_COMMAND", user_cmnd, true, true); + } + + /* Add the SUDO_USER, SUDO_UID, SUDO_GID environment variables. */ + CHECK_SETENV2("SUDO_USER", user_name, true, true); + (void)snprintf(idbuf, sizeof(idbuf), "%u", (unsigned int) user_uid); + CHECK_SETENV2("SUDO_UID", idbuf, true, true); + (void)snprintf(idbuf, sizeof(idbuf), "%u", (unsigned int) user_gid); + CHECK_SETENV2("SUDO_GID", idbuf, true, true); + + debug_return_bool(true); + +bad: + sudo_warn("%s", U_("unable to rebuild the environment")); + debug_return_bool(false); +} + +/* + * Insert all environment variables in envp into the private copy + * of the environment. + * Returns true on success or false on failure. + */ +bool +insert_env_vars(char * const envp[]) +{ + char * const *ep; + bool ret = true; + debug_decl(insert_env_vars, SUDOERS_DEBUG_ENV); + + /* Add user-specified environment variables. */ + if (envp != NULL) { + for (ep = envp; *ep != NULL; ep++) { + /* XXX - no undo on failure */ + if (sudo_putenv(*ep, true, true) == -1) { + ret = false; + break; + } + } + } + debug_return_bool(ret); +} + +/* + * Validate the list of environment variables passed in on the command + * line against env_delete, env_check, and env_keep. + * Calls log_warning() if any specified variables are not allowed. + * Returns true if allowed, else false. + */ +bool +validate_env_vars(char * const env_vars[]) +{ + char * const *ep; + char errbuf[4096]; + char *errpos = errbuf; + bool okvar, ret = true; + debug_decl(validate_env_vars, SUDOERS_DEBUG_ENV); + + if (env_vars == NULL) + debug_return_bool(true); /* nothing to do */ + + /* Add user-specified environment variables. */ + for (ep = env_vars; *ep != NULL; ep++) { + char *eq = strchr(*ep, '='); + if (eq == NULL || eq == *ep) { + /* Must be in the form var=val. */ + okvar = false; + } else if (def_secure_path && !user_is_exempt() && + strncmp(*ep, "PATH=", 5) == 0) { + okvar = false; + } else if (def_env_reset) { + okvar = env_should_keep(*ep); + } else { + okvar = !env_should_delete(*ep); + } + if (okvar == false) { + /* Not allowed, append to error buffer if space remains. */ + if (errpos < &errbuf[sizeof(errbuf)]) { + size_t varlen = strcspn(*ep, "="); + int len = snprintf(errpos, sizeof(errbuf) - (errpos - errbuf), + "%s%.*s", errpos != errbuf ? ", " : "", (int)varlen, *ep); + if (len >= ssizeof(errbuf) - (errpos - errbuf)) { + memcpy(&errbuf[sizeof(errbuf) - 4], "...", 4); + errpos = &errbuf[sizeof(errbuf)]; + } else { + errpos += len; + } + } + } + } + if (errpos != errbuf) { + /* XXX - audit? */ + log_warningx(0, + N_("sorry, you are not allowed to set the following environment variables: %s"), errbuf); + ret = false; + } + debug_return_bool(ret); +} + +static void * +env_file_open_local(const char *path) +{ + struct env_file_local *efl; + debug_decl(env_file_open_local, SUDOERS_DEBUG_ENV); + + efl = calloc(1, sizeof(*efl)); + if (efl != NULL) { + if ((efl->fp = fopen(path, "r")) == NULL) { + if (errno != ENOENT) { + free(efl); + efl = NULL; + } + } + } + debug_return_ptr(efl); +} + +static void +env_file_close_local(void *cookie) +{ + struct env_file_local *efl = cookie; + debug_decl(env_file_close_local, SUDOERS_DEBUG_ENV); + + if (efl != NULL) { + if (efl->fp != NULL) + fclose(efl->fp); + free(efl->line); + free(efl); + } + debug_return; +} + +/* + * Parse /etc/environment lines ala AIX and Linux. + * Lines may be in either of three formats: + * NAME=VALUE + * NAME="VALUE" + * NAME='VALUE' + * with an optional "export" prefix so the shell can source the file. + * Invalid lines, blank lines, or lines consisting solely of a comment + * character are skipped. + */ +static char * +env_file_next_local(void *cookie, int *errnum) +{ + struct env_file_local *efl = cookie; + char *var, *val, *ret = NULL; + size_t var_len, val_len; + debug_decl(env_file_next_local, SUDOERS_DEBUG_ENV); + + *errnum = 0; + if (efl->fp == NULL) + debug_return_ptr(NULL); + + for (;;) { + if (sudo_parseln(&efl->line, &efl->linesize, NULL, efl->fp, PARSELN_CONT_IGN) == -1) { + if (!feof(efl->fp)) + *errnum = errno; + break; + } + + /* Skip blank or comment lines */ + if (*(var = efl->line) == '\0') + continue; + + /* Skip optional "export " */ + if (strncmp(var, "export", 6) == 0 && isspace((unsigned char) var[6])) { + var += 7; + while (isspace((unsigned char) *var)) { + var++; + } + } + + /* Must be of the form name=["']value['"] */ + for (val = var; *val != '\0' && *val != '='; val++) + continue; + if (var == val || *val != '=') + continue; + var_len = (size_t)(val - var); + val_len = strlen(++val); + + /* Strip leading and trailing single/double quotes */ + if ((val[0] == '\'' || val[0] == '\"') && val_len > 1 && val[0] == val[val_len - 1]) { + val[val_len - 1] = '\0'; + val++; + val_len -= 2; + } + + if ((ret = malloc(var_len + 1 + val_len + 1)) == NULL) { + *errnum = errno; + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "unable to allocate memory"); + } else { + memcpy(ret, var, var_len + 1); /* includes '=' */ + memcpy(ret + var_len + 1, val, val_len + 1); /* includes NUL */ + sudoers_gc_add(GC_PTR, ret); + } + break; + } + debug_return_str(ret); +} + +static struct sudoers_env_file env_file_sudoers = { + env_file_open_local, + env_file_close_local, + env_file_next_local +}; + +static struct sudoers_env_file env_file_system = { + env_file_open_local, + env_file_close_local, + env_file_next_local +}; + +void +register_env_file(void * (*ef_open)(const char *), void (*ef_close)(void *), + char * (*ef_next)(void *, int *), bool sys) +{ + struct sudoers_env_file *ef = sys ? &env_file_system : &env_file_sudoers; + + ef->open = ef_open; + ef->close = ef_close; + ef->next = ef_next; +} + +bool +read_env_file(const char *path, bool overwrite, bool restricted) +{ + struct sudoers_env_file *ef; + bool ret = true; + char *envstr; + void *cookie; + int errnum; + debug_decl(read_env_file, SUDOERS_DEBUG_ENV); + + /* + * The environment file may be handled differently depending on + * whether it is specified in sudoers or the system. + */ + if (path == def_env_file || path == def_restricted_env_file) + ef = &env_file_sudoers; + else + ef = &env_file_system; + + cookie = ef->open(path); + if (cookie == NULL) + debug_return_bool(false); + + for (;;) { + /* Keep reading until EOF or error. */ + if ((envstr = ef->next(cookie, &errnum)) == NULL) { + if (errnum != 0) + ret = false; + break; + } + + /* + * If the env file is restricted, apply env_check and env_keep + * when env_reset is set or env_delete when it is not. + */ + if (restricted) { + if (def_env_reset ? !env_should_keep(envstr) : env_should_delete(envstr)) { + free(envstr); + continue; + } + } + if (sudo_putenv(envstr, true, overwrite) == -1) { + /* XXX - no undo on failure */ + ret = false; + break; + } + } + ef->close(cookie); + + debug_return_bool(ret); +} + +bool +init_envtables(void) +{ + struct list_member *cur; + const char **p; + debug_decl(init_envtables, SUDOERS_DEBUG_ENV); + + /* Fill in the "env_delete" list. */ + for (p = initial_badenv_table; *p; p++) { + cur = calloc(1, sizeof(struct list_member)); + if (cur == NULL || (cur->value = strdup(*p)) == NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "unable to allocate memory"); + free(cur); + debug_return_bool(false); + } + SLIST_INSERT_HEAD(&def_env_delete, cur, entries); + } + + /* Fill in the "env_check" list. */ + for (p = initial_checkenv_table; *p; p++) { + cur = calloc(1, sizeof(struct list_member)); + if (cur == NULL || (cur->value = strdup(*p)) == NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "unable to allocate memory"); + free(cur); + debug_return_bool(false); + } + SLIST_INSERT_HEAD(&def_env_check, cur, entries); + } + + /* Fill in the "env_keep" list. */ + for (p = initial_keepenv_table; *p; p++) { + cur = calloc(1, sizeof(struct list_member)); + if (cur == NULL || (cur->value = strdup(*p)) == NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "unable to allocate memory"); + free(cur); + debug_return_bool(false); + } + SLIST_INSERT_HEAD(&def_env_keep, cur, entries); + } + debug_return_bool(true); +} diff --git a/plugins/sudoers/env_pattern.c b/plugins/sudoers/env_pattern.c new file mode 100644 index 0000000..d1b9a1b --- /dev/null +++ b/plugins/sudoers/env_pattern.c @@ -0,0 +1,93 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2017 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include + +#include "sudoers.h" + +/* extern for regress tests */ +bool +matches_env_pattern(const char *pattern, const char *var, bool *full_match) +{ + size_t len, sep_pos; + bool iswild = false, match = false; + bool saw_sep = false; + const char *cp; + debug_decl(matches_env_pattern, SUDOERS_DEBUG_ENV); + + /* Locate position of the '=' separator in var=value. */ + sep_pos = strcspn(var, "="); + + /* Locate '*' wildcard and compute len. */ + for (cp = pattern; *cp != '\0'; cp++) { + if (*cp == '*') { + iswild = true; + break; + } + } + len = (size_t)(cp - pattern); + + if (iswild) { + /* Match up to the '*' wildcard. */ + if (strncmp(pattern, var, len) == 0) { + while (*cp != '\0') { + if (*cp == '*') { + /* Collapse sequential '*'s */ + do { + cp++; + } while (*cp == '*'); + /* A '*' at the end of a pattern matches anything. */ + if (*cp == '\0') { + match = true; + break; + } + /* Keep track of whether we matched an equal sign. */ + if (*cp == '=') + saw_sep = true; + /* Look for first match of text after the '*' */ + while ((saw_sep || len != sep_pos) && + var[len] != '\0' && var[len] != *cp) + len++; + } + if (var[len] != *cp) + break; + cp++; + len++; + } + if (*cp == '\0' && (len == sep_pos || var[len] == '\0')) + match = true; + } + } else { + if (strncmp(pattern, var, len) == 0 && + (len == sep_pos || var[len] == '\0')) { + match = true; + } + } + if (match) + *full_match = len > sep_pos + 1; + debug_return_bool(match); +} diff --git a/plugins/sudoers/exptilde.c b/plugins/sudoers/exptilde.c new file mode 100644 index 0000000..b6e8a60 --- /dev/null +++ b/plugins/sudoers/exptilde.c @@ -0,0 +1,99 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2020 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include +#include +#include + +#include "sudoers.h" +#include "pwutil.h" + +/* + * Expand leading tilde in *path, which must be dynamically allocated. + * Replaces path with the expanded version as needed, freeing the old one. + * Returns true on success, false on failure. + */ +bool +expand_tilde(char **path, const char *user) +{ + char *npath, *opath = *path; + char *slash = NULL; + struct passwd *pw; + int len; + debug_decl(expand_tilde, SUDOERS_DEBUG_UTIL); + + switch (*opath++) { + case '/': + /* A fully-qualified path, nothing to do. */ + debug_return_bool(true); + case '~': + /* See below. */ + break; + default: + /* Not a fully-qualified path or one that starts with a tilde. */ + debug_return_bool(false); + } + + switch (*opath) { + case '\0': + /* format: ~ */ + break; + case '/': + /* format: ~/foo */ + opath++; + break; + default: + /* format: ~user/foo */ + user = opath; + slash = strchr(opath, '/'); + if (slash != NULL) { + *slash = '\0'; + opath = slash + 1; + } else { + opath = (char *)""; + } + } + pw = sudo_getpwnam(user); + if (slash != NULL) + *slash = '/'; + if (pw == NULL) { + /* Unknown user. */ + sudo_warnx(U_("unknown user %s"), user); + debug_return_bool(false); + } + + len = asprintf(&npath, "%s%s%s", pw->pw_dir, *opath ? "/" : "", opath); + sudo_pw_delref(pw); + if (len == -1) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + debug_return_bool(false); + } + + free(*path); + *path = npath; + debug_return_bool(true); +} diff --git a/plugins/sudoers/file.c b/plugins/sudoers/file.c new file mode 100644 index 0000000..3ccf141 --- /dev/null +++ b/plugins/sudoers/file.c @@ -0,0 +1,145 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2004-2005, 2007-2022 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include + +#include "sudoers.h" +#include "parse.h" +#include "sudo_lbuf.h" +#include + +struct sudo_file_handle { + FILE *fp; + struct sudoers_parse_tree parse_tree; +}; + +static int +sudo_file_close(struct sudo_nss *nss) +{ + debug_decl(sudo_file_close, SUDOERS_DEBUG_NSS); + struct sudo_file_handle *handle = nss->handle; + + if (handle != NULL) { + fclose(handle->fp); + sudoersin = NULL; + + free_parse_tree(&handle->parse_tree); + free(handle); + nss->handle = NULL; + } + + debug_return_int(0); +} + +static int +sudo_file_open(struct sudo_nss *nss) +{ + debug_decl(sudo_file_open, SUDOERS_DEBUG_NSS); + struct sudo_file_handle *handle; + + /* Note: relies on defaults being initialized early. */ + if (def_ignore_local_sudoers) + debug_return_int(-1); + + if (nss->handle != NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR, + "%s: called with non-NULL handle %p", __func__, nss->handle); + sudo_file_close(nss); + } + + handle = malloc(sizeof(*handle)); + if (handle != NULL) { + handle->fp = open_sudoers(sudoers_file, false, NULL); + if (handle->fp != NULL) { + init_parse_tree(&handle->parse_tree, NULL, NULL); + } else { + free(handle); + handle = NULL; + } + } + nss->handle = handle; + debug_return_int(nss->handle ? 0 : -1); +} + +/* + * Parse and return the specified sudoers file. + */ +static struct sudoers_parse_tree * +sudo_file_parse(struct sudo_nss *nss) +{ + debug_decl(sudo_file_close, SUDOERS_DEBUG_NSS); + struct sudo_file_handle *handle = nss->handle; + int error; + + if (handle == NULL || handle->fp == NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR, "%s: called with NULL %s", + __func__, handle ? "file pointer" : "handle"); + debug_return_ptr(NULL); + } + + sudoersin = handle->fp; + error = sudoersparse(); + if (error || (parse_error && !sudoers_recovery)) { + /* unrecoverable error */ + debug_return_ptr(NULL); + } + + /* Move parsed sudoers policy to nss handle. */ + reparent_parse_tree(&handle->parse_tree); + + debug_return_ptr(&handle->parse_tree); +} + +/* + * No need for explicit sudoers queries, the parse function handled it. + */ +static int +sudo_file_query(struct sudo_nss *nss, struct passwd *pw) +{ + debug_decl(sudo_file_query, SUDOERS_DEBUG_NSS); + debug_return_int(0); +} + +/* + * No need to get defaults for sudoers file, the parse function handled it. + */ +static int +sudo_file_getdefs(struct sudo_nss *nss) +{ + debug_decl(sudo_file_getdefs, SUDOERS_DEBUG_NSS); + debug_return_int(0); +} + +/* sudo_nss implementation */ +struct sudo_nss sudo_nss_file = { + { NULL, NULL }, + "sudoers", + sudo_file_open, + sudo_file_close, + sudo_file_parse, + sudo_file_query, + sudo_file_getdefs +}; diff --git a/plugins/sudoers/filedigest.c b/plugins/sudoers/filedigest.c new file mode 100644 index 0000000..24807aa --- /dev/null +++ b/plugins/sudoers/filedigest.c @@ -0,0 +1,92 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2013-2018 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include +#include +#include +#include + +#include "sudoers.h" +#include "sudo_digest.h" + +unsigned char * +sudo_filedigest(int fd, const char *file, int digest_type, size_t *digest_len) +{ + unsigned char *file_digest = NULL; + unsigned char buf[32 * 1024]; + struct sudo_digest *dig = NULL; + FILE *fp = NULL; + size_t nread; + int fd2; + debug_decl(sudo_filedigest, SUDOERS_DEBUG_UTIL); + + *digest_len = sudo_digest_getlen(digest_type); + if (*digest_len == (size_t)-1) { + sudo_warnx(U_("unsupported digest type %d for %s"), digest_type, file); + goto bad; + } + + if ((dig = sudo_digest_alloc(digest_type)) == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + goto bad; + } + + if ((fd2 = dup(fd)) == -1) { + sudo_debug_printf(SUDO_DEBUG_INFO, "unable to dup %s: %s", + file, strerror(errno)); + goto bad; + } + if ((fp = fdopen(fd2, "r")) == NULL) { + sudo_debug_printf(SUDO_DEBUG_INFO, "unable to fdopen %s: %s", + file, strerror(errno)); + close(fd2); + goto bad; + } + if ((file_digest = malloc(*digest_len)) == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + goto bad; + } + + while ((nread = fread(buf, 1, sizeof(buf), fp)) != 0) { + sudo_digest_update(dig, buf, nread); + } + if (ferror(fp)) { + sudo_warnx(U_("%s: read error"), file); + goto bad; + } + sudo_digest_final(dig, file_digest); + sudo_digest_free(dig); + fclose(fp); + + debug_return_ptr(file_digest); +bad: + sudo_digest_free(dig); + free(file_digest); + if (fp != NULL) + fclose(fp); + debug_return_ptr(NULL); +} diff --git a/plugins/sudoers/find_path.c b/plugins/sudoers/find_path.c new file mode 100644 index 0000000..3ca3d4d --- /dev/null +++ b/plugins/sudoers/find_path.c @@ -0,0 +1,172 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1996, 1998-2005, 2010-2015, 2017-2019 + * Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Sponsored in part by the Defense Advanced Research Projects + * Agency (DARPA) and Air Force Research Laboratory, Air Force + * Materiel Command, USAF, under agreement number F39502-99-1-0512. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include +#include +#include +#include + +#include "sudoers.h" + +/* + * Check the given command against the specified allowlist (NULL-terminated). + * On success, rewrites cmnd based on the allowlist and returns true. + * On failure, returns false. + */ +static bool +cmnd_allowed(char *cmnd, size_t cmnd_size, const char *runchroot, + struct stat *cmnd_sbp, char * const *allowlist) +{ + const char *cmnd_base; + char * const *al; + debug_decl(cmnd_allowed, SUDOERS_DEBUG_UTIL); + + if (!sudo_goodpath(cmnd, runchroot, cmnd_sbp)) + debug_return_bool(false); + + if (allowlist == NULL) + debug_return_bool(true); /* nothing to check */ + + /* We compare the base names to avoid excessive stat()ing. */ + cmnd_base = sudo_basename(cmnd); + + for (al = allowlist; *al != NULL; al++) { + const char *base, *path = *al; + struct stat sb; + + base = sudo_basename(path); + if (strcmp(cmnd_base, base) != 0) + continue; + + if (sudo_goodpath(path, runchroot, &sb) && + sb.st_dev == cmnd_sbp->st_dev && sb.st_ino == cmnd_sbp->st_ino) { + /* Overwrite cmnd with safe version from allowlist. */ + if (strlcpy(cmnd, path, cmnd_size) < cmnd_size) + debug_return_bool(true); + } + } + debug_return_bool(false); +} + +/* + * This function finds the full pathname for a command and + * stores it in a statically allocated array, filling in a pointer + * to the array. Returns FOUND if the command was found, NOT_FOUND + * if it was not found, or NOT_FOUND_DOT if it would have been found + * but it is in '.' and IGNORE_DOT is set. + * The caller is responsible for freeing the output file. + */ +int +find_path(const char *infile, char **outfile, struct stat *sbp, + const char *path, const char *runchroot, int ignore_dot, + char * const *allowlist) +{ + char command[PATH_MAX]; + const char *cp, *ep, *pathend; + bool found = false; + bool checkdot = false; + int len; + debug_decl(find_path, SUDOERS_DEBUG_UTIL); + + sudo_debug_printf(SUDO_DEBUG_INFO|SUDO_DEBUG_LINENO, + "resolving %s", infile); + + /* + * If we were given a fully qualified or relative path + * there is no need to look at $PATH. + */ + if (strchr(infile, '/') != NULL) { + if (strlcpy(command, infile, sizeof(command)) >= sizeof(command)) { + errno = ENAMETOOLONG; + debug_return_int(NOT_FOUND_ERROR); + } + found = cmnd_allowed(command, sizeof(command), runchroot, sbp, + allowlist); + goto done; + } + + if (path == NULL) + debug_return_int(NOT_FOUND); + + pathend = path + strlen(path); + for (cp = sudo_strsplit(path, pathend, ":", &ep); cp != NULL; + cp = sudo_strsplit(NULL, pathend, ":", &ep)) { + + /* + * Search current dir last if it is in PATH. + * This will miss sneaky things like using './' or './/' (XXX) + */ + if (cp == ep || (*cp == '.' && cp + 1 == ep)) { + checkdot = 1; + continue; + } + + /* + * Resolve the path and exit the loop if found. + */ + len = snprintf(command, sizeof(command), "%.*s/%s", + (int)(ep - cp), cp, infile); + if (len < 0 || len >= ssizeof(command)) { + errno = ENAMETOOLONG; + debug_return_int(NOT_FOUND_ERROR); + } + found = cmnd_allowed(command, sizeof(command), runchroot, + sbp, allowlist); + if (found) + break; + } + + /* + * Check current dir if dot was in the PATH + */ + if (!found && checkdot) { + len = snprintf(command, sizeof(command), "./%s", infile); + if (len < 0 || len >= ssizeof(command)) { + errno = ENAMETOOLONG; + debug_return_int(NOT_FOUND_ERROR); + } + found = cmnd_allowed(command, sizeof(command), runchroot, + sbp, allowlist); + if (found && ignore_dot) + debug_return_int(NOT_FOUND_DOT); + } + +done: + if (found) { + sudo_debug_printf(SUDO_DEBUG_INFO|SUDO_DEBUG_LINENO, + "found %s", command); + if ((*outfile = strdup(command)) == NULL) + debug_return_int(NOT_FOUND_ERROR); + debug_return_int(FOUND); + } + debug_return_int(NOT_FOUND); +} diff --git a/plugins/sudoers/fmtsudoers.c b/plugins/sudoers/fmtsudoers.c new file mode 100644 index 0000000..8f0ab05 --- /dev/null +++ b/plugins/sudoers/fmtsudoers.c @@ -0,0 +1,318 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2004-2005, 2007-2021 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include +#include +#include + +#include "sudoers.h" +#include "sudo_lbuf.h" +#include + +/* + * Write the contents of a struct member to the lbuf. + * If alias_type is not UNSPEC, expand aliases using that type with + * the specified separator (which must not be NULL in the UNSPEC case). + */ +static bool +sudoers_format_member_int(struct sudo_lbuf *lbuf, + struct sudoers_parse_tree *parse_tree, char *name, int type, bool negated, + const char *separator, int alias_type) +{ + struct alias *a; + struct member *m; + struct sudo_command *c; + struct command_digest *digest; + debug_decl(sudoers_format_member_int, SUDOERS_DEBUG_UTIL); + + switch (type) { + case MYSELF: + sudo_lbuf_append(lbuf, "%s%s", negated ? "!" : "", + list_pw ? list_pw->pw_name : (user_name ? user_name : "")); + break; + case ALL: + if (name == NULL) { + sudo_lbuf_append(lbuf, "%sALL", negated ? "!" : ""); + break; + } + FALLTHROUGH; + case COMMAND: + c = (struct sudo_command *) name; + TAILQ_FOREACH(digest, &c->digests, entries) { + sudo_lbuf_append(lbuf, "%s:%s%s ", + digest_type_to_name(digest->digest_type), + digest->digest_str, TAILQ_NEXT(digest, entries) ? "," : ""); + } + if (negated) + sudo_lbuf_append(lbuf, "!"); + if (c->cmnd == NULL || c->cmnd[0] == '^') { + /* No additional quoting of characters inside a regex. */ + sudo_lbuf_append(lbuf, "%s", c->cmnd ? c->cmnd : "ALL"); + } else { + sudo_lbuf_append_quoted(lbuf, SUDOERS_QUOTED_CMD, "%s", + c->cmnd); + } + if (c->args != NULL) { + sudo_lbuf_append(lbuf, " "); + if (c->args[0] == '^') { + /* No additional quoting of characters inside a regex. */ + sudo_lbuf_append(lbuf, "%s", c->args); + } else { + sudo_lbuf_append_quoted(lbuf, SUDOERS_QUOTED_ARG, "%s", + c->args); + } + } + break; + case USERGROUP: + /* Special case for %#gid, %:non-unix-group, %:#non-unix-gid */ + if (strpbrk(name, " \t") == NULL) { + if (*++name == ':') { + name++; + sudo_lbuf_append(lbuf, "%s", "%:"); + } else { + sudo_lbuf_append(lbuf, "%s", "%"); + } + } + goto print_word; + case ALIAS: + if (alias_type != UNSPEC) { + if ((a = alias_get(parse_tree, name, alias_type)) != NULL) { + TAILQ_FOREACH(m, &a->members, entries) { + if (m != TAILQ_FIRST(&a->members)) + sudo_lbuf_append(lbuf, "%s", separator); + sudoers_format_member_int(lbuf, parse_tree, m->name, + m->type, negated ? !m->negated : m->negated, + separator, alias_type); + } + alias_put(a); + break; + } + } + FALLTHROUGH; + default: + print_word: + /* Do not quote UID/GID, all others get quoted. */ + if (name[0] == '#' && + name[strspn(name + 1, "0123456789") + 1] == '\0') { + sudo_lbuf_append(lbuf, "%s%s", negated ? "!" : "", name); + } else { + if (strpbrk(name, " \t") != NULL) { + sudo_lbuf_append(lbuf, "%s\"", negated ? "!" : ""); + sudo_lbuf_append_quoted(lbuf, "\"", "%s", name); + sudo_lbuf_append(lbuf, "\""); + } else { + sudo_lbuf_append_quoted(lbuf, SUDOERS_QUOTED, "%s%s", + negated ? "!" : "", name); + } + } + break; + } + debug_return_bool(!sudo_lbuf_error(lbuf)); +} + +bool +sudoers_format_member(struct sudo_lbuf *lbuf, + struct sudoers_parse_tree *parse_tree, struct member *m, + const char *separator, int alias_type) +{ + return sudoers_format_member_int(lbuf, parse_tree, m->name, m->type, + m->negated, separator, alias_type); +} + +/* + * Store a defaults entry as a command tag. + */ +bool +sudoers_defaults_to_tags(const char *var, const char *val, int op, + struct cmndtag *tags) +{ + bool ret = true; + debug_decl(sudoers_defaults_to_tags, SUDOERS_DEBUG_UTIL); + + if (op == true || op == false) { + if (strcmp(var, "authenticate") == 0) { + tags->nopasswd = op == false; + } else if (strcmp(var, "sudoedit_follow") == 0) { + tags->follow = op == true; + } else if (strcmp(var, "log_input") == 0) { + tags->log_input = op == true; + } else if (strcmp(var, "log_output") == 0) { + tags->log_output = op == true; + } else if (strcmp(var, "noexec") == 0) { + tags->noexec = op == true; + } else if (strcmp(var, "intercept") == 0) { + tags->intercept = op == true; + } else if (strcmp(var, "setenv") == 0) { + tags->setenv = op == true; + } else if (strcmp(var, "mail_all_cmnds") == 0 || + strcmp(var, "mail_always") == 0 || + strcmp(var, "mail_no_perms") == 0) { + tags->send_mail = op == true; + } else { + ret = false; + } + } else { + ret = false; + } + debug_return_bool(ret); +} + +/* + * Convert a defaults list to command tags. + */ +bool +sudoers_defaults_list_to_tags(struct defaults_list *defs, struct cmndtag *tags) +{ + bool ret = true; + struct defaults *d; + debug_decl(sudoers_defaults_list_to_tags, SUDOERS_DEBUG_UTIL); + + TAGS_INIT(tags); + if (defs != NULL) { + TAILQ_FOREACH(d, defs, entries) { + if (!sudoers_defaults_to_tags(d->var, d->val, d->op, tags)) { + if (d->val != NULL) { + sudo_debug_printf(SUDO_DEBUG_WARN, + "unable to convert defaults to tag: %s%s%s", d->var, + d->op == '+' ? "+=" : d->op == '-' ? "-=" : "=", d->val); + } else { + sudo_debug_printf(SUDO_DEBUG_WARN, + "unable to convert defaults to tag: %s%s%s", + d->op == false ? "!" : "", d->var, ""); + } + ret = false; + } + } + } + debug_return_bool(ret); +} + +#define FIELD_CHANGED(ocs, ncs, fld) \ + ((ocs) == NULL || (ncs)->fld != (ocs)->fld) + +#define TAG_CHANGED(ocs, ncs, t, tt) \ + (TAG_SET((t).tt) && FIELD_CHANGED(ocs, ncs, tags.tt)) + +/* + * Write a cmndspec to lbuf in sudoers format. + */ +bool +sudoers_format_cmndspec(struct sudo_lbuf *lbuf, + struct sudoers_parse_tree *parse_tree, struct cmndspec *cs, + struct cmndspec *prev_cs, struct cmndtag tags, bool expand_aliases) +{ + debug_decl(sudoers_format_cmndspec, SUDOERS_DEBUG_UTIL); + + /* Merge privilege-level tags with cmndspec tags. */ + TAGS_MERGE(tags, cs->tags); + +#ifdef HAVE_PRIV_SET + if (cs->privs != NULL && FIELD_CHANGED(prev_cs, cs, privs)) + sudo_lbuf_append(lbuf, "PRIVS=\"%s\" ", cs->privs); + if (cs->limitprivs != NULL && FIELD_CHANGED(prev_cs, cs, limitprivs)) + sudo_lbuf_append(lbuf, "LIMITPRIVS=\"%s\" ", cs->limitprivs); +#endif /* HAVE_PRIV_SET */ +#ifdef HAVE_SELINUX + if (cs->role != NULL && FIELD_CHANGED(prev_cs, cs, role)) + sudo_lbuf_append(lbuf, "ROLE=%s ", cs->role); + if (cs->type != NULL && FIELD_CHANGED(prev_cs, cs, type)) + sudo_lbuf_append(lbuf, "TYPE=%s ", cs->type); +#endif /* HAVE_SELINUX */ +#ifdef HAVE_APPARMOR + if (cs->apparmor_profile != NULL && FIELD_CHANGED(prev_cs, cs, apparmor_profile)) + sudo_lbuf_append(lbuf, "APPARMOR_PROFILE=%s ", cs->apparmor_profile); +#endif /* HAVE_APPARMOR */ + if (cs->runchroot != NULL && FIELD_CHANGED(prev_cs, cs, runchroot)) + sudo_lbuf_append(lbuf, "CHROOT=%s ", cs->runchroot); + if (cs->runcwd != NULL && FIELD_CHANGED(prev_cs, cs, runcwd)) + sudo_lbuf_append(lbuf, "CWD=%s ", cs->runcwd); + if (cs->timeout > 0 && FIELD_CHANGED(prev_cs, cs, timeout)) { + char numbuf[(((sizeof(int) * 8) + 2) / 3) + 2]; + (void)snprintf(numbuf, sizeof(numbuf), "%d", cs->timeout); + sudo_lbuf_append(lbuf, "TIMEOUT=%s ", numbuf); + } + if (cs->notbefore != UNSPEC && FIELD_CHANGED(prev_cs, cs, notbefore)) { + char buf[sizeof("CCYYMMDDHHMMSSZ")] = ""; + struct tm gmt; + if (gmtime_r(&cs->notbefore, &gmt) != NULL) { + int len = strftime(buf, sizeof(buf), "%Y%m%d%H%M%SZ", &gmt); + if (len != 0 && buf[sizeof(buf) - 1] == '\0') + sudo_lbuf_append(lbuf, "NOTBEFORE=%s ", buf); + } + } + if (cs->notafter != UNSPEC && FIELD_CHANGED(prev_cs, cs, notafter)) { + char buf[sizeof("CCYYMMDDHHMMSSZ")] = ""; + struct tm gmt; + if (gmtime_r(&cs->notafter, &gmt) != NULL) { + int len = strftime(buf, sizeof(buf), "%Y%m%d%H%M%SZ", &gmt); + if (len != 0 && buf[sizeof(buf) - 1] == '\0') + sudo_lbuf_append(lbuf, "NOTAFTER=%s ", buf); + } + } + if (TAG_CHANGED(prev_cs, cs, tags, setenv)) + sudo_lbuf_append(lbuf, tags.setenv ? "SETENV: " : "NOSETENV: "); + if (TAG_CHANGED(prev_cs, cs, tags, intercept)) + sudo_lbuf_append(lbuf, tags.intercept ? "INTERCEPT: " : "NOINTERCEPT: "); + if (TAG_CHANGED(prev_cs, cs, tags, noexec)) + sudo_lbuf_append(lbuf, tags.noexec ? "NOEXEC: " : "EXEC: "); + if (TAG_CHANGED(prev_cs, cs, tags, nopasswd)) + sudo_lbuf_append(lbuf, tags.nopasswd ? "NOPASSWD: " : "PASSWD: "); + if (TAG_CHANGED(prev_cs, cs, tags, log_input)) + sudo_lbuf_append(lbuf, tags.log_input ? "LOG_INPUT: " : "NOLOG_INPUT: "); + if (TAG_CHANGED(prev_cs, cs, tags, log_output)) + sudo_lbuf_append(lbuf, tags.log_output ? "LOG_OUTPUT: " : "NOLOG_OUTPUT: "); + if (TAG_CHANGED(prev_cs, cs, tags, send_mail)) + sudo_lbuf_append(lbuf, tags.send_mail ? "MAIL: " : "NOMAIL: "); + if (TAG_CHANGED(prev_cs, cs, tags, follow)) + sudo_lbuf_append(lbuf, tags.follow ? "FOLLOW: " : "NOFOLLOW: "); + sudoers_format_member(lbuf, parse_tree, cs->cmnd, ", ", + expand_aliases ? CMNDALIAS : UNSPEC); + debug_return_bool(!sudo_lbuf_error(lbuf)); +} + +/* + * Format and append a defaults entry to the specified lbuf. + */ +bool +sudoers_format_default(struct sudo_lbuf *lbuf, struct defaults *d) +{ + debug_decl(sudoers_format_default, SUDOERS_DEBUG_UTIL); + + if (d->val != NULL) { + sudo_lbuf_append(lbuf, "%s%s", d->var, + d->op == '+' ? "+=" : d->op == '-' ? "-=" : "="); + if (strpbrk(d->val, " \t") != NULL) { + sudo_lbuf_append(lbuf, "\""); + sudo_lbuf_append_quoted(lbuf, "\"", "%s", d->val); + sudo_lbuf_append(lbuf, "\""); + } else + sudo_lbuf_append_quoted(lbuf, SUDOERS_QUOTED, "%s", d->val); + } else { + sudo_lbuf_append(lbuf, "%s%s", d->op == false ? "!" : "", d->var); + } + debug_return_bool(!sudo_lbuf_error(lbuf)); +} diff --git a/plugins/sudoers/fmtsudoers_cvt.c b/plugins/sudoers/fmtsudoers_cvt.c new file mode 100644 index 0000000..ad750fa --- /dev/null +++ b/plugins/sudoers/fmtsudoers_cvt.c @@ -0,0 +1,219 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2004-2005, 2007-2020 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include +#include + +#include "sudoers.h" +#include "sudo_lbuf.h" +#include + +/* + * Write a privilege to lbuf in sudoers format. + */ +bool +sudoers_format_privilege(struct sudo_lbuf *lbuf, + struct sudoers_parse_tree *parse_tree, struct privilege *priv, + bool expand_aliases) +{ + struct cmndspec *cs, *prev_cs; + struct cmndtag tags; + struct member *m; + debug_decl(sudoers_format_privilege, SUDOERS_DEBUG_UTIL); + + /* Convert per-privilege defaults to tags. */ + sudoers_defaults_list_to_tags(&priv->defaults, &tags); + + /* Print hosts list. */ + TAILQ_FOREACH(m, &priv->hostlist, entries) { + if (m != TAILQ_FIRST(&priv->hostlist)) + sudo_lbuf_append(lbuf, ", "); + sudoers_format_member(lbuf, parse_tree, m, ", ", + expand_aliases ? HOSTALIAS : UNSPEC); + } + + /* Print commands. */ + sudo_lbuf_append(lbuf, " = "); + prev_cs = NULL; + TAILQ_FOREACH(cs, &priv->cmndlist, entries) { + if (prev_cs == NULL || RUNAS_CHANGED(cs, prev_cs)) { + if (cs != TAILQ_FIRST(&priv->cmndlist)) + sudo_lbuf_append(lbuf, ", "); + if (cs->runasuserlist != NULL || cs->runasgrouplist != NULL) + sudo_lbuf_append(lbuf, "("); + if (cs->runasuserlist != NULL) { + TAILQ_FOREACH(m, cs->runasuserlist, entries) { + if (m != TAILQ_FIRST(cs->runasuserlist)) + sudo_lbuf_append(lbuf, ", "); + sudoers_format_member(lbuf, parse_tree, m, ", ", + expand_aliases ? RUNASALIAS : UNSPEC); + } + } + if (cs->runasgrouplist != NULL) { + sudo_lbuf_append(lbuf, " : "); + TAILQ_FOREACH(m, cs->runasgrouplist, entries) { + if (m != TAILQ_FIRST(cs->runasgrouplist)) + sudo_lbuf_append(lbuf, ", "); + sudoers_format_member(lbuf, parse_tree, m, ", ", + expand_aliases ? RUNASALIAS : UNSPEC); + } + } + if (cs->runasuserlist != NULL || cs->runasgrouplist != NULL) + sudo_lbuf_append(lbuf, ") "); + } else if (cs != TAILQ_FIRST(&priv->cmndlist)) { + sudo_lbuf_append(lbuf, ", "); + } + sudoers_format_cmndspec(lbuf, parse_tree, cs, prev_cs, tags, + expand_aliases); + prev_cs = cs; + } + + debug_return_bool(!sudo_lbuf_error(lbuf)); +} + +/* + * Write a userspec to lbuf in sudoers format. + */ +bool +sudoers_format_userspec(struct sudo_lbuf *lbuf, + struct sudoers_parse_tree *parse_tree, + struct userspec *us, bool expand_aliases) +{ + struct privilege *priv; + struct sudoers_comment *comment; + struct member *m; + debug_decl(sudoers_format_userspec, SUDOERS_DEBUG_UTIL); + + /* Print comments (if any). */ + STAILQ_FOREACH(comment, &us->comments, entries) { + sudo_lbuf_append(lbuf, "# %s\n", comment->str); + } + + /* Print users list. */ + TAILQ_FOREACH(m, &us->users, entries) { + if (m != TAILQ_FIRST(&us->users)) + sudo_lbuf_append(lbuf, ", "); + sudoers_format_member(lbuf, parse_tree, m, ", ", + expand_aliases ? USERALIAS : UNSPEC); + } + + TAILQ_FOREACH(priv, &us->privileges, entries) { + if (priv != TAILQ_FIRST(&us->privileges)) + sudo_lbuf_append(lbuf, " : "); + else + sudo_lbuf_append(lbuf, " "); + if (!sudoers_format_privilege(lbuf, parse_tree, priv, expand_aliases)) + break; + } + sudo_lbuf_append(lbuf, "\n"); + + debug_return_bool(!sudo_lbuf_error(lbuf)); +} + +/* + * Write a userspec_list to lbuf in sudoers format. + */ +bool +sudoers_format_userspecs(struct sudo_lbuf *lbuf, + struct sudoers_parse_tree *parse_tree, const char *separator, + bool expand_aliases, bool flush) +{ + struct userspec *us; + debug_decl(sudoers_format_userspecs, SUDOERS_DEBUG_UTIL); + + TAILQ_FOREACH(us, &parse_tree->userspecs, entries) { + if (separator != NULL && us != TAILQ_FIRST(&parse_tree->userspecs)) + sudo_lbuf_append(lbuf, "%s", separator); + if (!sudoers_format_userspec(lbuf, parse_tree, us, expand_aliases)) + break; + sudo_lbuf_print(lbuf); + } + + debug_return_bool(!sudo_lbuf_error(lbuf)); +} + +/* + * Format and append a defaults line to the specified lbuf. + * If next, is specified, it must point to the next defaults + * entry in the list; this is used to print multiple defaults + * entries with the same binding on a single line. + */ +bool +sudoers_format_default_line(struct sudo_lbuf *lbuf, + struct sudoers_parse_tree *parse_tree, struct defaults *d, + struct defaults **next, bool expand_aliases) +{ + struct member *m; + int alias_type; + debug_decl(sudoers_format_default_line, SUDOERS_DEBUG_UTIL); + + /* Print Defaults type and binding (if present) */ + switch (d->type) { + case DEFAULTS_HOST: + sudo_lbuf_append(lbuf, "Defaults@"); + alias_type = expand_aliases ? HOSTALIAS : UNSPEC; + break; + case DEFAULTS_USER: + sudo_lbuf_append(lbuf, "Defaults:"); + alias_type = expand_aliases ? USERALIAS : UNSPEC; + break; + case DEFAULTS_RUNAS: + sudo_lbuf_append(lbuf, "Defaults>"); + alias_type = expand_aliases ? RUNASALIAS : UNSPEC; + break; + case DEFAULTS_CMND: + sudo_lbuf_append(lbuf, "Defaults!"); + alias_type = expand_aliases ? CMNDALIAS : UNSPEC; + break; + default: + sudo_lbuf_append(lbuf, "Defaults"); + alias_type = UNSPEC; + break; + } + TAILQ_FOREACH(m, &d->binding->members, entries) { + if (m != TAILQ_FIRST(&d->binding->members)) + sudo_lbuf_append(lbuf, ", "); + sudoers_format_member(lbuf, parse_tree, m, ", ", alias_type); + } + + sudo_lbuf_append(lbuf, " "); + sudoers_format_default(lbuf, d); + + if (next != NULL) { + /* Merge Defaults with the same binding, there may be multiple. */ + struct defaults *n; + while ((n = TAILQ_NEXT(d, entries)) && d->binding == n->binding) { + sudo_lbuf_append(lbuf, ", "); + sudoers_format_default(lbuf, n); + d = n; + } + *next = n; + } + sudo_lbuf_append(lbuf, "\n"); + + debug_return_bool(!sudo_lbuf_error(lbuf)); +} diff --git a/plugins/sudoers/gc.c b/plugins/sudoers/gc.c new file mode 100644 index 0000000..73594df --- /dev/null +++ b/plugins/sudoers/gc.c @@ -0,0 +1,164 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2016 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include + +#include "sudoers.h" + +struct sudoers_gc_entry { + SLIST_ENTRY(sudoers_gc_entry) entries; + enum sudoers_gc_types type; + union { + char **vec; + void *ptr; + } u; +}; +SLIST_HEAD(sudoers_gc_list, sudoers_gc_entry); +#ifdef NO_LEAKS +static struct sudoers_gc_list sudoers_gc_list = + SLIST_HEAD_INITIALIZER(sudoers_gc_list); +#endif + +bool +sudoers_gc_add(enum sudoers_gc_types type, void *v) +{ +#ifdef NO_LEAKS + struct sudoers_gc_entry *gc; + debug_decl(sudoers_gc_add, SUDOERS_DEBUG_UTIL); + + if (v == NULL) + debug_return_bool(false); + + gc = calloc(1, sizeof(*gc)); + if (gc == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + debug_return_bool(false); + } + switch (type) { + case GC_PTR: + gc->u.ptr = v; + break; + case GC_VECTOR: + gc->u.vec = v; + break; + default: + free(gc); + sudo_warnx("unexpected garbage type %d", type); + debug_return_bool(false); + } + gc->type = type; + SLIST_INSERT_HEAD(&sudoers_gc_list, gc, entries); + debug_return_bool(true); +#else + return true; +#endif /* NO_LEAKS */ +} + +bool +sudoers_gc_remove(enum sudoers_gc_types type, void *v) +{ +#ifdef NO_LEAKS + struct sudoers_gc_entry *gc, *prev = NULL; + debug_decl(sudoers_gc_remove, SUDOERS_DEBUG_UTIL); + + if (v == NULL) + debug_return_bool(false); + + SLIST_FOREACH(gc, &sudoers_gc_list, entries) { + switch (gc->type) { + case GC_PTR: + if (gc->u.ptr == v) + goto found; + break; + case GC_VECTOR: + if (gc->u.vec == v) + goto found; + break; + default: + sudo_warnx("unexpected garbage type %d in %p", gc->type, gc); + } + prev = gc; + } + /* If this happens, there is a bug in the g/c code. */ + sudo_warnx("%s: unable to find %p, type %d", __func__, v, type); +#ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION + abort(); +#else + debug_return_bool(false); +#endif +found: + if (prev == NULL) + SLIST_REMOVE_HEAD(&sudoers_gc_list, entries); + else + SLIST_REMOVE_AFTER(prev, entries); + free(gc); + + debug_return_bool(true); +#else + return true; +#endif /* NO_LEAKS */ +} + +void +sudoers_gc_run(void) +{ +#ifdef NO_LEAKS + struct sudoers_gc_entry *gc; + char **cur; + debug_decl(sudoers_gc_run, SUDOERS_DEBUG_UTIL); + + /* Collect garbage. */ + while ((gc = SLIST_FIRST(&sudoers_gc_list)) != NULL) { + SLIST_REMOVE_HEAD(&sudoers_gc_list, entries); + switch (gc->type) { + case GC_PTR: + free(gc->u.ptr); + free(gc); + break; + case GC_VECTOR: + for (cur = gc->u.vec; *cur != NULL; cur++) + free(*cur); + free(gc->u.vec); + free(gc); + break; + default: + sudo_warnx("unexpected garbage type %d", gc->type); + } + } + + debug_return; +#endif /* NO_LEAKS */ +} + +#ifndef notyet +void +sudoers_gc_init(void) +{ +#ifdef NO_LEAKS + atexit(sudoers_gc_run); +#endif +} +#endif diff --git a/plugins/sudoers/gentime.c b/plugins/sudoers/gentime.c new file mode 100644 index 0000000..43ff162 --- /dev/null +++ b/plugins/sudoers/gentime.c @@ -0,0 +1,171 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2017, 2021 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#ifdef HAVE_STDBOOL_H +# include +#else +# include "compat/stdbool.h" +#endif /* HAVE_STDBOOL_H */ +#include +#include +#include + +#include "sudo_compat.h" +#include "sudoers_debug.h" +#include "parse.h" + +/* Since timegm() is only used in one place we keep the macro local. */ +#ifndef HAVE_TIMEGM +# define timegm(_t) sudo_timegm(_t) +#endif + +/* + * Parse a timestamp in Generalized Time format as per RFC4517. + * E.g. yyyymmddHHMMSS.FZ or yyyymmddHHMMSS.F[+-]TZOFF + * where minutes, seconds and fraction are optional. + * Returns the time in Unix time format or -1 on error. + */ +time_t +parse_gentime(const char *timestr) +{ + char tcopy[sizeof("yyyymmddHHMMSS")]; + const char *cp; + time_t result; + struct tm tm; + size_t len; + int items, tzoff = 0; + bool islocal = false; + debug_decl(parse_gentime, SUDOERS_DEBUG_PARSER); + + /* Make a copy of the non-fractional time without zone for easy parsing. */ + len = strspn(timestr, "0123456789"); + if (len >= sizeof(tcopy) || len < sizeof("yyyymmddHH") -1 || (len & 1)) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "unable to parse general time string %s", timestr); + debug_return_time_t(-1); + } + memcpy(tcopy, timestr, len); + tcopy[len] = '\0'; + + /* Parse general time, ignoring the timezone for now. */ + memset(&tm, 0, sizeof(tm)); + items = sscanf(tcopy, "%4d%2d%2d%2d%2d%2d", &tm.tm_year, &tm.tm_mon, + &tm.tm_mday, &tm.tm_hour, &tm.tm_min, &tm.tm_sec); + if (items == EOF || items < 4) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "only parsed %d items in general time string %s", items, timestr); + debug_return_time_t(-1); + } + + /* Parse optional fractional hours/minute/second if present. */ + cp = timestr + len; + if ((cp[0] == '.' || cp[0] == ',') && isdigit((unsigned char)cp[1])) { + int frac = cp[1] - '0'; + switch (items) { + case 4: + /* convert fractional hour -> minutes */ + tm.tm_min += 60 / 10 * frac; + break; + case 5: + /* convert fractional minute -> seconds */ + tm.tm_sec += 60 / 10 * frac; + break; + case 6: + /* ignore fractional second */ + break; + } + cp += 2; /* skip over radix and fraction */ + } + + /* Parse optional time zone. */ + switch (*cp) { + case '-': + case '+': { + int hour = 0, min = 0; + + /* No DST */ + tm.tm_isdst = 0; + /* time zone offset must be hh or hhmm */ + len = strspn(cp + 1, "0123456789"); + if (len != 2 && len != 4) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "unable to parse time zone offset in %s, bad tz offset", + timestr); + debug_return_time_t(-1); + } + /* parse time zone offset */ + items = sscanf(cp + 1, "%2d%2d", &hour, &min); + if (items == EOF || items < 1) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "unable to parse time zone offset in %s, items %d", + timestr, items); + debug_return_time_t(-1); + } + if (*cp == '-') + tzoff = -((hour * 60) + min) * 60; + else + tzoff = ((hour * 60) + min) * 60; + cp += 1 + (items * 2); + break; + } + case 'Z': + /* GMT/UTC, no DST */ + tm.tm_isdst = 0; + cp++; + break; + case '\0': + /* no zone specified, use local time */ + tm.tm_isdst = -1; + islocal = true; + break; + default: + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "unable to parse general time string %s", timestr); + debug_return_time_t(-1); + } + if (*cp != '\0') { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "trailing garbage in general time string %s", timestr); + debug_return_time_t(-1); + } + + /* Adjust from Generalized Time to struct tm */ + tm.tm_year -= 1900; + tm.tm_mon--; + + if (islocal) { + result = mktime(&tm); + } else { + result = timegm(&tm); + if (result != -1) { + /* Adjust time based on supplied GMT offset. */ + result -= tzoff; + } + } + + debug_return_time_t(result); +} diff --git a/plugins/sudoers/getdate.c b/plugins/sudoers/getdate.c new file mode 100644 index 0000000..0f06b46 --- /dev/null +++ b/plugins/sudoers/getdate.c @@ -0,0 +1,2457 @@ +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include +/* A Bison parser, made by GNU Bison 3.8.2. */ + +/* Bison implementation for Yacc-like parsers in C + + Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2021 Free Software Foundation, + Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +/* As a special exception, you may create a larger work that contains + part or all of the Bison parser skeleton and distribute that work + under terms of your choice, so long as that work isn't itself a + parser generator using the skeleton or a modified version thereof + as a parser skeleton. Alternatively, if you modify or redistribute + the parser skeleton itself, you may (at your option) remove this + special exception, which will cause the skeleton and the resulting + Bison output files to be licensed under the GNU General Public + License without this special exception. + + This special exception was added by the Free Software Foundation in + version 2.2 of Bison. */ + +/* C LALR(1) parser skeleton written by Richard Stallman, by + simplifying the original so-called "semantic" parser. */ + +/* DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual, + especially those whose name start with YY_ or yy_. They are + private implementation details that can be changed or removed. */ + +/* All symbols defined below should begin with yy or YY, to avoid + infringing on user name space. This should be done even for local + variables, as they might otherwise be expanded by user macros. + There are some unavoidable exceptions within include files to + define necessary library symbols; they are noted "INFRINGES ON + USER NAME SPACE" below. */ + +/* Identify Bison output, and Bison version. */ +#define YYBISON 30802 + +/* Bison version string. */ +#define YYBISON_VERSION "3.8.2" + +/* Skeleton name. */ +#define YYSKELETON_NAME "yacc.c" + +/* Pure parsers. */ +#define YYPURE 0 + +/* Push parsers. */ +#define YYPUSH 0 + +/* Pull parsers. */ +#define YYPULL 1 + + + + +/* First part of user prologue. */ +#line 1 "getdate.y" + +/* +** Originally written by Steven M. Bellovin while +** at the University of North Carolina at Chapel Hill. Later tweaked by +** a couple of people on Usenet. Completely overhauled by Rich $alz +** and Jim Berets in August, 1990; +** +** This grammar has 10 shift/reduce conflicts. +** +** This code is in the public domain and has no copyright. +*/ +/* SUPPRESS 287 on yaccpar_sccsid *//* Unused static variable */ +/* SUPPRESS 288 on yyerrlab *//* Label unused */ + +// PVS Studio suppression +// -V::560, 592, 1037, 1042 + +#include + +#include +#include +#include +#if defined(HAVE_STDINT_H) +# include +#elif defined(HAVE_INTTYPES_H) +# include +#endif +#include +#include +#include + +#include "sudo_compat.h" + + +#define EPOCH 1970 +#define HOUR(x) ((time_t)(x) * 60) +#define SECSPERDAY (24L * 60L * 60L) + + +/* +** An entry in the lexical lookup table. +*/ +typedef struct _TABLE { + const char *name; + int type; + time_t value; +} TABLE; + + +/* +** Daylight-savings mode: on, off, or not yet known. +*/ +typedef enum _DSTMODE { + DSTon, DSToff, DSTmaybe +} DSTMODE; + +/* +** Meridian: am, pm, or 24-hour style. +*/ +typedef enum _MERIDIAN { + MERam, MERpm, MER24 +} MERIDIAN; + + +/* +** Global variables. We could get rid of most of these by using a good +** union as the yacc stack. (This routine was originally written before +** yacc had the %union construct.) Maybe someday; right now we only use +** the %union very rarely. +*/ +static char *yyInput; +static DSTMODE yyDSTmode; +static time_t yyDayOrdinal; +static time_t yyDayNumber; +static int yyHaveDate; +static int yyHaveDay; +static int yyHaveRel; +static int yyHaveTime; +static int yyHaveZone; +static time_t yyTimezone; +static time_t yyDay; +static time_t yyHour; +static time_t yyMinutes; +static time_t yyMonth; +static time_t yySeconds; +static time_t yyYear; +static MERIDIAN yyMeridian; +static time_t yyRelMonth; +static time_t yyRelSeconds; + +static int yylex(void); + int yyparse(void); + void yyerror(const char *s); + + +#line 167 "getdate.c" + +# ifndef YY_CAST +# ifdef __cplusplus +# define YY_CAST(Type, Val) static_cast (Val) +# define YY_REINTERPRET_CAST(Type, Val) reinterpret_cast (Val) +# else +# define YY_CAST(Type, Val) ((Type) (Val)) +# define YY_REINTERPRET_CAST(Type, Val) ((Type) (Val)) +# endif +# endif +# ifndef YY_NULLPTR +# if defined __cplusplus +# if 201103L <= __cplusplus +# define YY_NULLPTR nullptr +# else +# define YY_NULLPTR 0 +# endif +# else +# define YY_NULLPTR ((void*)0) +# endif +# endif + + +/* Debug traces. */ +#ifndef YYDEBUG +# define YYDEBUG 0 +#endif +#if YYDEBUG +extern int yydebug; +#endif + +/* Token kinds. */ +#ifndef YYTOKENTYPE +# define YYTOKENTYPE + enum yytokentype + { + YYEMPTY = -2, + YYEOF = 0, /* "end of file" */ + YYerror = 256, /* error */ + YYUNDEF = 257, /* "invalid token" */ + tAGO = 258, /* tAGO */ + tID = 259, /* tID */ + tDST = 260, /* tDST */ + tDAY = 261, /* tDAY */ + tDAYZONE = 262, /* tDAYZONE */ + tMINUTE_UNIT = 263, /* tMINUTE_UNIT */ + tMONTH = 264, /* tMONTH */ + tMONTH_UNIT = 265, /* tMONTH_UNIT */ + tSEC_UNIT = 266, /* tSEC_UNIT */ + tSNUMBER = 267, /* tSNUMBER */ + tUNUMBER = 268, /* tUNUMBER */ + tZONE = 269, /* tZONE */ + tMERIDIAN = 270 /* tMERIDIAN */ + }; + typedef enum yytokentype yytoken_kind_t; +#endif +/* Token kinds. */ +#define YYEMPTY -2 +#define YYEOF 0 +#define YYerror 256 +#define YYUNDEF 257 +#define tAGO 258 +#define tID 259 +#define tDST 260 +#define tDAY 261 +#define tDAYZONE 262 +#define tMINUTE_UNIT 263 +#define tMONTH 264 +#define tMONTH_UNIT 265 +#define tSEC_UNIT 266 +#define tSNUMBER 267 +#define tUNUMBER 268 +#define tZONE 269 +#define tMERIDIAN 270 + +/* Value type. */ +#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED +union YYSTYPE +{ +#line 97 "getdate.y" + + time_t Number; + enum _MERIDIAN Meridian; + +#line 252 "getdate.c" + +}; +typedef union YYSTYPE YYSTYPE; +# define YYSTYPE_IS_TRIVIAL 1 +# define YYSTYPE_IS_DECLARED 1 +#endif + + +extern YYSTYPE yylval; + + +int yyparse (void); + + + +/* Symbol kind. */ +enum yysymbol_kind_t +{ + YYSYMBOL_YYEMPTY = -2, + YYSYMBOL_YYEOF = 0, /* "end of file" */ + YYSYMBOL_YYerror = 1, /* error */ + YYSYMBOL_YYUNDEF = 2, /* "invalid token" */ + YYSYMBOL_tAGO = 3, /* tAGO */ + YYSYMBOL_tID = 4, /* tID */ + YYSYMBOL_tDST = 5, /* tDST */ + YYSYMBOL_tDAY = 6, /* tDAY */ + YYSYMBOL_tDAYZONE = 7, /* tDAYZONE */ + YYSYMBOL_tMINUTE_UNIT = 8, /* tMINUTE_UNIT */ + YYSYMBOL_tMONTH = 9, /* tMONTH */ + YYSYMBOL_tMONTH_UNIT = 10, /* tMONTH_UNIT */ + YYSYMBOL_tSEC_UNIT = 11, /* tSEC_UNIT */ + YYSYMBOL_tSNUMBER = 12, /* tSNUMBER */ + YYSYMBOL_tUNUMBER = 13, /* tUNUMBER */ + YYSYMBOL_tZONE = 14, /* tZONE */ + YYSYMBOL_tMERIDIAN = 15, /* tMERIDIAN */ + YYSYMBOL_16_ = 16, /* ':' */ + YYSYMBOL_17_ = 17, /* ',' */ + YYSYMBOL_18_ = 18, /* '/' */ + YYSYMBOL_YYACCEPT = 19, /* $accept */ + YYSYMBOL_spec = 20, /* spec */ + YYSYMBOL_item = 21, /* item */ + YYSYMBOL_time = 22, /* time */ + YYSYMBOL_zone = 23, /* zone */ + YYSYMBOL_day = 24, /* day */ + YYSYMBOL_date = 25, /* date */ + YYSYMBOL_rel = 26, /* rel */ + YYSYMBOL_relunit = 27, /* relunit */ + YYSYMBOL_number = 28, /* number */ + YYSYMBOL_o_merid = 29 /* o_merid */ +}; +typedef enum yysymbol_kind_t yysymbol_kind_t; + + + + +#ifdef short +# undef short +#endif + +/* On compilers that do not define __PTRDIFF_MAX__ etc., make sure + and (if available) are included + so that the code can choose integer types of a good width. */ + +#ifndef __PTRDIFF_MAX__ +# include /* INFRINGES ON USER NAME SPACE */ +# if defined HAVE_STDINT_H +# include /* INFRINGES ON USER NAME SPACE */ +# define YY_STDINT_H +# endif +#endif + +/* Narrow types that promote to a signed type and that can represent a + signed or unsigned integer of at least N bits. In tables they can + save space and decrease cache pressure. Promoting to a signed type + helps avoid bugs in integer arithmetic. */ + +#ifdef __INT_LEAST8_MAX__ +typedef __INT_LEAST8_TYPE__ yytype_int8; +#elif defined YY_STDINT_H +typedef int_least8_t yytype_int8; +#else +typedef signed char yytype_int8; +#endif + +#ifdef __INT_LEAST16_MAX__ +typedef __INT_LEAST16_TYPE__ yytype_int16; +#elif defined YY_STDINT_H +typedef int_least16_t yytype_int16; +#else +typedef short yytype_int16; +#endif + +/* Work around bug in HP-UX 11.23, which defines these macros + incorrectly for preprocessor constants. This workaround can likely + be removed in 2023, as HPE has promised support for HP-UX 11.23 + (aka HP-UX 11i v2) only through the end of 2022; see Table 2 of + . */ +#ifdef __hpux +# undef UINT_LEAST8_MAX +# undef UINT_LEAST16_MAX +# define UINT_LEAST8_MAX 255 +# define UINT_LEAST16_MAX 65535 +#endif + +#if defined __UINT_LEAST8_MAX__ && __UINT_LEAST8_MAX__ <= __INT_MAX__ +typedef __UINT_LEAST8_TYPE__ yytype_uint8; +#elif (!defined __UINT_LEAST8_MAX__ && defined YY_STDINT_H \ + && UINT_LEAST8_MAX <= INT_MAX) +typedef uint_least8_t yytype_uint8; +#elif !defined __UINT_LEAST8_MAX__ && UCHAR_MAX <= INT_MAX +typedef unsigned char yytype_uint8; +#else +typedef short yytype_uint8; +#endif + +#if defined __UINT_LEAST16_MAX__ && __UINT_LEAST16_MAX__ <= __INT_MAX__ +typedef __UINT_LEAST16_TYPE__ yytype_uint16; +#elif (!defined __UINT_LEAST16_MAX__ && defined YY_STDINT_H \ + && UINT_LEAST16_MAX <= INT_MAX) +typedef uint_least16_t yytype_uint16; +#elif !defined __UINT_LEAST16_MAX__ && USHRT_MAX <= INT_MAX +typedef unsigned short yytype_uint16; +#else +typedef int yytype_uint16; +#endif + +#ifndef YYPTRDIFF_T +# if defined __PTRDIFF_TYPE__ && defined __PTRDIFF_MAX__ +# define YYPTRDIFF_T __PTRDIFF_TYPE__ +# define YYPTRDIFF_MAXIMUM __PTRDIFF_MAX__ +# elif defined PTRDIFF_MAX +# ifndef ptrdiff_t +# include /* INFRINGES ON USER NAME SPACE */ +# endif +# define YYPTRDIFF_T ptrdiff_t +# define YYPTRDIFF_MAXIMUM PTRDIFF_MAX +# else +# define YYPTRDIFF_T long +# define YYPTRDIFF_MAXIMUM LONG_MAX +# endif +#endif + +#ifndef YYSIZE_T +# ifdef __SIZE_TYPE__ +# define YYSIZE_T __SIZE_TYPE__ +# elif defined size_t +# define YYSIZE_T size_t +# elif defined __STDC_VERSION__ && 199901 <= __STDC_VERSION__ +# include /* INFRINGES ON USER NAME SPACE */ +# define YYSIZE_T size_t +# else +# define YYSIZE_T unsigned +# endif +#endif + +#define YYSIZE_MAXIMUM \ + YY_CAST (YYPTRDIFF_T, \ + (YYPTRDIFF_MAXIMUM < YY_CAST (YYSIZE_T, -1) \ + ? YYPTRDIFF_MAXIMUM \ + : YY_CAST (YYSIZE_T, -1))) + +#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X)) + + +/* Stored state numbers (used for stacks). */ +typedef yytype_int8 yy_state_t; + +/* State numbers in computations. */ +typedef int yy_state_fast_t; + +#ifndef YY_ +# if defined YYENABLE_NLS && YYENABLE_NLS +# if ENABLE_NLS +# include /* INFRINGES ON USER NAME SPACE */ +# define YY_(Msgid) dgettext ("bison-runtime", Msgid) +# endif +# endif +# ifndef YY_ +# define YY_(Msgid) Msgid +# endif +#endif + + +#ifndef YY_ATTRIBUTE_PURE +# if defined __GNUC__ && 2 < __GNUC__ + (96 <= __GNUC_MINOR__) +# define YY_ATTRIBUTE_PURE __attribute__ ((__pure__)) +# else +# define YY_ATTRIBUTE_PURE +# endif +#endif + +#ifndef YY_ATTRIBUTE_UNUSED +# if defined __GNUC__ && 2 < __GNUC__ + (7 <= __GNUC_MINOR__) +# define YY_ATTRIBUTE_UNUSED __attribute__ ((__unused__)) +# else +# define YY_ATTRIBUTE_UNUSED +# endif +#endif + +/* Suppress unused-variable warnings by "using" E. */ +#if ! defined lint || defined __GNUC__ +# define YY_USE(E) ((void) (E)) +#else +# define YY_USE(E) /* empty */ +#endif + +/* Suppress an incorrect diagnostic about yylval being uninitialized. */ +#if defined __GNUC__ && ! defined __ICC && 406 <= __GNUC__ * 100 + __GNUC_MINOR__ +# if __GNUC__ * 100 + __GNUC_MINOR__ < 407 +# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN \ + _Pragma ("GCC diagnostic push") \ + _Pragma ("GCC diagnostic ignored \"-Wuninitialized\"") +# else +# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN \ + _Pragma ("GCC diagnostic push") \ + _Pragma ("GCC diagnostic ignored \"-Wuninitialized\"") \ + _Pragma ("GCC diagnostic ignored \"-Wmaybe-uninitialized\"") +# endif +# define YY_IGNORE_MAYBE_UNINITIALIZED_END \ + _Pragma ("GCC diagnostic pop") +#else +# define YY_INITIAL_VALUE(Value) Value +#endif +#ifndef YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN +# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN +# define YY_IGNORE_MAYBE_UNINITIALIZED_END +#endif +#ifndef YY_INITIAL_VALUE +# define YY_INITIAL_VALUE(Value) /* Nothing. */ +#endif + +#if defined __cplusplus && defined __GNUC__ && ! defined __ICC && 6 <= __GNUC__ +# define YY_IGNORE_USELESS_CAST_BEGIN \ + _Pragma ("GCC diagnostic push") \ + _Pragma ("GCC diagnostic ignored \"-Wuseless-cast\"") +# define YY_IGNORE_USELESS_CAST_END \ + _Pragma ("GCC diagnostic pop") +#endif +#ifndef YY_IGNORE_USELESS_CAST_BEGIN +# define YY_IGNORE_USELESS_CAST_BEGIN +# define YY_IGNORE_USELESS_CAST_END +#endif + + +#define YY_ASSERT(E) ((void) (0 && (E))) + +#if !defined yyoverflow + +/* The parser invokes alloca or malloc; define the necessary symbols. */ + +# ifdef YYSTACK_USE_ALLOCA +# if YYSTACK_USE_ALLOCA +# ifdef __GNUC__ +# define YYSTACK_ALLOC __builtin_alloca +# elif defined __BUILTIN_VA_ARG_INCR +# include /* INFRINGES ON USER NAME SPACE */ +# elif defined _AIX +# define YYSTACK_ALLOC __alloca +# elif defined _MSC_VER +# include /* INFRINGES ON USER NAME SPACE */ +# define alloca _alloca +# else +# define YYSTACK_ALLOC alloca +# if ! defined _ALLOCA_H && ! defined EXIT_SUCCESS +# include /* INFRINGES ON USER NAME SPACE */ + /* Use EXIT_SUCCESS as a witness for stdlib.h. */ +# ifndef EXIT_SUCCESS +# define EXIT_SUCCESS 0 +# endif +# endif +# endif +# endif +# endif + +# ifdef YYSTACK_ALLOC + /* Pacify GCC's 'empty if-body' warning. */ +# define YYSTACK_FREE(Ptr) do { /* empty */; } while (0) +# ifndef YYSTACK_ALLOC_MAXIMUM + /* The OS might guarantee only one guard page at the bottom of the stack, + and a page size can be as small as 4096 bytes. So we cannot safely + invoke alloca (N) if N exceeds 4096. Use a slightly smaller number + to allow for a few compiler-allocated temporary stack slots. */ +# define YYSTACK_ALLOC_MAXIMUM 4032 /* reasonable circa 2006 */ +# endif +# else +# define YYSTACK_ALLOC YYMALLOC +# define YYSTACK_FREE YYFREE +# ifndef YYSTACK_ALLOC_MAXIMUM +# define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM +# endif +# if (defined __cplusplus && ! defined EXIT_SUCCESS \ + && ! ((defined YYMALLOC || defined malloc) \ + && (defined YYFREE || defined free))) +# include /* INFRINGES ON USER NAME SPACE */ +# ifndef EXIT_SUCCESS +# define EXIT_SUCCESS 0 +# endif +# endif +# ifndef YYMALLOC +# define YYMALLOC malloc +# if ! defined malloc && ! defined EXIT_SUCCESS +void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */ +# endif +# endif +# ifndef YYFREE +# define YYFREE free +# if ! defined free && ! defined EXIT_SUCCESS +void free (void *); /* INFRINGES ON USER NAME SPACE */ +# endif +# endif +# endif +#endif /* !defined yyoverflow */ + +#if (! defined yyoverflow \ + && (! defined __cplusplus \ + || (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL))) + +/* A type that is properly aligned for any stack member. */ +union yyalloc +{ + yy_state_t yyss_alloc; + YYSTYPE yyvs_alloc; +}; + +/* The size of the maximum gap between one aligned stack and the next. */ +# define YYSTACK_GAP_MAXIMUM (YYSIZEOF (union yyalloc) - 1) + +/* The size of an array large to enough to hold all stacks, each with + N elements. */ +# define YYSTACK_BYTES(N) \ + ((N) * (YYSIZEOF (yy_state_t) + YYSIZEOF (YYSTYPE)) \ + + YYSTACK_GAP_MAXIMUM) + +# define YYCOPY_NEEDED 1 + +/* Relocate STACK from its old location to the new one. The + local variables YYSIZE and YYSTACKSIZE give the old and new number of + elements in the stack, and YYPTR gives the new location of the + stack. Advance YYPTR to a properly aligned location for the next + stack. */ +# define YYSTACK_RELOCATE(Stack_alloc, Stack) \ + do \ + { \ + YYPTRDIFF_T yynewbytes; \ + YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \ + Stack = &yyptr->Stack_alloc; \ + yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \ + yyptr += yynewbytes / YYSIZEOF (*yyptr); \ + } \ + while (0) + +#endif + +#if defined YYCOPY_NEEDED && YYCOPY_NEEDED +/* Copy COUNT objects from SRC to DST. The source and destination do + not overlap. */ +# ifndef YYCOPY +# if defined __GNUC__ && 1 < __GNUC__ +# define YYCOPY(Dst, Src, Count) \ + __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src))) +# else +# define YYCOPY(Dst, Src, Count) \ + do \ + { \ + YYPTRDIFF_T yyi; \ + for (yyi = 0; yyi < (Count); yyi++) \ + (Dst)[yyi] = (Src)[yyi]; \ + } \ + while (0) +# endif +# endif +#endif /* !YYCOPY_NEEDED */ + +/* YYFINAL -- State number of the termination state. */ +#define YYFINAL 2 +/* YYLAST -- Last index in YYTABLE. */ +#define YYLAST 41 + +/* YYNTOKENS -- Number of terminals. */ +#define YYNTOKENS 19 +/* YYNNTS -- Number of nonterminals. */ +#define YYNNTS 11 +/* YYNRULES -- Number of rules. */ +#define YYNRULES 42 +/* YYNSTATES -- Number of states. */ +#define YYNSTATES 52 + +/* YYMAXUTOK -- Last valid token kind. */ +#define YYMAXUTOK 270 + + +/* YYTRANSLATE(TOKEN-NUM) -- Symbol number corresponding to TOKEN-NUM + as returned by yylex, with out-of-bounds checking. */ +#define YYTRANSLATE(YYX) \ + (0 <= (YYX) && (YYX) <= YYMAXUTOK \ + ? YY_CAST (yysymbol_kind_t, yytranslate[YYX]) \ + : YYSYMBOL_YYUNDEF) + +/* YYTRANSLATE[TOKEN-NUM] -- Symbol number corresponding to TOKEN-NUM + as returned by yylex. */ +static const yytype_int8 yytranslate[] = +{ + 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 17, 2, 2, 18, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 16, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 1, 2, 3, 4, + 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, + 15 +}; + +#if YYDEBUG +/* YYRLINE[YYN] -- Source line where rule number YYN was defined. */ +static const yytype_int16 yyrline[] = +{ + 0, 111, 111, 112, 115, 118, 121, 124, 127, 130, + 133, 139, 145, 152, 158, 168, 172, 177, 183, 187, + 191, 197, 201, 212, 218, 224, 228, 233, 237, 244, + 248, 251, 254, 257, 260, 263, 266, 269, 272, 275, + 280, 307, 310 +}; +#endif + +/** Accessing symbol of state STATE. */ +#define YY_ACCESSING_SYMBOL(State) YY_CAST (yysymbol_kind_t, yystos[State]) + +#if YYDEBUG || 0 +/* The user-facing name of the symbol whose (internal) number is + YYSYMBOL. No bounds checking. */ +static const char *yysymbol_name (yysymbol_kind_t yysymbol) YY_ATTRIBUTE_UNUSED; + +/* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM. + First, the terminals, then, starting at YYNTOKENS, nonterminals. */ +static const char *const yytname[] = +{ + "\"end of file\"", "error", "\"invalid token\"", "tAGO", "tID", "tDST", + "tDAY", "tDAYZONE", "tMINUTE_UNIT", "tMONTH", "tMONTH_UNIT", "tSEC_UNIT", + "tSNUMBER", "tUNUMBER", "tZONE", "tMERIDIAN", "':'", "','", "'/'", + "$accept", "spec", "item", "time", "zone", "day", "date", "rel", + "relunit", "number", "o_merid", YY_NULLPTR +}; + +static const char * +yysymbol_name (yysymbol_kind_t yysymbol) +{ + return yytname[yysymbol]; +} +#endif + +#define YYPACT_NINF (-12) + +#define yypact_value_is_default(Yyn) \ + ((Yyn) == YYPACT_NINF) + +#define YYTABLE_NINF (-1) + +#define yytable_value_is_error(Yyn) \ + 0 + +/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing + STATE-NUM. */ +static const yytype_int8 yypact[] = +{ + -12, 0, -12, -1, -12, -12, 10, -12, -12, 18, + 9, 17, -12, -12, -12, -12, -12, -12, 27, -12, + -12, 15, -12, -12, -12, -12, -12, -10, -12, -12, + 21, -12, 22, 23, -12, -12, 24, -12, -12, -12, + -11, 20, -12, -12, -12, 26, -12, 28, 19, -12, + -12, -12 +}; + +/* YYDEFACT[STATE-NUM] -- Default reduction number in state STATE-NUM. + Performed when YYTABLE does not specify something else to do. Zero + means the default is an error. */ +static const yytype_int8 yydefact[] = +{ + 2, 0, 1, 18, 16, 33, 0, 39, 36, 0, + 40, 15, 3, 4, 5, 7, 6, 8, 30, 9, + 19, 25, 32, 37, 34, 20, 31, 27, 38, 35, + 0, 10, 0, 0, 17, 29, 0, 24, 28, 23, + 41, 21, 26, 12, 42, 0, 11, 0, 41, 22, + 14, 13 +}; + +/* YYPGOTO[NTERM-NUM]. */ +static const yytype_int8 yypgoto[] = +{ + -12, -12, -12, -12, -12, -12, -12, -12, -12, -12, + -8 +}; + +/* YYDEFGOTO[NTERM-NUM]. */ +static const yytype_int8 yydefgoto[] = +{ + 0, 1, 12, 13, 14, 15, 16, 17, 18, 19, + 46 +}; + +/* YYTABLE[YYPACT[STATE-NUM]] -- What to do in state STATE-NUM. If + positive, shift that token. If negative, reduce the rule whose + number is the opposite. If YYTABLE_NINF, syntax error. */ +static const yytype_int8 yytable[] = +{ + 2, 43, 37, 38, 44, 45, 3, 4, 5, 6, + 7, 8, 9, 10, 11, 25, 20, 26, 27, 28, + 29, 30, 34, 21, 31, 32, 22, 33, 23, 24, + 35, 50, 36, 39, 44, 40, 41, 42, 47, 48, + 51, 49 +}; + +static const yytype_int8 yycheck[] = +{ + 0, 12, 12, 13, 15, 16, 6, 7, 8, 9, + 10, 11, 12, 13, 14, 6, 17, 8, 9, 10, + 11, 12, 5, 13, 15, 16, 8, 18, 10, 11, + 3, 12, 17, 12, 15, 13, 13, 13, 18, 13, + 48, 13 +}; + +/* YYSTOS[STATE-NUM] -- The symbol kind of the accessing symbol of + state STATE-NUM. */ +static const yytype_int8 yystos[] = +{ + 0, 20, 0, 6, 7, 8, 9, 10, 11, 12, + 13, 14, 21, 22, 23, 24, 25, 26, 27, 28, + 17, 13, 8, 10, 11, 6, 8, 9, 10, 11, + 12, 15, 16, 18, 5, 3, 17, 12, 13, 12, + 13, 13, 13, 12, 15, 16, 29, 18, 13, 13, + 12, 29 +}; + +/* YYR1[RULE-NUM] -- Symbol kind of the left-hand side of rule RULE-NUM. */ +static const yytype_int8 yyr1[] = +{ + 0, 19, 20, 20, 21, 21, 21, 21, 21, 21, + 22, 22, 22, 22, 22, 23, 23, 23, 24, 24, + 24, 25, 25, 25, 25, 25, 25, 25, 25, 26, + 26, 27, 27, 27, 27, 27, 27, 27, 27, 27, + 28, 29, 29 +}; + +/* YYR2[RULE-NUM] -- Number of symbols on the right-hand side of rule RULE-NUM. */ +static const yytype_int8 yyr2[] = +{ + 0, 2, 0, 2, 1, 1, 1, 1, 1, 1, + 2, 4, 4, 6, 6, 1, 1, 2, 1, 2, + 2, 3, 5, 3, 3, 2, 4, 2, 3, 2, + 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, + 1, 0, 1 +}; + + +enum { YYENOMEM = -2 }; + +#define yyerrok (yyerrstatus = 0) +#define yyclearin (yychar = YYEMPTY) + +#define YYACCEPT goto yyacceptlab +#define YYABORT goto yyabortlab +#define YYERROR goto yyerrorlab +#define YYNOMEM goto yyexhaustedlab + + +#define YYRECOVERING() (!!yyerrstatus) + +#define YYBACKUP(Token, Value) \ + do \ + if (yychar == YYEMPTY) \ + { \ + yychar = (Token); \ + yylval = (Value); \ + YYPOPSTACK (yylen); \ + yystate = *yyssp; \ + goto yybackup; \ + } \ + else \ + { \ + yyerror (YY_("syntax error: cannot back up")); \ + YYERROR; \ + } \ + while (0) + +/* Backward compatibility with an undocumented macro. + Use YYerror or YYUNDEF. */ +#define YYERRCODE YYUNDEF + + +/* Enable debugging if requested. */ +#if YYDEBUG + +# ifndef YYFPRINTF +# include /* INFRINGES ON USER NAME SPACE */ +# define YYFPRINTF fprintf +# endif + +# define YYDPRINTF(Args) \ +do { \ + if (yydebug) \ + YYFPRINTF Args; \ +} while (0) + + + + +# define YY_SYMBOL_PRINT(Title, Kind, Value, Location) \ +do { \ + if (yydebug) \ + { \ + YYFPRINTF (stderr, "%s ", Title); \ + yy_symbol_print (stderr, \ + Kind, Value); \ + YYFPRINTF (stderr, "\n"); \ + } \ +} while (0) + + +/*-----------------------------------. +| Print this symbol's value on YYO. | +`-----------------------------------*/ + +static void +yy_symbol_value_print (FILE *yyo, + yysymbol_kind_t yykind, YYSTYPE const * const yyvaluep) +{ + FILE *yyoutput = yyo; + YY_USE (yyoutput); + if (!yyvaluep) + return; + YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN + YY_USE (yykind); + YY_IGNORE_MAYBE_UNINITIALIZED_END +} + + +/*---------------------------. +| Print this symbol on YYO. | +`---------------------------*/ + +static void +yy_symbol_print (FILE *yyo, + yysymbol_kind_t yykind, YYSTYPE const * const yyvaluep) +{ + YYFPRINTF (yyo, "%s %s (", + yykind < YYNTOKENS ? "token" : "nterm", yysymbol_name (yykind)); + + yy_symbol_value_print (yyo, yykind, yyvaluep); + YYFPRINTF (yyo, ")"); +} + +/*------------------------------------------------------------------. +| yy_stack_print -- Print the state stack from its BOTTOM up to its | +| TOP (included). | +`------------------------------------------------------------------*/ + +static void +yy_stack_print (yy_state_t *yybottom, yy_state_t *yytop) +{ + YYFPRINTF (stderr, "Stack now"); + for (; yybottom <= yytop; yybottom++) + { + int yybot = *yybottom; + YYFPRINTF (stderr, " %d", yybot); + } + YYFPRINTF (stderr, "\n"); +} + +# define YY_STACK_PRINT(Bottom, Top) \ +do { \ + if (yydebug) \ + yy_stack_print ((Bottom), (Top)); \ +} while (0) + + +/*------------------------------------------------. +| Report that the YYRULE is going to be reduced. | +`------------------------------------------------*/ + +static void +yy_reduce_print (yy_state_t *yyssp, YYSTYPE *yyvsp, + int yyrule) +{ + int yylno = yyrline[yyrule]; + int yynrhs = yyr2[yyrule]; + int yyi; + YYFPRINTF (stderr, "Reducing stack by rule %d (line %d):\n", + yyrule - 1, yylno); + /* The symbols being reduced. */ + for (yyi = 0; yyi < yynrhs; yyi++) + { + YYFPRINTF (stderr, " $%d = ", yyi + 1); + yy_symbol_print (stderr, + YY_ACCESSING_SYMBOL (+yyssp[yyi + 1 - yynrhs]), + &yyvsp[(yyi + 1) - (yynrhs)]); + YYFPRINTF (stderr, "\n"); + } +} + +# define YY_REDUCE_PRINT(Rule) \ +do { \ + if (yydebug) \ + yy_reduce_print (yyssp, yyvsp, Rule); \ +} while (0) + +/* Nonzero means print parse trace. It is left uninitialized so that + multiple parsers can coexist. */ +int yydebug; +#else /* !YYDEBUG */ +# define YYDPRINTF(Args) ((void) 0) +# define YY_SYMBOL_PRINT(Title, Kind, Value, Location) +# define YY_STACK_PRINT(Bottom, Top) +# define YY_REDUCE_PRINT(Rule) +#endif /* !YYDEBUG */ + + +/* YYINITDEPTH -- initial size of the parser's stacks. */ +#ifndef YYINITDEPTH +# define YYINITDEPTH 200 +#endif + +/* YYMAXDEPTH -- maximum size the stacks can grow to (effective only + if the built-in stack extension method is used). + + Do not make this value too large; the results are undefined if + YYSTACK_ALLOC_MAXIMUM < YYSTACK_BYTES (YYMAXDEPTH) + evaluated with infinite-precision integer arithmetic. */ + +#ifndef YYMAXDEPTH +# define YYMAXDEPTH 10000 +#endif + + + + + + +/*-----------------------------------------------. +| Release the memory associated to this symbol. | +`-----------------------------------------------*/ + +static void +yydestruct (const char *yymsg, + yysymbol_kind_t yykind, YYSTYPE *yyvaluep) +{ + YY_USE (yyvaluep); + if (!yymsg) + yymsg = "Deleting"; + YY_SYMBOL_PRINT (yymsg, yykind, yyvaluep, yylocationp); + + YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN + YY_USE (yykind); + YY_IGNORE_MAYBE_UNINITIALIZED_END +} + + +/* Lookahead token kind. */ +int yychar; + +/* The semantic value of the lookahead symbol. */ +YYSTYPE yylval; +/* Number of syntax errors so far. */ +int yynerrs; + + + + +/*----------. +| yyparse. | +`----------*/ + +int +yyparse (void) +{ + yy_state_fast_t yystate = 0; + /* Number of tokens to shift before error messages enabled. */ + int yyerrstatus = 0; + + /* Refer to the stacks through separate pointers, to allow yyoverflow + to reallocate them elsewhere. */ + + /* Their size. */ + YYPTRDIFF_T yystacksize = YYINITDEPTH; + + /* The state stack: array, bottom, top. */ + yy_state_t yyssa[YYINITDEPTH]; + yy_state_t *yyss = yyssa; + yy_state_t *yyssp = yyss; + + /* The semantic value stack: array, bottom, top. */ + YYSTYPE yyvsa[YYINITDEPTH]; + YYSTYPE *yyvs = yyvsa; + YYSTYPE *yyvsp = yyvs; + + int yyn; + /* The return value of yyparse. */ + int yyresult; + /* Lookahead symbol kind. */ + yysymbol_kind_t yytoken = YYSYMBOL_YYEMPTY; + /* The variables used to return semantic value and location from the + action routines. */ + YYSTYPE yyval; + + + +#define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) + + /* The number of symbols on the RHS of the reduced rule. + Keep to zero when no symbol should be popped. */ + int yylen = 0; + + YYDPRINTF ((stderr, "Starting parse\n")); + + yychar = YYEMPTY; /* Cause a token to be read. */ + + goto yysetstate; + + +/*------------------------------------------------------------. +| yynewstate -- push a new state, which is found in yystate. | +`------------------------------------------------------------*/ +yynewstate: + /* In all cases, when you get here, the value and location stacks + have just been pushed. So pushing a state here evens the stacks. */ + yyssp++; + + +/*--------------------------------------------------------------------. +| yysetstate -- set current state (the top of the stack) to yystate. | +`--------------------------------------------------------------------*/ +yysetstate: + YYDPRINTF ((stderr, "Entering state %d\n", yystate)); + YY_ASSERT (0 <= yystate && yystate < YYNSTATES); + YY_IGNORE_USELESS_CAST_BEGIN + *yyssp = YY_CAST (yy_state_t, yystate); + YY_IGNORE_USELESS_CAST_END + YY_STACK_PRINT (yyss, yyssp); + + if (yyss + yystacksize - 1 <= yyssp) +#if !defined yyoverflow && !defined YYSTACK_RELOCATE + YYNOMEM; +#else + { + /* Get the current used size of the three stacks, in elements. */ + YYPTRDIFF_T yysize = yyssp - yyss + 1; + +# if defined yyoverflow + { + /* Give user a chance to reallocate the stack. Use copies of + these so that the &'s don't force the real ones into + memory. */ + yy_state_t *yyss1 = yyss; + YYSTYPE *yyvs1 = yyvs; + + /* Each stack pointer address is followed by the size of the + data in use in that stack, in bytes. This used to be a + conditional around just the two extra args, but that might + be undefined if yyoverflow is a macro. */ + yyoverflow (YY_("memory exhausted"), + &yyss1, yysize * YYSIZEOF (*yyssp), + &yyvs1, yysize * YYSIZEOF (*yyvsp), + &yystacksize); + yyss = yyss1; + yyvs = yyvs1; + } +# else /* defined YYSTACK_RELOCATE */ + /* Extend the stack our own way. */ + if (YYMAXDEPTH <= yystacksize) + YYNOMEM; + yystacksize *= 2; + if (YYMAXDEPTH < yystacksize) + yystacksize = YYMAXDEPTH; + + { + yy_state_t *yyss1 = yyss; + union yyalloc *yyptr = + YY_CAST (union yyalloc *, + YYSTACK_ALLOC (YY_CAST (YYSIZE_T, YYSTACK_BYTES (yystacksize)))); + if (! yyptr) + YYNOMEM; + YYSTACK_RELOCATE (yyss_alloc, yyss); + YYSTACK_RELOCATE (yyvs_alloc, yyvs); +# undef YYSTACK_RELOCATE + if (yyss1 != yyssa) + YYSTACK_FREE (yyss1); + } +# endif + + yyssp = yyss + yysize - 1; + yyvsp = yyvs + yysize - 1; + + YY_IGNORE_USELESS_CAST_BEGIN + YYDPRINTF ((stderr, "Stack size increased to %ld\n", + YY_CAST (long, yystacksize))); + YY_IGNORE_USELESS_CAST_END + + if (yyss + yystacksize - 1 <= yyssp) + YYABORT; + } +#endif /* !defined yyoverflow && !defined YYSTACK_RELOCATE */ + + + if (yystate == YYFINAL) + YYACCEPT; + + goto yybackup; + + +/*-----------. +| yybackup. | +`-----------*/ +yybackup: + /* Do appropriate processing given the current state. Read a + lookahead token if we need one and don't already have one. */ + + /* First try to decide what to do without reference to lookahead token. */ + yyn = yypact[yystate]; + if (yypact_value_is_default (yyn)) + goto yydefault; + + /* Not known => get a lookahead token if don't already have one. */ + + /* YYCHAR is either empty, or end-of-input, or a valid lookahead. */ + if (yychar == YYEMPTY) + { + YYDPRINTF ((stderr, "Reading a token\n")); + yychar = yylex (); + } + + if (yychar <= YYEOF) + { + yychar = YYEOF; + yytoken = YYSYMBOL_YYEOF; + YYDPRINTF ((stderr, "Now at end of input.\n")); + } + else if (yychar == YYerror) + { + /* The scanner already issued an error message, process directly + to error recovery. But do not keep the error token as + lookahead, it is too special and may lead us to an endless + loop in error recovery. */ + yychar = YYUNDEF; + yytoken = YYSYMBOL_YYerror; + goto yyerrlab1; + } + else + { + yytoken = YYTRANSLATE (yychar); + YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc); + } + + /* If the proper action on seeing token YYTOKEN is to reduce or to + detect an error, take that action. */ + yyn += yytoken; + if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) + goto yydefault; + yyn = yytable[yyn]; + if (yyn <= 0) + { + if (yytable_value_is_error (yyn)) + goto yyerrlab; + yyn = -yyn; + goto yyreduce; + } + + /* Count tokens shifted since error; after three, turn off error + status. */ + if (yyerrstatus) + yyerrstatus--; + + /* Shift the lookahead token. */ + YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc); + yystate = yyn; + YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN + *++yyvsp = yylval; + YY_IGNORE_MAYBE_UNINITIALIZED_END + + /* Discard the shifted token. */ + yychar = YYEMPTY; + goto yynewstate; + + +/*-----------------------------------------------------------. +| yydefault -- do the default action for the current state. | +`-----------------------------------------------------------*/ +yydefault: + yyn = yydefact[yystate]; + if (yyn == 0) + goto yyerrlab; + goto yyreduce; + + +/*-----------------------------. +| yyreduce -- do a reduction. | +`-----------------------------*/ +yyreduce: + /* yyn is the number of a rule to reduce with. */ + yylen = yyr2[yyn]; + + /* If YYLEN is nonzero, implement the default value of the action: + '$$ = $1'. + + Otherwise, the following line sets YYVAL to garbage. + This behavior is undocumented and Bison + users should not rely upon it. Assigning to YYVAL + unconditionally makes the parser a bit smaller, and it avoids a + GCC warning that YYVAL may be used uninitialized. */ + yyval = yyvsp[1-yylen]; + + + YY_REDUCE_PRINT (yyn); + switch (yyn) + { + case 4: /* item: time */ +#line 115 "getdate.y" + { + yyHaveTime++; + } +#line 1290 "getdate.c" + break; + + case 5: /* item: zone */ +#line 118 "getdate.y" + { + yyHaveZone++; + } +#line 1298 "getdate.c" + break; + + case 6: /* item: date */ +#line 121 "getdate.y" + { + yyHaveDate++; + } +#line 1306 "getdate.c" + break; + + case 7: /* item: day */ +#line 124 "getdate.y" + { + yyHaveDay++; + } +#line 1314 "getdate.c" + break; + + case 8: /* item: rel */ +#line 127 "getdate.y" + { + yyHaveRel++; + } +#line 1322 "getdate.c" + break; + + case 10: /* time: tUNUMBER tMERIDIAN */ +#line 133 "getdate.y" + { + yyHour = (yyvsp[-1].Number); + yyMinutes = 0; + yySeconds = 0; + yyMeridian = (yyvsp[0].Meridian); + } +#line 1333 "getdate.c" + break; + + case 11: /* time: tUNUMBER ':' tUNUMBER o_merid */ +#line 139 "getdate.y" + { + yyHour = (yyvsp[-3].Number); + yyMinutes = (yyvsp[-1].Number); + yySeconds = 0; + yyMeridian = (yyvsp[0].Meridian); + } +#line 1344 "getdate.c" + break; + + case 12: /* time: tUNUMBER ':' tUNUMBER tSNUMBER */ +#line 145 "getdate.y" + { + yyHour = (yyvsp[-3].Number); + yyMinutes = (yyvsp[-1].Number); + yyMeridian = MER24; + yyDSTmode = DSToff; + yyTimezone = - ((yyvsp[0].Number) % 100 + ((yyvsp[0].Number) / 100) * 60); + } +#line 1356 "getdate.c" + break; + + case 13: /* time: tUNUMBER ':' tUNUMBER ':' tUNUMBER o_merid */ +#line 152 "getdate.y" + { + yyHour = (yyvsp[-5].Number); + yyMinutes = (yyvsp[-3].Number); + yySeconds = (yyvsp[-1].Number); + yyMeridian = (yyvsp[0].Meridian); + } +#line 1367 "getdate.c" + break; + + case 14: /* time: tUNUMBER ':' tUNUMBER ':' tUNUMBER tSNUMBER */ +#line 158 "getdate.y" + { + yyHour = (yyvsp[-5].Number); + yyMinutes = (yyvsp[-3].Number); + yySeconds = (yyvsp[-1].Number); + yyMeridian = MER24; + yyDSTmode = DSToff; + yyTimezone = - ((yyvsp[0].Number) % 100 + ((yyvsp[0].Number) / 100) * 60); + } +#line 1380 "getdate.c" + break; + + case 15: /* zone: tZONE */ +#line 168 "getdate.y" + { + yyTimezone = (yyvsp[0].Number); + yyDSTmode = DSToff; + } +#line 1389 "getdate.c" + break; + + case 16: /* zone: tDAYZONE */ +#line 172 "getdate.y" + { + yyTimezone = (yyvsp[0].Number); + yyDSTmode = DSTon; + } +#line 1398 "getdate.c" + break; + + case 17: /* zone: tZONE tDST */ +#line 177 "getdate.y" + { + yyTimezone = (yyvsp[-1].Number); + yyDSTmode = DSTon; + } +#line 1407 "getdate.c" + break; + + case 18: /* day: tDAY */ +#line 183 "getdate.y" + { + yyDayOrdinal = 1; + yyDayNumber = (yyvsp[0].Number); + } +#line 1416 "getdate.c" + break; + + case 19: /* day: tDAY ',' */ +#line 187 "getdate.y" + { + yyDayOrdinal = 1; + yyDayNumber = (yyvsp[-1].Number); + } +#line 1425 "getdate.c" + break; + + case 20: /* day: tUNUMBER tDAY */ +#line 191 "getdate.y" + { + yyDayOrdinal = (yyvsp[-1].Number); + yyDayNumber = (yyvsp[0].Number); + } +#line 1434 "getdate.c" + break; + + case 21: /* date: tUNUMBER '/' tUNUMBER */ +#line 197 "getdate.y" + { + yyMonth = (yyvsp[-2].Number); + yyDay = (yyvsp[0].Number); + } +#line 1443 "getdate.c" + break; + + case 22: /* date: tUNUMBER '/' tUNUMBER '/' tUNUMBER */ +#line 201 "getdate.y" + { + if ((yyvsp[-4].Number) >= 100) { + yyYear = (yyvsp[-4].Number); + yyMonth = (yyvsp[-2].Number); + yyDay = (yyvsp[0].Number); + } else { + yyMonth = (yyvsp[-4].Number); + yyDay = (yyvsp[-2].Number); + yyYear = (yyvsp[0].Number); + } + } +#line 1459 "getdate.c" + break; + + case 23: /* date: tUNUMBER tSNUMBER tSNUMBER */ +#line 212 "getdate.y" + { + /* ISO 8601 format. yyyy-mm-dd. */ + yyYear = (yyvsp[-2].Number); + yyMonth = -(yyvsp[-1].Number); + yyDay = -(yyvsp[0].Number); + } +#line 1470 "getdate.c" + break; + + case 24: /* date: tUNUMBER tMONTH tSNUMBER */ +#line 218 "getdate.y" + { + /* e.g. 17-JUN-1992. */ + yyDay = (yyvsp[-2].Number); + yyMonth = (yyvsp[-1].Number); + yyYear = -(yyvsp[0].Number); + } +#line 1481 "getdate.c" + break; + + case 25: /* date: tMONTH tUNUMBER */ +#line 224 "getdate.y" + { + yyMonth = (yyvsp[-1].Number); + yyDay = (yyvsp[0].Number); + } +#line 1490 "getdate.c" + break; + + case 26: /* date: tMONTH tUNUMBER ',' tUNUMBER */ +#line 228 "getdate.y" + { + yyMonth = (yyvsp[-3].Number); + yyDay = (yyvsp[-2].Number); + yyYear = (yyvsp[0].Number); + } +#line 1500 "getdate.c" + break; + + case 27: /* date: tUNUMBER tMONTH */ +#line 233 "getdate.y" + { + yyMonth = (yyvsp[0].Number); + yyDay = (yyvsp[-1].Number); + } +#line 1509 "getdate.c" + break; + + case 28: /* date: tUNUMBER tMONTH tUNUMBER */ +#line 237 "getdate.y" + { + yyMonth = (yyvsp[-1].Number); + yyDay = (yyvsp[-2].Number); + yyYear = (yyvsp[0].Number); + } +#line 1519 "getdate.c" + break; + + case 29: /* rel: relunit tAGO */ +#line 244 "getdate.y" + { + yyRelSeconds = -yyRelSeconds; + yyRelMonth = -yyRelMonth; + } +#line 1528 "getdate.c" + break; + + case 31: /* relunit: tUNUMBER tMINUTE_UNIT */ +#line 251 "getdate.y" + { + yyRelSeconds += (yyvsp[-1].Number) * (yyvsp[0].Number) * 60L; + } +#line 1536 "getdate.c" + break; + + case 32: /* relunit: tSNUMBER tMINUTE_UNIT */ +#line 254 "getdate.y" + { + yyRelSeconds += (yyvsp[-1].Number) * (yyvsp[0].Number) * 60L; + } +#line 1544 "getdate.c" + break; + + case 33: /* relunit: tMINUTE_UNIT */ +#line 257 "getdate.y" + { + yyRelSeconds += (yyvsp[0].Number) * 60L; + } +#line 1552 "getdate.c" + break; + + case 34: /* relunit: tSNUMBER tSEC_UNIT */ +#line 260 "getdate.y" + { + yyRelSeconds += (yyvsp[-1].Number); + } +#line 1560 "getdate.c" + break; + + case 35: /* relunit: tUNUMBER tSEC_UNIT */ +#line 263 "getdate.y" + { + yyRelSeconds += (yyvsp[-1].Number); + } +#line 1568 "getdate.c" + break; + + case 36: /* relunit: tSEC_UNIT */ +#line 266 "getdate.y" + { + yyRelSeconds++; + } +#line 1576 "getdate.c" + break; + + case 37: /* relunit: tSNUMBER tMONTH_UNIT */ +#line 269 "getdate.y" + { + yyRelMonth += (yyvsp[-1].Number) * (yyvsp[0].Number); + } +#line 1584 "getdate.c" + break; + + case 38: /* relunit: tUNUMBER tMONTH_UNIT */ +#line 272 "getdate.y" + { + yyRelMonth += (yyvsp[-1].Number) * (yyvsp[0].Number); + } +#line 1592 "getdate.c" + break; + + case 39: /* relunit: tMONTH_UNIT */ +#line 275 "getdate.y" + { + yyRelMonth += (yyvsp[0].Number); + } +#line 1600 "getdate.c" + break; + + case 40: /* number: tUNUMBER */ +#line 280 "getdate.y" + { + if (yyHaveTime && yyHaveDate && !yyHaveRel) + yyYear = (yyvsp[0].Number); + else { + if((yyvsp[0].Number)>10000) { + yyHaveDate++; + yyDay= ((yyvsp[0].Number))%100; + yyMonth= ((yyvsp[0].Number)/100)%100; + yyYear = (yyvsp[0].Number)/10000; + } + else { + yyHaveTime++; + if ((yyvsp[0].Number) < 100) { + yyHour = (yyvsp[0].Number); + yyMinutes = 0; + } + else { + yyHour = (yyvsp[0].Number) / 100; + yyMinutes = (yyvsp[0].Number) % 100; + } + yySeconds = 0; + yyMeridian = MER24; + } + } + } +#line 1630 "getdate.c" + break; + + case 41: /* o_merid: %empty */ +#line 307 "getdate.y" + { + (yyval.Meridian) = MER24; + } +#line 1638 "getdate.c" + break; + + case 42: /* o_merid: tMERIDIAN */ +#line 310 "getdate.y" + { + (yyval.Meridian) = (yyvsp[0].Meridian); + } +#line 1646 "getdate.c" + break; + + +#line 1650 "getdate.c" + + default: break; + } + /* User semantic actions sometimes alter yychar, and that requires + that yytoken be updated with the new translation. We take the + approach of translating immediately before every use of yytoken. + One alternative is translating here after every semantic action, + but that translation would be missed if the semantic action invokes + YYABORT, YYACCEPT, or YYERROR immediately after altering yychar or + if it invokes YYBACKUP. In the case of YYABORT or YYACCEPT, an + incorrect destructor might then be invoked immediately. In the + case of YYERROR or YYBACKUP, subsequent parser actions might lead + to an incorrect destructor call or verbose syntax error message + before the lookahead is translated. */ + YY_SYMBOL_PRINT ("-> $$ =", YY_CAST (yysymbol_kind_t, yyr1[yyn]), &yyval, &yyloc); + + YYPOPSTACK (yylen); + yylen = 0; + + *++yyvsp = yyval; + + /* Now 'shift' the result of the reduction. Determine what state + that goes to, based on the state we popped back to and the rule + number reduced by. */ + { + const int yylhs = yyr1[yyn] - YYNTOKENS; + const int yyi = yypgoto[yylhs] + *yyssp; + yystate = (0 <= yyi && yyi <= YYLAST && yycheck[yyi] == *yyssp + ? yytable[yyi] + : yydefgoto[yylhs]); + } + + goto yynewstate; + + +/*--------------------------------------. +| yyerrlab -- here on detecting error. | +`--------------------------------------*/ +yyerrlab: + /* Make sure we have latest lookahead translation. See comments at + user semantic actions for why this is necessary. */ + yytoken = yychar == YYEMPTY ? YYSYMBOL_YYEMPTY : YYTRANSLATE (yychar); + /* If not already recovering from an error, report this error. */ + if (!yyerrstatus) + { + ++yynerrs; + yyerror (YY_("syntax error")); + } + + if (yyerrstatus == 3) + { + /* If just tried and failed to reuse lookahead token after an + error, discard it. */ + + if (yychar <= YYEOF) + { + /* Return failure if at end of input. */ + if (yychar == YYEOF) + YYABORT; + } + else + { + yydestruct ("Error: discarding", + yytoken, &yylval); + yychar = YYEMPTY; + } + } + + /* Else will try to reuse lookahead token after shifting the error + token. */ + goto yyerrlab1; + + +/*---------------------------------------------------. +| yyerrorlab -- error raised explicitly by YYERROR. | +`---------------------------------------------------*/ +yyerrorlab: + /* Pacify compilers when the user code never invokes YYERROR and the + label yyerrorlab therefore never appears in user code. */ + if (0) + YYERROR; + ++yynerrs; + + /* Do not reclaim the symbols of the rule whose action triggered + this YYERROR. */ + YYPOPSTACK (yylen); + yylen = 0; + YY_STACK_PRINT (yyss, yyssp); + yystate = *yyssp; + goto yyerrlab1; + + +/*-------------------------------------------------------------. +| yyerrlab1 -- common code for both syntax error and YYERROR. | +`-------------------------------------------------------------*/ +yyerrlab1: + yyerrstatus = 3; /* Each real token shifted decrements this. */ + + /* Pop stack until we find a state that shifts the error token. */ + for (;;) + { + yyn = yypact[yystate]; + if (!yypact_value_is_default (yyn)) + { + yyn += YYSYMBOL_YYerror; + if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) + { + yyn = yytable[yyn]; + if (0 < yyn) + break; + } + } + + /* Pop the current state because it cannot handle the error token. */ + if (yyssp == yyss) + YYABORT; + + + yydestruct ("Error: popping", + YY_ACCESSING_SYMBOL (yystate), yyvsp); + YYPOPSTACK (1); + yystate = *yyssp; + YY_STACK_PRINT (yyss, yyssp); + } + + YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN + *++yyvsp = yylval; + YY_IGNORE_MAYBE_UNINITIALIZED_END + + + /* Shift the error token. */ + YY_SYMBOL_PRINT ("Shifting", YY_ACCESSING_SYMBOL (yyn), yyvsp, yylsp); + + yystate = yyn; + goto yynewstate; + + +/*-------------------------------------. +| yyacceptlab -- YYACCEPT comes here. | +`-------------------------------------*/ +yyacceptlab: + yyresult = 0; + goto yyreturnlab; + + +/*-----------------------------------. +| yyabortlab -- YYABORT comes here. | +`-----------------------------------*/ +yyabortlab: + yyresult = 1; + goto yyreturnlab; + + +/*-----------------------------------------------------------. +| yyexhaustedlab -- YYNOMEM (memory exhaustion) comes here. | +`-----------------------------------------------------------*/ +yyexhaustedlab: + yyerror (YY_("memory exhausted")); + yyresult = 2; + goto yyreturnlab; + + +/*----------------------------------------------------------. +| yyreturnlab -- parsing is finished, clean up and return. | +`----------------------------------------------------------*/ +yyreturnlab: + if (yychar != YYEMPTY) + { + /* Make sure we have latest lookahead translation. See comments at + user semantic actions for why this is necessary. */ + yytoken = YYTRANSLATE (yychar); + yydestruct ("Cleanup: discarding lookahead", + yytoken, &yylval); + } + /* Do not reclaim the symbols of the rule whose action triggered + this YYABORT or YYACCEPT. */ + YYPOPSTACK (yylen); + YY_STACK_PRINT (yyss, yyssp); + while (yyssp != yyss) + { + yydestruct ("Cleanup: popping", + YY_ACCESSING_SYMBOL (+*yyssp), yyvsp); + YYPOPSTACK (1); + } +#ifndef yyoverflow + if (yyss != yyssa) + YYSTACK_FREE (yyss); +#endif + + return yyresult; +} + +#line 315 "getdate.y" + + +/* Month and day table. */ +static TABLE const MonthDayTable[] = { + { "january", tMONTH, 1 }, + { "february", tMONTH, 2 }, + { "march", tMONTH, 3 }, + { "april", tMONTH, 4 }, + { "may", tMONTH, 5 }, + { "june", tMONTH, 6 }, + { "july", tMONTH, 7 }, + { "august", tMONTH, 8 }, + { "september", tMONTH, 9 }, + { "sept", tMONTH, 9 }, + { "october", tMONTH, 10 }, + { "november", tMONTH, 11 }, + { "december", tMONTH, 12 }, + { "sunday", tDAY, 0 }, + { "monday", tDAY, 1 }, + { "tuesday", tDAY, 2 }, + { "tues", tDAY, 2 }, + { "wednesday", tDAY, 3 }, + { "wednes", tDAY, 3 }, + { "thursday", tDAY, 4 }, + { "thur", tDAY, 4 }, + { "thurs", tDAY, 4 }, + { "friday", tDAY, 5 }, + { "saturday", tDAY, 6 }, + { NULL } +}; + +/* Time units table. */ +static TABLE const UnitsTable[] = { + { "year", tMONTH_UNIT, 12 }, + { "month", tMONTH_UNIT, 1 }, + { "fortnight", tMINUTE_UNIT, 14 * 24 * 60 }, + { "week", tMINUTE_UNIT, 7 * 24 * 60 }, + { "day", tMINUTE_UNIT, 1 * 24 * 60 }, + { "hour", tMINUTE_UNIT, 60 }, + { "minute", tMINUTE_UNIT, 1 }, + { "min", tMINUTE_UNIT, 1 }, + { "second", tSEC_UNIT, 1 }, + { "sec", tSEC_UNIT, 1 }, + { NULL } +}; + +/* Assorted relative-time words. */ +static TABLE const OtherTable[] = { + { "tomorrow", tMINUTE_UNIT, 1 * 24 * 60 }, + { "yesterday", tMINUTE_UNIT, -1 * 24 * 60 }, + { "today", tMINUTE_UNIT, 0 }, + { "now", tMINUTE_UNIT, 0 }, + { "last", tUNUMBER, -1 }, + { "this", tUNUMBER, 0 }, + { "next", tUNUMBER, 2 }, + { "first", tUNUMBER, 1 }, +/* { "second", tUNUMBER, 2 }, */ + { "third", tUNUMBER, 3 }, + { "fourth", tUNUMBER, 4 }, + { "fifth", tUNUMBER, 5 }, + { "sixth", tUNUMBER, 6 }, + { "seventh", tUNUMBER, 7 }, + { "eighth", tUNUMBER, 8 }, + { "ninth", tUNUMBER, 9 }, + { "tenth", tUNUMBER, 10 }, + { "eleventh", tUNUMBER, 11 }, + { "twelfth", tUNUMBER, 12 }, + { "ago", tAGO, 1 }, + { NULL } +}; + +/* The timezone table. */ +/* Some of these are commented out because a time_t can't store a float. */ +static TABLE const TimezoneTable[] = { + { "gmt", tZONE, HOUR( 0) }, /* Greenwich Mean */ + { "ut", tZONE, HOUR( 0) }, /* Universal (Coordinated) */ + { "utc", tZONE, HOUR( 0) }, + { "wet", tZONE, HOUR( 0) }, /* Western European */ + { "bst", tDAYZONE, HOUR( 0) }, /* British Summer */ + { "wat", tZONE, HOUR( 1) }, /* West Africa */ + { "at", tZONE, HOUR( 2) }, /* Azores */ +#if 0 + /* For completeness. BST is also British Summer, and GST is + * also Guam Standard. */ + { "bst", tZONE, HOUR( 3) }, /* Brazil Standard */ + { "gst", tZONE, HOUR( 3) }, /* Greenland Standard */ +#endif +#if 0 + { "nft", tZONE, HOUR(3.5) }, /* Newfoundland */ + { "nst", tZONE, HOUR(3.5) }, /* Newfoundland Standard */ + { "ndt", tDAYZONE, HOUR(3.5) }, /* Newfoundland Daylight */ +#endif + { "ast", tZONE, HOUR( 4) }, /* Atlantic Standard */ + { "adt", tDAYZONE, HOUR( 4) }, /* Atlantic Daylight */ + { "est", tZONE, HOUR( 5) }, /* Eastern Standard */ + { "edt", tDAYZONE, HOUR( 5) }, /* Eastern Daylight */ + { "cst", tZONE, HOUR( 6) }, /* Central Standard */ + { "cdt", tDAYZONE, HOUR( 6) }, /* Central Daylight */ + { "mst", tZONE, HOUR( 7) }, /* Mountain Standard */ + { "mdt", tDAYZONE, HOUR( 7) }, /* Mountain Daylight */ + { "pst", tZONE, HOUR( 8) }, /* Pacific Standard */ + { "pdt", tDAYZONE, HOUR( 8) }, /* Pacific Daylight */ + { "yst", tZONE, HOUR( 9) }, /* Yukon Standard */ + { "ydt", tDAYZONE, HOUR( 9) }, /* Yukon Daylight */ + { "hst", tZONE, HOUR(10) }, /* Hawaii Standard */ + { "hdt", tDAYZONE, HOUR(10) }, /* Hawaii Daylight */ + { "cat", tZONE, HOUR(10) }, /* Central Alaska */ + { "ahst", tZONE, HOUR(10) }, /* Alaska-Hawaii Standard */ + { "nt", tZONE, HOUR(11) }, /* Nome */ + { "idlw", tZONE, HOUR(12) }, /* International Date Line West */ + { "cet", tZONE, -HOUR(1) }, /* Central European */ + { "met", tZONE, -HOUR(1) }, /* Middle European */ + { "mewt", tZONE, -HOUR(1) }, /* Middle European Winter */ + { "mest", tDAYZONE, -HOUR(1) }, /* Middle European Summer */ + { "swt", tZONE, -HOUR(1) }, /* Swedish Winter */ + { "sst", tDAYZONE, -HOUR(1) }, /* Swedish Summer */ + { "fwt", tZONE, -HOUR(1) }, /* French Winter */ + { "fst", tDAYZONE, -HOUR(1) }, /* French Summer */ + { "eet", tZONE, -HOUR(2) }, /* Eastern Europe, USSR Zone 1 */ + { "bt", tZONE, -HOUR(3) }, /* Baghdad, USSR Zone 2 */ +#if 0 + { "it", tZONE, -HOUR(3.5) },/* Iran */ +#endif + { "zp4", tZONE, -HOUR(4) }, /* USSR Zone 3 */ + { "zp5", tZONE, -HOUR(5) }, /* USSR Zone 4 */ +#if 0 + { "ist", tZONE, -HOUR(5.5) },/* Indian Standard */ +#endif + { "zp6", tZONE, -HOUR(6) }, /* USSR Zone 5 */ +#if 0 + /* For completeness. NST is also Newfoundland Stanard, and SST is + * also Swedish Summer. */ + { "nst", tZONE, -HOUR(6.5) },/* North Sumatra */ + { "sst", tZONE, -HOUR(7) }, /* South Sumatra, USSR Zone 6 */ +#endif /* 0 */ + { "wast", tZONE, -HOUR(7) }, /* West Australian Standard */ + { "wadt", tDAYZONE, -HOUR(7) }, /* West Australian Daylight */ +#if 0 + { "jt", tZONE, -HOUR(7.5) },/* Java (3pm in Cronusland!) */ +#endif + { "cct", tZONE, -HOUR(8) }, /* China Coast, USSR Zone 7 */ + { "jst", tZONE, -HOUR(9) }, /* Japan Standard, USSR Zone 8 */ +#if 0 + { "cast", tZONE, -HOUR(9.5) },/* Central Australian Standard */ + { "cadt", tDAYZONE, -HOUR(9.5) },/* Central Australian Daylight */ +#endif + { "east", tZONE, -HOUR(10) }, /* Eastern Australian Standard */ + { "eadt", tDAYZONE, -HOUR(10) }, /* Eastern Australian Daylight */ + { "gst", tZONE, -HOUR(10) }, /* Guam Standard, USSR Zone 9 */ + { "nzt", tZONE, -HOUR(12) }, /* New Zealand */ + { "nzst", tZONE, -HOUR(12) }, /* New Zealand Standard */ + { "nzdt", tDAYZONE, -HOUR(12) }, /* New Zealand Daylight */ + { "idle", tZONE, -HOUR(12) }, /* International Date Line East */ + { NULL } +}; + +/* Military timezone table. */ +static TABLE const MilitaryTable[] = { + { "a", tZONE, HOUR( 1) }, + { "b", tZONE, HOUR( 2) }, + { "c", tZONE, HOUR( 3) }, + { "d", tZONE, HOUR( 4) }, + { "e", tZONE, HOUR( 5) }, + { "f", tZONE, HOUR( 6) }, + { "g", tZONE, HOUR( 7) }, + { "h", tZONE, HOUR( 8) }, + { "i", tZONE, HOUR( 9) }, + { "k", tZONE, HOUR( 10) }, + { "l", tZONE, HOUR( 11) }, + { "m", tZONE, HOUR( 12) }, + { "n", tZONE, HOUR(- 1) }, + { "o", tZONE, HOUR(- 2) }, + { "p", tZONE, HOUR(- 3) }, + { "q", tZONE, HOUR(- 4) }, + { "r", tZONE, HOUR(- 5) }, + { "s", tZONE, HOUR(- 6) }, + { "t", tZONE, HOUR(- 7) }, + { "u", tZONE, HOUR(- 8) }, + { "v", tZONE, HOUR(- 9) }, + { "w", tZONE, HOUR(-10) }, + { "x", tZONE, HOUR(-11) }, + { "y", tZONE, HOUR(-12) }, + { "z", tZONE, HOUR( 0) }, + { NULL } +}; + + + + +/* ARGSUSED */ +void +yyerror(const char *s) +{ + return; +} + + +static time_t +ToSeconds(time_t Hours, time_t Minutes, time_t Seconds, MERIDIAN Meridian) +{ + if (Minutes < 0 || Minutes > 59 || Seconds < 0 || Seconds > 59) + return -1; + switch (Meridian) { + case MER24: + if (Hours < 0 || Hours > 23) + return -1; + return (Hours * 60L + Minutes) * 60L + Seconds; + case MERam: + if (Hours < 1 || Hours > 12) + return -1; + if (Hours == 12) + Hours = 0; + return (Hours * 60L + Minutes) * 60L + Seconds; + case MERpm: + if (Hours < 1 || Hours > 12) + return -1; + if (Hours == 12) + Hours = 0; + return ((Hours + 12) * 60L + Minutes) * 60L + Seconds; + default: + abort (); + } + /* NOTREACHED */ +} + + +/* Year is either + * A negative number, which means to use its absolute value (why?) + * A number from 0 to 99, which means a year from 1900 to 1999, or + * The actual year (>=100). */ +static time_t +Convert(time_t Month, time_t Day, time_t Year, time_t Hours, time_t Minutes, + time_t Seconds, MERIDIAN Meridian, DSTMODE DSTmode) +{ + static int DaysInMonth[12] = { + 31, 0, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 + }; + struct tm tm; + time_t tod; + time_t Julian; + int i; + + if (Year < 0) + Year = -Year; + if (Year < 69) + Year += 2000; + else if (Year < 100) { + Year += 1900; + if (Year < EPOCH) + Year += 100; + } + DaysInMonth[1] = Year % 4 == 0 && (Year % 100 != 0 || Year % 400 == 0) + ? 29 : 28; + /* 32-bit time_t cannot represent years past 2038 */ + if (Year < EPOCH || (sizeof(time_t) == sizeof(int) && Year > 2038) + || Month < 1 || Month > 12 + /* Lint fluff: "conversion from long may lose accuracy" */ + || Day < 1 || Day > DaysInMonth[--Month]) + return -1; + + for (Julian = Day - 1, i = 0; i < Month; i++) + Julian += DaysInMonth[i]; + for (i = EPOCH; i < Year; i++) + Julian += 365 + (i % 4 == 0); + Julian *= SECSPERDAY; + Julian += yyTimezone * 60L; + if ((tod = ToSeconds(Hours, Minutes, Seconds, Meridian)) < 0) + return -1; + Julian += tod; + if (DSTmode == DSTon + || (DSTmode == DSTmaybe && localtime_r(&Julian, &tm) && tm.tm_isdst)) + Julian -= 60 * 60; + return Julian; +} + + +static time_t +DSTcorrect(time_t Start, time_t Future) +{ + struct tm start_tm; + struct tm future_tm; + time_t StartDay; + time_t FutureDay; + + if (!localtime_r(&Start, &start_tm) || !localtime_r(&Future, &future_tm)) + return -1; + + StartDay = (start_tm.tm_hour + 1) % 24; + FutureDay = (future_tm.tm_hour + 1) % 24; + return (Future - Start) + (StartDay - FutureDay) * 60L * 60L; +} + + +static time_t +RelativeDate(time_t Start, time_t DayOrdinal, time_t DayNumber) +{ + struct tm tm; + time_t now; + + now = Start; + if (!localtime_r(&now, &tm)) + return -1; + now += SECSPERDAY * ((DayNumber - tm.tm_wday + 7) % 7); + now += 7 * SECSPERDAY * (DayOrdinal <= 0 ? DayOrdinal : DayOrdinal - 1); + return DSTcorrect(Start, now); +} + + +static time_t +RelativeMonth(time_t Start, time_t RelMonth) +{ + struct tm tm; + time_t Month; + time_t Year; + + if (RelMonth == 0) + return 0; + if (!localtime_r(&Start, &tm)) + return -1; + Month = 12 * (tm.tm_year + 1900) + tm.tm_mon + RelMonth; + Year = Month / 12; + Month = Month % 12 + 1; + return DSTcorrect(Start, + Convert(Month, (time_t)tm.tm_mday, Year, + (time_t)tm.tm_hour, (time_t)tm.tm_min, (time_t)tm.tm_sec, + MER24, DSTmaybe)); +} + + +static int +LookupWord(char *buff) +{ + char *p; + char *q; + const TABLE *tp; + int i; + int abbrev; + int bufflen; + + /* Make it lowercase. */ + for (p = buff; *p; p++) { + if (isupper((unsigned char)*p)) + *p = tolower((unsigned char)*p); + } + if ((bufflen = (int)(p - buff)) == 0) + return '\0'; + + if (strcmp(buff, "am") == 0 || strcmp(buff, "a.m.") == 0) { + yylval.Meridian = MERam; + return tMERIDIAN; + } + if (strcmp(buff, "pm") == 0 || strcmp(buff, "p.m.") == 0) { + yylval.Meridian = MERpm; + return tMERIDIAN; + } + + /* See if we have an abbreviation for a month. */ + if (bufflen == 3) + abbrev = 1; + else if (bufflen == 4 && buff[3] == '.') { + abbrev = 1; + buff[bufflen = 3] = '\0'; + } + else + abbrev = 0; + + for (tp = MonthDayTable; tp->name; tp++) { + if (abbrev) { + if (strncmp(buff, tp->name, 3) == 0) { + yylval.Number = tp->value; + return tp->type; + } + } + else if (strcmp(buff, tp->name) == 0) { + yylval.Number = tp->value; + return tp->type; + } + } + + for (tp = TimezoneTable; tp->name; tp++) + if (strcmp(buff, tp->name) == 0) { + yylval.Number = tp->value; + return tp->type; + } + + if (strcmp(buff, "dst") == 0) + return tDST; + + for (tp = UnitsTable; tp->name; tp++) + if (strcmp(buff, tp->name) == 0) { + yylval.Number = tp->value; + return tp->type; + } + + /* Strip off any plural and try the units table again. */ + i = bufflen - 1; + if (buff[i] == 's') { + buff[i] = '\0'; + for (tp = UnitsTable; tp->name; tp++) + if (strcmp(buff, tp->name) == 0) { + yylval.Number = tp->value; + return tp->type; + } + buff[i] = 's'; /* Put back for "this" in OtherTable. */ + } + + for (tp = OtherTable; tp->name; tp++) + if (strcmp(buff, tp->name) == 0) { + yylval.Number = tp->value; + return tp->type; + } + + /* Military timezones. */ + if (buff[1] == '\0' && isalpha((unsigned char)*buff)) { + for (tp = MilitaryTable; tp->name; tp++) + if (strcmp(buff, tp->name) == 0) { + yylval.Number = tp->value; + return tp->type; + } + } + + /* Drop out any periods and try the timezone table again. */ + for (i = 0, p = q = buff; *q; q++) + if (*q != '.') + *p++ = *q; + else + i++; + *p = '\0'; + if (i) + for (tp = TimezoneTable; tp->name; tp++) + if (strcmp(buff, tp->name) == 0) { + yylval.Number = tp->value; + return tp->type; + } + + return tID; +} + + +static int +yylex(void) +{ + char c; + char *p; + char buff[20]; + int Count; + int sign; + + for ( ; ; ) { + while (isspace((unsigned char)*yyInput)) + yyInput++; + + if (isdigit((unsigned char)(c = *yyInput)) || c == '-' || c == '+') { + if (c == '-' || c == '+') { + sign = c == '-' ? -1 : 1; + if (!isdigit((unsigned char)*++yyInput)) + /* skip the '-' sign */ + continue; + } + else + sign = 0; + for (yylval.Number = 0; isdigit((unsigned char)(c = *yyInput++)); ) + yylval.Number = 10 * yylval.Number + c - '0'; + yyInput--; + if (sign < 0) + yylval.Number = -yylval.Number; + return sign ? tSNUMBER : tUNUMBER; + } + if (isalpha((unsigned char)c)) { + for (p = buff; isalpha((unsigned char)(c = *yyInput++)) || c == '.'; ) + if (p < &buff[sizeof buff - 1]) + *p++ = c; + *p = '\0'; + yyInput--; + return LookupWord(buff); + } + if (c != '(') + return *yyInput++; + Count = 0; + do { + c = *yyInput++; + if (c == '\0') + return c; + if (c == '(') + Count++; + else if (c == ')') + Count--; + } while (Count > 0); + } +} + +#define TM_YEAR_ORIGIN 1900 + +/* Yield A - B, measured in seconds. */ +static long +difftm(struct tm *a, struct tm *b) +{ + int ay = a->tm_year + (TM_YEAR_ORIGIN - 1); + int by = b->tm_year + (TM_YEAR_ORIGIN - 1); + int days = ( + /* difference in day of year */ + a->tm_yday - b->tm_yday + /* + intervening leap days */ + + ((ay >> 2) - (by >> 2)) + - (ay/100 - by/100) + + ((ay/100 >> 2) - (by/100 >> 2)) + /* + difference in years * 365 */ + + (long)(ay-by) * 365 + ); + return (60*(60*(24*days + (a->tm_hour - b->tm_hour)) + + (a->tm_min - b->tm_min)) + + (a->tm_sec - b->tm_sec)); +} + +time_t get_date(char *p); + +time_t +get_date(char *p) +{ + struct tm tm, gmt; + time_t Start; + time_t tod; + time_t now; + time_t tz; + + yyInput = p; + (void)time (&now); + + if (gmtime_r (&now, &gmt) == NULL) + return -1; + + if (localtime_r (&now, &tm) == NULL) + return -1; + + tz = difftm (&gmt, &tm) / 60; + if (tm.tm_isdst) + tz += 60; + + yyYear = tm.tm_year + 1900; + yyMonth = tm.tm_mon + 1; + yyDay = tm.tm_mday; + yyTimezone = tz; + yyDSTmode = DSTmaybe; + yyHour = 0; + yyMinutes = 0; + yySeconds = 0; + yyMeridian = MER24; + yyRelSeconds = 0; + yyRelMonth = 0; + yyHaveDate = 0; + yyHaveDay = 0; + yyHaveRel = 0; + yyHaveTime = 0; + yyHaveZone = 0; + + if (yyparse() + || yyHaveTime > 1 || yyHaveZone > 1 || yyHaveDate > 1 || yyHaveDay > 1) + return -1; + + if (yyHaveDate || yyHaveTime || yyHaveDay) { + Start = Convert(yyMonth, yyDay, yyYear, yyHour, yyMinutes, yySeconds, + yyMeridian, yyDSTmode); + if (Start < 0) + return -1; + } + else { + Start = now; + if (!yyHaveRel) + Start -= ((tm.tm_hour * 60L + tm.tm_min) * 60L) + tm.tm_sec; + } + + Start += yyRelSeconds; + Start += RelativeMonth(Start, yyRelMonth); + + if (yyHaveDay && !yyHaveDate) { + tod = RelativeDate(Start, yyDayOrdinal, yyDayNumber); + Start += tod; + } + + /* Have to do *something* with a legitimate -1 so it's distinguishable + * from the error return value. (Alternately could set errno on error.) */ + return Start == -1 ? 0 : Start; +} + + +#ifdef TEST + +/* ARGSUSED */ +int +main(int argc, char *argv[]) +{ + char buff[128]; + time_t d; + + (void)printf("Enter date, or blank line to exit.\n\t> "); + (void)fflush(stdout); + while (fgets(buff, sizeof(buff), stdin) && buff[0]) { + d = get_date(buff); + if (d == -1) + (void)printf("Bad format - couldn't convert.\n"); + else + (void)printf("%s", ctime(&d)); + (void)printf("\t> "); + (void)fflush(stdout); + } + exit(0); + /* NOTREACHED */ +} +#endif /* TEST */ diff --git a/plugins/sudoers/getdate.y b/plugins/sudoers/getdate.y new file mode 100644 index 0000000..1e3893c --- /dev/null +++ b/plugins/sudoers/getdate.y @@ -0,0 +1,923 @@ +%{ +/* +** Originally written by Steven M. Bellovin while +** at the University of North Carolina at Chapel Hill. Later tweaked by +** a couple of people on Usenet. Completely overhauled by Rich $alz +** and Jim Berets in August, 1990; +** +** This grammar has 10 shift/reduce conflicts. +** +** This code is in the public domain and has no copyright. +*/ +/* SUPPRESS 287 on yaccpar_sccsid *//* Unused static variable */ +/* SUPPRESS 288 on yyerrlab *//* Label unused */ + +// PVS Studio suppression +// -V::560, 592, 1037, 1042 + +#include + +#include +#include +#include +#if defined(HAVE_STDINT_H) +# include +#elif defined(HAVE_INTTYPES_H) +# include +#endif +#include +#include +#include + +#include "sudo_compat.h" + + +#define EPOCH 1970 +#define HOUR(x) ((time_t)(x) * 60) +#define SECSPERDAY (24L * 60L * 60L) + + +/* +** An entry in the lexical lookup table. +*/ +typedef struct _TABLE { + const char *name; + int type; + time_t value; +} TABLE; + + +/* +** Daylight-savings mode: on, off, or not yet known. +*/ +typedef enum _DSTMODE { + DSTon, DSToff, DSTmaybe +} DSTMODE; + +/* +** Meridian: am, pm, or 24-hour style. +*/ +typedef enum _MERIDIAN { + MERam, MERpm, MER24 +} MERIDIAN; + + +/* +** Global variables. We could get rid of most of these by using a good +** union as the yacc stack. (This routine was originally written before +** yacc had the %union construct.) Maybe someday; right now we only use +** the %union very rarely. +*/ +static char *yyInput; +static DSTMODE yyDSTmode; +static time_t yyDayOrdinal; +static time_t yyDayNumber; +static int yyHaveDate; +static int yyHaveDay; +static int yyHaveRel; +static int yyHaveTime; +static int yyHaveZone; +static time_t yyTimezone; +static time_t yyDay; +static time_t yyHour; +static time_t yyMinutes; +static time_t yyMonth; +static time_t yySeconds; +static time_t yyYear; +static MERIDIAN yyMeridian; +static time_t yyRelMonth; +static time_t yyRelSeconds; + +static int yylex(void); + int yyparse(void); + void yyerror(const char *s); + +%} + +%union { + time_t Number; + enum _MERIDIAN Meridian; +} + +%token tAGO tID tDST +%token tDAY tDAYZONE tMINUTE_UNIT tMONTH tMONTH_UNIT +%token tSEC_UNIT tSNUMBER tUNUMBER tZONE +%token tMERIDIAN + +%type o_merid + +%% + +spec : /* NULL */ + | spec item + ; + +item : time { + yyHaveTime++; + } + | zone { + yyHaveZone++; + } + | date { + yyHaveDate++; + } + | day { + yyHaveDay++; + } + | rel { + yyHaveRel++; + } + | number + ; + +time : tUNUMBER tMERIDIAN { + yyHour = $1; + yyMinutes = 0; + yySeconds = 0; + yyMeridian = $2; + } + | tUNUMBER ':' tUNUMBER o_merid { + yyHour = $1; + yyMinutes = $3; + yySeconds = 0; + yyMeridian = $4; + } + | tUNUMBER ':' tUNUMBER tSNUMBER { + yyHour = $1; + yyMinutes = $3; + yyMeridian = MER24; + yyDSTmode = DSToff; + yyTimezone = - ($4 % 100 + ($4 / 100) * 60); + } + | tUNUMBER ':' tUNUMBER ':' tUNUMBER o_merid { + yyHour = $1; + yyMinutes = $3; + yySeconds = $5; + yyMeridian = $6; + } + | tUNUMBER ':' tUNUMBER ':' tUNUMBER tSNUMBER { + yyHour = $1; + yyMinutes = $3; + yySeconds = $5; + yyMeridian = MER24; + yyDSTmode = DSToff; + yyTimezone = - ($6 % 100 + ($6 / 100) * 60); + } + ; + +zone : tZONE { + yyTimezone = $1; + yyDSTmode = DSToff; + } + | tDAYZONE { + yyTimezone = $1; + yyDSTmode = DSTon; + } + | + tZONE tDST { + yyTimezone = $1; + yyDSTmode = DSTon; + } + ; + +day : tDAY { + yyDayOrdinal = 1; + yyDayNumber = $1; + } + | tDAY ',' { + yyDayOrdinal = 1; + yyDayNumber = $1; + } + | tUNUMBER tDAY { + yyDayOrdinal = $1; + yyDayNumber = $2; + } + ; + +date : tUNUMBER '/' tUNUMBER { + yyMonth = $1; + yyDay = $3; + } + | tUNUMBER '/' tUNUMBER '/' tUNUMBER { + if ($1 >= 100) { + yyYear = $1; + yyMonth = $3; + yyDay = $5; + } else { + yyMonth = $1; + yyDay = $3; + yyYear = $5; + } + } + | tUNUMBER tSNUMBER tSNUMBER { + /* ISO 8601 format. yyyy-mm-dd. */ + yyYear = $1; + yyMonth = -$2; + yyDay = -$3; + } + | tUNUMBER tMONTH tSNUMBER { + /* e.g. 17-JUN-1992. */ + yyDay = $1; + yyMonth = $2; + yyYear = -$3; + } + | tMONTH tUNUMBER { + yyMonth = $1; + yyDay = $2; + } + | tMONTH tUNUMBER ',' tUNUMBER { + yyMonth = $1; + yyDay = $2; + yyYear = $4; + } + | tUNUMBER tMONTH { + yyMonth = $2; + yyDay = $1; + } + | tUNUMBER tMONTH tUNUMBER { + yyMonth = $2; + yyDay = $1; + yyYear = $3; + } + ; + +rel : relunit tAGO { + yyRelSeconds = -yyRelSeconds; + yyRelMonth = -yyRelMonth; + } + | relunit + ; + +relunit : tUNUMBER tMINUTE_UNIT { + yyRelSeconds += $1 * $2 * 60L; + } + | tSNUMBER tMINUTE_UNIT { + yyRelSeconds += $1 * $2 * 60L; + } + | tMINUTE_UNIT { + yyRelSeconds += $1 * 60L; + } + | tSNUMBER tSEC_UNIT { + yyRelSeconds += $1; + } + | tUNUMBER tSEC_UNIT { + yyRelSeconds += $1; + } + | tSEC_UNIT { + yyRelSeconds++; + } + | tSNUMBER tMONTH_UNIT { + yyRelMonth += $1 * $2; + } + | tUNUMBER tMONTH_UNIT { + yyRelMonth += $1 * $2; + } + | tMONTH_UNIT { + yyRelMonth += $1; + } + ; + +number : tUNUMBER { + if (yyHaveTime && yyHaveDate && !yyHaveRel) + yyYear = $1; + else { + if($1>10000) { + yyHaveDate++; + yyDay= ($1)%100; + yyMonth= ($1/100)%100; + yyYear = $1/10000; + } + else { + yyHaveTime++; + if ($1 < 100) { + yyHour = $1; + yyMinutes = 0; + } + else { + yyHour = $1 / 100; + yyMinutes = $1 % 100; + } + yySeconds = 0; + yyMeridian = MER24; + } + } + } + ; + +o_merid : /* NULL */ { + $$ = MER24; + } + | tMERIDIAN { + $$ = $1; + } + ; + +%% + +/* Month and day table. */ +static TABLE const MonthDayTable[] = { + { "january", tMONTH, 1 }, + { "february", tMONTH, 2 }, + { "march", tMONTH, 3 }, + { "april", tMONTH, 4 }, + { "may", tMONTH, 5 }, + { "june", tMONTH, 6 }, + { "july", tMONTH, 7 }, + { "august", tMONTH, 8 }, + { "september", tMONTH, 9 }, + { "sept", tMONTH, 9 }, + { "october", tMONTH, 10 }, + { "november", tMONTH, 11 }, + { "december", tMONTH, 12 }, + { "sunday", tDAY, 0 }, + { "monday", tDAY, 1 }, + { "tuesday", tDAY, 2 }, + { "tues", tDAY, 2 }, + { "wednesday", tDAY, 3 }, + { "wednes", tDAY, 3 }, + { "thursday", tDAY, 4 }, + { "thur", tDAY, 4 }, + { "thurs", tDAY, 4 }, + { "friday", tDAY, 5 }, + { "saturday", tDAY, 6 }, + { NULL } +}; + +/* Time units table. */ +static TABLE const UnitsTable[] = { + { "year", tMONTH_UNIT, 12 }, + { "month", tMONTH_UNIT, 1 }, + { "fortnight", tMINUTE_UNIT, 14 * 24 * 60 }, + { "week", tMINUTE_UNIT, 7 * 24 * 60 }, + { "day", tMINUTE_UNIT, 1 * 24 * 60 }, + { "hour", tMINUTE_UNIT, 60 }, + { "minute", tMINUTE_UNIT, 1 }, + { "min", tMINUTE_UNIT, 1 }, + { "second", tSEC_UNIT, 1 }, + { "sec", tSEC_UNIT, 1 }, + { NULL } +}; + +/* Assorted relative-time words. */ +static TABLE const OtherTable[] = { + { "tomorrow", tMINUTE_UNIT, 1 * 24 * 60 }, + { "yesterday", tMINUTE_UNIT, -1 * 24 * 60 }, + { "today", tMINUTE_UNIT, 0 }, + { "now", tMINUTE_UNIT, 0 }, + { "last", tUNUMBER, -1 }, + { "this", tUNUMBER, 0 }, + { "next", tUNUMBER, 2 }, + { "first", tUNUMBER, 1 }, +/* { "second", tUNUMBER, 2 }, */ + { "third", tUNUMBER, 3 }, + { "fourth", tUNUMBER, 4 }, + { "fifth", tUNUMBER, 5 }, + { "sixth", tUNUMBER, 6 }, + { "seventh", tUNUMBER, 7 }, + { "eighth", tUNUMBER, 8 }, + { "ninth", tUNUMBER, 9 }, + { "tenth", tUNUMBER, 10 }, + { "eleventh", tUNUMBER, 11 }, + { "twelfth", tUNUMBER, 12 }, + { "ago", tAGO, 1 }, + { NULL } +}; + +/* The timezone table. */ +/* Some of these are commented out because a time_t can't store a float. */ +static TABLE const TimezoneTable[] = { + { "gmt", tZONE, HOUR( 0) }, /* Greenwich Mean */ + { "ut", tZONE, HOUR( 0) }, /* Universal (Coordinated) */ + { "utc", tZONE, HOUR( 0) }, + { "wet", tZONE, HOUR( 0) }, /* Western European */ + { "bst", tDAYZONE, HOUR( 0) }, /* British Summer */ + { "wat", tZONE, HOUR( 1) }, /* West Africa */ + { "at", tZONE, HOUR( 2) }, /* Azores */ +#if 0 + /* For completeness. BST is also British Summer, and GST is + * also Guam Standard. */ + { "bst", tZONE, HOUR( 3) }, /* Brazil Standard */ + { "gst", tZONE, HOUR( 3) }, /* Greenland Standard */ +#endif +#if 0 + { "nft", tZONE, HOUR(3.5) }, /* Newfoundland */ + { "nst", tZONE, HOUR(3.5) }, /* Newfoundland Standard */ + { "ndt", tDAYZONE, HOUR(3.5) }, /* Newfoundland Daylight */ +#endif + { "ast", tZONE, HOUR( 4) }, /* Atlantic Standard */ + { "adt", tDAYZONE, HOUR( 4) }, /* Atlantic Daylight */ + { "est", tZONE, HOUR( 5) }, /* Eastern Standard */ + { "edt", tDAYZONE, HOUR( 5) }, /* Eastern Daylight */ + { "cst", tZONE, HOUR( 6) }, /* Central Standard */ + { "cdt", tDAYZONE, HOUR( 6) }, /* Central Daylight */ + { "mst", tZONE, HOUR( 7) }, /* Mountain Standard */ + { "mdt", tDAYZONE, HOUR( 7) }, /* Mountain Daylight */ + { "pst", tZONE, HOUR( 8) }, /* Pacific Standard */ + { "pdt", tDAYZONE, HOUR( 8) }, /* Pacific Daylight */ + { "yst", tZONE, HOUR( 9) }, /* Yukon Standard */ + { "ydt", tDAYZONE, HOUR( 9) }, /* Yukon Daylight */ + { "hst", tZONE, HOUR(10) }, /* Hawaii Standard */ + { "hdt", tDAYZONE, HOUR(10) }, /* Hawaii Daylight */ + { "cat", tZONE, HOUR(10) }, /* Central Alaska */ + { "ahst", tZONE, HOUR(10) }, /* Alaska-Hawaii Standard */ + { "nt", tZONE, HOUR(11) }, /* Nome */ + { "idlw", tZONE, HOUR(12) }, /* International Date Line West */ + { "cet", tZONE, -HOUR(1) }, /* Central European */ + { "met", tZONE, -HOUR(1) }, /* Middle European */ + { "mewt", tZONE, -HOUR(1) }, /* Middle European Winter */ + { "mest", tDAYZONE, -HOUR(1) }, /* Middle European Summer */ + { "swt", tZONE, -HOUR(1) }, /* Swedish Winter */ + { "sst", tDAYZONE, -HOUR(1) }, /* Swedish Summer */ + { "fwt", tZONE, -HOUR(1) }, /* French Winter */ + { "fst", tDAYZONE, -HOUR(1) }, /* French Summer */ + { "eet", tZONE, -HOUR(2) }, /* Eastern Europe, USSR Zone 1 */ + { "bt", tZONE, -HOUR(3) }, /* Baghdad, USSR Zone 2 */ +#if 0 + { "it", tZONE, -HOUR(3.5) },/* Iran */ +#endif + { "zp4", tZONE, -HOUR(4) }, /* USSR Zone 3 */ + { "zp5", tZONE, -HOUR(5) }, /* USSR Zone 4 */ +#if 0 + { "ist", tZONE, -HOUR(5.5) },/* Indian Standard */ +#endif + { "zp6", tZONE, -HOUR(6) }, /* USSR Zone 5 */ +#if 0 + /* For completeness. NST is also Newfoundland Stanard, and SST is + * also Swedish Summer. */ + { "nst", tZONE, -HOUR(6.5) },/* North Sumatra */ + { "sst", tZONE, -HOUR(7) }, /* South Sumatra, USSR Zone 6 */ +#endif /* 0 */ + { "wast", tZONE, -HOUR(7) }, /* West Australian Standard */ + { "wadt", tDAYZONE, -HOUR(7) }, /* West Australian Daylight */ +#if 0 + { "jt", tZONE, -HOUR(7.5) },/* Java (3pm in Cronusland!) */ +#endif + { "cct", tZONE, -HOUR(8) }, /* China Coast, USSR Zone 7 */ + { "jst", tZONE, -HOUR(9) }, /* Japan Standard, USSR Zone 8 */ +#if 0 + { "cast", tZONE, -HOUR(9.5) },/* Central Australian Standard */ + { "cadt", tDAYZONE, -HOUR(9.5) },/* Central Australian Daylight */ +#endif + { "east", tZONE, -HOUR(10) }, /* Eastern Australian Standard */ + { "eadt", tDAYZONE, -HOUR(10) }, /* Eastern Australian Daylight */ + { "gst", tZONE, -HOUR(10) }, /* Guam Standard, USSR Zone 9 */ + { "nzt", tZONE, -HOUR(12) }, /* New Zealand */ + { "nzst", tZONE, -HOUR(12) }, /* New Zealand Standard */ + { "nzdt", tDAYZONE, -HOUR(12) }, /* New Zealand Daylight */ + { "idle", tZONE, -HOUR(12) }, /* International Date Line East */ + { NULL } +}; + +/* Military timezone table. */ +static TABLE const MilitaryTable[] = { + { "a", tZONE, HOUR( 1) }, + { "b", tZONE, HOUR( 2) }, + { "c", tZONE, HOUR( 3) }, + { "d", tZONE, HOUR( 4) }, + { "e", tZONE, HOUR( 5) }, + { "f", tZONE, HOUR( 6) }, + { "g", tZONE, HOUR( 7) }, + { "h", tZONE, HOUR( 8) }, + { "i", tZONE, HOUR( 9) }, + { "k", tZONE, HOUR( 10) }, + { "l", tZONE, HOUR( 11) }, + { "m", tZONE, HOUR( 12) }, + { "n", tZONE, HOUR(- 1) }, + { "o", tZONE, HOUR(- 2) }, + { "p", tZONE, HOUR(- 3) }, + { "q", tZONE, HOUR(- 4) }, + { "r", tZONE, HOUR(- 5) }, + { "s", tZONE, HOUR(- 6) }, + { "t", tZONE, HOUR(- 7) }, + { "u", tZONE, HOUR(- 8) }, + { "v", tZONE, HOUR(- 9) }, + { "w", tZONE, HOUR(-10) }, + { "x", tZONE, HOUR(-11) }, + { "y", tZONE, HOUR(-12) }, + { "z", tZONE, HOUR( 0) }, + { NULL } +}; + + + + +/* ARGSUSED */ +void +yyerror(const char *s) +{ + return; +} + + +static time_t +ToSeconds(time_t Hours, time_t Minutes, time_t Seconds, MERIDIAN Meridian) +{ + if (Minutes < 0 || Minutes > 59 || Seconds < 0 || Seconds > 59) + return -1; + switch (Meridian) { + case MER24: + if (Hours < 0 || Hours > 23) + return -1; + return (Hours * 60L + Minutes) * 60L + Seconds; + case MERam: + if (Hours < 1 || Hours > 12) + return -1; + if (Hours == 12) + Hours = 0; + return (Hours * 60L + Minutes) * 60L + Seconds; + case MERpm: + if (Hours < 1 || Hours > 12) + return -1; + if (Hours == 12) + Hours = 0; + return ((Hours + 12) * 60L + Minutes) * 60L + Seconds; + default: + abort (); + } + /* NOTREACHED */ +} + + +/* Year is either + * A negative number, which means to use its absolute value (why?) + * A number from 0 to 99, which means a year from 1900 to 1999, or + * The actual year (>=100). */ +static time_t +Convert(time_t Month, time_t Day, time_t Year, time_t Hours, time_t Minutes, + time_t Seconds, MERIDIAN Meridian, DSTMODE DSTmode) +{ + static int DaysInMonth[12] = { + 31, 0, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 + }; + struct tm tm; + time_t tod; + time_t Julian; + int i; + + if (Year < 0) + Year = -Year; + if (Year < 69) + Year += 2000; + else if (Year < 100) { + Year += 1900; + if (Year < EPOCH) + Year += 100; + } + DaysInMonth[1] = Year % 4 == 0 && (Year % 100 != 0 || Year % 400 == 0) + ? 29 : 28; + /* 32-bit time_t cannot represent years past 2038 */ + if (Year < EPOCH || (sizeof(time_t) == sizeof(int) && Year > 2038) + || Month < 1 || Month > 12 + /* Lint fluff: "conversion from long may lose accuracy" */ + || Day < 1 || Day > DaysInMonth[--Month]) + return -1; + + for (Julian = Day - 1, i = 0; i < Month; i++) + Julian += DaysInMonth[i]; + for (i = EPOCH; i < Year; i++) + Julian += 365 + (i % 4 == 0); + Julian *= SECSPERDAY; + Julian += yyTimezone * 60L; + if ((tod = ToSeconds(Hours, Minutes, Seconds, Meridian)) < 0) + return -1; + Julian += tod; + if (DSTmode == DSTon + || (DSTmode == DSTmaybe && localtime_r(&Julian, &tm) && tm.tm_isdst)) + Julian -= 60 * 60; + return Julian; +} + + +static time_t +DSTcorrect(time_t Start, time_t Future) +{ + struct tm start_tm; + struct tm future_tm; + time_t StartDay; + time_t FutureDay; + + if (!localtime_r(&Start, &start_tm) || !localtime_r(&Future, &future_tm)) + return -1; + + StartDay = (start_tm.tm_hour + 1) % 24; + FutureDay = (future_tm.tm_hour + 1) % 24; + return (Future - Start) + (StartDay - FutureDay) * 60L * 60L; +} + + +static time_t +RelativeDate(time_t Start, time_t DayOrdinal, time_t DayNumber) +{ + struct tm tm; + time_t now; + + now = Start; + if (!localtime_r(&now, &tm)) + return -1; + now += SECSPERDAY * ((DayNumber - tm.tm_wday + 7) % 7); + now += 7 * SECSPERDAY * (DayOrdinal <= 0 ? DayOrdinal : DayOrdinal - 1); + return DSTcorrect(Start, now); +} + + +static time_t +RelativeMonth(time_t Start, time_t RelMonth) +{ + struct tm tm; + time_t Month; + time_t Year; + + if (RelMonth == 0) + return 0; + if (!localtime_r(&Start, &tm)) + return -1; + Month = 12 * (tm.tm_year + 1900) + tm.tm_mon + RelMonth; + Year = Month / 12; + Month = Month % 12 + 1; + return DSTcorrect(Start, + Convert(Month, (time_t)tm.tm_mday, Year, + (time_t)tm.tm_hour, (time_t)tm.tm_min, (time_t)tm.tm_sec, + MER24, DSTmaybe)); +} + + +static int +LookupWord(char *buff) +{ + char *p; + char *q; + const TABLE *tp; + int i; + int abbrev; + int bufflen; + + /* Make it lowercase. */ + for (p = buff; *p; p++) { + if (isupper((unsigned char)*p)) + *p = tolower((unsigned char)*p); + } + if ((bufflen = (int)(p - buff)) == 0) + return '\0'; + + if (strcmp(buff, "am") == 0 || strcmp(buff, "a.m.") == 0) { + yylval.Meridian = MERam; + return tMERIDIAN; + } + if (strcmp(buff, "pm") == 0 || strcmp(buff, "p.m.") == 0) { + yylval.Meridian = MERpm; + return tMERIDIAN; + } + + /* See if we have an abbreviation for a month. */ + if (bufflen == 3) + abbrev = 1; + else if (bufflen == 4 && buff[3] == '.') { + abbrev = 1; + buff[bufflen = 3] = '\0'; + } + else + abbrev = 0; + + for (tp = MonthDayTable; tp->name; tp++) { + if (abbrev) { + if (strncmp(buff, tp->name, 3) == 0) { + yylval.Number = tp->value; + return tp->type; + } + } + else if (strcmp(buff, tp->name) == 0) { + yylval.Number = tp->value; + return tp->type; + } + } + + for (tp = TimezoneTable; tp->name; tp++) + if (strcmp(buff, tp->name) == 0) { + yylval.Number = tp->value; + return tp->type; + } + + if (strcmp(buff, "dst") == 0) + return tDST; + + for (tp = UnitsTable; tp->name; tp++) + if (strcmp(buff, tp->name) == 0) { + yylval.Number = tp->value; + return tp->type; + } + + /* Strip off any plural and try the units table again. */ + i = bufflen - 1; + if (buff[i] == 's') { + buff[i] = '\0'; + for (tp = UnitsTable; tp->name; tp++) + if (strcmp(buff, tp->name) == 0) { + yylval.Number = tp->value; + return tp->type; + } + buff[i] = 's'; /* Put back for "this" in OtherTable. */ + } + + for (tp = OtherTable; tp->name; tp++) + if (strcmp(buff, tp->name) == 0) { + yylval.Number = tp->value; + return tp->type; + } + + /* Military timezones. */ + if (buff[1] == '\0' && isalpha((unsigned char)*buff)) { + for (tp = MilitaryTable; tp->name; tp++) + if (strcmp(buff, tp->name) == 0) { + yylval.Number = tp->value; + return tp->type; + } + } + + /* Drop out any periods and try the timezone table again. */ + for (i = 0, p = q = buff; *q; q++) + if (*q != '.') + *p++ = *q; + else + i++; + *p = '\0'; + if (i) + for (tp = TimezoneTable; tp->name; tp++) + if (strcmp(buff, tp->name) == 0) { + yylval.Number = tp->value; + return tp->type; + } + + return tID; +} + + +static int +yylex(void) +{ + char c; + char *p; + char buff[20]; + int Count; + int sign; + + for ( ; ; ) { + while (isspace((unsigned char)*yyInput)) + yyInput++; + + if (isdigit((unsigned char)(c = *yyInput)) || c == '-' || c == '+') { + if (c == '-' || c == '+') { + sign = c == '-' ? -1 : 1; + if (!isdigit((unsigned char)*++yyInput)) + /* skip the '-' sign */ + continue; + } + else + sign = 0; + for (yylval.Number = 0; isdigit((unsigned char)(c = *yyInput++)); ) + yylval.Number = 10 * yylval.Number + c - '0'; + yyInput--; + if (sign < 0) + yylval.Number = -yylval.Number; + return sign ? tSNUMBER : tUNUMBER; + } + if (isalpha((unsigned char)c)) { + for (p = buff; isalpha((unsigned char)(c = *yyInput++)) || c == '.'; ) + if (p < &buff[sizeof buff - 1]) + *p++ = c; + *p = '\0'; + yyInput--; + return LookupWord(buff); + } + if (c != '(') + return *yyInput++; + Count = 0; + do { + c = *yyInput++; + if (c == '\0') + return c; + if (c == '(') + Count++; + else if (c == ')') + Count--; + } while (Count > 0); + } +} + +#define TM_YEAR_ORIGIN 1900 + +/* Yield A - B, measured in seconds. */ +static long +difftm(struct tm *a, struct tm *b) +{ + int ay = a->tm_year + (TM_YEAR_ORIGIN - 1); + int by = b->tm_year + (TM_YEAR_ORIGIN - 1); + int days = ( + /* difference in day of year */ + a->tm_yday - b->tm_yday + /* + intervening leap days */ + + ((ay >> 2) - (by >> 2)) + - (ay/100 - by/100) + + ((ay/100 >> 2) - (by/100 >> 2)) + /* + difference in years * 365 */ + + (long)(ay-by) * 365 + ); + return (60*(60*(24*days + (a->tm_hour - b->tm_hour)) + + (a->tm_min - b->tm_min)) + + (a->tm_sec - b->tm_sec)); +} + +time_t get_date(char *p); + +time_t +get_date(char *p) +{ + struct tm tm, gmt; + time_t Start; + time_t tod; + time_t now; + time_t tz; + + yyInput = p; + (void)time (&now); + + if (gmtime_r (&now, &gmt) == NULL) + return -1; + + if (localtime_r (&now, &tm) == NULL) + return -1; + + tz = difftm (&gmt, &tm) / 60; + if (tm.tm_isdst) + tz += 60; + + yyYear = tm.tm_year + 1900; + yyMonth = tm.tm_mon + 1; + yyDay = tm.tm_mday; + yyTimezone = tz; + yyDSTmode = DSTmaybe; + yyHour = 0; + yyMinutes = 0; + yySeconds = 0; + yyMeridian = MER24; + yyRelSeconds = 0; + yyRelMonth = 0; + yyHaveDate = 0; + yyHaveDay = 0; + yyHaveRel = 0; + yyHaveTime = 0; + yyHaveZone = 0; + + if (yyparse() + || yyHaveTime > 1 || yyHaveZone > 1 || yyHaveDate > 1 || yyHaveDay > 1) + return -1; + + if (yyHaveDate || yyHaveTime || yyHaveDay) { + Start = Convert(yyMonth, yyDay, yyYear, yyHour, yyMinutes, yySeconds, + yyMeridian, yyDSTmode); + if (Start < 0) + return -1; + } + else { + Start = now; + if (!yyHaveRel) + Start -= ((tm.tm_hour * 60L + tm.tm_min) * 60L) + tm.tm_sec; + } + + Start += yyRelSeconds; + Start += RelativeMonth(Start, yyRelMonth); + + if (yyHaveDay && !yyHaveDate) { + tod = RelativeDate(Start, yyDayOrdinal, yyDayNumber); + Start += tod; + } + + /* Have to do *something* with a legitimate -1 so it's distinguishable + * from the error return value. (Alternately could set errno on error.) */ + return Start == -1 ? 0 : Start; +} + + +#ifdef TEST + +/* ARGSUSED */ +int +main(int argc, char *argv[]) +{ + char buff[128]; + time_t d; + + (void)printf("Enter date, or blank line to exit.\n\t> "); + (void)fflush(stdout); + while (fgets(buff, sizeof(buff), stdin) && buff[0]) { + d = get_date(buff); + if (d == -1) + (void)printf("Bad format - couldn't convert.\n"); + else + (void)printf("%s", ctime(&d)); + (void)printf("\t> "); + (void)fflush(stdout); + } + exit(0); + /* NOTREACHED */ +} +#endif /* TEST */ diff --git a/plugins/sudoers/getspwuid.c b/plugins/sudoers/getspwuid.c new file mode 100644 index 0000000..650b3f3 --- /dev/null +++ b/plugins/sudoers/getspwuid.c @@ -0,0 +1,139 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1996, 1998-2005, 2010-2012, 2014-2015 + * Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Sponsored in part by the Defense Advanced Research Projects + * Agency (DARPA) and Air Force Research Laboratory, Air Force + * Materiel Command, USAF, under agreement number F39502-99-1-0512. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include +#include +#include +#ifdef HAVE_GETSPNAM +# include +#endif /* HAVE_GETSPNAM */ +#ifdef HAVE_GETPRPWNAM +# ifdef __hpux +# undef MAXINT +# include +# else +# include +# endif /* __hpux */ +# include +#endif /* HAVE_GETPRPWNAM */ + +#include "sudoers.h" + +/* + * Exported for auth/secureware.c + */ +#if defined(HAVE_GETPRPWNAM) && defined(__alpha) +int crypt_type = INT_MAX; +#endif /* HAVE_GETPRPWNAM && __alpha */ + +/* + * Return a copy of the encrypted password for the user described by pw. + * If shadow passwords are in use, look in the shadow file. + */ +char * +sudo_getepw(const struct passwd *pw) +{ + char *epw = NULL; + debug_decl(sudo_getepw, SUDOERS_DEBUG_AUTH); + + /* If there is a function to check for shadow enabled, use it... */ +#ifdef HAVE_ISCOMSEC + if (!iscomsec()) + goto done; +#endif /* HAVE_ISCOMSEC */ + +#ifdef HAVE_GETPWNAM_SHADOW + { + struct passwd *spw; + + /* On OpenBSD we need to closed the non-shadow passwd db first. */ + endpwent(); + if ((spw = getpwnam_shadow(pw->pw_name)) != NULL) + epw = spw->pw_passwd; + setpassent(1); + } +#endif /* HAVE_GETPWNAM_SHADOW */ +#ifdef HAVE_GETPRPWNAM + { + struct pr_passwd *spw; + + if ((spw = getprpwnam(pw->pw_name)) && spw->ufld.fd_encrypt) { +# ifdef __alpha + crypt_type = spw->ufld.fd_oldcrypt; +# endif /* __alpha */ + epw = spw->ufld.fd_encrypt; + } + } +#endif /* HAVE_GETPRPWNAM */ +#ifdef HAVE_GETSPNAM + { + struct spwd *spw; + + if ((spw = getspnam(pw->pw_name)) && spw->sp_pwdp) + epw = spw->sp_pwdp; + } +#endif /* HAVE_GETSPNAM */ + +#if defined(HAVE_ISCOMSEC) +done: +#endif + /* If no shadow password, fall back on regular password. */ + debug_return_str(strdup(epw ? epw : pw->pw_passwd)); +} + +void +sudo_setspent(void) +{ + debug_decl(sudo_setspent, SUDOERS_DEBUG_AUTH); + +#ifdef HAVE_GETPRPWNAM + setprpwent(); +#endif +#ifdef HAVE_GETSPNAM + setspent(); +#endif + debug_return; +} + +void +sudo_endspent(void) +{ + debug_decl(sudo_endspent, SUDOERS_DEBUG_AUTH); + +#ifdef HAVE_GETPRPWNAM + endprpwent(); +#endif +#ifdef HAVE_GETSPNAM + endspent(); +#endif + debug_return; +} diff --git a/plugins/sudoers/goodpath.c b/plugins/sudoers/goodpath.c new file mode 100644 index 0000000..c4c8bbd --- /dev/null +++ b/plugins/sudoers/goodpath.c @@ -0,0 +1,73 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1996, 1998-2005, 2010-2012, 2014-2016 + * Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Sponsored in part by the Defense Advanced Research Projects + * Agency (DARPA) and Air Force Research Laboratory, Air Force + * Materiel Command, USAF, under agreement number F39502-99-1-0512. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include +#include + +#include "sudoers.h" + +/* + * Verify that path is a normal file and executable by root. + */ +bool +sudo_goodpath(const char *path, const char *runchroot, struct stat *sbp) +{ + bool ret = false; + debug_decl(sudo_goodpath, SUDOERS_DEBUG_UTIL); + + if (path != NULL) { + char pathbuf[PATH_MAX]; + struct stat sb; + + if (runchroot != NULL) { + const int len = + snprintf(pathbuf, sizeof(pathbuf), "%s%s", runchroot, path); + if (len >= ssizeof(pathbuf)) { + errno = ENAMETOOLONG; + goto done; + } + path = pathbuf; // -V507 + } + if (sbp == NULL) + sbp = &sb; + + if (stat(path, sbp) == 0) { + /* Make sure path describes an executable regular file. */ + if (S_ISREG(sbp->st_mode) && ISSET(sbp->st_mode, S_IXUSR|S_IXGRP|S_IXOTH)) + ret = true; + else + errno = EACCES; + } + } +done: + debug_return_bool(ret); +} diff --git a/plugins/sudoers/gram.c b/plugins/sudoers/gram.c new file mode 100644 index 0000000..e35aca2 --- /dev/null +++ b/plugins/sudoers/gram.c @@ -0,0 +1,4231 @@ +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include +/* A Bison parser, made by GNU Bison 3.8.2. */ + +/* Bison implementation for Yacc-like parsers in C + + Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2021 Free Software Foundation, + Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +/* As a special exception, you may create a larger work that contains + part or all of the Bison parser skeleton and distribute that work + under terms of your choice, so long as that work isn't itself a + parser generator using the skeleton or a modified version thereof + as a parser skeleton. Alternatively, if you modify or redistribute + the parser skeleton itself, you may (at your option) remove this + special exception, which will cause the skeleton and the resulting + Bison output files to be licensed under the GNU General Public + License without this special exception. + + This special exception was added by the Free Software Foundation in + version 2.2 of Bison. */ + +/* C LALR(1) parser skeleton written by Richard Stallman, by + simplifying the original so-called "semantic" parser. */ + +/* DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual, + especially those whose name start with YY_ or yy_. They are + private implementation details that can be changed or removed. */ + +/* All symbols defined below should begin with yy or YY, to avoid + infringing on user name space. This should be done even for local + variables, as they might otherwise be expanded by user macros. + There are some unavoidable exceptions within include files to + define necessary library symbols; they are noted "INFRINGES ON + USER NAME SPACE" below. */ + +/* Identify Bison output, and Bison version. */ +#define YYBISON 30802 + +/* Bison version string. */ +#define YYBISON_VERSION "3.8.2" + +/* Skeleton name. */ +#define YYSKELETON_NAME "yacc.c" + +/* Pure parsers. */ +#define YYPURE 0 + +/* Push parsers. */ +#define YYPUSH 0 + +/* Pull parsers. */ +#define YYPULL 1 + + +/* Substitute the variable and function names. */ +#define yyparse sudoersparse +#define yylex sudoerslex +#define yyerror sudoerserror +#define yydebug sudoersdebug +#define yynerrs sudoersnerrs +#define yylval sudoerslval +#define yychar sudoerschar + +/* First part of user prologue. */ +#line 1 "gram.y" + +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1996, 1998-2005, 2007-2013, 2014-2022 + * Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Sponsored in part by the Defense Advanced Research Projects + * Agency (DARPA) and Air Force Research Laboratory, Air Force + * Materiel Command, USAF, under agreement number F39502-99-1-0512. + */ + +#include + +#include +#include +#include +#include +#include +#include + +#include "sudoers.h" +#include "sudo_digest.h" +#include "toke.h" + +#ifdef YYBISON +# define YYERROR_VERBOSE +#endif + +/* If we last saw a newline the entry is on the preceding line. */ +#define this_lineno (sudoerschar == '\n' ? sudolineno - 1 : sudolineno) + +// PVS Studio suppression +// -V::560, 592, 1037, 1042 + +/* + * Globals + */ +bool sudoers_warnings = true; +bool sudoers_recovery = true; +bool sudoers_strict = false; +bool parse_error = false; + +/* Optional logging function for parse errors. */ +sudoers_logger_t sudoers_error_hook; + +static int alias_line, alias_column; + +#ifdef NO_LEAKS +static struct parser_leak_list parser_leak_list = + SLIST_HEAD_INITIALIZER(parser_leak_list); +#endif + +struct sudoers_parse_tree parsed_policy = { + { NULL, NULL }, /* entries */ + TAILQ_HEAD_INITIALIZER(parsed_policy.userspecs), + TAILQ_HEAD_INITIALIZER(parsed_policy.defaults), + NULL, /* aliases */ + NULL, /* lhost */ + NULL /* shost */ +}; + +/* + * Local prototypes + */ +static void init_options(struct command_options *opts); +static bool add_defaults(int, struct member *, struct defaults *); +static bool add_userspec(struct member *, struct privilege *); +static struct defaults *new_default(char *, char *, short); +static struct member *new_member(char *, int); +static struct sudo_command *new_command(char *, char *); +static struct command_digest *new_digest(int, char *); +static void alias_error(const char *name, int errnum); + +#line 165 "gram.c" + +# ifndef YY_CAST +# ifdef __cplusplus +# define YY_CAST(Type, Val) static_cast (Val) +# define YY_REINTERPRET_CAST(Type, Val) reinterpret_cast (Val) +# else +# define YY_CAST(Type, Val) ((Type) (Val)) +# define YY_REINTERPRET_CAST(Type, Val) ((Type) (Val)) +# endif +# endif +# ifndef YY_NULLPTR +# if defined __cplusplus +# if 201103L <= __cplusplus +# define YY_NULLPTR nullptr +# else +# define YY_NULLPTR 0 +# endif +# else +# define YY_NULLPTR ((void*)0) +# endif +# endif + +/* Use api.header.include to #include this header + instead of duplicating it here. */ +#ifndef YY_SUDOERS_Y_TAB_H_INCLUDED +# define YY_SUDOERS_Y_TAB_H_INCLUDED +/* Debug traces. */ +#ifndef YYDEBUG +# define YYDEBUG 0 +#endif +#if YYDEBUG +extern int sudoersdebug; +#endif + +/* Token kinds. */ +#ifndef YYTOKENTYPE +# define YYTOKENTYPE + enum yytokentype + { + YYEMPTY = -2, + YYEOF = 0, /* "end of file" */ + YYerror = 256, /* error */ + YYUNDEF = 257, /* "invalid token" */ + COMMAND = 258, /* COMMAND */ + ALIAS = 259, /* ALIAS */ + DEFVAR = 260, /* DEFVAR */ + NTWKADDR = 261, /* NTWKADDR */ + NETGROUP = 262, /* NETGROUP */ + USERGROUP = 263, /* USERGROUP */ + WORD = 264, /* WORD */ + DIGEST = 265, /* DIGEST */ + INCLUDE = 266, /* INCLUDE */ + INCLUDEDIR = 267, /* INCLUDEDIR */ + DEFAULTS = 268, /* DEFAULTS */ + DEFAULTS_HOST = 269, /* DEFAULTS_HOST */ + DEFAULTS_USER = 270, /* DEFAULTS_USER */ + DEFAULTS_RUNAS = 271, /* DEFAULTS_RUNAS */ + DEFAULTS_CMND = 272, /* DEFAULTS_CMND */ + NOPASSWD = 273, /* NOPASSWD */ + PASSWD = 274, /* PASSWD */ + NOEXEC = 275, /* NOEXEC */ + EXEC = 276, /* EXEC */ + SETENV = 277, /* SETENV */ + NOSETENV = 278, /* NOSETENV */ + LOG_INPUT = 279, /* LOG_INPUT */ + NOLOG_INPUT = 280, /* NOLOG_INPUT */ + LOG_OUTPUT = 281, /* LOG_OUTPUT */ + NOLOG_OUTPUT = 282, /* NOLOG_OUTPUT */ + MAIL = 283, /* MAIL */ + NOMAIL = 284, /* NOMAIL */ + FOLLOWLNK = 285, /* FOLLOWLNK */ + NOFOLLOWLNK = 286, /* NOFOLLOWLNK */ + INTERCEPT = 287, /* INTERCEPT */ + NOINTERCEPT = 288, /* NOINTERCEPT */ + ALL = 289, /* ALL */ + HOSTALIAS = 290, /* HOSTALIAS */ + CMNDALIAS = 291, /* CMNDALIAS */ + USERALIAS = 292, /* USERALIAS */ + RUNASALIAS = 293, /* RUNASALIAS */ + ERROR = 294, /* ERROR */ + NOMATCH = 295, /* NOMATCH */ + CHROOT = 296, /* CHROOT */ + CWD = 297, /* CWD */ + TYPE = 298, /* TYPE */ + ROLE = 299, /* ROLE */ + APPARMOR_PROFILE = 300, /* APPARMOR_PROFILE */ + PRIVS = 301, /* PRIVS */ + LIMITPRIVS = 302, /* LIMITPRIVS */ + CMND_TIMEOUT = 303, /* CMND_TIMEOUT */ + NOTBEFORE = 304, /* NOTBEFORE */ + NOTAFTER = 305, /* NOTAFTER */ + MYSELF = 306, /* MYSELF */ + SHA224_TOK = 307, /* SHA224_TOK */ + SHA256_TOK = 308, /* SHA256_TOK */ + SHA384_TOK = 309, /* SHA384_TOK */ + SHA512_TOK = 310 /* SHA512_TOK */ + }; + typedef enum yytokentype yytoken_kind_t; +#endif +/* Token kinds. */ +#define YYEMPTY -2 +#define YYEOF 0 +#define YYerror 256 +#define YYUNDEF 257 +#define COMMAND 258 +#define ALIAS 259 +#define DEFVAR 260 +#define NTWKADDR 261 +#define NETGROUP 262 +#define USERGROUP 263 +#define WORD 264 +#define DIGEST 265 +#define INCLUDE 266 +#define INCLUDEDIR 267 +#define DEFAULTS 268 +#define DEFAULTS_HOST 269 +#define DEFAULTS_USER 270 +#define DEFAULTS_RUNAS 271 +#define DEFAULTS_CMND 272 +#define NOPASSWD 273 +#define PASSWD 274 +#define NOEXEC 275 +#define EXEC 276 +#define SETENV 277 +#define NOSETENV 278 +#define LOG_INPUT 279 +#define NOLOG_INPUT 280 +#define LOG_OUTPUT 281 +#define NOLOG_OUTPUT 282 +#define MAIL 283 +#define NOMAIL 284 +#define FOLLOWLNK 285 +#define NOFOLLOWLNK 286 +#define INTERCEPT 287 +#define NOINTERCEPT 288 +#define ALL 289 +#define HOSTALIAS 290 +#define CMNDALIAS 291 +#define USERALIAS 292 +#define RUNASALIAS 293 +#define ERROR 294 +#define NOMATCH 295 +#define CHROOT 296 +#define CWD 297 +#define TYPE 298 +#define ROLE 299 +#define APPARMOR_PROFILE 300 +#define PRIVS 301 +#define LIMITPRIVS 302 +#define CMND_TIMEOUT 303 +#define NOTBEFORE 304 +#define NOTAFTER 305 +#define MYSELF 306 +#define SHA224_TOK 307 +#define SHA256_TOK 308 +#define SHA384_TOK 309 +#define SHA512_TOK 310 + +/* Value type. */ +#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED +union YYSTYPE +{ +#line 88 "gram.y" + + struct cmndspec *cmndspec; + struct defaults *defaults; + struct member *member; + struct runascontainer *runas; + struct privilege *privilege; + struct command_digest *digest; + struct sudo_command command; + struct command_options options; + struct cmndtag tag; + char *string; + const char *cstring; + int tok; + +#line 343 "gram.c" + +}; +typedef union YYSTYPE YYSTYPE; +# define YYSTYPE_IS_TRIVIAL 1 +# define YYSTYPE_IS_DECLARED 1 +#endif + + +extern YYSTYPE sudoerslval; + + +int sudoersparse (void); + + +#endif /* !YY_SUDOERS_Y_TAB_H_INCLUDED */ +/* Symbol kind. */ +enum yysymbol_kind_t +{ + YYSYMBOL_YYEMPTY = -2, + YYSYMBOL_YYEOF = 0, /* "end of file" */ + YYSYMBOL_YYerror = 1, /* error */ + YYSYMBOL_YYUNDEF = 2, /* "invalid token" */ + YYSYMBOL_COMMAND = 3, /* COMMAND */ + YYSYMBOL_ALIAS = 4, /* ALIAS */ + YYSYMBOL_DEFVAR = 5, /* DEFVAR */ + YYSYMBOL_NTWKADDR = 6, /* NTWKADDR */ + YYSYMBOL_NETGROUP = 7, /* NETGROUP */ + YYSYMBOL_USERGROUP = 8, /* USERGROUP */ + YYSYMBOL_WORD = 9, /* WORD */ + YYSYMBOL_DIGEST = 10, /* DIGEST */ + YYSYMBOL_INCLUDE = 11, /* INCLUDE */ + YYSYMBOL_INCLUDEDIR = 12, /* INCLUDEDIR */ + YYSYMBOL_DEFAULTS = 13, /* DEFAULTS */ + YYSYMBOL_DEFAULTS_HOST = 14, /* DEFAULTS_HOST */ + YYSYMBOL_DEFAULTS_USER = 15, /* DEFAULTS_USER */ + YYSYMBOL_DEFAULTS_RUNAS = 16, /* DEFAULTS_RUNAS */ + YYSYMBOL_DEFAULTS_CMND = 17, /* DEFAULTS_CMND */ + YYSYMBOL_NOPASSWD = 18, /* NOPASSWD */ + YYSYMBOL_PASSWD = 19, /* PASSWD */ + YYSYMBOL_NOEXEC = 20, /* NOEXEC */ + YYSYMBOL_EXEC = 21, /* EXEC */ + YYSYMBOL_SETENV = 22, /* SETENV */ + YYSYMBOL_NOSETENV = 23, /* NOSETENV */ + YYSYMBOL_LOG_INPUT = 24, /* LOG_INPUT */ + YYSYMBOL_NOLOG_INPUT = 25, /* NOLOG_INPUT */ + YYSYMBOL_LOG_OUTPUT = 26, /* LOG_OUTPUT */ + YYSYMBOL_NOLOG_OUTPUT = 27, /* NOLOG_OUTPUT */ + YYSYMBOL_MAIL = 28, /* MAIL */ + YYSYMBOL_NOMAIL = 29, /* NOMAIL */ + YYSYMBOL_FOLLOWLNK = 30, /* FOLLOWLNK */ + YYSYMBOL_NOFOLLOWLNK = 31, /* NOFOLLOWLNK */ + YYSYMBOL_INTERCEPT = 32, /* INTERCEPT */ + YYSYMBOL_NOINTERCEPT = 33, /* NOINTERCEPT */ + YYSYMBOL_ALL = 34, /* ALL */ + YYSYMBOL_HOSTALIAS = 35, /* HOSTALIAS */ + YYSYMBOL_CMNDALIAS = 36, /* CMNDALIAS */ + YYSYMBOL_USERALIAS = 37, /* USERALIAS */ + YYSYMBOL_RUNASALIAS = 38, /* RUNASALIAS */ + YYSYMBOL_39_ = 39, /* ':' */ + YYSYMBOL_40_ = 40, /* '=' */ + YYSYMBOL_41_ = 41, /* ',' */ + YYSYMBOL_42_ = 42, /* '!' */ + YYSYMBOL_43_ = 43, /* '+' */ + YYSYMBOL_44_ = 44, /* '-' */ + YYSYMBOL_45_ = 45, /* '(' */ + YYSYMBOL_46_ = 46, /* ')' */ + YYSYMBOL_47_n_ = 47, /* '\n' */ + YYSYMBOL_ERROR = 48, /* ERROR */ + YYSYMBOL_NOMATCH = 49, /* NOMATCH */ + YYSYMBOL_CHROOT = 50, /* CHROOT */ + YYSYMBOL_CWD = 51, /* CWD */ + YYSYMBOL_TYPE = 52, /* TYPE */ + YYSYMBOL_ROLE = 53, /* ROLE */ + YYSYMBOL_APPARMOR_PROFILE = 54, /* APPARMOR_PROFILE */ + YYSYMBOL_PRIVS = 55, /* PRIVS */ + YYSYMBOL_LIMITPRIVS = 56, /* LIMITPRIVS */ + YYSYMBOL_CMND_TIMEOUT = 57, /* CMND_TIMEOUT */ + YYSYMBOL_NOTBEFORE = 58, /* NOTBEFORE */ + YYSYMBOL_NOTAFTER = 59, /* NOTAFTER */ + YYSYMBOL_MYSELF = 60, /* MYSELF */ + YYSYMBOL_SHA224_TOK = 61, /* SHA224_TOK */ + YYSYMBOL_SHA256_TOK = 62, /* SHA256_TOK */ + YYSYMBOL_SHA384_TOK = 63, /* SHA384_TOK */ + YYSYMBOL_SHA512_TOK = 64, /* SHA512_TOK */ + YYSYMBOL_YYACCEPT = 65, /* $accept */ + YYSYMBOL_file = 66, /* file */ + YYSYMBOL_line = 67, /* line */ + YYSYMBOL_entry = 68, /* entry */ + YYSYMBOL_include = 69, /* include */ + YYSYMBOL_includedir = 70, /* includedir */ + YYSYMBOL_defaults_list = 71, /* defaults_list */ + YYSYMBOL_defaults_entry = 72, /* defaults_entry */ + YYSYMBOL_privileges = 73, /* privileges */ + YYSYMBOL_privilege = 74, /* privilege */ + YYSYMBOL_ophost = 75, /* ophost */ + YYSYMBOL_host = 76, /* host */ + YYSYMBOL_cmndspeclist = 77, /* cmndspeclist */ + YYSYMBOL_cmndspec = 78, /* cmndspec */ + YYSYMBOL_digestspec = 79, /* digestspec */ + YYSYMBOL_digestlist = 80, /* digestlist */ + YYSYMBOL_digcmnd = 81, /* digcmnd */ + YYSYMBOL_opcmnd = 82, /* opcmnd */ + YYSYMBOL_chdirspec = 83, /* chdirspec */ + YYSYMBOL_chrootspec = 84, /* chrootspec */ + YYSYMBOL_timeoutspec = 85, /* timeoutspec */ + YYSYMBOL_notbeforespec = 86, /* notbeforespec */ + YYSYMBOL_notafterspec = 87, /* notafterspec */ + YYSYMBOL_rolespec = 88, /* rolespec */ + YYSYMBOL_typespec = 89, /* typespec */ + YYSYMBOL_apparmor_profilespec = 90, /* apparmor_profilespec */ + YYSYMBOL_privsspec = 91, /* privsspec */ + YYSYMBOL_limitprivsspec = 92, /* limitprivsspec */ + YYSYMBOL_runasspec = 93, /* runasspec */ + YYSYMBOL_runaslist = 94, /* runaslist */ + YYSYMBOL_reserved_word = 95, /* reserved_word */ + YYSYMBOL_reserved_alias = 96, /* reserved_alias */ + YYSYMBOL_options = 97, /* options */ + YYSYMBOL_cmndtag = 98, /* cmndtag */ + YYSYMBOL_cmnd = 99, /* cmnd */ + YYSYMBOL_hostaliases = 100, /* hostaliases */ + YYSYMBOL_hostalias = 101, /* hostalias */ + YYSYMBOL_102_1 = 102, /* $@1 */ + YYSYMBOL_hostlist = 103, /* hostlist */ + YYSYMBOL_cmndaliases = 104, /* cmndaliases */ + YYSYMBOL_cmndalias = 105, /* cmndalias */ + YYSYMBOL_106_2 = 106, /* $@2 */ + YYSYMBOL_cmndlist = 107, /* cmndlist */ + YYSYMBOL_runasaliases = 108, /* runasaliases */ + YYSYMBOL_runasalias = 109, /* runasalias */ + YYSYMBOL_110_3 = 110, /* $@3 */ + YYSYMBOL_useraliases = 111, /* useraliases */ + YYSYMBOL_useralias = 112, /* useralias */ + YYSYMBOL_113_4 = 113, /* $@4 */ + YYSYMBOL_userlist = 114, /* userlist */ + YYSYMBOL_opuser = 115, /* opuser */ + YYSYMBOL_user = 116, /* user */ + YYSYMBOL_grouplist = 117, /* grouplist */ + YYSYMBOL_opgroup = 118, /* opgroup */ + YYSYMBOL_group = 119 /* group */ +}; +typedef enum yysymbol_kind_t yysymbol_kind_t; + + + + +#ifdef short +# undef short +#endif + +/* On compilers that do not define __PTRDIFF_MAX__ etc., make sure + and (if available) are included + so that the code can choose integer types of a good width. */ + +#ifndef __PTRDIFF_MAX__ +# include /* INFRINGES ON USER NAME SPACE */ +# if defined HAVE_STDINT_H +# include /* INFRINGES ON USER NAME SPACE */ +# define YY_STDINT_H +# endif +#endif + +/* Narrow types that promote to a signed type and that can represent a + signed or unsigned integer of at least N bits. In tables they can + save space and decrease cache pressure. Promoting to a signed type + helps avoid bugs in integer arithmetic. */ + +#ifdef __INT_LEAST8_MAX__ +typedef __INT_LEAST8_TYPE__ yytype_int8; +#elif defined YY_STDINT_H +typedef int_least8_t yytype_int8; +#else +typedef signed char yytype_int8; +#endif + +#ifdef __INT_LEAST16_MAX__ +typedef __INT_LEAST16_TYPE__ yytype_int16; +#elif defined YY_STDINT_H +typedef int_least16_t yytype_int16; +#else +typedef short yytype_int16; +#endif + +/* Work around bug in HP-UX 11.23, which defines these macros + incorrectly for preprocessor constants. This workaround can likely + be removed in 2023, as HPE has promised support for HP-UX 11.23 + (aka HP-UX 11i v2) only through the end of 2022; see Table 2 of + . */ +#ifdef __hpux +# undef UINT_LEAST8_MAX +# undef UINT_LEAST16_MAX +# define UINT_LEAST8_MAX 255 +# define UINT_LEAST16_MAX 65535 +#endif + +#if defined __UINT_LEAST8_MAX__ && __UINT_LEAST8_MAX__ <= __INT_MAX__ +typedef __UINT_LEAST8_TYPE__ yytype_uint8; +#elif (!defined __UINT_LEAST8_MAX__ && defined YY_STDINT_H \ + && UINT_LEAST8_MAX <= INT_MAX) +typedef uint_least8_t yytype_uint8; +#elif !defined __UINT_LEAST8_MAX__ && UCHAR_MAX <= INT_MAX +typedef unsigned char yytype_uint8; +#else +typedef short yytype_uint8; +#endif + +#if defined __UINT_LEAST16_MAX__ && __UINT_LEAST16_MAX__ <= __INT_MAX__ +typedef __UINT_LEAST16_TYPE__ yytype_uint16; +#elif (!defined __UINT_LEAST16_MAX__ && defined YY_STDINT_H \ + && UINT_LEAST16_MAX <= INT_MAX) +typedef uint_least16_t yytype_uint16; +#elif !defined __UINT_LEAST16_MAX__ && USHRT_MAX <= INT_MAX +typedef unsigned short yytype_uint16; +#else +typedef int yytype_uint16; +#endif + +#ifndef YYPTRDIFF_T +# if defined __PTRDIFF_TYPE__ && defined __PTRDIFF_MAX__ +# define YYPTRDIFF_T __PTRDIFF_TYPE__ +# define YYPTRDIFF_MAXIMUM __PTRDIFF_MAX__ +# elif defined PTRDIFF_MAX +# ifndef ptrdiff_t +# include /* INFRINGES ON USER NAME SPACE */ +# endif +# define YYPTRDIFF_T ptrdiff_t +# define YYPTRDIFF_MAXIMUM PTRDIFF_MAX +# else +# define YYPTRDIFF_T long +# define YYPTRDIFF_MAXIMUM LONG_MAX +# endif +#endif + +#ifndef YYSIZE_T +# ifdef __SIZE_TYPE__ +# define YYSIZE_T __SIZE_TYPE__ +# elif defined size_t +# define YYSIZE_T size_t +# elif defined __STDC_VERSION__ && 199901 <= __STDC_VERSION__ +# include /* INFRINGES ON USER NAME SPACE */ +# define YYSIZE_T size_t +# else +# define YYSIZE_T unsigned +# endif +#endif + +#define YYSIZE_MAXIMUM \ + YY_CAST (YYPTRDIFF_T, \ + (YYPTRDIFF_MAXIMUM < YY_CAST (YYSIZE_T, -1) \ + ? YYPTRDIFF_MAXIMUM \ + : YY_CAST (YYSIZE_T, -1))) + +#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X)) + + +/* Stored state numbers (used for stacks). */ +typedef yytype_uint8 yy_state_t; + +/* State numbers in computations. */ +typedef int yy_state_fast_t; + +#ifndef YY_ +# if defined YYENABLE_NLS && YYENABLE_NLS +# if ENABLE_NLS +# include /* INFRINGES ON USER NAME SPACE */ +# define YY_(Msgid) dgettext ("bison-runtime", Msgid) +# endif +# endif +# ifndef YY_ +# define YY_(Msgid) Msgid +# endif +#endif + + +#ifndef YY_ATTRIBUTE_PURE +# if defined __GNUC__ && 2 < __GNUC__ + (96 <= __GNUC_MINOR__) +# define YY_ATTRIBUTE_PURE __attribute__ ((__pure__)) +# else +# define YY_ATTRIBUTE_PURE +# endif +#endif + +#ifndef YY_ATTRIBUTE_UNUSED +# if defined __GNUC__ && 2 < __GNUC__ + (7 <= __GNUC_MINOR__) +# define YY_ATTRIBUTE_UNUSED __attribute__ ((__unused__)) +# else +# define YY_ATTRIBUTE_UNUSED +# endif +#endif + +/* Suppress unused-variable warnings by "using" E. */ +#if ! defined lint || defined __GNUC__ +# define YY_USE(E) ((void) (E)) +#else +# define YY_USE(E) /* empty */ +#endif + +/* Suppress an incorrect diagnostic about yylval being uninitialized. */ +#if defined __GNUC__ && ! defined __ICC && 406 <= __GNUC__ * 100 + __GNUC_MINOR__ +# if __GNUC__ * 100 + __GNUC_MINOR__ < 407 +# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN \ + _Pragma ("GCC diagnostic push") \ + _Pragma ("GCC diagnostic ignored \"-Wuninitialized\"") +# else +# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN \ + _Pragma ("GCC diagnostic push") \ + _Pragma ("GCC diagnostic ignored \"-Wuninitialized\"") \ + _Pragma ("GCC diagnostic ignored \"-Wmaybe-uninitialized\"") +# endif +# define YY_IGNORE_MAYBE_UNINITIALIZED_END \ + _Pragma ("GCC diagnostic pop") +#else +# define YY_INITIAL_VALUE(Value) Value +#endif +#ifndef YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN +# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN +# define YY_IGNORE_MAYBE_UNINITIALIZED_END +#endif +#ifndef YY_INITIAL_VALUE +# define YY_INITIAL_VALUE(Value) /* Nothing. */ +#endif + +#if defined __cplusplus && defined __GNUC__ && ! defined __ICC && 6 <= __GNUC__ +# define YY_IGNORE_USELESS_CAST_BEGIN \ + _Pragma ("GCC diagnostic push") \ + _Pragma ("GCC diagnostic ignored \"-Wuseless-cast\"") +# define YY_IGNORE_USELESS_CAST_END \ + _Pragma ("GCC diagnostic pop") +#endif +#ifndef YY_IGNORE_USELESS_CAST_BEGIN +# define YY_IGNORE_USELESS_CAST_BEGIN +# define YY_IGNORE_USELESS_CAST_END +#endif + + +#define YY_ASSERT(E) ((void) (0 && (E))) + +#if !defined yyoverflow + +/* The parser invokes alloca or malloc; define the necessary symbols. */ + +# ifdef YYSTACK_USE_ALLOCA +# if YYSTACK_USE_ALLOCA +# ifdef __GNUC__ +# define YYSTACK_ALLOC __builtin_alloca +# elif defined __BUILTIN_VA_ARG_INCR +# include /* INFRINGES ON USER NAME SPACE */ +# elif defined _AIX +# define YYSTACK_ALLOC __alloca +# elif defined _MSC_VER +# include /* INFRINGES ON USER NAME SPACE */ +# define alloca _alloca +# else +# define YYSTACK_ALLOC alloca +# if ! defined _ALLOCA_H && ! defined EXIT_SUCCESS +# include /* INFRINGES ON USER NAME SPACE */ + /* Use EXIT_SUCCESS as a witness for stdlib.h. */ +# ifndef EXIT_SUCCESS +# define EXIT_SUCCESS 0 +# endif +# endif +# endif +# endif +# endif + +# ifdef YYSTACK_ALLOC + /* Pacify GCC's 'empty if-body' warning. */ +# define YYSTACK_FREE(Ptr) do { /* empty */; } while (0) +# ifndef YYSTACK_ALLOC_MAXIMUM + /* The OS might guarantee only one guard page at the bottom of the stack, + and a page size can be as small as 4096 bytes. So we cannot safely + invoke alloca (N) if N exceeds 4096. Use a slightly smaller number + to allow for a few compiler-allocated temporary stack slots. */ +# define YYSTACK_ALLOC_MAXIMUM 4032 /* reasonable circa 2006 */ +# endif +# else +# define YYSTACK_ALLOC YYMALLOC +# define YYSTACK_FREE YYFREE +# ifndef YYSTACK_ALLOC_MAXIMUM +# define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM +# endif +# if (defined __cplusplus && ! defined EXIT_SUCCESS \ + && ! ((defined YYMALLOC || defined malloc) \ + && (defined YYFREE || defined free))) +# include /* INFRINGES ON USER NAME SPACE */ +# ifndef EXIT_SUCCESS +# define EXIT_SUCCESS 0 +# endif +# endif +# ifndef YYMALLOC +# define YYMALLOC malloc +# if ! defined malloc && ! defined EXIT_SUCCESS +void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */ +# endif +# endif +# ifndef YYFREE +# define YYFREE free +# if ! defined free && ! defined EXIT_SUCCESS +void free (void *); /* INFRINGES ON USER NAME SPACE */ +# endif +# endif +# endif +#endif /* !defined yyoverflow */ + +#if (! defined yyoverflow \ + && (! defined __cplusplus \ + || (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL))) + +/* A type that is properly aligned for any stack member. */ +union yyalloc +{ + yy_state_t yyss_alloc; + YYSTYPE yyvs_alloc; +}; + +/* The size of the maximum gap between one aligned stack and the next. */ +# define YYSTACK_GAP_MAXIMUM (YYSIZEOF (union yyalloc) - 1) + +/* The size of an array large to enough to hold all stacks, each with + N elements. */ +# define YYSTACK_BYTES(N) \ + ((N) * (YYSIZEOF (yy_state_t) + YYSIZEOF (YYSTYPE)) \ + + YYSTACK_GAP_MAXIMUM) + +# define YYCOPY_NEEDED 1 + +/* Relocate STACK from its old location to the new one. The + local variables YYSIZE and YYSTACKSIZE give the old and new number of + elements in the stack, and YYPTR gives the new location of the + stack. Advance YYPTR to a properly aligned location for the next + stack. */ +# define YYSTACK_RELOCATE(Stack_alloc, Stack) \ + do \ + { \ + YYPTRDIFF_T yynewbytes; \ + YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \ + Stack = &yyptr->Stack_alloc; \ + yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \ + yyptr += yynewbytes / YYSIZEOF (*yyptr); \ + } \ + while (0) + +#endif + +#if defined YYCOPY_NEEDED && YYCOPY_NEEDED +/* Copy COUNT objects from SRC to DST. The source and destination do + not overlap. */ +# ifndef YYCOPY +# if defined __GNUC__ && 1 < __GNUC__ +# define YYCOPY(Dst, Src, Count) \ + __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src))) +# else +# define YYCOPY(Dst, Src, Count) \ + do \ + { \ + YYPTRDIFF_T yyi; \ + for (yyi = 0; yyi < (Count); yyi++) \ + (Dst)[yyi] = (Src)[yyi]; \ + } \ + while (0) +# endif +# endif +#endif /* !YYCOPY_NEEDED */ + +/* YYFINAL -- State number of the termination state. */ +#define YYFINAL 90 +/* YYLAST -- Last index in YYTABLE. */ +#define YYLAST 332 + +/* YYNTOKENS -- Number of terminals. */ +#define YYNTOKENS 65 +/* YYNNTS -- Number of nonterminals. */ +#define YYNNTS 55 +/* YYNRULES -- Number of rules. */ +#define YYNRULES 155 +/* YYNSTATES -- Number of states. */ +#define YYNSTATES 256 + +/* YYMAXUTOK -- Last valid token kind. */ +#define YYMAXUTOK 310 + + +/* YYTRANSLATE(TOKEN-NUM) -- Symbol number corresponding to TOKEN-NUM + as returned by yylex, with out-of-bounds checking. */ +#define YYTRANSLATE(YYX) \ + (0 <= (YYX) && (YYX) <= YYMAXUTOK \ + ? YY_CAST (yysymbol_kind_t, yytranslate[YYX]) \ + : YYSYMBOL_YYUNDEF) + +/* YYTRANSLATE[TOKEN-NUM] -- Symbol number corresponding to TOKEN-NUM + as returned by yylex. */ +static const yytype_int8 yytranslate[] = +{ + 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 47, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 42, 2, 2, 2, 2, 2, 2, + 45, 46, 2, 43, 41, 44, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 39, 2, + 2, 40, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 1, 2, 3, 4, + 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, + 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, + 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, + 35, 36, 37, 38, 48, 49, 50, 51, 52, 53, + 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, + 64 +}; + +#if YYDEBUG +/* YYRLINE[YYN] -- Source line where rule number YYN was defined. */ +static const yytype_int16 yyrline[] = +{ + 0, 202, 202, 205, 208, 209, 212, 215, 218, 225, + 232, 238, 241, 244, 247, 250, 254, 258, 262, 266, + 272, 275, 281, 284, 290, 291, 298, 307, 316, 326, + 336, 348, 349, 354, 360, 377, 381, 387, 396, 404, + 413, 422, 433, 434, 496, 566, 575, 584, 593, 604, + 605, 612, 615, 629, 633, 639, 655, 671, 676, 680, + 685, 690, 695, 700, 704, 709, 712, 717, 733, 744, + 756, 767, 785, 786, 787, 788, 789, 790, 791, 792, + 793, 794, 795, 798, 804, 807, 812, 817, 826, 835, + 847, 854, 861, 868, 875, 884, 887, 890, 893, 896, + 899, 902, 905, 908, 911, 914, 917, 920, 923, 926, + 929, 932, 937, 951, 960, 981, 1004, 1005, 1008, 1008, + 1020, 1023, 1024, 1031, 1032, 1035, 1035, 1047, 1050, 1051, + 1058, 1059, 1062, 1062, 1074, 1077, 1078, 1081, 1081, 1093, + 1096, 1097, 1104, 1108, 1114, 1123, 1131, 1140, 1149, 1160, + 1161, 1168, 1172, 1178, 1187, 1195 +}; +#endif + +/** Accessing symbol of state STATE. */ +#define YY_ACCESSING_SYMBOL(State) YY_CAST (yysymbol_kind_t, yystos[State]) + +#if YYDEBUG || 0 +/* The user-facing name of the symbol whose (internal) number is + YYSYMBOL. No bounds checking. */ +static const char *yysymbol_name (yysymbol_kind_t yysymbol) YY_ATTRIBUTE_UNUSED; + +/* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM. + First, the terminals, then, starting at YYNTOKENS, nonterminals. */ +static const char *const yytname[] = +{ + "\"end of file\"", "error", "\"invalid token\"", "COMMAND", "ALIAS", + "DEFVAR", "NTWKADDR", "NETGROUP", "USERGROUP", "WORD", "DIGEST", + "INCLUDE", "INCLUDEDIR", "DEFAULTS", "DEFAULTS_HOST", "DEFAULTS_USER", + "DEFAULTS_RUNAS", "DEFAULTS_CMND", "NOPASSWD", "PASSWD", "NOEXEC", + "EXEC", "SETENV", "NOSETENV", "LOG_INPUT", "NOLOG_INPUT", "LOG_OUTPUT", + "NOLOG_OUTPUT", "MAIL", "NOMAIL", "FOLLOWLNK", "NOFOLLOWLNK", + "INTERCEPT", "NOINTERCEPT", "ALL", "HOSTALIAS", "CMNDALIAS", "USERALIAS", + "RUNASALIAS", "':'", "'='", "','", "'!'", "'+'", "'-'", "'('", "')'", + "'\\n'", "ERROR", "NOMATCH", "CHROOT", "CWD", "TYPE", "ROLE", + "APPARMOR_PROFILE", "PRIVS", "LIMITPRIVS", "CMND_TIMEOUT", "NOTBEFORE", + "NOTAFTER", "MYSELF", "SHA224_TOK", "SHA256_TOK", "SHA384_TOK", + "SHA512_TOK", "$accept", "file", "line", "entry", "include", + "includedir", "defaults_list", "defaults_entry", "privileges", + "privilege", "ophost", "host", "cmndspeclist", "cmndspec", "digestspec", + "digestlist", "digcmnd", "opcmnd", "chdirspec", "chrootspec", + "timeoutspec", "notbeforespec", "notafterspec", "rolespec", "typespec", + "apparmor_profilespec", "privsspec", "limitprivsspec", "runasspec", + "runaslist", "reserved_word", "reserved_alias", "options", "cmndtag", + "cmnd", "hostaliases", "hostalias", "$@1", "hostlist", "cmndaliases", + "cmndalias", "$@2", "cmndlist", "runasaliases", "runasalias", "$@3", + "useraliases", "useralias", "$@4", "userlist", "opuser", "user", + "grouplist", "opgroup", "group", YY_NULLPTR +}; + +static const char * +yysymbol_name (yysymbol_kind_t yysymbol) +{ + return yytname[yysymbol]; +} +#endif + +#define YYPACT_NINF (-116) + +#define yypact_value_is_default(Yyn) \ + ((Yyn) == YYPACT_NINF) + +#define YYTABLE_NINF (-4) + +#define yytable_value_is_error(Yyn) \ + 0 + +/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing + STATE-NUM. */ +static const yytype_int16 yypact[] = +{ + 174, -29, -116, -116, -116, -116, 35, 38, 11, 239, + 150, 150, 8, -116, 32, 76, 88, 114, 254, -116, + 58, 218, -116, -116, -116, 70, -116, -116, -116, 12, + 13, 136, 73, 14, -116, -116, -116, -116, -116, -116, + 276, -116, -116, 4, 10, 10, -116, -116, -116, -116, + 190, 42, 81, 85, 97, -116, 64, -116, -116, -116, + 52, -116, -116, -116, -116, -116, -116, -116, -116, -116, + -116, -116, -116, -116, 57, 2, -116, -116, 111, 9, + -116, -116, 112, 56, -116, -116, 123, 61, -116, -116, + -116, -116, 150, 62, -116, 75, 90, -116, 130, -116, + 188, 204, 205, -116, 11, -116, -116, 239, 55, 66, + 108, -116, 207, 210, 213, 228, 143, -116, 8, 155, + 175, 239, 32, -116, 209, 8, 76, -116, 211, 150, + 88, -116, 217, 150, 114, -116, -116, 194, -116, 202, + -116, -116, -116, -116, -116, -116, -116, -116, -116, -116, + -116, -116, -116, -116, -116, -116, -116, 239, 225, -116, + 8, 227, -116, 150, 229, -116, 150, 229, -116, -116, + -116, 233, 230, -116, -116, 225, 227, 229, 229, 235, + 232, 121, 202, 240, -116, -116, -116, 255, 238, -116, + -116, -116, 235, -116, 234, 236, 244, 246, 247, 260, + 261, 262, 263, 264, -116, -116, -116, -116, -116, -116, + -116, -116, -116, -116, 1, -116, 235, 238, 241, 296, + 297, 298, 299, 300, 302, 303, 304, 305, -116, -116, + -116, -116, -116, -116, -116, -116, -116, -116, -116, -116, + -116, -116, -116, -116, -116, -116, -116, -116, -116, -116, + -116, -116, -116, -116, -116, -116 +}; + +/* YYDEFACT[STATE-NUM] -- Default reduction number in state STATE-NUM. + Performed when YYTABLE does not specify something else to do. Zero + means the default is an error. */ +static const yytype_uint8 yydefact[] = +{ + 0, 0, 144, 146, 147, 148, 0, 0, 0, 0, + 0, 0, 0, 145, 0, 0, 0, 0, 0, 6, + 0, 0, 4, 8, 9, 0, 140, 142, 7, 0, + 0, 26, 0, 0, 24, 37, 40, 39, 41, 38, + 0, 121, 35, 0, 0, 0, 114, 113, 115, 112, + 0, 0, 0, 0, 0, 49, 0, 128, 51, 53, + 0, 118, 72, 73, 74, 79, 78, 82, 80, 81, + 75, 76, 77, 83, 0, 0, 116, 125, 0, 0, + 123, 137, 0, 0, 135, 132, 0, 0, 130, 143, + 1, 5, 0, 0, 31, 0, 0, 20, 0, 22, + 0, 0, 0, 27, 0, 15, 36, 0, 0, 0, + 0, 54, 0, 0, 0, 0, 0, 52, 0, 0, + 0, 0, 0, 12, 0, 0, 0, 13, 0, 0, + 0, 11, 0, 0, 0, 14, 141, 0, 10, 65, + 21, 23, 28, 29, 30, 25, 122, 18, 16, 17, + 45, 46, 47, 48, 50, 129, 19, 0, 120, 117, + 0, 127, 124, 0, 139, 136, 0, 134, 131, 33, + 32, 67, 34, 42, 84, 119, 126, 138, 133, 71, + 0, 68, 65, 95, 153, 155, 154, 0, 70, 149, + 151, 66, 0, 43, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 85, 86, 89, 87, 88, 90, + 91, 92, 93, 94, 0, 152, 0, 69, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 96, 97, + 98, 99, 102, 103, 104, 105, 106, 107, 110, 111, + 108, 109, 100, 101, 44, 150, 56, 55, 61, 60, + 62, 63, 64, 57, 58, 59 +}; + +/* YYPGOTO[NTERM-NUM]. */ +static const yytype_int16 yypgoto[] = +{ + -116, -116, -116, 294, -116, -116, -6, 212, -116, 180, + 214, 278, -116, 137, 206, -116, -115, 267, -116, -116, + -116, -116, -116, -116, -116, -116, -116, -116, -116, -116, + -116, -9, -116, -116, 270, -116, 203, -116, -7, -116, + 198, -116, -85, -116, 192, -116, -116, 197, -116, -10, + 237, 310, 138, 115, 145 +}; + +/* YYDEFGOTO[NTERM-NUM]. */ +static const yytype_uint8 yydefgoto[] = +{ + 0, 20, 21, 22, 23, 24, 33, 34, 93, 94, + 41, 42, 172, 173, 55, 56, 57, 58, 204, 205, + 206, 207, 208, 209, 210, 211, 212, 213, 174, 180, + 73, 74, 183, 214, 59, 75, 76, 120, 95, 79, + 80, 124, 60, 87, 88, 132, 83, 84, 128, 25, + 26, 27, 188, 189, 190 +}; + +/* YYTABLE[YYPACT[STATE-NUM]] -- What to do in state STATE-NUM. If + positive, shift that token. If negative, reduce the rule whose + number is the opposite. If YYTABLE_NINF, syntax error. */ +static const yytype_int16 yytable[] = +{ + 44, 45, 43, 155, 46, 47, 78, 82, 86, 31, + 48, 46, 47, 96, 98, 31, 31, 48, 28, 228, + 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, + 239, 240, 241, 242, 243, 49, 61, 108, 109, 110, + 161, 122, 49, 50, 29, 107, 32, 30, 126, 123, + 50, 92, 32, 32, 119, 104, 127, 31, 90, 97, + 99, 105, 51, 52, 53, 54, 62, 46, 47, 51, + 52, 53, 54, 48, 35, 176, 36, 37, 103, 38, + 77, 112, 63, 64, 65, 66, 67, 68, 69, 70, + 71, 72, 81, 118, 32, 130, 104, 121, 49, 244, + 134, 137, 147, 131, 39, 116, 50, 104, 135, 138, + 62, 92, 40, 148, 158, 139, 107, 78, 85, 164, + 113, 82, 62, 167, 114, 86, 63, 64, 65, 66, + 67, 68, 69, 70, 71, 72, 115, 140, 63, 64, + 65, 66, 67, 68, 69, 70, 71, 72, 62, 104, + 175, 125, 129, 177, 2, 149, 178, 3, 4, 5, + 192, 181, 92, 133, 63, 64, 65, 66, 67, 68, + 69, 70, 71, 72, -2, 1, 100, 141, 2, 101, + 102, 3, 4, 5, 13, 6, 7, 8, 9, 10, + 11, 12, 18, 46, 47, 169, 104, 142, 35, 48, + 36, 37, 156, 38, 51, 52, 53, 54, 13, 14, + 15, 16, 17, 143, 144, 157, 18, 150, -3, 1, + 151, 19, 2, 152, 49, 3, 4, 5, 39, 6, + 7, 8, 9, 10, 11, 12, 40, 2, 153, 184, + 3, 4, 5, 35, 185, 36, 37, 171, 38, 160, + 246, 163, 13, 14, 15, 16, 17, 166, 2, 184, + 18, 3, 4, 5, 185, 19, 107, 13, 118, 186, + 92, 182, 179, 39, 218, 18, 219, 187, 191, 216, + 35, 40, 36, 37, 220, 38, 221, 222, 13, 186, + 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, + 223, 224, 225, 226, 227, 247, 248, 249, 250, 251, + 39, 252, 253, 254, 255, 91, 145, 170, 106, 193, + 111, 146, 154, 117, 162, 159, 168, 165, 89, 136, + 217, 245, 215 +}; + +static const yytype_uint8 yycheck[] = +{ + 10, 11, 9, 118, 3, 4, 15, 16, 17, 5, + 9, 3, 4, 1, 1, 5, 5, 9, 47, 18, + 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, + 29, 30, 31, 32, 33, 34, 4, 43, 44, 45, + 125, 39, 34, 42, 9, 41, 42, 9, 39, 47, + 42, 41, 42, 42, 60, 41, 47, 5, 0, 47, + 47, 47, 61, 62, 63, 64, 34, 3, 4, 61, + 62, 63, 64, 9, 4, 160, 6, 7, 5, 9, + 4, 39, 50, 51, 52, 53, 54, 55, 56, 57, + 58, 59, 4, 41, 42, 39, 41, 40, 34, 214, + 39, 39, 47, 47, 34, 41, 42, 41, 47, 47, + 34, 41, 42, 47, 121, 40, 41, 126, 4, 129, + 39, 130, 34, 133, 39, 134, 50, 51, 52, 53, + 54, 55, 56, 57, 58, 59, 39, 47, 50, 51, + 52, 53, 54, 55, 56, 57, 58, 59, 34, 41, + 157, 40, 40, 163, 4, 47, 166, 7, 8, 9, + 39, 171, 41, 40, 50, 51, 52, 53, 54, 55, + 56, 57, 58, 59, 0, 1, 40, 47, 4, 43, + 44, 7, 8, 9, 34, 11, 12, 13, 14, 15, + 16, 17, 42, 3, 4, 1, 41, 9, 4, 9, + 6, 7, 47, 9, 61, 62, 63, 64, 34, 35, + 36, 37, 38, 9, 9, 40, 42, 10, 0, 1, + 10, 47, 4, 10, 34, 7, 8, 9, 34, 11, + 12, 13, 14, 15, 16, 17, 42, 4, 10, 4, + 7, 8, 9, 4, 9, 6, 7, 45, 9, 40, + 9, 40, 34, 35, 36, 37, 38, 40, 4, 4, + 42, 7, 8, 9, 9, 47, 41, 34, 41, 34, + 41, 41, 39, 34, 40, 42, 40, 42, 46, 41, + 4, 42, 6, 7, 40, 9, 40, 40, 34, 34, + 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, + 40, 40, 40, 40, 40, 9, 9, 9, 9, 9, + 34, 9, 9, 9, 9, 21, 104, 137, 40, 182, + 50, 107, 116, 56, 126, 122, 134, 130, 18, 92, + 192, 216, 187 +}; + +/* YYSTOS[STATE-NUM] -- The symbol kind of the accessing symbol of + state STATE-NUM. */ +static const yytype_int8 yystos[] = +{ + 0, 1, 4, 7, 8, 9, 11, 12, 13, 14, + 15, 16, 17, 34, 35, 36, 37, 38, 42, 47, + 66, 67, 68, 69, 70, 114, 115, 116, 47, 9, + 9, 5, 42, 71, 72, 4, 6, 7, 9, 34, + 42, 75, 76, 103, 114, 114, 3, 4, 9, 34, + 42, 61, 62, 63, 64, 79, 80, 81, 82, 99, + 107, 4, 34, 50, 51, 52, 53, 54, 55, 56, + 57, 58, 59, 95, 96, 100, 101, 4, 96, 104, + 105, 4, 96, 111, 112, 4, 96, 108, 109, 116, + 0, 68, 41, 73, 74, 103, 1, 47, 1, 47, + 40, 43, 44, 5, 41, 47, 76, 41, 71, 71, + 71, 99, 39, 39, 39, 39, 41, 82, 41, 71, + 102, 40, 39, 47, 106, 40, 39, 47, 113, 40, + 39, 47, 110, 40, 39, 47, 115, 39, 47, 40, + 47, 47, 9, 9, 9, 72, 75, 47, 47, 47, + 10, 10, 10, 10, 79, 81, 47, 40, 103, 101, + 40, 107, 105, 40, 114, 112, 40, 114, 109, 1, + 74, 45, 77, 78, 93, 103, 107, 114, 114, 39, + 94, 114, 41, 97, 4, 9, 34, 42, 117, 118, + 119, 46, 39, 78, 50, 51, 52, 53, 54, 55, + 56, 57, 58, 59, 83, 84, 85, 86, 87, 88, + 89, 90, 91, 92, 98, 119, 41, 117, 40, 40, + 40, 40, 40, 40, 40, 40, 40, 40, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, + 30, 31, 32, 33, 81, 118, 9, 9, 9, 9, + 9, 9, 9, 9, 9, 9 +}; + +/* YYR1[RULE-NUM] -- Symbol kind of the left-hand side of rule RULE-NUM. */ +static const yytype_int8 yyr1[] = +{ + 0, 65, 66, 66, 67, 67, 68, 68, 68, 68, + 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, + 69, 69, 70, 70, 71, 71, 72, 72, 72, 72, + 72, 73, 73, 73, 74, 75, 75, 76, 76, 76, + 76, 76, 77, 77, 78, 79, 79, 79, 79, 80, + 80, 81, 81, 82, 82, 83, 84, 85, 86, 87, + 88, 89, 90, 91, 92, 93, 93, 94, 94, 94, + 94, 94, 95, 95, 95, 95, 95, 95, 95, 95, + 95, 95, 95, 96, 97, 97, 97, 97, 97, 97, + 97, 97, 97, 97, 97, 98, 98, 98, 98, 98, + 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, + 98, 98, 99, 99, 99, 99, 100, 100, 102, 101, + 101, 103, 103, 104, 104, 106, 105, 105, 107, 107, + 108, 108, 110, 109, 109, 111, 111, 113, 112, 112, + 114, 114, 115, 115, 116, 116, 116, 116, 116, 117, + 117, 118, 118, 119, 119, 119 +}; + +/* YYR2[RULE-NUM] -- Number of symbols on the right-hand side of rule RULE-NUM. */ +static const yytype_int8 yyr2[] = +{ + 0, 2, 0, 1, 1, 2, 1, 2, 1, 1, + 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, + 3, 4, 3, 4, 1, 3, 1, 2, 3, 3, + 3, 1, 3, 3, 3, 1, 2, 1, 1, 1, + 1, 1, 1, 3, 4, 3, 3, 3, 3, 1, + 3, 1, 2, 1, 2, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 0, 3, 0, 1, 3, + 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 0, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 0, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 1, 1, 1, 1, 1, 3, 0, 4, + 3, 1, 3, 1, 3, 0, 4, 3, 1, 3, + 1, 3, 0, 4, 3, 1, 3, 0, 4, 3, + 1, 3, 1, 2, 1, 1, 1, 1, 1, 1, + 3, 1, 2, 1, 1, 1 +}; + + +enum { YYENOMEM = -2 }; + +#define yyerrok (yyerrstatus = 0) +#define yyclearin (yychar = YYEMPTY) + +#define YYACCEPT goto yyacceptlab +#define YYABORT goto yyabortlab +#define YYERROR goto yyerrorlab +#define YYNOMEM goto yyexhaustedlab + + +#define YYRECOVERING() (!!yyerrstatus) + +#define YYBACKUP(Token, Value) \ + do \ + if (yychar == YYEMPTY) \ + { \ + yychar = (Token); \ + yylval = (Value); \ + YYPOPSTACK (yylen); \ + yystate = *yyssp; \ + goto yybackup; \ + } \ + else \ + { \ + yyerror (YY_("syntax error: cannot back up")); \ + YYERROR; \ + } \ + while (0) + +/* Backward compatibility with an undocumented macro. + Use YYerror or YYUNDEF. */ +#define YYERRCODE YYUNDEF + + +/* Enable debugging if requested. */ +#if YYDEBUG + +# ifndef YYFPRINTF +# include /* INFRINGES ON USER NAME SPACE */ +# define YYFPRINTF fprintf +# endif + +# define YYDPRINTF(Args) \ +do { \ + if (yydebug) \ + YYFPRINTF Args; \ +} while (0) + + + + +# define YY_SYMBOL_PRINT(Title, Kind, Value, Location) \ +do { \ + if (yydebug) \ + { \ + YYFPRINTF (stderr, "%s ", Title); \ + yy_symbol_print (stderr, \ + Kind, Value); \ + YYFPRINTF (stderr, "\n"); \ + } \ +} while (0) + + +/*-----------------------------------. +| Print this symbol's value on YYO. | +`-----------------------------------*/ + +static void +yy_symbol_value_print (FILE *yyo, + yysymbol_kind_t yykind, YYSTYPE const * const yyvaluep) +{ + FILE *yyoutput = yyo; + YY_USE (yyoutput); + if (!yyvaluep) + return; + YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN + YY_USE (yykind); + YY_IGNORE_MAYBE_UNINITIALIZED_END +} + + +/*---------------------------. +| Print this symbol on YYO. | +`---------------------------*/ + +static void +yy_symbol_print (FILE *yyo, + yysymbol_kind_t yykind, YYSTYPE const * const yyvaluep) +{ + YYFPRINTF (yyo, "%s %s (", + yykind < YYNTOKENS ? "token" : "nterm", yysymbol_name (yykind)); + + yy_symbol_value_print (yyo, yykind, yyvaluep); + YYFPRINTF (yyo, ")"); +} + +/*------------------------------------------------------------------. +| yy_stack_print -- Print the state stack from its BOTTOM up to its | +| TOP (included). | +`------------------------------------------------------------------*/ + +static void +yy_stack_print (yy_state_t *yybottom, yy_state_t *yytop) +{ + YYFPRINTF (stderr, "Stack now"); + for (; yybottom <= yytop; yybottom++) + { + int yybot = *yybottom; + YYFPRINTF (stderr, " %d", yybot); + } + YYFPRINTF (stderr, "\n"); +} + +# define YY_STACK_PRINT(Bottom, Top) \ +do { \ + if (yydebug) \ + yy_stack_print ((Bottom), (Top)); \ +} while (0) + + +/*------------------------------------------------. +| Report that the YYRULE is going to be reduced. | +`------------------------------------------------*/ + +static void +yy_reduce_print (yy_state_t *yyssp, YYSTYPE *yyvsp, + int yyrule) +{ + int yylno = yyrline[yyrule]; + int yynrhs = yyr2[yyrule]; + int yyi; + YYFPRINTF (stderr, "Reducing stack by rule %d (line %d):\n", + yyrule - 1, yylno); + /* The symbols being reduced. */ + for (yyi = 0; yyi < yynrhs; yyi++) + { + YYFPRINTF (stderr, " $%d = ", yyi + 1); + yy_symbol_print (stderr, + YY_ACCESSING_SYMBOL (+yyssp[yyi + 1 - yynrhs]), + &yyvsp[(yyi + 1) - (yynrhs)]); + YYFPRINTF (stderr, "\n"); + } +} + +# define YY_REDUCE_PRINT(Rule) \ +do { \ + if (yydebug) \ + yy_reduce_print (yyssp, yyvsp, Rule); \ +} while (0) + +/* Nonzero means print parse trace. It is left uninitialized so that + multiple parsers can coexist. */ +int yydebug; +#else /* !YYDEBUG */ +# define YYDPRINTF(Args) ((void) 0) +# define YY_SYMBOL_PRINT(Title, Kind, Value, Location) +# define YY_STACK_PRINT(Bottom, Top) +# define YY_REDUCE_PRINT(Rule) +#endif /* !YYDEBUG */ + + +/* YYINITDEPTH -- initial size of the parser's stacks. */ +#ifndef YYINITDEPTH +# define YYINITDEPTH 200 +#endif + +/* YYMAXDEPTH -- maximum size the stacks can grow to (effective only + if the built-in stack extension method is used). + + Do not make this value too large; the results are undefined if + YYSTACK_ALLOC_MAXIMUM < YYSTACK_BYTES (YYMAXDEPTH) + evaluated with infinite-precision integer arithmetic. */ + +#ifndef YYMAXDEPTH +# define YYMAXDEPTH 10000 +#endif + + + + + + +/*-----------------------------------------------. +| Release the memory associated to this symbol. | +`-----------------------------------------------*/ + +static void +yydestruct (const char *yymsg, + yysymbol_kind_t yykind, YYSTYPE *yyvaluep) +{ + YY_USE (yyvaluep); + if (!yymsg) + yymsg = "Deleting"; + YY_SYMBOL_PRINT (yymsg, yykind, yyvaluep, yylocationp); + + YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN + YY_USE (yykind); + YY_IGNORE_MAYBE_UNINITIALIZED_END +} + + +/* Lookahead token kind. */ +int yychar; + +/* The semantic value of the lookahead symbol. */ +YYSTYPE yylval; +/* Number of syntax errors so far. */ +int yynerrs; + + + + +/*----------. +| yyparse. | +`----------*/ + +int +yyparse (void) +{ + yy_state_fast_t yystate = 0; + /* Number of tokens to shift before error messages enabled. */ + int yyerrstatus = 0; + + /* Refer to the stacks through separate pointers, to allow yyoverflow + to reallocate them elsewhere. */ + + /* Their size. */ + YYPTRDIFF_T yystacksize = YYINITDEPTH; + + /* The state stack: array, bottom, top. */ + yy_state_t yyssa[YYINITDEPTH]; + yy_state_t *yyss = yyssa; + yy_state_t *yyssp = yyss; + + /* The semantic value stack: array, bottom, top. */ + YYSTYPE yyvsa[YYINITDEPTH]; + YYSTYPE *yyvs = yyvsa; + YYSTYPE *yyvsp = yyvs; + + int yyn; + /* The return value of yyparse. */ + int yyresult; + /* Lookahead symbol kind. */ + yysymbol_kind_t yytoken = YYSYMBOL_YYEMPTY; + /* The variables used to return semantic value and location from the + action routines. */ + YYSTYPE yyval; + + + +#define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) + + /* The number of symbols on the RHS of the reduced rule. + Keep to zero when no symbol should be popped. */ + int yylen = 0; + + YYDPRINTF ((stderr, "Starting parse\n")); + + yychar = YYEMPTY; /* Cause a token to be read. */ + + goto yysetstate; + + +/*------------------------------------------------------------. +| yynewstate -- push a new state, which is found in yystate. | +`------------------------------------------------------------*/ +yynewstate: + /* In all cases, when you get here, the value and location stacks + have just been pushed. So pushing a state here evens the stacks. */ + yyssp++; + + +/*--------------------------------------------------------------------. +| yysetstate -- set current state (the top of the stack) to yystate. | +`--------------------------------------------------------------------*/ +yysetstate: + YYDPRINTF ((stderr, "Entering state %d\n", yystate)); + YY_ASSERT (0 <= yystate && yystate < YYNSTATES); + YY_IGNORE_USELESS_CAST_BEGIN + *yyssp = YY_CAST (yy_state_t, yystate); + YY_IGNORE_USELESS_CAST_END + YY_STACK_PRINT (yyss, yyssp); + + if (yyss + yystacksize - 1 <= yyssp) +#if !defined yyoverflow && !defined YYSTACK_RELOCATE + YYNOMEM; +#else + { + /* Get the current used size of the three stacks, in elements. */ + YYPTRDIFF_T yysize = yyssp - yyss + 1; + +# if defined yyoverflow + { + /* Give user a chance to reallocate the stack. Use copies of + these so that the &'s don't force the real ones into + memory. */ + yy_state_t *yyss1 = yyss; + YYSTYPE *yyvs1 = yyvs; + + /* Each stack pointer address is followed by the size of the + data in use in that stack, in bytes. This used to be a + conditional around just the two extra args, but that might + be undefined if yyoverflow is a macro. */ + yyoverflow (YY_("memory exhausted"), + &yyss1, yysize * YYSIZEOF (*yyssp), + &yyvs1, yysize * YYSIZEOF (*yyvsp), + &yystacksize); + yyss = yyss1; + yyvs = yyvs1; + } +# else /* defined YYSTACK_RELOCATE */ + /* Extend the stack our own way. */ + if (YYMAXDEPTH <= yystacksize) + YYNOMEM; + yystacksize *= 2; + if (YYMAXDEPTH < yystacksize) + yystacksize = YYMAXDEPTH; + + { + yy_state_t *yyss1 = yyss; + union yyalloc *yyptr = + YY_CAST (union yyalloc *, + YYSTACK_ALLOC (YY_CAST (YYSIZE_T, YYSTACK_BYTES (yystacksize)))); + if (! yyptr) + YYNOMEM; + YYSTACK_RELOCATE (yyss_alloc, yyss); + YYSTACK_RELOCATE (yyvs_alloc, yyvs); +# undef YYSTACK_RELOCATE + if (yyss1 != yyssa) + YYSTACK_FREE (yyss1); + } +# endif + + yyssp = yyss + yysize - 1; + yyvsp = yyvs + yysize - 1; + + YY_IGNORE_USELESS_CAST_BEGIN + YYDPRINTF ((stderr, "Stack size increased to %ld\n", + YY_CAST (long, yystacksize))); + YY_IGNORE_USELESS_CAST_END + + if (yyss + yystacksize - 1 <= yyssp) + YYABORT; + } +#endif /* !defined yyoverflow && !defined YYSTACK_RELOCATE */ + + + if (yystate == YYFINAL) + YYACCEPT; + + goto yybackup; + + +/*-----------. +| yybackup. | +`-----------*/ +yybackup: + /* Do appropriate processing given the current state. Read a + lookahead token if we need one and don't already have one. */ + + /* First try to decide what to do without reference to lookahead token. */ + yyn = yypact[yystate]; + if (yypact_value_is_default (yyn)) + goto yydefault; + + /* Not known => get a lookahead token if don't already have one. */ + + /* YYCHAR is either empty, or end-of-input, or a valid lookahead. */ + if (yychar == YYEMPTY) + { + YYDPRINTF ((stderr, "Reading a token\n")); + yychar = yylex (); + } + + if (yychar <= YYEOF) + { + yychar = YYEOF; + yytoken = YYSYMBOL_YYEOF; + YYDPRINTF ((stderr, "Now at end of input.\n")); + } + else if (yychar == YYerror) + { + /* The scanner already issued an error message, process directly + to error recovery. But do not keep the error token as + lookahead, it is too special and may lead us to an endless + loop in error recovery. */ + yychar = YYUNDEF; + yytoken = YYSYMBOL_YYerror; + goto yyerrlab1; + } + else + { + yytoken = YYTRANSLATE (yychar); + YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc); + } + + /* If the proper action on seeing token YYTOKEN is to reduce or to + detect an error, take that action. */ + yyn += yytoken; + if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) + goto yydefault; + yyn = yytable[yyn]; + if (yyn <= 0) + { + if (yytable_value_is_error (yyn)) + goto yyerrlab; + yyn = -yyn; + goto yyreduce; + } + + /* Count tokens shifted since error; after three, turn off error + status. */ + if (yyerrstatus) + yyerrstatus--; + + /* Shift the lookahead token. */ + YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc); + yystate = yyn; + YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN + *++yyvsp = yylval; + YY_IGNORE_MAYBE_UNINITIALIZED_END + + /* Discard the shifted token. */ + yychar = YYEMPTY; + goto yynewstate; + + +/*-----------------------------------------------------------. +| yydefault -- do the default action for the current state. | +`-----------------------------------------------------------*/ +yydefault: + yyn = yydefact[yystate]; + if (yyn == 0) + goto yyerrlab; + goto yyreduce; + + +/*-----------------------------. +| yyreduce -- do a reduction. | +`-----------------------------*/ +yyreduce: + /* yyn is the number of a rule to reduce with. */ + yylen = yyr2[yyn]; + + /* If YYLEN is nonzero, implement the default value of the action: + '$$ = $1'. + + Otherwise, the following line sets YYVAL to garbage. + This behavior is undocumented and Bison + users should not rely upon it. Assigning to YYVAL + unconditionally makes the parser a bit smaller, and it avoids a + GCC warning that YYVAL may be used uninitialized. */ + yyval = yyvsp[1-yylen]; + + + YY_REDUCE_PRINT (yyn); + switch (yyn) + { + case 2: /* file: %empty */ +#line 202 "gram.y" + { + ; /* empty file */ + } +#line 1651 "gram.c" + break; + + case 6: /* entry: '\n' */ +#line 212 "gram.y" + { + ; /* blank line */ + } +#line 1659 "gram.c" + break; + + case 7: /* entry: error '\n' */ +#line 215 "gram.y" + { + yyerrok; + } +#line 1667 "gram.c" + break; + + case 8: /* entry: include */ +#line 218 "gram.y" + { + const bool success = push_include((yyvsp[0].string), false); + parser_leak_remove(LEAK_PTR, (yyvsp[0].string)); + free((yyvsp[0].string)); + if (!success && !sudoers_recovery) + YYERROR; + } +#line 1679 "gram.c" + break; + + case 9: /* entry: includedir */ +#line 225 "gram.y" + { + const bool success = push_include((yyvsp[0].string), true); + parser_leak_remove(LEAK_PTR, (yyvsp[0].string)); + free((yyvsp[0].string)); + if (!success && !sudoers_recovery) + YYERROR; + } +#line 1691 "gram.c" + break; + + case 10: /* entry: userlist privileges '\n' */ +#line 232 "gram.y" + { + if (!add_userspec((yyvsp[-2].member), (yyvsp[-1].privilege))) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + } +#line 1702 "gram.c" + break; + + case 11: /* entry: USERALIAS useraliases '\n' */ +#line 238 "gram.y" + { + ; + } +#line 1710 "gram.c" + break; + + case 12: /* entry: HOSTALIAS hostaliases '\n' */ +#line 241 "gram.y" + { + ; + } +#line 1718 "gram.c" + break; + + case 13: /* entry: CMNDALIAS cmndaliases '\n' */ +#line 244 "gram.y" + { + ; + } +#line 1726 "gram.c" + break; + + case 14: /* entry: RUNASALIAS runasaliases '\n' */ +#line 247 "gram.y" + { + ; + } +#line 1734 "gram.c" + break; + + case 15: /* entry: DEFAULTS defaults_list '\n' */ +#line 250 "gram.y" + { + if (!add_defaults(DEFAULTS, NULL, (yyvsp[-1].defaults))) + YYERROR; + } +#line 1743 "gram.c" + break; + + case 16: /* entry: DEFAULTS_USER userlist defaults_list '\n' */ +#line 254 "gram.y" + { + if (!add_defaults(DEFAULTS_USER, (yyvsp[-2].member), (yyvsp[-1].defaults))) + YYERROR; + } +#line 1752 "gram.c" + break; + + case 17: /* entry: DEFAULTS_RUNAS userlist defaults_list '\n' */ +#line 258 "gram.y" + { + if (!add_defaults(DEFAULTS_RUNAS, (yyvsp[-2].member), (yyvsp[-1].defaults))) + YYERROR; + } +#line 1761 "gram.c" + break; + + case 18: /* entry: DEFAULTS_HOST hostlist defaults_list '\n' */ +#line 262 "gram.y" + { + if (!add_defaults(DEFAULTS_HOST, (yyvsp[-2].member), (yyvsp[-1].defaults))) + YYERROR; + } +#line 1770 "gram.c" + break; + + case 19: /* entry: DEFAULTS_CMND cmndlist defaults_list '\n' */ +#line 266 "gram.y" + { + if (!add_defaults(DEFAULTS_CMND, (yyvsp[-2].member), (yyvsp[-1].defaults))) + YYERROR; + } +#line 1779 "gram.c" + break; + + case 20: /* include: INCLUDE WORD '\n' */ +#line 272 "gram.y" + { + (yyval.string) = (yyvsp[-1].string); + } +#line 1787 "gram.c" + break; + + case 21: /* include: INCLUDE WORD error '\n' */ +#line 275 "gram.y" + { + yyerrok; + (yyval.string) = (yyvsp[-2].string); + } +#line 1796 "gram.c" + break; + + case 22: /* includedir: INCLUDEDIR WORD '\n' */ +#line 281 "gram.y" + { + (yyval.string) = (yyvsp[-1].string); + } +#line 1804 "gram.c" + break; + + case 23: /* includedir: INCLUDEDIR WORD error '\n' */ +#line 284 "gram.y" + { + yyerrok; + (yyval.string) = (yyvsp[-2].string); + } +#line 1813 "gram.c" + break; + + case 25: /* defaults_list: defaults_list ',' defaults_entry */ +#line 291 "gram.y" + { + parser_leak_remove(LEAK_DEFAULTS, (yyvsp[0].defaults)); + HLTQ_CONCAT((yyvsp[-2].defaults), (yyvsp[0].defaults), entries); + (yyval.defaults) = (yyvsp[-2].defaults); + } +#line 1823 "gram.c" + break; + + case 26: /* defaults_entry: DEFVAR */ +#line 298 "gram.y" + { + (yyval.defaults) = new_default((yyvsp[0].string), NULL, true); + if ((yyval.defaults) == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_remove(LEAK_PTR, (yyvsp[0].string)); + parser_leak_add(LEAK_DEFAULTS, (yyval.defaults)); + } +#line 1837 "gram.c" + break; + + case 27: /* defaults_entry: '!' DEFVAR */ +#line 307 "gram.y" + { + (yyval.defaults) = new_default((yyvsp[0].string), NULL, false); + if ((yyval.defaults) == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_remove(LEAK_PTR, (yyvsp[0].string)); + parser_leak_add(LEAK_DEFAULTS, (yyval.defaults)); + } +#line 1851 "gram.c" + break; + + case 28: /* defaults_entry: DEFVAR '=' WORD */ +#line 316 "gram.y" + { + (yyval.defaults) = new_default((yyvsp[-2].string), (yyvsp[0].string), true); + if ((yyval.defaults) == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_remove(LEAK_PTR, (yyvsp[-2].string)); + parser_leak_remove(LEAK_PTR, (yyvsp[0].string)); + parser_leak_add(LEAK_DEFAULTS, (yyval.defaults)); + } +#line 1866 "gram.c" + break; + + case 29: /* defaults_entry: DEFVAR '+' WORD */ +#line 326 "gram.y" + { + (yyval.defaults) = new_default((yyvsp[-2].string), (yyvsp[0].string), '+'); + if ((yyval.defaults) == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_remove(LEAK_PTR, (yyvsp[-2].string)); + parser_leak_remove(LEAK_PTR, (yyvsp[0].string)); + parser_leak_add(LEAK_DEFAULTS, (yyval.defaults)); + } +#line 1881 "gram.c" + break; + + case 30: /* defaults_entry: DEFVAR '-' WORD */ +#line 336 "gram.y" + { + (yyval.defaults) = new_default((yyvsp[-2].string), (yyvsp[0].string), '-'); + if ((yyval.defaults) == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_remove(LEAK_PTR, (yyvsp[-2].string)); + parser_leak_remove(LEAK_PTR, (yyvsp[0].string)); + parser_leak_add(LEAK_DEFAULTS, (yyval.defaults)); + } +#line 1896 "gram.c" + break; + + case 32: /* privileges: privileges ':' privilege */ +#line 349 "gram.y" + { + parser_leak_remove(LEAK_PRIVILEGE, (yyvsp[0].privilege)); + HLTQ_CONCAT((yyvsp[-2].privilege), (yyvsp[0].privilege), entries); + (yyval.privilege) = (yyvsp[-2].privilege); + } +#line 1906 "gram.c" + break; + + case 33: /* privileges: privileges ':' error */ +#line 354 "gram.y" + { + yyerrok; + (yyval.privilege) = (yyvsp[-2].privilege); + } +#line 1915 "gram.c" + break; + + case 34: /* privilege: hostlist '=' cmndspeclist */ +#line 360 "gram.y" + { + struct privilege *p = calloc(1, sizeof(*p)); + if (p == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_add(LEAK_PRIVILEGE, p); + TAILQ_INIT(&p->defaults); + parser_leak_remove(LEAK_MEMBER, (yyvsp[-2].member)); + HLTQ_TO_TAILQ(&p->hostlist, (yyvsp[-2].member), entries); + parser_leak_remove(LEAK_CMNDSPEC, (yyvsp[0].cmndspec)); + HLTQ_TO_TAILQ(&p->cmndlist, (yyvsp[0].cmndspec), entries); + HLTQ_INIT(p, entries); + (yyval.privilege) = p; + } +#line 1935 "gram.c" + break; + + case 35: /* ophost: host */ +#line 377 "gram.y" + { + (yyval.member) = (yyvsp[0].member); + (yyval.member)->negated = false; + } +#line 1944 "gram.c" + break; + + case 36: /* ophost: '!' host */ +#line 381 "gram.y" + { + (yyval.member) = (yyvsp[0].member); + (yyval.member)->negated = true; + } +#line 1953 "gram.c" + break; + + case 37: /* host: ALIAS */ +#line 387 "gram.y" + { + (yyval.member) = new_member((yyvsp[0].string), ALIAS); + if ((yyval.member) == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_remove(LEAK_PTR, (yyvsp[0].string)); + parser_leak_add(LEAK_MEMBER, (yyval.member)); + } +#line 1967 "gram.c" + break; + + case 38: /* host: ALL */ +#line 396 "gram.y" + { + (yyval.member) = new_member(NULL, ALL); + if ((yyval.member) == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_add(LEAK_MEMBER, (yyval.member)); + } +#line 1980 "gram.c" + break; + + case 39: /* host: NETGROUP */ +#line 404 "gram.y" + { + (yyval.member) = new_member((yyvsp[0].string), NETGROUP); + if ((yyval.member) == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_remove(LEAK_PTR, (yyvsp[0].string)); + parser_leak_add(LEAK_MEMBER, (yyval.member)); + } +#line 1994 "gram.c" + break; + + case 40: /* host: NTWKADDR */ +#line 413 "gram.y" + { + (yyval.member) = new_member((yyvsp[0].string), NTWKADDR); + if ((yyval.member) == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_remove(LEAK_PTR, (yyvsp[0].string)); + parser_leak_add(LEAK_MEMBER, (yyval.member)); + } +#line 2008 "gram.c" + break; + + case 41: /* host: WORD */ +#line 422 "gram.y" + { + (yyval.member) = new_member((yyvsp[0].string), WORD); + if ((yyval.member) == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_remove(LEAK_PTR, (yyvsp[0].string)); + parser_leak_add(LEAK_MEMBER, (yyval.member)); + } +#line 2022 "gram.c" + break; + + case 43: /* cmndspeclist: cmndspeclist ',' cmndspec */ +#line 434 "gram.y" + { + struct cmndspec *prev; + prev = HLTQ_LAST((yyvsp[-2].cmndspec), cmndspec, entries); + parser_leak_remove(LEAK_CMNDSPEC, (yyvsp[0].cmndspec)); + HLTQ_CONCAT((yyvsp[-2].cmndspec), (yyvsp[0].cmndspec), entries); + + /* propagate runcwd and runchroot */ + if ((yyvsp[0].cmndspec)->runcwd == NULL) + (yyvsp[0].cmndspec)->runcwd = prev->runcwd; + if ((yyvsp[0].cmndspec)->runchroot == NULL) + (yyvsp[0].cmndspec)->runchroot = prev->runchroot; +#ifdef HAVE_SELINUX + /* propagate role and type */ + if ((yyvsp[0].cmndspec)->role == NULL && (yyvsp[0].cmndspec)->type == NULL) { + (yyvsp[0].cmndspec)->role = prev->role; + (yyvsp[0].cmndspec)->type = prev->type; + } +#endif /* HAVE_SELINUX */ +#ifdef HAVE_PRIV_SET + /* propagate privs & limitprivs */ + if ((yyvsp[0].cmndspec)->privs == NULL && (yyvsp[0].cmndspec)->limitprivs == NULL) { + (yyvsp[0].cmndspec)->privs = prev->privs; + (yyvsp[0].cmndspec)->limitprivs = prev->limitprivs; + } +#endif /* HAVE_PRIV_SET */ + /* propagate command time restrictions */ + if ((yyvsp[0].cmndspec)->notbefore == UNSPEC) + (yyvsp[0].cmndspec)->notbefore = prev->notbefore; + if ((yyvsp[0].cmndspec)->notafter == UNSPEC) + (yyvsp[0].cmndspec)->notafter = prev->notafter; + /* propagate command timeout */ + if ((yyvsp[0].cmndspec)->timeout == UNSPEC) + (yyvsp[0].cmndspec)->timeout = prev->timeout; + /* propagate tags and runas list */ + if ((yyvsp[0].cmndspec)->tags.nopasswd == UNSPEC) + (yyvsp[0].cmndspec)->tags.nopasswd = prev->tags.nopasswd; + if ((yyvsp[0].cmndspec)->tags.noexec == UNSPEC) + (yyvsp[0].cmndspec)->tags.noexec = prev->tags.noexec; + if ((yyvsp[0].cmndspec)->tags.intercept == UNSPEC) + (yyvsp[0].cmndspec)->tags.intercept = prev->tags.intercept; + if ((yyvsp[0].cmndspec)->tags.setenv == UNSPEC && + prev->tags.setenv != IMPLIED) + (yyvsp[0].cmndspec)->tags.setenv = prev->tags.setenv; + if ((yyvsp[0].cmndspec)->tags.log_input == UNSPEC) + (yyvsp[0].cmndspec)->tags.log_input = prev->tags.log_input; + if ((yyvsp[0].cmndspec)->tags.log_output == UNSPEC) + (yyvsp[0].cmndspec)->tags.log_output = prev->tags.log_output; + if ((yyvsp[0].cmndspec)->tags.send_mail == UNSPEC) + (yyvsp[0].cmndspec)->tags.send_mail = prev->tags.send_mail; + if ((yyvsp[0].cmndspec)->tags.follow == UNSPEC) + (yyvsp[0].cmndspec)->tags.follow = prev->tags.follow; + if (((yyvsp[0].cmndspec)->runasuserlist == NULL && + (yyvsp[0].cmndspec)->runasgrouplist == NULL) && + (prev->runasuserlist != NULL || + prev->runasgrouplist != NULL)) { + (yyvsp[0].cmndspec)->runasuserlist = prev->runasuserlist; + (yyvsp[0].cmndspec)->runasgrouplist = prev->runasgrouplist; + } + (yyval.cmndspec) = (yyvsp[-2].cmndspec); + } +#line 2087 "gram.c" + break; + + case 44: /* cmndspec: runasspec options cmndtag digcmnd */ +#line 496 "gram.y" + { + struct cmndspec *cs = calloc(1, sizeof(*cs)); + if (cs == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_add(LEAK_CMNDSPEC, cs); + if ((yyvsp[-3].runas) != NULL) { + if ((yyvsp[-3].runas)->runasusers != NULL) { + cs->runasuserlist = + malloc(sizeof(*cs->runasuserlist)); + if (cs->runasuserlist == NULL) { + free(cs); + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + /* g/c done via runas container */ + HLTQ_TO_TAILQ(cs->runasuserlist, + (yyvsp[-3].runas)->runasusers, entries); + } + if ((yyvsp[-3].runas)->runasgroups != NULL) { + cs->runasgrouplist = + malloc(sizeof(*cs->runasgrouplist)); + if (cs->runasgrouplist == NULL) { + free(cs); + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + /* g/c done via runas container */ + HLTQ_TO_TAILQ(cs->runasgrouplist, + (yyvsp[-3].runas)->runasgroups, entries); + } + parser_leak_remove(LEAK_RUNAS, (yyvsp[-3].runas)); + free((yyvsp[-3].runas)); + } +#ifdef HAVE_SELINUX + cs->role = (yyvsp[-2].options).role; + parser_leak_remove(LEAK_PTR, (yyvsp[-2].options).role); + cs->type = (yyvsp[-2].options).type; + parser_leak_remove(LEAK_PTR, (yyvsp[-2].options).type); +#endif +#ifdef HAVE_APPARMOR + cs->apparmor_profile = (yyvsp[-2].options).apparmor_profile; + parser_leak_remove(LEAK_PTR, (yyvsp[-2].options).apparmor_profile); +#endif +#ifdef HAVE_PRIV_SET + cs->privs = (yyvsp[-2].options).privs; + parser_leak_remove(LEAK_PTR, (yyvsp[-2].options).privs); + cs->limitprivs = (yyvsp[-2].options).limitprivs; + parser_leak_remove(LEAK_PTR, (yyvsp[-2].options).limitprivs); +#endif + cs->notbefore = (yyvsp[-2].options).notbefore; + cs->notafter = (yyvsp[-2].options).notafter; + cs->timeout = (yyvsp[-2].options).timeout; + cs->runcwd = (yyvsp[-2].options).runcwd; + parser_leak_remove(LEAK_PTR, (yyvsp[-2].options).runcwd); + cs->runchroot = (yyvsp[-2].options).runchroot; + parser_leak_remove(LEAK_PTR, (yyvsp[-2].options).runchroot); + cs->tags = (yyvsp[-1].tag); + cs->cmnd = (yyvsp[0].member); + parser_leak_remove(LEAK_MEMBER, (yyvsp[0].member)); + HLTQ_INIT(cs, entries); + /* sudo "ALL" implies the SETENV tag */ + if (cs->cmnd->type == ALL && !cs->cmnd->negated && + cs->tags.setenv == UNSPEC) + cs->tags.setenv = IMPLIED; + (yyval.cmndspec) = cs; + } +#line 2160 "gram.c" + break; + + case 45: /* digestspec: SHA224_TOK ':' DIGEST */ +#line 566 "gram.y" + { + (yyval.digest) = new_digest(SUDO_DIGEST_SHA224, (yyvsp[0].string)); + if ((yyval.digest) == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_remove(LEAK_PTR, (yyvsp[0].string)); + parser_leak_add(LEAK_DIGEST, (yyval.digest)); + } +#line 2174 "gram.c" + break; + + case 46: /* digestspec: SHA256_TOK ':' DIGEST */ +#line 575 "gram.y" + { + (yyval.digest) = new_digest(SUDO_DIGEST_SHA256, (yyvsp[0].string)); + if ((yyval.digest) == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_remove(LEAK_PTR, (yyvsp[0].string)); + parser_leak_add(LEAK_DIGEST, (yyval.digest)); + } +#line 2188 "gram.c" + break; + + case 47: /* digestspec: SHA384_TOK ':' DIGEST */ +#line 584 "gram.y" + { + (yyval.digest) = new_digest(SUDO_DIGEST_SHA384, (yyvsp[0].string)); + if ((yyval.digest) == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_remove(LEAK_PTR, (yyvsp[0].string)); + parser_leak_add(LEAK_DIGEST, (yyval.digest)); + } +#line 2202 "gram.c" + break; + + case 48: /* digestspec: SHA512_TOK ':' DIGEST */ +#line 593 "gram.y" + { + (yyval.digest) = new_digest(SUDO_DIGEST_SHA512, (yyvsp[0].string)); + if ((yyval.digest) == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_remove(LEAK_PTR, (yyvsp[0].string)); + parser_leak_add(LEAK_DIGEST, (yyval.digest)); + } +#line 2216 "gram.c" + break; + + case 50: /* digestlist: digestlist ',' digestspec */ +#line 605 "gram.y" + { + parser_leak_remove(LEAK_DIGEST, (yyvsp[0].digest)); + HLTQ_CONCAT((yyvsp[-2].digest), (yyvsp[0].digest), entries); + (yyval.digest) = (yyvsp[-2].digest); + } +#line 2226 "gram.c" + break; + + case 51: /* digcmnd: opcmnd */ +#line 612 "gram.y" + { + (yyval.member) = (yyvsp[0].member); + } +#line 2234 "gram.c" + break; + + case 52: /* digcmnd: digestlist opcmnd */ +#line 615 "gram.y" + { + struct sudo_command *c = + (struct sudo_command *) (yyvsp[0].member)->name; + + if ((yyvsp[0].member)->type != COMMAND && (yyvsp[0].member)->type != ALL) { + sudoerserror(N_("a digest requires a path name")); + YYERROR; + } + parser_leak_remove(LEAK_DIGEST, (yyvsp[-1].digest)); + HLTQ_TO_TAILQ(&c->digests, (yyvsp[-1].digest), entries); + (yyval.member) = (yyvsp[0].member); + } +#line 2251 "gram.c" + break; + + case 53: /* opcmnd: cmnd */ +#line 629 "gram.y" + { + (yyval.member) = (yyvsp[0].member); + (yyval.member)->negated = false; + } +#line 2260 "gram.c" + break; + + case 54: /* opcmnd: '!' cmnd */ +#line 633 "gram.y" + { + (yyval.member) = (yyvsp[0].member); + (yyval.member)->negated = true; + } +#line 2269 "gram.c" + break; + + case 55: /* chdirspec: CWD '=' WORD */ +#line 639 "gram.y" + { + if ((yyvsp[0].string)[0] != '/' && (yyvsp[0].string)[0] != '~') { + if (strcmp((yyvsp[0].string), "*") != 0) { + sudoerserror(N_("values for \"CWD\" must" + " start with a '/', '~', or '*'")); + YYERROR; + } + } + if (strlen((yyvsp[0].string)) >= PATH_MAX) { + sudoerserror(N_("\"CWD\" path too long")); + YYERROR; + } + (yyval.string) = (yyvsp[0].string); + } +#line 2288 "gram.c" + break; + + case 56: /* chrootspec: CHROOT '=' WORD */ +#line 655 "gram.y" + { + if ((yyvsp[0].string)[0] != '/' && (yyvsp[0].string)[0] != '~') { + if (strcmp((yyvsp[0].string), "*") != 0) { + sudoerserror(N_("values for \"CHROOT\" must" + " start with a '/', '~', or '*'")); + YYERROR; + } + } + if (strlen((yyvsp[0].string)) >= PATH_MAX) { + sudoerserror(N_("\"CHROOT\" path too long")); + YYERROR; + } + (yyval.string) = (yyvsp[0].string); + } +#line 2307 "gram.c" + break; + + case 57: /* timeoutspec: CMND_TIMEOUT '=' WORD */ +#line 671 "gram.y" + { + (yyval.string) = (yyvsp[0].string); + } +#line 2315 "gram.c" + break; + + case 58: /* notbeforespec: NOTBEFORE '=' WORD */ +#line 676 "gram.y" + { + (yyval.string) = (yyvsp[0].string); + } +#line 2323 "gram.c" + break; + + case 59: /* notafterspec: NOTAFTER '=' WORD */ +#line 680 "gram.y" + { + (yyval.string) = (yyvsp[0].string); + } +#line 2331 "gram.c" + break; + + case 60: /* rolespec: ROLE '=' WORD */ +#line 685 "gram.y" + { + (yyval.string) = (yyvsp[0].string); + } +#line 2339 "gram.c" + break; + + case 61: /* typespec: TYPE '=' WORD */ +#line 690 "gram.y" + { + (yyval.string) = (yyvsp[0].string); + } +#line 2347 "gram.c" + break; + + case 62: /* apparmor_profilespec: APPARMOR_PROFILE '=' WORD */ +#line 695 "gram.y" + { + (yyval.string) = (yyvsp[0].string); + } +#line 2355 "gram.c" + break; + + case 63: /* privsspec: PRIVS '=' WORD */ +#line 700 "gram.y" + { + (yyval.string) = (yyvsp[0].string); + } +#line 2363 "gram.c" + break; + + case 64: /* limitprivsspec: LIMITPRIVS '=' WORD */ +#line 704 "gram.y" + { + (yyval.string) = (yyvsp[0].string); + } +#line 2371 "gram.c" + break; + + case 65: /* runasspec: %empty */ +#line 709 "gram.y" + { + (yyval.runas) = NULL; + } +#line 2379 "gram.c" + break; + + case 66: /* runasspec: '(' runaslist ')' */ +#line 712 "gram.y" + { + (yyval.runas) = (yyvsp[-1].runas); + } +#line 2387 "gram.c" + break; + + case 67: /* runaslist: %empty */ +#line 717 "gram.y" + { + (yyval.runas) = calloc(1, sizeof(struct runascontainer)); + if ((yyval.runas) != NULL) { + (yyval.runas)->runasusers = new_member(NULL, MYSELF); + /* $$->runasgroups = NULL; */ + if ((yyval.runas)->runasusers == NULL) { + free((yyval.runas)); + (yyval.runas) = NULL; + } + } + if ((yyval.runas) == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_add(LEAK_RUNAS, (yyval.runas)); + } +#line 2408 "gram.c" + break; + + case 68: /* runaslist: userlist */ +#line 733 "gram.y" + { + (yyval.runas) = calloc(1, sizeof(struct runascontainer)); + if ((yyval.runas) == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_add(LEAK_RUNAS, (yyval.runas)); + parser_leak_remove(LEAK_MEMBER, (yyvsp[0].member)); + (yyval.runas)->runasusers = (yyvsp[0].member); + /* $$->runasgroups = NULL; */ + } +#line 2424 "gram.c" + break; + + case 69: /* runaslist: userlist ':' grouplist */ +#line 744 "gram.y" + { + (yyval.runas) = calloc(1, sizeof(struct runascontainer)); + if ((yyval.runas) == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_add(LEAK_RUNAS, (yyval.runas)); + parser_leak_remove(LEAK_MEMBER, (yyvsp[-2].member)); + parser_leak_remove(LEAK_MEMBER, (yyvsp[0].member)); + (yyval.runas)->runasusers = (yyvsp[-2].member); + (yyval.runas)->runasgroups = (yyvsp[0].member); + } +#line 2441 "gram.c" + break; + + case 70: /* runaslist: ':' grouplist */ +#line 756 "gram.y" + { + (yyval.runas) = calloc(1, sizeof(struct runascontainer)); + if ((yyval.runas) == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_add(LEAK_RUNAS, (yyval.runas)); + parser_leak_remove(LEAK_MEMBER, (yyvsp[0].member)); + /* $$->runasusers = NULL; */ + (yyval.runas)->runasgroups = (yyvsp[0].member); + } +#line 2457 "gram.c" + break; + + case 71: /* runaslist: ':' */ +#line 767 "gram.y" + { + (yyval.runas) = calloc(1, sizeof(struct runascontainer)); + if ((yyval.runas) != NULL) { + (yyval.runas)->runasusers = new_member(NULL, MYSELF); + /* $$->runasgroups = NULL; */ + if ((yyval.runas)->runasusers == NULL) { + free((yyval.runas)); + (yyval.runas) = NULL; + } + } + if ((yyval.runas) == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_add(LEAK_RUNAS, (yyval.runas)); + } +#line 2478 "gram.c" + break; + + case 72: /* reserved_word: ALL */ +#line 785 "gram.y" + { (yyval.cstring) = "ALL"; } +#line 2484 "gram.c" + break; + + case 73: /* reserved_word: CHROOT */ +#line 786 "gram.y" + { (yyval.cstring) = "CHROOT"; } +#line 2490 "gram.c" + break; + + case 74: /* reserved_word: CWD */ +#line 787 "gram.y" + { (yyval.cstring) = "CWD"; } +#line 2496 "gram.c" + break; + + case 75: /* reserved_word: CMND_TIMEOUT */ +#line 788 "gram.y" + { (yyval.cstring) = "CMND_TIMEOUT"; } +#line 2502 "gram.c" + break; + + case 76: /* reserved_word: NOTBEFORE */ +#line 789 "gram.y" + { (yyval.cstring) = "NOTBEFORE"; } +#line 2508 "gram.c" + break; + + case 77: /* reserved_word: NOTAFTER */ +#line 790 "gram.y" + { (yyval.cstring) = "NOTAFTER"; } +#line 2514 "gram.c" + break; + + case 78: /* reserved_word: ROLE */ +#line 791 "gram.y" + { (yyval.cstring) = "ROLE"; } +#line 2520 "gram.c" + break; + + case 79: /* reserved_word: TYPE */ +#line 792 "gram.y" + { (yyval.cstring) = "TYPE"; } +#line 2526 "gram.c" + break; + + case 80: /* reserved_word: PRIVS */ +#line 793 "gram.y" + { (yyval.cstring) = "PRIVS"; } +#line 2532 "gram.c" + break; + + case 81: /* reserved_word: LIMITPRIVS */ +#line 794 "gram.y" + { (yyval.cstring) = "LIMITPRIVS"; } +#line 2538 "gram.c" + break; + + case 82: /* reserved_word: APPARMOR_PROFILE */ +#line 795 "gram.y" + { (yyval.cstring) = "APPARMOR_PROFILE"; } +#line 2544 "gram.c" + break; + + case 83: /* reserved_alias: reserved_word */ +#line 798 "gram.y" + { + sudoerserrorf(U_("syntax error, reserved word %s used as an alias name"), (yyvsp[0].cstring)); + YYERROR; + } +#line 2553 "gram.c" + break; + + case 84: /* options: %empty */ +#line 804 "gram.y" + { + init_options(&(yyval.options)); + } +#line 2561 "gram.c" + break; + + case 85: /* options: options chdirspec */ +#line 807 "gram.y" + { + parser_leak_remove(LEAK_PTR, (yyval.options).runcwd); + free((yyval.options).runcwd); + (yyval.options).runcwd = (yyvsp[0].string); + } +#line 2571 "gram.c" + break; + + case 86: /* options: options chrootspec */ +#line 812 "gram.y" + { + parser_leak_remove(LEAK_PTR, (yyval.options).runchroot); + free((yyval.options).runchroot); + (yyval.options).runchroot = (yyvsp[0].string); + } +#line 2581 "gram.c" + break; + + case 87: /* options: options notbeforespec */ +#line 817 "gram.y" + { + (yyval.options).notbefore = parse_gentime((yyvsp[0].string)); + parser_leak_remove(LEAK_PTR, (yyvsp[0].string)); + free((yyvsp[0].string)); + if ((yyval.options).notbefore == -1) { + sudoerserror(N_("invalid notbefore value")); + YYERROR; + } + } +#line 2595 "gram.c" + break; + + case 88: /* options: options notafterspec */ +#line 826 "gram.y" + { + (yyval.options).notafter = parse_gentime((yyvsp[0].string)); + parser_leak_remove(LEAK_PTR, (yyvsp[0].string)); + free((yyvsp[0].string)); + if ((yyval.options).notafter == -1) { + sudoerserror(N_("invalid notafter value")); + YYERROR; + } + } +#line 2609 "gram.c" + break; + + case 89: /* options: options timeoutspec */ +#line 835 "gram.y" + { + (yyval.options).timeout = parse_timeout((yyvsp[0].string)); + parser_leak_remove(LEAK_PTR, (yyvsp[0].string)); + free((yyvsp[0].string)); + if ((yyval.options).timeout == -1) { + if (errno == ERANGE) + sudoerserror(N_("timeout value too large")); + else + sudoerserror(N_("invalid timeout value")); + YYERROR; + } + } +#line 2626 "gram.c" + break; + + case 90: /* options: options rolespec */ +#line 847 "gram.y" + { +#ifdef HAVE_SELINUX + parser_leak_remove(LEAK_PTR, (yyval.options).role); + free((yyval.options).role); + (yyval.options).role = (yyvsp[0].string); +#endif + } +#line 2638 "gram.c" + break; + + case 91: /* options: options typespec */ +#line 854 "gram.y" + { +#ifdef HAVE_SELINUX + parser_leak_remove(LEAK_PTR, (yyval.options).type); + free((yyval.options).type); + (yyval.options).type = (yyvsp[0].string); +#endif + } +#line 2650 "gram.c" + break; + + case 92: /* options: options apparmor_profilespec */ +#line 861 "gram.y" + { +#ifdef HAVE_APPARMOR + parser_leak_remove(LEAK_PTR, (yyval.options).apparmor_profile); + free((yyval.options).apparmor_profile); + (yyval.options).apparmor_profile = (yyvsp[0].string); +#endif + } +#line 2662 "gram.c" + break; + + case 93: /* options: options privsspec */ +#line 868 "gram.y" + { +#ifdef HAVE_PRIV_SET + parser_leak_remove(LEAK_PTR, (yyval.options).privs); + free((yyval.options).privs); + (yyval.options).privs = (yyvsp[0].string); +#endif + } +#line 2674 "gram.c" + break; + + case 94: /* options: options limitprivsspec */ +#line 875 "gram.y" + { +#ifdef HAVE_PRIV_SET + parser_leak_remove(LEAK_PTR, (yyval.options).limitprivs); + free((yyval.options).limitprivs); + (yyval.options).limitprivs = (yyvsp[0].string); +#endif + } +#line 2686 "gram.c" + break; + + case 95: /* cmndtag: %empty */ +#line 884 "gram.y" + { + TAGS_INIT(&(yyval.tag)); + } +#line 2694 "gram.c" + break; + + case 96: /* cmndtag: cmndtag NOPASSWD */ +#line 887 "gram.y" + { + (yyval.tag).nopasswd = true; + } +#line 2702 "gram.c" + break; + + case 97: /* cmndtag: cmndtag PASSWD */ +#line 890 "gram.y" + { + (yyval.tag).nopasswd = false; + } +#line 2710 "gram.c" + break; + + case 98: /* cmndtag: cmndtag NOEXEC */ +#line 893 "gram.y" + { + (yyval.tag).noexec = true; + } +#line 2718 "gram.c" + break; + + case 99: /* cmndtag: cmndtag EXEC */ +#line 896 "gram.y" + { + (yyval.tag).noexec = false; + } +#line 2726 "gram.c" + break; + + case 100: /* cmndtag: cmndtag INTERCEPT */ +#line 899 "gram.y" + { + (yyval.tag).intercept = true; + } +#line 2734 "gram.c" + break; + + case 101: /* cmndtag: cmndtag NOINTERCEPT */ +#line 902 "gram.y" + { + (yyval.tag).intercept = false; + } +#line 2742 "gram.c" + break; + + case 102: /* cmndtag: cmndtag SETENV */ +#line 905 "gram.y" + { + (yyval.tag).setenv = true; + } +#line 2750 "gram.c" + break; + + case 103: /* cmndtag: cmndtag NOSETENV */ +#line 908 "gram.y" + { + (yyval.tag).setenv = false; + } +#line 2758 "gram.c" + break; + + case 104: /* cmndtag: cmndtag LOG_INPUT */ +#line 911 "gram.y" + { + (yyval.tag).log_input = true; + } +#line 2766 "gram.c" + break; + + case 105: /* cmndtag: cmndtag NOLOG_INPUT */ +#line 914 "gram.y" + { + (yyval.tag).log_input = false; + } +#line 2774 "gram.c" + break; + + case 106: /* cmndtag: cmndtag LOG_OUTPUT */ +#line 917 "gram.y" + { + (yyval.tag).log_output = true; + } +#line 2782 "gram.c" + break; + + case 107: /* cmndtag: cmndtag NOLOG_OUTPUT */ +#line 920 "gram.y" + { + (yyval.tag).log_output = false; + } +#line 2790 "gram.c" + break; + + case 108: /* cmndtag: cmndtag FOLLOWLNK */ +#line 923 "gram.y" + { + (yyval.tag).follow = true; + } +#line 2798 "gram.c" + break; + + case 109: /* cmndtag: cmndtag NOFOLLOWLNK */ +#line 926 "gram.y" + { + (yyval.tag).follow = false; + } +#line 2806 "gram.c" + break; + + case 110: /* cmndtag: cmndtag MAIL */ +#line 929 "gram.y" + { + (yyval.tag).send_mail = true; + } +#line 2814 "gram.c" + break; + + case 111: /* cmndtag: cmndtag NOMAIL */ +#line 932 "gram.y" + { + (yyval.tag).send_mail = false; + } +#line 2822 "gram.c" + break; + + case 112: /* cmnd: ALL */ +#line 937 "gram.y" + { + struct sudo_command *c; + + if ((c = new_command(NULL, NULL)) == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + (yyval.member) = new_member((char *)c, ALL); + if ((yyval.member) == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_add(LEAK_MEMBER, (yyval.member)); + } +#line 2841 "gram.c" + break; + + case 113: /* cmnd: ALIAS */ +#line 951 "gram.y" + { + (yyval.member) = new_member((yyvsp[0].string), ALIAS); + if ((yyval.member) == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_remove(LEAK_PTR, (yyvsp[0].string)); + parser_leak_add(LEAK_MEMBER, (yyval.member)); + } +#line 2855 "gram.c" + break; + + case 114: /* cmnd: COMMAND */ +#line 960 "gram.y" + { + struct sudo_command *c; + + if (strlen((yyvsp[0].command).cmnd) >= PATH_MAX) { + sudoerserror(N_("command too long")); + YYERROR; + } + if ((c = new_command((yyvsp[0].command).cmnd, (yyvsp[0].command).args)) == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + (yyval.member) = new_member((char *)c, COMMAND); + if ((yyval.member) == NULL) { + free(c); + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_remove(LEAK_PTR, (yyvsp[0].command).cmnd); + parser_leak_remove(LEAK_PTR, (yyvsp[0].command).args); + parser_leak_add(LEAK_MEMBER, (yyval.member)); + } +#line 2881 "gram.c" + break; + + case 115: /* cmnd: WORD */ +#line 981 "gram.y" + { + if (strcmp((yyvsp[0].string), "list") == 0) { + struct sudo_command *c; + + if ((c = new_command((yyvsp[0].string), NULL)) == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + (yyval.member) = new_member((char *)c, COMMAND); + if ((yyval.member) == NULL) { + free(c); + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_remove(LEAK_PTR, (yyvsp[0].string)); + parser_leak_add(LEAK_MEMBER, (yyval.member)); + } else { + sudoerserror(N_("expected a fully-qualified path name")); + YYERROR; + } + } +#line 2907 "gram.c" + break; + + case 118: /* $@1: %empty */ +#line 1008 "gram.y" + { + alias_line = this_lineno; + alias_column = sudolinebuf.toke_start + 1; + } +#line 2916 "gram.c" + break; + + case 119: /* hostalias: ALIAS $@1 '=' hostlist */ +#line 1011 "gram.y" + { + if (!alias_add(&parsed_policy, (yyvsp[-3].string), HOSTALIAS, + sudoers, alias_line, alias_column, (yyvsp[0].member))) { + alias_error((yyvsp[-3].string), errno); + YYERROR; + } + parser_leak_remove(LEAK_PTR, (yyvsp[-3].string)); + parser_leak_remove(LEAK_MEMBER, (yyvsp[0].member)); + } +#line 2930 "gram.c" + break; + + case 122: /* hostlist: hostlist ',' ophost */ +#line 1024 "gram.y" + { + parser_leak_remove(LEAK_MEMBER, (yyvsp[0].member)); + HLTQ_CONCAT((yyvsp[-2].member), (yyvsp[0].member), entries); + (yyval.member) = (yyvsp[-2].member); + } +#line 2940 "gram.c" + break; + + case 125: /* $@2: %empty */ +#line 1035 "gram.y" + { + alias_line = this_lineno; + alias_column = sudolinebuf.toke_start + 1; + } +#line 2949 "gram.c" + break; + + case 126: /* cmndalias: ALIAS $@2 '=' cmndlist */ +#line 1038 "gram.y" + { + if (!alias_add(&parsed_policy, (yyvsp[-3].string), CMNDALIAS, + sudoers, alias_line, alias_column, (yyvsp[0].member))) { + alias_error((yyvsp[-3].string), errno); + YYERROR; + } + parser_leak_remove(LEAK_PTR, (yyvsp[-3].string)); + parser_leak_remove(LEAK_MEMBER, (yyvsp[0].member)); + } +#line 2963 "gram.c" + break; + + case 129: /* cmndlist: cmndlist ',' digcmnd */ +#line 1051 "gram.y" + { + parser_leak_remove(LEAK_MEMBER, (yyvsp[0].member)); + HLTQ_CONCAT((yyvsp[-2].member), (yyvsp[0].member), entries); + (yyval.member) = (yyvsp[-2].member); + } +#line 2973 "gram.c" + break; + + case 132: /* $@3: %empty */ +#line 1062 "gram.y" + { + alias_line = this_lineno; + alias_column = sudolinebuf.toke_start + 1; + } +#line 2982 "gram.c" + break; + + case 133: /* runasalias: ALIAS $@3 '=' userlist */ +#line 1065 "gram.y" + { + if (!alias_add(&parsed_policy, (yyvsp[-3].string), RUNASALIAS, + sudoers, alias_line, alias_column, (yyvsp[0].member))) { + alias_error((yyvsp[-3].string), errno); + YYERROR; + } + parser_leak_remove(LEAK_PTR, (yyvsp[-3].string)); + parser_leak_remove(LEAK_MEMBER, (yyvsp[0].member)); + } +#line 2996 "gram.c" + break; + + case 137: /* $@4: %empty */ +#line 1081 "gram.y" + { + alias_line = this_lineno; + alias_column = sudolinebuf.toke_start + 1; + } +#line 3005 "gram.c" + break; + + case 138: /* useralias: ALIAS $@4 '=' userlist */ +#line 1084 "gram.y" + { + if (!alias_add(&parsed_policy, (yyvsp[-3].string), USERALIAS, + sudoers, alias_line, alias_column, (yyvsp[0].member))) { + alias_error((yyvsp[-3].string), errno); + YYERROR; + } + parser_leak_remove(LEAK_PTR, (yyvsp[-3].string)); + parser_leak_remove(LEAK_MEMBER, (yyvsp[0].member)); + } +#line 3019 "gram.c" + break; + + case 141: /* userlist: userlist ',' opuser */ +#line 1097 "gram.y" + { + parser_leak_remove(LEAK_MEMBER, (yyvsp[0].member)); + HLTQ_CONCAT((yyvsp[-2].member), (yyvsp[0].member), entries); + (yyval.member) = (yyvsp[-2].member); + } +#line 3029 "gram.c" + break; + + case 142: /* opuser: user */ +#line 1104 "gram.y" + { + (yyval.member) = (yyvsp[0].member); + (yyval.member)->negated = false; + } +#line 3038 "gram.c" + break; + + case 143: /* opuser: '!' user */ +#line 1108 "gram.y" + { + (yyval.member) = (yyvsp[0].member); + (yyval.member)->negated = true; + } +#line 3047 "gram.c" + break; + + case 144: /* user: ALIAS */ +#line 1114 "gram.y" + { + (yyval.member) = new_member((yyvsp[0].string), ALIAS); + if ((yyval.member) == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_remove(LEAK_PTR, (yyvsp[0].string)); + parser_leak_add(LEAK_MEMBER, (yyval.member)); + } +#line 3061 "gram.c" + break; + + case 145: /* user: ALL */ +#line 1123 "gram.y" + { + (yyval.member) = new_member(NULL, ALL); + if ((yyval.member) == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_add(LEAK_MEMBER, (yyval.member)); + } +#line 3074 "gram.c" + break; + + case 146: /* user: NETGROUP */ +#line 1131 "gram.y" + { + (yyval.member) = new_member((yyvsp[0].string), NETGROUP); + if ((yyval.member) == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_remove(LEAK_PTR, (yyvsp[0].string)); + parser_leak_add(LEAK_MEMBER, (yyval.member)); + } +#line 3088 "gram.c" + break; + + case 147: /* user: USERGROUP */ +#line 1140 "gram.y" + { + (yyval.member) = new_member((yyvsp[0].string), USERGROUP); + if ((yyval.member) == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_remove(LEAK_PTR, (yyvsp[0].string)); + parser_leak_add(LEAK_MEMBER, (yyval.member)); + } +#line 3102 "gram.c" + break; + + case 148: /* user: WORD */ +#line 1149 "gram.y" + { + (yyval.member) = new_member((yyvsp[0].string), WORD); + if ((yyval.member) == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_remove(LEAK_PTR, (yyvsp[0].string)); + parser_leak_add(LEAK_MEMBER, (yyval.member)); + } +#line 3116 "gram.c" + break; + + case 150: /* grouplist: grouplist ',' opgroup */ +#line 1161 "gram.y" + { + parser_leak_remove(LEAK_MEMBER, (yyvsp[0].member)); + HLTQ_CONCAT((yyvsp[-2].member), (yyvsp[0].member), entries); + (yyval.member) = (yyvsp[-2].member); + } +#line 3126 "gram.c" + break; + + case 151: /* opgroup: group */ +#line 1168 "gram.y" + { + (yyval.member) = (yyvsp[0].member); + (yyval.member)->negated = false; + } +#line 3135 "gram.c" + break; + + case 152: /* opgroup: '!' group */ +#line 1172 "gram.y" + { + (yyval.member) = (yyvsp[0].member); + (yyval.member)->negated = true; + } +#line 3144 "gram.c" + break; + + case 153: /* group: ALIAS */ +#line 1178 "gram.y" + { + (yyval.member) = new_member((yyvsp[0].string), ALIAS); + if ((yyval.member) == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_remove(LEAK_PTR, (yyvsp[0].string)); + parser_leak_add(LEAK_MEMBER, (yyval.member)); + } +#line 3158 "gram.c" + break; + + case 154: /* group: ALL */ +#line 1187 "gram.y" + { + (yyval.member) = new_member(NULL, ALL); + if ((yyval.member) == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_add(LEAK_MEMBER, (yyval.member)); + } +#line 3171 "gram.c" + break; + + case 155: /* group: WORD */ +#line 1195 "gram.y" + { + (yyval.member) = new_member((yyvsp[0].string), WORD); + if ((yyval.member) == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_remove(LEAK_PTR, (yyvsp[0].string)); + parser_leak_add(LEAK_MEMBER, (yyval.member)); + } +#line 3185 "gram.c" + break; + + +#line 3189 "gram.c" + + default: break; + } + /* User semantic actions sometimes alter yychar, and that requires + that yytoken be updated with the new translation. We take the + approach of translating immediately before every use of yytoken. + One alternative is translating here after every semantic action, + but that translation would be missed if the semantic action invokes + YYABORT, YYACCEPT, or YYERROR immediately after altering yychar or + if it invokes YYBACKUP. In the case of YYABORT or YYACCEPT, an + incorrect destructor might then be invoked immediately. In the + case of YYERROR or YYBACKUP, subsequent parser actions might lead + to an incorrect destructor call or verbose syntax error message + before the lookahead is translated. */ + YY_SYMBOL_PRINT ("-> $$ =", YY_CAST (yysymbol_kind_t, yyr1[yyn]), &yyval, &yyloc); + + YYPOPSTACK (yylen); + yylen = 0; + + *++yyvsp = yyval; + + /* Now 'shift' the result of the reduction. Determine what state + that goes to, based on the state we popped back to and the rule + number reduced by. */ + { + const int yylhs = yyr1[yyn] - YYNTOKENS; + const int yyi = yypgoto[yylhs] + *yyssp; + yystate = (0 <= yyi && yyi <= YYLAST && yycheck[yyi] == *yyssp + ? yytable[yyi] + : yydefgoto[yylhs]); + } + + goto yynewstate; + + +/*--------------------------------------. +| yyerrlab -- here on detecting error. | +`--------------------------------------*/ +yyerrlab: + /* Make sure we have latest lookahead translation. See comments at + user semantic actions for why this is necessary. */ + yytoken = yychar == YYEMPTY ? YYSYMBOL_YYEMPTY : YYTRANSLATE (yychar); + /* If not already recovering from an error, report this error. */ + if (!yyerrstatus) + { + ++yynerrs; + yyerror (YY_("syntax error")); + } + + if (yyerrstatus == 3) + { + /* If just tried and failed to reuse lookahead token after an + error, discard it. */ + + if (yychar <= YYEOF) + { + /* Return failure if at end of input. */ + if (yychar == YYEOF) + YYABORT; + } + else + { + yydestruct ("Error: discarding", + yytoken, &yylval); + yychar = YYEMPTY; + } + } + + /* Else will try to reuse lookahead token after shifting the error + token. */ + goto yyerrlab1; + + +/*---------------------------------------------------. +| yyerrorlab -- error raised explicitly by YYERROR. | +`---------------------------------------------------*/ +yyerrorlab: + /* Pacify compilers when the user code never invokes YYERROR and the + label yyerrorlab therefore never appears in user code. */ + if (0) + YYERROR; + ++yynerrs; + + /* Do not reclaim the symbols of the rule whose action triggered + this YYERROR. */ + YYPOPSTACK (yylen); + yylen = 0; + YY_STACK_PRINT (yyss, yyssp); + yystate = *yyssp; + goto yyerrlab1; + + +/*-------------------------------------------------------------. +| yyerrlab1 -- common code for both syntax error and YYERROR. | +`-------------------------------------------------------------*/ +yyerrlab1: + yyerrstatus = 3; /* Each real token shifted decrements this. */ + + /* Pop stack until we find a state that shifts the error token. */ + for (;;) + { + yyn = yypact[yystate]; + if (!yypact_value_is_default (yyn)) + { + yyn += YYSYMBOL_YYerror; + if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) + { + yyn = yytable[yyn]; + if (0 < yyn) + break; + } + } + + /* Pop the current state because it cannot handle the error token. */ + if (yyssp == yyss) + YYABORT; + + + yydestruct ("Error: popping", + YY_ACCESSING_SYMBOL (yystate), yyvsp); + YYPOPSTACK (1); + yystate = *yyssp; + YY_STACK_PRINT (yyss, yyssp); + } + + YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN + *++yyvsp = yylval; + YY_IGNORE_MAYBE_UNINITIALIZED_END + + + /* Shift the error token. */ + YY_SYMBOL_PRINT ("Shifting", YY_ACCESSING_SYMBOL (yyn), yyvsp, yylsp); + + yystate = yyn; + goto yynewstate; + + +/*-------------------------------------. +| yyacceptlab -- YYACCEPT comes here. | +`-------------------------------------*/ +yyacceptlab: + yyresult = 0; + goto yyreturnlab; + + +/*-----------------------------------. +| yyabortlab -- YYABORT comes here. | +`-----------------------------------*/ +yyabortlab: + yyresult = 1; + goto yyreturnlab; + + +/*-----------------------------------------------------------. +| yyexhaustedlab -- YYNOMEM (memory exhaustion) comes here. | +`-----------------------------------------------------------*/ +yyexhaustedlab: + yyerror (YY_("memory exhausted")); + yyresult = 2; + goto yyreturnlab; + + +/*----------------------------------------------------------. +| yyreturnlab -- parsing is finished, clean up and return. | +`----------------------------------------------------------*/ +yyreturnlab: + if (yychar != YYEMPTY) + { + /* Make sure we have latest lookahead translation. See comments at + user semantic actions for why this is necessary. */ + yytoken = YYTRANSLATE (yychar); + yydestruct ("Cleanup: discarding lookahead", + yytoken, &yylval); + } + /* Do not reclaim the symbols of the rule whose action triggered + this YYABORT or YYACCEPT. */ + YYPOPSTACK (yylen); + YY_STACK_PRINT (yyss, yyssp); + while (yyssp != yyss) + { + yydestruct ("Cleanup: popping", + YY_ACCESSING_SYMBOL (+*yyssp), yyvsp); + YYPOPSTACK (1); + } +#ifndef yyoverflow + if (yyss != yyssa) + YYSTACK_FREE (yyss); +#endif + + return yyresult; +} + +#line 1205 "gram.y" + +/* Like yyerror() but takes a printf-style format string. */ +void +sudoerserrorf(const char *fmt, ...) +{ + const int column = sudolinebuf.toke_start + 1; + va_list ap; + debug_decl(sudoerserrorf, SUDOERS_DEBUG_PARSER); + + if (sudoers_error_hook != NULL) { + va_start(ap, fmt); + sudoers_error_hook(sudoers, this_lineno, column, fmt, ap); + va_end(ap); + } + if (sudoers_warnings && fmt != NULL) { + LEXTRACE("<*> "); +#ifndef TRACELEXER + if (trace_print == NULL || trace_print == sudoers_trace_print) { + char *tofree = NULL; + const char *s; + int oldlocale; + + /* Warnings are displayed in the user's locale. */ + sudoers_setlocale(SUDOERS_LOCALE_USER, &oldlocale); + + va_start(ap, fmt); + if (strcmp(fmt, "%s") == 0) { + /* Optimize common case, a single string. */ + s = _(va_arg(ap, char *)); + } else { + if (vasprintf(&tofree, _(fmt), ap) != -1) { + s = tofree; + } else { + s = _("syntax error"); + tofree = NULL; + } + } + sudo_printf(SUDO_CONV_ERROR_MSG, _("%s:%d:%d: %s\n"), sudoers, + this_lineno, (int)sudolinebuf.toke_start + 1, s); + free(tofree); + va_end(ap); + sudoers_setlocale(oldlocale, NULL); + + /* Display the offending line and token if possible. */ + if (sudolinebuf.len != 0) { + char tildes[128]; + size_t tlen = 0; + + sudo_printf(SUDO_CONV_ERROR_MSG, "%s%s", sudolinebuf.buf, + sudolinebuf.buf[sudolinebuf.len - 1] == '\n' ? "" : "\n"); + if (sudolinebuf.toke_end > sudolinebuf.toke_start) { + tlen = sudolinebuf.toke_end - sudolinebuf.toke_start - 1; + if (tlen >= sizeof(tildes)) + tlen = sizeof(tildes) - 1; + memset(tildes, '~', tlen); + } + tildes[tlen] = '\0'; + sudo_printf(SUDO_CONV_ERROR_MSG, "%*s^%s\n", + (int)sudolinebuf.toke_start, "", tildes); + } + } +#endif + } + parse_error = true; + debug_return; +} + +void +sudoerserror(const char *s) +{ + if (sudoerschar == ERROR) { + /* Use error string from lexer. */ + s = sudoers_errstr; + sudoers_errstr = NULL; + } + +#pragma pvs(push) +#pragma pvs(disable: 575, 618) + + if (s == NULL) + sudoerserrorf(NULL); + else + sudoerserrorf("%s", s); + +#pragma pvs(pop) +} + +static void +alias_error(const char *name, int errnum) +{ + if (errnum == EEXIST) + sudoerserrorf(U_("Alias \"%s\" already defined"), name); + else + sudoerserror(N_("unable to allocate memory")); +} + +static struct defaults * +new_default(char *var, char *val, short op) +{ + struct defaults *d; + debug_decl(new_default, SUDOERS_DEBUG_PARSER); + + if ((d = calloc(1, sizeof(struct defaults))) == NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "unable to allocate memory"); + debug_return_ptr(NULL); + } + + d->var = var; + d->val = val; + /* d->type = 0; */ + d->op = op; + /* d->binding = NULL; */ + d->line = this_lineno; + d->column = sudolinebuf.toke_start + 1; + d->file = sudo_rcstr_addref(sudoers); + HLTQ_INIT(d, entries); + + debug_return_ptr(d); +} + +static struct member * +new_member(char *name, int type) +{ + struct member *m; + debug_decl(new_member, SUDOERS_DEBUG_PARSER); + + if ((m = calloc(1, sizeof(struct member))) == NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "unable to allocate memory"); + debug_return_ptr(NULL); + } + + m->name = name; + m->type = type; + HLTQ_INIT(m, entries); + + debug_return_ptr(m); +} + +static struct sudo_command * +new_command(char *cmnd, char *args) +{ + struct sudo_command *c; + debug_decl(new_command, SUDOERS_DEBUG_PARSER); + + if ((c = calloc(1, sizeof(*c))) == NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "unable to allocate memory"); + debug_return_ptr(NULL); + } + /* garbage collected as part of struct member */ + + c->cmnd = cmnd; + c->args = args; + TAILQ_INIT(&c->digests); + + debug_return_ptr(c); +} + +static struct command_digest * +new_digest(int digest_type, char *digest_str) +{ + struct command_digest *digest; + debug_decl(new_digest, SUDOERS_DEBUG_PARSER); + + if ((digest = malloc(sizeof(*digest))) == NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "unable to allocate memory"); + debug_return_ptr(NULL); + } + + HLTQ_INIT(digest, entries); + digest->digest_type = digest_type; + digest->digest_str = digest_str; + if (digest->digest_str == NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "unable to allocate memory"); + free(digest); + digest = NULL; + } + + debug_return_ptr(digest); +} + +static void +free_defaults_binding(struct defaults_binding *binding) +{ + debug_decl(free_defaults_binding, SUDOERS_DEBUG_PARSER); + + /* Bindings may be shared among multiple Defaults entries. */ + if (binding != NULL) { + if (--binding->refcnt == 0) { + free_members(&binding->members); + free(binding); + } + } + + debug_return; +} + +/* + * Add a list of defaults structures to the defaults list. + * The bmem argument, if non-NULL, specifies a list of hosts, users, + * or runas users the entries apply to (determined by the type). + */ +static bool +add_defaults(int type, struct member *bmem, struct defaults *defs) +{ + struct defaults *d, *next; + struct defaults_binding *binding; + bool ret = true; + debug_decl(add_defaults, SUDOERS_DEBUG_PARSER); + + if (defs == NULL) + debug_return_bool(false); + + /* + * We use a single binding for each entry in defs. + */ + if ((binding = malloc(sizeof(*binding))) == NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "unable to allocate memory"); + sudoerserror(N_("unable to allocate memory")); + debug_return_bool(false); + } + if (bmem != NULL) { + parser_leak_remove(LEAK_MEMBER, bmem); + HLTQ_TO_TAILQ(&binding->members, bmem, entries); + } else { + TAILQ_INIT(&binding->members); + } + binding->refcnt = 0; + + /* + * Set type and binding (who it applies to) for new entries. + * Then add to the global defaults list. + */ + parser_leak_remove(LEAK_DEFAULTS, defs); + HLTQ_FOREACH_SAFE(d, defs, entries, next) { + d->type = type; + d->binding = binding; + binding->refcnt++; + TAILQ_INSERT_TAIL(&parsed_policy.defaults, d, entries); + } + + debug_return_bool(ret); +} + +/* + * Allocate a new struct userspec, populate it, and insert it at the + * end of the userspecs list. + */ +static bool +add_userspec(struct member *members, struct privilege *privs) +{ + struct userspec *u; + debug_decl(add_userspec, SUDOERS_DEBUG_PARSER); + + if ((u = calloc(1, sizeof(*u))) == NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "unable to allocate memory"); + debug_return_bool(false); + } + /* We already parsed the newline so sudolineno is off by one. */ + u->line = sudolineno - 1; + u->column = sudolinebuf.toke_start + 1; + u->file = sudo_rcstr_addref(sudoers); + parser_leak_remove(LEAK_MEMBER, members); + HLTQ_TO_TAILQ(&u->users, members, entries); + parser_leak_remove(LEAK_PRIVILEGE, privs); + HLTQ_TO_TAILQ(&u->privileges, privs, entries); + STAILQ_INIT(&u->comments); + TAILQ_INSERT_TAIL(&parsed_policy.userspecs, u, entries); + + debug_return_bool(true); +} + +/* + * Free a member struct and its contents. + */ +void +free_member(struct member *m) +{ + debug_decl(free_member, SUDOERS_DEBUG_PARSER); + + if (m->type == COMMAND || (m->type == ALL && m->name != NULL)) { + struct command_digest *digest; + struct sudo_command *c = (struct sudo_command *)m->name; + free(c->cmnd); + free(c->args); + while ((digest = TAILQ_FIRST(&c->digests)) != NULL) { + TAILQ_REMOVE(&c->digests, digest, entries); + free(digest->digest_str); + free(digest); + } + } + free(m->name); + free(m); + + debug_return; +} + +/* + * Free a tailq of members but not the struct member_list container itself. + */ +void +free_members(struct member_list *members) +{ + struct member *m; + debug_decl(free_members, SUDOERS_DEBUG_PARSER); + + while ((m = TAILQ_FIRST(members)) != NULL) { + TAILQ_REMOVE(members, m, entries); + free_member(m); + } + + debug_return; +} + +void +free_defaults(struct defaults_list *defs) +{ + struct defaults *def; + debug_decl(free_defaults, SUDOERS_DEBUG_PARSER); + + while ((def = TAILQ_FIRST(defs)) != NULL) { + TAILQ_REMOVE(defs, def, entries); + free_default(def); + } + + debug_return; +} + +void +free_default(struct defaults *def) +{ + debug_decl(free_default, SUDOERS_DEBUG_PARSER); + + free_defaults_binding(def->binding); + sudo_rcstr_delref(def->file); + free(def->var); + free(def->val); + free(def); + + debug_return; +} + +void +free_cmndspec(struct cmndspec *cs, struct cmndspec_list *csl) +{ + struct cmndspec *prev, *next; + debug_decl(free_cmndspec, SUDOERS_DEBUG_PARSER); + + prev = TAILQ_PREV(cs, cmndspec_list, entries); + next = TAILQ_NEXT(cs, entries); + TAILQ_REMOVE(csl, cs, entries); + + /* Don't free runcwd/runchroot that are in use by other entries. */ + if ((prev == NULL || cs->runcwd != prev->runcwd) && + (next == NULL || cs->runcwd != next->runcwd)) { + free(cs->runcwd); + } + if ((prev == NULL || cs->runchroot != prev->runchroot) && + (next == NULL || cs->runchroot != next->runchroot)) { + free(cs->runchroot); + } +#ifdef HAVE_SELINUX + /* Don't free root/type that are in use by other entries. */ + if ((prev == NULL || cs->role != prev->role) && + (next == NULL || cs->role != next->role)) { + free(cs->role); + } + if ((prev == NULL || cs->type != prev->type) && + (next == NULL || cs->type != next->type)) { + free(cs->type); + } +#endif /* HAVE_SELINUX */ +#ifdef HAVE_PRIV_SET + /* Don't free privs/limitprivs that are in use by other entries. */ + if ((prev == NULL || cs->privs != prev->privs) && + (next == NULL || cs->privs != next->privs)) { + free(cs->privs); + } + if ((prev == NULL || cs->limitprivs != prev->limitprivs) && + (next == NULL || cs->limitprivs != next->limitprivs)) { + free(cs->limitprivs); + } +#endif /* HAVE_PRIV_SET */ + /* Don't free user/group lists that are in use by other entries. */ + if (cs->runasuserlist != NULL) { + if ((prev == NULL || cs->runasuserlist != prev->runasuserlist) && + (next == NULL || cs->runasuserlist != next->runasuserlist)) { + free_members(cs->runasuserlist); + free(cs->runasuserlist); + } + } + if (cs->runasgrouplist != NULL) { + if ((prev == NULL || cs->runasgrouplist != prev->runasgrouplist) && + (next == NULL || cs->runasgrouplist != next->runasgrouplist)) { + free_members(cs->runasgrouplist); + free(cs->runasgrouplist); + } + } + free_member(cs->cmnd); + free(cs); + + debug_return; +} + +void +free_cmndspecs(struct cmndspec_list *csl) +{ + struct member_list *runasuserlist = NULL, *runasgrouplist = NULL; + char *runcwd = NULL, *runchroot = NULL; +#ifdef HAVE_SELINUX + char *role = NULL, *type = NULL; +#endif /* HAVE_SELINUX */ +#ifdef HAVE_PRIV_SET + char *privs = NULL, *limitprivs = NULL; +#endif /* HAVE_PRIV_SET */ + struct cmndspec *cs; + debug_decl(free_cmndspecs, SUDOERS_DEBUG_PARSER); + + while ((cs = TAILQ_FIRST(csl)) != NULL) { + TAILQ_REMOVE(csl, cs, entries); + + /* Only free the first instance of runcwd/runchroot. */ + if (cs->runcwd != runcwd) { + runcwd = cs->runcwd; + free(cs->runcwd); + } + if (cs->runchroot != runchroot) { + runchroot = cs->runchroot; + free(cs->runchroot); + } +#ifdef HAVE_SELINUX + /* Only free the first instance of a role/type. */ + if (cs->role != role) { + role = cs->role; + free(cs->role); + } + if (cs->type != type) { + type = cs->type; + free(cs->type); + } +#endif /* HAVE_SELINUX */ +#ifdef HAVE_PRIV_SET + /* Only free the first instance of privs/limitprivs. */ + if (cs->privs != privs) { + privs = cs->privs; + free(cs->privs); + } + if (cs->limitprivs != limitprivs) { + limitprivs = cs->limitprivs; + free(cs->limitprivs); + } +#endif /* HAVE_PRIV_SET */ + /* Only free the first instance of runas user/group lists. */ + if (cs->runasuserlist && cs->runasuserlist != runasuserlist) { + runasuserlist = cs->runasuserlist; + free_members(runasuserlist); + free(runasuserlist); + } + if (cs->runasgrouplist && cs->runasgrouplist != runasgrouplist) { + runasgrouplist = cs->runasgrouplist; + free_members(runasgrouplist); + free(runasgrouplist); + } + free_member(cs->cmnd); + free(cs); + } + + debug_return; +} + +void +free_privilege(struct privilege *priv) +{ + struct defaults *def; + debug_decl(free_privilege, SUDOERS_DEBUG_PARSER); + + free(priv->ldap_role); + free_members(&priv->hostlist); + free_cmndspecs(&priv->cmndlist); + while ((def = TAILQ_FIRST(&priv->defaults)) != NULL) { + TAILQ_REMOVE(&priv->defaults, def, entries); + free_default(def); + } + free(priv); + + debug_return; +} + +void +free_userspecs(struct userspec_list *usl) +{ + struct userspec *us; + debug_decl(free_userspecs, SUDOERS_DEBUG_PARSER); + + while ((us = TAILQ_FIRST(usl)) != NULL) { + TAILQ_REMOVE(usl, us, entries); + free_userspec(us); + } + + debug_return; +} + +void +free_userspec(struct userspec *us) +{ + struct privilege *priv; + struct sudoers_comment *comment; + debug_decl(free_userspec, SUDOERS_DEBUG_PARSER); + + free_members(&us->users); + while ((priv = TAILQ_FIRST(&us->privileges)) != NULL) { + TAILQ_REMOVE(&us->privileges, priv, entries); + free_privilege(priv); + } + while ((comment = STAILQ_FIRST(&us->comments)) != NULL) { + STAILQ_REMOVE_HEAD(&us->comments, entries); + free(comment->str); + free(comment); + } + sudo_rcstr_delref(us->file); + free(us); + + debug_return; +} + +/* + * Initialized a sudoers parse tree. + * Takes ownership of lhost and shost. + */ +void +init_parse_tree(struct sudoers_parse_tree *parse_tree, char *lhost, char *shost) +{ + TAILQ_INIT(&parse_tree->userspecs); + TAILQ_INIT(&parse_tree->defaults); + parse_tree->aliases = NULL; + parse_tree->shost = shost; + parse_tree->lhost = lhost; +} + +/* + * Move the contents of parsed_policy to new_tree. + */ +void +reparent_parse_tree(struct sudoers_parse_tree *new_tree) +{ + TAILQ_CONCAT(&new_tree->userspecs, &parsed_policy.userspecs, entries); + TAILQ_CONCAT(&new_tree->defaults, &parsed_policy.defaults, entries); + new_tree->aliases = parsed_policy.aliases; + parsed_policy.aliases = NULL; +} + +/* + * Free the contents of a sudoers parse tree and initialize it. + */ +void +free_parse_tree(struct sudoers_parse_tree *parse_tree) +{ + free_userspecs(&parse_tree->userspecs); + free_defaults(&parse_tree->defaults); + free_aliases(parse_tree->aliases); + parse_tree->aliases = NULL; + free(parse_tree->lhost); + if (parse_tree->shost != parse_tree->lhost) + free(parse_tree->shost); + parse_tree->lhost = parse_tree->shost = NULL; +} + +/* + * Free up space used by data structures from a previous parser run and sets + * the current sudoers file to path. + */ +bool +init_parser(const char *path, bool quiet, bool strict) +{ + bool ret = true; + debug_decl(init_parser, SUDOERS_DEBUG_PARSER); + + free_parse_tree(&parsed_policy); + parser_leak_init(); + init_lexer(); + + sudo_rcstr_delref(sudoers); + if (path != NULL) { + if ((sudoers = sudo_rcstr_dup(path)) == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + ret = false; + } + } else { + sudoers = NULL; + } + + parse_error = false; + sudoers_warnings = !quiet; + sudoers_strict = strict; + + debug_return_bool(ret); +} + +/* + * Initialize all options in a cmndspec. + */ +static void +init_options(struct command_options *opts) +{ + opts->notbefore = UNSPEC; + opts->notafter = UNSPEC; + opts->timeout = UNSPEC; + opts->runchroot = NULL; + opts->runcwd = NULL; +#ifdef HAVE_SELINUX + opts->role = NULL; + opts->type = NULL; +#endif +#ifdef HAVE_PRIV_SET + opts->privs = NULL; + opts->limitprivs = NULL; +#endif +#ifdef HAVE_APPARMOR + opts->apparmor_profile = NULL; +#endif +} + +bool +parser_leak_add(enum parser_leak_types type, void *v) +{ +#ifdef NO_LEAKS + struct parser_leak_entry *entry; + debug_decl(parser_leak_add, SUDOERS_DEBUG_PARSER); + + if (v == NULL) + debug_return_bool(false); + + entry = calloc(1, sizeof(*entry)); + if (entry == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + debug_return_bool(false); + } + switch (type) { + case LEAK_PRIVILEGE: + entry->u.p = v; + break; + case LEAK_CMNDSPEC: + entry->u.cs = v; + break; + case LEAK_DEFAULTS: + entry->u.d = v; + break; + case LEAK_MEMBER: + entry->u.m = v; + break; + case LEAK_DIGEST: + entry->u.dig = v; + break; + case LEAK_RUNAS: + entry->u.rc = v; + break; + case LEAK_PTR: + entry->u.ptr = v; + break; + default: + free(entry); + sudo_warnx("unexpected leak type %d", type); + debug_return_bool(false); + } + entry->type = type; + SLIST_INSERT_HEAD(&parser_leak_list, entry, entries); + debug_return_bool(true); +#else + return true; +#endif /* NO_LEAKS */ +} + +bool +parser_leak_remove(enum parser_leak_types type, void *v) +{ +#ifdef NO_LEAKS + struct parser_leak_entry *entry, *prev = NULL; + debug_decl(parser_leak_remove, SUDOERS_DEBUG_PARSER); + + if (v == NULL) + debug_return_bool(false); + + SLIST_FOREACH(entry, &parser_leak_list, entries) { + switch (entry->type) { + case LEAK_PRIVILEGE: + if (entry->u.p == v) + goto found; + break; + case LEAK_CMNDSPEC: + if (entry->u.cs == v) + goto found; + break; + case LEAK_DEFAULTS: + if (entry->u.d == v) + goto found; + break; + case LEAK_MEMBER: + if (entry->u.m == v) + goto found; + break; + case LEAK_DIGEST: + if (entry->u.dig == v) + goto found; + break; + case LEAK_RUNAS: + if (entry->u.rc == v) + goto found; + break; + case LEAK_PTR: + if (entry->u.ptr == v) + goto found; + break; + default: + sudo_warnx("unexpected leak type %d in %p", entry->type, entry); + } + prev = entry; + } + /* If this happens, there is a bug in the leak tracking code. */ + sudo_warnx("%s: unable to find %p, type %d", __func__, v, type); + debug_return_bool(false); +found: + if (prev == NULL) + SLIST_REMOVE_HEAD(&parser_leak_list, entries); + else + SLIST_REMOVE_AFTER(prev, entries); + free(entry); + debug_return_bool(true); +#else + return true; +#endif /* NO_LEAKS */ +} + +#ifdef NO_LEAKS +static void +parser_leak_free(void) +{ + struct parser_leak_entry *entry; + void *next; + debug_decl(parser_leak_run, SUDOERS_DEBUG_PARSER); + + /* Free the leaks. */ + while ((entry = SLIST_FIRST(&parser_leak_list))) { + SLIST_REMOVE_HEAD(&parser_leak_list, entries); + switch (entry->type) { + case LEAK_PRIVILEGE: + { + struct privilege *priv; + + HLTQ_FOREACH_SAFE(priv, entry->u.p, entries, next) + free_privilege(priv); + free(entry); + } + break; + case LEAK_CMNDSPEC: + { + struct cmndspec_list specs; + + HLTQ_TO_TAILQ(&specs, entry->u.cs, entries); + free_cmndspecs(&specs); + free(entry); + } + break; + case LEAK_DEFAULTS: + { + struct defaults_list defs; + + HLTQ_TO_TAILQ(&defs, entry->u.d, entries); + free_defaults(&defs); + free(entry); + } + break; + case LEAK_MEMBER: + { + struct member *m; + + HLTQ_FOREACH_SAFE(m, entry->u.m, entries, next) + free_member(m); + free(entry); + } + break; + case LEAK_DIGEST: + { + struct command_digest *dig; + + HLTQ_FOREACH_SAFE(dig, entry->u.dig, entries, next) { + free(dig->digest_str); + free(dig); + } + free(entry); + } + break; + case LEAK_RUNAS: + { + struct member *m; + + if (entry->u.rc->runasusers != NULL) { + HLTQ_FOREACH_SAFE(m, entry->u.rc->runasusers, entries, next) + free_member(m); + } + if (entry->u.rc->runasgroups != NULL) { + HLTQ_FOREACH_SAFE(m, entry->u.rc->runasgroups, entries, next) + free_member(m); + } + free(entry->u.rc); + free(entry); + break; + } + case LEAK_PTR: + free(entry->u.ptr); + free(entry); + break; + default: + sudo_warnx("unexpected garbage type %d", entry->type); + } + } + + debug_return; +} +#endif /* NO_LEAKS */ + +void +parser_leak_init(void) +{ +#ifdef NO_LEAKS + static bool initialized; + debug_decl(parser_leak_init, SUDOERS_DEBUG_PARSER); + + if (!initialized) { + atexit(parser_leak_free); + initialized = true; + debug_return; + } + + /* Already initialized, free existing leaks. */ + parser_leak_free(); + debug_return; +#endif /* NO_LEAKS */ +} diff --git a/plugins/sudoers/gram.h b/plugins/sudoers/gram.h new file mode 100644 index 0000000..9ef6f81 --- /dev/null +++ b/plugins/sudoers/gram.h @@ -0,0 +1,206 @@ +/* A Bison parser, made by GNU Bison 3.8.2. */ + +/* Bison interface for Yacc-like parsers in C + + Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2021 Free Software Foundation, + Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +/* As a special exception, you may create a larger work that contains + part or all of the Bison parser skeleton and distribute that work + under terms of your choice, so long as that work isn't itself a + parser generator using the skeleton or a modified version thereof + as a parser skeleton. Alternatively, if you modify or redistribute + the parser skeleton itself, you may (at your option) remove this + special exception, which will cause the skeleton and the resulting + Bison output files to be licensed under the GNU General Public + License without this special exception. + + This special exception was added by the Free Software Foundation in + version 2.2 of Bison. */ + +/* DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual, + especially those whose name start with YY_ or yy_. They are + private implementation details that can be changed or removed. */ + +#ifndef YY_SUDOERS_Y_TAB_H_INCLUDED +# define YY_SUDOERS_Y_TAB_H_INCLUDED +/* Debug traces. */ +#ifndef YYDEBUG +# define YYDEBUG 0 +#endif +#if YYDEBUG +extern int sudoersdebug; +#endif + +/* Token kinds. */ +#ifndef YYTOKENTYPE +# define YYTOKENTYPE + enum yytokentype + { + YYEMPTY = -2, + YYEOF = 0, /* "end of file" */ + YYerror = 256, /* error */ + YYUNDEF = 257, /* "invalid token" */ + COMMAND = 258, /* COMMAND */ + ALIAS = 259, /* ALIAS */ + DEFVAR = 260, /* DEFVAR */ + NTWKADDR = 261, /* NTWKADDR */ + NETGROUP = 262, /* NETGROUP */ + USERGROUP = 263, /* USERGROUP */ + WORD = 264, /* WORD */ + DIGEST = 265, /* DIGEST */ + INCLUDE = 266, /* INCLUDE */ + INCLUDEDIR = 267, /* INCLUDEDIR */ + DEFAULTS = 268, /* DEFAULTS */ + DEFAULTS_HOST = 269, /* DEFAULTS_HOST */ + DEFAULTS_USER = 270, /* DEFAULTS_USER */ + DEFAULTS_RUNAS = 271, /* DEFAULTS_RUNAS */ + DEFAULTS_CMND = 272, /* DEFAULTS_CMND */ + NOPASSWD = 273, /* NOPASSWD */ + PASSWD = 274, /* PASSWD */ + NOEXEC = 275, /* NOEXEC */ + EXEC = 276, /* EXEC */ + SETENV = 277, /* SETENV */ + NOSETENV = 278, /* NOSETENV */ + LOG_INPUT = 279, /* LOG_INPUT */ + NOLOG_INPUT = 280, /* NOLOG_INPUT */ + LOG_OUTPUT = 281, /* LOG_OUTPUT */ + NOLOG_OUTPUT = 282, /* NOLOG_OUTPUT */ + MAIL = 283, /* MAIL */ + NOMAIL = 284, /* NOMAIL */ + FOLLOWLNK = 285, /* FOLLOWLNK */ + NOFOLLOWLNK = 286, /* NOFOLLOWLNK */ + INTERCEPT = 287, /* INTERCEPT */ + NOINTERCEPT = 288, /* NOINTERCEPT */ + ALL = 289, /* ALL */ + HOSTALIAS = 290, /* HOSTALIAS */ + CMNDALIAS = 291, /* CMNDALIAS */ + USERALIAS = 292, /* USERALIAS */ + RUNASALIAS = 293, /* RUNASALIAS */ + ERROR = 294, /* ERROR */ + NOMATCH = 295, /* NOMATCH */ + CHROOT = 296, /* CHROOT */ + CWD = 297, /* CWD */ + TYPE = 298, /* TYPE */ + ROLE = 299, /* ROLE */ + APPARMOR_PROFILE = 300, /* APPARMOR_PROFILE */ + PRIVS = 301, /* PRIVS */ + LIMITPRIVS = 302, /* LIMITPRIVS */ + CMND_TIMEOUT = 303, /* CMND_TIMEOUT */ + NOTBEFORE = 304, /* NOTBEFORE */ + NOTAFTER = 305, /* NOTAFTER */ + MYSELF = 306, /* MYSELF */ + SHA224_TOK = 307, /* SHA224_TOK */ + SHA256_TOK = 308, /* SHA256_TOK */ + SHA384_TOK = 309, /* SHA384_TOK */ + SHA512_TOK = 310 /* SHA512_TOK */ + }; + typedef enum yytokentype yytoken_kind_t; +#endif +/* Token kinds. */ +#define YYEMPTY -2 +#define YYEOF 0 +#define YYerror 256 +#define YYUNDEF 257 +#define COMMAND 258 +#define ALIAS 259 +#define DEFVAR 260 +#define NTWKADDR 261 +#define NETGROUP 262 +#define USERGROUP 263 +#define WORD 264 +#define DIGEST 265 +#define INCLUDE 266 +#define INCLUDEDIR 267 +#define DEFAULTS 268 +#define DEFAULTS_HOST 269 +#define DEFAULTS_USER 270 +#define DEFAULTS_RUNAS 271 +#define DEFAULTS_CMND 272 +#define NOPASSWD 273 +#define PASSWD 274 +#define NOEXEC 275 +#define EXEC 276 +#define SETENV 277 +#define NOSETENV 278 +#define LOG_INPUT 279 +#define NOLOG_INPUT 280 +#define LOG_OUTPUT 281 +#define NOLOG_OUTPUT 282 +#define MAIL 283 +#define NOMAIL 284 +#define FOLLOWLNK 285 +#define NOFOLLOWLNK 286 +#define INTERCEPT 287 +#define NOINTERCEPT 288 +#define ALL 289 +#define HOSTALIAS 290 +#define CMNDALIAS 291 +#define USERALIAS 292 +#define RUNASALIAS 293 +#define ERROR 294 +#define NOMATCH 295 +#define CHROOT 296 +#define CWD 297 +#define TYPE 298 +#define ROLE 299 +#define APPARMOR_PROFILE 300 +#define PRIVS 301 +#define LIMITPRIVS 302 +#define CMND_TIMEOUT 303 +#define NOTBEFORE 304 +#define NOTAFTER 305 +#define MYSELF 306 +#define SHA224_TOK 307 +#define SHA256_TOK 308 +#define SHA384_TOK 309 +#define SHA512_TOK 310 + +/* Value type. */ +#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED +union YYSTYPE +{ +#line 88 "gram.y" + + struct cmndspec *cmndspec; + struct defaults *defaults; + struct member *member; + struct runascontainer *runas; + struct privilege *privilege; + struct command_digest *digest; + struct sudo_command command; + struct command_options options; + struct cmndtag tag; + char *string; + const char *cstring; + int tok; + +#line 192 "gram.h" + +}; +typedef union YYSTYPE YYSTYPE; +# define YYSTYPE_IS_TRIVIAL 1 +# define YYSTYPE_IS_DECLARED 1 +#endif + + +extern YYSTYPE sudoerslval; + + +int sudoersparse (void); + + +#endif /* !YY_SUDOERS_Y_TAB_H_INCLUDED */ diff --git a/plugins/sudoers/gram.y b/plugins/sudoers/gram.y new file mode 100644 index 0000000..21e9fb6 --- /dev/null +++ b/plugins/sudoers/gram.y @@ -0,0 +1,2048 @@ +%{ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1996, 1998-2005, 2007-2013, 2014-2022 + * Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Sponsored in part by the Defense Advanced Research Projects + * Agency (DARPA) and Air Force Research Laboratory, Air Force + * Materiel Command, USAF, under agreement number F39502-99-1-0512. + */ + +#include + +#include +#include +#include +#include +#include +#include + +#include "sudoers.h" +#include "sudo_digest.h" +#include "toke.h" + +#ifdef YYBISON +# define YYERROR_VERBOSE +#endif + +/* If we last saw a newline the entry is on the preceding line. */ +#define this_lineno (sudoerschar == '\n' ? sudolineno - 1 : sudolineno) + +// PVS Studio suppression +// -V::560, 592, 1037, 1042 + +/* + * Globals + */ +bool sudoers_warnings = true; +bool sudoers_recovery = true; +bool sudoers_strict = false; +bool parse_error = false; + +/* Optional logging function for parse errors. */ +sudoers_logger_t sudoers_error_hook; + +static int alias_line, alias_column; + +#ifdef NO_LEAKS +static struct parser_leak_list parser_leak_list = + SLIST_HEAD_INITIALIZER(parser_leak_list); +#endif + +struct sudoers_parse_tree parsed_policy = { + { NULL, NULL }, /* entries */ + TAILQ_HEAD_INITIALIZER(parsed_policy.userspecs), + TAILQ_HEAD_INITIALIZER(parsed_policy.defaults), + NULL, /* aliases */ + NULL, /* lhost */ + NULL /* shost */ +}; + +/* + * Local prototypes + */ +static void init_options(struct command_options *opts); +static bool add_defaults(int, struct member *, struct defaults *); +static bool add_userspec(struct member *, struct privilege *); +static struct defaults *new_default(char *, char *, short); +static struct member *new_member(char *, int); +static struct sudo_command *new_command(char *, char *); +static struct command_digest *new_digest(int, char *); +static void alias_error(const char *name, int errnum); +%} + +%union { + struct cmndspec *cmndspec; + struct defaults *defaults; + struct member *member; + struct runascontainer *runas; + struct privilege *privilege; + struct command_digest *digest; + struct sudo_command command; + struct command_options options; + struct cmndtag tag; + char *string; + const char *cstring; + int tok; +} + +%start file /* special start symbol */ +%token COMMAND /* absolute pathname w/ optional args */ +%token ALIAS /* an UPPERCASE alias name */ +%token DEFVAR /* a Defaults variable name */ +%token NTWKADDR /* ipv4 or ipv6 address */ +%token NETGROUP /* a netgroup (+NAME) */ +%token USERGROUP /* a usergroup (%NAME) */ +%token WORD /* a word */ +%token DIGEST /* a SHA-2 digest */ +%token INCLUDE /* @include */ +%token INCLUDEDIR /* @includedir */ +%token DEFAULTS /* Defaults entry */ +%token DEFAULTS_HOST /* Host-specific defaults entry */ +%token DEFAULTS_USER /* User-specific defaults entry */ +%token DEFAULTS_RUNAS /* Runas-specific defaults entry */ +%token DEFAULTS_CMND /* Command-specific defaults entry */ +%token NOPASSWD /* no passwd req for command */ +%token PASSWD /* passwd req for command (default) */ +%token NOEXEC /* preload fake execve() for cmnd */ +%token EXEC /* don't preload fake execve() */ +%token SETENV /* user may set environment for cmnd */ +%token NOSETENV /* user may not set environment */ +%token LOG_INPUT /* log user's cmnd input */ +%token NOLOG_INPUT /* don't log user's cmnd input */ +%token LOG_OUTPUT /* log cmnd output */ +%token NOLOG_OUTPUT /* don't log cmnd output */ +%token MAIL /* mail log message */ +%token NOMAIL /* don't mail log message */ +%token FOLLOWLNK /* follow symbolic links */ +%token NOFOLLOWLNK /* don't follow symbolic links */ +%token INTERCEPT /* intercept children of command */ +%token NOINTERCEPT /* disable intercepting of children */ +%token ALL /* ALL keyword */ +%token HOSTALIAS /* Host_Alias keyword */ +%token CMNDALIAS /* Cmnd_Alias keyword */ +%token USERALIAS /* User_Alias keyword */ +%token RUNASALIAS /* Runas_Alias keyword */ +%token ':' '=' ',' '!' '+' '-' /* union member tokens */ +%token '(' ')' /* runas tokens */ +%token '\n' /* newline (with optional comment) */ +%token ERROR /* error from lexer */ +%token NOMATCH /* no match from lexer */ +%token CHROOT /* root directory for command */ +%token CWD /* working directory for command */ +%token TYPE /* SELinux type */ +%token ROLE /* SELinux role */ +%token APPARMOR_PROFILE /* AppArmor profile */ +%token PRIVS /* Solaris privileges */ +%token LIMITPRIVS /* Solaris limit privileges */ +%token CMND_TIMEOUT /* command timeout */ +%token NOTBEFORE /* time restriction */ +%token NOTAFTER /* time restriction */ +%token MYSELF /* run as myself, not another user */ +%token SHA224_TOK /* sha224 token */ +%token SHA256_TOK /* sha256 token */ +%token SHA384_TOK /* sha384 token */ +%token SHA512_TOK /* sha512 token */ + +%type cmndspec +%type cmndspeclist +%type defaults_entry +%type defaults_list +%type cmnd +%type opcmnd +%type digcmnd +%type cmndlist +%type host +%type hostlist +%type ophost +%type opuser +%type user +%type userlist +%type opgroup +%type group +%type grouplist +%type runasspec +%type runaslist +%type privilege +%type privileges +%type cmndtag +%type options +%type chdirspec +%type chrootspec +%type rolespec +%type typespec +%type apparmor_profilespec +%type privsspec +%type limitprivsspec +%type timeoutspec +%type notbeforespec +%type notafterspec +%type include +%type includedir +%type digestspec +%type digestlist +%type reserved_word + +%% + +file : { + ; /* empty file */ + } + | line + ; + +line : entry + | line entry + ; + +entry : '\n' { + ; /* blank line */ + } + | error '\n' { + yyerrok; + } + | include { + const bool success = push_include($1, false); + parser_leak_remove(LEAK_PTR, $1); + free($1); + if (!success && !sudoers_recovery) + YYERROR; + } + | includedir { + const bool success = push_include($1, true); + parser_leak_remove(LEAK_PTR, $1); + free($1); + if (!success && !sudoers_recovery) + YYERROR; + } + | userlist privileges '\n' { + if (!add_userspec($1, $2)) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + } + | USERALIAS useraliases '\n' { + ; + } + | HOSTALIAS hostaliases '\n' { + ; + } + | CMNDALIAS cmndaliases '\n' { + ; + } + | RUNASALIAS runasaliases '\n' { + ; + } + | DEFAULTS defaults_list '\n' { + if (!add_defaults(DEFAULTS, NULL, $2)) + YYERROR; + } + | DEFAULTS_USER userlist defaults_list '\n' { + if (!add_defaults(DEFAULTS_USER, $2, $3)) + YYERROR; + } + | DEFAULTS_RUNAS userlist defaults_list '\n' { + if (!add_defaults(DEFAULTS_RUNAS, $2, $3)) + YYERROR; + } + | DEFAULTS_HOST hostlist defaults_list '\n' { + if (!add_defaults(DEFAULTS_HOST, $2, $3)) + YYERROR; + } + | DEFAULTS_CMND cmndlist defaults_list '\n' { + if (!add_defaults(DEFAULTS_CMND, $2, $3)) + YYERROR; + } + ; + +include : INCLUDE WORD '\n' { + $$ = $2; + } + | INCLUDE WORD error '\n' { + yyerrok; + $$ = $2; + } + ; + +includedir : INCLUDEDIR WORD '\n' { + $$ = $2; + } + | INCLUDEDIR WORD error '\n' { + yyerrok; + $$ = $2; + } + ; + +defaults_list : defaults_entry + | defaults_list ',' defaults_entry { + parser_leak_remove(LEAK_DEFAULTS, $3); + HLTQ_CONCAT($1, $3, entries); + $$ = $1; + } + ; + +defaults_entry : DEFVAR { + $$ = new_default($1, NULL, true); + if ($$ == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_remove(LEAK_PTR, $1); + parser_leak_add(LEAK_DEFAULTS, $$); + } + | '!' DEFVAR { + $$ = new_default($2, NULL, false); + if ($$ == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_remove(LEAK_PTR, $2); + parser_leak_add(LEAK_DEFAULTS, $$); + } + | DEFVAR '=' WORD { + $$ = new_default($1, $3, true); + if ($$ == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_remove(LEAK_PTR, $1); + parser_leak_remove(LEAK_PTR, $3); + parser_leak_add(LEAK_DEFAULTS, $$); + } + | DEFVAR '+' WORD { + $$ = new_default($1, $3, '+'); + if ($$ == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_remove(LEAK_PTR, $1); + parser_leak_remove(LEAK_PTR, $3); + parser_leak_add(LEAK_DEFAULTS, $$); + } + | DEFVAR '-' WORD { + $$ = new_default($1, $3, '-'); + if ($$ == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_remove(LEAK_PTR, $1); + parser_leak_remove(LEAK_PTR, $3); + parser_leak_add(LEAK_DEFAULTS, $$); + } + ; + +privileges : privilege + | privileges ':' privilege { + parser_leak_remove(LEAK_PRIVILEGE, $3); + HLTQ_CONCAT($1, $3, entries); + $$ = $1; + } + | privileges ':' error { + yyerrok; + $$ = $1; + } + ; + +privilege : hostlist '=' cmndspeclist { + struct privilege *p = calloc(1, sizeof(*p)); + if (p == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_add(LEAK_PRIVILEGE, p); + TAILQ_INIT(&p->defaults); + parser_leak_remove(LEAK_MEMBER, $1); + HLTQ_TO_TAILQ(&p->hostlist, $1, entries); + parser_leak_remove(LEAK_CMNDSPEC, $3); + HLTQ_TO_TAILQ(&p->cmndlist, $3, entries); + HLTQ_INIT(p, entries); + $$ = p; + } + ; + +ophost : host { + $$ = $1; + $$->negated = false; + } + | '!' host { + $$ = $2; + $$->negated = true; + } + ; + +host : ALIAS { + $$ = new_member($1, ALIAS); + if ($$ == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_remove(LEAK_PTR, $1); + parser_leak_add(LEAK_MEMBER, $$); + } + | ALL { + $$ = new_member(NULL, ALL); + if ($$ == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_add(LEAK_MEMBER, $$); + } + | NETGROUP { + $$ = new_member($1, NETGROUP); + if ($$ == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_remove(LEAK_PTR, $1); + parser_leak_add(LEAK_MEMBER, $$); + } + | NTWKADDR { + $$ = new_member($1, NTWKADDR); + if ($$ == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_remove(LEAK_PTR, $1); + parser_leak_add(LEAK_MEMBER, $$); + } + | WORD { + $$ = new_member($1, WORD); + if ($$ == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_remove(LEAK_PTR, $1); + parser_leak_add(LEAK_MEMBER, $$); + } + ; + +cmndspeclist : cmndspec + | cmndspeclist ',' cmndspec { + struct cmndspec *prev; + prev = HLTQ_LAST($1, cmndspec, entries); + parser_leak_remove(LEAK_CMNDSPEC, $3); + HLTQ_CONCAT($1, $3, entries); + + /* propagate runcwd and runchroot */ + if ($3->runcwd == NULL) + $3->runcwd = prev->runcwd; + if ($3->runchroot == NULL) + $3->runchroot = prev->runchroot; +#ifdef HAVE_SELINUX + /* propagate role and type */ + if ($3->role == NULL && $3->type == NULL) { + $3->role = prev->role; + $3->type = prev->type; + } +#endif /* HAVE_SELINUX */ +#ifdef HAVE_PRIV_SET + /* propagate privs & limitprivs */ + if ($3->privs == NULL && $3->limitprivs == NULL) { + $3->privs = prev->privs; + $3->limitprivs = prev->limitprivs; + } +#endif /* HAVE_PRIV_SET */ + /* propagate command time restrictions */ + if ($3->notbefore == UNSPEC) + $3->notbefore = prev->notbefore; + if ($3->notafter == UNSPEC) + $3->notafter = prev->notafter; + /* propagate command timeout */ + if ($3->timeout == UNSPEC) + $3->timeout = prev->timeout; + /* propagate tags and runas list */ + if ($3->tags.nopasswd == UNSPEC) + $3->tags.nopasswd = prev->tags.nopasswd; + if ($3->tags.noexec == UNSPEC) + $3->tags.noexec = prev->tags.noexec; + if ($3->tags.intercept == UNSPEC) + $3->tags.intercept = prev->tags.intercept; + if ($3->tags.setenv == UNSPEC && + prev->tags.setenv != IMPLIED) + $3->tags.setenv = prev->tags.setenv; + if ($3->tags.log_input == UNSPEC) + $3->tags.log_input = prev->tags.log_input; + if ($3->tags.log_output == UNSPEC) + $3->tags.log_output = prev->tags.log_output; + if ($3->tags.send_mail == UNSPEC) + $3->tags.send_mail = prev->tags.send_mail; + if ($3->tags.follow == UNSPEC) + $3->tags.follow = prev->tags.follow; + if (($3->runasuserlist == NULL && + $3->runasgrouplist == NULL) && + (prev->runasuserlist != NULL || + prev->runasgrouplist != NULL)) { + $3->runasuserlist = prev->runasuserlist; + $3->runasgrouplist = prev->runasgrouplist; + } + $$ = $1; + } + ; + +cmndspec : runasspec options cmndtag digcmnd { + struct cmndspec *cs = calloc(1, sizeof(*cs)); + if (cs == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_add(LEAK_CMNDSPEC, cs); + if ($1 != NULL) { + if ($1->runasusers != NULL) { + cs->runasuserlist = + malloc(sizeof(*cs->runasuserlist)); + if (cs->runasuserlist == NULL) { + free(cs); + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + /* g/c done via runas container */ + HLTQ_TO_TAILQ(cs->runasuserlist, + $1->runasusers, entries); + } + if ($1->runasgroups != NULL) { + cs->runasgrouplist = + malloc(sizeof(*cs->runasgrouplist)); + if (cs->runasgrouplist == NULL) { + free(cs); + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + /* g/c done via runas container */ + HLTQ_TO_TAILQ(cs->runasgrouplist, + $1->runasgroups, entries); + } + parser_leak_remove(LEAK_RUNAS, $1); + free($1); + } +#ifdef HAVE_SELINUX + cs->role = $2.role; + parser_leak_remove(LEAK_PTR, $2.role); + cs->type = $2.type; + parser_leak_remove(LEAK_PTR, $2.type); +#endif +#ifdef HAVE_APPARMOR + cs->apparmor_profile = $2.apparmor_profile; + parser_leak_remove(LEAK_PTR, $2.apparmor_profile); +#endif +#ifdef HAVE_PRIV_SET + cs->privs = $2.privs; + parser_leak_remove(LEAK_PTR, $2.privs); + cs->limitprivs = $2.limitprivs; + parser_leak_remove(LEAK_PTR, $2.limitprivs); +#endif + cs->notbefore = $2.notbefore; + cs->notafter = $2.notafter; + cs->timeout = $2.timeout; + cs->runcwd = $2.runcwd; + parser_leak_remove(LEAK_PTR, $2.runcwd); + cs->runchroot = $2.runchroot; + parser_leak_remove(LEAK_PTR, $2.runchroot); + cs->tags = $3; + cs->cmnd = $4; + parser_leak_remove(LEAK_MEMBER, $4); + HLTQ_INIT(cs, entries); + /* sudo "ALL" implies the SETENV tag */ + if (cs->cmnd->type == ALL && !cs->cmnd->negated && + cs->tags.setenv == UNSPEC) + cs->tags.setenv = IMPLIED; + $$ = cs; + } + ; + +digestspec : SHA224_TOK ':' DIGEST { + $$ = new_digest(SUDO_DIGEST_SHA224, $3); + if ($$ == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_remove(LEAK_PTR, $3); + parser_leak_add(LEAK_DIGEST, $$); + } + | SHA256_TOK ':' DIGEST { + $$ = new_digest(SUDO_DIGEST_SHA256, $3); + if ($$ == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_remove(LEAK_PTR, $3); + parser_leak_add(LEAK_DIGEST, $$); + } + | SHA384_TOK ':' DIGEST { + $$ = new_digest(SUDO_DIGEST_SHA384, $3); + if ($$ == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_remove(LEAK_PTR, $3); + parser_leak_add(LEAK_DIGEST, $$); + } + | SHA512_TOK ':' DIGEST { + $$ = new_digest(SUDO_DIGEST_SHA512, $3); + if ($$ == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_remove(LEAK_PTR, $3); + parser_leak_add(LEAK_DIGEST, $$); + } + ; + +digestlist : digestspec + | digestlist ',' digestspec { + parser_leak_remove(LEAK_DIGEST, $3); + HLTQ_CONCAT($1, $3, entries); + $$ = $1; + } + ; + +digcmnd : opcmnd { + $$ = $1; + } + | digestlist opcmnd { + struct sudo_command *c = + (struct sudo_command *) $2->name; + + if ($2->type != COMMAND && $2->type != ALL) { + sudoerserror(N_("a digest requires a path name")); + YYERROR; + } + parser_leak_remove(LEAK_DIGEST, $1); + HLTQ_TO_TAILQ(&c->digests, $1, entries); + $$ = $2; + } + ; + +opcmnd : cmnd { + $$ = $1; + $$->negated = false; + } + | '!' cmnd { + $$ = $2; + $$->negated = true; + } + ; + +chdirspec : CWD '=' WORD { + if ($3[0] != '/' && $3[0] != '~') { + if (strcmp($3, "*") != 0) { + sudoerserror(N_("values for \"CWD\" must" + " start with a '/', '~', or '*'")); + YYERROR; + } + } + if (strlen($3) >= PATH_MAX) { + sudoerserror(N_("\"CWD\" path too long")); + YYERROR; + } + $$ = $3; + } + ; + +chrootspec : CHROOT '=' WORD { + if ($3[0] != '/' && $3[0] != '~') { + if (strcmp($3, "*") != 0) { + sudoerserror(N_("values for \"CHROOT\" must" + " start with a '/', '~', or '*'")); + YYERROR; + } + } + if (strlen($3) >= PATH_MAX) { + sudoerserror(N_("\"CHROOT\" path too long")); + YYERROR; + } + $$ = $3; + } + ; + +timeoutspec : CMND_TIMEOUT '=' WORD { + $$ = $3; + } + ; + +notbeforespec : NOTBEFORE '=' WORD { + $$ = $3; + } + +notafterspec : NOTAFTER '=' WORD { + $$ = $3; + } + ; + +rolespec : ROLE '=' WORD { + $$ = $3; + } + ; + +typespec : TYPE '=' WORD { + $$ = $3; + } + ; + +apparmor_profilespec : APPARMOR_PROFILE '=' WORD { + $$ = $3; + } + ; + +privsspec : PRIVS '=' WORD { + $$ = $3; + } + ; +limitprivsspec : LIMITPRIVS '=' WORD { + $$ = $3; + } + ; + +runasspec : /* empty */ { + $$ = NULL; + } + | '(' runaslist ')' { + $$ = $2; + } + ; + +runaslist : /* empty */ { + $$ = calloc(1, sizeof(struct runascontainer)); + if ($$ != NULL) { + $$->runasusers = new_member(NULL, MYSELF); + /* $$->runasgroups = NULL; */ + if ($$->runasusers == NULL) { + free($$); + $$ = NULL; + } + } + if ($$ == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_add(LEAK_RUNAS, $$); + } + | userlist { + $$ = calloc(1, sizeof(struct runascontainer)); + if ($$ == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_add(LEAK_RUNAS, $$); + parser_leak_remove(LEAK_MEMBER, $1); + $$->runasusers = $1; + /* $$->runasgroups = NULL; */ + } + | userlist ':' grouplist { + $$ = calloc(1, sizeof(struct runascontainer)); + if ($$ == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_add(LEAK_RUNAS, $$); + parser_leak_remove(LEAK_MEMBER, $1); + parser_leak_remove(LEAK_MEMBER, $3); + $$->runasusers = $1; + $$->runasgroups = $3; + } + | ':' grouplist { + $$ = calloc(1, sizeof(struct runascontainer)); + if ($$ == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_add(LEAK_RUNAS, $$); + parser_leak_remove(LEAK_MEMBER, $2); + /* $$->runasusers = NULL; */ + $$->runasgroups = $2; + } + | ':' { + $$ = calloc(1, sizeof(struct runascontainer)); + if ($$ != NULL) { + $$->runasusers = new_member(NULL, MYSELF); + /* $$->runasgroups = NULL; */ + if ($$->runasusers == NULL) { + free($$); + $$ = NULL; + } + } + if ($$ == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_add(LEAK_RUNAS, $$); + } + ; + +reserved_word : ALL { $$ = "ALL"; } + | CHROOT { $$ = "CHROOT"; } + | CWD { $$ = "CWD"; } + | CMND_TIMEOUT { $$ = "CMND_TIMEOUT"; } + | NOTBEFORE { $$ = "NOTBEFORE"; } + | NOTAFTER { $$ = "NOTAFTER"; } + | ROLE { $$ = "ROLE"; } + | TYPE { $$ = "TYPE"; } + | PRIVS { $$ = "PRIVS"; } + | LIMITPRIVS { $$ = "LIMITPRIVS"; } + | APPARMOR_PROFILE { $$ = "APPARMOR_PROFILE"; } + ; + +reserved_alias : reserved_word { + sudoerserrorf(U_("syntax error, reserved word %s used as an alias name"), $1); + YYERROR; + } + ; + +options : /* empty */ { + init_options(&$$); + } + | options chdirspec { + parser_leak_remove(LEAK_PTR, $$.runcwd); + free($$.runcwd); + $$.runcwd = $2; + } + | options chrootspec { + parser_leak_remove(LEAK_PTR, $$.runchroot); + free($$.runchroot); + $$.runchroot = $2; + } + | options notbeforespec { + $$.notbefore = parse_gentime($2); + parser_leak_remove(LEAK_PTR, $2); + free($2); + if ($$.notbefore == -1) { + sudoerserror(N_("invalid notbefore value")); + YYERROR; + } + } + | options notafterspec { + $$.notafter = parse_gentime($2); + parser_leak_remove(LEAK_PTR, $2); + free($2); + if ($$.notafter == -1) { + sudoerserror(N_("invalid notafter value")); + YYERROR; + } + } + | options timeoutspec { + $$.timeout = parse_timeout($2); + parser_leak_remove(LEAK_PTR, $2); + free($2); + if ($$.timeout == -1) { + if (errno == ERANGE) + sudoerserror(N_("timeout value too large")); + else + sudoerserror(N_("invalid timeout value")); + YYERROR; + } + } + | options rolespec { +#ifdef HAVE_SELINUX + parser_leak_remove(LEAK_PTR, $$.role); + free($$.role); + $$.role = $2; +#endif + } + | options typespec { +#ifdef HAVE_SELINUX + parser_leak_remove(LEAK_PTR, $$.type); + free($$.type); + $$.type = $2; +#endif + } + | options apparmor_profilespec { +#ifdef HAVE_APPARMOR + parser_leak_remove(LEAK_PTR, $$.apparmor_profile); + free($$.apparmor_profile); + $$.apparmor_profile = $2; +#endif + } + | options privsspec { +#ifdef HAVE_PRIV_SET + parser_leak_remove(LEAK_PTR, $$.privs); + free($$.privs); + $$.privs = $2; +#endif + } + | options limitprivsspec { +#ifdef HAVE_PRIV_SET + parser_leak_remove(LEAK_PTR, $$.limitprivs); + free($$.limitprivs); + $$.limitprivs = $2; +#endif + } + ; + +cmndtag : /* empty */ { + TAGS_INIT(&$$); + } + | cmndtag NOPASSWD { + $$.nopasswd = true; + } + | cmndtag PASSWD { + $$.nopasswd = false; + } + | cmndtag NOEXEC { + $$.noexec = true; + } + | cmndtag EXEC { + $$.noexec = false; + } + | cmndtag INTERCEPT { + $$.intercept = true; + } + | cmndtag NOINTERCEPT { + $$.intercept = false; + } + | cmndtag SETENV { + $$.setenv = true; + } + | cmndtag NOSETENV { + $$.setenv = false; + } + | cmndtag LOG_INPUT { + $$.log_input = true; + } + | cmndtag NOLOG_INPUT { + $$.log_input = false; + } + | cmndtag LOG_OUTPUT { + $$.log_output = true; + } + | cmndtag NOLOG_OUTPUT { + $$.log_output = false; + } + | cmndtag FOLLOWLNK { + $$.follow = true; + } + | cmndtag NOFOLLOWLNK { + $$.follow = false; + } + | cmndtag MAIL { + $$.send_mail = true; + } + | cmndtag NOMAIL { + $$.send_mail = false; + } + ; + +cmnd : ALL { + struct sudo_command *c; + + if ((c = new_command(NULL, NULL)) == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + $$ = new_member((char *)c, ALL); + if ($$ == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_add(LEAK_MEMBER, $$); + } + | ALIAS { + $$ = new_member($1, ALIAS); + if ($$ == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_remove(LEAK_PTR, $1); + parser_leak_add(LEAK_MEMBER, $$); + } + | COMMAND { + struct sudo_command *c; + + if (strlen($1.cmnd) >= PATH_MAX) { + sudoerserror(N_("command too long")); + YYERROR; + } + if ((c = new_command($1.cmnd, $1.args)) == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + $$ = new_member((char *)c, COMMAND); + if ($$ == NULL) { + free(c); + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_remove(LEAK_PTR, $1.cmnd); + parser_leak_remove(LEAK_PTR, $1.args); + parser_leak_add(LEAK_MEMBER, $$); + } + | WORD { + if (strcmp($1, "list") == 0) { + struct sudo_command *c; + + if ((c = new_command($1, NULL)) == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + $$ = new_member((char *)c, COMMAND); + if ($$ == NULL) { + free(c); + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_remove(LEAK_PTR, $1); + parser_leak_add(LEAK_MEMBER, $$); + } else { + sudoerserror(N_("expected a fully-qualified path name")); + YYERROR; + } + } + ; + +hostaliases : hostalias + | hostaliases ':' hostalias + ; + +hostalias : ALIAS { + alias_line = this_lineno; + alias_column = sudolinebuf.toke_start + 1; + } '=' hostlist { + if (!alias_add(&parsed_policy, $1, HOSTALIAS, + sudoers, alias_line, alias_column, $4)) { + alias_error($1, errno); + YYERROR; + } + parser_leak_remove(LEAK_PTR, $1); + parser_leak_remove(LEAK_MEMBER, $4); + } + | reserved_alias '=' hostlist + ; + +hostlist : ophost + | hostlist ',' ophost { + parser_leak_remove(LEAK_MEMBER, $3); + HLTQ_CONCAT($1, $3, entries); + $$ = $1; + } + ; + +cmndaliases : cmndalias + | cmndaliases ':' cmndalias + ; + +cmndalias : ALIAS { + alias_line = this_lineno; + alias_column = sudolinebuf.toke_start + 1; + } '=' cmndlist { + if (!alias_add(&parsed_policy, $1, CMNDALIAS, + sudoers, alias_line, alias_column, $4)) { + alias_error($1, errno); + YYERROR; + } + parser_leak_remove(LEAK_PTR, $1); + parser_leak_remove(LEAK_MEMBER, $4); + } + | reserved_alias '=' cmndlist + ; + +cmndlist : digcmnd + | cmndlist ',' digcmnd { + parser_leak_remove(LEAK_MEMBER, $3); + HLTQ_CONCAT($1, $3, entries); + $$ = $1; + } + ; + +runasaliases : runasalias + | runasaliases ':' runasalias + ; + +runasalias : ALIAS { + alias_line = this_lineno; + alias_column = sudolinebuf.toke_start + 1; + } '=' userlist { + if (!alias_add(&parsed_policy, $1, RUNASALIAS, + sudoers, alias_line, alias_column, $4)) { + alias_error($1, errno); + YYERROR; + } + parser_leak_remove(LEAK_PTR, $1); + parser_leak_remove(LEAK_MEMBER, $4); + } + | reserved_alias '=' userlist + ; + +useraliases : useralias + | useraliases ':' useralias + ; + +useralias : ALIAS { + alias_line = this_lineno; + alias_column = sudolinebuf.toke_start + 1; + } '=' userlist { + if (!alias_add(&parsed_policy, $1, USERALIAS, + sudoers, alias_line, alias_column, $4)) { + alias_error($1, errno); + YYERROR; + } + parser_leak_remove(LEAK_PTR, $1); + parser_leak_remove(LEAK_MEMBER, $4); + } + | reserved_alias '=' userlist + ; + +userlist : opuser + | userlist ',' opuser { + parser_leak_remove(LEAK_MEMBER, $3); + HLTQ_CONCAT($1, $3, entries); + $$ = $1; + } + ; + +opuser : user { + $$ = $1; + $$->negated = false; + } + | '!' user { + $$ = $2; + $$->negated = true; + } + ; + +user : ALIAS { + $$ = new_member($1, ALIAS); + if ($$ == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_remove(LEAK_PTR, $1); + parser_leak_add(LEAK_MEMBER, $$); + } + | ALL { + $$ = new_member(NULL, ALL); + if ($$ == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_add(LEAK_MEMBER, $$); + } + | NETGROUP { + $$ = new_member($1, NETGROUP); + if ($$ == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_remove(LEAK_PTR, $1); + parser_leak_add(LEAK_MEMBER, $$); + } + | USERGROUP { + $$ = new_member($1, USERGROUP); + if ($$ == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_remove(LEAK_PTR, $1); + parser_leak_add(LEAK_MEMBER, $$); + } + | WORD { + $$ = new_member($1, WORD); + if ($$ == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_remove(LEAK_PTR, $1); + parser_leak_add(LEAK_MEMBER, $$); + } + ; + +grouplist : opgroup + | grouplist ',' opgroup { + parser_leak_remove(LEAK_MEMBER, $3); + HLTQ_CONCAT($1, $3, entries); + $$ = $1; + } + ; + +opgroup : group { + $$ = $1; + $$->negated = false; + } + | '!' group { + $$ = $2; + $$->negated = true; + } + ; + +group : ALIAS { + $$ = new_member($1, ALIAS); + if ($$ == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_remove(LEAK_PTR, $1); + parser_leak_add(LEAK_MEMBER, $$); + } + | ALL { + $$ = new_member(NULL, ALL); + if ($$ == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_add(LEAK_MEMBER, $$); + } + | WORD { + $$ = new_member($1, WORD); + if ($$ == NULL) { + sudoerserror(N_("unable to allocate memory")); + YYERROR; + } + parser_leak_remove(LEAK_PTR, $1); + parser_leak_add(LEAK_MEMBER, $$); + } + ; +%% +/* Like yyerror() but takes a printf-style format string. */ +void +sudoerserrorf(const char *fmt, ...) +{ + const int column = sudolinebuf.toke_start + 1; + va_list ap; + debug_decl(sudoerserrorf, SUDOERS_DEBUG_PARSER); + + if (sudoers_error_hook != NULL) { + va_start(ap, fmt); + sudoers_error_hook(sudoers, this_lineno, column, fmt, ap); + va_end(ap); + } + if (sudoers_warnings && fmt != NULL) { + LEXTRACE("<*> "); +#ifndef TRACELEXER + if (trace_print == NULL || trace_print == sudoers_trace_print) { + char *tofree = NULL; + const char *s; + int oldlocale; + + /* Warnings are displayed in the user's locale. */ + sudoers_setlocale(SUDOERS_LOCALE_USER, &oldlocale); + + va_start(ap, fmt); + if (strcmp(fmt, "%s") == 0) { + /* Optimize common case, a single string. */ + s = _(va_arg(ap, char *)); + } else { + if (vasprintf(&tofree, _(fmt), ap) != -1) { + s = tofree; + } else { + s = _("syntax error"); + tofree = NULL; + } + } + sudo_printf(SUDO_CONV_ERROR_MSG, _("%s:%d:%d: %s\n"), sudoers, + this_lineno, (int)sudolinebuf.toke_start + 1, s); + free(tofree); + va_end(ap); + sudoers_setlocale(oldlocale, NULL); + + /* Display the offending line and token if possible. */ + if (sudolinebuf.len != 0) { + char tildes[128]; + size_t tlen = 0; + + sudo_printf(SUDO_CONV_ERROR_MSG, "%s%s", sudolinebuf.buf, + sudolinebuf.buf[sudolinebuf.len - 1] == '\n' ? "" : "\n"); + if (sudolinebuf.toke_end > sudolinebuf.toke_start) { + tlen = sudolinebuf.toke_end - sudolinebuf.toke_start - 1; + if (tlen >= sizeof(tildes)) + tlen = sizeof(tildes) - 1; + memset(tildes, '~', tlen); + } + tildes[tlen] = '\0'; + sudo_printf(SUDO_CONV_ERROR_MSG, "%*s^%s\n", + (int)sudolinebuf.toke_start, "", tildes); + } + } +#endif + } + parse_error = true; + debug_return; +} + +void +sudoerserror(const char *s) +{ + if (sudoerschar == ERROR) { + /* Use error string from lexer. */ + s = sudoers_errstr; + sudoers_errstr = NULL; + } + +#pragma pvs(push) +#pragma pvs(disable: 575, 618) + + if (s == NULL) + sudoerserrorf(NULL); + else + sudoerserrorf("%s", s); + +#pragma pvs(pop) +} + +static void +alias_error(const char *name, int errnum) +{ + if (errnum == EEXIST) + sudoerserrorf(U_("Alias \"%s\" already defined"), name); + else + sudoerserror(N_("unable to allocate memory")); +} + +static struct defaults * +new_default(char *var, char *val, short op) +{ + struct defaults *d; + debug_decl(new_default, SUDOERS_DEBUG_PARSER); + + if ((d = calloc(1, sizeof(struct defaults))) == NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "unable to allocate memory"); + debug_return_ptr(NULL); + } + + d->var = var; + d->val = val; + /* d->type = 0; */ + d->op = op; + /* d->binding = NULL; */ + d->line = this_lineno; + d->column = sudolinebuf.toke_start + 1; + d->file = sudo_rcstr_addref(sudoers); + HLTQ_INIT(d, entries); + + debug_return_ptr(d); +} + +static struct member * +new_member(char *name, int type) +{ + struct member *m; + debug_decl(new_member, SUDOERS_DEBUG_PARSER); + + if ((m = calloc(1, sizeof(struct member))) == NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "unable to allocate memory"); + debug_return_ptr(NULL); + } + + m->name = name; + m->type = type; + HLTQ_INIT(m, entries); + + debug_return_ptr(m); +} + +static struct sudo_command * +new_command(char *cmnd, char *args) +{ + struct sudo_command *c; + debug_decl(new_command, SUDOERS_DEBUG_PARSER); + + if ((c = calloc(1, sizeof(*c))) == NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "unable to allocate memory"); + debug_return_ptr(NULL); + } + /* garbage collected as part of struct member */ + + c->cmnd = cmnd; + c->args = args; + TAILQ_INIT(&c->digests); + + debug_return_ptr(c); +} + +static struct command_digest * +new_digest(int digest_type, char *digest_str) +{ + struct command_digest *digest; + debug_decl(new_digest, SUDOERS_DEBUG_PARSER); + + if ((digest = malloc(sizeof(*digest))) == NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "unable to allocate memory"); + debug_return_ptr(NULL); + } + + HLTQ_INIT(digest, entries); + digest->digest_type = digest_type; + digest->digest_str = digest_str; + if (digest->digest_str == NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "unable to allocate memory"); + free(digest); + digest = NULL; + } + + debug_return_ptr(digest); +} + +static void +free_defaults_binding(struct defaults_binding *binding) +{ + debug_decl(free_defaults_binding, SUDOERS_DEBUG_PARSER); + + /* Bindings may be shared among multiple Defaults entries. */ + if (binding != NULL) { + if (--binding->refcnt == 0) { + free_members(&binding->members); + free(binding); + } + } + + debug_return; +} + +/* + * Add a list of defaults structures to the defaults list. + * The bmem argument, if non-NULL, specifies a list of hosts, users, + * or runas users the entries apply to (determined by the type). + */ +static bool +add_defaults(int type, struct member *bmem, struct defaults *defs) +{ + struct defaults *d, *next; + struct defaults_binding *binding; + bool ret = true; + debug_decl(add_defaults, SUDOERS_DEBUG_PARSER); + + if (defs == NULL) + debug_return_bool(false); + + /* + * We use a single binding for each entry in defs. + */ + if ((binding = malloc(sizeof(*binding))) == NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "unable to allocate memory"); + sudoerserror(N_("unable to allocate memory")); + debug_return_bool(false); + } + if (bmem != NULL) { + parser_leak_remove(LEAK_MEMBER, bmem); + HLTQ_TO_TAILQ(&binding->members, bmem, entries); + } else { + TAILQ_INIT(&binding->members); + } + binding->refcnt = 0; + + /* + * Set type and binding (who it applies to) for new entries. + * Then add to the global defaults list. + */ + parser_leak_remove(LEAK_DEFAULTS, defs); + HLTQ_FOREACH_SAFE(d, defs, entries, next) { + d->type = type; + d->binding = binding; + binding->refcnt++; + TAILQ_INSERT_TAIL(&parsed_policy.defaults, d, entries); + } + + debug_return_bool(ret); +} + +/* + * Allocate a new struct userspec, populate it, and insert it at the + * end of the userspecs list. + */ +static bool +add_userspec(struct member *members, struct privilege *privs) +{ + struct userspec *u; + debug_decl(add_userspec, SUDOERS_DEBUG_PARSER); + + if ((u = calloc(1, sizeof(*u))) == NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "unable to allocate memory"); + debug_return_bool(false); + } + /* We already parsed the newline so sudolineno is off by one. */ + u->line = sudolineno - 1; + u->column = sudolinebuf.toke_start + 1; + u->file = sudo_rcstr_addref(sudoers); + parser_leak_remove(LEAK_MEMBER, members); + HLTQ_TO_TAILQ(&u->users, members, entries); + parser_leak_remove(LEAK_PRIVILEGE, privs); + HLTQ_TO_TAILQ(&u->privileges, privs, entries); + STAILQ_INIT(&u->comments); + TAILQ_INSERT_TAIL(&parsed_policy.userspecs, u, entries); + + debug_return_bool(true); +} + +/* + * Free a member struct and its contents. + */ +void +free_member(struct member *m) +{ + debug_decl(free_member, SUDOERS_DEBUG_PARSER); + + if (m->type == COMMAND || (m->type == ALL && m->name != NULL)) { + struct command_digest *digest; + struct sudo_command *c = (struct sudo_command *)m->name; + free(c->cmnd); + free(c->args); + while ((digest = TAILQ_FIRST(&c->digests)) != NULL) { + TAILQ_REMOVE(&c->digests, digest, entries); + free(digest->digest_str); + free(digest); + } + } + free(m->name); + free(m); + + debug_return; +} + +/* + * Free a tailq of members but not the struct member_list container itself. + */ +void +free_members(struct member_list *members) +{ + struct member *m; + debug_decl(free_members, SUDOERS_DEBUG_PARSER); + + while ((m = TAILQ_FIRST(members)) != NULL) { + TAILQ_REMOVE(members, m, entries); + free_member(m); + } + + debug_return; +} + +void +free_defaults(struct defaults_list *defs) +{ + struct defaults *def; + debug_decl(free_defaults, SUDOERS_DEBUG_PARSER); + + while ((def = TAILQ_FIRST(defs)) != NULL) { + TAILQ_REMOVE(defs, def, entries); + free_default(def); + } + + debug_return; +} + +void +free_default(struct defaults *def) +{ + debug_decl(free_default, SUDOERS_DEBUG_PARSER); + + free_defaults_binding(def->binding); + sudo_rcstr_delref(def->file); + free(def->var); + free(def->val); + free(def); + + debug_return; +} + +void +free_cmndspec(struct cmndspec *cs, struct cmndspec_list *csl) +{ + struct cmndspec *prev, *next; + debug_decl(free_cmndspec, SUDOERS_DEBUG_PARSER); + + prev = TAILQ_PREV(cs, cmndspec_list, entries); + next = TAILQ_NEXT(cs, entries); + TAILQ_REMOVE(csl, cs, entries); + + /* Don't free runcwd/runchroot that are in use by other entries. */ + if ((prev == NULL || cs->runcwd != prev->runcwd) && + (next == NULL || cs->runcwd != next->runcwd)) { + free(cs->runcwd); + } + if ((prev == NULL || cs->runchroot != prev->runchroot) && + (next == NULL || cs->runchroot != next->runchroot)) { + free(cs->runchroot); + } +#ifdef HAVE_SELINUX + /* Don't free root/type that are in use by other entries. */ + if ((prev == NULL || cs->role != prev->role) && + (next == NULL || cs->role != next->role)) { + free(cs->role); + } + if ((prev == NULL || cs->type != prev->type) && + (next == NULL || cs->type != next->type)) { + free(cs->type); + } +#endif /* HAVE_SELINUX */ +#ifdef HAVE_PRIV_SET + /* Don't free privs/limitprivs that are in use by other entries. */ + if ((prev == NULL || cs->privs != prev->privs) && + (next == NULL || cs->privs != next->privs)) { + free(cs->privs); + } + if ((prev == NULL || cs->limitprivs != prev->limitprivs) && + (next == NULL || cs->limitprivs != next->limitprivs)) { + free(cs->limitprivs); + } +#endif /* HAVE_PRIV_SET */ + /* Don't free user/group lists that are in use by other entries. */ + if (cs->runasuserlist != NULL) { + if ((prev == NULL || cs->runasuserlist != prev->runasuserlist) && + (next == NULL || cs->runasuserlist != next->runasuserlist)) { + free_members(cs->runasuserlist); + free(cs->runasuserlist); + } + } + if (cs->runasgrouplist != NULL) { + if ((prev == NULL || cs->runasgrouplist != prev->runasgrouplist) && + (next == NULL || cs->runasgrouplist != next->runasgrouplist)) { + free_members(cs->runasgrouplist); + free(cs->runasgrouplist); + } + } + free_member(cs->cmnd); + free(cs); + + debug_return; +} + +void +free_cmndspecs(struct cmndspec_list *csl) +{ + struct member_list *runasuserlist = NULL, *runasgrouplist = NULL; + char *runcwd = NULL, *runchroot = NULL; +#ifdef HAVE_SELINUX + char *role = NULL, *type = NULL; +#endif /* HAVE_SELINUX */ +#ifdef HAVE_PRIV_SET + char *privs = NULL, *limitprivs = NULL; +#endif /* HAVE_PRIV_SET */ + struct cmndspec *cs; + debug_decl(free_cmndspecs, SUDOERS_DEBUG_PARSER); + + while ((cs = TAILQ_FIRST(csl)) != NULL) { + TAILQ_REMOVE(csl, cs, entries); + + /* Only free the first instance of runcwd/runchroot. */ + if (cs->runcwd != runcwd) { + runcwd = cs->runcwd; + free(cs->runcwd); + } + if (cs->runchroot != runchroot) { + runchroot = cs->runchroot; + free(cs->runchroot); + } +#ifdef HAVE_SELINUX + /* Only free the first instance of a role/type. */ + if (cs->role != role) { + role = cs->role; + free(cs->role); + } + if (cs->type != type) { + type = cs->type; + free(cs->type); + } +#endif /* HAVE_SELINUX */ +#ifdef HAVE_PRIV_SET + /* Only free the first instance of privs/limitprivs. */ + if (cs->privs != privs) { + privs = cs->privs; + free(cs->privs); + } + if (cs->limitprivs != limitprivs) { + limitprivs = cs->limitprivs; + free(cs->limitprivs); + } +#endif /* HAVE_PRIV_SET */ + /* Only free the first instance of runas user/group lists. */ + if (cs->runasuserlist && cs->runasuserlist != runasuserlist) { + runasuserlist = cs->runasuserlist; + free_members(runasuserlist); + free(runasuserlist); + } + if (cs->runasgrouplist && cs->runasgrouplist != runasgrouplist) { + runasgrouplist = cs->runasgrouplist; + free_members(runasgrouplist); + free(runasgrouplist); + } + free_member(cs->cmnd); + free(cs); + } + + debug_return; +} + +void +free_privilege(struct privilege *priv) +{ + struct defaults *def; + debug_decl(free_privilege, SUDOERS_DEBUG_PARSER); + + free(priv->ldap_role); + free_members(&priv->hostlist); + free_cmndspecs(&priv->cmndlist); + while ((def = TAILQ_FIRST(&priv->defaults)) != NULL) { + TAILQ_REMOVE(&priv->defaults, def, entries); + free_default(def); + } + free(priv); + + debug_return; +} + +void +free_userspecs(struct userspec_list *usl) +{ + struct userspec *us; + debug_decl(free_userspecs, SUDOERS_DEBUG_PARSER); + + while ((us = TAILQ_FIRST(usl)) != NULL) { + TAILQ_REMOVE(usl, us, entries); + free_userspec(us); + } + + debug_return; +} + +void +free_userspec(struct userspec *us) +{ + struct privilege *priv; + struct sudoers_comment *comment; + debug_decl(free_userspec, SUDOERS_DEBUG_PARSER); + + free_members(&us->users); + while ((priv = TAILQ_FIRST(&us->privileges)) != NULL) { + TAILQ_REMOVE(&us->privileges, priv, entries); + free_privilege(priv); + } + while ((comment = STAILQ_FIRST(&us->comments)) != NULL) { + STAILQ_REMOVE_HEAD(&us->comments, entries); + free(comment->str); + free(comment); + } + sudo_rcstr_delref(us->file); + free(us); + + debug_return; +} + +/* + * Initialized a sudoers parse tree. + * Takes ownership of lhost and shost. + */ +void +init_parse_tree(struct sudoers_parse_tree *parse_tree, char *lhost, char *shost) +{ + TAILQ_INIT(&parse_tree->userspecs); + TAILQ_INIT(&parse_tree->defaults); + parse_tree->aliases = NULL; + parse_tree->shost = shost; + parse_tree->lhost = lhost; +} + +/* + * Move the contents of parsed_policy to new_tree. + */ +void +reparent_parse_tree(struct sudoers_parse_tree *new_tree) +{ + TAILQ_CONCAT(&new_tree->userspecs, &parsed_policy.userspecs, entries); + TAILQ_CONCAT(&new_tree->defaults, &parsed_policy.defaults, entries); + new_tree->aliases = parsed_policy.aliases; + parsed_policy.aliases = NULL; +} + +/* + * Free the contents of a sudoers parse tree and initialize it. + */ +void +free_parse_tree(struct sudoers_parse_tree *parse_tree) +{ + free_userspecs(&parse_tree->userspecs); + free_defaults(&parse_tree->defaults); + free_aliases(parse_tree->aliases); + parse_tree->aliases = NULL; + free(parse_tree->lhost); + if (parse_tree->shost != parse_tree->lhost) + free(parse_tree->shost); + parse_tree->lhost = parse_tree->shost = NULL; +} + +/* + * Free up space used by data structures from a previous parser run and sets + * the current sudoers file to path. + */ +bool +init_parser(const char *path, bool quiet, bool strict) +{ + bool ret = true; + debug_decl(init_parser, SUDOERS_DEBUG_PARSER); + + free_parse_tree(&parsed_policy); + parser_leak_init(); + init_lexer(); + + sudo_rcstr_delref(sudoers); + if (path != NULL) { + if ((sudoers = sudo_rcstr_dup(path)) == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + ret = false; + } + } else { + sudoers = NULL; + } + + parse_error = false; + sudoers_warnings = !quiet; + sudoers_strict = strict; + + debug_return_bool(ret); +} + +/* + * Initialize all options in a cmndspec. + */ +static void +init_options(struct command_options *opts) +{ + opts->notbefore = UNSPEC; + opts->notafter = UNSPEC; + opts->timeout = UNSPEC; + opts->runchroot = NULL; + opts->runcwd = NULL; +#ifdef HAVE_SELINUX + opts->role = NULL; + opts->type = NULL; +#endif +#ifdef HAVE_PRIV_SET + opts->privs = NULL; + opts->limitprivs = NULL; +#endif +#ifdef HAVE_APPARMOR + opts->apparmor_profile = NULL; +#endif +} + +bool +parser_leak_add(enum parser_leak_types type, void *v) +{ +#ifdef NO_LEAKS + struct parser_leak_entry *entry; + debug_decl(parser_leak_add, SUDOERS_DEBUG_PARSER); + + if (v == NULL) + debug_return_bool(false); + + entry = calloc(1, sizeof(*entry)); + if (entry == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + debug_return_bool(false); + } + switch (type) { + case LEAK_PRIVILEGE: + entry->u.p = v; + break; + case LEAK_CMNDSPEC: + entry->u.cs = v; + break; + case LEAK_DEFAULTS: + entry->u.d = v; + break; + case LEAK_MEMBER: + entry->u.m = v; + break; + case LEAK_DIGEST: + entry->u.dig = v; + break; + case LEAK_RUNAS: + entry->u.rc = v; + break; + case LEAK_PTR: + entry->u.ptr = v; + break; + default: + free(entry); + sudo_warnx("unexpected leak type %d", type); + debug_return_bool(false); + } + entry->type = type; + SLIST_INSERT_HEAD(&parser_leak_list, entry, entries); + debug_return_bool(true); +#else + return true; +#endif /* NO_LEAKS */ +} + +bool +parser_leak_remove(enum parser_leak_types type, void *v) +{ +#ifdef NO_LEAKS + struct parser_leak_entry *entry, *prev = NULL; + debug_decl(parser_leak_remove, SUDOERS_DEBUG_PARSER); + + if (v == NULL) + debug_return_bool(false); + + SLIST_FOREACH(entry, &parser_leak_list, entries) { + switch (entry->type) { + case LEAK_PRIVILEGE: + if (entry->u.p == v) + goto found; + break; + case LEAK_CMNDSPEC: + if (entry->u.cs == v) + goto found; + break; + case LEAK_DEFAULTS: + if (entry->u.d == v) + goto found; + break; + case LEAK_MEMBER: + if (entry->u.m == v) + goto found; + break; + case LEAK_DIGEST: + if (entry->u.dig == v) + goto found; + break; + case LEAK_RUNAS: + if (entry->u.rc == v) + goto found; + break; + case LEAK_PTR: + if (entry->u.ptr == v) + goto found; + break; + default: + sudo_warnx("unexpected leak type %d in %p", entry->type, entry); + } + prev = entry; + } + /* If this happens, there is a bug in the leak tracking code. */ + sudo_warnx("%s: unable to find %p, type %d", __func__, v, type); + debug_return_bool(false); +found: + if (prev == NULL) + SLIST_REMOVE_HEAD(&parser_leak_list, entries); + else + SLIST_REMOVE_AFTER(prev, entries); + free(entry); + debug_return_bool(true); +#else + return true; +#endif /* NO_LEAKS */ +} + +#ifdef NO_LEAKS +static void +parser_leak_free(void) +{ + struct parser_leak_entry *entry; + void *next; + debug_decl(parser_leak_run, SUDOERS_DEBUG_PARSER); + + /* Free the leaks. */ + while ((entry = SLIST_FIRST(&parser_leak_list))) { + SLIST_REMOVE_HEAD(&parser_leak_list, entries); + switch (entry->type) { + case LEAK_PRIVILEGE: + { + struct privilege *priv; + + HLTQ_FOREACH_SAFE(priv, entry->u.p, entries, next) + free_privilege(priv); + free(entry); + } + break; + case LEAK_CMNDSPEC: + { + struct cmndspec_list specs; + + HLTQ_TO_TAILQ(&specs, entry->u.cs, entries); + free_cmndspecs(&specs); + free(entry); + } + break; + case LEAK_DEFAULTS: + { + struct defaults_list defs; + + HLTQ_TO_TAILQ(&defs, entry->u.d, entries); + free_defaults(&defs); + free(entry); + } + break; + case LEAK_MEMBER: + { + struct member *m; + + HLTQ_FOREACH_SAFE(m, entry->u.m, entries, next) + free_member(m); + free(entry); + } + break; + case LEAK_DIGEST: + { + struct command_digest *dig; + + HLTQ_FOREACH_SAFE(dig, entry->u.dig, entries, next) { + free(dig->digest_str); + free(dig); + } + free(entry); + } + break; + case LEAK_RUNAS: + { + struct member *m; + + if (entry->u.rc->runasusers != NULL) { + HLTQ_FOREACH_SAFE(m, entry->u.rc->runasusers, entries, next) + free_member(m); + } + if (entry->u.rc->runasgroups != NULL) { + HLTQ_FOREACH_SAFE(m, entry->u.rc->runasgroups, entries, next) + free_member(m); + } + free(entry->u.rc); + free(entry); + break; + } + case LEAK_PTR: + free(entry->u.ptr); + free(entry); + break; + default: + sudo_warnx("unexpected garbage type %d", entry->type); + } + } + + debug_return; +} +#endif /* NO_LEAKS */ + +void +parser_leak_init(void) +{ +#ifdef NO_LEAKS + static bool initialized; + debug_decl(parser_leak_init, SUDOERS_DEBUG_PARSER); + + if (!initialized) { + atexit(parser_leak_free); + initialized = true; + debug_return; + } + + /* Already initialized, free existing leaks. */ + parser_leak_free(); + debug_return; +#endif /* NO_LEAKS */ +} diff --git a/plugins/sudoers/group_plugin.c b/plugins/sudoers/group_plugin.c new file mode 100644 index 0000000..cf46f72 --- /dev/null +++ b/plugins/sudoers/group_plugin.c @@ -0,0 +1,313 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2010-2020, 2022 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include +#include +#include +#include +#include + +#include "sudoers.h" +#include "sudo_dso.h" + +#if defined(HAVE_DLOPEN) || defined(HAVE_SHL_LOAD) + +static void *group_handle; +static struct sudoers_group_plugin *group_plugin; +const char *path_plugin_dir = _PATH_SUDO_PLUGIN_DIR; + +/* + * Check for a fallback path when the original group plugin is not loadable. + * Returns true on success, rewriting path and filling in sb, else false. + */ +static bool +group_plugin_fallback(char *path, size_t pathsize) +{ +#if defined(__LP64__) + char newpath[PATH_MAX]; + bool ret = false; + struct stat sb; + int len; + debug_decl(group_plugin_fallback, SUDOERS_DEBUG_UTIL); + +# if defined(__sun__) || defined(__linux__) + /* + * Solaris uses /lib/64 and /usr/lib/64 for 64-bit libraries. + * Linux may use /lib64 and /usr/lib64 for 64-bit libraries. + * If dirname(path) ends in /lib, try /lib/64 (Solaris) or /lib64 (Linux). + */ +# if defined(__sun__) + const char *lib64 = "lib/64"; +# else + const char *lib64 = "lib64"; +# endif + const char *base, *slash; + int dirlen; + + slash = strrchr(path, '/'); + if (slash == NULL) { + goto done; + } + base = slash + 1; + + /* Collapse consecutive slashes. */ + while (slash > path && slash[-1] == '/') { + slash--; + } + + /* If directory ends in /lib/, try again with /lib/64/ or /lib64/. */ + dirlen = slash - path; + if (dirlen < 4 || strncmp(slash - 4, "/lib", 4) != 0) { + goto done; + } + dirlen -= 4; + len = snprintf(newpath, sizeof(newpath), "%.*s/%s/%s", dirlen, path, lib64, + base); +# else /* !__sun__ && !__linux__ */ + /* + * Multilib not supported, check for a path of the form libfoo64.so. + */ + const char *dot; + int plen; + + dot = strrchr(path, '.'); + if (dot == NULL) { + goto done; + } + plen = dot - path; + + /* If basename(path) doesn't match libfoo64.so, try adding the 64. */ + if (plen >= 2 && strncmp(dot - 2, "64", 2) == 0) { + goto done; + } + len = snprintf(newpath, sizeof(newpath), "%.*s64%s", plen, path, dot); +# endif /* __sun__ || __linux__ */ + if (len < 0 || len >= ssizeof(newpath)) { + errno = ENAMETOOLONG; + goto done; + } + if (stat(newpath, &sb) == -1) { + goto done; + } + if (strlcpy(path, newpath, pathsize) >= pathsize) { + errno = ENAMETOOLONG; + goto done; + } + ret = true; +done: + debug_return_bool(ret); +#else + return false; +#endif /* __LP64__ */ +} + +/* + * Load the specified plugin and run its init function. + * Returns -1 if unable to open the plugin, else it returns + * the value from the plugin's init function. + */ +int +group_plugin_load(const char *plugin_info) +{ + char *args, path[PATH_MAX]; + char **argv = NULL; + int len, rc = -1; + bool retry = true; + debug_decl(group_plugin_load, SUDOERS_DEBUG_UTIL); + + /* + * Fill in .so path and split out args (if any). + */ + if ((args = strpbrk(plugin_info, " \t")) != NULL) { + len = snprintf(path, sizeof(path), "%s%.*s", + (*plugin_info != '/') ? path_plugin_dir : "", + (int)(args - plugin_info), plugin_info); + args++; + } else { + len = snprintf(path, sizeof(path), "%s%s", + (*plugin_info != '/') ? path_plugin_dir : "", plugin_info); + } + if (len < 0 || len >= ssizeof(path)) { + errno = ENAMETOOLONG; + sudo_warn("%s%s", + (*plugin_info != '/') ? path_plugin_dir : "", plugin_info); + goto done; + } + + for (;;) { + group_handle = sudo_dso_load(path, SUDO_DSO_LAZY|SUDO_DSO_GLOBAL); + if (group_handle != NULL) { + break; + } + + if (!retry || !group_plugin_fallback(path, sizeof(path))) { + const char *errstr = sudo_dso_strerror(); + sudo_warnx(U_("unable to load %s: %s"), path, + errstr ? errstr : "unknown error"); + goto done; + } + + /* Retry once with the fallback path. */ + retry = false; + } + + /* Map in symbol from group plugin. */ + group_plugin = sudo_dso_findsym(group_handle, "group_plugin"); + if (group_plugin == NULL) { + sudo_warnx(U_("unable to find symbol \"group_plugin\" in %s"), path); + goto done; + } + + if (SUDO_API_VERSION_GET_MAJOR(group_plugin->version) != GROUP_API_VERSION_MAJOR) { + sudo_warnx(U_("%s: incompatible group plugin major version %d, expected %d"), + path, SUDO_API_VERSION_GET_MAJOR(group_plugin->version), + GROUP_API_VERSION_MAJOR); + goto done; + } + + /* + * Split args into a vector if specified. + */ + if (args != NULL) { + int ac = 0; + bool wasblank = true; + char *cp, *last; + + for (cp = args; *cp != '\0'; cp++) { + if (isblank((unsigned char)*cp)) { + wasblank = true; + } else if (wasblank) { + wasblank = false; + ac++; + } + } + if (ac != 0) { + argv = reallocarray(NULL, ac + 1, sizeof(char *)); + if (argv == NULL) { + sudo_warnx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + goto done; + } + ac = 0; + cp = strtok_r(args, " \t", &last); + while (cp != NULL) { + argv[ac++] = cp; + cp = strtok_r(NULL, " \t", &last); + } + argv[ac] = NULL; + } + } + + rc = (group_plugin->init)(GROUP_API_VERSION, sudo_printf, argv); + +done: + free(argv); + + if (rc != true) { + if (group_handle != NULL) { + sudo_dso_unload(group_handle); + group_handle = NULL; + group_plugin = NULL; + } + } + + debug_return_int(rc); +} + +void +group_plugin_unload(void) +{ + debug_decl(group_plugin_unload, SUDOERS_DEBUG_UTIL); + + if (group_plugin != NULL) { + (group_plugin->cleanup)(); + group_plugin = NULL; + } + if (group_handle != NULL) { + sudo_dso_unload(group_handle); + group_handle = NULL; + } + debug_return; +} + +int +group_plugin_query(const char *user, const char *group, + const struct passwd *pwd) +{ + debug_decl(group_plugin_query, SUDOERS_DEBUG_UTIL); + + if (group_plugin == NULL) + debug_return_int(false); + debug_return_int((group_plugin->query)(user, group, pwd)); +} + +#else /* !HAVE_DLOPEN && !HAVE_SHL_LOAD */ + +/* + * No loadable shared object support. + */ + +int +group_plugin_load(const char *plugin_info) +{ + debug_decl(group_plugin_load, SUDOERS_DEBUG_UTIL); + debug_return_int(false); +} + +void +group_plugin_unload(void) +{ + debug_decl(group_plugin_unload, SUDOERS_DEBUG_UTIL); + debug_return; +} + +int +group_plugin_query(const char *user, const char *group, + const struct passwd *pwd) +{ + debug_decl(group_plugin_query, SUDOERS_DEBUG_UTIL); + debug_return_int(false); +} + +#endif /* HAVE_DLOPEN || HAVE_SHL_LOAD */ + +/* + * Group plugin sudoers callback. + */ +bool +cb_group_plugin(const char *file, int line, int column, + const union sudo_defs_val *sd_un, int op) +{ + bool rc = true; + debug_decl(cb_group_plugin, SUDOERS_DEBUG_PLUGIN); + + /* Unload any existing group plugin before loading a new one. */ + group_plugin_unload(); + if (sd_un->str != NULL) + rc = group_plugin_load(sd_un->str); + debug_return_bool(rc); +} diff --git a/plugins/sudoers/ins_2001.h b/plugins/sudoers/ins_2001.h new file mode 100644 index 0000000..d2ce989 --- /dev/null +++ b/plugins/sudoers/ins_2001.h @@ -0,0 +1,35 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1996, 1998, 1999 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#ifndef SUDOERS_INS_2001_H +#define SUDOERS_INS_2001_H + + /* + * HAL insults (paraphrased) from 2001. + */ + + "Just what do you think you're doing Dave?", + "It can only be attributed to human error.", + "That's something I cannot allow to happen.", + "My mind is going. I can feel it.", + "Sorry about this, I know it's a bit silly.", + "Take a stress pill and think things over.", + "This mission is too important for me to allow you to jeopardize it.", + "I feel much better now.", + +#endif /* SUDOERS_INS_2001_H */ diff --git a/plugins/sudoers/ins_classic.h b/plugins/sudoers/ins_classic.h new file mode 100644 index 0000000..08d54d7 --- /dev/null +++ b/plugins/sudoers/ins_classic.h @@ -0,0 +1,39 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1996, 1998, 1999 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#ifndef SUDOERS_INS_CLASSIC_H +#define SUDOERS_INS_CLASSIC_H + + /* + * Insults from the original sudo(8). + */ + + "Wrong! You cheating scum!", +#ifndef OFFENSIVE_INSULTS + "And you call yourself a Rocket Scientist!", +#else + "No soap, honkie-lips.", +#endif + "Where did you learn to type?", + "Are you on drugs?", + "My pet ferret can type better than you!", + "You type like i drive.", + "Do you think like you type?", + "Your mind just hasn't been the same since the electro-shock, has it?", + +#endif /* SUDOERS_INS_CLASSIC_H */ diff --git a/plugins/sudoers/ins_csops.h b/plugins/sudoers/ins_csops.h new file mode 100644 index 0000000..fe66cfa --- /dev/null +++ b/plugins/sudoers/ins_csops.h @@ -0,0 +1,41 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1996, 1998, 1999, 2004 + * Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#ifndef SUDOERS_INS_CSOPS_H +#define SUDOERS_INS_CSOPS_H + + /* + * CSOps insults (may be site dependent). + */ + + "Maybe if you used more than just two fingers...", + "BOB says: You seem to have forgotten your passwd, enter another!", + "stty: unknown mode: doofus", + "I can't hear you -- I'm using the scrambler.", + "The more you drive -- the dumber you get.", +#ifdef PC_INSULTS + "Listen, broccoli brains, I don't have time to listen to this trash.", +#else + "Listen, burrito brains, I don't have time to listen to this trash.", +#endif + "I've seen penguins that can type better than that.", + "Have you considered trying to match wits with a rutabaga?", + "You speak an infinite deal of nothing", + +#endif /* SUDOERS_INS_CSOPS_H */ diff --git a/plugins/sudoers/ins_goons.h b/plugins/sudoers/ins_goons.h new file mode 100644 index 0000000..34df45b --- /dev/null +++ b/plugins/sudoers/ins_goons.h @@ -0,0 +1,50 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1996, 1998, 1999 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#ifndef SUDOERS_INS_GOONS_H +#define SUDOERS_INS_GOONS_H + + /* + * Insults from the "Goon Show." + */ + + "You silly, twisted boy you.", + "He has fallen in the water!", + "We'll all be murdered in our beds!", + "You can't come in. Our tiger has got flu", + "I don't wish to know that.", + "What, what, what, what, what, what, what, what, what, what?", + "You can't get the wood, you know.", + "You'll starve!", + "... and it used to be so popular...", + "Pauses for audience applause, not a sausage", + "Hold it up to the light --- not a brain in sight!", + "Have a gorilla...", + "There must be cure for it!", + "There's a lot of it about, you know.", + "You do that again and see what happens...", + "Ying Tong Iddle I Po", + "Harm can come to a young lad like that!", + "And with that remarks folks, the case of the Crown vs yourself was proven.", + "Speak English you fool --- there are no subtitles in this scene.", + "You gotta go owwwww!", + "I have been called worse.", + "It's only your word against mine.", + "I think ... err ... I think ... I think I'll go home", + +#endif /* SUDOERS_INS_GOONS_H */ diff --git a/plugins/sudoers/ins_python.h b/plugins/sudoers/ins_python.h new file mode 100644 index 0000000..16088f3 --- /dev/null +++ b/plugins/sudoers/ins_python.h @@ -0,0 +1,39 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2018 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#ifndef SUDOERS_INS_PYTHON_H +#define SUDOERS_INS_PYTHON_H + + /* + * Insults from "Monty Python's Flying Circus" and family. + */ + + "That is no basis for supreme executive power!", + "You empty-headed animal food trough wiper!", + "I fart in your general direction!", + "Your mother was a hamster and your father smelt of elderberries!", + "You must cut down the mightiest tree in the forest... with... a herring!", + "I wave my private parts at your aunties!", + "He's not the Messiah, he's a very naughty boy!", + "I wish to make a complaint.", + "When you're walking home tonight, and some homicidal maniac comes after you with a bunch of loganberries, don't come crying to me!", + "This man, he doesn't know when he's beaten! He doesn't know when he's winning, either. He has no... sort of... sensory apparatus...", + "There's nothing wrong with you that an expensive operation can't prolong.", + "I'm very sorry, but I'm not allowed to argue unless you've paid.", + +#endif /* SUDOERS_INS_PYTHON_H */ diff --git a/plugins/sudoers/insults.h b/plugins/sudoers/insults.h new file mode 100644 index 0000000..752d7e6 --- /dev/null +++ b/plugins/sudoers/insults.h @@ -0,0 +1,69 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1994-1996, 1998-1999, 2004 + * Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#ifndef SUDOERS_INSULTS_H +#define SUDOERS_INSULTS_H + +#if defined(HAL_INSULTS) || defined(GOONS_INSULTS) || defined(CLASSIC_INSULTS) || defined(CSOPS_INSULTS) || defined(PYTHON_INSULTS) + +#include "sudo_rand.h" + +/* + * Use one or more set of insults as determined by configure + */ + +const char *insults[] = { + +# ifdef HAL_INSULTS +# include "ins_2001.h" +# endif + +# ifdef GOONS_INSULTS +# include "ins_goons.h" +# endif + +# ifdef CLASSIC_INSULTS +# include "ins_classic.h" +# endif + +# ifdef CSOPS_INSULTS +# include "ins_csops.h" +# endif + +# ifdef PYTHON_INSULTS +# include "ins_python.h" +# endif + + NULL + +}; + +/* + * How may I insult you? Let me count the ways... + */ +#define NOFINSULTS (nitems(insults) - 1) + +/* + * return a pseudo-random insult. + */ +#define INSULT (insults[arc4random_uniform(NOFINSULTS)]) + +#endif /* HAL_INSULTS || GOONS_INSULTS || CLASSIC_INSULTS || CSOPS_INSULTS || PYTHON_INSULTS */ + +#endif /* SUDOERS_INSULTS_H */ diff --git a/plugins/sudoers/interfaces.c b/plugins/sudoers/interfaces.c new file mode 100644 index 0000000..b60f2a6 --- /dev/null +++ b/plugins/sudoers/interfaces.c @@ -0,0 +1,134 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2010-2016 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include +#include +#include +#include +#include +#ifdef NEED_RESOLV_H +# include +# include +#endif /* NEED_RESOLV_H */ +#include +#include + +#include "sudoers.h" +#include "interfaces.h" + +static struct interface_list interfaces = SLIST_HEAD_INITIALIZER(interfaces); + +/* + * Parse a space-delimited list of IP address/netmask pairs and + * store in a list of interface structures. Returns true on + * success and false on parse error or memory allocation error. + */ +bool +set_interfaces(const char *ai) +{ + char *addrinfo, *addr, *mask, *last; + struct interface *ifp; + bool ret = false; + debug_decl(set_interfaces, SUDOERS_DEBUG_NETIF); + + if ((addrinfo = strdup(ai)) == NULL) + debug_return_bool(false); + for (addr = strtok_r(addrinfo, " \t", &last); addr != NULL; addr = strtok_r(NULL, " \t", &last)) { + /* Separate addr and mask. */ + if ((mask = strchr(addr, '/')) == NULL) + continue; + *mask++ = '\0'; + + /* Parse addr and store in list. */ + if ((ifp = calloc(1, sizeof(*ifp))) == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + goto done; + } + if (strchr(addr, ':')) { + /* IPv6 */ +#ifdef HAVE_STRUCT_IN6_ADDR + ifp->family = AF_INET6; + if (inet_pton(AF_INET6, addr, &ifp->addr.ip6) != 1) { + sudo_warnx(U_("unable to parse IP address \"%s\""), addr); + free(ifp); + goto done; + } + if (inet_pton(AF_INET6, mask, &ifp->netmask.ip6) != 1) { + sudo_warnx(U_("unable to parse netmask \"%s\""), mask); + free(ifp); + goto done; + } +#else + free(ifp); + continue; +#endif + } else { + /* IPv4 */ + ifp->family = AF_INET; + if (inet_pton(AF_INET, addr, &ifp->addr.ip4) != 1) { + sudo_warnx(U_("unable to parse IP address \"%s\""), addr); + free(ifp); + goto done; + } + if (inet_pton(AF_INET, mask, &ifp->netmask.ip4) != 1) { + sudo_warnx(U_("unable to parse netmask \"%s\""), mask); + free(ifp); + goto done; + } + } + SLIST_INSERT_HEAD(&interfaces, ifp, entries); + } + ret = true; + +done: + free(addrinfo); + debug_return_bool(ret); +} + +struct interface_list * +get_interfaces(void) +{ + return &interfaces; +} + +void +dump_interfaces(const char *ai) +{ + const char *cp, *ep; + const char *ai_end = ai + strlen(ai); + debug_decl(set_interfaces, SUDOERS_DEBUG_NETIF); + + sudo_printf(SUDO_CONV_INFO_MSG, + _("Local IP address and netmask pairs:\n")); + cp = sudo_strsplit(ai, ai_end, " \t", &ep); + while (cp != NULL) { + sudo_printf(SUDO_CONV_INFO_MSG, "\t%.*s\n", (int)(ep - cp), cp); + cp = sudo_strsplit(NULL, ai_end, " \t", &ep); + } + + debug_return; +} diff --git a/plugins/sudoers/interfaces.h b/plugins/sudoers/interfaces.h new file mode 100644 index 0000000..49cca72 --- /dev/null +++ b/plugins/sudoers/interfaces.h @@ -0,0 +1,57 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1996, 1998-2005, 2007, 2010-2013 + * Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Sponsored in part by the Defense Advanced Research Projects + * Agency (DARPA) and Air Force Research Laboratory, Air Force + * Materiel Command, USAF, under agreement number F39502-99-1-0512. + */ + +#ifndef SUDOERS_INTERFACES_H +#define SUDOERS_INTERFACES_H + +/* + * Union to hold either strucr in_addr or in6_add + */ +union sudo_in_addr_un { + struct in_addr ip4; +#ifdef HAVE_STRUCT_IN6_ADDR + struct in6_addr ip6; +#endif +}; + +/* + * IP address and netmask pairs for checking against local interfaces. + */ +struct interface { + SLIST_ENTRY(interface) entries; + unsigned int family; /* AF_INET or AF_INET6 */ + union sudo_in_addr_un addr; + union sudo_in_addr_un netmask; +}; + +SLIST_HEAD(interface_list, interface); + +/* + * Prototypes for external functions. + */ +int get_net_ifs(char **addrinfo); +void dump_interfaces(const char *); +bool set_interfaces(const char *); +struct interface_list *get_interfaces(void); + +#endif /* SUDOERS_INTERFACES_H */ diff --git a/plugins/sudoers/iolog.c b/plugins/sudoers/iolog.c new file mode 100644 index 0000000..ec93698 --- /dev/null +++ b/plugins/sudoers/iolog.c @@ -0,0 +1,1367 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2009-2022 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "sudoers.h" +#include "sudo_eventlog.h" +#include "sudo_iolog.h" +#include "strlist.h" +#ifdef SUDOERS_LOG_CLIENT +# include "log_client.h" +#endif + +static struct iolog_file iolog_files[] = { + { false }, /* IOFD_STDIN */ + { false }, /* IOFD_STDOUT */ + { false }, /* IOFD_STDERR */ + { false }, /* IOFD_TTYIN */ + { false }, /* IOFD_TTYOUT */ + { true, }, /* IOFD_TIMING */ +}; + +static struct sudoers_io_operations { + int (*open)(struct timespec *now); + void (*close)(int exit_status, int error, const char **errstr); + int (*log)(int event, const char *buf, unsigned int len, + struct timespec *delay, const char **errstr); + int (*change_winsize)(unsigned int lines, unsigned int cols, + struct timespec *delay, const char **errstr); + int (*suspend)(const char *signame, struct timespec *delay, + const char **errstr); +} io_operations; + +static struct log_details iolog_details; +static bool warned = false; +static bool log_passwords = true; +static int iolog_dir_fd = -1; +static struct timespec last_time; +static void *passprompt_regex_handle; +static void sudoers_io_setops(void); + +/* sudoers_io is declared at the end of this file. */ +extern sudo_dso_public struct io_plugin sudoers_io; + +/* + * Sudoers callback for maxseq Defaults setting. + */ +bool +cb_maxseq(const char *file, int line, int column, + const union sudo_defs_val *sd_un, int op) +{ + const char *errstr; + unsigned int value; + debug_decl(cb_maxseq, SUDOERS_DEBUG_UTIL); + + value = sudo_strtonum(sd_un->str, 0, SESSID_MAX, &errstr); + if (errstr != NULL) { + if (errno != ERANGE) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "bad maxseq: %s: %s", sd_un->str, errstr); + debug_return_bool(false); + } + /* Out of range, clamp to SESSID_MAX as documented. */ + value = SESSID_MAX; + } + iolog_set_maxseq(value); + debug_return_bool(true); +} + +/* + * Sudoers callback for iolog_user Defaults setting. + */ +bool +cb_iolog_user(const char *file, int line, int column, + const union sudo_defs_val *sd_un, int op) +{ + const char *name = sd_un->str; + struct passwd *pw; + debug_decl(cb_iolog_user, SUDOERS_DEBUG_UTIL); + + /* NULL name means reset to default. */ + if (name == NULL) { + iolog_set_owner(ROOT_UID, ROOT_GID); + } else { + if ((pw = sudo_getpwnam(name)) == NULL) { + log_warningx(SLOG_SEND_MAIL, N_("unknown user %s"), name); + debug_return_bool(false); + } + iolog_set_owner(pw->pw_uid, pw->pw_gid); + sudo_pw_delref(pw); + } + + debug_return_bool(true); +} + +/* + * Look up I/O log group-ID from group name. + */ +bool +cb_iolog_group(const char *file, int line, int column, + const union sudo_defs_val *sd_un, int op) +{ + const char *name = sd_un->str; + struct group *gr; + debug_decl(cb_iolog_group, SUDOERS_DEBUG_UTIL); + + /* NULL name means reset to default. */ + if (name == NULL) { + iolog_set_gid(ROOT_GID); + } else { + if ((gr = sudo_getgrnam(name)) == NULL) { + log_warningx(SLOG_SEND_MAIL, N_("unknown group %s"), name); + debug_return_bool(false); + } + iolog_set_gid(gr->gr_gid); + sudo_gr_delref(gr); + } + + debug_return_bool(true); +} + +/* + * Sudoers callback for iolog_mode Defaults setting. + */ +bool +cb_iolog_mode(const char *file, int line, int column, + const union sudo_defs_val *sd_un, int op) +{ + iolog_set_mode(sd_un->mode); + return true; +} + +/* + * Make a shallow copy of a NULL-terminated argument or environment vector. + * Only the outer array is allocated, the pointers inside are copied. + * The caller is responsible for freeing the returned copy. + */ +static char ** +copy_vector_shallow(char * const *vec) +{ + char **copy; + size_t len; + debug_decl(copy_vector, SUDOERS_DEBUG_UTIL); + + for (len = 0; vec[len] != NULL; len++) + continue; + + if ((copy = reallocarray(NULL, len + 1, sizeof(char *))) != NULL) { + for (len = 0; vec[len] != NULL; len++) + copy[len] = vec[len]; + copy[len] = NULL; + } + + debug_return_ptr(copy); +} + +static void +free_iolog_details(void) +{ + debug_decl(free_iolog_details, SUDOERS_DEBUG_PLUGIN); + + if (iolog_details.evlog != NULL) { + /* We only make a shallow copy of argv and envp. */ + free(iolog_details.evlog->argv); + iolog_details.evlog->argv = NULL; + free(iolog_details.evlog->envp); + iolog_details.evlog->envp = NULL; + eventlog_free(iolog_details.evlog); + } + str_list_free(iolog_details.log_servers); +#if defined(HAVE_OPENSSL) + free(iolog_details.ca_bundle); + free(iolog_details.cert_file); + free(iolog_details.key_file); +#endif /* HAVE_OPENSSL */ + + debug_return; +} + +/* + * Convert a comma-separated list to a string list. + */ +static struct sudoers_str_list * +deserialize_stringlist(const char *s) +{ + struct sudoers_str_list *strlist; + struct sudoers_string *str; + const char *s_end = s + strlen(s); + const char *cp, *ep; + debug_decl(deserialize_stringlist, SUDOERS_DEBUG_UTIL); + + if ((strlist = str_list_alloc()) == NULL) + debug_return_ptr(NULL); + + for (cp = sudo_strsplit(s, s_end, ",", &ep); cp != NULL; + cp = sudo_strsplit(NULL, s_end, ",", &ep)) { + if (cp == ep) + continue; + if ((str = malloc(sizeof(*str))) == NULL) + goto bad; + if ((str->str = strndup(cp, (ep - cp))) == NULL) { + free(str); + goto bad; + } + unescape_string(str->str); + STAILQ_INSERT_TAIL(strlist, str, entries); + } + if (STAILQ_EMPTY(strlist)) + goto bad; + + debug_return_ptr(strlist); + +bad: + str_list_free(strlist); + debug_return_ptr(NULL); +} + +/* + * Set passprompt regex filter based on a comma-separated string. + * Returns a passprompt regex handle pointer. + */ +static void * +set_passprompt_regex(const char *cstr) +{ + void *handle; + char *cp, *str, *last = NULL; + debug_decl(set_passprompt_regex, SUDOERS_DEBUG_UTIL); + + handle = iolog_pwfilt_alloc(); + str = strdup(cstr); + if (handle == NULL || str == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + goto bad; + } + + for ((cp = strtok_r(str, ",", &last)); cp != NULL; + (cp = strtok_r(NULL, ",", &last))) { + unescape_string(cp); + if (!iolog_pwfilt_add(handle, cp)) + goto bad; + } + + free(str); + debug_return_ptr(handle); +bad: + free(str); + iolog_pwfilt_free(handle); + debug_return_ptr(NULL); +} + +/* + * Pull out I/O log related data from user_info and command_info arrays. + * Returns true if I/O logging is enabled, false if not and -1 on error. + */ +static int +iolog_deserialize_info(struct log_details *details, char * const user_info[], + char * const command_info[], char * const argv[], char * const user_env[]) +{ + struct eventlog *evlog; + const char *runas_uid_str = "0", *runas_euid_str = NULL; + const char *runas_gid_str = "0", *runas_egid_str = NULL; + const char *errstr; + char idbuf[MAX_UID_T_LEN + 2]; + char * const *cur; + struct passwd *pw; + struct group *gr; + id_t id; + debug_decl(iolog_deserialize_info, SUDOERS_DEBUG_UTIL); + + if ((evlog = calloc(1, sizeof(*evlog))) == NULL) + goto oom; + details->evlog = evlog; + + evlog->lines = 24; + evlog->columns = 80; + evlog->runuid = ROOT_UID; + evlog->rungid = 0; + sudo_gettime_real(&evlog->submit_time); + + for (cur = user_info; *cur != NULL; cur++) { + switch (**cur) { + case 'c': + if (strncmp(*cur, "cols=", sizeof("cols=") - 1) == 0) { + int n = sudo_strtonum(*cur + sizeof("cols=") - 1, 1, INT_MAX, + NULL); + if (n > 0) + evlog->columns = n; + continue; + } + if (strncmp(*cur, "cwd=", sizeof("cwd=") - 1) == 0) { + free(evlog->cwd); + evlog->cwd = strdup(*cur + sizeof("cwd=") - 1); + if (evlog->cwd == NULL) + goto oom; + continue; + } + break; + case 'h': + if (strncmp(*cur, "host=", sizeof("host=") - 1) == 0) { + free(evlog->submithost); + evlog->submithost = strdup(*cur + sizeof("host=") - 1); + if (evlog->submithost == NULL) + goto oom; + continue; + } + break; + case 'l': + if (strncmp(*cur, "lines=", sizeof("lines=") - 1) == 0) { + int n = sudo_strtonum(*cur + sizeof("lines=") - 1, 1, INT_MAX, + NULL); + if (n > 0) + evlog->lines = n; + continue; + } + break; + case 't': + if (strncmp(*cur, "tty=", sizeof("tty=") - 1) == 0) { + free(evlog->ttyname); + evlog->ttyname = strdup(*cur + sizeof("tty=") - 1); + if (evlog->ttyname == NULL) + goto oom; + continue; + } + break; + case 'u': + if (strncmp(*cur, "user=", sizeof("user=") - 1) == 0) { + free(evlog->submituser); + evlog->submituser = strdup(*cur + sizeof("user=") - 1); + if (evlog->submituser == NULL) + goto oom; + continue; + } + break; + } + } + + for (cur = command_info; *cur != NULL; cur++) { + switch (**cur) { + case 'c': + if (strncmp(*cur, "command=", sizeof("command=") - 1) == 0) { + free(evlog->command); + evlog->command = strdup(*cur + sizeof("command=") - 1); + if (evlog->command == NULL) + goto oom; + continue; + } + if (strncmp(*cur, "chroot=", sizeof("chroot=") - 1) == 0) { + free(evlog->runchroot); + evlog->runchroot = strdup(*cur + sizeof("chroot=") - 1); + if (evlog->runchroot == NULL) + goto oom; + continue; + } + break; + case 'i': + if (strncmp(*cur, "ignore_iolog_errors=", sizeof("ignore_iolog_errors=") - 1) == 0) { + if (sudo_strtobool(*cur + sizeof("ignore_iolog_errors=") - 1) == true) + details->ignore_log_errors = true; + continue; + } + if (strncmp(*cur, "iolog_path=", sizeof("iolog_path=") - 1) == 0) { + free(evlog->iolog_path); + evlog->iolog_path = strdup(*cur + sizeof("iolog_path=") - 1); + if (evlog->iolog_path == NULL) + goto oom; + evlog->iolog_file = sudo_basename(evlog->iolog_path); + continue; + } + if (strncmp(*cur, "iolog_stdin=", sizeof("iolog_stdin=") - 1) == 0) { + if (sudo_strtobool(*cur + sizeof("iolog_stdin=") - 1) == true) + iolog_files[IOFD_STDIN].enabled = true; + continue; + } + if (strncmp(*cur, "iolog_stdout=", sizeof("iolog_stdout=") - 1) == 0) { + if (sudo_strtobool(*cur + sizeof("iolog_stdout=") - 1) == true) + iolog_files[IOFD_STDOUT].enabled = true; + continue; + } + if (strncmp(*cur, "iolog_stderr=", sizeof("iolog_stderr=") - 1) == 0) { + if (sudo_strtobool(*cur + sizeof("iolog_stderr=") - 1) == true) + iolog_files[IOFD_STDERR].enabled = true; + continue; + } + if (strncmp(*cur, "iolog_ttyin=", sizeof("iolog_ttyin=") - 1) == 0) { + if (sudo_strtobool(*cur + sizeof("iolog_ttyin=") - 1) == true) + iolog_files[IOFD_TTYIN].enabled = true; + continue; + } + if (strncmp(*cur, "iolog_ttyout=", sizeof("iolog_ttyout=") - 1) == 0) { + if (sudo_strtobool(*cur + sizeof("iolog_ttyout=") - 1) == true) + iolog_files[IOFD_TTYOUT].enabled = true; + continue; + } + if (strncmp(*cur, "iolog_compress=", sizeof("iolog_compress=") - 1) == 0) { + int val = sudo_strtobool(*cur + sizeof("iolog_compress=") - 1); + if (val != -1) { + iolog_set_compress(val); + } else { + sudo_debug_printf(SUDO_DEBUG_WARN, + "%s: unable to parse %s", __func__, *cur); + } + continue; + } + if (strncmp(*cur, "iolog_flush=", sizeof("iolog_flush=") - 1) == 0) { + int val = sudo_strtobool(*cur + sizeof("iolog_flush=") - 1); + if (val != -1) { + iolog_set_flush(val); + } else { + sudo_debug_printf(SUDO_DEBUG_WARN, + "%s: unable to parse %s", __func__, *cur); + } + continue; + } + if (strncmp(*cur, "iolog_mode=", sizeof("iolog_mode=") - 1) == 0) { + mode_t mode = sudo_strtomode(*cur + sizeof("iolog_mode=") - 1, &errstr); + if (errstr == NULL) { + iolog_set_mode(mode); + } else { + sudo_debug_printf(SUDO_DEBUG_WARN, + "%s: unable to parse %s", __func__, *cur); + } + continue; + } + if (strncmp(*cur, "iolog_group=", sizeof("iolog_group=") - 1) == 0) { + gr = sudo_getgrnam(*cur + sizeof("iolog_group=") - 1); + if (gr == NULL) { + sudo_debug_printf(SUDO_DEBUG_WARN, "%s: unknown group %s", + __func__, *cur + sizeof("iolog_group=") - 1); + } else { + iolog_set_gid(gr->gr_gid); + sudo_gr_delref(gr); + } + continue; + } + if (strncmp(*cur, "iolog_user=", sizeof("iolog_user=") - 1) == 0) { + pw = sudo_getpwnam(*cur + sizeof("iolog_user=") - 1); + if (pw == NULL) { + sudo_debug_printf(SUDO_DEBUG_WARN, "%s: unknown user %s", + __func__, *cur + sizeof("iolog_user=") - 1); + } else { + iolog_set_owner(pw->pw_uid, pw->pw_gid); + sudo_pw_delref(pw); + } + continue; + } + break; + case 'l': + if (strncmp(*cur, "log_passwords=", sizeof("log_passwords=") - 1) == 0) { + int val = sudo_strtobool(*cur + sizeof("log_passwords=") - 1); + if (val != -1) { + log_passwords = val; + } else { + sudo_debug_printf(SUDO_DEBUG_WARN, + "%s: unable to parse %s", __func__, *cur); + } + continue; + } + if (strncmp(*cur, "log_servers=", sizeof("log_servers=") - 1) == 0) { + details->log_servers = + deserialize_stringlist(*cur + sizeof("log_servers=") - 1); + if (!details->log_servers) + goto oom; + continue; + } + if (strncmp(*cur, "log_server_timeout=", sizeof("log_server_timeout=") - 1) == 0) { + details->server_timeout.tv_sec = + sudo_strtonum(*cur + sizeof("log_server_timeout=") - 1, 1, + TIME_T_MAX, NULL); + continue; + } + if (strncmp(*cur, "log_server_keepalive=", sizeof("log_server_keepalive=") - 1) == 0) { + int val = sudo_strtobool(*cur + sizeof("log_server_keepalive=") - 1); + if (val != -1) { + details->keepalive = val; + } else { + sudo_debug_printf(SUDO_DEBUG_WARN, + "%s: unable to parse %s", __func__, *cur); + } + continue; + } +#if defined(HAVE_OPENSSL) + if (strncmp(*cur, "log_server_cabundle=", sizeof("log_server_cabundle=") - 1) == 0) { + free(details->ca_bundle); + details->ca_bundle = strdup(*cur + sizeof("log_server_cabundle=") - 1); + if (details->ca_bundle == NULL) + goto oom; + continue; + } + if (strncmp(*cur, "log_server_peer_cert=", sizeof("log_server_peer_cert=") - 1) == 0) { + free(details->cert_file); + details->cert_file = strdup(*cur + sizeof("log_server_peer_cert=") - 1); + if (details->cert_file == NULL) + goto oom; + continue; + } + if (strncmp(*cur, "log_server_peer_key=", sizeof("log_server_peer_key=") - 1) == 0) { + free(details->key_file); + details->key_file = strdup(*cur + sizeof("log_server_peer_key=") - 1); + if (details->key_file == NULL) + goto oom; + continue; + } + if (strncmp(*cur, "log_server_verify=", sizeof("log_server_verify=") - 1) == 0) { + int val = sudo_strtobool(*cur + sizeof("log_server_verify=") - 1); + if (val != -1) { + details->verify_server = val; + } else { + sudo_debug_printf(SUDO_DEBUG_WARN, + "%s: unable to parse %s", __func__, *cur); + } + continue; + } +#endif /* HAVE_OPENSSL */ + break; + case 'm': + if (strncmp(*cur, "maxseq=", sizeof("maxseq=") - 1) == 0) { + union sudo_defs_val sd_un; + sd_un.str = *cur + sizeof("maxseq=") - 1; + cb_maxseq("policy", -1, -1, &sd_un, true); + continue; + } + break; + case 'p': + if (strncmp(*cur, "passprompt_regex=", sizeof("passprompt_regex=") - 1) == 0) { + iolog_pwfilt_free(passprompt_regex_handle); + passprompt_regex_handle = + set_passprompt_regex(*cur + sizeof("passprompt_regex=") - 1); + if (passprompt_regex_handle == NULL) + debug_return_int(-1); + } + break; + case 'r': + if (strncmp(*cur, "runas_gid=", sizeof("runas_gid=") - 1) == 0) { + runas_gid_str = *cur + sizeof("runas_gid=") - 1; + continue; + } + if (strncmp(*cur, "runas_egid=", sizeof("runas_egid=") - 1) == 0) { + runas_egid_str = *cur + sizeof("runas_egid=") - 1; + continue; + } + if (strncmp(*cur, "runas_uid=", sizeof("runas_uid=") - 1) == 0) { + runas_uid_str = *cur + sizeof("runas_uid=") - 1; + continue; + } + if (strncmp(*cur, "runas_euid=", sizeof("runas_euid=") - 1) == 0) { + runas_euid_str = *cur + sizeof("runas_euid=") - 1; + continue; + } + if (strncmp(*cur, "runcwd=", sizeof("runcwd=") - 1) == 0) { + free(evlog->runcwd); + evlog->runcwd = strdup(*cur + sizeof("runcwd=") - 1); + if (evlog->runcwd == NULL) + goto oom; + continue; + } + break; + } + } + + if (argv != NULL) { + evlog->argv = copy_vector_shallow(argv); + if (evlog->argv == NULL) + goto oom; + } + if (user_env != NULL) { + evlog->envp = copy_vector_shallow(user_env); + if (evlog->envp == NULL) + goto oom; + } + + /* + * Lookup runas user and group, preferring effective over real uid/gid. + */ + if (runas_euid_str != NULL) + runas_uid_str = runas_euid_str; + if (runas_uid_str != NULL) { + id = sudo_strtoid(runas_uid_str, &errstr); + if (errstr != NULL) + sudo_warnx("runas uid %s: %s", runas_uid_str, U_(errstr)); + else + evlog->runuid = (uid_t)id; + } + if (runas_egid_str != NULL) + runas_gid_str = runas_egid_str; + if (runas_gid_str != NULL) { + id = sudo_strtoid(runas_gid_str, &errstr); + if (errstr != NULL) + sudo_warnx("runas gid %s: %s", runas_gid_str, U_(errstr)); + else + evlog->rungid = (gid_t)id; + } + + pw = sudo_getpwuid(evlog->runuid); + if (pw != NULL) { + gid_t pw_gid = pw->pw_gid; + free(evlog->runuser); + evlog->runuser = strdup(pw->pw_name); + sudo_pw_delref(pw); + if (evlog->runuser == NULL) + goto oom; + if (evlog->rungid != pw_gid) { + gr = sudo_getgrgid(evlog->rungid); + if (gr != NULL) { + free(evlog->rungroup); + evlog->rungroup = strdup(gr->gr_name); + sudo_gr_delref(gr); + if (evlog->rungroup == NULL) + goto oom; + } else { + idbuf[0] = '#'; + strlcpy(&idbuf[1], runas_gid_str, sizeof(idbuf) - 1); + free(evlog->rungroup); + evlog->rungroup = strdup(idbuf); + if (evlog->rungroup == NULL) + goto oom; + } + } + } else { + idbuf[0] = '#'; + strlcpy(&idbuf[1], runas_uid_str, sizeof(idbuf) - 1); + free(evlog->runuser); + evlog->runuser = strdup(idbuf); + if (evlog->runuser == NULL) + goto oom; + } + + debug_return_int( + iolog_files[IOFD_STDIN].enabled || iolog_files[IOFD_STDOUT].enabled || + iolog_files[IOFD_STDERR].enabled || iolog_files[IOFD_TTYIN].enabled || + iolog_files[IOFD_TTYOUT].enabled); +oom: + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + debug_return_int(-1); +} + +static int +sudoers_io_open_local(struct timespec *now) +{ + struct eventlog *evlog = iolog_details.evlog; + int i, ret = -1; + debug_decl(sudoers_io_open_local, SUDOERS_DEBUG_PLUGIN); + + /* If no I/O log path defined we need to figure it out ourselves. */ + if (evlog->iolog_path == NULL) { + int len; + + /* Get next session ID and convert it into a path. */ + if (!iolog_nextid(_PATH_SUDO_IO_LOGDIR, evlog->sessid)) { + log_warning(SLOG_SEND_MAIL, N_("unable to update sequence file")); + warned = true; + goto done; + } + len = asprintf(&evlog->iolog_path, "%s/%c%c/%c%c/%c%c", + _PATH_SUDO_IO_LOGDIR, + evlog->sessid[0], evlog->sessid[1], evlog->sessid[2], + evlog->sessid[3], evlog->sessid[4], evlog->sessid[5]); + if (len == -1) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + goto done; + } + } + + /* + * Create I/O log path along with any intermediate subdirs. + * Calls mkdtemp() if iolog_path ends in XXXXXX. + */ + if (!iolog_mkpath(evlog->iolog_path)) { + log_warning(SLOG_SEND_MAIL, "%s", evlog->iolog_path); + warned = true; + goto done; + } + + iolog_dir_fd = iolog_openat(AT_FDCWD, evlog->iolog_path, O_RDONLY); + if (iolog_dir_fd == -1) { + log_warning(SLOG_SEND_MAIL, "%s", evlog->iolog_path); + warned = true; + goto done; + } + + /* Write log file with user and command details. */ + if (!iolog_write_info_file(iolog_dir_fd, iolog_details.evlog)) { + log_warningx(SLOG_SEND_MAIL, + N_("unable to write to I/O log file: %s"), strerror(errno)); + warned = true; + goto done; + } + + /* Create the timing and I/O log files. */ + for (i = 0; i < IOFD_MAX; i++) { + if (!iolog_open(&iolog_files[i], iolog_dir_fd, i, "w")) { + log_warning(SLOG_SEND_MAIL, N_("unable to create %s/%s"), + evlog->iolog_path, iolog_fd_to_name(i)); + warned = true; + goto done; + } + } + + ret = true; + +done: + debug_return_int(ret); +} + +#ifdef SUDOERS_LOG_CLIENT +static int +sudoers_io_open_remote(struct timespec *now) +{ + debug_decl(sudoers_io_open_remote, SUDOERS_DEBUG_PLUGIN); + + /* Open connection to log server, send hello and accept messages. */ + client_closure = log_server_open(&iolog_details, now, true, SEND_ACCEPT, + NULL); + if (client_closure != NULL) + debug_return_int(1); + + debug_return_int(-1); +} +#endif /* SUDOERS_LOG_CLIENT */ + +static int +sudoers_io_open(unsigned int version, sudo_conv_t conversation, + sudo_printf_t plugin_printf, char * const settings[], + char * const user_info[], char * const command_info[], + int argc, char * const argv[], char * const user_env[], char * const args[], + const char **errstr) +{ + struct sudo_conf_debug_file_list debug_files = TAILQ_HEAD_INITIALIZER(debug_files); + char * const *cur; + const char *cp, *plugin_path = NULL; + int ret = -1; + debug_decl(sudoers_io_open, SUDOERS_DEBUG_PLUGIN); + + sudo_conv = conversation; + sudo_printf = plugin_printf; + if (sudoers_io.event_alloc != NULL) + plugin_event_alloc = sudoers_io.event_alloc; + + bindtextdomain("sudoers", LOCALEDIR); + + /* Initialize the debug subsystem. */ + for (cur = settings; (cp = *cur) != NULL; cur++) { + if (strncmp(cp, "debug_flags=", sizeof("debug_flags=") - 1) == 0) { + cp += sizeof("debug_flags=") - 1; + if (!sudoers_debug_parse_flags(&debug_files, cp)) + debug_return_int(-1); + continue; + } + if (strncmp(cp, "plugin_path=", sizeof("plugin_path=") - 1) == 0) { + plugin_path = cp + sizeof("plugin_path=") - 1; + continue; + } + } + + if (!sudoers_debug_register(plugin_path, &debug_files)) + goto done; + + /* If we have no command (because -V was specified) just return. */ + if (argc == 0) + debug_return_int(true); + + /* + * Pull iolog settings out of command_info. + */ + ret = iolog_deserialize_info(&iolog_details, user_info, command_info, + argv, user_env); + if (ret != true) + goto done; + + /* Initialize io_operations. */ + sudoers_io_setops(); + + if (sudo_gettime_awake(&last_time) == -1) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_ERRNO, + "%s: unable to get time of day", __func__); + goto done; + } + + /* + * Create local I/O log file or connect to remote log server. + */ + if ((ret = io_operations.open(&last_time)) != true) + goto done; + + /* + * Clear I/O log function pointers for disabled log functions. + */ + if (!iolog_files[IOFD_STDIN].enabled) + sudoers_io.log_stdin = NULL; + if (!iolog_files[IOFD_STDOUT].enabled) + sudoers_io.log_stdout = NULL; + if (!iolog_files[IOFD_STDERR].enabled) + sudoers_io.log_stderr = NULL; + if (!iolog_files[IOFD_TTYIN].enabled) + sudoers_io.log_ttyin = NULL; + if (!iolog_files[IOFD_TTYOUT].enabled) + sudoers_io.log_ttyout = NULL; + +done: + if (ret != true) { + if (iolog_dir_fd != -1) { + close(iolog_dir_fd); + iolog_dir_fd = -1; + } + free_iolog_details(); + sudo_freepwcache(); + sudo_freegrcache(); + } + + /* Ignore errors if they occur if the policy says so. */ + if (ret == -1 && iolog_details.ignore_log_errors) + ret = 0; + + debug_return_int(ret); +} + +static void +sudoers_io_close_local(int exit_status, int error, const char **errstr) +{ + int i; + debug_decl(sudoers_io_close_local, SUDOERS_DEBUG_PLUGIN); + + /* Close the files. */ + for (i = 0; i < IOFD_MAX; i++) { + if (iolog_files[i].fd.v == NULL) + continue; + iolog_close(&iolog_files[i], errstr); + } + + /* Clear write bits from I/O timing file to indicate completion. */ + if (iolog_dir_fd != -1) { + struct stat sb; + if (fstatat(iolog_dir_fd, "timing", &sb, 0) != -1) { + CLR(sb.st_mode, S_IWUSR|S_IWGRP|S_IWOTH); + if (fchmodat(iolog_dir_fd, "timing", sb.st_mode, 0) == -1) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_ERRNO, + "%s: unable to fchmodat timing file", __func__); + } + } + close(iolog_dir_fd); + iolog_dir_fd = -1; + } + + debug_return; +} + +#ifdef SUDOERS_LOG_CLIENT +static void +sudoers_io_close_remote(int exit_status, int error, const char **errstr) +{ + debug_decl(sudoers_io_close_remote, SUDOERS_DEBUG_PLUGIN); + + log_server_close(client_closure, exit_status, error); + client_closure = NULL; + + debug_return; +} +#endif + +static void +sudoers_io_close(int exit_status, int error) +{ + const char *errstr = NULL; + debug_decl(sudoers_io_close, SUDOERS_DEBUG_PLUGIN); + + if (io_operations.close != NULL) + io_operations.close(exit_status, error, &errstr); + + if (errstr != NULL && !warned) { + /* Only warn about I/O log file errors once. */ + log_warningx(SLOG_SEND_MAIL, + N_("unable to write to I/O log file: %s"), errstr); + warned = true; + } + + free_iolog_details(); + sudo_freepwcache(); + sudo_freegrcache(); + iolog_pwfilt_free(passprompt_regex_handle); + passprompt_regex_handle = NULL; + + /* sudoers_debug_deregister() calls sudo_debug_exit() for us. */ + sudoers_debug_deregister(); +} + +static int +sudoers_io_version(int verbose) +{ + debug_decl(sudoers_io_version, SUDOERS_DEBUG_PLUGIN); + + sudo_printf(SUDO_CONV_INFO_MSG, "Sudoers I/O plugin version %s\n", + PACKAGE_VERSION); + + debug_return_int(true); +} + +/* + * Write an I/O log entry to the local file system. + * Returns 1 on success and -1 on error. + * Fills in errstr on error. + */ +static int +sudoers_io_log_local(int event, const char *buf, unsigned int len, + struct timespec *delay, const char **errstr) +{ + struct iolog_file *iol; + char tbuf[1024]; + char *newbuf = NULL; + int ret = -1; + debug_decl(sudoers_io_log_local, SUDOERS_DEBUG_PLUGIN); + + if (event < 0 || event >= IOFD_MAX) { + *errstr = NULL; + sudo_warnx(U_("unexpected I/O event %d"), event); + debug_return_int(-1); + } + iol = &iolog_files[event]; + if (!iol->enabled) { + *errstr = NULL; + sudo_warnx(U_("%s: internal error, I/O log file for event %d not open"), + __func__, event); + debug_return_int(-1); + } + + if (!log_passwords && passprompt_regex_handle != NULL) { + if (!iolog_pwfilt_run(passprompt_regex_handle, event, buf, len, &newbuf)) + debug_return_int(-1); + } + + /* Write I/O log file entry. */ + if (iolog_write(iol, newbuf ? newbuf : buf, len, errstr) == -1) + goto done; + + /* Write timing file entry. */ + len = (unsigned int)snprintf(tbuf, sizeof(tbuf), "%d %lld.%09ld %u\n", + event, (long long)delay->tv_sec, delay->tv_nsec, len); + if (len >= sizeof(tbuf)) { + /* Not actually possible due to the size of tbuf[]. */ + *errstr = strerror(EOVERFLOW); + goto done; + } + if (iolog_write(&iolog_files[IOFD_TIMING], tbuf, len, errstr) == -1) + goto done; + + /* Success. */ + ret = 1; + +done: + free(newbuf); + debug_return_int(ret); +} + +#ifdef SUDOERS_LOG_CLIENT +/* + * Schedule an I/O log entry to be written to the log server. + * Returns 1 on success and -1 on error. + * Fills in errstr on error. + */ +static int +sudoers_io_log_remote(int event, const char *buf, unsigned int len, + struct timespec *delay, const char **errstr) +{ + int type, ret = -1; + debug_decl(sudoers_io_log_remote, SUDOERS_DEBUG_PLUGIN); + + if (client_closure->disabled) + debug_return_int(1); + + /* Track elapsed time for comparison with commit points. */ + sudo_timespecadd(delay, &client_closure->elapsed, &client_closure->elapsed); + + switch (event) { + case IO_EVENT_STDIN: + type = CLIENT_MESSAGE__TYPE_STDIN_BUF; + break; + case IO_EVENT_STDOUT: + type = CLIENT_MESSAGE__TYPE_STDOUT_BUF; + break; + case IO_EVENT_STDERR: + type = CLIENT_MESSAGE__TYPE_STDERR_BUF; + break; + case IO_EVENT_TTYIN: + type = CLIENT_MESSAGE__TYPE_TTYIN_BUF; + break; + case IO_EVENT_TTYOUT: + type = CLIENT_MESSAGE__TYPE_TTYOUT_BUF; + break; + default: + sudo_warnx(U_("unexpected I/O event %d"), event); + goto done; + } + if (fmt_io_buf(client_closure, type, buf, len, delay)) { + ret = client_closure->write_ev->add(client_closure->write_ev, + &iolog_details.server_timeout); + if (ret == -1) + sudo_warn("%s", U_("unable to add event to queue")); + } + +done: + debug_return_int(ret); +} +#endif /* SUDOERS_LOG_CLIENT */ + +/* + * Generic I/O logging function. Called by the I/O logging entry points. + * Returns 1 on success and -1 on error. + */ +static int +sudoers_io_log(const char *buf, unsigned int len, int event, const char **errstr) +{ + struct timespec now, delay; + const char *ioerror = NULL; + int ret = -1; + debug_decl(sudoers_io_log, SUDOERS_DEBUG_PLUGIN); + + if (sudo_gettime_awake(&now) == -1) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_ERRNO, + "%s: unable to get time of day", __func__); + ioerror = N_("unable to read the clock"); + goto bad; + } + sudo_timespecsub(&now, &last_time, &delay); + + ret = io_operations.log(event, buf, len, &delay, &ioerror); + + last_time.tv_sec = now.tv_sec; + last_time.tv_nsec = now.tv_nsec; + +bad: + if (ret == -1) { + if (ioerror != NULL) { + char *cp; + + if (asprintf(&cp, N_("unable to write to I/O log file: %s"), + ioerror) != -1) { + *errstr = cp; + } + if (!warned) { + /* Only warn about I/O log file errors once. */ + log_warningx(SLOG_SEND_MAIL, + N_("unable to write to I/O log file: %s"), ioerror); + warned = true; + } + } + + /* Ignore errors if they occur if the policy says so. */ + if (iolog_details.ignore_log_errors) + ret = 1; + } + + debug_return_int(ret); +} + +static int +sudoers_io_log_stdin(const char *buf, unsigned int len, const char **errstr) +{ + return sudoers_io_log(buf, len, IO_EVENT_STDIN, errstr); +} + +static int +sudoers_io_log_stdout(const char *buf, unsigned int len, const char **errstr) +{ + return sudoers_io_log(buf, len, IO_EVENT_STDOUT, errstr); +} + +static int +sudoers_io_log_stderr(const char *buf, unsigned int len, const char **errstr) +{ + return sudoers_io_log(buf, len, IO_EVENT_STDERR, errstr); +} + +static int +sudoers_io_log_ttyin(const char *buf, unsigned int len, const char **errstr) +{ + return sudoers_io_log(buf, len, IO_EVENT_TTYIN, errstr); +} + +static int +sudoers_io_log_ttyout(const char *buf, unsigned int len, const char **errstr) +{ + return sudoers_io_log(buf, len, IO_EVENT_TTYOUT, errstr); +} + +static int +sudoers_io_change_winsize_local(unsigned int lines, unsigned int cols, + struct timespec *delay, const char **errstr) +{ + char tbuf[1024]; + int len, ret = -1; + debug_decl(sudoers_io_change_winsize_local, SUDOERS_DEBUG_PLUGIN); + + /* Write window change event to the timing file. */ + len = snprintf(tbuf, sizeof(tbuf), "%d %lld.%09ld %u %u\n", + IO_EVENT_WINSIZE, (long long)delay->tv_sec, delay->tv_nsec, + lines, cols); + if (len < 0 || len >= ssizeof(tbuf)) { + /* Not actually possible due to the size of tbuf[]. */ + *errstr = strerror(EOVERFLOW); + goto done; + } + if (iolog_write(&iolog_files[IOFD_TIMING], tbuf, len, errstr) == -1) + goto done; + + /* Success. */ + ret = 1; + +done: + debug_return_int(ret); +} + +#ifdef SUDOERS_LOG_CLIENT +static int +sudoers_io_change_winsize_remote(unsigned int lines, unsigned int cols, + struct timespec *delay, const char **errstr) +{ + int ret = -1; + debug_decl(sudoers_io_change_winsize_remote, SUDOERS_DEBUG_PLUGIN); + + if (client_closure->disabled) + debug_return_int(1); + + /* Track elapsed time for comparison with commit points. */ + sudo_timespecadd(delay, &client_closure->elapsed, &client_closure->elapsed); + + if (fmt_winsize(client_closure, lines, cols, delay)) { + ret = client_closure->write_ev->add(client_closure->write_ev, + &iolog_details.server_timeout); + if (ret == -1) + sudo_warn("%s", U_("unable to add event to queue")); + } + + debug_return_int(ret); +} +#endif /* SUDOERS_LOG_CLIENT */ + +static int +sudoers_io_change_winsize(unsigned int lines, unsigned int cols, const char **errstr) +{ + struct timespec now, delay; + const char *ioerror = NULL; + int ret = -1; + debug_decl(sudoers_io_change_winsize, SUDOERS_DEBUG_PLUGIN); + + if (sudo_gettime_awake(&now) == -1) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_ERRNO, + "%s: unable to get time of day", __func__); + ioerror = N_("unable to read the clock"); + goto bad; + } + sudo_timespecsub(&now, &last_time, &delay); + + ret = io_operations.change_winsize(lines, cols, &delay, &ioerror); + + last_time.tv_sec = now.tv_sec; + last_time.tv_nsec = now.tv_nsec; + +bad: + if (ret == -1) { + if (ioerror != NULL && !warned) { + char *cp; + + if (asprintf(&cp, N_("unable to write to I/O log file: %s"), + ioerror) != -1) { + *errstr = cp; + } + if (!warned) { + /* Only warn about I/O log file errors once. */ + log_warningx(SLOG_SEND_MAIL, + N_("unable to write to I/O log file: %s"), ioerror); + warned = true; + } + } + + /* Ignore errors if they occur if the policy says so. */ + if (iolog_details.ignore_log_errors) + ret = 1; + } + + debug_return_int(ret); +} + +static int +sudoers_io_suspend_local(const char *signame, struct timespec *delay, + const char **errstr) +{ + unsigned int len; + char tbuf[1024]; + int ret = -1; + debug_decl(sudoers_io_suspend_local, SUDOERS_DEBUG_PLUGIN); + + /* Write suspend event to the timing file. */ + len = (unsigned int)snprintf(tbuf, sizeof(tbuf), "%d %lld.%09ld %s\n", + IO_EVENT_SUSPEND, (long long)delay->tv_sec, delay->tv_nsec, signame); + if (len >= sizeof(tbuf)) { + /* Not actually possible due to the size of tbuf[]. */ + *errstr = strerror(EOVERFLOW); + goto done; + } + if (iolog_write(&iolog_files[IOFD_TIMING], tbuf, len, errstr) == -1) + goto done; + + /* Success. */ + ret = 1; + +done: + debug_return_int(ret); +} + +#ifdef SUDOERS_LOG_CLIENT +static int +sudoers_io_suspend_remote(const char *signame, struct timespec *delay, + const char **errstr) +{ + int ret = -1; + debug_decl(sudoers_io_suspend_remote, SUDOERS_DEBUG_PLUGIN); + + if (client_closure->disabled) + debug_return_int(1); + + /* Track elapsed time for comparison with commit points. */ + sudo_timespecadd(delay, &client_closure->elapsed, &client_closure->elapsed); + + if (fmt_suspend(client_closure, signame, delay)) { + ret = client_closure->write_ev->add(client_closure->write_ev, + &iolog_details.server_timeout); + if (ret == -1) + sudo_warn("%s", U_("unable to add event to queue")); + } + + debug_return_int(ret); +} +#endif /* SUDOERS_LOG_CLIENT */ + +static int +sudoers_io_suspend(int signo, const char **errstr) +{ + struct timespec now, delay; + char signame[SIG2STR_MAX]; + const char *ioerror = NULL; + int ret = -1; + debug_decl(sudoers_io_suspend, SUDOERS_DEBUG_PLUGIN); + + if (signo <= 0 || sig2str(signo, signame) == -1) { + sudo_warnx(U_("%s: internal error, invalid signal %d"), + __func__, signo); + debug_return_int(-1); + } + + if (sudo_gettime_awake(&now) == -1) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_ERRNO, + "%s: unable to get time of day", __func__); + ioerror = N_("unable to read the clock"); + goto bad; + } + sudo_timespecsub(&now, &last_time, &delay); + + /* Write suspend event to the timing file. */ + ret = io_operations.suspend(signame, &delay, &ioerror); + + last_time.tv_sec = now.tv_sec; + last_time.tv_nsec = now.tv_nsec; + +bad: + if (ret == -1) { + if (ioerror != NULL && !warned) { + char *cp; + + if (asprintf(&cp, N_("unable to write to I/O log file: %s"), + ioerror) != -1) { + *errstr = cp; + } + if (!warned) { + /* Only warn about I/O log file errors once. */ + log_warningx(SLOG_SEND_MAIL, + N_("unable to write to I/O log file: %s"), ioerror); + warned = true; + } + } + + /* Ignore errors if they occur if the policy says so. */ + if (iolog_details.ignore_log_errors) + ret = 1; + } + + debug_return_int(ret); +} + +/* + * Fill in the contents of io_operations, either local or remote. + */ +static void +sudoers_io_setops(void) +{ + debug_decl(sudoers_io_setops, SUDOERS_DEBUG_PLUGIN); + +#ifdef SUDOERS_LOG_CLIENT + if (plugin_event_alloc != NULL && iolog_details.log_servers != NULL) { + io_operations.open = sudoers_io_open_remote; + io_operations.close = sudoers_io_close_remote; + io_operations.log = sudoers_io_log_remote; + io_operations.change_winsize = sudoers_io_change_winsize_remote; + io_operations.suspend = sudoers_io_suspend_remote; + } else +#endif /* SUDOERS_LOG_CLIENT */ + { + io_operations.open = sudoers_io_open_local; + io_operations.close = sudoers_io_close_local; + io_operations.log = sudoers_io_log_local; + io_operations.change_winsize = sudoers_io_change_winsize_local; + io_operations.suspend = sudoers_io_suspend_local; + } + + debug_return; +} + +sudo_dso_public struct io_plugin sudoers_io = { + SUDO_IO_PLUGIN, + SUDO_API_VERSION, + sudoers_io_open, + sudoers_io_close, + sudoers_io_version, + sudoers_io_log_ttyin, + sudoers_io_log_ttyout, + sudoers_io_log_stdin, + sudoers_io_log_stdout, + sudoers_io_log_stderr, + NULL, /* register_hooks */ + NULL, /* deregister_hooks */ + sudoers_io_change_winsize, + sudoers_io_suspend, + NULL /* event_alloc() filled in by sudo */ +}; diff --git a/plugins/sudoers/iolog_path_escapes.c b/plugins/sudoers/iolog_path_escapes.c new file mode 100644 index 0000000..e32d417 --- /dev/null +++ b/plugins/sudoers/iolog_path_escapes.c @@ -0,0 +1,141 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2011-2015 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include +#include +#include +#include + +#include "sudoers.h" +#include "sudo_iolog.h" + +static size_t +fill_seq(char *str, size_t strsize, void *v) +{ +#ifdef SUDOERS_NO_SEQ + debug_decl(fill_seq, SUDOERS_DEBUG_UTIL); + debug_return_size_t(strlcpy(str, "%{seq}", strsize)); +#else + char *logdir = v; + static char sessid[7]; + int len; + debug_decl(fill_seq, SUDOERS_DEBUG_UTIL); + + if (sessid[0] == '\0') { + if (!iolog_nextid(logdir, sessid)) + debug_return_size_t((size_t)-1); + } + + /* Path is of the form /var/log/sudo-io/00/00/01. */ + len = snprintf(str, strsize, "%c%c/%c%c/%c%c", sessid[0], + sessid[1], sessid[2], sessid[3], sessid[4], sessid[5]); + if (len < 0) + debug_return_size_t(strsize); /* handle non-standard snprintf() */ + debug_return_size_t(len); +#endif /* SUDOERS_NO_SEQ */ +} + +static size_t +fill_user(char *str, size_t strsize, void *unused) +{ + debug_decl(fill_user, SUDOERS_DEBUG_UTIL); + debug_return_size_t(strlcpy(str, user_name, strsize)); +} + +static size_t +fill_group(char *str, size_t strsize, void *unused) +{ + struct group *grp; + size_t len; + debug_decl(fill_group, SUDOERS_DEBUG_UTIL); + + if ((grp = sudo_getgrgid(user_gid)) != NULL) { + len = strlcpy(str, grp->gr_name, strsize); + sudo_gr_delref(grp); + } else { + len = strlen(str); + len = snprintf(str + len, strsize - len, "#%u", + (unsigned int) user_gid); + } + debug_return_size_t(len); +} + +static size_t +fill_runas_user(char *str, size_t strsize, void *unused) +{ + debug_decl(fill_runas_user, SUDOERS_DEBUG_UTIL); + debug_return_size_t(strlcpy(str, runas_pw->pw_name, strsize)); +} + +static size_t +fill_runas_group(char *str, size_t strsize, void *unused) +{ + struct group *grp; + size_t len; + debug_decl(fill_runas_group, SUDOERS_DEBUG_UTIL); + + if (runas_gr != NULL) { + len = strlcpy(str, runas_gr->gr_name, strsize); + } else { + if ((grp = sudo_getgrgid(runas_pw->pw_gid)) != NULL) { + len = strlcpy(str, grp->gr_name, strsize); + sudo_gr_delref(grp); + } else { + len = strlen(str); + len = snprintf(str + len, strsize - len, "#%u", + (unsigned int) runas_pw->pw_gid); + } + } + debug_return_size_t(len); +} + +static size_t +fill_hostname(char *str, size_t strsize, void *unused) +{ + debug_decl(fill_hostname, SUDOERS_DEBUG_UTIL); + debug_return_size_t(strlcpy(str, user_shost, strsize)); +} + +static size_t +fill_command(char *str, size_t strsize, void *unused) +{ + debug_decl(fill_command, SUDOERS_DEBUG_UTIL); + debug_return_size_t(strlcpy(str, user_base, strsize)); +} + +/* Note: "seq" must be first in the list. */ +static const struct iolog_path_escape path_escapes[] = { + { "seq", fill_seq }, + { "user", fill_user }, + { "group", fill_group }, + { "runas_user", fill_runas_user }, + { "runas_group", fill_runas_group }, + { "hostname", fill_hostname }, + { "command", fill_command }, + { NULL, NULL } +}; +const struct iolog_path_escape *sudoers_iolog_path_escapes = path_escapes; diff --git a/plugins/sudoers/ldap.c b/plugins/sudoers/ldap.c new file mode 100644 index 0000000..90aa35e --- /dev/null +++ b/plugins/sudoers/ldap.c @@ -0,0 +1,2154 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2003-2022 Todd C. Miller + * + * This code is derived from software contributed by Aaron Spangler. + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include +#include +#include +#include +#include +#ifdef HAVE_STRINGS_H +# include +#endif /* HAVE_STRINGS_H */ +#include +#include +#include +#include +#include +#include +#include +#ifdef HAVE_LBER_H +# include +#endif +#include +#if defined(HAVE_LDAPSSL_H) +# include +#elif defined(HAVE_LDAP_SSL_H) +# include +#elif defined(HAVE_MPS_LDAP_SSL_H) +# include +#endif +#ifdef HAVE_LDAP_SASL_INTERACTIVE_BIND_S +# ifdef HAVE_SASL_SASL_H +# include +# else +# include +# endif +#endif /* HAVE_LDAP_SASL_INTERACTIVE_BIND_S */ + +#include "sudoers.h" +#include "sudo_lbuf.h" +#include "sudo_ldap.h" +#include "sudo_ldap_conf.h" +#include "sudo_dso.h" + +#ifndef LDAP_OPT_RESULT_CODE +# define LDAP_OPT_RESULT_CODE LDAP_OPT_ERROR_NUMBER +#endif + +#ifndef LDAP_OPT_SUCCESS +# define LDAP_OPT_SUCCESS LDAP_SUCCESS +#endif + +#if defined(HAVE_LDAP_SASL_INTERACTIVE_BIND_S) && !defined(LDAP_SASL_QUIET) +# define LDAP_SASL_QUIET 0 +#endif + +#ifndef HAVE_LDAP_UNBIND_EXT_S +#define ldap_unbind_ext_s(a, b, c) ldap_unbind_s(a) +#endif + +#ifndef HAVE_LDAP_SEARCH_EXT_S +# ifdef HAVE_LDAP_SEARCH_ST +# define ldap_search_ext_s(a, b, c, d, e, f, g, h, i, j, k) \ + ldap_search_st(a, b, c, d, e, f, i, k) +# else +# define ldap_search_ext_s(a, b, c, d, e, f, g, h, i, j, k) \ + ldap_search_s(a, b, c, d, e, f, k) +# endif +#endif + +#define LDAP_FOREACH(var, ld, res) \ + for ((var) = ldap_first_entry((ld), (res)); \ + (var) != NULL; \ + (var) = ldap_next_entry((ld), (var))) + +/* The TIMEFILTER_LENGTH is the length of the filter when timed entries + are used. The length is computed as follows: + 81 for the filter itself + + 2 * 17 for the now timestamp +*/ +#define TIMEFILTER_LENGTH 115 + +/* + * The ldap_search structure implements a linked list of ldap and + * search result pointers, which allows us to remove them after + * all search results have been combined in memory. + */ +struct ldap_search_result { + STAILQ_ENTRY(ldap_search_result) entries; + LDAP *ldap; + LDAPMessage *searchresult; +}; +STAILQ_HEAD(ldap_search_list, ldap_search_result); + +/* + * The ldap_entry_wrapper structure is used to implement sorted result entries. + * A double is used for the order to allow for insertion of new entries + * without having to renumber everything. + * Note: there is no standard floating point type in LDAP. + * As a result, some LDAP servers will only allow an integer. + */ +struct ldap_entry_wrapper { + LDAPMessage *entry; + double order; +}; + +/* + * The ldap_result structure contains the list of matching searches as + * well as an array of all result entries sorted by the sudoOrder attribute. + */ +struct ldap_result { + struct ldap_search_list searches; + struct ldap_entry_wrapper *entries; + unsigned int allocated_entries; + unsigned int nentries; +}; +#define ALLOCATION_INCREMENT 100 + +/* + * The ldap_netgroup structure implements a singly-linked tail queue of + * netgroups a user is a member of when querying netgroups directly. + */ +struct ldap_netgroup { + STAILQ_ENTRY(ldap_netgroup) entries; + char *name; +}; +STAILQ_HEAD(ldap_netgroup_list, ldap_netgroup); + +/* + * LDAP sudo_nss handle. + * We store the connection to the LDAP server and the passwd struct of the + * user the last query was performed for. + */ +struct sudo_ldap_handle { + LDAP *ld; + struct passwd *pw; + struct sudoers_parse_tree parse_tree; +}; + +#ifdef HAVE_LDAP_INITIALIZE +static char * +sudo_ldap_join_uri(struct ldap_config_str_list *uri_list) +{ + struct ldap_config_str *uri; + size_t len = 0; + char *buf = NULL; + debug_decl(sudo_ldap_join_uri, SUDOERS_DEBUG_LDAP); + + STAILQ_FOREACH(uri, uri_list, entries) { + if (ldap_conf.ssl_mode == SUDO_LDAP_STARTTLS) { + if (strncasecmp(uri->val, "ldaps://", 8) == 0) { + sudo_warnx("%s", U_("starttls not supported when using ldaps")); + ldap_conf.ssl_mode = SUDO_LDAP_SSL; + } + } + len += strlen(uri->val) + 1; + } + if (len == 0 || (buf = malloc(len)) == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + } else { + char *cp = buf; + + STAILQ_FOREACH(uri, uri_list, entries) { + cp += strlcpy(cp, uri->val, len - (cp - buf)); + *cp++ = ' '; + } + cp[-1] = '\0'; + } + debug_return_str(buf); +} +#endif /* HAVE_LDAP_INITIALIZE */ + +/* + * Wrapper for ldap_create() or ldap_init() that handles + * SSL/TLS initialization as well. + * Returns LDAP_SUCCESS on success, else non-zero. + */ +static int +sudo_ldap_init(LDAP **ldp, const char *host, int port) +{ + LDAP *ld; + int ret; + debug_decl(sudo_ldap_init, SUDOERS_DEBUG_LDAP); + +#ifdef HAVE_LDAPSSL_INIT + if (ldap_conf.ssl_mode != SUDO_LDAP_CLEAR) { + const int defsecure = ldap_conf.ssl_mode == SUDO_LDAP_SSL; + DPRINTF2("ldapssl_clientauth_init(%s, %s)", + ldap_conf.tls_certfile ? ldap_conf.tls_certfile : "NULL", + ldap_conf.tls_keyfile ? ldap_conf.tls_keyfile : "NULL"); + ret = ldapssl_clientauth_init(ldap_conf.tls_certfile, NULL, + ldap_conf.tls_keyfile != NULL, ldap_conf.tls_keyfile, NULL); + /* + * Starting with version 5.0, Mozilla-derived LDAP SDKs require + * the cert and key paths to be a directory, not a file. + * If the user specified a file and it fails, try the parent dir. + */ + if (ret != LDAP_SUCCESS) { + bool retry = false; + if (ldap_conf.tls_certfile != NULL) { + char *cp = strrchr(ldap_conf.tls_certfile, '/'); + if (cp != NULL && strncmp(cp + 1, "cert", 4) == 0) { + *cp = '\0'; + retry = true; + } + } + if (ldap_conf.tls_keyfile != NULL) { + char *cp = strrchr(ldap_conf.tls_keyfile, '/'); + if (cp != NULL && strncmp(cp + 1, "key", 3) == 0) { + *cp = '\0'; + retry = true; + } + } + if (retry) { + DPRINTF2("retry ldapssl_clientauth_init(%s, %s)", + ldap_conf.tls_certfile ? ldap_conf.tls_certfile : "NULL", + ldap_conf.tls_keyfile ? ldap_conf.tls_keyfile : "NULL"); + ret = ldapssl_clientauth_init(ldap_conf.tls_certfile, NULL, + ldap_conf.tls_keyfile != NULL, ldap_conf.tls_keyfile, NULL); + } + } + if (ret != LDAP_SUCCESS) { + sudo_warnx(U_("unable to initialize SSL cert and key db: %s"), + ldapssl_err2string(ret)); + if (ldap_conf.tls_certfile == NULL) + sudo_warnx(U_("you must set TLS_CERT in %s to use SSL"), + path_ldap_conf); + goto done; + } + + DPRINTF2("ldapssl_init(%s, %d, %d)", host, port, defsecure); + if ((ld = ldapssl_init(host, port, defsecure)) != NULL) + ret = LDAP_SUCCESS; + } else +#elif defined(HAVE_LDAP_SSL_INIT) && defined(HAVE_LDAP_SSL_CLIENT_INIT) + if (ldap_conf.ssl_mode == SUDO_LDAP_SSL) { + int sslrc; + ret = ldap_ssl_client_init(ldap_conf.tls_keyfile, ldap_conf.tls_keypw, + 0, &sslrc); + if (ret != LDAP_SUCCESS) { + sudo_warnx("ldap_ssl_client_init(): %s: %s", + ldap_err2string(ret), ssl_err2string(sslrc)); + goto done; + } + DPRINTF2("ldap_ssl_init(%s, %d, NULL)", host, port); + if ((ld = ldap_ssl_init((char *)host, port, NULL)) != NULL) + ret = LDAP_SUCCESS; + } else +#endif + { +#ifdef HAVE_LDAP_CREATE + DPRINTF2("ldap_create()"); + if ((ret = ldap_create(&ld)) != LDAP_SUCCESS) + goto done; + DPRINTF2("ldap_set_option(LDAP_OPT_HOST_NAME, %s)", host); + ret = ldap_set_option(ld, LDAP_OPT_HOST_NAME, host); +#else + DPRINTF2("ldap_init(%s, %d)", host, port); + if ((ld = ldap_init((char *)host, port)) == NULL) { + ret = LDAP_LOCAL_ERROR; + goto done; + } + ret = LDAP_SUCCESS; +#endif + } + + *ldp = ld; +done: + debug_return_int(ret); +} + +/* + * Wrapper for ldap_get_values_len() that fills in the response code + * on error. + */ +static struct berval ** +sudo_ldap_get_values_len(LDAP *ld, LDAPMessage *entry, const char *attr, int *rc) +{ + struct berval **bval; + + bval = ldap_get_values_len(ld, entry, attr); + if (bval == NULL) { + int optrc = ldap_get_option(ld, LDAP_OPT_RESULT_CODE, rc); + if (optrc != LDAP_OPT_SUCCESS) + *rc = optrc; + } else { + *rc = LDAP_SUCCESS; + } + return bval; +} + +/* + * Walk through search results and return true if we have a matching + * non-Unix group (including netgroups), else false. + * A matching entry that is negated will always return false. + */ +static int +sudo_ldap_check_non_unix_group(LDAP *ld, LDAPMessage *entry, struct passwd *pw) +{ + struct berval **bv, **p; + bool ret = false; + int rc; + debug_decl(sudo_ldap_check_non_unix_group, SUDOERS_DEBUG_LDAP); + + if (!entry) + debug_return_bool(false); + + /* get the values from the entry */ + bv = sudo_ldap_get_values_len(ld, entry, "sudoUser", &rc); + if (bv == NULL) { + if (rc == LDAP_NO_MEMORY) + debug_return_int(-1); + debug_return_bool(false); + } + + /* walk through values */ + for (p = bv; *p != NULL && !ret; p++) { + bool negated = false; + char *val = (*p)->bv_val; + + if (*val == '!') { + val++; + negated = true; + } + if (*val == '+') { + if (netgr_matches(val, def_netgroup_tuple ? user_runhost : NULL, + def_netgroup_tuple ? user_srunhost : NULL, pw->pw_name)) + ret = true; + DPRINTF2("ldap sudoUser netgroup '%s%s' ... %s", + negated ? "!" : "", val, ret ? "MATCH!" : "not"); + } else { + if (group_plugin_query(pw->pw_name, val + 2, pw)) + ret = true; + DPRINTF2("ldap sudoUser non-Unix group '%s%s' ... %s", + negated ? "!" : "", val, ret ? "MATCH!" : "not"); + } + /* A negated match overrides all other entries. */ + if (ret && negated) { + ret = false; + break; + } + } + + ldap_value_free_len(bv); /* cleanup */ + + debug_return_bool(ret); +} + +/* + * Extract the dn from an entry and return the first rdn from it. + */ +static char * +sudo_ldap_get_first_rdn(LDAP *ld, LDAPMessage *entry, int *rc) +{ +#ifdef HAVE_LDAP_STR2DN + char *dn, *rdn = NULL; + LDAPDN tmpDN; + debug_decl(sudo_ldap_get_first_rdn, SUDOERS_DEBUG_LDAP); + + if ((dn = ldap_get_dn(ld, entry)) == NULL) { + int optrc = ldap_get_option(ld, LDAP_OPT_RESULT_CODE, rc); + if (optrc != LDAP_OPT_SUCCESS) + *rc = optrc; + debug_return_str(NULL); + } + *rc = ldap_str2dn(dn, &tmpDN, LDAP_DN_FORMAT_LDAP); + if (*rc == LDAP_SUCCESS) { + ldap_rdn2str(tmpDN[0], &rdn, LDAP_DN_FORMAT_UFN); + ldap_dnfree(tmpDN); + } + ldap_memfree(dn); + debug_return_str(rdn); +#else + char *dn, **edn; + debug_decl(sudo_ldap_get_first_rdn, SUDOERS_DEBUG_LDAP); + + if ((dn = ldap_get_dn(ld, entry)) == NULL) { + int optrc = ldap_get_option(ld, LDAP_OPT_RESULT_CODE, rc); + if (optrc != LDAP_OPT_SUCCESS) + *rc = optrc; + debug_return_str(NULL); + } + edn = ldap_explode_dn(dn, 1); + ldap_memfree(dn); + if (edn == NULL) { + *rc = LDAP_NO_MEMORY; + debug_return_str(NULL); + } + *rc = LDAP_SUCCESS; + debug_return_str(edn[0]); +#endif +} + +/* + * Read sudoOption and fill in the defaults list. + * This is used to parse the cn=defaults entry. + */ +static bool +sudo_ldap_parse_options(LDAP *ld, LDAPMessage *entry, struct defaults_list *defs) +{ + struct berval **p, **bv = NULL; + char *cp, *cn = NULL, *source = NULL; + bool ret = false; + int rc; + debug_decl(sudo_ldap_parse_options, SUDOERS_DEBUG_LDAP); + + bv = sudo_ldap_get_values_len(ld, entry, "sudoOption", &rc); + if (bv == NULL) { + if (rc == LDAP_NO_MEMORY) + goto oom; + debug_return_bool(true); + } + + /* Use sudoRole in place of file name in defaults. */ + cn = sudo_ldap_get_first_rdn(ld, entry, &rc); + if (cn == NULL) { + if (rc == LDAP_NO_MEMORY) + goto oom; + } + if (asprintf(&cp, "sudoRole %s", cn ? cn : "UNKNOWN") == -1) + goto oom; + source = sudo_rcstr_dup(cp); + free(cp); + if (source == NULL) + goto oom; + + /* Walk through options, appending to defs. */ + for (p = bv; *p != NULL; p++) { + char *var, *val; + int op; + + op = sudo_ldap_parse_option((*p)->bv_val, &var, &val); + if (!append_default(var, val, op, source, defs)) + goto oom; + } + + ret = true; + goto done; + +oom: + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + +done: + sudo_rcstr_delref(source); + if (cn) + ldap_memfree(cn); + ldap_value_free_len(bv); + + debug_return_bool(ret); +} + +/* + * Build an LDAP timefilter. + * + * Stores a filter in the buffer that makes sure only entries + * are selected that have a sudoNotBefore in the past and a + * sudoNotAfter in the future, i.e. a filter of the following + * structure (spaced out a little more for better readability: + * + * (& + * (| + * (!(sudoNotAfter=*)) + * (sudoNotAfter>__now__) + * ) + * (| + * (!(sudoNotBefore=*)) + * (sudoNotBefore<__now__) + * ) + * ) + * + * If either the sudoNotAfter or sudoNotBefore attributes are missing, + * no time restriction shall be imposed. + */ +static bool +sudo_ldap_timefilter(char *buffer, size_t buffersize) +{ + char timebuffer[sizeof("20120727121554.0Z")]; + bool ret = false; + struct tm gmt; + time_t now; + int len; + debug_decl(sudo_ldap_timefilter, SUDOERS_DEBUG_LDAP); + + /* Make sure we have a formatted timestamp for __now__. */ + time(&now); + if (gmtime_r(&now, &gmt) == NULL) { + sudo_warn("%s", U_("unable to get GMT time")); + goto done; + } + + /* Format the timestamp according to the RFC. */ + timebuffer[sizeof(timebuffer) - 1] = '\0'; + len = strftime(timebuffer, sizeof(timebuffer), "%Y%m%d%H%M%S.0Z", &gmt); + if (len == 0 || timebuffer[sizeof(timebuffer) - 1] != '\0') { + sudo_warnx("%s", U_("unable to format timestamp")); + goto done; + } + + /* Build filter. */ + len = snprintf(buffer, buffersize, "(&(|(!(sudoNotAfter=*))(sudoNotAfter>=%s))(|(!(sudoNotBefore=*))(sudoNotBefore<=%s)))", + timebuffer, timebuffer); + if (len < 0 || (size_t)len >= buffersize) { + sudo_warnx(U_("internal error, %s overflow"), __func__); + errno = EOVERFLOW; + goto done; + } + + ret = true; + +done: + debug_return_bool(ret); +} + +/* + * Builds up a filter to search for default settings + */ +static char * +sudo_ldap_build_default_filter(void) +{ + char *filt; + debug_decl(sudo_ldap_build_default_filter, SUDOERS_DEBUG_LDAP); + + if (!ldap_conf.search_filter) + debug_return_str(strdup("cn=defaults")); + + if (asprintf(&filt, "(&%s(cn=defaults))", ldap_conf.search_filter) == -1) + debug_return_str(NULL); + + debug_return_str(filt); +} + +/* + * Determine length of query value after escaping characters + * as per RFC 4515. + */ +static size_t +sudo_ldap_value_len(const char *value) +{ + const char *s; + size_t len = 0; + + for (s = value; *s != '\0'; s++) { + switch (*s) { + case '\\': + case '(': + case ')': + case '*': + len += 2; + break; + } + } + len += (size_t)(s - value); + return len; +} + +/* + * Like strlcat() but escapes characters as per RFC 4515. + */ +static size_t +sudo_ldap_value_cat(char *dst, const char *src, size_t size) +{ + char *d = dst; + const char *s = src; + size_t n = size; + size_t dlen; + + /* Find the end of dst and adjust bytes left but don't go past end */ + while (n-- != 0 && *d != '\0') + d++; + dlen = d - dst; + n = size - dlen; + + if (n == 0) + return dlen + strlen(s); + while (*s != '\0') { + switch (*s) { + case '\\': + if (n < 3) + goto done; + *d++ = '\\'; + *d++ = '5'; + *d++ = 'c'; + n -= 3; + break; + case '(': + if (n < 3) + goto done; + *d++ = '\\'; + *d++ = '2'; + *d++ = '8'; + n -= 3; + break; + case ')': + if (n < 3) + goto done; + *d++ = '\\'; + *d++ = '2'; + *d++ = '9'; + n -= 3; + break; + case '*': + if (n < 3) + goto done; + *d++ = '\\'; + *d++ = '2'; + *d++ = 'a'; + n -= 3; + break; + default: + if (n < 1) + goto done; + *d++ = *s; + n--; + break; + } + s++; + } +done: + *d = '\0'; + while (*s != '\0') + s++; + return dlen + (s - src); /* count does not include NUL */ +} + +/* + * Like strdup() but escapes characters as per RFC 4515. + */ +static char * +sudo_ldap_value_dup(const char *src) +{ + char *dst; + size_t size; + + size = sudo_ldap_value_len(src) + 1; + dst = malloc(size); + if (dst == NULL) + return NULL; + + *dst = '\0'; + if (sudo_ldap_value_cat(dst, src, size) >= size) { + /* Should not be possible... */ + free(dst); + dst = NULL; + } + return dst; +} + +/* + * Check the netgroups list beginning at "start" for nesting. + * Parent nodes with a memberNisNetgroup that match one of the + * netgroups are added to the list and checked for further nesting. + * Return true on success or false if there was an internal overflow. + */ +static bool +sudo_netgroup_lookup_nested(LDAP *ld, char *base, struct timeval *timeout, + struct ldap_netgroup_list *netgroups, struct ldap_netgroup *start) +{ + LDAPMessage *entry, *result; + size_t filt_len; + char *filt; + int rc; + debug_decl(sudo_netgroup_lookup_nested, SUDOERS_DEBUG_LDAP); + + DPRINTF1("Checking for nested netgroups from netgroup_base '%s'", base); + do { + struct ldap_netgroup *ng, *old_tail; + + result = NULL; + old_tail = STAILQ_LAST(netgroups, ldap_netgroup, entries); + filt_len = strlen(ldap_conf.netgroup_search_filter) + 7; + for (ng = start; ng != NULL; ng = STAILQ_NEXT(ng, entries)) { + filt_len += sudo_ldap_value_len(ng->name) + 20; + } + if ((filt = malloc(filt_len)) == NULL) + goto oom; + CHECK_STRLCPY(filt, "(&", filt_len); + CHECK_STRLCAT(filt, ldap_conf.netgroup_search_filter, filt_len); + CHECK_STRLCAT(filt, "(|", filt_len); + for (ng = start; ng != NULL; ng = STAILQ_NEXT(ng, entries)) { + CHECK_STRLCAT(filt, "(memberNisNetgroup=", filt_len); + CHECK_LDAP_VCAT(filt, ng->name, filt_len); + CHECK_STRLCAT(filt, ")", filt_len); + } + CHECK_STRLCAT(filt, "))", filt_len); + DPRINTF1("ldap netgroup search filter: '%s'", filt); + rc = ldap_search_ext_s(ld, base, LDAP_SCOPE_SUBTREE, filt, + NULL, 0, NULL, NULL, timeout, 0, &result); + free(filt); + if (rc == LDAP_SUCCESS) { + LDAP_FOREACH(entry, ld, result) { + struct berval **bv; + + bv = sudo_ldap_get_values_len(ld, entry, "cn", &rc); + if (bv == NULL) { + if (rc == LDAP_NO_MEMORY) + goto oom; + } else { + /* Don't add a netgroup twice. */ + STAILQ_FOREACH(ng, netgroups, entries) { + /* Assumes only one cn per entry. */ + if (strcasecmp(ng->name, (*bv)->bv_val) == 0) + break; + } + if (ng == NULL) { + ng = malloc(sizeof(*ng)); + if (ng == NULL || + (ng->name = strdup((*bv)->bv_val)) == NULL) { + free(ng); + ldap_value_free_len(bv); + goto oom; + } +#ifdef __clang_analyzer__ + /* clang analyzer false positive */ + if (__builtin_expect(netgroups->stqh_last == NULL, 0)) + __builtin_trap(); +#endif + STAILQ_INSERT_TAIL(netgroups, ng, entries); + DPRINTF1("Found new netgroup %s for %s", ng->name, base); + } + ldap_value_free_len(bv); + } + } + } + ldap_msgfree(result); + + /* Check for nested netgroups in what we added. */ + start = old_tail ? STAILQ_NEXT(old_tail, entries) : STAILQ_FIRST(netgroups); + } while (start != NULL); + + debug_return_bool(true); +oom: + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + ldap_msgfree(result); + debug_return_bool(false); +overflow: + sudo_warnx(U_("internal error, %s overflow"), __func__); + free(filt); + debug_return_bool(false); +} + +/* + * Look up netgroups that the specified user is a member of. + * Appends new entries to the netgroups list. + * Return true on success or false if there was an internal overflow. + */ +static bool +sudo_netgroup_lookup(LDAP *ld, struct passwd *pw, + struct ldap_netgroup_list *netgroups) +{ + struct ldap_config_str *base; + struct ldap_netgroup *ng, *old_tail; + struct timeval tv, *tvp = NULL; + LDAPMessage *entry, *result = NULL; + const char *domain; + char *escaped_domain = NULL, *escaped_user = NULL; + char *escaped_host = NULL, *escaped_shost = NULL, *filt = NULL; + int filt_len, rc; + bool ret = false; + debug_decl(sudo_netgroup_lookup, SUDOERS_DEBUG_LDAP); + + if (ldap_conf.timeout > 0) { + tv.tv_sec = ldap_conf.timeout; + tv.tv_usec = 0; + tvp = &tv; + } + + /* Use NIS domain if set, else wildcard match. */ + domain = sudo_getdomainname(); + + /* Escape the domain, host names, and user name per RFC 4515. */ + if (domain != NULL) { + if ((escaped_domain = sudo_ldap_value_dup(domain)) == NULL) + goto oom; + } + if ((escaped_user = sudo_ldap_value_dup(pw->pw_name)) == NULL) + goto oom; + if (def_netgroup_tuple) { + escaped_host = sudo_ldap_value_dup(user_runhost); + if (user_runhost == user_srunhost) + escaped_shost = escaped_host; + else + escaped_shost = sudo_ldap_value_dup(user_srunhost); + if (escaped_host == NULL || escaped_shost == NULL) + goto oom; + } + + /* Build query, using NIS domain if it is set. */ + if (domain != NULL) { + if (escaped_host != escaped_shost) { + filt_len = asprintf(&filt, "(&%s(|" + "(nisNetgroupTriple=\\28,%s,%s\\29)" + "(nisNetgroupTriple=\\28%s,%s,%s\\29)" + "(nisNetgroupTriple=\\28%s,%s,%s\\29)" + "(nisNetgroupTriple=\\28,%s,\\29)" + "(nisNetgroupTriple=\\28%s,%s,\\29)" + "(nisNetgroupTriple=\\28%s,%s,\\29)))", + ldap_conf.netgroup_search_filter, escaped_user, escaped_domain, + escaped_shost, escaped_user, escaped_domain, + escaped_host, escaped_user, escaped_domain, escaped_user, + escaped_shost, escaped_user, escaped_host, escaped_user); + } else if (escaped_shost != NULL) { + filt_len = asprintf(&filt, "(&%s(|" + "(nisNetgroupTriple=\\28,%s,%s\\29)" + "(nisNetgroupTriple=\\28%s,%s,%s\\29)" + "(nisNetgroupTriple=\\28,%s,\\29)" + "(nisNetgroupTriple=\\28%s,%s,\\29)))", + ldap_conf.netgroup_search_filter, escaped_user, escaped_domain, + escaped_shost, escaped_user, escaped_domain, + escaped_user, escaped_shost, escaped_user); + } else { + filt_len = asprintf(&filt, "(&%s(|" + "(nisNetgroupTriple=\\28*,%s,%s\\29)" + "(nisNetgroupTriple=\\28*,%s,\\29)))", + ldap_conf.netgroup_search_filter, escaped_user, escaped_domain, + escaped_user); + } + } else { + if (escaped_host != escaped_shost) { + filt_len = asprintf(&filt, "(&%s(|" + "(nisNetgroupTriple=\\28,%s,*\\29)" + "(nisNetgroupTriple=\\28%s,%s,*\\29)" + "(nisNetgroupTriple=\\28%s,%s,*\\29)))", + ldap_conf.netgroup_search_filter, escaped_user, + escaped_shost, escaped_user, escaped_host, escaped_user); + } else if (escaped_shost != NULL) { + filt_len = asprintf(&filt, "(&%s(|" + "(nisNetgroupTriple=\\28,%s,*\\29)" + "(nisNetgroupTriple=\\28%s,%s,*\\29)))", + ldap_conf.netgroup_search_filter, escaped_user, + escaped_shost, escaped_user); + } else { + filt_len = asprintf(&filt, + "(&%s(|(nisNetgroupTriple=\\28*,%s,*\\29)))", + ldap_conf.netgroup_search_filter, escaped_user); + } + } + if (filt_len == -1) + goto oom; + DPRINTF1("ldap netgroup search filter: '%s'", filt); + + STAILQ_FOREACH(base, &ldap_conf.netgroup_base, entries) { + DPRINTF1("searching from netgroup_base '%s'", base->val); + rc = ldap_search_ext_s(ld, base->val, LDAP_SCOPE_SUBTREE, filt, + NULL, 0, NULL, NULL, tvp, 0, &result); + if (rc != LDAP_SUCCESS) { + DPRINTF1("ldap netgroup search failed: %s", ldap_err2string(rc)); + ldap_msgfree(result); + result = NULL; + continue; + } + + old_tail = STAILQ_LAST(netgroups, ldap_netgroup, entries); + LDAP_FOREACH(entry, ld, result) { + struct berval **bv; + + bv = sudo_ldap_get_values_len(ld, entry, "cn", &rc); + if (bv == NULL) { + if (rc == LDAP_NO_MEMORY) + goto oom; + } else { + /* Don't add a netgroup twice. */ + STAILQ_FOREACH(ng, netgroups, entries) { + /* Assumes only one cn per entry. */ + if (strcasecmp(ng->name, (*bv)->bv_val) == 0) + break; + } + if (ng == NULL) { + ng = malloc(sizeof(*ng)); + if (ng == NULL || + (ng->name = strdup((*bv)->bv_val)) == NULL) { + free(ng); + ldap_value_free_len(bv); + goto oom; + } + STAILQ_INSERT_TAIL(netgroups, ng, entries); + DPRINTF1("Found new netgroup %s for %s", ng->name, + base->val); + } + ldap_value_free_len(bv); + } + } + ldap_msgfree(result); + result = NULL; + + /* Check for nested netgroups in what we added. */ + ng = old_tail ? STAILQ_NEXT(old_tail, entries) : STAILQ_FIRST(netgroups); + if (ng != NULL) { + if (!sudo_netgroup_lookup_nested(ld, base->val, tvp, netgroups, ng)) + goto done; + } + } + ret = true; + goto done; + +oom: + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); +done: + free(escaped_domain); + free(escaped_user); + free(escaped_host); + if (escaped_host != escaped_shost) + free(escaped_shost); + free(filt); + ldap_msgfree(result); + debug_return_bool(ret); +} + +/* + * Builds up a filter to check against LDAP. + */ +static char * +sudo_ldap_build_pass1(LDAP *ld, struct passwd *pw) +{ + char timebuffer[TIMEFILTER_LENGTH + 1], idbuf[MAX_UID_T_LEN + 1]; + char *buf, *notbuf; + struct ldap_netgroup_list netgroups; + struct ldap_netgroup *ng = NULL; + struct gid_list *gidlist; + struct group_list *grlist; + struct group *grp; + size_t sz = 0; + int i; + debug_decl(sudo_ldap_build_pass1, SUDOERS_DEBUG_LDAP); + + STAILQ_INIT(&netgroups); + + if (ldap_conf.timed || ldap_conf.search_filter) { + /* Allocate space for the global AND. */ + sz += 3; + + /* Add LDAP search filter if present. */ + if (ldap_conf.search_filter) + sz += strlen(ldap_conf.search_filter); + + /* If timed, add space for time limits. */ + if (ldap_conf.timed) + sz += TIMEFILTER_LENGTH; + } + + /* Add space for the global OR clause + (sudoUser=ALL) + NOT + NUL. */ + sz += sizeof("(|(sudoUser=ALL)(!(|)))"); + + /* Add space for username and uid, including the negated versions. */ + sz += ((sizeof("(sudoUser=)(sudoUser=#)") - 1 + + sudo_ldap_value_len(pw->pw_name) + MAX_UID_T_LEN) * 2) + 2; + + /* Add space for primary and supplementary groups and gids */ + if ((grp = sudo_getgrgid(pw->pw_gid)) != NULL) { + sz += ((sizeof("(sudoUser=%)") - 1 + + sudo_ldap_value_len(grp->gr_name)) * 2) + 1; + } + sz += ((sizeof("(sudoUser=%#)") - 1 + MAX_UID_T_LEN) * 2) + 1; + if ((grlist = sudo_get_grlist(pw)) != NULL) { + for (i = 0; i < grlist->ngroups; i++) { + if (grp != NULL && strcasecmp(grlist->groups[i], grp->gr_name) == 0) + continue; + sz += ((sizeof("(sudoUser=%)") - 1 + + sudo_ldap_value_len(grlist->groups[i])) * 2) + 1; + } + } + if ((gidlist = sudo_get_gidlist(pw, ENTRY_TYPE_ANY)) != NULL) { + for (i = 0; i < gidlist->ngids; i++) { + if (pw->pw_gid == gidlist->gids[i]) + continue; + sz += ((sizeof("(sudoUser=%#)") - 1 + MAX_UID_T_LEN) * 2) + 1; + } + } + + /* Add space for user netgroups if netgroup_base specified. */ + if (!STAILQ_EMPTY(&ldap_conf.netgroup_base)) { + DPRINTF1("Looking up netgroups for %s", pw->pw_name); + if (sudo_netgroup_lookup(ld, pw, &netgroups)) { + STAILQ_FOREACH(ng, &netgroups, entries) { + sz += ((sizeof("(sudoUser=+)") - 1 + strlen(ng->name)) * 2) + 1; + } + } else { + /* sudo_netgroup_lookup() failed, clean up. */ + while ((ng = STAILQ_FIRST(&netgroups)) != NULL) { + STAILQ_REMOVE_HEAD(&netgroups, entries); + free(ng->name); + free(ng); + } + } + } + + buf = malloc(sz); + notbuf = malloc(sz); + if (buf == NULL || notbuf == NULL) + goto bad; + *buf = '\0'; + *notbuf = '\0'; + + /* + * If timed or using a search filter, start a global AND clause to + * contain the search filter, search criteria, and time restriction. + */ + if (ldap_conf.timed || ldap_conf.search_filter) + CHECK_STRLCPY(buf, "(&", sz); + + if (ldap_conf.search_filter) + CHECK_STRLCAT(buf, ldap_conf.search_filter, sz); + + /* Global OR + sudoUser=user_name filter */ + CHECK_STRLCAT(buf, "(|(sudoUser=", sz); + CHECK_LDAP_VCAT(buf, pw->pw_name, sz); + CHECK_STRLCAT(buf, ")", sz); + CHECK_STRLCAT(notbuf, "(sudoUser=!", sz); + CHECK_LDAP_VCAT(notbuf, pw->pw_name, sz); + CHECK_STRLCAT(notbuf, ")", sz); + + /* Append user-ID */ + (void) snprintf(idbuf, sizeof(idbuf), "%u", (unsigned int)pw->pw_uid); + CHECK_STRLCAT(buf, "(sudoUser=#", sz); + CHECK_STRLCAT(buf, idbuf, sz); + CHECK_STRLCAT(buf, ")", sz); + CHECK_STRLCAT(notbuf, "(sudoUser=!#", sz); + CHECK_STRLCAT(notbuf, idbuf, sz); + CHECK_STRLCAT(notbuf, ")", sz); + + /* Append primary group and group-ID */ + if (grp != NULL) { + CHECK_STRLCAT(buf, "(sudoUser=%", sz); + CHECK_LDAP_VCAT(buf, grp->gr_name, sz); + CHECK_STRLCAT(buf, ")", sz); + CHECK_STRLCAT(notbuf, "(sudoUser=!%", sz); + CHECK_LDAP_VCAT(notbuf, grp->gr_name, sz); + CHECK_STRLCAT(notbuf, ")", sz); + } + (void) snprintf(idbuf, sizeof(idbuf), "%u", (unsigned int)pw->pw_gid); + CHECK_STRLCAT(buf, "(sudoUser=%#", sz); + CHECK_STRLCAT(buf, idbuf, sz); + CHECK_STRLCAT(buf, ")", sz); + CHECK_STRLCAT(notbuf, "(sudoUser=!%#", sz); + CHECK_STRLCAT(notbuf, idbuf, sz); + CHECK_STRLCAT(notbuf, ")", sz); + + /* Append supplementary groups and group-IDs */ + if (grlist != NULL) { + for (i = 0; i < grlist->ngroups; i++) { + if (grp != NULL && strcasecmp(grlist->groups[i], grp->gr_name) == 0) + continue; + CHECK_STRLCAT(buf, "(sudoUser=%", sz); + CHECK_LDAP_VCAT(buf, grlist->groups[i], sz); + CHECK_STRLCAT(buf, ")", sz); + CHECK_STRLCAT(notbuf, "(sudoUser=!%", sz); + CHECK_LDAP_VCAT(notbuf, grlist->groups[i], sz); + CHECK_STRLCAT(notbuf, ")", sz); + } + } + if (gidlist != NULL) { + for (i = 0; i < gidlist->ngids; i++) { + if (pw->pw_gid == gidlist->gids[i]) + continue; + (void) snprintf(idbuf, sizeof(idbuf), "%u", + (unsigned int)gidlist->gids[i]); + CHECK_STRLCAT(buf, "(sudoUser=%#", sz); + CHECK_STRLCAT(buf, idbuf, sz); + CHECK_STRLCAT(buf, ")", sz); + CHECK_STRLCAT(notbuf, "(sudoUser=!%#", sz); + CHECK_STRLCAT(notbuf, idbuf, sz); + CHECK_STRLCAT(notbuf, ")", sz); + } + } + + /* Done with groups. */ + if (gidlist != NULL) + sudo_gidlist_delref(gidlist); + if (grlist != NULL) + sudo_grlist_delref(grlist); + if (grp != NULL) + sudo_gr_delref(grp); + + /* Add netgroups (if any), freeing the list as we go. */ + while ((ng = STAILQ_FIRST(&netgroups)) != NULL) { + STAILQ_REMOVE_HEAD(&netgroups, entries); + CHECK_STRLCAT(buf, "(sudoUser=+", sz); + CHECK_LDAP_VCAT(buf, ng->name, sz); + CHECK_STRLCAT(buf, ")", sz); + CHECK_STRLCAT(notbuf, "(sudoUser=!+", sz); + CHECK_LDAP_VCAT(notbuf, ng->name, sz); + CHECK_STRLCAT(notbuf, ")", sz); + free(ng->name); + free(ng); + } + + /* Add ALL to list. */ + CHECK_STRLCAT(buf, "(sudoUser=ALL))", sz); + + /* Add filter for negated entries. */ + CHECK_STRLCAT(buf, "(!(|", sz); + CHECK_STRLCAT(buf, notbuf, sz); + CHECK_STRLCAT(buf, ")", sz); + + /* Add the time restriction, or simply end the global OR. */ + if (ldap_conf.timed) { + CHECK_STRLCAT(buf, ")", sz); /* closes the global OR */ + if (!sudo_ldap_timefilter(timebuffer, sizeof(timebuffer))) + goto bad; + CHECK_STRLCAT(buf, timebuffer, sz); + } else if (ldap_conf.search_filter) { + CHECK_STRLCAT(buf, ")", sz); /* closes the global OR */ + } + + CHECK_STRLCAT(buf, ")", sz); /* closes the global OR or the global AND */ + + free(notbuf); + debug_return_str(buf); +overflow: + sudo_warnx(U_("internal error, %s overflow"), __func__); + if (ng != NULL) { + /* Overflow while traversing netgroups. */ + free(ng->name); + free(ng); + } + errno = EOVERFLOW; +bad: + while ((ng = STAILQ_FIRST(&netgroups)) != NULL) { + STAILQ_REMOVE_HEAD(&netgroups, entries); + free(ng->name); + free(ng); + } + free(buf); + free(notbuf); + debug_return_str(NULL); +} + +/* + * Builds up a filter to check against non-Unix group + * entries in LDAP, including netgroups. + */ +static char * +sudo_ldap_build_pass2(void) +{ + char *filt, timebuffer[TIMEFILTER_LENGTH + 1]; + bool query_netgroups = def_use_netgroups; + int len; + debug_decl(sudo_ldap_build_pass2, SUDOERS_DEBUG_LDAP); + + /* No need to query netgroups if using netgroup_base. */ + if (!STAILQ_EMPTY(&ldap_conf.netgroup_base)) + query_netgroups = false; + + /* Short circuit if no netgroups and no non-Unix groups. */ + if (!query_netgroups && !def_group_plugin) { + errno = ENOENT; + debug_return_str(NULL); + } + + if (ldap_conf.timed) { + if (!sudo_ldap_timefilter(timebuffer, sizeof(timebuffer))) + debug_return_str(NULL); + } + + /* + * Match all sudoUsers beginning with '+' or '%:'. + * If a search filter or time restriction is specified, + * those get ANDed in to the expression. + */ + if (query_netgroups && def_group_plugin) { + len = asprintf(&filt, "%s%s(|(sudoUser=+*)(sudoUser=!+*)(sudoUser=%%:*)(sudoUser=!%%:*))%s%s", + (ldap_conf.timed || ldap_conf.search_filter) ? "(&" : "", + ldap_conf.search_filter ? ldap_conf.search_filter : "", + ldap_conf.timed ? timebuffer : "", + (ldap_conf.timed || ldap_conf.search_filter) ? ")" : ""); + } else { + len = asprintf(&filt, "%s%s(|(sudoUser=%s*)(sudoUser=!%s*))%s%s", + (ldap_conf.timed || ldap_conf.search_filter) ? "(&" : "", + ldap_conf.search_filter ? ldap_conf.search_filter : "", + query_netgroups ? "+" : "%:", query_netgroups ? "+" : "%:", + ldap_conf.timed ? timebuffer : "", + (ldap_conf.timed || ldap_conf.search_filter) ? ")" : ""); + } + if (len == -1) + filt = NULL; + + debug_return_str(filt); +} + +static char * +berval_iter(void **vp) +{ + struct berval **bv = *vp; + + *vp = bv + 1; + return *bv ? (*bv)->bv_val : NULL; +} + +/* + * Wrapper for sudo_ldap_role_to_priv() that takes an LDAPMessage. + * Returns a struct privilege on success or NULL on failure. + */ +static struct privilege * +ldap_entry_to_priv(LDAP *ld, LDAPMessage *entry, int *rc_out) +{ + struct berval **cmnds = NULL, **hosts = NULL; + struct berval **runasusers = NULL, **runasgroups = NULL; + struct berval **opts = NULL, **notbefore = NULL, **notafter = NULL; + struct privilege *priv = NULL; + char *cn = NULL; + int rc; + debug_decl(ldap_entry_to_priv, SUDOERS_DEBUG_LDAP); + + /* Ignore sudoRole without sudoCommand or sudoHost. */ + cmnds = sudo_ldap_get_values_len(ld, entry, "sudoCommand", &rc); + if (cmnds == NULL) + goto cleanup; + hosts = sudo_ldap_get_values_len(ld, entry, "sudoHost", &rc); + if (hosts == NULL) + goto cleanup; + + /* Get the entry's dn for long format printing. */ + if ((cn = sudo_ldap_get_first_rdn(ld, entry, &rc)) == NULL) + goto cleanup; + + /* Get sudoRunAsUser / sudoRunAsGroup */ + runasusers = sudo_ldap_get_values_len(ld, entry, "sudoRunAsUser", &rc); + if (runasusers == NULL) { + if (rc != LDAP_NO_MEMORY) + runasusers = sudo_ldap_get_values_len(ld, entry, "sudoRunAs", &rc); + if (rc == LDAP_NO_MEMORY) + goto cleanup; + } + runasgroups = sudo_ldap_get_values_len(ld, entry, "sudoRunAsGroup", &rc); + if (rc == LDAP_NO_MEMORY) + goto cleanup; + + /* Get sudoNotBefore / sudoNotAfter */ + if (ldap_conf.timed) { + notbefore = sudo_ldap_get_values_len(ld, entry, "sudoNotBefore", &rc); + if (rc == LDAP_NO_MEMORY) + goto cleanup; + notafter = sudo_ldap_get_values_len(ld, entry, "sudoNotAfter", &rc); + if (rc == LDAP_NO_MEMORY) + goto cleanup; + } + + /* Parse sudoOptions. */ + opts = sudo_ldap_get_values_len(ld, entry, "sudoOption", &rc); + if (rc == LDAP_NO_MEMORY) + goto cleanup; + + priv = sudo_ldap_role_to_priv(cn, hosts, runasusers, runasgroups, + cmnds, opts, notbefore ? notbefore[0]->bv_val : NULL, + notafter ? notafter[0]->bv_val : NULL, false, true, berval_iter); + if (priv == NULL) { + rc = LDAP_NO_MEMORY; + goto cleanup; + } + +cleanup: + if (cn != NULL) + ldap_memfree(cn); + if (cmnds != NULL) + ldap_value_free_len(cmnds); + if (hosts != NULL) + ldap_value_free_len(hosts); + if (runasusers != NULL) + ldap_value_free_len(runasusers); + if (runasgroups != NULL) + ldap_value_free_len(runasgroups); + if (opts != NULL) + ldap_value_free_len(opts); + if (notbefore != NULL) + ldap_value_free_len(notbefore); + if (notafter != NULL) + ldap_value_free_len(notafter); + + *rc_out = rc; + debug_return_ptr(priv); +} + +static bool +ldap_to_sudoers(LDAP *ld, struct ldap_result *lres, + struct userspec_list *ldap_userspecs) +{ + struct userspec *us; + struct member *m; + unsigned int i; + int rc; + debug_decl(ldap_to_sudoers, SUDOERS_DEBUG_LDAP); + + /* We only have a single userspec */ + if ((us = calloc(1, sizeof(*us))) == NULL) + goto oom; + us->file = sudo_rcstr_dup("LDAP"); + TAILQ_INIT(&us->users); + TAILQ_INIT(&us->privileges); + STAILQ_INIT(&us->comments); + TAILQ_INSERT_TAIL(ldap_userspecs, us, entries); + + /* The user has already matched, use ALL as wildcard. */ + if ((m = sudo_ldap_new_member_all()) == NULL) + goto oom; + TAILQ_INSERT_TAIL(&us->users, m, entries); + + /* Treat each entry as a separate privilege. */ + for (i = 0; i < lres->nentries; i++) { + struct privilege *priv; + + priv = ldap_entry_to_priv(ld, lres->entries[i].entry, &rc); + if (priv == NULL) { + if (rc == LDAP_NO_MEMORY) + goto oom; + continue; + } + TAILQ_INSERT_TAIL(&us->privileges, priv, entries); + } + + debug_return_bool(true); + +oom: + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + free_userspecs(ldap_userspecs); + debug_return_bool(false); +} + +#ifdef HAVE_LDAP_SASL_INTERACTIVE_BIND_S +typedef unsigned int (*sudo_gss_krb5_ccache_name_t)(unsigned int *minor_status, const char *name, const char **old_name); +static sudo_gss_krb5_ccache_name_t sudo_gss_krb5_ccache_name; + +static int +sudo_set_krb5_ccache_name(const char *name, const char **old_name) +{ + int ret = 0; + unsigned int junk; + static bool initialized; + debug_decl(sudo_set_krb5_ccache_name, SUDOERS_DEBUG_LDAP); + + if (!initialized) { + sudo_gss_krb5_ccache_name = (sudo_gss_krb5_ccache_name_t) + sudo_dso_findsym(SUDO_DSO_DEFAULT, "gss_krb5_ccache_name"); + initialized = true; + } + + /* + * Try to use gss_krb5_ccache_name() if possible. + * We also need to set KRB5CCNAME since some LDAP libs may not use + * gss_krb5_ccache_name(). + */ + if (sudo_gss_krb5_ccache_name != NULL) { + ret = sudo_gss_krb5_ccache_name(&junk, name, old_name); + } else { + /* No gss_krb5_ccache_name(), fall back on KRB5CCNAME. */ + if (old_name != NULL) + *old_name = sudo_getenv("KRB5CCNAME"); + } + if (name != NULL && *name != '\0') { + if (sudo_setenv("KRB5CCNAME", name, true) == -1) + ret = -1; + } else { + if (sudo_unsetenv("KRB5CCNAME") == -1) + ret = -1; + } + + debug_return_int(ret); +} + +/* + * Make a copy of the credential cache file specified by KRB5CCNAME + * which must be readable by the user. The resulting cache file + * is root-owned and will be removed after authenticating via SASL. + */ +static char * +sudo_krb5_copy_cc_file(const char *old_ccname) +{ + int nfd, ofd = -1; + ssize_t nread, nwritten = -1; + static char new_ccname[] = _PATH_TMP "sudocc_XXXXXXXX"; + char buf[10240], *ret = NULL; + debug_decl(sudo_krb5_copy_cc_file, SUDOERS_DEBUG_LDAP); + + old_ccname = sudo_krb5_ccname_path(old_ccname); + if (old_ccname != NULL) { + /* Open credential cache as user to prevent stolen creds. */ + if (!set_perms(PERM_USER)) + goto done; + ofd = open(old_ccname, O_RDONLY|O_NONBLOCK); + if (!restore_perms()) + goto done; + + if (ofd != -1) { + (void) fcntl(ofd, F_SETFL, 0); + if (sudo_lock_file(ofd, SUDO_LOCK)) { + nfd = mkstemp(new_ccname); + if (nfd != -1) { + sudo_debug_printf(SUDO_DEBUG_INFO|SUDO_DEBUG_LINENO, + "copy ccache %s -> %s", old_ccname, new_ccname); + while ((nread = read(ofd, buf, sizeof(buf))) > 0) { + ssize_t off = 0; + do { + nwritten = write(nfd, buf + off, nread - off); + if (nwritten == -1) { + sudo_warn("error writing to %s", new_ccname); + goto write_error; + } + off += nwritten; + } while (off < nread); + } + if (nread == -1) + sudo_warn("unable to read %s", new_ccname); +write_error: + close(nfd); + if (nread != -1 && nwritten != -1) { + ret = new_ccname; /* success! */ + } else { + unlink(new_ccname); /* failed */ + } + } else { + sudo_warn("unable to create temp file %s", new_ccname); + } + } + } else { + sudo_debug_printf(SUDO_DEBUG_WARN|SUDO_DEBUG_LINENO|SUDO_DEBUG_ERRNO, + "unable to open %s", old_ccname); + } + } +done: + if (ofd != -1) + close(ofd); + debug_return_str(ret); +} + +static int +sudo_ldap_sasl_interact(LDAP *ld, unsigned int flags, void *_auth_id, + void *_interact) +{ + char *auth_id = (char *)_auth_id; + sasl_interact_t *interact = (sasl_interact_t *)_interact; + int ret = LDAP_SUCCESS; + debug_decl(sudo_ldap_sasl_interact, SUDOERS_DEBUG_LDAP); + + for (; interact->id != SASL_CB_LIST_END; interact++) { + if (interact->id != SASL_CB_USER) { + sudo_warnx("sudo_ldap_sasl_interact: unexpected interact id %lu", + interact->id); + ret = LDAP_PARAM_ERROR; + break; + } + + if (auth_id != NULL) + interact->result = auth_id; + else if (interact->defresult != NULL) + interact->result = interact->defresult; + else + interact->result = ""; + + interact->len = strlen(interact->result); +#if SASL_VERSION_MAJOR < 2 + interact->result = strdup(interact->result); + if (interact->result == NULL) { + ret = LDAP_NO_MEMORY; + break; + } +#endif /* SASL_VERSION_MAJOR < 2 */ + DPRINTF2("sudo_ldap_sasl_interact: SASL_CB_USER %s", + (const char *)interact->result); + } + debug_return_int(ret); +} +#endif /* HAVE_LDAP_SASL_INTERACTIVE_BIND_S */ + +/* + * Create a new sudo_ldap_result structure. + */ +static struct ldap_result * +sudo_ldap_result_alloc(void) +{ + struct ldap_result *result; + debug_decl(sudo_ldap_result_alloc, SUDOERS_DEBUG_LDAP); + + result = calloc(1, sizeof(*result)); + if (result != NULL) + STAILQ_INIT(&result->searches); + + debug_return_ptr(result); +} + +/* + * Free the ldap result structure + */ +static void +sudo_ldap_result_free(struct ldap_result *lres) +{ + struct ldap_search_result *s; + debug_decl(sudo_ldap_result_free, SUDOERS_DEBUG_LDAP); + + if (lres != NULL) { + if (lres->nentries) { + free(lres->entries); + lres->entries = NULL; + } + while ((s = STAILQ_FIRST(&lres->searches)) != NULL) { + STAILQ_REMOVE_HEAD(&lres->searches, entries); + ldap_msgfree(s->searchresult); + free(s); + } + free(lres); + } + debug_return; +} + +/* + * Add a search result to the ldap_result structure. + */ +static struct ldap_search_result * +sudo_ldap_result_add_search(struct ldap_result *lres, LDAP *ldap, + LDAPMessage *searchresult) +{ + struct ldap_search_result *news; + debug_decl(sudo_ldap_result_add_search, SUDOERS_DEBUG_LDAP); + + /* Create new entry and add it to the end of the chain. */ + news = calloc(1, sizeof(*news)); + if (news != NULL) { + news->ldap = ldap; + news->searchresult = searchresult; + STAILQ_INSERT_TAIL(&lres->searches, news, entries); + } + + debug_return_ptr(news); +} + +/* + * Connect to the LDAP server specified by ld. + * Returns LDAP_SUCCESS on success, else non-zero. + */ +static int +sudo_ldap_bind_s(LDAP *ld) +{ + int ret; + debug_decl(sudo_ldap_bind_s, SUDOERS_DEBUG_LDAP); + +#ifdef HAVE_LDAP_SASL_INTERACTIVE_BIND_S + if (ldap_conf.rootuse_sasl == true || + (ldap_conf.rootuse_sasl != false && ldap_conf.use_sasl == true)) { + const char *old_ccname = NULL; + const char *new_ccname = ldap_conf.krb5_ccname; + const char *tmp_ccname = NULL; + void *auth_id = ldap_conf.rootsasl_auth_id ? + ldap_conf.rootsasl_auth_id : ldap_conf.sasl_auth_id; + int rc; + + /* Make temp copy of the user's credential cache as needed. */ + if (ldap_conf.krb5_ccname == NULL && user_ccname != NULL) { + new_ccname = tmp_ccname = sudo_krb5_copy_cc_file(user_ccname); + if (tmp_ccname == NULL) { + /* XXX - fatal error */ + sudo_debug_printf(SUDO_DEBUG_INFO|SUDO_DEBUG_LINENO, + "unable to copy user ccache %s", user_ccname); + } + } + + if (new_ccname != NULL) { + rc = sudo_set_krb5_ccache_name(new_ccname, &old_ccname); + if (rc == 0) { + sudo_debug_printf(SUDO_DEBUG_INFO|SUDO_DEBUG_LINENO, + "set ccache name %s -> %s", + old_ccname ? old_ccname : "(none)", new_ccname); + } else { + sudo_debug_printf(SUDO_DEBUG_WARN|SUDO_DEBUG_LINENO, + "sudo_set_krb5_ccache_name() failed: %d", rc); + } + } + ret = ldap_sasl_interactive_bind_s(ld, ldap_conf.binddn, + ldap_conf.sasl_mech, NULL, NULL, LDAP_SASL_QUIET, + sudo_ldap_sasl_interact, auth_id); + if (new_ccname != NULL) { + rc = sudo_set_krb5_ccache_name(old_ccname ? old_ccname : "", NULL); + if (rc == 0) { + sudo_debug_printf(SUDO_DEBUG_INFO|SUDO_DEBUG_LINENO, + "restore ccache name %s -> %s", new_ccname, + old_ccname ? old_ccname : "(none)"); + } else { + sudo_debug_printf(SUDO_DEBUG_WARN|SUDO_DEBUG_LINENO, + "sudo_set_krb5_ccache_name() failed: %d", rc); + } + /* Remove temporary copy of user's credential cache. */ + if (tmp_ccname != NULL) + unlink(tmp_ccname); + } + if (ret != LDAP_SUCCESS) { + sudo_warnx("ldap_sasl_interactive_bind_s(): %s", + ldap_err2string(ret)); + goto done; + } + DPRINTF1("ldap_sasl_interactive_bind_s() ok"); + } else +#endif /* HAVE_LDAP_SASL_INTERACTIVE_BIND_S */ +#ifdef HAVE_LDAP_SASL_BIND_S + { + struct berval bv; + + bv.bv_val = ldap_conf.bindpw ? ldap_conf.bindpw : (char *)""; + bv.bv_len = strlen(bv.bv_val); + + ret = ldap_sasl_bind_s(ld, ldap_conf.binddn, LDAP_SASL_SIMPLE, &bv, + NULL, NULL, NULL); + if (ret != LDAP_SUCCESS) { + sudo_warnx("ldap_sasl_bind_s(): %s", ldap_err2string(ret)); + goto done; + } + DPRINTF1("ldap_sasl_bind_s() ok"); + } +#else + { + ret = ldap_simple_bind_s(ld, ldap_conf.binddn, ldap_conf.bindpw); + if (ret != LDAP_SUCCESS) { + sudo_warnx("ldap_simple_bind_s(): %s", ldap_err2string(ret)); + goto done; + } + DPRINTF1("ldap_simple_bind_s() ok"); + } +#endif +done: + debug_return_int(ret); +} + +/* + * Shut down the LDAP connection. + */ +static int +sudo_ldap_close(struct sudo_nss *nss) +{ + struct sudo_ldap_handle *handle = nss->handle; + debug_decl(sudo_ldap_close, SUDOERS_DEBUG_LDAP); + + if (handle != NULL) { + /* Unbind and close the LDAP connection. */ + if (handle->ld != NULL) { + ldap_unbind_ext_s(handle->ld, NULL, NULL); + handle->ld = NULL; + } + + /* Free the handle container. */ + if (handle->pw != NULL) + sudo_pw_delref(handle->pw); + free_parse_tree(&handle->parse_tree); + free(handle); + nss->handle = NULL; + } + debug_return_int(0); +} + +/* + * Open a connection to the LDAP server. + * Returns 0 on success and non-zero on failure. + */ +static int +sudo_ldap_open(struct sudo_nss *nss) +{ + LDAP *ld; + int rc = -1; + bool ldapnoinit = false; + struct sudo_ldap_handle *handle; + debug_decl(sudo_ldap_open, SUDOERS_DEBUG_LDAP); + + if (nss->handle != NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR, + "%s: called with non-NULL handle %p", __func__, nss->handle); + sudo_ldap_close(nss); + } + + if (!sudo_ldap_read_config()) + goto done; + + /* Prevent reading of user ldaprc and system defaults. */ + if (sudo_getenv("LDAPNOINIT") == NULL) { + if (sudo_setenv("LDAPNOINIT", "1", true) == 0) + ldapnoinit = true; + } + + /* Set global LDAP options */ + if (sudo_ldap_set_options_global() != LDAP_SUCCESS) + goto done; + + /* Connect to LDAP server */ +#ifdef HAVE_LDAP_INITIALIZE + if (!STAILQ_EMPTY(&ldap_conf.uri)) { + char *buf = sudo_ldap_join_uri(&ldap_conf.uri); + if (buf == NULL) + goto done; + DPRINTF2("ldap_initialize(ld, %s)", buf); + rc = ldap_initialize(&ld, buf); + free(buf); + } else +#endif + rc = sudo_ldap_init(&ld, ldap_conf.host, ldap_conf.port); + if (rc != LDAP_SUCCESS) { + sudo_warnx(U_("unable to initialize LDAP: %s"), ldap_err2string(rc)); + goto done; + } + + /* Set LDAP per-connection options */ + rc = sudo_ldap_set_options_conn(ld); + if (rc != LDAP_SUCCESS) + goto done; + + if (ldapnoinit) + (void) sudo_unsetenv("LDAPNOINIT"); + + if (ldap_conf.ssl_mode == SUDO_LDAP_STARTTLS) { +#if defined(HAVE_LDAP_START_TLS_S) + rc = ldap_start_tls_s(ld, NULL, NULL); + if (rc != LDAP_SUCCESS) { + sudo_warnx("ldap_start_tls_s(): %s", ldap_err2string(rc)); + goto done; + } + DPRINTF1("ldap_start_tls_s() ok"); +#elif defined(HAVE_LDAP_SSL_CLIENT_INIT) && defined(HAVE_LDAP_START_TLS_S_NP) + int sslrc; + rc = ldap_ssl_client_init(ldap_conf.tls_keyfile, ldap_conf.tls_keypw, + 0, &sslrc); + if (rc != LDAP_SUCCESS) { + sudo_warnx("ldap_ssl_client_init(): %s: %s", + ldap_err2string(rc), ssl_err2string(sslrc)); + goto done; + } + rc = ldap_start_tls_s_np(ld, NULL); + if (rc != LDAP_SUCCESS) { + sudo_warnx("ldap_start_tls_s_np(): %s", ldap_err2string(rc)); + goto done; + } + DPRINTF1("ldap_start_tls_s_np() ok"); +#else + sudo_warnx("%s", + U_("start_tls specified but LDAP libs do not support ldap_start_tls_s() or ldap_start_tls_s_np()")); +#endif /* !HAVE_LDAP_START_TLS_S && !HAVE_LDAP_START_TLS_S_NP */ + } + + /* Actually connect */ + rc = sudo_ldap_bind_s(ld); + if (rc != LDAP_SUCCESS) + goto done; + + /* Create a handle container. */ + handle = calloc(1, sizeof(struct sudo_ldap_handle)); + if (handle == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + rc = -1; + goto done; + } + handle->ld = ld; + /* handle->pw = NULL; */ + init_parse_tree(&handle->parse_tree, NULL, NULL); + nss->handle = handle; + +done: + debug_return_int(rc == LDAP_SUCCESS ? 0 : -1); +} + +static int +sudo_ldap_getdefs(struct sudo_nss *nss) +{ + struct sudo_ldap_handle *handle = nss->handle; + struct timeval tv, *tvp = NULL; + struct ldap_config_str *base; + LDAPMessage *entry, *result = NULL; + char *filt = NULL; + int rc, ret = -1; + static bool cached; + debug_decl(sudo_ldap_getdefs, SUDOERS_DEBUG_LDAP); + + if (handle == NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR, + "%s: called with NULL handle", __func__); + debug_return_int(-1); + } + + /* Use cached result if present. */ + if (cached) + debug_return_int(0); + + filt = sudo_ldap_build_default_filter(); + if (filt == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + debug_return_int(-1); + } + DPRINTF1("Looking for cn=defaults: %s", filt); + + STAILQ_FOREACH(base, &ldap_conf.base, entries) { + LDAP *ld = handle->ld; + + if (ldap_conf.timeout > 0) { + tv.tv_sec = ldap_conf.timeout; + tv.tv_usec = 0; + tvp = &tv; + } + ldap_msgfree(result); + result = NULL; + rc = ldap_search_ext_s(ld, base->val, LDAP_SCOPE_SUBTREE, + filt, NULL, 0, NULL, NULL, tvp, 0, &result); + if (rc == LDAP_SUCCESS && (entry = ldap_first_entry(ld, result))) { + DPRINTF1("found:%s", ldap_get_dn(ld, entry)); + if (!sudo_ldap_parse_options(ld, entry, &handle->parse_tree.defaults)) + goto done; + } else { + DPRINTF1("no default options found in %s", base->val); + } + } + cached = true; + ret = 0; + +done: + ldap_msgfree(result); + free(filt); + + debug_return_int(ret); +} + +/* + * Comparison function for ldap_entry_wrapper structures, ascending order. + * This should match role_order_cmp() in parse_ldif.c. + */ +static int +ldap_entry_compare(const void *a, const void *b) +{ + const struct ldap_entry_wrapper *aw = a; + const struct ldap_entry_wrapper *bw = b; + debug_decl(ldap_entry_compare, SUDOERS_DEBUG_LDAP); + + debug_return_int(aw->order < bw->order ? -1 : + (aw->order > bw->order ? 1 : 0)); +} + +/* + * Return the last entry in the list of searches, usually the + * one currently being used to add entries. + */ +static struct ldap_search_result * +sudo_ldap_result_last_search(struct ldap_result *lres) +{ + debug_decl(sudo_ldap_result_last_search, SUDOERS_DEBUG_LDAP); + + debug_return_ptr(STAILQ_LAST(&lres->searches, ldap_search_result, entries)); +} + +/* + * Add an entry to the result structure. + */ +static struct ldap_entry_wrapper * +sudo_ldap_result_add_entry(struct ldap_result *lres, LDAPMessage *entry) +{ + struct ldap_search_result *last; + struct berval **bv; + double order = 0.0; + char *ep; + int rc; + debug_decl(sudo_ldap_result_add_entry, SUDOERS_DEBUG_LDAP); + + /* Determine whether the entry has the sudoOrder attribute. */ + last = sudo_ldap_result_last_search(lres); + if (last != NULL) { + bv = sudo_ldap_get_values_len(last->ldap, entry, "sudoOrder", &rc); + if (bv == NULL) { + if (rc == LDAP_NO_MEMORY) + debug_return_ptr(NULL); + } else { + if (ldap_count_values_len(bv) > 0) { + /* Get the value of this attribute, 0 if not present. */ + DPRINTF2("order attribute raw: %s", (*bv)->bv_val); + order = strtod((*bv)->bv_val, &ep); + if (ep == (*bv)->bv_val || *ep != '\0') { + sudo_warnx(U_("invalid sudoOrder attribute: %s"), + (*bv)->bv_val); + order = 0.0; + } + DPRINTF2("order attribute: %f", order); + } + ldap_value_free_len(bv); + } + } + + /* + * Enlarge the array of entry wrappers as needed, preallocating blocks + * of 100 entries to save on allocation time. + */ + if (++lres->nentries > lres->allocated_entries) { + int allocated_entries = lres->allocated_entries + ALLOCATION_INCREMENT; + struct ldap_entry_wrapper *entries = reallocarray(lres->entries, + allocated_entries, sizeof(lres->entries[0])); + if (entries == NULL) + debug_return_ptr(NULL); + lres->allocated_entries = allocated_entries; + lres->entries = entries; + } + + /* Fill in the new entry and return it. */ + lres->entries[lres->nentries - 1].entry = entry; + lres->entries[lres->nentries - 1].order = order; + + debug_return_ptr(&lres->entries[lres->nentries - 1]); +} + +/* + * Perform the LDAP query for the user. The caller is responsible for + * freeing the result with sudo_ldap_result_free(). + */ +static struct ldap_result * +sudo_ldap_result_get(struct sudo_nss *nss, struct passwd *pw) +{ + struct sudo_ldap_handle *handle = nss->handle; + struct ldap_config_str *base; + struct ldap_result *lres; + struct timeval tv, *tvp = NULL; + LDAPMessage *entry, *result; + LDAP *ld = handle->ld; + char *filt = NULL; + int pass, rc; + debug_decl(sudo_ldap_result_get, SUDOERS_DEBUG_LDAP); + + /* + * Okay - time to search for anything that matches this user + * Lets limit it to only two queries of the LDAP server + * + * The first pass will look by the username, groups, and + * the keyword ALL. We will then inspect the results that + * came back from the query. We don't need to inspect the + * sudoUser in this pass since the LDAP server already scanned + * it for us. + * + * The second pass will return all the entries that contain non- + * Unix groups, including netgroups. Then we take the non-Unix + * groups returned and try to match them against the username. + * + * Since we have to sort the possible entries before we make a + * decision, we perform the queries and store all of the results in + * an ldap_result object. The results are then sorted by sudoOrder. + */ + lres = sudo_ldap_result_alloc(); + if (lres == NULL) + goto oom; + for (pass = 0; pass < 2; pass++) { + filt = pass ? sudo_ldap_build_pass2() : sudo_ldap_build_pass1(ld, pw); + if (filt != NULL) { + DPRINTF1("ldap search '%s'", filt); + STAILQ_FOREACH(base, &ldap_conf.base, entries) { + DPRINTF1("searching from base '%s'", + base->val); + if (ldap_conf.timeout > 0) { + tv.tv_sec = ldap_conf.timeout; + tv.tv_usec = 0; + tvp = &tv; + } + result = NULL; + rc = ldap_search_ext_s(ld, base->val, LDAP_SCOPE_SUBTREE, filt, + NULL, 0, NULL, NULL, tvp, 0, &result); + if (rc != LDAP_SUCCESS) { + DPRINTF1("ldap search pass %d failed: %s", pass + 1, + ldap_err2string(rc)); + continue; + } + + /* Add the search result to list of search results. */ + DPRINTF1("adding search result"); + if (sudo_ldap_result_add_search(lres, ld, result) == NULL) + goto oom; + LDAP_FOREACH(entry, ld, result) { + if (pass != 0) { + /* Check non-unix group in 2nd pass. */ + switch (sudo_ldap_check_non_unix_group(ld, entry, pw)) { + case -1: + goto oom; + case false: + continue; + default: + break; + } + } + if (sudo_ldap_result_add_entry(lres, entry) == NULL) + goto oom; + } + DPRINTF1("result now has %d entries", lres->nentries); + } + free(filt); + filt = NULL; + } else if (errno != ENOENT) { + /* Out of memory? */ + goto oom; + } + } + + /* Sort the entries by the sudoOrder attribute. */ + if (lres->nentries != 0) { + DPRINTF1("sorting remaining %d entries", lres->nentries); + qsort(lres->entries, lres->nentries, sizeof(lres->entries[0]), + ldap_entry_compare); + } + + debug_return_ptr(lres); +oom: + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + free(filt); + sudo_ldap_result_free(lres); + debug_return_ptr(NULL); +} + +/* + * Perform LDAP query for user and host and convert to sudoers + * parse tree. + */ +static int +sudo_ldap_query(struct sudo_nss *nss, struct passwd *pw) +{ + struct sudo_ldap_handle *handle = nss->handle; + struct ldap_result *lres = NULL; + int ret = -1; + debug_decl(sudo_ldap_query, SUDOERS_DEBUG_LDAP); + + if (handle == NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR, + "%s: called with NULL handle", __func__); + debug_return_int(-1); + } + + /* Use cached result if it matches pw. */ + if (handle->pw != NULL) { + if (pw == handle->pw) { + ret = 0; + goto done; + } + sudo_pw_delref(handle->pw); + handle->pw = NULL; + } + + /* Free old userspecs, if any. */ + free_userspecs(&handle->parse_tree.userspecs); + + DPRINTF1("%s: ldap search user %s, host %s", __func__, pw->pw_name, + user_runhost); + if ((lres = sudo_ldap_result_get(nss, pw)) == NULL) + goto done; + + /* Convert to sudoers parse tree. */ + if (!ldap_to_sudoers(handle->ld, lres, &handle->parse_tree.userspecs)) + goto done; + + /* Stash a ref to the passwd struct in the handle. */ + sudo_pw_addref(pw); + handle->pw = pw; + + ret = 0; + +done: + /* Cleanup. */ + sudo_ldap_result_free(lres); + if (ret == -1) + free_userspecs(&handle->parse_tree.userspecs); + debug_return_int(ret); +} + +/* + * Return the initialized (but empty) sudoers parse tree. + * The contents will be populated by the getdefs() and query() functions. + */ +static struct sudoers_parse_tree * +sudo_ldap_parse(struct sudo_nss *nss) +{ + struct sudo_ldap_handle *handle = nss->handle; + debug_decl(sudo_ldap_parse, SUDOERS_DEBUG_LDAP); + + if (handle == NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR, + "%s: called with NULL handle", __func__); + debug_return_ptr(NULL); + } + + debug_return_ptr(&handle->parse_tree); +} + +#if 0 +/* + * Create an ldap_result from an LDAP search result. + * + * This function is currently not used anywhere, it is left here as + * an example of how to use the cached searches. + */ +static struct ldap_result * +sudo_ldap_result_from_search(LDAP *ldap, LDAPMessage *searchresult) +{ + struct ldap_search_result *last; + struct ldap_result *result; + LDAPMessage *entry; + + /* + * An ldap_result is built from several search results, which are + * organized in a list. The head of the list is maintained in the + * ldap_result structure, together with the wrappers that point + * to individual entries, this has to be initialized first. + */ + result = sudo_ldap_result_alloc(); + if (result == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + debug_return_ptr(NULL); + } + + /* + * Build a new list node for the search result, this creates the + * list node. + */ + last = sudo_ldap_result_add_search(result, ldap, searchresult); + + /* + * Now add each entry in the search result to the array of of entries + * in the ldap_result object. + */ + LDAP_FOREACH(entry, last->ldap, last->searchresult) { + if (sudo_ldap_result_add_entry(result, entry) == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + sudo_ldap_result_free(result); + result = NULL; + break; + } + } + DPRINTF1("sudo_ldap_result_from_search: %d entries found", + result ? result->nentries : -1); + return result; +} +#endif + +/* sudo_nss implementation */ +struct sudo_nss sudo_nss_ldap = { + { NULL, NULL }, + "ldap", + sudo_ldap_open, + sudo_ldap_close, + sudo_ldap_parse, + sudo_ldap_query, + sudo_ldap_getdefs +}; diff --git a/plugins/sudoers/ldap_conf.c b/plugins/sudoers/ldap_conf.c new file mode 100644 index 0000000..2b566dd --- /dev/null +++ b/plugins/sudoers/ldap_conf.c @@ -0,0 +1,953 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2003-2020 Todd C. Miller + * + * This code is derived from software contributed by Aaron Spangler. + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include +#include +#ifdef HAVE_STRINGS_H +# include +#endif /* HAVE_STRINGS_H */ +#include +#include +#include +#ifdef HAVE_LBER_H +# include +#endif +#include +#if defined(HAVE_LDAP_SSL_H) +# include +#elif defined(HAVE_MPS_LDAP_SSL_H) +# include +#endif + +#include "sudoers.h" +#include "sudo_lbuf.h" +#include "sudo_ldap.h" +#include "sudo_ldap_conf.h" + +/* Older Netscape LDAP SDKs don't prototype ldapssl_set_strength() */ +#if defined(HAVE_LDAPSSL_SET_STRENGTH) && !defined(HAVE_LDAP_SSL_H) && !defined(HAVE_MPS_LDAP_SSL_H) +extern int ldapssl_set_strength(LDAP *ldap, int strength); +#endif + +#if !defined(LDAP_OPT_NETWORK_TIMEOUT) && defined(LDAP_OPT_CONNECT_TIMEOUT) +# define LDAP_OPT_NETWORK_TIMEOUT LDAP_OPT_CONNECT_TIMEOUT +#endif + +#ifndef LDAP_OPT_SUCCESS +# define LDAP_OPT_SUCCESS LDAP_SUCCESS +#endif + +#ifndef LDAPS_PORT +# define LDAPS_PORT 636 +#endif + +/* Default search filter. */ +#define DEFAULT_SEARCH_FILTER "(objectClass=sudoRole)" + +/* Default netgroup search filter. */ +#define DEFAULT_NETGROUP_SEARCH_FILTER "(objectClass=nisNetgroup)" + +/* LDAP configuration structure */ +struct ldap_config ldap_conf; + +static struct ldap_config_table ldap_conf_global[] = { + { "sudoers_debug", CONF_INT, -1, &ldap_conf.debug }, + { "host", CONF_STR, -1, &ldap_conf.host }, + { "port", CONF_INT, -1, &ldap_conf.port }, + { "ssl", CONF_STR, -1, &ldap_conf.ssl }, + { "sslpath", CONF_STR, -1, &ldap_conf.tls_certfile }, + { "uri", CONF_LIST_STR, -1, &ldap_conf.uri }, +#ifdef LDAP_OPT_DEBUG_LEVEL + { "debug", CONF_INT, LDAP_OPT_DEBUG_LEVEL, &ldap_conf.ldap_debug }, +#endif +#ifdef LDAP_OPT_X_TLS_REQUIRE_CERT + { "tls_checkpeer", CONF_BOOL, LDAP_OPT_X_TLS_REQUIRE_CERT, + &ldap_conf.tls_checkpeer }, + { "tls_reqcert", CONF_REQCERT_VAL, LDAP_OPT_X_TLS_REQUIRE_CERT, + &ldap_conf.tls_reqcert }, +#else + { "tls_checkpeer", CONF_BOOL, -1, &ldap_conf.tls_checkpeer }, +#endif +#ifdef LDAP_OPT_X_TLS_CACERTFILE + { "tls_cacertfile", CONF_STR, LDAP_OPT_X_TLS_CACERTFILE, + &ldap_conf.tls_cacertfile }, + { "tls_cacert", CONF_STR, LDAP_OPT_X_TLS_CACERTFILE, + &ldap_conf.tls_cacertfile }, +#endif +#ifdef LDAP_OPT_X_TLS_CACERTDIR + { "tls_cacertdir", CONF_STR, LDAP_OPT_X_TLS_CACERTDIR, + &ldap_conf.tls_cacertdir }, +#endif +#ifdef LDAP_OPT_X_TLS_RANDOM_FILE + { "tls_randfile", CONF_STR, LDAP_OPT_X_TLS_RANDOM_FILE, + &ldap_conf.tls_random_file }, +#endif +#ifdef LDAP_OPT_X_TLS_CIPHER_SUITE + { "tls_ciphers", CONF_STR, LDAP_OPT_X_TLS_CIPHER_SUITE, + &ldap_conf.tls_cipher_suite }, +#elif defined(LDAP_OPT_SSL_CIPHER) + { "tls_ciphers", CONF_STR, LDAP_OPT_SSL_CIPHER, + &ldap_conf.tls_cipher_suite }, +#endif +#ifdef LDAP_OPT_X_TLS_CERTFILE + { "tls_cert", CONF_STR, LDAP_OPT_X_TLS_CERTFILE, + &ldap_conf.tls_certfile }, +#else + { "tls_cert", CONF_STR, -1, &ldap_conf.tls_certfile }, +#endif +#ifdef LDAP_OPT_X_TLS_KEYFILE + { "tls_key", CONF_STR, LDAP_OPT_X_TLS_KEYFILE, + &ldap_conf.tls_keyfile }, +#else + { "tls_key", CONF_STR, -1, &ldap_conf.tls_keyfile }, +#endif +#ifdef HAVE_LDAP_SSL_CLIENT_INIT + { "tls_keypw", CONF_STR, -1, &ldap_conf.tls_keypw }, +#endif + { "binddn", CONF_STR, -1, &ldap_conf.binddn }, + { "bindpw", CONF_STR, -1, &ldap_conf.bindpw }, + { "rootbinddn", CONF_STR, -1, &ldap_conf.rootbinddn }, + { "sudoers_base", CONF_LIST_STR, -1, &ldap_conf.base }, + { "sudoers_timed", CONF_BOOL, -1, &ldap_conf.timed }, + { "sudoers_search_filter", CONF_STR, -1, &ldap_conf.search_filter }, + { "netgroup_base", CONF_LIST_STR, -1, &ldap_conf.netgroup_base }, + { "netgroup_search_filter", CONF_STR, -1, &ldap_conf.netgroup_search_filter }, +#ifdef HAVE_LDAP_SASL_INTERACTIVE_BIND_S + { "use_sasl", CONF_BOOL, -1, &ldap_conf.use_sasl }, + { "sasl_mech", CONF_STR, -1, &ldap_conf.sasl_mech }, + { "sasl_auth_id", CONF_STR, -1, &ldap_conf.sasl_auth_id }, + { "rootuse_sasl", CONF_BOOL, -1, &ldap_conf.rootuse_sasl }, + { "rootsasl_auth_id", CONF_STR, -1, &ldap_conf.rootsasl_auth_id }, + { "krb5_ccname", CONF_STR, -1, &ldap_conf.krb5_ccname }, +#endif /* HAVE_LDAP_SASL_INTERACTIVE_BIND_S */ + { NULL } +}; + +static struct ldap_config_table ldap_conf_conn[] = { +#ifdef LDAP_OPT_PROTOCOL_VERSION + { "ldap_version", CONF_INT, LDAP_OPT_PROTOCOL_VERSION, + &ldap_conf.version }, +#endif +#ifdef LDAP_OPT_NETWORK_TIMEOUT + { "bind_timelimit", CONF_INT, -1 /* needs timeval, set manually */, + &ldap_conf.bind_timelimit }, + { "network_timeout", CONF_INT, -1 /* needs timeval, set manually */, + &ldap_conf.bind_timelimit }, +#elif defined(LDAP_X_OPT_CONNECT_TIMEOUT) + { "bind_timelimit", CONF_INT, LDAP_X_OPT_CONNECT_TIMEOUT, + &ldap_conf.bind_timelimit }, + { "network_timeout", CONF_INT, LDAP_X_OPT_CONNECT_TIMEOUT, + &ldap_conf.bind_timelimit }, +#endif + { "timelimit", CONF_INT, LDAP_OPT_TIMELIMIT, &ldap_conf.timelimit }, +#ifdef LDAP_OPT_TIMEOUT + { "timeout", CONF_INT, -1 /* needs timeval, set manually */, + &ldap_conf.timeout }, +#endif +#ifdef LDAP_OPT_DEREF + { "deref", CONF_DEREF_VAL, LDAP_OPT_DEREF, &ldap_conf.deref }, +#endif +#ifdef LDAP_OPT_X_SASL_SECPROPS + { "sasl_secprops", CONF_STR, LDAP_OPT_X_SASL_SECPROPS, + &ldap_conf.sasl_secprops }, +#endif + { NULL } +}; + +#ifdef HAVE_LDAP_CREATE +/* + * Rebuild the hosts list and include a specific port for each host. + * ldap_create() does not take a default port parameter so we must + * append one if we want something other than LDAP_PORT. + */ +static bool +sudo_ldap_conf_add_ports(void) +{ + char *host, *last, *port, defport[13]; + char hostbuf[LINE_MAX * 2]; + int len; + debug_decl(sudo_ldap_conf_add_ports, SUDOERS_DEBUG_LDAP); + + hostbuf[0] = '\0'; + len = snprintf(defport, sizeof(defport), ":%d", ldap_conf.port); + if (len < 0 || len >= ssizeof(defport)) { + sudo_warnx(U_("%s: port too large"), __func__); + debug_return_bool(false); + } + + for ((host = strtok_r(ldap_conf.host, " \t", &last)); host; (host = strtok_r(NULL, " \t", &last))) { + if (hostbuf[0] != '\0') + CHECK_STRLCAT(hostbuf, " ", sizeof(hostbuf)); + CHECK_STRLCAT(hostbuf, host, sizeof(hostbuf)); + + /* Append port if there is not one already. */ + if ((port = strrchr(host, ':')) == NULL || + !isdigit((unsigned char)port[1])) { + CHECK_STRLCAT(hostbuf, defport, sizeof(hostbuf)); + } + } + + free(ldap_conf.host); + if ((ldap_conf.host = strdup(hostbuf)) == NULL) + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + debug_return_bool(ldap_conf.host != NULL); + +overflow: + sudo_warnx(U_("internal error, %s overflow"), __func__); + debug_return_bool(false); +} +#endif + +#ifndef HAVE_LDAP_INITIALIZE +/* + * For each uri, convert to host:port pairs. For ldaps:// enable SSL + * Accepts: uris of the form ldap:/// or ldap://hostname:portnum/ + * where the trailing slash is optional. + * Returns LDAP_SUCCESS on success, else non-zero. + */ +static int +sudo_ldap_parse_uri(const struct ldap_config_str_list *uri_list) +{ + const struct ldap_config_str *entry; + char *buf, hostbuf[LINE_MAX]; + int nldap = 0, nldaps = 0; + int ret = -1; + debug_decl(sudo_ldap_parse_uri, SUDOERS_DEBUG_LDAP); + + hostbuf[0] = '\0'; + STAILQ_FOREACH(entry, uri_list, entries) { + char *cp, *last, *uri; + const char *host, *port; + + buf = strdup(entry->val); + if (buf == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + goto done; + } + for ((uri = strtok_r(buf, " \t", &last)); uri != NULL; (uri = strtok_r(NULL, " \t", &last))) { + if (strncasecmp(uri, "ldap://", 7) == 0) { + nldap++; + host = uri + 7; + } else if (strncasecmp(uri, "ldaps://", 8) == 0) { + nldaps++; + host = uri + 8; + } else { + sudo_warnx(U_("unsupported LDAP uri type: %s"), uri); + goto done; + } + + /* trim optional trailing slash */ + if ((cp = strrchr(host, '/')) != NULL && cp[1] == '\0') { + *cp = '\0'; + } + + if (hostbuf[0] != '\0') + CHECK_STRLCAT(hostbuf, " ", sizeof(hostbuf)); + + if (*host == '\0') + host = "localhost"; /* no host specified, use localhost */ + + CHECK_STRLCAT(hostbuf, host, sizeof(hostbuf)); + + /* If using SSL and no port specified, add port 636 */ + if (nldaps) { + if ((port = strrchr(host, ':')) == NULL || + !isdigit((unsigned char)port[1])) + CHECK_STRLCAT(hostbuf, ":636", sizeof(hostbuf)); + } + } + + if (nldaps != 0) { + if (nldap != 0) { + sudo_warnx("%s", U_("unable to mix ldap and ldaps URIs")); + goto done; + } + if (ldap_conf.ssl_mode == SUDO_LDAP_STARTTLS) + sudo_warnx("%s", U_("starttls not supported when using ldaps")); + ldap_conf.ssl_mode = SUDO_LDAP_SSL; + } + free(buf); + } + buf = NULL; + + /* Store parsed URI(s) in host for ldap_create() or ldap_init(). */ + free(ldap_conf.host); + if ((ldap_conf.host = strdup(hostbuf)) == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + goto done; + } + + ret = LDAP_SUCCESS; + +done: + free(buf); + debug_return_int(ret); + +overflow: + sudo_warnx(U_("internal error, %s overflow"), __func__); + free(buf); + debug_return_int(-1); +} +#endif /* HAVE_LDAP_INITIALIZE */ + +/* + * Decode a secret if it is base64 encoded, else return NULL. + */ +static char * +sudo_ldap_decode_secret(const char *secret) +{ + unsigned char *result = NULL; + size_t len, reslen; + debug_decl(sudo_ldap_decode_secret, SUDOERS_DEBUG_LDAP); + + if (strncasecmp(secret, "base64:", sizeof("base64:") - 1) == 0) { + /* + * Decode a base64 secret. The decoded length is 3/4 the encoded + * length but padding may be missing so round up to a multiple of 4. + */ + secret += sizeof("base64:") - 1; + reslen = ((strlen(secret) + 3) / 4 * 3); + result = malloc(reslen + 1); + if (result == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + } else { + len = base64_decode(secret, result, reslen); + if (len == (size_t)-1) { + free(result); + result = NULL; + } else { + result[len] = '\0'; + } + } + } + debug_return_str((char *)result); +} + +static void +sudo_ldap_read_secret(const char *path) +{ + FILE *fp; + char *line = NULL; + size_t linesize = 0; + ssize_t len; + debug_decl(sudo_ldap_read_secret, SUDOERS_DEBUG_LDAP); + + if ((fp = fopen(path_ldap_secret, "r")) != NULL) { + len = getdelim(&line, &linesize, '\n', fp); + if (len != -1) { + /* trim newline */ + while (len > 0 && line[len - 1] == '\n') + line[--len] = '\0'; + /* copy to bindpw and binddn */ + free(ldap_conf.bindpw); + ldap_conf.bindpw = sudo_ldap_decode_secret(line); + if (ldap_conf.bindpw == NULL) { + /* not base64 encoded, use directly */ + ldap_conf.bindpw = line; + line = NULL; + } + free(ldap_conf.binddn); + ldap_conf.binddn = ldap_conf.rootbinddn; + ldap_conf.rootbinddn = NULL; + } + fclose(fp); + free(line); + } + debug_return; +} + +/* + * Look up keyword in config tables. + * Returns true if found, else false. + */ +static bool +sudo_ldap_parse_keyword(const char *keyword, const char *value, + struct ldap_config_table *table) +{ + struct ldap_config_table *cur; + const char *errstr; + debug_decl(sudo_ldap_parse_keyword, SUDOERS_DEBUG_LDAP); + + /* Look up keyword in config tables */ + for (cur = table; cur->conf_str != NULL; cur++) { + if (strcasecmp(keyword, cur->conf_str) == 0) { + switch (cur->type) { + case CONF_DEREF_VAL: +#ifdef LDAP_OPT_DEREF + if (strcasecmp(value, "searching") == 0) + *(int *)(cur->valp) = LDAP_DEREF_SEARCHING; + else if (strcasecmp(value, "finding") == 0) + *(int *)(cur->valp) = LDAP_DEREF_FINDING; + else if (strcasecmp(value, "always") == 0) + *(int *)(cur->valp) = LDAP_DEREF_ALWAYS; + else + *(int *)(cur->valp) = LDAP_DEREF_NEVER; +#endif /* LDAP_OPT_DEREF */ + break; + case CONF_REQCERT_VAL: +#ifdef LDAP_OPT_X_TLS_REQUIRE_CERT + if (strcasecmp(value, "never") == 0) + *(int *)(cur->valp) = LDAP_OPT_X_TLS_NEVER; + else if (strcasecmp(value, "allow") == 0) + *(int *)(cur->valp) = LDAP_OPT_X_TLS_ALLOW; + else if (strcasecmp(value, "try") == 0) + *(int *)(cur->valp) = LDAP_OPT_X_TLS_TRY; + else if (strcasecmp(value, "hard") == 0) + *(int *)(cur->valp) = LDAP_OPT_X_TLS_HARD; + else if (strcasecmp(value, "demand") == 0) + *(int *)(cur->valp) = LDAP_OPT_X_TLS_DEMAND; +#endif /* LDAP_OPT_X_TLS_REQUIRE_CERT */ + break; + case CONF_BOOL: + *(int *)(cur->valp) = sudo_strtobool(value) == true; + break; + case CONF_INT: + *(int *)(cur->valp) = sudo_strtonum(value, INT_MIN, INT_MAX, + &errstr); + if (errstr != NULL) { + sudo_warnx(U_("%s: %s: %s: %s"), + path_ldap_conf, keyword, value, U_(errstr)); + } + break; + case CONF_STR: + { + char *cp = NULL; + + free(*(char **)(cur->valp)); + if (*value && (cp = strdup(value)) == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + debug_return_bool(false); + } + *(char **)(cur->valp) = cp; + break; + } + case CONF_LIST_STR: + { + struct ldap_config_str_list *head; + struct ldap_config_str *str; + size_t len = strlen(value); + + if (len > 0) { + head = (struct ldap_config_str_list *)cur->valp; + if ((str = malloc(sizeof(*str) + len)) == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + debug_return_bool(false); + } + memcpy(str->val, value, len + 1); + STAILQ_INSERT_TAIL(head, str, entries); + } + } + break; + default: + sudo_warnx( + "internal error: unhandled CONF_ value %d for option %s", + cur->type, cur->conf_str); + sudo_warnx( + "update %s to add missing support for CONF_ value %d", + __func__, cur->type); + break; + } + debug_return_bool(true); + } + } + debug_return_bool(false); +} + +#ifdef HAVE_LDAP_SASL_INTERACTIVE_BIND_S +const char * +sudo_krb5_ccname_path(const char *old_ccname) +{ + const char *ccname = old_ccname; + debug_decl(sudo_krb5_ccname_path, SUDOERS_DEBUG_LDAP); + + /* Strip off leading FILE: or WRFILE: prefix. */ + switch (ccname[0]) { + case 'F': + case 'f': + if (strncasecmp(ccname, "FILE:", 5) == 0) + ccname += 5; + break; + case 'W': + case 'w': + if (strncasecmp(ccname, "WRFILE:", 7) == 0) + ccname += 7; + break; + } + sudo_debug_printf(SUDO_DEBUG_INFO|SUDO_DEBUG_LINENO, + "ccache %s -> %s", old_ccname, ccname); + + /* Credential cache must be a fully-qualified path name. */ + debug_return_const_str(*ccname == '/' ? ccname : NULL); +} + +static bool +sudo_check_krb5_ccname(const char *ccname) +{ + int fd; + const char *ccname_path; + debug_decl(sudo_check_krb5_ccname, SUDOERS_DEBUG_LDAP); + + /* Strip off prefix to get path name. */ + ccname_path = sudo_krb5_ccname_path(ccname); + if (ccname_path == NULL) { + sudo_debug_printf(SUDO_DEBUG_WARN|SUDO_DEBUG_LINENO, + "unsupported krb5 credential cache path: %s", ccname); + debug_return_bool(false); + } + /* Make sure credential cache is fully-qualified and exists. */ + fd = open(ccname_path, O_RDONLY|O_NONBLOCK, 0); + if (fd == -1) { + sudo_debug_printf(SUDO_DEBUG_WARN|SUDO_DEBUG_LINENO, + "unable to open krb5 credential cache: %s", ccname_path); + debug_return_bool(false); + } + close(fd); + sudo_debug_printf(SUDO_DEBUG_INFO, + "using krb5 credential cache: %s", ccname_path); + debug_return_bool(true); +} +#endif /* HAVE_LDAP_SASL_INTERACTIVE_BIND_S */ + +bool +sudo_ldap_read_config(void) +{ + char *cp, *keyword, *value, *line = NULL; + struct ldap_config_str *conf_str; + size_t linesize = 0; + FILE *fp; + debug_decl(sudo_ldap_read_config, SUDOERS_DEBUG_LDAP); + + /* defaults */ + ldap_conf.version = 3; + ldap_conf.port = -1; + ldap_conf.tls_checkpeer = -1; + ldap_conf.tls_reqcert = -1; + ldap_conf.timelimit = -1; + ldap_conf.timeout = -1; + ldap_conf.bind_timelimit = -1; + ldap_conf.use_sasl = -1; + ldap_conf.rootuse_sasl = -1; + ldap_conf.deref = -1; + ldap_conf.search_filter = strdup(DEFAULT_SEARCH_FILTER); + ldap_conf.netgroup_search_filter = strdup(DEFAULT_NETGROUP_SEARCH_FILTER); + STAILQ_INIT(&ldap_conf.uri); + STAILQ_INIT(&ldap_conf.base); + STAILQ_INIT(&ldap_conf.netgroup_base); + + if (ldap_conf.search_filter == NULL || ldap_conf.netgroup_search_filter == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + debug_return_bool(false); + } + + if ((fp = fopen(path_ldap_conf, "r")) == NULL) + debug_return_bool(false); + + while (sudo_parseln(&line, &linesize, NULL, fp, PARSELN_COMM_BOL|PARSELN_CONT_IGN) != -1) { + if (*line == '\0') + continue; /* skip empty line */ + + /* split into keyword and value */ + keyword = cp = line; + while (*cp && !isblank((unsigned char) *cp)) + cp++; + if (*cp) + *cp++ = '\0'; /* terminate keyword */ + + /* skip whitespace before value */ + while (isblank((unsigned char) *cp)) + cp++; + value = cp; + + /* Look up keyword in config tables */ + if (!sudo_ldap_parse_keyword(keyword, value, ldap_conf_global)) + sudo_ldap_parse_keyword(keyword, value, ldap_conf_conn); + } + free(line); + fclose(fp); + + if (!ldap_conf.host) { + ldap_conf.host = strdup("localhost"); + if (ldap_conf.host == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + debug_return_bool(false); + } + } + + DPRINTF1("LDAP Config Summary"); + DPRINTF1("==================="); + if (!STAILQ_EMPTY(&ldap_conf.uri)) { + STAILQ_FOREACH(conf_str, &ldap_conf.uri, entries) { + DPRINTF1("uri %s", conf_str->val); + } + } else { + DPRINTF1("host %s", + ldap_conf.host ? ldap_conf.host : "(NONE)"); + DPRINTF1("port %d", ldap_conf.port); + } + DPRINTF1("ldap_version %d", ldap_conf.version); + + if (!STAILQ_EMPTY(&ldap_conf.base)) { + STAILQ_FOREACH(conf_str, &ldap_conf.base, entries) { + DPRINTF1("sudoers_base %s", conf_str->val); + } + } else { + DPRINTF1("sudoers_base %s", "(NONE: LDAP disabled)"); + } + if (ldap_conf.search_filter) { + DPRINTF1("search_filter %s", ldap_conf.search_filter); + } + if (!STAILQ_EMPTY(&ldap_conf.netgroup_base)) { + STAILQ_FOREACH(conf_str, &ldap_conf.netgroup_base, entries) { + DPRINTF1("netgroup_base %s", conf_str->val); + } + } else { + DPRINTF1("netgroup_base %s", "(NONE: will use nsswitch)"); + } + if (ldap_conf.netgroup_search_filter) { + DPRINTF1("netgroup_search_filter %s", ldap_conf.netgroup_search_filter); + } + DPRINTF1("binddn %s", + ldap_conf.binddn ? ldap_conf.binddn : "(anonymous)"); + DPRINTF1("bindpw %s", + ldap_conf.bindpw ? ldap_conf.bindpw : "(anonymous)"); + if (ldap_conf.bind_timelimit > 0) { + DPRINTF1("bind_timelimit %d", ldap_conf.bind_timelimit); + } + if (ldap_conf.timelimit > 0) { + DPRINTF1("timelimit %d", ldap_conf.timelimit); + } + if (ldap_conf.deref != -1) { + DPRINTF1("deref %d", ldap_conf.deref); + } + DPRINTF1("ssl %s", ldap_conf.ssl ? ldap_conf.ssl : "(no)"); + if (ldap_conf.tls_checkpeer != -1) { + DPRINTF1("tls_checkpeer %s", + ldap_conf.tls_checkpeer ? "(yes)" : "(no)"); + } +#ifdef LDAP_OPT_X_TLS_REQUIRE_CERT + if (ldap_conf.tls_reqcert != -1) { + DPRINTF1("tls_reqcert %s", + ldap_conf.tls_reqcert == LDAP_OPT_X_TLS_NEVER ? "hard" : + ldap_conf.tls_reqcert == LDAP_OPT_X_TLS_ALLOW ? "allow" : + ldap_conf.tls_reqcert == LDAP_OPT_X_TLS_TRY ? "try" : + ldap_conf.tls_reqcert == LDAP_OPT_X_TLS_HARD ? "hard" : + ldap_conf.tls_reqcert == LDAP_OPT_X_TLS_DEMAND ? "demand" : + "unknown"); + } +#endif /* LDAP_OPT_X_TLS_REQUIRE_CERT */ + if (ldap_conf.tls_cacertfile != NULL) { + DPRINTF1("tls_cacertfile %s", ldap_conf.tls_cacertfile); + } + if (ldap_conf.tls_cacertdir != NULL) { + DPRINTF1("tls_cacertdir %s", ldap_conf.tls_cacertdir); + } + if (ldap_conf.tls_random_file != NULL) { + DPRINTF1("tls_random_file %s", ldap_conf.tls_random_file); + } + if (ldap_conf.tls_cipher_suite != NULL) { + DPRINTF1("tls_cipher_suite %s", ldap_conf.tls_cipher_suite); + } + if (ldap_conf.tls_certfile != NULL) { + DPRINTF1("tls_certfile %s", ldap_conf.tls_certfile); + } + if (ldap_conf.tls_keyfile != NULL) { + DPRINTF1("tls_keyfile %s", ldap_conf.tls_keyfile); + } +#ifdef HAVE_LDAP_SASL_INTERACTIVE_BIND_S + if (ldap_conf.use_sasl != -1) { + if (ldap_conf.sasl_mech == NULL) { + /* Default mechanism is GSSAPI. */ + ldap_conf.sasl_mech = strdup("GSSAPI"); + if (ldap_conf.sasl_mech == NULL) { + sudo_warnx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + debug_return_bool(false); + } + } + DPRINTF1("use_sasl %s", ldap_conf.use_sasl ? "yes" : "no"); + DPRINTF1("sasl_mech %s", ldap_conf.sasl_mech); + DPRINTF1("sasl_auth_id %s", + ldap_conf.sasl_auth_id ? ldap_conf.sasl_auth_id : "(NONE)"); + DPRINTF1("rootuse_sasl %d", + ldap_conf.rootuse_sasl); + DPRINTF1("rootsasl_auth_id %s", + ldap_conf.rootsasl_auth_id ? ldap_conf.rootsasl_auth_id : "(NONE)"); + DPRINTF1("sasl_secprops %s", + ldap_conf.sasl_secprops ? ldap_conf.sasl_secprops : "(NONE)"); + DPRINTF1("krb5_ccname %s", + ldap_conf.krb5_ccname ? ldap_conf.krb5_ccname : "(NONE)"); + } +#endif + DPRINTF1("==================="); + + if (STAILQ_EMPTY(&ldap_conf.base)) + debug_return_bool(false); /* if no base is defined, ignore LDAP */ + + if (ldap_conf.bind_timelimit > 0) + ldap_conf.bind_timelimit *= 1000; /* convert to ms */ + + /* + * Interpret SSL option + */ + if (ldap_conf.ssl != NULL) { + if (strcasecmp(ldap_conf.ssl, "start_tls") == 0) + ldap_conf.ssl_mode = SUDO_LDAP_STARTTLS; + else if (sudo_strtobool(ldap_conf.ssl) == true) + ldap_conf.ssl_mode = SUDO_LDAP_SSL; + } + +#if defined(HAVE_LDAPSSL_SET_STRENGTH) && !defined(LDAP_OPT_X_TLS_REQUIRE_CERT) + if (ldap_conf.tls_checkpeer != -1) { + ldapssl_set_strength(NULL, + ldap_conf.tls_checkpeer ? LDAPSSL_AUTH_CERT : LDAPSSL_AUTH_WEAK); + } +#endif + +#ifndef HAVE_LDAP_INITIALIZE + /* Convert uri list to host list if no ldap_initialize(). */ + if (!STAILQ_EMPTY(&ldap_conf.uri)) { + struct ldap_config_str *uri; + + if (sudo_ldap_parse_uri(&ldap_conf.uri) != LDAP_SUCCESS) + debug_return_bool(false); + while ((uri = STAILQ_FIRST(&ldap_conf.uri)) != NULL) { + STAILQ_REMOVE_HEAD(&ldap_conf.uri, entries); + free(uri); + } + ldap_conf.port = LDAP_PORT; + } +#endif + + if (STAILQ_EMPTY(&ldap_conf.uri)) { + /* Use port 389 for plaintext LDAP and port 636 for SSL LDAP */ + if (ldap_conf.port < 0) + ldap_conf.port = + ldap_conf.ssl_mode == SUDO_LDAP_SSL ? LDAPS_PORT : LDAP_PORT; + +#ifdef HAVE_LDAP_CREATE + /* + * Cannot specify port directly to ldap_create(), each host must + * include :port to override the default. + */ + if (ldap_conf.port != LDAP_PORT) { + if (!sudo_ldap_conf_add_ports()) + debug_return_bool(false); + } +#endif + } + + /* If search filter is not parenthesized, make it so. */ + if (ldap_conf.search_filter && ldap_conf.search_filter[0] != '(') { + size_t len = strlen(ldap_conf.search_filter); + cp = ldap_conf.search_filter; + ldap_conf.search_filter = malloc(len + 3); + if (ldap_conf.search_filter == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + debug_return_bool(false); + } + ldap_conf.search_filter[0] = '('; + memcpy(ldap_conf.search_filter + 1, cp, len); + ldap_conf.search_filter[len + 1] = ')'; + ldap_conf.search_filter[len + 2] = '\0'; + free(cp); + } + + + /* If rootbinddn set, read in /etc/ldap.secret if it exists. */ + if (ldap_conf.rootbinddn) { + sudo_ldap_read_secret(path_ldap_secret); + } else if (ldap_conf.bindpw) { + cp = sudo_ldap_decode_secret(ldap_conf.bindpw); + if (cp != NULL) { + free(ldap_conf.bindpw); + ldap_conf.bindpw = cp; + } + } + + if (ldap_conf.tls_keypw) { + cp = sudo_ldap_decode_secret(ldap_conf.tls_keypw); + if (cp != NULL) { + free(ldap_conf.tls_keypw); + ldap_conf.tls_keypw = cp; + } + } + +#ifdef HAVE_LDAP_SASL_INTERACTIVE_BIND_S + /* + * Make sure we can open the file specified by krb5_ccname. + */ + if (ldap_conf.krb5_ccname != NULL) { + if (!sudo_check_krb5_ccname(ldap_conf.krb5_ccname)) + ldap_conf.krb5_ccname = NULL; + } +#endif + + debug_return_bool(true); +} + +/* + * Set LDAP options from the specified options table + * Returns LDAP_SUCCESS on success, else non-zero. + */ +static int +sudo_ldap_set_options_table(LDAP *ld, struct ldap_config_table *table) +{ + struct ldap_config_table *cur; + int ival, rc, errors = 0; + char *sval; + debug_decl(sudo_ldap_set_options_table, SUDOERS_DEBUG_LDAP); + + for (cur = table; cur->conf_str != NULL; cur++) { + if (cur->opt_val == -1) + continue; + + switch (cur->type) { + case CONF_DEREF_VAL: + case CONF_REQCERT_VAL: + case CONF_BOOL: + case CONF_INT: + ival = *(int *)(cur->valp); + if (ival >= 0) { + DPRINTF1("ldap_set_option: %s -> %d", cur->conf_str, ival); + rc = ldap_set_option(ld, cur->opt_val, &ival); + if (rc != LDAP_OPT_SUCCESS) { + sudo_warnx("ldap_set_option: %s -> %d: %s", + cur->conf_str, ival, ldap_err2string(rc)); + errors++; + } + } + break; + case CONF_STR: + sval = *(char **)(cur->valp); + if (sval != NULL) { + DPRINTF1("ldap_set_option: %s -> %s", cur->conf_str, sval); + rc = ldap_set_option(ld, cur->opt_val, sval); + if (rc != LDAP_OPT_SUCCESS) { + sudo_warnx("ldap_set_option: %s -> %s: %s", + cur->conf_str, sval, ldap_err2string(rc)); + errors++; + } + } + break; + case CONF_LIST_STR: + /* Lists are iterated over and don't set LDAP options directly. */ + break; + default: + sudo_warnx("internal error: unhandled CONF_ value %d for option %s", + cur->type, cur->conf_str); + sudo_warnx("update %s to add missing support for CONF_ value %d", + __func__, cur->type); + } + } + debug_return_int(errors ? -1 : LDAP_SUCCESS); +} + +/* + * Set LDAP options based on the global config table. + * Returns LDAP_SUCCESS on success, else non-zero. + */ +int +sudo_ldap_set_options_global(void) +{ + int ret; + debug_decl(sudo_ldap_set_options_global, SUDOERS_DEBUG_LDAP); + + /* Set ber options */ +#ifdef LBER_OPT_DEBUG_LEVEL + if (ldap_conf.ldap_debug) + ber_set_option(NULL, LBER_OPT_DEBUG_LEVEL, &ldap_conf.ldap_debug); +#endif + + /* Parse global LDAP options table. */ + ret = sudo_ldap_set_options_table(NULL, ldap_conf_global); + debug_return_int(ret); +} + +/* + * Set LDAP options based on the per-connection config table. + * Returns LDAP_SUCCESS on success, else non-zero. + */ +int +sudo_ldap_set_options_conn(LDAP *ld) +{ + int rc; + debug_decl(sudo_ldap_set_options_conn, SUDOERS_DEBUG_LDAP); + + /* Parse per-connection LDAP options table. */ + rc = sudo_ldap_set_options_table(ld, ldap_conf_conn); + if (rc == -1) + debug_return_int(-1); + +#ifdef LDAP_OPT_TIMEOUT + /* Convert timeout to a timeval */ + if (ldap_conf.timeout > 0) { + struct timeval tv; + tv.tv_sec = ldap_conf.timeout; + tv.tv_usec = 0; + DPRINTF1("ldap_set_option(LDAP_OPT_TIMEOUT, %d)", ldap_conf.timeout); + rc = ldap_set_option(ld, LDAP_OPT_TIMEOUT, &tv); + if (rc != LDAP_OPT_SUCCESS) { + sudo_warnx("ldap_set_option(TIMEOUT, %d): %s", + ldap_conf.timeout, ldap_err2string(rc)); + } + } +#endif +#ifdef LDAP_OPT_NETWORK_TIMEOUT + /* Convert bind_timelimit to a timeval */ + if (ldap_conf.bind_timelimit > 0) { + struct timeval tv; + tv.tv_sec = ldap_conf.bind_timelimit / 1000; + tv.tv_usec = 0; + DPRINTF1("ldap_set_option(LDAP_OPT_NETWORK_TIMEOUT, %d)", + ldap_conf.bind_timelimit / 1000); + rc = ldap_set_option(ld, LDAP_OPT_NETWORK_TIMEOUT, &tv); +# if !defined(LDAP_OPT_CONNECT_TIMEOUT) || LDAP_VENDOR_VERSION != 510 + /* Tivoli Directory Server 6.3 libs always return a (bogus) error. */ + if (rc != LDAP_OPT_SUCCESS) { + sudo_warnx("ldap_set_option(NETWORK_TIMEOUT, %d): %s", + ldap_conf.bind_timelimit / 1000, ldap_err2string(rc)); + } +# endif + } +#endif + +#if defined(LDAP_OPT_X_TLS) && !defined(HAVE_LDAPSSL_INIT) + if (ldap_conf.ssl_mode == SUDO_LDAP_SSL) { + int val = LDAP_OPT_X_TLS_HARD; + DPRINTF1("ldap_set_option(LDAP_OPT_X_TLS, LDAP_OPT_X_TLS_HARD)"); + rc = ldap_set_option(ld, LDAP_OPT_X_TLS, &val); + if (rc != LDAP_SUCCESS) { + sudo_warnx("ldap_set_option(LDAP_OPT_X_TLS, LDAP_OPT_X_TLS_HARD): %s", + ldap_err2string(rc)); + debug_return_int(-1); + } + } +#endif + debug_return_int(LDAP_SUCCESS); +} diff --git a/plugins/sudoers/ldap_util.c b/plugins/sudoers/ldap_util.c new file mode 100644 index 0000000..a5ca404 --- /dev/null +++ b/plugins/sudoers/ldap_util.c @@ -0,0 +1,634 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2013, 2016, 2018-2018 Todd C. Miller + * + * This code is derived from software contributed by Aaron Spangler. + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include +#include +#include +#include +#include +#include + +#include "sudoers.h" +#include "interfaces.h" +#include "sudo_lbuf.h" +#include "sudo_ldap.h" +#include "sudo_digest.h" +#include + +/* + * Returns true if the string pointed to by valp begins with an + * odd number of '!' characters. Intervening blanks are ignored. + * Stores the address of the string after '!' removal in valp. + */ +bool +sudo_ldap_is_negated(char **valp) +{ + char *val = *valp; + bool ret = false; + debug_decl(sudo_ldap_is_negated, SUDOERS_DEBUG_LDAP); + + while (*val == '!') { + ret = !ret; + do { + val++; + } while (isblank((unsigned char)*val)); + } + *valp = val; + debug_return_bool(ret); +} + +/* + * Parse an option string into a defaults structure. + * The members of def are pointers into optstr (which is modified). + */ +int +sudo_ldap_parse_option(char *optstr, char **varp, char **valp) +{ + char *cp, *val = NULL; + char *var = optstr; + int op; + debug_decl(sudo_ldap_parse_option, SUDOERS_DEBUG_LDAP); + + /* check for equals sign past first char */ + cp = strchr(var, '='); + if (cp != NULL && cp > var) { + val = cp + 1; + op = cp[-1]; /* peek for += or -= cases */ + if (op == '+' || op == '-') { + /* case var+=val or var-=val */ + cp--; + } else { + /* case var=val */ + op = true; + } + /* Trim whitespace between var and operator. */ + while (cp > var && isblank((unsigned char)cp[-1])) + cp--; + /* Truncate variable name. */ + *cp = '\0'; + /* Trim leading whitespace from val. */ + while (isblank((unsigned char)*val)) + val++; + /* Strip double quotes if present. */ + if (*val == '"') { + char *ep = val + strlen(val); + if (ep != val && ep[-1] == '"') { + val++; + ep[-1] = '\0'; + } + } + } else { + /* Boolean value, either true or false. */ + op = sudo_ldap_is_negated(&var) ? false : true; + } + *varp = var; + *valp = val; + + debug_return_int(op); +} + +/* + * Convert an array of user/group names to a member list. + * The caller is responsible for freeing the returned struct member_list. + */ +static struct member_list * +array_to_member_list(void *a, sudo_ldap_iter_t iter) +{ + struct member_list negated_members = + TAILQ_HEAD_INITIALIZER(negated_members); + struct member_list *members; + struct member *m; + char *val; + debug_decl(bv_to_member_list, SUDOERS_DEBUG_LDAP); + + if ((members = calloc(1, sizeof(*members))) == NULL) + return NULL; + TAILQ_INIT(members); + + while ((val = iter(&a)) != NULL) { + if ((m = calloc(1, sizeof(*m))) == NULL) + goto bad; + m->negated = sudo_ldap_is_negated(&val); + + switch (val[0]) { + case '\0': + /* Empty RunAsUser means run as the invoking user. */ + m->type = MYSELF; + break; + case '+': + m->type = NETGROUP; + break; + case '%': + m->type = USERGROUP; + break; + case 'A': + if (strcmp(val, "ALL") == 0) { + m->type = ALL; + break; + } + FALLTHROUGH; + default: + m->type = WORD; + break; + } + if (m->type != ALL && m->type != MYSELF) { + if ((m->name = strdup(val)) == NULL) { + free(m); + goto bad; + } + } + if (m->negated) + TAILQ_INSERT_TAIL(&negated_members, m, entries); + else + TAILQ_INSERT_TAIL(members, m, entries); + } + + /* Negated members take precedence so we insert them at the end. */ + TAILQ_CONCAT(members, &negated_members, entries); + debug_return_ptr(members); +bad: + free_members(&negated_members); + free_members(members); + free(members); + debug_return_ptr(NULL); +} + +static bool +is_address(char *host) +{ + union sudo_in_addr_un addr; + bool ret = false; + char *slash; + debug_decl(is_address, SUDOERS_DEBUG_LDAP); + + /* Check for mask, not currently parsed. */ + if ((slash = strchr(host, '/')) != NULL) + *slash = '\0'; + + if (inet_pton(AF_INET, host, &addr.ip4) == 1) + ret = true; +#ifdef HAVE_STRUCT_IN6_ADDR + else if (inet_pton(AF_INET6, host, &addr.ip6) == 1) + ret = true; +#endif + + if (slash != NULL) + *slash = '/'; + + debug_return_bool(ret); +} + +static struct member * +host_to_member(char *host) +{ + struct member *m; + debug_decl(host_to_member, SUDOERS_DEBUG_LDAP); + + if ((m = calloc(1, sizeof(*m))) == NULL) + goto oom; + m->negated = sudo_ldap_is_negated(&host); + switch (*host) { + case '+': + m->type = NETGROUP; + break; + case 'A': + if (strcmp(host, "ALL") == 0) { + m->type = ALL; + break; + } + FALLTHROUGH; + default: + if (is_address(host)) { + m->type = NTWKADDR; + } else { + m->type = WORD; + } + break; + } + if (m->type != ALL) { + if ((m->name = strdup(host)) == NULL) + goto oom; + } + + debug_return_ptr(m); +oom: + free(m); + debug_return_ptr(NULL); +} + +/* + * If a digest prefix is present, add it to struct command_digest_list + * and update cmnd to point to the command after the digest. + * Returns 1 if a digest was parsed, 0 if not and -1 on error. + */ +static int +sudo_ldap_extract_digest(const char *cmnd, char **endptr, + struct command_digest_list *digests) +{ + const char *ep, *cp = cmnd; + struct command_digest *digest; + int digest_type = SUDO_DIGEST_INVALID; + debug_decl(sudo_ldap_extract_digest, SUDOERS_DEBUG_LDAP); + + /* + * Check for and extract a digest prefix, e.g. + * sha224:d06a2617c98d377c250edd470fd5e576327748d82915d6e33b5f8db1 /bin/ls + */ + if (cp[0] == 's' && cp[1] == 'h' && cp[2] == 'a') { + switch (cp[3]) { + case '2': + if (cp[4] == '2' && cp[5] == '4') + digest_type = SUDO_DIGEST_SHA224; + else if (cp[4] == '5' && cp[5] == '6') + digest_type = SUDO_DIGEST_SHA256; + break; + case '3': + if (cp[4] == '8' && cp[5] == '4') + digest_type = SUDO_DIGEST_SHA384; + break; + case '5': + if (cp[4] == '1' && cp[5] == '2') + digest_type = SUDO_DIGEST_SHA512; + break; + } + if (digest_type != SUDO_DIGEST_INVALID) { + cp += 6; + while (isblank((unsigned char)*cp)) + cp++; + if (*cp == ':') { + cp++; + while (isblank((unsigned char)*cp)) + cp++; + ep = cp; + while (*ep != '\0' && !isblank((unsigned char)*ep) && *ep != ',') + ep++; + if (isblank((unsigned char)*ep) || *ep == ',') { + if ((digest = malloc(sizeof(*digest))) == NULL) { + sudo_warnx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + debug_return_int(-1); + } + digest->digest_type = digest_type; + digest->digest_str = strndup(cp, (size_t)(ep - cp)); + if (digest->digest_str == NULL) { + sudo_warnx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + free(digest); + debug_return_int(-1); + } + while (isblank((unsigned char)*ep)) + ep++; + *endptr = (char *)ep; + sudo_debug_printf(SUDO_DEBUG_INFO, + "%s digest %s for %s", + digest_type_to_name(digest_type), + digest->digest_str, cp); + TAILQ_INSERT_TAIL(digests, digest, entries); + debug_return_int(1); + } + } + } + } + debug_return_int(0); +} + +/* + * If a digest list is present, fill in struct command_digest_list + * and update cmnd to point to the command after the digest. + * Returns false on error, else true. + */ +static bool +sudo_ldap_extract_digests(char **cmnd, struct command_digest_list *digests) +{ + char *cp = *cmnd; + int rc; + debug_decl(sudo_ldap_extract_digests, SUDOERS_DEBUG_LDAP); + + for (;;) { + rc = sudo_ldap_extract_digest(cp, &cp, digests); + if (rc != 1) + break; + + /* Check for additional digestspecs, separated by a comma. */ + if (*cp != ',') + break; + do { + cp++; + } while (isblank((unsigned char)*cp)); + } + *cmnd = cp; + + debug_return_bool(rc != -1); +} + +/* + * Convert an LDAP sudoRole to a sudoers privilege. + * Pass in struct berval ** for LDAP or char *** for SSSD. + */ +struct privilege * +sudo_ldap_role_to_priv(const char *cn, void *hosts, void *runasusers, + void *runasgroups, void *cmnds, void *opts, const char *notbefore, + const char *notafter, bool warnings, bool store_options, + sudo_ldap_iter_t iter) +{ + struct cmndspec_list negated_cmnds = TAILQ_HEAD_INITIALIZER(negated_cmnds); + struct member_list negated_hosts = TAILQ_HEAD_INITIALIZER(negated_hosts); + struct cmndspec *prev_cmndspec = NULL; + struct privilege *priv; + struct member *m; + char *cmnd; + debug_decl(sudo_ldap_role_to_priv, SUDOERS_DEBUG_LDAP); + + if ((priv = calloc(1, sizeof(*priv))) == NULL) + goto oom; + TAILQ_INIT(&priv->hostlist); + TAILQ_INIT(&priv->cmndlist); + TAILQ_INIT(&priv->defaults); + + priv->ldap_role = strdup(cn ? cn : "UNKNOWN"); + if (priv->ldap_role == NULL) + goto oom; + + if (hosts == NULL) { + /* The host has already matched, use ALL as wildcard. */ + if ((m = sudo_ldap_new_member_all()) == NULL) + goto oom; + TAILQ_INSERT_TAIL(&priv->hostlist, m, entries); + } else { + char *host; + while ((host = iter(&hosts)) != NULL) { + if ((m = host_to_member(host)) == NULL) + goto oom; + if (m->negated) + TAILQ_INSERT_TAIL(&negated_hosts, m, entries); + else + TAILQ_INSERT_TAIL(&priv->hostlist, m, entries); + } + /* Negated hosts take precedence so we insert them at the end. */ + TAILQ_CONCAT(&priv->hostlist, &negated_hosts, entries); + } + + /* + * Parse sudoCommands and add to cmndlist. + */ + while ((cmnd = iter(&cmnds)) != NULL) { + bool negated = sudo_ldap_is_negated(&cmnd); + struct sudo_command *c = NULL; + struct cmndspec *cmndspec; + + /* Allocate storage upfront. */ + if ((cmndspec = calloc(1, sizeof(*cmndspec))) == NULL) + goto oom; + if ((m = calloc(1, sizeof(*m))) == NULL) { + free(cmndspec); + goto oom; + } + if ((c = calloc(1, sizeof(*c))) == NULL) { + free(cmndspec); + free(m); + goto oom; + } + m->name = (char *)c; + TAILQ_INIT(&c->digests); + + /* Negated commands have precedence so insert them at the end. */ + if (negated) + TAILQ_INSERT_TAIL(&negated_cmnds, cmndspec, entries); + else + TAILQ_INSERT_TAIL(&priv->cmndlist, cmndspec, entries); + + /* Initialize cmndspec */ + TAGS_INIT(&cmndspec->tags); + cmndspec->notbefore = UNSPEC; + cmndspec->notafter = UNSPEC; + cmndspec->timeout = UNSPEC; + cmndspec->cmnd = m; + + if (prev_cmndspec != NULL) { + /* Inherit values from prior cmndspec (common to the sudoRole). */ + cmndspec->runasuserlist = prev_cmndspec->runasuserlist; + cmndspec->runasgrouplist = prev_cmndspec->runasgrouplist; + cmndspec->notbefore = prev_cmndspec->notbefore; + cmndspec->notafter = prev_cmndspec->notafter; + cmndspec->timeout = prev_cmndspec->timeout; + cmndspec->runchroot = prev_cmndspec->runchroot; + cmndspec->runcwd = prev_cmndspec->runcwd; +#ifdef HAVE_SELINUX + cmndspec->role = prev_cmndspec->role; + cmndspec->type = prev_cmndspec->type; +#endif /* HAVE_SELINUX */ +#ifdef HAVE_PRIV_SET + cmndspec->privs = prev_cmndspec->privs; + cmndspec->limitprivs = prev_cmndspec->limitprivs; +#endif /* HAVE_PRIV_SET */ + cmndspec->tags = prev_cmndspec->tags; + if (cmndspec->tags.setenv == IMPLIED) + cmndspec->tags.setenv = UNSPEC; + } else { + /* Parse sudoRunAsUser / sudoRunAs */ + if (runasusers != NULL) { + cmndspec->runasuserlist = + array_to_member_list(runasusers, iter); + if (cmndspec->runasuserlist == NULL) + goto oom; + } + + /* Parse sudoRunAsGroup */ + if (runasgroups != NULL) { + cmndspec->runasgrouplist = + array_to_member_list(runasgroups, iter); + if (cmndspec->runasgrouplist == NULL) + goto oom; + } + + /* Parse sudoNotBefore / sudoNotAfter */ + if (notbefore != NULL) + cmndspec->notbefore = parse_gentime(notbefore); + if (notafter != NULL) + cmndspec->notafter = parse_gentime(notafter); + + /* Parse sudoOptions. */ + if (opts != NULL) { + char *opt, *source = NULL; + + if (store_options) { + /* Use sudoRole in place of file name in defaults. */ + size_t slen = sizeof("sudoRole ") - 1 + strlen(priv->ldap_role); + if ((source = sudo_rcstr_alloc(slen)) == NULL) + goto oom; + if ((size_t)snprintf(source, slen + 1, "sudoRole %s", priv->ldap_role) != slen) { + sudo_warnx(U_("internal error, %s overflow"), __func__); + sudo_rcstr_delref(source); + goto bad; + } + } + + while ((opt = iter(&opts)) != NULL) { + char *var, *val; + int op; + + op = sudo_ldap_parse_option(opt, &var, &val); + if (strcmp(var, "command_timeout") == 0 && val != NULL) { + if (cmndspec->timeout != UNSPEC) { + sudo_warnx(U_("duplicate sudoOption: %s%s%s"), var, + op == '+' ? "+=" : op == '-' ? "-=" : "=", val); + } + cmndspec->timeout = parse_timeout(val); + } else if (strcmp(var, "runchroot") == 0 && val != NULL) { + if (cmndspec->runchroot != NULL) { + free(cmndspec->runchroot); + sudo_warnx(U_("duplicate sudoOption: %s%s%s"), var, + op == '+' ? "+=" : op == '-' ? "-=" : "=", val); + } + if ((cmndspec->runchroot = strdup(val)) == NULL) + break; + } else if (strcmp(var, "runcwd") == 0 && val != NULL) { + if (cmndspec->runcwd != NULL) { + free(cmndspec->runcwd); + sudo_warnx(U_("duplicate sudoOption: %s%s%s"), var, + op == '+' ? "+=" : op == '-' ? "-=" : "=", val); + } + if ((cmndspec->runcwd = strdup(val)) == NULL) + break; +#ifdef HAVE_SELINUX + } else if (strcmp(var, "role") == 0 && val != NULL) { + if (cmndspec->role != NULL) { + free(cmndspec->role); + sudo_warnx(U_("duplicate sudoOption: %s%s%s"), var, + op == '+' ? "+=" : op == '-' ? "-=" : "=", val); + } + if ((cmndspec->role = strdup(val)) == NULL) + break; + } else if (strcmp(var, "type") == 0 && val != NULL) { + if (cmndspec->type != NULL) { + free(cmndspec->type); + sudo_warnx(U_("duplicate sudoOption: %s%s%s"), var, + op == '+' ? "+=" : op == '-' ? "-=" : "=", val); + } + if ((cmndspec->type = strdup(val)) == NULL) + break; +#endif /* HAVE_SELINUX */ +#ifdef HAVE_PRIV_SET + } else if (strcmp(var, "privs") == 0 && val != NULL) { + if (cmndspec->privs != NULL) { + free(cmndspec->privs); + sudo_warnx(U_("duplicate sudoOption: %s%s%s"), var, + op == '+' ? "+=" : op == '-' ? "-=" : "=", val); + } + if ((cmndspec->privs = strdup(val)) == NULL) + break; + } else if (strcmp(var, "limitprivs") == 0 && val != NULL) { + if (cmndspec->limitprivs != NULL) { + free(cmndspec->limitprivs); + sudo_warnx(U_("duplicate sudoOption: %s%s%s"), var, + op == '+' ? "+=" : op == '-' ? "-=" : "=", val); + } + if ((cmndspec->limitprivs = strdup(val)) == NULL) + break; +#endif /* HAVE_PRIV_SET */ + } else if (store_options) { + if (!append_default(var, val, op, source, + &priv->defaults)) { + break; + } + } else { + /* Convert to tags. */ + bool converted = sudoers_defaults_to_tags(var, val, op, + &cmndspec->tags); + if (!converted) { + if (warnings) { + /* XXX - callback to process unsupported options. */ + if (val != NULL) { + sudo_warnx(U_("unable to convert sudoOption: %s%s%s"), var, op == '+' ? "+=" : op == '-' ? "-=" : "=", val); + } else { + sudo_warnx(U_("unable to convert sudoOption: %s%s%s"), op == false ? "!" : "", var, ""); + } + } + continue; + } + } + } + sudo_rcstr_delref(source); + if (opt != NULL) { + /* Defer oom until we drop the ref on source. */ + goto oom; + } + } + + /* So we can inherit previous values. */ + prev_cmndspec = cmndspec; + } + + /* Fill in command member now that options have been processed. */ + m->negated = negated; + if (!sudo_ldap_extract_digests(&cmnd, &c->digests)) + goto oom; + if (strcmp(cmnd, "ALL") == 0) { + if (cmndspec->tags.setenv == UNSPEC) + cmndspec->tags.setenv = IMPLIED; + m->type = ALL; + } else { + char *args = strpbrk(cmnd, " \t"); + if (args != NULL) { + *args++ = '\0'; + if ((c->args = strdup(args)) == NULL) + goto oom; + } + if ((c->cmnd = strdup(cmnd)) == NULL) + goto oom; + m->type = COMMAND; + } + } + /* Negated commands take precedence so we insert them at the end. */ + TAILQ_CONCAT(&priv->cmndlist, &negated_cmnds, entries); + + debug_return_ptr(priv); + +oom: + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); +bad: + if (priv != NULL) { + TAILQ_CONCAT(&priv->hostlist, &negated_hosts, entries); + TAILQ_CONCAT(&priv->cmndlist, &negated_cmnds, entries); + free_privilege(priv); + } + debug_return_ptr(NULL); +} + +/* So ldap.c and sssd.c don't need to include gram.h */ +struct member * +sudo_ldap_new_member_all(void) +{ + struct member *m; + debug_decl(sudo_ldap_new_member_all, SUDOERS_DEBUG_LDAP); + + if ((m = calloc(1, sizeof(*m))) != NULL) + m->type = ALL; + debug_return_ptr(m); +} diff --git a/plugins/sudoers/linux_audit.c b/plugins/sudoers/linux_audit.c new file mode 100644 index 0000000..e5eb2c2 --- /dev/null +++ b/plugins/sudoers/linux_audit.c @@ -0,0 +1,116 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2010-2015 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#ifdef HAVE_LINUX_AUDIT + +#include +#include +#include +#include +#include +#include + +#include "sudoers.h" +#include "linux_audit.h" + +#define AUDIT_NOT_CONFIGURED -2 + +/* + * Open audit connection if possible. + * Returns audit fd on success and -1 on failure. + */ +static int +linux_audit_open(void) +{ + static int au_fd = -1; + debug_decl(linux_audit_open, SUDOERS_DEBUG_AUDIT); + + if (au_fd != -1) + debug_return_int(au_fd); + au_fd = audit_open(); + if (au_fd == -1) { + /* Kernel may not have audit support. */ + if (errno == EINVAL || errno == EPROTONOSUPPORT || errno == EAFNOSUPPORT) + au_fd = AUDIT_NOT_CONFIGURED; + else + sudo_warn("%s", U_("unable to open audit system")); + } else if (fcntl(au_fd, F_SETFD, FD_CLOEXEC) == -1) { + sudo_warn("%s", U_("unable to open audit system")); + audit_close(au_fd); + au_fd = -1; + } + debug_return_int(au_fd); +} + +int +linux_audit_command(char *const argv[], int result) +{ + int au_fd, rc = -1; + char *cp, *command = NULL; + char * const *av; + size_t size, n; + debug_decl(linux_audit_command, SUDOERS_DEBUG_AUDIT); + + /* Don't return an error if auditing is not configured. */ + if ((au_fd = linux_audit_open()) < 0) + debug_return_int(au_fd == AUDIT_NOT_CONFIGURED ? 0 : -1); + + /* Convert argv to a flat string. */ + for (size = 0, av = argv; *av != NULL; av++) + size += strlen(*av) + 1; + if (size != 0) + command = malloc(size); + if (command == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + goto done; + } + for (av = argv, cp = command; *av != NULL; av++) { + n = strlcpy(cp, *av, size - (cp - command)); + if (n >= size - (cp - command)) { + sudo_warnx(U_("internal error, %s overflow"), __func__); + goto done; + } + cp += n; + *cp++ = ' '; + } + *--cp = '\0'; + + /* Log command, ignoring ECONNREFUSED on error. */ + if (audit_log_user_command(au_fd, AUDIT_USER_CMD, command, NULL, result) <= 0) { + if (errno != ECONNREFUSED) { + sudo_warn("%s", U_("unable to send audit message")); + goto done; + } + } + + rc = 0; + +done: + free(command); + + debug_return_int(rc); +} + +#endif /* HAVE_LINUX_AUDIT */ diff --git a/plugins/sudoers/linux_audit.h b/plugins/sudoers/linux_audit.h new file mode 100644 index 0000000..89c468b --- /dev/null +++ b/plugins/sudoers/linux_audit.h @@ -0,0 +1,24 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2010, 2013 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#ifndef SUDOERS_LINUX_AUDIT_H +#define SUDOERS_LINUX_AUDIT_H + +int linux_audit_command(char *const argv[], int result); + +#endif /* SUDOERS_LINUX_AUDIT_H */ diff --git a/plugins/sudoers/locale.c b/plugins/sudoers/locale.c new file mode 100644 index 0000000..634de6d --- /dev/null +++ b/plugins/sudoers/locale.c @@ -0,0 +1,155 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2012-2016, 2020, 2022 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include +#ifdef HAVE_STDBOOL_H +# include +#else +# include "compat/stdbool.h" +#endif /* HAVE_STDBOOL_H */ + +#define DEFAULT_TEXT_DOMAIN "sudoers" + +#include "sudo_compat.h" +#include "sudo_eventlog.h" +#include "sudo_fatal.h" +#include "sudo_gettext.h" +#include "sudoers_debug.h" + +#include "defaults.h" +#include "logging.h" + +static int current_locale = SUDOERS_LOCALE_USER; +static char *user_locale; +static char *sudoers_locale; + +int +sudoers_getlocale(void) +{ + debug_decl(sudoers_getlocale, SUDOERS_DEBUG_UTIL); + debug_return_int(current_locale); +} + +bool +sudoers_initlocale(const char *ulocale, const char *slocale) +{ + debug_decl(sudoers_initlocale, SUDOERS_DEBUG_UTIL); + + if (ulocale != NULL) { + free(user_locale); + if ((user_locale = strdup(ulocale)) == NULL) + debug_return_bool(false); + } + if (slocale != NULL) { + free(sudoers_locale); + if ((sudoers_locale = strdup(slocale)) == NULL) + debug_return_bool(false); + } + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: user locale %s, sudoers locale %s", + __func__, user_locale, sudoers_locale); + debug_return_bool(true); +} + +/* + * Set locale to user or sudoers value. + * Returns true on success and false on failure, + * If prev_locale is non-NULL it will be filled in with the + * old SUDOERS_LOCALE_* value. + */ +bool +sudoers_setlocale(int locale_type, int *prev_locale) +{ + char *res = NULL; + debug_decl(sudoers_setlocale, SUDOERS_DEBUG_UTIL); + + switch (locale_type) { + case SUDOERS_LOCALE_USER: + if (prev_locale) + *prev_locale = current_locale; + if (current_locale != SUDOERS_LOCALE_USER) { + current_locale = SUDOERS_LOCALE_USER; + sudo_debug_printf(SUDO_DEBUG_DEBUG, + "%s: setting locale to %s (user)", __func__, + user_locale ? user_locale : ""); + res = setlocale(LC_ALL, user_locale ? user_locale : ""); + if (res != NULL && user_locale == NULL) { + user_locale = setlocale(LC_ALL, NULL); + if (user_locale != NULL) + user_locale = strdup(user_locale); + if (user_locale == NULL) + res = NULL; + } + } + break; + case SUDOERS_LOCALE_SUDOERS: + if (prev_locale) + *prev_locale = current_locale; + if (current_locale != SUDOERS_LOCALE_SUDOERS) { + current_locale = SUDOERS_LOCALE_SUDOERS; + sudo_debug_printf(SUDO_DEBUG_DEBUG, + "%s: setting locale to %s (sudoers)", __func__, + sudoers_locale ? sudoers_locale : "C"); + res = setlocale(LC_ALL, sudoers_locale ? sudoers_locale : "C"); + if (res == NULL && sudoers_locale != NULL) { + if (strcmp(sudoers_locale, "C") != 0) { + free(sudoers_locale); + sudoers_locale = strdup("C"); + if (sudoers_locale != NULL) + res = setlocale(LC_ALL, "C"); + } + } + } + break; + } + debug_return_bool(res ? true : false); +} + +bool +sudoers_warn_setlocale(bool restore, int *cookie) +{ + debug_decl(sudoers_warn_setlocale, SUDOERS_DEBUG_UTIL); + + if (restore) + debug_return_bool(sudoers_setlocale(*cookie, NULL)); + debug_return_bool(sudoers_setlocale(SUDOERS_LOCALE_USER, cookie)); +} + +/* + * Callback for sudoers_locale sudoers setting. + */ +bool +sudoers_locale_callback(const char *file, int line, int column, + const union sudo_defs_val *sd_un, int op) +{ + debug_decl(sudoers_locale_callback, SUDOERS_DEBUG_UTIL); + + if (sudoers_initlocale(NULL, sd_un->str)) { + if (setlocale(LC_ALL, sd_un->str) != NULL) + debug_return_bool(true); + } + debug_return_bool(false); +} diff --git a/plugins/sudoers/log_client.c b/plugins/sudoers/log_client.c new file mode 100644 index 0000000..8b9a282 --- /dev/null +++ b/plugins/sudoers/log_client.c @@ -0,0 +1,2069 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2019-2022 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#ifdef SUDOERS_LOG_CLIENT + +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#if defined(HAVE_STDINT_H) +# include +#elif defined(HAVE_INTTYPES_H) +# include +#endif +#include +#include +#include +#include +#include +#include +#include +#ifndef HAVE_GETADDRINFO +# include "compat/getaddrinfo.h" +#endif + +#if defined(HAVE_OPENSSL) +# if defined(HAVE_WOLFSSL) +# include +# endif +# include +# include +# include +#endif /* HAVE_OPENSSL */ + +#define NEED_INET_NTOP /* to expose sudo_inet_ntop in sudo_compat.h */ + +#include "sudoers.h" +#include "sudo_event.h" +#include "sudo_eventlog.h" +#include "sudo_iolog.h" +#include "hostcheck.h" +#include "log_client.h" +#include "strlist.h" + +/* Shared between iolog.c and audit.c */ +struct client_closure *client_closure; + +/* Server callback may redirect to client callback for TLS. */ +static void client_msg_cb(int fd, int what, void *v); +static void server_msg_cb(int fd, int what, void *v); + +static void +connect_cb(int sock, int what, void *v) +{ + int optval, ret, *errnump = v; + socklen_t optlen = sizeof(optval); + debug_decl(connect_cb, SUDOERS_DEBUG_UTIL); + + if (what == SUDO_PLUGIN_EV_TIMEOUT) { + *errnump = ETIMEDOUT; + } else { + ret = getsockopt(sock, SOL_SOCKET, SO_ERROR, &optval, &optlen); + *errnump = ret == 0 ? optval : errno; + } + + debug_return; +} + +/* + * Like connect(2) but with a timeout. + */ +static int +timed_connect(int sock, const struct sockaddr *addr, socklen_t addrlen, + const struct timespec *timeout) +{ + struct sudo_event_base *evbase = NULL; + struct sudo_event *connect_event = NULL; + int ret, errnum = 0; + debug_decl(timed_connect, SUDOERS_DEBUG_UTIL); + + ret = connect(sock, addr, addrlen); + if (ret == -1 && errno == EINPROGRESS) { + evbase = sudo_ev_base_alloc(); + connect_event = sudo_ev_alloc(sock, SUDO_PLUGIN_EV_WRITE, connect_cb, + &errnum); + if (evbase == NULL || connect_event == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + goto done; + } + if (sudo_ev_add(evbase, connect_event, timeout, false) == -1) { + sudo_warnx("%s", U_("unable to add event to queue")); + goto done; + } + if (sudo_ev_dispatch(evbase) == -1) { + sudo_warn("%s", U_("error in event loop")); + goto done; + } + if (errnum == 0) + ret = 0; + else + errno = errnum; + } + +done: + sudo_ev_base_free(evbase); + sudo_ev_free(connect_event); + + debug_return_int(ret); +} + +#if defined(HAVE_OPENSSL) +static int +verify_peer_identity(int preverify_ok, X509_STORE_CTX *ctx) +{ + HostnameValidationResult result; + struct client_closure *closure; + SSL *ssl; + X509 *current_cert; + X509 *peer_cert; + debug_decl(verify_peer_identity, SUDOERS_DEBUG_UTIL); + + /* if pre-verification of the cert failed, just propagate that result back */ + if (preverify_ok != 1) { + debug_return_int(0); + } + + /* since this callback is called for each cert in the chain, + * check that current cert is the peer's certificate + */ + current_cert = X509_STORE_CTX_get_current_cert(ctx); + peer_cert = X509_STORE_CTX_get0_cert(ctx); + + if (current_cert != peer_cert) { + debug_return_int(1); + } + + /* read out the attached object (closure) from the ssl connection object */ + ssl = X509_STORE_CTX_get_ex_data(ctx, SSL_get_ex_data_X509_STORE_CTX_idx()); + closure = SSL_get_ex_data(ssl, 1); + + result = validate_hostname(peer_cert, closure->server_name, + closure->server_ip, 0); + + switch(result) + { + case MatchFound: + debug_return_int(1); + default: + debug_return_int(0); + } +} + +static bool +tls_init(struct client_closure *closure) +{ + const char *errstr; + debug_decl(tls_init, SUDOERS_DEBUG_PLUGIN); + + /* Only attempt to initialize TLS once, the parameters don't change. */ + if (closure->ssl_initialized) { + if (closure->ssl == NULL) + debug_return_bool(false); + SSL_clear(closure->ssl); + debug_return_bool(true); + } + + closure->ssl_initialized = true; + SSL_library_init(); + OpenSSL_add_all_algorithms(); + SSL_load_error_strings(); + + /* Create the ssl context and enforce TLS 1.2 or higher. */ + if ((closure->ssl_ctx = SSL_CTX_new(TLS_method())) == NULL) { + errstr = ERR_reason_error_string(ERR_get_error()); + sudo_warnx(U_("Creation of new SSL_CTX object failed: %s"), + errstr ? errstr : strerror(errno)); + goto bad; + } +#ifdef HAVE_SSL_CTX_SET_MIN_PROTO_VERSION + if (!SSL_CTX_set_min_proto_version(closure->ssl_ctx, TLS1_2_VERSION)) { + errstr = ERR_reason_error_string(ERR_get_error()); + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "unable to restrict min. protocol version: %s", + errstr ? errstr : strerror(errno)); + goto bad; + } +#else + SSL_CTX_set_options(closure->ssl_ctx, + SSL_OP_NO_SSLv2|SSL_OP_NO_SSLv3|SSL_OP_NO_TLSv1|SSL_OP_NO_TLSv1_1); +#endif + + /* Enable server cert verification if log_server_verify is set in sudoers */ + if (closure->log_details->verify_server) { + if (closure->log_details->ca_bundle != NULL) { + if (SSL_CTX_load_verify_locations(closure->ssl_ctx, + closure->log_details->ca_bundle, NULL) <= 0) { + errstr = ERR_reason_error_string(ERR_get_error()); + sudo_warnx(U_("%s: %s"), closure->log_details->ca_bundle, + errstr ? errstr : strerror(errno)); + sudo_warnx(U_("unable to load certificate authority bundle %s"), + closure->log_details->ca_bundle); + goto bad; + } + } else { + if (!SSL_CTX_set_default_verify_paths(closure->ssl_ctx)) { + errstr = ERR_reason_error_string(ERR_get_error()); + sudo_warnx("SSL_CTX_set_default_verify_paths: %s", + errstr ? errstr : strerror(errno)); + goto bad; + } + } + SSL_CTX_set_verify(closure->ssl_ctx, SSL_VERIFY_PEER, verify_peer_identity); + } + + /* Load the client certificate file if it is set in sudoers. */ + if (closure->log_details->cert_file != NULL) { + if (!SSL_CTX_use_certificate_chain_file(closure->ssl_ctx, + closure->log_details->cert_file)) { + errstr = ERR_reason_error_string(ERR_get_error()); + sudo_warnx(U_("%s: %s"), closure->log_details->cert_file, + errstr ? errstr : strerror(errno)); + sudo_warnx(U_("unable to load certificate %s"), + closure->log_details->cert_file); + goto bad; + } + if (closure->log_details->key_file == NULL) { + /* No explicit key file set, try to use the cert file. */ + closure->log_details->key_file = closure->log_details->cert_file; + } + if (!SSL_CTX_use_PrivateKey_file(closure->ssl_ctx, + closure->log_details->key_file, SSL_FILETYPE_PEM) || + !SSL_CTX_check_private_key(closure->ssl_ctx)) { + errstr = ERR_reason_error_string(ERR_get_error()); + sudo_warnx(U_("%s: %s"), closure->log_details->key_file, + errstr ? errstr : strerror(errno)); + sudo_warnx(U_("unable to load private key %s"), + closure->log_details->key_file); + goto bad; + } + } + + /* Create the SSL object and attach the closure. */ + if ((closure->ssl = SSL_new(closure->ssl_ctx)) == NULL) { + errstr = ERR_reason_error_string(ERR_get_error()); + sudo_warnx(U_("Unable to allocate ssl object: %s"), + errstr ? errstr : strerror(errno)); + goto bad; + } + if (SSL_set_ex_data(closure->ssl, 1, closure) <= 0) { + errstr = ERR_reason_error_string(ERR_get_error()); + sudo_warnx(U_("Unable to attach user data to the ssl object: %s"), + errstr ? errstr : strerror(errno)); + goto bad; + } + + debug_return_bool(true); + +bad: + SSL_free(closure->ssl); + closure->ssl = NULL; + SSL_CTX_free(closure->ssl_ctx); + closure->ssl_ctx = NULL; + debug_return_bool(false); +} + +struct tls_connect_closure { + bool tls_conn_status; + SSL *ssl; + const char *host; + const char *port; + const struct timespec *timeout; + struct sudo_event_base *evbase; + struct sudo_event *tls_connect_ev; +}; + +static void +tls_connect_cb(int sock, int what, void *v) +{ + struct tls_connect_closure *closure = v; + const struct timespec *timeout = closure->timeout; + int tls_con; + debug_decl(tls_connect_cb, SUDOERS_DEBUG_UTIL); + + if (what == SUDO_PLUGIN_EV_TIMEOUT) { + sudo_warnx("%s", U_("TLS handshake timeout occurred")); + goto bad; + } + + tls_con = SSL_connect(closure->ssl); + + if (tls_con == 1) { + sudo_debug_printf(SUDO_DEBUG_INFO|SUDO_DEBUG_LINENO, + "TLS version: %s, negotiated cipher suite: %s", + SSL_get_version(closure->ssl), SSL_get_cipher(closure->ssl)); + closure->tls_conn_status = true; + } else { + const char *errstr; + + switch (SSL_get_error(closure->ssl, tls_con)) { + /* TLS handshake is not finished, reschedule event */ + case SSL_ERROR_WANT_READ: + sudo_debug_printf(SUDO_DEBUG_NOTICE|SUDO_DEBUG_LINENO, + "SSL_connect returns SSL_ERROR_WANT_READ"); + if (what != SUDO_EV_READ) { + if (sudo_ev_set(closure->tls_connect_ev, sock, + SUDO_EV_READ, tls_connect_cb, closure) == -1) { + sudo_warnx("%s", U_("unable to set event")); + goto bad; + } + } + if (sudo_ev_add(closure->evbase, closure->tls_connect_ev, + timeout, false) == -1) { + sudo_warnx("%s", U_("unable to add event to queue")); + goto bad; + } + break; + case SSL_ERROR_WANT_WRITE: + sudo_debug_printf(SUDO_DEBUG_NOTICE|SUDO_DEBUG_LINENO, + "SSL_connect returns SSL_ERROR_WANT_WRITE"); + if (what != SUDO_EV_WRITE) { + if (sudo_ev_set(closure->tls_connect_ev, sock, + SUDO_EV_WRITE, tls_connect_cb, closure) == -1) { + sudo_warnx("%s", U_("unable to set event")); + goto bad; + } + } + if (sudo_ev_add(closure->evbase, closure->tls_connect_ev, + timeout, false) == -1) { + sudo_warnx("%s", U_("unable to add event to queue")); + goto bad; + } + break; + case SSL_ERROR_SYSCALL: + sudo_warnx(U_("TLS connection to %s:%s failed: %s"), + closure->host, closure->port, strerror(errno)); + goto bad; + default: + errstr = ERR_reason_error_string(ERR_get_error()); + sudo_warnx(U_("TLS connection to %s:%s failed: %s"), + closure->host, closure->port, + errstr ? errstr : strerror(errno)); + goto bad; + } + } + + debug_return; + +bad: + /* Break out of tls connect event loop with an error. */ + sudo_ev_loopbreak(closure->evbase); + + debug_return; +} + +static bool +tls_timed_connect(SSL *ssl, const char *host, const char *port, + const struct timespec *timeout) +{ + struct tls_connect_closure closure; + debug_decl(tls_timed_connect, SUDOERS_DEBUG_UTIL); + + memset(&closure, 0, sizeof(closure)); + closure.ssl = ssl; + closure.host = host; + closure.port = port; + closure.timeout = timeout; + closure.evbase = sudo_ev_base_alloc(); + closure.tls_connect_ev = sudo_ev_alloc(SSL_get_fd(ssl), + SUDO_PLUGIN_EV_WRITE, tls_connect_cb, &closure); + + if (closure.evbase == NULL || closure.tls_connect_ev == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + goto done; + } + + if (sudo_ev_add(closure.evbase, closure.tls_connect_ev, timeout, false) == -1) { + sudo_warnx("%s", U_("unable to add event to queue")); + goto done; + } + + if (sudo_ev_dispatch(closure.evbase) == -1) { + sudo_warnx("%s", U_("error in event loop")); + goto done; + } + +done: + if (closure.tls_connect_ev != NULL) + sudo_ev_free(closure.tls_connect_ev); + sudo_ev_base_free(closure.evbase); + + debug_return_bool(closure.tls_conn_status); +} +#endif /* HAVE_OPENSSL */ + +/* + * Connect to specified host:port + * If host has multiple addresses, the first one that connects is used. + * Returns open socket or -1 on error. + */ +static int +connect_server(const char *host, const char *port, bool tls, + struct client_closure *closure, const char **reason) +{ + const struct timespec *timeout = &closure->log_details->server_timeout; + struct addrinfo hints, *res, *res0; + const char *addr, *cause = NULL; + int error, sock = -1; + debug_decl(connect_server, SUDOERS_DEBUG_UTIL); + +#if !defined(HAVE_OPENSSL) + if (tls) { + errno = EPROTONOSUPPORT; + sudo_warn("%s:%s(tls)", host, port); + debug_return_int(-1); + } +#endif + + memset(&hints, 0, sizeof(hints)); + hints.ai_family = AF_UNSPEC; + hints.ai_socktype = SOCK_STREAM; + error = getaddrinfo(host, port, &hints, &res0); + if (error != 0) { + sudo_warnx(U_("unable to look up %s:%s: %s"), host, port, + gai_strerror(error)); + debug_return_int(-1); + } + + for (res = res0; res; res = res->ai_next) { + int flags, save_errno; + + sock = socket(res->ai_family, res->ai_socktype, res->ai_protocol); + if (sock == -1) { + cause = "socket"; + continue; + } + flags = fcntl(sock, F_GETFL, 0); + if (flags == -1 || fcntl(sock, F_SETFL, flags | O_NONBLOCK) == -1) { + cause = "fcntl(O_NONBLOCK)"; + save_errno = errno; + close(sock); + errno = save_errno; + sock = -1; + continue; + } + if (fcntl(sock, F_SETFD, FD_CLOEXEC) == -1) { + cause = "fcntl(FD_CLOEXEC)"; + save_errno = errno; + close(sock); + errno = save_errno; + sock = -1; + continue; + } + if (closure->log_details->keepalive) { + flags = 1; + if (setsockopt(sock, SOL_SOCKET, SO_KEEPALIVE, &flags, + sizeof(flags)) == -1) { + cause = "setsockopt(SO_KEEPALIVE)"; + save_errno = errno; + close(sock); + errno = save_errno; + sock = -1; + continue; + } + } + if (timed_connect(sock, res->ai_addr, res->ai_addrlen, timeout) == -1) { + /* No need to set cause, caller's error message is sufficient. */ + save_errno = errno; + close(sock); + errno = save_errno; + sock = -1; + continue; + } + switch (res->ai_family) { + case AF_INET: + addr = (char *)&((struct sockaddr_in *)res->ai_addr)->sin_addr; + break; +#ifdef HAVE_STRUCT_IN6_ADDR + case AF_INET6: + addr = (char *)&((struct sockaddr_in6 *)res->ai_addr)->sin6_addr; + break; +#endif + default: + cause = "ai_family"; + save_errno = EAFNOSUPPORT; + shutdown(sock, SHUT_RDWR); + close(sock); + errno = save_errno; + sock = -1; + continue; + } + if (inet_ntop(res->ai_family, addr, closure->server_ip, + sizeof(closure->server_ip)) == NULL) { + cause = "inet_ntop"; + save_errno = errno; + shutdown(sock, SHUT_RDWR); + close(sock); + errno = save_errno; + sock = -1; + continue; + } + free(closure->server_name); + if ((closure->server_name = strdup(host)) == NULL) { + cause = "strdup"; + save_errno = errno; + shutdown(sock, SHUT_RDWR); + close(sock); + errno = save_errno; + sock = -1; + continue; + } + +#if defined(HAVE_OPENSSL) + if (tls) { + if (!tls_init(closure) || !SSL_set_fd(closure->ssl, sock)) { + cause = U_("TLS initialization was unsuccessful"); + save_errno = errno; + shutdown(sock, SHUT_RDWR); + close(sock); + errno = save_errno; + sock = -1; + continue; + } + /* Perform TLS handshake. */ + if (!tls_timed_connect(closure->ssl, host, port, timeout)) { + cause = U_("TLS handshake was unsuccessful"); + save_errno = errno; + shutdown(sock, SHUT_RDWR); + close(sock); + errno = save_errno; + sock = -1; + continue; + } + } else { + /* No TLS for this connection, make sure it is not initialized. */ + SSL_free(closure->ssl); + closure->ssl = NULL; + SSL_CTX_free(closure->ssl_ctx); + closure->ssl_ctx = NULL; + } +#endif /* HAVE_OPENSSL */ + break; /* success */ + } + freeaddrinfo(res0); + + if (sock == -1) + *reason = cause; + + debug_return_int(sock); +} + +/* + * Connect to the first server in the list. + * Stores socket in closure with O_NONBLOCK and close-on-exec flags set. + * Returns true on success, else false. + */ +bool +log_server_connect(struct client_closure *closure) +{ + struct sudoers_string *server; + char *host, *port, *copy = NULL; + const char *cause = NULL; + int sock; + bool tls, ret = false; + debug_decl(log_server_connect, SUDOERS_DEBUG_UTIL); + + STAILQ_FOREACH(server, closure->log_details->log_servers, entries) { + free(copy); + if ((copy = strdup(server->str)) == NULL) + break; + if (!iolog_parse_host_port(copy, &host, &port, &tls, DEFAULT_PORT, + DEFAULT_PORT_TLS)) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "unable to parse %s", copy); + continue; + } + sudo_debug_printf(SUDO_DEBUG_INFO|SUDO_DEBUG_LINENO, + "connecting to %s port %s%s", host, port, tls ? " (tls)" : ""); + sock = connect_server(host, port, tls, closure, &cause); + if (sock != -1) { + if (closure->read_ev->set(closure->read_ev, sock, + SUDO_PLUGIN_EV_READ|SUDO_PLUGIN_EV_PERSIST, + server_msg_cb, closure) == -1) { + cause = (U_("unable to add event to queue")); + break; + } + + if (closure->write_ev->set(closure->write_ev, sock, + SUDO_PLUGIN_EV_WRITE|SUDO_PLUGIN_EV_PERSIST, + client_msg_cb, closure) == -1) { + cause = (U_("unable to add event to queue")); + break; + } + + /* success */ + closure->sock = sock; + ret = true; + break; + } + } + free(copy); + + if (!ret && cause != NULL) + sudo_warn("%s", cause); + + debug_return_bool(ret); +} + +/* + * Free client closure and contents, not including log details. + */ +void +client_closure_free(struct client_closure *closure) +{ + struct connection_buffer *buf; + debug_decl(client_closure_free, SUDOERS_DEBUG_UTIL); + + if (closure == NULL) + debug_return; + +#if defined(HAVE_OPENSSL) + /* Shut down the TLS connection cleanly and free SSL data. */ + if (closure->ssl != NULL) { + if (SSL_shutdown(closure->ssl) == 0) + SSL_shutdown(closure->ssl); + SSL_free(closure->ssl); + } + SSL_CTX_free(closure->ssl_ctx); +#endif + + if (closure->sock != -1) { + shutdown(closure->sock, SHUT_RDWR); + close(closure->sock); + } + free(closure->server_name); + while ((buf = TAILQ_FIRST(&closure->write_bufs)) != NULL) { + TAILQ_REMOVE(&closure->write_bufs, buf, entries); + free(buf->data); + free(buf); + } + while ((buf = TAILQ_FIRST(&closure->free_bufs)) != NULL) { + TAILQ_REMOVE(&closure->free_bufs, buf, entries); + free(buf->data); + free(buf); + } + if (closure->read_ev != NULL) + closure->read_ev->free(closure->read_ev); + if (closure->write_ev != NULL) + closure->write_ev->free(closure->write_ev); + free(closure->read_buf.data); + free(closure->iolog_id); + + free(closure); + + debug_return; +} + +static struct connection_buffer * +get_free_buf(struct client_closure *closure) +{ + struct connection_buffer *buf; + debug_decl(get_free_buf, SUDOERS_DEBUG_UTIL); + + buf = TAILQ_FIRST(&closure->free_bufs); + if (buf != NULL) + TAILQ_REMOVE(&closure->free_bufs, buf, entries); + else + buf = calloc(1, sizeof(*buf)); + + debug_return_ptr(buf); +} + +/* + * Format a ClientMessage. + * Appends the wire format message to the closure's write queue. + * Returns true on success, false on failure. + */ +bool +fmt_client_message(struct client_closure *closure, ClientMessage *msg) +{ + struct connection_buffer *buf; + uint32_t msg_len; + bool ret = false; + size_t len; + debug_decl(fmt_client_message, SUDOERS_DEBUG_UTIL); + + if ((buf = get_free_buf(closure)) == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + goto done; + } + + len = client_message__get_packed_size(msg); + if (len > MESSAGE_SIZE_MAX) { + sudo_warnx(U_("client message too large: %zu"), len); + goto done; + } + /* Wire message size is used for length encoding, precedes message. */ + msg_len = htonl((uint32_t)len); + len += sizeof(msg_len); + + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: new ClientMessage, %zu bytes", + __func__, len); + + /* Resize buffer as needed. */ + if (len > buf->size) { + free(buf->data); + buf->size = sudo_pow2_roundup(len); + if ((buf->data = malloc(buf->size)) == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + buf->size = 0; + goto done; + } + } + + memcpy(buf->data, &msg_len, sizeof(msg_len)); + client_message__pack(msg, buf->data + sizeof(msg_len)); + buf->len = len; + TAILQ_INSERT_TAIL(&closure->write_bufs, buf, entries); + buf = NULL; + + ret = true; + +done: + if (buf != NULL) { + free(buf->data); + free(buf); + } + debug_return_bool(ret); +} + +/* + * Build and format a ClientHello wrapped in a ClientMessage. + * Appends the wire format message to the closure's write queue. + * Returns true on success, false on failure. + */ +static bool +fmt_client_hello(struct client_closure *closure) +{ + ClientMessage client_msg = CLIENT_MESSAGE__INIT; + ClientHello hello_msg = CLIENT_HELLO__INIT; + bool ret = false; + debug_decl(fmt_client_hello, SUDOERS_DEBUG_UTIL); + + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: sending ClientHello", __func__); + + /* Client name + version */ + hello_msg.client_id = (char *)"sudoers " PACKAGE_VERSION; + + /* Schedule ClientMessage */ + client_msg.u.hello_msg = &hello_msg; + client_msg.type_case = CLIENT_MESSAGE__TYPE_HELLO_MSG; + ret = fmt_client_message(closure, &client_msg); + + debug_return_bool(ret); +} + +/* + * Free an array of InfoMessage. + * Does not free the actual contents, other than strlistval arrays. + */ +static void +free_info_messages(InfoMessage **info_msgs, size_t n) +{ + debug_decl(free_info_messages, SUDOERS_DEBUG_UTIL); + + if (info_msgs != NULL) { + while (n-- != 0) { + /* A strlist array is dynamically allocated. */ + if (info_msgs[n]->value_case == INFO_MESSAGE__VALUE_STRLISTVAL) { + free(info_msgs[n]->u.strlistval); + } + free(info_msgs[n]); + } + free(info_msgs); + } + + debug_return; +} + +static InfoMessage ** +fmt_info_messages(struct client_closure *closure, struct eventlog *evlog, + size_t *n_info_msgs) +{ + InfoMessage__StringList *runargv = NULL; + InfoMessage__StringList *runenv = NULL; + InfoMessage **info_msgs = NULL; + size_t info_msgs_size, n = 0; + debug_decl(fmt_info_messages, SUDOERS_DEBUG_UTIL); + + /* Convert NULL-terminated vectors to StringList. */ + if (evlog->argv != NULL) { + if ((runargv = malloc(sizeof(*runargv))) == NULL) + goto bad; + info_message__string_list__init(runargv); + runargv->strings = evlog->argv; + while (runargv->strings[runargv->n_strings] != NULL) + runargv->n_strings++; + } + + if (evlog->envp != NULL) { + if ((runenv = malloc(sizeof(*runenv))) == NULL) + goto bad; + info_message__string_list__init(runenv); + runenv->strings = evlog->envp; + while (runenv->strings[runenv->n_strings] != NULL) + runenv->n_strings++; + } + + /* XXX - realloc as needed instead of preallocating */ + info_msgs_size = 24; + info_msgs = calloc(info_msgs_size, sizeof(InfoMessage *)); + if (info_msgs == NULL) + goto bad; + for (n = 0; n < info_msgs_size; n++) { + info_msgs[n] = malloc(sizeof(InfoMessage)); + if (info_msgs[n] == NULL) + goto bad; + info_message__init(info_msgs[n]); + } + +#define fill_str(_n, _v) do { \ + info_msgs[n]->key = (char *)(_n); \ + info_msgs[n]->u.strval = (_v); \ + info_msgs[n]->value_case = INFO_MESSAGE__VALUE_STRVAL; \ + n++; \ +} while (0) + +#define fill_strlist(_n, _v) do { \ + info_msgs[n]->key = (char *)(_n); \ + info_msgs[n]->u.strlistval = (_v); \ + info_msgs[n]->value_case = INFO_MESSAGE__VALUE_STRLISTVAL; \ + n++; \ +} while (0) + +#define fill_num(_n, _v) do { \ + info_msgs[n]->key = (char *)(_n); \ + info_msgs[n]->u.numval = (_v); \ + info_msgs[n]->value_case = INFO_MESSAGE__VALUE_NUMVAL; \ + n++; \ +} while (0) + + /* Fill in info_msgs */ + n = 0; + + /* TODO: clientargv (not currently supported by API) */ + /* TODO: clientpid */ + /* TODO: clientppid */ + /* TODO: clientsid */ + fill_num("columns", evlog->columns); + fill_str("command", evlog->command); + fill_num("lines", evlog->lines); + if (runargv != NULL) { + fill_strlist("runargv", runargv); + runargv = NULL; + } + if (evlog->runchroot != NULL) { + fill_str("runchroot", evlog->runchroot); + } + if (evlog->runcwd != NULL) { + fill_str("runcwd", evlog->runcwd); + } + if (runenv != NULL) { + fill_strlist("runenv", runenv); + runenv = NULL; + } + if (evlog->rungroup != NULL) { + fill_num("rungid", evlog->rungid); + fill_str("rungroup", evlog->rungroup); + } + /* TODO - rungids */ + /* TODO - rungroups */ + fill_num("runuid", evlog->runuid); + fill_str("runuser", evlog->runuser); + if (evlog->cwd != NULL) { + fill_str("submitcwd", evlog->cwd); + } + /* TODO - submitenv */ + /* TODO - submitgid */ + /* TODO - submitgids */ + /* TODO - submitgroup */ + /* TODO - submitgroups */ + fill_str("submithost", evlog->submithost); + /* TODO - submituid */ + fill_str("submituser", evlog->submituser); +// if (evlog->ttyname != NULL) { + fill_str("ttyname", evlog->ttyname); + // } + + /* Free unused structs. */ + while (info_msgs_size > n) + free(info_msgs[--info_msgs_size]); + + *n_info_msgs = n; + debug_return_ptr(info_msgs); + +bad: + free_info_messages(info_msgs, n); + free(runargv); + free(runenv); + + *n_info_msgs = 0; + debug_return_ptr(NULL); +} + +/* + * Build and format an AcceptMessage wrapped in a ClientMessage. + * Appends the wire format message to the closure's write queue. + * Returns true on success, false on failure. + */ +bool +fmt_accept_message(struct client_closure *closure, struct eventlog *evlog) +{ + ClientMessage client_msg = CLIENT_MESSAGE__INIT; + AcceptMessage accept_msg = ACCEPT_MESSAGE__INIT; + TimeSpec ts = TIME_SPEC__INIT; + struct timespec now; + bool ret = false; + debug_decl(fmt_accept_message, SUDOERS_DEBUG_UTIL); + + /* + * Fill in AcceptMessage and add it to ClientMessage. + */ + if (sudo_gettime_real(&now)) { + sudo_warn("%s", U_("unable to get time of day")); + debug_return_bool(false); + } + ts.tv_sec = now.tv_sec; + ts.tv_nsec = now.tv_nsec; + accept_msg.submit_time = &ts; + + /* Client will send IoBuffer messages. */ + accept_msg.expect_iobufs = closure->log_io; + + accept_msg.info_msgs = fmt_info_messages(closure, evlog, + &accept_msg.n_info_msgs); + if (accept_msg.info_msgs == NULL) + goto done; + + sudo_debug_printf(SUDO_DEBUG_INFO, + "%s: sending AcceptMessage, array length %zu", __func__, + accept_msg.n_info_msgs); + + /* Schedule ClientMessage */ + client_msg.u.accept_msg = &accept_msg; + client_msg.type_case = CLIENT_MESSAGE__TYPE_ACCEPT_MSG; + ret = fmt_client_message(closure, &client_msg); + +done: + free_info_messages(accept_msg.info_msgs, accept_msg.n_info_msgs); + + debug_return_bool(ret); +} + +/* + * Build and format a RejectMessage wrapped in a ClientMessage. + * Appends the wire format message to the closure's write queue. + * Returns true on success, false on failure. + */ +bool +fmt_reject_message(struct client_closure *closure, struct eventlog *evlog) +{ + ClientMessage client_msg = CLIENT_MESSAGE__INIT; + RejectMessage reject_msg = REJECT_MESSAGE__INIT; + TimeSpec ts = TIME_SPEC__INIT; + struct timespec now; + bool ret = false; + debug_decl(fmt_reject_message, SUDOERS_DEBUG_UTIL); + + /* + * Fill in RejectMessage and add it to ClientMessage. + */ + if (sudo_gettime_real(&now)) { + sudo_warn("%s", U_("unable to get time of day")); + debug_return_bool(false); + } + ts.tv_sec = now.tv_sec; + ts.tv_nsec = now.tv_nsec; + reject_msg.submit_time = &ts; + + /* Reason for rejecting the request. */ + reject_msg.reason = (char *)closure->reason; + + reject_msg.info_msgs = fmt_info_messages(closure, evlog, + &reject_msg.n_info_msgs); + if (reject_msg.info_msgs == NULL) + goto done; + + sudo_debug_printf(SUDO_DEBUG_INFO, + "%s: sending RejectMessage, array length %zu", __func__, + reject_msg.n_info_msgs); + + /* Schedule ClientMessage */ + client_msg.u.reject_msg = &reject_msg; + client_msg.type_case = CLIENT_MESSAGE__TYPE_REJECT_MSG; + ret = fmt_client_message(closure, &client_msg); + +done: + free_info_messages(reject_msg.info_msgs, reject_msg.n_info_msgs); + + debug_return_bool(ret); +} + +/* + * Build and format an AlertMessage wrapped in a ClientMessage. + * Appends the wire format message to the closure's write queue. + * Returns true on success, false on failure. + */ +static bool +fmt_alert_message(struct client_closure *closure, struct eventlog *evlog) +{ + ClientMessage client_msg = CLIENT_MESSAGE__INIT; + AlertMessage alert_msg = ALERT_MESSAGE__INIT; + TimeSpec ts = TIME_SPEC__INIT; + struct timespec now; + bool ret = false; + debug_decl(fmt_alert_message, SUDOERS_DEBUG_UTIL); + + /* + * Fill in AlertMessage and add it to ClientMessage. + */ + if (sudo_gettime_real(&now)) { + sudo_warn("%s", U_("unable to get time of day")); + debug_return_bool(false); + } + ts.tv_sec = now.tv_sec; + ts.tv_nsec = now.tv_nsec; + alert_msg.alert_time = &ts; + + /* Reason for the alert. */ + alert_msg.reason = (char *)closure->reason; + + alert_msg.info_msgs = fmt_info_messages(closure, evlog, + &alert_msg.n_info_msgs); + if (alert_msg.info_msgs == NULL) + goto done; + + sudo_debug_printf(SUDO_DEBUG_INFO, + "%s: sending AlertMessage, array length %zu", __func__, + alert_msg.n_info_msgs); + + /* Schedule ClientMessage */ + client_msg.u.alert_msg = &alert_msg; + client_msg.type_case = CLIENT_MESSAGE__TYPE_ALERT_MSG; + ret = fmt_client_message(closure, &client_msg); + +done: + free_info_messages(alert_msg.info_msgs, alert_msg.n_info_msgs); + + debug_return_bool(ret); +} + +/* + * Build and format an AcceptMessage, RejectMessage or AlertMessage + * (depending on initial_state) wrapped in a ClientMessage. + * Appends the wire format message to the closure's write queue. + * Returns true on success, false on failure. + */ +static bool +fmt_initial_message(struct client_closure *closure) +{ + bool ret = false; + debug_decl(fmt_initial_message, SUDOERS_DEBUG_UTIL); + + closure->state = closure->initial_state; + switch (closure->state) { + case SEND_ACCEPT: + /* Format and schedule AcceptMessage. */ + if ((ret = fmt_accept_message(closure, closure->log_details->evlog))) { + /* + * Move read/write events back to main sudo event loop. + * Server messages may occur at any time, so no timeout. + * Write event will be re-enabled later. + */ + closure->read_ev->setbase(closure->read_ev, NULL); + if (closure->read_ev->add(closure->read_ev, NULL) == -1) { + sudo_warn("%s", U_("unable to add event to queue")); + ret = false; + } + closure->write_ev->setbase(closure->write_ev, NULL); + } + break; + case SEND_REJECT: + /* Format and schedule RejectMessage. */ + ret = fmt_reject_message(closure, closure->log_details->evlog); + break; + case SEND_ALERT: + /* Format and schedule AlertMessage. */ + ret = fmt_alert_message(closure, closure->log_details->evlog); + break; + default: + sudo_warnx(U_("%s: unexpected state %d"), __func__, closure->state); + break; + } + debug_return_bool(ret); +} + +#ifdef notyet +/* + * Build and format a RestartMessage wrapped in a ClientMessage. + * Appends the wire format message to the closure's write queue. + * Returns true on success, false on failure. + */ +bool +fmt_restart_message(struct client_closure *closure) +{ + ClientMessage client_msg = CLIENT_MESSAGE__INIT; + RestartMessage restart_msg = RESTART_MESSAGE__INIT; + TimeSpec tv = TIME_SPEC__INIT; + bool ret = false; + debug_decl(fmt_restart_message, SUDOERS_DEBUG_UTIL); + + sudo_debug_printf(SUDO_DEBUG_INFO, + "%s: sending RestartMessage, [%lld, %ld]", __func__, + (long long)closure->restart->tv_sec, closure->restart->tv_nsec); + + tv.tv_sec = closure->restart->tv_sec; + tv.tv_nsec = closure->restart->tv_nsec; + restart_msg.resume_point = &tv; + restart_msg.log_id = closure->iolog_id; + + /* Schedule ClientMessage */ + client_msg.restart_msg = &restart_msg; + client_msg.type_case = CLIENT_MESSAGE__TYPE_RESTART_MSG; + ret = fmt_client_message(closure, &client_msg); + + debug_return_bool(ret); +} +#endif + +/* + * Build and format an ExitMessage wrapped in a ClientMessage. + * Appends the wire format message to the closure's write queue. + * Returns true on success, false on failure. + */ +bool +fmt_exit_message(struct client_closure *closure, int exit_status, int error) +{ + ClientMessage client_msg = CLIENT_MESSAGE__INIT; + ExitMessage exit_msg = EXIT_MESSAGE__INIT; + TimeSpec ts = TIME_SPEC__INIT; + char signame[SIG2STR_MAX]; + bool ret = false; + struct timespec run_time; + debug_decl(fmt_exit_message, SUDOERS_DEBUG_UTIL); + + if (sudo_gettime_awake(&run_time) == -1) { + sudo_warn("%s", U_("unable to get time of day")); + goto done; + } + sudo_timespecsub(&run_time, &closure->start_time, &run_time); + + ts.tv_sec = run_time.tv_sec; + ts.tv_nsec = run_time.tv_nsec; + exit_msg.run_time = &ts; + + if (error != 0) { + /* Error executing the command. */ + exit_msg.error = strerror(error); + } else { + if (WIFEXITED(exit_status)) { + exit_msg.exit_value = WEXITSTATUS(exit_status); + } else if (WIFSIGNALED(exit_status)) { + const int signo = WTERMSIG(exit_status); + if (signo <= 0 || sig2str(signo, signame) == -1) { + sudo_warnx(U_("%s: internal error, invalid signal %d"), + __func__, signo); + goto done; + } + exit_msg.signal = signame; + if (WCOREDUMP(exit_status)) + exit_msg.dumped_core = true; + exit_msg.exit_value = WTERMSIG(exit_status) | 128; + } else if (WIFSTOPPED(exit_status)) { + const int signo = WSTOPSIG(exit_status); + sudo_warnx(U_("%s: internal error, invalid signal %d"), + __func__, signo); + goto done; + } else if (WIFCONTINUED(exit_status)) { + sudo_warnx(U_("%s: internal error, invalid signal %d"), + __func__, SIGCONT); + goto done; + } else { + sudo_warnx(U_("%s: internal error, invalid exit status %d"), + __func__, exit_status); + goto done; + } + } + + sudo_debug_printf(SUDO_DEBUG_INFO, + "%s: sending ExitMessage, exitval %d, error %s, signal %s, coredump %s", + __func__, exit_msg.exit_value, exit_msg.error ? exit_msg.error : "", + exit_msg.signal ? exit_msg.signal : "", + exit_msg.dumped_core ? "yes" : "no"); + + /* Send ClientMessage */ + client_msg.u.exit_msg = &exit_msg; + client_msg.type_case = CLIENT_MESSAGE__TYPE_EXIT_MSG; + if (!fmt_client_message(closure, &client_msg)) + goto done; + + closure->state = SEND_EXIT; + ret = true; + +done: + debug_return_bool(ret); +} + +/* + * Build and format an IoBuffer wrapped in a ClientMessage. + * Appends the wire format message to the closure's write queue. + * Returns true on success, false on failure. + */ +bool +fmt_io_buf(struct client_closure *closure, int type, const char *buf, + unsigned int len, struct timespec *delay) +{ + ClientMessage client_msg = CLIENT_MESSAGE__INIT; + IoBuffer iobuf_msg = IO_BUFFER__INIT; + TimeSpec ts = TIME_SPEC__INIT; + bool ret = false; + debug_decl(fmt_io_buf, SUDOERS_DEBUG_UTIL); + + /* Fill in IoBuffer. */ + ts.tv_sec = delay->tv_sec; + ts.tv_nsec = delay->tv_nsec; + iobuf_msg.delay = &ts; + iobuf_msg.data.data = (void *)buf; + iobuf_msg.data.len = len; + + sudo_debug_printf(SUDO_DEBUG_INFO, + "%s: sending IoBuffer length %zu, type %d, size %zu", __func__, + iobuf_msg.data.len, type, io_buffer__get_packed_size(&iobuf_msg)); + + /* Schedule ClientMessage, it doesn't matter which IoBuffer we set. */ + client_msg.u.ttyout_buf = &iobuf_msg; + client_msg.type_case = type; + if (!fmt_client_message(closure, &client_msg)) + goto done; + + ret = true; + +done: + debug_return_bool(ret); +} + +/* + * Build and format a ChangeWindowSize message wrapped in a ClientMessage. + * Appends the wire format message to the closure's write queue. + * Returns true on success, false on failure. + */ +bool +fmt_winsize(struct client_closure *closure, unsigned int lines, + unsigned int cols, struct timespec *delay) +{ + ClientMessage client_msg = CLIENT_MESSAGE__INIT; + ChangeWindowSize winsize_msg = CHANGE_WINDOW_SIZE__INIT; + TimeSpec ts = TIME_SPEC__INIT; + bool ret = false; + debug_decl(fmt_winsize, SUDOERS_DEBUG_UTIL); + + /* Fill in ChangeWindowSize message. */ + ts.tv_sec = delay->tv_sec; + ts.tv_nsec = delay->tv_nsec; + winsize_msg.delay = &ts; + winsize_msg.rows = lines; + winsize_msg.cols = cols; + + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: sending ChangeWindowSize, %dx%d", + __func__, winsize_msg.rows, winsize_msg.cols); + + /* Send ClientMessage */ + client_msg.u.winsize_event = &winsize_msg; + client_msg.type_case = CLIENT_MESSAGE__TYPE_WINSIZE_EVENT; + if (!fmt_client_message(closure, &client_msg)) + goto done; + + ret = true; + +done: + debug_return_bool(ret); +} + +/* + * Build and format a CommandSuspend message wrapped in a ClientMessage. + * Appends the wire format message to the closure's write queue. + * Returns true on success, false on failure. + */ +bool +fmt_suspend(struct client_closure *closure, const char *signame, struct timespec *delay) +{ + ClientMessage client_msg = CLIENT_MESSAGE__INIT; + CommandSuspend suspend_msg = COMMAND_SUSPEND__INIT; + TimeSpec ts = TIME_SPEC__INIT; + bool ret = false; + debug_decl(fmt_suspend, SUDOERS_DEBUG_UTIL); + + /* Fill in CommandSuspend message. */ + ts.tv_sec = delay->tv_sec; + ts.tv_nsec = delay->tv_nsec; + suspend_msg.delay = &ts; + suspend_msg.signal = (char *)signame; + + sudo_debug_printf(SUDO_DEBUG_INFO, + "%s: sending CommandSuspend, SIG%s", __func__, suspend_msg.signal); + + /* Send ClientMessage */ + client_msg.u.suspend_event = &suspend_msg; + client_msg.type_case = CLIENT_MESSAGE__TYPE_SUSPEND_EVENT; + if (!fmt_client_message(closure, &client_msg)) + goto done; + + ret = true; + +done: + debug_return_bool(ret); +} + +/* + * Additional work to do after a ClientMessage was sent to the server. + * Advances state and formats the next ClientMessage (if any). + * XXX - better name + */ +static bool +client_message_completion(struct client_closure *closure) +{ + debug_decl(client_message_completion, SUDOERS_DEBUG_UTIL); + + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: state %d", __func__, closure->state); + + switch (closure->state) { + case RECV_HELLO: + /* Waiting for ServerHello, nothing else to do. */ + break; + case SEND_ALERT: + case SEND_REJECT: + /* Nothing else to send, we are done. */ + closure->write_ev->del(closure->write_ev); + closure->read_ev->del(closure->read_ev); + closure->state = FINISHED; + break; + case SEND_ACCEPT: + case SEND_RESTART: + closure->state = SEND_IO; + break; + case SEND_IO: + /* Arbitrary number of I/O log buffers, no state change. */ + break; + case SEND_EXIT: + if (closure->log_io) { + /* Done writing, just waiting for final commit point. */ + closure->write_ev->del(closure->write_ev); + closure->state = CLOSING; + + /* Enable timeout while waiting for final commit point. */ + if (closure->read_ev->add(closure->read_ev, + &closure->log_details->server_timeout) == -1) { + sudo_warn("%s", U_("unable to add event to queue")); + debug_return_bool(false); + } + } else { + /* No commit point to wait for, we are done. */ + closure->state = FINISHED; + closure->read_ev->del(closure->read_ev); + } + break; + default: + sudo_warnx(U_("%s: unexpected state %d"), __func__, closure->state); + debug_return_bool(false); + } + debug_return_bool(true); +} + +/* + * Read the ServerHello message from the log server. + * We do this synchronously, since we don't want the command to run + * before the log server connection is completely established. + */ +bool +read_server_hello(struct client_closure *closure) +{ + struct sudo_event_base *evbase = NULL; + bool ret = false; + debug_decl(read_server_hello, SUDOERS_DEBUG_UTIL); + + /* Get new event base so we can read ServerHello synchronously. */ + evbase = sudo_ev_base_alloc(); + if (evbase == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + goto done; + } + + /* Write ClientHello. */ + if (!fmt_client_hello(closure)) + goto done; + closure->write_ev->setbase(closure->write_ev, evbase); + if (closure->write_ev->add(closure->write_ev, + &closure->log_details->server_timeout) == -1) { + sudo_warnx("%s", U_("unable to add event to queue")); + goto done; + } + + /* Read ServerHello. */ + closure->read_ev->setbase(closure->read_ev, evbase); + if (closure->read_ev->add(closure->read_ev, + &closure->log_details->server_timeout) == -1) { + sudo_warnx("%s", U_("unable to add event to queue")); + goto done; + } + + /* Read/write hello messages synchronously. */ + if (sudo_ev_dispatch(evbase) == -1) { + sudo_warnx("%s", U_("error in event loop")); + goto done; + } + + if (!sudo_ev_got_break(evbase)) + ret = true; + +done: + sudo_ev_base_free(evbase); + debug_return_bool(ret); +} + +/* + * Respond to a ServerHello message from the server. + * Returns true on success, false on error. + */ +static bool +handle_server_hello(ServerHello *msg, struct client_closure *closure) +{ + size_t n; + debug_decl(handle_server_hello, SUDOERS_DEBUG_UTIL); + + if (closure->state != RECV_HELLO) { + sudo_warnx(U_("%s: unexpected state %d"), __func__, closure->state); + debug_return_bool(false); + } + + /* Check that ServerHello is valid. */ + if (msg->server_id == NULL || msg->server_id[0] == '\0') { + sudo_warnx("%s", U_("invalid ServerHello")); + debug_return_bool(false); + } + + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: server ID: %s", + __func__, msg->server_id); + /* TODO: handle redirect */ + if (msg->redirect != NULL && msg->redirect[0] != '\0') { + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: redirect: %s", + __func__, msg->redirect); + } + for (n = 0; n < msg->n_servers; n++) { + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: server %zu: %s", + __func__, n + 1, msg->servers[n]); + } + + /* Does the server support logging sub-commands in a session? */ + closure->subcommands = msg->subcommands; + + debug_return_bool(true); +} + +/* + * Respond to a CommitPoint message from the server. + * Returns true on success, false on error. + */ +static bool +handle_commit_point(TimeSpec *commit_point, struct client_closure *closure) +{ + debug_decl(handle_commit_point, SUDOERS_DEBUG_UTIL); + + /* Only valid after we have sent an IO buffer. */ + if (closure->state < SEND_IO) { + sudo_warnx(U_("%s: unexpected state %d"), __func__, closure->state); + debug_return_bool(false); + } + + closure->committed.tv_sec = commit_point->tv_sec; + closure->committed.tv_nsec = commit_point->tv_nsec; + sudo_debug_printf(SUDO_DEBUG_INFO, + "%s: received [%lld, %d], elapsed [%lld, %ld], committed [%lld, %ld]", + __func__, (long long)commit_point->tv_sec, commit_point->tv_nsec, + (long long)closure->elapsed.tv_sec, closure->elapsed.tv_nsec, + (long long)closure->committed.tv_sec, closure->committed.tv_nsec); + + if (closure->state == CLOSING) { + if (sudo_timespeccmp(&closure->elapsed, &closure->committed, ==)) { + /* Last commit point received, exit event loop. */ + closure->state = FINISHED; + closure->read_ev->del(closure->read_ev); + } + } + + debug_return_bool(true); +} + +/* + * Respond to a LogId message from the server. + * Always returns true. + */ +static bool +handle_log_id(char *id, struct client_closure *closure) +{ + debug_decl(handle_log_id, SUDOERS_DEBUG_UTIL); + + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: remote log ID: %s", __func__, id); + if (closure->iolog_id != NULL) { + if ((closure->iolog_id = strdup(id)) == NULL) + sudo_fatal(U_("%s: %s"), __func__, U_("unable to allocate memory")); + } + debug_return_bool(true); +} + +/* + * Respond to a ServerError message from the server. + * Always returns false. + */ +static bool +handle_server_error(char *errmsg, struct client_closure *closure) +{ + debug_decl(handle_server_error, SUDOERS_DEBUG_UTIL); + + sudo_warnx(U_("error message received from server: %s"), errmsg); + debug_return_bool(false); +} + +/* + * Respond to a ServerAbort message from the server. + * Always returns false. + */ +static bool +handle_server_abort(char *errmsg, struct client_closure *closure) +{ + debug_decl(handle_server_abort, SUDOERS_DEBUG_UTIL); + + sudo_warnx(U_("abort message received from server: %s"), errmsg); + debug_return_bool(false); +} + +/* + * Respond to a ServerMessage from the server. + * Returns true on success, false on error. + */ +static bool +handle_server_message(uint8_t *buf, size_t len, + struct client_closure *closure) +{ + ServerMessage *msg; + bool ret = false; + debug_decl(handle_server_message, SUDOERS_DEBUG_UTIL); + + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: unpacking ServerMessage", __func__); + msg = server_message__unpack(NULL, len, buf); + if (msg == NULL) { + sudo_warnx(U_("unable to unpack %s size %zu"), "ServerMessage", len); + debug_return_bool(false); + } + + switch (msg->type_case) { + case SERVER_MESSAGE__TYPE_HELLO: + if (handle_server_hello(msg->u.hello, closure)) { + if ((ret = fmt_initial_message(closure))) { + if (closure->write_ev->add(closure->write_ev, + &closure->log_details->server_timeout) == -1) { + sudo_warn("%s", U_("unable to add event to queue")); + ret = false; + } + } + } + break; + case SERVER_MESSAGE__TYPE_COMMIT_POINT: + ret = handle_commit_point(msg->u.commit_point, closure); + break; + case SERVER_MESSAGE__TYPE_LOG_ID: + ret = handle_log_id(msg->u.log_id, closure); + break; + case SERVER_MESSAGE__TYPE_ERROR: + ret = handle_server_error(msg->u.error, closure); + closure->state = ERROR; + break; + case SERVER_MESSAGE__TYPE_ABORT: + ret = handle_server_abort(msg->u.abort, closure); + closure->state = ERROR; + break; + default: + sudo_warnx(U_("%s: unexpected type_case value %d"), + __func__, msg->type_case); + break; + } + + server_message__free_unpacked(msg, NULL); + debug_return_bool(ret); +} + +/* + * Expand buf as needed or just reset it. + * XXX - share with logsrvd/sendlog + */ +static bool +expand_buf(struct connection_buffer *buf, unsigned int needed) +{ + void *newdata; + debug_decl(expand_buf, SUDOERS_DEBUG_UTIL); + + if (buf->size < needed) { + /* Expand buffer. */ + needed = sudo_pow2_roundup(needed); + if ((newdata = malloc(needed)) == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + debug_return_bool(false); + } + if (buf->off > 0) + memcpy(newdata, buf->data + buf->off, buf->len - buf->off); + free(buf->data); + buf->data = newdata; + buf->size = needed; + } else { + /* Just reset existing buffer. */ + if (buf->off > 0) { + memmove(buf->data, buf->data + buf->off, + buf->len - buf->off); + } + } + buf->len -= buf->off; + buf->off = 0; + + debug_return_bool(true); +} + +/* + * Read and unpack a ServerMessage (read callback). + */ +static void +server_msg_cb(int fd, int what, void *v) +{ + struct client_closure *closure = v; + struct connection_buffer *buf = &closure->read_buf; + ssize_t nread; + uint32_t msg_len; + debug_decl(server_msg_cb, SUDOERS_DEBUG_UTIL); + + /* For TLS we may need to read as part of SSL_write(). */ + if (closure->write_instead_of_read) { + closure->write_instead_of_read = false; + client_msg_cb(fd, what, v); + debug_return; + } + + if (what == SUDO_PLUGIN_EV_TIMEOUT) { + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: timed out reading from server", + __func__); + goto bad; + } + + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: reading ServerMessage", __func__); +#if defined(HAVE_OPENSSL) + if (closure->ssl != NULL) { + nread = SSL_read(closure->ssl, buf->data + buf->len, buf->size - buf->len); + if (nread <= 0) { + const char *errstr; + int err; + + switch (SSL_get_error(closure->ssl, nread)) { + case SSL_ERROR_ZERO_RETURN: + /* TLS connection shutdown cleanly */ + sudo_debug_printf(SUDO_DEBUG_NOTICE|SUDO_DEBUG_LINENO, + "TLS connection shut down cleanly"); + nread = 0; + break; + case SSL_ERROR_WANT_READ: + /* ssl wants to read more, read event is always active */ + sudo_debug_printf(SUDO_DEBUG_NOTICE|SUDO_DEBUG_LINENO, + "SSL_read returns SSL_ERROR_WANT_READ"); + debug_return; + case SSL_ERROR_WANT_WRITE: + /* ssl wants to write, so schedule the write handler */ + sudo_debug_printf(SUDO_DEBUG_NOTICE|SUDO_DEBUG_LINENO, + "SSL_read returns SSL_ERROR_WANT_WRITE"); + if (!closure->write_ev->pending(closure->write_ev, + SUDO_PLUGIN_EV_WRITE, NULL)) { + /* Enable a temporary write event. */ + if (closure->write_ev->add(closure->write_ev, NULL) == -1) { + sudo_warn("%s", U_("unable to add event to queue")); + goto bad; + } + closure->temporary_write_event = true; + } + /* Redirect write event to finish SSL_read() */ + closure->read_instead_of_write = true; + debug_return; + case SSL_ERROR_SSL: + /* + * For TLS 1.3, if the cert verify function on the server + * returns an error, OpenSSL will send an internal error + * alert when we read ServerHello. Convert to a more useful + * message and hope that no actual internal error occurs. + */ + err = ERR_get_error(); +#if !defined(HAVE_WOLFSSL) + if (closure->state == RECV_HELLO && + ERR_GET_REASON(err) == SSL_R_TLSV1_ALERT_INTERNAL_ERROR) { + errstr = U_("host name does not match certificate"); + } else +#endif + { + errstr = ERR_reason_error_string(err); + } + sudo_warnx("%s", errstr ? errstr : strerror(errno)); + goto bad; + case SSL_ERROR_SYSCALL: + if (nread == 0) + sudo_warnx("%s", U_("lost connection to log server")); + else + sudo_warn("recv"); + goto bad; + default: + errstr = ERR_reason_error_string(ERR_get_error()); + sudo_warnx("recv: %s", errstr ? errstr : strerror(errno)); + goto bad; + } + } + } else +#endif /* HAVE_OPENSSL */ + { + nread = recv(fd, buf->data + buf->len, buf->size - buf->len, 0); + } + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: received %zd bytes from server", + __func__, nread); + switch (nread) { + case -1: + if (errno == EAGAIN) + debug_return; + sudo_warn("recv"); + goto bad; + case 0: + sudo_warnx("%s", U_("lost connection to log server")); + goto bad; + default: + break; + } + buf->len += nread; + + while (buf->len - buf->off >= sizeof(msg_len)) { + /* Read wire message size (uint32_t in network byte order). */ + memcpy(&msg_len, buf->data + buf->off, sizeof(msg_len)); + msg_len = ntohl(msg_len); + + if (msg_len > MESSAGE_SIZE_MAX) { + sudo_warnx(U_("server message too large: %u"), msg_len); + goto bad; + } + + if (msg_len + sizeof(msg_len) > buf->len - buf->off) { + /* Incomplete message, we'll read the rest next time. */ + if (!expand_buf(buf, msg_len + sizeof(msg_len))) + goto bad; + debug_return; + } + + /* Parse ServerMessage, could be zero bytes. */ + sudo_debug_printf(SUDO_DEBUG_INFO, + "%s: parsing ServerMessage, size %u", __func__, msg_len); + buf->off += sizeof(msg_len); + if (!handle_server_message(buf->data + buf->off, msg_len, closure)) + goto bad; + buf->off += msg_len; + } + buf->len -= buf->off; + buf->off = 0; + debug_return; +bad: + if (closure->log_details->ignore_log_errors) { + /* Disable plugin, the command continues. */ + closure->disabled = true; + closure->read_ev->del(closure->read_ev); + } else { + /* Break out of sudo event loop and kill the command. */ + closure->read_ev->loopbreak(closure->read_ev); + } + debug_return; +} + +/* + * Send a ClientMessage to the server (write callback). + */ +static void +client_msg_cb(int fd, int what, void *v) +{ + struct client_closure *closure = v; + struct connection_buffer *buf; + ssize_t nwritten; + debug_decl(client_msg_cb, SUDOERS_DEBUG_UTIL); + + /* For TLS we may need to write as part of SSL_read(). */ + if (closure->read_instead_of_write) { + closure->read_instead_of_write = false; + /* Delete write event if it was only due to SSL_read(). */ + if (closure->temporary_write_event) { + closure->temporary_write_event = false; + closure->write_ev->del(closure->write_ev); + } + server_msg_cb(fd, what, v); + debug_return; + } + + if (what == SUDO_PLUGIN_EV_TIMEOUT) { + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: timed out writing to server", + __func__); + goto bad; + } + + if ((buf = TAILQ_FIRST(&closure->write_bufs)) == NULL) { + sudo_warnx("%s", U_("missing write buffer")); + goto bad; + } + + sudo_debug_printf(SUDO_DEBUG_INFO, + "%s: sending %u bytes to server", __func__, buf->len - buf->off); + +#if defined(HAVE_OPENSSL) + if (closure->ssl != NULL) { + nwritten = SSL_write(closure->ssl, buf->data + buf->off, buf->len - buf->off); + if (nwritten <= 0) { + const char *errstr; + + switch (SSL_get_error(closure->ssl, nwritten)) { + case SSL_ERROR_ZERO_RETURN: + /* TLS connection shutdown cleanly */ + sudo_debug_printf(SUDO_DEBUG_NOTICE|SUDO_DEBUG_LINENO, + "TLS connection shut down cleanly"); + goto bad; + case SSL_ERROR_WANT_READ: + /* ssl wants to read, read event always active */ + sudo_debug_printf(SUDO_DEBUG_NOTICE|SUDO_DEBUG_LINENO, + "SSL_write returns SSL_ERROR_WANT_READ"); + /* Redirect read event to finish SSL_write() */ + closure->write_instead_of_read = true; + debug_return; + case SSL_ERROR_WANT_WRITE: + /* ssl wants to write more, write event remains active */ + sudo_debug_printf(SUDO_DEBUG_NOTICE|SUDO_DEBUG_LINENO, + "SSL_write returns SSL_ERROR_WANT_WRITE"); + debug_return; + case SSL_ERROR_SSL: + errstr = ERR_reason_error_string(ERR_get_error()); + sudo_warnx("%s", errstr ? errstr : strerror(errno)); + goto bad; + case SSL_ERROR_SYSCALL: + sudo_warn("send"); + goto bad; + default: + errstr = ERR_reason_error_string(ERR_get_error()); + sudo_warnx("send: %s", errstr ? errstr : strerror(errno)); + goto bad; + } + } + } else +#endif /* HAVE_OPENSSL */ + { + nwritten = send(fd, buf->data + buf->off, buf->len - buf->off, 0); + } + + if (nwritten == -1) { + sudo_warn("send"); + goto bad; + } + buf->off += nwritten; + + if (buf->off == buf->len) { + /* sent entire message, move buf to free list */ + sudo_debug_printf(SUDO_DEBUG_INFO, + "%s: finished sending %u bytes to server", __func__, buf->len); + buf->off = 0; + buf->len = 0; + TAILQ_REMOVE(&closure->write_bufs, buf, entries); + TAILQ_INSERT_TAIL(&closure->free_bufs, buf, entries); + if (TAILQ_EMPTY(&closure->write_bufs)) { + /* Write queue empty, check for state change. */ + closure->write_ev->del(closure->write_ev); + if (!client_message_completion(closure)) + goto bad; + } + } + debug_return; + +bad: + if (closure->log_details->ignore_log_errors) { + /* Disable plugin, the command continues. */ + closure->disabled = true; + closure->write_ev->del(closure->read_ev); + closure->write_ev->del(closure->write_ev); + } else { + /* Break out of sudo event loop and kill the command. */ + closure->write_ev->loopbreak(closure->write_ev); + } + debug_return; +} + +/* + * Allocate and initialize a new client closure + */ +static struct client_closure * +client_closure_alloc(struct log_details *details, struct timespec *now, + bool log_io, enum client_state initial_state, const char *reason) +{ + struct client_closure *closure; + debug_decl(client_closure_alloc, SUDOERS_DEBUG_UTIL); + + if (plugin_event_alloc == NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "plugin_event_alloc is not set"); + debug_return_ptr(NULL); + } + + if ((closure = calloc(1, sizeof(*closure))) == NULL) + goto oom; + + closure->sock = -1; + closure->log_io = log_io; + closure->reason = reason; + closure->state = RECV_HELLO; + closure->initial_state = initial_state; + + closure->start_time.tv_sec = now->tv_sec; + closure->start_time.tv_nsec = now->tv_nsec; + + TAILQ_INIT(&closure->write_bufs); + TAILQ_INIT(&closure->free_bufs); + + closure->read_buf.size = 64 * 1024; + closure->read_buf.data = malloc(closure->read_buf.size); + if (closure->read_buf.data == NULL) + goto oom; + + if ((closure->read_ev = plugin_event_alloc()) == NULL) + goto oom; + + if ((closure->write_ev = plugin_event_alloc()) == NULL) + goto oom; + + closure->log_details = details; + + debug_return_ptr(closure); +oom: + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + client_closure_free(closure); + debug_return_ptr(NULL); +} + +struct client_closure * +log_server_open(struct log_details *details, struct timespec *now, + bool log_io, enum client_state initial_state, const char *reason) +{ + struct client_closure *closure; + static bool warned = false; + debug_decl(log_server_open, SUDOERS_DEBUG_UTIL); + + closure = client_closure_alloc(details, now, log_io, initial_state, + reason); + if (closure == NULL) + goto bad; + + /* Connect to log first available log server. */ + if (!log_server_connect(closure)) { + /* TODO: support offline logs if server unreachable */ + if (!warned) { + sudo_warnx("%s", U_("unable to connect to log server")); + warned = true; + } + goto bad; + } + + /* Read ServerHello synchronously or fail. */ + if (read_server_hello(closure)) + debug_return_ptr(closure); + +bad: + client_closure_free(closure); + debug_return_ptr(NULL); +} + +/* + * Send ExitMessage, wait for final commit message and free closure. + */ +bool +log_server_close(struct client_closure *closure, int exit_status, int error) +{ + struct sudo_event_base *evbase = NULL; + bool ret = false; + debug_decl(log_server_close, SUDOERS_DEBUG_UTIL); + + if (closure->disabled) + goto done; + + /* Format and append an ExitMessage to the write queue. */ + if (!fmt_exit_message(closure, exit_status, error)) + goto done; + + /* + * Create private event base and reparent the read/write events. + * We cannot use the main sudo event loop as it has already exited. + */ + if ((evbase = sudo_ev_base_alloc()) == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + goto done; + } + + /* Enable read event to receive server messages. */ + closure->read_ev->setbase(closure->read_ev, evbase); + if (closure->read_ev->add(closure->read_ev, + &closure->log_details->server_timeout) == -1) { + sudo_warn("%s", U_("unable to add event to queue")); + goto done; + } + + /* Enable the write event to write the ExitMessage. */ + closure->write_ev->setbase(closure->write_ev, evbase); + if (closure->write_ev->add(closure->write_ev, + &closure->log_details->server_timeout) == -1) { + sudo_warn("%s", U_("unable to add event to queue")); + goto done; + } + + /* Loop until queues are flushed and final commit point received. */ + sudo_debug_printf(SUDO_DEBUG_INFO|SUDO_DEBUG_LINENO, + "flushing buffers and waiting for final commit point"); + if (sudo_ev_dispatch(evbase) == -1 || sudo_ev_got_break(evbase)) { + sudo_warnx("%s", U_("error in event loop")); + goto done; + } + + ret = true; + +done: + sudo_ev_base_free(evbase); + client_closure_free(closure); + debug_return_bool(ret); +} + +#endif /* SUDOERS_LOG_CLIENT */ diff --git a/plugins/sudoers/log_client.h b/plugins/sudoers/log_client.h new file mode 100644 index 0000000..7f11e15 --- /dev/null +++ b/plugins/sudoers/log_client.h @@ -0,0 +1,123 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2019-2020 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#ifndef SUDOERS_LOG_CLIENT_H +#define SUDOERS_LOG_CLIENT_H + +#include /* for INET6?_ADDRSTRLEN */ +#if defined(HAVE_OPENSSL) +# if defined(HAVE_WOLFSSL) +# include +# endif /* HAVE_WOLFSSL */ +# include +#endif /* HAVE_OPENSSL */ + +#include "log_server.pb-c.h" + +#ifndef INET_ADDRSTRLEN +# define INET_ADDRSTRLEN 16 +#endif +#ifndef INET6_ADDRSTRLEN +# define INET6_ADDRSTRLEN 46 +#endif + +#if PROTOBUF_C_VERSION_NUMBER < 1003000 +# error protobuf-c version 1.30 or higher required +#endif + +/* Default ports to listen on */ +#define DEFAULT_PORT "30343" +#define DEFAULT_PORT_TLS "30344" + +/* Maximum message size (2Mb) */ +#define MESSAGE_SIZE_MAX (2 * 1024 * 1024) + +/* TODO - share with logsrvd/sendlog */ +struct connection_buffer { + TAILQ_ENTRY(connection_buffer) entries; + uint8_t *data; + unsigned int size; + unsigned int len; + unsigned int off; +}; +TAILQ_HEAD(connection_buffer_list, connection_buffer); + +enum client_state { + ERROR, + RECV_HELLO, + SEND_RESTART, /* TODO: currently unimplemented */ + SEND_ACCEPT, + SEND_ALERT, + SEND_REJECT, + SEND_IO, + SEND_EXIT, + CLOSING, + FINISHED +}; + +/* Remote connection closure, non-zero fields must come first. */ +struct client_closure { + int sock; + bool read_instead_of_write; + bool write_instead_of_read; + bool temporary_write_event; + bool disabled; + bool log_io; + char *server_name; +#if defined(HAVE_STRUCT_IN6_ADDR) + char server_ip[INET6_ADDRSTRLEN]; +#else + char server_ip[INET_ADDRSTRLEN]; +#endif +#if defined(HAVE_OPENSSL) + SSL_CTX *ssl_ctx; + SSL *ssl; + bool ssl_initialized; +#endif /* HAVE_OPENSSL */ + bool subcommands; + enum client_state state; + enum client_state initial_state; /* XXX - bad name */ + struct connection_buffer_list write_bufs; + struct connection_buffer_list free_bufs; + struct connection_buffer read_buf; + struct sudo_plugin_event *read_ev; + struct sudo_plugin_event *write_ev; + struct log_details *log_details; + struct timespec start_time; + struct timespec elapsed; + struct timespec committed; + char *iolog_id; + const char *reason; +}; + +/* iolog_client.c */ +struct client_closure *log_server_open(struct log_details *details, struct timespec *now, bool log_io, enum client_state initial_state, const char *reason); +bool log_server_close(struct client_closure *closure, int exit_status, int error); +bool fmt_client_message(struct client_closure *closure, ClientMessage *msg); +bool fmt_accept_message(struct client_closure *closure, struct eventlog *evlog); +bool fmt_reject_message(struct client_closure *closure, struct eventlog *evlog); +bool fmt_exit_message(struct client_closure *closure, int exit_status, int error); +bool fmt_io_buf(struct client_closure *closure, int type, const char *buf, unsigned int len, struct timespec *delay); +bool fmt_suspend(struct client_closure *closure, const char *signame, struct timespec *delay); +bool fmt_winsize(struct client_closure *closure, unsigned int lines, unsigned int cols, struct timespec *delay); +bool log_server_connect(struct client_closure *closure); +void client_closure_free(struct client_closure *closure); +bool read_server_hello(struct client_closure *closure); +extern struct client_closure *client_closure; + +#endif /* SUDOERS_LOG_CLIENT_H */ diff --git a/plugins/sudoers/logging.c b/plugins/sudoers/logging.c new file mode 100644 index 0000000..2518e97 --- /dev/null +++ b/plugins/sudoers/logging.c @@ -0,0 +1,1092 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1994-1996, 1998-2022 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Sponsored in part by the Defense Advanced Research Projects + * Agency (DARPA) and Air Force Research Laboratory, Air Force + * Materiel Command, USAF, under agreement number F39502-99-1-0512. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#ifdef __TANDEM +# include +#endif + +#include + +#include +#include +#include +#include +#include +#include +#ifdef HAVE_NL_LANGINFO +# include +#endif /* HAVE_NL_LANGINFO */ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#ifndef HAVE_GETADDRINFO +# include "compat/getaddrinfo.h" +#endif + +#include "sudoers.h" +#ifdef SUDOERS_LOG_CLIENT +# include "log_client.h" +# include "strlist.h" +#endif + +struct parse_error { + STAILQ_ENTRY(parse_error) entries; + char *errstr; +}; +STAILQ_HEAD(parse_error_list, parse_error); +static struct parse_error_list parse_error_list = + STAILQ_HEAD_INITIALIZER(parse_error_list); + +static bool should_mail(int); +static bool warned = false; + +#ifdef SUDOERS_LOG_CLIENT +/* + * Convert a defaults-style list to a stringlist. + */ +static struct sudoers_str_list * +list_to_strlist(struct list_members *list) +{ + struct sudoers_str_list *strlist; + struct sudoers_string *str; + struct list_member *item; + debug_decl(slist_to_strlist, SUDOERS_DEBUG_LOGGING); + + if ((strlist = str_list_alloc()) == NULL) + goto oom; + + SLIST_FOREACH(item, list, entries) { + if ((str = sudoers_string_alloc(item->value)) == NULL) + goto oom; + /* List is in reverse order, insert at head to fix that. */ + STAILQ_INSERT_HEAD(strlist, str, entries); + } + + debug_return_ptr(strlist); +oom: + str_list_free(strlist); + debug_return_ptr(NULL); +} + +bool +init_log_details(struct log_details *details, struct eventlog *evlog) +{ + struct sudoers_str_list *log_servers = NULL; + debug_decl(init_log_details, SUDOERS_DEBUG_LOGGING); + + memset(details, 0, sizeof(*details)); + + if ((log_servers = list_to_strlist(&def_log_servers)) == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + debug_return_bool(false); + } + + details->evlog = evlog; + details->ignore_log_errors = def_ignore_logfile_errors; + details->log_servers = log_servers; + details->server_timeout.tv_sec = def_log_server_timeout; + details->keepalive = def_log_server_keepalive; +#if defined(HAVE_OPENSSL) + details->ca_bundle = def_log_server_cabundle; + details->cert_file = def_log_server_peer_cert; + details->key_file = def_log_server_peer_key; + details->verify_server = def_log_server_verify; +#endif /* HAVE_OPENSSL */ + + debug_return_bool(true); +} + +bool +log_server_reject(struct eventlog *evlog, const char *message) +{ + bool ret = false; + debug_decl(log_server_reject, SUDOERS_DEBUG_LOGGING); + + if (SLIST_EMPTY(&def_log_servers)) + debug_return_bool(true); + + if (ISSET(sudo_mode, MODE_POLICY_INTERCEPTED)) { + /* Older servers don't support multiple commands per session. */ + if (!client_closure->subcommands) + debug_return_bool(true); + + /* Use existing client closure. */ + if (fmt_reject_message(client_closure, evlog)) { + if (client_closure->write_ev->add(client_closure->write_ev, + &client_closure->log_details->server_timeout) == -1) { + sudo_warn("%s", U_("unable to add event to queue")); + goto done; + } + ret = true; + } + } else { + struct log_details details; + + if (!init_log_details(&details, evlog)) + debug_return_bool(false); + + /* Open connection to log server, send hello and reject messages. */ + client_closure = log_server_open(&details, &sudo_user.submit_time, + false, SEND_REJECT, message); + if (client_closure != NULL) { + client_closure_free(client_closure); + client_closure = NULL; + ret = true; + } + + /* Only the log_servers string list is dynamically allocated. */ + str_list_free(details.log_servers); + } + +done: + debug_return_bool(ret); +} + +bool +log_server_alert(struct eventlog *evlog, struct timespec *now, + const char *message, const char *errstr) +{ + struct log_details details; + char *emessage = NULL; + bool ret = false; + debug_decl(log_server_alert, SUDOERS_DEBUG_LOGGING); + + if (SLIST_EMPTY(&def_log_servers)) + debug_return_bool(true); + + if (errstr != NULL) { + if (asprintf(&emessage, _("%s: %s"), message, errstr) == -1) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + goto done; + } + } + + if (ISSET(sudo_mode, MODE_POLICY_INTERCEPTED)) { + /* Older servers don't support multiple commands per session. */ + if (!client_closure->subcommands) { + ret = true; + goto done; + } + + /* Use existing client closure. */ + if (fmt_reject_message(client_closure, evlog)) { + if (client_closure->write_ev->add(client_closure->write_ev, + &client_closure->log_details->server_timeout) == -1) { + sudo_warn("%s", U_("unable to add event to queue")); + goto done; + } + ret = true; + } + } else { + if (!init_log_details(&details, evlog)) + goto done; + + /* Open connection to log server, send hello and alert messages. */ + client_closure = log_server_open(&details, now, false, + SEND_ALERT, emessage ? emessage : message); + if (client_closure != NULL) { + client_closure_free(client_closure); + client_closure = NULL; + ret = true; + } + + /* Only the log_servers string list is dynamically allocated. */ + str_list_free(details.log_servers); + } + +done: + free(emessage); + debug_return_bool(ret); +} +#else +bool +log_server_reject(struct eventlog *evlog, const char *message) +{ + return true; +} + +bool +log_server_alert(struct eventlog *evlog, struct timespec *now, + const char *message, const char *errstr) +{ + return true; +} +#endif /* SUDOERS_LOG_CLIENT */ + +/* + * Log a reject event to syslog, a log file, sudo_logsrvd and/or email. + */ +static bool +log_reject(const char *message, bool logit, bool mailit) +{ + const char *uuid_str = NULL; + struct eventlog evlog; + int evl_flags = 0; + bool ret; + debug_decl(log_reject, SUDOERS_DEBUG_LOGGING); + + if (!ISSET(sudo_mode, MODE_POLICY_INTERCEPTED)) + uuid_str = sudo_user.uuid_str; + + if (mailit) { + SET(evl_flags, EVLOG_MAIL); + if (!logit) + SET(evl_flags, EVLOG_MAIL_ONLY); + } + sudoers_to_eventlog(&evlog, safe_cmnd, NewArgv, env_get(), uuid_str); + ret = eventlog_reject(&evlog, evl_flags, message, NULL, NULL); + if (!log_server_reject(&evlog, message)) + ret = false; + + debug_return_bool(ret); +} + +/* + * Log, audit and mail the denial message, optionally informing the user. + */ +bool +log_denial(int status, bool inform_user) +{ + const char *message; + int oldlocale; + bool mailit, ret = true; + debug_decl(log_denial, SUDOERS_DEBUG_LOGGING); + + /* Send mail based on status. */ + mailit = should_mail(status); + + /* Set error message. */ + if (ISSET(status, FLAG_NO_USER)) + message = N_("user NOT in sudoers"); + else if (ISSET(status, FLAG_NO_HOST)) + message = N_("user NOT authorized on host"); + else + message = N_("command not allowed"); + + /* Do auditing first (audit_failure() handles the locale itself). */ + audit_failure(NewArgv, "%s", message); + + if (def_log_denied || mailit) { + /* Log and mail messages should be in the sudoers locale. */ + sudoers_setlocale(SUDOERS_LOCALE_SUDOERS, &oldlocale); + + if (!log_reject(message, def_log_denied, mailit)) + ret = false; + + /* Restore locale. */ + sudoers_setlocale(oldlocale, NULL); + } + + /* Inform the user of the failure (in their locale). */ + if (inform_user) { + sudoers_setlocale(SUDOERS_LOCALE_USER, &oldlocale); + + if (ISSET(status, FLAG_NO_USER)) { + sudo_printf(SUDO_CONV_ERROR_MSG, _("%s is not in the sudoers " + "file.\n"), user_name); + } else if (ISSET(status, FLAG_NO_HOST)) { + sudo_printf(SUDO_CONV_ERROR_MSG, _("%s is not allowed to run sudo " + "on %s.\n"), user_name, user_srunhost); + } else if (ISSET(status, FLAG_NO_CHECK)) { + sudo_printf(SUDO_CONV_ERROR_MSG, _("Sorry, user %s may not run " + "sudo on %s.\n"), user_name, user_srunhost); + } else { + sudo_printf(SUDO_CONV_ERROR_MSG, _("Sorry, user %s is not allowed " + "to execute '%s%s%s%s' as %s%s%s on %s.\n"), + user_name, user_cmnd, list_cmnd ? list_cmnd : "", + user_args ? " " : "", user_args ? user_args : "", + list_pw ? list_pw->pw_name : runas_pw ? + runas_pw->pw_name : user_name, runas_gr ? ":" : "", + runas_gr ? runas_gr->gr_name : "", user_host); + } + if (mailit) { + sudo_printf(SUDO_CONV_ERROR_MSG, "%s", + _("This incident has been reported to the administrator.\n")); + } + sudoers_setlocale(oldlocale, NULL); + } + debug_return_bool(ret); +} + +/* + * Log and audit that user was not allowed to run the command. + */ +bool +log_failure(int status, int flags) +{ + bool ret, inform_user = true; + debug_decl(log_failure, SUDOERS_DEBUG_LOGGING); + + /* The user doesn't always get to see the log message (path info). */ + if (!ISSET(status, FLAG_NO_USER | FLAG_NO_HOST) && list_pw == NULL && + def_path_info && (flags == NOT_FOUND_DOT || flags == NOT_FOUND)) + inform_user = false; + ret = log_denial(status, inform_user); + + if (!inform_user) { + const char *cmnd = user_cmnd; + if (ISSET(sudo_mode, MODE_CHECK)) + cmnd = list_cmnd ? list_cmnd : NewArgv[1]; + + /* + * We'd like to not leak path info at all here, but that can + * *really* confuse the users. To really close the leak we'd + * have to say "not allowed to run foo" even when the problem + * is just "no foo in path" since the user can trivially set + * their path to just contain a single dir. + */ + if (flags == NOT_FOUND) + sudo_warnx(U_("%s: command not found"), cmnd); + else if (flags == NOT_FOUND_DOT) + sudo_warnx(U_("ignoring \"%s\" found in '.'\nUse \"sudo ./%s\" if this is the \"%s\" you wish to run."), cmnd, cmnd, cmnd); + } + + debug_return_bool(ret); +} + +/* + * Format an authentication failure message, using either + * authfail_message from sudoers or a locale-specific message. + */ +static char * +fmt_authfail_message(unsigned int tries) +{ + char numbuf[(((sizeof(int) * 8) + 2) / 3) + 2]; + char *dst, *dst_end, *ret = NULL; + const char *src; + size_t len; + debug_decl(fmt_authfail_message, SUDOERS_DEBUG_LOGGING); + + if (def_authfail_message == NULL) { + if (asprintf(&ret, ngettext("%u incorrect password attempt", + "%u incorrect password attempts", tries), tries) == -1) + goto oom; + debug_return_ptr(ret); + } + + len = snprintf(numbuf, sizeof(numbuf), "%u", tries); + if (len >= sizeof(numbuf)) + goto overflow; + + src = def_authfail_message; + len = strlen(src) + 1; + while (*src != '\0') { + if (src[0] == '%') { + switch (src[1]) { + case '%': + len--; + src++; + break; + case 'd': + len -= 2; + len += strlen(numbuf); + src++; + break; + default: + /* pass through as-is */ + break; + } + } + src++; + } + + if ((ret = malloc(len)) == NULL) + goto oom; + dst = ret; + dst_end = ret + len; + + src = def_authfail_message; + while (*src != '\0') { + /* Always leave space for the terminating NUL. */ + if (dst + 1 >= dst_end) + goto overflow; + if (src[0] == '%') { + switch (src[1]) { + case '%': + src++; + break; + case 'd': + len = strlcpy(dst, numbuf, dst_end - dst); + if (len >= (size_t)(dst_end - dst)) + goto overflow; + dst += len; + src += 2; + continue; + default: + /* pass through as-is */ + break; + } + } + *dst++ = *src++; + } + *dst = '\0'; + + debug_return_ptr(ret); + +oom: + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + debug_return_ptr(NULL); + +overflow: + sudo_warnx(U_("internal error, %s overflow"), __func__); + free(ret); + errno = ERANGE; + debug_return_ptr(NULL); +} + +/* + * Log and audit that user was not able to authenticate themselves. + */ +bool +log_auth_failure(int status, unsigned int tries) +{ + char *message = NULL; + int oldlocale; + bool ret = true; + bool mailit = false; + bool logit = true; + debug_decl(log_auth_failure, SUDOERS_DEBUG_LOGGING); + + /* Do auditing first (audit_failure() handles the locale itself). */ + audit_failure(NewArgv, "%s", N_("authentication failure")); + + /* If sudoers denied the command we'll log that separately. */ + if (!ISSET(status, FLAG_BAD_PASSWORD|FLAG_NO_USER_INPUT)) + logit = false; + + /* + * Do we need to send mail? + * We want to avoid sending multiple messages for the same command + * so if we are going to send an email about the denial, that takes + * precedence. + */ + if (ISSET(status, VALIDATE_SUCCESS)) { + /* Command allowed, auth failed; do we need to send mail? */ + if (def_mail_badpass || def_mail_always) + mailit = true; + if (!def_log_denied) + logit = false; + } else { + /* Command denied, auth failed; make sure we don't send mail twice. */ + if (def_mail_badpass && !should_mail(status)) + mailit = true; + /* Don't log the bad password message, we'll log a denial instead. */ + logit = false; + } + + if (logit || mailit) { + /* Log and mail messages should be in the sudoers locale. */ + sudoers_setlocale(SUDOERS_LOCALE_SUDOERS, &oldlocale); + + if (ISSET(status, FLAG_BAD_PASSWORD)) { + message = fmt_authfail_message(tries); + if (message == NULL) { + ret = false; + } else { + ret = log_reject(message, logit, mailit); + free(message); + } + } else { + ret = log_reject(_("a password is required"), logit, mailit); + } + + /* Restore locale. */ + sudoers_setlocale(oldlocale, NULL); + } + + /* Inform the user if they failed to authenticate (in their locale). */ + sudoers_setlocale(SUDOERS_LOCALE_USER, &oldlocale); + + if (ISSET(status, FLAG_BAD_PASSWORD)) { + message = fmt_authfail_message(tries); + if (message == NULL) { + ret = false; + } else { + sudo_warnx("%s", message); + free(message); + } + } else { + sudo_warnx("%s", _("a password is required")); + } + + sudoers_setlocale(oldlocale, NULL); + + debug_return_bool(ret); +} + +/* + * Log and potentially mail the allowed command. + */ +bool +log_allowed(struct eventlog *evlog) +{ + int oldlocale; + int evl_flags = 0; + bool mailit, ret = true; + debug_decl(log_allowed, SUDOERS_DEBUG_LOGGING); + + /* Send mail based on status. */ + mailit = should_mail(VALIDATE_SUCCESS); + + if (def_log_allowed || mailit) { + /* Log and mail messages should be in the sudoers locale. */ + sudoers_setlocale(SUDOERS_LOCALE_SUDOERS, &oldlocale); + + if (mailit) { + SET(evl_flags, EVLOG_MAIL); + if (!def_log_allowed) + SET(evl_flags, EVLOG_MAIL_ONLY); + } + if (!eventlog_accept(evlog, evl_flags, NULL, NULL)) + ret = false; + + sudoers_setlocale(oldlocale, NULL); + } + + debug_return_bool(ret); +} + +bool +log_exit_status(int status) +{ + struct eventlog evlog; + int evl_flags = 0; + int exit_value = 0; + int oldlocale; + struct timespec run_time; + char sigbuf[SIG2STR_MAX]; + char *signal_name = NULL; + bool dumped_core = false; + bool ret = true; + debug_decl(log_exit_status, SUDOERS_DEBUG_LOGGING); + + if (def_log_exit_status || def_mail_always) { + if (sudo_gettime_real(&run_time) == -1) { + sudo_warn("%s", U_("unable to get time of day")); + ret = false; + goto done; + } + sudo_timespecsub(&run_time, &sudo_user.submit_time, &run_time); + + if (WIFEXITED(status)) { + exit_value = WEXITSTATUS(status); + } else if (WIFSIGNALED(status)) { + int signo = WTERMSIG(status); + if (signo <= 0 || sig2str(signo, sigbuf) == -1) + (void)snprintf(sigbuf, sizeof(sigbuf), "%d", signo); + signal_name = sigbuf; + exit_value = signo | 128; + dumped_core = WCOREDUMP(status); + } else { + sudo_warnx("invalid exit status 0x%x", status); + ret = false; + goto done; + } + + /* Log and mail messages should be in the sudoers locale. */ + sudoers_setlocale(SUDOERS_LOCALE_SUDOERS, &oldlocale); + + sudoers_to_eventlog(&evlog, saved_cmnd, saved_argv, env_get(), + sudo_user.uuid_str); + if (def_mail_always) { + SET(evl_flags, EVLOG_MAIL); + if (!def_log_exit_status) + SET(evl_flags, EVLOG_MAIL_ONLY); + } + evlog.run_time = run_time; + evlog.exit_value = exit_value; + evlog.signal_name = signal_name; + evlog.dumped_core = dumped_core; + if (!eventlog_exit(&evlog, evl_flags)) + ret = false; + + sudoers_setlocale(oldlocale, NULL); + } + +done: + debug_return_bool(ret); +} + +/* + * Perform logging for log_warning()/log_warningx(). + */ +static bool +vlog_warning(int flags, int errnum, const char *fmt, va_list ap) +{ + struct eventlog evlog; + struct timespec now; + const char *errstr = NULL; + char *message; + bool ret = true; + int len, oldlocale; + int evl_flags = 0; + va_list ap2; + debug_decl(vlog_warning, SUDOERS_DEBUG_LOGGING); + + /* Do auditing first (audit_failure() handles the locale itself). */ + if (ISSET(flags, SLOG_AUDIT)) { + va_copy(ap2, ap); + vaudit_failure(NewArgv, fmt, ap2); + va_end(ap2); + } + + /* Need extra copy of ap for sudo_vwarn()/sudo_vwarnx() below. */ + va_copy(ap2, ap); + + /* Log messages should be in the sudoers locale. */ + sudoers_setlocale(SUDOERS_LOCALE_SUDOERS, &oldlocale); + + /* Expand printf-style format + args. */ + len = vasprintf(&message, _(fmt), ap); + if (len == -1) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + ret = false; + goto done; + } + + if (ISSET(flags, SLOG_USE_ERRNO)) + errstr = strerror(errnum); + else if (ISSET(flags, SLOG_GAI_ERRNO)) + errstr = gai_strerror(errnum); + + /* Log to debug file. */ + if (errstr != NULL) { + sudo_debug_printf2(NULL, NULL, 0, + SUDO_DEBUG_WARN|sudo_debug_subsys, "%s: %s", message, errstr); + } else { + sudo_debug_printf2(NULL, NULL, 0, + SUDO_DEBUG_WARN|sudo_debug_subsys, "%s", message); + } + + if (ISSET(flags, SLOG_SEND_MAIL) || !ISSET(flags, SLOG_NO_LOG)) { + if (sudo_gettime_real(&now) == -1) { + sudo_warn("%s", U_("unable to get time of day")); + goto done; + } + if (ISSET(flags, SLOG_RAW_MSG)) + SET(evl_flags, EVLOG_RAW); + if (ISSET(flags, SLOG_SEND_MAIL)) { + SET(evl_flags, EVLOG_MAIL); + if (ISSET(flags, SLOG_NO_LOG)) + SET(evl_flags, EVLOG_MAIL_ONLY); + } + sudoers_to_eventlog(&evlog, safe_cmnd, NewArgv, env_get(), + sudo_user.uuid_str); + eventlog_alert(&evlog, evl_flags, &now, message, errstr); + log_server_alert(&evlog, &now, message, errstr); + } + + /* + * Tell the user (in their locale). + */ + if (!ISSET(flags, SLOG_NO_STDERR)) { + sudoers_setlocale(SUDOERS_LOCALE_USER, NULL); + if (ISSET(flags, SLOG_USE_ERRNO)) { + errno = errnum; + sudo_vwarn_nodebug(_(fmt), ap2); + } else if (ISSET(flags, SLOG_GAI_ERRNO)) { + sudo_gai_vwarn_nodebug(errnum, _(fmt), ap2); + } else { + sudo_vwarnx_nodebug(_(fmt), ap2); + } + } + +done: + va_end(ap2); + sudoers_setlocale(oldlocale, NULL); + + debug_return_bool(ret); +} + +bool +log_warning(int flags, const char *fmt, ...) +{ + va_list ap; + bool ret; + debug_decl(log_warning, SUDOERS_DEBUG_LOGGING); + + /* Log the error. */ + va_start(ap, fmt); + ret = vlog_warning(flags|SLOG_USE_ERRNO, errno, fmt, ap); + va_end(ap); + + debug_return_bool(ret); +} + +bool +log_warningx(int flags, const char *fmt, ...) +{ + va_list ap; + bool ret; + debug_decl(log_warningx, SUDOERS_DEBUG_LOGGING); + + /* Log the error. */ + va_start(ap, fmt); + ret = vlog_warning(flags, 0, fmt, ap); + va_end(ap); + + debug_return_bool(ret); +} + +bool +gai_log_warning(int flags, int errnum, const char *fmt, ...) +{ + va_list ap; + bool ret; + debug_decl(gai_log_warning, SUDOERS_DEBUG_LOGGING); + + /* Log the error. */ + va_start(ap, fmt); + ret = vlog_warning(flags|SLOG_GAI_ERRNO, errnum, fmt, ap); + va_end(ap); + + debug_return_bool(ret); +} + +/* + * Send mail about accumulated parser errors. + * Frees the list of parse errors when done. + */ +bool +mail_parse_errors(void) +{ + const int evl_flags = EVLOG_RAW; + struct parse_error *pe; + struct eventlog evlog; + char **errors = NULL; + struct timespec now; + bool ret = false; + size_t n; + debug_decl(mail_parse_errors, SUDOERS_DEBUG_LOGGING); + + if (STAILQ_EMPTY(&parse_error_list)) + debug_return_bool(true); + + if (sudo_gettime_real(&now) == -1) { + sudo_warn("%s", U_("unable to get time of day")); + goto done; + } + sudoers_to_eventlog(&evlog, safe_cmnd, NewArgv, env_get(), + sudo_user.uuid_str); + + /* Convert parse_error_list to a string vector. */ + n = 0; + STAILQ_FOREACH(pe, &parse_error_list, entries) { + n++; + } + errors = reallocarray(NULL, n + 1, sizeof(char *)); + if (errors == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + goto done; + } + n = 0; + STAILQ_FOREACH(pe, &parse_error_list, entries) { + errors[n++] = _(pe->errstr); + } + errors[n] = NULL; + + ret = eventlog_mail(&evlog, evl_flags, &now, _("problem parsing sudoers"), + NULL, errors); + +done: + free(errors); + while ((pe = STAILQ_FIRST(&parse_error_list)) != NULL) { + STAILQ_REMOVE_HEAD(&parse_error_list, entries); + free(pe->errstr); + free(pe); + } + debug_return_bool(ret); +} + +/* + * Log a parse error using log_warningx(). + * Journals the message to be mailed after parsing is complete. + * Does not write the message to stderr. + */ +bool +log_parse_error(const char *file, int line, int column, const char *fmt, + va_list args) +{ + const int flags = SLOG_RAW_MSG|SLOG_NO_STDERR; + char *tofree = NULL; + const char *errstr; + struct parse_error *pe; + bool ret; + debug_decl(log_parse_error, SUDOERS_DEBUG_LOGGING); + + if (fmt == NULL) { + errstr = _("syntax error"); + } else if (strcmp(fmt, "%s") == 0) { + /* Optimize common case, a single string. */ + errstr = _(va_arg(args, char *)); + } else { + if (vasprintf(&tofree, _(fmt), args) == -1) + debug_return_bool(false); + errstr = tofree; + } + + if (line > 0) { + ret = log_warningx(flags, N_("%s:%d:%d: %s"), file, line, column, + errstr); + } else { + ret = log_warningx(flags, N_("%s: %s"), file, errstr); + } + + /* Journal parse error for later mailing. */ + pe = malloc(sizeof(*pe)); + if (pe != NULL) { + int len; + + if (line > 0) { + len = asprintf(&pe->errstr, _("%s:%d:%d: %s"), file, line, column, + errstr); + } else { + len = asprintf(&pe->errstr, _("%s: %s"), file, errstr); + } + if (len != -1) { + STAILQ_INSERT_TAIL(&parse_error_list, pe, entries); + } else { + free(pe); + } + } + + free(tofree); + + debug_return_bool(ret); +} + +/* + * Determine whether we should send mail based on "status" and defaults options. + */ +static bool +should_mail(int status) +{ + debug_decl(should_mail, SUDOERS_DEBUG_LOGGING); + + if (!def_mailto || !def_mailerpath || access(def_mailerpath, X_OK) == -1) + debug_return_bool(false); + + debug_return_bool(def_mail_always || ISSET(status, VALIDATE_ERROR) || + (def_mail_all_cmnds && ISSET(sudo_mode, (MODE_RUN|MODE_EDIT))) || + (def_mail_no_user && ISSET(status, FLAG_NO_USER)) || + (def_mail_no_host && ISSET(status, FLAG_NO_HOST)) || + (def_mail_no_perms && !ISSET(status, VALIDATE_SUCCESS))); +} + +/* + * Build a struct eventlog from sudoers data. + * The values in the resulting eventlog struct should not be freed. + */ +void +sudoers_to_eventlog(struct eventlog *evlog, const char *cmnd, + char * const argv[], char * const envp[], const char *uuid_str) +{ + struct group *grp; + debug_decl(sudoers_to_eventlog, SUDOERS_DEBUG_LOGGING); + + /* We rely on the reference held by the group cache. */ + if ((grp = sudo_getgrgid(sudo_user.pw->pw_gid)) != NULL) + sudo_gr_delref(grp); + + memset(evlog, 0, sizeof(*evlog)); + evlog->iolog_file = sudo_user.iolog_file; + evlog->iolog_path = sudo_user.iolog_path; + evlog->command = cmnd ? (char *)cmnd : (argv ? argv[0] : NULL); + evlog->cwd = user_cwd; + if (def_runchroot != NULL && strcmp(def_runchroot, "*") != 0) { + evlog->runchroot = def_runchroot; + } + if (def_runcwd && strcmp(def_runcwd, "*") != 0) { + evlog->runcwd = def_runcwd; + } else if (ISSET(sudo_mode, MODE_LOGIN_SHELL) && runas_pw != NULL) { + evlog->runcwd = runas_pw->pw_dir; + } else { + evlog->runcwd = user_cwd; + } + evlog->rungroup = runas_gr ? runas_gr->gr_name : sudo_user.runas_group; + evlog->submithost = user_host; + evlog->submituser = user_name; + if (grp != NULL) + evlog->submitgroup = grp->gr_name; + evlog->ttyname = user_ttypath; + evlog->argv = (char **)argv; + evlog->env_add = (char **)sudo_user.env_vars; + evlog->envp = (char **)envp; + evlog->submit_time = sudo_user.submit_time; + evlog->lines = sudo_user.lines; + evlog->columns = sudo_user.cols; + if (runas_pw != NULL) { + evlog->rungid = runas_pw->pw_gid; + evlog->runuid = runas_pw->pw_uid; + evlog->runuser = runas_pw->pw_name; + } else { + evlog->rungid = (gid_t)-1; + evlog->runuid = (uid_t)-1; + evlog->runuser = sudo_user.runas_user; + } + if (uuid_str == NULL) { + unsigned char uuid[16]; + + sudo_uuid_create(uuid); + if (sudo_uuid_to_string(uuid, evlog->uuid_str, sizeof(evlog->uuid_str)) == NULL) + sudo_warnx("%s", U_("unable to generate UUID")); + } else { + strlcpy(evlog->uuid_str, uuid_str, sizeof(evlog->uuid_str)); + } + if (ISSET(sudo_mode, MODE_POLICY_INTERCEPTED)) { + struct timespec now; + if (sudo_gettime_real(&now) == -1) { + sudo_warn("%s", U_("unable to get time of day")); + } else { + sudo_timespecsub(&now, &sudo_user.submit_time, &evlog->iolog_offset); + } + } + + debug_return; +} + +static FILE * +sudoers_log_open(int type, const char *log_file) +{ + const char *omode; + bool uid_changed; + FILE *fp = NULL; + mode_t oldmask; + int fd, flags; + debug_decl(sudoers_log_open, SUDOERS_DEBUG_LOGGING); + + switch (type) { + case EVLOG_SYSLOG: + openlog("sudo", def_syslog_pid ? LOG_PID : 0, def_syslog); + break; + case EVLOG_FILE: + /* Open log file as root, mode 0600 (cannot append to JSON). */ + if (def_log_format == json) { + flags = O_RDWR|O_CREAT; + omode = "w"; + } else { + flags = O_WRONLY|O_APPEND|O_CREAT; + omode = "a"; + } + oldmask = umask(S_IRWXG|S_IRWXO); + uid_changed = set_perms(PERM_ROOT); + fd = open(log_file, flags, S_IRUSR|S_IWUSR); + if (uid_changed && !restore_perms()) { + if (fd != -1) { + close(fd); + fd = -1; + } + } + (void) umask(oldmask); + if (fd == -1 || (fp = fdopen(fd, omode)) == NULL) { + if (!warned) { + warned = true; + log_warning(SLOG_SEND_MAIL|SLOG_NO_LOG, + N_("unable to open log file %s"), log_file); + } + if (fd != -1) + close(fd); + } + break; + default: + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "unsupported log type %d", type); + break; + } + + debug_return_ptr(fp); +} + +static void +sudoers_log_close(int type, FILE *fp) +{ + debug_decl(sudoers_log_close, SUDOERS_DEBUG_LOGGING); + + switch (type) { + case EVLOG_SYSLOG: + break; + case EVLOG_FILE: + if (fp == NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "tried to close NULL log stream"); + break; + } + (void)fflush(fp); + if (ferror(fp) && !warned) { + warned = true; + log_warning(SLOG_SEND_MAIL|SLOG_NO_LOG, + N_("unable to write log file: %s"), def_logfile); + } + fclose(fp); + break; + default: + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "unsupported log type %d", type); + break; + } + + debug_return; +} + +void +init_eventlog_config(void) +{ + int logtype = 0; + debug_decl(init_eventlog_config, SUDOERS_DEBUG_LOGGING); + + if (def_syslog) + logtype |= EVLOG_SYSLOG; + if (def_logfile) + logtype |= EVLOG_FILE; + + eventlog_set_type(logtype); + eventlog_set_format(def_log_format == sudo ? EVLOG_SUDO : EVLOG_JSON); + eventlog_set_syslog_acceptpri(def_syslog_goodpri); + eventlog_set_syslog_rejectpri(def_syslog_badpri); + eventlog_set_syslog_alertpri(def_syslog_badpri); + eventlog_set_syslog_maxlen(def_syslog_maxlen); + eventlog_set_file_maxlen(def_loglinelen); + eventlog_set_mailuid(ROOT_UID); + eventlog_set_omit_hostname(!def_log_host); + eventlog_set_logpath(def_logfile); + eventlog_set_time_fmt(def_log_year ? "%h %e %T %Y" : "%h %e %T"); + eventlog_set_mailerpath(def_mailerpath); + eventlog_set_mailerflags(def_mailerflags); + eventlog_set_mailfrom(def_mailfrom); + eventlog_set_mailto(def_mailto); + eventlog_set_mailsub(def_mailsub); + eventlog_set_open_log(sudoers_log_open); + eventlog_set_close_log(sudoers_log_close); + + debug_return; +} diff --git a/plugins/sudoers/logging.h b/plugins/sudoers/logging.h new file mode 100644 index 0000000..43e5a40 --- /dev/null +++ b/plugins/sudoers/logging.h @@ -0,0 +1,95 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1999-2005, 2009-2022 + * Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#ifndef SUDOERS_LOGGING_H +#define SUDOERS_LOGGING_H + +#include + +struct sudoers_str_list; +struct log_details { + struct eventlog *evlog; + struct sudoers_str_list *log_servers; + struct timespec server_timeout; +# if defined(HAVE_OPENSSL) + char *ca_bundle; + char *cert_file; + char *key_file; +# endif /* HAVE_OPENSSL */ + bool keepalive; + bool verify_server; + bool ignore_log_errors; +}; + +/* + * Values for sudoers_setlocale() + */ +#define SUDOERS_LOCALE_USER 0 +#define SUDOERS_LOCALE_SUDOERS 1 + +/* Logging types */ +#define SLOG_SYSLOG 0x01 +#define SLOG_FILE 0x02 +#define SLOG_BOTH 0x03 + +/* Flags for log_warning()/log_warningx() */ +#define SLOG_USE_ERRNO 0x01 /* internal use only */ +#define SLOG_GAI_ERRNO 0x02 /* internal use only */ +#define SLOG_RAW_MSG 0x04 /* do not format msg before logging */ +#define SLOG_SEND_MAIL 0x08 /* log via mail */ +#define SLOG_NO_STDERR 0x10 /* do not log via stderr */ +#define SLOG_NO_LOG 0x20 /* do not log via file or syslog */ +#define SLOG_AUDIT 0x40 /* send message to audit as well */ + +typedef bool (*sudoers_logger_t)(const char *file, int line, int column, const char *fmt, va_list args); + +/* XXX - needed for auditing */ +extern int NewArgc; +extern char **NewArgv; +extern char **saved_argv; +extern char *audit_msg; + +union sudo_defs_val; +struct sudo_plugin_event; +struct log_details; + +bool sudoers_warn_setlocale(bool restore, int *cookie); +bool sudoers_setlocale(int locale_type, int *prev_locale); +int sudoers_getlocale(void); +int audit_failure(char *const argv[], char const *const fmt, ...) sudo_printflike(2, 3); +int vaudit_failure(char *const argv[], char const *const fmt, va_list ap) sudo_printflike(2, 0); +bool log_allowed(struct eventlog *evlog); +bool log_exit_status(int exit_status); +bool log_auth_failure(int status, unsigned int tries); +bool log_denial(int status, bool inform_user); +bool log_failure(int status, int flags); +bool log_server_alert(struct eventlog *evlog, struct timespec *now, const char *message, const char *errstr); +bool log_server_reject(struct eventlog *evlog, const char *message); +bool log_warning(int flags, const char *fmt, ...) sudo_printflike(2, 3); +bool log_warningx(int flags, const char *fmt, ...) sudo_printflike(2, 3); +bool gai_log_warning(int flags, int errnum, const char *fmt, ...) sudo_printflike(3, 4); +bool sudoers_initlocale(const char *ulocale, const char *slocale); +bool sudoers_locale_callback(const char *file, int line, int column, const union sudo_defs_val *sd_un, int op); +void sudoers_to_eventlog(struct eventlog *evlog, const char *cmnd, char * const argv[], char *const envp[], const char *uuid_str); +void init_eventlog_config(void); +bool init_log_details(struct log_details *details, struct eventlog *evlog); +bool log_parse_error(const char *file, int line, int column, const char *fmt, va_list ap) sudo_printf0like(4, 0); +bool mail_parse_errors(void); + +#endif /* SUDOERS_LOGGING_H */ diff --git a/plugins/sudoers/match.c b/plugins/sudoers/match.c new file mode 100644 index 0000000..445bdb2 --- /dev/null +++ b/plugins/sudoers/match.c @@ -0,0 +1,709 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1996, 1998-2005, 2007-2023 + * Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Sponsored in part by the Defense Advanced Research Projects + * Agency (DARPA) and Air Force Research Laboratory, Air Force + * Materiel Command, USAF, under agreement number F39502-99-1-0512. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#ifdef HAVE_SYS_SYSTEMINFO_H +# include +#endif +#include +#include +#include +#ifdef HAVE_STRINGS_H +# include +#endif /* HAVE_STRINGS_H */ +#include +#ifdef HAVE_NETGROUP_H +# include +#else +# include +#endif /* HAVE_NETGROUP_H */ +#include +#include +#include +#include +#include +#ifdef HAVE_FNMATCH +# include +#else +# include "compat/fnmatch.h" +#endif /* HAVE_FNMATCH */ + +#include "sudoers.h" +#include + +static struct member_list empty = TAILQ_HEAD_INITIALIZER(empty); + +/* + * Check whether user described by pw matches member. + * Returns ALLOW, DENY or UNSPEC. + */ +int +user_matches(struct sudoers_parse_tree *parse_tree, const struct passwd *pw, + const struct member *m) +{ + const char *lhost = parse_tree->lhost ? parse_tree->lhost : user_runhost; + const char *shost = parse_tree->shost ? parse_tree->shost : user_srunhost; + int matched = UNSPEC; + struct alias *a; + debug_decl(user_matches, SUDOERS_DEBUG_MATCH); + + switch (m->type) { + case ALL: + matched = !m->negated; + break; + case NETGROUP: + if (netgr_matches(m->name, + def_netgroup_tuple ? lhost : NULL, + def_netgroup_tuple ? shost : NULL, pw->pw_name)) + matched = !m->negated; + break; + case USERGROUP: + if (usergr_matches(m->name, pw->pw_name, pw)) + matched = !m->negated; + break; + case ALIAS: + if ((a = alias_get(parse_tree, m->name, USERALIAS)) != NULL) { + /* XXX */ + int rc = userlist_matches(parse_tree, pw, &a->members); + if (rc != UNSPEC) + matched = m->negated ? !rc : rc; + alias_put(a); + break; + } + FALLTHROUGH; + case WORD: + if (userpw_matches(m->name, pw->pw_name, pw)) + matched = !m->negated; + break; + } + debug_return_int(matched); +} + +/* + * Check for user described by pw in a list of members. + * Returns ALLOW, DENY or UNSPEC. + */ +int +userlist_matches(struct sudoers_parse_tree *parse_tree, const struct passwd *pw, + const struct member_list *list) +{ + struct member *m; + int matched = UNSPEC; + debug_decl(userlist_matches, SUDOERS_DEBUG_MATCH); + + TAILQ_FOREACH_REVERSE(m, list, member_list, entries) { + if ((matched = user_matches(parse_tree, pw, m)) != UNSPEC) + break; + } + debug_return_int(matched); +} + +struct gid_list * +runas_getgroups(void) +{ + const struct passwd *pw; + debug_decl(runas_getgroups, SUDOERS_DEBUG_MATCH); + + if (def_preserve_groups) { + sudo_gidlist_addref(user_gid_list); + debug_return_ptr(user_gid_list); + } + + /* Only use results from a group db query, not the front end. */ + pw = runas_pw ? runas_pw : sudo_user.pw; + debug_return_ptr(sudo_get_gidlist(pw, ENTRY_TYPE_QUERIED)); +} + +/* + * Check for user described by pw in a list of members. + * If both lists are empty compare against def_runas_default. + * Returns ALLOW, DENY or UNSPEC. + */ +int +runaslist_matches(struct sudoers_parse_tree *parse_tree, + const struct member_list *user_list, const struct member_list *group_list, + struct member **matching_user, struct member **matching_group) +{ + const char *lhost = parse_tree->lhost ? parse_tree->lhost : user_runhost; + const char *shost = parse_tree->shost ? parse_tree->shost : user_srunhost; + int user_matched = UNSPEC; + int group_matched = UNSPEC; + struct member *m; + struct alias *a; + int rc; + debug_decl(runaslist_matches, SUDOERS_DEBUG_MATCH); + + if (ISSET(sudo_user.flags, RUNAS_USER_SPECIFIED) || !ISSET(sudo_user.flags, RUNAS_GROUP_SPECIFIED)) { + /* If no runas user or runas group listed in sudoers, use default. */ + if (user_list == NULL && group_list == NULL) { + debug_return_int(userpw_matches(def_runas_default, + runas_pw->pw_name, runas_pw)); + } + + if (user_list != NULL) { + TAILQ_FOREACH_REVERSE(m, user_list, member_list, entries) { + switch (m->type) { + case ALL: + user_matched = !m->negated; + break; + case NETGROUP: + if (netgr_matches(m->name, + def_netgroup_tuple ? lhost : NULL, + def_netgroup_tuple ? shost : NULL, + runas_pw->pw_name)) + user_matched = !m->negated; + break; + case USERGROUP: + if (usergr_matches(m->name, runas_pw->pw_name, runas_pw)) + user_matched = !m->negated; + break; + case ALIAS: + a = alias_get(parse_tree, m->name, RUNASALIAS); + if (a != NULL) { + rc = runaslist_matches(parse_tree, &a->members, + &empty, matching_user, NULL); + if (rc != UNSPEC) + user_matched = m->negated ? !rc : rc; + alias_put(a); + break; + } + FALLTHROUGH; + case WORD: + if (userpw_matches(m->name, runas_pw->pw_name, runas_pw)) + user_matched = !m->negated; + break; + case MYSELF: + if (!ISSET(sudo_user.flags, RUNAS_USER_SPECIFIED) || + strcmp(user_name, runas_pw->pw_name) == 0) + user_matched = !m->negated; + break; + } + if (user_matched != UNSPEC) { + if (matching_user != NULL && m->type != ALIAS) + *matching_user = m; + break; + } + } + } + } + + /* + * Skip checking runas group if none was specified. + */ + if (ISSET(sudo_user.flags, RUNAS_GROUP_SPECIFIED)) { + if (user_matched == UNSPEC) { + if (strcmp(user_name, runas_pw->pw_name) == 0) + user_matched = ALLOW; /* only changing group */ + } + if (group_list != NULL) { + TAILQ_FOREACH_REVERSE(m, group_list, member_list, entries) { + switch (m->type) { + case ALL: + group_matched = !m->negated; + break; + case ALIAS: + a = alias_get(parse_tree, m->name, RUNASALIAS); + if (a != NULL) { + rc = runaslist_matches(parse_tree, &empty, + &a->members, NULL, matching_group); + if (rc != UNSPEC) + group_matched = m->negated ? !rc : rc; + alias_put(a); + break; + } + FALLTHROUGH; + case WORD: + if (group_matches(m->name, runas_gr)) + group_matched = !m->negated; + break; + } + if (group_matched != UNSPEC) { + if (matching_group != NULL && m->type != ALIAS) + *matching_group = m; + break; + } + } + } + if (group_matched == UNSPEC) { + struct gid_list *runas_groups; + /* + * The runas group was not explicitly allowed by sudoers. + * Check whether it is one of the target user's groups. + */ + if (runas_pw->pw_gid == runas_gr->gr_gid) { + group_matched = ALLOW; /* runas group matches passwd db */ + } else if ((runas_groups = runas_getgroups()) != NULL) { + int i; + + for (i = 0; i < runas_groups->ngids; i++) { + if (runas_groups->gids[i] == runas_gr->gr_gid) { + group_matched = ALLOW; /* matched aux group vector */ + break; + } + } + sudo_gidlist_delref(runas_groups); + } + } + } + + if (user_matched == DENY || group_matched == DENY) + debug_return_int(DENY); + if (user_matched == group_matched || runas_gr == NULL) + debug_return_int(user_matched); + debug_return_int(UNSPEC); +} + +/* + * Check for lhost and shost in a list of members. + * Returns ALLOW, DENY or UNSPEC. + */ +static int +hostlist_matches_int(struct sudoers_parse_tree *parse_tree, + const struct passwd *pw, const char *lhost, const char *shost, + const struct member_list *list) +{ + struct member *m; + int matched = UNSPEC; + debug_decl(hostlist_matches, SUDOERS_DEBUG_MATCH); + + TAILQ_FOREACH_REVERSE(m, list, member_list, entries) { + matched = host_matches(parse_tree, pw, lhost, shost, m); + if (matched != UNSPEC) + break; + } + debug_return_int(matched); +} + +/* + * Check for user_runhost and user_srunhost in a list of members. + * Returns ALLOW, DENY or UNSPEC. + */ +int +hostlist_matches(struct sudoers_parse_tree *parse_tree, const struct passwd *pw, + const struct member_list *list) +{ + const char *lhost = parse_tree->lhost ? parse_tree->lhost : user_runhost; + const char *shost = parse_tree->shost ? parse_tree->shost : user_srunhost; + + return hostlist_matches_int(parse_tree, pw, lhost, shost, list); +} + +/* + * Check whether host or shost matches member. + * Returns ALLOW, DENY or UNSPEC. + */ +int +host_matches(struct sudoers_parse_tree *parse_tree, const struct passwd *pw, + const char *lhost, const char *shost, const struct member *m) +{ + struct alias *a; + int matched = UNSPEC; + debug_decl(host_matches, SUDOERS_DEBUG_MATCH); + + switch (m->type) { + case ALL: + matched = !m->negated; + break; + case NETGROUP: + if (netgr_matches(m->name, lhost, shost, + def_netgroup_tuple ? pw->pw_name : NULL)) + matched = !m->negated; + break; + case NTWKADDR: + if (addr_matches(m->name)) + matched = !m->negated; + break; + case ALIAS: + a = alias_get(parse_tree, m->name, HOSTALIAS); + if (a != NULL) { + /* XXX */ + int rc = hostlist_matches_int(parse_tree, pw, lhost, shost, + &a->members); + if (rc != UNSPEC) + matched = m->negated ? !rc : rc; + alias_put(a); + break; + } + FALLTHROUGH; + case WORD: + if (hostname_matches(shost, lhost, m->name)) + matched = !m->negated; + break; + } + sudo_debug_printf(SUDO_DEBUG_DEBUG, + "host %s (%s) matches sudoers host %s%s: %s", lhost, shost, + m->negated ? "!" : "", m->name ? m->name : "ALL", + matched == true ? "true" : "false"); + debug_return_int(matched); +} + +/* + * Check for cmnd and args in a list of members. + * Returns ALLOW, DENY or UNSPEC. + */ +int +cmndlist_matches(struct sudoers_parse_tree *parse_tree, + const struct member_list *list, const char *runchroot, + struct cmnd_info *info) +{ + struct member *m; + int matched = UNSPEC; + debug_decl(cmndlist_matches, SUDOERS_DEBUG_MATCH); + + TAILQ_FOREACH_REVERSE(m, list, member_list, entries) { + matched = cmnd_matches(parse_tree, m, runchroot, info); + if (matched != UNSPEC) + break; + } + debug_return_int(matched); +} + +/* + * Check cmnd and args. + * Returns ALLOW, DENY or UNSPEC. + */ +int +cmnd_matches(struct sudoers_parse_tree *parse_tree, const struct member *m, + const char *runchroot, struct cmnd_info *info) +{ + struct alias *a; + struct sudo_command *c; + int rc, matched = UNSPEC; + debug_decl(cmnd_matches, SUDOERS_DEBUG_MATCH); + + switch (m->type) { + case ALL: + case COMMAND: + c = (struct sudo_command *)m->name; + if (command_matches(c->cmnd, c->args, runchroot, info, &c->digests)) + matched = !m->negated; + break; + case ALIAS: + a = alias_get(parse_tree, m->name, CMNDALIAS); + if (a != NULL) { + rc = cmndlist_matches(parse_tree, &a->members, runchroot, info); + if (rc != UNSPEC) + matched = m->negated ? !rc : rc; + alias_put(a); + } + break; + } + debug_return_int(matched); +} + +/* + * Like cmnd_matches() but only matches against the ALL command. + * Returns ALLOW, DENY or UNSPEC. + */ +int +cmnd_matches_all(struct sudoers_parse_tree *parse_tree, const struct member *m, + const char *runchroot, struct cmnd_info *info) +{ + const bool negated = m->negated; + struct sudo_command *c; + int matched = UNSPEC; + struct alias *a; + debug_decl(cmnd_matches_all, SUDOERS_DEBUG_MATCH); + + switch (m->type) { + case ALL: + c = (struct sudo_command *)m->name; + if (command_matches(c->cmnd, c->args, runchroot, info, &c->digests)) + matched = !negated; + break; + case ALIAS: + a = alias_get(parse_tree, m->name, CMNDALIAS); + if (a != NULL) { + TAILQ_FOREACH_REVERSE(m, &a->members, member_list, entries) { + matched = cmnd_matches_all(parse_tree, m, runchroot, info); + if (matched != UNSPEC) { + if (negated) + matched = !matched; + break; + } + } + alias_put(a); + } + break; + } + debug_return_int(matched); +} + +/* + * Returns true if the hostname matches the pattern, else false + */ +bool +hostname_matches(const char *shost, const char *lhost, const char *pattern) +{ + const char *host; + bool rc; + debug_decl(hostname_matches, SUDOERS_DEBUG_MATCH); + + host = strchr(pattern, '.') != NULL ? lhost : shost; + if (has_meta(pattern)) { + rc = !fnmatch(pattern, host, FNM_CASEFOLD); + } else { + rc = !strcasecmp(host, pattern); + } + debug_return_bool(rc); +} + +/* + * Returns true if the user/uid from sudoers matches the specified user/uid, + * else returns false. + */ +bool +userpw_matches(const char *sudoers_user, const char *user, const struct passwd *pw) +{ + const char *errstr; + uid_t uid; + bool rc; + debug_decl(userpw_matches, SUDOERS_DEBUG_MATCH); + + if (pw != NULL && *sudoers_user == '#') { + uid = (uid_t) sudo_strtoid(sudoers_user + 1, &errstr); + if (errstr == NULL && uid == pw->pw_uid) { + rc = true; + goto done; + } + } + if (def_case_insensitive_user) + rc = strcasecmp(sudoers_user, user) == 0; + else + rc = strcmp(sudoers_user, user) == 0; +done: + sudo_debug_printf(SUDO_DEBUG_DEBUG|SUDO_DEBUG_LINENO, + "user %s matches sudoers user %s: %s", + user, sudoers_user, rc ? "true" : "false"); + debug_return_bool(rc); +} + +/* + * Returns true if the group/gid from sudoers matches the specified group/gid, + * else returns false. + */ +bool +group_matches(const char *sudoers_group, const struct group *gr) +{ + const char *errstr; + gid_t gid; + bool rc; + debug_decl(group_matches, SUDOERS_DEBUG_MATCH); + + if (*sudoers_group == '#') { + gid = (gid_t) sudo_strtoid(sudoers_group + 1, &errstr); + if (errstr == NULL && gid == gr->gr_gid) { + rc = true; + goto done; + } + } + if (def_case_insensitive_group) + rc = strcasecmp(sudoers_group, gr->gr_name) == 0; + else + rc = strcmp(sudoers_group, gr->gr_name) == 0; +done: + sudo_debug_printf(SUDO_DEBUG_DEBUG|SUDO_DEBUG_LINENO, + "group %s matches sudoers group %s: %s", + gr->gr_name, sudoers_group, rc ? "true" : "false"); + debug_return_bool(rc); +} + +/* + * Returns true if the given user belongs to the named group, + * else returns false. + */ +bool +usergr_matches(const char *group, const char *user, const struct passwd *pw) +{ + bool matched = false; + struct passwd *pw0 = NULL; + debug_decl(usergr_matches, SUDOERS_DEBUG_MATCH); + + /* Make sure we have a valid usergroup, sudo style */ + if (*group++ != '%') { + sudo_debug_printf(SUDO_DEBUG_DIAG, "user group %s has no leading '%%'", + group); + goto done; + } + + /* Query group plugin for %:name groups. */ + if (*group == ':' && def_group_plugin) { + if (group_plugin_query(user, group + 1, pw) == true) + matched = true; + goto done; + } + + /* Look up user's primary gid in the passwd file. */ + if (pw == NULL) { + if ((pw0 = sudo_getpwnam(user)) == NULL) { + sudo_debug_printf(SUDO_DEBUG_DIAG, "unable to find %s in passwd db", + user); + goto done; + } + pw = pw0; + } + + if (user_in_group(pw, group)) { + matched = true; + goto done; + } + + /* Query the group plugin for Unix groups too? */ + if (def_group_plugin && def_always_query_group_plugin) { + if (group_plugin_query(user, group, pw) == true) { + matched = true; + goto done; + } + } + +done: + if (pw0 != NULL) + sudo_pw_delref(pw0); + + sudo_debug_printf(SUDO_DEBUG_DEBUG|SUDO_DEBUG_LINENO, + "user %s matches group %s: %s", user, group, matched ? "true" : "false"); + debug_return_bool(matched); +} + +#if defined(HAVE_GETDOMAINNAME) || defined(SI_SRPC_DOMAIN) +/* + * Check the domain for invalid characters. + * Linux getdomainname(2) returns (none) if no domain is set. + */ +static bool +valid_domain(const char *domain) +{ + const char *cp; + debug_decl(valid_domain, SUDOERS_DEBUG_MATCH); + + for (cp = domain; *cp != '\0'; cp++) { + /* Check for illegal characters, Linux may use "(none)". */ + if (*cp == '(' || *cp == ')' || *cp == ',' || *cp == ' ') + break; + } + if (cp == domain || *cp != '\0') + debug_return_bool(false); + debug_return_bool(true); +} + +/* + * Get NIS-style domain name and copy from static storage or NULL if none. + */ +const char * +sudo_getdomainname(void) +{ + static char *domain; + static bool initialized; + debug_decl(sudo_getdomainname, SUDOERS_DEBUG_MATCH); + + if (!initialized) { + size_t host_name_max; + int rc; + +# ifdef _SC_HOST_NAME_MAX + host_name_max = (size_t)sysconf(_SC_HOST_NAME_MAX); + if (host_name_max == (size_t)-1) +# endif + host_name_max = 255; /* POSIX and historic BSD */ + + domain = malloc(host_name_max + 1); + if (domain != NULL) { + domain[0] = '\0'; +# ifdef SI_SRPC_DOMAIN + rc = sysinfo(SI_SRPC_DOMAIN, domain, host_name_max + 1); +# else + rc = getdomainname(domain, host_name_max + 1); +# endif + if (rc == -1 || !valid_domain(domain)) { + /* Error or invalid domain name. */ + free(domain); + domain = NULL; + } + } else { + /* XXX - want to pass error back to caller */ + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "unable to allocate memory"); + } + initialized = true; + } + debug_return_str(domain); +} +#else +const char * +sudo_getdomainname(void) +{ + debug_decl(sudo_getdomainname, SUDOERS_DEBUG_MATCH); + debug_return_ptr(NULL); +} +#endif /* HAVE_GETDOMAINNAME || SI_SRPC_DOMAIN */ + +/* + * Returns true if "host" and "user" belong to the netgroup "netgr", + * else return false. Either of "lhost", "shost" or "user" may be NULL + * in which case that argument is not checked... + */ +bool +netgr_matches(const char *netgr, const char *lhost, const char *shost, const char *user) +{ +#ifdef HAVE_INNETGR + const char *domain; +#endif + bool rc = false; + debug_decl(netgr_matches, SUDOERS_DEBUG_MATCH); + + if (!def_use_netgroups) { + sudo_debug_printf(SUDO_DEBUG_INFO, "netgroups are disabled"); + debug_return_bool(false); + } + +#ifdef HAVE_INNETGR + /* make sure we have a valid netgroup, sudo style */ + if (*netgr++ != '+') { + sudo_debug_printf(SUDO_DEBUG_DIAG, "netgroup %s has no leading '+'", + netgr); + debug_return_bool(false); + } + + /* get the domain name (if any) */ + domain = sudo_getdomainname(); + + if (innetgr(netgr, lhost, user, domain)) + rc = true; + else if (lhost != shost && innetgr(netgr, shost, user, domain)) + rc = true; + + sudo_debug_printf(SUDO_DEBUG_DEBUG|SUDO_DEBUG_LINENO, + "netgroup %s matches (%s|%s, %s, %s): %s", netgr, lhost ? lhost : "", + shost ? shost : "", user ? user : "", domain ? domain : "", + rc ? "true" : "false"); +#endif /* HAVE_INNETGR */ + + debug_return_bool(rc); +} diff --git a/plugins/sudoers/match_addr.c b/plugins/sudoers/match_addr.c new file mode 100644 index 0000000..714c41c --- /dev/null +++ b/plugins/sudoers/match_addr.c @@ -0,0 +1,208 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1996, 1998-2005, 2007-2015 + * Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Sponsored in part by the Defense Advanced Research Projects + * Agency (DARPA) and Air Force Research Laboratory, Air Force + * Materiel Command, USAF, under agreement number F39502-99-1-0512. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#ifdef NEED_RESOLV_H +# include +# include +#endif /* NEED_RESOLV_H */ + +#include "sudoers.h" +#include "interfaces.h" + +static bool +addr_matches_if(const char *n) +{ + union sudo_in_addr_un addr; + struct interface *ifp; +#ifdef HAVE_STRUCT_IN6_ADDR + unsigned int j; +#endif + unsigned int family; + debug_decl(addr_matches_if, SUDOERS_DEBUG_MATCH); + +#ifdef HAVE_STRUCT_IN6_ADDR + if (inet_pton(AF_INET6, n, &addr.ip6) == 1) { + family = AF_INET6; + } else +#endif /* HAVE_STRUCT_IN6_ADDR */ + if (inet_pton(AF_INET, n, &addr.ip4) == 1) { + family = AF_INET; + } else { + debug_return_bool(false); + } + + SLIST_FOREACH(ifp, get_interfaces(), entries) { + if (ifp->family != family) + continue; + switch (family) { + case AF_INET: + if (ifp->addr.ip4.s_addr == addr.ip4.s_addr || + (ifp->addr.ip4.s_addr & ifp->netmask.ip4.s_addr) + == addr.ip4.s_addr) + debug_return_bool(true); + break; +#ifdef HAVE_STRUCT_IN6_ADDR + case AF_INET6: + if (memcmp(ifp->addr.ip6.s6_addr, addr.ip6.s6_addr, + sizeof(addr.ip6.s6_addr)) == 0) + debug_return_bool(true); + for (j = 0; j < sizeof(addr.ip6.s6_addr); j++) { + if ((ifp->addr.ip6.s6_addr[j] & ifp->netmask.ip6.s6_addr[j]) != addr.ip6.s6_addr[j]) + break; + } + if (j == sizeof(addr.ip6.s6_addr)) + debug_return_bool(true); + break; +#endif /* HAVE_STRUCT_IN6_ADDR */ + } + } + + debug_return_bool(false); +} + +static bool +addr_matches_if_netmask(const char *n, const char *m) +{ + unsigned int i; + union sudo_in_addr_un addr, mask; + struct interface *ifp; +#ifdef HAVE_STRUCT_IN6_ADDR + unsigned int j; +#endif + unsigned int family; + const char *errstr; + debug_decl(addr_matches_if, SUDOERS_DEBUG_MATCH); + +#ifdef HAVE_STRUCT_IN6_ADDR + if (inet_pton(AF_INET6, n, &addr.ip6) == 1) + family = AF_INET6; + else +#endif /* HAVE_STRUCT_IN6_ADDR */ + if (inet_pton(AF_INET, n, &addr.ip4) == 1) { + family = AF_INET; + } else { + debug_return_bool(false); + } + + if (family == AF_INET) { + if (strchr(m, '.')) { + if (inet_pton(AF_INET, m, &mask.ip4) != 1) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "IPv4 netmask %s: %s", m, "invalid value"); + debug_return_bool(false); + } + } else { + i = sudo_strtonum(m, 1, 32, &errstr); + if (errstr != NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "IPv4 netmask %s: %s", m, errstr); + debug_return_bool(false); + } + mask.ip4.s_addr = htonl(0xffffffffU << (32 - i)); + } + addr.ip4.s_addr &= mask.ip4.s_addr; + } +#ifdef HAVE_STRUCT_IN6_ADDR + else { + if (inet_pton(AF_INET6, m, &mask.ip6) != 1) { + j = sudo_strtonum(m, 1, 128, &errstr); + if (errstr != NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "IPv6 netmask %s: %s", m, errstr); + debug_return_bool(false); + } + for (i = 0; i < sizeof(addr.ip6.s6_addr); i++) { + if (j < i * 8) + mask.ip6.s6_addr[i] = 0; + else if (i * 8 + 8 <= j) + mask.ip6.s6_addr[i] = 0xff; + else + mask.ip6.s6_addr[i] = 0xff00 >> (j - i * 8); + addr.ip6.s6_addr[i] &= mask.ip6.s6_addr[i]; + } + } + } +#endif /* HAVE_STRUCT_IN6_ADDR */ + + SLIST_FOREACH(ifp, get_interfaces(), entries) { + if (ifp->family != family) + continue; + switch (family) { + case AF_INET: + if ((ifp->addr.ip4.s_addr & mask.ip4.s_addr) == addr.ip4.s_addr) + debug_return_bool(true); + break; +#ifdef HAVE_STRUCT_IN6_ADDR + case AF_INET6: + for (j = 0; j < sizeof(addr.ip6.s6_addr); j++) { + if ((ifp->addr.ip6.s6_addr[j] & mask.ip6.s6_addr[j]) != addr.ip6.s6_addr[j]) + break; + } + if (j == sizeof(addr.ip6.s6_addr)) + debug_return_bool(true); + break; +#endif /* HAVE_STRUCT_IN6_ADDR */ + } + } + + debug_return_bool(false); +} + +/* + * Returns true if "n" is one of our ip addresses or if + * "n" is a network that we are on, else returns false. + */ +bool +addr_matches(char *n) +{ + char *m; + bool rc; + debug_decl(addr_matches, SUDOERS_DEBUG_MATCH); + + /* If there's an explicit netmask, use it. */ + if ((m = strchr(n, '/'))) { + *m++ = '\0'; + rc = addr_matches_if_netmask(n, m); + *(m - 1) = '/'; + } else + rc = addr_matches_if(n); + + sudo_debug_printf(SUDO_DEBUG_DEBUG|SUDO_DEBUG_LINENO, + "IP address %s matches local host: %s", n, rc ? "true" : "false"); + debug_return_bool(rc); +} diff --git a/plugins/sudoers/match_command.c b/plugins/sudoers/match_command.c new file mode 100644 index 0000000..884e3d1 --- /dev/null +++ b/plugins/sudoers/match_command.c @@ -0,0 +1,903 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1996, 1998-2005, 2007-2022 + * Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Sponsored in part by the Defense Advanced Research Projects + * Agency (DARPA) and Air Force Research Laboratory, Air Force + * Materiel Command, USAF, under agreement number F39502-99-1-0512. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include +#include +#include +#ifndef SUDOERS_NAME_MATCH +# ifdef HAVE_GLOB +# include +# else +# include "compat/glob.h" +# endif /* HAVE_GLOB */ +#endif /* SUDOERS_NAME_MATCH */ +#include +#include +#include +#ifdef HAVE_FNMATCH +# include +#else +# include "compat/fnmatch.h" +#endif /* HAVE_FNMATCH */ +#include + +#include "sudoers.h" +#include + +#if !defined(O_EXEC) && defined(O_PATH) +# define O_EXEC O_PATH +#endif + +static bool +regex_matches(const char *pattern, const char *str) +{ + const char *errstr; + int errcode; + regex_t re; + debug_decl(regex_matches, SUDOERS_DEBUG_MATCH); + + if (!sudo_regex_compile(&re, pattern, &errstr)) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "unable to compile regular expression \"%s\": %s", + pattern, errstr); + debug_return_bool(false); + } + + errcode = regexec(&re, str, 0, NULL, 0); + regfree(&re); + + debug_return_bool(errcode == 0); +} + +static bool +command_args_match(const char *sudoers_cmnd, const char *sudoers_args) +{ + const char *args = user_args ? user_args : ""; + int flags = 0; + debug_decl(command_args_match, SUDOERS_DEBUG_MATCH); + + /* + * If no args specified in sudoers, any user args are allowed. + * If the empty string is specified in sudoers, no user args are allowed. + */ + if (sudoers_args == NULL) + debug_return_bool(true); + if (strcmp("\"\"", sudoers_args) == 0) + debug_return_bool(user_args ? false : true); + + /* + * If args are specified in sudoers, they must match the user args. + * Args are matched either as a regular expression or glob pattern. + */ + if (sudoers_args[0] == '^') { + size_t len = strlen(sudoers_args); + if (len > 0 && sudoers_args[len - 1] == '$') + debug_return_bool(regex_matches(sudoers_args, args)); + } + + /* If running as sudoedit, all args are assumed to be paths. */ + if (strcmp(sudoers_cmnd, "sudoedit") == 0) + flags = FNM_PATHNAME; + debug_return_bool(fnmatch(sudoers_args, args, flags) == 0); +} + +#ifndef SUDOERS_NAME_MATCH +/* + * Stat file by fd is possible, else by path. + * Returns true on success, else false. + */ +static bool +do_stat(int fd, const char *path, const char *runchroot, struct stat *sb) +{ + char pathbuf[PATH_MAX]; + bool ret; + debug_decl(do_stat, SUDOERS_DEBUG_MATCH); + + if (fd != -1) { + ret = fstat(fd, sb) == 0; + } else { + /* Make path relative to the new root, if any. */ + if (runchroot != NULL) { + const int len = + snprintf(pathbuf, sizeof(pathbuf), "%s%s", runchroot, path); + if (len >= ssizeof(pathbuf)) { + errno = ENAMETOOLONG; + debug_return_bool(false); + } + path = pathbuf; + } + ret = stat(path, sb) == 0; + } + debug_return_bool(ret); +} + +/* + * Perform intercept-specific checks. + * Returns true if allowed, else false. + */ +static bool +intercept_ok(const char *path, bool intercepted, struct stat *sb) +{ + debug_decl(intercept_ok, SUDOERS_DEBUG_MATCH); + + if (intercepted) { + if (!def_intercept_allow_setid && ISSET(sb->st_mode, S_ISUID|S_ISGID)) { + sudo_debug_printf(SUDO_DEBUG_WARN|SUDO_DEBUG_LINENO, + "rejecting setid command %s", path); + debug_return_bool(false); + } + } + debug_return_bool(true); +} +#endif /* SUDOERS_NAME_MATCH */ + +/* + * Check whether the fd refers to a shell script with a "#!" shebang. + */ +static bool +is_script(int fd) +{ + bool ret = false; + char magic[2]; + debug_decl(is_script, SUDOERS_DEBUG_MATCH); + + if (pread(fd, magic, 2, 0) == 2) { + if (magic[0] == '#' && magic[1] == '!') + ret = true; + } + debug_return_int(ret); +} + +/* + * Open path if fdexec is enabled or if a digest is present. + * Returns false on error, else true. + */ +static bool +open_cmnd(const char *path, const char *runchroot, + const struct command_digest_list *digests, int *fdp) +{ + int fd; + char pathbuf[PATH_MAX]; + debug_decl(open_cmnd, SUDOERS_DEBUG_MATCH); + + /* Only open the file for fdexec or for digest matching. */ + if (def_fdexec != always && TAILQ_EMPTY(digests)) + debug_return_bool(true); + + /* Make path relative to the new root, if any. */ + if (runchroot != NULL) { + const int len = + snprintf(pathbuf, sizeof(pathbuf), "%s%s", runchroot, path); + if (len >= ssizeof(pathbuf)) { + errno = ENAMETOOLONG; + debug_return_bool(false); + } + path = pathbuf; + } + + fd = open(path, O_RDONLY|O_NONBLOCK); +# ifdef O_EXEC + if (fd == -1 && errno == EACCES && TAILQ_EMPTY(digests)) { + /* Try again with O_EXEC if no digest is specified. */ + const int saved_errno = errno; + if ((fd = open(path, O_EXEC)) == -1) + errno = saved_errno; + } +# endif + if (fd == -1) + debug_return_bool(false); + + (void)fcntl(fd, F_SETFD, FD_CLOEXEC); + *fdp = fd; + debug_return_bool(true); +} + +static void +set_cmnd_fd(int fd) +{ + debug_decl(set_cmnd_fd, SUDOERS_DEBUG_MATCH); + + if (cmnd_fd != -1) + close(cmnd_fd); + + if (fd != -1) { + if (def_fdexec == never) { + /* Never use fexedcve() */ + close(fd); + fd = -1; + } else if (is_script(fd)) { + char fdpath[PATH_MAX]; + struct stat sb; + int flags; + + /* We can only use fexecve() on a script if /dev/fd/N exists. */ + (void)snprintf(fdpath, sizeof(fdpath), "/dev/fd/%d", fd); + if (stat(fdpath, &sb) != 0) { + /* Missing /dev/fd file, can't use fexecve(). */ + close(fd); + fd = -1; + } else { + /* + * Shell scripts go through namei twice so we can't have the + * close on exec flag set on the fd for fexecve(2). + */ + flags = fcntl(fd, F_GETFD) & ~FD_CLOEXEC; + (void)fcntl(fd, F_SETFD, flags); + } + } + } + + cmnd_fd = fd; + + debug_return; +} + +#ifndef SUDOERS_NAME_MATCH +/* + * Return true if user_cmnd names one of the inodes in dir, else false. + */ +static bool +command_matches_dir(const char *sudoers_dir, size_t dlen, const char *runchroot, + bool intercepted, const struct command_digest_list *digests) +{ + char buf[PATH_MAX], sdbuf[PATH_MAX]; + struct stat sudoers_stat; + struct dirent *dent; + size_t chrootlen = 0; + int fd = -1; + DIR *dirp; + debug_decl(command_matches_dir, SUDOERS_DEBUG_MATCH); + + /* Make sudoers_dir relative to the new root, if any. */ + if (runchroot != NULL) { + const int len = + snprintf(sdbuf, sizeof(sdbuf), "%s%s", runchroot, sudoers_dir); + if (len >= ssizeof(sdbuf)) { + errno = ENAMETOOLONG; + debug_return_bool(false); + } + sudoers_dir = sdbuf; + chrootlen = strlen(runchroot); + } + + /* + * Grot through directory entries, looking for user_base. + */ + dirp = opendir(sudoers_dir); + if (dirp == NULL) + debug_return_bool(false); + + if (strlcpy(buf, sudoers_dir, sizeof(buf)) >= sizeof(buf)) { + closedir(dirp); + debug_return_bool(false); + } + while ((dent = readdir(dirp)) != NULL) { + if (fd != -1) { + close(fd); + fd = -1; + } + + /* ignore paths > PATH_MAX (XXX - log) */ + buf[dlen] = '\0'; + if (strlcat(buf, dent->d_name, sizeof(buf)) >= sizeof(buf)) + continue; + + /* only stat if basenames are the same */ + if (strcmp(user_base, dent->d_name) != 0) + continue; + + /* Open the file for fdexec or for digest matching. */ + if (!open_cmnd(buf, NULL, digests, &fd)) + continue; + if (!do_stat(fd, buf, NULL, &sudoers_stat)) + continue; + if (!intercept_ok(buf, intercepted, &sudoers_stat)) + continue; + + if (user_stat == NULL || + (user_stat->st_dev == sudoers_stat.st_dev && + user_stat->st_ino == sudoers_stat.st_ino)) { + /* buf is already relative to runchroot */ + if (!digest_matches(fd, buf, NULL, digests)) + continue; + free(safe_cmnd); + if ((safe_cmnd = strdup(buf + chrootlen)) == NULL) { + sudo_warnx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + dent = NULL; + } + break; + } + } + closedir(dirp); + + if (dent != NULL) { + set_cmnd_fd(fd); + debug_return_bool(true); + } + if (fd != -1) + close(fd); + debug_return_bool(false); +} +#else /* SUDOERS_NAME_MATCH */ +/* + * Return true if user_cmnd names one of the inodes in dir, else false. + */ +static bool +command_matches_dir(const char *sudoers_dir, size_t dlen, const char *runchroot, + bool intercepted, const struct command_digest_list *digests) +{ + int fd = -1; + debug_decl(command_matches_dir, SUDOERS_DEBUG_MATCH); + + /* Match user_cmnd against sudoers_dir. */ + if (strncmp(user_cmnd, sudoers_dir, dlen) != 0 || user_cmnd[dlen] != '/') + goto bad; + + /* Make sure user_cmnd is not in a subdir of sudoers_dir. */ + if (strchr(user_cmnd + dlen + 1, '\0') != NULL) + goto bad; + + /* Open the file for fdexec or for digest matching. */ + if (!open_cmnd(user_cmnd, runchroot, digests, &fd)) + goto bad; + if (!digest_matches(fd, user_cmnd, runchroot, digests)) + goto bad; + set_cmnd_fd(fd); + + debug_return_bool(true); +bad: + if (fd != -1) + close(fd); + debug_return_bool(false); +} +#endif /* SUDOERS_NAME_MATCH */ + +static bool +command_matches_all(const char *runchroot, + bool intercepted, const struct command_digest_list *digests) +{ +#ifndef SUDOERS_NAME_MATCH + struct stat sb; +#endif + int fd = -1; + debug_decl(command_matches_all, SUDOERS_DEBUG_MATCH); + + if (user_cmnd[0] == '/') { +#ifndef SUDOERS_NAME_MATCH + /* Open the file for fdexec or for digest matching. */ + bool open_error = !open_cmnd(user_cmnd, runchroot, digests, &fd); + + /* A non-existent file is not an error for "sudo ALL". */ + if (do_stat(fd, user_cmnd, runchroot, &sb)) { + if (open_error) { + /* File exists but we couldn't open it above? */ + goto bad; + } + if (!intercept_ok(user_cmnd, intercepted, &sb)) + goto bad; + } +#else + /* Open the file for fdexec or for digest matching. */ + (void)open_cmnd(user_cmnd, runchroot, digests, &fd); +#endif + } + + /* Check digest of user_cmnd since we have no sudoers_cmnd for ALL. */ + if (!digest_matches(fd, user_cmnd, runchroot, digests)) + goto bad; + set_cmnd_fd(fd); + + /* No need to set safe_cmnd for ALL. */ + debug_return_bool(true); +bad: + if (fd != -1) + close(fd); + debug_return_bool(false); +} + +static bool +command_matches_fnmatch(const char *sudoers_cmnd, const char *sudoers_args, + const char *runchroot, bool intercepted, + const struct command_digest_list *digests) +{ +#ifndef SUDOERS_NAME_MATCH + struct stat sb; +#endif + int fd = -1; + debug_decl(command_matches_fnmatch, SUDOERS_DEBUG_MATCH); + + /* + * Return true if fnmatch(3) succeeds AND + * a) there are no args in sudoers OR + * b) there are no args on command line and none required by sudoers OR + * c) there are args in sudoers and on command line and they match + * else return false. + * + * Neither sudoers_cmnd nor user_cmnd are relative to runchroot. + */ + if (fnmatch(sudoers_cmnd, user_cmnd, FNM_PATHNAME) != 0) + debug_return_bool(false); + if (command_args_match(sudoers_cmnd, sudoers_args)) { + /* Open the file for fdexec or for digest matching. */ + if (!open_cmnd(user_cmnd, runchroot, digests, &fd)) + goto bad; +#ifndef SUDOERS_NAME_MATCH + if (!do_stat(fd, user_cmnd, runchroot, &sb)) + goto bad; + if (!intercept_ok(user_cmnd, intercepted, &sb)) + goto bad; +#endif + /* Check digest of user_cmnd since sudoers_cmnd is a pattern. */ + if (!digest_matches(fd, user_cmnd, runchroot, digests)) + goto bad; + set_cmnd_fd(fd); + + /* No need to set safe_cmnd since user_cmnd matches sudoers_cmnd */ + debug_return_bool(true); +bad: + if (fd != -1) + close(fd); + debug_return_bool(false); + } + debug_return_bool(false); +} + +static bool +command_matches_regex(const char *sudoers_cmnd, const char *sudoers_args, + const char *runchroot, bool intercepted, + const struct command_digest_list *digests) +{ +#ifndef SUDOERS_NAME_MATCH + struct stat sb; +#endif + int fd = -1; + debug_decl(command_matches_regex, SUDOERS_DEBUG_MATCH); + + /* + * Return true if sudoers_cmnd regex matches user_cmnd AND + * a) there are no args in sudoers OR + * b) there are no args on command line and none required by sudoers OR + * c) there are args in sudoers and on command line and they match + * else return false. + * + * Neither sudoers_cmnd nor user_cmnd are relative to runchroot. + */ + if (!regex_matches(sudoers_cmnd, user_cmnd)) + debug_return_bool(false); + + if (command_args_match(sudoers_cmnd, sudoers_args)) { + /* Open the file for fdexec or for digest matching. */ + if (!open_cmnd(user_cmnd, runchroot, digests, &fd)) + goto bad; +#ifndef SUDOERS_NAME_MATCH + if (!do_stat(fd, user_cmnd, runchroot, &sb)) + goto bad; + if (!intercept_ok(user_cmnd, intercepted, &sb)) + goto bad; +#endif + /* Check digest of user_cmnd since sudoers_cmnd is a pattern. */ + if (!digest_matches(fd, user_cmnd, runchroot, digests)) + goto bad; + set_cmnd_fd(fd); + + /* No need to set safe_cmnd since user_cmnd matches sudoers_cmnd */ + debug_return_bool(true); +bad: + if (fd != -1) + close(fd); + debug_return_bool(false); + } + debug_return_bool(false); +} + +#ifndef SUDOERS_NAME_MATCH +static bool +command_matches_glob(const char *sudoers_cmnd, const char *sudoers_args, + const char *runchroot, bool intercepted, + const struct command_digest_list *digests) +{ + struct stat sudoers_stat; + bool bad_digest = false; + char **ap, *base, *cp; + char pathbuf[PATH_MAX]; + int fd = -1; + size_t dlen, chrootlen = 0; + glob_t gl; + debug_decl(command_matches_glob, SUDOERS_DEBUG_MATCH); + + /* + * First check to see if we can avoid the call to glob(3). + * Short circuit if there are no meta chars in the command itself + * and user_base and basename(sudoers_cmnd) don't match. + */ + dlen = strlen(sudoers_cmnd); + if (sudoers_cmnd[dlen - 1] != '/') { + base = sudo_basename(sudoers_cmnd); + if (!has_meta(base) && strcmp(user_base, base) != 0) + debug_return_bool(false); + } + + /* Make sudoers_cmnd relative to the new root, if any. */ + if (runchroot != NULL) { + const int len = + snprintf(pathbuf, sizeof(pathbuf), "%s%s", runchroot, sudoers_cmnd); + if (len >= ssizeof(pathbuf)) { + errno = ENAMETOOLONG; + debug_return_bool(false); + } + sudoers_cmnd = pathbuf; + chrootlen = strlen(runchroot); + } + + /* + * Return true if we find a match in the glob(3) results AND + * a) there are no args in sudoers OR + * b) there are no args on command line and none required by sudoers OR + * c) there are args in sudoers and on command line and they match + * else return false. + */ + if (glob(sudoers_cmnd, GLOB_NOSORT, NULL, &gl) != 0 || gl.gl_pathc == 0) { + globfree(&gl); + debug_return_bool(false); + } + /* If user_cmnd is fully-qualified, check for an exact match. */ + if (user_cmnd[0] == '/') { + for (ap = gl.gl_pathv; (cp = *ap) != NULL; ap++) { + if (fd != -1) { + close(fd); + fd = -1; + } + /* Remove the runchroot, if any. */ + cp += chrootlen; + + if (strcmp(cp, user_cmnd) != 0) + continue; + /* Open the file for fdexec or for digest matching. */ + if (!open_cmnd(cp, runchroot, digests, &fd)) + continue; + if (!do_stat(fd, cp, runchroot, &sudoers_stat)) + continue; + if (!intercept_ok(cp, intercepted, &sudoers_stat)) + continue; + if (user_stat == NULL || + (user_stat->st_dev == sudoers_stat.st_dev && + user_stat->st_ino == sudoers_stat.st_ino)) { + /* There could be multiple matches, check digest early. */ + if (!digest_matches(fd, cp, runchroot, digests)) { + bad_digest = true; + continue; + } + free(safe_cmnd); + if ((safe_cmnd = strdup(cp)) == NULL) { + sudo_warnx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + cp = NULL; /* fail closed */ + } + } else { + /* Paths match, but st_dev and st_ino are different. */ + cp = NULL; /* fail closed */ + } + goto done; + } + } + /* No exact match, compare basename, st_dev and st_ino. */ + if (!bad_digest) { + for (ap = gl.gl_pathv; (cp = *ap) != NULL; ap++) { + if (fd != -1) { + close(fd); + fd = -1; + } + + /* Remove the runchroot, if any. */ + cp += chrootlen; + + /* If it ends in '/' it is a directory spec. */ + dlen = strlen(cp); + if (cp[dlen - 1] == '/') { + if (command_matches_dir(cp, dlen, runchroot, intercepted, digests)) { + globfree(&gl); + debug_return_bool(true); + } + continue; + } + + /* Only proceed if user_base and basename(cp) match */ + base = sudo_basename(cp); + if (strcmp(user_base, base) != 0) + continue; + + /* Open the file for fdexec or for digest matching. */ + if (!open_cmnd(cp, runchroot, digests, &fd)) + continue; + if (!do_stat(fd, cp, runchroot, &sudoers_stat)) + continue; + if (!intercept_ok(cp, intercepted, &sudoers_stat)) + continue; + if (user_stat == NULL || + (user_stat->st_dev == sudoers_stat.st_dev && + user_stat->st_ino == sudoers_stat.st_ino)) { + if (!digest_matches(fd, cp, runchroot, digests)) + continue; + free(safe_cmnd); + if ((safe_cmnd = strdup(cp)) == NULL) { + sudo_warnx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + cp = NULL; /* fail closed */ + } + goto done; + } + } + } +done: + globfree(&gl); + if (cp != NULL) { + if (command_args_match(sudoers_cmnd, sudoers_args)) { + /* safe_cmnd was set above. */ + set_cmnd_fd(fd); + debug_return_bool(true); + } + } + if (fd != -1) + close(fd); + debug_return_bool(false); +} + +static bool +command_matches_normal(const char *sudoers_cmnd, const char *sudoers_args, + const char *runchroot, bool intercepted, + const struct command_digest_list *digests) +{ + struct stat sudoers_stat; + const char *base; + size_t dlen; + int fd = -1; + debug_decl(command_matches_normal, SUDOERS_DEBUG_MATCH); + + /* If it ends in '/' it is a directory spec. */ + dlen = strlen(sudoers_cmnd); + if (sudoers_cmnd[dlen - 1] == '/') { + debug_return_bool(command_matches_dir(sudoers_cmnd, dlen, runchroot, + intercepted, digests)); + } + + /* Only proceed if user_base and basename(sudoers_cmnd) match */ + base = sudo_basename(sudoers_cmnd); + if (strcmp(user_base, base) != 0) + debug_return_bool(false); + + /* Open the file for fdexec or for digest matching. */ + if (!open_cmnd(sudoers_cmnd, runchroot, digests, &fd)) + goto bad; + + /* + * Return true if command matches AND + * a) there are no args in sudoers OR + * b) there are no args on command line and none req by sudoers OR + * c) there are args in sudoers and on command line and they match + * d) there is a digest and it matches + */ + if (user_stat != NULL && do_stat(fd, sudoers_cmnd, runchroot, &sudoers_stat)) { + if (!intercept_ok(sudoers_cmnd, intercepted, &sudoers_stat)) + goto bad; + if (user_stat->st_dev != sudoers_stat.st_dev || + user_stat->st_ino != sudoers_stat.st_ino) + goto bad; + } else { + /* Either user or sudoers command does not exist, match by name. */ + if (strcmp(user_cmnd, sudoers_cmnd) != 0) + goto bad; + } + if (!command_args_match(sudoers_cmnd, sudoers_args)) + goto bad; + if (!digest_matches(fd, sudoers_cmnd, runchroot, digests)) { + /* XXX - log functions not available but we should log very loudly */ + goto bad; + } + free(safe_cmnd); + if ((safe_cmnd = strdup(sudoers_cmnd)) == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + goto bad; + } + set_cmnd_fd(fd); + debug_return_bool(true); +bad: + if (fd != -1) + close(fd); + debug_return_bool(false); +} +#else /* SUDOERS_NAME_MATCH */ +static bool +command_matches_glob(const char *sudoers_cmnd, const char *sudoers_args, + const char *runchroot, bool intercepted, + const struct command_digest_list *digests) +{ + return command_matches_fnmatch(sudoers_cmnd, sudoers_args, runchroot, + intercepted, digests); +} + +static bool +command_matches_normal(const char *sudoers_cmnd, const char *sudoers_args, + const char *runchroot, bool intercepted, + const struct command_digest_list *digests) +{ + size_t dlen; + int fd = -1; + debug_decl(command_matches_normal, SUDOERS_DEBUG_MATCH); + + /* If it ends in '/' it is a directory spec. */ + dlen = strlen(sudoers_cmnd); + if (sudoers_cmnd[dlen - 1] == '/') { + debug_return_bool(command_matches_dir(sudoers_cmnd, dlen, runchroot, + intercepted, digests)); + } + + if (strcmp(user_cmnd, sudoers_cmnd) == 0) { + if (command_args_match(sudoers_cmnd, sudoers_args)) { + /* Open the file for fdexec or for digest matching. */ + if (!open_cmnd(user_cmnd, runchroot, digests, &fd)) + goto bad; + if (!digest_matches(fd, user_cmnd, runchroot, digests)) + goto bad; + + /* Successful match. */ + free(safe_cmnd); + if ((safe_cmnd = strdup(sudoers_cmnd)) == NULL) { + sudo_warnx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + goto bad; + } + set_cmnd_fd(fd); + debug_return_bool(true); + } + } +bad: + if (fd != -1) + close(fd); + debug_return_bool(false); +} +#endif /* SUDOERS_NAME_MATCH */ + +/* + * If path doesn't end in /, return true iff cmnd & path name the same inode; + * otherwise, return true if user_cmnd names one of the inodes in path. + */ +bool +command_matches(const char *sudoers_cmnd, const char *sudoers_args, + const char *runchroot, struct cmnd_info *info, + const struct command_digest_list *digests) +{ + const bool intercepted = info ? info->intercepted : false; + char *saved_user_cmnd = NULL; + struct stat saved_user_stat; + bool rc = false; + debug_decl(command_matches, SUDOERS_DEBUG_MATCH); + + if (user_runchroot != NULL) { + if (runchroot != NULL && strcmp(runchroot, "*") != 0 && + strcmp(runchroot, user_runchroot) != 0) { + /* CHROOT mismatch */ + goto done; + } + /* User-specified runchroot (user_stat already set appropriately). */ + runchroot = user_runchroot; + } else if (runchroot == NULL) { + /* No rule-specific runchroot, use global (user_stat already set). */ + if (def_runchroot != NULL && strcmp(def_runchroot, "*") != '\0') + runchroot = def_runchroot; + } else { + /* Rule-specific runchroot, reset user_cmnd and user_stat. */ + int status; + + /* Save old user_cmnd first, set_cmnd_path() will free it. */ + saved_user_cmnd = user_cmnd; + user_cmnd = NULL; + if (user_stat != NULL) + saved_user_stat = *user_stat; + status = set_cmnd_path(runchroot); + if (status != FOUND) { + user_cmnd = saved_user_cmnd; + saved_user_cmnd = NULL; + } + if (info != NULL) + info->status = status; + } + + if (sudoers_cmnd == NULL) { + sudoers_cmnd = "ALL"; + rc = command_matches_all(runchroot, intercepted, digests); + goto done; + } + + /* Check for regular expressions first. */ + if (sudoers_cmnd[0] == '^') { + rc = command_matches_regex(sudoers_cmnd, sudoers_args, runchroot, + intercepted, digests); + goto done; + } + + /* Check for pseudo-commands */ + if (sudoers_cmnd[0] != '/') { + /* + * Return true if sudoers_cmnd and user_cmnd match a pseudo-command AND + * a) there are no args in sudoers OR + * b) there are no args on command line and none req by sudoers OR + * c) there are args in sudoers and on command line and they match + */ + if (strcmp(sudoers_cmnd, "list") == 0 || + strcmp(sudoers_cmnd, "sudoedit") == 0) { + if (strcmp(user_cmnd, sudoers_cmnd) == 0 && + command_args_match(sudoers_cmnd, sudoers_args)) { + /* No need to set safe_cmnd since user_cmnd == sudoers_cmnd */ + rc = true; + } + } + goto done; + } + + if (has_meta(sudoers_cmnd)) { + /* + * If sudoers_cmnd has meta characters in it, we need to + * use glob(3) and/or fnmatch(3) to do the matching. + */ + if (def_fast_glob) { + rc = command_matches_fnmatch(sudoers_cmnd, sudoers_args, runchroot, + intercepted, digests); + } else { + rc = command_matches_glob(sudoers_cmnd, sudoers_args, runchroot, + intercepted, digests); + } + } else { + rc = command_matches_normal(sudoers_cmnd, sudoers_args, runchroot, + intercepted, digests); + } +done: + if (saved_user_cmnd != NULL) { + if (info != NULL) { + info->cmnd_path = user_cmnd; + if (user_stat != NULL) + info->cmnd_stat = *user_stat; + } else { + free(user_cmnd); + } + user_cmnd = saved_user_cmnd; + if (user_stat != NULL) + *user_stat = saved_user_stat; + } + sudo_debug_printf(SUDO_DEBUG_DEBUG|SUDO_DEBUG_LINENO, + "user command \"%s%s%s\" matches sudoers command \"%s%s%s\"%s%s: %s", + user_cmnd, user_args ? " " : "", user_args ? user_args : "", + sudoers_cmnd, sudoers_args ? " " : "", sudoers_args ? sudoers_args : "", + runchroot ? ", chroot " : "", runchroot ? runchroot : "", + rc ? "true" : "false"); + debug_return_bool(rc); +} diff --git a/plugins/sudoers/match_digest.c b/plugins/sudoers/match_digest.c new file mode 100644 index 0000000..bae7bdd --- /dev/null +++ b/plugins/sudoers/match_digest.c @@ -0,0 +1,137 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1996, 1998-2005, 2007-2020 + * Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Sponsored in part by the Defense Advanced Research Projects + * Agency (DARPA) and Air Force Research Laboratory, Air Force + * Materiel Command, USAF, under agreement number F39502-99-1-0512. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include +#include +#include + +#include "sudoers.h" +#include "sudo_digest.h" +#include + +bool +digest_matches(int fd, const char *path, const char *runchroot, + const struct command_digest_list *digests) +{ + unsigned int digest_type = SUDO_DIGEST_INVALID; + unsigned char *file_digest = NULL; + unsigned char *sudoers_digest = NULL; + struct command_digest *digest; + size_t digest_len = (size_t)-1; + char pathbuf[PATH_MAX]; + bool matched = false; + debug_decl(digest_matches, SUDOERS_DEBUG_MATCH); + + if (TAILQ_EMPTY(digests)) { + /* No digest, no problem. */ + debug_return_bool(true); + } + + if (fd == -1) { + /* No file, no match. */ + goto done; + } + + if (runchroot != NULL) { + const int len = + snprintf(pathbuf, sizeof(pathbuf), "%s%s", runchroot, path); + if (len >= ssizeof(pathbuf)) { + errno = ENAMETOOLONG; + debug_return_bool(false); + } + path = pathbuf; + } + + TAILQ_FOREACH(digest, digests, entries) { + /* Compute file digest if needed. */ + if (digest->digest_type != digest_type) { + free(file_digest); + file_digest = sudo_filedigest(fd, path, digest->digest_type, + &digest_len); + if (lseek(fd, (off_t)0, SEEK_SET) == -1) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_ERRNO|SUDO_DEBUG_LINENO, + "unable to rewind digest fd"); + } + digest_type = digest->digest_type; + } + if (file_digest == NULL) { + /* Warning (if any) printed by sudo_filedigest() */ + goto done; + } + + /* Convert the command digest from ascii to binary. */ + if ((sudoers_digest = malloc(digest_len)) == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + goto done; + } + if (strlen(digest->digest_str) == digest_len * 2) { + /* Convert ascii hex to binary. */ + unsigned int i; + for (i = 0; i < digest_len; i++) { + const int h = sudo_hexchar(&digest->digest_str[i + i]); + if (h == -1) + goto bad_format; + sudoers_digest[i] = (unsigned char)h; + } + } else { + /* Convert base64 to binary. */ + size_t len = base64_decode(digest->digest_str, sudoers_digest, digest_len); + if (len == (size_t)-1) + goto bad_format; + if (len != digest_len) { + sudo_warnx( + U_("digest for %s (%s) bad length %zu, expected %zu"), + path, digest->digest_str, len, digest_len); + goto done; + } + } + if (memcmp(file_digest, sudoers_digest, digest_len) == 0) { + matched = true; + break; + } + + sudo_debug_printf(SUDO_DEBUG_DIAG|SUDO_DEBUG_LINENO, + "%s digest mismatch for %s, expecting %s", + digest_type_to_name(digest->digest_type), path, digest->digest_str); + free(sudoers_digest); + sudoers_digest = NULL; + } + goto done; + +bad_format: + sudo_warnx(U_("digest for %s (%s) is not in %s form"), path, + digest->digest_str, digest_type_to_name(digest->digest_type)); +done: + free(sudoers_digest); + free(file_digest); + debug_return_bool(matched); +} diff --git a/plugins/sudoers/mkdefaults b/plugins/sudoers/mkdefaults new file mode 100755 index 0000000..c1b9396 --- /dev/null +++ b/plugins/sudoers/mkdefaults @@ -0,0 +1,164 @@ +#!/bin/sh +# +# Generate sudo_defs_table and associated defines +# +# Input should be formatted thusly: +# +# var_name +# TYPE +# description (or NULL) +# array of struct def_values if TYPE == T_TUPLE [optional] +# *callback [optional] + +# Deal with optional -o (output) argument +if [ "$1" = "-o" ]; then + OUTFILE="$2" + shift 2 +else + OUTFILE=def_data +fi +if [ $# -gt 0 ]; then + INFILE="$1" + shift +else + INFILE=def_data.in +fi +if [ $# -gt 0 ]; then + echo "usage: $0 [-o output] [input_file]" 1>&2 +fi + +${AWK-awk} -f - -v outfile=$OUTFILE $INFILE <<'EOF' +BEGIN { + tuple_values[0] = "never" + tuple_keys["never"] = 0 + ntuples = 1 + header = outfile ".h" + cfile = outfile ".c" + + type_map["T_INT"] = "ival" + type_map["T_UINT"] = "uival" + type_map["T_STR"] = "str" + type_map["T_FLAG"] = "flag" + type_map["T_MODE"] = "mode" + type_map["T_LIST"] = "list" + type_map["T_LOGFAC"] = "ival" + type_map["T_LOGPRI"] = "ival" + type_map["T_TUPLE"] = "tuple" + type_map["T_TIMESPEC"] = "tspec" + type_map["T_TIMEOUT"] = "ival" + type_map["T_RLIMIT"] = "str" +} +{ + sub(/#.*/, "", $0) + if (/^[[:blank:]]*$/) next + if (/^[[:alpha:]]/) { + # Store previous record and begin new one + if (var) + records[count++] = sprintf("%s\n%s\n%s\n%s\n%s\n", var, type, desc, values, callback) + var = $1 + type = "" + desc = "" + values = "" + callback = "" + state = 0 + } else { + state++ + # Strip leading/trailing whitespace + gsub(/^[ \t]+|[ \t]+$/, "") + if (state == 1) { + # type + type = $1 + } else if (state == 2) { + # description + if ($0 == "NULL") { + desc = "NULL" + } else { + # Strip leading and trailing double quote and escape the rest + gsub(/^"|"$/, "") + gsub(/"/, "\\\"") + desc = sprintf("N_(\"%s\")", $0) + } + } else if (state == 3 || state == 4) { + if (/^\*/) { + callback = substr($0, 2) + } else { + if (type ~ /^T_TUPLE/) { + values = $0 + # Add to tuple_values as necessary + n = split(values, vals) + for (i = 1; i <= n; i++) { + if (!(vals[i] in tuple_keys)) { + tuple_keys[vals[i]] = ntuples + tuple_values[ntuples++] = vals[i] + } + } + } + } + } else { + die("syntax error in input near line " NR) + } + } +} +END { + if (var) + records[count++] = sprintf("%s\n%s\n%s\n%s\n%s\n", var, type, desc, values, callback) + + print "/* generated file, do not edit */\n" > header + print "/* generated file, do not edit */\n" > cfile + + # Print out value arrays + for (i = 0; i < count; i++) { + split(records[i], fields, "\n") + if (fields[4]) { + if (fields[2] !~ /^T_TUPLE/) + die("Values list specified for non-tuple " records[1]) + printf "static struct def_values def_data_%s[] = {\n", fields[1] > cfile + n = split(fields[4], t) + for (j = 1; j <= n; j++) { + printf " { \"%s\", %s },\n", t[j], t[j] > cfile + } + print " { NULL, 0 }," > cfile + print "};\n" > cfile + } + } + + # Print each record + print "struct sudo_defs_types sudo_defs_table[] = {\n {" > cfile + for (i = 0; i < count; i++) { + print_record(records[i], i) + } + print "\tNULL, 0, NULL\n }\n};" > cfile + + # Print out def_tuple + print "\nenum def_tuple {" > header + for (i = 0; i < ntuples; i++) + printf "%s %s", i ? ",\n" : "", tuple_values[i] > header + print "\n};" > header +} + +function die(msg) { + print msg > "/dev/stderr" + exit 1 +} + +function print_record(rec, recnum) { + split(rec, fields, "\n") + type = fields[2] + sub(/\|.*/, "", type) + if (!(type in type_map)) + die("unknown defaults type " fields[2]) + + # each variable gets a macro to access its value + defname = "I_" toupper(fields[1]) + printf "#define %-23s %d\n", defname, recnum > header + printf "#define def_%-19s (sudo_defs_table[%s].sd_un.%s)\n", + fields[1], defname, type_map[type] > header + + printf "\t\"%s\", %s,\n\t%s,\n", fields[1], fields[2], fields[3] > cfile + printf "\t%s,\n", fields[4] ? "def_data_" fields[1] : "NULL" > cfile + if (fields[5]) { + printf "\t%s,\n", fields[5] > cfile + } + print " }, {" > cfile +} +EOF diff --git a/plugins/sudoers/parse.c b/plugins/sudoers/parse.c new file mode 100644 index 0000000..820fae2 --- /dev/null +++ b/plugins/sudoers/parse.c @@ -0,0 +1,1089 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2004-2005, 2007-2023 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include +#include +#include +#include +#include + +#include "sudoers.h" +#include "sudo_lbuf.h" +#include + +static int +runas_matches_pw(struct sudoers_parse_tree *parse_tree, + const struct cmndspec *cs, const struct passwd *pw) +{ + debug_decl(runas_matches_pw, SUDOERS_DEBUG_PARSER); + + if (cs->runasuserlist != NULL) + debug_return_int(userlist_matches(parse_tree, pw, cs->runasuserlist)); + + if (cs->runasgrouplist == NULL) { + /* No explicit runas user or group, use default. */ + if (userpw_matches(def_runas_default, pw->pw_name, pw)) + debug_return_int(ALLOW); + } + debug_return_int(UNSPEC); +} + +/* + * Look up the user in the sudoers parse tree for pseudo-commands like + * list, verify and kill. + */ +static int +sudoers_lookup_pseudo(struct sudo_nss_list *snl, struct passwd *pw, + int validated, int pwflag) +{ + char *saved_runchroot; + struct passwd *root_pw = NULL; + struct sudo_nss *nss; + struct cmndspec *cs; + struct privilege *priv; + struct userspec *us; + struct defaults *def; + int cmnd_match, nopass, match = DENY; + enum def_tuple pwcheck; + debug_decl(sudoers_lookup_pseudo, SUDOERS_DEBUG_PARSER); + + pwcheck = (pwflag == -1) ? never : sudo_defs_table[pwflag].sd_un.tuple; + nopass = (pwcheck == never || pwcheck == all) ? true : false; + + CLR(validated, FLAG_NO_USER); + CLR(validated, FLAG_NO_HOST); + if (list_pw != NULL) { + root_pw = sudo_getpwuid(ROOT_UID); + if (root_pw == NULL) + log_warningx(SLOG_SEND_MAIL, N_("unknown uid %u"), ROOT_UID); + } else { + SET(validated, FLAG_NO_CHECK); + } + + /* Don't use chroot setting for pseudo-commands. */ + saved_runchroot = def_runchroot; + def_runchroot = NULL; + + TAILQ_FOREACH(nss, snl, entries) { + if (nss->query(nss, pw) == -1) { + /* The query function should have printed an error message. */ + SET(validated, VALIDATE_ERROR); + break; + } + TAILQ_FOREACH(us, &nss->parse_tree->userspecs, entries) { + if (userlist_matches(nss->parse_tree, pw, &us->users) != ALLOW) + continue; + TAILQ_FOREACH(priv, &us->privileges, entries) { + int priv_nopass = UNSPEC; + + if (hostlist_matches(nss->parse_tree, pw, &priv->hostlist) != ALLOW) + continue; + TAILQ_FOREACH(def, &priv->defaults, entries) { + if (strcmp(def->var, "authenticate") == 0) + priv_nopass = !def->op; + } + TAILQ_FOREACH(cs, &priv->cmndlist, entries) { + if (pwcheck == any) { + if (cs->tags.nopasswd == true || priv_nopass == true) + nopass = true; + } else if (pwcheck == all) { + if (cs->tags.nopasswd != true && priv_nopass != true) + nopass = false; + } + if (match == ALLOW) + continue; + + /* + * Root can list any user's privileges. + * A user may always list their own privileges. + */ + if (user_uid == 0 || list_pw == NULL || + user_uid == list_pw->pw_uid) { + match = ALLOW; + continue; + } + + /* + * To list another user's prilileges, the runas + * user must match the list user or root. + */ + switch (runas_matches_pw(nss->parse_tree, cs, list_pw)) { + case DENY: + break; + case ALLOW: + /* + * RunAs user matches list user. + * Match on command "list" or ALL. + */ + cmnd_match = cmnd_matches(nss->parse_tree, + cs->cmnd, cs->runchroot, NULL); + if (cmnd_match != UNSPEC) { + match = cmnd_match; + goto done; + } + break; + default: + /* + * RunAs user doesn't match list user. Only allow + * listing if the user has "sudo ALL" for root. + */ + if (root_pw != NULL && runas_matches_pw(nss->parse_tree, + cs, root_pw) == ALLOW) { + cmnd_match = cmnd_matches_all(nss->parse_tree, + cs->cmnd, cs->runchroot, NULL); + if (cmnd_match != UNSPEC) { + match = cmnd_match; + goto done; + } + } + break; + } + } + } + } + } +done: + if (root_pw != NULL) + sudo_pw_delref(root_pw); + if (match == ALLOW || user_uid == 0) { + /* User has an entry for this host. */ + SET(validated, VALIDATE_SUCCESS); + } else if (match == DENY) + SET(validated, VALIDATE_FAILURE); + if (pwcheck == always && def_authenticate) + SET(validated, FLAG_CHECK_USER); + else if (nopass == true) + def_authenticate = false; + + /* Restore original def_runchroot. */ + def_runchroot = saved_runchroot; + + debug_return_int(validated); +} + +static void +init_cmnd_info(struct cmnd_info *info) +{ + memset(info, 0, sizeof(*info)); + if (def_intercept || ISSET(sudo_mode, MODE_POLICY_INTERCEPTED)) + info->intercepted = true; +} + +static int +sudoers_lookup_check(struct sudo_nss *nss, struct passwd *pw, + int *validated, struct cmnd_info *info, struct cmndspec **matching_cs, + struct defaults_list **defs, time_t now) +{ + int host_match, runas_match, cmnd_match; + struct cmndspec *cs; + struct privilege *priv; + struct userspec *us; + struct member *matching_user; + debug_decl(sudoers_lookup_check, SUDOERS_DEBUG_PARSER); + + init_cmnd_info(info); + + TAILQ_FOREACH_REVERSE(us, &nss->parse_tree->userspecs, userspec_list, entries) { + if (userlist_matches(nss->parse_tree, pw, &us->users) != ALLOW) + continue; + CLR(*validated, FLAG_NO_USER); + TAILQ_FOREACH_REVERSE(priv, &us->privileges, privilege_list, entries) { + host_match = hostlist_matches(nss->parse_tree, pw, &priv->hostlist); + if (host_match == ALLOW) + CLR(*validated, FLAG_NO_HOST); + else + continue; + TAILQ_FOREACH_REVERSE(cs, &priv->cmndlist, cmndspec_list, entries) { + if (cs->notbefore != UNSPEC) { + if (now < cs->notbefore) + continue; + } + if (cs->notafter != UNSPEC) { + if (now > cs->notafter) + continue; + } + matching_user = NULL; + runas_match = runaslist_matches(nss->parse_tree, + cs->runasuserlist, cs->runasgrouplist, &matching_user, + NULL); + if (runas_match == ALLOW) { + cmnd_match = cmnd_matches(nss->parse_tree, cs->cmnd, + cs->runchroot, info); + if (cmnd_match != UNSPEC) { + /* + * If user is running command as himself, + * set runas_pw = sudo_user.pw. + * XXX - hack, want more general solution + */ + if (matching_user && matching_user->type == MYSELF) { + sudo_pw_delref(runas_pw); + sudo_pw_addref(sudo_user.pw); + runas_pw = sudo_user.pw; + } + *matching_cs = cs; + *defs = &priv->defaults; + sudo_debug_printf(SUDO_DEBUG_DEBUG|SUDO_DEBUG_LINENO, + "userspec matched @ %s:%d:%d: %s", + us->file ? us->file : "???", us->line, us->column, + cmnd_match ? "allowed" : "denied"); + debug_return_int(cmnd_match); + } + free(info->cmnd_path); + init_cmnd_info(info); + } + } + } + } + debug_return_int(UNSPEC); +} + +/* + * Apply cmndspec-specific settings including SELinux role/type, + * Solaris privs, and command tags. + */ +static bool +apply_cmndspec(struct cmndspec *cs) +{ + debug_decl(apply_cmndspec, SUDOERS_DEBUG_PARSER); + + if (cs != NULL) { +#ifdef HAVE_SELINUX + /* Set role and type if not specified on command line. */ + if (user_role == NULL) { + if (cs->role != NULL) { + user_role = strdup(cs->role); + if (user_role == NULL) { + sudo_warnx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + debug_return_bool(false); + } + } else { + user_role = def_role; + def_role = NULL; + } + if (user_role != NULL) { + sudo_debug_printf(SUDO_DEBUG_INFO|SUDO_DEBUG_LINENO, + "user_role -> %s", user_role); + } + } + if (user_type == NULL) { + if (cs->type != NULL) { + user_type = strdup(cs->type); + if (user_type == NULL) { + sudo_warnx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + debug_return_bool(false); + } + } else { + user_type = def_type; + def_type = NULL; + } + if (user_type != NULL) { + sudo_debug_printf(SUDO_DEBUG_INFO|SUDO_DEBUG_LINENO, + "user_type -> %s", user_type); + } + } +#endif /* HAVE_SELINUX */ +#ifdef HAVE_APPARMOR + /* Set AppArmor profile, if specified */ + if (cs->apparmor_profile != NULL) { + user_apparmor_profile = strdup(cs->apparmor_profile); + if (user_apparmor_profile == NULL) { + sudo_warnx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + debug_return_bool(false); + } + } else { + user_apparmor_profile = def_apparmor_profile; + def_apparmor_profile = NULL; + } + if (user_apparmor_profile != NULL) { + sudo_debug_printf(SUDO_DEBUG_INFO|SUDO_DEBUG_LINENO, + "user_apparmor_profile -> %s", user_apparmor_profile); + } +#endif +#ifdef HAVE_PRIV_SET + /* Set Solaris privilege sets */ + if (runas_privs == NULL) { + if (cs->privs != NULL) { + runas_privs = strdup(cs->privs); + if (runas_privs == NULL) { + sudo_warnx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + debug_return_bool(false); + } + } else { + runas_privs = def_privs; + def_privs = NULL; + } + if (runas_privs != NULL) { + sudo_debug_printf(SUDO_DEBUG_INFO|SUDO_DEBUG_LINENO, + "runas_privs -> %s", runas_privs); + } + } + if (runas_limitprivs == NULL) { + if (cs->limitprivs != NULL) { + runas_limitprivs = strdup(cs->limitprivs); + if (runas_limitprivs == NULL) { + sudo_warnx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + debug_return_bool(false); + } + } else { + runas_limitprivs = def_limitprivs; + def_limitprivs = NULL; + } + if (runas_limitprivs != NULL) { + sudo_debug_printf(SUDO_DEBUG_INFO|SUDO_DEBUG_LINENO, + "runas_limitprivs -> %s", runas_limitprivs); + } + } +#endif /* HAVE_PRIV_SET */ + if (cs->timeout > 0) { + def_command_timeout = cs->timeout; + sudo_debug_printf(SUDO_DEBUG_INFO|SUDO_DEBUG_LINENO, + "def_command_timeout -> %d", def_command_timeout); + } + if (cs->runcwd != NULL) { + free(def_runcwd); + def_runcwd = strdup(cs->runcwd); + if (def_runcwd == NULL) { + sudo_warnx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + debug_return_bool(false); + } + sudo_debug_printf(SUDO_DEBUG_INFO|SUDO_DEBUG_LINENO, + "def_runcwd -> %s", def_runcwd); + } + if (cs->runchroot != NULL) { + free(def_runchroot); + def_runchroot = strdup(cs->runchroot); + if (def_runchroot == NULL) { + sudo_warnx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + debug_return_bool(false); + } + sudo_debug_printf(SUDO_DEBUG_INFO|SUDO_DEBUG_LINENO, + "def_runchroot -> %s", def_runchroot); + } + if (cs->tags.nopasswd != UNSPEC) { + def_authenticate = !cs->tags.nopasswd; + sudo_debug_printf(SUDO_DEBUG_INFO|SUDO_DEBUG_LINENO, + "def_authenticate -> %s", def_authenticate ? "true" : "false"); + } + if (cs->tags.noexec != UNSPEC) { + def_noexec = cs->tags.noexec; + sudo_debug_printf(SUDO_DEBUG_INFO|SUDO_DEBUG_LINENO, + "def_noexec -> %s", def_noexec ? "true" : "false"); + } + if (cs->tags.intercept != UNSPEC) { + def_intercept = cs->tags.intercept; + sudo_debug_printf(SUDO_DEBUG_INFO|SUDO_DEBUG_LINENO, + "def_intercept -> %s", def_intercept ? "true" : "false"); + } + if (cs->tags.setenv != UNSPEC) { + def_setenv = cs->tags.setenv; + sudo_debug_printf(SUDO_DEBUG_INFO|SUDO_DEBUG_LINENO, + "def_setenv -> %s", def_setenv ? "true" : "false"); + } + if (cs->tags.log_input != UNSPEC) { + def_log_input = cs->tags.log_input; + cb_log_input(NULL, 0, 0, NULL, cs->tags.log_input); + sudo_debug_printf(SUDO_DEBUG_INFO|SUDO_DEBUG_LINENO, + "def_log_input -> %s", def_log_input ? "true" : "false"); + } + if (cs->tags.log_output != UNSPEC) { + def_log_output = cs->tags.log_output; + cb_log_output(NULL, 0, 0, NULL, cs->tags.log_output); + sudo_debug_printf(SUDO_DEBUG_INFO|SUDO_DEBUG_LINENO, + "def_log_output -> %s", def_log_output ? "true" : "false"); + } + if (cs->tags.send_mail != UNSPEC) { + if (cs->tags.send_mail) { + def_mail_all_cmnds = true; + sudo_debug_printf(SUDO_DEBUG_INFO|SUDO_DEBUG_LINENO, + "def_mail_all_cmnds -> true"); + } else { + def_mail_all_cmnds = false; + def_mail_always = false; + def_mail_no_perms = false; + sudo_debug_printf(SUDO_DEBUG_INFO|SUDO_DEBUG_LINENO, + "def_mail_all_cmnds -> false, def_mail_always -> false, " + "def_mail_no_perms -> false"); + } + } + if (cs->tags.follow != UNSPEC) { + def_sudoedit_follow = cs->tags.follow; + sudo_debug_printf(SUDO_DEBUG_INFO|SUDO_DEBUG_LINENO, + "def_sudoedit_follow -> %s", def_sudoedit_follow ? "true" : "false"); + } + } + + debug_return_bool(true); +} + +/* + * Look up the user in the sudoers parse tree and check to see if they are + * allowed to run the specified command on this host as the target user. + */ +int +sudoers_lookup(struct sudo_nss_list *snl, struct passwd *pw, int *cmnd_status, + int pwflag) +{ + struct defaults_list *defs = NULL; + struct sudoers_parse_tree *parse_tree = NULL; + struct cmndspec *cs = NULL; + struct sudo_nss *nss; + struct cmnd_info info; + int validated = FLAG_NO_USER | FLAG_NO_HOST; + int m, match = UNSPEC; + time_t now; + debug_decl(sudoers_lookup, SUDOERS_DEBUG_PARSER); + + /* + * Special case checking the "validate", "list" and "kill" pseudo-commands. + */ + if (pwflag) + debug_return_int(sudoers_lookup_pseudo(snl, pw, validated, pwflag)); + + /* Need to be runas user while stat'ing things. */ + if (!set_perms(PERM_RUNAS)) + debug_return_int(validated); + + /* Query each sudoers source and check the user. */ + time(&now); + TAILQ_FOREACH(nss, snl, entries) { + if (nss->query(nss, pw) == -1) { + /* The query function should have printed an error message. */ + SET(validated, VALIDATE_ERROR); + break; + } + + m = sudoers_lookup_check(nss, pw, &validated, &info, &cs, &defs, now); + if (m != UNSPEC) { + match = m; + parse_tree = nss->parse_tree; + } + + if (!sudo_nss_can_continue(nss, m)) + break; + } + if (match != UNSPEC) { + if (info.cmnd_path != NULL) { + /* Update user_cmnd, user_stat, cmnd_status from matching entry. */ + free(user_cmnd); + user_cmnd = info.cmnd_path; + if (user_stat != NULL) + *user_stat = info.cmnd_stat; + *cmnd_status = info.status; + } + if (defs != NULL) + (void)update_defaults(parse_tree, defs, SETDEF_GENERIC, false); + if (!apply_cmndspec(cs)) + SET(validated, VALIDATE_ERROR); + else if (match == ALLOW) + SET(validated, VALIDATE_SUCCESS); + else + SET(validated, VALIDATE_FAILURE); + } + if (!restore_perms()) + SET(validated, VALIDATE_ERROR); + debug_return_int(validated); +} + +static int +display_priv_short(struct sudoers_parse_tree *parse_tree, struct passwd *pw, + struct userspec *us, struct sudo_lbuf *lbuf) +{ + struct privilege *priv; + int nfound = 0; + debug_decl(display_priv_short, SUDOERS_DEBUG_PARSER); + + TAILQ_FOREACH(priv, &us->privileges, entries) { + struct cmndspec *cs; + struct cmndtag tags; + + if (hostlist_matches(parse_tree, pw, &priv->hostlist) != ALLOW) + continue; + + sudoers_defaults_list_to_tags(&priv->defaults, &tags); + TAILQ_FOREACH(cs, &priv->cmndlist, entries) { + struct cmndspec *prev_cs = TAILQ_PREV(cs, cmndspec_list, entries); + + if (prev_cs == NULL || RUNAS_CHANGED(cs, prev_cs)) { + struct member *m; + + /* Start new line, first entry or RunAs changed. */ + if (prev_cs != NULL) + sudo_lbuf_append(lbuf, "\n"); + sudo_lbuf_append(lbuf, " ("); + if (cs->runasuserlist != NULL) { + TAILQ_FOREACH(m, cs->runasuserlist, entries) { + if (m != TAILQ_FIRST(cs->runasuserlist)) + sudo_lbuf_append(lbuf, ", "); + sudoers_format_member(lbuf, parse_tree, m, ", ", + RUNASALIAS); + } + } else if (cs->runasgrouplist == NULL) { + sudo_lbuf_append(lbuf, "%s", def_runas_default); + } else { + sudo_lbuf_append(lbuf, "%s", pw->pw_name); + } + if (cs->runasgrouplist != NULL) { + sudo_lbuf_append(lbuf, " : "); + TAILQ_FOREACH(m, cs->runasgrouplist, entries) { + if (m != TAILQ_FIRST(cs->runasgrouplist)) + sudo_lbuf_append(lbuf, ", "); + sudoers_format_member(lbuf, parse_tree, m, ", ", + RUNASALIAS); + } + } + sudo_lbuf_append(lbuf, ") "); + sudoers_format_cmndspec(lbuf, parse_tree, cs, NULL, tags, true); + } else { + /* Continue existing line. */ + sudo_lbuf_append(lbuf, ", "); + sudoers_format_cmndspec(lbuf, parse_tree, cs, prev_cs, tags, + true); + } + nfound++; + } + sudo_lbuf_append(lbuf, "\n"); + } + debug_return_int(nfound); +} + +/* + * Compare the current cmndspec with the previous one to determine + * whether we need to start a new long entry for "sudo -ll". + * Returns true if we should start a new long entry, else false. + */ +static bool +new_long_entry(struct cmndspec *cs, struct cmndspec *prev_cs) +{ + debug_decl(new_long_entry, SUDOERS_DEBUG_PARSER); + + if (prev_cs == NULL) + debug_return_bool(true); + if (RUNAS_CHANGED(cs, prev_cs) || TAGS_CHANGED(prev_cs->tags, cs->tags)) + debug_return_bool(true); +#ifdef HAVE_PRIV_SET + if (cs->privs && (!prev_cs->privs || strcmp(cs->privs, prev_cs->privs) != 0)) + debug_return_bool(true); + if (cs->limitprivs && (!prev_cs->limitprivs || strcmp(cs->limitprivs, prev_cs->limitprivs) != 0)) + debug_return_bool(true); +#endif /* HAVE_PRIV_SET */ +#ifdef HAVE_SELINUX + if (cs->role && (!prev_cs->role || strcmp(cs->role, prev_cs->role) != 0)) + debug_return_bool(true); + if (cs->type && (!prev_cs->type || strcmp(cs->type, prev_cs->type) != 0)) + debug_return_bool(true); +#endif /* HAVE_SELINUX */ +#ifdef HAVE_APPARMOR + if (cs->apparmor_profile && (!prev_cs->apparmor_profile || strcmp(cs->apparmor_profile, prev_cs->apparmor_profile) != 0)) + debug_return_bool(true); +#endif /* HAVE_APPARMOR */ + if (cs->runchroot && (!prev_cs->runchroot || strcmp(cs->runchroot, prev_cs->runchroot) != 0)) + debug_return_bool(true); + if (cs->runcwd && (!prev_cs->runcwd || strcmp(cs->runcwd, prev_cs->runcwd) != 0)) + debug_return_bool(true); + if (cs->timeout != prev_cs->timeout) + debug_return_bool(true); + if (cs->notbefore != prev_cs->notbefore) + debug_return_bool(true); + if (cs->notafter != prev_cs->notafter) + debug_return_bool(true); + debug_return_bool(false); +} + +static int +display_priv_long(struct sudoers_parse_tree *parse_tree, struct passwd *pw, + struct userspec *us, struct sudo_lbuf *lbuf) +{ + struct privilege *priv; + int nfound = 0; + debug_decl(display_priv_long, SUDOERS_DEBUG_PARSER); + + TAILQ_FOREACH(priv, &us->privileges, entries) { + struct cmndspec *cs, *prev_cs; + + if (hostlist_matches(parse_tree, pw, &priv->hostlist) != ALLOW) + continue; + prev_cs = NULL; + TAILQ_FOREACH(cs, &priv->cmndlist, entries) { + struct defaults *d; + struct member *m; + + if (new_long_entry(cs, prev_cs)) { + int olen; + + if (priv->ldap_role != NULL) { + sudo_lbuf_append(lbuf, _("\nLDAP Role: %s\n"), + priv->ldap_role); + } else { + sudo_lbuf_append(lbuf, "%s", _("\nSudoers entry:\n")); + } + sudo_lbuf_append(lbuf, "%s", _(" RunAsUsers: ")); + if (cs->runasuserlist != NULL) { + TAILQ_FOREACH(m, cs->runasuserlist, entries) { + if (m != TAILQ_FIRST(cs->runasuserlist)) + sudo_lbuf_append(lbuf, ", "); + sudoers_format_member(lbuf, parse_tree, m, ", ", + RUNASALIAS); + } + } else if (cs->runasgrouplist == NULL) { + sudo_lbuf_append(lbuf, "%s", def_runas_default); + } else { + sudo_lbuf_append(lbuf, "%s", pw->pw_name); + } + sudo_lbuf_append(lbuf, "\n"); + if (cs->runasgrouplist != NULL) { + sudo_lbuf_append(lbuf, "%s", _(" RunAsGroups: ")); + TAILQ_FOREACH(m, cs->runasgrouplist, entries) { + if (m != TAILQ_FIRST(cs->runasgrouplist)) + sudo_lbuf_append(lbuf, ", "); + sudoers_format_member(lbuf, parse_tree, m, ", ", + RUNASALIAS); + } + sudo_lbuf_append(lbuf, "\n"); + } + olen = lbuf->len; + sudo_lbuf_append(lbuf, "%s", _(" Options: ")); + TAILQ_FOREACH(d, &priv->defaults, entries) { + sudoers_format_default(lbuf, d); + sudo_lbuf_append(lbuf, ", "); + } + if (TAG_SET(cs->tags.setenv)) + sudo_lbuf_append(lbuf, "%ssetenv, ", cs->tags.setenv ? "" : "!"); + if (TAG_SET(cs->tags.noexec)) + sudo_lbuf_append(lbuf, "%snoexec, ", cs->tags.noexec ? "" : "!"); + if (TAG_SET(cs->tags.intercept)) + sudo_lbuf_append(lbuf, "%sintercept, ", cs->tags.intercept ? "" : "!"); + if (TAG_SET(cs->tags.nopasswd)) + sudo_lbuf_append(lbuf, "%sauthenticate, ", cs->tags.nopasswd ? "!" : ""); + if (TAG_SET(cs->tags.log_input)) + sudo_lbuf_append(lbuf, "%slog_input, ", cs->tags.log_input ? "" : "!"); + if (TAG_SET(cs->tags.log_output)) + sudo_lbuf_append(lbuf, "%slog_output, ", cs->tags.log_output ? "" : "!"); + if (lbuf->buf[lbuf->len - 2] == ',') { + lbuf->len -= 2; /* remove trailing ", " */ + sudo_lbuf_append(lbuf, "\n"); + } else { + lbuf->len = olen; /* no options */ + } +#ifdef HAVE_PRIV_SET + if (cs->privs) + sudo_lbuf_append(lbuf, " Privs: %s\n", cs->privs); + if (cs->limitprivs) + sudo_lbuf_append(lbuf, " Limitprivs: %s\n", cs->limitprivs); +#endif /* HAVE_PRIV_SET */ +#ifdef HAVE_SELINUX + if (cs->role) + sudo_lbuf_append(lbuf, " Role: %s\n", cs->role); + if (cs->type) + sudo_lbuf_append(lbuf, " Type: %s\n", cs->type); +#endif /* HAVE_SELINUX */ + if (cs->runchroot != NULL) + sudo_lbuf_append(lbuf, " Chroot: %s\n", cs->runchroot); + if (cs->runcwd != NULL) + sudo_lbuf_append(lbuf, " Cwd: %s\n", cs->runcwd); + if (cs->timeout > 0) { + char numbuf[(((sizeof(int) * 8) + 2) / 3) + 2]; + (void)snprintf(numbuf, sizeof(numbuf), "%d", cs->timeout); + sudo_lbuf_append(lbuf, " Timeout: %s\n", numbuf); + } + if (cs->notbefore != UNSPEC) { + char buf[sizeof("CCYYMMDDHHMMSSZ")] = ""; + struct tm gmt; + int len; + if (gmtime_r(&cs->notbefore, &gmt) != NULL) { + len = strftime(buf, sizeof(buf), "%Y%m%d%H%M%SZ", &gmt); + if (len != 0 && buf[sizeof(buf) - 1] == '\0') + sudo_lbuf_append(lbuf, " NotBefore: %s\n", buf); + } + } + if (cs->notafter != UNSPEC) { + char buf[sizeof("CCYYMMDDHHMMSSZ")] = ""; + struct tm gmt; + int len; + if (gmtime_r(&cs->notafter, &gmt) != NULL) { + len = strftime(buf, sizeof(buf), "%Y%m%d%H%M%SZ", &gmt); + if (len != 0 && buf[sizeof(buf) - 1] == '\0') + sudo_lbuf_append(lbuf, " NotAfter: %s\n", buf); + } + } + sudo_lbuf_append(lbuf, "%s", _(" Commands:\n")); + } + sudo_lbuf_append(lbuf, "\t"); + sudoers_format_member(lbuf, parse_tree, cs->cmnd, "\n\t", + CMNDALIAS); + sudo_lbuf_append(lbuf, "\n"); + prev_cs = cs; + nfound++; + } + } + debug_return_int(nfound); +} + +static int +sudo_display_userspecs(struct sudoers_parse_tree *parse_tree, struct passwd *pw, + struct sudo_lbuf *lbuf, bool verbose) +{ + struct userspec *us; + int nfound = 0; + debug_decl(sudo_display_userspecs, SUDOERS_DEBUG_PARSER); + + TAILQ_FOREACH(us, &parse_tree->userspecs, entries) { + if (userlist_matches(parse_tree, pw, &us->users) != ALLOW) + continue; + + if (verbose) + nfound += display_priv_long(parse_tree, pw, us, lbuf); + else + nfound += display_priv_short(parse_tree, pw, us, lbuf); + } + if (sudo_lbuf_error(lbuf)) + debug_return_int(-1); + debug_return_int(nfound); +} + +/* + * Display matching Defaults entries for the given user on this host. + */ +static int +display_defaults(struct sudoers_parse_tree *parse_tree, struct passwd *pw, + struct sudo_lbuf *lbuf) +{ + struct defaults *d; + const char *prefix; + int nfound = 0; + debug_decl(display_defaults, SUDOERS_DEBUG_PARSER); + + if (lbuf->len == 0 || isspace((unsigned char)lbuf->buf[lbuf->len - 1])) + prefix = " "; + else + prefix = ", "; + + TAILQ_FOREACH(d, &parse_tree->defaults, entries) { + switch (d->type) { + case DEFAULTS_HOST: + if (hostlist_matches(parse_tree, pw, &d->binding->members) != ALLOW) + continue; + break; + case DEFAULTS_USER: + if (userlist_matches(parse_tree, pw, &d->binding->members) != ALLOW) + continue; + break; + case DEFAULTS_RUNAS: + case DEFAULTS_CMND: + continue; + } + sudo_lbuf_append(lbuf, "%s", prefix); + sudoers_format_default(lbuf, d); + prefix = ", "; + nfound++; + } + if (sudo_lbuf_error(lbuf)) + debug_return_int(-1); + debug_return_int(nfound); +} + +/* + * Display Defaults entries of the given type. + */ +static int +display_bound_defaults_by_type(struct sudoers_parse_tree *parse_tree, + int deftype, struct sudo_lbuf *lbuf) +{ + struct defaults *d; + struct defaults_binding *binding = NULL; + struct member *m; + const char *dsep; + int atype, nfound = 0; + debug_decl(display_bound_defaults_by_type, SUDOERS_DEBUG_PARSER); + + switch (deftype) { + case DEFAULTS_HOST: + atype = HOSTALIAS; + dsep = "@"; + break; + case DEFAULTS_USER: + atype = USERALIAS; + dsep = ":"; + break; + case DEFAULTS_RUNAS: + atype = RUNASALIAS; + dsep = ">"; + break; + case DEFAULTS_CMND: + atype = CMNDALIAS; + dsep = "!"; + break; + default: + debug_return_int(-1); + } + TAILQ_FOREACH(d, &parse_tree->defaults, entries) { + if (d->type != deftype) + continue; + + nfound++; + if (binding != d->binding) { + binding = d->binding; + if (nfound != 1) + sudo_lbuf_append(lbuf, "\n"); + sudo_lbuf_append(lbuf, " Defaults%s", dsep); + TAILQ_FOREACH(m, &binding->members, entries) { + if (m != TAILQ_FIRST(&binding->members)) + sudo_lbuf_append(lbuf, ", "); + sudoers_format_member(lbuf, parse_tree, m, ", ", atype); + } + sudo_lbuf_append(lbuf, " "); + } else + sudo_lbuf_append(lbuf, ", "); + sudoers_format_default(lbuf, d); + } + + if (sudo_lbuf_error(lbuf)) + debug_return_int(-1); + debug_return_int(nfound); +} + +/* + * Display Defaults entries that are per-runas or per-command + */ +static int +display_bound_defaults(struct sudoers_parse_tree *parse_tree, + struct passwd *pw, struct sudo_lbuf *lbuf) +{ + int nfound = 0; + debug_decl(display_bound_defaults, SUDOERS_DEBUG_PARSER); + + /* XXX - should only print ones that match what the user can do. */ + nfound += display_bound_defaults_by_type(parse_tree, DEFAULTS_RUNAS, lbuf); + nfound += display_bound_defaults_by_type(parse_tree, DEFAULTS_CMND, lbuf); + + if (sudo_lbuf_error(lbuf)) + debug_return_int(-1); + debug_return_int(nfound); +} + +static int +output(const char *buf) +{ + struct sudo_conv_message msg; + struct sudo_conv_reply repl; + debug_decl(output, SUDOERS_DEBUG_NSS); + + /* Call conversation function */ + memset(&msg, 0, sizeof(msg)); + msg.msg_type = SUDO_CONV_INFO_MSG; + msg.msg = buf; + memset(&repl, 0, sizeof(repl)); + if (sudo_conv(1, &msg, &repl, NULL) == -1) + debug_return_int(0); + debug_return_int(strlen(buf)); +} + +/* + * Print out privileges for the specified user. + * Returns true on success or -1 on error. + */ +int +display_privs(struct sudo_nss_list *snl, struct passwd *pw, bool verbose) +{ + struct sudo_nss *nss; + struct sudo_lbuf def_buf, priv_buf; + struct stat sb; + int cols, count, olen, n; + debug_decl(display_privs, SUDOERS_DEBUG_PARSER); + + cols = sudo_user.cols; + if (fstat(STDOUT_FILENO, &sb) == 0 && S_ISFIFO(sb.st_mode)) + cols = 0; + sudo_lbuf_init(&def_buf, output, 4, NULL, cols); + sudo_lbuf_init(&priv_buf, output, 8, NULL, cols); + + sudo_lbuf_append(&def_buf, _("Matching Defaults entries for %s on %s:\n"), + pw->pw_name, user_srunhost); + count = 0; + TAILQ_FOREACH(nss, snl, entries) { + n = display_defaults(nss->parse_tree, pw, &def_buf); + if (n == -1) + goto bad; + count += n; + } + if (count != 0) { + sudo_lbuf_append(&def_buf, "\n\n"); + } else { + /* Undo Defaults header. */ + def_buf.len = 0; + } + + /* Display Runas and Cmnd-specific defaults. */ + olen = def_buf.len; + sudo_lbuf_append(&def_buf, _("Runas and Command-specific defaults for %s:\n"), + pw->pw_name); + count = 0; + TAILQ_FOREACH(nss, snl, entries) { + n = display_bound_defaults(nss->parse_tree, pw, &def_buf); + if (n == -1) + goto bad; + count += n; + } + if (count != 0) { + sudo_lbuf_append(&def_buf, "\n\n"); + } else { + /* Undo Defaults header. */ + def_buf.len = olen; + } + + /* Display privileges from all sources. */ + sudo_lbuf_append(&priv_buf, + _("User %s may run the following commands on %s:\n"), + pw->pw_name, user_srunhost); + count = 0; + TAILQ_FOREACH(nss, snl, entries) { + if (nss->query(nss, pw) != -1) { + n = sudo_display_userspecs(nss->parse_tree, pw, &priv_buf, verbose); + if (n == -1) + goto bad; + count += n; + } + } + if (count == 0) { + def_buf.len = 0; + priv_buf.len = 0; + sudo_lbuf_append(&priv_buf, + _("User %s is not allowed to run sudo on %s.\n"), + pw->pw_name, user_srunhost); + } + if (sudo_lbuf_error(&def_buf) || sudo_lbuf_error(&priv_buf)) + goto bad; + + sudo_lbuf_print(&def_buf); + sudo_lbuf_print(&priv_buf); + + sudo_lbuf_destroy(&def_buf); + sudo_lbuf_destroy(&priv_buf); + + debug_return_int(true); +bad: + sudo_lbuf_destroy(&def_buf); + sudo_lbuf_destroy(&priv_buf); + + debug_return_int(-1); +} + +static int +display_cmnd_check(struct sudoers_parse_tree *parse_tree, struct passwd *pw, + time_t now) +{ + int host_match, runas_match, cmnd_match = UNSPEC; + char *saved_user_cmnd, *saved_user_base; + struct cmndspec *cs; + struct privilege *priv; + struct userspec *us; + debug_decl(display_cmnd_check, SUDOERS_DEBUG_PARSER); + + /* + * For "sudo -l command", user_cmnd is "list" and the actual + * command we are checking is in list_cmnd. + */ + saved_user_cmnd = user_cmnd; + saved_user_base = user_base; + user_cmnd = list_cmnd; + user_base = sudo_basename(user_cmnd); + + TAILQ_FOREACH_REVERSE(us, &parse_tree->userspecs, userspec_list, entries) { + if (userlist_matches(parse_tree, pw, &us->users) != ALLOW) + continue; + TAILQ_FOREACH_REVERSE(priv, &us->privileges, privilege_list, entries) { + host_match = hostlist_matches(parse_tree, pw, &priv->hostlist); + if (host_match != ALLOW) + continue; + TAILQ_FOREACH_REVERSE(cs, &priv->cmndlist, cmndspec_list, entries) { + if (cs->notbefore != UNSPEC) { + if (now < cs->notbefore) + continue; + } + if (cs->notafter != UNSPEC) { + if (now > cs->notafter) + continue; + } + runas_match = runaslist_matches(parse_tree, cs->runasuserlist, + cs->runasgrouplist, NULL, NULL); + if (runas_match == ALLOW) { + cmnd_match = cmnd_matches(parse_tree, cs->cmnd, + cs->runchroot, NULL); + if (cmnd_match != UNSPEC) + goto done; + } + } + } + } +done: + user_cmnd = saved_user_cmnd; + user_base = saved_user_base; + debug_return_int(cmnd_match); +} + +/* + * Check user_cmnd against sudoers and print the matching entry if the + * command is allowed. + * Returns true if the command is allowed, false if not or -1 on error. + */ +int +display_cmnd(struct sudo_nss_list *snl, struct passwd *pw) +{ + struct sudo_nss *nss; + int m, match = UNSPEC; + int ret = false; + time_t now; + debug_decl(display_cmnd, SUDOERS_DEBUG_PARSER); + + /* Iterate over each source, checking for the command. */ + time(&now); + TAILQ_FOREACH(nss, snl, entries) { + if (nss->query(nss, pw) == -1) { + /* The query function should have printed an error message. */ + debug_return_int(-1); + } + + m = display_cmnd_check(nss->parse_tree, pw, now); + if (m != UNSPEC) + match = m; + + if (!sudo_nss_can_continue(nss, m)) + break; + } + if (match == ALLOW) { + const int len = sudo_printf(SUDO_CONV_INFO_MSG, "%s%s%s\n", + list_cmnd, user_args ? " " : "", user_args ? user_args : ""); + ret = len < 0 ? -1 : true; + } + debug_return_int(ret); +} diff --git a/plugins/sudoers/parse.h b/plugins/sudoers/parse.h new file mode 100644 index 0000000..cda2a3f --- /dev/null +++ b/plugins/sudoers/parse.h @@ -0,0 +1,458 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1996, 1998-2000, 2004, 2007-2022 + * Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#ifndef SUDOERS_PARSE_H +#define SUDOERS_PARSE_H + +#include +#include "sudo_queue.h" + +/* Characters that must be quoted in sudoers. */ +#define SUDOERS_QUOTED ":,=#\"" +#define SUDOERS_QUOTED_CMD ":,= \t#" +#define SUDOERS_QUOTED_ARG ":,=#" + +/* Returns true if string 's' contains meta characters. */ +#define has_meta(s) (strpbrk(s, "\\?*[]") != NULL) + +/* Match by name, not inode, when fuzzing. */ +#ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION +# define SUDOERS_NAME_MATCH +#endif + +#undef UNSPEC +#define UNSPEC -1 +#undef DENY +#define DENY 0 +#undef ALLOW +#define ALLOW 1 +#undef IMPLIED +#define IMPLIED 2 + +/* + * Initialize all tags to UNSPEC. + */ +#define TAGS_INIT(t) do { \ + (t)->follow = UNSPEC; \ + (t)->intercept = UNSPEC; \ + (t)->log_input = UNSPEC; \ + (t)->log_output = UNSPEC; \ + (t)->noexec = UNSPEC; \ + (t)->nopasswd = UNSPEC; \ + (t)->send_mail = UNSPEC; \ + (t)->setenv = UNSPEC; \ +} while (0) + +/* + * Copy any tags set in t2 into t, overriding the value in t. + */ +#define TAGS_MERGE(t, t2) do { \ + if ((t2).follow != UNSPEC) \ + (t).follow = (t2).follow; \ + if ((t2).intercept != UNSPEC) \ + (t).intercept = (t2).intercept; \ + if ((t2).log_input != UNSPEC) \ + (t).log_input = (t2).log_input; \ + if ((t2).log_output != UNSPEC) \ + (t).log_output = (t2).log_output; \ + if ((t2).noexec != UNSPEC) \ + (t).noexec = (t2).noexec; \ + if ((t2).nopasswd != UNSPEC) \ + (t).nopasswd = (t2).nopasswd; \ + if ((t2).send_mail != UNSPEC) \ + (t).send_mail = (t2).send_mail; \ + if ((t2).setenv != UNSPEC) \ + (t).setenv = (t2).setenv; \ +} while (0) + +/* + * Returns true if any tag are not UNSPEC, else false. + */ +#define TAGS_SET(t) \ + ((t).follow != UNSPEC || (t).intercept != UNSPEC || \ + (t).log_input != UNSPEC || (t).log_output != UNSPEC || \ + (t).noexec != UNSPEC || (t).nopasswd != UNSPEC || \ + (t).send_mail != UNSPEC || (t).setenv != UNSPEC) + +/* + * Returns true if the specified tag is not UNSPEC or IMPLIED, else false. + */ +#define TAG_SET(tt) \ + ((tt) != UNSPEC && (tt) != IMPLIED) + +/* + * Returns true if any tags set in nt differ between ot and nt, else false. + */ +#define TAGS_CHANGED(ot, nt) \ + ((TAG_SET((nt).follow) && (nt).follow != (ot).follow) || \ + (TAG_SET((nt).intercept) && (nt).intercept != (ot).intercept) || \ + (TAG_SET((nt).log_input) && (nt).log_input != (ot).log_input) || \ + (TAG_SET((nt).log_output) && (nt).log_output != (ot).log_output) || \ + (TAG_SET((nt).noexec) && (nt).noexec != (ot).noexec) || \ + (TAG_SET((nt).nopasswd) && (nt).nopasswd != (ot).nopasswd) || \ + (TAG_SET((nt).setenv) && (nt).setenv != (ot).setenv) || \ + (TAG_SET((nt).send_mail) && (nt).send_mail != (ot).send_mail)) + +/* + * Returns true if the runas user and group lists match, else false. + */ +#define RUNAS_CHANGED(cs1, cs2) \ + ((cs1)->runasuserlist != (cs2)->runasuserlist || \ + (cs1)->runasgrouplist != (cs2)->runasgrouplist) + +struct command_digest { + TAILQ_ENTRY(command_digest) entries; + unsigned int digest_type; + char *digest_str; +}; + +/* + * Tags associated with a command. + * Possible values: true, false, IMPLIED, UNSPEC. + */ +struct cmndtag { + signed int follow: 3; + signed int intercept: 3; + signed int log_input: 3; + signed int log_output: 3; + signed int noexec: 3; + signed int nopasswd: 3; + signed int send_mail: 3; + signed int setenv: 3; +}; + +/* + * Per-command option container struct. + */ +struct command_options { + time_t notbefore; /* time restriction */ + time_t notafter; /* time restriction */ + int timeout; /* command timeout */ + char *runcwd; /* working directory */ + char *runchroot; /* root directory */ +#ifdef HAVE_SELINUX + char *role, *type; /* SELinux role and type */ +#endif +#ifdef HAVE_APPARMOR + char *apparmor_profile; /* AppArmor profile */ +#endif +#ifdef HAVE_PRIV_SET + char *privs, *limitprivs; /* Solaris privilege sets */ +#endif +}; + +/* + * The parsed sudoers file is stored as a collection of linked lists, + * modelled after the yacc grammar. + * + * Other than the alias struct, which is stored in a red-black tree, + * the data structure used is a doubly-linked tail queue. While sudoers + * is being parsed, a headless tail queue is used where the first entry + * acts as the head and the prev pointer does double duty as the tail pointer. + * This makes it possible to trivially append sub-lists. In addition, the prev + * pointer is always valid (even if it points to itself). Unlike a circle + * queue, the next pointer of the last entry is NULL and does not point back + * to the head. When the tail queue is finalized, it is converted to a + * normal BSD tail queue. + */ + +/* + * Tail queue list head structures. + */ +TAILQ_HEAD(defaults_list, defaults); +TAILQ_HEAD(userspec_list, userspec); +TAILQ_HEAD(member_list, member); +TAILQ_HEAD(privilege_list, privilege); +TAILQ_HEAD(cmndspec_list, cmndspec); +TAILQ_HEAD(command_digest_list, command_digest); +STAILQ_HEAD(comment_list, sudoers_comment); +TAILQ_HEAD(sudoers_parse_tree_list, sudoers_parse_tree); + +/* + * Structure describing a user specification and list thereof. + */ +struct userspec { + TAILQ_ENTRY(userspec) entries; + struct member_list users; /* list of users */ + struct privilege_list privileges; /* list of privileges */ + struct comment_list comments; /* optional comments */ + int line; /* line number in sudoers */ + int column; /* column number in sudoers */ + char *file; /* name of sudoers file */ +}; + +/* + * Structure describing a privilege specification. + */ +struct privilege { + TAILQ_ENTRY(privilege) entries; + char *ldap_role; /* LDAP sudoRole */ + struct member_list hostlist; /* list of hosts */ + struct cmndspec_list cmndlist; /* list of Cmnd_Specs */ + struct defaults_list defaults; /* list of sudoOptions */ +}; + +/* + * A command with option args and digest. + * XXX - merge into struct member + */ +struct sudo_command { + char *cmnd; + char *args; + struct command_digest_list digests; +}; + +/* + * Structure describing a linked list of Cmnd_Specs. + * XXX - include struct command_options instead of its contents inline + */ +struct cmndspec { + TAILQ_ENTRY(cmndspec) entries; + struct member_list *runasuserlist; /* list of runas users */ + struct member_list *runasgrouplist; /* list of runas groups */ + struct member *cmnd; /* command to allow/deny */ + struct cmndtag tags; /* tag specificaion */ + int timeout; /* command timeout */ + time_t notbefore; /* time restriction */ + time_t notafter; /* time restriction */ + char *runcwd; /* working directory */ + char *runchroot; /* root directory */ +#ifdef HAVE_SELINUX + char *role, *type; /* SELinux role and type */ +#endif +#ifdef HAVE_APPARMOR + char *apparmor_profile; /* AppArmor profile */ +#endif +#ifdef HAVE_PRIV_SET + char *privs, *limitprivs; /* Solaris privilege sets */ +#endif +}; + +/* + * Generic structure to hold users, hosts, commands. + */ +struct member { + TAILQ_ENTRY(member) entries; + char *name; /* member name */ + short type; /* type (see gram.h) */ + short negated; /* negated via '!'? */ +}; + +struct runascontainer { + struct member *runasusers; + struct member *runasgroups; +}; + +struct defaults_binding { + struct member_list members; + unsigned int refcnt; +}; + +struct sudoers_comment { + STAILQ_ENTRY(sudoers_comment) entries; + char *str; +}; + +/* + * Generic structure to hold {User,Host,Runas,Cmnd}_Alias + * Aliases are stored in a red-black tree, sorted by name and type. + */ +struct alias { + char *name; /* alias name */ + unsigned short type; /* {USER,HOST,RUNAS,CMND}ALIAS */ + short used; /* "used" flag for cycle detection */ + int line; /* line number of alias entry */ + int column; /* column number of alias entry */ + char *file; /* file the alias entry was in */ + struct member_list members; /* list of alias members */ +}; + +/* + * Structure describing a Defaults entry in sudoers. + */ +struct defaults { + TAILQ_ENTRY(defaults) entries; + char *var; /* variable name */ + char *val; /* variable value */ + struct defaults_binding *binding; /* user/host/runas binding */ + char *file; /* file Defaults entry was in */ + short type; /* DEFAULTS{,_USER,_RUNAS,_HOST} */ + char op; /* true, false, '+', '-' */ + char error; /* parse error flag */ + int line; /* line number of Defaults entry */ + int column; /* column number of Defaults entry */ +}; + +/* + * Parsed sudoers policy. + */ +struct sudoers_parse_tree { + TAILQ_ENTRY(sudoers_parse_tree) entries; + struct userspec_list userspecs; + struct defaults_list defaults; + struct rbtree *aliases; + char *shost, *lhost; +}; + +/* + * Info about the command being resolved. + */ +struct cmnd_info { + struct stat cmnd_stat; + char *cmnd_path; + int status; + bool intercepted; +}; + +/* + * The parser passes pointers to data structures that are not stored anywhere. + * We add them to the leak list at allocation time and remove them from + * the list when they are stored in another data structure. + * This makes it possible to free data on error that would otherwise be leaked. + */ +enum parser_leak_types { + LEAK_UNKNOWN, + LEAK_PRIVILEGE, + LEAK_CMNDSPEC, + LEAK_DEFAULTS, + LEAK_MEMBER, + LEAK_DIGEST, + LEAK_RUNAS, + LEAK_PTR +}; +struct parser_leak_entry { + SLIST_ENTRY(parser_leak_entry) entries; + enum parser_leak_types type; + union { + struct command_digest *dig; + struct privilege *p; + struct cmndspec *cs; + struct defaults *d; + struct member *m; + struct runascontainer *rc; + void *ptr; + } u; +}; +SLIST_HEAD(parser_leak_list, parser_leak_entry); + +/* alias.c */ +struct rbtree *alloc_aliases(void); +void free_aliases(struct rbtree *aliases); +bool no_aliases(struct sudoers_parse_tree *parse_tree); +bool alias_add(struct sudoers_parse_tree *parse_tree, char *name, int type, char *file, int line, int column, struct member *members); +const char *alias_type_to_string(int alias_type); +struct alias *alias_get(struct sudoers_parse_tree *parse_tree, const char *name, int type); +struct alias *alias_remove(struct sudoers_parse_tree *parse_tree, const char *name, int type); +bool alias_find_used(struct sudoers_parse_tree *parse_tree, struct rbtree *used_aliases); +void alias_apply(struct sudoers_parse_tree *parse_tree, int (*func)(struct sudoers_parse_tree *, struct alias *, void *), void *cookie); +void alias_free(void *a); +void alias_put(struct alias *a); + +/* check_aliases.c */ +int check_aliases(struct sudoers_parse_tree *parse_tree, bool strict, bool quiet, int (*cb_unused)(struct sudoers_parse_tree *, struct alias *, void *)); + +/* gram.y */ +extern struct sudoers_parse_tree parsed_policy; +extern bool (*sudoers_error_hook)(const char *file, int line, int column, const char *fmt, va_list args); +bool init_parser(const char *path, bool quiet, bool strict); +void free_member(struct member *m); +void free_members(struct member_list *members); +void free_cmndspec(struct cmndspec *cs, struct cmndspec_list *csl); +void free_cmndspecs(struct cmndspec_list *csl); +void free_privilege(struct privilege *priv); +void free_userspec(struct userspec *us); +void free_userspecs(struct userspec_list *usl); +void free_default(struct defaults *def); +void free_defaults(struct defaults_list *defs); +void init_parse_tree(struct sudoers_parse_tree *parse_tree, char *lhost, char *shost); +void free_parse_tree(struct sudoers_parse_tree *parse_tree); +void reparent_parse_tree(struct sudoers_parse_tree *new_tree); +bool parser_leak_add(enum parser_leak_types type, void *v); +bool parser_leak_remove(enum parser_leak_types type, void *v); +void parser_leak_init(void); + +/* match_addr.c */ +bool addr_matches(char *n); + +/* match_command.c */ +bool command_matches(const char *sudoers_cmnd, const char *sudoers_args, const char *runchroot, struct cmnd_info *info, const struct command_digest_list *digests); + +/* match_digest.c */ +bool digest_matches(int fd, const char *path, const char *runchroot, const struct command_digest_list *digests); + +/* match.c */ +struct group; +struct passwd; +bool group_matches(const char *sudoers_group, const struct group *gr); +bool hostname_matches(const char *shost, const char *lhost, const char *pattern); +bool netgr_matches(const char *netgr, const char *lhost, const char *shost, const char *user); +bool usergr_matches(const char *group, const char *user, const struct passwd *pw); +bool userpw_matches(const char *sudoers_user, const char *user, const struct passwd *pw); +int cmnd_matches(struct sudoers_parse_tree *parse_tree, const struct member *m, const char *runchroot, struct cmnd_info *info); +int cmnd_matches_all(struct sudoers_parse_tree *parse_tree, const struct member *m, const char *runchroot, struct cmnd_info *info); +int cmndlist_matches(struct sudoers_parse_tree *parse_tree, const struct member_list *list, const char *runchroot, struct cmnd_info *info); +int host_matches(struct sudoers_parse_tree *parse_tree, const struct passwd *pw, const char *host, const char *shost, const struct member *m); +int hostlist_matches(struct sudoers_parse_tree *parse_tree, const struct passwd *pw, const struct member_list *list); +int runaslist_matches(struct sudoers_parse_tree *parse_tree, const struct member_list *user_list, const struct member_list *group_list, struct member **matching_user, struct member **matching_group); +int user_matches(struct sudoers_parse_tree *parse_tree, const struct passwd *pw, const struct member *m); +int userlist_matches(struct sudoers_parse_tree *parse_tree, const struct passwd *pw, const struct member_list *list); +const char *sudo_getdomainname(void); +struct gid_list *runas_getgroups(void); + +/* toke.c */ +void init_lexer(void); + +/* base64.c */ +size_t base64_decode(const char *str, unsigned char *dst, size_t dsize); +size_t base64_encode(const unsigned char *in, size_t in_len, char *out, size_t out_len); + +/* timeout.c */ +int parse_timeout(const char *timestr); + +/* gentime.c */ +time_t parse_gentime(const char *expstr); + +/* filedigest.c */ +unsigned char *sudo_filedigest(int fd, const char *file, int digest_type, size_t *digest_len); + +/* digestname.c */ +const char *digest_type_to_name(int digest_type); + +/* parse.c */ +struct sudo_nss_list; +int sudoers_lookup(struct sudo_nss_list *snl, struct passwd *pw, int *cmnd_status, int pwflag); +int display_privs(struct sudo_nss_list *snl, struct passwd *pw, bool verbose); +int display_cmnd(struct sudo_nss_list *snl, struct passwd *pw); + +/* parse_ldif.c */ +bool sudoers_parse_ldif(struct sudoers_parse_tree *parse_tree, FILE *fp, const char *sudoers_base, bool store_options); + +/* fmtsudoers.c */ +struct sudo_lbuf; +bool sudoers_format_cmndspec(struct sudo_lbuf *lbuf, struct sudoers_parse_tree *parse_tree, struct cmndspec *cs, struct cmndspec *prev_cs, struct cmndtag tags, bool expand_aliases); +bool sudoers_format_default(struct sudo_lbuf *lbuf, struct defaults *d); +bool sudoers_format_default_line(struct sudo_lbuf *lbuf, struct sudoers_parse_tree *parse_tree, struct defaults *d, struct defaults **next, bool expand_aliases); +bool sudoers_format_member(struct sudo_lbuf *lbuf, struct sudoers_parse_tree *parse_tree, struct member *m, const char *separator, int alias_type); +bool sudoers_format_privilege(struct sudo_lbuf *lbuf, struct sudoers_parse_tree *parse_tree, struct privilege *priv, bool expand_aliases); +bool sudoers_format_userspec(struct sudo_lbuf *lbuf, struct sudoers_parse_tree *parse_tree, struct userspec *us, bool expand_aliases); +bool sudoers_format_userspecs(struct sudo_lbuf *lbuf, struct sudoers_parse_tree *parse_tree, const char *separator, bool expand_aliases, bool flush); +bool sudoers_defaults_to_tags(const char *var, const char *val, int op, struct cmndtag *tags); +bool sudoers_defaults_list_to_tags(struct defaults_list *defs, struct cmndtag *tags); + +#endif /* SUDOERS_PARSE_H */ diff --git a/plugins/sudoers/parse_ldif.c b/plugins/sudoers/parse_ldif.c new file mode 100644 index 0000000..2b71092 --- /dev/null +++ b/plugins/sudoers/parse_ldif.c @@ -0,0 +1,781 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2018-2020 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include +#ifdef HAVE_STRINGS_H +# include +#endif /* HAVE_STRINGS_H */ +#include + +#include "sudoers.h" +#include "sudo_ldap.h" +#include "redblack.h" +#include "strlist.h" +#include + +struct sudo_role { + STAILQ_ENTRY(sudo_role) entries; + char *cn; + char *notbefore; + char *notafter; + double order; + struct sudoers_str_list *cmnds; + struct sudoers_str_list *hosts; + struct sudoers_str_list *users; + struct sudoers_str_list *runasusers; + struct sudoers_str_list *runasgroups; + struct sudoers_str_list *options; +}; +STAILQ_HEAD(sudo_role_list, sudo_role); + +static void +sudo_role_free(struct sudo_role *role) +{ + debug_decl(sudo_role_free, SUDOERS_DEBUG_UTIL); + + if (role != NULL) { + free(role->cn); + free(role->notbefore); + free(role->notafter); + str_list_free(role->cmnds); + str_list_free(role->hosts); + str_list_free(role->users); + str_list_free(role->runasusers); + str_list_free(role->runasgroups); + str_list_free(role->options); + free(role); + } + + debug_return; +} + +static struct sudo_role * +sudo_role_alloc(void) +{ + struct sudo_role *role; + debug_decl(sudo_role_alloc, SUDOERS_DEBUG_UTIL); + + role = calloc(1, sizeof(*role)); + if (role != NULL) { + role->cmnds = str_list_alloc(); + role->hosts = str_list_alloc(); + role->users = str_list_alloc(); + role->runasusers = str_list_alloc(); + role->runasgroups = str_list_alloc(); + role->options = str_list_alloc(); + if (role->cmnds == NULL || role->hosts == NULL || + role->users == NULL || role->runasusers == NULL || + role->runasgroups == NULL || role->options == NULL) { + sudo_role_free(role); + role = NULL; + } + } + + debug_return_ptr(role); +} + +/* + * Parse an LDIF line, filling in attribute name and value. + * Modifies line, decodes base64 attribute values if present. + * See http://www.faqs.org/rfcs/rfc2849.html + */ +static bool +ldif_parse_attribute(char *line, char **name, char **value) +{ + bool encoded = false; + char *attr, *cp, *ep, *colon; + size_t len; + debug_decl(ldif_parse_attribute, SUDOERS_DEBUG_UTIL); + + /* Parse attribute name: [a-zA-Z][a-zA-Z0-9-]*: */ + if (!isalpha((unsigned char)*line)) + debug_return_bool(false); + for (cp = line + 1; *cp != ':' && *cp != '\0'; cp++) { + if (!isalnum((unsigned char)*cp) && *cp != '-') + debug_return_bool(false); + } + if (*cp != ':') + debug_return_bool(false); + colon = cp++; + + /* Check for foo:: base64str. */ + if (*cp == ':') { + encoded = true; + cp++; + } + + /* Trim leading and trailing space. */ + while (*cp == ' ') + cp++; + + ep = cp + strlen(cp); + while (ep > cp && ep[-1] == ' ') { + ep--; + /* Don't trim escaped trailing space if not base64. */ + if (!encoded && ep != cp && ep[-1] == '\\') + break; + *ep = '\0'; + } + + attr = cp; + if (encoded) { + /* + * Decode base64 inline and add NUL-terminator. + * The copy allows us to provide a useful message on error. + */ + char *copy = strdup(attr); + if (copy == NULL) { + sudo_fatalx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + } + len = base64_decode(attr, (unsigned char *)copy, strlen(copy)); + if (len == (size_t)-1) { + free(copy); + debug_return_bool(false); + } + memcpy(attr, copy, len); + attr[len] = '\0'; + free(copy); + } + + *colon = '\0'; + *name = line; + *value = attr; + + debug_return_bool(true); +} + +/* + * Allocate a struct sudoers_string, store str in it and + * insert into the specified strlist. + */ +static void +ldif_store_string(const char *str, struct sudoers_str_list *strlist, bool sorted) +{ + struct sudoers_string *ls; + debug_decl(ldif_store_string, SUDOERS_DEBUG_UTIL); + + if ((ls = sudoers_string_alloc(str)) == NULL) { + sudo_fatalx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + } + if (!sorted) { + STAILQ_INSERT_TAIL(strlist, ls, entries); + } else { + struct sudoers_string *prev, *next; + + /* Insertion sort, list is small. */ + prev = STAILQ_FIRST(strlist); + if (prev == NULL || strcasecmp(str, prev->str) <= 0) { + STAILQ_INSERT_HEAD(strlist, ls, entries); + } else { + while ((next = STAILQ_NEXT(prev, entries)) != NULL) { + if (strcasecmp(str, next->str) <= 0) + break; + prev = next; + } + STAILQ_INSERT_AFTER(strlist, prev, ls, entries); + } + } + + debug_return; +} + +/* + * Iterator for sudo_ldap_role_to_priv(). + * Takes a pointer to a struct sudoers_string *. + * Returns the string or NULL if we've reached the end. + */ +static char * +sudoers_string_iter(void **vp) +{ + struct sudoers_string *ls = *vp; + + if (ls == NULL) + return NULL; + + *vp = STAILQ_NEXT(ls, entries); + + return ls->str; +} + +static int +role_order_cmp(const void *va, const void *vb) +{ + const struct sudo_role *a = *(const struct sudo_role **)va; + const struct sudo_role *b = *(const struct sudo_role **)vb; + debug_decl(role_order_cmp, SUDOERS_DEBUG_LDAP); + + debug_return_int(a->order < b->order ? -1 : + (a->order > b->order ? 1 : 0)); +} + +/* + * Parse list of sudoOption and store in the parse tree's defaults list. + */ +static void +ldif_store_options(struct sudoers_parse_tree *parse_tree, + struct sudoers_str_list *options) +{ + struct defaults *d; + struct sudoers_string *ls; + char *var, *val; + debug_decl(ldif_store_options, SUDOERS_DEBUG_UTIL); + + STAILQ_FOREACH(ls, options, entries) { + if ((d = calloc(1, sizeof(*d))) == NULL || + (d->binding = malloc(sizeof(*d->binding))) == NULL) { + sudo_fatalx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + } + TAILQ_INIT(&d->binding->members); + d->binding->refcnt = 1; + d->type = DEFAULTS; + d->op = sudo_ldap_parse_option(ls->str, &var, &val); + if ((d->var = strdup(var)) == NULL) { + sudo_fatalx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + } + if (val != NULL) { + if ((d->val = strdup(val)) == NULL) { + sudo_fatalx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + } + } + TAILQ_INSERT_TAIL(&parse_tree->defaults, d, entries); + } + debug_return; +} + +static int +str_list_cmp(const void *aa, const void *bb) +{ + const struct sudoers_str_list *a = aa; + const struct sudoers_str_list *b = bb; + const struct sudoers_string *lsa = STAILQ_FIRST(a); + const struct sudoers_string *lsb = STAILQ_FIRST(b); + int ret; + + while (lsa != NULL && lsb != NULL) { + if ((ret = strcasecmp(lsa->str, lsb->str)) != 0) + return ret; + lsa = STAILQ_NEXT(lsa, entries); + lsb = STAILQ_NEXT(lsb, entries); + } + return lsa == lsb ? 0 : (lsa == NULL ? -1 : 1); +} + +static int +str_list_cache(struct rbtree *cache, struct sudoers_str_list **strlistp) +{ + struct sudoers_str_list *strlist = *strlistp; + struct rbnode *node; + int ret; + debug_decl(str_list_cache, SUDOERS_DEBUG_UTIL); + + ret = rbinsert(cache, strlist, &node); + switch (ret) { + case 0: + /* new entry, take a ref for the cache */ + strlist->refcnt++; + break; + case 1: + /* already exists, use existing and take a ref. */ + str_list_free(strlist); + strlist = node->data; + strlist->refcnt++; + *strlistp = strlist; + break; + } + debug_return_int(ret); +} + +/* + * Convert a sudoRole to sudoers format and store in the parse tree. + */ +static void +role_to_sudoers(struct sudoers_parse_tree *parse_tree, struct sudo_role *role, + bool store_options, bool reuse_userspec, bool reuse_privilege, + bool reuse_runas) +{ + struct privilege *priv; + struct sudoers_string *ls; + struct userspec *us; + struct member *m; + debug_decl(role_to_sudoers, SUDOERS_DEBUG_UTIL); + + /* + * TODO: use cn to create a UserAlias if multiple users in it? + */ + + if (reuse_userspec) { + /* Re-use the previous userspec */ + us = TAILQ_LAST(&parse_tree->userspecs, userspec_list); + } else { + /* Allocate a new userspec and fill in the user list. */ + if ((us = calloc(1, sizeof(*us))) == NULL) { + sudo_fatalx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + } + TAILQ_INIT(&us->privileges); + TAILQ_INIT(&us->users); + STAILQ_INIT(&us->comments); + + STAILQ_FOREACH(ls, role->users, entries) { + char *user = ls->str; + + if ((m = calloc(1, sizeof(*m))) == NULL) { + sudo_fatalx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + } + m->negated = sudo_ldap_is_negated(&user); + switch (*user) { + case '\0': + /* Empty RunAsUser means run as the invoking user. */ + m->type = MYSELF; + break; + case '+': + m->type = NETGROUP; + break; + case '%': + m->type = USERGROUP; + break; + case 'A': + if (strcmp(user, "ALL") == 0) { + m->type = ALL; + break; + } + FALLTHROUGH; + default: + m->type = WORD; + break; + } + if (m->type != ALL && m->type != MYSELF) { + if ((m->name = strdup(user)) == NULL) { + sudo_fatalx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + } + } + TAILQ_INSERT_TAIL(&us->users, m, entries); + } + } + + /* Add source role as a comment. */ + if (role->cn != NULL) { + struct sudoers_comment *comment = NULL; + if (reuse_userspec) { + /* Try to re-use comment too. */ + STAILQ_FOREACH(comment, &us->comments, entries) { + if (strncasecmp(comment->str, "sudoRole ", 9) == 0) { + char *tmpstr; + if (asprintf(&tmpstr, "%s, %s", comment->str, role->cn) == -1) { + sudo_fatalx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + } + free(comment->str); + comment->str = tmpstr; + break; + } + } + } + if (comment == NULL) { + /* Create a new comment. */ + if ((comment = malloc(sizeof(*comment))) == NULL) { + sudo_fatalx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + } + if (asprintf(&comment->str, "sudoRole %s", role->cn) == -1) { + sudo_fatalx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + } + STAILQ_INSERT_TAIL(&us->comments, comment, entries); + } + } + + /* Convert role to sudoers privilege. */ + priv = sudo_ldap_role_to_priv(role->cn, STAILQ_FIRST(role->hosts), + STAILQ_FIRST(role->runasusers), STAILQ_FIRST(role->runasgroups), + STAILQ_FIRST(role->cmnds), STAILQ_FIRST(role->options), + role->notbefore, role->notafter, true, store_options, + sudoers_string_iter); + if (priv == NULL) { + sudo_fatalx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + } + + if (reuse_privilege) { + /* Hostspec unchanged, append cmndlist to previous privilege. */ + struct privilege *prev_priv = TAILQ_LAST(&us->privileges, privilege_list); + if (reuse_runas) { + /* Runas users and groups same if as in previous privilege. */ + struct cmndspec *cmndspec = TAILQ_FIRST(&priv->cmndlist); + const struct cmndspec *prev_cmndspec = + TAILQ_LAST(&prev_priv->cmndlist, cmndspec_list); + struct member_list *runasuserlist = prev_cmndspec->runasuserlist; + struct member_list *runasgrouplist = prev_cmndspec->runasgrouplist; + + /* Free duplicate runas lists. */ + if (cmndspec->runasuserlist != NULL) { + free_members(cmndspec->runasuserlist); + free(cmndspec->runasuserlist); + } + if (cmndspec->runasgrouplist != NULL) { + free_members(cmndspec->runasgrouplist); + free(cmndspec->runasgrouplist); + } + + /* Update cmndspec with previous runas lists. */ + TAILQ_FOREACH(cmndspec, &priv->cmndlist, entries) { + cmndspec->runasuserlist = runasuserlist; + cmndspec->runasgrouplist = runasgrouplist; + } + } + TAILQ_CONCAT(&prev_priv->cmndlist, &priv->cmndlist, entries); + free_privilege(priv); + } else { + TAILQ_INSERT_TAIL(&us->privileges, priv, entries); + } + + /* Add finished userspec to the list if new. */ + if (!reuse_userspec) + TAILQ_INSERT_TAIL(&parse_tree->userspecs, us, entries); + + debug_return; +} + +/* + * Convert the list of sudoRoles to sudoers format and store in the parse tree. + */ +static void +ldif_to_sudoers(struct sudoers_parse_tree *parse_tree, + struct sudo_role_list *roles, unsigned int numroles, bool store_options) +{ + struct sudo_role **role_array, *role = NULL; + unsigned int n; + debug_decl(ldif_to_sudoers, SUDOERS_DEBUG_UTIL); + + /* Convert from list of roles to array and sort by order. */ + role_array = reallocarray(NULL, numroles + 1, sizeof(*role_array)); + if (role_array == NULL) + sudo_fatalx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + for (n = 0; n < numroles; n++) { + if ((role = STAILQ_FIRST(roles)) == NULL) + break; /* cannot happen */ + STAILQ_REMOVE_HEAD(roles, entries); + role_array[n] = role; + } + role_array[n] = NULL; + qsort(role_array, numroles, sizeof(*role_array), role_order_cmp); + + /* + * Iterate over roles in sorted order, converting to sudoers. + */ + for (n = 0, role = NULL; n < numroles; n++) { + bool reuse_userspec = false; + bool reuse_privilege = false; + bool reuse_runas = false; + struct sudo_role *prev_role = role; + + role = role_array[n]; + + /* Check whether we can reuse the previous user and host specs */ + if (prev_role != NULL && role->users == prev_role->users) { + reuse_userspec = true; + + /* + * Since options are stored per-privilege we can't + * append to the previous privilege's cmndlist if + * we are storing options. + */ + if (!store_options) { + if (role->hosts == prev_role->hosts) { + reuse_privilege = true; + + /* Reuse runasusers and runasgroups if possible. */ + if (role->runasusers == prev_role->runasusers && + role->runasgroups == prev_role->runasgroups) + reuse_runas = true; + } + } + } + + role_to_sudoers(parse_tree, role, store_options, reuse_userspec, + reuse_privilege, reuse_runas); + } + + /* Clean up. */ + for (n = 0; n < numroles; n++) + sudo_role_free(role_array[n]); + free(role_array); + + debug_return; +} + +/* + * Given a cn with possible quoted characters, return a copy of + * the cn with quote characters ('\\') removed. + * The caller is responsible for freeing the returned string. + */ +static +char *unquote_cn(const char *src) +{ + char *dst, *new_cn; + size_t len; + debug_decl(unquote_cn, SUDOERS_DEBUG_UTIL); + + len = strlen(src); + if ((new_cn = malloc(len + 1)) == NULL) + debug_return_str(NULL); + + for (dst = new_cn; *src != '\0';) { + if (src[0] == '\\' && src[1] != '\0') + src++; + *dst++ = *src++; + } + *dst = '\0'; + + debug_return_str(new_cn); +} + +/* + * Parse a sudoers file in LDIF format, https://tools.ietf.org/html/rfc2849 + * Parsed sudoRole objects are stored in the specified parse_tree which + * must already be initialized. + */ +bool +sudoers_parse_ldif(struct sudoers_parse_tree *parse_tree, + FILE *fp, const char *sudoers_base, bool store_options) +{ + struct sudo_role_list roles = STAILQ_HEAD_INITIALIZER(roles); + struct sudo_role *role = NULL; + struct rbtree *usercache, *groupcache, *hostcache; + unsigned numroles = 0; + bool in_role = false; + size_t linesize = 0; + char *attr, *name, *line = NULL, *savedline = NULL; + ssize_t savedlen = 0; + bool mismatch = false; + int errors = 0; + debug_decl(sudoers_parse_ldif, SUDOERS_DEBUG_UTIL); + + /* Free old contents of the parse tree (if any). */ + free_parse_tree(parse_tree); + + /* + * We cache user, group and host lists to make it eay to detect when there + * are identical lists (simple pointer compare). This makes it possible + * to merge multiplpe sudoRole objects into a single UserSpec and/or + * Privilege. The lists are sorted since LDAP order is arbitrary. + */ + usercache = rbcreate(str_list_cmp); + groupcache = rbcreate(str_list_cmp); + hostcache = rbcreate(str_list_cmp); + if (usercache == NULL || groupcache == NULL || hostcache == NULL) + sudo_fatalx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + + /* Read through input, parsing into sudo_roles and global defaults. */ + for (;;) { + int ch; + ssize_t len = getdelim(&line, &linesize, '\n', fp); + + /* Trim trailing return or newline. */ + while (len > 0 && (line[len - 1] == '\r' || line[len - 1] == '\n')) + line[--len] = '\0'; + + /* Blank line or EOF terminates an entry. */ + if (len <= 0) { + if (in_role) { + if (role->cn != NULL && strcasecmp(role->cn, "defaults") == 0) { + ldif_store_options(parse_tree, role->options); + sudo_role_free(role); + } else if (STAILQ_EMPTY(role->users) || + STAILQ_EMPTY(role->hosts) || STAILQ_EMPTY(role->cmnds)) { + /* Incomplete role. */ + sudo_warnx(U_("ignoring incomplete sudoRole: cn: %s"), + role->cn ? role->cn : "UNKNOWN"); + sudo_role_free(role); + } else { + /* Cache users, hosts, runasusers and runasgroups. */ + if (str_list_cache(usercache, &role->users) == -1 || + str_list_cache(hostcache, &role->hosts) == -1 || + str_list_cache(usercache, &role->runasusers) == -1 || + str_list_cache(groupcache, &role->runasgroups) == -1) { + sudo_fatalx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + } + + /* Store finished role. */ + STAILQ_INSERT_TAIL(&roles, role, entries); + numroles++; + } + role = NULL; + in_role = false; + } + if (len == -1) { + /* EOF */ + break; + } + mismatch = false; + continue; + } + + if (savedline != NULL) { + char *tmp; + + /* Append to saved line. */ + linesize = savedlen + len + 1; + if ((tmp = realloc(savedline, linesize)) == NULL) { + sudo_fatalx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + } + memcpy(tmp + savedlen, line, len + 1); + free(line); + line = tmp; + savedline = NULL; + } + + /* Check for folded line */ + if ((ch = getc(fp)) == ' ') { + /* folded line, append to the saved portion. */ + savedlen = len; + savedline = line; + line = NULL; + linesize = 0; + continue; + } + ungetc(ch, fp); /* not folded, push back ch */ + + /* Skip comment lines or records that don't match the base. */ + if (*line == '#' || mismatch) + continue; + + /* Reject invalid LDIF. */ + if (!ldif_parse_attribute(line, &name, &attr)) { + sudo_warnx(U_("invalid LDIF attribute: %s"), line); + errors++; + continue; + } + + /* Parse dn and objectClass. */ + if (strcasecmp(name, "dn") == 0) { + /* Compare dn to base, if specified. */ + if (sudoers_base != NULL) { + /* Skip over cn if present. */ + if (strncasecmp(attr, "cn=", 3) == 0) { + for (attr += 3; *attr != '\0'; attr++) { + /* Handle escaped ',' chars. */ + if (*attr == '\\' && attr[1] != '\0') + attr++; + if (*attr == ',') { + attr++; + break; + } + } + } + if (strcasecmp(attr, sudoers_base) != 0) { + /* Doesn't match base, skip the rest of it. */ + mismatch = true; + continue; + } + } + } else if (strcasecmp(name, "objectClass") == 0) { + if (strcasecmp(attr, "sudoRole") == 0) { + /* Allocate new role as needed. */ + if (role == NULL) { + if ((role = sudo_role_alloc()) == NULL) { + sudo_fatalx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + } + } + in_role = true; + } + } + + /* Not in a sudoRole, keep reading. */ + if (!in_role) + continue; + + /* Part of a sudoRole, parse it. */ + if (strcasecmp(name, "cn") == 0) { + free(role->cn); + role->cn = unquote_cn(attr); + if (role->cn == NULL) { + sudo_fatalx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + } + } else if (strcasecmp(name, "sudoUser") == 0) { + ldif_store_string(attr, role->users, true); + } else if (strcasecmp(name, "sudoHost") == 0) { + ldif_store_string(attr, role->hosts, true); + } else if (strcasecmp(name, "sudoRunAs") == 0) { + ldif_store_string(attr, role->runasusers, true); + } else if (strcasecmp(name, "sudoRunAsUser") == 0) { + ldif_store_string(attr, role->runasusers, true); + } else if (strcasecmp(name, "sudoRunAsGroup") == 0) { + ldif_store_string(attr, role->runasgroups, true); + } else if (strcasecmp(name, "sudoCommand") == 0) { + ldif_store_string(attr, role->cmnds, false); + } else if (strcasecmp(name, "sudoOption") == 0) { + ldif_store_string(attr, role->options, false); + } else if (strcasecmp(name, "sudoOrder") == 0) { + char *ep; + role->order = strtod(attr, &ep); + if (ep == attr || *ep != '\0') { + sudo_warnx(U_("invalid sudoOrder attribute: %s"), attr); + errors++; + } + } else if (strcasecmp(name, "sudoNotBefore") == 0) { + free(role->notbefore); + role->notbefore = strdup(attr); + if (role->notbefore == NULL) { + sudo_fatalx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + } + } else if (strcasecmp(name, "sudoNotAfter") == 0) { + free(role->notafter); + role->notafter = strdup(attr); + if (role->notafter == NULL) { + sudo_fatalx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + } + } + } + sudo_role_free(role); + free(line); + free(savedline); + + /* Convert from roles to sudoers data structures. */ + if (numroles > 0) + ldif_to_sudoers(parse_tree, &roles, numroles, store_options); + + /* Clean up. */ + rbdestroy(usercache, str_list_free); + rbdestroy(groupcache, str_list_free); + rbdestroy(hostcache, str_list_free); + + debug_return_bool(errors == 0); +} diff --git a/plugins/sudoers/po/README b/plugins/sudoers/po/README new file mode 100644 index 0000000..cff4d29 --- /dev/null +++ b/plugins/sudoers/po/README @@ -0,0 +1,14 @@ +NLS Translations for sudo are coordinated through the Translation +Project, at https://translationproject.org/ + +If you would like to contribute a translation for sudo, please join +a translation team at the Translation Project instead of contributing +a po file directly. This will avoid duplicated work if there is +already a translation in progress. If you would like to become a +member of a translation team, please follow the instructions at +https://translationproject.org/html/translators.html + +The messages in sudo are split into two domains: sudo and sudoers. +The former is used by the sudo front-end and utility functions. +The latter is used by the sudoers policy and I/O logging plug-ins +as well as the sudoers-specific commands visudo and sudoreplay. diff --git a/plugins/sudoers/po/ast.mo b/plugins/sudoers/po/ast.mo new file mode 100644 index 0000000..05cd28b Binary files /dev/null and b/plugins/sudoers/po/ast.mo differ diff --git a/plugins/sudoers/po/ast.po b/plugins/sudoers/po/ast.po new file mode 100644 index 0000000..0957204 --- /dev/null +++ b/plugins/sudoers/po/ast.po @@ -0,0 +1,2343 @@ +# Portable object template file for the sudoers plugin +# This file is put in the public domain. +# +# Todd C. Miller , 2011-2016. +# enolp , 2018, 2019. +msgid "" +msgstr "" +"Project-Id-Version: sudoers 1.8.28b1\n" +"Report-Msgid-Bugs-To: https://bugzilla.sudo.ws\n" +"POT-Creation-Date: 2019-07-19 10:39-0600\n" +"PO-Revision-Date: 2019-08-03 14:37+0200\n" +"Last-Translator: enolp \n" +"Language-Team: Asturian \n" +"Language: ast\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Lokalize 19.04.3\n" + +#: confstr.sh:1 +msgid "syntax error" +msgstr "fallu de sintaxis" + +#: confstr.sh:2 +msgid "%p's password: " +msgstr "Contraseña de %p: " + +#: confstr.sh:3 +msgid "[sudo] password for %p: " +msgstr "[sudo] contraseña de %p: " + +#: confstr.sh:4 +msgid "Password: " +msgstr "Contraseña:" + +#: confstr.sh:5 +msgid "*** SECURITY information for %h ***" +msgstr "*** Información de SEGURANZA pa %h ***" + +#: confstr.sh:6 +msgid "Sorry, try again." +msgstr "Perdona pero volvi tentalo." + +#: gram.y:194 gram.y:242 gram.y:249 gram.y:256 gram.y:263 gram.y:270 +#: gram.y:286 gram.y:310 gram.y:317 gram.y:324 gram.y:331 gram.y:338 +#: gram.y:401 gram.y:409 gram.y:419 gram.y:452 gram.y:459 gram.y:466 +#: gram.y:473 gram.y:555 gram.y:562 gram.y:571 gram.y:580 gram.y:597 +#: gram.y:709 gram.y:716 gram.y:723 gram.y:731 gram.y:831 gram.y:838 +#: gram.y:845 gram.y:852 gram.y:859 gram.y:885 gram.y:892 gram.y:899 +#: gram.y:1022 gram.y:1296 plugins/sudoers/alias.c:132 +#: plugins/sudoers/alias.c:139 plugins/sudoers/alias.c:155 +#: plugins/sudoers/auth/bsdauth.c:148 plugins/sudoers/auth/kerb5.c:123 +#: plugins/sudoers/auth/kerb5.c:149 plugins/sudoers/auth/pam.c:656 +#: plugins/sudoers/auth/rfc1938.c:116 plugins/sudoers/auth/sia.c:64 +#: plugins/sudoers/cvtsudoers.c:124 plugins/sudoers/cvtsudoers.c:165 +#: plugins/sudoers/cvtsudoers.c:182 plugins/sudoers/cvtsudoers.c:193 +#: plugins/sudoers/cvtsudoers.c:305 plugins/sudoers/cvtsudoers.c:433 +#: plugins/sudoers/cvtsudoers.c:566 plugins/sudoers/cvtsudoers.c:583 +#: plugins/sudoers/cvtsudoers.c:646 plugins/sudoers/cvtsudoers.c:761 +#: plugins/sudoers/cvtsudoers.c:769 plugins/sudoers/cvtsudoers.c:1179 +#: plugins/sudoers/cvtsudoers.c:1183 plugins/sudoers/cvtsudoers.c:1285 +#: plugins/sudoers/cvtsudoers_ldif.c:154 plugins/sudoers/cvtsudoers_ldif.c:197 +#: plugins/sudoers/cvtsudoers_ldif.c:244 plugins/sudoers/cvtsudoers_ldif.c:263 +#: plugins/sudoers/cvtsudoers_ldif.c:334 plugins/sudoers/cvtsudoers_ldif.c:389 +#: plugins/sudoers/cvtsudoers_ldif.c:397 plugins/sudoers/cvtsudoers_ldif.c:414 +#: plugins/sudoers/cvtsudoers_ldif.c:423 plugins/sudoers/cvtsudoers_ldif.c:570 +#: plugins/sudoers/defaults.c:664 plugins/sudoers/defaults.c:957 +#: plugins/sudoers/defaults.c:1128 plugins/sudoers/editor.c:72 +#: plugins/sudoers/editor.c:90 plugins/sudoers/editor.c:101 +#: plugins/sudoers/env.c:268 plugins/sudoers/filedigest.c:66 +#: plugins/sudoers/filedigest.c:82 plugins/sudoers/gc.c:59 +#: plugins/sudoers/group_plugin.c:138 plugins/sudoers/interfaces.c:78 +#: plugins/sudoers/iolog.c:941 plugins/sudoers/iolog_path.c:174 +#: plugins/sudoers/iolog_util.c:85 plugins/sudoers/iolog_util.c:124 +#: plugins/sudoers/iolog_util.c:133 plugins/sudoers/iolog_util.c:143 +#: plugins/sudoers/iolog_util.c:151 plugins/sudoers/iolog_util.c:155 +#: plugins/sudoers/ldap.c:185 plugins/sudoers/ldap.c:416 +#: plugins/sudoers/ldap.c:420 plugins/sudoers/ldap.c:432 +#: plugins/sudoers/ldap.c:723 plugins/sudoers/ldap.c:887 +#: plugins/sudoers/ldap.c:1235 plugins/sudoers/ldap.c:1662 +#: plugins/sudoers/ldap.c:1699 plugins/sudoers/ldap.c:1780 +#: plugins/sudoers/ldap.c:1915 plugins/sudoers/ldap.c:2016 +#: plugins/sudoers/ldap.c:2032 plugins/sudoers/ldap_conf.c:223 +#: plugins/sudoers/ldap_conf.c:254 plugins/sudoers/ldap_conf.c:306 +#: plugins/sudoers/ldap_conf.c:342 plugins/sudoers/ldap_conf.c:445 +#: plugins/sudoers/ldap_conf.c:460 plugins/sudoers/ldap_conf.c:557 +#: plugins/sudoers/ldap_conf.c:590 plugins/sudoers/ldap_conf.c:682 +#: plugins/sudoers/ldap_conf.c:764 plugins/sudoers/ldap_util.c:510 +#: plugins/sudoers/ldap_util.c:566 plugins/sudoers/linux_audit.c:83 +#: plugins/sudoers/logging.c:202 plugins/sudoers/logging.c:519 +#: plugins/sudoers/logging.c:545 plugins/sudoers/logging.c:586 +#: plugins/sudoers/logging.c:727 plugins/sudoers/logging.c:1087 +#: plugins/sudoers/match_command.c:249 plugins/sudoers/match_command.c:367 +#: plugins/sudoers/match_command.c:414 plugins/sudoers/match_command.c:482 +#: plugins/sudoers/match_digest.c:67 plugins/sudoers/parse.c:200 +#: plugins/sudoers/parse.c:212 plugins/sudoers/parse.c:227 +#: plugins/sudoers/parse.c:239 plugins/sudoers/parse_ldif.c:143 +#: plugins/sudoers/parse_ldif.c:170 plugins/sudoers/parse_ldif.c:239 +#: plugins/sudoers/parse_ldif.c:246 plugins/sudoers/parse_ldif.c:251 +#: plugins/sudoers/parse_ldif.c:327 plugins/sudoers/parse_ldif.c:338 +#: plugins/sudoers/parse_ldif.c:344 plugins/sudoers/parse_ldif.c:369 +#: plugins/sudoers/parse_ldif.c:381 plugins/sudoers/parse_ldif.c:385 +#: plugins/sudoers/parse_ldif.c:399 plugins/sudoers/parse_ldif.c:566 +#: plugins/sudoers/parse_ldif.c:596 plugins/sudoers/parse_ldif.c:621 +#: plugins/sudoers/parse_ldif.c:681 plugins/sudoers/parse_ldif.c:700 +#: plugins/sudoers/parse_ldif.c:746 plugins/sudoers/parse_ldif.c:756 +#: plugins/sudoers/policy.c:504 plugins/sudoers/policy.c:746 +#: plugins/sudoers/prompt.c:100 plugins/sudoers/pwutil.c:199 +#: plugins/sudoers/pwutil.c:272 plugins/sudoers/pwutil.c:350 +#: plugins/sudoers/pwutil.c:524 plugins/sudoers/pwutil.c:590 +#: plugins/sudoers/pwutil.c:661 plugins/sudoers/pwutil.c:820 +#: plugins/sudoers/pwutil.c:878 plugins/sudoers/pwutil.c:923 +#: plugins/sudoers/pwutil.c:982 plugins/sudoers/sssd.c:154 +#: plugins/sudoers/sssd.c:400 plugins/sudoers/sssd.c:463 +#: plugins/sudoers/sssd.c:507 plugins/sudoers/sssd.c:554 +#: plugins/sudoers/sssd.c:745 plugins/sudoers/stubs.c:103 +#: plugins/sudoers/stubs.c:111 plugins/sudoers/sudoers.c:271 +#: plugins/sudoers/sudoers.c:281 plugins/sudoers/sudoers.c:290 +#: plugins/sudoers/sudoers.c:332 plugins/sudoers/sudoers.c:655 +#: plugins/sudoers/sudoers.c:781 plugins/sudoers/sudoers.c:825 +#: plugins/sudoers/sudoers.c:1119 plugins/sudoers/sudoers_debug.c:114 +#: plugins/sudoers/sudoreplay.c:581 plugins/sudoers/sudoreplay.c:584 +#: plugins/sudoers/sudoreplay.c:1261 plugins/sudoers/sudoreplay.c:1461 +#: plugins/sudoers/sudoreplay.c:1465 plugins/sudoers/testsudoers.c:136 +#: plugins/sudoers/testsudoers.c:236 plugins/sudoers/testsudoers.c:253 +#: plugins/sudoers/testsudoers.c:587 plugins/sudoers/timestamp.c:439 +#: plugins/sudoers/timestamp.c:483 plugins/sudoers/timestamp.c:960 +#: plugins/sudoers/toke_util.c:59 plugins/sudoers/toke_util.c:112 +#: plugins/sudoers/toke_util.c:149 plugins/sudoers/tsdump.c:130 +#: plugins/sudoers/visudo.c:152 plugins/sudoers/visudo.c:328 +#: plugins/sudoers/visudo.c:334 plugins/sudoers/visudo.c:444 +#: plugins/sudoers/visudo.c:622 plugins/sudoers/visudo.c:942 +#: plugins/sudoers/visudo.c:1029 plugins/sudoers/visudo.c:1118 toke.l:846 +#: toke.l:947 toke.l:1104 +msgid "unable to allocate memory" +msgstr "nun pue allugase memoria" + +#: gram.y:484 +msgid "a digest requires a path name" +msgstr "un digest rique un nome de camín" + +#: gram.y:610 +msgid "invalid notbefore value" +msgstr "el valor de notbefore nun ye válidu" + +#: gram.y:618 +msgid "invalid notafter value" +msgstr "el valor de notafter nun ye válidu" + +#: gram.y:627 plugins/sudoers/policy.c:320 +msgid "timeout value too large" +msgstr "el valor de la escosa del tiempu d'espera ye pergrande" + +#: gram.y:629 plugins/sudoers/policy.c:322 +msgid "invalid timeout value" +msgstr "la escosa del tiempu d'espera nun ye válida" + +#: gram.y:1296 plugins/sudoers/auth/pam.c:468 plugins/sudoers/auth/pam.c:656 +#: plugins/sudoers/auth/rfc1938.c:116 plugins/sudoers/cvtsudoers.c:124 +#: plugins/sudoers/cvtsudoers.c:164 plugins/sudoers/cvtsudoers.c:181 +#: plugins/sudoers/cvtsudoers.c:192 plugins/sudoers/cvtsudoers.c:304 +#: plugins/sudoers/cvtsudoers.c:432 plugins/sudoers/cvtsudoers.c:565 +#: plugins/sudoers/cvtsudoers.c:582 plugins/sudoers/cvtsudoers.c:646 +#: plugins/sudoers/cvtsudoers.c:761 plugins/sudoers/cvtsudoers.c:768 +#: plugins/sudoers/cvtsudoers.c:1179 plugins/sudoers/cvtsudoers.c:1183 +#: plugins/sudoers/cvtsudoers.c:1285 plugins/sudoers/cvtsudoers_ldif.c:153 +#: plugins/sudoers/cvtsudoers_ldif.c:196 plugins/sudoers/cvtsudoers_ldif.c:243 +#: plugins/sudoers/cvtsudoers_ldif.c:262 plugins/sudoers/cvtsudoers_ldif.c:333 +#: plugins/sudoers/cvtsudoers_ldif.c:388 plugins/sudoers/cvtsudoers_ldif.c:396 +#: plugins/sudoers/cvtsudoers_ldif.c:413 plugins/sudoers/cvtsudoers_ldif.c:422 +#: plugins/sudoers/cvtsudoers_ldif.c:569 plugins/sudoers/defaults.c:664 +#: plugins/sudoers/defaults.c:957 plugins/sudoers/defaults.c:1128 +#: plugins/sudoers/editor.c:72 plugins/sudoers/editor.c:90 +#: plugins/sudoers/editor.c:101 plugins/sudoers/env.c:268 +#: plugins/sudoers/filedigest.c:66 plugins/sudoers/filedigest.c:82 +#: plugins/sudoers/gc.c:59 plugins/sudoers/group_plugin.c:138 +#: plugins/sudoers/interfaces.c:78 plugins/sudoers/iolog.c:941 +#: plugins/sudoers/iolog_path.c:174 plugins/sudoers/iolog_util.c:85 +#: plugins/sudoers/iolog_util.c:124 plugins/sudoers/iolog_util.c:133 +#: plugins/sudoers/iolog_util.c:143 plugins/sudoers/iolog_util.c:151 +#: plugins/sudoers/iolog_util.c:155 plugins/sudoers/ldap.c:185 +#: plugins/sudoers/ldap.c:416 plugins/sudoers/ldap.c:420 +#: plugins/sudoers/ldap.c:432 plugins/sudoers/ldap.c:723 +#: plugins/sudoers/ldap.c:887 plugins/sudoers/ldap.c:1235 +#: plugins/sudoers/ldap.c:1662 plugins/sudoers/ldap.c:1699 +#: plugins/sudoers/ldap.c:1780 plugins/sudoers/ldap.c:1915 +#: plugins/sudoers/ldap.c:2016 plugins/sudoers/ldap.c:2032 +#: plugins/sudoers/ldap_conf.c:223 plugins/sudoers/ldap_conf.c:254 +#: plugins/sudoers/ldap_conf.c:306 plugins/sudoers/ldap_conf.c:342 +#: plugins/sudoers/ldap_conf.c:445 plugins/sudoers/ldap_conf.c:460 +#: plugins/sudoers/ldap_conf.c:557 plugins/sudoers/ldap_conf.c:590 +#: plugins/sudoers/ldap_conf.c:681 plugins/sudoers/ldap_conf.c:764 +#: plugins/sudoers/ldap_util.c:510 plugins/sudoers/ldap_util.c:566 +#: plugins/sudoers/linux_audit.c:83 plugins/sudoers/logging.c:202 +#: plugins/sudoers/logging.c:519 plugins/sudoers/logging.c:545 +#: plugins/sudoers/logging.c:585 plugins/sudoers/logging.c:1087 +#: plugins/sudoers/match_command.c:248 plugins/sudoers/match_command.c:366 +#: plugins/sudoers/match_command.c:413 plugins/sudoers/match_command.c:482 +#: plugins/sudoers/match_digest.c:67 plugins/sudoers/parse.c:199 +#: plugins/sudoers/parse.c:211 plugins/sudoers/parse.c:226 +#: plugins/sudoers/parse.c:238 plugins/sudoers/parse_ldif.c:142 +#: plugins/sudoers/parse_ldif.c:169 plugins/sudoers/parse_ldif.c:238 +#: plugins/sudoers/parse_ldif.c:245 plugins/sudoers/parse_ldif.c:250 +#: plugins/sudoers/parse_ldif.c:326 plugins/sudoers/parse_ldif.c:337 +#: plugins/sudoers/parse_ldif.c:343 plugins/sudoers/parse_ldif.c:368 +#: plugins/sudoers/parse_ldif.c:380 plugins/sudoers/parse_ldif.c:384 +#: plugins/sudoers/parse_ldif.c:398 plugins/sudoers/parse_ldif.c:566 +#: plugins/sudoers/parse_ldif.c:595 plugins/sudoers/parse_ldif.c:620 +#: plugins/sudoers/parse_ldif.c:680 plugins/sudoers/parse_ldif.c:699 +#: plugins/sudoers/parse_ldif.c:745 plugins/sudoers/parse_ldif.c:755 +#: plugins/sudoers/policy.c:134 plugins/sudoers/policy.c:143 +#: plugins/sudoers/policy.c:152 plugins/sudoers/policy.c:178 +#: plugins/sudoers/policy.c:305 plugins/sudoers/policy.c:320 +#: plugins/sudoers/policy.c:322 plugins/sudoers/policy.c:348 +#: plugins/sudoers/policy.c:358 plugins/sudoers/policy.c:402 +#: plugins/sudoers/policy.c:412 plugins/sudoers/policy.c:421 +#: plugins/sudoers/policy.c:430 plugins/sudoers/policy.c:504 +#: plugins/sudoers/policy.c:746 plugins/sudoers/prompt.c:100 +#: plugins/sudoers/pwutil.c:199 plugins/sudoers/pwutil.c:272 +#: plugins/sudoers/pwutil.c:350 plugins/sudoers/pwutil.c:524 +#: plugins/sudoers/pwutil.c:590 plugins/sudoers/pwutil.c:661 +#: plugins/sudoers/pwutil.c:820 plugins/sudoers/pwutil.c:878 +#: plugins/sudoers/pwutil.c:923 plugins/sudoers/pwutil.c:982 +#: plugins/sudoers/set_perms.c:396 plugins/sudoers/set_perms.c:775 +#: plugins/sudoers/set_perms.c:1165 plugins/sudoers/set_perms.c:1493 +#: plugins/sudoers/set_perms.c:1659 plugins/sudoers/sssd.c:153 +#: plugins/sudoers/sssd.c:400 plugins/sudoers/sssd.c:463 +#: plugins/sudoers/sssd.c:507 plugins/sudoers/sssd.c:554 +#: plugins/sudoers/sssd.c:745 plugins/sudoers/stubs.c:103 +#: plugins/sudoers/stubs.c:111 plugins/sudoers/sudoers.c:271 +#: plugins/sudoers/sudoers.c:281 plugins/sudoers/sudoers.c:290 +#: plugins/sudoers/sudoers.c:332 plugins/sudoers/sudoers.c:655 +#: plugins/sudoers/sudoers.c:781 plugins/sudoers/sudoers.c:825 +#: plugins/sudoers/sudoers.c:1119 plugins/sudoers/sudoers_debug.c:113 +#: plugins/sudoers/sudoreplay.c:581 plugins/sudoers/sudoreplay.c:584 +#: plugins/sudoers/sudoreplay.c:1261 plugins/sudoers/sudoreplay.c:1461 +#: plugins/sudoers/sudoreplay.c:1465 plugins/sudoers/testsudoers.c:136 +#: plugins/sudoers/testsudoers.c:236 plugins/sudoers/testsudoers.c:253 +#: plugins/sudoers/testsudoers.c:587 plugins/sudoers/timestamp.c:439 +#: plugins/sudoers/timestamp.c:483 plugins/sudoers/timestamp.c:960 +#: plugins/sudoers/toke_util.c:59 plugins/sudoers/toke_util.c:112 +#: plugins/sudoers/toke_util.c:149 plugins/sudoers/tsdump.c:130 +#: plugins/sudoers/visudo.c:152 plugins/sudoers/visudo.c:328 +#: plugins/sudoers/visudo.c:334 plugins/sudoers/visudo.c:444 +#: plugins/sudoers/visudo.c:622 plugins/sudoers/visudo.c:942 +#: plugins/sudoers/visudo.c:1029 plugins/sudoers/visudo.c:1118 toke.l:846 +#: toke.l:947 toke.l:1104 +#, c-format +msgid "%s: %s" +msgstr "%s: %s" + +#: plugins/sudoers/alias.c:151 +#, c-format +msgid "Alias \"%s\" already defined" +msgstr "Yá se definió l'alias «%s»" + +#: plugins/sudoers/auth/aix_auth.c:203 plugins/sudoers/logging.c:788 +msgid "unable to fork" +msgstr "nun pue biforcase" + +#: plugins/sudoers/auth/aix_auth.c:281 +#, fuzzy, c-format +#| msgid "unable to change expired password: %s" +msgid "unable to change password for %s" +msgstr "nun pue camudase la contraseña caducada: %s" + +#: plugins/sudoers/auth/bsdauth.c:75 +#, c-format +msgid "unable to get login class for user %s" +msgstr "nun pue consiguise la clas pal usuariu %s" + +#: plugins/sudoers/auth/bsdauth.c:80 +msgid "unable to begin bsd authentication" +msgstr "" + +#: plugins/sudoers/auth/bsdauth.c:88 +msgid "invalid authentication type" +msgstr "la triba d'autenticación nun ye válida" + +#: plugins/sudoers/auth/bsdauth.c:97 +msgid "unable to initialize BSD authentication" +msgstr "nun pue aniciase l'autenticaciónde BSD" + +#: plugins/sudoers/auth/bsdauth.c:185 +msgid "your account has expired" +msgstr "la to cuenta caducó" + +#: plugins/sudoers/auth/bsdauth.c:187 +msgid "approval failed" +msgstr "fallu de l'aprobación" + +#: plugins/sudoers/auth/fwtk.c:59 +msgid "unable to read fwtk config" +msgstr "nun pue lleese la configuración de fwtk" + +#: plugins/sudoers/auth/fwtk.c:64 +msgid "unable to connect to authentication server" +msgstr "nun pue coneutase col sirvidor d'autenticación" + +#: plugins/sudoers/auth/fwtk.c:70 plugins/sudoers/auth/fwtk.c:94 +#: plugins/sudoers/auth/fwtk.c:126 +msgid "lost connection to authentication server" +msgstr "perdióse la conexón col sirvidor d'autenticación" + +#: plugins/sudoers/auth/fwtk.c:74 +#, c-format +msgid "" +"authentication server error:\n" +"%s" +msgstr "" +"fallu del sirvidor d'autenticación:\n" +"%s" + +#: plugins/sudoers/auth/kerb5.c:115 +#, c-format +msgid "%s: unable to convert principal to string ('%s'): %s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:165 +#, c-format +msgid "%s: unable to parse '%s': %s" +msgstr "%s: nun pue analizase «%s»: %s" + +#: plugins/sudoers/auth/kerb5.c:174 +#, c-format +msgid "%s: unable to resolve credential cache: %s" +msgstr "%s: nun pue resolvese la caché de credenciales: %s" + +#: plugins/sudoers/auth/kerb5.c:221 +#, c-format +msgid "%s: unable to allocate options: %s" +msgstr "%s: nun pue allugase les opciones: %s" + +#: plugins/sudoers/auth/kerb5.c:236 +#, c-format +msgid "%s: unable to get credentials: %s" +msgstr "%s: nun puen consiguise les credenciales: %s" + +#: plugins/sudoers/auth/kerb5.c:249 +#, c-format +msgid "%s: unable to initialize credential cache: %s" +msgstr "%s: nun pue aniciase la caché de credenciales: %s" + +#: plugins/sudoers/auth/kerb5.c:252 +#, c-format +msgid "%s: unable to store credential in cache: %s" +msgstr "%s: nun pue atroxase la credencial na caché: %s" + +#: plugins/sudoers/auth/kerb5.c:316 +#, c-format +msgid "%s: unable to get host principal: %s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:330 +#, c-format +msgid "%s: Cannot verify TGT! Possible attack!: %s" +msgstr "%s: Nun pue verificase'l TGT, ¡quiciabes tean atacándote! : %s" + +#: plugins/sudoers/auth/pam.c:200 +msgid "unable to initialize PAM" +msgstr "nun pue aniciase PAM" + +#: plugins/sudoers/auth/pam.c:299 +#, c-format +msgid "PAM authentication error: %s" +msgstr "Fallu d'autenticación PAM: %s" + +#: plugins/sudoers/auth/pam.c:318 +msgid "account validation failure, is your account locked?" +msgstr "fallu de la validación de la cuenta, ¿tienes la cuenta bloquiada?" + +#: plugins/sudoers/auth/pam.c:329 +msgid "Account or password is expired, reset your password and try again" +msgstr "Caducó la cuenta o la contraseña, reanicia la to contraseña y volvi tentalo" + +#: plugins/sudoers/auth/pam.c:337 +#, c-format +msgid "unable to change expired password: %s" +msgstr "nun pue camudase la contraseña caducada: %s" + +#: plugins/sudoers/auth/pam.c:348 +msgid "Password expired, contact your system administrator" +msgstr "Caducó la contraseña, contauta col alministrador de sistemes" + +#: plugins/sudoers/auth/pam.c:353 +msgid "Account expired or PAM config lacks an \"account\" section for sudo, contact your system administrator" +msgstr "La cuenta caducó o a la configuración de PAM fálta-y la seición «account» pa sudo, contauta col alministrador de sistemes" + +#: plugins/sudoers/auth/pam.c:361 plugins/sudoers/auth/pam.c:367 +#, c-format +msgid "PAM account management error: %s" +msgstr "Fallu de la xesión de cuentes PAM: %s" + +#: plugins/sudoers/auth/rfc1938.c:104 plugins/sudoers/visudo.c:248 +#, c-format +msgid "you do not exist in the %s database" +msgstr "nun esistes na base de datos %s" + +#: plugins/sudoers/auth/securid5.c:77 +msgid "failed to initialise the ACE API library" +msgstr "fallu al aniciar la biblioteca ACE API" + +#: plugins/sudoers/auth/securid5.c:103 +msgid "unable to contact the SecurID server" +msgstr "nun pue contautase col sirvidor de SecurID" + +#: plugins/sudoers/auth/securid5.c:112 +msgid "User ID locked for SecurID Authentication" +msgstr "" + +#: plugins/sudoers/auth/securid5.c:116 plugins/sudoers/auth/securid5.c:167 +msgid "invalid username length for SecurID" +msgstr "" + +#: plugins/sudoers/auth/securid5.c:120 plugins/sudoers/auth/securid5.c:172 +msgid "invalid Authentication Handle for SecurID" +msgstr "" + +#: plugins/sudoers/auth/securid5.c:124 +msgid "SecurID communication failed" +msgstr "Falló la comunicación de SecurID" + +#: plugins/sudoers/auth/securid5.c:128 plugins/sudoers/auth/securid5.c:217 +msgid "unknown SecurID error" +msgstr "desconozse'l fallu de SecurID" + +#: plugins/sudoers/auth/securid5.c:162 +msgid "invalid passcode length for SecurID" +msgstr "" + +#: plugins/sudoers/auth/sia.c:74 plugins/sudoers/auth/sia.c:129 +msgid "unable to initialize SIA session" +msgstr "nun pue aniciase la sesión SIA" + +#: plugins/sudoers/auth/sudo_auth.c:138 +msgid "invalid authentication methods" +msgstr "métodos d'autenticación non válidos" + +#: plugins/sudoers/auth/sudo_auth.c:140 +msgid "Invalid authentication methods compiled into sudo! You may not mix standalone and non-standalone authentication." +msgstr "¡Compiláronse en sudo métodos d'autenticación non válidos! Nun podríes combinar l'autenticación independiente y non independiente." + +#: plugins/sudoers/auth/sudo_auth.c:261 plugins/sudoers/auth/sudo_auth.c:311 +msgid "no authentication methods" +msgstr "nun hai métodos d'autenticación" + +#: plugins/sudoers/auth/sudo_auth.c:263 +msgid "There are no authentication methods compiled into sudo! If you want to turn off authentication, use the --disable-authentication configure option." +msgstr "¡Nun se compilaron en sudo métodos d'autenticación! Si quies desactivar l'autenticación, usa la opción de configuración --disable-authentication ." + +#: plugins/sudoers/auth/sudo_auth.c:313 +msgid "Unable to initialize authentication methods." +msgstr "Nun puen aniciase los métodos d'autenticación." + +#: plugins/sudoers/auth/sudo_auth.c:479 +msgid "Authentication methods:" +msgstr "Métodos d'autenticación:" + +#: plugins/sudoers/bsm_audit.c:125 plugins/sudoers/bsm_audit.c:217 +msgid "Could not determine audit condition" +msgstr "Nun pudo determinase la condición d'autoría" + +#: plugins/sudoers/bsm_audit.c:190 plugins/sudoers/bsm_audit.c:281 +msgid "unable to commit audit record" +msgstr "nun pue unviase'l rexistru d'auditoría" + +#: plugins/sudoers/check.c:269 +msgid "" +"\n" +"We trust you have received the usual lecture from the local System\n" +"Administrator. It usually boils down to these three things:\n" +"\n" +" #1) Respect the privacy of others.\n" +" #2) Think before you type.\n" +" #3) With great power comes great responsibility.\n" +"\n" +msgstr "" + +#: plugins/sudoers/check.c:312 plugins/sudoers/check.c:322 +#: plugins/sudoers/sudoers.c:698 plugins/sudoers/sudoers.c:743 +#: plugins/sudoers/tsdump.c:126 +#, c-format +msgid "unknown uid: %u" +msgstr "desconozse l'UID: %u" + +#: plugins/sudoers/check.c:317 plugins/sudoers/iolog.c:255 +#: plugins/sudoers/policy.c:917 plugins/sudoers/sudoers.c:1158 +#: plugins/sudoers/testsudoers.c:227 plugins/sudoers/testsudoers.c:400 +#, c-format +msgid "unknown user: %s" +msgstr "desconozse l'usuariu: %s" + +#: plugins/sudoers/cvtsudoers.c:199 +#, c-format +msgid "order increment: %s: %s" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:215 +#, c-format +msgid "starting order: %s: %s" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:225 +#, c-format +msgid "order padding: %s: %s" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:233 plugins/sudoers/sudoreplay.c:289 +#: plugins/sudoers/visudo.c:184 +#, c-format +msgid "%s version %s\n" +msgstr "%s versión %s\n" + +#: plugins/sudoers/cvtsudoers.c:235 plugins/sudoers/visudo.c:186 +#, c-format +msgid "%s grammar version %d\n" +msgstr "Gramática de %s na versión %d\n" + +#: plugins/sudoers/cvtsudoers.c:252 plugins/sudoers/testsudoers.c:175 +#, c-format +msgid "unsupported input format %s" +msgstr "nun se sofita'l formatu d'entrada %s" + +#: plugins/sudoers/cvtsudoers.c:267 +#, c-format +msgid "unsupported output format %s" +msgstr "nun se sofita'l formatu de salida %s" + +#: plugins/sudoers/cvtsudoers.c:319 +#, c-format +msgid "%s: input and output files must be different" +msgstr "%s: los ficheros d'entrada y salida han ser diferentes" + +#: plugins/sudoers/cvtsudoers.c:335 plugins/sudoers/sudoers.c:174 +#: plugins/sudoers/testsudoers.c:266 plugins/sudoers/visudo.c:254 +#: plugins/sudoers/visudo.c:610 plugins/sudoers/visudo.c:933 +msgid "unable to initialize sudoers default values" +msgstr "nun puen aniciase los valores predeterminaos de sudoers" + +#: plugins/sudoers/cvtsudoers.c:421 plugins/sudoers/ldap_conf.c:435 +#, c-format +msgid "%s: %s: %s: %s" +msgstr "%s: %s: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:480 +#, c-format +msgid "%s: unknown key word: %s" +msgstr "%s: desconozse la pallabra clave: %s" + +#: plugins/sudoers/cvtsudoers.c:526 +#, c-format +msgid "invalid defaults type: %s" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:549 +#, c-format +msgid "invalid suppression type: %s" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:589 plugins/sudoers/cvtsudoers.c:603 +#, c-format +msgid "invalid filter: %s" +msgstr "la peñera nun ye válida: %s" + +#: plugins/sudoers/cvtsudoers.c:622 plugins/sudoers/cvtsudoers.c:639 +#: plugins/sudoers/cvtsudoers.c:1245 plugins/sudoers/cvtsudoers_json.c:1130 +#: plugins/sudoers/cvtsudoers_ldif.c:643 plugins/sudoers/iolog.c:413 +#: plugins/sudoers/iolog_util.c:74 plugins/sudoers/sudoers.c:909 +#: plugins/sudoers/sudoreplay.c:335 plugins/sudoers/sudoreplay.c:1427 +#: plugins/sudoers/timestamp.c:448 plugins/sudoers/tsdump.c:135 +#: plugins/sudoers/visudo.c:929 +#, c-format +msgid "unable to open %s" +msgstr "nun pue abrise %s" + +#: plugins/sudoers/cvtsudoers.c:642 plugins/sudoers/visudo.c:938 +#, c-format +msgid "failed to parse %s file, unknown error" +msgstr "fallu al analizar el ficheru %s, fallu desconocíu" + +#: plugins/sudoers/cvtsudoers.c:650 plugins/sudoers/visudo.c:955 +#, c-format +msgid "parse error in %s near line %d\n" +msgstr "fallu d'analís en %s cierca de la llinia %d\n" + +#: plugins/sudoers/cvtsudoers.c:653 plugins/sudoers/visudo.c:958 +#, c-format +msgid "parse error in %s\n" +msgstr "fallu d'analís en %s\n" + +#: plugins/sudoers/cvtsudoers.c:1292 plugins/sudoers/iolog.c:500 +#: plugins/sudoers/sudoreplay.c:1131 plugins/sudoers/timestamp.c:332 +#: plugins/sudoers/timestamp.c:335 +#, c-format +msgid "unable to write to %s" +msgstr "nun pue escribise en %s" + +#: plugins/sudoers/cvtsudoers.c:1315 +#, c-format +msgid "" +"%s - convert between sudoers file formats\n" +"\n" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:1317 +msgid "" +"\n" +"Options:\n" +" -b, --base=dn the base DN for sudo LDAP queries\n" +" -c, --config=conf_file the path to the configuration file\n" +" -d, --defaults=deftypes only convert Defaults of the specified types\n" +" -e, --expand-aliases expand aliases when converting\n" +" -f, --output-format=format set output format: JSON, LDIF or sudoers\n" +" -i, --input-format=format set input format: LDIF or sudoers\n" +" -I, --increment=num amount to increase each sudoOrder by\n" +" -h, --help display help message and exit\n" +" -m, --match=filter only convert entries that match the filter\n" +" -M, --match-local match filter uses passwd and group databases\n" +" -o, --output=output_file write converted sudoers to output_file\n" +" -O, --order-start=num starting point for first sudoOrder\n" +" -p, --prune-matches prune non-matching users, groups and hosts\n" +" -P, --padding=num base padding for sudoOrder increment\n" +" -s, --suppress=sections suppress output of certain sections\n" +" -V, --version display version information and exit" +msgstr "" + +#: plugins/sudoers/cvtsudoers_json.c:684 plugins/sudoers/cvtsudoers_json.c:720 +#: plugins/sudoers/cvtsudoers_json.c:938 +#, c-format +msgid "unknown defaults entry \"%s\"" +msgstr "desconozse lo predeterminao de la entrada «%s»" + +#: plugins/sudoers/cvtsudoers_json.c:858 plugins/sudoers/cvtsudoers_json.c:873 +#: plugins/sudoers/cvtsudoers_ldif.c:308 plugins/sudoers/cvtsudoers_ldif.c:319 +#: plugins/sudoers/ldap.c:482 +msgid "unable to get GMT time" +msgstr "nun pue consiguise la hora GMT" + +#: plugins/sudoers/cvtsudoers_json.c:861 plugins/sudoers/cvtsudoers_json.c:876 +#: plugins/sudoers/cvtsudoers_ldif.c:311 plugins/sudoers/cvtsudoers_ldif.c:322 +#: plugins/sudoers/ldap.c:488 +msgid "unable to format timestamp" +msgstr "nun pue formatiase la marca de tiempu" + +#: plugins/sudoers/cvtsudoers_ldif.c:526 plugins/sudoers/env.c:330 +#: plugins/sudoers/env.c:337 plugins/sudoers/env.c:442 +#: plugins/sudoers/ldap.c:496 plugins/sudoers/ldap.c:727 +#: plugins/sudoers/ldap.c:1054 plugins/sudoers/ldap_conf.c:227 +#: plugins/sudoers/ldap_conf.c:317 plugins/sudoers/linux_audit.c:89 +#: plugins/sudoers/logging.c:1092 plugins/sudoers/policy.c:625 +#: plugins/sudoers/policy.c:635 plugins/sudoers/prompt.c:168 +#: plugins/sudoers/sudoers.c:847 plugins/sudoers/testsudoers.c:257 +#: plugins/sudoers/toke_util.c:161 +#, c-format +msgid "internal error, %s overflow" +msgstr "fallu internu, sobrecarga de %s" + +#: plugins/sudoers/cvtsudoers_ldif.c:595 +#, c-format +msgid "too many sudoers entries, maximum %u" +msgstr "" + +#: plugins/sudoers/cvtsudoers_ldif.c:638 +msgid "the SUDOERS_BASE environment variable is not set and the -b option was not specified." +msgstr "nun s'afitó la variable d'entornu SUDOERS_BASE y tampoco s'especificó la opción -b" + +#: plugins/sudoers/def_data.c:42 +#, c-format +msgid "Syslog facility if syslog is being used for logging: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:46 +#, c-format +msgid "Syslog priority to use when user authenticates successfully: %s" +msgstr "La prioridá a usar de syslog cuando un usuariu s'autentica con ésitu: %s" + +#: plugins/sudoers/def_data.c:50 +#, c-format +msgid "Syslog priority to use when user authenticates unsuccessfully: %s" +msgstr "La prioridá a usar de syslog cuando un usuariu nun s'autentica con ésitu: %s" + +#: plugins/sudoers/def_data.c:54 +msgid "Put OTP prompt on its own line" +msgstr "" + +#: plugins/sudoers/def_data.c:58 +msgid "Ignore '.' in $PATH" +msgstr "Inora «.» en $PATH" + +#: plugins/sudoers/def_data.c:62 +msgid "Always send mail when sudo is run" +msgstr "Unviar siempres un corréu cuando sudo ta n'execución" + +#: plugins/sudoers/def_data.c:66 +msgid "Send mail if user authentication fails" +msgstr "Unvia un corréu si falla l'autenticación del usuariu" + +#: plugins/sudoers/def_data.c:70 +msgid "Send mail if the user is not in sudoers" +msgstr "Unvia un corréu si l'usuariu nun ta en sudoers" + +#: plugins/sudoers/def_data.c:74 +msgid "Send mail if the user is not in sudoers for this host" +msgstr "Unvia un corréu si l'usuariu nun ta nel sudoers d'esti agospiu" + +#: plugins/sudoers/def_data.c:78 +msgid "Send mail if the user is not allowed to run a command" +msgstr "Unvia un corréu si l'usuariu nun tien permisu pa executar un comandu" + +#: plugins/sudoers/def_data.c:82 +msgid "Send mail if the user tries to run a command" +msgstr "Unvia un corréu si l'usuariu tenta d'executar un comandu" + +#: plugins/sudoers/def_data.c:86 +msgid "Use a separate timestamp for each user/tty combo" +msgstr "" + +#: plugins/sudoers/def_data.c:90 +msgid "Lecture user the first time they run sudo" +msgstr "" + +#: plugins/sudoers/def_data.c:94 +#, c-format +msgid "File containing the sudo lecture: %s" +msgstr "Ficheru que contién la llectura de sudo: %s" + +#: plugins/sudoers/def_data.c:98 +msgid "Require users to authenticate by default" +msgstr "Rique que los usuarios s'autentiquen por defeutu" + +#: plugins/sudoers/def_data.c:102 +msgid "Root may run sudo" +msgstr "Root podría executar sudo" + +#: plugins/sudoers/def_data.c:106 +msgid "Log the hostname in the (non-syslog) log file" +msgstr "" + +#: plugins/sudoers/def_data.c:110 +msgid "Log the year in the (non-syslog) log file" +msgstr "Rexistra l'añu nel ficheru de rexistru (non syslog)" + +#: plugins/sudoers/def_data.c:114 +msgid "If sudo is invoked with no arguments, start a shell" +msgstr "Si s'invoca sudo ensin argumentos, anicia una shell" + +#: plugins/sudoers/def_data.c:118 +msgid "Set $HOME to the target user when starting a shell with -s" +msgstr "Afita $HOME al usuariu de destín al aniciar una shell con -s" + +#: plugins/sudoers/def_data.c:122 +msgid "Always set $HOME to the target user's home directory" +msgstr "Siempres afita $HOME al direutoriu d'aniciu del usuariu de destín" + +#: plugins/sudoers/def_data.c:126 +msgid "Allow some information gathering to give useful error messages" +msgstr "Permite la recoyida de della información pa dar mensaxes de fallu útiles" + +#: plugins/sudoers/def_data.c:130 +msgid "Require fully-qualified hostnames in the sudoers file" +msgstr "" + +#: plugins/sudoers/def_data.c:134 +msgid "Insult the user when they enter an incorrect password" +msgstr "Insulta al usuariu cuando introduza una contraseña incorreuta" + +#: plugins/sudoers/def_data.c:138 +msgid "Only allow the user to run sudo if they have a tty" +msgstr "Namái permite que l'usuariu execute sudo si tien una TTY" + +#: plugins/sudoers/def_data.c:142 +msgid "Visudo will honor the EDITOR environment variable" +msgstr "Visudo va respetar la variable d'entornu EDITOR" + +#: plugins/sudoers/def_data.c:146 +msgid "Prompt for root's password, not the users's" +msgstr "" + +#: plugins/sudoers/def_data.c:150 +msgid "Prompt for the runas_default user's password, not the users's" +msgstr "" + +#: plugins/sudoers/def_data.c:154 +msgid "Prompt for the target user's password, not the users's" +msgstr "" + +#: plugins/sudoers/def_data.c:158 +msgid "Apply defaults in the target user's login class if there is one" +msgstr "" + +#: plugins/sudoers/def_data.c:162 +msgid "Set the LOGNAME and USER environment variables" +msgstr "Afita les variables d'entornu LOGNAME y USER" + +#: plugins/sudoers/def_data.c:166 +msgid "Only set the effective uid to the target user, not the real uid" +msgstr "Namái afita l'UID efeutivu al usuariu de destín, non al UID real" + +#: plugins/sudoers/def_data.c:170 +msgid "Don't initialize the group vector to that of the target user" +msgstr "" + +#: plugins/sudoers/def_data.c:174 +#, c-format +msgid "Length at which to wrap log file lines (0 for no wrap): %u" +msgstr "Llargor al que s'axusten les llinies del ficheru de rexistru (0 pa nun axustar): %u" + +#: plugins/sudoers/def_data.c:178 +#, c-format +msgid "Authentication timestamp timeout: %.1f minutes" +msgstr "Escosa del tiempu d'espera de la marca de tiempu de l'autenticación: %.1f minutes" + +#: plugins/sudoers/def_data.c:182 +#, c-format +msgid "Password prompt timeout: %.1f minutes" +msgstr "Escosa del tiempu d'espera pa la introducción de contraseñes: %.1f minutes" + +#: plugins/sudoers/def_data.c:186 +#, c-format +msgid "Number of tries to enter a password: %u" +msgstr "Númberu d'intentos pa introducir una contraseña: %u" + +#: plugins/sudoers/def_data.c:190 +#, c-format +msgid "Umask to use or 0777 to use user's: 0%o" +msgstr "" + +#: plugins/sudoers/def_data.c:194 +#, c-format +msgid "Path to log file: %s" +msgstr "Camín al ficheru de rexistru: %s" + +#: plugins/sudoers/def_data.c:198 +#, c-format +msgid "Path to mail program: %s" +msgstr "Camín al programa de corréu: %s" + +#: plugins/sudoers/def_data.c:202 +#, c-format +msgid "Flags for mail program: %s" +msgstr "Banderes pal programa de corréu: %s" + +#: plugins/sudoers/def_data.c:206 +#, c-format +msgid "Address to send mail to: %s" +msgstr "Direición a la qu'unviar correos: %s" + +#: plugins/sudoers/def_data.c:210 +#, c-format +msgid "Address to send mail from: %s" +msgstr "Direición dende la qu'unviar correos: %s" + +#: plugins/sudoers/def_data.c:214 +#, c-format +msgid "Subject line for mail messages: %s" +msgstr "Asuntu de los mensaxes de corréu: %s" + +#: plugins/sudoers/def_data.c:218 +#, c-format +msgid "Incorrect password message: %s" +msgstr "Mensaxe de contraseña incorreuta: %s" + +#: plugins/sudoers/def_data.c:222 +#, c-format +msgid "Path to lecture status dir: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:226 +#, c-format +msgid "Path to authentication timestamp dir: %s" +msgstr "Camín al direutoriu de marques de tiempu de l'autenticación: %s" + +#: plugins/sudoers/def_data.c:230 +#, c-format +msgid "Owner of the authentication timestamp dir: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:234 +#, c-format +msgid "Users in this group are exempt from password and PATH requirements: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:238 +#, c-format +msgid "Default password prompt: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:242 +msgid "If set, passprompt will override system prompt in all cases." +msgstr "" + +#: plugins/sudoers/def_data.c:246 +#, c-format +msgid "Default user to run commands as: %s" +msgstr "Usuariu predeterminái pa executar comandos como: %s" + +#: plugins/sudoers/def_data.c:250 +#, c-format +msgid "Value to override user's $PATH with: %s" +msgstr "Valor col qu'anular el $PATH d'usuariu: %s" + +#: plugins/sudoers/def_data.c:254 +#, c-format +msgid "Path to the editor for use by visudo: %s" +msgstr "Camín al editor que va usar visudo: %s" + +#: plugins/sudoers/def_data.c:258 +#, c-format +msgid "When to require a password for 'list' pseudocommand: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:262 +#, c-format +msgid "When to require a password for 'verify' pseudocommand: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:266 +msgid "Preload the dummy exec functions contained in the sudo_noexec library" +msgstr "" + +#: plugins/sudoers/def_data.c:270 +msgid "If LDAP directory is up, do we ignore local sudoers file" +msgstr "Si'l direutoriu LDAP ta activu, inoramos el ficheru sudoers llocal" + +#: plugins/sudoers/def_data.c:274 +#, c-format +msgid "File descriptors >= %d will be closed before executing a command" +msgstr "" + +#: plugins/sudoers/def_data.c:278 +msgid "If set, users may override the value of `closefrom' with the -C option" +msgstr "Si s'afita, los usuarios podríen anular el valor de «closefrom» cola opción -C" + +#: plugins/sudoers/def_data.c:282 +msgid "Allow users to set arbitrary environment variables" +msgstr "Permite que los usuarios afiten variables d'entornu arbitraries" + +#: plugins/sudoers/def_data.c:286 +msgid "Reset the environment to a default set of variables" +msgstr "Reafita l'entornu al conxuntu de variables predetermináu" + +#: plugins/sudoers/def_data.c:290 +msgid "Environment variables to check for sanity:" +msgstr "" + +#: plugins/sudoers/def_data.c:294 +msgid "Environment variables to remove:" +msgstr "Variables d'entornu a desaniciar:" + +#: plugins/sudoers/def_data.c:298 +msgid "Environment variables to preserve:" +msgstr "Variables d'entornu a caltener:" + +#: plugins/sudoers/def_data.c:302 +#, c-format +msgid "SELinux role to use in the new security context: %s" +msgstr "El rol de SELinux a usar nel contestu de seguranza nuevu: %s" + +#: plugins/sudoers/def_data.c:306 +#, c-format +msgid "SELinux type to use in the new security context: %s" +msgstr "La triba de SELinux a usar nel contestu de seguranza nuevu: %s" + +#: plugins/sudoers/def_data.c:310 +#, c-format +msgid "Path to the sudo-specific environment file: %s" +msgstr "Camín al ficheru d'entornu específicu de sudo: %s" + +#: plugins/sudoers/def_data.c:314 +#, c-format +msgid "Path to the restricted sudo-specific environment file: %s" +msgstr "Camín al ficheru d'entornu restrinxíu y específicu de sudo: %s" + +#: plugins/sudoers/def_data.c:318 +#, c-format +msgid "Locale to use while parsing sudoers: %s" +msgstr "La locale a usar mentanto s'analiza sudoers: %s" + +#: plugins/sudoers/def_data.c:322 +msgid "Allow sudo to prompt for a password even if it would be visible" +msgstr "Permite a sudo pidir una contraseña magar que seya visible" + +#: plugins/sudoers/def_data.c:326 +msgid "Provide visual feedback at the password prompt when there is user input" +msgstr "" + +#: plugins/sudoers/def_data.c:330 +msgid "Use faster globbing that is less accurate but does not access the filesystem" +msgstr "" + +#: plugins/sudoers/def_data.c:334 +msgid "The umask specified in sudoers will override the user's, even if it is more permissive" +msgstr "El umask especificáu en sudoers va anular el del usuariu, magar que seya más permisivu" + +#: plugins/sudoers/def_data.c:338 +msgid "Log user's input for the command being run" +msgstr "Rexistra la entrada d'usuariu pal comandu que ta n'execución" + +#: plugins/sudoers/def_data.c:342 +msgid "Log the output of the command being run" +msgstr "Rexistra la salida del comandu que ta n'execución" + +#: plugins/sudoers/def_data.c:346 +msgid "Compress I/O logs using zlib" +msgstr "Comprime los rexistros d'E/S usando zlib" + +#: plugins/sudoers/def_data.c:350 +msgid "Always run commands in a pseudo-tty" +msgstr "Executa siempres los comandos nuna pseudoTTY" + +#: plugins/sudoers/def_data.c:354 +#, c-format +msgid "Plugin for non-Unix group support: %s" +msgstr "Complementu pal sofitu de grupos non Unix: %s" + +#: plugins/sudoers/def_data.c:358 +#, c-format +msgid "Directory in which to store input/output logs: %s" +msgstr "Direutoriu nel que s'atroxen los rexistros d'entrada/salida: %s" + +#: plugins/sudoers/def_data.c:362 +#, c-format +msgid "File in which to store the input/output log: %s" +msgstr "Ficheru nel que s'atroxen los rexistros d'entrada/salida: %s" + +#: plugins/sudoers/def_data.c:366 +msgid "Add an entry to the utmp/utmpx file when allocating a pty" +msgstr "Amiesta una entrada al ficheru utmp/utmpx al allugar una PTY" + +#: plugins/sudoers/def_data.c:370 +msgid "Set the user in utmp to the runas user, not the invoking user" +msgstr "" + +#: plugins/sudoers/def_data.c:374 +#, c-format +msgid "Set of permitted privileges: %s" +msgstr "Conxuntu de privilexos permitíos: %s" + +#: plugins/sudoers/def_data.c:378 +#, c-format +msgid "Set of limit privileges: %s" +msgstr "Conxuntu de privilexos llendaos: %s" + +#: plugins/sudoers/def_data.c:382 +msgid "Run commands on a pty in the background" +msgstr "Executa comandos nuna PTY en segundu planu" + +#: plugins/sudoers/def_data.c:386 +#, c-format +msgid "PAM service name to use: %s" +msgstr "Nome del serviciu PAM a usar: %s" + +#: plugins/sudoers/def_data.c:390 +#, c-format +msgid "PAM service name to use for login shells: %s" +msgstr "Nome del serviciu PAM a usar pa les shells d'aniciu de sesión: %s" + +#: plugins/sudoers/def_data.c:394 +msgid "Attempt to establish PAM credentials for the target user" +msgstr "Tenta d'afitar les credenciales de PAM pal usuariu de destín" + +#: plugins/sudoers/def_data.c:398 +msgid "Create a new PAM session for the command to run in" +msgstr "Crea una sesión PAM nueva pal comandu que va executase nella" + +#: plugins/sudoers/def_data.c:402 +#, fuzzy +#| msgid "PAM account management error: %s" +msgid "Perform PAM account validation management" +msgstr "Fallu de la xesión de cuentes PAM: %s" + +#: plugins/sudoers/def_data.c:406 +#, c-format +msgid "Maximum I/O log sequence number: %u" +msgstr "Númberu máximu de secuencies de rexistru d'E/S: %u" + +#: plugins/sudoers/def_data.c:410 +msgid "Enable sudoers netgroup support" +msgstr "" + +#: plugins/sudoers/def_data.c:414 +msgid "Check parent directories for writability when editing files with sudoedit" +msgstr "Comprueba'l permisu d'escritura nos direutorios parentales al editar ficheros con sudoedit" + +#: plugins/sudoers/def_data.c:418 +msgid "Follow symbolic links when editing files with sudoedit" +msgstr "Sigue enllaces simbólicos cuando s'editen ficheros con sudoedit" + +#: plugins/sudoers/def_data.c:422 +msgid "Query the group plugin for unknown system groups" +msgstr "" + +#: plugins/sudoers/def_data.c:426 +msgid "Match netgroups based on the entire tuple: user, host and domain" +msgstr "" + +#: plugins/sudoers/def_data.c:430 +msgid "Allow commands to be run even if sudo cannot write to the audit log" +msgstr "Permite que los comandos s'executen magar que sudo nun puea escribir nel rexistru d'auditoría" + +#: plugins/sudoers/def_data.c:434 +msgid "Allow commands to be run even if sudo cannot write to the I/O log" +msgstr "Permite que los comandos s'executen magar que sudo nun puea escribir nel rexistru d'E/S" + +#: plugins/sudoers/def_data.c:438 +msgid "Allow commands to be run even if sudo cannot write to the log file" +msgstr "Permite que los comandos s'executen magar que sudo nun puea escribir nel ficheru de rexistru " + +#: plugins/sudoers/def_data.c:442 +msgid "Resolve groups in sudoers and match on the group ID, not the name" +msgstr "" + +#: plugins/sudoers/def_data.c:446 +#, c-format +msgid "Log entries larger than this value will be split into multiple syslog messages: %u" +msgstr "Les entraes mayores qu'esti valor nun van dixebrase en mensaxes de syslog múltiples: %u" + +#: plugins/sudoers/def_data.c:450 +#, c-format +msgid "User that will own the I/O log files: %s" +msgstr "L'usuariu que va ser propietariu de los ficheros de rexistru d'E/S: %s" + +#: plugins/sudoers/def_data.c:454 +#, c-format +msgid "Group that will own the I/O log files: %s" +msgstr "El grupu que va ser propietariu de los ficheros de rexistru d'E/S: %s" + +#: plugins/sudoers/def_data.c:458 +#, c-format +msgid "File mode to use for the I/O log files: 0%o" +msgstr "" + +#: plugins/sudoers/def_data.c:462 +#, c-format +msgid "Execute commands by file descriptor instead of by path: %s" +msgstr "Executa comandos pol descriptor de ficheru en cuentes de pol camín: %s" + +#: plugins/sudoers/def_data.c:466 +msgid "Ignore unknown Defaults entries in sudoers instead of producing a warning" +msgstr "" + +#: plugins/sudoers/def_data.c:470 +#, c-format +msgid "Time in seconds after which the command will be terminated: %u" +msgstr "El tiempu en segundos tres el que'l comandu va terminar: %u" + +#: plugins/sudoers/def_data.c:474 +msgid "Allow the user to specify a timeout on the command line" +msgstr "Permite que l'usuariu especifique na llinia de comandos una escosa del tiempu d'espera" + +#: plugins/sudoers/def_data.c:478 +msgid "Flush I/O log data to disk immediately instead of buffering it" +msgstr "" + +#: plugins/sudoers/def_data.c:482 +msgid "Include the process ID when logging via syslog" +msgstr "" + +#: plugins/sudoers/def_data.c:486 +#, c-format +msgid "Type of authentication timestamp record: %s" +msgstr "Rexistru de la marca de tiempu de la triba d'autentiación: %s" + +#: plugins/sudoers/def_data.c:490 +#, c-format +msgid "Authentication failure message: %s" +msgstr "Mensaxe del fallu d'autenticación: %s" + +#: plugins/sudoers/def_data.c:494 +msgid "Ignore case when matching user names" +msgstr "" + +#: plugins/sudoers/def_data.c:498 +msgid "Ignore case when matching group names" +msgstr "" + +#: plugins/sudoers/defaults.c:231 +#, c-format +msgid "%s:%d unknown defaults entry \"%s\"" +msgstr "%s:%d desconozse lo predeterminao de la entrada «%s»" + +#: plugins/sudoers/defaults.c:234 +#, c-format +msgid "%s: unknown defaults entry \"%s\"" +msgstr "%s: desconozse lo predeterminao de la entrada «%s»" + +#: plugins/sudoers/defaults.c:277 +#, c-format +msgid "%s:%d no value specified for \"%s\"" +msgstr "%s:%d nun s'especificó dengún valor pa «%s»" + +#: plugins/sudoers/defaults.c:280 +#, c-format +msgid "%s: no value specified for \"%s\"" +msgstr "%s: nun s'especificó dengún valor pa «%s»" + +#: plugins/sudoers/defaults.c:300 +#, c-format +msgid "%s:%d values for \"%s\" must start with a '/'" +msgstr "%s:%d los valores pa «%s» han apenzar per «/»" + +#: plugins/sudoers/defaults.c:303 +#, c-format +msgid "%s: values for \"%s\" must start with a '/'" +msgstr "%s los valores pa «%s» han apenzar per «/»" + +#: plugins/sudoers/defaults.c:325 +#, c-format +msgid "%s:%d option \"%s\" does not take a value" +msgstr "%s:%d la opción «%s» nun garra dengún valor" + +#: plugins/sudoers/defaults.c:328 +#, c-format +msgid "%s: option \"%s\" does not take a value" +msgstr "%s: la opción «%s» nun garra dengún valor" + +#: plugins/sudoers/defaults.c:353 +#, c-format +msgid "%s:%d invalid Defaults type 0x%x for option \"%s\"" +msgstr "" + +#: plugins/sudoers/defaults.c:356 +#, c-format +msgid "%s: invalid Defaults type 0x%x for option \"%s\"" +msgstr "" + +#: plugins/sudoers/defaults.c:366 +#, c-format +msgid "%s:%d value \"%s\" is invalid for option \"%s\"" +msgstr "%s:%d el valor «%s» nun ye válidu pa la opción «%s»" + +#: plugins/sudoers/defaults.c:369 +#, c-format +msgid "%s: value \"%s\" is invalid for option \"%s\"" +msgstr "%s: el valor «%s» nun ye válidu pa la opción «%s»" + +#: plugins/sudoers/env.c:411 +msgid "sudo_putenv: corrupted envp, length mismatch" +msgstr "" + +#: plugins/sudoers/env.c:1132 +msgid "unable to rebuild the environment" +msgstr "nun pue construyise de nueves l'entornu" + +#: plugins/sudoers/env.c:1206 +#, c-format +msgid "sorry, you are not allowed to set the following environment variables: %s" +msgstr "perdona pero nun tienes permisu p'afitar les variables d'entornu de darréu: %s" + +#: plugins/sudoers/file.c:116 +#, c-format +msgid "parse error in %s near line %d" +msgstr "fallu d'analís en %s cierca de la llinia %d" + +#: plugins/sudoers/file.c:119 +#, c-format +msgid "parse error in %s" +msgstr "fallu d'analís en %s" + +#: plugins/sudoers/filedigest.c:61 +#, c-format +msgid "unsupported digest type %d for %s" +msgstr "nun se sofita la triba de digest %d pa %s" + +#: plugins/sudoers/filedigest.c:90 +#, c-format +msgid "%s: read error" +msgstr "%s: fallu de llectura" + +#: plugins/sudoers/group_plugin.c:90 +#, c-format +msgid "%s must be owned by uid %d" +msgstr "%s ha ser propiedá del UID %d" + +#: plugins/sudoers/group_plugin.c:94 +#, c-format +msgid "%s must only be writable by owner" +msgstr "%s ha ser namái escribible pol dueñu" + +#: plugins/sudoers/group_plugin.c:102 plugins/sudoers/sssd.c:563 +#, c-format +msgid "unable to load %s: %s" +msgstr "nun pue cargase %s: %s" + +#: plugins/sudoers/group_plugin.c:108 +#, c-format +msgid "unable to find symbol \"group_plugin\" in %s" +msgstr "nun pue alcontrase'l símbolu «group_plugin» en %s" + +#: plugins/sudoers/group_plugin.c:113 +#, c-format +msgid "%s: incompatible group plugin major version %d, expected %d" +msgstr "" + +#: plugins/sudoers/interfaces.c:86 plugins/sudoers/interfaces.c:103 +#, c-format +msgid "unable to parse IP address \"%s\"" +msgstr "nun pue analizase la direición IP «%s»" + +#: plugins/sudoers/interfaces.c:91 plugins/sudoers/interfaces.c:108 +#, c-format +msgid "unable to parse netmask \"%s\"" +msgstr "nun pue analizase la mázcara de rede «%s»" + +#: plugins/sudoers/interfaces.c:136 +msgid "Local IP address and netmask pairs:\n" +msgstr "" + +#: plugins/sudoers/iolog.c:117 plugins/sudoers/mkdir_parents.c:82 +#, c-format +msgid "%s exists but is not a directory (0%o)" +msgstr "%s esiste pero nun ye un direutoriu (0%o)" + +#: plugins/sudoers/iolog.c:142 plugins/sudoers/iolog.c:182 +#: plugins/sudoers/mkdir_parents.c:71 plugins/sudoers/timestamp.c:212 +#, c-format +msgid "unable to mkdir %s" +msgstr "" + +#: plugins/sudoers/iolog.c:186 plugins/sudoers/visudo.c:739 +#: plugins/sudoers/visudo.c:750 +#, c-format +msgid "unable to change mode of %s to 0%o" +msgstr "nun pue camudse'l mou de %s a 0%o" + +#: plugins/sudoers/iolog.c:294 plugins/sudoers/sudoers.c:1189 +#: plugins/sudoers/testsudoers.c:424 +#, c-format +msgid "unknown group: %s" +msgstr "desconozse'l grupu: %s" + +#: plugins/sudoers/iolog.c:464 plugins/sudoers/sudoers.c:913 +#: plugins/sudoers/sudoreplay.c:842 plugins/sudoers/sudoreplay.c:1538 +#: plugins/sudoers/tsdump.c:145 +#, c-format +msgid "unable to read %s" +msgstr "nun pue lleese %s" + +#: plugins/sudoers/iolog.c:579 plugins/sudoers/iolog.c:799 +#, c-format +msgid "unable to create %s" +msgstr "nun pue crease %s" + +#: plugins/sudoers/iolog.c:822 plugins/sudoers/iolog.c:1037 +#: plugins/sudoers/iolog.c:1113 plugins/sudoers/iolog.c:1207 +#: plugins/sudoers/iolog.c:1267 +#, c-format +msgid "unable to write to I/O log file: %s" +msgstr "nun pue escribise nel ficheru de rexistru d'E/S %s" + +#: plugins/sudoers/iolog.c:1071 +#, fuzzy, c-format +#| msgid "%s: internal error, file index %d not open" +msgid "%s: internal error, I/O log file for event %d not open" +msgstr "%s: fallu internu, l'índiz de ficheros %d nun ta abiertu" + +#: plugins/sudoers/iolog.c:1230 +#, fuzzy, c-format +#| msgid "%s: internal error, file index %d not open" +msgid "%s: internal error, invalid signal %d" +msgstr "%s: fallu internu, l'índiz de ficheros %d nun ta abiertu" + +#: plugins/sudoers/iolog_util.c:89 +#, c-format +msgid "%s: invalid log file" +msgstr "%s: el ficheru de rexistru nun ye válidu" + +#: plugins/sudoers/iolog_util.c:107 +#, c-format +msgid "%s: time stamp field is missing" +msgstr "%s: falta'l ficheru de marques de tiempu" + +#: plugins/sudoers/iolog_util.c:113 +#, c-format +msgid "%s: time stamp %s: %s" +msgstr "" + +#: plugins/sudoers/iolog_util.c:120 +#, c-format +msgid "%s: user field is missing" +msgstr "%s: falta'l campu d'usuariu" + +#: plugins/sudoers/iolog_util.c:129 +#, c-format +msgid "%s: runas user field is missing" +msgstr "" + +#: plugins/sudoers/iolog_util.c:138 +#, c-format +msgid "%s: runas group field is missing" +msgstr "" + +#: plugins/sudoers/ldap.c:178 plugins/sudoers/ldap_conf.c:296 +msgid "starttls not supported when using ldaps" +msgstr "nun se sofita starttls cuando s'usa LDAPS" + +#: plugins/sudoers/ldap.c:249 +#, c-format +msgid "unable to initialize SSL cert and key db: %s" +msgstr "nun pue aniciase la base de datos de claves y certificaos SSL: %s" + +#: plugins/sudoers/ldap.c:252 +#, c-format +msgid "you must set TLS_CERT in %s to use SSL" +msgstr "ha afitar TLS_CERT en %s pa usar SSL" + +#: plugins/sudoers/ldap.c:1614 +#, c-format +msgid "unable to initialize LDAP: %s" +msgstr "nun pue aniciase LDAP: %s" + +#: plugins/sudoers/ldap.c:1650 +msgid "start_tls specified but LDAP libs do not support ldap_start_tls_s() or ldap_start_tls_s_np()" +msgstr "" + +#: plugins/sudoers/ldap.c:1787 plugins/sudoers/parse_ldif.c:737 +#, c-format +msgid "invalid sudoOrder attribute: %s" +msgstr "atributu sudoOrder non válidu: %s" + +#: plugins/sudoers/ldap_conf.c:205 +msgid "sudo_ldap_conf_add_ports: port too large" +msgstr "sudo_ldap_conf_add_ports: el puertu ye pergrande" + +#: plugins/sudoers/ldap_conf.c:265 +#, c-format +msgid "unsupported LDAP uri type: %s" +msgstr "nun se sofita la triba URI de LDAP: %s" + +#: plugins/sudoers/ldap_conf.c:292 +msgid "unable to mix ldap and ldaps URIs" +msgstr "nun puen mecese les URIs de LDAP y LDAPS" + +#: plugins/sudoers/ldap_util.c:456 plugins/sudoers/ldap_util.c:458 +#, c-format +msgid "unable to convert sudoOption: %s%s%s" +msgstr "nun pue convertise sudoOption: %s%s%s" + +#: plugins/sudoers/linux_audit.c:59 +msgid "unable to open audit system" +msgstr "nun pue abrise'l sistema d'auditoría" + +#: plugins/sudoers/linux_audit.c:100 +msgid "unable to send audit message" +msgstr "nun pue unviase'l mensaxe d'auditoría" + +#: plugins/sudoers/logging.c:120 +#, c-format +msgid "%8s : %s" +msgstr "%8s : %s" + +#: plugins/sudoers/logging.c:148 +#, c-format +msgid "%8s : (command continued) %s" +msgstr "%8s : (el comandu siguió) %s" + +#: plugins/sudoers/logging.c:177 +#, c-format +msgid "unable to open log file: %s" +msgstr "nun pue abrise'l ficheru de rexistru: %s" + +#: plugins/sudoers/logging.c:185 +#, c-format +msgid "unable to lock log file: %s" +msgstr "nun pue bloquiase'l fiheru de rexistru: %s" + +#: plugins/sudoers/logging.c:218 +#, c-format +msgid "unable to write log file: %s" +msgstr "nun pue escribise nel ficheru de rexistru: %s" + +#: plugins/sudoers/logging.c:247 +msgid "No user or host" +msgstr "" + +#: plugins/sudoers/logging.c:249 +msgid "validation failure" +msgstr "fallu de validación" + +#: plugins/sudoers/logging.c:256 +msgid "user NOT in sudoers" +msgstr "l'usuariu NUN ta en sudoers" + +#: plugins/sudoers/logging.c:258 +msgid "user NOT authorized on host" +msgstr "l'usuariu NUN ta autorizáu nel agospiu" + +#: plugins/sudoers/logging.c:260 +msgid "command not allowed" +msgstr "comandu non permitíu" + +#: plugins/sudoers/logging.c:295 +#, c-format +msgid "%s is not in the sudoers file. This incident will be reported.\n" +msgstr "%s nun ta nel ficheru sudoers. Va informase d'esti incidente.\n" + +#: plugins/sudoers/logging.c:298 +#, c-format +msgid "%s is not allowed to run sudo on %s. This incident will be reported.\n" +msgstr "%s nun tien permisu pa executar sudo en %s. Va informase d'esti accidente.\n" + +#: plugins/sudoers/logging.c:302 +#, c-format +msgid "Sorry, user %s may not run sudo on %s.\n" +msgstr "Perdona pero l'usuariu %s podría nun executar sudo en %s.\n" + +#: plugins/sudoers/logging.c:305 +#, c-format +msgid "Sorry, user %s is not allowed to execute '%s%s%s' as %s%s%s on %s.\n" +msgstr "Perdona pero l'usuariu %s nun tien permisu pa executar «%s%s%s» como %s%s%s en %s.\n" + +#: plugins/sudoers/logging.c:342 plugins/sudoers/sudoers.c:440 +#: plugins/sudoers/sudoers.c:442 plugins/sudoers/sudoers.c:444 +#: plugins/sudoers/sudoers.c:446 plugins/sudoers/sudoers.c:601 +#: plugins/sudoers/sudoers.c:603 +#, c-format +msgid "%s: command not found" +msgstr "%s: nun s'alcontró'l comandu" + +#: plugins/sudoers/logging.c:344 plugins/sudoers/sudoers.c:436 +#, c-format +msgid "" +"ignoring \"%s\" found in '.'\n" +"Use \"sudo ./%s\" if this is the \"%s\" you wish to run." +msgstr "" + +#: plugins/sudoers/logging.c:361 +msgid "authentication failure" +msgstr "fallu d'autenticación" + +#: plugins/sudoers/logging.c:387 +msgid "a password is required" +msgstr "ríquese una contraseña" + +#: plugins/sudoers/logging.c:450 +#, c-format +msgid "%u incorrect password attempt" +msgid_plural "%u incorrect password attempts" +msgstr[0] "" +msgstr[1] "" + +#: plugins/sudoers/logging.c:715 +#, c-format +msgid "unable to dup stdin: %m" +msgstr "nun pue facese dup a stdin: %m" + +#: plugins/sudoers/logging.c:755 +#, c-format +msgid "unable to execute %s: %m" +msgstr "nun pue executase %s: %m" + +#: plugins/sudoers/logging.c:796 plugins/sudoers/logging.c:852 +#, c-format +msgid "unable to fork: %m" +msgstr "nun pue biforcase: %m" + +#: plugins/sudoers/logging.c:842 +#, c-format +msgid "unable to open pipe: %m" +msgstr "nun pue abrise la tubería: %m" + +#: plugins/sudoers/match_digest.c:100 +#, c-format +msgid "digest for %s (%s) is not in %s form" +msgstr "el digest pa %s (%s) nun ta na forma %s" + +#: plugins/sudoers/mkdir_parents.c:77 plugins/sudoers/sudoers.c:938 +#: plugins/sudoers/visudo.c:437 plugins/sudoers/visudo.c:733 +#, c-format +msgid "unable to stat %s" +msgstr "nun pue facese stat a %s" + +#: plugins/sudoers/parse.c:449 +#, c-format +msgid "" +"\n" +"LDAP Role: %s\n" +msgstr "" +"\n" +"Rol LADAP: %s\n" + +#: plugins/sudoers/parse.c:452 +#, c-format +msgid "" +"\n" +"Sudoers entry:\n" +msgstr "" +"\n" +"entrada de sudoers:\n" + +#: plugins/sudoers/parse.c:454 +#, c-format +msgid " RunAsUsers: " +msgstr " RunAsUsers: " + +#: plugins/sudoers/parse.c:469 +#, c-format +msgid " RunAsGroups: " +msgstr " RunAsGroups: " + +#: plugins/sudoers/parse.c:479 +#, c-format +msgid " Options: " +msgstr " Opciones: " + +#: plugins/sudoers/parse.c:535 +#, c-format +msgid " Commands:\n" +msgstr " Comandos:\n" + +#: plugins/sudoers/parse.c:726 +#, c-format +msgid "Matching Defaults entries for %s on %s:\n" +msgstr "" + +#: plugins/sudoers/parse.c:744 +#, c-format +msgid "Runas and Command-specific defaults for %s:\n" +msgstr "" + +#: plugins/sudoers/parse.c:762 +#, c-format +msgid "User %s may run the following commands on %s:\n" +msgstr "L'usuariu %s podría executar los comandos de darréu en %s:\n" + +#: plugins/sudoers/parse.c:777 +#, c-format +msgid "User %s is not allowed to run sudo on %s.\n" +msgstr "" + +#: plugins/sudoers/parse_ldif.c:147 +#, fuzzy, c-format +#| msgid "invalid timeout value" +msgid "ignoring invalid attribute value: %s" +msgstr "la escosa del tiempu d'espera nun ye válida" + +#: plugins/sudoers/parse_ldif.c:586 +#, c-format +msgid "ignoring incomplete sudoRole: cn: %s" +msgstr "" + +#: plugins/sudoers/policy.c:90 plugins/sudoers/policy.c:116 +#, c-format +msgid "invalid %.*s set by sudo front-end" +msgstr "" + +#: plugins/sudoers/policy.c:295 plugins/sudoers/testsudoers.c:280 +msgid "unable to parse network address list" +msgstr "nun pue analizase la llista de direiciones de rede" + +#: plugins/sudoers/policy.c:439 +msgid "user name not set by sudo front-end" +msgstr "el nome d'usuariu nun lu afitó'l frontal de sudo" + +#: plugins/sudoers/policy.c:443 +msgid "user ID not set by sudo front-end" +msgstr "el fontal de sudo nun la afitó la ID d'usuariu" + +#: plugins/sudoers/policy.c:447 +msgid "group ID not set by sudo front-end" +msgstr "el fontal de sudo nun la afitó la ID de grupu" + +#: plugins/sudoers/policy.c:451 +msgid "host name not set by sudo front-end" +msgstr "el nome d'agospiu nun lu afitó'l frontal de sudo" + +#: plugins/sudoers/policy.c:804 plugins/sudoers/visudo.c:236 +#: plugins/sudoers/visudo.c:867 +#, c-format +msgid "unable to execute %s" +msgstr "nun pue executase %s" + +#: plugins/sudoers/policy.c:935 +#, c-format +msgid "Sudoers policy plugin version %s\n" +msgstr "Versión %s del complementu de polítiques de sudoers\n" + +#: plugins/sudoers/policy.c:937 +#, c-format +msgid "Sudoers file grammar version %d\n" +msgstr "Versión %d de la gramática del ficheru sudoers\n" + +#: plugins/sudoers/policy.c:941 +#, c-format +msgid "" +"\n" +"Sudoers path: %s\n" +msgstr "" +"\n" +"Camín de sudoers: %s\n" + +#: plugins/sudoers/policy.c:944 +#, c-format +msgid "nsswitch path: %s\n" +msgstr "camín de nsswitch: %s\n" + +#: plugins/sudoers/policy.c:946 +#, c-format +msgid "ldap.conf path: %s\n" +msgstr "camín de ldap.conf: %s\n" + +#: plugins/sudoers/policy.c:947 +#, c-format +msgid "ldap.secret path: %s\n" +msgstr "camín de ldap.secret: %s\n" + +#: plugins/sudoers/policy.c:980 +#, c-format +msgid "unable to register hook of type %d (version %d.%d)" +msgstr "" + +#: plugins/sudoers/pwutil.c:222 plugins/sudoers/pwutil.c:241 +#, c-format +msgid "unable to cache uid %u, out of memory" +msgstr "nun pue atroxase na caché l'UID %u, nun hai memoria" + +#: plugins/sudoers/pwutil.c:235 +#, c-format +msgid "unable to cache uid %u, already exists" +msgstr "nun pue atroxase na caché l'UID %u, yá esiste" + +#: plugins/sudoers/pwutil.c:296 plugins/sudoers/pwutil.c:314 +#: plugins/sudoers/pwutil.c:377 plugins/sudoers/pwutil.c:422 +#, c-format +msgid "unable to cache user %s, out of memory" +msgstr "nun pue atroxase na caché l'usuariu %s, nun hai memoria" + +#: plugins/sudoers/pwutil.c:309 +#, c-format +msgid "unable to cache user %s, already exists" +msgstr "nun pue atroxase na caché l'usuariu %s, yá esiste" + +#: plugins/sudoers/pwutil.c:541 plugins/sudoers/pwutil.c:560 +#, c-format +msgid "unable to cache gid %u, out of memory" +msgstr "nun pue atroxase na caché'l GID %u, nun hai memoria" + +#: plugins/sudoers/pwutil.c:554 +#, c-format +msgid "unable to cache gid %u, already exists" +msgstr "nun pue atroxase na caché'l GID %u, yá esiste" + +#: plugins/sudoers/pwutil.c:608 plugins/sudoers/pwutil.c:626 +#: plugins/sudoers/pwutil.c:674 plugins/sudoers/pwutil.c:716 +#, c-format +msgid "unable to cache group %s, out of memory" +msgstr "nun pue atroxase na caché'l grupu %s, nun hai memoria" + +#: plugins/sudoers/pwutil.c:621 +#, c-format +msgid "unable to cache group %s, already exists" +msgstr "nun pue atroxase na caché'l grupu %s, yá esiste" + +#: plugins/sudoers/pwutil.c:843 plugins/sudoers/pwutil.c:896 +#: plugins/sudoers/pwutil.c:947 plugins/sudoers/pwutil.c:1001 +#, c-format +msgid "unable to cache group list for %s, already exists" +msgstr "nun pue atroxase na caché la llista de grupos pa %s, yá esiste" + +#: plugins/sudoers/pwutil.c:849 plugins/sudoers/pwutil.c:901 +#: plugins/sudoers/pwutil.c:953 plugins/sudoers/pwutil.c:1006 +#, c-format +msgid "unable to cache group list for %s, out of memory" +msgstr "nun pue atroxase na caché la llista de grupos pa %s, nun hai memoria" + +#: plugins/sudoers/pwutil.c:890 +#, c-format +msgid "unable to parse groups for %s" +msgstr "" + +#: plugins/sudoers/pwutil.c:995 +#, c-format +msgid "unable to parse gids for %s" +msgstr "" + +#: plugins/sudoers/set_perms.c:120 plugins/sudoers/set_perms.c:478 +#: plugins/sudoers/set_perms.c:921 plugins/sudoers/set_perms.c:1254 +#: plugins/sudoers/set_perms.c:1573 +msgid "perm stack overflow" +msgstr "" + +#: plugins/sudoers/set_perms.c:128 plugins/sudoers/set_perms.c:409 +#: plugins/sudoers/set_perms.c:486 plugins/sudoers/set_perms.c:788 +#: plugins/sudoers/set_perms.c:929 plugins/sudoers/set_perms.c:1178 +#: plugins/sudoers/set_perms.c:1262 plugins/sudoers/set_perms.c:1506 +#: plugins/sudoers/set_perms.c:1581 plugins/sudoers/set_perms.c:1672 +msgid "perm stack underflow" +msgstr "" + +#: plugins/sudoers/set_perms.c:187 plugins/sudoers/set_perms.c:532 +#: plugins/sudoers/set_perms.c:1315 plugins/sudoers/set_perms.c:1614 +msgid "unable to change to root gid" +msgstr "nun pue camudase'l GID de root" + +#: plugins/sudoers/set_perms.c:278 plugins/sudoers/set_perms.c:629 +#: plugins/sudoers/set_perms.c:1060 plugins/sudoers/set_perms.c:1392 +msgid "unable to change to runas gid" +msgstr "nun pue camudase'l GID de runas" + +#: plugins/sudoers/set_perms.c:283 plugins/sudoers/set_perms.c:634 +#: plugins/sudoers/set_perms.c:1065 plugins/sudoers/set_perms.c:1397 +msgid "unable to set runas group vector" +msgstr "nun pue afitase'l vector de grupos de runas" + +#: plugins/sudoers/set_perms.c:294 plugins/sudoers/set_perms.c:645 +#: plugins/sudoers/set_perms.c:1074 plugins/sudoers/set_perms.c:1406 +msgid "unable to change to runas uid" +msgstr "nun pue camudase l'UID de runas" + +#: plugins/sudoers/set_perms.c:312 plugins/sudoers/set_perms.c:663 +#: plugins/sudoers/set_perms.c:1090 plugins/sudoers/set_perms.c:1422 +msgid "unable to change to sudoers gid" +msgstr "nun pue camudase'l GID de sudoers" + +#: plugins/sudoers/set_perms.c:396 plugins/sudoers/set_perms.c:775 +#: plugins/sudoers/set_perms.c:1165 plugins/sudoers/set_perms.c:1493 +#: plugins/sudoers/set_perms.c:1659 +msgid "too many processes" +msgstr "milenta procesos" + +#: plugins/sudoers/solaris_audit.c:58 +msgid "unable to get current working directory" +msgstr "nun pue consiguise'l direutoriu actual de trabayu" + +#: plugins/sudoers/solaris_audit.c:66 +#, c-format +msgid "truncated audit path user_cmnd: %s" +msgstr "" + +#: plugins/sudoers/solaris_audit.c:73 +#, c-format +msgid "truncated audit path argv[0]: %s" +msgstr "" + +#: plugins/sudoers/solaris_audit.c:122 +msgid "audit_failure message too long" +msgstr "el mensaxe d'audit_failure ye pergrande" + +#: plugins/sudoers/sssd.c:565 +msgid "unable to initialize SSS source. Is SSSD installed on your machine?" +msgstr "nun pue aniciase la fonte SSS. ¿Ta SSSD instaláu nel sistema?" + +#: plugins/sudoers/sssd.c:573 plugins/sudoers/sssd.c:582 +#: plugins/sudoers/sssd.c:591 plugins/sudoers/sssd.c:600 +#: plugins/sudoers/sssd.c:609 +#, c-format +msgid "unable to find symbol \"%s\" in %s" +msgstr "nun pue alcontrase'l símbolu «%s» en %s" + +#: plugins/sudoers/sudoers.c:210 plugins/sudoers/sudoers.c:866 +msgid "problem with defaults entries" +msgstr "problema coles entraes predeterminaes" + +#: plugins/sudoers/sudoers.c:214 +msgid "no valid sudoers sources found, quitting" +msgstr "nun s'alcontró denguna fonte de sudoers válida, colando" + +#: plugins/sudoers/sudoers.c:252 +msgid "sudoers specifies that root is not allowed to sudo" +msgstr "sudoers especifica que root nun tien permisu pa usar sudo" + +#: plugins/sudoers/sudoers.c:310 +msgid "you are not permitted to use the -C option" +msgstr "nun tienes permisu pa usar la opción -C" + +#: plugins/sudoers/sudoers.c:357 +#, c-format +msgid "timestamp owner (%s): No such user" +msgstr "" + +#: plugins/sudoers/sudoers.c:372 +msgid "no tty" +msgstr "nun hai denguna TTY" + +#: plugins/sudoers/sudoers.c:373 +msgid "sorry, you must have a tty to run sudo" +msgstr "perdona pero has tener una tty pa executar sudo" + +#: plugins/sudoers/sudoers.c:435 +msgid "command in current directory" +msgstr "" + +#: plugins/sudoers/sudoers.c:454 +msgid "sorry, you are not allowed set a command timeout" +msgstr "perdona pero nun tienes permisu p'afitar una escosa del tiempu d'espera de los comandos" + +#: plugins/sudoers/sudoers.c:462 +msgid "sorry, you are not allowed to preserve the environment" +msgstr "perdona pero nun tienes permisu pa calternet l'entornu" + +#: plugins/sudoers/sudoers.c:810 +msgid "command too long" +msgstr "el comandu ye perllargu" + +#: plugins/sudoers/sudoers.c:942 +#, c-format +msgid "%s is not a regular file" +msgstr "%s nun ye un ficheru regular" + +#: plugins/sudoers/sudoers.c:946 plugins/sudoers/timestamp.c:259 toke.l:967 +#, c-format +msgid "%s is owned by uid %u, should be %u" +msgstr "%s ye propiedá del UID %u, debería ser %u" + +#: plugins/sudoers/sudoers.c:950 toke.l:972 +#, c-format +msgid "%s is world writable" +msgstr "%s ye escribible por tol mundu" + +#: plugins/sudoers/sudoers.c:954 toke.l:975 +#, c-format +msgid "%s is owned by gid %u, should be %u" +msgstr "%s ye propiedá del GID %u, debería ser %u" + +#: plugins/sudoers/sudoers.c:987 +#, c-format +msgid "only root can use \"-c %s\"" +msgstr "namái root pue usar «-c %s»" + +#: plugins/sudoers/sudoers.c:1006 +#, c-format +msgid "unknown login class: %s" +msgstr "desconozse la clas d'aniciu de sesión: %s" + +#: plugins/sudoers/sudoers.c:1091 plugins/sudoers/sudoers.c:1105 +#, c-format +msgid "unable to resolve host %s" +msgstr "nun pue resolvese l'agospiu %s" + +#: plugins/sudoers/sudoreplay.c:250 +#, c-format +msgid "invalid filter option: %s" +msgstr "opción non válida de peñera: %s" + +#: plugins/sudoers/sudoreplay.c:263 +#, c-format +msgid "invalid max wait: %s" +msgstr "tiempu máximu d'espera non válidu: %s" + +#: plugins/sudoers/sudoreplay.c:286 +#, c-format +msgid "invalid speed factor: %s" +msgstr "fautor de velocidá non válidu: %s" + +#: plugins/sudoers/sudoreplay.c:321 +#, c-format +msgid "%s/%.2s/%.2s/%.2s/timing: %s" +msgstr "%s/%.2s/%.2s/%.2s/sincronía: %s" + +#: plugins/sudoers/sudoreplay.c:327 +#, c-format +msgid "%s/%s/timing: %s" +msgstr "%s/%s/sincronía: %s" + +#: plugins/sudoers/sudoreplay.c:343 +#, c-format +msgid "Replaying sudo session: %s" +msgstr "Reproduciendo la sesión de sudo: %s" + +#: plugins/sudoers/sudoreplay.c:541 plugins/sudoers/sudoreplay.c:588 +#: plugins/sudoers/sudoreplay.c:785 plugins/sudoers/sudoreplay.c:894 +#: plugins/sudoers/sudoreplay.c:979 plugins/sudoers/sudoreplay.c:994 +#: plugins/sudoers/sudoreplay.c:1001 plugins/sudoers/sudoreplay.c:1008 +#: plugins/sudoers/sudoreplay.c:1015 plugins/sudoers/sudoreplay.c:1022 +#: plugins/sudoers/sudoreplay.c:1170 +msgid "unable to add event to queue" +msgstr "nun pue amestase l'eventu a la cola" + +#: plugins/sudoers/sudoreplay.c:656 +msgid "unable to set tty to raw mode" +msgstr "nun pue afitase'l mou en bruto a la TTY" + +#: plugins/sudoers/sudoreplay.c:707 +#, c-format +msgid "Warning: your terminal is too small to properly replay the log.\n" +msgstr "Alvertencia: la terminal ye mui pequeña como pa reproducir el rexistru afayadizamente.\n" + +#: plugins/sudoers/sudoreplay.c:708 +#, c-format +msgid "Log geometry is %d x %d, your terminal's geometry is %d x %d." +msgstr "La xeometría del rexistru ye %d x %d, la de la to terminal ye %d x %d" + +#: plugins/sudoers/sudoreplay.c:736 +msgid "Replay finished, press any key to restore the terminal." +msgstr "" + +#: plugins/sudoers/sudoreplay.c:768 +#, c-format +msgid "invalid timing file line: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1204 plugins/sudoers/sudoreplay.c:1229 +#, c-format +msgid "ambiguous expression \"%s\"" +msgstr "espresión ambigua «%s»" + +#: plugins/sudoers/sudoreplay.c:1251 +msgid "unmatched ')' in expression" +msgstr "nun s'abrió «)» na espresión" + +#: plugins/sudoers/sudoreplay.c:1255 +#, c-format +msgid "unknown search term \"%s\"" +msgstr "desconozse'l términu de gueta «%s»" + +#: plugins/sudoers/sudoreplay.c:1270 +#, c-format +msgid "%s requires an argument" +msgstr "%s rique un argumentu" + +#: plugins/sudoers/sudoreplay.c:1273 plugins/sudoers/sudoreplay.c:1514 +#, c-format +msgid "invalid regular expression: %s" +msgstr "espresión regular non válida: %s" + +#: plugins/sudoers/sudoreplay.c:1277 +#, c-format +msgid "could not parse date \"%s\"" +msgstr "nun pudo analizase la data «%s»" + +#: plugins/sudoers/sudoreplay.c:1286 +msgid "unmatched '(' in expression" +msgstr "nun se zarró «(» na espresión" + +#: plugins/sudoers/sudoreplay.c:1288 +msgid "illegal trailing \"or\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1290 +msgid "illegal trailing \"!\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1340 +#, c-format +msgid "unknown search type %d" +msgstr "desconozse la triba de gueta %d" + +#: plugins/sudoers/sudoreplay.c:1607 +#, fuzzy, c-format +#| msgid "usage: %s [-hnR] [-d dir] [-m num] [-s num] ID\n" +msgid "usage: %s [-hnRS] [-d dir] [-m num] [-s num] ID\n" +msgstr "usu: %s [-hnR] [-d direutoriu] [-m númberu] [-s númberu] ID\n" + +#: plugins/sudoers/sudoreplay.c:1610 +#, c-format +msgid "usage: %s [-h] [-d dir] -l [search expression]\n" +msgstr "usu: %s [-h] [-d direutoriu] -l [espresión de gueta]\n" + +#: plugins/sudoers/sudoreplay.c:1619 +#, c-format +msgid "" +"%s - replay sudo session logs\n" +"\n" +msgstr "" +"%s - reproduz los rexistros de sesión de sudo\n" +"\n" + +#: plugins/sudoers/sudoreplay.c:1621 +#, fuzzy +#| msgid "" +#| "\n" +#| "Options:\n" +#| " -d, --directory=dir specify directory for session logs\n" +#| " -f, --filter=filter specify which I/O type(s) to display\n" +#| " -h, --help display help message and exit\n" +#| " -l, --list list available session IDs, with optional expression\n" +#| " -m, --max-wait=num max number of seconds to wait between events\n" +#| " -s, --speed=num speed up or slow down output\n" +#| " -V, --version display version information and exit" +msgid "" +"\n" +"Options:\n" +" -d, --directory=dir specify directory for session logs\n" +" -f, --filter=filter specify which I/O type(s) to display\n" +" -h, --help display help message and exit\n" +" -l, --list list available session IDs, with optional expression\n" +" -m, --max-wait=num max number of seconds to wait between events\n" +" -n, --non-interactive no prompts, session is sent to the standard output\n" +" -R, --no-resize do not attempt to re-size the terminal\n" +" -S, --suspend-wait wait while the command was suspended\n" +" -s, --speed=num speed up or slow down output\n" +" -V, --version display version information and exit" +msgstr "" +"\n" +"Opciones:\n" +" -d, --directory=dir especifica'l direutoriu pa los rexistros de la sesión\n" +" -f, --filter=filter especifica les tribes d'E/S que van amosase\n" +" -h, --help amuesa esti mensaxe d'ayuda y cola\n" +" -l, --list llista les IDs de sesión disponibles, con una espresión opcional\n" +" -m, --max-wait=num númberu máximu de segundos a esperar ente eventos\n" +" -s, --speed=num acelera o vuelve lenta la salida\n" +" -V, --version amuesa la información de la versión y cola" + +#: plugins/sudoers/testsudoers.c:362 +msgid "\thost unmatched" +msgstr "" + +#: plugins/sudoers/testsudoers.c:365 +msgid "" +"\n" +"Command allowed" +msgstr "" +"\n" +"Comandu permitíu" + +#: plugins/sudoers/testsudoers.c:366 +msgid "" +"\n" +"Command denied" +msgstr "" +"\n" +"Comandu ñegáu" + +#: plugins/sudoers/testsudoers.c:366 +msgid "" +"\n" +"Command unmatched" +msgstr "" +"\n" +"Comandu ensin coincidencies" + +#: plugins/sudoers/timestamp.c:267 +#, c-format +msgid "%s is group writable" +msgstr "%s ye escribible pol grupu" + +#: plugins/sudoers/timestamp.c:343 +#, c-format +msgid "unable to truncate time stamp file to %lld bytes" +msgstr "" + +#: plugins/sudoers/timestamp.c:829 plugins/sudoers/timestamp.c:921 +#: plugins/sudoers/visudo.c:498 plugins/sudoers/visudo.c:504 +msgid "unable to read the clock" +msgstr "nun pue lleese'l reló" + +#: plugins/sudoers/timestamp.c:840 +msgid "ignoring time stamp from the future" +msgstr "inorando la marca de tiempu del futuru" + +#: plugins/sudoers/timestamp.c:863 +#, c-format +msgid "time stamp too far in the future: %20.20s" +msgstr "" + +#: plugins/sudoers/timestamp.c:985 +#, c-format +msgid "unable to lock time stamp file %s" +msgstr "nun pue bloquiase'l ficheru de marque de tiempu %s" + +#: plugins/sudoers/timestamp.c:1029 plugins/sudoers/timestamp.c:1049 +#, c-format +msgid "lecture status path too long: %s/%s" +msgstr "" + +#: plugins/sudoers/visudo.c:232 +msgid "the -x option will be removed in a future release" +msgstr "la opción -x va desaniciase en llanzamientos futuros" + +#: plugins/sudoers/visudo.c:233 +msgid "please consider using the cvtsudoers utility instead" +msgstr "" + +#: plugins/sudoers/visudo.c:284 plugins/sudoers/visudo.c:666 +#, c-format +msgid "press return to edit %s: " +msgstr "primi retrocesu pa editar %s:" + +#: plugins/sudoers/visudo.c:345 +#, c-format +msgid "specified editor (%s) doesn't exist" +msgstr "l'editor especificáu (%s) nun esiste" + +#: plugins/sudoers/visudo.c:347 +#, c-format +msgid "no editor found (editor path = %s)" +msgstr "nun s'alcontró dengún editor (camín del editor = %s)" + +#: plugins/sudoers/visudo.c:457 plugins/sudoers/visudo.c:465 +msgid "write error" +msgstr "fallu d'escritura" + +#: plugins/sudoers/visudo.c:511 +#, c-format +msgid "unable to stat temporary file (%s), %s unchanged" +msgstr "nun pue facese stat al ficheru temporal (%s), %s nun camudó" + +#: plugins/sudoers/visudo.c:518 +#, c-format +msgid "zero length temporary file (%s), %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:524 +#, c-format +msgid "editor (%s) failed, %s unchanged" +msgstr "falló l'editor (%s), %s nun camudó" + +#: plugins/sudoers/visudo.c:546 +#, c-format +msgid "%s unchanged" +msgstr "%s nun camudó" + +#: plugins/sudoers/visudo.c:605 +#, c-format +msgid "unable to re-open temporary file (%s), %s unchanged." +msgstr "nun pue abrise de nueves el ficheru temporal (%s), %s nun camudó." + +#: plugins/sudoers/visudo.c:617 +#, c-format +msgid "unabled to parse temporary file (%s), unknown error" +msgstr "nun pudo analizase'l ficheru temporal (%s), fallu desconocíu" + +#: plugins/sudoers/visudo.c:655 +#, c-format +msgid "internal error, unable to find %s in list!" +msgstr "fallu internu, ¡nun pue alcontrase %s na llista!" + +#: plugins/sudoers/visudo.c:735 plugins/sudoers/visudo.c:744 +#, c-format +msgid "unable to set (uid, gid) of %s to (%u, %u)" +msgstr "nun pue afitase l'UID o GID de %s a (%u, %u)" + +#: plugins/sudoers/visudo.c:767 +#, c-format +msgid "%s and %s not on the same file system, using mv to rename" +msgstr "%s y %s nun tán nel mesmu sistema de ficheros, usando mv pa renomar" + +#: plugins/sudoers/visudo.c:781 +#, c-format +msgid "command failed: '%s %s %s', %s unchanged" +msgstr "falló'l comandu: «%s %s %s», %s nun camudó" + +#: plugins/sudoers/visudo.c:791 +#, c-format +msgid "error renaming %s, %s unchanged" +msgstr "fallu al renomar %s, %s nun camudó" + +#: plugins/sudoers/visudo.c:812 +msgid "What now? " +msgstr "¿Y agora qué?" + +#: plugins/sudoers/visudo.c:826 +msgid "" +"Options are:\n" +" (e)dit sudoers file again\n" +" e(x)it without saving changes to sudoers file\n" +" (Q)uit and save changes to sudoers file (DANGER!)\n" +msgstr "" + +#: plugins/sudoers/visudo.c:872 +#, c-format +msgid "unable to run %s" +msgstr "nun pue executase %s" + +#: plugins/sudoers/visudo.c:902 +#, c-format +msgid "%s: wrong owner (uid, gid) should be (%u, %u)\n" +msgstr "" + +#: plugins/sudoers/visudo.c:909 +#, c-format +msgid "%s: bad permissions, should be mode 0%o\n" +msgstr "" + +#: plugins/sudoers/visudo.c:966 plugins/sudoers/visudo.c:973 +#, c-format +msgid "%s: parsed OK\n" +msgstr "" + +#: plugins/sudoers/visudo.c:992 +#, c-format +msgid "%s busy, try again later" +msgstr "%s ta ocupáu, volvi tentalo más sero" + +#: plugins/sudoers/visudo.c:995 +#, fuzzy, c-format +#| msgid "unable to open %s" +msgid "unable to lock %s" +msgstr "nun pue abrise %s" + +#: plugins/sudoers/visudo.c:996 +msgid "Edit anyway? [y/N]" +msgstr "" + +#: plugins/sudoers/visudo.c:1080 +#, c-format +msgid "Error: %s:%d cycle in %s \"%s\"" +msgstr "" + +#: plugins/sudoers/visudo.c:1081 +#, c-format +msgid "Warning: %s:%d cycle in %s \"%s\"" +msgstr "" + +#: plugins/sudoers/visudo.c:1085 +#, c-format +msgid "Error: %s:%d %s \"%s\" referenced but not defined" +msgstr "Fallu: %s:%d %s «%s» referencióse pero nun se definió" + +#: plugins/sudoers/visudo.c:1086 +#, c-format +msgid "Warning: %s:%d %s \"%s\" referenced but not defined" +msgstr "Alvertencia: %s:%d %s «%s» referencióse pero nun se definió" + +#: plugins/sudoers/visudo.c:1177 +#, c-format +msgid "Warning: %s:%d unused %s \"%s\"" +msgstr "" + +#: plugins/sudoers/visudo.c:1292 +#, c-format +msgid "" +"%s - safely edit the sudoers file\n" +"\n" +msgstr "" +"%s - edita de mou seguru'l ficheru sudoers\n" +"\n" + +#: plugins/sudoers/visudo.c:1294 +msgid "" +"\n" +"Options:\n" +" -c, --check check-only mode\n" +" -f, --file=sudoers specify sudoers file location\n" +" -h, --help display help message and exit\n" +" -q, --quiet less verbose (quiet) syntax error messages\n" +" -s, --strict strict syntax checking\n" +" -V, --version display version information and exit\n" +msgstr "" +"\n" +"Opciones:\n" +" -c, --check mou de namái comprobación\n" +" -f, --file=sudoers especifica l'allugamientu del ficheru sudoers\n" +" -h, --help amuesa esti mensaxe d'ayuda y cola\n" +" -q, --quiet mensaxes menos detallaos (silenciosos) de los fallos de sintaxis\n" +" -s, --strict comprobación estricta de la sintaxis\n" +" -V, --version amuesa la información de la versión y cola\n" + +#: toke.l:941 +msgid "too many levels of includes" +msgstr "milenta niveles d'inclusión" diff --git a/plugins/sudoers/po/ca.mo b/plugins/sudoers/po/ca.mo new file mode 100644 index 0000000..e6beade Binary files /dev/null and b/plugins/sudoers/po/ca.mo differ diff --git a/plugins/sudoers/po/ca.po b/plugins/sudoers/po/ca.po new file mode 100644 index 0000000..1914e83 --- /dev/null +++ b/plugins/sudoers/po/ca.po @@ -0,0 +1,3260 @@ +# Portable object template file for the sudoers plugin +# This file is put in the public domain. +# Walter Garcia-Fontes , 2021. +# +# Glossari +# +# principal - Es refereix a "Principals may represent users, network hosts, or network services. A principal that corresponds to a network host is called a host principal", s'ha traduït com a "principal". +# tty - el terminal, això prové de l'acrònim en anglès per a teletip (tty) i ara s'usa per a un terminal obert on es pot entrar informació +msgid "" +msgstr "" +"Project-Id-Version: sudoers 1.9.6b1\n" +"Report-Msgid-Bugs-To: https://bugzilla.sudo.ws\n" +"POT-Creation-Date: 2021-03-02 19:29-0700\n" +"PO-Revision-Date: 2021-04-27 11:00+0200\n" +"Last-Translator: Walter Garcia-Fontes \n" +"Language-Team: Catalan \n" +"Language: ca\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" + +#: confstr.sh:1 gram.y:1183 +msgid "syntax error" +msgstr "error de sintaxi" + +#: confstr.sh:2 +msgid "%p's password: " +msgstr "contrasenya de %p: " + +#: confstr.sh:3 +msgid "[sudo] password for %p: " +msgstr "[sudo] contrasenya per a %p: " + +#: confstr.sh:4 +msgid "Password: " +msgstr "Contrasenya: " + +#: confstr.sh:5 +msgid "*** SECURITY information for %h ***" +msgstr "*** Informació de SEGURETAT per a %h ***" + +#: confstr.sh:6 +msgid "Sorry, try again." +msgstr "Ho sentim, proveu un altre cop." + +#: gram.y:233 gram.y:300 gram.y:309 gram.y:318 gram.y:328 gram.y:338 +#: gram.y:362 gram.y:389 gram.y:398 gram.y:406 gram.y:415 gram.y:424 +#: gram.y:496 gram.y:506 gram.y:518 gram.y:562 gram.y:571 gram.y:580 +#: gram.y:589 gram.y:619 gram.y:716 gram.y:724 gram.y:735 gram.y:747 +#: gram.y:766 gram.y:914 gram.y:922 gram.y:932 gram.y:938 gram.y:1060 +#: gram.y:1069 gram.y:1077 gram.y:1086 gram.y:1095 gram.y:1124 gram.y:1133 +#: gram.y:1141 gram.y:1231 gram.y:1343 gram.y:1650 gram.y:1700 +#: lib/eventlog/eventlog.c:260 lib/eventlog/eventlog.c:333 +#: lib/eventlog/eventlog.c:733 lib/eventlog/eventlog.c:797 +#: lib/eventlog/eventlog.c:1053 lib/iolog/iolog_json.c:125 +#: lib/iolog/iolog_json.c:330 lib/iolog/iolog_json.c:360 +#: lib/iolog/iolog_json.c:503 lib/iolog/iolog_legacy.c:100 +#: lib/iolog/iolog_legacy.c:111 lib/iolog/iolog_legacy.c:123 +#: lib/iolog/iolog_legacy.c:133 lib/iolog/iolog_legacy.c:139 +#: lib/iolog/iolog_loginfo.c:76 lib/iolog/iolog_loginfo.c:210 +#: logsrvd/sendlog.c:496 plugins/sudoers/audit.c:115 +#: plugins/sudoers/audit.c:263 plugins/sudoers/auth/bsdauth.c:143 +#: plugins/sudoers/auth/kerb5.c:118 plugins/sudoers/auth/kerb5.c:144 +#: plugins/sudoers/auth/pam.c:689 plugins/sudoers/auth/rfc1938.c:111 +#: plugins/sudoers/auth/sia.c:59 plugins/sudoers/check_aliases.c:95 +#: plugins/sudoers/cvtsudoers.c:119 plugins/sudoers/cvtsudoers.c:160 +#: plugins/sudoers/cvtsudoers.c:177 plugins/sudoers/cvtsudoers.c:188 +#: plugins/sudoers/cvtsudoers.c:300 plugins/sudoers/cvtsudoers.c:428 +#: plugins/sudoers/cvtsudoers.c:561 plugins/sudoers/cvtsudoers.c:578 +#: plugins/sudoers/cvtsudoers.c:646 plugins/sudoers/cvtsudoers.c:761 +#: plugins/sudoers/cvtsudoers.c:769 plugins/sudoers/cvtsudoers.c:1183 +#: plugins/sudoers/cvtsudoers.c:1187 plugins/sudoers/cvtsudoers.c:1289 +#: plugins/sudoers/cvtsudoers_json.c:76 plugins/sudoers/cvtsudoers_ldif.c:151 +#: plugins/sudoers/cvtsudoers_ldif.c:194 plugins/sudoers/cvtsudoers_ldif.c:235 +#: plugins/sudoers/cvtsudoers_ldif.c:300 plugins/sudoers/cvtsudoers_ldif.c:371 +#: plugins/sudoers/cvtsudoers_ldif.c:421 plugins/sudoers/cvtsudoers_ldif.c:429 +#: plugins/sudoers/cvtsudoers_ldif.c:440 plugins/sudoers/cvtsudoers_ldif.c:447 +#: plugins/sudoers/cvtsudoers_ldif.c:460 plugins/sudoers/cvtsudoers_ldif.c:468 +#: plugins/sudoers/cvtsudoers_ldif.c:615 plugins/sudoers/defaults.c:638 +#: plugins/sudoers/defaults.c:933 plugins/sudoers/defaults.c:1108 +#: plugins/sudoers/editor.c:181 plugins/sudoers/env.c:262 +#: plugins/sudoers/exptilde.c:92 plugins/sudoers/filedigest.c:54 +#: plugins/sudoers/filedigest.c:70 plugins/sudoers/gc.c:57 +#: plugins/sudoers/group_plugin.c:133 plugins/sudoers/interfaces.c:72 +#: plugins/sudoers/iolog.c:609 plugins/sudoers/iolog.c:626 +#: plugins/sudoers/ldap.c:184 plugins/sudoers/ldap.c:422 +#: plugins/sudoers/ldap.c:432 plugins/sudoers/ldap.c:437 +#: plugins/sudoers/ldap.c:441 plugins/sudoers/ldap.c:453 +#: plugins/sudoers/ldap.c:744 plugins/sudoers/ldap.c:908 +#: plugins/sudoers/ldap.c:1281 plugins/sudoers/ldap.c:1709 +#: plugins/sudoers/ldap.c:1746 plugins/sudoers/ldap.c:1827 +#: plugins/sudoers/ldap.c:1962 plugins/sudoers/ldap.c:2063 +#: plugins/sudoers/ldap.c:2079 plugins/sudoers/ldap_conf.c:218 +#: plugins/sudoers/ldap_conf.c:249 plugins/sudoers/ldap_conf.c:301 +#: plugins/sudoers/ldap_conf.c:337 plugins/sudoers/ldap_conf.c:441 +#: plugins/sudoers/ldap_conf.c:456 plugins/sudoers/ldap_conf.c:553 +#: plugins/sudoers/ldap_conf.c:586 plugins/sudoers/ldap_conf.c:678 +#: plugins/sudoers/ldap_conf.c:760 plugins/sudoers/ldap_util.c:326 +#: plugins/sudoers/ldap_util.c:333 plugins/sudoers/ldap_util.c:648 +#: plugins/sudoers/linux_audit.c:86 plugins/sudoers/log_client.c:105 +#: plugins/sudoers/log_client.c:381 plugins/sudoers/log_client.c:686 +#: plugins/sudoers/log_client.c:704 plugins/sudoers/log_client.c:1413 +#: plugins/sudoers/log_client.c:1626 plugins/sudoers/log_client.c:1950 +#: plugins/sudoers/log_client.c:2007 plugins/sudoers/logging.c:100 +#: plugins/sudoers/logging.c:166 plugins/sudoers/logging.c:426 +#: plugins/sudoers/logging.c:446 plugins/sudoers/logging.c:527 +#: plugins/sudoers/match_command.c:286 plugins/sudoers/match_command.c:484 +#: plugins/sudoers/match_command.c:533 plugins/sudoers/match_command.c:604 +#: plugins/sudoers/match_command.c:650 plugins/sudoers/match_digest.c:93 +#: plugins/sudoers/parse.c:199 plugins/sudoers/parse.c:216 +#: plugins/sudoers/parse.c:236 plugins/sudoers/parse.c:253 +#: plugins/sudoers/parse.c:276 plugins/sudoers/parse.c:287 +#: plugins/sudoers/parse_ldif.c:153 plugins/sudoers/parse_ldif.c:184 +#: plugins/sudoers/parse_ldif.c:253 plugins/sudoers/parse_ldif.c:260 +#: plugins/sudoers/parse_ldif.c:265 plugins/sudoers/parse_ldif.c:341 +#: plugins/sudoers/parse_ldif.c:352 plugins/sudoers/parse_ldif.c:379 +#: plugins/sudoers/parse_ldif.c:396 plugins/sudoers/parse_ldif.c:408 +#: plugins/sudoers/parse_ldif.c:412 plugins/sudoers/parse_ldif.c:426 +#: plugins/sudoers/parse_ldif.c:483 plugins/sudoers/parse_ldif.c:596 +#: plugins/sudoers/parse_ldif.c:626 plugins/sudoers/parse_ldif.c:651 +#: plugins/sudoers/parse_ldif.c:709 plugins/sudoers/parse_ldif.c:726 +#: plugins/sudoers/parse_ldif.c:754 plugins/sudoers/parse_ldif.c:761 +#: plugins/sudoers/policy.c:543 plugins/sudoers/policy.c:890 +#: plugins/sudoers/prompt.c:93 plugins/sudoers/pwutil.c:195 +#: plugins/sudoers/pwutil.c:266 plugins/sudoers/pwutil.c:344 +#: plugins/sudoers/pwutil.c:518 plugins/sudoers/pwutil.c:583 +#: plugins/sudoers/pwutil.c:655 plugins/sudoers/pwutil.c:854 +#: plugins/sudoers/pwutil.c:910 plugins/sudoers/pwutil.c:954 +#: plugins/sudoers/pwutil.c:1011 plugins/sudoers/sssd.c:145 +#: plugins/sudoers/sssd.c:407 plugins/sudoers/sssd.c:470 +#: plugins/sudoers/sssd.c:514 plugins/sudoers/sssd.c:561 +#: plugins/sudoers/sssd.c:754 plugins/sudoers/strvec_join.c:53 +#: plugins/sudoers/stubs.c:111 plugins/sudoers/stubs.c:119 +#: plugins/sudoers/sudoers.c:299 plugins/sudoers/sudoers.c:325 +#: plugins/sudoers/sudoers.c:374 plugins/sudoers/sudoers.c:384 +#: plugins/sudoers/sudoers.c:425 plugins/sudoers/sudoers.c:787 +#: plugins/sudoers/sudoers.c:922 plugins/sudoers/sudoers.c:975 +#: plugins/sudoers/sudoers.c:1241 plugins/sudoers/sudoreplay.c:552 +#: plugins/sudoers/sudoreplay.c:555 plugins/sudoers/sudoreplay.c:1259 +#: plugins/sudoers/sudoreplay.c:1469 plugins/sudoers/sudoreplay.c:1473 +#: plugins/sudoers/testsudoers.c:128 plugins/sudoers/testsudoers.c:225 +#: plugins/sudoers/testsudoers.c:242 plugins/sudoers/testsudoers.c:581 +#: plugins/sudoers/timestamp.c:422 plugins/sudoers/timestamp.c:466 +#: plugins/sudoers/timestamp.c:967 plugins/sudoers/timestamp.c:1105 +#: plugins/sudoers/toke_util.c:77 plugins/sudoers/toke_util.c:105 +#: plugins/sudoers/toke_util.c:130 plugins/sudoers/toke_util.c:155 +#: plugins/sudoers/toke_util.c:193 plugins/sudoers/tsdump.c:123 +#: plugins/sudoers/visudo.c:143 plugins/sudoers/visudo.c:321 +#: plugins/sudoers/visudo.c:327 plugins/sudoers/visudo.c:433 +#: plugins/sudoers/visudo.c:609 plugins/sudoers/visudo.c:926 +#: plugins/sudoers/visudo.c:999 toke.l:928 toke.l:1057 toke.l:1117 +msgid "unable to allocate memory" +msgstr "no es pot assignar memòria" + +#: gram.y:613 +msgid "a digest requires a path name" +msgstr "au un resum li cal un nom de camí" + +#: gram.y:643 +msgid "values for \"CWD\" must start with a '/', '~', or '*'" +msgstr "els valores per a «CWD» han de començar amb «/», «~» o «*»" + +#: gram.y:655 +msgid "values for \"CHROOT\" must start with a '/', '~', or '*'" +msgstr "els valors per a «CHROOT» han de començar amb «/», «~», o «*»" + +#: gram.y:786 +#, c-format +msgid "syntax error, reserved word %s used as an alias name" +msgstr "error de sintaxi, la paraula reservada %s s'ha usat com un nom d'àlies" + +#: gram.y:809 +msgid "invalid notbefore value" +msgstr "valor notbefore no vàlid" + +#: gram.y:818 +msgid "invalid notafter value" +msgstr "valor invàlid de notafter" + +#: gram.y:828 plugins/sudoers/policy.c:339 +msgid "timeout value too large" +msgstr "valor massa llarg de temps d'espera" + +#: gram.y:830 plugins/sudoers/policy.c:341 +msgid "invalid timeout value" +msgstr "valor no vàlid de temps d'espera" + +#: gram.y:1185 +#, c-format +msgid "%s:%d:%d: %s\n" +msgstr "%s:%d:%d: %s\n" + +#: gram.y:1229 +#, c-format +msgid "Alias \"%s\" already defined" +msgstr "L'àlies «%s» ja està definit" + +#: gram.y:1650 gram.y:1700 lib/eventlog/eventlog.c:260 +#: lib/eventlog/eventlog.c:733 lib/eventlog/eventlog.c:795 +#: lib/eventlog/eventlog.c:796 lib/eventlog/eventlog.c:1053 +#: lib/iolog/iolog_json.c:125 lib/iolog/iolog_json.c:329 +#: lib/iolog/iolog_json.c:360 lib/iolog/iolog_json.c:503 +#: lib/iolog/iolog_legacy.c:100 lib/iolog/iolog_legacy.c:111 +#: lib/iolog/iolog_legacy.c:123 lib/iolog/iolog_legacy.c:133 +#: lib/iolog/iolog_legacy.c:139 lib/iolog/iolog_loginfo.c:76 +#: lib/iolog/iolog_loginfo.c:210 logsrvd/logsrvd.c:1291 logsrvd/logsrvd.c:1304 +#: logsrvd/logsrvd.c:1349 logsrvd/sendlog.c:496 logsrvd/sendlog.c:1337 +#: logsrvd/sendlog.c:1344 logsrvd/sendlog.c:1762 plugins/sudoers/audit.c:115 +#: plugins/sudoers/audit.c:263 plugins/sudoers/auth/pam.c:502 +#: plugins/sudoers/auth/pam.c:689 plugins/sudoers/auth/rfc1938.c:111 +#: plugins/sudoers/check_aliases.c:95 plugins/sudoers/cvtsudoers.c:119 +#: plugins/sudoers/cvtsudoers.c:159 plugins/sudoers/cvtsudoers.c:176 +#: plugins/sudoers/cvtsudoers.c:187 plugins/sudoers/cvtsudoers.c:299 +#: plugins/sudoers/cvtsudoers.c:427 plugins/sudoers/cvtsudoers.c:560 +#: plugins/sudoers/cvtsudoers.c:577 plugins/sudoers/cvtsudoers.c:646 +#: plugins/sudoers/cvtsudoers.c:761 plugins/sudoers/cvtsudoers.c:768 +#: plugins/sudoers/cvtsudoers.c:1183 plugins/sudoers/cvtsudoers.c:1187 +#: plugins/sudoers/cvtsudoers.c:1289 plugins/sudoers/cvtsudoers_json.c:75 +#: plugins/sudoers/cvtsudoers_ldif.c:150 plugins/sudoers/cvtsudoers_ldif.c:193 +#: plugins/sudoers/cvtsudoers_ldif.c:234 plugins/sudoers/cvtsudoers_ldif.c:299 +#: plugins/sudoers/cvtsudoers_ldif.c:370 plugins/sudoers/cvtsudoers_ldif.c:420 +#: plugins/sudoers/cvtsudoers_ldif.c:428 plugins/sudoers/cvtsudoers_ldif.c:439 +#: plugins/sudoers/cvtsudoers_ldif.c:446 plugins/sudoers/cvtsudoers_ldif.c:459 +#: plugins/sudoers/cvtsudoers_ldif.c:467 plugins/sudoers/cvtsudoers_ldif.c:614 +#: plugins/sudoers/defaults.c:638 plugins/sudoers/defaults.c:933 +#: plugins/sudoers/defaults.c:1108 plugins/sudoers/editor.c:181 +#: plugins/sudoers/env.c:262 plugins/sudoers/exptilde.c:92 +#: plugins/sudoers/filedigest.c:54 plugins/sudoers/filedigest.c:70 +#: plugins/sudoers/gc.c:57 plugins/sudoers/group_plugin.c:132 +#: plugins/sudoers/interfaces.c:72 plugins/sudoers/iolog.c:609 +#: plugins/sudoers/iolog.c:626 plugins/sudoers/ldap.c:184 +#: plugins/sudoers/ldap.c:422 plugins/sudoers/ldap.c:432 +#: plugins/sudoers/ldap.c:437 plugins/sudoers/ldap.c:441 +#: plugins/sudoers/ldap.c:453 plugins/sudoers/ldap.c:744 +#: plugins/sudoers/ldap.c:908 plugins/sudoers/ldap.c:1281 +#: plugins/sudoers/ldap.c:1709 plugins/sudoers/ldap.c:1746 +#: plugins/sudoers/ldap.c:1827 plugins/sudoers/ldap.c:1962 +#: plugins/sudoers/ldap.c:2063 plugins/sudoers/ldap.c:2079 +#: plugins/sudoers/ldap_conf.c:218 plugins/sudoers/ldap_conf.c:249 +#: plugins/sudoers/ldap_conf.c:301 plugins/sudoers/ldap_conf.c:337 +#: plugins/sudoers/ldap_conf.c:441 plugins/sudoers/ldap_conf.c:456 +#: plugins/sudoers/ldap_conf.c:553 plugins/sudoers/ldap_conf.c:586 +#: plugins/sudoers/ldap_conf.c:677 plugins/sudoers/ldap_conf.c:760 +#: plugins/sudoers/ldap_util.c:325 plugins/sudoers/ldap_util.c:332 +#: plugins/sudoers/ldap_util.c:648 plugins/sudoers/linux_audit.c:86 +#: plugins/sudoers/log_client.c:105 plugins/sudoers/log_client.c:214 +#: plugins/sudoers/log_client.c:235 plugins/sudoers/log_client.c:248 +#: plugins/sudoers/log_client.c:381 plugins/sudoers/log_client.c:686 +#: plugins/sudoers/log_client.c:704 plugins/sudoers/log_client.c:1413 +#: plugins/sudoers/log_client.c:1626 plugins/sudoers/log_client.c:1950 +#: plugins/sudoers/log_client.c:2007 plugins/sudoers/logging.c:100 +#: plugins/sudoers/logging.c:165 plugins/sudoers/logging.c:166 +#: plugins/sudoers/logging.c:425 plugins/sudoers/logging.c:445 +#: plugins/sudoers/logging.c:527 plugins/sudoers/match_command.c:285 +#: plugins/sudoers/match_command.c:483 plugins/sudoers/match_command.c:532 +#: plugins/sudoers/match_command.c:604 plugins/sudoers/match_command.c:649 +#: plugins/sudoers/match_digest.c:93 plugins/sudoers/parse.c:198 +#: plugins/sudoers/parse.c:215 plugins/sudoers/parse.c:235 +#: plugins/sudoers/parse.c:252 plugins/sudoers/parse.c:275 +#: plugins/sudoers/parse.c:286 plugins/sudoers/parse_ldif.c:152 +#: plugins/sudoers/parse_ldif.c:183 plugins/sudoers/parse_ldif.c:252 +#: plugins/sudoers/parse_ldif.c:259 plugins/sudoers/parse_ldif.c:264 +#: plugins/sudoers/parse_ldif.c:340 plugins/sudoers/parse_ldif.c:351 +#: plugins/sudoers/parse_ldif.c:378 plugins/sudoers/parse_ldif.c:395 +#: plugins/sudoers/parse_ldif.c:407 plugins/sudoers/parse_ldif.c:411 +#: plugins/sudoers/parse_ldif.c:425 plugins/sudoers/parse_ldif.c:483 +#: plugins/sudoers/parse_ldif.c:596 plugins/sudoers/parse_ldif.c:625 +#: plugins/sudoers/parse_ldif.c:650 plugins/sudoers/parse_ldif.c:708 +#: plugins/sudoers/parse_ldif.c:725 plugins/sudoers/parse_ldif.c:753 +#: plugins/sudoers/parse_ldif.c:760 plugins/sudoers/policy.c:149 +#: plugins/sudoers/policy.c:158 plugins/sudoers/policy.c:167 +#: plugins/sudoers/policy.c:193 plugins/sudoers/policy.c:324 +#: plugins/sudoers/policy.c:339 plugins/sudoers/policy.c:341 +#: plugins/sudoers/policy.c:371 plugins/sudoers/policy.c:380 +#: plugins/sudoers/policy.c:428 plugins/sudoers/policy.c:438 +#: plugins/sudoers/policy.c:447 plugins/sudoers/policy.c:456 +#: plugins/sudoers/policy.c:543 plugins/sudoers/policy.c:890 +#: plugins/sudoers/prompt.c:93 plugins/sudoers/pwutil.c:195 +#: plugins/sudoers/pwutil.c:266 plugins/sudoers/pwutil.c:344 +#: plugins/sudoers/pwutil.c:518 plugins/sudoers/pwutil.c:583 +#: plugins/sudoers/pwutil.c:655 plugins/sudoers/pwutil.c:854 +#: plugins/sudoers/pwutil.c:910 plugins/sudoers/pwutil.c:954 +#: plugins/sudoers/pwutil.c:1011 plugins/sudoers/set_perms.c:359 +#: plugins/sudoers/set_perms.c:698 plugins/sudoers/set_perms.c:1061 +#: plugins/sudoers/set_perms.c:1364 plugins/sudoers/set_perms.c:1529 +#: plugins/sudoers/sssd.c:144 plugins/sudoers/sssd.c:407 +#: plugins/sudoers/sssd.c:470 plugins/sudoers/sssd.c:514 +#: plugins/sudoers/sssd.c:561 plugins/sudoers/sssd.c:754 +#: plugins/sudoers/strvec_join.c:53 plugins/sudoers/stubs.c:111 +#: plugins/sudoers/stubs.c:119 plugins/sudoers/sudoers.c:299 +#: plugins/sudoers/sudoers.c:325 plugins/sudoers/sudoers.c:374 +#: plugins/sudoers/sudoers.c:384 plugins/sudoers/sudoers.c:425 +#: plugins/sudoers/sudoers.c:787 plugins/sudoers/sudoers.c:922 +#: plugins/sudoers/sudoers.c:975 plugins/sudoers/sudoers.c:1241 +#: plugins/sudoers/sudoreplay.c:552 plugins/sudoers/sudoreplay.c:555 +#: plugins/sudoers/sudoreplay.c:1259 plugins/sudoers/sudoreplay.c:1469 +#: plugins/sudoers/sudoreplay.c:1473 plugins/sudoers/testsudoers.c:128 +#: plugins/sudoers/testsudoers.c:225 plugins/sudoers/testsudoers.c:242 +#: plugins/sudoers/testsudoers.c:581 plugins/sudoers/timestamp.c:422 +#: plugins/sudoers/timestamp.c:466 plugins/sudoers/timestamp.c:967 +#: plugins/sudoers/timestamp.c:1105 plugins/sudoers/toke_util.c:77 +#: plugins/sudoers/toke_util.c:105 plugins/sudoers/toke_util.c:130 +#: plugins/sudoers/toke_util.c:154 plugins/sudoers/toke_util.c:193 +#: plugins/sudoers/tsdump.c:123 plugins/sudoers/visudo.c:143 +#: plugins/sudoers/visudo.c:321 plugins/sudoers/visudo.c:327 +#: plugins/sudoers/visudo.c:433 plugins/sudoers/visudo.c:609 +#: plugins/sudoers/visudo.c:926 plugins/sudoers/visudo.c:999 toke.l:928 +#: toke.l:1057 toke.l:1109 toke.l:1117 +#, c-format +msgid "%s: %s" +msgstr "%s: %s" + +#: lib/eventlog/eventlog.c:265 lib/iolog/iolog_json.c:509 +#: lib/iolog/iolog_json.c:512 lib/iolog/iolog_json.c:514 +#: plugins/sudoers/cvtsudoers_ldif.c:244 plugins/sudoers/cvtsudoers_ldif.c:251 +#: plugins/sudoers/cvtsudoers_ldif.c:571 plugins/sudoers/env.c:326 +#: plugins/sudoers/env.c:333 plugins/sudoers/env.c:444 +#: plugins/sudoers/iolog.c:631 plugins/sudoers/ldap.c:517 +#: plugins/sudoers/ldap.c:748 plugins/sudoers/ldap.c:1081 +#: plugins/sudoers/ldap_conf.c:222 plugins/sudoers/ldap_conf.c:312 +#: plugins/sudoers/linux_audit.c:92 plugins/sudoers/policy.c:573 +#: plugins/sudoers/policy.c:728 plugins/sudoers/policy.c:738 +#: plugins/sudoers/prompt.c:161 plugins/sudoers/strvec_join.c:62 +#: plugins/sudoers/testsudoers.c:246 plugins/sudoers/toke_util.c:206 +#, c-format +msgid "internal error, %s overflow" +msgstr "error intern, desbordament de %s" + +#: lib/eventlog/eventlog.c:324 +#, c-format +msgid "unable to dup stdin: %m" +msgstr "no es pot duplicar l'entrada estàndard: %m" + +#: lib/eventlog/eventlog.c:366 +#, c-format +msgid "unable to execute %s: %m" +msgstr "no es pot executar %s: %m" + +#: lib/eventlog/eventlog.c:407 plugins/sudoers/auth/aix_auth.c:198 +msgid "unable to fork" +msgstr "no es pot bifurcar" + +#: lib/eventlog/eventlog.c:415 lib/eventlog/eventlog.c:469 +#, c-format +msgid "unable to fork: %m" +msgstr "no est pot bifurcar: %m" + +#: lib/eventlog/eventlog.c:459 +#, c-format +msgid "unable to open pipe: %m" +msgstr "no es pot obrir la canonada: %m" + +#: lib/eventlog/eventlog.c:882 +#, c-format +msgid "%8s : %s" +msgstr "%8s : %s" + +#: lib/eventlog/eventlog.c:911 +#, c-format +msgid "%8s : (command continued) %s" +msgstr "%8s : (ordre continuada) %s" + +#: lib/iolog/iolog_json.c:115 +#, c-format +msgid "expected JSON_STRING, got %d" +msgstr "s'esperava JSON_STRING, s'ha obtingut %d" + +#: lib/iolog/iolog_json.c:120 +msgid "JSON_ARRAY too large" +msgstr "JSON_ARRAY massa llarg" + +#: lib/iolog/iolog_json.c:352 +msgid "missing double quote in name" +msgstr "cometes doble faltant al nom" + +#: lib/iolog/iolog_json.c:449 +msgid "missing JSON_OBJECT" +msgstr "JSON_OBJECT faltant" + +#: lib/iolog/iolog_json.c:453 +#, c-format +msgid "expected JSON_OBJECT, got %d" +msgstr "s'esperava JSON_OBJECT, s'ha obtingut %d" + +#: lib/iolog/iolog_json.c:599 +#, c-format +msgid "json stack exhausted (max %u frames)" +msgstr "pila json exhaurida (max %u marcs)" + +#: lib/iolog/iolog_json.c:673 +msgid "objects must consist of name:value pairs" +msgstr "els objectes han de consistir de parelles nom:valor" + +#: lib/iolog/iolog_json.c:678 lib/iolog/iolog_json.c:709 +#: lib/iolog/iolog_json.c:753 lib/iolog/iolog_json.c:775 +#: lib/iolog/iolog_json.c:797 lib/iolog/iolog_json.c:819 +#: lib/iolog/iolog_json.c:841 +msgid "missing separator between values" +msgstr "separador faltant entre valors" + +#: lib/iolog/iolog_json.c:693 lib/iolog/iolog_json.c:867 +msgid "unmatched close brace" +msgstr "clau de tancament no concordant" + +#: lib/iolog/iolog_json.c:704 +msgid "unexpected array" +msgstr "matriu no esperada" + +#: lib/iolog/iolog_json.c:724 lib/iolog/iolog_json.c:870 +msgid "unmatched close bracket" +msgstr "parèntesi inesperat de tancament" + +#: lib/iolog/iolog_json.c:735 +msgid "unexpected string" +msgstr "cadena de caràcters inesperada" + +#: lib/iolog/iolog_json.c:746 +msgid "missing colon after name" +msgstr "dos punts inesperat" + +#: lib/iolog/iolog_json.c:767 lib/iolog/iolog_json.c:789 +msgid "unexpected boolean" +msgstr "booleà inesperat" + +#: lib/iolog/iolog_json.c:811 +msgid "unexpected null" +msgstr "null inesperat" + +#: lib/iolog/iolog_json.c:832 +msgid "unexpected number" +msgstr "nombre inesperat" + +#: lib/iolog/iolog_json.c:879 +msgid "parse error" +msgstr "error d'anàlisi" + +#: lib/iolog/iolog_legacy.c:65 +#, c-format +msgid "%s: invalid log file" +msgstr "%s: fitxer no vàlid de registre" + +#: lib/iolog/iolog_legacy.c:83 +#, c-format +msgid "%s: time stamp field is missing" +msgstr "%s: no hi ha el camp de marca horària " + +#: lib/iolog/iolog_legacy.c:89 +#, c-format +msgid "%s: time stamp %s: %s" +msgstr "%s: marca horària %s: %s" + +#: lib/iolog/iolog_legacy.c:96 +#, c-format +msgid "%s: user field is missing" +msgstr "%s: no hi ha el camp d'usuari runas" + +#: lib/iolog/iolog_legacy.c:107 +#, c-format +msgid "%s: runas user field is missing" +msgstr "%s: no hi ha el camp del grup runas" + +#: lib/iolog/iolog_legacy.c:118 +#, c-format +msgid "%s: runas group field is missing" +msgstr "%s: no es troba el camp del grup runas" + +#: lib/iolog/iolog_mkdirs.c:89 +#, c-format +msgid "%s exists but is not a directory (0%o)" +msgstr "%s existeix però no és un directori (0%o)" + +#: lib/iolog/iolog_mkdirs.c:119 lib/iolog/iolog_mkdtemp.c:72 +#: plugins/sudoers/timestamp.c:205 +#, c-format +msgid "unable to mkdir %s" +msgstr "no s'ha pogut mkdir %s" + +#: lib/iolog/iolog_mkdtemp.c:76 plugins/sudoers/visudo.c:726 +#: plugins/sudoers/visudo.c:737 +#, c-format +msgid "unable to change mode of %s to 0%o" +msgstr "no s'ha pogut canviar el mode de %s a 0%o" + +#: lib/iolog/iolog_timing.c:255 +#, c-format +msgid "error reading timing file: %s" +msgstr "error en llegir el fitxer de sincronització: %s" + +#: lib/iolog/iolog_timing.c:262 +#, c-format +msgid "invalid timing file line: %s" +msgstr "línia no vàlida de fitxer de sincronització: %s" + +#: logsrvd/iolog_writer.c:946 +msgid "log is already complete, cannot be restarted" +msgstr "el registre ja està complet, no es pot reinicar" + +#: logsrvd/iolog_writer.c:977 +msgid "unable to restart log" +msgstr "no s'ha pogut reiniciar el registre" + +#: logsrvd/logsrv_util.c:99 logsrvd/logsrv_util.c:106 +#: plugins/sudoers/sudoreplay.c:352 plugins/sudoers/sudoreplay.c:358 +#, c-format +msgid "unable to open %s/%s" +msgstr "no es pot obrir %s/%s" + +#: logsrvd/logsrv_util.c:133 +#, c-format +msgid "missing I/O log file %s/%s" +msgstr "fitxer faltant de registre I/O %s/%s" + +#: logsrvd/logsrv_util.c:140 +#, c-format +msgid "%s/%s: unable to seek forward %zu" +msgstr "%s/%s: no es pot cercar cap endavant %zu" + +#: logsrvd/logsrv_util.c:150 +#, c-format +msgid "unable to find resume point [%lld, %ld] in %s/%s" +msgstr "no es pot trobar el punt de represa [%lld, %ld] a %s/%s" + +#: logsrvd/logsrvd.c:294 logsrvd/logsrvd.c:357 logsrvd/logsrvd.c:398 +#: logsrvd/logsrvd.c:453 logsrvd/logsrvd.c:522 logsrvd/logsrvd.c:573 +#: logsrvd/logsrvd.c:605 logsrvd/logsrvd.c:637 +msgid "state machine error" +msgstr "error d'estat de màquina" + +#: logsrvd/logsrvd.c:303 +msgid "invalid AcceptMessage" +msgstr "AcceptMessage no vàlid" + +#: logsrvd/logsrvd.c:311 +msgid "error parsing AcceptMessage" +msgstr "error analitzant AcceptMessage" + +#: logsrvd/logsrvd.c:318 +msgid "error creating I/O log" +msgstr "error creant registre I/O" + +#: logsrvd/logsrvd.c:325 +msgid "error logging accept event" +msgstr "error registrant esdeveniment d'acceptació" + +#: logsrvd/logsrvd.c:366 +msgid "invalid RejectMessage" +msgstr "RejectMessage no vàlid" + +#: logsrvd/logsrvd.c:374 +msgid "error parsing RejectMessage" +msgstr "error analitzant RejectMessage" + +#: logsrvd/logsrvd.c:380 +msgid "error logging reject event" +msgstr "error registrant esdeveniment de rebuig" + +#: logsrvd/logsrvd.c:490 +msgid "invalid AlertMessage" +msgstr "AlertMessage no vàlid" + +#: logsrvd/logsrvd.c:499 +msgid "error parsing AlertMessage" +msgstr "error analitzant AlertMessage" + +#: logsrvd/logsrvd.c:507 +msgid "error logging alert event" +msgstr "error registrant esdeveniment d'alerta" + +#: logsrvd/logsrvd.c:528 logsrvd/logsrvd.c:579 logsrvd/logsrvd.c:611 +msgid "protocol error" +msgstr "error de protocol" + +#: logsrvd/logsrvd.c:538 +msgid "error writing IoBuffer" +msgstr "error escrivint IoBuffer" + +#: logsrvd/logsrvd.c:590 +msgid "error writing ChangeWindowSize" +msgstr "error escrivint ChangeWindowSize" + +#: logsrvd/logsrvd.c:622 +msgid "error writing CommandSuspend" +msgstr "error escrivint CommandSuspend" + +#: logsrvd/logsrvd.c:707 +msgid "unrecognized ClientMessage type" +msgstr "tipus ClientMessage no reconegut" + +#: logsrvd/logsrvd.c:978 +msgid "client message too large" +msgstr "missatge de client massa llarg" + +#: logsrvd/logsrvd.c:1208 logsrvd/logsrvd.c:1216 +#, c-format +msgid "unable to set TLS 1.2 ciphersuite to %s: %s" +msgstr "no s'ha pogut establir la ciphersuite TLS 1.2 a %s: %s" + +#: logsrvd/logsrvd.c:1236 logsrvd/logsrvd.c:1244 +#, c-format +msgid "unable to set TLS 1.3 ciphersuite to %s: %s" +msgstr "no s'ha pogut establir la ciphersuite TLS 1.3 a %s: %s" + +#: logsrvd/logsrvd.c:1280 +#, c-format +msgid "unable to get TLS server method: %s" +msgstr "no s'ha pogut obtenir el mètode de servidor TLS: %s" + +#: logsrvd/logsrvd.c:1285 +#, c-format +msgid "unable to create TLS context: %s" +msgstr "no s'ha pogut crear el context TLS: %s" + +#: logsrvd/logsrvd.c:1292 plugins/sudoers/log_client.c:236 +#, c-format +msgid "unable to load certificate %s" +msgstr "no s'ha pogut carregar el certificat %s" + +#: logsrvd/logsrvd.c:1305 plugins/sudoers/log_client.c:216 +#, c-format +msgid "unable to load certificate authority bundle %s" +msgstr "no s'ha pogut carregar el paquet d'autoritat de certificat %s" + +#: logsrvd/logsrvd.c:1350 plugins/sudoers/log_client.c:249 +#, c-format +msgid "unable to load private key %s" +msgstr "no s'ha pogut carregar la clau privada %s" + +#: logsrvd/logsrvd.c:1367 logsrvd/logsrvd.c:1376 +#, c-format +msgid "unable to set diffie-hellman parameters: %s" +msgstr "no es poden establir els paràmetres diffie-hellman: %s" + +#: logsrvd/logsrvd.c:1389 +#, c-format +msgid "unable to set minimum protocol version to TLS 1.2: %s" +msgstr "no es pot establir la versió de protocol mínim a TLS 1.2: %s" + +#: logsrvd/logsrvd.c:1574 +msgid "unable to get remote IP addr" +msgstr "no s'ha pogut obtenir l'adreça remota IP" + +#: logsrvd/logsrvd.c:1602 plugins/sudoers/log_client.c:263 +#, c-format +msgid "Unable to attach user data to the ssl object: %s" +msgstr "no es pot adjuntar les dades d'usuari a l'objecte ssl: %s" + +#: logsrvd/logsrvd.c:1610 logsrvd/logsrvd.c:1732 logsrvd/logsrvd.c:1834 +#: logsrvd/sendlog.c:1141 logsrvd/sendlog.c:1497 logsrvd/sendlog.c:1512 +#: logsrvd/sendlog.c:1570 plugins/sudoers/iolog.c:969 +#: plugins/sudoers/iolog.c:1102 plugins/sudoers/iolog.c:1200 +#: plugins/sudoers/log_client.c:109 plugins/sudoers/log_client.c:324 +#: plugins/sudoers/log_client.c:340 plugins/sudoers/log_client.c:386 +#: plugins/sudoers/log_client.c:585 plugins/sudoers/log_client.c:592 +#: plugins/sudoers/log_client.c:1109 plugins/sudoers/log_client.c:1382 +#: plugins/sudoers/log_client.c:1423 plugins/sudoers/log_client.c:1431 +#: plugins/sudoers/log_client.c:1582 plugins/sudoers/log_client.c:1698 +#: plugins/sudoers/log_client.c:2015 plugins/sudoers/log_client.c:2023 +#: plugins/sudoers/sudoreplay.c:512 plugins/sudoers/sudoreplay.c:559 +#: plugins/sudoers/sudoreplay.c:791 plugins/sudoers/sudoreplay.c:903 +#: plugins/sudoers/sudoreplay.c:993 plugins/sudoers/sudoreplay.c:1008 +#: plugins/sudoers/sudoreplay.c:1015 plugins/sudoers/sudoreplay.c:1022 +#: plugins/sudoers/sudoreplay.c:1029 plugins/sudoers/sudoreplay.c:1036 +#: plugins/sudoers/sudoreplay.c:1163 +msgid "unable to add event to queue" +msgstr "no s'ha pogut afegir l'esdeveniment a la cua" + +#: logsrvd/logsrvd.c:1786 logsrvd/logsrvd.c:2033 +msgid "unable setup listen socket" +msgstr "no s'ha pogut establir el sòcol d'escolta" + +#: logsrvd/logsrvd.c:1934 +msgid "sudo log server" +msgstr "servidor de registre sudo" + +#: logsrvd/logsrvd.c:1936 logsrvd/sendlog.c:127 +msgid "Options:" +msgstr "Opcions:" + +#: logsrvd/logsrvd.c:1938 +msgid "path to configuration file" +msgstr "camí al fitxer de configuració" + +#: logsrvd/logsrvd.c:1940 logsrvd/sendlog.c:129 +msgid "display help message and exit" +msgstr "mostra el missatge d'ajuda i surt" + +#: logsrvd/logsrvd.c:1942 +msgid "do not fork, run in the foreground" +msgstr "no bifurquis, executa en el rerefons" + +#: logsrvd/logsrvd.c:1944 +msgid "percent chance connections will drop" +msgstr "les connexions a l'atzar de percentatge es tallaran" + +#: logsrvd/logsrvd.c:1946 logsrvd/sendlog.c:157 +msgid "display version information and exit" +msgstr "mostra la informació de versió i surt" + +#: logsrvd/logsrvd.c:1994 logsrvd/sendlog.c:1735 +msgid "Protobuf-C version 1.3 or higher required" +msgstr "Protobuf-C versió 1.3 o més gran requerida" + +#: logsrvd/logsrvd.c:2012 +#, c-format +msgid "invalid random drop value: %s" +msgstr "valor perdut aleatori no vàlid: %s" + +#: logsrvd/logsrvd.c:2016 logsrvd/sendlog.c:1785 +#: plugins/sudoers/cvtsudoers.c:228 plugins/sudoers/sudoreplay.c:299 +#: plugins/sudoers/visudo.c:175 +#, c-format +msgid "%s version %s\n" +msgstr "%s versió %s\n" + +#: logsrvd/logsrvd_conf.c:332 +msgid "TLS not supported" +msgstr "no està suportat TLS" + +#: logsrvd/logsrvd_conf.c:344 +#, c-format +msgid "%s:%s" +msgstr "%s:%s" + +#: logsrvd/logsrvd_conf.c:411 logsrvd/logsrvd_conf.c:656 +#, c-format +msgid "%s: not a fully qualified path" +msgstr "%s: no és un camí completament qualificat" + +#: logsrvd/logsrvd_conf.c:770 +#, c-format +msgid "%s:%d unmatched '[': %s" +msgstr "%s:%d no concordat '[': %s" + +#: logsrvd/logsrvd_conf.c:781 +#, c-format +msgid "%s:%d invalid config section: %s" +msgstr "%s:%d secció no vàlida de configuració: %s" + +#: logsrvd/logsrvd_conf.c:789 +#, c-format +msgid "%s:%d invalid configuration line: %s" +msgstr "%s:%d línia no vàlida de configuració: %s" + +#: logsrvd/logsrvd_conf.c:795 +#, c-format +msgid "%s:%d expected section name: %s" +msgstr "%s:%d nom esperat de secció: %s" + +#: logsrvd/logsrvd_conf.c:809 +#, c-format +msgid "invalid value for %s: %s" +msgstr "valor no vàlid %s: %s" + +#: logsrvd/logsrvd_conf.c:817 +#, c-format +msgid "%s:%d unknown key: %s" +msgstr "%s:%d clau desconeguda: %s" + +#: logsrvd/logsrvd_conf.c:1006 +#, c-format +msgid "unknown syslog facility %s" +msgstr "sistema de syslog desconegut %s" + +#: logsrvd/logsrvd_conf.c:1010 logsrvd/logsrvd_conf.c:1014 +#: logsrvd/logsrvd_conf.c:1018 +#, c-format +msgid "unknown syslog priority %s" +msgstr "prioritat desconeguda de syslog %s" + +#: logsrvd/sendlog.c:125 +msgid "send sudo I/O log to remote server" +msgstr "envia el registre I/O de sudo al servidor remot" + +#: logsrvd/sendlog.c:131 +msgid "only send an accept event (no I/O)" +msgstr "envia sols un esdeveniment d'acceptació (no I/O)" + +#: logsrvd/sendlog.c:134 +msgid "certificate bundle file to verify server's cert against" +msgstr "fitxer del paquet del certificat per usar en la verificació del certificat del servidor " + +#: logsrvd/sendlog.c:136 +msgid "certificate file for TLS handshake" +msgstr "fitxer de certificat per l'encaixada TLS" + +#: logsrvd/sendlog.c:139 +msgid "host to send logs to" +msgstr "com enviar registres a" + +#: logsrvd/sendlog.c:141 +msgid "remote ID of I/O log to be resumed" +msgstr "es reprendrà el registre remot de l'I/O de l'ID" + +#: logsrvd/sendlog.c:144 +msgid "private key file" +msgstr "fitxer de la clau privada" + +#: logsrvd/sendlog.c:146 +msgid "do not verify server certificate" +msgstr "no verifiquis el certificat del servidor" + +#: logsrvd/sendlog.c:149 +msgid "port to use when connecting to host" +msgstr "port a usar a les connexions a l'amfitrió" + +#: logsrvd/sendlog.c:151 +msgid "restart previous I/O log transfer" +msgstr "reinicia la transferència pevia del registre I/O" + +#: logsrvd/sendlog.c:153 +msgid "reject the command with the given reason" +msgstr "rebutja l'ordre amb la raó següent" + +#: logsrvd/sendlog.c:155 +msgid "test audit server by sending selected I/O log n times in parallel" +msgstr "comprova del servidor d'auditoria enviant el registre I/O seleccionat n vegades en paral·lel" + +#: logsrvd/sendlog.c:180 plugins/sudoers/log_client.c:432 +#, c-format +msgid "unable to look up %s:%s: %s" +msgstr "no es pot cercar %s:%s: %s" + +#: logsrvd/sendlog.c:218 +msgid "unable to get server IP addr" +msgstr "no es pot obtenir l'adreça IP del servidor" + +#: logsrvd/sendlog.c:272 plugins/sudoers/sudoreplay.c:851 +#, c-format +msgid "unable to read %s/%s: %s" +msgstr "no es pot llegir %s/%s: %s" + +#: logsrvd/sendlog.c:293 plugins/sudoers/log_client.c:692 +#, c-format +msgid "client message too large: %zu" +msgstr "missatge de client massa llarg: %zu" + +#: logsrvd/sendlog.c:826 +#, c-format +msgid "%s: write buffer already in use" +msgstr "%s: memòria intermèdia d'escriptura ja en ús" + +#: logsrvd/sendlog.c:878 plugins/sudoers/iolog.c:893 +#: plugins/sudoers/iolog.c:962 +#, c-format +msgid "unexpected I/O event %d" +msgstr "esdeveniment I/O inesperat %d" + +#: logsrvd/sendlog.c:924 logsrvd/sendlog.c:941 logsrvd/sendlog.c:975 +#: plugins/sudoers/log_client.c:1124 plugins/sudoers/log_client.c:1392 +#: plugins/sudoers/log_client.c:1460 plugins/sudoers/log_client.c:1496 +#, c-format +msgid "%s: unexpected state %d" +msgstr "%s: estat inesperat %d" + +#: logsrvd/sendlog.c:947 plugins/sudoers/log_client.c:1466 +msgid "invalid ServerHello" +msgstr "ServerHello invàlid" + +#: logsrvd/sendlog.c:1011 plugins/sudoers/log_client.c:1540 +#, c-format +msgid "error message received from server: %s" +msgstr "s'ha rebut un missatge d'error del servidor: %s" + +#: logsrvd/sendlog.c:1024 plugins/sudoers/log_client.c:1553 +#, c-format +msgid "abort message received from server: %s" +msgstr "avorta el missatge rebut del servidor: %s" + +#: logsrvd/sendlog.c:1043 plugins/sudoers/log_client.c:1572 +msgid "unable to unpack ServerMessage" +msgstr "no es pot desempaquetar ServerMessage" + +#: logsrvd/sendlog.c:1083 plugins/sudoers/log_client.c:1603 +#, c-format +msgid "%s: unexpected type_case value %d" +msgstr "%s: valor inesperat de type_case %d" + +#: logsrvd/sendlog.c:1112 +msgid "timeout reading from server" +msgstr "temps d'espera exhaurit quan es llegia del servidor" + +#: logsrvd/sendlog.c:1190 +msgid "premature EOF" +msgstr "final de fitxer prematur" + +#: logsrvd/sendlog.c:1203 plugins/sudoers/log_client.c:1761 +#, c-format +msgid "server message too large: %u" +msgstr "missatge del servidor massa llarg: %u" + +#: logsrvd/sendlog.c:1254 +msgid "timeout writing to server" +msgstr "temps d'espera exhaurit quan s'escrivia al servidor" + +#: logsrvd/sendlog.c:1473 plugins/sudoers/log_client.c:296 +msgid "TLS handshake timeout occurred" +msgstr "ha ocorregut un temps d'espera exhaurit a l'encaixada TLS" + +#: logsrvd/sendlog.c:1492 logsrvd/sendlog.c:1507 +#: plugins/sudoers/log_client.c:318 plugins/sudoers/log_client.c:334 +msgid "unable to set event" +msgstr "no es pot establir l'esdeveniment" + +#: logsrvd/sendlog.c:1517 logsrvd/sendlog.c:1521 +#, c-format +msgid "TLS connection failed: %s" +msgstr "ha fallat la connexió TLS: %s" + +#: logsrvd/sendlog.c:1554 +#, c-format +msgid "Unable to initialize ssl context: %s" +msgstr "No es pot inicialitzar el context ssl: %s" + +#: logsrvd/sendlog.c:1559 plugins/sudoers/log_client.c:258 +#, c-format +msgid "Unable to allocate ssl object: %s" +msgstr "No es pot assignar l'objecte ssl: %s" + +#: logsrvd/sendlog.c:1564 +#, c-format +msgid "Unable to attach socket to the ssl object: %s" +msgstr "No es pot adjuntar el sòcol a l'objecte ssl: %s" + +#: logsrvd/sendlog.c:1808 +msgid "both restart point and iolog ID must be specified" +msgstr "s'ha d'especificar tant el punt de reinici com l'ID del iolog" + +#: logsrvd/sendlog.c:1812 +msgid "a restart point may not be set when no I/O is sent" +msgstr "no es pot establir un punt de reinici quan no s'envia cap I/O" + +#: logsrvd/sendlog.c:1887 +#, c-format +msgid "exited prematurely with state %d" +msgstr "ha sortit prematurament amb estat %d" + +#: logsrvd/sendlog.c:1888 +#, c-format +msgid "elapsed time sent to server [%lld, %ld]" +msgstr "s'ha enviat el temps transcorregut al servidor [%lld, %ld]" + +#: logsrvd/sendlog.c:1890 +#, c-format +msgid "commit point received from server [%lld, %ld]" +msgstr "punt de compromís rebut del servidor [%lld, %ld]" + +#: plugins/sudoers/audit.c:259 plugins/sudoers/audit.c:398 +#: plugins/sudoers/log_client.c:960 plugins/sudoers/log_client.c:1008 +#: plugins/sudoers/log_client.c:1056 plugins/sudoers/log_client.c:1181 +#: plugins/sudoers/logging.c:548 plugins/sudoers/policy.c:120 +msgid "unable to get time of day" +msgstr "no es pot obtenir l'hora" + +#: plugins/sudoers/auth/aix_auth.c:277 +#, c-format +msgid "unable to change password for %s" +msgstr "no s'ha pogut canviar la contrasenya per a %s" + +#: plugins/sudoers/auth/bsdauth.c:70 +#, c-format +msgid "unable to get login class for user %s" +msgstr "no s'ha pogut obtenir la classe d'inici de sessió per a l'usuari %s" + +#: plugins/sudoers/auth/bsdauth.c:75 +msgid "unable to begin bsd authentication" +msgstr "no s'ha pogut iniciar l'autenticació bsd" + +#: plugins/sudoers/auth/bsdauth.c:83 +msgid "invalid authentication type" +msgstr "tipus no vàlida d'autenticació" + +#: plugins/sudoers/auth/bsdauth.c:92 +msgid "unable to initialize BSD authentication" +msgstr "no s'ha pogut inicialitzar l'autenticació BSD" + +#: plugins/sudoers/auth/bsdauth.c:179 +msgid "your account has expired" +msgstr "el vostre compte ha caducat" + +#: plugins/sudoers/auth/bsdauth.c:181 +msgid "approval failed" +msgstr "ha fallat l'aprovació" + +#: plugins/sudoers/auth/fwtk.c:54 +msgid "unable to read fwtk config" +msgstr "no s'ha pogut llegir la configuració fwtk" + +#: plugins/sudoers/auth/fwtk.c:59 +msgid "unable to connect to authentication server" +msgstr "no s'ha pogut connectar al servidor d'autenticació" + +#: plugins/sudoers/auth/fwtk.c:65 plugins/sudoers/auth/fwtk.c:89 +#: plugins/sudoers/auth/fwtk.c:121 +msgid "lost connection to authentication server" +msgstr "s'ha perdut la connexió al servidor d'autenticació" + +#: plugins/sudoers/auth/fwtk.c:69 +#, c-format +msgid "" +"authentication server error:\n" +"%s" +msgstr "" +"error de servidor d'autenticació:\n" +"%s" + +#: plugins/sudoers/auth/kerb5.c:110 +#, c-format +msgid "%s: unable to convert principal to string ('%s'): %s" +msgstr "%s: no s'ha pogut convertir el principal a la cadena de caràcters ('%s'): %s" + +#: plugins/sudoers/auth/kerb5.c:160 +#, c-format +msgid "%s: unable to parse '%s': %s" +msgstr "%s: no s'ha pogut analitzar '%s': %s" + +#: plugins/sudoers/auth/kerb5.c:169 +#, c-format +msgid "%s: unable to resolve credential cache: %s" +msgstr "%s: no s'ha pogut resoldre el cau de credencials : %s" + +#: plugins/sudoers/auth/kerb5.c:216 +#, c-format +msgid "%s: unable to allocate options: %s" +msgstr "%s: no s'han pogut assignar les opcions: %s" + +#: plugins/sudoers/auth/kerb5.c:231 +#, c-format +msgid "%s: unable to get credentials: %s" +msgstr "%s: no s'ha pogut obtenir les credencials: %s" + +#: plugins/sudoers/auth/kerb5.c:244 +#, c-format +msgid "%s: unable to initialize credential cache: %s" +msgstr "%s: no s'ha pogut inicialitzar el cau de credencials: %s" + +#: plugins/sudoers/auth/kerb5.c:247 +#, c-format +msgid "%s: unable to store credential in cache: %s" +msgstr "%s: no s'ha pogut emmagatzemar la credencial al cau: %s" + +#: plugins/sudoers/auth/kerb5.c:311 +#, c-format +msgid "%s: unable to get host principal: %s" +msgstr "%s: no s'ha pogut obtenir el principal de l'amfitrió: %s" + +#: plugins/sudoers/auth/kerb5.c:325 +#, c-format +msgid "%s: Cannot verify TGT! Possible attack!: %s" +msgstr "%s: No s'ha pogut verificar TGT! Possible atac!: %s" + +#: plugins/sudoers/auth/pam.c:218 +#, c-format +msgid "unable to initialize PAM: %s" +msgstr "no s'ha pogut inicialitzar PAM: %s" + +#: plugins/sudoers/auth/pam.c:337 +#, c-format +msgid "PAM authentication error: %s" +msgstr "Error d'autenticació PAM: %s" + +#: plugins/sudoers/auth/pam.c:356 +msgid "account validation failure, is your account locked?" +msgstr "fallada de validació de compte, està bloquejat el vostre compte?" + +#: plugins/sudoers/auth/pam.c:367 +msgid "Account or password is expired, reset your password and try again" +msgstr "Ha expirat el compte o la contrasenya, restabliu la vostra contrasenya i proveu un altre cop" + +#: plugins/sudoers/auth/pam.c:373 +#, c-format +msgid "unable to change expired password: %s" +msgstr "no s'ha pogut canviar la contrasenya expirada: %s" + +#: plugins/sudoers/auth/pam.c:384 +msgid "Password expired, contact your system administrator" +msgstr "Ha expirat la contrasenya, contacteu el vostre administrador de sistema" + +#: plugins/sudoers/auth/pam.c:389 +msgid "Account expired or PAM config lacks an \"account\" section for sudo, contact your system administrator" +msgstr "Ha expirat el compte o la configuració PAM no té una secció \"compte\" per a sudo, contacteu el vostre administrador de sistema" + +#: plugins/sudoers/auth/pam.c:397 plugins/sudoers/auth/pam.c:402 +#, c-format +msgid "PAM account management error: %s" +msgstr "Error de gestió de compte PAM: %s" + +#: plugins/sudoers/auth/rfc1938.c:99 plugins/sudoers/visudo.c:241 +#, c-format +msgid "you do not exist in the %s database" +msgstr "no existiu a la base de dades %s" + +#: plugins/sudoers/auth/securid5.c:72 +msgid "failed to initialise the ACE API library" +msgstr "ha fallat la inicialització de la biblioteca ACE API" + +#: plugins/sudoers/auth/securid5.c:98 +msgid "unable to contact the SecurID server" +msgstr "no s'ha pogut contactar el servidor SecurID" + +#: plugins/sudoers/auth/securid5.c:107 +msgid "User ID locked for SecurID Authentication" +msgstr "L'ID de l'usuari esta bloquejat per a Autenticació SecurID" + +#: plugins/sudoers/auth/securid5.c:111 plugins/sudoers/auth/securid5.c:162 +msgid "invalid username length for SecurID" +msgstr "nom d'usuari no vàlid per a SecurID" + +#: plugins/sudoers/auth/securid5.c:115 plugins/sudoers/auth/securid5.c:167 +msgid "invalid Authentication Handle for SecurID" +msgstr "Mànec d'Autenticació no vàlid per a SecurID" + +#: plugins/sudoers/auth/securid5.c:119 +msgid "SecurID communication failed" +msgstr "Ha fallat la comunicació SecurID" + +#: plugins/sudoers/auth/securid5.c:123 plugins/sudoers/auth/securid5.c:210 +msgid "unknown SecurID error" +msgstr "error desconegut de SecurID" + +#: plugins/sudoers/auth/securid5.c:157 +msgid "invalid passcode length for SecurID" +msgstr "longitud no vàlida de contrasenya per a SecurID" + +#: plugins/sudoers/auth/sia.c:69 plugins/sudoers/auth/sia.c:123 +msgid "unable to initialize SIA session" +msgstr "no s'ha pogut inicialitzar la sessió SIA" + +#: plugins/sudoers/auth/sudo_auth.c:132 +msgid "invalid authentication methods" +msgstr "mètodes no vàlids d'autenticació" + +#: plugins/sudoers/auth/sudo_auth.c:134 +msgid "Invalid authentication methods compiled into sudo! You may not mix standalone and non-standalone authentication." +msgstr "Mètodes no vàlids d'autenticació compilats dins del sudo! No podeu barrejar l'autenticació independent i no independent." + +#: plugins/sudoers/auth/sudo_auth.c:255 plugins/sudoers/auth/sudo_auth.c:305 +msgid "no authentication methods" +msgstr "no hi ha mètodes d'autenticació" + +#: plugins/sudoers/auth/sudo_auth.c:257 +msgid "There are no authentication methods compiled into sudo! If you want to turn off authentication, use the --disable-authentication configure option." +msgstr "No hi ha mètodes d'autenticació compilats dins del sudo! Si voleu deshabilitar l'autenticació, useu l'opció de configuració --disable-authentication" + +#: plugins/sudoers/auth/sudo_auth.c:307 +msgid "Unable to initialize authentication methods." +msgstr "No s'han pogut inicialitzar els mètodes d'autenticació." + +#: plugins/sudoers/auth/sudo_auth.c:471 +msgid "Authentication methods:" +msgstr "Mètodes d'autenticació:" + +#: plugins/sudoers/bsm_audit.c:123 plugins/sudoers/bsm_audit.c:214 +msgid "Could not determine audit condition" +msgstr "No s'ha pogut determinar la condició d'auditoria" + +#: plugins/sudoers/bsm_audit.c:188 plugins/sudoers/bsm_audit.c:277 +msgid "unable to commit audit record" +msgstr "no s'ha pogut validar el registre d'auditoria" + +#: plugins/sudoers/check.c:264 +#, c-format +msgid "error reading lecture file %s" +msgstr "s'ha produït un error quan es llegia el fitxer de lliçó %s" + +#: plugins/sudoers/check.c:270 +#, c-format +msgid "ignoring lecture file %s: not a regular file" +msgstr "s'ignorarà el fitxer de lecció %s: no és un fitxer regular" + +#: plugins/sudoers/check.c:274 plugins/sudoers/cvtsudoers.c:618 +#: plugins/sudoers/cvtsudoers.c:639 plugins/sudoers/cvtsudoers.c:1249 +#: plugins/sudoers/cvtsudoers_json.c:872 plugins/sudoers/cvtsudoers_ldif.c:688 +#: plugins/sudoers/sudoers.c:1028 plugins/sudoers/sudoreplay.c:1435 +#: plugins/sudoers/timestamp.c:431 plugins/sudoers/tsdump.c:128 +#: plugins/sudoers/visudo.c:913 +#, c-format +msgid "unable to open %s" +msgstr "no s'ha pogut obrir %s" + +#: plugins/sudoers/check.c:283 +msgid "" +"\n" +"We trust you have received the usual lecture from the local System\n" +"Administrator. It usually boils down to these three things:\n" +"\n" +" #1) Respect the privacy of others.\n" +" #2) Think before you type.\n" +" #3) With great power comes great responsibility.\n" +"\n" +msgstr "" +"\n" +"Confiem que heu rebut la llissó habitual de l'Administrador del\n" +"Sistema. Generalment es resumeix en aquestes tres coses:\n" +"\n" +" #1) Respecteu la privacitat dels altres.\n" +" #2) Penseu abans d'escriure.\n" +" #3) Tenir molt de poder està associat amb tenir molta responsabilitat.\n" +"\n" + +#: plugins/sudoers/check.c:325 plugins/sudoers/check.c:335 +#: plugins/sudoers/sudoers.c:830 plugins/sudoers/sudoers.c:851 +#: plugins/sudoers/tsdump.c:119 +#, c-format +msgid "unknown uid: %u" +msgstr "uid desconegut: %u" + +#: plugins/sudoers/check.c:330 plugins/sudoers/exptilde.c:85 +#: plugins/sudoers/iolog.c:118 plugins/sudoers/policy.c:1123 +#: plugins/sudoers/sudoers.c:432 plugins/sudoers/sudoers.c:1283 +#: plugins/sudoers/testsudoers.c:216 plugins/sudoers/testsudoers.c:383 +#, c-format +msgid "unknown user: %s" +msgstr "usuari desconegut: %s" + +#: plugins/sudoers/check_aliases.c:56 +#, c-format +msgid "Error: %s:%d:%d: cycle in %s \"%s\"" +msgstr "Error: %s:%d:%d: cicle a %s \"%s\"" + +#: plugins/sudoers/check_aliases.c:57 +#, c-format +msgid "Warning: %s:%d:%d: cycle in %s \"%s\"" +msgstr "Advertiment: %s:%d:%d: cicle a %s \"%s\"" + +#: plugins/sudoers/check_aliases.c:61 +#, c-format +msgid "Error: %s:%d:%d: %s \"%s\" referenced but not defined" +msgstr "Error: %s:%d:%d: %s «%s» referenciat però no definit" + +#: plugins/sudoers/check_aliases.c:62 +#, c-format +msgid "Warning: %s:%d:%d: %s \"%s\" referenced but not defined" +msgstr "Advertiment: %s:%d:%d: %s «%s» referenciat però no definit" + +#: plugins/sudoers/cvtsudoers.c:194 +#, c-format +msgid "order increment: %s: %s" +msgstr "increment d'ordre: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:210 +#, c-format +msgid "starting order: %s: %s" +msgstr "ordre d'inici: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:220 +#, c-format +msgid "order padding: %s: %s" +msgstr "ordre de farciment: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:230 plugins/sudoers/visudo.c:177 +#, c-format +msgid "%s grammar version %d\n" +msgstr "%s versió de la gramàtica %d\n" + +#: plugins/sudoers/cvtsudoers.c:247 plugins/sudoers/testsudoers.c:167 +#, c-format +msgid "unsupported input format %s" +msgstr "format d'entrada %s no suportat" + +#: plugins/sudoers/cvtsudoers.c:262 +#, c-format +msgid "unsupported output format %s" +msgstr "format de sortida %s no suportat" + +#: plugins/sudoers/cvtsudoers.c:314 +#, c-format +msgid "%s: input and output files must be different" +msgstr "%s: els fitxers d'entrada i de sortida han de ser diferents" + +#: plugins/sudoers/cvtsudoers.c:330 plugins/sudoers/sudoers.c:177 +#: plugins/sudoers/testsudoers.c:255 plugins/sudoers/visudo.c:247 +#: plugins/sudoers/visudo.c:597 plugins/sudoers/visudo.c:917 +msgid "unable to initialize sudoers default values" +msgstr "no s'han pogut inicialitzar el valors predeterminats dels sudoers" + +#: plugins/sudoers/cvtsudoers.c:416 plugins/sudoers/ldap_conf.c:431 +#, c-format +msgid "%s: %s: %s: %s" +msgstr "%s: %s: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:475 +#, c-format +msgid "%s: unknown key word: %s" +msgstr "%s: paraula clau desconeguda: %s" + +#: plugins/sudoers/cvtsudoers.c:521 +#, c-format +msgid "invalid defaults type: %s" +msgstr "tipus no vàlid de valors predeterminats: %s" + +#: plugins/sudoers/cvtsudoers.c:544 +#, c-format +msgid "invalid suppression type: %s" +msgstr "opció no vàlida de supressió: %s" + +#: plugins/sudoers/cvtsudoers.c:584 plugins/sudoers/cvtsudoers.c:598 +#, c-format +msgid "invalid filter: %s" +msgstr "filtre no vàlid: %s" + +#: plugins/sudoers/cvtsudoers.c:642 plugins/sudoers/visudo.c:922 +#, c-format +msgid "failed to parse %s file, unknown error" +msgstr "no s'ha pogut analitzar el fitxer %s, error desconegut" + +#: plugins/sudoers/cvtsudoers.c:650 +#, c-format +msgid "parse error in %s near line %d\n" +msgstr "error d'anàlisi a %s a prop de la línia %d\n" + +#: plugins/sudoers/cvtsudoers.c:653 +#, c-format +msgid "parse error in %s\n" +msgstr "error d'anàlisi a %s\n" + +#: plugins/sudoers/cvtsudoers.c:1296 plugins/sudoers/sudoreplay.c:1124 +#: plugins/sudoers/timestamp.c:315 plugins/sudoers/timestamp.c:318 +#, c-format +msgid "unable to write to %s" +msgstr "no s'ha pogut escriure a %s" + +#: plugins/sudoers/cvtsudoers.c:1319 +#, c-format +msgid "" +"%s - convert between sudoers file formats\n" +"\n" +msgstr "" +"%s - converteix entre formats de fitxer de sudoers\n" +"\n" + +#: plugins/sudoers/cvtsudoers.c:1321 +msgid "" +"\n" +"Options:\n" +" -b, --base=dn the base DN for sudo LDAP queries\n" +" -c, --config=conf_file the path to the configuration file\n" +" -d, --defaults=deftypes only convert Defaults of the specified types\n" +" -e, --expand-aliases expand aliases when converting\n" +" -f, --output-format=format set output format: JSON, LDIF or sudoers\n" +" -i, --input-format=format set input format: LDIF or sudoers\n" +" -I, --increment=num amount to increase each sudoOrder by\n" +" -h, --help display help message and exit\n" +" -m, --match=filter only convert entries that match the filter\n" +" -M, --match-local match filter uses passwd and group databases\n" +" -o, --output=output_file write converted sudoers to output_file\n" +" -O, --order-start=num starting point for first sudoOrder\n" +" -p, --prune-matches prune non-matching users, groups and hosts\n" +" -P, --padding=num base padding for sudoOrder increment\n" +" -s, --suppress=sections suppress output of certain sections\n" +" -V, --version display version information and exit" +msgstr "" +"\n" +"Options:\n" +" -b, --base=dn el DN de base per a demandes LDAP de sudo\n" +" -c, --config=conf_file el camí al fitxer de configuració\n" +" -d, --defaults=deftypes convertieix únicament valors predeterminats dels tipus especificats\n" +" -e, --expand-aliases expandeix els alias a les conversions\n" +" -f, --output-format=format estableix el format de sortida: JSON, LDIF o sudoers\n" +" -i, --input-format=format estableix el format d'entrada: LDIF o sudoers\n" +" -I, --increment=num quantitat a incrementar cada sudoOrder per\n" +" -h, --help mostra el missatge d'ajuda i surt\n" +" -m, --match=filter converteix sols les entrades que concorden amb el filtre\n" +" -M, --match-local el filtre de concordar usa passwd i bases de dades de grup\n" +" -o, --output=output_file escriu el sudoers convertit a output_file\n" +" -O, --order-start=num punt d'inici del primer sudoOrder\n" +" -p, --prune-matches neteja els usuaris, grups i amfitrions no concordats\n" +" -P, --padding=num farciment de base per a l'increment de sudoOrder\n" +" -s, --suppress=sections suprimeix la sortida de certes seccions\n" +" -V, --version mostra la informació de versió i surt" + +#: plugins/sudoers/cvtsudoers_json.c:480 plugins/sudoers/cvtsudoers_json.c:514 +#: plugins/sudoers/cvtsudoers_json.c:713 +#, c-format +msgid "unknown defaults entry \"%s\"" +msgstr "entrada «%s» desconeguda de paràmetres predeterminats" + +#: plugins/sudoers/cvtsudoers_json.c:651 plugins/sudoers/cvtsudoers_json.c:664 +#: plugins/sudoers/cvtsudoers_ldif.c:346 plugins/sudoers/cvtsudoers_ldif.c:357 +#: plugins/sudoers/ldap.c:503 +msgid "unable to get GMT time" +msgstr "no s'ha pogut obtenir l'hora GMT" + +#: plugins/sudoers/cvtsudoers_json.c:654 plugins/sudoers/cvtsudoers_json.c:667 +#: plugins/sudoers/cvtsudoers_ldif.c:349 plugins/sudoers/cvtsudoers_ldif.c:360 +#: plugins/sudoers/ldap.c:509 +msgid "unable to format timestamp" +msgstr "no s'ha pogut donar format a la marca horària" + +#: plugins/sudoers/cvtsudoers_ldif.c:640 +#, c-format +msgid "too many sudoers entries, maximum %u" +msgstr "massa entrades sudoers, el màxim és %u" + +#: plugins/sudoers/cvtsudoers_ldif.c:683 +msgid "the SUDOERS_BASE environment variable is not set and the -b option was not specified." +msgstr "la variable d'entorn SUDOERS_BASE no està establerta i no s'ha especificat l'opció -b" + +#: plugins/sudoers/def_data.c:50 +#, c-format +msgid "Syslog facility if syslog is being used for logging: %s" +msgstr "Eina syslog si s'està usant syslog per als registres: %s" + +#: plugins/sudoers/def_data.c:54 +#, c-format +msgid "Syslog priority to use when user authenticates successfully: %s" +msgstr "Prioritat de syslog a usar quan l'usuari s'autentica amb èxit: %s" + +#: plugins/sudoers/def_data.c:58 +#, c-format +msgid "Syslog priority to use when user authenticates unsuccessfully: %s" +msgstr "Prioritat de syslog a usar quan l'usuari no té èxit a autenticar- %s" + +#: plugins/sudoers/def_data.c:62 +msgid "Put OTP prompt on its own line" +msgstr "Poseu la pregunta OTP a la seva pròpia línia" + +#: plugins/sudoers/def_data.c:66 +msgid "Ignore '.' in $PATH" +msgstr "Ignoreu '.' al $PATH" + +#: plugins/sudoers/def_data.c:70 +msgid "Always send mail when sudo is run" +msgstr "Envia sempre correu electrònic quan s'executi sudo" + +#: plugins/sudoers/def_data.c:74 +msgid "Send mail if user authentication fails" +msgstr "Envia correu electrònic si falla l'autenticació de l'usuari" + +#: plugins/sudoers/def_data.c:78 +msgid "Send mail if the user is not in sudoers" +msgstr "Envia correu electrònic si l'usuari no està als sudoers" + +#: plugins/sudoers/def_data.c:82 +msgid "Send mail if the user is not in sudoers for this host" +msgstr "Envia el correu electrònic si l'usuari no està als sudoers per a aquesta amfitrió" + +#: plugins/sudoers/def_data.c:86 +msgid "Send mail if the user is not allowed to run a command" +msgstr "Envia correu electrònic si l'usuari no té permís per executar aquesta ordre" + +#: plugins/sudoers/def_data.c:90 +msgid "Send mail if the user tries to run a command" +msgstr "Envia correu electrònic si l'usuari intenta executar una ordre" + +#: plugins/sudoers/def_data.c:94 +msgid "Use a separate timestamp for each user/tty combo" +msgstr "Usa una marca horària separada per a cada combinació usuari/terminal" + +#: plugins/sudoers/def_data.c:98 +msgid "Lecture user the first time they run sudo" +msgstr "Dóna una llissó a l'usuari cada cop que executi sudo" + +#: plugins/sudoers/def_data.c:102 +#, c-format +msgid "File containing the sudo lecture: %s" +msgstr "Fitxer que conté la llissó de sudo: %s" + +#: plugins/sudoers/def_data.c:106 +msgid "Require users to authenticate by default" +msgstr "Requereix de forma predeterminada que els usuaris s'autentiquin" + +#: plugins/sudoers/def_data.c:110 +msgid "Root may run sudo" +msgstr "L'usuari primari pot executar sudo" + +#: plugins/sudoers/def_data.c:114 +msgid "Log the hostname in the (non-syslog) log file" +msgstr "Registra el nom del sistema amfitrió al fitxer de registre (que no és syslog)" + +#: plugins/sudoers/def_data.c:118 +msgid "Log the year in the (non-syslog) log file" +msgstr "Registra l'any al fitxer de registre (que no és syslog)" + +#: plugins/sudoers/def_data.c:122 +msgid "If sudo is invoked with no arguments, start a shell" +msgstr "Si sudo s'invoca sense arguments, inicia un intèrpret d'ordres" + +#: plugins/sudoers/def_data.c:126 +msgid "Set $HOME to the target user when starting a shell with -s" +msgstr "Estableix $HOME per a l'usuari destí quan s'inicia un d'ordres amb -s" + +#: plugins/sudoers/def_data.c:130 +msgid "Always set $HOME to the target user's home directory" +msgstr "Estableix sempre $HOME al directori de l'usuari destí" + +#: plugins/sudoers/def_data.c:134 +msgid "Allow some information gathering to give useful error messages" +msgstr "Permet recollir alguna informació per donar missatges d'error útils" + +#: plugins/sudoers/def_data.c:138 +msgid "Require fully-qualified hostnames in the sudoers file" +msgstr "Requereix noms de sistema amfitrió qualificats completament al sudoers" + +#: plugins/sudoers/def_data.c:142 +msgid "Insult the user when they enter an incorrect password" +msgstr "Insulta a l'usuari quen entri una contrasenya incorrecta" + +#: plugins/sudoers/def_data.c:146 +msgid "Only allow the user to run sudo if they have a tty" +msgstr "Permet a l'usuari executar sudo únicament si té un terminal" + +#: plugins/sudoers/def_data.c:150 +msgid "Visudo will honor the EDITOR environment variable" +msgstr "Visudo tindrà en compte la variable d'entorn EDITOR" + +#: plugins/sudoers/def_data.c:154 +msgid "Prompt for root's password, not the users's" +msgstr "Pregunta per la contrasenya de l'usuari primari, no la de l'usuari normal" + +#: plugins/sudoers/def_data.c:158 +msgid "Prompt for the runas_default user's password, not the users's" +msgstr "Pregunta per la contrasenya de l'usuari runas_default, no la de l'usuari normal" + +#: plugins/sudoers/def_data.c:162 +msgid "Prompt for the target user's password, not the users's" +msgstr "Pregunta per la contrasenya de l'usuari destí, no la de l'usuari normal" + +#: plugins/sudoers/def_data.c:166 +msgid "Apply defaults in the target user's login class if there is one" +msgstr "Aplica els paràmetres predeterminats a la classe d'inici de sessió de l'usuari destí si hi ha una" + +#: plugins/sudoers/def_data.c:170 +msgid "Set the LOGNAME and USER environment variables" +msgstr "Estableix les variables d'entorn LOGNAME i USER" + +#: plugins/sudoers/def_data.c:174 +msgid "Only set the effective uid to the target user, not the real uid" +msgstr "Estableix únicament l'uid efectiu de l'usuari destí, no l'uid real" + +#: plugins/sudoers/def_data.c:178 +msgid "Don't initialize the group vector to that of the target user" +msgstr "No inicialitzis el vector de grup perquè coincideixi amb el de l'usuari destí" + +#: plugins/sudoers/def_data.c:182 +#, c-format +msgid "Length at which to wrap log file lines (0 for no wrap): %u" +msgstr "longitud a la qual ajustar les línies del fitxer de registres (0 per a no ajustar): %u" + +#: plugins/sudoers/def_data.c:186 +#, c-format +msgid "Authentication timestamp timeout: %.1f minutes" +msgstr "Temps màxim d'espera per a la marca horària de l'autenticació: %.1f minuts" + +#: plugins/sudoers/def_data.c:190 +#, c-format +msgid "Password prompt timeout: %.1f minutes" +msgstr "Temps màxim d'espera per a la pregunta de la contrasenya: %.1f minuts" + +#: plugins/sudoers/def_data.c:194 +#, c-format +msgid "Number of tries to enter a password: %u" +msgstr "Nombre de intents per entrar una contrasenya: %u" + +#: plugins/sudoers/def_data.c:198 +#, c-format +msgid "Umask to use or 0777 to use user's: 0%o" +msgstr "Umask a usar o 0777 per usar la de l'usuari: 0%o" + +#: plugins/sudoers/def_data.c:202 +#, c-format +msgid "Path to log file: %s" +msgstr "Camí al fitxer de registre: %s" + +#: plugins/sudoers/def_data.c:206 +#, c-format +msgid "Path to mail program: %s" +msgstr "Camí al programa de correu electrònic: %s" + +#: plugins/sudoers/def_data.c:210 +#, c-format +msgid "Flags for mail program: %s" +msgstr "Indicadors per al programa de correu electrònic: %s" + +#: plugins/sudoers/def_data.c:214 +#, c-format +msgid "Address to send mail to: %s" +msgstr "Adreça per enviar correu electrònic: %s" + +#: plugins/sudoers/def_data.c:218 +#, c-format +msgid "Address to send mail from: %s" +msgstr "Adreça per enviar correu electrònic des de: %s" + +#: plugins/sudoers/def_data.c:222 +#, c-format +msgid "Subject line for mail messages: %s" +msgstr "Línia d'assumpte per als missatges de correu electrònic: %s" + +#: plugins/sudoers/def_data.c:226 +#, c-format +msgid "Incorrect password message: %s" +msgstr "Missatge de contrasenya incorrecta: %s" + +#: plugins/sudoers/def_data.c:230 +#, c-format +msgid "Path to lecture status dir: %s" +msgstr "Camí al directori d'estat de la llissó: %s" + +#: plugins/sudoers/def_data.c:234 +#, c-format +msgid "Path to authentication timestamp dir: %s" +msgstr "Camí del directori de marques horàries d'autenticació: %s" + +#: plugins/sudoers/def_data.c:238 +#, c-format +msgid "Owner of the authentication timestamp dir: %s" +msgstr "Propietari del directori de marques horàries d'autenticació: %s" + +#: plugins/sudoers/def_data.c:242 +#, c-format +msgid "Users in this group are exempt from password and PATH requirements: %s" +msgstr "Els usuaris d'aquest grup estan exempts dels requeriments contrasenya i PATH: %s" + +#: plugins/sudoers/def_data.c:246 +#, c-format +msgid "Default password prompt: %s" +msgstr "Pregunta predeterminada de contrasenya: %s" + +#: plugins/sudoers/def_data.c:250 +msgid "If set, passprompt will override system prompt in all cases." +msgstr "Si està establert, la pregunta de contrasenya primarà sobre la pregunta del sistema en tots els casos." + +#: plugins/sudoers/def_data.c:254 +#, c-format +msgid "Default user to run commands as: %s" +msgstr "Usuari predeterminat per executar ordres com a: %s" + +#: plugins/sudoers/def_data.c:258 +#, c-format +msgid "Value to override user's $PATH with: %s" +msgstr "Valor per anul·lar el $PATH de l'usuari amb: %s" + +#: plugins/sudoers/def_data.c:262 +#, c-format +msgid "Path to the editor for use by visudo: %s" +msgstr "Camí a l'editor a usar per visudo: %s" + +#: plugins/sudoers/def_data.c:266 +#, c-format +msgid "When to require a password for 'list' pseudocommand: %s" +msgstr "Quan requerir una contrasenya per a la pseudo-ordre 'list': %s" + +#: plugins/sudoers/def_data.c:270 +#, c-format +msgid "When to require a password for 'verify' pseudocommand: %s" +msgstr "Quan requerir una contrasenya per a la pseudo-ordre 'verify': %s" + +#: plugins/sudoers/def_data.c:274 +msgid "Preload the sudo_noexec library which replaces the exec functions" +msgstr "Carrega prèviament la llibreria sudo_noexec que reemplaça les funcions exec" + +#: plugins/sudoers/def_data.c:278 +msgid "If LDAP directory is up, do we ignore local sudoers file" +msgstr "Si el directori LDAP està actiu, ignorem el fitxer local sudoers?" + +#: plugins/sudoers/def_data.c:282 +#, c-format +msgid "File descriptors >= %d will be closed before executing a command" +msgstr "Els descriptors de fitxer >= %d es tancaran abans d'executar una ordre" + +#: plugins/sudoers/def_data.c:286 +msgid "If set, users may override the value of \"closefrom\" with the -C option" +msgstr "Si està establert, els usuaris podran anul·lar el valor de «closeform» amb l'opció -C" + +#: plugins/sudoers/def_data.c:290 +msgid "Allow users to set arbitrary environment variables" +msgstr "Permet als usuaris fixar variables arbitràries d'entorn" + +#: plugins/sudoers/def_data.c:294 +msgid "Reset the environment to a default set of variables" +msgstr "Restableix l'entorn a un conjunt predeterminat de variables" + +#: plugins/sudoers/def_data.c:298 +msgid "Environment variables to check for safety:" +msgstr "Les variables d'entorn per comprovar la validesa:" + +#: plugins/sudoers/def_data.c:302 +msgid "Environment variables to remove:" +msgstr "Variables d'entorn a suprimir:" + +#: plugins/sudoers/def_data.c:306 +msgid "Environment variables to preserve:" +msgstr "Variables d'entorn a preservar:" + +#: plugins/sudoers/def_data.c:310 +#, c-format +msgid "SELinux role to use in the new security context: %s" +msgstr "Rol SELinux a usar al nou context de seguretat: %s" + +#: plugins/sudoers/def_data.c:314 +#, c-format +msgid "SELinux type to use in the new security context: %s" +msgstr "Tipus SELinux a usar al nou context de seguretat: %s" + +#: plugins/sudoers/def_data.c:318 +#, c-format +msgid "Path to the sudo-specific environment file: %s" +msgstr "Camí al fitxer d'entorn sudo-específic: %s" + +#: plugins/sudoers/def_data.c:322 +#, c-format +msgid "Path to the restricted sudo-specific environment file: %s" +msgstr "Camí al fitxer restringit d'entorn especific de sudo: %s" + +#: plugins/sudoers/def_data.c:326 +#, c-format +msgid "Locale to use while parsing sudoers: %s" +msgstr "Configuració local a usar quan s'estan analitzant els sudoers: %s" + +#: plugins/sudoers/def_data.c:330 +msgid "Allow sudo to prompt for a password even if it would be visible" +msgstr "Permet a sudo preguntar per una contrasenya tot i que pugui ser visible" + +#: plugins/sudoers/def_data.c:334 +msgid "Provide visual feedback at the password prompt when there is user input" +msgstr "Proveeix retroalimentació a la pregunta de contrasenya quan hi ha una entrada per l'usuari" + +#: plugins/sudoers/def_data.c:338 +msgid "Use faster globbing that is less accurate but does not access the filesystem" +msgstr "Usa una expansió que és menys precisa però no accedeix el sistema de fitxers" + +#: plugins/sudoers/def_data.c:342 +msgid "The umask specified in sudoers will override the user's, even if it is more permissive" +msgstr "Els permisos umask als sudoers anul·larà els permisos de l'usuari, tot i que siguin més permissius" + +#: plugins/sudoers/def_data.c:346 +msgid "Log user's input for the command being run" +msgstr "Registra l'entrada feta per l'usuari per a l'ordre que s'està executant" + +#: plugins/sudoers/def_data.c:350 +msgid "Log the output of the command being run" +msgstr "Registra la sortida de l'ordre que s'està executant" + +#: plugins/sudoers/def_data.c:354 +msgid "Compress I/O logs using zlib" +msgstr "Comprimeix els registres d'entrada/sortida usant zlib" + +#: plugins/sudoers/def_data.c:358 +msgid "Always run commands in a pseudo-tty" +msgstr "Executa sempre les ordres en un pseudo-terminal" + +#: plugins/sudoers/def_data.c:362 +#, c-format +msgid "Plugin for non-Unix group support: %s" +msgstr "Connector per a suport de grup no Unix: %s" + +#: plugins/sudoers/def_data.c:366 +#, c-format +msgid "Directory in which to store input/output logs: %s" +msgstr "Directori on arxivar els registres entrada/sortida: %s" + +#: plugins/sudoers/def_data.c:370 +#, c-format +msgid "File in which to store the input/output log: %s" +msgstr "Fitxer on arxivar el registre entrada/sortida: %s" + +#: plugins/sudoers/def_data.c:374 +msgid "Add an entry to the utmp/utmpx file when allocating a pty" +msgstr "Afegeix una entrada al fitxer utmp/utmpx quan s'estigui assignant un pty" + +#: plugins/sudoers/def_data.c:378 +msgid "Set the user in utmp to the runas user, not the invoking user" +msgstr "Estableix l'usuari a utmp perquè sigui l'usuari runas, no l'usuari invocant" + +#: plugins/sudoers/def_data.c:382 +#, c-format +msgid "Set of permitted privileges: %s" +msgstr "Conjunt de privilegis permesos: %s" + +#: plugins/sudoers/def_data.c:386 +#, c-format +msgid "Set of limit privileges: %s" +msgstr "Conjunt de privilegis límit: %s" + +#: plugins/sudoers/def_data.c:390 +msgid "Run commands on a pty in the background" +msgstr "Executa les ordres a un pseudo-terminal (pty) al fons" + +#: plugins/sudoers/def_data.c:394 +#, c-format +msgid "PAM service name to use: %s" +msgstr "Nom del servei PAM a usar: %s" + +#: plugins/sudoers/def_data.c:398 +#, c-format +msgid "PAM service name to use for login shells: %s" +msgstr "Nom del servei PAM a usar per a intèrprets d'ordres d'inici de sessió: %s" + +#: plugins/sudoers/def_data.c:402 +msgid "Attempt to establish PAM credentials for the target user" +msgstr "Intent d'establir credencials PAM per a l'usuari destí" + +#: plugins/sudoers/def_data.c:406 +msgid "Create a new PAM session for the command to run in" +msgstr "Crea una nova sessió PAM on s'executi l'ordre" + +#: plugins/sudoers/def_data.c:410 +msgid "Perform PAM account validation management" +msgstr "Realitza la gestió de validació del compte PAM" + +#: plugins/sudoers/def_data.c:414 +#, c-format +msgid "Maximum I/O log sequence number: %s" +msgstr "Nombre de seqüència de registre I/O màxim: %s" + +#: plugins/sudoers/def_data.c:418 +msgid "Enable sudoers netgroup support" +msgstr "Habilita el suport de netgroup dels sudoers" + +#: plugins/sudoers/def_data.c:422 +msgid "Check parent directories for writability when editing files with sudoedit" +msgstr "Comprova que el directori pare tingui permisos d'escriptura quan s'estiguin editant fitxers amb sudoedit" + +#: plugins/sudoers/def_data.c:426 +msgid "Follow symbolic links when editing files with sudoedit" +msgstr "Segueix els enllaços simbòlics quan s'estiguin editant fitxers amb sudoedit" + +#: plugins/sudoers/def_data.c:430 +msgid "Query the group plugin for unknown system groups" +msgstr "Consulta al connector de grups per grups desconeguts de sistema" + +#: plugins/sudoers/def_data.c:434 +msgid "Match netgroups based on the entire tuple: user, host and domain" +msgstr "Fes concordar els grups de xarxa en base al conjunt sencer: usuari, amfitrió i domini" + +#: plugins/sudoers/def_data.c:438 +msgid "Allow commands to be run even if sudo cannot write to the audit log" +msgstr "Permet que s'executin les ordres tot i que sudo no pot escriure al registre d'auditoria" + +#: plugins/sudoers/def_data.c:442 +msgid "Allow commands to be run even if sudo cannot write to the I/O log" +msgstr "Permet que s'executin les ordres tot i que sudo no pot escriure al registre d'entrada/sortida" + +#: plugins/sudoers/def_data.c:446 +msgid "Allow commands to be run even if sudo cannot write to the log file" +msgstr "Permet que s'executin les ordres tot i que sudo no pot escriure al fitxer de registre" + +#: plugins/sudoers/def_data.c:450 +msgid "Resolve groups in sudoers and match on the group ID, not the name" +msgstr "Resol els grups a sudoers i fes concordar amb l'identificador de grup, no el nom" + +#: plugins/sudoers/def_data.c:454 +#, c-format +msgid "Log entries larger than this value will be split into multiple syslog messages: %u" +msgstr "Les entrades de registre més grans que aquest valor es dividiran en múltiples missatges de syslog: %u" + +#: plugins/sudoers/def_data.c:458 +#, c-format +msgid "User that will own the I/O log files: %s" +msgstr "L'usuari que serà el propietari dels fitxers d'entrada/sortida: %s" + +#: plugins/sudoers/def_data.c:462 +#, c-format +msgid "Group that will own the I/O log files: %s" +msgstr "El grup que serà el propietari dels fitxers de registre d'entrada/sortida: %s" + +#: plugins/sudoers/def_data.c:466 +#, c-format +msgid "File mode to use for the I/O log files: 0%o" +msgstr "Mode de fitxer a usar per als fitxers de registre d'entrada/sortida: 0%o" + +#: plugins/sudoers/def_data.c:470 +#, c-format +msgid "Execute commands by file descriptor instead of by path: %s" +msgstr "Executa les ordres pel descriptor de fitxer en comptes de pel camí: %s" + +#: plugins/sudoers/def_data.c:474 +msgid "Ignore unknown Defaults entries in sudoers instead of producing a warning" +msgstr "Ignora les entrades desconegudes de valores predeterminats al sudoers en comptes de produir un advertiment" + +#: plugins/sudoers/def_data.c:478 +#, c-format +msgid "Time in seconds after which the command will be terminated: %u" +msgstr "Temps en segons després del qual es finalitzarà l'ordre: %u" + +#: plugins/sudoers/def_data.c:482 +msgid "Allow the user to specify a timeout on the command line" +msgstr "Permet a l'usuari especificar un temps d'espera a la línia d'ordres" + +#: plugins/sudoers/def_data.c:486 +msgid "Flush I/O log data to disk immediately instead of buffering it" +msgstr "Purga les dades de registre I/O a disc immediatament en comptes de posar-les a la memòria intermèdia" + +#: plugins/sudoers/def_data.c:490 +msgid "Include the process ID when logging via syslog" +msgstr "Inclou l'ID de procés quan escriguis registres mitjançant syslog" + +#: plugins/sudoers/def_data.c:494 +#, c-format +msgid "Type of authentication timestamp record: %s" +msgstr "Tipus de registre de marca de temps d'autenticació: %s" + +#: plugins/sudoers/def_data.c:498 +#, c-format +msgid "Authentication failure message: %s" +msgstr "Missatge de fallada d'autenticació: %s" + +#: plugins/sudoers/def_data.c:502 +msgid "Ignore case when matching user names" +msgstr "Ignora majúscules i minúscules quan concordis noms d'usuaris" + +#: plugins/sudoers/def_data.c:506 +msgid "Ignore case when matching group names" +msgstr "Ignora majúscules i minúscules quan concordis noms de grups" + +#: plugins/sudoers/def_data.c:510 +msgid "Log when a command is allowed by sudoers" +msgstr "Escriure un registre quan s'autoritza un ordre per sudoers" + +#: plugins/sudoers/def_data.c:514 +msgid "Log when a command is denied by sudoers" +msgstr "Escriu un registre quan es denega un ordre per sudoers" + +#: plugins/sudoers/def_data.c:518 +msgid "Sudo log server(s) to connect to with optional port" +msgstr "El(s) servidor(s) sudo per connectar-se amb port opcional" + +#: plugins/sudoers/def_data.c:522 +#, c-format +msgid "Sudo log server timeout in seconds: %u" +msgstr "Temps límit del servidor de registre sudo en segons: %u" + +#: plugins/sudoers/def_data.c:526 +msgid "Enable SO_KEEPALIVE socket option on the socket connected to the logserver" +msgstr "Habilita l'opció del sòcol SO_KEEPALIVE al sòcol connectat al servidor de registre" + +#: plugins/sudoers/def_data.c:530 +#, c-format +msgid "Path to the audit server's CA bundle file: %s" +msgstr "Camí al fitxer del paquet d'auditoria CA del servidor: %s" + +#: plugins/sudoers/def_data.c:534 +#, c-format +msgid "Path to the sudoers certificate file: %s" +msgstr "Camí al fitxer d'entorn específic del sudo: %s" + +#: plugins/sudoers/def_data.c:538 +#, c-format +msgid "Path to the sudoers private key file: %s" +msgstr "Camí a la clau privada del sudoers: %s" + +#: plugins/sudoers/def_data.c:542 +msgid "Verify that the log server's certificate is valid" +msgstr "Verifica que el certificat del servidor de registre és vàlid" + +#: plugins/sudoers/def_data.c:546 +msgid "Allow the use of unknown runas user and/or group ID" +msgstr "Permet l'ús d'un usuari runas desconegut i/o un ID de grup" + +#: plugins/sudoers/def_data.c:550 +msgid "Only permit running commands as a user with a valid shell" +msgstr "Per sols ordres d'execució com a usuari amb un entorn d'ordres vàlid" + +#: plugins/sudoers/def_data.c:554 +msgid "Set the pam remote user to the user running sudo" +msgstr "Estableix l'usuari remot pam a l'usuari que executa el sudo" + +#: plugins/sudoers/def_data.c:558 +msgid "Set the pam remote host to the local host name" +msgstr "Estableix l'amfitrió remot pam al nom de l'amfitrió local" + +#: plugins/sudoers/def_data.c:562 +#, c-format +msgid "Working directory to change to before executing the command: %s" +msgstr "Directori de treball al qual canviar abans d'executar l'ordre: %s" + +#: plugins/sudoers/def_data.c:566 +#, c-format +msgid "Root directory to change to before executing the command: %s" +msgstr "Directori arrel al qual canviar abans d'executar l'ordre: %s" + +#: plugins/sudoers/def_data.c:570 +#, c-format +msgid "The format of logs to produce: %s" +msgstr "El format dels registres a produir: %s" + +#: plugins/sudoers/def_data.c:574 +msgid "Enable SELinux RBAC support" +msgstr "Habiita el suport SELinux RBAC" + +#: plugins/sudoers/def_data.c:578 +#, c-format +msgid "Path to the file that is created the first time sudo is run: %s" +msgstr "Camí al fitxer que es crea el primer cop que s'executa el sudo: %s" + +#: plugins/sudoers/defaults.c:185 +#, c-format +msgid "%s:%d:%d: unknown defaults entry \"%s\"" +msgstr "%s:%d:%d: entrada predeterminada desconeguda «%s»" + +#: plugins/sudoers/defaults.c:188 +#, c-format +msgid "%s: unknown defaults entry \"%s\"" +msgstr "%s: entrada «%s» desconeguda de paràmetres predeterminats" + +#: plugins/sudoers/defaults.c:234 +#, c-format +msgid "%s:%d:%d: no value specified for \"%s\"" +msgstr "%s:%d:%d: no s'ha especificat un valor per a «%s»" + +#: plugins/sudoers/defaults.c:237 +#, c-format +msgid "%s: no value specified for \"%s\"" +msgstr "%s: no s'ha especificat un valor per a «%s»" + +#: plugins/sudoers/defaults.c:275 +#, c-format +msgid "%s:%d:%d: option \"%s\" does not take a value" +msgstr "%s:%d:%d: l'opció «%s» no pren un valor" + +#: plugins/sudoers/defaults.c:278 +#, c-format +msgid "%s: option \"%s\" does not take a value" +msgstr "%s: l'opció «%s» no pren un valor" + +#: plugins/sudoers/defaults.c:303 +#, c-format +msgid "%s:%d:%d: invalid Defaults type 0x%x for option \"%s\"" +msgstr "%s:%d:%d: tipus no vàlid de Defaults 0x%x per a l'opció «%s»" + +#: plugins/sudoers/defaults.c:306 +#, c-format +msgid "%s: invalid Defaults type 0x%x for option \"%s\"" +msgstr "%s: tipus 0x%x no vàlid de paràmetres predeterminats per a l'opció «%s»" + +#: plugins/sudoers/defaults.c:316 +#, c-format +msgid "%s:%d:%d: value \"%s\" is invalid for option \"%s\"" +msgstr "%s:%d:%d: valor «%s» no és vàlid per a l'opció «%s»" + +#: plugins/sudoers/defaults.c:319 +#, c-format +msgid "%s: value \"%s\" is invalid for option \"%s\"" +msgstr "%s: el valor «%s» no és vàlid per a l'opció «%s»" + +#: plugins/sudoers/defaults.c:1040 +#, c-format +msgid "%s:%d:%d: values for \"%s\" must start with a '/', '~', or '*'" +msgstr "%s:%d:%d: els valors per a «%s» han de començar amb «/», «~», o «*»" + +#: plugins/sudoers/defaults.c:1044 +#, c-format +msgid "%s: values for \"%s\" must start with a '/', '~', or '*'" +msgstr "%s: els valors per a «%s» han de començar amb «/», «~», o «*»" + +#: plugins/sudoers/defaults.c:1055 +#, c-format +msgid "%s:%d:%d: values for \"%s\" must start with a '/'" +msgstr "%s:%d:%d: els valor per a «%s» han de començar amb «/»" + +#: plugins/sudoers/defaults.c:1059 +#, c-format +msgid "%s: values for \"%s\" must start with a '/'" +msgstr "%s: els valors per a «%s» han de començar amb un «/»" + +#: plugins/sudoers/env.c:412 +msgid "sudo_putenv: corrupted envp, length mismatch" +msgstr "sudo_putenv: envp corrupte, discordança de longitud" + +#: plugins/sudoers/env.c:1095 +msgid "unable to rebuild the environment" +msgstr "no s'ha pogut reconstruir l'entorn" + +#: plugins/sudoers/env.c:1169 +#, c-format +msgid "sorry, you are not allowed to set the following environment variables: %s" +msgstr "ho sentim, no teniu permís d'establir les següents variables d'entorn: %s" + +#: plugins/sudoers/file.c:107 +#, c-format +msgid "parse error in %s near line %d" +msgstr "error d'anàlisi a %s a prop de la línia %d" + +#: plugins/sudoers/file.c:110 +#, c-format +msgid "parse error in %s" +msgstr "error d'anàlisi a la línia %s" + +#: plugins/sudoers/filedigest.c:49 +#, c-format +msgid "unsupported digest type %d for %s" +msgstr "tipus de resum no suportat %d per a %s" + +#: plugins/sudoers/filedigest.c:78 +#, c-format +msgid "%s: read error" +msgstr "%s: error de lectura" + +#: plugins/sudoers/group_plugin.c:83 +#, c-format +msgid "%s must be owned by uid %d" +msgstr "%s ha de ser propietat de l'uid %d" + +#: plugins/sudoers/group_plugin.c:87 +#, c-format +msgid "%s must only be writable by owner" +msgstr "%s ha de ser modificable sols pel seu propietari" + +#: plugins/sudoers/group_plugin.c:96 plugins/sudoers/sssd.c:569 +#, c-format +msgid "unable to load %s: %s" +msgstr "no s'ha pogut carregar %s: %s" + +#: plugins/sudoers/group_plugin.c:102 +#, c-format +msgid "unable to find symbol \"group_plugin\" in %s" +msgstr "no s'ha pogut trobar el símbol \"group_plugin\" a %s" + +#: plugins/sudoers/group_plugin.c:107 +#, c-format +msgid "%s: incompatible group plugin major version %d, expected %d" +msgstr "%s: connector incompatible de group versió principal %d, s'esperava %d" + +#: plugins/sudoers/interfaces.c:80 plugins/sudoers/interfaces.c:97 +#, c-format +msgid "unable to parse IP address \"%s\"" +msgstr "no s'ha pogut analitzar l'adreça IP «%s»" + +#: plugins/sudoers/interfaces.c:85 plugins/sudoers/interfaces.c:102 +#, c-format +msgid "unable to parse netmask \"%s\"" +msgstr "no s'ha pogut analitzar la màscara de xarxa «%s»" + +#: plugins/sudoers/interfaces.c:130 +msgid "Local IP address and netmask pairs:\n" +msgstr "Adreça local IP i parelles netmask:\n" + +#: plugins/sudoers/iolog.c:143 plugins/sudoers/sudoers.c:437 +#: plugins/sudoers/sudoers.c:1317 plugins/sudoers/testsudoers.c:407 +#, c-format +msgid "unknown group: %s" +msgstr "grup desconegut: %s" + +#: plugins/sudoers/iolog.c:635 +msgid "unable to update sequence file" +msgstr "no s'ha pogut actualitzar el fitxer de seqüència" + +#: plugins/sudoers/iolog.c:666 plugins/sudoers/iolog.c:854 +#: plugins/sudoers/iolog.c:1007 plugins/sudoers/iolog.c:1014 +#: plugins/sudoers/iolog.c:1135 plugins/sudoers/iolog.c:1142 +#: plugins/sudoers/iolog.c:1241 plugins/sudoers/iolog.c:1248 +#, c-format +msgid "unable to write to I/O log file: %s" +msgstr "no s'ha pogut escriure al fitxer de registre d'entrada/sortida: %s" + +#: plugins/sudoers/iolog.c:674 +#, c-format +msgid "unable to create %s/%s" +msgstr "no s'ha pogut crear %s/%s" + +#: plugins/sudoers/iolog.c:899 +#, c-format +msgid "%s: internal error, I/O log file for event %d not open" +msgstr "%s: error intern, no està obert el fitxer de registre I/O per a l'event %d" + +#: plugins/sudoers/iolog.c:992 plugins/sudoers/iolog.c:1120 +#: plugins/sudoers/iolog.c:1225 plugins/sudoers/timestamp.c:836 +#: plugins/sudoers/timestamp.c:928 plugins/sudoers/visudo.c:487 +#: plugins/sudoers/visudo.c:493 +msgid "unable to read the clock" +msgstr "no s'ha pogut llegir el rellotge" + +#: plugins/sudoers/iolog.c:1217 plugins/sudoers/log_client.c:1199 +#, c-format +msgid "%s: internal error, invalid signal %d" +msgstr "%s: error intern, senyal %d no vàlid" + +#: plugins/sudoers/ldap.c:177 plugins/sudoers/ldap_conf.c:291 +msgid "starttls not supported when using ldaps" +msgstr "starttls no suportat quan s'està usant ldaps" + +#: plugins/sudoers/ldap.c:248 +#, c-format +msgid "unable to initialize SSL cert and key db: %s" +msgstr "no s'ha pogut inicialitzar el certificat SSL i la clau db: %s" + +#: plugins/sudoers/ldap.c:251 +#, c-format +msgid "you must set TLS_CERT in %s to use SSL" +msgstr "heu d'establir TLS_CERT a %s per usar SSL" + +#: plugins/sudoers/ldap.c:1660 +#, c-format +msgid "unable to initialize LDAP: %s" +msgstr "no s'ha pogut inicialitzar LDAP: %s" + +#: plugins/sudoers/ldap.c:1697 +msgid "start_tls specified but LDAP libs do not support ldap_start_tls_s() or ldap_start_tls_s_np()" +msgstr "s'ha especificat start_tls però les biblioteques LDAP no donen suport a ldap_start_tls_s() o ldap_start_tls_s_np()" + +#: plugins/sudoers/ldap.c:1834 plugins/sudoers/parse_ldif.c:746 +#, c-format +msgid "invalid sudoOrder attribute: %s" +msgstr "atribut sudoOrder no vàlid: %s" + +#: plugins/sudoers/ldap_conf.c:200 +#, c-format +msgid "%s: port too large" +msgstr "%s: port massa larg" + +#: plugins/sudoers/ldap_conf.c:260 +#, c-format +msgid "unsupported LDAP uri type: %s" +msgstr "tipus d'uri LDAP no suportat: %s" + +#: plugins/sudoers/ldap_conf.c:287 +msgid "unable to mix ldap and ldaps URIs" +msgstr "no s'han pogut barrejar el ldap i els ldaps URIs " + +#: plugins/sudoers/ldap_util.c:529 plugins/sudoers/ldap_util.c:536 +#: plugins/sudoers/ldap_util.c:544 plugins/sudoers/ldap_util.c:553 +#: plugins/sudoers/ldap_util.c:561 plugins/sudoers/ldap_util.c:571 +#: plugins/sudoers/ldap_util.c:579 +#, c-format +msgid "duplicate sudoOption: %s%s%s" +msgstr "sudoOption duplicada: %s%s%s" + +#: plugins/sudoers/ldap_util.c:598 plugins/sudoers/ldap_util.c:600 +#, c-format +msgid "unable to convert sudoOption: %s%s%s" +msgstr "no s'ha pogut convertir l'opció de sudo: %s%s%s" + +#: plugins/sudoers/linux_audit.c:58 plugins/sudoers/linux_audit.c:60 +msgid "unable to open audit system" +msgstr "no s'ha pogut obrir el sistema d'auditoria" + +#: plugins/sudoers/linux_audit.c:103 +msgid "unable to send audit message" +msgstr "no s'ha pogut enviar el missatge d'auditoria" + +#: plugins/sudoers/log_client.c:113 plugins/sudoers/log_client.c:391 +#: plugins/sudoers/log_client.c:1437 plugins/sudoers/log_client.c:2031 +msgid "error in event loop" +msgstr "error al bucle d'esdeveniment" + +#: plugins/sudoers/log_client.c:193 +#, c-format +msgid "Creation of new SSL_CTX object failed: %s" +msgstr "Ha fallat la creació d'un objecte nou SSL_CTX: %s" + +#: plugins/sudoers/log_client.c:345 plugins/sudoers/log_client.c:350 +#, c-format +msgid "TLS connection to %s:%s failed: %s" +msgstr "Ha fallat la connexió TLS a %s:%s: %s" + +#: plugins/sudoers/log_client.c:519 +msgid "TLS initialization was unsuccessful" +msgstr "La inicialització TLS no ha reeixit" + +#: plugins/sudoers/log_client.c:528 +msgid "TLS handshake was unsuccessful" +msgstr "L'encaixada TLS no ha reeixit" + +#: plugins/sudoers/log_client.c:1208 +#, c-format +msgid "%s: internal error, invalid exit status %d" +msgstr "%s: error intern, estat no vàlid de sortida %d" + +#: plugins/sudoers/log_client.c:1724 plugins/sudoers/log_client.c:1748 +msgid "lost connection to log server" +msgstr "s'ha perdut la connexió al servidor de registre" + +#: plugins/sudoers/log_client.c:1825 +msgid "missing write buffer" +msgstr "falta la memòria intermèdia d'escriptura" + +#: plugins/sudoers/log_client.c:1972 +msgid "unable to connect to log server" +msgstr "no s'ha pogut connectar al servidor de registre" + +#: plugins/sudoers/logging.c:244 +msgid "user NOT in sudoers" +msgstr "l'usuari NO ESTÀ als sudoers" + +#: plugins/sudoers/logging.c:246 +msgid "user NOT authorized on host" +msgstr "l'usuari NO està autoritzat a l'amfitrió" + +#: plugins/sudoers/logging.c:248 +msgid "command not allowed" +msgstr "ordre no permesa" + +#: plugins/sudoers/logging.c:269 +#, c-format +msgid "%s is not in the sudoers file. This incident will be reported.\n" +msgstr "%s no està al fitxer sudoers. S'informarà d'aquest incident.\n" + +#: plugins/sudoers/logging.c:272 +#, c-format +msgid "%s is not allowed to run sudo on %s. This incident will be reported.\n" +msgstr "%s no té permís per executar sudo a %s. S'informarà d'aquest incident.\n" + +#: plugins/sudoers/logging.c:276 +#, c-format +msgid "Sorry, user %s may not run sudo on %s.\n" +msgstr "Ho sentim, l'usuari %s no pot executar sudo a %s.\n" + +#: plugins/sudoers/logging.c:279 +#, c-format +msgid "Sorry, user %s is not allowed to execute '%s%s%s' as %s%s%s on %s.\n" +msgstr "Ho sentim, l'usuari %s no pot executar '%s%s%s' com a %s%s%s a %s.\n" + +#: plugins/sudoers/logging.c:316 plugins/sudoers/sudoers.c:575 +#: plugins/sudoers/sudoers.c:577 plugins/sudoers/sudoers.c:579 +#: plugins/sudoers/sudoers.c:581 plugins/sudoers/sudoers.c:723 +#: plugins/sudoers/sudoers.c:725 +#, c-format +msgid "%s: command not found" +msgstr "%s: no s'ha trobat l'ordre" + +#: plugins/sudoers/logging.c:318 plugins/sudoers/sudoers.c:571 +#, c-format +msgid "" +"ignoring \"%s\" found in '.'\n" +"Use \"sudo ./%s\" if this is the \"%s\" you wish to run." +msgstr "" +"s'ignorarà «%s» trobat a «.»\n" +"Useu «sudo ./%s» si aquest és el «%s» que voleu executar." + +#: plugins/sudoers/logging.c:337 +#, c-format +msgid "%u incorrect password attempt" +msgid_plural "%u incorrect password attempts" +msgstr[0] "%u intent incorrecte de contrasenya" +msgstr[1] "%u intents incorrectes de contrasenya" + +#: plugins/sudoers/logging.c:393 +msgid "authentication failure" +msgstr "ha fallat l'autenticació" + +#: plugins/sudoers/logging.c:433 plugins/sudoers/logging.c:453 +msgid "a password is required" +msgstr "es requereix una contrasenya" + +#: plugins/sudoers/logging.c:739 +#, c-format +msgid "unable to open log file: %s" +msgstr "no s'ha pogut obrir el fitxer de registre: %s" + +#: plugins/sudoers/logging.c:772 +#, c-format +msgid "unable to write log file: %s" +msgstr "no s'ha pogut escriure el fitxer de registre: %s" + +#: plugins/sudoers/match_digest.c:129 +#, c-format +msgid "digest for %s (%s) is not in %s form" +msgstr "digest per a %s (%s) no està en forma %s" + +#: plugins/sudoers/parse.c:530 +#, c-format +msgid "" +"\n" +"LDAP Role: %s\n" +msgstr "" +"\n" +"Rol LDAP: %s\n" + +#: plugins/sudoers/parse.c:533 +msgid "" +"\n" +"Sudoers entry:\n" +msgstr "" +"\n" +"Entrada de sudoers:\n" + +#: plugins/sudoers/parse.c:535 +msgid " RunAsUsers: " +msgstr " RunAsUsers: " + +#: plugins/sudoers/parse.c:550 +msgid " RunAsGroups: " +msgstr " RunAsGroups: " + +#: plugins/sudoers/parse.c:560 +msgid " Options: " +msgstr " Opcions: " + +#: plugins/sudoers/parse.c:614 +msgid " Commands:\n" +msgstr " Ordres:\n" + +#: plugins/sudoers/parse.c:805 +#, c-format +msgid "Matching Defaults entries for %s on %s:\n" +msgstr "Entrades predeterminades concordants per a %s a %s:\n" + +#: plugins/sudoers/parse.c:823 +#, c-format +msgid "Runas and Command-specific defaults for %s:\n" +msgstr "Runas i valors predeterminats específics d'ordres per a %s:\n" + +#: plugins/sudoers/parse.c:841 +#, c-format +msgid "User %s may run the following commands on %s:\n" +msgstr "L'usuari %s pot executar les ordres següents a %s:\n" + +#: plugins/sudoers/parse.c:856 +#, c-format +msgid "User %s is not allowed to run sudo on %s.\n" +msgstr "L'usuari %s no té permisos per executar sudo a %s.\n" + +#: plugins/sudoers/parse_ldif.c:616 +#, c-format +msgid "ignoring incomplete sudoRole: cn: %s" +msgstr "ignora completament a sudoRole: cn: %s" + +#: plugins/sudoers/parse_ldif.c:676 +#, c-format +msgid "invalid LDIF attribute: %s" +msgstr "atribut LDIF no vàlid: %s" + +#: plugins/sudoers/policy.c:78 plugins/sudoers/policy.c:108 +#, c-format +msgid "invalid %.*s set by sudo front-end" +msgstr "%.*s establert pel frontal de sudo" + +#: plugins/sudoers/policy.c:314 plugins/sudoers/testsudoers.c:269 +msgid "unable to parse network address list" +msgstr "no s'ha pogut analitzar la llista d'adreces de xarxa" + +#: plugins/sudoers/policy.c:465 +msgid "user name not set by sudo front-end" +msgstr "nom d'usuari no establert pel frontal de sudo" + +#: plugins/sudoers/policy.c:469 +msgid "user-ID not set by sudo front-end" +msgstr "ID d'usuari no establers pel frontal de sudo" + +#: plugins/sudoers/policy.c:473 +msgid "group-ID not set by sudo front-end" +msgstr "ID de grup no establert pel frontal de sudo" + +#: plugins/sudoers/policy.c:477 +msgid "host name not set by sudo front-end" +msgstr "nom d'amfitrió no establert pel frontal de sudo" + +#: plugins/sudoers/policy.c:660 +#, c-format +msgid "invalid working directory: %s" +msgstr "director de treball no vàlid: %s" + +#: plugins/sudoers/policy.c:828 +#, c-format +msgid "invalid chroot directory: %s" +msgstr "directori chroot no vàlid: %s" + +#: plugins/sudoers/policy.c:963 plugins/sudoers/visudo.c:229 +#: plugins/sudoers/visudo.c:851 +#, c-format +msgid "unable to execute %s" +msgstr "no s'ha pogut executar %s" + +#: plugins/sudoers/policy.c:1030 plugins/sudoers/policy.c:1067 +#: plugins/sudoers/policy.c:1089 plugins/sudoers/policy.c:1115 +#, c-format +msgid "%s: invalid mode flags from sudo front end: 0x%x" +msgstr "%s: etiquetes no vàlides de mode del frontal del sudo: 0x%x" + +#: plugins/sudoers/policy.c:1146 +#, c-format +msgid "Sudoers policy plugin version %s\n" +msgstr "Versió del connector de política de sudoers %s\n" + +#: plugins/sudoers/policy.c:1148 +#, c-format +msgid "Sudoers file grammar version %d\n" +msgstr "Versió de gramàtica del fitxer sudoers %d\n" + +#: plugins/sudoers/policy.c:1152 +#, c-format +msgid "" +"\n" +"Sudoers path: %s\n" +msgstr "" +"\n" +"Camí del sudoers: %s\n" + +#: plugins/sudoers/policy.c:1155 +#, c-format +msgid "nsswitch path: %s\n" +msgstr "camí del nsswitch: %s\n" + +#: plugins/sudoers/policy.c:1157 +#, c-format +msgid "ldap.conf path: %s\n" +msgstr "camí de ldap.conf: %s\n" + +#: plugins/sudoers/policy.c:1158 +#, c-format +msgid "ldap.secret path: %s\n" +msgstr "camí del ldap.secret: %s\n" + +#: plugins/sudoers/policy.c:1191 +#, c-format +msgid "unable to register hook of type %d (version %d.%d)" +msgstr "no s'ha pogut registrar el lligam de tipus %d (versió %d.%d)" + +#: plugins/sudoers/policy.c:1209 +#, c-format +msgid "unable to deregister hook of type %d (version %d.%d)" +msgstr "no s'ha pogut cancel·lar el registre del hook de tipus %d (versió %d.%d)" + +#: plugins/sudoers/pwutil.c:218 plugins/sudoers/pwutil.c:236 +#, c-format +msgid "unable to cache uid %u" +msgstr "no s'ha pogut posar al cau l'uid %u" + +#: plugins/sudoers/pwutil.c:230 +#, c-format +msgid "unable to cache uid %u, already exists" +msgstr "no s'ha pogut posar l'uid %u al cau, ja existeix" + +#: plugins/sudoers/pwutil.c:290 plugins/sudoers/pwutil.c:308 +#: plugins/sudoers/pwutil.c:371 plugins/sudoers/pwutil.c:416 +#, c-format +msgid "unable to cache user %s" +msgstr "no s'ha pogut posar al cau l'usuari %s" + +#: plugins/sudoers/pwutil.c:303 +#, c-format +msgid "unable to cache user %s, already exists" +msgstr "no s'ha pogut posar l'usuari %s al cau, ja existeix" + +#: plugins/sudoers/pwutil.c:535 plugins/sudoers/pwutil.c:553 +#, c-format +msgid "unable to cache gid %u" +msgstr "no s'ha pogut posar el gid %u al cau" + +#: plugins/sudoers/pwutil.c:547 +#, c-format +msgid "unable to cache gid %u, already exists" +msgstr "no s'ha pogut posar el gid %u al cau, ja existeix" + +#: plugins/sudoers/pwutil.c:601 plugins/sudoers/pwutil.c:619 +#: plugins/sudoers/pwutil.c:680 plugins/sudoers/pwutil.c:730 +#, c-format +msgid "unable to cache group %s" +msgstr "no s'ha pogut posar al cau al grup %s" + +#: plugins/sudoers/pwutil.c:614 +#, c-format +msgid "unable to cache group %s, already exists" +msgstr "no s'ha pogut posar el grup %s al cau, ja existeix" + +#: plugins/sudoers/pwutil.c:877 plugins/sudoers/pwutil.c:928 +#: plugins/sudoers/pwutil.c:978 plugins/sudoers/pwutil.c:1030 +#, c-format +msgid "unable to cache group list for %s, already exists" +msgstr "no s'ha pogut la llista de grups al cau per a %s, ja existeix" + +#: plugins/sudoers/pwutil.c:883 plugins/sudoers/pwutil.c:933 +#: plugins/sudoers/pwutil.c:984 plugins/sudoers/pwutil.c:1035 +#, c-format +msgid "unable to cache group list for %s" +msgstr "no s'ha pogut posar al cau a la llista de grup %s" + +#: plugins/sudoers/pwutil.c:922 +#, c-format +msgid "unable to parse groups for %s" +msgstr "no s'han pogut analitzar els grups per a %s" + +#: plugins/sudoers/pwutil.c:1024 +#, c-format +msgid "unable to parse gids for %s" +msgstr "no s'han pogut analitzar els identificadors de grups per a %s" + +#: plugins/sudoers/set_perms.c:114 plugins/sudoers/set_perms.c:441 +#: plugins/sudoers/set_perms.c:844 plugins/sudoers/set_perms.c:1150 +#: plugins/sudoers/set_perms.c:1444 +msgid "perm stack overflow" +msgstr "desbordament de la pila de permisos" + +#: plugins/sudoers/set_perms.c:122 plugins/sudoers/set_perms.c:372 +#: plugins/sudoers/set_perms.c:449 plugins/sudoers/set_perms.c:711 +#: plugins/sudoers/set_perms.c:852 plugins/sudoers/set_perms.c:1074 +#: plugins/sudoers/set_perms.c:1158 plugins/sudoers/set_perms.c:1377 +#: plugins/sudoers/set_perms.c:1452 plugins/sudoers/set_perms.c:1542 +msgid "perm stack underflow" +msgstr "subdesbordament de la pila de permisos" + +#: plugins/sudoers/set_perms.c:181 plugins/sudoers/set_perms.c:495 +#: plugins/sudoers/set_perms.c:1211 plugins/sudoers/set_perms.c:1485 +msgid "unable to change to root gid" +msgstr "no s'ha pogut canvir el gid de l'usuari primari" + +#: plugins/sudoers/set_perms.c:272 plugins/sudoers/set_perms.c:592 +#: plugins/sudoers/set_perms.c:983 plugins/sudoers/set_perms.c:1288 +msgid "unable to change to runas gid" +msgstr "no s'ha pogut canviar el gid runas" + +#: plugins/sudoers/set_perms.c:277 plugins/sudoers/set_perms.c:597 +#: plugins/sudoers/set_perms.c:988 plugins/sudoers/set_perms.c:1293 +msgid "unable to set runas group vector" +msgstr "no s'ha pogut configurar el vector de grup runas" + +#: plugins/sudoers/set_perms.c:288 plugins/sudoers/set_perms.c:608 +#: plugins/sudoers/set_perms.c:997 plugins/sudoers/set_perms.c:1302 +msgid "unable to change to runas uid" +msgstr "no s'ha pogut canviar l'uid runas" + +#: plugins/sudoers/set_perms.c:306 plugins/sudoers/set_perms.c:626 +#: plugins/sudoers/set_perms.c:1013 plugins/sudoers/set_perms.c:1318 +msgid "unable to change to sudoers gid" +msgstr "no s'ha pogut canvir el gid del sudoers" + +#: plugins/sudoers/set_perms.c:359 plugins/sudoers/set_perms.c:698 +#: plugins/sudoers/set_perms.c:1061 plugins/sudoers/set_perms.c:1364 +#: plugins/sudoers/set_perms.c:1529 +msgid "too many processes" +msgstr "massa processos" + +#: plugins/sudoers/solaris_audit.c:61 +msgid "unable to get current working directory" +msgstr "no s'ha pogut obtenir el directori actual de treball" + +#: plugins/sudoers/solaris_audit.c:69 +#, c-format +msgid "truncated audit path user_cmnd: %s" +msgstr "camí truncat d'auditoria use_cmd: %s" + +#: plugins/sudoers/solaris_audit.c:76 +#, c-format +msgid "truncated audit path argv[0]: %s" +msgstr "camí truncat d'auditoria argv[0]: %s" + +#: plugins/sudoers/sssd.c:572 +msgid "unable to initialize SSS source. Is SSSD installed on your machine?" +msgstr "no s'ha pogut inicialitzar la font del SSS. Està el SSSD instal·lat al vostre sistema?" + +#: plugins/sudoers/sssd.c:580 plugins/sudoers/sssd.c:589 +#: plugins/sudoers/sssd.c:598 plugins/sudoers/sssd.c:607 +#: plugins/sudoers/sssd.c:616 +#, c-format +msgid "unable to find symbol \"%s\" in %s" +msgstr "no s'ha pogut trobar el símbol \"%s\" a %s" + +#: plugins/sudoers/sudoers.c:213 plugins/sudoers/sudoers.c:985 +msgid "problem with defaults entries" +msgstr "hi ha un problema amb les entrades predeterminades" + +#: plugins/sudoers/sudoers.c:217 +msgid "no valid sudoers sources found, quitting" +msgstr "no s'han trobat fonts vàlides de sudoers, se sortirà" + +#: plugins/sudoers/sudoers.c:291 +#, c-format +msgid "user not allowed to change root directory to %s" +msgstr "l'usuari no té permisos per canviar el directori arrel a %s" + +#: plugins/sudoers/sudoers.c:293 +#, c-format +msgid "you are not permitted to use the -R option with %s" +msgstr "no teniu permisos per usar l'opció -R amb %s" + +#: plugins/sudoers/sudoers.c:318 +#, c-format +msgid "user not allowed to change directory to %s" +msgstr "l'usuari no té permisos per canviar el directori a %s" + +#: plugins/sudoers/sudoers.c:319 +#, c-format +msgid "you are not permitted to use the -D option with %s" +msgstr "no teniu permisos per usar l'opció -D amb %s" + +#: plugins/sudoers/sudoers.c:345 +msgid "no command specified" +msgstr "no s'ha especificat una ordre" + +#: plugins/sudoers/sudoers.c:355 +msgid "sudoers specifies that root is not allowed to sudo" +msgstr "el fitxer sudoers especifica que l'usuari primar no pot executar sudo" + +#: plugins/sudoers/sudoers.c:403 +msgid "user not allowed to override closefrom limit" +msgstr "l'usuari no té permís per anul·lar el límit closefrom" + +#: plugins/sudoers/sudoers.c:404 +msgid "you are not permitted to use the -C option" +msgstr "no teniu permisos per usar l'opció -C" + +#: plugins/sudoers/sudoers.c:464 +#, c-format +msgid "timestamp owner (%s): No such user" +msgstr "propietari de la marca horària (%s): No existeix aquest usuari" + +#: plugins/sudoers/sudoers.c:479 +msgid "no tty" +msgstr "no hi ha una terminal" + +#: plugins/sudoers/sudoers.c:480 +msgid "sorry, you must have a tty to run sudo" +msgstr "ho sentim, heu de tenir una terminal per executar sudo" + +#: plugins/sudoers/sudoers.c:487 +#, c-format +msgid "invalid shell for user %s: %s" +msgstr "entorn d'ordres no vàlid per a l'usuari %s: %s" + +#: plugins/sudoers/sudoers.c:570 +msgid "command in current directory" +msgstr "ordre al directori actual" + +#: plugins/sudoers/sudoers.c:589 +msgid "user not allowed to set a command timeout" +msgstr "l'usuari no té permís per establir un temps d'espera a l'ordre" + +#: plugins/sudoers/sudoers.c:591 +msgid "sorry, you are not allowed set a command timeout" +msgstr "ho sentim, no teniu permisos per posar un temps d'espera d'ordre" + +#: plugins/sudoers/sudoers.c:599 +msgid "user not allowed to preserve the environment" +msgstr "l'usuari no té permís per preservar l'entorn" + +#: plugins/sudoers/sudoers.c:601 +msgid "sorry, you are not allowed to preserve the environment" +msgstr "ho sentim, no teniu permisos per preserver l'entorn" + +#: plugins/sudoers/sudoers.c:936 +msgid "command too long" +msgstr "ordre massa llarga" + +#: plugins/sudoers/sudoers.c:973 +msgid "sudoedit doesn't need to be run via sudo" +msgstr "no cal executar el sudoedit mitjançant sudo" + +#: plugins/sudoers/sudoers.c:1032 plugins/sudoers/sudoreplay.c:1547 +#: plugins/sudoers/tsdump.c:138 +#, c-format +msgid "unable to read %s" +msgstr "no s'ha pogut llegir %s" + +#: plugins/sudoers/sudoers.c:1057 plugins/sudoers/visudo.c:426 +#: plugins/sudoers/visudo.c:720 +#, c-format +msgid "unable to stat %s" +msgstr "no s'ha pogut accedir %s" + +#: plugins/sudoers/sudoers.c:1061 plugins/sudoers/visudo.c:1009 +#, c-format +msgid "%s is not a regular file" +msgstr "%s no és un fitxer regular" + +#: plugins/sudoers/sudoers.c:1065 plugins/sudoers/timestamp.c:252 toke.l:1138 +#, c-format +msgid "%s is owned by uid %u, should be %u" +msgstr "%s és propietat de l'uid %u, hauria de ser %u" + +#: plugins/sudoers/sudoers.c:1069 toke.l:1143 +#, c-format +msgid "%s is world writable" +msgstr "%s te permís universal d'escriptura" + +#: plugins/sudoers/sudoers.c:1073 toke.l:1146 +#, c-format +msgid "%s is owned by gid %u, should be %u" +msgstr "%s és propietat del gid %u, hauria de ser %u" + +#: plugins/sudoers/sudoers.c:1106 +#, c-format +msgid "only root can use \"-c %s\"" +msgstr "sols l'usuari primari pot usar «-c %s»" + +#: plugins/sudoers/sudoers.c:1125 +#, c-format +msgid "unknown login class: %s" +msgstr "classe desconeguda d'inici de sessió: %s" + +#: plugins/sudoers/sudoers.c:1211 plugins/sudoers/sudoers.c:1226 +#, c-format +msgid "unable to resolve host %s" +msgstr "no s'ha pogut resoldre l'amfitrió %s" + +#: plugins/sudoers/sudoreplay.c:257 +#, c-format +msgid "invalid filter option: %s" +msgstr "opció no vàlida de filtre: %s" + +#: plugins/sudoers/sudoreplay.c:273 +#, c-format +msgid "invalid max wait: %s" +msgstr "espera màxima no vàlida: %s" + +#: plugins/sudoers/sudoreplay.c:296 +#, c-format +msgid "invalid speed factor: %s" +msgstr "factor no vàlid de velocitat: %s" + +#: plugins/sudoers/sudoreplay.c:332 +#, c-format +msgid "%s/%.2s/%.2s/%.2s: %s" +msgstr "%s/%.2s/%.2s/%.2s: %s" + +#: plugins/sudoers/sudoreplay.c:337 +#, c-format +msgid "%s/timing: %s" +msgstr "%s/sincronització: %s" + +#: plugins/sudoers/sudoreplay.c:341 +#, c-format +msgid "%s/%s: %s" +msgstr "%s/%s: %s" + +#: plugins/sudoers/sudoreplay.c:365 +#, c-format +msgid "Replaying sudo session: %s" +msgstr "S'està reproduint la sessió sudo: %s" + +#: plugins/sudoers/sudoreplay.c:627 +msgid "unable to set tty to raw mode" +msgstr "no s'ha pogut configurar el terminal a mode de dades en brut" + +#: plugins/sudoers/sudoreplay.c:678 +msgid "Warning: your terminal is too small to properly replay the log.\n" +msgstr "Advertiment: el vostre terminal és massa petit per reproduir apropiadament el registre.\n" + +#: plugins/sudoers/sudoreplay.c:679 +#, c-format +msgid "Log geometry is %d x %d, your terminal's geometry is %d x %d." +msgstr "La geometria del registre és %d x %d, la geometria del vostre terminal és %d x %d." + +#: plugins/sudoers/sudoreplay.c:707 +msgid "Replay finished, press any key to restore the terminal." +msgstr "Reproducció acabada, premeu qualsevol tecla per restablir la terminal." + +#: plugins/sudoers/sudoreplay.c:1197 plugins/sudoers/sudoreplay.c:1227 +#, c-format +msgid "ambiguous expression \"%s\"" +msgstr "expressió ambigua \"%s\"" + +#: plugins/sudoers/sudoreplay.c:1249 +msgid "unmatched ')' in expression" +msgstr "')' sense concordança a l'expressió" + +#: plugins/sudoers/sudoreplay.c:1253 +#, c-format +msgid "unknown search term \"%s\"" +msgstr "terme desconegut de cerca \"%s\"" + +#: plugins/sudoers/sudoreplay.c:1268 +#, c-format +msgid "%s requires an argument" +msgstr "%s requereix un argument" + +#: plugins/sudoers/sudoreplay.c:1271 plugins/sudoers/sudoreplay.c:1523 +#, c-format +msgid "invalid regular expression: %s" +msgstr "expressió regular no vàlida: %s" + +#: plugins/sudoers/sudoreplay.c:1276 +#, c-format +msgid "could not parse date \"%s\"" +msgstr "no s'ha pogut analitzar la data \"%s\"" + +#: plugins/sudoers/sudoreplay.c:1285 +msgid "unmatched '(' in expression" +msgstr "'(' sense concordança a l'expressió" + +#: plugins/sudoers/sudoreplay.c:1287 +msgid "illegal trailing \"or\"" +msgstr "\"or\" final il·legal" + +#: plugins/sudoers/sudoreplay.c:1289 +msgid "illegal trailing \"!\"" +msgstr "\"!\" final il·legal" + +#: plugins/sudoers/sudoreplay.c:1347 +#, c-format +msgid "unknown search type %d" +msgstr "tipus desconegut de cerca %d" + +#: plugins/sudoers/sudoreplay.c:1614 +#, c-format +msgid "usage: %s [-hnRS] [-d dir] [-m num] [-s num] ID\n" +msgstr "ús: %s [-hnRS] [-d dir] [-m num] [-s num] ID\n" + +#: plugins/sudoers/sudoreplay.c:1617 +#, c-format +msgid "usage: %s [-h] [-d dir] -l [search expression]\n" +msgstr "usage: %s [-h] [-d dir] -l [cerca l'expressió]\n" + +#: plugins/sudoers/sudoreplay.c:1626 +#, c-format +msgid "" +"%s - replay sudo session logs\n" +"\n" +msgstr "" +"%s - reprodueix els registres de la sessió sudo\n" +"\n" + +#: plugins/sudoers/sudoreplay.c:1628 +msgid "" +"\n" +"Options:\n" +" -d, --directory=dir specify directory for session logs\n" +" -f, --filter=filter specify which I/O type(s) to display\n" +" -h, --help display help message and exit\n" +" -l, --list list available session IDs, with optional expression\n" +" -m, --max-wait=num max number of seconds to wait between events\n" +" -n, --non-interactive no prompts, session is sent to the standard output\n" +" -R, --no-resize do not attempt to re-size the terminal\n" +" -S, --suspend-wait wait while the command was suspended\n" +" -s, --speed=num speed up or slow down output\n" +" -V, --version display version information and exit" +msgstr "" +"\n" +"Opcions:\n" +" -d, --directori=dir especifiqueu el directori per als registres de la sessió\n" +" -f, --filter=filtre especifiqueu quin(s) tipus d'entrada/sortida mostrar\n" +" -h, --help mostra el missatge d'ajuda i surt\n" +" -l, --list mostra una llista dels IDs de les sessions\n" +" disponibles, amb expressions opcionals\n" +" -m, --max-wait=num nombre màxim de segons a esperar entre esdeveniments\n" +" -n, --non-interactive sense preguntes, la sessió s'envia a la sortida estàndard\n" +" -R, --no-resize no intentis redimensionar la terminal\n" +" -S, --suspend-wait espera mentre s'ha suspès l'ordre\n" +" -s, --speed=num accelera o alenteix la sortida\n" +" -V, --version mostra la versió d'informació i surt" + +#: plugins/sudoers/testsudoers.c:345 +msgid "\thost unmatched" +msgstr "\tamfitrió sense concordança" + +#: plugins/sudoers/testsudoers.c:348 +msgid "" +"\n" +"Command allowed" +msgstr "" +"\n" +"Ordre permesa" + +#: plugins/sudoers/testsudoers.c:349 +msgid "" +"\n" +"Command denied" +msgstr "" +"\n" +"Ordre denegada" + +#: plugins/sudoers/testsudoers.c:349 +msgid "" +"\n" +"Command unmatched" +msgstr "" +"\n" +"Ordre sense concordança" + +#: plugins/sudoers/timestamp.c:260 +#, c-format +msgid "%s is group writable" +msgstr "%s és modificable pel grup" + +#: plugins/sudoers/timestamp.c:326 plugins/sudoers/timestamp.c:661 +#, c-format +msgid "unable to truncate time stamp file to %lld bytes" +msgstr "no s'ha pogut truncar el fitxer de marca horària a %lld bytes" + +#: plugins/sudoers/timestamp.c:847 +msgid "ignoring time stamp from the future" +msgstr "s'ignorarà la marca horària del futur" + +#: plugins/sudoers/timestamp.c:870 +#, c-format +msgid "time stamp too far in the future: %20.20s" +msgstr "la marca horària està massa lluny en el futur: %20.20s" + +#: plugins/sudoers/timestamp.c:992 +#, c-format +msgid "unable to lock time stamp file %s" +msgstr "no s'ha pogut bloquejar el fitxer de marca horària %s" + +#: plugins/sudoers/timestamp.c:1036 plugins/sudoers/timestamp.c:1056 +#, c-format +msgid "lecture status path too long: %s/%s" +msgstr "el camí de la lliçó es massa llarg: %s/%s" + +#: plugins/sudoers/toke_util.c:150 +msgid "sudoedit should not be specified with a path" +msgstr "no s'hauria d'especificar el sudoedit amb un camí" + +#: plugins/sudoers/visudo.c:224 +msgid "the -x option will be removed in a future release" +msgstr "s'eliminarà l'opció -x en una versió futura" + +#: plugins/sudoers/visudo.c:226 +msgid "please consider using the cvtsudoers utility instead" +msgstr "si us plau considereu usar la utilitat cvtsudoers en canvi" + +#: plugins/sudoers/visudo.c:277 plugins/sudoers/visudo.c:653 +#, c-format +msgid "press return to edit %s: " +msgstr "prem la tecla d'introducció per editar %s: " + +#: plugins/sudoers/visudo.c:338 +#, c-format +msgid "specified editor (%s) doesn't exist" +msgstr "l'editor especificat (%s) no existeix" + +#: plugins/sudoers/visudo.c:340 +#, c-format +msgid "no editor found (editor path = %s)" +msgstr "no s'ha trobat un editor (el camí de l'editor = %s)" + +#: plugins/sudoers/visudo.c:446 plugins/sudoers/visudo.c:454 +msgid "write error" +msgstr "error d'escriptura" + +#: plugins/sudoers/visudo.c:500 +#, c-format +msgid "unable to stat temporary file (%s), %s unchanged" +msgstr "no s'ha pogut accedir al fitxer temporal (%s), no s'ha modificat %s" + +#: plugins/sudoers/visudo.c:507 +#, c-format +msgid "zero length temporary file (%s), %s unchanged" +msgstr "fitxer temporal amb longitud nul·la (%s), no s'ha modificat %s" + +#: plugins/sudoers/visudo.c:513 +#, c-format +msgid "editor (%s) failed, %s unchanged" +msgstr "l'editor (%s) ha fallat, no s'ha modificat %s" + +#: plugins/sudoers/visudo.c:535 +#, c-format +msgid "%s unchanged" +msgstr "no s'ha modificat %s" + +#: plugins/sudoers/visudo.c:592 +#, c-format +msgid "unable to re-open temporary file (%s), %s unchanged." +msgstr "no s'ha pogut reobrir el fitxer temporal (%s), no s'ha modificat %s" + +#: plugins/sudoers/visudo.c:604 +#, c-format +msgid "unable to parse temporary file (%s), unknown error" +msgstr "no es pot analitzar el fitxer temporal (%s), error desconegut" + +#: plugins/sudoers/visudo.c:642 +#, c-format +msgid "internal error, unable to find %s in list!" +msgstr "error intern, no s'ha pogut trobar %s a la llista!" + +#: plugins/sudoers/visudo.c:722 plugins/sudoers/visudo.c:731 +#, c-format +msgid "unable to set (uid, gid) of %s to (%u, %u)" +msgstr "no s'ha pogut establir (uid, gid) de %s a (%u, %u)" + +#: plugins/sudoers/visudo.c:754 +#, c-format +msgid "%s and %s not on the same file system, using mv to rename" +msgstr "%s i %s no estan al mateix sistema de fitxers, s'usarà mv per reanomenar" + +#: plugins/sudoers/visudo.c:765 +#, c-format +msgid "command failed: '%s %s %s', %s unchanged" +msgstr "l'ordre ha fallat: '%s %s %s', no s'ha modificat %s" + +#: plugins/sudoers/visudo.c:775 +#, c-format +msgid "error renaming %s, %s unchanged" +msgstr "error quan s'estava reanomenant %s, no s'ha modificat %s" + +#: plugins/sudoers/visudo.c:796 +msgid "What now? " +msgstr "Què fem ara? " + +#: plugins/sudoers/visudo.c:810 +msgid "" +"Options are:\n" +" (e)dit sudoers file again\n" +" e(x)it without saving changes to sudoers file\n" +" (Q)uit and save changes to sudoers file (DANGER!)\n" +msgstr "" +"Les opcions són:\n" +" (e)dita el fitxer sudoers un altre cop\n" +" (x) surt sense desar els canvis al fitxer sudoers\n" +" (Q) surt i desa el canvis el fitxer sudoers (PERILL!)\n" + +#: plugins/sudoers/visudo.c:856 +#, c-format +msgid "unable to run %s" +msgstr "no s'ha pogut executar %s" + +#: plugins/sudoers/visudo.c:886 +#, c-format +msgid "%s: wrong owner (uid, gid) should be (%u, %u)\n" +msgstr "%s: propietari incorrecte (uid, gid) hauria de ser (%uk, %u)\n" + +#: plugins/sudoers/visudo.c:893 +#, c-format +msgid "%s: bad permissions, should be mode 0%o\n" +msgstr "%s: permisos dolents, hauria de ser mode 0%o\n" + +#: plugins/sudoers/visudo.c:942 plugins/sudoers/visudo.c:949 +#, c-format +msgid "%s: parsed OK\n" +msgstr "%s: s'analitzat correctament\n" + +#: plugins/sudoers/visudo.c:968 +#, c-format +msgid "%s busy, try again later" +msgstr "%s està ocupat, proveu un altre cop més tard" + +#: plugins/sudoers/visudo.c:971 +#, c-format +msgid "unable to lock %s" +msgstr "no s'ha pogut bloquejar %s" + +#: plugins/sudoers/visudo.c:972 +msgid "Edit anyway? [y/N]" +msgstr "Editar igualment? [y/N]" + +#: plugins/sudoers/visudo.c:1067 +#, c-format +msgid "Warning: %s:%d:%d: unused %s \"%s\"" +msgstr "Advertiment: %s:%d:%d: no usat %s «%s»" + +#: plugins/sudoers/visudo.c:1183 +#, c-format +msgid "" +"%s - safely edit the sudoers file\n" +"\n" +msgstr "" +"%s - edita amb seguretat el fitxer sudoers\n" +"\n" + +#: plugins/sudoers/visudo.c:1185 +msgid "" +"\n" +"Options:\n" +" -c, --check check-only mode\n" +" -f, --file=sudoers specify sudoers file location\n" +" -h, --help display help message and exit\n" +" -q, --quiet less verbose (quiet) syntax error messages\n" +" -s, --strict strict syntax checking\n" +" -V, --version display version information and exit\n" +msgstr "" +"\n" +"Opcions:\n" +" -c, --check mode de sols verificació\n" +" -f, --file=sudoers especifiqueu la ubicació del fitxer sudoers\n" +" -h, --help mostra el missatge d'ajuda i surt\n" +" -q, --quiet missatges d'error de sintaxi menys informatius (silenciós)\n" +" -s, --strict verificació estricta de la sintaxi\n" +" -V, --version mostra la informació de la versió i surt\n" + +#: toke.l:187 +msgid "empty string" +msgstr "cadena buida de caràcters" + +#: toke.l:199 toke.l:503 +msgid "empty group" +msgstr "grup buit" + +#: toke.l:209 toke.l:501 +msgid "empty netgroup" +msgstr "netgroup buit" + +#: toke.l:305 toke.l:317 toke.l:329 toke.l:345 toke.l:364 toke.l:404 +msgid "invalid line continuation" +msgstr "continuació no vàlida de línia" + +#: toke.l:540 toke.l:552 +msgid "invalid IPv6 address" +msgstr "adreça IPv6 no vàlida" + +#: toke.l:779 +msgid "unexpected line break in string" +msgstr "salt inesperat de línia a la cadena de caràcters" + +#: toke.l:1109 +msgid "too many levels of includes" +msgstr "massa nivells d'inclusions" + +#~ msgid "Preload the dummy exec functions contained in the sudo_noexec library" +#~ msgstr "Pre-carrega les funcions dummy exex contingudes a la biblioteca sudo_noexec" + +#~ msgid "sudo_ldap_conf_add_ports: port too large" +#~ msgstr "sudo_ldap_conf_add_ports: el port és massa gran" + +#~ msgid "unable to lock log file: %s" +#~ msgstr "no s'ha pogut bloquejar el fitxer de registre: %s" + +#~ msgid "No user or host" +#~ msgstr "No hi ha usuari o amfitrió" + +#~ msgid "validation failure" +#~ msgstr "ha fallat la validació" + +#~ msgid "audit_failure message too long" +#~ msgstr "missatge audit_failure massa llarg" + +#~ msgid "%s/%s/timing: %s" +#~ msgstr "%s/%s/temporització: %s" + +#~ msgid "" +#~ "\n" +#~ "LDAP Role: UNKNOWN\n" +#~ msgstr "" +#~ "\n" +#~ "Rol LDAP: DESCONEGUT\n" + +#~ msgid " Order: %s\n" +#~ msgstr " Ordre: %s\n" + +#~ msgid "unable to cache user %s, out of memory" +#~ msgstr "no s'ha pogut posar l'usuari %s, s'ha exhaurit la memòria" + +#~ msgid "unable to cache group %s, out of memory" +#~ msgstr "no s'ha pogut posar el grup %s al cau, s'ha exhaurit" + +#~ msgid "unable to cache group list for %s, out of memory" +#~ msgstr "no s'ha pogut la llista de grups al cau per a %s, s'ha exhaurit la memòria" + +#~ msgid "" +#~ "\n" +#~ "SSSD Role: %s\n" +#~ msgstr "" +#~ "\n" +#~ "Rol SSDD: %s\n" + +#~ msgid "" +#~ "\n" +#~ "SSSD Role: UNKNOWN\n" +#~ msgstr "" +#~ "\n" +#~ "Rol SSSD: DESCONEGUT\n" + +#~ msgid "Warning: cycle in %s `%s'" +#~ msgstr "Advertiment: cicle a %s `%s'" + +#~ msgid "Warning: %s `%s' referenced but not defined" +#~ msgstr "Advertiment: s'ha referenciat però no s'ha definit %s `%s'" + +#~ msgid "Warning: unused %s `%s'" +#~ msgstr "Advertiment: %s `%s' sense usar" + +#~ msgid "sudo_ldap_conf_add_ports: out of space expanding hostbuf" +#~ msgstr "sudo_ldap_conf_add_ports: s'ha exhaurit l'espai quan s'estava expandint hostbuf" + +#~ msgid "sudo_ldap_parse_uri: out of space building hostbuf" +#~ msgstr "sudo_ldap_parse_uri: s'ha exhaurit l'espai construint hostbuf" + +#~ msgid "sudo_ldap_build_pass1 allocation mismatch" +#~ msgstr "discordança d'assignació de sudo_ldap_build_pass1" + +#~ msgid "timestamp path too long: %s/%s" +#~ msgstr "el camí de la marca horària és massa llarg: %s/%s" + +#~ msgid "unable to stat editor (%s)" +#~ msgstr "no s'ha pogut accedir l'editor (%s)" + +#~ msgid "internal error: insufficient space for log line" +#~ msgstr "error intern: espai insuficient per a la línia de registre" + +#~ msgid "fill_args: buffer overflow" +#~ msgstr "fill_args: desbordament de la memòria intermèdia" diff --git a/plugins/sudoers/po/cs.mo b/plugins/sudoers/po/cs.mo new file mode 100644 index 0000000..8f94264 Binary files /dev/null and b/plugins/sudoers/po/cs.mo differ diff --git a/plugins/sudoers/po/cs.po b/plugins/sudoers/po/cs.po new file mode 100644 index 0000000..ebcbd88 --- /dev/null +++ b/plugins/sudoers/po/cs.po @@ -0,0 +1,4084 @@ +# Czech translation for sudo. +# This file is distributed under the same license as the sudo package. +# Todd C. Miller , 2011-2013 +# Petr Pisar , 2013, 2014, 2015, 2016, 2017, 2018, 2019. +# Petr Pisar , 2020, 2021, 2022, 2023. +# +# (AIX) registry → (AIXový) registr +# I/O (log) → I/O (log) +# timestamp → časové údaje +# +msgid "" +msgstr "" +"Project-Id-Version: sudoers 1.9.13b2\n" +"Report-Msgid-Bugs-To: https://bugzilla.sudo.ws\n" +"POT-Creation-Date: 2023-01-24 13:11-0700\n" +"PO-Revision-Date: 2023-01-26 21:43+01:00\n" +"Last-Translator: Petr Pisar \n" +"Language-Team: Czech \n" +"Language: cs\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#: confstr.sh:1 gram.y:1220 plugins/sudoers/logging.c:866 +msgid "syntax error" +msgstr "chyba syntaxe" + +#: confstr.sh:2 +msgid "%p's password: " +msgstr "Heslo pro %p: " + +#: confstr.sh:3 +msgid "[sudo] password for %p: " +msgstr "[sudo] heslo pro %p: " + +#: confstr.sh:4 +msgid "Password: " +msgstr "Heslo: " + +#: confstr.sh:5 +msgid "*** SECURITY information for %h ***" +msgstr "*** BEZPEČNOSTNÍ hlášení o %h ***" + +#: confstr.sh:6 +msgid "Sorry, try again." +msgstr "Je nám líto, zkuste to znovu." + +#: gram.y:237 gram.y:304 gram.y:313 gram.y:322 gram.y:332 gram.y:342 +#: gram.y:366 gram.y:393 gram.y:402 gram.y:410 gram.y:419 gram.y:428 +#: gram.y:502 gram.y:512 gram.y:524 gram.y:572 gram.y:581 gram.y:590 +#: gram.y:599 gram.y:731 gram.y:739 gram.y:750 gram.y:762 gram.y:781 +#: gram.y:944 gram.y:949 gram.y:957 gram.y:971 gram.y:977 gram.y:1099 +#: gram.y:1108 gram.y:1116 gram.y:1125 gram.y:1134 gram.y:1163 gram.y:1172 +#: gram.y:1180 gram.y:1280 gram.y:1410 gram.y:1777 gram.y:1827 +#: lib/eventlog/eventlog.c:235 lib/eventlog/eventlog.c:312 +#: lib/eventlog/eventlog.c:757 lib/eventlog/eventlog.c:834 +#: lib/eventlog/eventlog.c:1135 lib/iolog/iolog_filter.c:142 +#: lib/iolog/iolog_filter.c:202 lib/iolog/iolog_filter.c:233 +#: lib/iolog/iolog_json.c:150 lib/iolog/iolog_json.c:382 +#: lib/iolog/iolog_json.c:412 lib/iolog/iolog_legacy.c:100 +#: lib/iolog/iolog_legacy.c:111 lib/iolog/iolog_legacy.c:123 +#: lib/iolog/iolog_legacy.c:133 lib/iolog/iolog_legacy.c:139 +#: lib/iolog/iolog_loginfo.c:76 lib/iolog/iolog_loginfo.c:212 +#: logsrvd/iolog_writer.c:95 logsrvd/iolog_writer.c:100 +#: logsrvd/iolog_writer.c:134 logsrvd/iolog_writer.c:182 +#: logsrvd/iolog_writer.c:215 logsrvd/iolog_writer.c:225 +#: logsrvd/iolog_writer.c:254 logsrvd/iolog_writer.c:275 +#: logsrvd/iolog_writer.c:287 logsrvd/iolog_writer.c:297 +#: logsrvd/iolog_writer.c:307 logsrvd/iolog_writer.c:317 +#: logsrvd/iolog_writer.c:329 logsrvd/iolog_writer.c:364 +#: logsrvd/iolog_writer.c:370 logsrvd/iolog_writer.c:377 +#: logsrvd/iolog_writer.c:383 logsrvd/iolog_writer.c:567 +#: logsrvd/logsrv_util.c:69 logsrvd/logsrvd.c:301 logsrvd/logsrvd.c:310 +#: logsrvd/logsrvd.c:1050 logsrvd/logsrvd.c:1113 logsrvd/logsrvd.c:1582 +#: logsrvd/logsrvd.c:1587 logsrvd/logsrvd.c:1771 logsrvd/logsrvd.c:1988 +#: logsrvd/logsrvd_conf.c:357 logsrvd/logsrvd_conf.c:370 +#: logsrvd/logsrvd_conf.c:511 logsrvd/logsrvd_conf.c:534 +#: logsrvd/logsrvd_conf.c:538 logsrvd/logsrvd_conf.c:556 +#: logsrvd/logsrvd_conf.c:626 logsrvd/logsrvd_conf.c:650 +#: logsrvd/logsrvd_conf.c:678 logsrvd/logsrvd_conf.c:692 +#: logsrvd/logsrvd_conf.c:706 logsrvd/logsrvd_conf.c:720 +#: logsrvd/logsrvd_conf.c:734 logsrvd/logsrvd_conf.c:748 +#: logsrvd/logsrvd_conf.c:829 logsrvd/logsrvd_conf.c:1036 +#: logsrvd/logsrvd_conf.c:1053 logsrvd/logsrvd_conf.c:1448 +#: logsrvd/logsrvd_conf.c:1595 logsrvd/logsrvd_conf.c:1621 +#: logsrvd/logsrvd_conf.c:1633 logsrvd/logsrvd_conf.c:1640 +#: logsrvd/logsrvd_conf.c:1646 logsrvd/logsrvd_conf.c:1743 +#: logsrvd/logsrvd_journal.c:76 logsrvd/logsrvd_journal.c:216 +#: logsrvd/logsrvd_journal.c:217 logsrvd/logsrvd_journal.c:273 +#: logsrvd/logsrvd_journal.c:433 logsrvd/logsrvd_journal.c:435 +#: logsrvd/logsrvd_local.c:215 logsrvd/logsrvd_local.c:216 +#: logsrvd/logsrvd_local.c:278 logsrvd/logsrvd_local.c:279 +#: logsrvd/logsrvd_local.c:417 logsrvd/logsrvd_local.c:466 +#: logsrvd/logsrvd_local.c:467 logsrvd/logsrvd_local.c:472 +#: logsrvd/logsrvd_local.c:473 logsrvd/logsrvd_queue.c:159 +#: logsrvd/logsrvd_queue.c:189 logsrvd/logsrvd_queue.c:266 +#: logsrvd/logsrvd_relay.c:444 logsrvd/logsrvd_relay.c:743 +#: logsrvd/logsrvd_relay.c:850 logsrvd/sendlog.c:251 logsrvd/sendlog.c:260 +#: logsrvd/sendlog.c:291 logsrvd/sendlog.c:338 logsrvd/sendlog.c:615 +#: logsrvd/sendlog.c:1801 plugins/sudoers/audit.c:116 +#: plugins/sudoers/auth/bsdauth.c:150 plugins/sudoers/auth/kerb5.c:121 +#: plugins/sudoers/auth/kerb5.c:148 plugins/sudoers/auth/pam.c:687 +#: plugins/sudoers/auth/rfc1938.c:111 plugins/sudoers/auth/sia.c:59 +#: plugins/sudoers/check_aliases.c:168 plugins/sudoers/cvtsudoers.c:131 +#: plugins/sudoers/cvtsudoers.c:175 plugins/sudoers/cvtsudoers.c:192 +#: plugins/sudoers/cvtsudoers.c:203 plugins/sudoers/cvtsudoers.c:333 +#: plugins/sudoers/cvtsudoers.c:372 plugins/sudoers/cvtsudoers.c:392 +#: plugins/sudoers/cvtsudoers.c:537 plugins/sudoers/cvtsudoers.c:670 +#: plugins/sudoers/cvtsudoers.c:688 plugins/sudoers/cvtsudoers.c:862 +#: plugins/sudoers/cvtsudoers.c:870 plugins/sudoers/cvtsudoers.c:1365 +#: plugins/sudoers/cvtsudoers.c:1369 plugins/sudoers/cvtsudoers.c:1471 +#: plugins/sudoers/cvtsudoers_csv.c:183 plugins/sudoers/cvtsudoers_csv.c:246 +#: plugins/sudoers/cvtsudoers_json.c:76 plugins/sudoers/cvtsudoers_ldif.c:151 +#: plugins/sudoers/cvtsudoers_ldif.c:194 plugins/sudoers/cvtsudoers_ldif.c:235 +#: plugins/sudoers/cvtsudoers_ldif.c:300 plugins/sudoers/cvtsudoers_ldif.c:376 +#: plugins/sudoers/cvtsudoers_ldif.c:430 plugins/sudoers/cvtsudoers_ldif.c:438 +#: plugins/sudoers/cvtsudoers_ldif.c:449 plugins/sudoers/cvtsudoers_ldif.c:456 +#: plugins/sudoers/cvtsudoers_ldif.c:468 plugins/sudoers/cvtsudoers_ldif.c:481 +#: plugins/sudoers/cvtsudoers_ldif.c:489 plugins/sudoers/cvtsudoers_ldif.c:636 +#: plugins/sudoers/cvtsudoers_merge.c:47 plugins/sudoers/cvtsudoers_merge.c:52 +#: plugins/sudoers/cvtsudoers_merge.c:353 +#: plugins/sudoers/cvtsudoers_merge.c:399 +#: plugins/sudoers/cvtsudoers_merge.c:446 +#: plugins/sudoers/cvtsudoers_merge.c:467 +#: plugins/sudoers/cvtsudoers_merge.c:553 +#: plugins/sudoers/cvtsudoers_merge.c:564 +#: plugins/sudoers/cvtsudoers_merge.c:633 +#: plugins/sudoers/cvtsudoers_merge.c:1158 +#: plugins/sudoers/cvtsudoers_merge.c:1231 plugins/sudoers/defaults.c:434 +#: plugins/sudoers/defaults.c:658 plugins/sudoers/defaults.c:1019 +#: plugins/sudoers/defaults.c:1187 plugins/sudoers/editor.c:197 +#: plugins/sudoers/env.c:263 plugins/sudoers/exptilde.c:92 +#: plugins/sudoers/filedigest.c:54 plugins/sudoers/filedigest.c:70 +#: plugins/sudoers/gc.c:57 plugins/sudoers/group_plugin.c:212 +#: plugins/sudoers/interfaces.c:68 plugins/sudoers/iolog.c:268 +#: plugins/sudoers/iolog.c:668 plugins/sudoers/iolog.c:694 +#: plugins/sudoers/ldap.c:184 plugins/sudoers/ldap.c:466 +#: plugins/sudoers/ldap.c:757 plugins/sudoers/ldap.c:921 +#: plugins/sudoers/ldap.c:1337 plugins/sudoers/ldap.c:1763 +#: plugins/sudoers/ldap.c:1800 plugins/sudoers/ldap.c:2016 +#: plugins/sudoers/ldap.c:2117 plugins/sudoers/ldap.c:2133 +#: plugins/sudoers/ldap_conf.c:218 plugins/sudoers/ldap_conf.c:250 +#: plugins/sudoers/ldap_conf.c:302 plugins/sudoers/ldap_conf.c:338 +#: plugins/sudoers/ldap_conf.c:444 plugins/sudoers/ldap_conf.c:459 +#: plugins/sudoers/ldap_conf.c:564 plugins/sudoers/ldap_conf.c:597 +#: plugins/sudoers/ldap_conf.c:689 plugins/sudoers/ldap_conf.c:771 +#: plugins/sudoers/ldap_util.c:294 plugins/sudoers/ldap_util.c:301 +#: plugins/sudoers/ldap_util.c:614 plugins/sudoers/linux_audit.c:86 +#: plugins/sudoers/log_client.c:117 plugins/sudoers/log_client.c:402 +#: plugins/sudoers/log_client.c:715 plugins/sudoers/log_client.c:736 +#: plugins/sudoers/log_client.c:1415 plugins/sudoers/log_client.c:1536 +#: plugins/sudoers/log_client.c:1636 plugins/sudoers/log_client.c:1972 +#: plugins/sudoers/log_client.c:2031 plugins/sudoers/logging.c:110 +#: plugins/sudoers/logging.c:189 plugins/sudoers/logging.c:457 +#: plugins/sudoers/logging.c:672 plugins/sudoers/logging.c:809 +#: plugins/sudoers/match_command.c:335 plugins/sudoers/match_command.c:603 +#: plugins/sudoers/match_command.c:654 plugins/sudoers/match_command.c:728 +#: plugins/sudoers/match_command.c:776 plugins/sudoers/match_digest.c:93 +#: plugins/sudoers/parse.c:267 plugins/sudoers/parse.c:284 +#: plugins/sudoers/parse.c:303 plugins/sudoers/parse.c:322 +#: plugins/sudoers/parse.c:339 plugins/sudoers/parse.c:362 +#: plugins/sudoers/parse.c:373 plugins/sudoers/parse_ldif.c:153 +#: plugins/sudoers/parse_ldif.c:184 plugins/sudoers/parse_ldif.c:253 +#: plugins/sudoers/parse_ldif.c:261 plugins/sudoers/parse_ldif.c:266 +#: plugins/sudoers/parse_ldif.c:342 plugins/sudoers/parse_ldif.c:353 +#: plugins/sudoers/parse_ldif.c:380 plugins/sudoers/parse_ldif.c:397 +#: plugins/sudoers/parse_ldif.c:409 plugins/sudoers/parse_ldif.c:413 +#: plugins/sudoers/parse_ldif.c:427 plugins/sudoers/parse_ldif.c:484 +#: plugins/sudoers/parse_ldif.c:598 plugins/sudoers/parse_ldif.c:628 +#: plugins/sudoers/parse_ldif.c:653 plugins/sudoers/parse_ldif.c:711 +#: plugins/sudoers/parse_ldif.c:728 plugins/sudoers/parse_ldif.c:756 +#: plugins/sudoers/parse_ldif.c:763 plugins/sudoers/policy.c:626 +#: plugins/sudoers/policy.c:1033 plugins/sudoers/prompt.c:93 +#: plugins/sudoers/pwutil.c:199 plugins/sudoers/pwutil.c:270 +#: plugins/sudoers/pwutil.c:348 plugins/sudoers/pwutil.c:522 +#: plugins/sudoers/pwutil.c:587 plugins/sudoers/pwutil.c:659 +#: plugins/sudoers/pwutil.c:857 plugins/sudoers/pwutil.c:945 +#: plugins/sudoers/pwutil.c:993 plugins/sudoers/pwutil.c:1052 +#: plugins/sudoers/sssd.c:145 plugins/sudoers/sssd.c:185 +#: plugins/sudoers/sssd.c:414 plugins/sudoers/sssd.c:479 +#: plugins/sudoers/sssd.c:505 plugins/sudoers/sssd.c:568 +#: plugins/sudoers/sssd.c:761 plugins/sudoers/strvec_join.c:53 +#: plugins/sudoers/stubs.c:112 plugins/sudoers/stubs.c:120 +#: plugins/sudoers/sudoers.c:354 plugins/sudoers/sudoers.c:380 +#: plugins/sudoers/sudoers.c:447 plugins/sudoers/sudoers.c:464 +#: plugins/sudoers/sudoers.c:505 plugins/sudoers/sudoers.c:849 +#: plugins/sudoers/sudoers.c:902 plugins/sudoers/sudoers.c:1054 +#: plugins/sudoers/sudoers.c:1114 plugins/sudoers/sudoers.c:1369 +#: plugins/sudoers/sudoreplay.c:559 plugins/sudoers/sudoreplay.c:562 +#: plugins/sudoers/sudoreplay.c:1278 plugins/sudoers/sudoreplay.c:1334 +#: plugins/sudoers/sudoreplay.c:1530 plugins/sudoers/sudoreplay.c:1534 +#: plugins/sudoers/testsudoers.c:120 plugins/sudoers/testsudoers.c:224 +#: plugins/sudoers/testsudoers.c:241 plugins/sudoers/testsudoers.c:588 +#: plugins/sudoers/timestamp.c:451 plugins/sudoers/timestamp.c:495 +#: plugins/sudoers/timestamp.c:1017 plugins/sudoers/timestamp.c:1146 +#: plugins/sudoers/toke_util.c:78 plugins/sudoers/toke_util.c:106 +#: plugins/sudoers/toke_util.c:131 plugins/sudoers/toke_util.c:161 +#: plugins/sudoers/toke_util.c:200 plugins/sudoers/tsdump.c:123 +#: plugins/sudoers/visudo.c:150 plugins/sudoers/visudo.c:385 +#: plugins/sudoers/visudo.c:391 plugins/sudoers/visudo.c:502 +#: plugins/sudoers/visudo.c:1056 toke.l:1031 toke.l:1163 toke.l:1234 +msgid "unable to allocate memory" +msgstr "nelze alokovat paměť" + +#: gram.y:623 +msgid "a digest requires a path name" +msgstr "kontrolní součet vyžaduje název cesty" + +#: gram.y:645 +msgid "values for \"CWD\" must start with a '/', '~', or '*'" +msgstr "hodnoty „CWD“ musí začínat na „/“, „~“ nebo „*“" + +#: gram.y:651 +msgid "\"CWD\" path too long" +msgstr "cesta „CWD“ je příliš dlouhá" + +#: gram.y:661 +msgid "values for \"CHROOT\" must start with a '/', '~', or '*'" +msgstr "hodnoty „CHROOT“ musí začínat na „/“, „~“ nebo „*“" + +#: gram.y:667 +msgid "\"CHROOT\" path too long" +msgstr "cesta „CHROOT“ je příliš dlouhá" + +#: gram.y:802 +#, c-format +msgid "syntax error, reserved word %s used as an alias name" +msgstr "chyba syntaxe, vyhrazené slovo %s použito jako název aliasu" + +#: gram.y:825 +msgid "invalid notbefore value" +msgstr "neplatná hodnota notbefore (začátek platnosti)" + +#: gram.y:834 +msgid "invalid notafter value" +msgstr "neplatná hodnota notafter (konec platnosti)" + +#: gram.y:844 plugins/sudoers/policy.c:385 +msgid "timeout value too large" +msgstr "hodnota časového limitu je příliš velká" + +#: gram.y:846 plugins/sudoers/policy.c:387 +msgid "invalid timeout value" +msgstr "neplatná hodnota časového limitu" + +#: gram.y:967 plugins/sudoers/sudoers.c:1072 +msgid "command too long" +msgstr "příkaz je příliš dlouhý" + +#: gram.y:1224 plugins/sudoers/check_aliases.c:96 +#: plugins/sudoers/defaults.c:1276 +#, c-format +msgid "%s:%d:%d: %s\n" +msgstr "%s:%d:%d: %s\n" + +#: gram.y:1278 +#, c-format +msgid "Alias \"%s\" already defined" +msgstr "Alias „%s“ je již definován" + +#: gram.y:1777 gram.y:1827 lib/eventlog/eventlog.c:235 +#: lib/eventlog/eventlog.c:757 lib/eventlog/eventlog.c:830 +#: lib/eventlog/eventlog.c:833 lib/eventlog/eventlog.c:1135 +#: lib/iolog/iolog_filter.c:142 lib/iolog/iolog_filter.c:202 +#: lib/iolog/iolog_filter.c:232 lib/iolog/iolog_json.c:150 +#: lib/iolog/iolog_json.c:381 lib/iolog/iolog_json.c:412 +#: lib/iolog/iolog_legacy.c:100 lib/iolog/iolog_legacy.c:111 +#: lib/iolog/iolog_legacy.c:123 lib/iolog/iolog_legacy.c:133 +#: lib/iolog/iolog_legacy.c:139 lib/iolog/iolog_loginfo.c:76 +#: lib/iolog/iolog_loginfo.c:212 logsrvd/iolog_writer.c:95 +#: logsrvd/iolog_writer.c:100 logsrvd/iolog_writer.c:134 +#: logsrvd/iolog_writer.c:171 logsrvd/iolog_writer.c:181 +#: logsrvd/iolog_writer.c:194 logsrvd/iolog_writer.c:214 +#: logsrvd/iolog_writer.c:224 logsrvd/iolog_writer.c:243 +#: logsrvd/iolog_writer.c:253 logsrvd/iolog_writer.c:264 +#: logsrvd/iolog_writer.c:274 logsrvd/iolog_writer.c:286 +#: logsrvd/iolog_writer.c:296 logsrvd/iolog_writer.c:306 +#: logsrvd/iolog_writer.c:316 logsrvd/iolog_writer.c:328 +#: logsrvd/iolog_writer.c:364 logsrvd/iolog_writer.c:370 +#: logsrvd/iolog_writer.c:377 logsrvd/iolog_writer.c:383 +#: logsrvd/iolog_writer.c:567 logsrvd/logsrv_util.c:69 logsrvd/logsrvd.c:301 +#: logsrvd/logsrvd.c:310 logsrvd/logsrvd.c:453 logsrvd/logsrvd.c:490 +#: logsrvd/logsrvd.c:522 logsrvd/logsrvd.c:576 logsrvd/logsrvd.c:611 +#: logsrvd/logsrvd.c:660 logsrvd/logsrvd.c:696 logsrvd/logsrvd.c:732 +#: logsrvd/logsrvd.c:1124 logsrvd/logsrvd.c:1439 logsrvd/logsrvd.c:1446 +#: logsrvd/logsrvd.c:1582 logsrvd/logsrvd.c:1587 logsrvd/logsrvd.c:1771 +#: logsrvd/logsrvd.c:1988 logsrvd/logsrvd_conf.c:357 +#: logsrvd/logsrvd_conf.c:370 logsrvd/logsrvd_conf.c:511 +#: logsrvd/logsrvd_conf.c:534 logsrvd/logsrvd_conf.c:538 +#: logsrvd/logsrvd_conf.c:556 logsrvd/logsrvd_conf.c:626 +#: logsrvd/logsrvd_conf.c:649 logsrvd/logsrvd_conf.c:678 +#: logsrvd/logsrvd_conf.c:692 logsrvd/logsrvd_conf.c:706 +#: logsrvd/logsrvd_conf.c:720 logsrvd/logsrvd_conf.c:734 +#: logsrvd/logsrvd_conf.c:748 logsrvd/logsrvd_conf.c:829 +#: logsrvd/logsrvd_conf.c:1036 logsrvd/logsrvd_conf.c:1053 +#: logsrvd/logsrvd_conf.c:1448 logsrvd/logsrvd_conf.c:1595 +#: logsrvd/logsrvd_conf.c:1621 logsrvd/logsrvd_conf.c:1633 +#: logsrvd/logsrvd_conf.c:1640 logsrvd/logsrvd_conf.c:1646 +#: logsrvd/logsrvd_conf.c:1742 logsrvd/logsrvd_journal.c:76 +#: logsrvd/logsrvd_journal.c:125 logsrvd/logsrvd_journal.c:216 +#: logsrvd/logsrvd_journal.c:246 logsrvd/logsrvd_journal.c:250 +#: logsrvd/logsrvd_journal.c:258 logsrvd/logsrvd_journal.c:281 +#: logsrvd/logsrvd_journal.c:285 logsrvd/logsrvd_journal.c:433 +#: logsrvd/logsrvd_local.c:215 logsrvd/logsrvd_local.c:278 +#: logsrvd/logsrvd_local.c:466 logsrvd/logsrvd_local.c:472 +#: logsrvd/logsrvd_local.c:491 logsrvd/logsrvd_queue.c:158 +#: logsrvd/logsrvd_queue.c:189 logsrvd/logsrvd_queue.c:266 +#: logsrvd/sendlog.c:251 logsrvd/sendlog.c:260 logsrvd/sendlog.c:291 +#: logsrvd/sendlog.c:338 logsrvd/sendlog.c:615 logsrvd/sendlog.c:1503 +#: logsrvd/sendlog.c:1510 logsrvd/sendlog.c:1733 logsrvd/sendlog.c:1801 +#: logsrvd/tls_init.c:305 logsrvd/tls_init.c:329 logsrvd/tls_init.c:340 +#: plugins/sudoers/audit.c:116 plugins/sudoers/auth/pam.c:502 +#: plugins/sudoers/auth/pam.c:687 plugins/sudoers/auth/rfc1938.c:111 +#: plugins/sudoers/check_aliases.c:168 plugins/sudoers/cvtsudoers.c:131 +#: plugins/sudoers/cvtsudoers.c:174 plugins/sudoers/cvtsudoers.c:191 +#: plugins/sudoers/cvtsudoers.c:202 plugins/sudoers/cvtsudoers.c:332 +#: plugins/sudoers/cvtsudoers.c:536 plugins/sudoers/cvtsudoers.c:669 +#: plugins/sudoers/cvtsudoers.c:687 plugins/sudoers/cvtsudoers.c:862 +#: plugins/sudoers/cvtsudoers.c:869 plugins/sudoers/cvtsudoers.c:1365 +#: plugins/sudoers/cvtsudoers.c:1369 plugins/sudoers/cvtsudoers.c:1471 +#: plugins/sudoers/cvtsudoers_csv.c:182 plugins/sudoers/cvtsudoers_csv.c:245 +#: plugins/sudoers/cvtsudoers_json.c:75 plugins/sudoers/cvtsudoers_ldif.c:150 +#: plugins/sudoers/cvtsudoers_ldif.c:193 plugins/sudoers/cvtsudoers_ldif.c:234 +#: plugins/sudoers/cvtsudoers_ldif.c:299 plugins/sudoers/cvtsudoers_ldif.c:375 +#: plugins/sudoers/cvtsudoers_ldif.c:429 plugins/sudoers/cvtsudoers_ldif.c:437 +#: plugins/sudoers/cvtsudoers_ldif.c:448 plugins/sudoers/cvtsudoers_ldif.c:455 +#: plugins/sudoers/cvtsudoers_ldif.c:467 plugins/sudoers/cvtsudoers_ldif.c:480 +#: plugins/sudoers/cvtsudoers_ldif.c:488 plugins/sudoers/cvtsudoers_ldif.c:635 +#: plugins/sudoers/cvtsudoers_merge.c:47 plugins/sudoers/cvtsudoers_merge.c:51 +#: plugins/sudoers/cvtsudoers_merge.c:353 +#: plugins/sudoers/cvtsudoers_merge.c:399 +#: plugins/sudoers/cvtsudoers_merge.c:445 +#: plugins/sudoers/cvtsudoers_merge.c:466 +#: plugins/sudoers/cvtsudoers_merge.c:553 +#: plugins/sudoers/cvtsudoers_merge.c:561 +#: plugins/sudoers/cvtsudoers_merge.c:564 +#: plugins/sudoers/cvtsudoers_merge.c:630 +#: plugins/sudoers/cvtsudoers_merge.c:633 +#: plugins/sudoers/cvtsudoers_merge.c:1157 +#: plugins/sudoers/cvtsudoers_merge.c:1231 plugins/sudoers/defaults.c:434 +#: plugins/sudoers/defaults.c:658 plugins/sudoers/defaults.c:1019 +#: plugins/sudoers/defaults.c:1187 plugins/sudoers/editor.c:197 +#: plugins/sudoers/env.c:263 plugins/sudoers/exptilde.c:92 +#: plugins/sudoers/filedigest.c:54 plugins/sudoers/filedigest.c:70 +#: plugins/sudoers/gc.c:57 plugins/sudoers/group_plugin.c:211 +#: plugins/sudoers/interfaces.c:68 plugins/sudoers/iolog.c:268 +#: plugins/sudoers/iolog.c:668 plugins/sudoers/iolog.c:694 +#: plugins/sudoers/ldap.c:184 plugins/sudoers/ldap.c:466 +#: plugins/sudoers/ldap.c:757 plugins/sudoers/ldap.c:921 +#: plugins/sudoers/ldap.c:1337 plugins/sudoers/ldap.c:1763 +#: plugins/sudoers/ldap.c:1800 plugins/sudoers/ldap.c:2016 +#: plugins/sudoers/ldap.c:2117 plugins/sudoers/ldap.c:2133 +#: plugins/sudoers/ldap_conf.c:218 plugins/sudoers/ldap_conf.c:250 +#: plugins/sudoers/ldap_conf.c:302 plugins/sudoers/ldap_conf.c:338 +#: plugins/sudoers/ldap_conf.c:444 plugins/sudoers/ldap_conf.c:459 +#: plugins/sudoers/ldap_conf.c:564 plugins/sudoers/ldap_conf.c:597 +#: plugins/sudoers/ldap_conf.c:688 plugins/sudoers/ldap_conf.c:771 +#: plugins/sudoers/ldap_util.c:293 plugins/sudoers/ldap_util.c:300 +#: plugins/sudoers/ldap_util.c:614 plugins/sudoers/linux_audit.c:86 +#: plugins/sudoers/log_client.c:117 plugins/sudoers/log_client.c:228 +#: plugins/sudoers/log_client.c:250 plugins/sudoers/log_client.c:264 +#: plugins/sudoers/log_client.c:402 plugins/sudoers/log_client.c:715 +#: plugins/sudoers/log_client.c:736 plugins/sudoers/log_client.c:1415 +#: plugins/sudoers/log_client.c:1536 plugins/sudoers/log_client.c:1636 +#: plugins/sudoers/log_client.c:1972 plugins/sudoers/log_client.c:2031 +#: plugins/sudoers/logging.c:110 plugins/sudoers/logging.c:188 +#: plugins/sudoers/logging.c:189 plugins/sudoers/logging.c:457 +#: plugins/sudoers/logging.c:672 plugins/sudoers/logging.c:809 +#: plugins/sudoers/logging.c:880 plugins/sudoers/logging.c:892 +#: plugins/sudoers/match_command.c:334 plugins/sudoers/match_command.c:602 +#: plugins/sudoers/match_command.c:653 plugins/sudoers/match_command.c:728 +#: plugins/sudoers/match_command.c:775 plugins/sudoers/match_digest.c:93 +#: plugins/sudoers/parse.c:266 plugins/sudoers/parse.c:283 +#: plugins/sudoers/parse.c:302 plugins/sudoers/parse.c:321 +#: plugins/sudoers/parse.c:338 plugins/sudoers/parse.c:361 +#: plugins/sudoers/parse.c:372 plugins/sudoers/parse_ldif.c:152 +#: plugins/sudoers/parse_ldif.c:183 plugins/sudoers/parse_ldif.c:252 +#: plugins/sudoers/parse_ldif.c:260 plugins/sudoers/parse_ldif.c:265 +#: plugins/sudoers/parse_ldif.c:341 plugins/sudoers/parse_ldif.c:352 +#: plugins/sudoers/parse_ldif.c:379 plugins/sudoers/parse_ldif.c:396 +#: plugins/sudoers/parse_ldif.c:408 plugins/sudoers/parse_ldif.c:412 +#: plugins/sudoers/parse_ldif.c:426 plugins/sudoers/parse_ldif.c:484 +#: plugins/sudoers/parse_ldif.c:598 plugins/sudoers/parse_ldif.c:627 +#: plugins/sudoers/parse_ldif.c:652 plugins/sudoers/parse_ldif.c:710 +#: plugins/sudoers/parse_ldif.c:727 plugins/sudoers/parse_ldif.c:755 +#: plugins/sudoers/parse_ldif.c:762 plugins/sudoers/policy.c:154 +#: plugins/sudoers/policy.c:163 plugins/sudoers/policy.c:172 +#: plugins/sudoers/policy.c:201 plugins/sudoers/policy.c:370 +#: plugins/sudoers/policy.c:385 plugins/sudoers/policy.c:387 +#: plugins/sudoers/policy.c:425 plugins/sudoers/policy.c:434 +#: plugins/sudoers/policy.c:482 plugins/sudoers/policy.c:492 +#: plugins/sudoers/policy.c:501 plugins/sudoers/policy.c:510 +#: plugins/sudoers/policy.c:519 plugins/sudoers/policy.c:626 +#: plugins/sudoers/policy.c:1033 plugins/sudoers/prompt.c:93 +#: plugins/sudoers/pwutil.c:199 plugins/sudoers/pwutil.c:270 +#: plugins/sudoers/pwutil.c:348 plugins/sudoers/pwutil.c:522 +#: plugins/sudoers/pwutil.c:587 plugins/sudoers/pwutil.c:659 +#: plugins/sudoers/pwutil.c:857 plugins/sudoers/pwutil.c:945 +#: plugins/sudoers/pwutil.c:993 plugins/sudoers/pwutil.c:1052 +#: plugins/sudoers/set_perms.c:363 plugins/sudoers/set_perms.c:706 +#: plugins/sudoers/set_perms.c:1073 plugins/sudoers/set_perms.c:1380 +#: plugins/sudoers/set_perms.c:1549 plugins/sudoers/sssd.c:144 +#: plugins/sudoers/sssd.c:185 plugins/sudoers/sssd.c:414 +#: plugins/sudoers/sssd.c:479 plugins/sudoers/sssd.c:505 +#: plugins/sudoers/sssd.c:568 plugins/sudoers/sssd.c:761 +#: plugins/sudoers/strvec_join.c:53 plugins/sudoers/stubs.c:112 +#: plugins/sudoers/stubs.c:120 plugins/sudoers/sudoers.c:354 +#: plugins/sudoers/sudoers.c:380 plugins/sudoers/sudoers.c:447 +#: plugins/sudoers/sudoers.c:464 plugins/sudoers/sudoers.c:505 +#: plugins/sudoers/sudoers.c:849 plugins/sudoers/sudoers.c:902 +#: plugins/sudoers/sudoers.c:1054 plugins/sudoers/sudoers.c:1114 +#: plugins/sudoers/sudoers.c:1369 plugins/sudoers/sudoreplay.c:559 +#: plugins/sudoers/sudoreplay.c:562 plugins/sudoers/sudoreplay.c:1278 +#: plugins/sudoers/sudoreplay.c:1334 plugins/sudoers/sudoreplay.c:1530 +#: plugins/sudoers/sudoreplay.c:1534 plugins/sudoers/testsudoers.c:120 +#: plugins/sudoers/testsudoers.c:224 plugins/sudoers/testsudoers.c:241 +#: plugins/sudoers/testsudoers.c:588 plugins/sudoers/timestamp.c:451 +#: plugins/sudoers/timestamp.c:495 plugins/sudoers/timestamp.c:1017 +#: plugins/sudoers/timestamp.c:1146 plugins/sudoers/toke_util.c:78 +#: plugins/sudoers/toke_util.c:106 plugins/sudoers/toke_util.c:131 +#: plugins/sudoers/toke_util.c:160 plugins/sudoers/toke_util.c:200 +#: plugins/sudoers/tsdump.c:123 plugins/sudoers/visudo.c:150 +#: plugins/sudoers/visudo.c:385 plugins/sudoers/visudo.c:391 +#: plugins/sudoers/visudo.c:502 plugins/sudoers/visudo.c:1056 toke.l:1031 +#: toke.l:1163 toke.l:1226 toke.l:1234 +#, c-format +msgid "%s: %s" +msgstr "%s: %s" + +#: lib/eventlog/eventlog.c:303 +#, c-format +msgid "unable to dup stdin: %m" +msgstr "nelze zdvojit standardní vstup: %m" + +#: lib/eventlog/eventlog.c:345 +#, c-format +msgid "unable to execute %s: %m" +msgstr "nelze spustit %s: %m" + +#: lib/eventlog/eventlog.c:393 plugins/sudoers/auth/aix_auth.c:198 +msgid "unable to fork" +msgstr "nelze vytvořit proces" + +#: lib/eventlog/eventlog.c:403 lib/eventlog/eventlog.c:468 +#, c-format +msgid "unable to fork: %m" +msgstr "nelze vytvořit proces: %m" + +#: lib/eventlog/eventlog.c:458 +#, c-format +msgid "unable to open pipe: %m" +msgstr "nelze otevřít rouru: %m" + +#: lib/eventlog/eventlog.c:960 +#, c-format +msgid "%8s : %s" +msgstr "%8s : %s" + +#: lib/eventlog/eventlog.c:989 +#, c-format +msgid "%8s : (command continued) %s" +msgstr "%8s : (příkaz pokračuje) %s" + +#: lib/iolog/iolog_filter.c:133 plugins/sudoers/defaults.c:1242 +#: plugins/sudoers/sudoreplay.c:1290 plugins/sudoers/sudoreplay.c:1586 +#, c-format +msgid "invalid regular expression \"%s\": %s" +msgstr "neplatný regulární výraz „%s“: %s" + +#: lib/iolog/iolog_json.c:140 +#, c-format +msgid "expected JSON_STRING, got %d" +msgstr "očekáván JSON_STRING, obdrženo %d" + +#: lib/iolog/iolog_json.c:145 +msgid "JSON_ARRAY too large" +msgstr "JSON_ARRAY je příliš velké" + +#: lib/iolog/iolog_json.c:404 +msgid "missing double quote in name" +msgstr "v názvu chybí dvojitá uvozovka" + +#: lib/iolog/iolog_json.c:511 +msgid "missing JSON_OBJECT" +msgstr "chybí JSON_OBJECT" + +#: lib/iolog/iolog_json.c:515 +#, c-format +msgid "expected JSON_OBJECT, got %d" +msgstr "očekáván JSON_OBJECT, obdrženo %d" + +#: lib/iolog/iolog_json.c:632 +#, c-format +msgid "json stack exhausted (max %u frames)" +msgstr "jsonový zásobník vyčerpán (nejvýše %u rámců)" + +#: lib/iolog/iolog_json.c:706 +msgid "objects must consist of name:value pairs" +msgstr "objekty musí sestávat z dvojic název:hodnota" + +#: lib/iolog/iolog_json.c:711 lib/iolog/iolog_json.c:742 +#: lib/iolog/iolog_json.c:786 lib/iolog/iolog_json.c:808 +#: lib/iolog/iolog_json.c:830 lib/iolog/iolog_json.c:852 +#: lib/iolog/iolog_json.c:874 +msgid "missing separator between values" +msgstr "chybí oddělovač mezí hodnotami" + +#: lib/iolog/iolog_json.c:726 lib/iolog/iolog_json.c:900 +msgid "unmatched close brace" +msgstr "neodpovídající uzavírací složená závorka" + +#: lib/iolog/iolog_json.c:737 +msgid "unexpected array" +msgstr "nečekané pole" + +#: lib/iolog/iolog_json.c:757 lib/iolog/iolog_json.c:903 +msgid "unmatched close bracket" +msgstr "neodpovídající uzavírající hranatá závorka" + +#: lib/iolog/iolog_json.c:768 +msgid "unexpected string" +msgstr "nečekaný řetězec" + +#: lib/iolog/iolog_json.c:779 +msgid "missing colon after name" +msgstr "za názvem chybí dvojtečka" + +#: lib/iolog/iolog_json.c:800 lib/iolog/iolog_json.c:822 +msgid "unexpected boolean" +msgstr "nečekaná pravdivostní hodnota" + +#: lib/iolog/iolog_json.c:844 +msgid "unexpected null" +msgstr "nečekaná hodnota null" + +#: lib/iolog/iolog_json.c:865 +msgid "unexpected number" +msgstr "nečekané číslo" + +#: lib/iolog/iolog_json.c:912 +msgid "parse error" +msgstr "chyba rozboru" + +#: lib/iolog/iolog_legacy.c:65 +#, c-format +msgid "%s: invalid log file" +msgstr "%s: neplatný soubor s protokolem" + +#: lib/iolog/iolog_legacy.c:83 +#, c-format +msgid "%s: time stamp field is missing" +msgstr "%s: chybí položka s časovým údajem" + +#: lib/iolog/iolog_legacy.c:89 +#, c-format +msgid "%s: time stamp %s: %s" +msgstr "%s: čas %s: %s" + +#: lib/iolog/iolog_legacy.c:96 +#, c-format +msgid "%s: user field is missing" +msgstr "%s: chybí položka s uživatelem" + +#: lib/iolog/iolog_legacy.c:107 +#, c-format +msgid "%s: runas user field is missing" +msgstr "%s: chybí položka s runas uživatelem" + +#: lib/iolog/iolog_legacy.c:118 +#, c-format +msgid "%s: runas group field is missing" +msgstr "%s chybí položka s runas skupinou" + +#: lib/iolog/iolog_mkdirs.c:89 +#, c-format +msgid "%s exists but is not a directory (0%o)" +msgstr "%s existuje, ale nejedná se o adresář (0%o)" + +#: lib/iolog/iolog_mkdirs.c:123 lib/iolog/iolog_mkdtemp.c:79 +#: logsrvd/iolog_writer.c:781 plugins/sudoers/timestamp.c:209 +#, c-format +msgid "unable to mkdir %s" +msgstr "nelze vytvořit adresář %s" + +#: lib/iolog/iolog_mkdtemp.c:84 plugins/sudoers/visudo.c:757 +#: plugins/sudoers/visudo.c:791 plugins/sudoers/visudo.c:797 +#, c-format +msgid "unable to change mode of %s to 0%o" +msgstr "nelze změnit práva %s na 0%o" + +#: lib/iolog/iolog_timing.c:261 +#, c-format +msgid "error reading timing file: %s" +msgstr "chyba při čtení časovacího souboru: %s" + +#: lib/iolog/iolog_timing.c:268 +#, c-format +msgid "invalid timing file line: %s" +msgstr "neplatný řádek s časovacím souborem: %s" + +#: logsrvd/iolog_writer.c:65 +#, c-format +msgid "%s: protocol error: NULL key" +msgstr "%s: chyba protokolu: klíč je NULL" + +#: logsrvd/iolog_writer.c:69 +#, c-format +msgid "%s: protocol error: wrong type for %s" +msgstr "%s: chyba protokolu: chybný typ pro %s" + +#: logsrvd/iolog_writer.c:74 logsrvd/logsrvd_local.c:109 +#: logsrvd/logsrvd_local.c:123 logsrvd/logsrvd_local.c:131 +#: logsrvd/logsrvd_local.c:149 +#, c-format +msgid "%s: protocol error: NULL value found in %s" +msgstr "%s: chyba protokolu: nalezena hodnota NULL v %s" + +#: logsrvd/iolog_writer.c:141 plugins/sudoers/logging.c:980 +#: plugins/sudoers/policy.c:593 +msgid "unable to generate UUID" +msgstr "nelze vytvořit UUID" + +#: logsrvd/iolog_writer.c:341 logsrvd/iolog_writer.c:346 +#: logsrvd/iolog_writer.c:351 logsrvd/iolog_writer.c:356 +#, c-format +msgid "%s: protocol error: %s missing from AcceptMessage" +msgstr "%s: chyba protokolu: v AcceptMessage chybí %s" + +#: logsrvd/iolog_writer.c:417 +#, c-format +msgid "%s: unable to format session id" +msgstr "%s: nelze naformátovat identifikátor relace" + +#: logsrvd/iolog_writer.c:431 logsrvd/iolog_writer.c:445 +#: logsrvd/iolog_writer.c:459 logsrvd/iolog_writer.c:474 +#: logsrvd/iolog_writer.c:488 logsrvd/iolog_writer.c:502 +#, c-format +msgid "%s: %s is not set" +msgstr "%s: %s není nastaveno" + +#: logsrvd/iolog_writer.c:538 logsrvd/iolog_writer.c:545 +#, c-format +msgid "unable to expand iolog path %s" +msgstr "nelze expandovat iolog cestu %s" + +#: logsrvd/iolog_writer.c:563 +#, c-format +msgid "unable to create iolog path %s" +msgstr "nelze vytvořit iolog cestu %s" + +#: logsrvd/iolog_writer.c:593 +#, c-format +msgid "invalid iofd %d" +msgstr "neplatný iofd %d" + +#: logsrvd/iolog_writer.c:613 +#, c-format +msgid "error closing iofd %d: %s" +msgstr "chyba při zavírání iofd %d: %s" + +#: logsrvd/iolog_writer.c:633 +#, c-format +msgid "error flushing iofd %d: %s" +msgstr "chyba při vyprazdňování iofd %d: %s" + +#: logsrvd/iolog_writer.c:751 +#, c-format +msgid "invalid I/O log %s: %s referenced but not present" +msgstr "neplatný I/O log %s: odkazováno na %s, které není přítomno" + +#: logsrvd/iolog_writer.c:763 logsrvd/logsrvd_journal.c:385 +#, c-format +msgid "%s: unable to find resume point [%lld, %ld]" +msgstr "%s: nelze nalézt bod obnovy [%lld, %ld]" + +#: logsrvd/iolog_writer.c:785 logsrvd/logsrvd_journal.c:428 +#: logsrvd/logsrvd_queue.c:115 logsrvd/tls_init.c:256 +#: plugins/sudoers/check.c:292 plugins/sudoers/cvtsudoers.c:730 +#: plugins/sudoers/cvtsudoers.c:751 plugins/sudoers/cvtsudoers.c:1431 +#: plugins/sudoers/cvtsudoers_csv.c:695 plugins/sudoers/cvtsudoers_json.c:898 +#: plugins/sudoers/cvtsudoers_ldif.c:709 plugins/sudoers/sudoers.c:1152 +#: plugins/sudoers/sudoers.c:1182 plugins/sudoers/sudoreplay.c:1496 +#: plugins/sudoers/timestamp.c:460 plugins/sudoers/tsdump.c:128 +#: plugins/sudoers/visudo.c:975 +#, c-format +msgid "unable to open %s" +msgstr "nelze otevřít %s" + +#: logsrvd/iolog_writer.c:797 logsrvd/logsrv_util.c:105 +#: logsrvd/logsrv_util.c:112 plugins/sudoers/sudoreplay.c:355 +#: plugins/sudoers/sudoreplay.c:361 +#, c-format +msgid "unable to open %s/%s" +msgstr "nelze otevřít %s/%s" + +#: logsrvd/iolog_writer.c:810 +#, c-format +msgid "unable to copy %s/%s to %s/%s: %s" +msgstr "%s/%s nelze zkopírovat do %s/%s: %s" + +#: logsrvd/iolog_writer.c:839 logsrvd/logsrvd_journal.c:198 +#, c-format +msgid "unable to rename %s to %s" +msgstr "%s nelze přejmenovat na %s" + +#: logsrvd/logsrv_util.c:147 logsrvd/logsrv_util.c:176 +#, c-format +msgid "%s/%s: unable to find resume point [%lld, %ld]" +msgstr "%s/%s: nelze nalézt bod obnovy [%lld, %ld]" + +#: logsrvd/logsrv_util.c:159 +#, c-format +msgid "missing I/O log file %s/%s" +msgstr "chybí vstupně-výstupní soubor s protokolem %s/%s" + +#: logsrvd/logsrv_util.c:166 +#, c-format +msgid "%s/%s: unable to seek forward %zu" +msgstr "%s/%s: nelze skočit vpřed o %zu" + +#: logsrvd/logsrvd.c:271 logsrvd/logsrvd_queue.c:135 +msgid "unable to connect to relay" +msgstr "k relayi se nelze připojit" + +#: logsrvd/logsrvd.c:330 logsrvd/logsrvd_relay.c:842 +#, c-format +msgid "server message too large: %zu" +msgstr "správa od serveru je příliš velká: %zu" + +#: logsrvd/logsrvd.c:422 logsrvd/logsrvd.c:545 logsrvd/logsrvd.c:631 +#: logsrvd/logsrvd.c:873 logsrvd/logsrvd.c:887 logsrvd/logsrvd.c:1049 +#: logsrvd/logsrvd.c:1174 logsrvd/logsrvd.c:1347 logsrvd/logsrvd.c:1365 +#: logsrvd/logsrvd.c:1464 logsrvd/logsrvd.c:1589 logsrvd/logsrvd.c:1773 +#: logsrvd/logsrvd_journal.c:497 logsrvd/logsrvd_local.c:238 +#: logsrvd/logsrvd_queue.c:164 logsrvd/logsrvd_relay.c:172 +#: logsrvd/logsrvd_relay.c:249 logsrvd/logsrvd_relay.c:253 +#: logsrvd/logsrvd_relay.c:389 logsrvd/logsrvd_relay.c:581 +#: logsrvd/logsrvd_relay.c:742 logsrvd/logsrvd_relay.c:1131 +#: logsrvd/sendlog.c:1291 logsrvd/tls_client.c:136 logsrvd/tls_client.c:152 +#: logsrvd/tls_client.c:216 plugins/sudoers/audit.c:278 +#: plugins/sudoers/iolog.c:1031 plugins/sudoers/iolog.c:1164 +#: plugins/sudoers/iolog.c:1262 plugins/sudoers/log_client.c:121 +#: plugins/sudoers/log_client.c:343 plugins/sudoers/log_client.c:359 +#: plugins/sudoers/log_client.c:407 plugins/sudoers/log_client.c:611 +#: plugins/sudoers/log_client.c:618 plugins/sudoers/log_client.c:1103 +#: plugins/sudoers/log_client.c:1384 plugins/sudoers/log_client.c:1425 +#: plugins/sudoers/log_client.c:1433 plugins/sudoers/log_client.c:1592 +#: plugins/sudoers/log_client.c:1710 plugins/sudoers/log_client.c:2039 +#: plugins/sudoers/log_client.c:2047 plugins/sudoers/logging.c:147 +#: plugins/sudoers/logging.c:205 plugins/sudoers/sudoreplay.c:519 +#: plugins/sudoers/sudoreplay.c:566 plugins/sudoers/sudoreplay.c:808 +#: plugins/sudoers/sudoreplay.c:920 plugins/sudoers/sudoreplay.c:1011 +#: plugins/sudoers/sudoreplay.c:1026 plugins/sudoers/sudoreplay.c:1033 +#: plugins/sudoers/sudoreplay.c:1040 plugins/sudoers/sudoreplay.c:1047 +#: plugins/sudoers/sudoreplay.c:1054 plugins/sudoers/sudoreplay.c:1181 +msgid "unable to add event to queue" +msgstr "událost nelze přidat do fronty" + +#: logsrvd/logsrvd.c:446 logsrvd/logsrvd.c:483 logsrvd/logsrvd.c:515 +#: logsrvd/logsrvd.c:569 logsrvd/logsrvd.c:648 logsrvd/logsrvd.c:684 +#: logsrvd/logsrvd.c:720 logsrvd/logsrvd.c:756 logsrvd/logsrvd_relay.c:510 +#: logsrvd/logsrvd_relay.c:543 +#, c-format +msgid "unexpected state %d for %s" +msgstr "nečekaný stav %d u %s" + +#: logsrvd/logsrvd.c:447 logsrvd/logsrvd.c:484 logsrvd/logsrvd.c:516 +#: logsrvd/logsrvd.c:570 logsrvd/logsrvd.c:649 logsrvd/logsrvd.c:685 +#: logsrvd/logsrvd.c:721 logsrvd/logsrvd.c:757 logsrvd/logsrvd_relay.c:512 +#: logsrvd/logsrvd_relay.c:545 +msgid "state machine error" +msgstr "chyba stavového automatu" + +#: logsrvd/logsrvd.c:453 logsrvd/logsrvd.c:454 +msgid "invalid AcceptMessage" +msgstr "neplatná zpráva AcceptMessage" + +#: logsrvd/logsrvd.c:490 logsrvd/logsrvd.c:491 +msgid "invalid RejectMessage" +msgstr "neplatná zpráva RejectMessage" + +#: logsrvd/logsrvd.c:522 logsrvd/logsrvd.c:523 +msgid "invalid ExitMessage" +msgstr "neplatná zpráva ExitMessage" + +#: logsrvd/logsrvd.c:576 logsrvd/logsrvd.c:577 +msgid "invalid RestartMessage" +msgstr "neplatná zpráva RestartMessage" + +#: logsrvd/logsrvd.c:611 logsrvd/logsrvd.c:612 +msgid "invalid AlertMessage" +msgstr "neplatná zpráva AlertMessage" + +#: logsrvd/logsrvd.c:653 logsrvd/logsrvd.c:689 logsrvd/logsrvd.c:725 +#, c-format +msgid "%s: unexpected IoBuffer" +msgstr "%s: nečekaný IoBuffer" + +#: logsrvd/logsrvd.c:654 logsrvd/logsrvd.c:690 logsrvd/logsrvd.c:726 +msgid "protocol error" +msgstr "chyba protokolu" + +#: logsrvd/logsrvd.c:660 logsrvd/logsrvd.c:661 +msgid "invalid IoBuffer" +msgstr "neplatný IoBuffer" + +#: logsrvd/logsrvd.c:696 logsrvd/logsrvd.c:697 +msgid "invalid ChangeWindowSize" +msgstr "neplatná ChangeWindowSize" + +#: logsrvd/logsrvd.c:732 logsrvd/logsrvd.c:733 +msgid "invalid CommandSuspend" +msgstr "neplatný CommandSuspend" + +#: logsrvd/logsrvd.c:782 logsrvd/logsrvd_journal.c:296 +#: logsrvd/logsrvd_relay.c:652 logsrvd/sendlog.c:1192 +#: plugins/sudoers/log_client.c:1582 +#, c-format +msgid "unable to unpack %s size %zu" +msgstr "%s o velikosti %zu nelze rozbalit" + +#: logsrvd/logsrvd.c:827 logsrvd/logsrvd_journal.c:370 +#: logsrvd/logsrvd_relay.c:676 +#, c-format +msgid "unexpected type_case value %d in %s from %s" +msgstr "nečekaná hodnota type_case %d v %s od %s" + +#: logsrvd/logsrvd.c:829 +msgid "unrecognized ClientMessage type" +msgstr "nerozpoznaný druh zprávy ClientMessage" + +#: logsrvd/logsrvd.c:919 +#, c-format +msgid "timed out writing to client %s" +msgstr "při zapisování do klienta %s vypršel časový limit" + +#: logsrvd/logsrvd.c:924 logsrvd/logsrvd_relay.c:914 logsrvd/sendlog.c:1395 +#, c-format +msgid "missing write buffer for client %s" +msgstr "chybí vyrovnávací paměť pro zápis do klienta %s" + +#: logsrvd/logsrvd.c:1020 +#, c-format +msgid "timed out reading from client %s" +msgstr "při čtení z klienta %s vypršel časový limit" + +#: logsrvd/logsrvd.c:1061 logsrvd/logsrvd_relay.c:777 +#, c-format +msgid "EOF from %s without proper TLS shutdown" +msgstr "konec souboru od %s bez řádného ukončení TLS" + +#: logsrvd/logsrvd.c:1105 logsrvd/logsrvd_relay.c:205 logsrvd/sendlog.c:322 +#: plugins/sudoers/log_client.c:721 +#, c-format +msgid "client message too large: %zu" +msgstr "zpráva od klienta je příliš velká: %zu" + +#: logsrvd/logsrvd.c:1106 logsrvd/logsrvd_journal.c:259 +#: logsrvd/logsrvd_journal.c:260 +msgid "client message too large" +msgstr "zpráva od klienta je příliš velká" + +#: logsrvd/logsrvd.c:1124 logsrvd/logsrvd.c:1125 +msgid "invalid ClientMessage" +msgstr "neplatná zpráva ClientMessage" + +#: logsrvd/logsrvd.c:1425 +msgid "unable to get remote IP addr" +msgstr "nelze získat vzdálenou IP adresu" + +#: logsrvd/logsrvd.c:1456 logsrvd/tls_client.c:203 +#: plugins/sudoers/log_client.c:281 +#, c-format +msgid "Unable to attach user data to the ssl object: %s" +msgstr "K objektu SSL nelze připojit uživatelská data: %s" + +#: logsrvd/logsrvd.c:1639 logsrvd/logsrvd.c:1992 +msgid "unable to setup listen socket" +msgstr "nelze nastavit naslouchací socket" + +#: logsrvd/logsrvd.c:1756 +#, c-format +msgid "unexpected signal %d" +msgstr "nečekaný signál %d" + +#: logsrvd/logsrvd.c:1894 +msgid "sudo log server" +msgstr "protokolovací server suda" + +#: logsrvd/logsrvd.c:1896 logsrvd/sendlog.c:121 +msgid "Options:" +msgstr "Volby:" + +#: logsrvd/logsrvd.c:1898 +msgid "path to configuration file" +msgstr "cesta ke konfiguračnímu souboru" + +#: logsrvd/logsrvd.c:1900 logsrvd/sendlog.c:123 +msgid "display help message and exit" +msgstr "zobrazí nápovědu a skončí" + +#: logsrvd/logsrvd.c:1902 +msgid "do not fork, run in the foreground" +msgstr "neoddělí proces, běží na popředí" + +#: logsrvd/logsrvd.c:1904 +msgid "percent chance connections will drop" +msgstr "procentuální pravděpodobnost, že spojení se přeruší" + +#: logsrvd/logsrvd.c:1906 logsrvd/sendlog.c:153 +msgid "display version information and exit" +msgstr "zobrazí údaje o verzi a skončí" + +#: logsrvd/logsrvd.c:1956 logsrvd/sendlog.c:1702 +msgid "Protobuf-C version 1.3 or higher required" +msgstr "Je vyžadována knihovna Protobuf-C verze 1.3 nebo vyšší" + +#: logsrvd/logsrvd.c:1972 +#, c-format +msgid "invalid random drop value: %s" +msgstr "neplatná hodnota pravděpodobnosti ztráty: %s" + +#: logsrvd/logsrvd.c:1975 logsrvd/sendlog.c:1756 +#: plugins/sudoers/cvtsudoers.c:246 plugins/sudoers/sudoreplay.c:294 +#: plugins/sudoers/visudo.c:182 +#, c-format +msgid "%s version %s\n" +msgstr "%s verze %s\n" + +#: logsrvd/logsrvd_conf.c:422 plugins/sudoers/check.c:358 +#: plugins/sudoers/exptilde.c:85 plugins/sudoers/iolog.c:122 +#: plugins/sudoers/policy.c:1271 plugins/sudoers/sudoers.c:512 +#: plugins/sudoers/sudoers.c:1411 plugins/sudoers/testsudoers.c:215 +#: plugins/sudoers/testsudoers.c:382 +#, c-format +msgid "unknown user %s" +msgstr "neznámý uživatel %s" + +#: logsrvd/logsrvd_conf.c:439 plugins/sudoers/iolog.c:148 +#: plugins/sudoers/sudoers.c:517 plugins/sudoers/sudoers.c:1445 +#: plugins/sudoers/testsudoers.c:406 +#, c-format +msgid "unknown group %s" +msgstr "neznámá skupina %s" + +#: logsrvd/logsrvd_conf.c:457 +#, c-format +msgid "unable to parse iolog mode %s" +msgstr "nelze rozebrat režim iologu %s" + +#: logsrvd/logsrvd_conf.c:474 logsrvd/logsrvd_conf.c:1243 +#, c-format +msgid "invalid value for %s: %s" +msgstr "neplatná hodnota pro %s: %s" + +#: logsrvd/logsrvd_conf.c:527 +msgid "TLS not supported" +msgstr "protokol TLS není podporován" + +#: logsrvd/logsrvd_conf.c:549 +#, c-format +msgid "%s:%s" +msgstr "%s:%s" + +#: logsrvd/logsrvd_conf.c:622 logsrvd/logsrvd_conf.c:1032 +#, c-format +msgid "%s: not a fully qualified path" +msgstr "%s: cesta není plně kvalifikovaná" + +#: logsrvd/logsrvd_conf.c:951 logsrvd/logsrvd_conf.c:967 +#: logsrvd/logsrvd_conf.c:1676 +#, c-format +msgid "unknown syslog facility %s" +msgstr "neznámý obor systémového protokolu %s" + +#: logsrvd/logsrvd_conf.c:983 logsrvd/logsrvd_conf.c:999 +#: logsrvd/logsrvd_conf.c:1015 logsrvd/logsrvd_conf.c:1680 +#: logsrvd/logsrvd_conf.c:1684 logsrvd/logsrvd_conf.c:1688 +#, c-format +msgid "unknown syslog priority %s" +msgstr "neznámá priorita systémového protokolu: %s" + +#: logsrvd/logsrvd_conf.c:1197 +#, c-format +msgid "%s:%d unmatched '[': %s" +msgstr "%s:%d nepárová „[“: %s" + +#: logsrvd/logsrvd_conf.c:1203 +#, c-format +msgid "%s:%d garbage after ']': %s" +msgstr "%s:%d smetí po „]“: %s" + +#: logsrvd/logsrvd_conf.c:1215 +#, c-format +msgid "%s:%d invalid config section: %s" +msgstr "%s:%d neplatný konfigurační oddíl: %s" + +#: logsrvd/logsrvd_conf.c:1223 +#, c-format +msgid "%s:%d invalid configuration line: %s" +msgstr "%s:%d neplatný řádek s konfigurací: %s" + +#: logsrvd/logsrvd_conf.c:1229 +#, c-format +msgid "%s:%d expected section name: %s" +msgstr "%s:%d očekávaný název oddílu: %s" + +#: logsrvd/logsrvd_conf.c:1251 +#, c-format +msgid "%s:%d [%s] illegal key: %s" +msgstr "%s:%d [%s] nedovolený klíč: %s" + +#: logsrvd/logsrvd_conf.c:1281 plugins/sudoers/cvtsudoers.c:268 +#: plugins/sudoers/logging.c:1033 +#, c-format +msgid "unable to open log file %s" +msgstr "nelze otevřít soubor protokolu %s" + +#: logsrvd/logsrvd_conf.c:1763 +msgid "unable to initialize server TLS context" +msgstr "TLS kontext serveru nelze inicializovat" + +#: logsrvd/logsrvd_conf.c:1783 +msgid "unable to initialize relay TLS context" +msgstr "TLS kontext relay nelze inicializovat" + +#: logsrvd/logsrvd_journal.c:149 logsrvd/logsrvd_journal.c:424 +#: logsrvd/logsrvd_journal.c:429 +msgid "unable to create journal file" +msgstr "soubor s žurnálem nelze vytvořit" + +#: logsrvd/logsrvd_journal.c:153 logsrvd/logsrvd_queue.c:109 +#: plugins/sudoers/visudo.c:1028 +#, c-format +msgid "unable to lock %s" +msgstr "%s nelze uzamknout" + +#: logsrvd/logsrvd_journal.c:156 +msgid "unable to lock journal file" +msgstr "soubor s žurnálem nelze zamknout" + +#: logsrvd/logsrvd_journal.c:164 +msgid "unable to open journal file" +msgstr "soubor s žurnálem nelze otevřít" + +#: logsrvd/logsrvd_journal.c:185 logsrvd/logsrvd_journal.c:460 +#: logsrvd/logsrvd_journal.c:465 +msgid "unable to write journal file" +msgstr "soubor s žurnálem nelze zapsat" + +#: logsrvd/logsrvd_journal.c:193 logsrvd/logsrvd_journal.c:200 +msgid "unable to rename journal file" +msgstr "soubor s žurnálem nelze přejmenovat" + +#: logsrvd/logsrvd_journal.c:247 logsrvd/logsrvd_journal.c:248 +#: logsrvd/logsrvd_journal.c:282 logsrvd/logsrvd_journal.c:283 +msgid "unexpected EOF reading journal file" +msgstr "nečekaný konec souboru při čtení žurnálu" + +#: logsrvd/logsrvd_journal.c:251 logsrvd/logsrvd_journal.c:252 +#: logsrvd/logsrvd_journal.c:286 logsrvd/logsrvd_journal.c:287 +msgid "error reading journal file" +msgstr "chyba při čtení souboru s žurnálem" + +#: logsrvd/logsrvd_journal.c:298 logsrvd/logsrvd_journal.c:384 +msgid "invalid journal file, unable to restart" +msgstr "neplatný soubor s žurnálem, nelze restartovat" + +#: logsrvd/logsrvd_journal.c:443 +#, c-format +msgid "unable to seek to [%lld, %ld] in journal file %s" +msgstr "nelze se přesunou na [%lld, %ld] v souboru žurnálu %s" + +#: logsrvd/logsrvd_local.c:166 +#, c-format +msgid "unexpected value_case %d in %s from %s" +msgstr "nečekaná hodnota value_case %d v %s od %s" + +#: logsrvd/logsrvd_local.c:194 +msgid "error parsing AcceptMessage" +msgstr "chyba při rozboru zprávy AcceptMessage" + +#: logsrvd/logsrvd_local.c:205 +msgid "error creating I/O log" +msgstr "chyba při vytváření vstupně-výstupního protokolu" + +#: logsrvd/logsrvd_local.c:228 +msgid "error logging accept event" +msgstr "chyba při protokolování události přijetí" + +#: logsrvd/logsrvd_local.c:267 +msgid "error parsing RejectMessage" +msgstr "chyba při rozboru zprávy RejectMessage" + +#: logsrvd/logsrvd_local.c:291 +msgid "error logging reject event" +msgstr "chyba při protokolování události zamítnutí" + +#: logsrvd/logsrvd_local.c:427 logsrvd/logsrvd_local.c:435 +msgid "error logging exit event" +msgstr "chyba při protokolování události ukončení" + +#: logsrvd/logsrvd_local.c:492 logsrvd/logsrvd_local.c:493 +msgid "log is already complete, cannot be restarted" +msgstr "protokol byl již dokončen, nelze jej restartovat" + +#: logsrvd/logsrvd_local.c:523 +msgid "unable to restart log" +msgstr "protokol nelze navázat" + +#: logsrvd/logsrvd_local.c:539 +msgid "error parsing AlertMessage" +msgstr "chyba při rozboru zprávy AlertMessage" + +#: logsrvd/logsrvd_local.c:549 +msgid "error logging alert event" +msgstr "chyba při protokolování události upozornění" + +#: logsrvd/logsrvd_local.c:585 logsrvd/logsrvd_local.c:648 +#: logsrvd/logsrvd_local.c:683 +#, c-format +msgid "unable to format timing buffer, length %d" +msgstr "nelze naformátovat časový údaj, délka %d" + +#: logsrvd/logsrvd_local.c:599 logsrvd/logsrvd_local.c:607 +#: logsrvd/logsrvd_local.c:655 logsrvd/logsrvd_local.c:690 +#: plugins/sudoers/sudoreplay.c:344 +#, c-format +msgid "%s/%s: %s" +msgstr "%s/%s: %s" + +#: logsrvd/logsrvd_local.c:618 +msgid "randomly dropping connection" +msgstr "náhodně zahazuje spojení" + +#: logsrvd/logsrvd_local.c:630 +msgid "error writing IoBuffer" +msgstr "chyba při zápisu IoBuffer" + +#: logsrvd/logsrvd_local.c:665 +msgid "error writing ChangeWindowSize" +msgstr "chyba při zápisu ChangeWindowSize" + +#: logsrvd/logsrvd_local.c:700 +msgid "error writing CommandSuspend" +msgstr "chyba při zápisu CommandSuspend" + +#: logsrvd/logsrvd_relay.c:435 +msgid "TLS handshake with relay host failed" +msgstr "navazování TLS spojení se strojem relaye selhalo" + +#: logsrvd/logsrvd_relay.c:463 +msgid "unable to connect to relay host" +msgstr "ke stroji relaye se nelze připojit" + +#: logsrvd/logsrvd_relay.c:518 +#, c-format +msgid "%s: invalid ServerHello, missing server_id" +msgstr "%s: neplatná správa ServerHello, chybí server_id" + +#: logsrvd/logsrvd_relay.c:520 logsrvd/sendlog.c:1096 +#: plugins/sudoers/log_client.c:1468 +msgid "invalid ServerHello" +msgstr "neplatná správa ServerHello" + +#: logsrvd/logsrvd_relay.c:679 +msgid "unrecognized ServerMessage type" +msgstr "nerozpoznaný druh zprávy ServerMessage" + +#: logsrvd/logsrvd_relay.c:708 +#, c-format +msgid "timed out reading from relay %s (%s)" +msgstr "při čtení z relaye %s (%s) vypršel časový limit" + +#: logsrvd/logsrvd_relay.c:710 +msgid "timeout reading from relay" +msgstr "při čtení z relaye vypršel časový limit" + +#: logsrvd/logsrvd_relay.c:762 +msgid "relay host name does not match certificate" +msgstr "název stroje relaye neodpovídá certifikátu" + +#: logsrvd/logsrvd_relay.c:768 logsrvd/logsrvd_relay.c:782 +#: logsrvd/logsrvd_relay.c:789 +msgid "error reading from relay" +msgstr "chyba při čtení z relaye" + +#: logsrvd/logsrvd_relay.c:810 +msgid "unable to read from relay" +msgstr "z relaye nelze číst" + +#: logsrvd/logsrvd_relay.c:825 logsrvd/logsrvd_relay.c:943 +msgid "relay server closed connection" +msgstr "relay server uzavřel spojení" + +#: logsrvd/logsrvd_relay.c:843 +msgid "server message too large" +msgstr "správa od serveru je příliš velká" + +#: logsrvd/logsrvd_relay.c:907 +#, c-format +msgid "timed out writing to relay %s (%s)" +msgstr "při zapisování do relaye %s (%s) vypršel časový limit" + +#: logsrvd/logsrvd_relay.c:909 +msgid "timeout writing to relay" +msgstr "při zapisování do relaye vypršel časový limit" + +#: logsrvd/logsrvd_relay.c:962 logsrvd/logsrvd_relay.c:969 +#: logsrvd/logsrvd_relay.c:981 +msgid "error writing to relay" +msgstr "chyba při zápisu do relaye" + +#: logsrvd/sendlog.c:119 +msgid "send sudo I/O log to remote server" +msgstr "odešle vstupně-výstupní protokol vzdálenému serveru" + +#: logsrvd/sendlog.c:125 +msgid "only send an accept event (no I/O)" +msgstr "odešle pouze událost přijetí (žádný vstup-výstup)" + +#: logsrvd/sendlog.c:128 +msgid "certificate bundle file to verify server's cert against" +msgstr "soubor se svazkem certifikátů, proti kterým se má ověřit certifikát serveru" + +#: logsrvd/sendlog.c:130 +msgid "certificate file for TLS handshake" +msgstr "soubor s certifikátem pro navázání TLS" + +#: logsrvd/sendlog.c:133 +msgid "host to send logs to" +msgstr "stroj, kam zaslat protokoly" + +#: logsrvd/sendlog.c:135 +msgid "remote ID of I/O log to be resumed" +msgstr "vzdálený identifikátor protokolu vstupu-výstupu, na kterým se má navázat" + +#: logsrvd/sendlog.c:138 +msgid "private key file" +msgstr "soubor se soukromým klíčem" + +#: logsrvd/sendlog.c:140 +msgid "do not verify server certificate" +msgstr "neověřovat certifikát serveru" + +#: logsrvd/sendlog.c:143 +msgid "port to use when connecting to host" +msgstr "port, který se použije při připojovaní na stroj" + +#: logsrvd/sendlog.c:145 +msgid "restart previous I/O log transfer" +msgstr "navázat na předchozí přenos protokolu vstupu-výstupu" + +#: logsrvd/sendlog.c:147 +msgid "reject the command with the given reason" +msgstr "zamítnout příkaz se zadaným důvodem" + +#: logsrvd/sendlog.c:149 +msgid "stop transfer after reaching this time" +msgstr "zastavit přenos po dosažení tohoto času" + +#: logsrvd/sendlog.c:151 +msgid "test audit server by sending selected I/O log n times in parallel" +msgstr "vyzkoušet auditní server zasláním vybraného protokolu vstupu-výstupu n-krát souběžně" + +#: logsrvd/sendlog.c:176 plugins/sudoers/log_client.c:453 +#, c-format +msgid "unable to look up %s:%s: %s" +msgstr "%s:%s nelze vyhledat: %s" + +#: logsrvd/sendlog.c:214 +msgid "unable to get server IP addr" +msgstr "nelze získat IP adresu serveru" + +#: logsrvd/sendlog.c:300 plugins/sudoers/sudoreplay.c:868 +#, c-format +msgid "unable to read %s/%s: %s" +msgstr "%s/%s nelze přečíst: %s" + +#: logsrvd/sendlog.c:1020 plugins/sudoers/iolog.c:949 +#: plugins/sudoers/iolog.c:1024 +#, c-format +msgid "unexpected I/O event %d" +msgstr "nečekaná I/O událost %d" + +#: logsrvd/sendlog.c:1073 logsrvd/sendlog.c:1090 logsrvd/sendlog.c:1124 +#: plugins/sudoers/log_client.c:1118 plugins/sudoers/log_client.c:1394 +#: plugins/sudoers/log_client.c:1462 plugins/sudoers/log_client.c:1501 +#, c-format +msgid "%s: unexpected state %d" +msgstr "%s: nečekaný stav %d" + +#: logsrvd/sendlog.c:1160 plugins/sudoers/log_client.c:1550 +#, c-format +msgid "error message received from server: %s" +msgstr "od serveru byla přijata chybová zpráva: %s" + +#: logsrvd/sendlog.c:1173 plugins/sudoers/log_client.c:1563 +#, c-format +msgid "abort message received from server: %s" +msgstr "od serveru byla přijata zpráva o zrušení: %s" + +#: logsrvd/sendlog.c:1232 plugins/sudoers/log_client.c:1613 +#, c-format +msgid "%s: unexpected type_case value %d" +msgstr "%s: nečekaná hodnota type_case %d" + +#: logsrvd/sendlog.c:1261 +msgid "timeout reading from server" +msgstr "při čtení ze serveru vypršel časový limit" + +#: logsrvd/sendlog.c:1310 plugins/sudoers/log_client.c:1729 +msgid "host name does not match certificate" +msgstr "název stroje neodpovídá certifikátu" + +#: logsrvd/sendlog.c:1343 +msgid "premature EOF" +msgstr "předčasný konec souboru" + +#: logsrvd/sendlog.c:1356 plugins/sudoers/log_client.c:1776 +#, c-format +msgid "server message too large: %u" +msgstr "správa od serveru je příliš velká: %u" + +#: logsrvd/sendlog.c:1412 +msgid "timeout writing to server" +msgstr "při zapisování do serveru vypršel časový limit" + +#: logsrvd/sendlog.c:1779 +msgid "both restart point and iolog ID must be specified" +msgstr "musí být zadán jak bod navázání, tak i identifikátor iolog" + +#: logsrvd/sendlog.c:1783 +msgid "a restart point may not be set when no I/O is sent" +msgstr "bod navázání nelze nastavit, když žádný vstup/výstup nebyl odeslán" + +#: logsrvd/sendlog.c:1859 +#, c-format +msgid "exited prematurely with state %d" +msgstr "ukončeno předčasně ve stavu %d" + +#: logsrvd/sendlog.c:1860 +#, c-format +msgid "elapsed time sent to server [%lld, %ld]" +msgstr "uplynulý čas zaslaný serveru [%lld, %ld]" + +#: logsrvd/sendlog.c:1862 +#, c-format +msgid "commit point received from server [%lld, %ld]" +msgstr "od server byl přijat bod zápisu [%lld, %ld]" + +#: logsrvd/tls_client.c:111 plugins/sudoers/log_client.c:315 +msgid "TLS handshake timeout occurred" +msgstr "Při navazování spojení TLS vypršel časový limit" + +#: logsrvd/tls_client.c:131 logsrvd/tls_client.c:147 +#: plugins/sudoers/log_client.c:337 plugins/sudoers/log_client.c:353 +msgid "unable to set event" +msgstr "událost nelze nastavit" + +#: logsrvd/tls_client.c:157 logsrvd/tls_client.c:161 +#, c-format +msgid "TLS connection failed: %s" +msgstr "spojení TLS selhalo: %s" + +#: logsrvd/tls_client.c:196 +#, c-format +msgid "unable to allocate ssl object: %s" +msgstr "objekt SSL nelze alokovat: %s" + +#: logsrvd/tls_client.c:210 +#, c-format +msgid "Unable to attach socket to the ssl object: %s" +msgstr "K objektu SSL nelze připojit socket: %s" + +#: logsrvd/tls_client.c:238 +msgid "unable to initialize TLS context" +msgstr "kontext TLS nelze inicializovat" + +#: logsrvd/tls_init.c:138 logsrvd/tls_init.c:146 +#, c-format +msgid "unable to set TLS 1.2 ciphersuite to %s: %s" +msgstr "šifru TLS 1.2 nelze nastavit na %s: %s" + +#: logsrvd/tls_init.c:166 logsrvd/tls_init.c:174 +#, c-format +msgid "unable to set TLS 1.3 ciphersuite to %s: %s" +msgstr "šifru TLS 1.3 nelze nastavit na %s: %s" + +#: logsrvd/tls_init.c:206 logsrvd/tls_init.c:227 +#, c-format +msgid "unable to set diffie-hellman parameters: %s" +msgstr "nelze nastavit parametry Diffieho-Hellmana: %s" + +#: logsrvd/tls_init.c:283 +#, c-format +msgid "unable to create TLS context: %s" +msgstr "nelze vytvořit kontext TLS: %s" + +#: logsrvd/tls_init.c:290 +#, c-format +msgid "unable to set minimum protocol version to TLS 1.2: %s" +msgstr "nelze nastavit minimální verzi protokolu na TLS 1.2: %s" + +#: plugins/sudoers/audit.c:269 plugins/sudoers/audit.c:429 +#: plugins/sudoers/log_client.c:951 plugins/sudoers/log_client.c:1000 +#: plugins/sudoers/log_client.c:1049 plugins/sudoers/log_client.c:1174 +#: plugins/sudoers/logging.c:595 plugins/sudoers/logging.c:693 +#: plugins/sudoers/logging.c:796 plugins/sudoers/logging.c:987 +#: plugins/sudoers/policy.c:125 +msgid "unable to get time of day" +msgstr "nelze získat čas" + +#: plugins/sudoers/auth/aix_auth.c:280 +#, c-format +msgid "unable to change password for %s" +msgstr "prošlé heslo pro %s nelze změnit" + +#: plugins/sudoers/auth/bsdauth.c:74 +#, c-format +msgid "unable to get login class for user %s" +msgstr "nelze získat přihlašovací třídu uživatele %s" + +#: plugins/sudoers/auth/bsdauth.c:79 +msgid "unable to begin bsd authentication" +msgstr "nelze zahájit BSD autentizaci" + +#: plugins/sudoers/auth/bsdauth.c:87 +msgid "invalid authentication type" +msgstr "neplatný druh autentizace" + +#: plugins/sudoers/auth/bsdauth.c:96 +msgid "unable to initialize BSD authentication" +msgstr "nelze inicializovat BSD autentizaci" + +#: plugins/sudoers/auth/bsdauth.c:186 +msgid "your account has expired" +msgstr "vašemu účtu skončila platnost" + +#: plugins/sudoers/auth/bsdauth.c:188 +msgid "approval failed" +msgstr "schválení selhalo" + +#: plugins/sudoers/auth/fwtk.c:61 +msgid "unable to read fwtk config" +msgstr "nelze načíst konfiguraci FWTK" + +#: plugins/sudoers/auth/fwtk.c:66 +msgid "unable to connect to authentication server" +msgstr "k autentizačnímu serveru se nelze připojit" + +#: plugins/sudoers/auth/fwtk.c:72 plugins/sudoers/auth/fwtk.c:97 +#: plugins/sudoers/auth/fwtk.c:129 +msgid "lost connection to authentication server" +msgstr "spojení k autentizačnímu serveru ztraceno" + +#: plugins/sudoers/auth/fwtk.c:76 +#, c-format +msgid "" +"authentication server error:\n" +"%s" +msgstr "" +"chyba autentizačního serveru:\n" +"%s" + +#: plugins/sudoers/auth/kerb5.c:115 +#, c-format +msgid "%s: unable to convert principal to string ('%s'): %s" +msgstr "%s: principála nelze převést na řetězec („%s“): %s" + +#: plugins/sudoers/auth/kerb5.c:164 +#, c-format +msgid "%s: unable to parse '%s': %s" +msgstr "%s: „%s“ nelze rozebrat: %s" + +#: plugins/sudoers/auth/kerb5.c:173 +#, c-format +msgid "%s: unable to resolve credential cache: %s" +msgstr "%s: nelze najít keš s pověřeními: %s" + +#: plugins/sudoers/auth/kerb5.c:222 +#, c-format +msgid "%s: unable to allocate options: %s" +msgstr "%s: nelze alokovat volby: %s" + +#: plugins/sudoers/auth/kerb5.c:237 +#, c-format +msgid "%s: unable to get credentials: %s" +msgstr "%s: nelze získat pověření: %s" + +#: plugins/sudoers/auth/kerb5.c:250 +#, c-format +msgid "%s: unable to initialize credential cache: %s" +msgstr "%s: nelze inicializovat keš s pověřeními: %s" + +#: plugins/sudoers/auth/kerb5.c:253 +#, c-format +msgid "%s: unable to store credential in cache: %s" +msgstr "%s: pověření nelze uložit do keše: %s" + +#: plugins/sudoers/auth/kerb5.c:317 +#, c-format +msgid "%s: unable to get host principal: %s" +msgstr "%s: nelze získat principála stroje: %s" + +#: plugins/sudoers/auth/kerb5.c:331 +#, c-format +msgid "%s: Cannot verify TGT! Possible attack!: %s" +msgstr "%s: TGT nelze ověřit! Podezření na útok!: %s" + +#: plugins/sudoers/auth/pam.c:224 +#, c-format +msgid "unable to initialize PAM: %s" +msgstr "PAM nelze inicializovat: %s" + +#: plugins/sudoers/auth/pam.c:337 +#, c-format +msgid "PAM authentication error: %s" +msgstr "Chyba autentizace PAM: %s" + +#: plugins/sudoers/auth/pam.c:356 +msgid "account validation failure, is your account locked?" +msgstr "ověření účtu selhalo, není váš účet zamknutý?" + +#: plugins/sudoers/auth/pam.c:367 +msgid "Account or password is expired, reset your password and try again" +msgstr "Účtu nebo heslu vypršela platnost, nastavte si nové heslo a zkuste to znovu" + +#: plugins/sudoers/auth/pam.c:373 +#, c-format +msgid "unable to change expired password: %s" +msgstr "prošlé heslo nelze změnit: %s" + +#: plugins/sudoers/auth/pam.c:384 +msgid "Password expired, contact your system administrator" +msgstr "Heslu vypršela platnost, kontaktujte správce svého systému" + +#: plugins/sudoers/auth/pam.c:389 +msgid "Account expired or PAM config lacks an \"account\" section for sudo, contact your system administrator" +msgstr "Účtu vypršela platnost nebo v konfiguraci PAM pro sudo chybí sekce „account“. Kontaktujte správce svého systému" + +#: plugins/sudoers/auth/pam.c:397 plugins/sudoers/auth/pam.c:402 +#, c-format +msgid "PAM account management error: %s" +msgstr "Chyba správy účtů PAM: %s" + +#: plugins/sudoers/auth/rfc1938.c:99 plugins/sudoers/visudo.c:271 +#, c-format +msgid "you do not exist in the %s database" +msgstr "v databázi %s neexistujete" + +#: plugins/sudoers/auth/securid5.c:75 +msgid "failed to initialise the ACE API library" +msgstr "inicializace knihovny ACE selhala" + +#: plugins/sudoers/auth/securid5.c:106 +msgid "unable to contact the SecurID server" +msgstr "nelze kontaktovat server SecurID" + +#: plugins/sudoers/auth/securid5.c:115 +msgid "User ID locked for SecurID Authentication" +msgstr "ID uživatele je pro autentizaci SecurID uzamčeno" + +#: plugins/sudoers/auth/securid5.c:119 plugins/sudoers/auth/securid5.c:171 +msgid "invalid username length for SecurID" +msgstr "neplatná délka uživatelského jména pro SecurID" + +#: plugins/sudoers/auth/securid5.c:123 plugins/sudoers/auth/securid5.c:176 +msgid "invalid Authentication Handle for SecurID" +msgstr "neplatný deskriptor autentizace pro SecurID" + +#: plugins/sudoers/auth/securid5.c:127 +msgid "SecurID communication failed" +msgstr "komunikace se SecurID selhala" + +#: plugins/sudoers/auth/securid5.c:131 plugins/sudoers/auth/securid5.c:219 +msgid "unknown SecurID error" +msgstr "neznámá chyba SecurID" + +#: plugins/sudoers/auth/securid5.c:166 +msgid "invalid passcode length for SecurID" +msgstr "neplatná délka kódu pro SecurID" + +#: plugins/sudoers/auth/sia.c:69 plugins/sudoers/auth/sia.c:126 +msgid "unable to initialize SIA session" +msgstr "nelze inicializovat relaci SIA" + +#: plugins/sudoers/auth/sudo_auth.c:135 +msgid "invalid authentication methods" +msgstr "neplatné autentizační metody" + +#: plugins/sudoers/auth/sudo_auth.c:137 +msgid "Invalid authentication methods compiled into sudo! You may not mix standalone and non-standalone authentication." +msgstr "Sudo bylo sestaveno s neplatnými autentizačními metodami! Nesmíte míchat samostatnou a nesamostatnou autentizaci." + +#: plugins/sudoers/auth/sudo_auth.c:258 plugins/sudoers/auth/sudo_auth.c:310 +msgid "no authentication methods" +msgstr "žádné autentizační metody" + +#: plugins/sudoers/auth/sudo_auth.c:260 +msgid "There are no authentication methods compiled into sudo! If you want to turn off authentication, use the --disable-authentication configure option." +msgstr "Sudo bylo sestaveno bez autentizačních metod! Chcete-li vypnout autentizaci, použijte při sestavování přepínač --disable-autentizaci." + +#: plugins/sudoers/auth/sudo_auth.c:312 +msgid "Unable to initialize authentication methods." +msgstr "Nelze inicializovat metody autentizace." + +#: plugins/sudoers/auth/sudo_auth.c:486 +msgid "Authentication methods:" +msgstr "Autentizační metody:" + +#: plugins/sudoers/bsm_audit.c:123 plugins/sudoers/bsm_audit.c:214 +msgid "Could not determine audit condition" +msgstr "Nebylo možné určit podmínku pro audit" + +#: plugins/sudoers/bsm_audit.c:188 plugins/sudoers/bsm_audit.c:277 +msgid "unable to commit audit record" +msgstr "auditní zprávu nelze odeslat" + +#: plugins/sudoers/check.c:285 +#, c-format +msgid "error reading lecture file %s" +msgstr "chyba při čtení souboru lekce %s" + +#: plugins/sudoers/check.c:288 +#, c-format +msgid "ignoring lecture file %s: not a regular file" +msgstr "ignoruje se soubor lekce %s: nejedná se o běžný soubor" + +#: plugins/sudoers/check.c:301 +msgid "" +"\n" +"We trust you have received the usual lecture from the local System\n" +"Administrator. It usually boils down to these three things:\n" +"\n" +" #1) Respect the privacy of others.\n" +" #2) Think before you type.\n" +" #3) With great power comes great responsibility.\n" +"\n" +msgstr "" +"\n" +"Věříme, že jste od správce místního systému obdrželi obvyklé školení.\n" +"Obvykle se jedná o tyto tři věci:\n" +"\n" +" 1. Respektujte soukromí druhých.\n" +" 2. Přemýšlejte, než začnete psát.\n" +" 3. S velkými právy přichází velká zodpovědnost.\n" +"\n" + +#: plugins/sudoers/check.c:309 +msgid "" +"For security reasons, the password you type will not be visible.\n" +"\n" +msgstr "" +"Z bezpečnostních důvodů zadávané heslo nebude zobrazeno.\n" +"\n" + +#: plugins/sudoers/check.c:353 plugins/sudoers/check.c:363 +#: plugins/sudoers/parse.c:82 plugins/sudoers/sudoers.c:945 +#: plugins/sudoers/sudoers.c:966 plugins/sudoers/tsdump.c:119 +#, c-format +msgid "unknown uid %u" +msgstr "neznámé UID %u" + +#: plugins/sudoers/check_aliases.c:99 plugins/sudoers/defaults.c:1279 +#, c-format +msgid "%s: %s\n" +msgstr "%s: %s\n" + +#: plugins/sudoers/check_aliases.c:133 +#, c-format +msgid "cycle in %s \"%s\"" +msgstr "smyčka v %s „%s“" + +#: plugins/sudoers/check_aliases.c:136 +#, c-format +msgid "%s \"%s\" referenced but not defined" +msgstr "%s „%s“ použit, ale nedefinován" + +#: plugins/sudoers/cvtsudoers.c:209 +#, c-format +msgid "order increment: %s: %s" +msgstr "přírůstek pořadí: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:228 +#, c-format +msgid "starting order: %s: %s" +msgstr "počáteční pořadí: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:238 +#, c-format +msgid "order padding: %s: %s" +msgstr "odsazení pořadí: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:248 plugins/sudoers/visudo.c:184 +#, c-format +msgid "%s grammar version %d\n" +msgstr "verze gramatiky %s je %d\n" + +#: plugins/sudoers/cvtsudoers.c:277 plugins/sudoers/testsudoers.c:159 +#, c-format +msgid "unsupported input format %s" +msgstr "nepodporovaný formát vstupu %s" + +#: plugins/sudoers/cvtsudoers.c:295 +#, c-format +msgid "unsupported output format %s" +msgstr "nepodporovaný formát výstupu %s" + +#: plugins/sudoers/cvtsudoers.c:385 +#, c-format +msgid "%s: input and output files must be different" +msgstr "%s: vstupní a výstupní soubory se musí lišit" + +#: plugins/sudoers/cvtsudoers.c:399 plugins/sudoers/sudoers.c:166 +#: plugins/sudoers/sudoers.c:222 plugins/sudoers/testsudoers.c:254 +#: plugins/sudoers/visudo.c:280 plugins/sudoers/visudo.c:654 +msgid "unable to initialize sudoers default values" +msgstr "nelze inicializovat výchozí hodnoty sudoers" + +#: plugins/sudoers/cvtsudoers.c:525 plugins/sudoers/ldap_conf.c:434 +#, c-format +msgid "%s: %s: %s: %s" +msgstr "%s: %s: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:584 +#, c-format +msgid "%s: unknown key word %s" +msgstr "%s: neznámé klíčové slovo %s" + +#: plugins/sudoers/cvtsudoers.c:630 +#, c-format +msgid "invalid defaults type: %s" +msgstr "neplatný druh položky defaults: %s" + +#: plugins/sudoers/cvtsudoers.c:653 +#, c-format +msgid "invalid suppression type: %s" +msgstr "neplatný druh potlačení: %s" + +#: plugins/sudoers/cvtsudoers.c:694 plugins/sudoers/cvtsudoers.c:710 +#, c-format +msgid "invalid filter: %s" +msgstr "neplatný filtr: %s" + +#: plugins/sudoers/cvtsudoers.c:754 plugins/sudoers/visudo.c:982 +#, c-format +msgid "failed to parse %s file, unknown error" +msgstr "rozbor souboru %s se nezdařil, neznámá chyba" + +#: plugins/sudoers/cvtsudoers.c:1478 plugins/sudoers/sudoreplay.c:1142 +#: plugins/sudoers/timestamp.c:343 plugins/sudoers/timestamp.c:346 +#, c-format +msgid "unable to write to %s" +msgstr "do %s nelze zapsat" + +#: plugins/sudoers/cvtsudoers.c:1506 +#, c-format +msgid "" +"%s - convert between sudoers file formats\n" +"\n" +msgstr "" +"%s – převádí mezí formáty souboru sudoers\n" +"\n" + +#: plugins/sudoers/cvtsudoers.c:1508 +msgid "" +"\n" +"Options:\n" +" -b, --base=dn the base DN for sudo LDAP queries\n" +" -c, --config=conf_file the path to the configuration file\n" +" -d, --defaults=deftypes only convert Defaults of the specified types\n" +" -e, --expand-aliases expand aliases when converting\n" +" -f, --output-format=format set output format: JSON, LDIF or sudoers\n" +" -i, --input-format=format set input format: LDIF or sudoers\n" +" -I, --increment=num amount to increase each sudoOrder by\n" +" -h, --help display help message and exit\n" +" -m, --match=filter only convert entries that match the filter\n" +" -M, --match-local match filter uses passwd and group databases\n" +" -o, --output=output_file write converted sudoers to output_file\n" +" -O, --order-start=num starting point for first sudoOrder\n" +" -p, --prune-matches prune non-matching users, groups and hosts\n" +" -P, --padding=num base padding for sudoOrder increment\n" +" -s, --suppress=sections suppress output of certain sections\n" +" -V, --version display version information and exit" +msgstr "" +"\n" +"Přepínače:\n" +" -b, --base=dn base DN pro ldapové dotazy suda\n" +" -c, --config=konfigurační_soubor\n" +" cesta ke konfiguračnímu souboru\n" +" -d, --defaults=druhydef převede pouze Defaults zadaných druhů\n" +" -e, --expand-aliases při převodu expanduje aliasy\n" +" -f, --output-format=formát nastaví formát výstupu: JSON, LDIF nebo sudoers\n" +" -i, --input-format=formát nastaví formát vstupu: LDIF nebo sudoers\n" +" -I, --increment=číslo množství, o které zvýšit každou definici sudoOrder\n" +" -h, --help zobrazí zprávu s nápovědou a skončí\n" +" -m, --match=filtr převede pouze položky, které odpovídají filtru\n" +" -M, --match-local porovnávací filtr použije databáze passwd a group\n" +" -o, --output=výstupní_soubor\n" +" zapíše převedený sudoers to výstupního_souboru\n" +" -O, --order-start=číslo počáteční bod pro první sudoOrder\n" +" -p, --prune-matches odstraní neodpovídající uživatele, skupiny a stroje\n" +" -P, --padding=číslo základní odsazení přírůstku sudoOrder\n" +" -s, --suppress=oddíl potlačí výstup jistých oddílů\n" +" -V, --version zobrazí údaje o verzi a skončí" + +#: plugins/sudoers/cvtsudoers_csv.c:192 plugins/sudoers/cvtsudoers_csv.c:199 +#: plugins/sudoers/cvtsudoers_ldif.c:244 plugins/sudoers/cvtsudoers_ldif.c:251 +#: plugins/sudoers/cvtsudoers_ldif.c:592 plugins/sudoers/env.c:340 +#: plugins/sudoers/env.c:347 plugins/sudoers/env.c:458 +#: plugins/sudoers/ldap.c:528 plugins/sudoers/ldap.c:761 +#: plugins/sudoers/ldap.c:1134 plugins/sudoers/ldap_conf.c:222 +#: plugins/sudoers/ldap_conf.c:313 plugins/sudoers/ldap_util.c:486 +#: plugins/sudoers/linux_audit.c:92 plugins/sudoers/logging.c:461 +#: plugins/sudoers/logging.c:817 plugins/sudoers/logging.c:827 +#: plugins/sudoers/policy.c:807 plugins/sudoers/policy.c:818 +#: plugins/sudoers/prompt.c:168 plugins/sudoers/serialize_list.c:62 +#: plugins/sudoers/serialize_list.c:71 plugins/sudoers/strvec_join.c:62 +#: plugins/sudoers/sudoreplay.c:1339 plugins/sudoers/sudoreplay.c:1345 +#: plugins/sudoers/sudoreplay.c:1351 plugins/sudoers/testsudoers.c:245 +#: plugins/sudoers/toke_util.c:213 toke.l:995 toke.l:1197 +#, c-format +msgid "internal error, %s overflow" +msgstr "vnitřní chyba, přetečení %s" + +#: plugins/sudoers/cvtsudoers_csv.c:452 plugins/sudoers/cvtsudoers_csv.c:466 +#: plugins/sudoers/cvtsudoers_json.c:657 plugins/sudoers/cvtsudoers_json.c:672 +#: plugins/sudoers/cvtsudoers_ldif.c:347 plugins/sudoers/cvtsudoers_ldif.c:360 +#: plugins/sudoers/ldap.c:512 +msgid "unable to get GMT time" +msgstr "nelze získat čas GMT" + +#: plugins/sudoers/cvtsudoers_csv.c:457 plugins/sudoers/cvtsudoers_csv.c:471 +#: plugins/sudoers/cvtsudoers_json.c:662 plugins/sudoers/cvtsudoers_json.c:677 +#: plugins/sudoers/cvtsudoers_ldif.c:352 plugins/sudoers/cvtsudoers_ldif.c:365 +#: plugins/sudoers/ldap.c:520 +msgid "unable to format timestamp" +msgstr "nelze naformátovat časový údaj" + +#: plugins/sudoers/cvtsudoers_json.c:480 plugins/sudoers/cvtsudoers_json.c:515 +#: plugins/sudoers/cvtsudoers_json.c:728 +#, c-format +msgid "%s:%d:%d: unknown defaults entry \"%s\"" +msgstr "%s:%d:%d: neznámá položka defaults „%s“" + +#: plugins/sudoers/cvtsudoers_ldif.c:661 +#, c-format +msgid "too many sudoers entries, maximum %u" +msgstr "příliš mnoho záznamů sudoers, maximum je %u" + +#: plugins/sudoers/cvtsudoers_ldif.c:704 +msgid "the SUDOERS_BASE environment variable is not set and the -b option was not specified." +msgstr "proměnná prostředí SUDOERS_BASE není nastavená a přepínač -b nebyl zadán." + +#: plugins/sudoers/cvtsudoers_merge.c:273 +#: plugins/sudoers/cvtsudoers_merge.c:309 +#, c-format +msgid "%s:%d:%d: converting host list to ALL" +msgstr "%s:%d:%d: seznam strojů se převádí na ALL" + +#: plugins/sudoers/cvtsudoers_merge.c:545 +#, c-format +msgid "unable to find alias %s" +msgstr "alias %s nelze nalézt" + +#: plugins/sudoers/cvtsudoers_merge.c:548 +#, c-format +msgid "%s:%d:%d: renaming alias %s to %s" +msgstr "%s:%d:%d: alias %s se přejmenovává na %s" + +#: plugins/sudoers/cvtsudoers_merge.c:605 +#, c-format +msgid "%s:%d:%d: removing duplicate alias %s" +msgstr "%s:%d:%d: zdvojený alias %s se odstraňuje" + +#: plugins/sudoers/cvtsudoers_merge.c:830 +#, c-format +msgid "%s:%d:%d: conflicting Defaults entry \"%s\" host-specific in %s:%d:%d" +msgstr "%s:%d:%d: neslučitelná položka Defaults „%s“ určená pro stroj na %s:%d:%d" + +#: plugins/sudoers/cvtsudoers_merge.c:864 +#, c-format +msgid "%s:%d:%d: made Defaults \"%s\" specific to host %s" +msgstr "%s:%d:%d: Defaults „%s“ se vyhrazuje pro stroj %s" + +#: plugins/sudoers/cvtsudoers_merge.c:882 +#, c-format +msgid "%s:%d:%d: unable to make Defaults \"%s\" host-specific" +msgstr "%s:%d:%d: Defaults „%s“ nelze vyhradit pro stroj" + +#: plugins/sudoers/cvtsudoers_merge.c:892 +#, c-format +msgid "%s:%d:%d: removing Defaults \"%s\" overridden by subsequent entries" +msgstr "%s:%d:%d: Defaults „%s“ přebitá následujícími položkami se odstraňuje" + +#: plugins/sudoers/cvtsudoers_merge.c:1088 +#, c-format +msgid "%s:%d:%d: merging userspec into %s:%d:%d" +msgstr "%s:%d:%d: userspec se slučuje do %s:%d:%d" + +#: plugins/sudoers/cvtsudoers_merge.c:1182 +#, c-format +msgid "%s:%d:%d: removing userspec overridden by subsequent entries" +msgstr "%s:%d:%d: userspec přebitá následujícími položkami se odstraňuje" + +#: plugins/sudoers/def_data.c:56 +#, c-format +msgid "Syslog facility if syslog is being used for logging: %s" +msgstr "Obor systémového protokolu, je-li syslog použit pro protokolování: %s" + +#: plugins/sudoers/def_data.c:60 +#, c-format +msgid "Syslog priority to use when user authenticates successfully: %s" +msgstr "Priorita systémového protokolu, která se použije při úspěšné autentizaci uživatele: %s" + +#: plugins/sudoers/def_data.c:64 +#, c-format +msgid "Syslog priority to use when user authenticates unsuccessfully: %s" +msgstr "Priorita systémového protokolu, která se použije při neúspěšné autentizaci: %s" + +#: plugins/sudoers/def_data.c:68 +msgid "Put OTP prompt on its own line" +msgstr "Dotaz na jednorázový kód bude na vlastním řádku" + +#: plugins/sudoers/def_data.c:72 +msgid "Ignore '.' in $PATH" +msgstr "Ignoruje „.“ v PATH" + +#: plugins/sudoers/def_data.c:76 +msgid "Always send mail when sudo is run" +msgstr "Vždy, když se použije sudo, odešle e-mail" + +#: plugins/sudoers/def_data.c:80 +msgid "Send mail if user authentication fails" +msgstr "Odešle e-mail, když autentizace uživatele selže" + +#: plugins/sudoers/def_data.c:84 +msgid "Send mail if the user is not in sudoers" +msgstr "Odešle e-mail, pokud uživatel není v sudoers" + +#: plugins/sudoers/def_data.c:88 +msgid "Send mail if the user is not in sudoers for this host" +msgstr "Odešle e-mail, když uživatel není v sudoers uveden pro tento stroj" + +#: plugins/sudoers/def_data.c:92 +msgid "Send mail if the user is not allowed to run a command" +msgstr "Odešle e-mail, když uživatel nemá dovoleno spustit příkaz" + +#: plugins/sudoers/def_data.c:96 +msgid "Send mail if the user tries to run a command" +msgstr "Odešle e-mail, když uživatel zkusí spustit příkaz" + +#: plugins/sudoers/def_data.c:100 +msgid "Use a separate timestamp for each user/tty combo" +msgstr "Pro každou kombinaci uživatele a TTY použije samostatný časovač" + +#: plugins/sudoers/def_data.c:104 +msgid "Lecture user the first time they run sudo" +msgstr "Před prvním použitím sudo proškolí uživatele" + +#: plugins/sudoers/def_data.c:108 +#, c-format +msgid "File containing the sudo lecture: %s" +msgstr "Soubor obsahující školení k sudo: %s" + +#: plugins/sudoers/def_data.c:112 +msgid "Require users to authenticate by default" +msgstr "Standardně vyžaduje, aby se uživatelé autentizovali" + +#: plugins/sudoers/def_data.c:116 +msgid "Root may run sudo" +msgstr "Root může spustit sudo" + +#: plugins/sudoers/def_data.c:120 +msgid "Log the hostname in the (non-syslog) log file" +msgstr "Do (nesyslogového) protokolu zaznamenává název stroje" + +#: plugins/sudoers/def_data.c:124 +msgid "Log the year in the (non-syslog) log file" +msgstr "Do (nesyslogového) protokolu zaznamenává rok" + +#: plugins/sudoers/def_data.c:128 +msgid "If sudo is invoked with no arguments, start a shell" +msgstr "Je-li sudo zavoláno bez argumentů, spustí shell" + +#: plugins/sudoers/def_data.c:132 +msgid "Set $HOME to the target user when starting a shell with -s" +msgstr "Nastaví HOME na cílového uživatele, když se pouští shell s -s" + +#: plugins/sudoers/def_data.c:136 +msgid "Always set $HOME to the target user's home directory" +msgstr "Vždy nastaví HOME na domovský adresář cílového uživatele" + +#: plugins/sudoers/def_data.c:140 +msgid "Allow some information gathering to give useful error messages" +msgstr "Dovolí sběr některých údajů za účelem užitečných chybových zpráv" + +#: plugins/sudoers/def_data.c:144 +msgid "Require fully-qualified hostnames in the sudoers file" +msgstr "Vyžaduje v souboru sudoers plně kvalifikované názvy strojů" + +#: plugins/sudoers/def_data.c:148 +msgid "Insult the user when they enter an incorrect password" +msgstr "Urazí uživatele, pokud zadá chybné heslo" + +#: plugins/sudoers/def_data.c:152 +msgid "Only allow the user to run sudo if they have a tty" +msgstr "Dovolí uživateli spustit sudo, pouze když má TTY" + +#: plugins/sudoers/def_data.c:156 +msgid "Visudo will honor the EDITOR environment variable" +msgstr "Visudo bude dodržovat proměnou prostředí EDITOR" + +#: plugins/sudoers/def_data.c:160 +msgid "Prompt for root's password, not the users's" +msgstr "Ptá se heslo roota, ne na heslo uživatele" + +#: plugins/sudoers/def_data.c:164 +msgid "Prompt for the runas_default user's password, not the users's" +msgstr "Ptá se na heslo runas_default uživatele, ne na heslo uživatele" + +#: plugins/sudoers/def_data.c:168 +msgid "Prompt for the target user's password, not the users's" +msgstr "Ptá se na heslo cílového uživatele, ne na heslo uživatele" + +#: plugins/sudoers/def_data.c:172 +msgid "Apply defaults in the target user's login class if there is one" +msgstr "Použije výchozí nastavení v přihlašovací třídě cílového uživatele, existuje-li" + +#: plugins/sudoers/def_data.c:176 +msgid "Set the LOGNAME and USER environment variables" +msgstr "Nastaví proměnné prostředí LOGNAME a USER" + +#: plugins/sudoers/def_data.c:180 +msgid "Only set the effective uid to the target user, not the real uid" +msgstr "Nastaví pouze efektivní UID na cílového uživatele, nikoliv reálné UID" + +#: plugins/sudoers/def_data.c:184 +msgid "Don't initialize the group vector to that of the target user" +msgstr "Neinicializuje vektor skupin na vektor cílového uživatele" + +#: plugins/sudoers/def_data.c:188 +#, c-format +msgid "Length at which to wrap log file lines (0 for no wrap): %u" +msgstr "Délka zlomu řádků v protokolu (0 pro nezalamování): %u" + +#: plugins/sudoers/def_data.c:192 +#, c-format +msgid "Authentication timestamp timeout: %.1f minutes" +msgstr "Limit na časové údaje autentizace: %.1f min" + +#: plugins/sudoers/def_data.c:196 +#, c-format +msgid "Password prompt timeout: %.1f minutes" +msgstr "Limit na výzvu k heslu: %.1f min" + +#: plugins/sudoers/def_data.c:200 +#, c-format +msgid "Number of tries to enter a password: %u" +msgstr "Počet pokusů na zadání hesla: %u" + +#: plugins/sudoers/def_data.c:204 +#, c-format +msgid "Umask to use or 0777 to use user's: 0%o" +msgstr "Umask nebo 0777 pro hodnotu uživatele: 0%o" + +#: plugins/sudoers/def_data.c:208 +#, c-format +msgid "Path to log file: %s" +msgstr "Cesta k souboru s protokolem: %s" + +#: plugins/sudoers/def_data.c:212 +#, c-format +msgid "Path to mail program: %s" +msgstr "Cesta k poštovnímu programu: %s" + +#: plugins/sudoers/def_data.c:216 +#, c-format +msgid "Flags for mail program: %s" +msgstr "Přepínače pro poštovní program: %s" + +#: plugins/sudoers/def_data.c:220 +#, c-format +msgid "Address to send mail to: %s" +msgstr "Adresa, kam zasílat poštu: %s" + +#: plugins/sudoers/def_data.c:224 +#, c-format +msgid "Address to send mail from: %s" +msgstr "Adrese, ze které zasílat poštu: %s" + +#: plugins/sudoers/def_data.c:228 +#, c-format +msgid "Subject line for mail messages: %s" +msgstr "Řádek s předmětem pro poštovní zprávy: %s" + +#: plugins/sudoers/def_data.c:232 +#, c-format +msgid "Incorrect password message: %s" +msgstr "Zpráva při chybném hesle: %s" + +#: plugins/sudoers/def_data.c:236 +#, c-format +msgid "Path to lecture status dir: %s" +msgstr "Cesta k adresáři se stavy lekcí: %s" + +#: plugins/sudoers/def_data.c:240 +#, c-format +msgid "Path to authentication timestamp dir: %s" +msgstr "Cesta k adresáři s časovými údaji autentizace: %s" + +#: plugins/sudoers/def_data.c:244 +#, c-format +msgid "Owner of the authentication timestamp dir: %s" +msgstr "Vlastník adresáře s časovými údaji autentizace: %s" + +#: plugins/sudoers/def_data.c:248 +#, c-format +msgid "Users in this group are exempt from password and PATH requirements: %s" +msgstr "Uživatelé v této skupině jsou vyjmuti z požadavků na heslo na PATH: %s" + +#: plugins/sudoers/def_data.c:252 +#, c-format +msgid "Default password prompt: %s" +msgstr "Výchozí výzva pro heslo: %s" + +#: plugins/sudoers/def_data.c:256 +msgid "If set, passprompt will override system prompt in all cases." +msgstr "Je-li nastaveno, passprompt přebije systémovou výzvu ve všech případech." + +#: plugins/sudoers/def_data.c:260 +#, c-format +msgid "Default user to run commands as: %s" +msgstr "Výchozí uživatel, pro kterým spouštět příkazy: %s" + +#: plugins/sudoers/def_data.c:264 +#, c-format +msgid "Value to override user's $PATH with: %s" +msgstr "Hodnota, kterou přebít PATH uživatele: %s" + +#: plugins/sudoers/def_data.c:268 +#, c-format +msgid "Path to the editor for use by visudo: %s" +msgstr "Cesta k editoru pro potřeby visudo: %s" + +#: plugins/sudoers/def_data.c:272 +#, c-format +msgid "When to require a password for 'list' pseudocommand: %s" +msgstr "Kdy vyžadovat heslo pro pseudopříkaz „list“: %s" + +#: plugins/sudoers/def_data.c:276 +#, c-format +msgid "When to require a password for 'verify' pseudocommand: %s" +msgstr "Kdy vyžadovat heslo pro pseudopříkaz „verify“: %s" + +#: plugins/sudoers/def_data.c:280 +msgid "Preload the sudo_noexec library which replaces the exec functions" +msgstr "Zavést knihovnu sudo_noexec, která nahrazuje funkce exec" + +#: plugins/sudoers/def_data.c:284 +msgid "If LDAP directory is up, do we ignore local sudoers file" +msgstr "Pokud je adresář LDAP dostupný, ignorovat místní soubor sudoers" + +#: plugins/sudoers/def_data.c:288 +#, c-format +msgid "File descriptors >= %d will be closed before executing a command" +msgstr "Souborové deskriptory >= %d budou před spuštěním příkazu uzavřeny" + +#: plugins/sudoers/def_data.c:292 +msgid "If set, users may override the value of \"closefrom\" with the -C option" +msgstr "Je-li nastaveno, uživatelé mohou přebít hodnotu „closefrom“ přepínačem -C" + +#: plugins/sudoers/def_data.c:296 +msgid "Allow users to set arbitrary environment variables" +msgstr "Dovolit uživatelům nastavit libovolné proměnné prostředí" + +#: plugins/sudoers/def_data.c:300 +msgid "Reset the environment to a default set of variables" +msgstr "Vrátit prostředí do výchozí množiny proměnných" + +#: plugins/sudoers/def_data.c:304 +msgid "Environment variables to check for safety:" +msgstr "Proměnné prostředí kontrolované na bezpečnost:" + +#: plugins/sudoers/def_data.c:308 +msgid "Environment variables to remove:" +msgstr "Proměnné prostředí, které se mají odstranit:" + +#: plugins/sudoers/def_data.c:312 +msgid "Environment variables to preserve:" +msgstr "Proměnné prostředí, které se mají zachovat:" + +#: plugins/sudoers/def_data.c:316 +#, c-format +msgid "SELinux role to use in the new security context: %s" +msgstr "Selinuxový role, která se použije v novém bezpečnostním kontextu: %s" + +#: plugins/sudoers/def_data.c:320 +#, c-format +msgid "SELinux type to use in the new security context: %s" +msgstr "Selinuxový typ, který se použije v novém bezpečnostním kontextu: %s" + +#: plugins/sudoers/def_data.c:324 +#, c-format +msgid "Path to the sudo-specific environment file: %s" +msgstr "Cesta k souboru s prostředím určeném pro sudo: %s" + +#: plugins/sudoers/def_data.c:328 +#, c-format +msgid "Path to the restricted sudo-specific environment file: %s" +msgstr "Cesta k souboru s omezeným prostředím určeném pro sudo: %s" + +#: plugins/sudoers/def_data.c:332 +#, c-format +msgid "Locale to use while parsing sudoers: %s" +msgstr "Národní prostředí, které se použije pro rozbor sudoers: %s" + +#: plugins/sudoers/def_data.c:336 +msgid "Allow sudo to prompt for a password even if it would be visible" +msgstr "Dovolit sudu ptát se na heslo, i kdyby bylo čitelné" + +#: plugins/sudoers/def_data.c:340 +msgid "Provide visual feedback at the password prompt when there is user input" +msgstr "Indikovat vstup uživatele při dotazu na heslo" + +#: plugins/sudoers/def_data.c:344 +msgid "Use faster globbing that is less accurate but does not access the filesystem" +msgstr "Použit rychlejší expanzi globů, která je méně přesná, ale nepřistupuje k souborovému systému" + +#: plugins/sudoers/def_data.c:348 +msgid "The umask specified in sudoers will override the user's, even if it is more permissive" +msgstr "Umask zadaná v sudoers přebije uživatelovu, i když je volnější" + +#: plugins/sudoers/def_data.c:352 +msgid "Log user's input for the command being run" +msgstr "Zaznamenávat vstup uživatele pro spouštěný příkaz" + +#: plugins/sudoers/def_data.c:356 +msgid "Log the command's standard input if not connected to a terminal" +msgstr "Zaznamenávat standardní vstup příkazu, není-li připojen terminál" + +#: plugins/sudoers/def_data.c:360 +msgid "Log the user's terminal input for the command being run" +msgstr "Zaznamenávat vstup terminálu uživatele pro spouštěný příkaz" + +#: plugins/sudoers/def_data.c:364 +msgid "Log the output of the command being run" +msgstr "Zaznamenávat výstup spouštěného příkazu" + +#: plugins/sudoers/def_data.c:368 +msgid "Log the command's standard output if not connected to a terminal" +msgstr "Zaznamenávat standardní výstup příkazu, není připojen terminál" + +#: plugins/sudoers/def_data.c:372 +msgid "Log the command's standard error if not connected to a terminal" +msgstr "Zaznamenávat chybový výstup příkazu, není-li připojen terminál" + +#: plugins/sudoers/def_data.c:376 +msgid "Log the terminal output of the command being run" +msgstr "Zaznamenávat výstup terminálu spouštěného příkazu" + +#: plugins/sudoers/def_data.c:380 +msgid "Compress I/O logs using zlib" +msgstr "Komprimovat protokoly o vstupu/výstupu pomocí zlib" + +#: plugins/sudoers/def_data.c:384 +msgid "Always run commands in a pseudo-tty" +msgstr "Vždy spouštět příkazy v pseudoTTY" + +#: plugins/sudoers/def_data.c:388 +#, c-format +msgid "Plugin for non-Unix group support: %s" +msgstr "Modul pro podporu neunixových skupin: %s" + +#: plugins/sudoers/def_data.c:392 +#, c-format +msgid "Directory in which to store input/output logs: %s" +msgstr "Adresář, kam ukládat protokoly o vstupu/výstupu: %s" + +#: plugins/sudoers/def_data.c:396 +#, c-format +msgid "File in which to store the input/output log: %s" +msgstr "Soubor, do kterého ukládat protokol o vstupu/výstupu: %s" + +#: plugins/sudoers/def_data.c:400 +msgid "Add an entry to the utmp/utmpx file when allocating a pty" +msgstr "Při alokaci PTY přidat záznam do souboru utmp/utmpx" + +#: plugins/sudoers/def_data.c:404 +msgid "Set the user in utmp to the runas user, not the invoking user" +msgstr "Do utmp zapisovat runas uživatele, nikoliv uživatele volajícího" + +#: plugins/sudoers/def_data.c:408 +#, c-format +msgid "Set of permitted privileges: %s" +msgstr "Množina povolujících práv: %s" + +#: plugins/sudoers/def_data.c:412 +#, c-format +msgid "Set of limit privileges: %s" +msgstr "Množina omezujících práv: %s" + +#: plugins/sudoers/def_data.c:416 +msgid "Run commands on a pty in the background" +msgstr "Spouštět příkazy v PTY na pozadí" + +#: plugins/sudoers/def_data.c:420 +#, c-format +msgid "PAM service name to use: %s" +msgstr "Použít tuto službu PAM: %s" + +#: plugins/sudoers/def_data.c:424 +#, c-format +msgid "PAM service name to use for login shells: %s" +msgstr "Název služby PAM, která se použije pro přihlašovací shelly: %s" + +#: plugins/sudoers/def_data.c:428 +#, c-format +msgid "PAM service name to use when sudo is run with the -A option: %s" +msgstr "Název služby PAM, která se použije, když sudo běží s přepínačem -A: %s" + +#: plugins/sudoers/def_data.c:432 +msgid "Attempt to establish PAM credentials for the target user" +msgstr "Pokusit se získat pověření PAM pro cílového uživatele" + +#: plugins/sudoers/def_data.c:436 +msgid "Create a new PAM session for the command to run in" +msgstr "Vytvořit pro spouštěný příkaz novou relaci PAM" + +#: plugins/sudoers/def_data.c:440 +msgid "Perform PAM account validation management" +msgstr "Ověřit platnost účtu pomocí PAM" + +#: plugins/sudoers/def_data.c:444 +#, c-format +msgid "Maximum I/O log sequence number: %s" +msgstr "Maximální pořadové číslo protokolu vstupu/výstupu: %s" + +#: plugins/sudoers/def_data.c:448 +msgid "Enable sudoers netgroup support" +msgstr "Zapnout v sudoers podporu netgroup" + +#: plugins/sudoers/def_data.c:452 +msgid "Check parent directories for writability when editing files with sudoedit" +msgstr "Kontrolovat nadřazené adresáře na možnost zápisu při úpravě souborů pomocí sudoedit" + +#: plugins/sudoers/def_data.c:456 +msgid "Follow symbolic links when editing files with sudoedit" +msgstr "Následovat symbolické odkazy při úpravě souborů pomocí sudoedit" + +#: plugins/sudoers/def_data.c:460 +msgid "Query the group plugin for unknown system groups" +msgstr "Dotazovat se modulu pro skupiny na neznámé systémové skupiny" + +#: plugins/sudoers/def_data.c:464 +msgid "Match netgroups based on the entire tuple: user, host and domain" +msgstr "Porovnávat netgroups na celou n-tici: uživatel, stroj a doména" + +#: plugins/sudoers/def_data.c:468 +msgid "Allow commands to be run even if sudo cannot write to the audit log" +msgstr "Dovolit spuštění příkazu, i když sudo nemůže zapsat do auditního protokolu" + +#: plugins/sudoers/def_data.c:472 +msgid "Allow commands to be run even if sudo cannot write to the I/O log" +msgstr "Dovolit spuštění příkazu, i když sudo nemůže zapsat do I/O protokolu" + +#: plugins/sudoers/def_data.c:476 +msgid "Allow commands to be run even if sudo cannot write to the log file" +msgstr "Dovolit spuštění příkazu, i když sudo nemůže zapsat do souboru s protokolem" + +#: plugins/sudoers/def_data.c:480 +msgid "Resolve groups in sudoers and match on the group ID, not the name" +msgstr "Překládat skupiny v sudoers a hledat shodu na ID skupiny, ne na jméně" + +#: plugins/sudoers/def_data.c:484 +#, c-format +msgid "Log entries larger than this value will be split into multiple syslog messages: %u" +msgstr "Položky protokolu větší než tato hodnota budou rozděleny do více zpráv syslogu: %u" + +#: plugins/sudoers/def_data.c:488 +#, c-format +msgid "User that will own the I/O log files: %s" +msgstr "Uživatel, který bude vlastnit soubory s I/O protokolem: %s" + +#: plugins/sudoers/def_data.c:492 +#, c-format +msgid "Group that will own the I/O log files: %s" +msgstr "Skupina, která bude vlastnit soubory s I/O protokolem: %s" + +#: plugins/sudoers/def_data.c:496 +#, c-format +msgid "File mode to use for the I/O log files: 0%o" +msgstr "Přístupová práva k souboru s I/O protokolem: 0%o" + +#: plugins/sudoers/def_data.c:500 +#, c-format +msgid "Execute commands by file descriptor instead of by path: %s" +msgstr "Spustit příkazy podle deskriptoru souboru namísto podle cesty: %s" + +#: plugins/sudoers/def_data.c:504 +msgid "Ignore unknown Defaults entries in sudoers instead of producing a warning" +msgstr "Ignorovat neznámé položky Defaults v sudoers namísto vypisování varování" + +#: plugins/sudoers/def_data.c:508 +#, c-format +msgid "Time in seconds after which the command will be terminated: %u" +msgstr "Čas v sekundách, po kterém bude příkaz ukončen: %u" + +#: plugins/sudoers/def_data.c:512 +msgid "Allow the user to specify a timeout on the command line" +msgstr "Povolit uživateli zadat časový limit na příkazovém řádku" + +#: plugins/sudoers/def_data.c:516 +msgid "Flush I/O log data to disk immediately instead of buffering it" +msgstr "Zapisovat log na disk ihned namísto po větších částech" + +#: plugins/sudoers/def_data.c:520 +msgid "Include the process ID when logging via syslog" +msgstr "Při protokolování přes syslog zahrnout ID procesu" + +#: plugins/sudoers/def_data.c:524 +#, c-format +msgid "Type of authentication timestamp record: %s" +msgstr "Druh záznamu s časovým údajem autentizace: %s" + +#: plugins/sudoers/def_data.c:528 +#, c-format +msgid "Authentication failure message: %s" +msgstr "Zpráva o selhání autentizace: %s" + +#: plugins/sudoers/def_data.c:532 +msgid "Ignore case when matching user names" +msgstr "Ignorovat velikost znaků při porovnávání jmen uživatelů" + +#: plugins/sudoers/def_data.c:536 +msgid "Ignore case when matching group names" +msgstr "Ignorovat velikost znaků při porovnávání názvů skupin" + +#: plugins/sudoers/def_data.c:540 +msgid "Log when a command is allowed by sudoers" +msgstr "Zaznamenat do protokolu, když je příkaz povolen v sudoers" + +#: plugins/sudoers/def_data.c:544 +msgid "Log when a command is denied by sudoers" +msgstr "Zaznamenat do protokolu, když je příkaz zakázán v sudoers" + +#: plugins/sudoers/def_data.c:548 +msgid "Sudo log server(s) to connect to with optional port" +msgstr "Protokolový server(y) suda, kam se připojit s volitelným portem" + +#: plugins/sudoers/def_data.c:552 +#, c-format +msgid "Sudo log server timeout in seconds: %u" +msgstr "Časový limit protokolového serveru suda v sekundách: %u" + +#: plugins/sudoers/def_data.c:556 +msgid "Enable SO_KEEPALIVE socket option on the socket connected to the logserver" +msgstr "Zapnout volbu socketu SO_KEEPALIVE na socketu připojeném k protokolovému serveru" + +#: plugins/sudoers/def_data.c:560 +#, c-format +msgid "Path to the audit server's CA bundle file: %s" +msgstr "Cesta k souboru se svazkem certifikátů autorit auditního serveru: %s" + +#: plugins/sudoers/def_data.c:564 +#, c-format +msgid "Path to the sudoers certificate file: %s" +msgstr "Cesta k souboru s certifikátem sudoers: %s" + +#: plugins/sudoers/def_data.c:568 +#, c-format +msgid "Path to the sudoers private key file: %s" +msgstr "Cesta k souboru se soukromým klíčem sudoers: %s" + +#: plugins/sudoers/def_data.c:572 +msgid "Verify that the log server's certificate is valid" +msgstr "Ověřit, že certifikát protokolovacího serveru je platný" + +#: plugins/sudoers/def_data.c:576 +msgid "Allow the use of unknown runas user and/or group ID" +msgstr "Dovolit použití neznámých ID uživatelů a/nebo skupin u klíčového slova runas" + +#: plugins/sudoers/def_data.c:580 +msgid "Only permit running commands as a user with a valid shell" +msgstr "Pouze dovolit spuštění příkazů jako uživatel s platným shellem" + +#: plugins/sudoers/def_data.c:584 +msgid "Set the pam remote user to the user running sudo" +msgstr "Nastavit vzdáleného uživatele PAM na uživatele, který spustil sudo" + +#: plugins/sudoers/def_data.c:588 +msgid "Set the pam remote host to the local host name" +msgstr "Nastavit vzdálený stroj PAM na název tohoto stroje" + +#: plugins/sudoers/def_data.c:592 +#, c-format +msgid "Working directory to change to before executing the command: %s" +msgstr "Kam změnit pracovní adresář před spuštěním příkazu: %s" + +#: plugins/sudoers/def_data.c:596 +#, c-format +msgid "Root directory to change to before executing the command: %s" +msgstr "Kam změnit kořenový adresář před spuštěním příkazu: %s" + +#: plugins/sudoers/def_data.c:600 +#, c-format +msgid "The format of logs to produce: %s" +msgstr "Vytvářet protokol v tomto formátu: %s" + +#: plugins/sudoers/def_data.c:604 +msgid "Enable SELinux RBAC support" +msgstr "Zapnout podporu pro SELinux RBAC" + +#: plugins/sudoers/def_data.c:608 +#, c-format +msgid "Path to the file that is created the first time sudo is run: %s" +msgstr "Cesta k souboru, který se vytvoří při prvním spuštění suda: %s" + +#: plugins/sudoers/def_data.c:612 +msgid "Intercept further commands and apply sudoers restrictions to them" +msgstr "Zachytávat další příkazy a použít na ně omezení sudoers" + +#: plugins/sudoers/def_data.c:616 +msgid "Log sub-commands run by the original command" +msgstr "Zaznamenávat podpříkazy spuštěné původním příkazem" + +#: plugins/sudoers/def_data.c:620 +msgid "Log the exit status of commands" +msgstr "Zaznamenávat návratový kód příkazů" + +#: plugins/sudoers/def_data.c:624 +msgid "Subsequent commands in an intercepted session must be authenticated" +msgstr "Posloupnost příkazů v zachycené relaci musí být autentizována" + +#: plugins/sudoers/def_data.c:628 +msgid "Allow an intercepted command to run set setuid or setgid programs" +msgstr "Dovolit zachycenému příkazu spustit setuid nebo setgid programy" + +#: plugins/sudoers/def_data.c:632 +#, c-format +msgid "The maximum size to which the process's address space may grow (in bytes): %s" +msgstr "Největší velikost, které smí adresní prostor procesu dorůst (v bajtech): %s" + +#: plugins/sudoers/def_data.c:636 +#, c-format +msgid "The largest size core dump file that may be created (in bytes): %s" +msgstr "Největší velikost souboru s obrazem paměti, který smí být vytvořen (v bajtech): %s" + +#: plugins/sudoers/def_data.c:640 +#, c-format +msgid "The maximum amount of CPU time that the process may use (in seconds): %s" +msgstr "Největší množství procesorového času, který proces smí využít (v sekundách): %s" + +#: plugins/sudoers/def_data.c:644 +#, c-format +msgid "The maximum size of the data segment for the process (in bytes): %s" +msgstr "Největší velikost datového segmentu procesu (v bajtech): %s" + +#: plugins/sudoers/def_data.c:648 +#, c-format +msgid "The largest size file that the process may create (in bytes): %s" +msgstr "Největší velikost souboru, který proces smí vytvořit (v bajtech): %s" + +#: plugins/sudoers/def_data.c:652 +#, c-format +msgid "The maximum number of locks that the process may establish: %s" +msgstr "Největší počet zámků, které proces smí vytvořit: %s" + +#: plugins/sudoers/def_data.c:656 +#, c-format +msgid "The maximum size that the process may lock in memory (in bytes): %s" +msgstr "Největší velikost paměti, kterou proces smí uzamknout (v bajtech): %s" + +#: plugins/sudoers/def_data.c:660 +#, c-format +msgid "The maximum number of files that the process may have open: %s" +msgstr "Největší počet souboru, které proces smí držet otevřené: %s" + +#: plugins/sudoers/def_data.c:664 +#, c-format +msgid "The maximum number of processes that the user may run simultaneously: %s" +msgstr "Největší počet procesů, které uživatel smí souběžně spustit: %s" + +#: plugins/sudoers/def_data.c:668 +#, c-format +msgid "The maximum size to which the process's resident set size may grow (in bytes): %s" +msgstr "Největší velikost rezidentní paměti, které proces smí dorůst (v bajtech): %s" + +#: plugins/sudoers/def_data.c:672 +#, c-format +msgid "The maximum size to which the process's stack may grow (in bytes): %s" +msgstr "Největší velikost zásobníku, které proces smí dorůst (v bajtech): %s" + +#: plugins/sudoers/def_data.c:676 +msgid "Attempt authentication even when in non-interactive mode" +msgstr "Pokusit se o autentizaci i v neinteraktivním režimu" + +#: plugins/sudoers/def_data.c:680 +msgid "Store plaintext passwords in I/O log input" +msgstr "Ukládat čitelná hesla do vstupu I/O protokolu" + +#: plugins/sudoers/def_data.c:684 +msgid "List of regular expressions to use when matching a password prompt" +msgstr "Seznam regulárních výrazů, které se použijí na rozpoznání výzvy k heslu" + +#: plugins/sudoers/def_data.c:688 +#, c-format +msgid "The mechanism used by the intercept and log_subcmds options: %s" +msgstr "Volby mechanismu použitého při zachytávání a log_subcmds: %s" + +#: plugins/sudoers/def_data.c:692 +msgid "Attempt to verify the command and arguments after execution" +msgstr "Pokusit se ověřit příkaz a argumenty po spuštění" + +#: plugins/sudoers/def_data.c:696 +#, c-format +msgid "AppArmor profile to use in the new security context: %s" +msgstr "Profil AppArmoru, který se použije v novém bezpečnostním kontextu: %s" + +#: plugins/sudoers/defaults.c:191 +#, c-format +msgid "unknown defaults entry \"%s\"" +msgstr "neznámá položka defaults „%s“" + +#: plugins/sudoers/defaults.c:234 +#, c-format +msgid "no value specified for \"%s\"" +msgstr "u „%s“ nebyla zadána žádná hodnota" + +#: plugins/sudoers/defaults.c:243 +#, c-format +msgid "invalid operator \"%c=\" for \"%s\"" +msgstr "neplatný operátor „%c=“ u „%s“" + +#: plugins/sudoers/defaults.c:275 +#, c-format +msgid "option \"%s\" does not take a value" +msgstr "volba „%s“ nebere hodnotu" + +#: plugins/sudoers/defaults.c:299 +#, c-format +msgid "invalid Defaults type 0x%x for option \"%s\"" +msgstr "neplatný typ Defaults 0x%x u volby „%s“" + +#: plugins/sudoers/defaults.c:306 +#, c-format +msgid "value \"%s\" is invalid for option \"%s\"" +msgstr "hodnota „%s“ není pro volbu „%s“ platná" + +#: plugins/sudoers/defaults.c:1128 plugins/sudoers/policy.c:210 +#: plugins/sudoers/policy.c:219 +#, c-format +msgid "path name for \"%s\" too long" +msgstr "cesta pro „%s“ je příliš dlouhá" + +#: plugins/sudoers/defaults.c:1134 +#, c-format +msgid "values for \"%s\" must start with a '/', '~', or '*'" +msgstr "hodnoty „%s“ musí začínat na „/“, „~“ nebo „*“" + +#: plugins/sudoers/defaults.c:1141 +#, c-format +msgid "values for \"%s\" must start with a '/'" +msgstr "hodnoty „%s“ musí začínat na „/“" + +#: plugins/sudoers/editor.c:180 +#, c-format +msgid "ignoring editor: %.*s" +msgstr "ingureuje se editor: %.*s" + +#: plugins/sudoers/editor.c:181 +msgid "editor arguments may not contain \"--\"" +msgstr "argumenty editoru nesmí obsahovat „--“" + +#: plugins/sudoers/env.c:426 +msgid "sudo_putenv: corrupted envp, length mismatch" +msgstr "sudo_putenv: poškozené pole envp, délka nesouhlasí" + +#: plugins/sudoers/env.c:1113 +msgid "unable to rebuild the environment" +msgstr "prostředí nelze znovu sestavit" + +#: plugins/sudoers/env.c:1192 +#, c-format +msgid "sorry, you are not allowed to set the following environment variables: %s" +msgstr "je nám líto, ale nemáte dovoleno nastavovat následující proměnné prostředí: %s" + +#: plugins/sudoers/filedigest.c:49 +#, c-format +msgid "unsupported digest type %d for %s" +msgstr "nepodporovaný druh kontrolního součtu %d pro %s" + +#: plugins/sudoers/filedigest.c:78 +#, c-format +msgid "%s: read error" +msgstr "%s: chyba při čtení" + +#: plugins/sudoers/group_plugin.c:169 plugins/sudoers/sssd.c:576 +#, c-format +msgid "unable to load %s: %s" +msgstr "nelze zavést %s: %s" + +#: plugins/sudoers/group_plugin.c:181 +#, c-format +msgid "unable to find symbol \"group_plugin\" in %s" +msgstr "v %s nelze nalézt symbol „group_plugin“" + +#: plugins/sudoers/group_plugin.c:186 +#, c-format +msgid "%s: incompatible group plugin major version %d, expected %d" +msgstr "%s: nekompatibilní hlavní verze modulu pro skupiny %d, očekávána %d" + +#: plugins/sudoers/interfaces.c:76 plugins/sudoers/interfaces.c:93 +#, c-format +msgid "unable to parse IP address \"%s\"" +msgstr "nelze rozebrat IP adresu „%s“" + +#: plugins/sudoers/interfaces.c:81 plugins/sudoers/interfaces.c:98 +#, c-format +msgid "unable to parse netmask \"%s\"" +msgstr "nelze rozebrat síťovou masku „%s“" + +#: plugins/sudoers/interfaces.c:126 +msgid "Local IP address and netmask pairs:\n" +msgstr "Pár místní IP adresy a masky sítě:\n" + +#: plugins/sudoers/iolog.c:685 +msgid "unable to update sequence file" +msgstr "nelze aktualizovat soubor s pořadovým číslem" + +#: plugins/sudoers/iolog.c:719 plugins/sudoers/iolog.c:907 +#: plugins/sudoers/iolog.c:1069 plugins/sudoers/iolog.c:1076 +#: plugins/sudoers/iolog.c:1197 plugins/sudoers/iolog.c:1204 +#: plugins/sudoers/iolog.c:1303 plugins/sudoers/iolog.c:1310 +#, c-format +msgid "unable to write to I/O log file: %s" +msgstr "nelze zapsat do souboru s I/O protokolem: %s" + +#: plugins/sudoers/iolog.c:727 +#, c-format +msgid "unable to create %s/%s" +msgstr "%s/%s nelze vytvořit" + +#: plugins/sudoers/iolog.c:955 +#, c-format +msgid "%s: internal error, I/O log file for event %d not open" +msgstr "%s: vnitřní chyba, soubor s I/O protokolem pro událost %d není otevřen" + +#: plugins/sudoers/iolog.c:1054 plugins/sudoers/iolog.c:1182 +#: plugins/sudoers/iolog.c:1287 plugins/sudoers/timestamp.c:879 +#: plugins/sudoers/timestamp.c:971 plugins/sudoers/visudo.c:556 +#: plugins/sudoers/visudo.c:562 +msgid "unable to read the clock" +msgstr "nelze přečíst hodiny" + +#: plugins/sudoers/iolog.c:1279 plugins/sudoers/log_client.c:1192 +#: plugins/sudoers/log_client.c:1202 plugins/sudoers/log_client.c:1206 +#, c-format +msgid "%s: internal error, invalid signal %d" +msgstr "%s: vnitřní chyba, neplatný signál %d" + +#: plugins/sudoers/ldap.c:177 plugins/sudoers/ldap_conf.c:292 +msgid "starttls not supported when using ldaps" +msgstr "při použití ldaps není starttls podporováno" + +#: plugins/sudoers/ldap.c:248 +#, c-format +msgid "unable to initialize SSL cert and key db: %s" +msgstr "nelze inicializovat certifikát SSL a databázi klíčů: %s" + +#: plugins/sudoers/ldap.c:251 +#, c-format +msgid "you must set TLS_CERT in %s to use SSL" +msgstr "pro SSL musíte v %s nastavit TLS_CERT" + +#: plugins/sudoers/ldap.c:1714 +#, c-format +msgid "unable to initialize LDAP: %s" +msgstr "LDAP nelze inicializovat: %s" + +#: plugins/sudoers/ldap.c:1751 +msgid "start_tls specified but LDAP libs do not support ldap_start_tls_s() or ldap_start_tls_s_np()" +msgstr "start_tls uvedeno, ale knihovna LDAP nepodporuje ldap_start_tls_s_np() ani ldap_start_tls_s_np()" + +#: plugins/sudoers/ldap.c:1888 plugins/sudoers/parse_ldif.c:748 +#, c-format +msgid "invalid sudoOrder attribute: %s" +msgstr "neplatný atribut sudoOrder: %s" + +#: plugins/sudoers/ldap_conf.c:200 +#, c-format +msgid "%s: port too large" +msgstr "%s: port je příliš velký" + +#: plugins/sudoers/ldap_conf.c:261 +#, c-format +msgid "unsupported LDAP uri type: %s" +msgstr "nepodporovaný typ ldapového URI: %s" + +#: plugins/sudoers/ldap_conf.c:288 +msgid "unable to mix ldap and ldaps URIs" +msgstr "nelze míchat URI ldap a ldaps" + +#: plugins/sudoers/ldap_util.c:499 plugins/sudoers/ldap_util.c:506 +#: plugins/sudoers/ldap_util.c:514 plugins/sudoers/ldap_util.c:523 +#: plugins/sudoers/ldap_util.c:531 plugins/sudoers/ldap_util.c:541 +#: plugins/sudoers/ldap_util.c:549 +#, c-format +msgid "duplicate sudoOption: %s%s%s" +msgstr "násobná sudoOption: %s%s%s" + +#: plugins/sudoers/ldap_util.c:568 plugins/sudoers/ldap_util.c:570 +#, c-format +msgid "unable to convert sudoOption: %s%s%s" +msgstr "nelze převést sudoOption: %s%s%s" + +#: plugins/sudoers/linux_audit.c:58 plugins/sudoers/linux_audit.c:60 +msgid "unable to open audit system" +msgstr "nelze otevřít auditní systém" + +#: plugins/sudoers/linux_audit.c:103 +msgid "unable to send audit message" +msgstr "nelze odeslat auditní zprávu" + +#: plugins/sudoers/log_client.c:125 plugins/sudoers/log_client.c:412 +#: plugins/sudoers/log_client.c:1439 plugins/sudoers/log_client.c:2055 +msgid "error in event loop" +msgstr "chyba ve smyčce událostí" + +#: plugins/sudoers/log_client.c:205 +#, c-format +msgid "Creation of new SSL_CTX object failed: %s" +msgstr "Vytvoření nového objektu SSL_CTX selhalo: %s" + +#: plugins/sudoers/log_client.c:230 +#, c-format +msgid "unable to load certificate authority bundle %s" +msgstr "nelze zavést svazek certifikátů autorit %s" + +#: plugins/sudoers/log_client.c:252 +#, c-format +msgid "unable to load certificate %s" +msgstr "nelze zavést certifikát %s" + +#: plugins/sudoers/log_client.c:266 +#, c-format +msgid "unable to load private key %s" +msgstr "nelze zavést soukromý klíč %s" + +#: plugins/sudoers/log_client.c:275 +#, c-format +msgid "Unable to allocate ssl object: %s" +msgstr "Objekt SSL nelze alokovat: %s" + +#: plugins/sudoers/log_client.c:364 plugins/sudoers/log_client.c:369 +#, c-format +msgid "TLS connection to %s:%s failed: %s" +msgstr "Spojení TLS s %s:%s selhalo: %s" + +#: plugins/sudoers/log_client.c:543 +msgid "TLS initialization was unsuccessful" +msgstr "Inicializace TLS nebyla úspěšná" + +#: plugins/sudoers/log_client.c:553 +msgid "TLS handshake was unsuccessful" +msgstr "Ustanovení spojení TLS nebylo úspěšné" + +#: plugins/sudoers/log_client.c:1210 +#, c-format +msgid "%s: internal error, invalid exit status %d" +msgstr "%s: vnitřní chyba, neplatný návratový kód %d" + +#: plugins/sudoers/log_client.c:1739 plugins/sudoers/log_client.c:1763 +msgid "lost connection to log server" +msgstr "spojení k protokolovému serveru ztraceno" + +#: plugins/sudoers/log_client.c:1840 +msgid "missing write buffer" +msgstr "chybí vyrovnávací paměť pro zápis" + +#: plugins/sudoers/log_client.c:1994 +msgid "unable to connect to log server" +msgstr "k protokolovacímu serveru se nelze připojit" + +#: plugins/sudoers/logging.c:290 +msgid "user NOT in sudoers" +msgstr "uživatel NENÍ v sudoers" + +#: plugins/sudoers/logging.c:292 +msgid "user NOT authorized on host" +msgstr "uživatel NENÍ na stroji autorizován" + +#: plugins/sudoers/logging.c:294 +msgid "command not allowed" +msgstr "příkaz nedovolen" + +#: plugins/sudoers/logging.c:315 +#, c-format +msgid "%s is not in the sudoers file.\n" +msgstr "%s není v souboru sudoers.\n" + +#: plugins/sudoers/logging.c:318 +#, c-format +msgid "%s is not allowed to run sudo on %s.\n" +msgstr "Uživatel %s nemá dovoleno spustit sudo na %s.\n" + +#: plugins/sudoers/logging.c:321 +#, c-format +msgid "Sorry, user %s may not run sudo on %s.\n" +msgstr "Je nám líto, uživatel %s nesmí spouštět sudo na %s.\n" + +#: plugins/sudoers/logging.c:324 +#, c-format +msgid "Sorry, user %s is not allowed to execute '%s%s%s' as %s%s%s on %s.\n" +msgstr "Je nám líto, uživatel %s nemá dovoleno spouštět „%s%s%s“ jako %s%s%s na %s.\n" + +#: plugins/sudoers/logging.c:334 +msgid "This incident has been reported to the administrator.\n" +msgstr "Tato skutečnost byla nahlášena správci.\n" + +#: plugins/sudoers/logging.c:369 plugins/sudoers/sudoers.c:655 +#: plugins/sudoers/sudoers.c:657 plugins/sudoers/sudoers.c:659 +#: plugins/sudoers/sudoers.c:661 plugins/sudoers/sudoers.c:816 +#: plugins/sudoers/sudoers.c:818 +#, c-format +msgid "%s: command not found" +msgstr "%s: příkaz nenalezen" + +#: plugins/sudoers/logging.c:371 plugins/sudoers/sudoers.c:651 +#, c-format +msgid "" +"ignoring \"%s\" found in '.'\n" +"Use \"sudo ./%s\" if this is the \"%s\" you wish to run." +msgstr "" +"ignoruje se „%s“ nalezený v „.“\n" +"Použijte „sudo ./%s„, je-li toto „%s“', který chcete spustit." + +#: plugins/sudoers/logging.c:391 +#, c-format +msgid "%u incorrect password attempt" +msgid_plural "%u incorrect password attempts" +msgstr[0] "%u chybný pokus zadat heslo" +msgstr[1] "%u chybné pokusy zadat heslo" +msgstr[2] "%u chybných pokusů zadat heslo" + +#: plugins/sudoers/logging.c:481 +msgid "authentication failure" +msgstr "selhání autentizace" + +#: plugins/sudoers/logging.c:520 plugins/sudoers/logging.c:539 +msgid "a password is required" +msgstr "je vyžadováno heslo" + +#: plugins/sudoers/logging.c:803 plugins/sudoers/logging.c:815 +msgid "problem parsing sudoers" +msgstr "problém při rozboru sudoers" + +#: plugins/sudoers/logging.c:877 plugins/sudoers/logging.c:889 +#, c-format +msgid "%s:%d:%d: %s" +msgstr "%s:%d:%d: %s" + +#: plugins/sudoers/logging.c:1066 +#, c-format +msgid "unable to write log file: %s" +msgstr "nelze zapsat soubor protokolu: %s" + +#: plugins/sudoers/match_digest.c:112 +#, c-format +msgid "digest for %s (%s) bad length %zu, expected %zu" +msgstr "součet pro %s (%s) má špatnou délku %zu, očekávaná %zu" + +#: plugins/sudoers/match_digest.c:131 +#, c-format +msgid "digest for %s (%s) is not in %s form" +msgstr "součet pro %s (%s) nemá tvar %s" + +#: plugins/sudoers/parse.c:631 +#, c-format +msgid "" +"\n" +"LDAP Role: %s\n" +msgstr "" +"\n" +"Role LDAP: %s\n" + +#: plugins/sudoers/parse.c:634 +msgid "" +"\n" +"Sudoers entry:\n" +msgstr "" +"\n" +"Položka v sudoers:\n" + +#: plugins/sudoers/parse.c:636 +msgid " RunAsUsers: " +msgstr " RunAsUsers: " + +#: plugins/sudoers/parse.c:651 +msgid " RunAsGroups: " +msgstr " RunAsGroups: " + +#: plugins/sudoers/parse.c:661 +msgid " Options: " +msgstr " Volby: " + +#: plugins/sudoers/parse.c:725 +msgid " Commands:\n" +msgstr " Příkazy:\n" + +#: plugins/sudoers/parse.c:916 +#, c-format +msgid "Matching Defaults entries for %s on %s:\n" +msgstr "Odpovídající položky Defaults pro %s na %s:\n" + +#: plugins/sudoers/parse.c:934 +#, c-format +msgid "Runas and Command-specific defaults for %s:\n" +msgstr "Výchozí hodnoty Runas a Command pro %s:\n" + +#: plugins/sudoers/parse.c:952 +#, c-format +msgid "User %s may run the following commands on %s:\n" +msgstr "Uživatel %s smí spustit následující příkazy na %s:\n" + +#: plugins/sudoers/parse.c:967 +#, c-format +msgid "User %s is not allowed to run sudo on %s.\n" +msgstr "Uživatel %s nemá dovoleno spustit sudo na %s.\n" + +#: plugins/sudoers/parse_ldif.c:618 +#, c-format +msgid "ignoring incomplete sudoRole: cn: %s" +msgstr "neúplná definice sudoRole se ignoruje: cn: %s" + +#: plugins/sudoers/parse_ldif.c:678 +#, c-format +msgid "invalid LDIF attribute: %s" +msgstr "neplatný atribut LDIF: %s" + +#: plugins/sudoers/policy.c:82 plugins/sudoers/policy.c:113 +#, c-format +msgid "invalid %.*s set by sudo front-end" +msgstr "neplatné %.*s nenastaveno vnějším rozhraním sudo" + +#: plugins/sudoers/policy.c:360 plugins/sudoers/testsudoers.c:268 +msgid "unable to parse network address list" +msgstr "nelze rozebrat seznam síťových adres" + +#: plugins/sudoers/policy.c:528 +msgid "user name not set by sudo front-end" +msgstr "uživatelské jméno nenastaveno vnějším rozhraním sudo" + +#: plugins/sudoers/policy.c:532 +msgid "user-ID not set by sudo front-end" +msgstr "ID uživatele nenastaveno vnějším rozhraním sudo" + +#: plugins/sudoers/policy.c:536 +msgid "group-ID not set by sudo front-end" +msgstr "ID skupiny nenastaveno vnějším rozhraním sudo" + +#: plugins/sudoers/policy.c:540 +msgid "host name not set by sudo front-end" +msgstr "název počítače nenastaven vnějším rozhraním sudo" + +#: plugins/sudoers/policy.c:737 +#, c-format +msgid "invalid working directory: %s" +msgstr "neplatný pracovní adresář: %s" + +#: plugins/sudoers/policy.c:921 +#, c-format +msgid "invalid chroot directory: %s" +msgstr "neplatný kořenový adresář: %s" + +#: plugins/sudoers/policy.c:1108 plugins/sudoers/visudo.c:259 +#: plugins/sudoers/visudo.c:906 +#, c-format +msgid "unable to execute %s" +msgstr "nelze vykonat %s" + +#: plugins/sudoers/policy.c:1178 plugins/sudoers/policy.c:1215 +#: plugins/sudoers/policy.c:1237 plugins/sudoers/policy.c:1263 +#, c-format +msgid "%s: invalid mode flags from sudo front end: 0x%x" +msgstr "%s: neplatné příznaky souboru od vnějšího rozhraní suda: 0x%x" + +#: plugins/sudoers/policy.c:1299 +#, c-format +msgid "Sudoers policy plugin version %s\n" +msgstr "Verze modulu s politikami sudoers je %s\n" + +#: plugins/sudoers/policy.c:1301 +#, c-format +msgid "Sudoers file grammar version %d\n" +msgstr "Verze gramatiky souboru sudoers je %d\n" + +#: plugins/sudoers/policy.c:1305 +#, c-format +msgid "" +"\n" +"Sudoers path: %s\n" +msgstr "" +"\n" +"Cesta sudoers: %s\n" + +#: plugins/sudoers/policy.c:1308 +#, c-format +msgid "nsswitch path: %s\n" +msgstr "cesta k nsswitch: %s\n" + +#: plugins/sudoers/policy.c:1310 +#, c-format +msgid "ldap.conf path: %s\n" +msgstr "cesta k ldap.conf: %s\n" + +#: plugins/sudoers/policy.c:1311 +#, c-format +msgid "ldap.secret path: %s\n" +msgstr "cesta k ldap.secret: %s\n" + +#: plugins/sudoers/policy.c:1344 +#, c-format +msgid "unable to register hook of type %d (version %d.%d)" +msgstr "nelze zaregistrovat háček typu %d (verze %d.%d)" + +#: plugins/sudoers/policy.c:1362 +#, c-format +msgid "unable to deregister hook of type %d (version %d.%d)" +msgstr "nelze odhlásit háček typu %d (verze %d.%d)" + +#: plugins/sudoers/pwutil.c:222 plugins/sudoers/pwutil.c:240 +#, c-format +msgid "unable to cache uid %u" +msgstr "nelze si zapamatovat UID %u" + +#: plugins/sudoers/pwutil.c:234 +#, c-format +msgid "unable to cache uid %u, already exists" +msgstr "nelze zapamatovat si UID %u, již existuje" + +#: plugins/sudoers/pwutil.c:294 plugins/sudoers/pwutil.c:312 +#: plugins/sudoers/pwutil.c:375 plugins/sudoers/pwutil.c:420 +#, c-format +msgid "unable to cache user %s" +msgstr "uživatele %s si nelze zapamatovat" + +#: plugins/sudoers/pwutil.c:307 +#, c-format +msgid "unable to cache user %s, already exists" +msgstr "nelze zapamatovat si uživatele %s, již existuje" + +#: plugins/sudoers/pwutil.c:539 plugins/sudoers/pwutil.c:557 +#, c-format +msgid "unable to cache gid %u" +msgstr "GID %u si nelze zapamatovat" + +#: plugins/sudoers/pwutil.c:551 +#, c-format +msgid "unable to cache gid %u, already exists" +msgstr "nelze zapamatovat si GID %u, již existuje" + +#: plugins/sudoers/pwutil.c:605 plugins/sudoers/pwutil.c:623 +#: plugins/sudoers/pwutil.c:684 plugins/sudoers/pwutil.c:733 +#, c-format +msgid "unable to cache group %s" +msgstr "skupinu %s si nelze zapamatovat" + +#: plugins/sudoers/pwutil.c:618 +#, c-format +msgid "unable to cache group %s, already exists" +msgstr "nelze zapamatovat si skupinu %s, již existuje" + +#: plugins/sudoers/pwutil.c:880 plugins/sudoers/pwutil.c:963 +#: plugins/sudoers/pwutil.c:1017 plugins/sudoers/pwutil.c:1071 +#, c-format +msgid "unable to cache group list for %s, already exists" +msgstr "nelze zapamatovat si seznam skupin pro %s, již existuje" + +#: plugins/sudoers/pwutil.c:886 plugins/sudoers/pwutil.c:968 +#: plugins/sudoers/pwutil.c:1023 plugins/sudoers/pwutil.c:1076 +#, c-format +msgid "unable to cache group list for %s" +msgstr "nelze si zapamatovat seznam skupin pro %s" + +#: plugins/sudoers/pwutil.c:957 +#, c-format +msgid "unable to parse groups for %s" +msgstr "nelze rozebrat skupiny pro %s" + +#: plugins/sudoers/pwutil.c:1065 +#, c-format +msgid "unable to parse gids for %s" +msgstr "nelze rozebrat čísla GID pro %s" + +#: plugins/sudoers/set_perms.c:114 plugins/sudoers/set_perms.c:445 +#: plugins/sudoers/set_perms.c:852 plugins/sudoers/set_perms.c:1162 +#: plugins/sudoers/set_perms.c:1460 +msgid "perm stack overflow" +msgstr "přetečení zásobníku oprávnění" + +#: plugins/sudoers/set_perms.c:125 plugins/sudoers/set_perms.c:376 +#: plugins/sudoers/set_perms.c:456 plugins/sudoers/set_perms.c:719 +#: plugins/sudoers/set_perms.c:863 plugins/sudoers/set_perms.c:1086 +#: plugins/sudoers/set_perms.c:1173 plugins/sudoers/set_perms.c:1393 +#: plugins/sudoers/set_perms.c:1471 plugins/sudoers/set_perms.c:1562 +msgid "perm stack underflow" +msgstr "podtečení zásobníku oprávnění" + +#: plugins/sudoers/set_perms.c:185 plugins/sudoers/set_perms.c:503 +#: plugins/sudoers/set_perms.c:1227 plugins/sudoers/set_perms.c:1505 +msgid "unable to change to root gid" +msgstr "nelze přepnout GID na root" + +#: plugins/sudoers/set_perms.c:276 plugins/sudoers/set_perms.c:600 +#: plugins/sudoers/set_perms.c:995 plugins/sudoers/set_perms.c:1304 +msgid "unable to change to runas gid" +msgstr "nelze přepnout na běhové GID" + +#: plugins/sudoers/set_perms.c:281 plugins/sudoers/set_perms.c:605 +#: plugins/sudoers/set_perms.c:1000 plugins/sudoers/set_perms.c:1309 +msgid "unable to set runas group vector" +msgstr "nelze nastavit vektor běhových skupin" + +#: plugins/sudoers/set_perms.c:292 plugins/sudoers/set_perms.c:616 +#: plugins/sudoers/set_perms.c:1009 plugins/sudoers/set_perms.c:1318 +msgid "unable to change to runas uid" +msgstr "nelze přepnout na běhové UID" + +#: plugins/sudoers/set_perms.c:310 plugins/sudoers/set_perms.c:634 +#: plugins/sudoers/set_perms.c:1025 plugins/sudoers/set_perms.c:1334 +msgid "unable to change to sudoers gid" +msgstr "nelze přepnout na GID sudoers" + +#: plugins/sudoers/set_perms.c:363 plugins/sudoers/set_perms.c:706 +#: plugins/sudoers/set_perms.c:1073 plugins/sudoers/set_perms.c:1380 +#: plugins/sudoers/set_perms.c:1549 +msgid "too many processes" +msgstr "příliš mnoho procesů" + +#: plugins/sudoers/solaris_audit.c:61 +msgid "unable to get current working directory" +msgstr "současný pracovní adresář nelze zjistit" + +#: plugins/sudoers/solaris_audit.c:69 +#, c-format +msgid "truncated audit path user_cmnd: %s" +msgstr "zkrácená auditní cesta user_cmnd: %s" + +#: plugins/sudoers/solaris_audit.c:76 +#, c-format +msgid "truncated audit path argv[0]: %s" +msgstr "zkrácená auditní cesta argv[0]: %s" + +#: plugins/sudoers/sssd.c:579 +msgid "unable to initialize SSS source. Is SSSD installed on your machine?" +msgstr "nelze inicializovat zdroj SSS. Je SSSD nainstalován na vašem stroji?" + +#: plugins/sudoers/sssd.c:587 plugins/sudoers/sssd.c:596 +#: plugins/sudoers/sssd.c:605 plugins/sudoers/sssd.c:614 +#: plugins/sudoers/sssd.c:623 +#, c-format +msgid "unable to find symbol \"%s\" in %s" +msgstr "nelze nalézt symbol „%s“ v %s" + +#: plugins/sudoers/sudoers.c:263 +#, c-format +msgid "unable to get defaults from %s" +msgstr "z %s nelze získat výchozí hodnoty" + +#: plugins/sudoers/sudoers.c:270 +msgid "no valid sudoers sources found, quitting" +msgstr "nenalezeny žádné platné zdroje sudoers, končí se" + +#: plugins/sudoers/sudoers.c:346 +#, c-format +msgid "user not allowed to change root directory to %s" +msgstr "uživatel nemá dovoleno změnit kořenový adresář na %s" + +#: plugins/sudoers/sudoers.c:348 +#, c-format +msgid "you are not permitted to use the -R option with %s" +msgstr "nemáte dovoleno použít přepínač -R s %s" + +#: plugins/sudoers/sudoers.c:373 +#, c-format +msgid "user not allowed to change directory to %s" +msgstr "uživatel nemá dovoleno změnit adresář na %s" + +#: plugins/sudoers/sudoers.c:374 +#, c-format +msgid "you are not permitted to use the -D option with %s" +msgstr "nemáte dovoleno použít přepínač -D s %s" + +#: plugins/sudoers/sudoers.c:401 +msgid "no command specified" +msgstr "nezadán žádný příkaz" + +#: plugins/sudoers/sudoers.c:426 +msgid "sudoers specifies that root is not allowed to sudo" +msgstr "sudoers udává, že root nemá dovoleno použít sudo" + +#: plugins/sudoers/sudoers.c:483 +msgid "user not allowed to override closefrom limit" +msgstr "uživatel nemá dovoleno přebít omezení „closefrom“" + +#: plugins/sudoers/sudoers.c:484 +msgid "you are not permitted to use the -C option" +msgstr "nemáte dovoleno použít přepínač -C" + +#: plugins/sudoers/sudoers.c:544 +#, c-format +msgid "timestamp owner (%s): No such user" +msgstr "vlastník časového údaje (%s): Takový uživatel neexistuje" + +#: plugins/sudoers/sudoers.c:559 +msgid "no tty" +msgstr "žádné TTY" + +#: plugins/sudoers/sudoers.c:560 +msgid "sorry, you must have a tty to run sudo" +msgstr "je nám líto, ale pro spuštění sudo musíte mít TTY" + +#: plugins/sudoers/sudoers.c:567 +#, c-format +msgid "invalid shell for user %s: %s" +msgstr "neplatný shell pro uživatele %s: %s" + +#: plugins/sudoers/sudoers.c:650 +msgid "command in current directory" +msgstr "příkaz v aktuálním adresáři" + +#: plugins/sudoers/sudoers.c:665 +msgid "\"cd\" is a shell built-in command, it cannot be run directly." +msgstr "„cd“ je vestavěný příkaz shellu a nelze jej přímo spustit." + +#: plugins/sudoers/sudoers.c:667 +msgid "the -s option may be used to run a privileged shell." +msgstr "přepínač -s smí být použit pro spuštění privilegovaného shellu." + +#: plugins/sudoers/sudoers.c:669 +msgid "the -D option may be used to run a command in a specific directory." +msgstr "přepínač -D smí být použit pro spuštění příkazu v určitém adresáři." + +#: plugins/sudoers/sudoers.c:678 +msgid "user not allowed to set a command timeout" +msgstr "uživatel nemá dovoleno nastavit časový limit příkazu" + +#: plugins/sudoers/sudoers.c:680 +msgid "sorry, you are not allowed set a command timeout" +msgstr "je nám líto, ale nastavit časový limit nemáte dovoleno" + +#: plugins/sudoers/sudoers.c:688 +msgid "user not allowed to preserve the environment" +msgstr "uživatel nemá dovoleno zachovat prostředí" + +#: plugins/sudoers/sudoers.c:690 +msgid "sorry, you are not allowed to preserve the environment" +msgstr "je nám líto, ale zachovat prostředí nemáte dovoleno" + +#: plugins/sudoers/sudoers.c:799 +msgid "error setting user-specified environment variables" +msgstr "chyba při nastavování proměnných prostředí určených uživatelem" + +#: plugins/sudoers/sudoers.c:1112 +msgid "sudoedit doesn't need to be run via sudo" +msgstr "sudoedit není nutné spouštět přes sudo" + +#: plugins/sudoers/sudoers.c:1157 plugins/sudoers/sudoreplay.c:1612 +#: plugins/sudoers/tsdump.c:138 +#, c-format +msgid "unable to read %s" +msgstr "%s nelze číst" + +#: plugins/sudoers/sudoers.c:1186 plugins/sudoers/visudo.c:1066 +#, c-format +msgid "%s is not a regular file" +msgstr "%s není běžný soubor" + +#: plugins/sudoers/sudoers.c:1190 plugins/sudoers/timestamp.c:263 toke.l:1255 +#, c-format +msgid "%s is owned by uid %u, should be %u" +msgstr "%s je vlastněn UID %u, měl by být vlastněn %u" + +#: plugins/sudoers/sudoers.c:1194 plugins/sudoers/timestamp.c:270 toke.l:1260 +#, c-format +msgid "%s is world writable" +msgstr "%s je zapisovatelný pro všechny" + +#: plugins/sudoers/sudoers.c:1198 plugins/sudoers/timestamp.c:275 toke.l:1263 +#, c-format +msgid "%s is owned by gid %u, should be %u" +msgstr "%s je vlastněn GID %u, mělo by být %u" + +#: plugins/sudoers/sudoers.c:1233 +#, c-format +msgid "only root can use \"-c %s\"" +msgstr "pouze root může použít „-c %s“" + +#: plugins/sudoers/sudoers.c:1252 +#, c-format +msgid "unknown login class %s" +msgstr "neznámá přihlašovací třída %s" + +#: plugins/sudoers/sudoers.c:1339 plugins/sudoers/sudoers.c:1354 +#, c-format +msgid "unable to resolve host %s" +msgstr "nelze přeložit název stroje %s" + +#: plugins/sudoers/sudoreplay.c:252 +#, c-format +msgid "invalid filter option: %s" +msgstr "neplatná volba filtru: %s" + +#: plugins/sudoers/sudoreplay.c:268 +#, c-format +msgid "invalid max wait: %s" +msgstr "neplatná maximální doba čekání: %s" + +#: plugins/sudoers/sudoreplay.c:291 +#, c-format +msgid "invalid speed factor: %s" +msgstr "neplatný násobek rychlosti: %s" + +#: plugins/sudoers/sudoreplay.c:326 +#, c-format +msgid "invalid time offset %s" +msgstr "neplatná časový značka %s" + +#: plugins/sudoers/sudoreplay.c:335 +#, c-format +msgid "%s/%.2s/%.2s/%.2s: %s" +msgstr "%s/%.2s/%.2s/%.2s: %s" + +#: plugins/sudoers/sudoreplay.c:340 +#, c-format +msgid "%s/timing: %s" +msgstr "%s/časování: %s" + +#: plugins/sudoers/sudoreplay.c:368 +#, c-format +msgid "Replaying sudo session: %s" +msgstr "Přehrává se relace sudo: %s" + +#: plugins/sudoers/sudoreplay.c:634 +msgid "unable to set tty to raw mode" +msgstr "TTY nelze nastavit do přímého režimu" + +#: plugins/sudoers/sudoreplay.c:685 +msgid "Warning: your terminal is too small to properly replay the log.\n" +msgstr "Pozor: váš terminál je příliš malý pro správné zobrazení záznamu.\n" + +#: plugins/sudoers/sudoreplay.c:686 +#, c-format +msgid "Log geometry is %d x %d, your terminal's geometry is %d x %d." +msgstr "Rozměry záznamu jsou %d × %d, váš terminál má rozměry %d × %d." + +#: plugins/sudoers/sudoreplay.c:714 +msgid "Replay finished, press any key to restore the terminal." +msgstr "Přehrávání skončilo, pro obnovení terminálu stiskněte libovolnou klávesu." + +#: plugins/sudoers/sudoreplay.c:1216 plugins/sudoers/sudoreplay.c:1246 +#, c-format +msgid "ambiguous expression \"%s\"" +msgstr "nejednoznačný výraz „%s“" + +#: plugins/sudoers/sudoreplay.c:1268 +msgid "unmatched ')' in expression" +msgstr "ve výrazu neodpovídá „)“" + +#: plugins/sudoers/sudoreplay.c:1272 +#, c-format +msgid "unknown search term \"%s\"" +msgstr "neznámý vyhledávací výraz „%s“" + +#: plugins/sudoers/sudoreplay.c:1287 +#, c-format +msgid "%s requires an argument" +msgstr "%s vyžaduje argument" + +#: plugins/sudoers/sudoreplay.c:1297 +#, c-format +msgid "could not parse date \"%s\"" +msgstr "datum „%s“ se nepodařilo rozebrat" + +#: plugins/sudoers/sudoreplay.c:1306 +msgid "unmatched '(' in expression" +msgstr "ve výrazu neodpovídá „(“" + +#: plugins/sudoers/sudoreplay.c:1308 +msgid "illegal trailing \"or\"" +msgstr "zakázané zakončení „or“" + +#: plugins/sudoers/sudoreplay.c:1310 +msgid "illegal trailing \"!\"" +msgstr "zakázané zakončení „!“" + +#: plugins/sudoers/sudoreplay.c:1416 +#, c-format +msgid "unknown search type %d" +msgstr "neznámý vyhledávácí typ %d" + +#: plugins/sudoers/sudoreplay.c:1678 +#, c-format +msgid "usage: %s [-hnRS] [-d dir] [-m num] [-s num] ID\n" +msgstr "použití: %s [-hnRS] [-d adresář] [-m číslo] [-s číslo] ID\n" + +#: plugins/sudoers/sudoreplay.c:1680 +#, c-format +msgid "usage: %s [-h] [-d dir] -l [search expression]\n" +msgstr "použití: %s [-h] [-d adresář] -l [vyhledávací_výraz]\n" + +#: plugins/sudoers/sudoreplay.c:1694 +#, c-format +msgid "" +"%s - replay sudo session logs\n" +"\n" +msgstr "" +"%s – přehraje záznam relace sudo\n" +"\n" + +#: plugins/sudoers/sudoreplay.c:1696 +msgid "" +"\n" +"Options:\n" +" -d, --directory=dir specify directory for session logs\n" +" -f, --filter=filter specify which I/O type(s) to display\n" +" -h, --help display help message and exit\n" +" -l, --list list available session IDs, with optional expression\n" +" -m, --max-wait=num max number of seconds to wait between events\n" +" -n, --non-interactive no prompts, session is sent to the standard output\n" +" -R, --no-resize do not attempt to re-size the terminal\n" +" -S, --suspend-wait wait while the command was suspended\n" +" -s, --speed=num speed up or slow down output\n" +" -V, --version display version information and exit" +msgstr "" +"\n" +"Přepínače:\n" +" -d, --directory=adresář\n" +" určuje adresář pro záznamy relace\n" +" -f, --filter=filtr určuje, které druhy I/O se mají zobrazit\n" +" -h, --help zobrazí nápovědu a skončí\n" +" -l, --list vypíše seznam ID dostupných relací, s volitelným\n" +" výrazem\n" +" -m, --max-wait=číslo čeká maximálně počet sekund mezi událostmi\n" +" -n, --non-interactive žádné výzvy, relace se pošle na standardní výstup\n" +" -R, --no-resize nepokouší ze změnit velikost terminálu\n" +" -S, --suspend-wait čeká pokud byl příkaz pozastaven\n" +" -s, --speed=číslo zrychlí nebo zpomalí výstup\n" +" -V, --version zobrazí údaje o verzi a skončí" + +#: plugins/sudoers/testsudoers.c:344 +msgid "\thost unmatched" +msgstr "\tstroj se neshoduje" + +#: plugins/sudoers/testsudoers.c:347 +msgid "" +"\n" +"Command allowed" +msgstr "" +"\n" +"Příkaz povolen" + +#: plugins/sudoers/testsudoers.c:348 +msgid "" +"\n" +"Command denied" +msgstr "" +"\n" +"Příkaz odepřen" + +#: plugins/sudoers/testsudoers.c:348 +msgid "" +"\n" +"Command unmatched" +msgstr "" +"\n" +"Příkaz se neshoduje" + +# TODO: pluralize +#: plugins/sudoers/timestamp.c:354 plugins/sudoers/timestamp.c:693 +#, c-format +msgid "unable to truncate time stamp file to %lld bytes" +msgstr "nelze zkrátit soubor s časovými údaji na %lld bajtů" + +#: plugins/sudoers/timestamp.c:890 +msgid "ignoring time stamp from the future" +msgstr "časový údaj z budoucnosti se ignoruje" + +#: plugins/sudoers/timestamp.c:913 +#, c-format +msgid "time stamp too far in the future: %20.20s" +msgstr "časový údaj ukazuje příliš do budoucna: %20.20s" + +# TODO: pluralize +#: plugins/sudoers/timestamp.c:1042 +#, c-format +msgid "unable to lock time stamp file %s" +msgstr "soubor s časovými údaji %s nelze zamknout" + +#: plugins/sudoers/toke_util.c:156 +msgid "sudoedit should not be specified with a path" +msgstr "sudoedit by neměl být uveden s cestou" + +#: plugins/sudoers/visudo.c:254 +msgid "the -x option will be removed in a future release" +msgstr "přepínač -x bude v příštím vydání odstraněn" + +#: plugins/sudoers/visudo.c:256 +msgid "please consider using the cvtsudoers utility instead" +msgstr "prosím, zvažte použití nástroje cvtsudoers" + +#: plugins/sudoers/visudo.c:311 plugins/sudoers/visudo.c:702 +#, c-format +msgid "press return to edit %s: " +msgstr "pro úpravu %s stiskněte enter: " + +#: plugins/sudoers/visudo.c:326 +#, c-format +msgid "contents of edit session left in %s" +msgstr "obsah relace úprav zanechán v %s" + +#: plugins/sudoers/visudo.c:403 +#, c-format +msgid "specified editor (%s) doesn't exist" +msgstr "zadaný editor (%s) neexistuje" + +#: plugins/sudoers/visudo.c:408 +#, c-format +msgid "no editor found (editor path = %s)" +msgstr "žádný editor nenalezen (cesta k editoru = %s)" + +#: plugins/sudoers/visudo.c:495 plugins/sudoers/visudo.c:774 +#, c-format +msgid "unable to stat %s" +msgstr "nelze zjistit údaje o %s" + +#: plugins/sudoers/visudo.c:515 plugins/sudoers/visudo.c:523 +msgid "write error" +msgstr "chyba zápisu" + +#: plugins/sudoers/visudo.c:569 +#, c-format +msgid "unable to stat temporary file (%s), %s unchanged" +msgstr "nelze získat údaje o dočasném souboru (%s), %s nezměněno" + +#: plugins/sudoers/visudo.c:576 +#, c-format +msgid "zero length temporary file (%s), %s unchanged" +msgstr "dočasný soubor o nulové velikosti (%s), %s nezměněno" + +#: plugins/sudoers/visudo.c:582 +#, c-format +msgid "editor (%s) failed, %s unchanged" +msgstr "editor (%s) selhal, %s nezměněno" + +#: plugins/sudoers/visudo.c:604 +#, c-format +msgid "%s unchanged" +msgstr "%s nezměněno" + +#: plugins/sudoers/visudo.c:649 +#, c-format +msgid "unable to re-open temporary file (%s), %s unchanged." +msgstr "nelze znovu otevřít dočasný soubor (%s), %s nezměněno." + +#: plugins/sudoers/visudo.c:662 +#, c-format +msgid "unable to parse temporary file (%s), unknown error" +msgstr "není možné rozebrat dočasný soubor (%s), neznámá chyba" + +#: plugins/sudoers/visudo.c:748 plugins/sudoers/visudo.c:778 +#: plugins/sudoers/visudo.c:785 +#, c-format +msgid "unable to set (uid, gid) of %s to (%u, %u)" +msgstr "nelze nastavit (UID, GID) %s na (%u, %u)" + +#: plugins/sudoers/visudo.c:813 +#, c-format +msgid "%s and %s not on the same file system, using mv to rename" +msgstr "%s a %s se nenachází na jednom souborovém systému, pro přejmenování se použije mv" + +#: plugins/sudoers/visudo.c:824 +#, c-format +msgid "command failed: '%s %s %s', %s unchanged" +msgstr "příkaz selhal: „'%s %s %s“, %s nezměněno" + +#: plugins/sudoers/visudo.c:831 +#, c-format +msgid "error renaming %s, %s unchanged" +msgstr "chyba při přejmenování %s, %s nezměněno" + +#: plugins/sudoers/visudo.c:851 +msgid "What now? " +msgstr "Co teď? " + +#: plugins/sudoers/visudo.c:865 +msgid "" +"Options are:\n" +" (e)dit sudoers file again\n" +" e(x)it without saving changes to sudoers file\n" +" (Q)uit and save changes to sudoers file (DANGER!)\n" +msgstr "" +"Možnosti jsou:\n" +" (e) upravit soubor sudoers znovu\n" +" (x) skončit bez uložení změn do souboru sudoers\n" +" (Q) skončit a uložit změny do souboru sudoers (NEBEZPEČNÉ!)\n" + +#: plugins/sudoers/visudo.c:911 +#, c-format +msgid "unable to run %s" +msgstr "nelze spustit %s" + +#: plugins/sudoers/visudo.c:942 +#, c-format +msgid "%s: wrong owner (uid, gid) should be (%u, %u)\n" +msgstr "%s: chybný vlastník (UID, GID), měl by být (%u, %u)\n" + +#: plugins/sudoers/visudo.c:953 +#, c-format +msgid "%s: bad permissions, should be mode 0%o\n" +msgstr "%s: chybná práva, měla by být 0%o\n" + +#: plugins/sudoers/visudo.c:999 plugins/sudoers/visudo.c:1006 +#, c-format +msgid "%s: parsed OK\n" +msgstr "%s: rozbor úspěšný\n" + +#: plugins/sudoers/visudo.c:1025 +#, c-format +msgid "%s busy, try again later" +msgstr "%s je zaneprázdněn, zkuste to později" + +# The code indeed checks for non-localized "y" character. +#: plugins/sudoers/visudo.c:1029 +msgid "Edit anyway? [y/N]" +msgstr "Přesto upravit? [y pro ano / N pro ne]" + +#: plugins/sudoers/visudo.c:1130 +#, c-format +msgid "Warning: %s:%d:%d: unused %s \"%s\"" +msgstr "Pozor: %s:%d:%d: nepoužitý %s „%s“" + +#: plugins/sudoers/visudo.c:1242 +#, c-format +msgid "" +"%s - safely edit the sudoers file\n" +"\n" +msgstr "" +"%s – bezpečně upraví soubor sudoers\n" +"\n" + +#: plugins/sudoers/visudo.c:1244 +msgid "" +"\n" +"Options:\n" +" -c, --check check-only mode\n" +" -f, --file=sudoers specify sudoers file location\n" +" -h, --help display help message and exit\n" +" -I, --no-includes do not edit include files\n" +" -q, --quiet less verbose (quiet) syntax error messages\n" +" -s, --strict strict syntax checking\n" +" -V, --version display version information and exit\n" +msgstr "" +"\n" +"Přepínače:\n" +" -c, --check pouze kontroluje\n" +" -f, --file=sudoers určuje umístění souboru sudoers\n" +" -h, --help zobrazí nápovědu a skončí\n" +" -I, --no-includes neupravuje vložené soubory\n" +" -q, --quiet méně upovídaná (stručnější) hlášení chyb syntaxe\n" +" -s, --strict přísná kontrola syntaxe\n" +" -V, --version zobrazí údaje o verzi a skončí\n" + +#: toke.l:189 +msgid "empty string" +msgstr "prázdný řetězec" + +#: toke.l:201 toke.l:571 +msgid "empty group" +msgstr "prázdná skupina" + +#: toke.l:211 toke.l:569 +msgid "empty netgroup" +msgstr "prázdná síťová skupina" + +#: toke.l:289 +msgid "unterminated regular expression" +msgstr "neukončený regulární výraz" + +#: toke.l:363 toke.l:375 toke.l:387 toke.l:403 toke.l:422 toke.l:462 +msgid "invalid line continuation" +msgstr "neplatné pokračování řádku" + +#: toke.l:608 toke.l:620 +msgid "invalid IPv6 address" +msgstr "neplatná IPv6 adresa" + +#: toke.l:876 +msgid "unexpected line break in string" +msgstr "nečekané zalomení řádku uvnitř řetězce" + +#: toke.l:1226 +msgid "too many levels of includes" +msgstr "příliš mnoho úrovní zanoření" + +#~ msgid "%s must be owned by uid %d" +#~ msgstr "%s musí být vlastněn UID %d" + +#~ msgid "%s must only be writable by owner" +#~ msgstr "%s smí být zapisovatelný jen pro vlastníka" + +#~ msgid "%s is group writable" +#~ msgstr "%s je zapisovatelný pro skupinu" + +#~ msgid "lecture status path too long: %s/%s" +#~ msgstr "cesta ke stavům lekce je příliš dlouhý: %s/%s" + +#~ msgid "Error: %s:%d:%d: cycle in %s \"%s\"" +#~ msgstr "Chyba: %s:%d:%d: smyčka v %s „%s“" + +#~ msgid "Warning: %s:%d:%d: cycle in %s \"%s\"" +#~ msgstr "Pozor: %s:%d:%d: smyčka v %s „%s“" + +#~ msgid "Warning: %s:%d:%d: %s \"%s\" referenced but not defined" +#~ msgstr "Pozor: %s:%d:%d: %s „%s“ použit, ale nedefinován" + +#~ msgid "parse error in %s near line %d\n" +#~ msgstr "chyba při rozboru %s kolem řádku %d\n" + +#~ msgid "parse error in %s\n" +#~ msgstr "chyba při rozboru %s\n" + +#~ msgid "%s: unknown defaults entry \"%s\"" +#~ msgstr "%s: neznámá položka defaults „%s“" + +#~ msgid "%s:%d:%d: no value specified for \"%s\"" +#~ msgstr "%s:%d:%d: u „%s“ nebyla zadána žádná hodnota" + +#~ msgid "%s:%d:%d: invalid operator \"%c=\" for \"%s\"" +#~ msgstr "%s:%d:%d: neplatný operátor „%c=“ u „%s“" + +#~ msgid "%s:%d:%d: option \"%s\" does not take a value" +#~ msgstr "%s:%d:%d: volba „%s“ nebere hodnotu" + +#~ msgid "%s:%d:%d: invalid Defaults type 0x%x for option \"%s\"" +#~ msgstr "%s:%d:%d: neplatný typ Defaults 0x%x u volby „%s“" + +#~ msgid "%s:%d:%d: value \"%s\" is invalid for option \"%s\"" +#~ msgstr "%s:%d:%d: hodnota „%s“ je pro volbu „%s“ neplatná" + +#~ msgid "%s:%d:%d: path name for \"%s\" too long" +#~ msgstr "%s:%d:%d: cesta pro „%s“ je příliš dlouhá" + +#~ msgid "%s: path name for \"%s\" too long" +#~ msgstr "%s: cesta pro „%s“ je příliš dlouhá" + +#~ msgid "%s:%d:%d: values for \"%s\" must start with a '/', '~', or '*'" +#~ msgstr "%s:%d:%d: hodnoty „%s“ musí začínat na „/“, „~“ nebo „*“" + +#~ msgid "%s:%d:%d: values for \"%s\" must start with a '/'" +#~ msgstr "%s:%d:%d: hodnoty „%s“ musí začínat na „/“" + +#~ msgid "parse error in %s near line %d" +#~ msgstr "chyba rozboru v %s kolem řádku %d" + +#~ msgid "parse error in %s" +#~ msgstr "chyba rozboru v %s" + +#~ msgid "SELinux RBAC is not supported when intercept mode is enabled" +#~ msgstr "SELinux RBAC není podporování, když je zapnut režim zachytávání" + +#~ msgid "SELinux RBAC is not supported when the log_subcmds flag is enabled" +#~ msgstr "SELinux RBAC není podporováno, když zapnut příznak log_subcmds" + +#~ msgid "problem with defaults entries" +#~ msgstr "problém s položkami defaults" + +#~ msgid "internal error, unable to find %s in list!" +#~ msgstr "vnitřní chyba, v seznamu nelze nalézt %s!" + +#~ msgid "%s is not in the sudoers file. This incident will be reported.\n" +#~ msgstr "%s není v souboru sudoers. Tato událost bude ohlášena.\n" + +#~ msgid "%s is not allowed to run sudo on %s. This incident will be reported.\n" +#~ msgstr "%s nemá dovoleno spouštět sudo na %s. Tato událost bude ohlášena.\n" + +#~ msgid "%s: write buffer already in use" +#~ msgstr "%s: vyrovnávací paměť pro zápis se již používá" + +#~ msgid "unable to read diffie-hellman parameters: %s" +#~ msgstr "parametry Diffieho-Hellmana nelze přečíst: %s" + +#~ msgid "%s:%d unknown key: %s" +#~ msgstr "%s:%d: neznámý klíč: %s" + +#~ msgid "unable to get TLS server method: %s" +#~ msgstr "nelze získat metodu TLS serveru: %s" + +#~ msgid "%s:%u unable to parse \"%s\"" +#~ msgstr "%s:%u „%s“ nelze rozebrat" + +#~ msgid "" +#~ "\n" +#~ "Options:\n" +#~ " -f, --file path to configuration file\n" +#~ " -h --help display help message and exit\n" +#~ " -n, --no-fork do not fork, run in the foreground\n" +#~ " -R, --random-drop percent chance connections will drop\n" +#~ " -V, --version display version information and exit\n" +#~ msgstr "" +#~ "\n" +#~ "Přepínače:\n" +#~ " -f, --file cesta ke konfiguračnímu souboru\n" +#~ " -h, --help zobrazí nápovědu a skončí\n" +#~ " -n, --no-fork zůstane běžet na popředí\n" +#~ " -R, --random-drop procentuální pravděpodobnost, že se spojení ztratí\n" +#~ " -V, --version zobrazí údaje o verzi a skončí\n" + +#~ msgid "" +#~ "\n" +#~ "Options:\n" +#~ " --help display help message and exit\n" +#~ " -A, --accept only send an accept event (no I/O)\n" +#~ " -h, --host host to send logs to\n" +#~ " -i, --iolog_id remote ID of I/O log to be resumed\n" +#~ " -p, --port port to use when connecting to host\n" +#~ " -r, --restart restart previous I/O log transfer\n" +#~ " -R, --reject reject the command with the given reason\n" +#~ " -b, --ca-bundle certificate bundle file to verify server's cert against\n" +#~ " -c, --cert certificate file for TLS handshake\n" +#~ " -k, --key private key file\n" +#~ " -n, --no-verify do not verify server certificate\n" +#~ " -t, --test test audit server by sending selected I/O log n times in parallel\n" +#~ " -V, --version display version information and exit\n" +#~ msgstr "" +#~ "\n" +#~ "Přepínače:\n" +#~ " --help zobrazí nápovědu a skončí\n" +#~ " -A, --accept zašle pouze událost přijetí (žádný vstup a výstup)\n" +#~ " -h, --host stroj, kam posílat protokol\n" +#~ " -i, --iolog_id vzdálený identifikátor vstupně-výstupního protokolu,\n" +#~ " na který se má navázat\n" +#~ " -p, --port port, který se použije při připojování na stroj\n" +#~ " -r, --restart restartuje předchozí přenos vstupně-výstupního\n" +#~ " protokolu\n" +#~ " -R, --reject zamítne příkaz se zadaným důvodem\n" +#~ " -b, --ca-bundle soubor se svazkem certifikátů, proti kterému se\n" +#~ " bude ověřovat certifikát serveru\n" +#~ " -c, --cert soubor s certifikátem pro navázání spojení TLS\n" +#~ " -k, --key soubor se soukromým klíčem\n" +#~ " -n, --no-verify neověřuje certifikát serveru\n" +#~ " -t, --test otestuje auditní server zasláním vybraných\n" +#~ " vstupně-výstupních protokolů n-krát souběžně\n" +#~ " -V, --version zobrazí údaje o verzi a skončí\n" + +#~ msgid "Preload the dummy exec functions contained in the sudo_noexec library" +#~ msgstr "Přednačíst prázdné spouštěcí funkce obsažené v knihovně sudo_noexec" + +#~ msgid "sudo_ldap_conf_add_ports: port too large" +#~ msgstr "sudo_ldap_conf_add_ports: port je příliš velký" + +#~ msgid "SSL_connect failed: ssl_error=%d, stack=%s\n" +#~ msgstr "Funkce SSL_connect selhala: chyba_SSL=%d, zásobník=%s\n" + +#~ msgid "CA bundle file was not specified" +#~ msgstr "Soubor se svazkem certifikátů autorit nebyl zadán" + +#~ msgid "Client certificate was not specified" +#~ msgstr "Certifikát klienta nebyl zadán" + +#~ msgid "Unable to allocate ssl object: %s\n" +#~ msgstr "Objekt SSL nelze alokovat: %s\n" + +#~ msgid "Unable to attach socket to the ssl object: %s\n" +#~ msgstr "K objektu SSL nelze připojit socket: %s\n" + +#~ msgid "client message too large: %zu\n" +#~ msgstr "velikost zprávy od klienta je příliš velká: %zu\n" + +#~ msgid "server message too large: %u\n" +#~ msgstr "zpráva od serveru je příliš veliká: %u\n" + +#~ msgid "CA bundle file is not set in sudoers" +#~ msgstr "V sudoers není nastaven soubor se svazkem certifikátů autorit" + +#~ msgid "Calling SSL_CTX_load_verify_locations() failed: %s" +#~ msgstr "Volání SSL_CTX_load_verify_locations() selhalo: %s " + +#~ msgid "Signed certificate file is not set in sudoers" +#~ msgstr "V sudoers není nastaven soubor s podepsaným certifikátem" + +#~ msgid "Unable to load private key into the ssl context: %s" +#~ msgstr "Do kontextu SSL nelze zavést soukromý klíč: %s" + +#~ msgid "SSL_connect failed: ssl_error=%d, stack=%s" +#~ msgstr "Funkce SSL_connect selhala: chyba_SSL=%d, zásobník=%s" + +#~ msgid "SSL_read failed: ssl_error=%d, stack=%s" +#~ msgstr "Funkce SSL_read selhala: chyba_SSL=%d, zásobník=%s" + +#~ msgid "SSL_write failed: ssl_error=%d, stack=%s" +#~ msgstr "Funkce SSL_write selhala: chyba_SSL=%d, zásobník=%s" + +#~ msgid "unknown address family: %d" +#~ msgstr "neznámá rodina síťových adres: %d" + +#~ msgid "audit_failure message too long" +#~ msgstr "zpráva audit_failure je příliš dlouhá" + +#~ msgid "No user or host" +#~ msgstr "Žádný uživatel nebo stroj" + +#~ msgid "validation failure" +#~ msgstr "selhání ověření" + +#~ msgid "%s/%s/timing: %s" +#~ msgstr "%s/%s/časování: %s" + +#~ msgid "ignoring invalid attribute value: %s" +#~ msgstr "neplatná hodnota hodnota atributu se ignoruje: %s" + +#~ msgid "unable to cache user %s, out of memory" +#~ msgstr "nelze zapamatovat si uživatele %s, nedostatek paměti" + +#~ msgid "unable to cache group %s, out of memory" +#~ msgstr "nelze zapamatovat si skupinu %s, nedostatek paměti" + +#~ msgid "unable to cache group list for %s, out of memory" +#~ msgstr "nelze zapamatovat si seznam skupin pro %s, nedostatek paměti" + +#~ msgid "" +#~ "\n" +#~ "LDAP Role: UNKNOWN\n" +#~ msgstr "" +#~ "\n" +#~ "Role LDAP: NEZNÁMÁ\n" + +#~ msgid " Order: %s\n" +#~ msgstr " Pořadí: %s\n" + +#~ msgid "" +#~ "\n" +#~ "SSSD Role: %s\n" +#~ msgstr "" +#~ "\n" +#~ "Role SSSD: %s\n" + +#~ msgid "" +#~ "\n" +#~ "SSSD Role: UNKNOWN\n" +#~ msgstr "" +#~ "\n" +#~ "Role SSSD: NEZNÁMÁ\n" + +#~ msgid "Warning: unused %s `%s'" +#~ msgstr "Pozor: nepožitý %s „%s“" + +#~ msgid "unable allocate memory" +#~ msgstr "nelze alokovat paměť" + +#~ msgid "timestamp path too long: %s/%s" +#~ msgstr "cesta k časovým údajům je příliš dlouhá: %s/%s" + +#~ msgid "unable to stat editor (%s)" +#~ msgstr "nelze zjisti údaje o editoru (%s)" + +#~ msgid "sudo_ldap_conf_add_ports: out of space expanding hostbuf" +#~ msgstr "sudo_ldap_conf_add_ports: nedostatek místa na rozšíření hostbuf" + +#~ msgid "sudo_ldap_parse_uri: out of space building hostbuf" +#~ msgstr "sudo_ldap_parse_uri: nedostatek místo pro vytvoření hostbuf" + +#~ msgid "sudo_ldap_build_pass1 allocation mismatch" +#~ msgstr "nesouhlasí alokace sudo_ldap_build_pass1" + +#~ msgid "internal error: insufficient space for log line" +#~ msgstr "vnitřní chyba: nedostatek místa pro řádek protokolu" + +#~ msgid "fill_args: buffer overflow" +#~ msgstr "fill_args: přetečení bufferu" diff --git a/plugins/sudoers/po/da.mo b/plugins/sudoers/po/da.mo new file mode 100644 index 0000000..c1ccaef Binary files /dev/null and b/plugins/sudoers/po/da.mo differ diff --git a/plugins/sudoers/po/da.po b/plugins/sudoers/po/da.po new file mode 100644 index 0000000..c1cb6f4 --- /dev/null +++ b/plugins/sudoers/po/da.po @@ -0,0 +1,2344 @@ +# Danish translation of sudoers. +# This file is put in the public domain. +# Joe Hansen , 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018. +# +# audit -> overvågning +# dummy -> attrap +# epoch -> epoke +# execute -> udføre (run -> kør) +# overflow -> overløb +# principal -> værtshovedstol +# runas -> runas ? (eller måske bedre med kør som. den er valgt indtil videre) +# stat -> stat +# timeout -> tidsudløb (eller ventetid, er dog lidt noget andet) +# +# der bliver brugt masser af forskellige citationstegn i den her ('' \" \" ``, +# nogle gange også tre styk). De er alle lavet med »« på dansk. +# +msgid "" +msgstr "" +"Project-Id-Version: sudoers 1.8.24b2\n" +"Report-Msgid-Bugs-To: https://bugzilla.sudo.ws\n" +"POT-Creation-Date: 2018-07-31 07:13-0600\n" +"PO-Revision-Date: 2018-08-12 07:48+0200\n" +"Last-Translator: joe Hansen \n" +"Language-Team: Danish \n" +"Language: da\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 1.8.11\n" + +#: confstr.sh:1 +msgid "syntax error" +msgstr "syntaksfejl" + +#: confstr.sh:2 +msgid "%p's password: " +msgstr "%ps adgangskode: " + +#: confstr.sh:3 +msgid "[sudo] password for %p: " +msgstr "[sudo] adgangskode for %p: " + +#: confstr.sh:4 +msgid "Password: " +msgstr "Adgangskode: " + +#: confstr.sh:5 +msgid "*** SECURITY information for %h ***" +msgstr "*** SIKKERHEDSINFORMATION for %h ***" + +#: confstr.sh:6 +msgid "Sorry, try again." +msgstr "Beklager, prøv igen." + +#: gram.y:194 gram.y:242 gram.y:249 gram.y:256 gram.y:263 gram.y:270 +#: gram.y:286 gram.y:310 gram.y:317 gram.y:324 gram.y:331 gram.y:338 +#: gram.y:401 gram.y:409 gram.y:419 gram.y:452 gram.y:459 gram.y:466 +#: gram.y:473 gram.y:555 gram.y:562 gram.y:571 gram.y:580 gram.y:597 +#: gram.y:709 gram.y:716 gram.y:723 gram.y:731 gram.y:831 gram.y:838 +#: gram.y:845 gram.y:852 gram.y:859 gram.y:885 gram.y:892 gram.y:899 +#: gram.y:1022 gram.y:1296 plugins/sudoers/alias.c:122 +#: plugins/sudoers/alias.c:129 plugins/sudoers/alias.c:145 +#: plugins/sudoers/auth/bsdauth.c:141 plugins/sudoers/auth/kerb5.c:119 +#: plugins/sudoers/auth/kerb5.c:145 plugins/sudoers/auth/pam.c:519 +#: plugins/sudoers/auth/rfc1938.c:109 plugins/sudoers/auth/sia.c:59 +#: plugins/sudoers/cvtsudoers.c:116 plugins/sudoers/cvtsudoers.c:157 +#: plugins/sudoers/cvtsudoers.c:174 plugins/sudoers/cvtsudoers.c:185 +#: plugins/sudoers/cvtsudoers.c:278 plugins/sudoers/cvtsudoers.c:405 +#: plugins/sudoers/cvtsudoers.c:538 plugins/sudoers/cvtsudoers.c:555 +#: plugins/sudoers/cvtsudoers.c:660 plugins/sudoers/cvtsudoers.c:773 +#: plugins/sudoers/cvtsudoers.c:781 plugins/sudoers/cvtsudoers.c:1186 +#: plugins/sudoers/cvtsudoers.c:1190 plugins/sudoers/cvtsudoers.c:1290 +#: plugins/sudoers/cvtsudoers_ldif.c:147 plugins/sudoers/cvtsudoers_ldif.c:189 +#: plugins/sudoers/cvtsudoers_ldif.c:236 plugins/sudoers/cvtsudoers_ldif.c:255 +#: plugins/sudoers/cvtsudoers_ldif.c:325 plugins/sudoers/cvtsudoers_ldif.c:380 +#: plugins/sudoers/cvtsudoers_ldif.c:388 plugins/sudoers/cvtsudoers_ldif.c:405 +#: plugins/sudoers/cvtsudoers_ldif.c:414 plugins/sudoers/cvtsudoers_ldif.c:560 +#: plugins/sudoers/cvtsudoers_ldif.c:753 plugins/sudoers/cvtsudoers_ldif.c:780 +#: plugins/sudoers/cvtsudoers_ldif.c:848 plugins/sudoers/cvtsudoers_ldif.c:855 +#: plugins/sudoers/cvtsudoers_ldif.c:860 plugins/sudoers/cvtsudoers_ldif.c:936 +#: plugins/sudoers/cvtsudoers_ldif.c:947 plugins/sudoers/cvtsudoers_ldif.c:953 +#: plugins/sudoers/cvtsudoers_ldif.c:978 plugins/sudoers/cvtsudoers_ldif.c:990 +#: plugins/sudoers/cvtsudoers_ldif.c:994 +#: plugins/sudoers/cvtsudoers_ldif.c:1008 +#: plugins/sudoers/cvtsudoers_ldif.c:1176 +#: plugins/sudoers/cvtsudoers_ldif.c:1208 +#: plugins/sudoers/cvtsudoers_ldif.c:1233 +#: plugins/sudoers/cvtsudoers_ldif.c:1262 +#: plugins/sudoers/cvtsudoers_ldif.c:1312 +#: plugins/sudoers/cvtsudoers_ldif.c:1358 +#: plugins/sudoers/cvtsudoers_ldif.c:1368 plugins/sudoers/defaults.c:656 +#: plugins/sudoers/defaults.c:952 plugins/sudoers/defaults.c:1123 +#: plugins/sudoers/editor.c:65 plugins/sudoers/editor.c:83 +#: plugins/sudoers/editor.c:94 plugins/sudoers/env.c:233 +#: plugins/sudoers/filedigest.c:61 plugins/sudoers/filedigest.c:77 +#: plugins/sudoers/gc.c:52 plugins/sudoers/group_plugin.c:131 +#: plugins/sudoers/interfaces.c:71 plugins/sudoers/iolog.c:938 +#: plugins/sudoers/iolog_path.c:167 plugins/sudoers/ldap.c:177 +#: plugins/sudoers/ldap.c:408 plugins/sudoers/ldap.c:412 +#: plugins/sudoers/ldap.c:424 plugins/sudoers/ldap.c:715 +#: plugins/sudoers/ldap.c:879 plugins/sudoers/ldap.c:1228 +#: plugins/sudoers/ldap.c:1654 plugins/sudoers/ldap.c:1691 +#: plugins/sudoers/ldap.c:1771 plugins/sudoers/ldap.c:1906 +#: plugins/sudoers/ldap.c:2007 plugins/sudoers/ldap.c:2023 +#: plugins/sudoers/ldap_conf.c:214 plugins/sudoers/ldap_conf.c:245 +#: plugins/sudoers/ldap_conf.c:297 plugins/sudoers/ldap_conf.c:333 +#: plugins/sudoers/ldap_conf.c:422 plugins/sudoers/ldap_conf.c:437 +#: plugins/sudoers/ldap_conf.c:533 plugins/sudoers/ldap_conf.c:566 +#: plugins/sudoers/ldap_conf.c:647 plugins/sudoers/ldap_conf.c:729 +#: plugins/sudoers/ldap_util.c:519 plugins/sudoers/ldap_util.c:575 +#: plugins/sudoers/linux_audit.c:76 plugins/sudoers/logging.c:190 +#: plugins/sudoers/logging.c:506 plugins/sudoers/logging.c:527 +#: plugins/sudoers/logging.c:568 plugins/sudoers/logging.c:745 +#: plugins/sudoers/logging.c:1003 plugins/sudoers/match.c:693 +#: plugins/sudoers/match.c:740 plugins/sudoers/match.c:781 +#: plugins/sudoers/match.c:809 plugins/sudoers/match.c:897 +#: plugins/sudoers/match.c:977 plugins/sudoers/parse.c:192 +#: plugins/sudoers/parse.c:204 plugins/sudoers/parse.c:219 +#: plugins/sudoers/parse.c:231 plugins/sudoers/policy.c:497 +#: plugins/sudoers/policy.c:739 plugins/sudoers/prompt.c:93 +#: plugins/sudoers/pwutil.c:191 plugins/sudoers/pwutil.c:263 +#: plugins/sudoers/pwutil.c:340 plugins/sudoers/pwutil.c:514 +#: plugins/sudoers/pwutil.c:580 plugins/sudoers/pwutil.c:650 +#: plugins/sudoers/pwutil.c:808 plugins/sudoers/pwutil.c:865 +#: plugins/sudoers/pwutil.c:910 plugins/sudoers/pwutil.c:968 +#: plugins/sudoers/sssd.c:147 plugins/sudoers/sssd.c:387 +#: plugins/sudoers/sssd.c:450 plugins/sudoers/sssd.c:494 +#: plugins/sudoers/sssd.c:541 plugins/sudoers/sssd.c:732 +#: plugins/sudoers/stubs.c:96 plugins/sudoers/stubs.c:104 +#: plugins/sudoers/sudoers.c:265 plugins/sudoers/sudoers.c:275 +#: plugins/sudoers/sudoers.c:283 plugins/sudoers/sudoers.c:325 +#: plugins/sudoers/sudoers.c:648 plugins/sudoers/sudoers.c:774 +#: plugins/sudoers/sudoers.c:818 plugins/sudoers/sudoers.c:1092 +#: plugins/sudoers/sudoers_debug.c:107 plugins/sudoers/sudoreplay.c:1265 +#: plugins/sudoers/sudoreplay.c:1377 plugins/sudoers/sudoreplay.c:1417 +#: plugins/sudoers/sudoreplay.c:1426 plugins/sudoers/sudoreplay.c:1436 +#: plugins/sudoers/sudoreplay.c:1444 plugins/sudoers/sudoreplay.c:1448 +#: plugins/sudoers/sudoreplay.c:1604 plugins/sudoers/sudoreplay.c:1608 +#: plugins/sudoers/testsudoers.c:125 plugins/sudoers/testsudoers.c:215 +#: plugins/sudoers/testsudoers.c:232 plugins/sudoers/testsudoers.c:554 +#: plugins/sudoers/timestamp.c:401 plugins/sudoers/timestamp.c:445 +#: plugins/sudoers/timestamp.c:923 plugins/sudoers/toke_util.c:55 +#: plugins/sudoers/toke_util.c:108 plugins/sudoers/toke_util.c:145 +#: plugins/sudoers/tsdump.c:125 plugins/sudoers/visudo.c:145 +#: plugins/sudoers/visudo.c:307 plugins/sudoers/visudo.c:313 +#: plugins/sudoers/visudo.c:423 plugins/sudoers/visudo.c:601 +#: plugins/sudoers/visudo.c:920 plugins/sudoers/visudo.c:987 +#: plugins/sudoers/visudo.c:1076 toke.l:847 toke.l:948 toke.l:1105 +msgid "unable to allocate memory" +msgstr "kan ikke tildele hukommelse" + +#: gram.y:484 +msgid "a digest requires a path name" +msgstr "et sammendrag kræver et stinavn" + +#: gram.y:610 +msgid "invalid notbefore value" +msgstr "ugyldig notbefore-værdi" + +#: gram.y:618 +msgid "invalid notafter value" +msgstr "ugyldig notafter-værdi" + +#: gram.y:627 plugins/sudoers/policy.c:313 +msgid "timeout value too large" +msgstr "værdi for tidsudløb er for stor" + +#: gram.y:629 plugins/sudoers/policy.c:315 +msgid "invalid timeout value" +msgstr "ugyldig værdi for tidsudløb" + +#: gram.y:1296 plugins/sudoers/auth/pam.c:349 plugins/sudoers/auth/pam.c:519 +#: plugins/sudoers/auth/rfc1938.c:109 plugins/sudoers/cvtsudoers.c:116 +#: plugins/sudoers/cvtsudoers.c:156 plugins/sudoers/cvtsudoers.c:173 +#: plugins/sudoers/cvtsudoers.c:184 plugins/sudoers/cvtsudoers.c:277 +#: plugins/sudoers/cvtsudoers.c:404 plugins/sudoers/cvtsudoers.c:537 +#: plugins/sudoers/cvtsudoers.c:554 plugins/sudoers/cvtsudoers.c:660 +#: plugins/sudoers/cvtsudoers.c:773 plugins/sudoers/cvtsudoers.c:780 +#: plugins/sudoers/cvtsudoers.c:1186 plugins/sudoers/cvtsudoers.c:1190 +#: plugins/sudoers/cvtsudoers.c:1290 plugins/sudoers/cvtsudoers_ldif.c:146 +#: plugins/sudoers/cvtsudoers_ldif.c:188 plugins/sudoers/cvtsudoers_ldif.c:235 +#: plugins/sudoers/cvtsudoers_ldif.c:254 plugins/sudoers/cvtsudoers_ldif.c:324 +#: plugins/sudoers/cvtsudoers_ldif.c:379 plugins/sudoers/cvtsudoers_ldif.c:387 +#: plugins/sudoers/cvtsudoers_ldif.c:404 plugins/sudoers/cvtsudoers_ldif.c:413 +#: plugins/sudoers/cvtsudoers_ldif.c:559 plugins/sudoers/cvtsudoers_ldif.c:752 +#: plugins/sudoers/cvtsudoers_ldif.c:779 plugins/sudoers/cvtsudoers_ldif.c:847 +#: plugins/sudoers/cvtsudoers_ldif.c:854 plugins/sudoers/cvtsudoers_ldif.c:859 +#: plugins/sudoers/cvtsudoers_ldif.c:935 plugins/sudoers/cvtsudoers_ldif.c:946 +#: plugins/sudoers/cvtsudoers_ldif.c:952 plugins/sudoers/cvtsudoers_ldif.c:977 +#: plugins/sudoers/cvtsudoers_ldif.c:989 plugins/sudoers/cvtsudoers_ldif.c:993 +#: plugins/sudoers/cvtsudoers_ldif.c:1007 +#: plugins/sudoers/cvtsudoers_ldif.c:1176 +#: plugins/sudoers/cvtsudoers_ldif.c:1207 +#: plugins/sudoers/cvtsudoers_ldif.c:1232 +#: plugins/sudoers/cvtsudoers_ldif.c:1261 +#: plugins/sudoers/cvtsudoers_ldif.c:1311 +#: plugins/sudoers/cvtsudoers_ldif.c:1357 +#: plugins/sudoers/cvtsudoers_ldif.c:1367 plugins/sudoers/defaults.c:656 +#: plugins/sudoers/defaults.c:952 plugins/sudoers/defaults.c:1123 +#: plugins/sudoers/editor.c:65 plugins/sudoers/editor.c:83 +#: plugins/sudoers/editor.c:94 plugins/sudoers/env.c:233 +#: plugins/sudoers/filedigest.c:61 plugins/sudoers/filedigest.c:77 +#: plugins/sudoers/gc.c:52 plugins/sudoers/group_plugin.c:131 +#: plugins/sudoers/interfaces.c:71 plugins/sudoers/iolog.c:938 +#: plugins/sudoers/iolog_path.c:167 plugins/sudoers/ldap.c:177 +#: plugins/sudoers/ldap.c:408 plugins/sudoers/ldap.c:412 +#: plugins/sudoers/ldap.c:424 plugins/sudoers/ldap.c:715 +#: plugins/sudoers/ldap.c:879 plugins/sudoers/ldap.c:1228 +#: plugins/sudoers/ldap.c:1654 plugins/sudoers/ldap.c:1691 +#: plugins/sudoers/ldap.c:1771 plugins/sudoers/ldap.c:1906 +#: plugins/sudoers/ldap.c:2007 plugins/sudoers/ldap.c:2023 +#: plugins/sudoers/ldap_conf.c:214 plugins/sudoers/ldap_conf.c:245 +#: plugins/sudoers/ldap_conf.c:297 plugins/sudoers/ldap_conf.c:333 +#: plugins/sudoers/ldap_conf.c:422 plugins/sudoers/ldap_conf.c:437 +#: plugins/sudoers/ldap_conf.c:533 plugins/sudoers/ldap_conf.c:566 +#: plugins/sudoers/ldap_conf.c:646 plugins/sudoers/ldap_conf.c:729 +#: plugins/sudoers/ldap_util.c:519 plugins/sudoers/ldap_util.c:575 +#: plugins/sudoers/linux_audit.c:76 plugins/sudoers/logging.c:190 +#: plugins/sudoers/logging.c:506 plugins/sudoers/logging.c:527 +#: plugins/sudoers/logging.c:567 plugins/sudoers/logging.c:1003 +#: plugins/sudoers/match.c:692 plugins/sudoers/match.c:739 +#: plugins/sudoers/match.c:781 plugins/sudoers/match.c:809 +#: plugins/sudoers/match.c:897 plugins/sudoers/match.c:976 +#: plugins/sudoers/parse.c:191 plugins/sudoers/parse.c:203 +#: plugins/sudoers/parse.c:218 plugins/sudoers/parse.c:230 +#: plugins/sudoers/policy.c:127 plugins/sudoers/policy.c:136 +#: plugins/sudoers/policy.c:145 plugins/sudoers/policy.c:171 +#: plugins/sudoers/policy.c:298 plugins/sudoers/policy.c:313 +#: plugins/sudoers/policy.c:315 plugins/sudoers/policy.c:341 +#: plugins/sudoers/policy.c:351 plugins/sudoers/policy.c:395 +#: plugins/sudoers/policy.c:405 plugins/sudoers/policy.c:414 +#: plugins/sudoers/policy.c:423 plugins/sudoers/policy.c:497 +#: plugins/sudoers/policy.c:739 plugins/sudoers/prompt.c:93 +#: plugins/sudoers/pwutil.c:191 plugins/sudoers/pwutil.c:263 +#: plugins/sudoers/pwutil.c:340 plugins/sudoers/pwutil.c:514 +#: plugins/sudoers/pwutil.c:580 plugins/sudoers/pwutil.c:650 +#: plugins/sudoers/pwutil.c:808 plugins/sudoers/pwutil.c:865 +#: plugins/sudoers/pwutil.c:910 plugins/sudoers/pwutil.c:968 +#: plugins/sudoers/set_perms.c:387 plugins/sudoers/set_perms.c:766 +#: plugins/sudoers/set_perms.c:1150 plugins/sudoers/set_perms.c:1476 +#: plugins/sudoers/set_perms.c:1641 plugins/sudoers/sssd.c:146 +#: plugins/sudoers/sssd.c:387 plugins/sudoers/sssd.c:450 +#: plugins/sudoers/sssd.c:494 plugins/sudoers/sssd.c:541 +#: plugins/sudoers/sssd.c:732 plugins/sudoers/stubs.c:96 +#: plugins/sudoers/stubs.c:104 plugins/sudoers/sudoers.c:265 +#: plugins/sudoers/sudoers.c:275 plugins/sudoers/sudoers.c:283 +#: plugins/sudoers/sudoers.c:325 plugins/sudoers/sudoers.c:648 +#: plugins/sudoers/sudoers.c:774 plugins/sudoers/sudoers.c:818 +#: plugins/sudoers/sudoers.c:1092 plugins/sudoers/sudoers_debug.c:106 +#: plugins/sudoers/sudoreplay.c:1265 plugins/sudoers/sudoreplay.c:1377 +#: plugins/sudoers/sudoreplay.c:1417 plugins/sudoers/sudoreplay.c:1426 +#: plugins/sudoers/sudoreplay.c:1436 plugins/sudoers/sudoreplay.c:1444 +#: plugins/sudoers/sudoreplay.c:1448 plugins/sudoers/sudoreplay.c:1604 +#: plugins/sudoers/sudoreplay.c:1608 plugins/sudoers/testsudoers.c:125 +#: plugins/sudoers/testsudoers.c:215 plugins/sudoers/testsudoers.c:232 +#: plugins/sudoers/testsudoers.c:554 plugins/sudoers/timestamp.c:401 +#: plugins/sudoers/timestamp.c:445 plugins/sudoers/timestamp.c:923 +#: plugins/sudoers/toke_util.c:55 plugins/sudoers/toke_util.c:108 +#: plugins/sudoers/toke_util.c:145 plugins/sudoers/tsdump.c:125 +#: plugins/sudoers/visudo.c:145 plugins/sudoers/visudo.c:307 +#: plugins/sudoers/visudo.c:313 plugins/sudoers/visudo.c:423 +#: plugins/sudoers/visudo.c:601 plugins/sudoers/visudo.c:920 +#: plugins/sudoers/visudo.c:987 plugins/sudoers/visudo.c:1076 toke.l:847 +#: toke.l:948 toke.l:1105 +#, c-format +msgid "%s: %s" +msgstr "%s: %s" + +#: plugins/sudoers/alias.c:140 +#, c-format +msgid "Alias \"%s\" already defined" +msgstr "Alias »%s« er allerede defineret" + +#: plugins/sudoers/auth/bsdauth.c:68 +#, c-format +msgid "unable to get login class for user %s" +msgstr "kan ikke hente logindklasse for bruger %s" + +#: plugins/sudoers/auth/bsdauth.c:73 +msgid "unable to begin bsd authentication" +msgstr "kan ikke starte bsd-godkendelse" + +#: plugins/sudoers/auth/bsdauth.c:81 +msgid "invalid authentication type" +msgstr "ugyldig godkendelsestype" + +#: plugins/sudoers/auth/bsdauth.c:90 +msgid "unable to initialize BSD authentication" +msgstr "kan ikke initialisere BSD-godkendelse" + +#: plugins/sudoers/auth/bsdauth.c:178 +msgid "your account has expired" +msgstr "din konto er udløbet" + +#: plugins/sudoers/auth/bsdauth.c:180 +msgid "approval failed" +msgstr "godkendelse mislykkedes" + +#: plugins/sudoers/auth/fwtk.c:52 +msgid "unable to read fwtk config" +msgstr "kan ikke læse fwtk-konfiguration" + +#: plugins/sudoers/auth/fwtk.c:57 +msgid "unable to connect to authentication server" +msgstr "kan ikke forbinde til godkendelsesserver" + +#: plugins/sudoers/auth/fwtk.c:63 plugins/sudoers/auth/fwtk.c:87 +#: plugins/sudoers/auth/fwtk.c:119 +msgid "lost connection to authentication server" +msgstr "mistede forbindelsen til godkendelseserveren" + +#: plugins/sudoers/auth/fwtk.c:67 +#, c-format +msgid "" +"authentication server error:\n" +"%s" +msgstr "" +"godkendelsesserverfejl:\n" +"%s" + +#: plugins/sudoers/auth/kerb5.c:111 +#, c-format +msgid "%s: unable to convert principal to string ('%s'): %s" +msgstr "%s: Kan ikke konvertere værtshovedstol til streng (»%s«): %s" + +#: plugins/sudoers/auth/kerb5.c:161 +#, c-format +msgid "%s: unable to parse '%s': %s" +msgstr "%s: Kan ikke fortolke »%s«: %s" + +#: plugins/sudoers/auth/kerb5.c:170 +#, c-format +msgid "%s: unable to resolve credential cache: %s" +msgstr "%s: Kan ikke slå akkreditivmellemlager op: %s" + +#: plugins/sudoers/auth/kerb5.c:217 +#, c-format +msgid "%s: unable to allocate options: %s" +msgstr "%s: Kan ikke allokere tilvalg: %s" + +#: plugins/sudoers/auth/kerb5.c:232 +#, c-format +msgid "%s: unable to get credentials: %s" +msgstr "%s: Kan ikke indhente akkreditiver: %s" + +#: plugins/sudoers/auth/kerb5.c:245 +#, c-format +msgid "%s: unable to initialize credential cache: %s" +msgstr "%s: Kan ikke initialisere akkreditivmellemlager: %s" + +#: plugins/sudoers/auth/kerb5.c:248 +#, c-format +msgid "%s: unable to store credential in cache: %s" +msgstr "%s: Kan ikke gemme akkreditiver i mellemlager: %s" + +#: plugins/sudoers/auth/kerb5.c:312 +#, c-format +msgid "%s: unable to get host principal: %s" +msgstr "%s: Kan ikke indhente værtshovedstol: %s" + +#: plugins/sudoers/auth/kerb5.c:326 +#, c-format +msgid "%s: Cannot verify TGT! Possible attack!: %s" +msgstr "%s: Kan ikke verifiere TGT! Muligt angreb!: %s" + +#: plugins/sudoers/auth/pam.c:108 +msgid "unable to initialize PAM" +msgstr "kan ikke initialisere PAM" + +#: plugins/sudoers/auth/pam.c:199 +#, c-format +msgid "PAM authentication error: %s" +msgstr "PAM-godkendelsesserverfejl: %s" + +#: plugins/sudoers/auth/pam.c:216 +msgid "account validation failure, is your account locked?" +msgstr "valideringsfejl for konto, er din konto låst?" + +#: plugins/sudoers/auth/pam.c:224 +msgid "Account or password is expired, reset your password and try again" +msgstr "Konto eller adgangskoder er udløbet, nulstil din adgangskode og forsøg igen" + +#: plugins/sudoers/auth/pam.c:233 +#, c-format +msgid "unable to change expired password: %s" +msgstr "kan ikke ændre udløbet adgangskode: %s" + +#: plugins/sudoers/auth/pam.c:241 +msgid "Password expired, contact your system administrator" +msgstr "Adgangskode udløbet, kontakt din systemadministrator" + +#: plugins/sudoers/auth/pam.c:245 +msgid "Account expired or PAM config lacks an \"account\" section for sudo, contact your system administrator" +msgstr "Konto udløbet eller PAM-konfiguration mangler et »kontoafsnit« for sudo. Kontakt din systemadministrator" + +#: plugins/sudoers/auth/pam.c:252 plugins/sudoers/auth/pam.c:257 +#, c-format +msgid "PAM account management error: %s" +msgstr "PAM-kontohåndteringsfejl: %s" + +#: plugins/sudoers/auth/rfc1938.c:97 plugins/sudoers/visudo.c:227 +#, c-format +msgid "you do not exist in the %s database" +msgstr "du findes ikke i %s-databasen" + +#: plugins/sudoers/auth/securid5.c:73 +msgid "failed to initialise the ACE API library" +msgstr "kunne ikke initialisere ACE API-biblioteket" + +#: plugins/sudoers/auth/securid5.c:99 +msgid "unable to contact the SecurID server" +msgstr "kan ikke kontakte SecurID-serveren" + +#: plugins/sudoers/auth/securid5.c:108 +msgid "User ID locked for SecurID Authentication" +msgstr "Bruger-ID låst for SecurID-godkendelse" + +#: plugins/sudoers/auth/securid5.c:112 plugins/sudoers/auth/securid5.c:163 +msgid "invalid username length for SecurID" +msgstr "ugyldigt brugernavnslængde for SecurID" + +#: plugins/sudoers/auth/securid5.c:116 plugins/sudoers/auth/securid5.c:168 +msgid "invalid Authentication Handle for SecurID" +msgstr "ugyldigt godkendelseshåndtag for SecurID" + +#: plugins/sudoers/auth/securid5.c:120 +msgid "SecurID communication failed" +msgstr "SecurID-kommunikation fejlede" + +#: plugins/sudoers/auth/securid5.c:124 plugins/sudoers/auth/securid5.c:213 +msgid "unknown SecurID error" +msgstr "ukendt SecurID-fejl" + +#: plugins/sudoers/auth/securid5.c:158 +msgid "invalid passcode length for SecurID" +msgstr "ugyldig adgangskodelængde for SecurID" + +#: plugins/sudoers/auth/sia.c:69 plugins/sudoers/auth/sia.c:124 +msgid "unable to initialize SIA session" +msgstr "kan ikke initialisere SIA-session" + +#: plugins/sudoers/auth/sudo_auth.c:131 +msgid "invalid authentication methods" +msgstr "ugyldige godkendelsesmetoder" + +#: plugins/sudoers/auth/sudo_auth.c:133 +msgid "Invalid authentication methods compiled into sudo! You may not mix standalone and non-standalone authentication." +msgstr "Ugyldige godkendelsesmetoder kompileret ind i sudo! Du kan ikke blande uafhængig og ikkeuafhængig godkendelse." + +#: plugins/sudoers/auth/sudo_auth.c:254 plugins/sudoers/auth/sudo_auth.c:304 +msgid "no authentication methods" +msgstr "ingen godkendelsesmetoder" + +#: plugins/sudoers/auth/sudo_auth.c:256 +msgid "There are no authentication methods compiled into sudo! If you want to turn off authentication, use the --disable-authentication configure option." +msgstr "Der er ingen godkendelsesmetoder kompileret ind i sudo! Hvis du ønsker at fravælge godkendelse så brug konfigurationstilvalget --disable-authentication." + +#: plugins/sudoers/auth/sudo_auth.c:306 +msgid "Unable to initialize authentication methods." +msgstr "Kan ikke initialisere godkendelsesmetoder." + +#: plugins/sudoers/auth/sudo_auth.c:472 +msgid "Authentication methods:" +msgstr "Godkendelsesmetoder:" + +#: plugins/sudoers/bsm_audit.c:120 plugins/sudoers/bsm_audit.c:211 +msgid "Could not determine audit condition" +msgstr "Kunne ikke bestemme overvågningsbetingelse" + +#: plugins/sudoers/bsm_audit.c:183 plugins/sudoers/bsm_audit.c:273 +msgid "unable to commit audit record" +msgstr "kan ikke indsende overvågningspost" + +#: plugins/sudoers/check.c:262 +msgid "" +"\n" +"We trust you have received the usual lecture from the local System\n" +"Administrator. It usually boils down to these three things:\n" +"\n" +" #1) Respect the privacy of others.\n" +" #2) Think before you type.\n" +" #3) With great power comes great responsibility.\n" +"\n" +msgstr "" +"\n" +"Vi stoler på, at du har modtaget den gængse advarsel fra den lokale\n" +"systemadministrator. Det drejer sig normalt om følgende tre ting:\n" +"\n" +" #1) Respekter andres privatliv.\n" +" #2) Tænk før du taster.\n" +" #3) Med stor magt følger stort ansvar.\n" +"\n" + +#: plugins/sudoers/check.c:305 plugins/sudoers/check.c:315 +#: plugins/sudoers/sudoers.c:691 plugins/sudoers/sudoers.c:736 +#: plugins/sudoers/tsdump.c:121 +#, c-format +msgid "unknown uid: %u" +msgstr "ukendt uid: %u" + +#: plugins/sudoers/check.c:310 plugins/sudoers/iolog.c:257 +#: plugins/sudoers/policy.c:912 plugins/sudoers/sudoers.c:1131 +#: plugins/sudoers/testsudoers.c:206 plugins/sudoers/testsudoers.c:366 +#, c-format +msgid "unknown user: %s" +msgstr "ukendt bruger: %s" + +#: plugins/sudoers/cvtsudoers.c:191 +#, c-format +msgid "order increment: %s: %s" +msgstr "rækkefølgeforøgelse: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:207 +#, c-format +msgid "starting order: %s: %s" +msgstr "startrækkefølge: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:218 plugins/sudoers/sudoreplay.c:310 +#: plugins/sudoers/visudo.c:177 +#, c-format +msgid "%s version %s\n" +msgstr "%s version %s\n" + +#: plugins/sudoers/cvtsudoers.c:220 plugins/sudoers/visudo.c:179 +#, c-format +msgid "%s grammar version %d\n" +msgstr "%s grammatikversion %d\n" + +#: plugins/sudoers/cvtsudoers.c:237 +#, c-format +msgid "unsupported input format %s" +msgstr "ej understøttet inddataformat %s" + +#: plugins/sudoers/cvtsudoers.c:252 +#, c-format +msgid "unsupported output format %s" +msgstr "ej understøttet uddataformat %s" + +#: plugins/sudoers/cvtsudoers.c:292 +#, c-format +msgid "%s: input and output files must be different" +msgstr "%s: inddata- og uddatafiler skal være forskellige" + +#: plugins/sudoers/cvtsudoers.c:308 plugins/sudoers/sudoers.c:168 +#: plugins/sudoers/testsudoers.c:245 plugins/sudoers/visudo.c:233 +#: plugins/sudoers/visudo.c:589 plugins/sudoers/visudo.c:911 +msgid "unable to initialize sudoers default values" +msgstr "kan ikke initialisere sudoers' standardværdier" + +#: plugins/sudoers/cvtsudoers.c:393 plugins/sudoers/ldap_conf.c:412 +#, c-format +msgid "%s: %s: %s: %s" +msgstr "%s: %s: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:452 +#, c-format +msgid "%s: unknown key word: %s" +msgstr "%s: ukendt nøgleord: %s" + +#: plugins/sudoers/cvtsudoers.c:498 +#, c-format +msgid "invalid defaults type: %s" +msgstr "ugyldig type for standarder: %s" + +#: plugins/sudoers/cvtsudoers.c:521 +#, c-format +msgid "invalid suppression type: %s" +msgstr "ugyldig undertrykkelsestype: %s" + +#: plugins/sudoers/cvtsudoers.c:561 plugins/sudoers/cvtsudoers.c:575 +#, c-format +msgid "invalid filter: %s" +msgstr "ugyldigt filter: %s" + +#: plugins/sudoers/cvtsudoers.c:653 plugins/sudoers/cvtsudoers.c:1250 +#: plugins/sudoers/cvtsudoers_json.c:1113 +#: plugins/sudoers/cvtsudoers_ldif.c:627 +#: plugins/sudoers/cvtsudoers_ldif.c:1163 plugins/sudoers/iolog.c:415 +#: plugins/sudoers/sudoers.c:898 plugins/sudoers/sudoreplay.c:356 +#: plugins/sudoers/sudoreplay.c:1366 plugins/sudoers/sudoreplay.c:1570 +#: plugins/sudoers/timestamp.c:410 plugins/sudoers/tsdump.c:130 +#: plugins/sudoers/visudo.c:907 +#, c-format +msgid "unable to open %s" +msgstr "kan ikke åbne %s" + +#: plugins/sudoers/cvtsudoers.c:656 plugins/sudoers/visudo.c:916 +#, c-format +msgid "failed to parse %s file, unknown error" +msgstr "kunne ikke fortolke %s-fil, ukendt fejl" + +#: plugins/sudoers/cvtsudoers.c:664 plugins/sudoers/visudo.c:933 +#, c-format +msgid "parse error in %s near line %d\n" +msgstr "fortolkningsfejl i %s nær linje %d\n" + +#: plugins/sudoers/cvtsudoers.c:667 plugins/sudoers/visudo.c:936 +#, c-format +msgid "parse error in %s\n" +msgstr "fortolkningsfejl i %s\n" + +#: plugins/sudoers/cvtsudoers.c:1297 plugins/sudoers/iolog.c:502 +#: plugins/sudoers/sudoreplay.c:1135 plugins/sudoers/timestamp.c:294 +#: plugins/sudoers/timestamp.c:297 +#, c-format +msgid "unable to write to %s" +msgstr "kan ikke skrive til %s" + +#: plugins/sudoers/cvtsudoers.c:1320 +#, c-format +msgid "" +"%s - convert between sudoers file formats\n" +"\n" +msgstr "" +"%s - konverter mellem sudoers-filformater\n" +"\n" + +#: plugins/sudoers/cvtsudoers.c:1322 +msgid "" +"\n" +"Options:\n" +" -b, --base=dn the base DN for sudo LDAP queries\n" +" -d, --defaults=deftypes only convert Defaults of the specified types\n" +" -e, --expand-aliases expand aliases when converting\n" +" -f, --output-format=format set output format: JSON, LDIF or sudoers\n" +" -i, --input-format=format set input format: LDIF or sudoers\n" +" -I, --increment=num amount to increase each sudoOrder by\n" +" -h, --help display help message and exit\n" +" -m, --match=filter only convert entries that match the filter\n" +" -M, --match-local match filter uses passwd and group databases\n" +" -o, --output=output_file write converted sudoers to output_file\n" +" -O, --order-start=num starting point for first sudoOrder\n" +" -p, --prune-matches prune non-matching users, groups and hosts\n" +" -s, --suppress=sections suppress output of certain sections\n" +" -V, --version display version information and exit" +msgstr "" +"\n" +"Tilvalg:\n" +" -b, --base=dn base-DN'en for sudo LDAP-forespørgsler\n" +" -d, --defaults=deftyper konverter kun Standarder for angivne typer\n" +" -e, --expand-aliases udvid aliasser under konvertering\n" +" -f, --output-format=format angiv uddataformat: JSON, LDIF eller sudoers\n" +" -i, --input-format=format angiv inddataformat: LDIF eller sudoers\n" +" -I, --increment=num mængde at øge hver sudoOrder med\n" +" -h, --help vis denne hjælpetekst og afslut\n" +" -m, --match=filter konverter kun poster som matcher filteret\n" +" -M, --match-local matchfilter bruger passwd og gruppedatabaser\n" +" -o, --output=uddatafil skriv konverteret sudoers til uddatafil\n" +" -O, --order-start=num startpunkt for første sudoOrder\n" +" -p, --prune-matches trim ikkematchende brugere, grupper og værter\n" +" -s, --suppress=sektioner undertryk uddata for bestemte sektioner\n" +" -V, --version vis information om version og afslut" + +#: plugins/sudoers/cvtsudoers_json.c:673 plugins/sudoers/cvtsudoers_json.c:708 +#: plugins/sudoers/cvtsudoers_json.c:924 +#, c-format +msgid "unknown defaults entry \"%s\"" +msgstr "ukendt indgang »%s« for standarder" + +#: plugins/sudoers/cvtsudoers_json.c:844 plugins/sudoers/cvtsudoers_json.c:859 +#: plugins/sudoers/cvtsudoers_ldif.c:299 plugins/sudoers/cvtsudoers_ldif.c:310 +#: plugins/sudoers/ldap.c:474 +msgid "unable to get GMT time" +msgstr "kan ikke indhente GMT-tid" + +#: plugins/sudoers/cvtsudoers_json.c:847 plugins/sudoers/cvtsudoers_json.c:862 +#: plugins/sudoers/cvtsudoers_ldif.c:302 plugins/sudoers/cvtsudoers_ldif.c:313 +#: plugins/sudoers/ldap.c:480 +msgid "unable to format timestamp" +msgstr "kan ikke formatere tidsstempel" + +#: plugins/sudoers/cvtsudoers_ldif.c:517 plugins/sudoers/env.c:295 +#: plugins/sudoers/env.c:302 plugins/sudoers/env.c:407 +#: plugins/sudoers/ldap.c:488 plugins/sudoers/ldap.c:719 +#: plugins/sudoers/ldap.c:1046 plugins/sudoers/ldap_conf.c:218 +#: plugins/sudoers/ldap_conf.c:308 plugins/sudoers/linux_audit.c:82 +#: plugins/sudoers/logging.c:1008 plugins/sudoers/policy.c:618 +#: plugins/sudoers/policy.c:628 plugins/sudoers/prompt.c:161 +#: plugins/sudoers/sudoers.c:840 plugins/sudoers/testsudoers.c:236 +#: plugins/sudoers/toke_util.c:157 +#, c-format +msgid "internal error, %s overflow" +msgstr "intern fejl, %s-overløb" + +#: plugins/sudoers/cvtsudoers_ldif.c:622 +msgid "the SUDOERS_BASE environment variable is not set and the -b option was not specified." +msgstr "miljøvariablen SUDOERS_BASE er ikke angivet og tilvalget -b var ikke angivet." + +#: plugins/sudoers/cvtsudoers_ldif.c:757 +#, c-format +msgid "ignoring invalid attribute value: %s" +msgstr "ignorerer ugyldig attributværdi: %s" + +#: plugins/sudoers/cvtsudoers_ldif.c:1197 +#, c-format +msgid "ignoring incomplete sudoRole: cn: %s" +msgstr "ignorerer ufuldstændig sudoRole: cn: %s" + +#: plugins/sudoers/cvtsudoers_ldif.c:1349 plugins/sudoers/ldap.c:1778 +#, c-format +msgid "invalid sudoOrder attribute: %s" +msgstr "ugyldig sudoOrder-attribut: %s" + +#: plugins/sudoers/def_data.c:42 +#, c-format +msgid "Syslog facility if syslog is being used for logging: %s" +msgstr "Syslog-facilitet hvis syslog bruges til logning: %s" + +#: plugins/sudoers/def_data.c:46 +#, c-format +msgid "Syslog priority to use when user authenticates successfully: %s" +msgstr "Syslog-prioritet at bruge når brugergodkendelser går igennem: %s" + +#: plugins/sudoers/def_data.c:50 +#, c-format +msgid "Syslog priority to use when user authenticates unsuccessfully: %s" +msgstr "Syslog-prioritet at bruge når brugergodkendelser ikke går igennem: %s" + +#: plugins/sudoers/def_data.c:54 +msgid "Put OTP prompt on its own line" +msgstr "Placer OTP-prompter på deres egen linje" + +#: plugins/sudoers/def_data.c:58 +msgid "Ignore '.' in $PATH" +msgstr "Ignorer ».« i $PATH" + +#: plugins/sudoers/def_data.c:62 +msgid "Always send mail when sudo is run" +msgstr "Send altid post når sudo køres" + +#: plugins/sudoers/def_data.c:66 +msgid "Send mail if user authentication fails" +msgstr "Send post hvis brugergodkendelse fejler" + +#: plugins/sudoers/def_data.c:70 +msgid "Send mail if the user is not in sudoers" +msgstr "Send post hvis brugeren ikke er i suoders" + +#: plugins/sudoers/def_data.c:74 +msgid "Send mail if the user is not in sudoers for this host" +msgstr "Send post hvis brugeren ikke er i sudoers for denne vært" + +#: plugins/sudoers/def_data.c:78 +msgid "Send mail if the user is not allowed to run a command" +msgstr "Send post hvis brugeren ikke har tilladelse til at køre en kommando" + +#: plugins/sudoers/def_data.c:82 +msgid "Send mail if the user tries to run a command" +msgstr "Send post hvis brugeren forsøger at køre en kommando" + +#: plugins/sudoers/def_data.c:86 +msgid "Use a separate timestamp for each user/tty combo" +msgstr "Brug et separat tidsstempel for hver bruger/tty-kombination" + +#: plugins/sudoers/def_data.c:90 +msgid "Lecture user the first time they run sudo" +msgstr "Undervis brugere den første gang de kører sudo" + +#: plugins/sudoers/def_data.c:94 +#, c-format +msgid "File containing the sudo lecture: %s" +msgstr "Fil indeholdende sudo-undervisningen: %s" + +#: plugins/sudoers/def_data.c:98 +msgid "Require users to authenticate by default" +msgstr "Kræv som standard at brugere skal godkendes" + +#: plugins/sudoers/def_data.c:102 +msgid "Root may run sudo" +msgstr "Root kan køre sudo" + +#: plugins/sudoers/def_data.c:106 +msgid "Log the hostname in the (non-syslog) log file" +msgstr "Log værtsnavnet i logfilen (non-syslog)" + +#: plugins/sudoers/def_data.c:110 +msgid "Log the year in the (non-syslog) log file" +msgstr "Log året i logfilen (non-syslog)" + +#: plugins/sudoers/def_data.c:114 +msgid "If sudo is invoked with no arguments, start a shell" +msgstr "Hvis sudo er startet op uden argumenter så start en skal" + +#: plugins/sudoers/def_data.c:118 +msgid "Set $HOME to the target user when starting a shell with -s" +msgstr "Angiv $HOME for målbrugeren når der startes en skal med -s" + +#: plugins/sudoers/def_data.c:122 +msgid "Always set $HOME to the target user's home directory" +msgstr "Angiv altid $HOME for målbrugerens hjemmemappe" + +#: plugins/sudoers/def_data.c:126 +msgid "Allow some information gathering to give useful error messages" +msgstr "Tillad lidt informationsindsamling for at lave brugbare fejlbeskeder" + +#: plugins/sudoers/def_data.c:130 +msgid "Require fully-qualified hostnames in the sudoers file" +msgstr "Kræv fuldkvalificerede værtsnavne i sudoersfilen" + +#: plugins/sudoers/def_data.c:134 +msgid "Insult the user when they enter an incorrect password" +msgstr "Fornærm brugeren når de indtaster en forkert adgangskode" + +#: plugins/sudoers/def_data.c:138 +msgid "Only allow the user to run sudo if they have a tty" +msgstr "Tillad kun brugeren at køre sudo hvis de har en tty" + +#: plugins/sudoers/def_data.c:142 +msgid "Visudo will honor the EDITOR environment variable" +msgstr "Visudo vil overholde EDITOR-miljøvariablen" + +#: plugins/sudoers/def_data.c:146 +msgid "Prompt for root's password, not the users's" +msgstr "Spørg om adgangskoden for root, ikke brugerens" + +#: plugins/sudoers/def_data.c:150 +msgid "Prompt for the runas_default user's password, not the users's" +msgstr "Spørg om brugerens kør som_standard adgangskode, ikke brugernes" + +#: plugins/sudoers/def_data.c:154 +msgid "Prompt for the target user's password, not the users's" +msgstr "Spørg om målbrugerens adgangskode, ikke brugernes" + +#: plugins/sudoers/def_data.c:158 +msgid "Apply defaults in the target user's login class if there is one" +msgstr "Brug standarder i målbrugerens logindklasse hvis der er en" + +#: plugins/sudoers/def_data.c:162 +msgid "Set the LOGNAME and USER environment variables" +msgstr "Angiv LOGNAME- og USER-miljøvariablerne" + +#: plugins/sudoers/def_data.c:166 +msgid "Only set the effective uid to the target user, not the real uid" +msgstr "Angiv kun den effektive uid til målbrugeren, ikke den reelle uid" + +#: plugins/sudoers/def_data.c:170 +msgid "Don't initialize the group vector to that of the target user" +msgstr "Initialiser ikke gruppevektoren til målbrugerens" + +#: plugins/sudoers/def_data.c:174 +#, c-format +msgid "Length at which to wrap log file lines (0 for no wrap): %u" +msgstr "Længde hvor logfillinjer skal ombrydes (0 for ingen ombrydning): %u" + +#: plugins/sudoers/def_data.c:178 +#, c-format +msgid "Authentication timestamp timeout: %.1f minutes" +msgstr "Tidsudløb for godkendelsestidsstempel: %.1f minutter" + +#: plugins/sudoers/def_data.c:182 +#, c-format +msgid "Password prompt timeout: %.1f minutes" +msgstr "Tidsudløb for adgangskodeprompt: %.1f minutter" + +#: plugins/sudoers/def_data.c:186 +#, c-format +msgid "Number of tries to enter a password: %u" +msgstr "Antal forsøg for indtastning af adgangskode: %u" + +#: plugins/sudoers/def_data.c:190 +#, c-format +msgid "Umask to use or 0777 to use user's: 0%o" +msgstr "Umask at bruge eller 0777 for at bruge brugers: 0%o" + +#: plugins/sudoers/def_data.c:194 +#, c-format +msgid "Path to log file: %s" +msgstr "Sti til logfil: %s" + +#: plugins/sudoers/def_data.c:198 +#, c-format +msgid "Path to mail program: %s" +msgstr "Stil til postprogram: %s" + +#: plugins/sudoers/def_data.c:202 +#, c-format +msgid "Flags for mail program: %s" +msgstr "Flag for postprogram: %s" + +#: plugins/sudoers/def_data.c:206 +#, c-format +msgid "Address to send mail to: %s" +msgstr "Adresse at sende post til: %s" + +#: plugins/sudoers/def_data.c:210 +#, c-format +msgid "Address to send mail from: %s" +msgstr "Adresse at sende post fra: %s" + +#: plugins/sudoers/def_data.c:214 +#, c-format +msgid "Subject line for mail messages: %s" +msgstr "Emnelinje for postbeskeder: %s" + +#: plugins/sudoers/def_data.c:218 +#, c-format +msgid "Incorrect password message: %s" +msgstr "Ugyldig adgangskodebesked: %s" + +#: plugins/sudoers/def_data.c:222 +#, c-format +msgid "Path to lecture status dir: %s" +msgstr "Sti til undervisningsstatusmappen: %s" + +#: plugins/sudoers/def_data.c:226 +#, c-format +msgid "Path to authentication timestamp dir: %s" +msgstr "Sti til mappe for godkendelsestidsstempel: %s" + +#: plugins/sudoers/def_data.c:230 +#, c-format +msgid "Owner of the authentication timestamp dir: %s" +msgstr "Ejer af mappen for godkendelsestidsstempel: %s" + +#: plugins/sudoers/def_data.c:234 +#, c-format +msgid "Users in this group are exempt from password and PATH requirements: %s" +msgstr "Brugere i denne gruppe er undtaget fra adgangskode og STI-krav: %s" + +#: plugins/sudoers/def_data.c:238 +#, c-format +msgid "Default password prompt: %s" +msgstr "Standard for adgangskodeprompt: %s" + +#: plugins/sudoers/def_data.c:242 +msgid "If set, passprompt will override system prompt in all cases." +msgstr "Hvis angivet vil adgangsprompt overskrive systemprompt i alle tilfælde." + +#: plugins/sudoers/def_data.c:246 +#, c-format +msgid "Default user to run commands as: %s" +msgstr "Standardbruger at køre kommandoer som: %s" + +#: plugins/sudoers/def_data.c:250 +#, c-format +msgid "Value to override user's $PATH with: %s" +msgstr "Værdi at overskrive brugers $PATH med: %s" + +#: plugins/sudoers/def_data.c:254 +#, c-format +msgid "Path to the editor for use by visudo: %s" +msgstr "Sti til redigeringsprogrammet for brug af visudo: %s" + +#: plugins/sudoers/def_data.c:258 +#, c-format +msgid "When to require a password for 'list' pseudocommand: %s" +msgstr "Hvornår der skal kræves en adgangskode for »list« pseudokommando: %s" + +#: plugins/sudoers/def_data.c:262 +#, c-format +msgid "When to require a password for 'verify' pseudocommand: %s" +msgstr "Hvornår der skal kræves en adgangskode for »verify« pseudokommando: %s" + +#: plugins/sudoers/def_data.c:266 +msgid "Preload the dummy exec functions contained in the sudo_noexec library" +msgstr "Præindlæs attrap-udførelsesfunktioner indeholdt i biblioteket sudo_noexec" + +#: plugins/sudoers/def_data.c:270 +msgid "If LDAP directory is up, do we ignore local sudoers file" +msgstr "Hvis LDAP-mappe er sat op, ignorer vi så lokal sudoersfil" + +#: plugins/sudoers/def_data.c:274 +#, c-format +msgid "File descriptors >= %d will be closed before executing a command" +msgstr "Filbeskrivelser >= %d vil blive lukket før udførelse af en kommando" + +#: plugins/sudoers/def_data.c:278 +msgid "If set, users may override the value of `closefrom' with the -C option" +msgstr "Hvis angivet kan brugere overskrive værdien af »closeform« med tilvalget -C" + +#: plugins/sudoers/def_data.c:282 +msgid "Allow users to set arbitrary environment variables" +msgstr "Tillad at brugere kan angive arbitrære miljøvariabler" + +#: plugins/sudoers/def_data.c:286 +msgid "Reset the environment to a default set of variables" +msgstr "Nulstil miljøet til et standardsæt af variabler" + +#: plugins/sudoers/def_data.c:290 +msgid "Environment variables to check for sanity:" +msgstr "Miljøvariabler at indstillingskontrollere:" + +#: plugins/sudoers/def_data.c:294 +msgid "Environment variables to remove:" +msgstr "Miljøvariabler at fjerne:" + +#: plugins/sudoers/def_data.c:298 +msgid "Environment variables to preserve:" +msgstr "Miljøvariabler at bevare:" + +#: plugins/sudoers/def_data.c:302 +#, c-format +msgid "SELinux role to use in the new security context: %s" +msgstr "SELinux-rolle at bruge i den nye sikkerhedskontekst: %s" + +#: plugins/sudoers/def_data.c:306 +#, c-format +msgid "SELinux type to use in the new security context: %s" +msgstr "SELinux-type at bruge i den nye sikkerhedskontekst: %s" + +#: plugins/sudoers/def_data.c:310 +#, c-format +msgid "Path to the sudo-specific environment file: %s" +msgstr "Sti til den sudo-specifikke miljøfil: %s" + +#: plugins/sudoers/def_data.c:314 +#, c-format +msgid "Path to the restricted sudo-specific environment file: %s" +msgstr "Sti til det begrænsede sudo-specifikke miljøfil: %s" + +#: plugins/sudoers/def_data.c:318 +#, c-format +msgid "Locale to use while parsing sudoers: %s" +msgstr "Sprog at bruge under fortolkning af sudoers: %s" + +#: plugins/sudoers/def_data.c:322 +msgid "Allow sudo to prompt for a password even if it would be visible" +msgstr "Tillad at sudo spørger om en adgangskode selv om den vil være synlig" + +#: plugins/sudoers/def_data.c:326 +msgid "Provide visual feedback at the password prompt when there is user input" +msgstr "Tilbyd visuel tilbagemeldning ved adgangskodeprompten når der er brugerinddata" + +#: plugins/sudoers/def_data.c:330 +msgid "Use faster globbing that is less accurate but does not access the filesystem" +msgstr "Brug hurtigere globbing som er mindre præcis, men som ikke tilgår filsystemet" + +#: plugins/sudoers/def_data.c:334 +msgid "The umask specified in sudoers will override the user's, even if it is more permissive" +msgstr "Umask'en angivet i sudoers vil overskrive brugerens, også selv om den er mere tilladende" + +#: plugins/sudoers/def_data.c:338 +msgid "Log user's input for the command being run" +msgstr "Log brugers inddata for kommandoen der bliver kørt" + +#: plugins/sudoers/def_data.c:342 +msgid "Log the output of the command being run" +msgstr "Log uddata for kommandoen der bliver kørt" + +#: plugins/sudoers/def_data.c:346 +msgid "Compress I/O logs using zlib" +msgstr "Komprimer I/O-log med brug af zlib" + +#: plugins/sudoers/def_data.c:350 +msgid "Always run commands in a pseudo-tty" +msgstr "Kør altid kommandoer i en pseudo-tty" + +#: plugins/sudoers/def_data.c:354 +#, c-format +msgid "Plugin for non-Unix group support: %s" +msgstr "Udvidelsesmodul for ikke-Unix-gruppeunderstøttelse: %s" + +#: plugins/sudoers/def_data.c:358 +#, c-format +msgid "Directory in which to store input/output logs: %s" +msgstr "Mappe at gemme inddata-/uddatalogge i: %s" + +#: plugins/sudoers/def_data.c:362 +#, c-format +msgid "File in which to store the input/output log: %s" +msgstr "Fil at gemme inddata-/uddatalog i: %s" + +#: plugins/sudoers/def_data.c:366 +msgid "Add an entry to the utmp/utmpx file when allocating a pty" +msgstr "Tilføjer et punkt til utmp/utmpx-filen når der allokeres en pty" + +#: plugins/sudoers/def_data.c:370 +msgid "Set the user in utmp to the runas user, not the invoking user" +msgstr "Angiv brugeren i utmp til brugeren kør som, ikke den opstartende bruger" + +#: plugins/sudoers/def_data.c:374 +#, c-format +msgid "Set of permitted privileges: %s" +msgstr "Sæt af tilladte privilegier: %s" + +# Det skal forstås som et sæt af grænseprivilegier +# https://www.sudo.ws/man/1.8.21/sudoers.man.html (se limitprivs) +#: plugins/sudoers/def_data.c:378 +#, c-format +msgid "Set of limit privileges: %s" +msgstr "Sæt af grænseprivilegier: %s" + +#: plugins/sudoers/def_data.c:382 +msgid "Run commands on a pty in the background" +msgstr "Kør kommandoer på en pty i baggrunden" + +#: plugins/sudoers/def_data.c:386 +#, c-format +msgid "PAM service name to use: %s" +msgstr "PAM-tjenestenavn der skal bruges: %s" + +#: plugins/sudoers/def_data.c:390 +#, c-format +msgid "PAM service name to use for login shells: %s" +msgstr "PAM-tjenestenavn der skal bruges for logindskaller: %s" + +#: plugins/sudoers/def_data.c:394 +msgid "Attempt to establish PAM credentials for the target user" +msgstr "Forsøg på at etablere PAM-akkreditiver for målbrugeren" + +#: plugins/sudoers/def_data.c:398 +msgid "Create a new PAM session for the command to run in" +msgstr "Opret en ny PAM-session som kommandoen kan køre i" + +#: plugins/sudoers/def_data.c:402 +#, c-format +msgid "Maximum I/O log sequence number: %u" +msgstr "Maksimalt I/O-logsekvenstal: %u" + +#: plugins/sudoers/def_data.c:406 +msgid "Enable sudoers netgroup support" +msgstr "Aktiver sudoers netgroup-understøttelse" + +#: plugins/sudoers/def_data.c:410 +msgid "Check parent directories for writability when editing files with sudoedit" +msgstr "Kontroller overmappers skriverettigheder ved redigering af filer med sudoedit" + +#: plugins/sudoers/def_data.c:414 +msgid "Follow symbolic links when editing files with sudoedit" +msgstr "Følg symbolske henvisninger når filer redigeres med sudoedit" + +#: plugins/sudoers/def_data.c:418 +msgid "Query the group plugin for unknown system groups" +msgstr "Forespørg gruppe-udvidelsesmodulet for ukendte systemgrupper" + +#: plugins/sudoers/def_data.c:422 +msgid "Match netgroups based on the entire tuple: user, host and domain" +msgstr "Sammenlign netgrupper baseret på hele tuplen: bruger, vært og domæne" + +#: plugins/sudoers/def_data.c:426 +msgid "Allow commands to be run even if sudo cannot write to the audit log" +msgstr "Tillader at kommandoer køres, selv om sudo ikke kan skrive til revisionsloggen" + +#: plugins/sudoers/def_data.c:430 +msgid "Allow commands to be run even if sudo cannot write to the I/O log" +msgstr "Tillader at kommandoer køres, selv om sudo ikke kan skrive til I/O-loggen" + +#: plugins/sudoers/def_data.c:434 +msgid "Allow commands to be run even if sudo cannot write to the log file" +msgstr "Tillader at kommandoer køres, selv om sudo ikke kan skrive til logfilen" + +#: plugins/sudoers/def_data.c:438 +msgid "Resolve groups in sudoers and match on the group ID, not the name" +msgstr "Slå grupper op i sudoers og match efter gruppe-id, ikke navnet" + +#: plugins/sudoers/def_data.c:442 +#, c-format +msgid "Log entries larger than this value will be split into multiple syslog messages: %u" +msgstr "Logposter større end denne værdi vil blive opdelt i flere syslogbeskeder: %u" + +#: plugins/sudoers/def_data.c:446 +#, c-format +msgid "User that will own the I/O log files: %s" +msgstr "Bruger som vil eje I/O-logfilerne: %s" + +#: plugins/sudoers/def_data.c:450 +#, c-format +msgid "Group that will own the I/O log files: %s" +msgstr "Gruppe som vil eje I/O-logfilerne: %s" + +#: plugins/sudoers/def_data.c:454 +#, c-format +msgid "File mode to use for the I/O log files: 0%o" +msgstr "Filtilstand der skal bruges for I/O-logfilerne: 0%o" + +#: plugins/sudoers/def_data.c:458 +#, c-format +msgid "Execute commands by file descriptor instead of by path: %s" +msgstr "Kør kommandoer efter fildeskriptor i stedet for efter sti: %s" + +# Defaults-punkter/indgange", vil jeg tro +# Vil mene at det er en overskrift i konfigurationsfilen eller lignende +#: plugins/sudoers/def_data.c:462 +msgid "Ignore unknown Defaults entries in sudoers instead of producing a warning" +msgstr "Ignorer ukendte Defaults-punkter i sudoere i stedet for at give en advarsel" + +#: plugins/sudoers/def_data.c:466 +#, c-format +msgid "Time in seconds after which the command will be terminated: %u" +msgstr "Tid i sekunder hvorefter kommandoen vil blive afsluttet: %u" + +#: plugins/sudoers/def_data.c:470 +msgid "Allow the user to specify a timeout on the command line" +msgstr "Tillad at brugeren angiver et tidsudløb på kommandolinjen" + +#: plugins/sudoers/def_data.c:474 +msgid "Flush I/O log data to disk immediately instead of buffering it" +msgstr "Tøm I/O-logdata til disken med det samme i stedet for at mellemlagre den" + +#: plugins/sudoers/def_data.c:478 +msgid "Include the process ID when logging via syslog" +msgstr "Inkluder proces-id'et når der logges via syslog" + +#: plugins/sudoers/def_data.c:482 +#, c-format +msgid "Type of authentication timestamp record: %s" +msgstr "Elementtype for godkendelsestidsstempel: %s" + +#: plugins/sudoers/def_data.c:486 +#, c-format +msgid "Authentication failure message: %s" +msgstr "godkendelsesfejlbesked: %s" + +#: plugins/sudoers/def_data.c:490 +msgid "Ignore case when matching user names" +msgstr "Ignorer store/små bogstaver når brugernavne matches" + +#: plugins/sudoers/def_data.c:494 +msgid "Ignore case when matching group names" +msgstr "Ignorer store/små bogstaver når gruppenavne matches" + +#: plugins/sudoers/defaults.c:224 +#, c-format +msgid "%s:%d unknown defaults entry \"%s\"" +msgstr "%s:%d ukendt indgang »%s« for standarder" + +#: plugins/sudoers/defaults.c:227 +#, c-format +msgid "%s: unknown defaults entry \"%s\"" +msgstr "%s: ukendt indgang »%s« for standarder" + +#: plugins/sudoers/defaults.c:270 +#, c-format +msgid "%s:%d no value specified for \"%s\"" +msgstr "%s:%d ingen værdi angivet for »%s«" + +#: plugins/sudoers/defaults.c:273 +#, c-format +msgid "%s: no value specified for \"%s\"" +msgstr "%s: ingen værdi angivet for »%s«" + +#: plugins/sudoers/defaults.c:293 +#, c-format +msgid "%s:%d values for \"%s\" must start with a '/'" +msgstr "%s:%d værdier for »%s« skal begynde med en »/«" + +#: plugins/sudoers/defaults.c:296 +#, c-format +msgid "%s: values for \"%s\" must start with a '/'" +msgstr "%s: værdier for »%s« skal begynde med en »/«" + +#: plugins/sudoers/defaults.c:318 +#, c-format +msgid "%s:%d option \"%s\" does not take a value" +msgstr "%s:%d indstillingen »%s« kan ikke modtage en værdi" + +#: plugins/sudoers/defaults.c:321 +#, c-format +msgid "%s: option \"%s\" does not take a value" +msgstr "%s: indstillingen »%s« kan ikke modtage en værdi" + +#: plugins/sudoers/defaults.c:346 +#, c-format +msgid "%s:%d invalid Defaults type 0x%x for option \"%s\"" +msgstr "%s:%d ugyldig standardtype 0x%x for tilvalget »%s«" + +#: plugins/sudoers/defaults.c:349 +#, c-format +msgid "%s: invalid Defaults type 0x%x for option \"%s\"" +msgstr "%s: ugyldig standardtype 0x%x for tilvalget »%s«" + +#: plugins/sudoers/defaults.c:359 +#, c-format +msgid "%s:%d value \"%s\" is invalid for option \"%s\"" +msgstr "%s:%d værdien »%s« er ugyldig for tilvalget »%s«" + +#: plugins/sudoers/defaults.c:362 +#, c-format +msgid "%s: value \"%s\" is invalid for option \"%s\"" +msgstr "%s: værdien »%s« er ugyldig for tilvalget »%s«" + +#: plugins/sudoers/env.c:376 +msgid "sudo_putenv: corrupted envp, length mismatch" +msgstr "sudo_putenv: ødelagt envp, forskellig længde" + +#: plugins/sudoers/env.c:1055 +msgid "unable to rebuild the environment" +msgstr "kan ikke genopbygge miljøet" + +#: plugins/sudoers/env.c:1129 +#, c-format +msgid "sorry, you are not allowed to set the following environment variables: %s" +msgstr "beklager, du har ikke tilladelse til at angive de følgende miljøvariabler: %s" + +#: plugins/sudoers/file.c:111 +#, c-format +msgid "parse error in %s near line %d" +msgstr "fortolkningsfejl i %s nær linje %d" + +#: plugins/sudoers/file.c:114 +#, c-format +msgid "parse error in %s" +msgstr "fortolkningsfejl i %s" + +#: plugins/sudoers/filedigest.c:56 +#, c-format +msgid "unsupported digest type %d for %s" +msgstr "ej understøttet sammendragstype %d for %s" + +#: plugins/sudoers/filedigest.c:85 +#, c-format +msgid "%s: read error" +msgstr "%s: læsefejl" + +#: plugins/sudoers/group_plugin.c:83 +#, c-format +msgid "%s must be owned by uid %d" +msgstr "%s skal være ejet af uid %d" + +#: plugins/sudoers/group_plugin.c:87 +#, c-format +msgid "%s must only be writable by owner" +msgstr "%s skal være skrivbar af ejer" + +#: plugins/sudoers/group_plugin.c:95 plugins/sudoers/sssd.c:550 +#, c-format +msgid "unable to load %s: %s" +msgstr "kan ikke indlæse %s: %s" + +#: plugins/sudoers/group_plugin.c:101 +#, c-format +msgid "unable to find symbol \"group_plugin\" in %s" +msgstr "kan ikke finde symbol »group_plugin« i %s" + +#: plugins/sudoers/group_plugin.c:106 +#, c-format +msgid "%s: incompatible group plugin major version %d, expected %d" +msgstr "%s: inkompatibel gruppeudvidelsesmodul for hovedversion %d, forventede %d" + +#: plugins/sudoers/interfaces.c:79 plugins/sudoers/interfaces.c:96 +#, c-format +msgid "unable to parse IP address \"%s\"" +msgstr "kan ikke fortolke IP-adressen »%s«" + +#: plugins/sudoers/interfaces.c:84 plugins/sudoers/interfaces.c:101 +#, c-format +msgid "unable to parse netmask \"%s\"" +msgstr "kan ikke fortolke netmasken »%s«" + +#: plugins/sudoers/interfaces.c:129 +msgid "Local IP address and netmask pairs:\n" +msgstr "Lokal IP-adresse og netmaskepar:\n" + +#: plugins/sudoers/iolog.c:119 plugins/sudoers/mkdir_parents.c:75 +#, c-format +msgid "%s exists but is not a directory (0%o)" +msgstr "%s findes men er ikke en mappe (0%o)" + +#: plugins/sudoers/iolog.c:144 plugins/sudoers/iolog.c:184 +#: plugins/sudoers/mkdir_parents.c:64 plugins/sudoers/timestamp.c:174 +#, c-format +msgid "unable to mkdir %s" +msgstr "kan ikke mkdir %s" + +#: plugins/sudoers/iolog.c:188 plugins/sudoers/visudo.c:718 +#: plugins/sudoers/visudo.c:728 +#, c-format +msgid "unable to change mode of %s to 0%o" +msgstr "kan ikke ændre tilstand på %s til 0%o" + +#: plugins/sudoers/iolog.c:296 plugins/sudoers/sudoers.c:1162 +#: plugins/sudoers/testsudoers.c:390 +#, c-format +msgid "unknown group: %s" +msgstr "ukendt gruppe: %s" + +#: plugins/sudoers/iolog.c:466 plugins/sudoers/sudoers.c:902 +#: plugins/sudoers/sudoreplay.c:868 plugins/sudoers/sudoreplay.c:1681 +#: plugins/sudoers/tsdump.c:140 +#, c-format +msgid "unable to read %s" +msgstr "kan ikke læse %s" + +#: plugins/sudoers/iolog.c:581 plugins/sudoers/iolog.c:800 +#, c-format +msgid "unable to create %s" +msgstr "kan ikke oprette %s" + +#: plugins/sudoers/iolog.c:1032 plugins/sudoers/iolog.c:1107 +#: plugins/sudoers/iolog.c:1188 +#, c-format +msgid "unable to write to I/O log file: %s" +msgstr "kan ikke skrive til I/O-logfilen: %s" + +#: plugins/sudoers/iolog.c:1066 +#, c-format +msgid "%s: internal error, file index %d not open" +msgstr "%s: intern fejl, filindekset %d er ikke åbent" + +#: plugins/sudoers/ldap.c:170 plugins/sudoers/ldap_conf.c:287 +msgid "starttls not supported when using ldaps" +msgstr "starttls er ikke understøttet, når der bruges ldaps" + +#: plugins/sudoers/ldap.c:241 +#, c-format +msgid "unable to initialize SSL cert and key db: %s" +msgstr "kan ikke initialisere SSL-cert og key db: %s" + +#: plugins/sudoers/ldap.c:244 +#, c-format +msgid "you must set TLS_CERT in %s to use SSL" +msgstr "du skal angive at TLS_CERT i %s skal bruge SSL" + +#: plugins/sudoers/ldap.c:1606 +#, c-format +msgid "unable to initialize LDAP: %s" +msgstr "kan ikke initialisere LDAP: %s" + +#: plugins/sudoers/ldap.c:1642 +msgid "start_tls specified but LDAP libs do not support ldap_start_tls_s() or ldap_start_tls_s_np()" +msgstr "start_tls angivet men LDAP libs understøtter ikke ldap_start_tls_s() eller ldap_start_tls_s_np()" + +#: plugins/sudoers/ldap_conf.c:196 +msgid "sudo_ldap_conf_add_ports: port too large" +msgstr "sudo_ldap_conf_add_ports: port for stor" + +#: plugins/sudoers/ldap_conf.c:256 +#, c-format +msgid "unsupported LDAP uri type: %s" +msgstr "ikkeunderstøttet LDAP uri-type: %s" + +#: plugins/sudoers/ldap_conf.c:283 +msgid "unable to mix ldap and ldaps URIs" +msgstr "kan ikke blande ldap og ldaps URI'er" + +#: plugins/sudoers/ldap_util.c:470 plugins/sudoers/ldap_util.c:472 +#, c-format +msgid "unable to convert sudoOption: %s%s%s" +msgstr "kan ikke konvertere sudoOption: %s%s%s" + +#: plugins/sudoers/linux_audit.c:52 +msgid "unable to open audit system" +msgstr "kan ikke åbne overvågningssystem" + +#: plugins/sudoers/linux_audit.c:93 +msgid "unable to send audit message" +msgstr "kan ikke sende overvågningsbesked" + +#: plugins/sudoers/logging.c:108 +#, c-format +msgid "%8s : %s" +msgstr "%8s : %s" + +#: plugins/sudoers/logging.c:136 +#, c-format +msgid "%8s : (command continued) %s" +msgstr "%8s: (kommando fortsat) %s" + +#: plugins/sudoers/logging.c:165 +#, c-format +msgid "unable to open log file: %s" +msgstr "kan ikke åbne logfilen: %s" + +#: plugins/sudoers/logging.c:173 +#, c-format +msgid "unable to lock log file: %s" +msgstr "kan ikke låse logfilen: %s" + +#: plugins/sudoers/logging.c:206 +#, c-format +msgid "unable to write log file: %s" +msgstr "kan ikke skrive til logfilen: %s" + +#: plugins/sudoers/logging.c:235 +msgid "No user or host" +msgstr "Ingen bruger eller vært" + +#: plugins/sudoers/logging.c:237 +msgid "validation failure" +msgstr "valideringsfejl" + +#: plugins/sudoers/logging.c:244 +msgid "user NOT in sudoers" +msgstr "bruger IKKE i sudoers" + +#: plugins/sudoers/logging.c:246 +msgid "user NOT authorized on host" +msgstr "bruger IKKE autoriseret på vært" + +#: plugins/sudoers/logging.c:248 +msgid "command not allowed" +msgstr "kommando ikke tilladt" + +#: plugins/sudoers/logging.c:283 +#, c-format +msgid "%s is not in the sudoers file. This incident will be reported.\n" +msgstr "%s er ikke sudoersfilen. Denne handling vil blive rapporteret.\n" + +#: plugins/sudoers/logging.c:286 +#, c-format +msgid "%s is not allowed to run sudo on %s. This incident will be reported.\n" +msgstr "%s har ikke tilladelse til at køre sudo på %s. Denne handling vil blive rapporteret.\n" + +#: plugins/sudoers/logging.c:290 +#, c-format +msgid "Sorry, user %s may not run sudo on %s.\n" +msgstr "Beklager. Bruger %s må ikke køre sudo på %s.\n" + +#: plugins/sudoers/logging.c:293 +#, c-format +msgid "Sorry, user %s is not allowed to execute '%s%s%s' as %s%s%s on %s.\n" +msgstr "Beklager. Bruger %s har ikke tilladelse til at køre »%s%s%s« som %s%s%s på %s.\n" + +#: plugins/sudoers/logging.c:330 plugins/sudoers/sudoers.c:433 +#: plugins/sudoers/sudoers.c:435 plugins/sudoers/sudoers.c:437 +#: plugins/sudoers/sudoers.c:439 plugins/sudoers/sudoers.c:594 +#: plugins/sudoers/sudoers.c:596 +#, c-format +msgid "%s: command not found" +msgstr "%s: Kommando ikke fundet" + +#: plugins/sudoers/logging.c:332 plugins/sudoers/sudoers.c:429 +#, c-format +msgid "" +"ignoring \"%s\" found in '.'\n" +"Use \"sudo ./%s\" if this is the \"%s\" you wish to run." +msgstr "" +"ignorerer »%s« fundet i ».«\n" +"Brug »sudo ./%s«, hvis dette er den »%s«, du ønsker at køre." + +#: plugins/sudoers/logging.c:349 +msgid "authentication failure" +msgstr "godkendelsesfejl" + +#: plugins/sudoers/logging.c:375 +msgid "a password is required" +msgstr "der kræves en adgangskode" + +#: plugins/sudoers/logging.c:438 +#, c-format +msgid "%u incorrect password attempt" +msgid_plural "%u incorrect password attempts" +msgstr[0] "%u ukorrekt adgangskodeforsøg" +msgstr[1] "%u ukorrekte adgangskodeforsøg" + +#: plugins/sudoers/logging.c:659 +msgid "unable to fork" +msgstr "kan ikke forgrene" + +#: plugins/sudoers/logging.c:667 plugins/sudoers/logging.c:719 +#, c-format +msgid "unable to fork: %m" +msgstr "kan ikke forgrene: %m" + +#: plugins/sudoers/logging.c:709 +#, c-format +msgid "unable to open pipe: %m" +msgstr "kan ikke åbne datakanal: %m" + +#: plugins/sudoers/logging.c:734 +#, c-format +msgid "unable to dup stdin: %m" +msgstr "kan ikke dup stdin: %m" + +#: plugins/sudoers/logging.c:772 +#, c-format +msgid "unable to execute %s: %m" +msgstr "kan ikke køre %s: %m" + +#: plugins/sudoers/match.c:842 +#, c-format +msgid "digest for %s (%s) is not in %s form" +msgstr "sammendrag for %s (%s) er ikke i %s-form" + +#: plugins/sudoers/mkdir_parents.c:70 plugins/sudoers/sudoers.c:913 +#: plugins/sudoers/visudo.c:416 plugins/sudoers/visudo.c:712 +#, c-format +msgid "unable to stat %s" +msgstr "kan ikke stat %s" + +#: plugins/sudoers/parse.c:434 +#, c-format +msgid "" +"\n" +"LDAP Role: %s\n" +msgstr "" +"\n" +"LDAP-rolle: %s\n" + +#: plugins/sudoers/parse.c:437 +#, c-format +msgid "" +"\n" +"Sudoers entry:\n" +msgstr "" +"\n" +"Sudoers-punkt:\n" + +#: plugins/sudoers/parse.c:439 +#, c-format +msgid " RunAsUsers: " +msgstr " KørSomBrugere: " + +#: plugins/sudoers/parse.c:454 +#, c-format +msgid " RunAsGroups: " +msgstr " KørSomGrupper: " + +#: plugins/sudoers/parse.c:464 +#, c-format +msgid " Options: " +msgstr " Tilvalg: " + +#: plugins/sudoers/parse.c:518 +#, c-format +msgid " Commands:\n" +msgstr " Kommandoer:\n" + +#: plugins/sudoers/parse.c:709 +#, c-format +msgid "Matching Defaults entries for %s on %s:\n" +msgstr "Matchende standardpunkter for %s på %s:\n" + +#: plugins/sudoers/parse.c:727 +#, c-format +msgid "Runas and Command-specific defaults for %s:\n" +msgstr "Kør som og kommandospecifikke standarder for %s:\n" + +#: plugins/sudoers/parse.c:745 +#, c-format +msgid "User %s may run the following commands on %s:\n" +msgstr "Bruger %s må køre de følgende kommandoer på %s:\n" + +#: plugins/sudoers/parse.c:760 +#, c-format +msgid "User %s is not allowed to run sudo on %s.\n" +msgstr "Bruger %s har ikke tilladelse til at køre sudo på %s.\n" + +#: plugins/sudoers/policy.c:83 plugins/sudoers/policy.c:109 +#, c-format +msgid "invalid %.*s set by sudo front-end" +msgstr "ugyldig %.*s angivet af sudo-brugerfladen" + +#: plugins/sudoers/policy.c:288 plugins/sudoers/testsudoers.c:259 +msgid "unable to parse network address list" +msgstr "kan ikke fortolke netværksadresseliste" + +#: plugins/sudoers/policy.c:432 +msgid "user name not set by sudo front-end" +msgstr "brugernavn er ikke angivet af sudo-brugerfladen" + +#: plugins/sudoers/policy.c:436 +msgid "user ID not set by sudo front-end" +msgstr "bruger-id er ikke angivet af sudo-brugerfladen" + +#: plugins/sudoers/policy.c:440 +msgid "group ID not set by sudo front-end" +msgstr "gruppe-id er ikke angivet af sudo-brugerfladen" + +#: plugins/sudoers/policy.c:444 +msgid "host name not set by sudo front-end" +msgstr "værtsnavn er ikke angivet af sudo-brugerfladen" + +#: plugins/sudoers/policy.c:797 plugins/sudoers/visudo.c:215 +#: plugins/sudoers/visudo.c:845 +#, c-format +msgid "unable to execute %s" +msgstr "kan ikke udføre %s" + +#: plugins/sudoers/policy.c:930 +#, c-format +msgid "Sudoers policy plugin version %s\n" +msgstr "Udvidelsesmodulversion %s for sudoerspolitik\n" + +#: plugins/sudoers/policy.c:932 +#, c-format +msgid "Sudoers file grammar version %d\n" +msgstr "Grammatikversion %d for sudoersfil\n" + +#: plugins/sudoers/policy.c:936 +#, c-format +msgid "" +"\n" +"Sudoers path: %s\n" +msgstr "" +"\n" +"Sudoers-sti: %s\n" + +#: plugins/sudoers/policy.c:939 +#, c-format +msgid "nsswitch path: %s\n" +msgstr "nsswitch-sti: %s\n" + +#: plugins/sudoers/policy.c:941 +#, c-format +msgid "ldap.conf path: %s\n" +msgstr "ldap.conf-sti: %s\n" + +#: plugins/sudoers/policy.c:942 +#, c-format +msgid "ldap.secret path: %s\n" +msgstr "ldap.secret-sti: %s\n" + +# lidt i tvivl om hvad hook er her, så har beholdt den uoversat +# Er OK. Er enig med hensyn til hook, skal nok forstås som +# fastgøringspunkt, men lyder for bøvlet +#: plugins/sudoers/policy.c:975 +#, c-format +msgid "unable to register hook of type %d (version %d.%d)" +msgstr "kan ikke registrere »hook« af typen %d (version %d.%d)" + +#: plugins/sudoers/pwutil.c:214 plugins/sudoers/pwutil.c:233 +#, c-format +msgid "unable to cache uid %u, out of memory" +msgstr "kan ikke cache uid %u, ikke nok hukommelse" + +#: plugins/sudoers/pwutil.c:227 +#, c-format +msgid "unable to cache uid %u, already exists" +msgstr "kan ikke cache uid %u, findes allerede" + +#: plugins/sudoers/pwutil.c:287 plugins/sudoers/pwutil.c:305 +#: plugins/sudoers/pwutil.c:367 plugins/sudoers/pwutil.c:412 +#, c-format +msgid "unable to cache user %s, out of memory" +msgstr "kan ikke cache bruger %s, ikke nok hukommelse" + +#: plugins/sudoers/pwutil.c:300 +#, c-format +msgid "unable to cache user %s, already exists" +msgstr "kan ikke cache bruger %s, findes allerede" + +#: plugins/sudoers/pwutil.c:531 plugins/sudoers/pwutil.c:550 +#, c-format +msgid "unable to cache gid %u, out of memory" +msgstr "kan ikke cache gid %u, ikke nok hukommelse" + +#: plugins/sudoers/pwutil.c:544 +#, c-format +msgid "unable to cache gid %u, already exists" +msgstr "kan ikke cache gid %u, findes allerede" + +#: plugins/sudoers/pwutil.c:598 plugins/sudoers/pwutil.c:616 +#: plugins/sudoers/pwutil.c:663 plugins/sudoers/pwutil.c:705 +#, c-format +msgid "unable to cache group %s, out of memory" +msgstr "kan ikke cache gruppe %s, ikke nok hukommelse" + +#: plugins/sudoers/pwutil.c:611 +#, c-format +msgid "unable to cache group %s, already exists" +msgstr "kan ikke cache gruppe %s, findes allerede" + +#: plugins/sudoers/pwutil.c:831 plugins/sudoers/pwutil.c:883 +#: plugins/sudoers/pwutil.c:934 plugins/sudoers/pwutil.c:987 +#, c-format +msgid "unable to cache group list for %s, already exists" +msgstr "kan ikke cache gruppeliste for %s, findes allerede" + +#: plugins/sudoers/pwutil.c:837 plugins/sudoers/pwutil.c:888 +#: plugins/sudoers/pwutil.c:940 plugins/sudoers/pwutil.c:992 +#, c-format +msgid "unable to cache group list for %s, out of memory" +msgstr "kan ikke cache gruppeliste for %s, ikke nok hukommelse" + +#: plugins/sudoers/pwutil.c:877 +#, c-format +msgid "unable to parse groups for %s" +msgstr "kan ikke fortolke grupper for %s" + +#: plugins/sudoers/pwutil.c:981 +#, c-format +msgid "unable to parse gids for %s" +msgstr "kan ikke fortolke gid'er for %s" + +#: plugins/sudoers/set_perms.c:113 plugins/sudoers/set_perms.c:469 +#: plugins/sudoers/set_perms.c:912 plugins/sudoers/set_perms.c:1239 +#: plugins/sudoers/set_perms.c:1556 +msgid "perm stack overflow" +msgstr "permanent stakoverløb" + +#: plugins/sudoers/set_perms.c:121 plugins/sudoers/set_perms.c:400 +#: plugins/sudoers/set_perms.c:477 plugins/sudoers/set_perms.c:779 +#: plugins/sudoers/set_perms.c:920 plugins/sudoers/set_perms.c:1163 +#: plugins/sudoers/set_perms.c:1247 plugins/sudoers/set_perms.c:1489 +#: plugins/sudoers/set_perms.c:1564 plugins/sudoers/set_perms.c:1654 +msgid "perm stack underflow" +msgstr "permanent stakunderløb" + +#: plugins/sudoers/set_perms.c:180 plugins/sudoers/set_perms.c:523 +#: plugins/sudoers/set_perms.c:1298 plugins/sudoers/set_perms.c:1596 +msgid "unable to change to root gid" +msgstr "kan ikke ændre til root gid" + +#: plugins/sudoers/set_perms.c:269 plugins/sudoers/set_perms.c:620 +#: plugins/sudoers/set_perms.c:1049 plugins/sudoers/set_perms.c:1375 +msgid "unable to change to runas gid" +msgstr "kan ikke ændre til kør som gid" + +#: plugins/sudoers/set_perms.c:274 plugins/sudoers/set_perms.c:625 +#: plugins/sudoers/set_perms.c:1054 plugins/sudoers/set_perms.c:1380 +msgid "unable to set runas group vector" +msgstr "kan ikke angive kør som gruppevektor" + +#: plugins/sudoers/set_perms.c:285 plugins/sudoers/set_perms.c:636 +#: plugins/sudoers/set_perms.c:1063 plugins/sudoers/set_perms.c:1389 +msgid "unable to change to runas uid" +msgstr "kan ikke ændre til kør som uid" + +#: plugins/sudoers/set_perms.c:303 plugins/sudoers/set_perms.c:654 +#: plugins/sudoers/set_perms.c:1079 plugins/sudoers/set_perms.c:1405 +msgid "unable to change to sudoers gid" +msgstr "kan ikke ændre til sudoers gid" + +#: plugins/sudoers/set_perms.c:387 plugins/sudoers/set_perms.c:766 +#: plugins/sudoers/set_perms.c:1150 plugins/sudoers/set_perms.c:1476 +#: plugins/sudoers/set_perms.c:1641 +msgid "too many processes" +msgstr "for mange processer" + +#: plugins/sudoers/solaris_audit.c:51 +msgid "unable to get current working directory" +msgstr "kan ikke hente nuværende arbejdsmappe" + +#: plugins/sudoers/solaris_audit.c:59 +#, c-format +msgid "truncated audit path user_cmnd: %s" +msgstr "afkortet revisionssti user_cmnd: %s" + +#: plugins/sudoers/solaris_audit.c:66 +#, c-format +msgid "truncated audit path argv[0]: %s" +msgstr "afkortet revisionssti argv[0]: %s" + +#: plugins/sudoers/solaris_audit.c:115 +msgid "audit_failure message too long" +msgstr "audit_failure-besked er for lang" + +#: plugins/sudoers/sssd.c:552 +msgid "unable to initialize SSS source. Is SSSD installed on your machine?" +msgstr "kan ikke initialisere SSS-kilde. Er SSSD installeret på din maskine?" + +#: plugins/sudoers/sssd.c:560 plugins/sudoers/sssd.c:569 +#: plugins/sudoers/sssd.c:578 plugins/sudoers/sssd.c:587 +#: plugins/sudoers/sssd.c:596 +#, c-format +msgid "unable to find symbol \"%s\" in %s" +msgstr "kan ikke finde symbol »%s« i %s" + +#: plugins/sudoers/sudoers.c:204 plugins/sudoers/sudoers.c:859 +msgid "problem with defaults entries" +msgstr "problem med standardpunkter" + +#: plugins/sudoers/sudoers.c:208 +msgid "no valid sudoers sources found, quitting" +msgstr "ingen gyldige sudoerskilder fundet, afslutter" + +#: plugins/sudoers/sudoers.c:246 +msgid "sudoers specifies that root is not allowed to sudo" +msgstr "sudoers angiver at administrator (root) ikke har tilladelse til sudo" + +#: plugins/sudoers/sudoers.c:303 +msgid "you are not permitted to use the -C option" +msgstr "du har ikke tilladelse til at bruge tilvalget -C" + +#: plugins/sudoers/sudoers.c:350 +#, c-format +msgid "timestamp owner (%s): No such user" +msgstr "tidsstempelejer (%s): Ingen sådan bruger" + +#: plugins/sudoers/sudoers.c:365 +msgid "no tty" +msgstr "ingen tty" + +#: plugins/sudoers/sudoers.c:366 +msgid "sorry, you must have a tty to run sudo" +msgstr "beklager, du skal bruge en tty for at køre sudo" + +#: plugins/sudoers/sudoers.c:428 +msgid "command in current directory" +msgstr "kommando i aktuel mappe" + +#: plugins/sudoers/sudoers.c:447 +msgid "sorry, you are not allowed set a command timeout" +msgstr "beklager, men du har ikke tilladelse til at angive tidsudløb for kommando" + +#: plugins/sudoers/sudoers.c:455 +msgid "sorry, you are not allowed to preserve the environment" +msgstr "beklager, men du har ikke tilladelse til at bevare miljøet" + +#: plugins/sudoers/sudoers.c:803 +msgid "command too long" +msgstr "kommando er for lang" + +#: plugins/sudoers/sudoers.c:917 +#, c-format +msgid "%s is not a regular file" +msgstr "%s er ikke en regulær fil" + +#: plugins/sudoers/sudoers.c:921 plugins/sudoers/timestamp.c:221 toke.l:968 +#, c-format +msgid "%s is owned by uid %u, should be %u" +msgstr "%s er ejet af uid %u, bør være %u" + +#: plugins/sudoers/sudoers.c:925 toke.l:973 +#, c-format +msgid "%s is world writable" +msgstr "%s er skrivbar for alle" + +#: plugins/sudoers/sudoers.c:929 toke.l:976 +#, c-format +msgid "%s is owned by gid %u, should be %u" +msgstr "%s er eget af gid %u, bør være %u" + +#: plugins/sudoers/sudoers.c:962 +#, c-format +msgid "only root can use \"-c %s\"" +msgstr "kun administrator (root) kan bruge »-c %s«" + +#: plugins/sudoers/sudoers.c:981 +#, c-format +msgid "unknown login class: %s" +msgstr "ukendt logindklasse: %s" + +#: plugins/sudoers/sudoers.c:1064 plugins/sudoers/sudoers.c:1078 +#, c-format +msgid "unable to resolve host %s" +msgstr "kan ikke slå vært %s op" + +#: plugins/sudoers/sudoreplay.c:274 +#, c-format +msgid "invalid filter option: %s" +msgstr "ugyldigt filtertilvalg: %s" + +#: plugins/sudoers/sudoreplay.c:287 +#, c-format +msgid "invalid max wait: %s" +msgstr "ugyldig maks ventetid: %s" + +#: plugins/sudoers/sudoreplay.c:307 +#, c-format +msgid "invalid speed factor: %s" +msgstr "ugyldig hastighedsfaktor: %s" + +#: plugins/sudoers/sudoreplay.c:342 +#, c-format +msgid "%s/%.2s/%.2s/%.2s/timing: %s" +msgstr "%s/%.2s/%.2s/%.2s/timing: %s" + +#: plugins/sudoers/sudoreplay.c:348 +#, c-format +msgid "%s/%s/timing: %s" +msgstr "%s/%s/timing: %s" + +#: plugins/sudoers/sudoreplay.c:364 +#, c-format +msgid "Replaying sudo session: %s" +msgstr "Genafspiller sudosession: %s" + +#: plugins/sudoers/sudoreplay.c:562 plugins/sudoers/sudoreplay.c:609 +#: plugins/sudoers/sudoreplay.c:816 plugins/sudoers/sudoreplay.c:906 +#: plugins/sudoers/sudoreplay.c:985 plugins/sudoers/sudoreplay.c:1000 +#: plugins/sudoers/sudoreplay.c:1007 plugins/sudoers/sudoreplay.c:1014 +#: plugins/sudoers/sudoreplay.c:1021 plugins/sudoers/sudoreplay.c:1028 +#: plugins/sudoers/sudoreplay.c:1174 +msgid "unable to add event to queue" +msgstr "kan ikke tilføje hændelse til køen" + +#: plugins/sudoers/sudoreplay.c:677 +msgid "unable to set tty to raw mode" +msgstr "kan ikke angive tty til rå (raw) tilstand" + +#: plugins/sudoers/sudoreplay.c:728 +#, c-format +msgid "Warning: your terminal is too small to properly replay the log.\n" +msgstr "Advarsel: Din terminal er for lille til korrekt at afspille loggen.\n" + +#: plugins/sudoers/sudoreplay.c:729 +#, c-format +msgid "Log geometry is %d x %d, your terminal's geometry is %d x %d." +msgstr "Loggeometri er %d x %d, din terminals geometri er %d x %d." + +#: plugins/sudoers/sudoreplay.c:757 +msgid "Replay finished, press any key to restore the terminal." +msgstr "Genafspilning er afsluttet. Tryk på en tast for at gendanne terminalen." + +#: plugins/sudoers/sudoreplay.c:790 +#, c-format +msgid "invalid timing file line: %s" +msgstr "ugyldig timingfillinje: %s" + +#: plugins/sudoers/sudoreplay.c:1208 plugins/sudoers/sudoreplay.c:1233 +#, c-format +msgid "ambiguous expression \"%s\"" +msgstr "tvetydigt udtryk »%s«" + +#: plugins/sudoers/sudoreplay.c:1255 +msgid "unmatched ')' in expression" +msgstr "manglende »)« i udtryk" + +#: plugins/sudoers/sudoreplay.c:1259 +#, c-format +msgid "unknown search term \"%s\"" +msgstr "ukendt søgeterm »%s«" + +#: plugins/sudoers/sudoreplay.c:1274 +#, c-format +msgid "%s requires an argument" +msgstr "%s kræver et argument" + +#: plugins/sudoers/sudoreplay.c:1277 plugins/sudoers/sudoreplay.c:1657 +#, c-format +msgid "invalid regular expression: %s" +msgstr "ugyldigt regulært udtryk: %s" + +#: plugins/sudoers/sudoreplay.c:1281 +#, c-format +msgid "could not parse date \"%s\"" +msgstr "kunne ikke fortolke dato »%s«" + +#: plugins/sudoers/sudoreplay.c:1290 +msgid "unmatched '(' in expression" +msgstr "mangler »(« i udtryk" + +#: plugins/sudoers/sudoreplay.c:1292 +msgid "illegal trailing \"or\"" +msgstr "ugyldig kæde »or« (eller)" + +#: plugins/sudoers/sudoreplay.c:1294 +msgid "illegal trailing \"!\"" +msgstr "ugyldig kæde »!«" + +#: plugins/sudoers/sudoreplay.c:1343 +#, c-format +msgid "unknown search type %d" +msgstr "ukendt søgeterm %d" + +#: plugins/sudoers/sudoreplay.c:1381 +#, c-format +msgid "%s: invalid log file" +msgstr "%s: Ugyldig logfil" + +#: plugins/sudoers/sudoreplay.c:1399 +#, c-format +msgid "%s: time stamp field is missing" +msgstr "%s: Tidsstempelfelt mangler" + +#: plugins/sudoers/sudoreplay.c:1406 +#, c-format +msgid "%s: time stamp %s: %s" +msgstr "%s: Tidsstempel %s: %s" + +#: plugins/sudoers/sudoreplay.c:1413 +#, c-format +msgid "%s: user field is missing" +msgstr "%s: Brugerfelt mangler" + +#: plugins/sudoers/sudoreplay.c:1422 +#, c-format +msgid "%s: runas user field is missing" +msgstr "%s: runas-brugerfelt mangler" + +#: plugins/sudoers/sudoreplay.c:1431 +#, c-format +msgid "%s: runas group field is missing" +msgstr "%s: runas-gruppefelt mangler" + +#: plugins/sudoers/sudoreplay.c:1837 +#, c-format +msgid "usage: %s [-hnR] [-d dir] [-m num] [-s num] ID\n" +msgstr "brug: %s [-hnR] [-d mappe] [-m num] [-s num] ID\n" + +#: plugins/sudoers/sudoreplay.c:1840 +#, c-format +msgid "usage: %s [-h] [-d dir] -l [search expression]\n" +msgstr "brug: %s [-h] [-d mappe] -l [søgeudtryk]\n" + +#: plugins/sudoers/sudoreplay.c:1849 +#, c-format +msgid "" +"%s - replay sudo session logs\n" +"\n" +msgstr "" +"%s - genafspil sudosessionslogge\n" +"\n" + +#: plugins/sudoers/sudoreplay.c:1851 +msgid "" +"\n" +"Options:\n" +" -d, --directory=dir specify directory for session logs\n" +" -f, --filter=filter specify which I/O type(s) to display\n" +" -h, --help display help message and exit\n" +" -l, --list list available session IDs, with optional expression\n" +" -m, --max-wait=num max number of seconds to wait between events\n" +" -s, --speed=num speed up or slow down output\n" +" -V, --version display version information and exit" +msgstr "" +"\n" +"Tilvalg:\n" +" -d, --directory=dir angiv mappe for sessionslogge\n" +" -f, --filter=filter angiv hvilken I/O-type at vise\n" +" -h, --help vis denne hjælpetekst og afslut\n" +" -l, --list vis tilgængelige sessions-ID'er med valgfrit udtryk\n" +" -m, --max-wait=num maks antal sekunder at vente mellem hændelser\n" +" -s, --speed=num øg eller sænk uddata\n" +" -V, --version vis versionsinformation og afslut" + +#: plugins/sudoers/testsudoers.c:328 +msgid "\thost unmatched" +msgstr "\thost matchede ikke" + +#: plugins/sudoers/testsudoers.c:331 +msgid "" +"\n" +"Command allowed" +msgstr "" +"\n" +"Kommando tilladt" + +#: plugins/sudoers/testsudoers.c:332 +msgid "" +"\n" +"Command denied" +msgstr "" +"\n" +"Kommando nægtet" + +#: plugins/sudoers/testsudoers.c:332 +msgid "" +"\n" +"Command unmatched" +msgstr "" +"\n" +"Kommando ikke matchet" + +#: plugins/sudoers/timestamp.c:229 +#, c-format +msgid "%s is group writable" +msgstr "%s er gruppe-skrivbar" + +#: plugins/sudoers/timestamp.c:305 +#, c-format +msgid "unable to truncate time stamp file to %lld bytes" +msgstr "kan ikke afkorte tidsstempelfil til %lld byte" + +#: plugins/sudoers/timestamp.c:792 plugins/sudoers/timestamp.c:884 +#: plugins/sudoers/visudo.c:477 plugins/sudoers/visudo.c:483 +msgid "unable to read the clock" +msgstr "kan ikke læse uret" + +#: plugins/sudoers/timestamp.c:803 +msgid "ignoring time stamp from the future" +msgstr "ignorerer tidsstempel fra fremtiden" + +#: plugins/sudoers/timestamp.c:826 +#, c-format +msgid "time stamp too far in the future: %20.20s" +msgstr "tidsstempel for langt ude i fremtiden: %20.20s" + +#: plugins/sudoers/timestamp.c:948 +#, c-format +msgid "unable to lock time stamp file %s" +msgstr "kan ikke låse tidsstempelfilen %s" + +#: plugins/sudoers/timestamp.c:992 plugins/sudoers/timestamp.c:1012 +#, c-format +msgid "lecture status path too long: %s/%s" +msgstr "undervisningsstatussti er for lang: %s/%s" + +#: plugins/sudoers/visudo.c:211 +msgid "the -x option will be removed in a future release" +msgstr "tilvalget -x vil blive fjernet i fremtidige udgivelser" + +#: plugins/sudoers/visudo.c:212 +msgid "please consider using the cvtsudoers utility instead" +msgstr "overvej i stedet for at bruge redskabet cvtsudoers" + +#: plugins/sudoers/visudo.c:263 plugins/sudoers/visudo.c:645 +#, c-format +msgid "press return to edit %s: " +msgstr "tryk retur for at redigere %s: " + +#: plugins/sudoers/visudo.c:324 +#, c-format +msgid "specified editor (%s) doesn't exist" +msgstr "angivet redigeringsprogram (%s) findes ikke" + +#: plugins/sudoers/visudo.c:326 +#, c-format +msgid "no editor found (editor path = %s)" +msgstr "intet redigeringsprogram fundet (sti for redigeringsprogram = %s)" + +#: plugins/sudoers/visudo.c:436 plugins/sudoers/visudo.c:444 +msgid "write error" +msgstr "skrivefejl" + +#: plugins/sudoers/visudo.c:490 +#, c-format +msgid "unable to stat temporary file (%s), %s unchanged" +msgstr "kan ikke stat midlertidig fil (%s), %s unchanged" + +#: plugins/sudoers/visudo.c:497 +#, c-format +msgid "zero length temporary file (%s), %s unchanged" +msgstr "midlertidig fil med nullængde (%s), %s uændret" + +#: plugins/sudoers/visudo.c:503 +#, c-format +msgid "editor (%s) failed, %s unchanged" +msgstr "redigeringsprogram (%s) fejlede, %s uændret" + +#: plugins/sudoers/visudo.c:525 +#, c-format +msgid "%s unchanged" +msgstr "%s uændret" + +#: plugins/sudoers/visudo.c:584 +#, c-format +msgid "unable to re-open temporary file (%s), %s unchanged." +msgstr "kan ikke genåbne midlertidig fil (%s), %s uændrede." + +#: plugins/sudoers/visudo.c:596 +#, c-format +msgid "unabled to parse temporary file (%s), unknown error" +msgstr "kan ikke fortolke midlertidig fil (%s), ukendt fejl" + +#: plugins/sudoers/visudo.c:634 +#, c-format +msgid "internal error, unable to find %s in list!" +msgstr "intern fejl, kan ikke finde %s på listen!" + +#: plugins/sudoers/visudo.c:714 plugins/sudoers/visudo.c:723 +#, c-format +msgid "unable to set (uid, gid) of %s to (%u, %u)" +msgstr "kan ikke angive (uid, gid) af %s til (%u, %u)" + +#: plugins/sudoers/visudo.c:745 +#, c-format +msgid "%s and %s not on the same file system, using mv to rename" +msgstr "%s og %s er ikke på det samme filsystem, bruger mv til at omdøbe" + +#: plugins/sudoers/visudo.c:759 +#, c-format +msgid "command failed: '%s %s %s', %s unchanged" +msgstr "kommando fejlede: »%s %s %s«, %s uændret" + +#: plugins/sudoers/visudo.c:769 +#, c-format +msgid "error renaming %s, %s unchanged" +msgstr "fejl under omdøbing af %s, %s uændret" + +#: plugins/sudoers/visudo.c:790 +msgid "What now? " +msgstr "Hvad nu? " + +#: plugins/sudoers/visudo.c:804 +msgid "" +"Options are:\n" +" (e)dit sudoers file again\n" +" e(x)it without saving changes to sudoers file\n" +" (Q)uit and save changes to sudoers file (DANGER!)\n" +msgstr "" +"Tilvalg er:\n" +" r(e)diger sudoersfil igen\n" +" afslut(x) uden at gemme ændringer til sudoersfil\n" +" afslut(Q) og gem ændringer til sudoersfil (FARLIGT!)\n" + +#: plugins/sudoers/visudo.c:850 +#, c-format +msgid "unable to run %s" +msgstr "kan ikke køre %s" + +#: plugins/sudoers/visudo.c:880 +#, c-format +msgid "%s: wrong owner (uid, gid) should be (%u, %u)\n" +msgstr "%s: forkert ejer (uid, gid) bør være (%u, %u)\n" + +#: plugins/sudoers/visudo.c:887 +#, c-format +msgid "%s: bad permissions, should be mode 0%o\n" +msgstr "%s: ugyldige rettigheder, bør være tilstand 0%o\n" + +#: plugins/sudoers/visudo.c:944 plugins/sudoers/visudo.c:951 +#, c-format +msgid "%s: parsed OK\n" +msgstr "%s: fortolket o.k.\n" + +#: plugins/sudoers/visudo.c:998 +#, c-format +msgid "%s busy, try again later" +msgstr "%s travl, forsøg igen senere" + +#: plugins/sudoers/visudo.c:1038 +#, c-format +msgid "Error: %s:%d cycle in %s \"%s\"" +msgstr "Fejl: %s:%d: cyklus i %s »%s«" + +#: plugins/sudoers/visudo.c:1039 +#, c-format +msgid "Warning: %s:%d cycle in %s \"%s\"" +msgstr "Advarsel: %s:%d: cyklus i %s »%s«" + +#: plugins/sudoers/visudo.c:1043 +#, c-format +msgid "Error: %s:%d %s \"%s\" referenced but not defined" +msgstr "Fejl: %s:%d %s »%s« refereret men ikke defineret" + +#: plugins/sudoers/visudo.c:1044 +#, c-format +msgid "Warning: %s:%d %s \"%s\" referenced but not defined" +msgstr "Advarsel: %s:%d %s »%s« refereret men ikke defineret" + +# (ental) +#: plugins/sudoers/visudo.c:1137 +#, c-format +msgid "Warning: %s:%d unused %s \"%s\"" +msgstr "Advarsel: %s:%d ubrugt %s »%s«" + +#: plugins/sudoers/visudo.c:1252 +#, c-format +msgid "" +"%s - safely edit the sudoers file\n" +"\n" +msgstr "" +"%s - rediger sikkert sudoersfilen\n" +"\n" + +#: plugins/sudoers/visudo.c:1254 +msgid "" +"\n" +"Options:\n" +" -c, --check check-only mode\n" +" -f, --file=sudoers specify sudoers file location\n" +" -h, --help display help message and exit\n" +" -q, --quiet less verbose (quiet) syntax error messages\n" +" -s, --strict strict syntax checking\n" +" -V, --version display version information and exit\n" +msgstr "" +"\n" +"Tilvalg:\n" +" -c, --check kun kontroltilstand\n" +" -f, --file=file angiv filplacering for sudoers\n" +" -h, --help vis denne hjælpetekst og afslut\n" +" -q, --quiet mindre uddybende (stille) beskeder for syntaksfejl\n" +" -s, --strict streng syntakskontrol\n" +" -V, --version vis information om version og afslut\n" + +#: toke.l:942 +msgid "too many levels of includes" +msgstr "for mange niveauer af includes (inkluderinger)" diff --git a/plugins/sudoers/po/de.mo b/plugins/sudoers/po/de.mo new file mode 100644 index 0000000..22fc103 Binary files /dev/null and b/plugins/sudoers/po/de.mo differ diff --git a/plugins/sudoers/po/de.po b/plugins/sudoers/po/de.po new file mode 100644 index 0000000..e7068f0 --- /dev/null +++ b/plugins/sudoers/po/de.po @@ -0,0 +1,3815 @@ +# Portable object template file for the sudoers plugin +# This file is put in the public domain. +# Todd C. Miller , 2011-2013 +# Hendrik Knackstedt , 2013 +# Mario Blättermann , 2015. +# Jochen Hein , 2001-2023. +msgid "" +msgstr "" +"Project-Id-Version: sudoers 1.9.13b2\n" +"Report-Msgid-Bugs-To: https://bugzilla.sudo.ws\n" +"POT-Creation-Date: 2023-01-24 13:11-0700\n" +"PO-Revision-Date: 2023-01-26 16:49+0100\n" +"Last-Translator: Jochen Hein \n" +"Language-Team: German \n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 2.3\n" + +#: confstr.sh:1 gram.y:1220 plugins/sudoers/logging.c:866 +msgid "syntax error" +msgstr "Syntax-Fehler" + +#: confstr.sh:2 +msgid "%p's password: " +msgstr "%p's Passwort: " + +#: confstr.sh:3 +msgid "[sudo] password for %p: " +msgstr "[sudo] Passwort für %p: " + +#: confstr.sh:4 +msgid "Password: " +msgstr "Passwort: " + +#: confstr.sh:5 +msgid "*** SECURITY information for %h ***" +msgstr "*** Sicherheits-Information für %h ***" + +#: confstr.sh:6 +msgid "Sorry, try again." +msgstr "Das hat nicht funktioniert, bitte nochmal probieren." + +#: gram.y:237 gram.y:304 gram.y:313 gram.y:322 gram.y:332 gram.y:342 +#: gram.y:366 gram.y:393 gram.y:402 gram.y:410 gram.y:419 gram.y:428 +#: gram.y:502 gram.y:512 gram.y:524 gram.y:572 gram.y:581 gram.y:590 +#: gram.y:599 gram.y:731 gram.y:739 gram.y:750 gram.y:762 gram.y:781 +#: gram.y:944 gram.y:949 gram.y:957 gram.y:971 gram.y:977 gram.y:1099 +#: gram.y:1108 gram.y:1116 gram.y:1125 gram.y:1134 gram.y:1163 gram.y:1172 +#: gram.y:1180 gram.y:1280 gram.y:1410 gram.y:1777 gram.y:1827 +#: lib/eventlog/eventlog.c:235 lib/eventlog/eventlog.c:312 +#: lib/eventlog/eventlog.c:757 lib/eventlog/eventlog.c:834 +#: lib/eventlog/eventlog.c:1135 lib/iolog/iolog_filter.c:142 +#: lib/iolog/iolog_filter.c:202 lib/iolog/iolog_filter.c:233 +#: lib/iolog/iolog_json.c:150 lib/iolog/iolog_json.c:382 +#: lib/iolog/iolog_json.c:412 lib/iolog/iolog_legacy.c:100 +#: lib/iolog/iolog_legacy.c:111 lib/iolog/iolog_legacy.c:123 +#: lib/iolog/iolog_legacy.c:133 lib/iolog/iolog_legacy.c:139 +#: lib/iolog/iolog_loginfo.c:76 lib/iolog/iolog_loginfo.c:212 +#: logsrvd/iolog_writer.c:95 logsrvd/iolog_writer.c:100 +#: logsrvd/iolog_writer.c:134 logsrvd/iolog_writer.c:182 +#: logsrvd/iolog_writer.c:215 logsrvd/iolog_writer.c:225 +#: logsrvd/iolog_writer.c:254 logsrvd/iolog_writer.c:275 +#: logsrvd/iolog_writer.c:287 logsrvd/iolog_writer.c:297 +#: logsrvd/iolog_writer.c:307 logsrvd/iolog_writer.c:317 +#: logsrvd/iolog_writer.c:329 logsrvd/iolog_writer.c:364 +#: logsrvd/iolog_writer.c:370 logsrvd/iolog_writer.c:377 +#: logsrvd/iolog_writer.c:383 logsrvd/iolog_writer.c:567 +#: logsrvd/logsrv_util.c:69 logsrvd/logsrvd.c:301 logsrvd/logsrvd.c:310 +#: logsrvd/logsrvd.c:1050 logsrvd/logsrvd.c:1113 logsrvd/logsrvd.c:1582 +#: logsrvd/logsrvd.c:1587 logsrvd/logsrvd.c:1771 logsrvd/logsrvd.c:1988 +#: logsrvd/logsrvd_conf.c:357 logsrvd/logsrvd_conf.c:370 +#: logsrvd/logsrvd_conf.c:511 logsrvd/logsrvd_conf.c:534 +#: logsrvd/logsrvd_conf.c:538 logsrvd/logsrvd_conf.c:556 +#: logsrvd/logsrvd_conf.c:626 logsrvd/logsrvd_conf.c:650 +#: logsrvd/logsrvd_conf.c:678 logsrvd/logsrvd_conf.c:692 +#: logsrvd/logsrvd_conf.c:706 logsrvd/logsrvd_conf.c:720 +#: logsrvd/logsrvd_conf.c:734 logsrvd/logsrvd_conf.c:748 +#: logsrvd/logsrvd_conf.c:829 logsrvd/logsrvd_conf.c:1036 +#: logsrvd/logsrvd_conf.c:1053 logsrvd/logsrvd_conf.c:1448 +#: logsrvd/logsrvd_conf.c:1595 logsrvd/logsrvd_conf.c:1621 +#: logsrvd/logsrvd_conf.c:1633 logsrvd/logsrvd_conf.c:1640 +#: logsrvd/logsrvd_conf.c:1646 logsrvd/logsrvd_conf.c:1743 +#: logsrvd/logsrvd_journal.c:76 logsrvd/logsrvd_journal.c:216 +#: logsrvd/logsrvd_journal.c:217 logsrvd/logsrvd_journal.c:273 +#: logsrvd/logsrvd_journal.c:433 logsrvd/logsrvd_journal.c:435 +#: logsrvd/logsrvd_local.c:215 logsrvd/logsrvd_local.c:216 +#: logsrvd/logsrvd_local.c:278 logsrvd/logsrvd_local.c:279 +#: logsrvd/logsrvd_local.c:417 logsrvd/logsrvd_local.c:466 +#: logsrvd/logsrvd_local.c:467 logsrvd/logsrvd_local.c:472 +#: logsrvd/logsrvd_local.c:473 logsrvd/logsrvd_queue.c:159 +#: logsrvd/logsrvd_queue.c:189 logsrvd/logsrvd_queue.c:266 +#: logsrvd/logsrvd_relay.c:444 logsrvd/logsrvd_relay.c:743 +#: logsrvd/logsrvd_relay.c:850 logsrvd/sendlog.c:251 logsrvd/sendlog.c:260 +#: logsrvd/sendlog.c:291 logsrvd/sendlog.c:338 logsrvd/sendlog.c:615 +#: logsrvd/sendlog.c:1801 plugins/sudoers/audit.c:116 +#: plugins/sudoers/auth/bsdauth.c:150 plugins/sudoers/auth/kerb5.c:121 +#: plugins/sudoers/auth/kerb5.c:148 plugins/sudoers/auth/pam.c:687 +#: plugins/sudoers/auth/rfc1938.c:111 plugins/sudoers/auth/sia.c:59 +#: plugins/sudoers/check_aliases.c:168 plugins/sudoers/cvtsudoers.c:131 +#: plugins/sudoers/cvtsudoers.c:175 plugins/sudoers/cvtsudoers.c:192 +#: plugins/sudoers/cvtsudoers.c:203 plugins/sudoers/cvtsudoers.c:333 +#: plugins/sudoers/cvtsudoers.c:372 plugins/sudoers/cvtsudoers.c:392 +#: plugins/sudoers/cvtsudoers.c:537 plugins/sudoers/cvtsudoers.c:670 +#: plugins/sudoers/cvtsudoers.c:688 plugins/sudoers/cvtsudoers.c:862 +#: plugins/sudoers/cvtsudoers.c:870 plugins/sudoers/cvtsudoers.c:1365 +#: plugins/sudoers/cvtsudoers.c:1369 plugins/sudoers/cvtsudoers.c:1471 +#: plugins/sudoers/cvtsudoers_csv.c:183 plugins/sudoers/cvtsudoers_csv.c:246 +#: plugins/sudoers/cvtsudoers_json.c:76 plugins/sudoers/cvtsudoers_ldif.c:151 +#: plugins/sudoers/cvtsudoers_ldif.c:194 plugins/sudoers/cvtsudoers_ldif.c:235 +#: plugins/sudoers/cvtsudoers_ldif.c:300 plugins/sudoers/cvtsudoers_ldif.c:376 +#: plugins/sudoers/cvtsudoers_ldif.c:430 plugins/sudoers/cvtsudoers_ldif.c:438 +#: plugins/sudoers/cvtsudoers_ldif.c:449 plugins/sudoers/cvtsudoers_ldif.c:456 +#: plugins/sudoers/cvtsudoers_ldif.c:468 plugins/sudoers/cvtsudoers_ldif.c:481 +#: plugins/sudoers/cvtsudoers_ldif.c:489 plugins/sudoers/cvtsudoers_ldif.c:636 +#: plugins/sudoers/cvtsudoers_merge.c:47 plugins/sudoers/cvtsudoers_merge.c:52 +#: plugins/sudoers/cvtsudoers_merge.c:353 +#: plugins/sudoers/cvtsudoers_merge.c:399 +#: plugins/sudoers/cvtsudoers_merge.c:446 +#: plugins/sudoers/cvtsudoers_merge.c:467 +#: plugins/sudoers/cvtsudoers_merge.c:553 +#: plugins/sudoers/cvtsudoers_merge.c:564 +#: plugins/sudoers/cvtsudoers_merge.c:633 +#: plugins/sudoers/cvtsudoers_merge.c:1158 +#: plugins/sudoers/cvtsudoers_merge.c:1231 plugins/sudoers/defaults.c:434 +#: plugins/sudoers/defaults.c:658 plugins/sudoers/defaults.c:1019 +#: plugins/sudoers/defaults.c:1187 plugins/sudoers/editor.c:197 +#: plugins/sudoers/env.c:263 plugins/sudoers/exptilde.c:92 +#: plugins/sudoers/filedigest.c:54 plugins/sudoers/filedigest.c:70 +#: plugins/sudoers/gc.c:57 plugins/sudoers/group_plugin.c:212 +#: plugins/sudoers/interfaces.c:68 plugins/sudoers/iolog.c:268 +#: plugins/sudoers/iolog.c:668 plugins/sudoers/iolog.c:694 +#: plugins/sudoers/ldap.c:184 plugins/sudoers/ldap.c:466 +#: plugins/sudoers/ldap.c:757 plugins/sudoers/ldap.c:921 +#: plugins/sudoers/ldap.c:1337 plugins/sudoers/ldap.c:1763 +#: plugins/sudoers/ldap.c:1800 plugins/sudoers/ldap.c:2016 +#: plugins/sudoers/ldap.c:2117 plugins/sudoers/ldap.c:2133 +#: plugins/sudoers/ldap_conf.c:218 plugins/sudoers/ldap_conf.c:250 +#: plugins/sudoers/ldap_conf.c:302 plugins/sudoers/ldap_conf.c:338 +#: plugins/sudoers/ldap_conf.c:444 plugins/sudoers/ldap_conf.c:459 +#: plugins/sudoers/ldap_conf.c:564 plugins/sudoers/ldap_conf.c:597 +#: plugins/sudoers/ldap_conf.c:689 plugins/sudoers/ldap_conf.c:771 +#: plugins/sudoers/ldap_util.c:294 plugins/sudoers/ldap_util.c:301 +#: plugins/sudoers/ldap_util.c:614 plugins/sudoers/linux_audit.c:86 +#: plugins/sudoers/log_client.c:117 plugins/sudoers/log_client.c:402 +#: plugins/sudoers/log_client.c:715 plugins/sudoers/log_client.c:736 +#: plugins/sudoers/log_client.c:1415 plugins/sudoers/log_client.c:1536 +#: plugins/sudoers/log_client.c:1636 plugins/sudoers/log_client.c:1972 +#: plugins/sudoers/log_client.c:2031 plugins/sudoers/logging.c:110 +#: plugins/sudoers/logging.c:189 plugins/sudoers/logging.c:457 +#: plugins/sudoers/logging.c:672 plugins/sudoers/logging.c:809 +#: plugins/sudoers/match_command.c:335 plugins/sudoers/match_command.c:603 +#: plugins/sudoers/match_command.c:654 plugins/sudoers/match_command.c:728 +#: plugins/sudoers/match_command.c:776 plugins/sudoers/match_digest.c:93 +#: plugins/sudoers/parse.c:267 plugins/sudoers/parse.c:284 +#: plugins/sudoers/parse.c:303 plugins/sudoers/parse.c:322 +#: plugins/sudoers/parse.c:339 plugins/sudoers/parse.c:362 +#: plugins/sudoers/parse.c:373 plugins/sudoers/parse_ldif.c:153 +#: plugins/sudoers/parse_ldif.c:184 plugins/sudoers/parse_ldif.c:253 +#: plugins/sudoers/parse_ldif.c:261 plugins/sudoers/parse_ldif.c:266 +#: plugins/sudoers/parse_ldif.c:342 plugins/sudoers/parse_ldif.c:353 +#: plugins/sudoers/parse_ldif.c:380 plugins/sudoers/parse_ldif.c:397 +#: plugins/sudoers/parse_ldif.c:409 plugins/sudoers/parse_ldif.c:413 +#: plugins/sudoers/parse_ldif.c:427 plugins/sudoers/parse_ldif.c:484 +#: plugins/sudoers/parse_ldif.c:598 plugins/sudoers/parse_ldif.c:628 +#: plugins/sudoers/parse_ldif.c:653 plugins/sudoers/parse_ldif.c:711 +#: plugins/sudoers/parse_ldif.c:728 plugins/sudoers/parse_ldif.c:756 +#: plugins/sudoers/parse_ldif.c:763 plugins/sudoers/policy.c:626 +#: plugins/sudoers/policy.c:1033 plugins/sudoers/prompt.c:93 +#: plugins/sudoers/pwutil.c:199 plugins/sudoers/pwutil.c:270 +#: plugins/sudoers/pwutil.c:348 plugins/sudoers/pwutil.c:522 +#: plugins/sudoers/pwutil.c:587 plugins/sudoers/pwutil.c:659 +#: plugins/sudoers/pwutil.c:857 plugins/sudoers/pwutil.c:945 +#: plugins/sudoers/pwutil.c:993 plugins/sudoers/pwutil.c:1052 +#: plugins/sudoers/sssd.c:145 plugins/sudoers/sssd.c:185 +#: plugins/sudoers/sssd.c:414 plugins/sudoers/sssd.c:479 +#: plugins/sudoers/sssd.c:505 plugins/sudoers/sssd.c:568 +#: plugins/sudoers/sssd.c:761 plugins/sudoers/strvec_join.c:53 +#: plugins/sudoers/stubs.c:112 plugins/sudoers/stubs.c:120 +#: plugins/sudoers/sudoers.c:354 plugins/sudoers/sudoers.c:380 +#: plugins/sudoers/sudoers.c:447 plugins/sudoers/sudoers.c:464 +#: plugins/sudoers/sudoers.c:505 plugins/sudoers/sudoers.c:849 +#: plugins/sudoers/sudoers.c:902 plugins/sudoers/sudoers.c:1054 +#: plugins/sudoers/sudoers.c:1114 plugins/sudoers/sudoers.c:1369 +#: plugins/sudoers/sudoreplay.c:559 plugins/sudoers/sudoreplay.c:562 +#: plugins/sudoers/sudoreplay.c:1278 plugins/sudoers/sudoreplay.c:1334 +#: plugins/sudoers/sudoreplay.c:1530 plugins/sudoers/sudoreplay.c:1534 +#: plugins/sudoers/testsudoers.c:120 plugins/sudoers/testsudoers.c:224 +#: plugins/sudoers/testsudoers.c:241 plugins/sudoers/testsudoers.c:588 +#: plugins/sudoers/timestamp.c:451 plugins/sudoers/timestamp.c:495 +#: plugins/sudoers/timestamp.c:1017 plugins/sudoers/timestamp.c:1146 +#: plugins/sudoers/toke_util.c:78 plugins/sudoers/toke_util.c:106 +#: plugins/sudoers/toke_util.c:131 plugins/sudoers/toke_util.c:161 +#: plugins/sudoers/toke_util.c:200 plugins/sudoers/tsdump.c:123 +#: plugins/sudoers/visudo.c:150 plugins/sudoers/visudo.c:385 +#: plugins/sudoers/visudo.c:391 plugins/sudoers/visudo.c:502 +#: plugins/sudoers/visudo.c:1056 toke.l:1031 toke.l:1163 toke.l:1234 +msgid "unable to allocate memory" +msgstr "Es kann kein Speicher mehr alloziert werden" + +#: gram.y:623 +msgid "a digest requires a path name" +msgstr "Eine Prüfsumme erfordert einen Pfadnamen" + +#: gram.y:645 +msgid "values for \"CWD\" must start with a '/', '~', or '*'" +msgstr "Werte für »CWD« müssen mit »/«, »~« oder »*« beginnen" + +#: gram.y:651 +msgid "\"CWD\" path too long" +msgstr "»CWD« (aktuelles Arbeitsverzeichnis) Pfad ist zu lang" + +#: gram.y:661 +msgid "values for \"CHROOT\" must start with a '/', '~', or '*'" +msgstr "Werte für »CHROOT« müssen mit »/«, »~« oder »*« beginnen" + +#: gram.y:667 +msgid "\"CHROOT\" path too long" +msgstr "»CHROOT« Pfad ist zu lang" + +#: gram.y:802 +#, c-format +msgid "syntax error, reserved word %s used as an alias name" +msgstr "Syntaxfehler, das reservierte Wort »%s« wird als Aliasname verwendet" + +#: gram.y:825 +msgid "invalid notbefore value" +msgstr "ungültiger Wert für »notbefore«" + +#: gram.y:834 +msgid "invalid notafter value" +msgstr "ungültiger Wert für »notafter«" + +#: gram.y:844 plugins/sudoers/policy.c:385 +msgid "timeout value too large" +msgstr "Wert für Timeout ist zu groß" + +#: gram.y:846 plugins/sudoers/policy.c:387 +msgid "invalid timeout value" +msgstr "ungültiger Wert für Timeout" + +#: gram.y:967 plugins/sudoers/sudoers.c:1072 +msgid "command too long" +msgstr "Der Befehl ist zu lang" + +#: gram.y:1224 plugins/sudoers/check_aliases.c:96 +#: plugins/sudoers/defaults.c:1276 +#, c-format +msgid "%s:%d:%d: %s\n" +msgstr "%s:%d:%d: %s\n" + +#: gram.y:1278 +#, c-format +msgid "Alias \"%s\" already defined" +msgstr "Alias »%s« ist bereits definiert" + +#: gram.y:1777 gram.y:1827 lib/eventlog/eventlog.c:235 +#: lib/eventlog/eventlog.c:757 lib/eventlog/eventlog.c:830 +#: lib/eventlog/eventlog.c:833 lib/eventlog/eventlog.c:1135 +#: lib/iolog/iolog_filter.c:142 lib/iolog/iolog_filter.c:202 +#: lib/iolog/iolog_filter.c:232 lib/iolog/iolog_json.c:150 +#: lib/iolog/iolog_json.c:381 lib/iolog/iolog_json.c:412 +#: lib/iolog/iolog_legacy.c:100 lib/iolog/iolog_legacy.c:111 +#: lib/iolog/iolog_legacy.c:123 lib/iolog/iolog_legacy.c:133 +#: lib/iolog/iolog_legacy.c:139 lib/iolog/iolog_loginfo.c:76 +#: lib/iolog/iolog_loginfo.c:212 logsrvd/iolog_writer.c:95 +#: logsrvd/iolog_writer.c:100 logsrvd/iolog_writer.c:134 +#: logsrvd/iolog_writer.c:171 logsrvd/iolog_writer.c:181 +#: logsrvd/iolog_writer.c:194 logsrvd/iolog_writer.c:214 +#: logsrvd/iolog_writer.c:224 logsrvd/iolog_writer.c:243 +#: logsrvd/iolog_writer.c:253 logsrvd/iolog_writer.c:264 +#: logsrvd/iolog_writer.c:274 logsrvd/iolog_writer.c:286 +#: logsrvd/iolog_writer.c:296 logsrvd/iolog_writer.c:306 +#: logsrvd/iolog_writer.c:316 logsrvd/iolog_writer.c:328 +#: logsrvd/iolog_writer.c:364 logsrvd/iolog_writer.c:370 +#: logsrvd/iolog_writer.c:377 logsrvd/iolog_writer.c:383 +#: logsrvd/iolog_writer.c:567 logsrvd/logsrv_util.c:69 logsrvd/logsrvd.c:301 +#: logsrvd/logsrvd.c:310 logsrvd/logsrvd.c:453 logsrvd/logsrvd.c:490 +#: logsrvd/logsrvd.c:522 logsrvd/logsrvd.c:576 logsrvd/logsrvd.c:611 +#: logsrvd/logsrvd.c:660 logsrvd/logsrvd.c:696 logsrvd/logsrvd.c:732 +#: logsrvd/logsrvd.c:1124 logsrvd/logsrvd.c:1439 logsrvd/logsrvd.c:1446 +#: logsrvd/logsrvd.c:1582 logsrvd/logsrvd.c:1587 logsrvd/logsrvd.c:1771 +#: logsrvd/logsrvd.c:1988 logsrvd/logsrvd_conf.c:357 +#: logsrvd/logsrvd_conf.c:370 logsrvd/logsrvd_conf.c:511 +#: logsrvd/logsrvd_conf.c:534 logsrvd/logsrvd_conf.c:538 +#: logsrvd/logsrvd_conf.c:556 logsrvd/logsrvd_conf.c:626 +#: logsrvd/logsrvd_conf.c:649 logsrvd/logsrvd_conf.c:678 +#: logsrvd/logsrvd_conf.c:692 logsrvd/logsrvd_conf.c:706 +#: logsrvd/logsrvd_conf.c:720 logsrvd/logsrvd_conf.c:734 +#: logsrvd/logsrvd_conf.c:748 logsrvd/logsrvd_conf.c:829 +#: logsrvd/logsrvd_conf.c:1036 logsrvd/logsrvd_conf.c:1053 +#: logsrvd/logsrvd_conf.c:1448 logsrvd/logsrvd_conf.c:1595 +#: logsrvd/logsrvd_conf.c:1621 logsrvd/logsrvd_conf.c:1633 +#: logsrvd/logsrvd_conf.c:1640 logsrvd/logsrvd_conf.c:1646 +#: logsrvd/logsrvd_conf.c:1742 logsrvd/logsrvd_journal.c:76 +#: logsrvd/logsrvd_journal.c:125 logsrvd/logsrvd_journal.c:216 +#: logsrvd/logsrvd_journal.c:246 logsrvd/logsrvd_journal.c:250 +#: logsrvd/logsrvd_journal.c:258 logsrvd/logsrvd_journal.c:281 +#: logsrvd/logsrvd_journal.c:285 logsrvd/logsrvd_journal.c:433 +#: logsrvd/logsrvd_local.c:215 logsrvd/logsrvd_local.c:278 +#: logsrvd/logsrvd_local.c:466 logsrvd/logsrvd_local.c:472 +#: logsrvd/logsrvd_local.c:491 logsrvd/logsrvd_queue.c:158 +#: logsrvd/logsrvd_queue.c:189 logsrvd/logsrvd_queue.c:266 +#: logsrvd/sendlog.c:251 logsrvd/sendlog.c:260 logsrvd/sendlog.c:291 +#: logsrvd/sendlog.c:338 logsrvd/sendlog.c:615 logsrvd/sendlog.c:1503 +#: logsrvd/sendlog.c:1510 logsrvd/sendlog.c:1733 logsrvd/sendlog.c:1801 +#: logsrvd/tls_init.c:305 logsrvd/tls_init.c:329 logsrvd/tls_init.c:340 +#: plugins/sudoers/audit.c:116 plugins/sudoers/auth/pam.c:502 +#: plugins/sudoers/auth/pam.c:687 plugins/sudoers/auth/rfc1938.c:111 +#: plugins/sudoers/check_aliases.c:168 plugins/sudoers/cvtsudoers.c:131 +#: plugins/sudoers/cvtsudoers.c:174 plugins/sudoers/cvtsudoers.c:191 +#: plugins/sudoers/cvtsudoers.c:202 plugins/sudoers/cvtsudoers.c:332 +#: plugins/sudoers/cvtsudoers.c:536 plugins/sudoers/cvtsudoers.c:669 +#: plugins/sudoers/cvtsudoers.c:687 plugins/sudoers/cvtsudoers.c:862 +#: plugins/sudoers/cvtsudoers.c:869 plugins/sudoers/cvtsudoers.c:1365 +#: plugins/sudoers/cvtsudoers.c:1369 plugins/sudoers/cvtsudoers.c:1471 +#: plugins/sudoers/cvtsudoers_csv.c:182 plugins/sudoers/cvtsudoers_csv.c:245 +#: plugins/sudoers/cvtsudoers_json.c:75 plugins/sudoers/cvtsudoers_ldif.c:150 +#: plugins/sudoers/cvtsudoers_ldif.c:193 plugins/sudoers/cvtsudoers_ldif.c:234 +#: plugins/sudoers/cvtsudoers_ldif.c:299 plugins/sudoers/cvtsudoers_ldif.c:375 +#: plugins/sudoers/cvtsudoers_ldif.c:429 plugins/sudoers/cvtsudoers_ldif.c:437 +#: plugins/sudoers/cvtsudoers_ldif.c:448 plugins/sudoers/cvtsudoers_ldif.c:455 +#: plugins/sudoers/cvtsudoers_ldif.c:467 plugins/sudoers/cvtsudoers_ldif.c:480 +#: plugins/sudoers/cvtsudoers_ldif.c:488 plugins/sudoers/cvtsudoers_ldif.c:635 +#: plugins/sudoers/cvtsudoers_merge.c:47 plugins/sudoers/cvtsudoers_merge.c:51 +#: plugins/sudoers/cvtsudoers_merge.c:353 +#: plugins/sudoers/cvtsudoers_merge.c:399 +#: plugins/sudoers/cvtsudoers_merge.c:445 +#: plugins/sudoers/cvtsudoers_merge.c:466 +#: plugins/sudoers/cvtsudoers_merge.c:553 +#: plugins/sudoers/cvtsudoers_merge.c:561 +#: plugins/sudoers/cvtsudoers_merge.c:564 +#: plugins/sudoers/cvtsudoers_merge.c:630 +#: plugins/sudoers/cvtsudoers_merge.c:633 +#: plugins/sudoers/cvtsudoers_merge.c:1157 +#: plugins/sudoers/cvtsudoers_merge.c:1231 plugins/sudoers/defaults.c:434 +#: plugins/sudoers/defaults.c:658 plugins/sudoers/defaults.c:1019 +#: plugins/sudoers/defaults.c:1187 plugins/sudoers/editor.c:197 +#: plugins/sudoers/env.c:263 plugins/sudoers/exptilde.c:92 +#: plugins/sudoers/filedigest.c:54 plugins/sudoers/filedigest.c:70 +#: plugins/sudoers/gc.c:57 plugins/sudoers/group_plugin.c:211 +#: plugins/sudoers/interfaces.c:68 plugins/sudoers/iolog.c:268 +#: plugins/sudoers/iolog.c:668 plugins/sudoers/iolog.c:694 +#: plugins/sudoers/ldap.c:184 plugins/sudoers/ldap.c:466 +#: plugins/sudoers/ldap.c:757 plugins/sudoers/ldap.c:921 +#: plugins/sudoers/ldap.c:1337 plugins/sudoers/ldap.c:1763 +#: plugins/sudoers/ldap.c:1800 plugins/sudoers/ldap.c:2016 +#: plugins/sudoers/ldap.c:2117 plugins/sudoers/ldap.c:2133 +#: plugins/sudoers/ldap_conf.c:218 plugins/sudoers/ldap_conf.c:250 +#: plugins/sudoers/ldap_conf.c:302 plugins/sudoers/ldap_conf.c:338 +#: plugins/sudoers/ldap_conf.c:444 plugins/sudoers/ldap_conf.c:459 +#: plugins/sudoers/ldap_conf.c:564 plugins/sudoers/ldap_conf.c:597 +#: plugins/sudoers/ldap_conf.c:688 plugins/sudoers/ldap_conf.c:771 +#: plugins/sudoers/ldap_util.c:293 plugins/sudoers/ldap_util.c:300 +#: plugins/sudoers/ldap_util.c:614 plugins/sudoers/linux_audit.c:86 +#: plugins/sudoers/log_client.c:117 plugins/sudoers/log_client.c:228 +#: plugins/sudoers/log_client.c:250 plugins/sudoers/log_client.c:264 +#: plugins/sudoers/log_client.c:402 plugins/sudoers/log_client.c:715 +#: plugins/sudoers/log_client.c:736 plugins/sudoers/log_client.c:1415 +#: plugins/sudoers/log_client.c:1536 plugins/sudoers/log_client.c:1636 +#: plugins/sudoers/log_client.c:1972 plugins/sudoers/log_client.c:2031 +#: plugins/sudoers/logging.c:110 plugins/sudoers/logging.c:188 +#: plugins/sudoers/logging.c:189 plugins/sudoers/logging.c:457 +#: plugins/sudoers/logging.c:672 plugins/sudoers/logging.c:809 +#: plugins/sudoers/logging.c:880 plugins/sudoers/logging.c:892 +#: plugins/sudoers/match_command.c:334 plugins/sudoers/match_command.c:602 +#: plugins/sudoers/match_command.c:653 plugins/sudoers/match_command.c:728 +#: plugins/sudoers/match_command.c:775 plugins/sudoers/match_digest.c:93 +#: plugins/sudoers/parse.c:266 plugins/sudoers/parse.c:283 +#: plugins/sudoers/parse.c:302 plugins/sudoers/parse.c:321 +#: plugins/sudoers/parse.c:338 plugins/sudoers/parse.c:361 +#: plugins/sudoers/parse.c:372 plugins/sudoers/parse_ldif.c:152 +#: plugins/sudoers/parse_ldif.c:183 plugins/sudoers/parse_ldif.c:252 +#: plugins/sudoers/parse_ldif.c:260 plugins/sudoers/parse_ldif.c:265 +#: plugins/sudoers/parse_ldif.c:341 plugins/sudoers/parse_ldif.c:352 +#: plugins/sudoers/parse_ldif.c:379 plugins/sudoers/parse_ldif.c:396 +#: plugins/sudoers/parse_ldif.c:408 plugins/sudoers/parse_ldif.c:412 +#: plugins/sudoers/parse_ldif.c:426 plugins/sudoers/parse_ldif.c:484 +#: plugins/sudoers/parse_ldif.c:598 plugins/sudoers/parse_ldif.c:627 +#: plugins/sudoers/parse_ldif.c:652 plugins/sudoers/parse_ldif.c:710 +#: plugins/sudoers/parse_ldif.c:727 plugins/sudoers/parse_ldif.c:755 +#: plugins/sudoers/parse_ldif.c:762 plugins/sudoers/policy.c:154 +#: plugins/sudoers/policy.c:163 plugins/sudoers/policy.c:172 +#: plugins/sudoers/policy.c:201 plugins/sudoers/policy.c:370 +#: plugins/sudoers/policy.c:385 plugins/sudoers/policy.c:387 +#: plugins/sudoers/policy.c:425 plugins/sudoers/policy.c:434 +#: plugins/sudoers/policy.c:482 plugins/sudoers/policy.c:492 +#: plugins/sudoers/policy.c:501 plugins/sudoers/policy.c:510 +#: plugins/sudoers/policy.c:519 plugins/sudoers/policy.c:626 +#: plugins/sudoers/policy.c:1033 plugins/sudoers/prompt.c:93 +#: plugins/sudoers/pwutil.c:199 plugins/sudoers/pwutil.c:270 +#: plugins/sudoers/pwutil.c:348 plugins/sudoers/pwutil.c:522 +#: plugins/sudoers/pwutil.c:587 plugins/sudoers/pwutil.c:659 +#: plugins/sudoers/pwutil.c:857 plugins/sudoers/pwutil.c:945 +#: plugins/sudoers/pwutil.c:993 plugins/sudoers/pwutil.c:1052 +#: plugins/sudoers/set_perms.c:363 plugins/sudoers/set_perms.c:706 +#: plugins/sudoers/set_perms.c:1073 plugins/sudoers/set_perms.c:1380 +#: plugins/sudoers/set_perms.c:1549 plugins/sudoers/sssd.c:144 +#: plugins/sudoers/sssd.c:185 plugins/sudoers/sssd.c:414 +#: plugins/sudoers/sssd.c:479 plugins/sudoers/sssd.c:505 +#: plugins/sudoers/sssd.c:568 plugins/sudoers/sssd.c:761 +#: plugins/sudoers/strvec_join.c:53 plugins/sudoers/stubs.c:112 +#: plugins/sudoers/stubs.c:120 plugins/sudoers/sudoers.c:354 +#: plugins/sudoers/sudoers.c:380 plugins/sudoers/sudoers.c:447 +#: plugins/sudoers/sudoers.c:464 plugins/sudoers/sudoers.c:505 +#: plugins/sudoers/sudoers.c:849 plugins/sudoers/sudoers.c:902 +#: plugins/sudoers/sudoers.c:1054 plugins/sudoers/sudoers.c:1114 +#: plugins/sudoers/sudoers.c:1369 plugins/sudoers/sudoreplay.c:559 +#: plugins/sudoers/sudoreplay.c:562 plugins/sudoers/sudoreplay.c:1278 +#: plugins/sudoers/sudoreplay.c:1334 plugins/sudoers/sudoreplay.c:1530 +#: plugins/sudoers/sudoreplay.c:1534 plugins/sudoers/testsudoers.c:120 +#: plugins/sudoers/testsudoers.c:224 plugins/sudoers/testsudoers.c:241 +#: plugins/sudoers/testsudoers.c:588 plugins/sudoers/timestamp.c:451 +#: plugins/sudoers/timestamp.c:495 plugins/sudoers/timestamp.c:1017 +#: plugins/sudoers/timestamp.c:1146 plugins/sudoers/toke_util.c:78 +#: plugins/sudoers/toke_util.c:106 plugins/sudoers/toke_util.c:131 +#: plugins/sudoers/toke_util.c:160 plugins/sudoers/toke_util.c:200 +#: plugins/sudoers/tsdump.c:123 plugins/sudoers/visudo.c:150 +#: plugins/sudoers/visudo.c:385 plugins/sudoers/visudo.c:391 +#: plugins/sudoers/visudo.c:502 plugins/sudoers/visudo.c:1056 toke.l:1031 +#: toke.l:1163 toke.l:1226 toke.l:1234 +#, c-format +msgid "%s: %s" +msgstr "%s: %s" + +#: lib/eventlog/eventlog.c:303 +#, c-format +msgid "unable to dup stdin: %m" +msgstr "Die Standardeingabe kann nicht dupliziert werden: %m" + +#: lib/eventlog/eventlog.c:345 +#, c-format +msgid "unable to execute %s: %m" +msgstr "%s kann nicht ausgeführt werden: %m" + +#: lib/eventlog/eventlog.c:393 plugins/sudoers/auth/aix_auth.c:198 +msgid "unable to fork" +msgstr "Fehler bei fork()" + +#: lib/eventlog/eventlog.c:403 lib/eventlog/eventlog.c:468 +#, c-format +msgid "unable to fork: %m" +msgstr "Fehler bei fork(): %m" + +#: lib/eventlog/eventlog.c:458 +#, c-format +msgid "unable to open pipe: %m" +msgstr "Die Pipe kann nicht geöffnet werden: %m" + +#: lib/eventlog/eventlog.c:960 +#, c-format +msgid "%8s : %s" +msgstr "%8s : %s" + +#: lib/eventlog/eventlog.c:989 +#, c-format +msgid "%8s : (command continued) %s" +msgstr "%8s : (Befehl fortgesetzt) %s" + +#: lib/iolog/iolog_filter.c:133 plugins/sudoers/defaults.c:1242 +#: plugins/sudoers/sudoreplay.c:1290 plugins/sudoers/sudoreplay.c:1586 +#, c-format +msgid "invalid regular expression \"%s\": %s" +msgstr "ungültiger regulärer Ausdruck »%s«: %s" + +#: lib/iolog/iolog_json.c:140 +#, c-format +msgid "expected JSON_STRING, got %d" +msgstr "JSON_STRING erwartet, aber »%d« bekommen" + +#: lib/iolog/iolog_json.c:145 +msgid "JSON_ARRAY too large" +msgstr "Das JSON_ARRAY ist zu groß" + +#: lib/iolog/iolog_json.c:404 +msgid "missing double quote in name" +msgstr "Im Name fehlt das doppelte Anführungszeichen" + +#: lib/iolog/iolog_json.c:511 +msgid "missing JSON_OBJECT" +msgstr "JSON_OBJECT fehlt" + +#: lib/iolog/iolog_json.c:515 +#, c-format +msgid "expected JSON_OBJECT, got %d" +msgstr "JSON_OBJECT erwartet, aber »%d« bekommen" + +#: lib/iolog/iolog_json.c:632 +#, c-format +msgid "json stack exhausted (max %u frames)" +msgstr "json Stack erschöpft (maximal %u Frames)" + +#: lib/iolog/iolog_json.c:706 +msgid "objects must consist of name:value pairs" +msgstr "Objekte müssen aus Name:Wert Paaren bestehen" + +#: lib/iolog/iolog_json.c:711 lib/iolog/iolog_json.c:742 +#: lib/iolog/iolog_json.c:786 lib/iolog/iolog_json.c:808 +#: lib/iolog/iolog_json.c:830 lib/iolog/iolog_json.c:852 +#: lib/iolog/iolog_json.c:874 +msgid "missing separator between values" +msgstr "Fehlender Separator zwischen den Werten" + +#: lib/iolog/iolog_json.c:726 lib/iolog/iolog_json.c:900 +msgid "unmatched close brace" +msgstr "unpassende schließende geschweifte Klammer" + +#: lib/iolog/iolog_json.c:737 +msgid "unexpected array" +msgstr "unerwartetes Array" + +#: lib/iolog/iolog_json.c:757 lib/iolog/iolog_json.c:903 +msgid "unmatched close bracket" +msgstr "unpassende schließende eckige Klammer" + +#: lib/iolog/iolog_json.c:768 +msgid "unexpected string" +msgstr "unerwartete Zeichenkette" + +#: lib/iolog/iolog_json.c:779 +msgid "missing colon after name" +msgstr "fehlender Doppelpunkt nach dem Name" + +#: lib/iolog/iolog_json.c:800 lib/iolog/iolog_json.c:822 +msgid "unexpected boolean" +msgstr "unerwarteter boolescher Wert (true/false)" + +#: lib/iolog/iolog_json.c:844 +msgid "unexpected null" +msgstr "unerwartete »null«" + +#: lib/iolog/iolog_json.c:865 +msgid "unexpected number" +msgstr "unerwartete Zahl" + +#: lib/iolog/iolog_json.c:912 +msgid "parse error" +msgstr "Syntax-Fehler" + +#: lib/iolog/iolog_legacy.c:65 +#, c-format +msgid "%s: invalid log file" +msgstr "%s: ungültige Protokolldatei" + +#: lib/iolog/iolog_legacy.c:83 +#, c-format +msgid "%s: time stamp field is missing" +msgstr "%s: Das Feld für den Zeitstempel fehlt" + +#: lib/iolog/iolog_legacy.c:89 +#, c-format +msgid "%s: time stamp %s: %s" +msgstr "%s: Zeitstempel %s: %s" + +#: lib/iolog/iolog_legacy.c:96 +#, c-format +msgid "%s: user field is missing" +msgstr "%s: Das Benutzerfeld fehlt" + +#: lib/iolog/iolog_legacy.c:107 +#, c-format +msgid "%s: runas user field is missing" +msgstr "%s: Das Feld für den »runas«-Benutzer fehlt" + +#: lib/iolog/iolog_legacy.c:118 +#, c-format +msgid "%s: runas group field is missing" +msgstr "%s: Das Feld für die »runas«-Gruppe fehlt" + +#: lib/iolog/iolog_mkdirs.c:89 +#, c-format +msgid "%s exists but is not a directory (0%o)" +msgstr "%s existiert, aber ist kein Verzeichnis (0%o)" + +#: lib/iolog/iolog_mkdirs.c:123 lib/iolog/iolog_mkdtemp.c:79 +#: logsrvd/iolog_writer.c:781 plugins/sudoers/timestamp.c:209 +#, c-format +msgid "unable to mkdir %s" +msgstr "Das Verzeichnis »%s« kann nicht erstellt werden" + +#: lib/iolog/iolog_mkdtemp.c:84 plugins/sudoers/visudo.c:757 +#: plugins/sudoers/visudo.c:791 plugins/sudoers/visudo.c:797 +#, c-format +msgid "unable to change mode of %s to 0%o" +msgstr "Ändern des Modus von %s auf 0%o gescheitert" + +#: lib/iolog/iolog_timing.c:261 +#, c-format +msgid "error reading timing file: %s" +msgstr "Fehler beim Lesen der Zeitdateizeile: %s" + +#: lib/iolog/iolog_timing.c:268 +#, c-format +msgid "invalid timing file line: %s" +msgstr "Ungültige Zeitdateizeile: %s" + +#: logsrvd/iolog_writer.c:65 +#, c-format +msgid "%s: protocol error: NULL key" +msgstr "%s: Protokollfehker: NULL-Schlüssel" + +#: logsrvd/iolog_writer.c:69 +#, c-format +msgid "%s: protocol error: wrong type for %s" +msgstr "%s: Protokollfehker: falscher Typ für %s" + +#: logsrvd/iolog_writer.c:74 logsrvd/logsrvd_local.c:109 +#: logsrvd/logsrvd_local.c:123 logsrvd/logsrvd_local.c:131 +#: logsrvd/logsrvd_local.c:149 +#, c-format +msgid "%s: protocol error: NULL value found in %s" +msgstr "%s: Protokollfehker: Wert NULL gefunden in %s" + +#: logsrvd/iolog_writer.c:141 plugins/sudoers/logging.c:980 +#: plugins/sudoers/policy.c:593 +msgid "unable to generate UUID" +msgstr "UUID kann nicht generiert werden" + +#: logsrvd/iolog_writer.c:341 logsrvd/iolog_writer.c:346 +#: logsrvd/iolog_writer.c:351 logsrvd/iolog_writer.c:356 +#, c-format +msgid "%s: protocol error: %s missing from AcceptMessage" +msgstr "%s: Protokollfehler: %s fehlt in der AcceptMessage" + +#: logsrvd/iolog_writer.c:417 +#, c-format +msgid "%s: unable to format session id" +msgstr "%s: Session-ID kann nicht formatiert werden" + +#: logsrvd/iolog_writer.c:431 logsrvd/iolog_writer.c:445 +#: logsrvd/iolog_writer.c:459 logsrvd/iolog_writer.c:474 +#: logsrvd/iolog_writer.c:488 logsrvd/iolog_writer.c:502 +#, c-format +msgid "%s: %s is not set" +msgstr "%s: %s ist nicht gesetzt" + +# Kann die Escape-Sequenzen nicht auflösen? +#: logsrvd/iolog_writer.c:538 logsrvd/iolog_writer.c:545 +#, c-format +msgid "unable to expand iolog path %s" +msgstr "Kann den iolog-Pfad nicht erweitern: %s" + +#: logsrvd/iolog_writer.c:563 +#, c-format +msgid "unable to create iolog path %s" +msgstr "Kann den iolog-Pfad »%s« nicht erstellen" + +#: logsrvd/iolog_writer.c:593 +#, c-format +msgid "invalid iofd %d" +msgstr "Ungültiger I/O Dateideskriptor: %d" + +#: logsrvd/iolog_writer.c:613 +#, c-format +msgid "error closing iofd %d: %s" +msgstr "Fehler beim Schließen des I/O Dateideskriptors %d: %s" + +#: logsrvd/iolog_writer.c:633 +#, c-format +msgid "error flushing iofd %d: %s" +msgstr "Fehler beim Leeren des I/O Dateideskriptors %d: %s" + +#: logsrvd/iolog_writer.c:751 +#, c-format +msgid "invalid I/O log %s: %s referenced but not present" +msgstr "Ungültiges I/O log %s: »%s« wird verwendet, ist aber nicht vorhanden" + +#: logsrvd/iolog_writer.c:763 logsrvd/logsrvd_journal.c:385 +#, c-format +msgid "%s: unable to find resume point [%lld, %ld]" +msgstr "%s; Der Wiederaufsetz-Punkt [%lld, %ld] kann nicht gefunden werden" + +#: logsrvd/iolog_writer.c:785 logsrvd/logsrvd_journal.c:428 +#: logsrvd/logsrvd_queue.c:115 logsrvd/tls_init.c:256 +#: plugins/sudoers/check.c:292 plugins/sudoers/cvtsudoers.c:730 +#: plugins/sudoers/cvtsudoers.c:751 plugins/sudoers/cvtsudoers.c:1431 +#: plugins/sudoers/cvtsudoers_csv.c:695 plugins/sudoers/cvtsudoers_json.c:898 +#: plugins/sudoers/cvtsudoers_ldif.c:709 plugins/sudoers/sudoers.c:1152 +#: plugins/sudoers/sudoers.c:1182 plugins/sudoers/sudoreplay.c:1496 +#: plugins/sudoers/timestamp.c:460 plugins/sudoers/tsdump.c:128 +#: plugins/sudoers/visudo.c:975 +#, c-format +msgid "unable to open %s" +msgstr "Die Datei »%s« kann nicht geöffnet werden" + +#: logsrvd/iolog_writer.c:797 logsrvd/logsrv_util.c:105 +#: logsrvd/logsrv_util.c:112 plugins/sudoers/sudoreplay.c:355 +#: plugins/sudoers/sudoreplay.c:361 +#, c-format +msgid "unable to open %s/%s" +msgstr "Die Datei »%s/%s« kann nicht geöffnet werden" + +#: logsrvd/iolog_writer.c:810 +#, c-format +msgid "unable to copy %s/%s to %s/%s: %s" +msgstr "Fehler beim Kopieren von »%s/%s« nach »%s/%s«: %s" + +#: logsrvd/iolog_writer.c:839 logsrvd/logsrvd_journal.c:198 +#, c-format +msgid "unable to rename %s to %s" +msgstr "Die Datei »%s« kann nicht in »%s« umbenannt werden" + +#: logsrvd/logsrv_util.c:147 logsrvd/logsrv_util.c:176 +#, c-format +msgid "%s/%s: unable to find resume point [%lld, %ld]" +msgstr "%s/%s: Der Wiederaufsetz-Punkt [%lld, %ld] kann nicht gefunden werden" + +#: logsrvd/logsrv_util.c:159 +#, c-format +msgid "missing I/O log file %s/%s" +msgstr "Die I/O Logdatei %s/%s fehlt" + +#: logsrvd/logsrv_util.c:166 +#, c-format +msgid "%s/%s: unable to seek forward %zu" +msgstr "%s/%s: kann nicht zur Position %zu springen" + +#: logsrvd/logsrvd.c:271 logsrvd/logsrvd_queue.c:135 +msgid "unable to connect to relay" +msgstr "Verbindung zum Relay kann nicht aufgebaut werden" + +#: logsrvd/logsrvd.c:330 logsrvd/logsrvd_relay.c:842 +#, c-format +msgid "server message too large: %zu" +msgstr "Server-Nachricht ist zu groß: %zu" + +#: logsrvd/logsrvd.c:422 logsrvd/logsrvd.c:545 logsrvd/logsrvd.c:631 +#: logsrvd/logsrvd.c:873 logsrvd/logsrvd.c:887 logsrvd/logsrvd.c:1049 +#: logsrvd/logsrvd.c:1174 logsrvd/logsrvd.c:1347 logsrvd/logsrvd.c:1365 +#: logsrvd/logsrvd.c:1464 logsrvd/logsrvd.c:1589 logsrvd/logsrvd.c:1773 +#: logsrvd/logsrvd_journal.c:497 logsrvd/logsrvd_local.c:238 +#: logsrvd/logsrvd_queue.c:164 logsrvd/logsrvd_relay.c:172 +#: logsrvd/logsrvd_relay.c:249 logsrvd/logsrvd_relay.c:253 +#: logsrvd/logsrvd_relay.c:389 logsrvd/logsrvd_relay.c:581 +#: logsrvd/logsrvd_relay.c:742 logsrvd/logsrvd_relay.c:1131 +#: logsrvd/sendlog.c:1291 logsrvd/tls_client.c:136 logsrvd/tls_client.c:152 +#: logsrvd/tls_client.c:216 plugins/sudoers/audit.c:278 +#: plugins/sudoers/iolog.c:1031 plugins/sudoers/iolog.c:1164 +#: plugins/sudoers/iolog.c:1262 plugins/sudoers/log_client.c:121 +#: plugins/sudoers/log_client.c:343 plugins/sudoers/log_client.c:359 +#: plugins/sudoers/log_client.c:407 plugins/sudoers/log_client.c:611 +#: plugins/sudoers/log_client.c:618 plugins/sudoers/log_client.c:1103 +#: plugins/sudoers/log_client.c:1384 plugins/sudoers/log_client.c:1425 +#: plugins/sudoers/log_client.c:1433 plugins/sudoers/log_client.c:1592 +#: plugins/sudoers/log_client.c:1710 plugins/sudoers/log_client.c:2039 +#: plugins/sudoers/log_client.c:2047 plugins/sudoers/logging.c:147 +#: plugins/sudoers/logging.c:205 plugins/sudoers/sudoreplay.c:519 +#: plugins/sudoers/sudoreplay.c:566 plugins/sudoers/sudoreplay.c:808 +#: plugins/sudoers/sudoreplay.c:920 plugins/sudoers/sudoreplay.c:1011 +#: plugins/sudoers/sudoreplay.c:1026 plugins/sudoers/sudoreplay.c:1033 +#: plugins/sudoers/sudoreplay.c:1040 plugins/sudoers/sudoreplay.c:1047 +#: plugins/sudoers/sudoreplay.c:1054 plugins/sudoers/sudoreplay.c:1181 +msgid "unable to add event to queue" +msgstr "Event kann nicht zur Warteschlange hinzugefügt werden" + +#: logsrvd/logsrvd.c:446 logsrvd/logsrvd.c:483 logsrvd/logsrvd.c:515 +#: logsrvd/logsrvd.c:569 logsrvd/logsrvd.c:648 logsrvd/logsrvd.c:684 +#: logsrvd/logsrvd.c:720 logsrvd/logsrvd.c:756 logsrvd/logsrvd_relay.c:510 +#: logsrvd/logsrvd_relay.c:543 +#, c-format +msgid "unexpected state %d for %s" +msgstr "Unerwarteter Status %d für %s" + +# XXX geht das besser? +#: logsrvd/logsrvd.c:447 logsrvd/logsrvd.c:484 logsrvd/logsrvd.c:516 +#: logsrvd/logsrvd.c:570 logsrvd/logsrvd.c:649 logsrvd/logsrvd.c:685 +#: logsrvd/logsrvd.c:721 logsrvd/logsrvd.c:757 logsrvd/logsrvd_relay.c:512 +#: logsrvd/logsrvd_relay.c:545 +msgid "state machine error" +msgstr "Fehler der State Machine" + +#: logsrvd/logsrvd.c:453 logsrvd/logsrvd.c:454 +msgid "invalid AcceptMessage" +msgstr "ungültige AcceptMessage" + +#: logsrvd/logsrvd.c:490 logsrvd/logsrvd.c:491 +msgid "invalid RejectMessage" +msgstr "ungültige RejectMessage" + +#: logsrvd/logsrvd.c:522 logsrvd/logsrvd.c:523 +msgid "invalid ExitMessage" +msgstr "ungültige ExitMessage" + +#: logsrvd/logsrvd.c:576 logsrvd/logsrvd.c:577 +msgid "invalid RestartMessage" +msgstr "ungültige RestartMessage" + +#: logsrvd/logsrvd.c:611 logsrvd/logsrvd.c:612 +msgid "invalid AlertMessage" +msgstr "ungültige AlertMessage" + +#: logsrvd/logsrvd.c:653 logsrvd/logsrvd.c:689 logsrvd/logsrvd.c:725 +#, c-format +msgid "%s: unexpected IoBuffer" +msgstr "%s: unerwarteter IoBuffer" + +#: logsrvd/logsrvd.c:654 logsrvd/logsrvd.c:690 logsrvd/logsrvd.c:726 +msgid "protocol error" +msgstr "Protokollfehler" + +#: logsrvd/logsrvd.c:660 logsrvd/logsrvd.c:661 +msgid "invalid IoBuffer" +msgstr "Ungültiger IoBuffer" + +#: logsrvd/logsrvd.c:696 logsrvd/logsrvd.c:697 +msgid "invalid ChangeWindowSize" +msgstr "ungültige ChangeWindowSize" + +#: logsrvd/logsrvd.c:732 logsrvd/logsrvd.c:733 +msgid "invalid CommandSuspend" +msgstr "ungültiges CommandSusped" + +#: logsrvd/logsrvd.c:782 logsrvd/logsrvd_journal.c:296 +#: logsrvd/logsrvd_relay.c:652 logsrvd/sendlog.c:1192 +#: plugins/sudoers/log_client.c:1582 +#, c-format +msgid "unable to unpack %s size %zu" +msgstr "Kann »%s« nicht auspacken, Größe %zu" + +#: logsrvd/logsrvd.c:827 logsrvd/logsrvd_journal.c:370 +#: logsrvd/logsrvd_relay.c:676 +#, c-format +msgid "unexpected type_case value %d in %s from %s" +msgstr "unerwarteter type_case Wert %d in »%s« aus »%s«" + +#: logsrvd/logsrvd.c:829 +msgid "unrecognized ClientMessage type" +msgstr "unbekannter ClientMessage-Typ" + +#: logsrvd/logsrvd.c:919 +#, c-format +msgid "timed out writing to client %s" +msgstr "Zeitablauf beim Senden zum Client %s" + +#: logsrvd/logsrvd.c:924 logsrvd/logsrvd_relay.c:914 logsrvd/sendlog.c:1395 +#, c-format +msgid "missing write buffer for client %s" +msgstr "Schreib-Puffer fehlt für Client %s" + +#: logsrvd/logsrvd.c:1020 +#, c-format +msgid "timed out reading from client %s" +msgstr "Zeitablauf beim Lesen vom Client %s" + +#: logsrvd/logsrvd.c:1061 logsrvd/logsrvd_relay.c:777 +#, c-format +msgid "EOF from %s without proper TLS shutdown" +msgstr "Dateiende (EOF) von %s ohne korrekten TLS-Abscluß" + +#: logsrvd/logsrvd.c:1105 logsrvd/logsrvd_relay.c:205 logsrvd/sendlog.c:322 +#: plugins/sudoers/log_client.c:721 +#, c-format +msgid "client message too large: %zu" +msgstr "Client-Nachricht ist zu groß: %zu" + +#: logsrvd/logsrvd.c:1106 logsrvd/logsrvd_journal.c:259 +#: logsrvd/logsrvd_journal.c:260 +msgid "client message too large" +msgstr "Client-Nachricht ist zu groß" + +#: logsrvd/logsrvd.c:1124 logsrvd/logsrvd.c:1125 +msgid "invalid ClientMessage" +msgstr "ungültige ClientMessage" + +#: logsrvd/logsrvd.c:1425 +msgid "unable to get remote IP addr" +msgstr "Kann die entfernte IP-Adresse nicht finden" + +#: logsrvd/logsrvd.c:1456 logsrvd/tls_client.c:203 +#: plugins/sudoers/log_client.c:281 +#, c-format +msgid "Unable to attach user data to the ssl object: %s" +msgstr "Kann die User-Daten nicht an das SSL-Objekt anhängen: %s" + +#: logsrvd/logsrvd.c:1639 logsrvd/logsrvd.c:1992 +msgid "unable to setup listen socket" +msgstr "Konnte keinen Socket zum »Lauschen« einrichten" + +#: logsrvd/logsrvd.c:1756 +#, c-format +msgid "unexpected signal %d" +msgstr "unerwartete Signal %d" + +#: logsrvd/logsrvd.c:1894 +msgid "sudo log server" +msgstr "sudo Log-Server" + +#: logsrvd/logsrvd.c:1896 logsrvd/sendlog.c:121 +msgid "Options:" +msgstr "Optionen:" + +#: logsrvd/logsrvd.c:1898 +msgid "path to configuration file" +msgstr "Pfad zur Konfigurationsdatei" + +#: logsrvd/logsrvd.c:1900 logsrvd/sendlog.c:123 +msgid "display help message and exit" +msgstr "Hilfe anzeigen und beenden" + +#: logsrvd/logsrvd.c:1902 +msgid "do not fork, run in the foreground" +msgstr "Nicht zum Hintergrundprozess werden, sondern im Vordergrund laufen" + +#: logsrvd/logsrvd.c:1904 +msgid "percent chance connections will drop" +msgstr "Wahrscheinlichkeit in Prozent für Verbindungsabbruch" + +#: logsrvd/logsrvd.c:1906 logsrvd/sendlog.c:153 +msgid "display version information and exit" +msgstr "Versionsinformation anzeigen und beenden" + +#: logsrvd/logsrvd.c:1956 logsrvd/sendlog.c:1702 +msgid "Protobuf-C version 1.3 or higher required" +msgstr "Protobuf-C Version 1.3 oder höher ist notwendig" + +#: logsrvd/logsrvd.c:1972 +#, c-format +msgid "invalid random drop value: %s" +msgstr "ungültiger Wert für »random drop«: %s" + +#: logsrvd/logsrvd.c:1975 logsrvd/sendlog.c:1756 +#: plugins/sudoers/cvtsudoers.c:246 plugins/sudoers/sudoreplay.c:294 +#: plugins/sudoers/visudo.c:182 +#, c-format +msgid "%s version %s\n" +msgstr "%s Version %s\n" + +#: logsrvd/logsrvd_conf.c:422 plugins/sudoers/check.c:358 +#: plugins/sudoers/exptilde.c:85 plugins/sudoers/iolog.c:122 +#: plugins/sudoers/policy.c:1271 plugins/sudoers/sudoers.c:512 +#: plugins/sudoers/sudoers.c:1411 plugins/sudoers/testsudoers.c:215 +#: plugins/sudoers/testsudoers.c:382 +#, c-format +msgid "unknown user %s" +msgstr "Unbekannter Benutzer %s" + +#: logsrvd/logsrvd_conf.c:439 plugins/sudoers/iolog.c:148 +#: plugins/sudoers/sudoers.c:517 plugins/sudoers/sudoers.c:1445 +#: plugins/sudoers/testsudoers.c:406 +#, c-format +msgid "unknown group %s" +msgstr "Unbekannte Gruppe %s" + +#: logsrvd/logsrvd_conf.c:457 +#, c-format +msgid "unable to parse iolog mode %s" +msgstr "Iolog mode %s kann nicht geparst werden" + +#: logsrvd/logsrvd_conf.c:474 logsrvd/logsrvd_conf.c:1243 +#, c-format +msgid "invalid value for %s: %s" +msgstr "Ungültiger Wert für %s: %s" + +#: logsrvd/logsrvd_conf.c:527 +msgid "TLS not supported" +msgstr "TLS ist nicht unterstützt" + +#: logsrvd/logsrvd_conf.c:549 +#, c-format +msgid "%s:%s" +msgstr "%s:%s" + +#: logsrvd/logsrvd_conf.c:622 logsrvd/logsrvd_conf.c:1032 +#, c-format +msgid "%s: not a fully qualified path" +msgstr "%s: ist kein voll qualifizierter Pfad" + +#: logsrvd/logsrvd_conf.c:951 logsrvd/logsrvd_conf.c:967 +#: logsrvd/logsrvd_conf.c:1676 +#, c-format +msgid "unknown syslog facility %s" +msgstr "Unbekannte Syslog-Facility %s" + +#: logsrvd/logsrvd_conf.c:983 logsrvd/logsrvd_conf.c:999 +#: logsrvd/logsrvd_conf.c:1015 logsrvd/logsrvd_conf.c:1680 +#: logsrvd/logsrvd_conf.c:1684 logsrvd/logsrvd_conf.c:1688 +#, c-format +msgid "unknown syslog priority %s" +msgstr "Unbekannte Syslog-Priorität %s" + +#: logsrvd/logsrvd_conf.c:1197 +#, c-format +msgid "%s:%d unmatched '[': %s" +msgstr "%s: %d »[« ohne schliessende Klammer »]«: %s" + +# XXX Geht das besser? +#: logsrvd/logsrvd_conf.c:1203 +#, c-format +msgid "%s:%d garbage after ']': %s" +msgstr "%s: %d unsinnige Zeichen nach »]«: %s" + +#: logsrvd/logsrvd_conf.c:1215 +#, c-format +msgid "%s:%d invalid config section: %s" +msgstr "%s/%d Ungültiger Konfigurations-Abschnitt: %s" + +#: logsrvd/logsrvd_conf.c:1223 +#, c-format +msgid "%s:%d invalid configuration line: %s" +msgstr "%s/%d Ungültige Konfigurationszeile: %s" + +#: logsrvd/logsrvd_conf.c:1229 +#, c-format +msgid "%s:%d expected section name: %s" +msgstr "%s:%d erwartetder Section Name: %s" + +#: logsrvd/logsrvd_conf.c:1251 +#, c-format +msgid "%s:%d [%s] illegal key: %s" +msgstr "%s:%d [%s] ungültiger Schlüssel: %s" + +#: logsrvd/logsrvd_conf.c:1281 plugins/sudoers/cvtsudoers.c:268 +#: plugins/sudoers/logging.c:1033 +#, c-format +msgid "unable to open log file %s" +msgstr "Die Protokolldatei kann nicht geöffnet werden %s" + +#: logsrvd/logsrvd_conf.c:1763 +msgid "unable to initialize server TLS context" +msgstr "Server-SSL-Kontext kann nicht initialisiert werden" + +#: logsrvd/logsrvd_conf.c:1783 +msgid "unable to initialize relay TLS context" +msgstr "SSL-Kontext kann nicht initialisiert werden" + +#: logsrvd/logsrvd_journal.c:149 logsrvd/logsrvd_journal.c:424 +#: logsrvd/logsrvd_journal.c:429 +msgid "unable to create journal file" +msgstr "Kann die Journal-Datei nicht anlegen" + +#: logsrvd/logsrvd_journal.c:153 logsrvd/logsrvd_queue.c:109 +#: plugins/sudoers/visudo.c:1028 +#, c-format +msgid "unable to lock %s" +msgstr "Die Datei »%s« kann nicht gesperrt werden" + +#: logsrvd/logsrvd_journal.c:156 +msgid "unable to lock journal file" +msgstr "Die Journal-Datei »%s« kann nicht gesperrt werden" + +#: logsrvd/logsrvd_journal.c:164 +msgid "unable to open journal file" +msgstr "Die Journal-Datei kann nicht geöffnet werden" + +#: logsrvd/logsrvd_journal.c:185 logsrvd/logsrvd_journal.c:460 +#: logsrvd/logsrvd_journal.c:465 +msgid "unable to write journal file" +msgstr "In die Logdatei kann nicht geschrieben werden" + +#: logsrvd/logsrvd_journal.c:193 logsrvd/logsrvd_journal.c:200 +msgid "unable to rename journal file" +msgstr "Die Journal-Datei kann nicht geöffnet werden" + +#: logsrvd/logsrvd_journal.c:247 logsrvd/logsrvd_journal.c:248 +#: logsrvd/logsrvd_journal.c:282 logsrvd/logsrvd_journal.c:283 +msgid "unexpected EOF reading journal file" +msgstr "unerwartetes Dateiende beim Lesen der Journal-Datei" + +#: logsrvd/logsrvd_journal.c:251 logsrvd/logsrvd_journal.c:252 +#: logsrvd/logsrvd_journal.c:286 logsrvd/logsrvd_journal.c:287 +msgid "error reading journal file" +msgstr "Fehler beim Lesen der Journal-Datei" + +#: logsrvd/logsrvd_journal.c:298 logsrvd/logsrvd_journal.c:384 +msgid "invalid journal file, unable to restart" +msgstr "Ungültige Journal-Datei - kann nicht neu starten" + +#: logsrvd/logsrvd_journal.c:443 +#, c-format +msgid "unable to seek to [%lld, %ld] in journal file %s" +msgstr "Kann nicht zu [%lld, %ld] in der Journaldatei »%s« springen" + +#: logsrvd/logsrvd_local.c:166 +#, c-format +msgid "unexpected value_case %d in %s from %s" +msgstr "unerwarteter value_case Wert %d in »%s« aus »%s«" + +#: logsrvd/logsrvd_local.c:194 +msgid "error parsing AcceptMessage" +msgstr "Fehler beim Parsen der AcceptMessage" + +#: logsrvd/logsrvd_local.c:205 +msgid "error creating I/O log" +msgstr "Fehler beim Erstellen des Ein-/Ausgabe-Protokolls" + +#: logsrvd/logsrvd_local.c:228 +msgid "error logging accept event" +msgstr "Fehler beim Protokolliereb des Accept-Events" + +#: logsrvd/logsrvd_local.c:267 +msgid "error parsing RejectMessage" +msgstr "Fehler beim Parsen der RejectMessage" + +#: logsrvd/logsrvd_local.c:291 +msgid "error logging reject event" +msgstr "Fehler beim Protokollieren des Reject-Events" + +#: logsrvd/logsrvd_local.c:427 logsrvd/logsrvd_local.c:435 +msgid "error logging exit event" +msgstr "Fehler beim Protokollieren des Exit-Events" + +#: logsrvd/logsrvd_local.c:492 logsrvd/logsrvd_local.c:493 +msgid "log is already complete, cannot be restarted" +msgstr "Das Log ist bereits abgeschlossen, kann nicht neu gestartet werden" + +#: logsrvd/logsrvd_local.c:523 +msgid "unable to restart log" +msgstr "Das Log konnte nicht wieder begonnen werden" + +#: logsrvd/logsrvd_local.c:539 +msgid "error parsing AlertMessage" +msgstr "Fehler beim Parsen der AlertMessage" + +#: logsrvd/logsrvd_local.c:549 +msgid "error logging alert event" +msgstr "Fehler beim Protokollieren des Alert-Events" + +#: logsrvd/logsrvd_local.c:585 logsrvd/logsrvd_local.c:648 +#: logsrvd/logsrvd_local.c:683 +#, c-format +msgid "unable to format timing buffer, length %d" +msgstr "Der Zeitstempel kann nicht formatiert werden, Länge %d" + +#: logsrvd/logsrvd_local.c:599 logsrvd/logsrvd_local.c:607 +#: logsrvd/logsrvd_local.c:655 logsrvd/logsrvd_local.c:690 +#: plugins/sudoers/sudoreplay.c:344 +#, c-format +msgid "%s/%s: %s" +msgstr "%s/%s: %s" + +#: logsrvd/logsrvd_local.c:618 +msgid "randomly dropping connection" +msgstr "Zufällig die Verbindung beenden" + +#: logsrvd/logsrvd_local.c:630 +msgid "error writing IoBuffer" +msgstr "Fehler beim Schreiben des IoBuffer" + +#: logsrvd/logsrvd_local.c:665 +msgid "error writing ChangeWindowSize" +msgstr "Fehler beim Schreiben der ChangeWindowSize" + +#: logsrvd/logsrvd_local.c:700 +msgid "error writing CommandSuspend" +msgstr "Fehler beim Schreiben des CommandSusped" + +#: logsrvd/logsrvd_relay.c:435 +msgid "TLS handshake with relay host failed" +msgstr "TLS-Handshake mit dem Relay-Host fehlgeschlagen" + +#: logsrvd/logsrvd_relay.c:463 +msgid "unable to connect to relay host" +msgstr "Verbindung zum Relay-Host kann nicht aufgebaut werden" + +#: logsrvd/logsrvd_relay.c:518 +#, c-format +msgid "%s: invalid ServerHello, missing server_id" +msgstr "%s: ungültiges ServerHello, fehlende server_id" + +#: logsrvd/logsrvd_relay.c:520 logsrvd/sendlog.c:1096 +#: plugins/sudoers/log_client.c:1468 +msgid "invalid ServerHello" +msgstr "ungültiges ServerHello" + +#: logsrvd/logsrvd_relay.c:679 +msgid "unrecognized ServerMessage type" +msgstr "unbekannter ServerMessage-Typ" + +#: logsrvd/logsrvd_relay.c:708 +#, c-format +msgid "timed out reading from relay %s (%s)" +msgstr "Zeitablauf beim Lesen vom Relay-Server »%s« (%s)" + +#: logsrvd/logsrvd_relay.c:710 +msgid "timeout reading from relay" +msgstr "Zeitablauf beim Lesen vom Relay-Server" + +#: logsrvd/logsrvd_relay.c:762 +msgid "relay host name does not match certificate" +msgstr "Der Name des Relay-Hosts passt nicht zum Zertifikat" + +#: logsrvd/logsrvd_relay.c:768 logsrvd/logsrvd_relay.c:782 +#: logsrvd/logsrvd_relay.c:789 +msgid "error reading from relay" +msgstr "Fehler beim Lesen vom Relay-Host" + +#: logsrvd/logsrvd_relay.c:810 +msgid "unable to read from relay" +msgstr "Vom Relay-Server kann nicht gelesen werden" + +#: logsrvd/logsrvd_relay.c:825 logsrvd/logsrvd_relay.c:943 +msgid "relay server closed connection" +msgstr "Der Relay-Server hat die Verbindung geschlossen" + +#: logsrvd/logsrvd_relay.c:843 +msgid "server message too large" +msgstr "Server-Nachricht ist zu groß" + +#: logsrvd/logsrvd_relay.c:907 +#, c-format +msgid "timed out writing to relay %s (%s)" +msgstr "Zeitablauf beim Senden an den Relay-Server »%s« (%s)" + +#: logsrvd/logsrvd_relay.c:909 +msgid "timeout writing to relay" +msgstr "Zeitablauf beim Senden an den Relay-Server" + +#: logsrvd/logsrvd_relay.c:962 logsrvd/logsrvd_relay.c:969 +#: logsrvd/logsrvd_relay.c:981 +msgid "error writing to relay" +msgstr "Fehler beim Schreiben des zum Relay-Server" + +#: logsrvd/sendlog.c:119 +msgid "send sudo I/O log to remote server" +msgstr "sende sudo I/O-Log zu einem entfernten Server" + +#: logsrvd/sendlog.c:125 +msgid "only send an accept event (no I/O)" +msgstr "Nur einen Accept-Event senden (kein I/O)" + +#: logsrvd/sendlog.c:128 +msgid "certificate bundle file to verify server's cert against" +msgstr "Zertifikatsbündel-Datei zur Verifikation des Server-Zertifikats" + +#: logsrvd/sendlog.c:130 +msgid "certificate file for TLS handshake" +msgstr "Zertifikatsdatei für TLS-Handshake" + +#: logsrvd/sendlog.c:133 +msgid "host to send logs to" +msgstr "Rechner an den die Logs gesendet werden" + +#: logsrvd/sendlog.c:135 +msgid "remote ID of I/O log to be resumed" +msgstr "Entfernte ID des I/O-Logs zum Wiederaufnehmen" + +#: logsrvd/sendlog.c:138 +msgid "private key file" +msgstr "Private Schlüsseldatei" + +#: logsrvd/sendlog.c:140 +msgid "do not verify server certificate" +msgstr "Serverzertifikat nicht überprüfen" + +#: logsrvd/sendlog.c:143 +msgid "port to use when connecting to host" +msgstr "Portnummer für die Verbindung zum Host" + +#: logsrvd/sendlog.c:145 +msgid "restart previous I/O log transfer" +msgstr "Restarte die vorhergehende I/O-Log Übertragung" + +#: logsrvd/sendlog.c:147 +msgid "reject the command with the given reason" +msgstr "Weise das Kommando mit dem angegebenen Grund zurück" + +#: logsrvd/sendlog.c:149 +msgid "stop transfer after reaching this time" +msgstr "Beende den Transfer nach Erreichen dieser Zeit" + +#: logsrvd/sendlog.c:151 +msgid "test audit server by sending selected I/O log n times in parallel" +msgstr "Teste den Audit-Server durch senden ausgewählter I/O-Logs n-Mal parallel" + +#: logsrvd/sendlog.c:176 plugins/sudoers/log_client.c:453 +#, c-format +msgid "unable to look up %s:%s: %s" +msgstr "Fehler beim Lookup %s:%s: %s" + +#: logsrvd/sendlog.c:214 +msgid "unable to get server IP addr" +msgstr "Kann die Server IP-Adresse nicht finden" + +#: logsrvd/sendlog.c:300 plugins/sudoers/sudoreplay.c:868 +#, c-format +msgid "unable to read %s/%s: %s" +msgstr "Fehler beim Lesen %s/%s: %s" + +#: logsrvd/sendlog.c:1020 plugins/sudoers/iolog.c:949 +#: plugins/sudoers/iolog.c:1024 +#, c-format +msgid "unexpected I/O event %d" +msgstr "unerwarteter I/O Event %d" + +#: logsrvd/sendlog.c:1073 logsrvd/sendlog.c:1090 logsrvd/sendlog.c:1124 +#: plugins/sudoers/log_client.c:1118 plugins/sudoers/log_client.c:1394 +#: plugins/sudoers/log_client.c:1462 plugins/sudoers/log_client.c:1501 +#, c-format +msgid "%s: unexpected state %d" +msgstr "%s: unerwarteter Status %d" + +#: logsrvd/sendlog.c:1160 plugins/sudoers/log_client.c:1550 +#, c-format +msgid "error message received from server: %s" +msgstr "Fehler beim Empfangen der Nachricht vom Server: %s" + +#: logsrvd/sendlog.c:1173 plugins/sudoers/log_client.c:1563 +#, c-format +msgid "abort message received from server: %s" +msgstr "Abbruch-Nachricht vom Server empfangen: %s" + +#: logsrvd/sendlog.c:1232 plugins/sudoers/log_client.c:1613 +#, c-format +msgid "%s: unexpected type_case value %d" +msgstr "%s: unerwarteter type_case Wert %d" + +#: logsrvd/sendlog.c:1261 +msgid "timeout reading from server" +msgstr "Zeitablauf beim Lesen vom Server" + +#: logsrvd/sendlog.c:1310 plugins/sudoers/log_client.c:1729 +msgid "host name does not match certificate" +msgstr "Der Hostname passt nicht zum Zertifikat" + +#: logsrvd/sendlog.c:1343 +msgid "premature EOF" +msgstr "unerwartetes Datei-Ende" + +#: logsrvd/sendlog.c:1356 plugins/sudoers/log_client.c:1776 +#, c-format +msgid "server message too large: %u" +msgstr "Server-Nachricht ist zu groß: %u" + +#: logsrvd/sendlog.c:1412 +msgid "timeout writing to server" +msgstr "Zeitablauf beim Senden an den Server" + +#: logsrvd/sendlog.c:1779 +msgid "both restart point and iolog ID must be specified" +msgstr "Sowohl Restart-Punkt als auch die I/O-Log ID sind notwendig" + +#: logsrvd/sendlog.c:1783 +msgid "a restart point may not be set when no I/O is sent" +msgstr "Ein Restart-Punkt kann nicht angegeben werden, wenn keine Ein/Ausgabe gesendet ist." + +#: logsrvd/sendlog.c:1859 +#, c-format +msgid "exited prematurely with state %d" +msgstr "Vorzeitig beendet mit Status %d" + +#: logsrvd/sendlog.c:1860 +#, c-format +msgid "elapsed time sent to server [%lld, %ld]" +msgstr "Abgelaufene Zeit zum Server gesendet [%lld, %ld]" + +#: logsrvd/sendlog.c:1862 +#, c-format +msgid "commit point received from server [%lld, %ld]" +msgstr "Commit Punkt vom Server empfangen [%lld, %ld]" + +#: logsrvd/tls_client.c:111 plugins/sudoers/log_client.c:315 +msgid "TLS handshake timeout occurred" +msgstr "Timeout beim TLS-Handshake erreicht" + +#: logsrvd/tls_client.c:131 logsrvd/tls_client.c:147 +#: plugins/sudoers/log_client.c:337 plugins/sudoers/log_client.c:353 +msgid "unable to set event" +msgstr "Konnte den Event nicht setzen" + +#: logsrvd/tls_client.c:157 logsrvd/tls_client.c:161 +#, c-format +msgid "TLS connection failed: %s" +msgstr "TLS-Kommunikation fehlgeschlagen: %s" + +#: logsrvd/tls_client.c:196 +#, c-format +msgid "unable to allocate ssl object: %s" +msgstr "Kann kein SSL-Objekt anlegen: %s" + +#: logsrvd/tls_client.c:210 +#, c-format +msgid "Unable to attach socket to the ssl object: %s" +msgstr "Kann den Socket nicht an das SSL-Objekt anhängen: %s" + +#: logsrvd/tls_client.c:238 +msgid "unable to initialize TLS context" +msgstr "SSL-Kontext kann nicht initialisiert werden" + +#: logsrvd/tls_init.c:138 logsrvd/tls_init.c:146 +#, c-format +msgid "unable to set TLS 1.2 ciphersuite to %s: %s" +msgstr "Die TLS 1.2 Cyphersuite kann nicht auf »%s« gesetzt werden: %s" + +#: logsrvd/tls_init.c:166 logsrvd/tls_init.c:174 +#, c-format +msgid "unable to set TLS 1.3 ciphersuite to %s: %s" +msgstr "Die TLS 1.3 Cyphersuite kann nicht auf »%s« gesetzt werden: %s" + +#: logsrvd/tls_init.c:206 logsrvd/tls_init.c:227 +#, c-format +msgid "unable to set diffie-hellman parameters: %s" +msgstr "Kann die Diffie-Hellman Parameter nicht setzen: %s" + +#: logsrvd/tls_init.c:283 +#, c-format +msgid "unable to create TLS context: %s" +msgstr "SSL-Kontext kann nicht erzeugt werden: %s" + +#: logsrvd/tls_init.c:290 +#, c-format +msgid "unable to set minimum protocol version to TLS 1.2: %s" +msgstr "Kann die minimale Protokollversion nicht auf TLS 1.2 setzen: %s" + +#: plugins/sudoers/audit.c:269 plugins/sudoers/audit.c:429 +#: plugins/sudoers/log_client.c:951 plugins/sudoers/log_client.c:1000 +#: plugins/sudoers/log_client.c:1049 plugins/sudoers/log_client.c:1174 +#: plugins/sudoers/logging.c:595 plugins/sudoers/logging.c:693 +#: plugins/sudoers/logging.c:796 plugins/sudoers/logging.c:987 +#: plugins/sudoers/policy.c:125 +msgid "unable to get time of day" +msgstr "Die aktuelle Zeit kann nicht ausgelesen werden" + +#: plugins/sudoers/auth/aix_auth.c:280 +#, c-format +msgid "unable to change password for %s" +msgstr "Das Passwort für %s« kann nicht geändert werden" + +#: plugins/sudoers/auth/bsdauth.c:74 +#, c-format +msgid "unable to get login class for user %s" +msgstr "Die Anmeldeklasse des Benutzers »%s« kann nicht gelesen werden" + +#: plugins/sudoers/auth/bsdauth.c:79 +msgid "unable to begin bsd authentication" +msgstr "Die BSD-Authentifizierung kann nicht begonnen werden" + +#: plugins/sudoers/auth/bsdauth.c:87 +msgid "invalid authentication type" +msgstr "Ungültiger Authentifizierungstyp" + +#: plugins/sudoers/auth/bsdauth.c:96 +msgid "unable to initialize BSD authentication" +msgstr "Die BSD-Authentifizierung kann nicht begonnen werden" + +#: plugins/sudoers/auth/bsdauth.c:186 +msgid "your account has expired" +msgstr "Ihr Account ist abgelaufen" + +#: plugins/sudoers/auth/bsdauth.c:188 +msgid "approval failed" +msgstr "Genehmigung fehlgeschlagen" + +#: plugins/sudoers/auth/fwtk.c:61 +msgid "unable to read fwtk config" +msgstr "Die fwtk-Konfiguration kann nicht gelesen werden" + +#: plugins/sudoers/auth/fwtk.c:66 +msgid "unable to connect to authentication server" +msgstr "Verbindung zum Authentifizierungsserver kann nicht aufgebaut werden" + +#: plugins/sudoers/auth/fwtk.c:72 plugins/sudoers/auth/fwtk.c:97 +#: plugins/sudoers/auth/fwtk.c:129 +msgid "lost connection to authentication server" +msgstr "Verbindung zum Authentisierungsserver verloren" + +#: plugins/sudoers/auth/fwtk.c:76 +#, c-format +msgid "" +"authentication server error:\n" +"%s" +msgstr "" +"Fehler des Authentifizierungsservers:\n" +"%s" + +#: plugins/sudoers/auth/kerb5.c:115 +#, c-format +msgid "%s: unable to convert principal to string ('%s'): %s" +msgstr "%s: Principal kann nicht in eine Zeichenkette umgewandelt werden (»%s«): %s" + +#: plugins/sudoers/auth/kerb5.c:164 +#, c-format +msgid "%s: unable to parse '%s': %s" +msgstr "%s: »%s« kann nicht ausgewertet werden: %s" + +# XXX check source? +#: plugins/sudoers/auth/kerb5.c:173 +#, c-format +msgid "%s: unable to resolve credential cache: %s" +msgstr "%s: Anmeldedaten-Zwischenspeicher kann nicht aufgelöst werden: %s" + +#: plugins/sudoers/auth/kerb5.c:222 +#, c-format +msgid "%s: unable to allocate options: %s" +msgstr "%s: Optionen können nicht zugewiesen werden: %s" + +#: plugins/sudoers/auth/kerb5.c:237 +#, c-format +msgid "%s: unable to get credentials: %s" +msgstr "%s: Anmeldedaten können nicht bekommen werden: %s" + +#: plugins/sudoers/auth/kerb5.c:250 +#, c-format +msgid "%s: unable to initialize credential cache: %s" +msgstr "%s: Anmeldedaten-Zwischenspeicher kann nicht initialisiert werden: %s" + +#: plugins/sudoers/auth/kerb5.c:253 +#, c-format +msgid "%s: unable to store credential in cache: %s" +msgstr "%s: Anmeldedaten können nicht im Zwischenspeicher abgelegt werden: %s" + +#: plugins/sudoers/auth/kerb5.c:317 +#, c-format +msgid "%s: unable to get host principal: %s" +msgstr "%s: Rechner-Principal kann nicht bekommen werden: %s" + +#: plugins/sudoers/auth/kerb5.c:331 +#, c-format +msgid "%s: Cannot verify TGT! Possible attack!: %s" +msgstr "%s: TGT kann nicht verifiziert werden! Möglicher Angriff!: %s" + +#: plugins/sudoers/auth/pam.c:224 +#, c-format +msgid "unable to initialize PAM: %s" +msgstr "PAM kann nicht initialisiert werden: %s" + +#: plugins/sudoers/auth/pam.c:337 +#, c-format +msgid "PAM authentication error: %s" +msgstr "Fehler bei der PAM-Authentifizierung: %s" + +#: plugins/sudoers/auth/pam.c:356 +msgid "account validation failure, is your account locked?" +msgstr "Fehler bei der Validierung des Kontos, ist das Konto gesperrt?" + +#: plugins/sudoers/auth/pam.c:367 +msgid "Account or password is expired, reset your password and try again" +msgstr "Konto oder Passwort ist abgelaufen, bitte Passwort zurücksetzen und nochmal probieren" + +#: plugins/sudoers/auth/pam.c:373 +#, c-format +msgid "unable to change expired password: %s" +msgstr "Das abgelaufene Passwort kann nicht geändert werden: %s«" + +#: plugins/sudoers/auth/pam.c:384 +msgid "Password expired, contact your system administrator" +msgstr "Das Passwort ist abgelaufen, bitte wenden Sie sich an den Systemadministrator" + +#: plugins/sudoers/auth/pam.c:389 +msgid "Account expired or PAM config lacks an \"account\" section for sudo, contact your system administrator" +msgstr "Das Konto ist abgelaufen oder in der PAM-Konfiguration fehlt der »account«-Abschnitt für sudo. Bitte wenden Sie sich an den Systemadministrator" + +#: plugins/sudoers/auth/pam.c:397 plugins/sudoers/auth/pam.c:402 +#, c-format +msgid "PAM account management error: %s" +msgstr "Fehler beim PAM-Account-Management: %s" + +#: plugins/sudoers/auth/rfc1938.c:99 plugins/sudoers/visudo.c:271 +#, c-format +msgid "you do not exist in the %s database" +msgstr "Der Benutzer existiert in der %s-Datenbank nicht" + +#: plugins/sudoers/auth/securid5.c:75 +msgid "failed to initialise the ACE API library" +msgstr "Die ACE-API-Bibliothek konnte nicht initialisiert werden" + +#: plugins/sudoers/auth/securid5.c:106 +msgid "unable to contact the SecurID server" +msgstr "SecurID-Server kann nicht erreicht werden" + +#: plugins/sudoers/auth/securid5.c:115 +msgid "User ID locked for SecurID Authentication" +msgstr "Benutzer-ID ist für SecurID-Authentifizierung gesperrt" + +#: plugins/sudoers/auth/securid5.c:119 plugins/sudoers/auth/securid5.c:171 +msgid "invalid username length for SecurID" +msgstr "Ungültige Länge des Benutzernamens für SecurID" + +#: plugins/sudoers/auth/securid5.c:123 plugins/sudoers/auth/securid5.c:176 +msgid "invalid Authentication Handle for SecurID" +msgstr "Ungültiges Authentifizierungs-Handle für SecurID" + +#: plugins/sudoers/auth/securid5.c:127 +msgid "SecurID communication failed" +msgstr "SecurID-Kommunikation fehlgeschlagen" + +#: plugins/sudoers/auth/securid5.c:131 plugins/sudoers/auth/securid5.c:219 +msgid "unknown SecurID error" +msgstr "Unbekannter SecurID-Fehler" + +#: plugins/sudoers/auth/securid5.c:166 +msgid "invalid passcode length for SecurID" +msgstr "Ungültige Länge des Passcodes für SecurID" + +#: plugins/sudoers/auth/sia.c:69 plugins/sudoers/auth/sia.c:126 +msgid "unable to initialize SIA session" +msgstr "Die SIA-Sitzung kann nicht initialisiert werden" + +#: plugins/sudoers/auth/sudo_auth.c:135 +msgid "invalid authentication methods" +msgstr "Ungültige Authentifizierungsmethoden" + +#: plugins/sudoers/auth/sudo_auth.c:137 +msgid "Invalid authentication methods compiled into sudo! You may not mix standalone and non-standalone authentication." +msgstr "Ungültige Authentifizierungsmethoden sind in sudo einkompiliert! Standalone- und Nicht-Standalone-Authentifizierung können nicht zusammen verwendet werden." + +#: plugins/sudoers/auth/sudo_auth.c:258 plugins/sudoers/auth/sudo_auth.c:310 +msgid "no authentication methods" +msgstr "Keine Authentifizierungsmethoden" + +#: plugins/sudoers/auth/sudo_auth.c:260 +msgid "There are no authentication methods compiled into sudo! If you want to turn off authentication, use the --disable-authentication configure option." +msgstr "Es sind keine Authentifizierungsmethoden in sudo einkompiliert! Wenn Sie die Authentifizierung wirklich abschalten wollen, verwenden Sie bitte die configure-Option »--disable-authentication«." + +#: plugins/sudoers/auth/sudo_auth.c:312 +msgid "Unable to initialize authentication methods." +msgstr "Die Authentifizierungsmethoden können nicht initialisiert werden." + +#: plugins/sudoers/auth/sudo_auth.c:486 +msgid "Authentication methods:" +msgstr "Authentifizierungsmethoden:" + +#: plugins/sudoers/bsm_audit.c:123 plugins/sudoers/bsm_audit.c:214 +msgid "Could not determine audit condition" +msgstr "Der Audit-Zustand kann nicht bestimmt werden" + +#: plugins/sudoers/bsm_audit.c:188 plugins/sudoers/bsm_audit.c:277 +msgid "unable to commit audit record" +msgstr "Audit-Satz kann nicht auf Platte geschrieben werden" + +#: plugins/sudoers/check.c:285 +#, c-format +msgid "error reading lecture file %s" +msgstr "Fehler beim Lesen der Belehrungsdatei %s" + +#: plugins/sudoers/check.c:288 +#, c-format +msgid "ignoring lecture file %s: not a regular file" +msgstr "Ignoriere Belehrungsdatei %s: es ist keine reguläre Datei" + +#: plugins/sudoers/check.c:301 +msgid "" +"\n" +"We trust you have received the usual lecture from the local System\n" +"Administrator. It usually boils down to these three things:\n" +"\n" +" #1) Respect the privacy of others.\n" +" #2) Think before you type.\n" +" #3) With great power comes great responsibility.\n" +"\n" +msgstr "" +"\n" +"Wir gehen davon aus, dass der lokale Systemadministrator Ihnen die\n" +"Regeln erklärt hat. Normalerweise läuft es auf drei Regeln hinaus:\n" +"\n" +" #1) Respektieren Sie die Privatsphäre anderer.\n" +" #2) Denken Sie nach, bevor Sie tippen.\n" +" #3) Mit großer Macht kommt große Verantwortung.\n" +"\n" + +#: plugins/sudoers/check.c:309 +msgid "" +"For security reasons, the password you type will not be visible.\n" +"\n" +msgstr "" +"Das eingegebene Passwort ist aus Sicherheitsgründen nicht sichtbar.\n" +"\n" + +#: plugins/sudoers/check.c:353 plugins/sudoers/check.c:363 +#: plugins/sudoers/parse.c:82 plugins/sudoers/sudoers.c:945 +#: plugins/sudoers/sudoers.c:966 plugins/sudoers/tsdump.c:119 +#, c-format +msgid "unknown uid %u" +msgstr "Unbekannte Benutzer-ID %u" + +#: plugins/sudoers/check_aliases.c:99 plugins/sudoers/defaults.c:1279 +#, c-format +msgid "%s: %s\n" +msgstr "%s: %s\n" + +#: plugins/sudoers/check_aliases.c:133 +#, c-format +msgid "cycle in %s \"%s\"" +msgstr "Zyklus in %s »%s«" + +#: plugins/sudoers/check_aliases.c:136 +#, c-format +msgid "%s \"%s\" referenced but not defined" +msgstr "%s »%s« wird verwendet, ist aber nicht definiert" + +#: plugins/sudoers/cvtsudoers.c:209 +#, c-format +msgid "order increment: %s: %s" +msgstr "Schrittgröße: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:228 +#, c-format +msgid "starting order: %s: %s" +msgstr "Start der Folge: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:238 +#, c-format +msgid "order padding: %s: %s" +msgstr "Auffüllen der Folge: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:248 plugins/sudoers/visudo.c:184 +#, c-format +msgid "%s grammar version %d\n" +msgstr "%s-Grammatik Version %d\n" + +#: plugins/sudoers/cvtsudoers.c:277 plugins/sudoers/testsudoers.c:159 +#, c-format +msgid "unsupported input format %s" +msgstr "Nicht unterstütztes Eingabeformat %s" + +#: plugins/sudoers/cvtsudoers.c:295 +#, c-format +msgid "unsupported output format %s" +msgstr "Nicht unterstütztes Ausgabeformat %s" + +#: plugins/sudoers/cvtsudoers.c:385 +#, c-format +msgid "%s: input and output files must be different" +msgstr "%s: Eingabe- und Ausgabedatei müssen unterschiedlich sein" + +#: plugins/sudoers/cvtsudoers.c:399 plugins/sudoers/sudoers.c:166 +#: plugins/sudoers/sudoers.c:222 plugins/sudoers/testsudoers.c:254 +#: plugins/sudoers/visudo.c:280 plugins/sudoers/visudo.c:654 +msgid "unable to initialize sudoers default values" +msgstr "Standardwerte für sudoers können nicht initialisiert werden" + +#: plugins/sudoers/cvtsudoers.c:525 plugins/sudoers/ldap_conf.c:434 +#, c-format +msgid "%s: %s: %s: %s" +msgstr "%s: %s: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:584 +#, c-format +msgid "%s: unknown key word %s" +msgstr "%s: unbekanntes Schlüsselwort %s" + +#: plugins/sudoers/cvtsudoers.c:630 +#, c-format +msgid "invalid defaults type: %s" +msgstr "Ungültiger Standardtyp: %s" + +#: plugins/sudoers/cvtsudoers.c:653 +#, c-format +msgid "invalid suppression type: %s" +msgstr "ungültiger suppression Typ: %s" + +#: plugins/sudoers/cvtsudoers.c:694 plugins/sudoers/cvtsudoers.c:710 +#, c-format +msgid "invalid filter: %s" +msgstr "Ungültiger Filter: %s" + +#: plugins/sudoers/cvtsudoers.c:754 plugins/sudoers/visudo.c:982 +#, c-format +msgid "failed to parse %s file, unknown error" +msgstr "Analyse der Datei %s gescheitert, unbekannter Fehler" + +#: plugins/sudoers/cvtsudoers.c:1478 plugins/sudoers/sudoreplay.c:1142 +#: plugins/sudoers/timestamp.c:343 plugins/sudoers/timestamp.c:346 +#, c-format +msgid "unable to write to %s" +msgstr "In die Datei »%s« kann nicht geschrieben werden" + +#: plugins/sudoers/cvtsudoers.c:1506 +#, c-format +msgid "" +"%s - convert between sudoers file formats\n" +"\n" +msgstr "" +"%s – zwischen sudoers Dateiformaten konvertieren\n" +"\n" + +#: plugins/sudoers/cvtsudoers.c:1508 +msgid "" +"\n" +"Options:\n" +" -b, --base=dn the base DN for sudo LDAP queries\n" +" -c, --config=conf_file the path to the configuration file\n" +" -d, --defaults=deftypes only convert Defaults of the specified types\n" +" -e, --expand-aliases expand aliases when converting\n" +" -f, --output-format=format set output format: JSON, LDIF or sudoers\n" +" -i, --input-format=format set input format: LDIF or sudoers\n" +" -I, --increment=num amount to increase each sudoOrder by\n" +" -h, --help display help message and exit\n" +" -m, --match=filter only convert entries that match the filter\n" +" -M, --match-local match filter uses passwd and group databases\n" +" -o, --output=output_file write converted sudoers to output_file\n" +" -O, --order-start=num starting point for first sudoOrder\n" +" -p, --prune-matches prune non-matching users, groups and hosts\n" +" -P, --padding=num base padding for sudoOrder increment\n" +" -s, --suppress=sections suppress output of certain sections\n" +" -V, --version display version information and exit" +msgstr "" +"\n" +"Optionen:\n" +" -b, --base=dn Der Basis DN für sudo LDAP Abfragen\n" +" -d, --defaults=deftypes Konvertiere nur Defaults von spezifischen Typen\n" +" -e, --expand-aliases Expandiere Aliase beim Konvertieren\n" +" -f, --output-format=format Ausgabeformat: JSON, LDIF oder sudoers\n" +" -i, --input-format=format Eingabeformat: LDIF oder sudoers\n" +" -I, --increment=num Größe der Schrittweite für sudoOrder\n" +" -h, --help Zeige diese Hilfe an und Ende\n" +" -m, --match=filter Konvertiere nur Einträge die zum Filter passen\n" +" -M, --match-local Filter verwendet passwd und group Databank\n" +" -o, --output=output_file Schreibe die konvertiere sudoers in die Ausgabe-Datei\n" +" -O, --order-start=num Start für die erste sudoOrder\n" +" -p, --prune-matches nicht passende Benutzer, Gruppen und Hosts nicht ausgeben\n" +" -P, --padding=num Auffüllen der sudoOrder Folge\n" +" -s, --suppress=sections Unterdrücke Ausgabe von bestimmten Abschnitten\n" +" -V, --version Zeige Versionsinformationen an und Ende" + +#: plugins/sudoers/cvtsudoers_csv.c:192 plugins/sudoers/cvtsudoers_csv.c:199 +#: plugins/sudoers/cvtsudoers_ldif.c:244 plugins/sudoers/cvtsudoers_ldif.c:251 +#: plugins/sudoers/cvtsudoers_ldif.c:592 plugins/sudoers/env.c:340 +#: plugins/sudoers/env.c:347 plugins/sudoers/env.c:458 +#: plugins/sudoers/ldap.c:528 plugins/sudoers/ldap.c:761 +#: plugins/sudoers/ldap.c:1134 plugins/sudoers/ldap_conf.c:222 +#: plugins/sudoers/ldap_conf.c:313 plugins/sudoers/ldap_util.c:486 +#: plugins/sudoers/linux_audit.c:92 plugins/sudoers/logging.c:461 +#: plugins/sudoers/logging.c:817 plugins/sudoers/logging.c:827 +#: plugins/sudoers/policy.c:807 plugins/sudoers/policy.c:818 +#: plugins/sudoers/prompt.c:168 plugins/sudoers/serialize_list.c:62 +#: plugins/sudoers/serialize_list.c:71 plugins/sudoers/strvec_join.c:62 +#: plugins/sudoers/sudoreplay.c:1339 plugins/sudoers/sudoreplay.c:1345 +#: plugins/sudoers/sudoreplay.c:1351 plugins/sudoers/testsudoers.c:245 +#: plugins/sudoers/toke_util.c:213 toke.l:995 toke.l:1197 +#, c-format +msgid "internal error, %s overflow" +msgstr "Interner Fehler, %s-Überlauf" + +#: plugins/sudoers/cvtsudoers_csv.c:452 plugins/sudoers/cvtsudoers_csv.c:466 +#: plugins/sudoers/cvtsudoers_json.c:657 plugins/sudoers/cvtsudoers_json.c:672 +#: plugins/sudoers/cvtsudoers_ldif.c:347 plugins/sudoers/cvtsudoers_ldif.c:360 +#: plugins/sudoers/ldap.c:512 +msgid "unable to get GMT time" +msgstr "Die GMT-Zeit kann nicht bekommen werden" + +#: plugins/sudoers/cvtsudoers_csv.c:457 plugins/sudoers/cvtsudoers_csv.c:471 +#: plugins/sudoers/cvtsudoers_json.c:662 plugins/sudoers/cvtsudoers_json.c:677 +#: plugins/sudoers/cvtsudoers_ldif.c:352 plugins/sudoers/cvtsudoers_ldif.c:365 +#: plugins/sudoers/ldap.c:520 +msgid "unable to format timestamp" +msgstr "Der Zeitstempel kann nicht formatiert werden" + +#: plugins/sudoers/cvtsudoers_json.c:480 plugins/sudoers/cvtsudoers_json.c:515 +#: plugins/sudoers/cvtsudoers_json.c:728 +#, c-format +msgid "%s:%d:%d: unknown defaults entry \"%s\"" +msgstr "%s:%d:%d: unbekannter defaults-Eintrag »%s«" + +#: plugins/sudoers/cvtsudoers_ldif.c:661 +#, c-format +msgid "too many sudoers entries, maximum %u" +msgstr "Zu viele sudoers Einträge, Maximum ist %u" + +#: plugins/sudoers/cvtsudoers_ldif.c:704 +msgid "the SUDOERS_BASE environment variable is not set and the -b option was not specified." +msgstr "Die Umgebunsvariable SUDOERS_BASE ist nicht gesetzt und die Option -b ist nicht angegeben." + +#: plugins/sudoers/cvtsudoers_merge.c:273 +#: plugins/sudoers/cvtsudoers_merge.c:309 +#, c-format +msgid "%s:%d:%d: converting host list to ALL" +msgstr "%s:%d:%d: Konvertiere die Hostliste in »ALL«" + +#: plugins/sudoers/cvtsudoers_merge.c:545 +#, c-format +msgid "unable to find alias %s" +msgstr "Der Alias »%s« kann nicht gefunden werden" + +#: plugins/sudoers/cvtsudoers_merge.c:548 +#, c-format +msgid "%s:%d:%d: renaming alias %s to %s" +msgstr "%s:%d:%d: Benenne »%s« in »%s« um" + +#: plugins/sudoers/cvtsudoers_merge.c:605 +#, c-format +msgid "%s:%d:%d: removing duplicate alias %s" +msgstr "%s:%d:%d: doppelter Alias »%s« entfernt" + +#: plugins/sudoers/cvtsudoers_merge.c:830 +#, c-format +msgid "%s:%d:%d: conflicting Defaults entry \"%s\" host-specific in %s:%d:%d" +msgstr "%s:%d:%d: widersprüchlicher »Defaults«-Eintrag \"%s\" Host-spezifisch in %s:%d:%d" + +#: plugins/sudoers/cvtsudoers_merge.c:864 +#, c-format +msgid "%s:%d:%d: made Defaults \"%s\" specific to host %s" +msgstr "%s:%d:%d: Mache »Defaults« »%s« spezifisch für Host »%s«" + +#: plugins/sudoers/cvtsudoers_merge.c:882 +#, c-format +msgid "%s:%d:%d: unable to make Defaults \"%s\" host-specific" +msgstr "%s:%d:%d: Kann Defaults »%s« nicht host-spezifisch machen" + +#: plugins/sudoers/cvtsudoers_merge.c:892 +#, c-format +msgid "%s:%d:%d: removing Defaults \"%s\" overridden by subsequent entries" +msgstr "%s:%d:%d: entferne Defaults \"%s\" überschrieben in folgenden Einträgen" + +#: plugins/sudoers/cvtsudoers_merge.c:1088 +#, c-format +msgid "%s:%d:%d: merging userspec into %s:%d:%d" +msgstr "%s:%d:%d: Führe »userspec« zusammen in %s:%d:%d" + +# XXX +#: plugins/sudoers/cvtsudoers_merge.c:1182 +#, c-format +msgid "%s:%d:%d: removing userspec overridden by subsequent entries" +msgstr "%s:%d:%d: entferne durch nachfolgende Einträge überschriebene userspec " + +#: plugins/sudoers/def_data.c:56 +#, c-format +msgid "Syslog facility if syslog is being used for logging: %s" +msgstr "Syslog Facility, wenn syslog für Protokollierung verwendet wird: %s" + +#: plugins/sudoers/def_data.c:60 +#, c-format +msgid "Syslog priority to use when user authenticates successfully: %s" +msgstr "Syslog-Priorität, wenn sich der Benutzer erfolgreich authentifiziert: %s" + +#: plugins/sudoers/def_data.c:64 +#, c-format +msgid "Syslog priority to use when user authenticates unsuccessfully: %s" +msgstr "Syslog-Priorität, wenn sich der Benutzer nicht erfolgreich authentifiziert: %s" + +#: plugins/sudoers/def_data.c:68 +msgid "Put OTP prompt on its own line" +msgstr "Die OTP-Eingabeaufforderung (One-Time-Passwords) in eine eigene Zeile schreiben" + +#: plugins/sudoers/def_data.c:72 +msgid "Ignore '.' in $PATH" +msgstr "».« in $PATH ignorieren" + +#: plugins/sudoers/def_data.c:76 +msgid "Always send mail when sudo is run" +msgstr "Immer eine Mail senden, wenn sudo gestartet wird" + +#: plugins/sudoers/def_data.c:80 +msgid "Send mail if user authentication fails" +msgstr "Eine Mail senden, wenn die Authentifizierung des Benutzers fehlschlägt" + +#: plugins/sudoers/def_data.c:84 +msgid "Send mail if the user is not in sudoers" +msgstr "Eine Mail senden, wenn der Benutzer nicht in der sudoers-Datei steht" + +#: plugins/sudoers/def_data.c:88 +msgid "Send mail if the user is not in sudoers for this host" +msgstr "Eine Mail senden, wenn der Benutzer nicht in der sudoers-Datei für diesen Rechner steht" + +#: plugins/sudoers/def_data.c:92 +msgid "Send mail if the user is not allowed to run a command" +msgstr "Eine Mail senden, wenn der Benutzer nicht berechtigt ist, einen Befehl auszuführen" + +#: plugins/sudoers/def_data.c:96 +msgid "Send mail if the user tries to run a command" +msgstr "Eine Mail senden, wenn der Benutzer versucht, einen Befehl auszuführen" + +#: plugins/sudoers/def_data.c:100 +msgid "Use a separate timestamp for each user/tty combo" +msgstr "Getrennte Zeitstempel für jede Benutzer/tty-Kombination verwenden" + +#: plugins/sudoers/def_data.c:104 +msgid "Lecture user the first time they run sudo" +msgstr "Den Benutzer beim ersten Aufruf von sudo belehren" + +#: plugins/sudoers/def_data.c:108 +#, c-format +msgid "File containing the sudo lecture: %s" +msgstr "Datei mit der sudo-Belehrung: %s" + +#: plugins/sudoers/def_data.c:112 +msgid "Require users to authenticate by default" +msgstr "Standardmäßig muss sich der Benutzer authentifizieren" + +#: plugins/sudoers/def_data.c:116 +msgid "Root may run sudo" +msgstr "Root darf sudo verwenden" + +#: plugins/sudoers/def_data.c:120 +msgid "Log the hostname in the (non-syslog) log file" +msgstr "Den Hostnamen in der (nicht-syslog-)Protokolldatei speichern" + +#: plugins/sudoers/def_data.c:124 +msgid "Log the year in the (non-syslog) log file" +msgstr "Das Jahr in der (nicht-syslog-)Protokolldatei speichern" + +#: plugins/sudoers/def_data.c:128 +msgid "If sudo is invoked with no arguments, start a shell" +msgstr "Eine Shell starten, wenn sudo ohne Parameter aufgerufen wird" + +#: plugins/sudoers/def_data.c:132 +msgid "Set $HOME to the target user when starting a shell with -s" +msgstr "Die Umgebungsvariable $HOME beim Starten einer Shell mit »-s« setzen" + +#: plugins/sudoers/def_data.c:136 +msgid "Always set $HOME to the target user's home directory" +msgstr "Immer die Variable $HOME auf das Home-Verzeichnis des Ziel-Benutzers setzen" + +#: plugins/sudoers/def_data.c:140 +msgid "Allow some information gathering to give useful error messages" +msgstr "Informationssammlung für nützliche Fehlermeldungen erlauben" + +#: plugins/sudoers/def_data.c:144 +msgid "Require fully-qualified hostnames in the sudoers file" +msgstr "Vollständige Hostnamen in der sudoers-Datei erfordern" + +#: plugins/sudoers/def_data.c:148 +msgid "Insult the user when they enter an incorrect password" +msgstr "»Beschimpfung« bei Eingabe eines falschen Passwortes" + +#: plugins/sudoers/def_data.c:152 +msgid "Only allow the user to run sudo if they have a tty" +msgstr "Der Benutzer darf sudo nur aufrufen, wenn ein tty vorhanden ist" + +#: plugins/sudoers/def_data.c:156 +msgid "Visudo will honor the EDITOR environment variable" +msgstr "Visudo beachtet die Umgebungsvariable »EDITOR«" + +#: plugins/sudoers/def_data.c:160 +msgid "Prompt for root's password, not the users's" +msgstr "Nach dem root-Passwort fragen, nicht nach dem Passwort des Benutzers" + +#: plugins/sudoers/def_data.c:164 +msgid "Prompt for the runas_default user's password, not the users's" +msgstr "Nach dem Passwort des Benutzers »runas_default« fragen, nicht nach dem Passwort des aufrufenden Benutzers" + +#: plugins/sudoers/def_data.c:168 +msgid "Prompt for the target user's password, not the users's" +msgstr "Nach dem Passwort des Ziel-Benutzers fragen, nicht nach dem Passwort des aufrufenden Benutzers" + +#: plugins/sudoers/def_data.c:172 +msgid "Apply defaults in the target user's login class if there is one" +msgstr "Standards auf die Anmeldeklasse des Zielbenutzers anwenden, falls diese vorhanden ist" + +#: plugins/sudoers/def_data.c:176 +msgid "Set the LOGNAME and USER environment variables" +msgstr "Die Umgebungsvariablen »LOGNAME« und »USER« setzen" + +#: plugins/sudoers/def_data.c:180 +msgid "Only set the effective uid to the target user, not the real uid" +msgstr "Nur die effektive UID auf den Ziel-Benutzer setzen, nicht die reale UID" + +#: plugins/sudoers/def_data.c:184 +msgid "Don't initialize the group vector to that of the target user" +msgstr "Die sekundären Gruppen nicht auf die Gruppen des Ziel-Benutzers setzen" + +#: plugins/sudoers/def_data.c:188 +#, c-format +msgid "Length at which to wrap log file lines (0 for no wrap): %u" +msgstr "Zeilenlänge der Protokolldatei für Zeilenumbruch (0 für keinen Zeilenumbruch): %u" + +#: plugins/sudoers/def_data.c:192 +#, c-format +msgid "Authentication timestamp timeout: %.1f minutes" +msgstr "Zeitlimit für den Authentifizierungszeitstempel: %.1f Minuten" + +#: plugins/sudoers/def_data.c:196 +#, c-format +msgid "Password prompt timeout: %.1f minutes" +msgstr "Zeitlimit bei der Eingabe des Passwortes: %.1f Minuten" + +#: plugins/sudoers/def_data.c:200 +#, c-format +msgid "Number of tries to enter a password: %u" +msgstr "Anzahl Versuche zur Eingabe des Passwortes: %u" + +#: plugins/sudoers/def_data.c:204 +#, c-format +msgid "Umask to use or 0777 to use user's: 0%o" +msgstr "Zu verwendende Umask oder 0777, um die Umask des Benutzers zu verwenden: 0%o" + +#: plugins/sudoers/def_data.c:208 +#, c-format +msgid "Path to log file: %s" +msgstr "Pfad zur Protokolldatei: %s" + +#: plugins/sudoers/def_data.c:212 +#, c-format +msgid "Path to mail program: %s" +msgstr "Pfad zum Mail-Programm: %s" + +#: plugins/sudoers/def_data.c:216 +#, c-format +msgid "Flags for mail program: %s" +msgstr "Parameter für das Mail-Programm: %s" + +#: plugins/sudoers/def_data.c:220 +#, c-format +msgid "Address to send mail to: %s" +msgstr "Mail-Adresse des Empfängers: %s" + +#: plugins/sudoers/def_data.c:224 +#, c-format +msgid "Address to send mail from: %s" +msgstr "Mail-Adresse des Absenders: %s" + +#: plugins/sudoers/def_data.c:228 +#, c-format +msgid "Subject line for mail messages: %s" +msgstr "Betreffzeile für Mails: %s" + +#: plugins/sudoers/def_data.c:232 +#, c-format +msgid "Incorrect password message: %s" +msgstr "Meldung bei Eingabe eines falschen Passwortes: %s" + +#: plugins/sudoers/def_data.c:236 +#, c-format +msgid "Path to lecture status dir: %s" +msgstr "Verzeichnis für den Belehrungsstatus: %s" + +#: plugins/sudoers/def_data.c:240 +#, c-format +msgid "Path to authentication timestamp dir: %s" +msgstr "Pfad zum Authentifizierungszeitstempel-Verzeichnis: %s" + +#: plugins/sudoers/def_data.c:244 +#, c-format +msgid "Owner of the authentication timestamp dir: %s" +msgstr "Besitzer des Authentifizierungszeitstempelverzeichnisses: %s" + +#: plugins/sudoers/def_data.c:248 +#, c-format +msgid "Users in this group are exempt from password and PATH requirements: %s" +msgstr "Benutzer in dieser Gruppe sind von Passwort- und PATH-Anforderungen ausgenommen: %s" + +#: plugins/sudoers/def_data.c:252 +#, c-format +msgid "Default password prompt: %s" +msgstr "Standard-Eingabeaufforderung für das Passwort: %s" + +#: plugins/sudoers/def_data.c:256 +msgid "If set, passprompt will override system prompt in all cases." +msgstr "Überschreibt in allen Fällen bei der Passwortabfrage die Systemabfrage, falls gesetzt." + +#: plugins/sudoers/def_data.c:260 +#, c-format +msgid "Default user to run commands as: %s" +msgstr "Standardbenutzer, unter dem die Befehle ausgeführt werden: %s" + +#: plugins/sudoers/def_data.c:264 +#, c-format +msgid "Value to override user's $PATH with: %s" +msgstr "Wert, mit dem der Inhalt von $PATH des Benutzers überschrieben werden soll: %s" + +#: plugins/sudoers/def_data.c:268 +#, c-format +msgid "Path to the editor for use by visudo: %s" +msgstr "Pfad zum Editor, den visudo verwenden soll: %s" + +#: plugins/sudoers/def_data.c:272 +#, c-format +msgid "When to require a password for 'list' pseudocommand: %s" +msgstr "Wann soll ein Passwort für den Pseudobefehl »list« erforderlich sein: %s" + +#: plugins/sudoers/def_data.c:276 +#, c-format +msgid "When to require a password for 'verify' pseudocommand: %s" +msgstr "Wann soll ein Passwort für den Pseudobefehl »verify« erforderlich sein: %s" + +#: plugins/sudoers/def_data.c:280 +msgid "Preload the sudo_noexec library which replaces the exec functions" +msgstr "Preload der »sudo_noexec« Bibliothek zum Ersetzen der »exec« Funktionen" + +#: plugins/sudoers/def_data.c:284 +msgid "If LDAP directory is up, do we ignore local sudoers file" +msgstr "Wenn das LDAP-Verzeichnis erreichbar ist, ignorieren wir die lokale sudoers-Datei" + +#: plugins/sudoers/def_data.c:288 +#, c-format +msgid "File descriptors >= %d will be closed before executing a command" +msgstr "Datei-Deskriptoren >= %d werden geschlossen, bevor ein Befehl ausgeführt wird" + +#: plugins/sudoers/def_data.c:292 +msgid "If set, users may override the value of \"closefrom\" with the -C option" +msgstr "Benutzer können den Wert für »closefrom« mit der der Option -C überschreiben, wenn diese Option gesetzt ist" + +#: plugins/sudoers/def_data.c:296 +msgid "Allow users to set arbitrary environment variables" +msgstr "Benutzern das Setzen beliebiger Umgebungsvariablen erlauben" + +#: plugins/sudoers/def_data.c:300 +msgid "Reset the environment to a default set of variables" +msgstr "Die Umgebung auf einen Standardsatz an Variablen zurücksetzen" + +# XXX gibt es da einen sinnvollen Begriff? +#: plugins/sudoers/def_data.c:304 +msgid "Environment variables to check for safety:" +msgstr "Folgende Umgebungsvariablen prüfen:" + +#: plugins/sudoers/def_data.c:308 +msgid "Environment variables to remove:" +msgstr "Folgende Umgebungsvariablen löschen:" + +#: plugins/sudoers/def_data.c:312 +msgid "Environment variables to preserve:" +msgstr "Folgende Umgebungsvariablen bewahren:" + +#: plugins/sudoers/def_data.c:316 +#, c-format +msgid "SELinux role to use in the new security context: %s" +msgstr "Im neuen Security-Kontext von SELinux wird diese Rolle verwendet: %s" + +#: plugins/sudoers/def_data.c:320 +#, c-format +msgid "SELinux type to use in the new security context: %s" +msgstr "Im neuen Security-Kontext von SELinux wird dieser Typ verwendet: %s" + +#: plugins/sudoers/def_data.c:324 +#, c-format +msgid "Path to the sudo-specific environment file: %s" +msgstr "Pfad zur sudo-spezifischen »environment«-Datei: %s" + +# XXX +#: plugins/sudoers/def_data.c:328 +#, c-format +msgid "Path to the restricted sudo-specific environment file: %s" +msgstr "Pfad zur eingeschränkten sudo »environment«-Datei: %s" + +#: plugins/sudoers/def_data.c:332 +#, c-format +msgid "Locale to use while parsing sudoers: %s" +msgstr "Beim Auswerten der sudoers-Datei wird diese Locale verwendet: %s" + +#: plugins/sudoers/def_data.c:336 +msgid "Allow sudo to prompt for a password even if it would be visible" +msgstr "sudo erlauben, nach einem Passwort zu fragen, auch wenn das Passwort sichtbar wird" + +#: plugins/sudoers/def_data.c:340 +msgid "Provide visual feedback at the password prompt when there is user input" +msgstr "Sichtbare Rückmeldung bei der Passworteingabeaufforderung, wenn der Benutzer etwas eingibt" + +#: plugins/sudoers/def_data.c:344 +msgid "Use faster globbing that is less accurate but does not access the filesystem" +msgstr "Schnelleren Musterabgleich verwenden, der zwar ungenauer ist, aber nicht auf das Dateisystem zugreift" + +#: plugins/sudoers/def_data.c:348 +msgid "The umask specified in sudoers will override the user's, even if it is more permissive" +msgstr "Die umask in sudoers überschreibt die umask des Benutzers, selbst wenn diese mehr Berechtigungen zulässt" + +#: plugins/sudoers/def_data.c:352 +msgid "Log user's input for the command being run" +msgstr "Benutzereingaben für den ausgeführten Befehl protokollieren" + +#: plugins/sudoers/def_data.c:356 +msgid "Log the command's standard input if not connected to a terminal" +msgstr "Standardeingabe des Kommandos protokollieren, wenn kein Terminal angebunden ist" + +#: plugins/sudoers/def_data.c:360 +msgid "Log the user's terminal input for the command being run" +msgstr "Benutzereingaben am Terminal für den ausgeführten Befehl protokollieren" + +#: plugins/sudoers/def_data.c:364 +msgid "Log the output of the command being run" +msgstr "Die Ausgabe des ausgeführten Befehls protokollieren" + +#: plugins/sudoers/def_data.c:368 +msgid "Log the command's standard output if not connected to a terminal" +msgstr "Standardausgabe des Kommandos protokollieren, wenn kein Terminal angebunden ist" + +#: plugins/sudoers/def_data.c:372 +msgid "Log the command's standard error if not connected to a terminal" +msgstr "Standarderror des Kommandos protokollieren, wenn kein Terminal angebunden ist<" + +#: plugins/sudoers/def_data.c:376 +msgid "Log the terminal output of the command being run" +msgstr "Die Terminalausgabe des ausgeführten Befehls protokollieren" + +#: plugins/sudoers/def_data.c:380 +msgid "Compress I/O logs using zlib" +msgstr "Ein-/Ausgabe-Protokolle mittels zlib protokollieren" + +#: plugins/sudoers/def_data.c:384 +msgid "Always run commands in a pseudo-tty" +msgstr "Befehle immer in einem Pseudo-TTY ausführen" + +#: plugins/sudoers/def_data.c:388 +#, c-format +msgid "Plugin for non-Unix group support: %s" +msgstr "Plugin für Unterstützung von Nicht-Unix-Gruppen: %s" + +#: plugins/sudoers/def_data.c:392 +#, c-format +msgid "Directory in which to store input/output logs: %s" +msgstr "Verzeichnis zur Speicherung der Ein-/Ausgabe-Protokolle: %s" + +#: plugins/sudoers/def_data.c:396 +#, c-format +msgid "File in which to store the input/output log: %s" +msgstr "Datei zur Speicherung der Ein-/Ausgabe-Protokolle: %s" + +#: plugins/sudoers/def_data.c:400 +msgid "Add an entry to the utmp/utmpx file when allocating a pty" +msgstr "Einen Eintrag in die utmp/utmpx-Datei einfügen, wenn ein Pseudo-TTY erzeugt wird" + +#: plugins/sudoers/def_data.c:404 +msgid "Set the user in utmp to the runas user, not the invoking user" +msgstr "Für den Eintrag in der utmp-Datei den runas-Benutzer verwenden, nicht den aufrufenden Benutzer" + +#: plugins/sudoers/def_data.c:408 +#, c-format +msgid "Set of permitted privileges: %s" +msgstr "Menge der erlaubten Privilegien: %s" + +# XXX einschränkenden? +#: plugins/sudoers/def_data.c:412 +#, c-format +msgid "Set of limit privileges: %s" +msgstr "Menge der eingeschränkten Privilegien: %s" + +#: plugins/sudoers/def_data.c:416 +msgid "Run commands on a pty in the background" +msgstr "Befehle mit einem Pseudo-TTY im Hintergrund starten" + +#: plugins/sudoers/def_data.c:420 +#, c-format +msgid "PAM service name to use: %s" +msgstr "Verwendeter PAM-Service-Name: %s" + +#: plugins/sudoers/def_data.c:424 +#, c-format +msgid "PAM service name to use for login shells: %s" +msgstr "PAM-Service-Name für Anmelde-Shells: %s" + +#: plugins/sudoers/def_data.c:428 +#, c-format +msgid "PAM service name to use when sudo is run with the -A option: %s" +msgstr "PAM-Service-Name für sudo-Aufruf mit der Option »-A«: %s" + +#: plugins/sudoers/def_data.c:432 +msgid "Attempt to establish PAM credentials for the target user" +msgstr "Versuchen, die PAM-Anmeldedaten für den Ziel-Benutzer zu bekommen" + +#: plugins/sudoers/def_data.c:436 +msgid "Create a new PAM session for the command to run in" +msgstr "Eine neue PAM-Sitzung erzeugen, um den Befehl auszuführen" + +#: plugins/sudoers/def_data.c:440 +msgid "Perform PAM account validation management" +msgstr "Ausführen vom PAM-Account-Management" + +#: plugins/sudoers/def_data.c:444 +#, c-format +msgid "Maximum I/O log sequence number: %s" +msgstr "Maximale Sequenznummer des Ein-/Ausgabe-Protokolls: %s" + +#: plugins/sudoers/def_data.c:448 +msgid "Enable sudoers netgroup support" +msgstr "Unterstützung für netgroups in sudoers aktivieren" + +#: plugins/sudoers/def_data.c:452 +msgid "Check parent directories for writability when editing files with sudoedit" +msgstr "Prüfe die übergeordneten Verzeichnisse auf Schreibbarkeit beim Editieren von Dateien mit »sudoedit«" + +#: plugins/sudoers/def_data.c:456 +msgid "Follow symbolic links when editing files with sudoedit" +msgstr "Folge symbolischen Links beim Editieren von Dateien mit sudoedit" + +#: plugins/sudoers/def_data.c:460 +msgid "Query the group plugin for unknown system groups" +msgstr "Frage das Group-Plugin nach unbekannten System-Gruppen" + +#: plugins/sudoers/def_data.c:464 +msgid "Match netgroups based on the entire tuple: user, host and domain" +msgstr "Prüfe die Netgroup-Zuordnung aufgrund des gesamten Tupels: Benutzer, Host und Domain" + +#: plugins/sudoers/def_data.c:468 +msgid "Allow commands to be run even if sudo cannot write to the audit log" +msgstr "Erlaubt das Ausführen von Kommandos, auch wenn kein Audit-Log geschrieben werden kann" + +#: plugins/sudoers/def_data.c:472 +msgid "Allow commands to be run even if sudo cannot write to the I/O log" +msgstr "Erlaubt das Ausführen von Kommandos, auch wenn kein I/O-Log geschrieben werden kann" + +#: plugins/sudoers/def_data.c:476 +msgid "Allow commands to be run even if sudo cannot write to the log file" +msgstr "Erlaubt das Ausführen von Kommandos, auch wenn kein Log geschrieben werden kann" + +#: plugins/sudoers/def_data.c:480 +msgid "Resolve groups in sudoers and match on the group ID, not the name" +msgstr "Beim Auflösen von Gruppen in der sudoers nach der Guppen-ID suchen, nicht nach dem Gruppenname" + +#: plugins/sudoers/def_data.c:484 +#, c-format +msgid "Log entries larger than this value will be split into multiple syslog messages: %u" +msgstr "Log-Einträge größer als dieser Wert werden auf mehrere Syslog Einträge verteilt: %u" + +#: plugins/sudoers/def_data.c:488 +#, c-format +msgid "User that will own the I/O log files: %s" +msgstr "Eigentümer der I/O Logdateien: %s" + +#: plugins/sudoers/def_data.c:492 +#, c-format +msgid "Group that will own the I/O log files: %s" +msgstr "Gruppe der I/O Logdateien: %s" + +#: plugins/sudoers/def_data.c:496 +#, c-format +msgid "File mode to use for the I/O log files: 0%o" +msgstr "Dateimode der I/O Logdatei: 0%o" + +#: plugins/sudoers/def_data.c:500 +#, c-format +msgid "Execute commands by file descriptor instead of by path: %s" +msgstr "Führe Kommandos mit Hilfe eines Dateideskriptors anstelle des Pfades aus: %s" + +#: plugins/sudoers/def_data.c:504 +msgid "Ignore unknown Defaults entries in sudoers instead of producing a warning" +msgstr "Ignoriere unbekannte Default-Einträge in der Datei »sudoers« anstatt eine Warnung auszugeben" + +#: plugins/sudoers/def_data.c:508 +#, c-format +msgid "Time in seconds after which the command will be terminated: %u" +msgstr "Laufzeit in Sekunde, nach der das Kommando abgebrochen wird: %u" + +#: plugins/sudoers/def_data.c:512 +msgid "Allow the user to specify a timeout on the command line" +msgstr "Erlaube dem Benutzer per Kommandozeile einen Timeout anzugeben" + +#: plugins/sudoers/def_data.c:516 +msgid "Flush I/O log data to disk immediately instead of buffering it" +msgstr "Schreibe Log-Daten direkt ohne zu puffern" + +#: plugins/sudoers/def_data.c:520 +msgid "Include the process ID when logging via syslog" +msgstr "Protokolliere auch die Prozess-ID beim Schreiben ins Systemlog" + +#: plugins/sudoers/def_data.c:524 +#, c-format +msgid "Type of authentication timestamp record: %s" +msgstr "Typ des Authentifizierungszeitstempelprotokolls: %s" + +#: plugins/sudoers/def_data.c:528 +#, c-format +msgid "Authentication failure message: %s" +msgstr "Fehler bei der Authentifizierung: %s" + +#: plugins/sudoers/def_data.c:532 +msgid "Ignore case when matching user names" +msgstr "Ignoriere Groß-/Kleinschreibung beim Matchen von Benutzernamen" + +#: plugins/sudoers/def_data.c:536 +msgid "Ignore case when matching group names" +msgstr "Ignoriere Groß-/Kleinschreibung beim Matchen von Gruppennamen" + +#: plugins/sudoers/def_data.c:540 +msgid "Log when a command is allowed by sudoers" +msgstr "Protokolliere von sudo erlaubte Kommandos" + +#: plugins/sudoers/def_data.c:544 +msgid "Log when a command is denied by sudoers" +msgstr "Protokolliere von sudo verweigerte Kommandos" + +#: plugins/sudoers/def_data.c:548 +msgid "Sudo log server(s) to connect to with optional port" +msgstr "Sudo Log Server mit optionalem Port für die Verbindung" + +#: plugins/sudoers/def_data.c:552 +#, c-format +msgid "Sudo log server timeout in seconds: %u" +msgstr "Sudo Log-Server Timeout in Secunden: %u" + +#: plugins/sudoers/def_data.c:556 +msgid "Enable SO_KEEPALIVE socket option on the socket connected to the logserver" +msgstr "Verwende die SO_KEEPALIVE Socket Option für die Verbindung zum Logserver" + +#: plugins/sudoers/def_data.c:560 +#, c-format +msgid "Path to the audit server's CA bundle file: %s" +msgstr "Pfad zur Zertifikats-Bündel-Datei des Audit Servers: %s" + +#: plugins/sudoers/def_data.c:564 +#, c-format +msgid "Path to the sudoers certificate file: %s" +msgstr "Pfad zur sudoers Zertifikats-Datei: %s" + +#: plugins/sudoers/def_data.c:568 +#, c-format +msgid "Path to the sudoers private key file: %s" +msgstr "Pfad zur sudoers Datei mit dem privaten Schlüssel: %s" + +#: plugins/sudoers/def_data.c:572 +msgid "Verify that the log server's certificate is valid" +msgstr "Prüfe das Log-Server-Zertifikat auf Gültigkeit" + +#: plugins/sudoers/def_data.c:576 +msgid "Allow the use of unknown runas user and/or group ID" +msgstr "Erlaube die Verwendung eines unbekannten »runas« Benutzers oder Gruppen-ID" + +#: plugins/sudoers/def_data.c:580 +msgid "Only permit running commands as a user with a valid shell" +msgstr "Nur die Ausführung von Kommandos erlauben für Benutzer mit einer gültigen Shell" + +#: plugins/sudoers/def_data.c:584 +msgid "Set the pam remote user to the user running sudo" +msgstr "Setze den PAM remote Benutzer auf den Benutzer, der sudo ausführt" + +#: plugins/sudoers/def_data.c:588 +msgid "Set the pam remote host to the local host name" +msgstr "Setze den PAM remote Rechner auf den lokalen Hostname" + +#: plugins/sudoers/def_data.c:592 +#, c-format +msgid "Working directory to change to before executing the command: %s" +msgstr "Arbeitsverzeichnis um vor Ausführung des Kommandos dorthin zu wechseln: %s" + +#: plugins/sudoers/def_data.c:596 +#, c-format +msgid "Root directory to change to before executing the command: %s" +msgstr "Root-Verzeichnis zur Verwendung, bevor ein Befehl ausgeführt wird: %s" + +#: plugins/sudoers/def_data.c:600 +#, c-format +msgid "The format of logs to produce: %s" +msgstr "Das Format der zu schreibenden Logs: %s" + +#: plugins/sudoers/def_data.c:604 +msgid "Enable SELinux RBAC support" +msgstr "Schalte SELinux RBAC Support ein" + +#: plugins/sudoers/def_data.c:608 +#, c-format +msgid "Path to the file that is created the first time sudo is run: %s" +msgstr "Pfad zur Datei die beim ersten sudo-Lauf erzeugt wird: %s" + +#: plugins/sudoers/def_data.c:612 +msgid "Intercept further commands and apply sudoers restrictions to them" +msgstr "Weitere Kommando abfangen und sudoers Restriktionen auf sie anwenden" + +#: plugins/sudoers/def_data.c:616 +msgid "Log sub-commands run by the original command" +msgstr "Protokolliere von diesem Kommando gestartete Kind-Prozesse" + +#: plugins/sudoers/def_data.c:620 +msgid "Log the exit status of commands" +msgstr "Den Exitcode des ausgeführten Befehls protokollieren" + +# XXX Check! +#: plugins/sudoers/def_data.c:624 +msgid "Subsequent commands in an intercepted session must be authenticated" +msgstr "Folgende Kommando in einer nachverfolgten Sitzung müssen authentifiziert werden" + +#: plugins/sudoers/def_data.c:628 +msgid "Allow an intercepted command to run set setuid or setgid programs" +msgstr "Erlaube einem abgefangenen Kommando die Ausführung von setuid oder setgid Programmen" + +#: plugins/sudoers/def_data.c:632 +#, c-format +msgid "The maximum size to which the process's address space may grow (in bytes): %s" +msgstr "Die maximale Größe zu der der Adressbereich des Prozesse wachsen kann (in Bytes): %s" + +#: plugins/sudoers/def_data.c:636 +#, c-format +msgid "The largest size core dump file that may be created (in bytes): %s" +msgstr "Die maximale Größe eines erzeugten Core Dumps (in Bytes): %s" + +#: plugins/sudoers/def_data.c:640 +#, c-format +msgid "The maximum amount of CPU time that the process may use (in seconds): %s" +msgstr "Die maximale CPU Zeit die vom Prozess genutzt werden kann (in Sekunden): %s" + +#: plugins/sudoers/def_data.c:644 +#, c-format +msgid "The maximum size of the data segment for the process (in bytes): %s" +msgstr "Die maximale Größe des Data Segments für den Prozess (in Bytes): %s" + +#: plugins/sudoers/def_data.c:648 +#, c-format +msgid "The largest size file that the process may create (in bytes): %s" +msgstr "Die maximale Dateigröße für den Prozess (in Bytes): %s" + +#: plugins/sudoers/def_data.c:652 +#, c-format +msgid "The maximum number of locks that the process may establish: %s" +msgstr "Die maximale Anzahl von Sperren des Prozesses: %s" + +#: plugins/sudoers/def_data.c:656 +#, c-format +msgid "The maximum size that the process may lock in memory (in bytes): %s" +msgstr "Die maximale gesperrte Speichergröße des Prozesses (in Bytes): %s" + +#: plugins/sudoers/def_data.c:660 +#, c-format +msgid "The maximum number of files that the process may have open: %s" +msgstr "Die maximale Anzahl offener Dateien des Prozesses: %s" + +#: plugins/sudoers/def_data.c:664 +#, c-format +msgid "The maximum number of processes that the user may run simultaneously: %s" +msgstr "Die maximale Anzahl von gleichzeitige laufenden Prozessen des Benutzers: %s" + +#: plugins/sudoers/def_data.c:668 +#, c-format +msgid "The maximum size to which the process's resident set size may grow (in bytes): %s" +msgstr "Die maximle Größe des residenten Speichers vom Prozess (in Bytes): %s" + +#: plugins/sudoers/def_data.c:672 +#, c-format +msgid "The maximum size to which the process's stack may grow (in bytes): %s" +msgstr "Die maximale Größe des Prozess-Stacks (in Bytes): %s" + +#: plugins/sudoers/def_data.c:676 +msgid "Attempt authentication even when in non-interactive mode" +msgstr "Authentifzierung auch im nicht-interaktiven Modus versuchen" + +#: plugins/sudoers/def_data.c:680 +msgid "Store plaintext passwords in I/O log input" +msgstr "Klartext-Passwörter im Ein-Ausgabe-Log als Eingabe protokollieren" + +#: plugins/sudoers/def_data.c:684 +msgid "List of regular expressions to use when matching a password prompt" +msgstr "Liste von regulären Ausdrücken zum Matchen des Passwort-Prompts" + +#: plugins/sudoers/def_data.c:688 +#, c-format +msgid "The mechanism used by the intercept and log_subcmds options: %s" +msgstr "Der Mechanismus für »intercept« und »log_subcmds« Optionen: %s" + +#: plugins/sudoers/def_data.c:692 +msgid "Attempt to verify the command and arguments after execution" +msgstr "Versuche das Kommando und die Argumente nach der Ausführung zu verifizieren" + +#: plugins/sudoers/def_data.c:696 +#, c-format +msgid "AppArmor profile to use in the new security context: %s" +msgstr "Im neuen Security-Kontext von AppArmor wird diese Rolle verwendet: %s" + +#: plugins/sudoers/defaults.c:191 +#, c-format +msgid "unknown defaults entry \"%s\"" +msgstr "unbekannter defaults-Eintrag »%s«" + +#: plugins/sudoers/defaults.c:234 +#, c-format +msgid "no value specified for \"%s\"" +msgstr "Kein Wert für »%s« angegeben" + +#: plugins/sudoers/defaults.c:243 +#, c-format +msgid "invalid operator \"%c=\" for \"%s\"" +msgstr "Ungültiger Operator »%c=« für Option »%s«" + +#: plugins/sudoers/defaults.c:275 +#, c-format +msgid "option \"%s\" does not take a value" +msgstr "Die Option »%s« wird ohne Wert verwendet" + +#: plugins/sudoers/defaults.c:299 +#, c-format +msgid "invalid Defaults type 0x%x for option \"%s\"" +msgstr "Ungültiger »Defaults« Typ 0x%x für Option »%s«" + +#: plugins/sudoers/defaults.c:306 +#, c-format +msgid "value \"%s\" is invalid for option \"%s\"" +msgstr "Der Wert »%s« ist für die Option »%s« ungültig" + +#: plugins/sudoers/defaults.c:1128 plugins/sudoers/policy.c:210 +#: plugins/sudoers/policy.c:219 +#, c-format +msgid "path name for \"%s\" too long" +msgstr "Pfadname für »%s« ist zu lang" + +#: plugins/sudoers/defaults.c:1134 +#, c-format +msgid "values for \"%s\" must start with a '/', '~', or '*'" +msgstr "Werte für »%s« müssen mit »/«, »~« oder »*« beginnen" + +#: plugins/sudoers/defaults.c:1141 +#, c-format +msgid "values for \"%s\" must start with a '/'" +msgstr "Werte für »%s« müssen mit einem »/« beginnen" + +#: plugins/sudoers/editor.c:180 +#, c-format +msgid "ignoring editor: %.*s" +msgstr "Ignoriere Editor: %.*s" + +#: plugins/sudoers/editor.c:181 +msgid "editor arguments may not contain \"--\"" +msgstr "Editor Argumente dürfen »--« nicht enthalten" + +#: plugins/sudoers/env.c:426 +msgid "sudo_putenv: corrupted envp, length mismatch" +msgstr "sudo_putenv: envp ist beschädigt, die Längen passen nicht" + +#: plugins/sudoers/env.c:1113 +msgid "unable to rebuild the environment" +msgstr "Das Environment kann nicht neu erstellt werden" + +#: plugins/sudoers/env.c:1192 +#, c-format +msgid "sorry, you are not allowed to set the following environment variables: %s" +msgstr "Leider dürfen die folgenden Umgebungsvariablen nicht gesetzt werden: %s" + +#: plugins/sudoers/filedigest.c:49 +#, c-format +msgid "unsupported digest type %d for %s" +msgstr "Prüfsummentyp %d wird für %s nicht unterstützt" + +#: plugins/sudoers/filedigest.c:78 +#, c-format +msgid "%s: read error" +msgstr "%s: Fehler beim Lesen" + +#: plugins/sudoers/group_plugin.c:169 plugins/sudoers/sssd.c:576 +#, c-format +msgid "unable to load %s: %s" +msgstr "Laden von %s fehlgeschlagen: %s" + +#: plugins/sudoers/group_plugin.c:181 +#, c-format +msgid "unable to find symbol \"group_plugin\" in %s" +msgstr "Das Symbol »group_plugin« kann in %s nicht gefunden werden" + +#: plugins/sudoers/group_plugin.c:186 +#, c-format +msgid "%s: incompatible group plugin major version %d, expected %d" +msgstr "%s: Die Major-Version %d des Group-Plugins ist inkompatibel, erwartet wird %d" + +#: plugins/sudoers/interfaces.c:76 plugins/sudoers/interfaces.c:93 +#, c-format +msgid "unable to parse IP address \"%s\"" +msgstr "»%s« ist keine gültige IP-Adresse" + +#: plugins/sudoers/interfaces.c:81 plugins/sudoers/interfaces.c:98 +#, c-format +msgid "unable to parse netmask \"%s\"" +msgstr "»%s« ist keine gültige Netzmaske" + +#: plugins/sudoers/interfaces.c:126 +msgid "Local IP address and netmask pairs:\n" +msgstr "Lokale IP-Adresse und Netzmaske:\n" + +#: plugins/sudoers/iolog.c:685 +msgid "unable to update sequence file" +msgstr "Kann die Sequenz-Datei nicht aktualisieren" + +#: plugins/sudoers/iolog.c:719 plugins/sudoers/iolog.c:907 +#: plugins/sudoers/iolog.c:1069 plugins/sudoers/iolog.c:1076 +#: plugins/sudoers/iolog.c:1197 plugins/sudoers/iolog.c:1204 +#: plugins/sudoers/iolog.c:1303 plugins/sudoers/iolog.c:1310 +#, c-format +msgid "unable to write to I/O log file: %s" +msgstr "In die I/O Logdatei kann nicht geschrieben werden: %s" + +#: plugins/sudoers/iolog.c:727 +#, c-format +msgid "unable to create %s/%s" +msgstr "Die Datei %s%s kann nicht erstellt werden" + +#: plugins/sudoers/iolog.c:955 +#, c-format +msgid "%s: internal error, I/O log file for event %d not open" +msgstr "%s: Interner Fehler, Logdatei für Event %d nicht geöffnet" + +#: plugins/sudoers/iolog.c:1054 plugins/sudoers/iolog.c:1182 +#: plugins/sudoers/iolog.c:1287 plugins/sudoers/timestamp.c:879 +#: plugins/sudoers/timestamp.c:971 plugins/sudoers/visudo.c:556 +#: plugins/sudoers/visudo.c:562 +msgid "unable to read the clock" +msgstr "Die Uhrzeit kann nicht ausgelesen werden" + +#: plugins/sudoers/iolog.c:1279 plugins/sudoers/log_client.c:1192 +#: plugins/sudoers/log_client.c:1202 plugins/sudoers/log_client.c:1206 +#, c-format +msgid "%s: internal error, invalid signal %d" +msgstr "%s: Interner Fehler, ungültiges Signal %d" + +#: plugins/sudoers/ldap.c:177 plugins/sudoers/ldap_conf.c:292 +msgid "starttls not supported when using ldaps" +msgstr "starttls wird für ldaps nicht unterstützt" + +#: plugins/sudoers/ldap.c:248 +#, c-format +msgid "unable to initialize SSL cert and key db: %s" +msgstr "Die Zertifikat- und Schlüsseldatenbank für SSL kann nicht initialisiert werden: %s" + +#: plugins/sudoers/ldap.c:251 +#, c-format +msgid "you must set TLS_CERT in %s to use SSL" +msgstr "In der Datei »%s« muss »TLS_CERT« angegeben sein, um SSL zu nutzen" + +#: plugins/sudoers/ldap.c:1714 +#, c-format +msgid "unable to initialize LDAP: %s" +msgstr "LDAP kann nicht initialisiert werden: %s" + +#: plugins/sudoers/ldap.c:1751 +msgid "start_tls specified but LDAP libs do not support ldap_start_tls_s() or ldap_start_tls_s_np()" +msgstr "start_tls ist angegeben, aber die LDAP-Bibliotheken unterstützen ldap_start_tls_s() und ldap_start_tls_s_np() nicht" + +#: plugins/sudoers/ldap.c:1888 plugins/sudoers/parse_ldif.c:748 +#, c-format +msgid "invalid sudoOrder attribute: %s" +msgstr "Ungültiges »sudoOrder« Attribut: %s" + +#: plugins/sudoers/ldap_conf.c:200 +#, c-format +msgid "%s: port too large" +msgstr "%s: Portnummer ist zu groß" + +#: plugins/sudoers/ldap_conf.c:261 +#, c-format +msgid "unsupported LDAP uri type: %s" +msgstr "LDAP-Adresstyp wird nicht unterstützt: %s" + +#: plugins/sudoers/ldap_conf.c:288 +msgid "unable to mix ldap and ldaps URIs" +msgstr "ldap- und ldaps-Adressen können nicht zusammen verwendet werden" + +#: plugins/sudoers/ldap_util.c:499 plugins/sudoers/ldap_util.c:506 +#: plugins/sudoers/ldap_util.c:514 plugins/sudoers/ldap_util.c:523 +#: plugins/sudoers/ldap_util.c:531 plugins/sudoers/ldap_util.c:541 +#: plugins/sudoers/ldap_util.c:549 +#, c-format +msgid "duplicate sudoOption: %s%s%s" +msgstr "doppelte sudoOption: %s%s%s" + +#: plugins/sudoers/ldap_util.c:568 plugins/sudoers/ldap_util.c:570 +#, c-format +msgid "unable to convert sudoOption: %s%s%s" +msgstr "sudoOption kann nicht konvertiert werden: %s%s%s" + +#: plugins/sudoers/linux_audit.c:58 plugins/sudoers/linux_audit.c:60 +msgid "unable to open audit system" +msgstr "Das Audit-System kann nicht geöffnet werden" + +#: plugins/sudoers/linux_audit.c:103 +msgid "unable to send audit message" +msgstr "Die Audit-Nachricht kann nicht gesendet werden" + +#: plugins/sudoers/log_client.c:125 plugins/sudoers/log_client.c:412 +#: plugins/sudoers/log_client.c:1439 plugins/sudoers/log_client.c:2055 +msgid "error in event loop" +msgstr "Fehler in der Event-Schleife" + +#: plugins/sudoers/log_client.c:205 +#, c-format +msgid "Creation of new SSL_CTX object failed: %s" +msgstr "Erzeugen eines neuen SSL_CTX Objektes fehlgeschlagen: %s" + +#: plugins/sudoers/log_client.c:230 +#, c-format +msgid "unable to load certificate authority bundle %s" +msgstr "Kann das CA-Bundle »%s« nicht laden" + +#: plugins/sudoers/log_client.c:252 +#, c-format +msgid "unable to load certificate %s" +msgstr "Laden von Zertifikat »%s« fehlgeschlagen" + +#: plugins/sudoers/log_client.c:266 +#, c-format +msgid "unable to load private key %s" +msgstr "Laden des privaten Schlüssels »%s« fehlgeschlagen" + +#: plugins/sudoers/log_client.c:275 +#, c-format +msgid "Unable to allocate ssl object: %s" +msgstr "Kann kein SSL-Objekt anlegen: %s" + +#: plugins/sudoers/log_client.c:364 plugins/sudoers/log_client.c:369 +#, c-format +msgid "TLS connection to %s:%s failed: %s" +msgstr "TLS Verbindung zu %s:%s fehlgeschlagen: %s" + +#: plugins/sudoers/log_client.c:543 +msgid "TLS initialization was unsuccessful" +msgstr "TLS Initialisierung war nicht erfolgreich" + +#: plugins/sudoers/log_client.c:553 +msgid "TLS handshake was unsuccessful" +msgstr "TLS Handshake war nicht erfolgreich" + +#: plugins/sudoers/log_client.c:1210 +#, c-format +msgid "%s: internal error, invalid exit status %d" +msgstr "%s: Interner Fehler, ungültiger Exit-Status %d" + +#: plugins/sudoers/log_client.c:1739 plugins/sudoers/log_client.c:1763 +msgid "lost connection to log server" +msgstr "Verbindung zum Logserver verloren" + +#: plugins/sudoers/log_client.c:1840 +msgid "missing write buffer" +msgstr "Schreib-Puffer fehlt" + +#: plugins/sudoers/log_client.c:1994 +msgid "unable to connect to log server" +msgstr "Verbindung zum Logserver kann nicht aufgebaut werden" + +#: plugins/sudoers/logging.c:290 +msgid "user NOT in sudoers" +msgstr "Der Benutzer ist NICHT in der sudoers-Datei enthalten" + +#: plugins/sudoers/logging.c:292 +msgid "user NOT authorized on host" +msgstr "Der Benutzer ist NICHT auf dem Rechner autorisiert" + +#: plugins/sudoers/logging.c:294 +msgid "command not allowed" +msgstr "Der Befehl ist nicht erlaubt" + +#: plugins/sudoers/logging.c:315 +#, c-format +msgid "%s is not in the sudoers file.\n" +msgstr "" +"»%s« ist nicht in der sudoers-Datei.\n" +"\n" + +#: plugins/sudoers/logging.c:318 +#, c-format +msgid "%s is not allowed to run sudo on %s.\n" +msgstr "»%s« darf sudo auf dem Rechner »%s« nicht ausführen.\n" + +#: plugins/sudoers/logging.c:321 +#, c-format +msgid "Sorry, user %s may not run sudo on %s.\n" +msgstr "Leider darf der Benutzer %s sudo für %s nicht verwenden.\n" + +#: plugins/sudoers/logging.c:324 +#, c-format +msgid "Sorry, user %s is not allowed to execute '%s%s%s' as %s%s%s on %s.\n" +msgstr "Leider darf der Benutzer %s »%s%s%s« als %s%s%s auf %s nicht ausführen.\n" + +#: plugins/sudoers/logging.c:334 +msgid "This incident has been reported to the administrator.\n" +msgstr "Dieser Vorfall wurde an den Administrator gemeldet.\n" + +#: plugins/sudoers/logging.c:369 plugins/sudoers/sudoers.c:655 +#: plugins/sudoers/sudoers.c:657 plugins/sudoers/sudoers.c:659 +#: plugins/sudoers/sudoers.c:661 plugins/sudoers/sudoers.c:816 +#: plugins/sudoers/sudoers.c:818 +#, c-format +msgid "%s: command not found" +msgstr "%s: Befehl nicht gefunden" + +#: plugins/sudoers/logging.c:371 plugins/sudoers/sudoers.c:651 +#, c-format +msgid "" +"ignoring \"%s\" found in '.'\n" +"Use \"sudo ./%s\" if this is the \"%s\" you wish to run." +msgstr "" +"Im aktuellen Verzeichnis ».« gefundenes »%s« wird ignoriert.\n" +"Verwenden Sie »sudo ./%s«, wenn dies der gewünschte Befehl »%s« ist." + +#: plugins/sudoers/logging.c:391 +#, c-format +msgid "%u incorrect password attempt" +msgid_plural "%u incorrect password attempts" +msgstr[0] "%u Fehlversuch bei der Passwort-Eingabe" +msgstr[1] "%u Fehlversuche bei der Passwort-Eingabe" + +#: plugins/sudoers/logging.c:481 +msgid "authentication failure" +msgstr "Fehler bei der Authentifizierung" + +#: plugins/sudoers/logging.c:520 plugins/sudoers/logging.c:539 +msgid "a password is required" +msgstr "Ein Passwort ist notwendig" + +#: plugins/sudoers/logging.c:803 plugins/sudoers/logging.c:815 +msgid "problem parsing sudoers" +msgstr "Problem beim Auswerten der sudoers-Datei" + +#: plugins/sudoers/logging.c:877 plugins/sudoers/logging.c:889 +#, c-format +msgid "%s:%d:%d: %s" +msgstr "%s:%d:%d: %s" + +#: plugins/sudoers/logging.c:1066 +#, c-format +msgid "unable to write log file: %s" +msgstr "In die Logdatei kann nicht geschrieben werden: %s" + +#: plugins/sudoers/match_digest.c:112 +#, c-format +msgid "digest for %s (%s) bad length %zu, expected %zu" +msgstr "Prüfsumme für %s (%s) ungültige Länge %zu, %zu erwartet" + +#: plugins/sudoers/match_digest.c:131 +#, c-format +msgid "digest for %s (%s) is not in %s form" +msgstr "Prüfsumme für %s (%s) ist nicht in der Form %s" + +#: plugins/sudoers/parse.c:631 +#, c-format +msgid "" +"\n" +"LDAP Role: %s\n" +msgstr "" +"\n" +"LDAP-Rolle: %s\n" + +#: plugins/sudoers/parse.c:634 +msgid "" +"\n" +"Sudoers entry:\n" +msgstr "" +"\n" +"Sudoers-Eintrag:\n" + +#: plugins/sudoers/parse.c:636 +msgid " RunAsUsers: " +msgstr " RunAsUsers: " + +#: plugins/sudoers/parse.c:651 +msgid " RunAsGroups: " +msgstr " RunAsGroups: " + +#: plugins/sudoers/parse.c:661 +msgid " Options: " +msgstr " Optionen: " + +#: plugins/sudoers/parse.c:725 +msgid " Commands:\n" +msgstr " Befehle:\n" + +#: plugins/sudoers/parse.c:916 +#, c-format +msgid "Matching Defaults entries for %s on %s:\n" +msgstr "Passende Defaults-Einträge für %s auf %s:\n" + +#: plugins/sudoers/parse.c:934 +#, c-format +msgid "Runas and Command-specific defaults for %s:\n" +msgstr "Runas und befehlsspezifische Standardwerte für %s:\n" + +#: plugins/sudoers/parse.c:952 +#, c-format +msgid "User %s may run the following commands on %s:\n" +msgstr "Der Benutzer %s darf die folgenden Befehle auf %s ausführen:\n" + +#: plugins/sudoers/parse.c:967 +#, c-format +msgid "User %s is not allowed to run sudo on %s.\n" +msgstr "Der Benutzer %s darf sudo auf dem Rechner %s nicht ausführen.\n" + +#: plugins/sudoers/parse_ldif.c:618 +#, c-format +msgid "ignoring incomplete sudoRole: cn: %s" +msgstr "ignoriere die unvollständige sudoRole: cn: %s" + +#: plugins/sudoers/parse_ldif.c:678 +#, c-format +msgid "invalid LDIF attribute: %s" +msgstr "Ungültiges LDIF-Attribut: %s" + +#: plugins/sudoers/policy.c:82 plugins/sudoers/policy.c:113 +#, c-format +msgid "invalid %.*s set by sudo front-end" +msgstr "ungültige Option »%.*s« durch das sudo-Frontend angegeben" + +#: plugins/sudoers/policy.c:360 plugins/sudoers/testsudoers.c:268 +msgid "unable to parse network address list" +msgstr "Die Netzwerkadressliste kann nicht eingelesen werden" + +#: plugins/sudoers/policy.c:528 +msgid "user name not set by sudo front-end" +msgstr "Benutzername nicht durch das sudo-Frontend angegeben" + +#: plugins/sudoers/policy.c:532 +msgid "user-ID not set by sudo front-end" +msgstr "User-ID nicht durch das sudo-Frontend angegeben" + +#: plugins/sudoers/policy.c:536 +msgid "group-ID not set by sudo front-end" +msgstr "Gruppen-ID nicht durch das sudo-Frontend angegeben" + +#: plugins/sudoers/policy.c:540 +msgid "host name not set by sudo front-end" +msgstr "Hostname nicht durch das sudo-Frontend angegeben" + +#: plugins/sudoers/policy.c:737 +#, c-format +msgid "invalid working directory: %s" +msgstr "Ungültiges Arbeitsverzeichnis: %s" + +#: plugins/sudoers/policy.c:921 +#, c-format +msgid "invalid chroot directory: %s" +msgstr "Ungültiges »chroot« Verzeichnis: %s" + +#: plugins/sudoers/policy.c:1108 plugins/sudoers/visudo.c:259 +#: plugins/sudoers/visudo.c:906 +#, c-format +msgid "unable to execute %s" +msgstr "%s kann nicht ausgeführt werden" + +#: plugins/sudoers/policy.c:1178 plugins/sudoers/policy.c:1215 +#: plugins/sudoers/policy.c:1237 plugins/sudoers/policy.c:1263 +#, c-format +msgid "%s: invalid mode flags from sudo front end: 0x%x" +msgstr "%s: ungültige Mode-Flags vom sudo-Frontend: 0x%x" + +#: plugins/sudoers/policy.c:1299 +#, c-format +msgid "Sudoers policy plugin version %s\n" +msgstr "Sudoers-Policy-Plugin Version %s\n" + +#: plugins/sudoers/policy.c:1301 +#, c-format +msgid "Sudoers file grammar version %d\n" +msgstr "Sudoers-Datei-Grammatik-Version %d\n" + +#: plugins/sudoers/policy.c:1305 +#, c-format +msgid "" +"\n" +"Sudoers path: %s\n" +msgstr "" +"\n" +"Sudoers-Pfad: %s\n" + +#: plugins/sudoers/policy.c:1308 +#, c-format +msgid "nsswitch path: %s\n" +msgstr "nsswitch-Pfad: %s\n" + +#: plugins/sudoers/policy.c:1310 +#, c-format +msgid "ldap.conf path: %s\n" +msgstr "ldap.conf-Pfad: %s\n" + +#: plugins/sudoers/policy.c:1311 +#, c-format +msgid "ldap.secret path: %s\n" +msgstr "ldap.secret-Pfad: %s\n" + +#: plugins/sudoers/policy.c:1344 +#, c-format +msgid "unable to register hook of type %d (version %d.%d)" +msgstr "Der Hook vom Typ %d kann nicht registriert werden (Version %d.%d)" + +#: plugins/sudoers/policy.c:1362 +#, c-format +msgid "unable to deregister hook of type %d (version %d.%d)" +msgstr "Der Hook vom Typ %d kann nicht deregistriert werden (Version %d.%d)" + +#: plugins/sudoers/pwutil.c:222 plugins/sudoers/pwutil.c:240 +#, c-format +msgid "unable to cache uid %u" +msgstr "Die Benutzer-ID %u kann nicht zwischengespeichert werden" + +#: plugins/sudoers/pwutil.c:234 +#, c-format +msgid "unable to cache uid %u, already exists" +msgstr "Die Benutzer-ID %u kann nicht zwischengespeichert werden, sie existiert bereits" + +#: plugins/sudoers/pwutil.c:294 plugins/sudoers/pwutil.c:312 +#: plugins/sudoers/pwutil.c:375 plugins/sudoers/pwutil.c:420 +#, c-format +msgid "unable to cache user %s" +msgstr "Der Benutzer %s kann nicht zwischengespeichert werden" + +#: plugins/sudoers/pwutil.c:307 +#, c-format +msgid "unable to cache user %s, already exists" +msgstr "Der Benutzer %s kann nicht in den Zwischenspeicher aufgenommen werden, er existiert bereits" + +#: plugins/sudoers/pwutil.c:539 plugins/sudoers/pwutil.c:557 +#, c-format +msgid "unable to cache gid %u" +msgstr "Die Gruppen-ID %u kann nicht in den Zwischenspeicher aufgenommen werden" + +#: plugins/sudoers/pwutil.c:551 +#, c-format +msgid "unable to cache gid %u, already exists" +msgstr "Die Gruppen-ID %u kann nicht in den Zwischenspeicher aufgenommen werden, sie existiert bereits" + +#: plugins/sudoers/pwutil.c:605 plugins/sudoers/pwutil.c:623 +#: plugins/sudoers/pwutil.c:684 plugins/sudoers/pwutil.c:733 +#, c-format +msgid "unable to cache group %s" +msgstr "Die Gruppe %s kann nicht zwischengespeichert werden" + +#: plugins/sudoers/pwutil.c:618 +#, c-format +msgid "unable to cache group %s, already exists" +msgstr "Die Gruppe %s kann nicht in den Zwischenspeicher aufgenommen werden, sie existiert bereits" + +#: plugins/sudoers/pwutil.c:880 plugins/sudoers/pwutil.c:963 +#: plugins/sudoers/pwutil.c:1017 plugins/sudoers/pwutil.c:1071 +#, c-format +msgid "unable to cache group list for %s, already exists" +msgstr "Die Gruppen-Liste für %s kann nicht in den Zwischenspeicher aufgenommen werden, sie existiert bereits" + +#: plugins/sudoers/pwutil.c:886 plugins/sudoers/pwutil.c:968 +#: plugins/sudoers/pwutil.c:1023 plugins/sudoers/pwutil.c:1076 +#, c-format +msgid "unable to cache group list for %s" +msgstr "Die Gruppenliste für %s können nicht zwischengespeichert werden" + +#: plugins/sudoers/pwutil.c:957 +#, c-format +msgid "unable to parse groups for %s" +msgstr "Die Gruppen für %s können nicht eingelesen werden" + +#: plugins/sudoers/pwutil.c:1065 +#, c-format +msgid "unable to parse gids for %s" +msgstr "Die Gruppen für %s können nicht geparst werden" + +#: plugins/sudoers/set_perms.c:114 plugins/sudoers/set_perms.c:445 +#: plugins/sudoers/set_perms.c:852 plugins/sudoers/set_perms.c:1162 +#: plugins/sudoers/set_perms.c:1460 +msgid "perm stack overflow" +msgstr "Stack-Überlauf der Zugriffsrechte" + +#: plugins/sudoers/set_perms.c:125 plugins/sudoers/set_perms.c:376 +#: plugins/sudoers/set_perms.c:456 plugins/sudoers/set_perms.c:719 +#: plugins/sudoers/set_perms.c:863 plugins/sudoers/set_perms.c:1086 +#: plugins/sudoers/set_perms.c:1173 plugins/sudoers/set_perms.c:1393 +#: plugins/sudoers/set_perms.c:1471 plugins/sudoers/set_perms.c:1562 +msgid "perm stack underflow" +msgstr "Stack-Bereichsunterschreitung der Zugriffsrechte" + +#: plugins/sudoers/set_perms.c:185 plugins/sudoers/set_perms.c:503 +#: plugins/sudoers/set_perms.c:1227 plugins/sudoers/set_perms.c:1505 +msgid "unable to change to root gid" +msgstr "Wechsel zur root-GID ist nicht möglich" + +#: plugins/sudoers/set_perms.c:276 plugins/sudoers/set_perms.c:600 +#: plugins/sudoers/set_perms.c:995 plugins/sudoers/set_perms.c:1304 +msgid "unable to change to runas gid" +msgstr "Wechsel zur runas-UID ist nicht möglich" + +#: plugins/sudoers/set_perms.c:281 plugins/sudoers/set_perms.c:605 +#: plugins/sudoers/set_perms.c:1000 plugins/sudoers/set_perms.c:1309 +msgid "unable to set runas group vector" +msgstr "Die runas-Gruppen können nicht gesetzt werden" + +#: plugins/sudoers/set_perms.c:292 plugins/sudoers/set_perms.c:616 +#: plugins/sudoers/set_perms.c:1009 plugins/sudoers/set_perms.c:1318 +msgid "unable to change to runas uid" +msgstr "Wechsel zur runas-GID ist nicht möglich" + +#: plugins/sudoers/set_perms.c:310 plugins/sudoers/set_perms.c:634 +#: plugins/sudoers/set_perms.c:1025 plugins/sudoers/set_perms.c:1334 +msgid "unable to change to sudoers gid" +msgstr "Wechsel zur sudoers-GID ist nicht möglich" + +#: plugins/sudoers/set_perms.c:363 plugins/sudoers/set_perms.c:706 +#: plugins/sudoers/set_perms.c:1073 plugins/sudoers/set_perms.c:1380 +#: plugins/sudoers/set_perms.c:1549 +msgid "too many processes" +msgstr "Zu viele Prozesse" + +#: plugins/sudoers/solaris_audit.c:61 +msgid "unable to get current working directory" +msgstr "Das aktuelle Arbeitsverzeichnis kann nicht bestimmt werden" + +#: plugins/sudoers/solaris_audit.c:69 +#, c-format +msgid "truncated audit path user_cmnd: %s" +msgstr "Audit-Pfad user_cmnd abgeschnitten: %s" + +#: plugins/sudoers/solaris_audit.c:76 +#, c-format +msgid "truncated audit path argv[0]: %s" +msgstr "Audit-Pfad argv[0] abgeschnitten: %s" + +#: plugins/sudoers/sssd.c:579 +msgid "unable to initialize SSS source. Is SSSD installed on your machine?" +msgstr "Die SSS-Quelle kann nicht initialisiert werden. Ist SSSD auf dem Rechner installiert?" + +#: plugins/sudoers/sssd.c:587 plugins/sudoers/sssd.c:596 +#: plugins/sudoers/sssd.c:605 plugins/sudoers/sssd.c:614 +#: plugins/sudoers/sssd.c:623 +#, c-format +msgid "unable to find symbol \"%s\" in %s" +msgstr "Das Symbol »%s« kann in %s nicht gefunden werden" + +#: plugins/sudoers/sudoers.c:263 +#, c-format +msgid "unable to get defaults from %s" +msgstr "Kann die Defaults von »%s« nicht bekommen" + +#: plugins/sudoers/sudoers.c:270 +msgid "no valid sudoers sources found, quitting" +msgstr "Keine gültige sudoers-Quelle gefunden, Programmende" + +#: plugins/sudoers/sudoers.c:346 +#, c-format +msgid "user not allowed to change root directory to %s" +msgstr "Der Benutzer darf das root-Verzeichnis nicht auf »%s« ändern" + +#: plugins/sudoers/sudoers.c:348 +#, c-format +msgid "you are not permitted to use the -R option with %s" +msgstr "Sie dürfen die Option -R nicht mit dem Kommando »%s« verwenden" + +#: plugins/sudoers/sudoers.c:373 +#, c-format +msgid "user not allowed to change directory to %s" +msgstr "Der Benutzer darf das Verzeichnis nicht auf %s ändern" + +#: plugins/sudoers/sudoers.c:374 +#, c-format +msgid "you are not permitted to use the -D option with %s" +msgstr "Sie dürfen die Option -C nicht mit dem Kommando »%s« verwenden" + +#: plugins/sudoers/sudoers.c:401 +msgid "no command specified" +msgstr "Kein Kommando angegeben" + +#: plugins/sudoers/sudoers.c:426 +msgid "sudoers specifies that root is not allowed to sudo" +msgstr "sudoers gibt an, dass root sudo nicht verwenden darf" + +#: plugins/sudoers/sudoers.c:483 +msgid "user not allowed to override closefrom limit" +msgstr "Der Benutzer darf das »closefrom«-Limit nicht überschreiben" + +#: plugins/sudoers/sudoers.c:484 +msgid "you are not permitted to use the -C option" +msgstr "Sie dürfen die Option -C nicht verwenden" + +#: plugins/sudoers/sudoers.c:544 +#, c-format +msgid "timestamp owner (%s): No such user" +msgstr "Zeitstempelbesitzer (%s): Benutzer existiert nicht" + +#: plugins/sudoers/sudoers.c:559 +msgid "no tty" +msgstr "Kein tty" + +#: plugins/sudoers/sudoers.c:560 +msgid "sorry, you must have a tty to run sudo" +msgstr "Sie müssen ein TTY haben, um sudo zu verwenden" + +#: plugins/sudoers/sudoers.c:567 +#, c-format +msgid "invalid shell for user %s: %s" +msgstr "Ungültiger Shell für den Benutzer %s: %s" + +#: plugins/sudoers/sudoers.c:650 +msgid "command in current directory" +msgstr "Befehl ist im aktuellen Verzeichnis" + +#: plugins/sudoers/sudoers.c:665 +msgid "\"cd\" is a shell built-in command, it cannot be run directly." +msgstr "»cd\"« ist ein Shell-internes Kommando, das nicht direkt gestartet werden kann." + +#: plugins/sudoers/sudoers.c:667 +msgid "the -s option may be used to run a privileged shell." +msgstr "Die Option »-s« kann zum Start einer privilegierten Shell verwendet werden." + +#: plugins/sudoers/sudoers.c:669 +msgid "the -D option may be used to run a command in a specific directory." +msgstr "Die Option »-D« kann zum Start des Programms im angegebenen Verzeichnis verwendet werden." + +#: plugins/sudoers/sudoers.c:678 +msgid "user not allowed to set a command timeout" +msgstr "Der Benutzer darf keinen Kommand-Timeout angeben" + +#: plugins/sudoers/sudoers.c:680 +msgid "sorry, you are not allowed set a command timeout" +msgstr "Sie dürfen keinen Timeout angeben" + +#: plugins/sudoers/sudoers.c:688 +msgid "user not allowed to preserve the environment" +msgstr "Der Benutzer darf das Environment nicht erhalten" + +#: plugins/sudoers/sudoers.c:690 +msgid "sorry, you are not allowed to preserve the environment" +msgstr "Sie dürfen das Environment nicht erhalten" + +#: plugins/sudoers/sudoers.c:799 +msgid "error setting user-specified environment variables" +msgstr "Fehler beim Setzen benutzerspezidischer Umgebungsvariablen" + +#: plugins/sudoers/sudoers.c:1112 +msgid "sudoedit doesn't need to be run via sudo" +msgstr "»sudoedit« muss nicht mittels »sudo« aufgerufen werden" + +#: plugins/sudoers/sudoers.c:1157 plugins/sudoers/sudoreplay.c:1612 +#: plugins/sudoers/tsdump.c:138 +#, c-format +msgid "unable to read %s" +msgstr "Die Datei »%s« kann nicht gelesen werden" + +#: plugins/sudoers/sudoers.c:1186 plugins/sudoers/visudo.c:1066 +#, c-format +msgid "%s is not a regular file" +msgstr "%s ist keine reguläre Datei" + +#: plugins/sudoers/sudoers.c:1190 plugins/sudoers/timestamp.c:263 toke.l:1255 +#, c-format +msgid "%s is owned by uid %u, should be %u" +msgstr "%s gehört UID %u, sollte UID %u gehören" + +#: plugins/sudoers/sudoers.c:1194 plugins/sudoers/timestamp.c:270 toke.l:1260 +#, c-format +msgid "%s is world writable" +msgstr "%s ist für alle beschreibbar (world writable)" + +#: plugins/sudoers/sudoers.c:1198 plugins/sudoers/timestamp.c:275 toke.l:1263 +#, c-format +msgid "%s is owned by gid %u, should be %u" +msgstr "%s gehört GID %u, sollte allerdings %u gehören" + +#: plugins/sudoers/sudoers.c:1233 +#, c-format +msgid "only root can use \"-c %s\"" +msgstr "Nur root kann »-c %s« verwenden" + +#: plugins/sudoers/sudoers.c:1252 +#, c-format +msgid "unknown login class %s" +msgstr "Unbekannte Anmeldeklasse »%s«" + +#: plugins/sudoers/sudoers.c:1339 plugins/sudoers/sudoers.c:1354 +#, c-format +msgid "unable to resolve host %s" +msgstr "Hostname %s kann nicht aufgelöst werden" + +#: plugins/sudoers/sudoreplay.c:252 +#, c-format +msgid "invalid filter option: %s" +msgstr "Ungültige Filteroption: %s" + +#: plugins/sudoers/sudoreplay.c:268 +#, c-format +msgid "invalid max wait: %s" +msgstr "Ungültige maximale Wartezeit: %s" + +#: plugins/sudoers/sudoreplay.c:291 +#, c-format +msgid "invalid speed factor: %s" +msgstr "Ungültiger Geschwindigkeitsfaktor: %s" + +#: plugins/sudoers/sudoreplay.c:326 +#, c-format +msgid "invalid time offset %s" +msgstr "ungültiger Zeitversatz »%s«" + +#: plugins/sudoers/sudoreplay.c:335 +#, c-format +msgid "%s/%.2s/%.2s/%.2s: %s" +msgstr "%s/%.2s/%.2s/%.2s: %s" + +#: plugins/sudoers/sudoreplay.c:340 +#, c-format +msgid "%s/timing: %s" +msgstr "%s/Zeit: %s" + +#: plugins/sudoers/sudoreplay.c:368 +#, c-format +msgid "Replaying sudo session: %s" +msgstr "Sudo-Sitzung wird abgespielt: %s" + +#: plugins/sudoers/sudoreplay.c:634 +msgid "unable to set tty to raw mode" +msgstr "TTY konnte nicht in den Raw-Modus versetzt werden" + +#: plugins/sudoers/sudoreplay.c:685 +msgid "Warning: your terminal is too small to properly replay the log.\n" +msgstr "" +"Warnung: Ihr Terminal ist zu klein, um das Protokoll korrekt\n" +"wiederzugeben.\n" + +#: plugins/sudoers/sudoreplay.c:686 +#, c-format +msgid "Log geometry is %d x %d, your terminal's geometry is %d x %d." +msgstr "Protokollgeometrie ist %d x %d, die Geometrie Ihres Terminals ist %d x %d." + +#: plugins/sudoers/sudoreplay.c:714 +msgid "Replay finished, press any key to restore the terminal." +msgstr "Wiedergabe beendet, eine Taste drücken um das Terminal wiederherzustellen." + +#: plugins/sudoers/sudoreplay.c:1216 plugins/sudoers/sudoreplay.c:1246 +#, c-format +msgid "ambiguous expression \"%s\"" +msgstr "Mehrdeutiger Ausdruck »%s«" + +#: plugins/sudoers/sudoreplay.c:1268 +msgid "unmatched ')' in expression" +msgstr "»)« ohne öffnende Klammer im Ausdruck" + +#: plugins/sudoers/sudoreplay.c:1272 +#, c-format +msgid "unknown search term \"%s\"" +msgstr "Unbekannter Suchbegriff »%s«" + +#: plugins/sudoers/sudoreplay.c:1287 +#, c-format +msgid "%s requires an argument" +msgstr "%s erfordert ein Argument" + +#: plugins/sudoers/sudoreplay.c:1297 +#, c-format +msgid "could not parse date \"%s\"" +msgstr "Datum »%s« konnte nicht analysiert werden" + +#: plugins/sudoers/sudoreplay.c:1306 +msgid "unmatched '(' in expression" +msgstr "»(« ohne schließende Klammer im Ausdruck" + +#: plugins/sudoers/sudoreplay.c:1308 +msgid "illegal trailing \"or\"" +msgstr "Ungültiges nachgestelltes »or«" + +#: plugins/sudoers/sudoreplay.c:1310 +msgid "illegal trailing \"!\"" +msgstr "Ungültiges nachgestelltes »!«" + +#: plugins/sudoers/sudoreplay.c:1416 +#, c-format +msgid "unknown search type %d" +msgstr "Unbekannter Suchtyp %d" + +#: plugins/sudoers/sudoreplay.c:1678 +#, c-format +msgid "usage: %s [-hnRS] [-d dir] [-m num] [-s num] ID\n" +msgstr "Aufruf: %s [-hnRS] [-d Verzeichnis] [-m Max_Wartezeit] [-s Geschwindigkeitsfaktor] ID\n" + +#: plugins/sudoers/sudoreplay.c:1680 +#, c-format +msgid "usage: %s [-h] [-d dir] -l [search expression]\n" +msgstr "Aufruf: %s [-h] [-d Verzeichnis] -l [Suchausdruck]\n" + +#: plugins/sudoers/sudoreplay.c:1694 +#, c-format +msgid "" +"%s - replay sudo session logs\n" +"\n" +msgstr "" +"%s – sudo-Sitzungsprotokolle abspielen\n" +"\n" + +#: plugins/sudoers/sudoreplay.c:1696 +msgid "" +"\n" +"Options:\n" +" -d, --directory=dir specify directory for session logs\n" +" -f, --filter=filter specify which I/O type(s) to display\n" +" -h, --help display help message and exit\n" +" -l, --list list available session IDs, with optional expression\n" +" -m, --max-wait=num max number of seconds to wait between events\n" +" -n, --non-interactive no prompts, session is sent to the standard output\n" +" -R, --no-resize do not attempt to re-size the terminal\n" +" -S, --suspend-wait wait while the command was suspended\n" +" -s, --speed=num speed up or slow down output\n" +" -V, --version display version information and exit" +msgstr "" +"\n" +"Optionen:\n" +" -d, --directory=Verzeichnis gibt ein Verzeichnis für Sitzungsprotokolle an\n" +" -f, --filter=Filter gibt an, welcher E/A-Typ angezeigt werden soll\n" +" -h, --help zeigt einen Hilfetext an und beendet\n" +" das Programm\n" +" -l, --list zeigt verfügbare Sitzungs-IDs an, die mit dem\n" +" Ausdruck übereinstimmen\n" +" -m, --max-wait=Zahl gibt die maximale Wartezeit zwischen Ereignissen\n" +" in Sekunden an\n" +" -n, --non-interactive keine Prompts, Sitzung wird auf die Standard-\n" +" Ausgabe gesendet\n" +" -R, --no-resize Terminal-Größe wird nicht verändert\n" +" -S, --suspend-wait wait while the command was suspended\n" +" -s, --speed=Zahl beschleunigt oder verlangsamt die Wiedergabe\n" +" -V, --version zeigt Versionsinformationen an und beendet\n" +" das Programm" + +#: plugins/sudoers/testsudoers.c:344 +msgid "\thost unmatched" +msgstr "\tHost stimmt nicht überein" + +#: plugins/sudoers/testsudoers.c:347 +msgid "" +"\n" +"Command allowed" +msgstr "" +"\n" +"Befehl erlaubt" + +#: plugins/sudoers/testsudoers.c:348 +msgid "" +"\n" +"Command denied" +msgstr "" +"\n" +"Befehl verweigert" + +#: plugins/sudoers/testsudoers.c:348 +msgid "" +"\n" +"Command unmatched" +msgstr "" +"\n" +"Befehl nicht erkannt" + +#: plugins/sudoers/timestamp.c:354 plugins/sudoers/timestamp.c:693 +#, c-format +msgid "unable to truncate time stamp file to %lld bytes" +msgstr "Die Zeitstempeldatei kann nicht auf %lld Bytes abgeschnitten werden" + +#: plugins/sudoers/timestamp.c:890 +msgid "ignoring time stamp from the future" +msgstr "Zeitstempel aus der Zukunft wird ignoriert" + +#: plugins/sudoers/timestamp.c:913 +#, c-format +msgid "time stamp too far in the future: %20.20s" +msgstr "Zeitstempel ist zu weit in der Zukunft: %20.20s" + +#: plugins/sudoers/timestamp.c:1042 +#, c-format +msgid "unable to lock time stamp file %s" +msgstr "Die Zeitstempeldatei »%s« kann nicht gesperrt werden" + +#: plugins/sudoers/toke_util.c:156 +msgid "sudoedit should not be specified with a path" +msgstr "»sudoedit« sollte nicht mit einem Pfad angegeben werden" + +#: plugins/sudoers/visudo.c:254 +msgid "the -x option will be removed in a future release" +msgstr "Die Option »-x» wird in einer zukünftigen Version entfernt" + +#: plugins/sudoers/visudo.c:256 +msgid "please consider using the cvtsudoers utility instead" +msgstr "Bitte verwenden Sie stattdessen das Programm »cvtsudoers«" + +#: plugins/sudoers/visudo.c:311 plugins/sudoers/visudo.c:702 +#, c-format +msgid "press return to edit %s: " +msgstr "Drücken Sie die Eingabetaste, um %s zu bearbeiten: " + +#: plugins/sudoers/visudo.c:326 +#, c-format +msgid "contents of edit session left in %s" +msgstr "Inhalt der Editor-Sitzung bleibt in »%s« erhalten" + +#: plugins/sudoers/visudo.c:403 +#, c-format +msgid "specified editor (%s) doesn't exist" +msgstr "Der angegebene Editor (%s) ist nicht vorhanden" + +#: plugins/sudoers/visudo.c:408 +#, c-format +msgid "no editor found (editor path = %s)" +msgstr "Kein Editor gefunden (Pfad zum Editor = %s)" + +#: plugins/sudoers/visudo.c:495 plugins/sudoers/visudo.c:774 +#, c-format +msgid "unable to stat %s" +msgstr "stat konnte nicht auf %s angewendet werden" + +#: plugins/sudoers/visudo.c:515 plugins/sudoers/visudo.c:523 +msgid "write error" +msgstr "Schreibfehler" + +#: plugins/sudoers/visudo.c:569 +#, c-format +msgid "unable to stat temporary file (%s), %s unchanged" +msgstr "Anwenden von stat auf die temporäre Datei (%s) gescheitert, %s ist unverändert" + +#: plugins/sudoers/visudo.c:576 +#, c-format +msgid "zero length temporary file (%s), %s unchanged" +msgstr "Leere temporäre Datei (%s), %s ist unverändert" + +#: plugins/sudoers/visudo.c:582 +#, c-format +msgid "editor (%s) failed, %s unchanged" +msgstr "Editor-Aufruf (%s) ist gescheitert, %s ist unverändert" + +#: plugins/sudoers/visudo.c:604 +#, c-format +msgid "%s unchanged" +msgstr "%s unverändert" + +#: plugins/sudoers/visudo.c:649 +#, c-format +msgid "unable to re-open temporary file (%s), %s unchanged." +msgstr "Erneutes Öffnen der temporären Datei (%s) gescheitert, %s ist unverändert." + +#: plugins/sudoers/visudo.c:662 +#, c-format +msgid "unable to parse temporary file (%s), unknown error" +msgstr "Analyse der temporären Datei (%s) gescheitert, unbekannter Fehler" + +#: plugins/sudoers/visudo.c:748 plugins/sudoers/visudo.c:778 +#: plugins/sudoers/visudo.c:785 +#, c-format +msgid "unable to set (uid, gid) of %s to (%u, %u)" +msgstr "Festlegen von (uid, gid) von %s auf (%u, %u) gescheitert" + +#: plugins/sudoers/visudo.c:813 +#, c-format +msgid "%s and %s not on the same file system, using mv to rename" +msgstr "%s und %s befinden sich nicht im gleichen Dateisystem, werden mit mv umbenannt" + +#: plugins/sudoers/visudo.c:824 +#, c-format +msgid "command failed: '%s %s %s', %s unchanged" +msgstr "Befehl gescheitert: »%s %s %s«, %s unverändert" + +#: plugins/sudoers/visudo.c:831 +#, c-format +msgid "error renaming %s, %s unchanged" +msgstr "Fehler beim Umbenennen von %s, %s unverändert" + +#: plugins/sudoers/visudo.c:851 +msgid "What now? " +msgstr "Was jetzt? " + +#: plugins/sudoers/visudo.c:865 +msgid "" +"Options are:\n" +" (e)dit sudoers file again\n" +" e(x)it without saving changes to sudoers file\n" +" (Q)uit and save changes to sudoers file (DANGER!)\n" +msgstr "" +"Optionen sind:\n" +" sudoers-Datei (e)rneut bearbeiten\n" +" Beenden, ohne die Änderungen an der sudoers-Datei zu speichern (mit x)\n" +" Beenden und Änderungen an der sudoers-Datei speichern (mit Q, VORSICHT!)\n" + +#: plugins/sudoers/visudo.c:911 +#, c-format +msgid "unable to run %s" +msgstr "%s konnte nicht ausgeführt werden" + +#: plugins/sudoers/visudo.c:942 +#, c-format +msgid "%s: wrong owner (uid, gid) should be (%u, %u)\n" +msgstr "%s: Falsche Besitzer-(uid, gid), sollte (%u, %u) sein\n" + +#: plugins/sudoers/visudo.c:953 +#, c-format +msgid "%s: bad permissions, should be mode 0%o\n" +msgstr "%s: Falsche Zugriffsrechte, sollte Modus 0%o sein\n" + +#: plugins/sudoers/visudo.c:999 plugins/sudoers/visudo.c:1006 +#, c-format +msgid "%s: parsed OK\n" +msgstr "%s: Analyse OK\n" + +#: plugins/sudoers/visudo.c:1025 +#, c-format +msgid "%s busy, try again later" +msgstr "%s ist in Verwendung, versuchen Sie es später erneut" + +# XXX +#: plugins/sudoers/visudo.c:1029 +msgid "Edit anyway? [y/N]" +msgstr "Trotzdem ändern? [y/N]" + +#: plugins/sudoers/visudo.c:1130 +#, c-format +msgid "Warning: %s:%d:%d: unused %s \"%s\"" +msgstr "Warnung: %s:%d:%d: nicht verwendet: %s »%s«" + +#: plugins/sudoers/visudo.c:1242 +#, c-format +msgid "" +"%s - safely edit the sudoers file\n" +"\n" +msgstr "" +"%s – Die sudoers-Datei sicher bearbeiten\n" +"\n" + +#: plugins/sudoers/visudo.c:1244 +msgid "" +"\n" +"Options:\n" +" -c, --check check-only mode\n" +" -f, --file=sudoers specify sudoers file location\n" +" -h, --help display help message and exit\n" +" -I, --no-includes do not edit include files\n" +" -q, --quiet less verbose (quiet) syntax error messages\n" +" -s, --strict strict syntax checking\n" +" -V, --version display version information and exit\n" +msgstr "" +"\n" +"Optionen:\n" +" -c, --check nur den Prüf-Modus verwenden\n" +" -f, --file=sudoers gibt den Namen der sudoers Datei an\n" +" -h, --help diese Hilfe anzeigen und beenden\n" +" -I, --no-includes Include-Dateien nicht editieren\n" +" -q, --quiet weniger ausführliche Syntaxfehler-Meldungen\n" +" -s, --strict strikte Syntax-Prüfung\n" +" -V, --version Versionsinformation anzeigen und beenden\n" + +#: toke.l:189 +msgid "empty string" +msgstr "leere Zeichenkette" + +#: toke.l:201 toke.l:571 +msgid "empty group" +msgstr "leere Gruppe" + +#: toke.l:211 toke.l:569 +msgid "empty netgroup" +msgstr "leere Netgroup" + +#: toke.l:289 +msgid "unterminated regular expression" +msgstr "nicht abgeschlossener regulärer Ausdruck" + +#: toke.l:363 toke.l:375 toke.l:387 toke.l:403 toke.l:422 toke.l:462 +msgid "invalid line continuation" +msgstr "Ungültiger Zeilenfortsetzung" + +#: toke.l:608 toke.l:620 +msgid "invalid IPv6 address" +msgstr "Ungültiges IPv6 Adresse: %s" + +#: toke.l:876 +msgid "unexpected line break in string" +msgstr "unerwarteter Zeilenumbruch in Zeichenkette" + +#: toke.l:1226 +msgid "too many levels of includes" +msgstr "Zu viele geschachtelte include-Einträge" diff --git a/plugins/sudoers/po/el.mo b/plugins/sudoers/po/el.mo new file mode 100644 index 0000000..9cae8b9 Binary files /dev/null and b/plugins/sudoers/po/el.mo differ diff --git a/plugins/sudoers/po/el.po b/plugins/sudoers/po/el.po new file mode 100644 index 0000000..781bb8e --- /dev/null +++ b/plugins/sudoers/po/el.po @@ -0,0 +1,1718 @@ +# Translation of sudoers to Greek +# Todd C. Miller <Todd.Miller@courtesan.com>, 2011-2013 +# This file is distributed under the same license as the sudo package. +# Dimitris Spingos (Δημήτρης Σπίγγος) , 2014. +msgid "" +msgstr "" +"Project-Id-Version: sudoers-1.8.10b3\n" +"Report-Msgid-Bugs-To: http://www.sudo.ws/bugs\n" +"POT-Creation-Date: 2014-02-07 15:13-0700\n" +"PO-Revision-Date: 2014-06-04 08:01+0300\n" +"Last-Translator: Dimitris Spingos (Δημήτρης Σπίγγος) \n" +"Language-Team: Greek \n" +"Language: el\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Virtaal 0.7.0\n" + +#: confstr.sh:2 +msgid "Password:" +msgstr "Κωδικός πρόσβασης:" + +#: confstr.sh:3 +msgid "*** SECURITY information for %h ***" +msgstr "*** Πληροφορίες ΑΣΦΑΛΕΙΑΣ για το %h ***" + +#: confstr.sh:4 +msgid "Sorry, try again." +msgstr "Συγνώμη, δοκιμάστε ξανά." + +#: plugins/sudoers/alias.c:136 +#, c-format +msgid "Alias `%s' already defined" +msgstr "Έχει ήδη οριστεί το ψευδώνυμο `%s'" + +#: plugins/sudoers/auth/bsdauth.c:75 +#, c-format +msgid "unable to get login class for user %s" +msgstr "αδύνατη η λήψη κλάσης σύνδεσης για τον χρήστη %s" + +#: plugins/sudoers/auth/bsdauth.c:81 +msgid "unable to begin bsd authentication" +msgstr "αδύνατη η έναρξη της πιστοποίησης bsd" + +#: plugins/sudoers/auth/bsdauth.c:89 +msgid "invalid authentication type" +msgstr "άκυρος τύπος πιστοποίησης" + +#: plugins/sudoers/auth/bsdauth.c:98 +msgid "unable to initialize BSD authentication" +msgstr "αδύνατη η αρχικοποίηση της πιστοποίησης BSD" + +#: plugins/sudoers/auth/fwtk.c:59 +msgid "unable to read fwtk config" +msgstr "αδύνατη η ανάγνωση του fwtk config" + +#: plugins/sudoers/auth/fwtk.c:64 +msgid "unable to connect to authentication server" +msgstr "αδύνατη η σύνδεση με τον εξυπηρετητή πιστοποίησης" + +#: plugins/sudoers/auth/fwtk.c:70 plugins/sudoers/auth/fwtk.c:94 +#: plugins/sudoers/auth/fwtk.c:127 +msgid "lost connection to authentication server" +msgstr "απώλεια σύνδεσης με τον εξυπηρετητή πιστοποίησης" + +#: plugins/sudoers/auth/fwtk.c:74 +#, c-format +msgid "" +"authentication server error:\n" +"%s" +msgstr "" +"σφάλμα εξυπηρετητή πιστοποίησης:\n" +"%s" + +#: plugins/sudoers/auth/kerb5.c:116 +#, c-format +msgid "%s: unable to convert principal to string ('%s'): %s" +msgstr "%s: αδύνατη η μετατροπή της αρχής ασφάλειας σε συμβολοσειρά ('%s'): %s" + +#: plugins/sudoers/auth/kerb5.c:159 +#, c-format +msgid "%s: unable to parse '%s': %s" +msgstr "%s: αδύνατη η ανάλυση του '%s': %s" + +#: plugins/sudoers/auth/kerb5.c:169 +#, c-format +msgid "%s: unable to resolve credential cache: %s" +msgstr "%s: αδύνατη η επίλυση κρυφής μνήμης διαπιστευτήριων: %s" + +#: plugins/sudoers/auth/kerb5.c:217 +#, c-format +msgid "%s: unable to allocate options: %s" +msgstr "%s: αδύνατη η κατανομή επιλογών: %s" + +#: plugins/sudoers/auth/kerb5.c:233 +#, c-format +msgid "%s: unable to get credentials: %s" +msgstr "%s: αδύνατη η λήψη διαπιστευτηρίων: %s" + +#: plugins/sudoers/auth/kerb5.c:246 +#, c-format +msgid "%s: unable to initialize credential cache: %s" +msgstr "%s: αδύνατη η αρχικοποίηση κρυφής μνήμης διαπιστευτηρίων: %s" + +#: plugins/sudoers/auth/kerb5.c:250 +#, c-format +msgid "%s: unable to store credential in cache: %s" +msgstr "%s: αδύνατη η αποθήκευση διαπιστευτηρίων στην κρυφή μνήμη: %s" + +#: plugins/sudoers/auth/kerb5.c:315 +#, c-format +msgid "%s: unable to get host principal: %s" +msgstr "%s: αδύνατη η λήψη αρχής ασφάλειας του οικοδεσπότη: %s" + +#: plugins/sudoers/auth/kerb5.c:330 +#, c-format +msgid "%s: Cannot verify TGT! Possible attack!: %s" +msgstr "%s: Αδύνατη η επιβεβαίωση TGT! Πιθανή επίθεση!: %s" + +#: plugins/sudoers/auth/pam.c:98 +msgid "unable to initialize PAM" +msgstr "αδύνατη η αρχικοποίηση του PAM" + +#: plugins/sudoers/auth/pam.c:149 +msgid "account validation failure, is your account locked?" +msgstr "αποτυχία επικύρωσης λογαριασμού, είναι κλειδωμένος ο λογαριασμός σας;" + +#: plugins/sudoers/auth/pam.c:153 +msgid "Account or password is expired, reset your password and try again" +msgstr "Ο λογαριασμός ή ο κωδικός πρόσβασης έχει λήξει, επαναφέρτε τον κωδικό πρόσβασής σας και ξαναδοκιμάστε" + +#: plugins/sudoers/auth/pam.c:161 +#, c-format +msgid "unable to change expired password: %s" +msgstr "αδύνατη η αλλαγή του ληγμένου κωδικού πρόσβασης: %s" + +#: plugins/sudoers/auth/pam.c:166 +msgid "Password expired, contact your system administrator" +msgstr "Ο κωδικός πρόσβασης έχει λήξει, επικοινωνήστε με τον διαχειριστή του συστήματος" + +#: plugins/sudoers/auth/pam.c:170 +msgid "Account expired or PAM config lacks an \"account\" section for sudo, contact your system administrator" +msgstr "Ο λογαριασμός έχει λήξει ή το PAM config στερείται μιας ενότητας \"λογαριασμού\" για sudo, επικοινωνήστε με τον διαχειριστή του συστήματός σας" + +#: plugins/sudoers/auth/pam.c:187 +#, c-format +msgid "PAM authentication error: %s" +msgstr "Σφάλμα πιστοποίησης PAM: %s" + +#: plugins/sudoers/auth/rfc1938.c:103 plugins/sudoers/visudo.c:222 +#, c-format +msgid "you do not exist in the %s database" +msgstr "δεν υπάρχετε στη βάση δεδομένων %s" + +#: plugins/sudoers/auth/securid5.c:80 +msgid "failed to initialise the ACE API library" +msgstr "αποτυχία αρχικοποίησης της βιβλιοθήκης ACE API" + +#: plugins/sudoers/auth/securid5.c:106 +msgid "unable to contact the SecurID server" +msgstr "αδύνατη η επικοινωνία με τον εξυπηρετητή SecurID" + +#: plugins/sudoers/auth/securid5.c:115 +msgid "User ID locked for SecurID Authentication" +msgstr "Το αναγνωριστικό του χρήστη για πιστοποίηση SecurID είναι κλειδωμένο" + +#: plugins/sudoers/auth/securid5.c:119 plugins/sudoers/auth/securid5.c:170 +msgid "invalid username length for SecurID" +msgstr "άκυρο μήκος ονόματος χρήστη για SecurID" + +#: plugins/sudoers/auth/securid5.c:123 plugins/sudoers/auth/securid5.c:175 +msgid "invalid Authentication Handle for SecurID" +msgstr "άκυρη διαχείριση πιστοποίησης για SecurID" + +#: plugins/sudoers/auth/securid5.c:127 +msgid "SecurID communication failed" +msgstr "αποτυχία επικοινωνίας SecurID" + +#: plugins/sudoers/auth/securid5.c:131 plugins/sudoers/auth/securid5.c:214 +msgid "unknown SecurID error" +msgstr "άγνωστο σφάλμα SecurID" + +#: plugins/sudoers/auth/securid5.c:165 +msgid "invalid passcode length for SecurID" +msgstr "άκυρο μήκος κωδικού περάσματος για το SecurID" + +#: plugins/sudoers/auth/sia.c:108 +msgid "unable to initialize SIA session" +msgstr "αδύνατη η αρχικοποίηση της συνεδρίας SIA" + +#: plugins/sudoers/auth/sudo_auth.c:119 +msgid "invalid authentication methods" +msgstr "άκυρες μέθοδοι πιστοποίησης" + +#: plugins/sudoers/auth/sudo_auth.c:120 +msgid "Invalid authentication methods compiled into sudo! You may not mix standalone and non-standalone authentication." +msgstr "Άκυρες μεταγλωττισμένες μέθοδοι πιστοποίησης στο sudo! Δεν μπορείτε να αναμίξετε αυτόνομη και μη αυτόνομη πιστοποίηση." + +#: plugins/sudoers/auth/sudo_auth.c:203 +msgid "no authentication methods" +msgstr "δεν υπάρχουν μέθοδοι πιστοποίησης" + +#: plugins/sudoers/auth/sudo_auth.c:205 +msgid "There are no authentication methods compiled into sudo! If you want to turn off authentication, use the --disable-authentication configure option." +msgstr "Δεν υπάρχουν μεταγλωττισμένες μέθοδοι πιστοποίησης στο sudo! Αν θέλετε να απενεργοποιήσετε την πιστοποίηση, χρησιμοποιήστε την επιλογή ρύθμισης --disable-authentication." + +#: plugins/sudoers/auth/sudo_auth.c:389 +msgid "Authentication methods:" +msgstr "Μέθοδοι πιστοποίησης:" + +#: plugins/sudoers/bsm_audit.c:91 plugins/sudoers/bsm_audit.c:158 +msgid "Could not determine audit condition" +msgstr "Αδυναμία εντοπισμού συνθήκης ελέγχου" + +#: plugins/sudoers/bsm_audit.c:134 plugins/sudoers/bsm_audit.c:199 +msgid "unable to commit audit record" +msgstr "αδύνατη η υποβολή εγγραφής ελέγχου" + +#: plugins/sudoers/check.c:189 +msgid "" +"\n" +"We trust you have received the usual lecture from the local System\n" +"Administrator. It usually boils down to these three things:\n" +"\n" +" #1) Respect the privacy of others.\n" +" #2) Think before you type.\n" +" #3) With great power comes great responsibility.\n" +"\n" +msgstr "" +"\n" +"Εμπιστευόμαστε ότι έχετε δεχτεί τις συνηθισμένες οδηγίες από τον\n" +"διαχειριστή του τοπικού συστήματος. Συνήθως συμπυκνώνεται σε τρία πράγματα:\n" +"\n" +" #1) Σεβασμός της ιδιωτικότητας των άλλων.\n" +" #2) Σκεφτείτε πριν πληκτρολογήσετε.\n" +" #3) Η μεγάλη ισχύς συνυπάρχει με τη μεγάλη ευθύνη.\n" +"\n" + +#: plugins/sudoers/check.c:232 plugins/sudoers/check.c:238 +#: plugins/sudoers/sudoers.c:562 plugins/sudoers/sudoers.c:588 +#, c-format +msgid "unknown uid: %u" +msgstr "άγνωστο uid: %u" + +#: plugins/sudoers/check.c:235 plugins/sudoers/policy.c:657 +#: plugins/sudoers/sudoers.c:850 plugins/sudoers/testsudoers.c:211 +#: plugins/sudoers/testsudoers.c:363 +#, c-format +msgid "unknown user: %s" +msgstr "άγνωστος χρήστης: %s" + +#: plugins/sudoers/def_data.c:27 +#, c-format +msgid "Syslog facility if syslog is being used for logging: %s" +msgstr "Ευκολία Syslog αν το syslog χρησιμοποιείται για καταγραφή: %s" + +#: plugins/sudoers/def_data.c:31 +#, c-format +msgid "Syslog priority to use when user authenticates successfully: %s" +msgstr "Προτεραιότητα χρήσης Syslog, όταν ο χρήστης πιστοποιείται επιτυχώς: %s" + +#: plugins/sudoers/def_data.c:35 +#, c-format +msgid "Syslog priority to use when user authenticates unsuccessfully: %s" +msgstr "Προτεραιότητα χρήσης Syslog, όταν ο χρήστης πιστοποιείται ανεπιτυχώς: %s" + +#: plugins/sudoers/def_data.c:39 +msgid "Put OTP prompt on its own line" +msgstr "Τοποθέτηση της προτροπής OTP στη δική της γραμμή" + +#: plugins/sudoers/def_data.c:43 +msgid "Ignore '.' in $PATH" +msgstr "Παράβλεψη '.' στο $PATH" + +#: plugins/sudoers/def_data.c:47 +msgid "Always send mail when sudo is run" +msgstr "Να στέλνετε πάντα μήνυμα όταν εκτελείται το sudo" + +#: plugins/sudoers/def_data.c:51 +msgid "Send mail if user authentication fails" +msgstr "Να στέλνετε μήνυμα αν η πιστοποίηση χρήστη αποτύχει" + +#: plugins/sudoers/def_data.c:55 +msgid "Send mail if the user is not in sudoers" +msgstr "Να στέλνετε μήνυμα αν ο χρήστης δεν είναι στους χρήστες sudo" + +#: plugins/sudoers/def_data.c:59 +msgid "Send mail if the user is not in sudoers for this host" +msgstr "Να στέλνετε μήνυμα αν ο χρήστης δεν είναι στους χρήστες sudo για αυτόν τον οικοδεσπότη" + +#: plugins/sudoers/def_data.c:63 +msgid "Send mail if the user is not allowed to run a command" +msgstr "Να στέλνετε μήνυμα αν ο χρήστης δεν επιτρέπεται να εκτελέσει μια εντολή" + +#: plugins/sudoers/def_data.c:67 +msgid "Use a separate timestamp for each user/tty combo" +msgstr "Να χρησιμοποιείται ξεχωριστή χρονική σήμανση για κάθε χρήστη/σύνθετο tty" + +#: plugins/sudoers/def_data.c:71 +msgid "Lecture user the first time they run sudo" +msgstr "Να δίνονται οδηγίες στον χρήστη την πρώτη φορά που εκτελεί sudo" + +#: plugins/sudoers/def_data.c:75 +#, c-format +msgid "File containing the sudo lecture: %s" +msgstr "Το αρχείο που περιέχει τις οδηγίες sudo: %s" + +#: plugins/sudoers/def_data.c:79 +msgid "Require users to authenticate by default" +msgstr "Να απαιτείται από τους χρήστες να πιστοποιούνται από προεπιλογή" + +#: plugins/sudoers/def_data.c:83 +msgid "Root may run sudo" +msgstr "Ο υπερχρήστης μπορεί να εκτελεί sudo" + +#: plugins/sudoers/def_data.c:87 +msgid "Log the hostname in the (non-syslog) log file" +msgstr "Καταγραφή του ονόματος οικοδεσπότη στο αρχείο καταγραφής (non-syslog)" + +#: plugins/sudoers/def_data.c:91 +msgid "Log the year in the (non-syslog) log file" +msgstr "Καταγραφή του έτους στο αρχείο καταγραφής (non-syslog)" + +#: plugins/sudoers/def_data.c:95 +msgid "If sudo is invoked with no arguments, start a shell" +msgstr "Αν το sudo κλήθηκε χωρίς ορίσματα, να αρχίσει ένα κέλυφος" + +#: plugins/sudoers/def_data.c:99 +msgid "Set $HOME to the target user when starting a shell with -s" +msgstr "Ορίστε το $HOME του προοριζόμενου χρήστη όταν ξεκινάτε ένα κέλυφος με -s" + +#: plugins/sudoers/def_data.c:103 +msgid "Always set $HOME to the target user's home directory" +msgstr "Να ορίζεται πάντα το $HOME στον προσωπικό κατάλογο του προοριζόμενου χρήστη" + +#: plugins/sudoers/def_data.c:107 +msgid "Allow some information gathering to give useful error messages" +msgstr "Να επιτρέπεται η συγκέντρωση κάποιων πληροφοριών για να δίνονται χρήσιμα μηνύματα σφαλμάτων" + +#: plugins/sudoers/def_data.c:111 +msgid "Require fully-qualified hostnames in the sudoers file" +msgstr "Να απαιτούνται πλήρως χαρακτηρισμένα ονόματα οικοδεσπότη στο αρχείο χρηστών sudo" + +#: plugins/sudoers/def_data.c:115 +msgid "Insult the user when they enter an incorrect password" +msgstr "Να ειδοποιείται ο χρήστης όταν εισάγει έναν εσφαλμένο κωδικό πρόσβασης" + +#: plugins/sudoers/def_data.c:119 +msgid "Only allow the user to run sudo if they have a tty" +msgstr "Να επιτρέπεται στον χρήστη να εκτελεί sudo μόνο αν έχει ένα tty" + +#: plugins/sudoers/def_data.c:123 +msgid "Visudo will honor the EDITOR environment variable" +msgstr "Το Visudo θα σεβαστεί τη μεταβλητή περιβάλλοντος του EDITOR" + +#: plugins/sudoers/def_data.c:127 +msgid "Prompt for root's password, not the users's" +msgstr "Να ζητιέται ο κωδικός πρόσβασης του υπερχρήστη, όχι του χρήστη" + +#: plugins/sudoers/def_data.c:131 +msgid "Prompt for the runas_default user's password, not the users's" +msgstr "Να ζητιέται ο κωδικός πρόσβασης των χρηστών runas_default, όχι των χρηστών" + +#: plugins/sudoers/def_data.c:135 +msgid "Prompt for the target user's password, not the users's" +msgstr "Να ζητιέται ο κωδικός πρόσβασης του προοριζόμενου χρήστη, όχι των χρηστών" + +#: plugins/sudoers/def_data.c:139 +msgid "Apply defaults in the target user's login class if there is one" +msgstr "Να εφαρμόζονται οι προεπιλογές στην κλάση σύνδεσης του προοριζόμενου χρήστη αν υπάρχει κάποιες" + +#: plugins/sudoers/def_data.c:143 +msgid "Set the LOGNAME and USER environment variables" +msgstr "Να ορίζονται οι μεταβλητές περιβάλλοντος LOGNAME και USER" + +#: plugins/sudoers/def_data.c:147 +msgid "Only set the effective uid to the target user, not the real uid" +msgstr "Να ορίζεται μόνο το ενεργό uid του προοριζόμενου χρήστη, όχι το πραγματικό uid" + +#: plugins/sudoers/def_data.c:151 +msgid "Don't initialize the group vector to that of the target user" +msgstr "Να μην αρχικοποιείται το διάνυσμα ομάδας σε αυτό του προοριζόμενου χρήστη" + +#: plugins/sudoers/def_data.c:155 +#, c-format +msgid "Length at which to wrap log file lines (0 for no wrap): %u" +msgstr "Το μήκος στο οποίο θα αναδιπλώνονται οι γραμμές του αρχείου καταγραφής (0 για χωρίς αναδίπλωση): %u" + +#: plugins/sudoers/def_data.c:159 +#, c-format +msgid "Authentication timestamp timeout: %.1f minutes" +msgstr "Όριο χρόνου χρονικής σήμανσης πιστοποίησης: %.1f λεπτά" + +#: plugins/sudoers/def_data.c:163 +#, c-format +msgid "Password prompt timeout: %.1f minutes" +msgstr "Όριο χρόνου προτροπής κωδικού πρόσβασης: %.1f λεπτά" + +#: plugins/sudoers/def_data.c:167 +#, c-format +msgid "Number of tries to enter a password: %u" +msgstr "Αριθμός προσπαθειών για να εισάγετε έναν κωδικό πρόσβασης: %u" + +#: plugins/sudoers/def_data.c:171 +#, c-format +msgid "Umask to use or 0777 to use user's: 0%o" +msgstr "Χρησιμοποιήστε umask ή 0777 για να χρησιμοποιήσετε του χρήστη: 0%o" + +#: plugins/sudoers/def_data.c:175 +#, c-format +msgid "Path to log file: %s" +msgstr "Διαδρομή για το αρχείο καταγραφής: %s" + +#: plugins/sudoers/def_data.c:179 +#, c-format +msgid "Path to mail program: %s" +msgstr "Διαδρομή για το πρόγραμμα αλληλογραφίας: %s" + +#: plugins/sudoers/def_data.c:183 +#, c-format +msgid "Flags for mail program: %s" +msgstr "Σημαίες για το πρόγραμμα αλληλογραφίας: %s" + +#: plugins/sudoers/def_data.c:187 +#, c-format +msgid "Address to send mail to: %s" +msgstr "Διεύθυνση αποστολής αλληλογραφίας προς: %s" + +#: plugins/sudoers/def_data.c:191 +#, c-format +msgid "Address to send mail from: %s" +msgstr "Διεύθυνση λήψης αλληλογραφίας από: %s" + +#: plugins/sudoers/def_data.c:195 +#, c-format +msgid "Subject line for mail messages: %s" +msgstr "Γραμμή θέματος για μηνύματα αλληλογραφίας: %s" + +#: plugins/sudoers/def_data.c:199 +#, c-format +msgid "Incorrect password message: %s" +msgstr "Εσφαλμένο μήνυμα κωδικού πρόσβασης: %s" + +#: plugins/sudoers/def_data.c:203 +#, c-format +msgid "Path to lecture status dir: %s" +msgstr "Διαδρομή για τον κατάλογο κατάστασης οδηγιών: %s" + +#: plugins/sudoers/def_data.c:207 +#, c-format +msgid "Path to authentication timestamp dir: %s" +msgstr "Διαδρομή για τον κατάλογο χρονικής σήμανσης πιστοποίησης: %s" + +#: plugins/sudoers/def_data.c:211 +#, c-format +msgid "Owner of the authentication timestamp dir: %s" +msgstr "Κάτοχος καταλόγου χρονικής σήμανσης πιστοποίησης: %s" + +#: plugins/sudoers/def_data.c:215 +#, c-format +msgid "Users in this group are exempt from password and PATH requirements: %s" +msgstr "Οι χρήστες αυτής της ομάδας εξαιρούνται από τον κωδικό πρόσβασης και της απαιτήσεις PATH: %s" + +#: plugins/sudoers/def_data.c:219 +#, c-format +msgid "Default password prompt: %s" +msgstr "Προτροπή προεπιλεγμένου κωδικού πρόσβασης: %s" + +#: plugins/sudoers/def_data.c:223 +msgid "If set, passprompt will override system prompt in all cases." +msgstr "Αν οριστεί, η προτροπή περάσματος θα αντικαταστήσει την προτροπή συστήματος σε όλες τις περιπτώσεις." + +#: plugins/sudoers/def_data.c:227 +#, c-format +msgid "Default user to run commands as: %s" +msgstr "Προεπιλεγμένος χρήστης για να εκτελεί εντολές ως: %s" + +#: plugins/sudoers/def_data.c:231 +#, c-format +msgid "Value to override user's $PATH with: %s" +msgstr "Τιμή που θα αντικαθιστά τη $PATH χρήστη με: %s" + +#: plugins/sudoers/def_data.c:235 +#, c-format +msgid "Path to the editor for use by visudo: %s" +msgstr "Διαδρομή για τον επεξεργαστή για χρήση από το visudo: %s" + +#: plugins/sudoers/def_data.c:239 +#, c-format +msgid "When to require a password for 'list' pseudocommand: %s" +msgstr "Πότε θα απαιτείται κωδικός πρόσβασης για τον 'κατάλογο' ψευδοεντολών: %s" + +#: plugins/sudoers/def_data.c:243 +#, c-format +msgid "When to require a password for 'verify' pseudocommand: %s" +msgstr "Πότε θα απαιτείται κωδικός πρόσβασης για 'επιβεβαίωση' ψευδοεντολής: %s" + +#: plugins/sudoers/def_data.c:247 +msgid "Preload the dummy exec functions contained in the sudo_noexec library" +msgstr "Να προφορτώνονται οι εικονικές συναρτήσεις εκτέλεσης στη βιβλιοθήκη sudo_noexec" + +#: plugins/sudoers/def_data.c:251 +msgid "If LDAP directory is up, do we ignore local sudoers file" +msgstr "Αν ο κατάλογος LDAP είναι ανεβασμένος, παραβλέπουμε το τοπικό αρχείο χρηστών sudo." + +#: plugins/sudoers/def_data.c:255 +#, fuzzy, c-format +msgid "File descriptors >= %d will be closed before executing a command" +msgstr "Οι περιγραφείς αρχείων >= %d να είναι κλειστοί πριν την εκτέλεση μιας εντολής" + +#: plugins/sudoers/def_data.c:259 +msgid "If set, users may override the value of `closefrom' with the -C option" +msgstr "Αν οριστεί, οι χρήστες μπορούν να αντικαθιστούν την τιμή του `closefrom' με την επιλογή -C" + +#: plugins/sudoers/def_data.c:263 +msgid "Allow users to set arbitrary environment variables" +msgstr "Να επιτρέπεται στους χρήστες να ορίζουν ελεύθερες μεταβλητές περιβάλλοντος" + +#: plugins/sudoers/def_data.c:267 +msgid "Reset the environment to a default set of variables" +msgstr "Να επαναρρυθμίζεται το περιβάλλον σε ένα προεπιλεγμένο σύνολο μεταβλητών" + +#: plugins/sudoers/def_data.c:271 +msgid "Environment variables to check for sanity:" +msgstr "Οι μεταβλητές περιβάλλοντος που θα ελέγχονται για ακεραιότητα:" + +#: plugins/sudoers/def_data.c:275 +msgid "Environment variables to remove:" +msgstr "Οι μεταβλητές περιβάλλοντος προς αφαίρεση:" + +#: plugins/sudoers/def_data.c:279 +msgid "Environment variables to preserve:" +msgstr "Οι μεταβλητές περιβάλλοντος για διατήρηση:" + +#: plugins/sudoers/def_data.c:283 +#, c-format +msgid "SELinux role to use in the new security context: %s" +msgstr "Ο ρόλος του SELinux που θα χρησιμοποιηθεί στο νέο περιεχόμενο ασφάλειας: %s" + +#: plugins/sudoers/def_data.c:287 +#, c-format +msgid "SELinux type to use in the new security context: %s" +msgstr "Ο τύπος SELinux που θα χρησιμοποιηθεί στο νέο περιεχόμενο ασφάλειας: %s" + +#: plugins/sudoers/def_data.c:291 +#, c-format +msgid "Path to the sudo-specific environment file: %s" +msgstr "Η διαδρομή προς το αρχείο περιβάλλοντος που είναι ειδικό για sudo: %s" + +#: plugins/sudoers/def_data.c:295 +#, c-format +msgid "Locale to use while parsing sudoers: %s" +msgstr "Οι τοπικές ρυθμίσεις που θα χρησιμοποιηθούν κατά την ανάλυση των χρηστών sudo: %s" + +#: plugins/sudoers/def_data.c:299 +msgid "Allow sudo to prompt for a password even if it would be visible" +msgstr "Να επιτρέπεται στο sudo να ζητά κωδικό πρόσβασης ακόμα κι αν θα είναι ορατό" + +#: plugins/sudoers/def_data.c:303 +msgid "Provide visual feedback at the password prompt when there is user input" +msgstr "Να παρέχεται οπτική ανάδραση στην προτροπή κωδικού πρόσβασης όταν υπάρχει είσοδος χρήστη" + +#: plugins/sudoers/def_data.c:307 +msgid "Use faster globbing that is less accurate but does not access the filesystem" +msgstr "Να χρησιμοποιείται γρηγορότερη επέκταση (globbing) που είναι λιγότερο ακριβές, αλλά δεν έχει πρόσβαση στο σύστημα αρχείων" + +#: plugins/sudoers/def_data.c:311 +msgid "The umask specified in sudoers will override the user's, even if it is more permissive" +msgstr "Η umask που ορίστηκε στους χρήστες sudo θα αντικαταστήσει αυτή του χρήστη, ακόμα κι αν δίνει περισσότερα δικαιώματα." + +#: plugins/sudoers/def_data.c:315 +msgid "Log user's input for the command being run" +msgstr "Να καταγράφεται η είσοδος χρήστη για την εκτελούμενη εντολή" + +#: plugins/sudoers/def_data.c:319 +msgid "Log the output of the command being run" +msgstr "Να καταγράφεται η έξοδος της εκτελούμενης εντολής" + +#: plugins/sudoers/def_data.c:323 +msgid "Compress I/O logs using zlib" +msgstr "Συμπίεση καταγραφών εισόδου/εξόδου χρησιμοποιώντας το zlib" + +#: plugins/sudoers/def_data.c:327 +msgid "Always run commands in a pseudo-tty" +msgstr "Να εκτελούνται πάντα εντολές σε ψευδο-tty" + +#: plugins/sudoers/def_data.c:331 +#, c-format +msgid "Plugin for non-Unix group support: %s" +msgstr "Πρόσθετο για υποστήριξη ομάδας μη Γιούνιξ: %s" + +#: plugins/sudoers/def_data.c:335 +#, c-format +msgid "Directory in which to store input/output logs: %s" +msgstr "Κατάλογος στον οποίο αποθηκεύονται οι καταγραφές εισόδου/εξόδου: %s" + +#: plugins/sudoers/def_data.c:339 +#, c-format +msgid "File in which to store the input/output log: %s" +msgstr "Αρχείο στο οποίο θα αποθηκεύεται η καταγραφή εισόδου/εξόδου: %s" + +#: plugins/sudoers/def_data.c:343 +msgid "Add an entry to the utmp/utmpx file when allocating a pty" +msgstr "Να προστίθεται μια καταχώριση στο αρχείο utmp/utmpx κατά την εκχώρηση ενός pty" + +#: plugins/sudoers/def_data.c:347 +msgid "Set the user in utmp to the runas user, not the invoking user" +msgstr "Να ορίζεται ο χρήστης στο utmp στον χρήστη runas, να μην καλείται ο χρήστης" + +#: plugins/sudoers/def_data.c:351 +msgid "Set of permitted privileges" +msgstr "Να ορίζονται τα επιτρεπόμενα δικαιώματα" + +#: plugins/sudoers/def_data.c:355 +msgid "Set of limit privileges" +msgstr "Να ορίζονται τα δικαιώματα ορίου" + +#: plugins/sudoers/def_data.c:359 +msgid "Run commands on a pty in the background" +msgstr "Να εκτελούνται εντολές σε ένα pty στο παρασκήνιο" + +#: plugins/sudoers/def_data.c:363 +msgid "PAM service name to use" +msgstr "Το όνομα υπηρεσίας PAM που θα χρησιμοποιηθεί" + +#: plugins/sudoers/def_data.c:367 +msgid "PAM service name to use for login shells" +msgstr "Το όνομα υπηρεσίας PAM που θα χρησιμοποιηθεί για κελύφη σύνδεσης" + +#: plugins/sudoers/def_data.c:371 +msgid "Attempt to establish PAM credentials for the target user" +msgstr "Να γίνεται προσπάθεια δημιουργίας διαπιστευτηρίων για τον προοριζόμενο χρήστη" + +#: plugins/sudoers/def_data.c:375 +msgid "Create a new PAM session for the command to run in" +msgstr "Να δημιουργείται μια νέα συνεδρία PAM για την εκτελούμενη εντολή" + +#: plugins/sudoers/def_data.c:379 +#, c-format +msgid "Maximum I/O log sequence number: %u" +msgstr "Μέγιστος αριθμός αλληλουχίας καταγραφών εισόδου/εξόδου: %u" + +#: plugins/sudoers/def_data.c:383 +msgid "Enable sudoers netgroup support" +msgstr "Να ενεργοποιείται η υποστήριξη ομάδας δικτύου στους χρήστες sudo" + +#: plugins/sudoers/defaults.c:210 plugins/sudoers/defaults.c:600 +#: plugins/sudoers/visudo_json.c:611 plugins/sudoers/visudo_json.c:647 +#, c-format +msgid "unknown defaults entry `%s'" +msgstr "άγνωστες προεπιλογές καταχώρισης `%s'" + +#: plugins/sudoers/defaults.c:218 plugins/sudoers/defaults.c:228 +#: plugins/sudoers/defaults.c:248 plugins/sudoers/defaults.c:261 +#: plugins/sudoers/defaults.c:274 plugins/sudoers/defaults.c:287 +#: plugins/sudoers/defaults.c:300 plugins/sudoers/defaults.c:320 +#: plugins/sudoers/defaults.c:330 +#, c-format +msgid "value `%s' is invalid for option `%s'" +msgstr "η τιμή `%s' είναι άκυρη για την επιλογή `%s'" + +#: plugins/sudoers/defaults.c:221 plugins/sudoers/defaults.c:231 +#: plugins/sudoers/defaults.c:239 plugins/sudoers/defaults.c:256 +#: plugins/sudoers/defaults.c:269 plugins/sudoers/defaults.c:282 +#: plugins/sudoers/defaults.c:295 plugins/sudoers/defaults.c:315 +#: plugins/sudoers/defaults.c:326 +#, c-format +msgid "no value specified for `%s'" +msgstr "δεν ορίστηκε τιμή για το `%s'" + +#: plugins/sudoers/defaults.c:244 +#, c-format +msgid "values for `%s' must start with a '/'" +msgstr "οι τιμές για το `%s' πρέπει να αρχίζουν με ένα '/'" + +#: plugins/sudoers/defaults.c:306 +#, c-format +msgid "option `%s' does not take a value" +msgstr "η επιλογή `%s' δεν παίρνει τιμή" + +#: plugins/sudoers/env.c:288 plugins/sudoers/env.c:293 +#: plugins/sudoers/env.c:395 plugins/sudoers/linux_audit.c:82 +#: plugins/sudoers/policy.c:442 plugins/sudoers/policy.c:449 +#: plugins/sudoers/prompt.c:171 plugins/sudoers/sudoers.c:656 +#: plugins/sudoers/testsudoers.c:241 +#, c-format +msgid "internal error, %s overflow" +msgstr "εσωτερικό σφάλμα, υπερχείλιση του %s" + +#: plugins/sudoers/env.c:367 +msgid "sudo_putenv: corrupted envp, length mismatch" +msgstr "sudo_putenv: αλλοιωμένο envp, ασυμφωνία μήκους" + +#: plugins/sudoers/env.c:1014 +#, c-format +msgid "sorry, you are not allowed to set the following environment variables: %s" +msgstr "συγνώμη, δεν σας επιτρέπετε να ορίσετε τις παρακάτω μεταβλητές περιβάλλοντος: %s" + +#: plugins/sudoers/group_plugin.c:94 +#, c-format +msgid "%s must be owned by uid %d" +msgstr "το %s πρέπει να κατέχεται από το uid %d" + +#: plugins/sudoers/group_plugin.c:98 +#, c-format +msgid "%s must only be writable by owner" +msgstr "το %s πρέπει να είναι εγγράψιμο μόνο από τον κάτοχο" + +#: plugins/sudoers/group_plugin.c:105 plugins/sudoers/sssd.c:251 +#, c-format +msgid "unable to load %s: %s" +msgstr "αδύνατη η φόρτωση του %s: %s" + +#: plugins/sudoers/group_plugin.c:110 +#, c-format +msgid "unable to find symbol \"group_plugin\" in %s" +msgstr "αδύνατη η εύρεση συμβόλου \"group_plugin\" στο %s" + +#: plugins/sudoers/group_plugin.c:115 +#, c-format +msgid "%s: incompatible group plugin major version %d, expected %d" +msgstr "%s: ασύμβατη μεγάλη έκδοση %d του προσθέτου ομάδας, αναμενόταν %d" + +#: plugins/sudoers/interfaces.c:116 +msgid "Local IP address and netmask pairs:\n" +msgstr "Ζεύγη τοπικής διεύθυνσης IP και μάσκας δικτύου:\n" + +#: plugins/sudoers/iolog.c:99 plugins/sudoers/iolog.c:112 +#: plugins/sudoers/timestamp.c:227 +#, c-format +msgid "%s exists but is not a directory (0%o)" +msgstr "το %s υπάρχει, αλλά δεν είναι κατάλογος (0%o)" + +#: plugins/sudoers/iolog.c:109 plugins/sudoers/iolog.c:123 +#: plugins/sudoers/iolog.c:127 plugins/sudoers/timestamp.c:221 +#: plugins/sudoers/timestamp.c:242 +#, c-format +msgid "unable to mkdir %s" +msgstr "αδύνατο το mkdir %s" + +#: plugins/sudoers/iolog.c:190 plugins/sudoers/sudoers.c:710 +#: plugins/sudoers/sudoreplay.c:342 plugins/sudoers/sudoreplay.c:813 +#: plugins/sudoers/sudoreplay.c:1010 plugins/sudoers/timestamp.c:345 +#: plugins/sudoers/visudo.c:823 plugins/sudoers/visudo_json.c:995 +#: plugins/sudoers/visudo_json.c:1001 +#, c-format +msgid "unable to open %s" +msgstr "αδύνατο το άνοιγμα του %s" + +#: plugins/sudoers/iolog.c:229 plugins/sudoers/sudoers.c:713 +#: plugins/sudoers/sudoreplay.c:1117 +#, c-format +msgid "unable to read %s" +msgstr "αδύνατη η ανάγνωση του %s" + +#: plugins/sudoers/iolog.c:259 plugins/sudoers/sudoreplay.c:582 +#: plugins/sudoers/timestamp.c:184 +#, c-format +msgid "unable to write to %s" +msgstr "αδύνατη η εγγραφή σε %s" + +#: plugins/sudoers/iolog.c:319 plugins/sudoers/iolog.c:512 +#, c-format +msgid "unable to create %s" +msgstr "αδύνατη η δημιουργία του %s" + +#: plugins/sudoers/ldap.c:406 +msgid "sudo_ldap_conf_add_ports: port too large" +msgstr "sudo_ldap_conf_add_ports: υπερβολικά μεγάλη θύρα" + +#: plugins/sudoers/ldap.c:429 +msgid "sudo_ldap_conf_add_ports: out of space expanding hostbuf" +msgstr "sudo_ldap_conf_add_ports: εκτός χώρου επέκτασης hostbuf" + +#: plugins/sudoers/ldap.c:461 +#, c-format +msgid "unsupported LDAP uri type: %s" +msgstr "ανυποστήρικτος τύπος LDAP uri: %s" + +#: plugins/sudoers/ldap.c:492 +msgid "unable to mix ldap and ldaps URIs" +msgstr "αδύνατη η ανάμιξη URIs ldap και ldaps" + +#: plugins/sudoers/ldap.c:496 plugins/sudoers/ldap.c:528 +msgid "starttls not supported when using ldaps" +msgstr "το starttls δεν υποστηρίζεται όταν χρησιμοποιείται το ldaps" + +#: plugins/sudoers/ldap.c:514 +msgid "sudo_ldap_parse_uri: out of space building hostbuf" +msgstr "sudo_ldap_parse_uri: εκτός χώρου δόμησης του hostbuf" + +#: plugins/sudoers/ldap.c:595 +#, c-format +msgid "unable to initialize SSL cert and key db: %s" +msgstr "αδύνατη η αρχικοποίηση των cert SSL και db κλειδιών: %s" + +#: plugins/sudoers/ldap.c:598 +#, c-format +msgid "you must set TLS_CERT in %s to use SSL" +msgstr "πρέπει να ορίσετε το TLS_CERT σε %s για να χρησιμοποιήσετε το SSL" + +#: plugins/sudoers/ldap.c:1089 +msgid "unable to get GMT time" +msgstr "αδύνατη η λήψη χρόνου GMT" + +#: plugins/sudoers/ldap.c:1095 +msgid "unable to format timestamp" +msgstr "αδύνατη η μορφοποίηση της χρονικής σήμανσης" + +#: plugins/sudoers/ldap.c:1103 +msgid "unable to build time filter" +msgstr "αδύνατη η δόμηση φίλτρου χρόνου" + +#: plugins/sudoers/ldap.c:1322 +msgid "sudo_ldap_build_pass1 allocation mismatch" +msgstr "ασυμφωνία κατανομής sudo_ldap_build_pass1" + +#: plugins/sudoers/ldap.c:1433 +#, c-format +msgid "%s: %s: %s: %s" +msgstr "%s: %s: %s: %s" + +#: plugins/sudoers/ldap.c:1909 +#, c-format +msgid "" +"\n" +"LDAP Role: %s\n" +msgstr "" +"\n" +"Ρόλος LDAP: %s\n" + +#: plugins/sudoers/ldap.c:1911 +#, c-format +msgid "" +"\n" +"LDAP Role: UNKNOWN\n" +msgstr "" +"\n" +"Ρόλος LDAP: ΑΓΝΩΣΤΟΣ\n" + +#: plugins/sudoers/ldap.c:1958 +#, c-format +msgid " Order: %s\n" +msgstr " Σειρά: %s\n" + +#: plugins/sudoers/ldap.c:1966 plugins/sudoers/parse.c:504 +#: plugins/sudoers/sssd.c:1295 +#, c-format +msgid " Commands:\n" +msgstr " Εντολές:\n" + +#: plugins/sudoers/ldap.c:2509 +#, c-format +msgid "unable to initialize LDAP: %s" +msgstr "αδύνατη η αρχικοποίηση του LDAP: %s" + +#: plugins/sudoers/ldap.c:2551 +msgid "start_tls specified but LDAP libs do not support ldap_start_tls_s() or ldap_start_tls_s_np()" +msgstr "ορίστηκε το start_tls, αλλά οι βιβλιοθήκες LDAP υποστηρίζουν ldap_start_tls_s() ή ldap_start_tls_s_np()" + +#: plugins/sudoers/ldap.c:2784 +#, c-format +msgid "invalid sudoOrder attribute: %s" +msgstr "άκυρο γνώρισμα sudoOrder: %s" + +#: plugins/sudoers/linux_audit.c:57 +msgid "unable to open audit system" +msgstr "αδύνατο το άνοιγμα συστήματος ελέγχου" + +#: plugins/sudoers/linux_audit.c:93 +msgid "unable to send audit message" +msgstr "αδύνατη η αποστολή μηνύματος ελέγχου" + +#: plugins/sudoers/logging.c:136 +#, c-format +msgid "%8s : %s" +msgstr "%8s : %s" + +#: plugins/sudoers/logging.c:164 +#, c-format +msgid "%8s : (command continued) %s" +msgstr "%8s : (συνεχιζόμενη εντολή) %s" + +#: plugins/sudoers/logging.c:189 +#, c-format +msgid "unable to open log file: %s: %s" +msgstr "αδύνατο το άνοιγμα αρχείου καταγραφής: %s: %s" + +#: plugins/sudoers/logging.c:192 +#, c-format +msgid "unable to lock log file: %s: %s" +msgstr "αδύνατο το κλείδωμα αρχείου καταγραφής: %s: %s" + +#: plugins/sudoers/logging.c:243 +msgid "No user or host" +msgstr "Χωρίς χρήστη ή οικοδεσπότη" + +#: plugins/sudoers/logging.c:245 +msgid "validation failure" +msgstr "αποτυχία επικύρωσης" + +#: plugins/sudoers/logging.c:252 +msgid "user NOT in sudoers" +msgstr "ο χρήστης ΔΕΝ είναι στους sudo" + +#: plugins/sudoers/logging.c:254 +msgid "user NOT authorized on host" +msgstr "ο χρήστης ΔΕΝ εξουσιοδοτήθηκε στον οικοδεσπότη" + +#: plugins/sudoers/logging.c:256 +msgid "command not allowed" +msgstr "μη επιτρεπόμενη εντολή" + +#: plugins/sudoers/logging.c:286 +#, c-format +msgid "%s is not in the sudoers file. This incident will be reported.\n" +msgstr "το %s δεν είναι στο αρχείο χρηστών sudo. Αυτό το συμβάν θα αναφερθεί.\n" + +#: plugins/sudoers/logging.c:289 +#, c-format +msgid "%s is not allowed to run sudo on %s. This incident will be reported.\n" +msgstr "ο %s δεν επιτρέπεται να εκτελέσει sudo στο %s. Αυτό το συμβάν θα αναφερθεί.\n" + +#: plugins/sudoers/logging.c:293 +#, c-format +msgid "Sorry, user %s may not run sudo on %s.\n" +msgstr "Συγνώμη, ο χρήστης %s δεν μπορεί να εκτελέσει sudo στο %s.\n" + +#: plugins/sudoers/logging.c:296 +#, c-format +msgid "Sorry, user %s is not allowed to execute '%s%s%s' as %s%s%s on %s.\n" +msgstr "Συγνώμη, ο χρήστης %s δεν επιτρέπεται να εκτελέσει '%s%s%s' ως %s%s%s στο %s.\n" + +#: plugins/sudoers/logging.c:333 plugins/sudoers/sudoers.c:382 +#: plugins/sudoers/sudoers.c:383 plugins/sudoers/sudoers.c:385 +#: plugins/sudoers/sudoers.c:386 plugins/sudoers/sudoers.c:1017 +#: plugins/sudoers/sudoers.c:1018 +#, c-format +msgid "%s: command not found" +msgstr "%s: δεν βρέθηκε η εντολή" + +#: plugins/sudoers/logging.c:335 plugins/sudoers/sudoers.c:378 +#, c-format +msgid "" +"ignoring `%s' found in '.'\n" +"Use `sudo ./%s' if this is the `%s' you wish to run." +msgstr "" +"παραβλέπεται το `%s' που βρέθηκε στο '.'\n" +"Χρησιμοποιήστε `sudo ./%s' αν αυτό είναι το `%s' που θέλετε να εκτελέσετε." + +#: plugins/sudoers/logging.c:351 +msgid "authentication failure" +msgstr "αποτυχία πιστοποίησης" + +#: plugins/sudoers/logging.c:377 +msgid "a password is required" +msgstr "απαιτείται κωδικός πρόσβασης" + +#: plugins/sudoers/logging.c:441 plugins/sudoers/logging.c:495 +#, c-format +msgid "%u incorrect password attempt" +msgid_plural "%u incorrect password attempts" +msgstr[0] "%u ανεπιτυχής προσπάθεια κωδικού πρόσβασης" +msgstr[1] "%u ανεπιτυχείς προσπάθειες κωδικού πρόσβασης" + +#: plugins/sudoers/logging.c:581 +msgid "unable to fork" +msgstr "αδύνατη η διακλάδωση" + +#: plugins/sudoers/logging.c:588 plugins/sudoers/logging.c:644 +#, c-format +msgid "unable to fork: %m" +msgstr "αδύνατη η διακλάδωση: %m" + +#: plugins/sudoers/logging.c:634 +#, c-format +msgid "unable to open pipe: %m" +msgstr "αδύνατο το άνοιγμα της διοχέτευσης: %m" + +#: plugins/sudoers/logging.c:659 +#, c-format +msgid "unable to dup stdin: %m" +msgstr "αδύνατο να dup στην τυπική είσοδο: %m" + +#: plugins/sudoers/logging.c:694 +#, c-format +msgid "unable to execute %s: %m" +msgstr "αδύνατη η εκτέλεση %s: %m" + +#: plugins/sudoers/logging.c:914 +msgid "internal error: insufficient space for log line" +msgstr "εσωτερικό σφάλμα: ανεπαρκής χώρος για γραμμή καταγραφής" + +#: plugins/sudoers/match.c:617 +#, c-format +msgid "unsupported digest type %d for %s" +msgstr "ανυποστήρικτος τύπος αφομοίωσης %d για %s" + +#: plugins/sudoers/match.c:647 +#, c-format +msgid "%s: read error" +msgstr "%s: σφάλμα ανάγνωσης" + +#: plugins/sudoers/match.c:661 +#, c-format +msgid "digest for %s (%s) is not in %s form" +msgstr "η αφομοίωση για το %s (%s) δεν είναι στη μορφή %s" + +#: plugins/sudoers/parse.c:115 +#, c-format +msgid "parse error in %s near line %d" +msgstr "σφάλμα ανάλυσης στο %s κοντά στη γραμμή %d" + +#: plugins/sudoers/parse.c:118 +#, c-format +msgid "parse error in %s" +msgstr "ανάλυση σφάλματος για %s" + +#: plugins/sudoers/parse.c:451 +#, c-format +msgid "" +"\n" +"Sudoers entry:\n" +msgstr "" +"\n" +"Καταχώριση χρηστών sudo:\n" + +#: plugins/sudoers/parse.c:452 +#, c-format +msgid " RunAsUsers: " +msgstr " RunAsUsers: " + +#: plugins/sudoers/parse.c:466 +#, c-format +msgid " RunAsGroups: " +msgstr " RunAsGroups: " + +#: plugins/sudoers/parse.c:475 +#, c-format +msgid " Options: " +msgstr " Επιλογές: " + +#: plugins/sudoers/policy.c:109 plugins/sudoers/policy.c:116 +#: plugins/sudoers/policy.c:123 plugins/sudoers/policy.c:145 +#: plugins/sudoers/policy.c:259 plugins/sudoers/policy.c:277 +#: plugins/sudoers/policy.c:284 plugins/sudoers/policy.c:312 +#: plugins/sudoers/policy.c:320 plugins/sudoers/policy.c:327 +#: plugins/sudoers/set_perms.c:363 plugins/sudoers/set_perms.c:702 +#: plugins/sudoers/set_perms.c:1061 plugins/sudoers/set_perms.c:1357 +#: plugins/sudoers/set_perms.c:1525 +#, c-format +msgid "%s: %s" +msgstr "%s: %s" + +#: plugins/sudoers/policy.c:539 plugins/sudoers/visudo.c:764 +#, c-format +msgid "unable to execute %s" +msgstr "Αδύνατη η εκτέλεση του %s." + +#: plugins/sudoers/policy.c:681 +#, c-format +msgid "Sudoers policy plugin version %s\n" +msgstr "Η έκδοση προσθέτου πολιτικής χρηστών sudo %s\n" + +#: plugins/sudoers/policy.c:683 +#, c-format +msgid "Sudoers file grammar version %d\n" +msgstr "Η έκδοση γραμματικής αρχείου χρηστών sudo %d\n" + +#: plugins/sudoers/policy.c:687 +#, c-format +msgid "" +"\n" +"Sudoers path: %s\n" +msgstr "" +"\n" +"διαδρομή χρηστών sudo: %s\n" + +#: plugins/sudoers/policy.c:690 +#, c-format +msgid "nsswitch path: %s\n" +msgstr "διαδρομή nsswitch: %s\n" + +#: plugins/sudoers/policy.c:692 +#, c-format +msgid "ldap.conf path: %s\n" +msgstr "διαδρομή ldap.conf: %s\n" + +#: plugins/sudoers/policy.c:693 +#, c-format +msgid "ldap.secret path: %s\n" +msgstr "διαδρομή ldap.secret: %s\n" + +#: plugins/sudoers/pwutil.c:148 +#, c-format +msgid "unable to cache uid %u, already exists" +msgstr "αδύνατη η αποθήκευση του uid %u, υπάρχει ήδη" + +#: plugins/sudoers/pwutil.c:190 +#, c-format +msgid "unable to cache user %s, already exists" +msgstr "αδύνατη η αποθήκευση του %s χρήστη, υπάρχει ήδη" + +#: plugins/sudoers/pwutil.c:393 +#, c-format +msgid "unable to cache gid %u, already exists" +msgstr "αδύνατη η αποθήκευση του gid %u, υπάρχει ήδη" + +#: plugins/sudoers/pwutil.c:429 +#, c-format +msgid "unable to cache group %s, already exists" +msgstr "αδύνατη η αποθήκευση ομάδας %s, υπάρχει ήδη" + +#: plugins/sudoers/pwutil.c:592 plugins/sudoers/pwutil.c:614 +#, c-format +msgid "unable to cache group list for %s, already exists" +msgstr "αδύνατη η αποθήκευση καταλόγου ομάδας %s, υπάρχει ήδη" + +#: plugins/sudoers/pwutil.c:612 +#, c-format +msgid "unable to parse groups for %s" +msgstr "αδύνατη η ανάλυση ομάδων για %s" + +#: plugins/sudoers/set_perms.c:124 plugins/sudoers/set_perms.c:449 +#: plugins/sudoers/set_perms.c:852 plugins/sudoers/set_perms.c:1149 +#: plugins/sudoers/set_perms.c:1441 +msgid "perm stack overflow" +msgstr "υπερχείλιση στοίβας perm" + +#: plugins/sudoers/set_perms.c:132 plugins/sudoers/set_perms.c:457 +#: plugins/sudoers/set_perms.c:860 plugins/sudoers/set_perms.c:1157 +#: plugins/sudoers/set_perms.c:1449 +msgid "perm stack underflow" +msgstr "υποχείλιση στοίβας perm" + +#: plugins/sudoers/set_perms.c:191 plugins/sudoers/set_perms.c:504 +#: plugins/sudoers/set_perms.c:1208 plugins/sudoers/set_perms.c:1481 +msgid "unable to change to root gid" +msgstr "αδύνατη η αλλαγή σε gid υπερχρήστη" + +#: plugins/sudoers/set_perms.c:280 plugins/sudoers/set_perms.c:601 +#: plugins/sudoers/set_perms.c:989 plugins/sudoers/set_perms.c:1285 +msgid "unable to change to runas gid" +msgstr "αδύνατη η αλλαγή σε gid runas" + +#: plugins/sudoers/set_perms.c:292 plugins/sudoers/set_perms.c:613 +#: plugins/sudoers/set_perms.c:999 plugins/sudoers/set_perms.c:1295 +msgid "unable to change to runas uid" +msgstr "αδύνατη η αλλαγή σε uid runas" + +#: plugins/sudoers/set_perms.c:310 plugins/sudoers/set_perms.c:631 +#: plugins/sudoers/set_perms.c:1015 plugins/sudoers/set_perms.c:1311 +msgid "unable to change to sudoers gid" +msgstr "αδύνατη η αλλαγή σε gid χρηστών sudo" + +#: plugins/sudoers/set_perms.c:363 plugins/sudoers/set_perms.c:702 +#: plugins/sudoers/set_perms.c:1061 plugins/sudoers/set_perms.c:1357 +#: plugins/sudoers/set_perms.c:1525 +msgid "too many processes" +msgstr "υπερβολικά πολλές διεργασίες" + +#: plugins/sudoers/set_perms.c:1595 +msgid "unable to set runas group vector" +msgstr "αδύνατος ο ορισμός διανύσματος ομάδας runas" + +#: plugins/sudoers/sssd.c:252 +msgid "unable to initialize SSS source. Is SSSD installed on your machine?" +msgstr "αδύνατη η αρχικοποίηση πηγής SSS. Είναι το SSSD εγκατεστημένο στο μηχάνημά σας;" + +#: plugins/sudoers/sssd.c:259 plugins/sudoers/sssd.c:267 +#: plugins/sudoers/sssd.c:275 plugins/sudoers/sssd.c:283 +#: plugins/sudoers/sssd.c:291 +#, c-format +msgid "unable to find symbol \"%s\" in %s" +msgstr "αδύνατη η εύρεση συμβόλου \"%s\" στο %s" + +#: plugins/sudoers/sudo_nss.c:283 +#, c-format +msgid "Matching Defaults entries for %s on %s:\n" +msgstr "Συμφωνία προεπιλεγμένων καταχωρίσεων για %s στο %s:\n" + +#: plugins/sudoers/sudo_nss.c:296 +#, c-format +msgid "Runas and Command-specific defaults for %s:\n" +msgstr "Runas και προεπιλεγμένες ειδικές εντολές για το %s:\n" + +#: plugins/sudoers/sudo_nss.c:309 +#, c-format +msgid "User %s may run the following commands on %s:\n" +msgstr "Ο χρήστης %s μπορεί να εκτελέσει τις παρακάτω εντολές στο %s:\n" + +#: plugins/sudoers/sudo_nss.c:318 +#, c-format +msgid "User %s is not allowed to run sudo on %s.\n" +msgstr "Ο χρήστης %s δεν επιτρέπεται να εκτελέσει sudo στο %s.\n" + +#: plugins/sudoers/sudoers.c:154 plugins/sudoers/sudoers.c:188 +#: plugins/sudoers/sudoers.c:675 +msgid "problem with defaults entries" +msgstr "πρόβλημα με τις προεπιλεγμένες καταχωρίσεις" + +#: plugins/sudoers/sudoers.c:160 +msgid "no valid sudoers sources found, quitting" +msgstr "δεν βρέθηκαν έγκυρες πηγές χρηστών sudo, έξοδος" + +#: plugins/sudoers/sudoers.c:222 +msgid "sudoers specifies that root is not allowed to sudo" +msgstr "οι χρήστες sudo καθορίζουν ότι ο υπερχρήστης δεν επιτρέπεται να εκτελέσει sudo" + +#: plugins/sudoers/sudoers.c:261 +msgid "you are not permitted to use the -C option" +msgstr "δεν επιτρέπετε να χρησιμοποιήσετε την επιλογή -C" + +#: plugins/sudoers/sudoers.c:314 +#, c-format +msgid "timestamp owner (%s): No such user" +msgstr "κάτοχος χρονικής σήμανσης (%s): Δεν υπάρχει τέτοιος χρήστης" + +#: plugins/sudoers/sudoers.c:328 +msgid "no tty" +msgstr "χωρίς tty" + +#: plugins/sudoers/sudoers.c:329 +msgid "sorry, you must have a tty to run sudo" +msgstr "συγνώμη, πρέπει να έχετε ένα tty για να εκτελέσετε sudo" + +#: plugins/sudoers/sudoers.c:377 +msgid "command in current directory" +msgstr "εντολή στο τρέχοντα κατάλογο" + +#: plugins/sudoers/sudoers.c:394 +msgid "sorry, you are not allowed to preserve the environment" +msgstr "συγνώμη, δεν σας επιτρέπεται να διατηρήσετε το περιβάλλον" + +#: plugins/sudoers/sudoers.c:725 plugins/sudoers/visudo.c:326 +#: plugins/sudoers/visudo.c:590 +#, c-format +msgid "unable to stat %s" +msgstr "αδύνατο να εκτελεστεί stat %s" + +#: plugins/sudoers/sudoers.c:728 +#, c-format +msgid "%s is not a regular file" +msgstr "το %s δεν είναι ένα κανονικό αρχείο" + +#: plugins/sudoers/sudoers.c:731 plugins/sudoers/timestamp.c:283 toke.l:923 +#, c-format +msgid "%s is owned by uid %u, should be %u" +msgstr "το %s κατέχεται από uid %u, θα έπρεπε να είναι %u" + +#: plugins/sudoers/sudoers.c:735 toke.l:930 +#, c-format +msgid "%s is world writable" +msgstr "Το %s είναι εγγράψιμο από όλους" + +#: plugins/sudoers/sudoers.c:738 toke.l:935 +#, c-format +msgid "%s is owned by gid %u, should be %u" +msgstr "το %s κατέχεται από gid %u, θα έπρεπε να είναι %u" + +#: plugins/sudoers/sudoers.c:764 +#, c-format +msgid "only root can use `-c %s'" +msgstr "μόνο ο υπερχρήστης μπορεί να χρησιμοποιήσει `-c %s'" + +#: plugins/sudoers/sudoers.c:781 plugins/sudoers/sudoers.c:783 +#, c-format +msgid "unknown login class: %s" +msgstr "άγνωστη κλάση σύνδεσης: %s" + +#: plugins/sudoers/sudoers.c:815 +#, c-format +msgid "unable to resolve host %s" +msgstr "αδύνατη η επίλυση οικοδεσπότη %s" + +#: plugins/sudoers/sudoers.c:878 plugins/sudoers/testsudoers.c:387 +#, c-format +msgid "unknown group: %s" +msgstr "άγνωστη ομάδα: %s" + +#: plugins/sudoers/sudoreplay.c:274 +#, c-format +msgid "invalid filter option: %s" +msgstr "άκυρη επιλογή φίλτρου: %s" + +#: plugins/sudoers/sudoreplay.c:287 +#, c-format +msgid "invalid max wait: %s" +msgstr "άκυρη μέγιστη αναμονή: %s" + +#: plugins/sudoers/sudoreplay.c:293 +#, c-format +msgid "invalid speed factor: %s" +msgstr "άκυρος συντελεστής ταχύτητας: %s" + +#: plugins/sudoers/sudoreplay.c:296 plugins/sudoers/visudo.c:184 +#, c-format +msgid "%s version %s\n" +msgstr "%s έκδοση %s\n" + +#: plugins/sudoers/sudoreplay.c:328 +#, c-format +msgid "%s/%.2s/%.2s/%.2s/timing: %s" +msgstr "%s/%.2s/%.2s/%.2s/χρονισμός: %s" + +#: plugins/sudoers/sudoreplay.c:334 +#, c-format +msgid "%s/%s/timing: %s" +msgstr "%s/%s/χρονισμός: %s" + +#: plugins/sudoers/sudoreplay.c:350 +#, c-format +msgid "Replaying sudo session: %s\n" +msgstr "Αναπαράγεται η συνεδρία sudo: %s\n" + +#: plugins/sudoers/sudoreplay.c:356 +#, c-format +msgid "Warning: your terminal is too small to properly replay the log.\n" +msgstr "Προειδοποίηση: το τερματικό σας είναι υπερβολικά μικρό για σωστή επανάληψη του ημερολογίου.\n" + +#: plugins/sudoers/sudoreplay.c:357 +#, c-format +msgid "Log geometry is %d x %d, your terminal's geometry is %d x %d." +msgstr "Η γεωμετρία του ημερολογίου είναι %d x %d, η γεωμετρία του τερματικού σας είναι %d x %d." + +#: plugins/sudoers/sudoreplay.c:412 +msgid "unable to set tty to raw mode" +msgstr "αδύνατος ο ορισμός σε ακατέργαστη κατάσταση" + +#: plugins/sudoers/sudoreplay.c:443 +#, c-format +msgid "invalid timing file line: %s" +msgstr "άκυρη γραμμή αρχείου χρονισμού: %s" + +#: plugins/sudoers/sudoreplay.c:649 plugins/sudoers/sudoreplay.c:674 +#, c-format +msgid "ambiguous expression \"%s\"" +msgstr "ασαφής παράσταση \"%s\"" + +#: plugins/sudoers/sudoreplay.c:696 +msgid "unmatched ')' in expression" +msgstr "ασύμφωνο ')' σε παράσταση" + +#: plugins/sudoers/sudoreplay.c:700 +#, c-format +msgid "unknown search term \"%s\"" +msgstr "άγνωστος όρος αναζήτησης \"%s\"" + +#: plugins/sudoers/sudoreplay.c:714 +#, c-format +msgid "%s requires an argument" +msgstr "το %s απαιτεί ένα όρισμα" + +#: plugins/sudoers/sudoreplay.c:718 plugins/sudoers/sudoreplay.c:1090 +#, c-format +msgid "invalid regular expression: %s" +msgstr "άκυρη κανονική έκφραση: %s" + +#: plugins/sudoers/sudoreplay.c:724 +#, c-format +msgid "could not parse date \"%s\"" +msgstr "αδύνατη η ανάλυση ημερομηνίας \"%s\"" + +#: plugins/sudoers/sudoreplay.c:733 +msgid "unmatched '(' in expression" +msgstr "ασύμφωνο '(' σε παράσταση" + +#: plugins/sudoers/sudoreplay.c:735 +msgid "illegal trailing \"or\"" +msgstr "απαράδεκτο τελικό \"or\"" + +#: plugins/sudoers/sudoreplay.c:737 +msgid "illegal trailing \"!\"" +msgstr "απαράδεκτο τελικό \"!\"" + +#: plugins/sudoers/sudoreplay.c:790 +#, c-format +msgid "unknown search type %d" +msgstr "άγνωστος τύπος αναζήτησης %d" + +#: plugins/sudoers/sudoreplay.c:827 +#, c-format +msgid "%s: invalid log file" +msgstr "%s: άκυρο αρχείο ημερολογίου" + +#: plugins/sudoers/sudoreplay.c:845 +#, c-format +msgid "%s: time stamp field is missing" +msgstr "%s: το πεδίο σήμανσης χρόνου λείπει" + +#: plugins/sudoers/sudoreplay.c:852 +#, c-format +msgid "%s: time stamp %s: %s" +msgstr "%s: η σήμανση χρόνου %s: %s" + +#: plugins/sudoers/sudoreplay.c:859 +#, c-format +msgid "%s: user field is missing" +msgstr "%s: το πεδίο χρήστη λείπει" + +#: plugins/sudoers/sudoreplay.c:867 +#, c-format +msgid "%s: runas user field is missing" +msgstr "%s: το πεδίο χρήστη runas λείπει" + +#: plugins/sudoers/sudoreplay.c:875 +#, c-format +msgid "%s: runas group field is missing" +msgstr "%s: το πεδίο ομάδας runas λείπει" + +#: plugins/sudoers/sudoreplay.c:1230 +#, c-format +msgid "usage: %s [-h] [-d dir] [-m num] [-s num] ID\n" +msgstr "χρήση: %s [-h] [-d dir] [-m num] [-s num] ID\n" + +#: plugins/sudoers/sudoreplay.c:1233 +#, c-format +msgid "usage: %s [-h] [-d dir] -l [search expression]\n" +msgstr "χρήση: %s [-h] [-d dir] -l [παράσταση αναζήτησης]\n" + +#: plugins/sudoers/sudoreplay.c:1242 +#, c-format +msgid "" +"%s - replay sudo session logs\n" +"\n" +msgstr "" +"%s - επανάληψη ημερολογίων συνεδρίας sudo\n" +"\n" + +#: plugins/sudoers/sudoreplay.c:1244 +msgid "" +"\n" +"Options:\n" +" -d, --directory=dir specify directory for session logs\n" +" -f, --filter=filter specify which I/O type(s) to display\n" +" -h, --help display help message and exit\n" +" -l, --list list available session IDs, with optional expression\n" +" -m, --max-wait=num max number of seconds to wait between events\n" +" -s, --speed=num speed up or slow down output\n" +" -V, --version display version information and exit" +msgstr "" +"\n" +"Επιλογές:\n" +" -d, --directory=κατάλογος καθορισμός καταλόγου για ημερολόγια συνεδρίας\n" +" -f, --filter=φίλτρο ορισμός ποιοι τύποι εισόδου/εξόδου να εμφανίζονται\n" +" -h, --help εμφάνιση μηνύματος βοήθειας και έξοδος\n" +" -l, --list κατάλογος διαθέσιμων αναγνωριστικών συνεδρίας, με προαιρετική παράσταση\n" +" -m, --max-wait=αριθ μέγιστος αριθμός δευτερολέπτων αναμονής μεταξύ συμβάντων\n" +" -s, --speed=αριθ επιτάχυνση ή επιβράδυνση εξόδου\n" +" -V, --version εμφάνιση πληροφοριών έκδοσης και έξοδος" + +#: plugins/sudoers/testsudoers.c:326 +msgid "\thost unmatched" +msgstr " ασύμφωνος οικοδεσπότης" + +#: plugins/sudoers/testsudoers.c:329 +msgid "" +"\n" +"Command allowed" +msgstr "" +"\n" +"Επιτρεπόμενη εντολή" + +#: plugins/sudoers/testsudoers.c:330 +msgid "" +"\n" +"Command denied" +msgstr "" +"\n" +"Απαγορευμένη εντολή" + +#: plugins/sudoers/testsudoers.c:330 +msgid "" +"\n" +"Command unmatched" +msgstr "" +"\n" +"ασύμφωνη εντολή" + +#: plugins/sudoers/timestamp.c:191 +#, c-format +msgid "unable to truncate time stamp file to %lld bytes" +msgstr "αδύνατη η περικοπή αρχείου σήμανσης χρόνου σε %lld ψηφιολέξεις" + +#: plugins/sudoers/timestamp.c:291 +#, c-format +msgid "%s is group writable" +msgstr "το %s είναι εγγράψιμη ομάδα" + +#: plugins/sudoers/timestamp.c:311 +#, c-format +msgid "timestamp path too long: %s/%s" +msgstr "η διαδρομή χρονικής σήμανσης είναι υπερβολικά μεγάλη: %s/%s" + +#: plugins/sudoers/timestamp.c:484 +msgid "ignoring time stamp from the future" +msgstr "να αγνοείται η χρονική σήμανση στο μέλλον" + +#: plugins/sudoers/timestamp.c:496 +#, c-format +msgid "time stamp too far in the future: %20.20s" +msgstr "η χρονική σήμανση υπερβολικά μακρινή στο μέλλον: %20.20s" + +#: plugins/sudoers/timestamp.c:596 plugins/sudoers/timestamp.c:618 +#, c-format +msgid "lecture status path too long: %s/%s" +msgstr "η διαδρομή κατάστασης οδηγίας υπερβολικά μεγάλη: %s/%s" + +#: plugins/sudoers/toke_util.c:176 +msgid "fill_args: buffer overflow" +msgstr "fill_args: υπερχείλιση ενδιάμεσης μνήμης" + +#: plugins/sudoers/visudo.c:186 +#, c-format +msgid "%s grammar version %d\n" +msgstr "γραμματική %s έκδοση %d\n" + +#: plugins/sudoers/visudo.c:257 plugins/sudoers/visudo.c:543 +#, c-format +msgid "press return to edit %s: " +msgstr "πατήστε return για να επεξεργαστείτε το %s: " + +#: plugins/sudoers/visudo.c:342 plugins/sudoers/visudo.c:348 +msgid "write error" +msgstr "σφάλμα εγγραφής" + +#: plugins/sudoers/visudo.c:430 +#, c-format +msgid "unable to stat temporary file (%s), %s unchanged" +msgstr "αδύνατη η εκτέλεση stat προσωρινού αρχείου (%s), το %s δεν άλλαξε" + +#: plugins/sudoers/visudo.c:435 +#, c-format +msgid "zero length temporary file (%s), %s unchanged" +msgstr "προσωρινό αρχείο μηδενικού μήκους (%s), το %s αμετάβλητο" + +#: plugins/sudoers/visudo.c:441 +#, c-format +msgid "editor (%s) failed, %s unchanged" +msgstr "αποτυχία επεξεργασίας του (%s), το %s αμετάβλητο" + +#: plugins/sudoers/visudo.c:463 +#, c-format +msgid "%s unchanged" +msgstr "αμετάβλητο %s" + +#: plugins/sudoers/visudo.c:488 +#, c-format +msgid "unable to re-open temporary file (%s), %s unchanged." +msgstr "αδύνατο το ξαναάνοιγμα του προσωρινού αρχείου (%s), το %s αμετάβλητο" + +#: plugins/sudoers/visudo.c:498 +#, c-format +msgid "unabled to parse temporary file (%s), unknown error" +msgstr "αδύνατη η ανάλυση του προσωρινού αρχείου (%s), άγνωστο σφάλμα" + +#: plugins/sudoers/visudo.c:534 +#, c-format +msgid "internal error, unable to find %s in list!" +msgstr "εσωτερικό σφάλμα, αδύνατη η εύρεση του %s στον κατάλογο!" + +#: plugins/sudoers/visudo.c:592 plugins/sudoers/visudo.c:601 +#, c-format +msgid "unable to set (uid, gid) of %s to (%u, %u)" +msgstr "αδύνατος ο ορισμός (uid, gid) του %s στο (%u, %u)" + +#: plugins/sudoers/visudo.c:596 plugins/sudoers/visudo.c:606 +#, c-format +msgid "unable to change mode of %s to 0%o" +msgstr "αδύνατη η αλλαγή κατάστασης του %s στο 0%o" + +#: plugins/sudoers/visudo.c:623 +#, c-format +msgid "%s and %s not on the same file system, using mv to rename" +msgstr "τα %s και %s δεν έχουν το ίδιο σύστημα αρχείων, χρησιμοποιήστε το mv για μετονομασία" + +#: plugins/sudoers/visudo.c:637 +#, c-format +msgid "command failed: '%s %s %s', %s unchanged" +msgstr "αποτυχία εντολής: '%s %s %s', το %s αμετάβλητο" + +#: plugins/sudoers/visudo.c:647 +#, c-format +msgid "error renaming %s, %s unchanged" +msgstr "σφάλμα μετονομασίας του %s, το %s αμετάβλητο" + +#: plugins/sudoers/visudo.c:709 +msgid "What now? " +msgstr "Τι να γίνει τώρα; " + +#: plugins/sudoers/visudo.c:723 +msgid "" +"Options are:\n" +" (e)dit sudoers file again\n" +" e(x)it without saving changes to sudoers file\n" +" (Q)uit and save changes to sudoers file (DANGER!)\n" +msgstr "" +"Οι επιλογές είναι:\n" +" (e)dit νέα επεξεργασία του αρχείου χρηστών sudo\n" +" e(x)it έξοδος χωρίς αποθήκευση αλλαγών στο αρχείο χρηστών sudo\n" +" (Q)uit έξοδος και αποθήκευση αλλαγών στο αρχείο χρηστών sudo (ΚΙΝΔΥΝΟΣ!)\n" + +#: plugins/sudoers/visudo.c:771 +#, c-format +msgid "unable to run %s" +msgstr "αδύνατη η εκτέλεση του %s" + +#: plugins/sudoers/visudo.c:797 +#, c-format +msgid "%s: wrong owner (uid, gid) should be (%u, %u)\n" +msgstr "%s: εσφαλμένος κάτοχος (uid, gid) πρέπει να είναι (%u, %u)\n" + +#: plugins/sudoers/visudo.c:804 +#, c-format +msgid "%s: bad permissions, should be mode 0%o\n" +msgstr "%s: εσφαλμένα δικαιώματα, πρέπει να είναι κατάσταση 0%o\n" + +#: plugins/sudoers/visudo.c:829 plugins/sudoers/visudo_json.c:1008 +#, c-format +msgid "failed to parse %s file, unknown error" +msgstr "αποτυχία ανάλυσης αρχείου %s, άγνωστο σφάλμα" + +#: plugins/sudoers/visudo.c:845 plugins/sudoers/visudo_json.c:1017 +#, c-format +msgid "parse error in %s near line %d\n" +msgstr "ανάλυση σφάλματος στο %s κοντά στη γραμμή %d\n" + +#: plugins/sudoers/visudo.c:848 plugins/sudoers/visudo_json.c:1020 +#, c-format +msgid "parse error in %s\n" +msgstr "ανάλυση σφάλματος %s\n" + +#: plugins/sudoers/visudo.c:856 plugins/sudoers/visudo.c:863 +#, c-format +msgid "%s: parsed OK\n" +msgstr "%s: επιτυχής ανάλυση\n" + +#: plugins/sudoers/visudo.c:909 +#, c-format +msgid "%s busy, try again later" +msgstr "το %s είναι απασχολημένο, ξαναδοκιμάστε αργότερα" + +#: plugins/sudoers/visudo.c:953 +#, c-format +msgid "specified editor (%s) doesn't exist" +msgstr "ο συγκεκριμένος επεξεργαστής (%s) δεν υπάρχει" + +#: plugins/sudoers/visudo.c:976 +#, c-format +msgid "unable to stat editor (%s)" +msgstr "αδύνατο να εκτελέσουμε stat στον επεξεργαστή (%s)" + +#: plugins/sudoers/visudo.c:1024 +#, c-format +msgid "no editor found (editor path = %s)" +msgstr "δεν βρέθηκε κανένας επεξεργαστής (διαδρομή επεξεργαστή = %s)" + +#: plugins/sudoers/visudo.c:1117 +#, c-format +msgid "Error: cycle in %s_Alias `%s'" +msgstr "Σφάλμα: κύκλος στο %s_Alias `%s'" + +#: plugins/sudoers/visudo.c:1118 +#, c-format +msgid "Warning: cycle in %s_Alias `%s'" +msgstr "Προειδοποίηση: κύκλος στο %s_Alias `%s'" + +#: plugins/sudoers/visudo.c:1124 +#, c-format +msgid "Error: %s_Alias `%s' referenced but not defined" +msgstr "Σφάλμα: αναφέρθηκε το %s_Alias `%s', αλλά δεν ορίστηκε" + +#: plugins/sudoers/visudo.c:1125 +#, c-format +msgid "Warning: %s_Alias `%s' referenced but not defined" +msgstr "Προειδοποίηση: αναφέρθηκε το %s_Alias `%s', αλλά δεν ορίστηκε" + +#: plugins/sudoers/visudo.c:1267 +#, c-format +msgid "%s: unused %s_Alias %s" +msgstr "%s: αχρησιμοποίητο %s_Alias %s" + +#: plugins/sudoers/visudo.c:1329 +#, c-format +msgid "" +"%s - safely edit the sudoers file\n" +"\n" +msgstr "" +"%s - ασφαλής επεξεργασία του αρχείου χρηστών sudo\n" +"\n" + +#: plugins/sudoers/visudo.c:1331 +msgid "" +"\n" +"Options:\n" +" -c, --check check-only mode\n" +" -f, --file=file specify sudoers file location\n" +" -h, --help display help message and exit\n" +" -q, --quiet less verbose (quiet) syntax error messages\n" +" -s, --strict strict syntax checking\n" +" -V, --version display version information and exit\n" +" -x, --export=file export sudoers in JSON format" +msgstr "" +"\n" +"Επιλογές:\n" +" -c, --check κατάσταση μόνο ελέγχου\n" +" -f, --file=αρχείο καθορισμός θέσης αρχείου χρηστών sudo\n" +" -h, --help εμφάνιση μηνύματος βοήθειας και έξοδος\n" +" -q, --quiet λιγότερο αναλυτική (αθόρυβη) σύνταξη μηνυμάτων σφαλμάτων\n" +" -s, --strict αυστηρός έλεγχος σύνταξης\n" +" -V, --version εμφάνιση πληροφοριών έκδοσης και έξοδος\n" +" -x, --export=αρχείο εξαγωγή χρηστών sudo σε μορφή JSON" + +#: toke.l:894 +msgid "too many levels of includes" +msgstr "περιλαμβάνει υπερβολικά πολλά επίπεδα" diff --git a/plugins/sudoers/po/eo.mo b/plugins/sudoers/po/eo.mo new file mode 100644 index 0000000..3f702c9 Binary files /dev/null and b/plugins/sudoers/po/eo.mo differ diff --git a/plugins/sudoers/po/eo.po b/plugins/sudoers/po/eo.po new file mode 100644 index 0000000..87fad56 --- /dev/null +++ b/plugins/sudoers/po/eo.po @@ -0,0 +1,3789 @@ +# Esperanto translations for sudo package. +# This file is distributed under the same license as the sudo package. +# Keith Bowes , 2012, 2019-2023. +# Felipe Castro , 2013, 2014, 2015, 2016, 2017, 2018, 2019. +# +msgid "" +msgstr "" +"Project-Id-Version: sudoers 1.9.12b2\n" +"Report-Msgid-Bugs-To: https://bugzilla.sudo.ws\n" +"POT-Creation-Date: 2022-10-10 09:13-0600\n" +"PO-Revision-Date: 2023-01-01 15:47-0500\n" +"Last-Translator: Keith Bowes \n" +"Language-Team: Esperanto \n" +"Language: eo\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 2.0.7\n" + +#: confstr.sh:1 gram.y:1220 plugins/sudoers/logging.c:862 +msgid "syntax error" +msgstr "sintaksa eraro" + +#: confstr.sh:2 +msgid "%p's password: " +msgstr "Pasvorto de %p: " + +#: confstr.sh:3 +msgid "[sudo] password for %p: " +msgstr "[sudo] pasvorto por %p: " + +#: confstr.sh:4 +msgid "Password: " +msgstr "Pasvorto: " + +#: confstr.sh:5 +msgid "*** SECURITY information for %h ***" +msgstr "*** SEKURECO: informoj por %h ***" + +#: confstr.sh:6 +msgid "Sorry, try again." +msgstr "Malĝuste, reprovu." + +#: gram.y:237 gram.y:304 gram.y:313 gram.y:322 gram.y:332 gram.y:342 +#: gram.y:366 gram.y:393 gram.y:402 gram.y:410 gram.y:419 gram.y:428 +#: gram.y:502 gram.y:512 gram.y:524 gram.y:572 gram.y:581 gram.y:590 +#: gram.y:599 gram.y:731 gram.y:739 gram.y:750 gram.y:762 gram.y:781 +#: gram.y:944 gram.y:949 gram.y:957 gram.y:971 gram.y:977 gram.y:1099 +#: gram.y:1108 gram.y:1116 gram.y:1125 gram.y:1134 gram.y:1163 gram.y:1172 +#: gram.y:1180 gram.y:1280 gram.y:1410 gram.y:1777 gram.y:1827 +#: lib/eventlog/eventlog.c:309 lib/eventlog/eventlog.c:382 +#: lib/eventlog/eventlog.c:827 lib/eventlog/eventlog.c:904 +#: lib/eventlog/eventlog.c:1204 lib/iolog/iolog_filter.c:142 +#: lib/iolog/iolog_filter.c:202 lib/iolog/iolog_filter.c:233 +#: lib/iolog/iolog_json.c:150 lib/iolog/iolog_json.c:382 +#: lib/iolog/iolog_json.c:412 lib/iolog/iolog_json.c:555 +#: lib/iolog/iolog_legacy.c:100 lib/iolog/iolog_legacy.c:111 +#: lib/iolog/iolog_legacy.c:123 lib/iolog/iolog_legacy.c:133 +#: lib/iolog/iolog_legacy.c:139 lib/iolog/iolog_loginfo.c:76 +#: lib/iolog/iolog_loginfo.c:212 logsrvd/iolog_writer.c:95 +#: logsrvd/iolog_writer.c:100 logsrvd/iolog_writer.c:134 +#: logsrvd/iolog_writer.c:182 logsrvd/iolog_writer.c:215 +#: logsrvd/iolog_writer.c:225 logsrvd/iolog_writer.c:254 +#: logsrvd/iolog_writer.c:275 logsrvd/iolog_writer.c:287 +#: logsrvd/iolog_writer.c:297 logsrvd/iolog_writer.c:307 +#: logsrvd/iolog_writer.c:317 logsrvd/iolog_writer.c:329 +#: logsrvd/iolog_writer.c:364 logsrvd/iolog_writer.c:370 +#: logsrvd/iolog_writer.c:377 logsrvd/iolog_writer.c:383 +#: logsrvd/iolog_writer.c:567 logsrvd/logsrv_util.c:69 logsrvd/logsrvd.c:301 +#: logsrvd/logsrvd.c:310 logsrvd/logsrvd.c:1050 logsrvd/logsrvd.c:1113 +#: logsrvd/logsrvd.c:1582 logsrvd/logsrvd.c:1587 logsrvd/logsrvd.c:1771 +#: logsrvd/logsrvd.c:1988 logsrvd/logsrvd_conf.c:357 +#: logsrvd/logsrvd_conf.c:370 logsrvd/logsrvd_conf.c:511 +#: logsrvd/logsrvd_conf.c:534 logsrvd/logsrvd_conf.c:538 +#: logsrvd/logsrvd_conf.c:556 logsrvd/logsrvd_conf.c:626 +#: logsrvd/logsrvd_conf.c:650 logsrvd/logsrvd_conf.c:678 +#: logsrvd/logsrvd_conf.c:692 logsrvd/logsrvd_conf.c:706 +#: logsrvd/logsrvd_conf.c:720 logsrvd/logsrvd_conf.c:734 +#: logsrvd/logsrvd_conf.c:748 logsrvd/logsrvd_conf.c:829 +#: logsrvd/logsrvd_conf.c:1036 logsrvd/logsrvd_conf.c:1053 +#: logsrvd/logsrvd_conf.c:1448 logsrvd/logsrvd_conf.c:1595 +#: logsrvd/logsrvd_conf.c:1621 logsrvd/logsrvd_conf.c:1633 +#: logsrvd/logsrvd_conf.c:1640 logsrvd/logsrvd_conf.c:1646 +#: logsrvd/logsrvd_conf.c:1743 logsrvd/logsrvd_journal.c:75 +#: logsrvd/logsrvd_journal.c:213 logsrvd/logsrvd_journal.c:214 +#: logsrvd/logsrvd_journal.c:270 logsrvd/logsrvd_journal.c:430 +#: logsrvd/logsrvd_journal.c:432 logsrvd/logsrvd_local.c:215 +#: logsrvd/logsrvd_local.c:216 logsrvd/logsrvd_local.c:278 +#: logsrvd/logsrvd_local.c:279 logsrvd/logsrvd_local.c:417 +#: logsrvd/logsrvd_local.c:466 logsrvd/logsrvd_local.c:467 +#: logsrvd/logsrvd_local.c:472 logsrvd/logsrvd_local.c:473 +#: logsrvd/logsrvd_queue.c:159 logsrvd/logsrvd_queue.c:189 +#: logsrvd/logsrvd_queue.c:266 logsrvd/logsrvd_relay.c:444 +#: logsrvd/logsrvd_relay.c:743 logsrvd/logsrvd_relay.c:850 +#: logsrvd/sendlog.c:251 logsrvd/sendlog.c:260 logsrvd/sendlog.c:291 +#: logsrvd/sendlog.c:338 logsrvd/sendlog.c:615 logsrvd/sendlog.c:1801 +#: plugins/sudoers/audit.c:116 plugins/sudoers/auth/bsdauth.c:150 +#: plugins/sudoers/auth/kerb5.c:121 plugins/sudoers/auth/kerb5.c:148 +#: plugins/sudoers/auth/pam.c:687 plugins/sudoers/auth/rfc1938.c:111 +#: plugins/sudoers/auth/sia.c:59 plugins/sudoers/check_aliases.c:168 +#: plugins/sudoers/cvtsudoers.c:131 plugins/sudoers/cvtsudoers.c:175 +#: plugins/sudoers/cvtsudoers.c:192 plugins/sudoers/cvtsudoers.c:203 +#: plugins/sudoers/cvtsudoers.c:333 plugins/sudoers/cvtsudoers.c:372 +#: plugins/sudoers/cvtsudoers.c:392 plugins/sudoers/cvtsudoers.c:537 +#: plugins/sudoers/cvtsudoers.c:670 plugins/sudoers/cvtsudoers.c:688 +#: plugins/sudoers/cvtsudoers.c:862 plugins/sudoers/cvtsudoers.c:870 +#: plugins/sudoers/cvtsudoers.c:1365 plugins/sudoers/cvtsudoers.c:1369 +#: plugins/sudoers/cvtsudoers.c:1471 plugins/sudoers/cvtsudoers_csv.c:183 +#: plugins/sudoers/cvtsudoers_csv.c:246 plugins/sudoers/cvtsudoers_json.c:76 +#: plugins/sudoers/cvtsudoers_ldif.c:151 plugins/sudoers/cvtsudoers_ldif.c:194 +#: plugins/sudoers/cvtsudoers_ldif.c:235 plugins/sudoers/cvtsudoers_ldif.c:300 +#: plugins/sudoers/cvtsudoers_ldif.c:376 plugins/sudoers/cvtsudoers_ldif.c:430 +#: plugins/sudoers/cvtsudoers_ldif.c:438 plugins/sudoers/cvtsudoers_ldif.c:449 +#: plugins/sudoers/cvtsudoers_ldif.c:456 plugins/sudoers/cvtsudoers_ldif.c:468 +#: plugins/sudoers/cvtsudoers_ldif.c:481 plugins/sudoers/cvtsudoers_ldif.c:489 +#: plugins/sudoers/cvtsudoers_ldif.c:636 plugins/sudoers/cvtsudoers_merge.c:47 +#: plugins/sudoers/cvtsudoers_merge.c:52 +#: plugins/sudoers/cvtsudoers_merge.c:353 +#: plugins/sudoers/cvtsudoers_merge.c:399 +#: plugins/sudoers/cvtsudoers_merge.c:446 +#: plugins/sudoers/cvtsudoers_merge.c:467 +#: plugins/sudoers/cvtsudoers_merge.c:553 +#: plugins/sudoers/cvtsudoers_merge.c:564 +#: plugins/sudoers/cvtsudoers_merge.c:633 +#: plugins/sudoers/cvtsudoers_merge.c:1158 +#: plugins/sudoers/cvtsudoers_merge.c:1231 plugins/sudoers/defaults.c:434 +#: plugins/sudoers/defaults.c:658 plugins/sudoers/defaults.c:1019 +#: plugins/sudoers/defaults.c:1187 plugins/sudoers/editor.c:188 +#: plugins/sudoers/env.c:263 plugins/sudoers/exptilde.c:92 +#: plugins/sudoers/filedigest.c:54 plugins/sudoers/filedigest.c:70 +#: plugins/sudoers/gc.c:57 plugins/sudoers/group_plugin.c:228 +#: plugins/sudoers/interfaces.c:68 plugins/sudoers/iolog.c:268 +#: plugins/sudoers/iolog.c:668 plugins/sudoers/iolog.c:694 +#: plugins/sudoers/ldap.c:184 plugins/sudoers/ldap.c:464 +#: plugins/sudoers/ldap.c:755 plugins/sudoers/ldap.c:919 +#: plugins/sudoers/ldap.c:1335 plugins/sudoers/ldap.c:1761 +#: plugins/sudoers/ldap.c:1798 plugins/sudoers/ldap.c:1879 +#: plugins/sudoers/ldap.c:2014 plugins/sudoers/ldap.c:2115 +#: plugins/sudoers/ldap.c:2131 plugins/sudoers/ldap_conf.c:218 +#: plugins/sudoers/ldap_conf.c:250 plugins/sudoers/ldap_conf.c:302 +#: plugins/sudoers/ldap_conf.c:338 plugins/sudoers/ldap_conf.c:444 +#: plugins/sudoers/ldap_conf.c:459 plugins/sudoers/ldap_conf.c:564 +#: plugins/sudoers/ldap_conf.c:597 plugins/sudoers/ldap_conf.c:689 +#: plugins/sudoers/ldap_conf.c:771 plugins/sudoers/ldap_util.c:294 +#: plugins/sudoers/ldap_util.c:301 plugins/sudoers/ldap_util.c:614 +#: plugins/sudoers/linux_audit.c:86 plugins/sudoers/log_client.c:117 +#: plugins/sudoers/log_client.c:402 plugins/sudoers/log_client.c:715 +#: plugins/sudoers/log_client.c:736 plugins/sudoers/log_client.c:1416 +#: plugins/sudoers/log_client.c:1537 plugins/sudoers/log_client.c:1637 +#: plugins/sudoers/log_client.c:1973 plugins/sudoers/log_client.c:2032 +#: plugins/sudoers/logging.c:110 plugins/sudoers/logging.c:189 +#: plugins/sudoers/logging.c:453 plugins/sudoers/logging.c:668 +#: plugins/sudoers/logging.c:805 plugins/sudoers/match_command.c:335 +#: plugins/sudoers/match_command.c:603 plugins/sudoers/match_command.c:654 +#: plugins/sudoers/match_command.c:728 plugins/sudoers/match_command.c:776 +#: plugins/sudoers/match_digest.c:93 plugins/sudoers/parse.c:227 +#: plugins/sudoers/parse.c:244 plugins/sudoers/parse.c:263 +#: plugins/sudoers/parse.c:282 plugins/sudoers/parse.c:299 +#: plugins/sudoers/parse.c:322 plugins/sudoers/parse.c:333 +#: plugins/sudoers/parse_ldif.c:153 plugins/sudoers/parse_ldif.c:184 +#: plugins/sudoers/parse_ldif.c:253 plugins/sudoers/parse_ldif.c:261 +#: plugins/sudoers/parse_ldif.c:266 plugins/sudoers/parse_ldif.c:342 +#: plugins/sudoers/parse_ldif.c:353 plugins/sudoers/parse_ldif.c:380 +#: plugins/sudoers/parse_ldif.c:397 plugins/sudoers/parse_ldif.c:409 +#: plugins/sudoers/parse_ldif.c:413 plugins/sudoers/parse_ldif.c:427 +#: plugins/sudoers/parse_ldif.c:484 plugins/sudoers/parse_ldif.c:598 +#: plugins/sudoers/parse_ldif.c:628 plugins/sudoers/parse_ldif.c:653 +#: plugins/sudoers/parse_ldif.c:711 plugins/sudoers/parse_ldif.c:728 +#: plugins/sudoers/parse_ldif.c:756 plugins/sudoers/parse_ldif.c:763 +#: plugins/sudoers/policy.c:624 plugins/sudoers/policy.c:1026 +#: plugins/sudoers/prompt.c:93 plugins/sudoers/pwutil.c:199 +#: plugins/sudoers/pwutil.c:270 plugins/sudoers/pwutil.c:348 +#: plugins/sudoers/pwutil.c:522 plugins/sudoers/pwutil.c:587 +#: plugins/sudoers/pwutil.c:659 plugins/sudoers/pwutil.c:857 +#: plugins/sudoers/pwutil.c:913 plugins/sudoers/pwutil.c:957 +#: plugins/sudoers/pwutil.c:1014 plugins/sudoers/sssd.c:145 +#: plugins/sudoers/sssd.c:185 plugins/sudoers/sssd.c:414 +#: plugins/sudoers/sssd.c:479 plugins/sudoers/sssd.c:505 +#: plugins/sudoers/sssd.c:568 plugins/sudoers/sssd.c:761 +#: plugins/sudoers/strvec_join.c:53 plugins/sudoers/stubs.c:112 +#: plugins/sudoers/stubs.c:120 plugins/sudoers/sudoers.c:354 +#: plugins/sudoers/sudoers.c:380 plugins/sudoers/sudoers.c:448 +#: plugins/sudoers/sudoers.c:457 plugins/sudoers/sudoers.c:498 +#: plugins/sudoers/sudoers.c:827 plugins/sudoers/sudoers.c:877 +#: plugins/sudoers/sudoers.c:1015 plugins/sudoers/sudoers.c:1075 +#: plugins/sudoers/sudoers.c:1330 plugins/sudoers/sudoreplay.c:562 +#: plugins/sudoers/sudoreplay.c:565 plugins/sudoers/sudoreplay.c:1281 +#: plugins/sudoers/sudoreplay.c:1503 plugins/sudoers/sudoreplay.c:1507 +#: plugins/sudoers/testsudoers.c:120 plugins/sudoers/testsudoers.c:224 +#: plugins/sudoers/testsudoers.c:241 plugins/sudoers/testsudoers.c:588 +#: plugins/sudoers/timestamp.c:451 plugins/sudoers/timestamp.c:495 +#: plugins/sudoers/timestamp.c:1017 plugins/sudoers/timestamp.c:1146 +#: plugins/sudoers/toke_util.c:78 plugins/sudoers/toke_util.c:106 +#: plugins/sudoers/toke_util.c:131 plugins/sudoers/toke_util.c:161 +#: plugins/sudoers/toke_util.c:200 plugins/sudoers/tsdump.c:123 +#: plugins/sudoers/visudo.c:150 plugins/sudoers/visudo.c:385 +#: plugins/sudoers/visudo.c:391 plugins/sudoers/visudo.c:498 +#: plugins/sudoers/visudo.c:1054 toke.l:1023 toke.l:1155 toke.l:1226 +msgid "unable to allocate memory" +msgstr "ne eblas rezervi memoron" + +#: gram.y:623 +msgid "a digest requires a path name" +msgstr "resumo postulas vojnomon" + +#: gram.y:645 +msgid "values for \"CWD\" must start with a '/', '~', or '*'" +msgstr "valoroj por \"CWD\" devas komenciĝi per '/', '~' aŭ '*'" + +#: gram.y:651 +msgid "\"CWD\" path too long" +msgstr "\"CWD\"-vojo tro grandas" + +#: gram.y:661 +msgid "values for \"CHROOT\" must start with a '/', '~', or '*'" +msgstr "valoroj por \"CHROOT\" devas komenciĝi per '/', '~' aŭ '*'" + +#: gram.y:667 +msgid "\"CHROOT\" path too long" +msgstr "\"CHROOT\"-vojo tro grandas" + +#: gram.y:802 +#, c-format +msgid "syntax error, reserved word %s used as an alias name" +msgstr "sintakseraro: rezervita vorto %s uzata kiel kromnomo" + +#: gram.y:825 +msgid "invalid notbefore value" +msgstr "malvalida valoro notafter" + +#: gram.y:834 +msgid "invalid notafter value" +msgstr "validiga valoro notafter" + +#: gram.y:844 plugins/sudoers/policy.c:383 +msgid "timeout value too large" +msgstr "eksvalidiĝo-valoro tro grandas" + +#: gram.y:846 plugins/sudoers/policy.c:385 +msgid "invalid timeout value" +msgstr "malvalida eksvalidiĝo-valoro" + +#: gram.y:967 plugins/sudoers/sudoers.c:1033 +msgid "command too long" +msgstr "komando tro longas" + +#: gram.y:1224 plugins/sudoers/check_aliases.c:96 +#: plugins/sudoers/defaults.c:1276 +#, c-format +msgid "%s:%d:%d: %s\n" +msgstr "%s:%d:%d: %s\n" + +#: gram.y:1278 +#, c-format +msgid "Alias \"%s\" already defined" +msgstr "Kromnomo \"%s\" jam ekzistas" + +#: gram.y:1777 gram.y:1827 lib/eventlog/eventlog.c:309 +#: lib/eventlog/eventlog.c:827 lib/eventlog/eventlog.c:900 +#: lib/eventlog/eventlog.c:903 lib/eventlog/eventlog.c:1204 +#: lib/iolog/iolog_filter.c:142 lib/iolog/iolog_filter.c:202 +#: lib/iolog/iolog_filter.c:232 lib/iolog/iolog_json.c:150 +#: lib/iolog/iolog_json.c:381 lib/iolog/iolog_json.c:412 +#: lib/iolog/iolog_json.c:555 lib/iolog/iolog_legacy.c:100 +#: lib/iolog/iolog_legacy.c:111 lib/iolog/iolog_legacy.c:123 +#: lib/iolog/iolog_legacy.c:133 lib/iolog/iolog_legacy.c:139 +#: lib/iolog/iolog_loginfo.c:76 lib/iolog/iolog_loginfo.c:212 +#: logsrvd/iolog_writer.c:95 logsrvd/iolog_writer.c:100 +#: logsrvd/iolog_writer.c:134 logsrvd/iolog_writer.c:171 +#: logsrvd/iolog_writer.c:181 logsrvd/iolog_writer.c:194 +#: logsrvd/iolog_writer.c:214 logsrvd/iolog_writer.c:224 +#: logsrvd/iolog_writer.c:243 logsrvd/iolog_writer.c:253 +#: logsrvd/iolog_writer.c:264 logsrvd/iolog_writer.c:274 +#: logsrvd/iolog_writer.c:286 logsrvd/iolog_writer.c:296 +#: logsrvd/iolog_writer.c:306 logsrvd/iolog_writer.c:316 +#: logsrvd/iolog_writer.c:328 logsrvd/iolog_writer.c:364 +#: logsrvd/iolog_writer.c:370 logsrvd/iolog_writer.c:377 +#: logsrvd/iolog_writer.c:383 logsrvd/iolog_writer.c:567 +#: logsrvd/logsrv_util.c:69 logsrvd/logsrvd.c:301 logsrvd/logsrvd.c:310 +#: logsrvd/logsrvd.c:453 logsrvd/logsrvd.c:490 logsrvd/logsrvd.c:522 +#: logsrvd/logsrvd.c:576 logsrvd/logsrvd.c:611 logsrvd/logsrvd.c:660 +#: logsrvd/logsrvd.c:696 logsrvd/logsrvd.c:732 logsrvd/logsrvd.c:1124 +#: logsrvd/logsrvd.c:1439 logsrvd/logsrvd.c:1446 logsrvd/logsrvd.c:1582 +#: logsrvd/logsrvd.c:1587 logsrvd/logsrvd.c:1771 logsrvd/logsrvd.c:1988 +#: logsrvd/logsrvd_conf.c:357 logsrvd/logsrvd_conf.c:370 +#: logsrvd/logsrvd_conf.c:511 logsrvd/logsrvd_conf.c:534 +#: logsrvd/logsrvd_conf.c:538 logsrvd/logsrvd_conf.c:556 +#: logsrvd/logsrvd_conf.c:626 logsrvd/logsrvd_conf.c:649 +#: logsrvd/logsrvd_conf.c:678 logsrvd/logsrvd_conf.c:692 +#: logsrvd/logsrvd_conf.c:706 logsrvd/logsrvd_conf.c:720 +#: logsrvd/logsrvd_conf.c:734 logsrvd/logsrvd_conf.c:748 +#: logsrvd/logsrvd_conf.c:829 logsrvd/logsrvd_conf.c:1036 +#: logsrvd/logsrvd_conf.c:1053 logsrvd/logsrvd_conf.c:1448 +#: logsrvd/logsrvd_conf.c:1595 logsrvd/logsrvd_conf.c:1621 +#: logsrvd/logsrvd_conf.c:1633 logsrvd/logsrvd_conf.c:1640 +#: logsrvd/logsrvd_conf.c:1646 logsrvd/logsrvd_conf.c:1742 +#: logsrvd/logsrvd_journal.c:75 logsrvd/logsrvd_journal.c:122 +#: logsrvd/logsrvd_journal.c:213 logsrvd/logsrvd_journal.c:243 +#: logsrvd/logsrvd_journal.c:247 logsrvd/logsrvd_journal.c:255 +#: logsrvd/logsrvd_journal.c:278 logsrvd/logsrvd_journal.c:282 +#: logsrvd/logsrvd_journal.c:430 logsrvd/logsrvd_local.c:215 +#: logsrvd/logsrvd_local.c:278 logsrvd/logsrvd_local.c:466 +#: logsrvd/logsrvd_local.c:472 logsrvd/logsrvd_local.c:491 +#: logsrvd/logsrvd_queue.c:158 logsrvd/logsrvd_queue.c:189 +#: logsrvd/logsrvd_queue.c:266 logsrvd/sendlog.c:251 logsrvd/sendlog.c:260 +#: logsrvd/sendlog.c:291 logsrvd/sendlog.c:338 logsrvd/sendlog.c:615 +#: logsrvd/sendlog.c:1503 logsrvd/sendlog.c:1510 logsrvd/sendlog.c:1733 +#: logsrvd/sendlog.c:1801 logsrvd/tls_init.c:305 logsrvd/tls_init.c:329 +#: logsrvd/tls_init.c:340 plugins/sudoers/audit.c:116 +#: plugins/sudoers/auth/pam.c:502 plugins/sudoers/auth/pam.c:687 +#: plugins/sudoers/auth/rfc1938.c:111 plugins/sudoers/check_aliases.c:168 +#: plugins/sudoers/cvtsudoers.c:131 plugins/sudoers/cvtsudoers.c:174 +#: plugins/sudoers/cvtsudoers.c:191 plugins/sudoers/cvtsudoers.c:202 +#: plugins/sudoers/cvtsudoers.c:332 plugins/sudoers/cvtsudoers.c:536 +#: plugins/sudoers/cvtsudoers.c:669 plugins/sudoers/cvtsudoers.c:687 +#: plugins/sudoers/cvtsudoers.c:862 plugins/sudoers/cvtsudoers.c:869 +#: plugins/sudoers/cvtsudoers.c:1365 plugins/sudoers/cvtsudoers.c:1369 +#: plugins/sudoers/cvtsudoers.c:1471 plugins/sudoers/cvtsudoers_csv.c:182 +#: plugins/sudoers/cvtsudoers_csv.c:245 plugins/sudoers/cvtsudoers_json.c:75 +#: plugins/sudoers/cvtsudoers_ldif.c:150 plugins/sudoers/cvtsudoers_ldif.c:193 +#: plugins/sudoers/cvtsudoers_ldif.c:234 plugins/sudoers/cvtsudoers_ldif.c:299 +#: plugins/sudoers/cvtsudoers_ldif.c:375 plugins/sudoers/cvtsudoers_ldif.c:429 +#: plugins/sudoers/cvtsudoers_ldif.c:437 plugins/sudoers/cvtsudoers_ldif.c:448 +#: plugins/sudoers/cvtsudoers_ldif.c:455 plugins/sudoers/cvtsudoers_ldif.c:467 +#: plugins/sudoers/cvtsudoers_ldif.c:480 plugins/sudoers/cvtsudoers_ldif.c:488 +#: plugins/sudoers/cvtsudoers_ldif.c:635 plugins/sudoers/cvtsudoers_merge.c:47 +#: plugins/sudoers/cvtsudoers_merge.c:51 +#: plugins/sudoers/cvtsudoers_merge.c:353 +#: plugins/sudoers/cvtsudoers_merge.c:399 +#: plugins/sudoers/cvtsudoers_merge.c:445 +#: plugins/sudoers/cvtsudoers_merge.c:466 +#: plugins/sudoers/cvtsudoers_merge.c:553 +#: plugins/sudoers/cvtsudoers_merge.c:561 +#: plugins/sudoers/cvtsudoers_merge.c:564 +#: plugins/sudoers/cvtsudoers_merge.c:630 +#: plugins/sudoers/cvtsudoers_merge.c:633 +#: plugins/sudoers/cvtsudoers_merge.c:1157 +#: plugins/sudoers/cvtsudoers_merge.c:1231 plugins/sudoers/defaults.c:434 +#: plugins/sudoers/defaults.c:658 plugins/sudoers/defaults.c:1019 +#: plugins/sudoers/defaults.c:1187 plugins/sudoers/editor.c:188 +#: plugins/sudoers/env.c:263 plugins/sudoers/exptilde.c:92 +#: plugins/sudoers/filedigest.c:54 plugins/sudoers/filedigest.c:70 +#: plugins/sudoers/gc.c:57 plugins/sudoers/group_plugin.c:227 +#: plugins/sudoers/interfaces.c:68 plugins/sudoers/iolog.c:268 +#: plugins/sudoers/iolog.c:668 plugins/sudoers/iolog.c:694 +#: plugins/sudoers/ldap.c:184 plugins/sudoers/ldap.c:464 +#: plugins/sudoers/ldap.c:755 plugins/sudoers/ldap.c:919 +#: plugins/sudoers/ldap.c:1335 plugins/sudoers/ldap.c:1761 +#: plugins/sudoers/ldap.c:1798 plugins/sudoers/ldap.c:1879 +#: plugins/sudoers/ldap.c:2014 plugins/sudoers/ldap.c:2115 +#: plugins/sudoers/ldap.c:2131 plugins/sudoers/ldap_conf.c:218 +#: plugins/sudoers/ldap_conf.c:250 plugins/sudoers/ldap_conf.c:302 +#: plugins/sudoers/ldap_conf.c:338 plugins/sudoers/ldap_conf.c:444 +#: plugins/sudoers/ldap_conf.c:459 plugins/sudoers/ldap_conf.c:564 +#: plugins/sudoers/ldap_conf.c:597 plugins/sudoers/ldap_conf.c:688 +#: plugins/sudoers/ldap_conf.c:771 plugins/sudoers/ldap_util.c:293 +#: plugins/sudoers/ldap_util.c:300 plugins/sudoers/ldap_util.c:614 +#: plugins/sudoers/linux_audit.c:86 plugins/sudoers/log_client.c:117 +#: plugins/sudoers/log_client.c:228 plugins/sudoers/log_client.c:250 +#: plugins/sudoers/log_client.c:264 plugins/sudoers/log_client.c:402 +#: plugins/sudoers/log_client.c:715 plugins/sudoers/log_client.c:736 +#: plugins/sudoers/log_client.c:1416 plugins/sudoers/log_client.c:1537 +#: plugins/sudoers/log_client.c:1637 plugins/sudoers/log_client.c:1973 +#: plugins/sudoers/log_client.c:2032 plugins/sudoers/logging.c:110 +#: plugins/sudoers/logging.c:188 plugins/sudoers/logging.c:189 +#: plugins/sudoers/logging.c:453 plugins/sudoers/logging.c:668 +#: plugins/sudoers/logging.c:805 plugins/sudoers/logging.c:876 +#: plugins/sudoers/logging.c:888 plugins/sudoers/match_command.c:334 +#: plugins/sudoers/match_command.c:602 plugins/sudoers/match_command.c:653 +#: plugins/sudoers/match_command.c:728 plugins/sudoers/match_command.c:775 +#: plugins/sudoers/match_digest.c:93 plugins/sudoers/parse.c:226 +#: plugins/sudoers/parse.c:243 plugins/sudoers/parse.c:262 +#: plugins/sudoers/parse.c:281 plugins/sudoers/parse.c:298 +#: plugins/sudoers/parse.c:321 plugins/sudoers/parse.c:332 +#: plugins/sudoers/parse_ldif.c:152 plugins/sudoers/parse_ldif.c:183 +#: plugins/sudoers/parse_ldif.c:252 plugins/sudoers/parse_ldif.c:260 +#: plugins/sudoers/parse_ldif.c:265 plugins/sudoers/parse_ldif.c:341 +#: plugins/sudoers/parse_ldif.c:352 plugins/sudoers/parse_ldif.c:379 +#: plugins/sudoers/parse_ldif.c:396 plugins/sudoers/parse_ldif.c:408 +#: plugins/sudoers/parse_ldif.c:412 plugins/sudoers/parse_ldif.c:426 +#: plugins/sudoers/parse_ldif.c:484 plugins/sudoers/parse_ldif.c:598 +#: plugins/sudoers/parse_ldif.c:627 plugins/sudoers/parse_ldif.c:652 +#: plugins/sudoers/parse_ldif.c:710 plugins/sudoers/parse_ldif.c:727 +#: plugins/sudoers/parse_ldif.c:755 plugins/sudoers/parse_ldif.c:762 +#: plugins/sudoers/policy.c:153 plugins/sudoers/policy.c:162 +#: plugins/sudoers/policy.c:171 plugins/sudoers/policy.c:199 +#: plugins/sudoers/policy.c:368 plugins/sudoers/policy.c:383 +#: plugins/sudoers/policy.c:385 plugins/sudoers/policy.c:423 +#: plugins/sudoers/policy.c:432 plugins/sudoers/policy.c:480 +#: plugins/sudoers/policy.c:490 plugins/sudoers/policy.c:499 +#: plugins/sudoers/policy.c:508 plugins/sudoers/policy.c:517 +#: plugins/sudoers/policy.c:624 plugins/sudoers/policy.c:1026 +#: plugins/sudoers/prompt.c:93 plugins/sudoers/pwutil.c:199 +#: plugins/sudoers/pwutil.c:270 plugins/sudoers/pwutil.c:348 +#: plugins/sudoers/pwutil.c:522 plugins/sudoers/pwutil.c:587 +#: plugins/sudoers/pwutil.c:659 plugins/sudoers/pwutil.c:857 +#: plugins/sudoers/pwutil.c:913 plugins/sudoers/pwutil.c:957 +#: plugins/sudoers/pwutil.c:1014 plugins/sudoers/set_perms.c:363 +#: plugins/sudoers/set_perms.c:706 plugins/sudoers/set_perms.c:1073 +#: plugins/sudoers/set_perms.c:1380 plugins/sudoers/set_perms.c:1549 +#: plugins/sudoers/sssd.c:144 plugins/sudoers/sssd.c:185 +#: plugins/sudoers/sssd.c:414 plugins/sudoers/sssd.c:479 +#: plugins/sudoers/sssd.c:505 plugins/sudoers/sssd.c:568 +#: plugins/sudoers/sssd.c:761 plugins/sudoers/strvec_join.c:53 +#: plugins/sudoers/stubs.c:112 plugins/sudoers/stubs.c:120 +#: plugins/sudoers/sudoers.c:354 plugins/sudoers/sudoers.c:380 +#: plugins/sudoers/sudoers.c:448 plugins/sudoers/sudoers.c:457 +#: plugins/sudoers/sudoers.c:498 plugins/sudoers/sudoers.c:827 +#: plugins/sudoers/sudoers.c:877 plugins/sudoers/sudoers.c:1015 +#: plugins/sudoers/sudoers.c:1075 plugins/sudoers/sudoers.c:1330 +#: plugins/sudoers/sudoreplay.c:562 plugins/sudoers/sudoreplay.c:565 +#: plugins/sudoers/sudoreplay.c:1281 plugins/sudoers/sudoreplay.c:1503 +#: plugins/sudoers/sudoreplay.c:1507 plugins/sudoers/testsudoers.c:120 +#: plugins/sudoers/testsudoers.c:224 plugins/sudoers/testsudoers.c:241 +#: plugins/sudoers/testsudoers.c:588 plugins/sudoers/timestamp.c:451 +#: plugins/sudoers/timestamp.c:495 plugins/sudoers/timestamp.c:1017 +#: plugins/sudoers/timestamp.c:1146 plugins/sudoers/toke_util.c:78 +#: plugins/sudoers/toke_util.c:106 plugins/sudoers/toke_util.c:131 +#: plugins/sudoers/toke_util.c:160 plugins/sudoers/toke_util.c:200 +#: plugins/sudoers/tsdump.c:123 plugins/sudoers/visudo.c:150 +#: plugins/sudoers/visudo.c:385 plugins/sudoers/visudo.c:391 +#: plugins/sudoers/visudo.c:498 plugins/sudoers/visudo.c:1054 toke.l:1023 +#: toke.l:1155 toke.l:1218 toke.l:1226 +#, c-format +msgid "%s: %s" +msgstr "%s: %s" + +#: lib/eventlog/eventlog.c:314 lib/iolog/iolog_json.c:562 +#: lib/iolog/iolog_json.c:568 lib/iolog/iolog_json.c:574 +#: plugins/sudoers/cvtsudoers_csv.c:192 plugins/sudoers/cvtsudoers_csv.c:199 +#: plugins/sudoers/cvtsudoers_ldif.c:244 plugins/sudoers/cvtsudoers_ldif.c:251 +#: plugins/sudoers/cvtsudoers_ldif.c:592 plugins/sudoers/env.c:340 +#: plugins/sudoers/env.c:347 plugins/sudoers/env.c:458 +#: plugins/sudoers/ldap.c:526 plugins/sudoers/ldap.c:759 +#: plugins/sudoers/ldap.c:1132 plugins/sudoers/ldap_conf.c:222 +#: plugins/sudoers/ldap_conf.c:313 plugins/sudoers/ldap_util.c:486 +#: plugins/sudoers/linux_audit.c:92 plugins/sudoers/logging.c:457 +#: plugins/sudoers/logging.c:813 plugins/sudoers/logging.c:823 +#: plugins/sudoers/policy.c:800 plugins/sudoers/policy.c:811 +#: plugins/sudoers/prompt.c:168 plugins/sudoers/serialize_list.c:62 +#: plugins/sudoers/serialize_list.c:71 plugins/sudoers/strvec_join.c:62 +#: plugins/sudoers/testsudoers.c:245 plugins/sudoers/toke_util.c:213 +#: toke.l:987 toke.l:1189 +#, c-format +msgid "internal error, %s overflow" +msgstr "interna eraro, troo en %s" + +#: lib/eventlog/eventlog.c:373 +#, c-format +msgid "unable to dup stdin: %m" +msgstr "ne eblas kopii enigon: %m" + +#: lib/eventlog/eventlog.c:415 +#, c-format +msgid "unable to execute %s: %m" +msgstr "ne eblas plenumigi %s-on: %m" + +#: lib/eventlog/eventlog.c:463 plugins/sudoers/auth/aix_auth.c:198 +msgid "unable to fork" +msgstr "ne eblas forki" + +#: lib/eventlog/eventlog.c:473 lib/eventlog/eventlog.c:538 +#, c-format +msgid "unable to fork: %m" +msgstr "ne eblas forki: %m" + +#: lib/eventlog/eventlog.c:528 +#, c-format +msgid "unable to open pipe: %m" +msgstr "ne eblas malfermi tubon: %m" + +#: lib/eventlog/eventlog.c:1030 +#, c-format +msgid "%8s : %s" +msgstr "%8s: %s" + +#: lib/eventlog/eventlog.c:1059 +#, c-format +msgid "%8s : (command continued) %s" +msgstr "%8s : (komando daŭrigis) %s" + +#: lib/iolog/iolog_filter.c:133 plugins/sudoers/defaults.c:1242 +#: plugins/sudoers/sudoreplay.c:1293 plugins/sudoers/sudoreplay.c:1558 +#, c-format +msgid "invalid regular expression \"%s\": %s" +msgstr "malvalida regulesprimo \"%s\": %s" + +#: lib/iolog/iolog_json.c:140 +#, c-format +msgid "expected JSON_STRING, got %d" +msgstr "atendita JSON_STRING, %d ricevita" + +#: lib/iolog/iolog_json.c:145 +msgid "JSON_ARRAY too large" +msgstr "JSON_ARRAY tro grandas" + +#: lib/iolog/iolog_json.c:404 +msgid "missing double quote in name" +msgstr "mankas duobla citilo en nomo" + +#: lib/iolog/iolog_json.c:501 +msgid "missing JSON_OBJECT" +msgstr "mankanta JSON_OBJECT" + +#: lib/iolog/iolog_json.c:505 +#, c-format +msgid "expected JSON_OBJECT, got %d" +msgstr "atendita JSON_OBJECT, %d ricevita" + +#: lib/iolog/iolog_json.c:661 +#, c-format +msgid "json stack exhausted (max %u frames)" +msgstr "json-stako eluzita (maksimume %u kandroj)" + +#: lib/iolog/iolog_json.c:735 +msgid "objects must consist of name:value pairs" +msgstr "objektoj devas konsisti el paroj nomo:valoro" + +#: lib/iolog/iolog_json.c:740 lib/iolog/iolog_json.c:771 +#: lib/iolog/iolog_json.c:815 lib/iolog/iolog_json.c:837 +#: lib/iolog/iolog_json.c:859 lib/iolog/iolog_json.c:881 +#: lib/iolog/iolog_json.c:903 +msgid "missing separator between values" +msgstr "mankanta apartigilo inter valoroj" + +#: lib/iolog/iolog_json.c:755 lib/iolog/iolog_json.c:929 +msgid "unmatched close brace" +msgstr "'}' sen kongruanta '{'" + +#: lib/iolog/iolog_json.c:766 +msgid "unexpected array" +msgstr "neatendita tabelo" + +#: lib/iolog/iolog_json.c:786 lib/iolog/iolog_json.c:932 +msgid "unmatched close bracket" +msgstr "']' sen kongruanta '['" + +#: lib/iolog/iolog_json.c:797 +msgid "unexpected string" +msgstr "neatendita ĉeno" + +#: lib/iolog/iolog_json.c:808 +msgid "missing colon after name" +msgstr "mankas dupunkto post nomo" + +#: lib/iolog/iolog_json.c:829 lib/iolog/iolog_json.c:851 +msgid "unexpected boolean" +msgstr "neatendita bulea valoro" + +#: lib/iolog/iolog_json.c:873 +msgid "unexpected null" +msgstr "neatendita nulo" + +#: lib/iolog/iolog_json.c:894 +msgid "unexpected number" +msgstr "neatendita nombro" + +#: lib/iolog/iolog_json.c:941 +msgid "parse error" +msgstr "analiza eraro" + +#: lib/iolog/iolog_legacy.c:65 +#, c-format +msgid "%s: invalid log file" +msgstr "%s: malvalida protokolo-dosiero" + +#: lib/iolog/iolog_legacy.c:83 +#, c-format +msgid "%s: time stamp field is missing" +msgstr "%s: mankas temp-indikila kampo" + +#: lib/iolog/iolog_legacy.c:89 +#, c-format +msgid "%s: time stamp %s: %s" +msgstr "%s: temp-indikilo %s: %s" + +#: lib/iolog/iolog_legacy.c:96 +#, c-format +msgid "%s: user field is missing" +msgstr "%s: mankas kampo de uzanto" + +#: lib/iolog/iolog_legacy.c:107 +#, c-format +msgid "%s: runas user field is missing" +msgstr "%s: mankas kampo de runa uzanto" + +#: lib/iolog/iolog_legacy.c:118 +#, c-format +msgid "%s: runas group field is missing" +msgstr "%s: mankas kampo de runa grupo" + +#: lib/iolog/iolog_mkdirs.c:89 +#, c-format +msgid "%s exists but is not a directory (0%o)" +msgstr "%s ekzistas sed ne dosierujo (0%o)" + +#: lib/iolog/iolog_mkdirs.c:123 lib/iolog/iolog_mkdtemp.c:78 +#: logsrvd/iolog_writer.c:781 plugins/sudoers/timestamp.c:209 +#, c-format +msgid "unable to mkdir %s" +msgstr "ne eblas mkdir-i: %s" + +#: lib/iolog/iolog_mkdtemp.c:83 plugins/sudoers/visudo.c:753 +#: plugins/sudoers/visudo.c:787 plugins/sudoers/visudo.c:793 +#, c-format +msgid "unable to change mode of %s to 0%o" +msgstr "ne eblas ŝanĝi reĝimon de %s al 0%o" + +#: lib/iolog/iolog_timing.c:261 +#, c-format +msgid "error reading timing file: %s" +msgstr "nelegebla tempo-registra dosiero: %s" + +#: lib/iolog/iolog_timing.c:268 +#, c-format +msgid "invalid timing file line: %s" +msgstr "malvalida linio en la tempo-registran dosieron: %s" + +#: logsrvd/iolog_writer.c:65 +#, c-format +msgid "%s: protocol error: NULL key" +msgstr "%s: protokoleraro: nul-ŝlosilo" + +#: logsrvd/iolog_writer.c:69 +#, c-format +msgid "%s: protocol error: wrong type for %s" +msgstr "%s: protokoleraro: erara tipo per %s" + +#: logsrvd/iolog_writer.c:74 logsrvd/logsrvd_local.c:109 +#: logsrvd/logsrvd_local.c:123 logsrvd/logsrvd_local.c:131 +#: logsrvd/logsrvd_local.c:149 +#, c-format +msgid "%s: protocol error: NULL value found in %s" +msgstr "%s: protokoleraro: nul-valoro trovita en %s" + +#: logsrvd/iolog_writer.c:141 plugins/sudoers/logging.c:976 +#: plugins/sudoers/policy.c:591 +msgid "unable to generate UUID" +msgstr "ne eblas genero de UUID" + +#: logsrvd/iolog_writer.c:341 logsrvd/iolog_writer.c:346 +#: logsrvd/iolog_writer.c:351 logsrvd/iolog_writer.c:356 +#, c-format +msgid "%s: protocol error: %s missing from AcceptMessage" +msgstr "%s: protokola eraro: %s estas malhavata de AcceptMessage" + +#: logsrvd/iolog_writer.c:417 +#, c-format +msgid "%s: unable to format session id" +msgstr "%s: ne eblas formati seancan identigilon" + +#: logsrvd/iolog_writer.c:431 logsrvd/iolog_writer.c:445 +#: logsrvd/iolog_writer.c:459 logsrvd/iolog_writer.c:474 +#: logsrvd/iolog_writer.c:488 logsrvd/iolog_writer.c:502 +#, c-format +msgid "%s: %s is not set" +msgstr "%s: %s ne estas valorizita" + +#: logsrvd/iolog_writer.c:538 logsrvd/iolog_writer.c:545 +#, c-format +msgid "unable to expand iolog path %s" +msgstr "ne eblas etendi iolog-vojn %s" + +#: logsrvd/iolog_writer.c:563 +#, c-format +msgid "unable to create iolog path %s" +msgstr "ne eblas krei iolog-vojon %s" + +#: logsrvd/iolog_writer.c:593 +#, c-format +msgid "invalid iofd %d" +msgstr "nevalida eneliga dosierpriskribilo %d" + +#: logsrvd/iolog_writer.c:613 +#, c-format +msgid "error closing iofd %d: %s" +msgstr "eraro dum fermi eneligan dosierpriskribilon %d: %s" + +#: logsrvd/iolog_writer.c:633 +#, c-format +msgid "error flushing iofd %d: %s" +msgstr "eraro dum elbufrigi eneligan eneligan priskribilon %d: %s" + +#: logsrvd/iolog_writer.c:751 +#, c-format +msgid "invalid I/O log %s: %s referenced but not present" +msgstr "nevalida eneliga protokolo %s: %s estas referencita sed ne difinita" + +#: logsrvd/iolog_writer.c:763 logsrvd/logsrvd_journal.c:382 +#, c-format +msgid "%s: unable to find resume point [%lld, %ld]" +msgstr "%s: ne eblas trovi daŭrigan punkton [%lld, %ld]" + +#: logsrvd/iolog_writer.c:785 logsrvd/logsrvd_journal.c:425 +#: logsrvd/logsrvd_queue.c:115 logsrvd/tls_init.c:256 +#: plugins/sudoers/check.c:292 plugins/sudoers/cvtsudoers.c:730 +#: plugins/sudoers/cvtsudoers.c:751 plugins/sudoers/cvtsudoers.c:1431 +#: plugins/sudoers/cvtsudoers_csv.c:695 plugins/sudoers/cvtsudoers_json.c:898 +#: plugins/sudoers/cvtsudoers_ldif.c:709 plugins/sudoers/sudoers.c:1113 +#: plugins/sudoers/sudoers.c:1143 plugins/sudoers/sudoreplay.c:1469 +#: plugins/sudoers/timestamp.c:460 plugins/sudoers/tsdump.c:128 +#: plugins/sudoers/visudo.c:971 +#, c-format +msgid "unable to open %s" +msgstr "ne eblas malfermi: %s" + +#: logsrvd/iolog_writer.c:797 logsrvd/logsrv_util.c:105 +#: logsrvd/logsrv_util.c:112 plugins/sudoers/sudoreplay.c:362 +#: plugins/sudoers/sudoreplay.c:368 +#, c-format +msgid "unable to open %s/%s" +msgstr "ne eblas malfermi: %s/%s" + +#: logsrvd/iolog_writer.c:810 +#, c-format +msgid "unable to copy %s/%s to %s/%s: %s" +msgstr "ne eblas kopii de %s/%s al %s/%s: %s" + +#: logsrvd/iolog_writer.c:839 logsrvd/logsrvd_journal.c:195 +#, c-format +msgid "unable to rename %s to %s" +msgstr "ne eblas alinomo de %s al %s" + +#: logsrvd/logsrv_util.c:147 logsrvd/logsrv_util.c:176 +#, c-format +msgid "%s/%s: unable to find resume point [%lld, %ld]" +msgstr "%s/%s: ne eblas trovi daŭrigan punkton [%lld, %ld]" + +#: logsrvd/logsrv_util.c:159 +#, c-format +msgid "missing I/O log file %s/%s" +msgstr "mankas eneliga protokolo %s/%s" + +#: logsrvd/logsrv_util.c:166 +#, c-format +msgid "%s/%s: unable to seek forward %zu" +msgstr "%s/%s: ne eblas serĉi antaŭen: %zu" + +#: logsrvd/logsrvd.c:271 logsrvd/logsrvd_queue.c:135 +msgid "unable to connect to relay" +msgstr "ne eblas konektiĝi al relajso" + +#: logsrvd/logsrvd.c:330 logsrvd/logsrvd_relay.c:842 +#, c-format +msgid "server message too large: %zu" +msgstr "servila mesaĝo tro granda: %zu" + +#: logsrvd/logsrvd.c:422 logsrvd/logsrvd.c:545 logsrvd/logsrvd.c:631 +#: logsrvd/logsrvd.c:873 logsrvd/logsrvd.c:887 logsrvd/logsrvd.c:1049 +#: logsrvd/logsrvd.c:1174 logsrvd/logsrvd.c:1347 logsrvd/logsrvd.c:1365 +#: logsrvd/logsrvd.c:1464 logsrvd/logsrvd.c:1589 logsrvd/logsrvd.c:1773 +#: logsrvd/logsrvd_journal.c:494 logsrvd/logsrvd_local.c:238 +#: logsrvd/logsrvd_queue.c:164 logsrvd/logsrvd_relay.c:172 +#: logsrvd/logsrvd_relay.c:249 logsrvd/logsrvd_relay.c:253 +#: logsrvd/logsrvd_relay.c:389 logsrvd/logsrvd_relay.c:581 +#: logsrvd/logsrvd_relay.c:742 logsrvd/logsrvd_relay.c:1131 +#: logsrvd/sendlog.c:1291 logsrvd/tls_client.c:136 logsrvd/tls_client.c:152 +#: logsrvd/tls_client.c:216 plugins/sudoers/audit.c:278 +#: plugins/sudoers/iolog.c:1033 plugins/sudoers/iolog.c:1166 +#: plugins/sudoers/iolog.c:1264 plugins/sudoers/log_client.c:121 +#: plugins/sudoers/log_client.c:343 plugins/sudoers/log_client.c:359 +#: plugins/sudoers/log_client.c:407 plugins/sudoers/log_client.c:611 +#: plugins/sudoers/log_client.c:618 plugins/sudoers/log_client.c:1103 +#: plugins/sudoers/log_client.c:1385 plugins/sudoers/log_client.c:1426 +#: plugins/sudoers/log_client.c:1434 plugins/sudoers/log_client.c:1593 +#: plugins/sudoers/log_client.c:1711 plugins/sudoers/log_client.c:2040 +#: plugins/sudoers/log_client.c:2048 plugins/sudoers/logging.c:147 +#: plugins/sudoers/logging.c:205 plugins/sudoers/sudoreplay.c:522 +#: plugins/sudoers/sudoreplay.c:569 plugins/sudoers/sudoreplay.c:811 +#: plugins/sudoers/sudoreplay.c:923 plugins/sudoers/sudoreplay.c:1014 +#: plugins/sudoers/sudoreplay.c:1029 plugins/sudoers/sudoreplay.c:1036 +#: plugins/sudoers/sudoreplay.c:1043 plugins/sudoers/sudoreplay.c:1050 +#: plugins/sudoers/sudoreplay.c:1057 plugins/sudoers/sudoreplay.c:1184 +msgid "unable to add event to queue" +msgstr "ne eblas aldoni eventon al atendovico" + +#: logsrvd/logsrvd.c:446 logsrvd/logsrvd.c:483 logsrvd/logsrvd.c:515 +#: logsrvd/logsrvd.c:569 logsrvd/logsrvd.c:648 logsrvd/logsrvd.c:684 +#: logsrvd/logsrvd.c:720 logsrvd/logsrvd.c:756 logsrvd/logsrvd_relay.c:510 +#: logsrvd/logsrvd_relay.c:543 +#, c-format +msgid "unexpected state %d for %s" +msgstr "neatendita stato %d por %s" + +#: logsrvd/logsrvd.c:447 logsrvd/logsrvd.c:484 logsrvd/logsrvd.c:516 +#: logsrvd/logsrvd.c:570 logsrvd/logsrvd.c:649 logsrvd/logsrvd.c:685 +#: logsrvd/logsrvd.c:721 logsrvd/logsrvd.c:757 logsrvd/logsrvd_relay.c:512 +#: logsrvd/logsrvd_relay.c:545 +msgid "state machine error" +msgstr "statmaŝina eraro" + +#: logsrvd/logsrvd.c:453 logsrvd/logsrvd.c:454 +msgid "invalid AcceptMessage" +msgstr "nevalida AcceptMessage" + +#: logsrvd/logsrvd.c:490 logsrvd/logsrvd.c:491 +msgid "invalid RejectMessage" +msgstr "nevalida RejectMessage" + +#: logsrvd/logsrvd.c:522 logsrvd/logsrvd.c:523 +msgid "invalid ExitMessage" +msgstr "nevalida ExitMessage" + +#: logsrvd/logsrvd.c:576 logsrvd/logsrvd.c:577 +msgid "invalid RestartMessage" +msgstr "nevalida RestartMessage" + +#: logsrvd/logsrvd.c:611 logsrvd/logsrvd.c:612 +msgid "invalid AlertMessage" +msgstr "nevalida AlertMessage" + +#: logsrvd/logsrvd.c:653 logsrvd/logsrvd.c:689 logsrvd/logsrvd.c:725 +#, c-format +msgid "%s: unexpected IoBuffer" +msgstr "%s: neatendita IoBuffer" + +#: logsrvd/logsrvd.c:654 logsrvd/logsrvd.c:690 logsrvd/logsrvd.c:726 +msgid "protocol error" +msgstr "protokolo-eraro" + +#: logsrvd/logsrvd.c:660 logsrvd/logsrvd.c:661 +msgid "invalid IoBuffer" +msgstr "malvalida IoBuffer" + +#: logsrvd/logsrvd.c:696 logsrvd/logsrvd.c:697 +msgid "invalid ChangeWindowSize" +msgstr "nevalida ChangeWindowSize" + +#: logsrvd/logsrvd.c:732 logsrvd/logsrvd.c:733 +msgid "invalid CommandSuspend" +msgstr "nevalida CommandSuspend" + +#: logsrvd/logsrvd.c:782 logsrvd/logsrvd_journal.c:293 +#: logsrvd/logsrvd_relay.c:652 logsrvd/sendlog.c:1192 +#: plugins/sudoers/log_client.c:1583 +#, c-format +msgid "unable to unpack %s size %zu" +msgstr "ne malpakeblas %s, grando %zu" + +#: logsrvd/logsrvd.c:827 logsrvd/logsrvd_journal.c:367 +#: logsrvd/logsrvd_relay.c:676 +#, c-format +msgid "unexpected type_case value %d in %s from %s" +msgstr "neatendita valoro %d de type_case en %s el %s" + +#: logsrvd/logsrvd.c:829 +msgid "unrecognized ClientMessage type" +msgstr "nekonata ClientMessage-tipo" + +#: logsrvd/logsrvd.c:919 +#, c-format +msgid "timed out writing to client %s" +msgstr "eksvalidiĝo dum skribado al kliento %s" + +#: logsrvd/logsrvd.c:924 logsrvd/logsrvd_relay.c:914 logsrvd/sendlog.c:1395 +#, c-format +msgid "missing write buffer for client %s" +msgstr "mankanta skribobufo por kliento %s" + +#: logsrvd/logsrvd.c:1020 +#, c-format +msgid "timed out reading from client %s" +msgstr "eksvalidiĝo dum legado el kliento %s" + +#: logsrvd/logsrvd.c:1061 logsrvd/logsrvd_relay.c:777 +#, c-format +msgid "EOF from %s without proper TLS shutdown" +msgstr "Dosierfino de %s sen konvena TLS-finiĝo" + +#: logsrvd/logsrvd.c:1105 logsrvd/logsrvd_relay.c:205 logsrvd/sendlog.c:322 +#: plugins/sudoers/log_client.c:721 +#, c-format +msgid "client message too large: %zu" +msgstr "klienta mesaĝo tro grandas: %zu" + +#: logsrvd/logsrvd.c:1106 logsrvd/logsrvd_journal.c:256 +#: logsrvd/logsrvd_journal.c:257 +msgid "client message too large" +msgstr "klienta mesaĝo tro grandas" + +#: logsrvd/logsrvd.c:1124 logsrvd/logsrvd.c:1125 +msgid "invalid ClientMessage" +msgstr "nevalida ClientMessage" + +#: logsrvd/logsrvd.c:1425 +msgid "unable to get remote IP addr" +msgstr "ne eblas atingi foran IP-adreson" + +#: logsrvd/logsrvd.c:1456 logsrvd/tls_client.c:203 +#: plugins/sudoers/log_client.c:281 +#, c-format +msgid "Unable to attach user data to the ssl object: %s" +msgstr "Ne eblas almeti uzanto-datumojn al la SSL-objekto: %s" + +#: logsrvd/logsrvd.c:1639 logsrvd/logsrvd.c:1992 +msgid "unable to setup listen socket" +msgstr "ne eblas agordi aŭskultan ŝtopilingon" + +#: logsrvd/logsrvd.c:1756 +#, c-format +msgid "unexpected signal %d" +msgstr "neatendita signalo %d" + +#: logsrvd/logsrvd.c:1894 +msgid "sudo log server" +msgstr "protokolo-servilo de sudo" + +#: logsrvd/logsrvd.c:1896 logsrvd/sendlog.c:121 +msgid "Options:" +msgstr "Modifiloj:" + +#: logsrvd/logsrvd.c:1898 +msgid "path to configuration file" +msgstr "vojo al la agordo-dosiero" + +#: logsrvd/logsrvd.c:1900 logsrvd/sendlog.c:123 +msgid "display help message and exit" +msgstr "montri helpan mesaĝon kaj finiĝi" + +#: logsrvd/logsrvd.c:1902 +msgid "do not fork, run in the foreground" +msgstr "ne disforkiĝi, plenumiĝi en la malfono" + +#: logsrvd/logsrvd.c:1904 +msgid "percent chance connections will drop" +msgstr "elcenta ŝanco, ke konektoj malkonektiĝos" + +#: logsrvd/logsrvd.c:1906 logsrvd/sendlog.c:153 +msgid "display version information and exit" +msgstr "montri eldonan informon kaj finiĝi" + +#: logsrvd/logsrvd.c:1956 logsrvd/sendlog.c:1702 +msgid "Protobuf-C version 1.3 or higher required" +msgstr "Protobuf-C, eldono 1.3 aŭ pli postulata" + +#: logsrvd/logsrvd.c:1972 +#, c-format +msgid "invalid random drop value: %s" +msgstr "validiga hazarda interrompiĝo-valoro: %s" + +#: logsrvd/logsrvd.c:1975 logsrvd/sendlog.c:1756 +#: plugins/sudoers/cvtsudoers.c:246 plugins/sudoers/sudoreplay.c:301 +#: plugins/sudoers/visudo.c:182 +#, c-format +msgid "%s version %s\n" +msgstr "%s eldono %s\n" + +#: logsrvd/logsrvd_conf.c:422 plugins/sudoers/check.c:353 +#: plugins/sudoers/exptilde.c:85 plugins/sudoers/iolog.c:122 +#: plugins/sudoers/policy.c:1264 plugins/sudoers/sudoers.c:505 +#: plugins/sudoers/sudoers.c:1372 plugins/sudoers/testsudoers.c:215 +#: plugins/sudoers/testsudoers.c:382 +#, c-format +msgid "unknown user %s" +msgstr "nekonata uzanto %s" + +#: logsrvd/logsrvd_conf.c:439 plugins/sudoers/iolog.c:148 +#: plugins/sudoers/sudoers.c:510 plugins/sudoers/sudoers.c:1406 +#: plugins/sudoers/testsudoers.c:406 +#, c-format +msgid "unknown group %s" +msgstr "nekonata grupo %s" + +#: logsrvd/logsrvd_conf.c:457 +#, c-format +msgid "unable to parse iolog mode %s" +msgstr "ne eblas analizi iolog-reĝimon %s" + +#: logsrvd/logsrvd_conf.c:474 logsrvd/logsrvd_conf.c:1243 +#, c-format +msgid "invalid value for %s: %s" +msgstr "nevalida valoro por %s: %s" + +#: logsrvd/logsrvd_conf.c:527 +msgid "TLS not supported" +msgstr "TLS ne regata" + +#: logsrvd/logsrvd_conf.c:549 +#, c-format +msgid "%s:%s" +msgstr "%s:%s" + +#: logsrvd/logsrvd_conf.c:622 logsrvd/logsrvd_conf.c:1032 +#, c-format +msgid "%s: not a fully qualified path" +msgstr "%s: ne tute kvalifikita vojo" + +#: logsrvd/logsrvd_conf.c:951 logsrvd/logsrvd_conf.c:967 +#: logsrvd/logsrvd_conf.c:1676 +#, c-format +msgid "unknown syslog facility %s" +msgstr "nekonata syslog-instalaĵo: %s" + +#: logsrvd/logsrvd_conf.c:983 logsrvd/logsrvd_conf.c:999 +#: logsrvd/logsrvd_conf.c:1015 logsrvd/logsrvd_conf.c:1680 +#: logsrvd/logsrvd_conf.c:1684 logsrvd/logsrvd_conf.c:1688 +#, c-format +msgid "unknown syslog priority %s" +msgstr "nekonata syslog-prioritato: %s" + +#: logsrvd/logsrvd_conf.c:1197 +#, c-format +msgid "%s:%d unmatched '[': %s" +msgstr "%s:%d '[' sen kongruanta ']': %s" + +#: logsrvd/logsrvd_conf.c:1203 +#, c-format +msgid "%s:%d garbage after ']': %s" +msgstr "%s:%d '[' rubo post ']': %s" + +#: logsrvd/logsrvd_conf.c:1215 +#, c-format +msgid "%s:%d invalid config section: %s" +msgstr "%s:%d nevalida agordo-sekcio: %s" + +#: logsrvd/logsrvd_conf.c:1223 +#, c-format +msgid "%s:%d invalid configuration line: %s" +msgstr "%s:%d nevalida agordo-dosiera linio: %s" + +#: logsrvd/logsrvd_conf.c:1229 +#, c-format +msgid "%s:%d expected section name: %s" +msgstr "%s:%d atendas sekcian nomon: %s" + +#: logsrvd/logsrvd_conf.c:1251 +#, c-format +msgid "%s:%d [%s] illegal key: %s" +msgstr "%s:%d [%s] nevalida ŝlosilo: %s" + +#: logsrvd/logsrvd_conf.c:1281 plugins/sudoers/cvtsudoers.c:268 +#: plugins/sudoers/logging.c:1029 +#, c-format +msgid "unable to open log file %s" +msgstr "ne eblas malfermi protokolon %s" + +#: logsrvd/logsrvd_conf.c:1763 +msgid "unable to initialize server TLS context" +msgstr "ne eblas ekigi servilan TLS-kuntekston" + +#: logsrvd/logsrvd_conf.c:1783 +msgid "unable to initialize relay TLS context" +msgstr "ne eblas ekigi relajsan SSL-kuntekston" + +#: logsrvd/logsrvd_journal.c:146 logsrvd/logsrvd_journal.c:421 +#: logsrvd/logsrvd_journal.c:426 +msgid "unable to create journal file" +msgstr "ne eblas krei ĵurnalon" + +#: logsrvd/logsrvd_journal.c:150 logsrvd/logsrvd_queue.c:109 +#: plugins/sudoers/visudo.c:1026 +#, c-format +msgid "unable to lock %s" +msgstr "ne eblas ŝlosi: %s" + +#: logsrvd/logsrvd_journal.c:153 +msgid "unable to lock journal file" +msgstr "ne eblas ŝlosi ĵurnalon" + +#: logsrvd/logsrvd_journal.c:161 +msgid "unable to open journal file" +msgstr "ne eblas malfermi ĵurnalon" + +#: logsrvd/logsrvd_journal.c:182 logsrvd/logsrvd_journal.c:457 +#: logsrvd/logsrvd_journal.c:462 +msgid "unable to write journal file" +msgstr "ne eblas skribi ĵurnalon: %s" + +#: logsrvd/logsrvd_journal.c:190 logsrvd/logsrvd_journal.c:197 +msgid "unable to rename journal file" +msgstr "ne eblas alinomi ĵurnalon" + +#: logsrvd/logsrvd_journal.c:244 logsrvd/logsrvd_journal.c:245 +#: logsrvd/logsrvd_journal.c:279 logsrvd/logsrvd_journal.c:280 +msgid "unexpected EOF reading journal file" +msgstr "neatendita dosierfino en ĵurnalo" + +#: logsrvd/logsrvd_journal.c:248 logsrvd/logsrvd_journal.c:249 +#: logsrvd/logsrvd_journal.c:283 logsrvd/logsrvd_journal.c:284 +msgid "error reading journal file" +msgstr "eraro dum legi prelegan ĵurnalon" + +#: logsrvd/logsrvd_journal.c:295 logsrvd/logsrvd_journal.c:381 +msgid "invalid journal file, unable to restart" +msgstr "nevalida ĵurnalo, ne eblas restarti" + +#: logsrvd/logsrvd_journal.c:440 +#, c-format +msgid "unable to seek to [%lld, %ld] in journal file %s" +msgstr "ne eblas atingi punkton [%lld, %ld] en ĵurnalo %s" + +#: logsrvd/logsrvd_local.c:166 +#, c-format +msgid "unexpected value_case %d in %s from %s" +msgstr "neatendita valoro %d de value_case en %s el %s" + +#: logsrvd/logsrvd_local.c:194 +msgid "error parsing AcceptMessage" +msgstr "neanalizebla AcceptMessage" + +#: logsrvd/logsrvd_local.c:205 +msgid "error creating I/O log" +msgstr "malsukcesis kreiĝo de eneliga protokolo" + +#: logsrvd/logsrvd_local.c:228 +msgid "error logging accept event" +msgstr "malsukcesis protokoli akcepto-eventon" + +#: logsrvd/logsrvd_local.c:267 +msgid "error parsing RejectMessage" +msgstr "neanalizebla RejectMessage" + +#: logsrvd/logsrvd_local.c:291 +msgid "error logging reject event" +msgstr "malsukcesis protokoli malakcepto-eventon" + +#: logsrvd/logsrvd_local.c:427 logsrvd/logsrvd_local.c:435 +msgid "error logging exit event" +msgstr "malsukcesis protokoli finigo-eventon" + +#: logsrvd/logsrvd_local.c:492 logsrvd/logsrvd_local.c:493 +msgid "log is already complete, cannot be restarted" +msgstr "protokolo jam estas kompleta, ne eblas restartigi ĝin" + +#: logsrvd/logsrvd_local.c:523 +msgid "unable to restart log" +msgstr "ne eblas restartigi protokolon" + +#: logsrvd/logsrvd_local.c:539 +msgid "error parsing AlertMessage" +msgstr "neanalizebla AlertMessage" + +#: logsrvd/logsrvd_local.c:549 +msgid "error logging alert event" +msgstr "malsukcesis protokoli alarmo-eventon" + +#: logsrvd/logsrvd_local.c:585 logsrvd/logsrvd_local.c:648 +#: logsrvd/logsrvd_local.c:683 +#, c-format +msgid "unable to format timing buffer, length %d" +msgstr "ne eblas aranĝi tempo-bufron, longo %d" + +#: logsrvd/logsrvd_local.c:599 logsrvd/logsrvd_local.c:607 +#: logsrvd/logsrvd_local.c:655 logsrvd/logsrvd_local.c:690 +#: plugins/sudoers/sudoreplay.c:351 +#, c-format +msgid "%s/%s: %s" +msgstr "%s/%s: %s" + +#: logsrvd/logsrvd_local.c:618 +msgid "randomly dropping connection" +msgstr "hazarde ĉesanta konekto" + +#: logsrvd/logsrvd_local.c:630 +msgid "error writing IoBuffer" +msgstr "neskribebla IoBuffer" + +#: logsrvd/logsrvd_local.c:665 +msgid "error writing ChangeWindowSize" +msgstr "neskribela ChangeWindowSize" + +#: logsrvd/logsrvd_local.c:700 +msgid "error writing CommandSuspend" +msgstr "neskribela CommandSuspend" + +#: logsrvd/logsrvd_relay.c:435 +msgid "TLS handshake with relay host failed" +msgstr "Malsukcesis TLS-manpremo kun relajsa retnodo" + +#: logsrvd/logsrvd_relay.c:463 +msgid "unable to connect to relay host" +msgstr "ne eblas konektiĝi al relajsa retnodo" + +#: logsrvd/logsrvd_relay.c:518 +#, c-format +msgid "%s: invalid ServerHello, missing server_id" +msgstr "%s: nevalida ServerHello, server_id mankas" + +#: logsrvd/logsrvd_relay.c:520 logsrvd/sendlog.c:1096 +#: plugins/sudoers/log_client.c:1469 +msgid "invalid ServerHello" +msgstr "nevalida ServerHello" + +#: logsrvd/logsrvd_relay.c:679 +msgid "unrecognized ServerMessage type" +msgstr "nekonata ServerMessage-tipo" + +#: logsrvd/logsrvd_relay.c:708 +#, c-format +msgid "timed out reading from relay %s (%s)" +msgstr "eksvalidiĝo dum legado el relajso %s (%s)" + +#: logsrvd/logsrvd_relay.c:710 +msgid "timeout reading from relay" +msgstr "eksvalidiĝo dum legado el relajso" + +#: logsrvd/logsrvd_relay.c:762 +msgid "relay host name does not match certificate" +msgstr "relajsa retnodnomo ne kongruas kun atestilo" + +#: logsrvd/logsrvd_relay.c:768 logsrvd/logsrvd_relay.c:782 +#: logsrvd/logsrvd_relay.c:789 +msgid "error reading from relay" +msgstr "eraro dum legi el relajso" + +#: logsrvd/logsrvd_relay.c:810 +msgid "unable to read from relay" +msgstr "ne eblas legi el relajso" + +#: logsrvd/logsrvd_relay.c:825 logsrvd/logsrvd_relay.c:943 +msgid "relay server closed connection" +msgstr "relajsa servilo fermis la konekton" + +#: logsrvd/logsrvd_relay.c:843 +msgid "server message too large" +msgstr "servila mesaĝo tro granda" + +#: logsrvd/logsrvd_relay.c:907 +#, c-format +msgid "timed out writing to relay %s (%s)" +msgstr "eksvalidiĝo dum skribado al relajso %s (%s)" + +#: logsrvd/logsrvd_relay.c:909 +msgid "timeout writing to relay" +msgstr "eksvalidiĝo dum skribado al relajso" + +#: logsrvd/logsrvd_relay.c:962 logsrvd/logsrvd_relay.c:969 +#: logsrvd/logsrvd_relay.c:981 +msgid "error writing to relay" +msgstr "eraro dum skribi al relajso" + +#: logsrvd/sendlog.c:119 +msgid "send sudo I/O log to remote server" +msgstr "%s - sendi eneligo-protokolon de sudo al fora servilo" + +#: logsrvd/sendlog.c:125 +msgid "only send an accept event (no I/O)" +msgstr "sendi nur akcepto-eventon (neniun eneligon)" + +#: logsrvd/sendlog.c:128 +msgid "certificate bundle file to verify server's cert against" +msgstr "atestilara dosiero kontraŭ kiu aŭtentigi la servilan atestilon" + +#: logsrvd/sendlog.c:130 +msgid "certificate file for TLS handshake" +msgstr "atestila dosiero por TLS-manpremo" + +#: logsrvd/sendlog.c:133 +msgid "host to send logs to" +msgstr "retnodo al kiu sendi protokolojn" + +#: logsrvd/sendlog.c:135 +msgid "remote ID of I/O log to be resumed" +msgstr "fora identigilo de eneliga protokolo rekomenciĝonta" + +#: logsrvd/sendlog.c:138 +msgid "private key file" +msgstr "privatŝlosila dosiero" + +#: logsrvd/sendlog.c:140 +msgid "do not verify server certificate" +msgstr "ne aŭtentigi servilan atestilon" + +#: logsrvd/sendlog.c:143 +msgid "port to use when connecting to host" +msgstr "porto uzoto dum konektiĝi al retnodo" + +#: logsrvd/sendlog.c:145 +msgid "restart previous I/O log transfer" +msgstr "restartigi iaman eneligo-protokolan transdonon" + +#: logsrvd/sendlog.c:147 +msgid "reject the command with the given reason" +msgstr "malakcepti la komandon kun la donita kialo" + +#: logsrvd/sendlog.c:149 +msgid "stop transfer after reaching this time" +msgstr "haltigi transigon post atingo de ĉi tiu tempo" + +#: logsrvd/sendlog.c:151 +msgid "test audit server by sending selected I/O log n times in parallel" +msgstr "provi revizian servilon per sendado de elektita eneliga logo n-foje paralele" + +#: logsrvd/sendlog.c:176 plugins/sudoers/log_client.c:453 +#, c-format +msgid "unable to look up %s:%s: %s" +msgstr "ne eblas serĉi je %s:%s %s" + +#: logsrvd/sendlog.c:214 +msgid "unable to get server IP addr" +msgstr "ne eblas atingi servilan IP-adreson" + +#: logsrvd/sendlog.c:300 plugins/sudoers/sudoreplay.c:871 +#, c-format +msgid "unable to read %s/%s: %s" +msgstr "ne eblas legi je %s/%s: %s" + +#: logsrvd/sendlog.c:1020 plugins/sudoers/iolog.c:951 +#: plugins/sudoers/iolog.c:1026 +#, c-format +msgid "unexpected I/O event %d" +msgstr "neatendita eneliga evento %d" + +#: logsrvd/sendlog.c:1073 logsrvd/sendlog.c:1090 logsrvd/sendlog.c:1124 +#: plugins/sudoers/log_client.c:1118 plugins/sudoers/log_client.c:1395 +#: plugins/sudoers/log_client.c:1463 plugins/sudoers/log_client.c:1502 +#, c-format +msgid "%s: unexpected state %d" +msgstr "%s: neatendita stato %d" + +#: logsrvd/sendlog.c:1160 plugins/sudoers/log_client.c:1551 +#, c-format +msgid "error message received from server: %s" +msgstr "erarmesaĝo ricevita el servilo: %s" + +#: logsrvd/sendlog.c:1173 plugins/sudoers/log_client.c:1564 +#, c-format +msgid "abort message received from server: %s" +msgstr "abortiga mesaĝo ricevita el servilo: %s" + +#: logsrvd/sendlog.c:1232 plugins/sudoers/log_client.c:1614 +#, c-format +msgid "%s: unexpected type_case value %d" +msgstr "%s neatendita valoro %d de type_case" + +#: logsrvd/sendlog.c:1261 +msgid "timeout reading from server" +msgstr "eksvalidiĝo dum legado el servilo" + +#: logsrvd/sendlog.c:1310 plugins/sudoers/log_client.c:1730 +msgid "host name does not match certificate" +msgstr "retnodnomo ne kongruas kun atestilo" + +#: logsrvd/sendlog.c:1343 +msgid "premature EOF" +msgstr "trofrua dosierfino" + +#: logsrvd/sendlog.c:1356 plugins/sudoers/log_client.c:1777 +#, c-format +msgid "server message too large: %u" +msgstr "servila mesaĝo tro granda: %u" + +#: logsrvd/sendlog.c:1412 +msgid "timeout writing to server" +msgstr "eksvalidiĝo dum skribado al servilo" + +#: logsrvd/sendlog.c:1779 +msgid "both restart point and iolog ID must be specified" +msgstr "kaj restartiga punkto kaj iolog-identigilo estas specifendaj" + +#: logsrvd/sendlog.c:1783 +msgid "a restart point may not be set when no I/O is sent" +msgstr "ne rajtas estigi restartigan punkton kiam neniu eneligaĵo estas sendita" + +#: logsrvd/sendlog.c:1859 +#, c-format +msgid "exited prematurely with state %d" +msgstr "trofrue finiĝis kun stato %d" + +#: logsrvd/sendlog.c:1860 +#, c-format +msgid "elapsed time sent to server [%lld, %ld]" +msgstr "pasinta tempo sentita al servilo [%lld, %ld]" + +#: logsrvd/sendlog.c:1862 +#, c-format +msgid "commit point received from server [%lld, %ld]" +msgstr "kunsendita punkto ricevita el servilo [%lld, %ld]" + +#: logsrvd/tls_client.c:111 plugins/sudoers/log_client.c:315 +msgid "TLS handshake timeout occurred" +msgstr "Eksvalidiĝo de TLS-manpremo okazis" + +#: logsrvd/tls_client.c:131 logsrvd/tls_client.c:147 +#: plugins/sudoers/log_client.c:337 plugins/sudoers/log_client.c:353 +msgid "unable to set event" +msgstr "ne eblas apliki eventon" + +#: logsrvd/tls_client.c:157 logsrvd/tls_client.c:161 +#, c-format +msgid "TLS connection failed: %s" +msgstr "TLS-konekto malsukcesis: %s" + +#: logsrvd/tls_client.c:196 +#, c-format +msgid "unable to allocate ssl object: %s" +msgstr "ne eblas generi SSL-objekton: %s" + +#: logsrvd/tls_client.c:210 +#, c-format +msgid "Unable to attach socket to the ssl object: %s" +msgstr "Ne eblas almeti ŝtopilingon al la SSL-objekton: %s" + +#: logsrvd/tls_client.c:238 +msgid "unable to initialize TLS context" +msgstr "ne eblas ekigi TLS-kuntekston" + +#: logsrvd/tls_init.c:138 logsrvd/tls_init.c:146 +#, c-format +msgid "unable to set TLS 1.2 ciphersuite to %s: %s" +msgstr "ne agordi ĉifraron de TLS 1.2 al %s: %s" + +#: logsrvd/tls_init.c:166 logsrvd/tls_init.c:174 +#, c-format +msgid "unable to set TLS 1.3 ciphersuite to %s: %s" +msgstr "ne agordi ĉifraron de TLS 1.3 al %s: %s" + +#: logsrvd/tls_init.c:206 logsrvd/tls_init.c:227 +#, c-format +msgid "unable to set diffie-hellman parameters: %s" +msgstr "ne ablas agordi parametrojn de diffie-hellman: %s" + +#: logsrvd/tls_init.c:283 +#, c-format +msgid "unable to create TLS context: %s" +msgstr "ne eblas krei TLS-kuntekston: %s" + +#: logsrvd/tls_init.c:290 +#, c-format +msgid "unable to set minimum protocol version to TLS 1.2: %s" +msgstr "ne ablas elekti minimuman eldonon de TLS al 1.2: %s" + +#: plugins/sudoers/audit.c:269 plugins/sudoers/audit.c:429 +#: plugins/sudoers/log_client.c:951 plugins/sudoers/log_client.c:1000 +#: plugins/sudoers/log_client.c:1049 plugins/sudoers/log_client.c:1175 +#: plugins/sudoers/logging.c:591 plugins/sudoers/logging.c:689 +#: plugins/sudoers/logging.c:792 plugins/sudoers/logging.c:983 +#: plugins/sudoers/policy.c:124 +msgid "unable to get time of day" +msgstr "ne eblas akiri la tempon de la tago" + +#: plugins/sudoers/auth/aix_auth.c:280 +#, c-format +msgid "unable to change password for %s" +msgstr "ne eblas ŝanĝi pasvorton por %s" + +#: plugins/sudoers/auth/bsdauth.c:74 +#, c-format +msgid "unable to get login class for user %s" +msgstr "ne eblas akiri ensalutan klason por uzanto %s" + +#: plugins/sudoers/auth/bsdauth.c:79 +msgid "unable to begin bsd authentication" +msgstr "ne eblas komenci bsd-aŭtentikigon" + +#: plugins/sudoers/auth/bsdauth.c:87 +msgid "invalid authentication type" +msgstr "malvalida aŭtentikiga tipo" + +#: plugins/sudoers/auth/bsdauth.c:96 +msgid "unable to initialize BSD authentication" +msgstr "ne eblas komenci BSD-aŭtentikigon" + +#: plugins/sudoers/auth/bsdauth.c:186 +msgid "your account has expired" +msgstr "via konto ekzvalidiĝis" + +#: plugins/sudoers/auth/bsdauth.c:188 +msgid "approval failed" +msgstr "aprobo malsukcesis" + +#: plugins/sudoers/auth/fwtk.c:61 +msgid "unable to read fwtk config" +msgstr "ne eblas legi fwtk-agordon" + +#: plugins/sudoers/auth/fwtk.c:66 +msgid "unable to connect to authentication server" +msgstr "ne eblas konektiĝi al aŭtentikiga servilo" + +#: plugins/sudoers/auth/fwtk.c:72 plugins/sudoers/auth/fwtk.c:97 +#: plugins/sudoers/auth/fwtk.c:129 +msgid "lost connection to authentication server" +msgstr "konekto al aŭtentikiga servilo perdita" + +#: plugins/sudoers/auth/fwtk.c:76 +#, c-format +msgid "" +"authentication server error:\n" +"%s" +msgstr "" +"eraro de aŭtentikiga servilo:\n" +"%s" + +#: plugins/sudoers/auth/kerb5.c:115 +#, c-format +msgid "%s: unable to convert principal to string ('%s'): %s" +msgstr "%s ne eblas konverti ĉefon al ĉeno ('%s'): %s" + +#: plugins/sudoers/auth/kerb5.c:164 +#, c-format +msgid "%s: unable to parse '%s': %s" +msgstr "%s: ne eblas analizi: '%s': %s" + +#: plugins/sudoers/auth/kerb5.c:173 +#, c-format +msgid "%s: unable to resolve credential cache: %s" +msgstr "%s: ne eblas trovi ccache-on: %s" + +#: plugins/sudoers/auth/kerb5.c:222 +#, c-format +msgid "%s: unable to allocate options: %s" +msgstr "%s: ne eblas generi elektojn: %s" + +#: plugins/sudoers/auth/kerb5.c:237 +#, c-format +msgid "%s: unable to get credentials: %s" +msgstr "%s: ne eblas akiri atestilojn: %s" + +#: plugins/sudoers/auth/kerb5.c:250 +#, c-format +msgid "%s: unable to initialize credential cache: %s" +msgstr "%s: ne eblas ekigi atestilan kaŝmemoron: %s" + +#: plugins/sudoers/auth/kerb5.c:253 +#, c-format +msgid "%s: unable to store credential in cache: %s" +msgstr "%s: ne eblas konservi atestilon en kaŝmemoro: %s" + +#: plugins/sudoers/auth/kerb5.c:317 +#, c-format +msgid "%s: unable to get host principal: %s" +msgstr "%s: ne eblas atingi gastiganton ĉefan: %s" + +#: plugins/sudoers/auth/kerb5.c:331 +#, c-format +msgid "%s: Cannot verify TGT! Possible attack!: %s" +msgstr "%s: Ne eblas kontroli TGT! Ebla atako!: %s" + +#: plugins/sudoers/auth/pam.c:224 +#, c-format +msgid "unable to initialize PAM: %s" +msgstr "ne eblas ekigi PAM: %s" + +#: plugins/sudoers/auth/pam.c:337 +#, c-format +msgid "PAM authentication error: %s" +msgstr "Eraro de aŭtentikiga servilo: %s" + +#: plugins/sudoers/auth/pam.c:356 +msgid "account validation failure, is your account locked?" +msgstr "malsukceso ĉe konta validigo, ĉu via konto estas ŝlosita?" + +#: plugins/sudoers/auth/pam.c:367 +msgid "Account or password is expired, reset your password and try again" +msgstr "Konto aŭ pasvorto eksvalidiĝis, restarigu vian pasvorton kaj reprovu" + +#: plugins/sudoers/auth/pam.c:373 +#, c-format +msgid "unable to change expired password: %s" +msgstr "ne eblas ŝanĝi eksvalidan pasvorton: %s" + +#: plugins/sudoers/auth/pam.c:384 +msgid "Password expired, contact your system administrator" +msgstr "Pasvorto eksvalidiĝis, kontaktu vian sistemestron" + +#: plugins/sudoers/auth/pam.c:389 +msgid "Account expired or PAM config lacks an \"account\" section for sudo, contact your system administrator" +msgstr "Konto eksvalidiĝis aŭ PAM-agordon malhavas sekcion \"account\" por sudo, kontaktu vian sistemestron" + +#: plugins/sudoers/auth/pam.c:397 plugins/sudoers/auth/pam.c:402 +#, c-format +msgid "PAM account management error: %s" +msgstr "Eraro de administro de konto PAM: %s" + +#: plugins/sudoers/auth/rfc1938.c:99 plugins/sudoers/visudo.c:271 +#, c-format +msgid "you do not exist in the %s database" +msgstr "vi ne ekzistas en la datumbazo %s" + +#: plugins/sudoers/auth/securid5.c:75 +msgid "failed to initialise the ACE API library" +msgstr "malsukcesis ekigi la bibliotekon de la API ACE" + +#: plugins/sudoers/auth/securid5.c:106 +msgid "unable to contact the SecurID server" +msgstr "ne eblas kontakti la servilon de SecurID" + +#: plugins/sudoers/auth/securid5.c:115 +msgid "User ID locked for SecurID Authentication" +msgstr "Uzanto-identigilo ŝlosita pro Aŭtentikigo SecurID" + +#: plugins/sudoers/auth/securid5.c:119 plugins/sudoers/auth/securid5.c:170 +msgid "invalid username length for SecurID" +msgstr "malvalida salutnoma longo por SecurID" + +#: plugins/sudoers/auth/securid5.c:123 plugins/sudoers/auth/securid5.c:175 +msgid "invalid Authentication Handle for SecurID" +msgstr "malvalida Aŭtentikiga Traktilo por SecurID" + +#: plugins/sudoers/auth/securid5.c:127 +msgid "SecurID communication failed" +msgstr "Komunikiĝo kun SecurID malsukcesis" + +#: plugins/sudoers/auth/securid5.c:131 plugins/sudoers/auth/securid5.c:218 +msgid "unknown SecurID error" +msgstr "nekonata SecurID-eraro" + +#: plugins/sudoers/auth/securid5.c:165 +msgid "invalid passcode length for SecurID" +msgstr "malvalida paskoda longo por SecurID" + +#: plugins/sudoers/auth/sia.c:69 plugins/sudoers/auth/sia.c:126 +msgid "unable to initialize SIA session" +msgstr "ne eblas ekigi SIA-seascon" + +#: plugins/sudoers/auth/sudo_auth.c:135 +msgid "invalid authentication methods" +msgstr "malvalidaj aŭtentikigaj metodoj" + +#: plugins/sudoers/auth/sudo_auth.c:137 +msgid "Invalid authentication methods compiled into sudo! You may not mix standalone and non-standalone authentication." +msgstr "Nevalidaj aŭtentikigaj metodoj kompilitaj en sudo! Vi ne rajtas miksi dependan kaj sendependan aŭtentikigon." + +#: plugins/sudoers/auth/sudo_auth.c:258 plugins/sudoers/auth/sudo_auth.c:310 +msgid "no authentication methods" +msgstr "neniu aŭtentikiga metodo" + +#: plugins/sudoers/auth/sudo_auth.c:260 +msgid "There are no authentication methods compiled into sudo! If you want to turn off authentication, use the --disable-authentication configure option." +msgstr "Ekzistas neniaj aŭtentikigaj metodoj kompilitaj en sudo! Se vi volas malŝalti aŭtentikigon, uzu la agordan parametron --disable-authentication." + +#: plugins/sudoers/auth/sudo_auth.c:312 +msgid "Unable to initialize authentication methods." +msgstr "Ne eblas komenci aŭtentikigajn metodojn." + +#: plugins/sudoers/auth/sudo_auth.c:486 +msgid "Authentication methods:" +msgstr "Aŭtentikigaj metodoj:" + +#: plugins/sudoers/bsm_audit.c:123 plugins/sudoers/bsm_audit.c:214 +msgid "Could not determine audit condition" +msgstr "Ne eblis determini revizian kondiĉon" + +#: plugins/sudoers/bsm_audit.c:188 plugins/sudoers/bsm_audit.c:277 +msgid "unable to commit audit record" +msgstr "ne eblis konservi revizian rikordon" + +#: plugins/sudoers/check.c:285 +#, c-format +msgid "error reading lecture file %s" +msgstr "eraro dum legi prelegan dosieron %s" + +#: plugins/sudoers/check.c:288 +#, c-format +msgid "ignoring lecture file %s: not a regular file" +msgstr "ignoranta prelegan dosieron %s: ne regula dosiero" + +#: plugins/sudoers/check.c:301 +msgid "" +"\n" +"We trust you have received the usual lecture from the local System\n" +"Administrator. It usually boils down to these three things:\n" +"\n" +" #1) Respect the privacy of others.\n" +" #2) Think before you type.\n" +" #3) With great power comes great responsibility.\n" +"\n" +msgstr "" +"\n" +"Ni fidas, ke vi ricevis la kutiman admonojn de la loka\n" +"sistemestro. Resume memoru la jenajn punktojn:\n" +"\n" +" #1) Estimu la privatecon de aliaj.\n" +" #2) Pensu antaŭ ol tajpi.\n" +" #3) Granda povo devigas grandan responson.\n" +"\n" + +#: plugins/sudoers/check.c:348 plugins/sudoers/check.c:358 +#: plugins/sudoers/parse.c:64 plugins/sudoers/sudoers.c:920 +#: plugins/sudoers/sudoers.c:941 plugins/sudoers/tsdump.c:119 +#, c-format +msgid "unknown uid %u" +msgstr "nekonata uid %u" + +#: plugins/sudoers/check_aliases.c:99 plugins/sudoers/defaults.c:1279 +#, c-format +msgid "%s: %s\n" +msgstr "%s: %s\n" + +#: plugins/sudoers/check_aliases.c:133 +#, c-format +msgid "cycle in %s \"%s\"" +msgstr "ciklo en %s \"%s\"" + +#: plugins/sudoers/check_aliases.c:136 +#, c-format +msgid "%s \"%s\" referenced but not defined" +msgstr "%s \"%s\" estas referencita sed ne difinita" + +#: plugins/sudoers/cvtsudoers.c:209 +#, c-format +msgid "order increment: %s: %s" +msgstr "alkremento de ordo: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:228 +#, c-format +msgid "starting order: %s: %s" +msgstr "komenca ordo: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:238 +#, c-format +msgid "order padding: %s: %s" +msgstr "ŝtopado de ordo: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:248 plugins/sudoers/visudo.c:184 +#, c-format +msgid "%s grammar version %d\n" +msgstr "%s gramatika eldono %d\n" + +#: plugins/sudoers/cvtsudoers.c:277 plugins/sudoers/testsudoers.c:159 +#, c-format +msgid "unsupported input format %s" +msgstr "nesubtenata enig-formo %s" + +#: plugins/sudoers/cvtsudoers.c:295 +#, c-format +msgid "unsupported output format %s" +msgstr "nesubtenata elig-formo %s" + +#: plugins/sudoers/cvtsudoers.c:385 +#, c-format +msgid "%s: input and output files must be different" +msgstr "%s: eliga kaj eniga dosieroj devas esti malsamaj" + +#: plugins/sudoers/cvtsudoers.c:399 plugins/sudoers/sudoers.c:166 +#: plugins/sudoers/sudoers.c:222 plugins/sudoers/testsudoers.c:254 +#: plugins/sudoers/visudo.c:280 plugins/sudoers/visudo.c:650 +#: plugins/sudoers/visudo.c:975 +msgid "unable to initialize sudoers default values" +msgstr "ne eblas ekigi aŭtomatajn valorojn de sudoers" + +#: plugins/sudoers/cvtsudoers.c:525 plugins/sudoers/ldap_conf.c:434 +#, c-format +msgid "%s: %s: %s: %s" +msgstr "%s: %s: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:584 +#, c-format +msgid "%s: unknown key word %s" +msgstr "%s: nekonata ŝlosilvorto %s" + +#: plugins/sudoers/cvtsudoers.c:630 +#, c-format +msgid "invalid defaults type: %s" +msgstr "malvalida defaŭlto-tipo: %s" + +#: plugins/sudoers/cvtsudoers.c:653 +#, c-format +msgid "invalid suppression type: %s" +msgstr "malvalida demeto-tipo: %s" + +#: plugins/sudoers/cvtsudoers.c:694 plugins/sudoers/cvtsudoers.c:710 +#, c-format +msgid "invalid filter: %s" +msgstr "malvalida filtro: %s" + +#: plugins/sudoers/cvtsudoers.c:754 plugins/sudoers/visudo.c:980 +#, c-format +msgid "failed to parse %s file, unknown error" +msgstr "malsukcesis analizi dosieron %s, nekonata eraro" + +#: plugins/sudoers/cvtsudoers.c:1478 plugins/sudoers/sudoreplay.c:1145 +#: plugins/sudoers/timestamp.c:343 plugins/sudoers/timestamp.c:346 +#, c-format +msgid "unable to write to %s" +msgstr "ne eblas skribi al %s" + +#: plugins/sudoers/cvtsudoers.c:1506 +#, c-format +msgid "" +"%s - convert between sudoers file formats\n" +"\n" +msgstr "" +"%s - konverti inter dosierformoj de sudoers\n" +"\n" + +#: plugins/sudoers/cvtsudoers.c:1508 +msgid "" +"\n" +"Options:\n" +" -b, --base=dn the base DN for sudo LDAP queries\n" +" -c, --config=conf_file the path to the configuration file\n" +" -d, --defaults=deftypes only convert Defaults of the specified types\n" +" -e, --expand-aliases expand aliases when converting\n" +" -f, --output-format=format set output format: JSON, LDIF or sudoers\n" +" -i, --input-format=format set input format: LDIF or sudoers\n" +" -I, --increment=num amount to increase each sudoOrder by\n" +" -h, --help display help message and exit\n" +" -m, --match=filter only convert entries that match the filter\n" +" -M, --match-local match filter uses passwd and group databases\n" +" -o, --output=output_file write converted sudoers to output_file\n" +" -O, --order-start=num starting point for first sudoOrder\n" +" -p, --prune-matches prune non-matching users, groups and hosts\n" +" -P, --padding=num base padding for sudoOrder increment\n" +" -s, --suppress=sections suppress output of certain sections\n" +" -V, --version display version information and exit" +msgstr "" +"\n" +"Modifiloj:\n" +" -b, --base=DN la baza DN por petoj de sudo LDAP\n" +" -c, --config=agordo la vojo al la agordo-dosiero\n" +" -d, --defaults=deftipoj nur konverti Defaŭltojn el la indikitaj tipoj\n" +" -e, --expand-aliases disvolvigi kromnomojn dum konverto\n" +" -f, --output-format=formo difini elig-formon: JSON, LDIF aŭ sudoers\n" +" -i, --input-format=formo difini enig-formon: LDIF aŭ sudoers\n" +" -I, --increment=num kiom alkrementi po ĉiu sudoOrder\n" +" -h, --help montri helpmesaĝo kaj eliri\n" +" -m, --match=filtro nur konverti enigojn kiuj akordas al la filtro\n" +" -M, --match-local akordo-filtro uzas datumbazojn de passwd kaj de group\n" +" -o, --output=elig_dosiero skribi konvertitan sudoers al elig-dosiero\n" +" -O, --order-start=num ekpunkto por la unua sudoOrder\n" +" -p, --prune-matches pritondi nekongruantajn uzantojn, grupojn kaj gastigantojn\n" +" -P, --padding=num baza ŝtopo por alkremento de sudoOrder\n" +" -s, --suppress=sekcioj demeti eligon el kelkaj sekcioj\n" +" -V, --version montri informon pri versio kaj eliri" + +#: plugins/sudoers/cvtsudoers_csv.c:452 plugins/sudoers/cvtsudoers_csv.c:466 +#: plugins/sudoers/cvtsudoers_json.c:657 plugins/sudoers/cvtsudoers_json.c:672 +#: plugins/sudoers/cvtsudoers_ldif.c:347 plugins/sudoers/cvtsudoers_ldif.c:360 +#: plugins/sudoers/ldap.c:510 +msgid "unable to get GMT time" +msgstr "ne eblas atingi GMT-tempon" + +#: plugins/sudoers/cvtsudoers_csv.c:457 plugins/sudoers/cvtsudoers_csv.c:471 +#: plugins/sudoers/cvtsudoers_json.c:662 plugins/sudoers/cvtsudoers_json.c:677 +#: plugins/sudoers/cvtsudoers_ldif.c:352 plugins/sudoers/cvtsudoers_ldif.c:365 +#: plugins/sudoers/ldap.c:518 +msgid "unable to format timestamp" +msgstr "ne eblas aranĝi tempo-indikilon" + +#: plugins/sudoers/cvtsudoers_json.c:480 plugins/sudoers/cvtsudoers_json.c:515 +#: plugins/sudoers/cvtsudoers_json.c:728 +#, c-format +msgid "%s:%d:%d: unknown defaults entry \"%s\"" +msgstr "%s:%d:%d: nekonata ero de defaults \"%s\"" + +#: plugins/sudoers/cvtsudoers_ldif.c:661 +#, c-format +msgid "too many sudoers entries, maximum %u" +msgstr "tro multaj enigoj de sudoers, maksimume %u" + +#: plugins/sudoers/cvtsudoers_ldif.c:704 +msgid "the SUDOERS_BASE environment variable is not set and the -b option was not specified." +msgstr "la medivariablo SUDOERS_BASE ne estas difinita kaj la modifilo -b ne estis indikata." + +#: plugins/sudoers/cvtsudoers_merge.c:273 +#: plugins/sudoers/cvtsudoers_merge.c:309 +#, c-format +msgid "%s:%d:%d: converting host list to ALL" +msgstr "%s:%d:%d: konvertis gastigoliston al ALL" + +#: plugins/sudoers/cvtsudoers_merge.c:545 +#, c-format +msgid "unable to find alias %s" +msgstr "ne eblas trovi alinomon: %s" + +#: plugins/sudoers/cvtsudoers_merge.c:548 +#, c-format +msgid "%s:%d:%d: renaming alias %s to %s" +msgstr "%s:%d:%d: alinomo ŝanĝiĝinta de %s al %s" + +#: plugins/sudoers/cvtsudoers_merge.c:605 +#, c-format +msgid "%s:%d:%d: removing duplicate alias %s" +msgstr "%s:%d:%d: forigas duobligitan alinomon %s" + +#: plugins/sudoers/cvtsudoers_merge.c:830 +#, c-format +msgid "%s:%d:%d: conflicting Defaults entry \"%s\" host-specific in %s:%d:%d" +msgstr "%s:%d:%d: konflikta ero Defafaults \"%s\" estas retnodo-specifa en %s:%d:%d" + +#: plugins/sudoers/cvtsudoers_merge.c:864 +#, c-format +msgid "%s:%d:%d: made Defaults \"%s\" specific to host %s" +msgstr "%s:%d:%d: Defaults-ero \"%s\" nun specifa por retnodo %s" + +#: plugins/sudoers/cvtsudoers_merge.c:882 +#, c-format +msgid "%s:%d:%d: unable to make Defaults \"%s\" host-specific" +msgstr "%s:%d:%d ne eblas fari, ke Defaults \"%s\" estu retnodo-specifa" + +#: plugins/sudoers/cvtsudoers_merge.c:892 +#, c-format +msgid "%s:%d:%d: removing Defaults \"%s\" overridden by subsequent entries" +msgstr "%s:%d:%d forigias Default-eron \"%s\" superregita de sinsekvaj eroj" + +#: plugins/sudoers/cvtsudoers_merge.c:1088 +#, c-format +msgid "%s:%d:%d: merging userspec into %s:%d:%d" +msgstr "%s:%d:%d: kunfundis userspec-on en %s:%d:%d" + +#: plugins/sudoers/cvtsudoers_merge.c:1182 +#, c-format +msgid "%s:%d:%d: removing userspec overridden by subsequent entries" +msgstr "%s:%d:%d:forigo de userspec superregita de sinsekvaj eroj" + +#: plugins/sudoers/def_data.c:56 +#, c-format +msgid "Syslog facility if syslog is being used for logging: %s" +msgstr "Syslog-trajto se syslog estas uzata por protokoli: %s" + +#: plugins/sudoers/def_data.c:60 +#, c-format +msgid "Syslog priority to use when user authenticates successfully: %s" +msgstr "Syslog-prioritato por uzi, kiam uzanto sukcese aŭtentikiĝas: %s" + +#: plugins/sudoers/def_data.c:64 +#, c-format +msgid "Syslog priority to use when user authenticates unsuccessfully: %s" +msgstr "Syslog-prioritato por uzi kiam uzanto malsukcese aŭtentikigas: %s" + +#: plugins/sudoers/def_data.c:68 +msgid "Put OTP prompt on its own line" +msgstr "Meti OTP-demandilon en sia propra linio" + +#: plugins/sudoers/def_data.c:72 +msgid "Ignore '.' in $PATH" +msgstr "Ignori '.' en $PATH" + +#: plugins/sudoers/def_data.c:76 +msgid "Always send mail when sudo is run" +msgstr "Ĉiam sendi retmesaĝon kiam sudo plenumiĝas" + +#: plugins/sudoers/def_data.c:80 +msgid "Send mail if user authentication fails" +msgstr "Sendi retmesaĝon se uzanto-aŭtentikiĝo malsukcesas" + +#: plugins/sudoers/def_data.c:84 +msgid "Send mail if the user is not in sudoers" +msgstr "Sendi retmesaĝon se la uzanto ne estas en sudoers" + +#: plugins/sudoers/def_data.c:88 +msgid "Send mail if the user is not in sudoers for this host" +msgstr "Sendi retmesaĝon se la uzanto ne estas en sudoers por la gastiganto" + +#: plugins/sudoers/def_data.c:92 +msgid "Send mail if the user is not allowed to run a command" +msgstr "Sendi retmesaĝon se la uzanto ne estas permesata plenumigi komandon" + +#: plugins/sudoers/def_data.c:96 +msgid "Send mail if the user tries to run a command" +msgstr "Sendi retmesaĝon se la uzanto provi plenumigi komandon" + +#: plugins/sudoers/def_data.c:100 +msgid "Use a separate timestamp for each user/tty combo" +msgstr "Uzi apartan tempo-indikilon por ĉiu uzanto/tty-kombino" + +#: plugins/sudoers/def_data.c:104 +msgid "Lecture user the first time they run sudo" +msgstr "Averti uzanton dum la unua fojo ĝi plenumigas je sudo" + +#: plugins/sudoers/def_data.c:108 +#, c-format +msgid "File containing the sudo lecture: %s" +msgstr "Dosiero havanta la sudo-averton: %s" + +#: plugins/sudoers/def_data.c:112 +msgid "Require users to authenticate by default" +msgstr "Postulas, ke uzantoj aŭtentikiĝu aŭtomate" + +#: plugins/sudoers/def_data.c:116 +msgid "Root may run sudo" +msgstr "Ĉefuzanto rajtas plenumigi: sudo" + +#: plugins/sudoers/def_data.c:120 +msgid "Log the hostname in the (non-syslog) log file" +msgstr "Protokoli la gastignomon en la (ne syslog) protokolo" + +#: plugins/sudoers/def_data.c:124 +msgid "Log the year in the (non-syslog) log file" +msgstr "Protokoli la jaron en la (ne syslog) protokolo" + +#: plugins/sudoers/def_data.c:128 +msgid "If sudo is invoked with no arguments, start a shell" +msgstr "Se sudo estas vokata kun neniuj parametroj, komencu ŝelon" + +#: plugins/sudoers/def_data.c:132 +msgid "Set $HOME to the target user when starting a shell with -s" +msgstr "Valorizi medivariablon $HOME al la cela uzanto dum komenci ŝelon kun -s" + +#: plugins/sudoers/def_data.c:136 +msgid "Always set $HOME to the target user's home directory" +msgstr "Ĉiam valorizi medivariablon $HOME al la hejma dosierujo de la cela uzanto" + +#: plugins/sudoers/def_data.c:140 +msgid "Allow some information gathering to give useful error messages" +msgstr "Permesi, ke iu informokolektado por doni utilajn eraromesaĝojn" + +#: plugins/sudoers/def_data.c:144 +msgid "Require fully-qualified hostnames in the sudoers file" +msgstr "Postuli tute kvalifikitajn gastiganto-nomojn en la dosiero sudoers" + +#: plugins/sudoers/def_data.c:148 +msgid "Insult the user when they enter an incorrect password" +msgstr "Insulti la uzanton, kiam si enmetas malĝustan pasvorton" + +#: plugins/sudoers/def_data.c:152 +msgid "Only allow the user to run sudo if they have a tty" +msgstr "Nur permesi, ke uzanto plenumigu sudo-on se si havas tty-on" + +#: plugins/sudoers/def_data.c:156 +msgid "Visudo will honor the EDITOR environment variable" +msgstr "Visudo honoru la medivariablon EDITOR" + +#: plugins/sudoers/def_data.c:160 +msgid "Prompt for root's password, not the users's" +msgstr "Peti la ĉefuzantan pasvorton, ne la uzanto-pasvorton" + +#: plugins/sudoers/def_data.c:164 +msgid "Prompt for the runas_default user's password, not the users's" +msgstr "Peti la pasvorton de runas_default, ne de la uzanto" + +#: plugins/sudoers/def_data.c:168 +msgid "Prompt for the target user's password, not the users's" +msgstr "Peti la pasvorton de la cela uzanto, ne la nuna uzanto" + +#: plugins/sudoers/def_data.c:172 +msgid "Apply defaults in the target user's login class if there is one" +msgstr "Apliki aŭtomataĵojn en la ensaluta klaso de la cela uzanto, se ĝi ekzistas" + +#: plugins/sudoers/def_data.c:176 +msgid "Set the LOGNAME and USER environment variables" +msgstr "Valorizi la medivariablojn LOGNAME kaj USER" + +#: plugins/sudoers/def_data.c:180 +msgid "Only set the effective uid to the target user, not the real uid" +msgstr "Nur valorizi la efikan uid-on al la cela uzanto, ne la realan uid-on" + +#: plugins/sudoers/def_data.c:184 +msgid "Don't initialize the group vector to that of the target user" +msgstr "Ne ekigi la grupon vektoron al tio de la cela uzanto" + +#: plugins/sudoers/def_data.c:188 +#, c-format +msgid "Length at which to wrap log file lines (0 for no wrap): %u" +msgstr "Longo je kiu linfaldi la protokol-dosieraj linioj (0 por senfalda): %u" + +#: plugins/sudoers/def_data.c:192 +#, c-format +msgid "Authentication timestamp timeout: %.1f minutes" +msgstr "Eksvalidiĝo de la aŭtentikiga tempo-indikilo: %.1f minutoj" + +#: plugins/sudoers/def_data.c:196 +#, c-format +msgid "Password prompt timeout: %.1f minutes" +msgstr "Eksvalidiĝo de la pasvortilo: %.1f minutoj" + +#: plugins/sudoers/def_data.c:200 +#, c-format +msgid "Number of tries to enter a password: %u" +msgstr "Nombro da provoj por enmeti pasvorton: %u" + +#: plugins/sudoers/def_data.c:204 +#, c-format +msgid "Umask to use or 0777 to use user's: 0%o" +msgstr "Umask uzi aŭ 07777 por uzi uzanton: 0%o" + +#: plugins/sudoers/def_data.c:208 +#, c-format +msgid "Path to log file: %s" +msgstr "Vojo al protokolo: %s" + +#: plugins/sudoers/def_data.c:212 +#, c-format +msgid "Path to mail program: %s" +msgstr "Vojo al retpoŝtilo: %s" + +#: plugins/sudoers/def_data.c:216 +#, c-format +msgid "Flags for mail program: %s" +msgstr "Parametroj por retpoŝtilo: %s" + +#: plugins/sudoers/def_data.c:220 +#, c-format +msgid "Address to send mail to: %s" +msgstr "Retpoŝtadreso adresata: %s" + +#: plugins/sudoers/def_data.c:224 +#, c-format +msgid "Address to send mail from: %s" +msgstr "Retpoŝtadreso adresanta: %s" + +#: plugins/sudoers/def_data.c:228 +#, c-format +msgid "Subject line for mail messages: %s" +msgstr "Subjekta linio por ĉiuj mesaĝoj: %s" + +#: plugins/sudoers/def_data.c:232 +#, c-format +msgid "Incorrect password message: %s" +msgstr "Neĝusta pasvorta mesaĝo: %s" + +#: plugins/sudoers/def_data.c:236 +#, c-format +msgid "Path to lecture status dir: %s" +msgstr "Vojo al dosierujo de prelega stato: %s" + +#: plugins/sudoers/def_data.c:240 +#, c-format +msgid "Path to authentication timestamp dir: %s" +msgstr "Vojo al dosierujo de aŭtentikiga tempo-indikilo: %s" + +#: plugins/sudoers/def_data.c:244 +#, c-format +msgid "Owner of the authentication timestamp dir: %s" +msgstr "Estro de la dosierujo de aŭtentikiga tempo-indikilo: %s" + +#: plugins/sudoers/def_data.c:248 +#, c-format +msgid "Users in this group are exempt from password and PATH requirements: %s" +msgstr "Uzantoj en la grupo en devas plenumi la postulojn de pasvorto kaj PATH: %s" + +#: plugins/sudoers/def_data.c:252 +#, c-format +msgid "Default password prompt: %s" +msgstr "Defaŭlta pasvorta peto: %s" + +#: plugins/sudoers/def_data.c:256 +msgid "If set, passprompt will override system prompt in all cases." +msgstr "Se aktivigita, passprompt superregas sistemajn invitojn ĉiuokaze." + +#: plugins/sudoers/def_data.c:260 +#, c-format +msgid "Default user to run commands as: %s" +msgstr "Defaŭlta uzanto por plenumigi komandojn: %s" + +#: plugins/sudoers/def_data.c:264 +#, c-format +msgid "Value to override user's $PATH with: %s" +msgstr "Valoro per kiu superregi la PATH-on de uzanto: %s" + +#: plugins/sudoers/def_data.c:268 +#, c-format +msgid "Path to the editor for use by visudo: %s" +msgstr "Vojo al la tekstoredaktilo uzota de visudo: %s" + +#: plugins/sudoers/def_data.c:272 +#, c-format +msgid "When to require a password for 'list' pseudocommand: %s" +msgstr "Kiam postuli pasvorton por la pseŭdokomando 'list' : %s" + +#: plugins/sudoers/def_data.c:276 +#, c-format +msgid "When to require a password for 'verify' pseudocommand: %s" +msgstr "Kiam postuli pasvorton por la pseŭdokamando 'verify' : %s" + +#: plugins/sudoers/def_data.c:280 +msgid "Preload the sudo_noexec library which replaces the exec functions" +msgstr "Antaŭŝargi la bibliotekon sudo_noexec, kiu anstataŭas la exec-funkciojn" + +#: plugins/sudoers/def_data.c:284 +msgid "If LDAP directory is up, do we ignore local sudoers file" +msgstr "Se LDAP-dosierujo estas aktiva, ni ignoru la lokan suders-dosieron" + +#: plugins/sudoers/def_data.c:288 +#, c-format +msgid "File descriptors >= %d will be closed before executing a command" +msgstr "Dosiero-priskribiloj >= %d fermiĝos antaŭ ol plenumigi komandon" + +#: plugins/sudoers/def_data.c:292 +msgid "If set, users may override the value of \"closefrom\" with the -C option" +msgstr "Se elektita, uzantoj rajtas superregi la valoron de \"closefrom\" per la parametro -C" + +#: plugins/sudoers/def_data.c:296 +msgid "Allow users to set arbitrary environment variables" +msgstr "Permesi, ke uzantoj valorizu arbitrajn medivariablojn" + +#: plugins/sudoers/def_data.c:300 +msgid "Reset the environment to a default set of variables" +msgstr "Restarigi la medion al apriora aro da variabloj" + +#: plugins/sudoers/def_data.c:304 +msgid "Environment variables to check for safety:" +msgstr "Medivariabloj por kontroli por sekureco:" + +#: plugins/sudoers/def_data.c:308 +msgid "Environment variables to remove:" +msgstr "Medivariabloj por forigi:" + +#: plugins/sudoers/def_data.c:312 +msgid "Environment variables to preserve:" +msgstr "Medivariabloj konservi:" + +#: plugins/sudoers/def_data.c:316 +#, c-format +msgid "SELinux role to use in the new security context: %s" +msgstr "SELinux-rolo por uzi en la nova sekureca kunteksto: %s" + +#: plugins/sudoers/def_data.c:320 +#, c-format +msgid "SELinux type to use in the new security context: %s" +msgstr "SELinux-tipo por uzi en la nova sekureca kunteksto: %s" + +#: plugins/sudoers/def_data.c:324 +#, c-format +msgid "Path to the sudo-specific environment file: %s" +msgstr "Vojo al media dosiero specifa al sudo: %s" + +#: plugins/sudoers/def_data.c:328 +#, c-format +msgid "Path to the restricted sudo-specific environment file: %s" +msgstr "Vojo al la neatingebla sudo-specifa medio-dosiero: %s" + +#: plugins/sudoers/def_data.c:332 +#, c-format +msgid "Locale to use while parsing sudoers: %s" +msgstr "Lokaĵaro por uzi dum analizi dosieron sudoers: %s" + +#: plugins/sudoers/def_data.c:336 +msgid "Allow sudo to prompt for a password even if it would be visible" +msgstr "Permesi, ke sudo peti pasvorton eĉ se ĝi estus videbla" + +#: plugins/sudoers/def_data.c:340 +msgid "Provide visual feedback at the password prompt when there is user input" +msgstr "Doni vidajn indikojn je la pasvorta enmetanta kiam ekzistas enmeto" + +#: plugins/sudoers/def_data.c:344 +msgid "Use faster globbing that is less accurate but does not access the filesystem" +msgstr "Uzi pli rapida kunigo, kiu estas malpli ĝusta sed ne atingas la dosiersistemon" + +#: plugins/sudoers/def_data.c:348 +msgid "The umask specified in sudoers will override the user's, even if it is more permissive" +msgstr "La umask specifa en sudoers superregos tio de la uzanto, eĉ se ĝi estas pli permesema" + +#: plugins/sudoers/def_data.c:352 +msgid "Log user's input for the command being run" +msgstr "Protokoli enmeton de uzanto por la komando plenumigata" + +#: plugins/sudoers/def_data.c:356 +msgid "Log the command's standard input if not connected to a terminal" +msgstr "Protokoli la ĉefenigujon de komando se ne konektiĝinta al terminalo" + +#: plugins/sudoers/def_data.c:360 +msgid "Log the user's terminal input for the command being run" +msgstr "Protokoli la terminalo-enmeton de uzanto por la komando plenumigata" + +#: plugins/sudoers/def_data.c:364 +msgid "Log the output of the command being run" +msgstr "Protokoli la eligon de la komando, kiu estas plenumiĝi" + +#: plugins/sudoers/def_data.c:368 +msgid "Log the command's standard output if not connected to a terminal" +msgstr "Protokoli la ĉefeligujon de komandon se ne konektiĝinta al terminalo" + +#: plugins/sudoers/def_data.c:372 +msgid "Log the command's standard error if not connected to a terminal" +msgstr "Protokoli la ĉeferarujon de komandon se ne konektiĝinta al terminalo" + +#: plugins/sudoers/def_data.c:376 +msgid "Log the terminal output of the command being run" +msgstr "Protokoli la terminalo-eligon de la komando plenumigata" + +#: plugins/sudoers/def_data.c:380 +msgid "Compress I/O logs using zlib" +msgstr "Kunpremi eneligaj protokoloj per zlib" + +#: plugins/sudoers/def_data.c:384 +msgid "Always run commands in a pseudo-tty" +msgstr "Ĉiam protokoli komandojn en pseŭda tty" + +#: plugins/sudoers/def_data.c:388 +#, c-format +msgid "Plugin for non-Unix group support: %s" +msgstr "Kromprogramo por kompreno de ne-uniksaj grupoj: %s" + +#: plugins/sudoers/def_data.c:392 +#, c-format +msgid "Directory in which to store input/output logs: %s" +msgstr "Dosierujo en kiu konservi eneligaj protokoloj: %s" + +#: plugins/sudoers/def_data.c:396 +#, c-format +msgid "File in which to store the input/output log: %s" +msgstr "Dosiero en kiu konservi la eneliga protokolo: %s" + +#: plugins/sudoers/def_data.c:400 +msgid "Add an entry to the utmp/utmpx file when allocating a pty" +msgstr "Aldoni eron al la utmp/utmpx-dosiero dum generi pty-on" + +#: plugins/sudoers/def_data.c:404 +msgid "Set the user in utmp to the runas user, not the invoking user" +msgstr "Valorizi uzanton en utmp al la plenumigkiela uzanto, ne la vokanta uzanto" + +#: plugins/sudoers/def_data.c:408 +#, c-format +msgid "Set of permitted privileges: %s" +msgstr "Aro da permesitaj privilegioj: %s" + +#: plugins/sudoers/def_data.c:412 +#, c-format +msgid "Set of limit privileges: %s" +msgstr "Aro da limigaj privilegioj: %s" + +#: plugins/sudoers/def_data.c:416 +msgid "Run commands on a pty in the background" +msgstr "Plenumigi komandojn en pty en la fono" + +#: plugins/sudoers/def_data.c:420 +#, c-format +msgid "PAM service name to use: %s" +msgstr "PAM-servonomo uzota: %s" + +#: plugins/sudoers/def_data.c:424 +#, c-format +msgid "PAM service name to use for login shells: %s" +msgstr "PAM-servonomo uzota por ensalutaj ŝeloj: %s" + +#: plugins/sudoers/def_data.c:428 +#, c-format +msgid "PAM service name to use when sudo is run with the -A option: %s" +msgstr "PAM-servonomo uzota kiam sudo estas plenumigota ken la elektebleco -A: %s" + +#: plugins/sudoers/def_data.c:432 +msgid "Attempt to establish PAM credentials for the target user" +msgstr "Ne eblas establi PAM-atestilojn por la cela uzanto" + +#: plugins/sudoers/def_data.c:436 +msgid "Create a new PAM session for the command to run in" +msgstr "Krei novan PAM-seancon en kiu la komando plenumiĝos" + +#: plugins/sudoers/def_data.c:440 +msgid "Perform PAM account validation management" +msgstr "Administradi validigon de konto PAM" + +#: plugins/sudoers/def_data.c:444 +#, c-format +msgid "Maximum I/O log sequence number: %s" +msgstr "Maksimuma sinsekva numero de la eneliga protokolo: %s" + +#: plugins/sudoers/def_data.c:448 +msgid "Enable sudoers netgroup support" +msgstr "Aktivigi retgrupan regon de sudoers" + +#: plugins/sudoers/def_data.c:452 +msgid "Check parent directories for writability when editing files with sudoedit" +msgstr "Kontroli gepatrajn dosierujojn pri skribeblo dum redakto de dosieroj per sudoedit" + +#: plugins/sudoers/def_data.c:456 +msgid "Follow symbolic links when editing files with sudoedit" +msgstr "Sekvi simbolajn ligojn dum redakto de dosieroj per sudoedit" + +#: plugins/sudoers/def_data.c:460 +msgid "Query the group plugin for unknown system groups" +msgstr "Informo-mendi la grupan kromprogramon por nekonataj sistem-grupoj" + +#: plugins/sudoers/def_data.c:464 +msgid "Match netgroups based on the entire tuple: user, host and domain" +msgstr "Kongrui retgrupoj surbaze de entuta n-opo: uzanto, gastiganto kaj domajno" + +#: plugins/sudoers/def_data.c:468 +msgid "Allow commands to be run even if sudo cannot write to the audit log" +msgstr "Permesi ke komandoj estu plenumataj eĉ se sudo ne povas skribi al la ekzamena protokolo" + +#: plugins/sudoers/def_data.c:472 +msgid "Allow commands to be run even if sudo cannot write to the I/O log" +msgstr "Permesi ke komandoj estu plenumataj eĉ se sudo ne povas skribi al la eneliga protokolo" + +#: plugins/sudoers/def_data.c:476 +msgid "Allow commands to be run even if sudo cannot write to the log file" +msgstr "Permesi ke komandoj estu plenumataj eĉ se sudo ne povas skribi al la protokola dosiero" + +#: plugins/sudoers/def_data.c:480 +msgid "Resolve groups in sudoers and match on the group ID, not the name" +msgstr "Solvi grupojn en sudoers kaj kongrui al la grupa ID, ne la nomo" + +#: plugins/sudoers/def_data.c:484 +#, c-format +msgid "Log entries larger than this value will be split into multiple syslog messages: %u" +msgstr "Protokoleroj pli grandaj ol tiu ĉi valoro estos dividitaj en multoblajn mesaĝojn en syslog: %u" + +#: plugins/sudoers/def_data.c:488 +#, c-format +msgid "User that will own the I/O log files: %s" +msgstr "Uzanto kiu posedos la eneligajn protokol-dosierojn: %s" + +#: plugins/sudoers/def_data.c:492 +#, c-format +msgid "Group that will own the I/O log files: %s" +msgstr "Grupo kiu posedos la eneligajn protokol-dosierojn: %s" + +#: plugins/sudoers/def_data.c:496 +#, c-format +msgid "File mode to use for the I/O log files: 0%o" +msgstr "Dosier-reĝimo uzota por la eneligaj protokol-dosieroj: 0%o" + +#: plugins/sudoers/def_data.c:500 +#, c-format +msgid "Execute commands by file descriptor instead of by path: %s" +msgstr "Plenumigi komandojn laŭ dosiernumero anstataŭ laŭ vojo: %s" + +#: plugins/sudoers/def_data.c:504 +msgid "Ignore unknown Defaults entries in sudoers instead of producing a warning" +msgstr "Ignori nekonatajn erojn Defaults en sudoers anstataŭ prezenti averton" + +#: plugins/sudoers/def_data.c:508 +#, c-format +msgid "Time in seconds after which the command will be terminated: %u" +msgstr "Tempo laŭ sekundoj pust kiu la komando finiĝos: %u" + +#: plugins/sudoers/def_data.c:512 +msgid "Allow the user to specify a timeout on the command line" +msgstr "Permesi al la uzanto specifi eksvalidiĝon per la komandlinio" + +#: plugins/sudoers/def_data.c:516 +msgid "Flush I/O log data to disk immediately instead of buffering it" +msgstr "Tuj elbufrigi eneligo-protokolajn datumojn en diskon anstataŭ enbufrigi ĝin" + +#: plugins/sudoers/def_data.c:520 +msgid "Include the process ID when logging via syslog" +msgstr "Inkluzivigi la procezan identigilon dum protokoli per syslog" + +#: plugins/sudoers/def_data.c:524 +#, c-format +msgid "Type of authentication timestamp record: %s" +msgstr "Tipo de tempindika rikordo por aŭtentikigo: %s" + +#: plugins/sudoers/def_data.c:528 +#, c-format +msgid "Authentication failure message: %s" +msgstr "Mesaĝo pri malsukceso dum aŭtentikigo: %s" + +#: plugins/sudoers/def_data.c:532 +msgid "Ignore case when matching user names" +msgstr "Preteratenti usklecon dum kongruo al uzantnomoj" + +#: plugins/sudoers/def_data.c:536 +msgid "Ignore case when matching group names" +msgstr "Preteratenti usklecon dum kongruo al grupnomoj" + +#: plugins/sudoers/def_data.c:540 +msgid "Log when a command is allowed by sudoers" +msgstr "Protokoli kiam komando estas permesata de sudoers" + +#: plugins/sudoers/def_data.c:544 +msgid "Log when a command is denied by sudoers" +msgstr "Protokoli kiam komando estas malpermesata de sudoers" + +#: plugins/sudoers/def_data.c:548 +msgid "Sudo log server(s) to connect to with optional port" +msgstr "Sudo: protokoli servilo(j)n al kiuj konektiĝi kun libervola pordo" + +#: plugins/sudoers/def_data.c:552 +#, c-format +msgid "Sudo log server timeout in seconds: %u" +msgstr "Sudo: protokoli servilan eksvalidiĝon laŭ sekundoj: %u" + +#: plugins/sudoers/def_data.c:556 +msgid "Enable SO_KEEPALIVE socket option on the socket connected to the logserver" +msgstr "Ebligi ŝtopilingan elekton SO_KEEPALIVE por la ŝtopilingo konektita al la protokolservilo" + +#: plugins/sudoers/def_data.c:560 +#, c-format +msgid "Path to the audit server's CA bundle file: %s" +msgstr "Vojo al atestilara dosiero de la kontrola servilo: %s" + +#: plugins/sudoers/def_data.c:564 +#, c-format +msgid "Path to the sudoers certificate file: %s" +msgstr "Vojo al atestila dosiero de sudoers: %s" + +#: plugins/sudoers/def_data.c:568 +#, c-format +msgid "Path to the sudoers private key file: %s" +msgstr "Vojo al la privatŝlosila dosiero de sudoers: %s" + +#: plugins/sudoers/def_data.c:572 +msgid "Verify that the log server's certificate is valid" +msgstr "Konstati ke la atestilo de la protokolo-servilo validas" + +#: plugins/sudoers/def_data.c:576 +msgid "Allow the use of unknown runas user and/or group ID" +msgstr "Permesi la uzon de nekonata plenumkiel-uzanto kajaŭ grupa identigilo" + +#: plugins/sudoers/def_data.c:580 +msgid "Only permit running commands as a user with a valid shell" +msgstr "Permesi nur plenumigi komandojn kiel uzanto kun valida ŝelo" + +#: plugins/sudoers/def_data.c:584 +msgid "Set the pam remote user to the user running sudo" +msgstr "Agordi la PAM-foran uzanton al la uzanto, kiu plenumigas je sudo" + +#: plugins/sudoers/def_data.c:588 +msgid "Set the pam remote host to the local host name" +msgstr "Agordi la PAM-foran retnodon al la loka nodnomo" + +#: plugins/sudoers/def_data.c:592 +#, c-format +msgid "Working directory to change to before executing the command: %s" +msgstr "Kuranta dosierujo ŝanĝota antaŭ ol plenumi la komandon: %s" + +#: plugins/sudoers/def_data.c:596 +#, c-format +msgid "Root directory to change to before executing the command: %s" +msgstr "Radika dosierujo ŝanĝota antaŭ ol plenumi la komandon: %s" + +#: plugins/sudoers/def_data.c:600 +#, c-format +msgid "The format of logs to produce: %s" +msgstr "La formato de protokoloj por produkti je %s" + +#: plugins/sudoers/def_data.c:604 +msgid "Enable SELinux RBAC support" +msgstr "Aktivigu regon de SELinux-RBAC" + +#: plugins/sudoers/def_data.c:608 +#, c-format +msgid "Path to the file that is created the first time sudo is run: %s" +msgstr "Vojo al la dosiero, kiu estas kreota la unan fojon, kiam sudo estas plenumiĝinta: %s" + +#: plugins/sudoers/def_data.c:612 +msgid "Intercept further commands and apply sudoers restrictions to them" +msgstr "Interkapti pluajn komandojn kaj apliki al ili limigojn el sudoers" + +#: plugins/sudoers/def_data.c:616 +msgid "Log sub-commands run by the original command" +msgstr "Protokoli subkomandojn plenumigitajn de la origina komando" + +#: plugins/sudoers/def_data.c:620 +msgid "Log the exit status of commands" +msgstr "Protokoli la eligon de komandoj" + +#: plugins/sudoers/def_data.c:624 +msgid "Subsequent commands in an intercepted session must be authenticated" +msgstr "Sinsekvaj komandoj en interkaptita seanco devas esti aŭtentigita" + +#: plugins/sudoers/def_data.c:628 +msgid "Allow an intercepted command to run set setuid or setgid programs" +msgstr "Permesi al interkaptita komando plenumi iujn setuid- aŭ setgid-programojn" + +#: plugins/sudoers/def_data.c:632 +#, c-format +msgid "The maximum size to which the process's address space may grow (in bytes): %s" +msgstr "La maksimuma grando ĝis kiu la adresspaco de la procezo rajtas kreski (laŭ bajtoj): %s" + +#: plugins/sudoers/def_data.c:636 +#, c-format +msgid "The largest size core dump file that may be created (in bytes): %s" +msgstr "La plej granda ŝuto-dosiero, kiu rajtas kreiĝi (laŭ bajtoj): %s" + +#: plugins/sudoers/def_data.c:640 +#, c-format +msgid "The maximum amount of CPU time that the process may use (in seconds): %s" +msgstr "La maksimumo da ĉefprocezora tempo, kiun procezo rajtas uzi (laŭ sekundoj): %s" + +#: plugins/sudoers/def_data.c:644 +#, c-format +msgid "The maximum size of the data segment for the process (in bytes): %s" +msgstr "La maksimuma grando de la datuma segmento por la procezo (laŭ bajtoj): %s" + +#: plugins/sudoers/def_data.c:648 +#, c-format +msgid "The largest size file that the process may create (in bytes): %s" +msgstr "La plaj granda dosiero, kiun procezo rajtas krei (laŭ bajtoj): %s" + +#: plugins/sudoers/def_data.c:652 +#, c-format +msgid "The maximum number of locks that the process may establish: %s" +msgstr "La maksimuma nombro da fiksiloj, kiujn la procezo rajtas krei: %s" + +#: plugins/sudoers/def_data.c:656 +#, c-format +msgid "The maximum size that the process may lock in memory (in bytes): %s" +msgstr "La maksumima grando, kiun la procezo rajtas fiksi en memoron (laŭ bajtoj): %s" + +#: plugins/sudoers/def_data.c:660 +#, c-format +msgid "The maximum number of files that the process may have open: %s" +msgstr "La maksimuma nombro da dosieroj, kiujn la procezo rajtas teni malfermajn: %s" + +#: plugins/sudoers/def_data.c:664 +#, c-format +msgid "The maximum number of processes that the user may run simultaneously: %s" +msgstr "La maksimuma nombro da procezoj, kiujn la uzanta rajtas samtempe plenumigi: %s" + +#: plugins/sudoers/def_data.c:668 +#, c-format +msgid "The maximum size to which the process's resident set size may grow (in bytes): %s" +msgstr "La maksimuma grando ĝis kiu la loĝa aro de la procezo rajtas kreski (laŭ bajtoj): %s" + +#: plugins/sudoers/def_data.c:672 +#, c-format +msgid "The maximum size to which the process's stack may grow (in bytes): %s" +msgstr "La maksimuma grando ĝis kiu la staplo de la procezo rajtas kreski (laŭ bajtoj): %s" + +#: plugins/sudoers/def_data.c:676 +msgid "Attempt authentication even when in non-interactive mode" +msgstr "Provi aŭtentigo eĉ kiam en neinteraga reĝimo" + +#: plugins/sudoers/def_data.c:680 +msgid "Store plaintext passwords in I/O log input" +msgstr "Konservi plattekstajn pasvortojn en eneliga protokolo" + +#: plugins/sudoers/def_data.c:684 +msgid "List of regular expressions to use when matching a password prompt" +msgstr "Listo da regulesprimo uzota kiam kongruanta kun pasvorta invitilo" + +#: plugins/sudoers/def_data.c:688 +#, c-format +msgid "The mechanism used by the intercept and log_subcmds options: %s" +msgstr "La meĥanismo uzata de la intercept- kaj log_subcmd-elektoj: %s" + +#: plugins/sudoers/def_data.c:692 +msgid "Attempt to verify the command and arguments after execution" +msgstr "Provi aŭtentigi la komandon kaj parametrojn post plenumiĝo" + +#: plugins/sudoers/def_data.c:696 +#, c-format +msgid "AppArmor profile to use in the new security context: %s" +msgstr "AppArmor-profile uzota en la nova sekureca kunteksto: %s" + +#: plugins/sudoers/defaults.c:191 +#, c-format +msgid "unknown defaults entry \"%s\"" +msgstr "nekonata enigo de defaults \"%s\"" + +#: plugins/sudoers/defaults.c:234 +#, c-format +msgid "no value specified for \"%s\"" +msgstr "neniu valoro indikita por \"%s\"" + +#: plugins/sudoers/defaults.c:243 +#, c-format +msgid "invalid operator \"%c=\" for \"%s\"" +msgstr "nevalida operator \"%c=\" por \"%s\"" + +#: plugins/sudoers/defaults.c:275 +#, c-format +msgid "option \"%s\" does not take a value" +msgstr "parametro \"%s\" ne povas havi valoron" + +#: plugins/sudoers/defaults.c:299 +#, c-format +msgid "invalid Defaults type 0x%x for option \"%s\"" +msgstr "malvalida Defaults-tipo 0x%x por parametro \"%s\"" + +#: plugins/sudoers/defaults.c:306 +#, c-format +msgid "value \"%s\" is invalid for option \"%s\"" +msgstr "valoro \"%s\" estas malvalida por parametro \"%s\"" + +#: plugins/sudoers/defaults.c:1128 plugins/sudoers/policy.c:208 +#: plugins/sudoers/policy.c:217 +#, c-format +msgid "path name for \"%s\" too long" +msgstr "vojnomo por \"%s\" tro longas" + +#: plugins/sudoers/defaults.c:1134 +#, c-format +msgid "values for \"%s\" must start with a '/', '~', or '*'" +msgstr "valoroj por \"%s\" devas komenciĝi per '/', '~' aŭ '*'" + +#: plugins/sudoers/defaults.c:1141 +#, c-format +msgid "values for \"%s\" must start with a '/'" +msgstr "valoroj por \"%s\" devas komenciĝi per '/'" + +#: plugins/sudoers/env.c:426 +msgid "sudo_putenv: corrupted envp, length mismatch" +msgstr "sudo_putenv: medio tro granda" + +#: plugins/sudoers/env.c:1109 +msgid "unable to rebuild the environment" +msgstr "ne eblas rekonstrui la medion" + +#: plugins/sudoers/env.c:1183 +#, c-format +msgid "sorry, you are not allowed to set the following environment variables: %s" +msgstr "bedaŭre vi ne estas permesata valorizi la jenajn medivariablojn: %s" + +#: plugins/sudoers/filedigest.c:49 +#, c-format +msgid "unsupported digest type %d for %s" +msgstr "nekonata resuma tipo %d por %s" + +#: plugins/sudoers/filedigest.c:78 +#, c-format +msgid "%s: read error" +msgstr "%s: lega eraro" + +#: plugins/sudoers/group_plugin.c:169 +#, c-format +msgid "%s must be owned by uid %d" +msgstr "%s devas esti estrata de uid %d" + +#: plugins/sudoers/group_plugin.c:173 +#, c-format +msgid "%s must only be writable by owner" +msgstr "%s devas esti skribebla nur de estro" + +#: plugins/sudoers/group_plugin.c:185 plugins/sudoers/sssd.c:576 +#, c-format +msgid "unable to load %s: %s" +msgstr "ne eblas ŝarĝi je %s: %s" + +#: plugins/sudoers/group_plugin.c:197 +#, c-format +msgid "unable to find symbol \"group_plugin\" in %s" +msgstr "ne eblas trovi simbolon \"group_plugin\" en %s" + +#: plugins/sudoers/group_plugin.c:202 +#, c-format +msgid "%s: incompatible group plugin major version %d, expected %d" +msgstr "%s: nekongrua grupa kromprogramo: ĉefa eldono %d, atendita %d" + +#: plugins/sudoers/interfaces.c:76 plugins/sudoers/interfaces.c:93 +#, c-format +msgid "unable to parse IP address \"%s\"" +msgstr "ne eblas trakti IP-adreson \"%s\"" + +#: plugins/sudoers/interfaces.c:81 plugins/sudoers/interfaces.c:98 +#, c-format +msgid "unable to parse netmask \"%s\"" +msgstr "ne eblas trakti retmaskon \"%s\"" + +#: plugins/sudoers/interfaces.c:126 +msgid "Local IP address and netmask pairs:\n" +msgstr "Loka IP-adresa kaj retmaska paroj:\n" + +#: plugins/sudoers/iolog.c:685 +msgid "unable to update sequence file" +msgstr "ne eblas ĝisdatigi sinsekvan dosieron" + +#: plugins/sudoers/iolog.c:719 plugins/sudoers/iolog.c:909 +#: plugins/sudoers/iolog.c:1071 plugins/sudoers/iolog.c:1078 +#: plugins/sudoers/iolog.c:1199 plugins/sudoers/iolog.c:1206 +#: plugins/sudoers/iolog.c:1305 plugins/sudoers/iolog.c:1312 +#, c-format +msgid "unable to write to I/O log file: %s" +msgstr "ne eblas skribi al eneliga protokoldosiero: %s" + +#: plugins/sudoers/iolog.c:727 +#, c-format +msgid "unable to create %s/%s" +msgstr "ne eblas krei: %s/%s" + +#: plugins/sudoers/iolog.c:957 +#, c-format +msgid "%s: internal error, I/O log file for event %d not open" +msgstr "%s: interna eraro, protokola dosiero de en/eligo por evento %d ne estas malferma" + +#: plugins/sudoers/iolog.c:1056 plugins/sudoers/iolog.c:1184 +#: plugins/sudoers/iolog.c:1289 plugins/sudoers/timestamp.c:879 +#: plugins/sudoers/timestamp.c:971 plugins/sudoers/visudo.c:552 +#: plugins/sudoers/visudo.c:558 +msgid "unable to read the clock" +msgstr "ne eblas legi la horloĝon" + +#: plugins/sudoers/iolog.c:1281 plugins/sudoers/log_client.c:1193 +#: plugins/sudoers/log_client.c:1203 plugins/sudoers/log_client.c:1207 +#, c-format +msgid "%s: internal error, invalid signal %d" +msgstr "%s: interna eraro, malvalida signalo %d" + +#: plugins/sudoers/ldap.c:177 plugins/sudoers/ldap_conf.c:292 +msgid "starttls not supported when using ldaps" +msgstr "starttls ne estas regata dum uzo de ldaps" + +#: plugins/sudoers/ldap.c:248 +#, c-format +msgid "unable to initialize SSL cert and key db: %s" +msgstr "ne eblas ekigi SSL-asertilon kaj ŝlosilan datumbazon: %s" + +#: plugins/sudoers/ldap.c:251 +#, c-format +msgid "you must set TLS_CERT in %s to use SSL" +msgstr "por uzi SSL, TLS_CERT devas havi valoron en %s" + +#: plugins/sudoers/ldap.c:1712 +#, c-format +msgid "unable to initialize LDAP: %s" +msgstr "ne eblas ekigi LDAP-on: %s" + +#: plugins/sudoers/ldap.c:1749 +msgid "start_tls specified but LDAP libs do not support ldap_start_tls_s() or ldap_start_tls_s_np()" +msgstr "start_tls specifita sed LDAP-bibliotekoj ne havas la funkciojn ldap_start_tls_s() kaj ldap_start_tls_s_np()" + +#: plugins/sudoers/ldap.c:1886 plugins/sudoers/parse_ldif.c:748 +#, c-format +msgid "invalid sudoOrder attribute: %s" +msgstr "malvalida atributo de sudoOrder: %s" + +#: plugins/sudoers/ldap_conf.c:200 +#, c-format +msgid "%s: port too large" +msgstr "%s: pordo tro grandas" + +#: plugins/sudoers/ldap_conf.c:261 +#, c-format +msgid "unsupported LDAP uri type: %s" +msgstr "nekonata retadresa tipo de LDAP: %s" + +#: plugins/sudoers/ldap_conf.c:288 +msgid "unable to mix ldap and ldaps URIs" +msgstr "ne eblas miksi sekurajn kaj nesekurajn retadresojn de LDAP" + +#: plugins/sudoers/ldap_util.c:499 plugins/sudoers/ldap_util.c:506 +#: plugins/sudoers/ldap_util.c:514 plugins/sudoers/ldap_util.c:523 +#: plugins/sudoers/ldap_util.c:531 plugins/sudoers/ldap_util.c:541 +#: plugins/sudoers/ldap_util.c:549 +#, c-format +msgid "duplicate sudoOption: %s%s%s" +msgstr "ne eblas duobligi sudoOption: %s%s%s" + +#: plugins/sudoers/ldap_util.c:568 plugins/sudoers/ldap_util.c:570 +#, c-format +msgid "unable to convert sudoOption: %s%s%s" +msgstr "ne eblas konverti sudoOption: %s%s%s" + +#: plugins/sudoers/linux_audit.c:58 plugins/sudoers/linux_audit.c:60 +msgid "unable to open audit system" +msgstr "ne eblas malfermi revizian sistemon" + +#: plugins/sudoers/linux_audit.c:103 +msgid "unable to send audit message" +msgstr "ne eblas sendi revizian mesaĝon" + +#: plugins/sudoers/log_client.c:125 plugins/sudoers/log_client.c:412 +#: plugins/sudoers/log_client.c:1440 plugins/sudoers/log_client.c:2056 +msgid "error in event loop" +msgstr "eraro en evento-iteracio" + +#: plugins/sudoers/log_client.c:205 +#, c-format +msgid "Creation of new SSL_CTX object failed: %s" +msgstr "Kreiĝo de nova objekto SSL_CTX malsukcesis: %s" + +#: plugins/sudoers/log_client.c:230 +#, c-format +msgid "unable to load certificate authority bundle %s" +msgstr "Ne eblas ŝargi aŭtoritatan atestilaron: %s" + +#: plugins/sudoers/log_client.c:252 +#, c-format +msgid "unable to load certificate %s" +msgstr "ne eblas ŝargi atestilon %s" + +#: plugins/sudoers/log_client.c:266 +#, c-format +msgid "unable to load private key %s" +msgstr "ne eblas ŝarĝi privatŝlosilon %s" + +#: plugins/sudoers/log_client.c:275 +#, c-format +msgid "Unable to allocate ssl object: %s" +msgstr "Ne eblas generi SSL-objekton: %s" + +#: plugins/sudoers/log_client.c:364 plugins/sudoers/log_client.c:369 +#, c-format +msgid "TLS connection to %s:%s failed: %s" +msgstr "TLS-konekto al %s:%s malsukcesis: %s" + +#: plugins/sudoers/log_client.c:543 +msgid "TLS initialization was unsuccessful" +msgstr "TLS-komenciĝo malsukcesis" + +#: plugins/sudoers/log_client.c:553 +msgid "TLS handshake was unsuccessful" +msgstr "TLS-manpremo malsukcesis" + +#: plugins/sudoers/log_client.c:1211 +#, c-format +msgid "%s: internal error, invalid exit status %d" +msgstr "%s: interna eraro, malvalida finiĝo-stato %d" + +#: plugins/sudoers/log_client.c:1740 plugins/sudoers/log_client.c:1764 +msgid "lost connection to log server" +msgstr "konekto al protokolo-servilo perdita" + +#: plugins/sudoers/log_client.c:1841 +msgid "missing write buffer" +msgstr "mankanta skribobufo" + +#: plugins/sudoers/log_client.c:1995 +msgid "unable to connect to log server" +msgstr "ne eblas konektiĝi al protokolo-servilo" + +#: plugins/sudoers/logging.c:290 +msgid "user NOT in sudoers" +msgstr "uzanto NE estas en sudoers" + +#: plugins/sudoers/logging.c:292 +msgid "user NOT authorized on host" +msgstr "uzanto NE permesata en gastiganto" + +#: plugins/sudoers/logging.c:294 +msgid "command not allowed" +msgstr "komando ne permesata" + +#: plugins/sudoers/logging.c:315 +#, c-format +msgid "%s is not in the sudoers file.\n" +msgstr "%s ne estas en la dosiero sudoers.\n" + +#: plugins/sudoers/logging.c:318 +#, c-format +msgid "%s is not allowed to run sudo on %s.\n" +msgstr "Uzanto %s ne rajtas plenumigi sudo-on en %s.\n" + +#: plugins/sudoers/logging.c:321 +#, c-format +msgid "Sorry, user %s may not run sudo on %s.\n" +msgstr "Bedaŭre uzanto %s ne rajtas plenumigi sudo en %s.\n" + +#: plugins/sudoers/logging.c:324 +#, c-format +msgid "Sorry, user %s is not allowed to execute '%s%s%s' as %s%s%s on %s.\n" +msgstr "Bedaŭre uzanto %s ne rajtas plenumigi '%s%s%s' kiel %s%s%s en %s.\n" + +#: plugins/sudoers/logging.c:334 +msgid "This incident has been reported to the administrator.\n" +msgstr "Ĉi tiu okazo raportiĝis al la administranto.\n" + +#: plugins/sudoers/logging.c:365 plugins/sudoers/sudoers.c:648 +#: plugins/sudoers/sudoers.c:650 plugins/sudoers/sudoers.c:652 +#: plugins/sudoers/sudoers.c:654 plugins/sudoers/sudoers.c:805 +#: plugins/sudoers/sudoers.c:807 +#, c-format +msgid "%s: command not found" +msgstr "%s: komando ne trovita" + +#: plugins/sudoers/logging.c:367 plugins/sudoers/sudoers.c:644 +#, c-format +msgid "" +"ignoring \"%s\" found in '.'\n" +"Use \"sudo ./%s\" if this is the \"%s\" you wish to run." +msgstr "" +"ni malatentas \"%s\" trovita en '.'\n" +"Uzu \"sudo ./%s\" se tio estas la \"%s\" , kiun vi volas plenumigi." + +#: plugins/sudoers/logging.c:387 +#, c-format +msgid "%u incorrect password attempt" +msgid_plural "%u incorrect password attempts" +msgstr[0] "%u malĝusta pasvorta provo" +msgstr[1] "%u malĝustaj pasvortaj provoj" + +#: plugins/sudoers/logging.c:477 +msgid "authentication failure" +msgstr "aŭtentiga malsukceso" + +#: plugins/sudoers/logging.c:516 plugins/sudoers/logging.c:535 +msgid "a password is required" +msgstr "pasvorto estas bezonata" + +#: plugins/sudoers/logging.c:799 plugins/sudoers/logging.c:811 +msgid "problem parsing sudoers" +msgstr "problemo dum analizi dosieron sudoers" + +#: plugins/sudoers/logging.c:873 plugins/sudoers/logging.c:885 +#, c-format +msgid "%s:%d:%d: %s" +msgstr "%s:%d:%d: %s" + +#: plugins/sudoers/logging.c:1062 +#, c-format +msgid "unable to write log file: %s" +msgstr "ne eblas skribi al protokolo: %s" + +#: plugins/sudoers/match_digest.c:112 +#, c-format +msgid "digest for %s (%s) bad length %zu, expected %zu" +msgstr "resumo por %s (%s): malbona longo %zu, atendita %zu" + +#: plugins/sudoers/match_digest.c:131 +#, c-format +msgid "digest for %s (%s) is not in %s form" +msgstr "resumo por %s (%s) ne estas laŭ la formo %s" + +#: plugins/sudoers/parse.c:591 +#, c-format +msgid "" +"\n" +"LDAP Role: %s\n" +msgstr "" +"\n" +"LDAP-rolo: %s\n" + +#: plugins/sudoers/parse.c:594 +msgid "" +"\n" +"Sudoers entry:\n" +msgstr "" +"\n" +"Ero en sudoers:\n" + +#: plugins/sudoers/parse.c:596 +msgid " RunAsUsers: " +msgstr " RunAsUsers: " + +#: plugins/sudoers/parse.c:611 +msgid " RunAsGroups: " +msgstr " RunAsGroups: " + +#: plugins/sudoers/parse.c:621 +msgid " Options: " +msgstr " Modifiloj: " + +#: plugins/sudoers/parse.c:685 +msgid " Commands:\n" +msgstr " Komandoj:\n" + +#: plugins/sudoers/parse.c:876 +#, c-format +msgid "Matching Defaults entries for %s on %s:\n" +msgstr "Kongruantaj eroj de Defaults: %s en %s:\n" + +#: plugins/sudoers/parse.c:894 +#, c-format +msgid "Runas and Command-specific defaults for %s:\n" +msgstr "Plenumigkiela komando-specifaj aŭtomataĵoj por %s:\n" + +#: plugins/sudoers/parse.c:912 +#, c-format +msgid "User %s may run the following commands on %s:\n" +msgstr "Uzanto %s rajtas plenumigi la jenajn komandojn en %s:\n" + +#: plugins/sudoers/parse.c:927 +#, c-format +msgid "User %s is not allowed to run sudo on %s.\n" +msgstr "Uzanto %s ne rajtas plenumigi sudo-on en %s.\n" + +#: plugins/sudoers/parse_ldif.c:618 +#, c-format +msgid "ignoring incomplete sudoRole: cn: %s" +msgstr "ni preteratentas malkompletan sudoRole: cn: %s" + +#: plugins/sudoers/parse_ldif.c:678 +#, c-format +msgid "invalid LDIF attribute: %s" +msgstr "malvalida LDIF-atributo: %s" + +#: plugins/sudoers/policy.c:81 plugins/sudoers/policy.c:112 +#, c-format +msgid "invalid %.*s set by sudo front-end" +msgstr "malvalida %.*s difinita de sudo-fasado" + +#: plugins/sudoers/policy.c:358 plugins/sudoers/testsudoers.c:268 +msgid "unable to parse network address list" +msgstr "ne eblas trakti reto-adresan liston" + +#: plugins/sudoers/policy.c:526 +msgid "user name not set by sudo front-end" +msgstr "uzantnomo ne difinita de sudo-fasado" + +#: plugins/sudoers/policy.c:530 +msgid "user-ID not set by sudo front-end" +msgstr "uzanto-ID ne difinita de sudo-fasado" + +#: plugins/sudoers/policy.c:534 +msgid "group-ID not set by sudo front-end" +msgstr "grupo-ID ne difinita de sudo-fasado" + +#: plugins/sudoers/policy.c:538 +msgid "host name not set by sudo front-end" +msgstr "gastiganta nomo ne difinita de sudo-fasado" + +#: plugins/sudoers/policy.c:730 +#, c-format +msgid "invalid working directory: %s" +msgstr "nevalida kuranta dosierujo: %s" + +#: plugins/sudoers/policy.c:914 +#, c-format +msgid "invalid chroot directory: %s" +msgstr "malvalida chroot-dosierujo: %s" + +#: plugins/sudoers/policy.c:1101 plugins/sudoers/visudo.c:259 +#: plugins/sudoers/visudo.c:902 +#, c-format +msgid "unable to execute %s" +msgstr "ne eblas plenumigi: %s" + +#: plugins/sudoers/policy.c:1171 plugins/sudoers/policy.c:1208 +#: plugins/sudoers/policy.c:1230 plugins/sudoers/policy.c:1256 +#, c-format +msgid "%s: invalid mode flags from sudo front end: 0x%x" +msgstr "%s: nevalidaj reĝimaj flagoj el la fasado de sudo: 0x%x" + +#: plugins/sudoers/policy.c:1292 +#, c-format +msgid "Sudoers policy plugin version %s\n" +msgstr "Eldono %s de la konduta kromprogramo\n" + +#: plugins/sudoers/policy.c:1294 +#, c-format +msgid "Sudoers file grammar version %d\n" +msgstr "Eldono %d de la gramatikilo de sudoers\n" + +#: plugins/sudoers/policy.c:1298 +#, c-format +msgid "" +"\n" +"Sudoers path: %s\n" +msgstr "" +"\n" +"Vojo de sudoers: %s\n" + +#: plugins/sudoers/policy.c:1301 +#, c-format +msgid "nsswitch path: %s\n" +msgstr "vojo de nsswitch: %s\n" + +#: plugins/sudoers/policy.c:1303 +#, c-format +msgid "ldap.conf path: %s\n" +msgstr "vojo de ldap.conf: %s\n" + +#: plugins/sudoers/policy.c:1304 +#, c-format +msgid "ldap.secret path: %s\n" +msgstr "vojo de ldap.secret: %s\n" + +#: plugins/sudoers/policy.c:1337 +#, c-format +msgid "unable to register hook of type %d (version %d.%d)" +msgstr "ne eblas registri hokon el tipo %d (versio %d.%d)" + +#: plugins/sudoers/policy.c:1355 +#, c-format +msgid "unable to deregister hook of type %d (version %d.%d)" +msgstr "ne eblas malregistri hokon el tipo %d (versio %d.%d)" + +#: plugins/sudoers/pwutil.c:222 plugins/sudoers/pwutil.c:240 +#, c-format +msgid "unable to cache uid %u" +msgstr "ne eblas konservi uid-on %u" + +#: plugins/sudoers/pwutil.c:234 +#, c-format +msgid "unable to cache uid %u, already exists" +msgstr "ne eblas konservi uid-on %u, jam ekzistas" + +#: plugins/sudoers/pwutil.c:294 plugins/sudoers/pwutil.c:312 +#: plugins/sudoers/pwutil.c:375 plugins/sudoers/pwutil.c:420 +#, c-format +msgid "unable to cache user %s" +msgstr "ne eblas krei tenejan uzanton: %s" + +#: plugins/sudoers/pwutil.c:307 +#, c-format +msgid "unable to cache user %s, already exists" +msgstr "ne eblas konservi uzanton %s, jam ekzistas" + +#: plugins/sudoers/pwutil.c:539 plugins/sudoers/pwutil.c:557 +#, c-format +msgid "unable to cache gid %u" +msgstr "ne eblas konservi gid-on %u" + +#: plugins/sudoers/pwutil.c:551 +#, c-format +msgid "unable to cache gid %u, already exists" +msgstr "ne eblas konservi gid-on %u, jam ekzistas" + +#: plugins/sudoers/pwutil.c:605 plugins/sudoers/pwutil.c:623 +#: plugins/sudoers/pwutil.c:684 plugins/sudoers/pwutil.c:733 +#, c-format +msgid "unable to cache group %s" +msgstr "ne eblas konservi grupon %s" + +#: plugins/sudoers/pwutil.c:618 +#, c-format +msgid "unable to cache group %s, already exists" +msgstr "ne eblas konservi grupon %s, jam ekzistas" + +#: plugins/sudoers/pwutil.c:880 plugins/sudoers/pwutil.c:931 +#: plugins/sudoers/pwutil.c:981 plugins/sudoers/pwutil.c:1033 +#, c-format +msgid "unable to cache group list for %s, already exists" +msgstr "ne eblas konservi grupan liston por %s, jam ekzistas" + +#: plugins/sudoers/pwutil.c:886 plugins/sudoers/pwutil.c:936 +#: plugins/sudoers/pwutil.c:987 plugins/sudoers/pwutil.c:1038 +#, c-format +msgid "unable to cache group list for %s" +msgstr "ne eblas konservi grupliston por %s" + +#: plugins/sudoers/pwutil.c:925 +#, c-format +msgid "unable to parse groups for %s" +msgstr "ne eblas trakti grupon en %s" + +#: plugins/sudoers/pwutil.c:1027 +#, c-format +msgid "unable to parse gids for %s" +msgstr "ne eblas trakti gids por %s" + +#: plugins/sudoers/set_perms.c:114 plugins/sudoers/set_perms.c:445 +#: plugins/sudoers/set_perms.c:852 plugins/sudoers/set_perms.c:1162 +#: plugins/sudoers/set_perms.c:1460 +msgid "perm stack overflow" +msgstr "permeso-staka troo" + +#: plugins/sudoers/set_perms.c:125 plugins/sudoers/set_perms.c:376 +#: plugins/sudoers/set_perms.c:456 plugins/sudoers/set_perms.c:719 +#: plugins/sudoers/set_perms.c:863 plugins/sudoers/set_perms.c:1086 +#: plugins/sudoers/set_perms.c:1173 plugins/sudoers/set_perms.c:1393 +#: plugins/sudoers/set_perms.c:1471 plugins/sudoers/set_perms.c:1562 +msgid "perm stack underflow" +msgstr "permeso-staka maltroo" + +#: plugins/sudoers/set_perms.c:185 plugins/sudoers/set_perms.c:503 +#: plugins/sudoers/set_perms.c:1227 plugins/sudoers/set_perms.c:1505 +msgid "unable to change to root gid" +msgstr "ne eblas ŝanĝi al radika gid" + +#: plugins/sudoers/set_perms.c:276 plugins/sudoers/set_perms.c:600 +#: plugins/sudoers/set_perms.c:995 plugins/sudoers/set_perms.c:1304 +msgid "unable to change to runas gid" +msgstr "ne eblas ŝanĝi al plenumigkiela gid" + +#: plugins/sudoers/set_perms.c:281 plugins/sudoers/set_perms.c:605 +#: plugins/sudoers/set_perms.c:1000 plugins/sudoers/set_perms.c:1309 +msgid "unable to set runas group vector" +msgstr "ne eblas elekti vektoron de plenumigkiela grupo" + +#: plugins/sudoers/set_perms.c:292 plugins/sudoers/set_perms.c:616 +#: plugins/sudoers/set_perms.c:1009 plugins/sudoers/set_perms.c:1318 +msgid "unable to change to runas uid" +msgstr "ne eblas ŝanĝi al plenumigkiela uid" + +#: plugins/sudoers/set_perms.c:310 plugins/sudoers/set_perms.c:634 +#: plugins/sudoers/set_perms.c:1025 plugins/sudoers/set_perms.c:1334 +msgid "unable to change to sudoers gid" +msgstr "ne eblas ŝanĝi al gid de sudo-redaktantoj" + +#: plugins/sudoers/set_perms.c:363 plugins/sudoers/set_perms.c:706 +#: plugins/sudoers/set_perms.c:1073 plugins/sudoers/set_perms.c:1380 +#: plugins/sudoers/set_perms.c:1549 +msgid "too many processes" +msgstr "tro da procezoj" + +#: plugins/sudoers/solaris_audit.c:61 +msgid "unable to get current working directory" +msgstr "ne eblas scii la nunan labor-dosierujon" + +#: plugins/sudoers/solaris_audit.c:69 +#, c-format +msgid "truncated audit path user_cmnd: %s" +msgstr "tranĉita ekzamen-vojo user_cmnd: %s" + +#: plugins/sudoers/solaris_audit.c:76 +#, c-format +msgid "truncated audit path argv[0]: %s" +msgstr "tranĉita ekzamen-vojo argv[0]: %s" + +#: plugins/sudoers/sssd.c:579 +msgid "unable to initialize SSS source. Is SSSD installed on your machine?" +msgstr "ne eblas ekigi SSS-fonton. Ĉu SSSD estas instalita en via maŝino?" + +#: plugins/sudoers/sssd.c:587 plugins/sudoers/sssd.c:596 +#: plugins/sudoers/sssd.c:605 plugins/sudoers/sssd.c:614 +#: plugins/sudoers/sssd.c:623 +#, c-format +msgid "unable to find symbol \"%s\" in %s" +msgstr "ne eblas trovi simbolon \"%s\" en %s" + +#: plugins/sudoers/sudoers.c:263 +#, c-format +msgid "unable to get defaults from %s" +msgstr "ne eblas atingi aprioraĵojn el %s" + +#: plugins/sudoers/sudoers.c:270 +msgid "no valid sudoers sources found, quitting" +msgstr "ne validaj fontotekstoj de sudoers trovita, ĉesiganta" + +#: plugins/sudoers/sudoers.c:346 +#, c-format +msgid "user not allowed to change root directory to %s" +msgstr "uzanto ne rajtas ŝanĝi radikan dosierujon al %s" + +#: plugins/sudoers/sudoers.c:348 +#, c-format +msgid "you are not permitted to use the -R option with %s" +msgstr "vi ne rajtas uzi la parametron -R kun %s" + +#: plugins/sudoers/sudoers.c:373 +#, c-format +msgid "user not allowed to change directory to %s" +msgstr "uzanto ne rajtas ŝanĝi dosierujon al %s" + +#: plugins/sudoers/sudoers.c:374 +#, c-format +msgid "you are not permitted to use the -D option with %s" +msgstr "vi ne rajtas uzi la parametron -D kun %s" + +#: plugins/sudoers/sudoers.c:401 +msgid "no command specified" +msgstr "Neniu komando donita" + +#: plugins/sudoers/sudoers.c:426 +msgid "sudoers specifies that root is not allowed to sudo" +msgstr "sudoers specifas, ke ĉefuzanto ne rajtas sudo-i" + +#: plugins/sudoers/sudoers.c:476 +msgid "user not allowed to override closefrom limit" +msgstr "uzanto ne permesata superregi la limigon de closefrom" + +#: plugins/sudoers/sudoers.c:477 +msgid "you are not permitted to use the -C option" +msgstr "vi ne rajtas uzi la parametron -C" + +#: plugins/sudoers/sudoers.c:537 +#, c-format +msgid "timestamp owner (%s): No such user" +msgstr "tempo-indikila posedanto (%s): Nenia uzanto" + +#: plugins/sudoers/sudoers.c:552 +msgid "no tty" +msgstr "neniu tty" + +#: plugins/sudoers/sudoers.c:553 +msgid "sorry, you must have a tty to run sudo" +msgstr "bedaŭre vi devas havi tty-on por plenumigi sudo-on" + +#: plugins/sudoers/sudoers.c:560 +#, c-format +msgid "invalid shell for user %s: %s" +msgstr "nevalida ŝelo por uzanto %s: %s" + +#: plugins/sudoers/sudoers.c:643 +msgid "command in current directory" +msgstr "komando en nuna dosierujo" + +#: plugins/sudoers/sudoers.c:658 +msgid "\"cd\" is a shell built-in command, it cannot be run directly." +msgstr "\"cd\" estas apriora ŝelkomando, ne eblas rekte plenumigi ĝin" + +#: plugins/sudoers/sudoers.c:660 +msgid "the -s option may be used to run a privileged shell." +msgstr "La elekton -s oni rajtas uzi por plenumigi privilegiitan ŝelon." + +#: plugins/sudoers/sudoers.c:662 +msgid "the -D option may be used to run a command in a specific directory." +msgstr "la elekto -D oni rajtas uzi por plenumigi komandon en specifa dosierujo." + +#: plugins/sudoers/sudoers.c:671 +msgid "user not allowed to set a command timeout" +msgstr "uzanto ne rajtas elekti komando-eksvalidiĝon" + +#: plugins/sudoers/sudoers.c:673 +msgid "sorry, you are not allowed set a command timeout" +msgstr "bedaŭre vi ne rajtas elekti komando-eksvalidiĝon" + +#: plugins/sudoers/sudoers.c:681 +msgid "user not allowed to preserve the environment" +msgstr "uzanto ne rajtas konservi la medion" + +#: plugins/sudoers/sudoers.c:683 +msgid "sorry, you are not allowed to preserve the environment" +msgstr "bedaŭre vi ne rajtas konservi la medion" + +#: plugins/sudoers/sudoers.c:1073 +msgid "sudoedit doesn't need to be run via sudo" +msgstr "sudoedit ne devas plenumiĝi per sudo" + +#: plugins/sudoers/sudoers.c:1118 plugins/sudoers/sudoreplay.c:1584 +#: plugins/sudoers/tsdump.c:138 +#, c-format +msgid "unable to read %s" +msgstr "ne eblas legi %s" + +#: plugins/sudoers/sudoers.c:1147 plugins/sudoers/visudo.c:1064 +#, c-format +msgid "%s is not a regular file" +msgstr "%s ne estas normala dosiero" + +#: plugins/sudoers/sudoers.c:1151 plugins/sudoers/timestamp.c:263 toke.l:1247 +#, c-format +msgid "%s is owned by uid %u, should be %u" +msgstr "%s estas estrita de uid %u, devas esti %u" + +#: plugins/sudoers/sudoers.c:1155 plugins/sudoers/timestamp.c:270 toke.l:1252 +#, c-format +msgid "%s is world writable" +msgstr "%s estas skribebla de ĉiuj" + +#: plugins/sudoers/sudoers.c:1159 plugins/sudoers/timestamp.c:275 toke.l:1255 +#, c-format +msgid "%s is owned by gid %u, should be %u" +msgstr "%s estas estrita de gid %u, devas esti %u" + +#: plugins/sudoers/sudoers.c:1194 +#, c-format +msgid "only root can use \"-c %s\"" +msgstr "nur ĉefuzanto rajtas uzi \"-c %s\"" + +#: plugins/sudoers/sudoers.c:1213 +#, c-format +msgid "unknown login class %s" +msgstr "nekonata ensaluta klaso: %s" + +#: plugins/sudoers/sudoers.c:1300 plugins/sudoers/sudoers.c:1315 +#, c-format +msgid "unable to resolve host %s" +msgstr "ne eblas trovi gastiganton %s" + +#: plugins/sudoers/sudoreplay.c:259 +#, c-format +msgid "invalid filter option: %s" +msgstr "malvalida filtrila elekto: %s" + +#: plugins/sudoers/sudoreplay.c:275 +#, c-format +msgid "invalid max wait: %s" +msgstr "malvalida maksimuma atendo: %s" + +#: plugins/sudoers/sudoreplay.c:298 +#, c-format +msgid "invalid speed factor: %s" +msgstr "malvalida rapida faktoro: %s" + +#: plugins/sudoers/sudoreplay.c:333 +#, c-format +msgid "invalid time offset %s" +msgstr "nevalida eksvalidiĝo-deŝovo %s" + +#: plugins/sudoers/sudoreplay.c:342 +#, c-format +msgid "%s/%.2s/%.2s/%.2s: %s" +msgstr "%s/%.2s/%.2s/%.2s: %s" + +#: plugins/sudoers/sudoreplay.c:347 +#, c-format +msgid "%s/timing: %s" +msgstr "%s/tempo-registrado: %s" + +#: plugins/sudoers/sudoreplay.c:375 +#, c-format +msgid "Replaying sudo session: %s" +msgstr "Refaranta sudo-seancon: %s" + +#: plugins/sudoers/sudoreplay.c:637 +msgid "unable to set tty to raw mode" +msgstr "ne eblas elekti tty-on en nudan reĝimon" + +#: plugins/sudoers/sudoreplay.c:688 +msgid "Warning: your terminal is too small to properly replay the log.\n" +msgstr "Averto: via terminalo estas tro malgranda por konvene reskribi la protokolon.\n" + +#: plugins/sudoers/sudoreplay.c:689 +#, c-format +msgid "Log geometry is %d x %d, your terminal's geometry is %d x %d." +msgstr "Protokola grando estas %dx%d, sed via terminala grando estas %dx%d." + +#: plugins/sudoers/sudoreplay.c:717 +msgid "Replay finished, press any key to restore the terminal." +msgstr "Refarado finita, premu iu ajn klavon por restarigi la terminalon." + +#: plugins/sudoers/sudoreplay.c:1219 plugins/sudoers/sudoreplay.c:1249 +#, c-format +msgid "ambiguous expression \"%s\"" +msgstr "ambigua esprimo \"%s\"" + +#: plugins/sudoers/sudoreplay.c:1271 +msgid "unmatched ')' in expression" +msgstr "mankas krampo kongruanta al ')' en esprimo" + +#: plugins/sudoers/sudoreplay.c:1275 +#, c-format +msgid "unknown search term \"%s\"" +msgstr "nekonata serĉaĵo \"%s\"" + +#: plugins/sudoers/sudoreplay.c:1290 +#, c-format +msgid "%s requires an argument" +msgstr "%s bezonas parametron" + +#: plugins/sudoers/sudoreplay.c:1300 +#, c-format +msgid "could not parse date \"%s\"" +msgstr "ne eblis analizi daton \"%s\"" + +#: plugins/sudoers/sudoreplay.c:1309 +msgid "unmatched '(' in expression" +msgstr "mankas krampo kongruanta al '(' en esprimo" + +#: plugins/sudoers/sudoreplay.c:1311 +msgid "illegal trailing \"or\"" +msgstr "malvalida posta \"or\"" + +#: plugins/sudoers/sudoreplay.c:1313 +msgid "illegal trailing \"!\"" +msgstr "malvalida posta \"!\"" + +#: plugins/sudoers/sudoreplay.c:1371 +#, c-format +msgid "unknown search type %d" +msgstr "nekonata serĉtipo %d" + +#: plugins/sudoers/sudoreplay.c:1650 +#, c-format +msgid "usage: %s [-hnRS] [-d dir] [-m num] [-s num] ID\n" +msgstr "uzado: %s [-hnRS] [-d ujo] [-m num] [-s num] ID\n" + +#: plugins/sudoers/sudoreplay.c:1652 +#, c-format +msgid "usage: %s [-h] [-d dir] -l [search expression]\n" +msgstr "uzado: %s [-h] [-d ujo] -l [serĉaĵo]\n" + +#: plugins/sudoers/sudoreplay.c:1666 +#, c-format +msgid "" +"%s - replay sudo session logs\n" +"\n" +msgstr "" +"%s - refari sudo-seancajn protokolojn\n" +"\n" + +#: plugins/sudoers/sudoreplay.c:1668 +msgid "" +"\n" +"Options:\n" +" -d, --directory=dir specify directory for session logs\n" +" -f, --filter=filter specify which I/O type(s) to display\n" +" -h, --help display help message and exit\n" +" -l, --list list available session IDs, with optional expression\n" +" -m, --max-wait=num max number of seconds to wait between events\n" +" -n, --non-interactive no prompts, session is sent to the standard output\n" +" -R, --no-resize do not attempt to re-size the terminal\n" +" -S, --suspend-wait wait while the command was suspended\n" +" -s, --speed=num speed up or slow down output\n" +" -V, --version display version information and exit" +msgstr "" +"\n" +"Modifiloj:\n" +" -d ,--directory=ujo specifi dosierujon por seancaj protokoloj\n" +" -f, --filter=filtrilo specifi kiajn eneligajn tipo(j)n por montri\n" +" -h, --help montri helpan mesaĝon kaj eliri\n" +" -l, --list listigi haveblajn seancajn ID, kun nedeviga esprimo\n" +" -m, --max-wait=num maksimuma nombro da sekundoj por atendi inter okazoj\n" +" -n, --non-interactive neniu invito, seanco estas sendata al la norma eligo\n" +" -R, --no-resize ne provi regrandigi la terminalon\n" +" -S, --suspend-wait atendi dum la komando estas paŭzigita\n" +" -s, --speed=num rapidigi aŭ malrapidigi eligon\n" +" -V, --version eligi eldonan informon kaj eliri" + +#: plugins/sudoers/testsudoers.c:344 +msgid "\thost unmatched" +msgstr "\thost sen egalo" + +#: plugins/sudoers/testsudoers.c:347 +msgid "" +"\n" +"Command allowed" +msgstr "" +"\n" +"Komando permesata" + +#: plugins/sudoers/testsudoers.c:348 +msgid "" +"\n" +"Command denied" +msgstr "" +"\n" +"Komando rifuzata" + +#: plugins/sudoers/testsudoers.c:348 +msgid "" +"\n" +"Command unmatched" +msgstr "" +"\n" +"Komando sen egalo" + +#: plugins/sudoers/timestamp.c:354 plugins/sudoers/timestamp.c:693 +#, c-format +msgid "unable to truncate time stamp file to %lld bytes" +msgstr "ne eblas mallongigi tempo-indikilan dosieron ĝis %lld bajtoj" + +#: plugins/sudoers/timestamp.c:890 +msgid "ignoring time stamp from the future" +msgstr "ignoranta tempo-indikilon el la estonteco" + +#: plugins/sudoers/timestamp.c:913 +#, c-format +msgid "time stamp too far in the future: %20.20s" +msgstr "tempo-indikilo tro estonte: %20.20s" + +#: plugins/sudoers/timestamp.c:1042 +#, c-format +msgid "unable to lock time stamp file %s" +msgstr "ne eblas ŝlosi tempo-indikilan dosieron %s" + +#: plugins/sudoers/toke_util.c:156 +msgid "sudoedit should not be specified with a path" +msgstr "sudoedit plej bone ne specifiĝu kun vojo" + +#: plugins/sudoers/visudo.c:254 +msgid "the -x option will be removed in a future release" +msgstr "la elekto -x estos forigita en posta eldono" + +#: plugins/sudoers/visudo.c:256 +msgid "please consider using the cvtsudoers utility instead" +msgstr "bonvolu konsideri uzi la utilaĵon cvtsudoers anstataŭe" + +#: plugins/sudoers/visudo.c:311 plugins/sudoers/visudo.c:698 +#, c-format +msgid "press return to edit %s: " +msgstr "premu enen-klavon por redakti %s-on: " + +#: plugins/sudoers/visudo.c:326 +#, c-format +msgid "contents of edit session left in %s" +msgstr "enhavo de redakto-seanco restigita en %s" + +#: plugins/sudoers/visudo.c:402 +#, c-format +msgid "specified editor (%s) doesn't exist" +msgstr "specifita tekstoredaktilo (%s) ne ekzistas" + +#: plugins/sudoers/visudo.c:404 +#, c-format +msgid "no editor found (editor path = %s)" +msgstr "neniu tekstoredaktilo trovita (vojo = %s)" + +#: plugins/sudoers/visudo.c:491 plugins/sudoers/visudo.c:770 +#, c-format +msgid "unable to stat %s" +msgstr "ne eblas apliki stat al %s" + +#: plugins/sudoers/visudo.c:511 plugins/sudoers/visudo.c:519 +msgid "write error" +msgstr "skriba eraro" + +#: plugins/sudoers/visudo.c:565 +#, c-format +msgid "unable to stat temporary file (%s), %s unchanged" +msgstr "ne eblas apliki stat al provizora dosiero (%s), %s neŝanĝita" + +#: plugins/sudoers/visudo.c:572 +#, c-format +msgid "zero length temporary file (%s), %s unchanged" +msgstr "nul-longa provizora dosiero (%s), %s neŝanĝita" + +#: plugins/sudoers/visudo.c:578 +#, c-format +msgid "editor (%s) failed, %s unchanged" +msgstr "redaktilo (%s) malsukcesis, %s neŝanĝita" + +#: plugins/sudoers/visudo.c:600 +#, c-format +msgid "%s unchanged" +msgstr "%s neŝanĝita" + +#: plugins/sudoers/visudo.c:645 +#, c-format +msgid "unable to re-open temporary file (%s), %s unchanged." +msgstr "ne eblas remalfermi provizoran dosieron (%s), %s neŝanĝita." + +#: plugins/sudoers/visudo.c:658 +#, c-format +msgid "unable to parse temporary file (%s), unknown error" +msgstr "ne eblas analizi provizoran dosieron (%s), nekonata eraro" + +#: plugins/sudoers/visudo.c:744 plugins/sudoers/visudo.c:774 +#: plugins/sudoers/visudo.c:781 +#, c-format +msgid "unable to set (uid, gid) of %s to (%u, %u)" +msgstr "ne eblas ŝanĝi (uid, gid) de %s al (%u, %u)" + +#: plugins/sudoers/visudo.c:809 +#, c-format +msgid "%s and %s not on the same file system, using mv to rename" +msgstr "%s kaj %s ne estas la sama dosiersistemo, uzanta mv-on por alinomi" + +#: plugins/sudoers/visudo.c:820 +#, c-format +msgid "command failed: '%s %s %s', %s unchanged" +msgstr "komando malsukcesis: '%s %s %s', %s neŝanĝita" + +#: plugins/sudoers/visudo.c:827 +#, c-format +msgid "error renaming %s, %s unchanged" +msgstr "eraro dum alinomi %s-on; %s neŝanĝita" + +#: plugins/sudoers/visudo.c:847 +msgid "What now? " +msgstr "Kion nun? " + +#: plugins/sudoers/visudo.c:861 +msgid "" +"Options are:\n" +" (e)dit sudoers file again\n" +" e(x)it without saving changes to sudoers file\n" +" (Q)uit and save changes to sudoers file (DANGER!)\n" +msgstr "" +"Elektoj estas:\n" +" r(e)dakti refoje sudoers-dosieron\n" +" (x) eliri sen konservi ŝanĝojn al sudoers-dosiero\n" +" (Q) Eliri kaj konservi ŝanĝojn al sudoers-dosiero (DANĜERA!)\n" + +#: plugins/sudoers/visudo.c:907 +#, c-format +msgid "unable to run %s" +msgstr "ne eblas plenumigi: %s" + +#: plugins/sudoers/visudo.c:938 +#, c-format +msgid "%s: wrong owner (uid, gid) should be (%u, %u)\n" +msgstr "%s: malĝusta estro (uid, gid) devas esti (%u, %u)\n" + +#: plugins/sudoers/visudo.c:949 +#, c-format +msgid "%s: bad permissions, should be mode 0%o\n" +msgstr "%s: misaj permesoj, devas esti reĝimo 0%o\n" + +#: plugins/sudoers/visudo.c:997 plugins/sudoers/visudo.c:1004 +#, c-format +msgid "%s: parsed OK\n" +msgstr "%s: analizita senerare\n" + +#: plugins/sudoers/visudo.c:1023 +#, c-format +msgid "%s busy, try again later" +msgstr "%s okupata, reprovu pli malfrue" + +#: plugins/sudoers/visudo.c:1027 +msgid "Edit anyway? [y/N]" +msgstr "Ĉu redakti ja? [y/N]" + +#: plugins/sudoers/visudo.c:1128 +#, c-format +msgid "Warning: %s:%d:%d: unused %s \"%s\"" +msgstr "Averto: %s:%d:%d: neuzata %s \"%s\"" + +#: plugins/sudoers/visudo.c:1240 +#, c-format +msgid "" +"%s - safely edit the sudoers file\n" +"\n" +msgstr "" +"%s - sekure redakti la dosieron sudoers\n" +"\n" + +#: plugins/sudoers/visudo.c:1242 +msgid "" +"\n" +"Options:\n" +" -c, --check check-only mode\n" +" -f, --file=sudoers specify sudoers file location\n" +" -h, --help display help message and exit\n" +" -I, --no-includes do not edit include files\n" +" -q, --quiet less verbose (quiet) syntax error messages\n" +" -s, --strict strict syntax checking\n" +" -V, --version display version information and exit\n" +msgstr "" +"\n" +"Elektoj:\n" +" -c, --check nur kontroli\n" +" -f, --file=sudoers indiki lokon de la dosiero sudoers\n" +" -h, --help montri helpan mesaĝon kaj eliri\n" +" -I, --no-includes ne redakti inkluzivitajn dosierojn\n" +" -q, --quiet pli silenta (quiet) pri sintaksaj eraroj\n" +" -s, --strict severa kontrolado de sintakso\n" +" -V, --version montri eldonon kaj eliri\n" + +#: toke.l:189 +msgid "empty string" +msgstr "malplena ĉeno" + +#: toke.l:201 toke.l:571 +msgid "empty group" +msgstr "malplena grupo" + +#: toke.l:211 toke.l:569 +msgid "empty netgroup" +msgstr "malplena retgrupo" + +#: toke.l:289 +msgid "unterminated regular expression" +msgstr "nefinigita regulesprimo: %s" + +#: toke.l:363 toke.l:375 toke.l:387 toke.l:403 toke.l:422 toke.l:462 +msgid "invalid line continuation" +msgstr "malvalida linio-daŭrigo" + +#: toke.l:608 toke.l:620 +msgid "invalid IPv6 address" +msgstr "malvalida IPv6-adreso" + +#: toke.l:868 +msgid "unexpected line break in string" +msgstr "neatendita linirompo en ĉeno" + +#: toke.l:1218 +msgid "too many levels of includes" +msgstr "tro da niveloj de inkluzivaĵoj" diff --git a/plugins/sudoers/po/es.mo b/plugins/sudoers/po/es.mo new file mode 100644 index 0000000..a8dc07a Binary files /dev/null and b/plugins/sudoers/po/es.mo differ diff --git a/plugins/sudoers/po/es.po b/plugins/sudoers/po/es.po new file mode 100644 index 0000000..5ca9663 --- /dev/null +++ b/plugins/sudoers/po/es.po @@ -0,0 +1,1882 @@ +# Portable object template file for the sudoers plugin +# This file is put in the public domain. +# +# Todd C. Miller , 2011-2015. +# Carlos E. Robinson , 2015, 2016. +msgid "" +msgstr "" +"Project-Id-Version: sudoers 1.8.15rc3\n" +"Report-Msgid-Bugs-To: http://www.sudo.ws/bugs\n" +"POT-Creation-Date: 2015-10-24 06:26-0600\n" +"PO-Revision-Date: 2016-05-08 23:06+0200\n" +"Last-Translator: Carlos E. Robinson \n" +"Language-Team: Spanish \n" +"Language: es\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 1.5\n" + +#: confstr.sh:1 +msgid "syntax error" +msgstr "error de sintaxis" + +#: confstr.sh:2 +msgid "%p's password: " +msgstr "contraseña de %p: " + +#: confstr.sh:3 +msgid "[sudo] password for %p: " +msgstr "[sudo] contraseña para %p: " + +#: confstr.sh:4 +msgid "Password: " +msgstr "Contraseña: " + +#: confstr.sh:5 +msgid "*** SECURITY information for %h ***" +msgstr "*** información de SEGURIDAD para %h ***" + +#: confstr.sh:6 +msgid "Sorry, try again." +msgstr "Lo siento, pruebe otra vez." + +#: gram.y:183 gram.y:201 gram.y:207 gram.y:213 gram.y:219 gram.y:225 +#: gram.y:241 gram.y:248 gram.y:255 gram.y:262 gram.y:269 gram.y:285 +#: gram.y:308 gram.y:315 gram.y:322 gram.y:329 gram.y:336 gram.y:391 +#: gram.y:399 gram.y:409 gram.y:439 gram.y:446 gram.y:453 gram.y:460 +#: gram.y:572 gram.y:579 gram.y:588 gram.y:597 gram.y:614 gram.y:670 +#: gram.y:677 gram.y:684 gram.y:692 gram.y:784 gram.y:791 gram.y:798 +#: gram.y:805 gram.y:812 gram.y:838 gram.y:845 gram.y:852 gram.y:1136 +#: gram.y:1143 plugins/sudoers/alias.c:123 plugins/sudoers/alias.c:136 +#: plugins/sudoers/auth/bsdauth.c:141 plugins/sudoers/auth/kerb5.c:119 +#: plugins/sudoers/auth/kerb5.c:145 plugins/sudoers/auth/pam.c:398 +#: plugins/sudoers/auth/pam.c:449 plugins/sudoers/auth/rfc1938.c:109 +#: plugins/sudoers/auth/sia.c:59 plugins/sudoers/defaults.c:516 +#: plugins/sudoers/defaults.c:720 plugins/sudoers/defaults.c:880 +#: plugins/sudoers/editor.c:64 plugins/sudoers/editor.c:82 +#: plugins/sudoers/editor.c:92 plugins/sudoers/env.c:233 +#: plugins/sudoers/group_plugin.c:133 plugins/sudoers/iolog.c:586 +#: plugins/sudoers/iolog.c:618 plugins/sudoers/iolog_path.c:167 +#: plugins/sudoers/ldap.c:446 plugins/sudoers/ldap.c:477 +#: plugins/sudoers/ldap.c:529 plugins/sudoers/ldap.c:562 +#: plugins/sudoers/ldap.c:914 plugins/sudoers/ldap.c:1061 +#: plugins/sudoers/ldap.c:1348 plugins/sudoers/ldap.c:1521 +#: plugins/sudoers/ldap.c:1597 plugins/sudoers/ldap.c:1733 +#: plugins/sudoers/ldap.c:1757 plugins/sudoers/ldap.c:1787 +#: plugins/sudoers/ldap.c:1840 plugins/sudoers/ldap.c:1855 +#: plugins/sudoers/ldap.c:1951 plugins/sudoers/ldap.c:1984 +#: plugins/sudoers/ldap.c:2137 plugins/sudoers/ldap.c:2234 +#: plugins/sudoers/ldap.c:3041 plugins/sudoers/ldap.c:3074 +#: plugins/sudoers/ldap.c:3388 plugins/sudoers/ldap.c:3416 +#: plugins/sudoers/ldap.c:3427 plugins/sudoers/ldap.c:3517 +#: plugins/sudoers/ldap.c:3533 plugins/sudoers/linux_audit.c:76 +#: plugins/sudoers/logging.c:188 plugins/sudoers/logging.c:666 +#: plugins/sudoers/logging.c:924 plugins/sudoers/match.c:501 +#: plugins/sudoers/match.c:537 plugins/sudoers/match.c:699 +#: plugins/sudoers/match.c:756 plugins/sudoers/parse.c:235 +#: plugins/sudoers/parse.c:247 plugins/sudoers/parse.c:262 +#: plugins/sudoers/parse.c:274 plugins/sudoers/policy.c:384 +#: plugins/sudoers/policy.c:583 plugins/sudoers/prompt.c:93 +#: plugins/sudoers/sssd.c:160 plugins/sudoers/sssd.c:192 +#: plugins/sudoers/sssd.c:235 plugins/sudoers/sssd.c:242 +#: plugins/sudoers/sssd.c:278 plugins/sudoers/sssd.c:323 +#: plugins/sudoers/sssd.c:917 plugins/sudoers/sssd.c:1050 +#: plugins/sudoers/sudoers.c:159 plugins/sudoers/sudoers.c:294 +#: plugins/sudoers/sudoers.c:304 plugins/sudoers/sudoers.c:312 +#: plugins/sudoers/sudoers.c:365 plugins/sudoers/sudoers.c:663 +#: plugins/sudoers/sudoers.c:749 plugins/sudoers/sudoers.c:793 +#: plugins/sudoers/sudoers_debug.c:107 plugins/sudoers/sudoreplay.c:472 +#: plugins/sudoers/sudoreplay.c:668 plugins/sudoers/sudoreplay.c:780 +#: plugins/sudoers/sudoreplay.c:820 plugins/sudoers/sudoreplay.c:829 +#: plugins/sudoers/sudoreplay.c:839 plugins/sudoers/sudoreplay.c:847 +#: plugins/sudoers/sudoreplay.c:851 plugins/sudoers/sudoreplay.c:1007 +#: plugins/sudoers/sudoreplay.c:1011 plugins/sudoers/testsudoers.c:130 +#: plugins/sudoers/testsudoers.c:188 plugins/sudoers/testsudoers.c:215 +#: plugins/sudoers/testsudoers.c:232 plugins/sudoers/timestamp.c:390 +#: plugins/sudoers/timestamp.c:426 plugins/sudoers/timestamp.c:838 +#: plugins/sudoers/toke_util.c:56 plugins/sudoers/toke_util.c:109 +#: plugins/sudoers/toke_util.c:147 plugins/sudoers/visudo.c:152 +#: plugins/sudoers/visudo.c:213 plugins/sudoers/visudo.c:297 +#: plugins/sudoers/visudo.c:303 plugins/sudoers/visudo.c:433 +#: plugins/sudoers/visudo.c:979 plugins/sudoers/visudo.c:1023 +#: plugins/sudoers/visudo.c:1119 toke.l:785 toke.l:806 toke.l:816 toke.l:924 +#: toke.l:1082 +msgid "unable to allocate memory" +msgstr "no se pudo asignar memoria" + +#: gram.y:471 +msgid "a digest requires a path name" +msgstr "un compendio requiere un nombre de ruta" + +#: gram.y:1136 gram.y:1143 plugins/sudoers/auth/pam.c:398 +#: plugins/sudoers/auth/pam.c:449 plugins/sudoers/auth/rfc1938.c:109 +#: plugins/sudoers/defaults.c:516 plugins/sudoers/defaults.c:720 +#: plugins/sudoers/defaults.c:880 plugins/sudoers/editor.c:64 +#: plugins/sudoers/editor.c:82 plugins/sudoers/editor.c:92 +#: plugins/sudoers/env.c:233 plugins/sudoers/group_plugin.c:133 +#: plugins/sudoers/iolog.c:586 plugins/sudoers/iolog.c:618 +#: plugins/sudoers/iolog_path.c:167 plugins/sudoers/ldap.c:446 +#: plugins/sudoers/ldap.c:477 plugins/sudoers/ldap.c:529 +#: plugins/sudoers/ldap.c:562 plugins/sudoers/ldap.c:914 +#: plugins/sudoers/ldap.c:1061 plugins/sudoers/ldap.c:1348 +#: plugins/sudoers/ldap.c:1521 plugins/sudoers/ldap.c:1597 +#: plugins/sudoers/ldap.c:1733 plugins/sudoers/ldap.c:1757 +#: plugins/sudoers/ldap.c:1787 plugins/sudoers/ldap.c:1840 +#: plugins/sudoers/ldap.c:1855 plugins/sudoers/ldap.c:1951 +#: plugins/sudoers/ldap.c:1984 plugins/sudoers/ldap.c:2137 +#: plugins/sudoers/ldap.c:2234 plugins/sudoers/ldap.c:3041 +#: plugins/sudoers/ldap.c:3074 plugins/sudoers/ldap.c:3388 +#: plugins/sudoers/ldap.c:3416 plugins/sudoers/ldap.c:3427 +#: plugins/sudoers/ldap.c:3517 plugins/sudoers/ldap.c:3533 +#: plugins/sudoers/linux_audit.c:76 plugins/sudoers/logging.c:188 +#: plugins/sudoers/logging.c:924 plugins/sudoers/match.c:501 +#: plugins/sudoers/match.c:537 plugins/sudoers/match.c:699 +#: plugins/sudoers/match.c:756 plugins/sudoers/parse.c:235 +#: plugins/sudoers/parse.c:247 plugins/sudoers/parse.c:262 +#: plugins/sudoers/parse.c:274 plugins/sudoers/policy.c:97 +#: plugins/sudoers/policy.c:106 plugins/sudoers/policy.c:115 +#: plugins/sudoers/policy.c:139 plugins/sudoers/policy.c:250 +#: plugins/sudoers/policy.c:271 plugins/sudoers/policy.c:280 +#: plugins/sudoers/policy.c:319 plugins/sudoers/policy.c:329 +#: plugins/sudoers/policy.c:338 plugins/sudoers/policy.c:384 +#: plugins/sudoers/policy.c:583 plugins/sudoers/prompt.c:93 +#: plugins/sudoers/set_perms.c:356 plugins/sudoers/set_perms.c:695 +#: plugins/sudoers/set_perms.c:1054 plugins/sudoers/set_perms.c:1350 +#: plugins/sudoers/set_perms.c:1514 plugins/sudoers/sssd.c:160 +#: plugins/sudoers/sssd.c:192 plugins/sudoers/sssd.c:235 +#: plugins/sudoers/sssd.c:242 plugins/sudoers/sssd.c:278 +#: plugins/sudoers/sssd.c:323 plugins/sudoers/sssd.c:917 +#: plugins/sudoers/sssd.c:1050 plugins/sudoers/sudoers.c:159 +#: plugins/sudoers/sudoers.c:294 plugins/sudoers/sudoers.c:304 +#: plugins/sudoers/sudoers.c:312 plugins/sudoers/sudoers.c:365 +#: plugins/sudoers/sudoers.c:663 plugins/sudoers/sudoers.c:749 +#: plugins/sudoers/sudoers.c:793 plugins/sudoers/sudoers_debug.c:106 +#: plugins/sudoers/sudoreplay.c:472 plugins/sudoers/sudoreplay.c:668 +#: plugins/sudoers/sudoreplay.c:780 plugins/sudoers/sudoreplay.c:820 +#: plugins/sudoers/sudoreplay.c:829 plugins/sudoers/sudoreplay.c:839 +#: plugins/sudoers/sudoreplay.c:847 plugins/sudoers/sudoreplay.c:851 +#: plugins/sudoers/sudoreplay.c:1007 plugins/sudoers/sudoreplay.c:1011 +#: plugins/sudoers/testsudoers.c:130 plugins/sudoers/testsudoers.c:188 +#: plugins/sudoers/testsudoers.c:215 plugins/sudoers/testsudoers.c:232 +#: plugins/sudoers/timestamp.c:390 plugins/sudoers/timestamp.c:426 +#: plugins/sudoers/timestamp.c:838 plugins/sudoers/toke_util.c:56 +#: plugins/sudoers/toke_util.c:109 plugins/sudoers/toke_util.c:147 +#: plugins/sudoers/visudo.c:152 plugins/sudoers/visudo.c:213 +#: plugins/sudoers/visudo.c:297 plugins/sudoers/visudo.c:303 +#: plugins/sudoers/visudo.c:433 plugins/sudoers/visudo.c:979 +#: plugins/sudoers/visudo.c:1023 plugins/sudoers/visudo.c:1119 toke.l:785 +#: toke.l:806 toke.l:816 toke.l:924 toke.l:1082 +#, c-format +msgid "%s: %s" +msgstr "%s: %s" + +#: plugins/sudoers/alias.c:132 +#, c-format +msgid "Alias `%s' already defined" +msgstr "El alias `%s' ya fue definido" + +#: plugins/sudoers/auth/bsdauth.c:68 +#, c-format +msgid "unable to get login class for user %s" +msgstr "no se pudo obtener la clase de login del usuario %s" + +#: plugins/sudoers/auth/bsdauth.c:73 +msgid "unable to begin bsd authentication" +msgstr "no se pudo iniciar autenticicación bsd" + +#: plugins/sudoers/auth/bsdauth.c:81 +msgid "invalid authentication type" +msgstr "tipo de autenticicación inválido" + +#: plugins/sudoers/auth/bsdauth.c:90 +msgid "unable to initialize BSD authentication" +msgstr "no se pudo inicializar la autenticicación BSD" + +#: plugins/sudoers/auth/fwtk.c:52 +msgid "unable to read fwtk config" +msgstr "no se pudo leer la configuración fwtk" + +#: plugins/sudoers/auth/fwtk.c:57 +msgid "unable to connect to authentication server" +msgstr "no se pudo conectar con el servidor de autenticicación" + +#: plugins/sudoers/auth/fwtk.c:63 plugins/sudoers/auth/fwtk.c:87 +#: plugins/sudoers/auth/fwtk.c:120 +msgid "lost connection to authentication server" +msgstr "se perdió la conexión con el servidor de autenticicación" + +#: plugins/sudoers/auth/fwtk.c:67 +#, c-format +msgid "" +"authentication server error:\n" +"%s" +msgstr "" +"error del servidor de autenticicación:\n" +"%s" + +#: plugins/sudoers/auth/kerb5.c:111 +#, c-format +msgid "%s: unable to convert principal to string ('%s'): %s" +msgstr "%s: no se pudo convertir el principal a string ('%s'): %s" + +#: plugins/sudoers/auth/kerb5.c:161 +#, c-format +msgid "%s: unable to parse '%s': %s" +msgstr "%s: no se pudo analizar '%s': %s" + +#: plugins/sudoers/auth/kerb5.c:170 +#, c-format +msgid "%s: unable to resolve credential cache: %s" +msgstr "%s: no se pudo resolver la caché de credenciales: %s" + +#: plugins/sudoers/auth/kerb5.c:217 +#, c-format +msgid "%s: unable to allocate options: %s" +msgstr "%s: no se pudo asignar opciones: %s" + +#: plugins/sudoers/auth/kerb5.c:232 +#, c-format +msgid "%s: unable to get credentials: %s" +msgstr "%s: no se pudo obtener las credenciales: %s" + +#: plugins/sudoers/auth/kerb5.c:245 +#, c-format +msgid "%s: unable to initialize credential cache: %s" +msgstr "%s: no se pudo obtener la caché de credenciales: %s" + +#: plugins/sudoers/auth/kerb5.c:248 +#, c-format +msgid "%s: unable to store credential in cache: %s" +msgstr "%s: no se pudo guardar la credencial en la cache: %s" + +#: plugins/sudoers/auth/kerb5.c:312 +#, c-format +msgid "%s: unable to get host principal: %s" +msgstr "%s: no se pudo obtener la principal del host: %s" + +#: plugins/sudoers/auth/kerb5.c:326 +#, c-format +msgid "%s: Cannot verify TGT! Possible attack!: %s" +msgstr "%s: ¡No se pudo verificar TGT! ¡Posible ataque!: %s" + +#: plugins/sudoers/auth/pam.c:92 +msgid "unable to initialize PAM" +msgstr "no se pudo inicializar PAM" + +#: plugins/sudoers/auth/pam.c:164 +msgid "account validation failure, is your account locked?" +msgstr "fallo de validación de la cuenta, ¿está su cuenta bloqueada?" + +#: plugins/sudoers/auth/pam.c:168 +msgid "Account or password is expired, reset your password and try again" +msgstr "La cuenta o la contraseña ha caducado, reinicie su contraseña y pruebe de nuevo" + +#: plugins/sudoers/auth/pam.c:176 +#, c-format +msgid "unable to change expired password: %s" +msgstr "no se pudo cambiar la contraseña caducada: %s" + +#: plugins/sudoers/auth/pam.c:181 +msgid "Password expired, contact your system administrator" +msgstr "La contraseña caducó, contacte con el administrador de su sistema" + +#: plugins/sudoers/auth/pam.c:185 +msgid "Account expired or PAM config lacks an \"account\" section for sudo, contact your system administrator" +msgstr "La cuenta caducó o la configuración de PAM no tiene una sección \"account\" para sudo, contacte con el administrador de su sistema" + +#: plugins/sudoers/auth/pam.c:199 +#, c-format +msgid "PAM authentication error: %s" +msgstr "Error de autenticicación PAM: %s" + +#: plugins/sudoers/auth/rfc1938.c:97 plugins/sudoers/visudo.c:218 +#, c-format +msgid "you do not exist in the %s database" +msgstr "usted no existe el la base de datos %s" + +#: plugins/sudoers/auth/securid5.c:73 +msgid "failed to initialise the ACE API library" +msgstr "no se pudo inicializar la API de la librería ACE" + +#: plugins/sudoers/auth/securid5.c:99 +msgid "unable to contact the SecurID server" +msgstr "no se pudo contactar con el servidor SecurID" + +#: plugins/sudoers/auth/securid5.c:108 +msgid "User ID locked for SecurID Authentication" +msgstr "ID del usuario bloqueada para autenticicación SecurID" + +#: plugins/sudoers/auth/securid5.c:112 plugins/sudoers/auth/securid5.c:163 +msgid "invalid username length for SecurID" +msgstr "longitud del nombre de usuario inválida para SecurID" + +#: plugins/sudoers/auth/securid5.c:116 plugins/sudoers/auth/securid5.c:168 +msgid "invalid Authentication Handle for SecurID" +msgstr "Manejador de autenticicación inválido para SecurID" + +#: plugins/sudoers/auth/securid5.c:120 +msgid "SecurID communication failed" +msgstr "falló la comunicación con SecurID" + +#: plugins/sudoers/auth/securid5.c:124 plugins/sudoers/auth/securid5.c:207 +msgid "unknown SecurID error" +msgstr "error SecurID desconocido" + +#: plugins/sudoers/auth/securid5.c:158 +msgid "invalid passcode length for SecurID" +msgstr "longitud de código de paso inválido para Securid" + +#: plugins/sudoers/auth/sia.c:69 plugins/sudoers/auth/sia.c:124 +msgid "unable to initialize SIA session" +msgstr "no se pudo inicializar la sesión SIA" + +#: plugins/sudoers/auth/sudo_auth.c:126 +msgid "invalid authentication methods" +msgstr "métodos de autenticicación inválidos" + +#: plugins/sudoers/auth/sudo_auth.c:128 +msgid "Invalid authentication methods compiled into sudo! You may not mix standalone and non-standalone authentication." +msgstr "¡El sudo ha sido compilado con métodos de autenticicación inválidos! No puede mezclar autenticicación independiente y no independiente." + +#: plugins/sudoers/auth/sudo_auth.c:225 plugins/sudoers/auth/sudo_auth.c:274 +msgid "no authentication methods" +msgstr "sin métodos de autenticicación" + +#: plugins/sudoers/auth/sudo_auth.c:227 +msgid "There are no authentication methods compiled into sudo! If you want to turn off authentication, use the --disable-authentication configure option." +msgstr "¡El sudo ha sido compilado sin métodos de autenticicación! Si desea desactivar la autenticicación, use la opción de configuración --disable-authentication." + +#: plugins/sudoers/auth/sudo_auth.c:276 +msgid "Unable to initialize authentication methods." +msgstr "no se pudo inicializar los métodos de autenticicación." + +#: plugins/sudoers/auth/sudo_auth.c:435 +msgid "Authentication methods:" +msgstr "Métodos de autenticicación:" + +#: plugins/sudoers/bsm_audit.c:111 plugins/sudoers/bsm_audit.c:200 +msgid "Could not determine audit condition" +msgstr "No se pudo determinar la condición de la auditoría" + +#: plugins/sudoers/bsm_audit.c:172 plugins/sudoers/bsm_audit.c:260 +msgid "unable to commit audit record" +msgstr "" + +#: plugins/sudoers/check.c:252 +msgid "" +"\n" +"We trust you have received the usual lecture from the local System\n" +"Administrator. It usually boils down to these three things:\n" +"\n" +" #1) Respect the privacy of others.\n" +" #2) Think before you type.\n" +" #3) With great power comes great responsibility.\n" +"\n" +msgstr "" +"\n" +"Confiamos que haya recibido la charla habitual del administrador\n" +"de sistema local. Por lo general se reduce a estas tres cosas:\n" +"\n" +" #1) Respeta la privacidad de otros.\n" +" #2) Piensa antes de escribir.\n" +" #3) Un gran poder conlleva una gran responsabilidad.\n" +"\n" + +#: plugins/sudoers/check.c:295 plugins/sudoers/check.c:305 +#: plugins/sudoers/sudoers.c:699 plugins/sudoers/sudoers.c:728 +#, c-format +msgid "unknown uid: %u" +msgstr "uid desconocido: %u" + +#: plugins/sudoers/check.c:300 plugins/sudoers/policy.c:755 +#: plugins/sudoers/sudoers.c:1095 plugins/sudoers/testsudoers.c:206 +#: plugins/sudoers/testsudoers.c:361 +#, c-format +msgid "unknown user: %s" +msgstr "usuario desconocido: %s" + +#: plugins/sudoers/def_data.c:27 +#, c-format +msgid "Syslog facility if syslog is being used for logging: %s" +msgstr "Facilidad de syslog, cuando se usa syslog para el registro: %s" + +#: plugins/sudoers/def_data.c:31 +#, c-format +msgid "Syslog priority to use when user authenticates successfully: %s" +msgstr "Prioridad de syslog a usarse cuando el usuario se autentifica con éxito: %s" + +#: plugins/sudoers/def_data.c:35 +#, c-format +msgid "Syslog priority to use when user authenticates unsuccessfully: %s" +msgstr "Prioridad de syslog a usarse cuando el usuario no se autentifica con éxito: %s" + +#: plugins/sudoers/def_data.c:39 +msgid "Put OTP prompt on its own line" +msgstr "Pone la petición de OTP en su propia línea" + +#: plugins/sudoers/def_data.c:43 +msgid "Ignore '.' in $PATH" +msgstr "No hace caso del '.' en el $PATH" + +#: plugins/sudoers/def_data.c:47 +msgid "Always send mail when sudo is run" +msgstr "Siempre envía el correo cuando se ejecuta sudo" + +#: plugins/sudoers/def_data.c:51 +msgid "Send mail if user authentication fails" +msgstr "Envía correo si la autenticicación de usuario falla" + +#: plugins/sudoers/def_data.c:55 +msgid "Send mail if the user is not in sudoers" +msgstr "Envía correo si el usuario no está en sudoers" + +#: plugins/sudoers/def_data.c:59 +msgid "Send mail if the user is not in sudoers for this host" +msgstr "Envía correo si el usuario no está en el sudoers de este equipo" + +#: plugins/sudoers/def_data.c:63 +msgid "Send mail if the user is not allowed to run a command" +msgstr "Envía correo si no se permite al usuario ejecutar un comando" + +#: plugins/sudoers/def_data.c:67 +msgid "Send mail if the user tries to run a command" +msgstr "Envía correo si el usuario trata de ejecutar un comando" + +#: plugins/sudoers/def_data.c:71 +msgid "Use a separate timestamp for each user/tty combo" +msgstr "Usa una marca de tiempo separada para cada combinación usuario/tty" + +#: plugins/sudoers/def_data.c:75 +msgid "Lecture user the first time they run sudo" +msgstr "Da la charla al usuario la primera vez que use sudo" + +#: plugins/sudoers/def_data.c:79 +#, c-format +msgid "File containing the sudo lecture: %s" +msgstr "Fichero que contiene la charla sobre sudo: %s" + +#: plugins/sudoers/def_data.c:83 +msgid "Require users to authenticate by default" +msgstr "Requiere a los usuarios que por defecto se autentifiquen" + +#: plugins/sudoers/def_data.c:87 +msgid "Root may run sudo" +msgstr "Root puede usar sudo" + +#: plugins/sudoers/def_data.c:91 +msgid "Log the hostname in the (non-syslog) log file" +msgstr "Registra el equipo en el fichero de registro (no de syslog)" + +#: plugins/sudoers/def_data.c:95 +msgid "Log the year in the (non-syslog) log file" +msgstr "Registra el año en el fichero de registro (no de syslog)" + +#: plugins/sudoers/def_data.c:99 +msgid "If sudo is invoked with no arguments, start a shell" +msgstr "Si se llama a sudo sin argumentos, iniciará una terminal de órdenes" + +#: plugins/sudoers/def_data.c:103 +msgid "Set $HOME to the target user when starting a shell with -s" +msgstr "Establece $HOME al usuario objetivo cuando se empieza una terminal de órdenes con -s" + +#: plugins/sudoers/def_data.c:107 +msgid "Always set $HOME to the target user's home directory" +msgstr "Establece siempre $HOME al directorio home del usuario objetivo" + +#: plugins/sudoers/def_data.c:111 +msgid "Allow some information gathering to give useful error messages" +msgstr "Permite alguna recolección de datos para dar mensajes de error útiles" + +#: plugins/sudoers/def_data.c:115 +msgid "Require fully-qualified hostnames in the sudoers file" +msgstr "Requerir nombres de equipo plenamente-cualificados en el fichero sudoers" + +#: plugins/sudoers/def_data.c:119 +msgid "Insult the user when they enter an incorrect password" +msgstr "Se insultará al usuario cuando introduzcan una contraseña incorrecta" + +#: plugins/sudoers/def_data.c:123 +msgid "Only allow the user to run sudo if they have a tty" +msgstr "Unicamente se permitirá al usuario ejecutar sudo si tienen una tty" + +#: plugins/sudoers/def_data.c:127 +msgid "Visudo will honor the EDITOR environment variable" +msgstr "Visudo obedecerá a la variable de entorno EDITOR" + +#: plugins/sudoers/def_data.c:131 +msgid "Prompt for root's password, not the users's" +msgstr "Pide la contraseña del root, no del usuario" + +#: plugins/sudoers/def_data.c:135 +msgid "Prompt for the runas_default user's password, not the users's" +msgstr "Pide la contraseña del usuario por omisión 'runas', no del usuario" + +#: plugins/sudoers/def_data.c:139 +msgid "Prompt for the target user's password, not the users's" +msgstr "Pide la contraseña del usuario objetivo, no del usuario" + +#: plugins/sudoers/def_data.c:143 +msgid "Apply defaults in the target user's login class if there is one" +msgstr "Aplica valores por omisión en la clase del usuario objetivo si es que hay uno" + +#: plugins/sudoers/def_data.c:147 +msgid "Set the LOGNAME and USER environment variables" +msgstr "Establece las variables de entorno LOGNAME y USER" + +#: plugins/sudoers/def_data.c:151 +msgid "Only set the effective uid to the target user, not the real uid" +msgstr "Establece unicamente el uid efectivo unicamente al del usuario objetivo, no el uid real" + +#: plugins/sudoers/def_data.c:155 +msgid "Don't initialize the group vector to that of the target user" +msgstr "No inicializa el vector de grupo al del usuario objetivo" + +#: plugins/sudoers/def_data.c:159 +#, c-format +msgid "Length at which to wrap log file lines (0 for no wrap): %u" +msgstr "Longitud a la cual enrollar las lineas del registro (0 para no enrollar): %u" + +#: plugins/sudoers/def_data.c:163 +#, c-format +msgid "Authentication timestamp timeout: %.1f minutes" +msgstr "Temporizador de la marca de tiempo de la autenticicación: %.1f minutos" + +#: plugins/sudoers/def_data.c:167 +#, c-format +msgid "Password prompt timeout: %.1f minutes" +msgstr "Temporizador de la solicitud de contraseña: %.1f minutos" + +#: plugins/sudoers/def_data.c:171 +#, c-format +msgid "Number of tries to enter a password: %u" +msgstr "Número de intentos para introducir una contraseña: %u" + +#: plugins/sudoers/def_data.c:175 +#, c-format +msgid "Umask to use or 0777 to use user's: 0%o" +msgstr "Umask que debe usarse o 0777 para usar la del usuario: 0%o" + +#: plugins/sudoers/def_data.c:179 +#, c-format +msgid "Path to log file: %s" +msgstr "Camino al fichero de registro: %s" + +#: plugins/sudoers/def_data.c:183 +#, c-format +msgid "Path to mail program: %s" +msgstr "Camino al programa de correo: %s" + +#: plugins/sudoers/def_data.c:187 +#, c-format +msgid "Flags for mail program: %s" +msgstr "Banderas para el programa de correo: %s" + +#: plugins/sudoers/def_data.c:191 +#, c-format +msgid "Address to send mail to: %s" +msgstr "Dirección a la que enviar el correo: %s" + +#: plugins/sudoers/def_data.c:195 +#, c-format +msgid "Address to send mail from: %s" +msgstr "Dirección desde la que enviar el correo: %s" + +#: plugins/sudoers/def_data.c:199 +#, c-format +msgid "Subject line for mail messages: %s" +msgstr "Linea de tema a usar en los mensajes de correo: %s" + +#: plugins/sudoers/def_data.c:203 +#, c-format +msgid "Incorrect password message: %s" +msgstr "Mensaje de contraseña incorrecta: %s" + +#: plugins/sudoers/def_data.c:207 +#, c-format +msgid "Path to lecture status dir: %s" +msgstr "Camino al directorio de estado de las charlas: %s" + +#: plugins/sudoers/def_data.c:211 +#, c-format +msgid "Path to authentication timestamp dir: %s" +msgstr "Camino al directorio de marcas de tiempo de las autenticaciones: %s" + +#: plugins/sudoers/def_data.c:215 +#, c-format +msgid "Owner of the authentication timestamp dir: %s" +msgstr "Propietario del directorio de marcas de tiempo de las autenticaciones: %s" + +#: plugins/sudoers/def_data.c:219 +#, c-format +msgid "Users in this group are exempt from password and PATH requirements: %s" +msgstr "Los usuarios en este grupo están exentos de los requisitos de contraseña y PATH (camino): %s" + +#: plugins/sudoers/def_data.c:223 +#, c-format +msgid "Default password prompt: %s" +msgstr "Solicitud por omisión de contraseña: %s" + +#: plugins/sudoers/def_data.c:227 +msgid "If set, passprompt will override system prompt in all cases." +msgstr "Si se define, passprompt substituirá al indicador del sistema en todos los casos." + +#: plugins/sudoers/def_data.c:231 +#, c-format +msgid "Default user to run commands as: %s" +msgstr "Usuario por omisión que se utilizará para ejecutar los comandos: %s" + +#: plugins/sudoers/def_data.c:235 +#, c-format +msgid "Value to override user's $PATH with: %s" +msgstr "Valor que substituirá al del usuario en el $PATH: %s" + +#: plugins/sudoers/def_data.c:239 +#, c-format +msgid "Path to the editor for use by visudo: %s" +msgstr "Camino al editor que se usará por visudo: %s" + +#: plugins/sudoers/def_data.c:243 +#, c-format +msgid "When to require a password for 'list' pseudocommand: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:247 +#, c-format +msgid "When to require a password for 'verify' pseudocommand: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:251 +msgid "Preload the dummy exec functions contained in the sudo_noexec library" +msgstr "" + +#: plugins/sudoers/def_data.c:255 +msgid "If LDAP directory is up, do we ignore local sudoers file" +msgstr "" + +#: plugins/sudoers/def_data.c:259 +#, c-format +msgid "File descriptors >= %d will be closed before executing a command" +msgstr "" + +#: plugins/sudoers/def_data.c:263 +msgid "If set, users may override the value of `closefrom' with the -C option" +msgstr "" + +#: plugins/sudoers/def_data.c:267 +msgid "Allow users to set arbitrary environment variables" +msgstr "" + +#: plugins/sudoers/def_data.c:271 +msgid "Reset the environment to a default set of variables" +msgstr "" + +#: plugins/sudoers/def_data.c:275 +msgid "Environment variables to check for sanity:" +msgstr "" + +#: plugins/sudoers/def_data.c:279 +msgid "Environment variables to remove:" +msgstr "" + +#: plugins/sudoers/def_data.c:283 +msgid "Environment variables to preserve:" +msgstr "" + +#: plugins/sudoers/def_data.c:287 +#, c-format +msgid "SELinux role to use in the new security context: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:291 +#, c-format +msgid "SELinux type to use in the new security context: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:295 +#, c-format +msgid "Path to the sudo-specific environment file: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:299 +#, c-format +msgid "Locale to use while parsing sudoers: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:303 +msgid "Allow sudo to prompt for a password even if it would be visible" +msgstr "" + +#: plugins/sudoers/def_data.c:307 +msgid "Provide visual feedback at the password prompt when there is user input" +msgstr "" + +#: plugins/sudoers/def_data.c:311 +msgid "Use faster globbing that is less accurate but does not access the filesystem" +msgstr "" + +#: plugins/sudoers/def_data.c:315 +msgid "The umask specified in sudoers will override the user's, even if it is more permissive" +msgstr "" + +#: plugins/sudoers/def_data.c:319 +msgid "Log user's input for the command being run" +msgstr "" + +#: plugins/sudoers/def_data.c:323 +msgid "Log the output of the command being run" +msgstr "" + +#: plugins/sudoers/def_data.c:327 +msgid "Compress I/O logs using zlib" +msgstr "" + +#: plugins/sudoers/def_data.c:331 +msgid "Always run commands in a pseudo-tty" +msgstr "" + +#: plugins/sudoers/def_data.c:335 +#, c-format +msgid "Plugin for non-Unix group support: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:339 +#, c-format +msgid "Directory in which to store input/output logs: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:343 +#, c-format +msgid "File in which to store the input/output log: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:347 +msgid "Add an entry to the utmp/utmpx file when allocating a pty" +msgstr "" + +#: plugins/sudoers/def_data.c:351 +msgid "Set the user in utmp to the runas user, not the invoking user" +msgstr "" + +#: plugins/sudoers/def_data.c:355 +msgid "Set of permitted privileges" +msgstr "" + +#: plugins/sudoers/def_data.c:359 +msgid "Set of limit privileges" +msgstr "" + +#: plugins/sudoers/def_data.c:363 +msgid "Run commands on a pty in the background" +msgstr "" + +#: plugins/sudoers/def_data.c:367 +msgid "PAM service name to use" +msgstr "" + +#: plugins/sudoers/def_data.c:371 +msgid "PAM service name to use for login shells" +msgstr "" + +#: plugins/sudoers/def_data.c:375 +msgid "Attempt to establish PAM credentials for the target user" +msgstr "" + +#: plugins/sudoers/def_data.c:379 +msgid "Create a new PAM session for the command to run in" +msgstr "" + +#: plugins/sudoers/def_data.c:383 +#, c-format +msgid "Maximum I/O log sequence number: %u" +msgstr "" + +#: plugins/sudoers/def_data.c:387 +msgid "Enable sudoers netgroup support" +msgstr "" + +#: plugins/sudoers/def_data.c:391 +msgid "Check the parent directory for writability when editing files with sudoedit" +msgstr "" + +#: plugins/sudoers/def_data.c:395 +msgid "Follow symbolic links when editing files with sudoedit" +msgstr "" + +#: plugins/sudoers/def_data.c:399 +msgid "Query the group plugin for unknown system groups" +msgstr "" + +#: plugins/sudoers/defaults.c:199 plugins/sudoers/defaults.c:608 +#: plugins/sudoers/visudo_json.c:633 plugins/sudoers/visudo_json.c:668 +#, c-format +msgid "unknown defaults entry `%s'" +msgstr "" + +#: plugins/sudoers/defaults.c:207 plugins/sudoers/defaults.c:217 +#: plugins/sudoers/defaults.c:241 plugins/sudoers/defaults.c:256 +#: plugins/sudoers/defaults.c:269 plugins/sudoers/defaults.c:282 +#: plugins/sudoers/defaults.c:295 plugins/sudoers/defaults.c:315 +#: plugins/sudoers/defaults.c:325 +#, c-format +msgid "value `%s' is invalid for option `%s'" +msgstr "" + +#: plugins/sudoers/defaults.c:210 plugins/sudoers/defaults.c:220 +#: plugins/sudoers/defaults.c:228 plugins/sudoers/defaults.c:251 +#: plugins/sudoers/defaults.c:264 plugins/sudoers/defaults.c:277 +#: plugins/sudoers/defaults.c:290 plugins/sudoers/defaults.c:310 +#: plugins/sudoers/defaults.c:321 +#, c-format +msgid "no value specified for `%s'" +msgstr "" + +#: plugins/sudoers/defaults.c:233 +#, c-format +msgid "values for `%s' must start with a '/'" +msgstr "" + +#: plugins/sudoers/defaults.c:301 +#, c-format +msgid "option `%s' does not take a value" +msgstr "" + +#: plugins/sudoers/env.c:295 plugins/sudoers/env.c:302 +#: plugins/sudoers/env.c:407 plugins/sudoers/ldap.c:450 +#: plugins/sudoers/ldap.c:540 plugins/sudoers/ldap.c:1152 +#: plugins/sudoers/ldap.c:1354 plugins/sudoers/ldap.c:1526 +#: plugins/sudoers/ldap.c:1682 plugins/sudoers/linux_audit.c:82 +#: plugins/sudoers/logging.c:929 plugins/sudoers/policy.c:502 +#: plugins/sudoers/policy.c:511 plugins/sudoers/prompt.c:161 +#: plugins/sudoers/sudoers.c:815 plugins/sudoers/testsudoers.c:236 +#: plugins/sudoers/toke_util.c:160 +#, c-format +msgid "internal error, %s overflow" +msgstr "" + +#: plugins/sudoers/env.c:376 +msgid "sudo_putenv: corrupted envp, length mismatch" +msgstr "" + +#: plugins/sudoers/env.c:1076 +msgid "unable to rebuild the environment" +msgstr "" + +#: plugins/sudoers/env.c:1150 +#, c-format +msgid "sorry, you are not allowed to set the following environment variables: %s" +msgstr "" + +#: plugins/sudoers/group_plugin.c:85 +#, c-format +msgid "%s must be owned by uid %d" +msgstr "%s debe ser propiedad del uid %d" + +#: plugins/sudoers/group_plugin.c:89 +#, c-format +msgid "%s must only be writable by owner" +msgstr "" + +#: plugins/sudoers/group_plugin.c:97 plugins/sudoers/sssd.c:331 +#, c-format +msgid "unable to load %s: %s" +msgstr "" + +#: plugins/sudoers/group_plugin.c:103 +#, c-format +msgid "unable to find symbol \"group_plugin\" in %s" +msgstr "" + +#: plugins/sudoers/group_plugin.c:108 +#, c-format +msgid "%s: incompatible group plugin major version %d, expected %d" +msgstr "" + +#: plugins/sudoers/interfaces.c:117 +msgid "Local IP address and netmask pairs:\n" +msgstr "" + +#: plugins/sudoers/iolog.c:92 plugins/sudoers/iolog.c:110 +#: plugins/sudoers/timestamp.c:169 +#, c-format +msgid "%s exists but is not a directory (0%o)" +msgstr "" + +#: plugins/sudoers/iolog.c:103 plugins/sudoers/iolog.c:124 +#: plugins/sudoers/iolog.c:131 plugins/sudoers/timestamp.c:163 +#: plugins/sudoers/timestamp.c:184 +#, c-format +msgid "unable to mkdir %s" +msgstr "" + +#: plugins/sudoers/iolog.c:200 plugins/sudoers/sudoers.c:871 +#: plugins/sudoers/sudoreplay.c:300 plugins/sudoers/sudoreplay.c:769 +#: plugins/sudoers/sudoreplay.c:973 plugins/sudoers/timestamp.c:399 +#: plugins/sudoers/visudo.c:903 plugins/sudoers/visudo_json.c:1012 +#: plugins/sudoers/visudo_json.c:1025 +#, c-format +msgid "unable to open %s" +msgstr "no se pudo abrir %s" + +#: plugins/sudoers/iolog.c:241 plugins/sudoers/sudoers.c:875 +#: plugins/sudoers/sudoreplay.c:1084 +#, c-format +msgid "unable to read %s" +msgstr "" + +#: plugins/sudoers/iolog.c:277 plugins/sudoers/sudoreplay.c:550 +#: plugins/sudoers/timestamp.c:298 plugins/sudoers/timestamp.c:301 +#, c-format +msgid "unable to write to %s" +msgstr "no se puede escribir en %s" + +#: plugins/sudoers/iolog.c:342 plugins/sudoers/iolog.c:540 +#, c-format +msgid "unable to create %s" +msgstr "" + +#: plugins/sudoers/ldap.c:428 +msgid "sudo_ldap_conf_add_ports: port too large" +msgstr "" + +#: plugins/sudoers/ldap.c:488 +#, c-format +msgid "unsupported LDAP uri type: %s" +msgstr "" + +#: plugins/sudoers/ldap.c:515 +msgid "unable to mix ldap and ldaps URIs" +msgstr "" + +#: plugins/sudoers/ldap.c:519 plugins/sudoers/ldap.c:555 +msgid "starttls not supported when using ldaps" +msgstr "" + +#: plugins/sudoers/ldap.c:626 +#, c-format +msgid "unable to initialize SSL cert and key db: %s" +msgstr "" + +#: plugins/sudoers/ldap.c:629 +#, c-format +msgid "you must set TLS_CERT in %s to use SSL" +msgstr "" + +#: plugins/sudoers/ldap.c:1138 +msgid "unable to get GMT time" +msgstr "" + +#: plugins/sudoers/ldap.c:1144 +msgid "unable to format timestamp" +msgstr "" + +#: plugins/sudoers/ldap.c:1830 +#, c-format +msgid "%s: %s: %s: %s" +msgstr "" + +#: plugins/sudoers/ldap.c:2372 +#, c-format +msgid "" +"\n" +"LDAP Role: %s\n" +msgstr "" + +#: plugins/sudoers/ldap.c:2374 +#, c-format +msgid "" +"\n" +"LDAP Role: UNKNOWN\n" +msgstr "" + +#: plugins/sudoers/ldap.c:2421 +#, c-format +msgid " Order: %s\n" +msgstr "" + +#: plugins/sudoers/ldap.c:2429 plugins/sudoers/parse.c:555 +#: plugins/sudoers/sssd.c:1417 +#, c-format +msgid " Commands:\n" +msgstr "" + +#: plugins/sudoers/ldap.c:2993 +#, c-format +msgid "unable to initialize LDAP: %s" +msgstr "" + +#: plugins/sudoers/ldap.c:3029 +msgid "start_tls specified but LDAP libs do not support ldap_start_tls_s() or ldap_start_tls_s_np()" +msgstr "" + +#: plugins/sudoers/ldap.c:3286 +#, c-format +msgid "invalid sudoOrder attribute: %s" +msgstr "" + +#: plugins/sudoers/linux_audit.c:52 +msgid "unable to open audit system" +msgstr "no se puede de abrir el sistema de auditoría" + +#: plugins/sudoers/linux_audit.c:93 +msgid "unable to send audit message" +msgstr "no se puede enviar mensaje de auditoría" + +#: plugins/sudoers/logging.c:106 +#, c-format +msgid "%8s : %s" +msgstr "" + +#: plugins/sudoers/logging.c:134 +#, c-format +msgid "%8s : (command continued) %s" +msgstr "" + +#: plugins/sudoers/logging.c:159 +#, c-format +msgid "unable to open log file: %s: %s" +msgstr "" + +#: plugins/sudoers/logging.c:162 +#, c-format +msgid "unable to lock log file: %s: %s" +msgstr "" + +#: plugins/sudoers/logging.c:211 +msgid "No user or host" +msgstr "" + +#: plugins/sudoers/logging.c:213 +msgid "validation failure" +msgstr "" + +#: plugins/sudoers/logging.c:220 +msgid "user NOT in sudoers" +msgstr "" + +#: plugins/sudoers/logging.c:222 +msgid "user NOT authorized on host" +msgstr "" + +#: plugins/sudoers/logging.c:224 +msgid "command not allowed" +msgstr "" + +#: plugins/sudoers/logging.c:259 +#, c-format +msgid "%s is not in the sudoers file. This incident will be reported.\n" +msgstr "" + +#: plugins/sudoers/logging.c:262 +#, c-format +msgid "%s is not allowed to run sudo on %s. This incident will be reported.\n" +msgstr "" + +#: plugins/sudoers/logging.c:266 +#, c-format +msgid "Sorry, user %s may not run sudo on %s.\n" +msgstr "" + +#: plugins/sudoers/logging.c:269 +#, c-format +msgid "Sorry, user %s is not allowed to execute '%s%s%s' as %s%s%s on %s.\n" +msgstr "" + +#: plugins/sudoers/logging.c:306 plugins/sudoers/sudoers.c:471 +#: plugins/sudoers/sudoers.c:473 plugins/sudoers/sudoers.c:475 +#: plugins/sudoers/sudoers.c:477 plugins/sudoers/sudoers.c:1222 +#: plugins/sudoers/sudoers.c:1224 +#, c-format +msgid "%s: command not found" +msgstr "" + +#: plugins/sudoers/logging.c:308 plugins/sudoers/sudoers.c:467 +#, c-format +msgid "" +"ignoring `%s' found in '.'\n" +"Use `sudo ./%s' if this is the `%s' you wish to run." +msgstr "" + +#: plugins/sudoers/logging.c:325 +msgid "authentication failure" +msgstr "" + +#: plugins/sudoers/logging.c:351 +msgid "a password is required" +msgstr "" + +#: plugins/sudoers/logging.c:422 plugins/sudoers/logging.c:484 +#, c-format +msgid "%u incorrect password attempt" +msgid_plural "%u incorrect password attempts" +msgstr[0] "" +msgstr[1] "" + +#: plugins/sudoers/logging.c:572 +msgid "unable to fork" +msgstr "no se puede bifurcar" + +#: plugins/sudoers/logging.c:580 plugins/sudoers/logging.c:640 +#, c-format +msgid "unable to fork: %m" +msgstr "" + +#: plugins/sudoers/logging.c:630 +#, c-format +msgid "unable to open pipe: %m" +msgstr "" + +#: plugins/sudoers/logging.c:655 +#, c-format +msgid "unable to dup stdin: %m" +msgstr "" + +#: plugins/sudoers/logging.c:693 +#, c-format +msgid "unable to execute %s: %m" +msgstr "" + +#: plugins/sudoers/match.c:606 +#, c-format +msgid "unsupported digest type %d for %s" +msgstr "Tipo de compendio %d no soportado para %s" + +#: plugins/sudoers/match.c:639 +#, c-format +msgid "%s: read error" +msgstr "" + +#: plugins/sudoers/match.c:653 +#, c-format +msgid "digest for %s (%s) is not in %s form" +msgstr "compendio para %s (%s) no está en la forma %s" + +#: plugins/sudoers/parse.c:114 +#, c-format +msgid "parse error in %s near line %d" +msgstr "" + +#: plugins/sudoers/parse.c:117 +#, c-format +msgid "parse error in %s" +msgstr "" + +#: plugins/sudoers/parse.c:502 +#, c-format +msgid "" +"\n" +"Sudoers entry:\n" +msgstr "" + +#: plugins/sudoers/parse.c:503 +#, c-format +msgid " RunAsUsers: " +msgstr "" + +#: plugins/sudoers/parse.c:517 +#, c-format +msgid " RunAsGroups: " +msgstr "" + +#: plugins/sudoers/parse.c:526 +#, c-format +msgid " Options: " +msgstr "" + +#: plugins/sudoers/policy.c:240 plugins/sudoers/testsudoers.c:253 +msgid "unable to parse network address list" +msgstr "" + +#: plugins/sudoers/policy.c:640 plugins/sudoers/visudo.c:840 +#, c-format +msgid "unable to execute %s" +msgstr "no se puede ejecutar %s" + +#: plugins/sudoers/policy.c:773 +#, c-format +msgid "Sudoers policy plugin version %s\n" +msgstr "" + +#: plugins/sudoers/policy.c:775 +#, c-format +msgid "Sudoers file grammar version %d\n" +msgstr "" + +#: plugins/sudoers/policy.c:779 +#, c-format +msgid "" +"\n" +"Sudoers path: %s\n" +msgstr "" + +#: plugins/sudoers/policy.c:782 +#, c-format +msgid "nsswitch path: %s\n" +msgstr "" + +#: plugins/sudoers/policy.c:784 +#, c-format +msgid "ldap.conf path: %s\n" +msgstr "" + +#: plugins/sudoers/policy.c:785 +#, c-format +msgid "ldap.secret path: %s\n" +msgstr "" + +#: plugins/sudoers/policy.c:818 +#, c-format +msgid "unable to register hook of type %d (version %d.%d)" +msgstr "" + +#: plugins/sudoers/pwutil.c:136 plugins/sudoers/pwutil.c:153 +#, c-format +msgid "unable to cache uid %u, out of memory" +msgstr "" + +#: plugins/sudoers/pwutil.c:147 +#, c-format +msgid "unable to cache uid %u, already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:191 plugins/sudoers/pwutil.c:207 +#: plugins/sudoers/pwutil.c:250 plugins/sudoers/pwutil.c:294 +#, c-format +msgid "unable to cache user %s, out of memory" +msgstr "" + +#: plugins/sudoers/pwutil.c:202 +#, c-format +msgid "unable to cache user %s, already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:427 plugins/sudoers/pwutil.c:444 +#, c-format +msgid "unable to cache gid %u, out of memory" +msgstr "" + +#: plugins/sudoers/pwutil.c:438 +#, c-format +msgid "unable to cache gid %u, already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:476 plugins/sudoers/pwutil.c:492 +#: plugins/sudoers/pwutil.c:524 plugins/sudoers/pwutil.c:565 +#, c-format +msgid "unable to cache group %s, out of memory" +msgstr "" + +#: plugins/sudoers/pwutil.c:487 +#, c-format +msgid "unable to cache group %s, already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:676 plugins/sudoers/pwutil.c:710 +#, c-format +msgid "unable to cache group list for %s, already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:682 plugins/sudoers/pwutil.c:715 +#, c-format +msgid "unable to cache group list for %s, out of memory" +msgstr "" + +#: plugins/sudoers/pwutil.c:705 +#, c-format +msgid "unable to parse groups for %s" +msgstr "" + +#: plugins/sudoers/set_perms.c:113 plugins/sudoers/set_perms.c:438 +#: plugins/sudoers/set_perms.c:841 plugins/sudoers/set_perms.c:1138 +#: plugins/sudoers/set_perms.c:1430 +msgid "perm stack overflow" +msgstr "" + +#: plugins/sudoers/set_perms.c:121 plugins/sudoers/set_perms.c:369 +#: plugins/sudoers/set_perms.c:446 plugins/sudoers/set_perms.c:708 +#: plugins/sudoers/set_perms.c:849 plugins/sudoers/set_perms.c:1067 +#: plugins/sudoers/set_perms.c:1146 plugins/sudoers/set_perms.c:1363 +#: plugins/sudoers/set_perms.c:1438 plugins/sudoers/set_perms.c:1527 +msgid "perm stack underflow" +msgstr "" + +#: plugins/sudoers/set_perms.c:180 plugins/sudoers/set_perms.c:493 +#: plugins/sudoers/set_perms.c:1197 plugins/sudoers/set_perms.c:1470 +msgid "unable to change to root gid" +msgstr "" + +#: plugins/sudoers/set_perms.c:269 plugins/sudoers/set_perms.c:590 +#: plugins/sudoers/set_perms.c:978 plugins/sudoers/set_perms.c:1274 +msgid "unable to change to runas gid" +msgstr "" + +#: plugins/sudoers/set_perms.c:274 plugins/sudoers/set_perms.c:595 +#: plugins/sudoers/set_perms.c:983 plugins/sudoers/set_perms.c:1279 +msgid "unable to set runas group vector" +msgstr "" + +#: plugins/sudoers/set_perms.c:285 plugins/sudoers/set_perms.c:606 +#: plugins/sudoers/set_perms.c:992 plugins/sudoers/set_perms.c:1288 +msgid "unable to change to runas uid" +msgstr "" + +#: plugins/sudoers/set_perms.c:303 plugins/sudoers/set_perms.c:624 +#: plugins/sudoers/set_perms.c:1008 plugins/sudoers/set_perms.c:1304 +msgid "unable to change to sudoers gid" +msgstr "" + +#: plugins/sudoers/set_perms.c:356 plugins/sudoers/set_perms.c:695 +#: plugins/sudoers/set_perms.c:1054 plugins/sudoers/set_perms.c:1350 +#: plugins/sudoers/set_perms.c:1514 +msgid "too many processes" +msgstr "" + +#: plugins/sudoers/solaris_audit.c:51 +msgid "unable to get current working directory" +msgstr "" + +#: plugins/sudoers/solaris_audit.c:59 +#, c-format +msgid "truncated audit path user_cmnd: %s" +msgstr "" + +#: plugins/sudoers/solaris_audit.c:66 +#, c-format +msgid "truncated audit path argv[0]: %s" +msgstr "" + +#: plugins/sudoers/solaris_audit.c:115 +msgid "audit_failure message too long" +msgstr "" + +#: plugins/sudoers/sssd.c:333 +msgid "unable to initialize SSS source. Is SSSD installed on your machine?" +msgstr "" + +#: plugins/sudoers/sssd.c:341 plugins/sudoers/sssd.c:350 +#: plugins/sudoers/sssd.c:359 plugins/sudoers/sssd.c:368 +#: plugins/sudoers/sssd.c:377 +#, c-format +msgid "unable to find symbol \"%s\" in %s" +msgstr "" + +#: plugins/sudoers/sudo_nss.c:290 +#, c-format +msgid "Matching Defaults entries for %s on %s:\n" +msgstr "" + +#: plugins/sudoers/sudo_nss.c:308 +#, c-format +msgid "Runas and Command-specific defaults for %s:\n" +msgstr "" + +#: plugins/sudoers/sudo_nss.c:326 +#, c-format +msgid "User %s may run the following commands on %s:\n" +msgstr "" + +#: plugins/sudoers/sudo_nss.c:339 +#, c-format +msgid "User %s is not allowed to run sudo on %s.\n" +msgstr "" + +#: plugins/sudoers/sudoers.c:172 plugins/sudoers/testsudoers.c:245 +#: plugins/sudoers/visudo.c:223 plugins/sudoers/visudo.c:566 +msgid "unable to initialize sudoers default values" +msgstr "" + +#: plugins/sudoers/sudoers.c:197 plugins/sudoers/sudoers.c:239 +#: plugins/sudoers/sudoers.c:833 +msgid "problem with defaults entries" +msgstr "" + +#: plugins/sudoers/sudoers.c:205 +msgid "no valid sudoers sources found, quitting" +msgstr "" + +#: plugins/sudoers/sudoers.c:275 +msgid "sudoers specifies that root is not allowed to sudo" +msgstr "" + +#: plugins/sudoers/sudoers.c:332 +msgid "you are not permitted to use the -C option" +msgstr "" + +#: plugins/sudoers/sudoers.c:396 +#, c-format +msgid "timestamp owner (%s): No such user" +msgstr "" + +#: plugins/sudoers/sudoers.c:410 +msgid "no tty" +msgstr "" + +#: plugins/sudoers/sudoers.c:411 +msgid "sorry, you must have a tty to run sudo" +msgstr "" + +#: plugins/sudoers/sudoers.c:466 +msgid "command in current directory" +msgstr "" + +#: plugins/sudoers/sudoers.c:486 +msgid "sorry, you are not allowed to preserve the environment" +msgstr "" + +#: plugins/sudoers/sudoers.c:778 +msgid "command too long" +msgstr "" + +#: plugins/sudoers/sudoers.c:886 plugins/sudoers/visudo.c:426 +#: plugins/sudoers/visudo.c:666 +#, c-format +msgid "unable to stat %s" +msgstr "" + +#: plugins/sudoers/sudoers.c:890 +#, c-format +msgid "%s is not a regular file" +msgstr "" + +#: plugins/sudoers/sudoers.c:894 plugins/sudoers/timestamp.c:225 toke.l:947 +#, c-format +msgid "%s is owned by uid %u, should be %u" +msgstr "" + +#: plugins/sudoers/sudoers.c:898 toke.l:954 +#, c-format +msgid "%s is world writable" +msgstr "" + +#: plugins/sudoers/sudoers.c:902 toke.l:959 +#, c-format +msgid "%s is owned by gid %u, should be %u" +msgstr "" + +#: plugins/sudoers/sudoers.c:933 +#, c-format +msgid "only root can use `-c %s'" +msgstr "" + +#: plugins/sudoers/sudoers.c:952 +#, c-format +msgid "unknown login class: %s" +msgstr "" + +#: plugins/sudoers/sudoers.c:1031 plugins/sudoers/sudoers.c:1059 +#, c-format +msgid "unable to resolve host %s" +msgstr "" + +#: plugins/sudoers/sudoers.c:1126 plugins/sudoers/testsudoers.c:385 +#, c-format +msgid "unknown group: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:232 +#, c-format +msgid "invalid filter option: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:245 +#, c-format +msgid "invalid max wait: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:251 +#, c-format +msgid "invalid speed factor: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:254 plugins/sudoers/visudo.c:180 +#, c-format +msgid "%s version %s\n" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:286 +#, c-format +msgid "%s/%.2s/%.2s/%.2s/timing: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:292 +#, c-format +msgid "%s/%s/timing: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:308 +#, c-format +msgid "Replaying sudo session: %s\n" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:314 +#, c-format +msgid "Warning: your terminal is too small to properly replay the log.\n" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:315 +#, c-format +msgid "Log geometry is %d x %d, your terminal's geometry is %d x %d." +msgstr "" + +#: plugins/sudoers/sudoreplay.c:368 +msgid "unable to set tty to raw mode" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:401 +#, c-format +msgid "invalid timing file line: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:611 plugins/sudoers/sudoreplay.c:636 +#, c-format +msgid "ambiguous expression \"%s\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:658 +msgid "unmatched ')' in expression" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:662 +#, c-format +msgid "unknown search term \"%s\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:677 +#, c-format +msgid "%s requires an argument" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:680 plugins/sudoers/sudoreplay.c:1060 +#, c-format +msgid "invalid regular expression: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:684 +#, c-format +msgid "could not parse date \"%s\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:693 +msgid "unmatched '(' in expression" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:695 +msgid "illegal trailing \"or\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:697 +msgid "illegal trailing \"!\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:746 +#, c-format +msgid "unknown search type %d" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:784 +#, c-format +msgid "%s: invalid log file" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:802 +#, c-format +msgid "%s: time stamp field is missing" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:809 +#, c-format +msgid "%s: time stamp %s: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:816 +#, c-format +msgid "%s: user field is missing" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:825 +#, c-format +msgid "%s: runas user field is missing" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:834 +#, c-format +msgid "%s: runas group field is missing" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1197 +#, c-format +msgid "usage: %s [-h] [-d dir] [-m num] [-s num] ID\n" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1200 +#, c-format +msgid "usage: %s [-h] [-d dir] -l [search expression]\n" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1209 +#, c-format +msgid "" +"%s - replay sudo session logs\n" +"\n" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1211 +msgid "" +"\n" +"Options:\n" +" -d, --directory=dir specify directory for session logs\n" +" -f, --filter=filter specify which I/O type(s) to display\n" +" -h, --help display help message and exit\n" +" -l, --list list available session IDs, with optional expression\n" +" -m, --max-wait=num max number of seconds to wait between events\n" +" -s, --speed=num speed up or slow down output\n" +" -V, --version display version information and exit" +msgstr "" + +#: plugins/sudoers/testsudoers.c:324 +msgid "\thost unmatched" +msgstr "" + +#: plugins/sudoers/testsudoers.c:327 +msgid "" +"\n" +"Command allowed" +msgstr "" + +#: plugins/sudoers/testsudoers.c:328 +msgid "" +"\n" +"Command denied" +msgstr "" + +#: plugins/sudoers/testsudoers.c:328 +msgid "" +"\n" +"Command unmatched" +msgstr "" + +#: plugins/sudoers/timestamp.c:233 +#, c-format +msgid "%s is group writable" +msgstr "" + +#: plugins/sudoers/timestamp.c:309 +#, c-format +msgid "unable to truncate time stamp file to %lld bytes" +msgstr "" + +#: plugins/sudoers/timestamp.c:742 plugins/sudoers/timestamp.c:809 +#: plugins/sudoers/visudo.c:487 plugins/sudoers/visudo.c:493 +msgid "unable to read the clock" +msgstr "" + +#: plugins/sudoers/timestamp.c:756 +msgid "ignoring time stamp from the future" +msgstr "" + +#: plugins/sudoers/timestamp.c:768 +#, c-format +msgid "time stamp too far in the future: %20.20s" +msgstr "" + +#: plugins/sudoers/timestamp.c:863 +#, c-format +msgid "unable to lock time stamp file %s" +msgstr "" + +#: plugins/sudoers/timestamp.c:906 plugins/sudoers/timestamp.c:926 +#, c-format +msgid "lecture status path too long: %s/%s" +msgstr "" + +#: plugins/sudoers/visudo.c:182 +#, c-format +msgid "%s grammar version %d\n" +msgstr "" + +#: plugins/sudoers/visudo.c:254 plugins/sudoers/visudo.c:618 +#, c-format +msgid "press return to edit %s: " +msgstr "" + +#: plugins/sudoers/visudo.c:319 +#, c-format +msgid "specified editor (%s) doesn't exist" +msgstr "" + +#: plugins/sudoers/visudo.c:337 +#, c-format +msgid "no editor found (editor path = %s)" +msgstr "" + +#: plugins/sudoers/visudo.c:446 plugins/sudoers/visudo.c:454 +msgid "write error" +msgstr "" + +#: plugins/sudoers/visudo.c:500 +#, c-format +msgid "unable to stat temporary file (%s), %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:507 +#, c-format +msgid "zero length temporary file (%s), %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:513 +#, c-format +msgid "editor (%s) failed, %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:535 +#, c-format +msgid "%s unchanged" +msgstr "%s sin cambios" + +#: plugins/sudoers/visudo.c:561 +#, c-format +msgid "unable to re-open temporary file (%s), %s unchanged." +msgstr "" + +#: plugins/sudoers/visudo.c:572 +#, c-format +msgid "unabled to parse temporary file (%s), unknown error" +msgstr "" + +#: plugins/sudoers/visudo.c:609 +#, c-format +msgid "internal error, unable to find %s in list!" +msgstr "" + +#: plugins/sudoers/visudo.c:668 plugins/sudoers/visudo.c:677 +#, c-format +msgid "unable to set (uid, gid) of %s to (%u, %u)" +msgstr "" + +#: plugins/sudoers/visudo.c:672 plugins/sudoers/visudo.c:682 +#, c-format +msgid "unable to change mode of %s to 0%o" +msgstr "" + +#: plugins/sudoers/visudo.c:699 +#, c-format +msgid "%s and %s not on the same file system, using mv to rename" +msgstr "" + +#: plugins/sudoers/visudo.c:713 +#, c-format +msgid "command failed: '%s %s %s', %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:723 +#, c-format +msgid "error renaming %s, %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:785 +msgid "What now? " +msgstr "" + +#: plugins/sudoers/visudo.c:799 +msgid "" +"Options are:\n" +" (e)dit sudoers file again\n" +" e(x)it without saving changes to sudoers file\n" +" (Q)uit and save changes to sudoers file (DANGER!)\n" +msgstr "" + +#: plugins/sudoers/visudo.c:847 +#, c-format +msgid "unable to run %s" +msgstr "no se puede ejecutar %s" + +#: plugins/sudoers/visudo.c:877 +#, c-format +msgid "%s: wrong owner (uid, gid) should be (%u, %u)\n" +msgstr "" + +#: plugins/sudoers/visudo.c:884 +#, c-format +msgid "%s: bad permissions, should be mode 0%o\n" +msgstr "" + +#: plugins/sudoers/visudo.c:909 plugins/sudoers/visudo_json.c:1032 +#, c-format +msgid "failed to parse %s file, unknown error" +msgstr "" + +#: plugins/sudoers/visudo.c:925 plugins/sudoers/visudo_json.c:1041 +#, c-format +msgid "parse error in %s near line %d\n" +msgstr "" + +#: plugins/sudoers/visudo.c:928 plugins/sudoers/visudo_json.c:1044 +#, c-format +msgid "parse error in %s\n" +msgstr "" + +#: plugins/sudoers/visudo.c:936 plugins/sudoers/visudo.c:943 +#, c-format +msgid "%s: parsed OK\n" +msgstr "" + +#: plugins/sudoers/visudo.c:990 +#, c-format +msgid "%s busy, try again later" +msgstr "" + +#: plugins/sudoers/visudo.c:1086 +#, c-format +msgid "Error: cycle in %s `%s'" +msgstr "" + +#: plugins/sudoers/visudo.c:1087 +#, c-format +msgid "Warning: cycle in %s `%s'" +msgstr "" + +#: plugins/sudoers/visudo.c:1091 +#, c-format +msgid "Error: %s `%s' referenced but not defined" +msgstr "" + +#: plugins/sudoers/visudo.c:1092 +#, c-format +msgid "Warning: %s `%s' referenced but not defined" +msgstr "" + +#: plugins/sudoers/visudo.c:1235 +#, c-format +msgid "Warning: unused %s `%s'" +msgstr "" + +#: plugins/sudoers/visudo.c:1348 +#, c-format +msgid "" +"%s - safely edit the sudoers file\n" +"\n" +msgstr "" + +#: plugins/sudoers/visudo.c:1350 +msgid "" +"\n" +"Options:\n" +" -c, --check check-only mode\n" +" -f, --file=sudoers specify sudoers file location\n" +" -h, --help display help message and exit\n" +" -q, --quiet less verbose (quiet) syntax error messages\n" +" -s, --strict strict syntax checking\n" +" -V, --version display version information and exit\n" +" -x, --export=output_file write sudoers in JSON format to output_file" +msgstr "" + +#: plugins/sudoers/visudo_json.c:1018 +#, c-format +msgid "%s: input and output files must be different" +msgstr "" + +#: toke.l:918 +msgid "too many levels of includes" +msgstr "" diff --git a/plugins/sudoers/po/eu.mo b/plugins/sudoers/po/eu.mo new file mode 100644 index 0000000..5220f12 Binary files /dev/null and b/plugins/sudoers/po/eu.mo differ diff --git a/plugins/sudoers/po/eu.po b/plugins/sudoers/po/eu.po new file mode 100644 index 0000000..6fa330e --- /dev/null +++ b/plugins/sudoers/po/eu.po @@ -0,0 +1,1679 @@ +# Basque translation of sudoers. +# Copyright (C) 2011 Free Software Foundation, Inc. +# This file is distributed under the same license as the sudo package. +# Mikel Olasagasti Uranga , 2011. +# +msgid "" +msgstr "" +"Project-Id-Version: sudoers-1.8.2-rc2\n" +"Report-Msgid-Bugs-To: http://www.sudo.ws/bugs\n" +"POT-Creation-Date: 2011-06-04 18:27-0400\n" +"PO-Revision-Date: 2011-06-06 19:15+0100\n" +"Last-Translator: Mikel Olasagasti Uranga \n" +"Language-Team: Basque \n" +"Language: \n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: plugins/sudoers/alias.c:122 +#, c-format +msgid "Alias `%s' already defined" +msgstr "`%s' alias-a lehendik ere definitua dago" + +#: plugins/sudoers/bsm_audit.c:58 plugins/sudoers/bsm_audit.c:61 +#: plugins/sudoers/bsm_audit.c:109 plugins/sudoers/bsm_audit.c:113 +#: plugins/sudoers/bsm_audit.c:163 plugins/sudoers/bsm_audit.c:167 +msgid "getaudit: failed" +msgstr "getaudit: huts egin du" + +#: plugins/sudoers/bsm_audit.c:87 plugins/sudoers/bsm_audit.c:148 +msgid "Could not determine audit condition" +msgstr "Ezin izan da auditoretza baldintza finkatu" + +#: plugins/sudoers/bsm_audit.c:98 +msgid "getauid failed" +msgstr "getauid-ek huts egin du" + +#: plugins/sudoers/bsm_audit.c:100 plugins/sudoers/bsm_audit.c:157 +msgid "au_open: failed" +msgstr "au_open: huts egin du" + +#: plugins/sudoers/bsm_audit.c:115 plugins/sudoers/bsm_audit.c:169 +msgid "au_to_subject: failed" +msgstr "au_to_subject: huts egin du" + +#: plugins/sudoers/bsm_audit.c:119 plugins/sudoers/bsm_audit.c:173 +msgid "au_to_exec_args: failed" +msgstr "au_to_exec_args: huts egin du" + +#: plugins/sudoers/bsm_audit.c:123 plugins/sudoers/bsm_audit.c:182 +msgid "au_to_return32: failed" +msgstr "au_to_return32: huts egin du" + +#: plugins/sudoers/bsm_audit.c:126 plugins/sudoers/bsm_audit.c:185 +msgid "unable to commit audit record" +msgstr "ezin da auditoretza sarrera gorde" + +#: plugins/sudoers/bsm_audit.c:155 +msgid "getauid: failed" +msgstr "getauid: huts egin du" + +#: plugins/sudoers/bsm_audit.c:178 +msgid "au_to_text: failed" +msgstr "au_to_text: huts egin du" + +#: plugins/sudoers/check.c:141 +#, c-format +msgid "sorry, a password is required to run %s" +msgstr "barkatu, pasahitz bat behar da %s abiarazteko" + +#: plugins/sudoers/check.c:225 plugins/sudoers/iolog.c:169 +#: plugins/sudoers/sudoers.c:939 plugins/sudoers/sudoreplay.c:325 +#: plugins/sudoers/sudoreplay.c:334 plugins/sudoers/sudoreplay.c:675 +#: plugins/sudoers/sudoreplay.c:767 plugins/sudoers/visudo.c:700 +#, c-format +msgid "unable to open %s" +msgstr "ezin da %s ireki" + +#: plugins/sudoers/check.c:229 plugins/sudoers/iolog.c:199 +#, c-format +msgid "unable to write to %s" +msgstr "ezin da %s-(e)ra idatzi" + +#: plugins/sudoers/check.c:237 plugins/sudoers/check.c:475 +#: plugins/sudoers/check.c:525 plugins/sudoers/iolog.c:122 +#: plugins/sudoers/iolog.c:153 +#, c-format +msgid "unable to mkdir %s" +msgstr "ezin da mkdir %s egin" + +#: plugins/sudoers/check.c:370 +#, c-format +msgid "internal error, expand_prompt() overflow" +msgstr "barne errorea, expand_prompt() overflow" + +#: plugins/sudoers/check.c:426 +#, c-format +msgid "timestamp path too long: %s" +msgstr "" + +#: plugins/sudoers/check.c:454 plugins/sudoers/check.c:498 +#: plugins/sudoers/iolog.c:155 +#, c-format +msgid "%s exists but is not a directory (0%o)" +msgstr "%s existitzen da baina ez da direktorio bat (0%o)" + +#: plugins/sudoers/check.c:457 plugins/sudoers/check.c:501 +#: plugins/sudoers/check.c:546 +#, c-format +msgid "%s owned by uid %u, should be uid %u" +msgstr "%s-(r)en jabea %u uid-a da, %u uid-a beharko luke" + +#: plugins/sudoers/check.c:462 plugins/sudoers/check.c:506 +#, c-format +msgid "%s writable by non-owner (0%o), should be mode 0700" +msgstr "" + +#: plugins/sudoers/check.c:470 plugins/sudoers/check.c:514 +#: plugins/sudoers/check.c:582 plugins/sudoers/sudoers.c:925 +#: plugins/sudoers/visudo.c:284 plugins/sudoers/visudo.c:500 +#, c-format +msgid "unable to stat %s" +msgstr "ezin da stat egin %s-(r)engan" + +#: plugins/sudoers/check.c:540 +#, c-format +msgid "%s exists but is not a regular file (0%o)" +msgstr "" + +#: plugins/sudoers/check.c:552 +#, c-format +msgid "%s writable by non-owner (0%o), should be mode 0600" +msgstr "" + +#: plugins/sudoers/check.c:606 +#, c-format +msgid "timestamp too far in the future: %20.20s" +msgstr "" + +#: plugins/sudoers/check.c:652 +#, c-format +msgid "unable to remove %s (%s), will reset to the epoch" +msgstr "" + +#: plugins/sudoers/check.c:659 +#, c-format +msgid "unable to reset %s to the epoch" +msgstr "" + +#: plugins/sudoers/check.c:713 plugins/sudoers/check.c:719 +#, c-format +msgid "unknown uid: %u" +msgstr "uid ezezaguna: %u" + +#: plugins/sudoers/check.c:716 plugins/sudoers/sudoers.c:736 +#: plugins/sudoers/sudoers.c:802 plugins/sudoers/sudoers.c:803 +#: plugins/sudoers/sudoers.c:1056 plugins/sudoers/sudoers.c:1057 +#: plugins/sudoers/testsudoers.c:200 plugins/sudoers/testsudoers.c:330 +#, c-format +msgid "unknown user: %s" +msgstr "erabiltzaile ezezaguna: %s" + +#: plugins/sudoers/def_data.c:27 +#, c-format +msgid "Syslog facility if syslog is being used for logging: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:31 +#, c-format +msgid "Syslog priority to use when user authenticates successfully: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:35 +#, c-format +msgid "Syslog priority to use when user authenticates unsuccessfully: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:39 +msgid "Put OTP prompt on its own line" +msgstr "" + +#: plugins/sudoers/def_data.c:43 +msgid "Ignore '.' in $PATH" +msgstr "" + +#: plugins/sudoers/def_data.c:47 +msgid "Always send mail when sudo is run" +msgstr "" + +#: plugins/sudoers/def_data.c:51 +msgid "Send mail if user authentication fails" +msgstr "" + +#: plugins/sudoers/def_data.c:55 +msgid "Send mail if the user is not in sudoers" +msgstr "" + +#: plugins/sudoers/def_data.c:59 +msgid "Send mail if the user is not in sudoers for this host" +msgstr "" + +#: plugins/sudoers/def_data.c:63 +msgid "Send mail if the user is not allowed to run a command" +msgstr "" + +#: plugins/sudoers/def_data.c:67 +msgid "Use a separate timestamp for each user/tty combo" +msgstr "" + +#: plugins/sudoers/def_data.c:71 +msgid "Lecture user the first time they run sudo" +msgstr "" + +#: plugins/sudoers/def_data.c:75 +#, c-format +msgid "File containing the sudo lecture: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:79 +msgid "Require users to authenticate by default" +msgstr "" + +#: plugins/sudoers/def_data.c:83 +msgid "Root may run sudo" +msgstr "root-ek sudo abiarizi lezake" + +#: plugins/sudoers/def_data.c:87 +msgid "Log the hostname in the (non-syslog) log file" +msgstr "" + +#: plugins/sudoers/def_data.c:91 +msgid "Log the year in the (non-syslog) log file" +msgstr "" + +#: plugins/sudoers/def_data.c:95 +msgid "If sudo is invoked with no arguments, start a shell" +msgstr "" + +#: plugins/sudoers/def_data.c:99 +msgid "Set $HOME to the target user when starting a shell with -s" +msgstr "" + +#: plugins/sudoers/def_data.c:103 +msgid "Always set $HOME to the target user's home directory" +msgstr "" + +#: plugins/sudoers/def_data.c:107 +msgid "Allow some information gathering to give useful error messages" +msgstr "" + +#: plugins/sudoers/def_data.c:111 +msgid "Require fully-qualified hostnames in the sudoers file" +msgstr "" + +#: plugins/sudoers/def_data.c:115 +msgid "Insult the user when they enter an incorrect password" +msgstr "" + +#: plugins/sudoers/def_data.c:119 +msgid "Only allow the user to run sudo if they have a tty" +msgstr "" + +#: plugins/sudoers/def_data.c:123 +msgid "Visudo will honor the EDITOR environment variable" +msgstr "Visudo-k EDITOR ingurune aldagaia erabiliko du" + +#: plugins/sudoers/def_data.c:127 +msgid "Prompt for root's password, not the users's" +msgstr "" + +#: plugins/sudoers/def_data.c:131 +msgid "Prompt for the runas_default user's password, not the users's" +msgstr "" + +#: plugins/sudoers/def_data.c:135 +msgid "Prompt for the target user's password, not the users's" +msgstr "" + +#: plugins/sudoers/def_data.c:139 +msgid "Apply defaults in the target user's login class if there is one" +msgstr "" + +#: plugins/sudoers/def_data.c:143 +msgid "Set the LOGNAME and USER environment variables" +msgstr "" + +#: plugins/sudoers/def_data.c:147 +msgid "Only set the effective uid to the target user, not the real uid" +msgstr "" + +#: plugins/sudoers/def_data.c:151 +msgid "Don't initialize the group vector to that of the target user" +msgstr "" + +#: plugins/sudoers/def_data.c:155 +#, c-format +msgid "Length at which to wrap log file lines (0 for no wrap): %d" +msgstr "" + +#: plugins/sudoers/def_data.c:159 +#, c-format +msgid "Authentication timestamp timeout: %.1f minutes" +msgstr "" + +#: plugins/sudoers/def_data.c:163 +#, c-format +msgid "Password prompt timeout: %.1f minutes" +msgstr "" + +#: plugins/sudoers/def_data.c:167 +#, c-format +msgid "Number of tries to enter a password: %d" +msgstr "" + +#: plugins/sudoers/def_data.c:171 +#, c-format +msgid "Umask to use or 0777 to use user's: 0%o" +msgstr "" + +#: plugins/sudoers/def_data.c:175 +#, c-format +msgid "Path to log file: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:179 +#, c-format +msgid "Path to mail program: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:183 +#, c-format +msgid "Flags for mail program: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:187 +#, c-format +msgid "Address to send mail to: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:191 +#, c-format +msgid "Address to send mail from: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:195 +#, c-format +msgid "Subject line for mail messages: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:199 +#, c-format +msgid "Incorrect password message: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:203 +#, c-format +msgid "Path to authentication timestamp dir: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:207 +#, c-format +msgid "Owner of the authentication timestamp dir: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:211 +#, c-format +msgid "Users in this group are exempt from password and PATH requirements: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:215 +#, c-format +msgid "Default password prompt: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:219 +msgid "If set, passprompt will override system prompt in all cases." +msgstr "" + +#: plugins/sudoers/def_data.c:223 +#, c-format +msgid "Default user to run commands as: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:227 +#, c-format +msgid "Value to override user's $PATH with: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:231 +#, c-format +msgid "Path to the editor for use by visudo: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:235 +#, c-format +msgid "When to require a password for 'list' pseudocommand: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:239 +#, c-format +msgid "When to require a password for 'verify' pseudocommand: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:243 +msgid "Preload the dummy exec functions contained in 'noexec_file'" +msgstr "" + +#: plugins/sudoers/def_data.c:247 +#, c-format +msgid "File containing dummy exec functions: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:251 +msgid "If LDAP directory is up, do we ignore local sudoers file" +msgstr "" + +#: plugins/sudoers/def_data.c:255 +#, c-format +msgid "File descriptors >= %d will be closed before executing a command" +msgstr "" + +#: plugins/sudoers/def_data.c:259 +msgid "If set, users may override the value of `closefrom' with the -C option" +msgstr "" + +#: plugins/sudoers/def_data.c:263 +msgid "Allow users to set arbitrary environment variables" +msgstr "" + +#: plugins/sudoers/def_data.c:267 +msgid "Reset the environment to a default set of variables" +msgstr "" + +#: plugins/sudoers/def_data.c:271 +msgid "Environment variables to check for sanity:" +msgstr "" + +#: plugins/sudoers/def_data.c:275 +msgid "Environment variables to remove:" +msgstr "" + +#: plugins/sudoers/def_data.c:279 +msgid "Environment variables to preserve:" +msgstr "" + +#: plugins/sudoers/def_data.c:283 +#, c-format +msgid "SELinux role to use in the new security context: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:287 +#, c-format +msgid "SELinux type to use in the new security context: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:291 +#, c-format +msgid "Path to the sudo-specific environment file: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:295 +#, c-format +msgid "Locale to use while parsing sudoers: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:299 +msgid "Allow sudo to prompt for a password even if it would be visisble" +msgstr "" + +#: plugins/sudoers/def_data.c:303 +msgid "Provide visual feedback at the password prompt when there is user input" +msgstr "" + +#: plugins/sudoers/def_data.c:307 +msgid "Use faster globbing that is less accurate but does not access the filesystem" +msgstr "" + +#: plugins/sudoers/def_data.c:311 +msgid "The umask specified in sudoers will override the user's, even if it is more permissive" +msgstr "" + +#: plugins/sudoers/def_data.c:315 +msgid "Log user's input for the command being run" +msgstr "" + +#: plugins/sudoers/def_data.c:319 +msgid "Log the output of the command being run" +msgstr "" + +#: plugins/sudoers/def_data.c:323 +msgid "Compress I/O logs using zlib" +msgstr "Trinkotu S/E gertaerak zlib erabiliz" + +#: plugins/sudoers/def_data.c:327 +msgid "Always run commands in a pseudo-tty" +msgstr "" + +#: plugins/sudoers/def_data.c:331 +msgid "Plugin for non-Unix group support" +msgstr "" + +#: plugins/sudoers/def_data.c:335 +msgid "Directory in which to store input/output logs" +msgstr "" + +#: plugins/sudoers/def_data.c:339 +msgid "File in which to store the input/output log" +msgstr "" + +#: plugins/sudoers/def_data.c:343 +msgid "Add an entry to the utmp/utmpx file when allocating a pty" +msgstr "" + +#: plugins/sudoers/def_data.c:347 +msgid "Set the user in utmp to the runas user, not the invoking user" +msgstr "" + +#: plugins/sudoers/defaults.c:197 +msgid "" +"Available options in a sudoers ``Defaults'' line:\n" +"\n" +msgstr "" + +#: plugins/sudoers/defaults.c:204 plugins/sudoers/defaults.c:215 +#, c-format +msgid "%s: %s\n" +msgstr "%s: %s\n" + +#: plugins/sudoers/defaults.c:211 +#, c-format +msgid "%s: %.*s\n" +msgstr "%s: %.*s\n" + +#: plugins/sudoers/defaults.c:241 +#, c-format +msgid "unknown defaults entry `%s'" +msgstr "" + +#: plugins/sudoers/defaults.c:249 plugins/sudoers/defaults.c:259 +#: plugins/sudoers/defaults.c:279 plugins/sudoers/defaults.c:292 +#: plugins/sudoers/defaults.c:305 plugins/sudoers/defaults.c:318 +#: plugins/sudoers/defaults.c:331 plugins/sudoers/defaults.c:351 +#: plugins/sudoers/defaults.c:361 +#, c-format +msgid "value `%s' is invalid for option `%s'" +msgstr "`%s' balorea baliogabea da `%s' aukerarentzat" + +#: plugins/sudoers/defaults.c:252 plugins/sudoers/defaults.c:262 +#: plugins/sudoers/defaults.c:270 plugins/sudoers/defaults.c:287 +#: plugins/sudoers/defaults.c:300 plugins/sudoers/defaults.c:313 +#: plugins/sudoers/defaults.c:326 plugins/sudoers/defaults.c:346 +#: plugins/sudoers/defaults.c:357 +#, c-format +msgid "no value specified for `%s'" +msgstr "ez da baliorik ezarri `%s'-(r)entzat" + +#: plugins/sudoers/defaults.c:275 +#, c-format +msgid "values for `%s' must start with a '/'" +msgstr "" + +#: plugins/sudoers/defaults.c:337 +#, c-format +msgid "option `%s' does not take a value" +msgstr "" + +#: plugins/sudoers/env.c:259 +#, c-format +msgid "internal error, sudo_setenv() overflow" +msgstr "" + +#: plugins/sudoers/env.c:289 +#, c-format +msgid "sudo_putenv: corrupted envp, length mismatch" +msgstr "" + +#: plugins/sudoers/env.c:694 +#, c-format +msgid "sorry, you are not allowed to set the following environment variables: %s" +msgstr "" + +#: plugins/sudoers/find_path.c:68 plugins/sudoers/find_path.c:107 +#: plugins/sudoers/find_path.c:122 plugins/sudoers/iolog.c:124 +#: plugins/sudoers/sudoers.c:868 toke.l:663 toke.l:814 +#, c-format +msgid "%s: %s" +msgstr "%s: %s" + +#: gram.y:103 +#, c-format +msgid ">>> %s: %s near line %d <<<" +msgstr "" + +#: plugins/sudoers/group_plugin.c:91 +#, c-format +msgid "%s%s: %s" +msgstr "%s%s: %s" + +#: plugins/sudoers/group_plugin.c:103 +#, c-format +msgid "%s must be owned by uid %d" +msgstr "" + +#: plugins/sudoers/group_plugin.c:107 +#, c-format +msgid "%s must only be writable by owner" +msgstr "" + +#: plugins/sudoers/group_plugin.c:114 +#, c-format +msgid "unable to dlopen %s: %s" +msgstr "" + +#: plugins/sudoers/group_plugin.c:119 +#, c-format +msgid "unable to find symbol \"group_plugin\" in %s" +msgstr "" + +#: plugins/sudoers/group_plugin.c:124 +#, c-format +msgid "%s: incompatible group plugin major version %d, expected %d" +msgstr "" + +#: plugins/sudoers/interfaces.c:109 +msgid "Local IP address and netmask pairs:\n" +msgstr "" + +#: plugins/sudoers/iolog.c:176 plugins/sudoers/sudoers.c:946 +#, c-format +msgid "unable to read %s" +msgstr "ezin da %s irakurri" + +#: plugins/sudoers/iolog.c:179 +#, c-format +msgid "invalid sequence number %s" +msgstr "" + +#: plugins/sudoers/iolog.c:225 plugins/sudoers/iolog.c:228 +#: plugins/sudoers/iolog.c:478 plugins/sudoers/iolog.c:483 +#: plugins/sudoers/iolog.c:489 plugins/sudoers/iolog.c:497 +#: plugins/sudoers/iolog.c:505 plugins/sudoers/iolog.c:513 +#: plugins/sudoers/iolog.c:521 +#, c-format +msgid "unable to create %s" +msgstr "ezin da %s sortu" + +#: plugins/sudoers/iolog_path.c:245 plugins/sudoers/sudoers.c:361 +#, c-format +msgid "unable to set locale to \"%s\", using \"C\"" +msgstr "" + +#: plugins/sudoers/ldap.c:363 +#, c-format +msgid "sudo_ldap_conf_add_ports: port too large" +msgstr "sudo_ldap_conf_add_ports: port too large" + +#: plugins/sudoers/ldap.c:386 +#, c-format +msgid "sudo_ldap_conf_add_ports: out of space expanding hostbuf" +msgstr "sudo_ldap_conf_add_ports: out of space expanding hostbuf" + +#: plugins/sudoers/ldap.c:415 +#, c-format +msgid "unsupported LDAP uri type: %s" +msgstr "" + +#: plugins/sudoers/ldap.c:444 +#, c-format +msgid "invalid uri: %s" +msgstr "baliogabeko uri-a: %s" + +#: plugins/sudoers/ldap.c:450 +#, c-format +msgid "unable to mix ldap and ldaps URIs" +msgstr "" + +#: plugins/sudoers/ldap.c:454 +#, c-format +msgid "unable to mix ldaps and starttls" +msgstr "" + +#: plugins/sudoers/ldap.c:473 +#, c-format +msgid "sudo_ldap_parse_uri: out of space building hostbuf" +msgstr "" + +#: plugins/sudoers/ldap.c:536 +#, c-format +msgid "unable to initialize SSL cert and key db: %s" +msgstr "" + +#: plugins/sudoers/ldap.c:932 +#, c-format +msgid "unable to get GMT time" +msgstr "" + +#: plugins/sudoers/ldap.c:938 +#, c-format +msgid "unable to format timestamp" +msgstr "" + +#: plugins/sudoers/ldap.c:946 +#, c-format +msgid "unable to build time filter" +msgstr "" + +#: plugins/sudoers/ldap.c:1044 +#, c-format +msgid "sudo_ldap_build_pass1 allocation mismatch" +msgstr "" + +#: plugins/sudoers/ldap.c:1539 +#, c-format +msgid "" +"\n" +"LDAP Role: %s\n" +msgstr "" + +#: plugins/sudoers/ldap.c:1541 +#, c-format +msgid "" +"\n" +"LDAP Role: UNKNOWN\n" +msgstr "" + +#: plugins/sudoers/ldap.c:1588 +#, c-format +msgid " Order: %s\n" +msgstr "" + +#: plugins/sudoers/ldap.c:1596 +#, c-format +msgid " Commands:\n" +msgstr "" + +#: plugins/sudoers/ldap.c:1983 +#, c-format +msgid "unable to initialize LDAP: %s" +msgstr "" + +#: plugins/sudoers/ldap.c:2014 +#, c-format +msgid "start_tls specified but LDAP libs do not support ldap_start_tls_s() or ldap_start_tls_s_np()" +msgstr "" + +#: plugins/sudoers/ldap.c:2245 +#, c-format +msgid "invalid sudoOrder attribute: %s" +msgstr "" + +#: plugins/sudoers/linux_audit.c:55 +#, c-format +msgid "unable to open audit system" +msgstr "" + +#: plugins/sudoers/linux_audit.c:79 +#, c-format +msgid "internal error, linux_audit_command() overflow" +msgstr "" + +#: plugins/sudoers/linux_audit.c:88 +#, c-format +msgid "unable to send audit message" +msgstr "" + +#: plugins/sudoers/logging.c:193 +#, c-format +msgid "unable to open log file: %s: %s" +msgstr "" + +#: plugins/sudoers/logging.c:196 +#, c-format +msgid "unable to lock log file: %s: %s" +msgstr "" + +#: plugins/sudoers/logging.c:295 +msgid "user NOT in sudoers" +msgstr "erabiltzailea ez dago sudoers-en" + +#: plugins/sudoers/logging.c:297 +msgid "user NOT authorized on host" +msgstr "erabiltzailea ez dago baimendutako ostalarian" + +#: plugins/sudoers/logging.c:299 +msgid "command not allowed" +msgstr "komandua ez dago baimenduta" + +#: plugins/sudoers/logging.c:309 +#, c-format +msgid "%s is not in the sudoers file. This incident will be reported.\n" +msgstr "%s ez dago sudoers fitxatzegian. Gertaeraren berri emango da.\n" + +#: plugins/sudoers/logging.c:312 +#, c-format +msgid "%s is not allowed to run sudo on %s. This incident will be reported.\n" +msgstr "%s ez dago baimenduta sudo abiarazteko %s-(e)n. Gertaeraren berri emango da.\n" + +#: plugins/sudoers/logging.c:316 +#, c-format +msgid "Sorry, user %s may not run sudo on %s.\n" +msgstr "Barkatu, %s erabiltzaileak ez luke sudo abiariazi beharko %s-(e)n.\n" + +#: plugins/sudoers/logging.c:319 +#, c-format +msgid "Sorry, user %s is not allowed to execute '%s%s%s' as %s%s%s on %s.\n" +msgstr "Barkatu, %s erabiltzaileak ez du '%s%s%s' %s%s%s bezala exekutatzeko baimenik %s-(e)n.\n" + +#: plugins/sudoers/logging.c:454 +#, c-format +msgid "unable to fork" +msgstr "" + +#: plugins/sudoers/logging.c:461 plugins/sudoers/logging.c:518 +#, c-format +msgid "unable to fork: %m" +msgstr "" + +#: plugins/sudoers/logging.c:511 +#, c-format +msgid "unable to open pipe: %m" +msgstr "" + +#: plugins/sudoers/logging.c:530 +#, c-format +msgid "unable to dup stdin: %m" +msgstr "" + +#: plugins/sudoers/logging.c:564 +#, c-format +msgid "unable to execute %s: %m" +msgstr "" + +#: plugins/sudoers/logging.c:774 +#, c-format +msgid "internal error: insufficient space for log line" +msgstr "" + +#: plugins/sudoers/parse.c:115 +#, c-format +msgid "parse error in %s near line %d" +msgstr "" + +#: plugins/sudoers/parse.c:369 +#, c-format +msgid "" +"\n" +"Sudoers entry:\n" +msgstr "" + +#: plugins/sudoers/parse.c:371 +#, c-format +msgid " RunAsUsers: " +msgstr "" + +#: plugins/sudoers/parse.c:386 +#, c-format +msgid " RunAsGroups: " +msgstr "" + +#: plugins/sudoers/parse.c:395 +#, c-format +msgid "" +" Commands:\n" +"\t" +msgstr "" + +#: plugins/sudoers/plugin_error.c:100 plugins/sudoers/plugin_error.c:105 +msgid ": " +msgstr ": " + +#: plugins/sudoers/pwutil.c:244 +#, c-format +msgid "unable to cache uid %u (%s), already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:252 +#, c-format +msgid "unable to cache uid %u, already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:288 plugins/sudoers/pwutil.c:297 +#, c-format +msgid "unable to cache user %s, already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:511 +#, c-format +msgid "unable to cache gid %u (%s), already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:519 +#, c-format +msgid "unable to cache gid %u, already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:548 plugins/sudoers/pwutil.c:557 +#, c-format +msgid "unable to cache group %s, already exists" +msgstr "" + +#: plugins/sudoers/set_perms.c:249 plugins/sudoers/set_perms.c:476 +#: plugins/sudoers/set_perms.c:710 +#, c-format +msgid "unable to change to sudoers gid" +msgstr "" + +#: plugins/sudoers/set_perms.c:290 plugins/sudoers/set_perms.c:514 +#: plugins/sudoers/set_perms.c:748 plugins/sudoers/set_perms.c:882 +msgid "too many processes" +msgstr "prozesu gehiegi" + +#: plugins/sudoers/set_perms.c:943 plugins/sudoers/set_perms.c:959 +msgid "unable to set runas group vector" +msgstr "" + +#: plugins/sudoers/set_perms.c:952 +msgid "unable to get runas group vector" +msgstr "" + +#: plugins/sudoers/sudo_nss.c:217 +msgid "unable to reset group vector" +msgstr "" + +#: plugins/sudoers/sudo_nss.c:223 +msgid "unable to get group vector" +msgstr "" + +#: plugins/sudoers/sudo_nss.c:266 +#, c-format +msgid "Matching Defaults entries for %s on this host:\n" +msgstr "" + +#: plugins/sudoers/sudo_nss.c:279 +#, c-format +msgid "Runas and Command-specific defaults for %s:\n" +msgstr "" + +#: plugins/sudoers/sudo_nss.c:292 +#, c-format +msgid "User %s may run the following commands on this host:\n" +msgstr "" + +#: plugins/sudoers/sudo_nss.c:302 +#, c-format +msgid "User %s is not allowed to run sudo on %s.\n" +msgstr "" + +#: plugins/sudoers/sudoers.c:206 plugins/sudoers/sudoers.c:241 +#: plugins/sudoers/sudoers.c:876 +msgid "problem with defaults entries" +msgstr "" + +#: plugins/sudoers/sudoers.c:210 +#, c-format +msgid "no valid sudoers sources found, quitting" +msgstr "" + +#: plugins/sudoers/sudoers.c:264 +#, c-format +msgid "unable to execute %s: %s" +msgstr "ezin da %s exekutatu: %s" + +#: plugins/sudoers/sudoers.c:311 +#, c-format +msgid "sudoers specifies that root is not allowed to sudo" +msgstr "" + +#: plugins/sudoers/sudoers.c:318 +#, c-format +msgid "you are not permitted to use the -C option" +msgstr "" + +#: plugins/sudoers/sudoers.c:407 +#, c-format +msgid "timestamp owner (%s): No such user" +msgstr "data-zigiluaren jabea (%s): ez dago horrelako erabiltzailerik" + +#: plugins/sudoers/sudoers.c:423 +msgid "no tty" +msgstr "tty gabe" + +#: plugins/sudoers/sudoers.c:424 +#, c-format +msgid "sorry, you must have a tty to run sudo" +msgstr "barkatu, tty bat behar duzu sudo abiarazteko" + +#: plugins/sudoers/sudoers.c:470 +msgid "No user or host" +msgstr "Ez dago erabiltzaile edo ostalaririk" + +#: plugins/sudoers/sudoers.c:484 plugins/sudoers/sudoers.c:505 +#: plugins/sudoers/sudoers.c:506 plugins/sudoers/sudoers.c:1413 +#: plugins/sudoers/sudoers.c:1414 +#, c-format +msgid "%s: command not found" +msgstr "%s: komandoa ez da aurkitu" + +#: plugins/sudoers/sudoers.c:486 plugins/sudoers/sudoers.c:502 +#, c-format +msgid "" +"ignoring `%s' found in '.'\n" +"Use `sudo ./%s' if this is the `%s' you wish to run." +msgstr "" + +#: plugins/sudoers/sudoers.c:491 +msgid "validation failure" +msgstr "balidazio hutsegitea" + +#: plugins/sudoers/sudoers.c:501 +msgid "command in current directory" +msgstr "" + +#: plugins/sudoers/sudoers.c:513 +#, c-format +msgid "sorry, you are not allowed to preserve the environment" +msgstr "" + +#: plugins/sudoers/sudoers.c:860 +#, c-format +msgid "internal error, set_cmnd() overflow" +msgstr "" + +#: plugins/sudoers/sudoers.c:904 +#, c-format +msgid "fixed mode on %s" +msgstr "" + +#: plugins/sudoers/sudoers.c:908 +#, c-format +msgid "set group on %s" +msgstr "" + +#: plugins/sudoers/sudoers.c:911 +#, c-format +msgid "unable to set group on %s" +msgstr "" + +#: plugins/sudoers/sudoers.c:914 +#, c-format +msgid "unable to fix mode on %s" +msgstr "" + +#: plugins/sudoers/sudoers.c:927 +#, c-format +msgid "%s is not a regular file" +msgstr "" + +#: plugins/sudoers/sudoers.c:929 +#, c-format +msgid "%s is mode 0%o, should be 0%o" +msgstr "" + +#: plugins/sudoers/sudoers.c:933 +#, c-format +msgid "%s is owned by uid %u, should be %u" +msgstr "" + +#: plugins/sudoers/sudoers.c:936 +#, c-format +msgid "%s is owned by gid %u, should be %u" +msgstr "" + +#: plugins/sudoers/sudoers.c:980 +#, c-format +msgid "only root can use `-c %s'" +msgstr "soilik root-ek erabili dezake `-c %s'" + +#: plugins/sudoers/sudoers.c:990 +#, c-format +msgid "unknown login class: %s" +msgstr "" + +#: plugins/sudoers/sudoers.c:1024 +#, c-format +msgid "unable to resolve host %s" +msgstr "" + +#: plugins/sudoers/sudoers.c:1076 plugins/sudoers/testsudoers.c:342 +#, c-format +msgid "unknown group: %s" +msgstr "talde ezezaguna: %s" + +#: plugins/sudoers/sudoers.c:1108 +#, c-format +msgid "Sudoers policy plugin version %s\n" +msgstr "" + +#: plugins/sudoers/sudoers.c:1110 +#, c-format +msgid "Sudoers file grammar version %d\n" +msgstr "" + +#: plugins/sudoers/sudoers.c:1114 +#, c-format +msgid "" +"\n" +"Sudoers path: %s\n" +msgstr "" +"\n" +"Sudoers-en bidea: %s\n" + +#: plugins/sudoers/sudoers.c:1117 +#, c-format +msgid "nsswitch path: %s\n" +msgstr "nsswitch-en bidea: %s\n" + +#: plugins/sudoers/sudoers.c:1119 +#, c-format +msgid "ldap.conf path: %s\n" +msgstr "ldap.conf-en bidea: %s\n" + +#: plugins/sudoers/sudoers.c:1120 +#, c-format +msgid "ldap.secret path: %s\n" +msgstr "ldap.secret-en bidea: %s\n" + +#: plugins/sudoers/sudoreplay.c:265 +#, c-format +msgid "invalid filter option: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:278 +#, c-format +msgid "invalid max wait: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:284 +#, c-format +msgid "invalid speed factor: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:287 plugins/sudoers/visudo.c:174 +#, c-format +msgid "%s version %s\n" +msgstr "%s bertsioa %s\n" + +#: plugins/sudoers/sudoreplay.c:310 +#, c-format +msgid "%s/%.2s/%.2s/%.2s/timing: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:316 +#, c-format +msgid "%s/%s/timing: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:341 +#, c-format +msgid "invalid log file %s" +msgstr "baliogabeko %s log fitxategia" + +#: plugins/sudoers/sudoreplay.c:343 +#, c-format +msgid "Replaying sudo session: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:369 +#, c-format +msgid "unable to set tty to raw mode" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:383 +#, c-format +msgid "invalid timing file line: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:425 +#, c-format +msgid "writing to standard output" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:455 +#, c-format +msgid "nanosleep: tv_sec %ld, tv_nsec %ld" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:503 plugins/sudoers/sudoreplay.c:528 +#, c-format +msgid "ambiguous expression \"%s\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:545 +#, c-format +msgid "too many parenthesized expressions, max %d" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:556 +#, c-format +msgid "unmatched ')' in expression" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:562 +#, c-format +msgid "unknown search term \"%s\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:576 +#, c-format +msgid "%s requires an argument" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:580 +#, c-format +msgid "invalid regular expression: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:586 +#, c-format +msgid "could not parse date \"%s\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:599 +#, c-format +msgid "unmatched '(' in expression" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:601 +#, c-format +msgid "illegal trailing \"or\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:603 +#, c-format +msgid "illegal trailing \"!\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:819 +#, c-format +msgid "invalid regex: %s" +msgstr "baliogabeko regex-a: %s" + +#: plugins/sudoers/sudoreplay.c:941 +#, c-format +msgid "usage: %s [-h] [-d directory] [-m max_wait] [-s speed_factor] ID\n" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:944 +#, c-format +msgid "usage: %s [-h] [-d directory] -l [search expression]\n" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:953 +#, c-format +msgid "" +"%s - replay sudo session logs\n" +"\n" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:955 +msgid "" +"\n" +"Options:\n" +" -d directory specify directory for session logs\n" +" -f filter specify which I/O type to display\n" +" -h display help message and exit\n" +" -l [expression] list available session IDs that match expression\n" +" -m max_wait max number of seconds to wait between events\n" +" -s speed_factor speed up or slow down output\n" +" -V display version information and exit" +msgstr "" + +#: plugins/sudoers/testsudoers.c:228 +#, c-format +msgid "internal error, init_vars() overflow" +msgstr "" + +#: plugins/sudoers/testsudoers.c:304 +msgid "\thost unmatched" +msgstr "" + +#: plugins/sudoers/testsudoers.c:307 +msgid "" +"\n" +"Command allowed" +msgstr "" + +#: plugins/sudoers/testsudoers.c:308 +msgid "" +"\n" +"Command denied" +msgstr "" + +#: plugins/sudoers/testsudoers.c:308 +msgid "" +"\n" +"Command unmatched" +msgstr "" + +#: toke.l:667 toke.l:793 toke.l:818 toke.l:904 plugins/sudoers/toke_util.c:111 +#: plugins/sudoers/toke_util.c:163 plugins/sudoers/toke_util.c:202 +msgid "unable to allocate memory" +msgstr "" + +#: toke.l:786 +msgid "too many levels of includes" +msgstr "include maila gehiegi" + +#: plugins/sudoers/toke_util.c:213 +msgid "fill_args: buffer overflow" +msgstr "fill_args: buffer overflow" + +#: plugins/sudoers/visudo.c:175 +#, c-format +msgid "%s grammar version %d\n" +msgstr "" + +#: plugins/sudoers/visudo.c:208 plugins/sudoers/auth/rfc1938.c:103 +#, c-format +msgid "you do not exist in the %s database" +msgstr "ez zara %s datubasean existitzen" + +#: plugins/sudoers/visudo.c:238 plugins/sudoers/visudo.c:470 +#, c-format +msgid "press return to edit %s: " +msgstr "sakatu intro %s editatzeko:" + +#: plugins/sudoers/visudo.c:300 plugins/sudoers/visudo.c:306 +#, c-format +msgid "write error" +msgstr "idazketa errorea" + +#: plugins/sudoers/visudo.c:360 +#, c-format +msgid "unable to stat temporary file (%s), %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:365 +#, c-format +msgid "zero length temporary file (%s), %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:371 +#, c-format +msgid "editor (%s) failed, %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:394 +#, c-format +msgid "%s unchanged" +msgstr "%s aldatu gabea" + +#: plugins/sudoers/visudo.c:418 +#, c-format +msgid "unable to re-open temporary file (%s), %s unchanged." +msgstr "" + +#: plugins/sudoers/visudo.c:428 +#, c-format +msgid "unabled to parse temporary file (%s), unknown error" +msgstr "" + +#: plugins/sudoers/visudo.c:463 +#, c-format +msgid "internal error, unable to find %s in list!" +msgstr "" + +#: plugins/sudoers/visudo.c:502 plugins/sudoers/visudo.c:511 +#, c-format +msgid "unable to set (uid, gid) of %s to (%d, %d)" +msgstr "" + +#: plugins/sudoers/visudo.c:506 plugins/sudoers/visudo.c:516 +#, c-format +msgid "unable to change mode of %s to 0%o" +msgstr "" + +#: plugins/sudoers/visudo.c:533 +#, c-format +msgid "%s and %s not on the same file system, using mv to rename" +msgstr "" + +#: plugins/sudoers/visudo.c:547 +#, c-format +msgid "command failed: '%s %s %s', %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:557 +#, c-format +msgid "error renaming %s, %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:617 +msgid "What now? " +msgstr "Eta orain?" + +#: plugins/sudoers/visudo.c:631 +msgid "" +"Options are:\n" +" (e)dit sudoers file again\n" +" e(x)it without saving changes to sudoers file\n" +" (Q)uit and save changes to sudoers file (DANGER!)\n" +msgstr "" + +#: plugins/sudoers/visudo.c:668 +#, c-format +msgid "unable to execute %s" +msgstr "ezin da %s exekutatu" + +#: plugins/sudoers/visudo.c:675 +#, c-format +msgid "unable to run %s" +msgstr "ezin da %s abiarazi" + +#: plugins/sudoers/visudo.c:706 +#, c-format +msgid "failed to parse %s file, unknown error" +msgstr "" + +#: plugins/sudoers/visudo.c:718 +#, c-format +msgid "parse error in %s near line %d\n" +msgstr "" + +#: plugins/sudoers/visudo.c:721 +#, c-format +msgid "parse error in %s\n" +msgstr "" + +#: plugins/sudoers/visudo.c:723 +#, c-format +msgid "%s: parsed OK\n" +msgstr "" + +#: plugins/sudoers/visudo.c:737 +#, c-format +msgid "%s: wrong owner (uid, gid) should be (%d, %d)\n" +msgstr "" + +#: plugins/sudoers/visudo.c:744 +#, c-format +msgid "%s: bad permissions, should be mode 0%o\n" +msgstr "" + +#: plugins/sudoers/visudo.c:783 +#, c-format +msgid "%s busy, try again later" +msgstr "%s okupatuta, saiatu berriz beranduago" + +#: plugins/sudoers/visudo.c:826 +#, c-format +msgid "specified editor (%s) doesn't exist" +msgstr "" + +#: plugins/sudoers/visudo.c:849 +#, c-format +msgid "unable to stat editor (%s)" +msgstr "" + +#: plugins/sudoers/visudo.c:897 +#, c-format +msgid "no editor found (editor path = %s)" +msgstr "" + +#: plugins/sudoers/visudo.c:986 +#, c-format +msgid "Error: cycle in %s_Alias `%s'" +msgstr "" + +#: plugins/sudoers/visudo.c:987 +#, c-format +msgid "Warning: cycle in %s_Alias `%s'" +msgstr "" + +#: plugins/sudoers/visudo.c:990 +#, c-format +msgid "Error: %s_Alias `%s' referenced but not defined" +msgstr "" + +#: plugins/sudoers/visudo.c:991 +#, c-format +msgid "Warning: %s_Alias `%s' referenced but not defined" +msgstr "" + +#: plugins/sudoers/visudo.c:1128 +#, c-format +msgid "%s: unused %s_Alias %s" +msgstr "" + +#: plugins/sudoers/visudo.c:1185 +#, c-format +msgid "" +"%s - safely edit the sudoers file\n" +"\n" +msgstr "" + +#: plugins/sudoers/visudo.c:1187 +msgid "" +"\n" +"Options:\n" +" -c check-only mode\n" +" -f sudoers specify sudoers file location\n" +" -h display help message and exit\n" +" -q less verbose (quiet) syntax error messages\n" +" -s strict syntax checking\n" +" -V display version information and exit" +msgstr "" + +#: plugins/sudoers/auth/bsdauth.c:64 +msgid "unable to begin bsd authentication" +msgstr "" + +#: plugins/sudoers/auth/bsdauth.c:71 +msgid "invalid authentication type" +msgstr "" + +#: plugins/sudoers/auth/bsdauth.c:79 +msgid "unable to setup authentication" +msgstr "" + +#: plugins/sudoers/auth/fwtk.c:59 +#, c-format +msgid "unable to read fwtk config" +msgstr "" + +#: plugins/sudoers/auth/fwtk.c:64 +#, c-format +msgid "unable to connect to authentication server" +msgstr "" + +#: plugins/sudoers/auth/fwtk.c:70 plugins/sudoers/auth/fwtk.c:93 +#: plugins/sudoers/auth/fwtk.c:126 +#, c-format +msgid "lost connection to authentication server" +msgstr "" + +#: plugins/sudoers/auth/fwtk.c:74 +#, c-format +msgid "" +"authentication server error:\n" +"%s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:114 +#, c-format +msgid "%s: unable to parse '%s': %s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:127 +#, c-format +msgid "%s: unable to unparse princ ('%s'): %s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:144 +#, c-format +msgid "%s: unable to resolve ccache: %s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:188 +#, c-format +msgid "%s: unable to allocate options: %s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:204 +#, c-format +msgid "%s: unable to get credentials: %s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:217 +#, c-format +msgid "%s: unable to initialize ccache: %s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:221 +#, c-format +msgid "%s: unable to store cred in ccache: %s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:284 +#, c-format +msgid "%s: unable to get host principal: %s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:299 +#, c-format +msgid "%s: Cannot verify TGT! Possible attack!: %s" +msgstr "" + +#: plugins/sudoers/auth/pam.c:99 +msgid "unable to initialize PAM" +msgstr "ezin da PAM hasieratu" + +#: plugins/sudoers/auth/pam.c:142 +msgid "account validation failure, is your account locked?" +msgstr "" + +#: plugins/sudoers/auth/pam.c:146 +msgid "Account or password is expired, reset your password and try again" +msgstr "" + +#: plugins/sudoers/auth/pam.c:153 +#, c-format +msgid "pam_chauthtok: %s" +msgstr "pam_chauthtok: %s" + +#: plugins/sudoers/auth/pam.c:157 +msgid "Password expired, contact your system administrator" +msgstr "" + +#: plugins/sudoers/auth/pam.c:161 +msgid "Account expired or PAM config lacks an \"account\" section for sudo, contact your system administrator" +msgstr "" + +#: plugins/sudoers/auth/pam.c:176 +#, c-format +msgid "pam_authenticate: %s" +msgstr "pam_authenticate: %s" + +#: plugins/sudoers/auth/pam.c:296 +msgid "Password: " +msgstr "Pasahitza: " + +#: plugins/sudoers/auth/pam.c:297 +msgid "Password:" +msgstr "Pasahitza:" + +#: plugins/sudoers/auth/securid.c:82 plugins/sudoers/auth/securid5.c:106 +#, c-format +msgid "unable to contact the SecurID server" +msgstr "" + +#: plugins/sudoers/auth/securid5.c:81 +#, c-format +msgid "failed to initialise the ACE API library" +msgstr "" + +#: plugins/sudoers/auth/securid5.c:115 +#, c-format +msgid "User ID locked for SecurID Authentication" +msgstr "" + +#: plugins/sudoers/auth/securid5.c:119 plugins/sudoers/auth/securid5.c:169 +#, c-format +msgid "invalid username length for SecurID" +msgstr "" + +#: plugins/sudoers/auth/securid5.c:123 plugins/sudoers/auth/securid5.c:174 +#, c-format +msgid "invalid Authentication Handle for SecurID" +msgstr "" + +#: plugins/sudoers/auth/securid5.c:127 +#, c-format +msgid "SecurID communication failed" +msgstr "" + +#: plugins/sudoers/auth/securid5.c:131 plugins/sudoers/auth/securid5.c:213 +#, c-format +msgid "unknown SecurID error" +msgstr "" + +#: plugins/sudoers/auth/securid5.c:164 +#, c-format +msgid "invalid passcode length for SecurID" +msgstr "" + +#: plugins/sudoers/auth/sia.c:106 +msgid "unable to initialize SIA session" +msgstr "" + +#: plugins/sudoers/auth/sudo_auth.c:124 +msgid "There are no authentication methods compiled into sudo! If you want to turn off authentication, use the --disable-authentication configure option." +msgstr "" + +#: plugins/sudoers/auth/sudo_auth.c:134 +msgid "Invalid authentication methods compiled into sudo! You may mix standalone and non-standalone authentication." +msgstr "" + +#: plugins/sudoers/auth/sudo_auth.c:243 +#, c-format +msgid "%d incorrect password attempt" +msgid_plural "%d incorrect password attempts" +msgstr[0] "pasahitz sartze saiakera oker %d" +msgstr[1] "%d pasahitz sartze saiakera oker" + +#: plugins/sudoers/auth/sudo_auth.c:335 +msgid "Authentication methods:" +msgstr "Autentikazio metodoak:" diff --git a/plugins/sudoers/po/fi.mo b/plugins/sudoers/po/fi.mo new file mode 100644 index 0000000..ed25938 Binary files /dev/null and b/plugins/sudoers/po/fi.mo differ diff --git a/plugins/sudoers/po/fi.po b/plugins/sudoers/po/fi.po new file mode 100644 index 0000000..01e5ba5 --- /dev/null +++ b/plugins/sudoers/po/fi.po @@ -0,0 +1,4136 @@ +# Finnish messages for sudoers. +# This file is put in the public domain. +# This file is distributed under the same license as the sudo package. +# Jorma Karvonen , 2011-2017. +# Lauri Nurmi , 2019-2021. +# +msgid "" +msgstr "" +"Project-Id-Version: sudoers 1.9.10b1\n" +"Report-Msgid-Bugs-To: https://bugzilla.sudo.ws\n" +"POT-Creation-Date: 2022-02-11 18:33-0700\n" +"PO-Revision-Date: 2022-02-27 17:37+0200\n" +"Last-Translator: Lauri Nurmi \n" +"Language-Team: Finnish \n" +"Language: fi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.0.1\n" + +#: confstr.sh:1 gram.y:1198 +msgid "syntax error" +msgstr "syntaksivirhe" + +#: confstr.sh:2 +msgid "%p's password: " +msgstr "%p, salasana: " + +#: confstr.sh:3 +msgid "[sudo] password for %p: " +msgstr "[sudo] %p-käyttäjän salasana: " + +#: confstr.sh:4 +msgid "Password: " +msgstr "Salasana: " + +#: confstr.sh:5 +msgid "*** SECURITY information for %h ***" +msgstr "*** TURVALLISUUStietoa %h-koneelta ***" + +#: confstr.sh:6 +msgid "Sorry, try again." +msgstr "Yritä uudelleen." + +#: gram.y:233 gram.y:300 gram.y:309 gram.y:318 gram.y:328 gram.y:338 +#: gram.y:362 gram.y:389 gram.y:398 gram.y:406 gram.y:415 gram.y:424 +#: gram.y:498 gram.y:508 gram.y:520 gram.y:564 gram.y:573 gram.y:582 +#: gram.y:591 gram.y:718 gram.y:726 gram.y:737 gram.y:749 gram.y:768 +#: gram.y:923 gram.y:928 gram.y:936 gram.y:950 gram.y:956 gram.y:1078 +#: gram.y:1087 gram.y:1095 gram.y:1104 gram.y:1113 gram.y:1142 gram.y:1151 +#: gram.y:1159 gram.y:1252 gram.y:1382 gram.y:1748 gram.y:1798 +#: lib/eventlog/eventlog.c:309 lib/eventlog/eventlog.c:382 +#: lib/eventlog/eventlog.c:804 lib/eventlog/eventlog.c:881 +#: lib/eventlog/eventlog.c:1176 lib/iolog/iolog_filter.c:142 +#: lib/iolog/iolog_filter.c:204 lib/iolog/iolog_filter.c:233 +#: lib/iolog/iolog_json.c:150 lib/iolog/iolog_json.c:382 +#: lib/iolog/iolog_json.c:412 lib/iolog/iolog_json.c:555 +#: lib/iolog/iolog_legacy.c:100 lib/iolog/iolog_legacy.c:111 +#: lib/iolog/iolog_legacy.c:123 lib/iolog/iolog_legacy.c:133 +#: lib/iolog/iolog_legacy.c:139 lib/iolog/iolog_loginfo.c:76 +#: lib/iolog/iolog_loginfo.c:212 logsrvd/iolog_writer.c:84 +#: logsrvd/iolog_writer.c:89 logsrvd/iolog_writer.c:123 +#: logsrvd/iolog_writer.c:172 logsrvd/iolog_writer.c:212 +#: logsrvd/iolog_writer.c:225 logsrvd/iolog_writer.c:261 +#: logsrvd/iolog_writer.c:286 logsrvd/iolog_writer.c:301 +#: logsrvd/iolog_writer.c:314 logsrvd/iolog_writer.c:327 +#: logsrvd/iolog_writer.c:340 logsrvd/iolog_writer.c:355 +#: logsrvd/iolog_writer.c:393 logsrvd/iolog_writer.c:399 +#: logsrvd/iolog_writer.c:406 logsrvd/iolog_writer.c:412 +#: logsrvd/iolog_writer.c:596 logsrvd/logsrv_util.c:64 logsrvd/logsrvd.c:296 +#: logsrvd/logsrvd.c:305 logsrvd/logsrvd.c:1011 logsrvd/logsrvd.c:1073 +#: logsrvd/logsrvd_conf.c:1443 logsrvd/logsrvd_journal.c:70 +#: logsrvd/logsrvd_journal.c:203 logsrvd/logsrvd_journal.c:204 +#: logsrvd/logsrvd_journal.c:260 logsrvd/logsrvd_journal.c:425 +#: logsrvd/logsrvd_journal.c:427 logsrvd/logsrvd_local.c:174 +#: logsrvd/logsrvd_local.c:175 logsrvd/logsrvd_local.c:237 +#: logsrvd/logsrvd_local.c:238 logsrvd/logsrvd_local.c:376 +#: logsrvd/logsrvd_local.c:425 logsrvd/logsrvd_local.c:426 +#: logsrvd/logsrvd_local.c:431 logsrvd/logsrvd_local.c:432 +#: logsrvd/logsrvd_queue.c:154 logsrvd/logsrvd_queue.c:184 +#: logsrvd/logsrvd_queue.c:261 logsrvd/logsrvd_relay.c:439 +#: logsrvd/logsrvd_relay.c:738 logsrvd/logsrvd_relay.c:843 +#: logsrvd/sendlog.c:246 logsrvd/sendlog.c:255 logsrvd/sendlog.c:333 +#: logsrvd/sendlog.c:640 plugins/sudoers/audit.c:116 +#: plugins/sudoers/auth/bsdauth.c:150 plugins/sudoers/auth/kerb5.c:118 +#: plugins/sudoers/auth/kerb5.c:146 plugins/sudoers/auth/pam.c:687 +#: plugins/sudoers/auth/rfc1938.c:111 plugins/sudoers/auth/sia.c:59 +#: plugins/sudoers/check_aliases.c:134 plugins/sudoers/cvtsudoers.c:131 +#: plugins/sudoers/cvtsudoers.c:175 plugins/sudoers/cvtsudoers.c:192 +#: plugins/sudoers/cvtsudoers.c:203 plugins/sudoers/cvtsudoers.c:333 +#: plugins/sudoers/cvtsudoers.c:372 plugins/sudoers/cvtsudoers.c:392 +#: plugins/sudoers/cvtsudoers.c:537 plugins/sudoers/cvtsudoers.c:670 +#: plugins/sudoers/cvtsudoers.c:688 plugins/sudoers/cvtsudoers.c:758 +#: plugins/sudoers/cvtsudoers.c:873 plugins/sudoers/cvtsudoers.c:881 +#: plugins/sudoers/cvtsudoers.c:1376 plugins/sudoers/cvtsudoers.c:1380 +#: plugins/sudoers/cvtsudoers.c:1482 plugins/sudoers/cvtsudoers_csv.c:183 +#: plugins/sudoers/cvtsudoers_csv.c:246 plugins/sudoers/cvtsudoers_json.c:76 +#: plugins/sudoers/cvtsudoers_ldif.c:151 plugins/sudoers/cvtsudoers_ldif.c:194 +#: plugins/sudoers/cvtsudoers_ldif.c:235 plugins/sudoers/cvtsudoers_ldif.c:300 +#: plugins/sudoers/cvtsudoers_ldif.c:376 plugins/sudoers/cvtsudoers_ldif.c:430 +#: plugins/sudoers/cvtsudoers_ldif.c:438 plugins/sudoers/cvtsudoers_ldif.c:449 +#: plugins/sudoers/cvtsudoers_ldif.c:456 plugins/sudoers/cvtsudoers_ldif.c:469 +#: plugins/sudoers/cvtsudoers_ldif.c:477 plugins/sudoers/cvtsudoers_ldif.c:624 +#: plugins/sudoers/cvtsudoers_merge.c:47 plugins/sudoers/cvtsudoers_merge.c:52 +#: plugins/sudoers/cvtsudoers_merge.c:353 +#: plugins/sudoers/cvtsudoers_merge.c:399 +#: plugins/sudoers/cvtsudoers_merge.c:446 +#: plugins/sudoers/cvtsudoers_merge.c:467 +#: plugins/sudoers/cvtsudoers_merge.c:553 +#: plugins/sudoers/cvtsudoers_merge.c:564 +#: plugins/sudoers/cvtsudoers_merge.c:633 +#: plugins/sudoers/cvtsudoers_merge.c:1150 +#: plugins/sudoers/cvtsudoers_merge.c:1223 plugins/sudoers/defaults.c:468 +#: plugins/sudoers/defaults.c:690 plugins/sudoers/defaults.c:1051 +#: plugins/sudoers/defaults.c:1243 plugins/sudoers/editor.c:190 +#: plugins/sudoers/env.c:262 plugins/sudoers/exptilde.c:92 +#: plugins/sudoers/filedigest.c:54 plugins/sudoers/filedigest.c:70 +#: plugins/sudoers/gc.c:57 plugins/sudoers/group_plugin.c:133 +#: plugins/sudoers/interfaces.c:68 plugins/sudoers/iolog.c:264 +#: plugins/sudoers/iolog.c:664 plugins/sudoers/iolog.c:690 +#: plugins/sudoers/ldap.c:184 plugins/sudoers/ldap.c:433 +#: plugins/sudoers/ldap.c:443 plugins/sudoers/ldap.c:448 +#: plugins/sudoers/ldap.c:452 plugins/sudoers/ldap.c:464 +#: plugins/sudoers/ldap.c:760 plugins/sudoers/ldap.c:924 +#: plugins/sudoers/ldap.c:1340 plugins/sudoers/ldap.c:1766 +#: plugins/sudoers/ldap.c:1803 plugins/sudoers/ldap.c:1884 +#: plugins/sudoers/ldap.c:2019 plugins/sudoers/ldap.c:2120 +#: plugins/sudoers/ldap.c:2136 plugins/sudoers/ldap_conf.c:218 +#: plugins/sudoers/ldap_conf.c:249 plugins/sudoers/ldap_conf.c:301 +#: plugins/sudoers/ldap_conf.c:337 plugins/sudoers/ldap_conf.c:443 +#: plugins/sudoers/ldap_conf.c:458 plugins/sudoers/ldap_conf.c:563 +#: plugins/sudoers/ldap_conf.c:596 plugins/sudoers/ldap_conf.c:688 +#: plugins/sudoers/ldap_conf.c:770 plugins/sudoers/ldap_util.c:294 +#: plugins/sudoers/ldap_util.c:301 plugins/sudoers/ldap_util.c:614 +#: plugins/sudoers/linux_audit.c:86 plugins/sudoers/log_client.c:112 +#: plugins/sudoers/log_client.c:390 plugins/sudoers/log_client.c:703 +#: plugins/sudoers/log_client.c:724 plugins/sudoers/log_client.c:1444 +#: plugins/sudoers/log_client.c:1662 plugins/sudoers/log_client.c:1989 +#: plugins/sudoers/log_client.c:2045 plugins/sudoers/logging.c:104 +#: plugins/sudoers/logging.c:185 plugins/sudoers/logging.c:469 +#: plugins/sudoers/logging.c:489 plugins/sudoers/logging.c:628 +#: plugins/sudoers/match_command.c:324 plugins/sudoers/match_command.c:567 +#: plugins/sudoers/match_command.c:616 plugins/sudoers/match_command.c:688 +#: plugins/sudoers/match_command.c:736 plugins/sudoers/match_digest.c:93 +#: plugins/sudoers/parse.c:201 plugins/sudoers/parse.c:218 +#: plugins/sudoers/parse.c:250 plugins/sudoers/parse.c:267 +#: plugins/sudoers/parse.c:290 plugins/sudoers/parse.c:301 +#: plugins/sudoers/parse_ldif.c:153 plugins/sudoers/parse_ldif.c:184 +#: plugins/sudoers/parse_ldif.c:253 plugins/sudoers/parse_ldif.c:261 +#: plugins/sudoers/parse_ldif.c:266 plugins/sudoers/parse_ldif.c:342 +#: plugins/sudoers/parse_ldif.c:353 plugins/sudoers/parse_ldif.c:380 +#: plugins/sudoers/parse_ldif.c:397 plugins/sudoers/parse_ldif.c:409 +#: plugins/sudoers/parse_ldif.c:413 plugins/sudoers/parse_ldif.c:427 +#: plugins/sudoers/parse_ldif.c:484 plugins/sudoers/parse_ldif.c:597 +#: plugins/sudoers/parse_ldif.c:627 plugins/sudoers/parse_ldif.c:652 +#: plugins/sudoers/parse_ldif.c:710 plugins/sudoers/parse_ldif.c:727 +#: plugins/sudoers/parse_ldif.c:755 plugins/sudoers/parse_ldif.c:762 +#: plugins/sudoers/policy.c:570 plugins/sudoers/policy.c:952 +#: plugins/sudoers/prompt.c:93 plugins/sudoers/pwutil.c:199 +#: plugins/sudoers/pwutil.c:270 plugins/sudoers/pwutil.c:348 +#: plugins/sudoers/pwutil.c:522 plugins/sudoers/pwutil.c:587 +#: plugins/sudoers/pwutil.c:659 plugins/sudoers/pwutil.c:857 +#: plugins/sudoers/pwutil.c:913 plugins/sudoers/pwutil.c:957 +#: plugins/sudoers/pwutil.c:1014 plugins/sudoers/sssd.c:145 +#: plugins/sudoers/sssd.c:185 plugins/sudoers/sssd.c:414 +#: plugins/sudoers/sssd.c:479 plugins/sudoers/sssd.c:505 +#: plugins/sudoers/sssd.c:568 plugins/sudoers/sssd.c:761 +#: plugins/sudoers/strvec_join.c:53 plugins/sudoers/stubs.c:111 +#: plugins/sudoers/stubs.c:119 plugins/sudoers/sudoers.c:335 +#: plugins/sudoers/sudoers.c:361 plugins/sudoers/sudoers.c:429 +#: plugins/sudoers/sudoers.c:438 plugins/sudoers/sudoers.c:479 +#: plugins/sudoers/sudoers.c:842 plugins/sudoers/sudoers.c:980 +#: plugins/sudoers/sudoers.c:1039 plugins/sudoers/sudoers.c:1305 +#: plugins/sudoers/sudoreplay.c:562 plugins/sudoers/sudoreplay.c:565 +#: plugins/sudoers/sudoreplay.c:1281 plugins/sudoers/sudoreplay.c:1503 +#: plugins/sudoers/sudoreplay.c:1507 plugins/sudoers/testsudoers.c:120 +#: plugins/sudoers/testsudoers.c:224 plugins/sudoers/testsudoers.c:241 +#: plugins/sudoers/testsudoers.c:580 plugins/sudoers/timestamp.c:424 +#: plugins/sudoers/timestamp.c:468 plugins/sudoers/timestamp.c:980 +#: plugins/sudoers/timestamp.c:1118 plugins/sudoers/toke_util.c:78 +#: plugins/sudoers/toke_util.c:106 plugins/sudoers/toke_util.c:131 +#: plugins/sudoers/toke_util.c:161 plugins/sudoers/toke_util.c:200 +#: plugins/sudoers/tsdump.c:123 plugins/sudoers/visudo.c:145 +#: plugins/sudoers/visudo.c:344 plugins/sudoers/visudo.c:350 +#: plugins/sudoers/visudo.c:456 plugins/sudoers/visudo.c:632 +#: plugins/sudoers/visudo.c:962 plugins/sudoers/visudo.c:1035 toke.l:1015 +#: toke.l:1147 toke.l:1218 +msgid "unable to allocate memory" +msgstr "muistin varaaminen epäonnistui" + +#: gram.y:615 +msgid "a digest requires a path name" +msgstr "tiiviste vaatii polkunimen" + +#: gram.y:637 +msgid "values for \"CWD\" must start with a '/', '~', or '*'" +msgstr "”CWD”-muuttujan arvon on alettava merkillä ’/’, ’~’ tai ’*’" + +#: gram.y:643 +msgid "\"CWD\" path too long" +msgstr "”CWD”-polku liian pitkä" + +#: gram.y:653 +msgid "values for \"CHROOT\" must start with a '/', '~', or '*'" +msgstr "”CHROOT”-muuttujan arvon on alettava merkillä ’/’, ’~’ tai ’*’" + +#: gram.y:659 +msgid "\"CHROOT\" path too long" +msgstr "”CHROOT”-polku liian pitkä" + +#: gram.y:788 +#, c-format +msgid "syntax error, reserved word %s used as an alias name" +msgstr "syntaksivirhe, varattua sanaa %s käytetty aliaksen nimenä" + +#: gram.y:811 +msgid "invalid notbefore value" +msgstr "virheellinen notbefore-arvo" + +#: gram.y:820 +msgid "invalid notafter value" +msgstr "virheellinen notafter-arvo" + +#: gram.y:830 plugins/sudoers/policy.c:353 +msgid "timeout value too large" +msgstr "aikakatkaisuarvo on liian suuri" + +#: gram.y:832 plugins/sudoers/policy.c:355 +msgid "invalid timeout value" +msgstr "virheellinen aikakatkaisuarvo" + +#: gram.y:946 plugins/sudoers/sudoers.c:998 +msgid "command too long" +msgstr "komento on liian pitkä" + +#: gram.y:1200 +#, c-format +msgid "%s:%d:%d: %s\n" +msgstr "%s:%d:%d: %s\n" + +#: gram.y:1250 +#, c-format +msgid "Alias \"%s\" already defined" +msgstr "Alias ”%s” on jo määritelty" + +#: gram.y:1748 gram.y:1798 lib/eventlog/eventlog.c:309 +#: lib/eventlog/eventlog.c:804 lib/eventlog/eventlog.c:877 +#: lib/eventlog/eventlog.c:880 lib/eventlog/eventlog.c:1176 +#: lib/iolog/iolog_filter.c:142 lib/iolog/iolog_filter.c:204 +#: lib/iolog/iolog_filter.c:232 lib/iolog/iolog_json.c:150 +#: lib/iolog/iolog_json.c:381 lib/iolog/iolog_json.c:412 +#: lib/iolog/iolog_json.c:555 lib/iolog/iolog_legacy.c:100 +#: lib/iolog/iolog_legacy.c:111 lib/iolog/iolog_legacy.c:123 +#: lib/iolog/iolog_legacy.c:133 lib/iolog/iolog_legacy.c:139 +#: lib/iolog/iolog_loginfo.c:76 lib/iolog/iolog_loginfo.c:212 +#: logsrvd/iolog_writer.c:84 logsrvd/iolog_writer.c:89 +#: logsrvd/iolog_writer.c:123 logsrvd/iolog_writer.c:162 +#: logsrvd/iolog_writer.c:171 logsrvd/iolog_writer.c:189 +#: logsrvd/iolog_writer.c:211 logsrvd/iolog_writer.c:224 +#: logsrvd/iolog_writer.c:251 logsrvd/iolog_writer.c:260 +#: logsrvd/iolog_writer.c:276 logsrvd/iolog_writer.c:285 +#: logsrvd/iolog_writer.c:300 logsrvd/iolog_writer.c:313 +#: logsrvd/iolog_writer.c:326 logsrvd/iolog_writer.c:339 +#: logsrvd/iolog_writer.c:354 logsrvd/iolog_writer.c:393 +#: logsrvd/iolog_writer.c:399 logsrvd/iolog_writer.c:406 +#: logsrvd/iolog_writer.c:412 logsrvd/iolog_writer.c:596 +#: logsrvd/logsrv_util.c:64 logsrvd/logsrvd.c:296 logsrvd/logsrvd.c:305 +#: logsrvd/logsrvd.c:448 logsrvd/logsrvd.c:485 logsrvd/logsrvd.c:593 +#: logsrvd/logsrvd.c:1084 logsrvd/logsrvd.c:1400 logsrvd/logsrvd.c:1406 +#: logsrvd/logsrvd_conf.c:1443 logsrvd/logsrvd_journal.c:70 +#: logsrvd/logsrvd_journal.c:114 logsrvd/logsrvd_journal.c:203 +#: logsrvd/logsrvd_journal.c:233 logsrvd/logsrvd_journal.c:237 +#: logsrvd/logsrvd_journal.c:245 logsrvd/logsrvd_journal.c:268 +#: logsrvd/logsrvd_journal.c:272 logsrvd/logsrvd_journal.c:425 +#: logsrvd/logsrvd_local.c:174 logsrvd/logsrvd_local.c:237 +#: logsrvd/logsrvd_local.c:425 logsrvd/logsrvd_local.c:431 +#: logsrvd/logsrvd_local.c:450 logsrvd/logsrvd_queue.c:153 +#: logsrvd/logsrvd_queue.c:184 logsrvd/logsrvd_queue.c:261 +#: logsrvd/sendlog.c:246 logsrvd/sendlog.c:255 logsrvd/sendlog.c:333 +#: logsrvd/sendlog.c:640 logsrvd/sendlog.c:1526 logsrvd/sendlog.c:1533 +#: logsrvd/sendlog.c:1756 logsrvd/tls_init.c:293 logsrvd/tls_init.c:314 +#: logsrvd/tls_init.c:324 plugins/sudoers/audit.c:116 +#: plugins/sudoers/auth/pam.c:502 plugins/sudoers/auth/pam.c:687 +#: plugins/sudoers/auth/rfc1938.c:111 plugins/sudoers/check_aliases.c:134 +#: plugins/sudoers/cvtsudoers.c:131 plugins/sudoers/cvtsudoers.c:174 +#: plugins/sudoers/cvtsudoers.c:191 plugins/sudoers/cvtsudoers.c:202 +#: plugins/sudoers/cvtsudoers.c:332 plugins/sudoers/cvtsudoers.c:536 +#: plugins/sudoers/cvtsudoers.c:669 plugins/sudoers/cvtsudoers.c:687 +#: plugins/sudoers/cvtsudoers.c:758 plugins/sudoers/cvtsudoers.c:873 +#: plugins/sudoers/cvtsudoers.c:880 plugins/sudoers/cvtsudoers.c:1376 +#: plugins/sudoers/cvtsudoers.c:1380 plugins/sudoers/cvtsudoers.c:1482 +#: plugins/sudoers/cvtsudoers_csv.c:182 plugins/sudoers/cvtsudoers_csv.c:245 +#: plugins/sudoers/cvtsudoers_json.c:75 plugins/sudoers/cvtsudoers_ldif.c:150 +#: plugins/sudoers/cvtsudoers_ldif.c:193 plugins/sudoers/cvtsudoers_ldif.c:234 +#: plugins/sudoers/cvtsudoers_ldif.c:299 plugins/sudoers/cvtsudoers_ldif.c:375 +#: plugins/sudoers/cvtsudoers_ldif.c:429 plugins/sudoers/cvtsudoers_ldif.c:437 +#: plugins/sudoers/cvtsudoers_ldif.c:448 plugins/sudoers/cvtsudoers_ldif.c:455 +#: plugins/sudoers/cvtsudoers_ldif.c:468 plugins/sudoers/cvtsudoers_ldif.c:476 +#: plugins/sudoers/cvtsudoers_ldif.c:623 plugins/sudoers/cvtsudoers_merge.c:47 +#: plugins/sudoers/cvtsudoers_merge.c:51 +#: plugins/sudoers/cvtsudoers_merge.c:353 +#: plugins/sudoers/cvtsudoers_merge.c:399 +#: plugins/sudoers/cvtsudoers_merge.c:445 +#: plugins/sudoers/cvtsudoers_merge.c:466 +#: plugins/sudoers/cvtsudoers_merge.c:553 +#: plugins/sudoers/cvtsudoers_merge.c:561 +#: plugins/sudoers/cvtsudoers_merge.c:564 +#: plugins/sudoers/cvtsudoers_merge.c:630 +#: plugins/sudoers/cvtsudoers_merge.c:633 +#: plugins/sudoers/cvtsudoers_merge.c:1149 +#: plugins/sudoers/cvtsudoers_merge.c:1223 plugins/sudoers/defaults.c:468 +#: plugins/sudoers/defaults.c:690 plugins/sudoers/defaults.c:1051 +#: plugins/sudoers/defaults.c:1243 plugins/sudoers/editor.c:190 +#: plugins/sudoers/env.c:262 plugins/sudoers/exptilde.c:92 +#: plugins/sudoers/filedigest.c:54 plugins/sudoers/filedigest.c:70 +#: plugins/sudoers/gc.c:57 plugins/sudoers/group_plugin.c:132 +#: plugins/sudoers/interfaces.c:68 plugins/sudoers/iolog.c:264 +#: plugins/sudoers/iolog.c:664 plugins/sudoers/iolog.c:690 +#: plugins/sudoers/ldap.c:184 plugins/sudoers/ldap.c:433 +#: plugins/sudoers/ldap.c:443 plugins/sudoers/ldap.c:448 +#: plugins/sudoers/ldap.c:452 plugins/sudoers/ldap.c:464 +#: plugins/sudoers/ldap.c:760 plugins/sudoers/ldap.c:924 +#: plugins/sudoers/ldap.c:1340 plugins/sudoers/ldap.c:1766 +#: plugins/sudoers/ldap.c:1803 plugins/sudoers/ldap.c:1884 +#: plugins/sudoers/ldap.c:2019 plugins/sudoers/ldap.c:2120 +#: plugins/sudoers/ldap.c:2136 plugins/sudoers/ldap_conf.c:218 +#: plugins/sudoers/ldap_conf.c:249 plugins/sudoers/ldap_conf.c:301 +#: plugins/sudoers/ldap_conf.c:337 plugins/sudoers/ldap_conf.c:443 +#: plugins/sudoers/ldap_conf.c:458 plugins/sudoers/ldap_conf.c:563 +#: plugins/sudoers/ldap_conf.c:596 plugins/sudoers/ldap_conf.c:687 +#: plugins/sudoers/ldap_conf.c:770 plugins/sudoers/ldap_util.c:293 +#: plugins/sudoers/ldap_util.c:300 plugins/sudoers/ldap_util.c:614 +#: plugins/sudoers/linux_audit.c:86 plugins/sudoers/log_client.c:112 +#: plugins/sudoers/log_client.c:221 plugins/sudoers/log_client.c:242 +#: plugins/sudoers/log_client.c:255 plugins/sudoers/log_client.c:390 +#: plugins/sudoers/log_client.c:703 plugins/sudoers/log_client.c:724 +#: plugins/sudoers/log_client.c:1444 plugins/sudoers/log_client.c:1662 +#: plugins/sudoers/log_client.c:1989 plugins/sudoers/log_client.c:2045 +#: plugins/sudoers/logging.c:104 plugins/sudoers/logging.c:184 +#: plugins/sudoers/logging.c:185 plugins/sudoers/logging.c:468 +#: plugins/sudoers/logging.c:488 plugins/sudoers/logging.c:628 +#: plugins/sudoers/match_command.c:323 plugins/sudoers/match_command.c:566 +#: plugins/sudoers/match_command.c:615 plugins/sudoers/match_command.c:688 +#: plugins/sudoers/match_command.c:735 plugins/sudoers/match_digest.c:93 +#: plugins/sudoers/parse.c:200 plugins/sudoers/parse.c:217 +#: plugins/sudoers/parse.c:249 plugins/sudoers/parse.c:266 +#: plugins/sudoers/parse.c:289 plugins/sudoers/parse.c:300 +#: plugins/sudoers/parse_ldif.c:152 plugins/sudoers/parse_ldif.c:183 +#: plugins/sudoers/parse_ldif.c:252 plugins/sudoers/parse_ldif.c:260 +#: plugins/sudoers/parse_ldif.c:265 plugins/sudoers/parse_ldif.c:341 +#: plugins/sudoers/parse_ldif.c:352 plugins/sudoers/parse_ldif.c:379 +#: plugins/sudoers/parse_ldif.c:396 plugins/sudoers/parse_ldif.c:408 +#: plugins/sudoers/parse_ldif.c:412 plugins/sudoers/parse_ldif.c:426 +#: plugins/sudoers/parse_ldif.c:484 plugins/sudoers/parse_ldif.c:597 +#: plugins/sudoers/parse_ldif.c:626 plugins/sudoers/parse_ldif.c:651 +#: plugins/sudoers/parse_ldif.c:709 plugins/sudoers/parse_ldif.c:726 +#: plugins/sudoers/parse_ldif.c:754 plugins/sudoers/parse_ldif.c:761 +#: plugins/sudoers/policy.c:152 plugins/sudoers/policy.c:161 +#: plugins/sudoers/policy.c:170 plugins/sudoers/policy.c:197 +#: plugins/sudoers/policy.c:338 plugins/sudoers/policy.c:353 +#: plugins/sudoers/policy.c:355 plugins/sudoers/policy.c:391 +#: plugins/sudoers/policy.c:400 plugins/sudoers/policy.c:448 +#: plugins/sudoers/policy.c:458 plugins/sudoers/policy.c:467 +#: plugins/sudoers/policy.c:476 plugins/sudoers/policy.c:570 +#: plugins/sudoers/policy.c:952 plugins/sudoers/prompt.c:93 +#: plugins/sudoers/pwutil.c:199 plugins/sudoers/pwutil.c:270 +#: plugins/sudoers/pwutil.c:348 plugins/sudoers/pwutil.c:522 +#: plugins/sudoers/pwutil.c:587 plugins/sudoers/pwutil.c:659 +#: plugins/sudoers/pwutil.c:857 plugins/sudoers/pwutil.c:913 +#: plugins/sudoers/pwutil.c:957 plugins/sudoers/pwutil.c:1014 +#: plugins/sudoers/set_perms.c:363 plugins/sudoers/set_perms.c:706 +#: plugins/sudoers/set_perms.c:1073 plugins/sudoers/set_perms.c:1380 +#: plugins/sudoers/set_perms.c:1549 plugins/sudoers/sssd.c:144 +#: plugins/sudoers/sssd.c:185 plugins/sudoers/sssd.c:414 +#: plugins/sudoers/sssd.c:479 plugins/sudoers/sssd.c:505 +#: plugins/sudoers/sssd.c:568 plugins/sudoers/sssd.c:761 +#: plugins/sudoers/strvec_join.c:53 plugins/sudoers/stubs.c:111 +#: plugins/sudoers/stubs.c:119 plugins/sudoers/sudoers.c:335 +#: plugins/sudoers/sudoers.c:361 plugins/sudoers/sudoers.c:429 +#: plugins/sudoers/sudoers.c:438 plugins/sudoers/sudoers.c:479 +#: plugins/sudoers/sudoers.c:842 plugins/sudoers/sudoers.c:980 +#: plugins/sudoers/sudoers.c:1039 plugins/sudoers/sudoers.c:1305 +#: plugins/sudoers/sudoreplay.c:562 plugins/sudoers/sudoreplay.c:565 +#: plugins/sudoers/sudoreplay.c:1281 plugins/sudoers/sudoreplay.c:1503 +#: plugins/sudoers/sudoreplay.c:1507 plugins/sudoers/testsudoers.c:120 +#: plugins/sudoers/testsudoers.c:224 plugins/sudoers/testsudoers.c:241 +#: plugins/sudoers/testsudoers.c:580 plugins/sudoers/timestamp.c:424 +#: plugins/sudoers/timestamp.c:468 plugins/sudoers/timestamp.c:980 +#: plugins/sudoers/timestamp.c:1118 plugins/sudoers/toke_util.c:78 +#: plugins/sudoers/toke_util.c:106 plugins/sudoers/toke_util.c:131 +#: plugins/sudoers/toke_util.c:160 plugins/sudoers/toke_util.c:200 +#: plugins/sudoers/tsdump.c:123 plugins/sudoers/visudo.c:145 +#: plugins/sudoers/visudo.c:344 plugins/sudoers/visudo.c:350 +#: plugins/sudoers/visudo.c:456 plugins/sudoers/visudo.c:632 +#: plugins/sudoers/visudo.c:962 plugins/sudoers/visudo.c:1035 toke.l:1015 +#: toke.l:1147 toke.l:1210 toke.l:1218 +#, c-format +msgid "%s: %s" +msgstr "%s: %s" + +#: lib/eventlog/eventlog.c:314 lib/iolog/iolog_json.c:562 +#: lib/iolog/iolog_json.c:568 lib/iolog/iolog_json.c:574 +#: plugins/sudoers/cvtsudoers_csv.c:192 plugins/sudoers/cvtsudoers_csv.c:199 +#: plugins/sudoers/cvtsudoers_ldif.c:244 plugins/sudoers/cvtsudoers_ldif.c:251 +#: plugins/sudoers/cvtsudoers_ldif.c:580 plugins/sudoers/env.c:326 +#: plugins/sudoers/env.c:333 plugins/sudoers/env.c:444 +#: plugins/sudoers/ldap.c:531 plugins/sudoers/ldap.c:764 +#: plugins/sudoers/ldap.c:1137 plugins/sudoers/ldap_conf.c:222 +#: plugins/sudoers/ldap_conf.c:312 plugins/sudoers/ldap_util.c:486 +#: plugins/sudoers/linux_audit.c:92 plugins/sudoers/policy.c:740 +#: plugins/sudoers/policy.c:751 plugins/sudoers/prompt.c:168 +#: plugins/sudoers/serialize_list.c:62 plugins/sudoers/serialize_list.c:71 +#: plugins/sudoers/strvec_join.c:62 plugins/sudoers/testsudoers.c:245 +#: plugins/sudoers/toke_util.c:213 toke.l:979 toke.l:1181 +#, c-format +msgid "internal error, %s overflow" +msgstr "sisäinen virhe, %s-ylivuoto" + +#: lib/eventlog/eventlog.c:373 +#, c-format +msgid "unable to dup stdin: %m" +msgstr "funktion dup kutsuminen vakiosyötteellä epäonnistui: %m" + +#: lib/eventlog/eventlog.c:415 +#, c-format +msgid "unable to execute %s: %m" +msgstr "käskyn %s suorittaminen epäonnistui: %m" + +#: lib/eventlog/eventlog.c:456 plugins/sudoers/auth/aix_auth.c:198 +msgid "unable to fork" +msgstr "haarauttaminen epäonnistui" + +#: lib/eventlog/eventlog.c:464 lib/eventlog/eventlog.c:518 +#, c-format +msgid "unable to fork: %m" +msgstr "fork-funktion kutsuminen epäonnistui: %m" + +#: lib/eventlog/eventlog.c:508 +#, c-format +msgid "unable to open pipe: %m" +msgstr "putken avaaminen epäonnistui: %m" + +#: lib/eventlog/eventlog.c:1007 +#, c-format +msgid "%8s : %s" +msgstr "%8s : %s" + +#: lib/eventlog/eventlog.c:1036 +#, c-format +msgid "%8s : (command continued) %s" +msgstr "%8s: (komento jatkui) %s" + +#: lib/iolog/iolog_filter.c:133 plugins/sudoers/defaults.c:1296 +#: plugins/sudoers/sudoreplay.c:1293 plugins/sudoers/sudoreplay.c:1558 +#, fuzzy, c-format +#| msgid "invalid regular expression: %s" +msgid "invalid regular expression \"%s\": %s" +msgstr "virheellinen säännöllinen lauseke: %s" + +#: lib/iolog/iolog_json.c:140 +#, c-format +msgid "expected JSON_STRING, got %d" +msgstr "odotettiin JSON_STRINGiä, saatiin %d" + +#: lib/iolog/iolog_json.c:145 +msgid "JSON_ARRAY too large" +msgstr "JSON_ARRAY liian suuri" + +#: lib/iolog/iolog_json.c:404 +msgid "missing double quote in name" +msgstr "nimestä puuttuu lainausmerkki" + +#: lib/iolog/iolog_json.c:501 +msgid "missing JSON_OBJECT" +msgstr "puuttuva JSON_OBJECT" + +#: lib/iolog/iolog_json.c:505 +#, c-format +msgid "expected JSON_OBJECT, got %d" +msgstr "odotettiin JSON_OBJECTia, saatiin %d" + +#: lib/iolog/iolog_json.c:661 +#, c-format +msgid "json stack exhausted (max %u frames)" +msgstr "json-pino täyttyi (enintään %u kehystä)" + +#: lib/iolog/iolog_json.c:735 +msgid "objects must consist of name:value pairs" +msgstr "objektien on oltava nimi:arvo-pareja" + +#: lib/iolog/iolog_json.c:740 lib/iolog/iolog_json.c:771 +#: lib/iolog/iolog_json.c:815 lib/iolog/iolog_json.c:837 +#: lib/iolog/iolog_json.c:859 lib/iolog/iolog_json.c:881 +#: lib/iolog/iolog_json.c:903 +msgid "missing separator between values" +msgstr "arvojen välinen erotin puuttuu" + +#: lib/iolog/iolog_json.c:755 lib/iolog/iolog_json.c:929 +msgid "unmatched close brace" +msgstr "pariton sulkeva aaltosulje" + +#: lib/iolog/iolog_json.c:766 +msgid "unexpected array" +msgstr "odottamaton taulukko" + +#: lib/iolog/iolog_json.c:786 lib/iolog/iolog_json.c:932 +msgid "unmatched close bracket" +msgstr "pariton sulkeva kulmasulje" + +#: lib/iolog/iolog_json.c:797 +msgid "unexpected string" +msgstr "odottamaton merkkijono" + +#: lib/iolog/iolog_json.c:808 +msgid "missing colon after name" +msgstr "puuttuva kaksoispiste nimen jälkeen" + +#: lib/iolog/iolog_json.c:829 lib/iolog/iolog_json.c:851 +msgid "unexpected boolean" +msgstr "odottamaton totuusarvo" + +#: lib/iolog/iolog_json.c:873 +msgid "unexpected null" +msgstr "odottamaton null" + +#: lib/iolog/iolog_json.c:894 +msgid "unexpected number" +msgstr "odottamaton lukuarvo" + +#: lib/iolog/iolog_json.c:941 +msgid "parse error" +msgstr "jäsennysvirhe" + +#: lib/iolog/iolog_legacy.c:65 +#, c-format +msgid "%s: invalid log file" +msgstr "%s: virheellinen lokitiedosto" + +#: lib/iolog/iolog_legacy.c:83 +#, c-format +msgid "%s: time stamp field is missing" +msgstr "%s: aikaleimakenttä puuttuu" + +#: lib/iolog/iolog_legacy.c:89 +#, c-format +msgid "%s: time stamp %s: %s" +msgstr "%s: aikaleima %s: %s" + +#: lib/iolog/iolog_legacy.c:96 +#, c-format +msgid "%s: user field is missing" +msgstr "%s: käyttäjäkenttä puuttuu" + +#: lib/iolog/iolog_legacy.c:107 +#, c-format +msgid "%s: runas user field is missing" +msgstr "%s: suorita käyttäjänä-kenttä puuttuu" + +#: lib/iolog/iolog_legacy.c:118 +#, c-format +msgid "%s: runas group field is missing" +msgstr "%s: suorita ryhmänä-kenttä puuttuu" + +#: lib/iolog/iolog_mkdirs.c:89 +#, c-format +msgid "%s exists but is not a directory (0%o)" +msgstr "%s on olemassa, mutta ei ole hakemisto (0%o)" + +#: lib/iolog/iolog_mkdirs.c:119 lib/iolog/iolog_mkdtemp.c:77 +#: logsrvd/iolog_writer.c:807 plugins/sudoers/timestamp.c:205 +#, c-format +msgid "unable to mkdir %s" +msgstr "käskyn mkdir %s suorittaminen epäonnistui" + +#: lib/iolog/iolog_mkdtemp.c:81 plugins/sudoers/visudo.c:731 +#: plugins/sudoers/visudo.c:765 plugins/sudoers/visudo.c:771 +#, c-format +msgid "unable to change mode of %s to 0%o" +msgstr "tilan %s vaihtaminen arvoon 0%o epäonnistui" + +#: lib/iolog/iolog_timing.c:261 +#, c-format +msgid "error reading timing file: %s" +msgstr "virhe luettaessa ajoitustiedostoa: %s" + +#: lib/iolog/iolog_timing.c:268 +#, c-format +msgid "invalid timing file line: %s" +msgstr "virheellinen ajoitustiedostorivi: %s" + +# Parametri on path, mutta saattaa sisältää suoritettavan ohjelman +#: logsrvd/iolog_writer.c:130 plugins/sudoers/logging.c:804 +#: plugins/sudoers/policy.c:550 +msgid "unable to generate UUID" +msgstr "UUID-tunnusta ei voi luoda" + +#: logsrvd/iolog_writer.c:158 logsrvd/iolog_writer.c:176 +#: logsrvd/iolog_writer.c:185 logsrvd/iolog_writer.c:203 +#: logsrvd/iolog_writer.c:216 logsrvd/iolog_writer.c:229 +#: logsrvd/iolog_writer.c:240 logsrvd/iolog_writer.c:247 +#: logsrvd/iolog_writer.c:265 logsrvd/iolog_writer.c:272 +#: logsrvd/iolog_writer.c:290 logsrvd/iolog_writer.c:305 +#: logsrvd/iolog_writer.c:318 logsrvd/iolog_writer.c:331 +#: logsrvd/iolog_writer.c:344 logsrvd/iolog_writer.c:359 +#, c-format +msgid "%s: protocol error: wrong type for %s" +msgstr "%s: protokollavirhe: väärä tyyppi %s:lle" + +#: logsrvd/iolog_writer.c:370 logsrvd/iolog_writer.c:375 +#: logsrvd/iolog_writer.c:380 logsrvd/iolog_writer.c:385 +#, c-format +msgid "%s: protocol error: %s missing from AcceptMessage" +msgstr "%s: protokollavirhe: %s puuttuu AcceptMessagesta" + +#: logsrvd/iolog_writer.c:446 +#, c-format +msgid "%s: unable to format session id" +msgstr "%s: istuntotunnusta ei voi muotoilla" + +#: logsrvd/iolog_writer.c:460 logsrvd/iolog_writer.c:474 +#: logsrvd/iolog_writer.c:488 logsrvd/iolog_writer.c:503 +#: logsrvd/iolog_writer.c:517 logsrvd/iolog_writer.c:531 +#, c-format +msgid "%s: %s is not set" +msgstr "%s: %s on asettamatta" + +#: logsrvd/iolog_writer.c:567 logsrvd/iolog_writer.c:574 +#, fuzzy, c-format +#| msgid "unable to open log file: %s" +msgid "unable to expand iolog path %s" +msgstr "lokitiedoston avaaminen epäonnistui: %s" + +# Parametrina on pathbuf +#: logsrvd/iolog_writer.c:592 +#, fuzzy, c-format +#| msgid "unable to create %s/%s" +msgid "unable to create iolog path %s" +msgstr "tiedostoa %s/%s ei voida luoda" + +#: logsrvd/iolog_writer.c:622 +#, c-format +msgid "invalid iofd %d" +msgstr "virheellinen iofd %d" + +#: logsrvd/iolog_writer.c:642 +#, c-format +msgid "error closing iofd %d: %s" +msgstr "virhe suljettaessa iofd:tä %d: %s" + +#: logsrvd/iolog_writer.c:662 +#, c-format +msgid "error flushing iofd %d: %s" +msgstr "virhe huuhdeltaessa iofd:tä %d: %s" + +# Toiseksi viimeinen %s on esim. ""Host_Alias" ja viimeinen sen nimi. +#: logsrvd/iolog_writer.c:777 +#, fuzzy, c-format +#| msgid "Warning: %s:%d:%d: %s \"%s\" referenced but not defined" +msgid "invalid I/O log %s: %s referenced but not present" +msgstr "Varoitus: %s:%d:%d määrittelemätön %s ”%s” viitattuna mutta määrittelemättä" + +#: logsrvd/iolog_writer.c:789 logsrvd/logsrvd_journal.c:377 +#, fuzzy, c-format +#| msgid "unable to find resume point [%lld, %ld] in %s/%s" +msgid "%s: unable to find resume point [%lld, %ld]" +msgstr "jatkopistettä [%lld, %ld] ei löydy tiedostosta %s/%s" + +# Avaamisen kohde voi olla timestamp file, sudoers file tai pathbuf +#: logsrvd/iolog_writer.c:811 logsrvd/logsrvd_journal.c:420 +#: logsrvd/logsrvd_queue.c:110 logsrvd/tls_init.c:245 +#: plugins/sudoers/check.c:273 plugins/sudoers/cvtsudoers.c:730 +#: plugins/sudoers/cvtsudoers.c:751 plugins/sudoers/cvtsudoers.c:1442 +#: plugins/sudoers/cvtsudoers_csv.c:681 plugins/sudoers/cvtsudoers_json.c:885 +#: plugins/sudoers/cvtsudoers_ldif.c:697 plugins/sudoers/sudoers.c:1092 +#: plugins/sudoers/sudoreplay.c:1469 plugins/sudoers/timestamp.c:433 +#: plugins/sudoers/tsdump.c:128 plugins/sudoers/visudo.c:949 +#, c-format +msgid "unable to open %s" +msgstr "kohteen %s avaaminen epäonnistui" + +# Avaamisen kohde voi olla timestamp file, sudoers file tai pathbuf +#: logsrvd/iolog_writer.c:823 logsrvd/logsrv_util.c:100 +#: logsrvd/logsrv_util.c:107 plugins/sudoers/sudoreplay.c:362 +#: plugins/sudoers/sudoreplay.c:368 +#, c-format +msgid "unable to open %s/%s" +msgstr "ei voi avata tiedostoa %s/%s" + +#: logsrvd/iolog_writer.c:836 +#, fuzzy, c-format +#| msgid "unable to read %s/%s: %s" +msgid "unable to copy %s/%s to %s/%s: %s" +msgstr "tiedostosta %s/%s lukeminen epäonnistui: %s" + +# Parametrina on pathbuf +#: logsrvd/iolog_writer.c:865 logsrvd/logsrvd_journal.c:185 +#, c-format +msgid "unable to rename %s to %s" +msgstr "tiedoston %s uudelleennimeäminen nimelle %s epäonnistui" + +#: logsrvd/logsrv_util.c:139 logsrvd/logsrv_util.c:168 +#, c-format +msgid "%s/%s: unable to find resume point [%lld, %ld]" +msgstr "%s/%s: jatkopistettä [%lld, %ld] ei löydy" + +#: logsrvd/logsrv_util.c:151 +#, c-format +msgid "missing I/O log file %s/%s" +msgstr "puuttuva siirräntälokitiedosto %s/%s" + +# Ensimmäinen parametri on auth name +#: logsrvd/logsrv_util.c:158 +#, c-format +msgid "%s/%s: unable to seek forward %zu" +msgstr "%s/%s: siirtyminen %zu tavua eteenpäin epäonnistui" + +#: logsrvd/logsrvd.c:266 logsrvd/logsrvd_queue.c:130 +#, fuzzy +#| msgid "unable to connect to relay host" +msgid "unable to connect to relay" +msgstr "yhteyden muodostaminen välitinkoneeseen ei onnistu" + +#: logsrvd/logsrvd.c:325 logsrvd/logsrvd_relay.c:835 +#, c-format +msgid "server message too large: %zu" +msgstr "palvelinsanoma on liian suuri: %zu" + +#: logsrvd/logsrvd.c:417 logsrvd/logsrvd.c:534 logsrvd/logsrvd.c:613 +#: logsrvd/logsrvd.c:837 logsrvd/logsrvd.c:851 logsrvd/logsrvd.c:1010 +#: logsrvd/logsrvd.c:1134 logsrvd/logsrvd.c:1307 logsrvd/logsrvd.c:1325 +#: logsrvd/logsrvd.c:1423 logsrvd/logsrvd.c:1546 logsrvd/logsrvd.c:1730 +#: logsrvd/logsrvd_journal.c:489 logsrvd/logsrvd_local.c:197 +#: logsrvd/logsrvd_queue.c:159 logsrvd/logsrvd_relay.c:167 +#: logsrvd/logsrvd_relay.c:244 logsrvd/logsrvd_relay.c:248 +#: logsrvd/logsrvd_relay.c:384 logsrvd/logsrvd_relay.c:576 +#: logsrvd/logsrvd_relay.c:737 logsrvd/logsrvd_relay.c:1121 +#: logsrvd/sendlog.c:1316 logsrvd/tls_client.c:131 logsrvd/tls_client.c:147 +#: logsrvd/tls_client.c:209 plugins/sudoers/audit.c:276 +#: plugins/sudoers/iolog.c:1027 plugins/sudoers/iolog.c:1160 +#: plugins/sudoers/iolog.c:1258 plugins/sudoers/log_client.c:116 +#: plugins/sudoers/log_client.c:332 plugins/sudoers/log_client.c:348 +#: plugins/sudoers/log_client.c:395 plugins/sudoers/log_client.c:599 +#: plugins/sudoers/log_client.c:606 plugins/sudoers/log_client.c:1131 +#: plugins/sudoers/log_client.c:1413 plugins/sudoers/log_client.c:1454 +#: plugins/sudoers/log_client.c:1462 plugins/sudoers/log_client.c:1618 +#: plugins/sudoers/log_client.c:1734 plugins/sudoers/log_client.c:2053 +#: plugins/sudoers/log_client.c:2061 plugins/sudoers/logging.c:142 +#: plugins/sudoers/logging.c:199 plugins/sudoers/sudoreplay.c:522 +#: plugins/sudoers/sudoreplay.c:569 plugins/sudoers/sudoreplay.c:811 +#: plugins/sudoers/sudoreplay.c:923 plugins/sudoers/sudoreplay.c:1014 +#: plugins/sudoers/sudoreplay.c:1029 plugins/sudoers/sudoreplay.c:1036 +#: plugins/sudoers/sudoreplay.c:1043 plugins/sudoers/sudoreplay.c:1050 +#: plugins/sudoers/sudoreplay.c:1057 plugins/sudoers/sudoreplay.c:1184 +msgid "unable to add event to queue" +msgstr "tapahtuman lisääminen jonoon epäonnistui" + +#: logsrvd/logsrvd.c:441 logsrvd/logsrvd.c:478 logsrvd/logsrvd.c:510 +#: logsrvd/logsrvd.c:558 logsrvd/logsrvd.c:630 logsrvd/logsrvd.c:660 +#: logsrvd/logsrvd.c:690 logsrvd/logsrvd.c:720 logsrvd/logsrvd_relay.c:505 +#: logsrvd/logsrvd_relay.c:538 +#, fuzzy, c-format +#| msgid "%s: unexpected state %d" +msgid "unexpected state %d for %s" +msgstr "%s: odottamaton tila %d" + +#: logsrvd/logsrvd.c:442 logsrvd/logsrvd.c:479 logsrvd/logsrvd.c:511 +#: logsrvd/logsrvd.c:559 logsrvd/logsrvd.c:631 logsrvd/logsrvd.c:661 +#: logsrvd/logsrvd.c:691 logsrvd/logsrvd.c:721 logsrvd/logsrvd_relay.c:507 +#: logsrvd/logsrvd_relay.c:540 +msgid "state machine error" +msgstr "tilakoneen virhe" + +#: logsrvd/logsrvd.c:448 logsrvd/logsrvd.c:449 +msgid "invalid AcceptMessage" +msgstr "virheellinen AcceptMessage" + +#: logsrvd/logsrvd.c:485 logsrvd/logsrvd.c:486 +msgid "invalid RejectMessage" +msgstr "virheellinen RejectMessage" + +#: logsrvd/logsrvd.c:593 logsrvd/logsrvd.c:594 +msgid "invalid AlertMessage" +msgstr "virheellinen AlertMessage" + +#: logsrvd/logsrvd.c:635 logsrvd/logsrvd.c:665 logsrvd/logsrvd.c:695 +#, c-format +msgid "%s: unexpected IoBuffer" +msgstr "%s: odottamaton IoBuffer" + +#: logsrvd/logsrvd.c:636 logsrvd/logsrvd.c:666 logsrvd/logsrvd.c:696 +msgid "protocol error" +msgstr "protokollavirhe" + +#: logsrvd/logsrvd.c:791 logsrvd/logsrvd_journal.c:357 +#: logsrvd/logsrvd_local.c:125 logsrvd/logsrvd_relay.c:671 +#, fuzzy, c-format +#| msgid "%s: unexpected type_case value %d" +msgid "unexpected type_case value %d in %s from %s" +msgstr "%s: odottamaton type_case-arvo %d" + +#: logsrvd/logsrvd.c:793 +msgid "unrecognized ClientMessage type" +msgstr "tunnistamaton ClientMessage-tyyppi" + +#: logsrvd/logsrvd.c:883 +#, c-format +msgid "timed out writing to client %s" +msgstr "aikakatkaisu kirjoitettaessa asiakkaalle %s" + +#: logsrvd/logsrvd.c:888 logsrvd/logsrvd_relay.c:907 logsrvd/sendlog.c:1420 +#, fuzzy, c-format +#| msgid "missing write buffer" +msgid "missing write buffer for client %s" +msgstr "puuttuva kirjoituspuskuri" + +#: logsrvd/logsrvd.c:981 +#, fuzzy, c-format +#| msgid "timeout reading from relay" +msgid "timed out reading from client %s" +msgstr "aikakatkaisu luettaessa välittimeltä" + +#: logsrvd/logsrvd.c:1022 logsrvd/logsrvd_relay.c:771 +#, c-format +msgid "EOF from %s without proper TLS shutdown" +msgstr "" + +#: logsrvd/logsrvd.c:1065 logsrvd/logsrvd_relay.c:200 logsrvd/sendlog.c:317 +#: plugins/sudoers/log_client.c:709 +#, c-format +msgid "client message too large: %zu" +msgstr "asiakassanoma on liian suuri: %zu" + +#: logsrvd/logsrvd.c:1066 logsrvd/logsrvd_journal.c:246 +#: logsrvd/logsrvd_journal.c:247 +msgid "client message too large" +msgstr "asiakassanoma on liian suuri" + +#: logsrvd/logsrvd.c:1084 logsrvd/logsrvd.c:1085 +msgid "invalid ClientMessage" +msgstr "virheellinen ClientMessage" + +#: logsrvd/logsrvd.c:1386 +msgid "unable to get remote IP addr" +msgstr "vastapään IP-osoitteen noutaminen ei onnistu" + +#: logsrvd/logsrvd.c:1415 logsrvd/tls_client.c:196 +#: plugins/sudoers/log_client.c:270 +#, c-format +msgid "Unable to attach user data to the ssl object: %s" +msgstr "Käyttäjätietoja ei voi liittää ssl-objektiin: %s" + +#: logsrvd/logsrvd.c:1596 logsrvd/logsrvd.c:1948 +msgid "unable to setup listen socket" +msgstr "kuuntelusoketin valmistelu epäonnistui" + +#: logsrvd/logsrvd.c:1713 +#, c-format +msgid "unexpected signal %d" +msgstr "odottamaton signaali %d" + +#: logsrvd/logsrvd.c:1850 +msgid "sudo log server" +msgstr "sudo-lokipalvelin" + +#: logsrvd/logsrvd.c:1852 logsrvd/sendlog.c:116 +msgid "Options:" +msgstr "Valitsimet:" + +#: logsrvd/logsrvd.c:1854 +msgid "path to configuration file" +msgstr "asetustiedoston polku" + +#: logsrvd/logsrvd.c:1856 logsrvd/sendlog.c:118 +msgid "display help message and exit" +msgstr "näytä opasteviesti ja poistu" + +#: logsrvd/logsrvd.c:1858 +msgid "do not fork, run in the foreground" +msgstr "älä haarauta, vaan suorita edustalla" + +#: logsrvd/logsrvd.c:1860 +msgid "percent chance connections will drop" +msgstr "prosentin mahdollisuus yhteyksien katkeamiseen" + +#: logsrvd/logsrvd.c:1862 logsrvd/sendlog.c:148 +msgid "display version information and exit" +msgstr "näytä versiotiedot ja poistu" + +#: logsrvd/logsrvd.c:1912 logsrvd/sendlog.c:1725 +msgid "Protobuf-C version 1.3 or higher required" +msgstr "Protobuf-C:n versio 1.3 tai uudempi vaaditaan" + +#: logsrvd/logsrvd.c:1928 +#, c-format +msgid "invalid random drop value: %s" +msgstr "virheellinen satunnaispudotusarvo: %s" + +#: logsrvd/logsrvd.c:1931 logsrvd/sendlog.c:1779 +#: plugins/sudoers/cvtsudoers.c:246 plugins/sudoers/sudoreplay.c:301 +#: plugins/sudoers/visudo.c:177 +#, c-format +msgid "%s version %s\n" +msgstr "%s versio %s\n" + +#: logsrvd/logsrvd_conf.c:417 plugins/sudoers/check.c:335 +#: plugins/sudoers/exptilde.c:85 plugins/sudoers/iolog.c:120 +#: plugins/sudoers/policy.c:1188 plugins/sudoers/sudoers.c:486 +#: plugins/sudoers/sudoers.c:1347 plugins/sudoers/testsudoers.c:215 +#: plugins/sudoers/testsudoers.c:382 +#, c-format +msgid "unknown user %s" +msgstr "tuntematon käyttäjä %s" + +#: logsrvd/logsrvd_conf.c:434 plugins/sudoers/iolog.c:145 +#: plugins/sudoers/sudoers.c:491 plugins/sudoers/sudoers.c:1381 +#: plugins/sudoers/testsudoers.c:406 +#, c-format +msgid "unknown group %s" +msgstr "tuntematon ryhmä %s" + +#: logsrvd/logsrvd_conf.c:452 +#, fuzzy, c-format +#| msgid "unable to parse gids for %s" +msgid "unable to parse iolog mode %s" +msgstr "%s-käyttäjän ryhmä-id:iden jäsentäminen epäonnistui" + +#: logsrvd/logsrvd_conf.c:469 logsrvd/logsrvd_conf.c:1238 +#, c-format +msgid "invalid value for %s: %s" +msgstr "virheellinen %s-arvo: %s" + +#: logsrvd/logsrvd_conf.c:522 +msgid "TLS not supported" +msgstr "TLS ei ole tuettu" + +#: logsrvd/logsrvd_conf.c:544 +#, c-format +msgid "%s:%s" +msgstr "%s:%s" + +#: logsrvd/logsrvd_conf.c:617 logsrvd/logsrvd_conf.c:1027 +#, c-format +msgid "%s: not a fully qualified path" +msgstr "%s: ei ole täydellinen polku" + +#: logsrvd/logsrvd_conf.c:945 logsrvd/logsrvd_conf.c:961 +#: logsrvd/logsrvd_conf.c:1671 +#, c-format +msgid "unknown syslog facility %s" +msgstr "tuntematon syslog-lähde %s" + +#: logsrvd/logsrvd_conf.c:977 logsrvd/logsrvd_conf.c:993 +#: logsrvd/logsrvd_conf.c:1009 logsrvd/logsrvd_conf.c:1675 +#: logsrvd/logsrvd_conf.c:1679 logsrvd/logsrvd_conf.c:1683 +#, c-format +msgid "unknown syslog priority %s" +msgstr "tuntematon syslog-prioriteetti %s" + +# Ensimmäinen parametri on auth name +#: logsrvd/logsrvd_conf.c:1192 +#, c-format +msgid "%s:%d unmatched '[': %s" +msgstr "%s:%d täsmäämätön ”[”: %s" + +# Ensimmäinen parametri on auth name +#: logsrvd/logsrvd_conf.c:1198 +#, fuzzy, c-format +#| msgid "%s:%d unmatched '[': %s" +msgid "%s:%d garbage after ']': %s" +msgstr "%s:%d täsmäämätön ”[”: %s" + +#: logsrvd/logsrvd_conf.c:1210 +#, c-format +msgid "%s:%d invalid config section: %s" +msgstr "%s:%d: virheellinen asetusosio: %s" + +#: logsrvd/logsrvd_conf.c:1218 +#, c-format +msgid "%s:%d invalid configuration line: %s" +msgstr "%s:%d virheellinen asetusrivi: %s" + +#: logsrvd/logsrvd_conf.c:1224 +#, c-format +msgid "%s:%d expected section name: %s" +msgstr "%s:%d odotettiin osion nimeä: %s" + +#: logsrvd/logsrvd_conf.c:1246 +#, c-format +msgid "%s:%d [%s] illegal key: %s" +msgstr "%s:%d [%s] virheellinen avain: %s" + +#: logsrvd/logsrvd_conf.c:1276 plugins/sudoers/cvtsudoers.c:268 +#: plugins/sudoers/logging.c:857 +#, c-format +msgid "unable to open log file %s" +msgstr "lokitiedoston %s avaaminen epäonnistui" + +#: logsrvd/logsrvd_conf.c:1757 +msgid "unable to initialize server TLS context" +msgstr "TLS-kontekstia ei voi alustaa: %s" + +#: logsrvd/logsrvd_conf.c:1777 +msgid "unable to initialize relay TLS context" +msgstr "välittimen TLS-kontekstia ei voi alustaa" + +#: logsrvd/logsrvd_journal.c:136 logsrvd/logsrvd_journal.c:416 +#: logsrvd/logsrvd_journal.c:421 +msgid "unable to create journal file" +msgstr "kirjanpitotiedostoa ei voi luoda" + +# Avaamisen kohde voi olla timestamp file, sudoers file tai pathbuf +#: logsrvd/logsrvd_journal.c:140 logsrvd/logsrvd_queue.c:104 +#: plugins/sudoers/visudo.c:1007 +#, c-format +msgid "unable to lock %s" +msgstr "kohteen %s lukitseminen epäonnistui" + +#: logsrvd/logsrvd_journal.c:143 +msgid "unable to lock journal file" +msgstr "kirjanpitotiedostoa ei voi lukita" + +#: logsrvd/logsrvd_journal.c:151 +msgid "unable to open journal file" +msgstr "kirjauskansiotiedostoa ei voi avata" + +#: logsrvd/logsrvd_journal.c:172 logsrvd/logsrvd_journal.c:452 +#: logsrvd/logsrvd_journal.c:457 +msgid "unable to write journal file" +msgstr "kirjauskansiotiedostoa ei voi kirjoittaa" + +#: logsrvd/logsrvd_journal.c:180 logsrvd/logsrvd_journal.c:187 +msgid "unable to rename journal file" +msgstr "kirjauskansiotiedostoa ei voi nimetä uudelleen" + +#: logsrvd/logsrvd_journal.c:234 logsrvd/logsrvd_journal.c:235 +#: logsrvd/logsrvd_journal.c:269 logsrvd/logsrvd_journal.c:270 +msgid "unexpected EOF reading journal file" +msgstr "odottamaton tiedoston loppu luettaessa kirjanpitotiedostoa" + +#: logsrvd/logsrvd_journal.c:238 logsrvd/logsrvd_journal.c:239 +#: logsrvd/logsrvd_journal.c:273 logsrvd/logsrvd_journal.c:274 +msgid "error reading journal file" +msgstr "virhe luettaessa kirjanpitotiedostoa" + +#: logsrvd/logsrvd_journal.c:285 logsrvd/logsrvd_journal.c:376 +msgid "invalid journal file, unable to restart" +msgstr "virheellinen kirjanpitotiedosto, ei voida käynnistää uudelleen" + +#: logsrvd/logsrvd_journal.c:435 +#, fuzzy, c-format +#| msgid "unable to find resume point [%lld, %ld] in %s/%s" +msgid "unable to seek to [%lld, %ld] in journal file %s" +msgstr "jatkopistettä [%lld, %ld] ei löydy tiedostosta %s/%s" + +#: logsrvd/logsrvd_local.c:153 +msgid "error parsing AcceptMessage" +msgstr "virhe jäsennettäessä AcceptMessagea" + +#: logsrvd/logsrvd_local.c:164 +msgid "error creating I/O log" +msgstr "virhe luotaessa siirräntälokia" + +#: logsrvd/logsrvd_local.c:187 +msgid "error logging accept event" +msgstr "virhe hyväksymistapahtuman lokiin kirjaamisessa" + +#: logsrvd/logsrvd_local.c:226 +msgid "error parsing RejectMessage" +msgstr "virhe jäsennettäessä RejectMessagea" + +#: logsrvd/logsrvd_local.c:250 +msgid "error logging reject event" +msgstr "virhe hylkäystapahtuman lokiin kirjaamisessa" + +#: logsrvd/logsrvd_local.c:386 logsrvd/logsrvd_local.c:394 +msgid "error logging exit event" +msgstr "virhe kirjattaessa poistumistapahtumaa" + +#: logsrvd/logsrvd_local.c:451 logsrvd/logsrvd_local.c:452 +msgid "log is already complete, cannot be restarted" +msgstr "loki on jo valmis, ei voi aloittaa uudelleen" + +#: logsrvd/logsrvd_local.c:482 +msgid "unable to restart log" +msgstr "lokia ei voi aloittaa uudelleen" + +#: logsrvd/logsrvd_local.c:498 +msgid "error parsing AlertMessage" +msgstr "virhe jäsennettäessä AlertMessagea" + +#: logsrvd/logsrvd_local.c:508 +msgid "error logging alert event" +msgstr "virhe hälytystapahtuman lokiin kirjaamisessa" + +#: logsrvd/logsrvd_local.c:544 logsrvd/logsrvd_local.c:607 +#: logsrvd/logsrvd_local.c:642 +#, fuzzy, c-format +#| msgid "unable to format timestamp" +msgid "unable to format timing buffer, length %d" +msgstr "aikaleiman muotoileminen epäonnistui" + +#: logsrvd/logsrvd_local.c:558 logsrvd/logsrvd_local.c:566 +#: logsrvd/logsrvd_local.c:614 logsrvd/logsrvd_local.c:649 +#: plugins/sudoers/sudoreplay.c:351 +#, c-format +msgid "%s/%s: %s" +msgstr "%s/%s: %s" + +#: logsrvd/logsrvd_local.c:577 +msgid "randomly dropping connection" +msgstr "satunnaisesti katkeileva yhteys" + +#: logsrvd/logsrvd_local.c:589 +msgid "error writing IoBuffer" +msgstr "virhe kirjoitettaessa IoBufferia" + +#: logsrvd/logsrvd_local.c:624 +msgid "error writing ChangeWindowSize" +msgstr "virhe kirjoitettaessa ChangeWindowSizeä" + +#: logsrvd/logsrvd_local.c:659 +msgid "error writing CommandSuspend" +msgstr "virhe kirjoitettaessa CommandSuspendia" + +#: logsrvd/logsrvd_relay.c:430 +msgid "TLS handshake with relay host failed" +msgstr "TLS-kättely välitinkoneen kanssa epäonnistui" + +#: logsrvd/logsrvd_relay.c:458 +msgid "unable to connect to relay host" +msgstr "yhteyden muodostaminen välitinkoneeseen ei onnistu" + +#: logsrvd/logsrvd_relay.c:513 +#, c-format +msgid "%s: invalid ServerHello, missing server_id" +msgstr "%s: virheellinen ServerHello, puuttuva server_id" + +#: logsrvd/logsrvd_relay.c:515 logsrvd/sendlog.c:1121 +#: plugins/sudoers/log_client.c:1497 +msgid "invalid ServerHello" +msgstr "virheellinen ServerHello" + +#: logsrvd/logsrvd_relay.c:674 +msgid "unrecognized ServerMessage type" +msgstr "tunnistamaton ServerMessage-tyyppi" + +#: logsrvd/logsrvd_relay.c:703 +#, fuzzy, c-format +#| msgid "timeout reading from relay" +msgid "timed out reading from relay %s (%s)" +msgstr "aikakatkaisu luettaessa välittimeltä" + +#: logsrvd/logsrvd_relay.c:705 +msgid "timeout reading from relay" +msgstr "aikakatkaisu luettaessa välittimeltä" + +#: logsrvd/logsrvd_relay.c:757 +msgid "relay host name does not match certificate" +msgstr "välitinkoneen nimi ei vastaa sertifikaattia" + +#: logsrvd/logsrvd_relay.c:763 logsrvd/logsrvd_relay.c:776 +#: logsrvd/logsrvd_relay.c:782 +msgid "error reading from relay" +msgstr "virhe luettaessa välittimeltä" + +#: logsrvd/logsrvd_relay.c:803 +msgid "unable to read from relay" +msgstr "ei voi lukea välittimeltä" + +#: logsrvd/logsrvd_relay.c:818 logsrvd/logsrvd_relay.c:936 +msgid "relay server closed connection" +msgstr "välitinpalvelin sulki yhteyden" + +#: logsrvd/logsrvd_relay.c:836 +msgid "server message too large" +msgstr "palvelinsanoma on liian suuri" + +#: logsrvd/logsrvd_relay.c:900 +#, fuzzy, c-format +#| msgid "timeout writing to relay" +msgid "timed out writing to relay %s (%s)" +msgstr "aikakatkaisu kirjoitettaessa välittimelle" + +#: logsrvd/logsrvd_relay.c:902 +msgid "timeout writing to relay" +msgstr "aikakatkaisu kirjoitettaessa välittimelle" + +#: logsrvd/logsrvd_relay.c:955 logsrvd/logsrvd_relay.c:961 +#: logsrvd/logsrvd_relay.c:971 +msgid "error writing to relay" +msgstr "virhe kirjoitettaessa välittimelle" + +#: logsrvd/sendlog.c:114 +msgid "send sudo I/O log to remote server" +msgstr "%s - lähetä sudon siirräntäloki etäpalvelimelle" + +#: logsrvd/sendlog.c:120 +msgid "only send an accept event (no I/O)" +msgstr "lähetä vain hyväksyntätapahtuma (ei siirräntää)" + +#: logsrvd/sendlog.c:123 +msgid "certificate bundle file to verify server's cert against" +msgstr "varmennepakettitiedosto, jolla palvelimen varmenne tarkistetaan" + +#: logsrvd/sendlog.c:125 +msgid "certificate file for TLS handshake" +msgstr "TLS-kättelyn varmennetiedosto" + +#: logsrvd/sendlog.c:128 +msgid "host to send logs to" +msgstr "kone, johon lokit lähetetään" + +#: logsrvd/sendlog.c:130 +msgid "remote ID of I/O log to be resumed" +msgstr "jatkettavan I/O-lokin etätunnus" + +#: logsrvd/sendlog.c:133 +msgid "private key file" +msgstr "salainen avain" + +#: logsrvd/sendlog.c:135 +msgid "do not verify server certificate" +msgstr "älä tarkista palvelinvarmennetta" + +#: logsrvd/sendlog.c:138 +msgid "port to use when connecting to host" +msgstr "koneeseen yhteyttä muodostettaessa käytettävä portti" + +#: logsrvd/sendlog.c:140 +msgid "restart previous I/O log transfer" +msgstr "käynnistä aiempi siirräntälokin siirto uudelleen" + +#: logsrvd/sendlog.c:142 +msgid "reject the command with the given reason" +msgstr "hylkää komento annetulla syyllä" + +#: logsrvd/sendlog.c:144 +msgid "stop transfer after reaching this time" +msgstr "lopeta siirto tämän ajan saavuttamisen jälkeen" + +#: logsrvd/sendlog.c:146 +msgid "test audit server by sending selected I/O log n times in parallel" +msgstr "testaa audit-palvelinta lähettämällä valittu siirräntäloki n kertaa rinnakkain" + +#: logsrvd/sendlog.c:171 plugins/sudoers/log_client.c:441 +#, c-format +msgid "unable to look up %s:%s: %s" +msgstr "kohteen %s:%s nimenselvitys epäonnistui: %s" + +#: logsrvd/sendlog.c:209 +msgid "unable to get server IP addr" +msgstr "palvelimen IP-osoitteen noutaminen ei onnistu" + +#: logsrvd/sendlog.c:295 plugins/sudoers/sudoreplay.c:871 +#, c-format +msgid "unable to read %s/%s: %s" +msgstr "tiedostosta %s/%s lukeminen epäonnistui: %s" + +#: logsrvd/sendlog.c:1045 plugins/sudoers/iolog.c:945 +#: plugins/sudoers/iolog.c:1020 +#, c-format +msgid "unexpected I/O event %d" +msgstr "odottamaton siirräntätapahtuma %d" + +#: logsrvd/sendlog.c:1098 logsrvd/sendlog.c:1115 logsrvd/sendlog.c:1149 +#: plugins/sudoers/log_client.c:1146 plugins/sudoers/log_client.c:1423 +#: plugins/sudoers/log_client.c:1491 plugins/sudoers/log_client.c:1530 +#, c-format +msgid "%s: unexpected state %d" +msgstr "%s: odottamaton tila %d" + +#: logsrvd/sendlog.c:1185 plugins/sudoers/log_client.c:1576 +#, c-format +msgid "error message received from server: %s" +msgstr "virhesanoma vastaanotettu palvelimelta: %s" + +#: logsrvd/sendlog.c:1198 plugins/sudoers/log_client.c:1589 +#, c-format +msgid "abort message received from server: %s" +msgstr "keskeytyssanoma vastaanotettu palvelimelta: %s" + +#: logsrvd/sendlog.c:1257 plugins/sudoers/log_client.c:1639 +#, c-format +msgid "%s: unexpected type_case value %d" +msgstr "%s: odottamaton type_case-arvo %d" + +#: logsrvd/sendlog.c:1286 +msgid "timeout reading from server" +msgstr "aikakatkaisu luettaessa palvelimelta" + +#: logsrvd/sendlog.c:1368 +msgid "premature EOF" +msgstr "ennenaikainen tiedoston loppu" + +#: logsrvd/sendlog.c:1381 plugins/sudoers/log_client.c:1800 +#, c-format +msgid "server message too large: %u" +msgstr "palvelinsanoma on liian suuri: %u" + +#: logsrvd/sendlog.c:1437 +msgid "timeout writing to server" +msgstr "aikakatkaisu kirjoitettaessa palvelimelle" + +#: logsrvd/sendlog.c:1802 +msgid "both restart point and iolog ID must be specified" +msgstr "sekä aloituspiste että iolog-tunnus on annettava" + +#: logsrvd/sendlog.c:1806 +msgid "a restart point may not be set when no I/O is sent" +msgstr "uudelleenkäynnistyspistettä ei ehkä aseteta, kun I/O:ta ei lähetetä" + +#: logsrvd/sendlog.c:1882 +#, c-format +msgid "exited prematurely with state %d" +msgstr "poistui ennenaikaisesti tilalla %d" + +#: logsrvd/sendlog.c:1883 +#, c-format +msgid "elapsed time sent to server [%lld, %ld]" +msgstr "kulunut aika lähetetty palvelimelle [%lld, %ld]" + +#: logsrvd/sendlog.c:1885 +#, c-format +msgid "commit point received from server [%lld, %ld]" +msgstr "toimituspiste vastaanotettu palvelimelta [%lld, %ld]" + +#: logsrvd/tls_client.c:106 plugins/sudoers/log_client.c:304 +msgid "TLS handshake timeout occurred" +msgstr "TLS-kättelyn aikakatkaisu tapahtui" + +#: logsrvd/tls_client.c:126 logsrvd/tls_client.c:142 +#: plugins/sudoers/log_client.c:326 plugins/sudoers/log_client.c:342 +msgid "unable to set event" +msgstr "tapahtuman asettaminen ei onnistu" + +#: logsrvd/tls_client.c:152 logsrvd/tls_client.c:156 +#, c-format +msgid "TLS connection failed: %s" +msgstr "TLS-yhteys epäonnistui: %s" + +#: logsrvd/tls_client.c:190 +#, c-format +msgid "unable to allocate ssl object: %s" +msgstr "ssl-objektia ei voi varata: %s" + +#: logsrvd/tls_client.c:203 +#, c-format +msgid "Unable to attach socket to the ssl object: %s" +msgstr "Sokettia ei voi liittää SSL-objektiin: %s" + +#: logsrvd/tls_client.c:231 +msgid "unable to initialize TLS context" +msgstr "TLS-kontekstia ei voi alustaa" + +#: logsrvd/tls_init.c:127 logsrvd/tls_init.c:135 +#, c-format +msgid "unable to set TLS 1.2 ciphersuite to %s: %s" +msgstr "ei voida asettaa TLS 1.2 -algoritmisarjaksi %s: %s" + +#: logsrvd/tls_init.c:155 logsrvd/tls_init.c:163 +#, c-format +msgid "unable to set TLS 1.3 ciphersuite to %s: %s" +msgstr "ei voida asettaa TLS 1.3 -algoritmisarjaksi %s: %s" + +#: logsrvd/tls_init.c:195 logsrvd/tls_init.c:216 +#, c-format +msgid "unable to set diffie-hellman parameters: %s" +msgstr "diffie-hellman-parametreja ei voi asettaa: %s" + +#: logsrvd/tls_init.c:272 +#, c-format +msgid "unable to create TLS context: %s" +msgstr "TLS-kontekstia ei voi luoda: %s" + +#: logsrvd/tls_init.c:278 +#, c-format +msgid "unable to set minimum protocol version to TLS 1.2: %s" +msgstr "protokollaversion vähimmäisversiota ei voi asettaa TLS 1.2:ksi: %s" + +#: plugins/sudoers/audit.c:267 plugins/sudoers/audit.c:419 +#: plugins/sudoers/log_client.c:979 plugins/sudoers/log_client.c:1028 +#: plugins/sudoers/log_client.c:1077 plugins/sudoers/log_client.c:1203 +#: plugins/sudoers/logging.c:552 plugins/sudoers/logging.c:649 +#: plugins/sudoers/logging.c:811 plugins/sudoers/policy.c:123 +msgid "unable to get time of day" +msgstr "kellonajan noutaminen epäonnistui" + +#: plugins/sudoers/auth/aix_auth.c:280 +#, c-format +msgid "unable to change password for %s" +msgstr "%s-käyttäjän salasanan vaihtaminen epäonnistui" + +#: plugins/sudoers/auth/bsdauth.c:74 +#, c-format +msgid "unable to get login class for user %s" +msgstr "kirjautumisluokan saaminen käyttäjälle %s epäonnistui" + +#: plugins/sudoers/auth/bsdauth.c:79 +msgid "unable to begin bsd authentication" +msgstr "bsd-todentamisen aloittaminen epäonnistui" + +#: plugins/sudoers/auth/bsdauth.c:87 +msgid "invalid authentication type" +msgstr "virheellinen todennustyyppi" + +#: plugins/sudoers/auth/bsdauth.c:96 +msgid "unable to initialize BSD authentication" +msgstr "BSD-todennuksen alustaminen epäonnistui" + +#: plugins/sudoers/auth/bsdauth.c:186 +msgid "your account has expired" +msgstr "tilisi on vanhentunut" + +#: plugins/sudoers/auth/bsdauth.c:188 +msgid "approval failed" +msgstr "hyväksyntä epäonnistui" + +#: plugins/sudoers/auth/fwtk.c:61 +msgid "unable to read fwtk config" +msgstr "fwtk config -asetuksen lukeminen epäonnistui" + +#: plugins/sudoers/auth/fwtk.c:66 +msgid "unable to connect to authentication server" +msgstr "todentamispalvelimelle yhdistäminen epäonnistui" + +#: plugins/sudoers/auth/fwtk.c:72 plugins/sudoers/auth/fwtk.c:97 +#: plugins/sudoers/auth/fwtk.c:129 +msgid "lost connection to authentication server" +msgstr "kadotettiin yhteys todentamispalvelimelle" + +#: plugins/sudoers/auth/fwtk.c:76 +#, c-format +msgid "" +"authentication server error:\n" +"%s" +msgstr "" +"todentamispalvelinvirhe:\n" +"%s" + +#: plugins/sudoers/auth/kerb5.c:110 +#, c-format +msgid "%s: unable to convert principal to string ('%s'): %s" +msgstr "%s: valtuutetun (’%s’) muuntaminen merkkijonoksi epäonnistui: %s" + +# Ensimmäinen parametri on auth name +#: plugins/sudoers/auth/kerb5.c:162 +#, c-format +msgid "%s: unable to parse '%s': %s" +msgstr "%s: todentamisnimen ’%s’ jäsentäminen epäonnistui: %s" + +#: plugins/sudoers/auth/kerb5.c:171 +#, c-format +msgid "%s: unable to resolve credential cache: %s" +msgstr "%s: valtuustietovälimuistin nimenselvitys epäonnistui: %s" + +#: plugins/sudoers/auth/kerb5.c:220 +#, c-format +msgid "%s: unable to allocate options: %s" +msgstr "%s: muistin varaaminen valitsimille epäonnistui: %s" + +#: plugins/sudoers/auth/kerb5.c:235 +#, c-format +msgid "%s: unable to get credentials: %s" +msgstr "%s: valtuustietojen hakeminen epäonnistui: %s" + +#: plugins/sudoers/auth/kerb5.c:248 +#, c-format +msgid "%s: unable to initialize credential cache: %s" +msgstr "%s: valtuustietovälimuistin alustaminen epäonnistui: %s" + +#: plugins/sudoers/auth/kerb5.c:251 +#, c-format +msgid "%s: unable to store credential in cache: %s" +msgstr "%s: valtuustietojen tallentaminen valtuustietovälimuistiin epäonnistui: %s" + +#: plugins/sudoers/auth/kerb5.c:315 +#, c-format +msgid "%s: unable to get host principal: %s" +msgstr "%s: tietokoneen valtuutetun hakeminen epäonnistui: %s" + +#: plugins/sudoers/auth/kerb5.c:329 +#, c-format +msgid "%s: Cannot verify TGT! Possible attack!: %s" +msgstr "%s: TGT-lipun todentaminen epäonnistui! Mahdollinen hyökkäys!: %s" + +#: plugins/sudoers/auth/pam.c:224 +#, c-format +msgid "unable to initialize PAM: %s" +msgstr "PAMin alustaminen epäonnistui: %s" + +#: plugins/sudoers/auth/pam.c:337 +#, c-format +msgid "PAM authentication error: %s" +msgstr "PAM-todentamisvirhe: %s" + +#: plugins/sudoers/auth/pam.c:356 +msgid "account validation failure, is your account locked?" +msgstr "tilinvahvistusvirhe, onko tilisi lukittu?" + +#: plugins/sudoers/auth/pam.c:367 +msgid "Account or password is expired, reset your password and try again" +msgstr "Tili tai salasana on vanhentunut, nollaa salasanasi tai yritä uudelleen" + +#: plugins/sudoers/auth/pam.c:373 +#, c-format +msgid "unable to change expired password: %s" +msgstr "vanhentuneen salasanan vaihtaminen epäonnistui: %s" + +#: plugins/sudoers/auth/pam.c:384 +msgid "Password expired, contact your system administrator" +msgstr "Salasana vanhentunut, ota yhteyttä järjestelmän ylläpitäjään" + +#: plugins/sudoers/auth/pam.c:389 +msgid "Account expired or PAM config lacks an \"account\" section for sudo, contact your system administrator" +msgstr "Tili vanhentunut tai PAM-asetuksista puuttuu ”account”-lohko sudo-komennolle, ota yhteyttä järjestelmän ylläpitäjään" + +#: plugins/sudoers/auth/pam.c:397 plugins/sudoers/auth/pam.c:402 +#, c-format +msgid "PAM account management error: %s" +msgstr "PAM-tilin hallintavirhe: %s" + +#: plugins/sudoers/auth/rfc1938.c:99 plugins/sudoers/visudo.c:255 +#, c-format +msgid "you do not exist in the %s database" +msgstr "ei ole olemassa %s-tietokannassa" + +#: plugins/sudoers/auth/securid5.c:75 +msgid "failed to initialise the ACE API library" +msgstr "ACE API -kirjaston alustaminen epäonnistui" + +#: plugins/sudoers/auth/securid5.c:106 +msgid "unable to contact the SecurID server" +msgstr "yhteyden ottaminen SecurID-palvelimeen epäonnistui" + +#: plugins/sudoers/auth/securid5.c:115 +msgid "User ID locked for SecurID Authentication" +msgstr "Käyttäjätunniste lukittu SecurID-todennukselle" + +#: plugins/sudoers/auth/securid5.c:119 plugins/sudoers/auth/securid5.c:170 +msgid "invalid username length for SecurID" +msgstr "virheellinen SecurID-käyttäjänimen pituus" + +#: plugins/sudoers/auth/securid5.c:123 plugins/sudoers/auth/securid5.c:175 +msgid "invalid Authentication Handle for SecurID" +msgstr "virheellinen SecurID-todennuskahva" + +#: plugins/sudoers/auth/securid5.c:127 +msgid "SecurID communication failed" +msgstr "SecurID-viestintä epäonnistui" + +#: plugins/sudoers/auth/securid5.c:131 plugins/sudoers/auth/securid5.c:218 +msgid "unknown SecurID error" +msgstr "tuntematon SecurID-virhe" + +#: plugins/sudoers/auth/securid5.c:165 +msgid "invalid passcode length for SecurID" +msgstr "virheellinen SecurID-salasanan pituus" + +#: plugins/sudoers/auth/sia.c:69 plugins/sudoers/auth/sia.c:126 +msgid "unable to initialize SIA session" +msgstr "SIA-istunnon alustaminen epäonnistui" + +#: plugins/sudoers/auth/sudo_auth.c:134 +msgid "invalid authentication methods" +msgstr "virheelliset todennusmetodit" + +#: plugins/sudoers/auth/sudo_auth.c:136 +msgid "Invalid authentication methods compiled into sudo! You may not mix standalone and non-standalone authentication." +msgstr "Virheellisiä todennusmenetelmiä käännetty sudo-ohjelmaan! Yksittäisiä ja ei-yksittäisiä todennuksia ei voi sekoittaa keskenään." + +#: plugins/sudoers/auth/sudo_auth.c:257 plugins/sudoers/auth/sudo_auth.c:309 +msgid "no authentication methods" +msgstr "ei todennusmenetelmiä" + +#: plugins/sudoers/auth/sudo_auth.c:259 +msgid "There are no authentication methods compiled into sudo! If you want to turn off authentication, use the --disable-authentication configure option." +msgstr "Sudo-ohjelmaan ei ole käännetty todentamismenelmiä! Jos haluat kääntää pois todentamisen, käytä asetusvalitsinta --disable-authentication." + +#: plugins/sudoers/auth/sudo_auth.c:311 +msgid "Unable to initialize authentication methods." +msgstr "Todentamismenetelmien alustaminen epäonnistui." + +#: plugins/sudoers/auth/sudo_auth.c:482 +msgid "Authentication methods:" +msgstr "Todennusmenetelmät:" + +#: plugins/sudoers/bsm_audit.c:123 plugins/sudoers/bsm_audit.c:214 +msgid "Could not determine audit condition" +msgstr "Audit-ehdon määrittely epäonnistui" + +#: plugins/sudoers/bsm_audit.c:188 plugins/sudoers/bsm_audit.c:277 +msgid "unable to commit audit record" +msgstr "commit-toiminnon suorittaminen audit-tietueelle epäonnistui" + +#: plugins/sudoers/check.c:263 +#, c-format +msgid "error reading lecture file %s" +msgstr "virhe luettaessa saarnatiedostoa: %s" + +#: plugins/sudoers/check.c:269 +#, c-format +msgid "ignoring lecture file %s: not a regular file" +msgstr "ohitetaan saarnatiedosto %s: ei ole tavallinen tiedosto" + +#: plugins/sudoers/check.c:282 +msgid "" +"\n" +"We trust you have received the usual lecture from the local System\n" +"Administrator. It usually boils down to these three things:\n" +"\n" +" #1) Respect the privacy of others.\n" +" #2) Think before you type.\n" +" #3) With great power comes great responsibility.\n" +"\n" +msgstr "" +"\n" +"Luotamme, että olet saanut tavanomaisen saarnan paikalliselta järjestelmän\n" +"ylläpitäjältä. Yleensä se tiivistyy kolmeen asiaan:\n" +"\n" +" #1) Kunnioita muiden yksityisyyttä.\n" +" #2) Ajattele ennen kuin kirjoitat.\n" +" #3) Suuren voiman mukana tulee suuri vastuu.\n" +"\n" + +#: plugins/sudoers/check.c:330 plugins/sudoers/check.c:340 +#: plugins/sudoers/sudoers.c:885 plugins/sudoers/sudoers.c:906 +#: plugins/sudoers/tsdump.c:119 +#, c-format +msgid "unknown uid %u" +msgstr "tuntematon uid-käyttäjätunniste %u" + +#: plugins/sudoers/check_aliases.c:92 +#, c-format +msgid "Error: %s:%d:%d: cycle in %s \"%s\"" +msgstr "Virhe: %s:%d:%d: %s ”%s” on kiertävä" + +#: plugins/sudoers/check_aliases.c:93 +#, c-format +msgid "Warning: %s:%d:%d: cycle in %s \"%s\"" +msgstr "Varoitus: %s:%d:%d: %s ”%s” on kiertävä" + +# Toiseksi viimeinen %s on esim. ""Host_Alias" ja viimeinen sen nimi. +#: plugins/sudoers/check_aliases.c:97 +#, c-format +msgid "Error: %s:%d:%d: %s \"%s\" referenced but not defined" +msgstr "Virhe: %s:%d:%d määrittelemätön %s ”%s” viitattuna" + +# Toiseksi viimeinen %s on esim. ""Host_Alias" ja viimeinen sen nimi. +#: plugins/sudoers/check_aliases.c:98 +#, c-format +msgid "Warning: %s:%d:%d: %s \"%s\" referenced but not defined" +msgstr "Varoitus: %s:%d:%d määrittelemätön %s ”%s” viitattuna mutta määrittelemättä" + +#: plugins/sudoers/cvtsudoers.c:209 +#, c-format +msgid "order increment: %s: %s" +msgstr "järjestyksen kasvatus: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:228 +#, c-format +msgid "starting order: %s: %s" +msgstr "aloitusjärjestys: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:238 +#, c-format +msgid "order padding: %s: %s" +msgstr "järjestyksen tasaus: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:248 plugins/sudoers/visudo.c:179 +#, c-format +msgid "%s grammar version %d\n" +msgstr "%s kielioppiversio %d\n" + +#: plugins/sudoers/cvtsudoers.c:277 plugins/sudoers/testsudoers.c:159 +#, c-format +msgid "unsupported input format %s" +msgstr "syötemuotoa %s ei tueta" + +#: plugins/sudoers/cvtsudoers.c:295 +#, c-format +msgid "unsupported output format %s" +msgstr "tuotosmuotoa %s ei tueta" + +#: plugins/sudoers/cvtsudoers.c:385 +#, c-format +msgid "%s: input and output files must be different" +msgstr "%s: syöte- ja tulostetiedostojen on oltava erilaiset" + +#: plugins/sudoers/cvtsudoers.c:399 plugins/sudoers/sudoers.c:159 +#: plugins/sudoers/sudoers.c:205 plugins/sudoers/testsudoers.c:254 +#: plugins/sudoers/visudo.c:261 plugins/sudoers/visudo.c:620 +#: plugins/sudoers/visudo.c:953 +msgid "unable to initialize sudoers default values" +msgstr "sudoers-oletusarvojen alustaminen epäonnistui" + +#: plugins/sudoers/cvtsudoers.c:525 plugins/sudoers/ldap_conf.c:433 +#, c-format +msgid "%s: %s: %s: %s" +msgstr "%s: %s: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:584 +#, c-format +msgid "%s: unknown key word %s" +msgstr "%s: tuntematon avainsana %s" + +#: plugins/sudoers/cvtsudoers.c:630 +#, c-format +msgid "invalid defaults type: %s" +msgstr "virheellisten oletusarvojen tyyppi: %s" + +#: plugins/sudoers/cvtsudoers.c:653 +#, c-format +msgid "invalid suppression type: %s" +msgstr "virheellinen vaiennustyyppi: %s" + +#: plugins/sudoers/cvtsudoers.c:694 plugins/sudoers/cvtsudoers.c:710 +#, c-format +msgid "invalid filter: %s" +msgstr "virheellinen suodatin: %s" + +#: plugins/sudoers/cvtsudoers.c:754 plugins/sudoers/visudo.c:958 +#, c-format +msgid "failed to parse %s file, unknown error" +msgstr "tiedoston %s jäsentäminen epäonnistui, tuntematon virhe" + +#: plugins/sudoers/cvtsudoers.c:762 +#, c-format +msgid "parse error in %s near line %d\n" +msgstr "jäsentämisvirhe tiedostossa %s lähellä riviä %d\n" + +#: plugins/sudoers/cvtsudoers.c:765 +#, c-format +msgid "parse error in %s\n" +msgstr "jäsentämisvirhe tiedostossa %s\n" + +# Kirjoittamisen kohde voi olla timestamp file tai pathbuf +#: plugins/sudoers/cvtsudoers.c:1489 plugins/sudoers/sudoreplay.c:1145 +#: plugins/sudoers/timestamp.c:317 plugins/sudoers/timestamp.c:320 +#, c-format +msgid "unable to write to %s" +msgstr "kohteeseen %s kirjoittaminen epäonnistui" + +#: plugins/sudoers/cvtsudoers.c:1512 +#, c-format +msgid "" +"%s - convert between sudoers file formats\n" +"\n" +msgstr "%s - muunna sudoers-tiedostomuotojen välillä\n" + +#: plugins/sudoers/cvtsudoers.c:1514 +msgid "" +"\n" +"Options:\n" +" -b, --base=dn the base DN for sudo LDAP queries\n" +" -c, --config=conf_file the path to the configuration file\n" +" -d, --defaults=deftypes only convert Defaults of the specified types\n" +" -e, --expand-aliases expand aliases when converting\n" +" -f, --output-format=format set output format: JSON, LDIF or sudoers\n" +" -i, --input-format=format set input format: LDIF or sudoers\n" +" -I, --increment=num amount to increase each sudoOrder by\n" +" -h, --help display help message and exit\n" +" -m, --match=filter only convert entries that match the filter\n" +" -M, --match-local match filter uses passwd and group databases\n" +" -o, --output=output_file write converted sudoers to output_file\n" +" -O, --order-start=num starting point for first sudoOrder\n" +" -p, --prune-matches prune non-matching users, groups and hosts\n" +" -P, --padding=num base padding for sudoOrder increment\n" +" -s, --suppress=sections suppress output of certain sections\n" +" -V, --version display version information and exit" +msgstr "" +"\n" +"Options:\n" +" -b, --base=dn LDAP-kyselyiden DN-perusnimi\n" +" -c, --config=asetustied asetustiedoston polku\n" +" -d, --defaults=deftyypit muunna vain annettujen tyyppien Defaults-arvot\n" +" -e, --expand-aliases lavenna aliakset muuntaessa\n" +" -f, --output-format=muoto aseta tulostemuoto: JSON, LDIF tai sudoers\n" +" -i, --input-format=muoto aseta syötemuoto: LDIF tai sudoers\n" +" -I, --increment=määrä kutakin sudoOrderia kasvattava määrä\n" +" -h, --help näytä ohjeviesti ja poistu\n" +" -m, --match=suodatin muunna vain suodattimeen täsmäävät kohdat\n" +" -M, --match-local täsmäyssuodatin käyttää passwd and group -tietokantoja\n" +" -o, --output=tulostied kirjoita muunnetut sudoers-tiedot tulostiedostoon\n" +" -O, --order-start=luku ensimmäisen sudoOrderin aloituspiste\n" +" -p, --prune-matches karsi täsmäämättömät käyttäjät, ryhmät ja koneet\n" +" -P, --padding=luku sudoOrder-kasvatuksen perustasaus\n" +" -s, --suppress=osiot vaienna tiettyjen osioiden tuloste\n" +" -V, --version näytä versiotiedot ja poistu" + +#: plugins/sudoers/cvtsudoers_csv.c:452 plugins/sudoers/cvtsudoers_csv.c:466 +#: plugins/sudoers/cvtsudoers_json.c:654 plugins/sudoers/cvtsudoers_json.c:669 +#: plugins/sudoers/cvtsudoers_ldif.c:347 plugins/sudoers/cvtsudoers_ldif.c:360 +#: plugins/sudoers/ldap.c:515 +msgid "unable to get GMT time" +msgstr "GMT-ajan noutaminen epäonnistui" + +#: plugins/sudoers/cvtsudoers_csv.c:457 plugins/sudoers/cvtsudoers_csv.c:471 +#: plugins/sudoers/cvtsudoers_json.c:659 plugins/sudoers/cvtsudoers_json.c:674 +#: plugins/sudoers/cvtsudoers_ldif.c:352 plugins/sudoers/cvtsudoers_ldif.c:365 +#: plugins/sudoers/ldap.c:523 +msgid "unable to format timestamp" +msgstr "aikaleiman muotoileminen epäonnistui" + +#: plugins/sudoers/cvtsudoers_json.c:480 plugins/sudoers/cvtsudoers_json.c:515 +#: plugins/sudoers/cvtsudoers_json.c:725 plugins/sudoers/defaults.c:190 +#, c-format +msgid "%s:%d:%d: unknown defaults entry \"%s\"" +msgstr "%s:%d:%d: tuntematon oletusrivi ”%s”" + +#: plugins/sudoers/cvtsudoers_ldif.c:649 +#, c-format +msgid "too many sudoers entries, maximum %u" +msgstr "liian monta sudoers-merkintää, enimmäismäärä %u" + +#: plugins/sudoers/cvtsudoers_ldif.c:692 +msgid "the SUDOERS_BASE environment variable is not set and the -b option was not specified." +msgstr "SUDOERS_BASE-ympäristömuuttujaa ei ole määritelty eikä -b-valitsinta annettu." + +# parametrinä on variable +#: plugins/sudoers/cvtsudoers_merge.c:273 +#: plugins/sudoers/cvtsudoers_merge.c:309 +#, fuzzy, c-format +#| msgid "%s:%d:%d: no value specified for \"%s\"" +msgid "%s:%d:%d: converting host list to ALL" +msgstr "%s:%d:%d: arvoa ei ole määritelty muuttujalle ”%s”" + +#: plugins/sudoers/cvtsudoers_merge.c:545 +#, c-format +msgid "unable to find alias %s" +msgstr "aliasta %s ei löydy" + +# parametrinä on variable +#: plugins/sudoers/cvtsudoers_merge.c:548 +#, fuzzy, c-format +#| msgid "%s:%d:%d: no value specified for \"%s\"" +msgid "%s:%d:%d: renaming alias %s to %s" +msgstr "%s:%d:%d: arvoa ei ole määritelty muuttujalle ”%s”" + +#: plugins/sudoers/cvtsudoers_merge.c:605 +#, c-format +msgid "%s:%d:%d: removing duplicate alias %s" +msgstr "%s:%d:%d: poistetaan kahdenkertainen alias %s" + +#: plugins/sudoers/cvtsudoers_merge.c:830 +#, c-format +msgid "%s:%d:%d: conflicting Defaults entry \"%s\" host-specific in %s:%d:%d" +msgstr "" + +#: plugins/sudoers/cvtsudoers_merge.c:864 +#, fuzzy, c-format +#| msgid "%s:%d:%d: invalid Defaults type 0x%x for option \"%s\"" +msgid "%s:%d:%d: made Defaults \"%s\" specific to host %s" +msgstr "%s:%d:%d: virheellinen Defaults-tyyppi 0x%x valitsimelle ”%s”" + +#: plugins/sudoers/cvtsudoers_merge.c:882 +#, c-format +msgid "%s:%d:%d: unable to make Defaults \"%s\" host-specific" +msgstr "" + +#: plugins/sudoers/cvtsudoers_merge.c:892 +#, c-format +msgid "%s:%d:%d: removing Defaults \"%s\" overridden by subsequent entries" +msgstr "" + +# parametrinä on variable +#: plugins/sudoers/cvtsudoers_merge.c:1080 +#, fuzzy, c-format +#| msgid "%s:%d:%d: no value specified for \"%s\"" +msgid "%s:%d:%d: merging userspec into %s:%d:%d" +msgstr "%s:%d:%d: arvoa ei ole määritelty muuttujalle ”%s”" + +#: plugins/sudoers/cvtsudoers_merge.c:1174 +#, c-format +msgid "%s:%d:%d: removing userspec overridden by subsequent entries" +msgstr "" + +#: plugins/sudoers/def_data.c:50 +#, c-format +msgid "Syslog facility if syslog is being used for logging: %s" +msgstr "Syslog-apuneuvo, jos syslog-lokia käytetään kirjautumista varten: %s" + +#: plugins/sudoers/def_data.c:54 +#, c-format +msgid "Syslog priority to use when user authenticates successfully: %s" +msgstr "Käytettävä syslog-prioriteetti, kun käyttäjä todennetaan onnistuneesti: %s" + +#: plugins/sudoers/def_data.c:58 +#, c-format +msgid "Syslog priority to use when user authenticates unsuccessfully: %s" +msgstr "Käytettävä syslog-prioriteetti, kun käyttäjän todennus epäonnistui: %s" + +#: plugins/sudoers/def_data.c:62 +msgid "Put OTP prompt on its own line" +msgstr "Laita OPT-kehote omalle rivilleen" + +#: plugins/sudoers/def_data.c:66 +msgid "Ignore '.' in $PATH" +msgstr "Ohita ’.’ $PATHissa" + +#: plugins/sudoers/def_data.c:70 +msgid "Always send mail when sudo is run" +msgstr "Lähetä aina sähköpostia, kun sudo suoritetaan" + +#: plugins/sudoers/def_data.c:74 +msgid "Send mail if user authentication fails" +msgstr "Lähetä sähköpostia, jos käyttäjän todennus epäonnistuu" + +#: plugins/sudoers/def_data.c:78 +msgid "Send mail if the user is not in sudoers" +msgstr "Lähetä sähköpostia, jos käyttäjä ei ole sudoers-määrittelyssä" + +#: plugins/sudoers/def_data.c:82 +msgid "Send mail if the user is not in sudoers for this host" +msgstr "Lähetä sähköpostia, jos käyttäjä ei ole tällä tietokoneella sudoers-määrittelyssä" + +#: plugins/sudoers/def_data.c:86 +msgid "Send mail if the user is not allowed to run a command" +msgstr "Lähetä sähköpostia, jos käyttäjän ei sallita suorittaa komentoa" + +#: plugins/sudoers/def_data.c:90 +msgid "Send mail if the user tries to run a command" +msgstr "Lähetä sähköpostia, jos käyttäjä yrittää suorittaa komennon" + +#: plugins/sudoers/def_data.c:94 +msgid "Use a separate timestamp for each user/tty combo" +msgstr "Käytä erillistä aikaleimaa jokaiselle käyttäjä/tty -yhdistelmälle" + +#: plugins/sudoers/def_data.c:98 +msgid "Lecture user the first time they run sudo" +msgstr "Saarnaa sudoa ensimmäistä kertaa käyttävälle" + +#: plugins/sudoers/def_data.c:102 +#, c-format +msgid "File containing the sudo lecture: %s" +msgstr "Sudo-saarnan sisältävä tiedosto: %s" + +#: plugins/sudoers/def_data.c:106 +msgid "Require users to authenticate by default" +msgstr "Vaadi käyttäjien todennus oletuksena" + +#: plugins/sudoers/def_data.c:110 +msgid "Root may run sudo" +msgstr "Root voi suorittaa sudo-ohjelman" + +#: plugins/sudoers/def_data.c:114 +msgid "Log the hostname in the (non-syslog) log file" +msgstr "Kirjaa tietokonenimi (ei-syslog)lokitiedostoon" + +#: plugins/sudoers/def_data.c:118 +msgid "Log the year in the (non-syslog) log file" +msgstr "Kirjaa vuosi (ei-syslog)lokitiedostoon" + +#: plugins/sudoers/def_data.c:122 +msgid "If sudo is invoked with no arguments, start a shell" +msgstr "Jos sudo-ohjelmaa kutsutaan ilman argumentteja, käynnistä käyttöjärjestelmäkuori" + +#: plugins/sudoers/def_data.c:126 +msgid "Set $HOME to the target user when starting a shell with -s" +msgstr "Aseta $HOME-muuttujaksi kohdekäyttäjä kun käyttöjärjestelmäkuori käynnistetään valitsimella -s" + +#: plugins/sudoers/def_data.c:130 +msgid "Always set $HOME to the target user's home directory" +msgstr "Aseta $HOME-muuttujaksi aina kohdekäyttäjän kotihakemisto" + +#: plugins/sudoers/def_data.c:134 +msgid "Allow some information gathering to give useful error messages" +msgstr "Salli jotain tietojenkeräystä hyödyllisten virheilmoitusten tarjoamiseksi" + +#: plugins/sudoers/def_data.c:138 +msgid "Require fully-qualified hostnames in the sudoers file" +msgstr "Vaadi täysin rakennettu tietokonenimi suoders-tiedostossa" + +#: plugins/sudoers/def_data.c:142 +msgid "Insult the user when they enter an incorrect password" +msgstr "Solvaa käyttäjiä, kun he kirjoittavat väärän salasanan" + +#: plugins/sudoers/def_data.c:146 +msgid "Only allow the user to run sudo if they have a tty" +msgstr "Salli käyttäjien suorittaa sudo-ohjelma vain jos heillä on tty" + +#: plugins/sudoers/def_data.c:150 +msgid "Visudo will honor the EDITOR environment variable" +msgstr "Visudo noudattaa EDITOR-ympäristömuuttujaa" + +#: plugins/sudoers/def_data.c:154 +msgid "Prompt for root's password, not the users's" +msgstr "Kysy root-käyttäjän salasana, ei käyttäjän" + +#: plugins/sudoers/def_data.c:158 +msgid "Prompt for the runas_default user's password, not the users's" +msgstr "Kysy runas_default-käyttäjän salasana, ei käyttäjän" + +#: plugins/sudoers/def_data.c:162 +msgid "Prompt for the target user's password, not the users's" +msgstr "Kysy kohdekäyttäjän salasana, ei käyttäjän" + +#: plugins/sudoers/def_data.c:166 +msgid "Apply defaults in the target user's login class if there is one" +msgstr "Käytä oletuksia kohdekäyttäjän kirjautumisluokassa, jos siinä on yhtään" + +#: plugins/sudoers/def_data.c:170 +msgid "Set the LOGNAME and USER environment variables" +msgstr "Aseta LOGNAME- ja USER-ympäristömuuttujat" + +#: plugins/sudoers/def_data.c:174 +msgid "Only set the effective uid to the target user, not the real uid" +msgstr "Aseta vain voimassa oleva uid-käyttäjätunniste kohdekäyttäjälle, ei oikeaa uid-tunnistetta" + +#: plugins/sudoers/def_data.c:178 +msgid "Don't initialize the group vector to that of the target user" +msgstr "Älä alusta ryhmävektoria kohdekäyttäjän vastaavaan arvoon" + +#: plugins/sudoers/def_data.c:182 +#, c-format +msgid "Length at which to wrap log file lines (0 for no wrap): %u" +msgstr "Pituus, jossa pitkät lokitiedostorivit jaetaan seuraavalle riville (0 ei jaeta): %u" + +#: plugins/sudoers/def_data.c:186 +#, c-format +msgid "Authentication timestamp timeout: %.1f minutes" +msgstr "Todennusaikaleiman aikakatkaisu: %.1f minuuttia" + +#: plugins/sudoers/def_data.c:190 +#, c-format +msgid "Password prompt timeout: %.1f minutes" +msgstr "Salasanakehotteen aikakatkaisu: %.1f minuuttia" + +#: plugins/sudoers/def_data.c:194 +#, c-format +msgid "Number of tries to enter a password: %u" +msgstr "Salasanayritysten lukumäärä: %u" + +#: plugins/sudoers/def_data.c:198 +#, c-format +msgid "Umask to use or 0777 to use user's: 0%o" +msgstr "Käytettävä umask-määrittely tai 0777 käytettäväksi käyttäjän umask-määrittelyksi: 0%o" + +#: plugins/sudoers/def_data.c:202 +#, c-format +msgid "Path to log file: %s" +msgstr "Polku lokitiedostoon: %s" + +#: plugins/sudoers/def_data.c:206 +#, c-format +msgid "Path to mail program: %s" +msgstr "Sähköpostiohjelman polku: %s" + +#: plugins/sudoers/def_data.c:210 +#, c-format +msgid "Flags for mail program: %s" +msgstr "Sähköpostiohjelman liput: %s" + +#: plugins/sudoers/def_data.c:214 +#, c-format +msgid "Address to send mail to: %s" +msgstr "Sähköpostin vastaanottajan osoite: %s" + +#: plugins/sudoers/def_data.c:218 +#, c-format +msgid "Address to send mail from: %s" +msgstr "Sähköpostin lähettäjän osoite: %s" + +#: plugins/sudoers/def_data.c:222 +#, c-format +msgid "Subject line for mail messages: %s" +msgstr "Sähköpostiviestien aihe-rivi: %s" + +#: plugins/sudoers/def_data.c:226 +#, c-format +msgid "Incorrect password message: %s" +msgstr "Virheellinen salasanaviesti: %s" + +#: plugins/sudoers/def_data.c:230 +#, c-format +msgid "Path to lecture status dir: %s" +msgstr "Polku saarnatilan hakemistoon: %s" + +#: plugins/sudoers/def_data.c:234 +#, c-format +msgid "Path to authentication timestamp dir: %s" +msgstr "Polku todennusaikaleimahakemistoon: %s" + +#: plugins/sudoers/def_data.c:238 +#, c-format +msgid "Owner of the authentication timestamp dir: %s" +msgstr "Todennusaikaleimahakemiston omistaja: %s" + +#: plugins/sudoers/def_data.c:242 +#, c-format +msgid "Users in this group are exempt from password and PATH requirements: %s" +msgstr "Käyttäjät tässä ryhmässä on vapautettu salasana- ja PATH-vaatimuksista: %s" + +#: plugins/sudoers/def_data.c:246 +#, c-format +msgid "Default password prompt: %s" +msgstr "Oletussalasanakehote: %s" + +#: plugins/sudoers/def_data.c:250 +msgid "If set, passprompt will override system prompt in all cases." +msgstr "Jos asetettu, salasanakehote korvaa järjestelmäkehotteen kaikissa tapauksissa." + +# Tämä on tekemisessä runas_default -määrittelyn kanssa +#: plugins/sudoers/def_data.c:254 +#, c-format +msgid "Default user to run commands as: %s" +msgstr "Oletuskäyttäjä suorittaa komennot käyttäjänä: %s" + +#: plugins/sudoers/def_data.c:258 +#, c-format +msgid "Value to override user's $PATH with: %s" +msgstr "Arvo, jolla korvataan käyttäjän $PATH-asetus: %s" + +#: plugins/sudoers/def_data.c:262 +#, c-format +msgid "Path to the editor for use by visudo: %s" +msgstr "Visudo-editorin käyttämä polku: %s" + +#: plugins/sudoers/def_data.c:266 +#, c-format +msgid "When to require a password for 'list' pseudocommand: %s" +msgstr "Kun vaaditaan salasana ’list’-näennäiskomennolle: %s" + +#: plugins/sudoers/def_data.c:270 +#, c-format +msgid "When to require a password for 'verify' pseudocommand: %s" +msgstr "Kun vaaditaan salasana ’verify’-näennäiskomennolle: %s" + +#: plugins/sudoers/def_data.c:274 +msgid "Preload the sudo_noexec library which replaces the exec functions" +msgstr "Esilataa sudo_noexec-kirjasto, joka korvaa exec-funtiot" + +#: plugins/sudoers/def_data.c:278 +msgid "If LDAP directory is up, do we ignore local sudoers file" +msgstr "Jos LDAP-hakemisto on ylhäällä, ohitammeko paikallisen sudoers-tiedoston" + +#: plugins/sudoers/def_data.c:282 +#, c-format +msgid "File descriptors >= %d will be closed before executing a command" +msgstr "Tiedostokuvaajat >= %d suljetaan ennen komennon suoritusta" + +#: plugins/sudoers/def_data.c:286 +msgid "If set, users may override the value of \"closefrom\" with the -C option" +msgstr "Jos asetettu, käyttäjä voi korvata ”closefrom”-arvon valitsimella -C" + +#: plugins/sudoers/def_data.c:290 +msgid "Allow users to set arbitrary environment variables" +msgstr "Salli käyttäjien asettaa mielivaltaisia ympäristömuuttujia" + +#: plugins/sudoers/def_data.c:294 +msgid "Reset the environment to a default set of variables" +msgstr "Nollaa ympäristö muuttujien oletusjoukoksi" + +#: plugins/sudoers/def_data.c:298 +msgid "Environment variables to check for safety:" +msgstr "Turvallisuustarkastettavat ympäristömuuttujat:" + +#: plugins/sudoers/def_data.c:302 +msgid "Environment variables to remove:" +msgstr "Poistettavat ympäristömuuttujat:" + +#: plugins/sudoers/def_data.c:306 +msgid "Environment variables to preserve:" +msgstr "Säilytettävät ympäristömuuttujat:" + +#: plugins/sudoers/def_data.c:310 +#, c-format +msgid "SELinux role to use in the new security context: %s" +msgstr "Uudessa turva-asiayhteydessä käytettävä SELinux-rooli: %s" + +#: plugins/sudoers/def_data.c:314 +#, c-format +msgid "SELinux type to use in the new security context: %s" +msgstr "Uudessa turva-asiayhteydessä käytettävä SELinux-tyyppi: %s" + +#: plugins/sudoers/def_data.c:318 +#, c-format +msgid "Path to the sudo-specific environment file: %s" +msgstr "Polku sudo-kohtaiseen ympäristötiedostoon: %s" + +#: plugins/sudoers/def_data.c:322 +#, c-format +msgid "Path to the restricted sudo-specific environment file: %s" +msgstr "Polku rajoitettuun sudo-kohtaiseen ympäristötiedostoon: %s" + +#: plugins/sudoers/def_data.c:326 +#, c-format +msgid "Locale to use while parsing sudoers: %s" +msgstr "Locale-asetus, jota käytetään sudoers-jäsentämisessä: %s" + +#: plugins/sudoers/def_data.c:330 +msgid "Allow sudo to prompt for a password even if it would be visible" +msgstr "Salli sudo-ohjelman kysyä salasana vieläpä jos se olisi näkyvä" + +#: plugins/sudoers/def_data.c:334 +msgid "Provide visual feedback at the password prompt when there is user input" +msgstr "Tarjoa visuaalista palautetta salasanakehotteelta silloin kun on käyttäjäsyöte" + +#: plugins/sudoers/def_data.c:338 +msgid "Use faster globbing that is less accurate but does not access the filesystem" +msgstr "Käyttää nopeampaa jokerimerkkien korvausta, joka on epätarkempi, mutta ei lue tiedostojärjestelmää" + +#: plugins/sudoers/def_data.c:342 +msgid "The umask specified in sudoers will override the user's, even if it is more permissive" +msgstr "Sudoers umask korvaa käyttäjän umask-määrittelyn, vieläpä jos se on sallivampi" + +#: plugins/sudoers/def_data.c:346 +msgid "Log user's input for the command being run" +msgstr "Kirjaa lokiin käyttäjän syöte suoritettavalle komennolle" + +#: plugins/sudoers/def_data.c:350 +msgid "Log the output of the command being run" +msgstr "Kirjaa lokiin suoritettavan komennon tuloste" + +#: plugins/sudoers/def_data.c:354 +msgid "Compress I/O logs using zlib" +msgstr "Tiivistä siirräntälokit käyttäen zlib-ohjelmaa" + +#: plugins/sudoers/def_data.c:358 +msgid "Always run commands in a pseudo-tty" +msgstr "Suorita aina komennot näennäis-tty:ssä" + +#: plugins/sudoers/def_data.c:362 +#, c-format +msgid "Plugin for non-Unix group support: %s" +msgstr "Lisäosa ei-Unix-ryhmätuelle: %s" + +#: plugins/sudoers/def_data.c:366 +#, c-format +msgid "Directory in which to store input/output logs: %s" +msgstr "Hakemisto, johon tallennetaan syöte-/tulostelokit: %s" + +#: plugins/sudoers/def_data.c:370 +#, c-format +msgid "File in which to store the input/output log: %s" +msgstr "Tiedosto, johon tallennetaan syöte-/tulosteloki: %s" + +#: plugins/sudoers/def_data.c:374 +msgid "Add an entry to the utmp/utmpx file when allocating a pty" +msgstr "Lisää rivi utmp-/utmpx-tiedostoon, kun varataan pty" + +#: plugins/sudoers/def_data.c:378 +msgid "Set the user in utmp to the runas user, not the invoking user" +msgstr "Aseta käyttäjäksi utmp-tiedostoon suorittava käyttäjä, ei kutsuva käyttäjä" + +#: plugins/sudoers/def_data.c:382 +#, c-format +msgid "Set of permitted privileges: %s" +msgstr "Sallittujen käyttöoikeuksien joukko: %s" + +#: plugins/sudoers/def_data.c:386 +#, c-format +msgid "Set of limit privileges: %s" +msgstr "Rajoitettujen käyttöoikeuksien joukko: %s" + +#: plugins/sudoers/def_data.c:390 +msgid "Run commands on a pty in the background" +msgstr "Suorita komentoja pty:llä taustalla" + +#: plugins/sudoers/def_data.c:394 +#, c-format +msgid "PAM service name to use: %s" +msgstr "Käytettävä PAM-palvelunimi: %s" + +#: plugins/sudoers/def_data.c:398 +#, c-format +msgid "PAM service name to use for login shells: %s" +msgstr "Kirjautumiskomentotulkeille käytettävä PAM-palvelunimi: %s" + +#: plugins/sudoers/def_data.c:402 +#, c-format +msgid "PAM service name to use when sudo is run with the -A option: %s" +msgstr "PAM-palvelun nimi, jota käytetään suoritettaessa sudo -A-valitsimella: %s" + +#: plugins/sudoers/def_data.c:406 +msgid "Attempt to establish PAM credentials for the target user" +msgstr "Yritys perustaa PAM-valtuustiedot kohdekäyttäjälle" + +#: plugins/sudoers/def_data.c:410 +msgid "Create a new PAM session for the command to run in" +msgstr "Luo uusi PAM-istunto suoritettavalle komennolle" + +#: plugins/sudoers/def_data.c:414 +msgid "Perform PAM account validation management" +msgstr "Suorita PAM-tilinvahvistuksen hallintaa" + +#: plugins/sudoers/def_data.c:418 +#, c-format +msgid "Maximum I/O log sequence number: %s" +msgstr "Suurin siirräntälokin sarjanumero: %s" + +#: plugins/sudoers/def_data.c:422 +msgid "Enable sudoers netgroup support" +msgstr "Ota käyttöön sudoers-verkkoryhmätuki" + +#: plugins/sudoers/def_data.c:426 +msgid "Check parent directories for writability when editing files with sudoedit" +msgstr "Tarkista yläpuolella olevan hakemistojen kirjoituskelpoisuus kun tiedostoja muokataan sudoedit-ohjelmalla" + +#: plugins/sudoers/def_data.c:430 +msgid "Follow symbolic links when editing files with sudoedit" +msgstr "Seuraa symbolisia linkejä kun tiedostoja muokataan sudoedit-ohjelmalla" + +#: plugins/sudoers/def_data.c:434 +msgid "Query the group plugin for unknown system groups" +msgstr "Kysy ryhmälisäosaa tuntemattomille järjestelmäryhmille" + +#: plugins/sudoers/def_data.c:438 +msgid "Match netgroups based on the entire tuple: user, host and domain" +msgstr "Täsmäävät verkkoryhmät perustuen koko monikolle: käyttäjä, tietokone ja verkkotunnus" + +#: plugins/sudoers/def_data.c:442 +msgid "Allow commands to be run even if sudo cannot write to the audit log" +msgstr "Salli komentojen suorittaminen silloinkin kun sudo ei kykene kirjoittamaan valvontatarkastuslokiin" + +#: plugins/sudoers/def_data.c:446 +msgid "Allow commands to be run even if sudo cannot write to the I/O log" +msgstr "Salli komentojen suorittaminen silloinkin kun sudo ei kykene kirjoittamaan siirtolokiin" + +#: plugins/sudoers/def_data.c:450 +msgid "Allow commands to be run even if sudo cannot write to the log file" +msgstr "Salli komentojen suorittaminen silloinkin kun sudo ei kykene kirjoittamaan lokitiedostoon" + +#: plugins/sudoers/def_data.c:454 +msgid "Resolve groups in sudoers and match on the group ID, not the name" +msgstr "Ratkaise sudoers-ryhmät ja täsmäytä ryhmätunnisteeseen, ei nimeen" + +#: plugins/sudoers/def_data.c:458 +#, c-format +msgid "Log entries larger than this value will be split into multiple syslog messages: %u" +msgstr "Lokirivit, jotka ovat pitempiä kuin tämä arvo, jaetaan useisiin syslog-viesteihin: %u" + +#: plugins/sudoers/def_data.c:462 +#, c-format +msgid "User that will own the I/O log files: %s" +msgstr "Käyttäjä, joka omistaa siirräntälokitiedostot: %s" + +#: plugins/sudoers/def_data.c:466 +#, c-format +msgid "Group that will own the I/O log files: %s" +msgstr "Ryhmä, joka omistaa siirräntälokitiedostot: %s" + +#: plugins/sudoers/def_data.c:470 +#, c-format +msgid "File mode to use for the I/O log files: 0%o" +msgstr "Tiedostotila käytettäväksi siirräntälokitiedostoissa: 0%o" + +#: plugins/sudoers/def_data.c:474 +#, c-format +msgid "Execute commands by file descriptor instead of by path: %s" +msgstr "Suorita komentoja tiedostokuvaan avulla eikä polun avulla: %s" + +#: plugins/sudoers/def_data.c:478 +msgid "Ignore unknown Defaults entries in sudoers instead of producing a warning" +msgstr "Ohita tuntemattomat Defaults-rivit sudoers-tiedostossa sen sijaan että tuottaisit varoituksia" + +#: plugins/sudoers/def_data.c:482 +#, c-format +msgid "Time in seconds after which the command will be terminated: %u" +msgstr "Sekuntimäärä, jossa komento päätetään: %u" + +#: plugins/sudoers/def_data.c:486 +msgid "Allow the user to specify a timeout on the command line" +msgstr "Salli käyttäjän määritellä aikakatkaisu komentorivillä" + +#: plugins/sudoers/def_data.c:490 +msgid "Flush I/O log data to disk immediately instead of buffering it" +msgstr "Huuhtele siirräntälokitiedot levylle välittömästi sen sijaan että puskuroisit ne" + +#: plugins/sudoers/def_data.c:494 +msgid "Include the process ID when logging via syslog" +msgstr "Sisällytä prosessitunniste, kun kirjataan syslog-tiedostoon" + +#: plugins/sudoers/def_data.c:498 +#, c-format +msgid "Type of authentication timestamp record: %s" +msgstr "Todennusaikaleimatietueen tyyppi: %s" + +#: plugins/sudoers/def_data.c:502 +#, c-format +msgid "Authentication failure message: %s" +msgstr "Todentamisen virheviesti: %s" + +#: plugins/sudoers/def_data.c:506 +msgid "Ignore case when matching user names" +msgstr "Älä huomioi kirjainkokoa käyttäjänimien täsmäyksessä" + +#: plugins/sudoers/def_data.c:510 +msgid "Ignore case when matching group names" +msgstr "Älä huomioi kirjainkokoa ryhmänimien täsmäyksessä" + +#: plugins/sudoers/def_data.c:514 +msgid "Log when a command is allowed by sudoers" +msgstr "Kirjaa lokiin, kun sudoers sallii komennon" + +#: plugins/sudoers/def_data.c:518 +msgid "Log when a command is denied by sudoers" +msgstr "Kirjaa lokiin, kun sudoers kieltää komennon" + +#: plugins/sudoers/def_data.c:522 +msgid "Sudo log server(s) to connect to with optional port" +msgstr "Sudo-lokipalvelimet, joihin yhdistetään valinnaiseen porttiin" + +#: plugins/sudoers/def_data.c:526 +#, c-format +msgid "Sudo log server timeout in seconds: %u" +msgstr "Sudo-lokipalvelimen aikakatkaisu sekunteina: %u" + +#: plugins/sudoers/def_data.c:530 +msgid "Enable SO_KEEPALIVE socket option on the socket connected to the logserver" +msgstr "Ota SO_KEEPALIVE-valinta käyttöön lokipalvelimeen yhdistetylle soketille" + +#: plugins/sudoers/def_data.c:534 +#, c-format +msgid "Path to the audit server's CA bundle file: %s" +msgstr "Valvontapalvelimen CA-pakettitiedoston polku: %s" + +#: plugins/sudoers/def_data.c:538 +#, c-format +msgid "Path to the sudoers certificate file: %s" +msgstr "Sudoers-varmennetiedoston polku: %s" + +#: plugins/sudoers/def_data.c:542 +#, c-format +msgid "Path to the sudoers private key file: %s" +msgstr "Sudoersin yksityisen avaintiedoston polku: %s" + +#: plugins/sudoers/def_data.c:546 +msgid "Verify that the log server's certificate is valid" +msgstr "Varmista, että lokipalvelimen varmenne on kelvollinen" + +#: plugins/sudoers/def_data.c:550 +msgid "Allow the use of unknown runas user and/or group ID" +msgstr "Salli tuntemattoman runas-käyttäjän ja/tai ryhmä-id:n käyttö" + +#: plugins/sudoers/def_data.c:554 +msgid "Only permit running commands as a user with a valid shell" +msgstr "Salli komentojen suorittaminen vain käyttäjänä, jolla on kelvollinen kuori" + +#: plugins/sudoers/def_data.c:558 +msgid "Set the pam remote user to the user running sudo" +msgstr "Aseta pam-etäkäyttäjä sudoa käyttäväksi käyttäjäksi" + +#: plugins/sudoers/def_data.c:562 +msgid "Set the pam remote host to the local host name" +msgstr "Aseta pam-etäkone paikalliseksi konenimeksi" + +#: plugins/sudoers/def_data.c:566 +#, c-format +msgid "Working directory to change to before executing the command: %s" +msgstr "Työhakemisto, johon vaihdetaan ennen komennon suorittamista: %s" + +#: plugins/sudoers/def_data.c:570 +#, c-format +msgid "Root directory to change to before executing the command: %s" +msgstr "Juurihakemisto, johon vaihdetaan ennen komennon suorittamista: %s" + +#: plugins/sudoers/def_data.c:574 +#, c-format +msgid "The format of logs to produce: %s" +msgstr "Lokien muoto: %s" + +#: plugins/sudoers/def_data.c:578 +msgid "Enable SELinux RBAC support" +msgstr "Ota SELinux RBAC -tuki käyttöön" + +#: plugins/sudoers/def_data.c:582 +#, c-format +msgid "Path to the file that is created the first time sudo is run: %s" +msgstr "Polku tiedostoon, joka luodaan sudon ensimmäisellä suorituskerralla: %s" + +#: plugins/sudoers/def_data.c:586 +msgid "Intercept further commands and apply sudoers restrictions to them" +msgstr "Sieppaa tulevat komennot ja sovella niihin sudoers-rajoituksia" + +#: plugins/sudoers/def_data.c:590 +msgid "Log sub-commands run by the original command" +msgstr "Kirjaa alkuperäisen komennon suorittamat alikomennot lokiin" + +#: plugins/sudoers/def_data.c:594 +msgid "Log the exit status of commands" +msgstr "Kirjaa lokiin komentojen poistumiskoodit" + +#: plugins/sudoers/def_data.c:598 +msgid "Subsequent commands in an intercepted session must be authenticated" +msgstr "Siepatun istunnon seuraavat komennot on todennettava" + +#: plugins/sudoers/def_data.c:602 +msgid "Allow an intercepted command to run set setuid or setgid programs" +msgstr "Salli siepatun komennon suorittaa setuid- ja setgid-ohjelmia" + +#: plugins/sudoers/def_data.c:606 +#, c-format +msgid "The maximum size to which the process's address space may grow (in bytes): %s" +msgstr "Prosessin osoiteavaruuden enimmäiskoko (tavuina): %s" + +#: plugins/sudoers/def_data.c:610 +#, c-format +msgid "The largest size core dump file that may be created (in bytes): %s" +msgstr "Luotavan ydinvedostiedoston enimmäiskoko (tavuina): %s" + +#: plugins/sudoers/def_data.c:614 +#, c-format +msgid "The maximum amount of CPU time that the process may use (in seconds): %s" +msgstr "Prosessin käyttämän suoritinajan enimmäismäärä (sekunteina): %s" + +#: plugins/sudoers/def_data.c:618 +#, c-format +msgid "The maximum size of the data segment for the process (in bytes): %s" +msgstr "Prosessin datasegmentin enimmäiskoko (tavuina): %s" + +#: plugins/sudoers/def_data.c:622 +#, c-format +msgid "The largest size file that the process may create (in bytes): %s" +msgstr "Prosessin luoman tiedoston enimmäiskoko (tavuina): %s" + +#: plugins/sudoers/def_data.c:626 +#, c-format +msgid "The maximum number of locks that the process may establish: %s" +msgstr "Prosessin vahvistamien lukkojen enimmäismäärä: %s" + +#: plugins/sudoers/def_data.c:630 +#, c-format +msgid "The maximum size that the process may lock in memory (in bytes): %s" +msgstr "Prosessin lukittavaksi sallitun muistin enimmäiskoko (tavuina): %s" + +#: plugins/sudoers/def_data.c:634 +#, c-format +msgid "The maximum number of files that the process may have open: %s" +msgstr "Prosessilla avoinna olevien tiedostojen enimmäismäärä: %s" + +#: plugins/sudoers/def_data.c:638 +#, c-format +msgid "The maximum number of processes that the user may run simultaneously: %s" +msgstr "Käyttäjän samanaikaisesti suoritettavien prosessien enimmäismäärä: %s" + +#: plugins/sudoers/def_data.c:642 +#, c-format +msgid "The maximum size to which the process's resident set size may grow (in bytes): %s" +msgstr "Prosessin käyttämän muistin RAM-muistissa oleva enimmäiskoko (tavuina): %s" + +#: plugins/sudoers/def_data.c:646 +#, c-format +msgid "The maximum size to which the process's stack may grow (in bytes): %s" +msgstr "Prosessin pinon enimmäiskoko (tavuina): %s" + +#: plugins/sudoers/def_data.c:650 +msgid "Attempt authentication even when in non-interactive mode" +msgstr "Yritä todennusta myös ei-vuorovaikutteisessa tilassa" + +#: plugins/sudoers/def_data.c:654 +msgid "Store plaintext passwords in I/O log input" +msgstr "" + +#: plugins/sudoers/def_data.c:658 +msgid "List of regular expressions to use when matching a password prompt" +msgstr "Salasanakehotetta täsmätessä käytettävien säännöllisten lausekkeiden luettelo" + +#: plugins/sudoers/defaults.c:193 +#, c-format +msgid "%s: unknown defaults entry \"%s\"" +msgstr "%s: tuntematon oletusrivi ”%s”" + +# parametrinä on variable +#: plugins/sudoers/defaults.c:242 +#, c-format +msgid "%s:%d:%d: no value specified for \"%s\"" +msgstr "%s:%d:%d: arvoa ei ole määritelty muuttujalle ”%s”" + +# parametrinä on variable +#: plugins/sudoers/defaults.c:245 +#, c-format +msgid "%s: no value specified for \"%s\"" +msgstr "%s: arvoa ei ole määritelty muuttujalle ”%s”" + +# parametrinä on variable +#: plugins/sudoers/defaults.c:258 +#, fuzzy, c-format +#| msgid "%s:%d:%d: no value specified for \"%s\"" +msgid "%s:%d:%d: invalid operator \"%c=\" for \"%s\"" +msgstr "%s:%d:%d: arvoa ei ole määritelty muuttujalle ”%s”" + +#: plugins/sudoers/defaults.c:261 +#, fuzzy, c-format +#| msgid "%s: invalid Defaults type 0x%x for option \"%s\"" +msgid "%s: invalid operator \"%c=\" for \"%s\"" +msgstr "%s: virheellinen Defaults-tyyppi 0x%x valitsimelle ”%s”" + +#: plugins/sudoers/defaults.c:297 +#, c-format +msgid "%s:%d:%d: option \"%s\" does not take a value" +msgstr "%s:%d:%d: valitsin ”%s” ei ota arvoa" + +#: plugins/sudoers/defaults.c:300 +#, c-format +msgid "%s: option \"%s\" does not take a value" +msgstr "%s: valitsin ”%s” ei ota arvoa" + +#: plugins/sudoers/defaults.c:328 +#, c-format +msgid "%s:%d:%d: invalid Defaults type 0x%x for option \"%s\"" +msgstr "%s:%d:%d: virheellinen Defaults-tyyppi 0x%x valitsimelle ”%s”" + +#: plugins/sudoers/defaults.c:331 +#, c-format +msgid "%s: invalid Defaults type 0x%x for option \"%s\"" +msgstr "%s: virheellinen Defaults-tyyppi 0x%x valitsimelle ”%s”" + +#: plugins/sudoers/defaults.c:341 +#, c-format +msgid "%s:%d:%d: value \"%s\" is invalid for option \"%s\"" +msgstr "%s:%d:%d: arvo ”%s” on virheellinen valitsimelle ”%s”" + +#: plugins/sudoers/defaults.c:344 +#, c-format +msgid "%s: value \"%s\" is invalid for option \"%s\"" +msgstr "%s: arvo ”%s” on virheellinen valitsimelle ”%s”" + +#: plugins/sudoers/defaults.c:1161 +#, c-format +msgid "%s:%d:%d: path name for \"%s\" too long" +msgstr "" + +#: plugins/sudoers/defaults.c:1164 +#, c-format +msgid "%s: path name for \"%s\" too long" +msgstr "" + +# Parametri on muuttuja +#: plugins/sudoers/defaults.c:1175 +#, c-format +msgid "%s:%d:%d: values for \"%s\" must start with a '/', '~', or '*'" +msgstr "%s:%d:%d: ”%s”-muuttujan arvojen on alettava merkillä ’/’, ’~’ tai ’*’" + +# Parametri on muuttuja +#: plugins/sudoers/defaults.c:1179 +#, c-format +msgid "%s: values for \"%s\" must start with a '/', '~', or '*'" +msgstr "%s: ”%s”-muuttujan arvojen on alettava merkillä ’/’, ’~’ tai ’*’" + +# Parametri on muuttuja +#: plugins/sudoers/defaults.c:1190 +#, c-format +msgid "%s:%d:%d: values for \"%s\" must start with a '/'" +msgstr "%s:%d:%d: ”%s”-muuttujan arvojen on alettava merkillä ’/’" + +# Parametri on muuttuja +#: plugins/sudoers/defaults.c:1194 +#, c-format +msgid "%s: values for \"%s\" must start with a '/'" +msgstr "%s: ”%s”-muuttujan arvon on alettava merkillä ’/’" + +#: plugins/sudoers/env.c:412 +msgid "sudo_putenv: corrupted envp, length mismatch" +msgstr "sudo_putenv: rikkoutunut envp, pituus ei täsmää" + +#: plugins/sudoers/env.c:1095 +msgid "unable to rebuild the environment" +msgstr "ympäristön rakentaminen uudelleen epäonnistui" + +#: plugins/sudoers/env.c:1169 +#, c-format +msgid "sorry, you are not allowed to set the following environment variables: %s" +msgstr "sinun ei ole sallittua asettaa seuraavia ympäristömuuttujia: %s" + +#: plugins/sudoers/file.c:108 +#, c-format +msgid "parse error in %s near line %d" +msgstr "jäsentämisvirhe tiedostossa %s lähellä riviä %d" + +#: plugins/sudoers/file.c:111 +#, c-format +msgid "parse error in %s" +msgstr "jäsentämisvirhe tiedostossa %s" + +#: plugins/sudoers/filedigest.c:49 +#, c-format +msgid "unsupported digest type %d for %s" +msgstr "ei-tuettu tiivistetyyppi %d tiedostolle %s" + +#: plugins/sudoers/filedigest.c:78 +#, c-format +msgid "%s: read error" +msgstr "%s: kirjoitusvirhe" + +#: plugins/sudoers/group_plugin.c:83 +#, c-format +msgid "%s must be owned by uid %d" +msgstr "%s-omistajan on oltava uid %d" + +#: plugins/sudoers/group_plugin.c:87 +#, c-format +msgid "%s must only be writable by owner" +msgstr "%s on vain omistajan kirjoitettava" + +#: plugins/sudoers/group_plugin.c:96 plugins/sudoers/sssd.c:576 +#, c-format +msgid "unable to load %s: %s" +msgstr "kohteen %s lataaminen epäonnistui: %s" + +# parametrina on path +#: plugins/sudoers/group_plugin.c:102 +#, c-format +msgid "unable to find symbol \"group_plugin\" in %s" +msgstr "symbolin ”group_plugin” löytäminen polusta %s epäonnistui" + +#: plugins/sudoers/group_plugin.c:107 +#, c-format +msgid "%s: incompatible group plugin major version %d, expected %d" +msgstr "%s: yhteensopimaton ryhmälisäosan major-versio %d, odotettiin %d" + +#: plugins/sudoers/interfaces.c:76 plugins/sudoers/interfaces.c:93 +#, c-format +msgid "unable to parse IP address \"%s\"" +msgstr "verkko-osoitteen ”%s” jäsentäminen epäonnistui" + +#: plugins/sudoers/interfaces.c:81 plugins/sudoers/interfaces.c:98 +#, c-format +msgid "unable to parse netmask \"%s\"" +msgstr "verkkopeitteen ”%s” jäsentäminen epäonnistui" + +#: plugins/sudoers/interfaces.c:126 +msgid "Local IP address and netmask pairs:\n" +msgstr "Paikallinen verkko-osoite ja verkkopeiteparit:\n" + +#: plugins/sudoers/iolog.c:681 +msgid "unable to update sequence file" +msgstr "sekvenssitiedostoa ei voi päivittää" + +#: plugins/sudoers/iolog.c:715 plugins/sudoers/iolog.c:903 +#: plugins/sudoers/iolog.c:1065 plugins/sudoers/iolog.c:1072 +#: plugins/sudoers/iolog.c:1193 plugins/sudoers/iolog.c:1200 +#: plugins/sudoers/iolog.c:1299 plugins/sudoers/iolog.c:1306 +#, c-format +msgid "unable to write to I/O log file: %s" +msgstr "siirtolokitiedostoon: %s kirjoittaminen epäonnistui" + +# Parametrina on pathbuf +#: plugins/sudoers/iolog.c:723 +#, c-format +msgid "unable to create %s/%s" +msgstr "tiedostoa %s/%s ei voida luoda" + +#: plugins/sudoers/iolog.c:951 +#, c-format +msgid "%s: internal error, I/O log file for event %d not open" +msgstr "%s: sisäinen virhe, tapahtuman %d siirräntälokitiedosto ei ole avoin" + +#: plugins/sudoers/iolog.c:1050 plugins/sudoers/iolog.c:1178 +#: plugins/sudoers/iolog.c:1283 plugins/sudoers/timestamp.c:849 +#: plugins/sudoers/timestamp.c:941 plugins/sudoers/visudo.c:510 +#: plugins/sudoers/visudo.c:516 +msgid "unable to read the clock" +msgstr "kellon lukeminen epäonnistui" + +#: plugins/sudoers/iolog.c:1275 plugins/sudoers/log_client.c:1221 +#: plugins/sudoers/log_client.c:1231 plugins/sudoers/log_client.c:1235 +#, c-format +msgid "%s: internal error, invalid signal %d" +msgstr "%s: sisäinen virhe, virheellinen signaali %d" + +#: plugins/sudoers/ldap.c:177 plugins/sudoers/ldap_conf.c:291 +msgid "starttls not supported when using ldaps" +msgstr "starttls ei ole tuettu ldaps-käytössä" + +#: plugins/sudoers/ldap.c:248 +#, c-format +msgid "unable to initialize SSL cert and key db: %s" +msgstr "SSL-varmenne- ja avaintietokannan alustaminen epäonnistui: %s" + +#: plugins/sudoers/ldap.c:251 +#, c-format +msgid "you must set TLS_CERT in %s to use SSL" +msgstr "kohteessa %s TLS_CERT on asetettava käyttämään SSL:ää" + +#: plugins/sudoers/ldap.c:1717 +#, c-format +msgid "unable to initialize LDAP: %s" +msgstr "kohteen LDAP alustaminen epäonnistui: %s" + +#: plugins/sudoers/ldap.c:1754 +msgid "start_tls specified but LDAP libs do not support ldap_start_tls_s() or ldap_start_tls_s_np()" +msgstr "start_tls määritelty, mutta LDAP-kirjastot ei tue funktiota ldap_start_tls_s() tai funktiota ldap_start_tls_s_np()" + +#: plugins/sudoers/ldap.c:1891 plugins/sudoers/parse_ldif.c:747 +#, c-format +msgid "invalid sudoOrder attribute: %s" +msgstr "virheellinen sudoOrder-attribuutti: %s" + +#: plugins/sudoers/ldap_conf.c:200 +#, c-format +msgid "%s: port too large" +msgstr "%s: portti liian suuri" + +# URL on verkko-osoite, loogisesti URI on verkkoresurssi(osoite) +#: plugins/sudoers/ldap_conf.c:260 +#, c-format +msgid "unsupported LDAP uri type: %s" +msgstr "tukematon LDAP-verkkoresurssin tunnustyyppi: %s" + +#: plugins/sudoers/ldap_conf.c:287 +msgid "unable to mix ldap and ldaps URIs" +msgstr "ldap:n ja ldap-verkkoresurssitunnuksien sekoittaminen epäonnistui" + +#: plugins/sudoers/ldap_util.c:499 plugins/sudoers/ldap_util.c:506 +#: plugins/sudoers/ldap_util.c:514 plugins/sudoers/ldap_util.c:523 +#: plugins/sudoers/ldap_util.c:531 plugins/sudoers/ldap_util.c:541 +#: plugins/sudoers/ldap_util.c:549 +#, c-format +msgid "duplicate sudoOption: %s%s%s" +msgstr "kahdentunut sudoOption: %s%s%s" + +#: plugins/sudoers/ldap_util.c:568 plugins/sudoers/ldap_util.c:570 +#, c-format +msgid "unable to convert sudoOption: %s%s%s" +msgstr "sudoOptionia ei voi muuntaa: %s%s%s" + +#: plugins/sudoers/linux_audit.c:58 plugins/sudoers/linux_audit.c:60 +msgid "unable to open audit system" +msgstr "audit-järjestelmän avaaminen epäonnistui" + +#: plugins/sudoers/linux_audit.c:103 +msgid "unable to send audit message" +msgstr "audit-viestin lähettäminen epäonnistui" + +#: plugins/sudoers/log_client.c:120 plugins/sudoers/log_client.c:400 +#: plugins/sudoers/log_client.c:1468 plugins/sudoers/log_client.c:2069 +msgid "error in event loop" +msgstr "virhe tapahtumasilmukassa" + +#: plugins/sudoers/log_client.c:200 +#, c-format +msgid "Creation of new SSL_CTX object failed: %s" +msgstr "Uuden SSL_CTX-objektin luominen epäonnistui: %s" + +#: plugins/sudoers/log_client.c:223 +#, c-format +msgid "unable to load certificate authority bundle %s" +msgstr "varmenteen myöntäjän pakettia %s ei voitu ladata" + +#: plugins/sudoers/log_client.c:243 +#, c-format +msgid "unable to load certificate %s" +msgstr "sertifikaatin %s lataaminen epäonnistui" + +#: plugins/sudoers/log_client.c:256 +#, c-format +msgid "unable to load private key %s" +msgstr "yksityistä avainta %s ei voi ladata" + +#: plugins/sudoers/log_client.c:265 +#, c-format +msgid "Unable to allocate ssl object: %s" +msgstr "Ssl-objektia ei voi varata: %s" + +#: plugins/sudoers/log_client.c:353 plugins/sudoers/log_client.c:358 +#, c-format +msgid "TLS connection to %s:%s failed: %s" +msgstr "TLS-yhteys kohteeseen %s:%s epäonnistui: %s" + +#: plugins/sudoers/log_client.c:531 +msgid "TLS initialization was unsuccessful" +msgstr "TLS-alustus epäonnistui" + +#: plugins/sudoers/log_client.c:541 +msgid "TLS handshake was unsuccessful" +msgstr "TLS-kättely epäonnistui" + +#: plugins/sudoers/log_client.c:1239 +#, c-format +msgid "%s: internal error, invalid exit status %d" +msgstr "%s: sisäinen virhe, virheellinen lopetustila %d" + +#: plugins/sudoers/log_client.c:1608 +msgid "unable to unpack ServerMessage" +msgstr "ServerMessage-viestiä ei voi purkaa" + +#: plugins/sudoers/log_client.c:1763 plugins/sudoers/log_client.c:1787 +msgid "lost connection to log server" +msgstr "yhteys lokipalvelimeen katkesi" + +#: plugins/sudoers/log_client.c:1864 +msgid "missing write buffer" +msgstr "puuttuva kirjoituspuskuri" + +#: plugins/sudoers/log_client.c:2010 +msgid "unable to connect to log server" +msgstr "yhteyden muodostaminen lokipalvelimeen ei onnistu" + +#: plugins/sudoers/logging.c:288 +msgid "user NOT in sudoers" +msgstr "käyttäjä EI ole sudoers-tiedostossa" + +#: plugins/sudoers/logging.c:290 +msgid "user NOT authorized on host" +msgstr "käyttäjä ei ole varmennettu tietokoneella" + +#: plugins/sudoers/logging.c:292 +msgid "command not allowed" +msgstr "komento ei ole sallittu" + +#: plugins/sudoers/logging.c:313 +#, c-format +msgid "%s is not in the sudoers file.\n" +msgstr "%s ei ole sudoers-tiedostossa.\n" + +#: plugins/sudoers/logging.c:316 +#, c-format +msgid "%s is not allowed to run sudo on %s.\n" +msgstr "%s ei saa suorittaa sudoa koneella %s.\n" + +#: plugins/sudoers/logging.c:319 +#, c-format +msgid "Sorry, user %s may not run sudo on %s.\n" +msgstr "Käyttäjä %s ei saa suorittaa sudoa %s-koneella.\n" + +#: plugins/sudoers/logging.c:322 +#, c-format +msgid "Sorry, user %s is not allowed to execute '%s%s%s' as %s%s%s on %s.\n" +msgstr "Käyttäjä %s ei saa suorittaa komentoa ”%s%s%s” käyttäjänä %s%s%s koneella %s.\n" + +#: plugins/sudoers/logging.c:359 plugins/sudoers/sudoers.c:629 +#: plugins/sudoers/sudoers.c:631 plugins/sudoers/sudoers.c:633 +#: plugins/sudoers/sudoers.c:635 plugins/sudoers/sudoers.c:785 +#: plugins/sudoers/sudoers.c:787 +#, c-format +msgid "%s: command not found" +msgstr "%s: komentoa ei löytynyt" + +#: plugins/sudoers/logging.c:361 plugins/sudoers/sudoers.c:625 +#, c-format +msgid "" +"ignoring \"%s\" found in '.'\n" +"Use \"sudo ./%s\" if this is the \"%s\" you wish to run." +msgstr "" +"ohitetaan ”.”-hakemistosta löytynyt ”%s”\n" +"Käytä komentoa ”sudo ./%s”, jos juuri tämä ”%s” halutaan suoritettavan." + +#: plugins/sudoers/logging.c:380 +#, c-format +msgid "%u incorrect password attempt" +msgid_plural "%u incorrect password attempts" +msgstr[0] "%u väärä salasanayritys" +msgstr[1] "%u väärää salasanayritystä" + +#: plugins/sudoers/logging.c:436 +msgid "authentication failure" +msgstr "todennusvirhe" + +#: plugins/sudoers/logging.c:476 plugins/sudoers/logging.c:496 +msgid "a password is required" +msgstr "vaaditaan salasana" + +#: plugins/sudoers/logging.c:890 +#, c-format +msgid "unable to write log file: %s" +msgstr "lokitiedostoon: %s kirjoittaminen epäonnistui" + +#: plugins/sudoers/match_digest.c:129 +#, c-format +msgid "digest for %s (%s) is not in %s form" +msgstr "tiedoston %s tiiviste (%s) ei ole %s-muodossa" + +#: plugins/sudoers/parse.c:233 +msgid "SELinux RBAC is not supported when intercept mode is enabled" +msgstr "SELinux RBAC ei ole tuettu, kun sieppaustila on käytössä" + +#: plugins/sudoers/parse.c:238 +msgid "SELinux RBAC is not supported when the log_subcmds flag is enabled" +msgstr "SELinux RBAC ei ole tuettu, kun log_subcmds-lippu on käytössä" + +#: plugins/sudoers/parse.c:549 +#, c-format +msgid "" +"\n" +"LDAP Role: %s\n" +msgstr "" +"\n" +"LDAP-rooli: %s\n" + +#: plugins/sudoers/parse.c:552 +msgid "" +"\n" +"Sudoers entry:\n" +msgstr "" +"\n" +"Sudoers-rivi:\n" + +#: plugins/sudoers/parse.c:554 +msgid " RunAsUsers: " +msgstr " SuoritaKäyttäjänä: " + +#: plugins/sudoers/parse.c:569 +msgid " RunAsGroups: " +msgstr " SuoritaRyhmänä: " + +#: plugins/sudoers/parse.c:579 +msgid " Options: " +msgstr " Valitsimet: " + +#: plugins/sudoers/parse.c:643 +msgid " Commands:\n" +msgstr " Komennot:\n" + +#: plugins/sudoers/parse.c:834 +#, c-format +msgid "Matching Defaults entries for %s on %s:\n" +msgstr "Täsmäävät Defaults-rivit käyttäjälle %s koneella %s:\n" + +#: plugins/sudoers/parse.c:852 +#, c-format +msgid "Runas and Command-specific defaults for %s:\n" +msgstr "Runas- ja Command-kohtaiset oletukset käyttäjälle %s:\n" + +#: plugins/sudoers/parse.c:870 +#, c-format +msgid "User %s may run the following commands on %s:\n" +msgstr "Käyttäjä %s voi suorittaa seuraavat komennot koneella %s:\n" + +#: plugins/sudoers/parse.c:885 +#, c-format +msgid "User %s is not allowed to run sudo on %s.\n" +msgstr "Käyttäjä %s ei saa suorittaa komentoa sudo tietokoneella %s.\n" + +#: plugins/sudoers/parse_ldif.c:617 +#, c-format +msgid "ignoring incomplete sudoRole: cn: %s" +msgstr "jätetään huomiotta epätäydellinen sudoRole: cn: %s" + +#: plugins/sudoers/parse_ldif.c:677 +#, c-format +msgid "invalid LDIF attribute: %s" +msgstr "virheellinen LDIF-määrite: %s" + +#: plugins/sudoers/policy.c:80 plugins/sudoers/policy.c:111 +#, c-format +msgid "invalid %.*s set by sudo front-end" +msgstr "virheellinen sudo-edustaohjelman asettama %.*s" + +#: plugins/sudoers/policy.c:206 plugins/sudoers/policy.c:215 +#, c-format +msgid "path name for \"%s\" too long" +msgstr "" + +#: plugins/sudoers/policy.c:328 plugins/sudoers/testsudoers.c:268 +msgid "unable to parse network address list" +msgstr "verkko-osoiteluettelon jäsentäminen epäonnistui" + +#: plugins/sudoers/policy.c:485 +msgid "user name not set by sudo front-end" +msgstr "sudo-edustaohjelma ei määritellyt käyttäjänimeä" + +#: plugins/sudoers/policy.c:489 +msgid "user-ID not set by sudo front-end" +msgstr "sudo-edustaohjelma ei määritellyt käyttäjä-ID:tä" + +#: plugins/sudoers/policy.c:493 +msgid "group-ID not set by sudo front-end" +msgstr "sudo-edustaohjelma ei määritellyt ryhmä-ID:tä" + +#: plugins/sudoers/policy.c:497 +msgid "host name not set by sudo front-end" +msgstr "sudo-edustaohjelma ei määritellyt konenimeä" + +#: plugins/sudoers/policy.c:670 +#, c-format +msgid "invalid working directory: %s" +msgstr "virheellinen työhakemisto: %s" + +#: plugins/sudoers/policy.c:846 +#, c-format +msgid "invalid chroot directory: %s" +msgstr "virheellinen chroot-hakemisto: %s" + +# Parametri on path, mutta saattaa sisältää suoritettavan ohjelman +#: plugins/sudoers/policy.c:1025 plugins/sudoers/visudo.c:243 +#: plugins/sudoers/visudo.c:880 +#, c-format +msgid "unable to execute %s" +msgstr "kohteen %s suorittaminen epäonnistui" + +#: plugins/sudoers/policy.c:1095 plugins/sudoers/policy.c:1132 +#: plugins/sudoers/policy.c:1154 plugins/sudoers/policy.c:1180 +#, c-format +msgid "%s: invalid mode flags from sudo front end: 0x%x" +msgstr "%s: virheelliset tilaliput sudo-edustaohjelmalta: 0x%x" + +#: plugins/sudoers/policy.c:1211 +#, c-format +msgid "Sudoers policy plugin version %s\n" +msgstr "Sudoers-menettelytapalisäosaversio %s\n" + +#: plugins/sudoers/policy.c:1213 +#, c-format +msgid "Sudoers file grammar version %d\n" +msgstr "Sudoers-tiedostokielioppiversio %d\n" + +#: plugins/sudoers/policy.c:1217 +#, c-format +msgid "" +"\n" +"Sudoers path: %s\n" +msgstr "" +"\n" +"Sudoers-polku: %s\n" + +#: plugins/sudoers/policy.c:1220 +#, c-format +msgid "nsswitch path: %s\n" +msgstr "nsswitch-polku: %s\n" + +#: plugins/sudoers/policy.c:1222 +#, c-format +msgid "ldap.conf path: %s\n" +msgstr "ldap.conf-polku: %s\n" + +#: plugins/sudoers/policy.c:1223 +#, c-format +msgid "ldap.secret path: %s\n" +msgstr "ldap.secret-polku: %s\n" + +#: plugins/sudoers/policy.c:1256 +#, c-format +msgid "unable to register hook of type %d (version %d.%d)" +msgstr "%d-tyyppisen kytkennän (versio %d.%d) rekisteröiminen epäonnistui" + +#: plugins/sudoers/policy.c:1274 +#, c-format +msgid "unable to deregister hook of type %d (version %d.%d)" +msgstr "%d-tyyppisen kytkennän (versio %d.%d) rekisteröinnin poisto epäonnistui" + +#: plugins/sudoers/pwutil.c:222 plugins/sudoers/pwutil.c:240 +#, c-format +msgid "unable to cache uid %u" +msgstr "käyttäjä-id:n %u välimuistittaminen epäonnistui" + +#: plugins/sudoers/pwutil.c:234 +#, c-format +msgid "unable to cache uid %u, already exists" +msgstr "käyttäjä-id:n %u välimuistittaminen epäonnistui, on jo olemassa" + +# Parametrina on pathbuf +#: plugins/sudoers/pwutil.c:294 plugins/sudoers/pwutil.c:312 +#: plugins/sudoers/pwutil.c:375 plugins/sudoers/pwutil.c:420 +#, c-format +msgid "unable to cache user %s" +msgstr "%s-käyttäjän välimuistittaminen epäonnistui" + +#: plugins/sudoers/pwutil.c:307 +#, c-format +msgid "unable to cache user %s, already exists" +msgstr "%s-käyttäjän välimuistittaminen epäonnistui, on jo olemassa" + +#: plugins/sudoers/pwutil.c:539 plugins/sudoers/pwutil.c:557 +#, c-format +msgid "unable to cache gid %u" +msgstr "ryhmä-id:n %u välimuistittaminen epäonnistui" + +#: plugins/sudoers/pwutil.c:551 +#, c-format +msgid "unable to cache gid %u, already exists" +msgstr "ryhmä-id:n %u välimuistittaminen epäonnistui, on jo olemassa" + +#: plugins/sudoers/pwutil.c:605 plugins/sudoers/pwutil.c:623 +#: plugins/sudoers/pwutil.c:684 plugins/sudoers/pwutil.c:733 +#, c-format +msgid "unable to cache group %s" +msgstr "%s-ryhmän välimuistittaminen epäonnistui" + +#: plugins/sudoers/pwutil.c:618 +#, c-format +msgid "unable to cache group %s, already exists" +msgstr "%s-ryhmän välimuistittaminen epäonnistui, on jo olemassa" + +#: plugins/sudoers/pwutil.c:880 plugins/sudoers/pwutil.c:931 +#: plugins/sudoers/pwutil.c:981 plugins/sudoers/pwutil.c:1033 +#, c-format +msgid "unable to cache group list for %s, already exists" +msgstr "%s-käyttäjän ryhmäluettelon välimuistittaminen epäonnistui, on jo olemassa" + +#: plugins/sudoers/pwutil.c:886 plugins/sudoers/pwutil.c:936 +#: plugins/sudoers/pwutil.c:987 plugins/sudoers/pwutil.c:1038 +#, c-format +msgid "unable to cache group list for %s" +msgstr "%s-käyttäjän ryhmäluettelon välimuistittaminen epäonnistui" + +#: plugins/sudoers/pwutil.c:925 +#, c-format +msgid "unable to parse groups for %s" +msgstr "%s-käyttäjän ryhmien jäsentäminen epäonnistui" + +#: plugins/sudoers/pwutil.c:1027 +#, c-format +msgid "unable to parse gids for %s" +msgstr "%s-käyttäjän ryhmä-id:iden jäsentäminen epäonnistui" + +#: plugins/sudoers/set_perms.c:114 plugins/sudoers/set_perms.c:445 +#: plugins/sudoers/set_perms.c:852 plugins/sudoers/set_perms.c:1162 +#: plugins/sudoers/set_perms.c:1460 +msgid "perm stack overflow" +msgstr "käyttöoikeuspinon ylivuoto" + +#: plugins/sudoers/set_perms.c:125 plugins/sudoers/set_perms.c:376 +#: plugins/sudoers/set_perms.c:456 plugins/sudoers/set_perms.c:719 +#: plugins/sudoers/set_perms.c:863 plugins/sudoers/set_perms.c:1086 +#: plugins/sudoers/set_perms.c:1173 plugins/sudoers/set_perms.c:1393 +#: plugins/sudoers/set_perms.c:1471 plugins/sudoers/set_perms.c:1562 +msgid "perm stack underflow" +msgstr "käyttöoikeuspinon alivuoto" + +#: plugins/sudoers/set_perms.c:185 plugins/sudoers/set_perms.c:503 +#: plugins/sudoers/set_perms.c:1227 plugins/sudoers/set_perms.c:1505 +msgid "unable to change to root gid" +msgstr "vaihtaminen root gid -tunnisteeksi epäonnistui" + +#: plugins/sudoers/set_perms.c:276 plugins/sudoers/set_perms.c:600 +#: plugins/sudoers/set_perms.c:995 plugins/sudoers/set_perms.c:1304 +msgid "unable to change to runas gid" +msgstr "vaihtaminen runas gid -tunnisteeksi epäonnistui" + +#: plugins/sudoers/set_perms.c:281 plugins/sudoers/set_perms.c:605 +#: plugins/sudoers/set_perms.c:1000 plugins/sudoers/set_perms.c:1309 +msgid "unable to set runas group vector" +msgstr "runas-ryhmävektorin asettaminen epäonnistui" + +#: plugins/sudoers/set_perms.c:292 plugins/sudoers/set_perms.c:616 +#: plugins/sudoers/set_perms.c:1009 plugins/sudoers/set_perms.c:1318 +msgid "unable to change to runas uid" +msgstr "vaihtaminen runas uid -tunnisteeksi epäonnistui" + +#: plugins/sudoers/set_perms.c:310 plugins/sudoers/set_perms.c:634 +#: plugins/sudoers/set_perms.c:1025 plugins/sudoers/set_perms.c:1334 +msgid "unable to change to sudoers gid" +msgstr "vaihtaminen sudoers gid-tunnisteeksi epäonnistui" + +#: plugins/sudoers/set_perms.c:363 plugins/sudoers/set_perms.c:706 +#: plugins/sudoers/set_perms.c:1073 plugins/sudoers/set_perms.c:1380 +#: plugins/sudoers/set_perms.c:1549 +msgid "too many processes" +msgstr "liian monta prosessia" + +#: plugins/sudoers/solaris_audit.c:61 +msgid "unable to get current working directory" +msgstr "nykyisen työhakemiston hakeminen epäonnistui" + +#: plugins/sudoers/solaris_audit.c:69 +#, c-format +msgid "truncated audit path user_cmnd: %s" +msgstr "typistetty audit-polku user_cmnd: %s" + +#: plugins/sudoers/solaris_audit.c:76 +#, c-format +msgid "truncated audit path argv[0]: %s" +msgstr "typistetty audit-polku argv[0]: %s" + +#: plugins/sudoers/sssd.c:579 +msgid "unable to initialize SSS source. Is SSSD installed on your machine?" +msgstr "lähteen SSS alustaminen epäonnistui. Onko SSSD asennettu tietokoneeseesi?" + +# parametrina on path +#: plugins/sudoers/sssd.c:587 plugins/sudoers/sssd.c:596 +#: plugins/sudoers/sssd.c:605 plugins/sudoers/sssd.c:614 +#: plugins/sudoers/sssd.c:623 +#, c-format +msgid "unable to find symbol \"%s\" in %s" +msgstr "symbolin ”%s” löytäminen polusta %s epäonnistui" + +#: plugins/sudoers/sudoers.c:166 plugins/sudoers/sudoers.c:174 +#: plugins/sudoers/sudoers.c:228 plugins/sudoers/sudoers.c:249 +#: plugins/sudoers/sudoers.c:1049 +msgid "problem with defaults entries" +msgstr "oletusrivien pulma" + +#: plugins/sudoers/sudoers.c:253 +msgid "no valid sudoers sources found, quitting" +msgstr "ei löytynyt kelvollisia sudoers-lähteitä, poistutaan" + +#: plugins/sudoers/sudoers.c:327 +#, c-format +msgid "user not allowed to change root directory to %s" +msgstr "käyttäjällä ei ole lupaa vaihtaa juurihakemistoksi %s" + +#: plugins/sudoers/sudoers.c:329 +#, c-format +msgid "you are not permitted to use the -R option with %s" +msgstr "sinulla ei ole lupaa käyttää valitsinta -R komennolle %s" + +#: plugins/sudoers/sudoers.c:354 +#, c-format +msgid "user not allowed to change directory to %s" +msgstr "käyttäjällä ei ole lupaa vaihtaa hakemistoksi %s" + +#: plugins/sudoers/sudoers.c:355 +#, c-format +msgid "you are not permitted to use the -D option with %s" +msgstr "sinulla ei ole lupaa käyttää valitsinta -D komennolle %s" + +#: plugins/sudoers/sudoers.c:382 +msgid "no command specified" +msgstr "komentoa ei annettu" + +#: plugins/sudoers/sudoers.c:407 +msgid "sudoers specifies that root is not allowed to sudo" +msgstr "sudoers määrittelee, että root ei saa suorittaa sudo-komentoa" + +#: plugins/sudoers/sudoers.c:457 +msgid "user not allowed to override closefrom limit" +msgstr "käyttäjällä ei ole lupaa syrjäyttää closefrom-rajaa" + +#: plugins/sudoers/sudoers.c:458 +msgid "you are not permitted to use the -C option" +msgstr "sinulla ei ole lupaa käyttää valitsinta -C" + +#: plugins/sudoers/sudoers.c:518 +#, c-format +msgid "timestamp owner (%s): No such user" +msgstr "aikaleimaomistaja (%s): Tuntematon käyttäjä" + +#: plugins/sudoers/sudoers.c:533 +msgid "no tty" +msgstr "ei tty:tä" + +#: plugins/sudoers/sudoers.c:534 +msgid "sorry, you must have a tty to run sudo" +msgstr "sudo-komennon suorittamiseksi on oltava tty" + +#: plugins/sudoers/sudoers.c:541 +#, c-format +msgid "invalid shell for user %s: %s" +msgstr "virheellinen kuori käyttäjälle %s: %s" + +#: plugins/sudoers/sudoers.c:624 +msgid "command in current directory" +msgstr "komento nykyisessä hakemistossa" + +#: plugins/sudoers/sudoers.c:639 +msgid "\"cd\" is a shell built-in command, it cannot be run directly." +msgstr "”cd” on kuoren sisäinen komento, sitä ei voi suorittaa suoraan." + +#: plugins/sudoers/sudoers.c:641 +msgid "the -s option may be used to run a privileged shell." +msgstr "-s-valitsinta voi käyttää käyttöoikeuskorotetun kuoren suorittamiseen." + +#: plugins/sudoers/sudoers.c:643 +msgid "the -D option may be used to run a command in a specific directory." +msgstr "-D-valitsinta voi käyttää komennon suorittamiseksi tietyssä hakemistossa." + +#: plugins/sudoers/sudoers.c:652 +msgid "user not allowed to set a command timeout" +msgstr "käyttäjä ei saa asettaa komennon aikakatkaisua" + +#: plugins/sudoers/sudoers.c:654 +msgid "sorry, you are not allowed set a command timeout" +msgstr "komennon aikakatkaisun asettaminen ei ole sallittua sinulle" + +#: plugins/sudoers/sudoers.c:662 +msgid "user not allowed to preserve the environment" +msgstr "käyttäjä ei saa säilyttää ympäristöä" + +#: plugins/sudoers/sudoers.c:664 +msgid "sorry, you are not allowed to preserve the environment" +msgstr "sinun ei ole sallittua säilöä ympäristöä" + +#: plugins/sudoers/sudoers.c:1037 +msgid "sudoedit doesn't need to be run via sudo" +msgstr "sudoeditiä ei tarvitse suorittaa sudon kautta" + +# Parametrinä on sudoers-tiedosto tai pathbuf +#: plugins/sudoers/sudoers.c:1096 plugins/sudoers/sudoreplay.c:1584 +#: plugins/sudoers/tsdump.c:138 +#, c-format +msgid "unable to read %s" +msgstr "kohteen %s lukeminen epäonnistui" + +#: plugins/sudoers/sudoers.c:1121 plugins/sudoers/visudo.c:449 +#: plugins/sudoers/visudo.c:748 +#, c-format +msgid "unable to stat %s" +msgstr "funktion stat %s kutsuminen epäonnistui" + +#: plugins/sudoers/sudoers.c:1125 plugins/sudoers/visudo.c:1045 +#, c-format +msgid "%s is not a regular file" +msgstr "%s ei ole tavallinen tiedosto" + +#: plugins/sudoers/sudoers.c:1129 plugins/sudoers/timestamp.c:252 toke.l:1239 +#, c-format +msgid "%s is owned by uid %u, should be %u" +msgstr "%s on uid %u -käyttäjän omistama, pitäisi olla %u" + +#: plugins/sudoers/sudoers.c:1133 toke.l:1244 +#, c-format +msgid "%s is world writable" +msgstr "%s on yleiskirjoitettava" + +#: plugins/sudoers/sudoers.c:1137 toke.l:1247 +#, c-format +msgid "%s is owned by gid %u, should be %u" +msgstr "%s on gid %u -ryhmän omistama, pitäisi olla %u" + +#: plugins/sudoers/sudoers.c:1170 +#, c-format +msgid "only root can use \"-c %s\"" +msgstr "vain root-käyttäjä voi käyttää valitsinta ”-c %s”" + +#: plugins/sudoers/sudoers.c:1189 +#, c-format +msgid "unknown login class %s" +msgstr "tuntematon kirjautumisluokka %s" + +#: plugins/sudoers/sudoers.c:1275 plugins/sudoers/sudoers.c:1290 +#, c-format +msgid "unable to resolve host %s" +msgstr "konenimen %s selvitys epäonnistui" + +#: plugins/sudoers/sudoreplay.c:259 +#, c-format +msgid "invalid filter option: %s" +msgstr "virheellinen suodatinvalitsin: %s" + +#: plugins/sudoers/sudoreplay.c:275 +#, c-format +msgid "invalid max wait: %s" +msgstr "virheellinen enimmäisodotusaika: %s" + +#: plugins/sudoers/sudoreplay.c:298 +#, c-format +msgid "invalid speed factor: %s" +msgstr "virheellinen nopeustekijä: %s" + +#: plugins/sudoers/sudoreplay.c:333 +#, c-format +msgid "invalid time offset %s" +msgstr "virheellinen aikasiirtymä %s" + +#: plugins/sudoers/sudoreplay.c:342 +#, c-format +msgid "%s/%.2s/%.2s/%.2s: %s" +msgstr "%s/%.2s/%.2s/%.2s: %s" + +#: plugins/sudoers/sudoreplay.c:347 +#, c-format +msgid "%s/timing: %s" +msgstr "%s/ajoitus: %s" + +#: plugins/sudoers/sudoreplay.c:375 +#, c-format +msgid "Replaying sudo session: %s" +msgstr "Toistetaan sudo-istunto: %s" + +#: plugins/sudoers/sudoreplay.c:637 +msgid "unable to set tty to raw mode" +msgstr "tty:n asettaminen raakatilaan epäonnistui" + +#: plugins/sudoers/sudoreplay.c:688 +msgid "Warning: your terminal is too small to properly replay the log.\n" +msgstr "Varoitus: pääteikkunasi on liian pieni tämän lokin toistamiseksi oikein.\n" + +#: plugins/sudoers/sudoreplay.c:689 +#, c-format +msgid "Log geometry is %d x %d, your terminal's geometry is %d x %d." +msgstr "Lokigeometria on %d x %d, pääteikkunasi geometria on %d x %d." + +#: plugins/sudoers/sudoreplay.c:717 +msgid "Replay finished, press any key to restore the terminal." +msgstr "Toistaminen päättyi, palaa pääteikkunaan painamalla mitä tahansa näppäintä." + +#: plugins/sudoers/sudoreplay.c:1219 plugins/sudoers/sudoreplay.c:1249 +#, c-format +msgid "ambiguous expression \"%s\"" +msgstr "moniselitteinen lauseke \"%s\"" + +#: plugins/sudoers/sudoreplay.c:1271 +msgid "unmatched ')' in expression" +msgstr "täsmäämätön ’)’ lausekkeessa" + +#: plugins/sudoers/sudoreplay.c:1275 +#, c-format +msgid "unknown search term \"%s\"" +msgstr "tuntematon hakutermi ”%s”" + +#: plugins/sudoers/sudoreplay.c:1290 +#, c-format +msgid "%s requires an argument" +msgstr "%s vaatii argumentin" + +#: plugins/sudoers/sudoreplay.c:1300 +#, c-format +msgid "could not parse date \"%s\"" +msgstr "päivämäärän ”%s” jäsentäminen epäonnistui" + +#: plugins/sudoers/sudoreplay.c:1309 +msgid "unmatched '(' in expression" +msgstr "täsmäämätön ’(’ lausekkeessa" + +#: plugins/sudoers/sudoreplay.c:1311 +msgid "illegal trailing \"or\"" +msgstr "virheellinen jäljessä oleva ”or”" + +#: plugins/sudoers/sudoreplay.c:1313 +msgid "illegal trailing \"!\"" +msgstr "virheellinen jäljessä oleva ”!”" + +#: plugins/sudoers/sudoreplay.c:1371 +#, c-format +msgid "unknown search type %d" +msgstr "tuntematon hakutyyppi %d" + +#: plugins/sudoers/sudoreplay.c:1651 +#, c-format +msgid "usage: %s [-hnRS] [-d dir] [-m num] [-s num] ID\n" +msgstr "käyttö: %s [-hnRS] [-d hakemisto] [-m numero] [-s numero] tunniste\n" + +#: plugins/sudoers/sudoreplay.c:1654 +#, c-format +msgid "usage: %s [-h] [-d dir] -l [search expression]\n" +msgstr "käyttö: %s [-h] [-d hakemisto] -l [hakulauseke]\n" + +#: plugins/sudoers/sudoreplay.c:1663 +#, c-format +msgid "" +"%s - replay sudo session logs\n" +"\n" +msgstr "" +"%s - toista sudo-istuntolokit\n" +"\n" + +#: plugins/sudoers/sudoreplay.c:1665 +msgid "" +"\n" +"Options:\n" +" -d, --directory=dir specify directory for session logs\n" +" -f, --filter=filter specify which I/O type(s) to display\n" +" -h, --help display help message and exit\n" +" -l, --list list available session IDs, with optional expression\n" +" -m, --max-wait=num max number of seconds to wait between events\n" +" -n, --non-interactive no prompts, session is sent to the standard output\n" +" -R, --no-resize do not attempt to re-size the terminal\n" +" -S, --suspend-wait wait while the command was suspended\n" +" -s, --speed=num speed up or slow down output\n" +" -V, --version display version information and exit" +msgstr "" +"\n" +"Valitsimet:\n" +" -d, --directory=hak määrittele istuntolokien hakemisto\n" +" -f, --filter=suodatin määrittele, mitkä siirräntätyyppit näytetään\n" +" -h, --help näytä opaste ja poistu\n" +" -l, --list [lauseke] luettele käytettävissä oleva istuntotunnisteet;\n" +" valinnainen täsmäyslauseke voidaan antaa\n" +" -m, --max-wait=määrä tapahtumien välinen enimmäisodotusaika sekunteina\n" +" -n, --non-interactive ei kehotteita, istunto lähetetään vakiotulosteeseen\n" +" -R, --no-resize älä yritä muuttaa päätteen kokoa\n" +" -S, --suspend-wait odota, kun komento on on pysäytetty\n" +" -s, --speed=luku nopeuta tai hidasta tulostusta\n" +" -V, --version näytä versiotiedot ja poistu" + +#: plugins/sudoers/testsudoers.c:344 +msgid "\thost unmatched" +msgstr "\ttietokone täsmäämätön" + +#: plugins/sudoers/testsudoers.c:347 +msgid "" +"\n" +"Command allowed" +msgstr "" +"\n" +"Komento sallittu" + +#: plugins/sudoers/testsudoers.c:348 +msgid "" +"\n" +"Command denied" +msgstr "" +"\n" +"Komento kielletty" + +#: plugins/sudoers/testsudoers.c:348 +msgid "" +"\n" +"Command unmatched" +msgstr "" +"\n" +"Täsmäämätön komento" + +#: plugins/sudoers/timestamp.c:260 +#, c-format +msgid "%s is group writable" +msgstr "%s on ryhmäkirjoitettava" + +#: plugins/sudoers/timestamp.c:328 plugins/sudoers/timestamp.c:663 +#, c-format +msgid "unable to truncate time stamp file to %lld bytes" +msgstr "aikaleimatiedoston typistäminen %lld-tavun kokoiseksi epäonnistui" + +#: plugins/sudoers/timestamp.c:860 +msgid "ignoring time stamp from the future" +msgstr "ohitetaan aikaleima tulevaisuudesta" + +#: plugins/sudoers/timestamp.c:883 +#, c-format +msgid "time stamp too far in the future: %20.20s" +msgstr "aikaleima liian kaukana tulevaisuudessa: %20.20s" + +#: plugins/sudoers/timestamp.c:1005 +#, c-format +msgid "unable to lock time stamp file %s" +msgstr "aikaleimatiedoston %s lukitseminen epäonnistui" + +#: plugins/sudoers/timestamp.c:1049 plugins/sudoers/timestamp.c:1069 +#, c-format +msgid "lecture status path too long: %s/%s" +msgstr "saarnatilan polku on liian pitkä: %s/%s" + +#: plugins/sudoers/toke_util.c:156 +msgid "sudoedit should not be specified with a path" +msgstr "sudoeditiä ei tule käynnistää polun kanssa" + +#: plugins/sudoers/visudo.c:238 +msgid "the -x option will be removed in a future release" +msgstr "valitsin -x poistetaan jossakin tulevassa versiossa" + +#: plugins/sudoers/visudo.c:240 +msgid "please consider using the cvtsudoers utility instead" +msgstr "harkitse cvtsudoers-apuohjelman käyttöä" + +#: plugins/sudoers/visudo.c:292 plugins/sudoers/visudo.c:676 +#, c-format +msgid "press return to edit %s: " +msgstr "muokkaa %s painamalla enter-painiketta: " + +#: plugins/sudoers/visudo.c:307 +#, c-format +msgid "contents of edit session left in %s" +msgstr "" + +#: plugins/sudoers/visudo.c:361 +#, c-format +msgid "specified editor (%s) doesn't exist" +msgstr "määritelty editori (%s) ei ole olemassa" + +#: plugins/sudoers/visudo.c:363 +#, c-format +msgid "no editor found (editor path = %s)" +msgstr "editoria ei löytynyt (editoripolku = %s)" + +#: plugins/sudoers/visudo.c:469 plugins/sudoers/visudo.c:477 +msgid "write error" +msgstr "kirjoitusvirhe" + +#: plugins/sudoers/visudo.c:523 +#, c-format +msgid "unable to stat temporary file (%s), %s unchanged" +msgstr "tilapäistiedoston (%s) tilan lukeminen epäonnistui, %s ennallaan" + +#: plugins/sudoers/visudo.c:530 +#, c-format +msgid "zero length temporary file (%s), %s unchanged" +msgstr "nollapituinen tilapäinen tiedosto (%s), %s ennallaan" + +#: plugins/sudoers/visudo.c:536 +#, c-format +msgid "editor (%s) failed, %s unchanged" +msgstr "editori (%s) epäonnistui, %s ennallaan" + +#: plugins/sudoers/visudo.c:558 +#, c-format +msgid "%s unchanged" +msgstr "%s ennallaan" + +#: plugins/sudoers/visudo.c:615 +#, c-format +msgid "unable to re-open temporary file (%s), %s unchanged." +msgstr "tilapäisen tiedoston (%s) avaaminen uudelleen epäonnistui, %s ennallaan." + +#: plugins/sudoers/visudo.c:627 +#, c-format +msgid "unable to parse temporary file (%s), unknown error" +msgstr "tilapäisen tiedoston (%s) jäsentäminen epäonnistui, tuntematon virhe" + +#: plugins/sudoers/visudo.c:665 +#, c-format +msgid "internal error, unable to find %s in list!" +msgstr "sisäinen virhe, kohteen %s löytäminen luettelosta epäonnistui!" + +#: plugins/sudoers/visudo.c:722 plugins/sudoers/visudo.c:752 +#: plugins/sudoers/visudo.c:759 +#, c-format +msgid "unable to set (uid, gid) of %s to (%u, %u)" +msgstr "kohteen %s (uid, gid) asettaminen arvoihin (%u, %u) epäonnistui" + +#: plugins/sudoers/visudo.c:787 +#, c-format +msgid "%s and %s not on the same file system, using mv to rename" +msgstr "%s ja %s eivät ole samassa tiedostojärjestelmässä, käytetään komentoa mv uudelleennimeämiseen" + +#: plugins/sudoers/visudo.c:798 +#, c-format +msgid "command failed: '%s %s %s', %s unchanged" +msgstr "komento epäonnistui: ’%s %s %s’, %s ennallaan" + +#: plugins/sudoers/visudo.c:805 +#, c-format +msgid "error renaming %s, %s unchanged" +msgstr "virhe nimettäessä %s uudelleen, %s ennallaan" + +#: plugins/sudoers/visudo.c:825 +msgid "What now? " +msgstr "Mitä nyt? " + +#: plugins/sudoers/visudo.c:839 +msgid "" +"Options are:\n" +" (e)dit sudoers file again\n" +" e(x)it without saving changes to sudoers file\n" +" (Q)uit and save changes to sudoers file (DANGER!)\n" +msgstr "" +"Valitsimia ovat:\n" +" (e) muokkaa sudoers-tiedostoa uudelleen\n" +" (x) poistu tallentamatta sudoers-tiedoston muutoksia\n" +" (Q) poistu ja tallenna muutokset sudoers-tiedostoon (VAARA!)\n" + +# Parametri on path, mutta saattaa sisältää suoritettavan ohjelman +#: plugins/sudoers/visudo.c:885 +#, c-format +msgid "unable to run %s" +msgstr "kohteen %s suorittaminen epäonnistui" + +#: plugins/sudoers/visudo.c:916 +#, c-format +msgid "%s: wrong owner (uid, gid) should be (%u, %u)\n" +msgstr "%s: väärä omistaja (uid, gid), pitäisi olla (%u, %u)\n" + +#: plugins/sudoers/visudo.c:927 +#, c-format +msgid "%s: bad permissions, should be mode 0%o\n" +msgstr "%s: väärät käyttöoikeudet, pitäisi olla tila 0%o\n" + +#: plugins/sudoers/visudo.c:978 plugins/sudoers/visudo.c:985 +#, c-format +msgid "%s: parsed OK\n" +msgstr "%s: jäsentäminen valmis\n" + +#: plugins/sudoers/visudo.c:1004 +#, c-format +msgid "%s busy, try again later" +msgstr "%s varattu, yritä myöhemmin uudelleen" + +#: plugins/sudoers/visudo.c:1008 +msgid "Edit anyway? [y/N]" +msgstr "Muokataanko silti? [y/N]" + +#: plugins/sudoers/visudo.c:1104 +#, c-format +msgid "Warning: %s:%d:%d: unused %s \"%s\"" +msgstr "Varoitus: %s:%d:%d: käyttämätön %s \"%s\"" + +#: plugins/sudoers/visudo.c:1220 +#, c-format +msgid "" +"%s - safely edit the sudoers file\n" +"\n" +msgstr "" +"%s - muokkaa sudoers-tiedostoa turvallisesti\n" +"\n" + +#: plugins/sudoers/visudo.c:1222 +msgid "" +"\n" +"Options:\n" +" -c, --check check-only mode\n" +" -f, --file=sudoers specify sudoers file location\n" +" -h, --help display help message and exit\n" +" -q, --quiet less verbose (quiet) syntax error messages\n" +" -s, --strict strict syntax checking\n" +" -V, --version display version information and exit\n" +msgstr "" +"\n" +"Valitsimet:\n" +" -c, --check vain tarkistus -tila\n" +" -f, --file=sudoers määrittele sudoers-tiedoston sijainti\n" +" -h, --help näytä opasteteksti ja poistu\n" +" -q, --quiet vähemmän laveat (hiljaiset) syntaksivirheviestit\n" +" -s, --strict tiukka syntaksitarkistus\n" +" -V, --version näytä versiotiedot ja poistu\n" + +#: toke.l:189 +msgid "empty string" +msgstr "tyhjä merkkijono" + +#: toke.l:201 toke.l:571 +msgid "empty group" +msgstr "tyhjä ryhmä" + +#: toke.l:211 toke.l:569 +msgid "empty netgroup" +msgstr "tyhjä verkkoryhmä" + +#: toke.l:289 +msgid "unterminated regular expression" +msgstr "päättämätön säännöllinen lauseke" + +#: toke.l:363 toke.l:375 toke.l:387 toke.l:403 toke.l:422 toke.l:462 +msgid "invalid line continuation" +msgstr "virheellinen rivin jatko" + +#: toke.l:608 toke.l:620 +msgid "invalid IPv6 address" +msgstr "virheellinen IPv6-osoite" + +#: toke.l:860 +msgid "unexpected line break in string" +msgstr "odottamaton rivinkatkaisu merkkijonossa" + +#: toke.l:1210 +msgid "too many levels of includes" +msgstr "liian monta include-tasoa" + +#~ msgid "%s is not in the sudoers file. This incident will be reported.\n" +#~ msgstr "%s ei ole sudoers-tiedostossa. Tästä tehdään ilmoitus.\n" + +#~ msgid "%s is not allowed to run sudo on %s. This incident will be reported.\n" +#~ msgstr "%s ei saa suorittaa sudoa %s-koneella. Tästä tehdään ilmoitus.\n" + +#~ msgid "%s: write buffer already in use" +#~ msgstr "%s: kirjoituspuskuri on jo käytössä" + +#~ msgid "unable to read diffie-hellman parameters: %s" +#~ msgstr "diffie-hellman-parametreja ei voi lukea: %s" + +#~ msgid "unknown defaults entry \"%s\"" +#~ msgstr "tuntematon oletusrivi \"%s\"" + +#~ msgid "%s:%d unknown key: %s" +#~ msgstr "%s:%d tuntematon avain: %s" + +#~ msgid "unable to get TLS server method: %s" +#~ msgstr "TLS-palvelinmenetelmää ei saada noudettua: %s" + +# Ensimmäinen parametri on auth name +#, fuzzy +#~ msgid "%s:%u unable to parse \"%s\"" +#~ msgstr "%s: todentamisnimen ’%s’ jäsentäminen epäonnistui: %s" + +#~ msgid "" +#~ "\n" +#~ "Options:\n" +#~ " -f, --file path to configuration file\n" +#~ " -h --help display help message and exit\n" +#~ " -n, --no-fork do not fork, run in the foreground\n" +#~ " -R, --random-drop percent chance connections will drop\n" +#~ " -V, --version display version information and exit\n" +#~ msgstr "" +#~ "\n" +#~ "Valitsimet:\n" +#~ " -f, --file asetustiedoston polku\n" +#~ " -h, --help näytä opaste ja poistu\n" +#~ " -n, --no-fork älä haarauta, vaan suorita edustalla\n" +#~ " -R, --random-drop yhteyden katkeamisen todennäköisyys-%\n" +#~ " -V, --version näytä versiotiedot ja poistu\n" + +#~ msgid "Preload the dummy exec functions contained in the sudo_noexec library" +#~ msgstr "Esilataa vale-exec-funktiot, jotka sisältyvät sudo_noexec-kirjastoon" + +#~ msgid "sudo_ldap_conf_add_ports: port too large" +#~ msgstr "sudo_ldap_conf_add_ports: portti on liian suuri" + +#~ msgid "SSL_connect failed: ssl_error=%d, stack=%s\n" +#~ msgstr "SSL_connect epäonnistui: ssl_error=%d, pino=%s\n" + +#~ msgid "CA bundle file was not specified" +#~ msgstr "CA-pakettitiedostoa ei määritelty" + +#~ msgid "Client certificate was not specified" +#~ msgstr "Asiakassertifikaattia ei annettu" + +#~ msgid "Unable to allocate ssl object: %s\n" +#~ msgstr "Ssl-objektia ei voi varata: %s\n" + +#~ msgid "client message too large: %zu\n" +#~ msgstr "asiakassanoma on liian suuri: %zu\n" + +#~ msgid "server message too large: %u\n" +#~ msgstr "palvelinsanoma on liian suuri: %u\n" + +#, fuzzy +#~| msgid "Send mail if the user is not in sudoers" +#~ msgid "CA bundle file is not set in sudoers" +#~ msgstr "Lähetä sähköpostia, jos käyttäjä ei ole sudoers-määrittelyssä" + +#~ msgid "Calling SSL_CTX_load_verify_locations() failed: %s" +#~ msgstr "SSL_CTX_load_verify_locations() epäonnistui: %s" + +#~ msgid "Signed certificate file is not set in sudoers" +#~ msgstr "Allekirjoitettua varmennetiedostoa ei ole määritelty sudoers-tiedostossa" + +#~ msgid "Unable to load private key into the ssl context: %s" +#~ msgstr "Yksityistä avainta ei voi ladata ssl-kontekstiin: %s" + +#~ msgid "SSL_connect failed: ssl_error=%d, stack=%s" +#~ msgstr "SSL_connect epäonnistui: ssl_error=%d, pino=%s" + +#~ msgid "SSL_read failed: ssl_error=%d, stack=%s" +#~ msgstr "SSL_read epäonnistui: ssl_error=%d, pino=%s" + +#~ msgid "SSL_write failed: ssl_error=%d, stack=%s" +#~ msgstr "SSL_write epäonnistui: ssl_error=%d, pino=%s" + +#~ msgid "unknown address family: %d" +#~ msgstr "tuntematon osoiteperhe: %d" + +#~ msgid "audit_failure message too long" +#~ msgstr "audit_failure-viesti on liian pitkä" + +#~ msgid "unabled to parse temporary file (%s), unknown error" +#~ msgstr "tilapäisen tiedoston (%s) jäsentäminen epäonnistui, tuntematon virhe" + +#~ msgid "No user or host" +#~ msgstr "Ei käyttäjä eikä tietokone" + +#~ msgid "validation failure" +#~ msgstr "kelpuutushäiriö" + +#~ msgid "%s/%s/timing: %s" +#~ msgstr "%s/%s/ajoitus: %s" + +#~ msgid "" +#~ "\n" +#~ "LDAP Role: UNKNOWN\n" +#~ msgstr "" +#~ "\n" +#~ "LDAP-rooli: TUNTEMATON\n" + +#~ msgid " Order: %s\n" +#~ msgstr " Järjestys: %s\n" + +#~ msgid "unable to cache user %s, out of memory" +#~ msgstr "käyttäjän %s laittaminen välimuistiin epäonnistui, muistia ei riittävästi" + +#~ msgid "unable to cache group %s, out of memory" +#~ msgstr "ryhmän %s laittaminen välimuistiin epäonnistui, muistia ei riittävästi" + +#~ msgid "unable to cache group list for %s, out of memory" +#~ msgstr "ryhmäluettelon laittaminen välimuistiin tiedostossa %s epäonnistui, muistia ei riittävästi" + +#~ msgid "" +#~ "\n" +#~ "SSSD Role: %s\n" +#~ msgstr "" +#~ "\n" +#~ "SSSD-rooli: %s\n" + +#~ msgid "" +#~ "\n" +#~ "SSSD Role: UNKNOWN\n" +#~ msgstr "" +#~ "\n" +#~ "SSSD-rooli: TUNTEMATON\n" + +#~ msgid "timestamp path too long: %s/%s" +#~ msgstr "aikaleimapolku on liian pitkä: %s/%s" + +#~ msgid "unable to stat editor (%s)" +#~ msgstr "funktion stat editor (%s) kutsuminen epäonnistui" + +#~ msgid "sudo_ldap_conf_add_ports: out of space expanding hostbuf" +#~ msgstr "sudo_ldap_conf_add_ports: hostbuf-puskuritila loppui" + +#~ msgid "sudo_ldap_parse_uri: out of space building hostbuf" +#~ msgstr "sudo_ldap_parse_uri: hostbuf-puskuritila loppui" + +#~ msgid "sudo_ldap_build_pass1 allocation mismatch" +#~ msgstr "sudo_ldap_build_pass1-varaustäsmäämättömyys" + +#~ msgid "Password:" +#~ msgstr "Salasana:" + +#~ msgid "internal error: insufficient space for log line" +#~ msgstr "sisäinen virhe: riittämättömästi tilaa lokiriville" + +#~ msgid "fill_args: buffer overflow" +#~ msgstr "fill_args: puskuriylivuoto" + +#~ msgid "%s: unused %s_Alias %s" +#~ msgstr "%s: käyttämätön %s_Alias %s" + +#~ msgid "%s owned by uid %u, should be uid %u" +#~ msgstr "%s on uid %u:n omistama, pitäisi olla uid %u:n omistama" + +#~ msgid "%s writable by non-owner (0%o), should be mode 0700" +#~ msgstr "%s on kirjoitettava ei-omistajalle (0%o), pitäisi olla tila 0700" + +#~ msgid "%s exists but is not a regular file (0%o)" +#~ msgstr "%s on olemassa, mutta ei ole tavallinen tiedosto (0%o)" + +#~ msgid "%s writable by non-owner (0%o), should be mode 0600" +#~ msgstr "%s on kirjoitettava ei-omistajalle (0%o), pitäisi olla tila 0600" + +#~ msgid "unable to remove %s, will reset to the Unix epoch" +#~ msgstr "kohteen %s poistaminen epäonnistui, nollaa Unix-ajan" + +#~ msgid "unable to reset %s to the Unix epoch" +#~ msgstr "kohteen %s nollaaminen Unix-ajaksi epäonnistui" + +#~ msgid "value out of range" +#~ msgstr "arvo lukualueen ulkopuolella" + +#~ msgid "" +#~ "\n" +#~ "Options:\n" +#~ " -c, --check check-only mode\n" +#~ " -f, --file=file specify sudoers file location\n" +#~ " -h, --help display help message and exit\n" +#~ " -q, --quiet less verbose (quiet) syntax error messages\n" +#~ " -s, --strict strict syntax checking\n" +#~ " -V, --version display version information and exit -x, --export export sudoers in JSON format" +#~ msgstr "" +#~ "\n" +#~ "Valitsimet:\n" +#~ " -c, --check vain tarkistus -tila\n" +#~ " -f, --file=tiedosto määrittele sudoers-tiedoston sijainti\n" +#~ " -h, --help näytä opasteteksti ja poistu\n" +#~ " -q, --quiet vähemmän laveat (hiljaiset) syntaksivirheviestit\n" +#~ " -s, --strict tiukka syntaksitarkistus\n" +#~ " -V, --version näytä versiotiedot ja poistu -x, --export vie sudoers-tiedosto JSON-muodossa" + +#~ msgid "unable to mix ldaps and starttls" +#~ msgstr "ldap- ja starttl-kohteiden sekoittaminen epäonnistui" + +#~ msgid "writing to standard output" +#~ msgstr "kirjoitetaan vakiotulosteeseen" + +#~ msgid "too many parenthesized expressions, max %d" +#~ msgstr "liian monta sulkumerkillistä lauseketta, enintään %d" + +#~ msgid "getaudit: failed" +#~ msgstr "getaudit: epäonnistui" + +#~ msgid "getauid: failed" +#~ msgstr "getauid: epäonnistui" + +#~ msgid "au_to_subject: failed" +#~ msgstr "au_to_subject: epäonnistui" + +#~ msgid "au_to_exec_args: failed" +#~ msgstr "au_to_exec_args: epäonnistui" + +#~ msgid "au_to_return32: failed" +#~ msgstr "au_to_return32: epäonnistui" + +#~ msgid "au_to_text: failed" +#~ msgstr "au_to_text: epäonnistui" + +#~ msgid "nanosleep: tv_sec %ld, tv_nsec %ld" +#~ msgstr "nanosleep: tv_sec %ld, tv_nsec %ld" + +#~ msgid "pam_chauthtok: %s" +#~ msgstr "pam_chauthtok: %s" + +#~ msgid "pam_authenticate: %s" +#~ msgstr "pam_authenticate: %s" + +#~ msgid "getauid failed" +#~ msgstr "getauid epäonnistui" + +#~ msgid "Unable to dlopen %s: %s" +#~ msgstr "Funktion dlopen %s kutsuminen epäonnistui: %s" + +#~ msgid ">>> %s: %s near line %d <<<" +#~ msgstr ">>> %s: %s lähellä riviä %d <<<" + +#~ msgid "unable to set locale to \"%s\", using \"C\"" +#~ msgstr "locale-asetuksen ”%s” asettaminen epäonnistui, käytetään ”C”" + +#~ msgid "" +#~ " Commands:\n" +#~ "\t" +#~ msgstr "" +#~ " Komennot:\n" +#~ "\t" + +#~ msgid ": " +#~ msgstr ": " + +#~ msgid "unable to cache uid %u (%s), already exists" +#~ msgstr "käyttäjän uid %u (%s) laittaminen välimuistiin epäonnistui, käyttäjä on jo siellä" + +#~ msgid "unable to cache gid %u (%s), already exists" +#~ msgstr "ryhmän gid %u (%s) laittaminen välimuistiin epäonnistui, ryhmä on jo siellä" + +#~ msgid "internal error, expand_prompt() overflow" +#~ msgstr "sisäinen virhe, expand_prompt()-ylivuoto" + +#~ msgid "internal error, sudo_setenv2() overflow" +#~ msgstr "sisäinen virhe, sudo_setenv2()-ylivuoto" + +#~ msgid "internal error, sudo_setenv() overflow" +#~ msgstr "sisäinen virhe, sudo_setenv()-ylivuoto" + +#~ msgid "internal error, linux_audit_command() overflow" +#~ msgstr "sisäinen virhe, linux_audit_command()-ylivuoto" + +#~ msgid "internal error, runas_groups overflow" +#~ msgstr "sisäinen virhe, runas_groups-ylivuoto" + +#~ msgid "internal error, init_vars() overflow" +#~ msgstr "sisäinen virhe, init_vars()-ylivuoto" + +# Parametri on sudoers file +#~ msgid "fixed mode on %s" +#~ msgstr "korjattu tila tiedostossa %s" + +#~ msgid "unable to fix mode on %s" +#~ msgstr "tilan korjaaminen tiedostossa %s epäonnistui" + +#~ msgid "%s is mode 0%o, should be 0%o" +#~ msgstr "%s on tila 0%o, pitäisi olla 0%o" + +#~ msgid "File containing dummy exec functions: %s" +#~ msgstr "Tiedosto, joka sisältää vale-exec-funktioita: %s" + +#~ msgid "" +#~ "Available options in a sudoers ``Defaults'' line:\n" +#~ "\n" +#~ msgstr "" +#~ "Käytettävissä olevat valitsimet sudoers ’’Defaults’’ -rivillä:\n" +#~ "\n" + +#~ msgid "%s: %.*s\n" +#~ msgstr "%s: %.*s\n" + +#~ msgid "unable to get runas group vector" +#~ msgstr "runas-ryhmävektorin hakeminen epäonnistui" + +#~ msgid "%s: %s_Alias `%s' references self" +#~ msgstr "%s: %s_Alias ”%s” viittaa itseensä" diff --git a/plugins/sudoers/po/fr.mo b/plugins/sudoers/po/fr.mo new file mode 100644 index 0000000..47f634a Binary files /dev/null and b/plugins/sudoers/po/fr.mo differ diff --git a/plugins/sudoers/po/fr.po b/plugins/sudoers/po/fr.po new file mode 100644 index 0000000..abe9825 --- /dev/null +++ b/plugins/sudoers/po/fr.po @@ -0,0 +1,4135 @@ +# This file is put in the public domain. +# This file is distributed under the same license as the sudo package. +# +# Frédéric Hantrais , 2014, 2015, 2016. +# Frédéric Marchal , 2023 +msgid "" +msgstr "" +"Project-Id-Version: sudoers 1.9.13b2\n" +"Report-Msgid-Bugs-To: https://bugzilla.sudo.ws\n" +"POT-Creation-Date: 2023-01-24 13:11-0700\n" +"PO-Revision-Date: 2023-01-26 12:21+0100\n" +"Last-Translator: Frédéric Marchal \n" +"Language-Team: French \n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n >= 2);\n" + +#: confstr.sh:1 gram.y:1220 plugins/sudoers/logging.c:866 +msgid "syntax error" +msgstr "erreur de syntaxe" + +#: confstr.sh:2 +msgid "%p's password: " +msgstr "Mot de passe de %p : " + +#: confstr.sh:3 +msgid "[sudo] password for %p: " +msgstr "[sudo] Mot de passe de %p : " + +#: confstr.sh:4 +msgid "Password: " +msgstr "Mot de passe : " + +#: confstr.sh:5 +msgid "*** SECURITY information for %h ***" +msgstr "*** Informations de sécurité pour %h ***" + +#: confstr.sh:6 +msgid "Sorry, try again." +msgstr "Désolé, essayez de nouveau." + +#: gram.y:237 gram.y:304 gram.y:313 gram.y:322 gram.y:332 gram.y:342 +#: gram.y:366 gram.y:393 gram.y:402 gram.y:410 gram.y:419 gram.y:428 +#: gram.y:502 gram.y:512 gram.y:524 gram.y:572 gram.y:581 gram.y:590 +#: gram.y:599 gram.y:731 gram.y:739 gram.y:750 gram.y:762 gram.y:781 +#: gram.y:944 gram.y:949 gram.y:957 gram.y:971 gram.y:977 gram.y:1099 +#: gram.y:1108 gram.y:1116 gram.y:1125 gram.y:1134 gram.y:1163 gram.y:1172 +#: gram.y:1180 gram.y:1280 gram.y:1410 gram.y:1777 gram.y:1827 +#: lib/eventlog/eventlog.c:235 lib/eventlog/eventlog.c:312 +#: lib/eventlog/eventlog.c:757 lib/eventlog/eventlog.c:834 +#: lib/eventlog/eventlog.c:1135 lib/iolog/iolog_filter.c:142 +#: lib/iolog/iolog_filter.c:202 lib/iolog/iolog_filter.c:233 +#: lib/iolog/iolog_json.c:150 lib/iolog/iolog_json.c:382 +#: lib/iolog/iolog_json.c:412 lib/iolog/iolog_legacy.c:100 +#: lib/iolog/iolog_legacy.c:111 lib/iolog/iolog_legacy.c:123 +#: lib/iolog/iolog_legacy.c:133 lib/iolog/iolog_legacy.c:139 +#: lib/iolog/iolog_loginfo.c:76 lib/iolog/iolog_loginfo.c:212 +#: logsrvd/iolog_writer.c:95 logsrvd/iolog_writer.c:100 +#: logsrvd/iolog_writer.c:134 logsrvd/iolog_writer.c:182 +#: logsrvd/iolog_writer.c:215 logsrvd/iolog_writer.c:225 +#: logsrvd/iolog_writer.c:254 logsrvd/iolog_writer.c:275 +#: logsrvd/iolog_writer.c:287 logsrvd/iolog_writer.c:297 +#: logsrvd/iolog_writer.c:307 logsrvd/iolog_writer.c:317 +#: logsrvd/iolog_writer.c:329 logsrvd/iolog_writer.c:364 +#: logsrvd/iolog_writer.c:370 logsrvd/iolog_writer.c:377 +#: logsrvd/iolog_writer.c:383 logsrvd/iolog_writer.c:567 +#: logsrvd/logsrv_util.c:69 logsrvd/logsrvd.c:301 logsrvd/logsrvd.c:310 +#: logsrvd/logsrvd.c:1050 logsrvd/logsrvd.c:1113 logsrvd/logsrvd.c:1582 +#: logsrvd/logsrvd.c:1587 logsrvd/logsrvd.c:1771 logsrvd/logsrvd.c:1988 +#: logsrvd/logsrvd_conf.c:357 logsrvd/logsrvd_conf.c:370 +#: logsrvd/logsrvd_conf.c:511 logsrvd/logsrvd_conf.c:534 +#: logsrvd/logsrvd_conf.c:538 logsrvd/logsrvd_conf.c:556 +#: logsrvd/logsrvd_conf.c:626 logsrvd/logsrvd_conf.c:650 +#: logsrvd/logsrvd_conf.c:678 logsrvd/logsrvd_conf.c:692 +#: logsrvd/logsrvd_conf.c:706 logsrvd/logsrvd_conf.c:720 +#: logsrvd/logsrvd_conf.c:734 logsrvd/logsrvd_conf.c:748 +#: logsrvd/logsrvd_conf.c:829 logsrvd/logsrvd_conf.c:1036 +#: logsrvd/logsrvd_conf.c:1053 logsrvd/logsrvd_conf.c:1448 +#: logsrvd/logsrvd_conf.c:1595 logsrvd/logsrvd_conf.c:1621 +#: logsrvd/logsrvd_conf.c:1633 logsrvd/logsrvd_conf.c:1640 +#: logsrvd/logsrvd_conf.c:1646 logsrvd/logsrvd_conf.c:1743 +#: logsrvd/logsrvd_journal.c:76 logsrvd/logsrvd_journal.c:216 +#: logsrvd/logsrvd_journal.c:217 logsrvd/logsrvd_journal.c:273 +#: logsrvd/logsrvd_journal.c:433 logsrvd/logsrvd_journal.c:435 +#: logsrvd/logsrvd_local.c:215 logsrvd/logsrvd_local.c:216 +#: logsrvd/logsrvd_local.c:278 logsrvd/logsrvd_local.c:279 +#: logsrvd/logsrvd_local.c:417 logsrvd/logsrvd_local.c:466 +#: logsrvd/logsrvd_local.c:467 logsrvd/logsrvd_local.c:472 +#: logsrvd/logsrvd_local.c:473 logsrvd/logsrvd_queue.c:159 +#: logsrvd/logsrvd_queue.c:189 logsrvd/logsrvd_queue.c:266 +#: logsrvd/logsrvd_relay.c:444 logsrvd/logsrvd_relay.c:743 +#: logsrvd/logsrvd_relay.c:850 logsrvd/sendlog.c:251 logsrvd/sendlog.c:260 +#: logsrvd/sendlog.c:291 logsrvd/sendlog.c:338 logsrvd/sendlog.c:615 +#: logsrvd/sendlog.c:1801 plugins/sudoers/audit.c:116 +#: plugins/sudoers/auth/bsdauth.c:150 plugins/sudoers/auth/kerb5.c:121 +#: plugins/sudoers/auth/kerb5.c:148 plugins/sudoers/auth/pam.c:687 +#: plugins/sudoers/auth/rfc1938.c:111 plugins/sudoers/auth/sia.c:59 +#: plugins/sudoers/check_aliases.c:168 plugins/sudoers/cvtsudoers.c:131 +#: plugins/sudoers/cvtsudoers.c:175 plugins/sudoers/cvtsudoers.c:192 +#: plugins/sudoers/cvtsudoers.c:203 plugins/sudoers/cvtsudoers.c:333 +#: plugins/sudoers/cvtsudoers.c:372 plugins/sudoers/cvtsudoers.c:392 +#: plugins/sudoers/cvtsudoers.c:537 plugins/sudoers/cvtsudoers.c:670 +#: plugins/sudoers/cvtsudoers.c:688 plugins/sudoers/cvtsudoers.c:862 +#: plugins/sudoers/cvtsudoers.c:870 plugins/sudoers/cvtsudoers.c:1365 +#: plugins/sudoers/cvtsudoers.c:1369 plugins/sudoers/cvtsudoers.c:1471 +#: plugins/sudoers/cvtsudoers_csv.c:183 plugins/sudoers/cvtsudoers_csv.c:246 +#: plugins/sudoers/cvtsudoers_json.c:76 plugins/sudoers/cvtsudoers_ldif.c:151 +#: plugins/sudoers/cvtsudoers_ldif.c:194 plugins/sudoers/cvtsudoers_ldif.c:235 +#: plugins/sudoers/cvtsudoers_ldif.c:300 plugins/sudoers/cvtsudoers_ldif.c:376 +#: plugins/sudoers/cvtsudoers_ldif.c:430 plugins/sudoers/cvtsudoers_ldif.c:438 +#: plugins/sudoers/cvtsudoers_ldif.c:449 plugins/sudoers/cvtsudoers_ldif.c:456 +#: plugins/sudoers/cvtsudoers_ldif.c:468 plugins/sudoers/cvtsudoers_ldif.c:481 +#: plugins/sudoers/cvtsudoers_ldif.c:489 plugins/sudoers/cvtsudoers_ldif.c:636 +#: plugins/sudoers/cvtsudoers_merge.c:47 plugins/sudoers/cvtsudoers_merge.c:52 +#: plugins/sudoers/cvtsudoers_merge.c:353 +#: plugins/sudoers/cvtsudoers_merge.c:399 +#: plugins/sudoers/cvtsudoers_merge.c:446 +#: plugins/sudoers/cvtsudoers_merge.c:467 +#: plugins/sudoers/cvtsudoers_merge.c:553 +#: plugins/sudoers/cvtsudoers_merge.c:564 +#: plugins/sudoers/cvtsudoers_merge.c:633 +#: plugins/sudoers/cvtsudoers_merge.c:1158 +#: plugins/sudoers/cvtsudoers_merge.c:1231 plugins/sudoers/defaults.c:434 +#: plugins/sudoers/defaults.c:658 plugins/sudoers/defaults.c:1019 +#: plugins/sudoers/defaults.c:1187 plugins/sudoers/editor.c:197 +#: plugins/sudoers/env.c:263 plugins/sudoers/exptilde.c:92 +#: plugins/sudoers/filedigest.c:54 plugins/sudoers/filedigest.c:70 +#: plugins/sudoers/gc.c:57 plugins/sudoers/group_plugin.c:212 +#: plugins/sudoers/interfaces.c:68 plugins/sudoers/iolog.c:268 +#: plugins/sudoers/iolog.c:668 plugins/sudoers/iolog.c:694 +#: plugins/sudoers/ldap.c:184 plugins/sudoers/ldap.c:466 +#: plugins/sudoers/ldap.c:757 plugins/sudoers/ldap.c:921 +#: plugins/sudoers/ldap.c:1337 plugins/sudoers/ldap.c:1763 +#: plugins/sudoers/ldap.c:1800 plugins/sudoers/ldap.c:2016 +#: plugins/sudoers/ldap.c:2117 plugins/sudoers/ldap.c:2133 +#: plugins/sudoers/ldap_conf.c:218 plugins/sudoers/ldap_conf.c:250 +#: plugins/sudoers/ldap_conf.c:302 plugins/sudoers/ldap_conf.c:338 +#: plugins/sudoers/ldap_conf.c:444 plugins/sudoers/ldap_conf.c:459 +#: plugins/sudoers/ldap_conf.c:564 plugins/sudoers/ldap_conf.c:597 +#: plugins/sudoers/ldap_conf.c:689 plugins/sudoers/ldap_conf.c:771 +#: plugins/sudoers/ldap_util.c:294 plugins/sudoers/ldap_util.c:301 +#: plugins/sudoers/ldap_util.c:614 plugins/sudoers/linux_audit.c:86 +#: plugins/sudoers/log_client.c:117 plugins/sudoers/log_client.c:402 +#: plugins/sudoers/log_client.c:715 plugins/sudoers/log_client.c:736 +#: plugins/sudoers/log_client.c:1415 plugins/sudoers/log_client.c:1536 +#: plugins/sudoers/log_client.c:1636 plugins/sudoers/log_client.c:1972 +#: plugins/sudoers/log_client.c:2031 plugins/sudoers/logging.c:110 +#: plugins/sudoers/logging.c:189 plugins/sudoers/logging.c:457 +#: plugins/sudoers/logging.c:672 plugins/sudoers/logging.c:809 +#: plugins/sudoers/match_command.c:335 plugins/sudoers/match_command.c:603 +#: plugins/sudoers/match_command.c:654 plugins/sudoers/match_command.c:728 +#: plugins/sudoers/match_command.c:776 plugins/sudoers/match_digest.c:93 +#: plugins/sudoers/parse.c:267 plugins/sudoers/parse.c:284 +#: plugins/sudoers/parse.c:303 plugins/sudoers/parse.c:322 +#: plugins/sudoers/parse.c:339 plugins/sudoers/parse.c:362 +#: plugins/sudoers/parse.c:373 plugins/sudoers/parse_ldif.c:153 +#: plugins/sudoers/parse_ldif.c:184 plugins/sudoers/parse_ldif.c:253 +#: plugins/sudoers/parse_ldif.c:261 plugins/sudoers/parse_ldif.c:266 +#: plugins/sudoers/parse_ldif.c:342 plugins/sudoers/parse_ldif.c:353 +#: plugins/sudoers/parse_ldif.c:380 plugins/sudoers/parse_ldif.c:397 +#: plugins/sudoers/parse_ldif.c:409 plugins/sudoers/parse_ldif.c:413 +#: plugins/sudoers/parse_ldif.c:427 plugins/sudoers/parse_ldif.c:484 +#: plugins/sudoers/parse_ldif.c:598 plugins/sudoers/parse_ldif.c:628 +#: plugins/sudoers/parse_ldif.c:653 plugins/sudoers/parse_ldif.c:711 +#: plugins/sudoers/parse_ldif.c:728 plugins/sudoers/parse_ldif.c:756 +#: plugins/sudoers/parse_ldif.c:763 plugins/sudoers/policy.c:626 +#: plugins/sudoers/policy.c:1033 plugins/sudoers/prompt.c:93 +#: plugins/sudoers/pwutil.c:199 plugins/sudoers/pwutil.c:270 +#: plugins/sudoers/pwutil.c:348 plugins/sudoers/pwutil.c:522 +#: plugins/sudoers/pwutil.c:587 plugins/sudoers/pwutil.c:659 +#: plugins/sudoers/pwutil.c:857 plugins/sudoers/pwutil.c:945 +#: plugins/sudoers/pwutil.c:993 plugins/sudoers/pwutil.c:1052 +#: plugins/sudoers/sssd.c:145 plugins/sudoers/sssd.c:185 +#: plugins/sudoers/sssd.c:414 plugins/sudoers/sssd.c:479 +#: plugins/sudoers/sssd.c:505 plugins/sudoers/sssd.c:568 +#: plugins/sudoers/sssd.c:761 plugins/sudoers/strvec_join.c:53 +#: plugins/sudoers/stubs.c:112 plugins/sudoers/stubs.c:120 +#: plugins/sudoers/sudoers.c:354 plugins/sudoers/sudoers.c:380 +#: plugins/sudoers/sudoers.c:447 plugins/sudoers/sudoers.c:464 +#: plugins/sudoers/sudoers.c:505 plugins/sudoers/sudoers.c:849 +#: plugins/sudoers/sudoers.c:902 plugins/sudoers/sudoers.c:1054 +#: plugins/sudoers/sudoers.c:1114 plugins/sudoers/sudoers.c:1369 +#: plugins/sudoers/sudoreplay.c:559 plugins/sudoers/sudoreplay.c:562 +#: plugins/sudoers/sudoreplay.c:1278 plugins/sudoers/sudoreplay.c:1334 +#: plugins/sudoers/sudoreplay.c:1530 plugins/sudoers/sudoreplay.c:1534 +#: plugins/sudoers/testsudoers.c:120 plugins/sudoers/testsudoers.c:224 +#: plugins/sudoers/testsudoers.c:241 plugins/sudoers/testsudoers.c:588 +#: plugins/sudoers/timestamp.c:451 plugins/sudoers/timestamp.c:495 +#: plugins/sudoers/timestamp.c:1017 plugins/sudoers/timestamp.c:1146 +#: plugins/sudoers/toke_util.c:78 plugins/sudoers/toke_util.c:106 +#: plugins/sudoers/toke_util.c:131 plugins/sudoers/toke_util.c:161 +#: plugins/sudoers/toke_util.c:200 plugins/sudoers/tsdump.c:123 +#: plugins/sudoers/visudo.c:150 plugins/sudoers/visudo.c:385 +#: plugins/sudoers/visudo.c:391 plugins/sudoers/visudo.c:502 +#: plugins/sudoers/visudo.c:1056 toke.l:1031 toke.l:1163 toke.l:1234 +msgid "unable to allocate memory" +msgstr "impossible d'allouer la mémoire" + +#: gram.y:623 +msgid "a digest requires a path name" +msgstr "un résumé (digest) nécessite un chemin d'accès" + +#: gram.y:645 +msgid "values for \"CWD\" must start with a '/', '~', or '*'" +msgstr "les valeurs de « CWD » doivent commencer par « / », « ~ » ou « * »" + +#: gram.y:651 +msgid "\"CWD\" path too long" +msgstr "chemin trop long pour « CWD »" + +#: gram.y:661 +msgid "values for \"CHROOT\" must start with a '/', '~', or '*'" +msgstr "les valeurs de « CHROOT » doivent commencer par « / », « ~ » ou « * »" + +#: gram.y:667 +msgid "\"CHROOT\" path too long" +msgstr "chemin trop long pour « CHROOT »" + +#: gram.y:802 +#, c-format +msgid "syntax error, reserved word %s used as an alias name" +msgstr "erreur de syntaxe, le mot réservé %s est utilisé comme un nom de synonyme" + +#: gram.y:825 +msgid "invalid notbefore value" +msgstr "valeur « notbefore » (pas avant) invalide" + +#: gram.y:834 +msgid "invalid notafter value" +msgstr "valeur « notafter » (pas après) invalide" + +#: gram.y:844 plugins/sudoers/policy.c:385 +msgid "timeout value too large" +msgstr "valeur trop grande pour le délai d'expiration" + +#: gram.y:846 plugins/sudoers/policy.c:387 +msgid "invalid timeout value" +msgstr "valeur invalide pour le délai d'expiration" + +#: gram.y:967 plugins/sudoers/sudoers.c:1072 +msgid "command too long" +msgstr "commande trop longue" + +#: gram.y:1224 plugins/sudoers/check_aliases.c:96 +#: plugins/sudoers/defaults.c:1276 +#, c-format +msgid "%s:%d:%d: %s\n" +msgstr "%s:%d:%d: %s\n" + +#: gram.y:1278 +#, c-format +msgid "Alias \"%s\" already defined" +msgstr "L'alias « %s » est déjà défini" + +#: gram.y:1777 gram.y:1827 lib/eventlog/eventlog.c:235 +#: lib/eventlog/eventlog.c:757 lib/eventlog/eventlog.c:830 +#: lib/eventlog/eventlog.c:833 lib/eventlog/eventlog.c:1135 +#: lib/iolog/iolog_filter.c:142 lib/iolog/iolog_filter.c:202 +#: lib/iolog/iolog_filter.c:232 lib/iolog/iolog_json.c:150 +#: lib/iolog/iolog_json.c:381 lib/iolog/iolog_json.c:412 +#: lib/iolog/iolog_legacy.c:100 lib/iolog/iolog_legacy.c:111 +#: lib/iolog/iolog_legacy.c:123 lib/iolog/iolog_legacy.c:133 +#: lib/iolog/iolog_legacy.c:139 lib/iolog/iolog_loginfo.c:76 +#: lib/iolog/iolog_loginfo.c:212 logsrvd/iolog_writer.c:95 +#: logsrvd/iolog_writer.c:100 logsrvd/iolog_writer.c:134 +#: logsrvd/iolog_writer.c:171 logsrvd/iolog_writer.c:181 +#: logsrvd/iolog_writer.c:194 logsrvd/iolog_writer.c:214 +#: logsrvd/iolog_writer.c:224 logsrvd/iolog_writer.c:243 +#: logsrvd/iolog_writer.c:253 logsrvd/iolog_writer.c:264 +#: logsrvd/iolog_writer.c:274 logsrvd/iolog_writer.c:286 +#: logsrvd/iolog_writer.c:296 logsrvd/iolog_writer.c:306 +#: logsrvd/iolog_writer.c:316 logsrvd/iolog_writer.c:328 +#: logsrvd/iolog_writer.c:364 logsrvd/iolog_writer.c:370 +#: logsrvd/iolog_writer.c:377 logsrvd/iolog_writer.c:383 +#: logsrvd/iolog_writer.c:567 logsrvd/logsrv_util.c:69 logsrvd/logsrvd.c:301 +#: logsrvd/logsrvd.c:310 logsrvd/logsrvd.c:453 logsrvd/logsrvd.c:490 +#: logsrvd/logsrvd.c:522 logsrvd/logsrvd.c:576 logsrvd/logsrvd.c:611 +#: logsrvd/logsrvd.c:660 logsrvd/logsrvd.c:696 logsrvd/logsrvd.c:732 +#: logsrvd/logsrvd.c:1124 logsrvd/logsrvd.c:1439 logsrvd/logsrvd.c:1446 +#: logsrvd/logsrvd.c:1582 logsrvd/logsrvd.c:1587 logsrvd/logsrvd.c:1771 +#: logsrvd/logsrvd.c:1988 logsrvd/logsrvd_conf.c:357 +#: logsrvd/logsrvd_conf.c:370 logsrvd/logsrvd_conf.c:511 +#: logsrvd/logsrvd_conf.c:534 logsrvd/logsrvd_conf.c:538 +#: logsrvd/logsrvd_conf.c:556 logsrvd/logsrvd_conf.c:626 +#: logsrvd/logsrvd_conf.c:649 logsrvd/logsrvd_conf.c:678 +#: logsrvd/logsrvd_conf.c:692 logsrvd/logsrvd_conf.c:706 +#: logsrvd/logsrvd_conf.c:720 logsrvd/logsrvd_conf.c:734 +#: logsrvd/logsrvd_conf.c:748 logsrvd/logsrvd_conf.c:829 +#: logsrvd/logsrvd_conf.c:1036 logsrvd/logsrvd_conf.c:1053 +#: logsrvd/logsrvd_conf.c:1448 logsrvd/logsrvd_conf.c:1595 +#: logsrvd/logsrvd_conf.c:1621 logsrvd/logsrvd_conf.c:1633 +#: logsrvd/logsrvd_conf.c:1640 logsrvd/logsrvd_conf.c:1646 +#: logsrvd/logsrvd_conf.c:1742 logsrvd/logsrvd_journal.c:76 +#: logsrvd/logsrvd_journal.c:125 logsrvd/logsrvd_journal.c:216 +#: logsrvd/logsrvd_journal.c:246 logsrvd/logsrvd_journal.c:250 +#: logsrvd/logsrvd_journal.c:258 logsrvd/logsrvd_journal.c:281 +#: logsrvd/logsrvd_journal.c:285 logsrvd/logsrvd_journal.c:433 +#: logsrvd/logsrvd_local.c:215 logsrvd/logsrvd_local.c:278 +#: logsrvd/logsrvd_local.c:466 logsrvd/logsrvd_local.c:472 +#: logsrvd/logsrvd_local.c:491 logsrvd/logsrvd_queue.c:158 +#: logsrvd/logsrvd_queue.c:189 logsrvd/logsrvd_queue.c:266 +#: logsrvd/sendlog.c:251 logsrvd/sendlog.c:260 logsrvd/sendlog.c:291 +#: logsrvd/sendlog.c:338 logsrvd/sendlog.c:615 logsrvd/sendlog.c:1503 +#: logsrvd/sendlog.c:1510 logsrvd/sendlog.c:1733 logsrvd/sendlog.c:1801 +#: logsrvd/tls_init.c:305 logsrvd/tls_init.c:329 logsrvd/tls_init.c:340 +#: plugins/sudoers/audit.c:116 plugins/sudoers/auth/pam.c:502 +#: plugins/sudoers/auth/pam.c:687 plugins/sudoers/auth/rfc1938.c:111 +#: plugins/sudoers/check_aliases.c:168 plugins/sudoers/cvtsudoers.c:131 +#: plugins/sudoers/cvtsudoers.c:174 plugins/sudoers/cvtsudoers.c:191 +#: plugins/sudoers/cvtsudoers.c:202 plugins/sudoers/cvtsudoers.c:332 +#: plugins/sudoers/cvtsudoers.c:536 plugins/sudoers/cvtsudoers.c:669 +#: plugins/sudoers/cvtsudoers.c:687 plugins/sudoers/cvtsudoers.c:862 +#: plugins/sudoers/cvtsudoers.c:869 plugins/sudoers/cvtsudoers.c:1365 +#: plugins/sudoers/cvtsudoers.c:1369 plugins/sudoers/cvtsudoers.c:1471 +#: plugins/sudoers/cvtsudoers_csv.c:182 plugins/sudoers/cvtsudoers_csv.c:245 +#: plugins/sudoers/cvtsudoers_json.c:75 plugins/sudoers/cvtsudoers_ldif.c:150 +#: plugins/sudoers/cvtsudoers_ldif.c:193 plugins/sudoers/cvtsudoers_ldif.c:234 +#: plugins/sudoers/cvtsudoers_ldif.c:299 plugins/sudoers/cvtsudoers_ldif.c:375 +#: plugins/sudoers/cvtsudoers_ldif.c:429 plugins/sudoers/cvtsudoers_ldif.c:437 +#: plugins/sudoers/cvtsudoers_ldif.c:448 plugins/sudoers/cvtsudoers_ldif.c:455 +#: plugins/sudoers/cvtsudoers_ldif.c:467 plugins/sudoers/cvtsudoers_ldif.c:480 +#: plugins/sudoers/cvtsudoers_ldif.c:488 plugins/sudoers/cvtsudoers_ldif.c:635 +#: plugins/sudoers/cvtsudoers_merge.c:47 plugins/sudoers/cvtsudoers_merge.c:51 +#: plugins/sudoers/cvtsudoers_merge.c:353 +#: plugins/sudoers/cvtsudoers_merge.c:399 +#: plugins/sudoers/cvtsudoers_merge.c:445 +#: plugins/sudoers/cvtsudoers_merge.c:466 +#: plugins/sudoers/cvtsudoers_merge.c:553 +#: plugins/sudoers/cvtsudoers_merge.c:561 +#: plugins/sudoers/cvtsudoers_merge.c:564 +#: plugins/sudoers/cvtsudoers_merge.c:630 +#: plugins/sudoers/cvtsudoers_merge.c:633 +#: plugins/sudoers/cvtsudoers_merge.c:1157 +#: plugins/sudoers/cvtsudoers_merge.c:1231 plugins/sudoers/defaults.c:434 +#: plugins/sudoers/defaults.c:658 plugins/sudoers/defaults.c:1019 +#: plugins/sudoers/defaults.c:1187 plugins/sudoers/editor.c:197 +#: plugins/sudoers/env.c:263 plugins/sudoers/exptilde.c:92 +#: plugins/sudoers/filedigest.c:54 plugins/sudoers/filedigest.c:70 +#: plugins/sudoers/gc.c:57 plugins/sudoers/group_plugin.c:211 +#: plugins/sudoers/interfaces.c:68 plugins/sudoers/iolog.c:268 +#: plugins/sudoers/iolog.c:668 plugins/sudoers/iolog.c:694 +#: plugins/sudoers/ldap.c:184 plugins/sudoers/ldap.c:466 +#: plugins/sudoers/ldap.c:757 plugins/sudoers/ldap.c:921 +#: plugins/sudoers/ldap.c:1337 plugins/sudoers/ldap.c:1763 +#: plugins/sudoers/ldap.c:1800 plugins/sudoers/ldap.c:2016 +#: plugins/sudoers/ldap.c:2117 plugins/sudoers/ldap.c:2133 +#: plugins/sudoers/ldap_conf.c:218 plugins/sudoers/ldap_conf.c:250 +#: plugins/sudoers/ldap_conf.c:302 plugins/sudoers/ldap_conf.c:338 +#: plugins/sudoers/ldap_conf.c:444 plugins/sudoers/ldap_conf.c:459 +#: plugins/sudoers/ldap_conf.c:564 plugins/sudoers/ldap_conf.c:597 +#: plugins/sudoers/ldap_conf.c:688 plugins/sudoers/ldap_conf.c:771 +#: plugins/sudoers/ldap_util.c:293 plugins/sudoers/ldap_util.c:300 +#: plugins/sudoers/ldap_util.c:614 plugins/sudoers/linux_audit.c:86 +#: plugins/sudoers/log_client.c:117 plugins/sudoers/log_client.c:228 +#: plugins/sudoers/log_client.c:250 plugins/sudoers/log_client.c:264 +#: plugins/sudoers/log_client.c:402 plugins/sudoers/log_client.c:715 +#: plugins/sudoers/log_client.c:736 plugins/sudoers/log_client.c:1415 +#: plugins/sudoers/log_client.c:1536 plugins/sudoers/log_client.c:1636 +#: plugins/sudoers/log_client.c:1972 plugins/sudoers/log_client.c:2031 +#: plugins/sudoers/logging.c:110 plugins/sudoers/logging.c:188 +#: plugins/sudoers/logging.c:189 plugins/sudoers/logging.c:457 +#: plugins/sudoers/logging.c:672 plugins/sudoers/logging.c:809 +#: plugins/sudoers/logging.c:880 plugins/sudoers/logging.c:892 +#: plugins/sudoers/match_command.c:334 plugins/sudoers/match_command.c:602 +#: plugins/sudoers/match_command.c:653 plugins/sudoers/match_command.c:728 +#: plugins/sudoers/match_command.c:775 plugins/sudoers/match_digest.c:93 +#: plugins/sudoers/parse.c:266 plugins/sudoers/parse.c:283 +#: plugins/sudoers/parse.c:302 plugins/sudoers/parse.c:321 +#: plugins/sudoers/parse.c:338 plugins/sudoers/parse.c:361 +#: plugins/sudoers/parse.c:372 plugins/sudoers/parse_ldif.c:152 +#: plugins/sudoers/parse_ldif.c:183 plugins/sudoers/parse_ldif.c:252 +#: plugins/sudoers/parse_ldif.c:260 plugins/sudoers/parse_ldif.c:265 +#: plugins/sudoers/parse_ldif.c:341 plugins/sudoers/parse_ldif.c:352 +#: plugins/sudoers/parse_ldif.c:379 plugins/sudoers/parse_ldif.c:396 +#: plugins/sudoers/parse_ldif.c:408 plugins/sudoers/parse_ldif.c:412 +#: plugins/sudoers/parse_ldif.c:426 plugins/sudoers/parse_ldif.c:484 +#: plugins/sudoers/parse_ldif.c:598 plugins/sudoers/parse_ldif.c:627 +#: plugins/sudoers/parse_ldif.c:652 plugins/sudoers/parse_ldif.c:710 +#: plugins/sudoers/parse_ldif.c:727 plugins/sudoers/parse_ldif.c:755 +#: plugins/sudoers/parse_ldif.c:762 plugins/sudoers/policy.c:154 +#: plugins/sudoers/policy.c:163 plugins/sudoers/policy.c:172 +#: plugins/sudoers/policy.c:201 plugins/sudoers/policy.c:370 +#: plugins/sudoers/policy.c:385 plugins/sudoers/policy.c:387 +#: plugins/sudoers/policy.c:425 plugins/sudoers/policy.c:434 +#: plugins/sudoers/policy.c:482 plugins/sudoers/policy.c:492 +#: plugins/sudoers/policy.c:501 plugins/sudoers/policy.c:510 +#: plugins/sudoers/policy.c:519 plugins/sudoers/policy.c:626 +#: plugins/sudoers/policy.c:1033 plugins/sudoers/prompt.c:93 +#: plugins/sudoers/pwutil.c:199 plugins/sudoers/pwutil.c:270 +#: plugins/sudoers/pwutil.c:348 plugins/sudoers/pwutil.c:522 +#: plugins/sudoers/pwutil.c:587 plugins/sudoers/pwutil.c:659 +#: plugins/sudoers/pwutil.c:857 plugins/sudoers/pwutil.c:945 +#: plugins/sudoers/pwutil.c:993 plugins/sudoers/pwutil.c:1052 +#: plugins/sudoers/set_perms.c:363 plugins/sudoers/set_perms.c:706 +#: plugins/sudoers/set_perms.c:1073 plugins/sudoers/set_perms.c:1380 +#: plugins/sudoers/set_perms.c:1549 plugins/sudoers/sssd.c:144 +#: plugins/sudoers/sssd.c:185 plugins/sudoers/sssd.c:414 +#: plugins/sudoers/sssd.c:479 plugins/sudoers/sssd.c:505 +#: plugins/sudoers/sssd.c:568 plugins/sudoers/sssd.c:761 +#: plugins/sudoers/strvec_join.c:53 plugins/sudoers/stubs.c:112 +#: plugins/sudoers/stubs.c:120 plugins/sudoers/sudoers.c:354 +#: plugins/sudoers/sudoers.c:380 plugins/sudoers/sudoers.c:447 +#: plugins/sudoers/sudoers.c:464 plugins/sudoers/sudoers.c:505 +#: plugins/sudoers/sudoers.c:849 plugins/sudoers/sudoers.c:902 +#: plugins/sudoers/sudoers.c:1054 plugins/sudoers/sudoers.c:1114 +#: plugins/sudoers/sudoers.c:1369 plugins/sudoers/sudoreplay.c:559 +#: plugins/sudoers/sudoreplay.c:562 plugins/sudoers/sudoreplay.c:1278 +#: plugins/sudoers/sudoreplay.c:1334 plugins/sudoers/sudoreplay.c:1530 +#: plugins/sudoers/sudoreplay.c:1534 plugins/sudoers/testsudoers.c:120 +#: plugins/sudoers/testsudoers.c:224 plugins/sudoers/testsudoers.c:241 +#: plugins/sudoers/testsudoers.c:588 plugins/sudoers/timestamp.c:451 +#: plugins/sudoers/timestamp.c:495 plugins/sudoers/timestamp.c:1017 +#: plugins/sudoers/timestamp.c:1146 plugins/sudoers/toke_util.c:78 +#: plugins/sudoers/toke_util.c:106 plugins/sudoers/toke_util.c:131 +#: plugins/sudoers/toke_util.c:160 plugins/sudoers/toke_util.c:200 +#: plugins/sudoers/tsdump.c:123 plugins/sudoers/visudo.c:150 +#: plugins/sudoers/visudo.c:385 plugins/sudoers/visudo.c:391 +#: plugins/sudoers/visudo.c:502 plugins/sudoers/visudo.c:1056 toke.l:1031 +#: toke.l:1163 toke.l:1226 toke.l:1234 +#, c-format +msgid "%s: %s" +msgstr "%s : %s" + +#: lib/eventlog/eventlog.c:303 +#, c-format +msgid "unable to dup stdin: %m" +msgstr "duplication (dup) de stdin impossible : %m" + +#: lib/eventlog/eventlog.c:345 +#, c-format +msgid "unable to execute %s: %m" +msgstr "exécution de %s impossible : %m" + +#: lib/eventlog/eventlog.c:393 plugins/sudoers/auth/aix_auth.c:198 +msgid "unable to fork" +msgstr "création du processus fils impossible" + +#: lib/eventlog/eventlog.c:403 lib/eventlog/eventlog.c:468 +#, c-format +msgid "unable to fork: %m" +msgstr "création du processus fils impossible : %m" + +#: lib/eventlog/eventlog.c:458 +#, c-format +msgid "unable to open pipe: %m" +msgstr "ouverture du tube impossible : %m" + +#: lib/eventlog/eventlog.c:960 +#, c-format +msgid "%8s : %s" +msgstr "%8s : %s" + +#: lib/eventlog/eventlog.c:989 +#, c-format +msgid "%8s : (command continued) %s" +msgstr "%8s : (suite de la commande) %s" + +#: lib/iolog/iolog_filter.c:133 plugins/sudoers/defaults.c:1242 +#: plugins/sudoers/sudoreplay.c:1290 plugins/sudoers/sudoreplay.c:1586 +#, c-format +msgid "invalid regular expression \"%s\": %s" +msgstr "expression régulière « %s » invalide : %s" + +#: lib/iolog/iolog_json.c:140 +#, c-format +msgid "expected JSON_STRING, got %d" +msgstr "JSON_STRING attendue, %d obtenu" + +#: lib/iolog/iolog_json.c:145 +msgid "JSON_ARRAY too large" +msgstr "JSON_ARRAY trop grand" + +#: lib/iolog/iolog_json.c:404 +msgid "missing double quote in name" +msgstr "guillemet manquante dans le nom" + +#: lib/iolog/iolog_json.c:511 +msgid "missing JSON_OBJECT" +msgstr "JSON_OBJECT manquant" + +#: lib/iolog/iolog_json.c:515 +#, c-format +msgid "expected JSON_OBJECT, got %d" +msgstr "JSON_OBJECT attendu, %d obtenu" + +#: lib/iolog/iolog_json.c:632 +#, c-format +msgid "json stack exhausted (max %u frames)" +msgstr "pile json épuisée (max %u trames)" + +#: lib/iolog/iolog_json.c:706 +msgid "objects must consist of name:value pairs" +msgstr "les objets doivent être des paires nom:valeur" + +#: lib/iolog/iolog_json.c:711 lib/iolog/iolog_json.c:742 +#: lib/iolog/iolog_json.c:786 lib/iolog/iolog_json.c:808 +#: lib/iolog/iolog_json.c:830 lib/iolog/iolog_json.c:852 +#: lib/iolog/iolog_json.c:874 +msgid "missing separator between values" +msgstr "séparateur manquant entre les valeurs" + +#: lib/iolog/iolog_json.c:726 lib/iolog/iolog_json.c:900 +msgid "unmatched close brace" +msgstr "accolade fermante non appariée" + +#: lib/iolog/iolog_json.c:737 +msgid "unexpected array" +msgstr "tableau attendu" + +#: lib/iolog/iolog_json.c:757 lib/iolog/iolog_json.c:903 +msgid "unmatched close bracket" +msgstr "crochet fermant non apparié" + +#: lib/iolog/iolog_json.c:768 +msgid "unexpected string" +msgstr "chaîne inattendue" + +#: lib/iolog/iolog_json.c:779 +msgid "missing colon after name" +msgstr "deux points manquants après le nom" + +#: lib/iolog/iolog_json.c:800 lib/iolog/iolog_json.c:822 +msgid "unexpected boolean" +msgstr "booléen inattendu" + +#: lib/iolog/iolog_json.c:844 +msgid "unexpected null" +msgstr "nul inattendu" + +#: lib/iolog/iolog_json.c:865 +msgid "unexpected number" +msgstr "nombre inattendu" + +#: lib/iolog/iolog_json.c:912 +msgid "parse error" +msgstr "erreur d'analyse grammaticale" + +#: lib/iolog/iolog_legacy.c:65 +#, c-format +msgid "%s: invalid log file" +msgstr "%s: fichier de journalisation incorrect" + +#: lib/iolog/iolog_legacy.c:83 +#, c-format +msgid "%s: time stamp field is missing" +msgstr "%s: il manque le champ d'horodatage" + +#: lib/iolog/iolog_legacy.c:89 +#, c-format +msgid "%s: time stamp %s: %s" +msgstr "%s: horodatage %s : %s" + +#: lib/iolog/iolog_legacy.c:96 +#, c-format +msgid "%s: user field is missing" +msgstr "%s: il manque le champ utilisateur" + +#: lib/iolog/iolog_legacy.c:107 +#, c-format +msgid "%s: runas user field is missing" +msgstr "%s: il manque le champ précisant l'utilisateur effectif (runas)" + +#: lib/iolog/iolog_legacy.c:118 +#, c-format +msgid "%s: runas group field is missing" +msgstr "%s: il manque le champ précisant le groupe effectif (runas)" + +#: lib/iolog/iolog_mkdirs.c:89 +#, c-format +msgid "%s exists but is not a directory (0%o)" +msgstr "%s existe mais n'est pas un répertoire (0%o)" + +#: lib/iolog/iolog_mkdirs.c:123 lib/iolog/iolog_mkdtemp.c:79 +#: logsrvd/iolog_writer.c:781 plugins/sudoers/timestamp.c:209 +#, c-format +msgid "unable to mkdir %s" +msgstr "création du répertoire (mkdir) %s impossible" + +#: lib/iolog/iolog_mkdtemp.c:84 plugins/sudoers/visudo.c:757 +#: plugins/sudoers/visudo.c:791 plugins/sudoers/visudo.c:797 +#, c-format +msgid "unable to change mode of %s to 0%o" +msgstr "impossible de changer le mode de %s pour lui affecter 0%o" + +#: lib/iolog/iolog_timing.c:261 +#, c-format +msgid "error reading timing file: %s" +msgstr "erreur de lecture dans le fichier de timing : %s" + +#: lib/iolog/iolog_timing.c:268 +#, c-format +msgid "invalid timing file line: %s" +msgstr "ligne invalide dans le fichier de timing : %s" + +#: logsrvd/iolog_writer.c:65 +#, c-format +msgid "%s: protocol error: NULL key" +msgstr "%s : erreur de protocole : clé NULL" + +#: logsrvd/iolog_writer.c:69 +#, c-format +msgid "%s: protocol error: wrong type for %s" +msgstr "%s : erreur de protocole : mauvais type pour %s" + +#: logsrvd/iolog_writer.c:74 logsrvd/logsrvd_local.c:109 +#: logsrvd/logsrvd_local.c:123 logsrvd/logsrvd_local.c:131 +#: logsrvd/logsrvd_local.c:149 +#, c-format +msgid "%s: protocol error: NULL value found in %s" +msgstr "%s : erreur de protocole : valeur NULL trouvée dans %s" + +#: logsrvd/iolog_writer.c:141 plugins/sudoers/logging.c:980 +#: plugins/sudoers/policy.c:593 +msgid "unable to generate UUID" +msgstr "impossible de générer le UUID" + +#: logsrvd/iolog_writer.c:341 logsrvd/iolog_writer.c:346 +#: logsrvd/iolog_writer.c:351 logsrvd/iolog_writer.c:356 +#, c-format +msgid "%s: protocol error: %s missing from AcceptMessage" +msgstr "%s : erreur de protocole : %s est manquant dans AcceptMessage" + +#: logsrvd/iolog_writer.c:417 +#, c-format +msgid "%s: unable to format session id" +msgstr "%s : impossible de formater l'id de session" + +#: logsrvd/iolog_writer.c:431 logsrvd/iolog_writer.c:445 +#: logsrvd/iolog_writer.c:459 logsrvd/iolog_writer.c:474 +#: logsrvd/iolog_writer.c:488 logsrvd/iolog_writer.c:502 +#, c-format +msgid "%s: %s is not set" +msgstr "%s : %s n'est pas défini" + +#: logsrvd/iolog_writer.c:538 logsrvd/iolog_writer.c:545 +#, c-format +msgid "unable to expand iolog path %s" +msgstr "impossible de développer le chemin iolog %s" + +#: logsrvd/iolog_writer.c:563 +#, c-format +msgid "unable to create iolog path %s" +msgstr "impossible de créer le chemin iolog %s" + +#: logsrvd/iolog_writer.c:593 +#, c-format +msgid "invalid iofd %d" +msgstr "iofd %d invalide" + +#: logsrvd/iolog_writer.c:613 +#, c-format +msgid "error closing iofd %d: %s" +msgstr "erreur à la fermeture du iofd %d : %s" + +#: logsrvd/iolog_writer.c:633 +#, c-format +msgid "error flushing iofd %d: %s" +msgstr "erreur lors de la vidange du iofd %d : %s" + +#: logsrvd/iolog_writer.c:751 +#, c-format +msgid "invalid I/O log %s: %s referenced but not present" +msgstr "journal E/S %s invalide : il est fait référence à %s alors qu'il n'est pas présent" + +#: logsrvd/iolog_writer.c:763 logsrvd/logsrvd_journal.c:385 +#, c-format +msgid "%s: unable to find resume point [%lld, %ld]" +msgstr "%s : impossible de trouver le point de redémarrage [%lld, %ld]" + +#: logsrvd/iolog_writer.c:785 logsrvd/logsrvd_journal.c:428 +#: logsrvd/logsrvd_queue.c:115 logsrvd/tls_init.c:256 +#: plugins/sudoers/check.c:292 plugins/sudoers/cvtsudoers.c:730 +#: plugins/sudoers/cvtsudoers.c:751 plugins/sudoers/cvtsudoers.c:1431 +#: plugins/sudoers/cvtsudoers_csv.c:695 plugins/sudoers/cvtsudoers_json.c:898 +#: plugins/sudoers/cvtsudoers_ldif.c:709 plugins/sudoers/sudoers.c:1152 +#: plugins/sudoers/sudoers.c:1182 plugins/sudoers/sudoreplay.c:1496 +#: plugins/sudoers/timestamp.c:460 plugins/sudoers/tsdump.c:128 +#: plugins/sudoers/visudo.c:975 +#, c-format +msgid "unable to open %s" +msgstr "ouverture de %s impossible" + +#: logsrvd/iolog_writer.c:797 logsrvd/logsrv_util.c:105 +#: logsrvd/logsrv_util.c:112 plugins/sudoers/sudoreplay.c:355 +#: plugins/sudoers/sudoreplay.c:361 +#, c-format +msgid "unable to open %s/%s" +msgstr "ouverture de %si/%s impossible" + +#: logsrvd/iolog_writer.c:810 +#, c-format +msgid "unable to copy %s/%s to %s/%s: %s" +msgstr "impossible de copier %s/%s vers %s/%s : %s" + +#: logsrvd/iolog_writer.c:839 logsrvd/logsrvd_journal.c:198 +#, c-format +msgid "unable to rename %s to %s" +msgstr "impossible de renommer %s en %s" + +#: logsrvd/logsrv_util.c:147 logsrvd/logsrv_util.c:176 +#, c-format +msgid "%s/%s: unable to find resume point [%lld, %ld]" +msgstr "%s/%s : impossible de trouver le point de redémarrage [%lld, %ld]" + +#: logsrvd/logsrv_util.c:159 +#, c-format +msgid "missing I/O log file %s/%s" +msgstr "fichier du journal E/S %s/%s manquant" + +#: logsrvd/logsrv_util.c:166 +#, c-format +msgid "%s/%s: unable to seek forward %zu" +msgstr "%s/%s : impossible d'examiner vers l'avant de %zu" + +#: logsrvd/logsrvd.c:271 logsrvd/logsrvd_queue.c:135 +msgid "unable to connect to relay" +msgstr "impossible de se connecter au relai" + +#: logsrvd/logsrvd.c:330 logsrvd/logsrvd_relay.c:842 +#, c-format +msgid "server message too large: %zu" +msgstr "message serveur trop grand : %zu" + +#: logsrvd/logsrvd.c:422 logsrvd/logsrvd.c:545 logsrvd/logsrvd.c:631 +#: logsrvd/logsrvd.c:873 logsrvd/logsrvd.c:887 logsrvd/logsrvd.c:1049 +#: logsrvd/logsrvd.c:1174 logsrvd/logsrvd.c:1347 logsrvd/logsrvd.c:1365 +#: logsrvd/logsrvd.c:1464 logsrvd/logsrvd.c:1589 logsrvd/logsrvd.c:1773 +#: logsrvd/logsrvd_journal.c:497 logsrvd/logsrvd_local.c:238 +#: logsrvd/logsrvd_queue.c:164 logsrvd/logsrvd_relay.c:172 +#: logsrvd/logsrvd_relay.c:249 logsrvd/logsrvd_relay.c:253 +#: logsrvd/logsrvd_relay.c:389 logsrvd/logsrvd_relay.c:581 +#: logsrvd/logsrvd_relay.c:742 logsrvd/logsrvd_relay.c:1131 +#: logsrvd/sendlog.c:1291 logsrvd/tls_client.c:136 logsrvd/tls_client.c:152 +#: logsrvd/tls_client.c:216 plugins/sudoers/audit.c:278 +#: plugins/sudoers/iolog.c:1031 plugins/sudoers/iolog.c:1164 +#: plugins/sudoers/iolog.c:1262 plugins/sudoers/log_client.c:121 +#: plugins/sudoers/log_client.c:343 plugins/sudoers/log_client.c:359 +#: plugins/sudoers/log_client.c:407 plugins/sudoers/log_client.c:611 +#: plugins/sudoers/log_client.c:618 plugins/sudoers/log_client.c:1103 +#: plugins/sudoers/log_client.c:1384 plugins/sudoers/log_client.c:1425 +#: plugins/sudoers/log_client.c:1433 plugins/sudoers/log_client.c:1592 +#: plugins/sudoers/log_client.c:1710 plugins/sudoers/log_client.c:2039 +#: plugins/sudoers/log_client.c:2047 plugins/sudoers/logging.c:147 +#: plugins/sudoers/logging.c:205 plugins/sudoers/sudoreplay.c:519 +#: plugins/sudoers/sudoreplay.c:566 plugins/sudoers/sudoreplay.c:808 +#: plugins/sudoers/sudoreplay.c:920 plugins/sudoers/sudoreplay.c:1011 +#: plugins/sudoers/sudoreplay.c:1026 plugins/sudoers/sudoreplay.c:1033 +#: plugins/sudoers/sudoreplay.c:1040 plugins/sudoers/sudoreplay.c:1047 +#: plugins/sudoers/sudoreplay.c:1054 plugins/sudoers/sudoreplay.c:1181 +msgid "unable to add event to queue" +msgstr "impossible d'ajouter l'événement à la queue" + +#: logsrvd/logsrvd.c:446 logsrvd/logsrvd.c:483 logsrvd/logsrvd.c:515 +#: logsrvd/logsrvd.c:569 logsrvd/logsrvd.c:648 logsrvd/logsrvd.c:684 +#: logsrvd/logsrvd.c:720 logsrvd/logsrvd.c:756 logsrvd/logsrvd_relay.c:510 +#: logsrvd/logsrvd_relay.c:543 +#, c-format +msgid "unexpected state %d for %s" +msgstr "état %d inattendu pour %s" + +#: logsrvd/logsrvd.c:447 logsrvd/logsrvd.c:484 logsrvd/logsrvd.c:516 +#: logsrvd/logsrvd.c:570 logsrvd/logsrvd.c:649 logsrvd/logsrvd.c:685 +#: logsrvd/logsrvd.c:721 logsrvd/logsrvd.c:757 logsrvd/logsrvd_relay.c:512 +#: logsrvd/logsrvd_relay.c:545 +msgid "state machine error" +msgstr "erreur de la machine à états" + +#: logsrvd/logsrvd.c:453 logsrvd/logsrvd.c:454 +msgid "invalid AcceptMessage" +msgstr "AcceptMessage invalide" + +#: logsrvd/logsrvd.c:490 logsrvd/logsrvd.c:491 +msgid "invalid RejectMessage" +msgstr "RejectMessage invalide" + +#: logsrvd/logsrvd.c:522 logsrvd/logsrvd.c:523 +msgid "invalid ExitMessage" +msgstr "ExitMessage invalide" + +#: logsrvd/logsrvd.c:576 logsrvd/logsrvd.c:577 +msgid "invalid RestartMessage" +msgstr "RestartMessage invalide" + +#: logsrvd/logsrvd.c:611 logsrvd/logsrvd.c:612 +msgid "invalid AlertMessage" +msgstr "AlertMessage invalide" + +#: logsrvd/logsrvd.c:653 logsrvd/logsrvd.c:689 logsrvd/logsrvd.c:725 +#, c-format +msgid "%s: unexpected IoBuffer" +msgstr "%s : IoBuffer inattendu" + +#: logsrvd/logsrvd.c:654 logsrvd/logsrvd.c:690 logsrvd/logsrvd.c:726 +msgid "protocol error" +msgstr "erreur protocole" + +#: logsrvd/logsrvd.c:660 logsrvd/logsrvd.c:661 +msgid "invalid IoBuffer" +msgstr "IoBuffer invalide" + +#: logsrvd/logsrvd.c:696 logsrvd/logsrvd.c:697 +msgid "invalid ChangeWindowSize" +msgstr "ChangeWindowSize invalide" + +#: logsrvd/logsrvd.c:732 logsrvd/logsrvd.c:733 +msgid "invalid CommandSuspend" +msgstr "CommandSuspend invalide" + +#: logsrvd/logsrvd.c:782 logsrvd/logsrvd_journal.c:296 +#: logsrvd/logsrvd_relay.c:652 logsrvd/sendlog.c:1192 +#: plugins/sudoers/log_client.c:1582 +#, c-format +msgid "unable to unpack %s size %zu" +msgstr "impossible de décompresser %s avec une taille de %zu" + +#: logsrvd/logsrvd.c:827 logsrvd/logsrvd_journal.c:370 +#: logsrvd/logsrvd_relay.c:676 +#, c-format +msgid "unexpected type_case value %d in %s from %s" +msgstr "valeur type_case %d inattendue dans %s de %s" + +#: logsrvd/logsrvd.c:829 +msgid "unrecognized ClientMessage type" +msgstr "type de ClientMessage non reconnu" + +#: logsrvd/logsrvd.c:919 +#, c-format +msgid "timed out writing to client %s" +msgstr "délai d'attente expiré durant l'écriture vers le client %s" + +#: logsrvd/logsrvd.c:924 logsrvd/logsrvd_relay.c:914 logsrvd/sendlog.c:1395 +#, c-format +msgid "missing write buffer for client %s" +msgstr "tampon d'écriture manquant pour le client %s" + +#: logsrvd/logsrvd.c:1020 +#, c-format +msgid "timed out reading from client %s" +msgstr "délai d'attente expiré durant la lecture depuis le client %s" + +#: logsrvd/logsrvd.c:1061 logsrvd/logsrvd_relay.c:777 +#, c-format +msgid "EOF from %s without proper TLS shutdown" +msgstr "Fin de fichier reçu de %s sans suivre la procédure d'arrêt TLS" + +#: logsrvd/logsrvd.c:1105 logsrvd/logsrvd_relay.c:205 logsrvd/sendlog.c:322 +#: plugins/sudoers/log_client.c:721 +#, c-format +msgid "client message too large: %zu" +msgstr "message client trop grand : %zu" + +#: logsrvd/logsrvd.c:1106 logsrvd/logsrvd_journal.c:259 +#: logsrvd/logsrvd_journal.c:260 +msgid "client message too large" +msgstr "message client trop grand" + +#: logsrvd/logsrvd.c:1124 logsrvd/logsrvd.c:1125 +msgid "invalid ClientMessage" +msgstr "ClientMessage invalide" + +#: logsrvd/logsrvd.c:1425 +msgid "unable to get remote IP addr" +msgstr "impossible d'obtenir l'adresse IP distante" + +#: logsrvd/logsrvd.c:1456 logsrvd/tls_client.c:203 +#: plugins/sudoers/log_client.c:281 +#, c-format +msgid "Unable to attach user data to the ssl object: %s" +msgstr "Impossible d'attacher les données utilisateur à l'objet ssl : %s" + +#: logsrvd/logsrvd.c:1639 logsrvd/logsrvd.c:1992 +msgid "unable to setup listen socket" +msgstr "configuration du socket d'écoute impossible" + +#: logsrvd/logsrvd.c:1756 +#, c-format +msgid "unexpected signal %d" +msgstr "signal %d inattendu" + +#: logsrvd/logsrvd.c:1894 +msgid "sudo log server" +msgstr "serveur de journalisation de sudo" + +#: logsrvd/logsrvd.c:1896 logsrvd/sendlog.c:121 +msgid "Options:" +msgstr "Options :" + +#: logsrvd/logsrvd.c:1898 +msgid "path to configuration file" +msgstr "chemin du fichier de configuration" + +#: logsrvd/logsrvd.c:1900 logsrvd/sendlog.c:123 +msgid "display help message and exit" +msgstr "afficher le message d'aide et quitter" + +#: logsrvd/logsrvd.c:1902 +msgid "do not fork, run in the foreground" +msgstr "ne pas cloner, exécuter à l'avant plan" + +#: logsrvd/logsrvd.c:1904 +msgid "percent chance connections will drop" +msgstr "pourcentage de chance que les connections soient abandonnées" + +#: logsrvd/logsrvd.c:1906 logsrvd/sendlog.c:153 +msgid "display version information and exit" +msgstr "afficher l'information de version et quitter" + +#: logsrvd/logsrvd.c:1956 logsrvd/sendlog.c:1702 +msgid "Protobuf-C version 1.3 or higher required" +msgstr "Version 1.3 ou supérieure de Protobuf-C requise" + +#: logsrvd/logsrvd.c:1972 +#, c-format +msgid "invalid random drop value: %s" +msgstr "valeur d'abandon aléatoire invalide : %s" + +#: logsrvd/logsrvd.c:1975 logsrvd/sendlog.c:1756 +#: plugins/sudoers/cvtsudoers.c:246 plugins/sudoers/sudoreplay.c:294 +#: plugins/sudoers/visudo.c:182 +#, c-format +msgid "%s version %s\n" +msgstr "%s version %s\n" + +#: logsrvd/logsrvd_conf.c:422 plugins/sudoers/check.c:358 +#: plugins/sudoers/exptilde.c:85 plugins/sudoers/iolog.c:122 +#: plugins/sudoers/policy.c:1271 plugins/sudoers/sudoers.c:512 +#: plugins/sudoers/sudoers.c:1411 plugins/sudoers/testsudoers.c:215 +#: plugins/sudoers/testsudoers.c:382 +#, c-format +msgid "unknown user %s" +msgstr "utilisateur %s inconnu" + +#: logsrvd/logsrvd_conf.c:439 plugins/sudoers/iolog.c:148 +#: plugins/sudoers/sudoers.c:517 plugins/sudoers/sudoers.c:1445 +#: plugins/sudoers/testsudoers.c:406 +#, c-format +msgid "unknown group %s" +msgstr "groupe %s inconnu" + +#: logsrvd/logsrvd_conf.c:457 +#, c-format +msgid "unable to parse iolog mode %s" +msgstr "impossible d'analyser le mode iolog %s" + +#: logsrvd/logsrvd_conf.c:474 logsrvd/logsrvd_conf.c:1243 +#, c-format +msgid "invalid value for %s: %s" +msgstr "valeur invalide pour %s : %s" + +#: logsrvd/logsrvd_conf.c:527 +msgid "TLS not supported" +msgstr "TLS non supporté" + +#: logsrvd/logsrvd_conf.c:549 +#, c-format +msgid "%s:%s" +msgstr "%s:%s" + +#: logsrvd/logsrvd_conf.c:622 logsrvd/logsrvd_conf.c:1032 +#, c-format +msgid "%s: not a fully qualified path" +msgstr "%s  n'est pas un chemin totalement défini" + +#: logsrvd/logsrvd_conf.c:951 logsrvd/logsrvd_conf.c:967 +#: logsrvd/logsrvd_conf.c:1676 +#, c-format +msgid "unknown syslog facility %s" +msgstr "catégorie syslog %s inconnue" + +#: logsrvd/logsrvd_conf.c:983 logsrvd/logsrvd_conf.c:999 +#: logsrvd/logsrvd_conf.c:1015 logsrvd/logsrvd_conf.c:1680 +#: logsrvd/logsrvd_conf.c:1684 logsrvd/logsrvd_conf.c:1688 +#, c-format +msgid "unknown syslog priority %s" +msgstr "priorité syslog %s inconnue" + +#: logsrvd/logsrvd_conf.c:1197 +#, c-format +msgid "%s:%d unmatched '[': %s" +msgstr "%s:%d « [ » sans correspondant : %s" + +#: logsrvd/logsrvd_conf.c:1203 +#, c-format +msgid "%s:%d garbage after ']': %s" +msgstr "%s:%d charabia après « ] » : %s" + +#: logsrvd/logsrvd_conf.c:1215 +#, c-format +msgid "%s:%d invalid config section: %s" +msgstr "%s:%d section de configuration invalide : %s" + +#: logsrvd/logsrvd_conf.c:1223 +#, c-format +msgid "%s:%d invalid configuration line: %s" +msgstr "%s:%d ligne de configuration invalide : %s" + +#: logsrvd/logsrvd_conf.c:1229 +#, c-format +msgid "%s:%d expected section name: %s" +msgstr "%s:%d nom de section attendu : %s" + +#: logsrvd/logsrvd_conf.c:1251 +#, c-format +msgid "%s:%d [%s] illegal key: %s" +msgstr "%s:%d [%s] clé illégale : %s" + +#: logsrvd/logsrvd_conf.c:1281 plugins/sudoers/cvtsudoers.c:268 +#: plugins/sudoers/logging.c:1033 +#, c-format +msgid "unable to open log file %s" +msgstr "ouverture du fichier de journalisation %s impossible" + +#: logsrvd/logsrvd_conf.c:1763 +msgid "unable to initialize server TLS context" +msgstr "impossible d'initialiser le contexte TLS du serveur : %s" + +#: logsrvd/logsrvd_conf.c:1783 +msgid "unable to initialize relay TLS context" +msgstr "impossible d'initialiser le contexte TLS du relai : %s" + +#: logsrvd/logsrvd_journal.c:149 logsrvd/logsrvd_journal.c:424 +#: logsrvd/logsrvd_journal.c:429 +msgid "unable to create journal file" +msgstr "impossible de créer le fichier de journalisation" + +#: logsrvd/logsrvd_journal.c:153 logsrvd/logsrvd_queue.c:109 +#: plugins/sudoers/visudo.c:1028 +#, c-format +msgid "unable to lock %s" +msgstr "impossible de verrouiller %s" + +#: logsrvd/logsrvd_journal.c:156 +msgid "unable to lock journal file" +msgstr "verrouillage du fichier de journalisation impossible : %s" + +#: logsrvd/logsrvd_journal.c:164 +msgid "unable to open journal file" +msgstr "impossible d'ouvrir le fichier de journalisation" + +#: logsrvd/logsrvd_journal.c:185 logsrvd/logsrvd_journal.c:460 +#: logsrvd/logsrvd_journal.c:465 +msgid "unable to write journal file" +msgstr "impossible d'écrire le fichier de journalisation" + +#: logsrvd/logsrvd_journal.c:193 logsrvd/logsrvd_journal.c:200 +msgid "unable to rename journal file" +msgstr "impossible de renommer le fichier de journalisation" + +#: logsrvd/logsrvd_journal.c:247 logsrvd/logsrvd_journal.c:248 +#: logsrvd/logsrvd_journal.c:282 logsrvd/logsrvd_journal.c:283 +msgid "unexpected EOF reading journal file" +msgstr "fin de fichier inattendue en lisant le fichier de journalisation" + +#: logsrvd/logsrvd_journal.c:251 logsrvd/logsrvd_journal.c:252 +#: logsrvd/logsrvd_journal.c:286 logsrvd/logsrvd_journal.c:287 +msgid "error reading journal file" +msgstr "erreur de lecture dans le fichier de journalisation" + +#: logsrvd/logsrvd_journal.c:298 logsrvd/logsrvd_journal.c:384 +msgid "invalid journal file, unable to restart" +msgstr "fichier de journalisation invalide, impossible de redémarrer" + +#: logsrvd/logsrvd_journal.c:443 +#, c-format +msgid "unable to seek to [%lld, %ld] in journal file %s" +msgstr "impossible de déplacer le pointeur vers [%lld, %ld] dans le fichier de journalisation %s" + +#: logsrvd/logsrvd_local.c:166 +#, c-format +msgid "unexpected value_case %d in %s from %s" +msgstr "valeur value_case %d inattendue dans %s de %s" + +#: logsrvd/logsrvd_local.c:194 +msgid "error parsing AcceptMessage" +msgstr "erreur de l'analyse de AcceptMessage" + +#: logsrvd/logsrvd_local.c:205 +msgid "error creating I/O log" +msgstr "erreur lors de la création du journal des E/S" + +#: logsrvd/logsrvd_local.c:228 +msgid "error logging accept event" +msgstr "erreur en écrivant l'événement d'acceptation dans le journal" + +#: logsrvd/logsrvd_local.c:267 +msgid "error parsing RejectMessage" +msgstr "erreur de l'analyse de RejectMessage" + +#: logsrvd/logsrvd_local.c:291 +msgid "error logging reject event" +msgstr "erreur en écrivant l'événement de rejet dans le journal" + +#: logsrvd/logsrvd_local.c:427 logsrvd/logsrvd_local.c:435 +msgid "error logging exit event" +msgstr "erreur lors de l'écriture de l'événement de sortie dans le journal" + +#: logsrvd/logsrvd_local.c:492 logsrvd/logsrvd_local.c:493 +msgid "log is already complete, cannot be restarted" +msgstr "l'enregistrement du journal est déjà terminé, impossible de redémarrer" + +#: logsrvd/logsrvd_local.c:523 +msgid "unable to restart log" +msgstr "impossible de redémarrer l'enregistrement du journal" + +#: logsrvd/logsrvd_local.c:539 +msgid "error parsing AlertMessage" +msgstr "erreur de l'analyse de AlertMessage" + +#: logsrvd/logsrvd_local.c:549 +msgid "error logging alert event" +msgstr "erreur lors de l'écriture de l'événement d'alerte dans le journal" + +#: logsrvd/logsrvd_local.c:585 logsrvd/logsrvd_local.c:648 +#: logsrvd/logsrvd_local.c:683 +#, c-format +msgid "unable to format timing buffer, length %d" +msgstr "impossible de formater le tampon de minutage, longueur %d" + +#: logsrvd/logsrvd_local.c:599 logsrvd/logsrvd_local.c:607 +#: logsrvd/logsrvd_local.c:655 logsrvd/logsrvd_local.c:690 +#: plugins/sudoers/sudoreplay.c:344 +#, c-format +msgid "%s/%s: %s" +msgstr "%s/%s : %s" + +#: logsrvd/logsrvd_local.c:618 +msgid "randomly dropping connection" +msgstr "connexion abandonnée aléatoirement" + +#: logsrvd/logsrvd_local.c:630 +msgid "error writing IoBuffer" +msgstr "erreur d'écriture dans IoBuffer" + +#: logsrvd/logsrvd_local.c:665 +msgid "error writing ChangeWindowSize" +msgstr "erreur de l'écriture de ChangeWindowSize" + +#: logsrvd/logsrvd_local.c:700 +msgid "error writing CommandSuspend" +msgstr "erreur de l'écriture de CommandSuspend" + +#: logsrvd/logsrvd_relay.c:435 +msgid "TLS handshake with relay host failed" +msgstr "la négociation TLS avec l'hôte relai a échouée" + +#: logsrvd/logsrvd_relay.c:463 +msgid "unable to connect to relay host" +msgstr "impossible de se connecter à l'hôte relai" + +#: logsrvd/logsrvd_relay.c:518 +#, c-format +msgid "%s: invalid ServerHello, missing server_id" +msgstr "%s : ServerHello invalide, le server_id manque" + +#: logsrvd/logsrvd_relay.c:520 logsrvd/sendlog.c:1096 +#: plugins/sudoers/log_client.c:1468 +msgid "invalid ServerHello" +msgstr "ServerHello invalide" + +#: logsrvd/logsrvd_relay.c:679 +msgid "unrecognized ServerMessage type" +msgstr "type de ServerMessage non reconnu" + +#: logsrvd/logsrvd_relay.c:708 +#, c-format +msgid "timed out reading from relay %s (%s)" +msgstr "délai d'attente expiré durant la lecture depuis le relai %s (%s)" + +#: logsrvd/logsrvd_relay.c:710 +msgid "timeout reading from relay" +msgstr "délai d'attente expiré durant la lecture depuis le relai" + +#: logsrvd/logsrvd_relay.c:762 +msgid "relay host name does not match certificate" +msgstr "le nom de l'hôte relai ne correspond pas au certificat" + +#: logsrvd/logsrvd_relay.c:768 logsrvd/logsrvd_relay.c:782 +#: logsrvd/logsrvd_relay.c:789 +msgid "error reading from relay" +msgstr "erreur de lecture depuis le relai" + +#: logsrvd/logsrvd_relay.c:810 +msgid "unable to read from relay" +msgstr "impossible de lire depuis le relai" + +#: logsrvd/logsrvd_relay.c:825 logsrvd/logsrvd_relay.c:943 +msgid "relay server closed connection" +msgstr "le serveur relai a fermé la connexion" + +#: logsrvd/logsrvd_relay.c:843 +msgid "server message too large" +msgstr "message serveur trop grand" + +#: logsrvd/logsrvd_relay.c:907 +#, c-format +msgid "timed out writing to relay %s (%s)" +msgstr "délai d'attente expiré durant l'écriture vers le relai %s (%s)" + +#: logsrvd/logsrvd_relay.c:909 +msgid "timeout writing to relay" +msgstr "délai d'attente expiré durant l'écriture vers le relai" + +#: logsrvd/logsrvd_relay.c:962 logsrvd/logsrvd_relay.c:969 +#: logsrvd/logsrvd_relay.c:981 +msgid "error writing to relay" +msgstr "erreur d'écriture dans le relai" + +#: logsrvd/sendlog.c:119 +msgid "send sudo I/O log to remote server" +msgstr "envoyer le journal des E/S de sudo au serveur distant" + +#: logsrvd/sendlog.c:125 +msgid "only send an accept event (no I/O)" +msgstr "uniquement envoyer un événement d'acceptation (pas d'E/S)" + +#: logsrvd/sendlog.c:128 +msgid "certificate bundle file to verify server's cert against" +msgstr "fichier de trousseau de certificats pour vérifier le certificat du serveur" + +#: logsrvd/sendlog.c:130 +msgid "certificate file for TLS handshake" +msgstr "fichier de certificat pour la négociation TLS" + +#: logsrvd/sendlog.c:133 +msgid "host to send logs to" +msgstr "hôte auquel envoyer les journaux" + +#: logsrvd/sendlog.c:135 +msgid "remote ID of I/O log to be resumed" +msgstr "ID distant du journal des E/S à compléter" + +#: logsrvd/sendlog.c:138 +msgid "private key file" +msgstr "fichier de clé privée" + +#: logsrvd/sendlog.c:140 +msgid "do not verify server certificate" +msgstr "ne pas vérifier le certificat du serveur" + +#: logsrvd/sendlog.c:143 +msgid "port to use when connecting to host" +msgstr "port à utiliser lors de la connexion à l'hôte" + +#: logsrvd/sendlog.c:145 +msgid "restart previous I/O log transfer" +msgstr "redémarrer le transfert de journaux E/S précédent" + +#: logsrvd/sendlog.c:147 +msgid "reject the command with the given reason" +msgstr "rejeter la commande avec la raison fournie" + +#: logsrvd/sendlog.c:149 +msgid "stop transfer after reaching this time" +msgstr "arrêter le transfert après avoir atteint ce temps" + +#: logsrvd/sendlog.c:151 +msgid "test audit server by sending selected I/O log n times in parallel" +msgstr "tester le serveur d'audit en envoyant le journal des E/S sélectionné n fois en parallèle" + +#: logsrvd/sendlog.c:176 plugins/sudoers/log_client.c:453 +#, c-format +msgid "unable to look up %s:%s: %s" +msgstr "impossible de rechercher %s:%s : %s" + +#: logsrvd/sendlog.c:214 +msgid "unable to get server IP addr" +msgstr "impossible d'obtenir l'adresse IP du serveur" + +#: logsrvd/sendlog.c:300 plugins/sudoers/sudoreplay.c:868 +#, c-format +msgid "unable to read %s/%s: %s" +msgstr "impossible de lire %s/%s : %s" + +#: logsrvd/sendlog.c:1020 plugins/sudoers/iolog.c:949 +#: plugins/sudoers/iolog.c:1024 +#, c-format +msgid "unexpected I/O event %d" +msgstr "événement d'E/S %d inattendu" + +#: logsrvd/sendlog.c:1073 logsrvd/sendlog.c:1090 logsrvd/sendlog.c:1124 +#: plugins/sudoers/log_client.c:1118 plugins/sudoers/log_client.c:1394 +#: plugins/sudoers/log_client.c:1462 plugins/sudoers/log_client.c:1501 +#, c-format +msgid "%s: unexpected state %d" +msgstr "%s: état %d inattendu" + +#: logsrvd/sendlog.c:1160 plugins/sudoers/log_client.c:1550 +#, c-format +msgid "error message received from server: %s" +msgstr "message d'erreur reçu du serveur : %s" + +#: logsrvd/sendlog.c:1173 plugins/sudoers/log_client.c:1563 +#, c-format +msgid "abort message received from server: %s" +msgstr "message d'interruption reçu du serveur : %s" + +#: logsrvd/sendlog.c:1232 plugins/sudoers/log_client.c:1613 +#, c-format +msgid "%s: unexpected type_case value %d" +msgstr "%s: valeur type_case %d inattendue" + +#: logsrvd/sendlog.c:1261 +msgid "timeout reading from server" +msgstr "délai d'attente expiré durant la lecture depuis le serveur" + +#: logsrvd/sendlog.c:1310 plugins/sudoers/log_client.c:1729 +msgid "host name does not match certificate" +msgstr "le nom de l'hôte ne correspond pas au certificat" + +#: logsrvd/sendlog.c:1343 +msgid "premature EOF" +msgstr "fin de fichier prématurée" + +#: logsrvd/sendlog.c:1356 plugins/sudoers/log_client.c:1776 +#, c-format +msgid "server message too large: %u" +msgstr "message serveur trop grand : %u" + +#: logsrvd/sendlog.c:1412 +msgid "timeout writing to server" +msgstr "délai d'attente expiré durant l'écriture vers le serveur" + +#: logsrvd/sendlog.c:1779 +msgid "both restart point and iolog ID must be specified" +msgstr "le point de redémarrage et le ID iolog doivent être spécifiés tous les deux" + +#: logsrvd/sendlog.c:1783 +msgid "a restart point may not be set when no I/O is sent" +msgstr "un point de redémarrage ne peut pas être placé quand aucune E/S est envoyée" + +#: logsrvd/sendlog.c:1859 +#, c-format +msgid "exited prematurely with state %d" +msgstr "terminé prématurément avec l'état %d" + +#: logsrvd/sendlog.c:1860 +#, c-format +msgid "elapsed time sent to server [%lld, %ld]" +msgstr "temps écoulé envoyé au serveur [%lld, %ld]" + +#: logsrvd/sendlog.c:1862 +#, c-format +msgid "commit point received from server [%lld, %ld]" +msgstr "point d'enregistrement reçu du serveur [%lld, %ld]" + +#: logsrvd/tls_client.c:111 plugins/sudoers/log_client.c:315 +msgid "TLS handshake timeout occurred" +msgstr "le délai de la négociation TLS a expiré" + +#: logsrvd/tls_client.c:131 logsrvd/tls_client.c:147 +#: plugins/sudoers/log_client.c:337 plugins/sudoers/log_client.c:353 +msgid "unable to set event" +msgstr "impossible de définir l'événement" + +#: logsrvd/tls_client.c:157 logsrvd/tls_client.c:161 +#, c-format +msgid "TLS connection failed: %s" +msgstr "la communication TLS a échoué : %s" + +#: logsrvd/tls_client.c:196 +#, c-format +msgid "unable to allocate ssl object: %s" +msgstr "impossible d'allouer l'objet ssl : %s" + +#: logsrvd/tls_client.c:210 +#, c-format +msgid "Unable to attach socket to the ssl object: %s" +msgstr "Impossible d'attacher le socket à l'objet ssl : %s" + +#: logsrvd/tls_client.c:238 +msgid "unable to initialize TLS context" +msgstr "impossible d'initialiser le contexte TLS" + +#: logsrvd/tls_init.c:138 logsrvd/tls_init.c:146 +#, c-format +msgid "unable to set TLS 1.2 ciphersuite to %s: %s" +msgstr "impossible de sélectionner la suite de chiffrement %s pour TLS 1.2 : %s" + +#: logsrvd/tls_init.c:166 logsrvd/tls_init.c:174 +#, c-format +msgid "unable to set TLS 1.3 ciphersuite to %s: %s" +msgstr "impossible de sélectionner la suite de chiffrement %s pour TLS 1.3 : %s" + +#: logsrvd/tls_init.c:206 logsrvd/tls_init.c:227 +#, c-format +msgid "unable to set diffie-hellman parameters: %s" +msgstr "impossible de définir les paramètres diffie-hellman : %s" + +#: logsrvd/tls_init.c:283 +#, c-format +msgid "unable to create TLS context: %s" +msgstr "impossible de créer le contexte TLS : %s" + +#: logsrvd/tls_init.c:290 +#, c-format +msgid "unable to set minimum protocol version to TLS 1.2: %s" +msgstr "impossible de définir TLS 1.2 comme étant la version minimale du protocole : %s" + +#: plugins/sudoers/audit.c:269 plugins/sudoers/audit.c:429 +#: plugins/sudoers/log_client.c:951 plugins/sudoers/log_client.c:1000 +#: plugins/sudoers/log_client.c:1049 plugins/sudoers/log_client.c:1174 +#: plugins/sudoers/logging.c:595 plugins/sudoers/logging.c:693 +#: plugins/sudoers/logging.c:796 plugins/sudoers/logging.c:987 +#: plugins/sudoers/policy.c:125 +msgid "unable to get time of day" +msgstr "récupération de l'heure du jour impossible" + +#: plugins/sudoers/auth/aix_auth.c:280 +#, c-format +msgid "unable to change password for %s" +msgstr "changement du mot de passe impossible pour %s" + +#: plugins/sudoers/auth/bsdauth.c:74 +#, c-format +msgid "unable to get login class for user %s" +msgstr "récupération de la classe de connexion impossible pour l'utilisateur %s" + +#: plugins/sudoers/auth/bsdauth.c:79 +msgid "unable to begin bsd authentication" +msgstr "démarrage de l'authentification bsd impossible" + +#: plugins/sudoers/auth/bsdauth.c:87 +msgid "invalid authentication type" +msgstr "type d'authentification non valide" + +#: plugins/sudoers/auth/bsdauth.c:96 +msgid "unable to initialize BSD authentication" +msgstr "démarrage de l'authentification BSD impossible" + +#: plugins/sudoers/auth/bsdauth.c:186 +msgid "your account has expired" +msgstr "votre compte est expiré" + +#: plugins/sudoers/auth/bsdauth.c:188 +msgid "approval failed" +msgstr "échec de l'approbation" + +#: plugins/sudoers/auth/fwtk.c:61 +msgid "unable to read fwtk config" +msgstr "lecture de la configuration fwtk (firewall) impossible" + +#: plugins/sudoers/auth/fwtk.c:66 +msgid "unable to connect to authentication server" +msgstr "connexion au serveur d'authentification impossible" + +#: plugins/sudoers/auth/fwtk.c:72 plugins/sudoers/auth/fwtk.c:97 +#: plugins/sudoers/auth/fwtk.c:129 +msgid "lost connection to authentication server" +msgstr "perte de la connexion au serveur d'authentification" + +#: plugins/sudoers/auth/fwtk.c:76 +#, c-format +msgid "" +"authentication server error:\n" +"%s" +msgstr "" +"erreur du serveur d'authentification :\n" +"%s" + +#: plugins/sudoers/auth/kerb5.c:115 +#, c-format +msgid "%s: unable to convert principal to string ('%s'): %s" +msgstr "%s : conversion de l'identité de l'hôte en chaîne de caractères impossible(« %s ») : %s" + +#: plugins/sudoers/auth/kerb5.c:164 +#, c-format +msgid "%s: unable to parse '%s': %s" +msgstr "%s : analyse grammaticale (parse) de « %s » impossible : %s" + +#: plugins/sudoers/auth/kerb5.c:173 +#, c-format +msgid "%s: unable to resolve credential cache: %s" +msgstr "%s : accès au cache des données d'identification impossible : %s" + +#: plugins/sudoers/auth/kerb5.c:222 +#, c-format +msgid "%s: unable to allocate options: %s" +msgstr "%s : allocation des options impossible : %s" + +#: plugins/sudoers/auth/kerb5.c:237 +#, c-format +msgid "%s: unable to get credentials: %s" +msgstr "%s : récupération des données d'identification impossible : %s" + +#: plugins/sudoers/auth/kerb5.c:250 +#, c-format +msgid "%s: unable to initialize credential cache: %s" +msgstr "%s : initialisation du cache des données d'identification impossible : %s" + +#: plugins/sudoers/auth/kerb5.c:253 +#, c-format +msgid "%s: unable to store credential in cache: %s" +msgstr "%s : enregistrement des données d'identification dans le cache impossible : %s" + +#: plugins/sudoers/auth/kerb5.c:317 +#, c-format +msgid "%s: unable to get host principal: %s" +msgstr "%s : récupération de l'identité kerberos de l'hôte (« host principal ») impossible : %s" + +#: plugins/sudoers/auth/kerb5.c:331 +#, c-format +msgid "%s: Cannot verify TGT! Possible attack!: %s" +msgstr "%s : vérification du ticket TGT impossible ! Il s'agit peut-être d'une attaque ! : %s" + +#: plugins/sudoers/auth/pam.c:224 +#, c-format +msgid "unable to initialize PAM: %s" +msgstr "initialisation du module PAM impossible : %s" + +#: plugins/sudoers/auth/pam.c:337 +#, c-format +msgid "PAM authentication error: %s" +msgstr "Erreur du serveur d'authentification PAM : %s" + +#: plugins/sudoers/auth/pam.c:356 +msgid "account validation failure, is your account locked?" +msgstr "la validation du compte a échoué, votre compte serait-il verrouillé ?" + +#: plugins/sudoers/auth/pam.c:367 +msgid "Account or password is expired, reset your password and try again" +msgstr "Le compte ou le mot de passe a expiré, réinitialisez votre mot de passe puis réessayez de vous connecter" + +#: plugins/sudoers/auth/pam.c:373 +#, c-format +msgid "unable to change expired password: %s" +msgstr "changement du mot de passe expiré impossible : %s" + +#: plugins/sudoers/auth/pam.c:384 +msgid "Password expired, contact your system administrator" +msgstr "Le mot de passe a expiré, contactez votre administrateur système" + +#: plugins/sudoers/auth/pam.c:389 +msgid "Account expired or PAM config lacks an \"account\" section for sudo, contact your system administrator" +msgstr "Le compte a expiré, ou la section « account » du module PAM n'est pas renseignée pour sudo, contactez votre administrateur système" + +#: plugins/sudoers/auth/pam.c:397 plugins/sudoers/auth/pam.c:402 +#, c-format +msgid "PAM account management error: %s" +msgstr "Erreur de gestion du compte PAM : %s" + +#: plugins/sudoers/auth/rfc1938.c:99 plugins/sudoers/visudo.c:271 +#, c-format +msgid "you do not exist in the %s database" +msgstr "votre compte n'existe pas dans la base de données %s" + +#: plugins/sudoers/auth/securid5.c:75 +msgid "failed to initialise the ACE API library" +msgstr "échec de l'initialisation de la bibliothèque d'API ACE" + +#: plugins/sudoers/auth/securid5.c:106 +msgid "unable to contact the SecurID server" +msgstr "le contact avec le serveur SecurID n'a pas pu être établi" + +#: plugins/sudoers/auth/securid5.c:115 +msgid "User ID locked for SecurID Authentication" +msgstr "l'identifiant de l'utilisateur est verrouillé pour l'authentification SecurID" + +#: plugins/sudoers/auth/securid5.c:119 plugins/sudoers/auth/securid5.c:171 +msgid "invalid username length for SecurID" +msgstr "la longueur du nom de l'utilisateur n'est pas conforme aux règles fixées pour SecurID" + +#: plugins/sudoers/auth/securid5.c:123 plugins/sudoers/auth/securid5.c:176 +msgid "invalid Authentication Handle for SecurID" +msgstr "l'identifiant d'authentification (« Authentication Handle ») est invalide pour SecurID" + +#: plugins/sudoers/auth/securid5.c:127 +msgid "SecurID communication failed" +msgstr "la communication avec SecurID a échoué" + +#: plugins/sudoers/auth/securid5.c:131 plugins/sudoers/auth/securid5.c:219 +msgid "unknown SecurID error" +msgstr "erreur SecurID non identifiée" + +#: plugins/sudoers/auth/securid5.c:166 +msgid "invalid passcode length for SecurID" +msgstr "la longueur du mot de passe est invalide pour SecurID" + +#: plugins/sudoers/auth/sia.c:69 plugins/sudoers/auth/sia.c:126 +msgid "unable to initialize SIA session" +msgstr "initialisation de la session SIA impossible" + +#: plugins/sudoers/auth/sudo_auth.c:135 +msgid "invalid authentication methods" +msgstr "méthodes d'authentification invalides" + +#: plugins/sudoers/auth/sudo_auth.c:137 +msgid "Invalid authentication methods compiled into sudo! You may not mix standalone and non-standalone authentication." +msgstr "Méthodes d'authentification non valides compilées dans sudo ! La combinaison d'authentifications autonomes et non-autonomes n'est pas permise." + +#: plugins/sudoers/auth/sudo_auth.c:258 plugins/sudoers/auth/sudo_auth.c:310 +msgid "no authentication methods" +msgstr "pas de méthodes d'authentification" + +#: plugins/sudoers/auth/sudo_auth.c:260 +msgid "There are no authentication methods compiled into sudo! If you want to turn off authentication, use the --disable-authentication configure option." +msgstr "Aucune méthode d'authentification compilée dans sudo ! Si vous souhaitez désactiver l'authentification, utilisez l'option de configuration --disable-authentication" + +#: plugins/sudoers/auth/sudo_auth.c:312 +msgid "Unable to initialize authentication methods." +msgstr "Initialisation des méthodes d'authentification impossible." + +#: plugins/sudoers/auth/sudo_auth.c:486 +msgid "Authentication methods:" +msgstr "Méthodes d'authentification : " + +#: plugins/sudoers/bsm_audit.c:123 plugins/sudoers/bsm_audit.c:214 +msgid "Could not determine audit condition" +msgstr "Identification de la condition d'audit impossible" + +#: plugins/sudoers/bsm_audit.c:188 plugins/sudoers/bsm_audit.c:277 +msgid "unable to commit audit record" +msgstr "impossible d'enregistrer l'enregistrement d'audit" + +#: plugins/sudoers/check.c:285 +#, c-format +msgid "error reading lecture file %s" +msgstr "erreur de lecture dans le fichier des recommandations d'usage : %s" + +#: plugins/sudoers/check.c:288 +#, c-format +msgid "ignoring lecture file %s: not a regular file" +msgstr "le fichier des recommandations d'usage %s est ignoré : il n'est pas un fichier ordinaire" + +#: plugins/sudoers/check.c:301 +msgid "" +"\n" +"We trust you have received the usual lecture from the local System\n" +"Administrator. It usually boils down to these three things:\n" +"\n" +" #1) Respect the privacy of others.\n" +" #2) Think before you type.\n" +" #3) With great power comes great responsibility.\n" +"\n" +msgstr "" +"\n" +"Nous espérons que vous avez reçu de votre administrateur système local\n" +"les consignes traditionnelles. Généralement, elles se concentrent sur ces trois éléments :\n" +"\n" +" #1) Respectez la vie privée des autres.\n" +" #2) Réfléchissez avant d'utiliser le clavier.\n" +" #3) De grands pouvoirs confèrent de grandes responsabilités.\n" +"\n" + +#: plugins/sudoers/check.c:309 +msgid "" +"For security reasons, the password you type will not be visible.\n" +"\n" +msgstr "" +"Pour des raisons de sécurité, le mot de passe que vous tapez ne sera pas visible.\n" +"\n" + +#: plugins/sudoers/check.c:353 plugins/sudoers/check.c:363 +#: plugins/sudoers/parse.c:82 plugins/sudoers/sudoers.c:945 +#: plugins/sudoers/sudoers.c:966 plugins/sudoers/tsdump.c:119 +#, c-format +msgid "unknown uid %u" +msgstr "identifiant utilisateur %u inconnu" + +#: plugins/sudoers/check_aliases.c:99 plugins/sudoers/defaults.c:1279 +#, c-format +msgid "%s: %s\n" +msgstr "%s : %s\n" + +#: plugins/sudoers/check_aliases.c:133 +#, c-format +msgid "cycle in %s \"%s\"" +msgstr "boucle dans %s « %s »" + +#: plugins/sudoers/check_aliases.c:136 +#, c-format +msgid "%s \"%s\" referenced but not defined" +msgstr "il est fait mention de %s « %s » alors qu'il n'a pas été défini" + +#: plugins/sudoers/cvtsudoers.c:209 +#, c-format +msgid "order increment: %s: %s" +msgstr "incrément d'ordre : %s : %s" + +#: plugins/sudoers/cvtsudoers.c:228 +#, c-format +msgid "starting order: %s: %s" +msgstr "ordre de départ : %s : %s" + +#: plugins/sudoers/cvtsudoers.c:238 +#, c-format +msgid "order padding: %s: %s" +msgstr "remplissage de l'ordre : %s : %s" + +#: plugins/sudoers/cvtsudoers.c:248 plugins/sudoers/visudo.c:184 +#, c-format +msgid "%s grammar version %d\n" +msgstr "Version de la grammaire de %s : %d\n" + +#: plugins/sudoers/cvtsudoers.c:277 plugins/sudoers/testsudoers.c:159 +#, c-format +msgid "unsupported input format %s" +msgstr "format d'entrée %s non supporté" + +#: plugins/sudoers/cvtsudoers.c:295 +#, c-format +msgid "unsupported output format %s" +msgstr "format de sortie %s non supporté" + +#: plugins/sudoers/cvtsudoers.c:385 +#, c-format +msgid "%s: input and output files must be different" +msgstr "%s : les fichiers d'entrée et de sortie doivent être différents" + +#: plugins/sudoers/cvtsudoers.c:399 plugins/sudoers/sudoers.c:166 +#: plugins/sudoers/sudoers.c:222 plugins/sudoers/testsudoers.c:254 +#: plugins/sudoers/visudo.c:280 plugins/sudoers/visudo.c:654 +msgid "unable to initialize sudoers default values" +msgstr "initialisation des valeurs par défaut de sudoers impossible" + +#: plugins/sudoers/cvtsudoers.c:525 plugins/sudoers/ldap_conf.c:434 +#, c-format +msgid "%s: %s: %s: %s" +msgstr "%s : %s : %s : %s" + +#: plugins/sudoers/cvtsudoers.c:584 +#, c-format +msgid "%s: unknown key word %s" +msgstr "%s: mot clé %s inconnu" + +#: plugins/sudoers/cvtsudoers.c:630 +#, c-format +msgid "invalid defaults type: %s" +msgstr "type par défaut invalide : %s" + +#: plugins/sudoers/cvtsudoers.c:653 +#, c-format +msgid "invalid suppression type: %s" +msgstr "type de suppression invalide : %s" + +#: plugins/sudoers/cvtsudoers.c:694 plugins/sudoers/cvtsudoers.c:710 +#, c-format +msgid "invalid filter: %s" +msgstr "filtre invalide : %s" + +#: plugins/sudoers/cvtsudoers.c:754 plugins/sudoers/visudo.c:982 +#, c-format +msgid "failed to parse %s file, unknown error" +msgstr "échec lors de l'analyse grammaticale de %s, erreur inconnue" + +#: plugins/sudoers/cvtsudoers.c:1478 plugins/sudoers/sudoreplay.c:1142 +#: plugins/sudoers/timestamp.c:343 plugins/sudoers/timestamp.c:346 +#, c-format +msgid "unable to write to %s" +msgstr "écriture impossible dans %s" + +#: plugins/sudoers/cvtsudoers.c:1506 +#, c-format +msgid "" +"%s - convert between sudoers file formats\n" +"\n" +msgstr "" +"%s - convertir entre des formats de fichiers sudoers\n" +"\n" + +#: plugins/sudoers/cvtsudoers.c:1508 +msgid "" +"\n" +"Options:\n" +" -b, --base=dn the base DN for sudo LDAP queries\n" +" -c, --config=conf_file the path to the configuration file\n" +" -d, --defaults=deftypes only convert Defaults of the specified types\n" +" -e, --expand-aliases expand aliases when converting\n" +" -f, --output-format=format set output format: JSON, LDIF or sudoers\n" +" -i, --input-format=format set input format: LDIF or sudoers\n" +" -I, --increment=num amount to increase each sudoOrder by\n" +" -h, --help display help message and exit\n" +" -m, --match=filter only convert entries that match the filter\n" +" -M, --match-local match filter uses passwd and group databases\n" +" -o, --output=output_file write converted sudoers to output_file\n" +" -O, --order-start=num starting point for first sudoOrder\n" +" -p, --prune-matches prune non-matching users, groups and hosts\n" +" -P, --padding=num base padding for sudoOrder increment\n" +" -s, --suppress=sections suppress output of certain sections\n" +" -V, --version display version information and exit" +msgstr "" +"\n" +"Options:\n" +" -b, --base=dn le DN de base pour les requêtes LDAP de sudo\n" +" -c, --config=fich_conf le chemin vers le fichier de configuration\n" +" -d, --defaults=typesdef uniquement convertir les Defaults des types spécifiés\n" +" -e, --expand-aliases développer les alias lors de la conversion\n" +" -f, --output-format=format définir le format de sortie : JSON, LDIF ou sudoers\n" +" -i, --input-format=format définir le format d'entrée : LDIF ou sudoers\n" +" -I, --increment=num valeur pour incrémenter chaque sudoOrder\n" +" -h, --help afficher le message d'aide puis terminer\n" +" -m, --match=filtre ne convertir que les entrées correspondant au filtre\n" +" -M, --match-local le filtre de correspondance utilise les bases de données\n" +" des mots de passe et des groupes\n" +" -o, --output=fichier_sortie écrire les sudoers convertis dans fichier_sortie\n" +" -O, --order-start=num point de départ du premier sudoers\n" +" -p, --prune-matches éliminer les utilisateurs, groupes ou hôtes qui ne\n" +" correspondent pas\n" +" -P, --padding=num remplissage de base pour l'incrément de sudoOrder\n" +" -s, --suppress=sections supprimer la sortie de certaines sections\n" +" -V, --version afficher la version et terminer" + +#: plugins/sudoers/cvtsudoers_csv.c:192 plugins/sudoers/cvtsudoers_csv.c:199 +#: plugins/sudoers/cvtsudoers_ldif.c:244 plugins/sudoers/cvtsudoers_ldif.c:251 +#: plugins/sudoers/cvtsudoers_ldif.c:592 plugins/sudoers/env.c:340 +#: plugins/sudoers/env.c:347 plugins/sudoers/env.c:458 +#: plugins/sudoers/ldap.c:528 plugins/sudoers/ldap.c:761 +#: plugins/sudoers/ldap.c:1134 plugins/sudoers/ldap_conf.c:222 +#: plugins/sudoers/ldap_conf.c:313 plugins/sudoers/ldap_util.c:486 +#: plugins/sudoers/linux_audit.c:92 plugins/sudoers/logging.c:461 +#: plugins/sudoers/logging.c:817 plugins/sudoers/logging.c:827 +#: plugins/sudoers/policy.c:807 plugins/sudoers/policy.c:818 +#: plugins/sudoers/prompt.c:168 plugins/sudoers/serialize_list.c:62 +#: plugins/sudoers/serialize_list.c:71 plugins/sudoers/strvec_join.c:62 +#: plugins/sudoers/sudoreplay.c:1339 plugins/sudoers/sudoreplay.c:1345 +#: plugins/sudoers/sudoreplay.c:1351 plugins/sudoers/testsudoers.c:245 +#: plugins/sudoers/toke_util.c:213 toke.l:995 toke.l:1197 +#, c-format +msgid "internal error, %s overflow" +msgstr "erreur interne, dépassement de %s" + +#: plugins/sudoers/cvtsudoers_csv.c:452 plugins/sudoers/cvtsudoers_csv.c:466 +#: plugins/sudoers/cvtsudoers_json.c:657 plugins/sudoers/cvtsudoers_json.c:672 +#: plugins/sudoers/cvtsudoers_ldif.c:347 plugins/sudoers/cvtsudoers_ldif.c:360 +#: plugins/sudoers/ldap.c:512 +msgid "unable to get GMT time" +msgstr "récupération de l'heure GMT impossible" + +#: plugins/sudoers/cvtsudoers_csv.c:457 plugins/sudoers/cvtsudoers_csv.c:471 +#: plugins/sudoers/cvtsudoers_json.c:662 plugins/sudoers/cvtsudoers_json.c:677 +#: plugins/sudoers/cvtsudoers_ldif.c:352 plugins/sudoers/cvtsudoers_ldif.c:365 +#: plugins/sudoers/ldap.c:520 +msgid "unable to format timestamp" +msgstr "impossible de formater l'horodatage" + +#: plugins/sudoers/cvtsudoers_json.c:480 plugins/sudoers/cvtsudoers_json.c:515 +#: plugins/sudoers/cvtsudoers_json.c:728 +#, c-format +msgid "%s:%d:%d: unknown defaults entry \"%s\"" +msgstr "%s:%d:%d: entrées par défaut inconnues « %s »" + +#: plugins/sudoers/cvtsudoers_ldif.c:661 +#, c-format +msgid "too many sudoers entries, maximum %u" +msgstr "trop d'entrées sudoers, maximum %u" + +#: plugins/sudoers/cvtsudoers_ldif.c:704 +msgid "the SUDOERS_BASE environment variable is not set and the -b option was not specified." +msgstr "la variable d'environnement SUDOERS_BASE n'est pas définie et l'option -b n'a pas été spécifiée." + +#: plugins/sudoers/cvtsudoers_merge.c:273 +#: plugins/sudoers/cvtsudoers_merge.c:309 +#, c-format +msgid "%s:%d:%d: converting host list to ALL" +msgstr "%s:%d:%d: conversion de la liste des hôtes à ALL" + +#: plugins/sudoers/cvtsudoers_merge.c:545 +#, c-format +msgid "unable to find alias %s" +msgstr "impossible de trouver le synonyme %s" + +#: plugins/sudoers/cvtsudoers_merge.c:548 +#, c-format +msgid "%s:%d:%d: renaming alias %s to %s" +msgstr "%s:%d:%d: changement de nom du synonyme %s en %s" + +#: plugins/sudoers/cvtsudoers_merge.c:605 +#, c-format +msgid "%s:%d:%d: removing duplicate alias %s" +msgstr "%s:%d:%d: suppression du synonyme %s en double" + +#: plugins/sudoers/cvtsudoers_merge.c:830 +#, c-format +msgid "%s:%d:%d: conflicting Defaults entry \"%s\" host-specific in %s:%d:%d" +msgstr "%s:%d:%d: entrées Defaults « %s » spécifiques à l'hôte conflictuelles dans %s:%d:%d" + +#: plugins/sudoers/cvtsudoers_merge.c:864 +#, c-format +msgid "%s:%d:%d: made Defaults \"%s\" specific to host %s" +msgstr "%s:%d:%d: a rendu Defaults « %s » spécifique à l'hôte %s" + +#: plugins/sudoers/cvtsudoers_merge.c:882 +#, c-format +msgid "%s:%d:%d: unable to make Defaults \"%s\" host-specific" +msgstr "%s:%d:%d: impossible de rendre Defaults « %s » spécifique à l'hôte" + +#: plugins/sudoers/cvtsudoers_merge.c:892 +#, c-format +msgid "%s:%d:%d: removing Defaults \"%s\" overridden by subsequent entries" +msgstr "%s:%d:%d: suppression de Defaults « %s » surchargée par des entrées ultérieures" + +#: plugins/sudoers/cvtsudoers_merge.c:1088 +#, c-format +msgid "%s:%d:%d: merging userspec into %s:%d:%d" +msgstr "%s:%d:%d: fusion des spécifications utilisateur dans %s:%d:%d" + +#: plugins/sudoers/cvtsudoers_merge.c:1182 +#, c-format +msgid "%s:%d:%d: removing userspec overridden by subsequent entries" +msgstr "%s:%d:%d: suppression de la spécification utilisateur surchargée par des entrées ultérieurs" + +#: plugins/sudoers/def_data.c:56 +#, c-format +msgid "Syslog facility if syslog is being used for logging: %s" +msgstr "Mécanisme syslog si syslog est utilisé pour la journalisation des événements : %s " + +#: plugins/sudoers/def_data.c:60 +#, c-format +msgid "Syslog priority to use when user authenticates successfully: %s" +msgstr "Priorité syslog utilisée lorsque l'authentification de l'utilisateur est réussie : %s" + +#: plugins/sudoers/def_data.c:64 +#, c-format +msgid "Syslog priority to use when user authenticates unsuccessfully: %s" +msgstr "Priorité Syslog utilisée lorsque l'authentification de l'utilisateur a échoué : %s" + +#: plugins/sudoers/def_data.c:68 +msgid "Put OTP prompt on its own line" +msgstr "Présentation de l'invite OTP sur une ligne distincte" + +#: plugins/sudoers/def_data.c:72 +msgid "Ignore '.' in $PATH" +msgstr "Ne pas tenir compte de « . » dans $PATH" + +#: plugins/sudoers/def_data.c:76 +msgid "Always send mail when sudo is run" +msgstr "Toujours envoyer un courriel à chaque exécution de sudo" + +#: plugins/sudoers/def_data.c:80 +msgid "Send mail if user authentication fails" +msgstr "Envoi d'un courriel lorsqu'une authentification échoue" + +#: plugins/sudoers/def_data.c:84 +msgid "Send mail if the user is not in sudoers" +msgstr "Envoi d'un courriel si l'utilisateur ne figure pas dans sudoers" + +#: plugins/sudoers/def_data.c:88 +msgid "Send mail if the user is not in sudoers for this host" +msgstr "Envoi d'un courriel si l'utilisateur ne figure pas dans sudoers pour l'hôte sur lequel sudo est exécuté" + +#: plugins/sudoers/def_data.c:92 +msgid "Send mail if the user is not allowed to run a command" +msgstr "Envoi d'un courriel si l'utilisateur n'est pas autorisé à exécuter une commande" + +#: plugins/sudoers/def_data.c:96 +msgid "Send mail if the user tries to run a command" +msgstr "Envoi d'un courriel si l'utilisateur tente d'exécuter une commande" + +#: plugins/sudoers/def_data.c:100 +msgid "Use a separate timestamp for each user/tty combo" +msgstr "Utilisation d'un horodatage distinct pour chaque couple utilisateur/terminal (user/tty)" + +#: plugins/sudoers/def_data.c:104 +msgid "Lecture user the first time they run sudo" +msgstr "Adresse les recommandations d'usage à l'utilisateur lors de la première exécution de sudo" + +#: plugins/sudoers/def_data.c:108 +#, c-format +msgid "File containing the sudo lecture: %s" +msgstr "Fichier contenant les recommandations sur l'usage de sudo : %s" + +#: plugins/sudoers/def_data.c:112 +msgid "Require users to authenticate by default" +msgstr "Exige l'authentification de l'utilisateur par défaut" + +#: plugins/sudoers/def_data.c:116 +msgid "Root may run sudo" +msgstr "L'utilisateur root peut exécuter sudo" + +#: plugins/sudoers/def_data.c:120 +msgid "Log the hostname in the (non-syslog) log file" +msgstr "Consignation du nom de l'hôte dans le fichier de journalisation (qui n'est pas syslog)" + +#: plugins/sudoers/def_data.c:124 +msgid "Log the year in the (non-syslog) log file" +msgstr "Consignation de l'année dans le fichier de journalisation (qui n'est pas syslog)" + +#: plugins/sudoers/def_data.c:128 +msgid "If sudo is invoked with no arguments, start a shell" +msgstr "Démarrage d'un interpréteur de commande lorsque sudo est lancé sans argument" + +#: plugins/sudoers/def_data.c:132 +msgid "Set $HOME to the target user when starting a shell with -s" +msgstr "Assigner le répertoire de l'utilisateur cible dans $HOME lorsque l'interpréteur de commandes est lancé avec l'option -s" + +#: plugins/sudoers/def_data.c:136 +msgid "Always set $HOME to the target user's home directory" +msgstr "Assignation systématique du répertoire personnel de l'utilisateur cible dans $HOME" + +#: plugins/sudoers/def_data.c:140 +msgid "Allow some information gathering to give useful error messages" +msgstr "Autorise la collecte de certaines informations dans le but d'afficher des messages d'erreurs pertinents" + +#: plugins/sudoers/def_data.c:144 +msgid "Require fully-qualified hostnames in the sudoers file" +msgstr "Exige l'emploi du nom complet (fully qualified) de l'ordinateur dans le fichier sudoers" + +#: plugins/sudoers/def_data.c:148 +msgid "Insult the user when they enter an incorrect password" +msgstr "Sermonne l'utilisateur lorsqu'un mot de passe incorrect est saisi" + +#: plugins/sudoers/def_data.c:152 +msgid "Only allow the user to run sudo if they have a tty" +msgstr "Autorise l'utilisateur à exécuter sudo seulement à la condition qu'il dispose d'un terminal tty" + +#: plugins/sudoers/def_data.c:156 +msgid "Visudo will honor the EDITOR environment variable" +msgstr "Visudo se conformera au contenu de la variable d'environnement EDITOR" + +#: plugins/sudoers/def_data.c:160 +msgid "Prompt for root's password, not the users's" +msgstr "Demande de la saisie du mot de passe de root et non de celui de l'utilisateur" + +#: plugins/sudoers/def_data.c:164 +msgid "Prompt for the runas_default user's password, not the users's" +msgstr "Demande de la saisie du mot de passe runas_default de l'utilisateur et non de son propre mot de passe" + +#: plugins/sudoers/def_data.c:168 +msgid "Prompt for the target user's password, not the users's" +msgstr "Demande de la saisie du mot de passe de l'utilisateur cible et non de celui de l'utilisateur exécutant la commande" + +#: plugins/sudoers/def_data.c:172 +msgid "Apply defaults in the target user's login class if there is one" +msgstr "Utilisation des paramètres par défaut de la classe de connexion de l'utilisateur cible (lorsqu'elle existe)" + +#: plugins/sudoers/def_data.c:176 +msgid "Set the LOGNAME and USER environment variables" +msgstr "Définir les variables d'environnement LOGNAME et USER" + +#: plugins/sudoers/def_data.c:180 +msgid "Only set the effective uid to the target user, not the real uid" +msgstr "Assigne uniquement l'identifiant utilisateur (UID) effectif à l'utilisateur cible, et non à l'identifiant réel." + +#: plugins/sudoers/def_data.c:184 +msgid "Don't initialize the group vector to that of the target user" +msgstr "N'initialise pas le vecteur de groupe avec les valeurs de l'utilisateur cible" + +#: plugins/sudoers/def_data.c:188 +#, c-format +msgid "Length at which to wrap log file lines (0 for no wrap): %u" +msgstr "Longueur après laquelle intercaler un retour à la ligne dans le fichier journal (0 indique qu'il n'y a pas de retour à la ligne) : %u" + +#: plugins/sudoers/def_data.c:192 +#, c-format +msgid "Authentication timestamp timeout: %.1f minutes" +msgstr "Délai d'expiration de l'horodatage de l'authentification : %.1f minutes" + +#: plugins/sudoers/def_data.c:196 +#, c-format +msgid "Password prompt timeout: %.1f minutes" +msgstr "Délai d'expiration de l'invite de saisie de mot de passe : %.1f minutes" + +#: plugins/sudoers/def_data.c:200 +#, c-format +msgid "Number of tries to enter a password: %u" +msgstr "Nombre de tentatives de saisie du mot de passe : %u" + +#: plugins/sudoers/def_data.c:204 +#, c-format +msgid "Umask to use or 0777 to use user's: 0%o" +msgstr "Umask à utiliser, ou 0777 pour hériter de celui de l'utilisateur : 0%o" + +#: plugins/sudoers/def_data.c:208 +#, c-format +msgid "Path to log file: %s" +msgstr "Emplacement du fichier de journalisation : %s" + +#: plugins/sudoers/def_data.c:212 +#, c-format +msgid "Path to mail program: %s" +msgstr "Emplacement du programme d'envoi de courriel : %s" + +#: plugins/sudoers/def_data.c:216 +#, c-format +msgid "Flags for mail program: %s" +msgstr "Attributs à utiliser avec le programme d'envoi de courriel : %s" + +#: plugins/sudoers/def_data.c:220 +#, c-format +msgid "Address to send mail to: %s" +msgstr "Adresse du destinataire des courriels : %s" + +#: plugins/sudoers/def_data.c:224 +#, c-format +msgid "Address to send mail from: %s" +msgstr "Adresse de l'expéditeur des courriels : %s" + +#: plugins/sudoers/def_data.c:228 +#, c-format +msgid "Subject line for mail messages: %s" +msgstr "Champ objet des courriels envoyés : %s" + +#: plugins/sudoers/def_data.c:232 +#, c-format +msgid "Incorrect password message: %s" +msgstr "Message informant de la saisie d'un mot de passe incorrect : %s" + +#: plugins/sudoers/def_data.c:236 +#, c-format +msgid "Path to lecture status dir: %s" +msgstr "Répertoire contenant l'attestation que l'utilisateur a déjà reçu les recommandations : %s" + +#: plugins/sudoers/def_data.c:240 +#, c-format +msgid "Path to authentication timestamp dir: %s" +msgstr "Répertoire contenant l'horodatage de l'authentification : %s" + +#: plugins/sudoers/def_data.c:244 +#, c-format +msgid "Owner of the authentication timestamp dir: %s" +msgstr "Propriétaire du répertoire contenant l'horodatage de l'authentification : %s" + +#: plugins/sudoers/def_data.c:248 +#, c-format +msgid "Users in this group are exempt from password and PATH requirements: %s" +msgstr "Les utilisateurs de ce groupe sont affranchis des contraintes relatives au mot de passe et à PATH : %s" + +#: plugins/sudoers/def_data.c:252 +#, c-format +msgid "Default password prompt: %s" +msgstr "Invite de mot de passe par défaut : %s" + +#: plugins/sudoers/def_data.c:256 +msgid "If set, passprompt will override system prompt in all cases." +msgstr "S'il est défini, passprompt se substituera toujours à l'invite du système." + +#: plugins/sudoers/def_data.c:260 +#, c-format +msgid "Default user to run commands as: %s" +msgstr "Utilisateur par défaut avec l'identité duquel exécuter les commandes : %s" + +#: plugins/sudoers/def_data.c:264 +#, c-format +msgid "Value to override user's $PATH with: %s" +msgstr "Nouvelle valeur prise par la variable $PATH de l'utilisateur : %s" + +#: plugins/sudoers/def_data.c:268 +#, c-format +msgid "Path to the editor for use by visudo: %s" +msgstr "Emplacement de l'éditeur appelé par visudo : %s" + +#: plugins/sudoers/def_data.c:272 +#, c-format +msgid "When to require a password for 'list' pseudocommand: %s" +msgstr "Quand demander un mot de passe pour l'usage de la pseudo commande « list » : %s" + +#: plugins/sudoers/def_data.c:276 +#, c-format +msgid "When to require a password for 'verify' pseudocommand: %s" +msgstr "Quand demander un mot de passe pour l'utilisation de la pseudo commande « verify » : %s" + +#: plugins/sudoers/def_data.c:280 +msgid "Preload the sudo_noexec library which replaces the exec functions" +msgstr "Précharger la bibliothèque sudo_noexec qui remplace les fonctions exec" + +#: plugins/sudoers/def_data.c:284 +msgid "If LDAP directory is up, do we ignore local sudoers file" +msgstr "Si un annuaire LDAP est actif, faut-il tenir compter du fichier sudoers local" + +#: plugins/sudoers/def_data.c:288 +#, c-format +msgid "File descriptors >= %d will be closed before executing a command" +msgstr "Les descripteurs de fichiers >= %d seront fermés avant l'exécution d'une commande" + +#: plugins/sudoers/def_data.c:292 +msgid "If set, users may override the value of \"closefrom\" with the -C option" +msgstr "Si elle est définie, les utilisateurs peuvent passer outre la valeur de « closeform » grâce à l'option -C" + +#: plugins/sudoers/def_data.c:296 +msgid "Allow users to set arbitrary environment variables" +msgstr "Autorise les utilisateurs à définir des variables d'environnement arbitraires" + +#: plugins/sudoers/def_data.c:300 +msgid "Reset the environment to a default set of variables" +msgstr "Réinitialise l'environnement à un jeu de variables par défaut" + +#: plugins/sudoers/def_data.c:304 +msgid "Environment variables to check for safety:" +msgstr "Variables d'environnement à valider pour s'assurer de la sécurité :" + +#: plugins/sudoers/def_data.c:308 +msgid "Environment variables to remove:" +msgstr "Variables d'environnement à supprimer :" + +#: plugins/sudoers/def_data.c:312 +msgid "Environment variables to preserve:" +msgstr "Variables d'environnement à conserver :" + +#: plugins/sudoers/def_data.c:316 +#, c-format +msgid "SELinux role to use in the new security context: %s" +msgstr "Rôle SELinux à utiliser dans le nouveau contexte de sécurité : %s" + +#: plugins/sudoers/def_data.c:320 +#, c-format +msgid "SELinux type to use in the new security context: %s" +msgstr "Type SELinux à utiliser dans le nouveau contexte de sécurité : %s" + +#: plugins/sudoers/def_data.c:324 +#, c-format +msgid "Path to the sudo-specific environment file: %s" +msgstr "Emplacement du fichier d'environnement propre à sudo : %s" + +#: plugins/sudoers/def_data.c:328 +#, c-format +msgid "Path to the restricted sudo-specific environment file: %s" +msgstr "Emplacement du fichier d'environnement restreint propre à sudo : %s" + +#: plugins/sudoers/def_data.c:332 +#, c-format +msgid "Locale to use while parsing sudoers: %s" +msgstr "Environnement linguistique à utiliser lors de l'analyse syntaxique de sudoers : %s" + +#: plugins/sudoers/def_data.c:336 +msgid "Allow sudo to prompt for a password even if it would be visible" +msgstr "Autoriser sudo à demander la saisie d'un mot de passe même lorsque celui-ci sera affiché « en clair »" + +#: plugins/sudoers/def_data.c:340 +msgid "Provide visual feedback at the password prompt when there is user input" +msgstr "Afficher un contrôle visuel lors de la saisie du mot de passe" + +#: plugins/sudoers/def_data.c:344 +msgid "Use faster globbing that is less accurate but does not access the filesystem" +msgstr "Utiliser le développement rapide des noms de fichiers, qui est moins fiable, mais ne nécessite pas d'accès au système de fichiers" + +#: plugins/sudoers/def_data.c:348 +msgid "The umask specified in sudoers will override the user's, even if it is more permissive" +msgstr "L'umask indiqué dans sudoers se substituera à celui de l'utilisateur, même s'il est plus permissif" + +#: plugins/sudoers/def_data.c:352 +msgid "Log user's input for the command being run" +msgstr "Consignation des saisies de l'utilisateur dans le journal pour la commande en cours d'exécution" + +#: plugins/sudoers/def_data.c:356 +msgid "Log the command's standard input if not connected to a terminal" +msgstr "Consigne l'entrée standard de la commande dans le journal si elle n'est pas connectée à un terminal" + +#: plugins/sudoers/def_data.c:360 +msgid "Log the user's terminal input for the command being run" +msgstr "Consignation des saisies du terminal de l'utilisateur dans le journal pour la commande en cours d'exécution" + +#: plugins/sudoers/def_data.c:364 +msgid "Log the output of the command being run" +msgstr "Consignation du retour de la commande en cours d'exécution dans le journal" + +#: plugins/sudoers/def_data.c:368 +msgid "Log the command's standard output if not connected to a terminal" +msgstr "Consigne la sortie standard de la commande dans le journal si elle n'est pas connectée à un terminal" + +#: plugins/sudoers/def_data.c:372 +msgid "Log the command's standard error if not connected to a terminal" +msgstr "Consigne l'erreur standard de la commande dans le journal si elle n'est pas connectée à un terminal" + +#: plugins/sudoers/def_data.c:376 +msgid "Log the terminal output of the command being run" +msgstr "Consigne dans le journal la sortie envoyée sur le terminal par la commande en cours d'exécution" + +#: plugins/sudoers/def_data.c:380 +msgid "Compress I/O logs using zlib" +msgstr "Compression des informations renvoyées par les opérations d'E/S avec zlib" + +#: plugins/sudoers/def_data.c:384 +msgid "Always run commands in a pseudo-tty" +msgstr "Exécute toujours les commandes dans un pseudo-terminal (tty)" + +#: plugins/sudoers/def_data.c:388 +#, c-format +msgid "Plugin for non-Unix group support: %s" +msgstr "Greffon pour la prise en charge des groupes non-Unix : %s" + +#: plugins/sudoers/def_data.c:392 +#, c-format +msgid "Directory in which to store input/output logs: %s" +msgstr "Répertoire dans lequel les informations renvoyées par les opérations d'entrée/sortie seront stockées : %s" + +#: plugins/sudoers/def_data.c:396 +#, c-format +msgid "File in which to store the input/output log: %s" +msgstr "Fichier dans lequel les informations renvoyées par les opérations d'entrée/sortie seront stockées : %s" + +#: plugins/sudoers/def_data.c:400 +msgid "Add an entry to the utmp/utmpx file when allocating a pty" +msgstr "Ajout d'une entrée au fichier utmp/utmpx lors de l'allocation d'un pseudo-terminal" + +#: plugins/sudoers/def_data.c:404 +msgid "Set the user in utmp to the runas user, not the invoking user" +msgstr "Conservation dans utmp du nom de l'utilisateur runas, et non de celui de l'utilisateur appelant sudo" + +#: plugins/sudoers/def_data.c:408 +#, c-format +msgid "Set of permitted privileges: %s" +msgstr "Ensemble des privilèges permis : %s" + +#: plugins/sudoers/def_data.c:412 +#, c-format +msgid "Set of limit privileges: %s" +msgstr "Ensemble des privilèges limités : %s" + +#: plugins/sudoers/def_data.c:416 +msgid "Run commands on a pty in the background" +msgstr "Exécution des commandes sur un pseudo-terminal en tâche de fond" + +#: plugins/sudoers/def_data.c:420 +#, c-format +msgid "PAM service name to use: %s" +msgstr "Nom de service PAM à utiliser : %s" + +#: plugins/sudoers/def_data.c:424 +#, c-format +msgid "PAM service name to use for login shells: %s" +msgstr "Nom de service PAM à utiliser pour les interpréteurs de commandes : %s" + +#: plugins/sudoers/def_data.c:428 +#, c-format +msgid "PAM service name to use when sudo is run with the -A option: %s" +msgstr "Nom de service PAM à utiliser quand sudo est exécuté avec l'option -A : %s" + +#: plugins/sudoers/def_data.c:432 +msgid "Attempt to establish PAM credentials for the target user" +msgstr "Tentative de création des données d'identification PAM pour l'utilisateur cible" + +#: plugins/sudoers/def_data.c:436 +msgid "Create a new PAM session for the command to run in" +msgstr "Création d'une nouvelle session PAM pour l'exécution de la commande" + +#: plugins/sudoers/def_data.c:440 +msgid "Perform PAM account validation management" +msgstr "Réaliser la gestion de la validation du compte PAM" + +#: plugins/sudoers/def_data.c:444 +#, c-format +msgid "Maximum I/O log sequence number: %s" +msgstr "Numéro de séquence maximum dans le journal E/S : %s" + +#: plugins/sudoers/def_data.c:448 +msgid "Enable sudoers netgroup support" +msgstr "Activation de la prise en charge de netgroup par sudoers" + +#: plugins/sudoers/def_data.c:452 +msgid "Check parent directories for writability when editing files with sudoedit" +msgstr "Vérification que les droits du répertoire parent autorisent la modification des fichiers avec sudoedit" + +#: plugins/sudoers/def_data.c:456 +msgid "Follow symbolic links when editing files with sudoedit" +msgstr "Suivre les liens symboliques lors de l'édition des fichiers avec sudoedit" + +#: plugins/sudoers/def_data.c:460 +msgid "Query the group plugin for unknown system groups" +msgstr "Interroge le greffon de groupe pour les groupes système inconnus" + +#: plugins/sudoers/def_data.c:464 +msgid "Match netgroups based on the entire tuple: user, host and domain" +msgstr "Faire correspondre les netgroups sur base du tuple entier: utilisateur, hôte et domaine" + +#: plugins/sudoers/def_data.c:468 +msgid "Allow commands to be run even if sudo cannot write to the audit log" +msgstr "Autoriser l'exécution des commandes même si sudo ne sait pas écrire dans le journal d'audit" + +#: plugins/sudoers/def_data.c:472 +msgid "Allow commands to be run even if sudo cannot write to the I/O log" +msgstr "Autoriser l'exécution des commandes même si sudo ne sait pas écrire dans le journal des E/S" + +#: plugins/sudoers/def_data.c:476 +msgid "Allow commands to be run even if sudo cannot write to the log file" +msgstr "Autoriser l'exécution des commandes même si sudo ne sait pas écrire dans le fichier journal" + +#: plugins/sudoers/def_data.c:480 +msgid "Resolve groups in sudoers and match on the group ID, not the name" +msgstr "Résoudre les groupes dans sudoers et établir la correspondance sur le ID de groupe au lieu du nom" + +#: plugins/sudoers/def_data.c:484 +#, c-format +msgid "Log entries larger than this value will be split into multiple syslog messages: %u" +msgstr "Les entrées du journal plus longues que cette valeur seront scindées en plusieurs messages dans syslog : %u" + +#: plugins/sudoers/def_data.c:488 +#, c-format +msgid "User that will own the I/O log files: %s" +msgstr "Utilisateur qui possèdera les fichiers journaux des E/S : %s" + +#: plugins/sudoers/def_data.c:492 +#, c-format +msgid "Group that will own the I/O log files: %s" +msgstr "Groupe qui possèdera les fichiers journaux des E/S : %s" + +#: plugins/sudoers/def_data.c:496 +#, c-format +msgid "File mode to use for the I/O log files: 0%o" +msgstr "Mode de permission à utiliser sur les fichiers de journaux des E/S : 0%o" + +#: plugins/sudoers/def_data.c:500 +#, c-format +msgid "Execute commands by file descriptor instead of by path: %s" +msgstr "Exécuter les commandes par descripteur de fichier plutôt que par chemin : %s" + +#: plugins/sudoers/def_data.c:504 +msgid "Ignore unknown Defaults entries in sudoers instead of producing a warning" +msgstr "Ignorer les entrées « Defaults » inconnues dans sudoers au lieu d'afficher un avertissement" + +#: plugins/sudoers/def_data.c:508 +#, c-format +msgid "Time in seconds after which the command will be terminated: %u" +msgstr "Temps en secondes après lequel la commande sera terminée : %u" + +#: plugins/sudoers/def_data.c:512 +msgid "Allow the user to specify a timeout on the command line" +msgstr "Autoriser l'utilisateur à spécifier un délai d'expiration sur la ligne de commande" + +#: plugins/sudoers/def_data.c:516 +msgid "Flush I/O log data to disk immediately instead of buffering it" +msgstr "Forcer l'écriture des données du journal d'E/S sur disque immédiatement au lieu de les garde dans un tampon" + +#: plugins/sudoers/def_data.c:520 +msgid "Include the process ID when logging via syslog" +msgstr "Inclure le ID du processus lors de la journalisation via syslog" + +#: plugins/sudoers/def_data.c:524 +#, c-format +msgid "Type of authentication timestamp record: %s" +msgstr "Type de l'enregistrement de l'horodatage de l'authentification : %s" + +#: plugins/sudoers/def_data.c:528 +#, c-format +msgid "Authentication failure message: %s" +msgstr "Message de l'échec de l'authentification : %s" + +#: plugins/sudoers/def_data.c:532 +msgid "Ignore case when matching user names" +msgstr "Ignorer la casse lors de la correspondance des noms d'utilisateurs" + +#: plugins/sudoers/def_data.c:536 +msgid "Ignore case when matching group names" +msgstr "Ignorer la casse lors de la correspondance des noms de groupes" + +#: plugins/sudoers/def_data.c:540 +msgid "Log when a command is allowed by sudoers" +msgstr "Écrire dans le journal lorsqu'une commande est autorisée par sudoers" + +#: plugins/sudoers/def_data.c:544 +msgid "Log when a command is denied by sudoers" +msgstr "Écrire dans le journal lorsqu'une commande est interdite par sudoers" + +#: plugins/sudoers/def_data.c:548 +msgid "Sudo log server(s) to connect to with optional port" +msgstr "Serveur(s) des journaux sudo auquel se connecter avec un port facultatif" + +#: plugins/sudoers/def_data.c:552 +#, c-format +msgid "Sudo log server timeout in seconds: %u" +msgstr "Délai d'expiration du serveur des journaux sudo en seconde : %u" + +#: plugins/sudoers/def_data.c:556 +msgid "Enable SO_KEEPALIVE socket option on the socket connected to the logserver" +msgstr "Activer l'option SO_KEEPALIVE du socket sur le socket connecté au serveur de journal" + +#: plugins/sudoers/def_data.c:560 +#, c-format +msgid "Path to the audit server's CA bundle file: %s" +msgstr "Emplacement du fichier du paquet du CA d'audit du serveur : %s" + +#: plugins/sudoers/def_data.c:564 +#, c-format +msgid "Path to the sudoers certificate file: %s" +msgstr "Emplacement du fichier de certificat de sudoers : %s" + +#: plugins/sudoers/def_data.c:568 +#, c-format +msgid "Path to the sudoers private key file: %s" +msgstr "Emplacement du fichier de clé privée de sudoers : %s" + +#: plugins/sudoers/def_data.c:572 +msgid "Verify that the log server's certificate is valid" +msgstr "Vérifier que le certificat du serveur contenant le journal est valide" + +#: plugins/sudoers/def_data.c:576 +msgid "Allow the use of unknown runas user and/or group ID" +msgstr "Autoriser l'utilisation d'ID d'utilisateurs ou de groupe inconnus dans runas" + +#: plugins/sudoers/def_data.c:580 +msgid "Only permit running commands as a user with a valid shell" +msgstr "Uniquement autoriser l'exécutions de commandes en tant qu'un utilisateur avec un interpréteur de commande valide" + +#: plugins/sudoers/def_data.c:584 +msgid "Set the pam remote user to the user running sudo" +msgstr "Définir l'utilisateur distant de pam à l'utilisateur qui exécute sudo" + +#: plugins/sudoers/def_data.c:588 +msgid "Set the pam remote host to the local host name" +msgstr "Définir l'hôte distant de pam au nom de l'hôte local" + +#: plugins/sudoers/def_data.c:592 +#, c-format +msgid "Working directory to change to before executing the command: %s" +msgstr "Le répertoire de travail à utiliser avant d'exécuter la commande : %s" + +#: plugins/sudoers/def_data.c:596 +#, c-format +msgid "Root directory to change to before executing the command: %s" +msgstr "Le répertoire racine à utiliser avant d'exécuter la commande : %s" + +#: plugins/sudoers/def_data.c:600 +#, c-format +msgid "The format of logs to produce: %s" +msgstr "Format des journaux à produire : %s" + +#: plugins/sudoers/def_data.c:604 +msgid "Enable SELinux RBAC support" +msgstr "Activer le support pour SELinux RBAC" + +#: plugins/sudoers/def_data.c:608 +#, c-format +msgid "Path to the file that is created the first time sudo is run: %s" +msgstr "Chemin vers le fichier qui est créé la première fois que sudo est exécuté : %s" + +#: plugins/sudoers/def_data.c:612 +msgid "Intercept further commands and apply sudoers restrictions to them" +msgstr "Intercepter les commandes suivantes et leur appliquer les restrictions sudoers" + +#: plugins/sudoers/def_data.c:616 +msgid "Log sub-commands run by the original command" +msgstr "Consigner les sous-commandes exécutées par la commande originale" + +#: plugins/sudoers/def_data.c:620 +msgid "Log the exit status of commands" +msgstr "Consigner le code de retour des commandes" + +#: plugins/sudoers/def_data.c:624 +msgid "Subsequent commands in an intercepted session must be authenticated" +msgstr "Les commandes ultérieures dans une session interceptée doivent être authentifiées" + +#: plugins/sudoers/def_data.c:628 +msgid "Allow an intercepted command to run set setuid or setgid programs" +msgstr "Autoriser une commande interceptée à exécuter des programmes avec le fanion setuid ou setgid activé" + +#: plugins/sudoers/def_data.c:632 +#, c-format +msgid "The maximum size to which the process's address space may grow (in bytes): %s" +msgstr "La taille maximale à laquelle l'espace d'adresses du processus peut grandir (en octets) : %s" + +#: plugins/sudoers/def_data.c:636 +#, c-format +msgid "The largest size core dump file that may be created (in bytes): %s" +msgstr "La taille de la plus grande vidange système qui peut être créée (en octets) : %s" + +#: plugins/sudoers/def_data.c:640 +#, c-format +msgid "The maximum amount of CPU time that the process may use (in seconds): %s" +msgstr "Le temps CPU maximum que le processus peut utiliser (en secondes) : %s" + +#: plugins/sudoers/def_data.c:644 +#, c-format +msgid "The maximum size of the data segment for the process (in bytes): %s" +msgstr "La taille maximale du segment de données pour le processus (en octets) : %s" + +#: plugins/sudoers/def_data.c:648 +#, c-format +msgid "The largest size file that the process may create (in bytes): %s" +msgstr "La taille la plus grande d'un fichier que le processus peut créer (en octets) : %s" + +#: plugins/sudoers/def_data.c:652 +#, c-format +msgid "The maximum number of locks that the process may establish: %s" +msgstr "Le nombre maximum de verrous que le processus peut établir : %s" + +#: plugins/sudoers/def_data.c:656 +#, c-format +msgid "The maximum size that the process may lock in memory (in bytes): %s" +msgstr "La taille maximale que le processus peut verrouiller en mémoire (en octets) : %s" + +#: plugins/sudoers/def_data.c:660 +#, c-format +msgid "The maximum number of files that the process may have open: %s" +msgstr "Le nombre maximum de fichiers que le processus peut garder ouverts : %s" + +#: plugins/sudoers/def_data.c:664 +#, c-format +msgid "The maximum number of processes that the user may run simultaneously: %s" +msgstr "Le nombre maximum de processus que l'utilisateur peut exécuter simultanément : %s" + +#: plugins/sudoers/def_data.c:668 +#, c-format +msgid "The maximum size to which the process's resident set size may grow (in bytes): %s" +msgstr "La taille maximale à laquelle l'ensemble résident du processus peut grandir (en octets) : %s" + +#: plugins/sudoers/def_data.c:672 +#, c-format +msgid "The maximum size to which the process's stack may grow (in bytes): %s" +msgstr "La taille maximale à laquelle la pile du processus peut grandir (en octets) : %s" + +#: plugins/sudoers/def_data.c:676 +msgid "Attempt authentication even when in non-interactive mode" +msgstr "Tenter une authentification même dans le mode non interactif" + +#: plugins/sudoers/def_data.c:680 +msgid "Store plaintext passwords in I/O log input" +msgstr "Stocker le mot de passe en clair dans l'entrée du journal des E/S" + +#: plugins/sudoers/def_data.c:684 +msgid "List of regular expressions to use when matching a password prompt" +msgstr "Liste des expressions régulières à utiliser lors de la recherche de correspondance de l'invite du mot de passe" + +#: plugins/sudoers/def_data.c:688 +#, c-format +msgid "The mechanism used by the intercept and log_subcmds options: %s" +msgstr "Le mécanisme utilisé par les options intercept et log_subcmds : %s" + +#: plugins/sudoers/def_data.c:692 +msgid "Attempt to verify the command and arguments after execution" +msgstr "Tentative de vérifier la commande et les arguments après l'exécution" + +#: plugins/sudoers/def_data.c:696 +#, c-format +msgid "AppArmor profile to use in the new security context: %s" +msgstr "Profil AppArmor à utiliser dans le nouveau contexte de sécurité : %s" + +#: plugins/sudoers/defaults.c:191 +#, c-format +msgid "unknown defaults entry \"%s\"" +msgstr "entrée par défaut inconnue « %s »" + +#: plugins/sudoers/defaults.c:234 +#, c-format +msgid "no value specified for \"%s\"" +msgstr "pas de valeur précisée pour « %s »" + +#: plugins/sudoers/defaults.c:243 +#, c-format +msgid "invalid operator \"%c=\" for \"%s\"" +msgstr "opérateur « %c= » invalide pour « %s »" + +#: plugins/sudoers/defaults.c:275 +#, c-format +msgid "option \"%s\" does not take a value" +msgstr "l'option « %s » ne prend pas de valeur" + +#: plugins/sudoers/defaults.c:299 +#, c-format +msgid "invalid Defaults type 0x%x for option \"%s\"" +msgstr "type Defaults 0x%x invalide pour l'option «␣%s␣»" + +#: plugins/sudoers/defaults.c:306 +#, c-format +msgid "value \"%s\" is invalid for option \"%s\"" +msgstr "la valeur « %s » ne convient pas pour l'option « %s »" + +#: plugins/sudoers/defaults.c:1128 plugins/sudoers/policy.c:210 +#: plugins/sudoers/policy.c:219 +#, c-format +msgid "path name for \"%s\" too long" +msgstr "chemin trop long pour « %s »" + +#: plugins/sudoers/defaults.c:1134 +#, c-format +msgid "values for \"%s\" must start with a '/', '~', or '*'" +msgstr "les valeurs de « %s » doivent commencer par « / », « ~ » ou « * »" + +#: plugins/sudoers/defaults.c:1141 +#, c-format +msgid "values for \"%s\" must start with a '/'" +msgstr "les valeurs de « %s » doivent commencer par « / »" + +#: plugins/sudoers/editor.c:180 +#, c-format +msgid "ignoring editor: %.*s" +msgstr "éditeur ignoré : %.*s" + +#: plugins/sudoers/editor.c:181 +msgid "editor arguments may not contain \"--\"" +msgstr "les arguments de l'éditeur ne peuvent pas contenir « -- »" + +#: plugins/sudoers/env.c:426 +msgid "sudo_putenv: corrupted envp, length mismatch" +msgstr "sudo_putenv : envp est corrompu, longueur incorrecte" + +#: plugins/sudoers/env.c:1113 +msgid "unable to rebuild the environment" +msgstr "impossible de créer à nouveau l'environnement" + +#: plugins/sudoers/env.c:1192 +#, c-format +msgid "sorry, you are not allowed to set the following environment variables: %s" +msgstr "désolé, vous n'êtes pas autorisé à définir ces variables d'environnement : %s" + +#: plugins/sudoers/filedigest.c:49 +#, c-format +msgid "unsupported digest type %d for %s" +msgstr "le type résumé (digest type) %d pour n'est pas autorisé pour %s" + +#: plugins/sudoers/filedigest.c:78 +#, c-format +msgid "%s: read error" +msgstr "%s : erreur en lecture" + +#: plugins/sudoers/group_plugin.c:169 plugins/sudoers/sssd.c:576 +#, c-format +msgid "unable to load %s: %s" +msgstr "chargement de %s impossible : %s" + +#: plugins/sudoers/group_plugin.c:181 +#, c-format +msgid "unable to find symbol \"group_plugin\" in %s" +msgstr "le symbole « group_plugin » est introuvable dans %s" + +#: plugins/sudoers/group_plugin.c:186 +#, c-format +msgid "%s: incompatible group plugin major version %d, expected %d" +msgstr "%s : la version majeure %d du greffon group est incompatible, la version attendue est %d" + +#: plugins/sudoers/interfaces.c:76 plugins/sudoers/interfaces.c:93 +#, c-format +msgid "unable to parse IP address \"%s\"" +msgstr "impossible de reconnaître le format de l'adresse IP « %s »" + +#: plugins/sudoers/interfaces.c:81 plugins/sudoers/interfaces.c:98 +#, c-format +msgid "unable to parse netmask \"%s\"" +msgstr "impossible de reconnaître le format du masque de sous-réseau « %s »" + +#: plugins/sudoers/interfaces.c:126 +msgid "Local IP address and netmask pairs:\n" +msgstr "Couples adresse IP locale/masque de sous-réseau :\n" + +#: plugins/sudoers/iolog.c:685 +msgid "unable to update sequence file" +msgstr "mise à jour du fichier de séquence impossible" + +#: plugins/sudoers/iolog.c:719 plugins/sudoers/iolog.c:907 +#: plugins/sudoers/iolog.c:1069 plugins/sudoers/iolog.c:1076 +#: plugins/sudoers/iolog.c:1197 plugins/sudoers/iolog.c:1204 +#: plugins/sudoers/iolog.c:1303 plugins/sudoers/iolog.c:1310 +#, c-format +msgid "unable to write to I/O log file: %s" +msgstr "impossible d'écrire dans le journal des E/S : %s" + +#: plugins/sudoers/iolog.c:727 +#, c-format +msgid "unable to create %s/%s" +msgstr "impossible de créer %s/%s" + +#: plugins/sudoers/iolog.c:955 +#, c-format +msgid "%s: internal error, I/O log file for event %d not open" +msgstr "%s: erreur interne, le fichier journal des E/S pour l'événement %d n'est pas ouvert" + +#: plugins/sudoers/iolog.c:1054 plugins/sudoers/iolog.c:1182 +#: plugins/sudoers/iolog.c:1287 plugins/sudoers/timestamp.c:879 +#: plugins/sudoers/timestamp.c:971 plugins/sudoers/visudo.c:556 +#: plugins/sudoers/visudo.c:562 +msgid "unable to read the clock" +msgstr "lecture de l'horloge impossible" + +#: plugins/sudoers/iolog.c:1279 plugins/sudoers/log_client.c:1192 +#: plugins/sudoers/log_client.c:1202 plugins/sudoers/log_client.c:1206 +#, c-format +msgid "%s: internal error, invalid signal %d" +msgstr "%s: erreur interne, signal %d invalide" + +#: plugins/sudoers/ldap.c:177 plugins/sudoers/ldap_conf.c:292 +msgid "starttls not supported when using ldaps" +msgstr "starttls n'est pas pris en charge lors de l'utilisation de ldap" + +#: plugins/sudoers/ldap.c:248 +#, c-format +msgid "unable to initialize SSL cert and key db: %s" +msgstr "impossible d'initialiser le certificat SSL et la base de clés : %s" + +#: plugins/sudoers/ldap.c:251 +#, c-format +msgid "you must set TLS_CERT in %s to use SSL" +msgstr "TLS_CERT doit être défini dans %s pour pouvoir utiliser SSL" + +#: plugins/sudoers/ldap.c:1714 +#, c-format +msgid "unable to initialize LDAP: %s" +msgstr "initialisation de LDAP impossible : %s" + +#: plugins/sudoers/ldap.c:1751 +msgid "start_tls specified but LDAP libs do not support ldap_start_tls_s() or ldap_start_tls_s_np()" +msgstr "start_tls est spécifié mais les bibliothèques LDAP ne gèrent pas ldap_start_tls_s() ou ldap_start_tls_s_np()" + +#: plugins/sudoers/ldap.c:1888 plugins/sudoers/parse_ldif.c:748 +#, c-format +msgid "invalid sudoOrder attribute: %s" +msgstr "attribut sudoOrder invalide : %s" + +#: plugins/sudoers/ldap_conf.c:200 +#, c-format +msgid "%s: port too large" +msgstr "%s: port trop grand" + +#: plugins/sudoers/ldap_conf.c:261 +#, c-format +msgid "unsupported LDAP uri type: %s" +msgstr "type d'uri LDAP non pris en charge : %s" + +#: plugins/sudoers/ldap_conf.c:288 +msgid "unable to mix ldap and ldaps URIs" +msgstr "fusion des URIs ldap et ldaps impossible" + +#: plugins/sudoers/ldap_util.c:499 plugins/sudoers/ldap_util.c:506 +#: plugins/sudoers/ldap_util.c:514 plugins/sudoers/ldap_util.c:523 +#: plugins/sudoers/ldap_util.c:531 plugins/sudoers/ldap_util.c:541 +#: plugins/sudoers/ldap_util.c:549 +#, c-format +msgid "duplicate sudoOption: %s%s%s" +msgstr "sudoOption dupliqué : %s%s%s" + +#: plugins/sudoers/ldap_util.c:568 plugins/sudoers/ldap_util.c:570 +#, c-format +msgid "unable to convert sudoOption: %s%s%s" +msgstr "impossible de convertir sudoOption: %s%s%s" + +#: plugins/sudoers/linux_audit.c:58 plugins/sudoers/linux_audit.c:60 +msgid "unable to open audit system" +msgstr "ouverture du fichier d'audit du système impossible" + +#: plugins/sudoers/linux_audit.c:103 +msgid "unable to send audit message" +msgstr "envoi du message d'audit impossible" + +#: plugins/sudoers/log_client.c:125 plugins/sudoers/log_client.c:412 +#: plugins/sudoers/log_client.c:1439 plugins/sudoers/log_client.c:2055 +msgid "error in event loop" +msgstr "erreur dans la boucle des événements" + +#: plugins/sudoers/log_client.c:205 +#, c-format +msgid "Creation of new SSL_CTX object failed: %s" +msgstr "La création du nouvel objet SSL_CTX a échoué : %s" + +#: plugins/sudoers/log_client.c:230 +#, c-format +msgid "unable to load certificate authority bundle %s" +msgstr "impossible de charger le paquet de l'autorité du certificat %s" + +#: plugins/sudoers/log_client.c:252 +#, c-format +msgid "unable to load certificate %s" +msgstr "impossible de charger le certificat %s" + +#: plugins/sudoers/log_client.c:266 +#, c-format +msgid "unable to load private key %s" +msgstr "impossible de charger la clé privée %s" + +#: plugins/sudoers/log_client.c:275 +#, c-format +msgid "Unable to allocate ssl object: %s" +msgstr "Impossible d'allouer l'objet ssl : %s" + +#: plugins/sudoers/log_client.c:364 plugins/sudoers/log_client.c:369 +#, c-format +msgid "TLS connection to %s:%s failed: %s" +msgstr "la connexion TLS à %s:%s a échoué : %s" + +#: plugins/sudoers/log_client.c:543 +msgid "TLS initialization was unsuccessful" +msgstr "l'initialisation TLS n'a pas réussi" + +#: plugins/sudoers/log_client.c:553 +msgid "TLS handshake was unsuccessful" +msgstr "la négociation TLS n'a pas réussi" + +#: plugins/sudoers/log_client.c:1210 +#, c-format +msgid "%s: internal error, invalid exit status %d" +msgstr "%s: erreur interne, statut de sortie %d invalide" + +#: plugins/sudoers/log_client.c:1739 plugins/sudoers/log_client.c:1763 +msgid "lost connection to log server" +msgstr "perte de la connexion au serveur de journalisation" + +#: plugins/sudoers/log_client.c:1840 +msgid "missing write buffer" +msgstr "tampon d'écriture manquant" + +#: plugins/sudoers/log_client.c:1994 +msgid "unable to connect to log server" +msgstr "impossible de se connecter au serveur de journal" + +#: plugins/sudoers/logging.c:290 +msgid "user NOT in sudoers" +msgstr "l'utilisateur n'apparaît PAS dans sudoers" + +#: plugins/sudoers/logging.c:292 +msgid "user NOT authorized on host" +msgstr "l'utilisateur n'est PAS autorisé sur cet hôte" + +#: plugins/sudoers/logging.c:294 +msgid "command not allowed" +msgstr "commande non autorisée" + +#: plugins/sudoers/logging.c:315 +#, c-format +msgid "%s is not in the sudoers file.\n" +msgstr "%s n'est pas dans le fichier sudoers.\n" + +#: plugins/sudoers/logging.c:318 +#, c-format +msgid "%s is not allowed to run sudo on %s.\n" +msgstr "%s n'est pas autorisé à exécuter sudo sur %s.\n" + +#: plugins/sudoers/logging.c:321 +#, c-format +msgid "Sorry, user %s may not run sudo on %s.\n" +msgstr "Désolé, l'utilisateur %s ne peut pas utiliser sudo sur %s.\n" + +#: plugins/sudoers/logging.c:324 +#, c-format +msgid "Sorry, user %s is not allowed to execute '%s%s%s' as %s%s%s on %s.\n" +msgstr "Désolé, l'utilisateur %s n'est pas autorisé à exécuter « %s%s%s » en tant que %s%s%s sur %s.\n" + +#: plugins/sudoers/logging.c:334 +msgid "This incident has been reported to the administrator.\n" +msgstr "Cet incident a été signalé à l'administrateur.\n" + +#: plugins/sudoers/logging.c:369 plugins/sudoers/sudoers.c:655 +#: plugins/sudoers/sudoers.c:657 plugins/sudoers/sudoers.c:659 +#: plugins/sudoers/sudoers.c:661 plugins/sudoers/sudoers.c:816 +#: plugins/sudoers/sudoers.c:818 +#, c-format +msgid "%s: command not found" +msgstr "%s : commande introuvable" + +#: plugins/sudoers/logging.c:371 plugins/sudoers/sudoers.c:651 +#, c-format +msgid "" +"ignoring \"%s\" found in '.'\n" +"Use \"sudo ./%s\" if this is the \"%s\" you wish to run." +msgstr "" +"« %s » trouvé dans « . » n'a pas été exécuté\n" +"Utilisez « sudo ./%s » si c'est bien la version de « %s » que vous souhaitez exécuter." + +#: plugins/sudoers/logging.c:391 +#, c-format +msgid "%u incorrect password attempt" +msgid_plural "%u incorrect password attempts" +msgstr[0] "%u saisie de mot de passe incorrecte" +msgstr[1] "%u saisies de mots de passe incorrectes" + +#: plugins/sudoers/logging.c:481 +msgid "authentication failure" +msgstr "échec de l'authentification" + +#: plugins/sudoers/logging.c:520 plugins/sudoers/logging.c:539 +msgid "a password is required" +msgstr "il est nécessaire de saisir un mot de passe" + +#: plugins/sudoers/logging.c:803 plugins/sudoers/logging.c:815 +msgid "problem parsing sudoers" +msgstr "problème lors de l'analyse syntaxique de sudoers" + +#: plugins/sudoers/logging.c:877 plugins/sudoers/logging.c:889 +#, c-format +msgid "%s:%d:%d: %s" +msgstr "%s:%d:%d: %s" + +#: plugins/sudoers/logging.c:1066 +#, c-format +msgid "unable to write log file: %s" +msgstr "impossible d'écrire le fichier journal : %s" + +#: plugins/sudoers/match_digest.c:112 +#, c-format +msgid "digest for %s (%s) bad length %zu, expected %zu" +msgstr "le résumé (digest) de %s (%s) a la mauvaise longueur %zu, %zu attendue" + +#: plugins/sudoers/match_digest.c:131 +#, c-format +msgid "digest for %s (%s) is not in %s form" +msgstr "le résume (digest) de %s (%s) n'est pas dans le forme %s" + +#: plugins/sudoers/parse.c:631 +#, c-format +msgid "" +"\n" +"LDAP Role: %s\n" +msgstr "" +"\n" +"Rôle LDAP : %s\n" + +#: plugins/sudoers/parse.c:634 +msgid "" +"\n" +"Sudoers entry:\n" +msgstr "" +"\n" +"Entrée sudoers :\n" + +#: plugins/sudoers/parse.c:636 +msgid " RunAsUsers: " +msgstr " RunAsUsers : " + +#: plugins/sudoers/parse.c:651 +msgid " RunAsGroups: " +msgstr " RunAsGroups : " + +#: plugins/sudoers/parse.c:661 +msgid " Options: " +msgstr " Options : " + +#: plugins/sudoers/parse.c:725 +msgid " Commands:\n" +msgstr " Commandes :\n" + +#: plugins/sudoers/parse.c:916 +#, c-format +msgid "Matching Defaults entries for %s on %s:\n" +msgstr "Entrées Defaults correspondant pour %s sur %s :\n" + +#: plugins/sudoers/parse.c:934 +#, c-format +msgid "Runas and Command-specific defaults for %s:\n" +msgstr "Paramètres par défaut de runas ou spécifiques aux commandes pour %s :\n" + +#: plugins/sudoers/parse.c:952 +#, c-format +msgid "User %s may run the following commands on %s:\n" +msgstr "L'utilisateur %s peut utiliser les commandes suivantes sur %s :\n" + +#: plugins/sudoers/parse.c:967 +#, c-format +msgid "User %s is not allowed to run sudo on %s.\n" +msgstr "L'utilisateur %s n'est pas autorisé à exécuter sudo sur %s.\n" + +#: plugins/sudoers/parse_ldif.c:618 +#, c-format +msgid "ignoring incomplete sudoRole: cn: %s" +msgstr "le sudoRole incomplet est ignoré : cn : %s" + +#: plugins/sudoers/parse_ldif.c:678 +#, c-format +msgid "invalid LDIF attribute: %s" +msgstr "attribut LDIF invalide : %s" + +#: plugins/sudoers/policy.c:82 plugins/sudoers/policy.c:113 +#, c-format +msgid "invalid %.*s set by sudo front-end" +msgstr "%.*s invalide défini par l'interface utilisateur de sudo" + +#: plugins/sudoers/policy.c:360 plugins/sudoers/testsudoers.c:268 +msgid "unable to parse network address list" +msgstr "impossible d'analyser la liste des adresses réseau" + +#: plugins/sudoers/policy.c:528 +msgid "user name not set by sudo front-end" +msgstr "nom d'utilisateur pas défini par l'interface utilisateur de sudo" + +#: plugins/sudoers/policy.c:532 +msgid "user-ID not set by sudo front-end" +msgstr "ID utilisateur pas défini par l'interface utilisateur de sudo" + +#: plugins/sudoers/policy.c:536 +msgid "group-ID not set by sudo front-end" +msgstr "ID de groupe pas défini par l'interface utilisateur de sudo" + +#: plugins/sudoers/policy.c:540 +msgid "host name not set by sudo front-end" +msgstr "nom d'hôte pas défini par l'interface utilisateur de sudo" + +#: plugins/sudoers/policy.c:737 +#, c-format +msgid "invalid working directory: %s" +msgstr "répertoire de travail invalide : %s" + +#: plugins/sudoers/policy.c:921 +#, c-format +msgid "invalid chroot directory: %s" +msgstr "répertoire chroot invalide : %s" + +#: plugins/sudoers/policy.c:1108 plugins/sudoers/visudo.c:259 +#: plugins/sudoers/visudo.c:906 +#, c-format +msgid "unable to execute %s" +msgstr "exécution de %s impossible" + +#: plugins/sudoers/policy.c:1178 plugins/sudoers/policy.c:1215 +#: plugins/sudoers/policy.c:1237 plugins/sudoers/policy.c:1263 +#, c-format +msgid "%s: invalid mode flags from sudo front end: 0x%x" +msgstr "%s: fanions de mode invalides dans l'interface utilisateur de sudo : 0x%x" + +#: plugins/sudoers/policy.c:1299 +#, c-format +msgid "Sudoers policy plugin version %s\n" +msgstr "La version du greffon de politique de sudoers est %s\n" + +#: plugins/sudoers/policy.c:1301 +#, c-format +msgid "Sudoers file grammar version %d\n" +msgstr "La version de la grammaire du fichier sudoers est %d\n" + +#: plugins/sudoers/policy.c:1305 +#, c-format +msgid "" +"\n" +"Sudoers path: %s\n" +msgstr "" +"\n" +"Chemin d'accès à sudoers : %s\n" + +#: plugins/sudoers/policy.c:1308 +#, c-format +msgid "nsswitch path: %s\n" +msgstr "chemin d'accès à nsswitch : %s\n" + +#: plugins/sudoers/policy.c:1310 +#, c-format +msgid "ldap.conf path: %s\n" +msgstr "chemin d'accès à ldap.conf : %s\n" + +#: plugins/sudoers/policy.c:1311 +#, c-format +msgid "ldap.secret path: %s\n" +msgstr "chemin d'accès à ldap.secret : %s\n" + +#: plugins/sudoers/policy.c:1344 +#, c-format +msgid "unable to register hook of type %d (version %d.%d)" +msgstr "activation d'un point d'ancrage de type %d (version %d.%d) impossible" + +#: plugins/sudoers/policy.c:1362 +#, c-format +msgid "unable to deregister hook of type %d (version %d.%d)" +msgstr "désactivation d'un point d'ancrage de type %d (version %d.%d) impossible" + +#: plugins/sudoers/pwutil.c:222 plugins/sudoers/pwutil.c:240 +#, c-format +msgid "unable to cache uid %u" +msgstr "enregistrement de l'uid %u dans le cache impossible" + +#: plugins/sudoers/pwutil.c:234 +#, c-format +msgid "unable to cache uid %u, already exists" +msgstr "enregistrement de l'uid %u dans le cache impossible, l'entrée existe déjà" + +#: plugins/sudoers/pwutil.c:294 plugins/sudoers/pwutil.c:312 +#: plugins/sudoers/pwutil.c:375 plugins/sudoers/pwutil.c:420 +#, c-format +msgid "unable to cache user %s" +msgstr "impossible d'écrire l'utilisateur %s dans la cache" + +#: plugins/sudoers/pwutil.c:307 +#, c-format +msgid "unable to cache user %s, already exists" +msgstr "enregistrement des informations de l'utilisateur %s dans le cache impossible, l'entrée existe déjà" + +#: plugins/sudoers/pwutil.c:539 plugins/sudoers/pwutil.c:557 +#, c-format +msgid "unable to cache gid %u" +msgstr "enregistrement du gid %u dans le cache impossible" + +#: plugins/sudoers/pwutil.c:551 +#, c-format +msgid "unable to cache gid %u, already exists" +msgstr "enregistrement du gid %u dans le cache impossible, l'entrée existe déjà" + +#: plugins/sudoers/pwutil.c:605 plugins/sudoers/pwutil.c:623 +#: plugins/sudoers/pwutil.c:684 plugins/sudoers/pwutil.c:733 +#, c-format +msgid "unable to cache group %s" +msgstr "impossible d'écrire le groupe %s dans la cache" + +#: plugins/sudoers/pwutil.c:618 +#, c-format +msgid "unable to cache group %s, already exists" +msgstr "enregistrement du groupe %s dans le cache impossible, l'entrée existe déjà" + +#: plugins/sudoers/pwutil.c:880 plugins/sudoers/pwutil.c:963 +#: plugins/sudoers/pwutil.c:1017 plugins/sudoers/pwutil.c:1071 +#, c-format +msgid "unable to cache group list for %s, already exists" +msgstr "enregistrement de la liste de groupe %s dans le cache impossible, l'entrée existe déjà" + +#: plugins/sudoers/pwutil.c:886 plugins/sudoers/pwutil.c:968 +#: plugins/sudoers/pwutil.c:1023 plugins/sudoers/pwutil.c:1076 +#, c-format +msgid "unable to cache group list for %s" +msgstr "impossible d'écrire la liste de groupes dans la cache pour %s" + +#: plugins/sudoers/pwutil.c:957 +#, c-format +msgid "unable to parse groups for %s" +msgstr "impossible d'analyser les groupes pour %s" + +#: plugins/sudoers/pwutil.c:1065 +#, c-format +msgid "unable to parse gids for %s" +msgstr "impossible d'analyser les gids pour %s" + +#: plugins/sudoers/set_perms.c:114 plugins/sudoers/set_perms.c:445 +#: plugins/sudoers/set_perms.c:852 plugins/sudoers/set_perms.c:1162 +#: plugins/sudoers/set_perms.c:1460 +msgid "perm stack overflow" +msgstr "débordement de la pile perm" + +#: plugins/sudoers/set_perms.c:125 plugins/sudoers/set_perms.c:376 +#: plugins/sudoers/set_perms.c:456 plugins/sudoers/set_perms.c:719 +#: plugins/sudoers/set_perms.c:863 plugins/sudoers/set_perms.c:1086 +#: plugins/sudoers/set_perms.c:1173 plugins/sudoers/set_perms.c:1393 +#: plugins/sudoers/set_perms.c:1471 plugins/sudoers/set_perms.c:1562 +msgid "perm stack underflow" +msgstr "débordement inférieur de la pile perm" + +#: plugins/sudoers/set_perms.c:185 plugins/sudoers/set_perms.c:503 +#: plugins/sudoers/set_perms.c:1227 plugins/sudoers/set_perms.c:1505 +msgid "unable to change to root gid" +msgstr "changement de l'identificateur de groupe (gid) de root impossible" + +#: plugins/sudoers/set_perms.c:276 plugins/sudoers/set_perms.c:600 +#: plugins/sudoers/set_perms.c:995 plugins/sudoers/set_perms.c:1304 +msgid "unable to change to runas gid" +msgstr "changement du groupe effectif (runas) impossible" + +#: plugins/sudoers/set_perms.c:281 plugins/sudoers/set_perms.c:605 +#: plugins/sudoers/set_perms.c:1000 plugins/sudoers/set_perms.c:1309 +msgid "unable to set runas group vector" +msgstr "définition du vecteur du groupe effectif (runas) impossible" + +#: plugins/sudoers/set_perms.c:292 plugins/sudoers/set_perms.c:616 +#: plugins/sudoers/set_perms.c:1009 plugins/sudoers/set_perms.c:1318 +msgid "unable to change to runas uid" +msgstr "changement de l'uid effectif (runas) impossible" + +#: plugins/sudoers/set_perms.c:310 plugins/sudoers/set_perms.c:634 +#: plugins/sudoers/set_perms.c:1025 plugins/sudoers/set_perms.c:1334 +msgid "unable to change to sudoers gid" +msgstr "changement du groupe (gid) de sudoers impossible" + +#: plugins/sudoers/set_perms.c:363 plugins/sudoers/set_perms.c:706 +#: plugins/sudoers/set_perms.c:1073 plugins/sudoers/set_perms.c:1380 +#: plugins/sudoers/set_perms.c:1549 +msgid "too many processes" +msgstr "trop de processus" + +#: plugins/sudoers/solaris_audit.c:61 +msgid "unable to get current working directory" +msgstr "récupération du répertoire de travail impossible" + +#: plugins/sudoers/solaris_audit.c:69 +#, c-format +msgid "truncated audit path user_cmnd: %s" +msgstr "le chemin d'accès à l'audit user_cmnd a été tronqué : %s" + +#: plugins/sudoers/solaris_audit.c:76 +#, c-format +msgid "truncated audit path argv[0]: %s" +msgstr "le chemin d'accès à l'audit argv[0] a été tronqué : %s" + +#: plugins/sudoers/sssd.c:579 +msgid "unable to initialize SSS source. Is SSSD installed on your machine?" +msgstr "initialisation de la source SSS impossible. SSSD est-il installé sur cette machine ?" + +#: plugins/sudoers/sssd.c:587 plugins/sudoers/sssd.c:596 +#: plugins/sudoers/sssd.c:605 plugins/sudoers/sssd.c:614 +#: plugins/sudoers/sssd.c:623 +#, c-format +msgid "unable to find symbol \"%s\" in %s" +msgstr "Le symbole « %s » est introuvable dans %s" + +#: plugins/sudoers/sudoers.c:263 +#, c-format +msgid "unable to get defaults from %s" +msgstr "impossible d'obtenir les valeurs par défaut pour %s" + +#: plugins/sudoers/sudoers.c:270 +msgid "no valid sudoers sources found, quitting" +msgstr "aucune source sudoers valide n'a été trouvée, fin d'exécution" + +#: plugins/sudoers/sudoers.c:346 +#, c-format +msgid "user not allowed to change root directory to %s" +msgstr "l'utilisateur n'est pas autorisé à changer le répertoire racine en %s" + +#: plugins/sudoers/sudoers.c:348 +#, c-format +msgid "you are not permitted to use the -R option with %s" +msgstr "vous n'êtes pas autorisé à utiliser l'option -R avec %s" + +#: plugins/sudoers/sudoers.c:373 +#, c-format +msgid "user not allowed to change directory to %s" +msgstr "l'utilisateur n'est pas autorisé à changer de répertoire vers %s" + +#: plugins/sudoers/sudoers.c:374 +#, c-format +msgid "you are not permitted to use the -D option with %s" +msgstr "vous n'êtes pas autorisé à utiliser l'option -D avec %s" + +#: plugins/sudoers/sudoers.c:401 +msgid "no command specified" +msgstr "aucune commande spécifiée" + +#: plugins/sudoers/sudoers.c:426 +msgid "sudoers specifies that root is not allowed to sudo" +msgstr "il est précisé dans sudoers que root n'est pas autorisé à utiliser sudo" + +#: plugins/sudoers/sudoers.c:483 +msgid "user not allowed to override closefrom limit" +msgstr "l'utilisateur n'est pas autorisé à outrepasser la limite closeform" + +#: plugins/sudoers/sudoers.c:484 +msgid "you are not permitted to use the -C option" +msgstr "vous n'êtes pas autorisé à utiliser l'option -C" + +#: plugins/sudoers/sudoers.c:544 +#, c-format +msgid "timestamp owner (%s): No such user" +msgstr "propriétaire du fichier d'horodatage (%s) : utilisateur inconnu" + +#: plugins/sudoers/sudoers.c:559 +msgid "no tty" +msgstr "pas de terminal tty" + +#: plugins/sudoers/sudoers.c:560 +msgid "sorry, you must have a tty to run sudo" +msgstr "désolé, vous devez avoir un terminal tty pour exécuter sudo" + +#: plugins/sudoers/sudoers.c:567 +#, c-format +msgid "invalid shell for user %s: %s" +msgstr "interpréteur de commande invalide pour l'utilisateur %s : %s" + +#: plugins/sudoers/sudoers.c:650 +msgid "command in current directory" +msgstr "commande dans le répertoire courant" + +#: plugins/sudoers/sudoers.c:665 +msgid "\"cd\" is a shell built-in command, it cannot be run directly." +msgstr "« cd » est une commande interne du shell, elle ne peut pas être exécutée directement." + +#: plugins/sudoers/sudoers.c:667 +msgid "the -s option may be used to run a privileged shell." +msgstr "l'option -s peut être utilisée pour exécuter un shell privilégié." + +#: plugins/sudoers/sudoers.c:669 +msgid "the -D option may be used to run a command in a specific directory." +msgstr "l'option -D peut être utilisée pour exécuter une commande dans un répertoire spécifique." + +#: plugins/sudoers/sudoers.c:678 +msgid "user not allowed to set a command timeout" +msgstr "l'utilisateur n'est pas autorisé à définir un délai d'expiration de la commande" + +#: plugins/sudoers/sudoers.c:680 +msgid "sorry, you are not allowed set a command timeout" +msgstr "désolé, vous n'êtes pas autorisé à définir un délai d'expiration de la commande" + +#: plugins/sudoers/sudoers.c:688 +msgid "user not allowed to preserve the environment" +msgstr "l'utilisateur n'est pas autorisé à conserver l'environnement" + +#: plugins/sudoers/sudoers.c:690 +msgid "sorry, you are not allowed to preserve the environment" +msgstr "désolé, vous n'êtes pas autorisé à conserver l'environnement" + +#: plugins/sudoers/sudoers.c:799 +msgid "error setting user-specified environment variables" +msgstr "erreur en définissant les variables d'environnement spécifiées par l'utilisateur" + +#: plugins/sudoers/sudoers.c:1112 +msgid "sudoedit doesn't need to be run via sudo" +msgstr "sudoedit n'a pas besoin d'être exécuté via sudo" + +#: plugins/sudoers/sudoers.c:1157 plugins/sudoers/sudoreplay.c:1612 +#: plugins/sudoers/tsdump.c:138 +#, c-format +msgid "unable to read %s" +msgstr "lecture de %s impossible" + +#: plugins/sudoers/sudoers.c:1186 plugins/sudoers/visudo.c:1066 +#, c-format +msgid "%s is not a regular file" +msgstr "%s n'est pas un fichier ordinaire" + +#: plugins/sudoers/sudoers.c:1190 plugins/sudoers/timestamp.c:263 toke.l:1255 +#, c-format +msgid "%s is owned by uid %u, should be %u" +msgstr "Le fichier %s est la propriété de l'utilisateur (uid) %u, alors qu'il devrait appartenir à %u" + +#: plugins/sudoers/sudoers.c:1194 plugins/sudoers/timestamp.c:270 toke.l:1260 +#, c-format +msgid "%s is world writable" +msgstr "Le fichier %s est ouvert en écriture pour tous" + +#: plugins/sudoers/sudoers.c:1198 plugins/sudoers/timestamp.c:275 toke.l:1263 +#, c-format +msgid "%s is owned by gid %u, should be %u" +msgstr "Le fichier %s a pour groupe (gid) %u, alors qu'il devrait appartenir au groupe %u" + +#: plugins/sudoers/sudoers.c:1233 +#, c-format +msgid "only root can use \"-c %s\"" +msgstr "« -c %s » est réservé à l'utilisateur root" + +#: plugins/sudoers/sudoers.c:1252 +#, c-format +msgid "unknown login class %s" +msgstr "classe de connexion %s inconnue" + +#: plugins/sudoers/sudoers.c:1339 plugins/sudoers/sudoers.c:1354 +#, c-format +msgid "unable to resolve host %s" +msgstr "impossible de résoudre l'hôte %s" + +#: plugins/sudoers/sudoreplay.c:252 +#, c-format +msgid "invalid filter option: %s" +msgstr "option du filtre invalide : %s" + +#: plugins/sudoers/sudoreplay.c:268 +#, c-format +msgid "invalid max wait: %s" +msgstr "attente maximum invalide : %s" + +#: plugins/sudoers/sudoreplay.c:291 +#, c-format +msgid "invalid speed factor: %s" +msgstr "facteur de vitesse invalide : %s" + +#: plugins/sudoers/sudoreplay.c:326 +#, c-format +msgid "invalid time offset %s" +msgstr "décalage de temps i%s invalide" + +#: plugins/sudoers/sudoreplay.c:335 +#, c-format +msgid "%s/%.2s/%.2s/%.2s: %s" +msgstr "%s/%.2s/%.2s/%.2s : %s" + +#: plugins/sudoers/sudoreplay.c:340 +#, c-format +msgid "%s/timing: %s" +msgstr "%s/timing : %s" + +#: plugins/sudoers/sudoreplay.c:368 +#, c-format +msgid "Replaying sudo session: %s" +msgstr "Rejeu de la session sudo : %s" + +#: plugins/sudoers/sudoreplay.c:634 +msgid "unable to set tty to raw mode" +msgstr "impossible d'initialiser le terminal tty en mode direct" + +#: plugins/sudoers/sudoreplay.c:685 +msgid "Warning: your terminal is too small to properly replay the log.\n" +msgstr "Attention : la taille du terminal n'est pas suffisante pour pouvoir rejouer correctement la séquence.\n" + +#: plugins/sudoers/sudoreplay.c:686 +#, c-format +msgid "Log geometry is %d x %d, your terminal's geometry is %d x %d." +msgstr "La taille du journal est %d × %d, la taille de votre terminal est %d × %d." + +#: plugins/sudoers/sudoreplay.c:714 +msgid "Replay finished, press any key to restore the terminal." +msgstr "Rejeu terminé, appuyez sur n'importe quelle touche pour rétablir le terminal." + +#: plugins/sudoers/sudoreplay.c:1216 plugins/sudoers/sudoreplay.c:1246 +#, c-format +msgid "ambiguous expression \"%s\"" +msgstr "expression ambiguë « %s »" + +#: plugins/sudoers/sudoreplay.c:1268 +msgid "unmatched ')' in expression" +msgstr "« ) » sans parenthèse ouvrante dans l'expression" + +#: plugins/sudoers/sudoreplay.c:1272 +#, c-format +msgid "unknown search term \"%s\"" +msgstr "terme de recherche « %s » inconnu" + +#: plugins/sudoers/sudoreplay.c:1287 +#, c-format +msgid "%s requires an argument" +msgstr "%s requiert un argument" + +#: plugins/sudoers/sudoreplay.c:1297 +#, c-format +msgid "could not parse date \"%s\"" +msgstr "analyse de la date « %s » impossible" + +#: plugins/sudoers/sudoreplay.c:1306 +msgid "unmatched '(' in expression" +msgstr "« ( » sans parenthèse fermante dans l'expression" + +#: plugins/sudoers/sudoreplay.c:1308 +msgid "illegal trailing \"or\"" +msgstr "« or » n'est pas autorisé en fin d'expression" + +#: plugins/sudoers/sudoreplay.c:1310 +msgid "illegal trailing \"!\"" +msgstr "« ! » n'est pas autorisé en fin d'expression" + +#: plugins/sudoers/sudoreplay.c:1416 +#, c-format +msgid "unknown search type %d" +msgstr "type de recherche %d inconnu" + +#: plugins/sudoers/sudoreplay.c:1678 +#, c-format +msgid "usage: %s [-hnRS] [-d dir] [-m num] [-s num] ID\n" +msgstr "utilisation : %s [-hnRS] [-d répertoire] [-m nombre] [-s nombre] ID\n" + +#: plugins/sudoers/sudoreplay.c:1680 +#, c-format +msgid "usage: %s [-h] [-d dir] -l [search expression]\n" +msgstr "utilisation : %s [-h] [-d répertoire] -l [expression recherchée]\n" + +#: plugins/sudoers/sudoreplay.c:1694 +#, c-format +msgid "" +"%s - replay sudo session logs\n" +"\n" +msgstr "" +"%s - rejeu du journal de la session sudo\n" +"\n" + +#: plugins/sudoers/sudoreplay.c:1696 +msgid "" +"\n" +"Options:\n" +" -d, --directory=dir specify directory for session logs\n" +" -f, --filter=filter specify which I/O type(s) to display\n" +" -h, --help display help message and exit\n" +" -l, --list list available session IDs, with optional expression\n" +" -m, --max-wait=num max number of seconds to wait between events\n" +" -n, --non-interactive no prompts, session is sent to the standard output\n" +" -R, --no-resize do not attempt to re-size the terminal\n" +" -S, --suspend-wait wait while the command was suspended\n" +" -s, --speed=num speed up or slow down output\n" +" -V, --version display version information and exit" +msgstr "" +"\n" +"Options :\n" +" -d, --directory=rép indique le répertoire pour les journaux de sessions\n" +" -f, --filter=filtre indique quel(s) type(s) E/S à afficher\n" +" -h, --help affiche le message d'aide puis termine l'exécution\n" +" -l, --list liste les identificateurs de sessions disponibles,\n" +" il est possible d'ajouter une expression en paramètre\n" +" -m, --max-wait=val nombre maximum de secondes de temporisation entre les événements\n" +" -n, --non-interactive aucune demande, la session est envoyée sur la sortie standard\n" +" -R, --no-resize ne pas tenter de redimensionner le terminal\n" +" -S, --suspend-wait attend pendant que la commande a été suspendue\n" +" -s, --speed=valeur accélère ou ralentit l'exécution\n" +" -V, --version affiche la version du programme, puis termine l'exécution" + +#: plugins/sudoers/testsudoers.c:344 +msgid "\thost unmatched" +msgstr "\tl'hôte n'a pas de correspondance" + +#: plugins/sudoers/testsudoers.c:347 +msgid "" +"\n" +"Command allowed" +msgstr "" +"\n" +"Commande autorisée" + +#: plugins/sudoers/testsudoers.c:348 +msgid "" +"\n" +"Command denied" +msgstr "" +"\n" +"Commande refusée" + +#: plugins/sudoers/testsudoers.c:348 +msgid "" +"\n" +"Command unmatched" +msgstr "" +"\n" +"Commande sans correspondance" + +#: plugins/sudoers/timestamp.c:354 plugins/sudoers/timestamp.c:693 +#, c-format +msgid "unable to truncate time stamp file to %lld bytes" +msgstr "impossible de tronquer le fichier d'horodatage à %lld octets" + +#: plugins/sudoers/timestamp.c:890 +msgid "ignoring time stamp from the future" +msgstr "un horodatage dans le futur a été ignoré" + +#: plugins/sudoers/timestamp.c:913 +#, c-format +msgid "time stamp too far in the future: %20.20s" +msgstr "l'horodatage est trop avancé dans le future : %20.20s" + +#: plugins/sudoers/timestamp.c:1042 +#, c-format +msgid "unable to lock time stamp file %s" +msgstr "verrouillage du fichier d'horodatage %s impossible" + +#: plugins/sudoers/toke_util.c:156 +msgid "sudoedit should not be specified with a path" +msgstr "sudoedit ne devrait pas être spécifié avec un chemin" + +#: plugins/sudoers/visudo.c:254 +msgid "the -x option will be removed in a future release" +msgstr "l'option -x sera supprimée dans une version ultérieure" + +#: plugins/sudoers/visudo.c:256 +msgid "please consider using the cvtsudoers utility instead" +msgstr "envisagez plutôt l'utilisation de l'utilitaire cvtsudoers" + +#: plugins/sudoers/visudo.c:311 plugins/sudoers/visudo.c:702 +#, c-format +msgid "press return to edit %s: " +msgstr "appuyer sur entrée pour éditer %s : " + +#: plugins/sudoers/visudo.c:326 +#, c-format +msgid "contents of edit session left in %s" +msgstr "le contenu de la session d'édition a été laissé dans %s" + +#: plugins/sudoers/visudo.c:403 +#, c-format +msgid "specified editor (%s) doesn't exist" +msgstr "l'éditeur indiqué (%s) n'existe pas" + +#: plugins/sudoers/visudo.c:408 +#, c-format +msgid "no editor found (editor path = %s)" +msgstr "aucun éditeur trouvé (chemin d'accès à l'éditeur : %s)" + +#: plugins/sudoers/visudo.c:495 plugins/sudoers/visudo.c:774 +#, c-format +msgid "unable to stat %s" +msgstr "impossible d'appliquer la fonction stat à %s" + +#: plugins/sudoers/visudo.c:515 plugins/sudoers/visudo.c:523 +msgid "write error" +msgstr "erreur en écriture" + +#: plugins/sudoers/visudo.c:569 +#, c-format +msgid "unable to stat temporary file (%s), %s unchanged" +msgstr "impossible d'appliquer la fonction stat au fichier temporaire (%s), %s n'a pas été modifié" + +#: plugins/sudoers/visudo.c:576 +#, c-format +msgid "zero length temporary file (%s), %s unchanged" +msgstr "fichier temporaire vide (%s), %s n'a pas été modifié" + +#: plugins/sudoers/visudo.c:582 +#, c-format +msgid "editor (%s) failed, %s unchanged" +msgstr "l'éditeur (%s) a échoué, %s n'a pas été modifié" + +#: plugins/sudoers/visudo.c:604 +#, c-format +msgid "%s unchanged" +msgstr "%s n'a pas été modifié" + +#: plugins/sudoers/visudo.c:649 +#, c-format +msgid "unable to re-open temporary file (%s), %s unchanged." +msgstr "impossible de rouvrir le fichier temporaire (%s), %s n'a pas été modifié." + +#: plugins/sudoers/visudo.c:662 +#, c-format +msgid "unable to parse temporary file (%s), unknown error" +msgstr "impossible d'analyser le fichier temporaire (%s), erreur inconnue" + +#: plugins/sudoers/visudo.c:748 plugins/sudoers/visudo.c:778 +#: plugins/sudoers/visudo.c:785 +#, c-format +msgid "unable to set (uid, gid) of %s to (%u, %u)" +msgstr "impossible de définir (uid, gid) de %s à (%u, %u)" + +#: plugins/sudoers/visudo.c:813 +#, c-format +msgid "%s and %s not on the same file system, using mv to rename" +msgstr "%s et %s ne sont pas dans le même système de fichiers, tentative de renommage à l'aide de la commande mv" + +#: plugins/sudoers/visudo.c:824 +#, c-format +msgid "command failed: '%s %s %s', %s unchanged" +msgstr "la commande a échoué : « %s %s %s », %s n'a pas été modifié" + +#: plugins/sudoers/visudo.c:831 +#, c-format +msgid "error renaming %s, %s unchanged" +msgstr "erreur lors du renommage de %s, %s n'a pas été modifié" + +#: plugins/sudoers/visudo.c:851 +msgid "What now? " +msgstr "Et maintenant ?" + +#: plugins/sudoers/visudo.c:865 +msgid "" +"Options are:\n" +" (e)dit sudoers file again\n" +" e(x)it without saving changes to sudoers file\n" +" (Q)uit and save changes to sudoers file (DANGER!)\n" +msgstr "" +"Les options sont :\n" +" (e)dition du fichier sudoers (de nouveau)\n" +" e(x)it sans sauvegarde des modifications apportées au fichier sudoers\n" +" (Q)uitter et sauvegarder les modifications apportées au fichier sudoers (DANGER!)\n" + +#: plugins/sudoers/visudo.c:911 +#, c-format +msgid "unable to run %s" +msgstr "exécution de %s impossible" + +#: plugins/sudoers/visudo.c:942 +#, c-format +msgid "%s: wrong owner (uid, gid) should be (%u, %u)\n" +msgstr "%s : mauvais propriétaire (uid, gid), celui-ci devrait être (%u,%u)\n" + +#: plugins/sudoers/visudo.c:953 +#, c-format +msgid "%s: bad permissions, should be mode 0%o\n" +msgstr "%s : mauvais droits d'utilisation, le mode devrait être 0%o\n" + +#: plugins/sudoers/visudo.c:999 plugins/sudoers/visudo.c:1006 +#, c-format +msgid "%s: parsed OK\n" +msgstr "%s : analyse réussie\n" + +#: plugins/sudoers/visudo.c:1025 +#, c-format +msgid "%s busy, try again later" +msgstr "%s n'est pas disponible, réessayez plus tard" + +#: plugins/sudoers/visudo.c:1029 +msgid "Edit anyway? [y/N]" +msgstr "Éditer quand même ? [y/N]" + +#: plugins/sudoers/visudo.c:1130 +#, c-format +msgid "Warning: %s:%d:%d: unused %s \"%s\"" +msgstr "Attention : %s:%d:%d: %s « %s » n'est pas utilisé" + +#: plugins/sudoers/visudo.c:1242 +#, c-format +msgid "" +"%s - safely edit the sudoers file\n" +"\n" +msgstr "" +"%s - édite le fichier sudoers en toute sécurité\n" +"\n" + +#: plugins/sudoers/visudo.c:1244 +msgid "" +"\n" +"Options:\n" +" -c, --check check-only mode\n" +" -f, --file=sudoers specify sudoers file location\n" +" -h, --help display help message and exit\n" +" -I, --no-includes do not edit include files\n" +" -q, --quiet less verbose (quiet) syntax error messages\n" +" -s, --strict strict syntax checking\n" +" -V, --version display version information and exit\n" +msgstr "" +"\n" +"Options :\n" +" -c, --check mode de validation\n" +" -f, --file=fichier précise l'emplacement du fichier sudoers\n" +" -h, --help affiche l'aide puis termine l'exécution\n" +" -I, --no-includes ne pas éditer les fichiers inclus\n" +" -q, --quiet moins de messages d'erreur de syntaxe (mode silencieux)\n" +" -s, --strict validation stricte de la syntaxe\n" +" -V, --version affiche la version, puis termine l'exécution\n" + +#: toke.l:189 +msgid "empty string" +msgstr "chaîne vide" + +#: toke.l:201 toke.l:571 +msgid "empty group" +msgstr "groupe vide" + +#: toke.l:211 toke.l:569 +msgid "empty netgroup" +msgstr "netgroup vide" + +#: toke.l:289 +msgid "unterminated regular expression" +msgstr "expression régulière non terminée" + +#: toke.l:363 toke.l:375 toke.l:387 toke.l:403 toke.l:422 toke.l:462 +msgid "invalid line continuation" +msgstr "la suite de la ligne est invalide" + +#: toke.l:608 toke.l:620 +msgid "invalid IPv6 address" +msgstr "adresse IPv6 invalide" + +#: toke.l:876 +msgid "unexpected line break in string" +msgstr "saut de ligne inattendu dans la chaîne" + +#: toke.l:1226 +msgid "too many levels of includes" +msgstr "nombre de niveaux d'inclusions trop élevé" + +#~ msgid "%s must be owned by uid %d" +#~ msgstr "%s doit appartenir à l'utilisateur (uid) %d" + +#~ msgid "%s must only be writable by owner" +#~ msgstr "seul le propriétaire doit avoir le droit en écriture sur %s" + +#~ msgid "%s is group writable" +#~ msgstr "%s est accessible en écriture pour les membres du groupe" + +#~ msgid "lecture status path too long: %s/%s" +#~ msgstr "le chemin d'accès au fichier d'état de la recommandation est trop long : %s/%s" + +#~ msgid "Warning: %s:%d:%d: cycle in %s \"%s\"" +#~ msgstr "Attention : %s:%d:%d: boucle dans %s « %s »" + +#~ msgid "Warning: %s:%d:%d: %s \"%s\" referenced but not defined" +#~ msgstr "Attention : %s:%d:%d: il est fait mention de %s « %s » alors qu'il n'a pas été défini" + +#~ msgid "parse error in %s near line %d\n" +#~ msgstr "erreur lors de l'analyse grammaticale de %s au environs de la ligne %d\n" + +#~ msgid "parse error in %s\n" +#~ msgstr "erreur lors de l'analyse grammaticale de %s\n" + +#~ msgid "%s: unknown defaults entry \"%s\"" +#~ msgstr "%s: entrée par défaut inconnue « %s »" + +#~ msgid "%s:%d:%d: no value specified for \"%s\"" +#~ msgstr "%s:%d:%d: pas de valeur précisée pour « %s »" + +#~ msgid "%s:%d:%d: invalid operator \"%c=\" for \"%s\"" +#~ msgstr "%s:%d:%d: opérateur « %c= » invalide pour « %s »" + +#~ msgid "%s:%d:%d: option \"%s\" does not take a value" +#~ msgstr "%s:%d:%d: l'option « %s » ne prend pas de valeur" + +#~ msgid "%s:%d:%d: invalid Defaults type 0x%x for option \"%s\"" +#~ msgstr "%s:%d:%d: type Defaults 0x%x invalide pour l'option « %s »" + +#~ msgid "%s:%d:%d: value \"%s\" is invalid for option \"%s\"" +#~ msgstr "%s:%d:%d: la valeur « %s » ne convient pas pour l'option « %s »" + +#~ msgid "%s:%d:%d: path name for \"%s\" too long" +#~ msgstr "%s:%d:%d: chemin trop long pour « %s »" + +#~ msgid "%s: path name for \"%s\" too long" +#~ msgstr "%s: chemin trop long pour « %s »" + +#~ msgid "%s:%d:%d: values for \"%s\" must start with a '/', '~', or '*'" +#~ msgstr "%s:%d:%d: les valeurs de « %s » doivent commencer par « / », « ~ » ou « * »" + +#~ msgid "%s:%d:%d: values for \"%s\" must start with a '/'" +#~ msgstr "%s:%d:%d: les valeurs de « %s » doivent commencer par « / »" + +#~ msgid "parse error in %s near line %d" +#~ msgstr "erreur d'analyse grammaticale dans %s aux environs de la ligne %d" + +#~ msgid "parse error in %s" +#~ msgstr "erreur d'analyse grammaticale dans %s" + +#~ msgid "SELinux RBAC is not supported when intercept mode is enabled" +#~ msgstr "SELinux RBAC n'est pas supporté quand le mode d'interception est activé" + +#~ msgid "SELinux RBAC is not supported when the log_subcmds flag is enabled" +#~ msgstr "SELinux RBAC n'est pas supporté quand le fanion log_subcmds est activé" + +#~ msgid "problem with defaults entries" +#~ msgstr "les entrées par défaut posent un problème" + +#~ msgid "internal error, unable to find %s in list!" +#~ msgstr "erreur interne, impossible de trouver %s dans la liste !" + +#~ msgid "%s is not in the sudoers file. This incident will be reported.\n" +#~ msgstr "%s n'apparaît pas dans le fichier sudoers. Cet incident sera signalé.\n" + +#~ msgid "%s is not allowed to run sudo on %s. This incident will be reported.\n" +#~ msgstr "%s n'est pas autorisé à exécuter sudo sur %s. Cet incident sera signalé.\n" + +#~ msgid "%s: write buffer already in use" +#~ msgstr "%s: tampon d'écriture déjà en cours d'utilisation" + +#~ msgid "unable to read diffie-hellman parameters: %s" +#~ msgstr "impossible de lire les paramètres diffie-hellman : %s" + +#~ msgid "%s:%d unknown key: %s" +#~ msgstr "%s:%d clé inconnue : %s" + +#~ msgid "unable to get TLS server method: %s" +#~ msgstr "impossible d'obtenir la méthode TLS du serveur : %s" + +#~ msgid "%s:%u unable to parse \"%s\"" +#~ msgstr "%s:%u analyse grammaticale (parse) de « %s » impossible" + +#~ msgid "" +#~ "\n" +#~ "Options:\n" +#~ " -f, --file path to configuration file\n" +#~ " -h --help display help message and exit\n" +#~ " -n, --no-fork do not fork, run in the foreground\n" +#~ " -R, --random-drop percent chance connections will drop\n" +#~ " -V, --version display version information and exit\n" +#~ msgstr "" +#~ "\n" +#~ "Options :\n" +#~ " -f, --file chemin vers le fichier de configuration\n" +#~ " -h, --help affiche l'aide puis termine l'exécution\n" +#~ " -n, --no-fork ne pas démarrer une branche, exécuter au premier plan\n" +#~ " -R, --random-drop pourcentage de chances que la connexion soit abandonnée\n" +#~ " -V, --version affiche la version, puis termine l'exécution\n" + +#~ msgid "" +#~ "\n" +#~ "Options:\n" +#~ " --help display help message and exit\n" +#~ " -A, --accept only send an accept event (no I/O)\n" +#~ " -h, --host host to send logs to\n" +#~ " -i, --iolog_id remote ID of I/O log to be resumed\n" +#~ " -p, --port port to use when connecting to host\n" +#~ " -r, --restart restart previous I/O log transfer\n" +#~ " -R, --reject reject the command with the given reason\n" +#~ " -b, --ca-bundle certificate bundle file to verify server's cert against\n" +#~ " -c, --cert certificate file for TLS handshake\n" +#~ " -k, --key private key file\n" +#~ " -n, --no-verify do not verify server certificate\n" +#~ " -t, --test test audit server by sending selected I/O log n times in parallel\n" +#~ " -V, --version display version information and exit\n" +#~ msgstr "" +#~ "\n" +#~ "Options :\n" +#~ " --help afficher le message d'aide puis terminer\n" +#~ " -A, --accept n'envoyer qu'un événement d'acceptation (pas d'E/S)\n" +#~ " -h, --host hôte à qui envoyer le journal\n" +#~ " -i, --iolog_id ID distant du journal des E/S à redémarrer\n" +#~ " -p, --port port à utiliser lors de la connexion à l'hôte\n" +#~ " -r, --restart redémarrer le transfert du journal des E/S précédent\n" +#~ " -R, --reject rejeter la commande avec la raison donnée\n" +#~ " -b, --ca-bundle fichier du paquet de certificats avec lequel vérifier le certificat du serveur\n" +#~ " -c, --cert fichier de certificat pour l'échange TLS\n" +#~ " -k, --key fichier de la clé privée\n" +#~ " -n, --no-verify ne pas vérifier le certificat du serveur\n" +#~ " -t, --test tester le serveur d'audit en envoyant le journal des E/S sélectionné n fois en parallèle\n" +#~ " -V, --version afficher les informations de version et terminer\n" + +#~ msgid "Preload the dummy exec functions contained in the sudo_noexec library" +#~ msgstr "Préchargement des fonctions d'exécution « à blanc » contenues dans la bibliothèque sudo_noexec" + +#~ msgid "sudo_ldap_conf_add_ports: port too large" +#~ msgstr "sudo_ldap_conf_add_ports : valeur de port trop élevée" + +#~ msgid "SSL_connect failed: ssl_error=%d, stack=%s\n" +#~ msgstr "SSL_connect a échoué : ssl_error=%d, pile=%s\n" + +#~ msgid "CA bundle file was not specified" +#~ msgstr "le fichier du paquet CA n'a pas été spécifié" + +#~ msgid "Client certificate was not specified" +#~ msgstr "Le certificat du client n'a pas été spécifié" + +#~ msgid "Unable to allocate ssl object: %s\n" +#~ msgstr "Impossible d'allouer l'objet ssl : %s\n" + +#~ msgid "Unable to attach socket to the ssl object: %s\n" +#~ msgstr "Impossible d'attacher le socket à l'objet ssl : %s\n" + +#~ msgid "client message too large: %zu\n" +#~ msgstr "message client trop grand : %zu\n" + +#~ msgid "server message too large: %u\n" +#~ msgstr "message serveur trop long : %u\n" + +#~ msgid "CA bundle file is not set in sudoers" +#~ msgstr "Le fichier de paquet du CA n'est pas défini dans sudoers" + +#~ msgid "Calling SSL_CTX_load_verify_locations() failed: %s" +#~ msgstr "L'appel de SSL_CTX_load_verify_locations() a échoué : %s" + +#~ msgid "Signed certificate file is not set in sudoers" +#~ msgstr "Le fichier de certificat signé n'est pas défini dans sudoers" + +#~ msgid "Unable to load private key into the ssl context: %s" +#~ msgstr "Impossible de charger la clé privée dans le contexte ssl : %s" + +#~ msgid "SSL_connect failed: ssl_error=%d, stack=%s" +#~ msgstr "SSL_connect a échoué : ssl_error=%d, pile=%s" + +#~ msgid "SSL_read failed: ssl_error=%d, stack=%s" +#~ msgstr "SSL_read a échoué : ssl_error=%d, pile=%s" + +#~ msgid "SSL_write failed: ssl_error=%d, stack=%s" +#~ msgstr "SSL_write a échoué : ssl_error=%d, pile=%s" + +#~ msgid "unknown address family: %d" +#~ msgstr "famille d'adresse inconnue : %d" + +#~ msgid "audit_failure message too long" +#~ msgstr "le message audit_failure est trop long" + +#~ msgid "No user or host" +#~ msgstr "Pas d'utilisateur ou d'hôte" + +#~ msgid "validation failure" +#~ msgstr "échec de la validation" + +#~ msgid "%s/%s/timing: %s" +#~ msgstr "%s/%s/timing : %s" + +#~ msgid "ignoring invalid attribute value: %s" +#~ msgstr "la valeur d'attribut invalide est ignorée : %s" + +#~ msgid "unable to cache user %s, out of memory" +#~ msgstr "enregistrement des informations de l'utilisateur %s dans le cache impossible, mémoire insuffisante" + +#~ msgid "unable to cache group %s, out of memory" +#~ msgstr "enregistrement du groupe %s dans le cache impossible, mémoire insuffisante" + +#~ msgid "unable to cache group list for %s, out of memory" +#~ msgstr "enregistrement de la liste de groupe %s dans le cache impossible, mémoire insuffisante" + +#~ msgid "" +#~ "\n" +#~ "LDAP Role: UNKNOWN\n" +#~ msgstr "" +#~ "\n" +#~ "Rôle LDAP : INCONNU\n" + +#~ msgid " Order: %s\n" +#~ msgstr " Ordre : %s\n" + +#~ msgid "timestamp path too long: %s/%s" +#~ msgstr "Chemin d'accès au fichier d'horodatage trop long : %s/%s" + +#~ msgid "unable to stat editor (%s)" +#~ msgstr "impossible d'obtenir les stats de l'éditeur (%s)" + +#~ msgid "Password:" +#~ msgstr "Mot de passe :" + +#~ msgid "sudo_ldap_conf_add_ports: out of space expanding hostbuf" +#~ msgstr "sudo_ldap_conf_add_ports : espace insuffisant pour étendre hostbuf" + +#~ msgid "sudo_ldap_parse_uri: out of space building hostbuf" +#~ msgstr "sudo_ldap_parse_uri :espace insuffisant pour créer hostbuf" + +#~ msgid "sudo_ldap_build_pass1 allocation mismatch" +#~ msgstr "sudo_ldap_build_pass1 : erreur d'allocation" + +#~ msgid "unable to mix ldaps and starttls" +#~ msgstr "fusion ldaps et starttls impossible" + +#~ msgid "internal error: insufficient space for log line" +#~ msgstr "erreur interne : espace insuffisant pour la ligne de journalisation" + +#~ msgid "value out of range" +#~ msgstr "valeur hors de limites " + +#~ msgid "writing to standard output" +#~ msgstr "écriture vers la sortie standard" + +#~ msgid "too many parenthesized expressions, max %d" +#~ msgstr "le nombre d'expressions entre parenthèses est trop élevé, le maximum autorisé est %d" + +#~ msgid "%s owned by uid %u, should be uid %u" +#~ msgstr "%s appartient à l'utilisateur identifié par %u, alors qu'il devrait appartenir à l'utilisateur identifié par %u" + +#~ msgid "%s writable by non-owner (0%o), should be mode 0700" +#~ msgstr "%s peut être modifié par d'autres utilisateur que son propriétaire (0%o), le mode des privilèges devrait être 0700" + +#~ msgid "%s exists but is not a regular file (0%o)" +#~ msgstr "%s existe mais n'est pas un fichier ordinaire (0%o)" + +#~ msgid "%s writable by non-owner (0%o), should be mode 0600" +#~ msgstr "%s peut être modifié par d'autres utilisateurs que son propriétaire (0%o), le mode des privilèges devrait être 0600" + +#~ msgid "unable to remove %s, will reset to the epoch" +#~ msgstr "suppression de %s impossible, l'horodatage sera réinitialisé à la date courante" + +#~ msgid "fill_args: buffer overflow" +#~ msgstr "fill_args : débordement du tampon" + +#~ msgid "%s: unused %s_Alias %s" +#~ msgstr "%s : %s_Alias %s n'est pas utilisé" + +#~ msgid ">>> %s: %s near line %d <<<" +#~ msgstr ">>> %s : %s aux environs de la ligne %d <<<" + +#~ msgid "pam_chauthtok: %s" +#~ msgstr "pam_chauthtok : %s" + +#~ msgid "pam_authenticate: %s" +#~ msgstr "pam_authenticate : %s" + +#~ msgid "getaudit: failed" +#~ msgstr "getaudit : échec" + +#~ msgid "getauid failed" +#~ msgstr "échec de getauid" + +#~ msgid "au_to_subject: failed" +#~ msgstr "au_to_subject : échec" + +#~ msgid "au_to_exec_args: failed" +#~ msgstr "au_to_exec_args : échec" + +#~ msgid "au_to_return32: failed" +#~ msgstr "au_to_return32 : échec" + +#~ msgid "getauid: failed" +#~ msgstr "getauid : échec" + +#~ msgid "au_to_text: failed" +#~ msgstr "au_to_text : échec" + +#~ msgid "unable to set locale to \"%s\", using \"C\"" +#~ msgstr "impossible d'initialiser la localisation à « %s », initialisation à « C »" + +#~ msgid "" +#~ " Commands:\n" +#~ "\t" +#~ msgstr "" +#~ " Commandes :\n" +#~ "\t" + +#~ msgid ": " +#~ msgstr " : " + +#~ msgid "unable to cache uid %u (%s), already exists" +#~ msgstr "impossible d'enregistrer l'uid %u (%s) dans le cache, l'entrée existe déjà" + +#~ msgid "unable to cache gid %u (%s), already exists" +#~ msgstr "impossible d'enregistrer le gid %u (%s) dans le cache, l'entrée existe déjà" + +#~ msgid "Unable to dlopen %s: %s" +#~ msgstr "impossible d'appliquer dlopen à %s : %s" + +#~ msgid "nanosleep: tv_sec %ld, tv_nsec %ld" +#~ msgstr "nanosleep : tv_sec %ld, tv_nsec %ld" diff --git a/plugins/sudoers/po/fur.mo b/plugins/sudoers/po/fur.mo new file mode 100644 index 0000000..8fb36e6 Binary files /dev/null and b/plugins/sudoers/po/fur.mo differ diff --git a/plugins/sudoers/po/fur.po b/plugins/sudoers/po/fur.po new file mode 100644 index 0000000..4423803 --- /dev/null +++ b/plugins/sudoers/po/fur.po @@ -0,0 +1,2119 @@ +# Friulian translations for sudoers package +# This file is put in the public domain. +# Fabio Tomat , 2017 +# +msgid "" +msgstr "" +"Project-Id-Version: sudoers-1.8.22b2\n" +"Report-Msgid-Bugs-To: https://bugzilla.sudo.ws\n" +"POT-Creation-Date: 2017-12-18 10:37-0700\n" +"PO-Revision-Date: 2017-12-24 14:18+0100\n" +"Last-Translator: Fabio Tomat \n" +"Language-Team: Friulian \n" +"Language: fur\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 2.0.3\n" + +#: confstr.sh:1 +msgid "syntax error" +msgstr "erôr di sintassi" + +#: confstr.sh:2 +msgid "%p's password: " +msgstr "Password di %p: " + +#: confstr.sh:3 +msgid "[sudo] password for %p: " +msgstr "[sudo] password par %p: " + +#: confstr.sh:4 +msgid "Password: " +msgstr "Password: " + +#: confstr.sh:5 +msgid "*** SECURITY information for %h ***" +msgstr "*** informazions di SIGURECE par %h ***" + +#: confstr.sh:6 +msgid "Sorry, try again." +msgstr "Torne prove." + +#: gram.y:192 gram.y:240 gram.y:247 gram.y:254 gram.y:261 gram.y:268 +#: gram.y:284 gram.y:307 gram.y:314 gram.y:321 gram.y:328 gram.y:335 +#: gram.y:398 gram.y:406 gram.y:416 gram.y:449 gram.y:456 gram.y:463 +#: gram.y:470 gram.y:552 gram.y:559 gram.y:568 gram.y:577 gram.y:594 +#: gram.y:706 gram.y:713 gram.y:720 gram.y:728 gram.y:824 gram.y:831 +#: gram.y:838 gram.y:845 gram.y:852 gram.y:878 gram.y:885 gram.y:892 +#: gram.y:1015 gram.y:1195 gram.y:1202 plugins/sudoers/alias.c:124 +#: plugins/sudoers/alias.c:139 plugins/sudoers/auth/bsdauth.c:141 +#: plugins/sudoers/auth/kerb5.c:119 plugins/sudoers/auth/kerb5.c:145 +#: plugins/sudoers/auth/pam.c:490 plugins/sudoers/auth/rfc1938.c:109 +#: plugins/sudoers/auth/sia.c:59 plugins/sudoers/defaults.c:651 +#: plugins/sudoers/defaults.c:906 plugins/sudoers/defaults.c:1077 +#: plugins/sudoers/editor.c:64 plugins/sudoers/editor.c:82 +#: plugins/sudoers/editor.c:93 plugins/sudoers/env.c:233 +#: plugins/sudoers/filedigest.c:120 plugins/sudoers/filedigest_gcrypt.c:90 +#: plugins/sudoers/filedigest_openssl.c:111 plugins/sudoers/gc.c:52 +#: plugins/sudoers/group_plugin.c:134 plugins/sudoers/interfaces.c:71 +#: plugins/sudoers/iolog.c:941 plugins/sudoers/iolog_path.c:167 +#: plugins/sudoers/ldap.c:449 plugins/sudoers/ldap.c:480 +#: plugins/sudoers/ldap.c:532 plugins/sudoers/ldap.c:566 +#: plugins/sudoers/ldap.c:980 plugins/sudoers/ldap.c:1174 +#: plugins/sudoers/ldap.c:1185 plugins/sudoers/ldap.c:1201 +#: plugins/sudoers/ldap.c:1493 plugins/sudoers/ldap.c:1653 +#: plugins/sudoers/ldap.c:1735 plugins/sudoers/ldap.c:1883 +#: plugins/sudoers/ldap.c:1907 plugins/sudoers/ldap.c:1996 +#: plugins/sudoers/ldap.c:2011 plugins/sudoers/ldap.c:2107 +#: plugins/sudoers/ldap.c:2140 plugins/sudoers/ldap.c:2221 +#: plugins/sudoers/ldap.c:2303 plugins/sudoers/ldap.c:2400 +#: plugins/sudoers/ldap.c:3235 plugins/sudoers/ldap.c:3267 +#: plugins/sudoers/ldap.c:3579 plugins/sudoers/ldap.c:3607 +#: plugins/sudoers/ldap.c:3623 plugins/sudoers/ldap.c:3713 +#: plugins/sudoers/ldap.c:3729 plugins/sudoers/linux_audit.c:76 +#: plugins/sudoers/logging.c:190 plugins/sudoers/logging.c:501 +#: plugins/sudoers/logging.c:522 plugins/sudoers/logging.c:563 +#: plugins/sudoers/logging.c:740 plugins/sudoers/logging.c:998 +#: plugins/sudoers/match.c:617 plugins/sudoers/match.c:664 +#: plugins/sudoers/match.c:714 plugins/sudoers/match.c:738 +#: plugins/sudoers/match.c:826 plugins/sudoers/match.c:915 +#: plugins/sudoers/parse.c:252 plugins/sudoers/parse.c:264 +#: plugins/sudoers/parse.c:279 plugins/sudoers/parse.c:291 +#: plugins/sudoers/policy.c:498 plugins/sudoers/policy.c:735 +#: plugins/sudoers/prompt.c:93 plugins/sudoers/pwutil.c:165 +#: plugins/sudoers/pwutil.c:236 plugins/sudoers/pwutil.c:312 +#: plugins/sudoers/pwutil.c:486 plugins/sudoers/pwutil.c:551 +#: plugins/sudoers/pwutil.c:620 plugins/sudoers/pwutil.c:778 +#: plugins/sudoers/pwutil.c:835 plugins/sudoers/pwutil.c:880 +#: plugins/sudoers/pwutil.c:938 plugins/sudoers/sssd.c:162 +#: plugins/sudoers/sssd.c:194 plugins/sudoers/sssd.c:237 +#: plugins/sudoers/sssd.c:244 plugins/sudoers/sssd.c:280 +#: plugins/sudoers/sssd.c:353 plugins/sudoers/sssd.c:392 +#: plugins/sudoers/sssd.c:1073 plugins/sudoers/sssd.c:1252 +#: plugins/sudoers/sssd.c:1266 plugins/sudoers/sssd.c:1282 +#: plugins/sudoers/sudoers.c:263 plugins/sudoers/sudoers.c:273 +#: plugins/sudoers/sudoers.c:281 plugins/sudoers/sudoers.c:365 +#: plugins/sudoers/sudoers.c:682 plugins/sudoers/sudoers.c:807 +#: plugins/sudoers/sudoers.c:851 plugins/sudoers/sudoers.c:1123 +#: plugins/sudoers/sudoers_debug.c:107 plugins/sudoers/sudoreplay.c:1254 +#: plugins/sudoers/sudoreplay.c:1366 plugins/sudoers/sudoreplay.c:1406 +#: plugins/sudoers/sudoreplay.c:1415 plugins/sudoers/sudoreplay.c:1425 +#: plugins/sudoers/sudoreplay.c:1433 plugins/sudoers/sudoreplay.c:1437 +#: plugins/sudoers/sudoreplay.c:1593 plugins/sudoers/sudoreplay.c:1597 +#: plugins/sudoers/testsudoers.c:131 plugins/sudoers/testsudoers.c:217 +#: plugins/sudoers/testsudoers.c:234 plugins/sudoers/timestamp.c:397 +#: plugins/sudoers/timestamp.c:441 plugins/sudoers/timestamp.c:868 +#: plugins/sudoers/toke_util.c:56 plugins/sudoers/toke_util.c:109 +#: plugins/sudoers/toke_util.c:146 plugins/sudoers/visudo.c:153 +#: plugins/sudoers/visudo.c:309 plugins/sudoers/visudo.c:315 +#: plugins/sudoers/visudo.c:446 plugins/sudoers/visudo.c:624 +#: plugins/sudoers/visudo.c:985 plugins/sudoers/visudo.c:1051 +#: plugins/sudoers/visudo.c:1095 plugins/sudoers/visudo.c:1197 +#: plugins/sudoers/visudo_json.c:1025 toke.l:849 toke.l:949 toke.l:1106 +msgid "unable to allocate memory" +msgstr "impussibil assegnâ memorie" + +#: gram.y:481 +msgid "a digest requires a path name" +msgstr "un digest al domande un non di percors" + +#: gram.y:607 +msgid "invalid notbefore value" +msgstr "" + +#: gram.y:615 +msgid "invalid notafter value" +msgstr "" + +#: gram.y:624 plugins/sudoers/policy.c:314 +msgid "timeout value too large" +msgstr "valôr di timeout masse larc" + +#: gram.y:626 plugins/sudoers/policy.c:316 +msgid "invalid timeout value" +msgstr "valôr di timeout no valit" + +#: gram.y:1195 gram.y:1202 plugins/sudoers/auth/pam.c:320 +#: plugins/sudoers/auth/pam.c:490 plugins/sudoers/auth/rfc1938.c:109 +#: plugins/sudoers/defaults.c:651 plugins/sudoers/defaults.c:906 +#: plugins/sudoers/defaults.c:1077 plugins/sudoers/editor.c:64 +#: plugins/sudoers/editor.c:82 plugins/sudoers/editor.c:93 +#: plugins/sudoers/env.c:233 plugins/sudoers/filedigest.c:120 +#: plugins/sudoers/filedigest_gcrypt.c:72 +#: plugins/sudoers/filedigest_gcrypt.c:90 +#: plugins/sudoers/filedigest_openssl.c:111 plugins/sudoers/gc.c:52 +#: plugins/sudoers/group_plugin.c:134 plugins/sudoers/interfaces.c:71 +#: plugins/sudoers/iolog.c:941 plugins/sudoers/iolog_path.c:167 +#: plugins/sudoers/ldap.c:449 plugins/sudoers/ldap.c:480 +#: plugins/sudoers/ldap.c:532 plugins/sudoers/ldap.c:566 +#: plugins/sudoers/ldap.c:980 plugins/sudoers/ldap.c:1174 +#: plugins/sudoers/ldap.c:1185 plugins/sudoers/ldap.c:1201 +#: plugins/sudoers/ldap.c:1493 plugins/sudoers/ldap.c:1653 +#: plugins/sudoers/ldap.c:1735 plugins/sudoers/ldap.c:1883 +#: plugins/sudoers/ldap.c:1907 plugins/sudoers/ldap.c:1996 +#: plugins/sudoers/ldap.c:2011 plugins/sudoers/ldap.c:2107 +#: plugins/sudoers/ldap.c:2140 plugins/sudoers/ldap.c:2220 +#: plugins/sudoers/ldap.c:2303 plugins/sudoers/ldap.c:2400 +#: plugins/sudoers/ldap.c:3235 plugins/sudoers/ldap.c:3267 +#: plugins/sudoers/ldap.c:3579 plugins/sudoers/ldap.c:3606 +#: plugins/sudoers/ldap.c:3622 plugins/sudoers/ldap.c:3713 +#: plugins/sudoers/ldap.c:3729 plugins/sudoers/linux_audit.c:76 +#: plugins/sudoers/logging.c:190 plugins/sudoers/logging.c:501 +#: plugins/sudoers/logging.c:522 plugins/sudoers/logging.c:562 +#: plugins/sudoers/logging.c:998 plugins/sudoers/match.c:616 +#: plugins/sudoers/match.c:663 plugins/sudoers/match.c:714 +#: plugins/sudoers/match.c:738 plugins/sudoers/match.c:826 +#: plugins/sudoers/match.c:914 plugins/sudoers/parse.c:252 +#: plugins/sudoers/parse.c:264 plugins/sudoers/parse.c:279 +#: plugins/sudoers/parse.c:291 plugins/sudoers/policy.c:128 +#: plugins/sudoers/policy.c:137 plugins/sudoers/policy.c:146 +#: plugins/sudoers/policy.c:172 plugins/sudoers/policy.c:299 +#: plugins/sudoers/policy.c:314 plugins/sudoers/policy.c:316 +#: plugins/sudoers/policy.c:342 plugins/sudoers/policy.c:352 +#: plugins/sudoers/policy.c:396 plugins/sudoers/policy.c:406 +#: plugins/sudoers/policy.c:415 plugins/sudoers/policy.c:424 +#: plugins/sudoers/policy.c:498 plugins/sudoers/policy.c:735 +#: plugins/sudoers/prompt.c:93 plugins/sudoers/pwutil.c:165 +#: plugins/sudoers/pwutil.c:236 plugins/sudoers/pwutil.c:312 +#: plugins/sudoers/pwutil.c:486 plugins/sudoers/pwutil.c:551 +#: plugins/sudoers/pwutil.c:620 plugins/sudoers/pwutil.c:778 +#: plugins/sudoers/pwutil.c:835 plugins/sudoers/pwutil.c:880 +#: plugins/sudoers/pwutil.c:938 plugins/sudoers/set_perms.c:387 +#: plugins/sudoers/set_perms.c:766 plugins/sudoers/set_perms.c:1150 +#: plugins/sudoers/set_perms.c:1476 plugins/sudoers/set_perms.c:1641 +#: plugins/sudoers/sssd.c:162 plugins/sudoers/sssd.c:194 +#: plugins/sudoers/sssd.c:237 plugins/sudoers/sssd.c:244 +#: plugins/sudoers/sssd.c:280 plugins/sudoers/sssd.c:352 +#: plugins/sudoers/sssd.c:392 plugins/sudoers/sssd.c:1073 +#: plugins/sudoers/sssd.c:1251 plugins/sudoers/sssd.c:1266 +#: plugins/sudoers/sssd.c:1282 plugins/sudoers/sudoers.c:263 +#: plugins/sudoers/sudoers.c:273 plugins/sudoers/sudoers.c:281 +#: plugins/sudoers/sudoers.c:365 plugins/sudoers/sudoers.c:682 +#: plugins/sudoers/sudoers.c:807 plugins/sudoers/sudoers.c:851 +#: plugins/sudoers/sudoers.c:1123 plugins/sudoers/sudoers_debug.c:106 +#: plugins/sudoers/sudoreplay.c:1254 plugins/sudoers/sudoreplay.c:1366 +#: plugins/sudoers/sudoreplay.c:1406 plugins/sudoers/sudoreplay.c:1415 +#: plugins/sudoers/sudoreplay.c:1425 plugins/sudoers/sudoreplay.c:1433 +#: plugins/sudoers/sudoreplay.c:1437 plugins/sudoers/sudoreplay.c:1593 +#: plugins/sudoers/sudoreplay.c:1597 plugins/sudoers/testsudoers.c:131 +#: plugins/sudoers/testsudoers.c:217 plugins/sudoers/testsudoers.c:234 +#: plugins/sudoers/timestamp.c:397 plugins/sudoers/timestamp.c:441 +#: plugins/sudoers/timestamp.c:868 plugins/sudoers/toke_util.c:56 +#: plugins/sudoers/toke_util.c:109 plugins/sudoers/toke_util.c:146 +#: plugins/sudoers/visudo.c:153 plugins/sudoers/visudo.c:309 +#: plugins/sudoers/visudo.c:315 plugins/sudoers/visudo.c:446 +#: plugins/sudoers/visudo.c:624 plugins/sudoers/visudo.c:985 +#: plugins/sudoers/visudo.c:1051 plugins/sudoers/visudo.c:1095 +#: plugins/sudoers/visudo.c:1197 plugins/sudoers/visudo_json.c:1025 toke.l:849 +#: toke.l:949 toke.l:1106 +#, c-format +msgid "%s: %s" +msgstr "%s: %s" + +#: plugins/sudoers/alias.c:135 +#, c-format +msgid "Alias \"%s\" already defined" +msgstr "" + +#: plugins/sudoers/auth/bsdauth.c:68 +#, c-format +msgid "unable to get login class for user %s" +msgstr "impussibil otignî la classe di login pal utent %s" + +#: plugins/sudoers/auth/bsdauth.c:73 +msgid "unable to begin bsd authentication" +msgstr "impussibil tacâ la autenticazion bsd" + +#: plugins/sudoers/auth/bsdauth.c:81 +msgid "invalid authentication type" +msgstr "gjenar di autenticazion no valit" + +#: plugins/sudoers/auth/bsdauth.c:90 +msgid "unable to initialize BSD authentication" +msgstr "impussibil inizializâ la autenticazion BSD" + +#: plugins/sudoers/auth/fwtk.c:52 +msgid "unable to read fwtk config" +msgstr "" + +#: plugins/sudoers/auth/fwtk.c:57 +msgid "unable to connect to authentication server" +msgstr "impussibil conetisi al servidôr di autenticazion" + +#: plugins/sudoers/auth/fwtk.c:63 plugins/sudoers/auth/fwtk.c:87 +#: plugins/sudoers/auth/fwtk.c:121 +msgid "lost connection to authentication server" +msgstr "conession pierdude al servidôr di autenticazion" + +#: plugins/sudoers/auth/fwtk.c:67 +#, c-format +msgid "" +"authentication server error:\n" +"%s" +msgstr "" +"erôr dal servidôr di autenticazion:\n" +"%s" + +#: plugins/sudoers/auth/kerb5.c:111 +#, c-format +msgid "%s: unable to convert principal to string ('%s'): %s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:161 +#, c-format +msgid "%s: unable to parse '%s': %s" +msgstr "%s: impussibil analizâ '%s': %s" + +#: plugins/sudoers/auth/kerb5.c:170 +#, c-format +msgid "%s: unable to resolve credential cache: %s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:217 +#, c-format +msgid "%s: unable to allocate options: %s" +msgstr "%s: impussibil assegnâ opzions: %s" + +#: plugins/sudoers/auth/kerb5.c:232 +#, c-format +msgid "%s: unable to get credentials: %s" +msgstr "%s: impussibil otignî credenziâls: %s" + +#: plugins/sudoers/auth/kerb5.c:245 +#, c-format +msgid "%s: unable to initialize credential cache: %s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:248 +#, c-format +msgid "%s: unable to store credential in cache: %s" +msgstr "%s: impussibil archiviâ la credenziâl te cache: %s" + +#: plugins/sudoers/auth/kerb5.c:312 +#, c-format +msgid "%s: unable to get host principal: %s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:326 +#, c-format +msgid "%s: Cannot verify TGT! Possible attack!: %s" +msgstr "%s: Impussibil verificâ TGT! Pussibil atac in vore!: %s" + +#: plugins/sudoers/auth/pam.c:108 +msgid "unable to initialize PAM" +msgstr "impussibil inizializâ PAM" + +#: plugins/sudoers/auth/pam.c:194 +msgid "account validation failure, is your account locked?" +msgstr "validazion account falide, isal blocât?" + +#: plugins/sudoers/auth/pam.c:198 +msgid "Account or password is expired, reset your password and try again" +msgstr "Acount o password scjadude, ristabilìs la password e torne prove" + +#: plugins/sudoers/auth/pam.c:206 +#, c-format +msgid "unable to change expired password: %s" +msgstr "impussibil cambiâ la password scjadude: %s" + +#: plugins/sudoers/auth/pam.c:211 +msgid "Password expired, contact your system administrator" +msgstr "Password scjadude, contatâ l'aministradôr di sisteme" + +#: plugins/sudoers/auth/pam.c:215 +msgid "Account expired or PAM config lacks an \"account\" section for sudo, contact your system administrator" +msgstr "" + +#: plugins/sudoers/auth/pam.c:229 +#, c-format +msgid "PAM authentication error: %s" +msgstr "Erôr di autenticazion PAM: %s" + +#: plugins/sudoers/auth/rfc1938.c:97 plugins/sudoers/visudo.c:227 +#, c-format +msgid "you do not exist in the %s database" +msgstr "no tu esistis te base di dâts %s" + +#: plugins/sudoers/auth/securid5.c:73 +msgid "failed to initialise the ACE API library" +msgstr "no si è rivâts a inizializâ la librarie API ACE" + +#: plugins/sudoers/auth/securid5.c:99 +msgid "unable to contact the SecurID server" +msgstr "impussibil contatâ il servidôr SecurID" + +#: plugins/sudoers/auth/securid5.c:108 +msgid "User ID locked for SecurID Authentication" +msgstr "ID utent blocât pe autenticazion SecurID" + +#: plugins/sudoers/auth/securid5.c:112 plugins/sudoers/auth/securid5.c:163 +msgid "invalid username length for SecurID" +msgstr "lungjece dal non utent no valide par SecurID" + +#: plugins/sudoers/auth/securid5.c:116 plugins/sudoers/auth/securid5.c:168 +msgid "invalid Authentication Handle for SecurID" +msgstr "" + +#: plugins/sudoers/auth/securid5.c:120 +msgid "SecurID communication failed" +msgstr "Comunicazion SecurID falide" + +#: plugins/sudoers/auth/securid5.c:124 plugins/sudoers/auth/securid5.c:213 +msgid "unknown SecurID error" +msgstr "erôr SecurID no cognossût" + +#: plugins/sudoers/auth/securid5.c:158 +msgid "invalid passcode length for SecurID" +msgstr "lungjece dal passcode no valide par SecurID" + +#: plugins/sudoers/auth/sia.c:69 plugins/sudoers/auth/sia.c:125 +msgid "unable to initialize SIA session" +msgstr "impussibil inizializâ la session SIA" + +#: plugins/sudoers/auth/sudo_auth.c:126 +msgid "invalid authentication methods" +msgstr "metodis di autenticazion no valits" + +#: plugins/sudoers/auth/sudo_auth.c:128 +msgid "Invalid authentication methods compiled into sudo! You may not mix standalone and non-standalone authentication." +msgstr "" + +#: plugins/sudoers/auth/sudo_auth.c:224 plugins/sudoers/auth/sudo_auth.c:274 +msgid "no authentication methods" +msgstr "nissun metodi di autenticazion" + +#: plugins/sudoers/auth/sudo_auth.c:226 +msgid "There are no authentication methods compiled into sudo! If you want to turn off authentication, use the --disable-authentication configure option." +msgstr "" + +#: plugins/sudoers/auth/sudo_auth.c:276 +msgid "Unable to initialize authentication methods." +msgstr "Impussibil inizializâ i metodis di autenticazion." + +#: plugins/sudoers/auth/sudo_auth.c:441 +msgid "Authentication methods:" +msgstr "Metodis di autenticazion:" + +#: plugins/sudoers/bsm_audit.c:120 plugins/sudoers/bsm_audit.c:211 +msgid "Could not determine audit condition" +msgstr "" + +#: plugins/sudoers/bsm_audit.c:183 plugins/sudoers/bsm_audit.c:273 +msgid "unable to commit audit record" +msgstr "" + +#: plugins/sudoers/check.c:259 +msgid "" +"\n" +"We trust you have received the usual lecture from the local System\n" +"Administrator. It usually boils down to these three things:\n" +"\n" +" #1) Respect the privacy of others.\n" +" #2) Think before you type.\n" +" #3) With great power comes great responsibility.\n" +"\n" +msgstr "" + +#: plugins/sudoers/check.c:302 plugins/sudoers/check.c:312 +#: plugins/sudoers/sudoers.c:725 plugins/sudoers/sudoers.c:770 +#, c-format +msgid "unknown uid: %u" +msgstr "uid no cognossût: %u" + +#: plugins/sudoers/check.c:307 plugins/sudoers/iolog.c:260 +#: plugins/sudoers/policy.c:908 plugins/sudoers/sudoers.c:1162 +#: plugins/sudoers/testsudoers.c:208 plugins/sudoers/testsudoers.c:366 +#, c-format +msgid "unknown user: %s" +msgstr "utent no cognossût: %s" + +#: plugins/sudoers/def_data.c:41 +#, c-format +msgid "Syslog facility if syslog is being used for logging: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:45 +#, c-format +msgid "Syslog priority to use when user authenticates successfully: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:49 +#, c-format +msgid "Syslog priority to use when user authenticates unsuccessfully: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:53 +msgid "Put OTP prompt on its own line" +msgstr "" + +#: plugins/sudoers/def_data.c:57 +msgid "Ignore '.' in $PATH" +msgstr "Ignore '.' in $PATH" + +#: plugins/sudoers/def_data.c:61 +msgid "Always send mail when sudo is run" +msgstr "" + +#: plugins/sudoers/def_data.c:65 +msgid "Send mail if user authentication fails" +msgstr "Invie une mail se la autenticazion dal utent e falìs" + +#: plugins/sudoers/def_data.c:69 +msgid "Send mail if the user is not in sudoers" +msgstr "Invie une mail se l'utent nol è tai sudoers" + +#: plugins/sudoers/def_data.c:73 +msgid "Send mail if the user is not in sudoers for this host" +msgstr "Invie une mail se l'utent nol è tai sudoers par chest host" + +#: plugins/sudoers/def_data.c:77 +msgid "Send mail if the user is not allowed to run a command" +msgstr "Invie une mail se l'utent nol pues eseguî un comant" + +#: plugins/sudoers/def_data.c:81 +msgid "Send mail if the user tries to run a command" +msgstr "Invie une mail se l'utent al cîr di eseguî un comant" + +#: plugins/sudoers/def_data.c:85 +msgid "Use a separate timestamp for each user/tty combo" +msgstr "" + +#: plugins/sudoers/def_data.c:89 +msgid "Lecture user the first time they run sudo" +msgstr "" + +#: plugins/sudoers/def_data.c:93 +#, c-format +msgid "File containing the sudo lecture: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:97 +msgid "Require users to authenticate by default" +msgstr "" + +#: plugins/sudoers/def_data.c:101 +msgid "Root may run sudo" +msgstr "L'utent root al pues eseguî sudo" + +#: plugins/sudoers/def_data.c:105 +msgid "Log the hostname in the (non-syslog) log file" +msgstr "Regjistre il non host tal file di regjistri (no-syslog)" + +#: plugins/sudoers/def_data.c:109 +msgid "Log the year in the (non-syslog) log file" +msgstr "Regjistre l'an tal file di regjistri (no-syslog)" + +#: plugins/sudoers/def_data.c:113 +msgid "If sudo is invoked with no arguments, start a shell" +msgstr "" + +#: plugins/sudoers/def_data.c:117 +msgid "Set $HOME to the target user when starting a shell with -s" +msgstr "" + +#: plugins/sudoers/def_data.c:121 +msgid "Always set $HOME to the target user's home directory" +msgstr "" + +#: plugins/sudoers/def_data.c:125 +msgid "Allow some information gathering to give useful error messages" +msgstr "" + +#: plugins/sudoers/def_data.c:129 +msgid "Require fully-qualified hostnames in the sudoers file" +msgstr "" + +#: plugins/sudoers/def_data.c:133 +msgid "Insult the user when they enter an incorrect password" +msgstr "" + +#: plugins/sudoers/def_data.c:137 +msgid "Only allow the user to run sudo if they have a tty" +msgstr "" + +#: plugins/sudoers/def_data.c:141 +msgid "Visudo will honor the EDITOR environment variable" +msgstr "" + +#: plugins/sudoers/def_data.c:145 +msgid "Prompt for root's password, not the users's" +msgstr "" + +#: plugins/sudoers/def_data.c:149 +msgid "Prompt for the runas_default user's password, not the users's" +msgstr "" + +#: plugins/sudoers/def_data.c:153 +msgid "Prompt for the target user's password, not the users's" +msgstr "" + +#: plugins/sudoers/def_data.c:157 +msgid "Apply defaults in the target user's login class if there is one" +msgstr "" + +#: plugins/sudoers/def_data.c:161 +msgid "Set the LOGNAME and USER environment variables" +msgstr "" + +#: plugins/sudoers/def_data.c:165 +msgid "Only set the effective uid to the target user, not the real uid" +msgstr "" + +#: plugins/sudoers/def_data.c:169 +msgid "Don't initialize the group vector to that of the target user" +msgstr "" + +#: plugins/sudoers/def_data.c:173 +#, c-format +msgid "Length at which to wrap log file lines (0 for no wrap): %u" +msgstr "" + +#: plugins/sudoers/def_data.c:177 +#, c-format +msgid "Authentication timestamp timeout: %.1f minutes" +msgstr "" + +#: plugins/sudoers/def_data.c:181 +#, c-format +msgid "Password prompt timeout: %.1f minutes" +msgstr "" + +#: plugins/sudoers/def_data.c:185 +#, c-format +msgid "Number of tries to enter a password: %u" +msgstr "" + +#: plugins/sudoers/def_data.c:189 +#, c-format +msgid "Umask to use or 0777 to use user's: 0%o" +msgstr "" + +#: plugins/sudoers/def_data.c:193 +#, c-format +msgid "Path to log file: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:197 +#, c-format +msgid "Path to mail program: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:201 +#, c-format +msgid "Flags for mail program: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:205 +#, c-format +msgid "Address to send mail to: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:209 +#, c-format +msgid "Address to send mail from: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:213 +#, c-format +msgid "Subject line for mail messages: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:217 +#, c-format +msgid "Incorrect password message: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:221 +#, c-format +msgid "Path to lecture status dir: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:225 +#, c-format +msgid "Path to authentication timestamp dir: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:229 +#, c-format +msgid "Owner of the authentication timestamp dir: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:233 +#, c-format +msgid "Users in this group are exempt from password and PATH requirements: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:237 +#, c-format +msgid "Default password prompt: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:241 +msgid "If set, passprompt will override system prompt in all cases." +msgstr "" + +#: plugins/sudoers/def_data.c:245 +#, c-format +msgid "Default user to run commands as: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:249 +#, c-format +msgid "Value to override user's $PATH with: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:253 +#, c-format +msgid "Path to the editor for use by visudo: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:257 +#, c-format +msgid "When to require a password for 'list' pseudocommand: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:261 +#, c-format +msgid "When to require a password for 'verify' pseudocommand: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:265 +msgid "Preload the dummy exec functions contained in the sudo_noexec library" +msgstr "" + +#: plugins/sudoers/def_data.c:269 +msgid "If LDAP directory is up, do we ignore local sudoers file" +msgstr "" + +#: plugins/sudoers/def_data.c:273 +#, c-format +msgid "File descriptors >= %d will be closed before executing a command" +msgstr "" + +#: plugins/sudoers/def_data.c:277 +msgid "If set, users may override the value of `closefrom' with the -C option" +msgstr "" + +#: plugins/sudoers/def_data.c:281 +msgid "Allow users to set arbitrary environment variables" +msgstr "" + +#: plugins/sudoers/def_data.c:285 +msgid "Reset the environment to a default set of variables" +msgstr "" + +#: plugins/sudoers/def_data.c:289 +msgid "Environment variables to check for sanity:" +msgstr "" + +#: plugins/sudoers/def_data.c:293 +msgid "Environment variables to remove:" +msgstr "" + +#: plugins/sudoers/def_data.c:297 +msgid "Environment variables to preserve:" +msgstr "" + +#: plugins/sudoers/def_data.c:301 +#, c-format +msgid "SELinux role to use in the new security context: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:305 +#, c-format +msgid "SELinux type to use in the new security context: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:309 +#, c-format +msgid "Path to the sudo-specific environment file: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:313 +#, c-format +msgid "Path to the restricted sudo-specific environment file: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:317 +#, c-format +msgid "Locale to use while parsing sudoers: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:321 +msgid "Allow sudo to prompt for a password even if it would be visible" +msgstr "" + +#: plugins/sudoers/def_data.c:325 +msgid "Provide visual feedback at the password prompt when there is user input" +msgstr "" + +#: plugins/sudoers/def_data.c:329 +msgid "Use faster globbing that is less accurate but does not access the filesystem" +msgstr "" + +#: plugins/sudoers/def_data.c:333 +msgid "The umask specified in sudoers will override the user's, even if it is more permissive" +msgstr "" + +#: plugins/sudoers/def_data.c:337 +msgid "Log user's input for the command being run" +msgstr "" + +#: plugins/sudoers/def_data.c:341 +msgid "Log the output of the command being run" +msgstr "" + +#: plugins/sudoers/def_data.c:345 +msgid "Compress I/O logs using zlib" +msgstr "" + +#: plugins/sudoers/def_data.c:349 +msgid "Always run commands in a pseudo-tty" +msgstr "" + +#: plugins/sudoers/def_data.c:353 +#, c-format +msgid "Plugin for non-Unix group support: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:357 +#, c-format +msgid "Directory in which to store input/output logs: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:361 +#, c-format +msgid "File in which to store the input/output log: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:365 +msgid "Add an entry to the utmp/utmpx file when allocating a pty" +msgstr "" + +#: plugins/sudoers/def_data.c:369 +msgid "Set the user in utmp to the runas user, not the invoking user" +msgstr "" + +#: plugins/sudoers/def_data.c:373 +#, c-format +msgid "Set of permitted privileges: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:377 +#, c-format +msgid "Set of limit privileges: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:381 +msgid "Run commands on a pty in the background" +msgstr "" + +#: plugins/sudoers/def_data.c:385 +#, c-format +msgid "PAM service name to use: %s" +msgstr "Non dal servizi PAM di doprâ: %s" + +#: plugins/sudoers/def_data.c:389 +#, c-format +msgid "PAM service name to use for login shells: %s" +msgstr "Non dal servizi PAM di doprâ pes interfacis di acès: %s" + +#: plugins/sudoers/def_data.c:393 +msgid "Attempt to establish PAM credentials for the target user" +msgstr "Tentatîf di stabilî lis credentziâls PAM pal utent designât" + +#: plugins/sudoers/def_data.c:397 +msgid "Create a new PAM session for the command to run in" +msgstr "" + +#: plugins/sudoers/def_data.c:401 +#, c-format +msgid "Maximum I/O log sequence number: %u" +msgstr "" + +#: plugins/sudoers/def_data.c:405 +msgid "Enable sudoers netgroup support" +msgstr "" + +#: plugins/sudoers/def_data.c:409 +msgid "Check parent directories for writability when editing files with sudoedit" +msgstr "" + +#: plugins/sudoers/def_data.c:413 +msgid "Follow symbolic links when editing files with sudoedit" +msgstr "" + +#: plugins/sudoers/def_data.c:417 +msgid "Query the group plugin for unknown system groups" +msgstr "" + +#: plugins/sudoers/def_data.c:421 +msgid "Match netgroups based on the entire tuple: user, host and domain" +msgstr "" + +#: plugins/sudoers/def_data.c:425 +msgid "Allow commands to be run even if sudo cannot write to the audit log" +msgstr "" + +#: plugins/sudoers/def_data.c:429 +msgid "Allow commands to be run even if sudo cannot write to the I/O log" +msgstr "" + +#: plugins/sudoers/def_data.c:433 +msgid "Allow commands to be run even if sudo cannot write to the log file" +msgstr "" + +#: plugins/sudoers/def_data.c:437 +msgid "Resolve groups in sudoers and match on the group ID, not the name" +msgstr "" + +#: plugins/sudoers/def_data.c:441 +#, c-format +msgid "Log entries larger than this value will be split into multiple syslog messages: %u" +msgstr "" + +#: plugins/sudoers/def_data.c:445 +#, c-format +msgid "User that will own the I/O log files: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:449 +#, c-format +msgid "Group that will own the I/O log files: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:453 +#, c-format +msgid "File mode to use for the I/O log files: 0%o" +msgstr "" + +#: plugins/sudoers/def_data.c:457 +#, c-format +msgid "Execute commands by file descriptor instead of by path: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:461 +msgid "Ignore unknown Defaults entries in sudoers instead of producing a warning" +msgstr "" + +#: plugins/sudoers/def_data.c:465 +#, c-format +msgid "Time in seconds after which the command will be terminated: %u" +msgstr "" + +#: plugins/sudoers/def_data.c:469 +msgid "Allow the user to specify a timeout on the command line" +msgstr "" + +#: plugins/sudoers/def_data.c:473 +msgid "Flush I/O log data to disk immediately instead of buffering it" +msgstr "" + +#: plugins/sudoers/def_data.c:477 +msgid "Include the process ID when logging via syslog" +msgstr "" + +#: plugins/sudoers/def_data.c:481 +#, c-format +msgid "Type of authentication timestamp record: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:485 +#, fuzzy, c-format +#| msgid "Authentication methods:" +msgid "Authentication failure message: %s" +msgstr "Metodis di autenticazion:" + +#: plugins/sudoers/defaults.c:221 +#, c-format +msgid "%s:%d unknown defaults entry \"%s\"" +msgstr "" + +#: plugins/sudoers/defaults.c:224 +#, c-format +msgid "%s: unknown defaults entry \"%s\"" +msgstr "" + +#: plugins/sudoers/defaults.c:267 +#, c-format +msgid "%s:%d no value specified for \"%s\"" +msgstr "" + +#: plugins/sudoers/defaults.c:270 +#, c-format +msgid "%s: no value specified for \"%s\"" +msgstr "" + +#: plugins/sudoers/defaults.c:290 +#, c-format +msgid "%s:%d values for \"%s\" must start with a '/'" +msgstr "" + +#: plugins/sudoers/defaults.c:293 +#, c-format +msgid "%s: values for \"%s\" must start with a '/'" +msgstr "" + +#: plugins/sudoers/defaults.c:318 +#, c-format +msgid "%s:%d option \"%s\" does not take a value" +msgstr "" + +#: plugins/sudoers/defaults.c:321 +#, c-format +msgid "%s: option \"%s\" does not take a value" +msgstr "" + +#: plugins/sudoers/defaults.c:343 +#, c-format +msgid "%s:%d invalid Defaults type 0x%x for option \"%s\"" +msgstr "" + +#: plugins/sudoers/defaults.c:346 +#, c-format +msgid "%s: invalid Defaults type 0x%x for option \"%s\"" +msgstr "" + +#: plugins/sudoers/defaults.c:356 +#, c-format +msgid "%s:%d value \"%s\" is invalid for option \"%s\"" +msgstr "" + +#: plugins/sudoers/defaults.c:359 +#, c-format +msgid "%s: value \"%s\" is invalid for option \"%s\"" +msgstr "" + +#: plugins/sudoers/env.c:295 plugins/sudoers/env.c:302 +#: plugins/sudoers/env.c:407 plugins/sudoers/ldap.c:453 +#: plugins/sudoers/ldap.c:543 plugins/sudoers/ldap.c:1270 +#: plugins/sudoers/ldap.c:1497 plugins/sudoers/ldap.c:1822 +#: plugins/sudoers/linux_audit.c:82 plugins/sudoers/logging.c:1003 +#: plugins/sudoers/policy.c:619 plugins/sudoers/policy.c:629 +#: plugins/sudoers/prompt.c:161 plugins/sudoers/sudoers.c:873 +#: plugins/sudoers/testsudoers.c:238 plugins/sudoers/toke_util.c:158 +#, c-format +msgid "internal error, %s overflow" +msgstr "erôr interni, %s overflow (stranfât)" + +#: plugins/sudoers/env.c:376 +msgid "sudo_putenv: corrupted envp, length mismatch" +msgstr "" + +#: plugins/sudoers/env.c:1055 +msgid "unable to rebuild the environment" +msgstr "" + +#: plugins/sudoers/env.c:1129 +#, c-format +msgid "sorry, you are not allowed to set the following environment variables: %s" +msgstr "" + +#: plugins/sudoers/filedigest.c:104 plugins/sudoers/filedigest_gcrypt.c:66 +#: plugins/sudoers/filedigest_openssl.c:95 +#, c-format +msgid "unsupported digest type %d for %s" +msgstr "" + +#: plugins/sudoers/filedigest.c:129 plugins/sudoers/filedigest_gcrypt.c:98 +#: plugins/sudoers/filedigest_openssl.c:120 +#, c-format +msgid "%s: read error" +msgstr "%s: erôr di leture" + +#: plugins/sudoers/group_plugin.c:86 +#, c-format +msgid "%s must be owned by uid %d" +msgstr "" + +#: plugins/sudoers/group_plugin.c:90 +#, c-format +msgid "%s must only be writable by owner" +msgstr "" + +#: plugins/sudoers/group_plugin.c:98 plugins/sudoers/sssd.c:400 +#, c-format +msgid "unable to load %s: %s" +msgstr "impussibil cjariâ %s: %s" + +#: plugins/sudoers/group_plugin.c:104 +#, c-format +msgid "unable to find symbol \"group_plugin\" in %s" +msgstr "" + +#: plugins/sudoers/group_plugin.c:109 +#, c-format +msgid "%s: incompatible group plugin major version %d, expected %d" +msgstr "" + +#: plugins/sudoers/interfaces.c:79 plugins/sudoers/interfaces.c:96 +#, c-format +msgid "unable to parse IP address \"%s\"" +msgstr "" + +#: plugins/sudoers/interfaces.c:84 plugins/sudoers/interfaces.c:101 +#, c-format +msgid "unable to parse netmask \"%s\"" +msgstr "" + +#: plugins/sudoers/interfaces.c:129 +msgid "Local IP address and netmask pairs:\n" +msgstr "" + +#: plugins/sudoers/iolog.c:121 plugins/sudoers/mkdir_parents.c:75 +#, c-format +msgid "%s exists but is not a directory (0%o)" +msgstr "" + +#: plugins/sudoers/iolog.c:146 plugins/sudoers/iolog.c:187 +#: plugins/sudoers/mkdir_parents.c:64 plugins/sudoers/timestamp.c:175 +#, c-format +msgid "unable to mkdir %s" +msgstr "" + +#: plugins/sudoers/iolog.c:191 plugins/sudoers/visudo.c:740 +#: plugins/sudoers/visudo.c:750 +#, c-format +msgid "unable to change mode of %s to 0%o" +msgstr "" + +#: plugins/sudoers/iolog.c:299 plugins/sudoers/sudoers.c:1193 +#: plugins/sudoers/testsudoers.c:390 +#, c-format +msgid "unknown group: %s" +msgstr "" + +#: plugins/sudoers/iolog.c:418 plugins/sudoers/sudoers.c:929 +#: plugins/sudoers/sudoreplay.c:349 plugins/sudoers/sudoreplay.c:1355 +#: plugins/sudoers/sudoreplay.c:1559 plugins/sudoers/timestamp.c:406 +#: plugins/sudoers/visudo.c:972 plugins/sudoers/visudo_json.c:1001 +#: plugins/sudoers/visudo_json.c:1014 +#, c-format +msgid "unable to open %s" +msgstr "impussibil vierzi %s" + +#: plugins/sudoers/iolog.c:469 plugins/sudoers/sudoers.c:933 +#: plugins/sudoers/sudoreplay.c:857 plugins/sudoers/sudoreplay.c:1670 +#, c-format +msgid "unable to read %s" +msgstr "impussibil lei %s" + +#: plugins/sudoers/iolog.c:505 plugins/sudoers/sudoreplay.c:1124 +#: plugins/sudoers/timestamp.c:295 plugins/sudoers/timestamp.c:298 +#, c-format +msgid "unable to write to %s" +msgstr "impussibil scrivi su %s" + +#: plugins/sudoers/iolog.c:584 plugins/sudoers/iolog.c:803 +#, c-format +msgid "unable to create %s" +msgstr "impussibil creâ %s" + +#: plugins/sudoers/iolog.c:1035 plugins/sudoers/iolog.c:1110 +#: plugins/sudoers/iolog.c:1191 +#, c-format +msgid "unable to write to I/O log file: %s" +msgstr "impussibil scrivi sul file di regjistri I/O: %s" + +#: plugins/sudoers/iolog.c:1069 +#, c-format +msgid "%s: internal error, file index %d not open" +msgstr "" + +#: plugins/sudoers/ldap.c:431 +msgid "sudo_ldap_conf_add_ports: port too large" +msgstr "" + +#: plugins/sudoers/ldap.c:491 +#, c-format +msgid "unsupported LDAP uri type: %s" +msgstr "" + +#: plugins/sudoers/ldap.c:518 +msgid "unable to mix ldap and ldaps URIs" +msgstr "" + +#: plugins/sudoers/ldap.c:522 plugins/sudoers/ldap.c:559 +msgid "starttls not supported when using ldaps" +msgstr "" + +#: plugins/sudoers/ldap.c:630 +#, c-format +msgid "unable to initialize SSL cert and key db: %s" +msgstr "" + +#: plugins/sudoers/ldap.c:633 +#, c-format +msgid "you must set TLS_CERT in %s to use SSL" +msgstr "" + +#: plugins/sudoers/ldap.c:1256 +msgid "unable to get GMT time" +msgstr "impussibil otignî la ore GMT" + +#: plugins/sudoers/ldap.c:1262 +msgid "unable to format timestamp" +msgstr "" + +#: plugins/sudoers/ldap.c:1986 +#, c-format +msgid "%s: %s: %s: %s" +msgstr "" + +#: plugins/sudoers/ldap.c:2559 +#, c-format +msgid "" +"\n" +"LDAP Role: %s\n" +msgstr "" + +#: plugins/sudoers/ldap.c:2561 +#, c-format +msgid "" +"\n" +"LDAP Role: UNKNOWN\n" +msgstr "" + +#: plugins/sudoers/ldap.c:2617 +#, c-format +msgid " Order: %s\n" +msgstr "" + +#: plugins/sudoers/ldap.c:2625 plugins/sudoers/parse.c:618 +#: plugins/sudoers/sssd.c:1647 +#, c-format +msgid " Commands:\n" +msgstr " Comants:\n" + +#: plugins/sudoers/ldap.c:3187 +#, c-format +msgid "unable to initialize LDAP: %s" +msgstr "impussibil inizializâ LDAP: %s" + +#: plugins/sudoers/ldap.c:3223 +msgid "start_tls specified but LDAP libs do not support ldap_start_tls_s() or ldap_start_tls_s_np()" +msgstr "" + +#: plugins/sudoers/ldap.c:3475 +#, c-format +msgid "invalid sudoOrder attribute: %s" +msgstr "" + +#: plugins/sudoers/linux_audit.c:52 +msgid "unable to open audit system" +msgstr "impussibil vierzi il sisteme di audit" + +#: plugins/sudoers/linux_audit.c:93 +msgid "unable to send audit message" +msgstr "impussibil inviâ il messaç di audit" + +#: plugins/sudoers/logging.c:108 +#, c-format +msgid "%8s : %s" +msgstr "" + +#: plugins/sudoers/logging.c:136 +#, c-format +msgid "%8s : (command continued) %s" +msgstr "" + +#: plugins/sudoers/logging.c:165 +#, c-format +msgid "unable to open log file: %s" +msgstr "impussibil vierzi il file di regjistri: %s" + +#: plugins/sudoers/logging.c:173 +#, c-format +msgid "unable to lock log file: %s" +msgstr "impussibil blocâ il file di regjistri: %s" + +#: plugins/sudoers/logging.c:206 +#, c-format +msgid "unable to write log file: %s" +msgstr "impussibil scrivi il file di regjistri: %s" + +#: plugins/sudoers/logging.c:235 +msgid "No user or host" +msgstr "Nissun utent o host" + +#: plugins/sudoers/logging.c:237 +msgid "validation failure" +msgstr "validazion falide" + +#: plugins/sudoers/logging.c:244 +msgid "user NOT in sudoers" +msgstr "l'utent NOL è in sudoers" + +#: plugins/sudoers/logging.c:246 +msgid "user NOT authorized on host" +msgstr "l'utent NOL è autorizât sul host" + +#: plugins/sudoers/logging.c:248 +msgid "command not allowed" +msgstr "comant no permetût" + +#: plugins/sudoers/logging.c:283 +#, c-format +msgid "%s is not in the sudoers file. This incident will be reported.\n" +msgstr "%s nol è tal file sudoers. Chest incident al vignarà segnalât.\n" + +#: plugins/sudoers/logging.c:286 +#, c-format +msgid "%s is not allowed to run sudo on %s. This incident will be reported.\n" +msgstr "%s nol è permetût eseguî sudo su %s. Chest incident al vignarà segnalât.\n" + +#: plugins/sudoers/logging.c:290 +#, c-format +msgid "Sorry, user %s may not run sudo on %s.\n" +msgstr "Mi displâs, l'utent %s nol pues eseguî sudo su %s.\n" + +#: plugins/sudoers/logging.c:293 +#, c-format +msgid "Sorry, user %s is not allowed to execute '%s%s%s' as %s%s%s on %s.\n" +msgstr "" + +#: plugins/sudoers/logging.c:330 plugins/sudoers/sudoers.c:473 +#: plugins/sudoers/sudoers.c:475 plugins/sudoers/sudoers.c:477 +#: plugins/sudoers/sudoers.c:479 plugins/sudoers/sudoers.c:1298 +#: plugins/sudoers/sudoers.c:1300 +#, c-format +msgid "%s: command not found" +msgstr "%s: comant no cjatât" + +#: plugins/sudoers/logging.c:332 plugins/sudoers/sudoers.c:469 +#, c-format +msgid "" +"ignoring \"%s\" found in '.'\n" +"Use \"sudo ./%s\" if this is the \"%s\" you wish to run." +msgstr "" + +#: plugins/sudoers/logging.c:349 +msgid "authentication failure" +msgstr "autenticazion falide" + +#: plugins/sudoers/logging.c:375 +msgid "a password is required" +msgstr "e covente une password" + +#: plugins/sudoers/logging.c:438 +#, c-format +msgid "%u incorrect password attempt" +msgid_plural "%u incorrect password attempts" +msgstr[0] "" +msgstr[1] "" + +#: plugins/sudoers/logging.c:654 +msgid "unable to fork" +msgstr "impussibil inglovâ (fâ il fork)" + +#: plugins/sudoers/logging.c:662 plugins/sudoers/logging.c:714 +#, c-format +msgid "unable to fork: %m" +msgstr "impussibil inglovâ (fâ il fork): %m" + +#: plugins/sudoers/logging.c:704 +#, c-format +msgid "unable to open pipe: %m" +msgstr "impussibil vierzi il condot (pipe): %m" + +#: plugins/sudoers/logging.c:729 +#, c-format +msgid "unable to dup stdin: %m" +msgstr "impussibil fâ il \"dup\" di \"stdin\": %m" + +#: plugins/sudoers/logging.c:767 +#, c-format +msgid "unable to execute %s: %m" +msgstr "impussibil eseguî %s: %m" + +#: plugins/sudoers/match.c:771 +#, c-format +msgid "digest for %s (%s) is not in %s form" +msgstr "" + +#: plugins/sudoers/mkdir_parents.c:70 plugins/sudoers/sudoers.c:944 +#: plugins/sudoers/visudo.c:439 plugins/sudoers/visudo.c:734 +#, c-format +msgid "unable to stat %s" +msgstr "" + +#: plugins/sudoers/parse.c:115 +#, c-format +msgid "parse error in %s near line %d" +msgstr "" + +#: plugins/sudoers/parse.c:118 +#, c-format +msgid "parse error in %s" +msgstr "" + +#: plugins/sudoers/parse.c:544 +#, c-format +msgid "" +"\n" +"Sudoers entry:\n" +msgstr "" + +#: plugins/sudoers/parse.c:545 +#, c-format +msgid " RunAsUsers: " +msgstr "" + +#: plugins/sudoers/parse.c:559 +#, c-format +msgid " RunAsGroups: " +msgstr "" + +#: plugins/sudoers/parse.c:568 +#, c-format +msgid " Options: " +msgstr " Opzions: " + +#: plugins/sudoers/policy.c:84 plugins/sudoers/policy.c:110 +#, c-format +msgid "invalid %.*s set by sudo front-end" +msgstr "" + +#: plugins/sudoers/policy.c:289 plugins/sudoers/testsudoers.c:261 +msgid "unable to parse network address list" +msgstr "" + +#: plugins/sudoers/policy.c:433 +msgid "user name not set by sudo front-end" +msgstr "" + +#: plugins/sudoers/policy.c:437 +msgid "user ID not set by sudo front-end" +msgstr "" + +#: plugins/sudoers/policy.c:441 +msgid "group ID not set by sudo front-end" +msgstr "" + +#: plugins/sudoers/policy.c:445 +msgid "host name not set by sudo front-end" +msgstr "" + +#: plugins/sudoers/policy.c:793 plugins/sudoers/visudo.c:910 +#, c-format +msgid "unable to execute %s" +msgstr "impussibil eseguî %s" + +#: plugins/sudoers/policy.c:926 +#, c-format +msgid "Sudoers policy plugin version %s\n" +msgstr "" + +#: plugins/sudoers/policy.c:928 +#, c-format +msgid "Sudoers file grammar version %d\n" +msgstr "" + +#: plugins/sudoers/policy.c:932 +#, c-format +msgid "" +"\n" +"Sudoers path: %s\n" +msgstr "" +"\n" +"Percors di sudoers: %s\n" + +#: plugins/sudoers/policy.c:935 +#, c-format +msgid "nsswitch path: %s\n" +msgstr "percors di nsswitch: %s\n" + +#: plugins/sudoers/policy.c:937 +#, c-format +msgid "ldap.conf path: %s\n" +msgstr "percors di ldap.conf: %s\n" + +#: plugins/sudoers/policy.c:938 +#, c-format +msgid "ldap.secret path: %s\n" +msgstr "percors di ldap.secret: %s\n" + +#: plugins/sudoers/policy.c:971 +#, c-format +msgid "unable to register hook of type %d (version %d.%d)" +msgstr "" + +#: plugins/sudoers/pwutil.c:188 plugins/sudoers/pwutil.c:206 +#, c-format +msgid "unable to cache uid %u, out of memory" +msgstr "" + +#: plugins/sudoers/pwutil.c:200 +#, c-format +msgid "unable to cache uid %u, already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:260 plugins/sudoers/pwutil.c:277 +#: plugins/sudoers/pwutil.c:339 plugins/sudoers/pwutil.c:384 +#, c-format +msgid "unable to cache user %s, out of memory" +msgstr "" + +#: plugins/sudoers/pwutil.c:272 +#, c-format +msgid "unable to cache user %s, already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:503 plugins/sudoers/pwutil.c:521 +#, c-format +msgid "unable to cache gid %u, out of memory" +msgstr "" + +#: plugins/sudoers/pwutil.c:515 +#, c-format +msgid "unable to cache gid %u, already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:569 plugins/sudoers/pwutil.c:586 +#: plugins/sudoers/pwutil.c:633 plugins/sudoers/pwutil.c:675 +#, c-format +msgid "unable to cache group %s, out of memory" +msgstr "" + +#: plugins/sudoers/pwutil.c:581 +#, c-format +msgid "unable to cache group %s, already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:801 plugins/sudoers/pwutil.c:853 +#: plugins/sudoers/pwutil.c:904 plugins/sudoers/pwutil.c:957 +#, c-format +msgid "unable to cache group list for %s, already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:807 plugins/sudoers/pwutil.c:858 +#: plugins/sudoers/pwutil.c:910 plugins/sudoers/pwutil.c:962 +#, c-format +msgid "unable to cache group list for %s, out of memory" +msgstr "" + +#: plugins/sudoers/pwutil.c:847 +#, c-format +msgid "unable to parse groups for %s" +msgstr "" + +#: plugins/sudoers/pwutil.c:951 +#, c-format +msgid "unable to parse gids for %s" +msgstr "" + +#: plugins/sudoers/set_perms.c:113 plugins/sudoers/set_perms.c:469 +#: plugins/sudoers/set_perms.c:912 plugins/sudoers/set_perms.c:1239 +#: plugins/sudoers/set_perms.c:1556 +msgid "perm stack overflow" +msgstr "" + +#: plugins/sudoers/set_perms.c:121 plugins/sudoers/set_perms.c:400 +#: plugins/sudoers/set_perms.c:477 plugins/sudoers/set_perms.c:779 +#: plugins/sudoers/set_perms.c:920 plugins/sudoers/set_perms.c:1163 +#: plugins/sudoers/set_perms.c:1247 plugins/sudoers/set_perms.c:1489 +#: plugins/sudoers/set_perms.c:1564 plugins/sudoers/set_perms.c:1654 +msgid "perm stack underflow" +msgstr "" + +#: plugins/sudoers/set_perms.c:180 plugins/sudoers/set_perms.c:523 +#: plugins/sudoers/set_perms.c:1298 plugins/sudoers/set_perms.c:1596 +msgid "unable to change to root gid" +msgstr "" + +#: plugins/sudoers/set_perms.c:269 plugins/sudoers/set_perms.c:620 +#: plugins/sudoers/set_perms.c:1049 plugins/sudoers/set_perms.c:1375 +msgid "unable to change to runas gid" +msgstr "" + +#: plugins/sudoers/set_perms.c:274 plugins/sudoers/set_perms.c:625 +#: plugins/sudoers/set_perms.c:1054 plugins/sudoers/set_perms.c:1380 +msgid "unable to set runas group vector" +msgstr "" + +#: plugins/sudoers/set_perms.c:285 plugins/sudoers/set_perms.c:636 +#: plugins/sudoers/set_perms.c:1063 plugins/sudoers/set_perms.c:1389 +msgid "unable to change to runas uid" +msgstr "" + +#: plugins/sudoers/set_perms.c:303 plugins/sudoers/set_perms.c:654 +#: plugins/sudoers/set_perms.c:1079 plugins/sudoers/set_perms.c:1405 +msgid "unable to change to sudoers gid" +msgstr "" + +#: plugins/sudoers/set_perms.c:387 plugins/sudoers/set_perms.c:766 +#: plugins/sudoers/set_perms.c:1150 plugins/sudoers/set_perms.c:1476 +#: plugins/sudoers/set_perms.c:1641 +msgid "too many processes" +msgstr "masse procès" + +#: plugins/sudoers/solaris_audit.c:51 +msgid "unable to get current working directory" +msgstr "impussibil otignî la cartele di vore atuâl" + +#: plugins/sudoers/solaris_audit.c:59 +#, c-format +msgid "truncated audit path user_cmnd: %s" +msgstr "" + +#: plugins/sudoers/solaris_audit.c:66 +#, c-format +msgid "truncated audit path argv[0]: %s" +msgstr "" + +#: plugins/sudoers/solaris_audit.c:115 +msgid "audit_failure message too long" +msgstr "" + +#: plugins/sudoers/sssd.c:402 +msgid "unable to initialize SSS source. Is SSSD installed on your machine?" +msgstr "" + +#: plugins/sudoers/sssd.c:410 plugins/sudoers/sssd.c:419 +#: plugins/sudoers/sssd.c:428 plugins/sudoers/sssd.c:437 +#: plugins/sudoers/sssd.c:446 +#, c-format +msgid "unable to find symbol \"%s\" in %s" +msgstr "" + +#: plugins/sudoers/sssd.c:1562 +#, c-format +msgid "" +"\n" +"SSSD Role: %s\n" +msgstr "" + +#: plugins/sudoers/sssd.c:1567 +#, c-format +msgid "" +"\n" +"SSSD Role: UNKNOWN\n" +msgstr "" + +#: plugins/sudoers/sudo_nss.c:289 +#, c-format +msgid "Matching Defaults entries for %s on %s:\n" +msgstr "" + +#: plugins/sudoers/sudo_nss.c:307 +#, c-format +msgid "Runas and Command-specific defaults for %s:\n" +msgstr "" + +#: plugins/sudoers/sudo_nss.c:325 +#, c-format +msgid "User %s may run the following commands on %s:\n" +msgstr "L'utent %s al pues eseguî su %s i comants chi daurman:\n" + +#: plugins/sudoers/sudo_nss.c:338 +#, c-format +msgid "User %s is not allowed to run sudo on %s.\n" +msgstr "L'utent %s nol pues eseguî sudo su %s.\n" + +#: plugins/sudoers/sudoers.c:168 plugins/sudoers/testsudoers.c:247 +#: plugins/sudoers/visudo.c:233 plugins/sudoers/visudo.c:612 +#: plugins/sudoers/visudo.c:976 +msgid "unable to initialize sudoers default values" +msgstr "impussibil inizializâ i valôrs predefinîts di sudoers" + +#: plugins/sudoers/sudoers.c:198 plugins/sudoers/sudoers.c:891 +msgid "problem with defaults entries" +msgstr "" + +#: plugins/sudoers/sudoers.c:205 +msgid "no valid sudoers sources found, quitting" +msgstr "" + +#: plugins/sudoers/sudoers.c:244 +msgid "sudoers specifies that root is not allowed to sudo" +msgstr "" + +#: plugins/sudoers/sudoers.c:301 +msgid "you are not permitted to use the -C option" +msgstr "" + +#: plugins/sudoers/sudoers.c:390 +#, c-format +msgid "timestamp owner (%s): No such user" +msgstr "" + +#: plugins/sudoers/sudoers.c:405 +msgid "no tty" +msgstr "" + +#: plugins/sudoers/sudoers.c:406 +msgid "sorry, you must have a tty to run sudo" +msgstr "mi displâs, si scugne vê un tty par eseguî sudo" + +#: plugins/sudoers/sudoers.c:468 +msgid "command in current directory" +msgstr "" + +#: plugins/sudoers/sudoers.c:487 +msgid "sorry, you are not allowed set a command timeout" +msgstr "" + +#: plugins/sudoers/sudoers.c:495 +msgid "sorry, you are not allowed to preserve the environment" +msgstr "" + +#: plugins/sudoers/sudoers.c:836 +msgid "command too long" +msgstr "comant masse lunc" + +#: plugins/sudoers/sudoers.c:948 +#, c-format +msgid "%s is not a regular file" +msgstr "%s nol è un file regolâr" + +#: plugins/sudoers/sudoers.c:952 plugins/sudoers/timestamp.c:222 toke.l:969 +#, c-format +msgid "%s is owned by uid %u, should be %u" +msgstr "" + +#: plugins/sudoers/sudoers.c:956 toke.l:974 +#, c-format +msgid "%s is world writable" +msgstr "" + +#: plugins/sudoers/sudoers.c:960 toke.l:977 +#, c-format +msgid "%s is owned by gid %u, should be %u" +msgstr "" + +#: plugins/sudoers/sudoers.c:993 +#, c-format +msgid "only root can use \"-c %s\"" +msgstr "" + +#: plugins/sudoers/sudoers.c:1012 +#, c-format +msgid "unknown login class: %s" +msgstr "" + +#: plugins/sudoers/sudoers.c:1095 plugins/sudoers/sudoers.c:1109 +#, c-format +msgid "unable to resolve host %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:275 +#, c-format +msgid "invalid filter option: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:288 +#, c-format +msgid "invalid max wait: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:300 +#, c-format +msgid "invalid speed factor: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:303 plugins/sudoers/visudo.c:186 +#, c-format +msgid "%s version %s\n" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:335 +#, c-format +msgid "%s/%.2s/%.2s/%.2s/timing: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:341 +#, c-format +msgid "%s/%s/timing: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:357 +#, c-format +msgid "Replaying sudo session: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:555 plugins/sudoers/sudoreplay.c:602 +#: plugins/sudoers/sudoreplay.c:805 plugins/sudoers/sudoreplay.c:895 +#: plugins/sudoers/sudoreplay.c:974 plugins/sudoers/sudoreplay.c:989 +#: plugins/sudoers/sudoreplay.c:996 plugins/sudoers/sudoreplay.c:1003 +#: plugins/sudoers/sudoreplay.c:1010 plugins/sudoers/sudoreplay.c:1017 +#: plugins/sudoers/sudoreplay.c:1163 +msgid "unable to add event to queue" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:670 +msgid "unable to set tty to raw mode" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:721 +#, c-format +msgid "Warning: your terminal is too small to properly replay the log.\n" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:722 +#, c-format +msgid "Log geometry is %d x %d, your terminal's geometry is %d x %d." +msgstr "" + +#: plugins/sudoers/sudoreplay.c:750 +msgid "Replay finished, press any key to restore the terminal." +msgstr "" + +#: plugins/sudoers/sudoreplay.c:783 +#, c-format +msgid "invalid timing file line: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1197 plugins/sudoers/sudoreplay.c:1222 +#, c-format +msgid "ambiguous expression \"%s\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1244 +msgid "unmatched ')' in expression" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1248 +#, c-format +msgid "unknown search term \"%s\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1263 +#, c-format +msgid "%s requires an argument" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1266 plugins/sudoers/sudoreplay.c:1646 +#, c-format +msgid "invalid regular expression: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1270 +#, c-format +msgid "could not parse date \"%s\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1279 +msgid "unmatched '(' in expression" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1281 +msgid "illegal trailing \"or\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1283 +msgid "illegal trailing \"!\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1332 +#, c-format +msgid "unknown search type %d" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1370 +#, c-format +msgid "%s: invalid log file" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1388 +#, c-format +msgid "%s: time stamp field is missing" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1395 +#, c-format +msgid "%s: time stamp %s: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1402 +#, c-format +msgid "%s: user field is missing" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1411 +#, c-format +msgid "%s: runas user field is missing" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1420 +#, c-format +msgid "%s: runas group field is missing" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1826 +#, c-format +msgid "usage: %s [-hnR] [-d dir] [-m num] [-s num] ID\n" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1829 +#, c-format +msgid "usage: %s [-h] [-d dir] -l [search expression]\n" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1838 +#, c-format +msgid "" +"%s - replay sudo session logs\n" +"\n" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1840 +msgid "" +"\n" +"Options:\n" +" -d, --directory=dir specify directory for session logs\n" +" -f, --filter=filter specify which I/O type(s) to display\n" +" -h, --help display help message and exit\n" +" -l, --list list available session IDs, with optional expression\n" +" -m, --max-wait=num max number of seconds to wait between events\n" +" -s, --speed=num speed up or slow down output\n" +" -V, --version display version information and exit" +msgstr "" + +#: plugins/sudoers/testsudoers.c:329 +msgid "\thost unmatched" +msgstr "" + +#: plugins/sudoers/testsudoers.c:332 +msgid "" +"\n" +"Command allowed" +msgstr "" + +#: plugins/sudoers/testsudoers.c:333 +msgid "" +"\n" +"Command denied" +msgstr "" + +#: plugins/sudoers/testsudoers.c:333 +msgid "" +"\n" +"Command unmatched" +msgstr "" + +#: plugins/sudoers/timestamp.c:230 +#, c-format +msgid "%s is group writable" +msgstr "" + +#: plugins/sudoers/timestamp.c:306 +#, c-format +msgid "unable to truncate time stamp file to %lld bytes" +msgstr "" + +#: plugins/sudoers/timestamp.c:772 plugins/sudoers/timestamp.c:839 +#: plugins/sudoers/visudo.c:500 plugins/sudoers/visudo.c:506 +msgid "unable to read the clock" +msgstr "" + +#: plugins/sudoers/timestamp.c:786 +msgid "ignoring time stamp from the future" +msgstr "" + +#: plugins/sudoers/timestamp.c:798 +#, c-format +msgid "time stamp too far in the future: %20.20s" +msgstr "" + +#: plugins/sudoers/timestamp.c:893 +#, c-format +msgid "unable to lock time stamp file %s" +msgstr "" + +#: plugins/sudoers/timestamp.c:937 plugins/sudoers/timestamp.c:957 +#, c-format +msgid "lecture status path too long: %s/%s" +msgstr "" + +#: plugins/sudoers/visudo.c:188 +#, c-format +msgid "%s grammar version %d\n" +msgstr "" + +#: plugins/sudoers/visudo.c:266 plugins/sudoers/visudo.c:667 +#, c-format +msgid "press return to edit %s: " +msgstr "" + +#: plugins/sudoers/visudo.c:331 +#, c-format +msgid "specified editor (%s) doesn't exist" +msgstr "" + +#: plugins/sudoers/visudo.c:349 +#, c-format +msgid "no editor found (editor path = %s)" +msgstr "" + +#: plugins/sudoers/visudo.c:459 plugins/sudoers/visudo.c:467 +msgid "write error" +msgstr "" + +#: plugins/sudoers/visudo.c:513 +#, c-format +msgid "unable to stat temporary file (%s), %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:520 +#, c-format +msgid "zero length temporary file (%s), %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:526 +#, c-format +msgid "editor (%s) failed, %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:548 +#, c-format +msgid "%s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:607 +#, c-format +msgid "unable to re-open temporary file (%s), %s unchanged." +msgstr "" + +#: plugins/sudoers/visudo.c:619 +#, c-format +msgid "unabled to parse temporary file (%s), unknown error" +msgstr "" + +#: plugins/sudoers/visudo.c:656 +#, c-format +msgid "internal error, unable to find %s in list!" +msgstr "" + +#: plugins/sudoers/visudo.c:736 plugins/sudoers/visudo.c:745 +#, c-format +msgid "unable to set (uid, gid) of %s to (%u, %u)" +msgstr "" + +#: plugins/sudoers/visudo.c:767 +#, c-format +msgid "%s and %s not on the same file system, using mv to rename" +msgstr "" + +#: plugins/sudoers/visudo.c:781 +#, c-format +msgid "command failed: '%s %s %s', %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:791 +#, c-format +msgid "error renaming %s, %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:855 +msgid "What now? " +msgstr "" + +#: plugins/sudoers/visudo.c:869 +msgid "" +"Options are:\n" +" (e)dit sudoers file again\n" +" e(x)it without saving changes to sudoers file\n" +" (Q)uit and save changes to sudoers file (DANGER!)\n" +msgstr "" + +#: plugins/sudoers/visudo.c:915 +#, c-format +msgid "unable to run %s" +msgstr "" + +#: plugins/sudoers/visudo.c:945 +#, c-format +msgid "%s: wrong owner (uid, gid) should be (%u, %u)\n" +msgstr "" + +#: plugins/sudoers/visudo.c:952 +#, c-format +msgid "%s: bad permissions, should be mode 0%o\n" +msgstr "" + +#: plugins/sudoers/visudo.c:981 plugins/sudoers/visudo_json.c:1021 +#, c-format +msgid "failed to parse %s file, unknown error" +msgstr "" + +#: plugins/sudoers/visudo.c:997 plugins/sudoers/visudo_json.c:1032 +#, c-format +msgid "parse error in %s near line %d\n" +msgstr "" + +#: plugins/sudoers/visudo.c:1000 plugins/sudoers/visudo_json.c:1035 +#, c-format +msgid "parse error in %s\n" +msgstr "" + +#: plugins/sudoers/visudo.c:1008 plugins/sudoers/visudo.c:1015 +#, c-format +msgid "%s: parsed OK\n" +msgstr "" + +#: plugins/sudoers/visudo.c:1062 +#, c-format +msgid "%s busy, try again later" +msgstr "" + +#: plugins/sudoers/visudo.c:1159 +#, c-format +msgid "Error: %s:%d cycle in %s \"%s\"" +msgstr "" + +#: plugins/sudoers/visudo.c:1160 +#, c-format +msgid "Warning: %s:%d cycle in %s \"%s\"" +msgstr "" + +#: plugins/sudoers/visudo.c:1164 +#, c-format +msgid "Error: %s:%d %s \"%s\" referenced but not defined" +msgstr "" + +#: plugins/sudoers/visudo.c:1165 +#, c-format +msgid "Warning: %s:%d %s \"%s\" referenced but not defined" +msgstr "" + +#: plugins/sudoers/visudo.c:1318 +#, c-format +msgid "Warning: %s:%d unused %s \"%s\"" +msgstr "" + +#: plugins/sudoers/visudo.c:1433 +#, c-format +msgid "" +"%s - safely edit the sudoers file\n" +"\n" +msgstr "" + +#: plugins/sudoers/visudo.c:1435 +msgid "" +"\n" +"Options:\n" +" -c, --check check-only mode\n" +" -f, --file=sudoers specify sudoers file location\n" +" -h, --help display help message and exit\n" +" -q, --quiet less verbose (quiet) syntax error messages\n" +" -s, --strict strict syntax checking\n" +" -V, --version display version information and exit\n" +" -x, --export=output_file write sudoers in JSON format to output_file" +msgstr "" + +#: plugins/sudoers/visudo_json.c:616 plugins/sudoers/visudo_json.c:651 +#, c-format +msgid "unknown defaults entry \"%s\"" +msgstr "" + +#: plugins/sudoers/visudo_json.c:1007 +#, c-format +msgid "%s: input and output files must be different" +msgstr "" + +#: toke.l:943 +msgid "too many levels of includes" +msgstr "" diff --git a/plugins/sudoers/po/hr.mo b/plugins/sudoers/po/hr.mo new file mode 100644 index 0000000..626a820 Binary files /dev/null and b/plugins/sudoers/po/hr.mo differ diff --git a/plugins/sudoers/po/hr.po b/plugins/sudoers/po/hr.po new file mode 100644 index 0000000..13b4ed3 --- /dev/null +++ b/plugins/sudoers/po/hr.po @@ -0,0 +1,4173 @@ +# Translation of sudoer to Croatian. +# This file is put in the public domain. +# +# Božidar Putanec , 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023. +msgid "" +msgstr "" +"Project-Id-Version: sudoers-1.9.13b2\n" +"Report-Msgid-Bugs-To: https://bugzilla.sudo.ws\n" +"POT-Creation-Date: 2023-01-24 13:11-0700\n" +"PO-Revision-Date: 2023-01-26 18:06-0800\n" +"Last-Translator: Božidar Putanec \n" +"Language-Team: Croatian \n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.2.2\n" +"X-Poedit-Basepath: ../packages/sudo-1.8.23b2\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Poedit-SearchPath-0: .\n" + +#: confstr.sh:1 gram.y:1220 plugins/sudoers/logging.c:866 +msgid "syntax error" +msgstr "sintaktična greška" + +#: confstr.sh:2 +msgid "%p's password: " +msgstr "Lozinka za %p: " + +#: confstr.sh:3 +msgid "[sudo] password for %p: " +msgstr "[sudo] lozinka za %p: " + +#: confstr.sh:4 +msgid "Password: " +msgstr "Lozinka: " + +#: confstr.sh:5 +msgid "*** SECURITY information for %h ***" +msgstr "*** SIGURNOSNE informacije za %h ***" + +#: confstr.sh:6 +msgid "Sorry, try again." +msgstr "Pokušajte ponovo." + +#: gram.y:237 gram.y:304 gram.y:313 gram.y:322 gram.y:332 gram.y:342 +#: gram.y:366 gram.y:393 gram.y:402 gram.y:410 gram.y:419 gram.y:428 +#: gram.y:502 gram.y:512 gram.y:524 gram.y:572 gram.y:581 gram.y:590 +#: gram.y:599 gram.y:731 gram.y:739 gram.y:750 gram.y:762 gram.y:781 +#: gram.y:944 gram.y:949 gram.y:957 gram.y:971 gram.y:977 gram.y:1099 +#: gram.y:1108 gram.y:1116 gram.y:1125 gram.y:1134 gram.y:1163 gram.y:1172 +#: gram.y:1180 gram.y:1280 gram.y:1410 gram.y:1777 gram.y:1827 +#: lib/eventlog/eventlog.c:235 lib/eventlog/eventlog.c:312 +#: lib/eventlog/eventlog.c:757 lib/eventlog/eventlog.c:834 +#: lib/eventlog/eventlog.c:1135 lib/iolog/iolog_filter.c:142 +#: lib/iolog/iolog_filter.c:202 lib/iolog/iolog_filter.c:233 +#: lib/iolog/iolog_json.c:150 lib/iolog/iolog_json.c:382 +#: lib/iolog/iolog_json.c:412 lib/iolog/iolog_legacy.c:100 +#: lib/iolog/iolog_legacy.c:111 lib/iolog/iolog_legacy.c:123 +#: lib/iolog/iolog_legacy.c:133 lib/iolog/iolog_legacy.c:139 +#: lib/iolog/iolog_loginfo.c:76 lib/iolog/iolog_loginfo.c:212 +#: logsrvd/iolog_writer.c:95 logsrvd/iolog_writer.c:100 +#: logsrvd/iolog_writer.c:134 logsrvd/iolog_writer.c:182 +#: logsrvd/iolog_writer.c:215 logsrvd/iolog_writer.c:225 +#: logsrvd/iolog_writer.c:254 logsrvd/iolog_writer.c:275 +#: logsrvd/iolog_writer.c:287 logsrvd/iolog_writer.c:297 +#: logsrvd/iolog_writer.c:307 logsrvd/iolog_writer.c:317 +#: logsrvd/iolog_writer.c:329 logsrvd/iolog_writer.c:364 +#: logsrvd/iolog_writer.c:370 logsrvd/iolog_writer.c:377 +#: logsrvd/iolog_writer.c:383 logsrvd/iolog_writer.c:567 +#: logsrvd/logsrv_util.c:69 logsrvd/logsrvd.c:301 logsrvd/logsrvd.c:310 +#: logsrvd/logsrvd.c:1050 logsrvd/logsrvd.c:1113 logsrvd/logsrvd.c:1582 +#: logsrvd/logsrvd.c:1587 logsrvd/logsrvd.c:1771 logsrvd/logsrvd.c:1988 +#: logsrvd/logsrvd_conf.c:357 logsrvd/logsrvd_conf.c:370 +#: logsrvd/logsrvd_conf.c:511 logsrvd/logsrvd_conf.c:534 +#: logsrvd/logsrvd_conf.c:538 logsrvd/logsrvd_conf.c:556 +#: logsrvd/logsrvd_conf.c:626 logsrvd/logsrvd_conf.c:650 +#: logsrvd/logsrvd_conf.c:678 logsrvd/logsrvd_conf.c:692 +#: logsrvd/logsrvd_conf.c:706 logsrvd/logsrvd_conf.c:720 +#: logsrvd/logsrvd_conf.c:734 logsrvd/logsrvd_conf.c:748 +#: logsrvd/logsrvd_conf.c:829 logsrvd/logsrvd_conf.c:1036 +#: logsrvd/logsrvd_conf.c:1053 logsrvd/logsrvd_conf.c:1448 +#: logsrvd/logsrvd_conf.c:1595 logsrvd/logsrvd_conf.c:1621 +#: logsrvd/logsrvd_conf.c:1633 logsrvd/logsrvd_conf.c:1640 +#: logsrvd/logsrvd_conf.c:1646 logsrvd/logsrvd_conf.c:1743 +#: logsrvd/logsrvd_journal.c:76 logsrvd/logsrvd_journal.c:216 +#: logsrvd/logsrvd_journal.c:217 logsrvd/logsrvd_journal.c:273 +#: logsrvd/logsrvd_journal.c:433 logsrvd/logsrvd_journal.c:435 +#: logsrvd/logsrvd_local.c:215 logsrvd/logsrvd_local.c:216 +#: logsrvd/logsrvd_local.c:278 logsrvd/logsrvd_local.c:279 +#: logsrvd/logsrvd_local.c:417 logsrvd/logsrvd_local.c:466 +#: logsrvd/logsrvd_local.c:467 logsrvd/logsrvd_local.c:472 +#: logsrvd/logsrvd_local.c:473 logsrvd/logsrvd_queue.c:159 +#: logsrvd/logsrvd_queue.c:189 logsrvd/logsrvd_queue.c:266 +#: logsrvd/logsrvd_relay.c:444 logsrvd/logsrvd_relay.c:743 +#: logsrvd/logsrvd_relay.c:850 logsrvd/sendlog.c:251 logsrvd/sendlog.c:260 +#: logsrvd/sendlog.c:291 logsrvd/sendlog.c:338 logsrvd/sendlog.c:615 +#: logsrvd/sendlog.c:1801 plugins/sudoers/audit.c:116 +#: plugins/sudoers/auth/bsdauth.c:150 plugins/sudoers/auth/kerb5.c:121 +#: plugins/sudoers/auth/kerb5.c:148 plugins/sudoers/auth/pam.c:687 +#: plugins/sudoers/auth/rfc1938.c:111 plugins/sudoers/auth/sia.c:59 +#: plugins/sudoers/check_aliases.c:168 plugins/sudoers/cvtsudoers.c:131 +#: plugins/sudoers/cvtsudoers.c:175 plugins/sudoers/cvtsudoers.c:192 +#: plugins/sudoers/cvtsudoers.c:203 plugins/sudoers/cvtsudoers.c:333 +#: plugins/sudoers/cvtsudoers.c:372 plugins/sudoers/cvtsudoers.c:392 +#: plugins/sudoers/cvtsudoers.c:537 plugins/sudoers/cvtsudoers.c:670 +#: plugins/sudoers/cvtsudoers.c:688 plugins/sudoers/cvtsudoers.c:862 +#: plugins/sudoers/cvtsudoers.c:870 plugins/sudoers/cvtsudoers.c:1365 +#: plugins/sudoers/cvtsudoers.c:1369 plugins/sudoers/cvtsudoers.c:1471 +#: plugins/sudoers/cvtsudoers_csv.c:183 plugins/sudoers/cvtsudoers_csv.c:246 +#: plugins/sudoers/cvtsudoers_json.c:76 plugins/sudoers/cvtsudoers_ldif.c:151 +#: plugins/sudoers/cvtsudoers_ldif.c:194 plugins/sudoers/cvtsudoers_ldif.c:235 +#: plugins/sudoers/cvtsudoers_ldif.c:300 plugins/sudoers/cvtsudoers_ldif.c:376 +#: plugins/sudoers/cvtsudoers_ldif.c:430 plugins/sudoers/cvtsudoers_ldif.c:438 +#: plugins/sudoers/cvtsudoers_ldif.c:449 plugins/sudoers/cvtsudoers_ldif.c:456 +#: plugins/sudoers/cvtsudoers_ldif.c:468 plugins/sudoers/cvtsudoers_ldif.c:481 +#: plugins/sudoers/cvtsudoers_ldif.c:489 plugins/sudoers/cvtsudoers_ldif.c:636 +#: plugins/sudoers/cvtsudoers_merge.c:47 plugins/sudoers/cvtsudoers_merge.c:52 +#: plugins/sudoers/cvtsudoers_merge.c:353 +#: plugins/sudoers/cvtsudoers_merge.c:399 +#: plugins/sudoers/cvtsudoers_merge.c:446 +#: plugins/sudoers/cvtsudoers_merge.c:467 +#: plugins/sudoers/cvtsudoers_merge.c:553 +#: plugins/sudoers/cvtsudoers_merge.c:564 +#: plugins/sudoers/cvtsudoers_merge.c:633 +#: plugins/sudoers/cvtsudoers_merge.c:1158 +#: plugins/sudoers/cvtsudoers_merge.c:1231 plugins/sudoers/defaults.c:434 +#: plugins/sudoers/defaults.c:658 plugins/sudoers/defaults.c:1019 +#: plugins/sudoers/defaults.c:1187 plugins/sudoers/editor.c:197 +#: plugins/sudoers/env.c:263 plugins/sudoers/exptilde.c:92 +#: plugins/sudoers/filedigest.c:54 plugins/sudoers/filedigest.c:70 +#: plugins/sudoers/gc.c:57 plugins/sudoers/group_plugin.c:212 +#: plugins/sudoers/interfaces.c:68 plugins/sudoers/iolog.c:268 +#: plugins/sudoers/iolog.c:668 plugins/sudoers/iolog.c:694 +#: plugins/sudoers/ldap.c:184 plugins/sudoers/ldap.c:466 +#: plugins/sudoers/ldap.c:757 plugins/sudoers/ldap.c:921 +#: plugins/sudoers/ldap.c:1337 plugins/sudoers/ldap.c:1763 +#: plugins/sudoers/ldap.c:1800 plugins/sudoers/ldap.c:2016 +#: plugins/sudoers/ldap.c:2117 plugins/sudoers/ldap.c:2133 +#: plugins/sudoers/ldap_conf.c:218 plugins/sudoers/ldap_conf.c:250 +#: plugins/sudoers/ldap_conf.c:302 plugins/sudoers/ldap_conf.c:338 +#: plugins/sudoers/ldap_conf.c:444 plugins/sudoers/ldap_conf.c:459 +#: plugins/sudoers/ldap_conf.c:564 plugins/sudoers/ldap_conf.c:597 +#: plugins/sudoers/ldap_conf.c:689 plugins/sudoers/ldap_conf.c:771 +#: plugins/sudoers/ldap_util.c:294 plugins/sudoers/ldap_util.c:301 +#: plugins/sudoers/ldap_util.c:614 plugins/sudoers/linux_audit.c:86 +#: plugins/sudoers/log_client.c:117 plugins/sudoers/log_client.c:402 +#: plugins/sudoers/log_client.c:715 plugins/sudoers/log_client.c:736 +#: plugins/sudoers/log_client.c:1415 plugins/sudoers/log_client.c:1536 +#: plugins/sudoers/log_client.c:1636 plugins/sudoers/log_client.c:1972 +#: plugins/sudoers/log_client.c:2031 plugins/sudoers/logging.c:110 +#: plugins/sudoers/logging.c:189 plugins/sudoers/logging.c:457 +#: plugins/sudoers/logging.c:672 plugins/sudoers/logging.c:809 +#: plugins/sudoers/match_command.c:335 plugins/sudoers/match_command.c:603 +#: plugins/sudoers/match_command.c:654 plugins/sudoers/match_command.c:728 +#: plugins/sudoers/match_command.c:776 plugins/sudoers/match_digest.c:93 +#: plugins/sudoers/parse.c:267 plugins/sudoers/parse.c:284 +#: plugins/sudoers/parse.c:303 plugins/sudoers/parse.c:322 +#: plugins/sudoers/parse.c:339 plugins/sudoers/parse.c:362 +#: plugins/sudoers/parse.c:373 plugins/sudoers/parse_ldif.c:153 +#: plugins/sudoers/parse_ldif.c:184 plugins/sudoers/parse_ldif.c:253 +#: plugins/sudoers/parse_ldif.c:261 plugins/sudoers/parse_ldif.c:266 +#: plugins/sudoers/parse_ldif.c:342 plugins/sudoers/parse_ldif.c:353 +#: plugins/sudoers/parse_ldif.c:380 plugins/sudoers/parse_ldif.c:397 +#: plugins/sudoers/parse_ldif.c:409 plugins/sudoers/parse_ldif.c:413 +#: plugins/sudoers/parse_ldif.c:427 plugins/sudoers/parse_ldif.c:484 +#: plugins/sudoers/parse_ldif.c:598 plugins/sudoers/parse_ldif.c:628 +#: plugins/sudoers/parse_ldif.c:653 plugins/sudoers/parse_ldif.c:711 +#: plugins/sudoers/parse_ldif.c:728 plugins/sudoers/parse_ldif.c:756 +#: plugins/sudoers/parse_ldif.c:763 plugins/sudoers/policy.c:626 +#: plugins/sudoers/policy.c:1033 plugins/sudoers/prompt.c:93 +#: plugins/sudoers/pwutil.c:199 plugins/sudoers/pwutil.c:270 +#: plugins/sudoers/pwutil.c:348 plugins/sudoers/pwutil.c:522 +#: plugins/sudoers/pwutil.c:587 plugins/sudoers/pwutil.c:659 +#: plugins/sudoers/pwutil.c:857 plugins/sudoers/pwutil.c:945 +#: plugins/sudoers/pwutil.c:993 plugins/sudoers/pwutil.c:1052 +#: plugins/sudoers/sssd.c:145 plugins/sudoers/sssd.c:185 +#: plugins/sudoers/sssd.c:414 plugins/sudoers/sssd.c:479 +#: plugins/sudoers/sssd.c:505 plugins/sudoers/sssd.c:568 +#: plugins/sudoers/sssd.c:761 plugins/sudoers/strvec_join.c:53 +#: plugins/sudoers/stubs.c:112 plugins/sudoers/stubs.c:120 +#: plugins/sudoers/sudoers.c:354 plugins/sudoers/sudoers.c:380 +#: plugins/sudoers/sudoers.c:447 plugins/sudoers/sudoers.c:464 +#: plugins/sudoers/sudoers.c:505 plugins/sudoers/sudoers.c:849 +#: plugins/sudoers/sudoers.c:902 plugins/sudoers/sudoers.c:1054 +#: plugins/sudoers/sudoers.c:1114 plugins/sudoers/sudoers.c:1369 +#: plugins/sudoers/sudoreplay.c:559 plugins/sudoers/sudoreplay.c:562 +#: plugins/sudoers/sudoreplay.c:1278 plugins/sudoers/sudoreplay.c:1334 +#: plugins/sudoers/sudoreplay.c:1530 plugins/sudoers/sudoreplay.c:1534 +#: plugins/sudoers/testsudoers.c:120 plugins/sudoers/testsudoers.c:224 +#: plugins/sudoers/testsudoers.c:241 plugins/sudoers/testsudoers.c:588 +#: plugins/sudoers/timestamp.c:451 plugins/sudoers/timestamp.c:495 +#: plugins/sudoers/timestamp.c:1017 plugins/sudoers/timestamp.c:1146 +#: plugins/sudoers/toke_util.c:78 plugins/sudoers/toke_util.c:106 +#: plugins/sudoers/toke_util.c:131 plugins/sudoers/toke_util.c:161 +#: plugins/sudoers/toke_util.c:200 plugins/sudoers/tsdump.c:123 +#: plugins/sudoers/visudo.c:150 plugins/sudoers/visudo.c:385 +#: plugins/sudoers/visudo.c:391 plugins/sudoers/visudo.c:502 +#: plugins/sudoers/visudo.c:1056 toke.l:1031 toke.l:1163 toke.l:1234 +msgid "unable to allocate memory" +msgstr "nije moguće dodijeliti memoriju" + +#: gram.y:623 +msgid "a digest requires a path name" +msgstr "kontrolni zbroj zahtijeva ime staze" + +#: gram.y:645 +msgid "values for \"CWD\" must start with a '/', '~', or '*'" +msgstr "vrijednosti za „CWD“ moraju započeti s „/“, „~“, ili „*“" + +#: gram.y:651 +msgid "\"CWD\" path too long" +msgstr "„CWD“ staza je preduga" + +#: gram.y:661 +msgid "values for \"CHROOT\" must start with a '/', '~', or '*'" +msgstr "vrijednosti za „CHROOT“ moraju započeti s „/“, „~“, ili „*“" + +#: gram.y:667 +msgid "\"CHROOT\" path too long" +msgstr "„CHROOT“ staza je preduga" + +#: gram.y:802 +#, c-format +msgid "syntax error, reserved word %s used as an alias name" +msgstr "sintaktična greška -- rezervirana riječ %s korištena kao alias" + +#: gram.y:825 +msgid "invalid notbefore value" +msgstr "nevaljana ‘notbefore’ vrijednost" + +#: gram.y:834 +msgid "invalid notafter value" +msgstr "nevaljana ‘notafter’ vrijednost" + +#: gram.y:844 plugins/sudoers/policy.c:385 +msgid "timeout value too large" +msgstr "vrijednost za tajmaut je prevelika" + +#: gram.y:846 plugins/sudoers/policy.c:387 +msgid "invalid timeout value" +msgstr "nevaljana vrijednost za tajmaut" + +#: gram.y:967 plugins/sudoers/sudoers.c:1072 +msgid "command too long" +msgstr "naredba je preduga" + +#: gram.y:1224 plugins/sudoers/check_aliases.c:96 +#: plugins/sudoers/defaults.c:1276 +#, c-format +msgid "%s:%d:%d: %s\n" +msgstr "%s:%d:%d: %s\n" + +#: gram.y:1278 +#, c-format +msgid "Alias \"%s\" already defined" +msgstr "Alias „%s“ je već ranije definiran" + +#: gram.y:1777 gram.y:1827 lib/eventlog/eventlog.c:235 +#: lib/eventlog/eventlog.c:757 lib/eventlog/eventlog.c:830 +#: lib/eventlog/eventlog.c:833 lib/eventlog/eventlog.c:1135 +#: lib/iolog/iolog_filter.c:142 lib/iolog/iolog_filter.c:202 +#: lib/iolog/iolog_filter.c:232 lib/iolog/iolog_json.c:150 +#: lib/iolog/iolog_json.c:381 lib/iolog/iolog_json.c:412 +#: lib/iolog/iolog_legacy.c:100 lib/iolog/iolog_legacy.c:111 +#: lib/iolog/iolog_legacy.c:123 lib/iolog/iolog_legacy.c:133 +#: lib/iolog/iolog_legacy.c:139 lib/iolog/iolog_loginfo.c:76 +#: lib/iolog/iolog_loginfo.c:212 logsrvd/iolog_writer.c:95 +#: logsrvd/iolog_writer.c:100 logsrvd/iolog_writer.c:134 +#: logsrvd/iolog_writer.c:171 logsrvd/iolog_writer.c:181 +#: logsrvd/iolog_writer.c:194 logsrvd/iolog_writer.c:214 +#: logsrvd/iolog_writer.c:224 logsrvd/iolog_writer.c:243 +#: logsrvd/iolog_writer.c:253 logsrvd/iolog_writer.c:264 +#: logsrvd/iolog_writer.c:274 logsrvd/iolog_writer.c:286 +#: logsrvd/iolog_writer.c:296 logsrvd/iolog_writer.c:306 +#: logsrvd/iolog_writer.c:316 logsrvd/iolog_writer.c:328 +#: logsrvd/iolog_writer.c:364 logsrvd/iolog_writer.c:370 +#: logsrvd/iolog_writer.c:377 logsrvd/iolog_writer.c:383 +#: logsrvd/iolog_writer.c:567 logsrvd/logsrv_util.c:69 logsrvd/logsrvd.c:301 +#: logsrvd/logsrvd.c:310 logsrvd/logsrvd.c:453 logsrvd/logsrvd.c:490 +#: logsrvd/logsrvd.c:522 logsrvd/logsrvd.c:576 logsrvd/logsrvd.c:611 +#: logsrvd/logsrvd.c:660 logsrvd/logsrvd.c:696 logsrvd/logsrvd.c:732 +#: logsrvd/logsrvd.c:1124 logsrvd/logsrvd.c:1439 logsrvd/logsrvd.c:1446 +#: logsrvd/logsrvd.c:1582 logsrvd/logsrvd.c:1587 logsrvd/logsrvd.c:1771 +#: logsrvd/logsrvd.c:1988 logsrvd/logsrvd_conf.c:357 +#: logsrvd/logsrvd_conf.c:370 logsrvd/logsrvd_conf.c:511 +#: logsrvd/logsrvd_conf.c:534 logsrvd/logsrvd_conf.c:538 +#: logsrvd/logsrvd_conf.c:556 logsrvd/logsrvd_conf.c:626 +#: logsrvd/logsrvd_conf.c:649 logsrvd/logsrvd_conf.c:678 +#: logsrvd/logsrvd_conf.c:692 logsrvd/logsrvd_conf.c:706 +#: logsrvd/logsrvd_conf.c:720 logsrvd/logsrvd_conf.c:734 +#: logsrvd/logsrvd_conf.c:748 logsrvd/logsrvd_conf.c:829 +#: logsrvd/logsrvd_conf.c:1036 logsrvd/logsrvd_conf.c:1053 +#: logsrvd/logsrvd_conf.c:1448 logsrvd/logsrvd_conf.c:1595 +#: logsrvd/logsrvd_conf.c:1621 logsrvd/logsrvd_conf.c:1633 +#: logsrvd/logsrvd_conf.c:1640 logsrvd/logsrvd_conf.c:1646 +#: logsrvd/logsrvd_conf.c:1742 logsrvd/logsrvd_journal.c:76 +#: logsrvd/logsrvd_journal.c:125 logsrvd/logsrvd_journal.c:216 +#: logsrvd/logsrvd_journal.c:246 logsrvd/logsrvd_journal.c:250 +#: logsrvd/logsrvd_journal.c:258 logsrvd/logsrvd_journal.c:281 +#: logsrvd/logsrvd_journal.c:285 logsrvd/logsrvd_journal.c:433 +#: logsrvd/logsrvd_local.c:215 logsrvd/logsrvd_local.c:278 +#: logsrvd/logsrvd_local.c:466 logsrvd/logsrvd_local.c:472 +#: logsrvd/logsrvd_local.c:491 logsrvd/logsrvd_queue.c:158 +#: logsrvd/logsrvd_queue.c:189 logsrvd/logsrvd_queue.c:266 +#: logsrvd/sendlog.c:251 logsrvd/sendlog.c:260 logsrvd/sendlog.c:291 +#: logsrvd/sendlog.c:338 logsrvd/sendlog.c:615 logsrvd/sendlog.c:1503 +#: logsrvd/sendlog.c:1510 logsrvd/sendlog.c:1733 logsrvd/sendlog.c:1801 +#: logsrvd/tls_init.c:305 logsrvd/tls_init.c:329 logsrvd/tls_init.c:340 +#: plugins/sudoers/audit.c:116 plugins/sudoers/auth/pam.c:502 +#: plugins/sudoers/auth/pam.c:687 plugins/sudoers/auth/rfc1938.c:111 +#: plugins/sudoers/check_aliases.c:168 plugins/sudoers/cvtsudoers.c:131 +#: plugins/sudoers/cvtsudoers.c:174 plugins/sudoers/cvtsudoers.c:191 +#: plugins/sudoers/cvtsudoers.c:202 plugins/sudoers/cvtsudoers.c:332 +#: plugins/sudoers/cvtsudoers.c:536 plugins/sudoers/cvtsudoers.c:669 +#: plugins/sudoers/cvtsudoers.c:687 plugins/sudoers/cvtsudoers.c:862 +#: plugins/sudoers/cvtsudoers.c:869 plugins/sudoers/cvtsudoers.c:1365 +#: plugins/sudoers/cvtsudoers.c:1369 plugins/sudoers/cvtsudoers.c:1471 +#: plugins/sudoers/cvtsudoers_csv.c:182 plugins/sudoers/cvtsudoers_csv.c:245 +#: plugins/sudoers/cvtsudoers_json.c:75 plugins/sudoers/cvtsudoers_ldif.c:150 +#: plugins/sudoers/cvtsudoers_ldif.c:193 plugins/sudoers/cvtsudoers_ldif.c:234 +#: plugins/sudoers/cvtsudoers_ldif.c:299 plugins/sudoers/cvtsudoers_ldif.c:375 +#: plugins/sudoers/cvtsudoers_ldif.c:429 plugins/sudoers/cvtsudoers_ldif.c:437 +#: plugins/sudoers/cvtsudoers_ldif.c:448 plugins/sudoers/cvtsudoers_ldif.c:455 +#: plugins/sudoers/cvtsudoers_ldif.c:467 plugins/sudoers/cvtsudoers_ldif.c:480 +#: plugins/sudoers/cvtsudoers_ldif.c:488 plugins/sudoers/cvtsudoers_ldif.c:635 +#: plugins/sudoers/cvtsudoers_merge.c:47 plugins/sudoers/cvtsudoers_merge.c:51 +#: plugins/sudoers/cvtsudoers_merge.c:353 +#: plugins/sudoers/cvtsudoers_merge.c:399 +#: plugins/sudoers/cvtsudoers_merge.c:445 +#: plugins/sudoers/cvtsudoers_merge.c:466 +#: plugins/sudoers/cvtsudoers_merge.c:553 +#: plugins/sudoers/cvtsudoers_merge.c:561 +#: plugins/sudoers/cvtsudoers_merge.c:564 +#: plugins/sudoers/cvtsudoers_merge.c:630 +#: plugins/sudoers/cvtsudoers_merge.c:633 +#: plugins/sudoers/cvtsudoers_merge.c:1157 +#: plugins/sudoers/cvtsudoers_merge.c:1231 plugins/sudoers/defaults.c:434 +#: plugins/sudoers/defaults.c:658 plugins/sudoers/defaults.c:1019 +#: plugins/sudoers/defaults.c:1187 plugins/sudoers/editor.c:197 +#: plugins/sudoers/env.c:263 plugins/sudoers/exptilde.c:92 +#: plugins/sudoers/filedigest.c:54 plugins/sudoers/filedigest.c:70 +#: plugins/sudoers/gc.c:57 plugins/sudoers/group_plugin.c:211 +#: plugins/sudoers/interfaces.c:68 plugins/sudoers/iolog.c:268 +#: plugins/sudoers/iolog.c:668 plugins/sudoers/iolog.c:694 +#: plugins/sudoers/ldap.c:184 plugins/sudoers/ldap.c:466 +#: plugins/sudoers/ldap.c:757 plugins/sudoers/ldap.c:921 +#: plugins/sudoers/ldap.c:1337 plugins/sudoers/ldap.c:1763 +#: plugins/sudoers/ldap.c:1800 plugins/sudoers/ldap.c:2016 +#: plugins/sudoers/ldap.c:2117 plugins/sudoers/ldap.c:2133 +#: plugins/sudoers/ldap_conf.c:218 plugins/sudoers/ldap_conf.c:250 +#: plugins/sudoers/ldap_conf.c:302 plugins/sudoers/ldap_conf.c:338 +#: plugins/sudoers/ldap_conf.c:444 plugins/sudoers/ldap_conf.c:459 +#: plugins/sudoers/ldap_conf.c:564 plugins/sudoers/ldap_conf.c:597 +#: plugins/sudoers/ldap_conf.c:688 plugins/sudoers/ldap_conf.c:771 +#: plugins/sudoers/ldap_util.c:293 plugins/sudoers/ldap_util.c:300 +#: plugins/sudoers/ldap_util.c:614 plugins/sudoers/linux_audit.c:86 +#: plugins/sudoers/log_client.c:117 plugins/sudoers/log_client.c:228 +#: plugins/sudoers/log_client.c:250 plugins/sudoers/log_client.c:264 +#: plugins/sudoers/log_client.c:402 plugins/sudoers/log_client.c:715 +#: plugins/sudoers/log_client.c:736 plugins/sudoers/log_client.c:1415 +#: plugins/sudoers/log_client.c:1536 plugins/sudoers/log_client.c:1636 +#: plugins/sudoers/log_client.c:1972 plugins/sudoers/log_client.c:2031 +#: plugins/sudoers/logging.c:110 plugins/sudoers/logging.c:188 +#: plugins/sudoers/logging.c:189 plugins/sudoers/logging.c:457 +#: plugins/sudoers/logging.c:672 plugins/sudoers/logging.c:809 +#: plugins/sudoers/logging.c:880 plugins/sudoers/logging.c:892 +#: plugins/sudoers/match_command.c:334 plugins/sudoers/match_command.c:602 +#: plugins/sudoers/match_command.c:653 plugins/sudoers/match_command.c:728 +#: plugins/sudoers/match_command.c:775 plugins/sudoers/match_digest.c:93 +#: plugins/sudoers/parse.c:266 plugins/sudoers/parse.c:283 +#: plugins/sudoers/parse.c:302 plugins/sudoers/parse.c:321 +#: plugins/sudoers/parse.c:338 plugins/sudoers/parse.c:361 +#: plugins/sudoers/parse.c:372 plugins/sudoers/parse_ldif.c:152 +#: plugins/sudoers/parse_ldif.c:183 plugins/sudoers/parse_ldif.c:252 +#: plugins/sudoers/parse_ldif.c:260 plugins/sudoers/parse_ldif.c:265 +#: plugins/sudoers/parse_ldif.c:341 plugins/sudoers/parse_ldif.c:352 +#: plugins/sudoers/parse_ldif.c:379 plugins/sudoers/parse_ldif.c:396 +#: plugins/sudoers/parse_ldif.c:408 plugins/sudoers/parse_ldif.c:412 +#: plugins/sudoers/parse_ldif.c:426 plugins/sudoers/parse_ldif.c:484 +#: plugins/sudoers/parse_ldif.c:598 plugins/sudoers/parse_ldif.c:627 +#: plugins/sudoers/parse_ldif.c:652 plugins/sudoers/parse_ldif.c:710 +#: plugins/sudoers/parse_ldif.c:727 plugins/sudoers/parse_ldif.c:755 +#: plugins/sudoers/parse_ldif.c:762 plugins/sudoers/policy.c:154 +#: plugins/sudoers/policy.c:163 plugins/sudoers/policy.c:172 +#: plugins/sudoers/policy.c:201 plugins/sudoers/policy.c:370 +#: plugins/sudoers/policy.c:385 plugins/sudoers/policy.c:387 +#: plugins/sudoers/policy.c:425 plugins/sudoers/policy.c:434 +#: plugins/sudoers/policy.c:482 plugins/sudoers/policy.c:492 +#: plugins/sudoers/policy.c:501 plugins/sudoers/policy.c:510 +#: plugins/sudoers/policy.c:519 plugins/sudoers/policy.c:626 +#: plugins/sudoers/policy.c:1033 plugins/sudoers/prompt.c:93 +#: plugins/sudoers/pwutil.c:199 plugins/sudoers/pwutil.c:270 +#: plugins/sudoers/pwutil.c:348 plugins/sudoers/pwutil.c:522 +#: plugins/sudoers/pwutil.c:587 plugins/sudoers/pwutil.c:659 +#: plugins/sudoers/pwutil.c:857 plugins/sudoers/pwutil.c:945 +#: plugins/sudoers/pwutil.c:993 plugins/sudoers/pwutil.c:1052 +#: plugins/sudoers/set_perms.c:363 plugins/sudoers/set_perms.c:706 +#: plugins/sudoers/set_perms.c:1073 plugins/sudoers/set_perms.c:1380 +#: plugins/sudoers/set_perms.c:1549 plugins/sudoers/sssd.c:144 +#: plugins/sudoers/sssd.c:185 plugins/sudoers/sssd.c:414 +#: plugins/sudoers/sssd.c:479 plugins/sudoers/sssd.c:505 +#: plugins/sudoers/sssd.c:568 plugins/sudoers/sssd.c:761 +#: plugins/sudoers/strvec_join.c:53 plugins/sudoers/stubs.c:112 +#: plugins/sudoers/stubs.c:120 plugins/sudoers/sudoers.c:354 +#: plugins/sudoers/sudoers.c:380 plugins/sudoers/sudoers.c:447 +#: plugins/sudoers/sudoers.c:464 plugins/sudoers/sudoers.c:505 +#: plugins/sudoers/sudoers.c:849 plugins/sudoers/sudoers.c:902 +#: plugins/sudoers/sudoers.c:1054 plugins/sudoers/sudoers.c:1114 +#: plugins/sudoers/sudoers.c:1369 plugins/sudoers/sudoreplay.c:559 +#: plugins/sudoers/sudoreplay.c:562 plugins/sudoers/sudoreplay.c:1278 +#: plugins/sudoers/sudoreplay.c:1334 plugins/sudoers/sudoreplay.c:1530 +#: plugins/sudoers/sudoreplay.c:1534 plugins/sudoers/testsudoers.c:120 +#: plugins/sudoers/testsudoers.c:224 plugins/sudoers/testsudoers.c:241 +#: plugins/sudoers/testsudoers.c:588 plugins/sudoers/timestamp.c:451 +#: plugins/sudoers/timestamp.c:495 plugins/sudoers/timestamp.c:1017 +#: plugins/sudoers/timestamp.c:1146 plugins/sudoers/toke_util.c:78 +#: plugins/sudoers/toke_util.c:106 plugins/sudoers/toke_util.c:131 +#: plugins/sudoers/toke_util.c:160 plugins/sudoers/toke_util.c:200 +#: plugins/sudoers/tsdump.c:123 plugins/sudoers/visudo.c:150 +#: plugins/sudoers/visudo.c:385 plugins/sudoers/visudo.c:391 +#: plugins/sudoers/visudo.c:502 plugins/sudoers/visudo.c:1056 toke.l:1031 +#: toke.l:1163 toke.l:1226 toke.l:1234 +#, c-format +msgid "%s: %s" +msgstr "%s: %s" + +#: lib/eventlog/eventlog.c:303 +#, c-format +msgid "unable to dup stdin: %m" +msgstr "nije moguće duplicirati stdin: %m" + +#: lib/eventlog/eventlog.c:345 +#, c-format +msgid "unable to execute %s: %m" +msgstr "nije moguće izvršiti %s: %m" + +#: lib/eventlog/eventlog.c:393 plugins/sudoers/auth/aix_auth.c:198 +msgid "unable to fork" +msgstr "nije moguće stvoriti novi proces (greška u fork())" + +#: lib/eventlog/eventlog.c:403 lib/eventlog/eventlog.c:468 +#, c-format +msgid "unable to fork: %m" +msgstr "nije moguće stvoriti novi proces (greška u fork()): %m" + +#: lib/eventlog/eventlog.c:458 +#, c-format +msgid "unable to open pipe: %m" +msgstr "nije moguće otvoriti cijev: %m" + +#: lib/eventlog/eventlog.c:960 +#, c-format +msgid "%8s : %s" +msgstr "%8s : %s" + +#: lib/eventlog/eventlog.c:989 +#, c-format +msgid "%8s : (command continued) %s" +msgstr "%8s : (naredba se nastavlja) %s" + +#: lib/iolog/iolog_filter.c:133 plugins/sudoers/defaults.c:1242 +#: plugins/sudoers/sudoreplay.c:1290 plugins/sudoers/sudoreplay.c:1586 +#, c-format +msgid "invalid regular expression \"%s\": %s" +msgstr "nevaljani regularni izraz: „%s“: %s" + +#: lib/iolog/iolog_json.c:140 +#, c-format +msgid "expected JSON_STRING, got %d" +msgstr "očekivan je JSON_STRING, dobiven je %d" + +#: lib/iolog/iolog_json.c:145 +msgid "JSON_ARRAY too large" +msgstr "JSON_ARRAY je prevelik" + +#: lib/iolog/iolog_json.c:404 +msgid "missing double quote in name" +msgstr "imenu nedostaje navodnik (\")" + +#: lib/iolog/iolog_json.c:511 +msgid "missing JSON_OBJECT" +msgstr "nedostaje JSON_OBJECT" + +#: lib/iolog/iolog_json.c:515 +#, c-format +msgid "expected JSON_OBJECT, got %d" +msgstr "očekivan je JSON_OBJECT, dobiven je %d" + +#: lib/iolog/iolog_json.c:632 +#, c-format +msgid "json stack exhausted (max %u frames)" +msgstr "json stog je potrošen (max %u okvira)" + +#: lib/iolog/iolog_json.c:706 +msgid "objects must consist of name:value pairs" +msgstr "objekti se moraju sastojati od parova ime:vrijednost" + +#: lib/iolog/iolog_json.c:711 lib/iolog/iolog_json.c:742 +#: lib/iolog/iolog_json.c:786 lib/iolog/iolog_json.c:808 +#: lib/iolog/iolog_json.c:830 lib/iolog/iolog_json.c:852 +#: lib/iolog/iolog_json.c:874 +msgid "missing separator between values" +msgstr "nedostaje separator između vrijednosti" + +#: lib/iolog/iolog_json.c:726 lib/iolog/iolog_json.c:900 +msgid "unmatched close brace" +msgstr "nesparena zatvorena vitičasta zagrada }" + +#: lib/iolog/iolog_json.c:737 +msgid "unexpected array" +msgstr "neočekivano polje" + +#: lib/iolog/iolog_json.c:757 lib/iolog/iolog_json.c:903 +msgid "unmatched close bracket" +msgstr "nesparena zatvorena uglata zagrada ]" + +#: lib/iolog/iolog_json.c:768 +msgid "unexpected string" +msgstr "neočekivani string" + +#: lib/iolog/iolog_json.c:779 +msgid "missing colon after name" +msgstr "nedostaje dvotočka iza imena" + +#: lib/iolog/iolog_json.c:800 lib/iolog/iolog_json.c:822 +msgid "unexpected boolean" +msgstr "neočekivana logička operacija (boolean)" + +#: lib/iolog/iolog_json.c:844 +msgid "unexpected null" +msgstr "neočekivana nula" + +#: lib/iolog/iolog_json.c:865 +msgid "unexpected number" +msgstr "neočekivani broj" + +#: lib/iolog/iolog_json.c:912 +msgid "parse error" +msgstr "greška u raščlambi" + +#: lib/iolog/iolog_legacy.c:65 +#, c-format +msgid "%s: invalid log file" +msgstr "%s: nevaljana dnevnička datoteka" + +#: lib/iolog/iolog_legacy.c:83 +#, c-format +msgid "%s: time stamp field is missing" +msgstr "%s: nedostaje polje za vremensku oznaku" + +#: lib/iolog/iolog_legacy.c:89 +#, c-format +msgid "%s: time stamp %s: %s" +msgstr "%s: vremenska oznaka %s: %s" + +#: lib/iolog/iolog_legacy.c:96 +#, c-format +msgid "%s: user field is missing" +msgstr "%s: nedostaje polje za korisnika" + +#: lib/iolog/iolog_legacy.c:107 +#, c-format +msgid "%s: runas user field is missing" +msgstr "%s: nedostaje polje za runas-korisnika" + +#: lib/iolog/iolog_legacy.c:118 +#, c-format +msgid "%s: runas group field is missing" +msgstr "%s: nedostaje polje za runas-grupe" + +#: lib/iolog/iolog_mkdirs.c:89 +#, c-format +msgid "%s exists but is not a directory (0%o)" +msgstr "%s postoji ali nije direktorij (0%o)" + +#: lib/iolog/iolog_mkdirs.c:123 lib/iolog/iolog_mkdtemp.c:79 +#: logsrvd/iolog_writer.c:781 plugins/sudoers/timestamp.c:209 +#, c-format +msgid "unable to mkdir %s" +msgstr "nije moguće napraviti direktorij %s" + +#: lib/iolog/iolog_mkdtemp.c:84 plugins/sudoers/visudo.c:757 +#: plugins/sudoers/visudo.c:791 plugins/sudoers/visudo.c:797 +#, c-format +msgid "unable to change mode of %s to 0%o" +msgstr "nije moguće promijeniti mȏd od %s na 0%o" + +#: lib/iolog/iolog_timing.c:261 +#, c-format +msgid "error reading timing file: %s" +msgstr "greška pri čitanju tajming datoteke: %s" + +#: lib/iolog/iolog_timing.c:268 +#, c-format +msgid "invalid timing file line: %s" +msgstr "nevaljani redak u tajming datoteci: %s" + +#: logsrvd/iolog_writer.c:65 +#, c-format +msgid "%s: protocol error: NULL key" +msgstr "%s: greška u protokolu : NULL ključ" + +#: logsrvd/iolog_writer.c:69 +#, c-format +msgid "%s: protocol error: wrong type for %s" +msgstr "%s: greška u protokolu : krivi tip za %s" + +#: logsrvd/iolog_writer.c:74 logsrvd/logsrvd_local.c:109 +#: logsrvd/logsrvd_local.c:123 logsrvd/logsrvd_local.c:131 +#: logsrvd/logsrvd_local.c:149 +#, c-format +msgid "%s: protocol error: NULL value found in %s" +msgstr "%s: greška u protokolu : u %s je pronađena NULL vrijednost" + +#: logsrvd/iolog_writer.c:141 plugins/sudoers/logging.c:980 +#: plugins/sudoers/policy.c:593 +msgid "unable to generate UUID" +msgstr "nije moguće generirati UUID" + +#: logsrvd/iolog_writer.c:341 logsrvd/iolog_writer.c:346 +#: logsrvd/iolog_writer.c:351 logsrvd/iolog_writer.c:356 +#, c-format +msgid "%s: protocol error: %s missing from AcceptMessage" +msgstr "%s: greška u protokolu : %s nedostaje u AcceptMessage" + +#: logsrvd/iolog_writer.c:417 +#, c-format +msgid "%s: unable to format session id" +msgstr "%s: nije moguće oblikovati id sesije" + +#: logsrvd/iolog_writer.c:431 logsrvd/iolog_writer.c:445 +#: logsrvd/iolog_writer.c:459 logsrvd/iolog_writer.c:474 +#: logsrvd/iolog_writer.c:488 logsrvd/iolog_writer.c:502 +#, c-format +msgid "%s: %s is not set" +msgstr "%s: %s nije postavljen" + +#: logsrvd/iolog_writer.c:538 logsrvd/iolog_writer.c:545 +#, c-format +msgid "unable to expand iolog path %s" +msgstr "nije moguće proširiti stazu iolog (I/O FD) %s" + +#: logsrvd/iolog_writer.c:563 +#, c-format +msgid "unable to create iolog path %s" +msgstr "nije moguće stvoriti stazu iolog (I/O FD) %s" + +#: logsrvd/iolog_writer.c:593 +#, c-format +msgid "invalid iofd %d" +msgstr "nevaljani iofd (I/O FD) %d" + +#: logsrvd/iolog_writer.c:613 +#, c-format +msgid "error closing iofd %d: %s" +msgstr "greška pri zatvaranju iofd (I/O FD) %d: %s" + +#: logsrvd/iolog_writer.c:633 +#, c-format +msgid "error flushing iofd %d: %s" +msgstr "greška pri brisanju deskriptora datoteke %d: %s" + +#: logsrvd/iolog_writer.c:751 +#, c-format +msgid "invalid I/O log %s: %s referenced but not present" +msgstr "nevaljani U/I zapis %s: %s ima referenciju ali ne postoji" + +#: logsrvd/iolog_writer.c:763 logsrvd/logsrvd_journal.c:385 +#, c-format +msgid "%s: unable to find resume point [%lld, %ld]" +msgstr "%s: nije moguće naći točku [%lld, %ld] od koje treba nastaviti" + +#: logsrvd/iolog_writer.c:785 logsrvd/logsrvd_journal.c:428 +#: logsrvd/logsrvd_queue.c:115 logsrvd/tls_init.c:256 +#: plugins/sudoers/check.c:292 plugins/sudoers/cvtsudoers.c:730 +#: plugins/sudoers/cvtsudoers.c:751 plugins/sudoers/cvtsudoers.c:1431 +#: plugins/sudoers/cvtsudoers_csv.c:695 plugins/sudoers/cvtsudoers_json.c:898 +#: plugins/sudoers/cvtsudoers_ldif.c:709 plugins/sudoers/sudoers.c:1152 +#: plugins/sudoers/sudoers.c:1182 plugins/sudoers/sudoreplay.c:1496 +#: plugins/sudoers/timestamp.c:460 plugins/sudoers/tsdump.c:128 +#: plugins/sudoers/visudo.c:975 +#, c-format +msgid "unable to open %s" +msgstr "nije moguće otvoriti %s" + +#: logsrvd/iolog_writer.c:797 logsrvd/logsrv_util.c:105 +#: logsrvd/logsrv_util.c:112 plugins/sudoers/sudoreplay.c:355 +#: plugins/sudoers/sudoreplay.c:361 +#, c-format +msgid "unable to open %s/%s" +msgstr "nije moguće otvoriti %s/%s" + +#: logsrvd/iolog_writer.c:810 +#, c-format +msgid "unable to copy %s/%s to %s/%s: %s" +msgstr "nije moguće kopirati %s/%s u %s/%s: %s" + +#: logsrvd/iolog_writer.c:839 logsrvd/logsrvd_journal.c:198 +#, c-format +msgid "unable to rename %s to %s" +msgstr "nije moguće preimenovati %s u %s" + +#: logsrvd/logsrv_util.c:147 logsrvd/logsrv_util.c:176 +#, c-format +msgid "%s/%s: unable to find resume point [%lld, %ld]" +msgstr "%s/%s: nije moguće naći točku [%lld, %ld] od koje treba nastaviti" + +#: logsrvd/logsrv_util.c:159 +#, c-format +msgid "missing I/O log file %s/%s" +msgstr "nema dnevničke datoteke U/I %s/%s" + +#: logsrvd/logsrv_util.c:166 +#, c-format +msgid "%s/%s: unable to seek forward %zu" +msgstr "%s/%s: nije moguće skočiti naprijed na %zu" + +#: logsrvd/logsrvd.c:271 logsrvd/logsrvd_queue.c:135 +msgid "unable to connect to relay" +msgstr "nije moguće spojiti se na relej" + +#: logsrvd/logsrvd.c:330 logsrvd/logsrvd_relay.c:842 +#, c-format +msgid "server message too large: %zu" +msgstr "poruka servera je prevelika: %zu" + +#: logsrvd/logsrvd.c:422 logsrvd/logsrvd.c:545 logsrvd/logsrvd.c:631 +#: logsrvd/logsrvd.c:873 logsrvd/logsrvd.c:887 logsrvd/logsrvd.c:1049 +#: logsrvd/logsrvd.c:1174 logsrvd/logsrvd.c:1347 logsrvd/logsrvd.c:1365 +#: logsrvd/logsrvd.c:1464 logsrvd/logsrvd.c:1589 logsrvd/logsrvd.c:1773 +#: logsrvd/logsrvd_journal.c:497 logsrvd/logsrvd_local.c:238 +#: logsrvd/logsrvd_queue.c:164 logsrvd/logsrvd_relay.c:172 +#: logsrvd/logsrvd_relay.c:249 logsrvd/logsrvd_relay.c:253 +#: logsrvd/logsrvd_relay.c:389 logsrvd/logsrvd_relay.c:581 +#: logsrvd/logsrvd_relay.c:742 logsrvd/logsrvd_relay.c:1131 +#: logsrvd/sendlog.c:1291 logsrvd/tls_client.c:136 logsrvd/tls_client.c:152 +#: logsrvd/tls_client.c:216 plugins/sudoers/audit.c:278 +#: plugins/sudoers/iolog.c:1031 plugins/sudoers/iolog.c:1164 +#: plugins/sudoers/iolog.c:1262 plugins/sudoers/log_client.c:121 +#: plugins/sudoers/log_client.c:343 plugins/sudoers/log_client.c:359 +#: plugins/sudoers/log_client.c:407 plugins/sudoers/log_client.c:611 +#: plugins/sudoers/log_client.c:618 plugins/sudoers/log_client.c:1103 +#: plugins/sudoers/log_client.c:1384 plugins/sudoers/log_client.c:1425 +#: plugins/sudoers/log_client.c:1433 plugins/sudoers/log_client.c:1592 +#: plugins/sudoers/log_client.c:1710 plugins/sudoers/log_client.c:2039 +#: plugins/sudoers/log_client.c:2047 plugins/sudoers/logging.c:147 +#: plugins/sudoers/logging.c:205 plugins/sudoers/sudoreplay.c:519 +#: plugins/sudoers/sudoreplay.c:566 plugins/sudoers/sudoreplay.c:808 +#: plugins/sudoers/sudoreplay.c:920 plugins/sudoers/sudoreplay.c:1011 +#: plugins/sudoers/sudoreplay.c:1026 plugins/sudoers/sudoreplay.c:1033 +#: plugins/sudoers/sudoreplay.c:1040 plugins/sudoers/sudoreplay.c:1047 +#: plugins/sudoers/sudoreplay.c:1054 plugins/sudoers/sudoreplay.c:1181 +msgid "unable to add event to queue" +msgstr "nije moguće dodati događaj u red čekanja" + +#: logsrvd/logsrvd.c:446 logsrvd/logsrvd.c:483 logsrvd/logsrvd.c:515 +#: logsrvd/logsrvd.c:569 logsrvd/logsrvd.c:648 logsrvd/logsrvd.c:684 +#: logsrvd/logsrvd.c:720 logsrvd/logsrvd.c:756 logsrvd/logsrvd_relay.c:510 +#: logsrvd/logsrvd_relay.c:543 +#, c-format +msgid "unexpected state %d for %s" +msgstr "neočekivano stanje %d za %s" + +#: logsrvd/logsrvd.c:447 logsrvd/logsrvd.c:484 logsrvd/logsrvd.c:516 +#: logsrvd/logsrvd.c:570 logsrvd/logsrvd.c:649 logsrvd/logsrvd.c:685 +#: logsrvd/logsrvd.c:721 logsrvd/logsrvd.c:757 logsrvd/logsrvd_relay.c:512 +#: logsrvd/logsrvd_relay.c:545 +msgid "state machine error" +msgstr "greška automata (state machine)" + +#: logsrvd/logsrvd.c:453 logsrvd/logsrvd.c:454 +msgid "invalid AcceptMessage" +msgstr "nevaljani AcceptMessage" + +#: logsrvd/logsrvd.c:490 logsrvd/logsrvd.c:491 +msgid "invalid RejectMessage" +msgstr "nevaljani RejectMessage" + +#: logsrvd/logsrvd.c:522 logsrvd/logsrvd.c:523 +msgid "invalid ExitMessage" +msgstr "nevaljani ExitMessage" + +#: logsrvd/logsrvd.c:576 logsrvd/logsrvd.c:577 +msgid "invalid RestartMessage" +msgstr "nevaljani RestartMessage" + +#: logsrvd/logsrvd.c:611 logsrvd/logsrvd.c:612 +msgid "invalid AlertMessage" +msgstr "nevaljani AlertMessage" + +#: logsrvd/logsrvd.c:653 logsrvd/logsrvd.c:689 logsrvd/logsrvd.c:725 +#, c-format +msgid "%s: unexpected IoBuffer" +msgstr "%s: neočekivani IoBuffer" + +#: logsrvd/logsrvd.c:654 logsrvd/logsrvd.c:690 logsrvd/logsrvd.c:726 +msgid "protocol error" +msgstr "greška protokola" + +#: logsrvd/logsrvd.c:660 logsrvd/logsrvd.c:661 +msgid "invalid IoBuffer" +msgstr "nevaljani IoBuffer" + +#: logsrvd/logsrvd.c:696 logsrvd/logsrvd.c:697 +msgid "invalid ChangeWindowSize" +msgstr "nevaljani ChangeWindowSize" + +#: logsrvd/logsrvd.c:732 logsrvd/logsrvd.c:733 +msgid "invalid CommandSuspend" +msgstr "nevaljani CommandSuspend" + +#: logsrvd/logsrvd.c:782 logsrvd/logsrvd_journal.c:296 +#: logsrvd/logsrvd_relay.c:652 logsrvd/sendlog.c:1192 +#: plugins/sudoers/log_client.c:1582 +#, c-format +msgid "unable to unpack %s size %zu" +msgstr "nije moguće raspakirati %s veličinu %zu" + +#: logsrvd/logsrvd.c:827 logsrvd/logsrvd_journal.c:370 +#: logsrvd/logsrvd_relay.c:676 +#, c-format +msgid "unexpected type_case value %d in %s from %s" +msgstr "neočekivana type_case vrijednost %d u %s iz %s" + +#: logsrvd/logsrvd.c:829 +msgid "unrecognized ClientMessage type" +msgstr "neprepoznati tip ClientMessage-a" + +#: logsrvd/logsrvd.c:919 +#, c-format +msgid "timed out writing to client %s" +msgstr "vrijeme za pisanje klijentu %s je isteklo" + +#: logsrvd/logsrvd.c:924 logsrvd/logsrvd_relay.c:914 logsrvd/sendlog.c:1395 +#, c-format +msgid "missing write buffer for client %s" +msgstr "nema međuspremnika za pisanje za %s klijenta" + +#: logsrvd/logsrvd.c:1020 +#, c-format +msgid "timed out reading from client %s" +msgstr "isteklo je vrijeme za čitanje od %s klijenta" + +#: logsrvd/logsrvd.c:1061 logsrvd/logsrvd_relay.c:777 +#, c-format +msgid "EOF from %s without proper TLS shutdown" +msgstr "EOF od %s nije propisno zatvaranje TLS-a" + +#: logsrvd/logsrvd.c:1105 logsrvd/logsrvd_relay.c:205 logsrvd/sendlog.c:322 +#: plugins/sudoers/log_client.c:721 +#, c-format +msgid "client message too large: %zu" +msgstr "poruka klijenta je prevelika: %zu" + +#: logsrvd/logsrvd.c:1106 logsrvd/logsrvd_journal.c:259 +#: logsrvd/logsrvd_journal.c:260 +msgid "client message too large" +msgstr "poruka klijenta je prevelika" + +#: logsrvd/logsrvd.c:1124 logsrvd/logsrvd.c:1125 +msgid "invalid ClientMessage" +msgstr "nevaljana ClientMessage" + +#: logsrvd/logsrvd.c:1425 +msgid "unable to get remote IP addr" +msgstr "nije moguće dobiti udaljenu IP adresu" + +#: logsrvd/logsrvd.c:1456 logsrvd/tls_client.c:203 +#: plugins/sudoers/log_client.c:281 +#, c-format +msgid "Unable to attach user data to the ssl object: %s" +msgstr "Nije moguće prikvačiti podatke korisnika na SSL objekt: %s" + +#: logsrvd/logsrvd.c:1639 logsrvd/logsrvd.c:1992 +msgid "unable to setup listen socket" +msgstr "nije moguće postaviti priključak za slušanje (listen socket)" + +#: logsrvd/logsrvd.c:1756 +#, c-format +msgid "unexpected signal %d" +msgstr "neočekivani signal %d" + +#: logsrvd/logsrvd.c:1894 +msgid "sudo log server" +msgstr "server sudo dnevnika" + +#: logsrvd/logsrvd.c:1896 logsrvd/sendlog.c:121 +msgid "Options:" +msgstr "Opcije:" + +#: logsrvd/logsrvd.c:1898 +msgid "path to configuration file" +msgstr "staza do datoteke s postavkama" + +#: logsrvd/logsrvd.c:1900 logsrvd/sendlog.c:123 +msgid "display help message and exit" +msgstr "pokaže poruku s pomoći i iziđe" + +#: logsrvd/logsrvd.c:1902 +msgid "do not fork, run in the foreground" +msgstr "ne stvara novi proces, radi u prednjem planu" + +#: logsrvd/logsrvd.c:1904 +msgid "percent chance connections will drop" +msgstr "postotak šanse da će se veza prekinuti" + +#: logsrvd/logsrvd.c:1906 logsrvd/sendlog.c:153 +msgid "display version information and exit" +msgstr "prikaže podatke o inačici i iziđe" + +#: logsrvd/logsrvd.c:1956 logsrvd/sendlog.c:1702 +msgid "Protobuf-C version 1.3 or higher required" +msgstr "Potrebna je Protobuf-C inačica 1.3 ili novija" + +#: logsrvd/logsrvd.c:1972 +#, c-format +msgid "invalid random drop value: %s" +msgstr "nevaljana ‘random drop’ vrijednost: %s" + +#: logsrvd/logsrvd.c:1975 logsrvd/sendlog.c:1756 +#: plugins/sudoers/cvtsudoers.c:246 plugins/sudoers/sudoreplay.c:294 +#: plugins/sudoers/visudo.c:182 +#, c-format +msgid "%s version %s\n" +msgstr "%s inačica %s\n" + +#: logsrvd/logsrvd_conf.c:422 plugins/sudoers/check.c:358 +#: plugins/sudoers/exptilde.c:85 plugins/sudoers/iolog.c:122 +#: plugins/sudoers/policy.c:1271 plugins/sudoers/sudoers.c:512 +#: plugins/sudoers/sudoers.c:1411 plugins/sudoers/testsudoers.c:215 +#: plugins/sudoers/testsudoers.c:382 +#, c-format +msgid "unknown user %s" +msgstr "nepoznati korisnik %s" + +#: logsrvd/logsrvd_conf.c:439 plugins/sudoers/iolog.c:148 +#: plugins/sudoers/sudoers.c:517 plugins/sudoers/sudoers.c:1445 +#: plugins/sudoers/testsudoers.c:406 +#, c-format +msgid "unknown group %s" +msgstr "nepoznata grupa %s" + +#: logsrvd/logsrvd_conf.c:457 +#, c-format +msgid "unable to parse iolog mode %s" +msgstr "nije moguće razabrati način %s iolog-a" + +#: logsrvd/logsrvd_conf.c:474 logsrvd/logsrvd_conf.c:1243 +#, c-format +msgid "invalid value for %s: %s" +msgstr "nevaljana vrijednost za %s: %s" + +#: logsrvd/logsrvd_conf.c:527 +msgid "TLS not supported" +msgstr "TLS nije podržan" + +#: logsrvd/logsrvd_conf.c:549 +#, c-format +msgid "%s:%s" +msgstr "%s:%s" + +#: logsrvd/logsrvd_conf.c:622 logsrvd/logsrvd_conf.c:1032 +#, c-format +msgid "%s: not a fully qualified path" +msgstr "%s: to nije potpuno kvalificirana staza" + +#: logsrvd/logsrvd_conf.c:951 logsrvd/logsrvd_conf.c:967 +#: logsrvd/logsrvd_conf.c:1676 +#, c-format +msgid "unknown syslog facility %s" +msgstr "nepoznati ustroj za syslog (Protokol dnevničarenja sustava): %s" + +#: logsrvd/logsrvd_conf.c:983 logsrvd/logsrvd_conf.c:999 +#: logsrvd/logsrvd_conf.c:1015 logsrvd/logsrvd_conf.c:1680 +#: logsrvd/logsrvd_conf.c:1684 logsrvd/logsrvd_conf.c:1688 +#, c-format +msgid "unknown syslog priority %s" +msgstr "nepoznati prioritet %s za protokol dnevnika sustava (syslog)" + +#: logsrvd/logsrvd_conf.c:1197 +#, c-format +msgid "%s:%d unmatched '[': %s" +msgstr "%s:%d ne podudara '[': %s" + +#: logsrvd/logsrvd_conf.c:1203 +#, c-format +msgid "%s:%d garbage after ']': %s" +msgstr "%s:%d smeće iza ']': %s" + +#: logsrvd/logsrvd_conf.c:1215 +#, c-format +msgid "%s:%d invalid config section: %s" +msgstr "%s:%d nevaljana sekcija u konfiguraciji: %s" + +#: logsrvd/logsrvd_conf.c:1223 +#, c-format +msgid "%s:%d invalid configuration line: %s" +msgstr "%s:%d nevaljani redak u konfiguraciji: %s" + +#: logsrvd/logsrvd_conf.c:1229 +#, c-format +msgid "%s:%d expected section name: %s" +msgstr "%s:%d očekivano ime sekcije: %s" + +#: logsrvd/logsrvd_conf.c:1251 +#, c-format +msgid "%s:%d [%s] illegal key: %s" +msgstr "%s:%d [%s] nelegalni ključ : %s" + +#: logsrvd/logsrvd_conf.c:1281 plugins/sudoers/cvtsudoers.c:268 +#: plugins/sudoers/logging.c:1033 +#, c-format +msgid "unable to open log file %s" +msgstr "nije moguće otvoriti dnevničku datoteku %s" + +#: logsrvd/logsrvd_conf.c:1763 +msgid "unable to initialize server TLS context" +msgstr "nije moguće inicijalizirati server TLS konteksta" + +#: logsrvd/logsrvd_conf.c:1783 +msgid "unable to initialize relay TLS context" +msgstr "nije moguće inicijalizirati relej SSL konteksta" + +#: logsrvd/logsrvd_journal.c:149 logsrvd/logsrvd_journal.c:424 +#: logsrvd/logsrvd_journal.c:429 +msgid "unable to create journal file" +msgstr "nije moguće stvoriti dnevničku datoteku" + +#: logsrvd/logsrvd_journal.c:153 logsrvd/logsrvd_queue.c:109 +#: plugins/sudoers/visudo.c:1028 +#, c-format +msgid "unable to lock %s" +msgstr "nije moguće zaključati %s" + +#: logsrvd/logsrvd_journal.c:156 +msgid "unable to lock journal file" +msgstr "nije moguće zaključati dnevničku datoteku" + +#: logsrvd/logsrvd_journal.c:164 +msgid "unable to open journal file" +msgstr "nije moguće otvoriti dnevničku datoteku" + +#: logsrvd/logsrvd_journal.c:185 logsrvd/logsrvd_journal.c:460 +#: logsrvd/logsrvd_journal.c:465 +msgid "unable to write journal file" +msgstr "nije moguće pisati u dnevničku datoteku" + +#: logsrvd/logsrvd_journal.c:193 logsrvd/logsrvd_journal.c:200 +msgid "unable to rename journal file" +msgstr "nije moguće preimenovati dnevničku datoteku" + +#: logsrvd/logsrvd_journal.c:247 logsrvd/logsrvd_journal.c:248 +#: logsrvd/logsrvd_journal.c:282 logsrvd/logsrvd_journal.c:283 +msgid "unexpected EOF reading journal file" +msgstr "neočekivani EOF pri čitanju dnevnika" + +#: logsrvd/logsrvd_journal.c:251 logsrvd/logsrvd_journal.c:252 +#: logsrvd/logsrvd_journal.c:286 logsrvd/logsrvd_journal.c:287 +msgid "error reading journal file" +msgstr "greška pri čitanju dnevnika" + +#: logsrvd/logsrvd_journal.c:298 logsrvd/logsrvd_journal.c:384 +msgid "invalid journal file, unable to restart" +msgstr "nevaljana datoteka dnevnika, ponovno pokretanje nije uspjelo" + +#: logsrvd/logsrvd_journal.c:443 +#, c-format +msgid "unable to seek to [%lld, %ld] in journal file %s" +msgstr "nije moguće skočiti na točku [%lld, %ld] u dnevniku %s" + +#: logsrvd/logsrvd_local.c:166 +#, c-format +msgid "unexpected value_case %d in %s from %s" +msgstr "neočekivana value_case %d u %s iz %s" + +#: logsrvd/logsrvd_local.c:194 +msgid "error parsing AcceptMessage" +msgstr "greška pri raščlanivanju AcceptMessage" + +#: logsrvd/logsrvd_local.c:205 +msgid "error creating I/O log" +msgstr "greška pri stvaranju U/I dnevnika" + +#: logsrvd/logsrvd_local.c:228 +msgid "error logging accept event" +msgstr "greška pri upisivanju u dnevnik ‘accept’ događaja" + +#: logsrvd/logsrvd_local.c:267 +msgid "error parsing RejectMessage" +msgstr "greška pri raščlanivanju RejectMessage-a" + +#: logsrvd/logsrvd_local.c:291 +msgid "error logging reject event" +msgstr "greška pri upisivanju u dnevnik ‘reject’ događaja" + +#: logsrvd/logsrvd_local.c:427 logsrvd/logsrvd_local.c:435 +msgid "error logging exit event" +msgstr "greška pri upisivanju u dnevnik exit događaja" + +#: logsrvd/logsrvd_local.c:492 logsrvd/logsrvd_local.c:493 +msgid "log is already complete, cannot be restarted" +msgstr "dnevnik je već kompletiran -- ne može se ponovno pokrenuti" + +#: logsrvd/logsrvd_local.c:523 +msgid "unable to restart log" +msgstr "nije moguće ponovno pokrenuti dnevničarenje (logging)" + +#: logsrvd/logsrvd_local.c:539 +msgid "error parsing AlertMessage" +msgstr "greška pri raščlanivanju AlertMessage" + +#: logsrvd/logsrvd_local.c:549 +msgid "error logging alert event" +msgstr "greška pri upisivanju u dnevnik ‘alert’ događaja" + +#: logsrvd/logsrvd_local.c:585 logsrvd/logsrvd_local.c:648 +#: logsrvd/logsrvd_local.c:683 +#, c-format +msgid "unable to format timing buffer, length %d" +msgstr "nije moguće oblikovati vremenski spremnik, dužine %d" + +#: logsrvd/logsrvd_local.c:599 logsrvd/logsrvd_local.c:607 +#: logsrvd/logsrvd_local.c:655 logsrvd/logsrvd_local.c:690 +#: plugins/sudoers/sudoreplay.c:344 +#, c-format +msgid "%s/%s: %s" +msgstr "%s/%s: %s" + +#: logsrvd/logsrvd_local.c:618 +msgid "randomly dropping connection" +msgstr "nasumični prekidi spajanja" + +#: logsrvd/logsrvd_local.c:630 +msgid "error writing IoBuffer" +msgstr "greška pri pisanju IoBuffer-a" + +#: logsrvd/logsrvd_local.c:665 +msgid "error writing ChangeWindowSize" +msgstr "greška pri pisanju ChangeWindowSize-a" + +#: logsrvd/logsrvd_local.c:700 +msgid "error writing CommandSuspend" +msgstr "greška pri pisanju CommandSuspend-a" + +#: logsrvd/logsrvd_relay.c:435 +msgid "TLS handshake with relay host failed" +msgstr "TLS rukovanje s hostom releja nije uspjelo" + +#: logsrvd/logsrvd_relay.c:463 +msgid "unable to connect to relay host" +msgstr "nije moguće spojiti se na host releja" + +#: logsrvd/logsrvd_relay.c:518 +#, c-format +msgid "%s: invalid ServerHello, missing server_id" +msgstr "%s: nevaljani ServerHello, nedostaje server_id" + +#: logsrvd/logsrvd_relay.c:520 logsrvd/sendlog.c:1096 +#: plugins/sudoers/log_client.c:1468 +msgid "invalid ServerHello" +msgstr "nevaljani ServerHello" + +#: logsrvd/logsrvd_relay.c:679 +msgid "unrecognized ServerMessage type" +msgstr "neprepoznati tip ServerMessage-a" + +#: logsrvd/logsrvd_relay.c:708 +#, c-format +msgid "timed out reading from relay %s (%s)" +msgstr "isteklo je vrijeme za čitanje iz releja %s (%s)" + +#: logsrvd/logsrvd_relay.c:710 +msgid "timeout reading from relay" +msgstr "isteklo je vrijeme za čitanje iz releja" + +#: logsrvd/logsrvd_relay.c:762 +msgid "relay host name does not match certificate" +msgstr "ime hosta releja ne slaže se s certifikatom" + +#: logsrvd/logsrvd_relay.c:768 logsrvd/logsrvd_relay.c:782 +#: logsrvd/logsrvd_relay.c:789 +msgid "error reading from relay" +msgstr "greška čitanja iz releja" + +#: logsrvd/logsrvd_relay.c:810 +msgid "unable to read from relay" +msgstr "nije moguće čitati iz releja" + +#: logsrvd/logsrvd_relay.c:825 logsrvd/logsrvd_relay.c:943 +msgid "relay server closed connection" +msgstr "server releja je prekinuo vezu" + +#: logsrvd/logsrvd_relay.c:843 +msgid "server message too large" +msgstr "poruka servera je prevelika" + +#: logsrvd/logsrvd_relay.c:907 +#, c-format +msgid "timed out writing to relay %s (%s)" +msgstr "vrijeme za pisanje na relej %s (%s) je isteklo" + +#: logsrvd/logsrvd_relay.c:909 +msgid "timeout writing to relay" +msgstr "vrijeme za pisanje na relej je isteklo" + +#: logsrvd/logsrvd_relay.c:962 logsrvd/logsrvd_relay.c:969 +#: logsrvd/logsrvd_relay.c:981 +msgid "error writing to relay" +msgstr "greška pri pisanju na relej" + +#: logsrvd/sendlog.c:119 +msgid "send sudo I/O log to remote server" +msgstr "pošalje sudo U/I dnevnik na udaljeni poslužitelj" + +#: logsrvd/sendlog.c:125 +msgid "only send an accept event (no I/O)" +msgstr "pošalje samo prihvaćene događaje (ne i U/I)" + +#: logsrvd/sendlog.c:128 +msgid "certificate bundle file to verify server's cert against" +msgstr "datoteka snopa certifikata radi provjere certifikata servera" + +#: logsrvd/sendlog.c:130 +msgid "certificate file for TLS handshake" +msgstr "datoteka certifikata za TLS rukovanje" + +#: logsrvd/sendlog.c:133 +msgid "host to send logs to" +msgstr "host kojem se šalje dnevnik" + +#: logsrvd/sendlog.c:135 +msgid "remote ID of I/O log to be resumed" +msgstr "udaljeni ID U/I dnevnika koji treba nastaviti" + +#: logsrvd/sendlog.c:138 +msgid "private key file" +msgstr "datoteka privatnog ključa" + +#: logsrvd/sendlog.c:140 +msgid "do not verify server certificate" +msgstr "ne provjerava certifikat servera" + +#: logsrvd/sendlog.c:143 +msgid "port to use when connecting to host" +msgstr "koristi taj port za spajanje na hosta" + +#: logsrvd/sendlog.c:145 +msgid "restart previous I/O log transfer" +msgstr "ponovno pokrene prethodni prijenos U/I dnevnika" + +#: logsrvd/sendlog.c:147 +msgid "reject the command with the given reason" +msgstr "odbije naredbu s navedenim razlogom" + +#: logsrvd/sendlog.c:149 +msgid "stop transfer after reaching this time" +msgstr "zaustavi prijenos nakon tog vremena" + +#: logsrvd/sendlog.c:151 +msgid "test audit server by sending selected I/O log n times in parallel" +msgstr "testira revizijski server slanjem odabranih zapisa U/I dnevnika paralelno n puta" + +#: logsrvd/sendlog.c:176 plugins/sudoers/log_client.c:453 +#, c-format +msgid "unable to look up %s:%s: %s" +msgstr "nije moguće potražiti %s:%s: %s" + +#: logsrvd/sendlog.c:214 +msgid "unable to get server IP addr" +msgstr "nije moguće dobiti IP adresu servera" + +#: logsrvd/sendlog.c:300 plugins/sudoers/sudoreplay.c:868 +#, c-format +msgid "unable to read %s/%s: %s" +msgstr "nije moguće učitati %s/%s: %s" + +#: logsrvd/sendlog.c:1020 plugins/sudoers/iolog.c:949 +#: plugins/sudoers/iolog.c:1024 +#, c-format +msgid "unexpected I/O event %d" +msgstr "neočekivani U/I događaj %d" + +#: logsrvd/sendlog.c:1073 logsrvd/sendlog.c:1090 logsrvd/sendlog.c:1124 +#: plugins/sudoers/log_client.c:1118 plugins/sudoers/log_client.c:1394 +#: plugins/sudoers/log_client.c:1462 plugins/sudoers/log_client.c:1501 +#, c-format +msgid "%s: unexpected state %d" +msgstr "%s: neočekivano stanje %d" + +#: logsrvd/sendlog.c:1160 plugins/sudoers/log_client.c:1550 +#, c-format +msgid "error message received from server: %s" +msgstr "primljena je poruka o greškama od servera: %s" + +#: logsrvd/sendlog.c:1173 plugins/sudoers/log_client.c:1563 +#, c-format +msgid "abort message received from server: %s" +msgstr "primljena je poruka za prekid (abort) od servera: %s" + +#: logsrvd/sendlog.c:1232 plugins/sudoers/log_client.c:1613 +#, c-format +msgid "%s: unexpected type_case value %d" +msgstr "%s: neočekivana ‘type_case’ vrijednost za %d" + +#: logsrvd/sendlog.c:1261 +msgid "timeout reading from server" +msgstr "isteklo je vrijeme za čitanje iz servera" + +#: logsrvd/sendlog.c:1310 plugins/sudoers/log_client.c:1729 +msgid "host name does not match certificate" +msgstr "ime hosta ne slaže se s certifikatom" + +#: logsrvd/sendlog.c:1343 +msgid "premature EOF" +msgstr "preuranjeni EOF (kraj datoteke)" + +#: logsrvd/sendlog.c:1356 plugins/sudoers/log_client.c:1776 +#, c-format +msgid "server message too large: %u" +msgstr "poruka servera je prevelika: %u" + +#: logsrvd/sendlog.c:1412 +msgid "timeout writing to server" +msgstr "isteklo je vrijeme za pisanje na server" + +#: logsrvd/sendlog.c:1779 +msgid "both restart point and iolog ID must be specified" +msgstr "i točka za ponovno pokretanje i iolog ID moraju biti specificirani" + +#: logsrvd/sendlog.c:1783 +msgid "a restart point may not be set when no I/O is sent" +msgstr "ako se ne pošalje U/I (I/O), ponovno uspostavljanje možda neće uspjeti" + +#: logsrvd/sendlog.c:1859 +#, c-format +msgid "exited prematurely with state %d" +msgstr "preuranjeni završetak (izlaz) sa stanjem %d" + +#: logsrvd/sendlog.c:1860 +#, c-format +msgid "elapsed time sent to server [%lld, %ld]" +msgstr "proteklo vrijeme poslano je na server [%lld, %ld]" + +#: logsrvd/sendlog.c:1862 +#, c-format +msgid "commit point received from server [%lld, %ld]" +msgstr "potvrđena točka primljena je od servera [%lld, %ld]" + +#: logsrvd/tls_client.c:111 plugins/sudoers/log_client.c:315 +msgid "TLS handshake timeout occurred" +msgstr "Vrijeme za TLS rukovanje je isteklo" + +#: logsrvd/tls_client.c:131 logsrvd/tls_client.c:147 +#: plugins/sudoers/log_client.c:337 plugins/sudoers/log_client.c:353 +msgid "unable to set event" +msgstr "nije moguće uspostaviti događaj" + +#: logsrvd/tls_client.c:157 logsrvd/tls_client.c:161 +#, c-format +msgid "TLS connection failed: %s" +msgstr "TLS spajanje nije uspjelo: %s" + +#: logsrvd/tls_client.c:196 +#, c-format +msgid "unable to allocate ssl object: %s" +msgstr "nije uspjelo dodijeliti memoriju za SSL objekt: %s" + +#: logsrvd/tls_client.c:210 +#, c-format +msgid "Unable to attach socket to the ssl object: %s" +msgstr "Nije uspjelo prikvačiti utičnicu na SSL objekt: %s" + +#: logsrvd/tls_client.c:238 +msgid "unable to initialize TLS context" +msgstr "nije moguće inicijalizirati TLS konteks" + +#: logsrvd/tls_init.c:138 logsrvd/tls_init.c:146 +#, c-format +msgid "unable to set TLS 1.2 ciphersuite to %s: %s" +msgstr "nije moguće postaviti ciphersuite na %s: %s" + +#: logsrvd/tls_init.c:166 logsrvd/tls_init.c:174 +#, c-format +msgid "unable to set TLS 1.3 ciphersuite to %s: %s" +msgstr "nije moguće postaviti TLS 1.3 ciphersuite to %s: %s" + +#: logsrvd/tls_init.c:206 logsrvd/tls_init.c:227 +#, c-format +msgid "unable to set diffie-hellman parameters: %s" +msgstr "nije moguće postaviti diffie-hellman parametre: %s" + +#: logsrvd/tls_init.c:283 +#, c-format +msgid "unable to create TLS context: %s" +msgstr "nije moguće stvoriti TLS kontekst: %s" + +#: logsrvd/tls_init.c:290 +#, c-format +msgid "unable to set minimum protocol version to TLS 1.2: %s" +msgstr "nije mouguće uspostaviti minimalni protokol na TLS 1.2: %s" + +#: plugins/sudoers/audit.c:269 plugins/sudoers/audit.c:429 +#: plugins/sudoers/log_client.c:951 plugins/sudoers/log_client.c:1000 +#: plugins/sudoers/log_client.c:1049 plugins/sudoers/log_client.c:1174 +#: plugins/sudoers/logging.c:595 plugins/sudoers/logging.c:693 +#: plugins/sudoers/logging.c:796 plugins/sudoers/logging.c:987 +#: plugins/sudoers/policy.c:125 +msgid "unable to get time of day" +msgstr "nije moguće dobiti doba dana (trenutno vrijeme)" + +#: plugins/sudoers/auth/aix_auth.c:280 +#, c-format +msgid "unable to change password for %s" +msgstr "nije moguće promijeniti lozinku za %s" + +#: plugins/sudoers/auth/bsdauth.c:74 +#, c-format +msgid "unable to get login class for user %s" +msgstr "nije moguće dobiti razred klasu korisnika %s" + +#: plugins/sudoers/auth/bsdauth.c:79 +msgid "unable to begin bsd authentication" +msgstr "nije moguće početi s BSD autentifikacijom" + +#: plugins/sudoers/auth/bsdauth.c:87 +msgid "invalid authentication type" +msgstr "nevaljani tip autentifikacije" + +#: plugins/sudoers/auth/bsdauth.c:96 +msgid "unable to initialize BSD authentication" +msgstr "nije moguće inicijalizirati BSD autentifikaciju" + +#: plugins/sudoers/auth/bsdauth.c:186 +msgid "your account has expired" +msgstr "vaš račun nije valjan, istekao je" + +#: plugins/sudoers/auth/bsdauth.c:188 +msgid "approval failed" +msgstr "odobrenje nije uspjelo" + +#: plugins/sudoers/auth/fwtk.c:61 +msgid "unable to read fwtk config" +msgstr "nije moguće pročitati konfiguraciju FWTK" + +#: plugins/sudoers/auth/fwtk.c:66 +msgid "unable to connect to authentication server" +msgstr "nije moguće spojiti se na server za autentifikaciju" + +#: plugins/sudoers/auth/fwtk.c:72 plugins/sudoers/auth/fwtk.c:97 +#: plugins/sudoers/auth/fwtk.c:129 +msgid "lost connection to authentication server" +msgstr "veza sa serverom za autentifikaciju je prekinuta (izgubljena)" + +#: plugins/sudoers/auth/fwtk.c:76 +#, c-format +msgid "" +"authentication server error:\n" +"%s" +msgstr "" +"greška na serveru za autentifikaciju:\n" +"%s" + +#: plugins/sudoers/auth/kerb5.c:115 +#, c-format +msgid "%s: unable to convert principal to string ('%s'): %s" +msgstr "%s: nije moguće pretvoriti principala u string (‘%s’): %s" + +#: plugins/sudoers/auth/kerb5.c:164 +#, c-format +msgid "%s: unable to parse '%s': %s" +msgstr "%s: nije moguće raščlaniti ‘%s’: %s" + +#: plugins/sudoers/auth/kerb5.c:173 +#, c-format +msgid "%s: unable to resolve credential cache: %s" +msgstr "%s: nije moguće naći verifikacijsku predmemoriju: %s" + +#: plugins/sudoers/auth/kerb5.c:222 +#, c-format +msgid "%s: unable to allocate options: %s" +msgstr "%s: nije moguće dodijeliti opcije: %s" + +#: plugins/sudoers/auth/kerb5.c:237 +#, c-format +msgid "%s: unable to get credentials: %s" +msgstr "%s: nije moguće dobiti verifikaciju: %s" + +#: plugins/sudoers/auth/kerb5.c:250 +#, c-format +msgid "%s: unable to initialize credential cache: %s" +msgstr "%s: nije moguće inicijalizirati verifikacijsku predmemoriju: %s" + +#: plugins/sudoers/auth/kerb5.c:253 +#, c-format +msgid "%s: unable to store credential in cache: %s" +msgstr "%s: nije moguće spremiti verifikaciju u predmemoriju: %s" + +#: plugins/sudoers/auth/kerb5.c:317 +#, c-format +msgid "%s: unable to get host principal: %s" +msgstr "%s: nije moguće dobiti principala: %s" + +#: plugins/sudoers/auth/kerb5.c:331 +#, c-format +msgid "%s: Cannot verify TGT! Possible attack!: %s" +msgstr "%s: Nije moguće provjeriti TGT! Mogući napad!: %s" + +#: plugins/sudoers/auth/pam.c:224 +#, c-format +msgid "unable to initialize PAM: %s" +msgstr "nije moguće inicijalizirati PAM: %s" + +#: plugins/sudoers/auth/pam.c:337 +#, c-format +msgid "PAM authentication error: %s" +msgstr "Greška PAM autentifikacije: %s" + +#: plugins/sudoers/auth/pam.c:356 +msgid "account validation failure, is your account locked?" +msgstr "provjera valjanosti računa nije uspjela, je li vaš račun zaključan?" + +#: plugins/sudoers/auth/pam.c:367 +msgid "Account or password is expired, reset your password and try again" +msgstr "Račun ili lozinka su istekli, postavite novu lozinku i pokušajte ponovo." + +#: plugins/sudoers/auth/pam.c:373 +#, c-format +msgid "unable to change expired password: %s" +msgstr "nije moguće promijeniti zastarjelu lozinku: %s" + +#: plugins/sudoers/auth/pam.c:384 +msgid "Password expired, contact your system administrator" +msgstr "Lozinka je istekla, javite se vašem administratoru sustava" + +#: plugins/sudoers/auth/pam.c:389 +msgid "Account expired or PAM config lacks an \"account\" section for sudo, contact your system administrator" +msgstr "Račun je istekao ili PAM konfiguracija nema sekciju ‘account’ za sudo, javite se vašem administratoru sustava" + +#: plugins/sudoers/auth/pam.c:397 plugins/sudoers/auth/pam.c:402 +#, c-format +msgid "PAM account management error: %s" +msgstr "Pogreška u upravljanju PAM računom: %s" + +#: plugins/sudoers/auth/rfc1938.c:99 plugins/sudoers/visudo.c:271 +#, c-format +msgid "you do not exist in the %s database" +msgstr "vas nema u %s bazi podataka" + +#: plugins/sudoers/auth/securid5.c:75 +msgid "failed to initialise the ACE API library" +msgstr "nije uspjelo inicijalizirati ACE API biblioteku" + +#: plugins/sudoers/auth/securid5.c:106 +msgid "unable to contact the SecurID server" +msgstr "nije moguće uspostaviti vezu sa serverom za SecurID" + +#: plugins/sudoers/auth/securid5.c:115 +msgid "User ID locked for SecurID Authentication" +msgstr "Korisnikov ID je zaključan za SecurID provjeru autentičnosti" + +#: plugins/sudoers/auth/securid5.c:119 plugins/sudoers/auth/securid5.c:171 +msgid "invalid username length for SecurID" +msgstr "nevaljana duljina imena korisnika za SecurID" + +#: plugins/sudoers/auth/securid5.c:123 plugins/sudoers/auth/securid5.c:176 +msgid "invalid Authentication Handle for SecurID" +msgstr "nevaljani autentifikacijski token za SecurID" + +#: plugins/sudoers/auth/securid5.c:127 +msgid "SecurID communication failed" +msgstr "SecurID komunikacija nije uspjela" + +#: plugins/sudoers/auth/securid5.c:131 plugins/sudoers/auth/securid5.c:219 +msgid "unknown SecurID error" +msgstr "nepoznata SecurID greška" + +#: plugins/sudoers/auth/securid5.c:166 +msgid "invalid passcode length for SecurID" +msgstr "nevaljana duljina lozinke za SecurID" + +#: plugins/sudoers/auth/sia.c:69 plugins/sudoers/auth/sia.c:126 +msgid "unable to initialize SIA session" +msgstr "nije moguće inicijalizirati SIA sesiju" + +#: plugins/sudoers/auth/sudo_auth.c:135 +msgid "invalid authentication methods" +msgstr "nevaljane metode autentifikacije" + +#: plugins/sudoers/auth/sudo_auth.c:137 +msgid "Invalid authentication methods compiled into sudo! You may not mix standalone and non-standalone authentication." +msgstr "Nevaljane metode autentifikacije su ugrađene u sudo! Ne smijete miješati samostalne i nesamostalne autentifikacije." + +#: plugins/sudoers/auth/sudo_auth.c:258 plugins/sudoers/auth/sudo_auth.c:310 +msgid "no authentication methods" +msgstr "nema metoda autentifikacije" + +#: plugins/sudoers/auth/sudo_auth.c:260 +msgid "There are no authentication methods compiled into sudo! If you want to turn off authentication, use the --disable-authentication configure option." +msgstr "Metode autentifikacije nisu ugrađene u sudo! Ako želite isključiti autentifikaciju, koristite konfiguracijsku opciju --disable-authentication." + +#: plugins/sudoers/auth/sudo_auth.c:312 +msgid "Unable to initialize authentication methods." +msgstr "Nije moguće inicijalizirati metode autentifikacije." + +#: plugins/sudoers/auth/sudo_auth.c:486 +msgid "Authentication methods:" +msgstr "Metode autentifikacije:" + +#: plugins/sudoers/bsm_audit.c:123 plugins/sudoers/bsm_audit.c:214 +msgid "Could not determine audit condition" +msgstr "Nije bilo moguće odrediti uvjete za reviziju" + +#: plugins/sudoers/bsm_audit.c:188 plugins/sudoers/bsm_audit.c:277 +msgid "unable to commit audit record" +msgstr "revizijski izvještaj nije bilo moguće zapisati na disk" + +#: plugins/sudoers/check.c:285 +#, c-format +msgid "error reading lecture file %s" +msgstr "greška pri čitanju datoteke s prodikom: %s" + +#: plugins/sudoers/check.c:288 +#, c-format +msgid "ignoring lecture file %s: not a regular file" +msgstr "zanemari datoteku s prodikom %s: nije regularna datoteka" + +#: plugins/sudoers/check.c:301 +msgid "" +"\n" +"We trust you have received the usual lecture from the local System\n" +"Administrator. It usually boils down to these three things:\n" +"\n" +" #1) Respect the privacy of others.\n" +" #2) Think before you type.\n" +" #3) With great power comes great responsibility.\n" +"\n" +msgstr "" +"\n" +"Vjerujemo da vam je administrator lokalnog sustava održao uobičajeno\n" +"predavanje. To se obično svodi na sljedeće tri stvari:\n" +"\n" +" #1) Poštujte tuđu privatnost.\n" +" #2) Mislite prije tipkanja.\n" +" #3) S velikim moćima dolazi velika odgovornost.\n" +"\n" + +#: plugins/sudoers/check.c:309 +msgid "" +"For security reasons, the password you type will not be visible.\n" +"\n" +msgstr "" +"Radi sigurnosti utipkana lozinka bit će nevidljiva.\n" +"\n" + +#: plugins/sudoers/check.c:353 plugins/sudoers/check.c:363 +#: plugins/sudoers/parse.c:82 plugins/sudoers/sudoers.c:945 +#: plugins/sudoers/sudoers.c:966 plugins/sudoers/tsdump.c:119 +#, c-format +msgid "unknown uid %u" +msgstr "nepoznati UID %u" + +#: plugins/sudoers/check_aliases.c:99 plugins/sudoers/defaults.c:1279 +#, c-format +msgid "%s: %s\n" +msgstr "%s: %s\n" + +#: plugins/sudoers/check_aliases.c:133 +#, c-format +msgid "cycle in %s \"%s\"" +msgstr "ciklus u %s „%s“" + +#: plugins/sudoers/check_aliases.c:136 +#, c-format +msgid "%s \"%s\" referenced but not defined" +msgstr "Greška: %s „%s“ je referenciran ali nije definiran" + +#: plugins/sudoers/cvtsudoers.c:209 +#, c-format +msgid "order increment: %s: %s" +msgstr "inkrement redoslijeda (order): %s: %s" + +#: plugins/sudoers/cvtsudoers.c:228 +#, c-format +msgid "starting order: %s: %s" +msgstr "početni redoslijed (order): %s: %s" + +#: plugins/sudoers/cvtsudoers.c:238 +#, c-format +msgid "order padding: %s: %s" +msgstr "ispuna redoslijeda (order): %s: %s" + +#: plugins/sudoers/cvtsudoers.c:248 plugins/sudoers/visudo.c:184 +#, c-format +msgid "%s grammar version %d\n" +msgstr "%s inačica gramatike %d\n" + +#: plugins/sudoers/cvtsudoers.c:277 plugins/sudoers/testsudoers.c:159 +#, c-format +msgid "unsupported input format %s" +msgstr "nepodržani ulazni formata %s" + +#: plugins/sudoers/cvtsudoers.c:295 +#, c-format +msgid "unsupported output format %s" +msgstr "nepodržani izlazni format %s" + +#: plugins/sudoers/cvtsudoers.c:385 +#, c-format +msgid "%s: input and output files must be different" +msgstr "%s: ulazna i izlazna datoteka moraju biti različite datoteke" + +#: plugins/sudoers/cvtsudoers.c:399 plugins/sudoers/sudoers.c:166 +#: plugins/sudoers/sudoers.c:222 plugins/sudoers/testsudoers.c:254 +#: plugins/sudoers/visudo.c:280 plugins/sudoers/visudo.c:654 +msgid "unable to initialize sudoers default values" +msgstr "nije moguće inicijalizirati zadane vrijednosti sudoers" + +#: plugins/sudoers/cvtsudoers.c:525 plugins/sudoers/ldap_conf.c:434 +#, c-format +msgid "%s: %s: %s: %s" +msgstr "%s: %s: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:584 +#, c-format +msgid "%s: unknown key word %s" +msgstr "%s: nepoznata ključna riječ %s" + +#: plugins/sudoers/cvtsudoers.c:630 +#, c-format +msgid "invalid defaults type: %s" +msgstr "nevaljani zadani tip: %s" + +#: plugins/sudoers/cvtsudoers.c:653 +#, c-format +msgid "invalid suppression type: %s" +msgstr "nevaljani tip za suzbijanje: %s" + +#: plugins/sudoers/cvtsudoers.c:694 plugins/sudoers/cvtsudoers.c:710 +#, c-format +msgid "invalid filter: %s" +msgstr "nevaljani filtar: %s" + +#: plugins/sudoers/cvtsudoers.c:754 plugins/sudoers/visudo.c:982 +#, c-format +msgid "failed to parse %s file, unknown error" +msgstr "nije uspjelo raščlaniti %s datoteku, nepoznata greška" + +#: plugins/sudoers/cvtsudoers.c:1478 plugins/sudoers/sudoreplay.c:1142 +#: plugins/sudoers/timestamp.c:343 plugins/sudoers/timestamp.c:346 +#, c-format +msgid "unable to write to %s" +msgstr "nije moguće pisati u %s" + +#: plugins/sudoers/cvtsudoers.c:1506 +#, c-format +msgid "" +"%s - convert between sudoers file formats\n" +"\n" +msgstr "" +"%s - pretvara formate sudoers datoteka\n" +"\n" + +#: plugins/sudoers/cvtsudoers.c:1508 +msgid "" +"\n" +"Options:\n" +" -b, --base=dn the base DN for sudo LDAP queries\n" +" -c, --config=conf_file the path to the configuration file\n" +" -d, --defaults=deftypes only convert Defaults of the specified types\n" +" -e, --expand-aliases expand aliases when converting\n" +" -f, --output-format=format set output format: JSON, LDIF or sudoers\n" +" -i, --input-format=format set input format: LDIF or sudoers\n" +" -I, --increment=num amount to increase each sudoOrder by\n" +" -h, --help display help message and exit\n" +" -m, --match=filter only convert entries that match the filter\n" +" -M, --match-local match filter uses passwd and group databases\n" +" -o, --output=output_file write converted sudoers to output_file\n" +" -O, --order-start=num starting point for first sudoOrder\n" +" -p, --prune-matches prune non-matching users, groups and hosts\n" +" -P, --padding=num base padding for sudoOrder increment\n" +" -s, --suppress=sections suppress output of certain sections\n" +" -V, --version display version information and exit" +msgstr "" +"\n" +"Opcije:\n" +" -b, --base=dn osnovni DN za sudo LDAP upite\n" +" -c, --config=conf_file staza do konfiguracijske datoteke\n" +" -d, --defaults=deftypes pretvori samo Defaults od specificiranih deftypes\n" +" -e, --expand-aliases proširuje aliase prilikom pretvaranja\n" +" -f, --output-format=format izlazni format je jedan od: JSON, LDIF ili sudoers\n" +" -i, --input-format=format ulazni format jedan od: LDIF ili sudoers\n" +" -I, --increment=num inkrement za num svaki sudoOrder\n" +" -h, --help pokaže poruku s pomoći i završi\n" +" -m, --match=filter pretvori samo stavke koje podudaraju filter\n" +" -M, --match-local filter rabi passwd i group baze podataka\n" +" -o, --output=output_file pretvoreni sudoers zapiše u output_file\n" +" -O, --order-start=num prvi sudoOrder započinje od num\n" +" -p, --prune-matches izreže nepodudarne korisnike, grupe i računala\n" +" -P, --padding=num osnovna ispuna za sudoOrder inkrement\n" +" -s, --suppress=sections izostavi izlaz od sections sekcija\n" +" -V, --version informira o inačici ovog programa i završi" + +#: plugins/sudoers/cvtsudoers_csv.c:192 plugins/sudoers/cvtsudoers_csv.c:199 +#: plugins/sudoers/cvtsudoers_ldif.c:244 plugins/sudoers/cvtsudoers_ldif.c:251 +#: plugins/sudoers/cvtsudoers_ldif.c:592 plugins/sudoers/env.c:340 +#: plugins/sudoers/env.c:347 plugins/sudoers/env.c:458 +#: plugins/sudoers/ldap.c:528 plugins/sudoers/ldap.c:761 +#: plugins/sudoers/ldap.c:1134 plugins/sudoers/ldap_conf.c:222 +#: plugins/sudoers/ldap_conf.c:313 plugins/sudoers/ldap_util.c:486 +#: plugins/sudoers/linux_audit.c:92 plugins/sudoers/logging.c:461 +#: plugins/sudoers/logging.c:817 plugins/sudoers/logging.c:827 +#: plugins/sudoers/policy.c:807 plugins/sudoers/policy.c:818 +#: plugins/sudoers/prompt.c:168 plugins/sudoers/serialize_list.c:62 +#: plugins/sudoers/serialize_list.c:71 plugins/sudoers/strvec_join.c:62 +#: plugins/sudoers/sudoreplay.c:1339 plugins/sudoers/sudoreplay.c:1345 +#: plugins/sudoers/sudoreplay.c:1351 plugins/sudoers/testsudoers.c:245 +#: plugins/sudoers/toke_util.c:213 toke.l:995 toke.l:1197 +#, c-format +msgid "internal error, %s overflow" +msgstr "**interna greška**, %s prelijevanje" + +#: plugins/sudoers/cvtsudoers_csv.c:452 plugins/sudoers/cvtsudoers_csv.c:466 +#: plugins/sudoers/cvtsudoers_json.c:657 plugins/sudoers/cvtsudoers_json.c:672 +#: plugins/sudoers/cvtsudoers_ldif.c:347 plugins/sudoers/cvtsudoers_ldif.c:360 +#: plugins/sudoers/ldap.c:512 +msgid "unable to get GMT time" +msgstr "nije moguće dobiti GMT vrijeme" + +#: plugins/sudoers/cvtsudoers_csv.c:457 plugins/sudoers/cvtsudoers_csv.c:471 +#: plugins/sudoers/cvtsudoers_json.c:662 plugins/sudoers/cvtsudoers_json.c:677 +#: plugins/sudoers/cvtsudoers_ldif.c:352 plugins/sudoers/cvtsudoers_ldif.c:365 +#: plugins/sudoers/ldap.c:520 +msgid "unable to format timestamp" +msgstr "nije moguće oblikovati vremensku oznaku" + +#: plugins/sudoers/cvtsudoers_json.c:480 plugins/sudoers/cvtsudoers_json.c:515 +#: plugins/sudoers/cvtsudoers_json.c:728 +#, c-format +msgid "%s:%d:%d: unknown defaults entry \"%s\"" +msgstr "%s:%d:%d: nepoznata zadana stavka „%s“" + +#: plugins/sudoers/cvtsudoers_ldif.c:661 +#, c-format +msgid "too many sudoers entries, maximum %u" +msgstr "previše sudoers grešaka, maksimum je %u" + +#: plugins/sudoers/cvtsudoers_ldif.c:704 +msgid "the SUDOERS_BASE environment variable is not set and the -b option was not specified." +msgstr "varijabla okoline SUDOERS_BASE nije postavljena i -b opcija nije specificirana." + +#: plugins/sudoers/cvtsudoers_merge.c:273 +#: plugins/sudoers/cvtsudoers_merge.c:309 +#, c-format +msgid "%s:%d:%d: converting host list to ALL" +msgstr "%s:%d:%d: pretvaramo hostov popis u ALL" + +#: plugins/sudoers/cvtsudoers_merge.c:545 +#, c-format +msgid "unable to find alias %s" +msgstr "nije moguće naći alias %s" + +#: plugins/sudoers/cvtsudoers_merge.c:548 +#, c-format +msgid "%s:%d:%d: renaming alias %s to %s" +msgstr "%s:%d:%d: preimenujemo aliasa %s u %s" + +#: plugins/sudoers/cvtsudoers_merge.c:605 +#, c-format +msgid "%s:%d:%d: removing duplicate alias %s" +msgstr "%s:%d:%d: uklanjamo duplikat aliasa %s" + +#: plugins/sudoers/cvtsudoers_merge.c:830 +#, c-format +msgid "%s:%d:%d: conflicting Defaults entry \"%s\" host-specific in %s:%d:%d" +msgstr "%s:%d:%d: konfliktni Defaults unos „%s“ specifičan za hosta u %s:%d:%d" + +#: plugins/sudoers/cvtsudoers_merge.c:864 +#, c-format +msgid "%s:%d:%d: made Defaults \"%s\" specific to host %s" +msgstr "%s:%d:%d: napravljen je Defaults „%s“ specifičan za opciju %s" + +#: plugins/sudoers/cvtsudoers_merge.c:882 +#, c-format +msgid "%s:%d:%d: unable to make Defaults \"%s\" host-specific" +msgstr "%s:%d:%d: nije moguće napraviti Defaults „%s“ specifično za hosta" + +#: plugins/sudoers/cvtsudoers_merge.c:892 +#, c-format +msgid "%s:%d:%d: removing Defaults \"%s\" overridden by subsequent entries" +msgstr "%s:%d:%d: uklanjamo Defaults „%s“ nadvladan naknadnim unosima" + +#: plugins/sudoers/cvtsudoers_merge.c:1088 +#, c-format +msgid "%s:%d:%d: merging userspec into %s:%d:%d" +msgstr "%s:%d:%d: spajanje userspec (korisnikova specifikacija) s %s:%d:%d" + +#: plugins/sudoers/cvtsudoers_merge.c:1182 +#, c-format +msgid "%s:%d:%d: removing userspec overridden by subsequent entries" +msgstr "%s:%d:%d: uklanjamo korisničke specifikacije nadvladane naknadnim unosima" + +#: plugins/sudoers/def_data.c:56 +#, c-format +msgid "Syslog facility if syslog is being used for logging: %s" +msgstr "Ustroj syslog-a ako se syslog koristi za pisanje dnevnika: %s" + +#: plugins/sudoers/def_data.c:60 +#, c-format +msgid "Syslog priority to use when user authenticates successfully: %s" +msgstr "Pri uspješnoj autentifikaciji korisnika rabi se syslog prioritet: %s" + +#: plugins/sudoers/def_data.c:64 +#, c-format +msgid "Syslog priority to use when user authenticates unsuccessfully: %s" +msgstr "Pri neuspješnoj autentifikaciji korisnika rabi se syslog prioritet: %s" + +#: plugins/sudoers/def_data.c:68 +msgid "Put OTP prompt on its own line" +msgstr "Postavite OTP (One-Time-Password) prompt u zasebni, vlastiti redak" + +#: plugins/sudoers/def_data.c:72 +msgid "Ignore '.' in $PATH" +msgstr "Zanemari ‘.’ u $PATH" + +#: plugins/sudoers/def_data.c:76 +msgid "Always send mail when sudo is run" +msgstr "Poštu poslati kad god se pokrene sudo" + +#: plugins/sudoers/def_data.c:80 +msgid "Send mail if user authentication fails" +msgstr "Poštu poslati ako autentifikacija korisnika nije uspjela" + +#: plugins/sudoers/def_data.c:84 +msgid "Send mail if the user is not in sudoers" +msgstr "Poštu poslati ako korisnik nije u sudoers" + +#: plugins/sudoers/def_data.c:88 +msgid "Send mail if the user is not in sudoers for this host" +msgstr "Poštu poslati ako korisnik nije u sudoers na ovom računalu" + +#: plugins/sudoers/def_data.c:92 +msgid "Send mail if the user is not allowed to run a command" +msgstr "Poštu poslati ako korisnik nema dopuštenje za pokretanje naredbe" + +#: plugins/sudoers/def_data.c:96 +msgid "Send mail if the user tries to run a command" +msgstr "Poštu poslati ako korisnik pokušava unositi naredbe" + +#: plugins/sudoers/def_data.c:100 +msgid "Use a separate timestamp for each user/tty combo" +msgstr "Za svaku kombinaciju korisnik/terminal koristi se zasebna vremenska oznaka" + +#: plugins/sudoers/def_data.c:104 +msgid "Lecture user the first time they run sudo" +msgstr "Korisnika podučiti prilikom prvog pokretanja sudo" + +#: plugins/sudoers/def_data.c:108 +#, c-format +msgid "File containing the sudo lecture: %s" +msgstr "Datoteka koja sadrži sudo poduku: %s" + +#: plugins/sudoers/def_data.c:112 +msgid "Require users to authenticate by default" +msgstr "Zadano (by default),zahtijeva se autentifikacija korisnika" + +#: plugins/sudoers/def_data.c:116 +msgid "Root may run sudo" +msgstr "Root smije pokrenuti sudo" + +#: plugins/sudoers/def_data.c:120 +msgid "Log the hostname in the (non-syslog) log file" +msgstr "Ime računala zapiše se u (ne-syslog) dnevničku datoteku" + +#: plugins/sudoers/def_data.c:124 +msgid "Log the year in the (non-syslog) log file" +msgstr "Godina se zapiše u (ne-syslog) dnevničku datoteku" + +#: plugins/sudoers/def_data.c:128 +msgid "If sudo is invoked with no arguments, start a shell" +msgstr "Ako se sudo pozove bez argumenata, pokrene se ljuska" + +#: plugins/sudoers/def_data.c:132 +msgid "Set $HOME to the target user when starting a shell with -s" +msgstr "Postavlja $HOME na ciljanog korisnika pri pokretanju ljuske s opcijom -s" + +#: plugins/sudoers/def_data.c:136 +msgid "Always set $HOME to the target user's home directory" +msgstr "Uvijek postavlja $HOME na osobni direktorij ciljanog korisnika" + +#: plugins/sudoers/def_data.c:140 +msgid "Allow some information gathering to give useful error messages" +msgstr "Dopušteno je prikupljanje informacija za ispis korisnih poruka o greškama" + +#: plugins/sudoers/def_data.c:144 +msgid "Require fully-qualified hostnames in the sudoers file" +msgstr "Datoteka sudoers zahtjeva potpuno kvalificirana (fully-qualified) imena računala" + +#: plugins/sudoers/def_data.c:148 +msgid "Insult the user when they enter an incorrect password" +msgstr "Korisnika izgrditi ako upiše netočnu lozinku" + +#: plugins/sudoers/def_data.c:152 +msgid "Only allow the user to run sudo if they have a tty" +msgstr "Korisniku dopustiti pokretanje sudo samo ako ima tty" + +#: plugins/sudoers/def_data.c:156 +msgid "Visudo will honor the EDITOR environment variable" +msgstr "Visudo poštuje varijablu okoline EDITOR" + +#: plugins/sudoers/def_data.c:160 +msgid "Prompt for root's password, not the users's" +msgstr "Zatražiti root lozinku umjesto lozinke korisnika" + +#: plugins/sudoers/def_data.c:164 +msgid "Prompt for the runas_default user's password, not the users's" +msgstr "Zatražiti lozinku runas_default korisnika a ne lozinku trenutnog korisnika" + +#: plugins/sudoers/def_data.c:168 +msgid "Prompt for the target user's password, not the users's" +msgstr "Zatražiti lozinku ciljanog korisnika a ne lozinku trenutnog korisnika" + +#: plugins/sudoers/def_data.c:172 +msgid "Apply defaults in the target user's login class if there is one" +msgstr "Ako postoje, primijeniti zadane vrijednosti iz login klase ciljanog korisnika" + +#: plugins/sudoers/def_data.c:176 +msgid "Set the LOGNAME and USER environment variables" +msgstr "Postavlja varijable okoline LOGNAME i USER" + +#: plugins/sudoers/def_data.c:180 +msgid "Only set the effective uid to the target user, not the real uid" +msgstr "Postavlja samo efektivni UID na onaj ciljanog korisnika umjesto stvarnog UID" + +#: plugins/sudoers/def_data.c:184 +msgid "Don't initialize the group vector to that of the target user" +msgstr "Ne inicijalizirati grupni vektor na onaj od ciljanog korisnika" + +#: plugins/sudoers/def_data.c:188 +#, c-format +msgid "Length at which to wrap log file lines (0 for no wrap): %u" +msgstr "Pozicija na kojoj se prelamaju redci dnevničke datoteke (0, bez prelamanja): %u" + +#: plugins/sudoers/def_data.c:192 +#, c-format +msgid "Authentication timestamp timeout: %.1f minutes" +msgstr "Tajmaut vremenske oznake autentifikacije: %.1f minuta" + +#: plugins/sudoers/def_data.c:196 +#, c-format +msgid "Password prompt timeout: %.1f minutes" +msgstr "Tajmaut za unos lozinke: %.1f minuta" + +#: plugins/sudoers/def_data.c:200 +#, c-format +msgid "Number of tries to enter a password: %u" +msgstr "Broj pokušaja unosa lozinke: %u" + +#: plugins/sudoers/def_data.c:204 +#, c-format +msgid "Umask to use or 0777 to use user's: 0%o" +msgstr "Umask za korištenje ili 0777 za korisničku: 0%o" + +#: plugins/sudoers/def_data.c:208 +#, c-format +msgid "Path to log file: %s" +msgstr "Staza do dnevničke datoteke: %s" + +#: plugins/sudoers/def_data.c:212 +#, c-format +msgid "Path to mail program: %s" +msgstr "Staza do programa pošte: %s" + +#: plugins/sudoers/def_data.c:216 +#, c-format +msgid "Flags for mail program: %s" +msgstr "Zastavice za program pošte: %s" + +#: plugins/sudoers/def_data.c:220 +#, c-format +msgid "Address to send mail to: %s" +msgstr "Adresa na koju se šalje pošta: %s" + +#: plugins/sudoers/def_data.c:224 +#, c-format +msgid "Address to send mail from: %s" +msgstr "Adresa s koje se šalje pošta: %s" + +#: plugins/sudoers/def_data.c:228 +#, c-format +msgid "Subject line for mail messages: %s" +msgstr "Redak za upis predmeta (subject) poštanskih poruka: %s" + +#: plugins/sudoers/def_data.c:232 +#, c-format +msgid "Incorrect password message: %s" +msgstr "Poruka za netočnu lozinku: %s" + +#: plugins/sudoers/def_data.c:236 +#, c-format +msgid "Path to lecture status dir: %s" +msgstr "Staza do direktorija s lekcijom: %s" + +#: plugins/sudoers/def_data.c:240 +#, c-format +msgid "Path to authentication timestamp dir: %s" +msgstr "Staza do direktorija s vremenskim oznakama autentifikacije: %s" + +#: plugins/sudoers/def_data.c:244 +#, c-format +msgid "Owner of the authentication timestamp dir: %s" +msgstr "Vlasnik direktorija s vremenskim oznakama autentifikacije: %s" + +#: plugins/sudoers/def_data.c:248 +#, c-format +msgid "Users in this group are exempt from password and PATH requirements: %s" +msgstr "Korisnici u ovoj grupi su izuzeti od zahtjeva za unos lozinke i PATH: %s" + +#: plugins/sudoers/def_data.c:252 +#, c-format +msgid "Default password prompt: %s" +msgstr "Zadani zahtjev (prompt) za lozinku: %s" + +#: plugins/sudoers/def_data.c:256 +msgid "If set, passprompt will override system prompt in all cases." +msgstr "Ako je postavljen, passprompt će zamijeniti prompt sustava u svim slučajevima." + +#: plugins/sudoers/def_data.c:260 +#, c-format +msgid "Default user to run commands as: %s" +msgstr "Zadani korisnik za pokretanje naredbi: %s" + +#: plugins/sudoers/def_data.c:264 +#, c-format +msgid "Value to override user's $PATH with: %s" +msgstr "Vrijednost s kojom se zamijeni korisnikov $PATH: %s" + +#: plugins/sudoers/def_data.c:268 +#, c-format +msgid "Path to the editor for use by visudo: %s" +msgstr "Staza do uređivača koji će koristiti visudo: %s" + +#: plugins/sudoers/def_data.c:272 +#, c-format +msgid "When to require a password for 'list' pseudocommand: %s" +msgstr "Kada zatražiti lozinku za pseudonaredbu „list“: %s" + +#: plugins/sudoers/def_data.c:276 +#, c-format +msgid "When to require a password for 'verify' pseudocommand: %s" +msgstr "Kada zatražiti lozinku za pseudonaredbu „verify“: %s" + +#: plugins/sudoers/def_data.c:280 +msgid "Preload the sudo_noexec library which replaces the exec functions" +msgstr "Unaprijed učitajte biblioteku sudo_noexec koja zamjenjuje exec funkcije" + +#: plugins/sudoers/def_data.c:284 +msgid "If LDAP directory is up, do we ignore local sudoers file" +msgstr "Ako je dostupni LDAP direktorij, zanemaruje li se lokalna sudoers datoteka" + +#: plugins/sudoers/def_data.c:288 +#, c-format +msgid "File descriptors >= %d will be closed before executing a command" +msgstr "Deskriptori datoteka >= %d biti će zatvoreni prije izvršavanja naredbe" + +#: plugins/sudoers/def_data.c:292 +msgid "If set, users may override the value of \"closefrom\" with the -C option" +msgstr "Ako je postavljena, korisnici mogu s opcijom -C promijeniti vrijednost od „closefrom“" + +#: plugins/sudoers/def_data.c:296 +msgid "Allow users to set arbitrary environment variables" +msgstr "Korisnici mogu postaviti bilo koje varijable okoline" + +#: plugins/sudoers/def_data.c:300 +msgid "Reset the environment to a default set of variables" +msgstr "Okolinu vratiti u zadani skup varijabli okoline" + +#: plugins/sudoers/def_data.c:304 +msgid "Environment variables to check for safety:" +msgstr "Varijable okruženja čiju sigurnost treba provjeriti:" + +#: plugins/sudoers/def_data.c:308 +msgid "Environment variables to remove:" +msgstr "Varijable okoline koje treba ukloniti:" + +#: plugins/sudoers/def_data.c:312 +msgid "Environment variables to preserve:" +msgstr "Varijable okoline koje treba zadržati:" + +#: plugins/sudoers/def_data.c:316 +#, c-format +msgid "SELinux role to use in the new security context: %s" +msgstr "SELinux uloga za korištenje u novom sigurnosnom kontekstu: %s" + +#: plugins/sudoers/def_data.c:320 +#, c-format +msgid "SELinux type to use in the new security context: %s" +msgstr "SELinux tip za korištenje u novom sigurnosnom kontekstu: %s" + +#: plugins/sudoers/def_data.c:324 +#, c-format +msgid "Path to the sudo-specific environment file: %s" +msgstr "Staza do datoteke okoline specifične za sudo: %s" + +#: plugins/sudoers/def_data.c:328 +#, c-format +msgid "Path to the restricted sudo-specific environment file: %s" +msgstr "Staza do datoteke okoline s ograničenim pristupom specifične za sudo: %s" + +#: plugins/sudoers/def_data.c:332 +#, c-format +msgid "Locale to use while parsing sudoers: %s" +msgstr "Locale za korištenje pri obradi sudoers: %s" + +#: plugins/sudoers/def_data.c:336 +msgid "Allow sudo to prompt for a password even if it would be visible" +msgstr "Dopustiti da sudo zatraži lozinku čak i ako će biti vidljiva" + +#: plugins/sudoers/def_data.c:340 +msgid "Provide visual feedback at the password prompt when there is user input" +msgstr "Vizualno pokazati rezultat nakon unosa lozinke korisnikom" + +#: plugins/sudoers/def_data.c:344 +msgid "Use faster globbing that is less accurate but does not access the filesystem" +msgstr "Rabi se brže i manje precizno podudaranje ali nema dostupa datotečnom sustavu" + +#: plugins/sudoers/def_data.c:348 +msgid "The umask specified in sudoers will override the user's, even if it is more permissive" +msgstr "U sudoers specificirani umask zamijeniti će korisnički čak i ako je tolerantniji" + +#: plugins/sudoers/def_data.c:352 +msgid "Log user's input for the command being run" +msgstr "Urudžbira unos korisnika za trenutno pokrenutu naredbu" + +#: plugins/sudoers/def_data.c:356 +msgid "Log the command's standard input if not connected to a terminal" +msgstr "Urudžbíra izvor standardnog unosa naredbe ako naredba nije spojena na terminal" + +#: plugins/sudoers/def_data.c:360 +msgid "Log the user's terminal input for the command being run" +msgstr "Urudžbira korisnikov unos u terminal za trenutno pokrenutu naredbu" + +#: plugins/sudoers/def_data.c:364 +msgid "Log the output of the command being run" +msgstr "Urudžbirati izlaz pokrenute naredbe" + +#: plugins/sudoers/def_data.c:368 +msgid "Log the command's standard output if not connected to a terminal" +msgstr "Urudžbira standardni izlaz naredbe ako nije naredba nije spojena na terminal" + +#: plugins/sudoers/def_data.c:372 +msgid "Log the command's standard error if not connected to a terminal" +msgstr "Urudžbira standardne greške naredbe ako nareba nije spojena na terminal" + +#: plugins/sudoers/def_data.c:376 +msgid "Log the terminal output of the command being run" +msgstr "Urudžbira izlaz koje trenutna naredba ispisuje na terminal" + +#: plugins/sudoers/def_data.c:380 +msgid "Compress I/O logs using zlib" +msgstr "U/I urudžbirane dnevnike komprimirati s programom zlib" + +#: plugins/sudoers/def_data.c:384 +msgid "Always run commands in a pseudo-tty" +msgstr "Naredbe uvijek pokrenuti u pseudo-TTY" + +#: plugins/sudoers/def_data.c:388 +#, c-format +msgid "Plugin for non-Unix group support: %s" +msgstr "Plugin za podršku za ne-Unix grupe: %s" + +#: plugins/sudoers/def_data.c:392 +#, c-format +msgid "Directory in which to store input/output logs: %s" +msgstr "Direktorij u kojem se spremaju ulazno/izlazni dnevnici: %s" + +#: plugins/sudoers/def_data.c:396 +#, c-format +msgid "File in which to store the input/output log: %s" +msgstr "Datoteka u koju se sprema ulazno/izlazni dnevnik: %s" + +#: plugins/sudoers/def_data.c:400 +msgid "Add an entry to the utmp/utmpx file when allocating a pty" +msgstr "Dodati stavku u utmp/utmpx datoteku pri dodijeli pseudoterminala" + +#: plugins/sudoers/def_data.c:404 +msgid "Set the user in utmp to the runas user, not the invoking user" +msgstr "Postaviti korisnika u utmp na runas-korisnika umjesto na pozivatelja" + +#: plugins/sudoers/def_data.c:408 +#, c-format +msgid "Set of permitted privileges: %s" +msgstr "Skup dopuštenih privilegija: %s" + +#: plugins/sudoers/def_data.c:412 +#, c-format +msgid "Set of limit privileges: %s" +msgstr "Skup limitiranih privilegija: %s" + +#: plugins/sudoers/def_data.c:416 +msgid "Run commands on a pty in the background" +msgstr "Pokrenuti naredbe na pseudo terminalu u pozadini" + +#: plugins/sudoers/def_data.c:420 +#, c-format +msgid "PAM service name to use: %s" +msgstr "Naziv PAM usluge za upotrebu: %s" + +#: plugins/sudoers/def_data.c:424 +#, c-format +msgid "PAM service name to use for login shells: %s" +msgstr "Naziv PAM usluge za upotrebu za prijavnu ljusku: %s" + +#: plugins/sudoers/def_data.c:428 +#, c-format +msgid "PAM service name to use when sudo is run with the -A option: %s" +msgstr "Naziv PAM usluge koja se koristi kad je sudo pozvan s opcijom -A: %s" + +#: plugins/sudoers/def_data.c:432 +msgid "Attempt to establish PAM credentials for the target user" +msgstr "Pokušaj da se uspostavi PAM verifikacija za ciljanog korisnika" + +#: plugins/sudoers/def_data.c:436 +msgid "Create a new PAM session for the command to run in" +msgstr "Kreira novu PAM sesiju za izvršavanje naredbe" + +#: plugins/sudoers/def_data.c:440 +msgid "Perform PAM account validation management" +msgstr "Provjeri upravljanje s PAM računom" + +#: plugins/sudoers/def_data.c:444 +#, c-format +msgid "Maximum I/O log sequence number: %s" +msgstr "Najveći broj redoslijeda dnevnika U/I: %s" + +#: plugins/sudoers/def_data.c:448 +msgid "Enable sudoers netgroup support" +msgstr "Omogućite podršku mrežnih grupa (netgroup) u sudoers" + +#: plugins/sudoers/def_data.c:452 +msgid "Check parent directories for writability when editing files with sudoedit" +msgstr "Provjerite mogućnost pisanja u naddirektorijima kad se koristi sudoedit za uređivanje" + +#: plugins/sudoers/def_data.c:456 +msgid "Follow symbolic links when editing files with sudoedit" +msgstr "Slijedi simboličke veze kad se koristi sudoedit za uređivanje datoteka" + +#: plugins/sudoers/def_data.c:460 +msgid "Query the group plugin for unknown system groups" +msgstr "Ispituje plugin grupe za nepoznate sustavske grupe" + +#: plugins/sudoers/def_data.c:464 +msgid "Match netgroups based on the entire tuple: user, host and domain" +msgstr "Podudaranje mrežnih grupa bazira se na kompletnoj n-torki: korisnik, računalo, domena" + +#: plugins/sudoers/def_data.c:468 +msgid "Allow commands to be run even if sudo cannot write to the audit log" +msgstr "Naredbe je dopušteno izvršiti iako ih sudo ne može upisati u revizijski dnevnik" + +#: plugins/sudoers/def_data.c:472 +msgid "Allow commands to be run even if sudo cannot write to the I/O log" +msgstr "Naredbe je dopušteno izvršiti iako ih sudo ne može upisati u U/I dnevnik" + +#: plugins/sudoers/def_data.c:476 +msgid "Allow commands to be run even if sudo cannot write to the log file" +msgstr "Naredbe je dopušteno izvršiti iako ih sudo ne može upisati u dnevnik" + +#: plugins/sudoers/def_data.c:480 +msgid "Resolve groups in sudoers and match on the group ID, not the name" +msgstr "Razriješi grupe u sudoers i podudari ih po ID grupe umjesto po imenu grupe" + +#: plugins/sudoers/def_data.c:484 +#, c-format +msgid "Log entries larger than this value will be split into multiple syslog messages: %u" +msgstr "Dnevničke stavke veće od ove vrijednosti podijeliti će se u više syslog poruka: %u" + +#: plugins/sudoers/def_data.c:488 +#, c-format +msgid "User that will own the I/O log files: %s" +msgstr "Korisnik koji će biti vlasnik U/I dnevnika: %s" + +#: plugins/sudoers/def_data.c:492 +#, c-format +msgid "Group that will own the I/O log files: %s" +msgstr "Grupa koja će biti vlasnik U/I dnevnika: %s" + +#: plugins/sudoers/def_data.c:496 +#, c-format +msgid "File mode to use for the I/O log files: 0%o" +msgstr "Prava pristupa za uporabu za U/I dnevnike: 0%o" + +#: plugins/sudoers/def_data.c:500 +#, c-format +msgid "Execute commands by file descriptor instead of by path: %s" +msgstr "Izvrši naredbe pomoću deskriptora datoteke umjesto staze: %s" + +#: plugins/sudoers/def_data.c:504 +msgid "Ignore unknown Defaults entries in sudoers instead of producing a warning" +msgstr "Nepoznati zadani podaci za sudoers se ignoriraju umjesto ispisa upozorenja" + +#: plugins/sudoers/def_data.c:508 +#, c-format +msgid "Time in seconds after which the command will be terminated: %u" +msgstr "Vrijeme u sekundama nakon kojeg se naredba prekida: %u" + +#: plugins/sudoers/def_data.c:512 +msgid "Allow the user to specify a timeout on the command line" +msgstr "Dopustite korisniku da specificira tajmaut na komandnom retku" + +#: plugins/sudoers/def_data.c:516 +msgid "Flush I/O log data to disk immediately instead of buffering it" +msgstr "U/I dnevnik ispisivati direktno na disk umjesto preko međuspremnika" + +#: plugins/sudoers/def_data.c:520 +msgid "Include the process ID when logging via syslog" +msgstr "U syslog dnevnik upisivati i ID procesa" + +#: plugins/sudoers/def_data.c:524 +#, c-format +msgid "Type of authentication timestamp record: %s" +msgstr "Tip zapisa autentifikacijskih vremenskih oznaka: %s" + +#: plugins/sudoers/def_data.c:528 +#, c-format +msgid "Authentication failure message: %s" +msgstr "Greška u provjeri autentičnosti: %s" + +#: plugins/sudoers/def_data.c:532 +msgid "Ignore case when matching user names" +msgstr "Zanemari veličinu slova kad se uspoređuju imena korisnika" + +#: plugins/sudoers/def_data.c:536 +msgid "Ignore case when matching group names" +msgstr "Zanemari velika/mala slova pri usporedbi imena grupa" + +#: plugins/sudoers/def_data.c:540 +msgid "Log when a command is allowed by sudoers" +msgstr "Dnevniči (upiše u dnevnik) onda kad sudoers dopusti naredbu" + +#: plugins/sudoers/def_data.c:544 +msgid "Log when a command is denied by sudoers" +msgstr "Dnevniči (upiše u dnevnik) onda kad sudoers ne dopusti naredbu" + +#: plugins/sudoers/def_data.c:548 +msgid "Sudo log server(s) to connect to with optional port" +msgstr "Server(i) sudo dnevnika za spajanje na opcionalni port" + +#: plugins/sudoers/def_data.c:552 +#, c-format +msgid "Sudo log server timeout in seconds: %u" +msgstr "Tajmaut servera sudo dnevnika u sekundama: %u" + +#: plugins/sudoers/def_data.c:556 +msgid "Enable SO_KEEPALIVE socket option on the socket connected to the logserver" +msgstr "Omogućite opciju utičnice SO_KEEPALIVE na utičnici spojenoj na server dnevnika" + +#: plugins/sudoers/def_data.c:560 +#, c-format +msgid "Path to the audit server's CA bundle file: %s" +msgstr "Staza do datoteke s paketom certifikata (CA) revizijskog servera: %s" + +#: plugins/sudoers/def_data.c:564 +#, c-format +msgid "Path to the sudoers certificate file: %s" +msgstr "Staza do datoteke sa sudoers certifikatima: %s" + +#: plugins/sudoers/def_data.c:568 +#, c-format +msgid "Path to the sudoers private key file: %s" +msgstr "Staza do datoteke sa sudoers privatnim (tajnim) ključem: %s" + +#: plugins/sudoers/def_data.c:572 +msgid "Verify that the log server's certificate is valid" +msgstr "Provjerite je li certifikat dnevničkog servera valjan" + +#: plugins/sudoers/def_data.c:576 +msgid "Allow the use of unknown runas user and/or group ID" +msgstr "Dopustite nepoznate vrijednosti za korisničko ime i/ili ID grupe za ‘runas’" + +#: plugins/sudoers/def_data.c:580 +msgid "Only permit running commands as a user with a valid shell" +msgstr "Dopustite izvršavanje naredbi samo korisniku s valjanom ljuskom" + +#: plugins/sudoers/def_data.c:584 +msgid "Set the pam remote user to the user running sudo" +msgstr "Postavite udaljenog korisnika PAM-a na korisnika koji izvršava sudo" + +#: plugins/sudoers/def_data.c:588 +msgid "Set the pam remote host to the local host name" +msgstr "Postavite PAM udaljenog hosta pam na ime lokalnog hosta (računala)" + +#: plugins/sudoers/def_data.c:592 +#, c-format +msgid "Working directory to change to before executing the command: %s" +msgstr "Radni direktorij u koji treba otići prije izvršavanja naredbe: %s" + +#: plugins/sudoers/def_data.c:596 +#, c-format +msgid "Root directory to change to before executing the command: %s" +msgstr "Root direktorij u koji treba otići prije izvršavanja naredbe: %s" + +#: plugins/sudoers/def_data.c:600 +#, c-format +msgid "The format of logs to produce: %s" +msgstr "Format dnevnika: %s" + +#: plugins/sudoers/def_data.c:604 +msgid "Enable SELinux RBAC support" +msgstr "Omogući podršku za SELinux RBAC" + +#: plugins/sudoers/def_data.c:608 +#, c-format +msgid "Path to the file that is created the first time sudo is run: %s" +msgstr "Staza do datoteke koja se kreira prilikom prvog sudo pokretanja: %s" + +#: plugins/sudoers/def_data.c:612 +msgid "Intercept further commands and apply sudoers restrictions to them" +msgstr "Presretne daljnje naredbe i primijeni ograničenja sudoers-a na njih" + +#: plugins/sudoers/def_data.c:616 +msgid "Log sub-commands run by the original command" +msgstr "Urudžbira podnaredbe koje izvodi naredba" + +#: plugins/sudoers/def_data.c:620 +msgid "Log the exit status of commands" +msgstr "Urudžbira izlazno stanje pokrenute naredbe" + +#: plugins/sudoers/def_data.c:624 +msgid "Subsequent commands in an intercepted session must be authenticated" +msgstr "Naredne naredbe u presretoj sesiji moraju biti ovjerene" + +#: plugins/sudoers/def_data.c:628 +msgid "Allow an intercepted command to run set setuid or setgid programs" +msgstr "Dopusti presretnutu naredbu da pokrene program za postavljnje setuid ili setgid" + +#: plugins/sudoers/def_data.c:632 +#, c-format +msgid "The maximum size to which the process's address space may grow (in bytes): %s" +msgstr "Maksimalna veličina do koje adresni prostor procesa može narasti (u bajtovima): %s" + +#: plugins/sudoers/def_data.c:636 +#, c-format +msgid "The largest size core dump file that may be created (in bytes): %s" +msgstr "Najveća veličina datoteke s damp memorijom koja se može stvoriti (u bajtovima): %s" + +#: plugins/sudoers/def_data.c:640 +#, c-format +msgid "The maximum amount of CPU time that the process may use (in seconds): %s" +msgstr "Maksimalna količina CPU vremena koje proces može koristiti (u sekundama): %s" + +#: plugins/sudoers/def_data.c:644 +#, c-format +msgid "The maximum size of the data segment for the process (in bytes): %s" +msgstr "Maksimalna veličina podatkovnog segmenta za proces (u bajtovima): %s" + +#: plugins/sudoers/def_data.c:648 +#, c-format +msgid "The largest size file that the process may create (in bytes): %s" +msgstr "Najveća veličina datoteke koju proces može stvoriti (u bajtovima): %s" + +#: plugins/sudoers/def_data.c:652 +#, c-format +msgid "The maximum number of locks that the process may establish: %s" +msgstr "Maksimalni broj zaključavanja koje proces može uspostaviti: %s" + +#: plugins/sudoers/def_data.c:656 +#, c-format +msgid "The maximum size that the process may lock in memory (in bytes): %s" +msgstr "Maksimalna veličina koju proces može zaključati u memoriji (u bajtovima): %s" + +#: plugins/sudoers/def_data.c:660 +#, c-format +msgid "The maximum number of files that the process may have open: %s" +msgstr "Maksimalan broj datoteka koje proces može otvoriti: %s" + +#: plugins/sudoers/def_data.c:664 +#, c-format +msgid "The maximum number of processes that the user may run simultaneously: %s" +msgstr "Maksimalan broj procesa koje korisnik može istovremeno pokrenuti: %s" + +#: plugins/sudoers/def_data.c:668 +#, c-format +msgid "The maximum size to which the process's resident set size may grow (in bytes): %s" +msgstr "Maksimalna veličina do koje može narasti rezidentna postavljena veličina procesa (u bajtovima): %s" + +#: plugins/sudoers/def_data.c:672 +#, c-format +msgid "The maximum size to which the process's stack may grow (in bytes): %s" +msgstr "Maksimalna veličina do koje može narasti stȏg procesa (u bajtovima): %s" + +#: plugins/sudoers/def_data.c:676 +msgid "Attempt authentication even when in non-interactive mode" +msgstr "Pokušaj provjere autentičnosti iako se radi u neinteraktivnom načinu" + +#: plugins/sudoers/def_data.c:680 +msgid "Store plaintext passwords in I/O log input" +msgstr "Sprema lozinke u čistom tekstu u U/I zapisniku ulaza" + +#: plugins/sudoers/def_data.c:684 +msgid "List of regular expressions to use when matching a password prompt" +msgstr "Popis regularnih izraza koji se koriste za podudaranje s lozinkama" + +#: plugins/sudoers/def_data.c:688 +#, c-format +msgid "The mechanism used by the intercept and log_subcmds options: %s" +msgstr "Mehanizam koji koriste opcije presretanja i log_subcmds: %s" + +#: plugins/sudoers/def_data.c:692 +msgid "Attempt to verify the command and arguments after execution" +msgstr "Pokušaj provjere naredbe i argumente nakon izvršenja" + +#: plugins/sudoers/def_data.c:696 +#, c-format +msgid "AppArmor profile to use in the new security context: %s" +msgstr "AppArmor profil za upotrebu u novom sigurnosnom kontekstu: %s" + +#: plugins/sudoers/defaults.c:191 +#, c-format +msgid "unknown defaults entry \"%s\"" +msgstr "nepoznati unos defaults „%s“" + +#: plugins/sudoers/defaults.c:234 +#, c-format +msgid "no value specified for \"%s\"" +msgstr "nije navedena vrijednost za „%s“" + +#: plugins/sudoers/defaults.c:243 +#, c-format +msgid "invalid operator \"%c=\" for \"%s\"" +msgstr "nevaljan operator „%c=“ za „%s“" + +#: plugins/sudoers/defaults.c:275 +#, c-format +msgid "option \"%s\" does not take a value" +msgstr "opcija „%s“ ne prihvaća vrijednost" + +#: plugins/sudoers/defaults.c:299 +#, c-format +msgid "invalid Defaults type 0x%x for option \"%s\"" +msgstr "nevaljani Defaults tip 0x%x za opciju „%s“" + +#: plugins/sudoers/defaults.c:306 +#, c-format +msgid "value \"%s\" is invalid for option \"%s\"" +msgstr "vrijednost „%s“ nije ispravna za opciju „%s“" + +#: plugins/sudoers/defaults.c:1128 plugins/sudoers/policy.c:210 +#: plugins/sudoers/policy.c:219 +#, c-format +msgid "path name for \"%s\" too long" +msgstr "ime staze za „%s“ je predugo" + +#: plugins/sudoers/defaults.c:1134 +#, c-format +msgid "values for \"%s\" must start with a '/', '~', or '*'" +msgstr "vrijednost za „%s“ mora započeti s „/“, „~“, ili „*“" + +#: plugins/sudoers/defaults.c:1141 +#, c-format +msgid "values for \"%s\" must start with a '/'" +msgstr "vrijednost za „%s“ mora početi s „/“" + +#: plugins/sudoers/editor.c:180 +#, c-format +msgid "ignoring editor: %.*s" +msgstr "ignoriramo editor: %.*s" + +#: plugins/sudoers/editor.c:181 +msgid "editor arguments may not contain \"--\"" +msgstr "argumenti editora ne smiju sadržavati „--“" + +#: plugins/sudoers/env.c:426 +msgid "sudo_putenv: corrupted envp, length mismatch" +msgstr "sudo_putenv: oštećen envp, duljina ne odgovara" + +#: plugins/sudoers/env.c:1113 +msgid "unable to rebuild the environment" +msgstr "nije moguće obnoviti okolinu" + +#: plugins/sudoers/env.c:1192 +#, c-format +msgid "sorry, you are not allowed to set the following environment variables: %s" +msgstr "nemate dopuštenje za postavljanje sljedećih varijabli okoline: %s" + +#: plugins/sudoers/filedigest.c:49 +#, c-format +msgid "unsupported digest type %d for %s" +msgstr "nepodržani tip kontrolnog zbroja %d za %s" + +#: plugins/sudoers/filedigest.c:78 +#, c-format +msgid "%s: read error" +msgstr "%s: greška pri čitanju" + +#: plugins/sudoers/group_plugin.c:169 plugins/sudoers/sssd.c:576 +#, c-format +msgid "unable to load %s: %s" +msgstr "nije moguće učitati %s: %s" + +#: plugins/sudoers/group_plugin.c:181 +#, c-format +msgid "unable to find symbol \"group_plugin\" in %s" +msgstr "nije moguće pronaći simbol „group_plugin“ u %s" + +#: plugins/sudoers/group_plugin.c:186 +#, c-format +msgid "%s: incompatible group plugin major version %d, expected %d" +msgstr "%s: nekompatibilna glavna inačica plugin grupe %d, očekivano je %d" + +#: plugins/sudoers/interfaces.c:76 plugins/sudoers/interfaces.c:93 +#, c-format +msgid "unable to parse IP address \"%s\"" +msgstr "„%s“ nije valjana IP adresa (nemoguće ju je raščlaniti)" + +#: plugins/sudoers/interfaces.c:81 plugins/sudoers/interfaces.c:98 +#, c-format +msgid "unable to parse netmask \"%s\"" +msgstr "„%s“ nije valjana mrežna maska (nemoguće ju je raščlaniti)" + +#: plugins/sudoers/interfaces.c:126 +msgid "Local IP address and netmask pairs:\n" +msgstr "Parovi lokalnih IP adresa i mrežnih maski:\n" + +#: plugins/sudoers/iolog.c:685 +msgid "unable to update sequence file" +msgstr "nije moguće ažurirati datoteku redoslijeda (sequence file)" + +#: plugins/sudoers/iolog.c:719 plugins/sudoers/iolog.c:907 +#: plugins/sudoers/iolog.c:1069 plugins/sudoers/iolog.c:1076 +#: plugins/sudoers/iolog.c:1197 plugins/sudoers/iolog.c:1204 +#: plugins/sudoers/iolog.c:1303 plugins/sudoers/iolog.c:1310 +#, c-format +msgid "unable to write to I/O log file: %s" +msgstr "nije moguće pisati u U/I dnevnik: %s" + +#: plugins/sudoers/iolog.c:727 +#, c-format +msgid "unable to create %s/%s" +msgstr "nije moguće stvoriti %s/%s" + +#: plugins/sudoers/iolog.c:955 +#, c-format +msgid "%s: internal error, I/O log file for event %d not open" +msgstr "%s: interna greška, U/I dnevnička datoteka za događaj %d nije otvorena" + +#: plugins/sudoers/iolog.c:1054 plugins/sudoers/iolog.c:1182 +#: plugins/sudoers/iolog.c:1287 plugins/sudoers/timestamp.c:879 +#: plugins/sudoers/timestamp.c:971 plugins/sudoers/visudo.c:556 +#: plugins/sudoers/visudo.c:562 +msgid "unable to read the clock" +msgstr "nije moguće pročitati vrijeme (clock)" + +#: plugins/sudoers/iolog.c:1279 plugins/sudoers/log_client.c:1192 +#: plugins/sudoers/log_client.c:1202 plugins/sudoers/log_client.c:1206 +#, c-format +msgid "%s: internal error, invalid signal %d" +msgstr "%s: interna greška, nevaljani signal %d" + +#: plugins/sudoers/ldap.c:177 plugins/sudoers/ldap_conf.c:292 +msgid "starttls not supported when using ldaps" +msgstr "starttls nije podržan kad se koristi ldaps" + +#: plugins/sudoers/ldap.c:248 +#, c-format +msgid "unable to initialize SSL cert and key db: %s" +msgstr "nije moguće inicijalizirati SSL certifikat i bazu podataka ključeva: %s" + +#: plugins/sudoers/ldap.c:251 +#, c-format +msgid "you must set TLS_CERT in %s to use SSL" +msgstr "morate postaviti TLS_CERT u %s da koristite SSL" + +#: plugins/sudoers/ldap.c:1714 +#, c-format +msgid "unable to initialize LDAP: %s" +msgstr "nije moguće inicijalizirati LDAP: %s" + +#: plugins/sudoers/ldap.c:1751 +msgid "start_tls specified but LDAP libs do not support ldap_start_tls_s() or ldap_start_tls_s_np()" +msgstr "start_tls je specificirani, ali LDAP biblioteke ne podržavaju ldap_start_tls_s() ili ldap_start_tls_s_np()" + +#: plugins/sudoers/ldap.c:1888 plugins/sudoers/parse_ldif.c:748 +#, c-format +msgid "invalid sudoOrder attribute: %s" +msgstr "nevaljani sudoOrder atribut: %s" + +#: plugins/sudoers/ldap_conf.c:200 +#, c-format +msgid "%s: port too large" +msgstr "%s: preveliki port" + +#: plugins/sudoers/ldap_conf.c:261 +#, c-format +msgid "unsupported LDAP uri type: %s" +msgstr "nepodržani tip adrese LDAP: %s" + +#: plugins/sudoers/ldap_conf.c:288 +msgid "unable to mix ldap and ldaps URIs" +msgstr "ne možete zajedno koristiti ldap i ldaps adrese" + +#: plugins/sudoers/ldap_util.c:499 plugins/sudoers/ldap_util.c:506 +#: plugins/sudoers/ldap_util.c:514 plugins/sudoers/ldap_util.c:523 +#: plugins/sudoers/ldap_util.c:531 plugins/sudoers/ldap_util.c:541 +#: plugins/sudoers/ldap_util.c:549 +#, c-format +msgid "duplicate sudoOption: %s%s%s" +msgstr "duplicira sudoOption: %s%s%s" + +#: plugins/sudoers/ldap_util.c:568 plugins/sudoers/ldap_util.c:570 +#, c-format +msgid "unable to convert sudoOption: %s%s%s" +msgstr "nije moguće pretvoriti sudoOption: %s%s%s" + +#: plugins/sudoers/linux_audit.c:58 plugins/sudoers/linux_audit.c:60 +msgid "unable to open audit system" +msgstr "nije moguće otvoriti revizijski sustav" + +#: plugins/sudoers/linux_audit.c:103 +msgid "unable to send audit message" +msgstr "nije moguće poslati revizijsku poruku" + +#: plugins/sudoers/log_client.c:125 plugins/sudoers/log_client.c:412 +#: plugins/sudoers/log_client.c:1439 plugins/sudoers/log_client.c:2055 +msgid "error in event loop" +msgstr "greška u petlji događaja" + +#: plugins/sudoers/log_client.c:205 +#, c-format +msgid "Creation of new SSL_CTX object failed: %s" +msgstr "Nije uspjelo stvoriti novi ‘SSL_CTX’ objekt: %s" + +#: plugins/sudoers/log_client.c:230 +#, c-format +msgid "unable to load certificate authority bundle %s" +msgstr "nije moguće učitati datoteku s certifikatatima (CA bundle) %s" + +#: plugins/sudoers/log_client.c:252 +#, c-format +msgid "unable to load certificate %s" +msgstr "nije moguće učitati certifikate %s" + +#: plugins/sudoers/log_client.c:266 +#, c-format +msgid "unable to load private key %s" +msgstr "nije moguće učitati privatni ključ %s" + +#: plugins/sudoers/log_client.c:275 +#, c-format +msgid "Unable to allocate ssl object: %s" +msgstr "Nije uspjelo dodijeliti memoriju za SSL objekt: %s" + +#: plugins/sudoers/log_client.c:364 plugins/sudoers/log_client.c:369 +#, c-format +msgid "TLS connection to %s:%s failed: %s" +msgstr "TLS veza sa %s:%s nije uspjela: %s" + +#: plugins/sudoers/log_client.c:543 +msgid "TLS initialization was unsuccessful" +msgstr "TLS inicijalizacija nije bila uspješna" + +#: plugins/sudoers/log_client.c:553 +msgid "TLS handshake was unsuccessful" +msgstr "TLS rukovanje (handshake) nije bila uspješno" + +#: plugins/sudoers/log_client.c:1210 +#, c-format +msgid "%s: internal error, invalid exit status %d" +msgstr "%s: **interna greška** -- nevaljani izlazni status %d" + +#: plugins/sudoers/log_client.c:1739 plugins/sudoers/log_client.c:1763 +msgid "lost connection to log server" +msgstr "veza sa serverom za autentifikaciju je prekinuta (izgubljena je)" + +#: plugins/sudoers/log_client.c:1840 +msgid "missing write buffer" +msgstr "nema međuspremnika za pisanje" + +#: plugins/sudoers/log_client.c:1994 +msgid "unable to connect to log server" +msgstr "nije moguće spojiti se na dnevnički server" + +#: plugins/sudoers/logging.c:290 +msgid "user NOT in sudoers" +msgstr "korisnik NIJE u sudoers" + +# Authentication is about who somebody is. +# Authorisation is about what they're allowed to do. +# https://en.wikipedia.org/wiki/AAA_(computer_security)#Authorization +#: plugins/sudoers/logging.c:292 +msgid "user NOT authorized on host" +msgstr "korisnik NEMA ovlasti na računalu (nije autoriziran)" + +#: plugins/sudoers/logging.c:294 +msgid "command not allowed" +msgstr "naredba nije dopuštena" + +#: plugins/sudoers/logging.c:315 +#, c-format +msgid "%s is not in the sudoers file.\n" +msgstr "%s nije u sudoers datoteci\n" + +#: plugins/sudoers/logging.c:318 +#, c-format +msgid "%s is not allowed to run sudo on %s.\n" +msgstr "%s nije dopušteno pokrenuti sudo na %s.\n" + +#: plugins/sudoers/logging.c:321 +#, c-format +msgid "Sorry, user %s may not run sudo on %s.\n" +msgstr "Nažalost, korisnik %s ne smije pokrenuti sudo na %s.\n" + +#: plugins/sudoers/logging.c:324 +#, c-format +msgid "Sorry, user %s is not allowed to execute '%s%s%s' as %s%s%s on %s.\n" +msgstr "Nažalost, korisniku %s nije dopušteno izvršiti „%s%s%s“ kao %s%s%s na %s.\n" + +#: plugins/sudoers/logging.c:334 +msgid "This incident has been reported to the administrator.\n" +msgstr "Ovaj incident bit će prijavljen administratoru.\n" + +#: plugins/sudoers/logging.c:369 plugins/sudoers/sudoers.c:655 +#: plugins/sudoers/sudoers.c:657 plugins/sudoers/sudoers.c:659 +#: plugins/sudoers/sudoers.c:661 plugins/sudoers/sudoers.c:816 +#: plugins/sudoers/sudoers.c:818 +#, c-format +msgid "%s: command not found" +msgstr "%s: naredba nije pronađena" + +#: plugins/sudoers/logging.c:371 plugins/sudoers/sudoers.c:651 +#, c-format +msgid "" +"ignoring \"%s\" found in '.'\n" +"Use \"sudo ./%s\" if this is the \"%s\" you wish to run." +msgstr "" +"zanemaruje se „%s“ pronađen u „.“\n" +"Koristite „sudo ./%s“ ako je to „%s“ koji želite pokrenuti." + +#: plugins/sudoers/logging.c:391 +#, c-format +msgid "%u incorrect password attempt" +msgid_plural "%u incorrect password attempts" +msgstr[0] "%u netočni pokušaj unosa lozinke" +msgstr[1] "%u netočna pokušaja unosa lozinke" +msgstr[2] "%u netočnih pokušaja unosa lozinke" + +#: plugins/sudoers/logging.c:481 +msgid "authentication failure" +msgstr "neuspješna autentifikacija" + +#: plugins/sudoers/logging.c:520 plugins/sudoers/logging.c:539 +msgid "a password is required" +msgstr "nužna je lozinka" + +#: plugins/sudoers/logging.c:803 plugins/sudoers/logging.c:815 +msgid "problem parsing sudoers" +msgstr "problem sa sudoers raščlanivanjem" + +#: plugins/sudoers/logging.c:877 plugins/sudoers/logging.c:889 +#, c-format +msgid "%s:%d:%d: %s" +msgstr "%s:%d:%d: %s" + +#: plugins/sudoers/logging.c:1066 +#, c-format +msgid "unable to write log file: %s" +msgstr "nije moguće pisati u dnevničku datoteku: %s" + +#: plugins/sudoers/match_digest.c:112 +#, c-format +msgid "digest for %s (%s) bad length %zu, expected %zu" +msgstr "kontrolni zbroj za %s (%s) ima lošu dužinu %zu, očekivana je %zu" + +#: plugins/sudoers/match_digest.c:131 +#, c-format +msgid "digest for %s (%s) is not in %s form" +msgstr "kontrolni zbroj za %s (%s) nije u %s obliku" + +#: plugins/sudoers/parse.c:631 +#, c-format +msgid "" +"\n" +"LDAP Role: %s\n" +msgstr "" +"\n" +"LDAP uloga: %s\n" + +#: plugins/sudoers/parse.c:634 +msgid "" +"\n" +"Sudoers entry:\n" +msgstr "" +"\n" +"Sudoers stavka:\n" + +#: plugins/sudoers/parse.c:636 +msgid " RunAsUsers: " +msgstr " RunAsUsers: " + +#: plugins/sudoers/parse.c:651 +msgid " RunAsGroups: " +msgstr " RunAsGroups: " + +#: plugins/sudoers/parse.c:661 +msgid " Options: " +msgstr " Opcije: " + +#: plugins/sudoers/parse.c:725 +msgid " Commands:\n" +msgstr " Naredbe:\n" + +#: plugins/sudoers/parse.c:916 +#, c-format +msgid "Matching Defaults entries for %s on %s:\n" +msgstr "Odgovarajući Defaults unosi za %s na %s:\n" + +#: plugins/sudoers/parse.c:934 +#, c-format +msgid "Runas and Command-specific defaults for %s:\n" +msgstr "Runas i Command-specifične zadane vrijednosti za %s:\n" + +#: plugins/sudoers/parse.c:952 +#, c-format +msgid "User %s may run the following commands on %s:\n" +msgstr "Korisnik %s može pokrenuti sljedeće naredbe na %s:\n" + +#: plugins/sudoers/parse.c:967 +#, c-format +msgid "User %s is not allowed to run sudo on %s.\n" +msgstr "Korisniku %s nije dopušteno pokrenuti sudo na %s.\n" + +#: plugins/sudoers/parse_ldif.c:618 +#, c-format +msgid "ignoring incomplete sudoRole: cn: %s" +msgstr "zanemareni nekompletni sudoRole: cn: %s" + +#: plugins/sudoers/parse_ldif.c:678 +#, c-format +msgid "invalid LDIF attribute: %s" +msgstr "nevaljani LDIF atribut: %s" + +#: plugins/sudoers/policy.c:82 plugins/sudoers/policy.c:113 +#, c-format +msgid "invalid %.*s set by sudo front-end" +msgstr "nevaljana opcija %.*s postavljena kroz sudo front-end" + +#: plugins/sudoers/policy.c:360 plugins/sudoers/testsudoers.c:268 +msgid "unable to parse network address list" +msgstr "nije moguće pročitati popis mrežnih adresa (nemoguće ih je raščlaniti)" + +#: plugins/sudoers/policy.c:528 +msgid "user name not set by sudo front-end" +msgstr "ime korisnika nije postavio front-end sudo-a" + +#: plugins/sudoers/policy.c:532 +msgid "user-ID not set by sudo front-end" +msgstr "korisnički ID (user-ID) nije postavio front-end sudo-a" + +#: plugins/sudoers/policy.c:536 +msgid "group-ID not set by sudo front-end" +msgstr "groupni ID (group-ID) nije postavio front-end sudo-a" + +#: plugins/sudoers/policy.c:540 +msgid "host name not set by sudo front-end" +msgstr "ime računala (host name) nije postavio front-end sudo-a" + +#: plugins/sudoers/policy.c:737 +#, c-format +msgid "invalid working directory: %s" +msgstr "nevaljani radni direktorij: %s" + +#: plugins/sudoers/policy.c:921 +#, c-format +msgid "invalid chroot directory: %s" +msgstr "nevaljani chroot direktorij: %s" + +#: plugins/sudoers/policy.c:1108 plugins/sudoers/visudo.c:259 +#: plugins/sudoers/visudo.c:906 +#, c-format +msgid "unable to execute %s" +msgstr "nije moguće izvršiti %s" + +#: plugins/sudoers/policy.c:1178 plugins/sudoers/policy.c:1215 +#: plugins/sudoers/policy.c:1237 plugins/sudoers/policy.c:1263 +#, c-format +msgid "%s: invalid mode flags from sudo front end: 0x%x" +msgstr "%s: nevaljane zastavice načina rada iz sudo front end: 0x%x" + +#: plugins/sudoers/policy.c:1299 +#, c-format +msgid "Sudoers policy plugin version %s\n" +msgstr "Inačica sudoers plugina s pravilima %s\n" + +#: plugins/sudoers/policy.c:1301 +#, c-format +msgid "Sudoers file grammar version %d\n" +msgstr "Inačica sudoers datotečne gramatike %d\n" + +#: plugins/sudoers/policy.c:1305 +#, c-format +msgid "" +"\n" +"Sudoers path: %s\n" +msgstr "" +"\n" +"Staza do sudoers: %s\n" + +#: plugins/sudoers/policy.c:1308 +#, c-format +msgid "nsswitch path: %s\n" +msgstr "nsswitch staza: %s\n" + +#: plugins/sudoers/policy.c:1310 +#, c-format +msgid "ldap.conf path: %s\n" +msgstr "ldap.conf staza: %s\n" + +#: plugins/sudoers/policy.c:1311 +#, c-format +msgid "ldap.secret path: %s\n" +msgstr "ldap.secret staza: %s\n" + +# hook: A location in a routine or program in which the programmer can connect or insert other routines for the purpose of debugging or enhancing functionality. +#: plugins/sudoers/policy.c:1344 +#, c-format +msgid "unable to register hook of type %d (version %d.%d)" +msgstr "nije moguće registrirati rutinu (hook) tipa %d (inačica %d.%d)" + +# hook: A location in a routine or program in which the programmer can connect or insert other routines for the purpose of debugging or enhancing functionality. +#: plugins/sudoers/policy.c:1362 +#, c-format +msgid "unable to deregister hook of type %d (version %d.%d)" +msgstr "nije moguće poništiti registraciju tipa (hook) %d (inačica %d.%d)" + +#: plugins/sudoers/pwutil.c:222 plugins/sudoers/pwutil.c:240 +#, c-format +msgid "unable to cache uid %u" +msgstr "nije moguće zapamtiti (cache) UID %u" + +#: plugins/sudoers/pwutil.c:234 +#, c-format +msgid "unable to cache uid %u, already exists" +msgstr "nije moguće predmemorirati UID %u jer već postoji" + +#: plugins/sudoers/pwutil.c:294 plugins/sudoers/pwutil.c:312 +#: plugins/sudoers/pwutil.c:375 plugins/sudoers/pwutil.c:420 +#, c-format +msgid "unable to cache user %s" +msgstr "nije moguće zapamtiti (cache) korisnika %s" + +#: plugins/sudoers/pwutil.c:307 +#, c-format +msgid "unable to cache user %s, already exists" +msgstr "nije moguće predmemorirati korisnika %s jer već postoji" + +#: plugins/sudoers/pwutil.c:539 plugins/sudoers/pwutil.c:557 +#, c-format +msgid "unable to cache gid %u" +msgstr "nije moguće zapamtiti (cache) GID %u" + +#: plugins/sudoers/pwutil.c:551 +#, c-format +msgid "unable to cache gid %u, already exists" +msgstr "nije moguće predmemorirati GID %u jer već postoji" + +#: plugins/sudoers/pwutil.c:605 plugins/sudoers/pwutil.c:623 +#: plugins/sudoers/pwutil.c:684 plugins/sudoers/pwutil.c:733 +#, c-format +msgid "unable to cache group %s" +msgstr "nije moguće zapamtiti (cache) grupu %s" + +#: plugins/sudoers/pwutil.c:618 +#, c-format +msgid "unable to cache group %s, already exists" +msgstr "nije moguće predmemorirati grupu %s jer već postoji" + +#: plugins/sudoers/pwutil.c:880 plugins/sudoers/pwutil.c:963 +#: plugins/sudoers/pwutil.c:1017 plugins/sudoers/pwutil.c:1071 +#, c-format +msgid "unable to cache group list for %s, already exists" +msgstr "nije moguće predmemorirati popis grupa za %s jer već postoji" + +#: plugins/sudoers/pwutil.c:886 plugins/sudoers/pwutil.c:968 +#: plugins/sudoers/pwutil.c:1023 plugins/sudoers/pwutil.c:1076 +#, c-format +msgid "unable to cache group list for %s" +msgstr "nije moguće zapamtiti (cache) popis grupa za %s" + +#: plugins/sudoers/pwutil.c:957 +#, c-format +msgid "unable to parse groups for %s" +msgstr "nije moguće pročitati grupe za %s" + +#: plugins/sudoers/pwutil.c:1065 +#, c-format +msgid "unable to parse gids for %s" +msgstr "nije moguće razabrati GID-ove za %s" + +#: plugins/sudoers/set_perms.c:114 plugins/sudoers/set_perms.c:445 +#: plugins/sudoers/set_perms.c:852 plugins/sudoers/set_perms.c:1162 +#: plugins/sudoers/set_perms.c:1460 +msgid "perm stack overflow" +msgstr "prelijevanje snopa s pravima pristupa" + +#: plugins/sudoers/set_perms.c:125 plugins/sudoers/set_perms.c:376 +#: plugins/sudoers/set_perms.c:456 plugins/sudoers/set_perms.c:719 +#: plugins/sudoers/set_perms.c:863 plugins/sudoers/set_perms.c:1086 +#: plugins/sudoers/set_perms.c:1173 plugins/sudoers/set_perms.c:1393 +#: plugins/sudoers/set_perms.c:1471 plugins/sudoers/set_perms.c:1562 +msgid "perm stack underflow" +msgstr "iscrpljenje snopa s pravima pristupa" + +#: plugins/sudoers/set_perms.c:185 plugins/sudoers/set_perms.c:503 +#: plugins/sudoers/set_perms.c:1227 plugins/sudoers/set_perms.c:1505 +msgid "unable to change to root gid" +msgstr "nije moguće promijeniti na GID od root" + +#: plugins/sudoers/set_perms.c:276 plugins/sudoers/set_perms.c:600 +#: plugins/sudoers/set_perms.c:995 plugins/sudoers/set_perms.c:1304 +msgid "unable to change to runas gid" +msgstr "nije moguće promijeniti na runas GID" + +#: plugins/sudoers/set_perms.c:281 plugins/sudoers/set_perms.c:605 +#: plugins/sudoers/set_perms.c:1000 plugins/sudoers/set_perms.c:1309 +msgid "unable to set runas group vector" +msgstr "nije moguće postaviti runas grupni vektor" + +#: plugins/sudoers/set_perms.c:292 plugins/sudoers/set_perms.c:616 +#: plugins/sudoers/set_perms.c:1009 plugins/sudoers/set_perms.c:1318 +msgid "unable to change to runas uid" +msgstr "nije moguće promijeniti na runas UID" + +#: plugins/sudoers/set_perms.c:310 plugins/sudoers/set_perms.c:634 +#: plugins/sudoers/set_perms.c:1025 plugins/sudoers/set_perms.c:1334 +msgid "unable to change to sudoers gid" +msgstr "nije moguće promijeniti na sudoers GID" + +#: plugins/sudoers/set_perms.c:363 plugins/sudoers/set_perms.c:706 +#: plugins/sudoers/set_perms.c:1073 plugins/sudoers/set_perms.c:1380 +#: plugins/sudoers/set_perms.c:1549 +msgid "too many processes" +msgstr "previše procesa" + +#: plugins/sudoers/solaris_audit.c:61 +msgid "unable to get current working directory" +msgstr "nije moguće odrediti trenutni radni direktorij" + +#: plugins/sudoers/solaris_audit.c:69 +#, c-format +msgid "truncated audit path user_cmnd: %s" +msgstr "skraćena (audit) staza revizije user_cmd: %s" + +#: plugins/sudoers/solaris_audit.c:76 +#, c-format +msgid "truncated audit path argv[0]: %s" +msgstr "skraćena (audit) staza revizije argv[0]: %s" + +#: plugins/sudoers/sssd.c:579 +msgid "unable to initialize SSS source. Is SSSD installed on your machine?" +msgstr "nije moguće inicijalizirati SSS izvor. Je li SSSD instaliran na vašem računalu?" + +#: plugins/sudoers/sssd.c:587 plugins/sudoers/sssd.c:596 +#: plugins/sudoers/sssd.c:605 plugins/sudoers/sssd.c:614 +#: plugins/sudoers/sssd.c:623 +#, c-format +msgid "unable to find symbol \"%s\" in %s" +msgstr "nije moguće pronaći simbol „%s“ u %s" + +#: plugins/sudoers/sudoers.c:263 +#, c-format +msgid "unable to get defaults from %s" +msgstr "nije moguće dobiti zadane vrijednosti (defaults) od %s" + +#: plugins/sudoers/sudoers.c:270 +msgid "no valid sudoers sources found, quitting" +msgstr "nisu pronađeni valjani sudoers izvori, kraj rada" + +#: plugins/sudoers/sudoers.c:346 +#, c-format +msgid "user not allowed to change root directory to %s" +msgstr "korisniku nije dopušteno promijeniti radni direktorij na %s" + +#: plugins/sudoers/sudoers.c:348 +#, c-format +msgid "you are not permitted to use the -R option with %s" +msgstr "vama nije dopušteno koristi opciju -R s/sa %s" + +#: plugins/sudoers/sudoers.c:373 +#, c-format +msgid "user not allowed to change directory to %s" +msgstr "korisniku nije dopušteno promijeniti direktorij na %s" + +#: plugins/sudoers/sudoers.c:374 +#, c-format +msgid "you are not permitted to use the -D option with %s" +msgstr "vama nije dopušteno koristi opciju -D s/sa %s" + +#: plugins/sudoers/sudoers.c:401 +msgid "no command specified" +msgstr "nijedna naredba nije specificirana" + +#: plugins/sudoers/sudoers.c:426 +msgid "sudoers specifies that root is not allowed to sudo" +msgstr "sudoers specificira da root ne može koristiti sudo" + +#: plugins/sudoers/sudoers.c:483 +msgid "user not allowed to override closefrom limit" +msgstr "korisniku nije dopušteno promijeniti ograničenje od ‘closefrom’" + +#: plugins/sudoers/sudoers.c:484 +msgid "you are not permitted to use the -C option" +msgstr "vama nije dopušteno koristi opciju -C" + +#: plugins/sudoers/sudoers.c:544 +#, c-format +msgid "timestamp owner (%s): No such user" +msgstr "vlasnik vremenske oznake (%s): Nema takvog korisnika" + +#: plugins/sudoers/sudoers.c:559 +msgid "no tty" +msgstr "nema TTY" + +#: plugins/sudoers/sudoers.c:560 +msgid "sorry, you must have a tty to run sudo" +msgstr "nažalost, da pokrenete sudo morate imati TTY" + +#: plugins/sudoers/sudoers.c:567 +#, c-format +msgid "invalid shell for user %s: %s" +msgstr "nevaljana ljuska za korisnika %s: %s" + +#: plugins/sudoers/sudoers.c:650 +msgid "command in current directory" +msgstr "naredba u trenutnom direktoriju" + +#: plugins/sudoers/sudoers.c:665 +msgid "\"cd\" is a shell built-in command, it cannot be run directly." +msgstr "„cd“ naredba je ugrađena u ljusku, ne može se izravno pokrenuti." + +#: plugins/sudoers/sudoers.c:667 +msgid "the -s option may be used to run a privileged shell." +msgstr "opcija -s može se koristiti za pokretanje privilegirane ljuske." + +#: plugins/sudoers/sudoers.c:669 +msgid "the -D option may be used to run a command in a specific directory." +msgstr "opcija -D može se koristiti za pokretanje naredbe u određenom direktoriju." + +#: plugins/sudoers/sudoers.c:678 +msgid "user not allowed to set a command timeout" +msgstr "korisniku nije dopušteno postavljanje tajmaut naredbe" + +#: plugins/sudoers/sudoers.c:680 +msgid "sorry, you are not allowed set a command timeout" +msgstr "nažalost, vama nije dopušteno postavljanje tajmaut za naredbu" + +#: plugins/sudoers/sudoers.c:688 +msgid "user not allowed to preserve the environment" +msgstr "korisniku nije dopušteno sačuvati okolinu" + +#: plugins/sudoers/sudoers.c:690 +msgid "sorry, you are not allowed to preserve the environment" +msgstr "vama nije dopušteno zadržati okolinu" + +#: plugins/sudoers/sudoers.c:799 +msgid "error setting user-specified environment variables" +msgstr "pogreška pri postavljanju korisnikom specificiranih varijabli okruženja" + +#: plugins/sudoers/sudoers.c:1112 +msgid "sudoedit doesn't need to be run via sudo" +msgstr "sudoedit se ne mora pokrenuti sa sudo" + +#: plugins/sudoers/sudoers.c:1157 plugins/sudoers/sudoreplay.c:1612 +#: plugins/sudoers/tsdump.c:138 +#, c-format +msgid "unable to read %s" +msgstr "nije moguće pročitati %s" + +#: plugins/sudoers/sudoers.c:1186 plugins/sudoers/visudo.c:1066 +#, c-format +msgid "%s is not a regular file" +msgstr "%s nije obična datoteka" + +#: plugins/sudoers/sudoers.c:1190 plugins/sudoers/timestamp.c:263 toke.l:1255 +#, c-format +msgid "%s is owned by uid %u, should be %u" +msgstr "vlasnik %s je UID %u, a treba biti %u" + +#: plugins/sudoers/sudoers.c:1194 plugins/sudoers/timestamp.c:270 toke.l:1260 +#, c-format +msgid "%s is world writable" +msgstr "%s smije svatko mijenjati/pisati" + +#: plugins/sudoers/sudoers.c:1198 plugins/sudoers/timestamp.c:275 toke.l:1263 +#, c-format +msgid "%s is owned by gid %u, should be %u" +msgstr "vlasnik %s je GID %u, a treba biti %u" + +#: plugins/sudoers/sudoers.c:1233 +#, c-format +msgid "only root can use \"-c %s\"" +msgstr "samo root može koristiti „-c %s“" + +#: plugins/sudoers/sudoers.c:1252 +#, c-format +msgid "unknown login class %s" +msgstr "nepoznata klasa prijave %s" + +#: plugins/sudoers/sudoers.c:1339 plugins/sudoers/sudoers.c:1354 +#, c-format +msgid "unable to resolve host %s" +msgstr "nije moguće pronaći računalo %s" + +#: plugins/sudoers/sudoreplay.c:252 +#, c-format +msgid "invalid filter option: %s" +msgstr "nevaljana opcija filtra: %s" + +#: plugins/sudoers/sudoreplay.c:268 +#, c-format +msgid "invalid max wait: %s" +msgstr "nevaljano maksimalno vrijeme čekanja: %s" + +#: plugins/sudoers/sudoreplay.c:291 +#, c-format +msgid "invalid speed factor: %s" +msgstr "nevaljani faktor brzine: %s" + +#: plugins/sudoers/sudoreplay.c:326 +#, c-format +msgid "invalid time offset %s" +msgstr "nevaljani vremenski odmak %s" + +#: plugins/sudoers/sudoreplay.c:335 +#, c-format +msgid "%s/%.2s/%.2s/%.2s: %s" +msgstr "%s/%.2s/%.2s/%.2s: %s" + +#: plugins/sudoers/sudoreplay.c:340 +#, c-format +msgid "%s/timing: %s" +msgstr "%s/tajming: %s" + +#: plugins/sudoers/sudoreplay.c:368 +#, c-format +msgid "Replaying sudo session: %s" +msgstr "Reproduciranje sudo sesije: %s" + +#: plugins/sudoers/sudoreplay.c:634 +msgid "unable to set tty to raw mode" +msgstr "nije moguće postaviti TTY u direktni mȏd (da ne interpretira posebne znakove)" + +#: plugins/sudoers/sudoreplay.c:685 +msgid "Warning: your terminal is too small to properly replay the log.\n" +msgstr "Upozorenje: vaš terminal je premaleni da pravilno reproducira dnevnik.\n" + +#: plugins/sudoers/sudoreplay.c:686 +#, c-format +msgid "Log geometry is %d x %d, your terminal's geometry is %d x %d." +msgstr "Veličina dnevnika je %d x %d, a veličina vašeg terminala %d x %d." + +#: plugins/sudoers/sudoreplay.c:714 +msgid "Replay finished, press any key to restore the terminal." +msgstr "Reprodukcija je završena -- obnovite terminal pritiskom na bilo koju tipku." + +#: plugins/sudoers/sudoreplay.c:1216 plugins/sudoers/sudoreplay.c:1246 +#, c-format +msgid "ambiguous expression \"%s\"" +msgstr "dvosmisleni izraz „%s“" + +#: plugins/sudoers/sudoreplay.c:1268 +msgid "unmatched ')' in expression" +msgstr "nesparena „)“ u izrazu" + +#: plugins/sudoers/sudoreplay.c:1272 +#, c-format +msgid "unknown search term \"%s\"" +msgstr "nepoznati pojam za pretragu „%s“" + +#: plugins/sudoers/sudoreplay.c:1287 +#, c-format +msgid "%s requires an argument" +msgstr "%s zahtijeva argument" + +#: plugins/sudoers/sudoreplay.c:1297 +#, c-format +msgid "could not parse date \"%s\"" +msgstr "nije moguće raščlaniti datum „%s“" + +#: plugins/sudoers/sudoreplay.c:1306 +msgid "unmatched '(' in expression" +msgstr "nesparena „(“ u izrazu" + +#: plugins/sudoers/sudoreplay.c:1308 +msgid "illegal trailing \"or\"" +msgstr "nelegalni zaostali „or“" + +#: plugins/sudoers/sudoreplay.c:1310 +msgid "illegal trailing \"!\"" +msgstr "nelegalni zaostali „!“" + +#: plugins/sudoers/sudoreplay.c:1416 +#, c-format +msgid "unknown search type %d" +msgstr "nepoznati tip za pretragu %d" + +#: plugins/sudoers/sudoreplay.c:1678 +#, c-format +msgid "usage: %s [-hnRS] [-d dir] [-m num] [-s num] ID\n" +msgstr "uporaba: %s [-hnRS] [-d dir] [-m num] [-s num] ID\n" + +#: plugins/sudoers/sudoreplay.c:1680 +#, c-format +msgid "usage: %s [-h] [-d dir] -l [search expression]\n" +msgstr "uporaba: %s [-h] [-d direktorij] -l [izraz za pretragu]\n" + +#: plugins/sudoers/sudoreplay.c:1694 +#, c-format +msgid "" +"%s - replay sudo session logs\n" +"\n" +msgstr "" +"%s - reproducira dnevnike sudo sesija\n" +"\n" + +#: plugins/sudoers/sudoreplay.c:1696 +msgid "" +"\n" +"Options:\n" +" -d, --directory=dir specify directory for session logs\n" +" -f, --filter=filter specify which I/O type(s) to display\n" +" -h, --help display help message and exit\n" +" -l, --list list available session IDs, with optional expression\n" +" -m, --max-wait=num max number of seconds to wait between events\n" +" -n, --non-interactive no prompts, session is sent to the standard output\n" +" -R, --no-resize do not attempt to re-size the terminal\n" +" -S, --suspend-wait wait while the command was suspended\n" +" -s, --speed=num speed up or slow down output\n" +" -V, --version display version information and exit" +msgstr "" +"\n" +"Options:\n" +" -d, --directory=dir navedite direktorij dir za dnevnike sesija\n" +" -f, --filter=filter navedite (filter) tip/tipove U/I koje treba pokazati\n" +" -h, --help pokaže poruku s pomoći i iziđe\n" +" -l, --list popis dostupnih ID-ova sjednica koji se podudaraju\n" +" s neobveznim izrazom za pretragu\n" +" -m, --max-wait=num čekati ne više od num sekundi između događaja\n" +" -n, --non-interactive bez prompta - sesija se šalje na standardni izlaz\n" +" -R, --no-resize ne mijenjati veličinu terminala\n" +" -S, --suspend-wait čeka dok je naredba obustavljena\n" +" -s, --speed=num ubrza ili uspori reprodukciju\n" +" -V, --version informira o inačici ovog programa i iziđe" + +#: plugins/sudoers/testsudoers.c:344 +msgid "\thost unmatched" +msgstr "\tračunalo se ne podudara" + +#: plugins/sudoers/testsudoers.c:347 +msgid "" +"\n" +"Command allowed" +msgstr "" +"\n" +"Naredba je dopuštena." + +#: plugins/sudoers/testsudoers.c:348 +msgid "" +"\n" +"Command denied" +msgstr "" +"\n" +"Naredba nije dopuštena" + +#: plugins/sudoers/testsudoers.c:348 +msgid "" +"\n" +"Command unmatched" +msgstr "" +"\n" +"Naredba nije prepoznata" + +#: plugins/sudoers/timestamp.c:354 plugins/sudoers/timestamp.c:693 +#, c-format +msgid "unable to truncate time stamp file to %lld bytes" +msgstr "nije moguće skratiti datoteku s vremenskim podacima na %lld bajtova" + +#: plugins/sudoers/timestamp.c:890 +msgid "ignoring time stamp from the future" +msgstr "zanemarena vremenska oznaka iz budućnosti" + +#: plugins/sudoers/timestamp.c:913 +#, c-format +msgid "time stamp too far in the future: %20.20s" +msgstr "vremenska oznaka je predaleko u budućnosti: %20.20s" + +#: plugins/sudoers/timestamp.c:1042 +#, c-format +msgid "unable to lock time stamp file %s" +msgstr "nije moguće zaključati datoteku s vremenskim oznakama %s" + +#: plugins/sudoers/toke_util.c:156 +msgid "sudoedit should not be specified with a path" +msgstr "sudoedit se ne smije specificirati sa stazom" + +#: plugins/sudoers/visudo.c:254 +msgid "the -x option will be removed in a future release" +msgstr "opcija -x biti će uklonjena iz buduće inačice" + +#: plugins/sudoers/visudo.c:256 +msgid "please consider using the cvtsudoers utility instead" +msgstr "molimo da umjesto toga pokušate rabiti cvtsudoers uslužni program" + +#: plugins/sudoers/visudo.c:311 plugins/sudoers/visudo.c:702 +#, c-format +msgid "press return to edit %s: " +msgstr "pritisnite return/enter za redigirati %s: " + +#: plugins/sudoers/visudo.c:326 +#, c-format +msgid "contents of edit session left in %s" +msgstr "sadržaj sesije uređivanja je ostavljen u %s" + +#: plugins/sudoers/visudo.c:403 +#, c-format +msgid "specified editor (%s) doesn't exist" +msgstr "navedeni uređivač (%s) ne postoji" + +#: plugins/sudoers/visudo.c:408 +#, c-format +msgid "no editor found (editor path = %s)" +msgstr "nijedan uređivač nije pronađen (editor path = %s)" + +#: plugins/sudoers/visudo.c:495 plugins/sudoers/visudo.c:774 +#, c-format +msgid "unable to stat %s" +msgstr "nije moguće dobiti status od %s" + +#: plugins/sudoers/visudo.c:515 plugins/sudoers/visudo.c:523 +msgid "write error" +msgstr "greška pri pisanju" + +#: plugins/sudoers/visudo.c:569 +#, c-format +msgid "unable to stat temporary file (%s), %s unchanged" +msgstr "nije moguće dobiti status privremene datoteke (%s), %s nije promijenjena" + +#: plugins/sudoers/visudo.c:576 +#, c-format +msgid "zero length temporary file (%s), %s unchanged" +msgstr "privremena datoteka duljine nula (%s), %s nije promijenjena" + +#: plugins/sudoers/visudo.c:582 +#, c-format +msgid "editor (%s) failed, %s unchanged" +msgstr "greška uređivač (%s), %s nije promijenjena" + +#: plugins/sudoers/visudo.c:604 +#, c-format +msgid "%s unchanged" +msgstr "%s nije promijenjeno" + +#: plugins/sudoers/visudo.c:649 +#, c-format +msgid "unable to re-open temporary file (%s), %s unchanged." +msgstr "nije moguće ponovo otvoriti privremenu datoteku (%s), %s nije promijenjena." + +#: plugins/sudoers/visudo.c:662 +#, c-format +msgid "unable to parse temporary file (%s), unknown error" +msgstr "nije moguće razabrati privremenu datoteku (%s) -- nepoznata greška" + +#: plugins/sudoers/visudo.c:748 plugins/sudoers/visudo.c:778 +#: plugins/sudoers/visudo.c:785 +#, c-format +msgid "unable to set (uid, gid) of %s to (%u, %u)" +msgstr "nije moguće postaviti (UID, GID) od %s na (%u, %u)" + +#: plugins/sudoers/visudo.c:813 +#, c-format +msgid "%s and %s not on the same file system, using mv to rename" +msgstr "%s i %s nisu na istom datotečnom sustavu, koristi se mv za preimenovanje" + +#: plugins/sudoers/visudo.c:824 +#, c-format +msgid "command failed: '%s %s %s', %s unchanged" +msgstr "naredba nije uspjela: „%s %s %s“, %s nije promijenjena" + +#: plugins/sudoers/visudo.c:831 +#, c-format +msgid "error renaming %s, %s unchanged" +msgstr "greška u preimenovanju %s, %s nije promijenjena" + +#: plugins/sudoers/visudo.c:851 +msgid "What now? " +msgstr "Što sada? " + +#: plugins/sudoers/visudo.c:865 +msgid "" +"Options are:\n" +" (e)dit sudoers file again\n" +" e(x)it without saving changes to sudoers file\n" +" (Q)uit and save changes to sudoers file (DANGER!)\n" +msgstr "" +"Mogućnosti su:\n" +" (e) datoteku sudoers ponovno redigirati\n" +" (x) završiti bez spremanja promjena u datoteku sudoers)\n" +" (Q) prekinuti i spremiti promjene u datoteku sudoers (OPASNO!)\n" + +#: plugins/sudoers/visudo.c:911 +#, c-format +msgid "unable to run %s" +msgstr "nije moguće pokrenuti %s" + +#: plugins/sudoers/visudo.c:942 +#, c-format +msgid "%s: wrong owner (uid, gid) should be (%u, %u)\n" +msgstr "%s: krivi vlasnik (UID, GID) a treba biti (%u, %u)\n" + +#: plugins/sudoers/visudo.c:953 +#, c-format +msgid "%s: bad permissions, should be mode 0%o\n" +msgstr "%s: loša prava pristupa, trebala bi biti 0%o\n" + +#: plugins/sudoers/visudo.c:999 plugins/sudoers/visudo.c:1006 +#, c-format +msgid "%s: parsed OK\n" +msgstr "%s: raščlamba je uspjela\n" + +#: plugins/sudoers/visudo.c:1025 +#, c-format +msgid "%s busy, try again later" +msgstr "%s je zauzeti, pokušajte ponovo kasnije" + +#: plugins/sudoers/visudo.c:1029 +msgid "Edit anyway? [y/N]" +msgstr "Ipak redigirati? [y/N]" + +#: plugins/sudoers/visudo.c:1130 +#, c-format +msgid "Warning: %s:%d:%d: unused %s \"%s\"" +msgstr "Upozorenje: %s:%d:%d nekorišteni %s „%s“" + +#: plugins/sudoers/visudo.c:1242 +#, c-format +msgid "" +"%s - safely edit the sudoers file\n" +"\n" +msgstr "" +"%s - sigurno redigira sudoers datoteku\n" +"\n" + +#: plugins/sudoers/visudo.c:1244 +msgid "" +"\n" +"Options:\n" +" -c, --check check-only mode\n" +" -f, --file=sudoers specify sudoers file location\n" +" -h, --help display help message and exit\n" +" -I, --no-includes do not edit include files\n" +" -q, --quiet less verbose (quiet) syntax error messages\n" +" -s, --strict strict syntax checking\n" +" -V, --version display version information and exit\n" +msgstr "" +"\n" +"Opcije:\n" +" -c, --check koristi samo testni način\n" +" -f, --file=sudoers specificira lokaciju sudoers datoteke\n" +" -h, --help pokaže poruku s pomoći i iziđe\n" +" -I, --no-includes uključene datoteke (include files) ne redigirati\n" +" -q, --quite manje opširne (tihe) poruke grešaka u sintaksi\n" +" -s, --strick striktni test sintakse sudoers datoteke\n" +" -V, --version informira o inačici ovog programa i iziđe\n" + +#: toke.l:189 +msgid "empty string" +msgstr "prazni string" + +#: toke.l:201 toke.l:571 +msgid "empty group" +msgstr "prazna grupa" + +#: toke.l:211 toke.l:569 +msgid "empty netgroup" +msgstr "prazna mrežna grupa (netgroup)" + +#: toke.l:289 +msgid "unterminated regular expression" +msgstr "nezavršen regularni izraz" + +#: toke.l:363 toke.l:375 toke.l:387 toke.l:403 toke.l:422 toke.l:462 +msgid "invalid line continuation" +msgstr "nevaljani nastavak retka" + +#: toke.l:608 toke.l:620 +msgid "invalid IPv6 address" +msgstr "nevaljana IPv6 adresa" + +#: toke.l:876 +msgid "unexpected line break in string" +msgstr "neočekivani prelom retka" + +#: toke.l:1226 +msgid "too many levels of includes" +msgstr "previše razina uključivanja" + +#~ msgid "%s must be owned by uid %d" +#~ msgstr "vlasnik %s mora biti UID %d" + +#~ msgid "%s must only be writable by owner" +#~ msgstr "%s mora biti dostupan za pisanje samo vlasniku" + +#~ msgid "%s is group writable" +#~ msgstr "%s članovi grupe mogu mijenjati/pisati" + +#~ msgid "lecture status path too long: %s/%s" +#~ msgstr "staza do lekcije je predugačka: %s/%s" + +#~ msgid "Error: %s:%d:%d: cycle in %s \"%s\"" +#~ msgstr "Greška: %s:%d:%d: ciklus u %s „%s“" + +#~ msgid "Warning: %s:%d:%d: cycle in %s \"%s\"" +#~ msgstr "Upozorenje: %s:%d:%d: ciklus u %s „%s“" + +#~ msgid "Warning: %s:%d:%d: %s \"%s\" referenced but not defined" +#~ msgstr "Upozorenje: %s:%d:%d %s „%s“ je referenciran ali nije definiran" + +#~ msgid "parse error in %s near line %d\n" +#~ msgstr "greška u raščlambi u %s blizu retka %d\n" + +#~ msgid "parse error in %s\n" +#~ msgstr "greška u raščlambi u %s\n" + +#~ msgid "%s: unknown defaults entry \"%s\"" +#~ msgstr "%s: nepoznata stavka zadanih vrijednosti „%s“" + +#~ msgid "%s:%d:%d: no value specified for \"%s\"" +#~ msgstr "%s:%d:%d: nije navedena vrijednost za „%s“" + +#~ msgid "%s:%d:%d: invalid operator \"%c=\" for \"%s\"" +#~ msgstr "%s:%d:%d: nevaljan operator \"%c=\" za „%s“" + +#~ msgid "%s:%d:%d: option \"%s\" does not take a value" +#~ msgstr "%s:%d:%d: opcija „%s“ ne treba nikakvu vrijednost" + +#~ msgid "%s:%d:%d: invalid Defaults type 0x%x for option \"%s\"" +#~ msgstr "%s:%d:%d: nevaljana vrsta Defaults 0x%x za opciju „%s“" + +#~ msgid "%s:%d:%d: value \"%s\" is invalid for option \"%s\"" +#~ msgstr "%s:%d:%d: vrijednost „%s“ za opciju „%s“ nije valjana" + +#~ msgid "%s:%d:%d: path name for \"%s\" too long" +#~ msgstr "%s:%d:%d: ime staze za „%s“ je predugačko" + +#~ msgid "%s: path name for \"%s\" too long" +#~ msgstr "%s: ime staze za „%s“ je predugačko" + +#~ msgid "%s:%d:%d: values for \"%s\" must start with a '/', '~', or '*'" +#~ msgstr "%s:%d:%d: vrijednost za „%s“ mora započeti s „/“, „~“, ili „*“" + +#~ msgid "%s:%d:%d: values for \"%s\" must start with a '/'" +#~ msgstr "%s:%d:%d: vrijednost za „%s“ mora započeti s „/“" + +#~ msgid "parse error in %s near line %d" +#~ msgstr "greška u raščlambi u %s blizu retka %d" + +#~ msgid "parse error in %s" +#~ msgstr "greška u raščlambi u %s" + +#~ msgid "SELinux RBAC is not supported when intercept mode is enabled" +#~ msgstr "SELinux RBAC nije podržan ako je omogućeno presretanje" + +#~ msgid "SELinux RBAC is not supported when the log_subcmds flag is enabled" +#~ msgstr "SELinux RBAC nije podržan ako je postavljen flag od log_subcmds" + +#~ msgid "problem with defaults entries" +#~ msgstr "problem sa stavkama defaults" + +#~ msgid "internal error, unable to find %s in list!" +#~ msgstr "**interna greška**, nije moguće pronaći %s na popisu!" + +#~ msgid "%s is not in the sudoers file. This incident will be reported.\n" +#~ msgstr "%s nije u sudoers datoteci. Ovaj će incident biti prijavljen.\n" + +#~ msgid "%s is not allowed to run sudo on %s. This incident will be reported.\n" +#~ msgstr "" +#~ "%s nema dopuštenja pokrenuti sudo na %s. Ovaj će incident biti prijavljen.\n" +#~ "\n" + +#~ msgid "%s: write buffer already in use" +#~ msgstr "%s: međuspremnik za pisanje je zauzet" + +#~ msgid "unable to read diffie-hellman parameters: %s" +#~ msgstr "nije moguće pročitati diffie-hellman parametre: %s" + +#~ msgid "%s:%d unknown key: %s" +#~ msgstr "%s: %d nepoznati ključ: %s" + +#~ msgid "unable to get TLS server method: %s" +#~ msgstr "nije moguće dobiti od servera metodu: %s" + +#~ msgid "%s:%u unable to parse \"%s\"" +#~ msgstr "%s:%u nije moguće raščlaniti \"%s\"" + +#~ msgid "" +#~ "\n" +#~ "Options:\n" +#~ " -f, --file path to configuration file\n" +#~ " -h --help display help message and exit\n" +#~ " -n, --no-fork do not fork, run in the foreground\n" +#~ " -R, --random-drop percent chance connections will drop\n" +#~ " -V, --version display version information and exit\n" +#~ msgstr "" +#~ "\n" +#~ "Opcije:\n" +#~ " -f, --file= staza do konfiguracijske datoteke\n" +#~ " -h, --help pokaže ovu pomoć i iziđe\n" +#~ " -n, --no-fork ne stvara novi proces, nego radi u prednjem planu\n" +#~ " -R, --random-drop postotak šanse da izgubi vezu (drop connection)\n" +#~ " -V, --version informira o inačici ovog programa i iziđe\n" + +#~ msgid "" +#~ "\n" +#~ "Options:\n" +#~ " --help display help message and exit\n" +#~ " -A, --accept only send an accept event (no I/O)\n" +#~ " -h, --host host to send logs to\n" +#~ " -i, --iolog_id remote ID of I/O log to be resumed\n" +#~ " -p, --port port to use when connecting to host\n" +#~ " -r, --restart restart previous I/O log transfer\n" +#~ " -R, --reject reject the command with the given reason\n" +#~ " -b, --ca-bundle certificate bundle file to verify server's cert against\n" +#~ " -c, --cert certificate file for TLS handshake\n" +#~ " -k, --key private key file\n" +#~ " -n, --no-verify do not verify server certificate\n" +#~ " -t, --test test audit server by sending selected I/O log n times in parallel\n" +#~ " -V, --version display version information and exit\n" +#~ msgstr "" +#~ "\n" +#~ "Options:\n" +#~ " --help pokaže ovu pomoć i iziđe\n" +#~ " -A, --accept only send an accept event (no I/O)\n" +#~ " -h, --host host (računalo) kojemu se šalje dnevnik\n" +#~ " -i, --iolog_id udaljeni ID od U/I dnevnika koji treba nastaviti\n" +#~ " -p, --port port koji će se koristiti za spajanje na hosta\n" +#~ " -r, --restart ponovi prethodni prijenos U/I dnevnika\n" +#~ " -b, --ca-bundle datoteka s paketom certifikata (CA) za provjeru\n" +#~ " certifikata servera\n" +#~ " -c, --cert certificat datoteka za TLS rukovanje (handshake)\n" +#~ " -k, --key datoteka s privatnim (tajnim) ključem (private key)\n" +#~ " -t, --test testira revizijski server tako da paralelno\n" +#~ " pošalje ‘n’ puta U/I dnevnik\n" +#~ " -V, --version informira o inačici ovog programa i iziđe\n" + +#~ msgid "Preload the dummy exec functions contained in the sudo_noexec library" +#~ msgstr "Prethodno učitati prividne izvršne funkcije sadržane u biblioteci sudo_noexec." + +#~ msgid "sudo_ldap_conf_add_ports: port too large" +#~ msgstr "‘sudo_ldap_conf_add_ports’: port vrijednost je prevelika" + +#~ msgid "SSL_connect failed: ssl_error=%d, stack=%s\n" +#~ msgstr "SSL_connect failed: ssl_error=%d, stack=%s\n" + +#~ msgid "CA bundle file was not specified" +#~ msgstr "Datoteka s paketom certifikata (CA) nije bila specificirana" + +#~ msgid "Client certificate was not specified" +#~ msgstr "Certifikat klijenta nije bio specificiran" + +#~ msgid "Unable to allocate ssl object: %s\n" +#~ msgstr "nije moguće dodijeliti SSL objekt: %s\n" + +#~ msgid "Unable to attach socket to the ssl object: %s\n" +#~ msgstr "Nije moguće prikvačiti utičnicu na SSL objekt: %s\n" + +#~ msgid "client message too large: %zu\n" +#~ msgstr "poruka klijenta je preduga: %zu\n" + +#~ msgid "server message too large: %u\n" +#~ msgstr "poruka servera je preduga: %u\n" + +#~ msgid "CA bundle file is not set in sudoers" +#~ msgstr "U sudoers nije zadana datoteka s paketom certifikata (CA)" + +#~ msgid "Calling SSL_CTX_load_verify_locations() failed: %s" +#~ msgstr "Nije uspjelo pozvati SSL_CTX_load_verify_locations(): %s" + +#~ msgid "Signed certificate file is not set in sudoers" +#~ msgstr "Potpisana datoteka certifikata nije postavljena u sudoers" + +#~ msgid "Unable to load private key into the ssl context: %s" +#~ msgstr "Učitavanje privatnog (tajnog) ključa u SSL kontekst nije uspjelo: %s" + +#~ msgid "SSL_connect failed: ssl_error=%d, stack=%s" +#~ msgstr "‘SSL_connect’ nije uspjela: ssl_error=%d, stack=%s" + +#~ msgid "SSL_read failed: ssl_error=%d, stack=%s" +#~ msgstr "‘SSL_read’ nije uspjela: ssl_error=%d, stack=%s" + +#~ msgid "SSL_write failed: ssl_error=%d, stack=%s" +#~ msgstr "‘SSL_write’ nije uspjela: ssl_error=%d, stack=%s" + +#~ msgid "unknown address family: %d" +#~ msgstr "nepoznata familija adresa: %d" + +#~ msgid "audit_failure message too long" +#~ msgstr "audit_failure poruka (revizije) je preduga" + +#~ msgid "No user or host" +#~ msgstr "Nema korisnika ili računala" + +#~ msgid "validation failure" +#~ msgstr "greška pri provjeri valjanosti" + +#~ msgid "%s/%s/timing: %s" +#~ msgstr "%s/%s/vrijeme: %s" + +#~ msgid "ignoring invalid attribute value: %s" +#~ msgstr "ignorira se nevaljana vrijednost atributa: %s" + +#~ msgid "unable to cache user %s, out of memory" +#~ msgstr "nije moguće predmemorirati korisnika %s jer nema dovoljno memorije" + +#~ msgid "unable to cache group %s, out of memory" +#~ msgstr "nije moguće predmemorirati grupu %s jer nema dovoljno memorije" + +#~ msgid "unable to cache group list for %s, out of memory" +#~ msgstr "nije moguće predmemorirati popis grupa za %s jer nema dovoljno memorije" + +#~ msgid "" +#~ "\n" +#~ "LDAP Role: UNKNOWN\n" +#~ msgstr "" +#~ "\n" +#~ "LDAP uloga: NEPOZNATA\n" + +#~ msgid " Order: %s\n" +#~ msgstr " Redoslijed: %s\n" + +#~ msgid "" +#~ "\n" +#~ "SSSD Role: %s\n" +#~ msgstr "" +#~ "\n" +#~ "SSSD uloga: %s\n" + +#~ msgid "" +#~ "\n" +#~ "SSSD Role: UNKNOWN\n" +#~ msgstr "" +#~ "\n" +#~ "SSSD uloga: NEPOZNATA\n" + +#~ msgid "Warning: unused %s `%s'" +#~ msgstr "Upozorenje: %s „%s“ nije upotrebljen" + +#~ msgid "Password:" +#~ msgstr "Lozinka:" + +#~ msgid "pam_chauthtok: %s" +#~ msgstr "pam_chauthtok: %s" + +#~ msgid "pam_authenticate: %s" +#~ msgstr "pam_authenticate: %s" + +#~ msgid "getaudit: failed" +#~ msgstr "getaudit: nije uspio" + +#~ msgid "getauid failed" +#~ msgstr "getauid nije uspio" + +#~ msgid "au_to_subject: failed" +#~ msgstr "au_to_subject: nije uspio" + +#~ msgid "au_to_exec_args: failed" +#~ msgstr "au_to_exec_args: nije uspio" + +#~ msgid "au_to_return32: failed" +#~ msgstr "au_to_return32: nije uspio" + +#~ msgid "getauid: failed" +#~ msgstr "getauid: nije uspio" + +#~ msgid "au_to_text: failed" +#~ msgstr "au_to_text: nije uspio" + +#~ msgid "sudo_ldap_conf_add_ports: out of space expanding hostbuf" +#~ msgstr "sudo_ldap_conf_add_ports: nema dovoljno prostora za proširenje međuspremnika računala" + +#~ msgid "unable to mix ldaps and starttls" +#~ msgstr "ne mogu miješati ldaps i starttls" + +#~ msgid "sudo_ldap_parse_uri: out of space building hostbuf" +#~ msgstr "sudo_ldap_parse_uri: nema dovoljno prostora za izgradnju međuspremnika računala" + +#~ msgid "sudo_ldap_build_pass1 allocation mismatch" +#~ msgstr "neodgovarajuća sudo_ldap_build_pass1 alokacija" + +#~ msgid "internal error: insufficient space for log line" +#~ msgstr "interna greška: nema dovoljno prostora za redak dnevnika" + +#~ msgid "Unable to dlopen %s: %s" +#~ msgstr "Ne mogu izvršiti dlopen %s: %s" + +#~ msgid "writing to standard output" +#~ msgstr "ispisujem na standardni izlaz" + +#~ msgid "nanosleep: tv_sec %ld, tv_nsec %ld" +#~ msgstr "nanosleep: tv_sec %ld, tv_nsec %ld" + +#~ msgid "too many parenthesized expressions, max %d" +#~ msgstr "previše izraza u zagradama, najviše %d" + +#~ msgid "%s owned by uid %u, should be uid %u" +#~ msgstr "vlasnik %s je uid %u, treba biti uid %u" + +#~ msgid "%s writable by non-owner (0%o), should be mode 0700" +#~ msgstr "nevlasnici imaju dozvolu za pisanje u %s (0%o), treba biti mod 0700" + +#~ msgid "%s exists but is not a regular file (0%o)" +#~ msgstr "%s postoji, ali nije obična datoteka (0%o)" + +#~ msgid "%s writable by non-owner (0%o), should be mode 0600" +#~ msgstr "nevlasnici imaju dozvolu za pisanje u %s (0%o), treba biti mod 0600" + +#~ msgid "unable to remove %s, will reset to the epoch" +#~ msgstr "ne mogu ukloniti %s, vratit ću na početnu epohu" + +#~ msgid "fill_args: buffer overflow" +#~ msgstr "fill_args: preljev međuspremnika" + +#~ msgid "unable to stat editor (%s)" +#~ msgstr "ne mogu odrediti stanje uređivača (%s)" + +#~ msgid ">>> %s: %s near line %d <<<" +#~ msgstr ">>> %s: %s kod retka %d <<<" + +#~ msgid "unable to set locale to \"%s\", using \"C\"" +#~ msgstr "ne mogu postaviti lokal u „%s”, koristim „C”" + +#~ msgid "" +#~ " Commands:\n" +#~ "\t" +#~ msgstr "" +#~ " Naredbe:\n" +#~ "\t" + +#~ msgid ": " +#~ msgstr ": " + +#~ msgid "unable to cache uid %u (%s), already exists" +#~ msgstr "ne mogu staviti uid %u (%s) u spremnik, već postoji" + +#~ msgid "unable to cache gid %u (%s), already exists" +#~ msgstr "ne mogu staviti gid %u (%s) u spremnik, već postoji" + +#~ msgid "internal error, expand_prompt() overflow" +#~ msgstr "interna greška, expand_prompt() preljev" + +#~ msgid "internal error, sudo_setenv2() overflow" +#~ msgstr "interna greška, sudo_setenv2() preljev" + +#~ msgid "internal error, sudo_setenv() overflow" +#~ msgstr "interna greška, sudo_setenv() preljev" + +#~ msgid "internal error, linux_audit_command() overflow" +#~ msgstr "interna greška, linux_audit_command() preljev" + +#~ msgid "internal error, runas_groups overflow" +#~ msgstr "interna greška, runas_groups preljev" + +#~ msgid "internal error, init_vars() overflow" +#~ msgstr "interna greška, init_vars() preljev" diff --git a/plugins/sudoers/po/hu.mo b/plugins/sudoers/po/hu.mo new file mode 100644 index 0000000..97ad917 Binary files /dev/null and b/plugins/sudoers/po/hu.mo differ diff --git a/plugins/sudoers/po/hu.po b/plugins/sudoers/po/hu.po new file mode 100644 index 0000000..2e9239e --- /dev/null +++ b/plugins/sudoers/po/hu.po @@ -0,0 +1,2152 @@ +# Hungarian translation for sudoers. +# Portable object template file for the sudoers plugin +# This file is put in the public domain. +# +# Todd C. Miller , 2011-2014. +# Gabor Kelemen , 2015. +# Balázs Úr , 2017, 2018. +msgid "" +msgstr "" +"Project-Id-Version: sudoers 1.8.22b2\n" +"Report-Msgid-Bugs-To: https://bugzilla.sudo.ws\n" +"POT-Creation-Date: 2017-12-18 10:37-0700\n" +"PO-Revision-Date: 2018-01-20 14:06+0100\n" +"Last-Translator: Balázs Úr \n" +"Language-Team: Hungarian \n" +"Language: hu\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 1.2\n" + +#: confstr.sh:1 +msgid "syntax error" +msgstr "szintaktikai hiba" + +#: confstr.sh:2 +msgid "%p's password: " +msgstr "%p jelszava: " + +#: confstr.sh:3 +msgid "[sudo] password for %p: " +msgstr "[sudo] %p jelszava: " + +#: confstr.sh:4 +msgid "Password: " +msgstr "Jelszó: " + +#: confstr.sh:5 +msgid "*** SECURITY information for %h ***" +msgstr "*** BIZTONSÁGI információk erről: %h ***" + +#: confstr.sh:6 +msgid "Sorry, try again." +msgstr "Elnézést, próbálja újra." + +#: gram.y:192 gram.y:240 gram.y:247 gram.y:254 gram.y:261 gram.y:268 +#: gram.y:284 gram.y:307 gram.y:314 gram.y:321 gram.y:328 gram.y:335 +#: gram.y:398 gram.y:406 gram.y:416 gram.y:449 gram.y:456 gram.y:463 +#: gram.y:470 gram.y:552 gram.y:559 gram.y:568 gram.y:577 gram.y:594 +#: gram.y:706 gram.y:713 gram.y:720 gram.y:728 gram.y:824 gram.y:831 +#: gram.y:838 gram.y:845 gram.y:852 gram.y:878 gram.y:885 gram.y:892 +#: gram.y:1015 gram.y:1195 gram.y:1202 plugins/sudoers/alias.c:124 +#: plugins/sudoers/alias.c:139 plugins/sudoers/auth/bsdauth.c:141 +#: plugins/sudoers/auth/kerb5.c:119 plugins/sudoers/auth/kerb5.c:145 +#: plugins/sudoers/auth/pam.c:490 plugins/sudoers/auth/rfc1938.c:109 +#: plugins/sudoers/auth/sia.c:59 plugins/sudoers/defaults.c:651 +#: plugins/sudoers/defaults.c:906 plugins/sudoers/defaults.c:1077 +#: plugins/sudoers/editor.c:64 plugins/sudoers/editor.c:82 +#: plugins/sudoers/editor.c:93 plugins/sudoers/env.c:233 +#: plugins/sudoers/filedigest.c:120 plugins/sudoers/filedigest_gcrypt.c:90 +#: plugins/sudoers/filedigest_openssl.c:111 plugins/sudoers/gc.c:52 +#: plugins/sudoers/group_plugin.c:134 plugins/sudoers/interfaces.c:71 +#: plugins/sudoers/iolog.c:941 plugins/sudoers/iolog_path.c:167 +#: plugins/sudoers/ldap.c:449 plugins/sudoers/ldap.c:480 +#: plugins/sudoers/ldap.c:532 plugins/sudoers/ldap.c:566 +#: plugins/sudoers/ldap.c:980 plugins/sudoers/ldap.c:1174 +#: plugins/sudoers/ldap.c:1185 plugins/sudoers/ldap.c:1201 +#: plugins/sudoers/ldap.c:1493 plugins/sudoers/ldap.c:1653 +#: plugins/sudoers/ldap.c:1735 plugins/sudoers/ldap.c:1883 +#: plugins/sudoers/ldap.c:1907 plugins/sudoers/ldap.c:1996 +#: plugins/sudoers/ldap.c:2011 plugins/sudoers/ldap.c:2107 +#: plugins/sudoers/ldap.c:2140 plugins/sudoers/ldap.c:2221 +#: plugins/sudoers/ldap.c:2303 plugins/sudoers/ldap.c:2400 +#: plugins/sudoers/ldap.c:3235 plugins/sudoers/ldap.c:3267 +#: plugins/sudoers/ldap.c:3579 plugins/sudoers/ldap.c:3607 +#: plugins/sudoers/ldap.c:3623 plugins/sudoers/ldap.c:3713 +#: plugins/sudoers/ldap.c:3729 plugins/sudoers/linux_audit.c:76 +#: plugins/sudoers/logging.c:190 plugins/sudoers/logging.c:501 +#: plugins/sudoers/logging.c:522 plugins/sudoers/logging.c:563 +#: plugins/sudoers/logging.c:740 plugins/sudoers/logging.c:998 +#: plugins/sudoers/match.c:617 plugins/sudoers/match.c:664 +#: plugins/sudoers/match.c:714 plugins/sudoers/match.c:738 +#: plugins/sudoers/match.c:826 plugins/sudoers/match.c:915 +#: plugins/sudoers/parse.c:252 plugins/sudoers/parse.c:264 +#: plugins/sudoers/parse.c:279 plugins/sudoers/parse.c:291 +#: plugins/sudoers/policy.c:498 plugins/sudoers/policy.c:735 +#: plugins/sudoers/prompt.c:93 plugins/sudoers/pwutil.c:165 +#: plugins/sudoers/pwutil.c:236 plugins/sudoers/pwutil.c:312 +#: plugins/sudoers/pwutil.c:486 plugins/sudoers/pwutil.c:551 +#: plugins/sudoers/pwutil.c:620 plugins/sudoers/pwutil.c:778 +#: plugins/sudoers/pwutil.c:835 plugins/sudoers/pwutil.c:880 +#: plugins/sudoers/pwutil.c:938 plugins/sudoers/sssd.c:162 +#: plugins/sudoers/sssd.c:194 plugins/sudoers/sssd.c:237 +#: plugins/sudoers/sssd.c:244 plugins/sudoers/sssd.c:280 +#: plugins/sudoers/sssd.c:353 plugins/sudoers/sssd.c:392 +#: plugins/sudoers/sssd.c:1073 plugins/sudoers/sssd.c:1252 +#: plugins/sudoers/sssd.c:1266 plugins/sudoers/sssd.c:1282 +#: plugins/sudoers/sudoers.c:263 plugins/sudoers/sudoers.c:273 +#: plugins/sudoers/sudoers.c:281 plugins/sudoers/sudoers.c:365 +#: plugins/sudoers/sudoers.c:682 plugins/sudoers/sudoers.c:807 +#: plugins/sudoers/sudoers.c:851 plugins/sudoers/sudoers.c:1123 +#: plugins/sudoers/sudoers_debug.c:107 plugins/sudoers/sudoreplay.c:1254 +#: plugins/sudoers/sudoreplay.c:1366 plugins/sudoers/sudoreplay.c:1406 +#: plugins/sudoers/sudoreplay.c:1415 plugins/sudoers/sudoreplay.c:1425 +#: plugins/sudoers/sudoreplay.c:1433 plugins/sudoers/sudoreplay.c:1437 +#: plugins/sudoers/sudoreplay.c:1593 plugins/sudoers/sudoreplay.c:1597 +#: plugins/sudoers/testsudoers.c:131 plugins/sudoers/testsudoers.c:217 +#: plugins/sudoers/testsudoers.c:234 plugins/sudoers/timestamp.c:397 +#: plugins/sudoers/timestamp.c:441 plugins/sudoers/timestamp.c:868 +#: plugins/sudoers/toke_util.c:56 plugins/sudoers/toke_util.c:109 +#: plugins/sudoers/toke_util.c:146 plugins/sudoers/visudo.c:153 +#: plugins/sudoers/visudo.c:309 plugins/sudoers/visudo.c:315 +#: plugins/sudoers/visudo.c:446 plugins/sudoers/visudo.c:624 +#: plugins/sudoers/visudo.c:985 plugins/sudoers/visudo.c:1051 +#: plugins/sudoers/visudo.c:1095 plugins/sudoers/visudo.c:1197 +#: plugins/sudoers/visudo_json.c:1025 toke.l:849 toke.l:949 toke.l:1106 +msgid "unable to allocate memory" +msgstr "nem foglalható memória" + +#: gram.y:481 +msgid "a digest requires a path name" +msgstr "egy kivonat egy útvonalnevet igényel" + +#: gram.y:607 +msgid "invalid notbefore value" +msgstr "érvénytelen „notbefore” érték" + +#: gram.y:615 +msgid "invalid notafter value" +msgstr "érvénytelen „notafter” érték" + +#: gram.y:624 plugins/sudoers/policy.c:314 +msgid "timeout value too large" +msgstr "az időkorlát értéke túl nagy" + +#: gram.y:626 plugins/sudoers/policy.c:316 +msgid "invalid timeout value" +msgstr "érvénytelen időkorlát érték" + +#: gram.y:1195 gram.y:1202 plugins/sudoers/auth/pam.c:320 +#: plugins/sudoers/auth/pam.c:490 plugins/sudoers/auth/rfc1938.c:109 +#: plugins/sudoers/defaults.c:651 plugins/sudoers/defaults.c:906 +#: plugins/sudoers/defaults.c:1077 plugins/sudoers/editor.c:64 +#: plugins/sudoers/editor.c:82 plugins/sudoers/editor.c:93 +#: plugins/sudoers/env.c:233 plugins/sudoers/filedigest.c:120 +#: plugins/sudoers/filedigest_gcrypt.c:72 +#: plugins/sudoers/filedigest_gcrypt.c:90 +#: plugins/sudoers/filedigest_openssl.c:111 plugins/sudoers/gc.c:52 +#: plugins/sudoers/group_plugin.c:134 plugins/sudoers/interfaces.c:71 +#: plugins/sudoers/iolog.c:941 plugins/sudoers/iolog_path.c:167 +#: plugins/sudoers/ldap.c:449 plugins/sudoers/ldap.c:480 +#: plugins/sudoers/ldap.c:532 plugins/sudoers/ldap.c:566 +#: plugins/sudoers/ldap.c:980 plugins/sudoers/ldap.c:1174 +#: plugins/sudoers/ldap.c:1185 plugins/sudoers/ldap.c:1201 +#: plugins/sudoers/ldap.c:1493 plugins/sudoers/ldap.c:1653 +#: plugins/sudoers/ldap.c:1735 plugins/sudoers/ldap.c:1883 +#: plugins/sudoers/ldap.c:1907 plugins/sudoers/ldap.c:1996 +#: plugins/sudoers/ldap.c:2011 plugins/sudoers/ldap.c:2107 +#: plugins/sudoers/ldap.c:2140 plugins/sudoers/ldap.c:2220 +#: plugins/sudoers/ldap.c:2303 plugins/sudoers/ldap.c:2400 +#: plugins/sudoers/ldap.c:3235 plugins/sudoers/ldap.c:3267 +#: plugins/sudoers/ldap.c:3579 plugins/sudoers/ldap.c:3606 +#: plugins/sudoers/ldap.c:3622 plugins/sudoers/ldap.c:3713 +#: plugins/sudoers/ldap.c:3729 plugins/sudoers/linux_audit.c:76 +#: plugins/sudoers/logging.c:190 plugins/sudoers/logging.c:501 +#: plugins/sudoers/logging.c:522 plugins/sudoers/logging.c:562 +#: plugins/sudoers/logging.c:998 plugins/sudoers/match.c:616 +#: plugins/sudoers/match.c:663 plugins/sudoers/match.c:714 +#: plugins/sudoers/match.c:738 plugins/sudoers/match.c:826 +#: plugins/sudoers/match.c:914 plugins/sudoers/parse.c:252 +#: plugins/sudoers/parse.c:264 plugins/sudoers/parse.c:279 +#: plugins/sudoers/parse.c:291 plugins/sudoers/policy.c:128 +#: plugins/sudoers/policy.c:137 plugins/sudoers/policy.c:146 +#: plugins/sudoers/policy.c:172 plugins/sudoers/policy.c:299 +#: plugins/sudoers/policy.c:314 plugins/sudoers/policy.c:316 +#: plugins/sudoers/policy.c:342 plugins/sudoers/policy.c:352 +#: plugins/sudoers/policy.c:396 plugins/sudoers/policy.c:406 +#: plugins/sudoers/policy.c:415 plugins/sudoers/policy.c:424 +#: plugins/sudoers/policy.c:498 plugins/sudoers/policy.c:735 +#: plugins/sudoers/prompt.c:93 plugins/sudoers/pwutil.c:165 +#: plugins/sudoers/pwutil.c:236 plugins/sudoers/pwutil.c:312 +#: plugins/sudoers/pwutil.c:486 plugins/sudoers/pwutil.c:551 +#: plugins/sudoers/pwutil.c:620 plugins/sudoers/pwutil.c:778 +#: plugins/sudoers/pwutil.c:835 plugins/sudoers/pwutil.c:880 +#: plugins/sudoers/pwutil.c:938 plugins/sudoers/set_perms.c:387 +#: plugins/sudoers/set_perms.c:766 plugins/sudoers/set_perms.c:1150 +#: plugins/sudoers/set_perms.c:1476 plugins/sudoers/set_perms.c:1641 +#: plugins/sudoers/sssd.c:162 plugins/sudoers/sssd.c:194 +#: plugins/sudoers/sssd.c:237 plugins/sudoers/sssd.c:244 +#: plugins/sudoers/sssd.c:280 plugins/sudoers/sssd.c:352 +#: plugins/sudoers/sssd.c:392 plugins/sudoers/sssd.c:1073 +#: plugins/sudoers/sssd.c:1251 plugins/sudoers/sssd.c:1266 +#: plugins/sudoers/sssd.c:1282 plugins/sudoers/sudoers.c:263 +#: plugins/sudoers/sudoers.c:273 plugins/sudoers/sudoers.c:281 +#: plugins/sudoers/sudoers.c:365 plugins/sudoers/sudoers.c:682 +#: plugins/sudoers/sudoers.c:807 plugins/sudoers/sudoers.c:851 +#: plugins/sudoers/sudoers.c:1123 plugins/sudoers/sudoers_debug.c:106 +#: plugins/sudoers/sudoreplay.c:1254 plugins/sudoers/sudoreplay.c:1366 +#: plugins/sudoers/sudoreplay.c:1406 plugins/sudoers/sudoreplay.c:1415 +#: plugins/sudoers/sudoreplay.c:1425 plugins/sudoers/sudoreplay.c:1433 +#: plugins/sudoers/sudoreplay.c:1437 plugins/sudoers/sudoreplay.c:1593 +#: plugins/sudoers/sudoreplay.c:1597 plugins/sudoers/testsudoers.c:131 +#: plugins/sudoers/testsudoers.c:217 plugins/sudoers/testsudoers.c:234 +#: plugins/sudoers/timestamp.c:397 plugins/sudoers/timestamp.c:441 +#: plugins/sudoers/timestamp.c:868 plugins/sudoers/toke_util.c:56 +#: plugins/sudoers/toke_util.c:109 plugins/sudoers/toke_util.c:146 +#: plugins/sudoers/visudo.c:153 plugins/sudoers/visudo.c:309 +#: plugins/sudoers/visudo.c:315 plugins/sudoers/visudo.c:446 +#: plugins/sudoers/visudo.c:624 plugins/sudoers/visudo.c:985 +#: plugins/sudoers/visudo.c:1051 plugins/sudoers/visudo.c:1095 +#: plugins/sudoers/visudo.c:1197 plugins/sudoers/visudo_json.c:1025 toke.l:849 +#: toke.l:949 toke.l:1106 +#, c-format +msgid "%s: %s" +msgstr "%s: %s" + +#: plugins/sudoers/alias.c:135 +#, c-format +msgid "Alias \"%s\" already defined" +msgstr "A(z) „%s” álnév már meg van határozva" + +#: plugins/sudoers/auth/bsdauth.c:68 +#, c-format +msgid "unable to get login class for user %s" +msgstr "a bejelentkezési osztály lekérése sikertelen ennél a felhasználónál: %s" + +#: plugins/sudoers/auth/bsdauth.c:73 +msgid "unable to begin bsd authentication" +msgstr "a BSD hitelesítés elkezdése sikertelen" + +#: plugins/sudoers/auth/bsdauth.c:81 +msgid "invalid authentication type" +msgstr "érvénytelen hitelesítési típus" + +#: plugins/sudoers/auth/bsdauth.c:90 +msgid "unable to initialize BSD authentication" +msgstr "a BSD hitelesítés előkészítése sikertelen" + +#: plugins/sudoers/auth/fwtk.c:52 +msgid "unable to read fwtk config" +msgstr "az fwtk beállítás olvasása sikertelen" + +#: plugins/sudoers/auth/fwtk.c:57 +msgid "unable to connect to authentication server" +msgstr "a hitelesítési kiszolgálóhoz való kapcsolódás sikertelen" + +#: plugins/sudoers/auth/fwtk.c:63 plugins/sudoers/auth/fwtk.c:87 +#: plugins/sudoers/auth/fwtk.c:121 +msgid "lost connection to authentication server" +msgstr "a kapcsolat megszakadt a hitelesítési kiszolgálóval" + +#: plugins/sudoers/auth/fwtk.c:67 +#, c-format +msgid "" +"authentication server error:\n" +"%s" +msgstr "" +"hitelesítési kiszolgáló hiba:\n" +"%s" + +#: plugins/sudoers/auth/kerb5.c:111 +#, c-format +msgid "%s: unable to convert principal to string ('%s'): %s" +msgstr "%s: az elsődleges átalakítása karakterláncra („%s”) sikertelen: %s" + +#: plugins/sudoers/auth/kerb5.c:161 +#, c-format +msgid "%s: unable to parse '%s': %s" +msgstr "%s: „%s” feldolgozása sikertelen: %s" + +#: plugins/sudoers/auth/kerb5.c:170 +#, c-format +msgid "%s: unable to resolve credential cache: %s" +msgstr "%s: a hitelesítési adatok gyorsítótárának feloldása sikertelen: %s" + +#: plugins/sudoers/auth/kerb5.c:217 +#, c-format +msgid "%s: unable to allocate options: %s" +msgstr "%s: a kapcsolók lefoglalása sikertelen: %s" + +#: plugins/sudoers/auth/kerb5.c:232 +#, c-format +msgid "%s: unable to get credentials: %s" +msgstr "%s: a hitelesítési adatok lekérése sikertelen: %s" + +#: plugins/sudoers/auth/kerb5.c:245 +#, c-format +msgid "%s: unable to initialize credential cache: %s" +msgstr "%s: a hitelesítési adatok gyorsítótárának előkészítése sikertelen: %s" + +#: plugins/sudoers/auth/kerb5.c:248 +#, c-format +msgid "%s: unable to store credential in cache: %s" +msgstr "%s: a hitelesítési adatok gyorsítótárban való tárolósa sikertelen: %s" + +#: plugins/sudoers/auth/kerb5.c:312 +#, c-format +msgid "%s: unable to get host principal: %s" +msgstr "%s: az elsődleges gép lekérése sikertelen: %s" + +#: plugins/sudoers/auth/kerb5.c:326 +#, c-format +msgid "%s: Cannot verify TGT! Possible attack!: %s" +msgstr "%s: a TGT nem ellenőrizhető! Lehetséges támadás! %s" + +#: plugins/sudoers/auth/pam.c:108 +msgid "unable to initialize PAM" +msgstr "a PAM előkészítése sikertelen" + +#: plugins/sudoers/auth/pam.c:194 +msgid "account validation failure, is your account locked?" +msgstr "fiókellenőrzési hiba, a fiókja zárolva van?" + +#: plugins/sudoers/auth/pam.c:198 +msgid "Account or password is expired, reset your password and try again" +msgstr "A fiók vagy a jelszó lejárt, állítsa vissza a jelszavát, és próbálja újra" + +#: plugins/sudoers/auth/pam.c:206 +#, c-format +msgid "unable to change expired password: %s" +msgstr "a lejárt jelszó megváltoztatása sikertelen: %s" + +#: plugins/sudoers/auth/pam.c:211 +msgid "Password expired, contact your system administrator" +msgstr "A jelszó lejárt, vegye fel a kapcsolatot a rendszergazdával" + +#: plugins/sudoers/auth/pam.c:215 +msgid "Account expired or PAM config lacks an \"account\" section for sudo, contact your system administrator" +msgstr "A fiók lejárt vagy a PAM beállításból hiányzik egy „account” szakasz a sudo számára, vegye fel a kapcsolatot a rendszergazdával" + +#: plugins/sudoers/auth/pam.c:229 +#, c-format +msgid "PAM authentication error: %s" +msgstr "PAM hitelesítési hiba: %s" + +#: plugins/sudoers/auth/rfc1938.c:97 plugins/sudoers/visudo.c:227 +#, c-format +msgid "you do not exist in the %s database" +msgstr "Ön nem létezik a(z) %s adatbázisban" + +#: plugins/sudoers/auth/securid5.c:73 +msgid "failed to initialise the ACE API library" +msgstr "nem sikerült előkészíteni az ACE API programkönyvtárat" + +#: plugins/sudoers/auth/securid5.c:99 +msgid "unable to contact the SecurID server" +msgstr "a SecurID kiszolgálóhoz való kapcsolódás sikertelen" + +#: plugins/sudoers/auth/securid5.c:108 +msgid "User ID locked for SecurID Authentication" +msgstr "A felhasználó-azonosító zárolva van a SecurID hitelesítéshez" + +#: plugins/sudoers/auth/securid5.c:112 plugins/sudoers/auth/securid5.c:163 +msgid "invalid username length for SecurID" +msgstr "érvénytelen felhasználónév hossz a SecurID-nál" + +#: plugins/sudoers/auth/securid5.c:116 plugins/sudoers/auth/securid5.c:168 +msgid "invalid Authentication Handle for SecurID" +msgstr "érvénytelen hitelesítéskezelés a SecurID-nál" + +#: plugins/sudoers/auth/securid5.c:120 +msgid "SecurID communication failed" +msgstr "a SecurID kommunikáció meghiúsult" + +#: plugins/sudoers/auth/securid5.c:124 plugins/sudoers/auth/securid5.c:213 +msgid "unknown SecurID error" +msgstr "ismeretlen SecurID hiba" + +#: plugins/sudoers/auth/securid5.c:158 +msgid "invalid passcode length for SecurID" +msgstr "érvénytelen jelkód hossz a SecurID-nál" + +#: plugins/sudoers/auth/sia.c:69 plugins/sudoers/auth/sia.c:125 +msgid "unable to initialize SIA session" +msgstr "a SIA munkamenet előkészítése sikertelen" + +#: plugins/sudoers/auth/sudo_auth.c:126 +msgid "invalid authentication methods" +msgstr "érvénytelen hitelesítési módszerek" + +#: plugins/sudoers/auth/sudo_auth.c:128 +msgid "Invalid authentication methods compiled into sudo! You may not mix standalone and non-standalone authentication." +msgstr "Érvénytelen hitelesítési módszerek lettek belefordítva a sudo programba! Nem keverheti az önálló és a nem önálló hitelesítéseket." + +#: plugins/sudoers/auth/sudo_auth.c:224 plugins/sudoers/auth/sudo_auth.c:274 +msgid "no authentication methods" +msgstr "nincsenek hitelesítési módszerek" + +#: plugins/sudoers/auth/sudo_auth.c:226 +msgid "There are no authentication methods compiled into sudo! If you want to turn off authentication, use the --disable-authentication configure option." +msgstr "Nincsenek hitelesítési módszerek belefordítva a sudo programba! Ha ki szeretné kapcsolni a hitelesítést, akkor használja a --disable-authentication konfigurációs kapcsolót." + +#: plugins/sudoers/auth/sudo_auth.c:276 +msgid "Unable to initialize authentication methods." +msgstr "A hitelesítési módszerek előkészítése sikertelen." + +#: plugins/sudoers/auth/sudo_auth.c:441 +msgid "Authentication methods:" +msgstr "Hitelesítési módszerek:" + +#: plugins/sudoers/bsm_audit.c:120 plugins/sudoers/bsm_audit.c:211 +msgid "Could not determine audit condition" +msgstr "Nem sikerült meghatározni a felülvizsgálati feltételt" + +#: plugins/sudoers/bsm_audit.c:183 plugins/sudoers/bsm_audit.c:273 +msgid "unable to commit audit record" +msgstr "a felülvizsgálati rekord véglegesítése sikertelen" + +#: plugins/sudoers/check.c:259 +msgid "" +"\n" +"We trust you have received the usual lecture from the local System\n" +"Administrator. It usually boils down to these three things:\n" +"\n" +" #1) Respect the privacy of others.\n" +" #2) Think before you type.\n" +" #3) With great power comes great responsibility.\n" +"\n" +msgstr "" +"\n" +"Bízunk benne, hogy megkapta a szokásos tudnivalókat a helyi\n" +"rendszergazdától. Általában a következő három dolog lényeges:\n" +"\n" +" #1) Tartsa tiszteletben mások személyiségi jogait.\n" +" #2) Gondolkodjon gépelés előtt.\n" +" #3) A nagy erő nagy felelősséggel jár.\n" +"\n" + +#: plugins/sudoers/check.c:302 plugins/sudoers/check.c:312 +#: plugins/sudoers/sudoers.c:725 plugins/sudoers/sudoers.c:770 +#, c-format +msgid "unknown uid: %u" +msgstr "ismeretlen uid: %u" + +#: plugins/sudoers/check.c:307 plugins/sudoers/iolog.c:260 +#: plugins/sudoers/policy.c:908 plugins/sudoers/sudoers.c:1162 +#: plugins/sudoers/testsudoers.c:208 plugins/sudoers/testsudoers.c:366 +#, c-format +msgid "unknown user: %s" +msgstr "ismeretlen felhasználó: %s" + +#: plugins/sudoers/def_data.c:41 +#, c-format +msgid "Syslog facility if syslog is being used for logging: %s" +msgstr "Syslog képesség, ha a syslog programot használják naplózáshoz: %s" + +#: plugins/sudoers/def_data.c:45 +#, c-format +msgid "Syslog priority to use when user authenticates successfully: %s" +msgstr "A használandó syslog prioritás, amikor a felhasználó sikeresen hitelesíti magát: %s" + +#: plugins/sudoers/def_data.c:49 +#, c-format +msgid "Syslog priority to use when user authenticates unsuccessfully: %s" +msgstr "A használandó syslog prioritás, amikor a felhasználó sikertelenül hitelesíti magát: %s" + +#: plugins/sudoers/def_data.c:53 +msgid "Put OTP prompt on its own line" +msgstr "Az OTP kérdés elhelyezés a saját sorába" + +#: plugins/sudoers/def_data.c:57 +msgid "Ignore '.' in $PATH" +msgstr "A „.” figyelmen kívül hagyása a $PATH változóban" + +#: plugins/sudoers/def_data.c:61 +msgid "Always send mail when sudo is run" +msgstr "Mindig küldjön levelet, amikor a sudo fut" + +#: plugins/sudoers/def_data.c:65 +msgid "Send mail if user authentication fails" +msgstr "Levél küldése, ha a felhasználó-hitelesítés sikertelen" + +#: plugins/sudoers/def_data.c:69 +msgid "Send mail if the user is not in sudoers" +msgstr "Levél küldése, ha a felhasználó nincs a sudoers fájlban" + +#: plugins/sudoers/def_data.c:73 +msgid "Send mail if the user is not in sudoers for this host" +msgstr "Levél küldése, ha a felhasználó nincs a sudoers fájlban ennél a gépnél" + +#: plugins/sudoers/def_data.c:77 +msgid "Send mail if the user is not allowed to run a command" +msgstr "Levél küldése, ha a felhasználónak nem engedélyezett egy parancs futtatása" + +#: plugins/sudoers/def_data.c:81 +msgid "Send mail if the user tries to run a command" +msgstr "Levél küldése, ha a felhasználó megpróbál egy parancsot futtatni" + +#: plugins/sudoers/def_data.c:85 +msgid "Use a separate timestamp for each user/tty combo" +msgstr "Különálló időbélyeg használata minden felhasználó/tty párosnál" + +#: plugins/sudoers/def_data.c:89 +msgid "Lecture user the first time they run sudo" +msgstr "Felhasználó oktatása a sudo első alkalommal történő futtatásakor" + +#: plugins/sudoers/def_data.c:93 +#, c-format +msgid "File containing the sudo lecture: %s" +msgstr "A sudo oktatóanyagot tartalmazó fájl: %s" + +#: plugins/sudoers/def_data.c:97 +msgid "Require users to authenticate by default" +msgstr "Felhasználók hitelesítésének megkövetelése alapértelmezetten" + +#: plugins/sudoers/def_data.c:101 +msgid "Root may run sudo" +msgstr "A rendszergazda futtathatja a sudo programot" + +#: plugins/sudoers/def_data.c:105 +msgid "Log the hostname in the (non-syslog) log file" +msgstr "A gépnév naplózása a (nem syslog) naplófájlba" + +#: plugins/sudoers/def_data.c:109 +msgid "Log the year in the (non-syslog) log file" +msgstr "Az év naplózása a (nem syslog) naplófájlba" + +#: plugins/sudoers/def_data.c:113 +msgid "If sudo is invoked with no arguments, start a shell" +msgstr "Ha a sudo programot argumentumok nélkül hívják meg, akkor indítson egy parancsértelmezőt" + +#: plugins/sudoers/def_data.c:117 +msgid "Set $HOME to the target user when starting a shell with -s" +msgstr "A $HOME beállítása a célfelhasználóra, amikor a -s kapcsolóval indít egy parancsértelmezőt" + +#: plugins/sudoers/def_data.c:121 +msgid "Always set $HOME to the target user's home directory" +msgstr "Mindig állítsa be a $HOME értékét a célfelhasználó saját könyvtárára" + +#: plugins/sudoers/def_data.c:125 +msgid "Allow some information gathering to give useful error messages" +msgstr "Néhány információ begyűjtésének engedélyezése hasznos hibaüzenetek adásához" + +#: plugins/sudoers/def_data.c:129 +msgid "Require fully-qualified hostnames in the sudoers file" +msgstr "Teljes képzésű gépnevek megkövetelése a sudoers fájlban" + +#: plugins/sudoers/def_data.c:133 +msgid "Insult the user when they enter an incorrect password" +msgstr "A felhasználó piszkálása, amikor helytelen jelszót ad meg" + +#: plugins/sudoers/def_data.c:137 +msgid "Only allow the user to run sudo if they have a tty" +msgstr "Csak akkor engedélyezze a sudo futtatását a felhasználónak, ha rendelkezik tty-nal" + +#: plugins/sudoers/def_data.c:141 +msgid "Visudo will honor the EDITOR environment variable" +msgstr "A visudo el fogja fogadni az EDITOR környezeti változót" + +#: plugins/sudoers/def_data.c:145 +msgid "Prompt for root's password, not the users's" +msgstr "A rendszergazda jelszavának bekérése, nem a felhasználóénak" + +#: plugins/sudoers/def_data.c:149 +msgid "Prompt for the runas_default user's password, not the users's" +msgstr "A runas_default felhasználó jelszavának bekérése, nem a felhasználóénak" + +#: plugins/sudoers/def_data.c:153 +msgid "Prompt for the target user's password, not the users's" +msgstr "A célfelhasználó jelszavának bekérése, nem a felhasználóénak" + +#: plugins/sudoers/def_data.c:157 +msgid "Apply defaults in the target user's login class if there is one" +msgstr "Alapértelmezések alkalmazása a célfelhasználó bejelentkezési osztályán, ha van ilyen" + +#: plugins/sudoers/def_data.c:161 +msgid "Set the LOGNAME and USER environment variables" +msgstr "A LOGNAME és a USER környezeti változók beállítása" + +#: plugins/sudoers/def_data.c:165 +msgid "Only set the effective uid to the target user, not the real uid" +msgstr "Csak a tényleges uid beállítása a célfelhasználóra, nem a valódi uid értékének" + +#: plugins/sudoers/def_data.c:169 +msgid "Don't initialize the group vector to that of the target user" +msgstr "Ne készítse elő a csoportvektort a célfelhasználóéra" + +#: plugins/sudoers/def_data.c:173 +#, c-format +msgid "Length at which to wrap log file lines (0 for no wrap): %u" +msgstr "A hossz, amelyre a naplófájl sorait tördelni kell (0 esetén nincs tördelés): %u" + +#: plugins/sudoers/def_data.c:177 +#, c-format +msgid "Authentication timestamp timeout: %.1f minutes" +msgstr "Hitelesítési időbélyeg időkorlát: %.1f perc" + +#: plugins/sudoers/def_data.c:181 +#, c-format +msgid "Password prompt timeout: %.1f minutes" +msgstr "Jelszóbekérési időkorlát: %.1f perc" + +#: plugins/sudoers/def_data.c:185 +#, c-format +msgid "Number of tries to enter a password: %u" +msgstr "Egy jelszómegadás kísérleteinek száma: %u" + +#: plugins/sudoers/def_data.c:189 +#, c-format +msgid "Umask to use or 0777 to use user's: 0%o" +msgstr "A használandó umask vagy 0777 a felhasználóé használatához: 0%o" + +#: plugins/sudoers/def_data.c:193 +#, c-format +msgid "Path to log file: %s" +msgstr "Útvonal a naplófájlhoz: %s" + +#: plugins/sudoers/def_data.c:197 +#, c-format +msgid "Path to mail program: %s" +msgstr "Útvonal a levelezőprogramhoz: %s" + +#: plugins/sudoers/def_data.c:201 +#, c-format +msgid "Flags for mail program: %s" +msgstr "Jelzők a levelezőprogramhoz: %s" + +#: plugins/sudoers/def_data.c:205 +#, c-format +msgid "Address to send mail to: %s" +msgstr "A cím, amelyre a levelet küldeni kell: %s" + +#: plugins/sudoers/def_data.c:209 +#, c-format +msgid "Address to send mail from: %s" +msgstr "A cím, amelyről a levelet küldeni kell: %s" + +#: plugins/sudoers/def_data.c:213 +#, c-format +msgid "Subject line for mail messages: %s" +msgstr "Tárgysor a levél üzeneteihez: %s" + +#: plugins/sudoers/def_data.c:217 +#, c-format +msgid "Incorrect password message: %s" +msgstr "Helytelen jelszó üzenet: %s" + +#: plugins/sudoers/def_data.c:221 +#, c-format +msgid "Path to lecture status dir: %s" +msgstr "Útvonal az oktatóanyag állapot könyvtárához: %s" + +#: plugins/sudoers/def_data.c:225 +#, c-format +msgid "Path to authentication timestamp dir: %s" +msgstr "Útvonal a hitelesítési időbélyeg könyvtárához: %s" + +#: plugins/sudoers/def_data.c:229 +#, c-format +msgid "Owner of the authentication timestamp dir: %s" +msgstr "A hitelesítési időbélyeg könyvtárának tulajdonosa: %s" + +#: plugins/sudoers/def_data.c:233 +#, c-format +msgid "Users in this group are exempt from password and PATH requirements: %s" +msgstr "Az ebben a csoportban lévő felhasználók mentesülnek a jelszó és PATH követelmények alól: %s" + +#: plugins/sudoers/def_data.c:237 +#, c-format +msgid "Default password prompt: %s" +msgstr "Alapértelmezett jelszóbekérés: %s" + +#: plugins/sudoers/def_data.c:241 +msgid "If set, passprompt will override system prompt in all cases." +msgstr "Ha be van állítva, akkor a jelszóbekérés minden esetben felül fogja bírálni a rendszer bekéréseit." + +#: plugins/sudoers/def_data.c:245 +#, c-format +msgid "Default user to run commands as: %s" +msgstr "Alapértelmezett felhasználó a parancsok futtatásához másként: %s" + +#: plugins/sudoers/def_data.c:249 +#, c-format +msgid "Value to override user's $PATH with: %s" +msgstr "Érték a felhasználó $PATH változójának felülbírálásához ezzel: %s" + +#: plugins/sudoers/def_data.c:253 +#, c-format +msgid "Path to the editor for use by visudo: %s" +msgstr "Útvonal a visudo által használt szerkesztőhöz: %s" + +#: plugins/sudoers/def_data.c:257 +#, c-format +msgid "When to require a password for 'list' pseudocommand: %s" +msgstr "Mikor szükséges jelszó a „list” álparancshoz: %s" + +#: plugins/sudoers/def_data.c:261 +#, c-format +msgid "When to require a password for 'verify' pseudocommand: %s" +msgstr "Mikor szükséges jelszó a „verify” álparancshoz: %s" + +#: plugins/sudoers/def_data.c:265 +msgid "Preload the dummy exec functions contained in the sudo_noexec library" +msgstr "A sudo_noexec programkönyvtárban található üres végrehajtási függvények előtöltése" + +#: plugins/sudoers/def_data.c:269 +msgid "If LDAP directory is up, do we ignore local sudoers file" +msgstr "Ha az LDAP könyvtár be van kapcsolva, akkor mellőzzük-e a helyi sodoers fájlt" + +#: plugins/sudoers/def_data.c:273 +#, c-format +msgid "File descriptors >= %d will be closed before executing a command" +msgstr "A fájlleírók >= %d le lesznek zárva a parancs végrehajtása előtt" + +#: plugins/sudoers/def_data.c:277 +msgid "If set, users may override the value of `closefrom' with the -C option" +msgstr "Ha be van állítva, akkor a felhasználók felülbírálhatják a „closefrom” értékét a -C kapcsolóval" + +#: plugins/sudoers/def_data.c:281 +msgid "Allow users to set arbitrary environment variables" +msgstr "Lehetővé teszi a felhasználóknak tetszőleges környezeti változók beállítását" + +#: plugins/sudoers/def_data.c:285 +msgid "Reset the environment to a default set of variables" +msgstr "A környezet visszaállítása egy alapértelmezett változókészletre" + +#: plugins/sudoers/def_data.c:289 +msgid "Environment variables to check for sanity:" +msgstr "Környezeti változók az épség ellenőrzéséhez:" + +#: plugins/sudoers/def_data.c:293 +msgid "Environment variables to remove:" +msgstr "Eltávolítandó környezeti változók:" + +#: plugins/sudoers/def_data.c:297 +msgid "Environment variables to preserve:" +msgstr "Megőrzendő környezeti változók:" + +#: plugins/sudoers/def_data.c:301 +#, c-format +msgid "SELinux role to use in the new security context: %s" +msgstr "Az új biztonsági környezetben használandó SELinux szerep: %s" + +#: plugins/sudoers/def_data.c:305 +#, c-format +msgid "SELinux type to use in the new security context: %s" +msgstr "Az új biztonsági környezetben használandó SELinux típus: %s" + +#: plugins/sudoers/def_data.c:309 +#, c-format +msgid "Path to the sudo-specific environment file: %s" +msgstr "Útvonal a sudo specifikus környezeti fájlhoz: %s" + +#: plugins/sudoers/def_data.c:313 +#, c-format +msgid "Path to the restricted sudo-specific environment file: %s" +msgstr "Útvonal a korlátozott sudo specifikus környezeti fájlhoz: %s" + +#: plugins/sudoers/def_data.c:317 +#, c-format +msgid "Locale to use while parsing sudoers: %s" +msgstr "A sudoers feldolgozásakor használandó területi beállítás: %s" + +#: plugins/sudoers/def_data.c:321 +msgid "Allow sudo to prompt for a password even if it would be visible" +msgstr "Lehetővé tenni a sudo számára egy jelszó bekérését akkor is, ha látható lesz" + +#: plugins/sudoers/def_data.c:325 +msgid "Provide visual feedback at the password prompt when there is user input" +msgstr "Látható visszajelzés nyújtása a jelszóbekérésnél, amikor felhasználói bevitel van" + +#: plugins/sudoers/def_data.c:329 +msgid "Use faster globbing that is less accurate but does not access the filesystem" +msgstr "Gyorsabb mintaillesztés használata, ami kevésbé pontos, de nem fér hozzá a fájlrendszerhez" + +#: plugins/sudoers/def_data.c:333 +msgid "The umask specified in sudoers will override the user's, even if it is more permissive" +msgstr "A sudoers fájlban megadott umask felül fogja bírálni a felhasználóét akkor is, ha az engedékenyebb" + +#: plugins/sudoers/def_data.c:337 +msgid "Log user's input for the command being run" +msgstr "A futtatott parancs felhasználói bevitelének naplózása" + +#: plugins/sudoers/def_data.c:341 +msgid "Log the output of the command being run" +msgstr "A futtatott parancs kimenetének naplózása" + +#: plugins/sudoers/def_data.c:345 +msgid "Compress I/O logs using zlib" +msgstr "I/O naplók tömörítése zlib használatával" + +#: plugins/sudoers/def_data.c:349 +msgid "Always run commands in a pseudo-tty" +msgstr "A parancsokat mindig egy ál-tty-ban futtassa" + +#: plugins/sudoers/def_data.c:353 +#, c-format +msgid "Plugin for non-Unix group support: %s" +msgstr "Bővítmény a nem Unix csoport támogatáshoz: %s" + +#: plugins/sudoers/def_data.c:357 +#, c-format +msgid "Directory in which to store input/output logs: %s" +msgstr "A könyvtár, amelyben a bemeneti/kimeneti naplók tárolva lesznek: %s" + +#: plugins/sudoers/def_data.c:361 +#, c-format +msgid "File in which to store the input/output log: %s" +msgstr "A fájl, amelyben a bemeneti/kimeneti napló tárolva lesz: %s" + +#: plugins/sudoers/def_data.c:365 +msgid "Add an entry to the utmp/utmpx file when allocating a pty" +msgstr "Bejegyzés hozzáadása az utmp/utmpx fájlhoz egy pty lefoglalásakor" + +#: plugins/sudoers/def_data.c:369 +msgid "Set the user in utmp to the runas user, not the invoking user" +msgstr "Az utmp-ben lévő felhasználó beállítása a runas felhasználóra, nem a meghívó felhasználóra" + +#: plugins/sudoers/def_data.c:373 +#, c-format +msgid "Set of permitted privileges: %s" +msgstr "Engedélyezett jogosultságok halmaza: %s" + +#: plugins/sudoers/def_data.c:377 +#, c-format +msgid "Set of limit privileges: %s" +msgstr "Korlátozott jogosultságok halmaza: %s" + +#: plugins/sudoers/def_data.c:381 +msgid "Run commands on a pty in the background" +msgstr "Parancsok futtatása egy pty-on a háttérben" + +#: plugins/sudoers/def_data.c:385 +#, c-format +msgid "PAM service name to use: %s" +msgstr "A használandó PAM szolgáltatás neve: %s" + +#: plugins/sudoers/def_data.c:389 +#, c-format +msgid "PAM service name to use for login shells: %s" +msgstr "A bejelentkezési parancsértelmezőkhöz használandó PAM szolgáltatás neve: %s" + +#: plugins/sudoers/def_data.c:393 +msgid "Attempt to establish PAM credentials for the target user" +msgstr "PAM hitelesítési adatok kiépítésének kísérlete a célfelhasználónál" + +#: plugins/sudoers/def_data.c:397 +msgid "Create a new PAM session for the command to run in" +msgstr "Új PAM munkamenet létrehozása annál a parancsnál, amelyben fut" + +#: plugins/sudoers/def_data.c:401 +#, c-format +msgid "Maximum I/O log sequence number: %u" +msgstr "Legnagyobb I/O napló sorozatszáma: %u" + +#: plugins/sudoers/def_data.c:405 +msgid "Enable sudoers netgroup support" +msgstr "A sudoers netgroup támogatásának engedélyezése" + +#: plugins/sudoers/def_data.c:409 +msgid "Check parent directories for writability when editing files with sudoedit" +msgstr "A szülőkönyvtárak írhatóságának ellenőrzése a sudoedit programmal történő fájlszerkesztéskor" + +#: plugins/sudoers/def_data.c:413 +msgid "Follow symbolic links when editing files with sudoedit" +msgstr "Szimbolikus linkek követése a sudoedit programmal történő fájlszerkesztéskor" + +#: plugins/sudoers/def_data.c:417 +msgid "Query the group plugin for unknown system groups" +msgstr "" + +#: plugins/sudoers/def_data.c:421 +msgid "Match netgroups based on the entire tuple: user, host and domain" +msgstr "" + +#: plugins/sudoers/def_data.c:425 +msgid "Allow commands to be run even if sudo cannot write to the audit log" +msgstr "" + +#: plugins/sudoers/def_data.c:429 +msgid "Allow commands to be run even if sudo cannot write to the I/O log" +msgstr "" + +#: plugins/sudoers/def_data.c:433 +msgid "Allow commands to be run even if sudo cannot write to the log file" +msgstr "" + +#: plugins/sudoers/def_data.c:437 +msgid "Resolve groups in sudoers and match on the group ID, not the name" +msgstr "" + +#: plugins/sudoers/def_data.c:441 +#, c-format +msgid "Log entries larger than this value will be split into multiple syslog messages: %u" +msgstr "" + +#: plugins/sudoers/def_data.c:445 +#, c-format +msgid "User that will own the I/O log files: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:449 +#, c-format +msgid "Group that will own the I/O log files: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:453 +#, c-format +msgid "File mode to use for the I/O log files: 0%o" +msgstr "" + +#: plugins/sudoers/def_data.c:457 +#, c-format +msgid "Execute commands by file descriptor instead of by path: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:461 +msgid "Ignore unknown Defaults entries in sudoers instead of producing a warning" +msgstr "" + +#: plugins/sudoers/def_data.c:465 +#, c-format +msgid "Time in seconds after which the command will be terminated: %u" +msgstr "" + +#: plugins/sudoers/def_data.c:469 +msgid "Allow the user to specify a timeout on the command line" +msgstr "" + +#: plugins/sudoers/def_data.c:473 +msgid "Flush I/O log data to disk immediately instead of buffering it" +msgstr "" + +#: plugins/sudoers/def_data.c:477 +msgid "Include the process ID when logging via syslog" +msgstr "" + +#: plugins/sudoers/def_data.c:481 +#, c-format +msgid "Type of authentication timestamp record: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:485 +#, c-format +msgid "Authentication failure message: %s" +msgstr "" + +#: plugins/sudoers/defaults.c:221 +#, c-format +msgid "%s:%d unknown defaults entry \"%s\"" +msgstr "" + +#: plugins/sudoers/defaults.c:224 +#, c-format +msgid "%s: unknown defaults entry \"%s\"" +msgstr "" + +#: plugins/sudoers/defaults.c:267 +#, c-format +msgid "%s:%d no value specified for \"%s\"" +msgstr "" + +#: plugins/sudoers/defaults.c:270 +#, c-format +msgid "%s: no value specified for \"%s\"" +msgstr "" + +#: plugins/sudoers/defaults.c:290 +#, c-format +msgid "%s:%d values for \"%s\" must start with a '/'" +msgstr "" + +#: plugins/sudoers/defaults.c:293 +#, c-format +msgid "%s: values for \"%s\" must start with a '/'" +msgstr "" + +#: plugins/sudoers/defaults.c:318 +#, c-format +msgid "%s:%d option \"%s\" does not take a value" +msgstr "" + +#: plugins/sudoers/defaults.c:321 +#, c-format +msgid "%s: option \"%s\" does not take a value" +msgstr "" + +#: plugins/sudoers/defaults.c:343 +#, c-format +msgid "%s:%d invalid Defaults type 0x%x for option \"%s\"" +msgstr "" + +#: plugins/sudoers/defaults.c:346 +#, c-format +msgid "%s: invalid Defaults type 0x%x for option \"%s\"" +msgstr "" + +#: plugins/sudoers/defaults.c:356 +#, c-format +msgid "%s:%d value \"%s\" is invalid for option \"%s\"" +msgstr "" + +#: plugins/sudoers/defaults.c:359 +#, c-format +msgid "%s: value \"%s\" is invalid for option \"%s\"" +msgstr "" + +#: plugins/sudoers/env.c:295 plugins/sudoers/env.c:302 +#: plugins/sudoers/env.c:407 plugins/sudoers/ldap.c:453 +#: plugins/sudoers/ldap.c:543 plugins/sudoers/ldap.c:1270 +#: plugins/sudoers/ldap.c:1497 plugins/sudoers/ldap.c:1822 +#: plugins/sudoers/linux_audit.c:82 plugins/sudoers/logging.c:1003 +#: plugins/sudoers/policy.c:619 plugins/sudoers/policy.c:629 +#: plugins/sudoers/prompt.c:161 plugins/sudoers/sudoers.c:873 +#: plugins/sudoers/testsudoers.c:238 plugins/sudoers/toke_util.c:158 +#, c-format +msgid "internal error, %s overflow" +msgstr "" + +#: plugins/sudoers/env.c:376 +msgid "sudo_putenv: corrupted envp, length mismatch" +msgstr "" + +#: plugins/sudoers/env.c:1055 +msgid "unable to rebuild the environment" +msgstr "" + +#: plugins/sudoers/env.c:1129 +#, c-format +msgid "sorry, you are not allowed to set the following environment variables: %s" +msgstr "" + +#: plugins/sudoers/filedigest.c:104 plugins/sudoers/filedigest_gcrypt.c:66 +#: plugins/sudoers/filedigest_openssl.c:95 +#, c-format +msgid "unsupported digest type %d for %s" +msgstr "" + +#: plugins/sudoers/filedigest.c:129 plugins/sudoers/filedigest_gcrypt.c:98 +#: plugins/sudoers/filedigest_openssl.c:120 +#, c-format +msgid "%s: read error" +msgstr "%s: olvasási hiba" + +#: plugins/sudoers/group_plugin.c:86 +#, c-format +msgid "%s must be owned by uid %d" +msgstr "%s a(z) %d uid tulajdona kell legyen" + +#: plugins/sudoers/group_plugin.c:90 +#, c-format +msgid "%s must only be writable by owner" +msgstr "%s csak a tulajdonos által írható lehet" + +#: plugins/sudoers/group_plugin.c:98 plugins/sudoers/sssd.c:400 +#, c-format +msgid "unable to load %s: %s" +msgstr "a(z) %s nem tölthető be: %s" + +#: plugins/sudoers/group_plugin.c:104 +#, c-format +msgid "unable to find symbol \"group_plugin\" in %s" +msgstr "nem található a „group_plugin” szimbólum ebben: %s" + +#: plugins/sudoers/group_plugin.c:109 +#, c-format +msgid "%s: incompatible group plugin major version %d, expected %d" +msgstr "" + +#: plugins/sudoers/interfaces.c:79 plugins/sudoers/interfaces.c:96 +#, c-format +msgid "unable to parse IP address \"%s\"" +msgstr "" + +#: plugins/sudoers/interfaces.c:84 plugins/sudoers/interfaces.c:101 +#, c-format +msgid "unable to parse netmask \"%s\"" +msgstr "" + +#: plugins/sudoers/interfaces.c:129 +msgid "Local IP address and netmask pairs:\n" +msgstr "" + +#: plugins/sudoers/iolog.c:121 plugins/sudoers/mkdir_parents.c:75 +#, c-format +msgid "%s exists but is not a directory (0%o)" +msgstr "" + +#: plugins/sudoers/iolog.c:146 plugins/sudoers/iolog.c:187 +#: plugins/sudoers/mkdir_parents.c:64 plugins/sudoers/timestamp.c:175 +#, c-format +msgid "unable to mkdir %s" +msgstr "%s könyvtár létrehozása sikertelen" + +#: plugins/sudoers/iolog.c:191 plugins/sudoers/visudo.c:740 +#: plugins/sudoers/visudo.c:750 +#, c-format +msgid "unable to change mode of %s to 0%o" +msgstr "nem lehet a(z) %s módját megváltoztatni erre: 0%o" + +#: plugins/sudoers/iolog.c:299 plugins/sudoers/sudoers.c:1193 +#: plugins/sudoers/testsudoers.c:390 +#, c-format +msgid "unknown group: %s" +msgstr "ismeretlen csoport: %s" + +#: plugins/sudoers/iolog.c:418 plugins/sudoers/sudoers.c:929 +#: plugins/sudoers/sudoreplay.c:349 plugins/sudoers/sudoreplay.c:1355 +#: plugins/sudoers/sudoreplay.c:1559 plugins/sudoers/timestamp.c:406 +#: plugins/sudoers/visudo.c:972 plugins/sudoers/visudo_json.c:1001 +#: plugins/sudoers/visudo_json.c:1014 +#, c-format +msgid "unable to open %s" +msgstr "%s nem nyitható meg" + +#: plugins/sudoers/iolog.c:469 plugins/sudoers/sudoers.c:933 +#: plugins/sudoers/sudoreplay.c:857 plugins/sudoers/sudoreplay.c:1670 +#, c-format +msgid "unable to read %s" +msgstr "%s nem olvasható" + +#: plugins/sudoers/iolog.c:505 plugins/sudoers/sudoreplay.c:1124 +#: plugins/sudoers/timestamp.c:295 plugins/sudoers/timestamp.c:298 +#, c-format +msgid "unable to write to %s" +msgstr "az írás sikertelen ebbe: %s" + +#: plugins/sudoers/iolog.c:584 plugins/sudoers/iolog.c:803 +#, c-format +msgid "unable to create %s" +msgstr "%s létrehozása sikertelen" + +#: plugins/sudoers/iolog.c:1035 plugins/sudoers/iolog.c:1110 +#: plugins/sudoers/iolog.c:1191 +#, c-format +msgid "unable to write to I/O log file: %s" +msgstr "" + +#: plugins/sudoers/iolog.c:1069 +#, c-format +msgid "%s: internal error, file index %d not open" +msgstr "" + +#: plugins/sudoers/ldap.c:431 +msgid "sudo_ldap_conf_add_ports: port too large" +msgstr "" + +#: plugins/sudoers/ldap.c:491 +#, c-format +msgid "unsupported LDAP uri type: %s" +msgstr "" + +#: plugins/sudoers/ldap.c:518 +msgid "unable to mix ldap and ldaps URIs" +msgstr "" + +#: plugins/sudoers/ldap.c:522 plugins/sudoers/ldap.c:559 +msgid "starttls not supported when using ldaps" +msgstr "" + +#: plugins/sudoers/ldap.c:630 +#, c-format +msgid "unable to initialize SSL cert and key db: %s" +msgstr "" + +#: plugins/sudoers/ldap.c:633 +#, c-format +msgid "you must set TLS_CERT in %s to use SSL" +msgstr "" + +#: plugins/sudoers/ldap.c:1256 +msgid "unable to get GMT time" +msgstr "" + +#: plugins/sudoers/ldap.c:1262 +msgid "unable to format timestamp" +msgstr "" + +#: plugins/sudoers/ldap.c:1986 +#, c-format +msgid "%s: %s: %s: %s" +msgstr "" + +#: plugins/sudoers/ldap.c:2559 +#, c-format +msgid "" +"\n" +"LDAP Role: %s\n" +msgstr "" + +#: plugins/sudoers/ldap.c:2561 +#, c-format +msgid "" +"\n" +"LDAP Role: UNKNOWN\n" +msgstr "" + +#: plugins/sudoers/ldap.c:2617 +#, c-format +msgid " Order: %s\n" +msgstr " Sorrend: %s\n" + +#: plugins/sudoers/ldap.c:2625 plugins/sudoers/parse.c:618 +#: plugins/sudoers/sssd.c:1647 +#, c-format +msgid " Commands:\n" +msgstr " Parancsok:\n" + +#: plugins/sudoers/ldap.c:3187 +#, c-format +msgid "unable to initialize LDAP: %s" +msgstr "" + +#: plugins/sudoers/ldap.c:3223 +msgid "start_tls specified but LDAP libs do not support ldap_start_tls_s() or ldap_start_tls_s_np()" +msgstr "" + +#: plugins/sudoers/ldap.c:3475 +#, c-format +msgid "invalid sudoOrder attribute: %s" +msgstr "" + +#: plugins/sudoers/linux_audit.c:52 +msgid "unable to open audit system" +msgstr "" + +#: plugins/sudoers/linux_audit.c:93 +msgid "unable to send audit message" +msgstr "" + +#: plugins/sudoers/logging.c:108 +#, c-format +msgid "%8s : %s" +msgstr "%8s : %s" + +#: plugins/sudoers/logging.c:136 +#, c-format +msgid "%8s : (command continued) %s" +msgstr "%8s : (parancs folytatása) %s" + +#: plugins/sudoers/logging.c:165 +#, c-format +msgid "unable to open log file: %s" +msgstr "" + +#: plugins/sudoers/logging.c:173 +#, c-format +msgid "unable to lock log file: %s" +msgstr "" + +#: plugins/sudoers/logging.c:206 +#, c-format +msgid "unable to write log file: %s" +msgstr "" + +#: plugins/sudoers/logging.c:235 +msgid "No user or host" +msgstr "Nem felhasználó vagy gép" + +#: plugins/sudoers/logging.c:237 +msgid "validation failure" +msgstr "érvényesítési hiba" + +#: plugins/sudoers/logging.c:244 +msgid "user NOT in sudoers" +msgstr "a felhasználó NINCS a sudoers-ben" + +#: plugins/sudoers/logging.c:246 +msgid "user NOT authorized on host" +msgstr "a felhasználó NINCS felhatalmazva a gépen" + +#: plugins/sudoers/logging.c:248 +msgid "command not allowed" +msgstr "a parancs nem engedélyezett" + +#: plugins/sudoers/logging.c:283 +#, c-format +msgid "%s is not in the sudoers file. This incident will be reported.\n" +msgstr "%s nincs a sudoers fájlban. Ez az eset jelentésre kerül.\n" + +#: plugins/sudoers/logging.c:286 +#, c-format +msgid "%s is not allowed to run sudo on %s. This incident will be reported.\n" +msgstr "%s nem futtathatja a sudo-t ezen: %s. Ez az eset jelentésre kerül.\n" + +#: plugins/sudoers/logging.c:290 +#, c-format +msgid "Sorry, user %s may not run sudo on %s.\n" +msgstr "Elnézést, %s felhasználó nem futtathatja a sudo-t ezen: %s.\n" + +#: plugins/sudoers/logging.c:293 +#, c-format +msgid "Sorry, user %s is not allowed to execute '%s%s%s' as %s%s%s on %s.\n" +msgstr "" + +#: plugins/sudoers/logging.c:330 plugins/sudoers/sudoers.c:473 +#: plugins/sudoers/sudoers.c:475 plugins/sudoers/sudoers.c:477 +#: plugins/sudoers/sudoers.c:479 plugins/sudoers/sudoers.c:1298 +#: plugins/sudoers/sudoers.c:1300 +#, c-format +msgid "%s: command not found" +msgstr "%s: parancs nem található" + +#: plugins/sudoers/logging.c:332 plugins/sudoers/sudoers.c:469 +#, c-format +msgid "" +"ignoring \"%s\" found in '.'\n" +"Use \"sudo ./%s\" if this is the \"%s\" you wish to run." +msgstr "" + +#: plugins/sudoers/logging.c:349 +msgid "authentication failure" +msgstr "hitelesítési hiba" + +#: plugins/sudoers/logging.c:375 +msgid "a password is required" +msgstr "jelszó szükséges" + +#: plugins/sudoers/logging.c:438 +#, c-format +msgid "%u incorrect password attempt" +msgid_plural "%u incorrect password attempts" +msgstr[0] "%u helytelen jelszópróbálkozás" +msgstr[1] "%u helytelen jelszópróbálkozás" + +#: plugins/sudoers/logging.c:654 +msgid "unable to fork" +msgstr "" + +#: plugins/sudoers/logging.c:662 plugins/sudoers/logging.c:714 +#, c-format +msgid "unable to fork: %m" +msgstr "" + +#: plugins/sudoers/logging.c:704 +#, c-format +msgid "unable to open pipe: %m" +msgstr "" + +#: plugins/sudoers/logging.c:729 +#, c-format +msgid "unable to dup stdin: %m" +msgstr "" + +#: plugins/sudoers/logging.c:767 +#, c-format +msgid "unable to execute %s: %m" +msgstr "" + +#: plugins/sudoers/match.c:771 +#, c-format +msgid "digest for %s (%s) is not in %s form" +msgstr "" + +#: plugins/sudoers/mkdir_parents.c:70 plugins/sudoers/sudoers.c:944 +#: plugins/sudoers/visudo.c:439 plugins/sudoers/visudo.c:734 +#, c-format +msgid "unable to stat %s" +msgstr "%s nem érhető el" + +#: plugins/sudoers/parse.c:115 +#, c-format +msgid "parse error in %s near line %d" +msgstr "" + +#: plugins/sudoers/parse.c:118 +#, c-format +msgid "parse error in %s" +msgstr "" + +#: plugins/sudoers/parse.c:544 +#, c-format +msgid "" +"\n" +"Sudoers entry:\n" +msgstr "" + +#: plugins/sudoers/parse.c:545 +#, c-format +msgid " RunAsUsers: " +msgstr "" + +#: plugins/sudoers/parse.c:559 +#, c-format +msgid " RunAsGroups: " +msgstr "" + +#: plugins/sudoers/parse.c:568 +#, c-format +msgid " Options: " +msgstr "" + +#: plugins/sudoers/policy.c:84 plugins/sudoers/policy.c:110 +#, c-format +msgid "invalid %.*s set by sudo front-end" +msgstr "" + +#: plugins/sudoers/policy.c:289 plugins/sudoers/testsudoers.c:261 +msgid "unable to parse network address list" +msgstr "" + +#: plugins/sudoers/policy.c:433 +msgid "user name not set by sudo front-end" +msgstr "" + +#: plugins/sudoers/policy.c:437 +msgid "user ID not set by sudo front-end" +msgstr "" + +#: plugins/sudoers/policy.c:441 +msgid "group ID not set by sudo front-end" +msgstr "" + +#: plugins/sudoers/policy.c:445 +msgid "host name not set by sudo front-end" +msgstr "" + +#: plugins/sudoers/policy.c:793 plugins/sudoers/visudo.c:910 +#, c-format +msgid "unable to execute %s" +msgstr "%s nem hajtható végre" + +#: plugins/sudoers/policy.c:926 +#, c-format +msgid "Sudoers policy plugin version %s\n" +msgstr "" + +#: plugins/sudoers/policy.c:928 +#, c-format +msgid "Sudoers file grammar version %d\n" +msgstr "" + +#: plugins/sudoers/policy.c:932 +#, c-format +msgid "" +"\n" +"Sudoers path: %s\n" +msgstr "" + +#: plugins/sudoers/policy.c:935 +#, c-format +msgid "nsswitch path: %s\n" +msgstr "" + +#: plugins/sudoers/policy.c:937 +#, c-format +msgid "ldap.conf path: %s\n" +msgstr "" + +#: plugins/sudoers/policy.c:938 +#, c-format +msgid "ldap.secret path: %s\n" +msgstr "" + +#: plugins/sudoers/policy.c:971 +#, c-format +msgid "unable to register hook of type %d (version %d.%d)" +msgstr "" + +#: plugins/sudoers/pwutil.c:188 plugins/sudoers/pwutil.c:206 +#, c-format +msgid "unable to cache uid %u, out of memory" +msgstr "" + +#: plugins/sudoers/pwutil.c:200 +#, c-format +msgid "unable to cache uid %u, already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:260 plugins/sudoers/pwutil.c:277 +#: plugins/sudoers/pwutil.c:339 plugins/sudoers/pwutil.c:384 +#, c-format +msgid "unable to cache user %s, out of memory" +msgstr "" + +#: plugins/sudoers/pwutil.c:272 +#, c-format +msgid "unable to cache user %s, already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:503 plugins/sudoers/pwutil.c:521 +#, c-format +msgid "unable to cache gid %u, out of memory" +msgstr "" + +#: plugins/sudoers/pwutil.c:515 +#, c-format +msgid "unable to cache gid %u, already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:569 plugins/sudoers/pwutil.c:586 +#: plugins/sudoers/pwutil.c:633 plugins/sudoers/pwutil.c:675 +#, c-format +msgid "unable to cache group %s, out of memory" +msgstr "" + +#: plugins/sudoers/pwutil.c:581 +#, c-format +msgid "unable to cache group %s, already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:801 plugins/sudoers/pwutil.c:853 +#: plugins/sudoers/pwutil.c:904 plugins/sudoers/pwutil.c:957 +#, c-format +msgid "unable to cache group list for %s, already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:807 plugins/sudoers/pwutil.c:858 +#: plugins/sudoers/pwutil.c:910 plugins/sudoers/pwutil.c:962 +#, c-format +msgid "unable to cache group list for %s, out of memory" +msgstr "" + +#: plugins/sudoers/pwutil.c:847 +#, c-format +msgid "unable to parse groups for %s" +msgstr "" + +#: plugins/sudoers/pwutil.c:951 +#, c-format +msgid "unable to parse gids for %s" +msgstr "" + +#: plugins/sudoers/set_perms.c:113 plugins/sudoers/set_perms.c:469 +#: plugins/sudoers/set_perms.c:912 plugins/sudoers/set_perms.c:1239 +#: plugins/sudoers/set_perms.c:1556 +msgid "perm stack overflow" +msgstr "" + +#: plugins/sudoers/set_perms.c:121 plugins/sudoers/set_perms.c:400 +#: plugins/sudoers/set_perms.c:477 plugins/sudoers/set_perms.c:779 +#: plugins/sudoers/set_perms.c:920 plugins/sudoers/set_perms.c:1163 +#: plugins/sudoers/set_perms.c:1247 plugins/sudoers/set_perms.c:1489 +#: plugins/sudoers/set_perms.c:1564 plugins/sudoers/set_perms.c:1654 +msgid "perm stack underflow" +msgstr "" + +#: plugins/sudoers/set_perms.c:180 plugins/sudoers/set_perms.c:523 +#: plugins/sudoers/set_perms.c:1298 plugins/sudoers/set_perms.c:1596 +msgid "unable to change to root gid" +msgstr "" + +#: plugins/sudoers/set_perms.c:269 plugins/sudoers/set_perms.c:620 +#: plugins/sudoers/set_perms.c:1049 plugins/sudoers/set_perms.c:1375 +msgid "unable to change to runas gid" +msgstr "" + +#: plugins/sudoers/set_perms.c:274 plugins/sudoers/set_perms.c:625 +#: plugins/sudoers/set_perms.c:1054 plugins/sudoers/set_perms.c:1380 +msgid "unable to set runas group vector" +msgstr "" + +#: plugins/sudoers/set_perms.c:285 plugins/sudoers/set_perms.c:636 +#: plugins/sudoers/set_perms.c:1063 plugins/sudoers/set_perms.c:1389 +msgid "unable to change to runas uid" +msgstr "" + +#: plugins/sudoers/set_perms.c:303 plugins/sudoers/set_perms.c:654 +#: plugins/sudoers/set_perms.c:1079 plugins/sudoers/set_perms.c:1405 +msgid "unable to change to sudoers gid" +msgstr "" + +#: plugins/sudoers/set_perms.c:387 plugins/sudoers/set_perms.c:766 +#: plugins/sudoers/set_perms.c:1150 plugins/sudoers/set_perms.c:1476 +#: plugins/sudoers/set_perms.c:1641 +msgid "too many processes" +msgstr "túl sok folyamat" + +#: plugins/sudoers/solaris_audit.c:51 +msgid "unable to get current working directory" +msgstr "az aktuális munkakönyvtár lekérése meghiúsult" + +#: plugins/sudoers/solaris_audit.c:59 +#, c-format +msgid "truncated audit path user_cmnd: %s" +msgstr "" + +#: plugins/sudoers/solaris_audit.c:66 +#, c-format +msgid "truncated audit path argv[0]: %s" +msgstr "" + +#: plugins/sudoers/solaris_audit.c:115 +msgid "audit_failure message too long" +msgstr "" + +#: plugins/sudoers/sssd.c:402 +msgid "unable to initialize SSS source. Is SSSD installed on your machine?" +msgstr "" + +#: plugins/sudoers/sssd.c:410 plugins/sudoers/sssd.c:419 +#: plugins/sudoers/sssd.c:428 plugins/sudoers/sssd.c:437 +#: plugins/sudoers/sssd.c:446 +#, c-format +msgid "unable to find symbol \"%s\" in %s" +msgstr "" + +#: plugins/sudoers/sssd.c:1562 +#, c-format +msgid "" +"\n" +"SSSD Role: %s\n" +msgstr "" + +#: plugins/sudoers/sssd.c:1567 +#, c-format +msgid "" +"\n" +"SSSD Role: UNKNOWN\n" +msgstr "" + +#: plugins/sudoers/sudo_nss.c:289 +#, c-format +msgid "Matching Defaults entries for %s on %s:\n" +msgstr "" + +#: plugins/sudoers/sudo_nss.c:307 +#, c-format +msgid "Runas and Command-specific defaults for %s:\n" +msgstr "" + +#: plugins/sudoers/sudo_nss.c:325 +#, c-format +msgid "User %s may run the following commands on %s:\n" +msgstr "" + +#: plugins/sudoers/sudo_nss.c:338 +#, c-format +msgid "User %s is not allowed to run sudo on %s.\n" +msgstr "" + +#: plugins/sudoers/sudoers.c:168 plugins/sudoers/testsudoers.c:247 +#: plugins/sudoers/visudo.c:233 plugins/sudoers/visudo.c:612 +#: plugins/sudoers/visudo.c:976 +msgid "unable to initialize sudoers default values" +msgstr "" + +#: plugins/sudoers/sudoers.c:198 plugins/sudoers/sudoers.c:891 +msgid "problem with defaults entries" +msgstr "" + +#: plugins/sudoers/sudoers.c:205 +msgid "no valid sudoers sources found, quitting" +msgstr "" + +#: plugins/sudoers/sudoers.c:244 +msgid "sudoers specifies that root is not allowed to sudo" +msgstr "" + +#: plugins/sudoers/sudoers.c:301 +msgid "you are not permitted to use the -C option" +msgstr "" + +#: plugins/sudoers/sudoers.c:390 +#, c-format +msgid "timestamp owner (%s): No such user" +msgstr "" + +#: plugins/sudoers/sudoers.c:405 +msgid "no tty" +msgstr "" + +#: plugins/sudoers/sudoers.c:406 +msgid "sorry, you must have a tty to run sudo" +msgstr "" + +#: plugins/sudoers/sudoers.c:468 +msgid "command in current directory" +msgstr "" + +#: plugins/sudoers/sudoers.c:487 +msgid "sorry, you are not allowed set a command timeout" +msgstr "" + +#: plugins/sudoers/sudoers.c:495 +msgid "sorry, you are not allowed to preserve the environment" +msgstr "" + +#: plugins/sudoers/sudoers.c:836 +msgid "command too long" +msgstr "a parancs túl hosszú" + +#: plugins/sudoers/sudoers.c:948 +#, c-format +msgid "%s is not a regular file" +msgstr "a(z) %s nem egy szabályos fájl" + +#: plugins/sudoers/sudoers.c:952 plugins/sudoers/timestamp.c:222 toke.l:969 +#, c-format +msgid "%s is owned by uid %u, should be %u" +msgstr "%s a(z) %u uid tulajdona, ennek kellene lennie: %u" + +#: plugins/sudoers/sudoers.c:956 toke.l:974 +#, c-format +msgid "%s is world writable" +msgstr "%s bárki számára írható" + +#: plugins/sudoers/sudoers.c:960 toke.l:977 +#, c-format +msgid "%s is owned by gid %u, should be %u" +msgstr "%s a(z) %u gid tulajdona, ennek kellene lennie: %u" + +#: plugins/sudoers/sudoers.c:993 +#, c-format +msgid "only root can use \"-c %s\"" +msgstr "" + +#: plugins/sudoers/sudoers.c:1012 +#, c-format +msgid "unknown login class: %s" +msgstr "ismeretlen bejelentkezési osztály: %s" + +#: plugins/sudoers/sudoers.c:1095 plugins/sudoers/sudoers.c:1109 +#, c-format +msgid "unable to resolve host %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:275 +#, c-format +msgid "invalid filter option: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:288 +#, c-format +msgid "invalid max wait: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:300 +#, c-format +msgid "invalid speed factor: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:303 plugins/sudoers/visudo.c:186 +#, c-format +msgid "%s version %s\n" +msgstr "%s: %s verzió\n" + +#: plugins/sudoers/sudoreplay.c:335 +#, c-format +msgid "%s/%.2s/%.2s/%.2s/timing: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:341 +#, c-format +msgid "%s/%s/timing: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:357 +#, c-format +msgid "Replaying sudo session: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:555 plugins/sudoers/sudoreplay.c:602 +#: plugins/sudoers/sudoreplay.c:805 plugins/sudoers/sudoreplay.c:895 +#: plugins/sudoers/sudoreplay.c:974 plugins/sudoers/sudoreplay.c:989 +#: plugins/sudoers/sudoreplay.c:996 plugins/sudoers/sudoreplay.c:1003 +#: plugins/sudoers/sudoreplay.c:1010 plugins/sudoers/sudoreplay.c:1017 +#: plugins/sudoers/sudoreplay.c:1163 +msgid "unable to add event to queue" +msgstr "az esemény hozzáadása a sorhoz sikertelen" + +#: plugins/sudoers/sudoreplay.c:670 +msgid "unable to set tty to raw mode" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:721 +#, c-format +msgid "Warning: your terminal is too small to properly replay the log.\n" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:722 +#, c-format +msgid "Log geometry is %d x %d, your terminal's geometry is %d x %d." +msgstr "" + +#: plugins/sudoers/sudoreplay.c:750 +msgid "Replay finished, press any key to restore the terminal." +msgstr "" + +#: plugins/sudoers/sudoreplay.c:783 +#, c-format +msgid "invalid timing file line: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1197 plugins/sudoers/sudoreplay.c:1222 +#, c-format +msgid "ambiguous expression \"%s\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1244 +msgid "unmatched ')' in expression" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1248 +#, c-format +msgid "unknown search term \"%s\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1263 +#, c-format +msgid "%s requires an argument" +msgstr "%s egy argumentumot igényel" + +#: plugins/sudoers/sudoreplay.c:1266 plugins/sudoers/sudoreplay.c:1646 +#, c-format +msgid "invalid regular expression: %s" +msgstr "érvénytelen reguláris kifejezés: %s" + +#: plugins/sudoers/sudoreplay.c:1270 +#, c-format +msgid "could not parse date \"%s\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1279 +msgid "unmatched '(' in expression" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1281 +msgid "illegal trailing \"or\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1283 +msgid "illegal trailing \"!\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1332 +#, c-format +msgid "unknown search type %d" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1370 +#, c-format +msgid "%s: invalid log file" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1388 +#, c-format +msgid "%s: time stamp field is missing" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1395 +#, c-format +msgid "%s: time stamp %s: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1402 +#, c-format +msgid "%s: user field is missing" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1411 +#, c-format +msgid "%s: runas user field is missing" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1420 +#, c-format +msgid "%s: runas group field is missing" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1826 +#, c-format +msgid "usage: %s [-hnR] [-d dir] [-m num] [-s num] ID\n" +msgstr "használat: %s [-hnR] [-d kvt] [-m szám] [-s szám] ID\n" + +#: plugins/sudoers/sudoreplay.c:1829 +#, c-format +msgid "usage: %s [-h] [-d dir] -l [search expression]\n" +msgstr "használat: %s [-h] [-d kvt] -l [keresőkifejezés]\n" + +#: plugins/sudoers/sudoreplay.c:1838 +#, c-format +msgid "" +"%s - replay sudo session logs\n" +"\n" +msgstr "" +"%s - sudo munkamenetek naplójának újrajátszása\n" +"\n" + +#: plugins/sudoers/sudoreplay.c:1840 +msgid "" +"\n" +"Options:\n" +" -d, --directory=dir specify directory for session logs\n" +" -f, --filter=filter specify which I/O type(s) to display\n" +" -h, --help display help message and exit\n" +" -l, --list list available session IDs, with optional expression\n" +" -m, --max-wait=num max number of seconds to wait between events\n" +" -s, --speed=num speed up or slow down output\n" +" -V, --version display version information and exit" +msgstr "" +"\n" +"Beállítások:\n" +" -d, --directory=kvt munkamenet-naplók könyvtárának megadása\n" +" -f, --filter=szűrő megjelenítendő I/O típusok megadása\n" +" -h, --help súgóüzenet megjelenítése és kilépés\n" +" -l, --list elérhető munkamenet-azonosítók listája, elhagyható\n" +" kifejezéssel\n" +" -m, --max-wait=szám események közti várakozás legfeljebb ennyi másodpercig\n" +" -s, --speed=szám kimenet felgyorsítása vagy lelassítása\n" +" -V, --version verzióinformációk kiírása és kilépés" + +#: plugins/sudoers/testsudoers.c:329 +msgid "\thost unmatched" +msgstr "" + +#: plugins/sudoers/testsudoers.c:332 +msgid "" +"\n" +"Command allowed" +msgstr "" + +#: plugins/sudoers/testsudoers.c:333 +msgid "" +"\n" +"Command denied" +msgstr "" + +#: plugins/sudoers/testsudoers.c:333 +msgid "" +"\n" +"Command unmatched" +msgstr "" + +#: plugins/sudoers/timestamp.c:230 +#, c-format +msgid "%s is group writable" +msgstr "" + +#: plugins/sudoers/timestamp.c:306 +#, c-format +msgid "unable to truncate time stamp file to %lld bytes" +msgstr "" + +#: plugins/sudoers/timestamp.c:772 plugins/sudoers/timestamp.c:839 +#: plugins/sudoers/visudo.c:500 plugins/sudoers/visudo.c:506 +msgid "unable to read the clock" +msgstr "" + +#: plugins/sudoers/timestamp.c:786 +msgid "ignoring time stamp from the future" +msgstr "" + +#: plugins/sudoers/timestamp.c:798 +#, c-format +msgid "time stamp too far in the future: %20.20s" +msgstr "" + +#: plugins/sudoers/timestamp.c:893 +#, c-format +msgid "unable to lock time stamp file %s" +msgstr "" + +#: plugins/sudoers/timestamp.c:937 plugins/sudoers/timestamp.c:957 +#, c-format +msgid "lecture status path too long: %s/%s" +msgstr "" + +#: plugins/sudoers/visudo.c:188 +#, c-format +msgid "%s grammar version %d\n" +msgstr "" + +#: plugins/sudoers/visudo.c:266 plugins/sudoers/visudo.c:667 +#, c-format +msgid "press return to edit %s: " +msgstr "" + +#: plugins/sudoers/visudo.c:331 +#, c-format +msgid "specified editor (%s) doesn't exist" +msgstr "" + +#: plugins/sudoers/visudo.c:349 +#, c-format +msgid "no editor found (editor path = %s)" +msgstr "" + +#: plugins/sudoers/visudo.c:459 plugins/sudoers/visudo.c:467 +msgid "write error" +msgstr "íráshiba" + +#: plugins/sudoers/visudo.c:513 +#, c-format +msgid "unable to stat temporary file (%s), %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:520 +#, c-format +msgid "zero length temporary file (%s), %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:526 +#, c-format +msgid "editor (%s) failed, %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:548 +#, c-format +msgid "%s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:607 +#, c-format +msgid "unable to re-open temporary file (%s), %s unchanged." +msgstr "" + +#: plugins/sudoers/visudo.c:619 +#, c-format +msgid "unabled to parse temporary file (%s), unknown error" +msgstr "" + +#: plugins/sudoers/visudo.c:656 +#, c-format +msgid "internal error, unable to find %s in list!" +msgstr "" + +#: plugins/sudoers/visudo.c:736 plugins/sudoers/visudo.c:745 +#, c-format +msgid "unable to set (uid, gid) of %s to (%u, %u)" +msgstr "" + +#: plugins/sudoers/visudo.c:767 +#, c-format +msgid "%s and %s not on the same file system, using mv to rename" +msgstr "" + +#: plugins/sudoers/visudo.c:781 +#, c-format +msgid "command failed: '%s %s %s', %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:791 +#, c-format +msgid "error renaming %s, %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:855 +msgid "What now? " +msgstr "" + +#: plugins/sudoers/visudo.c:869 +msgid "" +"Options are:\n" +" (e)dit sudoers file again\n" +" e(x)it without saving changes to sudoers file\n" +" (Q)uit and save changes to sudoers file (DANGER!)\n" +msgstr "" + +#: plugins/sudoers/visudo.c:915 +#, c-format +msgid "unable to run %s" +msgstr "" + +#: plugins/sudoers/visudo.c:945 +#, c-format +msgid "%s: wrong owner (uid, gid) should be (%u, %u)\n" +msgstr "" + +#: plugins/sudoers/visudo.c:952 +#, c-format +msgid "%s: bad permissions, should be mode 0%o\n" +msgstr "" + +#: plugins/sudoers/visudo.c:981 plugins/sudoers/visudo_json.c:1021 +#, c-format +msgid "failed to parse %s file, unknown error" +msgstr "" + +#: plugins/sudoers/visudo.c:997 plugins/sudoers/visudo_json.c:1032 +#, c-format +msgid "parse error in %s near line %d\n" +msgstr "" + +#: plugins/sudoers/visudo.c:1000 plugins/sudoers/visudo_json.c:1035 +#, c-format +msgid "parse error in %s\n" +msgstr "" + +#: plugins/sudoers/visudo.c:1008 plugins/sudoers/visudo.c:1015 +#, c-format +msgid "%s: parsed OK\n" +msgstr "" + +#: plugins/sudoers/visudo.c:1062 +#, c-format +msgid "%s busy, try again later" +msgstr "" + +#: plugins/sudoers/visudo.c:1159 +#, c-format +msgid "Error: %s:%d cycle in %s \"%s\"" +msgstr "" + +#: plugins/sudoers/visudo.c:1160 +#, c-format +msgid "Warning: %s:%d cycle in %s \"%s\"" +msgstr "" + +#: plugins/sudoers/visudo.c:1164 +#, c-format +msgid "Error: %s:%d %s \"%s\" referenced but not defined" +msgstr "" + +#: plugins/sudoers/visudo.c:1165 +#, c-format +msgid "Warning: %s:%d %s \"%s\" referenced but not defined" +msgstr "" + +#: plugins/sudoers/visudo.c:1318 +#, c-format +msgid "Warning: %s:%d unused %s \"%s\"" +msgstr "" + +#: plugins/sudoers/visudo.c:1433 +#, c-format +msgid "" +"%s - safely edit the sudoers file\n" +"\n" +msgstr "" +"%s - a sudoers fájl biztonságos szerkesztése\n" +"\n" + +#: plugins/sudoers/visudo.c:1435 +msgid "" +"\n" +"Options:\n" +" -c, --check check-only mode\n" +" -f, --file=sudoers specify sudoers file location\n" +" -h, --help display help message and exit\n" +" -q, --quiet less verbose (quiet) syntax error messages\n" +" -s, --strict strict syntax checking\n" +" -V, --version display version information and exit\n" +" -x, --export=output_file write sudoers in JSON format to output_file" +msgstr "" +"\n" +"Kapcsolók:\n" +" -c, --check csak ellenőrzés mód\n" +" -f, --file=sudoers a sudoers fájl helyének megadása\n" +" -h, --help súgóüzenet megjelenítése és kilépés\n" +" -q, --quiet kevésbé részletes (csendes) szintaktikai hiba\n" +" üzenetek\n" +" -s, --strict szigorú szintaxis-ellenőrzés\n" +" -V, --version verzióinformációk kiírása és kilépés\n" +" -x, --export=KIMENETIFÁJL a sudoers kiírása JSON formátumban a\n" +" KIMENETIFÁJLBA" + +#: plugins/sudoers/visudo_json.c:616 plugins/sudoers/visudo_json.c:651 +#, c-format +msgid "unknown defaults entry \"%s\"" +msgstr "" + +#: plugins/sudoers/visudo_json.c:1007 +#, c-format +msgid "%s: input and output files must be different" +msgstr "" + +#: toke.l:943 +msgid "too many levels of includes" +msgstr "" diff --git a/plugins/sudoers/po/it.mo b/plugins/sudoers/po/it.mo new file mode 100644 index 0000000..0da45c8 Binary files /dev/null and b/plugins/sudoers/po/it.mo differ diff --git a/plugins/sudoers/po/it.po b/plugins/sudoers/po/it.po new file mode 100644 index 0000000..c665717 --- /dev/null +++ b/plugins/sudoers/po/it.po @@ -0,0 +1,3271 @@ +# Italian translations for sudoers package +# This file is put in the public domain. +# Milo Casagrande , 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021. +# +msgid "" +msgstr "" +"Project-Id-Version: sudoers-1.9.7b1\n" +"Report-Msgid-Bugs-To: https://bugzilla.sudo.ws\n" +"POT-Creation-Date: 2021-05-01 16:27-0600\n" +"PO-Revision-Date: 2021-08-19 10:51+0200\n" +"Last-Translator: Milo Casagrande \n" +"Language-Team: Italian \n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 2.4.2\n" +"X-Poedit-SourceCharset: UTF-8\n" + +#: confstr.sh:1 gram.y:1183 +msgid "syntax error" +msgstr "errore di sintassi" + +#: confstr.sh:2 +msgid "%p's password: " +msgstr "password di %p: " + +#: confstr.sh:3 +msgid "[sudo] password for %p: " +msgstr "[sudo] password di %p: " + +#: confstr.sh:4 +msgid "Password: " +msgstr "Password: " + +#: confstr.sh:5 +msgid "*** SECURITY information for %h ***" +msgstr "*** Informazioni di SICUREZZA per %h ***" + +#: confstr.sh:6 +msgid "Sorry, try again." +msgstr "Riprovare." + +#: gram.y:233 gram.y:300 gram.y:309 gram.y:318 gram.y:328 gram.y:338 +#: gram.y:362 gram.y:389 gram.y:398 gram.y:406 gram.y:415 gram.y:424 +#: gram.y:496 gram.y:506 gram.y:518 gram.y:562 gram.y:571 gram.y:580 +#: gram.y:589 gram.y:619 gram.y:716 gram.y:724 gram.y:735 gram.y:747 +#: gram.y:766 gram.y:914 gram.y:922 gram.y:932 gram.y:938 gram.y:1060 +#: gram.y:1069 gram.y:1077 gram.y:1086 gram.y:1095 gram.y:1124 gram.y:1133 +#: gram.y:1141 gram.y:1231 gram.y:1343 gram.y:1650 gram.y:1700 +#: lib/eventlog/eventlog.c:260 lib/eventlog/eventlog.c:333 +#: lib/eventlog/eventlog.c:733 lib/eventlog/eventlog.c:797 +#: lib/eventlog/eventlog.c:1053 lib/iolog/iolog_json.c:125 +#: lib/iolog/iolog_json.c:330 lib/iolog/iolog_json.c:360 +#: lib/iolog/iolog_json.c:503 lib/iolog/iolog_legacy.c:100 +#: lib/iolog/iolog_legacy.c:111 lib/iolog/iolog_legacy.c:123 +#: lib/iolog/iolog_legacy.c:133 lib/iolog/iolog_legacy.c:139 +#: lib/iolog/iolog_loginfo.c:76 lib/iolog/iolog_loginfo.c:210 +#: logsrvd/logsrvd.c:1021 logsrvd/logsrvd.c:1089 logsrvd/logsrvd_journal.c:142 +#: logsrvd/logsrvd_journal.c:196 logsrvd/logsrvd_journal.c:248 +#: logsrvd/logsrvd_journal.c:380 logsrvd/logsrvd_relay.c:443 +#: logsrvd/logsrvd_relay.c:743 logsrvd/logsrvd_relay.c:857 +#: logsrvd/sendlog.c:500 plugins/sudoers/audit.c:115 +#: plugins/sudoers/audit.c:263 plugins/sudoers/auth/bsdauth.c:143 +#: plugins/sudoers/auth/kerb5.c:118 plugins/sudoers/auth/kerb5.c:144 +#: plugins/sudoers/auth/pam.c:692 plugins/sudoers/auth/rfc1938.c:111 +#: plugins/sudoers/auth/sia.c:59 plugins/sudoers/check_aliases.c:95 +#: plugins/sudoers/cvtsudoers.c:119 plugins/sudoers/cvtsudoers.c:160 +#: plugins/sudoers/cvtsudoers.c:177 plugins/sudoers/cvtsudoers.c:188 +#: plugins/sudoers/cvtsudoers.c:300 plugins/sudoers/cvtsudoers.c:428 +#: plugins/sudoers/cvtsudoers.c:561 plugins/sudoers/cvtsudoers.c:578 +#: plugins/sudoers/cvtsudoers.c:646 plugins/sudoers/cvtsudoers.c:761 +#: plugins/sudoers/cvtsudoers.c:769 plugins/sudoers/cvtsudoers.c:1183 +#: plugins/sudoers/cvtsudoers.c:1187 plugins/sudoers/cvtsudoers.c:1289 +#: plugins/sudoers/cvtsudoers_json.c:76 plugins/sudoers/cvtsudoers_ldif.c:151 +#: plugins/sudoers/cvtsudoers_ldif.c:194 plugins/sudoers/cvtsudoers_ldif.c:235 +#: plugins/sudoers/cvtsudoers_ldif.c:300 plugins/sudoers/cvtsudoers_ldif.c:371 +#: plugins/sudoers/cvtsudoers_ldif.c:421 plugins/sudoers/cvtsudoers_ldif.c:429 +#: plugins/sudoers/cvtsudoers_ldif.c:440 plugins/sudoers/cvtsudoers_ldif.c:447 +#: plugins/sudoers/cvtsudoers_ldif.c:460 plugins/sudoers/cvtsudoers_ldif.c:468 +#: plugins/sudoers/cvtsudoers_ldif.c:615 plugins/sudoers/defaults.c:638 +#: plugins/sudoers/defaults.c:933 plugins/sudoers/defaults.c:1108 +#: plugins/sudoers/editor.c:187 plugins/sudoers/env.c:262 +#: plugins/sudoers/exptilde.c:92 plugins/sudoers/filedigest.c:54 +#: plugins/sudoers/filedigest.c:70 plugins/sudoers/gc.c:57 +#: plugins/sudoers/group_plugin.c:133 plugins/sudoers/interfaces.c:72 +#: plugins/sudoers/iolog.c:609 plugins/sudoers/iolog.c:626 +#: plugins/sudoers/ldap.c:184 plugins/sudoers/ldap.c:422 +#: plugins/sudoers/ldap.c:432 plugins/sudoers/ldap.c:437 +#: plugins/sudoers/ldap.c:441 plugins/sudoers/ldap.c:453 +#: plugins/sudoers/ldap.c:744 plugins/sudoers/ldap.c:908 +#: plugins/sudoers/ldap.c:1281 plugins/sudoers/ldap.c:1709 +#: plugins/sudoers/ldap.c:1746 plugins/sudoers/ldap.c:1827 +#: plugins/sudoers/ldap.c:1962 plugins/sudoers/ldap.c:2063 +#: plugins/sudoers/ldap.c:2079 plugins/sudoers/ldap_conf.c:218 +#: plugins/sudoers/ldap_conf.c:249 plugins/sudoers/ldap_conf.c:301 +#: plugins/sudoers/ldap_conf.c:337 plugins/sudoers/ldap_conf.c:441 +#: plugins/sudoers/ldap_conf.c:456 plugins/sudoers/ldap_conf.c:553 +#: plugins/sudoers/ldap_conf.c:586 plugins/sudoers/ldap_conf.c:678 +#: plugins/sudoers/ldap_conf.c:760 plugins/sudoers/ldap_util.c:326 +#: plugins/sudoers/ldap_util.c:333 plugins/sudoers/ldap_util.c:648 +#: plugins/sudoers/linux_audit.c:86 plugins/sudoers/log_client.c:105 +#: plugins/sudoers/log_client.c:381 plugins/sudoers/log_client.c:686 +#: plugins/sudoers/log_client.c:704 plugins/sudoers/log_client.c:1413 +#: plugins/sudoers/log_client.c:1626 plugins/sudoers/log_client.c:1950 +#: plugins/sudoers/log_client.c:2007 plugins/sudoers/logging.c:100 +#: plugins/sudoers/logging.c:166 plugins/sudoers/logging.c:426 +#: plugins/sudoers/logging.c:446 plugins/sudoers/logging.c:527 +#: plugins/sudoers/match_command.c:286 plugins/sudoers/match_command.c:484 +#: plugins/sudoers/match_command.c:533 plugins/sudoers/match_command.c:604 +#: plugins/sudoers/match_command.c:650 plugins/sudoers/match_digest.c:93 +#: plugins/sudoers/parse.c:199 plugins/sudoers/parse.c:216 +#: plugins/sudoers/parse.c:236 plugins/sudoers/parse.c:253 +#: plugins/sudoers/parse.c:276 plugins/sudoers/parse.c:287 +#: plugins/sudoers/parse_ldif.c:153 plugins/sudoers/parse_ldif.c:184 +#: plugins/sudoers/parse_ldif.c:253 plugins/sudoers/parse_ldif.c:260 +#: plugins/sudoers/parse_ldif.c:265 plugins/sudoers/parse_ldif.c:341 +#: plugins/sudoers/parse_ldif.c:352 plugins/sudoers/parse_ldif.c:379 +#: plugins/sudoers/parse_ldif.c:396 plugins/sudoers/parse_ldif.c:408 +#: plugins/sudoers/parse_ldif.c:412 plugins/sudoers/parse_ldif.c:426 +#: plugins/sudoers/parse_ldif.c:483 plugins/sudoers/parse_ldif.c:596 +#: plugins/sudoers/parse_ldif.c:626 plugins/sudoers/parse_ldif.c:651 +#: plugins/sudoers/parse_ldif.c:709 plugins/sudoers/parse_ldif.c:726 +#: plugins/sudoers/parse_ldif.c:754 plugins/sudoers/parse_ldif.c:761 +#: plugins/sudoers/policy.c:543 plugins/sudoers/policy.c:890 +#: plugins/sudoers/prompt.c:93 plugins/sudoers/pwutil.c:195 +#: plugins/sudoers/pwutil.c:266 plugins/sudoers/pwutil.c:344 +#: plugins/sudoers/pwutil.c:518 plugins/sudoers/pwutil.c:583 +#: plugins/sudoers/pwutil.c:655 plugins/sudoers/pwutil.c:853 +#: plugins/sudoers/pwutil.c:909 plugins/sudoers/pwutil.c:953 +#: plugins/sudoers/pwutil.c:1010 plugins/sudoers/sssd.c:145 +#: plugins/sudoers/sssd.c:407 plugins/sudoers/sssd.c:470 +#: plugins/sudoers/sssd.c:514 plugins/sudoers/sssd.c:561 +#: plugins/sudoers/sssd.c:754 plugins/sudoers/strvec_join.c:53 +#: plugins/sudoers/stubs.c:111 plugins/sudoers/stubs.c:119 +#: plugins/sudoers/sudoers.c:299 plugins/sudoers/sudoers.c:325 +#: plugins/sudoers/sudoers.c:374 plugins/sudoers/sudoers.c:384 +#: plugins/sudoers/sudoers.c:425 plugins/sudoers/sudoers.c:787 +#: plugins/sudoers/sudoers.c:922 plugins/sudoers/sudoers.c:975 +#: plugins/sudoers/sudoers.c:1241 plugins/sudoers/sudoreplay.c:552 +#: plugins/sudoers/sudoreplay.c:555 plugins/sudoers/sudoreplay.c:1259 +#: plugins/sudoers/sudoreplay.c:1469 plugins/sudoers/sudoreplay.c:1473 +#: plugins/sudoers/testsudoers.c:120 plugins/sudoers/testsudoers.c:224 +#: plugins/sudoers/testsudoers.c:241 plugins/sudoers/testsudoers.c:580 +#: plugins/sudoers/timestamp.c:424 plugins/sudoers/timestamp.c:468 +#: plugins/sudoers/timestamp.c:980 plugins/sudoers/timestamp.c:1118 +#: plugins/sudoers/toke_util.c:77 plugins/sudoers/toke_util.c:105 +#: plugins/sudoers/toke_util.c:130 plugins/sudoers/toke_util.c:155 +#: plugins/sudoers/toke_util.c:193 plugins/sudoers/tsdump.c:123 +#: plugins/sudoers/visudo.c:143 plugins/sudoers/visudo.c:321 +#: plugins/sudoers/visudo.c:327 plugins/sudoers/visudo.c:433 +#: plugins/sudoers/visudo.c:609 plugins/sudoers/visudo.c:926 +#: plugins/sudoers/visudo.c:999 toke.l:928 toke.l:1057 toke.l:1117 +msgid "unable to allocate memory" +msgstr "impossibile allocare memoria" + +#: gram.y:613 +msgid "a digest requires a path name" +msgstr "un digest richiede il nome di percorso" + +#: gram.y:643 +msgid "values for \"CWD\" must start with a '/', '~', or '*'" +msgstr "i valori per \"CWD\" devono iniziare con un carattere \"/\", \"~\" o \"*\"" + +#: gram.y:655 +msgid "values for \"CHROOT\" must start with a '/', '~', or '*'" +msgstr "i valori per \"CHROOT\" devono iniziare con un carattere \"/\", \"~\" o \"*\"" + +#: gram.y:786 +#, c-format +msgid "syntax error, reserved word %s used as an alias name" +msgstr "errore di sintassi, parola riservata %s utilizzata come alias" + +#: gram.y:809 +msgid "invalid notbefore value" +msgstr "valore notbefore non valido" + +#: gram.y:818 +msgid "invalid notafter value" +msgstr "valore notafter non valido" + +#: gram.y:828 plugins/sudoers/policy.c:339 +msgid "timeout value too large" +msgstr "valore timeout troppo grande" + +#: gram.y:830 plugins/sudoers/policy.c:341 +msgid "invalid timeout value" +msgstr "valore timeout non valido" + +#: gram.y:1185 +#, c-format +msgid "%s:%d:%d: %s\n" +msgstr "%s:%d:%d: %s\n" + +#: gram.y:1229 +#, c-format +msgid "Alias \"%s\" already defined" +msgstr "Alias \"%s\" già definito" + +#: gram.y:1650 gram.y:1700 lib/eventlog/eventlog.c:260 +#: lib/eventlog/eventlog.c:733 lib/eventlog/eventlog.c:795 +#: lib/eventlog/eventlog.c:796 lib/eventlog/eventlog.c:1053 +#: lib/iolog/iolog_json.c:125 lib/iolog/iolog_json.c:329 +#: lib/iolog/iolog_json.c:360 lib/iolog/iolog_json.c:503 +#: lib/iolog/iolog_legacy.c:100 lib/iolog/iolog_legacy.c:111 +#: lib/iolog/iolog_legacy.c:123 lib/iolog/iolog_legacy.c:133 +#: lib/iolog/iolog_legacy.c:139 lib/iolog/iolog_loginfo.c:76 +#: lib/iolog/iolog_loginfo.c:210 logsrvd/sendlog.c:500 logsrvd/sendlog.c:1343 +#: logsrvd/sendlog.c:1350 logsrvd/sendlog.c:1545 logsrvd/tls_init.c:221 +#: logsrvd/tls_init.c:242 logsrvd/tls_init.c:252 plugins/sudoers/audit.c:115 +#: plugins/sudoers/audit.c:263 plugins/sudoers/auth/pam.c:505 +#: plugins/sudoers/auth/pam.c:692 plugins/sudoers/auth/rfc1938.c:111 +#: plugins/sudoers/check_aliases.c:95 plugins/sudoers/cvtsudoers.c:119 +#: plugins/sudoers/cvtsudoers.c:159 plugins/sudoers/cvtsudoers.c:176 +#: plugins/sudoers/cvtsudoers.c:187 plugins/sudoers/cvtsudoers.c:299 +#: plugins/sudoers/cvtsudoers.c:427 plugins/sudoers/cvtsudoers.c:560 +#: plugins/sudoers/cvtsudoers.c:577 plugins/sudoers/cvtsudoers.c:646 +#: plugins/sudoers/cvtsudoers.c:761 plugins/sudoers/cvtsudoers.c:768 +#: plugins/sudoers/cvtsudoers.c:1183 plugins/sudoers/cvtsudoers.c:1187 +#: plugins/sudoers/cvtsudoers.c:1289 plugins/sudoers/cvtsudoers_json.c:75 +#: plugins/sudoers/cvtsudoers_ldif.c:150 plugins/sudoers/cvtsudoers_ldif.c:193 +#: plugins/sudoers/cvtsudoers_ldif.c:234 plugins/sudoers/cvtsudoers_ldif.c:299 +#: plugins/sudoers/cvtsudoers_ldif.c:370 plugins/sudoers/cvtsudoers_ldif.c:420 +#: plugins/sudoers/cvtsudoers_ldif.c:428 plugins/sudoers/cvtsudoers_ldif.c:439 +#: plugins/sudoers/cvtsudoers_ldif.c:446 plugins/sudoers/cvtsudoers_ldif.c:459 +#: plugins/sudoers/cvtsudoers_ldif.c:467 plugins/sudoers/cvtsudoers_ldif.c:614 +#: plugins/sudoers/defaults.c:638 plugins/sudoers/defaults.c:933 +#: plugins/sudoers/defaults.c:1108 plugins/sudoers/editor.c:187 +#: plugins/sudoers/env.c:262 plugins/sudoers/exptilde.c:92 +#: plugins/sudoers/filedigest.c:54 plugins/sudoers/filedigest.c:70 +#: plugins/sudoers/gc.c:57 plugins/sudoers/group_plugin.c:132 +#: plugins/sudoers/interfaces.c:72 plugins/sudoers/iolog.c:609 +#: plugins/sudoers/iolog.c:626 plugins/sudoers/ldap.c:184 +#: plugins/sudoers/ldap.c:422 plugins/sudoers/ldap.c:432 +#: plugins/sudoers/ldap.c:437 plugins/sudoers/ldap.c:441 +#: plugins/sudoers/ldap.c:453 plugins/sudoers/ldap.c:744 +#: plugins/sudoers/ldap.c:908 plugins/sudoers/ldap.c:1281 +#: plugins/sudoers/ldap.c:1709 plugins/sudoers/ldap.c:1746 +#: plugins/sudoers/ldap.c:1827 plugins/sudoers/ldap.c:1962 +#: plugins/sudoers/ldap.c:2063 plugins/sudoers/ldap.c:2079 +#: plugins/sudoers/ldap_conf.c:218 plugins/sudoers/ldap_conf.c:249 +#: plugins/sudoers/ldap_conf.c:301 plugins/sudoers/ldap_conf.c:337 +#: plugins/sudoers/ldap_conf.c:441 plugins/sudoers/ldap_conf.c:456 +#: plugins/sudoers/ldap_conf.c:553 plugins/sudoers/ldap_conf.c:586 +#: plugins/sudoers/ldap_conf.c:677 plugins/sudoers/ldap_conf.c:760 +#: plugins/sudoers/ldap_util.c:325 plugins/sudoers/ldap_util.c:332 +#: plugins/sudoers/ldap_util.c:648 plugins/sudoers/linux_audit.c:86 +#: plugins/sudoers/log_client.c:105 plugins/sudoers/log_client.c:214 +#: plugins/sudoers/log_client.c:235 plugins/sudoers/log_client.c:248 +#: plugins/sudoers/log_client.c:381 plugins/sudoers/log_client.c:686 +#: plugins/sudoers/log_client.c:704 plugins/sudoers/log_client.c:1413 +#: plugins/sudoers/log_client.c:1626 plugins/sudoers/log_client.c:1950 +#: plugins/sudoers/log_client.c:2007 plugins/sudoers/logging.c:100 +#: plugins/sudoers/logging.c:165 plugins/sudoers/logging.c:166 +#: plugins/sudoers/logging.c:425 plugins/sudoers/logging.c:445 +#: plugins/sudoers/logging.c:527 plugins/sudoers/match_command.c:285 +#: plugins/sudoers/match_command.c:483 plugins/sudoers/match_command.c:532 +#: plugins/sudoers/match_command.c:604 plugins/sudoers/match_command.c:649 +#: plugins/sudoers/match_digest.c:93 plugins/sudoers/parse.c:198 +#: plugins/sudoers/parse.c:215 plugins/sudoers/parse.c:235 +#: plugins/sudoers/parse.c:252 plugins/sudoers/parse.c:275 +#: plugins/sudoers/parse.c:286 plugins/sudoers/parse_ldif.c:152 +#: plugins/sudoers/parse_ldif.c:183 plugins/sudoers/parse_ldif.c:252 +#: plugins/sudoers/parse_ldif.c:259 plugins/sudoers/parse_ldif.c:264 +#: plugins/sudoers/parse_ldif.c:340 plugins/sudoers/parse_ldif.c:351 +#: plugins/sudoers/parse_ldif.c:378 plugins/sudoers/parse_ldif.c:395 +#: plugins/sudoers/parse_ldif.c:407 plugins/sudoers/parse_ldif.c:411 +#: plugins/sudoers/parse_ldif.c:425 plugins/sudoers/parse_ldif.c:483 +#: plugins/sudoers/parse_ldif.c:596 plugins/sudoers/parse_ldif.c:625 +#: plugins/sudoers/parse_ldif.c:650 plugins/sudoers/parse_ldif.c:708 +#: plugins/sudoers/parse_ldif.c:725 plugins/sudoers/parse_ldif.c:753 +#: plugins/sudoers/parse_ldif.c:760 plugins/sudoers/policy.c:149 +#: plugins/sudoers/policy.c:158 plugins/sudoers/policy.c:167 +#: plugins/sudoers/policy.c:193 plugins/sudoers/policy.c:324 +#: plugins/sudoers/policy.c:339 plugins/sudoers/policy.c:341 +#: plugins/sudoers/policy.c:371 plugins/sudoers/policy.c:380 +#: plugins/sudoers/policy.c:428 plugins/sudoers/policy.c:438 +#: plugins/sudoers/policy.c:447 plugins/sudoers/policy.c:456 +#: plugins/sudoers/policy.c:543 plugins/sudoers/policy.c:890 +#: plugins/sudoers/prompt.c:93 plugins/sudoers/pwutil.c:195 +#: plugins/sudoers/pwutil.c:266 plugins/sudoers/pwutil.c:344 +#: plugins/sudoers/pwutil.c:518 plugins/sudoers/pwutil.c:583 +#: plugins/sudoers/pwutil.c:655 plugins/sudoers/pwutil.c:853 +#: plugins/sudoers/pwutil.c:909 plugins/sudoers/pwutil.c:953 +#: plugins/sudoers/pwutil.c:1010 plugins/sudoers/set_perms.c:359 +#: plugins/sudoers/set_perms.c:698 plugins/sudoers/set_perms.c:1061 +#: plugins/sudoers/set_perms.c:1364 plugins/sudoers/set_perms.c:1529 +#: plugins/sudoers/sssd.c:144 plugins/sudoers/sssd.c:407 +#: plugins/sudoers/sssd.c:470 plugins/sudoers/sssd.c:514 +#: plugins/sudoers/sssd.c:561 plugins/sudoers/sssd.c:754 +#: plugins/sudoers/strvec_join.c:53 plugins/sudoers/stubs.c:111 +#: plugins/sudoers/stubs.c:119 plugins/sudoers/sudoers.c:299 +#: plugins/sudoers/sudoers.c:325 plugins/sudoers/sudoers.c:374 +#: plugins/sudoers/sudoers.c:384 plugins/sudoers/sudoers.c:425 +#: plugins/sudoers/sudoers.c:787 plugins/sudoers/sudoers.c:922 +#: plugins/sudoers/sudoers.c:975 plugins/sudoers/sudoers.c:1241 +#: plugins/sudoers/sudoreplay.c:552 plugins/sudoers/sudoreplay.c:555 +#: plugins/sudoers/sudoreplay.c:1259 plugins/sudoers/sudoreplay.c:1469 +#: plugins/sudoers/sudoreplay.c:1473 plugins/sudoers/testsudoers.c:120 +#: plugins/sudoers/testsudoers.c:224 plugins/sudoers/testsudoers.c:241 +#: plugins/sudoers/testsudoers.c:580 plugins/sudoers/timestamp.c:424 +#: plugins/sudoers/timestamp.c:468 plugins/sudoers/timestamp.c:980 +#: plugins/sudoers/timestamp.c:1118 plugins/sudoers/toke_util.c:77 +#: plugins/sudoers/toke_util.c:105 plugins/sudoers/toke_util.c:130 +#: plugins/sudoers/toke_util.c:154 plugins/sudoers/toke_util.c:193 +#: plugins/sudoers/tsdump.c:123 plugins/sudoers/visudo.c:143 +#: plugins/sudoers/visudo.c:321 plugins/sudoers/visudo.c:327 +#: plugins/sudoers/visudo.c:433 plugins/sudoers/visudo.c:609 +#: plugins/sudoers/visudo.c:926 plugins/sudoers/visudo.c:999 toke.l:928 +#: toke.l:1057 toke.l:1109 toke.l:1117 +#, c-format +msgid "%s: %s" +msgstr "%s: %s" + +#: lib/eventlog/eventlog.c:265 lib/iolog/iolog_json.c:509 +#: lib/iolog/iolog_json.c:512 lib/iolog/iolog_json.c:514 +#: plugins/sudoers/cvtsudoers_ldif.c:244 plugins/sudoers/cvtsudoers_ldif.c:251 +#: plugins/sudoers/cvtsudoers_ldif.c:571 plugins/sudoers/env.c:326 +#: plugins/sudoers/env.c:333 plugins/sudoers/env.c:444 +#: plugins/sudoers/iolog.c:631 plugins/sudoers/ldap.c:517 +#: plugins/sudoers/ldap.c:748 plugins/sudoers/ldap.c:1081 +#: plugins/sudoers/ldap_conf.c:222 plugins/sudoers/ldap_conf.c:312 +#: plugins/sudoers/linux_audit.c:92 plugins/sudoers/policy.c:573 +#: plugins/sudoers/policy.c:728 plugins/sudoers/policy.c:738 +#: plugins/sudoers/prompt.c:161 plugins/sudoers/strvec_join.c:62 +#: plugins/sudoers/testsudoers.c:245 plugins/sudoers/toke_util.c:206 +#, c-format +msgid "internal error, %s overflow" +msgstr "errore interno, overflow di %s" + +#: lib/eventlog/eventlog.c:324 +#, c-format +msgid "unable to dup stdin: %m" +msgstr "impossibile eseguire dup sullo stdin: %m" + +#: lib/eventlog/eventlog.c:366 +#, c-format +msgid "unable to execute %s: %m" +msgstr "impossibile eseguire %s: %m" + +#: lib/eventlog/eventlog.c:407 plugins/sudoers/auth/aix_auth.c:198 +msgid "unable to fork" +msgstr "impossibile eseguire fork" + +#: lib/eventlog/eventlog.c:415 lib/eventlog/eventlog.c:469 +#, c-format +msgid "unable to fork: %m" +msgstr "impossibile eseguire fork: %m" + +#: lib/eventlog/eventlog.c:459 +#, c-format +msgid "unable to open pipe: %m" +msgstr "impossibile aprire una pipe: %m" + +#: lib/eventlog/eventlog.c:882 +#, c-format +msgid "%8s : %s" +msgstr "%8s : %s" + +#: lib/eventlog/eventlog.c:911 +#, c-format +msgid "%8s : (command continued) %s" +msgstr "%8s : (comando continuato) %s" + +#: lib/iolog/iolog_json.c:115 +#, c-format +msgid "expected JSON_STRING, got %d" +msgstr "atteso JSON_STRING, ottenuto %d" + +#: lib/iolog/iolog_json.c:120 +msgid "JSON_ARRAY too large" +msgstr "JSON_ARRAY troppo grande" + +#: lib/iolog/iolog_json.c:352 +msgid "missing double quote in name" +msgstr "virgolette doppie mancanti nel nome" + +#: lib/iolog/iolog_json.c:449 +msgid "missing JSON_OBJECT" +msgstr "JSON_OBJECT mancante" + +#: lib/iolog/iolog_json.c:453 +#, c-format +msgid "expected JSON_OBJECT, got %d" +msgstr "atteso JSON_OBJECT, ottenuto %d" + +#: lib/iolog/iolog_json.c:599 +#, c-format +msgid "json stack exhausted (max %u frames)" +msgstr "Stack json esaurito (max %u frame)" + +#: lib/iolog/iolog_json.c:673 +msgid "objects must consist of name:value pairs" +msgstr "gli oggetti devono essere costituiti da coppie nome:valore" + +#: lib/iolog/iolog_json.c:678 lib/iolog/iolog_json.c:709 +#: lib/iolog/iolog_json.c:753 lib/iolog/iolog_json.c:775 +#: lib/iolog/iolog_json.c:797 lib/iolog/iolog_json.c:819 +#: lib/iolog/iolog_json.c:841 +msgid "missing separator between values" +msgstr "separatore mancante tra i valori" + +#: lib/iolog/iolog_json.c:693 lib/iolog/iolog_json.c:867 +msgid "unmatched close brace" +msgstr "parentesi graffa di chiusura senza corrispondenza" + +#: lib/iolog/iolog_json.c:704 +msgid "unexpected array" +msgstr "array non atteso" + +#: lib/iolog/iolog_json.c:724 lib/iolog/iolog_json.c:870 +msgid "unmatched close bracket" +msgstr "parentesi quadra di chiusura senza corrispondenza" + +#: lib/iolog/iolog_json.c:735 +msgid "unexpected string" +msgstr "stringa non attesa" + +#: lib/iolog/iolog_json.c:746 +msgid "missing colon after name" +msgstr "due punti mancanti dopo il nome" + +#: lib/iolog/iolog_json.c:767 lib/iolog/iolog_json.c:789 +msgid "unexpected boolean" +msgstr "booleano non atteso" + +#: lib/iolog/iolog_json.c:811 +msgid "unexpected null" +msgstr "null non atteso" + +#: lib/iolog/iolog_json.c:832 +msgid "unexpected number" +msgstr "numero non atteso" + +#: lib/iolog/iolog_json.c:879 +msgid "parse error" +msgstr "errore di analisi" + +#: lib/iolog/iolog_legacy.c:65 +#, c-format +msgid "%s: invalid log file" +msgstr "%s: file di registro non valido" + +#: lib/iolog/iolog_legacy.c:83 +#, c-format +msgid "%s: time stamp field is missing" +msgstr "%s: manca il campo della marcatura temporale" + +#: lib/iolog/iolog_legacy.c:89 +#, c-format +msgid "%s: time stamp %s: %s" +msgstr "%s: marcatura temporale %s: %s" + +#: lib/iolog/iolog_legacy.c:96 +#, c-format +msgid "%s: user field is missing" +msgstr "%s: manca il campo utente" + +#: lib/iolog/iolog_legacy.c:107 +#, c-format +msgid "%s: runas user field is missing" +msgstr "%s: manca il campo utente di runas" + +#: lib/iolog/iolog_legacy.c:118 +#, c-format +msgid "%s: runas group field is missing" +msgstr "%s: manca il campo gruppo di runas" + +#: lib/iolog/iolog_mkdirs.c:89 +#, c-format +msgid "%s exists but is not a directory (0%o)" +msgstr "%s esiste, ma non è una directory (0%o)" + +#: lib/iolog/iolog_mkdirs.c:119 lib/iolog/iolog_mkdtemp.c:72 +#: plugins/sudoers/timestamp.c:205 +#, c-format +msgid "unable to mkdir %s" +msgstr "impossibile creare la directory %s" + +#: lib/iolog/iolog_mkdtemp.c:76 plugins/sudoers/visudo.c:726 +#: plugins/sudoers/visudo.c:737 +#, c-format +msgid "unable to change mode of %s to 0%o" +msgstr "impossibile modificare la modalità di %s a 0%o" + +#: lib/iolog/iolog_timing.c:255 +#, c-format +msgid "error reading timing file: %s" +msgstr "errore nel leggere il file di timing: %s" + +#: lib/iolog/iolog_timing.c:262 +#, c-format +msgid "invalid timing file line: %s" +msgstr "riga di timing del file non valida: %s" + +#: logsrvd/logsrv_util.c:99 logsrvd/logsrv_util.c:106 +#: plugins/sudoers/sudoreplay.c:352 plugins/sudoers/sudoreplay.c:358 +#, c-format +msgid "unable to open %s/%s" +msgstr "impossibile aprire %s/%s" + +#: logsrvd/logsrv_util.c:133 +#, c-format +msgid "missing I/O log file %s/%s" +msgstr "file di registro I/O mancante %s/%s" + +#: logsrvd/logsrv_util.c:140 +#, c-format +msgid "%s/%s: unable to seek forward %zu" +msgstr "%s/%s: impossibile spostarsi avanti %zu" + +#: logsrvd/logsrv_util.c:150 +#, c-format +msgid "unable to find resume point [%lld, %ld] in %s/%s" +msgstr "impossibile trovare il punto di ripristino [%lld, %ld] in %s/%s" + +#: logsrvd/logsrvd.c:434 logsrvd/logsrvd.c:473 logsrvd/logsrvd.c:507 +#: logsrvd/logsrvd.c:557 logsrvd/logsrvd.c:632 logsrvd/logsrvd.c:664 +#: logsrvd/logsrvd.c:696 logsrvd/logsrvd.c:726 logsrvd/logsrvd_relay.c:511 +#: logsrvd/logsrvd_relay.c:544 +msgid "state machine error" +msgstr "errore della macchina di stato" + +#: logsrvd/logsrvd.c:443 +msgid "invalid AcceptMessage" +msgstr "AcceptMessage non valido" + +#: logsrvd/logsrvd.c:482 +msgid "invalid RejectMessage" +msgstr "RejectMessage non valido" + +#: logsrvd/logsrvd.c:593 +msgid "invalid AlertMessage" +msgstr "AlertMessage non valido" + +#: logsrvd/logsrvd.c:638 logsrvd/logsrvd.c:670 logsrvd/logsrvd.c:702 +msgid "protocol error" +msgstr "errore di protocollo" + +#: logsrvd/logsrvd.c:797 +msgid "unrecognized ClientMessage type" +msgstr "tipo di ClientMessage non riconosciuto" + +#: logsrvd/logsrvd.c:1082 logsrvd/logsrvd_journal.c:238 +msgid "client message too large" +msgstr "messaggio client troppo grande" + +#: logsrvd/logsrvd.c:1102 +msgid "invalid ClientMessage" +msgstr "ClientMessage non valido" + +#: logsrvd/logsrvd.c:1408 +msgid "unable to get remote IP addr" +msgstr "impossibile ottenere indirizzo IP remoto" + +#: logsrvd/logsrvd.c:1436 logsrvd/tls_client.c:203 +#: plugins/sudoers/log_client.c:263 +#, c-format +msgid "Unable to attach user data to the ssl object: %s" +msgstr "Impossibile allegare dati utenti all'oggetto ssl: %s" + +#: logsrvd/logsrvd.c:1444 logsrvd/logsrvd.c:1570 logsrvd/logsrvd.c:1755 +#: logsrvd/sendlog.c:1146 logsrvd/tls_client.c:138 logsrvd/tls_client.c:154 +#: logsrvd/tls_client.c:216 plugins/sudoers/iolog.c:969 +#: plugins/sudoers/iolog.c:1102 plugins/sudoers/iolog.c:1200 +#: plugins/sudoers/log_client.c:109 plugins/sudoers/log_client.c:324 +#: plugins/sudoers/log_client.c:340 plugins/sudoers/log_client.c:386 +#: plugins/sudoers/log_client.c:585 plugins/sudoers/log_client.c:592 +#: plugins/sudoers/log_client.c:1109 plugins/sudoers/log_client.c:1382 +#: plugins/sudoers/log_client.c:1423 plugins/sudoers/log_client.c:1431 +#: plugins/sudoers/log_client.c:1582 plugins/sudoers/log_client.c:1698 +#: plugins/sudoers/log_client.c:2015 plugins/sudoers/log_client.c:2023 +#: plugins/sudoers/sudoreplay.c:512 plugins/sudoers/sudoreplay.c:559 +#: plugins/sudoers/sudoreplay.c:791 plugins/sudoers/sudoreplay.c:903 +#: plugins/sudoers/sudoreplay.c:993 plugins/sudoers/sudoreplay.c:1008 +#: plugins/sudoers/sudoreplay.c:1015 plugins/sudoers/sudoreplay.c:1022 +#: plugins/sudoers/sudoreplay.c:1029 plugins/sudoers/sudoreplay.c:1036 +#: plugins/sudoers/sudoreplay.c:1163 +msgid "unable to add event to queue" +msgstr "impossibile aggiungere l'evento alla coda" + +#: logsrvd/logsrvd.c:1620 logsrvd/logsrvd.c:1953 +msgid "unable to setup listen socket" +msgstr "impossibile impostare il socket di ascolto" + +#: logsrvd/logsrvd.c:1855 +msgid "sudo log server" +msgstr "Server di registro sudo" + +#: logsrvd/logsrvd.c:1857 logsrvd/sendlog.c:122 +msgid "Options:" +msgstr "Opzioni:" + +#: logsrvd/logsrvd.c:1859 +msgid "path to configuration file" +msgstr "Percorso del file di configurazione" + +#: logsrvd/logsrvd.c:1861 logsrvd/sendlog.c:124 +msgid "display help message and exit" +msgstr "Visualizza il messaggio di aiuto ed esce" + +#: logsrvd/logsrvd.c:1863 +msgid "do not fork, run in the foreground" +msgstr "Non esegue fork, esegue in primo piano" + +#: logsrvd/logsrvd.c:1865 +msgid "percent chance connections will drop" +msgstr "Probabilità percentuale che le connessioni termineranno" + +#: logsrvd/logsrvd.c:1867 logsrvd/sendlog.c:152 +msgid "display version information and exit" +msgstr "Visualizza le informazioni sulla versione ed esce" + +#: logsrvd/logsrvd.c:1917 logsrvd/sendlog.c:1518 +msgid "Protobuf-C version 1.3 or higher required" +msgstr "È richiesto Protobuf-C 1.3 o successivo" + +#: logsrvd/logsrvd.c:1933 +#, c-format +msgid "invalid random drop value: %s" +msgstr "valore drop casuale non valido: %s" + +#: logsrvd/logsrvd.c:1936 logsrvd/sendlog.c:1568 +#: plugins/sudoers/cvtsudoers.c:228 plugins/sudoers/sudoreplay.c:299 +#: plugins/sudoers/visudo.c:175 +#, c-format +msgid "%s version %s\n" +msgstr "%s versione %s\n" + +#: logsrvd/logsrvd_conf.c:446 +msgid "TLS not supported" +msgstr "TLS non supportato" + +#: logsrvd/logsrvd_conf.c:468 +#, c-format +msgid "%s:%s" +msgstr "%s:%s" + +#: logsrvd/logsrvd_conf.c:541 logsrvd/logsrvd_conf.c:876 +#, c-format +msgid "%s: not a fully qualified path" +msgstr "%s: non è un percorso completo" + +#: logsrvd/logsrvd_conf.c:1035 +#, c-format +msgid "%s:%d unmatched '[': %s" +msgstr "%s:%d \"[\" non corrispondente: %s" + +#: logsrvd/logsrvd_conf.c:1046 +#, c-format +msgid "%s:%d invalid config section: %s" +msgstr "%s:%d sezione configurazione non valida: %s" + +#: logsrvd/logsrvd_conf.c:1054 +#, c-format +msgid "%s:%d invalid configuration line: %s" +msgstr "%s:%d riga di configurazione non valida: %s" + +#: logsrvd/logsrvd_conf.c:1060 +#, c-format +msgid "%s:%d expected section name: %s" +msgstr "%s:%d atteso nome di sezione: %s" + +#: logsrvd/logsrvd_conf.c:1074 +#, c-format +msgid "invalid value for %s: %s" +msgstr "valore non valido per \"%s\": %s" + +#: logsrvd/logsrvd_conf.c:1082 +#, c-format +msgid "%s:%d unknown key: %s" +msgstr "%s:%d chiave sconosciuta: %s" + +#: logsrvd/logsrvd_conf.c:1294 +#, c-format +msgid "unknown syslog facility %s" +msgstr "strumento syslog %s sconosciuto" + +#: logsrvd/logsrvd_conf.c:1298 logsrvd/logsrvd_conf.c:1302 +#: logsrvd/logsrvd_conf.c:1306 +#, c-format +msgid "unknown syslog priority %s" +msgstr "priorità syslog %s sconosciuta" + +#: logsrvd/logsrvd_conf.c:1374 +msgid "unable to initialize server TLS context" +msgstr "impossibile inizializzare il contesto TLS del server" + +#: logsrvd/logsrvd_conf.c:1394 +msgid "unable to initialize relay TLS context" +msgstr "impossibile inizializzare il contesto TLS di inoltro" + +#: logsrvd/logsrvd_journal.c:126 logsrvd/logsrvd_journal.c:367 +#: logsrvd/logsrvd_journal.c:373 +msgid "unable to create journal file" +msgstr "Impossibile creare un file del registro" + +#: logsrvd/logsrvd_journal.c:134 +msgid "unable to lock journal file" +msgstr "Impossibile bloccare il file del registro" + +#: logsrvd/logsrvd_journal.c:163 logsrvd/logsrvd_journal.c:406 +#: logsrvd/logsrvd_journal.c:411 +msgid "unable to write journal file" +msgstr "Impossibile scrivere il file del registro" + +#: logsrvd/logsrvd_journal.c:171 logsrvd/logsrvd_journal.c:178 +msgid "unable to rename journal file" +msgstr "Impossibile rinominare il file del registro" + +#: logsrvd/logsrvd_journal.c:228 logsrvd/logsrvd_journal.c:258 +msgid "unexpected EOF reading journal file" +msgstr "EOF inatteso nel file del registro" + +#: logsrvd/logsrvd_journal.c:230 logsrvd/logsrvd_journal.c:260 +msgid "error reading journal file" +msgstr "errore nel leggere il file del registro" + +#: logsrvd/logsrvd_journal.c:270 logsrvd/logsrvd_journal.c:325 +msgid "invalid journal file, unable to restart" +msgstr "file del registro non valido, impossibile riavviare" + +#: logsrvd/logsrvd_local.c:149 +msgid "error parsing AcceptMessage" +msgstr "errore nell'analizzare AcceptMessage" + +#: logsrvd/logsrvd_local.c:156 +msgid "error creating I/O log" +msgstr "errore nel creare il registro I/O" + +#: logsrvd/logsrvd_local.c:164 +msgid "error logging accept event" +msgstr "errore nel registrare l'evento accept" + +#: logsrvd/logsrvd_local.c:196 +msgid "error parsing RejectMessage" +msgstr "errore nell'analizzare RejectMessage" + +#: logsrvd/logsrvd_local.c:202 +msgid "error logging reject event" +msgstr "errore nel registrare l'evento reject" + +#: logsrvd/logsrvd_local.c:276 +msgid "log is already complete, cannot be restarted" +msgstr "il registro è già completo, non può essere riavviato" + +#: logsrvd/logsrvd_local.c:307 +msgid "unable to restart log" +msgstr "impossibile riavviare il registro" + +#: logsrvd/logsrvd_local.c:322 +msgid "error parsing AlertMessage" +msgstr "errore nell'analizzare AlertMessage" + +#: logsrvd/logsrvd_local.c:330 +msgid "error logging alert event" +msgstr "errore nel registrare l'evento alert" + +#: logsrvd/logsrvd_local.c:397 +msgid "error writing IoBuffer" +msgstr "errore nello scrivere IoBuffer" + +#: logsrvd/logsrvd_local.c:434 +msgid "error writing ChangeWindowSize" +msgstr "errore nello scrivere ChangeWindowSize" + +#: logsrvd/logsrvd_local.c:474 +msgid "error writing CommandSuspend" +msgstr "errore nello scrivere CommandSuspend" + +#: logsrvd/logsrvd_relay.c:434 +msgid "TLS handshake with relay host failed" +msgstr "handshake TLS con host di inoltro non riuscito" + +#: logsrvd/logsrvd_relay.c:462 +msgid "unable to connect to relay host" +msgstr "impossibile connettersi all'host di inoltro" + +#: logsrvd/logsrvd_relay.c:519 logsrvd/sendlog.c:951 +#: plugins/sudoers/log_client.c:1466 +msgid "invalid ServerHello" +msgstr "ServerHello non valido" + +#: logsrvd/logsrvd_relay.c:677 +msgid "unrecognized ServerMessage type" +msgstr "tipo di ServerMessage non riconosciuto" + +#: logsrvd/logsrvd_relay.c:709 +msgid "timeout reading from relay" +msgstr "timeout nel leggere dal relay" + +#: logsrvd/logsrvd_relay.c:761 +msgid "relay host name does not match certificate" +msgstr "il nome host del relay non corrisponde al certificato" + +#: logsrvd/logsrvd_relay.c:765 logsrvd/logsrvd_relay.c:786 +#: logsrvd/logsrvd_relay.c:794 +msgid "error reading from relay" +msgstr "errore nel leggere dal relay" + +#: logsrvd/logsrvd_relay.c:817 +msgid "unable to read from relay" +msgstr "impossibile leggere dal relay" + +#: logsrvd/logsrvd_relay.c:831 logsrvd/logsrvd_relay.c:951 +msgid "relay server closed connection" +msgstr "connessione chiusa del server di relay" + +#: logsrvd/logsrvd_relay.c:850 +msgid "server message too large" +msgstr "messaggio server troppo grande" + +#: logsrvd/logsrvd_relay.c:915 +msgid "timeout writing to relay" +msgstr "timeout nello scrivere sul relay" + +#: logsrvd/logsrvd_relay.c:973 logsrvd/logsrvd_relay.c:981 +#: logsrvd/logsrvd_relay.c:993 +msgid "error writing to relay" +msgstr "errore nello scrivere sul relay" + +#: logsrvd/sendlog.c:120 +msgid "send sudo I/O log to remote server" +msgstr "Invia registro I/O di sudo a un server remoto" + +#: logsrvd/sendlog.c:126 +msgid "only send an accept event (no I/O)" +msgstr "Invia solo un evento di accettazione (nessun I/O)" + +#: logsrvd/sendlog.c:129 +msgid "certificate bundle file to verify server's cert against" +msgstr "File bundle di certificati con cui verificare il certificato del server" + +#: logsrvd/sendlog.c:131 +msgid "certificate file for TLS handshake" +msgstr "File certificato per l'handshake TLS" + +#: logsrvd/sendlog.c:134 +msgid "host to send logs to" +msgstr "Host a cui inviare i registri" + +#: logsrvd/sendlog.c:136 +msgid "remote ID of I/O log to be resumed" +msgstr "ID remoto del registro di I/O da riprendere" + +#: logsrvd/sendlog.c:139 +msgid "private key file" +msgstr "File chiave privata" + +#: logsrvd/sendlog.c:141 +msgid "do not verify server certificate" +msgstr "Non verifica il certificato del server" + +#: logsrvd/sendlog.c:144 +msgid "port to use when connecting to host" +msgstr "Porta da utilizzare per la connessione all'host" + +#: logsrvd/sendlog.c:146 +msgid "restart previous I/O log transfer" +msgstr "Riavvia il precedente trasferimento del registro di I/O" + +#: logsrvd/sendlog.c:148 +msgid "reject the command with the given reason" +msgstr "Rifiuta il comando con il motivo indicato" + +#: logsrvd/sendlog.c:150 +msgid "test audit server by sending selected I/O log n times in parallel" +msgstr "Prova il server di controllo inviando il registro di I/O selezionato n-volte in parallelo" + +#: logsrvd/sendlog.c:175 plugins/sudoers/log_client.c:432 +#, c-format +msgid "unable to look up %s:%s: %s" +msgstr "impossibile cercare %s:%s: %s" + +#: logsrvd/sendlog.c:213 +msgid "unable to get server IP addr" +msgstr "impossibile ottenere indirizzo IP del server" + +#: logsrvd/sendlog.c:267 plugins/sudoers/sudoreplay.c:851 +#, c-format +msgid "unable to read %s/%s: %s" +msgstr "impossibile leggere %s/%s: %s" + +#: logsrvd/sendlog.c:288 plugins/sudoers/log_client.c:692 +#, c-format +msgid "client message too large: %zu" +msgstr "messaggio client troppo grande: %zu" + +#: logsrvd/sendlog.c:830 +#, c-format +msgid "%s: write buffer already in use" +msgstr "%s: buffer di scrittura già in uso" + +#: logsrvd/sendlog.c:882 plugins/sudoers/iolog.c:893 +#: plugins/sudoers/iolog.c:962 +#, c-format +msgid "unexpected I/O event %d" +msgstr "evento I/O %d non atteso" + +#: logsrvd/sendlog.c:928 logsrvd/sendlog.c:945 logsrvd/sendlog.c:979 +#: plugins/sudoers/log_client.c:1124 plugins/sudoers/log_client.c:1392 +#: plugins/sudoers/log_client.c:1460 plugins/sudoers/log_client.c:1496 +#, c-format +msgid "%s: unexpected state %d" +msgstr "%s: stato %d non atteso" + +#: logsrvd/sendlog.c:1015 plugins/sudoers/log_client.c:1540 +#, c-format +msgid "error message received from server: %s" +msgstr "messaggio di errore ricevuto dal server: %s" + +#: logsrvd/sendlog.c:1028 plugins/sudoers/log_client.c:1553 +#, c-format +msgid "abort message received from server: %s" +msgstr "messaggio di abort ricevuto dal server: %s" + +#: logsrvd/sendlog.c:1047 plugins/sudoers/log_client.c:1572 +msgid "unable to unpack ServerMessage" +msgstr "impossibile aprire ServerMessage" + +#: logsrvd/sendlog.c:1087 plugins/sudoers/log_client.c:1603 +#, c-format +msgid "%s: unexpected type_case value %d" +msgstr "%s: valore type_case %d non atteso" + +#: logsrvd/sendlog.c:1116 +msgid "timeout reading from server" +msgstr "timeout nel leggere dal server" + +#: logsrvd/sendlog.c:1195 +msgid "premature EOF" +msgstr "EOF prematuro" + +#: logsrvd/sendlog.c:1208 plugins/sudoers/log_client.c:1761 +#, c-format +msgid "server message too large: %u" +msgstr "messaggio server troppo grande: %u" + +#: logsrvd/sendlog.c:1259 +msgid "timeout writing to server" +msgstr "timeout nello scrivere sul server" + +#: logsrvd/sendlog.c:1591 +msgid "both restart point and iolog ID must be specified" +msgstr "devono essere specificati sia il punto di inizio che l'ID di iolog" + +#: logsrvd/sendlog.c:1595 +msgid "a restart point may not be set when no I/O is sent" +msgstr "un punto di partenza non può essere impostato quando non è inviato alcun I/O" + +#: logsrvd/sendlog.c:1671 +#, c-format +msgid "exited prematurely with state %d" +msgstr "uscito inaspettatamente con stato %d" + +#: logsrvd/sendlog.c:1672 +#, c-format +msgid "elapsed time sent to server [%lld, %ld]" +msgstr "tempo trascorso inviato al server [%lld, %ld]" + +#: logsrvd/sendlog.c:1674 +#, c-format +msgid "commit point received from server [%lld, %ld]" +msgstr "punto di commit ricevuto dal server [%lld, %ld]" + +#: logsrvd/tls_client.c:113 plugins/sudoers/log_client.c:296 +msgid "TLS handshake timeout occurred" +msgstr "timeout handshake TLS" + +#: logsrvd/tls_client.c:133 logsrvd/tls_client.c:149 +#: plugins/sudoers/log_client.c:318 plugins/sudoers/log_client.c:334 +msgid "unable to set event" +msgstr "impossibile impostare evento" + +#: logsrvd/tls_client.c:159 logsrvd/tls_client.c:163 +#, c-format +msgid "TLS connection failed: %s" +msgstr "connessione TLS non riuscita: %s" + +#: logsrvd/tls_client.c:197 +#, c-format +msgid "unable to allocate ssl object: %s" +msgstr "impossibile allocare l'oggetto ssl: %s" + +#: logsrvd/tls_client.c:210 +#, c-format +msgid "Unable to attach socket to the ssl object: %s" +msgstr "Impossibile collegare il socket all'oggetto ssl: %s" + +#: logsrvd/tls_client.c:238 +msgid "unable to initialize TLS context" +msgstr "impossibile inizializzare il contesto TLS" + +#: logsrvd/tls_init.c:129 logsrvd/tls_init.c:137 +#, c-format +msgid "unable to set TLS 1.2 ciphersuite to %s: %s" +msgstr "impossibile impostare il cifrario per TLS 1.2 a %s: %s" + +#: logsrvd/tls_init.c:157 logsrvd/tls_init.c:165 +#, c-format +msgid "unable to set TLS 1.3 ciphersuite to %s: %s" +msgstr "impossibile impostare il cifrario per TLS 1.3 a %s: %s" + +#: logsrvd/tls_init.c:200 +#, c-format +msgid "unable to create TLS context: %s" +msgstr "impossibile creare il contesyo TLS: %s" + +#: logsrvd/tls_init.c:206 +#, c-format +msgid "unable to set minimum protocol version to TLS 1.2: %s" +msgstr "impossibile impostare la versione minima del protocollo a TLS 1.2: %s" + +#: logsrvd/tls_init.c:282 +#, c-format +msgid "unable to set diffie-hellman parameters: %s" +msgstr "impossibile impostare i parametri diffie-hellman: %s" + +#: logsrvd/tls_init.c:291 +#, c-format +msgid "unable to read diffie-hellman parameters: %s" +msgstr "impossibile leggere i parametri diffie-hellman: %s" + +#: logsrvd/tls_init.c:296 plugins/sudoers/check.c:274 +#: plugins/sudoers/cvtsudoers.c:618 plugins/sudoers/cvtsudoers.c:639 +#: plugins/sudoers/cvtsudoers.c:1249 plugins/sudoers/cvtsudoers_json.c:872 +#: plugins/sudoers/cvtsudoers_ldif.c:688 plugins/sudoers/sudoers.c:1028 +#: plugins/sudoers/sudoreplay.c:1435 plugins/sudoers/timestamp.c:433 +#: plugins/sudoers/tsdump.c:128 plugins/sudoers/visudo.c:913 +#, c-format +msgid "unable to open %s" +msgstr "impossibile aprire %s" + +#: plugins/sudoers/audit.c:259 plugins/sudoers/audit.c:398 +#: plugins/sudoers/log_client.c:960 plugins/sudoers/log_client.c:1008 +#: plugins/sudoers/log_client.c:1056 plugins/sudoers/log_client.c:1181 +#: plugins/sudoers/logging.c:548 plugins/sudoers/policy.c:120 +msgid "unable to get time of day" +msgstr "impossibile ottenere l'ora" + +#: plugins/sudoers/auth/aix_auth.c:277 +#, c-format +msgid "unable to change password for %s" +msgstr "impossibile modificare la password per %s" + +#: plugins/sudoers/auth/bsdauth.c:70 +#, c-format +msgid "unable to get login class for user %s" +msgstr "impossibile ottenere la classe di login per l'utente %s" + +#: plugins/sudoers/auth/bsdauth.c:75 +msgid "unable to begin bsd authentication" +msgstr "impossibile iniziare l'autenticazione bsd" + +#: plugins/sudoers/auth/bsdauth.c:83 +msgid "invalid authentication type" +msgstr "tipo di autenticazione non valida" + +#: plugins/sudoers/auth/bsdauth.c:92 +msgid "unable to initialize BSD authentication" +msgstr "impossibile iniziare l'autenticazione BSD" + +#: plugins/sudoers/auth/bsdauth.c:179 +msgid "your account has expired" +msgstr "il proprio account è scaduto" + +#: plugins/sudoers/auth/bsdauth.c:181 +msgid "approval failed" +msgstr "approvazione non riuscita" + +#: plugins/sudoers/auth/fwtk.c:54 +msgid "unable to read fwtk config" +msgstr "impossibile leggere la configurazione fwtk" + +#: plugins/sudoers/auth/fwtk.c:59 +msgid "unable to connect to authentication server" +msgstr "impossibile connettersi al server di autenticazione" + +#: plugins/sudoers/auth/fwtk.c:65 plugins/sudoers/auth/fwtk.c:89 +#: plugins/sudoers/auth/fwtk.c:121 +msgid "lost connection to authentication server" +msgstr "connessione al server di autenticazione persa" + +#: plugins/sudoers/auth/fwtk.c:69 +#, c-format +msgid "" +"authentication server error:\n" +"%s" +msgstr "" +"errore del server di autenticazione:\n" +"%s" + +#: plugins/sudoers/auth/kerb5.c:110 +#, c-format +msgid "%s: unable to convert principal to string ('%s'): %s" +msgstr "%s: impossibile convertire il principal in stringa (\"%s\"): %s" + +#: plugins/sudoers/auth/kerb5.c:160 +#, c-format +msgid "%s: unable to parse '%s': %s" +msgstr "%s: impossibile analizzare \"%s\": %s" + +#: plugins/sudoers/auth/kerb5.c:169 +#, c-format +msgid "%s: unable to resolve credential cache: %s" +msgstr "%s: impossibile risolvere la cache delle credenziali: %s" + +#: plugins/sudoers/auth/kerb5.c:216 +#, c-format +msgid "%s: unable to allocate options: %s" +msgstr "%s: impossibile allocare le opzioni: %s" + +#: plugins/sudoers/auth/kerb5.c:231 +#, c-format +msgid "%s: unable to get credentials: %s" +msgstr "%s: impossibile ottenere le credenziali: %s" + +#: plugins/sudoers/auth/kerb5.c:244 +#, c-format +msgid "%s: unable to initialize credential cache: %s" +msgstr "%s: impossibile inizializzare la cache delle credenziali: %s" + +#: plugins/sudoers/auth/kerb5.c:247 +#, c-format +msgid "%s: unable to store credential in cache: %s" +msgstr "%s: impossibile memorizzare le credenziali nella cache: %s" + +#: plugins/sudoers/auth/kerb5.c:311 +#, c-format +msgid "%s: unable to get host principal: %s" +msgstr "%s: impossibile ottenere il principal dell'host: %s" + +#: plugins/sudoers/auth/kerb5.c:325 +#, c-format +msgid "%s: Cannot verify TGT! Possible attack!: %s" +msgstr "%s: impossibile verificare TGT. Possibile attacco in corso: %s" + +#: plugins/sudoers/auth/pam.c:218 +#, c-format +msgid "unable to initialize PAM: %s" +msgstr "impossibile inizializzare PAM: %s" + +#: plugins/sudoers/auth/pam.c:340 +#, c-format +msgid "PAM authentication error: %s" +msgstr "Errore autenticazione PAM: %s" + +#: plugins/sudoers/auth/pam.c:359 +msgid "account validation failure, is your account locked?" +msgstr "validazione dell'account non riuscita: forse è bloccato?" + +#: plugins/sudoers/auth/pam.c:370 +msgid "Account or password is expired, reset your password and try again" +msgstr "Account o password scaduto: reimpostare la password e provare nuovamente" + +#: plugins/sudoers/auth/pam.c:376 +#, c-format +msgid "unable to change expired password: %s" +msgstr "impossibile modificare la password scaduta: %s" + +#: plugins/sudoers/auth/pam.c:387 +msgid "Password expired, contact your system administrator" +msgstr "Password scaduta, contattare l'amministratore di sistema" + +#: plugins/sudoers/auth/pam.c:392 +msgid "Account expired or PAM config lacks an \"account\" section for sudo, contact your system administrator" +msgstr "Account scaduto o alla configurazione PAM manca una sezione \"account\" per sudo: contattare l'amministratore di sistema" + +#: plugins/sudoers/auth/pam.c:400 plugins/sudoers/auth/pam.c:405 +#, c-format +msgid "PAM account management error: %s" +msgstr "Errore gestione account PAM: %s" + +#: plugins/sudoers/auth/rfc1938.c:99 plugins/sudoers/visudo.c:241 +#, c-format +msgid "you do not exist in the %s database" +msgstr "l'utente attuale non esiste nel database %s" + +#: plugins/sudoers/auth/securid5.c:72 +msgid "failed to initialise the ACE API library" +msgstr "inizializzazione della libreria API ACE non riuscita" + +#: plugins/sudoers/auth/securid5.c:98 +msgid "unable to contact the SecurID server" +msgstr "impossibile contattare il server SecurID" + +#: plugins/sudoers/auth/securid5.c:107 +msgid "User ID locked for SecurID Authentication" +msgstr "ID utente bloccato per l'autenticazione SecurID" + +#: plugins/sudoers/auth/securid5.c:111 plugins/sudoers/auth/securid5.c:162 +msgid "invalid username length for SecurID" +msgstr "lunghezza del nome utente per SecurID non valida" + +#: plugins/sudoers/auth/securid5.c:115 plugins/sudoers/auth/securid5.c:167 +msgid "invalid Authentication Handle for SecurID" +msgstr "gestore di autenticazione per SecurID non valido" + +#: plugins/sudoers/auth/securid5.c:119 +msgid "SecurID communication failed" +msgstr "Comunicazione SecurID non riuscita" + +#: plugins/sudoers/auth/securid5.c:123 plugins/sudoers/auth/securid5.c:210 +msgid "unknown SecurID error" +msgstr "errore sconosciuto di SecurID" + +#: plugins/sudoers/auth/securid5.c:157 +msgid "invalid passcode length for SecurID" +msgstr "lunghezza del passcode per SecurID errata" + +#: plugins/sudoers/auth/sia.c:69 plugins/sudoers/auth/sia.c:123 +msgid "unable to initialize SIA session" +msgstr "impossibile inizializzare la sessione SIA" + +#: plugins/sudoers/auth/sudo_auth.c:132 +msgid "invalid authentication methods" +msgstr "metodi di autenticazione non validi" + +#: plugins/sudoers/auth/sudo_auth.c:134 +msgid "Invalid authentication methods compiled into sudo! You may not mix standalone and non-standalone authentication." +msgstr "Metodi di autenticazione non validi compilati all'interno di sudo. Non è possibile usare assieme autenticazione standalone e non-standalone." + +#: plugins/sudoers/auth/sudo_auth.c:255 plugins/sudoers/auth/sudo_auth.c:305 +msgid "no authentication methods" +msgstr "nessun metodo di autenticazione" + +#: plugins/sudoers/auth/sudo_auth.c:257 +msgid "There are no authentication methods compiled into sudo! If you want to turn off authentication, use the --disable-authentication configure option." +msgstr "Non ci sono metodi di autenticazione compilati all'interno di sudo. Per disabilitare l'autenticazione, usare l'opzione di configurazione --disable-authentication." + +#: plugins/sudoers/auth/sudo_auth.c:307 +msgid "Unable to initialize authentication methods." +msgstr "Impossibile inizializzare i metodi di autenticazione." + +#: plugins/sudoers/auth/sudo_auth.c:471 +msgid "Authentication methods:" +msgstr "Metodi di autenticazione:" + +#: plugins/sudoers/bsm_audit.c:123 plugins/sudoers/bsm_audit.c:214 +msgid "Could not determine audit condition" +msgstr "Impossibile determinare la condizione di audit" + +#: plugins/sudoers/bsm_audit.c:188 plugins/sudoers/bsm_audit.c:277 +msgid "unable to commit audit record" +msgstr "impossibile inviare il record di audit" + +#: plugins/sudoers/check.c:264 +#, c-format +msgid "error reading lecture file %s" +msgstr "errore nel leggere il file di lezione %s" + +#: plugins/sudoers/check.c:270 +#, c-format +msgid "ignoring lecture file %s: not a regular file" +msgstr "il file di lezione %s viene ignorato: non è un file regolare" + +#: plugins/sudoers/check.c:283 +msgid "" +"\n" +"We trust you have received the usual lecture from the local System\n" +"Administrator. It usually boils down to these three things:\n" +"\n" +" #1) Respect the privacy of others.\n" +" #2) Think before you type.\n" +" #3) With great power comes great responsibility.\n" +"\n" +msgstr "" +"\n" +"Questa lezione dovrebbe essere stata impartita dall'amministratore\n" +"di sistema locale. Solitamente equivale a:\n" +"\n" +" #1) Rispettare la privacy degli altri\n" +" #2) Pensare prima di digitare\n" +" #3) Da grandi poteri derivano grandi responsabilità\n" +"\n" + +#: plugins/sudoers/check.c:325 plugins/sudoers/check.c:335 +#: plugins/sudoers/sudoers.c:830 plugins/sudoers/sudoers.c:851 +#: plugins/sudoers/tsdump.c:119 +#, c-format +msgid "unknown uid: %u" +msgstr "uid sconosciuto: %u" + +#: plugins/sudoers/check.c:330 plugins/sudoers/exptilde.c:85 +#: plugins/sudoers/iolog.c:118 plugins/sudoers/policy.c:1123 +#: plugins/sudoers/sudoers.c:432 plugins/sudoers/sudoers.c:1283 +#: plugins/sudoers/testsudoers.c:215 plugins/sudoers/testsudoers.c:382 +#, c-format +msgid "unknown user: %s" +msgstr "utente sconosciuto: %s" + +#: plugins/sudoers/check_aliases.c:56 +#, c-format +msgid "Error: %s:%d:%d: cycle in %s \"%s\"" +msgstr "Errore: %s:%d:%d: ciclo in %s \"%s\"" + +#: plugins/sudoers/check_aliases.c:57 +#, c-format +msgid "Warning: %s:%d:%d: cycle in %s \"%s\"" +msgstr "Attenzione: %s:%d:%d: ciclo in %s \"%s\"" + +#: plugins/sudoers/check_aliases.c:61 +#, c-format +msgid "Error: %s:%d:%d: %s \"%s\" referenced but not defined" +msgstr "Errore: %1$s:%2$d:%3$d: riferimento a \"%5$s\" %4$s, ma non definito" + +#: plugins/sudoers/check_aliases.c:62 +#, c-format +msgid "Warning: %s:%d:%d: %s \"%s\" referenced but not defined" +msgstr "Attenzione: %1$s:%2$d:%3$d: riferimento a \"%5$s\" %4$s, ma non definito" + +#: plugins/sudoers/cvtsudoers.c:194 +#, c-format +msgid "order increment: %s: %s" +msgstr "ordine di incremento: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:210 +#, c-format +msgid "starting order: %s: %s" +msgstr "ordine di partenza: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:220 +#, c-format +msgid "order padding: %s: %s" +msgstr "ordine di riempimento: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:230 plugins/sudoers/visudo.c:177 +#, c-format +msgid "%s grammar version %d\n" +msgstr "%s versione grammaticale %d\n" + +#: plugins/sudoers/cvtsudoers.c:247 plugins/sudoers/testsudoers.c:159 +#, c-format +msgid "unsupported input format %s" +msgstr "formato di input %s non supportato" + +#: plugins/sudoers/cvtsudoers.c:262 +#, c-format +msgid "unsupported output format %s" +msgstr "formato di output %s non supportato" + +#: plugins/sudoers/cvtsudoers.c:314 +#, c-format +msgid "%s: input and output files must be different" +msgstr "%s: i file di input e output devono essere diversi" + +#: plugins/sudoers/cvtsudoers.c:330 plugins/sudoers/sudoers.c:177 +#: plugins/sudoers/testsudoers.c:254 plugins/sudoers/visudo.c:247 +#: plugins/sudoers/visudo.c:597 plugins/sudoers/visudo.c:917 +msgid "unable to initialize sudoers default values" +msgstr "impossibile inizializzare i valori predefiniti di sudoers" + +#: plugins/sudoers/cvtsudoers.c:416 plugins/sudoers/ldap_conf.c:431 +#, c-format +msgid "%s: %s: %s: %s" +msgstr "%s: %s: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:475 +#, c-format +msgid "%s: unknown key word: %s" +msgstr "%s: chiave sconosciuta: %s" + +#: plugins/sudoers/cvtsudoers.c:521 +#, c-format +msgid "invalid defaults type: %s" +msgstr "tipo di defaults non valido: %s" + +#: plugins/sudoers/cvtsudoers.c:544 +#, c-format +msgid "invalid suppression type: %s" +msgstr "tipo di occultamento non valido: %s" + +#: plugins/sudoers/cvtsudoers.c:584 plugins/sudoers/cvtsudoers.c:598 +#, c-format +msgid "invalid filter: %s" +msgstr "filtro non valido: %s" + +#: plugins/sudoers/cvtsudoers.c:642 plugins/sudoers/visudo.c:922 +#, c-format +msgid "failed to parse %s file, unknown error" +msgstr "analisi del file %s non riuscita, errore sconosciuto" + +#: plugins/sudoers/cvtsudoers.c:650 +#, c-format +msgid "parse error in %s near line %d\n" +msgstr "errore di analisi in %s vicino alla riga %d\n" + +#: plugins/sudoers/cvtsudoers.c:653 +#, c-format +msgid "parse error in %s\n" +msgstr "errore di analisi in %s\n" + +#: plugins/sudoers/cvtsudoers.c:1296 plugins/sudoers/sudoreplay.c:1124 +#: plugins/sudoers/timestamp.c:317 plugins/sudoers/timestamp.c:320 +#, c-format +msgid "unable to write to %s" +msgstr "impossibile scrivere su %s" + +#: plugins/sudoers/cvtsudoers.c:1319 +#, c-format +msgid "" +"%s - convert between sudoers file formats\n" +"\n" +msgstr "" +"%s - Converte tra formati del file sudoers\n" +"\n" +"\n" + +#: plugins/sudoers/cvtsudoers.c:1321 +msgid "" +"\n" +"Options:\n" +" -b, --base=dn the base DN for sudo LDAP queries\n" +" -c, --config=conf_file the path to the configuration file\n" +" -d, --defaults=deftypes only convert Defaults of the specified types\n" +" -e, --expand-aliases expand aliases when converting\n" +" -f, --output-format=format set output format: JSON, LDIF or sudoers\n" +" -i, --input-format=format set input format: LDIF or sudoers\n" +" -I, --increment=num amount to increase each sudoOrder by\n" +" -h, --help display help message and exit\n" +" -m, --match=filter only convert entries that match the filter\n" +" -M, --match-local match filter uses passwd and group databases\n" +" -o, --output=output_file write converted sudoers to output_file\n" +" -O, --order-start=num starting point for first sudoOrder\n" +" -p, --prune-matches prune non-matching users, groups and hosts\n" +" -P, --padding=num base padding for sudoOrder increment\n" +" -s, --suppress=sections suppress output of certain sections\n" +" -V, --version display version information and exit" +msgstr "" +"\n" +"Opzioni:\n" +" -b, --base=dn Il DN base per le ricerche LDAP\n" +" -c, --config=FILE_CONF Il percorso al file di configurazione\n" +" -d, --defaults=TIPIDEF Converte Defaults solo dei tipi indicati\n" +" -e, --expand-aliases Espande gli alias nella conversione\n" +" -f, --output-format=FORMATO Imposta il formato di output: JSON, LDIF o sudoers\n" +" -i, --input-format=FORMATO Imposta il formato di input: LDIF o sudoers\n" +" -I, --increment=num Di quanto incrementare il valore sudoOrder\n" +" -h, --help Mostra il messaggio di aiuto ed esce\n" +" -m, --match=FILTRO Converte le voci che corrispondo al filtro\n" +" -M, --match-local Il filtro usa i dati da passwd e group\n" +" -o, --output=file_output Scrive il file convertito su file_output\n" +" -O, --order-start=num Punto di partenza del primo sudoOrder\n" +" -p, --prune-matches Elimina utenti, gruppi e host che non corrispondono\n" +" -P, --padding=num Riempimento base per incrementi di sudoOrder\n" +" -s, --suppress=SEZIONI Disabilita l'output per alcune sezioni\n" +" -V, --version Visualizza la versione ed esce" + +#: plugins/sudoers/cvtsudoers_json.c:480 plugins/sudoers/cvtsudoers_json.c:514 +#: plugins/sudoers/cvtsudoers_json.c:713 +#, c-format +msgid "unknown defaults entry \"%s\"" +msgstr "voce Defaults \"%s\" sconosciuta" + +#: plugins/sudoers/cvtsudoers_json.c:651 plugins/sudoers/cvtsudoers_json.c:664 +#: plugins/sudoers/cvtsudoers_ldif.c:346 plugins/sudoers/cvtsudoers_ldif.c:357 +#: plugins/sudoers/ldap.c:503 +msgid "unable to get GMT time" +msgstr "impossibile ottenere l'ora GMT" + +#: plugins/sudoers/cvtsudoers_json.c:654 plugins/sudoers/cvtsudoers_json.c:667 +#: plugins/sudoers/cvtsudoers_ldif.c:349 plugins/sudoers/cvtsudoers_ldif.c:360 +#: plugins/sudoers/ldap.c:509 +msgid "unable to format timestamp" +msgstr "impossibile formattare la marcatura temporale" + +#: plugins/sudoers/cvtsudoers_ldif.c:640 +#, c-format +msgid "too many sudoers entries, maximum %u" +msgstr "troppe voci sudoers, massimo %u" + +#: plugins/sudoers/cvtsudoers_ldif.c:683 +msgid "the SUDOERS_BASE environment variable is not set and the -b option was not specified." +msgstr "la variabile d'ambiente SUDOERS_BASE non è impostata e non è stata specificata l'opzione -b." + +#: plugins/sudoers/def_data.c:50 +#, c-format +msgid "Syslog facility if syslog is being used for logging: %s" +msgstr "Infrastruttura syslog se syslog viene utilizzato per le registrazioni: %s" + +#: plugins/sudoers/def_data.c:54 +#, c-format +msgid "Syslog priority to use when user authenticates successfully: %s" +msgstr "Priorità di syslog se l'utente si identifica con successo: %s" + +#: plugins/sudoers/def_data.c:58 +#, c-format +msgid "Syslog priority to use when user authenticates unsuccessfully: %s" +msgstr "Priorità di syslog se l'utente non si identifica con successo: %s" + +#: plugins/sudoers/def_data.c:62 +msgid "Put OTP prompt on its own line" +msgstr "Mette il prompt OTP su una riga a parte" + +#: plugins/sudoers/def_data.c:66 +msgid "Ignore '.' in $PATH" +msgstr "Ignora \".\" in $PATH" + +#: plugins/sudoers/def_data.c:70 +msgid "Always send mail when sudo is run" +msgstr "Invia sempre una email quando viene eseguito sudo" + +#: plugins/sudoers/def_data.c:74 +msgid "Send mail if user authentication fails" +msgstr "Invia una email se l'autenticazione utente non riesce" + +#: plugins/sudoers/def_data.c:78 +msgid "Send mail if the user is not in sudoers" +msgstr "Invia una email se l'utente non è tra i sudoers" + +#: plugins/sudoers/def_data.c:82 +msgid "Send mail if the user is not in sudoers for this host" +msgstr "Invia una email se l'utente non è tra i sudoers per questo host" + +#: plugins/sudoers/def_data.c:86 +msgid "Send mail if the user is not allowed to run a command" +msgstr "Invia una email se l'utente non è abilitato a eseguire un comando" + +#: plugins/sudoers/def_data.c:90 +msgid "Send mail if the user tries to run a command" +msgstr "Invia una email se l'utente tenta di eseguire un comando" + +#: plugins/sudoers/def_data.c:94 +msgid "Use a separate timestamp for each user/tty combo" +msgstr "Usa una marcatura temporale diversa per ogni combinazione utente/tty" + +#: plugins/sudoers/def_data.c:98 +msgid "Lecture user the first time they run sudo" +msgstr "Aiuta gli utenti alla prima esecuzione di sudo" + +#: plugins/sudoers/def_data.c:102 +#, c-format +msgid "File containing the sudo lecture: %s" +msgstr "File contenente la lezione su sudo: %s" + +#: plugins/sudoers/def_data.c:106 +msgid "Require users to authenticate by default" +msgstr "Richiede in modo predefinito l'autenticazione degli utenti" + +#: plugins/sudoers/def_data.c:110 +msgid "Root may run sudo" +msgstr "Root può eseguire sudo" + +#: plugins/sudoers/def_data.c:114 +msgid "Log the hostname in the (non-syslog) log file" +msgstr "Registra il nome host nel file di registro (non-syslog)" + +#: plugins/sudoers/def_data.c:118 +msgid "Log the year in the (non-syslog) log file" +msgstr "Registra l'anno nel file di registro (non-syslog)" + +#: plugins/sudoers/def_data.c:122 +msgid "If sudo is invoked with no arguments, start a shell" +msgstr "Se sudo viene lanciato senza alcun argomento, avvia una shell" + +#: plugins/sudoers/def_data.c:126 +msgid "Set $HOME to the target user when starting a shell with -s" +msgstr "Imposta $HOME all'utente definito quando viene avviata una shell con -s" + +#: plugins/sudoers/def_data.c:130 +msgid "Always set $HOME to the target user's home directory" +msgstr "Imposta sempre $HOME alla directory home dell'utente definito" + +#: plugins/sudoers/def_data.c:134 +msgid "Allow some information gathering to give useful error messages" +msgstr "Consente la raccolta di alcune informazioni per dare messaggi di errore utili" + +#: plugins/sudoers/def_data.c:138 +msgid "Require fully-qualified hostnames in the sudoers file" +msgstr "Richiede nomi host completi nel file sudoers" + +#: plugins/sudoers/def_data.c:142 +msgid "Insult the user when they enter an incorrect password" +msgstr "Apostrofa l'utente quando inserisce una password errata" + +#: plugins/sudoers/def_data.c:146 +msgid "Only allow the user to run sudo if they have a tty" +msgstr "Consente all'utente di seguire sudo solo se dispone di un tty" + +#: plugins/sudoers/def_data.c:150 +msgid "Visudo will honor the EDITOR environment variable" +msgstr "visudo utilizzerà il valore definito nella variabile EDITOR" + +#: plugins/sudoers/def_data.c:154 +msgid "Prompt for root's password, not the users's" +msgstr "Chiede la password di root, non quella dell'utente" + +#: plugins/sudoers/def_data.c:158 +msgid "Prompt for the runas_default user's password, not the users's" +msgstr "Chiede la password dell'utente runas_default, non quella dell'utente" + +#: plugins/sudoers/def_data.c:162 +msgid "Prompt for the target user's password, not the users's" +msgstr "Chiede la password dell'utente definito, non quella dell'invocante" + +#: plugins/sudoers/def_data.c:166 +msgid "Apply defaults in the target user's login class if there is one" +msgstr "Applica i Defaults nella classe di login dell'utente definito, se presente" + +#: plugins/sudoers/def_data.c:170 +msgid "Set the LOGNAME and USER environment variables" +msgstr "Imposta le variabili d'ambiente LOGNAME e USER" + +#: plugins/sudoers/def_data.c:174 +msgid "Only set the effective uid to the target user, not the real uid" +msgstr "Imposta lo uid effettivo all'utente definito, non lo uid reale" + +#: plugins/sudoers/def_data.c:178 +msgid "Don't initialize the group vector to that of the target user" +msgstr "Non inizializza il vettore di gruppo con quello dell'utente definito" + +#: plugins/sudoers/def_data.c:182 +#, c-format +msgid "Length at which to wrap log file lines (0 for no wrap): %u" +msgstr "Lunghezza a cui andare a capo nei file di registro (0 per non andare a capo): %u" + +#: plugins/sudoers/def_data.c:186 +#, c-format +msgid "Authentication timestamp timeout: %.1f minutes" +msgstr "Timeout marcatura temporale di autenticazione: %.1f minuti" + +#: plugins/sudoers/def_data.c:190 +#, c-format +msgid "Password prompt timeout: %.1f minutes" +msgstr "Timeout per inserimento password: %.1f minuti" + +#: plugins/sudoers/def_data.c:194 +#, c-format +msgid "Number of tries to enter a password: %u" +msgstr "Numero di tentativi per l'inserimento della password: %u" + +#: plugins/sudoers/def_data.c:198 +#, c-format +msgid "Umask to use or 0777 to use user's: 0%o" +msgstr "umask da utilizzare o 0777 per utilizzare quella dell'utente: 0%o" + +#: plugins/sudoers/def_data.c:202 +#, c-format +msgid "Path to log file: %s" +msgstr "Percorso al file di registro: %s" + +#: plugins/sudoers/def_data.c:206 +#, c-format +msgid "Path to mail program: %s" +msgstr "Percorso al programma email: %s" + +#: plugins/sudoers/def_data.c:210 +#, c-format +msgid "Flags for mail program: %s" +msgstr "Flag per il programma email: %s" + +#: plugins/sudoers/def_data.c:214 +#, c-format +msgid "Address to send mail to: %s" +msgstr "Indirizzo a cui mandare l'email: %s" + +#: plugins/sudoers/def_data.c:218 +#, c-format +msgid "Address to send mail from: %s" +msgstr "Indirizzo da cui mandare l'email: %s" + +#: plugins/sudoers/def_data.c:222 +#, c-format +msgid "Subject line for mail messages: %s" +msgstr "Oggetto dell'email: %s" + +#: plugins/sudoers/def_data.c:226 +#, c-format +msgid "Incorrect password message: %s" +msgstr "Messaggio password errata: %s" + +#: plugins/sudoers/def_data.c:230 +#, c-format +msgid "Path to lecture status dir: %s" +msgstr "Percorso directory di stato della lezione: %s" + +#: plugins/sudoers/def_data.c:234 +#, c-format +msgid "Path to authentication timestamp dir: %s" +msgstr "Percorso directory con la marcatura temporale di autenticazione: %s" + +#: plugins/sudoers/def_data.c:238 +#, c-format +msgid "Owner of the authentication timestamp dir: %s" +msgstr "Proprietario directory con la marcatura temporale di autenticazione: %s" + +#: plugins/sudoers/def_data.c:242 +#, c-format +msgid "Users in this group are exempt from password and PATH requirements: %s" +msgstr "Agli utenti di questo gruppo non sono richiesti password e PATH: %s" + +#: plugins/sudoers/def_data.c:246 +#, c-format +msgid "Default password prompt: %s" +msgstr "Prompt predefinito per la password: %s" + +#: plugins/sudoers/def_data.c:250 +msgid "If set, passprompt will override system prompt in all cases." +msgstr "Se impostato, passprompt scavalcherà sempre il prompt di sistema." + +#: plugins/sudoers/def_data.c:254 +#, c-format +msgid "Default user to run commands as: %s" +msgstr "Utente predefinito con cui eseguire i comandi: %s" + +#: plugins/sudoers/def_data.c:258 +#, c-format +msgid "Value to override user's $PATH with: %s" +msgstr "Valore con cui sovrascrivere la variabile $PATH dell'utente: %s" + +#: plugins/sudoers/def_data.c:262 +#, c-format +msgid "Path to the editor for use by visudo: %s" +msgstr "Percorso all'editor per visudo: %s" + +#: plugins/sudoers/def_data.c:266 +#, c-format +msgid "When to require a password for 'list' pseudocommand: %s" +msgstr "Quando richiedere una password per il pseudo-comando \"list\": %s" + +#: plugins/sudoers/def_data.c:270 +#, c-format +msgid "When to require a password for 'verify' pseudocommand: %s" +msgstr "Quando richiedere una password per il pseudo-comando \"verify\": %s" + +#: plugins/sudoers/def_data.c:274 +msgid "Preload the sudo_noexec library which replaces the exec functions" +msgstr "Carica la libreria sudo_noexec che sostituisce le funzioni exec" + +#: plugins/sudoers/def_data.c:278 +msgid "If LDAP directory is up, do we ignore local sudoers file" +msgstr "Se LDAP è funzionante, viene ignorato il file sudoers locale" + +#: plugins/sudoers/def_data.c:282 +#, c-format +msgid "File descriptors >= %d will be closed before executing a command" +msgstr "I descrittori di file >= %d verranno chiusi prima dell'esecuzione di un comando" + +#: plugins/sudoers/def_data.c:286 +msgid "If set, users may override the value of \"closefrom\" with the -C option" +msgstr "Se impostata, gli utenti possono sovrascrivere il valore di \"closefrom\" con l'opzione -C" + +#: plugins/sudoers/def_data.c:290 +msgid "Allow users to set arbitrary environment variables" +msgstr "Consente agli utenti di impostare variabili d'ambiente" + +#: plugins/sudoers/def_data.c:294 +msgid "Reset the environment to a default set of variables" +msgstr "Reimposta l'ambiente con le variabili predefinite" + +#: plugins/sudoers/def_data.c:298 +msgid "Environment variables to check for safety:" +msgstr "Variabile d'ambienti da verificare per la sicurezza:" + +#: plugins/sudoers/def_data.c:302 +msgid "Environment variables to remove:" +msgstr "Variabili d'ambiente da rimuovere:" + +#: plugins/sudoers/def_data.c:306 +msgid "Environment variables to preserve:" +msgstr "Variabili d'ambiente da preservare:" + +#: plugins/sudoers/def_data.c:310 +#, c-format +msgid "SELinux role to use in the new security context: %s" +msgstr "Ruolo SELinux da usare nel nuovo contesto di sicurezza: %s" + +#: plugins/sudoers/def_data.c:314 +#, c-format +msgid "SELinux type to use in the new security context: %s" +msgstr "Tipologia di SELinux da usare nel nuovo contesto di sicurezza: %s" + +#: plugins/sudoers/def_data.c:318 +#, c-format +msgid "Path to the sudo-specific environment file: %s" +msgstr "Percorso al file d'ambiente specifico di sudo: %s" + +#: plugins/sudoers/def_data.c:322 +#, c-format +msgid "Path to the restricted sudo-specific environment file: %s" +msgstr "Percorso al file d'ambiente riservato specifico di sudo: %s" + +#: plugins/sudoers/def_data.c:326 +#, c-format +msgid "Locale to use while parsing sudoers: %s" +msgstr "Localizzazione da usare durante l'analisi del file sudoers: %s" + +#: plugins/sudoers/def_data.c:330 +msgid "Allow sudo to prompt for a password even if it would be visible" +msgstr "Abilita sudo a chiedere una password anche se sarebbe visibile" + +#: plugins/sudoers/def_data.c:334 +msgid "Provide visual feedback at the password prompt when there is user input" +msgstr "Fornisce riscontro visibile al prompt della password nel caso di input utente" + +#: plugins/sudoers/def_data.c:338 +msgid "Use faster globbing that is less accurate but does not access the filesystem" +msgstr "Usa glob più veloce e meno preciso, ma non accede al file system" + +#: plugins/sudoers/def_data.c:342 +msgid "The umask specified in sudoers will override the user's, even if it is more permissive" +msgstr "La umask definita in sudoers scavalca quella dell'utente, anche se è più permissiva" + +#: plugins/sudoers/def_data.c:346 +msgid "Log user's input for the command being run" +msgstr "Registra l'input dell'utente per il comando in esecuzione" + +#: plugins/sudoers/def_data.c:350 +msgid "Log the output of the command being run" +msgstr "Registra l'output del comando in esecuzione" + +#: plugins/sudoers/def_data.c:354 +msgid "Compress I/O logs using zlib" +msgstr "Comprime i registri utilizzando zlib" + +#: plugins/sudoers/def_data.c:358 +msgid "Always run commands in a pseudo-tty" +msgstr "Esegue sempre i comandi in uno pseudo-tty" + +#: plugins/sudoers/def_data.c:362 +#, c-format +msgid "Plugin for non-Unix group support: %s" +msgstr "Plugin per supporto ai gruppi non-Unix: %s" + +#: plugins/sudoers/def_data.c:366 +#, c-format +msgid "Directory in which to store input/output logs: %s" +msgstr "Directory in cui salvare i registri di I/O: %s" + +#: plugins/sudoers/def_data.c:370 +#, c-format +msgid "File in which to store the input/output log: %s" +msgstr "File in cui salvare il registro I/O: %s" + +#: plugins/sudoers/def_data.c:374 +msgid "Add an entry to the utmp/utmpx file when allocating a pty" +msgstr "Aggiunge una voce al file utmp/utmpx quando viene allocato un pty" + +#: plugins/sudoers/def_data.c:378 +msgid "Set the user in utmp to the runas user, not the invoking user" +msgstr "Imposta l'utente in utmp all'utente runas, non l'utente invocante" + +#: plugins/sudoers/def_data.c:382 +#, c-format +msgid "Set of permitted privileges: %s" +msgstr "Insieme di privilegi concessi: %s" + +#: plugins/sudoers/def_data.c:386 +#, c-format +msgid "Set of limit privileges: %s" +msgstr "Insieme di privilegi non concessi: %s" + +#: plugins/sudoers/def_data.c:390 +msgid "Run commands on a pty in the background" +msgstr "Esegue i comandi in un pty in background" + +#: plugins/sudoers/def_data.c:394 +#, c-format +msgid "PAM service name to use: %s" +msgstr "Nome del servizio PAM da usare: %s" + +#: plugins/sudoers/def_data.c:398 +#, c-format +msgid "PAM service name to use for login shells: %s" +msgstr "Nome del servizio PAM da usare per le shell di login: %s" + +#: plugins/sudoers/def_data.c:402 +msgid "Attempt to establish PAM credentials for the target user" +msgstr "Tentativo di stabilire le credenziali PAM per l'utente finale" + +#: plugins/sudoers/def_data.c:406 +msgid "Create a new PAM session for the command to run in" +msgstr "Crea una nuova sessione PAM in cui eseguire il comando" + +#: plugins/sudoers/def_data.c:410 +msgid "Perform PAM account validation management" +msgstr "Esegue la gestione della convalida dell'account PAM" + +#: plugins/sudoers/def_data.c:414 +#, c-format +msgid "Maximum I/O log sequence number: %s" +msgstr "Numero massimo di sequenze I/O di registro: %s" + +#: plugins/sudoers/def_data.c:418 +msgid "Enable sudoers netgroup support" +msgstr "Abilita support netgroup in sudoers" + +#: plugins/sudoers/def_data.c:422 +msgid "Check parent directories for writability when editing files with sudoedit" +msgstr "Controlla le directory superiori per accesso in scrittura durante le modifiche con sudoedit" + +#: plugins/sudoers/def_data.c:426 +msgid "Follow symbolic links when editing files with sudoedit" +msgstr "Segue i collegamenti simbolici durante le modifiche con sudoedit" + +#: plugins/sudoers/def_data.c:430 +msgid "Query the group plugin for unknown system groups" +msgstr "Interroga il plugin dei gruppi per gruppi di sistema sconosciuti" + +#: plugins/sudoers/def_data.c:434 +msgid "Match netgroups based on the entire tuple: user, host and domain" +msgstr "Corrispondenza gruppi di rete con tutti i valori: utente, host e dominio" + +#: plugins/sudoers/def_data.c:438 +msgid "Allow commands to be run even if sudo cannot write to the audit log" +msgstr "Consente di eseguire i comandi anche se sudo non può scrivere sul registro di controllo" + +#: plugins/sudoers/def_data.c:442 +msgid "Allow commands to be run even if sudo cannot write to the I/O log" +msgstr "Consente di eseguire i comandi anche se sudo non può scrivere sul registro di I/O" + +#: plugins/sudoers/def_data.c:446 +msgid "Allow commands to be run even if sudo cannot write to the log file" +msgstr "Consente di eseguire i comandi anche se sudo non può scrivere sul file di registro" + +#: plugins/sudoers/def_data.c:450 +msgid "Resolve groups in sudoers and match on the group ID, not the name" +msgstr "Gestisce i gruppi attraverso sudoers ed esegue la corrispondenza sull'ID del gruppo, non sul nome" + +#: plugins/sudoers/def_data.c:454 +#, c-format +msgid "Log entries larger than this value will be split into multiple syslog messages: %u" +msgstr "Voci di registro più grandi di questo valore vengono divise su più messaggi: %u" + +#: plugins/sudoers/def_data.c:458 +#, c-format +msgid "User that will own the I/O log files: %s" +msgstr "Utente proprietario dei file di registro di I/O: %s" + +#: plugins/sudoers/def_data.c:462 +#, c-format +msgid "Group that will own the I/O log files: %s" +msgstr "Gruppo proprietario dei file di registro di I/O: %s" + +#: plugins/sudoers/def_data.c:466 +#, c-format +msgid "File mode to use for the I/O log files: 0%o" +msgstr "Modalità dei file di registro di I/O: 0%o" + +#: plugins/sudoers/def_data.c:470 +#, c-format +msgid "Execute commands by file descriptor instead of by path: %s" +msgstr "Esegue comandi in base al descrittore del file e non sul percorso: %s" + +#: plugins/sudoers/def_data.c:474 +msgid "Ignore unknown Defaults entries in sudoers instead of producing a warning" +msgstr "Ignora le voci Defaults sconosciute nel file sudoers invece di inviare un avviso" + +#: plugins/sudoers/def_data.c:478 +#, c-format +msgid "Time in seconds after which the command will be terminated: %u" +msgstr "Tempo in secondi dopo il quale il comando viene terminato: %u" + +#: plugins/sudoers/def_data.c:482 +msgid "Allow the user to specify a timeout on the command line" +msgstr "Consente all'utente di specificare un timeout attraverso la riga di comando" + +#: plugins/sudoers/def_data.c:486 +msgid "Flush I/O log data to disk immediately instead of buffering it" +msgstr "Scrive immediatamente i dati I/O del registro sul disco invece di tenerli in memoria" + +#: plugins/sudoers/def_data.c:490 +msgid "Include the process ID when logging via syslog" +msgstr "Include l'ID del processo quando viene usato syslog" + +#: plugins/sudoers/def_data.c:494 +#, c-format +msgid "Type of authentication timestamp record: %s" +msgstr "Tipo di marcatura temporale di autenticazione: %s" + +#: plugins/sudoers/def_data.c:498 +#, c-format +msgid "Authentication failure message: %s" +msgstr "Messaggio di autenticazione non riuscita: %s" + +#: plugins/sudoers/def_data.c:502 +msgid "Ignore case when matching user names" +msgstr "Ignora maiuscole/minuscole nella corrispondenza coi nomi utente" + +#: plugins/sudoers/def_data.c:506 +msgid "Ignore case when matching group names" +msgstr "Ignora maiuscole/minuscole nella corrispondenza coi gruppi" + +#: plugins/sudoers/def_data.c:510 +msgid "Log when a command is allowed by sudoers" +msgstr "Registra quando un comando è consentito da sudoers" + +#: plugins/sudoers/def_data.c:514 +msgid "Log when a command is denied by sudoers" +msgstr "Registra quando un comando viene negato da sudoers" + +#: plugins/sudoers/def_data.c:518 +msgid "Sudo log server(s) to connect to with optional port" +msgstr "Server di registro per sudo a cui connettersi, con la porta opzionale" + +#: plugins/sudoers/def_data.c:522 +#, c-format +msgid "Sudo log server timeout in seconds: %u" +msgstr "Timeout server di registro per sudo, in secondi: %u" + +#: plugins/sudoers/def_data.c:526 +msgid "Enable SO_KEEPALIVE socket option on the socket connected to the logserver" +msgstr "Abilita l'opzione SO_KEEPALIVE sul socket connesso al server di registro" + +#: plugins/sudoers/def_data.c:530 +#, c-format +msgid "Path to the audit server's CA bundle file: %s" +msgstr "Percorso al file bundle CA del server di audit: %s" + +#: plugins/sudoers/def_data.c:534 +#, c-format +msgid "Path to the sudoers certificate file: %s" +msgstr "Percorso al file certificato di sudoers: %s" + +#: plugins/sudoers/def_data.c:538 +#, c-format +msgid "Path to the sudoers private key file: %s" +msgstr "Percorso al file chiave privata di sudoers: %s" + +#: plugins/sudoers/def_data.c:542 +msgid "Verify that the log server's certificate is valid" +msgstr "Verifica che il certificato del server di registro è valido" + +#: plugins/sudoers/def_data.c:546 +msgid "Allow the use of unknown runas user and/or group ID" +msgstr "Consente l'uso di ID utente o gruppo sconosciuto per runas" + +#: plugins/sudoers/def_data.c:550 +msgid "Only permit running commands as a user with a valid shell" +msgstr "Consente di eseguire i comandi a un utente con una shell valida" + +#: plugins/sudoers/def_data.c:554 +msgid "Set the pam remote user to the user running sudo" +msgstr "Imposta l'utente remoto pam all'utente che esegue sudo" + +#: plugins/sudoers/def_data.c:558 +msgid "Set the pam remote host to the local host name" +msgstr "Imposta l'host remoto pam al nome host locale" + +#: plugins/sudoers/def_data.c:562 +#, c-format +msgid "Working directory to change to before executing the command: %s" +msgstr "Directory di lavoro a cui passare prima dell'esecuzione del comando: %s" + +#: plugins/sudoers/def_data.c:566 +#, c-format +msgid "Root directory to change to before executing the command: %s" +msgstr "Directory root a cui passare prima dell'esecuzione del comando: %s" + +#: plugins/sudoers/def_data.c:570 +#, c-format +msgid "The format of logs to produce: %s" +msgstr "Il formato dei registri da creare: %s" + +#: plugins/sudoers/def_data.c:574 +msgid "Enable SELinux RBAC support" +msgstr "Abilita il supporto RBAC SELinux" + +#: plugins/sudoers/def_data.c:578 +#, c-format +msgid "Path to the file that is created the first time sudo is run: %s" +msgstr "Percorso del file creato la prima volta che viene eseguito sudo: %s" + +#: plugins/sudoers/defaults.c:185 +#, c-format +msgid "%s:%d:%d: unknown defaults entry \"%s\"" +msgstr "%s:%d:%d: voce Defaults \"%s\" sconosciuta" + +#: plugins/sudoers/defaults.c:188 +#, c-format +msgid "%s: unknown defaults entry \"%s\"" +msgstr "%s: voce Defaults \"%s\" sconosciuta" + +#: plugins/sudoers/defaults.c:234 +#, c-format +msgid "%s:%d:%d: no value specified for \"%s\"" +msgstr "%s:%d:%d: nessun valore specificato per \"%s\"" + +#: plugins/sudoers/defaults.c:237 +#, c-format +msgid "%s: no value specified for \"%s\"" +msgstr "%s: nessun valore specificato per \"%s\"" + +#: plugins/sudoers/defaults.c:275 +#, c-format +msgid "%s:%d:%d: option \"%s\" does not take a value" +msgstr "%s:%d:%d: l'opzione \"%s\" non accetta un valore" + +#: plugins/sudoers/defaults.c:278 +#, c-format +msgid "%s: option \"%s\" does not take a value" +msgstr "%s: l'opzione \"%s\" non accetta un valore" + +#: plugins/sudoers/defaults.c:303 +#, c-format +msgid "%s:%d:%d: invalid Defaults type 0x%x for option \"%s\"" +msgstr "%s:%d:%d: tipo Defaults 0x%x non valido per l'opzione \"%s\"" + +#: plugins/sudoers/defaults.c:306 +#, c-format +msgid "%s: invalid Defaults type 0x%x for option \"%s\"" +msgstr "%s: tipo Defaults 0x%x non valido per l'opzione \"%s\"" + +#: plugins/sudoers/defaults.c:316 +#, c-format +msgid "%s:%d:%d: value \"%s\" is invalid for option \"%s\"" +msgstr "%s:%d:%d: il valore \"%s\" non è valido per l'opzione \"%s\"" + +#: plugins/sudoers/defaults.c:319 +#, c-format +msgid "%s: value \"%s\" is invalid for option \"%s\"" +msgstr "%s: il valore \"%s\" non è valido per l'opzione \"%s\"" + +#: plugins/sudoers/defaults.c:1040 +#, c-format +msgid "%s:%d:%d: values for \"%s\" must start with a '/', '~', or '*'" +msgstr "%s:%d:%d: i valori per \"%s\" devono iniziare con un carattere \"/\", \"~\" o \"*\"" + +#: plugins/sudoers/defaults.c:1044 +#, c-format +msgid "%s: values for \"%s\" must start with a '/', '~', or '*'" +msgstr "%s: i valori per \"%s\" devono iniziare con un carattere \"/\", \"~\" o \"*\"" + +#: plugins/sudoers/defaults.c:1055 +#, c-format +msgid "%s:%d:%d: values for \"%s\" must start with a '/'" +msgstr "%s:%d:%d: i valori per \"%s\" devono iniziare con un carattere \"/\"" + +#: plugins/sudoers/defaults.c:1059 +#, c-format +msgid "%s: values for \"%s\" must start with a '/'" +msgstr "%s: i valori per \"%s\" devono iniziare con un carattere \"/\"" + +#: plugins/sudoers/env.c:412 +msgid "sudo_putenv: corrupted envp, length mismatch" +msgstr "sudo_putenv: envp danneggiato, discordanza nella lunghezza" + +#: plugins/sudoers/env.c:1095 +msgid "unable to rebuild the environment" +msgstr "impossibile ricostruire l’ambiente" + +#: plugins/sudoers/env.c:1169 +#, c-format +msgid "sorry, you are not allowed to set the following environment variables: %s" +msgstr "permessi non sufficienti per impostare le seguenti variabili d'ambiente: %s" + +#: plugins/sudoers/file.c:107 +#, c-format +msgid "parse error in %s near line %d" +msgstr "errore di analisi in %s vicino alla riga %d" + +#: plugins/sudoers/file.c:110 +#, c-format +msgid "parse error in %s" +msgstr "errore di analisi in %s" + +#: plugins/sudoers/filedigest.c:49 +#, c-format +msgid "unsupported digest type %d for %s" +msgstr "tipo di digest %d non supportato per %s" + +#: plugins/sudoers/filedigest.c:78 +#, c-format +msgid "%s: read error" +msgstr "%s: errore di lettura" + +#: plugins/sudoers/group_plugin.c:83 +#, c-format +msgid "%s must be owned by uid %d" +msgstr "%s deve essere di proprietà dello uid %d" + +#: plugins/sudoers/group_plugin.c:87 +#, c-format +msgid "%s must only be writable by owner" +msgstr "%s deve essere scrivibile solo dal proprietario" + +#: plugins/sudoers/group_plugin.c:96 plugins/sudoers/sssd.c:569 +#, c-format +msgid "unable to load %s: %s" +msgstr "impossibile caricare %s: %s" + +#: plugins/sudoers/group_plugin.c:102 +#, c-format +msgid "unable to find symbol \"group_plugin\" in %s" +msgstr "impossibile trovare il simbolo \"group_plugin\" in %s" + +#: plugins/sudoers/group_plugin.c:107 +#, c-format +msgid "%s: incompatible group plugin major version %d, expected %d" +msgstr "%s: version major %d del plugin per il gruppo non compatibile, atteso %d" + +#: plugins/sudoers/interfaces.c:80 plugins/sudoers/interfaces.c:97 +#, c-format +msgid "unable to parse IP address \"%s\"" +msgstr "impossibile analizzare l'indirizzo IP \"%s\"" + +#: plugins/sudoers/interfaces.c:85 plugins/sudoers/interfaces.c:102 +#, c-format +msgid "unable to parse netmask \"%s\"" +msgstr "impossibile analizzare la maschera di rete \"%s\"" + +#: plugins/sudoers/interfaces.c:130 +msgid "Local IP address and netmask pairs:\n" +msgstr "Coppia indirizzo IP locale e maschera di rete:\n" + +#: plugins/sudoers/iolog.c:143 plugins/sudoers/sudoers.c:437 +#: plugins/sudoers/sudoers.c:1317 plugins/sudoers/testsudoers.c:406 +#, c-format +msgid "unknown group: %s" +msgstr "gruppo sconosciuto: %s" + +#: plugins/sudoers/iolog.c:635 +msgid "unable to update sequence file" +msgstr "impossibile aggiornare il file sequenza" + +#: plugins/sudoers/iolog.c:666 plugins/sudoers/iolog.c:854 +#: plugins/sudoers/iolog.c:1007 plugins/sudoers/iolog.c:1014 +#: plugins/sudoers/iolog.c:1135 plugins/sudoers/iolog.c:1142 +#: plugins/sudoers/iolog.c:1241 plugins/sudoers/iolog.c:1248 +#, c-format +msgid "unable to write to I/O log file: %s" +msgstr "impossibile scrivere sul file di registro di I/O: %s" + +#: plugins/sudoers/iolog.c:674 +#, c-format +msgid "unable to create %s/%s" +msgstr "impossibile creare %s/%s" + +#: plugins/sudoers/iolog.c:899 +#, c-format +msgid "%s: internal error, I/O log file for event %d not open" +msgstr "%s: errore interno, file registro IO per l'evento %d non aperto" + +#: plugins/sudoers/iolog.c:992 plugins/sudoers/iolog.c:1120 +#: plugins/sudoers/iolog.c:1225 plugins/sudoers/timestamp.c:849 +#: plugins/sudoers/timestamp.c:941 plugins/sudoers/visudo.c:487 +#: plugins/sudoers/visudo.c:493 +msgid "unable to read the clock" +msgstr "impossibile leggere l'orologio" + +#: plugins/sudoers/iolog.c:1217 plugins/sudoers/log_client.c:1199 +#, c-format +msgid "%s: internal error, invalid signal %d" +msgstr "%s: errore interno, segnale %d non valido" + +#: plugins/sudoers/ldap.c:177 plugins/sudoers/ldap_conf.c:291 +msgid "starttls not supported when using ldaps" +msgstr "starttls non supportato quando viene utilizzato ldaps" + +#: plugins/sudoers/ldap.c:248 +#, c-format +msgid "unable to initialize SSL cert and key db: %s" +msgstr "impossibile inizializzare il certificato SSL e il database delle chiavi: %s" + +#: plugins/sudoers/ldap.c:251 +#, c-format +msgid "you must set TLS_CERT in %s to use SSL" +msgstr "è necessario impostare TLS_CERT in %s per usare SSL" + +#: plugins/sudoers/ldap.c:1660 +#, c-format +msgid "unable to initialize LDAP: %s" +msgstr "impossibile inizializzare LDAP: %s" + +#: plugins/sudoers/ldap.c:1697 +msgid "start_tls specified but LDAP libs do not support ldap_start_tls_s() or ldap_start_tls_s_np()" +msgstr "specificato start_tls ma le librerie LDAP non supportano ldap_start_tls_s() o ldap_start_tls_s_np()" + +#: plugins/sudoers/ldap.c:1834 plugins/sudoers/parse_ldif.c:746 +#, c-format +msgid "invalid sudoOrder attribute: %s" +msgstr "attributo sudoOrder non valido: %s" + +#: plugins/sudoers/ldap_conf.c:200 +#, c-format +msgid "%s: port too large" +msgstr "%s: porta troppo grande" + +#: plugins/sudoers/ldap_conf.c:260 +#, c-format +msgid "unsupported LDAP uri type: %s" +msgstr "tipologia di uri LDAP non supportata: %s" + +#: plugins/sudoers/ldap_conf.c:287 +msgid "unable to mix ldap and ldaps URIs" +msgstr "impossibile utilizzare URI ldap e ldaps assieme" + +#: plugins/sudoers/ldap_util.c:529 plugins/sudoers/ldap_util.c:536 +#: plugins/sudoers/ldap_util.c:544 plugins/sudoers/ldap_util.c:553 +#: plugins/sudoers/ldap_util.c:561 plugins/sudoers/ldap_util.c:571 +#: plugins/sudoers/ldap_util.c:579 +#, c-format +msgid "duplicate sudoOption: %s%s%s" +msgstr "sudoOption duplicato: %s%s%s" + +#: plugins/sudoers/ldap_util.c:598 plugins/sudoers/ldap_util.c:600 +#, c-format +msgid "unable to convert sudoOption: %s%s%s" +msgstr "impossibile convertire sudoOption: %s%s%s" + +#: plugins/sudoers/linux_audit.c:58 plugins/sudoers/linux_audit.c:60 +msgid "unable to open audit system" +msgstr "impossibile aprire il sistema di audit" + +#: plugins/sudoers/linux_audit.c:103 +msgid "unable to send audit message" +msgstr "impossibile inviare il messaggio di audit" + +#: plugins/sudoers/log_client.c:113 plugins/sudoers/log_client.c:391 +#: plugins/sudoers/log_client.c:1437 plugins/sudoers/log_client.c:2031 +msgid "error in event loop" +msgstr "errore nel ciclo dell'evento" + +#: plugins/sudoers/log_client.c:193 +#, c-format +msgid "Creation of new SSL_CTX object failed: %s" +msgstr "Creazione di un nuovo oggetto SSL_CTX non riuscita: %s" + +#: plugins/sudoers/log_client.c:216 +#, c-format +msgid "unable to load certificate authority bundle %s" +msgstr "impossibile caricare il bundle CA %s" + +#: plugins/sudoers/log_client.c:236 +#, c-format +msgid "unable to load certificate %s" +msgstr "impossibile caricare il certificato %s" + +#: plugins/sudoers/log_client.c:249 +#, c-format +msgid "unable to load private key %s" +msgstr "impossibile caricare la chiave privata %s" + +#: plugins/sudoers/log_client.c:258 +#, c-format +msgid "Unable to allocate ssl object: %s" +msgstr "Impossibile allocare l'oggetto ssl: %s" + +#: plugins/sudoers/log_client.c:345 plugins/sudoers/log_client.c:350 +#, c-format +msgid "TLS connection to %s:%s failed: %s" +msgstr "Connessione TLS a %s:%s non riuscita: %s" + +#: plugins/sudoers/log_client.c:519 +msgid "TLS initialization was unsuccessful" +msgstr "inizializzazione TLS non riuscita" + +#: plugins/sudoers/log_client.c:528 +msgid "TLS handshake was unsuccessful" +msgstr "handshake TLS non riuscito" + +#: plugins/sudoers/log_client.c:1208 +#, c-format +msgid "%s: internal error, invalid exit status %d" +msgstr "%s: errore interno, stato di uscita %d non valido" + +#: plugins/sudoers/log_client.c:1724 plugins/sudoers/log_client.c:1748 +msgid "lost connection to log server" +msgstr "connessione al server del registro persa" + +#: plugins/sudoers/log_client.c:1825 +msgid "missing write buffer" +msgstr "manca il buffer in scrittura" + +#: plugins/sudoers/log_client.c:1972 +msgid "unable to connect to log server" +msgstr "impossibile connettersi al server del registro" + +#: plugins/sudoers/logging.c:244 +msgid "user NOT in sudoers" +msgstr "utente non tra i sudoers" + +#: plugins/sudoers/logging.c:246 +msgid "user NOT authorized on host" +msgstr "utente non autorizzato sull'host" + +#: plugins/sudoers/logging.c:248 +msgid "command not allowed" +msgstr "comando non consentito" + +#: plugins/sudoers/logging.c:269 +#, c-format +msgid "%s is not in the sudoers file. This incident will be reported.\n" +msgstr "%s non è nel file sudoers. Questo evento verrà segnalato.\n" + +#: plugins/sudoers/logging.c:272 +#, c-format +msgid "%s is not allowed to run sudo on %s. This incident will be reported.\n" +msgstr "A %s non è consentito eseguire sudo su %s. Questo evento verrà segnalato.\n" + +#: plugins/sudoers/logging.c:276 +#, c-format +msgid "Sorry, user %s may not run sudo on %s.\n" +msgstr "L'utente %s non può eseguire sudo su %s.\n" + +#: plugins/sudoers/logging.c:279 +#, c-format +msgid "Sorry, user %s is not allowed to execute '%s%s%s' as %s%s%s on %s.\n" +msgstr "All'utente %s non è consentito eseguire \"%s%s%s\" come %s%s%s su %s.\n" + +#: plugins/sudoers/logging.c:316 plugins/sudoers/sudoers.c:575 +#: plugins/sudoers/sudoers.c:577 plugins/sudoers/sudoers.c:579 +#: plugins/sudoers/sudoers.c:581 plugins/sudoers/sudoers.c:723 +#: plugins/sudoers/sudoers.c:725 +#, c-format +msgid "%s: command not found" +msgstr "%s: comando non trovato" + +#: plugins/sudoers/logging.c:318 plugins/sudoers/sudoers.c:571 +#, c-format +msgid "" +"ignoring \"%s\" found in '.'\n" +"Use \"sudo ./%s\" if this is the \"%s\" you wish to run." +msgstr "" +"viene ignorato \"%s\" trovato in \".\"\n" +"Usare \"sudo ./%s\" per eseguire \"%s\"." + +#: plugins/sudoers/logging.c:337 +#, c-format +msgid "%u incorrect password attempt" +msgid_plural "%u incorrect password attempts" +msgstr[0] "%u tentativo di immissione password non corretto" +msgstr[1] "%u tentativi di immissione password non corretti" + +#: plugins/sudoers/logging.c:393 +msgid "authentication failure" +msgstr "autenticazione non riuscita" + +#: plugins/sudoers/logging.c:433 plugins/sudoers/logging.c:453 +msgid "a password is required" +msgstr "è necessaria una password" + +#: plugins/sudoers/logging.c:739 +#, c-format +msgid "unable to open log file: %s" +msgstr "impossibile aprire il file di registro: %s" + +#: plugins/sudoers/logging.c:772 +#, c-format +msgid "unable to write log file: %s" +msgstr "impossibile scrivere sul file di registro: %s" + +#: plugins/sudoers/match_digest.c:129 +#, c-format +msgid "digest for %s (%s) is not in %s form" +msgstr "il digest per %s (%s) non è nella forma %s" + +#: plugins/sudoers/parse.c:530 +#, c-format +msgid "" +"\n" +"LDAP Role: %s\n" +msgstr "" +"\n" +"Ruolo LDAP: %s\n" + +#: plugins/sudoers/parse.c:533 +msgid "" +"\n" +"Sudoers entry:\n" +msgstr "" +"\n" +"Voce sudoers:\n" + +#: plugins/sudoers/parse.c:535 +msgid " RunAsUsers: " +msgstr " RunAsUsers: " + +#: plugins/sudoers/parse.c:550 +msgid " RunAsGroups: " +msgstr " RunAsGroups: " + +#: plugins/sudoers/parse.c:560 +msgid " Options: " +msgstr " Opzioni: " + +#: plugins/sudoers/parse.c:614 +msgid " Commands:\n" +msgstr " Comandi:\n" + +#: plugins/sudoers/parse.c:805 +#, c-format +msgid "Matching Defaults entries for %s on %s:\n" +msgstr "Corrispondenza voci Defaults per %s su %s:\n" + +#: plugins/sudoers/parse.c:823 +#, c-format +msgid "Runas and Command-specific defaults for %s:\n" +msgstr "Valori predefiniti per Runas e Command per %s:\n" + +#: plugins/sudoers/parse.c:841 +#, c-format +msgid "User %s may run the following commands on %s:\n" +msgstr "L'utente %s può eseguire i seguenti comandi su %s:\n" + +#: plugins/sudoers/parse.c:856 +#, c-format +msgid "User %s is not allowed to run sudo on %s.\n" +msgstr "L'utente %s non è abilitato all'esecuzione di sudo su %s.\n" + +#: plugins/sudoers/parse_ldif.c:616 +#, c-format +msgid "ignoring incomplete sudoRole: cn: %s" +msgstr "ignorato sudoRole non completo: cn: %s" + +#: plugins/sudoers/parse_ldif.c:676 +#, c-format +msgid "invalid LDIF attribute: %s" +msgstr "attributo LDIF non valido: %s" + +#: plugins/sudoers/policy.c:78 plugins/sudoers/policy.c:108 +#, c-format +msgid "invalid %.*s set by sudo front-end" +msgstr "%.*s non valido impostato dal front-end sudo" + +#: plugins/sudoers/policy.c:314 plugins/sudoers/testsudoers.c:268 +msgid "unable to parse network address list" +msgstr "impossibile analizzare l'elenco degli indirizzi di rete" + +#: plugins/sudoers/policy.c:465 +msgid "user name not set by sudo front-end" +msgstr "nome utente non impostato dal front-end sudo" + +#: plugins/sudoers/policy.c:469 +msgid "user-ID not set by sudo front-end" +msgstr "ID utente non impostato dal front-end sudo" + +#: plugins/sudoers/policy.c:473 +msgid "group-ID not set by sudo front-end" +msgstr "ID gruppo non impostato dal front-end sudo" + +#: plugins/sudoers/policy.c:477 +msgid "host name not set by sudo front-end" +msgstr "nome dell'host non impostato dal front-end sudo" + +#: plugins/sudoers/policy.c:660 +#, c-format +msgid "invalid working directory: %s" +msgstr "directory di lavoro non valida: %s" + +#: plugins/sudoers/policy.c:828 +#, c-format +msgid "invalid chroot directory: %s" +msgstr "directory chroot non valida: %s" + +#: plugins/sudoers/policy.c:963 plugins/sudoers/visudo.c:229 +#: plugins/sudoers/visudo.c:851 +#, c-format +msgid "unable to execute %s" +msgstr "impossibile eseguire %s" + +#: plugins/sudoers/policy.c:1030 plugins/sudoers/policy.c:1067 +#: plugins/sudoers/policy.c:1089 plugins/sudoers/policy.c:1115 +#, c-format +msgid "%s: invalid mode flags from sudo front end: 0x%x" +msgstr "%s: flag in modalità non valida dal front-end sudo: 0x%x" + +#: plugins/sudoers/policy.c:1146 +#, c-format +msgid "Sudoers policy plugin version %s\n" +msgstr "Versione %s del plugin della politica sudoers\n" + +#: plugins/sudoers/policy.c:1148 +#, c-format +msgid "Sudoers file grammar version %d\n" +msgstr "Versione %d della grammatica del file sudoers\n" + +#: plugins/sudoers/policy.c:1152 +#, c-format +msgid "" +"\n" +"Sudoers path: %s\n" +msgstr "" +"\n" +"Percorso sudoers: %s\n" + +#: plugins/sudoers/policy.c:1155 +#, c-format +msgid "nsswitch path: %s\n" +msgstr "percorso nsswitch: %s\n" + +#: plugins/sudoers/policy.c:1157 +#, c-format +msgid "ldap.conf path: %s\n" +msgstr "percorso ldap.conf: %s\n" + +#: plugins/sudoers/policy.c:1158 +#, c-format +msgid "ldap.secret path: %s\n" +msgstr "percorso ldap.secret: %s\n" + +#: plugins/sudoers/policy.c:1191 +#, c-format +msgid "unable to register hook of type %d (version %d.%d)" +msgstr "impossibile registrare un hook di tipo %d (versione %d.%d)" + +#: plugins/sudoers/policy.c:1209 +#, c-format +msgid "unable to deregister hook of type %d (version %d.%d)" +msgstr "impossibile annullare la registrazione dell'hook di tipo %d (versione %d.%d)" + +#: plugins/sudoers/pwutil.c:218 plugins/sudoers/pwutil.c:236 +#, c-format +msgid "unable to cache uid %u" +msgstr "impossibile memorizzare in cache lo uid %u" + +#: plugins/sudoers/pwutil.c:230 +#, c-format +msgid "unable to cache uid %u, already exists" +msgstr "impossibile memorizzare in cache lo uid %u, esiste già" + +#: plugins/sudoers/pwutil.c:290 plugins/sudoers/pwutil.c:308 +#: plugins/sudoers/pwutil.c:371 plugins/sudoers/pwutil.c:416 +#, c-format +msgid "unable to cache user %s" +msgstr "impossibile memorizzare in cache l'utente %s" + +#: plugins/sudoers/pwutil.c:303 +#, c-format +msgid "unable to cache user %s, already exists" +msgstr "impossibile memorizzare in cache l'utente %s, esiste già" + +#: plugins/sudoers/pwutil.c:535 plugins/sudoers/pwutil.c:553 +#, c-format +msgid "unable to cache gid %u" +msgstr "impossibile memorizzare in cache il gid %u" + +#: plugins/sudoers/pwutil.c:547 +#, c-format +msgid "unable to cache gid %u, already exists" +msgstr "impossibile memorizzare in cache il gid %u, esiste già" + +#: plugins/sudoers/pwutil.c:601 plugins/sudoers/pwutil.c:619 +#: plugins/sudoers/pwutil.c:680 plugins/sudoers/pwutil.c:729 +#, c-format +msgid "unable to cache group %s" +msgstr "impossibile memorizzare in cache il gruppo %s" + +#: plugins/sudoers/pwutil.c:614 +#, c-format +msgid "unable to cache group %s, already exists" +msgstr "impossibile memorizzare in cache il gruppo %s, esiste già" + +#: plugins/sudoers/pwutil.c:876 plugins/sudoers/pwutil.c:927 +#: plugins/sudoers/pwutil.c:977 plugins/sudoers/pwutil.c:1029 +#, c-format +msgid "unable to cache group list for %s, already exists" +msgstr "impossibile memorizzare in cache l'elenco di gruppo %s, esiste già" + +#: plugins/sudoers/pwutil.c:882 plugins/sudoers/pwutil.c:932 +#: plugins/sudoers/pwutil.c:983 plugins/sudoers/pwutil.c:1034 +#, c-format +msgid "unable to cache group list for %s" +msgstr "impossibile memorizzare in cache l'elenco di gruppo %s" + +#: plugins/sudoers/pwutil.c:921 +#, c-format +msgid "unable to parse groups for %s" +msgstr "impossibile analizzare i gruppi per %s" + +#: plugins/sudoers/pwutil.c:1023 +#, c-format +msgid "unable to parse gids for %s" +msgstr "impossibile analizzare i gid per %s" + +#: plugins/sudoers/set_perms.c:114 plugins/sudoers/set_perms.c:441 +#: plugins/sudoers/set_perms.c:844 plugins/sudoers/set_perms.c:1150 +#: plugins/sudoers/set_perms.c:1444 +msgid "perm stack overflow" +msgstr "overflow dello stack perm" + +#: plugins/sudoers/set_perms.c:122 plugins/sudoers/set_perms.c:372 +#: plugins/sudoers/set_perms.c:449 plugins/sudoers/set_perms.c:711 +#: plugins/sudoers/set_perms.c:852 plugins/sudoers/set_perms.c:1074 +#: plugins/sudoers/set_perms.c:1158 plugins/sudoers/set_perms.c:1377 +#: plugins/sudoers/set_perms.c:1452 plugins/sudoers/set_perms.c:1542 +msgid "perm stack underflow" +msgstr "underflow dello stack perm" + +#: plugins/sudoers/set_perms.c:181 plugins/sudoers/set_perms.c:495 +#: plugins/sudoers/set_perms.c:1211 plugins/sudoers/set_perms.c:1485 +msgid "unable to change to root gid" +msgstr "impossibile passare al gid root" + +#: plugins/sudoers/set_perms.c:272 plugins/sudoers/set_perms.c:592 +#: plugins/sudoers/set_perms.c:983 plugins/sudoers/set_perms.c:1288 +msgid "unable to change to runas gid" +msgstr "impossibile passare al gid runas" + +#: plugins/sudoers/set_perms.c:277 plugins/sudoers/set_perms.c:597 +#: plugins/sudoers/set_perms.c:988 plugins/sudoers/set_perms.c:1293 +msgid "unable to set runas group vector" +msgstr "impossibile impostare il vettore di gruppo per runas" + +#: plugins/sudoers/set_perms.c:288 plugins/sudoers/set_perms.c:608 +#: plugins/sudoers/set_perms.c:997 plugins/sudoers/set_perms.c:1302 +msgid "unable to change to runas uid" +msgstr "impossibile passare allo uid runas" + +#: plugins/sudoers/set_perms.c:306 plugins/sudoers/set_perms.c:626 +#: plugins/sudoers/set_perms.c:1013 plugins/sudoers/set_perms.c:1318 +msgid "unable to change to sudoers gid" +msgstr "impossibile passare al gid sudoers" + +#: plugins/sudoers/set_perms.c:359 plugins/sudoers/set_perms.c:698 +#: plugins/sudoers/set_perms.c:1061 plugins/sudoers/set_perms.c:1364 +#: plugins/sudoers/set_perms.c:1529 +msgid "too many processes" +msgstr "troppi processi" + +#: plugins/sudoers/solaris_audit.c:61 +msgid "unable to get current working directory" +msgstr "impossibile ottenere la directory di lavoro corrente" + +#: plugins/sudoers/solaris_audit.c:69 +#, c-format +msgid "truncated audit path user_cmnd: %s" +msgstr "percorso audit user_cmnd troncato: %s" + +#: plugins/sudoers/solaris_audit.c:76 +#, c-format +msgid "truncated audit path argv[0]: %s" +msgstr "percorso audit argv[0] troncato: %s" + +#: plugins/sudoers/sssd.c:572 +msgid "unable to initialize SSS source. Is SSSD installed on your machine?" +msgstr "impossibile inizializzare la sorgente SSS. È stato installato SSSD?" + +#: plugins/sudoers/sssd.c:580 plugins/sudoers/sssd.c:589 +#: plugins/sudoers/sssd.c:598 plugins/sudoers/sssd.c:607 +#: plugins/sudoers/sssd.c:616 +#, c-format +msgid "unable to find symbol \"%s\" in %s" +msgstr "impossibile trovare il simbolo \"%s\" in %s" + +#: plugins/sudoers/sudoers.c:213 plugins/sudoers/sudoers.c:985 +msgid "problem with defaults entries" +msgstr "problema con le voci Defaults" + +#: plugins/sudoers/sudoers.c:217 +msgid "no valid sudoers sources found, quitting" +msgstr "nessuna sorgente valida di sudoers trovata, uscita" + +#: plugins/sudoers/sudoers.c:291 +#, c-format +msgid "user not allowed to change root directory to %s" +msgstr "l'utente non è autorizzato a cambiare la directory root a %s" + +#: plugins/sudoers/sudoers.c:293 +#, c-format +msgid "you are not permitted to use the -R option with %s" +msgstr "non è consentito l'uso dell'opzione -R con %s" + +#: plugins/sudoers/sudoers.c:318 +#, c-format +msgid "user not allowed to change directory to %s" +msgstr "l'utente non è autorizzato a cambiare directory a %s" + +#: plugins/sudoers/sudoers.c:319 +#, c-format +msgid "you are not permitted to use the -D option with %s" +msgstr "non è consentito l'uso dell'opzione -D con %s" + +#: plugins/sudoers/sudoers.c:345 +msgid "no command specified" +msgstr "nessun comando specificato" + +#: plugins/sudoers/sudoers.c:355 +msgid "sudoers specifies that root is not allowed to sudo" +msgstr "sudoers indica che a root non è consentito usare sudo" + +#: plugins/sudoers/sudoers.c:403 +msgid "user not allowed to override closefrom limit" +msgstr "l'utente non è autorizzato a scavalcare il limite closefrom" + +#: plugins/sudoers/sudoers.c:404 +msgid "you are not permitted to use the -C option" +msgstr "utente non abilitato all'uso dell'opzione -C" + +#: plugins/sudoers/sudoers.c:464 +#, c-format +msgid "timestamp owner (%s): No such user" +msgstr "proprietario marcatura temporale (%s): utente inesistente" + +#: plugins/sudoers/sudoers.c:479 +msgid "no tty" +msgstr "nessun tty" + +#: plugins/sudoers/sudoers.c:480 +msgid "sorry, you must have a tty to run sudo" +msgstr "è necessario disporre di un tty per eseguire sudo" + +#: plugins/sudoers/sudoers.c:487 +#, c-format +msgid "invalid shell for user %s: %s" +msgstr "shell utente %s non valida: %s" + +#: plugins/sudoers/sudoers.c:570 +msgid "command in current directory" +msgstr "comando nella directory corrente" + +#: plugins/sudoers/sudoers.c:589 +msgid "user not allowed to set a command timeout" +msgstr "l'utente non è autorizzato a impostare un timeout per i comandi" + +#: plugins/sudoers/sudoers.c:591 +msgid "sorry, you are not allowed set a command timeout" +msgstr "non è consentito impostare un timeout per i comandi" + +#: plugins/sudoers/sudoers.c:599 +msgid "user not allowed to preserve the environment" +msgstr "l'utente non è autorizzato a preservare l'ambiente" + +#: plugins/sudoers/sudoers.c:601 +msgid "sorry, you are not allowed to preserve the environment" +msgstr "non è consentito preservare l'ambiente" + +#: plugins/sudoers/sudoers.c:936 +msgid "command too long" +msgstr "comando troppo lungo" + +#: plugins/sudoers/sudoers.c:973 +msgid "sudoedit doesn't need to be run via sudo" +msgstr "non è necessario eseguire sudoedit via sudo" + +#: plugins/sudoers/sudoers.c:1032 plugins/sudoers/sudoreplay.c:1547 +#: plugins/sudoers/tsdump.c:138 +#, c-format +msgid "unable to read %s" +msgstr "impossibile leggere %s" + +#: plugins/sudoers/sudoers.c:1057 plugins/sudoers/visudo.c:426 +#: plugins/sudoers/visudo.c:720 +#, c-format +msgid "unable to stat %s" +msgstr "impossibile eseguire stat su %s" + +#: plugins/sudoers/sudoers.c:1061 plugins/sudoers/visudo.c:1009 +#, c-format +msgid "%s is not a regular file" +msgstr "%s non è un file regolare" + +#: plugins/sudoers/sudoers.c:1065 plugins/sudoers/timestamp.c:252 toke.l:1138 +#, c-format +msgid "%s is owned by uid %u, should be %u" +msgstr "%s è di proprietà dello uid %u, dovrebbe essere %u" + +#: plugins/sudoers/sudoers.c:1069 toke.l:1143 +#, c-format +msgid "%s is world writable" +msgstr "%s è scrivibile da tutti" + +#: plugins/sudoers/sudoers.c:1073 toke.l:1146 +#, c-format +msgid "%s is owned by gid %u, should be %u" +msgstr "%s è di proprietà del gid %u, dovrebbe essere %u" + +#: plugins/sudoers/sudoers.c:1106 +#, c-format +msgid "only root can use \"-c %s\"" +msgstr "solo root può usare \"-c %s\"" + +#: plugins/sudoers/sudoers.c:1125 +#, c-format +msgid "unknown login class: %s" +msgstr "classe di login sconosciuta: %s" + +#: plugins/sudoers/sudoers.c:1211 plugins/sudoers/sudoers.c:1226 +#, c-format +msgid "unable to resolve host %s" +msgstr "impossibile risolvere l'host %s" + +#: plugins/sudoers/sudoreplay.c:257 +#, c-format +msgid "invalid filter option: %s" +msgstr "opzione di filtro non valida: %s" + +#: plugins/sudoers/sudoreplay.c:273 +#, c-format +msgid "invalid max wait: %s" +msgstr "attesa massima non valida: %s" + +#: plugins/sudoers/sudoreplay.c:296 +#, c-format +msgid "invalid speed factor: %s" +msgstr "fattore di velocità non valido: %s" + +#: plugins/sudoers/sudoreplay.c:332 +#, c-format +msgid "%s/%.2s/%.2s/%.2s: %s" +msgstr "%s/%.2s/%.2s/%.2s: %s" + +#: plugins/sudoers/sudoreplay.c:337 +#, c-format +msgid "%s/timing: %s" +msgstr "%s/timing: %s" + +#: plugins/sudoers/sudoreplay.c:341 +#, c-format +msgid "%s/%s: %s" +msgstr "%s/%s: %s" + +#: plugins/sudoers/sudoreplay.c:365 +#, c-format +msgid "Replaying sudo session: %s" +msgstr "Riproduzione della sessione sudo: %s" + +#: plugins/sudoers/sudoreplay.c:627 +msgid "unable to set tty to raw mode" +msgstr "impossibile impostare il terminale in modalità raw" + +#: plugins/sudoers/sudoreplay.c:678 +msgid "Warning: your terminal is too small to properly replay the log.\n" +msgstr "Attenzione: il terminale è troppo piccolo per riprodurre correttamente il registro.\n" + +#: plugins/sudoers/sudoreplay.c:679 +#, c-format +msgid "Log geometry is %d x %d, your terminal's geometry is %d x %d." +msgstr "La geometria del registro è %dx%d, quella del terminale è %dx%d." + +#: plugins/sudoers/sudoreplay.c:707 +msgid "Replay finished, press any key to restore the terminal." +msgstr "Riproduzione terminata. Premere un tasto per ripristinare il terminale." + +#: plugins/sudoers/sudoreplay.c:1197 plugins/sudoers/sudoreplay.c:1227 +#, c-format +msgid "ambiguous expression \"%s\"" +msgstr "espressione \"%s\" ambigua" + +#: plugins/sudoers/sudoreplay.c:1249 +msgid "unmatched ')' in expression" +msgstr "carattere \")\" nell'espressione non corrisposto" + +#: plugins/sudoers/sudoreplay.c:1253 +#, c-format +msgid "unknown search term \"%s\"" +msgstr "termine di ricerca \"%s\" sconosciuto" + +#: plugins/sudoers/sudoreplay.c:1268 +#, c-format +msgid "%s requires an argument" +msgstr "%s richiede un argomento" + +#: plugins/sudoers/sudoreplay.c:1271 plugins/sudoers/sudoreplay.c:1523 +#, c-format +msgid "invalid regular expression: %s" +msgstr "espressione regolare non valida: %s" + +#: plugins/sudoers/sudoreplay.c:1276 +#, c-format +msgid "could not parse date \"%s\"" +msgstr "impossibile analizzare la data \"%s\"" + +#: plugins/sudoers/sudoreplay.c:1285 +msgid "unmatched '(' in expression" +msgstr "carattere \"(\" nell'espressione non corrisposto" + +#: plugins/sudoers/sudoreplay.c:1287 +msgid "illegal trailing \"or\"" +msgstr "\"or\" finale non consentito" + +#: plugins/sudoers/sudoreplay.c:1289 +msgid "illegal trailing \"!\"" +msgstr "carattere \"!\" finale non consentito" + +#: plugins/sudoers/sudoreplay.c:1347 +#, c-format +msgid "unknown search type %d" +msgstr "tipo di ricerca %d sconosciuto" + +#: plugins/sudoers/sudoreplay.c:1614 +#, c-format +msgid "usage: %s [-hnRS] [-d dir] [-m num] [-s num] ID\n" +msgstr "uso: %s [-hnRS] [-d DIR] [-m NUM] [-s NUM] ID\n" + +#: plugins/sudoers/sudoreplay.c:1617 +#, c-format +msgid "usage: %s [-h] [-d dir] -l [search expression]\n" +msgstr "uso: %s [-h] [-d DIR] -l [ESPRESSIONE DI RICERCA]\n" + +#: plugins/sudoers/sudoreplay.c:1626 +#, c-format +msgid "" +"%s - replay sudo session logs\n" +"\n" +msgstr "" +"%s - Riproduce i registri di sessione di sudo\n" +"\n" + +#: plugins/sudoers/sudoreplay.c:1628 +msgid "" +"\n" +"Options:\n" +" -d, --directory=dir specify directory for session logs\n" +" -f, --filter=filter specify which I/O type(s) to display\n" +" -h, --help display help message and exit\n" +" -l, --list list available session IDs, with optional expression\n" +" -m, --max-wait=num max number of seconds to wait between events\n" +" -n, --non-interactive no prompts, session is sent to the standard output\n" +" -R, --no-resize do not attempt to re-size the terminal\n" +" -S, --suspend-wait wait while the command was suspended\n" +" -s, --speed=num speed up or slow down output\n" +" -V, --version display version information and exit" +msgstr "" +"\n" +"Opzioni:\n" +" -d, --directory=DIR Specifica la directory per i registri di sessione\n" +" -f, --filter=FILTRO Specifica il tipo di I/O da mostrare\n" +" -h, --help Visualizza il messaggio di aiuto ed esce\n" +" -l, --list Elenca gli ID di sessione disponibili corrispondenti\n" +" -m, --max-wait=NUM Secondi da attendere tra gli eventi\n" +" -n, --non-interactive Non interattivo, la sessione è inviato all'output standard\n" +" -R, --no-resize Non ridimensiona il terminale\n" +" -S, --suspend-wait Attende mentre il comando è sospeso\n" +" -s, --speed=NUME Velocizza o rallenta l'output\n" +" -V, --version Visualizza la versione ed esce" + +#: plugins/sudoers/testsudoers.c:344 +msgid "\thost unmatched" +msgstr "\thost non corrispondente" + +#: plugins/sudoers/testsudoers.c:347 +msgid "" +"\n" +"Command allowed" +msgstr "" +"\n" +"Comando consentito" + +#: plugins/sudoers/testsudoers.c:348 +msgid "" +"\n" +"Command denied" +msgstr "" +"\n" +"Comando negato" + +#: plugins/sudoers/testsudoers.c:348 +msgid "" +"\n" +"Command unmatched" +msgstr "" +"\n" +"Comando non corrispondente" + +#: plugins/sudoers/timestamp.c:260 +#, c-format +msgid "%s is group writable" +msgstr "%s è scrivibile da tutti" + +#: plugins/sudoers/timestamp.c:328 plugins/sudoers/timestamp.c:663 +#, c-format +msgid "unable to truncate time stamp file to %lld bytes" +msgstr "impossibile troncare il file della marcatura temporale a %lld byte" + +#: plugins/sudoers/timestamp.c:860 +msgid "ignoring time stamp from the future" +msgstr "marcatura temporale dal futuro ignorata" + +#: plugins/sudoers/timestamp.c:883 +#, c-format +msgid "time stamp too far in the future: %20.20s" +msgstr "marcatura temporale troppo avanti nel tempo: %20.20s" + +#: plugins/sudoers/timestamp.c:1005 +#, c-format +msgid "unable to lock time stamp file %s" +msgstr "impossibile bloccare il file della marcatura temporale %s" + +#: plugins/sudoers/timestamp.c:1049 plugins/sudoers/timestamp.c:1069 +#, c-format +msgid "lecture status path too long: %s/%s" +msgstr "percorso dello stato della lezione troppo lungo: %s %s" + +#: plugins/sudoers/toke_util.c:150 +msgid "sudoedit should not be specified with a path" +msgstr "sudoedit non dovrebbe essere specificato con un percorso" + +#: plugins/sudoers/visudo.c:224 +msgid "the -x option will be removed in a future release" +msgstr "l'opzione -x verrà rimossa in una prossima versione" + +#: plugins/sudoers/visudo.c:226 +msgid "please consider using the cvtsudoers utility instead" +msgstr "utilizzare lo strumento cvtsudoers al suo posto" + +#: plugins/sudoers/visudo.c:277 plugins/sudoers/visudo.c:653 +#, c-format +msgid "press return to edit %s: " +msgstr "premere Invio per modificare %s: " + +#: plugins/sudoers/visudo.c:338 +#, c-format +msgid "specified editor (%s) doesn't exist" +msgstr "l'editor specificato (%s) non esiste" + +#: plugins/sudoers/visudo.c:340 +#, c-format +msgid "no editor found (editor path = %s)" +msgstr "nessun editor trovato (percorso dell'editor = %s)" + +#: plugins/sudoers/visudo.c:446 plugins/sudoers/visudo.c:454 +msgid "write error" +msgstr "errore di scrittura" + +#: plugins/sudoers/visudo.c:500 +#, c-format +msgid "unable to stat temporary file (%s), %s unchanged" +msgstr "impossibile eseguire stat sul file temporaneo (%s), %s non modificato" + +#: plugins/sudoers/visudo.c:507 +#, c-format +msgid "zero length temporary file (%s), %s unchanged" +msgstr "file temporaneo di lunghezza pari a zero (%s), %s non modificato" + +#: plugins/sudoers/visudo.c:513 +#, c-format +msgid "editor (%s) failed, %s unchanged" +msgstr "editor (%s) non riuscito, %s non modificato" + +#: plugins/sudoers/visudo.c:535 +#, c-format +msgid "%s unchanged" +msgstr "%s non modificato" + +#: plugins/sudoers/visudo.c:592 +#, c-format +msgid "unable to re-open temporary file (%s), %s unchanged." +msgstr "impossibile riaprire il file temporaneo (%s), %s non modificato." + +#: plugins/sudoers/visudo.c:604 +#, c-format +msgid "unable to parse temporary file (%s), unknown error" +msgstr "impossibile analizzare il file temporaneo (%s), errore sconosciuto" + +#: plugins/sudoers/visudo.c:642 +#, c-format +msgid "internal error, unable to find %s in list!" +msgstr "errore interno, impossibile trovare %s nell'elenco." + +#: plugins/sudoers/visudo.c:722 plugins/sudoers/visudo.c:731 +#, c-format +msgid "unable to set (uid, gid) of %s to (%u, %u)" +msgstr "impossibile impostare (uid, gid) di %s a (%u, %u)" + +#: plugins/sudoers/visudo.c:754 +#, c-format +msgid "%s and %s not on the same file system, using mv to rename" +msgstr "%s e %s non sono sullo stesso file system, viene usato \"mv\" per rinominare" + +#: plugins/sudoers/visudo.c:765 +#, c-format +msgid "command failed: '%s %s %s', %s unchanged" +msgstr "comando non riuscito: \"%s %s %s\", %s non modificato" + +#: plugins/sudoers/visudo.c:775 +#, c-format +msgid "error renaming %s, %s unchanged" +msgstr "errore nel rinominare %s, %s non è stato modificato" + +#: plugins/sudoers/visudo.c:796 +msgid "What now? " +msgstr "Che fare ora? " + +#: plugins/sudoers/visudo.c:810 +msgid "" +"Options are:\n" +" (e)dit sudoers file again\n" +" e(x)it without saving changes to sudoers file\n" +" (Q)uit and save changes to sudoers file (DANGER!)\n" +msgstr "" +"Le opzioni sono:\n" +" (e) Modifica nuovamente il file sudoers\n" +" (x) Esce senza salvare le modifiche al file sudoers\n" +" (Q) Esce e salva le modifiche al file sudoers (pericoloso)\n" + +#: plugins/sudoers/visudo.c:856 +#, c-format +msgid "unable to run %s" +msgstr "impossibile avviare %s" + +#: plugins/sudoers/visudo.c:886 +#, c-format +msgid "%s: wrong owner (uid, gid) should be (%u, %u)\n" +msgstr "%s: proprietario errato (uid, gid), dovrebbe essere (%u, %u)\n" + +#: plugins/sudoers/visudo.c:893 +#, c-format +msgid "%s: bad permissions, should be mode 0%o\n" +msgstr "%s: permessi errati, dovrebbe avere modalità 0%o\n" + +#: plugins/sudoers/visudo.c:942 plugins/sudoers/visudo.c:949 +#, c-format +msgid "%s: parsed OK\n" +msgstr "%s: analisi effettuata correttamente\n" + +#: plugins/sudoers/visudo.c:968 +#, c-format +msgid "%s busy, try again later" +msgstr "%s occupato, riprovare" + +#: plugins/sudoers/visudo.c:971 +#, c-format +msgid "unable to lock %s" +msgstr "impossibile bloccare %s" + +#: plugins/sudoers/visudo.c:972 +msgid "Edit anyway? [y/N]" +msgstr "Modificare comunque? [y/N]" + +#: plugins/sudoers/visudo.c:1067 +#, c-format +msgid "Warning: %s:%d:%d: unused %s \"%s\"" +msgstr "Attenzione: %s:%d:%d: inutilizzato %s \"%s\"" + +#: plugins/sudoers/visudo.c:1183 +#, c-format +msgid "" +"%s - safely edit the sudoers file\n" +"\n" +msgstr "%s - Modifica in sicurezza il file sudoers\n" + +#: plugins/sudoers/visudo.c:1185 +msgid "" +"\n" +"Options:\n" +" -c, --check check-only mode\n" +" -f, --file=sudoers specify sudoers file location\n" +" -h, --help display help message and exit\n" +" -q, --quiet less verbose (quiet) syntax error messages\n" +" -s, --strict strict syntax checking\n" +" -V, --version display version information and exit\n" +msgstr "" +"\n" +"Opzioni:\n" +" -c, --check Modalità solo verifica\n" +" -f, --file=sudoers Specifica la posizione del file sudoers\n" +" -h, --help Visualizza il messaggio di aiuto ed esce\n" +" -q, --quiet Messaggi di errore meno prolissi\n" +" -s, --strict Verifica precisa della sintassi\n" +" -V, --version Visualizza la versione ed esce\n" + +#: toke.l:187 +msgid "empty string" +msgstr "stringa vuota" + +#: toke.l:199 toke.l:503 +msgid "empty group" +msgstr "gruppo vuoto" + +#: toke.l:209 toke.l:501 +msgid "empty netgroup" +msgstr "netgroup vuoto" + +#: toke.l:305 toke.l:317 toke.l:329 toke.l:345 toke.l:364 toke.l:404 +msgid "invalid line continuation" +msgstr "continuazione riga non valida" + +#: toke.l:540 toke.l:552 +msgid "invalid IPv6 address" +msgstr "indirizzo IPv6 non valido" + +#: toke.l:779 +msgid "unexpected line break in string" +msgstr "interruzione riga non attesa nella stringa" + +#: toke.l:1109 +msgid "too many levels of includes" +msgstr "troppi livelli di inclusioni" diff --git a/plugins/sudoers/po/ja.mo b/plugins/sudoers/po/ja.mo new file mode 100644 index 0000000..d8e878b Binary files /dev/null and b/plugins/sudoers/po/ja.mo differ diff --git a/plugins/sudoers/po/ja.po b/plugins/sudoers/po/ja.po new file mode 100644 index 0000000..3145777 --- /dev/null +++ b/plugins/sudoers/po/ja.po @@ -0,0 +1,4150 @@ +# Japanese messages for sudoers +# This file is put in the public domain. +# Yasuaki Taniguchi , 2011. +# Takeshi Hamasaki , 2012, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023. +msgid "" +msgstr "" +"Project-Id-Version: sudoers 1.9.13b2\n" +"Report-Msgid-Bugs-To: https://bugzilla.sudo.ws\n" +"POT-Creation-Date: 2023-01-24 13:11-0700\n" +"PO-Revision-Date: 2023-02-05 11:43+0900\n" +"Last-Translator: Takeshi Hamasaki \n" +"Language-Team: Japanese \n" +"Language: ja\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Poedit-Basepath: sudo-1.9.12b2\n" +"X-Generator: Poedit 2.4.2\n" +"X-Poedit-SearchPath-0: .\n" + +#: confstr.sh:1 gram.y:1220 plugins/sudoers/logging.c:866 +msgid "syntax error" +msgstr "構文エラー" + +#: confstr.sh:2 +msgid "%p's password: " +msgstr "%p のパスワード:" + +#: confstr.sh:3 +msgid "[sudo] password for %p: " +msgstr "[sudo] %p のパスワード:" + +#: confstr.sh:4 +msgid "Password: " +msgstr "パスワード: " + +#: confstr.sh:5 +msgid "*** SECURITY information for %h ***" +msgstr "*** %h のセキュリティ情報 ***" + +#: confstr.sh:6 +msgid "Sorry, try again." +msgstr "残念、また試してください。" + +#: gram.y:237 gram.y:304 gram.y:313 gram.y:322 gram.y:332 gram.y:342 +#: gram.y:366 gram.y:393 gram.y:402 gram.y:410 gram.y:419 gram.y:428 +#: gram.y:502 gram.y:512 gram.y:524 gram.y:572 gram.y:581 gram.y:590 +#: gram.y:599 gram.y:731 gram.y:739 gram.y:750 gram.y:762 gram.y:781 +#: gram.y:944 gram.y:949 gram.y:957 gram.y:971 gram.y:977 gram.y:1099 +#: gram.y:1108 gram.y:1116 gram.y:1125 gram.y:1134 gram.y:1163 gram.y:1172 +#: gram.y:1180 gram.y:1280 gram.y:1410 gram.y:1777 gram.y:1827 +#: lib/eventlog/eventlog.c:235 lib/eventlog/eventlog.c:312 +#: lib/eventlog/eventlog.c:757 lib/eventlog/eventlog.c:834 +#: lib/eventlog/eventlog.c:1135 lib/iolog/iolog_filter.c:142 +#: lib/iolog/iolog_filter.c:202 lib/iolog/iolog_filter.c:233 +#: lib/iolog/iolog_json.c:150 lib/iolog/iolog_json.c:382 +#: lib/iolog/iolog_json.c:412 lib/iolog/iolog_legacy.c:100 +#: lib/iolog/iolog_legacy.c:111 lib/iolog/iolog_legacy.c:123 +#: lib/iolog/iolog_legacy.c:133 lib/iolog/iolog_legacy.c:139 +#: lib/iolog/iolog_loginfo.c:76 lib/iolog/iolog_loginfo.c:212 +#: logsrvd/iolog_writer.c:95 logsrvd/iolog_writer.c:100 +#: logsrvd/iolog_writer.c:134 logsrvd/iolog_writer.c:182 +#: logsrvd/iolog_writer.c:215 logsrvd/iolog_writer.c:225 +#: logsrvd/iolog_writer.c:254 logsrvd/iolog_writer.c:275 +#: logsrvd/iolog_writer.c:287 logsrvd/iolog_writer.c:297 +#: logsrvd/iolog_writer.c:307 logsrvd/iolog_writer.c:317 +#: logsrvd/iolog_writer.c:329 logsrvd/iolog_writer.c:364 +#: logsrvd/iolog_writer.c:370 logsrvd/iolog_writer.c:377 +#: logsrvd/iolog_writer.c:383 logsrvd/iolog_writer.c:567 +#: logsrvd/logsrv_util.c:69 logsrvd/logsrvd.c:301 logsrvd/logsrvd.c:310 +#: logsrvd/logsrvd.c:1050 logsrvd/logsrvd.c:1113 logsrvd/logsrvd.c:1582 +#: logsrvd/logsrvd.c:1587 logsrvd/logsrvd.c:1771 logsrvd/logsrvd.c:1988 +#: logsrvd/logsrvd_conf.c:357 logsrvd/logsrvd_conf.c:370 +#: logsrvd/logsrvd_conf.c:511 logsrvd/logsrvd_conf.c:534 +#: logsrvd/logsrvd_conf.c:538 logsrvd/logsrvd_conf.c:556 +#: logsrvd/logsrvd_conf.c:626 logsrvd/logsrvd_conf.c:650 +#: logsrvd/logsrvd_conf.c:678 logsrvd/logsrvd_conf.c:692 +#: logsrvd/logsrvd_conf.c:706 logsrvd/logsrvd_conf.c:720 +#: logsrvd/logsrvd_conf.c:734 logsrvd/logsrvd_conf.c:748 +#: logsrvd/logsrvd_conf.c:829 logsrvd/logsrvd_conf.c:1036 +#: logsrvd/logsrvd_conf.c:1053 logsrvd/logsrvd_conf.c:1448 +#: logsrvd/logsrvd_conf.c:1595 logsrvd/logsrvd_conf.c:1621 +#: logsrvd/logsrvd_conf.c:1633 logsrvd/logsrvd_conf.c:1640 +#: logsrvd/logsrvd_conf.c:1646 logsrvd/logsrvd_conf.c:1743 +#: logsrvd/logsrvd_journal.c:76 logsrvd/logsrvd_journal.c:216 +#: logsrvd/logsrvd_journal.c:217 logsrvd/logsrvd_journal.c:273 +#: logsrvd/logsrvd_journal.c:433 logsrvd/logsrvd_journal.c:435 +#: logsrvd/logsrvd_local.c:215 logsrvd/logsrvd_local.c:216 +#: logsrvd/logsrvd_local.c:278 logsrvd/logsrvd_local.c:279 +#: logsrvd/logsrvd_local.c:417 logsrvd/logsrvd_local.c:466 +#: logsrvd/logsrvd_local.c:467 logsrvd/logsrvd_local.c:472 +#: logsrvd/logsrvd_local.c:473 logsrvd/logsrvd_queue.c:159 +#: logsrvd/logsrvd_queue.c:189 logsrvd/logsrvd_queue.c:266 +#: logsrvd/logsrvd_relay.c:444 logsrvd/logsrvd_relay.c:743 +#: logsrvd/logsrvd_relay.c:850 logsrvd/sendlog.c:251 logsrvd/sendlog.c:260 +#: logsrvd/sendlog.c:291 logsrvd/sendlog.c:338 logsrvd/sendlog.c:615 +#: logsrvd/sendlog.c:1801 plugins/sudoers/audit.c:116 +#: plugins/sudoers/auth/bsdauth.c:150 plugins/sudoers/auth/kerb5.c:121 +#: plugins/sudoers/auth/kerb5.c:148 plugins/sudoers/auth/pam.c:687 +#: plugins/sudoers/auth/rfc1938.c:111 plugins/sudoers/auth/sia.c:59 +#: plugins/sudoers/check_aliases.c:168 plugins/sudoers/cvtsudoers.c:131 +#: plugins/sudoers/cvtsudoers.c:175 plugins/sudoers/cvtsudoers.c:192 +#: plugins/sudoers/cvtsudoers.c:203 plugins/sudoers/cvtsudoers.c:333 +#: plugins/sudoers/cvtsudoers.c:372 plugins/sudoers/cvtsudoers.c:392 +#: plugins/sudoers/cvtsudoers.c:537 plugins/sudoers/cvtsudoers.c:670 +#: plugins/sudoers/cvtsudoers.c:688 plugins/sudoers/cvtsudoers.c:862 +#: plugins/sudoers/cvtsudoers.c:870 plugins/sudoers/cvtsudoers.c:1365 +#: plugins/sudoers/cvtsudoers.c:1369 plugins/sudoers/cvtsudoers.c:1471 +#: plugins/sudoers/cvtsudoers_csv.c:183 plugins/sudoers/cvtsudoers_csv.c:246 +#: plugins/sudoers/cvtsudoers_json.c:76 plugins/sudoers/cvtsudoers_ldif.c:151 +#: plugins/sudoers/cvtsudoers_ldif.c:194 plugins/sudoers/cvtsudoers_ldif.c:235 +#: plugins/sudoers/cvtsudoers_ldif.c:300 plugins/sudoers/cvtsudoers_ldif.c:376 +#: plugins/sudoers/cvtsudoers_ldif.c:430 plugins/sudoers/cvtsudoers_ldif.c:438 +#: plugins/sudoers/cvtsudoers_ldif.c:449 plugins/sudoers/cvtsudoers_ldif.c:456 +#: plugins/sudoers/cvtsudoers_ldif.c:468 plugins/sudoers/cvtsudoers_ldif.c:481 +#: plugins/sudoers/cvtsudoers_ldif.c:489 plugins/sudoers/cvtsudoers_ldif.c:636 +#: plugins/sudoers/cvtsudoers_merge.c:47 plugins/sudoers/cvtsudoers_merge.c:52 +#: plugins/sudoers/cvtsudoers_merge.c:353 +#: plugins/sudoers/cvtsudoers_merge.c:399 +#: plugins/sudoers/cvtsudoers_merge.c:446 +#: plugins/sudoers/cvtsudoers_merge.c:467 +#: plugins/sudoers/cvtsudoers_merge.c:553 +#: plugins/sudoers/cvtsudoers_merge.c:564 +#: plugins/sudoers/cvtsudoers_merge.c:633 +#: plugins/sudoers/cvtsudoers_merge.c:1158 +#: plugins/sudoers/cvtsudoers_merge.c:1231 plugins/sudoers/defaults.c:434 +#: plugins/sudoers/defaults.c:658 plugins/sudoers/defaults.c:1019 +#: plugins/sudoers/defaults.c:1187 plugins/sudoers/editor.c:197 +#: plugins/sudoers/env.c:263 plugins/sudoers/exptilde.c:92 +#: plugins/sudoers/filedigest.c:54 plugins/sudoers/filedigest.c:70 +#: plugins/sudoers/gc.c:57 plugins/sudoers/group_plugin.c:212 +#: plugins/sudoers/interfaces.c:68 plugins/sudoers/iolog.c:268 +#: plugins/sudoers/iolog.c:668 plugins/sudoers/iolog.c:694 +#: plugins/sudoers/ldap.c:184 plugins/sudoers/ldap.c:466 +#: plugins/sudoers/ldap.c:757 plugins/sudoers/ldap.c:921 +#: plugins/sudoers/ldap.c:1337 plugins/sudoers/ldap.c:1763 +#: plugins/sudoers/ldap.c:1800 plugins/sudoers/ldap.c:2016 +#: plugins/sudoers/ldap.c:2117 plugins/sudoers/ldap.c:2133 +#: plugins/sudoers/ldap_conf.c:218 plugins/sudoers/ldap_conf.c:250 +#: plugins/sudoers/ldap_conf.c:302 plugins/sudoers/ldap_conf.c:338 +#: plugins/sudoers/ldap_conf.c:444 plugins/sudoers/ldap_conf.c:459 +#: plugins/sudoers/ldap_conf.c:564 plugins/sudoers/ldap_conf.c:597 +#: plugins/sudoers/ldap_conf.c:689 plugins/sudoers/ldap_conf.c:771 +#: plugins/sudoers/ldap_util.c:294 plugins/sudoers/ldap_util.c:301 +#: plugins/sudoers/ldap_util.c:614 plugins/sudoers/linux_audit.c:86 +#: plugins/sudoers/log_client.c:117 plugins/sudoers/log_client.c:402 +#: plugins/sudoers/log_client.c:715 plugins/sudoers/log_client.c:736 +#: plugins/sudoers/log_client.c:1415 plugins/sudoers/log_client.c:1536 +#: plugins/sudoers/log_client.c:1636 plugins/sudoers/log_client.c:1972 +#: plugins/sudoers/log_client.c:2031 plugins/sudoers/logging.c:110 +#: plugins/sudoers/logging.c:189 plugins/sudoers/logging.c:457 +#: plugins/sudoers/logging.c:672 plugins/sudoers/logging.c:809 +#: plugins/sudoers/match_command.c:335 plugins/sudoers/match_command.c:603 +#: plugins/sudoers/match_command.c:654 plugins/sudoers/match_command.c:728 +#: plugins/sudoers/match_command.c:776 plugins/sudoers/match_digest.c:93 +#: plugins/sudoers/parse.c:267 plugins/sudoers/parse.c:284 +#: plugins/sudoers/parse.c:303 plugins/sudoers/parse.c:322 +#: plugins/sudoers/parse.c:339 plugins/sudoers/parse.c:362 +#: plugins/sudoers/parse.c:373 plugins/sudoers/parse_ldif.c:153 +#: plugins/sudoers/parse_ldif.c:184 plugins/sudoers/parse_ldif.c:253 +#: plugins/sudoers/parse_ldif.c:261 plugins/sudoers/parse_ldif.c:266 +#: plugins/sudoers/parse_ldif.c:342 plugins/sudoers/parse_ldif.c:353 +#: plugins/sudoers/parse_ldif.c:380 plugins/sudoers/parse_ldif.c:397 +#: plugins/sudoers/parse_ldif.c:409 plugins/sudoers/parse_ldif.c:413 +#: plugins/sudoers/parse_ldif.c:427 plugins/sudoers/parse_ldif.c:484 +#: plugins/sudoers/parse_ldif.c:598 plugins/sudoers/parse_ldif.c:628 +#: plugins/sudoers/parse_ldif.c:653 plugins/sudoers/parse_ldif.c:711 +#: plugins/sudoers/parse_ldif.c:728 plugins/sudoers/parse_ldif.c:756 +#: plugins/sudoers/parse_ldif.c:763 plugins/sudoers/policy.c:626 +#: plugins/sudoers/policy.c:1033 plugins/sudoers/prompt.c:93 +#: plugins/sudoers/pwutil.c:199 plugins/sudoers/pwutil.c:270 +#: plugins/sudoers/pwutil.c:348 plugins/sudoers/pwutil.c:522 +#: plugins/sudoers/pwutil.c:587 plugins/sudoers/pwutil.c:659 +#: plugins/sudoers/pwutil.c:857 plugins/sudoers/pwutil.c:945 +#: plugins/sudoers/pwutil.c:993 plugins/sudoers/pwutil.c:1052 +#: plugins/sudoers/sssd.c:145 plugins/sudoers/sssd.c:185 +#: plugins/sudoers/sssd.c:414 plugins/sudoers/sssd.c:479 +#: plugins/sudoers/sssd.c:505 plugins/sudoers/sssd.c:568 +#: plugins/sudoers/sssd.c:761 plugins/sudoers/strvec_join.c:53 +#: plugins/sudoers/stubs.c:112 plugins/sudoers/stubs.c:120 +#: plugins/sudoers/sudoers.c:354 plugins/sudoers/sudoers.c:380 +#: plugins/sudoers/sudoers.c:447 plugins/sudoers/sudoers.c:464 +#: plugins/sudoers/sudoers.c:505 plugins/sudoers/sudoers.c:849 +#: plugins/sudoers/sudoers.c:902 plugins/sudoers/sudoers.c:1054 +#: plugins/sudoers/sudoers.c:1114 plugins/sudoers/sudoers.c:1369 +#: plugins/sudoers/sudoreplay.c:559 plugins/sudoers/sudoreplay.c:562 +#: plugins/sudoers/sudoreplay.c:1278 plugins/sudoers/sudoreplay.c:1334 +#: plugins/sudoers/sudoreplay.c:1530 plugins/sudoers/sudoreplay.c:1534 +#: plugins/sudoers/testsudoers.c:120 plugins/sudoers/testsudoers.c:224 +#: plugins/sudoers/testsudoers.c:241 plugins/sudoers/testsudoers.c:588 +#: plugins/sudoers/timestamp.c:451 plugins/sudoers/timestamp.c:495 +#: plugins/sudoers/timestamp.c:1017 plugins/sudoers/timestamp.c:1146 +#: plugins/sudoers/toke_util.c:78 plugins/sudoers/toke_util.c:106 +#: plugins/sudoers/toke_util.c:131 plugins/sudoers/toke_util.c:161 +#: plugins/sudoers/toke_util.c:200 plugins/sudoers/tsdump.c:123 +#: plugins/sudoers/visudo.c:150 plugins/sudoers/visudo.c:385 +#: plugins/sudoers/visudo.c:391 plugins/sudoers/visudo.c:502 +#: plugins/sudoers/visudo.c:1056 toke.l:1031 toke.l:1163 toke.l:1234 +msgid "unable to allocate memory" +msgstr "メモリ割り当てを行えませんでした" + +#: gram.y:623 +msgid "a digest requires a path name" +msgstr "認証方式にはパスが必要です" + +#: gram.y:645 +msgid "values for \"CWD\" must start with a '/', '~', or '*'" +msgstr "\"CWD\" の値は '/', '~', または '*' で開始しなければいけません" + +#: gram.y:651 +msgid "\"CWD\" path too long" +msgstr "\"CWD\" パスが長すぎます" + +#: gram.y:661 +msgid "values for \"CHROOT\" must start with a '/', '~', or '*'" +msgstr "\"CHROOT\" の値は '/', '~', または '*' で開始しなければいけません" + +#: gram.y:667 +msgid "\"CHROOT\" path too long" +msgstr "\"CHROOT\" パスが長すぎます" + +#: gram.y:802 +#, c-format +msgid "syntax error, reserved word %s used as an alias name" +msgstr "構文エラー、予約語 %s がエイリアス名に使われています" + +#: gram.y:825 +msgid "invalid notbefore value" +msgstr "notbefore の値が無効です" + +#: gram.y:834 +msgid "invalid notafter value" +msgstr "notafter の値が無効です" + +#: gram.y:844 plugins/sudoers/policy.c:385 +msgid "timeout value too large" +msgstr "制限時間の値が大き過ぎます" + +#: gram.y:846 plugins/sudoers/policy.c:387 +msgid "invalid timeout value" +msgstr "時間制限値が無効です" + +#: gram.y:967 plugins/sudoers/sudoers.c:1072 +msgid "command too long" +msgstr "コマンド名が長すぎます" + +#: gram.y:1224 plugins/sudoers/check_aliases.c:96 +#: plugins/sudoers/defaults.c:1276 +#, c-format +msgid "%s:%d:%d: %s\n" +msgstr "%s:%d:%d: %s\n" + +#: gram.y:1278 +#, c-format +msgid "Alias \"%s\" already defined" +msgstr "別名 \"%s\" はすでに定義されています" + +#: gram.y:1777 gram.y:1827 lib/eventlog/eventlog.c:235 +#: lib/eventlog/eventlog.c:757 lib/eventlog/eventlog.c:830 +#: lib/eventlog/eventlog.c:833 lib/eventlog/eventlog.c:1135 +#: lib/iolog/iolog_filter.c:142 lib/iolog/iolog_filter.c:202 +#: lib/iolog/iolog_filter.c:232 lib/iolog/iolog_json.c:150 +#: lib/iolog/iolog_json.c:381 lib/iolog/iolog_json.c:412 +#: lib/iolog/iolog_legacy.c:100 lib/iolog/iolog_legacy.c:111 +#: lib/iolog/iolog_legacy.c:123 lib/iolog/iolog_legacy.c:133 +#: lib/iolog/iolog_legacy.c:139 lib/iolog/iolog_loginfo.c:76 +#: lib/iolog/iolog_loginfo.c:212 logsrvd/iolog_writer.c:95 +#: logsrvd/iolog_writer.c:100 logsrvd/iolog_writer.c:134 +#: logsrvd/iolog_writer.c:171 logsrvd/iolog_writer.c:181 +#: logsrvd/iolog_writer.c:194 logsrvd/iolog_writer.c:214 +#: logsrvd/iolog_writer.c:224 logsrvd/iolog_writer.c:243 +#: logsrvd/iolog_writer.c:253 logsrvd/iolog_writer.c:264 +#: logsrvd/iolog_writer.c:274 logsrvd/iolog_writer.c:286 +#: logsrvd/iolog_writer.c:296 logsrvd/iolog_writer.c:306 +#: logsrvd/iolog_writer.c:316 logsrvd/iolog_writer.c:328 +#: logsrvd/iolog_writer.c:364 logsrvd/iolog_writer.c:370 +#: logsrvd/iolog_writer.c:377 logsrvd/iolog_writer.c:383 +#: logsrvd/iolog_writer.c:567 logsrvd/logsrv_util.c:69 logsrvd/logsrvd.c:301 +#: logsrvd/logsrvd.c:310 logsrvd/logsrvd.c:453 logsrvd/logsrvd.c:490 +#: logsrvd/logsrvd.c:522 logsrvd/logsrvd.c:576 logsrvd/logsrvd.c:611 +#: logsrvd/logsrvd.c:660 logsrvd/logsrvd.c:696 logsrvd/logsrvd.c:732 +#: logsrvd/logsrvd.c:1124 logsrvd/logsrvd.c:1439 logsrvd/logsrvd.c:1446 +#: logsrvd/logsrvd.c:1582 logsrvd/logsrvd.c:1587 logsrvd/logsrvd.c:1771 +#: logsrvd/logsrvd.c:1988 logsrvd/logsrvd_conf.c:357 +#: logsrvd/logsrvd_conf.c:370 logsrvd/logsrvd_conf.c:511 +#: logsrvd/logsrvd_conf.c:534 logsrvd/logsrvd_conf.c:538 +#: logsrvd/logsrvd_conf.c:556 logsrvd/logsrvd_conf.c:626 +#: logsrvd/logsrvd_conf.c:649 logsrvd/logsrvd_conf.c:678 +#: logsrvd/logsrvd_conf.c:692 logsrvd/logsrvd_conf.c:706 +#: logsrvd/logsrvd_conf.c:720 logsrvd/logsrvd_conf.c:734 +#: logsrvd/logsrvd_conf.c:748 logsrvd/logsrvd_conf.c:829 +#: logsrvd/logsrvd_conf.c:1036 logsrvd/logsrvd_conf.c:1053 +#: logsrvd/logsrvd_conf.c:1448 logsrvd/logsrvd_conf.c:1595 +#: logsrvd/logsrvd_conf.c:1621 logsrvd/logsrvd_conf.c:1633 +#: logsrvd/logsrvd_conf.c:1640 logsrvd/logsrvd_conf.c:1646 +#: logsrvd/logsrvd_conf.c:1742 logsrvd/logsrvd_journal.c:76 +#: logsrvd/logsrvd_journal.c:125 logsrvd/logsrvd_journal.c:216 +#: logsrvd/logsrvd_journal.c:246 logsrvd/logsrvd_journal.c:250 +#: logsrvd/logsrvd_journal.c:258 logsrvd/logsrvd_journal.c:281 +#: logsrvd/logsrvd_journal.c:285 logsrvd/logsrvd_journal.c:433 +#: logsrvd/logsrvd_local.c:215 logsrvd/logsrvd_local.c:278 +#: logsrvd/logsrvd_local.c:466 logsrvd/logsrvd_local.c:472 +#: logsrvd/logsrvd_local.c:491 logsrvd/logsrvd_queue.c:158 +#: logsrvd/logsrvd_queue.c:189 logsrvd/logsrvd_queue.c:266 +#: logsrvd/sendlog.c:251 logsrvd/sendlog.c:260 logsrvd/sendlog.c:291 +#: logsrvd/sendlog.c:338 logsrvd/sendlog.c:615 logsrvd/sendlog.c:1503 +#: logsrvd/sendlog.c:1510 logsrvd/sendlog.c:1733 logsrvd/sendlog.c:1801 +#: logsrvd/tls_init.c:305 logsrvd/tls_init.c:329 logsrvd/tls_init.c:340 +#: plugins/sudoers/audit.c:116 plugins/sudoers/auth/pam.c:502 +#: plugins/sudoers/auth/pam.c:687 plugins/sudoers/auth/rfc1938.c:111 +#: plugins/sudoers/check_aliases.c:168 plugins/sudoers/cvtsudoers.c:131 +#: plugins/sudoers/cvtsudoers.c:174 plugins/sudoers/cvtsudoers.c:191 +#: plugins/sudoers/cvtsudoers.c:202 plugins/sudoers/cvtsudoers.c:332 +#: plugins/sudoers/cvtsudoers.c:536 plugins/sudoers/cvtsudoers.c:669 +#: plugins/sudoers/cvtsudoers.c:687 plugins/sudoers/cvtsudoers.c:862 +#: plugins/sudoers/cvtsudoers.c:869 plugins/sudoers/cvtsudoers.c:1365 +#: plugins/sudoers/cvtsudoers.c:1369 plugins/sudoers/cvtsudoers.c:1471 +#: plugins/sudoers/cvtsudoers_csv.c:182 plugins/sudoers/cvtsudoers_csv.c:245 +#: plugins/sudoers/cvtsudoers_json.c:75 plugins/sudoers/cvtsudoers_ldif.c:150 +#: plugins/sudoers/cvtsudoers_ldif.c:193 plugins/sudoers/cvtsudoers_ldif.c:234 +#: plugins/sudoers/cvtsudoers_ldif.c:299 plugins/sudoers/cvtsudoers_ldif.c:375 +#: plugins/sudoers/cvtsudoers_ldif.c:429 plugins/sudoers/cvtsudoers_ldif.c:437 +#: plugins/sudoers/cvtsudoers_ldif.c:448 plugins/sudoers/cvtsudoers_ldif.c:455 +#: plugins/sudoers/cvtsudoers_ldif.c:467 plugins/sudoers/cvtsudoers_ldif.c:480 +#: plugins/sudoers/cvtsudoers_ldif.c:488 plugins/sudoers/cvtsudoers_ldif.c:635 +#: plugins/sudoers/cvtsudoers_merge.c:47 plugins/sudoers/cvtsudoers_merge.c:51 +#: plugins/sudoers/cvtsudoers_merge.c:353 +#: plugins/sudoers/cvtsudoers_merge.c:399 +#: plugins/sudoers/cvtsudoers_merge.c:445 +#: plugins/sudoers/cvtsudoers_merge.c:466 +#: plugins/sudoers/cvtsudoers_merge.c:553 +#: plugins/sudoers/cvtsudoers_merge.c:561 +#: plugins/sudoers/cvtsudoers_merge.c:564 +#: plugins/sudoers/cvtsudoers_merge.c:630 +#: plugins/sudoers/cvtsudoers_merge.c:633 +#: plugins/sudoers/cvtsudoers_merge.c:1157 +#: plugins/sudoers/cvtsudoers_merge.c:1231 plugins/sudoers/defaults.c:434 +#: plugins/sudoers/defaults.c:658 plugins/sudoers/defaults.c:1019 +#: plugins/sudoers/defaults.c:1187 plugins/sudoers/editor.c:197 +#: plugins/sudoers/env.c:263 plugins/sudoers/exptilde.c:92 +#: plugins/sudoers/filedigest.c:54 plugins/sudoers/filedigest.c:70 +#: plugins/sudoers/gc.c:57 plugins/sudoers/group_plugin.c:211 +#: plugins/sudoers/interfaces.c:68 plugins/sudoers/iolog.c:268 +#: plugins/sudoers/iolog.c:668 plugins/sudoers/iolog.c:694 +#: plugins/sudoers/ldap.c:184 plugins/sudoers/ldap.c:466 +#: plugins/sudoers/ldap.c:757 plugins/sudoers/ldap.c:921 +#: plugins/sudoers/ldap.c:1337 plugins/sudoers/ldap.c:1763 +#: plugins/sudoers/ldap.c:1800 plugins/sudoers/ldap.c:2016 +#: plugins/sudoers/ldap.c:2117 plugins/sudoers/ldap.c:2133 +#: plugins/sudoers/ldap_conf.c:218 plugins/sudoers/ldap_conf.c:250 +#: plugins/sudoers/ldap_conf.c:302 plugins/sudoers/ldap_conf.c:338 +#: plugins/sudoers/ldap_conf.c:444 plugins/sudoers/ldap_conf.c:459 +#: plugins/sudoers/ldap_conf.c:564 plugins/sudoers/ldap_conf.c:597 +#: plugins/sudoers/ldap_conf.c:688 plugins/sudoers/ldap_conf.c:771 +#: plugins/sudoers/ldap_util.c:293 plugins/sudoers/ldap_util.c:300 +#: plugins/sudoers/ldap_util.c:614 plugins/sudoers/linux_audit.c:86 +#: plugins/sudoers/log_client.c:117 plugins/sudoers/log_client.c:228 +#: plugins/sudoers/log_client.c:250 plugins/sudoers/log_client.c:264 +#: plugins/sudoers/log_client.c:402 plugins/sudoers/log_client.c:715 +#: plugins/sudoers/log_client.c:736 plugins/sudoers/log_client.c:1415 +#: plugins/sudoers/log_client.c:1536 plugins/sudoers/log_client.c:1636 +#: plugins/sudoers/log_client.c:1972 plugins/sudoers/log_client.c:2031 +#: plugins/sudoers/logging.c:110 plugins/sudoers/logging.c:188 +#: plugins/sudoers/logging.c:189 plugins/sudoers/logging.c:457 +#: plugins/sudoers/logging.c:672 plugins/sudoers/logging.c:809 +#: plugins/sudoers/logging.c:880 plugins/sudoers/logging.c:892 +#: plugins/sudoers/match_command.c:334 plugins/sudoers/match_command.c:602 +#: plugins/sudoers/match_command.c:653 plugins/sudoers/match_command.c:728 +#: plugins/sudoers/match_command.c:775 plugins/sudoers/match_digest.c:93 +#: plugins/sudoers/parse.c:266 plugins/sudoers/parse.c:283 +#: plugins/sudoers/parse.c:302 plugins/sudoers/parse.c:321 +#: plugins/sudoers/parse.c:338 plugins/sudoers/parse.c:361 +#: plugins/sudoers/parse.c:372 plugins/sudoers/parse_ldif.c:152 +#: plugins/sudoers/parse_ldif.c:183 plugins/sudoers/parse_ldif.c:252 +#: plugins/sudoers/parse_ldif.c:260 plugins/sudoers/parse_ldif.c:265 +#: plugins/sudoers/parse_ldif.c:341 plugins/sudoers/parse_ldif.c:352 +#: plugins/sudoers/parse_ldif.c:379 plugins/sudoers/parse_ldif.c:396 +#: plugins/sudoers/parse_ldif.c:408 plugins/sudoers/parse_ldif.c:412 +#: plugins/sudoers/parse_ldif.c:426 plugins/sudoers/parse_ldif.c:484 +#: plugins/sudoers/parse_ldif.c:598 plugins/sudoers/parse_ldif.c:627 +#: plugins/sudoers/parse_ldif.c:652 plugins/sudoers/parse_ldif.c:710 +#: plugins/sudoers/parse_ldif.c:727 plugins/sudoers/parse_ldif.c:755 +#: plugins/sudoers/parse_ldif.c:762 plugins/sudoers/policy.c:154 +#: plugins/sudoers/policy.c:163 plugins/sudoers/policy.c:172 +#: plugins/sudoers/policy.c:201 plugins/sudoers/policy.c:370 +#: plugins/sudoers/policy.c:385 plugins/sudoers/policy.c:387 +#: plugins/sudoers/policy.c:425 plugins/sudoers/policy.c:434 +#: plugins/sudoers/policy.c:482 plugins/sudoers/policy.c:492 +#: plugins/sudoers/policy.c:501 plugins/sudoers/policy.c:510 +#: plugins/sudoers/policy.c:519 plugins/sudoers/policy.c:626 +#: plugins/sudoers/policy.c:1033 plugins/sudoers/prompt.c:93 +#: plugins/sudoers/pwutil.c:199 plugins/sudoers/pwutil.c:270 +#: plugins/sudoers/pwutil.c:348 plugins/sudoers/pwutil.c:522 +#: plugins/sudoers/pwutil.c:587 plugins/sudoers/pwutil.c:659 +#: plugins/sudoers/pwutil.c:857 plugins/sudoers/pwutil.c:945 +#: plugins/sudoers/pwutil.c:993 plugins/sudoers/pwutil.c:1052 +#: plugins/sudoers/set_perms.c:363 plugins/sudoers/set_perms.c:706 +#: plugins/sudoers/set_perms.c:1073 plugins/sudoers/set_perms.c:1380 +#: plugins/sudoers/set_perms.c:1549 plugins/sudoers/sssd.c:144 +#: plugins/sudoers/sssd.c:185 plugins/sudoers/sssd.c:414 +#: plugins/sudoers/sssd.c:479 plugins/sudoers/sssd.c:505 +#: plugins/sudoers/sssd.c:568 plugins/sudoers/sssd.c:761 +#: plugins/sudoers/strvec_join.c:53 plugins/sudoers/stubs.c:112 +#: plugins/sudoers/stubs.c:120 plugins/sudoers/sudoers.c:354 +#: plugins/sudoers/sudoers.c:380 plugins/sudoers/sudoers.c:447 +#: plugins/sudoers/sudoers.c:464 plugins/sudoers/sudoers.c:505 +#: plugins/sudoers/sudoers.c:849 plugins/sudoers/sudoers.c:902 +#: plugins/sudoers/sudoers.c:1054 plugins/sudoers/sudoers.c:1114 +#: plugins/sudoers/sudoers.c:1369 plugins/sudoers/sudoreplay.c:559 +#: plugins/sudoers/sudoreplay.c:562 plugins/sudoers/sudoreplay.c:1278 +#: plugins/sudoers/sudoreplay.c:1334 plugins/sudoers/sudoreplay.c:1530 +#: plugins/sudoers/sudoreplay.c:1534 plugins/sudoers/testsudoers.c:120 +#: plugins/sudoers/testsudoers.c:224 plugins/sudoers/testsudoers.c:241 +#: plugins/sudoers/testsudoers.c:588 plugins/sudoers/timestamp.c:451 +#: plugins/sudoers/timestamp.c:495 plugins/sudoers/timestamp.c:1017 +#: plugins/sudoers/timestamp.c:1146 plugins/sudoers/toke_util.c:78 +#: plugins/sudoers/toke_util.c:106 plugins/sudoers/toke_util.c:131 +#: plugins/sudoers/toke_util.c:160 plugins/sudoers/toke_util.c:200 +#: plugins/sudoers/tsdump.c:123 plugins/sudoers/visudo.c:150 +#: plugins/sudoers/visudo.c:385 plugins/sudoers/visudo.c:391 +#: plugins/sudoers/visudo.c:502 plugins/sudoers/visudo.c:1056 toke.l:1031 +#: toke.l:1163 toke.l:1226 toke.l:1234 +#, c-format +msgid "%s: %s" +msgstr "%s: %s" + +#: lib/eventlog/eventlog.c:303 +#, c-format +msgid "unable to dup stdin: %m" +msgstr "標準入力を複製できません: %m" + +#: lib/eventlog/eventlog.c:345 +#, c-format +msgid "unable to execute %s: %m" +msgstr "%s を実行できません: %m" + +#: lib/eventlog/eventlog.c:393 plugins/sudoers/auth/aix_auth.c:198 +msgid "unable to fork" +msgstr "fork できません" + +#: lib/eventlog/eventlog.c:403 lib/eventlog/eventlog.c:468 +#, c-format +msgid "unable to fork: %m" +msgstr "fork できません: %m" + +#: lib/eventlog/eventlog.c:458 +#, c-format +msgid "unable to open pipe: %m" +msgstr "パイプを開けません: %m" + +#: lib/eventlog/eventlog.c:960 +#, c-format +msgid "%8s : %s" +msgstr "%8s : %s" + +#: lib/eventlog/eventlog.c:989 +#, c-format +msgid "%8s : (command continued) %s" +msgstr "%8s : (コマンド継続中) %s" + +#: lib/iolog/iolog_filter.c:133 plugins/sudoers/defaults.c:1242 +#: plugins/sudoers/sudoreplay.c:1290 plugins/sudoers/sudoreplay.c:1586 +#, c-format +msgid "invalid regular expression \"%s\": %s" +msgstr "無効な正規表現です \"%s\": %s" + +#: lib/iolog/iolog_json.c:140 +#, c-format +msgid "expected JSON_STRING, got %d" +msgstr "JSON_STRING を予期していたら、 %d でした" + +#: lib/iolog/iolog_json.c:145 +msgid "JSON_ARRAY too large" +msgstr "JSON_ARRAY が大きすぎます" + +#: lib/iolog/iolog_json.c:404 +msgid "missing double quote in name" +msgstr "名前に二重引用符がありません" + +#: lib/iolog/iolog_json.c:511 +msgid "missing JSON_OBJECT" +msgstr "JSON_OBJECT がありません" + +#: lib/iolog/iolog_json.c:515 +#, c-format +msgid "expected JSON_OBJECT, got %d" +msgstr "JSON_OBJECT を予期していたら、 %d でした" + +#: lib/iolog/iolog_json.c:632 +#, c-format +msgid "json stack exhausted (max %u frames)" +msgstr "JSON スタックを使い切りました(最大 %u フレーム)" + +#: lib/iolog/iolog_json.c:706 +msgid "objects must consist of name:value pairs" +msgstr "オブジェクトは 名前:値 のベアである必要があります" + +#: lib/iolog/iolog_json.c:711 lib/iolog/iolog_json.c:742 +#: lib/iolog/iolog_json.c:786 lib/iolog/iolog_json.c:808 +#: lib/iolog/iolog_json.c:830 lib/iolog/iolog_json.c:852 +#: lib/iolog/iolog_json.c:874 +msgid "missing separator between values" +msgstr "値の間の分離記号がありません" + +#: lib/iolog/iolog_json.c:726 lib/iolog/iolog_json.c:900 +msgid "unmatched close brace" +msgstr "余分な閉じ中括弧があります" + +#: lib/iolog/iolog_json.c:737 +msgid "unexpected array" +msgstr "予期せぬところに配列" + +#: lib/iolog/iolog_json.c:757 lib/iolog/iolog_json.c:903 +msgid "unmatched close bracket" +msgstr "余分な閉じ角括弧があります" + +#: lib/iolog/iolog_json.c:768 +msgid "unexpected string" +msgstr "予期せぬところに文字列" + +#: lib/iolog/iolog_json.c:779 +msgid "missing colon after name" +msgstr "名前の後にコロンがありません" + +#: lib/iolog/iolog_json.c:800 lib/iolog/iolog_json.c:822 +msgid "unexpected boolean" +msgstr "予期せぬところに真偽値" + +#: lib/iolog/iolog_json.c:844 +msgid "unexpected null" +msgstr "予期せぬところにNULL" + +#: lib/iolog/iolog_json.c:865 +msgid "unexpected number" +msgstr "予期せぬところに数値" + +#: lib/iolog/iolog_json.c:912 +msgid "parse error" +msgstr "構文解析エラー" + +#: lib/iolog/iolog_legacy.c:65 +#, c-format +msgid "%s: invalid log file" +msgstr "%s: 無効なログファイルのパス" + +#: lib/iolog/iolog_legacy.c:83 +#, c-format +msgid "%s: time stamp field is missing" +msgstr "%s: タイムスタンプのフィールドがありません" + +#: lib/iolog/iolog_legacy.c:89 +#, c-format +msgid "%s: time stamp %s: %s" +msgstr "%s: タイムスタンプ %s: %s" + +#: lib/iolog/iolog_legacy.c:96 +#, c-format +msgid "%s: user field is missing" +msgstr "%s: ユーザー名フィールドがありません" + +#: lib/iolog/iolog_legacy.c:107 +#, c-format +msgid "%s: runas user field is missing" +msgstr "%s: runasユーザー名フィールドがありません" + +#: lib/iolog/iolog_legacy.c:118 +#, c-format +msgid "%s: runas group field is missing" +msgstr "%s: runasグループ名フィールドがありません" + +#: lib/iolog/iolog_mkdirs.c:89 +#, c-format +msgid "%s exists but is not a directory (0%o)" +msgstr "%s が存在しますがディレクトリではありません (0%o)" + +#: lib/iolog/iolog_mkdirs.c:123 lib/iolog/iolog_mkdtemp.c:79 +#: logsrvd/iolog_writer.c:781 plugins/sudoers/timestamp.c:209 +#, c-format +msgid "unable to mkdir %s" +msgstr "ディレクトリ %s を作成できません" + +#: lib/iolog/iolog_mkdtemp.c:84 plugins/sudoers/visudo.c:757 +#: plugins/sudoers/visudo.c:791 plugins/sudoers/visudo.c:797 +#, c-format +msgid "unable to change mode of %s to 0%o" +msgstr "%s のアクセス権限のモードを 0%o に変更できません" + +#: lib/iolog/iolog_timing.c:261 +#, c-format +msgid "error reading timing file: %s" +msgstr "タイミングファイルの読み込みエラー: %s" + +#: lib/iolog/iolog_timing.c:268 +#, c-format +msgid "invalid timing file line: %s" +msgstr "無効なタイミングファイルの行です: %s" + +#: logsrvd/iolog_writer.c:65 +#, c-format +msgid "%s: protocol error: NULL key" +msgstr "%s: プロトコルエラー: key が NULL です" + +#: logsrvd/iolog_writer.c:69 +#, c-format +msgid "%s: protocol error: wrong type for %s" +msgstr "%s: プロトコルエラー: %s の型としては間違っています" + +#: logsrvd/iolog_writer.c:74 logsrvd/logsrvd_local.c:109 +#: logsrvd/logsrvd_local.c:123 logsrvd/logsrvd_local.c:131 +#: logsrvd/logsrvd_local.c:149 +#, c-format +msgid "%s: protocol error: NULL value found in %s" +msgstr "%s: プロトコルエラー: %s に NULL値が入っています" + +#: logsrvd/iolog_writer.c:141 plugins/sudoers/logging.c:980 +#: plugins/sudoers/policy.c:593 +msgid "unable to generate UUID" +msgstr "uuid を生成できません" + +#: logsrvd/iolog_writer.c:341 logsrvd/iolog_writer.c:346 +#: logsrvd/iolog_writer.c:351 logsrvd/iolog_writer.c:356 +#, c-format +msgid "%s: protocol error: %s missing from AcceptMessage" +msgstr "%s: プロトコルエラー: %s が AcceptMessage にありません" + +#: logsrvd/iolog_writer.c:417 +#, c-format +msgid "%s: unable to format session id" +msgstr "%s: セッションIDを整形できません" + +#: logsrvd/iolog_writer.c:431 logsrvd/iolog_writer.c:445 +#: logsrvd/iolog_writer.c:459 logsrvd/iolog_writer.c:474 +#: logsrvd/iolog_writer.c:488 logsrvd/iolog_writer.c:502 +#, c-format +msgid "%s: %s is not set" +msgstr "%s: %s は設定されていません" + +#: logsrvd/iolog_writer.c:538 logsrvd/iolog_writer.c:545 +#, c-format +msgid "unable to expand iolog path %s" +msgstr "iolog のパス %s を伸長できません" + +#: logsrvd/iolog_writer.c:563 +#, c-format +msgid "unable to create iolog path %s" +msgstr "iolog のパス %s を作成できません" + +#: logsrvd/iolog_writer.c:593 +#, c-format +msgid "invalid iofd %d" +msgstr "無効な iofd %d です" + +#: logsrvd/iolog_writer.c:613 +#, c-format +msgid "error closing iofd %d: %s" +msgstr "iofd %d を閉じる際にエラーが発生しました: %s" + +#: logsrvd/iolog_writer.c:633 +#, c-format +msgid "error flushing iofd %d: %s" +msgstr "iofd %d をフラッシュする際にエラーが発生しました: %s" + +#: logsrvd/iolog_writer.c:751 +#, c-format +msgid "invalid I/O log %s: %s referenced but not present" +msgstr "無効な I/O ログ %s: %s が参照されていますが存在しません" + +#: logsrvd/iolog_writer.c:763 logsrvd/logsrvd_journal.c:385 +#, c-format +msgid "%s: unable to find resume point [%lld, %ld]" +msgstr "%s: 復元ポイントが見つかりません [%lld, %ld]" + +#: logsrvd/iolog_writer.c:785 logsrvd/logsrvd_journal.c:428 +#: logsrvd/logsrvd_queue.c:115 logsrvd/tls_init.c:256 +#: plugins/sudoers/check.c:292 plugins/sudoers/cvtsudoers.c:730 +#: plugins/sudoers/cvtsudoers.c:751 plugins/sudoers/cvtsudoers.c:1431 +#: plugins/sudoers/cvtsudoers_csv.c:695 plugins/sudoers/cvtsudoers_json.c:898 +#: plugins/sudoers/cvtsudoers_ldif.c:709 plugins/sudoers/sudoers.c:1152 +#: plugins/sudoers/sudoers.c:1182 plugins/sudoers/sudoreplay.c:1496 +#: plugins/sudoers/timestamp.c:460 plugins/sudoers/tsdump.c:128 +#: plugins/sudoers/visudo.c:975 +#, c-format +msgid "unable to open %s" +msgstr "%s を開けません" + +#: logsrvd/iolog_writer.c:797 logsrvd/logsrv_util.c:105 +#: logsrvd/logsrv_util.c:112 plugins/sudoers/sudoreplay.c:355 +#: plugins/sudoers/sudoreplay.c:361 +#, c-format +msgid "unable to open %s/%s" +msgstr "%s/%s を開けません" + +#: logsrvd/iolog_writer.c:810 +#, c-format +msgid "unable to copy %s/%s to %s/%s: %s" +msgstr "%s/%s から %s/%s にコピーできません: %s" + +#: logsrvd/iolog_writer.c:839 logsrvd/logsrvd_journal.c:198 +#, c-format +msgid "unable to rename %s to %s" +msgstr "%s から %s に名前を変更できません" + +#: logsrvd/logsrv_util.c:147 logsrvd/logsrv_util.c:176 +#, c-format +msgid "%s/%s: unable to find resume point [%lld, %ld]" +msgstr "%s/%s: 復元ポイントが見つかりません [%lld, %ld]" + +#: logsrvd/logsrv_util.c:159 +#, c-format +msgid "missing I/O log file %s/%s" +msgstr "I/O ログファイル %s/%s がありません。" + +#: logsrvd/logsrv_util.c:166 +#, c-format +msgid "%s/%s: unable to seek forward %zu" +msgstr "%s/%s: 前方検索できません %zu" + +#: logsrvd/logsrvd.c:271 logsrvd/logsrvd_queue.c:135 +msgid "unable to connect to relay" +msgstr "リレーに接続できません" + +#: logsrvd/logsrvd.c:330 logsrvd/logsrvd_relay.c:842 +#, c-format +msgid "server message too large: %zu" +msgstr "サーバーメッセージが大き過ぎます: %zu" + +#: logsrvd/logsrvd.c:422 logsrvd/logsrvd.c:545 logsrvd/logsrvd.c:631 +#: logsrvd/logsrvd.c:873 logsrvd/logsrvd.c:887 logsrvd/logsrvd.c:1049 +#: logsrvd/logsrvd.c:1174 logsrvd/logsrvd.c:1347 logsrvd/logsrvd.c:1365 +#: logsrvd/logsrvd.c:1464 logsrvd/logsrvd.c:1589 logsrvd/logsrvd.c:1773 +#: logsrvd/logsrvd_journal.c:497 logsrvd/logsrvd_local.c:238 +#: logsrvd/logsrvd_queue.c:164 logsrvd/logsrvd_relay.c:172 +#: logsrvd/logsrvd_relay.c:249 logsrvd/logsrvd_relay.c:253 +#: logsrvd/logsrvd_relay.c:389 logsrvd/logsrvd_relay.c:581 +#: logsrvd/logsrvd_relay.c:742 logsrvd/logsrvd_relay.c:1131 +#: logsrvd/sendlog.c:1291 logsrvd/tls_client.c:136 logsrvd/tls_client.c:152 +#: logsrvd/tls_client.c:216 plugins/sudoers/audit.c:278 +#: plugins/sudoers/iolog.c:1031 plugins/sudoers/iolog.c:1164 +#: plugins/sudoers/iolog.c:1262 plugins/sudoers/log_client.c:121 +#: plugins/sudoers/log_client.c:343 plugins/sudoers/log_client.c:359 +#: plugins/sudoers/log_client.c:407 plugins/sudoers/log_client.c:611 +#: plugins/sudoers/log_client.c:618 plugins/sudoers/log_client.c:1103 +#: plugins/sudoers/log_client.c:1384 plugins/sudoers/log_client.c:1425 +#: plugins/sudoers/log_client.c:1433 plugins/sudoers/log_client.c:1592 +#: plugins/sudoers/log_client.c:1710 plugins/sudoers/log_client.c:2039 +#: plugins/sudoers/log_client.c:2047 plugins/sudoers/logging.c:147 +#: plugins/sudoers/logging.c:205 plugins/sudoers/sudoreplay.c:519 +#: plugins/sudoers/sudoreplay.c:566 plugins/sudoers/sudoreplay.c:808 +#: plugins/sudoers/sudoreplay.c:920 plugins/sudoers/sudoreplay.c:1011 +#: plugins/sudoers/sudoreplay.c:1026 plugins/sudoers/sudoreplay.c:1033 +#: plugins/sudoers/sudoreplay.c:1040 plugins/sudoers/sudoreplay.c:1047 +#: plugins/sudoers/sudoreplay.c:1054 plugins/sudoers/sudoreplay.c:1181 +msgid "unable to add event to queue" +msgstr "イベントをキューに追加できません" + +#: logsrvd/logsrvd.c:446 logsrvd/logsrvd.c:483 logsrvd/logsrvd.c:515 +#: logsrvd/logsrvd.c:569 logsrvd/logsrvd.c:648 logsrvd/logsrvd.c:684 +#: logsrvd/logsrvd.c:720 logsrvd/logsrvd.c:756 logsrvd/logsrvd_relay.c:510 +#: logsrvd/logsrvd_relay.c:543 +#, c-format +msgid "unexpected state %d for %s" +msgstr "予期しない状態 %d (%sの)" + +#: logsrvd/logsrvd.c:447 logsrvd/logsrvd.c:484 logsrvd/logsrvd.c:516 +#: logsrvd/logsrvd.c:570 logsrvd/logsrvd.c:649 logsrvd/logsrvd.c:685 +#: logsrvd/logsrvd.c:721 logsrvd/logsrvd.c:757 logsrvd/logsrvd_relay.c:512 +#: logsrvd/logsrvd_relay.c:545 +msgid "state machine error" +msgstr "状態マシンエラー" + +#: logsrvd/logsrvd.c:453 logsrvd/logsrvd.c:454 +msgid "invalid AcceptMessage" +msgstr "無効な AcceptMessage" + +#: logsrvd/logsrvd.c:490 logsrvd/logsrvd.c:491 +msgid "invalid RejectMessage" +msgstr "無効な RejectMessage" + +#: logsrvd/logsrvd.c:522 logsrvd/logsrvd.c:523 +msgid "invalid ExitMessage" +msgstr "無効な ExitMessage" + +#: logsrvd/logsrvd.c:576 logsrvd/logsrvd.c:577 +msgid "invalid RestartMessage" +msgstr "無効な RestartMessage" + +#: logsrvd/logsrvd.c:611 logsrvd/logsrvd.c:612 +msgid "invalid AlertMessage" +msgstr "無効な AlertMessage" + +#: logsrvd/logsrvd.c:653 logsrvd/logsrvd.c:689 logsrvd/logsrvd.c:725 +#, c-format +msgid "%s: unexpected IoBuffer" +msgstr "%s: 予期しない IoBuffer" + +#: logsrvd/logsrvd.c:654 logsrvd/logsrvd.c:690 logsrvd/logsrvd.c:726 +msgid "protocol error" +msgstr "プロトコルエラーです" + +#: logsrvd/logsrvd.c:660 logsrvd/logsrvd.c:661 +msgid "invalid IoBuffer" +msgstr "無効な IoBuffer です" + +#: logsrvd/logsrvd.c:696 logsrvd/logsrvd.c:697 +msgid "invalid ChangeWindowSize" +msgstr "無効な ChangeWindowSize" + +#: logsrvd/logsrvd.c:732 logsrvd/logsrvd.c:733 +msgid "invalid CommandSuspend" +msgstr "無効な CommandSuspend" + +#: logsrvd/logsrvd.c:782 logsrvd/logsrvd_journal.c:296 +#: logsrvd/logsrvd_relay.c:652 logsrvd/sendlog.c:1192 +#: plugins/sudoers/log_client.c:1582 +#, c-format +msgid "unable to unpack %s size %zu" +msgstr "%s を伸長できません (長さ %zu )" + +#: logsrvd/logsrvd.c:827 logsrvd/logsrvd_journal.c:370 +#: logsrvd/logsrvd_relay.c:676 +#, c-format +msgid "unexpected type_case value %d in %s from %s" +msgstr "予期しない type_case の値 %d が %s の中にあります、 %s から出てきたものです。" + +#: logsrvd/logsrvd.c:829 +msgid "unrecognized ClientMessage type" +msgstr "認識できないクライアントメッセージのタイプです" + +#: logsrvd/logsrvd.c:919 +#, c-format +msgid "timed out writing to client %s" +msgstr "クライアント %s への書き込みがタイムアウト" + +#: logsrvd/logsrvd.c:924 logsrvd/logsrvd_relay.c:914 logsrvd/sendlog.c:1395 +#, c-format +msgid "missing write buffer for client %s" +msgstr "クライアント %s への書き込みバッファがありません" + +#: logsrvd/logsrvd.c:1020 +#, c-format +msgid "timed out reading from client %s" +msgstr "クライアント %s からの読み込みがタイムアウト" + +#: logsrvd/logsrvd.c:1061 logsrvd/logsrvd_relay.c:777 +#, c-format +msgid "EOF from %s without proper TLS shutdown" +msgstr "%s からの EOF が適切な TLS 通信の終了なしに現れました" + +#: logsrvd/logsrvd.c:1105 logsrvd/logsrvd_relay.c:205 logsrvd/sendlog.c:322 +#: plugins/sudoers/log_client.c:721 +#, c-format +msgid "client message too large: %zu" +msgstr "クライアントメッセージが大き過ぎます: %zu" + +#: logsrvd/logsrvd.c:1106 logsrvd/logsrvd_journal.c:259 +#: logsrvd/logsrvd_journal.c:260 +msgid "client message too large" +msgstr "クライアントメッセージが大き過ぎます" + +#: logsrvd/logsrvd.c:1124 logsrvd/logsrvd.c:1125 +msgid "invalid ClientMessage" +msgstr "無効な ClientMessage" + +#: logsrvd/logsrvd.c:1425 +msgid "unable to get remote IP addr" +msgstr "リモートIPアドレスを取得できません" + +#: logsrvd/logsrvd.c:1456 logsrvd/tls_client.c:203 +#: plugins/sudoers/log_client.c:281 +#, c-format +msgid "Unable to attach user data to the ssl object: %s" +msgstr "ユーザーデータをSSLオブジェクトに添付することができません: %s" + +#: logsrvd/logsrvd.c:1639 logsrvd/logsrvd.c:1992 +msgid "unable to setup listen socket" +msgstr "接続待ちソケットを準備できません" + +#: logsrvd/logsrvd.c:1756 +#, c-format +msgid "unexpected signal %d" +msgstr "予期しないシグナル %d" + +#: logsrvd/logsrvd.c:1894 +msgid "sudo log server" +msgstr "Sudo ログサーバー" + +#: logsrvd/logsrvd.c:1896 logsrvd/sendlog.c:121 +msgid "Options:" +msgstr "オプション:" + +#: logsrvd/logsrvd.c:1898 +msgid "path to configuration file" +msgstr "設定ファイルのパス" + +#: logsrvd/logsrvd.c:1900 logsrvd/sendlog.c:123 +msgid "display help message and exit" +msgstr "ヘルプメッセージを表示して終了する" + +#: logsrvd/logsrvd.c:1902 +msgid "do not fork, run in the foreground" +msgstr "フォークせずに、フォアグラウンドで実行する" + +#: logsrvd/logsrvd.c:1904 +msgid "percent chance connections will drop" +msgstr "接続が切れる割合(%)" + +#: logsrvd/logsrvd.c:1906 logsrvd/sendlog.c:153 +msgid "display version information and exit" +msgstr "バージョン情報を表示して終了する" + +#: logsrvd/logsrvd.c:1956 logsrvd/sendlog.c:1702 +msgid "Protobuf-C version 1.3 or higher required" +msgstr "Protobuf-C バージョン 1.3 以上が必要です" + +#: logsrvd/logsrvd.c:1972 +#, c-format +msgid "invalid random drop value: %s" +msgstr "無効な乱数ドロップ値です: %s" + +#: logsrvd/logsrvd.c:1975 logsrvd/sendlog.c:1756 +#: plugins/sudoers/cvtsudoers.c:246 plugins/sudoers/sudoreplay.c:294 +#: plugins/sudoers/visudo.c:182 +#, c-format +msgid "%s version %s\n" +msgstr "%s バージョン %s\n" + +#: logsrvd/logsrvd_conf.c:422 plugins/sudoers/check.c:358 +#: plugins/sudoers/exptilde.c:85 plugins/sudoers/iolog.c:122 +#: plugins/sudoers/policy.c:1271 plugins/sudoers/sudoers.c:512 +#: plugins/sudoers/sudoers.c:1411 plugins/sudoers/testsudoers.c:215 +#: plugins/sudoers/testsudoers.c:382 +#, c-format +msgid "unknown user %s" +msgstr "不明なユーザー %s" + +#: logsrvd/logsrvd_conf.c:439 plugins/sudoers/iolog.c:148 +#: plugins/sudoers/sudoers.c:517 plugins/sudoers/sudoers.c:1445 +#: plugins/sudoers/testsudoers.c:406 +#, c-format +msgid "unknown group %s" +msgstr "不明なグループ %s" + +#: logsrvd/logsrvd_conf.c:457 +#, c-format +msgid "unable to parse iolog mode %s" +msgstr "iolog モード %s を解析できません" + +#: logsrvd/logsrvd_conf.c:474 logsrvd/logsrvd_conf.c:1243 +#, c-format +msgid "invalid value for %s: %s" +msgstr "%s には無効な値: %s" + +#: logsrvd/logsrvd_conf.c:527 +msgid "TLS not supported" +msgstr "TLS がサポートされていません" + +#: logsrvd/logsrvd_conf.c:549 +#, c-format +msgid "%s:%s" +msgstr "%s:%s" + +#: logsrvd/logsrvd_conf.c:622 logsrvd/logsrvd_conf.c:1032 +#, c-format +msgid "%s: not a fully qualified path" +msgstr "%s: 完全修飾パスではありません" + +#: logsrvd/logsrvd_conf.c:951 logsrvd/logsrvd_conf.c:967 +#: logsrvd/logsrvd_conf.c:1676 +#, c-format +msgid "unknown syslog facility %s" +msgstr "未知の syslog ファシリティ %s" + +#: logsrvd/logsrvd_conf.c:983 logsrvd/logsrvd_conf.c:999 +#: logsrvd/logsrvd_conf.c:1015 logsrvd/logsrvd_conf.c:1680 +#: logsrvd/logsrvd_conf.c:1684 logsrvd/logsrvd_conf.c:1688 +#, c-format +msgid "unknown syslog priority %s" +msgstr "未知の syslog プライオリティ %s" + +#: logsrvd/logsrvd_conf.c:1197 +#, c-format +msgid "%s:%d unmatched '[': %s" +msgstr "%s:%d 対応しない '[': %s" + +#: logsrvd/logsrvd_conf.c:1203 +#, c-format +msgid "%s:%d garbage after ']': %s" +msgstr "%s:%d ']' の後に余計なものがあります: %s" + +#: logsrvd/logsrvd_conf.c:1215 +#, c-format +msgid "%s:%d invalid config section: %s" +msgstr "%s:%d 無効な config セクション: %s" + +#: logsrvd/logsrvd_conf.c:1223 +#, c-format +msgid "%s:%d invalid configuration line: %s" +msgstr "%s:%d 無効な設定の行: %s" + +#: logsrvd/logsrvd_conf.c:1229 +#, c-format +msgid "%s:%d expected section name: %s" +msgstr "%s:%d セクション名が必要です: %s" + +#: logsrvd/logsrvd_conf.c:1251 +#, c-format +msgid "%s:%d [%s] illegal key: %s" +msgstr "%s:%d [%s] 適合しないキー: %s" + +#: logsrvd/logsrvd_conf.c:1281 plugins/sudoers/cvtsudoers.c:268 +#: plugins/sudoers/logging.c:1033 +#, c-format +msgid "unable to open log file %s" +msgstr "ログファイル %s を開けません" + +#: logsrvd/logsrvd_conf.c:1763 +msgid "unable to initialize server TLS context" +msgstr "サーバーTLSコンテキストを初期化できません" + +#: logsrvd/logsrvd_conf.c:1783 +msgid "unable to initialize relay TLS context" +msgstr "リレーTLSコンテキストを初期化できません" + +#: logsrvd/logsrvd_journal.c:149 logsrvd/logsrvd_journal.c:424 +#: logsrvd/logsrvd_journal.c:429 +msgid "unable to create journal file" +msgstr "ジャーナルファイルを作成できません" + +#: logsrvd/logsrvd_journal.c:153 logsrvd/logsrvd_queue.c:109 +#: plugins/sudoers/visudo.c:1028 +#, c-format +msgid "unable to lock %s" +msgstr "%s をロックできません" + +#: logsrvd/logsrvd_journal.c:156 +msgid "unable to lock journal file" +msgstr "ジャーナルファイルをロックできません" + +#: logsrvd/logsrvd_journal.c:164 +msgid "unable to open journal file" +msgstr "ジャーナルファイルを開けません" + +#: logsrvd/logsrvd_journal.c:185 logsrvd/logsrvd_journal.c:460 +#: logsrvd/logsrvd_journal.c:465 +msgid "unable to write journal file" +msgstr "ジャーナルファイルへ書き込むことができません" + +#: logsrvd/logsrvd_journal.c:193 logsrvd/logsrvd_journal.c:200 +msgid "unable to rename journal file" +msgstr "ジャーナルファイルの名前を変更できません" + +#: logsrvd/logsrvd_journal.c:247 logsrvd/logsrvd_journal.c:248 +#: logsrvd/logsrvd_journal.c:282 logsrvd/logsrvd_journal.c:283 +msgid "unexpected EOF reading journal file" +msgstr "ジャーナルファイルの予期せぬところにEOF" + +#: logsrvd/logsrvd_journal.c:251 logsrvd/logsrvd_journal.c:252 +#: logsrvd/logsrvd_journal.c:286 logsrvd/logsrvd_journal.c:287 +msgid "error reading journal file" +msgstr "ジャーナルファイルの読み込みエラー" + +#: logsrvd/logsrvd_journal.c:298 logsrvd/logsrvd_journal.c:384 +msgid "invalid journal file, unable to restart" +msgstr "無効なジャーナルファイル、再スタートできません" + +#: logsrvd/logsrvd_journal.c:443 +#, c-format +msgid "unable to seek to [%lld, %ld] in journal file %s" +msgstr "[%lld, %ld] が見つかりません、 ジャーナルファイル %s で探索中" + +#: logsrvd/logsrvd_local.c:166 +#, c-format +msgid "unexpected value_case %d in %s from %s" +msgstr "予期しない value_case の値 %d が %s の中にあります、 %s から出てきたものです。" + +#: logsrvd/logsrvd_local.c:194 +msgid "error parsing AcceptMessage" +msgstr "AcceptMessage の解析中にエラー" + +#: logsrvd/logsrvd_local.c:205 +msgid "error creating I/O log" +msgstr "I/O ログの作成でエラー" + +#: logsrvd/logsrvd_local.c:228 +msgid "error logging accept event" +msgstr "accept イベントのログ記録でエラー" + +#: logsrvd/logsrvd_local.c:267 +msgid "error parsing RejectMessage" +msgstr "RejectMessage の解析でエラー" + +#: logsrvd/logsrvd_local.c:291 +msgid "error logging reject event" +msgstr "reject イベントのログ記録でエラー" + +#: logsrvd/logsrvd_local.c:427 logsrvd/logsrvd_local.c:435 +msgid "error logging exit event" +msgstr "exit イベントのログ記録でエラー" + +#: logsrvd/logsrvd_local.c:492 logsrvd/logsrvd_local.c:493 +msgid "log is already complete, cannot be restarted" +msgstr "ログは完了しているので、再開できません" + +#: logsrvd/logsrvd_local.c:523 +msgid "unable to restart log" +msgstr "ログを再開できません" + +#: logsrvd/logsrvd_local.c:539 +msgid "error parsing AlertMessage" +msgstr "AlertMessage の解析中にエラー" + +#: logsrvd/logsrvd_local.c:549 +msgid "error logging alert event" +msgstr "alert イベントのログ記録でエラー" + +#: logsrvd/logsrvd_local.c:585 logsrvd/logsrvd_local.c:648 +#: logsrvd/logsrvd_local.c:683 +#, c-format +msgid "unable to format timing buffer, length %d" +msgstr "タイミングバッファーを書式整形できません、長さ %d" + +#: logsrvd/logsrvd_local.c:599 logsrvd/logsrvd_local.c:607 +#: logsrvd/logsrvd_local.c:655 logsrvd/logsrvd_local.c:690 +#: plugins/sudoers/sudoreplay.c:344 +#, c-format +msgid "%s/%s: %s" +msgstr "%s/%s: %s" + +#: logsrvd/logsrvd_local.c:618 +msgid "randomly dropping connection" +msgstr "不規則に接続が落ちています" + +#: logsrvd/logsrvd_local.c:630 +msgid "error writing IoBuffer" +msgstr "IoBuffer の書き込みでエラー" + +#: logsrvd/logsrvd_local.c:665 +msgid "error writing ChangeWindowSize" +msgstr "ChangeWindowSize の書き込みでエラー" + +#: logsrvd/logsrvd_local.c:700 +msgid "error writing CommandSuspend" +msgstr "CommandSuspend の書き込みでエラー" + +#: logsrvd/logsrvd_relay.c:435 +msgid "TLS handshake with relay host failed" +msgstr "リレーホストへのTLS ハンドシェイクが失敗" + +#: logsrvd/logsrvd_relay.c:463 +msgid "unable to connect to relay host" +msgstr "リレーホストに接続できません" + +#: logsrvd/logsrvd_relay.c:518 +#, c-format +msgid "%s: invalid ServerHello, missing server_id" +msgstr "%s: 無効な ServerHello です、server_id がありません" + +#: logsrvd/logsrvd_relay.c:520 logsrvd/sendlog.c:1096 +#: plugins/sudoers/log_client.c:1468 +msgid "invalid ServerHello" +msgstr "無効な ServerHello です" + +#: logsrvd/logsrvd_relay.c:679 +msgid "unrecognized ServerMessage type" +msgstr "認識できない ServerMessage のタイプです" + +#: logsrvd/logsrvd_relay.c:708 +#, c-format +msgid "timed out reading from relay %s (%s)" +msgstr "リレー %s (%s) からの読み込みがタイムアウト" + +#: logsrvd/logsrvd_relay.c:710 +msgid "timeout reading from relay" +msgstr "リレーからの読み込みがタイムアウト" + +#: logsrvd/logsrvd_relay.c:762 +msgid "relay host name does not match certificate" +msgstr "リレーホスト名が証明書と一致しません" + +#: logsrvd/logsrvd_relay.c:768 logsrvd/logsrvd_relay.c:782 +#: logsrvd/logsrvd_relay.c:789 +msgid "error reading from relay" +msgstr "リレーからの読み込みでエラー" + +#: logsrvd/logsrvd_relay.c:810 +msgid "unable to read from relay" +msgstr "リレーから読み込めません" + +#: logsrvd/logsrvd_relay.c:825 logsrvd/logsrvd_relay.c:943 +msgid "relay server closed connection" +msgstr "リレーサーバーが接続を閉じました" + +#: logsrvd/logsrvd_relay.c:843 +msgid "server message too large" +msgstr "サーバーメッセージが大き過ぎます" + +#: logsrvd/logsrvd_relay.c:907 +#, c-format +msgid "timed out writing to relay %s (%s)" +msgstr "リレー %s (%s) への書き込みがタイムアウト" + +#: logsrvd/logsrvd_relay.c:909 +msgid "timeout writing to relay" +msgstr "リレーへの書き込みがタイムアウト" + +#: logsrvd/logsrvd_relay.c:962 logsrvd/logsrvd_relay.c:969 +#: logsrvd/logsrvd_relay.c:981 +msgid "error writing to relay" +msgstr "リレーへの書き込みでエラー" + +#: logsrvd/sendlog.c:119 +msgid "send sudo I/O log to remote server" +msgstr "sudo I/O ログをリモートサーバーに送る" + +#: logsrvd/sendlog.c:125 +msgid "only send an accept event (no I/O)" +msgstr "受け取りイベントのみを送る (I/O なし)" + +#: logsrvd/sendlog.c:128 +msgid "certificate bundle file to verify server's cert against" +msgstr "サーバーの証明書を検証するために突き合わせる証明書バンドルファイル" + +#: logsrvd/sendlog.c:130 +msgid "certificate file for TLS handshake" +msgstr "TLSハンドシェイクのための証明書ファイル" + +#: logsrvd/sendlog.c:133 +msgid "host to send logs to" +msgstr "ログの送り先とするホスト" + +#: logsrvd/sendlog.c:135 +msgid "remote ID of I/O log to be resumed" +msgstr "復元するI/O ログのリモート ID" + +#: logsrvd/sendlog.c:138 +msgid "private key file" +msgstr "プライベート鍵ファイル" + +#: logsrvd/sendlog.c:140 +msgid "do not verify server certificate" +msgstr "サーバーの証明書を検証しない" + +#: logsrvd/sendlog.c:143 +msgid "port to use when connecting to host" +msgstr "ホストに接続するのに使用するポート" + +#: logsrvd/sendlog.c:145 +msgid "restart previous I/O log transfer" +msgstr "以前の I/O ログ転送を再開する" + +#: logsrvd/sendlog.c:147 +msgid "reject the command with the given reason" +msgstr "与えられた理由によりコマンドを拒否する" + +#: logsrvd/sendlog.c:149 +msgid "stop transfer after reaching this time" +msgstr "この時間になったら転送を止める" + +#: logsrvd/sendlog.c:151 +msgid "test audit server by sending selected I/O log n times in parallel" +msgstr "選んだ I/O ログを n 重に並列送信することで監査サーバーを試験する" + +#: logsrvd/sendlog.c:176 plugins/sudoers/log_client.c:453 +#, c-format +msgid "unable to look up %s:%s: %s" +msgstr "警告: %s:%s を参照できません: %s" + +#: logsrvd/sendlog.c:214 +msgid "unable to get server IP addr" +msgstr "サーバーのIPアドレスを取得できません" + +#: logsrvd/sendlog.c:300 plugins/sudoers/sudoreplay.c:868 +#, c-format +msgid "unable to read %s/%s: %s" +msgstr "%s/%s から読み込むことができません: %s" + +#: logsrvd/sendlog.c:1020 plugins/sudoers/iolog.c:949 +#: plugins/sudoers/iolog.c:1024 +#, c-format +msgid "unexpected I/O event %d" +msgstr "予期しない I/O イベント %d" + +#: logsrvd/sendlog.c:1073 logsrvd/sendlog.c:1090 logsrvd/sendlog.c:1124 +#: plugins/sudoers/log_client.c:1118 plugins/sudoers/log_client.c:1394 +#: plugins/sudoers/log_client.c:1462 plugins/sudoers/log_client.c:1501 +#, c-format +msgid "%s: unexpected state %d" +msgstr "%s: 予期しない状態 %d" + +#: logsrvd/sendlog.c:1160 plugins/sudoers/log_client.c:1550 +#, c-format +msgid "error message received from server: %s" +msgstr "サーバからエラーメッセージを受け取りました: %s" + +#: logsrvd/sendlog.c:1173 plugins/sudoers/log_client.c:1563 +#, c-format +msgid "abort message received from server: %s" +msgstr "サーバから中断メッセージを受け取りました: %s" + +#: logsrvd/sendlog.c:1232 plugins/sudoers/log_client.c:1613 +#, c-format +msgid "%s: unexpected type_case value %d" +msgstr "%s: 予期しない type_case の値 %d" + +#: logsrvd/sendlog.c:1261 +msgid "timeout reading from server" +msgstr "サーバーからの読み込みがタイムアウト" + +#: logsrvd/sendlog.c:1310 plugins/sudoers/log_client.c:1729 +msgid "host name does not match certificate" +msgstr "ホスト名が証明書と一致しません" + +#: logsrvd/sendlog.c:1343 +msgid "premature EOF" +msgstr "早すぎるファイル終端 (EOF)" + +#: logsrvd/sendlog.c:1356 plugins/sudoers/log_client.c:1776 +#, c-format +msgid "server message too large: %u" +msgstr "サーバーメッセージが大き過ぎます: %u" + +#: logsrvd/sendlog.c:1412 +msgid "timeout writing to server" +msgstr "サーバーへの書き込みがタイムアウト" + +#: logsrvd/sendlog.c:1779 +msgid "both restart point and iolog ID must be specified" +msgstr "再開するポイントとIOログIDを指定する必要があります" + +#: logsrvd/sendlog.c:1783 +msgid "a restart point may not be set when no I/O is sent" +msgstr "I/Oが送られない場合は再開するポイントを設定できません" + +#: logsrvd/sendlog.c:1859 +#, c-format +msgid "exited prematurely with state %d" +msgstr "ステータス %d で予期せぬ終了をしました" + +#: logsrvd/sendlog.c:1860 +#, c-format +msgid "elapsed time sent to server [%lld, %ld]" +msgstr "サーバーに送られた経過時間 [%lld, %ld]" + +#: logsrvd/sendlog.c:1862 +#, c-format +msgid "commit point received from server [%lld, %ld]" +msgstr "サーバーから受け取ったコミットポイント [%lld, %ld]" + +#: logsrvd/tls_client.c:111 plugins/sudoers/log_client.c:315 +msgid "TLS handshake timeout occurred" +msgstr "TLS ハンドシェイクでタイムアウトが発生" + +#: logsrvd/tls_client.c:131 logsrvd/tls_client.c:147 +#: plugins/sudoers/log_client.c:337 plugins/sudoers/log_client.c:353 +msgid "unable to set event" +msgstr "イベントを設定できません" + +#: logsrvd/tls_client.c:157 logsrvd/tls_client.c:161 +#, c-format +msgid "TLS connection failed: %s" +msgstr "TLS接続に失敗しました: %s" + +#: logsrvd/tls_client.c:196 +#, c-format +msgid "unable to allocate ssl object: %s" +msgstr "SSLオブジェクトを割り当てることができません: %s" + +#: logsrvd/tls_client.c:210 +#, c-format +msgid "Unable to attach socket to the ssl object: %s" +msgstr "ソケットをSSLオブジェクトに取り付けることができません: %s" + +#: logsrvd/tls_client.c:238 +msgid "unable to initialize TLS context" +msgstr "TLS コンテキストを初期化できません" + +#: logsrvd/tls_init.c:138 logsrvd/tls_init.c:146 +#, c-format +msgid "unable to set TLS 1.2 ciphersuite to %s: %s" +msgstr "TLS 1.2 暗号化スイートを %s に設定できません: %s" + +#: logsrvd/tls_init.c:166 logsrvd/tls_init.c:174 +#, c-format +msgid "unable to set TLS 1.3 ciphersuite to %s: %s" +msgstr "TLS 1.3 暗号化スイートを %s に設定できません: %s" + +#: logsrvd/tls_init.c:206 logsrvd/tls_init.c:227 +#, c-format +msgid "unable to set diffie-hellman parameters: %s" +msgstr "ディフィー・ヘルマン パラメーターを設定できません: %s" + +#: logsrvd/tls_init.c:283 +#, c-format +msgid "unable to create TLS context: %s" +msgstr "TLS コンテキストを作成できません: %s" + +#: logsrvd/tls_init.c:290 +#, c-format +msgid "unable to set minimum protocol version to TLS 1.2: %s" +msgstr "プロトコルの最小バージョンを TLS 1.2 に設定できません: %s" + +#: plugins/sudoers/audit.c:269 plugins/sudoers/audit.c:429 +#: plugins/sudoers/log_client.c:951 plugins/sudoers/log_client.c:1000 +#: plugins/sudoers/log_client.c:1049 plugins/sudoers/log_client.c:1174 +#: plugins/sudoers/logging.c:595 plugins/sudoers/logging.c:693 +#: plugins/sudoers/logging.c:796 plugins/sudoers/logging.c:987 +#: plugins/sudoers/policy.c:125 +msgid "unable to get time of day" +msgstr "時刻を取得できません" + +#: plugins/sudoers/auth/aix_auth.c:280 +#, c-format +msgid "unable to change password for %s" +msgstr "%s のパスワードを変更できません" + +#: plugins/sudoers/auth/bsdauth.c:74 +#, c-format +msgid "unable to get login class for user %s" +msgstr "ユーザー%s のログインクラスを得ることができません" + +#: plugins/sudoers/auth/bsdauth.c:79 +msgid "unable to begin bsd authentication" +msgstr "BSD 認証を開始できません" + +#: plugins/sudoers/auth/bsdauth.c:87 +msgid "invalid authentication type" +msgstr "無効な認証タイプです" + +#: plugins/sudoers/auth/bsdauth.c:96 +msgid "unable to initialize BSD authentication" +msgstr "BSD 認証を開始できません" + +#: plugins/sudoers/auth/bsdauth.c:186 +msgid "your account has expired" +msgstr "あなたのアカウントの有効期限が切れています" + +#: plugins/sudoers/auth/bsdauth.c:188 +msgid "approval failed" +msgstr "認証に失敗しました" + +#: plugins/sudoers/auth/fwtk.c:61 +msgid "unable to read fwtk config" +msgstr "fwtk 設定を読み込めません" + +#: plugins/sudoers/auth/fwtk.c:66 +msgid "unable to connect to authentication server" +msgstr "認証サーバーに接続できません" + +#: plugins/sudoers/auth/fwtk.c:72 plugins/sudoers/auth/fwtk.c:97 +#: plugins/sudoers/auth/fwtk.c:129 +msgid "lost connection to authentication server" +msgstr "認証サーバーへの接続が失われました" + +#: plugins/sudoers/auth/fwtk.c:76 +#, c-format +msgid "" +"authentication server error:\n" +"%s" +msgstr "" +"認証サーバーエラーです:\n" +"%s" + +#: plugins/sudoers/auth/kerb5.c:115 +#, c-format +msgid "%s: unable to convert principal to string ('%s'): %s" +msgstr "%s: プリンシパルを文字列('%s')に変換できません: %s" + +#: plugins/sudoers/auth/kerb5.c:164 +#, c-format +msgid "%s: unable to parse '%s': %s" +msgstr "%s: '%s' を構文解析できません: %s" + +#: plugins/sudoers/auth/kerb5.c:173 +#, c-format +msgid "%s: unable to resolve credential cache: %s" +msgstr "%s: 資格情報キャッシュ を解決できません: %s" + +#: plugins/sudoers/auth/kerb5.c:222 +#, c-format +msgid "%s: unable to allocate options: %s" +msgstr "%s: オプションを設定できません: %s" + +#: plugins/sudoers/auth/kerb5.c:237 +#, c-format +msgid "%s: unable to get credentials: %s" +msgstr "%s: 資格情報を取得できません: %s" + +#: plugins/sudoers/auth/kerb5.c:250 +#, c-format +msgid "%s: unable to initialize credential cache: %s" +msgstr "%s: 資格情報キャッシュ を初期化できません: %s" + +#: plugins/sudoers/auth/kerb5.c:253 +#, c-format +msgid "%s: unable to store credential in cache: %s" +msgstr "%s: 資格情報をキャッシュできません: %s" + +#: plugins/sudoers/auth/kerb5.c:317 +#, c-format +msgid "%s: unable to get host principal: %s" +msgstr "%s: ホストプリンシパルを取得できません: %s" + +#: plugins/sudoers/auth/kerb5.c:331 +#, c-format +msgid "%s: Cannot verify TGT! Possible attack!: %s" +msgstr "%s: TGT を検証できません! おそらく攻撃です!: %s" + +#: plugins/sudoers/auth/pam.c:224 +#, c-format +msgid "unable to initialize PAM: %s" +msgstr "PAM を初期化できません: %s" + +#: plugins/sudoers/auth/pam.c:337 +#, c-format +msgid "PAM authentication error: %s" +msgstr "PAM 認証エラーです: %s" + +#: plugins/sudoers/auth/pam.c:356 +msgid "account validation failure, is your account locked?" +msgstr "アカウントの有効性検証に失敗しました。あなたのアカウントはロックされていませんか?" + +#: plugins/sudoers/auth/pam.c:367 +msgid "Account or password is expired, reset your password and try again" +msgstr "アカウントまたはパスワードが期限切れです。パスワードをリセットして再試行してください" + +#: plugins/sudoers/auth/pam.c:373 +#, c-format +msgid "unable to change expired password: %s" +msgstr "期限の切れたパスワードを変更できません: %s" + +#: plugins/sudoers/auth/pam.c:384 +msgid "Password expired, contact your system administrator" +msgstr "パスワードが期限切れです。システム管理者に連絡してください" + +#: plugins/sudoers/auth/pam.c:389 +msgid "Account expired or PAM config lacks an \"account\" section for sudo, contact your system administrator" +msgstr "アカウントの期限切れ、または sudo 用の PAM 設定に \"account\" セクションがありません。システム管理者に連絡してください" + +#: plugins/sudoers/auth/pam.c:397 plugins/sudoers/auth/pam.c:402 +#, c-format +msgid "PAM account management error: %s" +msgstr "PAM アカウント管理エラーです: %s" + +#: plugins/sudoers/auth/rfc1938.c:99 plugins/sudoers/visudo.c:271 +#, c-format +msgid "you do not exist in the %s database" +msgstr "あなたは %s データベース内に存在しません" + +#: plugins/sudoers/auth/securid5.c:75 +msgid "failed to initialise the ACE API library" +msgstr "ACE API ライブラリの初期化に失敗しました" + +#: plugins/sudoers/auth/securid5.c:106 +msgid "unable to contact the SecurID server" +msgstr "SecurID サーバーに接続できません" + +#: plugins/sudoers/auth/securid5.c:115 +msgid "User ID locked for SecurID Authentication" +msgstr "SecurID 認証のユーザーIDがロックされています" + +#: plugins/sudoers/auth/securid5.c:119 plugins/sudoers/auth/securid5.c:171 +msgid "invalid username length for SecurID" +msgstr "SecurID 用のユーザー名の長さが無効です" + +#: plugins/sudoers/auth/securid5.c:123 plugins/sudoers/auth/securid5.c:176 +msgid "invalid Authentication Handle for SecurID" +msgstr "SecurID 用の認証ハンドルが無効です" + +#: plugins/sudoers/auth/securid5.c:127 +msgid "SecurID communication failed" +msgstr "SecurID 通信に失敗しました" + +#: plugins/sudoers/auth/securid5.c:131 plugins/sudoers/auth/securid5.c:219 +msgid "unknown SecurID error" +msgstr "不明な SecurID エラーです" + +#: plugins/sudoers/auth/securid5.c:166 +msgid "invalid passcode length for SecurID" +msgstr "SecurID 用のパスコード長が無効です" + +#: plugins/sudoers/auth/sia.c:69 plugins/sudoers/auth/sia.c:126 +msgid "unable to initialize SIA session" +msgstr "SIA セッションを初期化できません" + +#: plugins/sudoers/auth/sudo_auth.c:135 +msgid "invalid authentication methods" +msgstr "無効な認証方法" + +#: plugins/sudoers/auth/sudo_auth.c:137 +msgid "Invalid authentication methods compiled into sudo! You may not mix standalone and non-standalone authentication." +msgstr "無効な認証方法が sudo のコンパイル時に組み込まれています! スタンドアローンと非スタンドアローン認証を混在させてはいけません。" + +#: plugins/sudoers/auth/sudo_auth.c:258 plugins/sudoers/auth/sudo_auth.c:310 +msgid "no authentication methods" +msgstr "認証方法がありません" + +#: plugins/sudoers/auth/sudo_auth.c:260 +msgid "There are no authentication methods compiled into sudo! If you want to turn off authentication, use the --disable-authentication configure option." +msgstr "認証方法が sudo のコンパイル時に組み込まれていません! 認証を無効にする場合には、configure オプションで --disable-authentication を指定してください。" + +#: plugins/sudoers/auth/sudo_auth.c:312 +msgid "Unable to initialize authentication methods." +msgstr "認証方法を初期化できません。" + +#: plugins/sudoers/auth/sudo_auth.c:486 +msgid "Authentication methods:" +msgstr "認証方法:" + +#: plugins/sudoers/bsm_audit.c:123 plugins/sudoers/bsm_audit.c:214 +msgid "Could not determine audit condition" +msgstr "監査条件を決定できませんでした" + +#: plugins/sudoers/bsm_audit.c:188 plugins/sudoers/bsm_audit.c:277 +msgid "unable to commit audit record" +msgstr "監査レコードをコミットできません" + +#: plugins/sudoers/check.c:285 +#, c-format +msgid "error reading lecture file %s" +msgstr "講義ファイル %s の読み込みエラー" + +#: plugins/sudoers/check.c:288 +#, c-format +msgid "ignoring lecture file %s: not a regular file" +msgstr "講義ファイル %s を無視します: 通常ファイルではありません" + +#: plugins/sudoers/check.c:301 +msgid "" +"\n" +"We trust you have received the usual lecture from the local System\n" +"Administrator. It usually boils down to these three things:\n" +"\n" +" #1) Respect the privacy of others.\n" +" #2) Think before you type.\n" +" #3) With great power comes great responsibility.\n" +"\n" +msgstr "" +"\n" +"あなたはシステム管理者から通常の講習を受けたはずです。\n" +"これは通常、以下の3点に要約されます:\n" +"\n" +" #1) 他人のプライバシーを尊重すること。\n" +" #2) タイプする前に考えること。\n" +" #3) 大いなる力には大いなる責任が伴うこと。\n" +"\n" + +#: plugins/sudoers/check.c:309 +msgid "" +"For security reasons, the password you type will not be visible.\n" +"\n" +msgstr "セキュリティー上の理由で、あなたがタイプしたパスワードは表示しません。\n" + +#: plugins/sudoers/check.c:353 plugins/sudoers/check.c:363 +#: plugins/sudoers/parse.c:82 plugins/sudoers/sudoers.c:945 +#: plugins/sudoers/sudoers.c:966 plugins/sudoers/tsdump.c:119 +#, c-format +msgid "unknown uid %u" +msgstr "不明な uid %u" + +#: plugins/sudoers/check_aliases.c:99 plugins/sudoers/defaults.c:1279 +#, c-format +msgid "%s: %s\n" +msgstr "%s: %s\n" + +#: plugins/sudoers/check_aliases.c:133 +#, c-format +msgid "cycle in %s \"%s\"" +msgstr "循環を発見 %s \"%s\"" + +#: plugins/sudoers/check_aliases.c:136 +#, c-format +msgid "%s \"%s\" referenced but not defined" +msgstr "%s \"%s\" は参照されているのに定義されていません" + +#: plugins/sudoers/cvtsudoers.c:209 +#, c-format +msgid "order increment: %s: %s" +msgstr "order の増分: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:228 +#, c-format +msgid "starting order: %s: %s" +msgstr "開始の order: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:238 +#, c-format +msgid "order padding: %s: %s" +msgstr "order の増分: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:248 plugins/sudoers/visudo.c:184 +#, c-format +msgid "%s grammar version %d\n" +msgstr "%s 文法バージョン %d\n" + +#: plugins/sudoers/cvtsudoers.c:277 plugins/sudoers/testsudoers.c:159 +#, c-format +msgid "unsupported input format %s" +msgstr "サポートされてない入力形式です %s" + +#: plugins/sudoers/cvtsudoers.c:295 +#, c-format +msgid "unsupported output format %s" +msgstr "サポートされてない出力形式です %s" + +#: plugins/sudoers/cvtsudoers.c:385 +#, c-format +msgid "%s: input and output files must be different" +msgstr "%s: 入力ファイルと出力ファイルは別である必要があります" + +#: plugins/sudoers/cvtsudoers.c:399 plugins/sudoers/sudoers.c:166 +#: plugins/sudoers/sudoers.c:222 plugins/sudoers/testsudoers.c:254 +#: plugins/sudoers/visudo.c:280 plugins/sudoers/visudo.c:654 +msgid "unable to initialize sudoers default values" +msgstr "sudoers のデフォルト値を初期化できません" + +#: plugins/sudoers/cvtsudoers.c:525 plugins/sudoers/ldap_conf.c:434 +#, c-format +msgid "%s: %s: %s: %s" +msgstr "%s: %s: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:584 +#, c-format +msgid "%s: unknown key word %s" +msgstr "%s: 不明なキーワード %s" + +#: plugins/sudoers/cvtsudoers.c:630 +#, c-format +msgid "invalid defaults type: %s" +msgstr "無効なデフォルトの指定です: %s" + +#: plugins/sudoers/cvtsudoers.c:653 +#, c-format +msgid "invalid suppression type: %s" +msgstr "無効な抑制の指定です: %s" + +#: plugins/sudoers/cvtsudoers.c:694 plugins/sudoers/cvtsudoers.c:710 +#, c-format +msgid "invalid filter: %s" +msgstr "無効なフィルターです: %s" + +#: plugins/sudoers/cvtsudoers.c:754 plugins/sudoers/visudo.c:982 +#, c-format +msgid "failed to parse %s file, unknown error" +msgstr "%s ファイルの構文解析に失敗しました。不明なエラーです" + +#: plugins/sudoers/cvtsudoers.c:1478 plugins/sudoers/sudoreplay.c:1142 +#: plugins/sudoers/timestamp.c:343 plugins/sudoers/timestamp.c:346 +#, c-format +msgid "unable to write to %s" +msgstr "%s へ書き込むことができません" + +#: plugins/sudoers/cvtsudoers.c:1506 +#, c-format +msgid "" +"%s - convert between sudoers file formats\n" +"\n" +msgstr "" +"%s - sudoers ファイル形式間での変換を行う\n" +"\n" + +#: plugins/sudoers/cvtsudoers.c:1508 +msgid "" +"\n" +"Options:\n" +" -b, --base=dn the base DN for sudo LDAP queries\n" +" -c, --config=conf_file the path to the configuration file\n" +" -d, --defaults=deftypes only convert Defaults of the specified types\n" +" -e, --expand-aliases expand aliases when converting\n" +" -f, --output-format=format set output format: JSON, LDIF or sudoers\n" +" -i, --input-format=format set input format: LDIF or sudoers\n" +" -I, --increment=num amount to increase each sudoOrder by\n" +" -h, --help display help message and exit\n" +" -m, --match=filter only convert entries that match the filter\n" +" -M, --match-local match filter uses passwd and group databases\n" +" -o, --output=output_file write converted sudoers to output_file\n" +" -O, --order-start=num starting point for first sudoOrder\n" +" -p, --prune-matches prune non-matching users, groups and hosts\n" +" -P, --padding=num base padding for sudoOrder increment\n" +" -s, --suppress=sections suppress output of certain sections\n" +" -V, --version display version information and exit" +msgstr "" +"\n" +"オプション:\n" +" -b, --base=dn sudo の LDAP クエリ のベース DN\n" +" -c, --config=conf_file 設定ファイルへのパス\n" +" -d, --defaults=deftypes 指定した形式の Defaults のみを変換する\n" +" -e, --expand-aliases 変換する時にエイリアスを展開する\n" +" -f, --output-format=format 出力の書式: JSON, LDIF または sudoers\n" +" -i, --input-format=format 入力の書式: LDIF または sudoers\n" +" -I, --increment=num それぞれの sudoOrder の増分\n" +" -h, --help ヘルプメッセージを表示して終了する\n" +" -m, --match=filter filter にマッチするエントリのみを変換する\n" +" -M, --match-local フィルタは passwd および group データベースを使用する\n" +" -o, --output=output_file 変換された sudoers を output_file に出力する\n" +" -O, --order-start=num 最初の sudoOrder の開始点\n" +" -p, --prune-matches マッチしないユーザー、グループ、ホストを取り除く\n" +" -P, --padding=num base padding for sudoOrder の増分\n" +" -s, --suppress=sections いくつかのセクションの出力を抑制する\n" +" -V, --version バージョン情報を表示して終了する" + +#: plugins/sudoers/cvtsudoers_csv.c:192 plugins/sudoers/cvtsudoers_csv.c:199 +#: plugins/sudoers/cvtsudoers_ldif.c:244 plugins/sudoers/cvtsudoers_ldif.c:251 +#: plugins/sudoers/cvtsudoers_ldif.c:592 plugins/sudoers/env.c:340 +#: plugins/sudoers/env.c:347 plugins/sudoers/env.c:458 +#: plugins/sudoers/ldap.c:528 plugins/sudoers/ldap.c:761 +#: plugins/sudoers/ldap.c:1134 plugins/sudoers/ldap_conf.c:222 +#: plugins/sudoers/ldap_conf.c:313 plugins/sudoers/ldap_util.c:486 +#: plugins/sudoers/linux_audit.c:92 plugins/sudoers/logging.c:461 +#: plugins/sudoers/logging.c:817 plugins/sudoers/logging.c:827 +#: plugins/sudoers/policy.c:807 plugins/sudoers/policy.c:818 +#: plugins/sudoers/prompt.c:168 plugins/sudoers/serialize_list.c:62 +#: plugins/sudoers/serialize_list.c:71 plugins/sudoers/strvec_join.c:62 +#: plugins/sudoers/sudoreplay.c:1339 plugins/sudoers/sudoreplay.c:1345 +#: plugins/sudoers/sudoreplay.c:1351 plugins/sudoers/testsudoers.c:245 +#: plugins/sudoers/toke_util.c:213 toke.l:995 toke.l:1197 +#, c-format +msgid "internal error, %s overflow" +msgstr "内部エラー、%s がオーバーフローしました" + +#: plugins/sudoers/cvtsudoers_csv.c:452 plugins/sudoers/cvtsudoers_csv.c:466 +#: plugins/sudoers/cvtsudoers_json.c:657 plugins/sudoers/cvtsudoers_json.c:672 +#: plugins/sudoers/cvtsudoers_ldif.c:347 plugins/sudoers/cvtsudoers_ldif.c:360 +#: plugins/sudoers/ldap.c:512 +msgid "unable to get GMT time" +msgstr "GMT 時刻を取得できません" + +#: plugins/sudoers/cvtsudoers_csv.c:457 plugins/sudoers/cvtsudoers_csv.c:471 +#: plugins/sudoers/cvtsudoers_json.c:662 plugins/sudoers/cvtsudoers_json.c:677 +#: plugins/sudoers/cvtsudoers_ldif.c:352 plugins/sudoers/cvtsudoers_ldif.c:365 +#: plugins/sudoers/ldap.c:520 +msgid "unable to format timestamp" +msgstr "タイムスタンプを書式整形できません" + +#: plugins/sudoers/cvtsudoers_json.c:480 plugins/sudoers/cvtsudoers_json.c:515 +#: plugins/sudoers/cvtsudoers_json.c:728 +#, c-format +msgid "%s:%d:%d: unknown defaults entry \"%s\"" +msgstr "%s:%d:%d: 未知のデフォルト項目 \"%s\" です" + +#: plugins/sudoers/cvtsudoers_ldif.c:661 +#, c-format +msgid "too many sudoers entries, maximum %u" +msgstr "sudoers の項目が多すぎます、最大は %u です。" + +#: plugins/sudoers/cvtsudoers_ldif.c:704 +msgid "the SUDOERS_BASE environment variable is not set and the -b option was not specified." +msgstr "SUDOERS_BASE 環境変数が設定されておらず -b オプションも指定されていません。" + +#: plugins/sudoers/cvtsudoers_merge.c:273 +#: plugins/sudoers/cvtsudoers_merge.c:309 +#, c-format +msgid "%s:%d:%d: converting host list to ALL" +msgstr "%s:%d:%d: ホストのリスト を ALL に変換しています" + +#: plugins/sudoers/cvtsudoers_merge.c:545 +#, c-format +msgid "unable to find alias %s" +msgstr "エイリアス %s が見つかりません" + +#: plugins/sudoers/cvtsudoers_merge.c:548 +#, c-format +msgid "%s:%d:%d: renaming alias %s to %s" +msgstr "%s:%d:%d: エイリアスの名前 %s を %s に変更しています" + +#: plugins/sudoers/cvtsudoers_merge.c:605 +#, c-format +msgid "%s:%d:%d: removing duplicate alias %s" +msgstr "%s:%d:%d: 重複したエイリアス %s を削除しています" + +#: plugins/sudoers/cvtsudoers_merge.c:830 +#, c-format +msgid "%s:%d:%d: conflicting Defaults entry \"%s\" host-specific in %s:%d:%d" +msgstr "%s:%d:%d: Defaults のエントリー \"%s\" が %s:%d:%d にある ホスト特定指定sと衝突しています" + +#: plugins/sudoers/cvtsudoers_merge.c:864 +#, c-format +msgid "%s:%d:%d: made Defaults \"%s\" specific to host %s" +msgstr "%s:%d:%d: Defaults \"%s\" をホスト %s に特有のものとしました。" + +#: plugins/sudoers/cvtsudoers_merge.c:882 +#, c-format +msgid "%s:%d:%d: unable to make Defaults \"%s\" host-specific" +msgstr "%s:%d:%d: Defaults \"%s\" をホストに特有のものにできません" + +#: plugins/sudoers/cvtsudoers_merge.c:892 +#, c-format +msgid "%s:%d:%d: removing Defaults \"%s\" overridden by subsequent entries" +msgstr "%s:%d:%d: 後続のエントリーで上書きされた Defaults の \"%s\" を削除しています" + +#: plugins/sudoers/cvtsudoers_merge.c:1088 +#, c-format +msgid "%s:%d:%d: merging userspec into %s:%d:%d" +msgstr "%s:%d:%d: userspec を %s:%d:%d に併合しています" + +#: plugins/sudoers/cvtsudoers_merge.c:1182 +#, c-format +msgid "%s:%d:%d: removing userspec overridden by subsequent entries" +msgstr "%s:%d:%d: 後続のエントリーで上書きされた userspec を削除しています" + +#: plugins/sudoers/def_data.c:56 +#, c-format +msgid "Syslog facility if syslog is being used for logging: %s" +msgstr "ログ記録時に syslog を使用する場合の syslog ファシリティ: %s" + +#: plugins/sudoers/def_data.c:60 +#, c-format +msgid "Syslog priority to use when user authenticates successfully: %s" +msgstr "ログ記録時に syslog を使用する場合の syslog プライオリティ: %s" + +#: plugins/sudoers/def_data.c:64 +#, c-format +msgid "Syslog priority to use when user authenticates unsuccessfully: %s" +msgstr "ユーザー認証に失敗したと時に使用される syslog プライオリティ: %s" + +#: plugins/sudoers/def_data.c:68 +msgid "Put OTP prompt on its own line" +msgstr "ワンタイムパスワード入力要求をそれのみの行に表示します" + +#: plugins/sudoers/def_data.c:72 +msgid "Ignore '.' in $PATH" +msgstr "$PATH 内にある '.' を無視します" + +#: plugins/sudoers/def_data.c:76 +msgid "Always send mail when sudo is run" +msgstr "sudo を実行した時に、常にメールを送信します" + +#: plugins/sudoers/def_data.c:80 +msgid "Send mail if user authentication fails" +msgstr "ユーザー認証に失敗した場合にメールを送信します" + +#: plugins/sudoers/def_data.c:84 +msgid "Send mail if the user is not in sudoers" +msgstr "ユーザー他 sudoers 内に存在しない場合にメールを送信します" + +#: plugins/sudoers/def_data.c:88 +msgid "Send mail if the user is not in sudoers for this host" +msgstr "ユーザーがこのホスト用の sudoers 内に存在しない場合にメールを送信します" + +#: plugins/sudoers/def_data.c:92 +msgid "Send mail if the user is not allowed to run a command" +msgstr "ユーザーが許可されていないコマンドを実行しようとした場合にメールを送信します" + +#: plugins/sudoers/def_data.c:96 +msgid "Send mail if the user tries to run a command" +msgstr "ユーザーがマンドを実行しようとした場合にメールを送信します" + +#: plugins/sudoers/def_data.c:100 +msgid "Use a separate timestamp for each user/tty combo" +msgstr "ユーザー/tty の組み合わせごとに分離したタイムスタンプを使用します" + +#: plugins/sudoers/def_data.c:104 +msgid "Lecture user the first time they run sudo" +msgstr "ユーザーが最初に sudo を実行した時に講義を行う" + +#: plugins/sudoers/def_data.c:108 +#, c-format +msgid "File containing the sudo lecture: %s" +msgstr "sudo の講義が含まれているファイル: %s" + +#: plugins/sudoers/def_data.c:112 +msgid "Require users to authenticate by default" +msgstr "デフォルトでユーザーが認証されていることを必要とします" + +#: plugins/sudoers/def_data.c:116 +msgid "Root may run sudo" +msgstr "root が sudo を実行するかもしれません" + +#: plugins/sudoers/def_data.c:120 +msgid "Log the hostname in the (non-syslog) log file" +msgstr " ログファイル (syslog 以外) に記録する時にホスト名を含めます" + +#: plugins/sudoers/def_data.c:124 +msgid "Log the year in the (non-syslog) log file" +msgstr "ログファイル (syslog 以外) に記録する時に年情報を含めます" + +#: plugins/sudoers/def_data.c:128 +msgid "If sudo is invoked with no arguments, start a shell" +msgstr "sudo を引数無しで起動した場合、シェルを開始します" + +#: plugins/sudoers/def_data.c:132 +msgid "Set $HOME to the target user when starting a shell with -s" +msgstr "シェルを -s で開始した時に $HOME を変更後のユーザーのホームディレクトリに設定します" + +#: plugins/sudoers/def_data.c:136 +msgid "Always set $HOME to the target user's home directory" +msgstr "$HOME を常に変更後のユーザーのホームディレクトリに設定します" + +#: plugins/sudoers/def_data.c:140 +msgid "Allow some information gathering to give useful error messages" +msgstr "役に立つエラーメッセージを表示するためにいくつかの情報を収集することを許可します" + +#: plugins/sudoers/def_data.c:144 +msgid "Require fully-qualified hostnames in the sudoers file" +msgstr "sudoers ファイルに完全修飾ホスト名 (FQDN) を要求します" + +#: plugins/sudoers/def_data.c:148 +msgid "Insult the user when they enter an incorrect password" +msgstr "間違ったパスワードを入力した時にユーザーを侮辱します" + +#: plugins/sudoers/def_data.c:152 +msgid "Only allow the user to run sudo if they have a tty" +msgstr "tty がある場合のみ sudo の実行を許可します" + +#: plugins/sudoers/def_data.c:156 +msgid "Visudo will honor the EDITOR environment variable" +msgstr "visudo が EDITOR 環境変数を尊重して使用します" + +#: plugins/sudoers/def_data.c:160 +msgid "Prompt for root's password, not the users's" +msgstr "ユーザーのパスワードではなく、root のパスワードの入力を要求します" + +#: plugins/sudoers/def_data.c:164 +msgid "Prompt for the runas_default user's password, not the users's" +msgstr "ユーザーのパスワードではなく、 runas_default ユーザーのパスワードの入力を要求します" + +#: plugins/sudoers/def_data.c:168 +msgid "Prompt for the target user's password, not the users's" +msgstr "現在のユーザーのパスワードではなく、変更先ユーザーのパスワードの入力を要求します" + +#: plugins/sudoers/def_data.c:172 +msgid "Apply defaults in the target user's login class if there is one" +msgstr "変更先ユーザーのログインクラスのデフォルトが存在する場合は、デフォルトを適用します" + +#: plugins/sudoers/def_data.c:176 +msgid "Set the LOGNAME and USER environment variables" +msgstr "LOGNAME および USER 環境変数を設定します" + +#: plugins/sudoers/def_data.c:180 +msgid "Only set the effective uid to the target user, not the real uid" +msgstr "実効ユーザーIDのみ変更先ユーザーの UID に設定し、実ユーザーIDは変更しない" + +#: plugins/sudoers/def_data.c:184 +msgid "Don't initialize the group vector to that of the target user" +msgstr "グループベクトルを変更先ユーザーの値で初期化しない" + +#: plugins/sudoers/def_data.c:188 +#, c-format +msgid "Length at which to wrap log file lines (0 for no wrap): %u" +msgstr "ログファイルの行頭から改行までの長さ (0 の場合は改行しない): %u" + +#: plugins/sudoers/def_data.c:192 +#, c-format +msgid "Authentication timestamp timeout: %.1f minutes" +msgstr "認証タイムスタンプのタイムアウト値: %.1f 分" + +#: plugins/sudoers/def_data.c:196 +#, c-format +msgid "Password prompt timeout: %.1f minutes" +msgstr "パスワード入力要求のタイムアウト値: %.1f 分" + +#: plugins/sudoers/def_data.c:200 +#, c-format +msgid "Number of tries to enter a password: %u" +msgstr "パスワード入力の試行回数: %u" + +#: plugins/sudoers/def_data.c:204 +#, c-format +msgid "Umask to use or 0777 to use user's: 0%o" +msgstr "使用する umask 値 (0777 の場合はユーザーの設定値を使用します): 0%o" + +#: plugins/sudoers/def_data.c:208 +#, c-format +msgid "Path to log file: %s" +msgstr "ログファイルのパス: %s" + +#: plugins/sudoers/def_data.c:212 +#, c-format +msgid "Path to mail program: %s" +msgstr "メールプログラムのパス: %s" + +#: plugins/sudoers/def_data.c:216 +#, c-format +msgid "Flags for mail program: %s" +msgstr "メールプログラムの引数フラグ: %s" + +#: plugins/sudoers/def_data.c:220 +#, c-format +msgid "Address to send mail to: %s" +msgstr "メールの送信先アドレス: %s" + +#: plugins/sudoers/def_data.c:224 +#, c-format +msgid "Address to send mail from: %s" +msgstr "メールの送信元アドレス: %s" + +#: plugins/sudoers/def_data.c:228 +#, c-format +msgid "Subject line for mail messages: %s" +msgstr "メールの件名 (Subject) 行: %s" + +#: plugins/sudoers/def_data.c:232 +#, c-format +msgid "Incorrect password message: %s" +msgstr "パスワードを間違った時のメッセージ: %s" + +#: plugins/sudoers/def_data.c:236 +#, c-format +msgid "Path to lecture status dir: %s" +msgstr "受講状況ディレクトリのパス: %s" + +#: plugins/sudoers/def_data.c:240 +#, c-format +msgid "Path to authentication timestamp dir: %s" +msgstr "認証タイムスタンプディレクトリのパス: %s" + +#: plugins/sudoers/def_data.c:244 +#, c-format +msgid "Owner of the authentication timestamp dir: %s" +msgstr "認証タイムスタンプディレクトリの所有者: %s" + +#: plugins/sudoers/def_data.c:248 +#, c-format +msgid "Users in this group are exempt from password and PATH requirements: %s" +msgstr "パスワード入力と PATH の要求が免除されるグループに属するユーザー: %s" + +#: plugins/sudoers/def_data.c:252 +#, c-format +msgid "Default password prompt: %s" +msgstr "パスワード入力要求時に表示される文字列: %s" + +#: plugins/sudoers/def_data.c:256 +msgid "If set, passprompt will override system prompt in all cases." +msgstr "設定した場合、すべての場合において passprompt がシステムの入力要求表示を上書きします" + +#: plugins/sudoers/def_data.c:260 +#, c-format +msgid "Default user to run commands as: %s" +msgstr "コマンドを実行するデフォルトの変更先ユーザー: %s" + +#: plugins/sudoers/def_data.c:264 +#, c-format +msgid "Value to override user's $PATH with: %s" +msgstr "ユーザーの $PATH を上書きする時の値: %s" + +#: plugins/sudoers/def_data.c:268 +#, c-format +msgid "Path to the editor for use by visudo: %s" +msgstr "visudo で使用されるエディターのパス: %s" + +#: plugins/sudoers/def_data.c:272 +#, c-format +msgid "When to require a password for 'list' pseudocommand: %s" +msgstr "'list' 疑似コマンド使用するためにパスワードを要求される時: %s" + +#: plugins/sudoers/def_data.c:276 +#, c-format +msgid "When to require a password for 'verify' pseudocommand: %s" +msgstr "'verify' 疑似コマンドを使用するためにパスワードを要求される時: %s" + +#: plugins/sudoers/def_data.c:280 +msgid "Preload the sudo_noexec library which replaces the exec functions" +msgstr "exec 関数群を置き換える sudo_noexec ライブラリ事前ロードします" + +# do はたぶん強調の do +#: plugins/sudoers/def_data.c:284 +msgid "If LDAP directory is up, do we ignore local sudoers file" +msgstr "LDAP ディレクトリが実行中の場合、ローカルの sudoers ファイルを無視します" + +#: plugins/sudoers/def_data.c:288 +#, c-format +msgid "File descriptors >= %d will be closed before executing a command" +msgstr "%d 以上の値をもつファイル記述子をコマンド実行前に閉じます" + +#: plugins/sudoers/def_data.c:292 +msgid "If set, users may override the value of \"closefrom\" with the -C option" +msgstr "設定しても、ユーザーが \"closefrom\" の値を -C オプションで上書きするかもしれません" + +#: plugins/sudoers/def_data.c:296 +msgid "Allow users to set arbitrary environment variables" +msgstr "ユーザーが任意の環境変数を設定することを許可します" + +#: plugins/sudoers/def_data.c:300 +msgid "Reset the environment to a default set of variables" +msgstr "環境変数の集合をデフォルトに設定します" + +#: plugins/sudoers/def_data.c:304 +msgid "Environment variables to check for safety:" +msgstr "安全性の確認を行う環境変数:" + +#: plugins/sudoers/def_data.c:308 +msgid "Environment variables to remove:" +msgstr "削除する環境変数:" + +#: plugins/sudoers/def_data.c:312 +msgid "Environment variables to preserve:" +msgstr "保護する環境変数:" + +#: plugins/sudoers/def_data.c:316 +#, c-format +msgid "SELinux role to use in the new security context: %s" +msgstr "新しいセキュリティコンテキスト内で使用する SELinux の役割: %s" + +#: plugins/sudoers/def_data.c:320 +#, c-format +msgid "SELinux type to use in the new security context: %s" +msgstr "新しいセキュリティコンテキスト内で使用する SELinux のタイプ: %s" + +#: plugins/sudoers/def_data.c:324 +#, c-format +msgid "Path to the sudo-specific environment file: %s" +msgstr "sudo 固有の環境ファイルのパス: %s" + +#: plugins/sudoers/def_data.c:328 +#, c-format +msgid "Path to the restricted sudo-specific environment file: %s" +msgstr "制限付きsudo 固有の環境ファイルのパス: %s" + +#: plugins/sudoers/def_data.c:332 +#, c-format +msgid "Locale to use while parsing sudoers: %s" +msgstr "sudoers を構文解析する時に使用するロケール: %s" + +#: plugins/sudoers/def_data.c:336 +msgid "Allow sudo to prompt for a password even if it would be visible" +msgstr "パスワードが表示されてしまう状態であっても sudo がパスワード入力を要求することを許可します" + +#: plugins/sudoers/def_data.c:340 +msgid "Provide visual feedback at the password prompt when there is user input" +msgstr "パスワード入力要求でユーザーの入力があった時に、視覚的なフィードバックを提供します" + +#: plugins/sudoers/def_data.c:344 +msgid "Use faster globbing that is less accurate but does not access the filesystem" +msgstr "ファイルシステムにアクセスしないがより正確では無い、素早い一致確認処理を行います" + +#: plugins/sudoers/def_data.c:348 +msgid "The umask specified in sudoers will override the user's, even if it is more permissive" +msgstr "sudoers で指定した umask 値でユーザーの umask 値を上書きします (ユーザーの umask 値より緩い場合でも)" + +#: plugins/sudoers/def_data.c:352 +msgid "Log user's input for the command being run" +msgstr "コマンドを実行した時のユーザー入力をログに記録します" + +#: plugins/sudoers/def_data.c:356 +msgid "Log the command's standard input if not connected to a terminal" +msgstr "端末に接続していない場合にコマンドの標準入力をログに記録します" + +#: plugins/sudoers/def_data.c:360 +msgid "Log the user's terminal input for the command being run" +msgstr "コマンドを実行した時のユーザーの端末入力をログに記録します" + +#: plugins/sudoers/def_data.c:364 +msgid "Log the output of the command being run" +msgstr "コマンドを実行した時の出力をログに記録します" + +#: plugins/sudoers/def_data.c:368 +msgid "Log the command's standard output if not connected to a terminal" +msgstr "端末に接続していない場合にコマンドの標準出力をログに記録します" + +#: plugins/sudoers/def_data.c:372 +msgid "Log the command's standard error if not connected to a terminal" +msgstr "端末に接続していない場合にコマンドの標準エラー出力をログに記録します" + +#: plugins/sudoers/def_data.c:376 +msgid "Log the terminal output of the command being run" +msgstr "コマンドを実行した時の端末出力をログに記録します" + +#: plugins/sudoers/def_data.c:380 +msgid "Compress I/O logs using zlib" +msgstr "I/O ログを zlib を使用して圧縮します" + +#: plugins/sudoers/def_data.c:384 +msgid "Always run commands in a pseudo-tty" +msgstr "常に疑似 tty 内でコマンドを実行します" + +#: plugins/sudoers/def_data.c:388 +#, c-format +msgid "Plugin for non-Unix group support: %s" +msgstr "UNIX 以外のグループをサポートするためのプラグインです:%s" + +#: plugins/sudoers/def_data.c:392 +#, c-format +msgid "Directory in which to store input/output logs: %s" +msgstr "入出力 (I/O) ログを保存するディレクトリです:%s" + +#: plugins/sudoers/def_data.c:396 +#, c-format +msgid "File in which to store the input/output log: %s" +msgstr "入出力 (I/O) ログを保存するファイルです:%s" + +#: plugins/sudoers/def_data.c:400 +msgid "Add an entry to the utmp/utmpx file when allocating a pty" +msgstr "pty を割り当てた時に utmp/utmpx ファイルに記録を加えます" + +#: plugins/sudoers/def_data.c:404 +msgid "Set the user in utmp to the runas user, not the invoking user" +msgstr "utmp に記録するユーザーを、実行したユーザーではなく、変更後のユーザーにします" + +#: plugins/sudoers/def_data.c:408 +#, c-format +msgid "Set of permitted privileges: %s" +msgstr "許容される権限の集合: %s" + +#: plugins/sudoers/def_data.c:412 +#, c-format +msgid "Set of limit privileges: %s" +msgstr "制限される権限の集合: %s" + +#: plugins/sudoers/def_data.c:416 +msgid "Run commands on a pty in the background" +msgstr "コマンドを pty でバックグラウンドで実行する" + +#: plugins/sudoers/def_data.c:420 +#, c-format +msgid "PAM service name to use: %s" +msgstr "利用する PAM サービス名: %s" + +#: plugins/sudoers/def_data.c:424 +#, c-format +msgid "PAM service name to use for login shells: %s" +msgstr "ログインシェルで利用する PAM サービス名: %s" + +#: plugins/sudoers/def_data.c:428 +#, c-format +msgid "PAM service name to use when sudo is run with the -A option: %s" +msgstr "sudo が -A オプション付きで実行されたときに使う PAM サービス名: %s" + +#: plugins/sudoers/def_data.c:432 +msgid "Attempt to establish PAM credentials for the target user" +msgstr "ターゲットユーザーの PAM 資格情報による認証を試みる" + +#: plugins/sudoers/def_data.c:436 +msgid "Create a new PAM session for the command to run in" +msgstr "実行するコマンドのために新しい PAM セッションを生成する" + +#: plugins/sudoers/def_data.c:440 +msgid "Perform PAM account validation management" +msgstr "PAM アカウント検証管理を実行しています" + +#: plugins/sudoers/def_data.c:444 +#, c-format +msgid "Maximum I/O log sequence number: %s" +msgstr "I/O ログシーケンス番号の最大値: %s" + +#: plugins/sudoers/def_data.c:448 +msgid "Enable sudoers netgroup support" +msgstr "sudoers のネットグループサポートを有効にする" + +#: plugins/sudoers/def_data.c:452 +msgid "Check parent directories for writability when editing files with sudoedit" +msgstr "ファイルを sudoedit で編集するときに親ディレクトリが書き込み可能か確かめる" + +#: plugins/sudoers/def_data.c:456 +msgid "Follow symbolic links when editing files with sudoedit" +msgstr "ファイルを sudoedit で編集するときにシンボリックリンクを追う" + +#: plugins/sudoers/def_data.c:460 +msgid "Query the group plugin for unknown system groups" +msgstr "不明なシステムグループについて、グループプラグインに問い合わせる" + +#: plugins/sudoers/def_data.c:464 +msgid "Match netgroups based on the entire tuple: user, host and domain" +msgstr "ネットグループについて、すべてのタプル(ユーザー、ホスト、ドメイン)を基に判定する" + +#: plugins/sudoers/def_data.c:468 +msgid "Allow commands to be run even if sudo cannot write to the audit log" +msgstr "監査ログファイルへの書き込みができなくても、コマンドの実行を許可する" + +#: plugins/sudoers/def_data.c:472 +msgid "Allow commands to be run even if sudo cannot write to the I/O log" +msgstr "I/O ログファイルへの書き込みができなくても、コマンドの実行を許可する" + +#: plugins/sudoers/def_data.c:476 +msgid "Allow commands to be run even if sudo cannot write to the log file" +msgstr "ログファイルへの書き込みができなくても、コマンドの実行を許可する" + +#: plugins/sudoers/def_data.c:480 +msgid "Resolve groups in sudoers and match on the group ID, not the name" +msgstr "グループの照合を sudoers の中で行い、グループ名でなくグループIDを用いる" + +#: plugins/sudoers/def_data.c:484 +#, c-format +msgid "Log entries larger than this value will be split into multiple syslog messages: %u" +msgstr "ログエントリーがこの値より長くなると、複数の syslog メッセージに分割されます: %u" + +#: plugins/sudoers/def_data.c:488 +#, c-format +msgid "User that will own the I/O log files: %s" +msgstr "I/O ログの所有者となるユーザー: %s" + +#: plugins/sudoers/def_data.c:492 +#, c-format +msgid "Group that will own the I/O log files: %s" +msgstr "I/O ログの所有者となるグループ: %s" + +#: plugins/sudoers/def_data.c:496 +#, c-format +msgid "File mode to use for the I/O log files: 0%o" +msgstr "I/O ログのファイルモード: 0%o" + +#: plugins/sudoers/def_data.c:500 +#, c-format +msgid "Execute commands by file descriptor instead of by path: %s" +msgstr "コマンドの実行時にパスでなくファイル記述子を使う: %s" + +#: plugins/sudoers/def_data.c:504 +msgid "Ignore unknown Defaults entries in sudoers instead of producing a warning" +msgstr "sudoers の中の未知の Defaults エントリーを無視し、警告を出さない" + +#: plugins/sudoers/def_data.c:508 +#, c-format +msgid "Time in seconds after which the command will be terminated: %u" +msgstr "コマンドが中断されるまでの経過時間を秒で指定する: %u" + +#: plugins/sudoers/def_data.c:512 +msgid "Allow the user to specify a timeout on the command line" +msgstr "ユーザーがコマンド実行の制限時間をコマンドラインで指定できるようにする" + +#: plugins/sudoers/def_data.c:516 +msgid "Flush I/O log data to disk immediately instead of buffering it" +msgstr "I/O ログのデータをバッファせずに、即ディスクにフラッシュする" + +#: plugins/sudoers/def_data.c:520 +msgid "Include the process ID when logging via syslog" +msgstr "syslog へのログ記録時にプロセスIDを含める" + +#: plugins/sudoers/def_data.c:524 +#, c-format +msgid "Type of authentication timestamp record: %s" +msgstr "認証タイムスタンプのタイプ: %s" + +#: plugins/sudoers/def_data.c:528 +#, c-format +msgid "Authentication failure message: %s" +msgstr "認証失敗メッセージ: %s" + +#: plugins/sudoers/def_data.c:532 +msgid "Ignore case when matching user names" +msgstr "ユーザー名の検索で大文字小文字を同一視する" + +#: plugins/sudoers/def_data.c:536 +msgid "Ignore case when matching group names" +msgstr "グループ名の検索で大文字小文字を同一視する" + +#: plugins/sudoers/def_data.c:540 +msgid "Log when a command is allowed by sudoers" +msgstr "コマンドが sudoers で許可された場合にログに記録します" + +#: plugins/sudoers/def_data.c:544 +msgid "Log when a command is denied by sudoers" +msgstr "コマンドが sudoers で拒否された場合にログに記録します" + +#: plugins/sudoers/def_data.c:548 +msgid "Sudo log server(s) to connect to with optional port" +msgstr "オプショナルなポートで接続する Sudo ログサーバー" + +#: plugins/sudoers/def_data.c:552 +#, c-format +msgid "Sudo log server timeout in seconds: %u" +msgstr "Sudo ログサーバーのタイムアウト、単位は秒: %u" + +#: plugins/sudoers/def_data.c:556 +msgid "Enable SO_KEEPALIVE socket option on the socket connected to the logserver" +msgstr "ログサーバーに接続したソケットで SO_KEEPALIVE ソケットオプションを有効にする" + +#: plugins/sudoers/def_data.c:560 +#, c-format +msgid "Path to the audit server's CA bundle file: %s" +msgstr "認証サーバーの CA バンドルファイルのパス: %s" + +#: plugins/sudoers/def_data.c:564 +#, c-format +msgid "Path to the sudoers certificate file: %s" +msgstr "sudoers の証明書ファイルのパス: %s" + +#: plugins/sudoers/def_data.c:568 +#, c-format +msgid "Path to the sudoers private key file: %s" +msgstr "sudoers のプライベート鍵ファイルのパス: %s" + +#: plugins/sudoers/def_data.c:572 +msgid "Verify that the log server's certificate is valid" +msgstr "ログサーバーの証明書が有効か検証する" + +#: plugins/sudoers/def_data.c:576 +msgid "Allow the use of unknown runas user and/or group ID" +msgstr "未知の runas ユーザーおよび/またはグループ ID を使うことを許可する" + +#: plugins/sudoers/def_data.c:580 +msgid "Only permit running commands as a user with a valid shell" +msgstr "有効なシェルを持つユーザーのみにコマンド実行を許可する" + +#: plugins/sudoers/def_data.c:584 +msgid "Set the pam remote user to the user running sudo" +msgstr "PAMのリモートユーザーを sudo を実行しているユーザーに設定" + +#: plugins/sudoers/def_data.c:588 +msgid "Set the pam remote host to the local host name" +msgstr "PAMのリモートホストをローカルホスト名に設定" + +#: plugins/sudoers/def_data.c:592 +#, c-format +msgid "Working directory to change to before executing the command: %s" +msgstr "コマンド実行前に変更する作業ディレクトリ: %s" + +#: plugins/sudoers/def_data.c:596 +#, c-format +msgid "Root directory to change to before executing the command: %s" +msgstr "コマンド実行前に変更するルートディレクトリ: %s" + +#: plugins/sudoers/def_data.c:600 +#, c-format +msgid "The format of logs to produce: %s" +msgstr "生成するログの書式: %s" + +#: plugins/sudoers/def_data.c:604 +msgid "Enable SELinux RBAC support" +msgstr "SELinux RBAC のサポートを有効にする" + +#: plugins/sudoers/def_data.c:608 +#, c-format +msgid "Path to the file that is created the first time sudo is run: %s" +msgstr "sudo が最初に実行された時に作成されるファイルのパス: %s" + +#: plugins/sudoers/def_data.c:612 +msgid "Intercept further commands and apply sudoers restrictions to them" +msgstr "これ以降のコマンドに割り込み、sudoers による制限を適用する" + +#: plugins/sudoers/def_data.c:616 +msgid "Log sub-commands run by the original command" +msgstr "コマンドが実行したサブコマンドをログに記録する" + +#: plugins/sudoers/def_data.c:620 +msgid "Log the exit status of commands" +msgstr "コマンドを実行した後の終了ステータスをログに記録します" + +#: plugins/sudoers/def_data.c:624 +msgid "Subsequent commands in an intercepted session must be authenticated" +msgstr "割り込みセッションの中で続くコマンドには認証が必要です" + +#: plugins/sudoers/def_data.c:628 +msgid "Allow an intercepted command to run set setuid or setgid programs" +msgstr "割り込まれたコマンドが setuid または setgid プログラムを実行することを許可します" + +#: plugins/sudoers/def_data.c:632 +#, c-format +msgid "The maximum size to which the process's address space may grow (in bytes): %s" +msgstr "プロセスのアドレス空間の最大値(バイト単位): %s" + +#: plugins/sudoers/def_data.c:636 +#, c-format +msgid "The largest size core dump file that may be created (in bytes): %s" +msgstr "コアダンプファイルの最大サイズ(バイト単位): %s" + +#: plugins/sudoers/def_data.c:640 +#, c-format +msgid "The maximum amount of CPU time that the process may use (in seconds): %s" +msgstr "プロセスが使用するCPU時間の最大値(秒単位): %s" + +#: plugins/sudoers/def_data.c:644 +#, c-format +msgid "The maximum size of the data segment for the process (in bytes): %s" +msgstr "プロセスのデータセグメントサイズの最大値(バイト単位): %s" + +#: plugins/sudoers/def_data.c:648 +#, c-format +msgid "The largest size file that the process may create (in bytes): %s" +msgstr "プロセスが作成するファイルサイズの最大値(バイト単位): %s" + +#: plugins/sudoers/def_data.c:652 +#, c-format +msgid "The maximum number of locks that the process may establish: %s" +msgstr "プロセスが作るロックの最大数: %s" + +#: plugins/sudoers/def_data.c:656 +#, c-format +msgid "The maximum size that the process may lock in memory (in bytes): %s" +msgstr "プロセスがロックするメモリーサイズの最大値(バイト単位): %s" + +#: plugins/sudoers/def_data.c:660 +#, c-format +msgid "The maximum number of files that the process may have open: %s" +msgstr "プロセスが開くファイル数の最大値: %s" + +#: plugins/sudoers/def_data.c:664 +#, c-format +msgid "The maximum number of processes that the user may run simultaneously: %s" +msgstr "ユーザーが同時に走らせるプロセスの最大数: %s" + +#: plugins/sudoers/def_data.c:668 +#, c-format +msgid "The maximum size to which the process's resident set size may grow (in bytes): %s" +msgstr "プロセスが使用するメモリー(RSS)の最大値(バイト単位): %s" + +#: plugins/sudoers/def_data.c:672 +#, c-format +msgid "The maximum size to which the process's stack may grow (in bytes): %s" +msgstr "プロセスのスタックサイズの最大値(バイト単位): %s" + +#: plugins/sudoers/def_data.c:676 +msgid "Attempt authentication even when in non-interactive mode" +msgstr "非対話モードでも認証を試みる" + +#: plugins/sudoers/def_data.c:680 +msgid "Store plaintext passwords in I/O log input" +msgstr "I/Oログ入力に平分のパスワードを格納する" + +#: plugins/sudoers/def_data.c:684 +msgid "List of regular expressions to use when matching a password prompt" +msgstr "パスワードのプロンプトに一致するか調べる正規表現の一覧" + +#: plugins/sudoers/def_data.c:688 +#, c-format +msgid "The mechanism used by the intercept and log_subcmds options: %s" +msgstr "インターセプトと log_subcmds オプションで使われるメカニズム: %s" + +#: plugins/sudoers/def_data.c:692 +msgid "Attempt to verify the command and arguments after execution" +msgstr "コマンドと引数を実行後に検証することを試みます" + +#: plugins/sudoers/def_data.c:696 +#, c-format +msgid "AppArmor profile to use in the new security context: %s" +msgstr "新しいセキュリティコンテキスト内で使用する AppArmor プロファイル: %s" + +#: plugins/sudoers/defaults.c:191 +#, c-format +msgid "unknown defaults entry \"%s\"" +msgstr "不明なデフォルト項目 \"%s\" です" + +#: plugins/sudoers/defaults.c:234 +#, c-format +msgid "no value specified for \"%s\"" +msgstr "\"%s\" に値が指定されていません" + +#: plugins/sudoers/defaults.c:243 +#, c-format +msgid "invalid operator \"%c=\" for \"%s\"" +msgstr "\"%c=\" は \"%s\" には無効な演算子です" + +#: plugins/sudoers/defaults.c:275 +#, c-format +msgid "option \"%s\" does not take a value" +msgstr "オプション \"%s\" は値をとりません" + +#: plugins/sudoers/defaults.c:299 +#, c-format +msgid "invalid Defaults type 0x%x for option \"%s\"" +msgstr "0x%x はオプション \"%s\" のデフォルトタイプとして無効です" + +#: plugins/sudoers/defaults.c:306 +#, c-format +msgid "value \"%s\" is invalid for option \"%s\"" +msgstr "\"%s\" はオプション \"%s\" の値としては無効です" + +#: plugins/sudoers/defaults.c:1128 plugins/sudoers/policy.c:210 +#: plugins/sudoers/policy.c:219 +#, c-format +msgid "path name for \"%s\" too long" +msgstr "\"%s\" のパス名が長すぎます" + +#: plugins/sudoers/defaults.c:1134 +#, c-format +msgid "values for \"%s\" must start with a '/', '~', or '*'" +msgstr "\"%s\" の値は '/', '~', または '*' で開始しなければいけません" + +#: plugins/sudoers/defaults.c:1141 +#, c-format +msgid "values for \"%s\" must start with a '/'" +msgstr "\"%s\" の値は '/' で開始しなければいけません" + +#: plugins/sudoers/editor.c:180 +#, c-format +msgid "ignoring editor: %.*s" +msgstr "エディターを無視します: %.*s" + +#: plugins/sudoers/editor.c:181 +msgid "editor arguments may not contain \"--\"" +msgstr "エディターの引数には \"--\" を含むことができません" + +#: plugins/sudoers/env.c:426 +msgid "sudo_putenv: corrupted envp, length mismatch" +msgstr "sudo_putenv: envp が破損しています。長さが合いません" + +#: plugins/sudoers/env.c:1113 +msgid "unable to rebuild the environment" +msgstr "環境を再構築できません" + +#: plugins/sudoers/env.c:1192 +#, c-format +msgid "sorry, you are not allowed to set the following environment variables: %s" +msgstr "残念ですが、あなたは次の環境変数を設定することを許可されていません: %s" + +#: plugins/sudoers/filedigest.c:49 +#, c-format +msgid "unsupported digest type %d for %s" +msgstr "サポートされてない 認証方式 %d です: %s" + +#: plugins/sudoers/filedigest.c:78 +#, c-format +msgid "%s: read error" +msgstr "%s: 読み込みエラー" + +#: plugins/sudoers/group_plugin.c:169 plugins/sudoers/sssd.c:576 +#, c-format +msgid "unable to load %s: %s" +msgstr "%s をロードできません: %su" + +#: plugins/sudoers/group_plugin.c:181 +#, c-format +msgid "unable to find symbol \"group_plugin\" in %s" +msgstr "%s 内にシンボル \"group_plugin\" がありません" + +#: plugins/sudoers/group_plugin.c:186 +#, c-format +msgid "%s: incompatible group plugin major version %d, expected %d" +msgstr "%s: 互換性のないグループプラグインメジャーバージョン %d です。予期されるのは %d です" + +#: plugins/sudoers/interfaces.c:76 plugins/sudoers/interfaces.c:93 +#, c-format +msgid "unable to parse IP address \"%s\"" +msgstr "IPアドレス \"%s\" を解析できません" + +#: plugins/sudoers/interfaces.c:81 plugins/sudoers/interfaces.c:98 +#, c-format +msgid "unable to parse netmask \"%s\"" +msgstr "ネットマスク \"%s\" を解析できません" + +#: plugins/sudoers/interfaces.c:126 +msgid "Local IP address and netmask pairs:\n" +msgstr "ローカル IP アドレスとネットマスクの組:\n" + +#: plugins/sudoers/iolog.c:685 +msgid "unable to update sequence file" +msgstr "シーケンスファイルを更新できません" + +#: plugins/sudoers/iolog.c:719 plugins/sudoers/iolog.c:907 +#: plugins/sudoers/iolog.c:1069 plugins/sudoers/iolog.c:1076 +#: plugins/sudoers/iolog.c:1197 plugins/sudoers/iolog.c:1204 +#: plugins/sudoers/iolog.c:1303 plugins/sudoers/iolog.c:1310 +#, c-format +msgid "unable to write to I/O log file: %s" +msgstr "%s へ I/O ログを書き込むことができません" + +#: plugins/sudoers/iolog.c:727 +#, c-format +msgid "unable to create %s/%s" +msgstr "%s/%s を作成できません" + +#: plugins/sudoers/iolog.c:955 +#, c-format +msgid "%s: internal error, I/O log file for event %d not open" +msgstr "%s: 内部エラー、I/O イベント %d のログファイルを開けません" + +#: plugins/sudoers/iolog.c:1054 plugins/sudoers/iolog.c:1182 +#: plugins/sudoers/iolog.c:1287 plugins/sudoers/timestamp.c:879 +#: plugins/sudoers/timestamp.c:971 plugins/sudoers/visudo.c:556 +#: plugins/sudoers/visudo.c:562 +msgid "unable to read the clock" +msgstr "時刻を読み込むことができません" + +#: plugins/sudoers/iolog.c:1279 plugins/sudoers/log_client.c:1192 +#: plugins/sudoers/log_client.c:1202 plugins/sudoers/log_client.c:1206 +#, c-format +msgid "%s: internal error, invalid signal %d" +msgstr "%s: 内部エラー、無効なシグナル %d" + +#: plugins/sudoers/ldap.c:177 plugins/sudoers/ldap_conf.c:292 +msgid "starttls not supported when using ldaps" +msgstr "starttls は ldaps を使用時にはサポートされていません" + +#: plugins/sudoers/ldap.c:248 +#, c-format +msgid "unable to initialize SSL cert and key db: %s" +msgstr "SSL 証明書と鍵データベースを初期化できません: %s" + +#: plugins/sudoers/ldap.c:251 +#, c-format +msgid "you must set TLS_CERT in %s to use SSL" +msgstr "SSL を使用するためには %s の中の TLS_CERT を設定する必要があります" + +#: plugins/sudoers/ldap.c:1714 +#, c-format +msgid "unable to initialize LDAP: %s" +msgstr "LDAP を初期化できません: %s" + +#: plugins/sudoers/ldap.c:1751 +msgid "start_tls specified but LDAP libs do not support ldap_start_tls_s() or ldap_start_tls_s_np()" +msgstr "start_tls が指定されていますが、LDAP ライブラリが ldap_start_tls_s() または ldap_start_tls_s_np() をサポートしていません" + +#: plugins/sudoers/ldap.c:1888 plugins/sudoers/parse_ldif.c:748 +#, c-format +msgid "invalid sudoOrder attribute: %s" +msgstr "無効な sudoOrder 属性です: %s" + +#: plugins/sudoers/ldap_conf.c:200 +#, c-format +msgid "%s: port too large" +msgstr "%s: ポートが大き過ぎます" + +#: plugins/sudoers/ldap_conf.c:261 +#, c-format +msgid "unsupported LDAP uri type: %s" +msgstr "サポートされてない LDAP URI タイプです: %s" + +#: plugins/sudoers/ldap_conf.c:288 +msgid "unable to mix ldap and ldaps URIs" +msgstr "ldap と ldaps の URI を混ぜて使用できません" + +#: plugins/sudoers/ldap_util.c:499 plugins/sudoers/ldap_util.c:506 +#: plugins/sudoers/ldap_util.c:514 plugins/sudoers/ldap_util.c:523 +#: plugins/sudoers/ldap_util.c:531 plugins/sudoers/ldap_util.c:541 +#: plugins/sudoers/ldap_util.c:549 +#, c-format +msgid "duplicate sudoOption: %s%s%s" +msgstr "sudoOption が重複しています: %s%s%s" + +#: plugins/sudoers/ldap_util.c:568 plugins/sudoers/ldap_util.c:570 +#, c-format +msgid "unable to convert sudoOption: %s%s%s" +msgstr "sudoOption を変換できません: %s%s%s" + +#: plugins/sudoers/linux_audit.c:58 plugins/sudoers/linux_audit.c:60 +msgid "unable to open audit system" +msgstr "監査システムを開くことができません" + +#: plugins/sudoers/linux_audit.c:103 +msgid "unable to send audit message" +msgstr "監査メッセージを送ることができません" + +#: plugins/sudoers/log_client.c:125 plugins/sudoers/log_client.c:412 +#: plugins/sudoers/log_client.c:1439 plugins/sudoers/log_client.c:2055 +msgid "error in event loop" +msgstr "イベントループでエラーが発生しました" + +#: plugins/sudoers/log_client.c:205 +#, c-format +msgid "Creation of new SSL_CTX object failed: %s" +msgstr "新しい SSL_CTX オブジェクトの作成に失敗しました: %s" + +#: plugins/sudoers/log_client.c:230 +#, c-format +msgid "unable to load certificate authority bundle %s" +msgstr "認証局の証明書バンドル %s をロードできません" + +#: plugins/sudoers/log_client.c:252 +#, c-format +msgid "unable to load certificate %s" +msgstr "証明書 %s をロードできません" + +#: plugins/sudoers/log_client.c:266 +#, c-format +msgid "unable to load private key %s" +msgstr "プライベート鍵を読み込めません: %s" + +#: plugins/sudoers/log_client.c:275 +#, c-format +msgid "Unable to allocate ssl object: %s" +msgstr "SSLオブジェクトを割り当てることができません: %s" + +#: plugins/sudoers/log_client.c:364 plugins/sudoers/log_client.c:369 +#, c-format +msgid "TLS connection to %s:%s failed: %s" +msgstr "%s:%s へのTLS接続に失敗しました: %s" + +#: plugins/sudoers/log_client.c:543 +msgid "TLS initialization was unsuccessful" +msgstr "TLS 初期化が成功しませんでした" + +#: plugins/sudoers/log_client.c:553 +msgid "TLS handshake was unsuccessful" +msgstr "TLS ハンドシェイクが成功しませんでした" + +#: plugins/sudoers/log_client.c:1210 +#, c-format +msgid "%s: internal error, invalid exit status %d" +msgstr "%s: 内部エラー、無効な終了コード %d" + +#: plugins/sudoers/log_client.c:1739 plugins/sudoers/log_client.c:1763 +msgid "lost connection to log server" +msgstr "ログサーバーへの接続が失われました" + +#: plugins/sudoers/log_client.c:1840 +msgid "missing write buffer" +msgstr "書き込みバッファが失われました" + +#: plugins/sudoers/log_client.c:1994 +msgid "unable to connect to log server" +msgstr "ログサーバーに接続できません" + +#: plugins/sudoers/logging.c:290 +msgid "user NOT in sudoers" +msgstr "ユーザーが sudoers 内にありません" + +#: plugins/sudoers/logging.c:292 +msgid "user NOT authorized on host" +msgstr "ホスト上でユーザーが認証されていません" + +#: plugins/sudoers/logging.c:294 +msgid "command not allowed" +msgstr "コマンドが許可されていません" + +#: plugins/sudoers/logging.c:315 +#, c-format +msgid "%s is not in the sudoers file.\n" +msgstr "%s は sudoers ファイルにありません。\n" + +#: plugins/sudoers/logging.c:318 +#, c-format +msgid "%s is not allowed to run sudo on %s.\n" +msgstr "%s は %s 上で sudo を実行することを許可されていません。\n" + +#: plugins/sudoers/logging.c:321 +#, c-format +msgid "Sorry, user %s may not run sudo on %s.\n" +msgstr "残念ですが、ユーザー %s は %s 上で sudo を実行できません。\n" + +#: plugins/sudoers/logging.c:324 +#, c-format +msgid "Sorry, user %s is not allowed to execute '%s%s%s' as %s%s%s on %s.\n" +msgstr "残念ですが、ユーザー %s は'%s%s%s' を %s%s%s として %s 上で実行することは許可されていません。\n" + +#: plugins/sudoers/logging.c:334 +msgid "This incident has been reported to the administrator.\n" +msgstr "この出来事は管理者宛てに報告されました。\n" + +#: plugins/sudoers/logging.c:369 plugins/sudoers/sudoers.c:655 +#: plugins/sudoers/sudoers.c:657 plugins/sudoers/sudoers.c:659 +#: plugins/sudoers/sudoers.c:661 plugins/sudoers/sudoers.c:816 +#: plugins/sudoers/sudoers.c:818 +#, c-format +msgid "%s: command not found" +msgstr "%s: コマンドが見つかりません" + +#: plugins/sudoers/logging.c:371 plugins/sudoers/sudoers.c:651 +#, c-format +msgid "" +"ignoring \"%s\" found in '.'\n" +"Use \"sudo ./%s\" if this is the \"%s\" you wish to run." +msgstr "" +"'.' 内で見つかった \"%1$s\" を無視します\n" +"この \"%3$s\" を実行したい場合は \"sudo ./%2$s\" を使用してください。" + +#: plugins/sudoers/logging.c:391 +#, c-format +msgid "%u incorrect password attempt" +msgid_plural "%u incorrect password attempts" +msgstr[0] "%u 回パスワード試行を間違えました" + +#: plugins/sudoers/logging.c:481 +msgid "authentication failure" +msgstr "認証失敗" + +#: plugins/sudoers/logging.c:520 plugins/sudoers/logging.c:539 +msgid "a password is required" +msgstr "パスワードが必要です" + +#: plugins/sudoers/logging.c:803 plugins/sudoers/logging.c:815 +msgid "problem parsing sudoers" +msgstr "sudoers を構文解析する時に起きた問題" + +#: plugins/sudoers/logging.c:877 plugins/sudoers/logging.c:889 +#, c-format +msgid "%s:%d:%d: %s" +msgstr "%s:%d:%d: %s" + +#: plugins/sudoers/logging.c:1066 +#, c-format +msgid "unable to write log file: %s" +msgstr "%s へログを書き込むことができません" + +#: plugins/sudoers/match_digest.c:112 +#, c-format +msgid "digest for %s (%s) bad length %zu, expected %zu" +msgstr "%s (%s) のハッシュの長さが %zu で、 予期される %zu ではありません" + +#: plugins/sudoers/match_digest.c:131 +#, c-format +msgid "digest for %s (%s) is not in %s form" +msgstr "%s (%s) のハッシュは %s 形式ではありません" + +#: plugins/sudoers/parse.c:631 +#, c-format +msgid "" +"\n" +"LDAP Role: %s\n" +msgstr "" +"\n" +"LDAP 役割: %s\n" + +#: plugins/sudoers/parse.c:634 +msgid "" +"\n" +"Sudoers entry:\n" +msgstr "" +"\n" +"sudoers 項目:\n" + +#: plugins/sudoers/parse.c:636 +msgid " RunAsUsers: " +msgstr " RunAsUsers: " + +#: plugins/sudoers/parse.c:651 +msgid " RunAsGroups: " +msgstr " RunAsGroups: " + +#: plugins/sudoers/parse.c:661 +msgid " Options: " +msgstr " オプション: " + +#: plugins/sudoers/parse.c:725 +msgid " Commands:\n" +msgstr " コマンド:\n" + +#: plugins/sudoers/parse.c:916 +#, c-format +msgid "Matching Defaults entries for %s on %s:\n" +msgstr "既定値のエントリと照合中 (ユーザー名 %s) (ホスト名 %s):\n" + +#: plugins/sudoers/parse.c:934 +#, c-format +msgid "Runas and Command-specific defaults for %s:\n" +msgstr "ユーザー %s 用の Runas およびコマンド特有のデフォルト:\n" + +#: plugins/sudoers/parse.c:952 +#, c-format +msgid "User %s may run the following commands on %s:\n" +msgstr "ユーザー %s は %s 上で コマンドを実行できます\n" + +#: plugins/sudoers/parse.c:967 +#, c-format +msgid "User %s is not allowed to run sudo on %s.\n" +msgstr "ユーザー %s は %s 上で sudo を実行することを許可されていません。\n" + +#: plugins/sudoers/parse_ldif.c:618 +#, c-format +msgid "ignoring incomplete sudoRole: cn: %s" +msgstr "不完全な sudoRole: cn: %s を無視します" + +#: plugins/sudoers/parse_ldif.c:678 +#, c-format +msgid "invalid LDIF attribute: %s" +msgstr "無効な LDIF 属性です: %s" + +#: plugins/sudoers/policy.c:82 plugins/sudoers/policy.c:113 +#, c-format +msgid "invalid %.*s set by sudo front-end" +msgstr "無効な %.*s が sudo のフロントエンドで設定されています" + +#: plugins/sudoers/policy.c:360 plugins/sudoers/testsudoers.c:268 +msgid "unable to parse network address list" +msgstr "ネットワークのアドレスリストを解析できません" + +#: plugins/sudoers/policy.c:528 +msgid "user name not set by sudo front-end" +msgstr "ユーザー名が sudo のフロントエンドで設定されていません" + +#: plugins/sudoers/policy.c:532 +msgid "user-ID not set by sudo front-end" +msgstr "ユーザーIDが sudo のフロントエンドで設定されていません" + +#: plugins/sudoers/policy.c:536 +msgid "group-ID not set by sudo front-end" +msgstr "グループIDが sudo のフロントエンドで設定されていません" + +#: plugins/sudoers/policy.c:540 +msgid "host name not set by sudo front-end" +msgstr "ホスト名が sudo のフロントエンドで設定されていません" + +#: plugins/sudoers/policy.c:737 +#, c-format +msgid "invalid working directory: %s" +msgstr "無効な作業ディレクトリ: %s" + +#: plugins/sudoers/policy.c:921 +#, c-format +msgid "invalid chroot directory: %s" +msgstr "無効な chroot ディレクトリ: %s" + +#: plugins/sudoers/policy.c:1108 plugins/sudoers/visudo.c:259 +#: plugins/sudoers/visudo.c:906 +#, c-format +msgid "unable to execute %s" +msgstr "%s を実行できません" + +#: plugins/sudoers/policy.c:1178 plugins/sudoers/policy.c:1215 +#: plugins/sudoers/policy.c:1237 plugins/sudoers/policy.c:1263 +#, c-format +msgid "%s: invalid mode flags from sudo front end: 0x%x" +msgstr "%s: 無効なモードフラグが sudo のフロントエンドで指定されています: 0x%x" + +#: plugins/sudoers/policy.c:1299 +#, c-format +msgid "Sudoers policy plugin version %s\n" +msgstr "sudoers ポリシープラグイン バージョン %s\n" + +#: plugins/sudoers/policy.c:1301 +#, c-format +msgid "Sudoers file grammar version %d\n" +msgstr "sudoers ファイル文法バージョン %d\n" + +#: plugins/sudoers/policy.c:1305 +#, c-format +msgid "" +"\n" +"Sudoers path: %s\n" +msgstr "" +"\n" +"sudoers のパス: %s\n" + +#: plugins/sudoers/policy.c:1308 +#, c-format +msgid "nsswitch path: %s\n" +msgstr "nsswitch のパス: %s\n" + +#: plugins/sudoers/policy.c:1310 +#, c-format +msgid "ldap.conf path: %s\n" +msgstr "ldap.conf のパス: %s\n" + +#: plugins/sudoers/policy.c:1311 +#, c-format +msgid "ldap.secret path: %s\n" +msgstr "ldap.secret のパス: %s\n" + +#: plugins/sudoers/policy.c:1344 +#, c-format +msgid "unable to register hook of type %d (version %d.%d)" +msgstr "タイプ %d のフックを登録できません (バージョン %d.%d)" + +#: plugins/sudoers/policy.c:1362 +#, c-format +msgid "unable to deregister hook of type %d (version %d.%d)" +msgstr "タイプ %d のフックを登録解除できません (バージョン %d.%d)" + +#: plugins/sudoers/pwutil.c:222 plugins/sudoers/pwutil.c:240 +#, c-format +msgid "unable to cache uid %u" +msgstr "ユーザーID %u をキャッシュできません" + +#: plugins/sudoers/pwutil.c:234 +#, c-format +msgid "unable to cache uid %u, already exists" +msgstr "ユーザーID %u をキャッシュできません。すでに存在します" + +#: plugins/sudoers/pwutil.c:294 plugins/sudoers/pwutil.c:312 +#: plugins/sudoers/pwutil.c:375 plugins/sudoers/pwutil.c:420 +#, c-format +msgid "unable to cache user %s" +msgstr "ユーザー %s をキャッシュできません" + +#: plugins/sudoers/pwutil.c:307 +#, c-format +msgid "unable to cache user %s, already exists" +msgstr "ユーザー %s をキャッシュできません。すでに存在します" + +#: plugins/sudoers/pwutil.c:539 plugins/sudoers/pwutil.c:557 +#, c-format +msgid "unable to cache gid %u" +msgstr "グループID %u をキャッシュできません" + +#: plugins/sudoers/pwutil.c:551 +#, c-format +msgid "unable to cache gid %u, already exists" +msgstr "グループID %u をキャッシュできません。すでに存在します" + +#: plugins/sudoers/pwutil.c:605 plugins/sudoers/pwutil.c:623 +#: plugins/sudoers/pwutil.c:684 plugins/sudoers/pwutil.c:733 +#, c-format +msgid "unable to cache group %s" +msgstr "グループ %s をキャッシュできません" + +#: plugins/sudoers/pwutil.c:618 +#, c-format +msgid "unable to cache group %s, already exists" +msgstr "グループ %s をキャッシュできません。すでに存在します" + +#: plugins/sudoers/pwutil.c:880 plugins/sudoers/pwutil.c:963 +#: plugins/sudoers/pwutil.c:1017 plugins/sudoers/pwutil.c:1071 +#, c-format +msgid "unable to cache group list for %s, already exists" +msgstr "グループリスト %s をキャッシュできません。すでに存在します" + +#: plugins/sudoers/pwutil.c:886 plugins/sudoers/pwutil.c:968 +#: plugins/sudoers/pwutil.c:1023 plugins/sudoers/pwutil.c:1076 +#, c-format +msgid "unable to cache group list for %s" +msgstr "グループリスト %s をキャッシュできません" + +#: plugins/sudoers/pwutil.c:957 +#, c-format +msgid "unable to parse groups for %s" +msgstr "%s のグループを解析できません" + +#: plugins/sudoers/pwutil.c:1065 +#, c-format +msgid "unable to parse gids for %s" +msgstr "%s のグループIDを解析できません" + +#: plugins/sudoers/set_perms.c:114 plugins/sudoers/set_perms.c:445 +#: plugins/sudoers/set_perms.c:852 plugins/sudoers/set_perms.c:1162 +#: plugins/sudoers/set_perms.c:1460 +msgid "perm stack overflow" +msgstr "perm スタックがオーバーフローしました" + +#: plugins/sudoers/set_perms.c:125 plugins/sudoers/set_perms.c:376 +#: plugins/sudoers/set_perms.c:456 plugins/sudoers/set_perms.c:719 +#: plugins/sudoers/set_perms.c:863 plugins/sudoers/set_perms.c:1086 +#: plugins/sudoers/set_perms.c:1173 plugins/sudoers/set_perms.c:1393 +#: plugins/sudoers/set_perms.c:1471 plugins/sudoers/set_perms.c:1562 +msgid "perm stack underflow" +msgstr "perm スタックがアンダーフローしました" + +#: plugins/sudoers/set_perms.c:185 plugins/sudoers/set_perms.c:503 +#: plugins/sudoers/set_perms.c:1227 plugins/sudoers/set_perms.c:1505 +msgid "unable to change to root gid" +msgstr "root のグループIDへ変更できません" + +#: plugins/sudoers/set_perms.c:276 plugins/sudoers/set_perms.c:600 +#: plugins/sudoers/set_perms.c:995 plugins/sudoers/set_perms.c:1304 +msgid "unable to change to runas gid" +msgstr "実行するためのグループIDに変更できません" + +#: plugins/sudoers/set_perms.c:281 plugins/sudoers/set_perms.c:605 +#: plugins/sudoers/set_perms.c:1000 plugins/sudoers/set_perms.c:1309 +msgid "unable to set runas group vector" +msgstr "グループベクトルを実行するためのものに変更できません" + +#: plugins/sudoers/set_perms.c:292 plugins/sudoers/set_perms.c:616 +#: plugins/sudoers/set_perms.c:1009 plugins/sudoers/set_perms.c:1318 +msgid "unable to change to runas uid" +msgstr "実行するためのユーザーIDに変更できません" + +#: plugins/sudoers/set_perms.c:310 plugins/sudoers/set_perms.c:634 +#: plugins/sudoers/set_perms.c:1025 plugins/sudoers/set_perms.c:1334 +msgid "unable to change to sudoers gid" +msgstr "sudoers のグループIDへ変更できません" + +#: plugins/sudoers/set_perms.c:363 plugins/sudoers/set_perms.c:706 +#: plugins/sudoers/set_perms.c:1073 plugins/sudoers/set_perms.c:1380 +#: plugins/sudoers/set_perms.c:1549 +msgid "too many processes" +msgstr "プロセスが多すぎます" + +#: plugins/sudoers/solaris_audit.c:61 +msgid "unable to get current working directory" +msgstr "カレントディレクトリを取得できません" + +#: plugins/sudoers/solaris_audit.c:69 +#, c-format +msgid "truncated audit path user_cmnd: %s" +msgstr "検証の対象とする長さを切り詰めました user_cmnd: %s" + +#: plugins/sudoers/solaris_audit.c:76 +#, c-format +msgid "truncated audit path argv[0]: %s" +msgstr "検証の対象とする長さを切り詰めました argv[0]: %s" + +#: plugins/sudoers/sssd.c:579 +msgid "unable to initialize SSS source. Is SSSD installed on your machine?" +msgstr "SSS のソースを初期化できません。SSSD はあなたのマシンにインストールされていますか?" + +#: plugins/sudoers/sssd.c:587 plugins/sudoers/sssd.c:596 +#: plugins/sudoers/sssd.c:605 plugins/sudoers/sssd.c:614 +#: plugins/sudoers/sssd.c:623 +#, c-format +msgid "unable to find symbol \"%s\" in %s" +msgstr "シンボル \"%s\" が %s 内にありません" + +#: plugins/sudoers/sudoers.c:263 +#, c-format +msgid "unable to get defaults from %s" +msgstr "%s から既定値を取得できません" + +#: plugins/sudoers/sudoers.c:270 +msgid "no valid sudoers sources found, quitting" +msgstr "有効な sudoers のソースが見つかりません。終了します" + +#: plugins/sudoers/sudoers.c:346 +#, c-format +msgid "user not allowed to change root directory to %s" +msgstr "ユーザーはルートディレクトリを %s に変更できません" + +#: plugins/sudoers/sudoers.c:348 +#, c-format +msgid "you are not permitted to use the -R option with %s" +msgstr "-R オプションを %s と共に使用することは許可されていません" + +#: plugins/sudoers/sudoers.c:373 +#, c-format +msgid "user not allowed to change directory to %s" +msgstr "ユーザーはディレクトリを %s に変更できません" + +#: plugins/sudoers/sudoers.c:374 +#, c-format +msgid "you are not permitted to use the -D option with %s" +msgstr "-D オプションを %s と共に使用することは許可されていません" + +#: plugins/sudoers/sudoers.c:401 +msgid "no command specified" +msgstr "コマンドが指定されていません" + +#: plugins/sudoers/sudoers.c:426 +msgid "sudoers specifies that root is not allowed to sudo" +msgstr "sudoers の指定により root が sudo を使用することは禁止されています" + +#: plugins/sudoers/sudoers.c:483 +msgid "user not allowed to override closefrom limit" +msgstr "ユーザーが closefrom 制限をオーバーライドすることは許されていません" + +#: plugins/sudoers/sudoers.c:484 +msgid "you are not permitted to use the -C option" +msgstr "-C オプションを使用することは許可されていません" + +#: plugins/sudoers/sudoers.c:544 +#, c-format +msgid "timestamp owner (%s): No such user" +msgstr "タイムスタンプの所有者 (%s): そのようなユーザーはありません" + +#: plugins/sudoers/sudoers.c:559 +msgid "no tty" +msgstr "tty がありません" + +#: plugins/sudoers/sudoers.c:560 +msgid "sorry, you must have a tty to run sudo" +msgstr "残念ですが、sudo を実行するには tty が必要です" + +#: plugins/sudoers/sudoers.c:567 +#, c-format +msgid "invalid shell for user %s: %s" +msgstr "ユーザー %s には無効な シェル: %s" + +#: plugins/sudoers/sudoers.c:650 +msgid "command in current directory" +msgstr "コマンドがカレントディレクトリにあります" + +#: plugins/sudoers/sudoers.c:665 +msgid "\"cd\" is a shell built-in command, it cannot be run directly." +msgstr "\"cd\" はシェルの内蔵コマンドで、直接実行できません。" + +#: plugins/sudoers/sudoers.c:667 +msgid "the -s option may be used to run a privileged shell." +msgstr "権限を昇格したシェルを実行するために -s オプションが使われることがあります。" + +#: plugins/sudoers/sudoers.c:669 +msgid "the -D option may be used to run a command in a specific directory." +msgstr "コマンドを実行するディレクトリを指定するために -D オプションを使うことができます。" + +#: plugins/sudoers/sudoers.c:678 +msgid "user not allowed to set a command timeout" +msgstr "ユーザーはコマンド実行の制限時間を設定することを許可されていません" + +#: plugins/sudoers/sudoers.c:680 +msgid "sorry, you are not allowed set a command timeout" +msgstr "残念ですが、あなたはコマンド実行の制限時間を設定することを許可されていません" + +#: plugins/sudoers/sudoers.c:688 +msgid "user not allowed to preserve the environment" +msgstr "ユーザーは環境変数を保存することを許可されていません" + +#: plugins/sudoers/sudoers.c:690 +msgid "sorry, you are not allowed to preserve the environment" +msgstr "残念ですが、あなたは環境変数を保存することを許可されていません" + +#: plugins/sudoers/sudoers.c:799 +msgid "error setting user-specified environment variables" +msgstr "ユーザーが指定した環境変数の設定でエラーです" + +#: plugins/sudoers/sudoers.c:1112 +msgid "sudoedit doesn't need to be run via sudo" +msgstr "sudoedit の実行に sudo を使用する必要はありません" + +#: plugins/sudoers/sudoers.c:1157 plugins/sudoers/sudoreplay.c:1612 +#: plugins/sudoers/tsdump.c:138 +#, c-format +msgid "unable to read %s" +msgstr "%s を読み込めません" + +#: plugins/sudoers/sudoers.c:1186 plugins/sudoers/visudo.c:1066 +#, c-format +msgid "%s is not a regular file" +msgstr "%s は通常ファイルではありません" + +#: plugins/sudoers/sudoers.c:1190 plugins/sudoers/timestamp.c:263 toke.l:1255 +#, c-format +msgid "%s is owned by uid %u, should be %u" +msgstr "%s はユーザーID %u によって所有されています。これは %u であるべきです" + +#: plugins/sudoers/sudoers.c:1194 plugins/sudoers/timestamp.c:270 toke.l:1260 +#, c-format +msgid "%s is world writable" +msgstr "%s は誰でも書き込み可能です" + +#: plugins/sudoers/sudoers.c:1198 plugins/sudoers/timestamp.c:275 toke.l:1263 +#, c-format +msgid "%s is owned by gid %u, should be %u" +msgstr "%s のグループIDは %u になっています。これは %u であるべきです" + +#: plugins/sudoers/sudoers.c:1233 +#, c-format +msgid "only root can use \"-c %s\"" +msgstr "root のみ \"-c %s\" を使用できます" + +#: plugins/sudoers/sudoers.c:1252 +#, c-format +msgid "unknown login class %s" +msgstr "不明なログインクラス %s" + +#: plugins/sudoers/sudoers.c:1339 plugins/sudoers/sudoers.c:1354 +#, c-format +msgid "unable to resolve host %s" +msgstr "ホスト %s の名前解決ができません" + +#: plugins/sudoers/sudoreplay.c:252 +#, c-format +msgid "invalid filter option: %s" +msgstr "無効なフィルターオプションです: %s" + +#: plugins/sudoers/sudoreplay.c:268 +#, c-format +msgid "invalid max wait: %s" +msgstr "無効な最大待機時間です: %s" + +#: plugins/sudoers/sudoreplay.c:291 +#, c-format +msgid "invalid speed factor: %s" +msgstr "無効な speed_factor の値です: %s" + +#: plugins/sudoers/sudoreplay.c:326 +#, c-format +msgid "invalid time offset %s" +msgstr "無効な時間オフセット %s" + +#: plugins/sudoers/sudoreplay.c:335 +#, c-format +msgid "%s/%.2s/%.2s/%.2s: %s" +msgstr "%s/%.2s/%.2s/%.2s: %s" + +#: plugins/sudoers/sudoreplay.c:340 +#, c-format +msgid "%s/timing: %s" +msgstr "%s/タイミング: %s" + +#: plugins/sudoers/sudoreplay.c:368 +#, c-format +msgid "Replaying sudo session: %s" +msgstr "再生する sudo セッション: %s" + +#: plugins/sudoers/sudoreplay.c:634 +msgid "unable to set tty to raw mode" +msgstr "tty を raw モードに設定できません" + +#: plugins/sudoers/sudoreplay.c:685 +msgid "Warning: your terminal is too small to properly replay the log.\n" +msgstr "警告: ログをきちんとリプレイするには端末が小さすぎます。\n" + +#: plugins/sudoers/sudoreplay.c:686 +#, c-format +msgid "Log geometry is %d x %d, your terminal's geometry is %d x %d." +msgstr "ログの大きさは %d x %d で、端末の大きさは %d x %d です。" + +#: plugins/sudoers/sudoreplay.c:714 +msgid "Replay finished, press any key to restore the terminal." +msgstr "再生が終了しました、何かキーを押すと端末を回復します。" + +#: plugins/sudoers/sudoreplay.c:1216 plugins/sudoers/sudoreplay.c:1246 +#, c-format +msgid "ambiguous expression \"%s\"" +msgstr "曖昧な式 \"%s です\"" + +#: plugins/sudoers/sudoreplay.c:1268 +msgid "unmatched ')' in expression" +msgstr "式内で ')' が不一致です" + +#: plugins/sudoers/sudoreplay.c:1272 +#, c-format +msgid "unknown search term \"%s\"" +msgstr "不明な検索語 \"%s\" です" + +#: plugins/sudoers/sudoreplay.c:1287 +#, c-format +msgid "%s requires an argument" +msgstr "%s は引数が必要です" + +#: plugins/sudoers/sudoreplay.c:1297 +#, c-format +msgid "could not parse date \"%s\"" +msgstr "日付 \"%s\" を構文解析できませんでした" + +#: plugins/sudoers/sudoreplay.c:1306 +msgid "unmatched '(' in expression" +msgstr "式内で '(' が不一致です" + +#: plugins/sudoers/sudoreplay.c:1308 +msgid "illegal trailing \"or\"" +msgstr "末尾に \"or\" を配置できません" + +#: plugins/sudoers/sudoreplay.c:1310 +msgid "illegal trailing \"!\"" +msgstr "末尾に \"!\" を配置できません" + +#: plugins/sudoers/sudoreplay.c:1416 +#, c-format +msgid "unknown search type %d" +msgstr "未知の検索タイプ %d" + +#: plugins/sudoers/sudoreplay.c:1678 +#, c-format +msgid "usage: %s [-hnRS] [-d dir] [-m num] [-s num] ID\n" +msgstr "使用法: %s [-hnRS] [-d dir] [-m num] [-s num] ID\n" + +#: plugins/sudoers/sudoreplay.c:1680 +#, c-format +msgid "usage: %s [-h] [-d dir] -l [search expression]\n" +msgstr "使用法: %s [-h] [-d dir] -l [search expression]\n" + +#: plugins/sudoers/sudoreplay.c:1694 +#, c-format +msgid "" +"%s - replay sudo session logs\n" +"\n" +msgstr "" +"%s - sudo セッションログをリプレイします\n" +"\n" + +#: plugins/sudoers/sudoreplay.c:1696 +msgid "" +"\n" +"Options:\n" +" -d, --directory=dir specify directory for session logs\n" +" -f, --filter=filter specify which I/O type(s) to display\n" +" -h, --help display help message and exit\n" +" -l, --list list available session IDs, with optional expression\n" +" -m, --max-wait=num max number of seconds to wait between events\n" +" -n, --non-interactive no prompts, session is sent to the standard output\n" +" -R, --no-resize do not attempt to re-size the terminal\n" +" -S, --suspend-wait wait while the command was suspended\n" +" -s, --speed=num speed up or slow down output\n" +" -V, --version display version information and exit" +msgstr "" +"\n" +"オプション:\n" +" -d, --directory=dir セッションログのディレクトリを指定する\n" +" -f, --filter=filter 表示する I/O タイプを指定する\n" +" -h, --help ヘルプメッセージを表示して終了する\n" +" -l, --list[=expr] 使用可能なセッションIDを一覧表示する、オプションで条件 expr を指定可能\n" +" -m, --max-wait=num イベント間の待ち時間の最大秒数を指定する\n" +" -n, --non-interactive プロンプトなしで、セッションは標準出力に送られます\n" +" -R, --no-resize 端末の大きさを変更しようとしない\n" +" -S, --suspend-wait コマンドがサスペンドされている間、待機する\n" +" -s, --speed=num 出力速度を速くする、または遅くする\n" +" -V, --version バージョン情報を表示して終了する" + +#: plugins/sudoers/testsudoers.c:344 +msgid "\thost unmatched" +msgstr "\tホストが一致しません" + +#: plugins/sudoers/testsudoers.c:347 +msgid "" +"\n" +"Command allowed" +msgstr "" +"\n" +"コマンドが許可されました" + +#: plugins/sudoers/testsudoers.c:348 +msgid "" +"\n" +"Command denied" +msgstr "" +"\n" +"コマンドが拒否されました" + +#: plugins/sudoers/testsudoers.c:348 +msgid "" +"\n" +"Command unmatched" +msgstr "" +"\n" +"コマンドが一致しませんでした" + +#: plugins/sudoers/timestamp.c:354 plugins/sudoers/timestamp.c:693 +#, c-format +msgid "unable to truncate time stamp file to %lld bytes" +msgstr "タイムスタンプファイルを %lld バイトに切り詰めることができません" + +#: plugins/sudoers/timestamp.c:890 +msgid "ignoring time stamp from the future" +msgstr "未来の時刻のタイムスタンプを無視します" + +#: plugins/sudoers/timestamp.c:913 +#, c-format +msgid "time stamp too far in the future: %20.20s" +msgstr "タイムスタンプが遠すぎる将来になっています: %20.20s" + +#: plugins/sudoers/timestamp.c:1042 +#, c-format +msgid "unable to lock time stamp file %s" +msgstr "タイムスタンプファイル %s をロックすることができません" + +#: plugins/sudoers/toke_util.c:156 +msgid "sudoedit should not be specified with a path" +msgstr "sudoedit はパスなしで設定するべきです" + +#: plugins/sudoers/visudo.c:254 +msgid "the -x option will be removed in a future release" +msgstr "-x オプションは将来のリリースでは削除されます" + +#: plugins/sudoers/visudo.c:256 +msgid "please consider using the cvtsudoers utility instead" +msgstr "cvtsudoers ユーティリティーを代わりに使用することを検討してください" + +#: plugins/sudoers/visudo.c:311 plugins/sudoers/visudo.c:702 +#, c-format +msgid "press return to edit %s: " +msgstr "%s を編集するためにリターンを押してください: " + +#: plugins/sudoers/visudo.c:326 +#, c-format +msgid "contents of edit session left in %s" +msgstr "編集セッションの内容が %s 内に残っています" + +#: plugins/sudoers/visudo.c:403 +#, c-format +msgid "specified editor (%s) doesn't exist" +msgstr "指定したエディター (%s) が存在しません" + +#: plugins/sudoers/visudo.c:408 +#, c-format +msgid "no editor found (editor path = %s)" +msgstr "エディターが見つかりません (エディターのパス = %s)" + +#: plugins/sudoers/visudo.c:495 plugins/sudoers/visudo.c:774 +#, c-format +msgid "unable to stat %s" +msgstr "%s の状態取得 (stat) ができません" + +#: plugins/sudoers/visudo.c:515 plugins/sudoers/visudo.c:523 +msgid "write error" +msgstr "書き込みエラーです" + +#: plugins/sudoers/visudo.c:569 +#, c-format +msgid "unable to stat temporary file (%s), %s unchanged" +msgstr "一時ファイル (%s) の状態取得 (stat) ができません。%s は変更されません" + +#: plugins/sudoers/visudo.c:576 +#, c-format +msgid "zero length temporary file (%s), %s unchanged" +msgstr "一時ファイル (%s) の大きさが 0 です。%s は変更されません" + +#: plugins/sudoers/visudo.c:582 +#, c-format +msgid "editor (%s) failed, %s unchanged" +msgstr "エディター (%s) が異常終了しました。%s は変更されません" + +#: plugins/sudoers/visudo.c:604 +#, c-format +msgid "%s unchanged" +msgstr "%s は変更されません" + +#: plugins/sudoers/visudo.c:649 +#, c-format +msgid "unable to re-open temporary file (%s), %s unchanged." +msgstr "一時ファイル (%s) を再度開くことができません。%s は変更されません。" + +#: plugins/sudoers/visudo.c:662 +#, c-format +msgid "unable to parse temporary file (%s), unknown error" +msgstr "一時ファイル (%s) の構文解析ができません。不明なエラーです" + +#: plugins/sudoers/visudo.c:748 plugins/sudoers/visudo.c:778 +#: plugins/sudoers/visudo.c:785 +#, c-format +msgid "unable to set (uid, gid) of %s to (%u, %u)" +msgstr "%s の (ユーザーID, グループID) を (%u, %u) に設定できません" + +#: plugins/sudoers/visudo.c:813 +#, c-format +msgid "%s and %s not on the same file system, using mv to rename" +msgstr "%s と %s は同じファイルシステム上にありません。名前を変更するために mv を使用しています" + +#: plugins/sudoers/visudo.c:824 +#, c-format +msgid "command failed: '%s %s %s', %s unchanged" +msgstr "コマンドの失敗です: '%s %s %s'。%s は変更されません" + +#: plugins/sudoers/visudo.c:831 +#, c-format +msgid "error renaming %s, %s unchanged" +msgstr "%s の名前変更に失敗しました。%s は変更されません" + +#: plugins/sudoers/visudo.c:851 +msgid "What now? " +msgstr "次は何でしょうか? " + +#: plugins/sudoers/visudo.c:865 +msgid "" +"Options are:\n" +" (e)dit sudoers file again\n" +" e(x)it without saving changes to sudoers file\n" +" (Q)uit and save changes to sudoers file (DANGER!)\n" +msgstr "" +"オプション:\n" +" e -- sudoers ファイルを再度編集します\n" +" x -- sudoers ファイルへの変更を保存せずに終了します\n" +" Q -- sudoers ファイルへの変更を保存して終了します (*危険です!*)\n" + +#: plugins/sudoers/visudo.c:911 +#, c-format +msgid "unable to run %s" +msgstr "%s を実行できません" + +#: plugins/sudoers/visudo.c:942 +#, c-format +msgid "%s: wrong owner (uid, gid) should be (%u, %u)\n" +msgstr "%s: 所有権に誤りがあります。(ユーザーID, グループID) は (%u, %u) であるべきです\n" + +#: plugins/sudoers/visudo.c:953 +#, c-format +msgid "%s: bad permissions, should be mode 0%o\n" +msgstr "%s: アクセス権限に誤りがあります。モードは 0%o であるべきです\n" + +#: plugins/sudoers/visudo.c:999 plugins/sudoers/visudo.c:1006 +#, c-format +msgid "%s: parsed OK\n" +msgstr "%s: 正しく構文解析されました\n" + +#: plugins/sudoers/visudo.c:1025 +#, c-format +msgid "%s busy, try again later" +msgstr "%s がビジー状態です。後で再試行してください" + +#: plugins/sudoers/visudo.c:1029 +msgid "Edit anyway? [y/N]" +msgstr "それでも編集しますか? [y/N]" + +#: plugins/sudoers/visudo.c:1130 +#, c-format +msgid "Warning: %s:%d:%d: unused %s \"%s\"" +msgstr "警告: %s:%d:%d: エイリアス %s \"%s\" は使用されていません" + +#: plugins/sudoers/visudo.c:1242 +#, c-format +msgid "" +"%s - safely edit the sudoers file\n" +"\n" +msgstr "" +"%s - sudoers ファイルを安全に編集する\n" +"\n" + +#: plugins/sudoers/visudo.c:1244 +msgid "" +"\n" +"Options:\n" +" -c, --check check-only mode\n" +" -f, --file=sudoers specify sudoers file location\n" +" -h, --help display help message and exit\n" +" -I, --no-includes do not edit include files\n" +" -q, --quiet less verbose (quiet) syntax error messages\n" +" -s, --strict strict syntax checking\n" +" -V, --version display version information and exit\n" +msgstr "" +"\n" +"オプション:\n" +" -c, --check 検査のみを行う\n" +" -f, --file=sudoers sudoers ファイルの位置を指定する\n" +" -h, --help ヘルプメッセージを表示して終了する\n" +" -I, --no-includes include ファイルを編集しない\n" +" -q, --quiet 文法エラーメッセージをより少なく (静かに) する\n" +" -s, --strict 厳密な文法検査を行う\n" +" -V, --version バージョン情報を表示して終了する\n" + +#: toke.l:189 +msgid "empty string" +msgstr "空の文字列" + +#: toke.l:201 toke.l:571 +msgid "empty group" +msgstr "空のグループ" + +#: toke.l:211 toke.l:569 +msgid "empty netgroup" +msgstr "空のネットグループ" + +#: toke.l:289 +msgid "unterminated regular expression" +msgstr "途中で終わっている正規表現" + +#: toke.l:363 toke.l:375 toke.l:387 toke.l:403 toke.l:422 toke.l:462 +msgid "invalid line continuation" +msgstr "無効な行の継続" + +#: toke.l:608 toke.l:620 +msgid "invalid IPv6 address" +msgstr "無効な IPv6 アドレス" + +#: toke.l:876 +msgid "unexpected line break in string" +msgstr "文字列の予期せぬところに改行" + +#: toke.l:1226 +msgid "too many levels of includes" +msgstr "インクルードの階層が大きすぎます" + +#~ msgid "%s must be owned by uid %d" +#~ msgstr "%s の所有者は uid %d でなければいけません" + +#~ msgid "%s must only be writable by owner" +#~ msgstr "%s は所有者のみ書き込み可能でなければいけません" + +#~ msgid "%s is group writable" +#~ msgstr "%s はグループのメンバーによる書き込みが可能です" + +#~ msgid "lecture status path too long: %s/%s" +#~ msgstr "受講状況格納パスが長すぎます: %s/%s" + +#~ msgid "Error: %s:%d:%d: cycle in %s \"%s\"" +#~ msgstr "エラー: %s:%d:%d: %s \"%s\" でエイリアス定義が循環しています" + +#~ msgid "Warning: %s:%d:%d: cycle in %s \"%s\"" +#~ msgstr "警告: %s:%d:%d: %s \"%s\" でエイリアス定義が循環しています" + +#~ msgid "Warning: %s:%d:%d: %s \"%s\" referenced but not defined" +#~ msgstr "警告: %s:%d:%d: %s \"%s\" は参照されているのに定義されていません" + +#~ msgid "parse error in %s near line %d\n" +#~ msgstr "%s 内 %d 行付近で構文解析エラーが発生しました\n" + +#~ msgid "parse error in %s\n" +#~ msgstr "%s 内で構文解析エラーが発生しました\n" + +#~ msgid "%s: unknown defaults entry \"%s\"" +#~ msgstr "%s: 未知のデフォルト項目 \"%s\" です" + +#~ msgid "%s:%d:%d: no value specified for \"%s\"" +#~ msgstr "%s:%d:%d: \"%s\" に値が指定されていません" + +#~ msgid "%s:%d:%d: invalid operator \"%c=\" for \"%s\"" +#~ msgstr "%s:%d:%d: \"%c=\" は \"%s\" には無効な演算子です" + +#~ msgid "%s:%d:%d: option \"%s\" does not take a value" +#~ msgstr "%s:%d:%d: オプション \"%s\" は値をとりません" + +#~ msgid "%s:%d:%d: invalid Defaults type 0x%x for option \"%s\"" +#~ msgstr "%s:%d:%d: 0x%x はオプション \"%s\" のデフォルトタイプとして無効です" + +#~ msgid "%s:%d:%d: value \"%s\" is invalid for option \"%s\"" +#~ msgstr "%s:%d:%d: \"%s\" はオプション \"%s\" の値としては無効です" + +#~ msgid "%s:%d:%d: path name for \"%s\" too long" +#~ msgstr "%s:%d:%d: \"%s\" のパス名が長すぎます" + +#~ msgid "%s: path name for \"%s\" too long" +#~ msgstr "%s: \"%s\" のパス名が長すぎます" + +#~ msgid "%s:%d:%d: values for \"%s\" must start with a '/', '~', or '*'" +#~ msgstr "%s:%d:%d: \"%s\" の値は '/', '~', または '*' で開始しなければいけません" + +#~ msgid "%s:%d:%d: values for \"%s\" must start with a '/'" +#~ msgstr "%s:%d:%d: \"%s\" の値は '/' で開始しなければいけません" + +#~ msgid "parse error in %s near line %d" +#~ msgstr "%s 内 %d 行付近で構文解析エラーが発生しました" + +#~ msgid "parse error in %s" +#~ msgstr "%s 内で構文解析エラーが発生しました" + +#~ msgid "SELinux RBAC is not supported when intercept mode is enabled" +#~ msgstr "SELinux RBAC はインターセプトモードが有効になっているときにはサポートされません" + +#~ msgid "SELinux RBAC is not supported when the log_subcmds flag is enabled" +#~ msgstr "SELinux RBAC はlog_subcmds フラグが有効になっているときにはサポートされません" + +#~ msgid "problem with defaults entries" +#~ msgstr "デフォルト項目で問題が発生しました" + +#~ msgid "internal error, unable to find %s in list!" +#~ msgstr "内部エラー、リスト内に %s が見つかりません!" + +#~ msgid "%s is not in the sudoers file. This incident will be reported.\n" +#~ msgstr "%s は sudoers ファイル内にありません。この事象は記録・報告されます。\n" + +#~ msgid "%s is not allowed to run sudo on %s. This incident will be reported.\n" +#~ msgstr "%s は %s 上で sudo を実行することを許可されていません。この事象は記録・報告されます。\n" + +#~ msgid "%s: write buffer already in use" +#~ msgstr "%s: 書き込みバッファは使用中です" + +#~ msgid "unable to read diffie-hellman parameters: %s" +#~ msgstr "ディフィー・ヘルマン パラメーターを読み込めません: %s" + +#~ msgid "%s:%d unknown key: %s" +#~ msgstr "%s:%d 未知の鍵: %s" + +#~ msgid "unable to get TLS server method: %s" +#~ msgstr "TLS サーバーメソッドを取得できません: %s" + +#~ msgid "%s:%u unable to parse \"%s\"" +#~ msgstr "%s:%u \"%s\" を構文解析できません" + +#~ msgid "" +#~ "\n" +#~ "Options:\n" +#~ " -f, --file path to configuration file\n" +#~ " -h --help display help message and exit\n" +#~ " -n, --no-fork do not fork, run in the foreground\n" +#~ " -R, --random-drop percent chance connections will drop\n" +#~ " -V, --version display version information and exit\n" +#~ msgstr "" +#~ "\n" +#~ "オプション:\n" +#~ " -f, --file=sudoers sudoers ファイルの位置を指定する\n" +#~ " -h, --help ヘルプメッセージを表示して終了する\n" +#~ " -n, --no-fork フォークせずに、フォアグラウンドで実行する\n" +#~ " -R, --random-drop 接続がドロップする確率(%)\n" +#~ " -V, --version バージョン情報を表示して終了する\n" + +#~ msgid "" +#~ "\n" +#~ "Options:\n" +#~ " --help display help message and exit\n" +#~ " -A, --accept only send an accept event (no I/O)\n" +#~ " -h, --host host to send logs to\n" +#~ " -i, --iolog_id remote ID of I/O log to be resumed\n" +#~ " -p, --port port to use when connecting to host\n" +#~ " -r, --restart restart previous I/O log transfer\n" +#~ " -R, --reject reject the command with the given reason\n" +#~ " -b, --ca-bundle certificate bundle file to verify server's cert against\n" +#~ " -c, --cert certificate file for TLS handshake\n" +#~ " -k, --key private key file\n" +#~ " -n, --no-verify do not verify server certificate\n" +#~ " -t, --test test audit server by sending selected I/O log n times in parallel\n" +#~ " -V, --version display version information and exit\n" +#~ msgstr "" +#~ "\n" +#~ "オプション:\n" +#~ " --help ヘルプメッセージを表示して終了する\n" +#~ " -A, --accept 受け取りイベントのみを送る (I/O なし)\n" +#~ " -h, --host ログの送り先とするホスト\n" +#~ " -i, --iolog_id 復元するI/O ログのリモート ID \n" +#~ " -p, --port ホストに接続するのに使用するポート\n" +#~ " -r, --restart 以前の I/O ログ転送を再開する\n" +#~ " -R, --reject 与えられた理由によりコマンドを拒否する\n" +#~ " -b, --ca-bundle サーバーの証明書を検証するために突き合わせる証明書バンドルファイル\n" +#~ " -c, --cert TLSハンドシェイクのための証明書ファイル\n" +#~ " -k, --key 秘密鍵ファイル\n" +#~ " -n, --no-verify サーバーの証明書を検証しない\n" +#~ " -t, --test 選んだ I/O ログを n 重に並列送信することで監査サーバーを試験する\n" +#~ " -V, --version バージョン情報を表示して終了する\n" + +#~ msgid "Preload the dummy exec functions contained in the sudo_noexec library" +#~ msgstr "sudo_noexec ライブラリに含まれるダミーの exec 関数群を事前ロードします" + +#~ msgid "sudo_ldap_conf_add_ports: port too large" +#~ msgstr "sudo_ldap_conf_add_ports: ポートが大きすぎます" + +#~ msgid "No user or host" +#~ msgstr "ユーザーまたはホストがありません" + +#~ msgid "validation failure" +#~ msgstr "検証に失敗しました" + +#~ msgid "audit_failure message too long" +#~ msgstr "audit_failure のメッセージが長すぎます" + +#~ msgid "%s/%s/timing: %s" +#~ msgstr "%s/%s/タイミング: %s" + +#~ msgid "ignoring invalid attribute value: %s" +#~ msgstr "無効な属性値を無視します: %s" + +#~ msgid "unable to cache user %s, out of memory" +#~ msgstr "ユーザー %s をキャッシュできません。メモリ不足です。" + +#~ msgid "unable to cache group %s, out of memory" +#~ msgstr "グループ %s をキャッシュできません。メモリ不足です。" + +#~ msgid "unable to cache group list for %s, out of memory" +#~ msgstr "グループリスト %s をキャッシュできません。メモリ不足です。" + +#~ msgid "" +#~ "\n" +#~ "LDAP Role: UNKNOWN\n" +#~ msgstr "" +#~ "\n" +#~ "LDAP 役割: 不明\n" + +#~ msgid " Order: %s\n" +#~ msgstr " Order: %s\n" + +#~ msgid "" +#~ "\n" +#~ "SSSD Role: %s\n" +#~ msgstr "" +#~ "\n" +#~ "SSSD 役割: %s\n" + +#~ msgid "" +#~ "\n" +#~ "SSSD Role: UNKNOWN\n" +#~ msgstr "" +#~ "\n" +#~ "SSSD 役割: 不明\n" + +#~ msgid "Warning: unused %s `%s'" +#~ msgstr "警告: 使われていません %s `%s'" + +#~ msgid "timestamp path too long: %s/%s" +#~ msgstr "タイムスタンプのパスが長過ぎます: %s/%s" + +#~ msgid "unable to stat editor (%s)" +#~ msgstr "エディター (%s) の状態取得 (stat) ができません" + +#~ msgid ">>> %s: %s near line %d <<<" +#~ msgstr ">>> %s: %s (%d行付近) <<<" + +#~ msgid "pam_chauthtok: %s" +#~ msgstr "pam_chauthtok: %s" + +#~ msgid "pam_authenticate: %s" +#~ msgstr "pam_authenticate: %s" + +#~ msgid "Password:" +#~ msgstr "パスワード:" + +#~ msgid "getaudit: failed" +#~ msgstr "getaudit: 失敗しました" + +#~ msgid "getauid failed" +#~ msgstr "getauid に失敗しました" + +#~ msgid "au_to_subject: failed" +#~ msgstr "au_to_subject: 失敗しました" + +#~ msgid "au_to_exec_args: failed" +#~ msgstr "au_to_exec_args: 失敗しました" + +#~ msgid "au_to_return32: failed" +#~ msgstr "au_to_return32: 失敗しました" + +#~ msgid "getauid: failed" +#~ msgstr "getauid: 失敗しました" + +#~ msgid "au_to_text: failed" +#~ msgstr "au_to_text: 失敗しました" + +#~ msgid "%s owned by uid %u, should be uid %u" +#~ msgstr "%s はユーザーID (uid) %u によって所有されています。これはユーザーID %u であるべきです" + +#~ msgid "%s writable by non-owner (0%o), should be mode 0700" +#~ msgstr "%s は所有者以外でも書き込み可能 (0%o) です。アクセス権限のモードは 0700 であるべきです" + +#~ msgid "%s exists but is not a regular file (0%o)" +#~ msgstr "%s が存在しますが通常ファイル (0%o) ではありません" + +#~ msgid "%s writable by non-owner (0%o), should be mode 0600" +#~ msgstr "%s は所有者以外でも書き込み可能 (0%o) です。アクセス権限のモードは 0600 であるべきです" + +#~ msgid "unable to remove %s (%s), will reset to the epoch" +#~ msgstr "%s (%s) を削除できません。エポックにリセットします" + +#~ msgid "unable to set locale to \"%s\", using \"C\"" +#~ msgstr "ロケールを \"%s\" に設定できません。 \"C\" を使用します" + +#~ msgid "sudo_ldap_conf_add_ports: out of space expanding hostbuf" +#~ msgstr "sudo_ldap_conf_add_ports: hostbuf を拡張中にメモリ空間が不足しました" + +#~ msgid "unable to mix ldaps and starttls" +#~ msgstr "ldaps と starttls を混ぜて使用できません" + +#~ msgid "sudo_ldap_parse_uri: out of space building hostbuf" +#~ msgstr "sudo_ldap_parse_uri: hostbuf を構築中にメモリ空間が不足しました" + +#~ msgid "sudo_ldap_build_pass1 allocation mismatch" +#~ msgstr "sudo_ldap_build_pass1 配置が一致しません" + +#~ msgid "internal error: insufficient space for log line" +#~ msgstr "内部エラー: ログの行に十分な空間がありません" + +#~ msgid "" +#~ " Commands:\n" +#~ "\t" +#~ msgstr "" +#~ " コマンド:\n" +#~ "\t" + +#~ msgid ": " +#~ msgstr ": " + +#~ msgid "unable to cache uid %u (%s), already exists" +#~ msgstr "ユーザーID %u (%s) をキャッシュできません。すでに存在します" + +#~ msgid "unable to cache gid %u (%s), already exists" +#~ msgstr "グループID %u (%s) をキャッシュできません。すでに存在します" + +#~ msgid "Unable to dlopen %s: %s" +#~ msgstr "dlopen %s を行うことができません: %s" + +#~ msgid "writing to standard output" +#~ msgstr "標準出力に書き込んでいます" + +#~ msgid "nanosleep: tv_sec %ld, tv_nsec %ld" +#~ msgstr "nanosleep: tv_sec %ld, tv_nsec %ld" + +#~ msgid "too many parenthesized expressions, max %d" +#~ msgstr "式内の小括弧のくくりが多すぎます。最大は %d です。" + +#~ msgid "fill_args: buffer overflow" +#~ msgstr "fill_args: バッファオーバーフローが発生しました" + +#~ msgid "internal error, expand_prompt() overflow" +#~ msgstr "内部エラー、expand_prompt() がオーバーフローしました" + +#~ msgid "internal error, sudo_setenv2() overflow" +#~ msgstr "内部エラー、 sudo_setenv2() がオーバーフローしました" + +#~ msgid "internal error, sudo_setenv() overflow" +#~ msgstr "内部エラー、 sudo_setenv() がオーバーフローしました" + +#~ msgid "internal error, linux_audit_command() overflow" +#~ msgstr "内部エラー、linux_audit_command() がオーバーフローしました" + +#~ msgid "internal error, runas_groups overflow" +#~ msgstr "内部エラー、runas_groups がオーバーフローしました" + +#~ msgid "internal error, init_vars() overflow" +#~ msgstr "内部エラー、init_vars() がオーバーフローしました" + +#~ msgid "fixed mode on %s" +#~ msgstr "%s のアクセス権限のモードを修正しました" + +#~ msgid "unable to fix mode on %s" +#~ msgstr "%s のアクセス権限のモードを修正できません" + +#~ msgid "%s is mode 0%o, should be 0%o" +#~ msgstr "%s のアクセス権限のモードは 0%o です。これは 0%o であるべきです" + +#~ msgid "File containing dummy exec functions: %s" +#~ msgstr "偽の exec 関数が含まれるファイル: %s" + +#~ msgid "Unable to allocate ssl object: %s\n" +#~ msgstr "SSLオブジェクトを割り当てることができません: %s\n" + +#~ msgid "client message too large: %zu\n" +#~ msgstr "クライアントメッセージが大き過ぎます: %zu\n" + +#, fuzzy +#~| msgid "Send mail if the user is not in sudoers" +#~ msgid "CA bundle file is not set in sudoers" +#~ msgstr "ユーザー他 sudoers 内に存在しない場合にメールを送信します" + +#, fuzzy +#~| msgid "Send mail if the user is not in sudoers" +#~ msgid "Signed certificate file is not set in sudoers" +#~ msgstr "ユーザー他 sudoers 内に存在しない場合にメールを送信します" + +#~ msgid "unknown address family: %d" +#~ msgstr "未知のアドレスファミリー: %d" diff --git a/plugins/sudoers/po/ka.mo b/plugins/sudoers/po/ka.mo new file mode 100644 index 0000000..e163be7 Binary files /dev/null and b/plugins/sudoers/po/ka.mo differ diff --git a/plugins/sudoers/po/ka.po b/plugins/sudoers/po/ka.po new file mode 100644 index 0000000..cc3fa09 --- /dev/null +++ b/plugins/sudoers/po/ka.po @@ -0,0 +1,3715 @@ +# Portable object template file for the sudoers plugin +# This file is put in the public domain. +# Todd C. Miller , 2011-2018 +# +msgid "" +msgstr "" +"Project-Id-Version: sudoers 1.9.12b2\n" +"Report-Msgid-Bugs-To: https://bugzilla.sudo.ws\n" +"POT-Creation-Date: 2022-10-10 09:13-0600\n" +"PO-Revision-Date: 2022-11-19 07:22+0100\n" +"Last-Translator: Temuri Doghonadze \n" +"Language-Team: Georgian <(nothing)>\n" +"Language: ka\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 3.2\n" + +#: confstr.sh:1 gram.y:1220 plugins/sudoers/logging.c:862 +msgid "syntax error" +msgstr "სინტაქსური შეცდომა" + +#: confstr.sh:2 +msgid "%p's password: " +msgstr "%p-ის პაროლი: " + +#: confstr.sh:3 +msgid "[sudo] password for %p: " +msgstr "[sudo] პაროლი %p-სთვის: " + +#: confstr.sh:4 +msgid "Password: " +msgstr "პაროლი: " + +#: confstr.sh:5 +msgid "*** SECURITY information for %h ***" +msgstr "*** უსაფრთხოების ინფორმაცია %h -სთვის***" + +#: confstr.sh:6 +msgid "Sorry, try again." +msgstr "თავიდან სცადეთ." + +#: gram.y:237 gram.y:304 gram.y:313 gram.y:322 gram.y:332 gram.y:342 +#: gram.y:366 gram.y:393 gram.y:402 gram.y:410 gram.y:419 gram.y:428 +#: gram.y:502 gram.y:512 gram.y:524 gram.y:572 gram.y:581 gram.y:590 +#: gram.y:599 gram.y:731 gram.y:739 gram.y:750 gram.y:762 gram.y:781 +#: gram.y:944 gram.y:949 gram.y:957 gram.y:971 gram.y:977 gram.y:1099 +#: gram.y:1108 gram.y:1116 gram.y:1125 gram.y:1134 gram.y:1163 gram.y:1172 +#: gram.y:1180 gram.y:1280 gram.y:1410 gram.y:1777 gram.y:1827 +#: lib/eventlog/eventlog.c:309 lib/eventlog/eventlog.c:382 +#: lib/eventlog/eventlog.c:827 lib/eventlog/eventlog.c:904 +#: lib/eventlog/eventlog.c:1204 lib/iolog/iolog_filter.c:142 +#: lib/iolog/iolog_filter.c:202 lib/iolog/iolog_filter.c:233 +#: lib/iolog/iolog_json.c:150 lib/iolog/iolog_json.c:382 +#: lib/iolog/iolog_json.c:412 lib/iolog/iolog_json.c:555 +#: lib/iolog/iolog_legacy.c:100 lib/iolog/iolog_legacy.c:111 +#: lib/iolog/iolog_legacy.c:123 lib/iolog/iolog_legacy.c:133 +#: lib/iolog/iolog_legacy.c:139 lib/iolog/iolog_loginfo.c:76 +#: lib/iolog/iolog_loginfo.c:212 logsrvd/iolog_writer.c:95 +#: logsrvd/iolog_writer.c:100 logsrvd/iolog_writer.c:134 +#: logsrvd/iolog_writer.c:182 logsrvd/iolog_writer.c:215 +#: logsrvd/iolog_writer.c:225 logsrvd/iolog_writer.c:254 +#: logsrvd/iolog_writer.c:275 logsrvd/iolog_writer.c:287 +#: logsrvd/iolog_writer.c:297 logsrvd/iolog_writer.c:307 +#: logsrvd/iolog_writer.c:317 logsrvd/iolog_writer.c:329 +#: logsrvd/iolog_writer.c:364 logsrvd/iolog_writer.c:370 +#: logsrvd/iolog_writer.c:377 logsrvd/iolog_writer.c:383 +#: logsrvd/iolog_writer.c:567 logsrvd/logsrv_util.c:69 logsrvd/logsrvd.c:301 +#: logsrvd/logsrvd.c:310 logsrvd/logsrvd.c:1050 logsrvd/logsrvd.c:1113 +#: logsrvd/logsrvd.c:1582 logsrvd/logsrvd.c:1587 logsrvd/logsrvd.c:1771 +#: logsrvd/logsrvd.c:1988 logsrvd/logsrvd_conf.c:357 +#: logsrvd/logsrvd_conf.c:370 logsrvd/logsrvd_conf.c:511 +#: logsrvd/logsrvd_conf.c:534 logsrvd/logsrvd_conf.c:538 +#: logsrvd/logsrvd_conf.c:556 logsrvd/logsrvd_conf.c:626 +#: logsrvd/logsrvd_conf.c:650 logsrvd/logsrvd_conf.c:678 +#: logsrvd/logsrvd_conf.c:692 logsrvd/logsrvd_conf.c:706 +#: logsrvd/logsrvd_conf.c:720 logsrvd/logsrvd_conf.c:734 +#: logsrvd/logsrvd_conf.c:748 logsrvd/logsrvd_conf.c:829 +#: logsrvd/logsrvd_conf.c:1036 logsrvd/logsrvd_conf.c:1053 +#: logsrvd/logsrvd_conf.c:1448 logsrvd/logsrvd_conf.c:1595 +#: logsrvd/logsrvd_conf.c:1621 logsrvd/logsrvd_conf.c:1633 +#: logsrvd/logsrvd_conf.c:1640 logsrvd/logsrvd_conf.c:1646 +#: logsrvd/logsrvd_conf.c:1743 logsrvd/logsrvd_journal.c:75 +#: logsrvd/logsrvd_journal.c:213 logsrvd/logsrvd_journal.c:214 +#: logsrvd/logsrvd_journal.c:270 logsrvd/logsrvd_journal.c:430 +#: logsrvd/logsrvd_journal.c:432 logsrvd/logsrvd_local.c:215 +#: logsrvd/logsrvd_local.c:216 logsrvd/logsrvd_local.c:278 +#: logsrvd/logsrvd_local.c:279 logsrvd/logsrvd_local.c:417 +#: logsrvd/logsrvd_local.c:466 logsrvd/logsrvd_local.c:467 +#: logsrvd/logsrvd_local.c:472 logsrvd/logsrvd_local.c:473 +#: logsrvd/logsrvd_queue.c:159 logsrvd/logsrvd_queue.c:189 +#: logsrvd/logsrvd_queue.c:266 logsrvd/logsrvd_relay.c:444 +#: logsrvd/logsrvd_relay.c:743 logsrvd/logsrvd_relay.c:850 +#: logsrvd/sendlog.c:251 logsrvd/sendlog.c:260 logsrvd/sendlog.c:291 +#: logsrvd/sendlog.c:338 logsrvd/sendlog.c:615 logsrvd/sendlog.c:1801 +#: plugins/sudoers/audit.c:116 plugins/sudoers/auth/bsdauth.c:150 +#: plugins/sudoers/auth/kerb5.c:121 plugins/sudoers/auth/kerb5.c:148 +#: plugins/sudoers/auth/pam.c:687 plugins/sudoers/auth/rfc1938.c:111 +#: plugins/sudoers/auth/sia.c:59 plugins/sudoers/check_aliases.c:168 +#: plugins/sudoers/cvtsudoers.c:131 plugins/sudoers/cvtsudoers.c:175 +#: plugins/sudoers/cvtsudoers.c:192 plugins/sudoers/cvtsudoers.c:203 +#: plugins/sudoers/cvtsudoers.c:333 plugins/sudoers/cvtsudoers.c:372 +#: plugins/sudoers/cvtsudoers.c:392 plugins/sudoers/cvtsudoers.c:537 +#: plugins/sudoers/cvtsudoers.c:670 plugins/sudoers/cvtsudoers.c:688 +#: plugins/sudoers/cvtsudoers.c:862 plugins/sudoers/cvtsudoers.c:870 +#: plugins/sudoers/cvtsudoers.c:1365 plugins/sudoers/cvtsudoers.c:1369 +#: plugins/sudoers/cvtsudoers.c:1471 plugins/sudoers/cvtsudoers_csv.c:183 +#: plugins/sudoers/cvtsudoers_csv.c:246 plugins/sudoers/cvtsudoers_json.c:76 +#: plugins/sudoers/cvtsudoers_ldif.c:151 plugins/sudoers/cvtsudoers_ldif.c:194 +#: plugins/sudoers/cvtsudoers_ldif.c:235 plugins/sudoers/cvtsudoers_ldif.c:300 +#: plugins/sudoers/cvtsudoers_ldif.c:376 plugins/sudoers/cvtsudoers_ldif.c:430 +#: plugins/sudoers/cvtsudoers_ldif.c:438 plugins/sudoers/cvtsudoers_ldif.c:449 +#: plugins/sudoers/cvtsudoers_ldif.c:456 plugins/sudoers/cvtsudoers_ldif.c:468 +#: plugins/sudoers/cvtsudoers_ldif.c:481 plugins/sudoers/cvtsudoers_ldif.c:489 +#: plugins/sudoers/cvtsudoers_ldif.c:636 plugins/sudoers/cvtsudoers_merge.c:47 +#: plugins/sudoers/cvtsudoers_merge.c:52 +#: plugins/sudoers/cvtsudoers_merge.c:353 +#: plugins/sudoers/cvtsudoers_merge.c:399 +#: plugins/sudoers/cvtsudoers_merge.c:446 +#: plugins/sudoers/cvtsudoers_merge.c:467 +#: plugins/sudoers/cvtsudoers_merge.c:553 +#: plugins/sudoers/cvtsudoers_merge.c:564 +#: plugins/sudoers/cvtsudoers_merge.c:633 +#: plugins/sudoers/cvtsudoers_merge.c:1158 +#: plugins/sudoers/cvtsudoers_merge.c:1231 plugins/sudoers/defaults.c:434 +#: plugins/sudoers/defaults.c:658 plugins/sudoers/defaults.c:1019 +#: plugins/sudoers/defaults.c:1187 plugins/sudoers/editor.c:188 +#: plugins/sudoers/env.c:263 plugins/sudoers/exptilde.c:92 +#: plugins/sudoers/filedigest.c:54 plugins/sudoers/filedigest.c:70 +#: plugins/sudoers/gc.c:57 plugins/sudoers/group_plugin.c:228 +#: plugins/sudoers/interfaces.c:68 plugins/sudoers/iolog.c:268 +#: plugins/sudoers/iolog.c:668 plugins/sudoers/iolog.c:694 +#: plugins/sudoers/ldap.c:184 plugins/sudoers/ldap.c:464 +#: plugins/sudoers/ldap.c:755 plugins/sudoers/ldap.c:919 +#: plugins/sudoers/ldap.c:1335 plugins/sudoers/ldap.c:1761 +#: plugins/sudoers/ldap.c:1798 plugins/sudoers/ldap.c:1879 +#: plugins/sudoers/ldap.c:2014 plugins/sudoers/ldap.c:2115 +#: plugins/sudoers/ldap.c:2131 plugins/sudoers/ldap_conf.c:218 +#: plugins/sudoers/ldap_conf.c:250 plugins/sudoers/ldap_conf.c:302 +#: plugins/sudoers/ldap_conf.c:338 plugins/sudoers/ldap_conf.c:444 +#: plugins/sudoers/ldap_conf.c:459 plugins/sudoers/ldap_conf.c:564 +#: plugins/sudoers/ldap_conf.c:597 plugins/sudoers/ldap_conf.c:689 +#: plugins/sudoers/ldap_conf.c:771 plugins/sudoers/ldap_util.c:294 +#: plugins/sudoers/ldap_util.c:301 plugins/sudoers/ldap_util.c:614 +#: plugins/sudoers/linux_audit.c:86 plugins/sudoers/log_client.c:117 +#: plugins/sudoers/log_client.c:402 plugins/sudoers/log_client.c:715 +#: plugins/sudoers/log_client.c:736 plugins/sudoers/log_client.c:1416 +#: plugins/sudoers/log_client.c:1537 plugins/sudoers/log_client.c:1637 +#: plugins/sudoers/log_client.c:1973 plugins/sudoers/log_client.c:2032 +#: plugins/sudoers/logging.c:110 plugins/sudoers/logging.c:189 +#: plugins/sudoers/logging.c:453 plugins/sudoers/logging.c:668 +#: plugins/sudoers/logging.c:805 plugins/sudoers/match_command.c:335 +#: plugins/sudoers/match_command.c:603 plugins/sudoers/match_command.c:654 +#: plugins/sudoers/match_command.c:728 plugins/sudoers/match_command.c:776 +#: plugins/sudoers/match_digest.c:93 plugins/sudoers/parse.c:227 +#: plugins/sudoers/parse.c:244 plugins/sudoers/parse.c:263 +#: plugins/sudoers/parse.c:282 plugins/sudoers/parse.c:299 +#: plugins/sudoers/parse.c:322 plugins/sudoers/parse.c:333 +#: plugins/sudoers/parse_ldif.c:153 plugins/sudoers/parse_ldif.c:184 +#: plugins/sudoers/parse_ldif.c:253 plugins/sudoers/parse_ldif.c:261 +#: plugins/sudoers/parse_ldif.c:266 plugins/sudoers/parse_ldif.c:342 +#: plugins/sudoers/parse_ldif.c:353 plugins/sudoers/parse_ldif.c:380 +#: plugins/sudoers/parse_ldif.c:397 plugins/sudoers/parse_ldif.c:409 +#: plugins/sudoers/parse_ldif.c:413 plugins/sudoers/parse_ldif.c:427 +#: plugins/sudoers/parse_ldif.c:484 plugins/sudoers/parse_ldif.c:598 +#: plugins/sudoers/parse_ldif.c:628 plugins/sudoers/parse_ldif.c:653 +#: plugins/sudoers/parse_ldif.c:711 plugins/sudoers/parse_ldif.c:728 +#: plugins/sudoers/parse_ldif.c:756 plugins/sudoers/parse_ldif.c:763 +#: plugins/sudoers/policy.c:624 plugins/sudoers/policy.c:1026 +#: plugins/sudoers/prompt.c:93 plugins/sudoers/pwutil.c:199 +#: plugins/sudoers/pwutil.c:270 plugins/sudoers/pwutil.c:348 +#: plugins/sudoers/pwutil.c:522 plugins/sudoers/pwutil.c:587 +#: plugins/sudoers/pwutil.c:659 plugins/sudoers/pwutil.c:857 +#: plugins/sudoers/pwutil.c:913 plugins/sudoers/pwutil.c:957 +#: plugins/sudoers/pwutil.c:1014 plugins/sudoers/sssd.c:145 +#: plugins/sudoers/sssd.c:185 plugins/sudoers/sssd.c:414 +#: plugins/sudoers/sssd.c:479 plugins/sudoers/sssd.c:505 +#: plugins/sudoers/sssd.c:568 plugins/sudoers/sssd.c:761 +#: plugins/sudoers/strvec_join.c:53 plugins/sudoers/stubs.c:112 +#: plugins/sudoers/stubs.c:120 plugins/sudoers/sudoers.c:354 +#: plugins/sudoers/sudoers.c:380 plugins/sudoers/sudoers.c:448 +#: plugins/sudoers/sudoers.c:457 plugins/sudoers/sudoers.c:498 +#: plugins/sudoers/sudoers.c:827 plugins/sudoers/sudoers.c:877 +#: plugins/sudoers/sudoers.c:1015 plugins/sudoers/sudoers.c:1075 +#: plugins/sudoers/sudoers.c:1330 plugins/sudoers/sudoreplay.c:562 +#: plugins/sudoers/sudoreplay.c:565 plugins/sudoers/sudoreplay.c:1281 +#: plugins/sudoers/sudoreplay.c:1503 plugins/sudoers/sudoreplay.c:1507 +#: plugins/sudoers/testsudoers.c:120 plugins/sudoers/testsudoers.c:224 +#: plugins/sudoers/testsudoers.c:241 plugins/sudoers/testsudoers.c:588 +#: plugins/sudoers/timestamp.c:451 plugins/sudoers/timestamp.c:495 +#: plugins/sudoers/timestamp.c:1017 plugins/sudoers/timestamp.c:1146 +#: plugins/sudoers/toke_util.c:78 plugins/sudoers/toke_util.c:106 +#: plugins/sudoers/toke_util.c:131 plugins/sudoers/toke_util.c:161 +#: plugins/sudoers/toke_util.c:200 plugins/sudoers/tsdump.c:123 +#: plugins/sudoers/visudo.c:150 plugins/sudoers/visudo.c:385 +#: plugins/sudoers/visudo.c:391 plugins/sudoers/visudo.c:498 +#: plugins/sudoers/visudo.c:1054 toke.l:1023 toke.l:1155 toke.l:1226 +msgid "unable to allocate memory" +msgstr "მეხსიერების გამოყოფის შეცდომა" + +#: gram.y:623 +msgid "a digest requires a path name" +msgstr "დაიჯესტისთვის ბილიკის სახელი აუცილებელია" + +#: gram.y:645 +msgid "values for \"CWD\" must start with a '/', '~', or '*'" +msgstr "\"CWD\" -ის მნიშვნელობები '/'-ით, '~'-ით ან '*'-ით უნდა იწყებოდეს" + +#: gram.y:651 +msgid "\"CWD\" path too long" +msgstr "\"CWD\" -ის ბილიკი ძალიან გრძელია" + +#: gram.y:661 +msgid "values for \"CHROOT\" must start with a '/', '~', or '*'" +msgstr "" + +#: gram.y:667 +msgid "\"CHROOT\" path too long" +msgstr "\"CHROOT\" -ის ბილიკი მეტისმეტად გრძელია" + +#: gram.y:802 +#, c-format +msgid "syntax error, reserved word %s used as an alias name" +msgstr "სინტაქსის შეცდომა, დაჯავშნილი სიტყვა %s მეტსახელადაა გამოყენებული" + +#: gram.y:825 +msgid "invalid notbefore value" +msgstr "notbefore -ის არასწორი მნიშვნელობა" + +#: gram.y:834 +msgid "invalid notafter value" +msgstr "notafter -ის არასწორი მნიშვნელობა" + +#: gram.y:844 plugins/sudoers/policy.c:383 +msgid "timeout value too large" +msgstr "მოლოდინის დროის მნიშვნელობა ძალიან დიდია" + +#: gram.y:846 plugins/sudoers/policy.c:385 +msgid "invalid timeout value" +msgstr "მოლოდინის დროის არასწორი მნიშვნელობა" + +#: gram.y:967 plugins/sudoers/sudoers.c:1033 +msgid "command too long" +msgstr "ბრძანება ძალიან გრძელია" + +#: gram.y:1224 plugins/sudoers/check_aliases.c:96 +#: plugins/sudoers/defaults.c:1276 +#, c-format +msgid "%s:%d:%d: %s\n" +msgstr "%s:%d:%d: %s\n" + +#: gram.y:1278 +#, c-format +msgid "Alias \"%s\" already defined" +msgstr "მეტსახელი \"%s\" უკვე აღწერილია" + +#: gram.y:1777 gram.y:1827 lib/eventlog/eventlog.c:309 +#: lib/eventlog/eventlog.c:827 lib/eventlog/eventlog.c:900 +#: lib/eventlog/eventlog.c:903 lib/eventlog/eventlog.c:1204 +#: lib/iolog/iolog_filter.c:142 lib/iolog/iolog_filter.c:202 +#: lib/iolog/iolog_filter.c:232 lib/iolog/iolog_json.c:150 +#: lib/iolog/iolog_json.c:381 lib/iolog/iolog_json.c:412 +#: lib/iolog/iolog_json.c:555 lib/iolog/iolog_legacy.c:100 +#: lib/iolog/iolog_legacy.c:111 lib/iolog/iolog_legacy.c:123 +#: lib/iolog/iolog_legacy.c:133 lib/iolog/iolog_legacy.c:139 +#: lib/iolog/iolog_loginfo.c:76 lib/iolog/iolog_loginfo.c:212 +#: logsrvd/iolog_writer.c:95 logsrvd/iolog_writer.c:100 +#: logsrvd/iolog_writer.c:134 logsrvd/iolog_writer.c:171 +#: logsrvd/iolog_writer.c:181 logsrvd/iolog_writer.c:194 +#: logsrvd/iolog_writer.c:214 logsrvd/iolog_writer.c:224 +#: logsrvd/iolog_writer.c:243 logsrvd/iolog_writer.c:253 +#: logsrvd/iolog_writer.c:264 logsrvd/iolog_writer.c:274 +#: logsrvd/iolog_writer.c:286 logsrvd/iolog_writer.c:296 +#: logsrvd/iolog_writer.c:306 logsrvd/iolog_writer.c:316 +#: logsrvd/iolog_writer.c:328 logsrvd/iolog_writer.c:364 +#: logsrvd/iolog_writer.c:370 logsrvd/iolog_writer.c:377 +#: logsrvd/iolog_writer.c:383 logsrvd/iolog_writer.c:567 +#: logsrvd/logsrv_util.c:69 logsrvd/logsrvd.c:301 logsrvd/logsrvd.c:310 +#: logsrvd/logsrvd.c:453 logsrvd/logsrvd.c:490 logsrvd/logsrvd.c:522 +#: logsrvd/logsrvd.c:576 logsrvd/logsrvd.c:611 logsrvd/logsrvd.c:660 +#: logsrvd/logsrvd.c:696 logsrvd/logsrvd.c:732 logsrvd/logsrvd.c:1124 +#: logsrvd/logsrvd.c:1439 logsrvd/logsrvd.c:1446 logsrvd/logsrvd.c:1582 +#: logsrvd/logsrvd.c:1587 logsrvd/logsrvd.c:1771 logsrvd/logsrvd.c:1988 +#: logsrvd/logsrvd_conf.c:357 logsrvd/logsrvd_conf.c:370 +#: logsrvd/logsrvd_conf.c:511 logsrvd/logsrvd_conf.c:534 +#: logsrvd/logsrvd_conf.c:538 logsrvd/logsrvd_conf.c:556 +#: logsrvd/logsrvd_conf.c:626 logsrvd/logsrvd_conf.c:649 +#: logsrvd/logsrvd_conf.c:678 logsrvd/logsrvd_conf.c:692 +#: logsrvd/logsrvd_conf.c:706 logsrvd/logsrvd_conf.c:720 +#: logsrvd/logsrvd_conf.c:734 logsrvd/logsrvd_conf.c:748 +#: logsrvd/logsrvd_conf.c:829 logsrvd/logsrvd_conf.c:1036 +#: logsrvd/logsrvd_conf.c:1053 logsrvd/logsrvd_conf.c:1448 +#: logsrvd/logsrvd_conf.c:1595 logsrvd/logsrvd_conf.c:1621 +#: logsrvd/logsrvd_conf.c:1633 logsrvd/logsrvd_conf.c:1640 +#: logsrvd/logsrvd_conf.c:1646 logsrvd/logsrvd_conf.c:1742 +#: logsrvd/logsrvd_journal.c:75 logsrvd/logsrvd_journal.c:122 +#: logsrvd/logsrvd_journal.c:213 logsrvd/logsrvd_journal.c:243 +#: logsrvd/logsrvd_journal.c:247 logsrvd/logsrvd_journal.c:255 +#: logsrvd/logsrvd_journal.c:278 logsrvd/logsrvd_journal.c:282 +#: logsrvd/logsrvd_journal.c:430 logsrvd/logsrvd_local.c:215 +#: logsrvd/logsrvd_local.c:278 logsrvd/logsrvd_local.c:466 +#: logsrvd/logsrvd_local.c:472 logsrvd/logsrvd_local.c:491 +#: logsrvd/logsrvd_queue.c:158 logsrvd/logsrvd_queue.c:189 +#: logsrvd/logsrvd_queue.c:266 logsrvd/sendlog.c:251 logsrvd/sendlog.c:260 +#: logsrvd/sendlog.c:291 logsrvd/sendlog.c:338 logsrvd/sendlog.c:615 +#: logsrvd/sendlog.c:1503 logsrvd/sendlog.c:1510 logsrvd/sendlog.c:1733 +#: logsrvd/sendlog.c:1801 logsrvd/tls_init.c:305 logsrvd/tls_init.c:329 +#: logsrvd/tls_init.c:340 plugins/sudoers/audit.c:116 +#: plugins/sudoers/auth/pam.c:502 plugins/sudoers/auth/pam.c:687 +#: plugins/sudoers/auth/rfc1938.c:111 plugins/sudoers/check_aliases.c:168 +#: plugins/sudoers/cvtsudoers.c:131 plugins/sudoers/cvtsudoers.c:174 +#: plugins/sudoers/cvtsudoers.c:191 plugins/sudoers/cvtsudoers.c:202 +#: plugins/sudoers/cvtsudoers.c:332 plugins/sudoers/cvtsudoers.c:536 +#: plugins/sudoers/cvtsudoers.c:669 plugins/sudoers/cvtsudoers.c:687 +#: plugins/sudoers/cvtsudoers.c:862 plugins/sudoers/cvtsudoers.c:869 +#: plugins/sudoers/cvtsudoers.c:1365 plugins/sudoers/cvtsudoers.c:1369 +#: plugins/sudoers/cvtsudoers.c:1471 plugins/sudoers/cvtsudoers_csv.c:182 +#: plugins/sudoers/cvtsudoers_csv.c:245 plugins/sudoers/cvtsudoers_json.c:75 +#: plugins/sudoers/cvtsudoers_ldif.c:150 plugins/sudoers/cvtsudoers_ldif.c:193 +#: plugins/sudoers/cvtsudoers_ldif.c:234 plugins/sudoers/cvtsudoers_ldif.c:299 +#: plugins/sudoers/cvtsudoers_ldif.c:375 plugins/sudoers/cvtsudoers_ldif.c:429 +#: plugins/sudoers/cvtsudoers_ldif.c:437 plugins/sudoers/cvtsudoers_ldif.c:448 +#: plugins/sudoers/cvtsudoers_ldif.c:455 plugins/sudoers/cvtsudoers_ldif.c:467 +#: plugins/sudoers/cvtsudoers_ldif.c:480 plugins/sudoers/cvtsudoers_ldif.c:488 +#: plugins/sudoers/cvtsudoers_ldif.c:635 plugins/sudoers/cvtsudoers_merge.c:47 +#: plugins/sudoers/cvtsudoers_merge.c:51 +#: plugins/sudoers/cvtsudoers_merge.c:353 +#: plugins/sudoers/cvtsudoers_merge.c:399 +#: plugins/sudoers/cvtsudoers_merge.c:445 +#: plugins/sudoers/cvtsudoers_merge.c:466 +#: plugins/sudoers/cvtsudoers_merge.c:553 +#: plugins/sudoers/cvtsudoers_merge.c:561 +#: plugins/sudoers/cvtsudoers_merge.c:564 +#: plugins/sudoers/cvtsudoers_merge.c:630 +#: plugins/sudoers/cvtsudoers_merge.c:633 +#: plugins/sudoers/cvtsudoers_merge.c:1157 +#: plugins/sudoers/cvtsudoers_merge.c:1231 plugins/sudoers/defaults.c:434 +#: plugins/sudoers/defaults.c:658 plugins/sudoers/defaults.c:1019 +#: plugins/sudoers/defaults.c:1187 plugins/sudoers/editor.c:188 +#: plugins/sudoers/env.c:263 plugins/sudoers/exptilde.c:92 +#: plugins/sudoers/filedigest.c:54 plugins/sudoers/filedigest.c:70 +#: plugins/sudoers/gc.c:57 plugins/sudoers/group_plugin.c:227 +#: plugins/sudoers/interfaces.c:68 plugins/sudoers/iolog.c:268 +#: plugins/sudoers/iolog.c:668 plugins/sudoers/iolog.c:694 +#: plugins/sudoers/ldap.c:184 plugins/sudoers/ldap.c:464 +#: plugins/sudoers/ldap.c:755 plugins/sudoers/ldap.c:919 +#: plugins/sudoers/ldap.c:1335 plugins/sudoers/ldap.c:1761 +#: plugins/sudoers/ldap.c:1798 plugins/sudoers/ldap.c:1879 +#: plugins/sudoers/ldap.c:2014 plugins/sudoers/ldap.c:2115 +#: plugins/sudoers/ldap.c:2131 plugins/sudoers/ldap_conf.c:218 +#: plugins/sudoers/ldap_conf.c:250 plugins/sudoers/ldap_conf.c:302 +#: plugins/sudoers/ldap_conf.c:338 plugins/sudoers/ldap_conf.c:444 +#: plugins/sudoers/ldap_conf.c:459 plugins/sudoers/ldap_conf.c:564 +#: plugins/sudoers/ldap_conf.c:597 plugins/sudoers/ldap_conf.c:688 +#: plugins/sudoers/ldap_conf.c:771 plugins/sudoers/ldap_util.c:293 +#: plugins/sudoers/ldap_util.c:300 plugins/sudoers/ldap_util.c:614 +#: plugins/sudoers/linux_audit.c:86 plugins/sudoers/log_client.c:117 +#: plugins/sudoers/log_client.c:228 plugins/sudoers/log_client.c:250 +#: plugins/sudoers/log_client.c:264 plugins/sudoers/log_client.c:402 +#: plugins/sudoers/log_client.c:715 plugins/sudoers/log_client.c:736 +#: plugins/sudoers/log_client.c:1416 plugins/sudoers/log_client.c:1537 +#: plugins/sudoers/log_client.c:1637 plugins/sudoers/log_client.c:1973 +#: plugins/sudoers/log_client.c:2032 plugins/sudoers/logging.c:110 +#: plugins/sudoers/logging.c:188 plugins/sudoers/logging.c:189 +#: plugins/sudoers/logging.c:453 plugins/sudoers/logging.c:668 +#: plugins/sudoers/logging.c:805 plugins/sudoers/logging.c:876 +#: plugins/sudoers/logging.c:888 plugins/sudoers/match_command.c:334 +#: plugins/sudoers/match_command.c:602 plugins/sudoers/match_command.c:653 +#: plugins/sudoers/match_command.c:728 plugins/sudoers/match_command.c:775 +#: plugins/sudoers/match_digest.c:93 plugins/sudoers/parse.c:226 +#: plugins/sudoers/parse.c:243 plugins/sudoers/parse.c:262 +#: plugins/sudoers/parse.c:281 plugins/sudoers/parse.c:298 +#: plugins/sudoers/parse.c:321 plugins/sudoers/parse.c:332 +#: plugins/sudoers/parse_ldif.c:152 plugins/sudoers/parse_ldif.c:183 +#: plugins/sudoers/parse_ldif.c:252 plugins/sudoers/parse_ldif.c:260 +#: plugins/sudoers/parse_ldif.c:265 plugins/sudoers/parse_ldif.c:341 +#: plugins/sudoers/parse_ldif.c:352 plugins/sudoers/parse_ldif.c:379 +#: plugins/sudoers/parse_ldif.c:396 plugins/sudoers/parse_ldif.c:408 +#: plugins/sudoers/parse_ldif.c:412 plugins/sudoers/parse_ldif.c:426 +#: plugins/sudoers/parse_ldif.c:484 plugins/sudoers/parse_ldif.c:598 +#: plugins/sudoers/parse_ldif.c:627 plugins/sudoers/parse_ldif.c:652 +#: plugins/sudoers/parse_ldif.c:710 plugins/sudoers/parse_ldif.c:727 +#: plugins/sudoers/parse_ldif.c:755 plugins/sudoers/parse_ldif.c:762 +#: plugins/sudoers/policy.c:153 plugins/sudoers/policy.c:162 +#: plugins/sudoers/policy.c:171 plugins/sudoers/policy.c:199 +#: plugins/sudoers/policy.c:368 plugins/sudoers/policy.c:383 +#: plugins/sudoers/policy.c:385 plugins/sudoers/policy.c:423 +#: plugins/sudoers/policy.c:432 plugins/sudoers/policy.c:480 +#: plugins/sudoers/policy.c:490 plugins/sudoers/policy.c:499 +#: plugins/sudoers/policy.c:508 plugins/sudoers/policy.c:517 +#: plugins/sudoers/policy.c:624 plugins/sudoers/policy.c:1026 +#: plugins/sudoers/prompt.c:93 plugins/sudoers/pwutil.c:199 +#: plugins/sudoers/pwutil.c:270 plugins/sudoers/pwutil.c:348 +#: plugins/sudoers/pwutil.c:522 plugins/sudoers/pwutil.c:587 +#: plugins/sudoers/pwutil.c:659 plugins/sudoers/pwutil.c:857 +#: plugins/sudoers/pwutil.c:913 plugins/sudoers/pwutil.c:957 +#: plugins/sudoers/pwutil.c:1014 plugins/sudoers/set_perms.c:363 +#: plugins/sudoers/set_perms.c:706 plugins/sudoers/set_perms.c:1073 +#: plugins/sudoers/set_perms.c:1380 plugins/sudoers/set_perms.c:1549 +#: plugins/sudoers/sssd.c:144 plugins/sudoers/sssd.c:185 +#: plugins/sudoers/sssd.c:414 plugins/sudoers/sssd.c:479 +#: plugins/sudoers/sssd.c:505 plugins/sudoers/sssd.c:568 +#: plugins/sudoers/sssd.c:761 plugins/sudoers/strvec_join.c:53 +#: plugins/sudoers/stubs.c:112 plugins/sudoers/stubs.c:120 +#: plugins/sudoers/sudoers.c:354 plugins/sudoers/sudoers.c:380 +#: plugins/sudoers/sudoers.c:448 plugins/sudoers/sudoers.c:457 +#: plugins/sudoers/sudoers.c:498 plugins/sudoers/sudoers.c:827 +#: plugins/sudoers/sudoers.c:877 plugins/sudoers/sudoers.c:1015 +#: plugins/sudoers/sudoers.c:1075 plugins/sudoers/sudoers.c:1330 +#: plugins/sudoers/sudoreplay.c:562 plugins/sudoers/sudoreplay.c:565 +#: plugins/sudoers/sudoreplay.c:1281 plugins/sudoers/sudoreplay.c:1503 +#: plugins/sudoers/sudoreplay.c:1507 plugins/sudoers/testsudoers.c:120 +#: plugins/sudoers/testsudoers.c:224 plugins/sudoers/testsudoers.c:241 +#: plugins/sudoers/testsudoers.c:588 plugins/sudoers/timestamp.c:451 +#: plugins/sudoers/timestamp.c:495 plugins/sudoers/timestamp.c:1017 +#: plugins/sudoers/timestamp.c:1146 plugins/sudoers/toke_util.c:78 +#: plugins/sudoers/toke_util.c:106 plugins/sudoers/toke_util.c:131 +#: plugins/sudoers/toke_util.c:160 plugins/sudoers/toke_util.c:200 +#: plugins/sudoers/tsdump.c:123 plugins/sudoers/visudo.c:150 +#: plugins/sudoers/visudo.c:385 plugins/sudoers/visudo.c:391 +#: plugins/sudoers/visudo.c:498 plugins/sudoers/visudo.c:1054 toke.l:1023 +#: toke.l:1155 toke.l:1218 toke.l:1226 +#, c-format +msgid "%s: %s" +msgstr "%s: %s" + +#: lib/eventlog/eventlog.c:314 lib/iolog/iolog_json.c:562 +#: lib/iolog/iolog_json.c:568 lib/iolog/iolog_json.c:574 +#: plugins/sudoers/cvtsudoers_csv.c:192 plugins/sudoers/cvtsudoers_csv.c:199 +#: plugins/sudoers/cvtsudoers_ldif.c:244 plugins/sudoers/cvtsudoers_ldif.c:251 +#: plugins/sudoers/cvtsudoers_ldif.c:592 plugins/sudoers/env.c:340 +#: plugins/sudoers/env.c:347 plugins/sudoers/env.c:458 +#: plugins/sudoers/ldap.c:526 plugins/sudoers/ldap.c:759 +#: plugins/sudoers/ldap.c:1132 plugins/sudoers/ldap_conf.c:222 +#: plugins/sudoers/ldap_conf.c:313 plugins/sudoers/ldap_util.c:486 +#: plugins/sudoers/linux_audit.c:92 plugins/sudoers/logging.c:457 +#: plugins/sudoers/logging.c:813 plugins/sudoers/logging.c:823 +#: plugins/sudoers/policy.c:800 plugins/sudoers/policy.c:811 +#: plugins/sudoers/prompt.c:168 plugins/sudoers/serialize_list.c:62 +#: plugins/sudoers/serialize_list.c:71 plugins/sudoers/strvec_join.c:62 +#: plugins/sudoers/testsudoers.c:245 plugins/sudoers/toke_util.c:213 +#: toke.l:987 toke.l:1189 +#, c-format +msgid "internal error, %s overflow" +msgstr "შიდა შეცდომა: %s-ის გადავსება" + +#: lib/eventlog/eventlog.c:373 +#, c-format +msgid "unable to dup stdin: %m" +msgstr "stdin-ის დუბლირების შეცდომა: %m" + +#: lib/eventlog/eventlog.c:415 +#, c-format +msgid "unable to execute %s: %m" +msgstr "%s-ის შესრულების შეცდომა: %m" + +#: lib/eventlog/eventlog.c:463 plugins/sudoers/auth/aix_auth.c:198 +msgid "unable to fork" +msgstr "პროცესის განტოტვის შეცდომა" + +#: lib/eventlog/eventlog.c:473 lib/eventlog/eventlog.c:538 +#, c-format +msgid "unable to fork: %m" +msgstr "განტოტვის შეცდომა: %m" + +#: lib/eventlog/eventlog.c:528 +#, c-format +msgid "unable to open pipe: %m" +msgstr "ფაიფის გახსნის შეცდომა: %m" + +#: lib/eventlog/eventlog.c:1030 +#, c-format +msgid "%8s : %s" +msgstr "%8s : %s" + +#: lib/eventlog/eventlog.c:1059 +#, c-format +msgid "%8s : (command continued) %s" +msgstr "%8s : (ბრძანება გაგრძელდა) %s" + +#: lib/iolog/iolog_filter.c:133 plugins/sudoers/defaults.c:1242 +#: plugins/sudoers/sudoreplay.c:1293 plugins/sudoers/sudoreplay.c:1558 +#, c-format +msgid "invalid regular expression \"%s\": %s" +msgstr "არასწორი რეგულარული გამოსახულება (%s): %s" + +#: lib/iolog/iolog_json.c:140 +#, c-format +msgid "expected JSON_STRING, got %d" +msgstr "მოველოდი JSON_STRING, მივიღე %d" + +#: lib/iolog/iolog_json.c:145 +msgid "JSON_ARRAY too large" +msgstr "JSON_ARRAY ძალიან დიდია" + +#: lib/iolog/iolog_json.c:404 +msgid "missing double quote in name" +msgstr "სახელში ორმაგი ბრჭყალი აკლია" + +#: lib/iolog/iolog_json.c:501 +msgid "missing JSON_OBJECT" +msgstr "\"JSON_OBJECT\" ვერ ვიპოვე" + +#: lib/iolog/iolog_json.c:505 +#, c-format +msgid "expected JSON_OBJECT, got %d" +msgstr "მოველოდი JSON_OBJECT, მივიღე %d" + +#: lib/iolog/iolog_json.c:661 +#, c-format +msgid "json stack exhausted (max %u frames)" +msgstr "json-ის სტეკი გახარჯულია (მაქს %u კადრი)" + +#: lib/iolog/iolog_json.c:735 +msgid "objects must consist of name:value pairs" +msgstr "ობიექტები სახელი:მნიშვნელობის წყვილებისგან უნდა შედგებოდეს" + +#: lib/iolog/iolog_json.c:740 lib/iolog/iolog_json.c:771 +#: lib/iolog/iolog_json.c:815 lib/iolog/iolog_json.c:837 +#: lib/iolog/iolog_json.c:859 lib/iolog/iolog_json.c:881 +#: lib/iolog/iolog_json.c:903 +msgid "missing separator between values" +msgstr "მნიშვნელობებს შორის გამყოფი მითითებული არაა" + +#: lib/iolog/iolog_json.c:755 lib/iolog/iolog_json.c:929 +msgid "unmatched close brace" +msgstr "დამხურავ ფიგურულ ფრჩხილს შესაბამისი არ გააჩნია" + +#: lib/iolog/iolog_json.c:766 +msgid "unexpected array" +msgstr "მოულოდნელი მასივი" + +#: lib/iolog/iolog_json.c:786 lib/iolog/iolog_json.c:932 +msgid "unmatched close bracket" +msgstr "დამხურავ ფრჩხილს შესაბამისი არ გააჩნია" + +#: lib/iolog/iolog_json.c:797 +msgid "unexpected string" +msgstr "მოულოდნელი სტრიქონი" + +#: lib/iolog/iolog_json.c:808 +msgid "missing colon after name" +msgstr "სახელის შემდეგ სვეტი აღმოჩენილი არაა" + +#: lib/iolog/iolog_json.c:829 lib/iolog/iolog_json.c:851 +msgid "unexpected boolean" +msgstr "მოულოდნელი ლოგიკური მნიშვნელობა" + +#: lib/iolog/iolog_json.c:873 +msgid "unexpected null" +msgstr "მოულოდნელი ნულოვანი მნიშვნელობა" + +#: lib/iolog/iolog_json.c:894 +msgid "unexpected number" +msgstr "მოულოდნელი რიცხვი" + +#: lib/iolog/iolog_json.c:941 +msgid "parse error" +msgstr "დამუშავების შეცდომა" + +#: lib/iolog/iolog_legacy.c:65 +#, c-format +msgid "%s: invalid log file" +msgstr "%s: არასწორი ჟურნალის ფაილი" + +#: lib/iolog/iolog_legacy.c:83 +#, c-format +msgid "%s: time stamp field is missing" +msgstr "%s: დროის შტამპის ველი აკლია" + +#: lib/iolog/iolog_legacy.c:89 +#, c-format +msgid "%s: time stamp %s: %s" +msgstr "%s: დროის შტამპი %s: %s" + +#: lib/iolog/iolog_legacy.c:96 +#, c-format +msgid "%s: user field is missing" +msgstr "%s: მომხმარებლის ველის გარეშე" + +#: lib/iolog/iolog_legacy.c:107 +#, c-format +msgid "%s: runas user field is missing" +msgstr "%s: runas მომხმარებლის ველის გარეშე" + +#: lib/iolog/iolog_legacy.c:118 +#, c-format +msgid "%s: runas group field is missing" +msgstr "%s: runas ჯგუფის ველის გარეშე" + +#: lib/iolog/iolog_mkdirs.c:89 +#, c-format +msgid "%s exists but is not a directory (0%o)" +msgstr "%s არსებობს, მაგრამ საქაღალდეს არ წარმოადგენს (0%o)" + +#: lib/iolog/iolog_mkdirs.c:123 lib/iolog/iolog_mkdtemp.c:78 +#: logsrvd/iolog_writer.c:781 plugins/sudoers/timestamp.c:209 +#, c-format +msgid "unable to mkdir %s" +msgstr "mkdir %s-ის შეცდომა" + +#: lib/iolog/iolog_mkdtemp.c:83 plugins/sudoers/visudo.c:753 +#: plugins/sudoers/visudo.c:787 plugins/sudoers/visudo.c:793 +#, c-format +msgid "unable to change mode of %s to 0%o" +msgstr "რეჟიმის %s-დან 0%o-ზე შეცვლა შეუძლებელია" + +#: lib/iolog/iolog_timing.c:261 +#, c-format +msgid "error reading timing file: %s" +msgstr "დროის ფაილის წაკითხვის შეცდომა: %s" + +#: lib/iolog/iolog_timing.c:268 +#, c-format +msgid "invalid timing file line: %s" +msgstr "დროის ფაილის არასწორი ხაზი: %s" + +#: logsrvd/iolog_writer.c:65 +#, c-format +msgid "%s: protocol error: NULL key" +msgstr "%s: პროტოკოლის შეცდომა: ნულოვანი გასაღები" + +#: logsrvd/iolog_writer.c:69 +#, c-format +msgid "%s: protocol error: wrong type for %s" +msgstr "%s: პროტოკოლის შეცდომა. არასწორი ტიპი %s -სთვის" + +#: logsrvd/iolog_writer.c:74 logsrvd/logsrvd_local.c:109 +#: logsrvd/logsrvd_local.c:123 logsrvd/logsrvd_local.c:131 +#: logsrvd/logsrvd_local.c:149 +#, c-format +msgid "%s: protocol error: NULL value found in %s" +msgstr "%s: პროტოკოლის შეცდომა: %s-ში ნაპოვნი მნიშვნელობა ნულოვანია" + +#: logsrvd/iolog_writer.c:141 plugins/sudoers/logging.c:976 +#: plugins/sudoers/policy.c:591 +msgid "unable to generate UUID" +msgstr "uuid-ის გენერაციის შეცდომა" + +#: logsrvd/iolog_writer.c:341 logsrvd/iolog_writer.c:346 +#: logsrvd/iolog_writer.c:351 logsrvd/iolog_writer.c:356 +#, c-format +msgid "%s: protocol error: %s missing from AcceptMessage" +msgstr "%s: პროტოკოლის შეცდომა: AcceptMessage-ს %s -ი აკლია" + +#: logsrvd/iolog_writer.c:417 +#, c-format +msgid "%s: unable to format session id" +msgstr "%s: სესის id-ის დაფორმატების" + +#: logsrvd/iolog_writer.c:431 logsrvd/iolog_writer.c:445 +#: logsrvd/iolog_writer.c:459 logsrvd/iolog_writer.c:474 +#: logsrvd/iolog_writer.c:488 logsrvd/iolog_writer.c:502 +#, c-format +msgid "%s: %s is not set" +msgstr "%s: %s დაყენებული არაა" + +#: logsrvd/iolog_writer.c:538 logsrvd/iolog_writer.c:545 +#, c-format +msgid "unable to expand iolog path %s" +msgstr "" + +#: logsrvd/iolog_writer.c:563 +#, c-format +msgid "unable to create iolog path %s" +msgstr "" + +#: logsrvd/iolog_writer.c:593 +#, c-format +msgid "invalid iofd %d" +msgstr "არასწორი iofd %d" + +#: logsrvd/iolog_writer.c:613 +#, c-format +msgid "error closing iofd %d: %s" +msgstr "შეცდომა iofd %d დახურვისას: %s" + +#: logsrvd/iolog_writer.c:633 +#, c-format +msgid "error flushing iofd %d: %s" +msgstr "iofd %d-ის ჩაწერის შეცდომა: %s" + +#: logsrvd/iolog_writer.c:751 +#, c-format +msgid "invalid I/O log %s: %s referenced but not present" +msgstr "" + +#: logsrvd/iolog_writer.c:763 logsrvd/logsrvd_journal.c:382 +#, c-format +msgid "%s: unable to find resume point [%lld, %ld]" +msgstr "" + +#: logsrvd/iolog_writer.c:785 logsrvd/logsrvd_journal.c:425 +#: logsrvd/logsrvd_queue.c:115 logsrvd/tls_init.c:256 +#: plugins/sudoers/check.c:292 plugins/sudoers/cvtsudoers.c:730 +#: plugins/sudoers/cvtsudoers.c:751 plugins/sudoers/cvtsudoers.c:1431 +#: plugins/sudoers/cvtsudoers_csv.c:695 plugins/sudoers/cvtsudoers_json.c:898 +#: plugins/sudoers/cvtsudoers_ldif.c:709 plugins/sudoers/sudoers.c:1113 +#: plugins/sudoers/sudoers.c:1143 plugins/sudoers/sudoreplay.c:1469 +#: plugins/sudoers/timestamp.c:460 plugins/sudoers/tsdump.c:128 +#: plugins/sudoers/visudo.c:971 +#, c-format +msgid "unable to open %s" +msgstr "%s-ის გახსნის შეცდომა" + +#: logsrvd/iolog_writer.c:797 logsrvd/logsrv_util.c:105 +#: logsrvd/logsrv_util.c:112 plugins/sudoers/sudoreplay.c:362 +#: plugins/sudoers/sudoreplay.c:368 +#, c-format +msgid "unable to open %s/%s" +msgstr "შეცდომა გახსნისას %s/%s" + +#: logsrvd/iolog_writer.c:810 +#, c-format +msgid "unable to copy %s/%s to %s/%s: %s" +msgstr "შეცდომა კოპირებისას: %s/%s -დან %s/%s: %s -მდე" + +#: logsrvd/iolog_writer.c:839 logsrvd/logsrvd_journal.c:195 +#, c-format +msgid "unable to rename %s to %s" +msgstr "%s-ის %s-ად გადარქმევის შეცდომა" + +#: logsrvd/logsrv_util.c:147 logsrvd/logsrv_util.c:176 +#, c-format +msgid "%s/%s: unable to find resume point [%lld, %ld]" +msgstr "" + +#: logsrvd/logsrv_util.c:159 +#, c-format +msgid "missing I/O log file %s/%s" +msgstr "" + +#: logsrvd/logsrv_util.c:166 +#, c-format +msgid "%s/%s: unable to seek forward %zu" +msgstr "" + +#: logsrvd/logsrvd.c:271 logsrvd/logsrvd_queue.c:135 +msgid "unable to connect to relay" +msgstr "" + +#: logsrvd/logsrvd.c:330 logsrvd/logsrvd_relay.c:842 +#, c-format +msgid "server message too large: %zu" +msgstr "სერვერის შეტყობინება ძალიან დიდია: %zu" + +#: logsrvd/logsrvd.c:422 logsrvd/logsrvd.c:545 logsrvd/logsrvd.c:631 +#: logsrvd/logsrvd.c:873 logsrvd/logsrvd.c:887 logsrvd/logsrvd.c:1049 +#: logsrvd/logsrvd.c:1174 logsrvd/logsrvd.c:1347 logsrvd/logsrvd.c:1365 +#: logsrvd/logsrvd.c:1464 logsrvd/logsrvd.c:1589 logsrvd/logsrvd.c:1773 +#: logsrvd/logsrvd_journal.c:494 logsrvd/logsrvd_local.c:238 +#: logsrvd/logsrvd_queue.c:164 logsrvd/logsrvd_relay.c:172 +#: logsrvd/logsrvd_relay.c:249 logsrvd/logsrvd_relay.c:253 +#: logsrvd/logsrvd_relay.c:389 logsrvd/logsrvd_relay.c:581 +#: logsrvd/logsrvd_relay.c:742 logsrvd/logsrvd_relay.c:1131 +#: logsrvd/sendlog.c:1291 logsrvd/tls_client.c:136 logsrvd/tls_client.c:152 +#: logsrvd/tls_client.c:216 plugins/sudoers/audit.c:278 +#: plugins/sudoers/iolog.c:1033 plugins/sudoers/iolog.c:1166 +#: plugins/sudoers/iolog.c:1264 plugins/sudoers/log_client.c:121 +#: plugins/sudoers/log_client.c:343 plugins/sudoers/log_client.c:359 +#: plugins/sudoers/log_client.c:407 plugins/sudoers/log_client.c:611 +#: plugins/sudoers/log_client.c:618 plugins/sudoers/log_client.c:1103 +#: plugins/sudoers/log_client.c:1385 plugins/sudoers/log_client.c:1426 +#: plugins/sudoers/log_client.c:1434 plugins/sudoers/log_client.c:1593 +#: plugins/sudoers/log_client.c:1711 plugins/sudoers/log_client.c:2040 +#: plugins/sudoers/log_client.c:2048 plugins/sudoers/logging.c:147 +#: plugins/sudoers/logging.c:205 plugins/sudoers/sudoreplay.c:522 +#: plugins/sudoers/sudoreplay.c:569 plugins/sudoers/sudoreplay.c:811 +#: plugins/sudoers/sudoreplay.c:923 plugins/sudoers/sudoreplay.c:1014 +#: plugins/sudoers/sudoreplay.c:1029 plugins/sudoers/sudoreplay.c:1036 +#: plugins/sudoers/sudoreplay.c:1043 plugins/sudoers/sudoreplay.c:1050 +#: plugins/sudoers/sudoreplay.c:1057 plugins/sudoers/sudoreplay.c:1184 +msgid "unable to add event to queue" +msgstr "რიგში მოვლენის ჩამატების შეცდომა" + +#: logsrvd/logsrvd.c:446 logsrvd/logsrvd.c:483 logsrvd/logsrvd.c:515 +#: logsrvd/logsrvd.c:569 logsrvd/logsrvd.c:648 logsrvd/logsrvd.c:684 +#: logsrvd/logsrvd.c:720 logsrvd/logsrvd.c:756 logsrvd/logsrvd_relay.c:510 +#: logsrvd/logsrvd_relay.c:543 +#, c-format +msgid "unexpected state %d for %s" +msgstr "" + +#: logsrvd/logsrvd.c:447 logsrvd/logsrvd.c:484 logsrvd/logsrvd.c:516 +#: logsrvd/logsrvd.c:570 logsrvd/logsrvd.c:649 logsrvd/logsrvd.c:685 +#: logsrvd/logsrvd.c:721 logsrvd/logsrvd.c:757 logsrvd/logsrvd_relay.c:512 +#: logsrvd/logsrvd_relay.c:545 +msgid "state machine error" +msgstr "" + +#: logsrvd/logsrvd.c:453 logsrvd/logsrvd.c:454 +msgid "invalid AcceptMessage" +msgstr "არასწორი AcceptMessage" + +#: logsrvd/logsrvd.c:490 logsrvd/logsrvd.c:491 +msgid "invalid RejectMessage" +msgstr "არასწორი RejectMessage" + +#: logsrvd/logsrvd.c:522 logsrvd/logsrvd.c:523 +msgid "invalid ExitMessage" +msgstr "არასწორი ExitMessage" + +#: logsrvd/logsrvd.c:576 logsrvd/logsrvd.c:577 +msgid "invalid RestartMessage" +msgstr "არასწორი RestartMessage" + +#: logsrvd/logsrvd.c:611 logsrvd/logsrvd.c:612 +msgid "invalid AlertMessage" +msgstr "არასწორი AlertMessage" + +#: logsrvd/logsrvd.c:653 logsrvd/logsrvd.c:689 logsrvd/logsrvd.c:725 +#, c-format +msgid "%s: unexpected IoBuffer" +msgstr "" + +#: logsrvd/logsrvd.c:654 logsrvd/logsrvd.c:690 logsrvd/logsrvd.c:726 +msgid "protocol error" +msgstr "პროტოკოლის შეცდომა" + +#: logsrvd/logsrvd.c:660 logsrvd/logsrvd.c:661 +msgid "invalid IoBuffer" +msgstr "არასწორი IoBuffer" + +#: logsrvd/logsrvd.c:696 logsrvd/logsrvd.c:697 +msgid "invalid ChangeWindowSize" +msgstr "არასწორი ChangeWindowSize" + +#: logsrvd/logsrvd.c:732 logsrvd/logsrvd.c:733 +msgid "invalid CommandSuspend" +msgstr "არასწორი CommandSuspend" + +#: logsrvd/logsrvd.c:782 logsrvd/logsrvd_journal.c:293 +#: logsrvd/logsrvd_relay.c:652 logsrvd/sendlog.c:1192 +#: plugins/sudoers/log_client.c:1583 +#, c-format +msgid "unable to unpack %s size %zu" +msgstr "შეცდომა %s -ის გაშლისას ზომა %zu" + +#: logsrvd/logsrvd.c:827 logsrvd/logsrvd_journal.c:367 +#: logsrvd/logsrvd_relay.c:676 +#, c-format +msgid "unexpected type_case value %d in %s from %s" +msgstr "type_case-ის მოულოდნელი მნიშვნელობა %d %s-ში %s-დან" + +#: logsrvd/logsrvd.c:829 +msgid "unrecognized ClientMessage type" +msgstr "" + +#: logsrvd/logsrvd.c:919 +#, c-format +msgid "timed out writing to client %s" +msgstr "" + +#: logsrvd/logsrvd.c:924 logsrvd/logsrvd_relay.c:914 logsrvd/sendlog.c:1395 +#, c-format +msgid "missing write buffer for client %s" +msgstr "" + +#: logsrvd/logsrvd.c:1020 +#, c-format +msgid "timed out reading from client %s" +msgstr "" + +#: logsrvd/logsrvd.c:1061 logsrvd/logsrvd_relay.c:777 +#, c-format +msgid "EOF from %s without proper TLS shutdown" +msgstr "" + +#: logsrvd/logsrvd.c:1105 logsrvd/logsrvd_relay.c:205 logsrvd/sendlog.c:322 +#: plugins/sudoers/log_client.c:721 +#, c-format +msgid "client message too large: %zu" +msgstr "" + +#: logsrvd/logsrvd.c:1106 logsrvd/logsrvd_journal.c:256 +#: logsrvd/logsrvd_journal.c:257 +msgid "client message too large" +msgstr "" + +#: logsrvd/logsrvd.c:1124 logsrvd/logsrvd.c:1125 +msgid "invalid ClientMessage" +msgstr "არასწორი ClientMessage" + +#: logsrvd/logsrvd.c:1425 +msgid "unable to get remote IP addr" +msgstr "" + +#: logsrvd/logsrvd.c:1456 logsrvd/tls_client.c:203 +#: plugins/sudoers/log_client.c:281 +#, c-format +msgid "Unable to attach user data to the ssl object: %s" +msgstr "" + +#: logsrvd/logsrvd.c:1639 logsrvd/logsrvd.c:1992 +msgid "unable to setup listen socket" +msgstr "" + +#: logsrvd/logsrvd.c:1756 +#, c-format +msgid "unexpected signal %d" +msgstr "" + +#: logsrvd/logsrvd.c:1894 +msgid "sudo log server" +msgstr "" + +#: logsrvd/logsrvd.c:1896 logsrvd/sendlog.c:121 +msgid "Options:" +msgstr "პარამეტრები:" + +#: logsrvd/logsrvd.c:1898 +msgid "path to configuration file" +msgstr "ბილიკი კონფიგურაციის ფაილამდე" + +#: logsrvd/logsrvd.c:1900 logsrvd/sendlog.c:123 +msgid "display help message and exit" +msgstr "დახმარების გამოტანა და გამოსვლა" + +#: logsrvd/logsrvd.c:1902 +msgid "do not fork, run in the foreground" +msgstr "" + +#: logsrvd/logsrvd.c:1904 +msgid "percent chance connections will drop" +msgstr "" + +#: logsrvd/logsrvd.c:1906 logsrvd/sendlog.c:153 +msgid "display version information and exit" +msgstr "ვერსიის ჩვენება და გასვლა" + +#: logsrvd/logsrvd.c:1956 logsrvd/sendlog.c:1702 +msgid "Protobuf-C version 1.3 or higher required" +msgstr "" + +#: logsrvd/logsrvd.c:1972 +#, c-format +msgid "invalid random drop value: %s" +msgstr "" + +#: logsrvd/logsrvd.c:1975 logsrvd/sendlog.c:1756 +#: plugins/sudoers/cvtsudoers.c:246 plugins/sudoers/sudoreplay.c:301 +#: plugins/sudoers/visudo.c:182 +#, c-format +msgid "%s version %s\n" +msgstr "%s ვერსია %s\n" + +#: logsrvd/logsrvd_conf.c:422 plugins/sudoers/check.c:353 +#: plugins/sudoers/exptilde.c:85 plugins/sudoers/iolog.c:122 +#: plugins/sudoers/policy.c:1264 plugins/sudoers/sudoers.c:505 +#: plugins/sudoers/sudoers.c:1372 plugins/sudoers/testsudoers.c:215 +#: plugins/sudoers/testsudoers.c:382 +#, c-format +msgid "unknown user %s" +msgstr "უცნობი მომხმარებელი %s" + +#: logsrvd/logsrvd_conf.c:439 plugins/sudoers/iolog.c:148 +#: plugins/sudoers/sudoers.c:510 plugins/sudoers/sudoers.c:1406 +#: plugins/sudoers/testsudoers.c:406 +#, c-format +msgid "unknown group %s" +msgstr "უცნობი ჯგუფი %s" + +#: logsrvd/logsrvd_conf.c:457 +#, c-format +msgid "unable to parse iolog mode %s" +msgstr "" + +#: logsrvd/logsrvd_conf.c:474 logsrvd/logsrvd_conf.c:1243 +#, c-format +msgid "invalid value for %s: %s" +msgstr "%s-ის არასწორი მნიშვნელობა: %s" + +#: logsrvd/logsrvd_conf.c:527 +msgid "TLS not supported" +msgstr "TLS მხარდაუჭერელია" + +#: logsrvd/logsrvd_conf.c:549 +#, c-format +msgid "%s:%s" +msgstr "%s:%s" + +#: logsrvd/logsrvd_conf.c:622 logsrvd/logsrvd_conf.c:1032 +#, c-format +msgid "%s: not a fully qualified path" +msgstr "" + +#: logsrvd/logsrvd_conf.c:951 logsrvd/logsrvd_conf.c:967 +#: logsrvd/logsrvd_conf.c:1676 +#, c-format +msgid "unknown syslog facility %s" +msgstr "" + +#: logsrvd/logsrvd_conf.c:983 logsrvd/logsrvd_conf.c:999 +#: logsrvd/logsrvd_conf.c:1015 logsrvd/logsrvd_conf.c:1680 +#: logsrvd/logsrvd_conf.c:1684 logsrvd/logsrvd_conf.c:1688 +#, c-format +msgid "unknown syslog priority %s" +msgstr "" + +#: logsrvd/logsrvd_conf.c:1197 +#, c-format +msgid "%s:%d unmatched '[': %s" +msgstr "" + +#: logsrvd/logsrvd_conf.c:1203 +#, c-format +msgid "%s:%d garbage after ']': %s" +msgstr "" + +#: logsrvd/logsrvd_conf.c:1215 +#, c-format +msgid "%s:%d invalid config section: %s" +msgstr "" + +#: logsrvd/logsrvd_conf.c:1223 +#, c-format +msgid "%s:%d invalid configuration line: %s" +msgstr "" + +#: logsrvd/logsrvd_conf.c:1229 +#, c-format +msgid "%s:%d expected section name: %s" +msgstr "" + +#: logsrvd/logsrvd_conf.c:1251 +#, c-format +msgid "%s:%d [%s] illegal key: %s" +msgstr "" + +#: logsrvd/logsrvd_conf.c:1281 plugins/sudoers/cvtsudoers.c:268 +#: plugins/sudoers/logging.c:1029 +#, c-format +msgid "unable to open log file %s" +msgstr "" + +#: logsrvd/logsrvd_conf.c:1763 +msgid "unable to initialize server TLS context" +msgstr "" + +#: logsrvd/logsrvd_conf.c:1783 +msgid "unable to initialize relay TLS context" +msgstr "" + +#: logsrvd/logsrvd_journal.c:146 logsrvd/logsrvd_journal.c:421 +#: logsrvd/logsrvd_journal.c:426 +msgid "unable to create journal file" +msgstr "" + +#: logsrvd/logsrvd_journal.c:150 logsrvd/logsrvd_queue.c:109 +#: plugins/sudoers/visudo.c:1026 +#, c-format +msgid "unable to lock %s" +msgstr "" + +#: logsrvd/logsrvd_journal.c:153 +msgid "unable to lock journal file" +msgstr "" + +#: logsrvd/logsrvd_journal.c:161 +msgid "unable to open journal file" +msgstr "" + +#: logsrvd/logsrvd_journal.c:182 logsrvd/logsrvd_journal.c:457 +#: logsrvd/logsrvd_journal.c:462 +msgid "unable to write journal file" +msgstr "" + +#: logsrvd/logsrvd_journal.c:190 logsrvd/logsrvd_journal.c:197 +msgid "unable to rename journal file" +msgstr "" + +#: logsrvd/logsrvd_journal.c:244 logsrvd/logsrvd_journal.c:245 +#: logsrvd/logsrvd_journal.c:279 logsrvd/logsrvd_journal.c:280 +msgid "unexpected EOF reading journal file" +msgstr "" + +#: logsrvd/logsrvd_journal.c:248 logsrvd/logsrvd_journal.c:249 +#: logsrvd/logsrvd_journal.c:283 logsrvd/logsrvd_journal.c:284 +msgid "error reading journal file" +msgstr "" + +#: logsrvd/logsrvd_journal.c:295 logsrvd/logsrvd_journal.c:381 +msgid "invalid journal file, unable to restart" +msgstr "" + +#: logsrvd/logsrvd_journal.c:440 +#, c-format +msgid "unable to seek to [%lld, %ld] in journal file %s" +msgstr "" + +#: logsrvd/logsrvd_local.c:166 +#, c-format +msgid "unexpected value_case %d in %s from %s" +msgstr "" + +#: logsrvd/logsrvd_local.c:194 +msgid "error parsing AcceptMessage" +msgstr "" + +#: logsrvd/logsrvd_local.c:205 +msgid "error creating I/O log" +msgstr "" + +#: logsrvd/logsrvd_local.c:228 +msgid "error logging accept event" +msgstr "" + +#: logsrvd/logsrvd_local.c:267 +msgid "error parsing RejectMessage" +msgstr "" + +#: logsrvd/logsrvd_local.c:291 +msgid "error logging reject event" +msgstr "" + +#: logsrvd/logsrvd_local.c:427 logsrvd/logsrvd_local.c:435 +msgid "error logging exit event" +msgstr "" + +#: logsrvd/logsrvd_local.c:492 logsrvd/logsrvd_local.c:493 +msgid "log is already complete, cannot be restarted" +msgstr "" + +#: logsrvd/logsrvd_local.c:523 +msgid "unable to restart log" +msgstr "" + +#: logsrvd/logsrvd_local.c:539 +msgid "error parsing AlertMessage" +msgstr "" + +#: logsrvd/logsrvd_local.c:549 +msgid "error logging alert event" +msgstr "" + +#: logsrvd/logsrvd_local.c:585 logsrvd/logsrvd_local.c:648 +#: logsrvd/logsrvd_local.c:683 +#, c-format +msgid "unable to format timing buffer, length %d" +msgstr "" + +#: logsrvd/logsrvd_local.c:599 logsrvd/logsrvd_local.c:607 +#: logsrvd/logsrvd_local.c:655 logsrvd/logsrvd_local.c:690 +#: plugins/sudoers/sudoreplay.c:351 +#, c-format +msgid "%s/%s: %s" +msgstr "%s/%s: %s" + +#: logsrvd/logsrvd_local.c:618 +msgid "randomly dropping connection" +msgstr "" + +#: logsrvd/logsrvd_local.c:630 +msgid "error writing IoBuffer" +msgstr "" + +#: logsrvd/logsrvd_local.c:665 +msgid "error writing ChangeWindowSize" +msgstr "" + +#: logsrvd/logsrvd_local.c:700 +msgid "error writing CommandSuspend" +msgstr "" + +#: logsrvd/logsrvd_relay.c:435 +msgid "TLS handshake with relay host failed" +msgstr "" + +#: logsrvd/logsrvd_relay.c:463 +msgid "unable to connect to relay host" +msgstr "" + +#: logsrvd/logsrvd_relay.c:518 +#, c-format +msgid "%s: invalid ServerHello, missing server_id" +msgstr "" + +#: logsrvd/logsrvd_relay.c:520 logsrvd/sendlog.c:1096 +#: plugins/sudoers/log_client.c:1469 +msgid "invalid ServerHello" +msgstr "" + +#: logsrvd/logsrvd_relay.c:679 +msgid "unrecognized ServerMessage type" +msgstr "" + +#: logsrvd/logsrvd_relay.c:708 +#, c-format +msgid "timed out reading from relay %s (%s)" +msgstr "" + +#: logsrvd/logsrvd_relay.c:710 +msgid "timeout reading from relay" +msgstr "" + +#: logsrvd/logsrvd_relay.c:762 +msgid "relay host name does not match certificate" +msgstr "" + +#: logsrvd/logsrvd_relay.c:768 logsrvd/logsrvd_relay.c:782 +#: logsrvd/logsrvd_relay.c:789 +msgid "error reading from relay" +msgstr "" + +#: logsrvd/logsrvd_relay.c:810 +msgid "unable to read from relay" +msgstr "" + +#: logsrvd/logsrvd_relay.c:825 logsrvd/logsrvd_relay.c:943 +msgid "relay server closed connection" +msgstr "" + +#: logsrvd/logsrvd_relay.c:843 +msgid "server message too large" +msgstr "" + +#: logsrvd/logsrvd_relay.c:907 +#, c-format +msgid "timed out writing to relay %s (%s)" +msgstr "" + +#: logsrvd/logsrvd_relay.c:909 +msgid "timeout writing to relay" +msgstr "" + +#: logsrvd/logsrvd_relay.c:962 logsrvd/logsrvd_relay.c:969 +#: logsrvd/logsrvd_relay.c:981 +msgid "error writing to relay" +msgstr "" + +#: logsrvd/sendlog.c:119 +msgid "send sudo I/O log to remote server" +msgstr "" + +#: logsrvd/sendlog.c:125 +msgid "only send an accept event (no I/O)" +msgstr "" + +#: logsrvd/sendlog.c:128 +msgid "certificate bundle file to verify server's cert against" +msgstr "" + +#: logsrvd/sendlog.c:130 +msgid "certificate file for TLS handshake" +msgstr "" + +#: logsrvd/sendlog.c:133 +msgid "host to send logs to" +msgstr "" + +#: logsrvd/sendlog.c:135 +msgid "remote ID of I/O log to be resumed" +msgstr "" + +#: logsrvd/sendlog.c:138 +msgid "private key file" +msgstr "" + +#: logsrvd/sendlog.c:140 +msgid "do not verify server certificate" +msgstr "" + +#: logsrvd/sendlog.c:143 +msgid "port to use when connecting to host" +msgstr "" + +#: logsrvd/sendlog.c:145 +msgid "restart previous I/O log transfer" +msgstr "" + +#: logsrvd/sendlog.c:147 +msgid "reject the command with the given reason" +msgstr "" + +#: logsrvd/sendlog.c:149 +msgid "stop transfer after reaching this time" +msgstr "" + +#: logsrvd/sendlog.c:151 +msgid "test audit server by sending selected I/O log n times in parallel" +msgstr "" + +#: logsrvd/sendlog.c:176 plugins/sudoers/log_client.c:453 +#, c-format +msgid "unable to look up %s:%s: %s" +msgstr "" + +#: logsrvd/sendlog.c:214 +msgid "unable to get server IP addr" +msgstr "" + +#: logsrvd/sendlog.c:300 plugins/sudoers/sudoreplay.c:871 +#, c-format +msgid "unable to read %s/%s: %s" +msgstr "" + +#: logsrvd/sendlog.c:1020 plugins/sudoers/iolog.c:951 +#: plugins/sudoers/iolog.c:1026 +#, c-format +msgid "unexpected I/O event %d" +msgstr "" + +#: logsrvd/sendlog.c:1073 logsrvd/sendlog.c:1090 logsrvd/sendlog.c:1124 +#: plugins/sudoers/log_client.c:1118 plugins/sudoers/log_client.c:1395 +#: plugins/sudoers/log_client.c:1463 plugins/sudoers/log_client.c:1502 +#, c-format +msgid "%s: unexpected state %d" +msgstr "" + +#: logsrvd/sendlog.c:1160 plugins/sudoers/log_client.c:1551 +#, c-format +msgid "error message received from server: %s" +msgstr "" + +#: logsrvd/sendlog.c:1173 plugins/sudoers/log_client.c:1564 +#, c-format +msgid "abort message received from server: %s" +msgstr "" + +#: logsrvd/sendlog.c:1232 plugins/sudoers/log_client.c:1614 +#, c-format +msgid "%s: unexpected type_case value %d" +msgstr "" + +#: logsrvd/sendlog.c:1261 +msgid "timeout reading from server" +msgstr "" + +#: logsrvd/sendlog.c:1310 plugins/sudoers/log_client.c:1730 +msgid "host name does not match certificate" +msgstr "" + +#: logsrvd/sendlog.c:1343 +msgid "premature EOF" +msgstr "" + +#: logsrvd/sendlog.c:1356 plugins/sudoers/log_client.c:1777 +#, c-format +msgid "server message too large: %u" +msgstr "" + +#: logsrvd/sendlog.c:1412 +msgid "timeout writing to server" +msgstr "" + +#: logsrvd/sendlog.c:1779 +msgid "both restart point and iolog ID must be specified" +msgstr "" + +#: logsrvd/sendlog.c:1783 +msgid "a restart point may not be set when no I/O is sent" +msgstr "" + +#: logsrvd/sendlog.c:1859 +#, c-format +msgid "exited prematurely with state %d" +msgstr "" + +#: logsrvd/sendlog.c:1860 +#, c-format +msgid "elapsed time sent to server [%lld, %ld]" +msgstr "" + +#: logsrvd/sendlog.c:1862 +#, c-format +msgid "commit point received from server [%lld, %ld]" +msgstr "" + +#: logsrvd/tls_client.c:111 plugins/sudoers/log_client.c:315 +msgid "TLS handshake timeout occurred" +msgstr "" + +#: logsrvd/tls_client.c:131 logsrvd/tls_client.c:147 +#: plugins/sudoers/log_client.c:337 plugins/sudoers/log_client.c:353 +msgid "unable to set event" +msgstr "" + +#: logsrvd/tls_client.c:157 logsrvd/tls_client.c:161 +#, c-format +msgid "TLS connection failed: %s" +msgstr "" + +#: logsrvd/tls_client.c:196 +#, c-format +msgid "unable to allocate ssl object: %s" +msgstr "" + +#: logsrvd/tls_client.c:210 +#, c-format +msgid "Unable to attach socket to the ssl object: %s" +msgstr "" + +#: logsrvd/tls_client.c:238 +msgid "unable to initialize TLS context" +msgstr "" + +#: logsrvd/tls_init.c:138 logsrvd/tls_init.c:146 +#, c-format +msgid "unable to set TLS 1.2 ciphersuite to %s: %s" +msgstr "" + +#: logsrvd/tls_init.c:166 logsrvd/tls_init.c:174 +#, c-format +msgid "unable to set TLS 1.3 ciphersuite to %s: %s" +msgstr "" + +#: logsrvd/tls_init.c:206 logsrvd/tls_init.c:227 +#, c-format +msgid "unable to set diffie-hellman parameters: %s" +msgstr "" + +#: logsrvd/tls_init.c:283 +#, c-format +msgid "unable to create TLS context: %s" +msgstr "" + +#: logsrvd/tls_init.c:290 +#, c-format +msgid "unable to set minimum protocol version to TLS 1.2: %s" +msgstr "" + +#: plugins/sudoers/audit.c:269 plugins/sudoers/audit.c:429 +#: plugins/sudoers/log_client.c:951 plugins/sudoers/log_client.c:1000 +#: plugins/sudoers/log_client.c:1049 plugins/sudoers/log_client.c:1175 +#: plugins/sudoers/logging.c:591 plugins/sudoers/logging.c:689 +#: plugins/sudoers/logging.c:792 plugins/sudoers/logging.c:983 +#: plugins/sudoers/policy.c:124 +msgid "unable to get time of day" +msgstr "" + +#: plugins/sudoers/auth/aix_auth.c:280 +#, c-format +msgid "unable to change password for %s" +msgstr "" + +#: plugins/sudoers/auth/bsdauth.c:74 +#, c-format +msgid "unable to get login class for user %s" +msgstr "" + +#: plugins/sudoers/auth/bsdauth.c:79 +msgid "unable to begin bsd authentication" +msgstr "" + +#: plugins/sudoers/auth/bsdauth.c:87 +msgid "invalid authentication type" +msgstr "" + +#: plugins/sudoers/auth/bsdauth.c:96 +msgid "unable to initialize BSD authentication" +msgstr "" + +#: plugins/sudoers/auth/bsdauth.c:186 +msgid "your account has expired" +msgstr "" + +#: plugins/sudoers/auth/bsdauth.c:188 +msgid "approval failed" +msgstr "" + +#: plugins/sudoers/auth/fwtk.c:61 +msgid "unable to read fwtk config" +msgstr "" + +#: plugins/sudoers/auth/fwtk.c:66 +msgid "unable to connect to authentication server" +msgstr "" + +#: plugins/sudoers/auth/fwtk.c:72 plugins/sudoers/auth/fwtk.c:97 +#: plugins/sudoers/auth/fwtk.c:129 +msgid "lost connection to authentication server" +msgstr "" + +#: plugins/sudoers/auth/fwtk.c:76 +#, c-format +msgid "" +"authentication server error:\n" +"%s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:115 +#, c-format +msgid "%s: unable to convert principal to string ('%s'): %s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:164 +#, c-format +msgid "%s: unable to parse '%s': %s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:173 +#, c-format +msgid "%s: unable to resolve credential cache: %s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:222 +#, c-format +msgid "%s: unable to allocate options: %s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:237 +#, c-format +msgid "%s: unable to get credentials: %s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:250 +#, c-format +msgid "%s: unable to initialize credential cache: %s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:253 +#, c-format +msgid "%s: unable to store credential in cache: %s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:317 +#, c-format +msgid "%s: unable to get host principal: %s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:331 +#, c-format +msgid "%s: Cannot verify TGT! Possible attack!: %s" +msgstr "" + +#: plugins/sudoers/auth/pam.c:224 +#, c-format +msgid "unable to initialize PAM: %s" +msgstr "" + +#: plugins/sudoers/auth/pam.c:337 +#, c-format +msgid "PAM authentication error: %s" +msgstr "" + +#: plugins/sudoers/auth/pam.c:356 +msgid "account validation failure, is your account locked?" +msgstr "" + +#: plugins/sudoers/auth/pam.c:367 +msgid "Account or password is expired, reset your password and try again" +msgstr "" + +#: plugins/sudoers/auth/pam.c:373 +#, c-format +msgid "unable to change expired password: %s" +msgstr "" + +#: plugins/sudoers/auth/pam.c:384 +msgid "Password expired, contact your system administrator" +msgstr "" + +#: plugins/sudoers/auth/pam.c:389 +msgid "Account expired or PAM config lacks an \"account\" section for sudo, contact your system administrator" +msgstr "" + +#: plugins/sudoers/auth/pam.c:397 plugins/sudoers/auth/pam.c:402 +#, c-format +msgid "PAM account management error: %s" +msgstr "" + +#: plugins/sudoers/auth/rfc1938.c:99 plugins/sudoers/visudo.c:271 +#, c-format +msgid "you do not exist in the %s database" +msgstr "ბაზაში \"%s\" თქვენ არ არსებობთ" + +#: plugins/sudoers/auth/securid5.c:75 +msgid "failed to initialise the ACE API library" +msgstr "" + +#: plugins/sudoers/auth/securid5.c:106 +msgid "unable to contact the SecurID server" +msgstr "" + +#: plugins/sudoers/auth/securid5.c:115 +msgid "User ID locked for SecurID Authentication" +msgstr "" + +#: plugins/sudoers/auth/securid5.c:119 plugins/sudoers/auth/securid5.c:170 +msgid "invalid username length for SecurID" +msgstr "" + +#: plugins/sudoers/auth/securid5.c:123 plugins/sudoers/auth/securid5.c:175 +msgid "invalid Authentication Handle for SecurID" +msgstr "" + +#: plugins/sudoers/auth/securid5.c:127 +msgid "SecurID communication failed" +msgstr "" + +#: plugins/sudoers/auth/securid5.c:131 plugins/sudoers/auth/securid5.c:218 +msgid "unknown SecurID error" +msgstr "" + +#: plugins/sudoers/auth/securid5.c:165 +msgid "invalid passcode length for SecurID" +msgstr "" + +#: plugins/sudoers/auth/sia.c:69 plugins/sudoers/auth/sia.c:126 +msgid "unable to initialize SIA session" +msgstr "" + +#: plugins/sudoers/auth/sudo_auth.c:135 +msgid "invalid authentication methods" +msgstr "" + +#: plugins/sudoers/auth/sudo_auth.c:137 +msgid "Invalid authentication methods compiled into sudo! You may not mix standalone and non-standalone authentication." +msgstr "" + +#: plugins/sudoers/auth/sudo_auth.c:258 plugins/sudoers/auth/sudo_auth.c:310 +msgid "no authentication methods" +msgstr "" + +#: plugins/sudoers/auth/sudo_auth.c:260 +msgid "There are no authentication methods compiled into sudo! If you want to turn off authentication, use the --disable-authentication configure option." +msgstr "" + +#: plugins/sudoers/auth/sudo_auth.c:312 +msgid "Unable to initialize authentication methods." +msgstr "" + +#: plugins/sudoers/auth/sudo_auth.c:486 +msgid "Authentication methods:" +msgstr "" + +#: plugins/sudoers/bsm_audit.c:123 plugins/sudoers/bsm_audit.c:214 +msgid "Could not determine audit condition" +msgstr "" + +#: plugins/sudoers/bsm_audit.c:188 plugins/sudoers/bsm_audit.c:277 +msgid "unable to commit audit record" +msgstr "" + +#: plugins/sudoers/check.c:285 +#, c-format +msgid "error reading lecture file %s" +msgstr "" + +#: plugins/sudoers/check.c:288 +#, c-format +msgid "ignoring lecture file %s: not a regular file" +msgstr "" + +#: plugins/sudoers/check.c:301 +msgid "" +"\n" +"We trust you have received the usual lecture from the local System\n" +"Administrator. It usually boils down to these three things:\n" +"\n" +" #1) Respect the privacy of others.\n" +" #2) Think before you type.\n" +" #3) With great power comes great responsibility.\n" +"\n" +msgstr "" + +#: plugins/sudoers/check.c:348 plugins/sudoers/check.c:358 +#: plugins/sudoers/parse.c:64 plugins/sudoers/sudoers.c:920 +#: plugins/sudoers/sudoers.c:941 plugins/sudoers/tsdump.c:119 +#, c-format +msgid "unknown uid %u" +msgstr "" + +#: plugins/sudoers/check_aliases.c:99 plugins/sudoers/defaults.c:1279 +#, c-format +msgid "%s: %s\n" +msgstr "%s: %s\n" + +#: plugins/sudoers/check_aliases.c:133 +#, c-format +msgid "cycle in %s \"%s\"" +msgstr "" + +#: plugins/sudoers/check_aliases.c:136 +#, c-format +msgid "%s \"%s\" referenced but not defined" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:209 +#, c-format +msgid "order increment: %s: %s" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:228 +#, c-format +msgid "starting order: %s: %s" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:238 +#, c-format +msgid "order padding: %s: %s" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:248 plugins/sudoers/visudo.c:184 +#, c-format +msgid "%s grammar version %d\n" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:277 plugins/sudoers/testsudoers.c:159 +#, c-format +msgid "unsupported input format %s" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:295 +#, c-format +msgid "unsupported output format %s" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:385 +#, c-format +msgid "%s: input and output files must be different" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:399 plugins/sudoers/sudoers.c:166 +#: plugins/sudoers/sudoers.c:222 plugins/sudoers/testsudoers.c:254 +#: plugins/sudoers/visudo.c:280 plugins/sudoers/visudo.c:650 +#: plugins/sudoers/visudo.c:975 +msgid "unable to initialize sudoers default values" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:525 plugins/sudoers/ldap_conf.c:434 +#, c-format +msgid "%s: %s: %s: %s" +msgstr "%s: %s: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:584 +#, c-format +msgid "%s: unknown key word %s" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:630 +#, c-format +msgid "invalid defaults type: %s" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:653 +#, c-format +msgid "invalid suppression type: %s" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:694 plugins/sudoers/cvtsudoers.c:710 +#, c-format +msgid "invalid filter: %s" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:754 plugins/sudoers/visudo.c:980 +#, c-format +msgid "failed to parse %s file, unknown error" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:1478 plugins/sudoers/sudoreplay.c:1145 +#: plugins/sudoers/timestamp.c:343 plugins/sudoers/timestamp.c:346 +#, c-format +msgid "unable to write to %s" +msgstr "%s-ში ჩაწერა შეუძლებელია" + +#: plugins/sudoers/cvtsudoers.c:1506 +#, c-format +msgid "" +"%s - convert between sudoers file formats\n" +"\n" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:1508 +msgid "" +"\n" +"Options:\n" +" -b, --base=dn the base DN for sudo LDAP queries\n" +" -c, --config=conf_file the path to the configuration file\n" +" -d, --defaults=deftypes only convert Defaults of the specified types\n" +" -e, --expand-aliases expand aliases when converting\n" +" -f, --output-format=format set output format: JSON, LDIF or sudoers\n" +" -i, --input-format=format set input format: LDIF or sudoers\n" +" -I, --increment=num amount to increase each sudoOrder by\n" +" -h, --help display help message and exit\n" +" -m, --match=filter only convert entries that match the filter\n" +" -M, --match-local match filter uses passwd and group databases\n" +" -o, --output=output_file write converted sudoers to output_file\n" +" -O, --order-start=num starting point for first sudoOrder\n" +" -p, --prune-matches prune non-matching users, groups and hosts\n" +" -P, --padding=num base padding for sudoOrder increment\n" +" -s, --suppress=sections suppress output of certain sections\n" +" -V, --version display version information and exit" +msgstr "" + +#: plugins/sudoers/cvtsudoers_csv.c:452 plugins/sudoers/cvtsudoers_csv.c:466 +#: plugins/sudoers/cvtsudoers_json.c:657 plugins/sudoers/cvtsudoers_json.c:672 +#: plugins/sudoers/cvtsudoers_ldif.c:347 plugins/sudoers/cvtsudoers_ldif.c:360 +#: plugins/sudoers/ldap.c:510 +msgid "unable to get GMT time" +msgstr "" + +#: plugins/sudoers/cvtsudoers_csv.c:457 plugins/sudoers/cvtsudoers_csv.c:471 +#: plugins/sudoers/cvtsudoers_json.c:662 plugins/sudoers/cvtsudoers_json.c:677 +#: plugins/sudoers/cvtsudoers_ldif.c:352 plugins/sudoers/cvtsudoers_ldif.c:365 +#: plugins/sudoers/ldap.c:518 +msgid "unable to format timestamp" +msgstr "" + +#: plugins/sudoers/cvtsudoers_json.c:480 plugins/sudoers/cvtsudoers_json.c:515 +#: plugins/sudoers/cvtsudoers_json.c:728 +#, c-format +msgid "%s:%d:%d: unknown defaults entry \"%s\"" +msgstr "" + +#: plugins/sudoers/cvtsudoers_ldif.c:661 +#, c-format +msgid "too many sudoers entries, maximum %u" +msgstr "" + +#: plugins/sudoers/cvtsudoers_ldif.c:704 +msgid "the SUDOERS_BASE environment variable is not set and the -b option was not specified." +msgstr "" + +#: plugins/sudoers/cvtsudoers_merge.c:273 +#: plugins/sudoers/cvtsudoers_merge.c:309 +#, c-format +msgid "%s:%d:%d: converting host list to ALL" +msgstr "" + +#: plugins/sudoers/cvtsudoers_merge.c:545 +#, c-format +msgid "unable to find alias %s" +msgstr "" + +#: plugins/sudoers/cvtsudoers_merge.c:548 +#, c-format +msgid "%s:%d:%d: renaming alias %s to %s" +msgstr "" + +#: plugins/sudoers/cvtsudoers_merge.c:605 +#, c-format +msgid "%s:%d:%d: removing duplicate alias %s" +msgstr "" + +#: plugins/sudoers/cvtsudoers_merge.c:830 +#, c-format +msgid "%s:%d:%d: conflicting Defaults entry \"%s\" host-specific in %s:%d:%d" +msgstr "" + +#: plugins/sudoers/cvtsudoers_merge.c:864 +#, c-format +msgid "%s:%d:%d: made Defaults \"%s\" specific to host %s" +msgstr "" + +#: plugins/sudoers/cvtsudoers_merge.c:882 +#, c-format +msgid "%s:%d:%d: unable to make Defaults \"%s\" host-specific" +msgstr "" + +#: plugins/sudoers/cvtsudoers_merge.c:892 +#, c-format +msgid "%s:%d:%d: removing Defaults \"%s\" overridden by subsequent entries" +msgstr "" + +#: plugins/sudoers/cvtsudoers_merge.c:1088 +#, c-format +msgid "%s:%d:%d: merging userspec into %s:%d:%d" +msgstr "" + +#: plugins/sudoers/cvtsudoers_merge.c:1182 +#, c-format +msgid "%s:%d:%d: removing userspec overridden by subsequent entries" +msgstr "" + +#: plugins/sudoers/def_data.c:56 +#, c-format +msgid "Syslog facility if syslog is being used for logging: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:60 +#, c-format +msgid "Syslog priority to use when user authenticates successfully: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:64 +#, c-format +msgid "Syslog priority to use when user authenticates unsuccessfully: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:68 +msgid "Put OTP prompt on its own line" +msgstr "" + +#: plugins/sudoers/def_data.c:72 +msgid "Ignore '.' in $PATH" +msgstr "" + +#: plugins/sudoers/def_data.c:76 +msgid "Always send mail when sudo is run" +msgstr "" + +#: plugins/sudoers/def_data.c:80 +msgid "Send mail if user authentication fails" +msgstr "" + +#: plugins/sudoers/def_data.c:84 +msgid "Send mail if the user is not in sudoers" +msgstr "" + +#: plugins/sudoers/def_data.c:88 +msgid "Send mail if the user is not in sudoers for this host" +msgstr "" + +#: plugins/sudoers/def_data.c:92 +msgid "Send mail if the user is not allowed to run a command" +msgstr "" + +#: plugins/sudoers/def_data.c:96 +msgid "Send mail if the user tries to run a command" +msgstr "" + +#: plugins/sudoers/def_data.c:100 +msgid "Use a separate timestamp for each user/tty combo" +msgstr "" + +#: plugins/sudoers/def_data.c:104 +msgid "Lecture user the first time they run sudo" +msgstr "" + +#: plugins/sudoers/def_data.c:108 +#, c-format +msgid "File containing the sudo lecture: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:112 +msgid "Require users to authenticate by default" +msgstr "" + +#: plugins/sudoers/def_data.c:116 +msgid "Root may run sudo" +msgstr "" + +#: plugins/sudoers/def_data.c:120 +msgid "Log the hostname in the (non-syslog) log file" +msgstr "" + +#: plugins/sudoers/def_data.c:124 +msgid "Log the year in the (non-syslog) log file" +msgstr "" + +#: plugins/sudoers/def_data.c:128 +msgid "If sudo is invoked with no arguments, start a shell" +msgstr "" + +#: plugins/sudoers/def_data.c:132 +msgid "Set $HOME to the target user when starting a shell with -s" +msgstr "" + +#: plugins/sudoers/def_data.c:136 +msgid "Always set $HOME to the target user's home directory" +msgstr "" + +#: plugins/sudoers/def_data.c:140 +msgid "Allow some information gathering to give useful error messages" +msgstr "" + +#: plugins/sudoers/def_data.c:144 +msgid "Require fully-qualified hostnames in the sudoers file" +msgstr "" + +#: plugins/sudoers/def_data.c:148 +msgid "Insult the user when they enter an incorrect password" +msgstr "" + +#: plugins/sudoers/def_data.c:152 +msgid "Only allow the user to run sudo if they have a tty" +msgstr "" + +#: plugins/sudoers/def_data.c:156 +msgid "Visudo will honor the EDITOR environment variable" +msgstr "" + +#: plugins/sudoers/def_data.c:160 +msgid "Prompt for root's password, not the users's" +msgstr "" + +#: plugins/sudoers/def_data.c:164 +msgid "Prompt for the runas_default user's password, not the users's" +msgstr "" + +#: plugins/sudoers/def_data.c:168 +msgid "Prompt for the target user's password, not the users's" +msgstr "" + +#: plugins/sudoers/def_data.c:172 +msgid "Apply defaults in the target user's login class if there is one" +msgstr "" + +#: plugins/sudoers/def_data.c:176 +msgid "Set the LOGNAME and USER environment variables" +msgstr "" + +#: plugins/sudoers/def_data.c:180 +msgid "Only set the effective uid to the target user, not the real uid" +msgstr "" + +#: plugins/sudoers/def_data.c:184 +msgid "Don't initialize the group vector to that of the target user" +msgstr "" + +#: plugins/sudoers/def_data.c:188 +#, c-format +msgid "Length at which to wrap log file lines (0 for no wrap): %u" +msgstr "" + +#: plugins/sudoers/def_data.c:192 +#, c-format +msgid "Authentication timestamp timeout: %.1f minutes" +msgstr "" + +#: plugins/sudoers/def_data.c:196 +#, c-format +msgid "Password prompt timeout: %.1f minutes" +msgstr "" + +#: plugins/sudoers/def_data.c:200 +#, c-format +msgid "Number of tries to enter a password: %u" +msgstr "" + +#: plugins/sudoers/def_data.c:204 +#, c-format +msgid "Umask to use or 0777 to use user's: 0%o" +msgstr "" + +#: plugins/sudoers/def_data.c:208 +#, c-format +msgid "Path to log file: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:212 +#, c-format +msgid "Path to mail program: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:216 +#, c-format +msgid "Flags for mail program: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:220 +#, c-format +msgid "Address to send mail to: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:224 +#, c-format +msgid "Address to send mail from: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:228 +#, c-format +msgid "Subject line for mail messages: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:232 +#, c-format +msgid "Incorrect password message: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:236 +#, c-format +msgid "Path to lecture status dir: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:240 +#, c-format +msgid "Path to authentication timestamp dir: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:244 +#, c-format +msgid "Owner of the authentication timestamp dir: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:248 +#, c-format +msgid "Users in this group are exempt from password and PATH requirements: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:252 +#, c-format +msgid "Default password prompt: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:256 +msgid "If set, passprompt will override system prompt in all cases." +msgstr "" + +#: plugins/sudoers/def_data.c:260 +#, c-format +msgid "Default user to run commands as: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:264 +#, c-format +msgid "Value to override user's $PATH with: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:268 +#, c-format +msgid "Path to the editor for use by visudo: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:272 +#, c-format +msgid "When to require a password for 'list' pseudocommand: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:276 +#, c-format +msgid "When to require a password for 'verify' pseudocommand: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:280 +msgid "Preload the sudo_noexec library which replaces the exec functions" +msgstr "" + +#: plugins/sudoers/def_data.c:284 +msgid "If LDAP directory is up, do we ignore local sudoers file" +msgstr "" + +#: plugins/sudoers/def_data.c:288 +#, c-format +msgid "File descriptors >= %d will be closed before executing a command" +msgstr "" + +#: plugins/sudoers/def_data.c:292 +msgid "If set, users may override the value of \"closefrom\" with the -C option" +msgstr "" + +#: plugins/sudoers/def_data.c:296 +msgid "Allow users to set arbitrary environment variables" +msgstr "" + +#: plugins/sudoers/def_data.c:300 +msgid "Reset the environment to a default set of variables" +msgstr "" + +#: plugins/sudoers/def_data.c:304 +msgid "Environment variables to check for safety:" +msgstr "" + +#: plugins/sudoers/def_data.c:308 +msgid "Environment variables to remove:" +msgstr "" + +#: plugins/sudoers/def_data.c:312 +msgid "Environment variables to preserve:" +msgstr "" + +#: plugins/sudoers/def_data.c:316 +#, c-format +msgid "SELinux role to use in the new security context: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:320 +#, c-format +msgid "SELinux type to use in the new security context: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:324 +#, c-format +msgid "Path to the sudo-specific environment file: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:328 +#, c-format +msgid "Path to the restricted sudo-specific environment file: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:332 +#, c-format +msgid "Locale to use while parsing sudoers: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:336 +msgid "Allow sudo to prompt for a password even if it would be visible" +msgstr "" + +#: plugins/sudoers/def_data.c:340 +msgid "Provide visual feedback at the password prompt when there is user input" +msgstr "" + +#: plugins/sudoers/def_data.c:344 +msgid "Use faster globbing that is less accurate but does not access the filesystem" +msgstr "" + +#: plugins/sudoers/def_data.c:348 +msgid "The umask specified in sudoers will override the user's, even if it is more permissive" +msgstr "" + +#: plugins/sudoers/def_data.c:352 +msgid "Log user's input for the command being run" +msgstr "" + +#: plugins/sudoers/def_data.c:356 +msgid "Log the command's standard input if not connected to a terminal" +msgstr "" + +#: plugins/sudoers/def_data.c:360 +msgid "Log the user's terminal input for the command being run" +msgstr "" + +#: plugins/sudoers/def_data.c:364 +msgid "Log the output of the command being run" +msgstr "" + +#: plugins/sudoers/def_data.c:368 +msgid "Log the command's standard output if not connected to a terminal" +msgstr "" + +#: plugins/sudoers/def_data.c:372 +msgid "Log the command's standard error if not connected to a terminal" +msgstr "" + +#: plugins/sudoers/def_data.c:376 +msgid "Log the terminal output of the command being run" +msgstr "" + +#: plugins/sudoers/def_data.c:380 +msgid "Compress I/O logs using zlib" +msgstr "" + +#: plugins/sudoers/def_data.c:384 +msgid "Always run commands in a pseudo-tty" +msgstr "" + +#: plugins/sudoers/def_data.c:388 +#, c-format +msgid "Plugin for non-Unix group support: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:392 +#, c-format +msgid "Directory in which to store input/output logs: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:396 +#, c-format +msgid "File in which to store the input/output log: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:400 +msgid "Add an entry to the utmp/utmpx file when allocating a pty" +msgstr "" + +#: plugins/sudoers/def_data.c:404 +msgid "Set the user in utmp to the runas user, not the invoking user" +msgstr "" + +#: plugins/sudoers/def_data.c:408 +#, c-format +msgid "Set of permitted privileges: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:412 +#, c-format +msgid "Set of limit privileges: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:416 +msgid "Run commands on a pty in the background" +msgstr "" + +#: plugins/sudoers/def_data.c:420 +#, c-format +msgid "PAM service name to use: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:424 +#, c-format +msgid "PAM service name to use for login shells: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:428 +#, c-format +msgid "PAM service name to use when sudo is run with the -A option: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:432 +msgid "Attempt to establish PAM credentials for the target user" +msgstr "" + +#: plugins/sudoers/def_data.c:436 +msgid "Create a new PAM session for the command to run in" +msgstr "" + +#: plugins/sudoers/def_data.c:440 +msgid "Perform PAM account validation management" +msgstr "" + +#: plugins/sudoers/def_data.c:444 +#, c-format +msgid "Maximum I/O log sequence number: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:448 +msgid "Enable sudoers netgroup support" +msgstr "" + +#: plugins/sudoers/def_data.c:452 +msgid "Check parent directories for writability when editing files with sudoedit" +msgstr "" + +#: plugins/sudoers/def_data.c:456 +msgid "Follow symbolic links when editing files with sudoedit" +msgstr "" + +#: plugins/sudoers/def_data.c:460 +msgid "Query the group plugin for unknown system groups" +msgstr "" + +#: plugins/sudoers/def_data.c:464 +msgid "Match netgroups based on the entire tuple: user, host and domain" +msgstr "" + +#: plugins/sudoers/def_data.c:468 +msgid "Allow commands to be run even if sudo cannot write to the audit log" +msgstr "" + +#: plugins/sudoers/def_data.c:472 +msgid "Allow commands to be run even if sudo cannot write to the I/O log" +msgstr "" + +#: plugins/sudoers/def_data.c:476 +msgid "Allow commands to be run even if sudo cannot write to the log file" +msgstr "" + +#: plugins/sudoers/def_data.c:480 +msgid "Resolve groups in sudoers and match on the group ID, not the name" +msgstr "" + +#: plugins/sudoers/def_data.c:484 +#, c-format +msgid "Log entries larger than this value will be split into multiple syslog messages: %u" +msgstr "" + +#: plugins/sudoers/def_data.c:488 +#, c-format +msgid "User that will own the I/O log files: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:492 +#, c-format +msgid "Group that will own the I/O log files: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:496 +#, c-format +msgid "File mode to use for the I/O log files: 0%o" +msgstr "" + +#: plugins/sudoers/def_data.c:500 +#, c-format +msgid "Execute commands by file descriptor instead of by path: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:504 +msgid "Ignore unknown Defaults entries in sudoers instead of producing a warning" +msgstr "" + +#: plugins/sudoers/def_data.c:508 +#, c-format +msgid "Time in seconds after which the command will be terminated: %u" +msgstr "" + +#: plugins/sudoers/def_data.c:512 +msgid "Allow the user to specify a timeout on the command line" +msgstr "" + +#: plugins/sudoers/def_data.c:516 +msgid "Flush I/O log data to disk immediately instead of buffering it" +msgstr "" + +#: plugins/sudoers/def_data.c:520 +msgid "Include the process ID when logging via syslog" +msgstr "" + +#: plugins/sudoers/def_data.c:524 +#, c-format +msgid "Type of authentication timestamp record: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:528 +#, c-format +msgid "Authentication failure message: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:532 +msgid "Ignore case when matching user names" +msgstr "" + +#: plugins/sudoers/def_data.c:536 +msgid "Ignore case when matching group names" +msgstr "" + +#: plugins/sudoers/def_data.c:540 +msgid "Log when a command is allowed by sudoers" +msgstr "" + +#: plugins/sudoers/def_data.c:544 +msgid "Log when a command is denied by sudoers" +msgstr "" + +#: plugins/sudoers/def_data.c:548 +msgid "Sudo log server(s) to connect to with optional port" +msgstr "" + +#: plugins/sudoers/def_data.c:552 +#, c-format +msgid "Sudo log server timeout in seconds: %u" +msgstr "" + +#: plugins/sudoers/def_data.c:556 +msgid "Enable SO_KEEPALIVE socket option on the socket connected to the logserver" +msgstr "" + +#: plugins/sudoers/def_data.c:560 +#, c-format +msgid "Path to the audit server's CA bundle file: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:564 +#, c-format +msgid "Path to the sudoers certificate file: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:568 +#, c-format +msgid "Path to the sudoers private key file: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:572 +msgid "Verify that the log server's certificate is valid" +msgstr "" + +#: plugins/sudoers/def_data.c:576 +msgid "Allow the use of unknown runas user and/or group ID" +msgstr "" + +#: plugins/sudoers/def_data.c:580 +msgid "Only permit running commands as a user with a valid shell" +msgstr "" + +#: plugins/sudoers/def_data.c:584 +msgid "Set the pam remote user to the user running sudo" +msgstr "" + +#: plugins/sudoers/def_data.c:588 +msgid "Set the pam remote host to the local host name" +msgstr "" + +#: plugins/sudoers/def_data.c:592 +#, c-format +msgid "Working directory to change to before executing the command: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:596 +#, c-format +msgid "Root directory to change to before executing the command: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:600 +#, c-format +msgid "The format of logs to produce: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:604 +msgid "Enable SELinux RBAC support" +msgstr "" + +#: plugins/sudoers/def_data.c:608 +#, c-format +msgid "Path to the file that is created the first time sudo is run: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:612 +msgid "Intercept further commands and apply sudoers restrictions to them" +msgstr "" + +#: plugins/sudoers/def_data.c:616 +msgid "Log sub-commands run by the original command" +msgstr "" + +#: plugins/sudoers/def_data.c:620 +msgid "Log the exit status of commands" +msgstr "" + +#: plugins/sudoers/def_data.c:624 +msgid "Subsequent commands in an intercepted session must be authenticated" +msgstr "" + +#: plugins/sudoers/def_data.c:628 +msgid "Allow an intercepted command to run set setuid or setgid programs" +msgstr "" + +#: plugins/sudoers/def_data.c:632 +#, c-format +msgid "The maximum size to which the process's address space may grow (in bytes): %s" +msgstr "" + +#: plugins/sudoers/def_data.c:636 +#, c-format +msgid "The largest size core dump file that may be created (in bytes): %s" +msgstr "" + +#: plugins/sudoers/def_data.c:640 +#, c-format +msgid "The maximum amount of CPU time that the process may use (in seconds): %s" +msgstr "" + +#: plugins/sudoers/def_data.c:644 +#, c-format +msgid "The maximum size of the data segment for the process (in bytes): %s" +msgstr "" + +#: plugins/sudoers/def_data.c:648 +#, c-format +msgid "The largest size file that the process may create (in bytes): %s" +msgstr "" + +#: plugins/sudoers/def_data.c:652 +#, c-format +msgid "The maximum number of locks that the process may establish: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:656 +#, c-format +msgid "The maximum size that the process may lock in memory (in bytes): %s" +msgstr "" + +#: plugins/sudoers/def_data.c:660 +#, c-format +msgid "The maximum number of files that the process may have open: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:664 +#, c-format +msgid "The maximum number of processes that the user may run simultaneously: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:668 +#, c-format +msgid "The maximum size to which the process's resident set size may grow (in bytes): %s" +msgstr "" + +#: plugins/sudoers/def_data.c:672 +#, c-format +msgid "The maximum size to which the process's stack may grow (in bytes): %s" +msgstr "" + +#: plugins/sudoers/def_data.c:676 +msgid "Attempt authentication even when in non-interactive mode" +msgstr "" + +#: plugins/sudoers/def_data.c:680 +msgid "Store plaintext passwords in I/O log input" +msgstr "" + +#: plugins/sudoers/def_data.c:684 +msgid "List of regular expressions to use when matching a password prompt" +msgstr "" + +#: plugins/sudoers/def_data.c:688 +#, c-format +msgid "The mechanism used by the intercept and log_subcmds options: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:692 +msgid "Attempt to verify the command and arguments after execution" +msgstr "" + +#: plugins/sudoers/def_data.c:696 +#, c-format +msgid "AppArmor profile to use in the new security context: %s" +msgstr "" + +#: plugins/sudoers/defaults.c:191 +#, c-format +msgid "unknown defaults entry \"%s\"" +msgstr "" + +#: plugins/sudoers/defaults.c:234 +#, c-format +msgid "no value specified for \"%s\"" +msgstr "" + +#: plugins/sudoers/defaults.c:243 +#, c-format +msgid "invalid operator \"%c=\" for \"%s\"" +msgstr "" + +#: plugins/sudoers/defaults.c:275 +#, c-format +msgid "option \"%s\" does not take a value" +msgstr "" + +#: plugins/sudoers/defaults.c:299 +#, c-format +msgid "invalid Defaults type 0x%x for option \"%s\"" +msgstr "" + +#: plugins/sudoers/defaults.c:306 +#, c-format +msgid "value \"%s\" is invalid for option \"%s\"" +msgstr "" + +#: plugins/sudoers/defaults.c:1128 plugins/sudoers/policy.c:208 +#: plugins/sudoers/policy.c:217 +#, c-format +msgid "path name for \"%s\" too long" +msgstr "" + +#: plugins/sudoers/defaults.c:1134 +#, c-format +msgid "values for \"%s\" must start with a '/', '~', or '*'" +msgstr "" + +#: plugins/sudoers/defaults.c:1141 +#, c-format +msgid "values for \"%s\" must start with a '/'" +msgstr "" + +#: plugins/sudoers/env.c:426 +msgid "sudo_putenv: corrupted envp, length mismatch" +msgstr "" + +#: plugins/sudoers/env.c:1109 +msgid "unable to rebuild the environment" +msgstr "" + +#: plugins/sudoers/env.c:1183 +#, c-format +msgid "sorry, you are not allowed to set the following environment variables: %s" +msgstr "" + +#: plugins/sudoers/filedigest.c:49 +#, c-format +msgid "unsupported digest type %d for %s" +msgstr "" + +#: plugins/sudoers/filedigest.c:78 +#, c-format +msgid "%s: read error" +msgstr "%s: კითხვის შეცდომა" + +#: plugins/sudoers/group_plugin.c:169 +#, c-format +msgid "%s must be owned by uid %d" +msgstr "%s-ის მფლობლის UID %d უნდა იყოს" + +#: plugins/sudoers/group_plugin.c:173 +#, c-format +msgid "%s must only be writable by owner" +msgstr "" + +#: plugins/sudoers/group_plugin.c:185 plugins/sudoers/sssd.c:576 +#, c-format +msgid "unable to load %s: %s" +msgstr "%s-ის ჩატვირთვის შეცდომა: %s" + +#: plugins/sudoers/group_plugin.c:197 +#, c-format +msgid "unable to find symbol \"group_plugin\" in %s" +msgstr "" + +#: plugins/sudoers/group_plugin.c:202 +#, c-format +msgid "%s: incompatible group plugin major version %d, expected %d" +msgstr "" + +#: plugins/sudoers/interfaces.c:76 plugins/sudoers/interfaces.c:93 +#, c-format +msgid "unable to parse IP address \"%s\"" +msgstr "" + +#: plugins/sudoers/interfaces.c:81 plugins/sudoers/interfaces.c:98 +#, c-format +msgid "unable to parse netmask \"%s\"" +msgstr "" + +#: plugins/sudoers/interfaces.c:126 +msgid "Local IP address and netmask pairs:\n" +msgstr "" + +#: plugins/sudoers/iolog.c:685 +msgid "unable to update sequence file" +msgstr "" + +#: plugins/sudoers/iolog.c:719 plugins/sudoers/iolog.c:909 +#: plugins/sudoers/iolog.c:1071 plugins/sudoers/iolog.c:1078 +#: plugins/sudoers/iolog.c:1199 plugins/sudoers/iolog.c:1206 +#: plugins/sudoers/iolog.c:1305 plugins/sudoers/iolog.c:1312 +#, c-format +msgid "unable to write to I/O log file: %s" +msgstr "" + +#: plugins/sudoers/iolog.c:727 +#, c-format +msgid "unable to create %s/%s" +msgstr "" + +#: plugins/sudoers/iolog.c:957 +#, c-format +msgid "%s: internal error, I/O log file for event %d not open" +msgstr "" + +#: plugins/sudoers/iolog.c:1056 plugins/sudoers/iolog.c:1184 +#: plugins/sudoers/iolog.c:1289 plugins/sudoers/timestamp.c:879 +#: plugins/sudoers/timestamp.c:971 plugins/sudoers/visudo.c:552 +#: plugins/sudoers/visudo.c:558 +msgid "unable to read the clock" +msgstr "საათის წაკითხვის შეცდომა" + +#: plugins/sudoers/iolog.c:1281 plugins/sudoers/log_client.c:1193 +#: plugins/sudoers/log_client.c:1203 plugins/sudoers/log_client.c:1207 +#, c-format +msgid "%s: internal error, invalid signal %d" +msgstr "" + +#: plugins/sudoers/ldap.c:177 plugins/sudoers/ldap_conf.c:292 +msgid "starttls not supported when using ldaps" +msgstr "" + +#: plugins/sudoers/ldap.c:248 +#, c-format +msgid "unable to initialize SSL cert and key db: %s" +msgstr "" + +#: plugins/sudoers/ldap.c:251 +#, c-format +msgid "you must set TLS_CERT in %s to use SSL" +msgstr "" + +#: plugins/sudoers/ldap.c:1712 +#, c-format +msgid "unable to initialize LDAP: %s" +msgstr "" + +#: plugins/sudoers/ldap.c:1749 +msgid "start_tls specified but LDAP libs do not support ldap_start_tls_s() or ldap_start_tls_s_np()" +msgstr "" + +#: plugins/sudoers/ldap.c:1886 plugins/sudoers/parse_ldif.c:748 +#, c-format +msgid "invalid sudoOrder attribute: %s" +msgstr "" + +#: plugins/sudoers/ldap_conf.c:200 +#, c-format +msgid "%s: port too large" +msgstr "" + +#: plugins/sudoers/ldap_conf.c:261 +#, c-format +msgid "unsupported LDAP uri type: %s" +msgstr "" + +#: plugins/sudoers/ldap_conf.c:288 +msgid "unable to mix ldap and ldaps URIs" +msgstr "" + +#: plugins/sudoers/ldap_util.c:499 plugins/sudoers/ldap_util.c:506 +#: plugins/sudoers/ldap_util.c:514 plugins/sudoers/ldap_util.c:523 +#: plugins/sudoers/ldap_util.c:531 plugins/sudoers/ldap_util.c:541 +#: plugins/sudoers/ldap_util.c:549 +#, c-format +msgid "duplicate sudoOption: %s%s%s" +msgstr "" + +#: plugins/sudoers/ldap_util.c:568 plugins/sudoers/ldap_util.c:570 +#, c-format +msgid "unable to convert sudoOption: %s%s%s" +msgstr "" + +#: plugins/sudoers/linux_audit.c:58 plugins/sudoers/linux_audit.c:60 +msgid "unable to open audit system" +msgstr "აუდიტის სისტემის გახსნის შეცდომა" + +#: plugins/sudoers/linux_audit.c:103 +msgid "unable to send audit message" +msgstr "აუდიტის შეტყობინების გაგზავნის შეცდომა" + +#: plugins/sudoers/log_client.c:125 plugins/sudoers/log_client.c:412 +#: plugins/sudoers/log_client.c:1440 plugins/sudoers/log_client.c:2056 +msgid "error in event loop" +msgstr "მოვლენების მარყუჟის შეცდომა" + +#: plugins/sudoers/log_client.c:205 +#, c-format +msgid "Creation of new SSL_CTX object failed: %s" +msgstr "" + +#: plugins/sudoers/log_client.c:230 +#, c-format +msgid "unable to load certificate authority bundle %s" +msgstr "" + +#: plugins/sudoers/log_client.c:252 +#, c-format +msgid "unable to load certificate %s" +msgstr "" + +#: plugins/sudoers/log_client.c:266 +#, c-format +msgid "unable to load private key %s" +msgstr "" + +#: plugins/sudoers/log_client.c:275 +#, c-format +msgid "Unable to allocate ssl object: %s" +msgstr "" + +#: plugins/sudoers/log_client.c:364 plugins/sudoers/log_client.c:369 +#, c-format +msgid "TLS connection to %s:%s failed: %s" +msgstr "" + +#: plugins/sudoers/log_client.c:543 +msgid "TLS initialization was unsuccessful" +msgstr "" + +#: plugins/sudoers/log_client.c:553 +msgid "TLS handshake was unsuccessful" +msgstr "" + +#: plugins/sudoers/log_client.c:1211 +#, c-format +msgid "%s: internal error, invalid exit status %d" +msgstr "" + +#: plugins/sudoers/log_client.c:1740 plugins/sudoers/log_client.c:1764 +msgid "lost connection to log server" +msgstr "" + +#: plugins/sudoers/log_client.c:1841 +msgid "missing write buffer" +msgstr "" + +#: plugins/sudoers/log_client.c:1995 +msgid "unable to connect to log server" +msgstr "" + +#: plugins/sudoers/logging.c:290 +msgid "user NOT in sudoers" +msgstr "" + +#: plugins/sudoers/logging.c:292 +msgid "user NOT authorized on host" +msgstr "" + +#: plugins/sudoers/logging.c:294 +msgid "command not allowed" +msgstr "" + +#: plugins/sudoers/logging.c:315 +#, c-format +msgid "%s is not in the sudoers file.\n" +msgstr "" + +#: plugins/sudoers/logging.c:318 +#, c-format +msgid "%s is not allowed to run sudo on %s.\n" +msgstr "" + +#: plugins/sudoers/logging.c:321 +#, c-format +msgid "Sorry, user %s may not run sudo on %s.\n" +msgstr "" + +#: plugins/sudoers/logging.c:324 +#, c-format +msgid "Sorry, user %s is not allowed to execute '%s%s%s' as %s%s%s on %s.\n" +msgstr "" + +#: plugins/sudoers/logging.c:334 +msgid "This incident has been reported to the administrator.\n" +msgstr "" + +#: plugins/sudoers/logging.c:365 plugins/sudoers/sudoers.c:648 +#: plugins/sudoers/sudoers.c:650 plugins/sudoers/sudoers.c:652 +#: plugins/sudoers/sudoers.c:654 plugins/sudoers/sudoers.c:805 +#: plugins/sudoers/sudoers.c:807 +#, c-format +msgid "%s: command not found" +msgstr "%s: ბრძანება ვერ ვიპოვე" + +#: plugins/sudoers/logging.c:367 plugins/sudoers/sudoers.c:644 +#, c-format +msgid "" +"ignoring \"%s\" found in '.'\n" +"Use \"sudo ./%s\" if this is the \"%s\" you wish to run." +msgstr "" + +#: plugins/sudoers/logging.c:387 +#, c-format +msgid "%u incorrect password attempt" +msgid_plural "%u incorrect password attempts" +msgstr[0] "" +msgstr[1] "" + +#: plugins/sudoers/logging.c:477 +msgid "authentication failure" +msgstr "" + +#: plugins/sudoers/logging.c:516 plugins/sudoers/logging.c:535 +msgid "a password is required" +msgstr "" + +#: plugins/sudoers/logging.c:799 plugins/sudoers/logging.c:811 +msgid "problem parsing sudoers" +msgstr "" + +#: plugins/sudoers/logging.c:873 plugins/sudoers/logging.c:885 +#, c-format +msgid "%s:%d:%d: %s" +msgstr "%s:%d:%d: %s" + +#: plugins/sudoers/logging.c:1062 +#, c-format +msgid "unable to write log file: %s" +msgstr "" + +#: plugins/sudoers/match_digest.c:112 +#, c-format +msgid "digest for %s (%s) bad length %zu, expected %zu" +msgstr "" + +#: plugins/sudoers/match_digest.c:131 +#, c-format +msgid "digest for %s (%s) is not in %s form" +msgstr "" + +#: plugins/sudoers/parse.c:591 +#, c-format +msgid "" +"\n" +"LDAP Role: %s\n" +msgstr "" + +#: plugins/sudoers/parse.c:594 +msgid "" +"\n" +"Sudoers entry:\n" +msgstr "" + +#: plugins/sudoers/parse.c:596 +msgid " RunAsUsers: " +msgstr "" + +#: plugins/sudoers/parse.c:611 +msgid " RunAsGroups: " +msgstr "" + +#: plugins/sudoers/parse.c:621 +msgid " Options: " +msgstr "" + +#: plugins/sudoers/parse.c:685 +msgid " Commands:\n" +msgstr " ბრძანებები:\n" + +#: plugins/sudoers/parse.c:876 +#, c-format +msgid "Matching Defaults entries for %s on %s:\n" +msgstr "" + +#: plugins/sudoers/parse.c:894 +#, c-format +msgid "Runas and Command-specific defaults for %s:\n" +msgstr "" + +#: plugins/sudoers/parse.c:912 +#, c-format +msgid "User %s may run the following commands on %s:\n" +msgstr "" + +#: plugins/sudoers/parse.c:927 +#, c-format +msgid "User %s is not allowed to run sudo on %s.\n" +msgstr "" + +#: plugins/sudoers/parse_ldif.c:618 +#, c-format +msgid "ignoring incomplete sudoRole: cn: %s" +msgstr "" + +#: plugins/sudoers/parse_ldif.c:678 +#, c-format +msgid "invalid LDIF attribute: %s" +msgstr "" + +#: plugins/sudoers/policy.c:81 plugins/sudoers/policy.c:112 +#, c-format +msgid "invalid %.*s set by sudo front-end" +msgstr "" + +#: plugins/sudoers/policy.c:358 plugins/sudoers/testsudoers.c:268 +msgid "unable to parse network address list" +msgstr "" + +#: plugins/sudoers/policy.c:526 +msgid "user name not set by sudo front-end" +msgstr "" + +#: plugins/sudoers/policy.c:530 +msgid "user-ID not set by sudo front-end" +msgstr "" + +#: plugins/sudoers/policy.c:534 +msgid "group-ID not set by sudo front-end" +msgstr "" + +#: plugins/sudoers/policy.c:538 +msgid "host name not set by sudo front-end" +msgstr "" + +#: plugins/sudoers/policy.c:730 +#, c-format +msgid "invalid working directory: %s" +msgstr "" + +#: plugins/sudoers/policy.c:914 +#, c-format +msgid "invalid chroot directory: %s" +msgstr "" + +#: plugins/sudoers/policy.c:1101 plugins/sudoers/visudo.c:259 +#: plugins/sudoers/visudo.c:902 +#, c-format +msgid "unable to execute %s" +msgstr "%s-ის გაშვების შეცდომა" + +#: plugins/sudoers/policy.c:1171 plugins/sudoers/policy.c:1208 +#: plugins/sudoers/policy.c:1230 plugins/sudoers/policy.c:1256 +#, c-format +msgid "%s: invalid mode flags from sudo front end: 0x%x" +msgstr "" + +#: plugins/sudoers/policy.c:1292 +#, c-format +msgid "Sudoers policy plugin version %s\n" +msgstr "" + +#: plugins/sudoers/policy.c:1294 +#, c-format +msgid "Sudoers file grammar version %d\n" +msgstr "" + +#: plugins/sudoers/policy.c:1298 +#, c-format +msgid "" +"\n" +"Sudoers path: %s\n" +msgstr "" + +#: plugins/sudoers/policy.c:1301 +#, c-format +msgid "nsswitch path: %s\n" +msgstr "" + +#: plugins/sudoers/policy.c:1303 +#, c-format +msgid "ldap.conf path: %s\n" +msgstr "" + +#: plugins/sudoers/policy.c:1304 +#, c-format +msgid "ldap.secret path: %s\n" +msgstr "" + +#: plugins/sudoers/policy.c:1337 +#, c-format +msgid "unable to register hook of type %d (version %d.%d)" +msgstr "" + +#: plugins/sudoers/policy.c:1355 +#, c-format +msgid "unable to deregister hook of type %d (version %d.%d)" +msgstr "" + +#: plugins/sudoers/pwutil.c:222 plugins/sudoers/pwutil.c:240 +#, c-format +msgid "unable to cache uid %u" +msgstr "" + +#: plugins/sudoers/pwutil.c:234 +#, c-format +msgid "unable to cache uid %u, already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:294 plugins/sudoers/pwutil.c:312 +#: plugins/sudoers/pwutil.c:375 plugins/sudoers/pwutil.c:420 +#, c-format +msgid "unable to cache user %s" +msgstr "" + +#: plugins/sudoers/pwutil.c:307 +#, c-format +msgid "unable to cache user %s, already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:539 plugins/sudoers/pwutil.c:557 +#, c-format +msgid "unable to cache gid %u" +msgstr "" + +#: plugins/sudoers/pwutil.c:551 +#, c-format +msgid "unable to cache gid %u, already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:605 plugins/sudoers/pwutil.c:623 +#: plugins/sudoers/pwutil.c:684 plugins/sudoers/pwutil.c:733 +#, c-format +msgid "unable to cache group %s" +msgstr "" + +#: plugins/sudoers/pwutil.c:618 +#, c-format +msgid "unable to cache group %s, already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:880 plugins/sudoers/pwutil.c:931 +#: plugins/sudoers/pwutil.c:981 plugins/sudoers/pwutil.c:1033 +#, c-format +msgid "unable to cache group list for %s, already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:886 plugins/sudoers/pwutil.c:936 +#: plugins/sudoers/pwutil.c:987 plugins/sudoers/pwutil.c:1038 +#, c-format +msgid "unable to cache group list for %s" +msgstr "" + +#: plugins/sudoers/pwutil.c:925 +#, c-format +msgid "unable to parse groups for %s" +msgstr "" + +#: plugins/sudoers/pwutil.c:1027 +#, c-format +msgid "unable to parse gids for %s" +msgstr "" + +#: plugins/sudoers/set_perms.c:114 plugins/sudoers/set_perms.c:445 +#: plugins/sudoers/set_perms.c:852 plugins/sudoers/set_perms.c:1162 +#: plugins/sudoers/set_perms.c:1460 +msgid "perm stack overflow" +msgstr "" + +#: plugins/sudoers/set_perms.c:125 plugins/sudoers/set_perms.c:376 +#: plugins/sudoers/set_perms.c:456 plugins/sudoers/set_perms.c:719 +#: plugins/sudoers/set_perms.c:863 plugins/sudoers/set_perms.c:1086 +#: plugins/sudoers/set_perms.c:1173 plugins/sudoers/set_perms.c:1393 +#: plugins/sudoers/set_perms.c:1471 plugins/sudoers/set_perms.c:1562 +msgid "perm stack underflow" +msgstr "" + +#: plugins/sudoers/set_perms.c:185 plugins/sudoers/set_perms.c:503 +#: plugins/sudoers/set_perms.c:1227 plugins/sudoers/set_perms.c:1505 +msgid "unable to change to root gid" +msgstr "" + +#: plugins/sudoers/set_perms.c:276 plugins/sudoers/set_perms.c:600 +#: plugins/sudoers/set_perms.c:995 plugins/sudoers/set_perms.c:1304 +msgid "unable to change to runas gid" +msgstr "" + +#: plugins/sudoers/set_perms.c:281 plugins/sudoers/set_perms.c:605 +#: plugins/sudoers/set_perms.c:1000 plugins/sudoers/set_perms.c:1309 +msgid "unable to set runas group vector" +msgstr "" + +#: plugins/sudoers/set_perms.c:292 plugins/sudoers/set_perms.c:616 +#: plugins/sudoers/set_perms.c:1009 plugins/sudoers/set_perms.c:1318 +msgid "unable to change to runas uid" +msgstr "" + +#: plugins/sudoers/set_perms.c:310 plugins/sudoers/set_perms.c:634 +#: plugins/sudoers/set_perms.c:1025 plugins/sudoers/set_perms.c:1334 +msgid "unable to change to sudoers gid" +msgstr "" + +#: plugins/sudoers/set_perms.c:363 plugins/sudoers/set_perms.c:706 +#: plugins/sudoers/set_perms.c:1073 plugins/sudoers/set_perms.c:1380 +#: plugins/sudoers/set_perms.c:1549 +msgid "too many processes" +msgstr "" + +#: plugins/sudoers/solaris_audit.c:61 +msgid "unable to get current working directory" +msgstr "" + +#: plugins/sudoers/solaris_audit.c:69 +#, c-format +msgid "truncated audit path user_cmnd: %s" +msgstr "" + +#: plugins/sudoers/solaris_audit.c:76 +#, c-format +msgid "truncated audit path argv[0]: %s" +msgstr "" + +#: plugins/sudoers/sssd.c:579 +msgid "unable to initialize SSS source. Is SSSD installed on your machine?" +msgstr "" + +#: plugins/sudoers/sssd.c:587 plugins/sudoers/sssd.c:596 +#: plugins/sudoers/sssd.c:605 plugins/sudoers/sssd.c:614 +#: plugins/sudoers/sssd.c:623 +#, c-format +msgid "unable to find symbol \"%s\" in %s" +msgstr "სიმბოლო \"%s\"-ის %s-ში პოვნა შეუძლებელია" + +#: plugins/sudoers/sudoers.c:263 +#, c-format +msgid "unable to get defaults from %s" +msgstr "" + +#: plugins/sudoers/sudoers.c:270 +msgid "no valid sudoers sources found, quitting" +msgstr "" + +#: plugins/sudoers/sudoers.c:346 +#, c-format +msgid "user not allowed to change root directory to %s" +msgstr "" + +#: plugins/sudoers/sudoers.c:348 +#, c-format +msgid "you are not permitted to use the -R option with %s" +msgstr "" + +#: plugins/sudoers/sudoers.c:373 +#, c-format +msgid "user not allowed to change directory to %s" +msgstr "" + +#: plugins/sudoers/sudoers.c:374 +#, c-format +msgid "you are not permitted to use the -D option with %s" +msgstr "" + +#: plugins/sudoers/sudoers.c:401 +msgid "no command specified" +msgstr "ბრძანება მითითებული არაა" + +#: plugins/sudoers/sudoers.c:426 +msgid "sudoers specifies that root is not allowed to sudo" +msgstr "" + +#: plugins/sudoers/sudoers.c:476 +msgid "user not allowed to override closefrom limit" +msgstr "" + +#: plugins/sudoers/sudoers.c:477 +msgid "you are not permitted to use the -C option" +msgstr "" + +#: plugins/sudoers/sudoers.c:537 +#, c-format +msgid "timestamp owner (%s): No such user" +msgstr "" + +#: plugins/sudoers/sudoers.c:552 +msgid "no tty" +msgstr "" + +#: plugins/sudoers/sudoers.c:553 +msgid "sorry, you must have a tty to run sudo" +msgstr "" + +#: plugins/sudoers/sudoers.c:560 +#, c-format +msgid "invalid shell for user %s: %s" +msgstr "" + +#: plugins/sudoers/sudoers.c:643 +msgid "command in current directory" +msgstr "" + +#: plugins/sudoers/sudoers.c:658 +msgid "\"cd\" is a shell built-in command, it cannot be run directly." +msgstr "" + +#: plugins/sudoers/sudoers.c:660 +msgid "the -s option may be used to run a privileged shell." +msgstr "" + +#: plugins/sudoers/sudoers.c:662 +msgid "the -D option may be used to run a command in a specific directory." +msgstr "" + +#: plugins/sudoers/sudoers.c:671 +msgid "user not allowed to set a command timeout" +msgstr "" + +#: plugins/sudoers/sudoers.c:673 +msgid "sorry, you are not allowed set a command timeout" +msgstr "" + +#: plugins/sudoers/sudoers.c:681 +msgid "user not allowed to preserve the environment" +msgstr "" + +#: plugins/sudoers/sudoers.c:683 +msgid "sorry, you are not allowed to preserve the environment" +msgstr "" + +#: plugins/sudoers/sudoers.c:1073 +msgid "sudoedit doesn't need to be run via sudo" +msgstr "" + +#: plugins/sudoers/sudoers.c:1118 plugins/sudoers/sudoreplay.c:1584 +#: plugins/sudoers/tsdump.c:138 +#, c-format +msgid "unable to read %s" +msgstr "" + +#: plugins/sudoers/sudoers.c:1147 plugins/sudoers/visudo.c:1064 +#, c-format +msgid "%s is not a regular file" +msgstr "%s: არ წარმოადგენს ჩვეულებრივ ფაილს" + +#: plugins/sudoers/sudoers.c:1151 plugins/sudoers/timestamp.c:263 toke.l:1247 +#, c-format +msgid "%s is owned by uid %u, should be %u" +msgstr "%s-ის მფლობლის UID-ია %u. უნდა იყოს %u" + +#: plugins/sudoers/sudoers.c:1155 plugins/sudoers/timestamp.c:270 toke.l:1252 +#, c-format +msgid "%s is world writable" +msgstr "%s ყველას მიერ ჩაწერადია" + +#: plugins/sudoers/sudoers.c:1159 plugins/sudoers/timestamp.c:275 toke.l:1255 +#, c-format +msgid "%s is owned by gid %u, should be %u" +msgstr "" + +#: plugins/sudoers/sudoers.c:1194 +#, c-format +msgid "only root can use \"-c %s\"" +msgstr "" + +#: plugins/sudoers/sudoers.c:1213 +#, c-format +msgid "unknown login class %s" +msgstr "შესვლის უცნობი კლასი: %s" + +#: plugins/sudoers/sudoers.c:1300 plugins/sudoers/sudoers.c:1315 +#, c-format +msgid "unable to resolve host %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:259 +#, c-format +msgid "invalid filter option: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:275 +#, c-format +msgid "invalid max wait: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:298 +#, c-format +msgid "invalid speed factor: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:333 +#, c-format +msgid "invalid time offset %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:342 +#, c-format +msgid "%s/%.2s/%.2s/%.2s: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:347 +#, c-format +msgid "%s/timing: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:375 +#, c-format +msgid "Replaying sudo session: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:637 +msgid "unable to set tty to raw mode" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:688 +msgid "Warning: your terminal is too small to properly replay the log.\n" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:689 +#, c-format +msgid "Log geometry is %d x %d, your terminal's geometry is %d x %d." +msgstr "" + +#: plugins/sudoers/sudoreplay.c:717 +msgid "Replay finished, press any key to restore the terminal." +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1219 plugins/sudoers/sudoreplay.c:1249 +#, c-format +msgid "ambiguous expression \"%s\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1271 +msgid "unmatched ')' in expression" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1275 +#, c-format +msgid "unknown search term \"%s\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1290 +#, c-format +msgid "%s requires an argument" +msgstr "%s არგუმენტი აუცილებელია" + +#: plugins/sudoers/sudoreplay.c:1300 +#, c-format +msgid "could not parse date \"%s\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1309 +msgid "unmatched '(' in expression" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1311 +msgid "illegal trailing \"or\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1313 +msgid "illegal trailing \"!\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1371 +#, c-format +msgid "unknown search type %d" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1650 +#, c-format +msgid "usage: %s [-hnRS] [-d dir] [-m num] [-s num] ID\n" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1652 +#, c-format +msgid "usage: %s [-h] [-d dir] -l [search expression]\n" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1666 +#, c-format +msgid "" +"%s - replay sudo session logs\n" +"\n" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1668 +msgid "" +"\n" +"Options:\n" +" -d, --directory=dir specify directory for session logs\n" +" -f, --filter=filter specify which I/O type(s) to display\n" +" -h, --help display help message and exit\n" +" -l, --list list available session IDs, with optional expression\n" +" -m, --max-wait=num max number of seconds to wait between events\n" +" -n, --non-interactive no prompts, session is sent to the standard output\n" +" -R, --no-resize do not attempt to re-size the terminal\n" +" -S, --suspend-wait wait while the command was suspended\n" +" -s, --speed=num speed up or slow down output\n" +" -V, --version display version information and exit" +msgstr "" + +#: plugins/sudoers/testsudoers.c:344 +msgid "\thost unmatched" +msgstr "" + +#: plugins/sudoers/testsudoers.c:347 +msgid "" +"\n" +"Command allowed" +msgstr "" + +#: plugins/sudoers/testsudoers.c:348 +msgid "" +"\n" +"Command denied" +msgstr "" + +#: plugins/sudoers/testsudoers.c:348 +msgid "" +"\n" +"Command unmatched" +msgstr "" + +#: plugins/sudoers/timestamp.c:354 plugins/sudoers/timestamp.c:693 +#, c-format +msgid "unable to truncate time stamp file to %lld bytes" +msgstr "" + +#: plugins/sudoers/timestamp.c:890 +msgid "ignoring time stamp from the future" +msgstr "" + +#: plugins/sudoers/timestamp.c:913 +#, c-format +msgid "time stamp too far in the future: %20.20s" +msgstr "" + +#: plugins/sudoers/timestamp.c:1042 +#, c-format +msgid "unable to lock time stamp file %s" +msgstr "" + +#: plugins/sudoers/toke_util.c:156 +msgid "sudoedit should not be specified with a path" +msgstr "" + +#: plugins/sudoers/visudo.c:254 +msgid "the -x option will be removed in a future release" +msgstr "" + +#: plugins/sudoers/visudo.c:256 +msgid "please consider using the cvtsudoers utility instead" +msgstr "" + +#: plugins/sudoers/visudo.c:311 plugins/sudoers/visudo.c:698 +#, c-format +msgid "press return to edit %s: " +msgstr "" + +#: plugins/sudoers/visudo.c:326 +#, c-format +msgid "contents of edit session left in %s" +msgstr "ნაპოვნია ჩასწორების სესიის ნარჩენი შემცველობა: %s" + +#: plugins/sudoers/visudo.c:402 +#, c-format +msgid "specified editor (%s) doesn't exist" +msgstr "" + +#: plugins/sudoers/visudo.c:404 +#, c-format +msgid "no editor found (editor path = %s)" +msgstr "" + +#: plugins/sudoers/visudo.c:491 plugins/sudoers/visudo.c:770 +#, c-format +msgid "unable to stat %s" +msgstr "%s-ის აღმოჩენის შეცდომა" + +#: plugins/sudoers/visudo.c:511 plugins/sudoers/visudo.c:519 +msgid "write error" +msgstr "ჩაწერის შეცდომა" + +#: plugins/sudoers/visudo.c:565 +#, c-format +msgid "unable to stat temporary file (%s), %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:572 +#, c-format +msgid "zero length temporary file (%s), %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:578 +#, c-format +msgid "editor (%s) failed, %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:600 +#, c-format +msgid "%s unchanged" +msgstr "%s შეუცვლელია" + +#: plugins/sudoers/visudo.c:645 +#, c-format +msgid "unable to re-open temporary file (%s), %s unchanged." +msgstr "" + +#: plugins/sudoers/visudo.c:658 +#, c-format +msgid "unable to parse temporary file (%s), unknown error" +msgstr "" + +#: plugins/sudoers/visudo.c:744 plugins/sudoers/visudo.c:774 +#: plugins/sudoers/visudo.c:781 +#, c-format +msgid "unable to set (uid, gid) of %s to (%u, %u)" +msgstr "" + +#: plugins/sudoers/visudo.c:809 +#, c-format +msgid "%s and %s not on the same file system, using mv to rename" +msgstr "" + +#: plugins/sudoers/visudo.c:820 +#, c-format +msgid "command failed: '%s %s %s', %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:827 +#, c-format +msgid "error renaming %s, %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:847 +msgid "What now? " +msgstr "ახლა რა ვქნათ? " + +#: plugins/sudoers/visudo.c:861 +msgid "" +"Options are:\n" +" (e)dit sudoers file again\n" +" e(x)it without saving changes to sudoers file\n" +" (Q)uit and save changes to sudoers file (DANGER!)\n" +msgstr "" + +#: plugins/sudoers/visudo.c:907 +#, c-format +msgid "unable to run %s" +msgstr "%s-ის გაშვების შეცდომა" + +#: plugins/sudoers/visudo.c:938 +#, c-format +msgid "%s: wrong owner (uid, gid) should be (%u, %u)\n" +msgstr "" + +#: plugins/sudoers/visudo.c:949 +#, c-format +msgid "%s: bad permissions, should be mode 0%o\n" +msgstr "" + +#: plugins/sudoers/visudo.c:997 plugins/sudoers/visudo.c:1004 +#, c-format +msgid "%s: parsed OK\n" +msgstr "" + +#: plugins/sudoers/visudo.c:1023 +#, c-format +msgid "%s busy, try again later" +msgstr "" + +#: plugins/sudoers/visudo.c:1027 +msgid "Edit anyway? [y/N]" +msgstr "" + +#: plugins/sudoers/visudo.c:1128 +#, c-format +msgid "Warning: %s:%d:%d: unused %s \"%s\"" +msgstr "" + +#: plugins/sudoers/visudo.c:1240 +#, c-format +msgid "" +"%s - safely edit the sudoers file\n" +"\n" +msgstr "" + +#: plugins/sudoers/visudo.c:1242 +msgid "" +"\n" +"Options:\n" +" -c, --check check-only mode\n" +" -f, --file=sudoers specify sudoers file location\n" +" -h, --help display help message and exit\n" +" -I, --no-includes do not edit include files\n" +" -q, --quiet less verbose (quiet) syntax error messages\n" +" -s, --strict strict syntax checking\n" +" -V, --version display version information and exit\n" +msgstr "" + +#: toke.l:189 +msgid "empty string" +msgstr "ცარიელი სტრიქონი" + +#: toke.l:201 toke.l:571 +msgid "empty group" +msgstr "ცარიელი ჯგუფი" + +#: toke.l:211 toke.l:569 +msgid "empty netgroup" +msgstr "" + +#: toke.l:289 +msgid "unterminated regular expression" +msgstr "" + +#: toke.l:363 toke.l:375 toke.l:387 toke.l:403 toke.l:422 toke.l:462 +msgid "invalid line continuation" +msgstr "" + +#: toke.l:608 toke.l:620 +msgid "invalid IPv6 address" +msgstr "არასწორი IPv6 მისამართი" + +#: toke.l:868 +msgid "unexpected line break in string" +msgstr "" + +#: toke.l:1218 +msgid "too many levels of includes" +msgstr "" diff --git a/plugins/sudoers/po/ko.mo b/plugins/sudoers/po/ko.mo new file mode 100644 index 0000000..d121eb9 Binary files /dev/null and b/plugins/sudoers/po/ko.mo differ diff --git a/plugins/sudoers/po/ko.po b/plugins/sudoers/po/ko.po new file mode 100644 index 0000000..2dd8eeb --- /dev/null +++ b/plugins/sudoers/po/ko.po @@ -0,0 +1,3992 @@ +# Korean translation for the sudoers plugin +# This file is distributed under the same license as the sudo package. +# Todd C. Miller , 2011-2015 +# Seong-ho Cho , 2016-2023. +# +msgid "" +msgstr "" +"Project-Id-Version: sudoers 1.9.13b2\n" +"Report-Msgid-Bugs-To: https://bugzilla.sudo.ws\n" +"POT-Creation-Date: 2023-01-24 13:11-0700\n" +"PO-Revision-Date: 2023-01-27 00:39+0900\n" +"Last-Translator: Seong-ho Cho \n" +"Language-Team: Korean \n" +"Language: ko\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 2.3.1\n" + +#: confstr.sh:1 gram.y:1220 plugins/sudoers/logging.c:866 +msgid "syntax error" +msgstr "문법 오류" + +#: confstr.sh:2 +msgid "%p's password: " +msgstr "%p 암호: " + +#: confstr.sh:3 +msgid "[sudo] password for %p: " +msgstr "[sudo] %p 암호: " + +#: confstr.sh:4 +msgid "Password: " +msgstr "암호: " + +#: confstr.sh:5 +msgid "*** SECURITY information for %h ***" +msgstr "*** %h 보안 알림 ***" + +#: confstr.sh:6 +msgid "Sorry, try again." +msgstr "죄송합니다만, 다시 시도하십시오." + +#: gram.y:237 gram.y:304 gram.y:313 gram.y:322 gram.y:332 gram.y:342 +#: gram.y:366 gram.y:393 gram.y:402 gram.y:410 gram.y:419 gram.y:428 +#: gram.y:502 gram.y:512 gram.y:524 gram.y:572 gram.y:581 gram.y:590 +#: gram.y:599 gram.y:731 gram.y:739 gram.y:750 gram.y:762 gram.y:781 +#: gram.y:944 gram.y:949 gram.y:957 gram.y:971 gram.y:977 gram.y:1099 +#: gram.y:1108 gram.y:1116 gram.y:1125 gram.y:1134 gram.y:1163 gram.y:1172 +#: gram.y:1180 gram.y:1280 gram.y:1410 gram.y:1777 gram.y:1827 +#: lib/eventlog/eventlog.c:235 lib/eventlog/eventlog.c:312 +#: lib/eventlog/eventlog.c:757 lib/eventlog/eventlog.c:834 +#: lib/eventlog/eventlog.c:1135 lib/iolog/iolog_filter.c:142 +#: lib/iolog/iolog_filter.c:202 lib/iolog/iolog_filter.c:233 +#: lib/iolog/iolog_json.c:150 lib/iolog/iolog_json.c:382 +#: lib/iolog/iolog_json.c:412 lib/iolog/iolog_legacy.c:100 +#: lib/iolog/iolog_legacy.c:111 lib/iolog/iolog_legacy.c:123 +#: lib/iolog/iolog_legacy.c:133 lib/iolog/iolog_legacy.c:139 +#: lib/iolog/iolog_loginfo.c:76 lib/iolog/iolog_loginfo.c:212 +#: logsrvd/iolog_writer.c:95 logsrvd/iolog_writer.c:100 +#: logsrvd/iolog_writer.c:134 logsrvd/iolog_writer.c:182 +#: logsrvd/iolog_writer.c:215 logsrvd/iolog_writer.c:225 +#: logsrvd/iolog_writer.c:254 logsrvd/iolog_writer.c:275 +#: logsrvd/iolog_writer.c:287 logsrvd/iolog_writer.c:297 +#: logsrvd/iolog_writer.c:307 logsrvd/iolog_writer.c:317 +#: logsrvd/iolog_writer.c:329 logsrvd/iolog_writer.c:364 +#: logsrvd/iolog_writer.c:370 logsrvd/iolog_writer.c:377 +#: logsrvd/iolog_writer.c:383 logsrvd/iolog_writer.c:567 +#: logsrvd/logsrv_util.c:69 logsrvd/logsrvd.c:301 logsrvd/logsrvd.c:310 +#: logsrvd/logsrvd.c:1050 logsrvd/logsrvd.c:1113 logsrvd/logsrvd.c:1582 +#: logsrvd/logsrvd.c:1587 logsrvd/logsrvd.c:1771 logsrvd/logsrvd.c:1988 +#: logsrvd/logsrvd_conf.c:357 logsrvd/logsrvd_conf.c:370 +#: logsrvd/logsrvd_conf.c:511 logsrvd/logsrvd_conf.c:534 +#: logsrvd/logsrvd_conf.c:538 logsrvd/logsrvd_conf.c:556 +#: logsrvd/logsrvd_conf.c:626 logsrvd/logsrvd_conf.c:650 +#: logsrvd/logsrvd_conf.c:678 logsrvd/logsrvd_conf.c:692 +#: logsrvd/logsrvd_conf.c:706 logsrvd/logsrvd_conf.c:720 +#: logsrvd/logsrvd_conf.c:734 logsrvd/logsrvd_conf.c:748 +#: logsrvd/logsrvd_conf.c:829 logsrvd/logsrvd_conf.c:1036 +#: logsrvd/logsrvd_conf.c:1053 logsrvd/logsrvd_conf.c:1448 +#: logsrvd/logsrvd_conf.c:1595 logsrvd/logsrvd_conf.c:1621 +#: logsrvd/logsrvd_conf.c:1633 logsrvd/logsrvd_conf.c:1640 +#: logsrvd/logsrvd_conf.c:1646 logsrvd/logsrvd_conf.c:1743 +#: logsrvd/logsrvd_journal.c:76 logsrvd/logsrvd_journal.c:216 +#: logsrvd/logsrvd_journal.c:217 logsrvd/logsrvd_journal.c:273 +#: logsrvd/logsrvd_journal.c:433 logsrvd/logsrvd_journal.c:435 +#: logsrvd/logsrvd_local.c:215 logsrvd/logsrvd_local.c:216 +#: logsrvd/logsrvd_local.c:278 logsrvd/logsrvd_local.c:279 +#: logsrvd/logsrvd_local.c:417 logsrvd/logsrvd_local.c:466 +#: logsrvd/logsrvd_local.c:467 logsrvd/logsrvd_local.c:472 +#: logsrvd/logsrvd_local.c:473 logsrvd/logsrvd_queue.c:159 +#: logsrvd/logsrvd_queue.c:189 logsrvd/logsrvd_queue.c:266 +#: logsrvd/logsrvd_relay.c:444 logsrvd/logsrvd_relay.c:743 +#: logsrvd/logsrvd_relay.c:850 logsrvd/sendlog.c:251 logsrvd/sendlog.c:260 +#: logsrvd/sendlog.c:291 logsrvd/sendlog.c:338 logsrvd/sendlog.c:615 +#: logsrvd/sendlog.c:1801 plugins/sudoers/audit.c:116 +#: plugins/sudoers/auth/bsdauth.c:150 plugins/sudoers/auth/kerb5.c:121 +#: plugins/sudoers/auth/kerb5.c:148 plugins/sudoers/auth/pam.c:687 +#: plugins/sudoers/auth/rfc1938.c:111 plugins/sudoers/auth/sia.c:59 +#: plugins/sudoers/check_aliases.c:168 plugins/sudoers/cvtsudoers.c:131 +#: plugins/sudoers/cvtsudoers.c:175 plugins/sudoers/cvtsudoers.c:192 +#: plugins/sudoers/cvtsudoers.c:203 plugins/sudoers/cvtsudoers.c:333 +#: plugins/sudoers/cvtsudoers.c:372 plugins/sudoers/cvtsudoers.c:392 +#: plugins/sudoers/cvtsudoers.c:537 plugins/sudoers/cvtsudoers.c:670 +#: plugins/sudoers/cvtsudoers.c:688 plugins/sudoers/cvtsudoers.c:862 +#: plugins/sudoers/cvtsudoers.c:870 plugins/sudoers/cvtsudoers.c:1365 +#: plugins/sudoers/cvtsudoers.c:1369 plugins/sudoers/cvtsudoers.c:1471 +#: plugins/sudoers/cvtsudoers_csv.c:183 plugins/sudoers/cvtsudoers_csv.c:246 +#: plugins/sudoers/cvtsudoers_json.c:76 plugins/sudoers/cvtsudoers_ldif.c:151 +#: plugins/sudoers/cvtsudoers_ldif.c:194 plugins/sudoers/cvtsudoers_ldif.c:235 +#: plugins/sudoers/cvtsudoers_ldif.c:300 plugins/sudoers/cvtsudoers_ldif.c:376 +#: plugins/sudoers/cvtsudoers_ldif.c:430 plugins/sudoers/cvtsudoers_ldif.c:438 +#: plugins/sudoers/cvtsudoers_ldif.c:449 plugins/sudoers/cvtsudoers_ldif.c:456 +#: plugins/sudoers/cvtsudoers_ldif.c:468 plugins/sudoers/cvtsudoers_ldif.c:481 +#: plugins/sudoers/cvtsudoers_ldif.c:489 plugins/sudoers/cvtsudoers_ldif.c:636 +#: plugins/sudoers/cvtsudoers_merge.c:47 plugins/sudoers/cvtsudoers_merge.c:52 +#: plugins/sudoers/cvtsudoers_merge.c:353 +#: plugins/sudoers/cvtsudoers_merge.c:399 +#: plugins/sudoers/cvtsudoers_merge.c:446 +#: plugins/sudoers/cvtsudoers_merge.c:467 +#: plugins/sudoers/cvtsudoers_merge.c:553 +#: plugins/sudoers/cvtsudoers_merge.c:564 +#: plugins/sudoers/cvtsudoers_merge.c:633 +#: plugins/sudoers/cvtsudoers_merge.c:1158 +#: plugins/sudoers/cvtsudoers_merge.c:1231 plugins/sudoers/defaults.c:434 +#: plugins/sudoers/defaults.c:658 plugins/sudoers/defaults.c:1019 +#: plugins/sudoers/defaults.c:1187 plugins/sudoers/editor.c:197 +#: plugins/sudoers/env.c:263 plugins/sudoers/exptilde.c:92 +#: plugins/sudoers/filedigest.c:54 plugins/sudoers/filedigest.c:70 +#: plugins/sudoers/gc.c:57 plugins/sudoers/group_plugin.c:212 +#: plugins/sudoers/interfaces.c:68 plugins/sudoers/iolog.c:268 +#: plugins/sudoers/iolog.c:668 plugins/sudoers/iolog.c:694 +#: plugins/sudoers/ldap.c:184 plugins/sudoers/ldap.c:466 +#: plugins/sudoers/ldap.c:757 plugins/sudoers/ldap.c:921 +#: plugins/sudoers/ldap.c:1337 plugins/sudoers/ldap.c:1763 +#: plugins/sudoers/ldap.c:1800 plugins/sudoers/ldap.c:2016 +#: plugins/sudoers/ldap.c:2117 plugins/sudoers/ldap.c:2133 +#: plugins/sudoers/ldap_conf.c:218 plugins/sudoers/ldap_conf.c:250 +#: plugins/sudoers/ldap_conf.c:302 plugins/sudoers/ldap_conf.c:338 +#: plugins/sudoers/ldap_conf.c:444 plugins/sudoers/ldap_conf.c:459 +#: plugins/sudoers/ldap_conf.c:564 plugins/sudoers/ldap_conf.c:597 +#: plugins/sudoers/ldap_conf.c:689 plugins/sudoers/ldap_conf.c:771 +#: plugins/sudoers/ldap_util.c:294 plugins/sudoers/ldap_util.c:301 +#: plugins/sudoers/ldap_util.c:614 plugins/sudoers/linux_audit.c:86 +#: plugins/sudoers/log_client.c:117 plugins/sudoers/log_client.c:402 +#: plugins/sudoers/log_client.c:715 plugins/sudoers/log_client.c:736 +#: plugins/sudoers/log_client.c:1415 plugins/sudoers/log_client.c:1536 +#: plugins/sudoers/log_client.c:1636 plugins/sudoers/log_client.c:1972 +#: plugins/sudoers/log_client.c:2031 plugins/sudoers/logging.c:110 +#: plugins/sudoers/logging.c:189 plugins/sudoers/logging.c:457 +#: plugins/sudoers/logging.c:672 plugins/sudoers/logging.c:809 +#: plugins/sudoers/match_command.c:335 plugins/sudoers/match_command.c:603 +#: plugins/sudoers/match_command.c:654 plugins/sudoers/match_command.c:728 +#: plugins/sudoers/match_command.c:776 plugins/sudoers/match_digest.c:93 +#: plugins/sudoers/parse.c:267 plugins/sudoers/parse.c:284 +#: plugins/sudoers/parse.c:303 plugins/sudoers/parse.c:322 +#: plugins/sudoers/parse.c:339 plugins/sudoers/parse.c:362 +#: plugins/sudoers/parse.c:373 plugins/sudoers/parse_ldif.c:153 +#: plugins/sudoers/parse_ldif.c:184 plugins/sudoers/parse_ldif.c:253 +#: plugins/sudoers/parse_ldif.c:261 plugins/sudoers/parse_ldif.c:266 +#: plugins/sudoers/parse_ldif.c:342 plugins/sudoers/parse_ldif.c:353 +#: plugins/sudoers/parse_ldif.c:380 plugins/sudoers/parse_ldif.c:397 +#: plugins/sudoers/parse_ldif.c:409 plugins/sudoers/parse_ldif.c:413 +#: plugins/sudoers/parse_ldif.c:427 plugins/sudoers/parse_ldif.c:484 +#: plugins/sudoers/parse_ldif.c:598 plugins/sudoers/parse_ldif.c:628 +#: plugins/sudoers/parse_ldif.c:653 plugins/sudoers/parse_ldif.c:711 +#: plugins/sudoers/parse_ldif.c:728 plugins/sudoers/parse_ldif.c:756 +#: plugins/sudoers/parse_ldif.c:763 plugins/sudoers/policy.c:626 +#: plugins/sudoers/policy.c:1033 plugins/sudoers/prompt.c:93 +#: plugins/sudoers/pwutil.c:199 plugins/sudoers/pwutil.c:270 +#: plugins/sudoers/pwutil.c:348 plugins/sudoers/pwutil.c:522 +#: plugins/sudoers/pwutil.c:587 plugins/sudoers/pwutil.c:659 +#: plugins/sudoers/pwutil.c:857 plugins/sudoers/pwutil.c:945 +#: plugins/sudoers/pwutil.c:993 plugins/sudoers/pwutil.c:1052 +#: plugins/sudoers/sssd.c:145 plugins/sudoers/sssd.c:185 +#: plugins/sudoers/sssd.c:414 plugins/sudoers/sssd.c:479 +#: plugins/sudoers/sssd.c:505 plugins/sudoers/sssd.c:568 +#: plugins/sudoers/sssd.c:761 plugins/sudoers/strvec_join.c:53 +#: plugins/sudoers/stubs.c:112 plugins/sudoers/stubs.c:120 +#: plugins/sudoers/sudoers.c:354 plugins/sudoers/sudoers.c:380 +#: plugins/sudoers/sudoers.c:447 plugins/sudoers/sudoers.c:464 +#: plugins/sudoers/sudoers.c:505 plugins/sudoers/sudoers.c:849 +#: plugins/sudoers/sudoers.c:902 plugins/sudoers/sudoers.c:1054 +#: plugins/sudoers/sudoers.c:1114 plugins/sudoers/sudoers.c:1369 +#: plugins/sudoers/sudoreplay.c:559 plugins/sudoers/sudoreplay.c:562 +#: plugins/sudoers/sudoreplay.c:1278 plugins/sudoers/sudoreplay.c:1334 +#: plugins/sudoers/sudoreplay.c:1530 plugins/sudoers/sudoreplay.c:1534 +#: plugins/sudoers/testsudoers.c:120 plugins/sudoers/testsudoers.c:224 +#: plugins/sudoers/testsudoers.c:241 plugins/sudoers/testsudoers.c:588 +#: plugins/sudoers/timestamp.c:451 plugins/sudoers/timestamp.c:495 +#: plugins/sudoers/timestamp.c:1017 plugins/sudoers/timestamp.c:1146 +#: plugins/sudoers/toke_util.c:78 plugins/sudoers/toke_util.c:106 +#: plugins/sudoers/toke_util.c:131 plugins/sudoers/toke_util.c:161 +#: plugins/sudoers/toke_util.c:200 plugins/sudoers/tsdump.c:123 +#: plugins/sudoers/visudo.c:150 plugins/sudoers/visudo.c:385 +#: plugins/sudoers/visudo.c:391 plugins/sudoers/visudo.c:502 +#: plugins/sudoers/visudo.c:1056 toke.l:1031 toke.l:1163 toke.l:1234 +msgid "unable to allocate memory" +msgstr "메모리를 할당할 수 없습니다" + +#: gram.y:623 +msgid "a digest requires a path name" +msgstr "다이제스트에 경로 이름이 필요합니다" + +#: gram.y:645 +msgid "values for \"CWD\" must start with a '/', '~', or '*'" +msgstr "%s: \"CWD\" 값은 '/'; '~'; '*' 문자로 시작해야합니다" + +#: gram.y:651 +msgid "\"CWD\" path too long" +msgstr "\"CWD\" 경로가 너무 깁니다" + +#: gram.y:661 +msgid "values for \"CHROOT\" must start with a '/', '~', or '*'" +msgstr "%s: \"CHROOT\" 값은 '/'; '~'; '*' 문자로 시작해야합니다" + +#: gram.y:667 +msgid "\"CHROOT\" path too long" +msgstr "\"CHROOT\" 경로가 너무 깁니다" + +#: gram.y:802 +#, c-format +msgid "syntax error, reserved word %s used as an alias name" +msgstr "문법 오류. %s 예약어를 별칭으로 썼습니다" + +#: gram.y:825 +msgid "invalid notbefore value" +msgstr "부적절한 notbefore 값" + +#: gram.y:834 +msgid "invalid notafter value" +msgstr "부적절한 notafter 값" + +#: gram.y:844 plugins/sudoers/policy.c:385 +msgid "timeout value too large" +msgstr "제한 시간 값이 너무 큽니다" + +#: gram.y:846 plugins/sudoers/policy.c:387 +msgid "invalid timeout value" +msgstr "부적절한 제한 시간 값" + +#: gram.y:967 plugins/sudoers/sudoers.c:1072 +msgid "command too long" +msgstr "명령이 너무 깁니다" + +#: gram.y:1224 plugins/sudoers/check_aliases.c:96 +#: plugins/sudoers/defaults.c:1276 +#, c-format +msgid "%s:%d:%d: %s\n" +msgstr "%s:%d:%d: %s\n" + +#: gram.y:1278 +#, c-format +msgid "Alias \"%s\" already defined" +msgstr "\"%s\" 별칭을 이미 정의했습니다" + +#: gram.y:1777 gram.y:1827 lib/eventlog/eventlog.c:235 +#: lib/eventlog/eventlog.c:757 lib/eventlog/eventlog.c:830 +#: lib/eventlog/eventlog.c:833 lib/eventlog/eventlog.c:1135 +#: lib/iolog/iolog_filter.c:142 lib/iolog/iolog_filter.c:202 +#: lib/iolog/iolog_filter.c:232 lib/iolog/iolog_json.c:150 +#: lib/iolog/iolog_json.c:381 lib/iolog/iolog_json.c:412 +#: lib/iolog/iolog_legacy.c:100 lib/iolog/iolog_legacy.c:111 +#: lib/iolog/iolog_legacy.c:123 lib/iolog/iolog_legacy.c:133 +#: lib/iolog/iolog_legacy.c:139 lib/iolog/iolog_loginfo.c:76 +#: lib/iolog/iolog_loginfo.c:212 logsrvd/iolog_writer.c:95 +#: logsrvd/iolog_writer.c:100 logsrvd/iolog_writer.c:134 +#: logsrvd/iolog_writer.c:171 logsrvd/iolog_writer.c:181 +#: logsrvd/iolog_writer.c:194 logsrvd/iolog_writer.c:214 +#: logsrvd/iolog_writer.c:224 logsrvd/iolog_writer.c:243 +#: logsrvd/iolog_writer.c:253 logsrvd/iolog_writer.c:264 +#: logsrvd/iolog_writer.c:274 logsrvd/iolog_writer.c:286 +#: logsrvd/iolog_writer.c:296 logsrvd/iolog_writer.c:306 +#: logsrvd/iolog_writer.c:316 logsrvd/iolog_writer.c:328 +#: logsrvd/iolog_writer.c:364 logsrvd/iolog_writer.c:370 +#: logsrvd/iolog_writer.c:377 logsrvd/iolog_writer.c:383 +#: logsrvd/iolog_writer.c:567 logsrvd/logsrv_util.c:69 logsrvd/logsrvd.c:301 +#: logsrvd/logsrvd.c:310 logsrvd/logsrvd.c:453 logsrvd/logsrvd.c:490 +#: logsrvd/logsrvd.c:522 logsrvd/logsrvd.c:576 logsrvd/logsrvd.c:611 +#: logsrvd/logsrvd.c:660 logsrvd/logsrvd.c:696 logsrvd/logsrvd.c:732 +#: logsrvd/logsrvd.c:1124 logsrvd/logsrvd.c:1439 logsrvd/logsrvd.c:1446 +#: logsrvd/logsrvd.c:1582 logsrvd/logsrvd.c:1587 logsrvd/logsrvd.c:1771 +#: logsrvd/logsrvd.c:1988 logsrvd/logsrvd_conf.c:357 +#: logsrvd/logsrvd_conf.c:370 logsrvd/logsrvd_conf.c:511 +#: logsrvd/logsrvd_conf.c:534 logsrvd/logsrvd_conf.c:538 +#: logsrvd/logsrvd_conf.c:556 logsrvd/logsrvd_conf.c:626 +#: logsrvd/logsrvd_conf.c:649 logsrvd/logsrvd_conf.c:678 +#: logsrvd/logsrvd_conf.c:692 logsrvd/logsrvd_conf.c:706 +#: logsrvd/logsrvd_conf.c:720 logsrvd/logsrvd_conf.c:734 +#: logsrvd/logsrvd_conf.c:748 logsrvd/logsrvd_conf.c:829 +#: logsrvd/logsrvd_conf.c:1036 logsrvd/logsrvd_conf.c:1053 +#: logsrvd/logsrvd_conf.c:1448 logsrvd/logsrvd_conf.c:1595 +#: logsrvd/logsrvd_conf.c:1621 logsrvd/logsrvd_conf.c:1633 +#: logsrvd/logsrvd_conf.c:1640 logsrvd/logsrvd_conf.c:1646 +#: logsrvd/logsrvd_conf.c:1742 logsrvd/logsrvd_journal.c:76 +#: logsrvd/logsrvd_journal.c:125 logsrvd/logsrvd_journal.c:216 +#: logsrvd/logsrvd_journal.c:246 logsrvd/logsrvd_journal.c:250 +#: logsrvd/logsrvd_journal.c:258 logsrvd/logsrvd_journal.c:281 +#: logsrvd/logsrvd_journal.c:285 logsrvd/logsrvd_journal.c:433 +#: logsrvd/logsrvd_local.c:215 logsrvd/logsrvd_local.c:278 +#: logsrvd/logsrvd_local.c:466 logsrvd/logsrvd_local.c:472 +#: logsrvd/logsrvd_local.c:491 logsrvd/logsrvd_queue.c:158 +#: logsrvd/logsrvd_queue.c:189 logsrvd/logsrvd_queue.c:266 +#: logsrvd/sendlog.c:251 logsrvd/sendlog.c:260 logsrvd/sendlog.c:291 +#: logsrvd/sendlog.c:338 logsrvd/sendlog.c:615 logsrvd/sendlog.c:1503 +#: logsrvd/sendlog.c:1510 logsrvd/sendlog.c:1733 logsrvd/sendlog.c:1801 +#: logsrvd/tls_init.c:305 logsrvd/tls_init.c:329 logsrvd/tls_init.c:340 +#: plugins/sudoers/audit.c:116 plugins/sudoers/auth/pam.c:502 +#: plugins/sudoers/auth/pam.c:687 plugins/sudoers/auth/rfc1938.c:111 +#: plugins/sudoers/check_aliases.c:168 plugins/sudoers/cvtsudoers.c:131 +#: plugins/sudoers/cvtsudoers.c:174 plugins/sudoers/cvtsudoers.c:191 +#: plugins/sudoers/cvtsudoers.c:202 plugins/sudoers/cvtsudoers.c:332 +#: plugins/sudoers/cvtsudoers.c:536 plugins/sudoers/cvtsudoers.c:669 +#: plugins/sudoers/cvtsudoers.c:687 plugins/sudoers/cvtsudoers.c:862 +#: plugins/sudoers/cvtsudoers.c:869 plugins/sudoers/cvtsudoers.c:1365 +#: plugins/sudoers/cvtsudoers.c:1369 plugins/sudoers/cvtsudoers.c:1471 +#: plugins/sudoers/cvtsudoers_csv.c:182 plugins/sudoers/cvtsudoers_csv.c:245 +#: plugins/sudoers/cvtsudoers_json.c:75 plugins/sudoers/cvtsudoers_ldif.c:150 +#: plugins/sudoers/cvtsudoers_ldif.c:193 plugins/sudoers/cvtsudoers_ldif.c:234 +#: plugins/sudoers/cvtsudoers_ldif.c:299 plugins/sudoers/cvtsudoers_ldif.c:375 +#: plugins/sudoers/cvtsudoers_ldif.c:429 plugins/sudoers/cvtsudoers_ldif.c:437 +#: plugins/sudoers/cvtsudoers_ldif.c:448 plugins/sudoers/cvtsudoers_ldif.c:455 +#: plugins/sudoers/cvtsudoers_ldif.c:467 plugins/sudoers/cvtsudoers_ldif.c:480 +#: plugins/sudoers/cvtsudoers_ldif.c:488 plugins/sudoers/cvtsudoers_ldif.c:635 +#: plugins/sudoers/cvtsudoers_merge.c:47 plugins/sudoers/cvtsudoers_merge.c:51 +#: plugins/sudoers/cvtsudoers_merge.c:353 +#: plugins/sudoers/cvtsudoers_merge.c:399 +#: plugins/sudoers/cvtsudoers_merge.c:445 +#: plugins/sudoers/cvtsudoers_merge.c:466 +#: plugins/sudoers/cvtsudoers_merge.c:553 +#: plugins/sudoers/cvtsudoers_merge.c:561 +#: plugins/sudoers/cvtsudoers_merge.c:564 +#: plugins/sudoers/cvtsudoers_merge.c:630 +#: plugins/sudoers/cvtsudoers_merge.c:633 +#: plugins/sudoers/cvtsudoers_merge.c:1157 +#: plugins/sudoers/cvtsudoers_merge.c:1231 plugins/sudoers/defaults.c:434 +#: plugins/sudoers/defaults.c:658 plugins/sudoers/defaults.c:1019 +#: plugins/sudoers/defaults.c:1187 plugins/sudoers/editor.c:197 +#: plugins/sudoers/env.c:263 plugins/sudoers/exptilde.c:92 +#: plugins/sudoers/filedigest.c:54 plugins/sudoers/filedigest.c:70 +#: plugins/sudoers/gc.c:57 plugins/sudoers/group_plugin.c:211 +#: plugins/sudoers/interfaces.c:68 plugins/sudoers/iolog.c:268 +#: plugins/sudoers/iolog.c:668 plugins/sudoers/iolog.c:694 +#: plugins/sudoers/ldap.c:184 plugins/sudoers/ldap.c:466 +#: plugins/sudoers/ldap.c:757 plugins/sudoers/ldap.c:921 +#: plugins/sudoers/ldap.c:1337 plugins/sudoers/ldap.c:1763 +#: plugins/sudoers/ldap.c:1800 plugins/sudoers/ldap.c:2016 +#: plugins/sudoers/ldap.c:2117 plugins/sudoers/ldap.c:2133 +#: plugins/sudoers/ldap_conf.c:218 plugins/sudoers/ldap_conf.c:250 +#: plugins/sudoers/ldap_conf.c:302 plugins/sudoers/ldap_conf.c:338 +#: plugins/sudoers/ldap_conf.c:444 plugins/sudoers/ldap_conf.c:459 +#: plugins/sudoers/ldap_conf.c:564 plugins/sudoers/ldap_conf.c:597 +#: plugins/sudoers/ldap_conf.c:688 plugins/sudoers/ldap_conf.c:771 +#: plugins/sudoers/ldap_util.c:293 plugins/sudoers/ldap_util.c:300 +#: plugins/sudoers/ldap_util.c:614 plugins/sudoers/linux_audit.c:86 +#: plugins/sudoers/log_client.c:117 plugins/sudoers/log_client.c:228 +#: plugins/sudoers/log_client.c:250 plugins/sudoers/log_client.c:264 +#: plugins/sudoers/log_client.c:402 plugins/sudoers/log_client.c:715 +#: plugins/sudoers/log_client.c:736 plugins/sudoers/log_client.c:1415 +#: plugins/sudoers/log_client.c:1536 plugins/sudoers/log_client.c:1636 +#: plugins/sudoers/log_client.c:1972 plugins/sudoers/log_client.c:2031 +#: plugins/sudoers/logging.c:110 plugins/sudoers/logging.c:188 +#: plugins/sudoers/logging.c:189 plugins/sudoers/logging.c:457 +#: plugins/sudoers/logging.c:672 plugins/sudoers/logging.c:809 +#: plugins/sudoers/logging.c:880 plugins/sudoers/logging.c:892 +#: plugins/sudoers/match_command.c:334 plugins/sudoers/match_command.c:602 +#: plugins/sudoers/match_command.c:653 plugins/sudoers/match_command.c:728 +#: plugins/sudoers/match_command.c:775 plugins/sudoers/match_digest.c:93 +#: plugins/sudoers/parse.c:266 plugins/sudoers/parse.c:283 +#: plugins/sudoers/parse.c:302 plugins/sudoers/parse.c:321 +#: plugins/sudoers/parse.c:338 plugins/sudoers/parse.c:361 +#: plugins/sudoers/parse.c:372 plugins/sudoers/parse_ldif.c:152 +#: plugins/sudoers/parse_ldif.c:183 plugins/sudoers/parse_ldif.c:252 +#: plugins/sudoers/parse_ldif.c:260 plugins/sudoers/parse_ldif.c:265 +#: plugins/sudoers/parse_ldif.c:341 plugins/sudoers/parse_ldif.c:352 +#: plugins/sudoers/parse_ldif.c:379 plugins/sudoers/parse_ldif.c:396 +#: plugins/sudoers/parse_ldif.c:408 plugins/sudoers/parse_ldif.c:412 +#: plugins/sudoers/parse_ldif.c:426 plugins/sudoers/parse_ldif.c:484 +#: plugins/sudoers/parse_ldif.c:598 plugins/sudoers/parse_ldif.c:627 +#: plugins/sudoers/parse_ldif.c:652 plugins/sudoers/parse_ldif.c:710 +#: plugins/sudoers/parse_ldif.c:727 plugins/sudoers/parse_ldif.c:755 +#: plugins/sudoers/parse_ldif.c:762 plugins/sudoers/policy.c:154 +#: plugins/sudoers/policy.c:163 plugins/sudoers/policy.c:172 +#: plugins/sudoers/policy.c:201 plugins/sudoers/policy.c:370 +#: plugins/sudoers/policy.c:385 plugins/sudoers/policy.c:387 +#: plugins/sudoers/policy.c:425 plugins/sudoers/policy.c:434 +#: plugins/sudoers/policy.c:482 plugins/sudoers/policy.c:492 +#: plugins/sudoers/policy.c:501 plugins/sudoers/policy.c:510 +#: plugins/sudoers/policy.c:519 plugins/sudoers/policy.c:626 +#: plugins/sudoers/policy.c:1033 plugins/sudoers/prompt.c:93 +#: plugins/sudoers/pwutil.c:199 plugins/sudoers/pwutil.c:270 +#: plugins/sudoers/pwutil.c:348 plugins/sudoers/pwutil.c:522 +#: plugins/sudoers/pwutil.c:587 plugins/sudoers/pwutil.c:659 +#: plugins/sudoers/pwutil.c:857 plugins/sudoers/pwutil.c:945 +#: plugins/sudoers/pwutil.c:993 plugins/sudoers/pwutil.c:1052 +#: plugins/sudoers/set_perms.c:363 plugins/sudoers/set_perms.c:706 +#: plugins/sudoers/set_perms.c:1073 plugins/sudoers/set_perms.c:1380 +#: plugins/sudoers/set_perms.c:1549 plugins/sudoers/sssd.c:144 +#: plugins/sudoers/sssd.c:185 plugins/sudoers/sssd.c:414 +#: plugins/sudoers/sssd.c:479 plugins/sudoers/sssd.c:505 +#: plugins/sudoers/sssd.c:568 plugins/sudoers/sssd.c:761 +#: plugins/sudoers/strvec_join.c:53 plugins/sudoers/stubs.c:112 +#: plugins/sudoers/stubs.c:120 plugins/sudoers/sudoers.c:354 +#: plugins/sudoers/sudoers.c:380 plugins/sudoers/sudoers.c:447 +#: plugins/sudoers/sudoers.c:464 plugins/sudoers/sudoers.c:505 +#: plugins/sudoers/sudoers.c:849 plugins/sudoers/sudoers.c:902 +#: plugins/sudoers/sudoers.c:1054 plugins/sudoers/sudoers.c:1114 +#: plugins/sudoers/sudoers.c:1369 plugins/sudoers/sudoreplay.c:559 +#: plugins/sudoers/sudoreplay.c:562 plugins/sudoers/sudoreplay.c:1278 +#: plugins/sudoers/sudoreplay.c:1334 plugins/sudoers/sudoreplay.c:1530 +#: plugins/sudoers/sudoreplay.c:1534 plugins/sudoers/testsudoers.c:120 +#: plugins/sudoers/testsudoers.c:224 plugins/sudoers/testsudoers.c:241 +#: plugins/sudoers/testsudoers.c:588 plugins/sudoers/timestamp.c:451 +#: plugins/sudoers/timestamp.c:495 plugins/sudoers/timestamp.c:1017 +#: plugins/sudoers/timestamp.c:1146 plugins/sudoers/toke_util.c:78 +#: plugins/sudoers/toke_util.c:106 plugins/sudoers/toke_util.c:131 +#: plugins/sudoers/toke_util.c:160 plugins/sudoers/toke_util.c:200 +#: plugins/sudoers/tsdump.c:123 plugins/sudoers/visudo.c:150 +#: plugins/sudoers/visudo.c:385 plugins/sudoers/visudo.c:391 +#: plugins/sudoers/visudo.c:502 plugins/sudoers/visudo.c:1056 toke.l:1031 +#: toke.l:1163 toke.l:1226 toke.l:1234 +#, c-format +msgid "%s: %s" +msgstr "%s: %s" + +#: lib/eventlog/eventlog.c:303 +#, c-format +msgid "unable to dup stdin: %m" +msgstr "표준 입력을 복제할 수 없습니다: %m" + +#: lib/eventlog/eventlog.c:345 +#, c-format +msgid "unable to execute %s: %m" +msgstr "%s을(를) 실행할 수 없습니다: %m" + +#: lib/eventlog/eventlog.c:393 plugins/sudoers/auth/aix_auth.c:198 +msgid "unable to fork" +msgstr "포킹할 수 없습니다" + +#: lib/eventlog/eventlog.c:403 lib/eventlog/eventlog.c:468 +#, c-format +msgid "unable to fork: %m" +msgstr "포킹할 수 없습니다: %m" + +#: lib/eventlog/eventlog.c:458 +#, c-format +msgid "unable to open pipe: %m" +msgstr "파이프를 열 수 없습니다: %m" + +#: lib/eventlog/eventlog.c:960 +#, c-format +msgid "%8s : %s" +msgstr "%8s : %s" + +#: lib/eventlog/eventlog.c:989 +#, c-format +msgid "%8s : (command continued) %s" +msgstr "%8s : (명령 계속 실행) %s" + +#: lib/iolog/iolog_filter.c:133 plugins/sudoers/defaults.c:1242 +#: plugins/sudoers/sudoreplay.c:1290 plugins/sudoers/sudoreplay.c:1586 +#, c-format +msgid "invalid regular expression \"%s\": %s" +msgstr "부적절한 정규 표현식 \"%s\": %s" + +#: lib/iolog/iolog_json.c:140 +#, c-format +msgid "expected JSON_STRING, got %d" +msgstr "JSON_STRING 값을 기대했지만, %d 결과가 나왔습니다" + +#: lib/iolog/iolog_json.c:145 +msgid "JSON_ARRAY too large" +msgstr "JSON_ARRAY 값이 너무 큽니다" + +#: lib/iolog/iolog_json.c:404 +msgid "missing double quote in name" +msgstr "이름에 이중 따옴표가 빠졌습니다" + +#: lib/iolog/iolog_json.c:511 +msgid "missing JSON_OBJECT" +msgstr "JSON_OBJECT 값이 빠졌습니다" + +#: lib/iolog/iolog_json.c:515 +#, c-format +msgid "expected JSON_OBJECT, got %d" +msgstr "JSON_OBJECT 값을 기대했지만, %d 결과가 나왔습니다" + +#: lib/iolog/iolog_json.c:632 +#, c-format +msgid "json stack exhausted (max %u frames)" +msgstr "json 스택 용량이 부족합니다 (최대 %u 프레임)" + +#: lib/iolog/iolog_json.c:706 +msgid "objects must consist of name:value pairs" +msgstr "객체는 이름:값 쌍으로 구성해야 합니다" + +#: lib/iolog/iolog_json.c:711 lib/iolog/iolog_json.c:742 +#: lib/iolog/iolog_json.c:786 lib/iolog/iolog_json.c:808 +#: lib/iolog/iolog_json.c:830 lib/iolog/iolog_json.c:852 +#: lib/iolog/iolog_json.c:874 +msgid "missing separator between values" +msgstr "값을 구분하는 구분자가 빠졌습니다" + +#: lib/iolog/iolog_json.c:726 lib/iolog/iolog_json.c:900 +msgid "unmatched close brace" +msgstr "일치하지 않는 중괄호 닫기 표시" + +#: lib/iolog/iolog_json.c:737 +msgid "unexpected array" +msgstr "예기치 않은 배열 발견" + +#: lib/iolog/iolog_json.c:757 lib/iolog/iolog_json.c:903 +msgid "unmatched close bracket" +msgstr "일치하지 않는 각괄호 닫기 표시" + +#: lib/iolog/iolog_json.c:768 +msgid "unexpected string" +msgstr "예기치 않은 문자열 값 발견" + +#: lib/iolog/iolog_json.c:779 +msgid "missing colon after name" +msgstr "이름 뒤에 콜론이 빠졌습니다" + +#: lib/iolog/iolog_json.c:800 lib/iolog/iolog_json.c:822 +msgid "unexpected boolean" +msgstr "예기치 않은 부울린 값 발견" + +#: lib/iolog/iolog_json.c:844 +msgid "unexpected null" +msgstr "예기치 않은 NULL 값 발견" + +#: lib/iolog/iolog_json.c:865 +msgid "unexpected number" +msgstr "예기치 않은 숫자 값 발견" + +#: lib/iolog/iolog_json.c:912 +msgid "parse error" +msgstr "해석 오류" + +#: lib/iolog/iolog_legacy.c:65 +#, c-format +msgid "%s: invalid log file" +msgstr "%s: 부적절한 로그 파일" + +#: lib/iolog/iolog_legacy.c:83 +#, c-format +msgid "%s: time stamp field is missing" +msgstr "%s: 타임스탬프 필드가 빠졌습니다" + +#: lib/iolog/iolog_legacy.c:89 +#, c-format +msgid "%s: time stamp %s: %s" +msgstr "%s: %s 타임스탬프: %s" + +#: lib/iolog/iolog_legacy.c:96 +#, c-format +msgid "%s: user field is missing" +msgstr "%s: 사용자 필드가 빠졌습니다" + +#: lib/iolog/iolog_legacy.c:107 +#, c-format +msgid "%s: runas user field is missing" +msgstr "%s: 실행 사용자 필드가 빠졌습니다" + +#: lib/iolog/iolog_legacy.c:118 +#, c-format +msgid "%s: runas group field is missing" +msgstr "%s: 실행 그룹 필드가 빠졌습니다" + +#: lib/iolog/iolog_mkdirs.c:89 +#, c-format +msgid "%s exists but is not a directory (0%o)" +msgstr "%s이(가) 있지만 디렉터리가 아닙니다(0%o)" + +#: lib/iolog/iolog_mkdirs.c:123 lib/iolog/iolog_mkdtemp.c:79 +#: logsrvd/iolog_writer.c:781 plugins/sudoers/timestamp.c:209 +#, c-format +msgid "unable to mkdir %s" +msgstr "mkdir %s 명령을 실행할 수 없습니다" + +#: lib/iolog/iolog_mkdtemp.c:84 plugins/sudoers/visudo.c:757 +#: plugins/sudoers/visudo.c:791 plugins/sudoers/visudo.c:797 +#, c-format +msgid "unable to change mode of %s to 0%o" +msgstr "%s 모드를 0%o 값으로 바꿀 수 없습니다" + +#: lib/iolog/iolog_timing.c:261 +#, c-format +msgid "error reading timing file: %s" +msgstr "타이밍 파일 읽기 오류: %s" + +#: lib/iolog/iolog_timing.c:268 +#, c-format +msgid "invalid timing file line: %s" +msgstr "부적절한 타이밍 파일 행: %s" + +#: logsrvd/iolog_writer.c:65 +#, c-format +msgid "%s: protocol error: NULL key" +msgstr "%s: 프로토콜 오류: NULL키" + +#: logsrvd/iolog_writer.c:69 +#, c-format +msgid "%s: protocol error: wrong type for %s" +msgstr "%s: 프로토콜 오류: %s의 잘못된 형식" + +#: logsrvd/iolog_writer.c:74 logsrvd/logsrvd_local.c:109 +#: logsrvd/logsrvd_local.c:123 logsrvd/logsrvd_local.c:131 +#: logsrvd/logsrvd_local.c:149 +#, c-format +msgid "%s: protocol error: NULL value found in %s" +msgstr "%s: 프로토콜 오류: %s에 NULL값 들어감" + +#: logsrvd/iolog_writer.c:141 plugins/sudoers/logging.c:980 +#: plugins/sudoers/policy.c:593 +msgid "unable to generate UUID" +msgstr "UUID를 만들 수 없습니다" + +#: logsrvd/iolog_writer.c:341 logsrvd/iolog_writer.c:346 +#: logsrvd/iolog_writer.c:351 logsrvd/iolog_writer.c:356 +#, c-format +msgid "%s: protocol error: %s missing from AcceptMessage" +msgstr "%s: 프로토콜 오류: AcceptMessage에 %s 빠짐" + +#: logsrvd/iolog_writer.c:417 +#, c-format +msgid "%s: unable to format session id" +msgstr "%s: 세션 ID를 포매팅할 수 없습니다" + +#: logsrvd/iolog_writer.c:431 logsrvd/iolog_writer.c:445 +#: logsrvd/iolog_writer.c:459 logsrvd/iolog_writer.c:474 +#: logsrvd/iolog_writer.c:488 logsrvd/iolog_writer.c:502 +#, c-format +msgid "%s: %s is not set" +msgstr "%s: %s을(를) 설정하지 않음" + +#: logsrvd/iolog_writer.c:538 logsrvd/iolog_writer.c:545 +#, c-format +msgid "unable to expand iolog path %s" +msgstr "%s 입출력 로그 경로를 확장할 수 없습니다" + +#: logsrvd/iolog_writer.c:563 +#, c-format +msgid "unable to create iolog path %s" +msgstr "%s 입출력 로그 경로를 만들 수 없습니다" + +#: logsrvd/iolog_writer.c:593 +#, c-format +msgid "invalid iofd %d" +msgstr "부적절한 입출력 파일 서술자 %d번" + +#: logsrvd/iolog_writer.c:613 +#, c-format +msgid "error closing iofd %d: %s" +msgstr "%d 입출력 파일 서술자 닫기 오류: %s" + +#: logsrvd/iolog_writer.c:633 +#, c-format +msgid "error flushing iofd %d: %s" +msgstr "%d 입출력 파일 서술자 제거 오류: %s" + +#: logsrvd/iolog_writer.c:751 +#, c-format +msgid "invalid I/O log %s: %s referenced but not present" +msgstr "부적절한 %s 입출력 로그: %s을(를) 참조했지만 없습니다" + +#: logsrvd/iolog_writer.c:763 logsrvd/logsrvd_journal.c:385 +#, c-format +msgid "%s: unable to find resume point [%lld, %ld]" +msgstr "%s: [%lld, %ld] 재개 지점을 찾을 수 없습니다" + +#: logsrvd/iolog_writer.c:785 logsrvd/logsrvd_journal.c:428 +#: logsrvd/logsrvd_queue.c:115 logsrvd/tls_init.c:256 +#: plugins/sudoers/check.c:292 plugins/sudoers/cvtsudoers.c:730 +#: plugins/sudoers/cvtsudoers.c:751 plugins/sudoers/cvtsudoers.c:1431 +#: plugins/sudoers/cvtsudoers_csv.c:695 plugins/sudoers/cvtsudoers_json.c:898 +#: plugins/sudoers/cvtsudoers_ldif.c:709 plugins/sudoers/sudoers.c:1152 +#: plugins/sudoers/sudoers.c:1182 plugins/sudoers/sudoreplay.c:1496 +#: plugins/sudoers/timestamp.c:460 plugins/sudoers/tsdump.c:128 +#: plugins/sudoers/visudo.c:975 +#, c-format +msgid "unable to open %s" +msgstr "%s을(를) 열 수 없습니다" + +#: logsrvd/iolog_writer.c:797 logsrvd/logsrv_util.c:105 +#: logsrvd/logsrv_util.c:112 plugins/sudoers/sudoreplay.c:355 +#: plugins/sudoers/sudoreplay.c:361 +#, c-format +msgid "unable to open %s/%s" +msgstr "%s/%s을(를) 열 수 없습니다" + +#: logsrvd/iolog_writer.c:810 +#, c-format +msgid "unable to copy %s/%s to %s/%s: %s" +msgstr "%s/%s을(를) %s/%s(으)로 복사할 수 없습니다: %s" + +#: logsrvd/iolog_writer.c:839 logsrvd/logsrvd_journal.c:198 +#, c-format +msgid "unable to rename %s to %s" +msgstr "%s을(를) %s(으)로 이름을 바꿀 수 없습니다" + +#: logsrvd/logsrv_util.c:147 logsrvd/logsrv_util.c:176 +#, c-format +msgid "%s/%s: unable to find resume point [%lld, %ld]" +msgstr "%s/%s: [%lld, %ld] 재개 지점을 찾을 수 없습니다" + +#: logsrvd/logsrv_util.c:159 +#, c-format +msgid "missing I/O log file %s/%s" +msgstr "입출력 로그 파일 %s/%s 빠짐" + +#: logsrvd/logsrv_util.c:166 +#, c-format +msgid "%s/%s: unable to seek forward %zu" +msgstr "%s/%s: %zu회 이전 탐색을 진행할 수 없습니다" + +#: logsrvd/logsrvd.c:271 logsrvd/logsrvd_queue.c:135 +msgid "unable to connect to relay" +msgstr "릴레이에 연결할 수 없습니다" + +#: logsrvd/logsrvd.c:330 logsrvd/logsrvd_relay.c:842 +#, c-format +msgid "server message too large: %zu" +msgstr "서버 메시지가 너무 깁니다: %zu" + +#: logsrvd/logsrvd.c:422 logsrvd/logsrvd.c:545 logsrvd/logsrvd.c:631 +#: logsrvd/logsrvd.c:873 logsrvd/logsrvd.c:887 logsrvd/logsrvd.c:1049 +#: logsrvd/logsrvd.c:1174 logsrvd/logsrvd.c:1347 logsrvd/logsrvd.c:1365 +#: logsrvd/logsrvd.c:1464 logsrvd/logsrvd.c:1589 logsrvd/logsrvd.c:1773 +#: logsrvd/logsrvd_journal.c:497 logsrvd/logsrvd_local.c:238 +#: logsrvd/logsrvd_queue.c:164 logsrvd/logsrvd_relay.c:172 +#: logsrvd/logsrvd_relay.c:249 logsrvd/logsrvd_relay.c:253 +#: logsrvd/logsrvd_relay.c:389 logsrvd/logsrvd_relay.c:581 +#: logsrvd/logsrvd_relay.c:742 logsrvd/logsrvd_relay.c:1131 +#: logsrvd/sendlog.c:1291 logsrvd/tls_client.c:136 logsrvd/tls_client.c:152 +#: logsrvd/tls_client.c:216 plugins/sudoers/audit.c:278 +#: plugins/sudoers/iolog.c:1031 plugins/sudoers/iolog.c:1164 +#: plugins/sudoers/iolog.c:1262 plugins/sudoers/log_client.c:121 +#: plugins/sudoers/log_client.c:343 plugins/sudoers/log_client.c:359 +#: plugins/sudoers/log_client.c:407 plugins/sudoers/log_client.c:611 +#: plugins/sudoers/log_client.c:618 plugins/sudoers/log_client.c:1103 +#: plugins/sudoers/log_client.c:1384 plugins/sudoers/log_client.c:1425 +#: plugins/sudoers/log_client.c:1433 plugins/sudoers/log_client.c:1592 +#: plugins/sudoers/log_client.c:1710 plugins/sudoers/log_client.c:2039 +#: plugins/sudoers/log_client.c:2047 plugins/sudoers/logging.c:147 +#: plugins/sudoers/logging.c:205 plugins/sudoers/sudoreplay.c:519 +#: plugins/sudoers/sudoreplay.c:566 plugins/sudoers/sudoreplay.c:808 +#: plugins/sudoers/sudoreplay.c:920 plugins/sudoers/sudoreplay.c:1011 +#: plugins/sudoers/sudoreplay.c:1026 plugins/sudoers/sudoreplay.c:1033 +#: plugins/sudoers/sudoreplay.c:1040 plugins/sudoers/sudoreplay.c:1047 +#: plugins/sudoers/sudoreplay.c:1054 plugins/sudoers/sudoreplay.c:1181 +msgid "unable to add event to queue" +msgstr "큐에 이벤트를 추가할 수 없습니다" + +#: logsrvd/logsrvd.c:446 logsrvd/logsrvd.c:483 logsrvd/logsrvd.c:515 +#: logsrvd/logsrvd.c:569 logsrvd/logsrvd.c:648 logsrvd/logsrvd.c:684 +#: logsrvd/logsrvd.c:720 logsrvd/logsrvd.c:756 logsrvd/logsrvd_relay.c:510 +#: logsrvd/logsrvd_relay.c:543 +#, c-format +msgid "unexpected state %d for %s" +msgstr "%2$s의 예기치 않은 상태 %1$d번" + +#: logsrvd/logsrvd.c:447 logsrvd/logsrvd.c:484 logsrvd/logsrvd.c:516 +#: logsrvd/logsrvd.c:570 logsrvd/logsrvd.c:649 logsrvd/logsrvd.c:685 +#: logsrvd/logsrvd.c:721 logsrvd/logsrvd.c:757 logsrvd/logsrvd_relay.c:512 +#: logsrvd/logsrvd_relay.c:545 +msgid "state machine error" +msgstr "상태 머신 오류" + +#: logsrvd/logsrvd.c:453 logsrvd/logsrvd.c:454 +msgid "invalid AcceptMessage" +msgstr "부적절한 AcceptMessage" + +#: logsrvd/logsrvd.c:490 logsrvd/logsrvd.c:491 +msgid "invalid RejectMessage" +msgstr "부적절한 RejectMessage" + +#: logsrvd/logsrvd.c:522 logsrvd/logsrvd.c:523 +msgid "invalid ExitMessage" +msgstr "부적절한 ExitMessage" + +#: logsrvd/logsrvd.c:576 logsrvd/logsrvd.c:577 +msgid "invalid RestartMessage" +msgstr "부적절한 RestartMessage" + +#: logsrvd/logsrvd.c:611 logsrvd/logsrvd.c:612 +msgid "invalid AlertMessage" +msgstr "부적절한 AlertMessage" + +#: logsrvd/logsrvd.c:653 logsrvd/logsrvd.c:689 logsrvd/logsrvd.c:725 +#, c-format +msgid "%s: unexpected IoBuffer" +msgstr "%s: 예기치 않은 입출력 버퍼 발견" + +#: logsrvd/logsrvd.c:654 logsrvd/logsrvd.c:690 logsrvd/logsrvd.c:726 +msgid "protocol error" +msgstr "프로토콜 오류" + +#: logsrvd/logsrvd.c:660 logsrvd/logsrvd.c:661 +msgid "invalid IoBuffer" +msgstr "부적절한 IoBuffer" + +#: logsrvd/logsrvd.c:696 logsrvd/logsrvd.c:697 +msgid "invalid ChangeWindowSize" +msgstr "부적절한 ChangeWindowSize" + +#: logsrvd/logsrvd.c:732 logsrvd/logsrvd.c:733 +msgid "invalid CommandSuspend" +msgstr "부적절한 CommandSuspend" + +#: logsrvd/logsrvd.c:782 logsrvd/logsrvd_journal.c:296 +#: logsrvd/logsrvd_relay.c:652 logsrvd/sendlog.c:1192 +#: plugins/sudoers/log_client.c:1582 +#, c-format +msgid "unable to unpack %s size %zu" +msgstr "%2$zu 크기의 %1$s을(를) 언팩할 수 없습니다" + +#: logsrvd/logsrvd.c:827 logsrvd/logsrvd_journal.c:370 +#: logsrvd/logsrvd_relay.c:676 +#, c-format +msgid "unexpected type_case value %d in %s from %s" +msgstr "%3$s의 %2$s에서 예기지 않은 type_case 값 %1$d" + +#: logsrvd/logsrvd.c:829 +msgid "unrecognized ClientMessage type" +msgstr "인식할 수 없는 ClientMessage 형식" + +#: logsrvd/logsrvd.c:919 +#, c-format +msgid "timed out writing to client %s" +msgstr "%s 클라이언트 기록 시간 초과" + +#: logsrvd/logsrvd.c:924 logsrvd/logsrvd_relay.c:914 logsrvd/sendlog.c:1395 +#, c-format +msgid "missing write buffer for client %s" +msgstr "%s 클라이언트에서 기록 버퍼 빠짐" + +#: logsrvd/logsrvd.c:1020 +#, c-format +msgid "timed out reading from client %s" +msgstr "%s 클라이언트에서 읽기 시간 초과" + +#: logsrvd/logsrvd.c:1061 logsrvd/logsrvd_relay.c:777 +#, c-format +msgid "EOF from %s without proper TLS shutdown" +msgstr "적절한 TLS 셧다운 미이행을 동반한 %s의 파일끝(EOF)" + +#: logsrvd/logsrvd.c:1105 logsrvd/logsrvd_relay.c:205 logsrvd/sendlog.c:322 +#: plugins/sudoers/log_client.c:721 +#, c-format +msgid "client message too large: %zu" +msgstr "클라이언드 메시지가 너무 깁니다: %zu" + +#: logsrvd/logsrvd.c:1106 logsrvd/logsrvd_journal.c:259 +#: logsrvd/logsrvd_journal.c:260 +msgid "client message too large" +msgstr "클라이언트 메시지가 너무 깁니다" + +#: logsrvd/logsrvd.c:1124 logsrvd/logsrvd.c:1125 +msgid "invalid ClientMessage" +msgstr "부적절한 ClientMessage" + +#: logsrvd/logsrvd.c:1425 +msgid "unable to get remote IP addr" +msgstr "원격 IP 주소를 가져올 수 없습니다" + +#: logsrvd/logsrvd.c:1456 logsrvd/tls_client.c:203 +#: plugins/sudoers/log_client.c:281 +#, c-format +msgid "Unable to attach user data to the ssl object: %s" +msgstr "ssl 객체에 사용자 데이터를 붙일 수 없습니다: %s" + +#: logsrvd/logsrvd.c:1639 logsrvd/logsrvd.c:1992 +msgid "unable to setup listen socket" +msgstr "감청 소켓을 설정할 수 없습니다" + +#: logsrvd/logsrvd.c:1756 +#, c-format +msgid "unexpected signal %d" +msgstr "예기치 않은 시그널 %d번" + +#: logsrvd/logsrvd.c:1894 +msgid "sudo log server" +msgstr "sudo 로그 서버" + +#: logsrvd/logsrvd.c:1896 logsrvd/sendlog.c:121 +msgid "Options:" +msgstr "옵션:" + +#: logsrvd/logsrvd.c:1898 +msgid "path to configuration file" +msgstr "설정 파일 경로" + +#: logsrvd/logsrvd.c:1900 logsrvd/sendlog.c:123 +msgid "display help message and exit" +msgstr "도움말 메시지를 표시한 후 빠져나갑니다" + +#: logsrvd/logsrvd.c:1902 +msgid "do not fork, run in the foreground" +msgstr "프로세스를 포킹하지 않고, 포그라운드에서 실행" + +#: logsrvd/logsrvd.c:1904 +msgid "percent chance connections will drop" +msgstr "연결이 끊을 확률에 대한 백분율" + +#: logsrvd/logsrvd.c:1906 logsrvd/sendlog.c:153 +msgid "display version information and exit" +msgstr "버전 정보를 표시하고 빠져나갑니다" + +#: logsrvd/logsrvd.c:1956 logsrvd/sendlog.c:1702 +msgid "Protobuf-C version 1.3 or higher required" +msgstr "Protobuf-C 1.3 이상의 버전이 필요합니다" + +#: logsrvd/logsrvd.c:1972 +#, c-format +msgid "invalid random drop value: %s" +msgstr "부적절한 임의 철회 값: %s" + +#: logsrvd/logsrvd.c:1975 logsrvd/sendlog.c:1756 +#: plugins/sudoers/cvtsudoers.c:246 plugins/sudoers/sudoreplay.c:294 +#: plugins/sudoers/visudo.c:182 +#, c-format +msgid "%s version %s\n" +msgstr "%s 버전 %s\n" + +#: logsrvd/logsrvd_conf.c:422 plugins/sudoers/check.c:358 +#: plugins/sudoers/exptilde.c:85 plugins/sudoers/iolog.c:122 +#: plugins/sudoers/policy.c:1271 plugins/sudoers/sudoers.c:512 +#: plugins/sudoers/sudoers.c:1411 plugins/sudoers/testsudoers.c:215 +#: plugins/sudoers/testsudoers.c:382 +#, c-format +msgid "unknown user %s" +msgstr "알 수 없는 사용자 %s" + +#: logsrvd/logsrvd_conf.c:439 plugins/sudoers/iolog.c:148 +#: plugins/sudoers/sudoers.c:517 plugins/sudoers/sudoers.c:1445 +#: plugins/sudoers/testsudoers.c:406 +#, c-format +msgid "unknown group %s" +msgstr "알 수 없는 그룹 %s" + +#: logsrvd/logsrvd_conf.c:457 +#, c-format +msgid "unable to parse iolog mode %s" +msgstr "%s 입출력 로그 모드를 해석할 수 없습니다" + +#: logsrvd/logsrvd_conf.c:474 logsrvd/logsrvd_conf.c:1243 +#, c-format +msgid "invalid value for %s: %s" +msgstr "부적절한 %s 값: %s" + +#: logsrvd/logsrvd_conf.c:527 +msgid "TLS not supported" +msgstr "TLS를 지원하지 않습니다" + +#: logsrvd/logsrvd_conf.c:549 +#, c-format +msgid "%s:%s" +msgstr "%s:%s" + +#: logsrvd/logsrvd_conf.c:622 logsrvd/logsrvd_conf.c:1032 +#, c-format +msgid "%s: not a fully qualified path" +msgstr "%s: 완전하지 않은 경로" + +#: logsrvd/logsrvd_conf.c:951 logsrvd/logsrvd_conf.c:967 +#: logsrvd/logsrvd_conf.c:1676 +#, c-format +msgid "unknown syslog facility %s" +msgstr "알 수 없는 syslog 수단 %s" + +#: logsrvd/logsrvd_conf.c:983 logsrvd/logsrvd_conf.c:999 +#: logsrvd/logsrvd_conf.c:1015 logsrvd/logsrvd_conf.c:1680 +#: logsrvd/logsrvd_conf.c:1684 logsrvd/logsrvd_conf.c:1688 +#, c-format +msgid "unknown syslog priority %s" +msgstr "알 수 없는 syslog 우선 순위 %s" + +#: logsrvd/logsrvd_conf.c:1197 +#, c-format +msgid "%s:%d unmatched '[': %s" +msgstr "%s:%d 일치하지 않는 '[': %s" + +#: logsrvd/logsrvd_conf.c:1203 +#, c-format +msgid "%s:%d garbage after ']': %s" +msgstr "%s:%d ']' 다음 버리는 내용: %s" + +#: logsrvd/logsrvd_conf.c:1215 +#, c-format +msgid "%s:%d invalid config section: %s" +msgstr "%s:%d 부적절한 설정 섹션: %s" + +#: logsrvd/logsrvd_conf.c:1223 +#, c-format +msgid "%s:%d invalid configuration line: %s" +msgstr "%s:%d 부적절한 설정 행: %s" + +#: logsrvd/logsrvd_conf.c:1229 +#, c-format +msgid "%s:%d expected section name: %s" +msgstr "%s:%d(에)서 섹션 이름이 나와야 합니다: %s" + +#: logsrvd/logsrvd_conf.c:1251 +#, c-format +msgid "%s:%d [%s] illegal key: %s" +msgstr "%s:%d [%s] 잘못된 키: %s" + +#: logsrvd/logsrvd_conf.c:1281 plugins/sudoers/cvtsudoers.c:268 +#: plugins/sudoers/logging.c:1033 +#, c-format +msgid "unable to open log file %s" +msgstr "%s 로그 파일을 열 수 없습니다" + +#: logsrvd/logsrvd_conf.c:1763 +msgid "unable to initialize server TLS context" +msgstr "서버 TLS 컨텍스트를 초기화할 수 없습니다" + +#: logsrvd/logsrvd_conf.c:1783 +msgid "unable to initialize relay TLS context" +msgstr "릴레이 TLS 컨텍스트를 초기화할 수 없습니다" + +#: logsrvd/logsrvd_journal.c:149 logsrvd/logsrvd_journal.c:424 +#: logsrvd/logsrvd_journal.c:429 +msgid "unable to create journal file" +msgstr "저널 파일을 만들 수 없습니다" + +#: logsrvd/logsrvd_journal.c:153 logsrvd/logsrvd_queue.c:109 +#: plugins/sudoers/visudo.c:1028 +#, c-format +msgid "unable to lock %s" +msgstr "%s을(를) 잠글 수 없습니다" + +#: logsrvd/logsrvd_journal.c:156 +msgid "unable to lock journal file" +msgstr "저널 파일을 잠글 수 없습니다" + +#: logsrvd/logsrvd_journal.c:164 +msgid "unable to open journal file" +msgstr "저널 파일을 열 수 없습니다" + +#: logsrvd/logsrvd_journal.c:185 logsrvd/logsrvd_journal.c:460 +#: logsrvd/logsrvd_journal.c:465 +msgid "unable to write journal file" +msgstr "저널 파일을 기록할 수 없습니다" + +#: logsrvd/logsrvd_journal.c:193 logsrvd/logsrvd_journal.c:200 +msgid "unable to rename journal file" +msgstr "저널 파일 이름을 바꿀 수 없습니다" + +#: logsrvd/logsrvd_journal.c:247 logsrvd/logsrvd_journal.c:248 +#: logsrvd/logsrvd_journal.c:282 logsrvd/logsrvd_journal.c:283 +msgid "unexpected EOF reading journal file" +msgstr "저널 파일 읽는 중 예기치 않은 파일 끝 발견" + +#: logsrvd/logsrvd_journal.c:251 logsrvd/logsrvd_journal.c:252 +#: logsrvd/logsrvd_journal.c:286 logsrvd/logsrvd_journal.c:287 +msgid "error reading journal file" +msgstr "저널 파일 읽기 오류" + +#: logsrvd/logsrvd_journal.c:298 logsrvd/logsrvd_journal.c:384 +msgid "invalid journal file, unable to restart" +msgstr "부적절한 저널 파일. 다시 시작할 수 없습니다" + +#: logsrvd/logsrvd_journal.c:443 +#, c-format +msgid "unable to seek to [%lld, %ld] in journal file %s" +msgstr "%3$s 저널 파일에서 [%1$lld, %2$ld] 위치를 탐색할 수 없습니다" + +#: logsrvd/logsrvd_local.c:166 +#, c-format +msgid "unexpected value_case %d in %s from %s" +msgstr "%3$s의 %2$s에서 예기지 않은 value_case 값 %1$d" + +#: logsrvd/logsrvd_local.c:194 +msgid "error parsing AcceptMessage" +msgstr "AcceptMessage 해석 오류" + +#: logsrvd/logsrvd_local.c:205 +msgid "error creating I/O log" +msgstr "입출력 로그 만드는 중 오류" + +#: logsrvd/logsrvd_local.c:228 +msgid "error logging accept event" +msgstr "수락 이벤트 로깅 중 오류" + +#: logsrvd/logsrvd_local.c:267 +msgid "error parsing RejectMessage" +msgstr "RejectMessage 해석 오류" + +#: logsrvd/logsrvd_local.c:291 +msgid "error logging reject event" +msgstr "거절 이벤트 로깅 중 오류" + +#: logsrvd/logsrvd_local.c:427 logsrvd/logsrvd_local.c:435 +msgid "error logging exit event" +msgstr "끝내기 이벤트 기록 오류" + +#: logsrvd/logsrvd_local.c:492 logsrvd/logsrvd_local.c:493 +msgid "log is already complete, cannot be restarted" +msgstr "로그를 이미 끝냈으며, 다시 시작할 수 없습니다" + +#: logsrvd/logsrvd_local.c:523 +msgid "unable to restart log" +msgstr "로그를 다시 시작할 수 없습니다" + +#: logsrvd/logsrvd_local.c:539 +msgid "error parsing AlertMessage" +msgstr "AlertMessage 해석 오류" + +#: logsrvd/logsrvd_local.c:549 +msgid "error logging alert event" +msgstr "경고 이벤트 로깅 중 오류" + +#: logsrvd/logsrvd_local.c:585 logsrvd/logsrvd_local.c:648 +#: logsrvd/logsrvd_local.c:683 +#, c-format +msgid "unable to format timing buffer, length %d" +msgstr "길이 %d인 타이밍 버퍼를 포매팅할 수 없습니다" + +#: logsrvd/logsrvd_local.c:599 logsrvd/logsrvd_local.c:607 +#: logsrvd/logsrvd_local.c:655 logsrvd/logsrvd_local.c:690 +#: plugins/sudoers/sudoreplay.c:344 +#, c-format +msgid "%s/%s: %s" +msgstr "%s/%s: %s" + +#: logsrvd/logsrvd_local.c:618 +msgid "randomly dropping connection" +msgstr "연결이 임의로 끊김" + +#: logsrvd/logsrvd_local.c:630 +msgid "error writing IoBuffer" +msgstr "입출력 버퍼 기록 중 오류" + +#: logsrvd/logsrvd_local.c:665 +msgid "error writing ChangeWindowSize" +msgstr "ChangeWindowSize 기록 중 오류" + +#: logsrvd/logsrvd_local.c:700 +msgid "error writing CommandSuspend" +msgstr "CommandSuspend 기록 중 오류" + +#: logsrvd/logsrvd_relay.c:435 +msgid "TLS handshake with relay host failed" +msgstr "릴레이 호스트와의 TLS 핸드 셰이크 실패" + +#: logsrvd/logsrvd_relay.c:463 +msgid "unable to connect to relay host" +msgstr "릴레이 호스트에 연결할 수 없습니다" + +#: logsrvd/logsrvd_relay.c:518 +#, c-format +msgid "%s: invalid ServerHello, missing server_id" +msgstr "%s: 부적절한 ServerHello, server_id가 빠졌습니다" + +#: logsrvd/logsrvd_relay.c:520 logsrvd/sendlog.c:1096 +#: plugins/sudoers/log_client.c:1468 +msgid "invalid ServerHello" +msgstr "부적절한 ServerHello" + +#: logsrvd/logsrvd_relay.c:679 +msgid "unrecognized ServerMessage type" +msgstr "인식할 수 없는 ServerMessage 형식" + +#: logsrvd/logsrvd_relay.c:708 +#, c-format +msgid "timed out reading from relay %s (%s)" +msgstr "릴레이 %s에서 읽기 시간 초과 (%s)" + +#: logsrvd/logsrvd_relay.c:710 +msgid "timeout reading from relay" +msgstr "릴레이 데이터 읽기 시간 초과" + +#: logsrvd/logsrvd_relay.c:762 +msgid "relay host name does not match certificate" +msgstr "릴레이 호스트 이름이 인증서와 일치하지 않습니다" + +#: logsrvd/logsrvd_relay.c:768 logsrvd/logsrvd_relay.c:782 +#: logsrvd/logsrvd_relay.c:789 +msgid "error reading from relay" +msgstr "릴레이 데이터 읽는 중 오류" + +#: logsrvd/logsrvd_relay.c:810 +msgid "unable to read from relay" +msgstr "릴레이 데이터를 읽을 수 없습니다" + +#: logsrvd/logsrvd_relay.c:825 logsrvd/logsrvd_relay.c:943 +msgid "relay server closed connection" +msgstr "릴레이 서버 연결을 끊었습니다" + +#: logsrvd/logsrvd_relay.c:843 +msgid "server message too large" +msgstr "서버 메시지가 너무 깁니다" + +#: logsrvd/logsrvd_relay.c:907 +#, c-format +msgid "timed out writing to relay %s (%s)" +msgstr "릴레이 %s에 기록 시간 초과 (%s)" + +#: logsrvd/logsrvd_relay.c:909 +msgid "timeout writing to relay" +msgstr "릴레이 기록 시간 초과" + +#: logsrvd/logsrvd_relay.c:962 logsrvd/logsrvd_relay.c:969 +#: logsrvd/logsrvd_relay.c:981 +msgid "error writing to relay" +msgstr "릴레이 기록 중 오류" + +#: logsrvd/sendlog.c:119 +msgid "send sudo I/O log to remote server" +msgstr "원격 서버에 sudo 입출력 로그를 보냅니다" + +#: logsrvd/sendlog.c:125 +msgid "only send an accept event (no I/O)" +msgstr "허용 이벤트만 보냅니다 (입출력 안함)" + +#: logsrvd/sendlog.c:128 +msgid "certificate bundle file to verify server's cert against" +msgstr "서버의 인증서 검증에 활용할 인증서 번들 파일" + +#: logsrvd/sendlog.c:130 +msgid "certificate file for TLS handshake" +msgstr "TLS 암호 키 교환에 사용할 인증서 파일" + +#: logsrvd/sendlog.c:133 +msgid "host to send logs to" +msgstr "로그를 보낼 호스트" + +#: logsrvd/sendlog.c:135 +msgid "remote ID of I/O log to be resumed" +msgstr "다시 진행할 입출력 로그의 원격 ID" + +#: logsrvd/sendlog.c:138 +msgid "private key file" +msgstr "개인 키 파일" + +#: logsrvd/sendlog.c:140 +msgid "do not verify server certificate" +msgstr "서버 인증서를 검증하지 않습니다" + +#: logsrvd/sendlog.c:143 +msgid "port to use when connecting to host" +msgstr "호스트에 연결할 때 활용할 포트 번호" + +#: logsrvd/sendlog.c:145 +msgid "restart previous I/O log transfer" +msgstr "이전 입출력 로그 전송을 다시 시작합니다" + +#: logsrvd/sendlog.c:147 +msgid "reject the command with the given reason" +msgstr "주어진 사유로 명령 실행을 거절합니다" + +#: logsrvd/sendlog.c:149 +msgid "stop transfer after reaching this time" +msgstr "이 시간에 도달한 후 전송 중단" + +#: logsrvd/sendlog.c:151 +msgid "test audit server by sending selected I/O log n times in parallel" +msgstr "선택한 입출력 로그를 동시에 N번 보내어 감사 서버 시험" + +#: logsrvd/sendlog.c:176 plugins/sudoers/log_client.c:453 +#, c-format +msgid "unable to look up %s:%s: %s" +msgstr "%s:%s을(를) 찾을 수 없습니다: %s" + +#: logsrvd/sendlog.c:214 +msgid "unable to get server IP addr" +msgstr "서버 IP 주소를 가져올 수 없습니다" + +#: logsrvd/sendlog.c:300 plugins/sudoers/sudoreplay.c:868 +#, c-format +msgid "unable to read %s/%s: %s" +msgstr "%s/%s을(를) 읽을 수 없습니다: %s" + +#: logsrvd/sendlog.c:1020 plugins/sudoers/iolog.c:949 +#: plugins/sudoers/iolog.c:1024 +#, c-format +msgid "unexpected I/O event %d" +msgstr "예기치 않은 입출력 이벤트 %d" + +#: logsrvd/sendlog.c:1073 logsrvd/sendlog.c:1090 logsrvd/sendlog.c:1124 +#: plugins/sudoers/log_client.c:1118 plugins/sudoers/log_client.c:1394 +#: plugins/sudoers/log_client.c:1462 plugins/sudoers/log_client.c:1501 +#, c-format +msgid "%s: unexpected state %d" +msgstr "%s: 예기치 않은 상태 번호 %d" + +#: logsrvd/sendlog.c:1160 plugins/sudoers/log_client.c:1550 +#, c-format +msgid "error message received from server: %s" +msgstr "서버로부터 오류 메시지를 받았습니다: %s" + +#: logsrvd/sendlog.c:1173 plugins/sudoers/log_client.c:1563 +#, c-format +msgid "abort message received from server: %s" +msgstr "서버로부터 중단 메시지를 받았습니다: %s" + +#: logsrvd/sendlog.c:1232 plugins/sudoers/log_client.c:1613 +#, c-format +msgid "%s: unexpected type_case value %d" +msgstr "%s: 예기지 않은 type_case 값 %d" + +#: logsrvd/sendlog.c:1261 +msgid "timeout reading from server" +msgstr "서버 데이터 읽기 시간 초과" + +#: logsrvd/sendlog.c:1310 plugins/sudoers/log_client.c:1729 +msgid "host name does not match certificate" +msgstr "호스트 이름이 인증서와 일치하지 않습니다" + +#: logsrvd/sendlog.c:1343 +msgid "premature EOF" +msgstr "갑작스러운 EOF" + +#: logsrvd/sendlog.c:1356 plugins/sudoers/log_client.c:1776 +#, c-format +msgid "server message too large: %u" +msgstr "서버 메시지가 너무 깁니다: %u" + +#: logsrvd/sendlog.c:1412 +msgid "timeout writing to server" +msgstr "서버 기록 시간 초과" + +#: logsrvd/sendlog.c:1779 +msgid "both restart point and iolog ID must be specified" +msgstr "다시 시작 지점과 입출력 로그 ID를 반드시 지정해야합니다" + +#: logsrvd/sendlog.c:1783 +msgid "a restart point may not be set when no I/O is sent" +msgstr "입출력을 보내지 않을 때 다시 시작 지점을 지정하지 않습니다" + +#: logsrvd/sendlog.c:1859 +#, c-format +msgid "exited prematurely with state %d" +msgstr "%d 상태로 갑자기 빠져나왔습니다" + +#: logsrvd/sendlog.c:1860 +#, c-format +msgid "elapsed time sent to server [%lld, %ld]" +msgstr "경과 시간을 서버로 보냈습니다 [%lld, %ld]" + +#: logsrvd/sendlog.c:1862 +#, c-format +msgid "commit point received from server [%lld, %ld]" +msgstr "제출 지점 정보를 서버로부터 받았습니다 [%lld, %ld]" + +#: logsrvd/tls_client.c:111 plugins/sudoers/log_client.c:315 +msgid "TLS handshake timeout occurred" +msgstr "TLS 핸드셰이크 시간을 초과했습니다" + +#: logsrvd/tls_client.c:131 logsrvd/tls_client.c:147 +#: plugins/sudoers/log_client.c:337 plugins/sudoers/log_client.c:353 +msgid "unable to set event" +msgstr "이벤트를 설정할 수 없습니다" + +#: logsrvd/tls_client.c:157 logsrvd/tls_client.c:161 +#, c-format +msgid "TLS connection failed: %s" +msgstr "TLS 연결 실패: %s" + +#: logsrvd/tls_client.c:196 +#, c-format +msgid "unable to allocate ssl object: %s" +msgstr "SSL 객체를 할당할 수 없습니다: %s" + +#: logsrvd/tls_client.c:210 +#, c-format +msgid "Unable to attach socket to the ssl object: %s" +msgstr "SSL 객체에 소켓을 붙일 수 없습니다: %s" + +#: logsrvd/tls_client.c:238 +msgid "unable to initialize TLS context" +msgstr "TLS 컨텍스트를 초기화할 수 없습니다" + +#: logsrvd/tls_init.c:138 logsrvd/tls_init.c:146 +#, c-format +msgid "unable to set TLS 1.2 ciphersuite to %s: %s" +msgstr "%s에 TLS 1.2 암호 모음을 설정할 수 없습니다: %s" + +#: logsrvd/tls_init.c:166 logsrvd/tls_init.c:174 +#, c-format +msgid "unable to set TLS 1.3 ciphersuite to %s: %s" +msgstr "%s에 TLS 1.3 암호 모음을 설정할 수 없습니다: %s" + +#: logsrvd/tls_init.c:206 logsrvd/tls_init.c:227 +#, c-format +msgid "unable to set diffie-hellman parameters: %s" +msgstr "디피-헬먼 매개변수를 설정할 수 없습니다: %s" + +#: logsrvd/tls_init.c:283 +#, c-format +msgid "unable to create TLS context: %s" +msgstr "TLS 컨텍스트를 만들 수 없습니다: %s" + +#: logsrvd/tls_init.c:290 +#, c-format +msgid "unable to set minimum protocol version to TLS 1.2: %s" +msgstr "TLS 프로토콜 최소 버전을 1.2로 설정할 수 없습니다: %s" + +#: plugins/sudoers/audit.c:269 plugins/sudoers/audit.c:429 +#: plugins/sudoers/log_client.c:951 plugins/sudoers/log_client.c:1000 +#: plugins/sudoers/log_client.c:1049 plugins/sudoers/log_client.c:1174 +#: plugins/sudoers/logging.c:595 plugins/sudoers/logging.c:693 +#: plugins/sudoers/logging.c:796 plugins/sudoers/logging.c:987 +#: plugins/sudoers/policy.c:125 +msgid "unable to get time of day" +msgstr "일시 정보를 가져올 수 없습니다" + +#: plugins/sudoers/auth/aix_auth.c:280 +#, c-format +msgid "unable to change password for %s" +msgstr "%s의 암호를 바꿀 수 없습니다" + +#: plugins/sudoers/auth/bsdauth.c:74 +#, c-format +msgid "unable to get login class for user %s" +msgstr "%s 사용자의 로그인 클래스를 가져올 수 없습니다" + +#: plugins/sudoers/auth/bsdauth.c:79 +msgid "unable to begin bsd authentication" +msgstr "BSD 인증을 시작할 수 없습니다" + +#: plugins/sudoers/auth/bsdauth.c:87 +msgid "invalid authentication type" +msgstr "부적절한 인증 형식" + +#: plugins/sudoers/auth/bsdauth.c:96 +msgid "unable to initialize BSD authentication" +msgstr "BSD 인증을 초기화할 수 없습니다" + +#: plugins/sudoers/auth/bsdauth.c:186 +msgid "your account has expired" +msgstr "계정 유효 기간이 지났습니다" + +#: plugins/sudoers/auth/bsdauth.c:188 +msgid "approval failed" +msgstr "승인 실패" + +#: plugins/sudoers/auth/fwtk.c:61 +msgid "unable to read fwtk config" +msgstr "fwtk 설정을 읽을 수 없습니다" + +#: plugins/sudoers/auth/fwtk.c:66 +msgid "unable to connect to authentication server" +msgstr "인증 서버에 연결할 수 없습니다" + +#: plugins/sudoers/auth/fwtk.c:72 plugins/sudoers/auth/fwtk.c:97 +#: plugins/sudoers/auth/fwtk.c:129 +msgid "lost connection to authentication server" +msgstr "인증 서버의 연결이 끊어졌습니다" + +#: plugins/sudoers/auth/fwtk.c:76 +#, c-format +msgid "" +"authentication server error:\n" +"%s" +msgstr "" +"인증 서버 오류:\n" +"%s" + +#: plugins/sudoers/auth/kerb5.c:115 +#, c-format +msgid "%s: unable to convert principal to string ('%s'): %s" +msgstr "%s: 본인 정보를 문자열('%s')로 변환할 수 없습니다: %s" + +#: plugins/sudoers/auth/kerb5.c:164 +#, c-format +msgid "%s: unable to parse '%s': %s" +msgstr "%s: '%s'을(를) 해석할 수 없습니다: %s" + +#: plugins/sudoers/auth/kerb5.c:173 +#, c-format +msgid "%s: unable to resolve credential cache: %s" +msgstr "%s: 자격 정보 캐시를 해석할 수 없습니다: %s" + +#: plugins/sudoers/auth/kerb5.c:222 +#, c-format +msgid "%s: unable to allocate options: %s" +msgstr "%s: 옵션을 할당할 수 없습니다: %s" + +#: plugins/sudoers/auth/kerb5.c:237 +#, c-format +msgid "%s: unable to get credentials: %s" +msgstr "%s: 자격 정보를 가져올 수 없습니다: %s" + +#: plugins/sudoers/auth/kerb5.c:250 +#, c-format +msgid "%s: unable to initialize credential cache: %s" +msgstr "%s: 자격 정보 캐시를 초기화할 수 없습니다: %s" + +#: plugins/sudoers/auth/kerb5.c:253 +#, c-format +msgid "%s: unable to store credential in cache: %s" +msgstr "%s: 캐시에 자격 정보를 저장할 수 없습니다: %s" + +#: plugins/sudoers/auth/kerb5.c:317 +#, c-format +msgid "%s: unable to get host principal: %s" +msgstr "%s: 호스트 정보를 가져올 수 없습니다: %s" + +#: plugins/sudoers/auth/kerb5.c:331 +#, c-format +msgid "%s: Cannot verify TGT! Possible attack!: %s" +msgstr "%s: TGT를 검증할 수 없습니다! 공격 가능성이 있습니다!: %s" + +#: plugins/sudoers/auth/pam.c:224 +#, c-format +msgid "unable to initialize PAM: %s" +msgstr "PAM을 초기화할 수 없습니다: %s" + +#: plugins/sudoers/auth/pam.c:337 +#, c-format +msgid "PAM authentication error: %s" +msgstr "PAM 인증 오류: %s" + +#: plugins/sudoers/auth/pam.c:356 +msgid "account validation failure, is your account locked?" +msgstr "계정 검증 실패, 계정이 잠겼습니까?" + +#: plugins/sudoers/auth/pam.c:367 +msgid "Account or password is expired, reset your password and try again" +msgstr "계정 또는 암호 기한이 지났습니다. 암호를 다시 설정한 후 시도하십시오" + +#: plugins/sudoers/auth/pam.c:373 +#, c-format +msgid "unable to change expired password: %s" +msgstr "기한이 지난 암호를 바꿀 수 없습니다: %s" + +#: plugins/sudoers/auth/pam.c:384 +msgid "Password expired, contact your system administrator" +msgstr "암호 기한이 지났습니다. 시스템 관리자에게 문의하십시오" + +#: plugins/sudoers/auth/pam.c:389 +msgid "Account expired or PAM config lacks an \"account\" section for sudo, contact your system administrator" +msgstr "계정 기한이 지났거나 PAM 설정에 sudo에서 확인할 \"account\" 섹션이 빠졌습니다. 시스템 관리자에게 문의하십시오." + +#: plugins/sudoers/auth/pam.c:397 plugins/sudoers/auth/pam.c:402 +#, c-format +msgid "PAM account management error: %s" +msgstr "PAM 계정 관리 오류: %s" + +#: plugins/sudoers/auth/rfc1938.c:99 plugins/sudoers/visudo.c:271 +#, c-format +msgid "you do not exist in the %s database" +msgstr "%s 데이터베이스에 없습니다" + +#: plugins/sudoers/auth/securid5.c:75 +msgid "failed to initialise the ACE API library" +msgstr "ACE API 라이브러리 초기화에 실패했습니다" + +#: plugins/sudoers/auth/securid5.c:106 +msgid "unable to contact the SecurID server" +msgstr "SecurID 서버에 연결할 수 없습니다" + +#: plugins/sudoers/auth/securid5.c:115 +msgid "User ID locked for SecurID Authentication" +msgstr "SecurID 인증 과정에 사용자 ID가 잠겼습니다" + +#: plugins/sudoers/auth/securid5.c:119 plugins/sudoers/auth/securid5.c:171 +msgid "invalid username length for SecurID" +msgstr "SecurID용 사용자 이름 길이가 잘못되었습니다" + +#: plugins/sudoers/auth/securid5.c:123 plugins/sudoers/auth/securid5.c:176 +msgid "invalid Authentication Handle for SecurID" +msgstr "SecurID용 인증 핸들이 잘못되었습니다" + +#: plugins/sudoers/auth/securid5.c:127 +msgid "SecurID communication failed" +msgstr "SecurID 통신에 실패했습니다" + +#: plugins/sudoers/auth/securid5.c:131 plugins/sudoers/auth/securid5.c:219 +msgid "unknown SecurID error" +msgstr "알 수 없는 SecurID 오류" + +#: plugins/sudoers/auth/securid5.c:166 +msgid "invalid passcode length for SecurID" +msgstr "SecurID용 암호 길이가 잘못되었습니다" + +#: plugins/sudoers/auth/sia.c:69 plugins/sudoers/auth/sia.c:126 +msgid "unable to initialize SIA session" +msgstr "SIA 세션을 초기화할 수 없습니다" + +#: plugins/sudoers/auth/sudo_auth.c:135 +msgid "invalid authentication methods" +msgstr "부적절한 인증 방식" + +#: plugins/sudoers/auth/sudo_auth.c:137 +msgid "Invalid authentication methods compiled into sudo! You may not mix standalone and non-standalone authentication." +msgstr "sudo에 컴파일한 인증 방식이 잘못됐습니다! 독립-비독립 인증 방식을 혼합하여 활용하면 안됩니다." + +#: plugins/sudoers/auth/sudo_auth.c:258 plugins/sudoers/auth/sudo_auth.c:310 +msgid "no authentication methods" +msgstr "인증 방식 없음" + +#: plugins/sudoers/auth/sudo_auth.c:260 +msgid "There are no authentication methods compiled into sudo! If you want to turn off authentication, use the --disable-authentication configure option." +msgstr "sudo에 컴파일한 인증 방식이 없습니다! 인증 기능을 끄려면 --disable-authentication 설정 옵션을 사용하십시오." + +#: plugins/sudoers/auth/sudo_auth.c:312 +msgid "Unable to initialize authentication methods." +msgstr "인증 방식을 초기화할 수 없습니다." + +#: plugins/sudoers/auth/sudo_auth.c:486 +msgid "Authentication methods:" +msgstr "인증 방식:" + +#: plugins/sudoers/bsm_audit.c:123 plugins/sudoers/bsm_audit.c:214 +msgid "Could not determine audit condition" +msgstr "감사 상태를 결정할 수 없습니다" + +#: plugins/sudoers/bsm_audit.c:188 plugins/sudoers/bsm_audit.c:277 +msgid "unable to commit audit record" +msgstr "감사 레코드를 제출할 수 없습니다" + +#: plugins/sudoers/check.c:285 +#, c-format +msgid "error reading lecture file %s" +msgstr "%s 지시 파일 읽기 오류" + +#: plugins/sudoers/check.c:288 +#, c-format +msgid "ignoring lecture file %s: not a regular file" +msgstr "%s 지시 파일 무시: 일반 파일이 아닙니다" + +#: plugins/sudoers/check.c:301 +msgid "" +"\n" +"We trust you have received the usual lecture from the local System\n" +"Administrator. It usually boils down to these three things:\n" +"\n" +" #1) Respect the privacy of others.\n" +" #2) Think before you type.\n" +" #3) With great power comes great responsibility.\n" +"\n" +msgstr "" +"\n" +"로컬 시스템 관리자에게 일반적인 지침을 받았으리라 믿습니다.\n" +"보통 세가지로 요약합니다:\n" +"\n" +" #1) 타인의 사생활을 존중하십시오.\n" +" #2) 입력하기 전에 한 번 더 생각하십시오.\n" +" #3) 막강한 힘에는 상당한 책임이 뒤따릅니다.\n" +"\n" + +#: plugins/sudoers/check.c:309 +msgid "" +"For security reasons, the password you type will not be visible.\n" +"\n" +msgstr "" +"보안상 사유로, 입력한 암호는 나타나지 않습니다.\n" +"\n" + +#: plugins/sudoers/check.c:353 plugins/sudoers/check.c:363 +#: plugins/sudoers/parse.c:82 plugins/sudoers/sudoers.c:945 +#: plugins/sudoers/sudoers.c:966 plugins/sudoers/tsdump.c:119 +#, c-format +msgid "unknown uid %u" +msgstr "알 수 없는 uid %u" + +#: plugins/sudoers/check_aliases.c:99 plugins/sudoers/defaults.c:1279 +#, c-format +msgid "%s: %s\n" +msgstr "%s: %s\n" + +#: plugins/sudoers/check_aliases.c:133 +#, c-format +msgid "cycle in %s \"%s\"" +msgstr "%s의 사이클 \"%s\"" + +#: plugins/sudoers/check_aliases.c:136 +#, c-format +msgid "%s \"%s\" referenced but not defined" +msgstr "%s \"%s\"을(를) 참조했지만 정의하지는 않았습니다" + +#: plugins/sudoers/cvtsudoers.c:209 +#, c-format +msgid "order increment: %s: %s" +msgstr "순서 증가: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:228 +#, c-format +msgid "starting order: %s: %s" +msgstr "순서 시작: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:238 +#, c-format +msgid "order padding: %s: %s" +msgstr "순서 패딩: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:248 plugins/sudoers/visudo.c:184 +#, c-format +msgid "%s grammar version %d\n" +msgstr "%s 문법 버전 %d\n" + +#: plugins/sudoers/cvtsudoers.c:277 plugins/sudoers/testsudoers.c:159 +#, c-format +msgid "unsupported input format %s" +msgstr "지원하지 않는 %s 입력 형식" + +#: plugins/sudoers/cvtsudoers.c:295 +#, c-format +msgid "unsupported output format %s" +msgstr "지원하지 않는 %s 출력 형식" + +#: plugins/sudoers/cvtsudoers.c:385 +#, c-format +msgid "%s: input and output files must be different" +msgstr "%s: 입출력 파일은 달라야합니다" + +#: plugins/sudoers/cvtsudoers.c:399 plugins/sudoers/sudoers.c:166 +#: plugins/sudoers/sudoers.c:222 plugins/sudoers/testsudoers.c:254 +#: plugins/sudoers/visudo.c:280 plugins/sudoers/visudo.c:654 +msgid "unable to initialize sudoers default values" +msgstr "sudoers 기본 값을 초기화할 수 없습니다" + +#: plugins/sudoers/cvtsudoers.c:525 plugins/sudoers/ldap_conf.c:434 +#, c-format +msgid "%s: %s: %s: %s" +msgstr "%s: %s: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:584 +#, c-format +msgid "%s: unknown key word %s" +msgstr "%s: 알 수 없는 키워드 %s" + +#: plugins/sudoers/cvtsudoers.c:630 +#, c-format +msgid "invalid defaults type: %s" +msgstr "부적절한 기본 형식: %s" + +#: plugins/sudoers/cvtsudoers.c:653 +#, c-format +msgid "invalid suppression type: %s" +msgstr "부적절한 생략 형식: %s" + +#: plugins/sudoers/cvtsudoers.c:694 plugins/sudoers/cvtsudoers.c:710 +#, c-format +msgid "invalid filter: %s" +msgstr "부적절한 필터: %s" + +#: plugins/sudoers/cvtsudoers.c:754 plugins/sudoers/visudo.c:982 +#, c-format +msgid "failed to parse %s file, unknown error" +msgstr "%s 파일 해석에 실패했습니다. 알 수 없는 오류." + +#: plugins/sudoers/cvtsudoers.c:1478 plugins/sudoers/sudoreplay.c:1142 +#: plugins/sudoers/timestamp.c:343 plugins/sudoers/timestamp.c:346 +#, c-format +msgid "unable to write to %s" +msgstr "%s에 기록할 수 없습니다" + +#: plugins/sudoers/cvtsudoers.c:1506 +#, c-format +msgid "" +"%s - convert between sudoers file formats\n" +"\n" +msgstr "" +"%s - sudoers 파일 형식을 변환합니다\n" +"\n" + +#: plugins/sudoers/cvtsudoers.c:1508 +msgid "" +"\n" +"Options:\n" +" -b, --base=dn the base DN for sudo LDAP queries\n" +" -c, --config=conf_file the path to the configuration file\n" +" -d, --defaults=deftypes only convert Defaults of the specified types\n" +" -e, --expand-aliases expand aliases when converting\n" +" -f, --output-format=format set output format: JSON, LDIF or sudoers\n" +" -i, --input-format=format set input format: LDIF or sudoers\n" +" -I, --increment=num amount to increase each sudoOrder by\n" +" -h, --help display help message and exit\n" +" -m, --match=filter only convert entries that match the filter\n" +" -M, --match-local match filter uses passwd and group databases\n" +" -o, --output=output_file write converted sudoers to output_file\n" +" -O, --order-start=num starting point for first sudoOrder\n" +" -p, --prune-matches prune non-matching users, groups and hosts\n" +" -P, --padding=num base padding for sudoOrder increment\n" +" -s, --suppress=sections suppress output of certain sections\n" +" -V, --version display version information and exit" +msgstr "" +"\n" +"옵션:\n" +" -b, --base=dn sudo LDAP 요청문에 사용할 기본 DN값\n" +" -c, --config=<설정파일> 설정 파일 경로를 지정합니다\n" +" -d, --defaults=<기본형식> 지정 <기본형식>만 변환합니다\n" +" -e, --expand-aliases 변환시 별칭을 확장합니다.\n" +" -f, --output-format=<형식> 출력 <형식> 지정: JSON, LDIF, sudoers\n" +" -i, --input-format=<형식> 입력 <형식> 지정: LDIF, sudoers\n" +" -I, --increment=<숫자> 각 sudoOrder 증가량\n" +" -h, --help 도움말 메시지를 표시하고 빠져나갑니다\n" +" -m, --match=<필터> <필터>에 일치하는 항목만 변환합니다\n" +" -M, --match-local 일치 필터에서 passwd와 group 데이터베이스를 사용\n" +" -o, --output=<출력파일> 변환한 sudoers 정보를 <출력파일>에 기록\n" +" -O, --order-start=<숫자> sudoOrder 시작 번호\n" +" -p, --prune-matches 일치하지 않는 사용자, 그룹, 호스트는 제외합니다\n" +" -P, --padding=<숫자> sudoOrder 숫자를 증가할 기본 패딩값\n" +" -s, --suppress=<섹션> 지정 <섹션> 출력은 제외합니다\n" +" -V, --version 버전 정보를 표시하고 빠져나갑니다" + +#: plugins/sudoers/cvtsudoers_csv.c:192 plugins/sudoers/cvtsudoers_csv.c:199 +#: plugins/sudoers/cvtsudoers_ldif.c:244 plugins/sudoers/cvtsudoers_ldif.c:251 +#: plugins/sudoers/cvtsudoers_ldif.c:592 plugins/sudoers/env.c:340 +#: plugins/sudoers/env.c:347 plugins/sudoers/env.c:458 +#: plugins/sudoers/ldap.c:528 plugins/sudoers/ldap.c:761 +#: plugins/sudoers/ldap.c:1134 plugins/sudoers/ldap_conf.c:222 +#: plugins/sudoers/ldap_conf.c:313 plugins/sudoers/ldap_util.c:486 +#: plugins/sudoers/linux_audit.c:92 plugins/sudoers/logging.c:461 +#: plugins/sudoers/logging.c:817 plugins/sudoers/logging.c:827 +#: plugins/sudoers/policy.c:807 plugins/sudoers/policy.c:818 +#: plugins/sudoers/prompt.c:168 plugins/sudoers/serialize_list.c:62 +#: plugins/sudoers/serialize_list.c:71 plugins/sudoers/strvec_join.c:62 +#: plugins/sudoers/sudoreplay.c:1339 plugins/sudoers/sudoreplay.c:1345 +#: plugins/sudoers/sudoreplay.c:1351 plugins/sudoers/testsudoers.c:245 +#: plugins/sudoers/toke_util.c:213 toke.l:995 toke.l:1197 +#, c-format +msgid "internal error, %s overflow" +msgstr "내부 오류. %s 오버플로우" + +#: plugins/sudoers/cvtsudoers_csv.c:452 plugins/sudoers/cvtsudoers_csv.c:466 +#: plugins/sudoers/cvtsudoers_json.c:657 plugins/sudoers/cvtsudoers_json.c:672 +#: plugins/sudoers/cvtsudoers_ldif.c:347 plugins/sudoers/cvtsudoers_ldif.c:360 +#: plugins/sudoers/ldap.c:512 +msgid "unable to get GMT time" +msgstr "GMT 시간을 가져올 수 없습니다" + +#: plugins/sudoers/cvtsudoers_csv.c:457 plugins/sudoers/cvtsudoers_csv.c:471 +#: plugins/sudoers/cvtsudoers_json.c:662 plugins/sudoers/cvtsudoers_json.c:677 +#: plugins/sudoers/cvtsudoers_ldif.c:352 plugins/sudoers/cvtsudoers_ldif.c:365 +#: plugins/sudoers/ldap.c:520 +msgid "unable to format timestamp" +msgstr "타임스탬프를 형식에 맞출 수 없습니다" + +#: plugins/sudoers/cvtsudoers_json.c:480 plugins/sudoers/cvtsudoers_json.c:515 +#: plugins/sudoers/cvtsudoers_json.c:728 +#, c-format +msgid "%s:%d:%d: unknown defaults entry \"%s\"" +msgstr "%s:%d:%d: 알 수 없는 \"%s\" 기본 항목" + +#: plugins/sudoers/cvtsudoers_ldif.c:661 +#, c-format +msgid "too many sudoers entries, maximum %u" +msgstr "sudoers 항목이 너무 많습니다. 최대 갯수는 %u개 입니다" + +#: plugins/sudoers/cvtsudoers_ldif.c:704 +msgid "the SUDOERS_BASE environment variable is not set and the -b option was not specified." +msgstr "SUDOERS_BASE 환경 변수를 설정하지 않았으며 -b 옵션을 지정하지 않았습니다." + +#: plugins/sudoers/cvtsudoers_merge.c:273 +#: plugins/sudoers/cvtsudoers_merge.c:309 +#, c-format +msgid "%s:%d:%d: converting host list to ALL" +msgstr "%s:%d:%d: 호스트 목록을 ALL로 바꿈" + +#: plugins/sudoers/cvtsudoers_merge.c:545 +#, c-format +msgid "unable to find alias %s" +msgstr "%s 별칭을 찾을 수 없습니다" + +#: plugins/sudoers/cvtsudoers_merge.c:548 +#, c-format +msgid "%s:%d:%d: renaming alias %s to %s" +msgstr "%s:%d:%d: %s 별칭을 %s(으)로 바꿈" + +#: plugins/sudoers/cvtsudoers_merge.c:605 +#, c-format +msgid "%s:%d:%d: removing duplicate alias %s" +msgstr "%s:%d:%d: %s 중복 별칭 제거 중" + +#: plugins/sudoers/cvtsudoers_merge.c:830 +#, c-format +msgid "%s:%d:%d: conflicting Defaults entry \"%s\" host-specific in %s:%d:%d" +msgstr "%1$s:%2$d:%3$d: %5$s:%6$d:%7$d에서 호스트별 \"%4$s\" 기본 항목 중복" + +#: plugins/sudoers/cvtsudoers_merge.c:864 +#, c-format +msgid "%s:%d:%d: made Defaults \"%s\" specific to host %s" +msgstr "%s:%d:%d: \"%s\"에 대한 %s 호스트를 기본으로 지정" + +#: plugins/sudoers/cvtsudoers_merge.c:882 +#, c-format +msgid "%s:%d:%d: unable to make Defaults \"%s\" host-specific" +msgstr "%s:%d:%d: 호스트별 \"%s\" 기본 항목을 설정할 수 없습니다" + +#: plugins/sudoers/cvtsudoers_merge.c:892 +#, c-format +msgid "%s:%d:%d: removing Defaults \"%s\" overridden by subsequent entries" +msgstr "%s:%d:%d: 하위 항목이 우선하는 기본 \"%s\" 항목 제거 중" + +#: plugins/sudoers/cvtsudoers_merge.c:1088 +#, c-format +msgid "%s:%d:%d: merging userspec into %s:%d:%d" +msgstr "%1$s:%2$d:%3$d: %4$s:%5$d:%6$d에 사용자 설정 병합" + +#: plugins/sudoers/cvtsudoers_merge.c:1182 +#, c-format +msgid "%s:%d:%d: removing userspec overridden by subsequent entries" +msgstr "%s:%d:%d: 하위 항목이 우선하는 사용자 지정 항목 제거 중" + +#: plugins/sudoers/def_data.c:56 +#, c-format +msgid "Syslog facility if syslog is being used for logging: %s" +msgstr "syslog를 기록 목적으로 활용할 때의 syslog 기능: %s" + +#: plugins/sudoers/def_data.c:60 +#, c-format +msgid "Syslog priority to use when user authenticates successfully: %s" +msgstr "사용자 인증에 성공했을 때 사용할 syslog 우선 순위: %s" + +#: plugins/sudoers/def_data.c:64 +#, c-format +msgid "Syslog priority to use when user authenticates unsuccessfully: %s" +msgstr "사용자 인증에 실패했을 때 사용할 syslog 우선 순위: %s" + +#: plugins/sudoers/def_data.c:68 +msgid "Put OTP prompt on its own line" +msgstr "일회용 암호 입력 프롬프트를 자체 줄에 표시" + +#: plugins/sudoers/def_data.c:72 +msgid "Ignore '.' in $PATH" +msgstr "$PATH의 '.' 무시" + +#: plugins/sudoers/def_data.c:76 +msgid "Always send mail when sudo is run" +msgstr "sudo를 실행할 때 항상 메일을 보냄" + +#: plugins/sudoers/def_data.c:80 +msgid "Send mail if user authentication fails" +msgstr "사용자가 인증에 실패했을 때 메일을 보냄" + +#: plugins/sudoers/def_data.c:84 +msgid "Send mail if the user is not in sudoers" +msgstr "사용자가 sudoer가 아닐 때 메일을 보냄" + +#: plugins/sudoers/def_data.c:88 +msgid "Send mail if the user is not in sudoers for this host" +msgstr "사용자가 이 호스트의 sudoer가 아닐 때 메일을 보냄" + +#: plugins/sudoers/def_data.c:92 +msgid "Send mail if the user is not allowed to run a command" +msgstr "사용자가 명령을 실행하도록 허용하지 않았을 때 메일을 보냄" + +#: plugins/sudoers/def_data.c:96 +msgid "Send mail if the user tries to run a command" +msgstr "사용자가 명령 실행을 시도했을 때 메일을 보냄" + +#: plugins/sudoers/def_data.c:100 +msgid "Use a separate timestamp for each user/tty combo" +msgstr "각 사용자/tty에 타임스탬프를 따로 사용" + +#: plugins/sudoers/def_data.c:104 +msgid "Lecture user the first time they run sudo" +msgstr "sudo를 처음 실행할 때 사용자에게 지침 안내" + +#: plugins/sudoers/def_data.c:108 +#, c-format +msgid "File containing the sudo lecture: %s" +msgstr "sudo 지침 안내가 들어있는 파일: %s" + +#: plugins/sudoers/def_data.c:112 +msgid "Require users to authenticate by default" +msgstr "기본적으로 사용자 인증 필요" + +#: plugins/sudoers/def_data.c:116 +msgid "Root may run sudo" +msgstr "루트 사용자의 sudo 실행" + +#: plugins/sudoers/def_data.c:120 +msgid "Log the hostname in the (non-syslog) log file" +msgstr "로그(비 syslog) 파일에 호스트 이름 기록" + +#: plugins/sudoers/def_data.c:124 +msgid "Log the year in the (non-syslog) log file" +msgstr "로그(비 syslog) 파일에 연도 기록" + +#: plugins/sudoers/def_data.c:128 +msgid "If sudo is invoked with no arguments, start a shell" +msgstr "sudo에 인자를 넣어 실행하지 않으면 셸 시작" + +#: plugins/sudoers/def_data.c:132 +msgid "Set $HOME to the target user when starting a shell with -s" +msgstr "-s 옵션으로 셸을 시작할 때 $HOME을 대상 사용자로 설정" + +#: plugins/sudoers/def_data.c:136 +msgid "Always set $HOME to the target user's home directory" +msgstr "항상 $HOME을 대상 사용자의 내 폴더로 설정" + +#: plugins/sudoers/def_data.c:140 +msgid "Allow some information gathering to give useful error messages" +msgstr "쓸만한 오류 메시지를 제공할 목적으로 일부 정보 수집 허용" + +#: plugins/sudoers/def_data.c:144 +msgid "Require fully-qualified hostnames in the sudoers file" +msgstr "sudoers 파일에 완전한 형태를 갖춘 호스트 이름 필요" + +#: plugins/sudoers/def_data.c:148 +msgid "Insult the user when they enter an incorrect password" +msgstr "올바르지 않은 암호를 입력했을 때 사용자 놀리기" + +#: plugins/sudoers/def_data.c:152 +msgid "Only allow the user to run sudo if they have a tty" +msgstr "tty를 보유한 사용자만 sudo 실행 허용" + +#: plugins/sudoers/def_data.c:156 +msgid "Visudo will honor the EDITOR environment variable" +msgstr "EDITOR 환경 변수 대신 visudo 사용" + +#: plugins/sudoers/def_data.c:160 +msgid "Prompt for root's password, not the users's" +msgstr "사용자 암호가 아닌 루트 암호 요구" + +#: plugins/sudoers/def_data.c:164 +msgid "Prompt for the runas_default user's password, not the users's" +msgstr "사용자 암호가 아닌 runas_default 사용자 암호 요구" + +#: plugins/sudoers/def_data.c:168 +msgid "Prompt for the target user's password, not the users's" +msgstr "사용자 암호가 아닌 대상 사용자 암호 요구" + +#: plugins/sudoers/def_data.c:172 +msgid "Apply defaults in the target user's login class if there is one" +msgstr "대상 사용자 로그인 클래스가 있다면 기본값 적용" + +#: plugins/sudoers/def_data.c:176 +msgid "Set the LOGNAME and USER environment variables" +msgstr "LOGNAME 및 USER 환경 변수 설정" + +#: plugins/sudoers/def_data.c:180 +msgid "Only set the effective uid to the target user, not the real uid" +msgstr "실제 uid가 아닌 대상 사용자에게 유효한 uid 설정" + +#: plugins/sudoers/def_data.c:184 +msgid "Don't initialize the group vector to that of the target user" +msgstr "대상 사용자의 그룹 벡터 초기화 안함" + +#: plugins/sudoers/def_data.c:188 +#, c-format +msgid "Length at which to wrap log file lines (0 for no wrap): %u" +msgstr "로그 파일 줄을 바꿀 줄의 한계 길이(0 값은 줄 바꿈 안함): %u" + +#: plugins/sudoers/def_data.c:192 +#, c-format +msgid "Authentication timestamp timeout: %.1f minutes" +msgstr "인증 타임스탬프 제한 시간: %.1f분" + +#: plugins/sudoers/def_data.c:196 +#, c-format +msgid "Password prompt timeout: %.1f minutes" +msgstr "암호 요구 제한시간: %.1f분" + +#: plugins/sudoers/def_data.c:200 +#, c-format +msgid "Number of tries to enter a password: %u" +msgstr "암호 입력 시도 횟수: %u" + +#: plugins/sudoers/def_data.c:204 +#, c-format +msgid "Umask to use or 0777 to use user's: 0%o" +msgstr "사용자가 활용할 umask 또는 0777: 0%o" + +#: plugins/sudoers/def_data.c:208 +#, c-format +msgid "Path to log file: %s" +msgstr "로그 파일 경로: %s" + +#: plugins/sudoers/def_data.c:212 +#, c-format +msgid "Path to mail program: %s" +msgstr "메일 프로그램 경로: %s" + +#: plugins/sudoers/def_data.c:216 +#, c-format +msgid "Flags for mail program: %s" +msgstr "메일 프로그램 플래그: %s" + +#: plugins/sudoers/def_data.c:220 +#, c-format +msgid "Address to send mail to: %s" +msgstr "메일을 보낼 주소: %s" + +#: plugins/sudoers/def_data.c:224 +#, c-format +msgid "Address to send mail from: %s" +msgstr "메일을 보내려는 주소: %s" + +#: plugins/sudoers/def_data.c:228 +#, c-format +msgid "Subject line for mail messages: %s" +msgstr "메일 메시지 제목 줄: %s" + +#: plugins/sudoers/def_data.c:232 +#, c-format +msgid "Incorrect password message: %s" +msgstr "올바르지 않은 암호 메시지: %s" + +#: plugins/sudoers/def_data.c:236 +#, c-format +msgid "Path to lecture status dir: %s" +msgstr "지침 상태 디렉터리 경로: %s" + +#: plugins/sudoers/def_data.c:240 +#, c-format +msgid "Path to authentication timestamp dir: %s" +msgstr "인증 타임스탬프 디렉터리 경로: %s" + +#: plugins/sudoers/def_data.c:244 +#, c-format +msgid "Owner of the authentication timestamp dir: %s" +msgstr "인증 타임스탬프 디렉터리 소유자: %s" + +#: plugins/sudoers/def_data.c:248 +#, c-format +msgid "Users in this group are exempt from password and PATH requirements: %s" +msgstr "암호와 PATH 변수 요구를 하지 않을 이 그룹의 사용자: %s" + +#: plugins/sudoers/def_data.c:252 +#, c-format +msgid "Default password prompt: %s" +msgstr "기본 암호 프롬프트: %s" + +#: plugins/sudoers/def_data.c:256 +msgid "If set, passprompt will override system prompt in all cases." +msgstr "설정하면 모든 경우의 시스템 프롬프트 대신 이 암호 프롬프트를 사용합니다." + +#: plugins/sudoers/def_data.c:260 +#, c-format +msgid "Default user to run commands as: %s" +msgstr "명령을 실행할 기본 사용자: %s" + +#: plugins/sudoers/def_data.c:264 +#, c-format +msgid "Value to override user's $PATH with: %s" +msgstr "사용자의 $PATH를 대신할 값: %s" + +#: plugins/sudoers/def_data.c:268 +#, c-format +msgid "Path to the editor for use by visudo: %s" +msgstr "visudo에서 사용할 편집기 경로: %s" + +#: plugins/sudoers/def_data.c:272 +#, c-format +msgid "When to require a password for 'list' pseudocommand: %s" +msgstr "'list' 유사 명령 실행시 암호가 필요할 때: %s" + +#: plugins/sudoers/def_data.c:276 +#, c-format +msgid "When to require a password for 'verify' pseudocommand: %s" +msgstr "'verify' 유사 명령 실행시 암호가 필요할 때: %s" + +#: plugins/sudoers/def_data.c:280 +msgid "Preload the sudo_noexec library which replaces the exec functions" +msgstr "exec 함수를 대신하는 sudo_noexec 라이브러리를 미리 불러옵니다" + +#: plugins/sudoers/def_data.c:284 +msgid "If LDAP directory is up, do we ignore local sudoers file" +msgstr "LDAP 디렉터리가 동작 중이라면 로컬 sudoers 파일을 무시합니다" + +#: plugins/sudoers/def_data.c:288 +#, c-format +msgid "File descriptors >= %d will be closed before executing a command" +msgstr "%d보다 큰 파일 서술자는 명령을 실행하기 전에 닫습니다" + +#: plugins/sudoers/def_data.c:292 +msgid "If set, users may override the value of \"closefrom\" with the -C option" +msgstr "이 값을 설정하면 -C 옵션으로 \"closefrom\" 값을 대신 사용합니다" + +#: plugins/sudoers/def_data.c:296 +msgid "Allow users to set arbitrary environment variables" +msgstr "사용자가 환경 변수 값을 임의대로 설정할 수 있게 합니다" + +#: plugins/sudoers/def_data.c:300 +msgid "Reset the environment to a default set of variables" +msgstr "변수 기본 설정 값으로 환경 초기화" + +#: plugins/sudoers/def_data.c:304 +msgid "Environment variables to check for safety:" +msgstr "안전 검사 대상 환경 변수:" + +#: plugins/sudoers/def_data.c:308 +msgid "Environment variables to remove:" +msgstr "제거할 환경 변수:" + +#: plugins/sudoers/def_data.c:312 +msgid "Environment variables to preserve:" +msgstr "유지할 환경 변수:" + +#: plugins/sudoers/def_data.c:316 +#, c-format +msgid "SELinux role to use in the new security context: %s" +msgstr "새 보안 컨텍스트에 사용할 SELinux 역할: %s" + +#: plugins/sudoers/def_data.c:320 +#, c-format +msgid "SELinux type to use in the new security context: %s" +msgstr "새 보안 컨텍스트에 사용할 SELinux 형식: %s" + +#: plugins/sudoers/def_data.c:324 +#, c-format +msgid "Path to the sudo-specific environment file: %s" +msgstr "sudo용 환경 파일 경로: %s" + +#: plugins/sudoers/def_data.c:328 +#, c-format +msgid "Path to the restricted sudo-specific environment file: %s" +msgstr "sudo 전용 환경 파일 경로: %s" + +#: plugins/sudoers/def_data.c:332 +#, c-format +msgid "Locale to use while parsing sudoers: %s" +msgstr "sudoers 파일을 해석할 때 사용할 로캘: %s" + +#: plugins/sudoers/def_data.c:336 +msgid "Allow sudo to prompt for a password even if it would be visible" +msgstr "암호가 나타나더라도 sudo에서 암호 입력 요구 허용" + +#: plugins/sudoers/def_data.c:340 +msgid "Provide visual feedback at the password prompt when there is user input" +msgstr "사용자 입력이 있을 때 암호 프롬프트에서 시각 반응 처리" + +#: plugins/sudoers/def_data.c:344 +msgid "Use faster globbing that is less accurate but does not access the filesystem" +msgstr "덜 정확하지만 파일 시스템에 접근하지 않는 빠른 비교 검사 사용" + +#: plugins/sudoers/def_data.c:348 +msgid "The umask specified in sudoers will override the user's, even if it is more permissive" +msgstr "sudoers에 지정한 umask 값이 관대한 권한이라 하더라도 사용자의 umask 값으로 적용" + +#: plugins/sudoers/def_data.c:352 +msgid "Log user's input for the command being run" +msgstr "실행 명령에 대한 사용자 입력 기록" + +#: plugins/sudoers/def_data.c:356 +msgid "Log the command's standard input if not connected to a terminal" +msgstr "터미널에 연결하지 않았을 경우 명령 표준 입력을 기록" + +#: plugins/sudoers/def_data.c:360 +msgid "Log the user's terminal input for the command being run" +msgstr "실행 명령의 터미널 입력을 기록합니다" + +#: plugins/sudoers/def_data.c:364 +msgid "Log the output of the command being run" +msgstr "실행 명령에 대한 출력 기록" + +#: plugins/sudoers/def_data.c:368 +msgid "Log the command's standard output if not connected to a terminal" +msgstr "터미널에 연결하지 않았을 경우 명령 표준 출력을 기록" + +#: plugins/sudoers/def_data.c:372 +msgid "Log the command's standard error if not connected to a terminal" +msgstr "터미널에 연결하지 않았을 경우 명령 표준 오류를 기록" + +#: plugins/sudoers/def_data.c:376 +msgid "Log the terminal output of the command being run" +msgstr "실행 명령의 터미널 출력을 기록합니다" + +#: plugins/sudoers/def_data.c:380 +msgid "Compress I/O logs using zlib" +msgstr "zlib로 입출력 로그 압축" + +#: plugins/sudoers/def_data.c:384 +msgid "Always run commands in a pseudo-tty" +msgstr "항상 명령을 유사 tty에서 실행" + +#: plugins/sudoers/def_data.c:388 +#, c-format +msgid "Plugin for non-Unix group support: %s" +msgstr "비 유닉스 그룹을 지원하는 플러그인: %s" + +#: plugins/sudoers/def_data.c:392 +#, c-format +msgid "Directory in which to store input/output logs: %s" +msgstr "입출력 로그를 저장할 디렉터리: %s" + +#: plugins/sudoers/def_data.c:396 +#, c-format +msgid "File in which to store the input/output log: %s" +msgstr "입출력 로그를 저장할 파일: %s" + +#: plugins/sudoers/def_data.c:400 +msgid "Add an entry to the utmp/utmpx file when allocating a pty" +msgstr "pty를 할당할 때 utmp/utmpx 파일에 항목 추가" + +#: plugins/sudoers/def_data.c:404 +msgid "Set the user in utmp to the runas user, not the invoking user" +msgstr "utmp의 사용자를 실제 실행 사용자가 아닌 대리 실행 사용자로 설정" + +#: plugins/sudoers/def_data.c:408 +#, c-format +msgid "Set of permitted privileges: %s" +msgstr "권한 허용 설정: %s" + +#: plugins/sudoers/def_data.c:412 +#, c-format +msgid "Set of limit privileges: %s" +msgstr "권한 제한 설정: %s" + +#: plugins/sudoers/def_data.c:416 +msgid "Run commands on a pty in the background" +msgstr "백그라운드의 pty에서 명령을 실행합니다" + +#: plugins/sudoers/def_data.c:420 +#, c-format +msgid "PAM service name to use: %s" +msgstr "사용할 PAM 서비스 이름: %s" + +#: plugins/sudoers/def_data.c:424 +#, c-format +msgid "PAM service name to use for login shells: %s" +msgstr "로그인 셸에서 사용할 PAM 서비스 이름: %s" + +#: plugins/sudoers/def_data.c:428 +#, c-format +msgid "PAM service name to use when sudo is run with the -A option: %s" +msgstr "sudo를 -A 옵션으로 실행할 때 활용할 PAM 서비스 이름: %s" + +#: plugins/sudoers/def_data.c:432 +msgid "Attempt to establish PAM credentials for the target user" +msgstr "대상 사용자의 PAM 인증 처리 시도합니다" + +#: plugins/sudoers/def_data.c:436 +msgid "Create a new PAM session for the command to run in" +msgstr "실행할 명령에 새 PAM 세션을 만듭니다" + +#: plugins/sudoers/def_data.c:440 +msgid "Perform PAM account validation management" +msgstr "PAM 계정 검증 관리를 수행합니다" + +#: plugins/sudoers/def_data.c:444 +#, c-format +msgid "Maximum I/O log sequence number: %s" +msgstr "최대 입출력 로그 순차 번호: %s" + +#: plugins/sudoers/def_data.c:448 +msgid "Enable sudoers netgroup support" +msgstr "sudoers에 네트워크 그룹 지원 활성화" + +#: plugins/sudoers/def_data.c:452 +msgid "Check parent directories for writability when editing files with sudoedit" +msgstr "sudoedit로 파일을 편집할 때 상위 디렉터리 기록 가능 여부 확인" + +#: plugins/sudoers/def_data.c:456 +msgid "Follow symbolic links when editing files with sudoedit" +msgstr "sudoedit로 파일을 편집할 때 심볼릭 링크 따라감" + +#: plugins/sudoers/def_data.c:460 +msgid "Query the group plugin for unknown system groups" +msgstr "알 수 없는 시스템 그룹에 그룹 플러그인 요청" + +#: plugins/sudoers/def_data.c:464 +msgid "Match netgroups based on the entire tuple: user, host and domain" +msgstr "user, host, domain 전체 튜플을 기반으로 네트워크 그룹 비교" + +#: plugins/sudoers/def_data.c:468 +msgid "Allow commands to be run even if sudo cannot write to the audit log" +msgstr "sudo에서 감시 로그를 기록할 수 없을 경우에도 명령 실행 허용" + +#: plugins/sudoers/def_data.c:472 +msgid "Allow commands to be run even if sudo cannot write to the I/O log" +msgstr "sudo에서 입출력 로그를 기록할 수 없을 경우에도 명령 실행 허용" + +#: plugins/sudoers/def_data.c:476 +msgid "Allow commands to be run even if sudo cannot write to the log file" +msgstr "sudo에서 로그 파일에 기록할 수 없을 경우에도 명령 실행 허용" + +#: plugins/sudoers/def_data.c:480 +msgid "Resolve groups in sudoers and match on the group ID, not the name" +msgstr "sudoers의 그룹을 해석하고 그룹 이름이 아닌 ID와 비교" + +#: plugins/sudoers/def_data.c:484 +#, c-format +msgid "Log entries larger than this value will be split into multiple syslog messages: %u" +msgstr "이 값보다 큰 로그 항목은 다수의 syslog 메시지로 나눕니다: %u" + +#: plugins/sudoers/def_data.c:488 +#, c-format +msgid "User that will own the I/O log files: %s" +msgstr "입출력 로그 파일을 소유할 사용자: %s" + +#: plugins/sudoers/def_data.c:492 +#, c-format +msgid "Group that will own the I/O log files: %s" +msgstr "입출력 로그 파일을 소유할 그룹: %s" + +#: plugins/sudoers/def_data.c:496 +#, c-format +msgid "File mode to use for the I/O log files: 0%o" +msgstr "입출력 로그 파일에 사용할 파일 모드: 0%o" + +#: plugins/sudoers/def_data.c:500 +#, c-format +msgid "Execute commands by file descriptor instead of by path: %s" +msgstr "경로가 아닌 파일 서술자로 명령어 실행: %s" + +#: plugins/sudoers/def_data.c:504 +msgid "Ignore unknown Defaults entries in sudoers instead of producing a warning" +msgstr "경고를 출력하는 대신 sudoers에서 알 수 없는 기본 항목을 무시" + +#: plugins/sudoers/def_data.c:508 +#, c-format +msgid "Time in seconds after which the command will be terminated: %u" +msgstr "명령 처리가 끝난 후의 초 단위 시간: %u" + +#: plugins/sudoers/def_data.c:512 +msgid "Allow the user to specify a timeout on the command line" +msgstr "사용자가 명령행에서 제한 시간을 지정하도록 허용" + +#: plugins/sudoers/def_data.c:516 +msgid "Flush I/O log data to disk immediately instead of buffering it" +msgstr "입출력 로그 데이터를 버퍼링하는 대신 즉시 디스크로 플러싱" + +#: plugins/sudoers/def_data.c:520 +msgid "Include the process ID when logging via syslog" +msgstr "syslog로 로깅할 때 프로세스 ID 포함" + +#: plugins/sudoers/def_data.c:524 +#, c-format +msgid "Type of authentication timestamp record: %s" +msgstr "인증 타임스탬프 레코드 형식: %s" + +#: plugins/sudoers/def_data.c:528 +#, c-format +msgid "Authentication failure message: %s" +msgstr "인증 실패 메시지: %s" + +#: plugins/sudoers/def_data.c:532 +msgid "Ignore case when matching user names" +msgstr "사용자 이름 비교시 대소문자 무시" + +#: plugins/sudoers/def_data.c:536 +msgid "Ignore case when matching group names" +msgstr "그룹 이름 비교시 대소문자 무시" + +#: plugins/sudoers/def_data.c:540 +msgid "Log when a command is allowed by sudoers" +msgstr "sudoers에서 명령을 허용할 때 기록" + +#: plugins/sudoers/def_data.c:544 +msgid "Log when a command is denied by sudoers" +msgstr "sudoers에서 명령을 거절할 때 기록" + +#: plugins/sudoers/def_data.c:548 +msgid "Sudo log server(s) to connect to with optional port" +msgstr "개별 포트 정보를 추가하여 연결할 sudo 로그 서버" + +#: plugins/sudoers/def_data.c:552 +#, c-format +msgid "Sudo log server timeout in seconds: %u" +msgstr "초 단위 sudo 로그 서버 제한 시간: %u" + +#: plugins/sudoers/def_data.c:556 +msgid "Enable SO_KEEPALIVE socket option on the socket connected to the logserver" +msgstr "연결한 로그 서버 소켓에 SO_KEEPALIVE 소켓 옵션 활성화" + +#: plugins/sudoers/def_data.c:560 +#, c-format +msgid "Path to the audit server's CA bundle file: %s" +msgstr "감사 서버의 CA 번들 파일 경로: %s" + +#: plugins/sudoers/def_data.c:564 +#, c-format +msgid "Path to the sudoers certificate file: %s" +msgstr "sudoers 인증 파일 경로: %s" + +#: plugins/sudoers/def_data.c:568 +#, c-format +msgid "Path to the sudoers private key file: %s" +msgstr "sudoers 개인 키 파일 경로: %s" + +#: plugins/sudoers/def_data.c:572 +msgid "Verify that the log server's certificate is valid" +msgstr "로그 서버 인증서 유효성 검증" + +#: plugins/sudoers/def_data.c:576 +msgid "Allow the use of unknown runas user and/or group ID" +msgstr "사용자/그룹 ID로의 알 수 없는 실행 허용" + +#: plugins/sudoers/def_data.c:580 +msgid "Only permit running commands as a user with a valid shell" +msgstr "유효한 셸에서 사용자가 명령을 실행할 경우만 허용" + +#: plugins/sudoers/def_data.c:584 +msgid "Set the pam remote user to the user running sudo" +msgstr "sudo를 실행하는 사용자를 PAM 원격 사용자로 설정" + +#: plugins/sudoers/def_data.c:588 +msgid "Set the pam remote host to the local host name" +msgstr "로컬 호스트 이름에 PAM 원격 사용자 설정" + +#: plugins/sudoers/def_data.c:592 +#, c-format +msgid "Working directory to change to before executing the command: %s" +msgstr "명령 실행 전 바꿀 작업 디렉터리: %s" + +#: plugins/sudoers/def_data.c:596 +#, c-format +msgid "Root directory to change to before executing the command: %s" +msgstr "명령 실행 전 바꿀 루트 디렉터리: %s" + +#: plugins/sudoers/def_data.c:600 +#, c-format +msgid "The format of logs to produce: %s" +msgstr "로그 기록 형식: %s" + +#: plugins/sudoers/def_data.c:604 +msgid "Enable SELinux RBAC support" +msgstr "SELinux RBAC 지원을 사용합니다" + +#: plugins/sudoers/def_data.c:608 +#, c-format +msgid "Path to the file that is created the first time sudo is run: %s" +msgstr "sudo를 처음 실행할 때 만든 파일의 경로: %s" + +#: plugins/sudoers/def_data.c:612 +msgid "Intercept further commands and apply sudoers restrictions to them" +msgstr "추가 명령을 가로채고 sudoer 제한을 적용합니다" + +#: plugins/sudoers/def_data.c:616 +msgid "Log sub-commands run by the original command" +msgstr "원본 명령으로 실행하는 하위 명령 기록" + +#: plugins/sudoers/def_data.c:620 +msgid "Log the exit status of commands" +msgstr "실행 명령 끝내기 상태 기록" + +#: plugins/sudoers/def_data.c:624 +msgid "Subsequent commands in an intercepted session must be authenticated" +msgstr "가로챈 세션에서의 순차 명령 실행시 인증해야 합니다" + +#: plugins/sudoers/def_data.c:628 +msgid "Allow an intercepted command to run set setuid or setgid programs" +msgstr "setuid 또는 setgid 프로그램을 실행할 가로채기 명령 실행 허용" + +#: plugins/sudoers/def_data.c:632 +#, c-format +msgid "The maximum size to which the process's address space may grow (in bytes): %s" +msgstr "프로세스 주소 영역을 확장할 최대 크기(바이트 단위): %s" + +#: plugins/sudoers/def_data.c:636 +#, c-format +msgid "The largest size core dump file that may be created (in bytes): %s" +msgstr "코어 덤프 파일 최대 생성 크기(바이트 단위): %s" + +#: plugins/sudoers/def_data.c:640 +#, c-format +msgid "The maximum amount of CPU time that the process may use (in seconds): %s" +msgstr "프로세스 최대 CPU 사용 시간(초 단위): %s" + +#: plugins/sudoers/def_data.c:644 +#, c-format +msgid "The maximum size of the data segment for the process (in bytes): %s" +msgstr "프로세스 데이터 세그먼트 최대 크기(바이트 단위): %s" + +#: plugins/sudoers/def_data.c:648 +#, c-format +msgid "The largest size file that the process may create (in bytes): %s" +msgstr "프로세스에서 만들 최대 파일 크기(바이트 단위): %s" + +#: plugins/sudoers/def_data.c:652 +#, c-format +msgid "The maximum number of locks that the process may establish: %s" +msgstr "프로세스 실행 최대 잠금 횟수: %s" + +#: plugins/sudoers/def_data.c:656 +#, c-format +msgid "The maximum size that the process may lock in memory (in bytes): %s" +msgstr "메모리에서 잠글 프로세스 최대 크기(바이트 단위): %s" + +#: plugins/sudoers/def_data.c:660 +#, c-format +msgid "The maximum number of files that the process may have open: %s" +msgstr "프로세스에서 열 파일 최대 갯수: %s" + +#: plugins/sudoers/def_data.c:664 +#, c-format +msgid "The maximum number of processes that the user may run simultaneously: %s" +msgstr "사용자가 동시 실행할 최대 프로세스 갯수: %s" + +#: plugins/sudoers/def_data.c:668 +#, c-format +msgid "The maximum size to which the process's resident set size may grow (in bytes): %s" +msgstr "프로세스 상주시 최대 확장 크기(바이트 단위): %s" + +#: plugins/sudoers/def_data.c:672 +#, c-format +msgid "The maximum size to which the process's stack may grow (in bytes): %s" +msgstr "프로세스 스택 크기 증가 최대 크기(바이트 단위): %s" + +#: plugins/sudoers/def_data.c:676 +msgid "Attempt authentication even when in non-interactive mode" +msgstr "비 대화식 상태에서도 인증 시도" + +#: plugins/sudoers/def_data.c:680 +msgid "Store plaintext passwords in I/O log input" +msgstr "I/O 로그 입력시 원문 암호 저장" + +#: plugins/sudoers/def_data.c:684 +msgid "List of regular expressions to use when matching a password prompt" +msgstr "암호 프롬프트 대조시 사용할 정규 표현식 목록" + +#: plugins/sudoers/def_data.c:688 +#, c-format +msgid "The mechanism used by the intercept and log_subcmds options: %s" +msgstr "intercept 옵션과 log_subcmds 옵션에서 지원하는 매커니즘: %s" + +#: plugins/sudoers/def_data.c:692 +msgid "Attempt to verify the command and arguments after execution" +msgstr "실행 후 명령 및 인자 검증 시도" + +#: plugins/sudoers/def_data.c:696 +#, c-format +msgid "AppArmor profile to use in the new security context: %s" +msgstr "새 보안 컨텍스트에서 활용할 AppArmor 프로파일: %s" + +#: plugins/sudoers/defaults.c:191 +#, c-format +msgid "unknown defaults entry \"%s\"" +msgstr "알 수 없는 \"%s\" 기본 항목" + +#: plugins/sudoers/defaults.c:234 +#, c-format +msgid "no value specified for \"%s\"" +msgstr "\"%s\"에 지정한 값이 없습니다" + +#: plugins/sudoers/defaults.c:243 +#, c-format +msgid "invalid operator \"%c=\" for \"%s\"" +msgstr "\"%2$s\"의 부적절한 연산자 \"%1$c=\"" + +#: plugins/sudoers/defaults.c:275 +#, c-format +msgid "option \"%s\" does not take a value" +msgstr "\"%s\" 옵션에 값이 없습니다" + +#: plugins/sudoers/defaults.c:299 +#, c-format +msgid "invalid Defaults type 0x%x for option \"%s\"" +msgstr "\"%2$s\" 옵션의 부적절한 기본 형식 0x%1$x" + +#: plugins/sudoers/defaults.c:306 +#, c-format +msgid "value \"%s\" is invalid for option \"%s\"" +msgstr "\"%s\" 값은 \"%s\" 옵션에 맞지 않습니다" + +#: plugins/sudoers/defaults.c:1128 plugins/sudoers/policy.c:210 +#: plugins/sudoers/policy.c:219 +#, c-format +msgid "path name for \"%s\" too long" +msgstr "\"%s\" 경로 이름이 너무 깁니다" + +#: plugins/sudoers/defaults.c:1134 +#, c-format +msgid "values for \"%s\" must start with a '/', '~', or '*'" +msgstr "\"%s\" 값은 '/', '~', '*' 문자로 시작해야합니다" + +#: plugins/sudoers/defaults.c:1141 +#, c-format +msgid "values for \"%s\" must start with a '/'" +msgstr "\"%s\" 값은 '/' 문자로 시작해야합니다" + +#: plugins/sudoers/editor.c:180 +#, c-format +msgid "ignoring editor: %.*s" +msgstr "편집기 무시: %.*s" + +#: plugins/sudoers/editor.c:181 +msgid "editor arguments may not contain \"--\"" +msgstr "편집기 인자에 \"--\"를 넣으면 안됩니다" + +#: plugins/sudoers/env.c:426 +msgid "sudo_putenv: corrupted envp, length mismatch" +msgstr "sudo_putenv: envp가 깨졌습니다. 길이가 일치하지 않습니다" + +#: plugins/sudoers/env.c:1113 +msgid "unable to rebuild the environment" +msgstr "환경 구성을 다시 갖출 수 없습니다" + +#: plugins/sudoers/env.c:1192 +#, c-format +msgid "sorry, you are not allowed to set the following environment variables: %s" +msgstr "죄송하지만 다음 환경 변수를 설정하도록 허가받지 않았습니다: %s" + +#: plugins/sudoers/filedigest.c:49 +#, c-format +msgid "unsupported digest type %d for %s" +msgstr "%2$s에서 지원하지 않는 다이제스트 형식 %1$d" + +#: plugins/sudoers/filedigest.c:78 +#, c-format +msgid "%s: read error" +msgstr "%s: 읽기 오류" + +#: plugins/sudoers/group_plugin.c:169 plugins/sudoers/sssd.c:576 +#, c-format +msgid "unable to load %s: %s" +msgstr "%s을(를) 불러올 수 없습니다: %s" + +#: plugins/sudoers/group_plugin.c:181 +#, c-format +msgid "unable to find symbol \"group_plugin\" in %s" +msgstr "%s에서 \"group_plugin\" 심볼을 찾을 수 없습니다" + +#: plugins/sudoers/group_plugin.c:186 +#, c-format +msgid "%s: incompatible group plugin major version %d, expected %d" +msgstr "%s: 호환되지 않는 그룹 플러그인 주 버전 %d입니다. %d이(가) 필요합니다." + +#: plugins/sudoers/interfaces.c:76 plugins/sudoers/interfaces.c:93 +#, c-format +msgid "unable to parse IP address \"%s\"" +msgstr "\"%s\" IP 주소를 해석할 수 없습니다" + +#: plugins/sudoers/interfaces.c:81 plugins/sudoers/interfaces.c:98 +#, c-format +msgid "unable to parse netmask \"%s\"" +msgstr "\"%s\" 네트워크 마스크 주소를 해석할 수 없습니다" + +#: plugins/sudoers/interfaces.c:126 +msgid "Local IP address and netmask pairs:\n" +msgstr "로컬 IP 주소 및 넷마스크 쌍:\n" + +#: plugins/sudoers/iolog.c:685 +msgid "unable to update sequence file" +msgstr "시퀀스 파일을 업데이트할 수 없습니다" + +#: plugins/sudoers/iolog.c:719 plugins/sudoers/iolog.c:907 +#: plugins/sudoers/iolog.c:1069 plugins/sudoers/iolog.c:1076 +#: plugins/sudoers/iolog.c:1197 plugins/sudoers/iolog.c:1204 +#: plugins/sudoers/iolog.c:1303 plugins/sudoers/iolog.c:1310 +#, c-format +msgid "unable to write to I/O log file: %s" +msgstr "입출력 로그에 기록할 수 없습니다: %s" + +#: plugins/sudoers/iolog.c:727 +#, c-format +msgid "unable to create %s/%s" +msgstr "%s/%s을(를) 만들 수 없습니다" + +#: plugins/sudoers/iolog.c:955 +#, c-format +msgid "%s: internal error, I/O log file for event %d not open" +msgstr "%s: 내부 오류. 이벤트 %d 번의 입출력 로그 파일을 열지 않았습니다" + +#: plugins/sudoers/iolog.c:1054 plugins/sudoers/iolog.c:1182 +#: plugins/sudoers/iolog.c:1287 plugins/sudoers/timestamp.c:879 +#: plugins/sudoers/timestamp.c:971 plugins/sudoers/visudo.c:556 +#: plugins/sudoers/visudo.c:562 +msgid "unable to read the clock" +msgstr "클록을 읽을 수 없습니다" + +#: plugins/sudoers/iolog.c:1279 plugins/sudoers/log_client.c:1192 +#: plugins/sudoers/log_client.c:1202 plugins/sudoers/log_client.c:1206 +#, c-format +msgid "%s: internal error, invalid signal %d" +msgstr "%s: 내부 오류. 부적절한 시그널 %d번" + +#: plugins/sudoers/ldap.c:177 plugins/sudoers/ldap_conf.c:292 +msgid "starttls not supported when using ldaps" +msgstr "ldaps를 사용할 때 starttls를 지원하지 않습니다" + +#: plugins/sudoers/ldap.c:248 +#, c-format +msgid "unable to initialize SSL cert and key db: %s" +msgstr "SSL 인증서 및 키 DB를 초기화할 수 없습니다: %s" + +#: plugins/sudoers/ldap.c:251 +#, c-format +msgid "you must set TLS_CERT in %s to use SSL" +msgstr "SSL을 사용하려면 %s에서 TLS_CERT를 설정해야 합니다" + +#: plugins/sudoers/ldap.c:1714 +#, c-format +msgid "unable to initialize LDAP: %s" +msgstr "LDAP를 초기화할 수 없습니다: %s" + +#: plugins/sudoers/ldap.c:1751 +msgid "start_tls specified but LDAP libs do not support ldap_start_tls_s() or ldap_start_tls_s_np()" +msgstr "start_tls를 지정했지만 LDAP 라이브러리에서 ldap_start_tls_s() 또는 ldap_start_tls_s_np() 함수를 지원하지 않습니다" + +#: plugins/sudoers/ldap.c:1888 plugins/sudoers/parse_ldif.c:748 +#, c-format +msgid "invalid sudoOrder attribute: %s" +msgstr "부적절한 sudoOrder 속성: %s" + +#: plugins/sudoers/ldap_conf.c:200 +#, c-format +msgid "%s: port too large" +msgstr "%s: 포트 번호가 너무 큽니다" + +#: plugins/sudoers/ldap_conf.c:261 +#, c-format +msgid "unsupported LDAP uri type: %s" +msgstr "지원하지 않는 LDAP URI 형식: %s" + +#: plugins/sudoers/ldap_conf.c:288 +msgid "unable to mix ldap and ldaps URIs" +msgstr "ldap 및 ldaps URI를 함께 사용할 수 없습니다" + +#: plugins/sudoers/ldap_util.c:499 plugins/sudoers/ldap_util.c:506 +#: plugins/sudoers/ldap_util.c:514 plugins/sudoers/ldap_util.c:523 +#: plugins/sudoers/ldap_util.c:531 plugins/sudoers/ldap_util.c:541 +#: plugins/sudoers/ldap_util.c:549 +#, c-format +msgid "duplicate sudoOption: %s%s%s" +msgstr "sudoOption 복제: %s%s%s" + +#: plugins/sudoers/ldap_util.c:568 plugins/sudoers/ldap_util.c:570 +#, c-format +msgid "unable to convert sudoOption: %s%s%s" +msgstr "sudoOption을 변환할 수 없습니다: %s%s%s" + +#: plugins/sudoers/linux_audit.c:58 plugins/sudoers/linux_audit.c:60 +msgid "unable to open audit system" +msgstr "감시 시스템을 열 수 없습니다" + +#: plugins/sudoers/linux_audit.c:103 +msgid "unable to send audit message" +msgstr "감시 메시지를 보낼 수 없습니다" + +#: plugins/sudoers/log_client.c:125 plugins/sudoers/log_client.c:412 +#: plugins/sudoers/log_client.c:1439 plugins/sudoers/log_client.c:2055 +msgid "error in event loop" +msgstr "이벤트 루프 오류" + +#: plugins/sudoers/log_client.c:205 +#, c-format +msgid "Creation of new SSL_CTX object failed: %s" +msgstr "SSL_CTX 객체 만들기 실패: %s" + +#: plugins/sudoers/log_client.c:230 +#, c-format +msgid "unable to load certificate authority bundle %s" +msgstr "%s 인증서 인증 번들을 불러올 수 없습니다" + +#: plugins/sudoers/log_client.c:252 +#, c-format +msgid "unable to load certificate %s" +msgstr "%s 인증서를 불러올 수 없습니다" + +#: plugins/sudoers/log_client.c:266 +#, c-format +msgid "unable to load private key %s" +msgstr "%s 개인 키를 불러올 수 없습니다" + +#: plugins/sudoers/log_client.c:275 +#, c-format +msgid "Unable to allocate ssl object: %s" +msgstr "SSL 객체를 할당할 수 없습니다: %s" + +#: plugins/sudoers/log_client.c:364 plugins/sudoers/log_client.c:369 +#, c-format +msgid "TLS connection to %s:%s failed: %s" +msgstr "%s:%s로의 TLS 연결 실패: %s" + +#: plugins/sudoers/log_client.c:543 +msgid "TLS initialization was unsuccessful" +msgstr "TLS 초기화에 실패했습니다" + +#: plugins/sudoers/log_client.c:553 +msgid "TLS handshake was unsuccessful" +msgstr "TLS 핸드셰이킹에 실패했습니다" + +#: plugins/sudoers/log_client.c:1210 +#, c-format +msgid "%s: internal error, invalid exit status %d" +msgstr "%s: 내부 오류. 부적절한 종료 상태 %d" + +#: plugins/sudoers/log_client.c:1739 plugins/sudoers/log_client.c:1763 +msgid "lost connection to log server" +msgstr "로그 서버의 연결이 끊어졌습니다" + +#: plugins/sudoers/log_client.c:1840 +msgid "missing write buffer" +msgstr "기록 버퍼 빠짐" + +#: plugins/sudoers/log_client.c:1994 +msgid "unable to connect to log server" +msgstr "로그 서버에 연결할 수 없습니다" + +#: plugins/sudoers/logging.c:290 +msgid "user NOT in sudoers" +msgstr "사용자가 sudoers에 없습니다" + +#: plugins/sudoers/logging.c:292 +msgid "user NOT authorized on host" +msgstr "사용자가 호스트에서 인증하지 않았습니다" + +#: plugins/sudoers/logging.c:294 +msgid "command not allowed" +msgstr "명령을 허용하지 않았습니다" + +#: plugins/sudoers/logging.c:315 +#, c-format +msgid "%s is not in the sudoers file.\n" +msgstr "%s은(는) sudoers 파일에 없습니다.\n" + +#: plugins/sudoers/logging.c:318 +#, c-format +msgid "%s is not allowed to run sudo on %s.\n" +msgstr "%s 사용자는 %s에서 sudo를 실행할 수 없습니다.\n" + +#: plugins/sudoers/logging.c:321 +#, c-format +msgid "Sorry, user %s may not run sudo on %s.\n" +msgstr "죄송하지만, %s 사용자는 %s에서 sudo를 실행하면 안됩니다.\n" + +#: plugins/sudoers/logging.c:324 +#, c-format +msgid "Sorry, user %s is not allowed to execute '%s%s%s' as %s%s%s on %s.\n" +msgstr "죄송하지만 %1$s 사용자는 '%2$s%3$s%4$s'을(를) %8$s의 %5$s%6$s%7$s(으)로 실행하도록 허가받지 않았습니다.\n" + +#: plugins/sudoers/logging.c:334 +msgid "This incident has been reported to the administrator.\n" +msgstr "이번 시도는 관리자에게 보고했습니다.\n" + +#: plugins/sudoers/logging.c:369 plugins/sudoers/sudoers.c:655 +#: plugins/sudoers/sudoers.c:657 plugins/sudoers/sudoers.c:659 +#: plugins/sudoers/sudoers.c:661 plugins/sudoers/sudoers.c:816 +#: plugins/sudoers/sudoers.c:818 +#, c-format +msgid "%s: command not found" +msgstr "%s: 명령이 없습니다" + +#: plugins/sudoers/logging.c:371 plugins/sudoers/sudoers.c:651 +#, c-format +msgid "" +"ignoring \"%s\" found in '.'\n" +"Use \"sudo ./%s\" if this is the \"%s\" you wish to run." +msgstr "" +"'.'에 무시 중인 \"%1$s\" 요소가 있습니다.\n" +"\"%3$s\" 명령을 실행하려면, \"sudo ./%2$s\" 명령을 사용하십시오." + +#: plugins/sudoers/logging.c:391 +#, c-format +msgid "%u incorrect password attempt" +msgid_plural "%u incorrect password attempts" +msgstr[0] "잘못된 암호 입력 시도 %u번" + +#: plugins/sudoers/logging.c:481 +msgid "authentication failure" +msgstr "인증 실패" + +#: plugins/sudoers/logging.c:520 plugins/sudoers/logging.c:539 +msgid "a password is required" +msgstr "암호가 필요합니다" + +#: plugins/sudoers/logging.c:803 plugins/sudoers/logging.c:815 +msgid "problem parsing sudoers" +msgstr "sudoers 해석 문제" + +#: plugins/sudoers/logging.c:877 plugins/sudoers/logging.c:889 +#, c-format +msgid "%s:%d:%d: %s" +msgstr "%s:%d:%d: %s" + +#: plugins/sudoers/logging.c:1066 +#, c-format +msgid "unable to write log file: %s" +msgstr "로그 파일에 기록할 수 없습니다: %s" + +#: plugins/sudoers/match_digest.c:112 +#, c-format +msgid "digest for %s (%s) bad length %zu, expected %zu" +msgstr "%1$s 다이제스트(%2$s)는 %4$zu 길이를 기대했지만 잘못된 %3$zu 길이를 가졌습니다" + +#: plugins/sudoers/match_digest.c:131 +#, c-format +msgid "digest for %s (%s) is not in %s form" +msgstr "%s 다이제스트(%s)는 %s 형식이 아닙니다" + +#: plugins/sudoers/parse.c:631 +#, c-format +msgid "" +"\n" +"LDAP Role: %s\n" +msgstr "" +"\n" +"LDAP 역할: %s\n" + +#: plugins/sudoers/parse.c:634 +msgid "" +"\n" +"Sudoers entry:\n" +msgstr "" +"\n" +"Sudoers 항목:\n" + +#: plugins/sudoers/parse.c:636 +msgid " RunAsUsers: " +msgstr " 실행 사용자: " + +#: plugins/sudoers/parse.c:651 +msgid " RunAsGroups: " +msgstr " 실행 그룹: " + +#: plugins/sudoers/parse.c:661 +msgid " Options: " +msgstr " 옵션: " + +#: plugins/sudoers/parse.c:725 +msgid " Commands:\n" +msgstr " 명령:\n" + +#: plugins/sudoers/parse.c:916 +#, c-format +msgid "Matching Defaults entries for %s on %s:\n" +msgstr "%2$s에서 %1$s에 일치하는 기본 항목:\n" + +#: plugins/sudoers/parse.c:934 +#, c-format +msgid "Runas and Command-specific defaults for %s:\n" +msgstr "%s의 실행 권한 및 명령별 기본 값:\n" + +#: plugins/sudoers/parse.c:952 +#, c-format +msgid "User %s may run the following commands on %s:\n" +msgstr "%s 사용자는 %s에서 다음 명령을 실행해야 합니다:\n" + +#: plugins/sudoers/parse.c:967 +#, c-format +msgid "User %s is not allowed to run sudo on %s.\n" +msgstr "%s 사용자는 %s에서 sudo를 실행하도록 허가받지 않았습니다.\n" + +#: plugins/sudoers/parse_ldif.c:618 +#, c-format +msgid "ignoring incomplete sudoRole: cn: %s" +msgstr "미완결 sudoRole 무시: cn: %s" + +#: plugins/sudoers/parse_ldif.c:678 +#, c-format +msgid "invalid LDIF attribute: %s" +msgstr "부적절한 LDIF 속성: %s" + +#: plugins/sudoers/policy.c:82 plugins/sudoers/policy.c:113 +#, c-format +msgid "invalid %.*s set by sudo front-end" +msgstr "sudo 프론트엔드의 %.*s 설정이 잘못되었습니다" + +#: plugins/sudoers/policy.c:360 plugins/sudoers/testsudoers.c:268 +msgid "unable to parse network address list" +msgstr "네트워크 주소 목록을 해석할 수 없습니다" + +#: plugins/sudoers/policy.c:528 +msgid "user name not set by sudo front-end" +msgstr "sudo 프론트엔드에서 사용자 이름을 설정하지 않았습니다" + +#: plugins/sudoers/policy.c:532 +msgid "user-ID not set by sudo front-end" +msgstr "sudo 프론트엔드에서 사용자 ID를 설정하지 않았습니다" + +#: plugins/sudoers/policy.c:536 +msgid "group-ID not set by sudo front-end" +msgstr "sudo 프론트엔드에서 그룹 ID를 지정하지 않았습니다" + +#: plugins/sudoers/policy.c:540 +msgid "host name not set by sudo front-end" +msgstr "sudo 프론트엔드에서 호스트 이름을 설정하지 않았습니다" + +#: plugins/sudoers/policy.c:737 +#, c-format +msgid "invalid working directory: %s" +msgstr "부적절한 작업 디렉터리: %s" + +#: plugins/sudoers/policy.c:921 +#, c-format +msgid "invalid chroot directory: %s" +msgstr "부적절한 루트 변경 디렉터리: %s" + +#: plugins/sudoers/policy.c:1108 plugins/sudoers/visudo.c:259 +#: plugins/sudoers/visudo.c:906 +#, c-format +msgid "unable to execute %s" +msgstr "%s을(를) 실행할 수 없습니다" + +#: plugins/sudoers/policy.c:1178 plugins/sudoers/policy.c:1215 +#: plugins/sudoers/policy.c:1237 plugins/sudoers/policy.c:1263 +#, c-format +msgid "%s: invalid mode flags from sudo front end: 0x%x" +msgstr "%s: sudo 프론트엔드의 상태 플래그가 잘못되었습니다: 0x%x" + +#: plugins/sudoers/policy.c:1299 +#, c-format +msgid "Sudoers policy plugin version %s\n" +msgstr "Sudoers 정책 플러그인 버전 %s\n" + +#: plugins/sudoers/policy.c:1301 +#, c-format +msgid "Sudoers file grammar version %d\n" +msgstr "Sudoers 파일 문법 버전 %d\n" + +#: plugins/sudoers/policy.c:1305 +#, c-format +msgid "" +"\n" +"Sudoers path: %s\n" +msgstr "" +"\n" +"Sudoers 경로: %s\n" + +#: plugins/sudoers/policy.c:1308 +#, c-format +msgid "nsswitch path: %s\n" +msgstr "nsswitch 경로: %s\n" + +#: plugins/sudoers/policy.c:1310 +#, c-format +msgid "ldap.conf path: %s\n" +msgstr "ldap.conf 경로: %s\n" + +#: plugins/sudoers/policy.c:1311 +#, c-format +msgid "ldap.secret path: %s\n" +msgstr "ldap.secret 경로: %s\n" + +#: plugins/sudoers/policy.c:1344 +#, c-format +msgid "unable to register hook of type %d (version %d.%d)" +msgstr "%d 형식의 후크를 등록할 수 없습니다(버전 %d.%d)" + +#: plugins/sudoers/policy.c:1362 +#, c-format +msgid "unable to deregister hook of type %d (version %d.%d)" +msgstr "%d 형식의 후크 등록을 해제할 수 없습니다(버전 %d.%d)" + +#: plugins/sudoers/pwutil.c:222 plugins/sudoers/pwutil.c:240 +#, c-format +msgid "unable to cache uid %u" +msgstr "%u uid를 캐시에 적재할 수 없습니다" + +#: plugins/sudoers/pwutil.c:234 +#, c-format +msgid "unable to cache uid %u, already exists" +msgstr "%u uid를 캐시에 적재할 수 없습니다. 이미 존재합니다." + +#: plugins/sudoers/pwutil.c:294 plugins/sudoers/pwutil.c:312 +#: plugins/sudoers/pwutil.c:375 plugins/sudoers/pwutil.c:420 +#, c-format +msgid "unable to cache user %s" +msgstr "%s 사용자를 캐시에 적재할 수 없습니다" + +#: plugins/sudoers/pwutil.c:307 +#, c-format +msgid "unable to cache user %s, already exists" +msgstr "%s 사용자를 캐시에 적재할 수 없습니다. 이미 존재합니다." + +#: plugins/sudoers/pwutil.c:539 plugins/sudoers/pwutil.c:557 +#, c-format +msgid "unable to cache gid %u" +msgstr "%u GID를 캐시에 적재할 수 없습니다" + +#: plugins/sudoers/pwutil.c:551 +#, c-format +msgid "unable to cache gid %u, already exists" +msgstr "%u gid를 캐시에 적재할 수 없습니다. 이미 존재합니다." + +#: plugins/sudoers/pwutil.c:605 plugins/sudoers/pwutil.c:623 +#: plugins/sudoers/pwutil.c:684 plugins/sudoers/pwutil.c:733 +#, c-format +msgid "unable to cache group %s" +msgstr "%s 그룹을 캐시에 적재할 수 없습니다" + +#: plugins/sudoers/pwutil.c:618 +#, c-format +msgid "unable to cache group %s, already exists" +msgstr "%s 그룹을 캐시에 적재할 수 없습니다. 이미 존재합니다." + +#: plugins/sudoers/pwutil.c:880 plugins/sudoers/pwutil.c:963 +#: plugins/sudoers/pwutil.c:1017 plugins/sudoers/pwutil.c:1071 +#, c-format +msgid "unable to cache group list for %s, already exists" +msgstr "%s 그룹 목록을 캐시에 적재할 수 없습니다. 이미 존재합니다." + +#: plugins/sudoers/pwutil.c:886 plugins/sudoers/pwutil.c:968 +#: plugins/sudoers/pwutil.c:1023 plugins/sudoers/pwutil.c:1076 +#, c-format +msgid "unable to cache group list for %s" +msgstr "%s 그룹 목록을 캐시에 적재할 수 없습니다" + +#: plugins/sudoers/pwutil.c:957 +#, c-format +msgid "unable to parse groups for %s" +msgstr "%s 그룹을 해석할 수 없습니다" + +#: plugins/sudoers/pwutil.c:1065 +#, c-format +msgid "unable to parse gids for %s" +msgstr "%s 그룹 ID를 해석할 수 없습니다" + +#: plugins/sudoers/set_perms.c:114 plugins/sudoers/set_perms.c:445 +#: plugins/sudoers/set_perms.c:852 plugins/sudoers/set_perms.c:1162 +#: plugins/sudoers/set_perms.c:1460 +msgid "perm stack overflow" +msgstr "권한 스택 오버플로우" + +#: plugins/sudoers/set_perms.c:125 plugins/sudoers/set_perms.c:376 +#: plugins/sudoers/set_perms.c:456 plugins/sudoers/set_perms.c:719 +#: plugins/sudoers/set_perms.c:863 plugins/sudoers/set_perms.c:1086 +#: plugins/sudoers/set_perms.c:1173 plugins/sudoers/set_perms.c:1393 +#: plugins/sudoers/set_perms.c:1471 plugins/sudoers/set_perms.c:1562 +msgid "perm stack underflow" +msgstr "권한 스택 언더플로우" + +#: plugins/sudoers/set_perms.c:185 plugins/sudoers/set_perms.c:503 +#: plugins/sudoers/set_perms.c:1227 plugins/sudoers/set_perms.c:1505 +msgid "unable to change to root gid" +msgstr "루트 gid로 바꿀 수 없습니다" + +#: plugins/sudoers/set_perms.c:276 plugins/sudoers/set_perms.c:600 +#: plugins/sudoers/set_perms.c:995 plugins/sudoers/set_perms.c:1304 +msgid "unable to change to runas gid" +msgstr "실행 gid로 바꿀 수 없습니다" + +#: plugins/sudoers/set_perms.c:281 plugins/sudoers/set_perms.c:605 +#: plugins/sudoers/set_perms.c:1000 plugins/sudoers/set_perms.c:1309 +msgid "unable to set runas group vector" +msgstr "실행 그룹 벡터를 설정할 수 없습니다" + +#: plugins/sudoers/set_perms.c:292 plugins/sudoers/set_perms.c:616 +#: plugins/sudoers/set_perms.c:1009 plugins/sudoers/set_perms.c:1318 +msgid "unable to change to runas uid" +msgstr "실행 uid로 바꿀 수 없습니다" + +#: plugins/sudoers/set_perms.c:310 plugins/sudoers/set_perms.c:634 +#: plugins/sudoers/set_perms.c:1025 plugins/sudoers/set_perms.c:1334 +msgid "unable to change to sudoers gid" +msgstr "sudoers gid로 바꿀 수 없습니다" + +#: plugins/sudoers/set_perms.c:363 plugins/sudoers/set_perms.c:706 +#: plugins/sudoers/set_perms.c:1073 plugins/sudoers/set_perms.c:1380 +#: plugins/sudoers/set_perms.c:1549 +msgid "too many processes" +msgstr "동작 중인 프로세스가 너무 많습니다" + +#: plugins/sudoers/solaris_audit.c:61 +msgid "unable to get current working directory" +msgstr "현재 작업 디렉터리를 가져올 수 없습니다" + +#: plugins/sudoers/solaris_audit.c:69 +#, c-format +msgid "truncated audit path user_cmnd: %s" +msgstr "user_cmnd 감사 경로가 잘렸습니다: %s" + +#: plugins/sudoers/solaris_audit.c:76 +#, c-format +msgid "truncated audit path argv[0]: %s" +msgstr "argv[0] 감사 경로가 잘렸습니다: %s" + +#: plugins/sudoers/sssd.c:579 +msgid "unable to initialize SSS source. Is SSSD installed on your machine?" +msgstr "SSS 소스를 초기화할 수 없습니다. 머신에 SSSD를 설치했습니까?" + +#: plugins/sudoers/sssd.c:587 plugins/sudoers/sssd.c:596 +#: plugins/sudoers/sssd.c:605 plugins/sudoers/sssd.c:614 +#: plugins/sudoers/sssd.c:623 +#, c-format +msgid "unable to find symbol \"%s\" in %s" +msgstr "%2$s에서 \"%1$s\" 심볼을 찾을 수 없습니다" + +#: plugins/sudoers/sudoers.c:263 +#, c-format +msgid "unable to get defaults from %s" +msgstr "%s의 기본값을 가져올 수 없습니다" + +#: plugins/sudoers/sudoers.c:270 +msgid "no valid sudoers sources found, quitting" +msgstr "올바른 sudoers 설정 원본이 없습니다. 나갑니다." + +#: plugins/sudoers/sudoers.c:346 +#, c-format +msgid "user not allowed to change root directory to %s" +msgstr "%s을(를) 루트 디렉터리로 변환하도록 허용하지 않습니다" + +#: plugins/sudoers/sudoers.c:348 +#, c-format +msgid "you are not permitted to use the -R option with %s" +msgstr "-R 옵션과 %s 옵션의 병행 사용을 허가받지 않았습니다" + +#: plugins/sudoers/sudoers.c:373 +#, c-format +msgid "user not allowed to change directory to %s" +msgstr "%s 디렉터리로의 이동을 허용하지 않습니다" + +#: plugins/sudoers/sudoers.c:374 +#, c-format +msgid "you are not permitted to use the -D option with %s" +msgstr "-D 옵션과 %s 옵션의 병행 사용을 허가받지 않았습니다" + +#: plugins/sudoers/sudoers.c:401 +msgid "no command specified" +msgstr "지정한 명령이 없음" + +#: plugins/sudoers/sudoers.c:426 +msgid "sudoers specifies that root is not allowed to sudo" +msgstr "sudoers에서 root가 sudo를 실행하지 못하게 지정했습니다" + +#: plugins/sudoers/sudoers.c:483 +msgid "user not allowed to override closefrom limit" +msgstr "사용자가 closefrom 제한 값을 따로 적용하도록 허용하지 않았습니다" + +#: plugins/sudoers/sudoers.c:484 +msgid "you are not permitted to use the -C option" +msgstr "-C 옵션 사용을 허가받지 않았습니다" + +#: plugins/sudoers/sudoers.c:544 +#, c-format +msgid "timestamp owner (%s): No such user" +msgstr "타임스탬프 소유자(%s): 사용자 없음" + +#: plugins/sudoers/sudoers.c:559 +msgid "no tty" +msgstr "tty 없음" + +#: plugins/sudoers/sudoers.c:560 +msgid "sorry, you must have a tty to run sudo" +msgstr "죄송하지만 sudo를 실행하려면 tty를 확보해야합니다" + +#: plugins/sudoers/sudoers.c:567 +#, c-format +msgid "invalid shell for user %s: %s" +msgstr "%s 사용자에게 부적절한 셸 제공: %s" + +#: plugins/sudoers/sudoers.c:650 +msgid "command in current directory" +msgstr "현재 디렉터리의 명령" + +#: plugins/sudoers/sudoers.c:665 +msgid "\"cd\" is a shell built-in command, it cannot be run directly." +msgstr "\"cd\"는 셸 내장 명령으로, 직접 실행할 수 없습니다." + +#: plugins/sudoers/sudoers.c:667 +msgid "the -s option may be used to run a privileged shell." +msgstr "-s 옵션은 별도 권한을 부여한 셸에서 실행할 때 사용합니다." + +#: plugins/sudoers/sudoers.c:669 +msgid "the -D option may be used to run a command in a specific directory." +msgstr "-D 옵션은 지정 디렉터리에서 명령을 실행할 때 사용합니다." + +#: plugins/sudoers/sudoers.c:678 +msgid "user not allowed to set a command timeout" +msgstr "사용자가 명령 처리 제한 시간을 설정하도록 허용하지 않았습니다" + +#: plugins/sudoers/sudoers.c:680 +msgid "sorry, you are not allowed set a command timeout" +msgstr "죄송하지만, 명령 처리 제한 시간을 설정할 수 없습니다" + +#: plugins/sudoers/sudoers.c:688 +msgid "user not allowed to preserve the environment" +msgstr "사용자가 환경 설정 값을 유지하도록 허용하지 않았습니다" + +#: plugins/sudoers/sudoers.c:690 +msgid "sorry, you are not allowed to preserve the environment" +msgstr "죄송하지만 이 환경 상태를 유지하도록 허가받지 않았습니다" + +#: plugins/sudoers/sudoers.c:799 +msgid "error setting user-specified environment variables" +msgstr "사용자 지정 환경 변수 설정 오류" + +#: plugins/sudoers/sudoers.c:1112 +msgid "sudoedit doesn't need to be run via sudo" +msgstr "sudoedit는 sudo로 실행할 필요가 없습니다" + +#: plugins/sudoers/sudoers.c:1157 plugins/sudoers/sudoreplay.c:1612 +#: plugins/sudoers/tsdump.c:138 +#, c-format +msgid "unable to read %s" +msgstr "%s을(를) 읽을 수 없습니다" + +#: plugins/sudoers/sudoers.c:1186 plugins/sudoers/visudo.c:1066 +#, c-format +msgid "%s is not a regular file" +msgstr "%s은(는) 일반 파일이 아닙니다" + +#: plugins/sudoers/sudoers.c:1190 plugins/sudoers/timestamp.c:263 toke.l:1255 +#, c-format +msgid "%s is owned by uid %u, should be %u" +msgstr "%s은(는) %u uid가 소유했지만, %u uid가 소유해야합니다" + +#: plugins/sudoers/sudoers.c:1194 plugins/sudoers/timestamp.c:270 toke.l:1260 +#, c-format +msgid "%s is world writable" +msgstr "%s에 모두가 기록할 수 있습니다" + +#: plugins/sudoers/sudoers.c:1198 plugins/sudoers/timestamp.c:275 toke.l:1263 +#, c-format +msgid "%s is owned by gid %u, should be %u" +msgstr "%s은(는) %u gid가 소유했지만, %u gid가 소유해야합니다" + +#: plugins/sudoers/sudoers.c:1233 +#, c-format +msgid "only root can use \"-c %s\"" +msgstr "루트만 \"-c %s\" 옵션을 사용할 수 있습니다" + +#: plugins/sudoers/sudoers.c:1252 +#, c-format +msgid "unknown login class %s" +msgstr "알 수 없는 로그인 클래스 %s" + +#: plugins/sudoers/sudoers.c:1339 plugins/sudoers/sudoers.c:1354 +#, c-format +msgid "unable to resolve host %s" +msgstr "%s 호스트를 해석할 수 없습니다" + +#: plugins/sudoers/sudoreplay.c:252 +#, c-format +msgid "invalid filter option: %s" +msgstr "부적절한 필터 옵션: %s" + +#: plugins/sudoers/sudoreplay.c:268 +#, c-format +msgid "invalid max wait: %s" +msgstr "부적절한 최대 대기 시간 값: %s" + +#: plugins/sudoers/sudoreplay.c:291 +#, c-format +msgid "invalid speed factor: %s" +msgstr "부적절한 속도 인수: %s" + +#: plugins/sudoers/sudoreplay.c:326 +#, c-format +msgid "invalid time offset %s" +msgstr "부적절한 시간 오프셋 %s" + +#: plugins/sudoers/sudoreplay.c:335 +#, c-format +msgid "%s/%.2s/%.2s/%.2s: %s" +msgstr "%s/%.2s/%.2s/%.2s: %s" + +#: plugins/sudoers/sudoreplay.c:340 +#, c-format +msgid "%s/timing: %s" +msgstr "%s/timing: %s" + +#: plugins/sudoers/sudoreplay.c:368 +#, c-format +msgid "Replaying sudo session: %s" +msgstr "sudo 세션 재현 중: %s" + +#: plugins/sudoers/sudoreplay.c:634 +msgid "unable to set tty to raw mode" +msgstr "RAW 모드로 tty를 설정할 수 없습니다" + +#: plugins/sudoers/sudoreplay.c:685 +msgid "Warning: your terminal is too small to properly replay the log.\n" +msgstr "경고: 터미널 화면이 로그를 올바르게 나타내기에 너무 작습니다.\n" + +#: plugins/sudoers/sudoreplay.c:686 +#, c-format +msgid "Log geometry is %d x %d, your terminal's geometry is %d x %d." +msgstr "로그 화면 크기는 %d x %d 이지만, 터미널 화면 크기는 %d x %d 입니다." + +#: plugins/sudoers/sudoreplay.c:714 +msgid "Replay finished, press any key to restore the terminal." +msgstr "재현에 끝났습니다. 터미널을 복원하려면 아무 키나 누르십시오." + +#: plugins/sudoers/sudoreplay.c:1216 plugins/sudoers/sudoreplay.c:1246 +#, c-format +msgid "ambiguous expression \"%s\"" +msgstr "모호한 식 \"%s\"" + +#: plugins/sudoers/sudoreplay.c:1268 +msgid "unmatched ')' in expression" +msgstr "수식에 일치하지 않는 ')'" + +#: plugins/sudoers/sudoreplay.c:1272 +#, c-format +msgid "unknown search term \"%s\"" +msgstr "알 수 없는 검색어 \"%s\"" + +#: plugins/sudoers/sudoreplay.c:1287 +#, c-format +msgid "%s requires an argument" +msgstr "%s에 인자가 필요합니다" + +#: plugins/sudoers/sudoreplay.c:1297 +#, c-format +msgid "could not parse date \"%s\"" +msgstr "\"%s\" 날짜를 해석할 수 없습니다" + +#: plugins/sudoers/sudoreplay.c:1306 +msgid "unmatched '(' in expression" +msgstr "수식에 일치하지 않는 '('" + +#: plugins/sudoers/sudoreplay.c:1308 +msgid "illegal trailing \"or\"" +msgstr "잘못된 후위 연산자 \"or\"" + +#: plugins/sudoers/sudoreplay.c:1310 +msgid "illegal trailing \"!\"" +msgstr "잘못된 후위 문자 \"!\"" + +#: plugins/sudoers/sudoreplay.c:1416 +#, c-format +msgid "unknown search type %d" +msgstr "알 수 없는 검색 형식 %d" + +#: plugins/sudoers/sudoreplay.c:1678 +#, c-format +msgid "usage: %s [-hnRS] [-d dir] [-m num] [-s num] ID\n" +msgstr "사용법: %s [-hnRS] [-d <디렉터리>] [-m <숫자>] [-s <숫자>] \n" + +#: plugins/sudoers/sudoreplay.c:1680 +#, c-format +msgid "usage: %s [-h] [-d dir] -l [search expression]\n" +msgstr "사용법: %s [-h] [-d <디렉터리>] -l [<검색식>]\n" + +#: plugins/sudoers/sudoreplay.c:1694 +#, c-format +msgid "" +"%s - replay sudo session logs\n" +"\n" +msgstr "" +"%s - sudo 세션 로그를 보여줍니다\n" +"\n" + +#: plugins/sudoers/sudoreplay.c:1696 +msgid "" +"\n" +"Options:\n" +" -d, --directory=dir specify directory for session logs\n" +" -f, --filter=filter specify which I/O type(s) to display\n" +" -h, --help display help message and exit\n" +" -l, --list list available session IDs, with optional expression\n" +" -m, --max-wait=num max number of seconds to wait between events\n" +" -n, --non-interactive no prompts, session is sent to the standard output\n" +" -R, --no-resize do not attempt to re-size the terminal\n" +" -S, --suspend-wait wait while the command was suspended\n" +" -s, --speed=num speed up or slow down output\n" +" -V, --version display version information and exit" +msgstr "" +"\n" +"옵션:\n" +" -d, --directory=<디렉터리> 세션 로그 디렉터리를 지정합니다\n" +" -f, --filter=<필터> 화면에 나타낼 입출력 형식을 지정합니다\n" +" -h, --help 도움말 메시지를 나타낸 후 빠져나갑니다\n" +" -l, --list 유효한 세션 ID 및 추가 표현식을 목록으로 보여줍니다\n" +" -m, --max-wait=<숫자> 이벤트 처리간 초 단위 최대 대기 시간\n" +" -n, --non-interactive 프롬프트를 표시하지 않고 세션을 표준출력으로 보냅니다\n" +" -R, --no-resize 터미널 크기 조정 시도를 하지 않습니다\n" +" -S, -suspend-wait 명령 실행을 멈추는 동안 대기합니다\n" +" -s, --speed=<숫자> 출력 속도를 올리거나 내립니다\n" +" -V, --version 버전 정보를 나타낸 후 빠져나갑니다" + +#: plugins/sudoers/testsudoers.c:344 +msgid "\thost unmatched" +msgstr "\t호스트가 일치하지 않습니다" + +#: plugins/sudoers/testsudoers.c:347 +msgid "" +"\n" +"Command allowed" +msgstr "" +"\n" +"명령 허용함" + +#: plugins/sudoers/testsudoers.c:348 +msgid "" +"\n" +"Command denied" +msgstr "" +"\n" +"명령 거부함" + +#: plugins/sudoers/testsudoers.c:348 +msgid "" +"\n" +"Command unmatched" +msgstr "" +"\n" +"명령이 일치하지 않음" + +#: plugins/sudoers/timestamp.c:354 plugins/sudoers/timestamp.c:693 +#, c-format +msgid "unable to truncate time stamp file to %lld bytes" +msgstr "타임스탬프 파일을 %lld 바이트로 자를 수 없습니다" + +#: plugins/sudoers/timestamp.c:890 +msgid "ignoring time stamp from the future" +msgstr "미래 타임스탬프 값 무시" + +#: plugins/sudoers/timestamp.c:913 +#, c-format +msgid "time stamp too far in the future: %20.20s" +msgstr "타임스탬프 값이 미래 값으로 너무 밀려있습니다: %20.20s" + +#: plugins/sudoers/timestamp.c:1042 +#, c-format +msgid "unable to lock time stamp file %s" +msgstr "%s 타임스탬프 파일을 잠글 수 없습니다" + +#: plugins/sudoers/toke_util.c:156 +msgid "sudoedit should not be specified with a path" +msgstr "sudoedit에 경로를 지정하면 안됩니다" + +#: plugins/sudoers/visudo.c:254 +msgid "the -x option will be removed in a future release" +msgstr "-x 옵션은 추후 릴리스에서 제거 예정입니다" + +#: plugins/sudoers/visudo.c:256 +msgid "please consider using the cvtsudoers utility instead" +msgstr "cvtsudoers 유틸리티를 대신 사용해보십시오" + +#: plugins/sudoers/visudo.c:311 plugins/sudoers/visudo.c:702 +#, c-format +msgid "press return to edit %s: " +msgstr "%s 항목을 편집하려면 return 키를 누르십시오: " + +#: plugins/sudoers/visudo.c:326 +#, c-format +msgid "contents of edit session left in %s" +msgstr "%s에 편집 세션 내용이 남았습니다" + +#: plugins/sudoers/visudo.c:403 +#, c-format +msgid "specified editor (%s) doesn't exist" +msgstr "지정 편집기(%s)가 없습니다" + +#: plugins/sudoers/visudo.c:408 +#, c-format +msgid "no editor found (editor path = %s)" +msgstr "편집기가 없습니다(편집기 경로 = %s)" + +#: plugins/sudoers/visudo.c:495 plugins/sudoers/visudo.c:774 +#, c-format +msgid "unable to stat %s" +msgstr "%s의 상태를 가져올 수 없습니다" + +#: plugins/sudoers/visudo.c:515 plugins/sudoers/visudo.c:523 +msgid "write error" +msgstr "쓰기 오류" + +#: plugins/sudoers/visudo.c:569 +#, c-format +msgid "unable to stat temporary file (%s), %s unchanged" +msgstr "임시 파일 상태를 가져올 수 없습니다(%s). %s을(를) 바꾸지 않았습니다" + +#: plugins/sudoers/visudo.c:576 +#, c-format +msgid "zero length temporary file (%s), %s unchanged" +msgstr "임시 파일 길이가 0입니다(%s). %s을(를) 바꾸지 않았습니다" + +#: plugins/sudoers/visudo.c:582 +#, c-format +msgid "editor (%s) failed, %s unchanged" +msgstr "편집기(%s) 실패. %s을(를) 바꾸지 않았습니다" + +#: plugins/sudoers/visudo.c:604 +#, c-format +msgid "%s unchanged" +msgstr "%s 바꾸지 않음" + +#: plugins/sudoers/visudo.c:649 +#, c-format +msgid "unable to re-open temporary file (%s), %s unchanged." +msgstr "임시 파일(%s)을 다시 열 수 없습니다. %s을(를) 바꾸지 않았습니다." + +#: plugins/sudoers/visudo.c:662 +#, c-format +msgid "unable to parse temporary file (%s), unknown error" +msgstr "임시 파일(%s)을 해석할 수 없습니다. 알 수 없는 오류" + +#: plugins/sudoers/visudo.c:748 plugins/sudoers/visudo.c:778 +#: plugins/sudoers/visudo.c:785 +#, c-format +msgid "unable to set (uid, gid) of %s to (%u, %u)" +msgstr "%s의 uid/gid를 %u/%u 값으로 설정할 수 없습니다" + +#: plugins/sudoers/visudo.c:813 +#, c-format +msgid "%s and %s not on the same file system, using mv to rename" +msgstr "%s 및 %s은(는) 동일한 파일 시스템에 없습니다. mv 명령으로 이름을 바꿉니다" + +#: plugins/sudoers/visudo.c:824 +#, c-format +msgid "command failed: '%s %s %s', %s unchanged" +msgstr "명령 실행 실패: '%s %s %s', %s을(를) 바꾸지 않았습니다" + +#: plugins/sudoers/visudo.c:831 +#, c-format +msgid "error renaming %s, %s unchanged" +msgstr "%s 이름 바꾸기 오류. %s을(를) 바꾸지 않았습니다" + +#: plugins/sudoers/visudo.c:851 +msgid "What now? " +msgstr "어떻게 하시겠습니까? " + +#: plugins/sudoers/visudo.c:865 +msgid "" +"Options are:\n" +" (e)dit sudoers file again\n" +" e(x)it without saving changes to sudoers file\n" +" (Q)uit and save changes to sudoers file (DANGER!)\n" +msgstr "" +"사용할 수 있는 옵션:\n" +" sudoers 파일을 다시 편집합니다(E)\n" +" sudoers 파일을 바꾼 상태에서 저장하지 않고 나갑니다(X)\n" +" sudoers 파일을 바꾼 상태에서 저장하고 끝냅니다(Q)\n" + +#: plugins/sudoers/visudo.c:911 +#, c-format +msgid "unable to run %s" +msgstr "%s을(를) 실행할 수 없음" + +#: plugins/sudoers/visudo.c:942 +#, c-format +msgid "%s: wrong owner (uid, gid) should be (%u, %u)\n" +msgstr "%s: 잘못된 소유자 uid/gid를 %u/%u 값으로 설정해야 합니다\n" + +#: plugins/sudoers/visudo.c:953 +#, c-format +msgid "%s: bad permissions, should be mode 0%o\n" +msgstr "%s: 잘못된 권한입니다. 0%o 모드 값을 설정해야 합니다\n" + +#: plugins/sudoers/visudo.c:999 plugins/sudoers/visudo.c:1006 +#, c-format +msgid "%s: parsed OK\n" +msgstr "%s: 해석 성공\n" + +#: plugins/sudoers/visudo.c:1025 +#, c-format +msgid "%s busy, try again later" +msgstr "%s을(를) 사용중입니다. 나중에 다시 시도하십시오" + +#: plugins/sudoers/visudo.c:1029 +msgid "Edit anyway? [y/N]" +msgstr "그래도 편집하시겠습니까? [y/N]" + +#: plugins/sudoers/visudo.c:1130 +#, c-format +msgid "Warning: %s:%d:%d: unused %s \"%s\"" +msgstr "경고: %s:%d:%d 사용하지 않는 %s \"%s\"이(가) 있습니다" + +#: plugins/sudoers/visudo.c:1242 +#, c-format +msgid "" +"%s - safely edit the sudoers file\n" +"\n" +msgstr "" +"%s - sudoers 파일을 안전하게 편집합니다\n" +"\n" + +#: plugins/sudoers/visudo.c:1244 +msgid "" +"\n" +"Options:\n" +" -c, --check check-only mode\n" +" -f, --file=sudoers specify sudoers file location\n" +" -h, --help display help message and exit\n" +" -I, --no-includes do not edit include files\n" +" -q, --quiet less verbose (quiet) syntax error messages\n" +" -s, --strict strict syntax checking\n" +" -V, --version display version information and exit\n" +msgstr "" +"\n" +"옵션:\n" +" -c, --check 확인 전용 모드\n" +" -f, --file=sudoers sudoers 파일 위치를 지정합니다\n" +" -h, --help 도움말 메시지를 나타낸 후 빠져나갑니다\n" +" -I, --no-includes 인클루드 파일을 편집하지 않습니다\n" +" -q, --quiet 자세한 문법 오류 메시지를 줄입니다(없앰)\n" +" -s, --strict 엄격한 문법 검사를 시행합니다\n" +" -V, --version 버전 정보를 나타낸 후 빠져나갑니다\n" + +#: toke.l:189 +msgid "empty string" +msgstr "빈 문자열" + +#: toke.l:201 toke.l:571 +msgid "empty group" +msgstr "빈 그룹" + +#: toke.l:211 toke.l:569 +msgid "empty netgroup" +msgstr "빈 네트워크 그룹" + +#: toke.l:289 +msgid "unterminated regular expression" +msgstr "끝나지 않은 정규 표현식" + +#: toke.l:363 toke.l:375 toke.l:387 toke.l:403 toke.l:422 toke.l:462 +msgid "invalid line continuation" +msgstr "부적절한 연속 문자" + +#: toke.l:608 toke.l:620 +msgid "invalid IPv6 address" +msgstr "부적절한 IPv6 주소" + +#: toke.l:876 +msgid "unexpected line break in string" +msgstr "예기치 않은 개행 문자 발견" + +#: toke.l:1226 +msgid "too many levels of includes" +msgstr "포함 레벨이 너무 많습니다" + +#~ msgid "%s must be owned by uid %d" +#~ msgstr "%s은(는) %d uid가 소유해야 합니다" + +#~ msgid "%s must only be writable by owner" +#~ msgstr "%s은(는) 소유자만 쓸 수 있습니다" + +#~ msgid "%s is group writable" +#~ msgstr "%s은(는) 그룹이 기록할 수 있습니다" + +#~ msgid "lecture status path too long: %s/%s" +#~ msgstr "지침 상태 경로가 너무 깁니다: %s/%s" + +#~ msgid "Error: %s:%d:%d: cycle in %s \"%s\"" +#~ msgstr "오류: %4$s \"%5$s\"의 %1$s:%2$d:%3$d: 사이클" + +#~ msgid "Warning: %s:%d:%d: cycle in %s \"%s\"" +#~ msgstr "경고: %4$s \"%5$s\"의 %1$s:%2$d:%3$d: 사이클" + +#~ msgid "Warning: %s:%d:%d: %s \"%s\" referenced but not defined" +#~ msgstr "경고: %s:%d:%d: %s \"%s\"을(를) 참조했지만 정의하지 않았습니다" + +#~ msgid "parse error in %s near line %d\n" +#~ msgstr "%s %d번째 줄 인근 해석 오류\n" + +#~ msgid "parse error in %s\n" +#~ msgstr "%s 해석 오류\n" + +#~ msgid "%s: unknown defaults entry \"%s\"" +#~ msgstr "%s: 알 수 없는 \"%s\" 기본 항목" + +#~ msgid "%s:%d:%d: no value specified for \"%s\"" +#~ msgstr "%s:%d:%d \"%s\"에 지정한 값이 없습니다" + +#~ msgid "%s:%d:%d: invalid operator \"%c=\" for \"%s\"" +#~ msgstr "%1$s:%2$d:%3$d: \"%5$s\"에 부적절한 연산자 \"%4$c=\"" + +#~ msgid "%s:%d:%d: option \"%s\" does not take a value" +#~ msgstr "%s:%d:%d: \"%s\" 옵션에 값이 없습니다" + +#~ msgid "%s:%d:%d: invalid Defaults type 0x%x for option \"%s\"" +#~ msgstr "%1$s:%2$d:%3$d \"%5$s\" 옵션의 부적절한 기본 형식 0x%4$x" + +#~ msgid "%s:%d:%d: value \"%s\" is invalid for option \"%s\"" +#~ msgstr "%s:%d:%d: \"%s\" 값은 \"%s\" 옵션에 맞지 않습니다" + +#~ msgid "%s:%d:%d: path name for \"%s\" too long" +#~ msgstr "%s:%d:%d: \"%s\" 경로 이름이 너무 깁니다" + +#~ msgid "%s: path name for \"%s\" too long" +#~ msgstr "%s: \"%s\" 경로 이름이 너무 깁니다" + +#~ msgid "%s:%d:%d: values for \"%s\" must start with a '/', '~', or '*'" +#~ msgstr "%s:%d:%d: \"%s\" 값은 '/'; '~'; '*' 문자로 시작해야합니다" + +#~ msgid "%s:%d:%d: values for \"%s\" must start with a '/'" +#~ msgstr "%s:%d:%d: \"%s\" 값은 '/' 문자로 시작해야합니다" + +#~ msgid "parse error in %s near line %d" +#~ msgstr "%s %d번째 줄에서 해석 오류" + +#~ msgid "parse error in %s" +#~ msgstr "%s 해석 오류" + +#~ msgid "SELinux RBAC is not supported when intercept mode is enabled" +#~ msgstr "차단 모드를 활성화하면 SELinux RBAC를 지원하지 않습니다" + +#~ msgid "SELinux RBAC is not supported when the log_subcmds flag is enabled" +#~ msgstr "log_subcmds 플래그를 켜두면 SELinux RBAC를 지원하지 않습니다" + +#~ msgid "problem with defaults entries" +#~ msgstr "기본 항목에 문제 발생" + +#~ msgid "internal error, unable to find %s in list!" +#~ msgstr "내부 오류. %s을(를) 목록에서 찾을 수 없습니다!" + +#~ msgid "%s is not in the sudoers file. This incident will be reported.\n" +#~ msgstr "%s은(는) sudoers 설정 파일에 없습니다. 이 시도를 보고합니다.\n" + +#~ msgid "%s is not allowed to run sudo on %s. This incident will be reported.\n" +#~ msgstr "%s은(는) %s에서 sudo를 실행하도록 허가받지 않았습니다. 이 시도를 보고합니다.\n" + +#~ msgid "%s: write buffer already in use" +#~ msgstr "%s: 쓰기 버퍼를 이미 사용중입니다" + +#~ msgid "unable to read diffie-hellman parameters: %s" +#~ msgstr "디피-헬먼 매개변수를 읽을 수 없습니다: %s" + +#~ msgid "%s:%d unknown key: %s" +#~ msgstr "%s:%d 알 수 없는 키: %s" + +#~ msgid "unable to get TLS server method: %s" +#~ msgstr "TLS 서버 처리 정보를 가져올 수 없습니다: %s" + +#~ msgid "%s:%u unable to parse \"%s\"" +#~ msgstr "%s:%u \"%s\"을(를) 해석할 수 없습니다" + +#~ msgid "" +#~ "\n" +#~ "Options:\n" +#~ " -f, --file path to configuration file\n" +#~ " -h --help display help message and exit\n" +#~ " -n, --no-fork do not fork, run in the foreground\n" +#~ " -R, --random-drop percent chance connections will drop\n" +#~ " -V, --version display version information and exit\n" +#~ msgstr "" +#~ "\n" +#~ "Options:\n" +#~ " -f, --file 설정 파일 경고\n" +#~ " -h --help 도움말 메시지를 나타낸 후 나갑니다\n" +#~ " -n, --no-fork 별도의 스레드를 만들지 않고, 전면에서 실행합니다\n" +#~ " -R, --random-drop 연결을 쳐낼 백분율\n" +#~ " -V, --version 버전 정보를 나타낸 후 나갑니다\n" + +#~ msgid "" +#~ "\n" +#~ "Options:\n" +#~ " --help display help message and exit\n" +#~ " -A, --accept only send an accept event (no I/O)\n" +#~ " -h, --host host to send logs to\n" +#~ " -i, --iolog_id remote ID of I/O log to be resumed\n" +#~ " -p, --port port to use when connecting to host\n" +#~ " -r, --restart restart previous I/O log transfer\n" +#~ " -R, --reject reject the command with the given reason\n" +#~ " -b, --ca-bundle certificate bundle file to verify server's cert against\n" +#~ " -c, --cert certificate file for TLS handshake\n" +#~ " -k, --key private key file\n" +#~ " -n, --no-verify do not verify server certificate\n" +#~ " -t, --test test audit server by sending selected I/O log n times in parallel\n" +#~ " -V, --version display version information and exit\n" +#~ msgstr "" +#~ "\n" +#~ "옵션:\n" +#~ " --help 도움말 메시지를 나타낸 후 나갑니다\n" +#~ " -A, --accept 수락 이벤트만 전송 (입출력 안 함)\n" +#~ " -h, --host 로그 전송 대상 호스트\n" +#~ " -i, --iolog_id 입출력 로그를 재개할 원격 ID\n" +#~ " -p, --port 호스트 연결시 사용할 포트 번호\n" +#~ " -r, --restart 이전 입출력 로그 전송 다시 시작\n" +#~ " -R, --reject 주어진 조건에 대해 명령 거절\n" +#~ " -b, --ca-bundle 서버 인증서 검증용 인증 번들 파일\n" +#~ " -c, --cert TLS 핸드셰이크용 인증서 파일\n" +#~ " -k, --key 개인 키 파일\n" +#~ " -n, --no-verify 서버 인증서를 검증하지 않음\n" +#~ " -t, --test 선택한 입출력 로그를 병렬로 n회 전송하여 감사 서버 테스트\n" +#~ " -V, --version 버전 정보를 나타 후 나갑니다\n" + +#~ msgid "Preload the dummy exec functions contained in the sudo_noexec library" +#~ msgstr "sudo_noexec 라이브러리에 있는 모조 exec 함수 미리 불러오기" + +#~ msgid "sudo_ldap_conf_add_ports: port too large" +#~ msgstr "sudo_ldap_conf_add_ports: 포트 값이 너무 큽니다" + +#~ msgid "No user or host" +#~ msgstr "사용자 또는 호스트 없음" + +#~ msgid "validation failure" +#~ msgstr "검증 실패" + +#~ msgid "ignoring invalid attribute value: %s" +#~ msgstr "잘못된 속성 값 무시: %s" + +#~ msgid "unable to cache user %s, out of memory" +#~ msgstr "%s 사용자를 캐시에 적재할 수 없습니다. 메모리가 부족합니다." + +#~ msgid "unable to cache group %s, out of memory" +#~ msgstr "%s 그룹을 캐시에 적재할 수 없습니다. 메모리가 부족합니다." + +#~ msgid "unable to cache group list for %s, out of memory" +#~ msgstr "%s 그룹 목록을 캐시에 적재할 수 없습니다. 메모리가 부족합니다." + +#~ msgid "audit_failure message too long" +#~ msgstr "audit_failure 메시지가 너무 깁니다" + +#~ msgid "" +#~ "\n" +#~ "LDAP Role: UNKNOWN\n" +#~ msgstr "" +#~ "\n" +#~ "LDAP 역할: 알 수 없음\n" + +#~ msgid " Order: %s\n" +#~ msgstr " 순서: %s\n" + +#~ msgid "" +#~ "\n" +#~ "SSSD Role: %s\n" +#~ msgstr "" +#~ "\n" +#~ "SSSD 역할: %s\n" + +#~ msgid "" +#~ "\n" +#~ "SSSD Role: UNKNOWN\n" +#~ msgstr "" +#~ "\n" +#~ "SSSD 역할: 알 수 없음\n" diff --git a/plugins/sudoers/po/lt.mo b/plugins/sudoers/po/lt.mo new file mode 100644 index 0000000..1d2e70d Binary files /dev/null and b/plugins/sudoers/po/lt.mo differ diff --git a/plugins/sudoers/po/lt.po b/plugins/sudoers/po/lt.po new file mode 100644 index 0000000..8db0e29 --- /dev/null +++ b/plugins/sudoers/po/lt.po @@ -0,0 +1,1682 @@ +# SOME DESCRIPTIVE TITLE. +# This file is put in the public domain. +# FIRST AUTHOR , YEAR. +# Algimantas Margevičius , 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: sudoers 1.8.4rc1\n" +"Report-Msgid-Bugs-To: http://www.sudo.ws/bugs\n" +"POT-Creation-Date: 2012-02-06 15:48-0500\n" +"PO-Revision-Date: 2012-02-25 11:56+0200\n" +"Last-Translator: Algimantas Margevičius \n" +"Language-Team: Lithuanian \n" +"Language: lt\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2)\n" + +#: plugins/sudoers/alias.c:125 +#, c-format +msgid "Alias `%s' already defined" +msgstr "" + +#: plugins/sudoers/bsm_audit.c:61 plugins/sudoers/bsm_audit.c:64 +#: plugins/sudoers/bsm_audit.c:113 plugins/sudoers/bsm_audit.c:117 +#: plugins/sudoers/bsm_audit.c:169 plugins/sudoers/bsm_audit.c:173 +msgid "getaudit: failed" +msgstr "" + +#: plugins/sudoers/bsm_audit.c:91 plugins/sudoers/bsm_audit.c:154 +msgid "Could not determine audit condition" +msgstr "" + +#: plugins/sudoers/bsm_audit.c:102 +msgid "getauid failed" +msgstr "" + +#: plugins/sudoers/bsm_audit.c:104 plugins/sudoers/bsm_audit.c:163 +msgid "au_open: failed" +msgstr "" + +#: plugins/sudoers/bsm_audit.c:119 plugins/sudoers/bsm_audit.c:175 +msgid "au_to_subject: failed" +msgstr "" + +#: plugins/sudoers/bsm_audit.c:123 plugins/sudoers/bsm_audit.c:179 +msgid "au_to_exec_args: failed" +msgstr "" + +#: plugins/sudoers/bsm_audit.c:127 plugins/sudoers/bsm_audit.c:188 +msgid "au_to_return32: failed" +msgstr "" + +#: plugins/sudoers/bsm_audit.c:130 plugins/sudoers/bsm_audit.c:191 +msgid "unable to commit audit record" +msgstr "" + +#: plugins/sudoers/bsm_audit.c:161 +msgid "getauid: failed" +msgstr "" + +#: plugins/sudoers/bsm_audit.c:184 +msgid "au_to_text: failed" +msgstr "" + +#: plugins/sudoers/check.c:158 +#, c-format +msgid "sorry, a password is required to run %s" +msgstr "" + +#: plugins/sudoers/check.c:249 plugins/sudoers/iolog.c:172 +#: plugins/sudoers/sudoers.c:992 plugins/sudoers/sudoreplay.c:348 +#: plugins/sudoers/sudoreplay.c:357 plugins/sudoers/sudoreplay.c:703 +#: plugins/sudoers/sudoreplay.c:797 plugins/sudoers/visudo.c:790 +#, c-format +msgid "unable to open %s" +msgstr "" + +#: plugins/sudoers/check.c:253 plugins/sudoers/iolog.c:202 +#, c-format +msgid "unable to write to %s" +msgstr "" + +#: plugins/sudoers/check.c:261 plugins/sudoers/check.c:506 +#: plugins/sudoers/check.c:556 plugins/sudoers/iolog.c:123 +#: plugins/sudoers/iolog.c:156 +#, c-format +msgid "unable to mkdir %s" +msgstr "" + +#: plugins/sudoers/check.c:396 +#, c-format +msgid "internal error, expand_prompt() overflow" +msgstr "" + +#: plugins/sudoers/check.c:456 +#, c-format +msgid "timestamp path too long: %s" +msgstr "" + +#: plugins/sudoers/check.c:485 plugins/sudoers/check.c:529 +#: plugins/sudoers/iolog.c:158 +#, c-format +msgid "%s exists but is not a directory (0%o)" +msgstr "" + +#: plugins/sudoers/check.c:488 plugins/sudoers/check.c:532 +#: plugins/sudoers/check.c:577 +#, c-format +msgid "%s owned by uid %u, should be uid %u" +msgstr "" + +#: plugins/sudoers/check.c:493 plugins/sudoers/check.c:537 +#, c-format +msgid "%s writable by non-owner (0%o), should be mode 0700" +msgstr "" + +#: plugins/sudoers/check.c:501 plugins/sudoers/check.c:545 +#: plugins/sudoers/check.c:613 plugins/sudoers/sudoers.c:978 +#: plugins/sudoers/visudo.c:320 plugins/sudoers/visudo.c:582 +#, c-format +msgid "unable to stat %s" +msgstr "" + +#: plugins/sudoers/check.c:571 +#, c-format +msgid "%s exists but is not a regular file (0%o)" +msgstr "" + +#: plugins/sudoers/check.c:583 +#, c-format +msgid "%s writable by non-owner (0%o), should be mode 0600" +msgstr "" + +#: plugins/sudoers/check.c:637 +#, c-format +msgid "timestamp too far in the future: %20.20s" +msgstr "" + +#: plugins/sudoers/check.c:684 +#, c-format +msgid "unable to remove %s (%s), will reset to the epoch" +msgstr "" + +#: plugins/sudoers/check.c:692 +#, c-format +msgid "unable to reset %s to the epoch" +msgstr "" + +#: plugins/sudoers/check.c:752 plugins/sudoers/check.c:758 +#: plugins/sudoers/sudoers.c:829 plugins/sudoers/sudoers.c:833 +#, c-format +msgid "unknown uid: %u" +msgstr "" + +#: plugins/sudoers/check.c:755 plugins/sudoers/sudoers.c:770 +#: plugins/sudoers/sudoers.c:1108 plugins/sudoers/testsudoers.c:218 +#: plugins/sudoers/testsudoers.c:362 +#, c-format +msgid "unknown user: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:27 +#, c-format +msgid "Syslog facility if syslog is being used for logging: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:31 +#, c-format +msgid "Syslog priority to use when user authenticates successfully: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:35 +#, c-format +msgid "Syslog priority to use when user authenticates unsuccessfully: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:39 +msgid "Put OTP prompt on its own line" +msgstr "" + +#: plugins/sudoers/def_data.c:43 +msgid "Ignore '.' in $PATH" +msgstr "" + +#: plugins/sudoers/def_data.c:47 +msgid "Always send mail when sudo is run" +msgstr "" + +#: plugins/sudoers/def_data.c:51 +msgid "Send mail if user authentication fails" +msgstr "" + +#: plugins/sudoers/def_data.c:55 +msgid "Send mail if the user is not in sudoers" +msgstr "" + +#: plugins/sudoers/def_data.c:59 +msgid "Send mail if the user is not in sudoers for this host" +msgstr "" + +#: plugins/sudoers/def_data.c:63 +msgid "Send mail if the user is not allowed to run a command" +msgstr "" + +#: plugins/sudoers/def_data.c:67 +msgid "Use a separate timestamp for each user/tty combo" +msgstr "" + +#: plugins/sudoers/def_data.c:71 +msgid "Lecture user the first time they run sudo" +msgstr "" + +#: plugins/sudoers/def_data.c:75 +#, c-format +msgid "File containing the sudo lecture: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:79 +msgid "Require users to authenticate by default" +msgstr "" + +#: plugins/sudoers/def_data.c:83 +msgid "Root may run sudo" +msgstr "" + +#: plugins/sudoers/def_data.c:87 +msgid "Log the hostname in the (non-syslog) log file" +msgstr "" + +#: plugins/sudoers/def_data.c:91 +msgid "Log the year in the (non-syslog) log file" +msgstr "" + +#: plugins/sudoers/def_data.c:95 +msgid "If sudo is invoked with no arguments, start a shell" +msgstr "" + +#: plugins/sudoers/def_data.c:99 +msgid "Set $HOME to the target user when starting a shell with -s" +msgstr "" + +#: plugins/sudoers/def_data.c:103 +msgid "Always set $HOME to the target user's home directory" +msgstr "" + +#: plugins/sudoers/def_data.c:107 +msgid "Allow some information gathering to give useful error messages" +msgstr "" + +#: plugins/sudoers/def_data.c:111 +msgid "Require fully-qualified hostnames in the sudoers file" +msgstr "" + +#: plugins/sudoers/def_data.c:115 +msgid "Insult the user when they enter an incorrect password" +msgstr "" + +#: plugins/sudoers/def_data.c:119 +msgid "Only allow the user to run sudo if they have a tty" +msgstr "" + +#: plugins/sudoers/def_data.c:123 +msgid "Visudo will honor the EDITOR environment variable" +msgstr "" + +#: plugins/sudoers/def_data.c:127 +msgid "Prompt for root's password, not the users's" +msgstr "" + +#: plugins/sudoers/def_data.c:131 +msgid "Prompt for the runas_default user's password, not the users's" +msgstr "" + +#: plugins/sudoers/def_data.c:135 +msgid "Prompt for the target user's password, not the users's" +msgstr "" + +#: plugins/sudoers/def_data.c:139 +msgid "Apply defaults in the target user's login class if there is one" +msgstr "" + +#: plugins/sudoers/def_data.c:143 +msgid "Set the LOGNAME and USER environment variables" +msgstr "" + +#: plugins/sudoers/def_data.c:147 +msgid "Only set the effective uid to the target user, not the real uid" +msgstr "" + +#: plugins/sudoers/def_data.c:151 +msgid "Don't initialize the group vector to that of the target user" +msgstr "" + +#: plugins/sudoers/def_data.c:155 +#, c-format +msgid "Length at which to wrap log file lines (0 for no wrap): %d" +msgstr "" + +#: plugins/sudoers/def_data.c:159 +#, c-format +msgid "Authentication timestamp timeout: %.1f minutes" +msgstr "" + +#: plugins/sudoers/def_data.c:163 +#, c-format +msgid "Password prompt timeout: %.1f minutes" +msgstr "" + +#: plugins/sudoers/def_data.c:167 +#, c-format +msgid "Number of tries to enter a password: %d" +msgstr "" + +#: plugins/sudoers/def_data.c:171 +#, c-format +msgid "Umask to use or 0777 to use user's: 0%o" +msgstr "" + +#: plugins/sudoers/def_data.c:175 +#, c-format +msgid "Path to log file: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:179 +#, c-format +msgid "Path to mail program: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:183 +#, c-format +msgid "Flags for mail program: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:187 +#, c-format +msgid "Address to send mail to: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:191 +#, c-format +msgid "Address to send mail from: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:195 +#, c-format +msgid "Subject line for mail messages: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:199 +#, c-format +msgid "Incorrect password message: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:203 +#, c-format +msgid "Path to authentication timestamp dir: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:207 +#, c-format +msgid "Owner of the authentication timestamp dir: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:211 +#, c-format +msgid "Users in this group are exempt from password and PATH requirements: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:215 +#, c-format +msgid "Default password prompt: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:219 +msgid "If set, passprompt will override system prompt in all cases." +msgstr "" + +#: plugins/sudoers/def_data.c:223 +#, c-format +msgid "Default user to run commands as: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:227 +#, c-format +msgid "Value to override user's $PATH with: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:231 +#, c-format +msgid "Path to the editor for use by visudo: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:235 +#, c-format +msgid "When to require a password for 'list' pseudocommand: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:239 +#, c-format +msgid "When to require a password for 'verify' pseudocommand: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:243 +msgid "Preload the dummy exec functions contained in \"_PATH_SUDO_NOEXEC" +msgstr "" + +#: plugins/sudoers/def_data.c:247 +msgid "If LDAP directory is up, do we ignore local sudoers file" +msgstr "" + +#: plugins/sudoers/def_data.c:251 +#, c-format +msgid "File descriptors >= %d will be closed before executing a command" +msgstr "" + +#: plugins/sudoers/def_data.c:255 +msgid "If set, users may override the value of `closefrom' with the -C option" +msgstr "" + +#: plugins/sudoers/def_data.c:259 +msgid "Allow users to set arbitrary environment variables" +msgstr "" + +#: plugins/sudoers/def_data.c:263 +msgid "Reset the environment to a default set of variables" +msgstr "" + +#: plugins/sudoers/def_data.c:267 +msgid "Environment variables to check for sanity:" +msgstr "" + +#: plugins/sudoers/def_data.c:271 +msgid "Environment variables to remove:" +msgstr "" + +#: plugins/sudoers/def_data.c:275 +msgid "Environment variables to preserve:" +msgstr "" + +#: plugins/sudoers/def_data.c:279 +#, c-format +msgid "SELinux role to use in the new security context: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:283 +#, c-format +msgid "SELinux type to use in the new security context: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:287 +#, c-format +msgid "Path to the sudo-specific environment file: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:291 +#, c-format +msgid "Locale to use while parsing sudoers: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:295 +msgid "Allow sudo to prompt for a password even if it would be visible" +msgstr "" + +#: plugins/sudoers/def_data.c:299 +msgid "Provide visual feedback at the password prompt when there is user input" +msgstr "" + +#: plugins/sudoers/def_data.c:303 +msgid "Use faster globbing that is less accurate but does not access the filesystem" +msgstr "" + +#: plugins/sudoers/def_data.c:307 +msgid "The umask specified in sudoers will override the user's, even if it is more permissive" +msgstr "" + +#: plugins/sudoers/def_data.c:311 +msgid "Log user's input for the command being run" +msgstr "" + +#: plugins/sudoers/def_data.c:315 +msgid "Log the output of the command being run" +msgstr "" + +#: plugins/sudoers/def_data.c:319 +msgid "Compress I/O logs using zlib" +msgstr "" + +#: plugins/sudoers/def_data.c:323 +msgid "Always run commands in a pseudo-tty" +msgstr "" + +#: plugins/sudoers/def_data.c:327 +#, c-format +msgid "Plugin for non-Unix group support: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:331 +#, c-format +msgid "Directory in which to store input/output logs: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:335 +#, c-format +msgid "File in which to store the input/output log: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:339 +msgid "Add an entry to the utmp/utmpx file when allocating a pty" +msgstr "" + +#: plugins/sudoers/def_data.c:343 +msgid "Set the user in utmp to the runas user, not the invoking user" +msgstr "" + +#: plugins/sudoers/defaults.c:208 +#, c-format +msgid "unknown defaults entry `%s'" +msgstr "" + +#: plugins/sudoers/defaults.c:216 plugins/sudoers/defaults.c:226 +#: plugins/sudoers/defaults.c:246 plugins/sudoers/defaults.c:259 +#: plugins/sudoers/defaults.c:272 plugins/sudoers/defaults.c:285 +#: plugins/sudoers/defaults.c:298 plugins/sudoers/defaults.c:318 +#: plugins/sudoers/defaults.c:328 +#, c-format +msgid "value `%s' is invalid for option `%s'" +msgstr "" + +#: plugins/sudoers/defaults.c:219 plugins/sudoers/defaults.c:229 +#: plugins/sudoers/defaults.c:237 plugins/sudoers/defaults.c:254 +#: plugins/sudoers/defaults.c:267 plugins/sudoers/defaults.c:280 +#: plugins/sudoers/defaults.c:293 plugins/sudoers/defaults.c:313 +#: plugins/sudoers/defaults.c:324 +#, c-format +msgid "no value specified for `%s'" +msgstr "" + +#: plugins/sudoers/defaults.c:242 +#, c-format +msgid "values for `%s' must start with a '/'" +msgstr "" + +#: plugins/sudoers/defaults.c:304 +#, c-format +msgid "option `%s' does not take a value" +msgstr "" + +#: plugins/sudoers/env.c:258 +#, c-format +msgid "internal error, sudo_setenv() overflow" +msgstr "" + +#: plugins/sudoers/env.c:291 +#, c-format +msgid "sudo_putenv: corrupted envp, length mismatch" +msgstr "" + +#: plugins/sudoers/env.c:710 +#, c-format +msgid "sorry, you are not allowed to set the following environment variables: %s" +msgstr "" + +#: plugins/sudoers/find_path.c:69 plugins/sudoers/find_path.c:108 +#: plugins/sudoers/find_path.c:123 plugins/sudoers/iolog.c:125 +#: plugins/sudoers/sudoers.c:923 toke.l:668 toke.l:823 +#, c-format +msgid "%s: %s" +msgstr "%s: %s" + +#: gram.y:110 +#, c-format +msgid ">>> %s: %s near line %d <<<" +msgstr "" + +#: plugins/sudoers/group_plugin.c:91 +#, c-format +msgid "%s%s: %s" +msgstr "%s%s: %s" + +#: plugins/sudoers/group_plugin.c:103 +#, c-format +msgid "%s must be owned by uid %d" +msgstr "%s turi priklausyti uid %d" + +#: plugins/sudoers/group_plugin.c:107 +#, c-format +msgid "%s must only be writable by owner" +msgstr "%s turi būti įrašomas tik savininkui" + +#: plugins/sudoers/group_plugin.c:114 +#, c-format +msgid "unable to dlopen %s: %s" +msgstr "" + +#: plugins/sudoers/group_plugin.c:119 +#, c-format +msgid "unable to find symbol \"group_plugin\" in %s" +msgstr "" + +#: plugins/sudoers/group_plugin.c:124 +#, c-format +msgid "%s: incompatible group plugin major version %d, expected %d" +msgstr "" + +#: plugins/sudoers/interfaces.c:112 +msgid "Local IP address and netmask pairs:\n" +msgstr "" + +#: plugins/sudoers/iolog.c:179 plugins/sudoers/sudoers.c:999 +#, c-format +msgid "unable to read %s" +msgstr "" + +#: plugins/sudoers/iolog.c:182 +#, c-format +msgid "invalid sequence number %s" +msgstr "" + +#: plugins/sudoers/iolog.c:231 plugins/sudoers/iolog.c:234 +#: plugins/sudoers/iolog.c:499 plugins/sudoers/iolog.c:504 +#: plugins/sudoers/iolog.c:510 plugins/sudoers/iolog.c:518 +#: plugins/sudoers/iolog.c:526 plugins/sudoers/iolog.c:534 +#: plugins/sudoers/iolog.c:542 +#, c-format +msgid "unable to create %s" +msgstr "" + +#: plugins/sudoers/iolog_path.c:256 plugins/sudoers/sudoers.c:362 +#, c-format +msgid "unable to set locale to \"%s\", using \"C\"" +msgstr "" + +#: plugins/sudoers/ldap.c:374 +#, c-format +msgid "sudo_ldap_conf_add_ports: port too large" +msgstr "" + +#: plugins/sudoers/ldap.c:397 +#, c-format +msgid "sudo_ldap_conf_add_ports: out of space expanding hostbuf" +msgstr "" + +#: plugins/sudoers/ldap.c:427 +#, c-format +msgid "unsupported LDAP uri type: %s" +msgstr "" + +#: plugins/sudoers/ldap.c:456 +#, c-format +msgid "invalid uri: %s" +msgstr "" + +#: plugins/sudoers/ldap.c:462 +#, c-format +msgid "unable to mix ldap and ldaps URIs" +msgstr "" + +#: plugins/sudoers/ldap.c:466 +#, c-format +msgid "unable to mix ldaps and starttls" +msgstr "" + +#: plugins/sudoers/ldap.c:485 +#, c-format +msgid "sudo_ldap_parse_uri: out of space building hostbuf" +msgstr "" + +#: plugins/sudoers/ldap.c:550 +#, c-format +msgid "unable to initialize SSL cert and key db: %s" +msgstr "" + +#: plugins/sudoers/ldap.c:958 +#, c-format +msgid "unable to get GMT time" +msgstr "" + +#: plugins/sudoers/ldap.c:964 +#, c-format +msgid "unable to format timestamp" +msgstr "" + +#: plugins/sudoers/ldap.c:972 +#, c-format +msgid "unable to build time filter" +msgstr "" + +#: plugins/sudoers/ldap.c:1185 +#, c-format +msgid "sudo_ldap_build_pass1 allocation mismatch" +msgstr "" + +#: plugins/sudoers/ldap.c:1705 +#, c-format +msgid "" +"\n" +"LDAP Role: %s\n" +msgstr "" + +#: plugins/sudoers/ldap.c:1707 +#, c-format +msgid "" +"\n" +"LDAP Role: UNKNOWN\n" +msgstr "" + +#: plugins/sudoers/ldap.c:1754 +#, c-format +msgid " Order: %s\n" +msgstr "" + +#: plugins/sudoers/ldap.c:1762 +#, c-format +msgid " Commands:\n" +msgstr "" + +#: plugins/sudoers/ldap.c:2161 +#, c-format +msgid "unable to initialize LDAP: %s" +msgstr "" + +#: plugins/sudoers/ldap.c:2192 +#, c-format +msgid "start_tls specified but LDAP libs do not support ldap_start_tls_s() or ldap_start_tls_s_np()" +msgstr "" + +#: plugins/sudoers/ldap.c:2428 +#, c-format +msgid "invalid sudoOrder attribute: %s" +msgstr "" + +#: plugins/sudoers/linux_audit.c:57 +#, c-format +msgid "unable to open audit system" +msgstr "" + +#: plugins/sudoers/linux_audit.c:82 +#, c-format +msgid "internal error, linux_audit_command() overflow" +msgstr "" + +#: plugins/sudoers/linux_audit.c:91 +#, c-format +msgid "unable to send audit message" +msgstr "" + +#: plugins/sudoers/logging.c:198 +#, c-format +msgid "unable to open log file: %s: %s" +msgstr "" + +#: plugins/sudoers/logging.c:201 +#, c-format +msgid "unable to lock log file: %s: %s" +msgstr "" + +#: plugins/sudoers/logging.c:256 +msgid "user NOT in sudoers" +msgstr "" + +#: plugins/sudoers/logging.c:258 +msgid "user NOT authorized on host" +msgstr "" + +#: plugins/sudoers/logging.c:260 +msgid "command not allowed" +msgstr "" + +#: plugins/sudoers/logging.c:270 +#, c-format +msgid "%s is not in the sudoers file. This incident will be reported.\n" +msgstr "%s nėra „sudoers“ faile. Apie šį įvykį bus pranešta.\n" + +#: plugins/sudoers/logging.c:273 +#, c-format +msgid "%s is not allowed to run sudo on %s. This incident will be reported.\n" +msgstr "%s neleidžiama vykdyti „sudo“ kompiuteryje %s. Apie šį įvykį bus pranešta.\n" + +#: plugins/sudoers/logging.c:277 +#, c-format +msgid "Sorry, user %s may not run sudo on %s.\n" +msgstr "Deja, naudotojas %s negali vykdyti „sudo“ kompiuteryje %s.\n" + +#: plugins/sudoers/logging.c:280 +#, c-format +msgid "Sorry, user %s is not allowed to execute '%s%s%s' as %s%s%s on %s.\n" +msgstr "Deja, naudotojui %s neleidžiama vykdyti „%s%s%s“ kaip %s%s%s kompiuteryje %s.\n" + +#: plugins/sudoers/logging.c:420 +#, c-format +msgid "unable to fork" +msgstr "" + +#: plugins/sudoers/logging.c:427 plugins/sudoers/logging.c:489 +#, c-format +msgid "unable to fork: %m" +msgstr "" + +#: plugins/sudoers/logging.c:479 +#, c-format +msgid "unable to open pipe: %m" +msgstr "" + +#: plugins/sudoers/logging.c:504 +#, c-format +msgid "unable to dup stdin: %m" +msgstr "" + +#: plugins/sudoers/logging.c:540 +#, c-format +msgid "unable to execute %s: %m" +msgstr "" + +#: plugins/sudoers/logging.c:755 +#, c-format +msgid "internal error: insufficient space for log line" +msgstr "" + +#: plugins/sudoers/parse.c:123 +#, c-format +msgid "parse error in %s near line %d" +msgstr "" + +#: plugins/sudoers/parse.c:126 +#, c-format +msgid "parse error in %s" +msgstr "" + +#: plugins/sudoers/parse.c:389 +#, c-format +msgid "" +"\n" +"Sudoers entry:\n" +msgstr "" + +#: plugins/sudoers/parse.c:391 +#, c-format +msgid " RunAsUsers: " +msgstr "" + +#: plugins/sudoers/parse.c:406 +#, c-format +msgid " RunAsGroups: " +msgstr "" + +#: plugins/sudoers/parse.c:415 +#, c-format +msgid "" +" Commands:\n" +"\t" +msgstr "" + +#: plugins/sudoers/plugin_error.c:100 plugins/sudoers/plugin_error.c:105 +msgid ": " +msgstr ": " + +#: plugins/sudoers/pwutil.c:260 +#, c-format +msgid "unable to cache uid %u (%s), already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:268 +#, c-format +msgid "unable to cache uid %u, already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:305 plugins/sudoers/pwutil.c:314 +#, c-format +msgid "unable to cache user %s, already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:655 +#, c-format +msgid "unable to cache gid %u (%s), already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:663 +#, c-format +msgid "unable to cache gid %u, already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:693 plugins/sudoers/pwutil.c:702 +#, c-format +msgid "unable to cache group %s, already exists" +msgstr "" + +#: plugins/sudoers/set_perms.c:114 plugins/sudoers/set_perms.c:365 +#: plugins/sudoers/set_perms.c:601 plugins/sudoers/set_perms.c:837 +msgid "perm stack overflow" +msgstr "" + +#: plugins/sudoers/set_perms.c:122 plugins/sudoers/set_perms.c:373 +#: plugins/sudoers/set_perms.c:609 plugins/sudoers/set_perms.c:845 +msgid "perm stack underflow" +msgstr "" + +#: plugins/sudoers/set_perms.c:228 plugins/sudoers/set_perms.c:466 +#: plugins/sudoers/set_perms.c:706 +msgid "unable to change to runas gid" +msgstr "" + +#: plugins/sudoers/set_perms.c:236 plugins/sudoers/set_perms.c:473 +#: plugins/sudoers/set_perms.c:713 +msgid "unable to change to runas uid" +msgstr "" + +#: plugins/sudoers/set_perms.c:250 plugins/sudoers/set_perms.c:486 +#: plugins/sudoers/set_perms.c:726 +#, c-format +msgid "unable to change to sudoers gid" +msgstr "" + +#: plugins/sudoers/set_perms.c:291 plugins/sudoers/set_perms.c:524 +#: plugins/sudoers/set_perms.c:764 plugins/sudoers/set_perms.c:906 +msgid "too many processes" +msgstr "" + +#: plugins/sudoers/set_perms.c:970 +msgid "unable to set runas group vector" +msgstr "" + +#: plugins/sudoers/sudo_nss.c:243 +#, c-format +msgid "Matching Defaults entries for %s on this host:\n" +msgstr "" + +#: plugins/sudoers/sudo_nss.c:256 +#, c-format +msgid "Runas and Command-specific defaults for %s:\n" +msgstr "" + +#: plugins/sudoers/sudo_nss.c:269 +#, c-format +msgid "User %s may run the following commands on this host:\n" +msgstr "" + +#: plugins/sudoers/sudo_nss.c:279 +#, c-format +msgid "User %s is not allowed to run sudo on %s.\n" +msgstr "Naudotojui %s neleidžiama vykdyti „sudo“ kompiuteryje %s.\n" + +#: plugins/sudoers/sudoers.c:201 plugins/sudoers/sudoers.c:232 +#: plugins/sudoers/sudoers.c:931 +msgid "problem with defaults entries" +msgstr "" + +#: plugins/sudoers/sudoers.c:205 +#, c-format +msgid "no valid sudoers sources found, quitting" +msgstr "" + +#: plugins/sudoers/sudoers.c:257 +#, c-format +msgid "unable to execute %s: %s" +msgstr "" + +#: plugins/sudoers/sudoers.c:311 +#, c-format +msgid "sudoers specifies that root is not allowed to sudo" +msgstr "" + +#: plugins/sudoers/sudoers.c:318 +#, c-format +msgid "you are not permitted to use the -C option" +msgstr "" + +#: plugins/sudoers/sudoers.c:408 +#, c-format +msgid "timestamp owner (%s): No such user" +msgstr "" + +#: plugins/sudoers/sudoers.c:424 +msgid "no tty" +msgstr "" + +#: plugins/sudoers/sudoers.c:425 +#, c-format +msgid "sorry, you must have a tty to run sudo" +msgstr "" + +#: plugins/sudoers/sudoers.c:464 +msgid "No user or host" +msgstr "" + +#: plugins/sudoers/sudoers.c:478 plugins/sudoers/sudoers.c:499 +#: plugins/sudoers/sudoers.c:500 plugins/sudoers/sudoers.c:1509 +#: plugins/sudoers/sudoers.c:1510 +#, c-format +msgid "%s: command not found" +msgstr "" + +#: plugins/sudoers/sudoers.c:480 plugins/sudoers/sudoers.c:496 +#, c-format +msgid "" +"ignoring `%s' found in '.'\n" +"Use `sudo ./%s' if this is the `%s' you wish to run." +msgstr "" + +#: plugins/sudoers/sudoers.c:485 +msgid "validation failure" +msgstr "" + +#: plugins/sudoers/sudoers.c:495 +msgid "command in current directory" +msgstr "" + +#: plugins/sudoers/sudoers.c:507 +#, c-format +msgid "sorry, you are not allowed to preserve the environment" +msgstr "" + +#: plugins/sudoers/sudoers.c:657 plugins/sudoers/sudoers.c:664 +#, c-format +msgid "internal error, runas_groups overflow" +msgstr "" + +#: plugins/sudoers/sudoers.c:914 +#, c-format +msgid "internal error, set_cmnd() overflow" +msgstr "" + +#: plugins/sudoers/sudoers.c:957 +#, c-format +msgid "fixed mode on %s" +msgstr "" + +#: plugins/sudoers/sudoers.c:961 +#, c-format +msgid "set group on %s" +msgstr "" + +#: plugins/sudoers/sudoers.c:964 +#, c-format +msgid "unable to set group on %s" +msgstr "" + +#: plugins/sudoers/sudoers.c:967 +#, c-format +msgid "unable to fix mode on %s" +msgstr "" + +#: plugins/sudoers/sudoers.c:980 +#, c-format +msgid "%s is not a regular file" +msgstr "" + +#: plugins/sudoers/sudoers.c:982 +#, c-format +msgid "%s is mode 0%o, should be 0%o" +msgstr "" + +#: plugins/sudoers/sudoers.c:986 +#, c-format +msgid "%s is owned by uid %u, should be %u" +msgstr "%s priklauso uid %u, nors turėtų %u" + +#: plugins/sudoers/sudoers.c:989 +#, c-format +msgid "%s is owned by gid %u, should be %u" +msgstr "%s priklauso gid %u, nors turėtų %u" + +#: plugins/sudoers/sudoers.c:1038 +#, c-format +msgid "only root can use `-c %s'" +msgstr "„-c %s“ gali naudoti tik „root“ naudotojas" + +#: plugins/sudoers/sudoers.c:1049 +#, c-format +msgid "unknown login class: %s" +msgstr "" + +#: plugins/sudoers/sudoers.c:1077 +#, c-format +msgid "unable to resolve host %s" +msgstr "" + +#: plugins/sudoers/sudoers.c:1129 plugins/sudoers/testsudoers.c:380 +#, c-format +msgid "unknown group: %s" +msgstr "" + +#: plugins/sudoers/sudoers.c:1178 +#, c-format +msgid "Sudoers policy plugin version %s\n" +msgstr "" + +#: plugins/sudoers/sudoers.c:1180 +#, c-format +msgid "Sudoers file grammar version %d\n" +msgstr "" + +#: plugins/sudoers/sudoers.c:1184 +#, c-format +msgid "" +"\n" +"Sudoers path: %s\n" +msgstr "" + +#: plugins/sudoers/sudoers.c:1187 +#, c-format +msgid "nsswitch path: %s\n" +msgstr "" + +#: plugins/sudoers/sudoers.c:1189 +#, c-format +msgid "ldap.conf path: %s\n" +msgstr "" + +#: plugins/sudoers/sudoers.c:1190 +#, c-format +msgid "ldap.secret path: %s\n" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:286 +#, c-format +msgid "invalid filter option: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:299 +#, c-format +msgid "invalid max wait: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:305 +#, c-format +msgid "invalid speed factor: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:308 plugins/sudoers/visudo.c:187 +#, c-format +msgid "%s version %s\n" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:333 +#, c-format +msgid "%s/%.2s/%.2s/%.2s/timing: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:339 +#, c-format +msgid "%s/%s/timing: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:364 +#, c-format +msgid "invalid log file %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:366 +#, c-format +msgid "Replaying sudo session: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:392 +#, c-format +msgid "unable to set tty to raw mode" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:406 +#, c-format +msgid "invalid timing file line: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:448 +#, c-format +msgid "writing to standard output" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:480 +#, c-format +msgid "nanosleep: tv_sec %ld, tv_nsec %ld" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:529 plugins/sudoers/sudoreplay.c:554 +#, c-format +msgid "ambiguous expression \"%s\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:571 +#, c-format +msgid "too many parenthesized expressions, max %d" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:582 +#, c-format +msgid "unmatched ')' in expression" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:588 +#, c-format +msgid "unknown search term \"%s\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:602 +#, c-format +msgid "%s requires an argument" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:606 +#, c-format +msgid "invalid regular expression: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:612 +#, c-format +msgid "could not parse date \"%s\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:625 +#, c-format +msgid "unmatched '(' in expression" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:627 +#, c-format +msgid "illegal trailing \"or\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:629 +#, c-format +msgid "illegal trailing \"!\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:851 +#, c-format +msgid "invalid regex: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:976 +#, c-format +msgid "usage: %s [-h] [-d directory] [-m max_wait] [-s speed_factor] ID\n" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:979 +#, c-format +msgid "usage: %s [-h] [-d directory] -l [search expression]\n" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:988 +#, c-format +msgid "" +"%s - replay sudo session logs\n" +"\n" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:990 +msgid "" +"\n" +"Options:\n" +" -d directory specify directory for session logs\n" +" -f filter specify which I/O type to display\n" +" -h display help message and exit\n" +" -l [expression] list available session IDs that match expression\n" +" -m max_wait max number of seconds to wait between events\n" +" -s speed_factor speed up or slow down output\n" +" -V display version information and exit" +msgstr "" + +#: plugins/sudoers/testsudoers.c:246 +#, c-format +msgid "internal error, init_vars() overflow" +msgstr "" + +#: plugins/sudoers/testsudoers.c:331 +msgid "\thost unmatched" +msgstr "" + +#: plugins/sudoers/testsudoers.c:334 +msgid "" +"\n" +"Command allowed" +msgstr "" + +#: plugins/sudoers/testsudoers.c:335 +msgid "" +"\n" +"Command denied" +msgstr "" + +#: plugins/sudoers/testsudoers.c:335 +msgid "" +"\n" +"Command unmatched" +msgstr "" + +#: toke.l:672 toke.l:802 toke.l:827 toke.l:923 plugins/sudoers/toke_util.c:113 +#: plugins/sudoers/toke_util.c:167 plugins/sudoers/toke_util.c:207 +msgid "unable to allocate memory" +msgstr "" + +#: toke.l:795 +msgid "too many levels of includes" +msgstr "" + +#: plugins/sudoers/toke_util.c:218 +msgid "fill_args: buffer overflow" +msgstr "" + +#: plugins/sudoers/visudo.c:188 +#, c-format +msgid "%s grammar version %d\n" +msgstr "" + +#: plugins/sudoers/visudo.c:221 plugins/sudoers/auth/rfc1938.c:104 +#, c-format +msgid "you do not exist in the %s database" +msgstr "" + +#: plugins/sudoers/visudo.c:253 plugins/sudoers/visudo.c:539 +#, c-format +msgid "press return to edit %s: " +msgstr "" + +#: plugins/sudoers/visudo.c:336 plugins/sudoers/visudo.c:342 +#, c-format +msgid "write error" +msgstr "" + +#: plugins/sudoers/visudo.c:424 +#, c-format +msgid "unable to stat temporary file (%s), %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:429 +#, c-format +msgid "zero length temporary file (%s), %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:435 +#, c-format +msgid "editor (%s) failed, %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:458 +#, c-format +msgid "%s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:484 +#, c-format +msgid "unable to re-open temporary file (%s), %s unchanged." +msgstr "" + +#: plugins/sudoers/visudo.c:494 +#, c-format +msgid "unabled to parse temporary file (%s), unknown error" +msgstr "" + +#: plugins/sudoers/visudo.c:532 +#, c-format +msgid "internal error, unable to find %s in list!" +msgstr "" + +#: plugins/sudoers/visudo.c:584 plugins/sudoers/visudo.c:593 +#, c-format +msgid "unable to set (uid, gid) of %s to (%u, %u)" +msgstr "" + +#: plugins/sudoers/visudo.c:588 plugins/sudoers/visudo.c:598 +#, c-format +msgid "unable to change mode of %s to 0%o" +msgstr "" + +#: plugins/sudoers/visudo.c:615 +#, c-format +msgid "%s and %s not on the same file system, using mv to rename" +msgstr "" + +#: plugins/sudoers/visudo.c:629 +#, c-format +msgid "command failed: '%s %s %s', %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:639 +#, c-format +msgid "error renaming %s, %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:702 +msgid "What now? " +msgstr "" + +#: plugins/sudoers/visudo.c:716 +msgid "" +"Options are:\n" +" (e)dit sudoers file again\n" +" e(x)it without saving changes to sudoers file\n" +" (Q)uit and save changes to sudoers file (DANGER!)\n" +msgstr "" + +#: plugins/sudoers/visudo.c:757 +#, c-format +msgid "unable to execute %s" +msgstr "" + +#: plugins/sudoers/visudo.c:764 +#, c-format +msgid "unable to run %s" +msgstr "" + +#: plugins/sudoers/visudo.c:796 +#, c-format +msgid "failed to parse %s file, unknown error" +msgstr "" + +#: plugins/sudoers/visudo.c:808 +#, c-format +msgid "parse error in %s near line %d\n" +msgstr "" + +#: plugins/sudoers/visudo.c:811 +#, c-format +msgid "parse error in %s\n" +msgstr "" + +#: plugins/sudoers/visudo.c:814 plugins/sudoers/visudo.c:816 +#, c-format +msgid "%s: parsed OK\n" +msgstr "" + +#: plugins/sudoers/visudo.c:826 +#, c-format +msgid "%s: wrong owner (uid, gid) should be (%u, %u)\n" +msgstr "" + +#: plugins/sudoers/visudo.c:833 +#, c-format +msgid "%s: bad permissions, should be mode 0%o\n" +msgstr "" + +#: plugins/sudoers/visudo.c:880 +#, c-format +msgid "%s busy, try again later" +msgstr "" + +#: plugins/sudoers/visudo.c:924 +#, c-format +msgid "specified editor (%s) doesn't exist" +msgstr "" + +#: plugins/sudoers/visudo.c:947 +#, c-format +msgid "unable to stat editor (%s)" +msgstr "" + +#: plugins/sudoers/visudo.c:995 +#, c-format +msgid "no editor found (editor path = %s)" +msgstr "" + +#: plugins/sudoers/visudo.c:1089 +#, c-format +msgid "Error: cycle in %s_Alias `%s'" +msgstr "" + +#: plugins/sudoers/visudo.c:1090 +#, c-format +msgid "Warning: cycle in %s_Alias `%s'" +msgstr "" + +#: plugins/sudoers/visudo.c:1093 +#, c-format +msgid "Error: %s_Alias `%s' referenced but not defined" +msgstr "" + +#: plugins/sudoers/visudo.c:1094 +#, c-format +msgid "Warning: %s_Alias `%s' referenced but not defined" +msgstr "" + +#: plugins/sudoers/visudo.c:1229 +#, c-format +msgid "%s: unused %s_Alias %s" +msgstr "" + +#: plugins/sudoers/visudo.c:1286 +#, c-format +msgid "" +"%s - safely edit the sudoers file\n" +"\n" +msgstr "" + +#: plugins/sudoers/visudo.c:1288 +msgid "" +"\n" +"Options:\n" +" -c check-only mode\n" +" -f sudoers specify sudoers file location\n" +" -h display help message and exit\n" +" -q less verbose (quiet) syntax error messages\n" +" -s strict syntax checking\n" +" -V display version information and exit" +msgstr "" + +#: plugins/sudoers/auth/bsdauth.c:78 +#, c-format +msgid "unable to get login class for user %s" +msgstr "" + +#: plugins/sudoers/auth/bsdauth.c:84 +msgid "unable to begin bsd authentication" +msgstr "" + +#: plugins/sudoers/auth/bsdauth.c:92 +msgid "invalid authentication type" +msgstr "" + +#: plugins/sudoers/auth/bsdauth.c:101 +msgid "unable to setup authentication" +msgstr "" + +#: plugins/sudoers/auth/fwtk.c:60 +#, c-format +msgid "unable to read fwtk config" +msgstr "" + +#: plugins/sudoers/auth/fwtk.c:65 +#, c-format +msgid "unable to connect to authentication server" +msgstr "" + +#: plugins/sudoers/auth/fwtk.c:71 plugins/sudoers/auth/fwtk.c:95 +#: plugins/sudoers/auth/fwtk.c:128 +#, c-format +msgid "lost connection to authentication server" +msgstr "" + +#: plugins/sudoers/auth/fwtk.c:75 +#, c-format +msgid "" +"authentication server error:\n" +"%s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:117 +#, c-format +msgid "%s: unable to unparse princ ('%s'): %s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:160 +#, c-format +msgid "%s: unable to parse '%s': %s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:170 +#, c-format +msgid "%s: unable to resolve ccache: %s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:218 +#, c-format +msgid "%s: unable to allocate options: %s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:234 +#, c-format +msgid "%s: unable to get credentials: %s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:247 +#, c-format +msgid "%s: unable to initialize ccache: %s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:251 +#, c-format +msgid "%s: unable to store cred in ccache: %s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:316 +#, c-format +msgid "%s: unable to get host principal: %s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:331 +#, c-format +msgid "%s: Cannot verify TGT! Possible attack!: %s" +msgstr "" + +#: plugins/sudoers/auth/pam.c:100 +msgid "unable to initialize PAM" +msgstr "" + +#: plugins/sudoers/auth/pam.c:144 +msgid "account validation failure, is your account locked?" +msgstr "" + +#: plugins/sudoers/auth/pam.c:148 +msgid "Account or password is expired, reset your password and try again" +msgstr "" + +#: plugins/sudoers/auth/pam.c:155 +#, c-format +msgid "pam_chauthtok: %s" +msgstr "" + +#: plugins/sudoers/auth/pam.c:159 +msgid "Password expired, contact your system administrator" +msgstr "" + +#: plugins/sudoers/auth/pam.c:163 +msgid "Account expired or PAM config lacks an \"account\" section for sudo, contact your system administrator" +msgstr "" + +#: plugins/sudoers/auth/pam.c:178 +#, c-format +msgid "pam_authenticate: %s" +msgstr "" + +#: plugins/sudoers/auth/pam.c:306 +msgid "Password: " +msgstr "Slaptažodis: " + +#: plugins/sudoers/auth/pam.c:307 +msgid "Password:" +msgstr "Slaptažodis:" + +#: plugins/sudoers/auth/securid5.c:81 +#, c-format +msgid "failed to initialise the ACE API library" +msgstr "" + +#: plugins/sudoers/auth/securid5.c:107 +#, c-format +msgid "unable to contact the SecurID server" +msgstr "" + +#: plugins/sudoers/auth/securid5.c:116 +#, c-format +msgid "User ID locked for SecurID Authentication" +msgstr "" + +#: plugins/sudoers/auth/securid5.c:120 plugins/sudoers/auth/securid5.c:171 +#, c-format +msgid "invalid username length for SecurID" +msgstr "" + +#: plugins/sudoers/auth/securid5.c:124 plugins/sudoers/auth/securid5.c:176 +#, c-format +msgid "invalid Authentication Handle for SecurID" +msgstr "" + +#: plugins/sudoers/auth/securid5.c:128 +#, c-format +msgid "SecurID communication failed" +msgstr "" + +#: plugins/sudoers/auth/securid5.c:132 plugins/sudoers/auth/securid5.c:215 +#, c-format +msgid "unknown SecurID error" +msgstr "" + +#: plugins/sudoers/auth/securid5.c:166 +#, c-format +msgid "invalid passcode length for SecurID" +msgstr "" + +#: plugins/sudoers/auth/sia.c:109 +msgid "unable to initialize SIA session" +msgstr "" + +#: plugins/sudoers/auth/sudo_auth.c:117 +msgid "Invalid authentication methods compiled into sudo! You may mix standalone and non-standalone authentication." +msgstr "" + +#: plugins/sudoers/auth/sudo_auth.c:199 +msgid "There are no authentication methods compiled into sudo! If you want to turn off authentication, use the --disable-authentication configure option." +msgstr "" + +#: plugins/sudoers/auth/sudo_auth.c:271 +#, c-format +msgid "%d incorrect password attempt" +msgid_plural "%d incorrect password attempts" +msgstr[0] "" +msgstr[1] "" + +#: plugins/sudoers/auth/sudo_auth.c:374 +msgid "Authentication methods:" +msgstr "" diff --git a/plugins/sudoers/po/nb.mo b/plugins/sudoers/po/nb.mo new file mode 100644 index 0000000..b0d914c Binary files /dev/null and b/plugins/sudoers/po/nb.mo differ diff --git a/plugins/sudoers/po/nb.po b/plugins/sudoers/po/nb.po new file mode 100644 index 0000000..5f323cd --- /dev/null +++ b/plugins/sudoers/po/nb.po @@ -0,0 +1,2444 @@ +# Norwegian bokmål translation of sudoers. +# This file is distributed under the same license as the sudo package. +# Copyright (C) 2017 Free Software Foundation, Inc. +# Todd C. Miller , 2011-2013. +# Åka Sikrom , 2014-2020. +# +msgid "" +msgstr "" +"Project-Id-Version: sudoers-1.8.29rc1\n" +"Report-Msgid-Bugs-To: https://bugzilla.sudo.ws\n" +"POT-Creation-Date: 2019-10-21 19:55-0600\n" +"PO-Revision-Date: 2020-02-02 21:12+0100\n" +"Last-Translator: Åka Sikrom \n" +"Language-Team: Norwegian Bokmaal \n" +"Language: nb\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 2.0.6\n" + +#: confstr.sh:1 +msgid "syntax error" +msgstr "syntaksfeil" + +#: confstr.sh:2 +msgid "%p's password: " +msgstr "passord for %p: " + +#: confstr.sh:3 +msgid "[sudo] password for %p: " +msgstr "[sudo] passord for %p: " + +#: confstr.sh:4 +msgid "Password: " +msgstr "Passord:" + +#: confstr.sh:5 +msgid "*** SECURITY information for %h ***" +msgstr "*** SIKKERHETSinformasjon om %h ***" + +#: confstr.sh:6 +msgid "Sorry, try again." +msgstr "Feil. Prøv igjen." + +#: gram.y:196 gram.y:244 gram.y:251 gram.y:258 gram.y:265 gram.y:272 +#: gram.y:288 gram.y:312 gram.y:319 gram.y:326 gram.y:333 gram.y:340 +#: gram.y:403 gram.y:412 gram.y:423 gram.y:456 gram.y:463 gram.y:470 +#: gram.y:477 gram.y:559 gram.y:566 gram.y:575 gram.y:584 gram.y:601 +#: gram.y:713 gram.y:720 gram.y:727 gram.y:735 gram.y:835 gram.y:842 +#: gram.y:849 gram.y:856 gram.y:863 gram.y:889 gram.y:896 gram.y:903 +#: gram.y:1026 gram.y:1303 plugins/sudoers/alias.c:132 +#: plugins/sudoers/alias.c:139 plugins/sudoers/alias.c:155 +#: plugins/sudoers/auth/bsdauth.c:148 plugins/sudoers/auth/kerb5.c:123 +#: plugins/sudoers/auth/kerb5.c:149 plugins/sudoers/auth/pam.c:670 +#: plugins/sudoers/auth/rfc1938.c:116 plugins/sudoers/auth/sia.c:64 +#: plugins/sudoers/cvtsudoers.c:124 plugins/sudoers/cvtsudoers.c:165 +#: plugins/sudoers/cvtsudoers.c:182 plugins/sudoers/cvtsudoers.c:193 +#: plugins/sudoers/cvtsudoers.c:305 plugins/sudoers/cvtsudoers.c:433 +#: plugins/sudoers/cvtsudoers.c:566 plugins/sudoers/cvtsudoers.c:583 +#: plugins/sudoers/cvtsudoers.c:646 plugins/sudoers/cvtsudoers.c:761 +#: plugins/sudoers/cvtsudoers.c:769 plugins/sudoers/cvtsudoers.c:1179 +#: plugins/sudoers/cvtsudoers.c:1183 plugins/sudoers/cvtsudoers.c:1285 +#: plugins/sudoers/cvtsudoers_ldif.c:154 plugins/sudoers/cvtsudoers_ldif.c:197 +#: plugins/sudoers/cvtsudoers_ldif.c:244 plugins/sudoers/cvtsudoers_ldif.c:263 +#: plugins/sudoers/cvtsudoers_ldif.c:334 plugins/sudoers/cvtsudoers_ldif.c:389 +#: plugins/sudoers/cvtsudoers_ldif.c:397 plugins/sudoers/cvtsudoers_ldif.c:414 +#: plugins/sudoers/cvtsudoers_ldif.c:423 plugins/sudoers/cvtsudoers_ldif.c:570 +#: plugins/sudoers/defaults.c:666 plugins/sudoers/defaults.c:959 +#: plugins/sudoers/defaults.c:1130 plugins/sudoers/editor.c:72 +#: plugins/sudoers/editor.c:90 plugins/sudoers/editor.c:101 +#: plugins/sudoers/env.c:268 plugins/sudoers/filedigest.c:66 +#: plugins/sudoers/filedigest.c:82 plugins/sudoers/gc.c:59 +#: plugins/sudoers/group_plugin.c:138 plugins/sudoers/interfaces.c:78 +#: plugins/sudoers/iolog.c:943 plugins/sudoers/iolog_path.c:174 +#: plugins/sudoers/iolog_util.c:86 plugins/sudoers/iolog_util.c:125 +#: plugins/sudoers/iolog_util.c:134 plugins/sudoers/iolog_util.c:144 +#: plugins/sudoers/iolog_util.c:152 plugins/sudoers/iolog_util.c:156 +#: plugins/sudoers/ldap.c:185 plugins/sudoers/ldap.c:416 +#: plugins/sudoers/ldap.c:420 plugins/sudoers/ldap.c:432 +#: plugins/sudoers/ldap.c:723 plugins/sudoers/ldap.c:887 +#: plugins/sudoers/ldap.c:1241 plugins/sudoers/ldap.c:1668 +#: plugins/sudoers/ldap.c:1705 plugins/sudoers/ldap.c:1786 +#: plugins/sudoers/ldap.c:1921 plugins/sudoers/ldap.c:2022 +#: plugins/sudoers/ldap.c:2038 plugins/sudoers/ldap_conf.c:223 +#: plugins/sudoers/ldap_conf.c:254 plugins/sudoers/ldap_conf.c:306 +#: plugins/sudoers/ldap_conf.c:342 plugins/sudoers/ldap_conf.c:446 +#: plugins/sudoers/ldap_conf.c:461 plugins/sudoers/ldap_conf.c:558 +#: plugins/sudoers/ldap_conf.c:591 plugins/sudoers/ldap_conf.c:683 +#: plugins/sudoers/ldap_conf.c:765 plugins/sudoers/ldap_util.c:510 +#: plugins/sudoers/ldap_util.c:567 plugins/sudoers/linux_audit.c:83 +#: plugins/sudoers/logging.c:202 plugins/sudoers/logging.c:532 +#: plugins/sudoers/logging.c:558 plugins/sudoers/logging.c:599 +#: plugins/sudoers/logging.c:740 plugins/sudoers/logging.c:1100 +#: plugins/sudoers/match_command.c:249 plugins/sudoers/match_command.c:367 +#: plugins/sudoers/match_command.c:414 plugins/sudoers/match_command.c:485 +#: plugins/sudoers/match_digest.c:70 plugins/sudoers/parse.c:200 +#: plugins/sudoers/parse.c:212 plugins/sudoers/parse.c:227 +#: plugins/sudoers/parse.c:239 plugins/sudoers/parse_ldif.c:156 +#: plugins/sudoers/parse_ldif.c:187 plugins/sudoers/parse_ldif.c:256 +#: plugins/sudoers/parse_ldif.c:263 plugins/sudoers/parse_ldif.c:268 +#: plugins/sudoers/parse_ldif.c:344 plugins/sudoers/parse_ldif.c:355 +#: plugins/sudoers/parse_ldif.c:361 plugins/sudoers/parse_ldif.c:386 +#: plugins/sudoers/parse_ldif.c:398 plugins/sudoers/parse_ldif.c:402 +#: plugins/sudoers/parse_ldif.c:416 plugins/sudoers/parse_ldif.c:584 +#: plugins/sudoers/parse_ldif.c:614 plugins/sudoers/parse_ldif.c:639 +#: plugins/sudoers/parse_ldif.c:697 plugins/sudoers/parse_ldif.c:714 +#: plugins/sudoers/parse_ldif.c:742 plugins/sudoers/parse_ldif.c:749 +#: plugins/sudoers/policy.c:504 plugins/sudoers/policy.c:750 +#: plugins/sudoers/prompt.c:100 plugins/sudoers/pwutil.c:199 +#: plugins/sudoers/pwutil.c:270 plugins/sudoers/pwutil.c:348 +#: plugins/sudoers/pwutil.c:522 plugins/sudoers/pwutil.c:586 +#: plugins/sudoers/pwutil.c:657 plugins/sudoers/pwutil.c:816 +#: plugins/sudoers/pwutil.c:873 plugins/sudoers/pwutil.c:917 +#: plugins/sudoers/pwutil.c:975 plugins/sudoers/sssd.c:154 +#: plugins/sudoers/sssd.c:400 plugins/sudoers/sssd.c:463 +#: plugins/sudoers/sssd.c:507 plugins/sudoers/sssd.c:554 +#: plugins/sudoers/sssd.c:746 plugins/sudoers/stubs.c:103 +#: plugins/sudoers/stubs.c:111 plugins/sudoers/sudoers.c:273 +#: plugins/sudoers/sudoers.c:283 plugins/sudoers/sudoers.c:292 +#: plugins/sudoers/sudoers.c:334 plugins/sudoers/sudoers.c:657 +#: plugins/sudoers/sudoers.c:786 plugins/sudoers/sudoers.c:830 +#: plugins/sudoers/sudoers.c:1124 plugins/sudoers/sudoers_debug.c:114 +#: plugins/sudoers/sudoreplay.c:584 plugins/sudoers/sudoreplay.c:587 +#: plugins/sudoers/sudoreplay.c:1265 plugins/sudoers/sudoreplay.c:1465 +#: plugins/sudoers/sudoreplay.c:1469 plugins/sudoers/testsudoers.c:136 +#: plugins/sudoers/testsudoers.c:236 plugins/sudoers/testsudoers.c:253 +#: plugins/sudoers/testsudoers.c:587 plugins/sudoers/timestamp.c:439 +#: plugins/sudoers/timestamp.c:483 plugins/sudoers/timestamp.c:960 +#: plugins/sudoers/toke_util.c:59 plugins/sudoers/toke_util.c:112 +#: plugins/sudoers/toke_util.c:149 plugins/sudoers/tsdump.c:130 +#: plugins/sudoers/visudo.c:152 plugins/sudoers/visudo.c:328 +#: plugins/sudoers/visudo.c:334 plugins/sudoers/visudo.c:444 +#: plugins/sudoers/visudo.c:622 plugins/sudoers/visudo.c:942 +#: plugins/sudoers/visudo.c:1029 plugins/sudoers/visudo.c:1118 toke.l:846 +#: toke.l:947 toke.l:1104 +msgid "unable to allocate memory" +msgstr "klarte ikke å tildele minne" + +#: gram.y:488 +msgid "a digest requires a path name" +msgstr "kontrollsummering krever at du velger et stinavn" + +#: gram.y:614 +msgid "invalid notbefore value" +msgstr "ugyldig «notbefore»-verdi" + +#: gram.y:622 +msgid "invalid notafter value" +msgstr "ugyldig «notafter»-verdi" + +#: gram.y:631 plugins/sudoers/policy.c:320 +msgid "timeout value too large" +msgstr "for langt tidsavbrudd" + +#: gram.y:633 plugins/sudoers/policy.c:322 +msgid "invalid timeout value" +msgstr "ugyldig tidsavbrudd" + +#: gram.y:1303 plugins/sudoers/auth/pam.c:483 plugins/sudoers/auth/pam.c:670 +#: plugins/sudoers/auth/rfc1938.c:116 plugins/sudoers/cvtsudoers.c:124 +#: plugins/sudoers/cvtsudoers.c:164 plugins/sudoers/cvtsudoers.c:181 +#: plugins/sudoers/cvtsudoers.c:192 plugins/sudoers/cvtsudoers.c:304 +#: plugins/sudoers/cvtsudoers.c:432 plugins/sudoers/cvtsudoers.c:565 +#: plugins/sudoers/cvtsudoers.c:582 plugins/sudoers/cvtsudoers.c:646 +#: plugins/sudoers/cvtsudoers.c:761 plugins/sudoers/cvtsudoers.c:768 +#: plugins/sudoers/cvtsudoers.c:1179 plugins/sudoers/cvtsudoers.c:1183 +#: plugins/sudoers/cvtsudoers.c:1285 plugins/sudoers/cvtsudoers_ldif.c:153 +#: plugins/sudoers/cvtsudoers_ldif.c:196 plugins/sudoers/cvtsudoers_ldif.c:243 +#: plugins/sudoers/cvtsudoers_ldif.c:262 plugins/sudoers/cvtsudoers_ldif.c:333 +#: plugins/sudoers/cvtsudoers_ldif.c:388 plugins/sudoers/cvtsudoers_ldif.c:396 +#: plugins/sudoers/cvtsudoers_ldif.c:413 plugins/sudoers/cvtsudoers_ldif.c:422 +#: plugins/sudoers/cvtsudoers_ldif.c:569 plugins/sudoers/defaults.c:666 +#: plugins/sudoers/defaults.c:959 plugins/sudoers/defaults.c:1130 +#: plugins/sudoers/editor.c:72 plugins/sudoers/editor.c:90 +#: plugins/sudoers/editor.c:101 plugins/sudoers/env.c:268 +#: plugins/sudoers/filedigest.c:66 plugins/sudoers/filedigest.c:82 +#: plugins/sudoers/gc.c:59 plugins/sudoers/group_plugin.c:138 +#: plugins/sudoers/interfaces.c:78 plugins/sudoers/iolog.c:943 +#: plugins/sudoers/iolog_path.c:174 plugins/sudoers/iolog_util.c:86 +#: plugins/sudoers/iolog_util.c:125 plugins/sudoers/iolog_util.c:134 +#: plugins/sudoers/iolog_util.c:144 plugins/sudoers/iolog_util.c:152 +#: plugins/sudoers/iolog_util.c:156 plugins/sudoers/ldap.c:185 +#: plugins/sudoers/ldap.c:416 plugins/sudoers/ldap.c:420 +#: plugins/sudoers/ldap.c:432 plugins/sudoers/ldap.c:723 +#: plugins/sudoers/ldap.c:887 plugins/sudoers/ldap.c:1241 +#: plugins/sudoers/ldap.c:1668 plugins/sudoers/ldap.c:1705 +#: plugins/sudoers/ldap.c:1786 plugins/sudoers/ldap.c:1921 +#: plugins/sudoers/ldap.c:2022 plugins/sudoers/ldap.c:2038 +#: plugins/sudoers/ldap_conf.c:223 plugins/sudoers/ldap_conf.c:254 +#: plugins/sudoers/ldap_conf.c:306 plugins/sudoers/ldap_conf.c:342 +#: plugins/sudoers/ldap_conf.c:446 plugins/sudoers/ldap_conf.c:461 +#: plugins/sudoers/ldap_conf.c:558 plugins/sudoers/ldap_conf.c:591 +#: plugins/sudoers/ldap_conf.c:682 plugins/sudoers/ldap_conf.c:765 +#: plugins/sudoers/ldap_util.c:510 plugins/sudoers/ldap_util.c:567 +#: plugins/sudoers/linux_audit.c:83 plugins/sudoers/logging.c:202 +#: plugins/sudoers/logging.c:532 plugins/sudoers/logging.c:558 +#: plugins/sudoers/logging.c:598 plugins/sudoers/logging.c:1100 +#: plugins/sudoers/match_command.c:248 plugins/sudoers/match_command.c:366 +#: plugins/sudoers/match_command.c:413 plugins/sudoers/match_command.c:485 +#: plugins/sudoers/match_digest.c:70 plugins/sudoers/parse.c:199 +#: plugins/sudoers/parse.c:211 plugins/sudoers/parse.c:226 +#: plugins/sudoers/parse.c:238 plugins/sudoers/parse_ldif.c:155 +#: plugins/sudoers/parse_ldif.c:186 plugins/sudoers/parse_ldif.c:255 +#: plugins/sudoers/parse_ldif.c:262 plugins/sudoers/parse_ldif.c:267 +#: plugins/sudoers/parse_ldif.c:343 plugins/sudoers/parse_ldif.c:354 +#: plugins/sudoers/parse_ldif.c:360 plugins/sudoers/parse_ldif.c:385 +#: plugins/sudoers/parse_ldif.c:397 plugins/sudoers/parse_ldif.c:401 +#: plugins/sudoers/parse_ldif.c:415 plugins/sudoers/parse_ldif.c:584 +#: plugins/sudoers/parse_ldif.c:613 plugins/sudoers/parse_ldif.c:638 +#: plugins/sudoers/parse_ldif.c:696 plugins/sudoers/parse_ldif.c:713 +#: plugins/sudoers/parse_ldif.c:741 plugins/sudoers/parse_ldif.c:748 +#: plugins/sudoers/policy.c:134 plugins/sudoers/policy.c:143 +#: plugins/sudoers/policy.c:152 plugins/sudoers/policy.c:178 +#: plugins/sudoers/policy.c:305 plugins/sudoers/policy.c:320 +#: plugins/sudoers/policy.c:322 plugins/sudoers/policy.c:348 +#: plugins/sudoers/policy.c:358 plugins/sudoers/policy.c:402 +#: plugins/sudoers/policy.c:412 plugins/sudoers/policy.c:421 +#: plugins/sudoers/policy.c:430 plugins/sudoers/policy.c:504 +#: plugins/sudoers/policy.c:750 plugins/sudoers/prompt.c:100 +#: plugins/sudoers/pwutil.c:199 plugins/sudoers/pwutil.c:270 +#: plugins/sudoers/pwutil.c:348 plugins/sudoers/pwutil.c:522 +#: plugins/sudoers/pwutil.c:586 plugins/sudoers/pwutil.c:657 +#: plugins/sudoers/pwutil.c:816 plugins/sudoers/pwutil.c:873 +#: plugins/sudoers/pwutil.c:917 plugins/sudoers/pwutil.c:975 +#: plugins/sudoers/set_perms.c:396 plugins/sudoers/set_perms.c:775 +#: plugins/sudoers/set_perms.c:1165 plugins/sudoers/set_perms.c:1493 +#: plugins/sudoers/set_perms.c:1659 plugins/sudoers/sssd.c:153 +#: plugins/sudoers/sssd.c:400 plugins/sudoers/sssd.c:463 +#: plugins/sudoers/sssd.c:507 plugins/sudoers/sssd.c:554 +#: plugins/sudoers/sssd.c:746 plugins/sudoers/stubs.c:103 +#: plugins/sudoers/stubs.c:111 plugins/sudoers/sudoers.c:273 +#: plugins/sudoers/sudoers.c:283 plugins/sudoers/sudoers.c:292 +#: plugins/sudoers/sudoers.c:334 plugins/sudoers/sudoers.c:657 +#: plugins/sudoers/sudoers.c:786 plugins/sudoers/sudoers.c:830 +#: plugins/sudoers/sudoers.c:1124 plugins/sudoers/sudoers_debug.c:113 +#: plugins/sudoers/sudoreplay.c:584 plugins/sudoers/sudoreplay.c:587 +#: plugins/sudoers/sudoreplay.c:1265 plugins/sudoers/sudoreplay.c:1465 +#: plugins/sudoers/sudoreplay.c:1469 plugins/sudoers/testsudoers.c:136 +#: plugins/sudoers/testsudoers.c:236 plugins/sudoers/testsudoers.c:253 +#: plugins/sudoers/testsudoers.c:587 plugins/sudoers/timestamp.c:439 +#: plugins/sudoers/timestamp.c:483 plugins/sudoers/timestamp.c:960 +#: plugins/sudoers/toke_util.c:59 plugins/sudoers/toke_util.c:112 +#: plugins/sudoers/toke_util.c:149 plugins/sudoers/tsdump.c:130 +#: plugins/sudoers/visudo.c:152 plugins/sudoers/visudo.c:328 +#: plugins/sudoers/visudo.c:334 plugins/sudoers/visudo.c:444 +#: plugins/sudoers/visudo.c:622 plugins/sudoers/visudo.c:942 +#: plugins/sudoers/visudo.c:1029 plugins/sudoers/visudo.c:1118 toke.l:846 +#: toke.l:947 toke.l:1104 +#, c-format +msgid "%s: %s" +msgstr "%s: %s" + +#: plugins/sudoers/alias.c:151 +#, c-format +msgid "Alias \"%s\" already defined" +msgstr "Alias «%s» er allerede definert" + +#: plugins/sudoers/auth/aix_auth.c:203 plugins/sudoers/logging.c:801 +msgid "unable to fork" +msgstr "klarte ikke å kopiere prosess" + +#: plugins/sudoers/auth/aix_auth.c:283 +#, c-format +msgid "unable to change password for %s" +msgstr "klarte ikke å endre passord for %s" + +#: plugins/sudoers/auth/bsdauth.c:75 +#, c-format +msgid "unable to get login class for user %s" +msgstr "klarte ikke å hente innloggingsklasse for brukeren %s" + +#: plugins/sudoers/auth/bsdauth.c:80 +msgid "unable to begin bsd authentication" +msgstr "klarte ikke å starte bsd-autentisering" + +#: plugins/sudoers/auth/bsdauth.c:88 +msgid "invalid authentication type" +msgstr "ugyldig autentiseringstype" + +#: plugins/sudoers/auth/bsdauth.c:97 +msgid "unable to initialize BSD authentication" +msgstr "klarte ikke å starte opp BSD-autentisering" + +#: plugins/sudoers/auth/bsdauth.c:185 +msgid "your account has expired" +msgstr "kontoen din er utgått" + +#: plugins/sudoers/auth/bsdauth.c:187 +msgid "approval failed" +msgstr "godkjenning mislyktes" + +#: plugins/sudoers/auth/fwtk.c:59 +msgid "unable to read fwtk config" +msgstr "klarte ikke å lese fwtk-innstillinger" + +#: plugins/sudoers/auth/fwtk.c:64 +msgid "unable to connect to authentication server" +msgstr "klarte ikke å koble til autentiseringstjener" + +#: plugins/sudoers/auth/fwtk.c:70 plugins/sudoers/auth/fwtk.c:94 +#: plugins/sudoers/auth/fwtk.c:126 +msgid "lost connection to authentication server" +msgstr "tilkobling til autentiseringstjener ble brutt" + +#: plugins/sudoers/auth/fwtk.c:74 +#, c-format +msgid "" +"authentication server error:\n" +"%s" +msgstr "" +"det oppstod en feil med autentiseringstjener:\n" +"%s" + +#: plugins/sudoers/auth/kerb5.c:115 +#, c-format +msgid "%s: unable to convert principal to string ('%s'): %s" +msgstr "%s: klarte ikke å konvertere fullmaktsgiver til streng («%s»). %s" + +#: plugins/sudoers/auth/kerb5.c:165 +#, c-format +msgid "%s: unable to parse '%s': %s" +msgstr "%s: klarte ikke å tolke «%s». %s" + +#: plugins/sudoers/auth/kerb5.c:174 +#, c-format +msgid "%s: unable to resolve credential cache: %s" +msgstr "%s: klarte ikke å slå opp i akkreditiv-hurtiglager. %s" + +#: plugins/sudoers/auth/kerb5.c:221 +#, c-format +msgid "%s: unable to allocate options: %s" +msgstr "%s: klarte ikke å tildele innstillinger. %s" + +#: plugins/sudoers/auth/kerb5.c:236 +#, c-format +msgid "%s: unable to get credentials: %s" +msgstr "%s: klarte ikke å hente akkreditiver. %s" + +#: plugins/sudoers/auth/kerb5.c:249 +#, c-format +msgid "%s: unable to initialize credential cache: %s" +msgstr "%s: klarte ikke å starte opp akkreditiv-hurtiglager. %s" + +#: plugins/sudoers/auth/kerb5.c:252 +#, c-format +msgid "%s: unable to store credential in cache: %s" +msgstr "%s: klarte ikke å lagre akkreditiv i hurtiglager. %s" + +#: plugins/sudoers/auth/kerb5.c:316 +#, c-format +msgid "%s: unable to get host principal: %s" +msgstr "%s: klarte ikke å hente vertens fullmaktsgiver. %s" + +#: plugins/sudoers/auth/kerb5.c:330 +#, c-format +msgid "%s: Cannot verify TGT! Possible attack!: %s" +msgstr "%s: Klarte ikke å bekrefte TGT! Dette kan være et tegn på at du er under angrep! %s" + +#: plugins/sudoers/auth/pam.c:223 +#, c-format +msgid "unable to initialize PAM: %s" +msgstr "klarte ikke å starte opp PAM: %s" + +#: plugins/sudoers/auth/pam.c:319 +#, c-format +msgid "PAM authentication error: %s" +msgstr "Feil ved PAM-autentisering. %s" + +#: plugins/sudoers/auth/pam.c:338 +msgid "account validation failure, is your account locked?" +msgstr "det oppstod en feil ved validering av brukerkonto. Er kontoen din sperret?" + +#: plugins/sudoers/auth/pam.c:349 +msgid "Account or password is expired, reset your password and try again" +msgstr "Kontoen eller passordet er utgått. Tilbakestill passordet ditt og prøv igjen" + +#: plugins/sudoers/auth/pam.c:355 +#, c-format +msgid "unable to change expired password: %s" +msgstr "klarte ikke å endre et utgått passord. %s" + +#: plugins/sudoers/auth/pam.c:366 +msgid "Password expired, contact your system administrator" +msgstr "Passordet er utgått. Kontakt systemadministratoren" + +#: plugins/sudoers/auth/pam.c:371 +msgid "Account expired or PAM config lacks an \"account\" section for sudo, contact your system administrator" +msgstr "Kontoen er utgått, eller PAM-innstillingene mangler en «account»-del for sudo. Kontakt systemadministratoren" + +#: plugins/sudoers/auth/pam.c:379 plugins/sudoers/auth/pam.c:384 +#, c-format +msgid "PAM account management error: %s" +msgstr "Feil med PAM-kontohåndtering: %s" + +#: plugins/sudoers/auth/rfc1938.c:104 plugins/sudoers/visudo.c:248 +#, c-format +msgid "you do not exist in the %s database" +msgstr "du finnes ikke i %s-databasen" + +#: plugins/sudoers/auth/securid5.c:77 +msgid "failed to initialise the ACE API library" +msgstr "klarte ikke å starte opp ACE API-biblioteket" + +#: plugins/sudoers/auth/securid5.c:103 +msgid "unable to contact the SecurID server" +msgstr "klarte ikke å kontakte SecurID-tjener" + +#: plugins/sudoers/auth/securid5.c:112 +msgid "User ID locked for SecurID Authentication" +msgstr "Bruker-ID-en er sperret fra SecurID-autentisering" + +#: plugins/sudoers/auth/securid5.c:116 plugins/sudoers/auth/securid5.c:167 +msgid "invalid username length for SecurID" +msgstr "lengden på brukernavnet er ugyldig for SecurID" + +#: plugins/sudoers/auth/securid5.c:120 plugins/sudoers/auth/securid5.c:172 +msgid "invalid Authentication Handle for SecurID" +msgstr "ugyldig autentiseringshåndtak for SecurID" + +#: plugins/sudoers/auth/securid5.c:124 +msgid "SecurID communication failed" +msgstr "Det oppstod en feil under kommunikasjon med SecurID" + +#: plugins/sudoers/auth/securid5.c:128 plugins/sudoers/auth/securid5.c:217 +msgid "unknown SecurID error" +msgstr "ukjent SecurID-feil" + +#: plugins/sudoers/auth/securid5.c:162 +msgid "invalid passcode length for SecurID" +msgstr "kodelengden er ugyldig for SecurID" + +#: plugins/sudoers/auth/sia.c:74 plugins/sudoers/auth/sia.c:129 +msgid "unable to initialize SIA session" +msgstr "kalrte ikke å starte opp SIA-økt" + +#: plugins/sudoers/auth/sudo_auth.c:138 +msgid "invalid authentication methods" +msgstr "ugyldige autentiseringsmetoder" + +#: plugins/sudoers/auth/sudo_auth.c:140 +msgid "Invalid authentication methods compiled into sudo! You may not mix standalone and non-standalone authentication." +msgstr "Din installasjon av sudo har ugyldige autentiseringsmetoder! Du kan ikke blande selvgående og tjeneravhengige autentiseringsmetoder." + +#: plugins/sudoers/auth/sudo_auth.c:261 plugins/sudoers/auth/sudo_auth.c:311 +msgid "no authentication methods" +msgstr "fant ingen autentiseringsmetoder" + +#: plugins/sudoers/auth/sudo_auth.c:263 +msgid "There are no authentication methods compiled into sudo! If you want to turn off authentication, use the --disable-authentication configure option." +msgstr "Din installasjon av sudo har ingen autentiseringsmetoder tilgjengelig! Bruk valget «--disable-authentication» hvis du vil skru av autentisering." + +#: plugins/sudoers/auth/sudo_auth.c:313 +msgid "Unable to initialize authentication methods." +msgstr "Klarte ikke å starte opp autentiseringsmetoder." + +#: plugins/sudoers/auth/sudo_auth.c:479 +msgid "Authentication methods:" +msgstr "Autentiseringsmetoder:" + +#: plugins/sudoers/bsm_audit.c:125 plugins/sudoers/bsm_audit.c:217 +msgid "Could not determine audit condition" +msgstr "Klarte ikke å finne revisjonsstatus" + +#: plugins/sudoers/bsm_audit.c:190 plugins/sudoers/bsm_audit.c:281 +msgid "unable to commit audit record" +msgstr "klarte ikke å kjøre revisjonsoppføring" + +#: plugins/sudoers/check.c:269 +msgid "" +"\n" +"We trust you have received the usual lecture from the local System\n" +"Administrator. It usually boils down to these three things:\n" +"\n" +" #1) Respect the privacy of others.\n" +" #2) Think before you type.\n" +" #3) With great power comes great responsibility.\n" +"\n" +msgstr "" +"\n" +"Vi går ut i fra at systemadministrator har gitt deg en\n" +"typisk moralpreken om det du gjør. Det koker som regel ned til tre ting:\n" +"\n" +" #1) Ha respekt for andres privatliv og personvern.\n" +" #2) Tenk før du skriver.\n" +" #3) Makt medfører plikt og ansvar.\n" +"\n" + +#: plugins/sudoers/check.c:312 plugins/sudoers/check.c:322 +#: plugins/sudoers/sudoers.c:700 plugins/sudoers/sudoers.c:748 +#: plugins/sudoers/tsdump.c:126 +#, c-format +msgid "unknown uid: %u" +msgstr "uid-en «%u» er ukjent" + +#: plugins/sudoers/check.c:317 plugins/sudoers/iolog.c:255 +#: plugins/sudoers/policy.c:921 plugins/sudoers/sudoers.c:1163 +#: plugins/sudoers/testsudoers.c:227 plugins/sudoers/testsudoers.c:400 +#, c-format +msgid "unknown user: %s" +msgstr "brukeren %s er ukjent" + +#: plugins/sudoers/cvtsudoers.c:199 +#, c-format +msgid "order increment: %s: %s" +msgstr "økning: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:215 +#, c-format +msgid "starting order: %s: %s" +msgstr "begynnende rekkefølge: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:225 +#, c-format +msgid "order padding: %s: %s" +msgstr "sorteringsutfylling: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:233 plugins/sudoers/sudoreplay.c:289 +#: plugins/sudoers/visudo.c:184 +#, c-format +msgid "%s version %s\n" +msgstr "%s versjon %s\n" + +#: plugins/sudoers/cvtsudoers.c:235 plugins/sudoers/visudo.c:186 +#, c-format +msgid "%s grammar version %d\n" +msgstr "%s gramatikkversjon %d\n" + +#: plugins/sudoers/cvtsudoers.c:252 plugins/sudoers/testsudoers.c:175 +#, c-format +msgid "unsupported input format %s" +msgstr "inndata-format %s støttes ikke" + +#: plugins/sudoers/cvtsudoers.c:267 +#, c-format +msgid "unsupported output format %s" +msgstr "utdata-format %s støttes ikke" + +#: plugins/sudoers/cvtsudoers.c:319 +#, c-format +msgid "%s: input and output files must be different" +msgstr "%s: inndata- og utdatafiler må være ulike" + +#: plugins/sudoers/cvtsudoers.c:335 plugins/sudoers/sudoers.c:176 +#: plugins/sudoers/testsudoers.c:266 plugins/sudoers/visudo.c:254 +#: plugins/sudoers/visudo.c:610 plugins/sudoers/visudo.c:933 +msgid "unable to initialize sudoers default values" +msgstr "klarte ikke å laste inn standardverdier for sudoers" + +#: plugins/sudoers/cvtsudoers.c:421 plugins/sudoers/ldap_conf.c:436 +#, c-format +msgid "%s: %s: %s: %s" +msgstr "%s: %s: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:480 +#, c-format +msgid "%s: unknown key word: %s" +msgstr "%s: nøkkelord %s er ukjent" + +#: plugins/sudoers/cvtsudoers.c:526 +#, c-format +msgid "invalid defaults type: %s" +msgstr "%s er en ukjent forvalgtype" + +#: plugins/sudoers/cvtsudoers.c:549 +#, c-format +msgid "invalid suppression type: %s" +msgstr "%s er en ukjent utelatelsestype" + +#: plugins/sudoers/cvtsudoers.c:589 plugins/sudoers/cvtsudoers.c:603 +#, c-format +msgid "invalid filter: %s" +msgstr "%s er et ugyldig filter" + +#: plugins/sudoers/cvtsudoers.c:622 plugins/sudoers/cvtsudoers.c:639 +#: plugins/sudoers/cvtsudoers.c:1245 plugins/sudoers/cvtsudoers_json.c:1130 +#: plugins/sudoers/cvtsudoers_ldif.c:643 plugins/sudoers/iolog.c:413 +#: plugins/sudoers/iolog_util.c:75 plugins/sudoers/sudoers.c:914 +#: plugins/sudoers/sudoreplay.c:338 plugins/sudoers/sudoreplay.c:1431 +#: plugins/sudoers/timestamp.c:448 plugins/sudoers/tsdump.c:135 +#: plugins/sudoers/visudo.c:929 +#, c-format +msgid "unable to open %s" +msgstr "klarte ikke å åpne %s" + +#: plugins/sudoers/cvtsudoers.c:642 plugins/sudoers/visudo.c:938 +#, c-format +msgid "failed to parse %s file, unknown error" +msgstr "klarte ikke å tolke %s. Ukjent feil" + +#: plugins/sudoers/cvtsudoers.c:650 plugins/sudoers/visudo.c:955 +#, c-format +msgid "parse error in %s near line %d\n" +msgstr "tolkefeil i %s ved linje %d\n" + +#: plugins/sudoers/cvtsudoers.c:653 plugins/sudoers/visudo.c:958 +#, c-format +msgid "parse error in %s\n" +msgstr "tolkefeil i %s\n" + +#: plugins/sudoers/cvtsudoers.c:1292 plugins/sudoers/iolog.c:500 +#: plugins/sudoers/sudoreplay.c:1135 plugins/sudoers/timestamp.c:332 +#: plugins/sudoers/timestamp.c:335 +#, c-format +msgid "unable to write to %s" +msgstr "klarte ikke å skrive til %s" + +#: plugins/sudoers/cvtsudoers.c:1315 +#, c-format +msgid "" +"%s - convert between sudoers file formats\n" +"\n" +msgstr "" +"%s - konverter mellom «sudoers»-filformater\n" +"\n" + +#: plugins/sudoers/cvtsudoers.c:1317 +msgid "" +"\n" +"Options:\n" +" -b, --base=dn the base DN for sudo LDAP queries\n" +" -c, --config=conf_file the path to the configuration file\n" +" -d, --defaults=deftypes only convert Defaults of the specified types\n" +" -e, --expand-aliases expand aliases when converting\n" +" -f, --output-format=format set output format: JSON, LDIF or sudoers\n" +" -i, --input-format=format set input format: LDIF or sudoers\n" +" -I, --increment=num amount to increase each sudoOrder by\n" +" -h, --help display help message and exit\n" +" -m, --match=filter only convert entries that match the filter\n" +" -M, --match-local match filter uses passwd and group databases\n" +" -o, --output=output_file write converted sudoers to output_file\n" +" -O, --order-start=num starting point for first sudoOrder\n" +" -p, --prune-matches prune non-matching users, groups and hosts\n" +" -P, --padding=num base padding for sudoOrder increment\n" +" -s, --suppress=sections suppress output of certain sections\n" +" -V, --version display version information and exit" +msgstr "" +"\n" +"Valg:\n" +" -b, --base=dn base-domenenavn for sudo LDAP-forespørsler\n" +" -c, --config=fil sti til oppsettsfil\n" +" -d, --defaults=deftypes bare konverter standardverdier av valgte typer\n" +" -e, --expand-aliases utvid aliaser ved konvertering\n" +" -f, --output-format=format velg utdata-format («JSON», «LDIF» eller «sudoers»)\n" +" -i, --input-format=format velg inndata-format («LDIF» eller «sudoers»)\n" +" -I, --increment=tall mengde som hver sudoOrder skal økes med\n" +" -h, --help vis hjelpetekst og avslutt\n" +" -m, --match=filter bare konverter oppføringer som samsvarer med valgt filter\n" +" -M, --match-local filtrer på passwd- og group-databaser\n" +" -o, --output=utdatafile lagre konvertert sudoers i valgt utdatafil\n" +" -O, --order-start=num startpunkt for første sudoOrder\n" +" -p, --prune-matches fjern brukere, grupper og vertsnavn som ikke samsvarer\n" +" -P, --padding=num grunnutfylling for sudoOrder-økning\n" +" -s, --suppress=områder fjern utdata for valgte områder\n" +" -V, --version vis versjonsinfo og avslutt" + +#: plugins/sudoers/cvtsudoers_json.c:684 plugins/sudoers/cvtsudoers_json.c:720 +#: plugins/sudoers/cvtsudoers_json.c:938 +#, c-format +msgid "unknown defaults entry \"%s\"" +msgstr "forvalg «%s» er ukjent" + +#: plugins/sudoers/cvtsudoers_json.c:858 plugins/sudoers/cvtsudoers_json.c:873 +#: plugins/sudoers/cvtsudoers_ldif.c:308 plugins/sudoers/cvtsudoers_ldif.c:319 +#: plugins/sudoers/ldap.c:482 +msgid "unable to get GMT time" +msgstr "klarte ikke å hente GMT-tid" + +#: plugins/sudoers/cvtsudoers_json.c:861 plugins/sudoers/cvtsudoers_json.c:876 +#: plugins/sudoers/cvtsudoers_ldif.c:311 plugins/sudoers/cvtsudoers_ldif.c:322 +#: plugins/sudoers/ldap.c:488 +msgid "unable to format timestamp" +msgstr "klarte ikke å formatere tidsstempel" + +#: plugins/sudoers/cvtsudoers_ldif.c:526 plugins/sudoers/env.c:330 +#: plugins/sudoers/env.c:337 plugins/sudoers/env.c:442 +#: plugins/sudoers/ldap.c:496 plugins/sudoers/ldap.c:727 +#: plugins/sudoers/ldap.c:1060 plugins/sudoers/ldap_conf.c:227 +#: plugins/sudoers/ldap_conf.c:317 plugins/sudoers/linux_audit.c:89 +#: plugins/sudoers/logging.c:1105 plugins/sudoers/policy.c:625 +#: plugins/sudoers/policy.c:635 plugins/sudoers/prompt.c:168 +#: plugins/sudoers/sudoers.c:852 plugins/sudoers/testsudoers.c:257 +#: plugins/sudoers/toke_util.c:161 +#, c-format +msgid "internal error, %s overflow" +msgstr "intern feil: %s er full" + +#: plugins/sudoers/cvtsudoers_ldif.c:595 +#, c-format +msgid "too many sudoers entries, maximum %u" +msgstr "sudoers inneholder for mange linjer. Maksgrense er %u" + +#: plugins/sudoers/cvtsudoers_ldif.c:638 +msgid "the SUDOERS_BASE environment variable is not set and the -b option was not specified." +msgstr "miljøvariabel «SUDOERS_BASE» er tom, og «-b» er ikke valgt." + +#: plugins/sudoers/def_data.c:42 +#, c-format +msgid "Syslog facility if syslog is being used for logging: %s" +msgstr "Syslog-plassering, hvis syslog brukes til loggføring: %s" + +#: plugins/sudoers/def_data.c:46 +#, c-format +msgid "Syslog priority to use when user authenticates successfully: %s" +msgstr "Syslog-prioritet når brukeren har autentisert seg: %s" + +#: plugins/sudoers/def_data.c:50 +#, c-format +msgid "Syslog priority to use when user authenticates unsuccessfully: %s" +msgstr "Syslog-prioritet når brukeren ikke har klart å autentisere seg: %s" + +#: plugins/sudoers/def_data.c:54 +msgid "Put OTP prompt on its own line" +msgstr "Legg OTP-ledetekst på egen linje" + +#: plugins/sudoers/def_data.c:58 +msgid "Ignore '.' in $PATH" +msgstr "Ignorer «.» i $PATH" + +#: plugins/sudoers/def_data.c:62 +msgid "Always send mail when sudo is run" +msgstr "Send alltid e-post når noen kjører sudo" + +#: plugins/sudoers/def_data.c:66 +msgid "Send mail if user authentication fails" +msgstr "Send e-post hvis en bruker mislykkes i å autentisere seg" + +#: plugins/sudoers/def_data.c:70 +msgid "Send mail if the user is not in sudoers" +msgstr "Send e-post hvis bruker ikke finnes i sudoers-fil" + +#: plugins/sudoers/def_data.c:74 +msgid "Send mail if the user is not in sudoers for this host" +msgstr "Send e-post hvis brukeren ikke finnes i sudoers-fil for denne verten" + +#: plugins/sudoers/def_data.c:78 +msgid "Send mail if the user is not allowed to run a command" +msgstr "Send e-post hvis brukeren ikke har lov til å kjøre en kommando" + +#: plugins/sudoers/def_data.c:82 +msgid "Send mail if the user tries to run a command" +msgstr "Send e-post hvis brukeren prøver å kjøre en kommando" + +#: plugins/sudoers/def_data.c:86 +msgid "Use a separate timestamp for each user/tty combo" +msgstr "Bruk separat tidsstempel for hver kombinasjon av bruker og tty" + +#: plugins/sudoers/def_data.c:90 +msgid "Lecture user the first time they run sudo" +msgstr "Gi brukere en moralpreken første gang de kjører sudo" + +#: plugins/sudoers/def_data.c:94 +#, c-format +msgid "File containing the sudo lecture: %s" +msgstr "Fil som inneholder sudo-moralpreken: %s" + +#: plugins/sudoers/def_data.c:98 +msgid "Require users to authenticate by default" +msgstr "Krev at brukere skal autentisere seg som standard" + +#: plugins/sudoers/def_data.c:102 +msgid "Root may run sudo" +msgstr "Rotbruker kan kjøre sudo" + +#: plugins/sudoers/def_data.c:106 +msgid "Log the hostname in the (non-syslog) log file" +msgstr "Ta med vertsnavn i loggfil (ikke syslog)" + +#: plugins/sudoers/def_data.c:110 +msgid "Log the year in the (non-syslog) log file" +msgstr "Ta med år i loggfil (ikke syslog)" + +#: plugins/sudoers/def_data.c:114 +msgid "If sudo is invoked with no arguments, start a shell" +msgstr "Start et skall hvis sudo kjøres uten argumenter" + +#: plugins/sudoers/def_data.c:118 +msgid "Set $HOME to the target user when starting a shell with -s" +msgstr "Velg målbrukers $HOME når et skall startes med «-s»" + +#: plugins/sudoers/def_data.c:122 +msgid "Always set $HOME to the target user's home directory" +msgstr "Bruk alltid målbrukers hjemmemappe som $HOME" + +#: plugins/sudoers/def_data.c:126 +msgid "Allow some information gathering to give useful error messages" +msgstr "Tillat informasjonsinnhenting for å gjøre feilmeldingene nyttige" + +#: plugins/sudoers/def_data.c:130 +msgid "Require fully-qualified hostnames in the sudoers file" +msgstr "Krev fullstendige vertsnavn i sudoers-fil" + +#: plugins/sudoers/def_data.c:134 +msgid "Insult the user when they enter an incorrect password" +msgstr "Send brukere en fornærmelsestekst når de oppgir feil passord" + +#: plugins/sudoers/def_data.c:138 +msgid "Only allow the user to run sudo if they have a tty" +msgstr "Bare tillat brukere å kjøre sudo hvis de bruker en tty" + +#: plugins/sudoers/def_data.c:142 +msgid "Visudo will honor the EDITOR environment variable" +msgstr "Visudo tar hensyn til miljøvariabelen EDITOR" + +#: plugins/sudoers/def_data.c:146 +msgid "Prompt for root's password, not the users's" +msgstr "Spør etter rotbrukers passord, i stedet for eget passord" + +#: plugins/sudoers/def_data.c:150 +msgid "Prompt for the runas_default user's password, not the users's" +msgstr "Spør etter passord for «runas_default» i stedet for eget passord" + +#: plugins/sudoers/def_data.c:154 +msgid "Prompt for the target user's password, not the users's" +msgstr "Spør etter målbrukers passord, i stedet for eget passord" + +#: plugins/sudoers/def_data.c:158 +msgid "Apply defaults in the target user's login class if there is one" +msgstr "Bruk standardverdier i målbrukers innloggingsklasse, hvis den finnes" + +#: plugins/sudoers/def_data.c:162 +msgid "Set the LOGNAME and USER environment variables" +msgstr "Gi verdier til miljøvariablene «LOGNAME» og «USER»" + +#: plugins/sudoers/def_data.c:166 +msgid "Only set the effective uid to the target user, not the real uid" +msgstr "Velg målbrukers uid som effektiv uid, i stedet for faktisk uid" + +#: plugins/sudoers/def_data.c:170 +msgid "Don't initialize the group vector to that of the target user" +msgstr "Ikke last inn målbrukers gruppevektor" + +#: plugins/sudoers/def_data.c:174 +#, c-format +msgid "Length at which to wrap log file lines (0 for no wrap): %u" +msgstr "Hvilken lengde linjer i loggfiler skal pakkes ned til (bruk 0 for å deaktivere pakking): %u" + +#: plugins/sudoers/def_data.c:178 +#, c-format +msgid "Authentication timestamp timeout: %.1f minutes" +msgstr "Tidsavbrudd for autentiseringstidsstempel: %.1f minutter" + +#: plugins/sudoers/def_data.c:182 +#, c-format +msgid "Password prompt timeout: %.1f minutes" +msgstr "Tidsavbrudd for passordetterspørsel: %.1f minutter" + +#: plugins/sudoers/def_data.c:186 +#, c-format +msgid "Number of tries to enter a password: %u" +msgstr "Antall forsøk på å skrive inn passord: %u" + +#: plugins/sudoers/def_data.c:190 +#, c-format +msgid "Umask to use or 0777 to use user's: 0%o" +msgstr "U-maske som skal brukes, eller 0777 for å bruke egen maske: 0%o" + +#: plugins/sudoers/def_data.c:194 +#, c-format +msgid "Path to log file: %s" +msgstr "Sti til loggfil: %s" + +#: plugins/sudoers/def_data.c:198 +#, c-format +msgid "Path to mail program: %s" +msgstr "Sti til e-postprogram: %s" + +#: plugins/sudoers/def_data.c:202 +#, c-format +msgid "Flags for mail program: %s" +msgstr "Valg for e-postprogram: %s" + +#: plugins/sudoers/def_data.c:206 +#, c-format +msgid "Address to send mail to: %s" +msgstr "Hvilken adresse det skal sendes e-post til: %s" + +#: plugins/sudoers/def_data.c:210 +#, c-format +msgid "Address to send mail from: %s" +msgstr "Hvilken adresse e-posten skal sendes fra: %s" + +#: plugins/sudoers/def_data.c:214 +#, c-format +msgid "Subject line for mail messages: %s" +msgstr "Emnelinje i e-postmeldinger: %s" + +#: plugins/sudoers/def_data.c:218 +#, c-format +msgid "Incorrect password message: %s" +msgstr "Melding om feil passord: %s" + +#: plugins/sudoers/def_data.c:222 +#, c-format +msgid "Path to lecture status dir: %s" +msgstr "Sti til mappe for moralpreken-status: %s" + +#: plugins/sudoers/def_data.c:226 +#, c-format +msgid "Path to authentication timestamp dir: %s" +msgstr "Sti til mappe for autentiseringstidsstempel: %s" + +#: plugins/sudoers/def_data.c:230 +#, c-format +msgid "Owner of the authentication timestamp dir: %s" +msgstr "Eieren av mappa for autentiseringstidsstempel: %s" + +#: plugins/sudoers/def_data.c:234 +#, c-format +msgid "Users in this group are exempt from password and PATH requirements: %s" +msgstr "Brukerne i denne gruppa fritas fra passord- og PATH-krav: %s" + +#: plugins/sudoers/def_data.c:238 +#, c-format +msgid "Default password prompt: %s" +msgstr "Standard passord-ledetekst: %s" + +#: plugins/sudoers/def_data.c:242 +msgid "If set, passprompt will override system prompt in all cases." +msgstr "Hvis dette er valgt, blir system-ledetekst alltid overstyrt av passord-ledetekst." + +#: plugins/sudoers/def_data.c:246 +#, c-format +msgid "Default user to run commands as: %s" +msgstr "Standardbruker for kjøring av kommandoer: %s" + +#: plugins/sudoers/def_data.c:250 +#, c-format +msgid "Value to override user's $PATH with: %s" +msgstr "Verdi som overstyrer brukerspesifikk $PATH: %s" + +#: plugins/sudoers/def_data.c:254 +#, c-format +msgid "Path to the editor for use by visudo: %s" +msgstr "Filsti til tekstbehandler som visudo skal bruke: %s" + +#: plugins/sudoers/def_data.c:258 +#, c-format +msgid "When to require a password for 'list' pseudocommand: %s" +msgstr "Når pseudokommandoen «list» skal kreve passord: %s" + +#: plugins/sudoers/def_data.c:262 +#, c-format +msgid "When to require a password for 'verify' pseudocommand: %s" +msgstr "Når pseudokommandoen «verify» skal kreve passord: %s" + +#: plugins/sudoers/def_data.c:266 +msgid "Preload the dummy exec functions contained in the sudo_noexec library" +msgstr "Last inn prøvekjøringsfunksjonene som ligger i biblioteket «sudo_noexec»" + +#: plugins/sudoers/def_data.c:270 +msgid "If LDAP directory is up, do we ignore local sudoers file" +msgstr "Om lokal sudoers-fil skal ignoreres når en LDAP er aktiv" + +#: plugins/sudoers/def_data.c:274 +#, c-format +msgid "File descriptors >= %d will be closed before executing a command" +msgstr "Fildeskriptorne >= %d lukkes før en kommando blir kjørt" + +#: plugins/sudoers/def_data.c:278 +msgid "If set, users may override the value of `closefrom' with the -C option" +msgstr "Hvis dette er valgt, har brukerne mulighet til å overstyre «closefrom»-verdien med valget «-C»" + +#: plugins/sudoers/def_data.c:282 +msgid "Allow users to set arbitrary environment variables" +msgstr "Tillat brukere å velge arbitrære miljøvariabler" + +#: plugins/sudoers/def_data.c:286 +msgid "Reset the environment to a default set of variables" +msgstr "Tilbakestill brukermiljøet til et sett med standardvariabler" + +#: plugins/sudoers/def_data.c:290 +msgid "Environment variables to check for sanity:" +msgstr "Miljøvariabler som skal kontrolleres:" + +#: plugins/sudoers/def_data.c:294 +msgid "Environment variables to remove:" +msgstr "Miljøvariabler som skal fjernes:" + +#: plugins/sudoers/def_data.c:298 +msgid "Environment variables to preserve:" +msgstr "Miljøvariabler som skal beholdes:" + +#: plugins/sudoers/def_data.c:302 +#, c-format +msgid "SELinux role to use in the new security context: %s" +msgstr "SELinux-rolle som skal brukes i ny sikkerhetskontekst: %s" + +#: plugins/sudoers/def_data.c:306 +#, c-format +msgid "SELinux type to use in the new security context: %s" +msgstr "SELinux-type som skal brukes i ny sikkerhetskontekst: %s" + +#: plugins/sudoers/def_data.c:310 +#, c-format +msgid "Path to the sudo-specific environment file: %s" +msgstr "Sti til sudo-spesifikk miljøfil: %s" + +#: plugins/sudoers/def_data.c:314 +#, c-format +msgid "Path to the restricted sudo-specific environment file: %s" +msgstr "Sti til sudo-spesifikk miljøfil: %s" + +#: plugins/sudoers/def_data.c:318 +#, c-format +msgid "Locale to use while parsing sudoers: %s" +msgstr "Regioninnstilling som skal brukes når «sudoers» tolkes: %s" + +#: plugins/sudoers/def_data.c:322 +msgid "Allow sudo to prompt for a password even if it would be visible" +msgstr "Tillat sudo å spørre etter et passord som - hvis skrevet inn - blir synlig på skjermen" + +#: plugins/sudoers/def_data.c:326 +msgid "Provide visual feedback at the password prompt when there is user input" +msgstr "Gi visuell respons når brukere skriver inn passord" + +#: plugins/sudoers/def_data.c:330 +msgid "Use faster globbing that is less accurate but does not access the filesystem" +msgstr "Bruk raskere joker-søking som er mindre presis (og som ikke søker i filsystemet)" + +#: plugins/sudoers/def_data.c:334 +msgid "The umask specified in sudoers will override the user's, even if it is more permissive" +msgstr "U-masker som er valgt i sudoers overstyrer brukermasker, selv hvis sudoers åpner for mer tilgang enn brukermaska" + +#: plugins/sudoers/def_data.c:338 +msgid "Log user's input for the command being run" +msgstr "Loggfør bruker-inndata i kommandoen som kjøres" + +#: plugins/sudoers/def_data.c:342 +msgid "Log the output of the command being run" +msgstr "Loggfør utskrift fra kommandoen som kjøres" + +#: plugins/sudoers/def_data.c:346 +msgid "Compress I/O logs using zlib" +msgstr "Komprimer inn- og utdatalogger ved bruk av «zlib»" + +#: plugins/sudoers/def_data.c:350 +msgid "Always run commands in a pseudo-tty" +msgstr "Kjør alltid kommandoer i en pseudo-tty" + +#: plugins/sudoers/def_data.c:354 +#, c-format +msgid "Plugin for non-Unix group support: %s" +msgstr "Støttetillegg for grupper som ikke er Unix-grupper: %s" + +#: plugins/sudoers/def_data.c:358 +#, c-format +msgid "Directory in which to store input/output logs: %s" +msgstr "Mappe hvor inn- og utdatalogger skal lagres: %s" + +#: plugins/sudoers/def_data.c:362 +#, c-format +msgid "File in which to store the input/output log: %s" +msgstr "Fil hvor inn- og utdatalogger skal lagres: %s" + +#: plugins/sudoers/def_data.c:366 +msgid "Add an entry to the utmp/utmpx file when allocating a pty" +msgstr "Legg til en oppføring i utmp-/utmpx-fil ved tildeling av pty" + +#: plugins/sudoers/def_data.c:370 +msgid "Set the user in utmp to the runas user, not the invoking user" +msgstr "Kjør kommandoer som utmp-bruker, i stedet for brukeren som skriver inn kommando" + +#: plugins/sudoers/def_data.c:374 +#, c-format +msgid "Set of permitted privileges: %s" +msgstr "Tillatte privilegier: %s" + +#: plugins/sudoers/def_data.c:378 +#, c-format +msgid "Set of limit privileges: %s" +msgstr "Begrensningsprivilegier: %s" + +#: plugins/sudoers/def_data.c:382 +msgid "Run commands on a pty in the background" +msgstr "Kjør kommandoer på en pty i bakgrunnen" + +#: plugins/sudoers/def_data.c:386 +#, c-format +msgid "PAM service name to use: %s" +msgstr "PAM-tjenestenavn som skal brukes: %s" + +#: plugins/sudoers/def_data.c:390 +#, c-format +msgid "PAM service name to use for login shells: %s" +msgstr "PAM-tjenestenavn som skal brukes til innloggingsskall: %s" + +#: plugins/sudoers/def_data.c:394 +msgid "Attempt to establish PAM credentials for the target user" +msgstr "Prøv å sette opp PAM-akkreditiver for målbruker" + +#: plugins/sudoers/def_data.c:398 +msgid "Create a new PAM session for the command to run in" +msgstr "Lag en ny PAM-økt som kommandoen kjøres i" + +#: plugins/sudoers/def_data.c:402 +msgid "Perform PAM account validation management" +msgstr "Håndter validering av PAM-kontoer" + +#: plugins/sudoers/def_data.c:406 +#, c-format +msgid "Maximum I/O log sequence number: %u" +msgstr "Høyeste tillatte sekvensnummer i inn-/utdatalogg: %u" + +#: plugins/sudoers/def_data.c:410 +msgid "Enable sudoers netgroup support" +msgstr "Slå på støtte for sudoers-nettgruppe" + +#: plugins/sudoers/def_data.c:414 +msgid "Check parent directories for writability when editing files with sudoedit" +msgstr "Kontroller skrivetillatelse til foreldermapper ved redigering av filer med sudoedit" + +#: plugins/sudoers/def_data.c:418 +msgid "Follow symbolic links when editing files with sudoedit" +msgstr "Følg symbolske lenker ved redigering av filer med sudoedit" + +#: plugins/sudoers/def_data.c:422 +msgid "Query the group plugin for unknown system groups" +msgstr "Spør gruppetillegget om ukjente systemgrupper" + +#: plugins/sudoers/def_data.c:426 +msgid "Match netgroups based on the entire tuple: user, host and domain" +msgstr "Kontroller nettgrupper basert på både bruker, vert og domene" + +#: plugins/sudoers/def_data.c:430 +msgid "Allow commands to be run even if sudo cannot write to the audit log" +msgstr "Tillat kjøring av kommandoer selv om sudo ikke klarer å skrive til revisjonslogg" + +#: plugins/sudoers/def_data.c:434 +msgid "Allow commands to be run even if sudo cannot write to the I/O log" +msgstr "Tillat kjøring av kommandoer selv om sudo ikke klarer å skrive til I/O-logg" + +#: plugins/sudoers/def_data.c:438 +msgid "Allow commands to be run even if sudo cannot write to the log file" +msgstr "Tillat kjøring av kommandoer selv om sudo ikke klarer å skrive til loggfil" + +#: plugins/sudoers/def_data.c:442 +msgid "Resolve groups in sudoers and match on the group ID, not the name" +msgstr "Slå opp grupper i sudoers på gruppe-ID i stedet for gruppenavn" + +#: plugins/sudoers/def_data.c:446 +#, c-format +msgid "Log entries larger than this value will be split into multiple syslog messages: %u" +msgstr "Loggoppføringer som er større enn dette blir delt opp i flere syslog-meldinger: %u" + +#: plugins/sudoers/def_data.c:450 +#, c-format +msgid "User that will own the I/O log files: %s" +msgstr "Bruker som skal eie I/O-loggfiler: %s" + +#: plugins/sudoers/def_data.c:454 +#, c-format +msgid "Group that will own the I/O log files: %s" +msgstr "Gruppe som skal eie I/O-loggfiler: %s" + +#: plugins/sudoers/def_data.c:458 +#, c-format +msgid "File mode to use for the I/O log files: 0%o" +msgstr "Filmodus for I/O-loggfiler: 0%o" + +#: plugins/sudoers/def_data.c:462 +#, c-format +msgid "Execute commands by file descriptor instead of by path: %s" +msgstr "Kjør kommandoer med fildeskriptor i stedet for sti: %s" + +#: plugins/sudoers/def_data.c:466 +msgid "Ignore unknown Defaults entries in sudoers instead of producing a warning" +msgstr "Ignorer ukjente standardverdier i sudoers i stedet for å vise advarsel" + +#: plugins/sudoers/def_data.c:470 +#, c-format +msgid "Time in seconds after which the command will be terminated: %u" +msgstr "TIdsavbrudd for kommando: %u sekunder" + +#: plugins/sudoers/def_data.c:474 +msgid "Allow the user to specify a timeout on the command line" +msgstr "La bruker velge tidsavbrudd via kommandolinje" + +#: plugins/sudoers/def_data.c:478 +msgid "Flush I/O log data to disk immediately instead of buffering it" +msgstr "Tøm inn- og utdata direkte til disk i stedet for å mellomlagre" + +#: plugins/sudoers/def_data.c:482 +msgid "Include the process ID when logging via syslog" +msgstr "Ta med prosess-ID ved bruk av syslog" + +#: plugins/sudoers/def_data.c:486 +#, c-format +msgid "Type of authentication timestamp record: %s" +msgstr "Type autentiseringstidsstempel: %s" + +#: plugins/sudoers/def_data.c:490 +#, c-format +msgid "Authentication failure message: %s" +msgstr "Feilmelding ved autentisering: %s" + +#: plugins/sudoers/def_data.c:494 +msgid "Ignore case when matching user names" +msgstr "Ignorer små/store bokstaver i brukernavn" + +#: plugins/sudoers/def_data.c:498 +msgid "Ignore case when matching group names" +msgstr "Ignorer små/store bokstaver i gruppenavn" + +#: plugins/sudoers/def_data.c:502 +msgid "Log when a command is allowed by sudoers" +msgstr "Loggfør kommandoer som er tillatt av sudoers" + +#: plugins/sudoers/def_data.c:506 +msgid "Log when a command is denied by sudoers" +msgstr "Loggfør kommandoer som er avvist av sudoers" + +#: plugins/sudoers/defaults.c:231 +#, c-format +msgid "%s:%d unknown defaults entry \"%s\"" +msgstr "%s: %d «%s» er en ukjent standardoppføring" + +#: plugins/sudoers/defaults.c:234 +#, c-format +msgid "%s: unknown defaults entry \"%s\"" +msgstr "%s: «%s» er en ukjent standardoppføring" + +#: plugins/sudoers/defaults.c:277 +#, c-format +msgid "%s:%d no value specified for \"%s\"" +msgstr "%s: %d «%s» har ingen verdi" + +#: plugins/sudoers/defaults.c:280 +#, c-format +msgid "%s: no value specified for \"%s\"" +msgstr "%s: «%s» har ingen verdi" + +#: plugins/sudoers/defaults.c:300 +#, c-format +msgid "%s:%d values for \"%s\" must start with a '/'" +msgstr "%s:%d verdier av «%s» må begynne med «/»" + +#: plugins/sudoers/defaults.c:303 +#, c-format +msgid "%s: values for \"%s\" must start with a '/'" +msgstr "%s: verdier av «%s» må begynne med «/»" + +#: plugins/sudoers/defaults.c:325 +#, c-format +msgid "%s:%d option \"%s\" does not take a value" +msgstr "%s:%d «%s» kan ikke ha en verdi" + +#: plugins/sudoers/defaults.c:328 +#, c-format +msgid "%s: option \"%s\" does not take a value" +msgstr "%s: «%s» kan ikke ha en verdi" + +#: plugins/sudoers/defaults.c:353 +#, c-format +msgid "%s:%d invalid Defaults type 0x%x for option \"%s\"" +msgstr "%s:%d Defaults-type 0x%x for valget «%s» er ugyldig" + +#: plugins/sudoers/defaults.c:356 +#, c-format +msgid "%s: invalid Defaults type 0x%x for option \"%s\"" +msgstr "%s: Defaults-type 0x%x for valget «%s» er ugyldig" + +#: plugins/sudoers/defaults.c:366 +#, c-format +msgid "%s:%d value \"%s\" is invalid for option \"%s\"" +msgstr "%s:%d «%s» er en ugyldig verdi for valget «%s»" + +#: plugins/sudoers/defaults.c:369 +#, c-format +msgid "%s: value \"%s\" is invalid for option \"%s\"" +msgstr "%s: verdien «%s» er ugyldig valget «%s»" + +#: plugins/sudoers/env.c:411 +msgid "sudo_putenv: corrupted envp, length mismatch" +msgstr "sudo_putenv: envp er korrupt (lengde samsvarer ikke)" + +#: plugins/sudoers/env.c:1132 +msgid "unable to rebuild the environment" +msgstr "klarte ikke å bygge opp miljøet på nytt" + +#: plugins/sudoers/env.c:1206 +#, c-format +msgid "sorry, you are not allowed to set the following environment variables: %s" +msgstr "du har ikke tillatelse til å bestemme følgende miljøvariabler: %s" + +#: plugins/sudoers/file.c:116 +#, c-format +msgid "parse error in %s near line %d" +msgstr "tolkningsfeil i %s ved linje %d" + +#: plugins/sudoers/file.c:119 +#, c-format +msgid "parse error in %s" +msgstr "tolkningsfeil i %s" + +#: plugins/sudoers/filedigest.c:61 +#, c-format +msgid "unsupported digest type %d for %s" +msgstr "behandlingstype %d for %s støttes ikke" + +#: plugins/sudoers/filedigest.c:90 +#, c-format +msgid "%s: read error" +msgstr "%s: lesefeil" + +#: plugins/sudoers/group_plugin.c:90 +#, c-format +msgid "%s must be owned by uid %d" +msgstr "%s må eies av uid %d" + +#: plugins/sudoers/group_plugin.c:94 +#, c-format +msgid "%s must only be writable by owner" +msgstr "%s kan ikke gi skrivetillatelse til andre enn eieren" + +#: plugins/sudoers/group_plugin.c:102 plugins/sudoers/sssd.c:562 +#, c-format +msgid "unable to load %s: %s" +msgstr "klarte ikke å laste inn %s. %s" + +#: plugins/sudoers/group_plugin.c:108 +#, c-format +msgid "unable to find symbol \"group_plugin\" in %s" +msgstr "fant ikke symbolet «group_plugin» i %s" + +#: plugins/sudoers/group_plugin.c:113 +#, c-format +msgid "%s: incompatible group plugin major version %d, expected %d" +msgstr "%s: versjon %d av gruppetillegget passer ikke (forventet versjon %d)" + +#: plugins/sudoers/interfaces.c:86 plugins/sudoers/interfaces.c:103 +#, c-format +msgid "unable to parse IP address \"%s\"" +msgstr "klarte ikke å tolke IP-adresse «%s»" + +#: plugins/sudoers/interfaces.c:91 plugins/sudoers/interfaces.c:108 +#, c-format +msgid "unable to parse netmask \"%s\"" +msgstr "klarte ikke å tolke nettverksmaske «%s»" + +#: plugins/sudoers/interfaces.c:136 +msgid "Local IP address and netmask pairs:\n" +msgstr "Lokale par av IP-adresser og nettverksmasker:\n" + +#: plugins/sudoers/iolog.c:117 plugins/sudoers/mkdir_parents.c:82 +#, c-format +msgid "%s exists but is not a directory (0%o)" +msgstr "%s finnes, men er ikke en mappe (0%o)" + +#: plugins/sudoers/iolog.c:142 plugins/sudoers/iolog.c:182 +#: plugins/sudoers/mkdir_parents.c:71 plugins/sudoers/timestamp.c:212 +#, c-format +msgid "unable to mkdir %s" +msgstr "klarte ikke å utføre mkdir %s" + +#: plugins/sudoers/iolog.c:186 plugins/sudoers/visudo.c:739 +#: plugins/sudoers/visudo.c:750 +#, c-format +msgid "unable to change mode of %s to 0%o" +msgstr "klarte ikke å endre %s modus til 0%o" + +#: plugins/sudoers/iolog.c:294 plugins/sudoers/sudoers.c:1194 +#: plugins/sudoers/testsudoers.c:424 +#, c-format +msgid "unknown group: %s" +msgstr "%s er en ukjent gruppe" + +#: plugins/sudoers/iolog.c:464 plugins/sudoers/sudoers.c:918 +#: plugins/sudoers/sudoreplay.c:846 plugins/sudoers/sudoreplay.c:1542 +#: plugins/sudoers/tsdump.c:145 +#, c-format +msgid "unable to read %s" +msgstr "klarte ikke å lese %s" + +#: plugins/sudoers/iolog.c:579 plugins/sudoers/iolog.c:801 +#, c-format +msgid "unable to create %s" +msgstr "klarte ikke å opprette %s" + +#: plugins/sudoers/iolog.c:824 plugins/sudoers/iolog.c:1039 +#: plugins/sudoers/iolog.c:1115 plugins/sudoers/iolog.c:1209 +#: plugins/sudoers/iolog.c:1270 +#, c-format +msgid "unable to write to I/O log file: %s" +msgstr "klarte ikke å skrive til I/O-loggfil: %s" + +#: plugins/sudoers/iolog.c:1073 +#, c-format +msgid "%s: internal error, I/O log file for event %d not open" +msgstr "%s: intern feil. Inn-/ut-loggfil for hendelse %d er ikke åpen" + +#: plugins/sudoers/iolog.c:1233 +#, c-format +msgid "%s: internal error, invalid signal %d" +msgstr "%s: intern feil. Signal %d er ugyldig" + +#: plugins/sudoers/iolog_util.c:90 +#, c-format +msgid "%s: invalid log file" +msgstr "%s: ugyldig loggfil" + +#: plugins/sudoers/iolog_util.c:108 +#, c-format +msgid "%s: time stamp field is missing" +msgstr "%s: tidsstempel-felt mangler" + +#: plugins/sudoers/iolog_util.c:114 +#, c-format +msgid "%s: time stamp %s: %s" +msgstr "%s: tidsstempel %s: %s" + +#: plugins/sudoers/iolog_util.c:121 +#, c-format +msgid "%s: user field is missing" +msgstr "%s: brukerfelt mangler" + +#: plugins/sudoers/iolog_util.c:130 +#, c-format +msgid "%s: runas user field is missing" +msgstr "%s: «kjør som bruker»-felt mangler" + +#: plugins/sudoers/iolog_util.c:139 +#, c-format +msgid "%s: runas group field is missing" +msgstr "%s: «kjør som gruppe»-felt mangler" + +#: plugins/sudoers/ldap.c:178 plugins/sudoers/ldap_conf.c:296 +msgid "starttls not supported when using ldaps" +msgstr "starttls støttes ikke når du bruker ldaps" + +#: plugins/sudoers/ldap.c:249 +#, c-format +msgid "unable to initialize SSL cert and key db: %s" +msgstr "klarte ikke å starte opp database for SSL-sertifikater og -nøkler. %s" + +#: plugins/sudoers/ldap.c:252 +#, c-format +msgid "you must set TLS_CERT in %s to use SSL" +msgstr "du må velge TLS_CERT i %s for å bruke SSL" + +#: plugins/sudoers/ldap.c:1620 +#, c-format +msgid "unable to initialize LDAP: %s" +msgstr "klarte ikke å starte opp LDAP. %s" + +#: plugins/sudoers/ldap.c:1656 +msgid "start_tls specified but LDAP libs do not support ldap_start_tls_s() or ldap_start_tls_s_np()" +msgstr "start_tls er valgt, men LDAP-bibliotekene støtter hverken «ldap_start_tls_s()» eller «ldap_start_tls_s_np()»" + +#: plugins/sudoers/ldap.c:1793 plugins/sudoers/parse_ldif.c:734 +#, c-format +msgid "invalid sudoOrder attribute: %s" +msgstr "«%s» er en ugyldig sudoOrder-attributt" + +#: plugins/sudoers/ldap_conf.c:205 +msgid "sudo_ldap_conf_add_ports: port too large" +msgstr "sudo_ldap_conf_add_ports: portnummeret er for stort" + +#: plugins/sudoers/ldap_conf.c:265 +#, c-format +msgid "unsupported LDAP uri type: %s" +msgstr "LDAP-ens adressetype %s støttes ikke" + +#: plugins/sudoers/ldap_conf.c:292 +msgid "unable to mix ldap and ldaps URIs" +msgstr "du kan ikke blande ldap- og ldaps-nettadresser" + +#: plugins/sudoers/ldap_util.c:456 plugins/sudoers/ldap_util.c:458 +#, c-format +msgid "unable to convert sudoOption: %s%s%s" +msgstr "klarte ikke å konvertere sudoOption: %s%s%s" + +#: plugins/sudoers/linux_audit.c:59 +msgid "unable to open audit system" +msgstr "klarte ikke å åpne revisjonssystemet" + +#: plugins/sudoers/linux_audit.c:100 +msgid "unable to send audit message" +msgstr "klarte ikke å sende revisjonsmelding" + +#: plugins/sudoers/logging.c:120 +#, c-format +msgid "%8s : %s" +msgstr "%8s : %s" + +#: plugins/sudoers/logging.c:148 +#, c-format +msgid "%8s : (command continued) %s" +msgstr "%8s : (kommando fortsetter) %s" + +#: plugins/sudoers/logging.c:177 +#, c-format +msgid "unable to open log file: %s" +msgstr "klarte ikke å åpne loggfil: %s" + +#: plugins/sudoers/logging.c:185 +#, c-format +msgid "unable to lock log file: %s" +msgstr "klarte ikke å låse loggfil: %s" + +#: plugins/sudoers/logging.c:218 +#, c-format +msgid "unable to write log file: %s" +msgstr "klarte ikke å skrive loggfil: %s" + +#: plugins/sudoers/logging.c:248 +msgid "No user or host" +msgstr "Ingen bruker eller vert" + +#: plugins/sudoers/logging.c:250 +msgid "validation failure" +msgstr "feil ved gyldighetssjekk" + +#: plugins/sudoers/logging.c:261 +msgid "user NOT in sudoers" +msgstr "brukeren er IKKE i sudoers" + +#: plugins/sudoers/logging.c:263 +msgid "user NOT authorized on host" +msgstr "brukeren er IKKE autorisert på verten" + +#: plugins/sudoers/logging.c:265 +msgid "command not allowed" +msgstr "denne kommandoen tillates ikke" + +#: plugins/sudoers/logging.c:301 +#, c-format +msgid "%s is not in the sudoers file. This incident will be reported.\n" +msgstr "%s finnes ikke i sudoers-fil. Denne hendelsen blir rapportert.\n" + +#: plugins/sudoers/logging.c:304 +#, c-format +msgid "%s is not allowed to run sudo on %s. This incident will be reported.\n" +msgstr "%s has ikke tillatelse til å kjøre sudo på %s. Denne hendelsen blir rapportert.\n" + +#: plugins/sudoers/logging.c:308 +#, c-format +msgid "Sorry, user %s may not run sudo on %s.\n" +msgstr "Brukeren %s kan ikke kjøre sudo på %s.\n" + +#: plugins/sudoers/logging.c:311 +#, c-format +msgid "Sorry, user %s is not allowed to execute '%s%s%s' as %s%s%s on %s.\n" +msgstr "Brukeren %s har ikke tillatelse til å kjøre «%s%s%s» som %s%s%s på %s.\n" + +#: plugins/sudoers/logging.c:348 plugins/sudoers/sudoers.c:442 +#: plugins/sudoers/sudoers.c:444 plugins/sudoers/sudoers.c:446 +#: plugins/sudoers/sudoers.c:448 plugins/sudoers/sudoers.c:603 +#: plugins/sudoers/sudoers.c:605 +#, c-format +msgid "%s: command not found" +msgstr "%s: fant ikke kommando" + +#: plugins/sudoers/logging.c:350 plugins/sudoers/sudoers.c:438 +#, c-format +msgid "" +"ignoring \"%s\" found in '.'\n" +"Use \"sudo ./%s\" if this is the \"%s\" you wish to run." +msgstr "" +"ignorerer «%s» i «.».\n" +"Bruk «sudo ./%s» hvis dette er «%s»-programmet du prøver å kjøre." + +#: plugins/sudoers/logging.c:367 +msgid "authentication failure" +msgstr "feil ved autentisering" + +#: plugins/sudoers/logging.c:393 +msgid "a password is required" +msgstr "du må oppgi et passord" + +#: plugins/sudoers/logging.c:463 +#, c-format +msgid "%u incorrect password attempt" +msgid_plural "%u incorrect password attempts" +msgstr[0] "%u mislykket passordforsøk" +msgstr[1] "%u mislykkede passordforsøk" + +#: plugins/sudoers/logging.c:728 +#, c-format +msgid "unable to dup stdin: %m" +msgstr "klarte ikke å duplisere standard innkanal. %m" + +#: plugins/sudoers/logging.c:768 +#, c-format +msgid "unable to execute %s: %m" +msgstr "klarte ikke å kjøre %s. %m" + +#: plugins/sudoers/logging.c:809 plugins/sudoers/logging.c:865 +#, c-format +msgid "unable to fork: %m" +msgstr "klarte ikke å kopiere prosess. %m" + +#: plugins/sudoers/logging.c:855 +#, c-format +msgid "unable to open pipe: %m" +msgstr "klarte ikke å åpne datarør. %m" + +#: plugins/sudoers/match_digest.c:103 +#, c-format +msgid "digest for %s (%s) is not in %s form" +msgstr "behandlingen for %s (%s) er ikke i %s-skjemaet" + +#: plugins/sudoers/mkdir_parents.c:77 plugins/sudoers/sudoers.c:943 +#: plugins/sudoers/visudo.c:437 plugins/sudoers/visudo.c:733 +#, c-format +msgid "unable to stat %s" +msgstr "klarte ikke å lage statistikk av %s" + +#: plugins/sudoers/parse.c:449 +#, c-format +msgid "" +"\n" +"LDAP Role: %s\n" +msgstr "" +"\n" +"LDAP-rolle: %s\n" + +#: plugins/sudoers/parse.c:452 +#, c-format +msgid "" +"\n" +"Sudoers entry:\n" +msgstr "" +"\n" +"Oppføring i sudoers:\n" + +#: plugins/sudoers/parse.c:454 +#, c-format +msgid " RunAsUsers: " +msgstr " Kjør som-brukere: " + +#: plugins/sudoers/parse.c:469 +#, c-format +msgid " RunAsGroups: " +msgstr " Kjør som-grupper: " + +#: plugins/sudoers/parse.c:479 +#, c-format +msgid " Options: " +msgstr " Valg: " + +#: plugins/sudoers/parse.c:529 +#, c-format +msgid " Commands:\n" +msgstr " Kommandoer:\n" + +#: plugins/sudoers/parse.c:720 +#, c-format +msgid "Matching Defaults entries for %s on %s:\n" +msgstr "Standardoppføringer som gjelder for %s på %s:\n" + +#: plugins/sudoers/parse.c:738 +#, c-format +msgid "Runas and Command-specific defaults for %s:\n" +msgstr "Kjør-som- og kommandospesifikke standardoppføringer for %s:\n" + +#: plugins/sudoers/parse.c:756 +#, c-format +msgid "User %s may run the following commands on %s:\n" +msgstr "Brukeren %s kan kjøre følgende kommandoer på %s:\n" + +#: plugins/sudoers/parse.c:771 +#, c-format +msgid "User %s is not allowed to run sudo on %s.\n" +msgstr "Brukeren %s har ikke tillatelse til å kjøre sudo på %s.\n" + +#: plugins/sudoers/parse_ldif.c:604 +#, c-format +msgid "ignoring incomplete sudoRole: cn: %s" +msgstr "ignorerer ufullstendig sudoRole: cn: %s" + +#: plugins/sudoers/parse_ldif.c:664 +#, c-format +msgid "invalid LDIF attribute: %s" +msgstr "«%s» er en ugyldig LDIF-attributt" + +#: plugins/sudoers/policy.c:90 plugins/sudoers/policy.c:116 +#, c-format +msgid "invalid %.*s set by sudo front-end" +msgstr "ugyldig %.*s fra sudo-grenseflate" + +#: plugins/sudoers/policy.c:295 plugins/sudoers/testsudoers.c:280 +msgid "unable to parse network address list" +msgstr "klarte ikke å tolke nettverksadresse-liste" + +#: plugins/sudoers/policy.c:439 +msgid "user name not set by sudo front-end" +msgstr "sudo-grenseflate har ikke angitt brukernavn" + +#: plugins/sudoers/policy.c:443 +msgid "user-ID not set by sudo front-end" +msgstr "sudo-grenseflate har ikke angitt bruker-ID" + +#: plugins/sudoers/policy.c:447 +msgid "group-ID not set by sudo front-end" +msgstr "sudo-grenseflate har ikke valgt gruppe-ID" + +#: plugins/sudoers/policy.c:451 +msgid "host name not set by sudo front-end" +msgstr "sudo-grenseflate har ikke angitt vertsnavn" + +#: plugins/sudoers/policy.c:808 plugins/sudoers/visudo.c:236 +#: plugins/sudoers/visudo.c:867 +#, c-format +msgid "unable to execute %s" +msgstr "klarte ikke å kjøre %s" + +#: plugins/sudoers/policy.c:939 +#, c-format +msgid "Sudoers policy plugin version %s\n" +msgstr "Sudoers regeltillegg versjon %s\n" + +#: plugins/sudoers/policy.c:941 +#, c-format +msgid "Sudoers file grammar version %d\n" +msgstr "Sudoers-grammatikkversjon %d\n" + +#: plugins/sudoers/policy.c:945 +#, c-format +msgid "" +"\n" +"Sudoers path: %s\n" +msgstr "" +"\n" +"Sti til «sudoers»-fil: %s\n" + +#: plugins/sudoers/policy.c:948 +#, c-format +msgid "nsswitch path: %s\n" +msgstr "Sti til «nsswitch»: %s\n" + +#: plugins/sudoers/policy.c:950 +#, c-format +msgid "ldap.conf path: %s\n" +msgstr "Sti til «ldap.conf»: %s\n" + +#: plugins/sudoers/policy.c:951 +#, c-format +msgid "ldap.secret path: %s\n" +msgstr "Stil til «ldap.secret»: %s\n" + +#: plugins/sudoers/policy.c:984 +#, c-format +msgid "unable to register hook of type %d (version %d.%d)" +msgstr "klarte ikke å tildele krok av typen %d (versjon %d.%d)" + +#: plugins/sudoers/pwutil.c:222 plugins/sudoers/pwutil.c:240 +#, c-format +msgid "unable to cache uid %u" +msgstr "klarte ikke å hurtiglagre uid %u" + +#: plugins/sudoers/pwutil.c:234 +#, c-format +msgid "unable to cache uid %u, already exists" +msgstr "klarte ikke å hurtiglagre uid %u. Uid-en eksisterer allerede" + +#: plugins/sudoers/pwutil.c:294 plugins/sudoers/pwutil.c:312 +#: plugins/sudoers/pwutil.c:375 plugins/sudoers/pwutil.c:420 +#, c-format +msgid "unable to cache user %s" +msgstr "klarte ikke å hurtiglagre bruker %s" + +#: plugins/sudoers/pwutil.c:307 +#, c-format +msgid "unable to cache user %s, already exists" +msgstr "klarte ikke å hurtiglagre brukeren %s. Brukeren eksisterer allerede" + +#: plugins/sudoers/pwutil.c:539 plugins/sudoers/pwutil.c:557 +#, c-format +msgid "unable to cache gid %u" +msgstr "klarte ikke å hurtiglagre gid %u" + +#: plugins/sudoers/pwutil.c:551 +#, c-format +msgid "unable to cache gid %u, already exists" +msgstr "klarte ikke å hurtiglagre gid %u. Gid-en eksisterer allerede" + +#: plugins/sudoers/pwutil.c:604 plugins/sudoers/pwutil.c:622 +#: plugins/sudoers/pwutil.c:670 plugins/sudoers/pwutil.c:712 +#, c-format +msgid "unable to cache group %s" +msgstr "klarte ikke å hurtiglagre gruppe %s" + +#: plugins/sudoers/pwutil.c:617 +#, c-format +msgid "unable to cache group %s, already exists" +msgstr "klarte ikke å hurtiglagre gruppa %s. Gruppa eksisterer allerede" + +#: plugins/sudoers/pwutil.c:839 plugins/sudoers/pwutil.c:891 +#: plugins/sudoers/pwutil.c:941 plugins/sudoers/pwutil.c:994 +#, c-format +msgid "unable to cache group list for %s, already exists" +msgstr "klarte ikke å hurtiglagre liste over %s. Lista eksisterer allerede" + +#: plugins/sudoers/pwutil.c:845 plugins/sudoers/pwutil.c:896 +#: plugins/sudoers/pwutil.c:947 plugins/sudoers/pwutil.c:999 +#, c-format +msgid "unable to cache group list for %s" +msgstr "klarte ikke å hurtiglagre gruppeliste for %s" + +#: plugins/sudoers/pwutil.c:885 +#, c-format +msgid "unable to parse groups for %s" +msgstr "klarte ikke å tolke grupper for %s" + +#: plugins/sudoers/pwutil.c:988 +#, c-format +msgid "unable to parse gids for %s" +msgstr "klarte ikke å tolke gid-er for %s" + +#: plugins/sudoers/set_perms.c:120 plugins/sudoers/set_perms.c:478 +#: plugins/sudoers/set_perms.c:921 plugins/sudoers/set_perms.c:1254 +#: plugins/sudoers/set_perms.c:1573 +msgid "perm stack overflow" +msgstr "perm-stabelen er full" + +#: plugins/sudoers/set_perms.c:128 plugins/sudoers/set_perms.c:409 +#: plugins/sudoers/set_perms.c:486 plugins/sudoers/set_perms.c:788 +#: plugins/sudoers/set_perms.c:929 plugins/sudoers/set_perms.c:1178 +#: plugins/sudoers/set_perms.c:1262 plugins/sudoers/set_perms.c:1506 +#: plugins/sudoers/set_perms.c:1581 plugins/sudoers/set_perms.c:1672 +msgid "perm stack underflow" +msgstr "perm-stabelen er tom" + +#: plugins/sudoers/set_perms.c:187 plugins/sudoers/set_perms.c:532 +#: plugins/sudoers/set_perms.c:1315 plugins/sudoers/set_perms.c:1614 +msgid "unable to change to root gid" +msgstr "klarte ikke å endre gid til rotbruker" + +#: plugins/sudoers/set_perms.c:278 plugins/sudoers/set_perms.c:629 +#: plugins/sudoers/set_perms.c:1060 plugins/sudoers/set_perms.c:1392 +msgid "unable to change to runas gid" +msgstr "klarte ikke å endre til kjør som-gid" + +#: plugins/sudoers/set_perms.c:283 plugins/sudoers/set_perms.c:634 +#: plugins/sudoers/set_perms.c:1065 plugins/sudoers/set_perms.c:1397 +msgid "unable to set runas group vector" +msgstr "klarte ikke å velge «kjør som»-gruppevektor" + +#: plugins/sudoers/set_perms.c:294 plugins/sudoers/set_perms.c:645 +#: plugins/sudoers/set_perms.c:1074 plugins/sudoers/set_perms.c:1406 +msgid "unable to change to runas uid" +msgstr "klarte ikke å endre uid til «kjør som»-bruker" + +#: plugins/sudoers/set_perms.c:312 plugins/sudoers/set_perms.c:663 +#: plugins/sudoers/set_perms.c:1090 plugins/sudoers/set_perms.c:1422 +msgid "unable to change to sudoers gid" +msgstr "klarte ikke å endre gid til sudoers" + +#: plugins/sudoers/set_perms.c:396 plugins/sudoers/set_perms.c:775 +#: plugins/sudoers/set_perms.c:1165 plugins/sudoers/set_perms.c:1493 +#: plugins/sudoers/set_perms.c:1659 +msgid "too many processes" +msgstr "for mange prosesser" + +#: plugins/sudoers/solaris_audit.c:58 +msgid "unable to get current working directory" +msgstr "klarte ikke å hente gjeldende arbeidsmappe" + +#: plugins/sudoers/solaris_audit.c:66 +#, c-format +msgid "truncated audit path user_cmnd: %s" +msgstr "forkortet revisjonssti «user_cmnd»: %s" + +#: plugins/sudoers/solaris_audit.c:73 +#, c-format +msgid "truncated audit path argv[0]: %s" +msgstr "forkortet revisjonssti «argv[0]»: %s" + +#: plugins/sudoers/solaris_audit.c:122 +msgid "audit_failure message too long" +msgstr "audit_failure-meldinga er for lang" + +#: plugins/sudoers/sssd.c:564 +msgid "unable to initialize SSS source. Is SSSD installed on your machine?" +msgstr "klarte ikke å starte opp SSS-kilde. Har du installert SSSD på maskinen?" + +#: plugins/sudoers/sssd.c:572 plugins/sudoers/sssd.c:581 +#: plugins/sudoers/sssd.c:590 plugins/sudoers/sssd.c:599 +#: plugins/sudoers/sssd.c:608 +#, c-format +msgid "unable to find symbol \"%s\" in %s" +msgstr "fant ikke symbolet «%s» i %s" + +#: plugins/sudoers/sudoers.c:212 plugins/sudoers/sudoers.c:871 +msgid "problem with defaults entries" +msgstr "det har oppstått et problem med én eller flere standardoppføringer" + +#: plugins/sudoers/sudoers.c:216 +msgid "no valid sudoers sources found, quitting" +msgstr "fant ingen gyldig sudoers-kilde. Avslutter." + +#: plugins/sudoers/sudoers.c:254 +msgid "sudoers specifies that root is not allowed to sudo" +msgstr "sudoers-fil tillater ikke rotbruker å kjøre sudo" + +#: plugins/sudoers/sudoers.c:312 +msgid "you are not permitted to use the -C option" +msgstr "du har ikke tillatelse til å bruke valget «-C»" + +#: plugins/sudoers/sudoers.c:359 +#, c-format +msgid "timestamp owner (%s): No such user" +msgstr "eier («%s») av tidsstempel finnes ikke" + +#: plugins/sudoers/sudoers.c:374 +msgid "no tty" +msgstr "ingen tty" + +#: plugins/sudoers/sudoers.c:375 +msgid "sorry, you must have a tty to run sudo" +msgstr "du må ha en tty for å kunne kjøre sudo" + +#: plugins/sudoers/sudoers.c:437 +msgid "command in current directory" +msgstr "kommando i gjeldende mappe" + +#: plugins/sudoers/sudoers.c:456 +msgid "sorry, you are not allowed set a command timeout" +msgstr "du har ikke tillatelse til å velge tidsavbrudd for kommandoer" + +#: plugins/sudoers/sudoers.c:464 +msgid "sorry, you are not allowed to preserve the environment" +msgstr "du har ikke tillatelse til å beholde brukermiljøet" + +#: plugins/sudoers/sudoers.c:815 +msgid "command too long" +msgstr "kommandoen er for lang" + +#: plugins/sudoers/sudoers.c:947 +#, c-format +msgid "%s is not a regular file" +msgstr "%s er ikke en vanlig fil" + +#: plugins/sudoers/sudoers.c:951 plugins/sudoers/timestamp.c:259 toke.l:967 +#, c-format +msgid "%s is owned by uid %u, should be %u" +msgstr "%s eies av uid %u, som skulle vært %u" + +#: plugins/sudoers/sudoers.c:955 toke.l:972 +#, c-format +msgid "%s is world writable" +msgstr "%s kan overskrives av alle" + +#: plugins/sudoers/sudoers.c:959 toke.l:975 +#, c-format +msgid "%s is owned by gid %u, should be %u" +msgstr "%s eies av gid %u, som skulle vært %u" + +#: plugins/sudoers/sudoers.c:992 +#, c-format +msgid "only root can use \"-c %s\"" +msgstr "du må være rotbruker for å velge «-c %s»" + +#: plugins/sudoers/sudoers.c:1011 +#, c-format +msgid "unknown login class: %s" +msgstr "innloggingsklasse %s er ukjent" + +#: plugins/sudoers/sudoers.c:1096 plugins/sudoers/sudoers.c:1110 +#, c-format +msgid "unable to resolve host %s" +msgstr "klarte ikke å slå opp vertsnavn %s" + +#: plugins/sudoers/sudoreplay.c:250 +#, c-format +msgid "invalid filter option: %s" +msgstr "%s er et ugyldig filtervalg" + +#: plugins/sudoers/sudoreplay.c:263 +#, c-format +msgid "invalid max wait: %s" +msgstr "%s er ugyldig maksimal ventetid" + +#: plugins/sudoers/sudoreplay.c:286 +#, c-format +msgid "invalid speed factor: %s" +msgstr "%s er en ugyldig hastighetsfaktor" + +#: plugins/sudoers/sudoreplay.c:321 +#, c-format +msgid "%s/%.2s/%.2s/%.2s/timing: %s" +msgstr "%s/%.2s/%.2s/%.2s/tidsberegning: %s" + +#: plugins/sudoers/sudoreplay.c:326 +#, c-format +msgid "%s/timing: %s" +msgstr "%s/tidsberegning: %s" + +#: plugins/sudoers/sudoreplay.c:330 +#, c-format +msgid "%s/%s/timing: %s" +msgstr "%s/%s/tidsberegning: %s" + +#: plugins/sudoers/sudoreplay.c:346 +#, c-format +msgid "Replaying sudo session: %s" +msgstr "Spiller av sudo-økt i reprise: %s" + +#: plugins/sudoers/sudoreplay.c:544 plugins/sudoers/sudoreplay.c:591 +#: plugins/sudoers/sudoreplay.c:789 plugins/sudoers/sudoreplay.c:898 +#: plugins/sudoers/sudoreplay.c:983 plugins/sudoers/sudoreplay.c:998 +#: plugins/sudoers/sudoreplay.c:1005 plugins/sudoers/sudoreplay.c:1012 +#: plugins/sudoers/sudoreplay.c:1019 plugins/sudoers/sudoreplay.c:1026 +#: plugins/sudoers/sudoreplay.c:1174 +msgid "unable to add event to queue" +msgstr "klarte ikke å legge hendelse i kø" + +#: plugins/sudoers/sudoreplay.c:659 +msgid "unable to set tty to raw mode" +msgstr "klarte ikke å velge råmodus for tty" + +#: plugins/sudoers/sudoreplay.c:710 +msgid "Warning: your terminal is too small to properly replay the log.\n" +msgstr "Advarsel: terminalen din er for liten for å spille av loggen skikkelig.\n" + +#: plugins/sudoers/sudoreplay.c:711 +#, c-format +msgid "Log geometry is %d x %d, your terminal's geometry is %d x %d." +msgstr "Loggens størrelse er %d x %d, mens terminalstørrelsen din er %d x %d." + +#: plugins/sudoers/sudoreplay.c:739 +msgid "Replay finished, press any key to restore the terminal." +msgstr "Sudo-reprise ferdig. Trykk på en knapp for å gå tilbake til terminal." + +#: plugins/sudoers/sudoreplay.c:772 +#, c-format +msgid "invalid timing file line: %s" +msgstr "linja for tidsberegningsfil er ugyldig: %s" + +#: plugins/sudoers/sudoreplay.c:1208 plugins/sudoers/sudoreplay.c:1233 +#, c-format +msgid "ambiguous expression \"%s\"" +msgstr "uttrykket «%s» er flertydig" + +#: plugins/sudoers/sudoreplay.c:1255 +msgid "unmatched ')' in expression" +msgstr "fant ingenting som samsvarer med deluttrykket «)»" + +#: plugins/sudoers/sudoreplay.c:1259 +#, c-format +msgid "unknown search term \"%s\"" +msgstr "«%s» er et ukjent søkevalg" + +#: plugins/sudoers/sudoreplay.c:1274 +#, c-format +msgid "%s requires an argument" +msgstr "%s krever at du bruker et argument" + +#: plugins/sudoers/sudoreplay.c:1277 plugins/sudoers/sudoreplay.c:1518 +#, c-format +msgid "invalid regular expression: %s" +msgstr "%s er et ugyldig regulært uttrykk" + +#: plugins/sudoers/sudoreplay.c:1281 +#, c-format +msgid "could not parse date \"%s\"" +msgstr "klarte ikke å tolke datoen «%s»" + +#: plugins/sudoers/sudoreplay.c:1290 +msgid "unmatched '(' in expression" +msgstr "uttrykkets «(» samsvarer ikke" + +#: plugins/sudoers/sudoreplay.c:1292 +msgid "illegal trailing \"or\"" +msgstr "du kan ikke avslutte med «or»" + +#: plugins/sudoers/sudoreplay.c:1294 +msgid "illegal trailing \"!\"" +msgstr "du kan ikke avslutte med «!»" + +#: plugins/sudoers/sudoreplay.c:1344 +#, c-format +msgid "unknown search type %d" +msgstr "«%d» er en ukjent søketype" + +#: plugins/sudoers/sudoreplay.c:1611 +#, c-format +msgid "usage: %s [-hnRS] [-d dir] [-m num] [-s num] ID\n" +msgstr "bruk: %s [-hnRS] [-d mappe] [-m tall] [-s tall] ID\n" + +#: plugins/sudoers/sudoreplay.c:1614 +#, c-format +msgid "usage: %s [-h] [-d dir] -l [search expression]\n" +msgstr "bruk: %s [-h] [-d dir] -l [søkeuttrykk]\n" + +#: plugins/sudoers/sudoreplay.c:1623 +#, c-format +msgid "" +"%s - replay sudo session logs\n" +"\n" +msgstr "" +"%s - spill av sudo-øktlogg\n" +"\n" + +#: plugins/sudoers/sudoreplay.c:1625 +msgid "" +"\n" +"Options:\n" +" -d, --directory=dir specify directory for session logs\n" +" -f, --filter=filter specify which I/O type(s) to display\n" +" -h, --help display help message and exit\n" +" -l, --list list available session IDs, with optional expression\n" +" -m, --max-wait=num max number of seconds to wait between events\n" +" -n, --non-interactive no prompts, session is sent to the standard output\n" +" -R, --no-resize do not attempt to re-size the terminal\n" +" -S, --suspend-wait wait while the command was suspended\n" +" -s, --speed=num speed up or slow down output\n" +" -V, --version display version information and exit" +msgstr "" +"\n" +"Valg:\n" +" -d, --directory=dir velg loggfil-mappe\n" +" -f, --filter=filter velg hvilke(n) inn- og utdatatype(r) som skal vises\n" +" -h, --help vis hjelpetekst og avslutt\n" +" -l, --list vis tilgjengelige ID-er, med valgfritt uttrykk\n" +" -m, --max-wait=num maskimal ventetid mellom hendelser (i sekunder)\n" +" -n, --non-interactive ingen ledetekst (send alt til standardutdata)\n" +" -R, --no-resize ikke prøv å endre terminalstørrelse\n" +" -S, --suspend-wait vent mens kommando er på pause\n" +" -s, --speed=num øk eller senk utskriftshastigheten\n" +" -V, --version vis versjon og avslutt" + +#: plugins/sudoers/testsudoers.c:362 +msgid "\thost unmatched" +msgstr "\tvert samsvarer ikke" + +#: plugins/sudoers/testsudoers.c:365 +msgid "" +"\n" +"Command allowed" +msgstr "" +"\n" +"Kommando tillatt" + +#: plugins/sudoers/testsudoers.c:366 +msgid "" +"\n" +"Command denied" +msgstr "" +"\n" +"Kommandoen tillates ikke" + +#: plugins/sudoers/testsudoers.c:366 +msgid "" +"\n" +"Command unmatched" +msgstr "" +"\n" +"Kommandoen samsvarer ikke" + +#: plugins/sudoers/timestamp.c:267 +#, c-format +msgid "%s is group writable" +msgstr "%s kan overskrives av gruppa den tilhører" + +#: plugins/sudoers/timestamp.c:343 +#, c-format +msgid "unable to truncate time stamp file to %lld bytes" +msgstr "klarte ikke å korte ned tidsstempel-fil til %lld byte" + +#: plugins/sudoers/timestamp.c:829 plugins/sudoers/timestamp.c:921 +#: plugins/sudoers/visudo.c:498 plugins/sudoers/visudo.c:504 +msgid "unable to read the clock" +msgstr "klarte ikke å lese klokka" + +#: plugins/sudoers/timestamp.c:840 +msgid "ignoring time stamp from the future" +msgstr "tidsstempel for fremtidig tidspunkt blir ignorert" + +#: plugins/sudoers/timestamp.c:863 +#, c-format +msgid "time stamp too far in the future: %20.20s" +msgstr "tidsstempelet er for langt inn i fremtiden: %20.20s" + +#: plugins/sudoers/timestamp.c:985 +#, c-format +msgid "unable to lock time stamp file %s" +msgstr "klarte ikke å låse tidsstempel-fil %s" + +#: plugins/sudoers/timestamp.c:1029 plugins/sudoers/timestamp.c:1049 +#, c-format +msgid "lecture status path too long: %s/%s" +msgstr "filsti for moralpreken-status («%s/%s») er for lang" + +#: plugins/sudoers/visudo.c:232 +msgid "the -x option will be removed in a future release" +msgstr "valget «-x» blir fjernet i en fremtidig versjon" + +#: plugins/sudoers/visudo.c:233 +msgid "please consider using the cvtsudoers utility instead" +msgstr "bruk verktøyet cvtsudoers i stedet" + +#: plugins/sudoers/visudo.c:284 plugins/sudoers/visudo.c:666 +#, c-format +msgid "press return to edit %s: " +msgstr "trykk linjeskift for å redigere %s: " + +#: plugins/sudoers/visudo.c:345 +#, c-format +msgid "specified editor (%s) doesn't exist" +msgstr "finner ikke valgt redigeringsprogram (%s)" + +#: plugins/sudoers/visudo.c:347 +#, c-format +msgid "no editor found (editor path = %s)" +msgstr "fant ingen redigeringsprogram («editor»-sti = %s)" + +#: plugins/sudoers/visudo.c:457 plugins/sudoers/visudo.c:465 +msgid "write error" +msgstr "skrivefeil" + +#: plugins/sudoers/visudo.c:511 +#, c-format +msgid "unable to stat temporary file (%s), %s unchanged" +msgstr "klarte ikke å undersøke midlertidig fil (%s). %s er ikke endret" + +#: plugins/sudoers/visudo.c:518 +#, c-format +msgid "zero length temporary file (%s), %s unchanged" +msgstr "midlertidig fil (%s) er tom. %s er ikke endret" + +#: plugins/sudoers/visudo.c:524 +#, c-format +msgid "editor (%s) failed, %s unchanged" +msgstr "noe gikk galt med behandleren (%s). %s er ikke endret" + +#: plugins/sudoers/visudo.c:546 +#, c-format +msgid "%s unchanged" +msgstr "%s er ikke endret" + +#: plugins/sudoers/visudo.c:605 +#, c-format +msgid "unable to re-open temporary file (%s), %s unchanged." +msgstr "klarte ikke å åpne midlertidig fil (%s) på nytt. %s er ikke endret" + +#: plugins/sudoers/visudo.c:617 +#, c-format +msgid "unabled to parse temporary file (%s), unknown error" +msgstr "klarte ikke å tolke midlertidig fil (%s). Ukjent feil" + +#: plugins/sudoers/visudo.c:655 +#, c-format +msgid "internal error, unable to find %s in list!" +msgstr "intern feil: fant ikke %s i lista!" + +#: plugins/sudoers/visudo.c:735 plugins/sudoers/visudo.c:744 +#, c-format +msgid "unable to set (uid, gid) of %s to (%u, %u)" +msgstr "klarte ikke å endre uid og gid for %s til (%u, %u)" + +#: plugins/sudoers/visudo.c:767 +#, c-format +msgid "%s and %s not on the same file system, using mv to rename" +msgstr "%s og %s er ikke på samme filsystem. Bruker «mv» til å gi nye navn" + +#: plugins/sudoers/visudo.c:781 +#, c-format +msgid "command failed: '%s %s %s', %s unchanged" +msgstr "kommando mislyktes. «%s %s %s». %s er ikke endret" + +#: plugins/sudoers/visudo.c:791 +#, c-format +msgid "error renaming %s, %s unchanged" +msgstr "klarte ikke å gi %s nytt navn. %s er ikke endret" + +#: plugins/sudoers/visudo.c:812 +msgid "What now? " +msgstr "Hva nå? " + +#: plugins/sudoers/visudo.c:826 +msgid "" +"Options are:\n" +" (e)dit sudoers file again\n" +" e(x)it without saving changes to sudoers file\n" +" (Q)uit and save changes to sudoers file (DANGER!)\n" +msgstr "" +"Du har følgende valgmuligheter:\n" +" (e) rediger sudoers-fil på nytt\n" +" (x) avslutt uten å lagre endringer i sudoers-fil\n" +" (Q) avslutt og lagre endringene i sudoers-fil (FARLIG!)\n" + +#: plugins/sudoers/visudo.c:872 +#, c-format +msgid "unable to run %s" +msgstr "klarte ikke å kjøre %s" + +#: plugins/sudoers/visudo.c:902 +#, c-format +msgid "%s: wrong owner (uid, gid) should be (%u, %u)\n" +msgstr "%s: feil eier. uid og gid skulle vært «%u, %u»\n" + +#: plugins/sudoers/visudo.c:909 +#, c-format +msgid "%s: bad permissions, should be mode 0%o\n" +msgstr "%s: feil tillatelsesmodus. Skulle vært modus 0%o\n" + +#: plugins/sudoers/visudo.c:966 plugins/sudoers/visudo.c:973 +#, c-format +msgid "%s: parsed OK\n" +msgstr "%s: lest og tolket OK\n" + +#: plugins/sudoers/visudo.c:992 +#, c-format +msgid "%s busy, try again later" +msgstr "%s er opptatt. Prøv igjen senere" + +#: plugins/sudoers/visudo.c:995 +#, c-format +msgid "unable to lock %s" +msgstr "klarte ikke å låse %s" + +#: plugins/sudoers/visudo.c:996 +msgid "Edit anyway? [y/N]" +msgstr "Vil du redigere likevel [j/N]" + +#: plugins/sudoers/visudo.c:1080 +#, c-format +msgid "Error: %s:%d cycle in %s \"%s\"" +msgstr "Feil: %s:%d sløyfe i %s «%s»" + +#: plugins/sudoers/visudo.c:1081 +#, c-format +msgid "Warning: %s:%d cycle in %s \"%s\"" +msgstr "Advarsel: %s:%d sløyfe i %s «%s»" + +#: plugins/sudoers/visudo.c:1085 +#, c-format +msgid "Error: %s:%d %s \"%s\" referenced but not defined" +msgstr "Feil: %s:%d referanse til %s «%s», som ikke er definert" + +#: plugins/sudoers/visudo.c:1086 +#, c-format +msgid "Warning: %s:%d %s \"%s\" referenced but not defined" +msgstr "Advarsel: %s:%d referanse til %s «%s», som ikke er definert" + +#: plugins/sudoers/visudo.c:1177 +#, c-format +msgid "Warning: %s:%d unused %s \"%s\"" +msgstr "Advarsel: %s:%d %s «%s» står ubrukt" + +#: plugins/sudoers/visudo.c:1292 +#, c-format +msgid "" +"%s - safely edit the sudoers file\n" +"\n" +msgstr "" +"%s - rediger sudoers-fil på en trygg måte\n" +"\n" + +#: plugins/sudoers/visudo.c:1294 +msgid "" +"\n" +"Options:\n" +" -c, --check check-only mode\n" +" -f, --file=sudoers specify sudoers file location\n" +" -h, --help display help message and exit\n" +" -q, --quiet less verbose (quiet) syntax error messages\n" +" -s, --strict strict syntax checking\n" +" -V, --version display version information and exit\n" +msgstr "" +"\n" +"Valg:\n" +" -c, --check undersøkelsesmodus\n" +" -f, --file=sudoers oppgi hvor sudoers-fila ligger\n" +" -h, --help vis denne hjelpeteksten og avslutt\n" +" -q, --quiet mindre detaljerte meldinger om syntaksfeil\n" +" -s, --strict streng syntakskontroll\n" +" -V, --version vis versjon og avslutt\n" + +#: toke.l:941 +msgid "too many levels of includes" +msgstr "du har for mange nivåer av inkluderte filer" + +#~ msgid "ignoring invalid attribute value: %s" +#~ msgstr "ignorerer ugyldig attributtverdi: %s" + +#~ msgid "unable to cache user %s, out of memory" +#~ msgstr "klarte ikke å hurtiglagre brukeren %s. Minnet er fullt" + +#~ msgid "unable to cache group %s, out of memory" +#~ msgstr "klarte ikke å hurtiglagre gruppa %s. Minnet er fullt" + +#~ msgid "unable to cache group list for %s, out of memory" +#~ msgstr "klarte ikke å hurtiglagre liste over %s. Minnet er fullt" + +#~ msgid "" +#~ "\n" +#~ "LDAP Role: UNKNOWN\n" +#~ msgstr "" +#~ "\n" +#~ "LDAP-role: UKJENT\n" + +#~ msgid " Order: %s\n" +#~ msgstr " Sorter: %s\n" + +#~ msgid "" +#~ "\n" +#~ "SSSD Role: %s\n" +#~ msgstr "" +#~ "\n" +#~ "SSSD-rolle: %s\n" + +#~ msgid "" +#~ "\n" +#~ "SSSD Role: UNKNOWN\n" +#~ msgstr "" +#~ "\n" +#~ "SSSD-rolle: UKJENT\n" + +#~ msgid "Warning: cycle in %s `%s'" +#~ msgstr "Advarsel: sløyfe i %s «%s»" + +#~ msgid "Warning: %s `%s' referenced but not defined" +#~ msgstr "Advarsel: det refereres til %s «%s», som ikke er definert" + +#~ msgid "Warning: unused %s `%s'" +#~ msgstr "Advarsel: %s «%s» er ubrukt" + +#~ msgid "unable allocate memory" +#~ msgstr "klarte ikke å tildele minne" + +#~ msgid "timestamp path too long: %s/%s" +#~ msgstr "filstien «%s/%s» for tidsstempel er for lang" + +#~ msgid "unable to stat editor (%s)" +#~ msgstr "klarte ikke å undersøke redigeringsprogrammet (%s)" + +#~ msgid "sudo_ldap_conf_add_ports: out of space expanding hostbuf" +#~ msgstr "sudo_ldap_conf_add_ports: ikke nok lagringsplass for å utvide vertens hurtiglager" + +#~ msgid "sudo_ldap_parse_uri: out of space building hostbuf" +#~ msgstr "sudo_ldap_parse_uri: ikke nok lagringsplass til å bygge opp vertens hurtiglager" + +#~ msgid "sudo_ldap_build_pass1 allocation mismatch" +#~ msgstr "sudo_ldap_build_pass1 samsvar ikke ved tildeling" + +#~ msgid "internal error: insufficient space for log line" +#~ msgstr "intern feil: logglinje mangler plass" + +#~ msgid "fill_args: buffer overflow" +#~ msgstr "fill_args: hurtiglageret er fullt" diff --git a/plugins/sudoers/po/nl.mo b/plugins/sudoers/po/nl.mo new file mode 100644 index 0000000..c07b4d6 Binary files /dev/null and b/plugins/sudoers/po/nl.mo differ diff --git a/plugins/sudoers/po/nl.po b/plugins/sudoers/po/nl.po new file mode 100644 index 0000000..3ea66a0 --- /dev/null +++ b/plugins/sudoers/po/nl.po @@ -0,0 +1,2282 @@ +# Dutch translation for sudoers. +# This file is distributed under the same license as the sudo package. +# P. Hamming , 2013. +# Benno Schulenberg , 2017. +# +msgid "" +msgstr "" +"Project-Id-Version: sudoers 1.8.22b1\n" +"Report-Msgid-Bugs-To: https://bugzilla.sudo.ws\n" +"POT-Creation-Date: 2017-12-01 15:42-0700\n" +"PO-Revision-Date: 2017-12-05 21:44+0100\n" +"Last-Translator: Benno Schulenberg \n" +"Language-Team: Dutch \n" +"Language: nl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Poedit 2.0.4\n" + +#: confstr.sh:1 +msgid "syntax error" +msgstr "invoerfout" + +#: confstr.sh:2 +msgid "%p's password: " +msgstr "%p's wachtwoord: " + +#: confstr.sh:3 +msgid "[sudo] password for %p: " +msgstr "[sudo] wachtwoord voor %p: " + +#: confstr.sh:4 +msgid "Password: " +msgstr "Wachtwoord: " + +#: confstr.sh:5 +msgid "*** SECURITY information for %h ***" +msgstr "*** VEILIGHEIDSinformatie voor %h ***" + +#: confstr.sh:6 +msgid "Sorry, try again." +msgstr "Sorry, probeer het opnieuw." + +#: gram.y:192 gram.y:240 gram.y:247 gram.y:254 gram.y:261 gram.y:268 +#: gram.y:284 gram.y:307 gram.y:314 gram.y:321 gram.y:328 gram.y:335 +#: gram.y:398 gram.y:406 gram.y:416 gram.y:449 gram.y:456 gram.y:463 +#: gram.y:470 gram.y:552 gram.y:559 gram.y:568 gram.y:577 gram.y:594 +#: gram.y:706 gram.y:713 gram.y:720 gram.y:728 gram.y:824 gram.y:831 +#: gram.y:838 gram.y:845 gram.y:852 gram.y:878 gram.y:885 gram.y:892 +#: gram.y:1015 gram.y:1195 gram.y:1202 plugins/sudoers/alias.c:124 +#: plugins/sudoers/alias.c:139 plugins/sudoers/auth/bsdauth.c:141 +#: plugins/sudoers/auth/kerb5.c:119 plugins/sudoers/auth/kerb5.c:145 +#: plugins/sudoers/auth/pam.c:490 plugins/sudoers/auth/rfc1938.c:109 +#: plugins/sudoers/auth/sia.c:59 plugins/sudoers/defaults.c:650 +#: plugins/sudoers/defaults.c:905 plugins/sudoers/defaults.c:1076 +#: plugins/sudoers/editor.c:64 plugins/sudoers/editor.c:82 +#: plugins/sudoers/editor.c:93 plugins/sudoers/env.c:233 +#: plugins/sudoers/filedigest.c:120 plugins/sudoers/filedigest_gcrypt.c:90 +#: plugins/sudoers/filedigest_openssl.c:111 plugins/sudoers/gc.c:52 +#: plugins/sudoers/group_plugin.c:134 plugins/sudoers/interfaces.c:71 +#: plugins/sudoers/iolog.c:941 plugins/sudoers/iolog_path.c:167 +#: plugins/sudoers/ldap.c:449 plugins/sudoers/ldap.c:480 +#: plugins/sudoers/ldap.c:532 plugins/sudoers/ldap.c:566 +#: plugins/sudoers/ldap.c:974 plugins/sudoers/ldap.c:1168 +#: plugins/sudoers/ldap.c:1179 plugins/sudoers/ldap.c:1195 +#: plugins/sudoers/ldap.c:1487 plugins/sudoers/ldap.c:1647 +#: plugins/sudoers/ldap.c:1729 plugins/sudoers/ldap.c:1877 +#: plugins/sudoers/ldap.c:1901 plugins/sudoers/ldap.c:1990 +#: plugins/sudoers/ldap.c:2005 plugins/sudoers/ldap.c:2101 +#: plugins/sudoers/ldap.c:2134 plugins/sudoers/ldap.c:2215 +#: plugins/sudoers/ldap.c:2297 plugins/sudoers/ldap.c:2394 +#: plugins/sudoers/ldap.c:3228 plugins/sudoers/ldap.c:3260 +#: plugins/sudoers/ldap.c:3572 plugins/sudoers/ldap.c:3600 +#: plugins/sudoers/ldap.c:3616 plugins/sudoers/ldap.c:3706 +#: plugins/sudoers/ldap.c:3722 plugins/sudoers/linux_audit.c:76 +#: plugins/sudoers/logging.c:189 plugins/sudoers/logging.c:451 +#: plugins/sudoers/logging.c:472 plugins/sudoers/logging.c:684 +#: plugins/sudoers/logging.c:942 plugins/sudoers/match.c:617 +#: plugins/sudoers/match.c:664 plugins/sudoers/match.c:714 +#: plugins/sudoers/match.c:738 plugins/sudoers/match.c:826 +#: plugins/sudoers/match.c:915 plugins/sudoers/parse.c:252 +#: plugins/sudoers/parse.c:264 plugins/sudoers/parse.c:279 +#: plugins/sudoers/parse.c:291 plugins/sudoers/policy.c:441 +#: plugins/sudoers/policy.c:678 plugins/sudoers/prompt.c:93 +#: plugins/sudoers/pwutil.c:165 plugins/sudoers/pwutil.c:236 +#: plugins/sudoers/pwutil.c:312 plugins/sudoers/pwutil.c:486 +#: plugins/sudoers/pwutil.c:551 plugins/sudoers/pwutil.c:620 +#: plugins/sudoers/pwutil.c:778 plugins/sudoers/pwutil.c:835 +#: plugins/sudoers/pwutil.c:880 plugins/sudoers/pwutil.c:938 +#: plugins/sudoers/sssd.c:162 plugins/sudoers/sssd.c:194 +#: plugins/sudoers/sssd.c:237 plugins/sudoers/sssd.c:244 +#: plugins/sudoers/sssd.c:280 plugins/sudoers/sssd.c:353 +#: plugins/sudoers/sssd.c:392 plugins/sudoers/sssd.c:1067 +#: plugins/sudoers/sssd.c:1246 plugins/sudoers/sssd.c:1260 +#: plugins/sudoers/sssd.c:1276 plugins/sudoers/sudoers.c:263 +#: plugins/sudoers/sudoers.c:273 plugins/sudoers/sudoers.c:281 +#: plugins/sudoers/sudoers.c:365 plugins/sudoers/sudoers.c:682 +#: plugins/sudoers/sudoers.c:807 plugins/sudoers/sudoers.c:851 +#: plugins/sudoers/sudoers.c:1123 plugins/sudoers/sudoers_debug.c:107 +#: plugins/sudoers/sudoreplay.c:1253 plugins/sudoers/sudoreplay.c:1365 +#: plugins/sudoers/sudoreplay.c:1405 plugins/sudoers/sudoreplay.c:1414 +#: plugins/sudoers/sudoreplay.c:1424 plugins/sudoers/sudoreplay.c:1432 +#: plugins/sudoers/sudoreplay.c:1436 plugins/sudoers/sudoreplay.c:1592 +#: plugins/sudoers/sudoreplay.c:1596 plugins/sudoers/testsudoers.c:131 +#: plugins/sudoers/testsudoers.c:217 plugins/sudoers/testsudoers.c:234 +#: plugins/sudoers/timestamp.c:389 plugins/sudoers/timestamp.c:433 +#: plugins/sudoers/timestamp.c:852 plugins/sudoers/toke_util.c:56 +#: plugins/sudoers/toke_util.c:109 plugins/sudoers/toke_util.c:146 +#: plugins/sudoers/visudo.c:153 plugins/sudoers/visudo.c:309 +#: plugins/sudoers/visudo.c:315 plugins/sudoers/visudo.c:446 +#: plugins/sudoers/visudo.c:624 plugins/sudoers/visudo.c:985 +#: plugins/sudoers/visudo.c:1051 plugins/sudoers/visudo.c:1095 +#: plugins/sudoers/visudo.c:1197 plugins/sudoers/visudo_json.c:1025 toke.l:849 +#: toke.l:949 toke.l:1106 +msgid "unable to allocate memory" +msgstr "kan geen geheugen reserveren" + +#: gram.y:481 +msgid "a digest requires a path name" +msgstr "een digest vereist een padnaam" + +#: gram.y:607 +msgid "invalid notbefore value" +msgstr "ongeldige 'notbefore'-waarde" + +#: gram.y:615 +msgid "invalid notafter value" +msgstr "ongeldige 'notafter'-waarde" + +#: gram.y:624 plugins/sudoers/policy.c:267 +msgid "timeout value too large" +msgstr "" + +#: gram.y:626 plugins/sudoers/policy.c:269 +msgid "invalid timeout value" +msgstr "" + +#: gram.y:1195 gram.y:1202 plugins/sudoers/auth/pam.c:320 +#: plugins/sudoers/auth/pam.c:490 plugins/sudoers/auth/rfc1938.c:109 +#: plugins/sudoers/defaults.c:650 plugins/sudoers/defaults.c:905 +#: plugins/sudoers/defaults.c:1076 plugins/sudoers/editor.c:64 +#: plugins/sudoers/editor.c:82 plugins/sudoers/editor.c:93 +#: plugins/sudoers/env.c:233 plugins/sudoers/filedigest.c:120 +#: plugins/sudoers/filedigest_gcrypt.c:72 +#: plugins/sudoers/filedigest_gcrypt.c:90 +#: plugins/sudoers/filedigest_openssl.c:111 plugins/sudoers/gc.c:52 +#: plugins/sudoers/group_plugin.c:134 plugins/sudoers/interfaces.c:71 +#: plugins/sudoers/iolog.c:941 plugins/sudoers/iolog_path.c:167 +#: plugins/sudoers/ldap.c:449 plugins/sudoers/ldap.c:480 +#: plugins/sudoers/ldap.c:532 plugins/sudoers/ldap.c:566 +#: plugins/sudoers/ldap.c:974 plugins/sudoers/ldap.c:1168 +#: plugins/sudoers/ldap.c:1179 plugins/sudoers/ldap.c:1195 +#: plugins/sudoers/ldap.c:1487 plugins/sudoers/ldap.c:1647 +#: plugins/sudoers/ldap.c:1729 plugins/sudoers/ldap.c:1877 +#: plugins/sudoers/ldap.c:1901 plugins/sudoers/ldap.c:1990 +#: plugins/sudoers/ldap.c:2005 plugins/sudoers/ldap.c:2101 +#: plugins/sudoers/ldap.c:2134 plugins/sudoers/ldap.c:2214 +#: plugins/sudoers/ldap.c:2297 plugins/sudoers/ldap.c:2394 +#: plugins/sudoers/ldap.c:3228 plugins/sudoers/ldap.c:3260 +#: plugins/sudoers/ldap.c:3572 plugins/sudoers/ldap.c:3599 +#: plugins/sudoers/ldap.c:3615 plugins/sudoers/ldap.c:3706 +#: plugins/sudoers/ldap.c:3722 plugins/sudoers/linux_audit.c:76 +#: plugins/sudoers/logging.c:189 plugins/sudoers/logging.c:451 +#: plugins/sudoers/logging.c:472 plugins/sudoers/logging.c:942 +#: plugins/sudoers/match.c:616 plugins/sudoers/match.c:663 +#: plugins/sudoers/match.c:714 plugins/sudoers/match.c:738 +#: plugins/sudoers/match.c:826 plugins/sudoers/match.c:914 +#: plugins/sudoers/parse.c:252 plugins/sudoers/parse.c:264 +#: plugins/sudoers/parse.c:279 plugins/sudoers/parse.c:291 +#: plugins/sudoers/policy.c:100 plugins/sudoers/policy.c:109 +#: plugins/sudoers/policy.c:118 plugins/sudoers/policy.c:142 +#: plugins/sudoers/policy.c:253 plugins/sudoers/policy.c:267 +#: plugins/sudoers/policy.c:269 plugins/sudoers/policy.c:293 +#: plugins/sudoers/policy.c:303 plugins/sudoers/policy.c:343 +#: plugins/sudoers/policy.c:353 plugins/sudoers/policy.c:362 +#: plugins/sudoers/policy.c:371 plugins/sudoers/policy.c:441 +#: plugins/sudoers/policy.c:678 plugins/sudoers/prompt.c:93 +#: plugins/sudoers/pwutil.c:165 plugins/sudoers/pwutil.c:236 +#: plugins/sudoers/pwutil.c:312 plugins/sudoers/pwutil.c:486 +#: plugins/sudoers/pwutil.c:551 plugins/sudoers/pwutil.c:620 +#: plugins/sudoers/pwutil.c:778 plugins/sudoers/pwutil.c:835 +#: plugins/sudoers/pwutil.c:880 plugins/sudoers/pwutil.c:938 +#: plugins/sudoers/set_perms.c:387 plugins/sudoers/set_perms.c:766 +#: plugins/sudoers/set_perms.c:1150 plugins/sudoers/set_perms.c:1476 +#: plugins/sudoers/set_perms.c:1641 plugins/sudoers/sssd.c:162 +#: plugins/sudoers/sssd.c:194 plugins/sudoers/sssd.c:237 +#: plugins/sudoers/sssd.c:244 plugins/sudoers/sssd.c:280 +#: plugins/sudoers/sssd.c:352 plugins/sudoers/sssd.c:392 +#: plugins/sudoers/sssd.c:1067 plugins/sudoers/sssd.c:1245 +#: plugins/sudoers/sssd.c:1260 plugins/sudoers/sssd.c:1276 +#: plugins/sudoers/sudoers.c:263 plugins/sudoers/sudoers.c:273 +#: plugins/sudoers/sudoers.c:281 plugins/sudoers/sudoers.c:365 +#: plugins/sudoers/sudoers.c:682 plugins/sudoers/sudoers.c:807 +#: plugins/sudoers/sudoers.c:851 plugins/sudoers/sudoers.c:1123 +#: plugins/sudoers/sudoers_debug.c:106 plugins/sudoers/sudoreplay.c:1253 +#: plugins/sudoers/sudoreplay.c:1365 plugins/sudoers/sudoreplay.c:1405 +#: plugins/sudoers/sudoreplay.c:1414 plugins/sudoers/sudoreplay.c:1424 +#: plugins/sudoers/sudoreplay.c:1432 plugins/sudoers/sudoreplay.c:1436 +#: plugins/sudoers/sudoreplay.c:1592 plugins/sudoers/sudoreplay.c:1596 +#: plugins/sudoers/testsudoers.c:131 plugins/sudoers/testsudoers.c:217 +#: plugins/sudoers/testsudoers.c:234 plugins/sudoers/timestamp.c:389 +#: plugins/sudoers/timestamp.c:433 plugins/sudoers/timestamp.c:852 +#: plugins/sudoers/toke_util.c:56 plugins/sudoers/toke_util.c:109 +#: plugins/sudoers/toke_util.c:146 plugins/sudoers/visudo.c:153 +#: plugins/sudoers/visudo.c:309 plugins/sudoers/visudo.c:315 +#: plugins/sudoers/visudo.c:446 plugins/sudoers/visudo.c:624 +#: plugins/sudoers/visudo.c:985 plugins/sudoers/visudo.c:1051 +#: plugins/sudoers/visudo.c:1095 plugins/sudoers/visudo.c:1197 +#: plugins/sudoers/visudo_json.c:1025 toke.l:849 toke.l:949 toke.l:1106 +#, c-format +msgid "%s: %s" +msgstr "%s: %s" + +#: plugins/sudoers/alias.c:135 +#, c-format +msgid "Alias \"%s\" already defined" +msgstr "Alias \"%s\" is al gedefinieerd" + +#: plugins/sudoers/auth/bsdauth.c:68 +#, c-format +msgid "unable to get login class for user %s" +msgstr "kan de loginklasse voor gebruiker %s niet verkrijgen" + +#: plugins/sudoers/auth/bsdauth.c:73 +msgid "unable to begin bsd authentication" +msgstr "kan de bsd-aanmelding niet starten" + +#: plugins/sudoers/auth/bsdauth.c:81 +msgid "invalid authentication type" +msgstr "ongeldig type verificatie" + +#: plugins/sudoers/auth/bsdauth.c:90 +msgid "unable to initialize BSD authentication" +msgstr "kan de bsd-aanmelding niet initialiseren" + +#: plugins/sudoers/auth/fwtk.c:52 +msgid "unable to read fwtk config" +msgstr "kan fwtk-configuratie niet lezen" + +#: plugins/sudoers/auth/fwtk.c:57 +msgid "unable to connect to authentication server" +msgstr "kan niet verbinden met aanmeldingsserver" + +#: plugins/sudoers/auth/fwtk.c:63 plugins/sudoers/auth/fwtk.c:87 +#: plugins/sudoers/auth/fwtk.c:121 +msgid "lost connection to authentication server" +msgstr "verbinding met aanmeldingsserver verloren" + +#: plugins/sudoers/auth/fwtk.c:67 +#, c-format +msgid "" +"authentication server error:\n" +"%s" +msgstr "" +"aanmeldingsserverfout:\n" +"%s" + +#: plugins/sudoers/auth/kerb5.c:111 +#, fuzzy, c-format +msgid "%s: unable to convert principal to string ('%s'): %s" +msgstr "%s: kan opdrachtgever niet converteren naar een string ('%s'): %s" + +#: plugins/sudoers/auth/kerb5.c:161 +#, c-format +msgid "%s: unable to parse '%s': %s" +msgstr "%s: kan '%s' niet ontleden: %s" + +#: plugins/sudoers/auth/kerb5.c:170 +#, c-format +msgid "%s: unable to resolve credential cache: %s" +msgstr "%s: kan cache voor aanmeldingsgegevens niet vinden: %s" + +#: plugins/sudoers/auth/kerb5.c:217 +#, c-format +msgid "%s: unable to allocate options: %s" +msgstr "%s: kan opties niet reserveren: %s" + +#: plugins/sudoers/auth/kerb5.c:232 +#, c-format +msgid "%s: unable to get credentials: %s" +msgstr "%s: kan aanmeldingsgegevens niet verkrijgen: %s" + +#: plugins/sudoers/auth/kerb5.c:245 +#, c-format +msgid "%s: unable to initialize credential cache: %s" +msgstr "%s: kan cache voor aanmeldingsgegevens niet initialiseren: %s" + +#: plugins/sudoers/auth/kerb5.c:248 +#, c-format +msgid "%s: unable to store credential in cache: %s" +msgstr "%s: kan aanmeldingsgegeven niet opslaan in cache: %s" + +#: plugins/sudoers/auth/kerb5.c:312 +#, c-format +msgid "%s: unable to get host principal: %s" +msgstr "%s: kan belangrijkste server niet vinden: %s" + +#: plugins/sudoers/auth/kerb5.c:326 +#, c-format +msgid "%s: Cannot verify TGT! Possible attack!: %s" +msgstr "%s: Kan TGT niet verifieren! U bent mogelijk aangevallen!: %s" + +#: plugins/sudoers/auth/pam.c:108 +msgid "unable to initialize PAM" +msgstr "kan PAM niet initialiseren" + +#: plugins/sudoers/auth/pam.c:194 +msgid "account validation failure, is your account locked?" +msgstr "fout bij valideren van account, is uw account geblokkeerd?" + +#: plugins/sudoers/auth/pam.c:198 +msgid "Account or password is expired, reset your password and try again" +msgstr "Account of wachtwoord is verlopen, stel uw wachtwoord opnieuw in en probeer het opnieuw" + +#: plugins/sudoers/auth/pam.c:206 +#, c-format +msgid "unable to change expired password: %s" +msgstr "kan verlopen wachtwoord niet wijzigen: %s" + +#: plugins/sudoers/auth/pam.c:211 +msgid "Password expired, contact your system administrator" +msgstr "Wachtwoord is verlopen, neem contact op met uw systeembeheerder" + +#: plugins/sudoers/auth/pam.c:215 +msgid "Account expired or PAM config lacks an \"account\" section for sudo, contact your system administrator" +msgstr "Account is verlopen of PAM-configuratie heeft geen \"account\"-gedeelte voor sudo, neem contact op met uw systeembeheerder" + +#: plugins/sudoers/auth/pam.c:229 +#, c-format +msgid "PAM authentication error: %s" +msgstr "fout in PAM-aanmelding: %s" + +#: plugins/sudoers/auth/rfc1938.c:97 plugins/sudoers/visudo.c:227 +#, c-format +msgid "you do not exist in the %s database" +msgstr "u bestaat niet in de %s-database" + +#: plugins/sudoers/auth/securid5.c:73 +msgid "failed to initialise the ACE API library" +msgstr "initialiseren van de ACE API-bibliotheek is mislukt" + +#: plugins/sudoers/auth/securid5.c:99 +msgid "unable to contact the SecurID server" +msgstr "kan geen contact krijgen met de SecurID-server" + +#: plugins/sudoers/auth/securid5.c:108 +msgid "User ID locked for SecurID Authentication" +msgstr "Gebruikers-ID is geblokkeerd voor SecurID-verificatie" + +#: plugins/sudoers/auth/securid5.c:112 plugins/sudoers/auth/securid5.c:163 +msgid "invalid username length for SecurID" +msgstr "ongeldige gebruikersnaamlengte voor SecurID" + +#: plugins/sudoers/auth/securid5.c:116 plugins/sudoers/auth/securid5.c:168 +msgid "invalid Authentication Handle for SecurID" +msgstr "kan verificatie voor SecurID op deze manier niet afhandelen" + +#: plugins/sudoers/auth/securid5.c:120 +msgid "SecurID communication failed" +msgstr "SecurID-communicatie is mislukt" + +#: plugins/sudoers/auth/securid5.c:124 plugins/sudoers/auth/securid5.c:213 +msgid "unknown SecurID error" +msgstr "onbekende SecurID-fout" + +#: plugins/sudoers/auth/securid5.c:158 +msgid "invalid passcode length for SecurID" +msgstr "ongeldige lengte van passcode voor SecurID" + +#: plugins/sudoers/auth/sia.c:69 plugins/sudoers/auth/sia.c:125 +msgid "unable to initialize SIA session" +msgstr "kan SIA-sessie niet initialiseren" + +#: plugins/sudoers/auth/sudo_auth.c:126 +msgid "invalid authentication methods" +msgstr "ongeldige verificatiemethoden" + +#: plugins/sudoers/auth/sudo_auth.c:128 +msgid "Invalid authentication methods compiled into sudo! You may not mix standalone and non-standalone authentication." +msgstr "Er zijn ongeldige verificatiemethoden in sudo gecompileerd! U kunt geen zelfstandige en niet-zelfstandige verificatiemethoden door elkaar gebruiken." + +#: plugins/sudoers/auth/sudo_auth.c:224 plugins/sudoers/auth/sudo_auth.c:274 +msgid "no authentication methods" +msgstr "geen verificatiemethoden" + +#: plugins/sudoers/auth/sudo_auth.c:226 +msgid "There are no authentication methods compiled into sudo! If you want to turn off authentication, use the --disable-authentication configure option." +msgstr "Er zijn geen verificatie-methoden in sudo gecompileerd! Als u verificatie wilt uitschakelen, dient u de --disable-authentication configuratie-optie te gebruiken." + +#: plugins/sudoers/auth/sudo_auth.c:276 +msgid "Unable to initialize authentication methods." +msgstr "Kon verificatiemethoden niet starten." + +#: plugins/sudoers/auth/sudo_auth.c:441 +msgid "Authentication methods:" +msgstr "Verificatie-methoden:" + +#: plugins/sudoers/bsm_audit.c:120 plugins/sudoers/bsm_audit.c:211 +msgid "Could not determine audit condition" +msgstr "Kan voorwaarden voor controle niet bepalen" + +#: plugins/sudoers/bsm_audit.c:183 plugins/sudoers/bsm_audit.c:273 +msgid "unable to commit audit record" +msgstr "kan controlestructuur niet opbouwen" + +#: plugins/sudoers/check.c:259 +msgid "" +"\n" +"We trust you have received the usual lecture from the local System\n" +"Administrator. It usually boils down to these three things:\n" +"\n" +" #1) Respect the privacy of others.\n" +" #2) Think before you type.\n" +" #3) With great power comes great responsibility.\n" +"\n" +msgstr "" +"\n" +"Als het goed is hebt u de gebruikelijke informatie ontvangen van uw\n" +"systeembeheerder. Gewoonlijk komt het neer op de volgende drie punten:\n" +"\n" +" 1. Respecteer de privacy van anderen.\n" +" 2. Denk na voordat u iets doet.\n" +" 3. Veel mogelijkheden betekent veel verantwoordelijkheid.\n" +"\n" + +#: plugins/sudoers/check.c:302 plugins/sudoers/check.c:312 +#: plugins/sudoers/sudoers.c:725 plugins/sudoers/sudoers.c:770 +#, c-format +msgid "unknown uid: %u" +msgstr "onbekend gebruikersnummer: %u" + +#: plugins/sudoers/check.c:307 plugins/sudoers/iolog.c:260 +#: plugins/sudoers/policy.c:851 plugins/sudoers/sudoers.c:1162 +#: plugins/sudoers/testsudoers.c:208 plugins/sudoers/testsudoers.c:366 +#, c-format +msgid "unknown user: %s" +msgstr "onbekende gebruiker: %s" + +#: plugins/sudoers/def_data.c:41 +#, c-format +msgid "Syslog facility if syslog is being used for logging: %s" +msgstr "Syslog-voorziening als syslog wordt gebruikt voor loggen: %s" + +#: plugins/sudoers/def_data.c:45 +#, c-format +msgid "Syslog priority to use when user authenticates successfully: %s" +msgstr "Syslog-prioriteit wanneer aanmelden van gebruiker gelukt is: %s" + +#: plugins/sudoers/def_data.c:49 +#, c-format +msgid "Syslog priority to use when user authenticates unsuccessfully: %s" +msgstr "Syslog-prioriteit wanneer aanmelden van gebruiker niet gelukt is: %s" + +#: plugins/sudoers/def_data.c:53 +msgid "Put OTP prompt on its own line" +msgstr "Geef OTP-prompt een eigen regel" + +#: plugins/sudoers/def_data.c:57 +msgid "Ignore '.' in $PATH" +msgstr "Negeer '.' in $PATH" + +#: plugins/sudoers/def_data.c:61 +msgid "Always send mail when sudo is run" +msgstr "Stuur altijd een mail wanneer sudo is gebruikt" + +#: plugins/sudoers/def_data.c:65 +msgid "Send mail if user authentication fails" +msgstr "Stuur een mail wanneer aanmelden van gebruiker mislukt" + +#: plugins/sudoers/def_data.c:69 +msgid "Send mail if the user is not in sudoers" +msgstr "Stuur een mail als de gebruiker niet in sudoers staat" + +#: plugins/sudoers/def_data.c:73 +msgid "Send mail if the user is not in sudoers for this host" +msgstr "Stuur een mail als de gebruiker niet voor deze computer in sudoers staat" + +#: plugins/sudoers/def_data.c:77 +msgid "Send mail if the user is not allowed to run a command" +msgstr "Stuur een mail als de gebruiker een opdracht niet mag gebruiken" + +#: plugins/sudoers/def_data.c:81 +msgid "Send mail if the user tries to run a command" +msgstr "Stuur een mail als de gebruiker een opdracht probeert te gebruiken" + +#: plugins/sudoers/def_data.c:85 +msgid "Use a separate timestamp for each user/tty combo" +msgstr "Gebruik een verschillende tijd voor elke gebruiker/terminal-combinatie" + +#: plugins/sudoers/def_data.c:89 +msgid "Lecture user the first time they run sudo" +msgstr "Instrueer gebruikers de eerste keer dat ze sudo gebruiken" + +#: plugins/sudoers/def_data.c:93 +#, c-format +msgid "File containing the sudo lecture: %s" +msgstr "Bestand met de sudo-instructies: %s" + +#: plugins/sudoers/def_data.c:97 +msgid "Require users to authenticate by default" +msgstr "Standaard is verificatie van gebruikers vereist" + +#: plugins/sudoers/def_data.c:101 +msgid "Root may run sudo" +msgstr "Root mag sudo gebruiken" + +#: plugins/sudoers/def_data.c:105 +msgid "Log the hostname in the (non-syslog) log file" +msgstr "Log de computernaam in het (niet-syslog) logbestand" + +#: plugins/sudoers/def_data.c:109 +msgid "Log the year in the (non-syslog) log file" +msgstr "Log het jaar in het (niet-syslog) logbestand" + +#: plugins/sudoers/def_data.c:113 +msgid "If sudo is invoked with no arguments, start a shell" +msgstr "Start een shell als sudo wordt aangeroepen zonder argumenten" + +#: plugins/sudoers/def_data.c:117 +msgid "Set $HOME to the target user when starting a shell with -s" +msgstr "Stel $HOME in op de doelgebruiker wanneer een shell wordt gestart met -s" + +#: plugins/sudoers/def_data.c:121 +msgid "Always set $HOME to the target user's home directory" +msgstr "$HOME altijd instellen op de persoonlijke map van de doelgebruiker" + +#: plugins/sudoers/def_data.c:125 +msgid "Allow some information gathering to give useful error messages" +msgstr "Sta verzamelen van informatie toe om bruikbare foutberichten te geven" + +#: plugins/sudoers/def_data.c:129 +msgid "Require fully-qualified hostnames in the sudoers file" +msgstr "Vereis volledig-gekwalificeerde computernamen (fqdn) in het sudoers-bestand" + +#: plugins/sudoers/def_data.c:133 +msgid "Insult the user when they enter an incorrect password" +msgstr "Beledig de gebruiker wanneer ze een verkeerd wachtwoord invoeren" + +#: plugins/sudoers/def_data.c:137 +msgid "Only allow the user to run sudo if they have a tty" +msgstr "Gebruiker alleen toestaan sudo te gebruiken wanneer deze een terminal heeft" + +#: plugins/sudoers/def_data.c:141 +msgid "Visudo will honor the EDITOR environment variable" +msgstr "Visudo zal de EDITOR omgevingsvariabele in acht nemen" + +#: plugins/sudoers/def_data.c:145 +msgid "Prompt for root's password, not the users's" +msgstr "Vraag naar wachtwoord van root, niet van de gebruiker" + +#: plugins/sudoers/def_data.c:149 +msgid "Prompt for the runas_default user's password, not the users's" +msgstr "Vraag naar wachtwoord van runas_default gebruiker, niet van huidige gebruiker" + +#: plugins/sudoers/def_data.c:153 +msgid "Prompt for the target user's password, not the users's" +msgstr "Vraag naar wachtwoord van doelgebruiker, niet van huidige gebruiker" + +#: plugins/sudoers/def_data.c:157 +msgid "Apply defaults in the target user's login class if there is one" +msgstr "Pas de standaardinstellingen van de doelgebruikers inlogklasse toe wanneer deze bestaat" + +#: plugins/sudoers/def_data.c:161 +msgid "Set the LOGNAME and USER environment variables" +msgstr "Stel de LOGNAME en USER omgevingsvariabelen in" + +#: plugins/sudoers/def_data.c:165 +msgid "Only set the effective uid to the target user, not the real uid" +msgstr "Stel het effectieve gebruikersnummer van de doelgebuiker in, niet het werkelijke gebruikersnummer" + +#: plugins/sudoers/def_data.c:169 +msgid "Don't initialize the group vector to that of the target user" +msgstr "De groepsvector niet initialiseren naar die van de doelgebruiker" + +#: plugins/sudoers/def_data.c:173 +#, c-format +msgid "Length at which to wrap log file lines (0 for no wrap): %u" +msgstr "Breek regels in logbestanden af op (0 voor niet afbreken): %u" + +#: plugins/sudoers/def_data.c:177 +#, c-format +msgid "Authentication timestamp timeout: %.1f minutes" +msgstr "Aanmeldtijd timeout: %.1f minuten" + +#: plugins/sudoers/def_data.c:181 +#, c-format +msgid "Password prompt timeout: %.1f minutes" +msgstr "Wachtwoordprompt timeout: %.1f minuten" + +#: plugins/sudoers/def_data.c:185 +#, c-format +msgid "Number of tries to enter a password: %u" +msgstr "Aantal pogingen om een wachtwoord in te voeren: %u" + +#: plugins/sudoers/def_data.c:189 +#, c-format +msgid "Umask to use or 0777 to use user's: 0%o" +msgstr "Te gebruiken umask of 0777 om die van gebruiker te gebruiken: 0%o" + +#: plugins/sudoers/def_data.c:193 +#, c-format +msgid "Path to log file: %s" +msgstr "Pad naar logbestand: %s" + +#: plugins/sudoers/def_data.c:197 +#, c-format +msgid "Path to mail program: %s" +msgstr "Pad naar mailprogramma: %s" + +#: plugins/sudoers/def_data.c:201 +#, c-format +msgid "Flags for mail program: %s" +msgstr "Opties voor mailprogramma: %s" + +#: plugins/sudoers/def_data.c:205 +#, c-format +msgid "Address to send mail to: %s" +msgstr "Adres waarnaar mail wordt verzonden: %s" + +#: plugins/sudoers/def_data.c:209 +#, c-format +msgid "Address to send mail from: %s" +msgstr "Afzenderadres: %s" + +#: plugins/sudoers/def_data.c:213 +#, c-format +msgid "Subject line for mail messages: %s" +msgstr "Onderwerp voor mails: %s" + +#: plugins/sudoers/def_data.c:217 +#, c-format +msgid "Incorrect password message: %s" +msgstr "Boodschap voor verkeerd wachtwoord: %s" + +#: plugins/sudoers/def_data.c:221 +#, fuzzy, c-format +msgid "Path to lecture status dir: %s" +msgstr "Pad naar aanmeld-tijdmap: %s" + +#: plugins/sudoers/def_data.c:225 +#, c-format +msgid "Path to authentication timestamp dir: %s" +msgstr "Pad naar aanmeld-tijdmap: %s" + +#: plugins/sudoers/def_data.c:229 +#, c-format +msgid "Owner of the authentication timestamp dir: %s" +msgstr "Eigenaar van aanmeld-tijdmap: %s" + +#: plugins/sudoers/def_data.c:233 +#, c-format +msgid "Users in this group are exempt from password and PATH requirements: %s" +msgstr "Gebruikers in deze groep zijn uitgezonderd van de wachtwoord- en PATH-vereisten: %s" + +#: plugins/sudoers/def_data.c:237 +#, c-format +msgid "Default password prompt: %s" +msgstr "Standaard wachtwoordprompt: %s" + +#: plugins/sudoers/def_data.c:241 +msgid "If set, passprompt will override system prompt in all cases." +msgstr "Indien ingesteld, zal de wachtwoordprompt altijd de systeemprompt vervangen." + +#: plugins/sudoers/def_data.c:245 +#, c-format +msgid "Default user to run commands as: %s" +msgstr "Standaardgebruiker om opdrachten uit te voeren: %s" + +#: plugins/sudoers/def_data.c:249 +#, c-format +msgid "Value to override user's $PATH with: %s" +msgstr "Waarde waarmee $PATH van gebruiker wordt vervangen: %s" + +#: plugins/sudoers/def_data.c:253 +#, c-format +msgid "Path to the editor for use by visudo: %s" +msgstr "Pad naar de editor bij gebruik van visudo: %s" + +#: plugins/sudoers/def_data.c:257 +#, c-format +msgid "When to require a password for 'list' pseudocommand: %s" +msgstr "Wanneer een wachtwoord noodzakelijk is voor 'list'-pseudopdracht: %s" + +#: plugins/sudoers/def_data.c:261 +#, c-format +msgid "When to require a password for 'verify' pseudocommand: %s" +msgstr "Wanneer een wachtwoord noodzakelijk is voor 'verify'-pseudopdracht: %s" + +#: plugins/sudoers/def_data.c:265 +msgid "Preload the dummy exec functions contained in the sudo_noexec library" +msgstr "Laadt vooraf de dummy uitvoerfuncties uit de sudo_noexec-bibliotheek" + +#: plugins/sudoers/def_data.c:269 +msgid "If LDAP directory is up, do we ignore local sudoers file" +msgstr "Als de LDAP-map beschikbaar is, wordt het lokale sudoersbestand genegeerd?" + +#: plugins/sudoers/def_data.c:273 +#, c-format +msgid "File descriptors >= %d will be closed before executing a command" +msgstr "Bestandsdescriptors >= %d zullen worden gesloten vóór het uitvoeren van een opdracht" + +#: plugins/sudoers/def_data.c:277 +msgid "If set, users may override the value of `closefrom' with the -C option" +msgstr "Indien ingesteld, mogen gebruikers de waarde van 'closefrom' vervangen met de optie -C" + +#: plugins/sudoers/def_data.c:281 +msgid "Allow users to set arbitrary environment variables" +msgstr "Gebruikers toestaan willekeurige omgevingsvariabelen in te stellen" + +#: plugins/sudoers/def_data.c:285 +msgid "Reset the environment to a default set of variables" +msgstr "Stel de omgevingsvariablen in op een standaard set" + +#: plugins/sudoers/def_data.c:289 +msgid "Environment variables to check for sanity:" +msgstr "Op \"gezondheid\" te controleren omgevingsvariabelen:" + +#: plugins/sudoers/def_data.c:293 +msgid "Environment variables to remove:" +msgstr "Te verwijderen omgevingsvariabelen:" + +#: plugins/sudoers/def_data.c:297 +msgid "Environment variables to preserve:" +msgstr "Te behouden omgevingsvariabelen:" + +#: plugins/sudoers/def_data.c:301 +#, c-format +msgid "SELinux role to use in the new security context: %s" +msgstr "SELinux role om in de nieuwe beveiligingscontext te gebruiken: %s" + +#: plugins/sudoers/def_data.c:305 +#, c-format +msgid "SELinux type to use in the new security context: %s" +msgstr "SELinux type om in de nieuwe beveiligingscontext te gebruiken: %s" + +#: plugins/sudoers/def_data.c:309 +#, c-format +msgid "Path to the sudo-specific environment file: %s" +msgstr "Pad naar het omgevingsbestand voor sudo: %s" + +#: plugins/sudoers/def_data.c:313 +#, fuzzy, c-format +msgid "Path to the restricted sudo-specific environment file: %s" +msgstr "Pad naar het omgevingsbestand voor sudo: %s" + +#: plugins/sudoers/def_data.c:317 +#, c-format +msgid "Locale to use while parsing sudoers: %s" +msgstr "Te gebruiken taalregio bij ontleden van sudoers: %s" + +#: plugins/sudoers/def_data.c:321 +msgid "Allow sudo to prompt for a password even if it would be visible" +msgstr "Sta sudo toe ook te vragen naar een wachtwoord wanneer dit zichtbaar zou worden" + +#: plugins/sudoers/def_data.c:325 +msgid "Provide visual feedback at the password prompt when there is user input" +msgstr "Zorg voor zichtbare terugkoppeling op de wachtwoordprompt wanneer er gebruikersinvoer is" + +#: plugins/sudoers/def_data.c:329 +msgid "Use faster globbing that is less accurate but does not access the filesystem" +msgstr "Gebruik snellere expansie van jokertekens. Dit is minder nauwkeurig, maar maakt geen gebruik van het bestandsysteem" + +#: plugins/sudoers/def_data.c:333 +msgid "The umask specified in sudoers will override the user's, even if it is more permissive" +msgstr "De umask die is opgegeven in het sudoersbestand zal die van de gebruiker vervangen, ook wanneer deze meer toestaat" + +#: plugins/sudoers/def_data.c:337 +msgid "Log user's input for the command being run" +msgstr "Log gebruikersinvoer voor de uitgevoerde opdracht" + +#: plugins/sudoers/def_data.c:341 +msgid "Log the output of the command being run" +msgstr "Log uitvoer voor de uitgevoerde opdracht" + +#: plugins/sudoers/def_data.c:345 +msgid "Compress I/O logs using zlib" +msgstr "Comprimeer in-/uitvoerlogs met zlib" + +#: plugins/sudoers/def_data.c:349 +msgid "Always run commands in a pseudo-tty" +msgstr "Voer opdrachten altijd uit in een pseudo-terminal" + +#: plugins/sudoers/def_data.c:353 +#, c-format +msgid "Plugin for non-Unix group support: %s" +msgstr "Plugin voor ondersteuning van niet-Unixgroepen: %s" + +#: plugins/sudoers/def_data.c:357 +#, c-format +msgid "Directory in which to store input/output logs: %s" +msgstr "Map waarin in-/uitvoerlogs moeten worden opgeslagen: %s" + +#: plugins/sudoers/def_data.c:361 +#, c-format +msgid "File in which to store the input/output log: %s" +msgstr "Bestand waarin in-/uitvoerlogs moeten worden opgeslagen: %s" + +#: plugins/sudoers/def_data.c:365 +msgid "Add an entry to the utmp/utmpx file when allocating a pty" +msgstr "Voeg een item toe aan het utmp/utmpx-bestand wanneer een virtuele terminal wordt gereserveerd" + +#: plugins/sudoers/def_data.c:369 +msgid "Set the user in utmp to the runas user, not the invoking user" +msgstr "Stel in utmp de gebruiker in op de runas-gebruiker, niet op de aanroepende gebruiker" + +#: plugins/sudoers/def_data.c:373 +#, c-format +msgid "Set of permitted privileges: %s" +msgstr "Set van toegestane privileges: %s" + +#: plugins/sudoers/def_data.c:377 +#, c-format +msgid "Set of limit privileges: %s" +msgstr "Set van beperkende privileges: %s" + +#: plugins/sudoers/def_data.c:381 +msgid "Run commands on a pty in the background" +msgstr "Draai opdrachten op een virtuele terminal op de achtergrond." + +#: plugins/sudoers/def_data.c:385 +#, c-format +msgid "PAM service name to use: %s" +msgstr "te gebruiken naam van PAM-service: %s" + +#: plugins/sudoers/def_data.c:389 +#, c-format +msgid "PAM service name to use for login shells: %s" +msgstr "te gebruiken naam van PAM-service voor inlog-shells: %s" + +#: plugins/sudoers/def_data.c:393 +msgid "Attempt to establish PAM credentials for the target user" +msgstr "Probeer PAM-aanmeldgegevens voor doelgebruiker te verkrijgen" + +#: plugins/sudoers/def_data.c:397 +msgid "Create a new PAM session for the command to run in" +msgstr "Maak een nieuwe PAM-sessie om de opdracht in uit te voeren" + +#: plugins/sudoers/def_data.c:401 +#, c-format +msgid "Maximum I/O log sequence number: %u" +msgstr "Maximaal in-/uitvoerlog volgnummer: %u" + +#: plugins/sudoers/def_data.c:405 +msgid "Enable sudoers netgroup support" +msgstr "Ondersteuning voor sudoers-netgroup inschakelen" + +#: plugins/sudoers/def_data.c:409 +msgid "Check parent directories for writability when editing files with sudoedit" +msgstr "" + +#: plugins/sudoers/def_data.c:413 +msgid "Follow symbolic links when editing files with sudoedit" +msgstr "" + +#: plugins/sudoers/def_data.c:417 +msgid "Query the group plugin for unknown system groups" +msgstr "" + +#: plugins/sudoers/def_data.c:421 +msgid "Match netgroups based on the entire tuple: user, host and domain" +msgstr "" + +#: plugins/sudoers/def_data.c:425 +msgid "Allow commands to be run even if sudo cannot write to the audit log" +msgstr "" + +#: plugins/sudoers/def_data.c:429 +msgid "Allow commands to be run even if sudo cannot write to the I/O log" +msgstr "" + +#: plugins/sudoers/def_data.c:433 +msgid "Allow commands to be run even if sudo cannot write to the log file" +msgstr "" + +#: plugins/sudoers/def_data.c:437 +msgid "Resolve groups in sudoers and match on the group ID, not the name" +msgstr "" + +#: plugins/sudoers/def_data.c:441 +#, c-format +msgid "Log entries larger than this value will be split into multiple syslog messages: %u" +msgstr "" + +#: plugins/sudoers/def_data.c:445 +#, c-format +msgid "User that will own the I/O log files: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:449 +#, c-format +msgid "Group that will own the I/O log files: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:453 +#, c-format +msgid "File mode to use for the I/O log files: 0%o" +msgstr "" + +#: plugins/sudoers/def_data.c:457 +#, c-format +msgid "Execute commands by file descriptor instead of by path: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:461 +msgid "Ignore unknown Defaults entries in sudoers instead of producing a warning" +msgstr "" + +#: plugins/sudoers/def_data.c:465 +#, c-format +msgid "Time in seconds after which the command will be terminated: %u" +msgstr "" + +#: plugins/sudoers/def_data.c:469 +msgid "Allow the user to specify a timeout on the command line" +msgstr "" + +#: plugins/sudoers/def_data.c:473 +msgid "Flush I/O log data to disk immediately instead of buffering it" +msgstr "" + +#: plugins/sudoers/def_data.c:477 +msgid "Include the process ID when logging via syslog" +msgstr "" + +#: plugins/sudoers/def_data.c:481 +#, fuzzy, c-format +msgid "Type of authentication timestamp record: %s" +msgstr "Eigenaar van aanmeld-tijdmap: %s" + +#: plugins/sudoers/defaults.c:220 +#, c-format +msgid "%s:%d unknown defaults entry \"%s\"" +msgstr "%s:%d onbekend standaarditem \"%s\"" + +#: plugins/sudoers/defaults.c:223 +#, c-format +msgid "%s: unknown defaults entry \"%s\"" +msgstr "%s: onbekend standaarditem \"%s\"" + +#: plugins/sudoers/defaults.c:266 +#, c-format +msgid "%s:%d no value specified for \"%s\"" +msgstr "%s:%d geen waarde opgegeven voor \"%s\"" + +#: plugins/sudoers/defaults.c:269 +#, c-format +msgid "%s: no value specified for \"%s\"" +msgstr "%s: geen waarde opgegeven voor \"%s\"" + +#: plugins/sudoers/defaults.c:289 +#, c-format +msgid "%s:%d values for \"%s\" must start with a '/'" +msgstr "%s:%d waarden voor \"%s\" moeten beginnen met een '/'" + +#: plugins/sudoers/defaults.c:292 +#, c-format +msgid "%s: values for \"%s\" must start with a '/'" +msgstr "%s: waarden voor \"%s\" moeten beginnen met een '/'" + +#: plugins/sudoers/defaults.c:317 +#, c-format +msgid "%s:%d option \"%s\" does not take a value" +msgstr "%s:%d optie '%s' accepteert geen waarde" + +#: plugins/sudoers/defaults.c:320 +#, c-format +msgid "%s: option \"%s\" does not take a value" +msgstr "%s: optie '%s' accepteert geen waarde" + +#: plugins/sudoers/defaults.c:342 +#, fuzzy, c-format +msgid "%s:%d invalid Defaults type 0x%x for option \"%s\"" +msgstr "ongeldige filteroptie: %s" + +#: plugins/sudoers/defaults.c:345 +#, fuzzy, c-format +msgid "%s: invalid Defaults type 0x%x for option \"%s\"" +msgstr "ongeldige filteroptie: %s" + +#: plugins/sudoers/defaults.c:355 +#, c-format +msgid "%s:%d value \"%s\" is invalid for option \"%s\"" +msgstr "%s:%d waarde \"%s\" is ongeldig voor optie '%s'" + +#: plugins/sudoers/defaults.c:358 +#, c-format +msgid "%s: value \"%s\" is invalid for option \"%s\"" +msgstr "%s: waarde \"%s\" is ongeldig voor optie '%s'" + +#: plugins/sudoers/env.c:295 plugins/sudoers/env.c:302 +#: plugins/sudoers/env.c:407 plugins/sudoers/ldap.c:453 +#: plugins/sudoers/ldap.c:543 plugins/sudoers/ldap.c:1264 +#: plugins/sudoers/ldap.c:1491 plugins/sudoers/ldap.c:1816 +#: plugins/sudoers/linux_audit.c:82 plugins/sudoers/logging.c:947 +#: plugins/sudoers/policy.c:562 plugins/sudoers/policy.c:572 +#: plugins/sudoers/prompt.c:161 plugins/sudoers/sudoers.c:873 +#: plugins/sudoers/testsudoers.c:238 plugins/sudoers/toke_util.c:158 +#, c-format +msgid "internal error, %s overflow" +msgstr "interne fout, %s overflow" + +#: plugins/sudoers/env.c:376 +msgid "sudo_putenv: corrupted envp, length mismatch" +msgstr "sudo_putenv: envp bevat fouten, verkeerde lengte" + +#: plugins/sudoers/env.c:1055 +msgid "unable to rebuild the environment" +msgstr "kan omgeving niet opnieuw opbouwen" + +#: plugins/sudoers/env.c:1129 +#, c-format +msgid "sorry, you are not allowed to set the following environment variables: %s" +msgstr "sorry, u mag de volgende omgevingsvariabelen niet instellen: %s" + +#: plugins/sudoers/filedigest.c:104 plugins/sudoers/filedigest_gcrypt.c:66 +#: plugins/sudoers/filedigest_openssl.c:95 +#, c-format +msgid "unsupported digest type %d for %s" +msgstr "niet-ondersteund type controlegetal %d voor %s" + +#: plugins/sudoers/filedigest.c:129 plugins/sudoers/filedigest_gcrypt.c:98 +#: plugins/sudoers/filedigest_openssl.c:120 +#, c-format +msgid "%s: read error" +msgstr "%s: leesfout" + +#: plugins/sudoers/group_plugin.c:86 +#, c-format +msgid "%s must be owned by uid %d" +msgstr "%s moet eigendom zijn van gebruikersnummer %d" + +#: plugins/sudoers/group_plugin.c:90 +#, c-format +msgid "%s must only be writable by owner" +msgstr "%s mag enkel schrijfbaar zijn voor eigenaar" + +#: plugins/sudoers/group_plugin.c:98 plugins/sudoers/sssd.c:400 +#, c-format +msgid "unable to load %s: %s" +msgstr "kan %s niet laden: %s" + +#: plugins/sudoers/group_plugin.c:104 +#, c-format +msgid "unable to find symbol \"group_plugin\" in %s" +msgstr "kan symbool \"group_plugin\" niet vinden in %s" + +#: plugins/sudoers/group_plugin.c:109 +#, c-format +msgid "%s: incompatible group plugin major version %d, expected %d" +msgstr "%s: incompatibele groepplugin hoofdversie %d, verwacht wordt %d" + +#: plugins/sudoers/interfaces.c:79 plugins/sudoers/interfaces.c:96 +#, c-format +msgid "unable to parse IP address \"%s\"" +msgstr "kan IP-adres \"%s\" niet ontleden" + +#: plugins/sudoers/interfaces.c:84 plugins/sudoers/interfaces.c:101 +#, c-format +msgid "unable to parse netmask \"%s\"" +msgstr "kan netmasker \"%s\" niet ontleden" + +#: plugins/sudoers/interfaces.c:129 +msgid "Local IP address and netmask pairs:\n" +msgstr "Combinaties van lokale IP-adressen en netwerkmaskers:\n" + +#: plugins/sudoers/iolog.c:121 plugins/sudoers/mkdir_parents.c:75 +#, c-format +msgid "%s exists but is not a directory (0%o)" +msgstr "%s bestaat al, maar is geen map (0%o)" + +#: plugins/sudoers/iolog.c:146 plugins/sudoers/iolog.c:187 +#: plugins/sudoers/mkdir_parents.c:64 plugins/sudoers/timestamp.c:170 +#, c-format +msgid "unable to mkdir %s" +msgstr "mkdir %s: aanmaken mislukt" + +#: plugins/sudoers/iolog.c:191 plugins/sudoers/visudo.c:740 +#: plugins/sudoers/visudo.c:750 +#, c-format +msgid "unable to change mode of %s to 0%o" +msgstr "kan modus van %s niet wijzigen naar 0%o" + +#: plugins/sudoers/iolog.c:299 plugins/sudoers/sudoers.c:1193 +#: plugins/sudoers/testsudoers.c:390 +#, c-format +msgid "unknown group: %s" +msgstr "onbekende groep: %s" + +#: plugins/sudoers/iolog.c:418 plugins/sudoers/sudoers.c:929 +#: plugins/sudoers/sudoreplay.c:349 plugins/sudoers/sudoreplay.c:1354 +#: plugins/sudoers/sudoreplay.c:1558 plugins/sudoers/timestamp.c:398 +#: plugins/sudoers/visudo.c:972 plugins/sudoers/visudo_json.c:1001 +#: plugins/sudoers/visudo_json.c:1014 +#, c-format +msgid "unable to open %s" +msgstr "kan %s niet openen" + +#: plugins/sudoers/iolog.c:469 plugins/sudoers/sudoers.c:933 +#: plugins/sudoers/sudoreplay.c:856 plugins/sudoers/sudoreplay.c:1669 +#, c-format +msgid "unable to read %s" +msgstr "kan %s niet lezen" + +#: plugins/sudoers/iolog.c:505 plugins/sudoers/sudoreplay.c:1123 +#: plugins/sudoers/timestamp.c:290 plugins/sudoers/timestamp.c:293 +#, c-format +msgid "unable to write to %s" +msgstr "kan %s niet schrijven" + +#: plugins/sudoers/iolog.c:584 plugins/sudoers/iolog.c:803 +#, c-format +msgid "unable to create %s" +msgstr "kan %s niet aanmaken" + +#: plugins/sudoers/iolog.c:1035 plugins/sudoers/iolog.c:1110 +#: plugins/sudoers/iolog.c:1191 +#, c-format +msgid "unable to write to I/O log file: %s" +msgstr "kan niet schrijven naar in-/uitvoerlogbestand: %s" + +#: plugins/sudoers/iolog.c:1069 +#, fuzzy, c-format +msgid "%s: internal error, file index %d not open" +msgstr "interne fout, kan %s niet in de lijst vinden!" + +#: plugins/sudoers/ldap.c:431 +msgid "sudo_ldap_conf_add_ports: port too large" +msgstr "sudo_ldap_conf_add_ports: poort te groot" + +#: plugins/sudoers/ldap.c:491 +#, c-format +msgid "unsupported LDAP uri type: %s" +msgstr "niet-ondersteund LDAP uri type: %s" + +#: plugins/sudoers/ldap.c:518 +msgid "unable to mix ldap and ldaps URIs" +msgstr "kan ldap en ldaps URIs niet door elkaar gebruiken" + +#: plugins/sudoers/ldap.c:522 plugins/sudoers/ldap.c:559 +msgid "starttls not supported when using ldaps" +msgstr "starttls wordt niet ondersteund in combinatie met ldaps" + +#: plugins/sudoers/ldap.c:630 +#, c-format +msgid "unable to initialize SSL cert and key db: %s" +msgstr "kan SSL cert en key db niet initialiseren: %s" + +#: plugins/sudoers/ldap.c:633 +#, c-format +msgid "you must set TLS_CERT in %s to use SSL" +msgstr "u moet TLS_CERT in %s instellen om SSL te gebruiken" + +#: plugins/sudoers/ldap.c:1250 +msgid "unable to get GMT time" +msgstr "kan GMT-tijd niet verkrijgen" + +#: plugins/sudoers/ldap.c:1256 +msgid "unable to format timestamp" +msgstr "kan tijd niet juist opmaken" + +#: plugins/sudoers/ldap.c:1980 +#, c-format +msgid "%s: %s: %s: %s" +msgstr "%s: %s: %s: %s" + +#: plugins/sudoers/ldap.c:2552 +#, c-format +msgid "" +"\n" +"LDAP Role: %s\n" +msgstr "" +"\n" +"LDAP Role: %s\n" + +#: plugins/sudoers/ldap.c:2554 +#, c-format +msgid "" +"\n" +"LDAP Role: UNKNOWN\n" +msgstr "" +"\n" +"LDAP Role: UNKNOWN\n" + +#: plugins/sudoers/ldap.c:2610 +#, c-format +msgid " Order: %s\n" +msgstr " Volgorde: %s\n" + +#: plugins/sudoers/ldap.c:2618 plugins/sudoers/parse.c:618 +#: plugins/sudoers/sssd.c:1641 +#, c-format +msgid " Commands:\n" +msgstr " Opdrachten:\n" + +#: plugins/sudoers/ldap.c:3180 +#, c-format +msgid "unable to initialize LDAP: %s" +msgstr "kan LDAP niet initialiseren: %s" + +#: plugins/sudoers/ldap.c:3216 +msgid "start_tls specified but LDAP libs do not support ldap_start_tls_s() or ldap_start_tls_s_np()" +msgstr "start_tls opgegeven maar LDAP bibliotheken ondersteunen geen ldap_start_tls_s() of ldap_start_tls_s_np()" + +#: plugins/sudoers/ldap.c:3468 +#, c-format +msgid "invalid sudoOrder attribute: %s" +msgstr "ongeldig sudoOrder kenmerk: %s" + +#: plugins/sudoers/linux_audit.c:52 +msgid "unable to open audit system" +msgstr "kan controlesysteem niet openen" + +#: plugins/sudoers/linux_audit.c:93 +msgid "unable to send audit message" +msgstr "kan controleboodschap niet verzenden" + +#: plugins/sudoers/logging.c:107 +#, c-format +msgid "%8s : %s" +msgstr "%8s : %s" + +#: plugins/sudoers/logging.c:135 +#, c-format +msgid "%8s : (command continued) %s" +msgstr "%8s : (opdracht voortgezet) %s" + +#: plugins/sudoers/logging.c:164 +#, c-format +msgid "unable to open log file: %s" +msgstr "kan logbestand niet openen: %s" + +#: plugins/sudoers/logging.c:172 +#, c-format +msgid "unable to lock log file: %s" +msgstr "kan logbestand niet vergrendelen: %s" + +#: plugins/sudoers/logging.c:205 +#, c-format +msgid "unable to write log file: %s" +msgstr "kan logbestand niet schrijven: %s" + +#: plugins/sudoers/logging.c:234 +msgid "No user or host" +msgstr "Geen gebruiker of computer" + +#: plugins/sudoers/logging.c:236 +msgid "validation failure" +msgstr "geldigheidsfout" + +#: plugins/sudoers/logging.c:243 +msgid "user NOT in sudoers" +msgstr "gebruiker NIET in sudoers" + +#: plugins/sudoers/logging.c:245 +msgid "user NOT authorized on host" +msgstr "gebruiker NIET aangemeld op computer" + +#: plugins/sudoers/logging.c:247 +msgid "command not allowed" +msgstr "opdracht is niet toegestaan" + +#: plugins/sudoers/logging.c:282 +#, c-format +msgid "%s is not in the sudoers file. This incident will be reported.\n" +msgstr "%s zit niet in het sudoersbestand. Dit incident zal worden gerapporteerd.\n" + +#: plugins/sudoers/logging.c:285 +#, c-format +msgid "%s is not allowed to run sudo on %s. This incident will be reported.\n" +msgstr "%s heeft niet het recht om sudo te gebruiken op %s. Dit incident zal worden gerapporteerd.\n" + +#: plugins/sudoers/logging.c:289 +#, c-format +msgid "Sorry, user %s may not run sudo on %s.\n" +msgstr "Sorry, gebruiker %s mag sudo niet gebruiken op %s.\n" + +#: plugins/sudoers/logging.c:292 +#, c-format +msgid "Sorry, user %s is not allowed to execute '%s%s%s' as %s%s%s on %s.\n" +msgstr "Sorry, gebruiker %s mag '%s%s%s' niet uitvoeren als %s%s%s op %s.\n" + +#: plugins/sudoers/logging.c:329 plugins/sudoers/sudoers.c:473 +#: plugins/sudoers/sudoers.c:475 plugins/sudoers/sudoers.c:477 +#: plugins/sudoers/sudoers.c:479 plugins/sudoers/sudoers.c:1298 +#: plugins/sudoers/sudoers.c:1300 +#, c-format +msgid "%s: command not found" +msgstr "%s: opdracht niet gevonden" + +#: plugins/sudoers/logging.c:331 plugins/sudoers/sudoers.c:469 +#, c-format +msgid "" +"ignoring \"%s\" found in '.'\n" +"Use \"sudo ./%s\" if this is the \"%s\" you wish to run." +msgstr "" +"\"%s\" gevonden in '.' wordt genegeerd.\n" +"Gebruik 'sudo ./%s' als dit de '%s' die u wilt uitvoeren." + +#: plugins/sudoers/logging.c:348 +msgid "authentication failure" +msgstr "aanmeldingsfout" + +#: plugins/sudoers/logging.c:374 +msgid "a password is required" +msgstr "een wachtwoord is verplicht" + +#: plugins/sudoers/logging.c:445 plugins/sudoers/logging.c:511 +#, c-format +msgid "%u incorrect password attempt" +msgid_plural "%u incorrect password attempts" +msgstr[0] "%u verkeerde wachtwoordpoging" +msgstr[1] "%u verkeerde wachtwoordpogingen" + +#: plugins/sudoers/logging.c:598 +msgid "unable to fork" +msgstr "kan niet afsplitsen" + +#: plugins/sudoers/logging.c:606 plugins/sudoers/logging.c:658 +#, c-format +msgid "unable to fork: %m" +msgstr "kan niet afsplitsen: %m" + +#: plugins/sudoers/logging.c:648 +#, c-format +msgid "unable to open pipe: %m" +msgstr "kan pipe niet openen: %m" + +#: plugins/sudoers/logging.c:673 +#, c-format +msgid "unable to dup stdin: %m" +msgstr "kan stdin niet klonen: %m" + +#: plugins/sudoers/logging.c:711 +#, c-format +msgid "unable to execute %s: %m" +msgstr "kan %s niet uitvoeren: %m" + +#: plugins/sudoers/match.c:771 +#, c-format +msgid "digest for %s (%s) is not in %s form" +msgstr "controlegetal voor %s (%s) is niet in de %s-vorm" + +#: plugins/sudoers/mkdir_parents.c:70 plugins/sudoers/sudoers.c:944 +#: plugins/sudoers/visudo.c:439 plugins/sudoers/visudo.c:734 +#, c-format +msgid "unable to stat %s" +msgstr "kan stat op %s niet uitvoeren" + +#: plugins/sudoers/parse.c:115 +#, c-format +msgid "parse error in %s near line %d" +msgstr "ontleedfout in %s bij regel %d" + +#: plugins/sudoers/parse.c:118 +#, c-format +msgid "parse error in %s" +msgstr "ontleedfout in %s" + +#: plugins/sudoers/parse.c:544 +#, c-format +msgid "" +"\n" +"Sudoers entry:\n" +msgstr "" +"\n" +"Sudoers-item:\n" + +#: plugins/sudoers/parse.c:545 +#, c-format +msgid " RunAsUsers: " +msgstr " RunAsUsers: " + +#: plugins/sudoers/parse.c:559 +#, c-format +msgid " RunAsGroups: " +msgstr " RunAsGroups: " + +#: plugins/sudoers/parse.c:568 +#, c-format +msgid " Options: " +msgstr " Opties: " + +#: plugins/sudoers/policy.c:243 plugins/sudoers/testsudoers.c:261 +msgid "unable to parse network address list" +msgstr "kan netwerkadressenlijst niet ontleden" + +#: plugins/sudoers/policy.c:380 +msgid "user name not set by sudo front-end" +msgstr "" + +#: plugins/sudoers/policy.c:384 +msgid "user ID not set by sudo front-end" +msgstr "" + +#: plugins/sudoers/policy.c:388 +msgid "group ID not set by sudo front-end" +msgstr "" + +#: plugins/sudoers/policy.c:392 +msgid "host name not set by sudo front-end" +msgstr "" + +#: plugins/sudoers/policy.c:736 plugins/sudoers/visudo.c:910 +#, c-format +msgid "unable to execute %s" +msgstr "kan %s niet uitvoeren" + +#: plugins/sudoers/policy.c:869 +#, c-format +msgid "Sudoers policy plugin version %s\n" +msgstr "Sudoers-beleidsplugin versie %s\n" + +#: plugins/sudoers/policy.c:871 +#, c-format +msgid "Sudoers file grammar version %d\n" +msgstr "Versie van sudoers-bestandsgrammatica %d\n" + +#: plugins/sudoers/policy.c:875 +#, c-format +msgid "" +"\n" +"Sudoers path: %s\n" +msgstr "" +"\n" +"Sudoers-pad: %s\n" + +#: plugins/sudoers/policy.c:878 +#, c-format +msgid "nsswitch path: %s\n" +msgstr "nsswitch-pad: %s\n" + +#: plugins/sudoers/policy.c:880 +#, c-format +msgid "ldap.conf path: %s\n" +msgstr "ldap.conf-pad: %s\n" + +#: plugins/sudoers/policy.c:881 +#, c-format +msgid "ldap.secret path: %s\n" +msgstr "ldap.secret-pad: %s\n" + +#: plugins/sudoers/policy.c:914 +#, c-format +msgid "unable to register hook of type %d (version %d.%d)" +msgstr "" + +#: plugins/sudoers/pwutil.c:188 plugins/sudoers/pwutil.c:206 +#, c-format +msgid "unable to cache uid %u, out of memory" +msgstr "kan gebruikersnummer %u niet bufferen, onvoldoende geheugen" + +#: plugins/sudoers/pwutil.c:200 +#, c-format +msgid "unable to cache uid %u, already exists" +msgstr "kan gebruikersnummer %u niet bufferen, bestaat reeds" + +#: plugins/sudoers/pwutil.c:260 plugins/sudoers/pwutil.c:277 +#: plugins/sudoers/pwutil.c:339 plugins/sudoers/pwutil.c:384 +#, c-format +msgid "unable to cache user %s, out of memory" +msgstr "kan gebruiker %s niet bufferen, onvoldoende geheugen" + +#: plugins/sudoers/pwutil.c:272 +#, c-format +msgid "unable to cache user %s, already exists" +msgstr "kan gebruiker %s niet bufferen, bestaat reeds" + +#: plugins/sudoers/pwutil.c:503 plugins/sudoers/pwutil.c:521 +#, c-format +msgid "unable to cache gid %u, out of memory" +msgstr "kan groepsnummer %u niet bufferen, onvoldoende geheugen" + +#: plugins/sudoers/pwutil.c:515 +#, c-format +msgid "unable to cache gid %u, already exists" +msgstr "kan groepsnummer %u niet bufferen, bestaat reeds" + +#: plugins/sudoers/pwutil.c:569 plugins/sudoers/pwutil.c:586 +#: plugins/sudoers/pwutil.c:633 plugins/sudoers/pwutil.c:675 +#, c-format +msgid "unable to cache group %s, out of memory" +msgstr "kan groep %s niet bufferen, onvoldoende geheugen" + +#: plugins/sudoers/pwutil.c:581 +#, c-format +msgid "unable to cache group %s, already exists" +msgstr "kan groep %s niet bufferen, bestaat reeds" + +#: plugins/sudoers/pwutil.c:801 plugins/sudoers/pwutil.c:853 +#: plugins/sudoers/pwutil.c:904 plugins/sudoers/pwutil.c:957 +#, c-format +msgid "unable to cache group list for %s, already exists" +msgstr "kan groepslijst voor %s niet bufferen, bestaat reeds" + +#: plugins/sudoers/pwutil.c:807 plugins/sudoers/pwutil.c:858 +#: plugins/sudoers/pwutil.c:910 plugins/sudoers/pwutil.c:962 +#, c-format +msgid "unable to cache group list for %s, out of memory" +msgstr "kan groepslijst voor %s niet bufferen, onvoldoende geheugen" + +#: plugins/sudoers/pwutil.c:847 +#, c-format +msgid "unable to parse groups for %s" +msgstr "kan groepen voor %s niet ontleden" + +#: plugins/sudoers/pwutil.c:951 +#, c-format +msgid "unable to parse gids for %s" +msgstr "kan groepsnummers voor %s niet ontleden" + +#: plugins/sudoers/set_perms.c:113 plugins/sudoers/set_perms.c:469 +#: plugins/sudoers/set_perms.c:912 plugins/sudoers/set_perms.c:1239 +#: plugins/sudoers/set_perms.c:1556 +msgid "perm stack overflow" +msgstr "overloop van rechtenstapel" + +#: plugins/sudoers/set_perms.c:121 plugins/sudoers/set_perms.c:400 +#: plugins/sudoers/set_perms.c:477 plugins/sudoers/set_perms.c:779 +#: plugins/sudoers/set_perms.c:920 plugins/sudoers/set_perms.c:1163 +#: plugins/sudoers/set_perms.c:1247 plugins/sudoers/set_perms.c:1489 +#: plugins/sudoers/set_perms.c:1564 plugins/sudoers/set_perms.c:1654 +msgid "perm stack underflow" +msgstr "onderloop van rechtenstapel" + +#: plugins/sudoers/set_perms.c:180 plugins/sudoers/set_perms.c:523 +#: plugins/sudoers/set_perms.c:1298 plugins/sudoers/set_perms.c:1596 +msgid "unable to change to root gid" +msgstr "kan niet wijzigen naar rootgroepsnummer" + +#: plugins/sudoers/set_perms.c:269 plugins/sudoers/set_perms.c:620 +#: plugins/sudoers/set_perms.c:1049 plugins/sudoers/set_perms.c:1375 +msgid "unable to change to runas gid" +msgstr "kan niet wijzigen naar runas-groepsnummer" + +#: plugins/sudoers/set_perms.c:274 plugins/sudoers/set_perms.c:625 +#: plugins/sudoers/set_perms.c:1054 plugins/sudoers/set_perms.c:1380 +msgid "unable to set runas group vector" +msgstr "kan runas-groepsvector niet instellen" + +#: plugins/sudoers/set_perms.c:285 plugins/sudoers/set_perms.c:636 +#: plugins/sudoers/set_perms.c:1063 plugins/sudoers/set_perms.c:1389 +msgid "unable to change to runas uid" +msgstr "kan niet wijzigen naar runas-gebruikersnummer" + +#: plugins/sudoers/set_perms.c:303 plugins/sudoers/set_perms.c:654 +#: plugins/sudoers/set_perms.c:1079 plugins/sudoers/set_perms.c:1405 +msgid "unable to change to sudoers gid" +msgstr "kan niet wijzigen naar sudoers-groepsnummer" + +#: plugins/sudoers/set_perms.c:387 plugins/sudoers/set_perms.c:766 +#: plugins/sudoers/set_perms.c:1150 plugins/sudoers/set_perms.c:1476 +#: plugins/sudoers/set_perms.c:1641 +msgid "too many processes" +msgstr "te veel processen" + +#: plugins/sudoers/solaris_audit.c:51 +msgid "unable to get current working directory" +msgstr "kan huidige werkmap niet achterhalen" + +#: plugins/sudoers/solaris_audit.c:59 +#, c-format +msgid "truncated audit path user_cmnd: %s" +msgstr "" + +#: plugins/sudoers/solaris_audit.c:66 +#, c-format +msgid "truncated audit path argv[0]: %s" +msgstr "" + +#: plugins/sudoers/solaris_audit.c:115 +msgid "audit_failure message too long" +msgstr "boodschap voor audit_failure is te lang" + +#: plugins/sudoers/sssd.c:402 +msgid "unable to initialize SSS source. Is SSSD installed on your machine?" +msgstr "Kan SSS-bron niet initialiseren. Is SSSD op uw machine geinstalleerd?" + +#: plugins/sudoers/sssd.c:410 plugins/sudoers/sssd.c:419 +#: plugins/sudoers/sssd.c:428 plugins/sudoers/sssd.c:437 +#: plugins/sudoers/sssd.c:446 +#, c-format +msgid "unable to find symbol \"%s\" in %s" +msgstr "kan symbool \"%s\" niet vinden in %s" + +#: plugins/sudoers/sssd.c:1556 +#, c-format +msgid "" +"\n" +"SSSD Role: %s\n" +msgstr "" +"\n" +"SSSD Role: %s\n" + +#: plugins/sudoers/sssd.c:1561 +#, c-format +msgid "" +"\n" +"SSSD Role: UNKNOWN\n" +msgstr "" +"\n" +"SSSD Role: UNKNOWN\n" + +#: plugins/sudoers/sudo_nss.c:289 +#, c-format +msgid "Matching Defaults entries for %s on %s:\n" +msgstr "Overeenkomende standaarditems voor %s op %s:\n" + +#: plugins/sudoers/sudo_nss.c:307 +#, c-format +msgid "Runas and Command-specific defaults for %s:\n" +msgstr "Runas en opdrachtspecifieke standaarden voor %s:\n" + +#: plugins/sudoers/sudo_nss.c:325 +#, c-format +msgid "User %s may run the following commands on %s:\n" +msgstr "Gebruiker %s mag de volgende opdrachten uitvoeren op %s:\n" + +#: plugins/sudoers/sudo_nss.c:338 +#, c-format +msgid "User %s is not allowed to run sudo on %s.\n" +msgstr "Gebruiker %s mag geen sudo gebruiken op %s.\n" + +#: plugins/sudoers/sudoers.c:168 plugins/sudoers/testsudoers.c:247 +#: plugins/sudoers/visudo.c:233 plugins/sudoers/visudo.c:612 +#: plugins/sudoers/visudo.c:976 +msgid "unable to initialize sudoers default values" +msgstr "kan sudoers-standaardwaarden niet initialiseren" + +#: plugins/sudoers/sudoers.c:198 plugins/sudoers/sudoers.c:891 +msgid "problem with defaults entries" +msgstr "probleem met standaarditems" + +#: plugins/sudoers/sudoers.c:205 +msgid "no valid sudoers sources found, quitting" +msgstr "geen geldige sudoers-bronnen gevonden, afsluiten" + +#: plugins/sudoers/sudoers.c:244 +msgid "sudoers specifies that root is not allowed to sudo" +msgstr "sudoers geeft aan dat root geen sudo mag gebruiken" + +#: plugins/sudoers/sudoers.c:301 +msgid "you are not permitted to use the -C option" +msgstr "u heeft niet de rechten om de optie -C te gebruiken" + +#: plugins/sudoers/sudoers.c:390 +#, c-format +msgid "timestamp owner (%s): No such user" +msgstr "tijd-eigenaar (%s): Gebruiker bestaat niet" + +#: plugins/sudoers/sudoers.c:405 +msgid "no tty" +msgstr "geen terminal" + +#: plugins/sudoers/sudoers.c:406 +msgid "sorry, you must have a tty to run sudo" +msgstr "sorry, u moet een terminal hebben om sudo te gebruiken" + +#: plugins/sudoers/sudoers.c:468 +msgid "command in current directory" +msgstr "opdracht in huidige map" + +#: plugins/sudoers/sudoers.c:487 +#, fuzzy +msgid "sorry, you are not allowed set a command timeout" +msgstr "sorry, u mag de omgeving niet behouden" + +#: plugins/sudoers/sudoers.c:495 +msgid "sorry, you are not allowed to preserve the environment" +msgstr "sorry, u mag de omgeving niet behouden" + +#: plugins/sudoers/sudoers.c:836 +msgid "command too long" +msgstr "opdracht is te lang" + +#: plugins/sudoers/sudoers.c:948 +#, c-format +msgid "%s is not a regular file" +msgstr "%s in geen regulier bestand" + +#: plugins/sudoers/sudoers.c:952 plugins/sudoers/timestamp.c:217 toke.l:969 +#, c-format +msgid "%s is owned by uid %u, should be %u" +msgstr "%s is eigendom van gebruikersnummer %u, zou %u moeten zijn" + +#: plugins/sudoers/sudoers.c:956 toke.l:974 +#, c-format +msgid "%s is world writable" +msgstr "%s kan door iedereen worden geschreven" + +#: plugins/sudoers/sudoers.c:960 toke.l:977 +#, c-format +msgid "%s is owned by gid %u, should be %u" +msgstr "%s is eigendom van groepsnummer %u, zou %u moeten zijn" + +#: plugins/sudoers/sudoers.c:993 +#, fuzzy, c-format +msgid "only root can use \"-c %s\"" +msgstr "alleen root kan '-c %s' gebruiken" + +#: plugins/sudoers/sudoers.c:1012 +#, c-format +msgid "unknown login class: %s" +msgstr "onbekende loginklasse: %s" + +#: plugins/sudoers/sudoers.c:1095 plugins/sudoers/sudoers.c:1109 +#, c-format +msgid "unable to resolve host %s" +msgstr "kan computernaam %s niet herleiden" + +#: plugins/sudoers/sudoreplay.c:275 +#, c-format +msgid "invalid filter option: %s" +msgstr "ongeldige filteroptie: %s" + +#: plugins/sudoers/sudoreplay.c:288 +#, c-format +msgid "invalid max wait: %s" +msgstr "ongeldige maximale wachttijd: %s" + +#: plugins/sudoers/sudoreplay.c:300 +#, c-format +msgid "invalid speed factor: %s" +msgstr "ongeldige snelheidsfactor: %s" + +#: plugins/sudoers/sudoreplay.c:303 plugins/sudoers/visudo.c:186 +#, c-format +msgid "%s version %s\n" +msgstr "%s versie %s\n" + +#: plugins/sudoers/sudoreplay.c:335 +#, c-format +msgid "%s/%.2s/%.2s/%.2s/timing: %s" +msgstr "%s/%.2s/%.2s/%.2s/timing: %s" + +#: plugins/sudoers/sudoreplay.c:341 +#, c-format +msgid "%s/%s/timing: %s" +msgstr "%s/%s/timing: %s" + +#: plugins/sudoers/sudoreplay.c:357 +#, fuzzy, c-format +msgid "Replaying sudo session: %s" +msgstr "Bekijken van sudo sessie: %s\n" + +#: plugins/sudoers/sudoreplay.c:555 plugins/sudoers/sudoreplay.c:602 +#: plugins/sudoers/sudoreplay.c:804 plugins/sudoers/sudoreplay.c:894 +#: plugins/sudoers/sudoreplay.c:973 plugins/sudoers/sudoreplay.c:988 +#: plugins/sudoers/sudoreplay.c:995 plugins/sudoers/sudoreplay.c:1002 +#: plugins/sudoers/sudoreplay.c:1009 plugins/sudoers/sudoreplay.c:1016 +#: plugins/sudoers/sudoreplay.c:1162 +msgid "unable to add event to queue" +msgstr "kan gebeurtenis niet aan wachtrij toevoegen" + +#: plugins/sudoers/sudoreplay.c:670 +msgid "unable to set tty to raw mode" +msgstr "kan terminal niet instellen op rauwe modus" + +#: plugins/sudoers/sudoreplay.c:721 +#, c-format +msgid "Warning: your terminal is too small to properly replay the log.\n" +msgstr "Waarschuwing: uw terminal is te klein om de log goed op te bekijken.\n" + +#: plugins/sudoers/sudoreplay.c:722 +#, c-format +msgid "Log geometry is %d x %d, your terminal's geometry is %d x %d." +msgstr "Logverhouding is %d x %d, de verhouding van uw terminal is %d x %d." + +#: plugins/sudoers/sudoreplay.c:749 +msgid "Replay finished, press any key to restore the terminal." +msgstr "" + +#: plugins/sudoers/sudoreplay.c:782 +#, c-format +msgid "invalid timing file line: %s" +msgstr "ongeldige timingsbestandregel: %s" + +#: plugins/sudoers/sudoreplay.c:1196 plugins/sudoers/sudoreplay.c:1221 +#, c-format +msgid "ambiguous expression \"%s\"" +msgstr "dubbelzinnige expressie \"%s\"" + +#: plugins/sudoers/sudoreplay.c:1243 +msgid "unmatched ')' in expression" +msgstr "ongepaarde ')' in expressie" + +#: plugins/sudoers/sudoreplay.c:1247 +#, c-format +msgid "unknown search term \"%s\"" +msgstr "onbekende zoekterm \"%s\"" + +#: plugins/sudoers/sudoreplay.c:1262 +#, c-format +msgid "%s requires an argument" +msgstr "%s vereist een argument" + +#: plugins/sudoers/sudoreplay.c:1265 plugins/sudoers/sudoreplay.c:1645 +#, c-format +msgid "invalid regular expression: %s" +msgstr "ongeldige reguliere expressie: %s" + +#: plugins/sudoers/sudoreplay.c:1269 +#, c-format +msgid "could not parse date \"%s\"" +msgstr "kan datum niet ontleden \"%s\"" + +#: plugins/sudoers/sudoreplay.c:1278 +msgid "unmatched '(' in expression" +msgstr "ongepaarde '(' in expressie" + +#: plugins/sudoers/sudoreplay.c:1280 +msgid "illegal trailing \"or\"" +msgstr "ongeldige afsluitende \"or\"" + +#: plugins/sudoers/sudoreplay.c:1282 +msgid "illegal trailing \"!\"" +msgstr "ongeldige afsluitende \"!\"" + +#: plugins/sudoers/sudoreplay.c:1331 +#, c-format +msgid "unknown search type %d" +msgstr "onbekend zoektype %d" + +#: plugins/sudoers/sudoreplay.c:1369 +#, c-format +msgid "%s: invalid log file" +msgstr "%s: ongeldig logbestand" + +#: plugins/sudoers/sudoreplay.c:1387 +#, c-format +msgid "%s: time stamp field is missing" +msgstr "%s: tijdveld ontbreekt" + +#: plugins/sudoers/sudoreplay.c:1394 +#, c-format +msgid "%s: time stamp %s: %s" +msgstr "%s: tijdstempel %s: %s" + +#: plugins/sudoers/sudoreplay.c:1401 +#, c-format +msgid "%s: user field is missing" +msgstr "%s: gebruikersveld ontbreekt" + +#: plugins/sudoers/sudoreplay.c:1410 +#, c-format +msgid "%s: runas user field is missing" +msgstr "%s: runas-gebuikersveld ontbreekt" + +#: plugins/sudoers/sudoreplay.c:1419 +#, c-format +msgid "%s: runas group field is missing" +msgstr "%s: runas-groepveld ontbreekt" + +#: plugins/sudoers/sudoreplay.c:1825 +#, c-format +msgid "usage: %s [-hnR] [-d dir] [-m num] [-s num] ID\n" +msgstr "Gebruik: %s [-hnR] [-d map] [-m wachttijd] [-s snelheidsfactor] ID\n" + +#: plugins/sudoers/sudoreplay.c:1828 +#, c-format +msgid "usage: %s [-h] [-d dir] -l [search expression]\n" +msgstr "Gebruik: %s [-h] [-d map] -l [zoek-expressie]\n" + +#: plugins/sudoers/sudoreplay.c:1837 +#, c-format +msgid "" +"%s - replay sudo session logs\n" +"\n" +msgstr "" +"%s - sudo sessielogs bekijken\n" +"\n" + +#: plugins/sudoers/sudoreplay.c:1839 +msgid "" +"\n" +"Options:\n" +" -d, --directory=dir specify directory for session logs\n" +" -f, --filter=filter specify which I/O type(s) to display\n" +" -h, --help display help message and exit\n" +" -l, --list list available session IDs, with optional expression\n" +" -m, --max-wait=num max number of seconds to wait between events\n" +" -s, --speed=num speed up or slow down output\n" +" -V, --version display version information and exit" +msgstr "" +"\n" +"Opties:\n" +" -d, --directory=map map voor sessielogs opgeven\n" +" -f, --filter=filter opgeven welk type in-/uitvoer moet worden weergegeven\n" +" -h, --help geef help weer (dit bericht) en sluit af\n" +" -l, --list [expressie] som beschikbare sessienummers\n" +" die overeenkomen met de expressie op\n" +" -m, --max-wait=num wacht tussen gebeurtenissen maximaal m seconden\n" +" -s, --speed=num snelheid van uitvoer verhogen of verlagen\n" +" -V, --version geef versieinformatie weer en sluit af" + +#: plugins/sudoers/testsudoers.c:329 +msgid "\thost unmatched" +msgstr "\tcomputer komt niet overeen" + +#: plugins/sudoers/testsudoers.c:332 +msgid "" +"\n" +"Command allowed" +msgstr "" +"\n" +"Opdracht toegestaan" + +#: plugins/sudoers/testsudoers.c:333 +msgid "" +"\n" +"Command denied" +msgstr "" +"\n" +"Opdracht niet toegestaan" + +#: plugins/sudoers/testsudoers.c:333 +msgid "" +"\n" +"Command unmatched" +msgstr "" +"\n" +"Opdracht komt niet overeen" + +#: plugins/sudoers/timestamp.c:225 +#, c-format +msgid "%s is group writable" +msgstr "%s kan door groep worden gewijzigd" + +#: plugins/sudoers/timestamp.c:301 +#, c-format +msgid "unable to truncate time stamp file to %lld bytes" +msgstr "kan tijdstempelbestand niet inkorten naar %lld bytes" + +#: plugins/sudoers/timestamp.c:756 plugins/sudoers/timestamp.c:823 +#: plugins/sudoers/visudo.c:500 plugins/sudoers/visudo.c:506 +msgid "unable to read the clock" +msgstr "kan de klok niet lezen" + +#: plugins/sudoers/timestamp.c:770 +msgid "ignoring time stamp from the future" +msgstr "tijdstempel uit de toekomst wordt genegeerd" + +#: plugins/sudoers/timestamp.c:782 +#, c-format +msgid "time stamp too far in the future: %20.20s" +msgstr "tijd is te ver in de toekomst: %20.20s" + +#: plugins/sudoers/timestamp.c:877 +#, c-format +msgid "unable to lock time stamp file %s" +msgstr "kan tijdstempelbestand %s niet vergrendelen" + +#: plugins/sudoers/timestamp.c:921 plugins/sudoers/timestamp.c:941 +#, fuzzy, c-format +msgid "lecture status path too long: %s/%s" +msgstr "tijd voor pad te lang: %s" + +#: plugins/sudoers/visudo.c:188 +#, c-format +msgid "%s grammar version %d\n" +msgstr "%s grammaticaversie %d\n" + +#: plugins/sudoers/visudo.c:266 plugins/sudoers/visudo.c:667 +#, c-format +msgid "press return to edit %s: " +msgstr "Druk op Enter om %s te bewerken: " + +#: plugins/sudoers/visudo.c:331 +#, c-format +msgid "specified editor (%s) doesn't exist" +msgstr "opgegeven editor (%s) bestaat niet" + +#: plugins/sudoers/visudo.c:349 +#, c-format +msgid "no editor found (editor path = %s)" +msgstr "geen editor gevonden (editorpad = %s)" + +#: plugins/sudoers/visudo.c:459 plugins/sudoers/visudo.c:467 +msgid "write error" +msgstr "schrijffout" + +#: plugins/sudoers/visudo.c:513 +#, c-format +msgid "unable to stat temporary file (%s), %s unchanged" +msgstr "kan status van tijdelijk bestand (%s) niet vaststellen, %s ongewijzigd" + +#: plugins/sudoers/visudo.c:520 +#, c-format +msgid "zero length temporary file (%s), %s unchanged" +msgstr "tijdelijk bestand (%s) leeg, %s ongewijzigd" + +#: plugins/sudoers/visudo.c:526 +#, c-format +msgid "editor (%s) failed, %s unchanged" +msgstr "editor (%s) is mislukt, %s ongewijzigd" + +#: plugins/sudoers/visudo.c:548 +#, c-format +msgid "%s unchanged" +msgstr "%s ongewijzigd" + +#: plugins/sudoers/visudo.c:607 +#, c-format +msgid "unable to re-open temporary file (%s), %s unchanged." +msgstr "kan tijdelijk bestand (%s) niet openen, %s ongewijzigd." + +#: plugins/sudoers/visudo.c:619 +#, c-format +msgid "unabled to parse temporary file (%s), unknown error" +msgstr "kan tijdelijke bestand (%s) niet ontleden, onbekende fout" + +#: plugins/sudoers/visudo.c:656 +#, c-format +msgid "internal error, unable to find %s in list!" +msgstr "interne fout, kan %s niet in de lijst vinden!" + +#: plugins/sudoers/visudo.c:736 plugins/sudoers/visudo.c:745 +#, c-format +msgid "unable to set (uid, gid) of %s to (%u, %u)" +msgstr "kan %s niet wijzigen (gebruikers- of groepsnummer) naar (%u, %u)" + +#: plugins/sudoers/visudo.c:767 +#, c-format +msgid "%s and %s not on the same file system, using mv to rename" +msgstr "%s en %s niet op hetzelfde bestandssyteem, gebuikt mv om te hernoemen" + +#: plugins/sudoers/visudo.c:781 +#, c-format +msgid "command failed: '%s %s %s', %s unchanged" +msgstr "opdracht mislukt: '%s %s %s', %s ongewijzigd" + +#: plugins/sudoers/visudo.c:791 +#, c-format +msgid "error renaming %s, %s unchanged" +msgstr "fout bij hernoemen %s, %s ongewijzigd" + +#: plugins/sudoers/visudo.c:855 +msgid "What now? " +msgstr "Wat nu? " + +#: plugins/sudoers/visudo.c:869 +msgid "" +"Options are:\n" +" (e)dit sudoers file again\n" +" e(x)it without saving changes to sudoers file\n" +" (Q)uit and save changes to sudoers file (DANGER!)\n" +msgstr "" +"Opties zijn:\n" +" (e)dit sudoers bestand opnieuw\n" +" e(x)it zonder de wijzigingen op te slaan\n" +" (Q)uit en sla wijziging op in het sudoers bestand (GEVAAR!)\n" + +#: plugins/sudoers/visudo.c:915 +#, c-format +msgid "unable to run %s" +msgstr "kan %s niet uitvoeren" + +#: plugins/sudoers/visudo.c:945 +#, c-format +msgid "%s: wrong owner (uid, gid) should be (%u, %u)\n" +msgstr "%s: verkeerde eigenaar (gebruikers-, groepsnummer) zou moeten zijn (%u, %u)\n" + +#: plugins/sudoers/visudo.c:952 +#, c-format +msgid "%s: bad permissions, should be mode 0%o\n" +msgstr "%s: verkeerde toegangsrechten, zou modus 0%o moeten zijn\n" + +#: plugins/sudoers/visudo.c:981 plugins/sudoers/visudo_json.c:1021 +#, c-format +msgid "failed to parse %s file, unknown error" +msgstr "kan %s-bestand niet ontleden, onbekende fout" + +#: plugins/sudoers/visudo.c:997 plugins/sudoers/visudo_json.c:1032 +#, c-format +msgid "parse error in %s near line %d\n" +msgstr "fout bij ontleden van %s bij regel %d\n" + +#: plugins/sudoers/visudo.c:1000 plugins/sudoers/visudo_json.c:1035 +#, c-format +msgid "parse error in %s\n" +msgstr "fout bij ontleden van %s\n" + +#: plugins/sudoers/visudo.c:1008 plugins/sudoers/visudo.c:1015 +#, c-format +msgid "%s: parsed OK\n" +msgstr "%s: ontleden is geslaagd\n" + +#: plugins/sudoers/visudo.c:1062 +#, c-format +msgid "%s busy, try again later" +msgstr "%s bezig, probeer het later opnieuw" + +#: plugins/sudoers/visudo.c:1159 +#, fuzzy, c-format +msgid "Error: %s:%d cycle in %s \"%s\"" +msgstr "Fout: cyclus in %s '%s'" + +#: plugins/sudoers/visudo.c:1160 +#, fuzzy, c-format +msgid "Warning: %s:%d cycle in %s \"%s\"" +msgstr "Waarschuwing: cyclus in %s '%s'" + +#: plugins/sudoers/visudo.c:1164 +#, c-format +msgid "Error: %s:%d %s \"%s\" referenced but not defined" +msgstr "Fout: %s:%d %s \"%s\" wordt naar verwezen, maar is niet gedefinieerd" + +#: plugins/sudoers/visudo.c:1165 +#, c-format +msgid "Warning: %s:%d %s \"%s\" referenced but not defined" +msgstr "Waarschuwing: %s:%d %s \"%s\" wordt naar verwezen, maar is niet gedefinieerd" + +#: plugins/sudoers/visudo.c:1318 +#, fuzzy, c-format +msgid "Warning: %s:%d unused %s \"%s\"" +msgstr "Waarschuwing: %s '%s' wordt niet gebruikt" + +#: plugins/sudoers/visudo.c:1433 +#, c-format +msgid "" +"%s - safely edit the sudoers file\n" +"\n" +msgstr "" +"%s - bewerk het sudoersbestand voorzichtig\n" +"\n" + +#: plugins/sudoers/visudo.c:1435 +msgid "" +"\n" +"Options:\n" +" -c, --check check-only mode\n" +" -f, --file=sudoers specify sudoers file location\n" +" -h, --help display help message and exit\n" +" -q, --quiet less verbose (quiet) syntax error messages\n" +" -s, --strict strict syntax checking\n" +" -V, --version display version information and exit\n" +" -x, --export=output_file write sudoers in JSON format to output_file" +msgstr "" +"\n" +"Opties:\n" +" -c, --check alleen lezen modus\n" +" -f, --file=bestand geef lokatie van sudoersbestand op\n" +" -h, --help geef help weer (dit bericht) en sluit af\n" +" -q, --quiet minder uitgebreide syntactische fout berichten\n" +" -s, --strict stricte controle van syntaxis\n" +" -V, --verion geef versieinformatie weer en sluit af" + +#: plugins/sudoers/visudo_json.c:616 plugins/sudoers/visudo_json.c:651 +#, c-format +msgid "unknown defaults entry \"%s\"" +msgstr "onbekend standaarditem '%s'" + +#: plugins/sudoers/visudo_json.c:1007 +#, c-format +msgid "%s: input and output files must be different" +msgstr "%s: in- en uitvoerbestanden moeten verschillen" + +#: toke.l:943 +msgid "too many levels of includes" +msgstr "te veel niveaus van insluitingen" + +#~ msgid "sudo_ldap_conf_add_ports: out of space expanding hostbuf" +#~ msgstr "sudo_ldap_conf_add_ports: ruimte ontoereikend bij uitbreiden hostbuf" + +#~ msgid "sudo_ldap_parse_uri: out of space building hostbuf" +#~ msgstr "sudo_ldap_parse_uri: ruimte ontoereikend bij bouwen van hostbuf" + +#~ msgid "sudo_ldap_build_pass1 allocation mismatch" +#~ msgstr "sudo_ldap_build_pass1 reserveren mislukt" + +#~ msgid "timestamp path too long: %s/%s" +#~ msgstr "tijd voor pad te lang: %s/%s" + +#~ msgid "unable to stat editor (%s)" +#~ msgstr "kan status van editor (%s) niet verkrijgen" + +#~ msgid "Password:" +#~ msgstr "Wachtwoord:" + +#~ msgid "unable to setup authentication" +#~ msgstr "kan verificatie niet instellen" + +#~ msgid "invalid uri: %s" +#~ msgstr "ongeldige uri: %s" + +#~ msgid "unable to mix ldaps and starttls" +#~ msgstr "kan ldaps en starttls niet door elkaar gebruiken" + +#~ msgid "internal error: insufficient space for log line" +#~ msgstr "interne fout: onvoldoende ruimte voor logregel" + +#~ msgid "value out of range" +#~ msgstr "waarde buiten bereik" + +#~ msgid "writing to standard output" +#~ msgstr "naar standaarduitvoer schrijven" + +#~ msgid "too many parenthesized expressions, max %d" +#~ msgstr "te veel geneste expressies, maximum %d" + +#~ msgid "%s owned by uid %u, should be uid %u" +#~ msgstr "%s is van gebruikersnummer %u, zou gebruikersnummer %u moeten zijn" + +#~ msgid "%s writable by non-owner (0%o), should be mode 0700" +#~ msgstr "%s kan geschreven worden door niet-eigenaar (0%o), zou ingesteld moeten zijn op 0700" + +#~ msgid "%s exists but is not a regular file (0%o)" +#~ msgstr "%s bestaat maar is geen normaal bestand (0%o)" + +#~ msgid "%s writable by non-owner (0%o), should be mode 0600" +#~ msgstr "%s kan geschreven worden bij niet-eigenaar (0%o), zou ingesteld moeten zijn op 0600" + +#~ msgid "unable to remove %s, will reset to the epoch" +#~ msgstr "kan %s niet verwijderen, wordt geherinitialiseerd op de epoch" + +#~ msgid "fill_args: buffer overflow" +#~ msgstr "fill_args: stapeloverloop" + +#~ msgid "%s: unused %s_Alias %s" +#~ msgstr "%s: ongebruikte %s_Alias %s" + +#~ msgid ">>> %s: %s near line %d <<<" +#~ msgstr ">>> %s: %s bij regel %d <<<" + +#~ msgid "pam_chauthtok: %s" +#~ msgstr "pam_chauthtok: %s" + +#~ msgid "pam_authenticate: %s" +#~ msgstr "pam_authenticate: %s" + +#~ msgid "getaudit: failed" +#~ msgstr "getaudit: mislukt" + +#~ msgid "getauid failed" +#~ msgstr "getauid mislukt" + +#~ msgid "au_open: failed" +#~ msgstr "au_open: mislukt" + +#~ msgid "au_to_subject: failed" +#~ msgstr "au_to_subject: mislukt" + +#~ msgid "au_to_exec_args: failed" +#~ msgstr "au_to_exec_args: mislukt" + +#~ msgid "au_to_return32: failed" +#~ msgstr "au_to_return32: mislukt" + +#~ msgid "getauid: failed" +#~ msgstr "getauid: failed" + +#~ msgid "au_to_text: failed" +#~ msgstr "au_to_text: failed" + +#~ msgid "unable to set locale to \"%s\", using \"C\"" +#~ msgstr "kan taaldefinitie niet instellen op \"%s\", gebruikt wordt \"C\"" + +#~ msgid "" +#~ " Commands:\n" +#~ "\t" +#~ msgstr "" +#~ " Opdrachten:\n" +#~ "\t" + +#~ msgid "unable to cache uid %u (%s), already exists" +#~ msgstr "kan gebruikersnummer %u niet bufferen (%s), bestaat reeds" + +#~ msgid "unable to cache gid %u (%s), already exists" +#~ msgstr "kan groepsnummer %u niet bufferen (%s), bestaat reeds" + +#~ msgid "Unable to dlopen %s: %s" +#~ msgstr "Kan niet dlopen %s: %s" + +#~ msgid "unable to execute %s: %s" +#~ msgstr "kan %s niet uitvoeren: %s" + +#~ msgid "nanosleep: tv_sec %ld, tv_nsec %ld" +#~ msgstr "nanosleep: tv_sec %ld, tv_nsec %ld" + +#~ msgid "invalid regex: %s" +#~ msgstr "ongeldige reguliere expressie: %s" diff --git a/plugins/sudoers/po/pl.mo b/plugins/sudoers/po/pl.mo new file mode 100644 index 0000000..c3d0ed3 Binary files /dev/null and b/plugins/sudoers/po/pl.mo differ diff --git a/plugins/sudoers/po/pl.po b/plugins/sudoers/po/pl.po new file mode 100644 index 0000000..27d42e3 --- /dev/null +++ b/plugins/sudoers/po/pl.po @@ -0,0 +1,3796 @@ +# Polish translation for sudo/sudoers. +# This file is put in the public domain. +# Jakub Bogusz , 2011-2023. +# +msgid "" +msgstr "" +"Project-Id-Version: sudoers 1.9.13b2\n" +"Report-Msgid-Bugs-To: https://bugzilla.sudo.ws\n" +"POT-Creation-Date: 2023-01-24 13:11-0700\n" +"PO-Revision-Date: 2023-01-26 19:15+0100\n" +"Last-Translator: Jakub Bogusz \n" +"Language-Team: Polish \n" +"Language: pl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#: confstr.sh:1 gram.y:1220 plugins/sudoers/logging.c:866 +msgid "syntax error" +msgstr "błąd składni" + +#: confstr.sh:2 +msgid "%p's password: " +msgstr "Hasło użytkownika %p: " + +#: confstr.sh:3 +msgid "[sudo] password for %p: " +msgstr "[sudo] hasło użytkownika %p: " + +#: confstr.sh:4 +msgid "Password: " +msgstr "Hasło: " + +#: confstr.sh:5 +msgid "*** SECURITY information for %h ***" +msgstr "*** informacje dotyczące BEZPIECZEŃSTWA dla %h ***" + +#: confstr.sh:6 +msgid "Sorry, try again." +msgstr "Niestety, proszę spróbować ponownie." + +#: gram.y:237 gram.y:304 gram.y:313 gram.y:322 gram.y:332 gram.y:342 +#: gram.y:366 gram.y:393 gram.y:402 gram.y:410 gram.y:419 gram.y:428 +#: gram.y:502 gram.y:512 gram.y:524 gram.y:572 gram.y:581 gram.y:590 +#: gram.y:599 gram.y:731 gram.y:739 gram.y:750 gram.y:762 gram.y:781 +#: gram.y:944 gram.y:949 gram.y:957 gram.y:971 gram.y:977 gram.y:1099 +#: gram.y:1108 gram.y:1116 gram.y:1125 gram.y:1134 gram.y:1163 gram.y:1172 +#: gram.y:1180 gram.y:1280 gram.y:1410 gram.y:1777 gram.y:1827 +#: lib/eventlog/eventlog.c:235 lib/eventlog/eventlog.c:312 +#: lib/eventlog/eventlog.c:757 lib/eventlog/eventlog.c:834 +#: lib/eventlog/eventlog.c:1135 lib/iolog/iolog_filter.c:142 +#: lib/iolog/iolog_filter.c:202 lib/iolog/iolog_filter.c:233 +#: lib/iolog/iolog_json.c:150 lib/iolog/iolog_json.c:382 +#: lib/iolog/iolog_json.c:412 lib/iolog/iolog_legacy.c:100 +#: lib/iolog/iolog_legacy.c:111 lib/iolog/iolog_legacy.c:123 +#: lib/iolog/iolog_legacy.c:133 lib/iolog/iolog_legacy.c:139 +#: lib/iolog/iolog_loginfo.c:76 lib/iolog/iolog_loginfo.c:212 +#: logsrvd/iolog_writer.c:95 logsrvd/iolog_writer.c:100 +#: logsrvd/iolog_writer.c:134 logsrvd/iolog_writer.c:182 +#: logsrvd/iolog_writer.c:215 logsrvd/iolog_writer.c:225 +#: logsrvd/iolog_writer.c:254 logsrvd/iolog_writer.c:275 +#: logsrvd/iolog_writer.c:287 logsrvd/iolog_writer.c:297 +#: logsrvd/iolog_writer.c:307 logsrvd/iolog_writer.c:317 +#: logsrvd/iolog_writer.c:329 logsrvd/iolog_writer.c:364 +#: logsrvd/iolog_writer.c:370 logsrvd/iolog_writer.c:377 +#: logsrvd/iolog_writer.c:383 logsrvd/iolog_writer.c:567 +#: logsrvd/logsrv_util.c:69 logsrvd/logsrvd.c:301 logsrvd/logsrvd.c:310 +#: logsrvd/logsrvd.c:1050 logsrvd/logsrvd.c:1113 logsrvd/logsrvd.c:1582 +#: logsrvd/logsrvd.c:1587 logsrvd/logsrvd.c:1771 logsrvd/logsrvd.c:1988 +#: logsrvd/logsrvd_conf.c:357 logsrvd/logsrvd_conf.c:370 +#: logsrvd/logsrvd_conf.c:511 logsrvd/logsrvd_conf.c:534 +#: logsrvd/logsrvd_conf.c:538 logsrvd/logsrvd_conf.c:556 +#: logsrvd/logsrvd_conf.c:626 logsrvd/logsrvd_conf.c:650 +#: logsrvd/logsrvd_conf.c:678 logsrvd/logsrvd_conf.c:692 +#: logsrvd/logsrvd_conf.c:706 logsrvd/logsrvd_conf.c:720 +#: logsrvd/logsrvd_conf.c:734 logsrvd/logsrvd_conf.c:748 +#: logsrvd/logsrvd_conf.c:829 logsrvd/logsrvd_conf.c:1036 +#: logsrvd/logsrvd_conf.c:1053 logsrvd/logsrvd_conf.c:1448 +#: logsrvd/logsrvd_conf.c:1595 logsrvd/logsrvd_conf.c:1621 +#: logsrvd/logsrvd_conf.c:1633 logsrvd/logsrvd_conf.c:1640 +#: logsrvd/logsrvd_conf.c:1646 logsrvd/logsrvd_conf.c:1743 +#: logsrvd/logsrvd_journal.c:76 logsrvd/logsrvd_journal.c:216 +#: logsrvd/logsrvd_journal.c:217 logsrvd/logsrvd_journal.c:273 +#: logsrvd/logsrvd_journal.c:433 logsrvd/logsrvd_journal.c:435 +#: logsrvd/logsrvd_local.c:215 logsrvd/logsrvd_local.c:216 +#: logsrvd/logsrvd_local.c:278 logsrvd/logsrvd_local.c:279 +#: logsrvd/logsrvd_local.c:417 logsrvd/logsrvd_local.c:466 +#: logsrvd/logsrvd_local.c:467 logsrvd/logsrvd_local.c:472 +#: logsrvd/logsrvd_local.c:473 logsrvd/logsrvd_queue.c:159 +#: logsrvd/logsrvd_queue.c:189 logsrvd/logsrvd_queue.c:266 +#: logsrvd/logsrvd_relay.c:444 logsrvd/logsrvd_relay.c:743 +#: logsrvd/logsrvd_relay.c:850 logsrvd/sendlog.c:251 logsrvd/sendlog.c:260 +#: logsrvd/sendlog.c:291 logsrvd/sendlog.c:338 logsrvd/sendlog.c:615 +#: logsrvd/sendlog.c:1801 plugins/sudoers/audit.c:116 +#: plugins/sudoers/auth/bsdauth.c:150 plugins/sudoers/auth/kerb5.c:121 +#: plugins/sudoers/auth/kerb5.c:148 plugins/sudoers/auth/pam.c:687 +#: plugins/sudoers/auth/rfc1938.c:111 plugins/sudoers/auth/sia.c:59 +#: plugins/sudoers/check_aliases.c:168 plugins/sudoers/cvtsudoers.c:131 +#: plugins/sudoers/cvtsudoers.c:175 plugins/sudoers/cvtsudoers.c:192 +#: plugins/sudoers/cvtsudoers.c:203 plugins/sudoers/cvtsudoers.c:333 +#: plugins/sudoers/cvtsudoers.c:372 plugins/sudoers/cvtsudoers.c:392 +#: plugins/sudoers/cvtsudoers.c:537 plugins/sudoers/cvtsudoers.c:670 +#: plugins/sudoers/cvtsudoers.c:688 plugins/sudoers/cvtsudoers.c:862 +#: plugins/sudoers/cvtsudoers.c:870 plugins/sudoers/cvtsudoers.c:1365 +#: plugins/sudoers/cvtsudoers.c:1369 plugins/sudoers/cvtsudoers.c:1471 +#: plugins/sudoers/cvtsudoers_csv.c:183 plugins/sudoers/cvtsudoers_csv.c:246 +#: plugins/sudoers/cvtsudoers_json.c:76 plugins/sudoers/cvtsudoers_ldif.c:151 +#: plugins/sudoers/cvtsudoers_ldif.c:194 plugins/sudoers/cvtsudoers_ldif.c:235 +#: plugins/sudoers/cvtsudoers_ldif.c:300 plugins/sudoers/cvtsudoers_ldif.c:376 +#: plugins/sudoers/cvtsudoers_ldif.c:430 plugins/sudoers/cvtsudoers_ldif.c:438 +#: plugins/sudoers/cvtsudoers_ldif.c:449 plugins/sudoers/cvtsudoers_ldif.c:456 +#: plugins/sudoers/cvtsudoers_ldif.c:468 plugins/sudoers/cvtsudoers_ldif.c:481 +#: plugins/sudoers/cvtsudoers_ldif.c:489 plugins/sudoers/cvtsudoers_ldif.c:636 +#: plugins/sudoers/cvtsudoers_merge.c:47 plugins/sudoers/cvtsudoers_merge.c:52 +#: plugins/sudoers/cvtsudoers_merge.c:353 +#: plugins/sudoers/cvtsudoers_merge.c:399 +#: plugins/sudoers/cvtsudoers_merge.c:446 +#: plugins/sudoers/cvtsudoers_merge.c:467 +#: plugins/sudoers/cvtsudoers_merge.c:553 +#: plugins/sudoers/cvtsudoers_merge.c:564 +#: plugins/sudoers/cvtsudoers_merge.c:633 +#: plugins/sudoers/cvtsudoers_merge.c:1158 +#: plugins/sudoers/cvtsudoers_merge.c:1231 plugins/sudoers/defaults.c:434 +#: plugins/sudoers/defaults.c:658 plugins/sudoers/defaults.c:1019 +#: plugins/sudoers/defaults.c:1187 plugins/sudoers/editor.c:197 +#: plugins/sudoers/env.c:263 plugins/sudoers/exptilde.c:92 +#: plugins/sudoers/filedigest.c:54 plugins/sudoers/filedigest.c:70 +#: plugins/sudoers/gc.c:57 plugins/sudoers/group_plugin.c:212 +#: plugins/sudoers/interfaces.c:68 plugins/sudoers/iolog.c:268 +#: plugins/sudoers/iolog.c:668 plugins/sudoers/iolog.c:694 +#: plugins/sudoers/ldap.c:184 plugins/sudoers/ldap.c:466 +#: plugins/sudoers/ldap.c:757 plugins/sudoers/ldap.c:921 +#: plugins/sudoers/ldap.c:1337 plugins/sudoers/ldap.c:1763 +#: plugins/sudoers/ldap.c:1800 plugins/sudoers/ldap.c:2016 +#: plugins/sudoers/ldap.c:2117 plugins/sudoers/ldap.c:2133 +#: plugins/sudoers/ldap_conf.c:218 plugins/sudoers/ldap_conf.c:250 +#: plugins/sudoers/ldap_conf.c:302 plugins/sudoers/ldap_conf.c:338 +#: plugins/sudoers/ldap_conf.c:444 plugins/sudoers/ldap_conf.c:459 +#: plugins/sudoers/ldap_conf.c:564 plugins/sudoers/ldap_conf.c:597 +#: plugins/sudoers/ldap_conf.c:689 plugins/sudoers/ldap_conf.c:771 +#: plugins/sudoers/ldap_util.c:294 plugins/sudoers/ldap_util.c:301 +#: plugins/sudoers/ldap_util.c:614 plugins/sudoers/linux_audit.c:86 +#: plugins/sudoers/log_client.c:117 plugins/sudoers/log_client.c:402 +#: plugins/sudoers/log_client.c:715 plugins/sudoers/log_client.c:736 +#: plugins/sudoers/log_client.c:1415 plugins/sudoers/log_client.c:1536 +#: plugins/sudoers/log_client.c:1636 plugins/sudoers/log_client.c:1972 +#: plugins/sudoers/log_client.c:2031 plugins/sudoers/logging.c:110 +#: plugins/sudoers/logging.c:189 plugins/sudoers/logging.c:457 +#: plugins/sudoers/logging.c:672 plugins/sudoers/logging.c:809 +#: plugins/sudoers/match_command.c:335 plugins/sudoers/match_command.c:603 +#: plugins/sudoers/match_command.c:654 plugins/sudoers/match_command.c:728 +#: plugins/sudoers/match_command.c:776 plugins/sudoers/match_digest.c:93 +#: plugins/sudoers/parse.c:267 plugins/sudoers/parse.c:284 +#: plugins/sudoers/parse.c:303 plugins/sudoers/parse.c:322 +#: plugins/sudoers/parse.c:339 plugins/sudoers/parse.c:362 +#: plugins/sudoers/parse.c:373 plugins/sudoers/parse_ldif.c:153 +#: plugins/sudoers/parse_ldif.c:184 plugins/sudoers/parse_ldif.c:253 +#: plugins/sudoers/parse_ldif.c:261 plugins/sudoers/parse_ldif.c:266 +#: plugins/sudoers/parse_ldif.c:342 plugins/sudoers/parse_ldif.c:353 +#: plugins/sudoers/parse_ldif.c:380 plugins/sudoers/parse_ldif.c:397 +#: plugins/sudoers/parse_ldif.c:409 plugins/sudoers/parse_ldif.c:413 +#: plugins/sudoers/parse_ldif.c:427 plugins/sudoers/parse_ldif.c:484 +#: plugins/sudoers/parse_ldif.c:598 plugins/sudoers/parse_ldif.c:628 +#: plugins/sudoers/parse_ldif.c:653 plugins/sudoers/parse_ldif.c:711 +#: plugins/sudoers/parse_ldif.c:728 plugins/sudoers/parse_ldif.c:756 +#: plugins/sudoers/parse_ldif.c:763 plugins/sudoers/policy.c:626 +#: plugins/sudoers/policy.c:1033 plugins/sudoers/prompt.c:93 +#: plugins/sudoers/pwutil.c:199 plugins/sudoers/pwutil.c:270 +#: plugins/sudoers/pwutil.c:348 plugins/sudoers/pwutil.c:522 +#: plugins/sudoers/pwutil.c:587 plugins/sudoers/pwutil.c:659 +#: plugins/sudoers/pwutil.c:857 plugins/sudoers/pwutil.c:945 +#: plugins/sudoers/pwutil.c:993 plugins/sudoers/pwutil.c:1052 +#: plugins/sudoers/sssd.c:145 plugins/sudoers/sssd.c:185 +#: plugins/sudoers/sssd.c:414 plugins/sudoers/sssd.c:479 +#: plugins/sudoers/sssd.c:505 plugins/sudoers/sssd.c:568 +#: plugins/sudoers/sssd.c:761 plugins/sudoers/strvec_join.c:53 +#: plugins/sudoers/stubs.c:112 plugins/sudoers/stubs.c:120 +#: plugins/sudoers/sudoers.c:354 plugins/sudoers/sudoers.c:380 +#: plugins/sudoers/sudoers.c:447 plugins/sudoers/sudoers.c:464 +#: plugins/sudoers/sudoers.c:505 plugins/sudoers/sudoers.c:849 +#: plugins/sudoers/sudoers.c:902 plugins/sudoers/sudoers.c:1054 +#: plugins/sudoers/sudoers.c:1114 plugins/sudoers/sudoers.c:1369 +#: plugins/sudoers/sudoreplay.c:559 plugins/sudoers/sudoreplay.c:562 +#: plugins/sudoers/sudoreplay.c:1278 plugins/sudoers/sudoreplay.c:1334 +#: plugins/sudoers/sudoreplay.c:1530 plugins/sudoers/sudoreplay.c:1534 +#: plugins/sudoers/testsudoers.c:120 plugins/sudoers/testsudoers.c:224 +#: plugins/sudoers/testsudoers.c:241 plugins/sudoers/testsudoers.c:588 +#: plugins/sudoers/timestamp.c:451 plugins/sudoers/timestamp.c:495 +#: plugins/sudoers/timestamp.c:1017 plugins/sudoers/timestamp.c:1146 +#: plugins/sudoers/toke_util.c:78 plugins/sudoers/toke_util.c:106 +#: plugins/sudoers/toke_util.c:131 plugins/sudoers/toke_util.c:161 +#: plugins/sudoers/toke_util.c:200 plugins/sudoers/tsdump.c:123 +#: plugins/sudoers/visudo.c:150 plugins/sudoers/visudo.c:385 +#: plugins/sudoers/visudo.c:391 plugins/sudoers/visudo.c:502 +#: plugins/sudoers/visudo.c:1056 toke.l:1031 toke.l:1163 toke.l:1234 +msgid "unable to allocate memory" +msgstr "nie udało się przydzielić pamięci" + +#: gram.y:623 +msgid "a digest requires a path name" +msgstr "skrót wymaga nazwy pliku" + +#: gram.y:645 +msgid "values for \"CWD\" must start with a '/', '~', or '*'" +msgstr "wartości \"CWD\" muszą zaczynać się od '/', '~' lub '*'" + +#: gram.y:651 +msgid "\"CWD\" path too long" +msgstr "ścieżka \"CWD\" zbyt długa" + +#: gram.y:661 +msgid "values for \"CHROOT\" must start with a '/', '~', or '*'" +msgstr "wartości \"CHROOT\" muszą zaczynać się od '/', '~' lub '*'" + +#: gram.y:667 +msgid "\"CHROOT\" path too long" +msgstr "ścieżka \"CHROOT\" zbyt długa" + +#: gram.y:802 +#, c-format +msgid "syntax error, reserved word %s used as an alias name" +msgstr "błąd składni, słowo zastrzeżone %s użyte jako nazwa aliasu" + +#: gram.y:825 +msgid "invalid notbefore value" +msgstr "błędna wartość notbefore" + +#: gram.y:834 +msgid "invalid notafter value" +msgstr "błędna wartość notafter" + +#: gram.y:844 plugins/sudoers/policy.c:385 +msgid "timeout value too large" +msgstr "wartość limitu czasu zbyt duża" + +#: gram.y:846 plugins/sudoers/policy.c:387 +msgid "invalid timeout value" +msgstr "błędna wartość limitu czasu" + +#: gram.y:967 plugins/sudoers/sudoers.c:1072 +msgid "command too long" +msgstr "polecenie zbyt długie" + +#: gram.y:1224 plugins/sudoers/check_aliases.c:96 +#: plugins/sudoers/defaults.c:1276 +#, c-format +msgid "%s:%d:%d: %s\n" +msgstr "%s:%d:%d: %s\n" + +#: gram.y:1278 +#, c-format +msgid "Alias \"%s\" already defined" +msgstr "Alias \"%s\" jest już zdefiniowany" + +#: gram.y:1777 gram.y:1827 lib/eventlog/eventlog.c:235 +#: lib/eventlog/eventlog.c:757 lib/eventlog/eventlog.c:830 +#: lib/eventlog/eventlog.c:833 lib/eventlog/eventlog.c:1135 +#: lib/iolog/iolog_filter.c:142 lib/iolog/iolog_filter.c:202 +#: lib/iolog/iolog_filter.c:232 lib/iolog/iolog_json.c:150 +#: lib/iolog/iolog_json.c:381 lib/iolog/iolog_json.c:412 +#: lib/iolog/iolog_legacy.c:100 lib/iolog/iolog_legacy.c:111 +#: lib/iolog/iolog_legacy.c:123 lib/iolog/iolog_legacy.c:133 +#: lib/iolog/iolog_legacy.c:139 lib/iolog/iolog_loginfo.c:76 +#: lib/iolog/iolog_loginfo.c:212 logsrvd/iolog_writer.c:95 +#: logsrvd/iolog_writer.c:100 logsrvd/iolog_writer.c:134 +#: logsrvd/iolog_writer.c:171 logsrvd/iolog_writer.c:181 +#: logsrvd/iolog_writer.c:194 logsrvd/iolog_writer.c:214 +#: logsrvd/iolog_writer.c:224 logsrvd/iolog_writer.c:243 +#: logsrvd/iolog_writer.c:253 logsrvd/iolog_writer.c:264 +#: logsrvd/iolog_writer.c:274 logsrvd/iolog_writer.c:286 +#: logsrvd/iolog_writer.c:296 logsrvd/iolog_writer.c:306 +#: logsrvd/iolog_writer.c:316 logsrvd/iolog_writer.c:328 +#: logsrvd/iolog_writer.c:364 logsrvd/iolog_writer.c:370 +#: logsrvd/iolog_writer.c:377 logsrvd/iolog_writer.c:383 +#: logsrvd/iolog_writer.c:567 logsrvd/logsrv_util.c:69 logsrvd/logsrvd.c:301 +#: logsrvd/logsrvd.c:310 logsrvd/logsrvd.c:453 logsrvd/logsrvd.c:490 +#: logsrvd/logsrvd.c:522 logsrvd/logsrvd.c:576 logsrvd/logsrvd.c:611 +#: logsrvd/logsrvd.c:660 logsrvd/logsrvd.c:696 logsrvd/logsrvd.c:732 +#: logsrvd/logsrvd.c:1124 logsrvd/logsrvd.c:1439 logsrvd/logsrvd.c:1446 +#: logsrvd/logsrvd.c:1582 logsrvd/logsrvd.c:1587 logsrvd/logsrvd.c:1771 +#: logsrvd/logsrvd.c:1988 logsrvd/logsrvd_conf.c:357 +#: logsrvd/logsrvd_conf.c:370 logsrvd/logsrvd_conf.c:511 +#: logsrvd/logsrvd_conf.c:534 logsrvd/logsrvd_conf.c:538 +#: logsrvd/logsrvd_conf.c:556 logsrvd/logsrvd_conf.c:626 +#: logsrvd/logsrvd_conf.c:649 logsrvd/logsrvd_conf.c:678 +#: logsrvd/logsrvd_conf.c:692 logsrvd/logsrvd_conf.c:706 +#: logsrvd/logsrvd_conf.c:720 logsrvd/logsrvd_conf.c:734 +#: logsrvd/logsrvd_conf.c:748 logsrvd/logsrvd_conf.c:829 +#: logsrvd/logsrvd_conf.c:1036 logsrvd/logsrvd_conf.c:1053 +#: logsrvd/logsrvd_conf.c:1448 logsrvd/logsrvd_conf.c:1595 +#: logsrvd/logsrvd_conf.c:1621 logsrvd/logsrvd_conf.c:1633 +#: logsrvd/logsrvd_conf.c:1640 logsrvd/logsrvd_conf.c:1646 +#: logsrvd/logsrvd_conf.c:1742 logsrvd/logsrvd_journal.c:76 +#: logsrvd/logsrvd_journal.c:125 logsrvd/logsrvd_journal.c:216 +#: logsrvd/logsrvd_journal.c:246 logsrvd/logsrvd_journal.c:250 +#: logsrvd/logsrvd_journal.c:258 logsrvd/logsrvd_journal.c:281 +#: logsrvd/logsrvd_journal.c:285 logsrvd/logsrvd_journal.c:433 +#: logsrvd/logsrvd_local.c:215 logsrvd/logsrvd_local.c:278 +#: logsrvd/logsrvd_local.c:466 logsrvd/logsrvd_local.c:472 +#: logsrvd/logsrvd_local.c:491 logsrvd/logsrvd_queue.c:158 +#: logsrvd/logsrvd_queue.c:189 logsrvd/logsrvd_queue.c:266 +#: logsrvd/sendlog.c:251 logsrvd/sendlog.c:260 logsrvd/sendlog.c:291 +#: logsrvd/sendlog.c:338 logsrvd/sendlog.c:615 logsrvd/sendlog.c:1503 +#: logsrvd/sendlog.c:1510 logsrvd/sendlog.c:1733 logsrvd/sendlog.c:1801 +#: logsrvd/tls_init.c:305 logsrvd/tls_init.c:329 logsrvd/tls_init.c:340 +#: plugins/sudoers/audit.c:116 plugins/sudoers/auth/pam.c:502 +#: plugins/sudoers/auth/pam.c:687 plugins/sudoers/auth/rfc1938.c:111 +#: plugins/sudoers/check_aliases.c:168 plugins/sudoers/cvtsudoers.c:131 +#: plugins/sudoers/cvtsudoers.c:174 plugins/sudoers/cvtsudoers.c:191 +#: plugins/sudoers/cvtsudoers.c:202 plugins/sudoers/cvtsudoers.c:332 +#: plugins/sudoers/cvtsudoers.c:536 plugins/sudoers/cvtsudoers.c:669 +#: plugins/sudoers/cvtsudoers.c:687 plugins/sudoers/cvtsudoers.c:862 +#: plugins/sudoers/cvtsudoers.c:869 plugins/sudoers/cvtsudoers.c:1365 +#: plugins/sudoers/cvtsudoers.c:1369 plugins/sudoers/cvtsudoers.c:1471 +#: plugins/sudoers/cvtsudoers_csv.c:182 plugins/sudoers/cvtsudoers_csv.c:245 +#: plugins/sudoers/cvtsudoers_json.c:75 plugins/sudoers/cvtsudoers_ldif.c:150 +#: plugins/sudoers/cvtsudoers_ldif.c:193 plugins/sudoers/cvtsudoers_ldif.c:234 +#: plugins/sudoers/cvtsudoers_ldif.c:299 plugins/sudoers/cvtsudoers_ldif.c:375 +#: plugins/sudoers/cvtsudoers_ldif.c:429 plugins/sudoers/cvtsudoers_ldif.c:437 +#: plugins/sudoers/cvtsudoers_ldif.c:448 plugins/sudoers/cvtsudoers_ldif.c:455 +#: plugins/sudoers/cvtsudoers_ldif.c:467 plugins/sudoers/cvtsudoers_ldif.c:480 +#: plugins/sudoers/cvtsudoers_ldif.c:488 plugins/sudoers/cvtsudoers_ldif.c:635 +#: plugins/sudoers/cvtsudoers_merge.c:47 plugins/sudoers/cvtsudoers_merge.c:51 +#: plugins/sudoers/cvtsudoers_merge.c:353 +#: plugins/sudoers/cvtsudoers_merge.c:399 +#: plugins/sudoers/cvtsudoers_merge.c:445 +#: plugins/sudoers/cvtsudoers_merge.c:466 +#: plugins/sudoers/cvtsudoers_merge.c:553 +#: plugins/sudoers/cvtsudoers_merge.c:561 +#: plugins/sudoers/cvtsudoers_merge.c:564 +#: plugins/sudoers/cvtsudoers_merge.c:630 +#: plugins/sudoers/cvtsudoers_merge.c:633 +#: plugins/sudoers/cvtsudoers_merge.c:1157 +#: plugins/sudoers/cvtsudoers_merge.c:1231 plugins/sudoers/defaults.c:434 +#: plugins/sudoers/defaults.c:658 plugins/sudoers/defaults.c:1019 +#: plugins/sudoers/defaults.c:1187 plugins/sudoers/editor.c:197 +#: plugins/sudoers/env.c:263 plugins/sudoers/exptilde.c:92 +#: plugins/sudoers/filedigest.c:54 plugins/sudoers/filedigest.c:70 +#: plugins/sudoers/gc.c:57 plugins/sudoers/group_plugin.c:211 +#: plugins/sudoers/interfaces.c:68 plugins/sudoers/iolog.c:268 +#: plugins/sudoers/iolog.c:668 plugins/sudoers/iolog.c:694 +#: plugins/sudoers/ldap.c:184 plugins/sudoers/ldap.c:466 +#: plugins/sudoers/ldap.c:757 plugins/sudoers/ldap.c:921 +#: plugins/sudoers/ldap.c:1337 plugins/sudoers/ldap.c:1763 +#: plugins/sudoers/ldap.c:1800 plugins/sudoers/ldap.c:2016 +#: plugins/sudoers/ldap.c:2117 plugins/sudoers/ldap.c:2133 +#: plugins/sudoers/ldap_conf.c:218 plugins/sudoers/ldap_conf.c:250 +#: plugins/sudoers/ldap_conf.c:302 plugins/sudoers/ldap_conf.c:338 +#: plugins/sudoers/ldap_conf.c:444 plugins/sudoers/ldap_conf.c:459 +#: plugins/sudoers/ldap_conf.c:564 plugins/sudoers/ldap_conf.c:597 +#: plugins/sudoers/ldap_conf.c:688 plugins/sudoers/ldap_conf.c:771 +#: plugins/sudoers/ldap_util.c:293 plugins/sudoers/ldap_util.c:300 +#: plugins/sudoers/ldap_util.c:614 plugins/sudoers/linux_audit.c:86 +#: plugins/sudoers/log_client.c:117 plugins/sudoers/log_client.c:228 +#: plugins/sudoers/log_client.c:250 plugins/sudoers/log_client.c:264 +#: plugins/sudoers/log_client.c:402 plugins/sudoers/log_client.c:715 +#: plugins/sudoers/log_client.c:736 plugins/sudoers/log_client.c:1415 +#: plugins/sudoers/log_client.c:1536 plugins/sudoers/log_client.c:1636 +#: plugins/sudoers/log_client.c:1972 plugins/sudoers/log_client.c:2031 +#: plugins/sudoers/logging.c:110 plugins/sudoers/logging.c:188 +#: plugins/sudoers/logging.c:189 plugins/sudoers/logging.c:457 +#: plugins/sudoers/logging.c:672 plugins/sudoers/logging.c:809 +#: plugins/sudoers/logging.c:880 plugins/sudoers/logging.c:892 +#: plugins/sudoers/match_command.c:334 plugins/sudoers/match_command.c:602 +#: plugins/sudoers/match_command.c:653 plugins/sudoers/match_command.c:728 +#: plugins/sudoers/match_command.c:775 plugins/sudoers/match_digest.c:93 +#: plugins/sudoers/parse.c:266 plugins/sudoers/parse.c:283 +#: plugins/sudoers/parse.c:302 plugins/sudoers/parse.c:321 +#: plugins/sudoers/parse.c:338 plugins/sudoers/parse.c:361 +#: plugins/sudoers/parse.c:372 plugins/sudoers/parse_ldif.c:152 +#: plugins/sudoers/parse_ldif.c:183 plugins/sudoers/parse_ldif.c:252 +#: plugins/sudoers/parse_ldif.c:260 plugins/sudoers/parse_ldif.c:265 +#: plugins/sudoers/parse_ldif.c:341 plugins/sudoers/parse_ldif.c:352 +#: plugins/sudoers/parse_ldif.c:379 plugins/sudoers/parse_ldif.c:396 +#: plugins/sudoers/parse_ldif.c:408 plugins/sudoers/parse_ldif.c:412 +#: plugins/sudoers/parse_ldif.c:426 plugins/sudoers/parse_ldif.c:484 +#: plugins/sudoers/parse_ldif.c:598 plugins/sudoers/parse_ldif.c:627 +#: plugins/sudoers/parse_ldif.c:652 plugins/sudoers/parse_ldif.c:710 +#: plugins/sudoers/parse_ldif.c:727 plugins/sudoers/parse_ldif.c:755 +#: plugins/sudoers/parse_ldif.c:762 plugins/sudoers/policy.c:154 +#: plugins/sudoers/policy.c:163 plugins/sudoers/policy.c:172 +#: plugins/sudoers/policy.c:201 plugins/sudoers/policy.c:370 +#: plugins/sudoers/policy.c:385 plugins/sudoers/policy.c:387 +#: plugins/sudoers/policy.c:425 plugins/sudoers/policy.c:434 +#: plugins/sudoers/policy.c:482 plugins/sudoers/policy.c:492 +#: plugins/sudoers/policy.c:501 plugins/sudoers/policy.c:510 +#: plugins/sudoers/policy.c:519 plugins/sudoers/policy.c:626 +#: plugins/sudoers/policy.c:1033 plugins/sudoers/prompt.c:93 +#: plugins/sudoers/pwutil.c:199 plugins/sudoers/pwutil.c:270 +#: plugins/sudoers/pwutil.c:348 plugins/sudoers/pwutil.c:522 +#: plugins/sudoers/pwutil.c:587 plugins/sudoers/pwutil.c:659 +#: plugins/sudoers/pwutil.c:857 plugins/sudoers/pwutil.c:945 +#: plugins/sudoers/pwutil.c:993 plugins/sudoers/pwutil.c:1052 +#: plugins/sudoers/set_perms.c:363 plugins/sudoers/set_perms.c:706 +#: plugins/sudoers/set_perms.c:1073 plugins/sudoers/set_perms.c:1380 +#: plugins/sudoers/set_perms.c:1549 plugins/sudoers/sssd.c:144 +#: plugins/sudoers/sssd.c:185 plugins/sudoers/sssd.c:414 +#: plugins/sudoers/sssd.c:479 plugins/sudoers/sssd.c:505 +#: plugins/sudoers/sssd.c:568 plugins/sudoers/sssd.c:761 +#: plugins/sudoers/strvec_join.c:53 plugins/sudoers/stubs.c:112 +#: plugins/sudoers/stubs.c:120 plugins/sudoers/sudoers.c:354 +#: plugins/sudoers/sudoers.c:380 plugins/sudoers/sudoers.c:447 +#: plugins/sudoers/sudoers.c:464 plugins/sudoers/sudoers.c:505 +#: plugins/sudoers/sudoers.c:849 plugins/sudoers/sudoers.c:902 +#: plugins/sudoers/sudoers.c:1054 plugins/sudoers/sudoers.c:1114 +#: plugins/sudoers/sudoers.c:1369 plugins/sudoers/sudoreplay.c:559 +#: plugins/sudoers/sudoreplay.c:562 plugins/sudoers/sudoreplay.c:1278 +#: plugins/sudoers/sudoreplay.c:1334 plugins/sudoers/sudoreplay.c:1530 +#: plugins/sudoers/sudoreplay.c:1534 plugins/sudoers/testsudoers.c:120 +#: plugins/sudoers/testsudoers.c:224 plugins/sudoers/testsudoers.c:241 +#: plugins/sudoers/testsudoers.c:588 plugins/sudoers/timestamp.c:451 +#: plugins/sudoers/timestamp.c:495 plugins/sudoers/timestamp.c:1017 +#: plugins/sudoers/timestamp.c:1146 plugins/sudoers/toke_util.c:78 +#: plugins/sudoers/toke_util.c:106 plugins/sudoers/toke_util.c:131 +#: plugins/sudoers/toke_util.c:160 plugins/sudoers/toke_util.c:200 +#: plugins/sudoers/tsdump.c:123 plugins/sudoers/visudo.c:150 +#: plugins/sudoers/visudo.c:385 plugins/sudoers/visudo.c:391 +#: plugins/sudoers/visudo.c:502 plugins/sudoers/visudo.c:1056 toke.l:1031 +#: toke.l:1163 toke.l:1226 toke.l:1234 +#, c-format +msgid "%s: %s" +msgstr "%s: %s" + +#: lib/eventlog/eventlog.c:303 +#, c-format +msgid "unable to dup stdin: %m" +msgstr "nie udało się wykonać dup na stdin: %m" + +#: lib/eventlog/eventlog.c:345 +#, c-format +msgid "unable to execute %s: %m" +msgstr "nie udało się wywołać %s: %m" + +#: lib/eventlog/eventlog.c:393 plugins/sudoers/auth/aix_auth.c:198 +msgid "unable to fork" +msgstr "nie udało się wykonać fork" + +#: lib/eventlog/eventlog.c:403 lib/eventlog/eventlog.c:468 +#, c-format +msgid "unable to fork: %m" +msgstr "nie udało się wykonać fork: %m" + +#: lib/eventlog/eventlog.c:458 +#, c-format +msgid "unable to open pipe: %m" +msgstr "nie udało się otworzyć potoku: %m" + +#: lib/eventlog/eventlog.c:960 +#, c-format +msgid "%8s : %s" +msgstr "%8s : %s" + +#: lib/eventlog/eventlog.c:989 +#, c-format +msgid "%8s : (command continued) %s" +msgstr "%8s : (kontynuacja polecenia) %s" + +#: lib/iolog/iolog_filter.c:133 plugins/sudoers/defaults.c:1242 +#: plugins/sudoers/sudoreplay.c:1290 plugins/sudoers/sudoreplay.c:1586 +#, c-format +msgid "invalid regular expression \"%s\": %s" +msgstr "błędne wyrażenie regularne \"%s\": %s" + +#: lib/iolog/iolog_json.c:140 +#, c-format +msgid "expected JSON_STRING, got %d" +msgstr "nieoczekiwany JSON_STRING, otrzymano %d" + +#: lib/iolog/iolog_json.c:145 +msgid "JSON_ARRAY too large" +msgstr "JSON_ARRAY zbyt duża" + +#: lib/iolog/iolog_json.c:404 +msgid "missing double quote in name" +msgstr "brak podwójnego cudzysłowu w nazwie" + +#: lib/iolog/iolog_json.c:511 +msgid "missing JSON_OBJECT" +msgstr "brakujący JSON_OBJECT" + +#: lib/iolog/iolog_json.c:515 +#, c-format +msgid "expected JSON_OBJECT, got %d" +msgstr "oczekiwany JSON_OBJECT, otrzymano %d" + +#: lib/iolog/iolog_json.c:632 +#, c-format +msgid "json stack exhausted (max %u frames)" +msgstr "stos json wyczerpany (maksimum %u ramek)" + +#: lib/iolog/iolog_json.c:706 +msgid "objects must consist of name:value pairs" +msgstr "obiekty muszą składać się z kluczy nazwa:wartość" + +#: lib/iolog/iolog_json.c:711 lib/iolog/iolog_json.c:742 +#: lib/iolog/iolog_json.c:786 lib/iolog/iolog_json.c:808 +#: lib/iolog/iolog_json.c:830 lib/iolog/iolog_json.c:852 +#: lib/iolog/iolog_json.c:874 +msgid "missing separator between values" +msgstr "brak separatora między wartościami" + +#: lib/iolog/iolog_json.c:726 lib/iolog/iolog_json.c:900 +msgid "unmatched close brace" +msgstr "brak klamry zamykającej" + +#: lib/iolog/iolog_json.c:737 +msgid "unexpected array" +msgstr "nieoczekiwana tablica" + +#: lib/iolog/iolog_json.c:757 lib/iolog/iolog_json.c:903 +msgid "unmatched close bracket" +msgstr "brak nawiasu zamykającego" + +#: lib/iolog/iolog_json.c:768 +msgid "unexpected string" +msgstr "nieoczekiwany łańcuch" + +#: lib/iolog/iolog_json.c:779 +msgid "missing colon after name" +msgstr "brak dwukropka po nazwie" + +#: lib/iolog/iolog_json.c:800 lib/iolog/iolog_json.c:822 +msgid "unexpected boolean" +msgstr "nieoczekiwana wartość logiczna" + +#: lib/iolog/iolog_json.c:844 +msgid "unexpected null" +msgstr "nieoczekiwana wartość pusta" + +#: lib/iolog/iolog_json.c:865 +msgid "unexpected number" +msgstr "nieoczekiwana liczba" + +#: lib/iolog/iolog_json.c:912 +msgid "parse error" +msgstr "błąd składni" + +#: lib/iolog/iolog_legacy.c:65 +#, c-format +msgid "%s: invalid log file" +msgstr "%s: błędny plik logu" + +#: lib/iolog/iolog_legacy.c:83 +#, c-format +msgid "%s: time stamp field is missing" +msgstr "%s: brak pola znacznika czasu" + +#: lib/iolog/iolog_legacy.c:89 +#, c-format +msgid "%s: time stamp %s: %s" +msgstr "%s: znacznik czasu %s: %s" + +#: lib/iolog/iolog_legacy.c:96 +#, c-format +msgid "%s: user field is missing" +msgstr "%s: brak pola z użytkownikiem" + +#: lib/iolog/iolog_legacy.c:107 +#, c-format +msgid "%s: runas user field is missing" +msgstr "%s: brak pola z użytkownikiem runas" + +#: lib/iolog/iolog_legacy.c:118 +#, c-format +msgid "%s: runas group field is missing" +msgstr "%s: brak pola z grupą runas" + +#: lib/iolog/iolog_mkdirs.c:89 +#, c-format +msgid "%s exists but is not a directory (0%o)" +msgstr "%s istnieje, ale nie jest katalogiem (0%o)" + +#: lib/iolog/iolog_mkdirs.c:123 lib/iolog/iolog_mkdtemp.c:79 +#: logsrvd/iolog_writer.c:781 plugins/sudoers/timestamp.c:209 +#, c-format +msgid "unable to mkdir %s" +msgstr "nie udało się wykonać mkdir %s" + +#: lib/iolog/iolog_mkdtemp.c:84 plugins/sudoers/visudo.c:757 +#: plugins/sudoers/visudo.c:791 plugins/sudoers/visudo.c:797 +#, c-format +msgid "unable to change mode of %s to 0%o" +msgstr "nie udało się zmienić uprawnień %s na 0%o" + +#: lib/iolog/iolog_timing.c:261 +#, c-format +msgid "error reading timing file: %s" +msgstr "błąd podczas czytania pliku czasu: %s" + +#: lib/iolog/iolog_timing.c:268 +#, c-format +msgid "invalid timing file line: %s" +msgstr "błędna linia pliku czasu: %s" + +#: logsrvd/iolog_writer.c:65 +#, c-format +msgid "%s: protocol error: NULL key" +msgstr "%s: błąd protokołu: klucz NULL" + +#: logsrvd/iolog_writer.c:69 +#, c-format +msgid "%s: protocol error: wrong type for %s" +msgstr "%s: błąd protokołu: niewłaściwy typ dla %s" + +#: logsrvd/iolog_writer.c:74 logsrvd/logsrvd_local.c:109 +#: logsrvd/logsrvd_local.c:123 logsrvd/logsrvd_local.c:131 +#: logsrvd/logsrvd_local.c:149 +#, c-format +msgid "%s: protocol error: NULL value found in %s" +msgstr "%s: błąd protokołu: napotkano wartość NULL w %s" + +#: logsrvd/iolog_writer.c:141 plugins/sudoers/logging.c:980 +#: plugins/sudoers/policy.c:593 +msgid "unable to generate UUID" +msgstr "nie udało się wygenerować UUID-a" + +#: logsrvd/iolog_writer.c:341 logsrvd/iolog_writer.c:346 +#: logsrvd/iolog_writer.c:351 logsrvd/iolog_writer.c:356 +#, c-format +msgid "%s: protocol error: %s missing from AcceptMessage" +msgstr "%s: błąd protokołu: brak %s w AcceptMessage" + +#: logsrvd/iolog_writer.c:417 +#, c-format +msgid "%s: unable to format session id" +msgstr "%s: nie udało się sformatować id sesji" + +#: logsrvd/iolog_writer.c:431 logsrvd/iolog_writer.c:445 +#: logsrvd/iolog_writer.c:459 logsrvd/iolog_writer.c:474 +#: logsrvd/iolog_writer.c:488 logsrvd/iolog_writer.c:502 +#, c-format +msgid "%s: %s is not set" +msgstr "%s: %s nie jest ustawiony" + +#: logsrvd/iolog_writer.c:538 logsrvd/iolog_writer.c:545 +#, c-format +msgid "unable to expand iolog path %s" +msgstr "nie udało się rozwinąć ścieżki iologu %s" + +#: logsrvd/iolog_writer.c:563 +#, c-format +msgid "unable to create iolog path %s" +msgstr "nie udało się utworzyć ścieżki iologu %s" + +#: logsrvd/iolog_writer.c:593 +#, c-format +msgid "invalid iofd %d" +msgstr "błędny iofd %d" + +#: logsrvd/iolog_writer.c:613 +#, c-format +msgid "error closing iofd %d: %s" +msgstr "błąd zamykania iofd %d: %s" + +#: logsrvd/iolog_writer.c:633 +#, c-format +msgid "error flushing iofd %d: %s" +msgstr "błąd opróżniania bufora iofd %d: %s" + +#: logsrvd/iolog_writer.c:751 +#, c-format +msgid "invalid I/O log %s: %s referenced but not present" +msgstr "błędny log we/wy %s: %s użyty, ale nie zdefiniowany" + +#: logsrvd/iolog_writer.c:763 logsrvd/logsrvd_journal.c:385 +#, c-format +msgid "%s: unable to find resume point [%lld, %ld]" +msgstr "%s: nie udało się odnaleźć punktu wznowienia [%lld, %ld]" + +#: logsrvd/iolog_writer.c:785 logsrvd/logsrvd_journal.c:428 +#: logsrvd/logsrvd_queue.c:115 logsrvd/tls_init.c:256 +#: plugins/sudoers/check.c:292 plugins/sudoers/cvtsudoers.c:730 +#: plugins/sudoers/cvtsudoers.c:751 plugins/sudoers/cvtsudoers.c:1431 +#: plugins/sudoers/cvtsudoers_csv.c:695 plugins/sudoers/cvtsudoers_json.c:898 +#: plugins/sudoers/cvtsudoers_ldif.c:709 plugins/sudoers/sudoers.c:1152 +#: plugins/sudoers/sudoers.c:1182 plugins/sudoers/sudoreplay.c:1496 +#: plugins/sudoers/timestamp.c:460 plugins/sudoers/tsdump.c:128 +#: plugins/sudoers/visudo.c:975 +#, c-format +msgid "unable to open %s" +msgstr "nie udało się otworzyć %s" + +#: logsrvd/iolog_writer.c:797 logsrvd/logsrv_util.c:105 +#: logsrvd/logsrv_util.c:112 plugins/sudoers/sudoreplay.c:355 +#: plugins/sudoers/sudoreplay.c:361 +#, c-format +msgid "unable to open %s/%s" +msgstr "nie udało się otworzyć %s/%s" + +#: logsrvd/iolog_writer.c:810 +#, c-format +msgid "unable to copy %s/%s to %s/%s: %s" +msgstr "nie udało się skopiować %s/%s do %s/%s: %s" + +#: logsrvd/iolog_writer.c:839 logsrvd/logsrvd_journal.c:198 +#, c-format +msgid "unable to rename %s to %s" +msgstr "nie udało się zmienić nazwy %s na %s" + +#: logsrvd/logsrv_util.c:147 logsrvd/logsrv_util.c:176 +#, c-format +msgid "%s/%s: unable to find resume point [%lld, %ld]" +msgstr "%s/%s: nie udało się odnaleźć punktu wznowienia [%lld, %ld]" + +#: logsrvd/logsrv_util.c:159 +#, c-format +msgid "missing I/O log file %s/%s" +msgstr "brak pliku logu we/wy %s/%s" + +#: logsrvd/logsrv_util.c:166 +#, c-format +msgid "%s/%s: unable to seek forward %zu" +msgstr "%s/%s: nie udało przesunąć %zu w przód" + +#: logsrvd/logsrvd.c:271 logsrvd/logsrvd_queue.c:135 +msgid "unable to connect to relay" +msgstr "nie udało się połączyć z przekaźnikiem" + +#: logsrvd/logsrvd.c:330 logsrvd/logsrvd_relay.c:842 +#, c-format +msgid "server message too large: %zu" +msgstr "komunikat serwera zbyt duży: %zu" + +#: logsrvd/logsrvd.c:422 logsrvd/logsrvd.c:545 logsrvd/logsrvd.c:631 +#: logsrvd/logsrvd.c:873 logsrvd/logsrvd.c:887 logsrvd/logsrvd.c:1049 +#: logsrvd/logsrvd.c:1174 logsrvd/logsrvd.c:1347 logsrvd/logsrvd.c:1365 +#: logsrvd/logsrvd.c:1464 logsrvd/logsrvd.c:1589 logsrvd/logsrvd.c:1773 +#: logsrvd/logsrvd_journal.c:497 logsrvd/logsrvd_local.c:238 +#: logsrvd/logsrvd_queue.c:164 logsrvd/logsrvd_relay.c:172 +#: logsrvd/logsrvd_relay.c:249 logsrvd/logsrvd_relay.c:253 +#: logsrvd/logsrvd_relay.c:389 logsrvd/logsrvd_relay.c:581 +#: logsrvd/logsrvd_relay.c:742 logsrvd/logsrvd_relay.c:1131 +#: logsrvd/sendlog.c:1291 logsrvd/tls_client.c:136 logsrvd/tls_client.c:152 +#: logsrvd/tls_client.c:216 plugins/sudoers/audit.c:278 +#: plugins/sudoers/iolog.c:1031 plugins/sudoers/iolog.c:1164 +#: plugins/sudoers/iolog.c:1262 plugins/sudoers/log_client.c:121 +#: plugins/sudoers/log_client.c:343 plugins/sudoers/log_client.c:359 +#: plugins/sudoers/log_client.c:407 plugins/sudoers/log_client.c:611 +#: plugins/sudoers/log_client.c:618 plugins/sudoers/log_client.c:1103 +#: plugins/sudoers/log_client.c:1384 plugins/sudoers/log_client.c:1425 +#: plugins/sudoers/log_client.c:1433 plugins/sudoers/log_client.c:1592 +#: plugins/sudoers/log_client.c:1710 plugins/sudoers/log_client.c:2039 +#: plugins/sudoers/log_client.c:2047 plugins/sudoers/logging.c:147 +#: plugins/sudoers/logging.c:205 plugins/sudoers/sudoreplay.c:519 +#: plugins/sudoers/sudoreplay.c:566 plugins/sudoers/sudoreplay.c:808 +#: plugins/sudoers/sudoreplay.c:920 plugins/sudoers/sudoreplay.c:1011 +#: plugins/sudoers/sudoreplay.c:1026 plugins/sudoers/sudoreplay.c:1033 +#: plugins/sudoers/sudoreplay.c:1040 plugins/sudoers/sudoreplay.c:1047 +#: plugins/sudoers/sudoreplay.c:1054 plugins/sudoers/sudoreplay.c:1181 +msgid "unable to add event to queue" +msgstr "nie udało się dodać zdarzenia do kolejki" + +#: logsrvd/logsrvd.c:446 logsrvd/logsrvd.c:483 logsrvd/logsrvd.c:515 +#: logsrvd/logsrvd.c:569 logsrvd/logsrvd.c:648 logsrvd/logsrvd.c:684 +#: logsrvd/logsrvd.c:720 logsrvd/logsrvd.c:756 logsrvd/logsrvd_relay.c:510 +#: logsrvd/logsrvd_relay.c:543 +#, c-format +msgid "unexpected state %d for %s" +msgstr "nieoczekiwany stan %d dla %s" + +#: logsrvd/logsrvd.c:447 logsrvd/logsrvd.c:484 logsrvd/logsrvd.c:516 +#: logsrvd/logsrvd.c:570 logsrvd/logsrvd.c:649 logsrvd/logsrvd.c:685 +#: logsrvd/logsrvd.c:721 logsrvd/logsrvd.c:757 logsrvd/logsrvd_relay.c:512 +#: logsrvd/logsrvd_relay.c:545 +msgid "state machine error" +msgstr "błąd maszyny stanów" + +#: logsrvd/logsrvd.c:453 logsrvd/logsrvd.c:454 +msgid "invalid AcceptMessage" +msgstr "błędny AcceptMessage" + +#: logsrvd/logsrvd.c:490 logsrvd/logsrvd.c:491 +msgid "invalid RejectMessage" +msgstr "błędny RejectMessage" + +#: logsrvd/logsrvd.c:522 logsrvd/logsrvd.c:523 +msgid "invalid ExitMessage" +msgstr "błędny ExitMessage" + +#: logsrvd/logsrvd.c:576 logsrvd/logsrvd.c:577 +msgid "invalid RestartMessage" +msgstr "błędny RestartMessage" + +#: logsrvd/logsrvd.c:611 logsrvd/logsrvd.c:612 +msgid "invalid AlertMessage" +msgstr "błędny AlertMessage" + +#: logsrvd/logsrvd.c:653 logsrvd/logsrvd.c:689 logsrvd/logsrvd.c:725 +#, c-format +msgid "%s: unexpected IoBuffer" +msgstr "%s: nieoczekiwany IoBuffer" + +#: logsrvd/logsrvd.c:654 logsrvd/logsrvd.c:690 logsrvd/logsrvd.c:726 +msgid "protocol error" +msgstr "błąd protokołu" + +#: logsrvd/logsrvd.c:660 logsrvd/logsrvd.c:661 +msgid "invalid IoBuffer" +msgstr "błędny IoBuffer" + +#: logsrvd/logsrvd.c:696 logsrvd/logsrvd.c:697 +msgid "invalid ChangeWindowSize" +msgstr "błędny ChangeWindowSize" + +#: logsrvd/logsrvd.c:732 logsrvd/logsrvd.c:733 +msgid "invalid CommandSuspend" +msgstr "błędny CommandSuspend" + +#: logsrvd/logsrvd.c:782 logsrvd/logsrvd_journal.c:296 +#: logsrvd/logsrvd_relay.c:652 logsrvd/sendlog.c:1192 +#: plugins/sudoers/log_client.c:1582 +#, c-format +msgid "unable to unpack %s size %zu" +msgstr "nie udało się rozpakować %s, rozmiar %zu" + +#: logsrvd/logsrvd.c:827 logsrvd/logsrvd_journal.c:370 +#: logsrvd/logsrvd_relay.c:676 +#, c-format +msgid "unexpected type_case value %d in %s from %s" +msgstr "nieoczekiwana wartość type_case %d w %s z %s" + +#: logsrvd/logsrvd.c:829 +msgid "unrecognized ClientMessage type" +msgstr "nie rozpoznany typ ClientMessage" + +#: logsrvd/logsrvd.c:919 +#, c-format +msgid "timed out writing to client %s" +msgstr "przekroczony limit czasu przy pisaniu do klienta %s" + +#: logsrvd/logsrvd.c:924 logsrvd/logsrvd_relay.c:914 logsrvd/sendlog.c:1395 +#, c-format +msgid "missing write buffer for client %s" +msgstr "brak bufora zapisu dla klienta %s" + +#: logsrvd/logsrvd.c:1020 +#, c-format +msgid "timed out reading from client %s" +msgstr "przekroczony limit czasu przy czytaniu od klienta %s" + +#: logsrvd/logsrvd.c:1061 logsrvd/logsrvd_relay.c:777 +#, c-format +msgid "EOF from %s without proper TLS shutdown" +msgstr "EOF od %s bez właściwego zakończenia połączenia TLS" + +#: logsrvd/logsrvd.c:1105 logsrvd/logsrvd_relay.c:205 logsrvd/sendlog.c:322 +#: plugins/sudoers/log_client.c:721 +#, c-format +msgid "client message too large: %zu" +msgstr "komunikat klienta zbyt duży %zu" + +#: logsrvd/logsrvd.c:1106 logsrvd/logsrvd_journal.c:259 +#: logsrvd/logsrvd_journal.c:260 +msgid "client message too large" +msgstr "komunikat klienta zbyt duży" + +#: logsrvd/logsrvd.c:1124 logsrvd/logsrvd.c:1125 +msgid "invalid ClientMessage" +msgstr "błędny ClientMessage" + +#: logsrvd/logsrvd.c:1425 +msgid "unable to get remote IP addr" +msgstr "nie udało się uzyskać zdalnego adresu IP" + +#: logsrvd/logsrvd.c:1456 logsrvd/tls_client.c:203 +#: plugins/sudoers/log_client.c:281 +#, c-format +msgid "Unable to attach user data to the ssl object: %s" +msgstr "Nie udało się dołączyć danych użytkownika do obiektu SSL: %s" + +#: logsrvd/logsrvd.c:1639 logsrvd/logsrvd.c:1992 +msgid "unable to setup listen socket" +msgstr "nie udało się ustanowić gniazda nasłuchującego" + +#: logsrvd/logsrvd.c:1756 +#, c-format +msgid "unexpected signal %d" +msgstr "nieoczekiwany sygnał %d" + +#: logsrvd/logsrvd.c:1894 +msgid "sudo log server" +msgstr "serwer logów sudo" + +#: logsrvd/logsrvd.c:1896 logsrvd/sendlog.c:121 +msgid "Options:" +msgstr "Opcje:" + +#: logsrvd/logsrvd.c:1898 +msgid "path to configuration file" +msgstr "ścieżka do pliku konfiguracyjnego" + +#: logsrvd/logsrvd.c:1900 logsrvd/sendlog.c:123 +msgid "display help message and exit" +msgstr "wyświetlenie pomocy i zakończenie" + +#: logsrvd/logsrvd.c:1902 +msgid "do not fork, run in the foreground" +msgstr "bez wykonywania fork, działanie na pierwszym planie" + +#: logsrvd/logsrvd.c:1904 +msgid "percent chance connections will drop" +msgstr "procentowe prawdopodobieństwo odrzucenia połączenia" + +#: logsrvd/logsrvd.c:1906 logsrvd/sendlog.c:153 +msgid "display version information and exit" +msgstr "wyświetlenie informacji o wersji i zakończenie" + +#: logsrvd/logsrvd.c:1956 logsrvd/sendlog.c:1702 +msgid "Protobuf-C version 1.3 or higher required" +msgstr "Wymagany Protobuf-C w wersji 1.3 lub wyższej" + +#: logsrvd/logsrvd.c:1972 +#, c-format +msgid "invalid random drop value: %s" +msgstr "błędna wartość losowego gubienia: %s" + +#: logsrvd/logsrvd.c:1975 logsrvd/sendlog.c:1756 +#: plugins/sudoers/cvtsudoers.c:246 plugins/sudoers/sudoreplay.c:294 +#: plugins/sudoers/visudo.c:182 +#, c-format +msgid "%s version %s\n" +msgstr "%s wersja %s\n" + +#: logsrvd/logsrvd_conf.c:422 plugins/sudoers/check.c:358 +#: plugins/sudoers/exptilde.c:85 plugins/sudoers/iolog.c:122 +#: plugins/sudoers/policy.c:1271 plugins/sudoers/sudoers.c:512 +#: plugins/sudoers/sudoers.c:1411 plugins/sudoers/testsudoers.c:215 +#: plugins/sudoers/testsudoers.c:382 +#, c-format +msgid "unknown user %s" +msgstr "nieznany użytkownik %s" + +#: logsrvd/logsrvd_conf.c:439 plugins/sudoers/iolog.c:148 +#: plugins/sudoers/sudoers.c:517 plugins/sudoers/sudoers.c:1445 +#: plugins/sudoers/testsudoers.c:406 +#, c-format +msgid "unknown group %s" +msgstr "nieznana grupa %s" + +#: logsrvd/logsrvd_conf.c:457 +#, c-format +msgid "unable to parse iolog mode %s" +msgstr "nie udało się przeanalizować uprawnień iologu %s" + +#: logsrvd/logsrvd_conf.c:474 logsrvd/logsrvd_conf.c:1243 +#, c-format +msgid "invalid value for %s: %s" +msgstr "błędna wartość %s: %s" + +#: logsrvd/logsrvd_conf.c:527 +msgid "TLS not supported" +msgstr "TLS nie jest obsługiwany" + +#: logsrvd/logsrvd_conf.c:549 +#, c-format +msgid "%s:%s" +msgstr "%s:%s" + +#: logsrvd/logsrvd_conf.c:622 logsrvd/logsrvd_conf.c:1032 +#, c-format +msgid "%s: not a fully qualified path" +msgstr "%s: nie jest pełną ścieżką" + +#: logsrvd/logsrvd_conf.c:951 logsrvd/logsrvd_conf.c:967 +#: logsrvd/logsrvd_conf.c:1676 +#, c-format +msgid "unknown syslog facility %s" +msgstr "nieznana wartość facility sysloga %s" + +#: logsrvd/logsrvd_conf.c:983 logsrvd/logsrvd_conf.c:999 +#: logsrvd/logsrvd_conf.c:1015 logsrvd/logsrvd_conf.c:1680 +#: logsrvd/logsrvd_conf.c:1684 logsrvd/logsrvd_conf.c:1688 +#, c-format +msgid "unknown syslog priority %s" +msgstr "nieznany priorytet sysloga %s" + +#: logsrvd/logsrvd_conf.c:1197 +#, c-format +msgid "%s:%d unmatched '[': %s" +msgstr "%s:%d niedopasowany '[': %s" + +#: logsrvd/logsrvd_conf.c:1203 +#, c-format +msgid "%s:%d garbage after ']': %s" +msgstr "%s:%d śmieci po ']': %s" + +#: logsrvd/logsrvd_conf.c:1215 +#, c-format +msgid "%s:%d invalid config section: %s" +msgstr "%s: %d błędna sekcja konfiguracji: %s" + +#: logsrvd/logsrvd_conf.c:1223 +#, c-format +msgid "%s:%d invalid configuration line: %s" +msgstr "%s:%d błędna linia konfiguracji: %s" + +#: logsrvd/logsrvd_conf.c:1229 +#, c-format +msgid "%s:%d expected section name: %s" +msgstr "%s:%d oczekiwano nazwy sekcji: %s" + +#: logsrvd/logsrvd_conf.c:1251 +#, c-format +msgid "%s:%d [%s] illegal key: %s" +msgstr "%s:%d [%s] niedozwolony klucz: %s" + +#: logsrvd/logsrvd_conf.c:1281 plugins/sudoers/cvtsudoers.c:268 +#: plugins/sudoers/logging.c:1033 +#, c-format +msgid "unable to open log file %s" +msgstr "nie udało się otworzyć pliku logu %s" + +#: logsrvd/logsrvd_conf.c:1763 +msgid "unable to initialize server TLS context" +msgstr "nie udało się zainicjować kontekstu serwera TLS" + +#: logsrvd/logsrvd_conf.c:1783 +msgid "unable to initialize relay TLS context" +msgstr "nie udało się zainicjować kontekstu przekaźnika TLS" + +#: logsrvd/logsrvd_journal.c:149 logsrvd/logsrvd_journal.c:424 +#: logsrvd/logsrvd_journal.c:429 +msgid "unable to create journal file" +msgstr "nie udało się utworzuć pliku kroniki" + +#: logsrvd/logsrvd_journal.c:153 logsrvd/logsrvd_queue.c:109 +#: plugins/sudoers/visudo.c:1028 +#, c-format +msgid "unable to lock %s" +msgstr "nie udało się zablokować %s" + +#: logsrvd/logsrvd_journal.c:156 +msgid "unable to lock journal file" +msgstr "nie udało się zablokować pliku kroniki" + +#: logsrvd/logsrvd_journal.c:164 +msgid "unable to open journal file" +msgstr "nie udało się otworzyć pliku kroniki" + +#: logsrvd/logsrvd_journal.c:185 logsrvd/logsrvd_journal.c:460 +#: logsrvd/logsrvd_journal.c:465 +msgid "unable to write journal file" +msgstr "nie udało się zapisać pliku kroniki" + +#: logsrvd/logsrvd_journal.c:193 logsrvd/logsrvd_journal.c:200 +msgid "unable to rename journal file" +msgstr "nie udało się zmienić nazwy pliku kroniki" + +#: logsrvd/logsrvd_journal.c:247 logsrvd/logsrvd_journal.c:248 +#: logsrvd/logsrvd_journal.c:282 logsrvd/logsrvd_journal.c:283 +msgid "unexpected EOF reading journal file" +msgstr "nieoczekiwany koniec pliku podczas odczytu pliku kroniki" + +#: logsrvd/logsrvd_journal.c:251 logsrvd/logsrvd_journal.c:252 +#: logsrvd/logsrvd_journal.c:286 logsrvd/logsrvd_journal.c:287 +msgid "error reading journal file" +msgstr "błąd podczas odczytu pliku kroniki" + +#: logsrvd/logsrvd_journal.c:298 logsrvd/logsrvd_journal.c:384 +msgid "invalid journal file, unable to restart" +msgstr "błędny plik kroniki, nie udało się zrestartować" + +#: logsrvd/logsrvd_journal.c:443 +#, c-format +msgid "unable to seek to [%lld, %ld] in journal file %s" +msgstr "nie udało się przewinąć do [%lld, %ld] w pliku kroniki %s" + +#: logsrvd/logsrvd_local.c:166 +#, c-format +msgid "unexpected value_case %d in %s from %s" +msgstr "nieoczekiwana wartość value_case %d w %s z %s" + +#: logsrvd/logsrvd_local.c:194 +msgid "error parsing AcceptMessage" +msgstr "błąd analizy AcceptMessage" + +#: logsrvd/logsrvd_local.c:205 +msgid "error creating I/O log" +msgstr "błąd tworzenia logu we/wy" + +#: logsrvd/logsrvd_local.c:228 +msgid "error logging accept event" +msgstr "błąd logowania zdarzenia akceptacji" + +#: logsrvd/logsrvd_local.c:267 +msgid "error parsing RejectMessage" +msgstr "błąd analizy RejectMessage" + +#: logsrvd/logsrvd_local.c:291 +msgid "error logging reject event" +msgstr "błąd logowania zdarzenia odrzucenia" + +#: logsrvd/logsrvd_local.c:427 logsrvd/logsrvd_local.c:435 +msgid "error logging exit event" +msgstr "błąd logowania zdarzenia wyjścia" + +#: logsrvd/logsrvd_local.c:492 logsrvd/logsrvd_local.c:493 +msgid "log is already complete, cannot be restarted" +msgstr "log jest już kompletny, nie może być wznowiony" + +#: logsrvd/logsrvd_local.c:523 +msgid "unable to restart log" +msgstr "nie udało się wznownić logu" + +#: logsrvd/logsrvd_local.c:539 +msgid "error parsing AlertMessage" +msgstr "błąd analizy AlertMessage" + +#: logsrvd/logsrvd_local.c:549 +msgid "error logging alert event" +msgstr "błąd logowania zdarzenia alarmu" + +#: logsrvd/logsrvd_local.c:585 logsrvd/logsrvd_local.c:648 +#: logsrvd/logsrvd_local.c:683 +#, c-format +msgid "unable to format timing buffer, length %d" +msgstr "nie udało się sformatować bufora czasu, długość %d" + +#: logsrvd/logsrvd_local.c:599 logsrvd/logsrvd_local.c:607 +#: logsrvd/logsrvd_local.c:655 logsrvd/logsrvd_local.c:690 +#: plugins/sudoers/sudoreplay.c:344 +#, c-format +msgid "%s/%s: %s" +msgstr "%s/%s: %s" + +#: logsrvd/logsrvd_local.c:618 +msgid "randomly dropping connection" +msgstr "losowe odrzucanie połączenia" + +#: logsrvd/logsrvd_local.c:630 +msgid "error writing IoBuffer" +msgstr "błąd zapisu IoBuffer" + +#: logsrvd/logsrvd_local.c:665 +msgid "error writing ChangeWindowSize" +msgstr "błąd zapisu ChangeWindowSize" + +#: logsrvd/logsrvd_local.c:700 +msgid "error writing CommandSuspend" +msgstr "błąd zapisu CommandSuspend" + +#: logsrvd/logsrvd_relay.c:435 +msgid "TLS handshake with relay host failed" +msgstr "przywitanie TLS z hostem przekaźnika nie powiodło się" + +#: logsrvd/logsrvd_relay.c:463 +msgid "unable to connect to relay host" +msgstr "nie udało się połączyć z hostem przekaźnika" + +#: logsrvd/logsrvd_relay.c:518 +#, c-format +msgid "%s: invalid ServerHello, missing server_id" +msgstr "%s: błędne ServerHello, brak server_id" + +#: logsrvd/logsrvd_relay.c:520 logsrvd/sendlog.c:1096 +#: plugins/sudoers/log_client.c:1468 +msgid "invalid ServerHello" +msgstr "błędne ServerHello" + +#: logsrvd/logsrvd_relay.c:679 +msgid "unrecognized ServerMessage type" +msgstr "nie rozpoznany typ ServerMessage" + +#: logsrvd/logsrvd_relay.c:708 +#, c-format +msgid "timed out reading from relay %s (%s)" +msgstr "przekroczony limit czasu przy czytaniu z przekaźnika %s (%s)" + +#: logsrvd/logsrvd_relay.c:710 +msgid "timeout reading from relay" +msgstr "przekroczony limit czasu przy czytaniu z przekaźnika" + +#: logsrvd/logsrvd_relay.c:762 +msgid "relay host name does not match certificate" +msgstr "nazwa hosta przekaźnika nie pasuje do certyfikatu" + +#: logsrvd/logsrvd_relay.c:768 logsrvd/logsrvd_relay.c:782 +#: logsrvd/logsrvd_relay.c:789 +msgid "error reading from relay" +msgstr "błąd podczas odczytu z przekaźnika" + +#: logsrvd/logsrvd_relay.c:810 +msgid "unable to read from relay" +msgstr "nie udał się odczyt z przekaźnika" + +#: logsrvd/logsrvd_relay.c:825 logsrvd/logsrvd_relay.c:943 +msgid "relay server closed connection" +msgstr "serwer przekaźnika zamknął połączenie" + +#: logsrvd/logsrvd_relay.c:843 +msgid "server message too large" +msgstr "komunikat serwera zbyt duży" + +#: logsrvd/logsrvd_relay.c:907 +#, c-format +msgid "timed out writing to relay %s (%s)" +msgstr "przekroczony limit czasu przy pisaniu do przekaźnika %s (%s)" + +#: logsrvd/logsrvd_relay.c:909 +msgid "timeout writing to relay" +msgstr "przekroczony limit czasu przy pisaniu do przekaźnika" + +#: logsrvd/logsrvd_relay.c:962 logsrvd/logsrvd_relay.c:969 +#: logsrvd/logsrvd_relay.c:981 +msgid "error writing to relay" +msgstr "błąd zapisu do przekaźnika" + +#: logsrvd/sendlog.c:119 +msgid "send sudo I/O log to remote server" +msgstr "wysyłanie logu we/wy sudo na zdalny serwer" + +#: logsrvd/sendlog.c:125 +msgid "only send an accept event (no I/O)" +msgstr "samo wysłanie zdarzenia akceptującego (bez we/wy)" + +#: logsrvd/sendlog.c:128 +msgid "certificate bundle file to verify server's cert against" +msgstr "plik paczki certyfikatów do weryfikacji certyfikatu serwera" + +#: logsrvd/sendlog.c:130 +msgid "certificate file for TLS handshake" +msgstr "plik certyfikatu do powitania TLS" + +#: logsrvd/sendlog.c:133 +msgid "host to send logs to" +msgstr "host do wysyłania logów" + +#: logsrvd/sendlog.c:135 +msgid "remote ID of I/O log to be resumed" +msgstr "zdalny ID logu we/wy do wznowienia" + +#: logsrvd/sendlog.c:138 +msgid "private key file" +msgstr "plik klucza prywatnego" + +#: logsrvd/sendlog.c:140 +msgid "do not verify server certificate" +msgstr "bez weryfikacji certyfikatu serwera" + +#: logsrvd/sendlog.c:143 +msgid "port to use when connecting to host" +msgstr "port do użycia przy łączeniu z hostem" + +#: logsrvd/sendlog.c:145 +msgid "restart previous I/O log transfer" +msgstr "wznowienie poprzedniego transferu logu we/wy" + +#: logsrvd/sendlog.c:147 +msgid "reject the command with the given reason" +msgstr "odrzucenie polecenia z podanym powodem" + +#: logsrvd/sendlog.c:149 +msgid "stop transfer after reaching this time" +msgstr "zakończenie przesyłania po osiągnięciu tego czasu" + +#: logsrvd/sendlog.c:151 +msgid "test audit server by sending selected I/O log n times in parallel" +msgstr "test serwera audytu przez wysłanie wybranego logu we/wy N razy równolegle" + +#: logsrvd/sendlog.c:176 plugins/sudoers/log_client.c:453 +#, c-format +msgid "unable to look up %s:%s: %s" +msgstr "nie udało się wyszukać %s:%s: %s" + +#: logsrvd/sendlog.c:214 +msgid "unable to get server IP addr" +msgstr "nie udało się uzyskać adresu IP serwera" + +#: logsrvd/sendlog.c:300 plugins/sudoers/sudoreplay.c:868 +#, c-format +msgid "unable to read %s/%s: %s" +msgstr "nie udało się odczytać %s/%s: %s" + +#: logsrvd/sendlog.c:1020 plugins/sudoers/iolog.c:949 +#: plugins/sudoers/iolog.c:1024 +#, c-format +msgid "unexpected I/O event %d" +msgstr "nieoczekiwane zdarzenie we/wy %d" + +#: logsrvd/sendlog.c:1073 logsrvd/sendlog.c:1090 logsrvd/sendlog.c:1124 +#: plugins/sudoers/log_client.c:1118 plugins/sudoers/log_client.c:1394 +#: plugins/sudoers/log_client.c:1462 plugins/sudoers/log_client.c:1501 +#, c-format +msgid "%s: unexpected state %d" +msgstr "%s: nieoczekiwany stan %d" + +#: logsrvd/sendlog.c:1160 plugins/sudoers/log_client.c:1550 +#, c-format +msgid "error message received from server: %s" +msgstr "odebrano od serwera komunikat błędu: %s" + +#: logsrvd/sendlog.c:1173 plugins/sudoers/log_client.c:1563 +#, c-format +msgid "abort message received from server: %s" +msgstr "odebrano od serwera komunikat zerwania: %s" + +#: logsrvd/sendlog.c:1232 plugins/sudoers/log_client.c:1613 +#, c-format +msgid "%s: unexpected type_case value %d" +msgstr "%s: nieoczekiwana wartość type_case %d" + +#: logsrvd/sendlog.c:1261 +msgid "timeout reading from server" +msgstr "przekroczony limit czasu przy czytaniu z serwera" + +#: logsrvd/sendlog.c:1310 plugins/sudoers/log_client.c:1729 +msgid "host name does not match certificate" +msgstr "nazwa hosta nie pasuje do certyfikatu" + +#: logsrvd/sendlog.c:1343 +msgid "premature EOF" +msgstr "przedwczesny EOF" + +#: logsrvd/sendlog.c:1356 plugins/sudoers/log_client.c:1776 +#, c-format +msgid "server message too large: %u" +msgstr "komunikat serwera zbyt duży: %u" + +#: logsrvd/sendlog.c:1412 +msgid "timeout writing to server" +msgstr "przekroczony limit czasu przy pisaniu do serwera" + +#: logsrvd/sendlog.c:1779 +msgid "both restart point and iolog ID must be specified" +msgstr "muszą być podane jednocześnie punkt wznowienia i ID iolog" + +#: logsrvd/sendlog.c:1783 +msgid "a restart point may not be set when no I/O is sent" +msgstr "nie można ustawić punktu restartu, jeśli żadne we/wy nie jest wysyłane" + +#: logsrvd/sendlog.c:1859 +#, c-format +msgid "exited prematurely with state %d" +msgstr "zakończono przedwcześnie ze stanem %d" + +#: logsrvd/sendlog.c:1860 +#, c-format +msgid "elapsed time sent to server [%lld, %ld]" +msgstr "miniony czas wysłany do serwera [%lld, %ld]" + +#: logsrvd/sendlog.c:1862 +#, c-format +msgid "commit point received from server [%lld, %ld]" +msgstr "odebrano od serwera punkt zatwierdzenia [%lld, %ld]" + +#: logsrvd/tls_client.c:111 plugins/sudoers/log_client.c:315 +msgid "TLS handshake timeout occurred" +msgstr "przekroczony limit czasu powitania TLS" + +#: logsrvd/tls_client.c:131 logsrvd/tls_client.c:147 +#: plugins/sudoers/log_client.c:337 plugins/sudoers/log_client.c:353 +msgid "unable to set event" +msgstr "nie udało się ustawić zdarzenia" + +#: logsrvd/tls_client.c:157 logsrvd/tls_client.c:161 +#, c-format +msgid "TLS connection failed: %s" +msgstr "Połączenie TLS nie powiodło się: %s" + +#: logsrvd/tls_client.c:196 +#, c-format +msgid "unable to allocate ssl object: %s" +msgstr "nie udało się przydzielić obiektu SSL: %s" + +#: logsrvd/tls_client.c:210 +#, c-format +msgid "Unable to attach socket to the ssl object: %s" +msgstr "Nie udało się dołączyć gniazda do obiektu SSL: %s" + +#: logsrvd/tls_client.c:238 +msgid "unable to initialize TLS context" +msgstr "nie udało się zainicjować kontekstu TLS" + +#: logsrvd/tls_init.c:138 logsrvd/tls_init.c:146 +#, c-format +msgid "unable to set TLS 1.2 ciphersuite to %s: %s" +msgstr "nie udało się ustawić szyfrowania TLS 1.2 na %s: %s" + +#: logsrvd/tls_init.c:166 logsrvd/tls_init.c:174 +#, c-format +msgid "unable to set TLS 1.3 ciphersuite to %s: %s" +msgstr "nie udało się ustawić szyfrowania TLS 1.3 na %s: %s" + +#: logsrvd/tls_init.c:206 logsrvd/tls_init.c:227 +#, c-format +msgid "unable to set diffie-hellman parameters: %s" +msgstr "nie udało się ustawić parametrów Diffie-Hellmana: %s" + +#: logsrvd/tls_init.c:283 +#, c-format +msgid "unable to create TLS context: %s" +msgstr "nie udało się utworzyć kontekstu TLS: %s" + +#: logsrvd/tls_init.c:290 +#, c-format +msgid "unable to set minimum protocol version to TLS 1.2: %s" +msgstr "nie udało się ustawić minimalnej wersji protokołu na TLS 1.2: %s" + +#: plugins/sudoers/audit.c:269 plugins/sudoers/audit.c:429 +#: plugins/sudoers/log_client.c:951 plugins/sudoers/log_client.c:1000 +#: plugins/sudoers/log_client.c:1049 plugins/sudoers/log_client.c:1174 +#: plugins/sudoers/logging.c:595 plugins/sudoers/logging.c:693 +#: plugins/sudoers/logging.c:796 plugins/sudoers/logging.c:987 +#: plugins/sudoers/policy.c:125 +msgid "unable to get time of day" +msgstr "nie udało się pobrać aktualnego czasu" + +#: plugins/sudoers/auth/aix_auth.c:280 +#, c-format +msgid "unable to change password for %s" +msgstr "nie udało się zmienić hasła dla %s" + +#: plugins/sudoers/auth/bsdauth.c:74 +#, c-format +msgid "unable to get login class for user %s" +msgstr "nie udało się uzyskać klasy logowania dla użytkownika %s" + +#: plugins/sudoers/auth/bsdauth.c:79 +msgid "unable to begin bsd authentication" +msgstr "nie udało się rozpocząć uwierzytelnienia BSD" + +#: plugins/sudoers/auth/bsdauth.c:87 +msgid "invalid authentication type" +msgstr "błędny rodzaj uwierzytelnienia" + +#: plugins/sudoers/auth/bsdauth.c:96 +msgid "unable to initialize BSD authentication" +msgstr "nie udało się zainicjować uwierzytelnienia BSD" + +#: plugins/sudoers/auth/bsdauth.c:186 +msgid "your account has expired" +msgstr "konto wygasło" + +#: plugins/sudoers/auth/bsdauth.c:188 +msgid "approval failed" +msgstr "zezwolenie nie powiodło się" + +#: plugins/sudoers/auth/fwtk.c:61 +msgid "unable to read fwtk config" +msgstr "nie udało się odczytać konfiguracji fwtk" + +#: plugins/sudoers/auth/fwtk.c:66 +msgid "unable to connect to authentication server" +msgstr "nie udało się połączyć z serwerem uwierzytelniającym" + +#: plugins/sudoers/auth/fwtk.c:72 plugins/sudoers/auth/fwtk.c:97 +#: plugins/sudoers/auth/fwtk.c:129 +msgid "lost connection to authentication server" +msgstr "utracono połączenie z serwerem uwierzytelniającym" + +#: plugins/sudoers/auth/fwtk.c:76 +#, c-format +msgid "" +"authentication server error:\n" +"%s" +msgstr "" +"błąd serwera uwierzytelniającego:\n" +"%s" + +#: plugins/sudoers/auth/kerb5.c:115 +#, c-format +msgid "%s: unable to convert principal to string ('%s'): %s" +msgstr "%s: nie udało się przekształcić nazwy principal do łańcucha ('%s'): %s" + +#: plugins/sudoers/auth/kerb5.c:164 +#, c-format +msgid "%s: unable to parse '%s': %s" +msgstr "%s: nie udało się przeanalizować '%s': %s" + +#: plugins/sudoers/auth/kerb5.c:173 +#, c-format +msgid "%s: unable to resolve credential cache: %s" +msgstr "%s: nie udało się rozwiązać pamięci podręcznej danych uwierzytelniających: %s" + +#: plugins/sudoers/auth/kerb5.c:222 +#, c-format +msgid "%s: unable to allocate options: %s" +msgstr "%s: nie udało się przydzielić opcji: %s" + +#: plugins/sudoers/auth/kerb5.c:237 +#, c-format +msgid "%s: unable to get credentials: %s" +msgstr "%s: nie udało się pobrać danych uwierzytelniających: %s" + +#: plugins/sudoers/auth/kerb5.c:250 +#, c-format +msgid "%s: unable to initialize credential cache: %s" +msgstr "%s: nie udało się zainicjować pamięci podręcznej danych uwierzytelniających: %s" + +#: plugins/sudoers/auth/kerb5.c:253 +#, c-format +msgid "%s: unable to store credential in cache: %s" +msgstr "%s: nie udało się zapisać danych uwierzytelniających w pamięci podręcznej: %s" + +#: plugins/sudoers/auth/kerb5.c:317 +#, c-format +msgid "%s: unable to get host principal: %s" +msgstr "%s: nie udało się pobrać nazwy principal dla hosta: %s" + +#: plugins/sudoers/auth/kerb5.c:331 +#, c-format +msgid "%s: Cannot verify TGT! Possible attack!: %s" +msgstr "%s: Nie można zweryfikować TGT! Możliwy atak!: %s" + +#: plugins/sudoers/auth/pam.c:224 +#, c-format +msgid "unable to initialize PAM: %s" +msgstr "nie udało się zainicjować PAM: %s" + +#: plugins/sudoers/auth/pam.c:337 +#, c-format +msgid "PAM authentication error: %s" +msgstr "Błąd uwierzytelniania PAM: %s" + +#: plugins/sudoers/auth/pam.c:356 +msgid "account validation failure, is your account locked?" +msgstr "błąd kontroli poprawności konta - konto zablokowane?" + +#: plugins/sudoers/auth/pam.c:367 +msgid "Account or password is expired, reset your password and try again" +msgstr "Konto lub hasło wygasło, należy ustawić ponownie hasło i spróbować jeszcze raz" + +#: plugins/sudoers/auth/pam.c:373 +#, c-format +msgid "unable to change expired password: %s" +msgstr "nie udało się zmienić przedawnionego hasła: %s" + +#: plugins/sudoers/auth/pam.c:384 +msgid "Password expired, contact your system administrator" +msgstr "Hasło wygasło, proszę skontaktować się z administratorem systemu" + +#: plugins/sudoers/auth/pam.c:389 +msgid "Account expired or PAM config lacks an \"account\" section for sudo, contact your system administrator" +msgstr "Konto wygasło lub w konfiguracji PAM brak sekcji \"account\" dla sudo, proszę skontaktować się z administratorem systemu" + +#: plugins/sudoers/auth/pam.c:397 plugins/sudoers/auth/pam.c:402 +#, c-format +msgid "PAM account management error: %s" +msgstr "Błąd zarządzania kontem PAM: %s" + +#: plugins/sudoers/auth/rfc1938.c:99 plugins/sudoers/visudo.c:271 +#, c-format +msgid "you do not exist in the %s database" +msgstr "nie istniejesz w bazie danych %s" + +#: plugins/sudoers/auth/securid5.c:75 +msgid "failed to initialise the ACE API library" +msgstr "nie udało się zainicjować biblioteki ACE API" + +#: plugins/sudoers/auth/securid5.c:106 +msgid "unable to contact the SecurID server" +msgstr "nie udało się połączyć z serwerem SecurID" + +#: plugins/sudoers/auth/securid5.c:115 +msgid "User ID locked for SecurID Authentication" +msgstr "ID użytkownika zablokowany dla uwierzytelnienia SecurID" + +#: plugins/sudoers/auth/securid5.c:119 plugins/sudoers/auth/securid5.c:171 +msgid "invalid username length for SecurID" +msgstr "błędna długość nazwy użytkownika dla SecurID" + +#: plugins/sudoers/auth/securid5.c:123 plugins/sudoers/auth/securid5.c:176 +msgid "invalid Authentication Handle for SecurID" +msgstr "błędny uchwyt uwierzytelnienia dla SecurID" + +#: plugins/sudoers/auth/securid5.c:127 +msgid "SecurID communication failed" +msgstr "błąd komunikacji SecurID" + +#: plugins/sudoers/auth/securid5.c:131 plugins/sudoers/auth/securid5.c:219 +msgid "unknown SecurID error" +msgstr "nieznany błąd SecurID" + +#: plugins/sudoers/auth/securid5.c:166 +msgid "invalid passcode length for SecurID" +msgstr "błędna długość hasła dla SecurID" + +#: plugins/sudoers/auth/sia.c:69 plugins/sudoers/auth/sia.c:126 +msgid "unable to initialize SIA session" +msgstr "nie udało się zainicjować sesji SIA" + +#: plugins/sudoers/auth/sudo_auth.c:135 +msgid "invalid authentication methods" +msgstr "błędne metody uwierzytelniania" + +#: plugins/sudoers/auth/sudo_auth.c:137 +msgid "Invalid authentication methods compiled into sudo! You may not mix standalone and non-standalone authentication." +msgstr "W sudo wkompilowano błędne metody uwierzytelniania! Nie można mieszać samodzielnych i niesamodzielnych sposobów uwierzytelniania." + +#: plugins/sudoers/auth/sudo_auth.c:258 plugins/sudoers/auth/sudo_auth.c:310 +msgid "no authentication methods" +msgstr "brak metod uwierzytelniania" + +#: plugins/sudoers/auth/sudo_auth.c:260 +msgid "There are no authentication methods compiled into sudo! If you want to turn off authentication, use the --disable-authentication configure option." +msgstr "W sudo nie wkompilowano żadnych metod uwierzytelniania! Aby wyłączyć uwierzytelnianie, proszę użyć opcji konfiguracyjnej --disable-authentication." + +#: plugins/sudoers/auth/sudo_auth.c:312 +msgid "Unable to initialize authentication methods." +msgstr "Nie udało się zainicjować metod uwierzytelniania." + +#: plugins/sudoers/auth/sudo_auth.c:486 +msgid "Authentication methods:" +msgstr "Metody uwierzytelniania:" + +#: plugins/sudoers/bsm_audit.c:123 plugins/sudoers/bsm_audit.c:214 +msgid "Could not determine audit condition" +msgstr "Nie udało się określić warunku audytowego" + +#: plugins/sudoers/bsm_audit.c:188 plugins/sudoers/bsm_audit.c:277 +msgid "unable to commit audit record" +msgstr "nie udało się zatwierdzić rekordu audytowego" + +#: plugins/sudoers/check.c:285 +#, c-format +msgid "error reading lecture file %s" +msgstr "błąd podczas czytania pliku instrukcji %s" + +#: plugins/sudoers/check.c:288 +#, c-format +msgid "ignoring lecture file %s: not a regular file" +msgstr "zignorowano plik instrukcji %s: nie jest zwykłym plikiem" + +#: plugins/sudoers/check.c:301 +msgid "" +"\n" +"We trust you have received the usual lecture from the local System\n" +"Administrator. It usually boils down to these three things:\n" +"\n" +" #1) Respect the privacy of others.\n" +" #2) Think before you type.\n" +" #3) With great power comes great responsibility.\n" +"\n" +msgstr "" +"\n" +"Ufamy, że lokalny administrator udzielił odpowiedniego szkolenia.\n" +"Zwykle sprowadza się ono do tych trzech rzeczy:\n" +"\n" +" 1) należy respektować prywatność innych,\n" +" 2) należy myśleć przed pisaniem,\n" +" 3) z dużą władzą wiąże się duża odpowiedzialność.\n" +"\n" + +#: plugins/sudoers/check.c:309 +msgid "" +"For security reasons, the password you type will not be visible.\n" +"\n" +msgstr "" +"Ze względów bezpieczeństwa wpisywane hasło nie będzie widoczne.\n" +"\n" + +#: plugins/sudoers/check.c:353 plugins/sudoers/check.c:363 +#: plugins/sudoers/parse.c:82 plugins/sudoers/sudoers.c:945 +#: plugins/sudoers/sudoers.c:966 plugins/sudoers/tsdump.c:119 +#, c-format +msgid "unknown uid %u" +msgstr "nieznany uid %u" + +#: plugins/sudoers/check_aliases.c:99 plugins/sudoers/defaults.c:1279 +#, c-format +msgid "%s: %s\n" +msgstr "%s: %s\n" + +#: plugins/sudoers/check_aliases.c:133 +#, c-format +msgid "cycle in %s \"%s\"" +msgstr "cykl w %s \"%s\"" + +#: plugins/sudoers/check_aliases.c:136 +#, c-format +msgid "%s \"%s\" referenced but not defined" +msgstr "%s \"%s\" użyty, ale nie zdefiniowany" + +#: plugins/sudoers/cvtsudoers.c:209 +#, c-format +msgid "order increment: %s: %s" +msgstr "zwiększenie rangi: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:228 +#, c-format +msgid "starting order: %s: %s" +msgstr "początkowa ranga: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:238 +#, c-format +msgid "order padding: %s: %s" +msgstr "wyrównanie rangi: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:248 plugins/sudoers/visudo.c:184 +#, c-format +msgid "%s grammar version %d\n" +msgstr "%s, wersja gramatyki %d\n" + +#: plugins/sudoers/cvtsudoers.c:277 plugins/sudoers/testsudoers.c:159 +#, c-format +msgid "unsupported input format %s" +msgstr "nieobsługiwany format wejścia %s" + +#: plugins/sudoers/cvtsudoers.c:295 +#, c-format +msgid "unsupported output format %s" +msgstr "nieobsługiwany format wyjścia %s" + +#: plugins/sudoers/cvtsudoers.c:385 +#, c-format +msgid "%s: input and output files must be different" +msgstr "%s: pliki wejściowy i wyjściowy muszą być różne" + +#: plugins/sudoers/cvtsudoers.c:399 plugins/sudoers/sudoers.c:166 +#: plugins/sudoers/sudoers.c:222 plugins/sudoers/testsudoers.c:254 +#: plugins/sudoers/visudo.c:280 plugins/sudoers/visudo.c:654 +msgid "unable to initialize sudoers default values" +msgstr "nie udało się zainicjować wartości domyślnych sudoers" + +#: plugins/sudoers/cvtsudoers.c:525 plugins/sudoers/ldap_conf.c:434 +#, c-format +msgid "%s: %s: %s: %s" +msgstr "%s: %s: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:584 +#, c-format +msgid "%s: unknown key word %s" +msgstr "%s: nieznane słowo kluczowe %s" + +#: plugins/sudoers/cvtsudoers.c:630 +#, c-format +msgid "invalid defaults type: %s" +msgstr "błędny typ wartości domyślnej: %s" + +#: plugins/sudoers/cvtsudoers.c:653 +#, c-format +msgid "invalid suppression type: %s" +msgstr "błędny typ ograniczenia: %s" + +#: plugins/sudoers/cvtsudoers.c:694 plugins/sudoers/cvtsudoers.c:710 +#, c-format +msgid "invalid filter: %s" +msgstr "błędny filtr: %s" + +#: plugins/sudoers/cvtsudoers.c:754 plugins/sudoers/visudo.c:982 +#, c-format +msgid "failed to parse %s file, unknown error" +msgstr "nie udało się przeanalizować pliku %s, nieznany błąd" + +#: plugins/sudoers/cvtsudoers.c:1478 plugins/sudoers/sudoreplay.c:1142 +#: plugins/sudoers/timestamp.c:343 plugins/sudoers/timestamp.c:346 +#, c-format +msgid "unable to write to %s" +msgstr "nie udało się zapisać do %s" + +#: plugins/sudoers/cvtsudoers.c:1506 +#, c-format +msgid "" +"%s - convert between sudoers file formats\n" +"\n" +msgstr "" +"%s - konwersja między formatami pliku sudoers\n" +"\n" + +#: plugins/sudoers/cvtsudoers.c:1508 +msgid "" +"\n" +"Options:\n" +" -b, --base=dn the base DN for sudo LDAP queries\n" +" -c, --config=conf_file the path to the configuration file\n" +" -d, --defaults=deftypes only convert Defaults of the specified types\n" +" -e, --expand-aliases expand aliases when converting\n" +" -f, --output-format=format set output format: JSON, LDIF or sudoers\n" +" -i, --input-format=format set input format: LDIF or sudoers\n" +" -I, --increment=num amount to increase each sudoOrder by\n" +" -h, --help display help message and exit\n" +" -m, --match=filter only convert entries that match the filter\n" +" -M, --match-local match filter uses passwd and group databases\n" +" -o, --output=output_file write converted sudoers to output_file\n" +" -O, --order-start=num starting point for first sudoOrder\n" +" -p, --prune-matches prune non-matching users, groups and hosts\n" +" -P, --padding=num base padding for sudoOrder increment\n" +" -s, --suppress=sections suppress output of certain sections\n" +" -V, --version display version information and exit" +msgstr "" +"\n" +"Opcje:\n" +" -b. --base=dn podstawowe DN do zapytań LDAP z sudo\n" +" -c, --config=plik_konf ścieżka do pliku konfiguracyjnego\n" +" -d, --defaults=typy konwersja Defaults tylko określonych typów\n" +" -e, --expand-aliases rozwinięcie aliasów w trakcie konwersji\n" +" -f, --output-format=format format wyjścia: JSON, LDIF lub sudoers\n" +" -i, --input-format=format format wejścia: LDIF lub sudoers\n" +" -I, --increment=liczba liczba, o jaką ma być zwiększane każde sudoOrder\n" +" -h, --help wyświetlenie pomocy i zakończenie\n" +" -m, --match=filtr konwersja tylko wpisów pasujących do filtra\n" +" -M, --match-local filtr dopasowania używający baz passwd i group\n" +" -o, --output=plik zapis skonwertowanego sudoers do pliku wyjciowego\n" +" -O, --order-start=liczba początkowa wartość pierwszego sudoOrder\n" +" -p, --prune-matches czyszczenie nie pasujących użytkowników, grup,\n" +" hostów\n" +" -P, --padding=num bazowe wyrównanie dla kroku sudoOrder\n" +" -s, --suppress=sekcje pominięcie wyjścia z podanych sekcji\n" +" -V, --version wyświetlenie informacji o wersji i zakończenie" + +#: plugins/sudoers/cvtsudoers_csv.c:192 plugins/sudoers/cvtsudoers_csv.c:199 +#: plugins/sudoers/cvtsudoers_ldif.c:244 plugins/sudoers/cvtsudoers_ldif.c:251 +#: plugins/sudoers/cvtsudoers_ldif.c:592 plugins/sudoers/env.c:340 +#: plugins/sudoers/env.c:347 plugins/sudoers/env.c:458 +#: plugins/sudoers/ldap.c:528 plugins/sudoers/ldap.c:761 +#: plugins/sudoers/ldap.c:1134 plugins/sudoers/ldap_conf.c:222 +#: plugins/sudoers/ldap_conf.c:313 plugins/sudoers/ldap_util.c:486 +#: plugins/sudoers/linux_audit.c:92 plugins/sudoers/logging.c:461 +#: plugins/sudoers/logging.c:817 plugins/sudoers/logging.c:827 +#: plugins/sudoers/policy.c:807 plugins/sudoers/policy.c:818 +#: plugins/sudoers/prompt.c:168 plugins/sudoers/serialize_list.c:62 +#: plugins/sudoers/serialize_list.c:71 plugins/sudoers/strvec_join.c:62 +#: plugins/sudoers/sudoreplay.c:1339 plugins/sudoers/sudoreplay.c:1345 +#: plugins/sudoers/sudoreplay.c:1351 plugins/sudoers/testsudoers.c:245 +#: plugins/sudoers/toke_util.c:213 toke.l:995 toke.l:1197 +#, c-format +msgid "internal error, %s overflow" +msgstr "błąd wewnętrzny, przepełnienie %s" + +#: plugins/sudoers/cvtsudoers_csv.c:452 plugins/sudoers/cvtsudoers_csv.c:466 +#: plugins/sudoers/cvtsudoers_json.c:657 plugins/sudoers/cvtsudoers_json.c:672 +#: plugins/sudoers/cvtsudoers_ldif.c:347 plugins/sudoers/cvtsudoers_ldif.c:360 +#: plugins/sudoers/ldap.c:512 +msgid "unable to get GMT time" +msgstr "nie udało się pobrać czasu GMT" + +#: plugins/sudoers/cvtsudoers_csv.c:457 plugins/sudoers/cvtsudoers_csv.c:471 +#: plugins/sudoers/cvtsudoers_json.c:662 plugins/sudoers/cvtsudoers_json.c:677 +#: plugins/sudoers/cvtsudoers_ldif.c:352 plugins/sudoers/cvtsudoers_ldif.c:365 +#: plugins/sudoers/ldap.c:520 +msgid "unable to format timestamp" +msgstr "nie udało się sformatować znacznika czasu" + +#: plugins/sudoers/cvtsudoers_json.c:480 plugins/sudoers/cvtsudoers_json.c:515 +#: plugins/sudoers/cvtsudoers_json.c:728 +#, c-format +msgid "%s:%d:%d: unknown defaults entry \"%s\"" +msgstr "%s:%d:%d: nieznany wpis domyślny \"%s\"" + +#: plugins/sudoers/cvtsudoers_ldif.c:661 +#, c-format +msgid "too many sudoers entries, maximum %u" +msgstr "zbyt dużo wpisów sudoers, maksimum to %u" + +#: plugins/sudoers/cvtsudoers_ldif.c:704 +msgid "the SUDOERS_BASE environment variable is not set and the -b option was not specified." +msgstr "zmienna środowiskowa SUDOERS_BASE nie jest ustawiona i nie podano opcji -b." + +#: plugins/sudoers/cvtsudoers_merge.c:273 +#: plugins/sudoers/cvtsudoers_merge.c:309 +#, c-format +msgid "%s:%d:%d: converting host list to ALL" +msgstr "%s:%d:%d: konwersja listy hostów na ALL" + +#: plugins/sudoers/cvtsudoers_merge.c:545 +#, c-format +msgid "unable to find alias %s" +msgstr "nie udało się odnaleźć aliasu %s" + +#: plugins/sudoers/cvtsudoers_merge.c:548 +#, c-format +msgid "%s:%d:%d: renaming alias %s to %s" +msgstr "%s:%d:%d: zmiana nazwy aliasu %s na %s" + +#: plugins/sudoers/cvtsudoers_merge.c:605 +#, c-format +msgid "%s:%d:%d: removing duplicate alias %s" +msgstr "%s:%d:%d: usuwanie powtórzonego aliasu %s" + +#: plugins/sudoers/cvtsudoers_merge.c:830 +#, c-format +msgid "%s:%d:%d: conflicting Defaults entry \"%s\" host-specific in %s:%d:%d" +msgstr "%s:%d:%d: konflikt z wpisem Defaults \"%s\" dla hosta w %s:%d:%d" + +#: plugins/sudoers/cvtsudoers_merge.c:864 +#, c-format +msgid "%s:%d:%d: made Defaults \"%s\" specific to host %s" +msgstr "%s:%d:%d: uczynienie Defaults \"%s\" obowiązującym tylko dla hosta %s" + +#: plugins/sudoers/cvtsudoers_merge.c:882 +#, c-format +msgid "%s:%d:%d: unable to make Defaults \"%s\" host-specific" +msgstr "%s:%d:%d: nie udało się uczynić Defaults \"%s\" obowiązującym tylko dla hosta" + +#: plugins/sudoers/cvtsudoers_merge.c:892 +#, c-format +msgid "%s:%d:%d: removing Defaults \"%s\" overridden by subsequent entries" +msgstr "%s:%d:%d: usuwanie Defaults \"%s\" nadpisanego przez kolejne wpisy" + +#: plugins/sudoers/cvtsudoers_merge.c:1088 +#, c-format +msgid "%s:%d:%d: merging userspec into %s:%d:%d" +msgstr "%s:%d:%d: łączenie userspec w %s:%d:%d" + +#: plugins/sudoers/cvtsudoers_merge.c:1182 +#, c-format +msgid "%s:%d:%d: removing userspec overridden by subsequent entries" +msgstr "%s:%d:%d: usuwanie userspec nadpisanego przez kolejne wpisy" + +#: plugins/sudoers/def_data.c:56 +#, c-format +msgid "Syslog facility if syslog is being used for logging: %s" +msgstr "Rodzaj komunikatu sysloga, jeśli syslog jest używany: %s" + +#: plugins/sudoers/def_data.c:60 +#, c-format +msgid "Syslog priority to use when user authenticates successfully: %s" +msgstr "Priorytet komunikatu sysloga w przypadku udanego uwierzytelnienia: %s" + +#: plugins/sudoers/def_data.c:64 +#, c-format +msgid "Syslog priority to use when user authenticates unsuccessfully: %s" +msgstr "Priorytet komunikatu sysloga w przypadku nieudanego uwierzytelnienia: %s" + +#: plugins/sudoers/def_data.c:68 +msgid "Put OTP prompt on its own line" +msgstr "Umieszczenie zachęty OTP we własnej linii" + +#: plugins/sudoers/def_data.c:72 +msgid "Ignore '.' in $PATH" +msgstr "Ignorowanie '.' w $PATH" + +#: plugins/sudoers/def_data.c:76 +msgid "Always send mail when sudo is run" +msgstr "Wysyłanie listu zawsze przy uruchomieniu sudo" + +#: plugins/sudoers/def_data.c:80 +msgid "Send mail if user authentication fails" +msgstr "Wysyłanie listu przy błędnym uwierzytelnieniu" + +#: plugins/sudoers/def_data.c:84 +msgid "Send mail if the user is not in sudoers" +msgstr "Wysyłanie listu jeśli użytkownik nie jest w sudoers" + +#: plugins/sudoers/def_data.c:88 +msgid "Send mail if the user is not in sudoers for this host" +msgstr "Wysyłanie listu jeśli użytkownik nie jest w sudoers dla tego hosta" + +#: plugins/sudoers/def_data.c:92 +msgid "Send mail if the user is not allowed to run a command" +msgstr "Wysyłanie listu jeśli użytkownik nie ma prawa do uruchomienia polecenia" + +#: plugins/sudoers/def_data.c:96 +msgid "Send mail if the user tries to run a command" +msgstr "Wysyłanie listu jeśli użytkownik próbuje uruchomić polecenie" + +#: plugins/sudoers/def_data.c:100 +msgid "Use a separate timestamp for each user/tty combo" +msgstr "Użycie osobnego znacznika czasu dla każdej pary użytkownik/tty" + +#: plugins/sudoers/def_data.c:104 +msgid "Lecture user the first time they run sudo" +msgstr "Poinstruowanie użytkownika przy pierwszym uruchomieniu sudo" + +#: plugins/sudoers/def_data.c:108 +#, c-format +msgid "File containing the sudo lecture: %s" +msgstr "Plik zawierający instrukcję do sudo: %s" + +#: plugins/sudoers/def_data.c:112 +msgid "Require users to authenticate by default" +msgstr "Domyślne wymaganie uwierzytelnienia przez użytkowników" + +#: plugins/sudoers/def_data.c:116 +msgid "Root may run sudo" +msgstr "Możliwość uruchamiania sudo przez roota" + +#: plugins/sudoers/def_data.c:120 +msgid "Log the hostname in the (non-syslog) log file" +msgstr "Logowanie nazwy hosta w pliku logu (niesyslogowym)" + +#: plugins/sudoers/def_data.c:124 +msgid "Log the year in the (non-syslog) log file" +msgstr "Logowanie roku w pliku logu (niesyslogowym)" + +#: plugins/sudoers/def_data.c:128 +msgid "If sudo is invoked with no arguments, start a shell" +msgstr "Uruchomienie powłoki przy wywołaniu sudo bez argumentów" + +#: plugins/sudoers/def_data.c:132 +msgid "Set $HOME to the target user when starting a shell with -s" +msgstr "Ustawianie $HOME na katalog użytkownika docelowego przy uruchamianiu powłoki z -s" + +#: plugins/sudoers/def_data.c:136 +msgid "Always set $HOME to the target user's home directory" +msgstr "Ustawianie $HOME zawsze na katalog domowy użytkownika docelowego" + +#: plugins/sudoers/def_data.c:140 +msgid "Allow some information gathering to give useful error messages" +msgstr "Zezwolenie na zbieranie niektórych informacji do przydatnych komunikatów błędów" + +#: plugins/sudoers/def_data.c:144 +msgid "Require fully-qualified hostnames in the sudoers file" +msgstr "Wymaganie pełnych nazw hostów w pliku sudoers" + +#: plugins/sudoers/def_data.c:148 +msgid "Insult the user when they enter an incorrect password" +msgstr "Lżenie użytkownika po podaniu błędnego hasła" + +#: plugins/sudoers/def_data.c:152 +msgid "Only allow the user to run sudo if they have a tty" +msgstr "Możliwość uruchamiania sudo tylko z poziomu terminala" + +#: plugins/sudoers/def_data.c:156 +msgid "Visudo will honor the EDITOR environment variable" +msgstr "Honorowanie zmiennej środowiskowej EDITOR przez visudo" + +#: plugins/sudoers/def_data.c:160 +msgid "Prompt for root's password, not the users's" +msgstr "Pytanie o hasło roota zamiast hasła użytkownika" + +#: plugins/sudoers/def_data.c:164 +msgid "Prompt for the runas_default user's password, not the users's" +msgstr "Pytanie o hasło użytkownika runas_default zamiast uruchamiającego" + +#: plugins/sudoers/def_data.c:168 +msgid "Prompt for the target user's password, not the users's" +msgstr "Pytanie o hasło użytkownika docelowego zamiast uruchamiającego" + +#: plugins/sudoers/def_data.c:172 +msgid "Apply defaults in the target user's login class if there is one" +msgstr "Użycie ustawień domyślnych z klasy logowania użytkownika docelowego (jeśli są)" + +#: plugins/sudoers/def_data.c:176 +msgid "Set the LOGNAME and USER environment variables" +msgstr "Ustawianie zmiennych środowiskowych LOGNAME i USER" + +#: plugins/sudoers/def_data.c:180 +msgid "Only set the effective uid to the target user, not the real uid" +msgstr "Ustawianie na użytkownika docelowego tylko efektywnego uid-a, nie rzeczywistego uid-a" + +#: plugins/sudoers/def_data.c:184 +msgid "Don't initialize the group vector to that of the target user" +msgstr "Pomijanie inicjalizacji wektora grup na grupy użytkownika docelowego" + +#: plugins/sudoers/def_data.c:188 +#, c-format +msgid "Length at which to wrap log file lines (0 for no wrap): %u" +msgstr "Długość, na której zawijać linie logu (0 bez zawijania): %u" + +#: plugins/sudoers/def_data.c:192 +#, c-format +msgid "Authentication timestamp timeout: %.1f minutes" +msgstr "Limit czasu znacznika uwierzytelniania (w minutach): %.1f" + +#: plugins/sudoers/def_data.c:196 +#, c-format +msgid "Password prompt timeout: %.1f minutes" +msgstr "Limit czasu pytania o hasło (w minutach): %.1f" + +#: plugins/sudoers/def_data.c:200 +#, c-format +msgid "Number of tries to enter a password: %u" +msgstr "Liczba prób wpisania hasła: %u" + +#: plugins/sudoers/def_data.c:204 +#, c-format +msgid "Umask to use or 0777 to use user's: 0%o" +msgstr "Wartość umask lub 0777, aby użyć wartości użytkownika: 0%o" + +#: plugins/sudoers/def_data.c:208 +#, c-format +msgid "Path to log file: %s" +msgstr "Ścieżka do pliku logu: %s" + +#: plugins/sudoers/def_data.c:212 +#, c-format +msgid "Path to mail program: %s" +msgstr "Ścieżka do programu mail: %s" + +#: plugins/sudoers/def_data.c:216 +#, c-format +msgid "Flags for mail program: %s" +msgstr "Flagi dla programu mail: %s" + +#: plugins/sudoers/def_data.c:220 +#, c-format +msgid "Address to send mail to: %s" +msgstr "Adres, na który mają być wysyłane listy: %s" + +#: plugins/sudoers/def_data.c:224 +#, c-format +msgid "Address to send mail from: %s" +msgstr "Adres, z którego mają być wysyłane listy: %s" + +#: plugins/sudoers/def_data.c:228 +#, c-format +msgid "Subject line for mail messages: %s" +msgstr "Temat wysyłanych listów: %s" + +#: plugins/sudoers/def_data.c:232 +#, c-format +msgid "Incorrect password message: %s" +msgstr "Komunikat o błędnym haśle: %s" + +#: plugins/sudoers/def_data.c:236 +#, c-format +msgid "Path to lecture status dir: %s" +msgstr "Ścieżka katalogu stanu instrukcji: %s" + +#: plugins/sudoers/def_data.c:240 +#, c-format +msgid "Path to authentication timestamp dir: %s" +msgstr "Ścieżka katalogu znaczników czasu uwierzytelniania: %s" + +#: plugins/sudoers/def_data.c:244 +#, c-format +msgid "Owner of the authentication timestamp dir: %s" +msgstr "Właściciel katalogu znaczników czasu uwierzytelniania: %s" + +#: plugins/sudoers/def_data.c:248 +#, c-format +msgid "Users in this group are exempt from password and PATH requirements: %s" +msgstr "Grupa, której użytkownicy są zwolnieni z wymagań dot. haseł i PATH: %s" + +#: plugins/sudoers/def_data.c:252 +#, c-format +msgid "Default password prompt: %s" +msgstr "Domyślne pytanie o hasło: %s" + +#: plugins/sudoers/def_data.c:256 +msgid "If set, passprompt will override system prompt in all cases." +msgstr "Czy passprompt ma być używane zamiast systemowego zapytania we wszystkich przypadkach" + +#: plugins/sudoers/def_data.c:260 +#, c-format +msgid "Default user to run commands as: %s" +msgstr "Domyślny użytkownik do uruchamiania poleceń: %s" + +#: plugins/sudoers/def_data.c:264 +#, c-format +msgid "Value to override user's $PATH with: %s" +msgstr "Wartość do podstawienia za $PATH użytkownika: %s" + +#: plugins/sudoers/def_data.c:268 +#, c-format +msgid "Path to the editor for use by visudo: %s" +msgstr "Ścieżka do edytora, który ma być używany przez visudo: %s" + +#: plugins/sudoers/def_data.c:272 +#, c-format +msgid "When to require a password for 'list' pseudocommand: %s" +msgstr "Kiedy ma być wymagane hasło dla pseudopolecenia 'list': %s" + +#: plugins/sudoers/def_data.c:276 +#, c-format +msgid "When to require a password for 'verify' pseudocommand: %s" +msgstr "Kiedy ma być wymagane hasło dla pseudopolecenia 'verify': %s" + +#: plugins/sudoers/def_data.c:280 +msgid "Preload the sudo_noexec library which replaces the exec functions" +msgstr "Wczesne załadowanie biblioteki sudo_noexec, zastępującej funkcje exec" + +#: plugins/sudoers/def_data.c:284 +msgid "If LDAP directory is up, do we ignore local sudoers file" +msgstr "Jeśli istnieje katalog LDAP, czy ignorować lokalny plik sudoers" + +#: plugins/sudoers/def_data.c:288 +#, c-format +msgid "File descriptors >= %d will be closed before executing a command" +msgstr "Deskryptory plików >= %d będą zamykane przed uruchomieniem polecenia" + +#: plugins/sudoers/def_data.c:292 +msgid "If set, users may override the value of \"closefrom\" with the -C option" +msgstr "Czy użytkownicy mogą zmieniać wartość \"closefrom\" opcją -C" + +#: plugins/sudoers/def_data.c:296 +msgid "Allow users to set arbitrary environment variables" +msgstr "Zezwolenie użytkownikom na ustawianie dowolnych zmiennych środowiskowych" + +#: plugins/sudoers/def_data.c:300 +msgid "Reset the environment to a default set of variables" +msgstr "Wyczyszczenie środowiska do domyślnego zbioru zmiennych" + +#: plugins/sudoers/def_data.c:304 +msgid "Environment variables to check for safety:" +msgstr "Zmienne środowiskowe do sprawdzania bezpieczeństwa:" + +#: plugins/sudoers/def_data.c:308 +msgid "Environment variables to remove:" +msgstr "Zmienne środowiskowe do usunięcia:" + +#: plugins/sudoers/def_data.c:312 +msgid "Environment variables to preserve:" +msgstr "Zmienne środowiskowe do zachowania:" + +#: plugins/sudoers/def_data.c:316 +#, c-format +msgid "SELinux role to use in the new security context: %s" +msgstr "Rola SELinuksa do używania w nowym kontekście bezpieczeństwa: %s" + +#: plugins/sudoers/def_data.c:320 +#, c-format +msgid "SELinux type to use in the new security context: %s" +msgstr "Typ SELinuksa do używania w nowym kontekście bezpieczeństwa: %s" + +#: plugins/sudoers/def_data.c:324 +#, c-format +msgid "Path to the sudo-specific environment file: %s" +msgstr "Ścieżka do pliku środowiska specyficznego dla sudo: %s" + +#: plugins/sudoers/def_data.c:328 +#, c-format +msgid "Path to the restricted sudo-specific environment file: %s" +msgstr "Ścieżka do pliku ograniczonego środowiska specyficznego dla sudo: %s" + +#: plugins/sudoers/def_data.c:332 +#, c-format +msgid "Locale to use while parsing sudoers: %s" +msgstr "Lokalizacja, jak ma być używana przy analizie pliku sudoers: %s" + +#: plugins/sudoers/def_data.c:336 +msgid "Allow sudo to prompt for a password even if it would be visible" +msgstr "Zezwolenie sudo na pytanie o hasło nawet gdyby miało być widoczne" + +#: plugins/sudoers/def_data.c:340 +msgid "Provide visual feedback at the password prompt when there is user input" +msgstr "Uwidocznienie wprowadzania hasła przez użytkownika w miarę wpisywania" + +#: plugins/sudoers/def_data.c:344 +msgid "Use faster globbing that is less accurate but does not access the filesystem" +msgstr "Użycie szybszych masek (glob) - mniej dokładnych, ale nie odwołujących się do systemu plików" + +#: plugins/sudoers/def_data.c:348 +msgid "The umask specified in sudoers will override the user's, even if it is more permissive" +msgstr "Wartość umask podana w sudoers ma zastąpić wartość użytkownika, nawet jeśli pozwala na więcej" + +#: plugins/sudoers/def_data.c:352 +msgid "Log user's input for the command being run" +msgstr "Logowanie wejścia użytkownika dla uruchamianych poleceń" + +#: plugins/sudoers/def_data.c:356 +msgid "Log the command's standard input if not connected to a terminal" +msgstr "Logowanie standardowego wejścia polecenia, jeśli nie jest podłączone do terminala" + +#: plugins/sudoers/def_data.c:360 +msgid "Log the user's terminal input for the command being run" +msgstr "Logowanie wejścia terminala użytkownika dla uruchamianych poleceń" + +#: plugins/sudoers/def_data.c:364 +msgid "Log the output of the command being run" +msgstr "Logowanie wyjścia z uruchamianych poleceń" + +#: plugins/sudoers/def_data.c:368 +msgid "Log the command's standard output if not connected to a terminal" +msgstr "Logowanie standardowego wyjścia polecenia, jeśli nie jest podłączone do terminala" + +#: plugins/sudoers/def_data.c:372 +msgid "Log the command's standard error if not connected to a terminal" +msgstr "Logowanie standardowego wyjścia błędów polecenia, jeśli nie jest podłączone do terminala" + +#: plugins/sudoers/def_data.c:376 +msgid "Log the terminal output of the command being run" +msgstr "Logowanie wyjścia terminala z uruchamianych poleceń" + +#: plugins/sudoers/def_data.c:380 +msgid "Compress I/O logs using zlib" +msgstr "Kompresja logów we/wy przy użyciu zliba" + +#: plugins/sudoers/def_data.c:384 +msgid "Always run commands in a pseudo-tty" +msgstr "Uruchamianie poleceń zawsze na pseudoterminalu" + +#: plugins/sudoers/def_data.c:388 +#, c-format +msgid "Plugin for non-Unix group support: %s" +msgstr "Wtyczka do obsługi grup nieuniksowych: %s" + +#: plugins/sudoers/def_data.c:392 +#, c-format +msgid "Directory in which to store input/output logs: %s" +msgstr "Katalog do zapisu logów wejścia/wyjścia: %s" + +#: plugins/sudoers/def_data.c:396 +#, c-format +msgid "File in which to store the input/output log: %s" +msgstr "Plik do zapisu logu wejścia/wyjścia: %s" + +#: plugins/sudoers/def_data.c:400 +msgid "Add an entry to the utmp/utmpx file when allocating a pty" +msgstr "Dodawanie wpisu do pliku utmp/utmpx przy przydzielaniu pty" + +#: plugins/sudoers/def_data.c:404 +msgid "Set the user in utmp to the runas user, not the invoking user" +msgstr "Ustawianie użytkownika w utmp jako docelowego, nie wywołującego" + +#: plugins/sudoers/def_data.c:408 +#, c-format +msgid "Set of permitted privileges: %s" +msgstr "Zbiór dozwolonych uprawnień: %s" + +#: plugins/sudoers/def_data.c:412 +#, c-format +msgid "Set of limit privileges: %s" +msgstr "Zbiór ograniczonych uprawnień: %s" + +#: plugins/sudoers/def_data.c:416 +msgid "Run commands on a pty in the background" +msgstr "Uruchomienie poleceń na pseudoterminalu w tle" + +#: plugins/sudoers/def_data.c:420 +#, c-format +msgid "PAM service name to use: %s" +msgstr "Nazwa usługi PAM do użycia: %s" + +#: plugins/sudoers/def_data.c:424 +#, c-format +msgid "PAM service name to use for login shells: %s" +msgstr "Nazwa usługi PAM do użycia dla powłok logowania: %s" + +#: plugins/sudoers/def_data.c:428 +#, c-format +msgid "PAM service name to use when sudo is run with the -A option: %s" +msgstr "Nazwa usługi PAM do użycia, kiedy sudo jest uruchomione z opcją -A: %s" + +#: plugins/sudoers/def_data.c:432 +msgid "Attempt to establish PAM credentials for the target user" +msgstr "Próba ustanowienia danych uwierzytelniających PAM dla użytkownika docelowego" + +#: plugins/sudoers/def_data.c:436 +msgid "Create a new PAM session for the command to run in" +msgstr "Utworzenie nowej sesji PAM dla uruchamianego polecenia" + +#: plugins/sudoers/def_data.c:440 +msgid "Perform PAM account validation management" +msgstr "Wykonanie zarządzania poprawnością konta PAM" + +#: plugins/sudoers/def_data.c:444 +#, c-format +msgid "Maximum I/O log sequence number: %s" +msgstr "Maksymalny numer sekwencji logu we/wy: %s" + +#: plugins/sudoers/def_data.c:448 +msgid "Enable sudoers netgroup support" +msgstr "Włączenie obsługi grup sieciowych w sudoers" + +#: plugins/sudoers/def_data.c:452 +msgid "Check parent directories for writability when editing files with sudoedit" +msgstr "Sprawdzanie katalogów nadrzędnych pod kątem możliwości zapisu przy edycji plików programem sudoedit" + +#: plugins/sudoers/def_data.c:456 +msgid "Follow symbolic links when editing files with sudoedit" +msgstr "Podążanie za dowiązaniami symbolicznymi przy edycji programem sudoedit" + +#: plugins/sudoers/def_data.c:460 +msgid "Query the group plugin for unknown system groups" +msgstr "Odpytanie wtyczki group pod kątem nieznanych grup systemowych" + +#: plugins/sudoers/def_data.c:464 +msgid "Match netgroups based on the entire tuple: user, host and domain" +msgstr "Dopasowanie grup sieciowych w oparciu o całą krotkę: użytkownik, host i domena" + +#: plugins/sudoers/def_data.c:468 +msgid "Allow commands to be run even if sudo cannot write to the audit log" +msgstr "Zezwolenie na uruchamianie poleceń nawet jeśli sudo nie może pisać do logu audytowego" + +#: plugins/sudoers/def_data.c:472 +msgid "Allow commands to be run even if sudo cannot write to the I/O log" +msgstr "Zezwolenie na uruchamianie poleceń nawet jeśli sudo nie może pisać do logu we/wy" + +#: plugins/sudoers/def_data.c:476 +msgid "Allow commands to be run even if sudo cannot write to the log file" +msgstr "Zezwolenie na uruchamianie poleceń nawet jeśli sudo nie może pisać do pliku logu" + +#: plugins/sudoers/def_data.c:480 +msgid "Resolve groups in sudoers and match on the group ID, not the name" +msgstr "Rozwiązanie grup z sudoers i dopasowywanie po ID grupy zamiast nazwy" + +#: plugins/sudoers/def_data.c:484 +#, c-format +msgid "Log entries larger than this value will be split into multiple syslog messages: %u" +msgstr "Wpisy logu większe niż ta wartość będą dzielone na wiele wiadomości sysloga: %u" + +#: plugins/sudoers/def_data.c:488 +#, c-format +msgid "User that will own the I/O log files: %s" +msgstr "Użytkownik, który będzie właścicielem plików logu we/wy: %s" + +#: plugins/sudoers/def_data.c:492 +#, c-format +msgid "Group that will own the I/O log files: %s" +msgstr "Grupa, która będzie właścicielem plików logu we/wy: %s" + +#: plugins/sudoers/def_data.c:496 +#, c-format +msgid "File mode to use for the I/O log files: 0%o" +msgstr "Uprawnienia dla plików logu we/wy: 0%o" + +#: plugins/sudoers/def_data.c:500 +#, c-format +msgid "Execute commands by file descriptor instead of by path: %s" +msgstr "Uruchomienie poleceń poprzez deskryptor pliku zamiast ścieżki: %s" + +#: plugins/sudoers/def_data.c:504 +msgid "Ignore unknown Defaults entries in sudoers instead of producing a warning" +msgstr "Ignorowanie nieznanych wpisów Defaults w sudoers zamiast ostrzeżenia" + +#: plugins/sudoers/def_data.c:508 +#, c-format +msgid "Time in seconds after which the command will be terminated: %u" +msgstr "Czas w sekundach, po którym polecenie będzie kończone: %u" + +#: plugins/sudoers/def_data.c:512 +msgid "Allow the user to specify a timeout on the command line" +msgstr "Zezwolenie użytkownikowi na określenie limitu czasu z linii poleceń" + +#: plugins/sudoers/def_data.c:516 +msgid "Flush I/O log data to disk immediately instead of buffering it" +msgstr "Natychmiastowy zrzut danych logu we/wy na dysk zamiast buforowania" + +#: plugins/sudoers/def_data.c:520 +msgid "Include the process ID when logging via syslog" +msgstr "Dołączanie identyfikatora procesu przy logowaniu przez syslog" + +#: plugins/sudoers/def_data.c:524 +#, c-format +msgid "Type of authentication timestamp record: %s" +msgstr "Rodzaj rekordu znacznika czasu uwierzytelniania: %s" + +#: plugins/sudoers/def_data.c:528 +#, c-format +msgid "Authentication failure message: %s" +msgstr "Komunikat błędu uwierzytelnienia: %s" + +#: plugins/sudoers/def_data.c:532 +msgid "Ignore case when matching user names" +msgstr "Ignorowanie wielkości liter przy dopasowywaniu nazw użytkownika" + +#: plugins/sudoers/def_data.c:536 +msgid "Ignore case when matching group names" +msgstr "Ignorowanie wielkości liter przy dopasowywaniu nazw grup" + +#: plugins/sudoers/def_data.c:540 +msgid "Log when a command is allowed by sudoers" +msgstr "Logowanie kiedy polecenie jest dozwolone przez sudoers" + +#: plugins/sudoers/def_data.c:544 +msgid "Log when a command is denied by sudoers" +msgstr "Logowanie kiedy polecenie jest zabronione przez sudoers" + +#: plugins/sudoers/def_data.c:548 +msgid "Sudo log server(s) to connect to with optional port" +msgstr "Serwer(y) logów sudo do połączenia, z opcjonalnym portem" + +#: plugins/sudoers/def_data.c:552 +#, c-format +msgid "Sudo log server timeout in seconds: %u" +msgstr "Limit czasu serwera logów sudo w sekundach: %u" + +#: plugins/sudoers/def_data.c:556 +msgid "Enable SO_KEEPALIVE socket option on the socket connected to the logserver" +msgstr "Włączenie opcji gniazda SO_KEEPALIVE na gnieździe połączonym z serwerem logów" + +#: plugins/sudoers/def_data.c:560 +#, c-format +msgid "Path to the audit server's CA bundle file: %s" +msgstr "Ścieżka do pliku paczki CA serwera audytu: %s" + +#: plugins/sudoers/def_data.c:564 +#, c-format +msgid "Path to the sudoers certificate file: %s" +msgstr "Ścieżka do pliku certyfikatu sudoers: %s" + +#: plugins/sudoers/def_data.c:568 +#, c-format +msgid "Path to the sudoers private key file: %s" +msgstr "Ścieżka do pliku klucza prywatnego sudoers: %s" + +#: plugins/sudoers/def_data.c:572 +msgid "Verify that the log server's certificate is valid" +msgstr "Sprawdzenie poprawności certyfikatu serwera logów" + +#: plugins/sudoers/def_data.c:576 +msgid "Allow the use of unknown runas user and/or group ID" +msgstr "Zezwolenie na użycie nieznanego ID użytkownika i/lub grupy runas" + +#: plugins/sudoers/def_data.c:580 +msgid "Only permit running commands as a user with a valid shell" +msgstr "Zezwolenie na uruchamianie poleceń tylko jako użytkownik z prawidłową powłoką" + +#: plugins/sudoers/def_data.c:584 +msgid "Set the pam remote user to the user running sudo" +msgstr "Ustawienie użytkownika zdalnego PAM na użytkownika uruchamiającego sudo" + +#: plugins/sudoers/def_data.c:588 +msgid "Set the pam remote host to the local host name" +msgstr "Ustawienie hosta zdalnego PAM nazwę hosta lokalnego" + +#: plugins/sudoers/def_data.c:592 +#, c-format +msgid "Working directory to change to before executing the command: %s" +msgstr "Katalog roboczy do zmiany przed uruchomieniem polecenia: %s" + +#: plugins/sudoers/def_data.c:596 +#, c-format +msgid "Root directory to change to before executing the command: %s" +msgstr "Katalog główny do zmiany przed uruchomieniem polecenia: %s" + +#: plugins/sudoers/def_data.c:600 +#, c-format +msgid "The format of logs to produce: %s" +msgstr "Format logów do tworzenia: %s" + +#: plugins/sudoers/def_data.c:604 +msgid "Enable SELinux RBAC support" +msgstr "Włączenie obsługi RBAC SELinux" + +#: plugins/sudoers/def_data.c:608 +#, c-format +msgid "Path to the file that is created the first time sudo is run: %s" +msgstr "Ścieżka do pliku tworzonego przy pierwszym uruchomieniu sudo: %s" + +#: plugins/sudoers/def_data.c:612 +msgid "Intercept further commands and apply sudoers restrictions to them" +msgstr "Przechwycenie dalszych poleceń i zastosowanie do nich restrykcji sudoers" + +#: plugins/sudoers/def_data.c:616 +msgid "Log sub-commands run by the original command" +msgstr "Logowanie podpoleceń uruchamianych przez pierwotne polecenie" + +#: plugins/sudoers/def_data.c:620 +msgid "Log the exit status of commands" +msgstr "Logowanie stanu wyjścia poleceń" + +#: plugins/sudoers/def_data.c:624 +msgid "Subsequent commands in an intercepted session must be authenticated" +msgstr "Dalsze polecenia w przechwyconej sesji muszą być uwierzytelniane" + +#: plugins/sudoers/def_data.c:628 +msgid "Allow an intercepted command to run set setuid or setgid programs" +msgstr "Zezwolenie na uruchamianie programów setuid lub setgid z przechwyconego polecenia" + +#: plugins/sudoers/def_data.c:632 +#, c-format +msgid "The maximum size to which the process's address space may grow (in bytes): %s" +msgstr "Maksymalny rozmiar, do jakiego może rosnąć przestrzeń adresowa procesu (w bajtach): %s" + +#: plugins/sudoers/def_data.c:636 +#, c-format +msgid "The largest size core dump file that may be created (in bytes): %s" +msgstr "Maksymalny rozmiar pliku core, jaki może być utworzony (w bajtach): %s" + +#: plugins/sudoers/def_data.c:640 +#, c-format +msgid "The maximum amount of CPU time that the process may use (in seconds): %s" +msgstr "Maksymalna ilość czasu CPU, jaką proces może użyć (w sekundach): %s" + +#: plugins/sudoers/def_data.c:644 +#, c-format +msgid "The maximum size of the data segment for the process (in bytes): %s" +msgstr "Maksymalny rozmiar segmentu danych procesu (w bajtach): %s" + +#: plugins/sudoers/def_data.c:648 +#, c-format +msgid "The largest size file that the process may create (in bytes): %s" +msgstr "Maksymalny rozmiar pliku, jaki proces może utworzyć (w bajtach): %s" + +#: plugins/sudoers/def_data.c:652 +#, c-format +msgid "The maximum number of locks that the process may establish: %s" +msgstr "Maksymalna liczba blokad, jaką proces może ustanowić: %s" + +#: plugins/sudoers/def_data.c:656 +#, c-format +msgid "The maximum size that the process may lock in memory (in bytes): %s" +msgstr "Maksymalny rozmiar, jaki proces może zablokować w pamięci (w bajtach): %s" + +#: plugins/sudoers/def_data.c:660 +#, c-format +msgid "The maximum number of files that the process may have open: %s" +msgstr "Maksymalna liczba plików, jaką proces może mieć otwartych: %s" + +#: plugins/sudoers/def_data.c:664 +#, c-format +msgid "The maximum number of processes that the user may run simultaneously: %s" +msgstr "Maksymalna liczba procesów, jaką użytkownik może jednocześnie uruchomić: %s" + +#: plugins/sudoers/def_data.c:668 +#, c-format +msgid "The maximum size to which the process's resident set size may grow (in bytes): %s" +msgstr "Maksymalny rozmiar, do jakiego może urosnąć rozmiar rezydentny procesu (w bajtach): %s" + +#: plugins/sudoers/def_data.c:672 +#, c-format +msgid "The maximum size to which the process's stack may grow (in bytes): %s" +msgstr "Maksymalny rozmiar, do jakiego może urosnąć stos procesu (w bajtach): %s" + +#: plugins/sudoers/def_data.c:676 +msgid "Attempt authentication even when in non-interactive mode" +msgstr "Próba uwierzytelnienia nawet w trybie nieinteraktywnym" + +#: plugins/sudoers/def_data.c:680 +msgid "Store plaintext passwords in I/O log input" +msgstr "Zapisywanie haseł czystym tekstwem na wejściu/wyjściu logu" + +#: plugins/sudoers/def_data.c:684 +msgid "List of regular expressions to use when matching a password prompt" +msgstr "Lista wyrażeń regularnych do użycia przy dopasowywania pytania o hasło" + +#: plugins/sudoers/def_data.c:688 +#, c-format +msgid "The mechanism used by the intercept and log_subcmds options: %s" +msgstr "Mechanizm używany przez opcje intercept i log_subcmds: %s" + +#: plugins/sudoers/def_data.c:692 +msgid "Attempt to verify the command and arguments after execution" +msgstr "Próba weryfikacji polecenia i argumentów po uruchomieniu" + +#: plugins/sudoers/def_data.c:696 +#, c-format +msgid "AppArmor profile to use in the new security context: %s" +msgstr "Profil AppArmor do użycia w nowym kontekście bezpieczeństwa: %s" + +#: plugins/sudoers/defaults.c:191 +#, c-format +msgid "unknown defaults entry \"%s\"" +msgstr "nieznany wpis domyślny \"%s\"" + +#: plugins/sudoers/defaults.c:234 +#, c-format +msgid "no value specified for \"%s\"" +msgstr "nie podano wartości dla \"%s\"" + +#: plugins/sudoers/defaults.c:243 +#, c-format +msgid "invalid operator \"%c=\" for \"%s\"" +msgstr "błędny operator \"%c=\" dla \"%s\"" + +#: plugins/sudoers/defaults.c:275 +#, c-format +msgid "option \"%s\" does not take a value" +msgstr "opcja \"%s\" nie przyjmuje wartości" + +#: plugins/sudoers/defaults.c:299 +#, c-format +msgid "invalid Defaults type 0x%x for option \"%s\"" +msgstr "błędny typ Defaults 0x%x dla opcji \"%s\"" + +#: plugins/sudoers/defaults.c:306 +#, c-format +msgid "value \"%s\" is invalid for option \"%s\"" +msgstr "błędna wartość \"%s\" dla opcji \"%s\"" + +#: plugins/sudoers/defaults.c:1128 plugins/sudoers/policy.c:210 +#: plugins/sudoers/policy.c:219 +#, c-format +msgid "path name for \"%s\" too long" +msgstr "ścieżka pliku \"%s\" zbyt długa" + +#: plugins/sudoers/defaults.c:1134 +#, c-format +msgid "values for \"%s\" must start with a '/', '~', or '*'" +msgstr "wartości \"%s\" muszą zaczynać się od '/', '~' lub '*'" + +#: plugins/sudoers/defaults.c:1141 +#, c-format +msgid "values for \"%s\" must start with a '/'" +msgstr "wartości \"%s\" muszą zaczynać się od '/'" + +#: plugins/sudoers/editor.c:180 +#, c-format +msgid "ignoring editor: %.*s" +msgstr "zignorowano edytor: %.*s" + +#: plugins/sudoers/editor.c:181 +msgid "editor arguments may not contain \"--\"" +msgstr "argumenty edytora nie mogą zawierać \"--\"" + +#: plugins/sudoers/env.c:426 +msgid "sudo_putenv: corrupted envp, length mismatch" +msgstr "sudo_putenv: uszkodzone envp, niezgodność długości" + +#: plugins/sudoers/env.c:1113 +msgid "unable to rebuild the environment" +msgstr "nie udało się przebudować środowiska" + +#: plugins/sudoers/env.c:1192 +#, c-format +msgid "sorry, you are not allowed to set the following environment variables: %s" +msgstr "niestety nie jest dozwolone ustawianie następujących zmiennych środowiskowych: %s" + +#: plugins/sudoers/filedigest.c:49 +#, c-format +msgid "unsupported digest type %d for %s" +msgstr "nieobsługiwany typ skrótu %d dla %s" + +#: plugins/sudoers/filedigest.c:78 +#, c-format +msgid "%s: read error" +msgstr "%s: błąd odczytu" + +#: plugins/sudoers/group_plugin.c:169 plugins/sudoers/sssd.c:576 +#, c-format +msgid "unable to load %s: %s" +msgstr "nie udało się załadować %s: %s" + +#: plugins/sudoers/group_plugin.c:181 +#, c-format +msgid "unable to find symbol \"group_plugin\" in %s" +msgstr "nie udało się odnaleźć symbolu \"group_plugin\" w %s" + +#: plugins/sudoers/group_plugin.c:186 +#, c-format +msgid "%s: incompatible group plugin major version %d, expected %d" +msgstr "%s: niezgodna główna wersja wtyczki grup %d, oczekiwano %d" + +#: plugins/sudoers/interfaces.c:76 plugins/sudoers/interfaces.c:93 +#, c-format +msgid "unable to parse IP address \"%s\"" +msgstr "nie udało się przeanalizować adresu IP \"%s\"" + +#: plugins/sudoers/interfaces.c:81 plugins/sudoers/interfaces.c:98 +#, c-format +msgid "unable to parse netmask \"%s\"" +msgstr "nie udało się przeanalizować maski sieciowej \"%s\"" + +#: plugins/sudoers/interfaces.c:126 +msgid "Local IP address and netmask pairs:\n" +msgstr "Pary lokalnych adresów IP i masek:\n" + +#: plugins/sudoers/iolog.c:685 +msgid "unable to update sequence file" +msgstr "nie udało się uaktualnić pliku sekwencji" + +#: plugins/sudoers/iolog.c:719 plugins/sudoers/iolog.c:907 +#: plugins/sudoers/iolog.c:1069 plugins/sudoers/iolog.c:1076 +#: plugins/sudoers/iolog.c:1197 plugins/sudoers/iolog.c:1204 +#: plugins/sudoers/iolog.c:1303 plugins/sudoers/iolog.c:1310 +#, c-format +msgid "unable to write to I/O log file: %s" +msgstr "nie udało się zapisać do pliku logu we/wy: %s" + +#: plugins/sudoers/iolog.c:727 +#, c-format +msgid "unable to create %s/%s" +msgstr "nie udało się utworzyć %s/%s" + +#: plugins/sudoers/iolog.c:955 +#, c-format +msgid "%s: internal error, I/O log file for event %d not open" +msgstr "%s: błąd wewnętrzny, plik logu we/wy dla zdarzenia %d nie jest otwarty" + +#: plugins/sudoers/iolog.c:1054 plugins/sudoers/iolog.c:1182 +#: plugins/sudoers/iolog.c:1287 plugins/sudoers/timestamp.c:879 +#: plugins/sudoers/timestamp.c:971 plugins/sudoers/visudo.c:556 +#: plugins/sudoers/visudo.c:562 +msgid "unable to read the clock" +msgstr "nie udało się odczytać zegara" + +#: plugins/sudoers/iolog.c:1279 plugins/sudoers/log_client.c:1192 +#: plugins/sudoers/log_client.c:1202 plugins/sudoers/log_client.c:1206 +#, c-format +msgid "%s: internal error, invalid signal %d" +msgstr "%s: błąd wewnętrzny, błędny sygnał %d" + +#: plugins/sudoers/ldap.c:177 plugins/sudoers/ldap_conf.c:292 +msgid "starttls not supported when using ldaps" +msgstr "brak obsługi starttls w przypadku użycia ldaps" + +#: plugins/sudoers/ldap.c:248 +#, c-format +msgid "unable to initialize SSL cert and key db: %s" +msgstr "nie udało się zainicjować bazy certyfikatów i kluczy SSL: %s" + +#: plugins/sudoers/ldap.c:251 +#, c-format +msgid "you must set TLS_CERT in %s to use SSL" +msgstr "aby używać SSL, trzeba ustawić TLS_CERT w %s" + +#: plugins/sudoers/ldap.c:1714 +#, c-format +msgid "unable to initialize LDAP: %s" +msgstr "nie udało się zainicjować LDAP: %s" + +#: plugins/sudoers/ldap.c:1751 +msgid "start_tls specified but LDAP libs do not support ldap_start_tls_s() or ldap_start_tls_s_np()" +msgstr "wybrano start_tls, ale biblioteki LDAP nie obsługują ldap_start_tls_s() ani ldap_start_tls_s_np()" + +#: plugins/sudoers/ldap.c:1888 plugins/sudoers/parse_ldif.c:748 +#, c-format +msgid "invalid sudoOrder attribute: %s" +msgstr "błędny atrybut sudoOrder: %s" + +#: plugins/sudoers/ldap_conf.c:200 +#, c-format +msgid "%s: port too large" +msgstr "%s: za duży numer portu" + +#: plugins/sudoers/ldap_conf.c:261 +#, c-format +msgid "unsupported LDAP uri type: %s" +msgstr "nieobsługiwany rodzaj URI LDAP: %s" + +#: plugins/sudoers/ldap_conf.c:288 +msgid "unable to mix ldap and ldaps URIs" +msgstr "nie można mieszać URI ldap i ldaps" + +#: plugins/sudoers/ldap_util.c:499 plugins/sudoers/ldap_util.c:506 +#: plugins/sudoers/ldap_util.c:514 plugins/sudoers/ldap_util.c:523 +#: plugins/sudoers/ldap_util.c:531 plugins/sudoers/ldap_util.c:541 +#: plugins/sudoers/ldap_util.c:549 +#, c-format +msgid "duplicate sudoOption: %s%s%s" +msgstr "powtórka sudoOption: %s%s%s" + +#: plugins/sudoers/ldap_util.c:568 plugins/sudoers/ldap_util.c:570 +#, c-format +msgid "unable to convert sudoOption: %s%s%s" +msgstr "nie można skonwertować sudoOption: %s%s%s" + +#: plugins/sudoers/linux_audit.c:58 plugins/sudoers/linux_audit.c:60 +msgid "unable to open audit system" +msgstr "nie udało się otworzyć systemu audytowego" + +#: plugins/sudoers/linux_audit.c:103 +msgid "unable to send audit message" +msgstr "nie udało się wysłać komunikatu audytowego" + +#: plugins/sudoers/log_client.c:125 plugins/sudoers/log_client.c:412 +#: plugins/sudoers/log_client.c:1439 plugins/sudoers/log_client.c:2055 +msgid "error in event loop" +msgstr "błąd w pętli zdarzeń" + +#: plugins/sudoers/log_client.c:205 +#, c-format +msgid "Creation of new SSL_CTX object failed: %s" +msgstr "Utworzenie nowego obiektu SSL_CTX nie powiodło się: %s" + +#: plugins/sudoers/log_client.c:230 +#, c-format +msgid "unable to load certificate authority bundle %s" +msgstr "nie udało się załadować paczki certyfikatów CA %s" + +#: plugins/sudoers/log_client.c:252 +#, c-format +msgid "unable to load certificate %s" +msgstr "nie udało się załadować certyfikatu %s" + +#: plugins/sudoers/log_client.c:266 +#, c-format +msgid "unable to load private key %s" +msgstr "nie udało się załadować klucza prywatnego %s" + +#: plugins/sudoers/log_client.c:275 +#, c-format +msgid "Unable to allocate ssl object: %s" +msgstr "Nie udało się przydzielić obiektu SSL: %s" + +#: plugins/sudoers/log_client.c:364 plugins/sudoers/log_client.c:369 +#, c-format +msgid "TLS connection to %s:%s failed: %s" +msgstr "Połączenie TLS do %s:%s nie powiodło się: %s" + +#: plugins/sudoers/log_client.c:543 +msgid "TLS initialization was unsuccessful" +msgstr "Inicjowanie TLS nie powiodło się" + +#: plugins/sudoers/log_client.c:553 +msgid "TLS handshake was unsuccessful" +msgstr "Powitanie TLS nie powiodło się" + +#: plugins/sudoers/log_client.c:1210 +#, c-format +msgid "%s: internal error, invalid exit status %d" +msgstr "%s: błąd wewnętrzny, błędny kod wyjścia %d" + +#: plugins/sudoers/log_client.c:1739 plugins/sudoers/log_client.c:1763 +msgid "lost connection to log server" +msgstr "utracono połączenie z serwerem logów" + +#: plugins/sudoers/log_client.c:1840 +msgid "missing write buffer" +msgstr "brak bufora zapisu" + +#: plugins/sudoers/log_client.c:1994 +msgid "unable to connect to log server" +msgstr "nie udało się połączyć z serwerem logów" + +#: plugins/sudoers/logging.c:290 +msgid "user NOT in sudoers" +msgstr "użytkownik NIE występuje w sudoers" + +#: plugins/sudoers/logging.c:292 +msgid "user NOT authorized on host" +msgstr "użytkownik NIE jest autoryzowany na hoście" + +#: plugins/sudoers/logging.c:294 +msgid "command not allowed" +msgstr "polecenie niedozwolone" + +#: plugins/sudoers/logging.c:315 +#, c-format +msgid "%s is not in the sudoers file.\n" +msgstr "%s nie jest w pliku sudoers.\n" + +#: plugins/sudoers/logging.c:318 +#, c-format +msgid "%s is not allowed to run sudo on %s.\n" +msgstr "%s nie ma uprawnień do uruchamiania sudo na %s.\n" + +#: plugins/sudoers/logging.c:321 +#, c-format +msgid "Sorry, user %s may not run sudo on %s.\n" +msgstr "Niestety użytkownik %s nie może uruchamiać sudo na %s.\n" + +#: plugins/sudoers/logging.c:324 +#, c-format +msgid "Sorry, user %s is not allowed to execute '%s%s%s' as %s%s%s on %s.\n" +msgstr "Niestety użytkownik %s nie ma uprawnień do uruchamiania '%s%s%s' jako %s%s%s na %s.\n" + +#: plugins/sudoers/logging.c:334 +msgid "This incident has been reported to the administrator.\n" +msgstr "Ten incydent został zgłoszony do administratora.\n" + +#: plugins/sudoers/logging.c:369 plugins/sudoers/sudoers.c:655 +#: plugins/sudoers/sudoers.c:657 plugins/sudoers/sudoers.c:659 +#: plugins/sudoers/sudoers.c:661 plugins/sudoers/sudoers.c:816 +#: plugins/sudoers/sudoers.c:818 +#, c-format +msgid "%s: command not found" +msgstr "%s: nie znaleziono polecenia" + +#: plugins/sudoers/logging.c:371 plugins/sudoers/sudoers.c:651 +#, c-format +msgid "" +"ignoring \"%s\" found in '.'\n" +"Use \"sudo ./%s\" if this is the \"%s\" you wish to run." +msgstr "" +"zignorowano plik \"%s\" znaleziony w '.'\n" +"Proszę użyć \"sudo ./%s\", jeśli to \"%s\" ma być uruchomiony." + +#: plugins/sudoers/logging.c:391 +#, c-format +msgid "%u incorrect password attempt" +msgid_plural "%u incorrect password attempts" +msgstr[0] "%u błędna próba wprowadzenia hasła" +msgstr[1] "%u błędne próby wprowadzenia hasła" +msgstr[2] "%u błędnych prób wprowadzenia hasła" + +#: plugins/sudoers/logging.c:481 +msgid "authentication failure" +msgstr "błąd uwierzytelniania" + +#: plugins/sudoers/logging.c:520 plugins/sudoers/logging.c:539 +msgid "a password is required" +msgstr "wymagane jest hasło" + +#: plugins/sudoers/logging.c:803 plugins/sudoers/logging.c:815 +msgid "problem parsing sudoers" +msgstr "problem przy analizie pliku sudoers" + +#: plugins/sudoers/logging.c:877 plugins/sudoers/logging.c:889 +#, c-format +msgid "%s:%d:%d: %s" +msgstr "%s:%d:%d: %s" + +#: plugins/sudoers/logging.c:1066 +#, c-format +msgid "unable to write log file: %s" +msgstr "nie udało się zapisać pliku logu: %s" + +#: plugins/sudoers/match_digest.c:112 +#, c-format +msgid "digest for %s (%s) bad length %zu, expected %zu" +msgstr "skrót dla %s (%s) ma błędną długość %zu, oczekiwano %zu" + +#: plugins/sudoers/match_digest.c:131 +#, c-format +msgid "digest for %s (%s) is not in %s form" +msgstr "skrót dla %s (%s) nie jest w postaci %s" + +#: plugins/sudoers/parse.c:631 +#, c-format +msgid "" +"\n" +"LDAP Role: %s\n" +msgstr "" +"\n" +"Rola LDAP: %s\n" + +#: plugins/sudoers/parse.c:634 +msgid "" +"\n" +"Sudoers entry:\n" +msgstr "" +"\n" +"Wpis sudoers:\n" + +#: plugins/sudoers/parse.c:636 +msgid " RunAsUsers: " +msgstr " Jako użytkownicy: " + +#: plugins/sudoers/parse.c:651 +msgid " RunAsGroups: " +msgstr " Jako grupy: " + +#: plugins/sudoers/parse.c:661 +msgid " Options: " +msgstr " Opcje: " + +#: plugins/sudoers/parse.c:725 +msgid " Commands:\n" +msgstr " Polecenia:\n" + +#: plugins/sudoers/parse.c:916 +#, c-format +msgid "Matching Defaults entries for %s on %s:\n" +msgstr "Pasujące wpisy Defaults dla %s na %s:\n" + +#: plugins/sudoers/parse.c:934 +#, c-format +msgid "Runas and Command-specific defaults for %s:\n" +msgstr "Wartości specyficzne dla Runas i Command dla %s:\n" + +#: plugins/sudoers/parse.c:952 +#, c-format +msgid "User %s may run the following commands on %s:\n" +msgstr "Użytkownik %s może uruchamiać na %s następujące polecenia:\n" + +#: plugins/sudoers/parse.c:967 +#, c-format +msgid "User %s is not allowed to run sudo on %s.\n" +msgstr "Użytkownik %s nie ma uprawnień do uruchamiania sudo na %s.\n" + +#: plugins/sudoers/parse_ldif.c:618 +#, c-format +msgid "ignoring incomplete sudoRole: cn: %s" +msgstr "zignorowano niekompletne sudoRole: cn: %s" + +#: plugins/sudoers/parse_ldif.c:678 +#, c-format +msgid "invalid LDIF attribute: %s" +msgstr "błędny atrybut LDIF: %s" + +#: plugins/sudoers/policy.c:82 plugins/sudoers/policy.c:113 +#, c-format +msgid "invalid %.*s set by sudo front-end" +msgstr "błędna wartość %.*s ustawiona przez frontend sudo" + +#: plugins/sudoers/policy.c:360 plugins/sudoers/testsudoers.c:268 +msgid "unable to parse network address list" +msgstr "nie udało się przeanalizować listy adresów sieciowych" + +#: plugins/sudoers/policy.c:528 +msgid "user name not set by sudo front-end" +msgstr "nazwa użytkownika nie ustawiona przez frontend sudo" + +#: plugins/sudoers/policy.c:532 +msgid "user-ID not set by sudo front-end" +msgstr "ID użytkownika nie ustawiony przez frontend sudo" + +#: plugins/sudoers/policy.c:536 +msgid "group-ID not set by sudo front-end" +msgstr "ID grupy nie ustawiony przez frontend sudo" + +#: plugins/sudoers/policy.c:540 +msgid "host name not set by sudo front-end" +msgstr "nazwa hosta nie ustawiona przez frontend sudo" + +#: plugins/sudoers/policy.c:737 +#, c-format +msgid "invalid working directory: %s" +msgstr "błędny katalog roboczy: %s" + +#: plugins/sudoers/policy.c:921 +#, c-format +msgid "invalid chroot directory: %s" +msgstr "błędny katalog chroot: %s" + +#: plugins/sudoers/policy.c:1108 plugins/sudoers/visudo.c:259 +#: plugins/sudoers/visudo.c:906 +#, c-format +msgid "unable to execute %s" +msgstr "nie udało się wywołać %s" + +#: plugins/sudoers/policy.c:1178 plugins/sudoers/policy.c:1215 +#: plugins/sudoers/policy.c:1237 plugins/sudoers/policy.c:1263 +#, c-format +msgid "%s: invalid mode flags from sudo front end: 0x%x" +msgstr "%s: błędne flagi trybu z frontendu sudo: 0x%x" + +#: plugins/sudoers/policy.c:1299 +#, c-format +msgid "Sudoers policy plugin version %s\n" +msgstr "Wersja wtyczki polityki sudoers %s\n" + +#: plugins/sudoers/policy.c:1301 +#, c-format +msgid "Sudoers file grammar version %d\n" +msgstr "Wersja gramatyki pliku sudoers %d\n" + +#: plugins/sudoers/policy.c:1305 +#, c-format +msgid "" +"\n" +"Sudoers path: %s\n" +msgstr "" +"\n" +"Ścieżka do sudoers: %s\n" + +#: plugins/sudoers/policy.c:1308 +#, c-format +msgid "nsswitch path: %s\n" +msgstr "ścieżka do nsswitch: %s\n" + +#: plugins/sudoers/policy.c:1310 +#, c-format +msgid "ldap.conf path: %s\n" +msgstr "ścieżka do ldap.conf: %s\n" + +#: plugins/sudoers/policy.c:1311 +#, c-format +msgid "ldap.secret path: %s\n" +msgstr "ścieżka do ldap.secret: %s\n" + +#: plugins/sudoers/policy.c:1344 +#, c-format +msgid "unable to register hook of type %d (version %d.%d)" +msgstr "nie udało się zarejestrować uchwytu typu %d (wersja %d.%d)" + +#: plugins/sudoers/policy.c:1362 +#, c-format +msgid "unable to deregister hook of type %d (version %d.%d)" +msgstr "nie udało się wyrejestrować uchwytu typu %d (wersja %d.%d)" + +#: plugins/sudoers/pwutil.c:222 plugins/sudoers/pwutil.c:240 +#, c-format +msgid "unable to cache uid %u" +msgstr "nie udało się zapamiętać uid-a %u" + +#: plugins/sudoers/pwutil.c:234 +#, c-format +msgid "unable to cache uid %u, already exists" +msgstr "nie udało się zapamiętać uid-a %u, już istnieje" + +#: plugins/sudoers/pwutil.c:294 plugins/sudoers/pwutil.c:312 +#: plugins/sudoers/pwutil.c:375 plugins/sudoers/pwutil.c:420 +#, c-format +msgid "unable to cache user %s" +msgstr "nie udało się zapamiętać użytkownika %s" + +#: plugins/sudoers/pwutil.c:307 +#, c-format +msgid "unable to cache user %s, already exists" +msgstr "nie udało się zapamiętać użytkownika %s, już istnieje" + +#: plugins/sudoers/pwutil.c:539 plugins/sudoers/pwutil.c:557 +#, c-format +msgid "unable to cache gid %u" +msgstr "nie udało się zapamiętać gid-a %u" + +#: plugins/sudoers/pwutil.c:551 +#, c-format +msgid "unable to cache gid %u, already exists" +msgstr "nie udało się zapamiętać gid-a %u, już istnieje" + +#: plugins/sudoers/pwutil.c:605 plugins/sudoers/pwutil.c:623 +#: plugins/sudoers/pwutil.c:684 plugins/sudoers/pwutil.c:733 +#, c-format +msgid "unable to cache group %s" +msgstr "nie udało się zapamiętać grupy %s" + +#: plugins/sudoers/pwutil.c:618 +#, c-format +msgid "unable to cache group %s, already exists" +msgstr "nie udało się zapamiętać grupy %s, już istnieje" + +#: plugins/sudoers/pwutil.c:880 plugins/sudoers/pwutil.c:963 +#: plugins/sudoers/pwutil.c:1017 plugins/sudoers/pwutil.c:1071 +#, c-format +msgid "unable to cache group list for %s, already exists" +msgstr "nie udało się zapamiętać listy grup dla %s, już istnieje" + +#: plugins/sudoers/pwutil.c:886 plugins/sudoers/pwutil.c:968 +#: plugins/sudoers/pwutil.c:1023 plugins/sudoers/pwutil.c:1076 +#, c-format +msgid "unable to cache group list for %s" +msgstr "nie udało się zapamiętać listy grup dla %s" + +#: plugins/sudoers/pwutil.c:957 +#, c-format +msgid "unable to parse groups for %s" +msgstr "nie udało się przeanalizować grup dla %s" + +#: plugins/sudoers/pwutil.c:1065 +#, c-format +msgid "unable to parse gids for %s" +msgstr "nie udało się przeanalizować gidów dla %s" + +#: plugins/sudoers/set_perms.c:114 plugins/sudoers/set_perms.c:445 +#: plugins/sudoers/set_perms.c:852 plugins/sudoers/set_perms.c:1162 +#: plugins/sudoers/set_perms.c:1460 +msgid "perm stack overflow" +msgstr "przepełnienie stosu uprawnień" + +#: plugins/sudoers/set_perms.c:125 plugins/sudoers/set_perms.c:376 +#: plugins/sudoers/set_perms.c:456 plugins/sudoers/set_perms.c:719 +#: plugins/sudoers/set_perms.c:863 plugins/sudoers/set_perms.c:1086 +#: plugins/sudoers/set_perms.c:1173 plugins/sudoers/set_perms.c:1393 +#: plugins/sudoers/set_perms.c:1471 plugins/sudoers/set_perms.c:1562 +msgid "perm stack underflow" +msgstr "niedopełnienie stosu uprawnień" + +#: plugins/sudoers/set_perms.c:185 plugins/sudoers/set_perms.c:503 +#: plugins/sudoers/set_perms.c:1227 plugins/sudoers/set_perms.c:1505 +msgid "unable to change to root gid" +msgstr "nie udało się zmienić na gid roota" + +#: plugins/sudoers/set_perms.c:276 plugins/sudoers/set_perms.c:600 +#: plugins/sudoers/set_perms.c:995 plugins/sudoers/set_perms.c:1304 +msgid "unable to change to runas gid" +msgstr "nie udało się zmienić na docelowy gid" + +#: plugins/sudoers/set_perms.c:281 plugins/sudoers/set_perms.c:605 +#: plugins/sudoers/set_perms.c:1000 plugins/sudoers/set_perms.c:1309 +msgid "unable to set runas group vector" +msgstr "nie udało się ustawić wektora grup docelowych" + +#: plugins/sudoers/set_perms.c:292 plugins/sudoers/set_perms.c:616 +#: plugins/sudoers/set_perms.c:1009 plugins/sudoers/set_perms.c:1318 +msgid "unable to change to runas uid" +msgstr "nie udało się zmienić na docelowy uid" + +#: plugins/sudoers/set_perms.c:310 plugins/sudoers/set_perms.c:634 +#: plugins/sudoers/set_perms.c:1025 plugins/sudoers/set_perms.c:1334 +msgid "unable to change to sudoers gid" +msgstr "nie udało się zmienić na gid sudoers" + +#: plugins/sudoers/set_perms.c:363 plugins/sudoers/set_perms.c:706 +#: plugins/sudoers/set_perms.c:1073 plugins/sudoers/set_perms.c:1380 +#: plugins/sudoers/set_perms.c:1549 +msgid "too many processes" +msgstr "zbyt dużo procesów" + +#: plugins/sudoers/solaris_audit.c:61 +msgid "unable to get current working directory" +msgstr "nie udało się pobrać bieżącego katalogu roboczego" + +#: plugins/sudoers/solaris_audit.c:69 +#, c-format +msgid "truncated audit path user_cmnd: %s" +msgstr "ucięta ścieżka audytu user_cmnd: %s" + +#: plugins/sudoers/solaris_audit.c:76 +#, c-format +msgid "truncated audit path argv[0]: %s" +msgstr "ucięta ścieżka audytu argv[0]: %s" + +#: plugins/sudoers/sssd.c:579 +msgid "unable to initialize SSS source. Is SSSD installed on your machine?" +msgstr "nie udało się zainicjować źródła SSS. Czy SSSD jest zainstalowany na tej maszynie?" + +#: plugins/sudoers/sssd.c:587 plugins/sudoers/sssd.c:596 +#: plugins/sudoers/sssd.c:605 plugins/sudoers/sssd.c:614 +#: plugins/sudoers/sssd.c:623 +#, c-format +msgid "unable to find symbol \"%s\" in %s" +msgstr "nie udało się odnaleźć symbolu \"%s\" w %s" + +#: plugins/sudoers/sudoers.c:263 +#, c-format +msgid "unable to get defaults from %s" +msgstr "nie udało się pobrać wartości domyślnych z %s" + +#: plugins/sudoers/sudoers.c:270 +msgid "no valid sudoers sources found, quitting" +msgstr "nie znaleziono poprawnych źródeł sudoers, zakończenie" + +#: plugins/sudoers/sudoers.c:346 +#, c-format +msgid "user not allowed to change root directory to %s" +msgstr "użytkownik nie ma uprawnień do zmiany katalogu głównego na %s" + +#: plugins/sudoers/sudoers.c:348 +#, c-format +msgid "you are not permitted to use the -R option with %s" +msgstr "brak uprawnień do używania opcji -R z %s" + +#: plugins/sudoers/sudoers.c:373 +#, c-format +msgid "user not allowed to change directory to %s" +msgstr "użytkownik nie ma uprawnień do zmiany katalogu na %s" + +#: plugins/sudoers/sudoers.c:374 +#, c-format +msgid "you are not permitted to use the -D option with %s" +msgstr "brak uprawnień do używania opcji -D z %s" + +#: plugins/sudoers/sudoers.c:401 +msgid "no command specified" +msgstr "nie podano polecenia" + +#: plugins/sudoers/sudoers.c:426 +msgid "sudoers specifies that root is not allowed to sudo" +msgstr "wg sudoers root nie ma prawa używać sudo" + +#: plugins/sudoers/sudoers.c:483 +msgid "user not allowed to override closefrom limit" +msgstr "użytkownik nie ma pozwolenia na zmianę limitu closefrom" + +#: plugins/sudoers/sudoers.c:484 +msgid "you are not permitted to use the -C option" +msgstr "brak uprawnień do używania opcji -C" + +#: plugins/sudoers/sudoers.c:544 +#, c-format +msgid "timestamp owner (%s): No such user" +msgstr "właściciel znacznika czasu (%s): nie ma takiego użytkownika" + +#: plugins/sudoers/sudoers.c:559 +msgid "no tty" +msgstr "brak tty" + +#: plugins/sudoers/sudoers.c:560 +msgid "sorry, you must have a tty to run sudo" +msgstr "niestety do uruchomienia sudo konieczny jest tty" + +#: plugins/sudoers/sudoers.c:567 +#, c-format +msgid "invalid shell for user %s: %s" +msgstr "błędna powłoka użytkownika %s: %s" + +#: plugins/sudoers/sudoers.c:650 +msgid "command in current directory" +msgstr "polecenie w bieżącym katalogu" + +#: plugins/sudoers/sudoers.c:665 +msgid "\"cd\" is a shell built-in command, it cannot be run directly." +msgstr "\"cd\" to polecenie wbudowane powłoki, nie może być uruchomione bezpośrednio." + +#: plugins/sudoers/sudoers.c:667 +msgid "the -s option may be used to run a privileged shell." +msgstr "można użyć opcji -s do uruchomienia powłoki uprzywilejowanej." + +#: plugins/sudoers/sudoers.c:669 +msgid "the -D option may be used to run a command in a specific directory." +msgstr "można użyć opcji -D do uruchomienia polecenia w podanym katalogu." + +#: plugins/sudoers/sudoers.c:678 +msgid "user not allowed to set a command timeout" +msgstr "użytkownik nie ma uprawnień do ustawienia limitu czasu polecenia" + +#: plugins/sudoers/sudoers.c:680 +msgid "sorry, you are not allowed set a command timeout" +msgstr "niestety brak uprawnień do ustawienia limitu czasu polecenia" + +#: plugins/sudoers/sudoers.c:688 +msgid "user not allowed to preserve the environment" +msgstr "użytkownik nie ma uprawnień do zachowania środowiska" + +#: plugins/sudoers/sudoers.c:690 +msgid "sorry, you are not allowed to preserve the environment" +msgstr "niestety brak uprawnień do zachowania środowiska" + +#: plugins/sudoers/sudoers.c:799 +msgid "error setting user-specified environment variables" +msgstr "błąd ustawiania zmiennych środowiskowych podanych przez użytkownika" + +#: plugins/sudoers/sudoers.c:1112 +msgid "sudoedit doesn't need to be run via sudo" +msgstr "sudoedit nie musi być uruchamiany przez sudo" + +#: plugins/sudoers/sudoers.c:1157 plugins/sudoers/sudoreplay.c:1612 +#: plugins/sudoers/tsdump.c:138 +#, c-format +msgid "unable to read %s" +msgstr "nie udało się odczytać %s" + +#: plugins/sudoers/sudoers.c:1186 plugins/sudoers/visudo.c:1066 +#, c-format +msgid "%s is not a regular file" +msgstr "%s nie jest zwykłym plikiem" + +#: plugins/sudoers/sudoers.c:1190 plugins/sudoers/timestamp.c:263 toke.l:1255 +#, c-format +msgid "%s is owned by uid %u, should be %u" +msgstr "właścicielem %s jest uid %u, powinien być %u" + +#: plugins/sudoers/sudoers.c:1194 plugins/sudoers/timestamp.c:270 toke.l:1260 +#, c-format +msgid "%s is world writable" +msgstr "%s jest zapisywalny dla świata" + +#: plugins/sudoers/sudoers.c:1198 plugins/sudoers/timestamp.c:275 toke.l:1263 +#, c-format +msgid "%s is owned by gid %u, should be %u" +msgstr "właścicielem %s jest gid %u, powinien być %u" + +#: plugins/sudoers/sudoers.c:1233 +#, c-format +msgid "only root can use \"-c %s\"" +msgstr "tylko root może używać \"-c %s\"" + +#: plugins/sudoers/sudoers.c:1252 +#, c-format +msgid "unknown login class %s" +msgstr "nieznana klasa logowania %s" + +#: plugins/sudoers/sudoers.c:1339 plugins/sudoers/sudoers.c:1354 +#, c-format +msgid "unable to resolve host %s" +msgstr "nie udało się rozwiązać nazwy hosta %s" + +#: plugins/sudoers/sudoreplay.c:252 +#, c-format +msgid "invalid filter option: %s" +msgstr "błędna opcja filtra: %s" + +#: plugins/sudoers/sudoreplay.c:268 +#, c-format +msgid "invalid max wait: %s" +msgstr "błędny maksymalny czas oczekiwania: %s" + +#: plugins/sudoers/sudoreplay.c:291 +#, c-format +msgid "invalid speed factor: %s" +msgstr "błędny współczynnik szybkości: %s" + +#: plugins/sudoers/sudoreplay.c:326 +#, c-format +msgid "invalid time offset %s" +msgstr "błędny offset czasu %s" + +#: plugins/sudoers/sudoreplay.c:335 +#, c-format +msgid "%s/%.2s/%.2s/%.2s: %s" +msgstr "%s/%.2s/%.2s/%.2s: %s" + +#: plugins/sudoers/sudoreplay.c:340 +#, c-format +msgid "%s/timing: %s" +msgstr "%s/czas: %s" + +#: plugins/sudoers/sudoreplay.c:368 +#, c-format +msgid "Replaying sudo session: %s" +msgstr "Odtwarzanie sesji sudo: %s" + +#: plugins/sudoers/sudoreplay.c:634 +msgid "unable to set tty to raw mode" +msgstr "nie udało się przestawić tty w tryb surowy" + +#: plugins/sudoers/sudoreplay.c:685 +msgid "Warning: your terminal is too small to properly replay the log.\n" +msgstr "Uwaga: ten terminal jest za mały, aby właściwie odtworzyć log.\n" + +#: plugins/sudoers/sudoreplay.c:686 +#, c-format +msgid "Log geometry is %d x %d, your terminal's geometry is %d x %d." +msgstr "Geometria logu to %d x %d, geometria terminala to %d x %d." + +#: plugins/sudoers/sudoreplay.c:714 +msgid "Replay finished, press any key to restore the terminal." +msgstr "Odtwarzanie zakończone, proszę nacisnąć dowolny klawisz, aby odzyskać terminal." + +#: plugins/sudoers/sudoreplay.c:1216 plugins/sudoers/sudoreplay.c:1246 +#, c-format +msgid "ambiguous expression \"%s\"" +msgstr "niejednoznaczne wyrażenie \"%s\"" + +#: plugins/sudoers/sudoreplay.c:1268 +msgid "unmatched ')' in expression" +msgstr "niesparowany ')' w wyrażeniu" + +#: plugins/sudoers/sudoreplay.c:1272 +#, c-format +msgid "unknown search term \"%s\"" +msgstr "nieznany warunek wyszukiwania \"%s\"" + +#: plugins/sudoers/sudoreplay.c:1287 +#, c-format +msgid "%s requires an argument" +msgstr "%s wymaga argumentu" + +#: plugins/sudoers/sudoreplay.c:1297 +#, c-format +msgid "could not parse date \"%s\"" +msgstr "nie udało się przeanalizować daty \"%s\"" + +#: plugins/sudoers/sudoreplay.c:1306 +msgid "unmatched '(' in expression" +msgstr "niesparowany '(' w wyrażeniu" + +#: plugins/sudoers/sudoreplay.c:1308 +msgid "illegal trailing \"or\"" +msgstr "niedozwolone kończące \"or\"" + +#: plugins/sudoers/sudoreplay.c:1310 +msgid "illegal trailing \"!\"" +msgstr "niedozwolony kończący \"!\"" + +#: plugins/sudoers/sudoreplay.c:1416 +#, c-format +msgid "unknown search type %d" +msgstr "nieznany typ wyszukiwania %d" + +#: plugins/sudoers/sudoreplay.c:1678 +#, c-format +msgid "usage: %s [-hnRS] [-d dir] [-m num] [-s num] ID\n" +msgstr "Składnia: %s [-hnRS] [-d katalog] [-m liczba] [-s wsp_szybkości] ID\n" + +#: plugins/sudoers/sudoreplay.c:1680 +#, c-format +msgid "usage: %s [-h] [-d dir] -l [search expression]\n" +msgstr "Składnia: %s [-h] [-d katalog] -l [wyrażenie wyszukiwania]\n" + +#: plugins/sudoers/sudoreplay.c:1694 +#, c-format +msgid "" +"%s - replay sudo session logs\n" +"\n" +msgstr "" +"%s - odtwarzanie logów sesji sudo\n" +"\n" + +#: plugins/sudoers/sudoreplay.c:1696 +msgid "" +"\n" +"Options:\n" +" -d, --directory=dir specify directory for session logs\n" +" -f, --filter=filter specify which I/O type(s) to display\n" +" -h, --help display help message and exit\n" +" -l, --list list available session IDs, with optional expression\n" +" -m, --max-wait=num max number of seconds to wait between events\n" +" -n, --non-interactive no prompts, session is sent to the standard output\n" +" -R, --no-resize do not attempt to re-size the terminal\n" +" -S, --suspend-wait wait while the command was suspended\n" +" -s, --speed=num speed up or slow down output\n" +" -V, --version display version information and exit" +msgstr "" +"\n" +"Opcje:\n" +" -d, --directory=kat podanie katalogu na logi sesji\n" +" -f, --filter=filtr określenie rodzaju we/wy do wyświetlania\n" +" -h, --help wyświetlenie opisu i zakończenie\n" +" -l, --list lista dostępnych ID sesji pasujących do wyrażenia\n" +" -m, --max-wait=ile maksymalna liczba sekund oczekiwania między zdarzeniami\n" +" -n, --non-interactive bez zapytań, wysłanie sesji na standardowe wyjście\n" +" -R, --no-resize bez próby zmiany rozmiaru terminala\n" +" -S, --suspend-wait oczekiwanie w czasie zawieszenia polecenia\n" +" -s, --speed=ile przyspieszenie lub spowolnienie wyjścia\n" +" -V, --version wyświetlenie informacji o wersji i zakończenie" + +#: plugins/sudoers/testsudoers.c:344 +msgid "\thost unmatched" +msgstr "\thost nie znaleziony" + +#: plugins/sudoers/testsudoers.c:347 +msgid "" +"\n" +"Command allowed" +msgstr "" +"\n" +"Polecenie dozwolone" + +#: plugins/sudoers/testsudoers.c:348 +msgid "" +"\n" +"Command denied" +msgstr "" +"\n" +"Polecenie niedozwolone" + +#: plugins/sudoers/testsudoers.c:348 +msgid "" +"\n" +"Command unmatched" +msgstr "" +"\n" +"Polecenie nie znalezione" + +#: plugins/sudoers/timestamp.c:354 plugins/sudoers/timestamp.c:693 +#, c-format +msgid "unable to truncate time stamp file to %lld bytes" +msgstr "nie udało się uciąć pliku znacznika czasu do długości %lld" + +#: plugins/sudoers/timestamp.c:890 +msgid "ignoring time stamp from the future" +msgstr "znacznik czasu zbyt daleko w przyszłości" + +#: plugins/sudoers/timestamp.c:913 +#, c-format +msgid "time stamp too far in the future: %20.20s" +msgstr "znacznik czasu zbyt daleko w przyszłości: %20.20s" + +#: plugins/sudoers/timestamp.c:1042 +#, c-format +msgid "unable to lock time stamp file %s" +msgstr "nie udało się zablokować pliku znacznika czasu %s" + +#: plugins/sudoers/toke_util.c:156 +msgid "sudoedit should not be specified with a path" +msgstr "sudoedit nie powinien być podawany ze ścieżką" + +#: plugins/sudoers/visudo.c:254 +msgid "the -x option will be removed in a future release" +msgstr "opcja -x będzie usunięta w kolejnej wersji" + +#: plugins/sudoers/visudo.c:256 +msgid "please consider using the cvtsudoers utility instead" +msgstr "należy rozważyć użycie zamiast niej narzędzia cvtsudoers" + +#: plugins/sudoers/visudo.c:311 plugins/sudoers/visudo.c:702 +#, c-format +msgid "press return to edit %s: " +msgstr "wciśnięcie return przejdzie do edycji %s: " + +#: plugins/sudoers/visudo.c:326 +#, c-format +msgid "contents of edit session left in %s" +msgstr "zawartość sesji edycji pozostawiona w %s" + +#: plugins/sudoers/visudo.c:403 +#, c-format +msgid "specified editor (%s) doesn't exist" +msgstr "podany edytor (%s) nie istnieje" + +#: plugins/sudoers/visudo.c:408 +#, c-format +msgid "no editor found (editor path = %s)" +msgstr "nie znaleziono edytora (ścieżka = %s)" + +#: plugins/sudoers/visudo.c:495 plugins/sudoers/visudo.c:774 +#, c-format +msgid "unable to stat %s" +msgstr "nie udało się wykonać stat na %s" + +#: plugins/sudoers/visudo.c:515 plugins/sudoers/visudo.c:523 +msgid "write error" +msgstr "błąd zapisu" + +#: plugins/sudoers/visudo.c:569 +#, c-format +msgid "unable to stat temporary file (%s), %s unchanged" +msgstr "nie udało się wykonać stat na pliku tymczasowym (%s), %s nie zmieniony" + +#: plugins/sudoers/visudo.c:576 +#, c-format +msgid "zero length temporary file (%s), %s unchanged" +msgstr "plik tymczasowy (%s) zerowej długości, %s nie zmieniony" + +#: plugins/sudoers/visudo.c:582 +#, c-format +msgid "editor (%s) failed, %s unchanged" +msgstr "błąd edytora (%s), %s nie zmieniony" + +#: plugins/sudoers/visudo.c:604 +#, c-format +msgid "%s unchanged" +msgstr "%s nie zmieniony" + +#: plugins/sudoers/visudo.c:649 +#, c-format +msgid "unable to re-open temporary file (%s), %s unchanged." +msgstr "nie udało się ponownie otworzyć pliku tymczasowego (%s), %s nie zmieniony." + +#: plugins/sudoers/visudo.c:662 +#, c-format +msgid "unable to parse temporary file (%s), unknown error" +msgstr "nie udało się przeanalizować pliku tymczasowego (%s), nieznany błąd" + +#: plugins/sudoers/visudo.c:748 plugins/sudoers/visudo.c:778 +#: plugins/sudoers/visudo.c:785 +#, c-format +msgid "unable to set (uid, gid) of %s to (%u, %u)" +msgstr "nie udało się ustawić (uid, gid) %s na (%u, %u)" + +#: plugins/sudoers/visudo.c:813 +#, c-format +msgid "%s and %s not on the same file system, using mv to rename" +msgstr "%s i %s nie są na tym samym systemie plików, użycie mv do zmiany nazwy" + +#: plugins/sudoers/visudo.c:824 +#, c-format +msgid "command failed: '%s %s %s', %s unchanged" +msgstr "polecenie nie powiodło się: '%s %s %s', %s nie zmieniony" + +#: plugins/sudoers/visudo.c:831 +#, c-format +msgid "error renaming %s, %s unchanged" +msgstr "błąd podczas zmiany nazwy %s, %s nie zmieniony" + +#: plugins/sudoers/visudo.c:851 +msgid "What now? " +msgstr "Co teraz? " + +#: plugins/sudoers/visudo.c:865 +msgid "" +"Options are:\n" +" (e)dit sudoers file again\n" +" e(x)it without saving changes to sudoers file\n" +" (Q)uit and save changes to sudoers file (DANGER!)\n" +msgstr "" +"Możliwe opcje:\n" +" (e) ponowna edycja pliku sudoers\n" +" (x) wyjście bez zapisu zmian do pliku sudoers\n" +" (Q) wyjście i zapisanie zmian w pliku sudoers (NIEBEZPIECZNE!)\n" + +#: plugins/sudoers/visudo.c:911 +#, c-format +msgid "unable to run %s" +msgstr "nie udało się uruchomić %s" + +#: plugins/sudoers/visudo.c:942 +#, c-format +msgid "%s: wrong owner (uid, gid) should be (%u, %u)\n" +msgstr "%s: błędny właściciel, (uid, gid) powinny wynosić (%u, %u)\n" + +#: plugins/sudoers/visudo.c:953 +#, c-format +msgid "%s: bad permissions, should be mode 0%o\n" +msgstr "%s: błędne uprawnienia, powinny być 0%o\n" + +#: plugins/sudoers/visudo.c:999 plugins/sudoers/visudo.c:1006 +#, c-format +msgid "%s: parsed OK\n" +msgstr "%s: składnia poprawna\n" + +#: plugins/sudoers/visudo.c:1025 +#, c-format +msgid "%s busy, try again later" +msgstr "%s zajęty, proszę spróbować później" + +#: plugins/sudoers/visudo.c:1029 +msgid "Edit anyway? [y/N]" +msgstr "Modyfikować mimo to? [y/N]" + +#: plugins/sudoers/visudo.c:1130 +#, c-format +msgid "Warning: %s:%d:%d: unused %s \"%s\"" +msgstr "Uwaga: %s:%d:%d: nie użyty %s \"%s\"" + +#: plugins/sudoers/visudo.c:1242 +#, c-format +msgid "" +"%s - safely edit the sudoers file\n" +"\n" +msgstr "" +"%s - bezpieczna edycja pliku sudoers\n" +"\n" + +#: plugins/sudoers/visudo.c:1244 +msgid "" +"\n" +"Options:\n" +" -c, --check check-only mode\n" +" -f, --file=sudoers specify sudoers file location\n" +" -h, --help display help message and exit\n" +" -I, --no-includes do not edit include files\n" +" -q, --quiet less verbose (quiet) syntax error messages\n" +" -s, --strict strict syntax checking\n" +" -V, --version display version information and exit\n" +msgstr "" +"\n" +"Opcje:\n" +" -c, --check tryb wyłącznie sprawdzający\n" +" -f, --file=sudoers określenie położenia pliku sudoers\n" +" -h, --help wyświetlenie opisu i zakończenie\n" +" -I, --no-includes bez edycji plików dołączanych\n" +" -q, --quiet mniej obszerne komunikaty o błędach składni\n" +" -s, --strict ścisłe sprawdzanie składni\n" +" -V, --version wyświetlenie informacji o wersji i zakończenie\n" + +#: toke.l:189 +msgid "empty string" +msgstr "pusty łańcuch" + +#: toke.l:201 toke.l:571 +msgid "empty group" +msgstr "pusta grupa" + +#: toke.l:211 toke.l:569 +msgid "empty netgroup" +msgstr "pusta grupa sieciowa" + +#: toke.l:289 +msgid "unterminated regular expression" +msgstr "niezakończone wyrażenie regularne" + +#: toke.l:363 toke.l:375 toke.l:387 toke.l:403 toke.l:422 toke.l:462 +msgid "invalid line continuation" +msgstr "błędna kontynuacja linii" + +#: toke.l:608 toke.l:620 +msgid "invalid IPv6 address" +msgstr "błędny adres IPv6" + +#: toke.l:876 +msgid "unexpected line break in string" +msgstr "nieoczekiwany koniec linii w łańcuchu" + +#: toke.l:1226 +msgid "too many levels of includes" +msgstr "za dużo poziomów include" diff --git a/plugins/sudoers/po/pt.mo b/plugins/sudoers/po/pt.mo new file mode 100644 index 0000000..de304b0 Binary files /dev/null and b/plugins/sudoers/po/pt.mo differ diff --git a/plugins/sudoers/po/pt.po b/plugins/sudoers/po/pt.po new file mode 100644 index 0000000..ba8496b --- /dev/null +++ b/plugins/sudoers/po/pt.po @@ -0,0 +1,3681 @@ +# Portuguese (Portugal) translation for the sudoers package. +# Copyright (C) 2018 Free Software Foundation, Inc. +# This file is distributed under the same license as the sudo package. +# Todd C. Miller , 2011-2018 +# Pedro Albuquerque , 2018, 2019, 2020, 2021. +# +msgid "" +msgstr "" +"Project-Id-Version: sudoers-1.9.8b2\n" +"Report-Msgid-Bugs-To: https://bugzilla.sudo.ws\n" +"POT-Creation-Date: 2021-08-19 09:50-0600\n" +"PO-Revision-Date: 2021-08-22 07:21+0100\n" +"Last-Translator: Pedro Albuquerque \n" +"Language-Team: Portuguese \n" +"Language: pt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Generator: Poedit 2.3\n" + +#: confstr.sh:1 gram.y:1191 +msgid "syntax error" +msgstr "erro de sintaxe" + +#: confstr.sh:2 +msgid "%p's password: " +msgstr "senha de %p: " + +#: confstr.sh:3 +msgid "[sudo] password for %p: " +msgstr "[sudo] senha para %p: " + +#: confstr.sh:4 +msgid "Password: " +msgstr "Senha: " + +#: confstr.sh:5 +msgid "*** SECURITY information for %h ***" +msgstr "*** Informação de SEGURANÇA para %h ***" + +#: confstr.sh:6 +msgid "Sorry, try again." +msgstr "Enganou-se, tente de novo." + +#: gram.y:235 gram.y:302 gram.y:311 gram.y:320 gram.y:330 gram.y:340 +#: gram.y:364 gram.y:391 gram.y:400 gram.y:408 gram.y:417 gram.y:426 +#: gram.y:500 gram.y:510 gram.y:522 gram.y:566 gram.y:575 gram.y:584 +#: gram.y:593 gram.y:712 gram.y:720 gram.y:731 gram.y:743 gram.y:762 +#: gram.y:917 gram.y:922 gram.y:930 gram.y:940 gram.y:946 gram.y:1068 +#: gram.y:1077 gram.y:1085 gram.y:1094 gram.y:1103 gram.y:1132 gram.y:1141 +#: gram.y:1149 gram.y:1239 gram.y:1351 gram.y:1658 gram.y:1708 +#: lib/eventlog/eventlog.c:308 lib/eventlog/eventlog.c:381 +#: lib/eventlog/eventlog.c:783 lib/eventlog/eventlog.c:862 +#: lib/eventlog/eventlog.c:1146 lib/iolog/iolog_json.c:125 +#: lib/iolog/iolog_json.c:330 lib/iolog/iolog_json.c:360 +#: lib/iolog/iolog_json.c:503 lib/iolog/iolog_legacy.c:100 +#: lib/iolog/iolog_legacy.c:111 lib/iolog/iolog_legacy.c:123 +#: lib/iolog/iolog_legacy.c:133 lib/iolog/iolog_legacy.c:139 +#: lib/iolog/iolog_loginfo.c:76 lib/iolog/iolog_loginfo.c:210 +#: logsrvd/iolog_writer.c:85 logsrvd/iolog_writer.c:90 +#: logsrvd/iolog_writer.c:124 logsrvd/iolog_writer.c:172 +#: logsrvd/iolog_writer.c:212 logsrvd/iolog_writer.c:225 +#: logsrvd/iolog_writer.c:261 logsrvd/iolog_writer.c:286 +#: logsrvd/iolog_writer.c:301 logsrvd/iolog_writer.c:314 +#: logsrvd/iolog_writer.c:327 logsrvd/iolog_writer.c:340 +#: logsrvd/iolog_writer.c:355 logsrvd/iolog_writer.c:393 +#: logsrvd/iolog_writer.c:399 logsrvd/iolog_writer.c:406 +#: logsrvd/iolog_writer.c:412 logsrvd/iolog_writer.c:596 +#: logsrvd/logsrv_util.c:62 logsrvd/logsrvd.c:302 logsrvd/logsrvd.c:311 +#: logsrvd/logsrvd.c:1017 logsrvd/logsrvd.c:1079 logsrvd/logsrvd_conf.c:1361 +#: logsrvd/logsrvd_journal.c:71 logsrvd/logsrvd_journal.c:204 +#: logsrvd/logsrvd_journal.c:205 logsrvd/logsrvd_journal.c:261 +#: logsrvd/logsrvd_journal.c:426 logsrvd/logsrvd_journal.c:428 +#: logsrvd/logsrvd_local.c:173 logsrvd/logsrvd_local.c:174 +#: logsrvd/logsrvd_local.c:236 logsrvd/logsrvd_local.c:237 +#: logsrvd/logsrvd_local.c:317 logsrvd/logsrvd_local.c:318 +#: logsrvd/logsrvd_local.c:323 logsrvd/logsrvd_local.c:324 +#: logsrvd/logsrvd_queue.c:155 logsrvd/logsrvd_queue.c:185 +#: logsrvd/logsrvd_queue.c:262 logsrvd/logsrvd_relay.c:445 +#: logsrvd/logsrvd_relay.c:744 logsrvd/logsrvd_relay.c:846 +#: logsrvd/sendlog.c:302 logsrvd/sendlog.c:501 plugins/sudoers/audit.c:114 +#: plugins/sudoers/audit.c:271 plugins/sudoers/auth/bsdauth.c:143 +#: plugins/sudoers/auth/kerb5.c:118 plugins/sudoers/auth/kerb5.c:144 +#: plugins/sudoers/auth/pam.c:691 plugins/sudoers/auth/rfc1938.c:111 +#: plugins/sudoers/auth/sia.c:59 plugins/sudoers/check_aliases.c:95 +#: plugins/sudoers/cvtsudoers.c:119 plugins/sudoers/cvtsudoers.c:160 +#: plugins/sudoers/cvtsudoers.c:177 plugins/sudoers/cvtsudoers.c:188 +#: plugins/sudoers/cvtsudoers.c:300 plugins/sudoers/cvtsudoers.c:428 +#: plugins/sudoers/cvtsudoers.c:561 plugins/sudoers/cvtsudoers.c:578 +#: plugins/sudoers/cvtsudoers.c:646 plugins/sudoers/cvtsudoers.c:761 +#: plugins/sudoers/cvtsudoers.c:769 plugins/sudoers/cvtsudoers.c:1183 +#: plugins/sudoers/cvtsudoers.c:1187 plugins/sudoers/cvtsudoers.c:1289 +#: plugins/sudoers/cvtsudoers_json.c:76 plugins/sudoers/cvtsudoers_ldif.c:151 +#: plugins/sudoers/cvtsudoers_ldif.c:194 plugins/sudoers/cvtsudoers_ldif.c:235 +#: plugins/sudoers/cvtsudoers_ldif.c:300 plugins/sudoers/cvtsudoers_ldif.c:371 +#: plugins/sudoers/cvtsudoers_ldif.c:425 plugins/sudoers/cvtsudoers_ldif.c:433 +#: plugins/sudoers/cvtsudoers_ldif.c:444 plugins/sudoers/cvtsudoers_ldif.c:451 +#: plugins/sudoers/cvtsudoers_ldif.c:464 plugins/sudoers/cvtsudoers_ldif.c:472 +#: plugins/sudoers/cvtsudoers_ldif.c:619 plugins/sudoers/defaults.c:652 +#: plugins/sudoers/defaults.c:947 plugins/sudoers/defaults.c:1122 +#: plugins/sudoers/editor.c:190 plugins/sudoers/env.c:262 +#: plugins/sudoers/exptilde.c:92 plugins/sudoers/filedigest.c:54 +#: plugins/sudoers/filedigest.c:70 plugins/sudoers/gc.c:57 +#: plugins/sudoers/group_plugin.c:133 plugins/sudoers/interfaces.c:68 +#: plugins/sudoers/iolog.c:606 plugins/sudoers/iolog.c:623 +#: plugins/sudoers/ldap.c:184 plugins/sudoers/ldap.c:422 +#: plugins/sudoers/ldap.c:432 plugins/sudoers/ldap.c:437 +#: plugins/sudoers/ldap.c:441 plugins/sudoers/ldap.c:453 +#: plugins/sudoers/ldap.c:744 plugins/sudoers/ldap.c:908 +#: plugins/sudoers/ldap.c:1281 plugins/sudoers/ldap.c:1709 +#: plugins/sudoers/ldap.c:1746 plugins/sudoers/ldap.c:1827 +#: plugins/sudoers/ldap.c:1962 plugins/sudoers/ldap.c:2063 +#: plugins/sudoers/ldap.c:2079 plugins/sudoers/ldap_conf.c:218 +#: plugins/sudoers/ldap_conf.c:249 plugins/sudoers/ldap_conf.c:301 +#: plugins/sudoers/ldap_conf.c:337 plugins/sudoers/ldap_conf.c:441 +#: plugins/sudoers/ldap_conf.c:456 plugins/sudoers/ldap_conf.c:553 +#: plugins/sudoers/ldap_conf.c:586 plugins/sudoers/ldap_conf.c:678 +#: plugins/sudoers/ldap_conf.c:760 plugins/sudoers/ldap_util.c:293 +#: plugins/sudoers/ldap_util.c:300 plugins/sudoers/ldap_util.c:615 +#: plugins/sudoers/linux_audit.c:86 plugins/sudoers/log_client.c:108 +#: plugins/sudoers/log_client.c:386 plugins/sudoers/log_client.c:699 +#: plugins/sudoers/log_client.c:720 plugins/sudoers/log_client.c:1440 +#: plugins/sudoers/log_client.c:1656 plugins/sudoers/log_client.c:1980 +#: plugins/sudoers/log_client.c:2037 plugins/sudoers/logging.c:101 +#: plugins/sudoers/logging.c:181 plugins/sudoers/logging.c:465 +#: plugins/sudoers/logging.c:485 plugins/sudoers/logging.c:627 +#: plugins/sudoers/match_command.c:297 plugins/sudoers/match_command.c:497 +#: plugins/sudoers/match_command.c:546 plugins/sudoers/match_command.c:618 +#: plugins/sudoers/match_command.c:666 plugins/sudoers/match_digest.c:93 +#: plugins/sudoers/parse.c:201 plugins/sudoers/parse.c:218 +#: plugins/sudoers/parse.c:238 plugins/sudoers/parse.c:255 +#: plugins/sudoers/parse.c:278 plugins/sudoers/parse.c:289 +#: plugins/sudoers/parse_ldif.c:153 plugins/sudoers/parse_ldif.c:184 +#: plugins/sudoers/parse_ldif.c:253 plugins/sudoers/parse_ldif.c:260 +#: plugins/sudoers/parse_ldif.c:265 plugins/sudoers/parse_ldif.c:341 +#: plugins/sudoers/parse_ldif.c:352 plugins/sudoers/parse_ldif.c:379 +#: plugins/sudoers/parse_ldif.c:396 plugins/sudoers/parse_ldif.c:408 +#: plugins/sudoers/parse_ldif.c:412 plugins/sudoers/parse_ldif.c:426 +#: plugins/sudoers/parse_ldif.c:483 plugins/sudoers/parse_ldif.c:596 +#: plugins/sudoers/parse_ldif.c:626 plugins/sudoers/parse_ldif.c:651 +#: plugins/sudoers/parse_ldif.c:709 plugins/sudoers/parse_ldif.c:726 +#: plugins/sudoers/parse_ldif.c:754 plugins/sudoers/parse_ldif.c:761 +#: plugins/sudoers/policy.c:556 plugins/sudoers/policy.c:923 +#: plugins/sudoers/prompt.c:93 plugins/sudoers/pwutil.c:195 +#: plugins/sudoers/pwutil.c:266 plugins/sudoers/pwutil.c:344 +#: plugins/sudoers/pwutil.c:518 plugins/sudoers/pwutil.c:583 +#: plugins/sudoers/pwutil.c:655 plugins/sudoers/pwutil.c:853 +#: plugins/sudoers/pwutil.c:909 plugins/sudoers/pwutil.c:953 +#: plugins/sudoers/pwutil.c:1010 plugins/sudoers/sssd.c:145 +#: plugins/sudoers/sssd.c:407 plugins/sudoers/sssd.c:470 +#: plugins/sudoers/sssd.c:514 plugins/sudoers/sssd.c:561 +#: plugins/sudoers/sssd.c:754 plugins/sudoers/strvec_join.c:53 +#: plugins/sudoers/stubs.c:111 plugins/sudoers/stubs.c:119 +#: plugins/sudoers/sudoers.c:335 plugins/sudoers/sudoers.c:361 +#: plugins/sudoers/sudoers.c:429 plugins/sudoers/sudoers.c:438 +#: plugins/sudoers/sudoers.c:479 plugins/sudoers/sudoers.c:833 +#: plugins/sudoers/sudoers.c:971 plugins/sudoers/sudoers.c:1030 +#: plugins/sudoers/sudoers.c:1296 plugins/sudoers/sudoreplay.c:562 +#: plugins/sudoers/sudoreplay.c:565 plugins/sudoers/sudoreplay.c:1280 +#: plugins/sudoers/sudoreplay.c:1490 plugins/sudoers/sudoreplay.c:1494 +#: plugins/sudoers/testsudoers.c:120 plugins/sudoers/testsudoers.c:224 +#: plugins/sudoers/testsudoers.c:241 plugins/sudoers/testsudoers.c:580 +#: plugins/sudoers/timestamp.c:424 plugins/sudoers/timestamp.c:468 +#: plugins/sudoers/timestamp.c:980 plugins/sudoers/timestamp.c:1118 +#: plugins/sudoers/toke_util.c:77 plugins/sudoers/toke_util.c:105 +#: plugins/sudoers/toke_util.c:130 plugins/sudoers/toke_util.c:155 +#: plugins/sudoers/toke_util.c:193 plugins/sudoers/tsdump.c:123 +#: plugins/sudoers/visudo.c:143 plugins/sudoers/visudo.c:321 +#: plugins/sudoers/visudo.c:327 plugins/sudoers/visudo.c:433 +#: plugins/sudoers/visudo.c:609 plugins/sudoers/visudo.c:926 +#: plugins/sudoers/visudo.c:999 toke.l:938 toke.l:1067 toke.l:1127 +msgid "unable to allocate memory" +msgstr "impossível alocar memória" + +#: gram.y:617 +msgid "a digest requires a path name" +msgstr "um resumo requer um nome de caminho" + +#: gram.y:639 +msgid "values for \"CWD\" must start with a '/', '~', or '*'" +msgstr "valores para \"CWD\" têm de começar por '/', '~' ou '*'" + +#: gram.y:651 +msgid "values for \"CHROOT\" must start with a '/', '~', or '*'" +msgstr "valores para \"CHROOT\" têm de começar com \"/\", \"~\" ou \"*\"" + +#: gram.y:782 +#, c-format +msgid "syntax error, reserved word %s used as an alias name" +msgstr "erro de sintaxe, palavra reservada %s utilizada como nome aliás" + +#: gram.y:805 +msgid "invalid notbefore value" +msgstr "valor notbefore inválido" + +#: gram.y:814 +msgid "invalid notafter value" +msgstr "valor notafter inválido" + +#: gram.y:824 plugins/sudoers/policy.c:345 +msgid "timeout value too large" +msgstr "valor de inacção muito grande" + +#: gram.y:826 plugins/sudoers/policy.c:347 +msgid "invalid timeout value" +msgstr "valor de inacção inválido" + +#: gram.y:1193 +#, c-format +msgid "%s:%d:%d: %s\n" +msgstr "%s:%d:%d: %s\n" + +#: gram.y:1237 +#, c-format +msgid "Alias \"%s\" already defined" +msgstr "Aliás \"%s\" já definido" + +#: gram.y:1658 gram.y:1708 lib/eventlog/eventlog.c:308 +#: lib/eventlog/eventlog.c:783 lib/eventlog/eventlog.c:858 +#: lib/eventlog/eventlog.c:861 lib/eventlog/eventlog.c:1146 +#: lib/iolog/iolog_json.c:125 lib/iolog/iolog_json.c:329 +#: lib/iolog/iolog_json.c:360 lib/iolog/iolog_json.c:503 +#: lib/iolog/iolog_legacy.c:100 lib/iolog/iolog_legacy.c:111 +#: lib/iolog/iolog_legacy.c:123 lib/iolog/iolog_legacy.c:133 +#: lib/iolog/iolog_legacy.c:139 lib/iolog/iolog_loginfo.c:76 +#: lib/iolog/iolog_loginfo.c:210 logsrvd/iolog_writer.c:85 +#: logsrvd/iolog_writer.c:90 logsrvd/iolog_writer.c:124 +#: logsrvd/iolog_writer.c:162 logsrvd/iolog_writer.c:171 +#: logsrvd/iolog_writer.c:189 logsrvd/iolog_writer.c:211 +#: logsrvd/iolog_writer.c:224 logsrvd/iolog_writer.c:251 +#: logsrvd/iolog_writer.c:260 logsrvd/iolog_writer.c:276 +#: logsrvd/iolog_writer.c:285 logsrvd/iolog_writer.c:300 +#: logsrvd/iolog_writer.c:313 logsrvd/iolog_writer.c:326 +#: logsrvd/iolog_writer.c:339 logsrvd/iolog_writer.c:354 +#: logsrvd/iolog_writer.c:393 logsrvd/iolog_writer.c:399 +#: logsrvd/iolog_writer.c:406 logsrvd/iolog_writer.c:412 +#: logsrvd/iolog_writer.c:596 logsrvd/logsrv_util.c:62 logsrvd/logsrvd.c:302 +#: logsrvd/logsrvd.c:311 logsrvd/logsrvd.c:454 logsrvd/logsrvd.c:491 +#: logsrvd/logsrvd.c:599 logsrvd/logsrvd.c:1090 logsrvd/logsrvd.c:1402 +#: logsrvd/logsrvd.c:1408 logsrvd/logsrvd_conf.c:1361 +#: logsrvd/logsrvd_journal.c:71 logsrvd/logsrvd_journal.c:115 +#: logsrvd/logsrvd_journal.c:204 logsrvd/logsrvd_journal.c:234 +#: logsrvd/logsrvd_journal.c:238 logsrvd/logsrvd_journal.c:246 +#: logsrvd/logsrvd_journal.c:269 logsrvd/logsrvd_journal.c:273 +#: logsrvd/logsrvd_journal.c:426 logsrvd/logsrvd_local.c:173 +#: logsrvd/logsrvd_local.c:236 logsrvd/logsrvd_local.c:317 +#: logsrvd/logsrvd_local.c:323 logsrvd/logsrvd_local.c:342 +#: logsrvd/logsrvd_queue.c:154 logsrvd/logsrvd_queue.c:185 +#: logsrvd/logsrvd_queue.c:262 logsrvd/sendlog.c:302 logsrvd/sendlog.c:501 +#: logsrvd/sendlog.c:1353 logsrvd/sendlog.c:1360 logsrvd/sendlog.c:1563 +#: logsrvd/tls_init.c:218 logsrvd/tls_init.c:239 logsrvd/tls_init.c:249 +#: plugins/sudoers/audit.c:114 plugins/sudoers/audit.c:271 +#: plugins/sudoers/auth/pam.c:505 plugins/sudoers/auth/pam.c:691 +#: plugins/sudoers/auth/rfc1938.c:111 plugins/sudoers/check_aliases.c:95 +#: plugins/sudoers/cvtsudoers.c:119 plugins/sudoers/cvtsudoers.c:159 +#: plugins/sudoers/cvtsudoers.c:176 plugins/sudoers/cvtsudoers.c:187 +#: plugins/sudoers/cvtsudoers.c:299 plugins/sudoers/cvtsudoers.c:427 +#: plugins/sudoers/cvtsudoers.c:560 plugins/sudoers/cvtsudoers.c:577 +#: plugins/sudoers/cvtsudoers.c:646 plugins/sudoers/cvtsudoers.c:761 +#: plugins/sudoers/cvtsudoers.c:768 plugins/sudoers/cvtsudoers.c:1183 +#: plugins/sudoers/cvtsudoers.c:1187 plugins/sudoers/cvtsudoers.c:1289 +#: plugins/sudoers/cvtsudoers_json.c:75 plugins/sudoers/cvtsudoers_ldif.c:150 +#: plugins/sudoers/cvtsudoers_ldif.c:193 plugins/sudoers/cvtsudoers_ldif.c:234 +#: plugins/sudoers/cvtsudoers_ldif.c:299 plugins/sudoers/cvtsudoers_ldif.c:370 +#: plugins/sudoers/cvtsudoers_ldif.c:424 plugins/sudoers/cvtsudoers_ldif.c:432 +#: plugins/sudoers/cvtsudoers_ldif.c:443 plugins/sudoers/cvtsudoers_ldif.c:450 +#: plugins/sudoers/cvtsudoers_ldif.c:463 plugins/sudoers/cvtsudoers_ldif.c:471 +#: plugins/sudoers/cvtsudoers_ldif.c:618 plugins/sudoers/defaults.c:652 +#: plugins/sudoers/defaults.c:947 plugins/sudoers/defaults.c:1122 +#: plugins/sudoers/editor.c:190 plugins/sudoers/env.c:262 +#: plugins/sudoers/exptilde.c:92 plugins/sudoers/filedigest.c:54 +#: plugins/sudoers/filedigest.c:70 plugins/sudoers/gc.c:57 +#: plugins/sudoers/group_plugin.c:132 plugins/sudoers/interfaces.c:68 +#: plugins/sudoers/iolog.c:606 plugins/sudoers/iolog.c:623 +#: plugins/sudoers/ldap.c:184 plugins/sudoers/ldap.c:422 +#: plugins/sudoers/ldap.c:432 plugins/sudoers/ldap.c:437 +#: plugins/sudoers/ldap.c:441 plugins/sudoers/ldap.c:453 +#: plugins/sudoers/ldap.c:744 plugins/sudoers/ldap.c:908 +#: plugins/sudoers/ldap.c:1281 plugins/sudoers/ldap.c:1709 +#: plugins/sudoers/ldap.c:1746 plugins/sudoers/ldap.c:1827 +#: plugins/sudoers/ldap.c:1962 plugins/sudoers/ldap.c:2063 +#: plugins/sudoers/ldap.c:2079 plugins/sudoers/ldap_conf.c:218 +#: plugins/sudoers/ldap_conf.c:249 plugins/sudoers/ldap_conf.c:301 +#: plugins/sudoers/ldap_conf.c:337 plugins/sudoers/ldap_conf.c:441 +#: plugins/sudoers/ldap_conf.c:456 plugins/sudoers/ldap_conf.c:553 +#: plugins/sudoers/ldap_conf.c:586 plugins/sudoers/ldap_conf.c:677 +#: plugins/sudoers/ldap_conf.c:760 plugins/sudoers/ldap_util.c:292 +#: plugins/sudoers/ldap_util.c:299 plugins/sudoers/ldap_util.c:615 +#: plugins/sudoers/linux_audit.c:86 plugins/sudoers/log_client.c:108 +#: plugins/sudoers/log_client.c:217 plugins/sudoers/log_client.c:238 +#: plugins/sudoers/log_client.c:251 plugins/sudoers/log_client.c:386 +#: plugins/sudoers/log_client.c:699 plugins/sudoers/log_client.c:720 +#: plugins/sudoers/log_client.c:1440 plugins/sudoers/log_client.c:1656 +#: plugins/sudoers/log_client.c:1980 plugins/sudoers/log_client.c:2037 +#: plugins/sudoers/logging.c:101 plugins/sudoers/logging.c:180 +#: plugins/sudoers/logging.c:181 plugins/sudoers/logging.c:464 +#: plugins/sudoers/logging.c:484 plugins/sudoers/logging.c:627 +#: plugins/sudoers/match_command.c:296 plugins/sudoers/match_command.c:496 +#: plugins/sudoers/match_command.c:545 plugins/sudoers/match_command.c:618 +#: plugins/sudoers/match_command.c:665 plugins/sudoers/match_digest.c:93 +#: plugins/sudoers/parse.c:200 plugins/sudoers/parse.c:217 +#: plugins/sudoers/parse.c:237 plugins/sudoers/parse.c:254 +#: plugins/sudoers/parse.c:277 plugins/sudoers/parse.c:288 +#: plugins/sudoers/parse_ldif.c:152 plugins/sudoers/parse_ldif.c:183 +#: plugins/sudoers/parse_ldif.c:252 plugins/sudoers/parse_ldif.c:259 +#: plugins/sudoers/parse_ldif.c:264 plugins/sudoers/parse_ldif.c:340 +#: plugins/sudoers/parse_ldif.c:351 plugins/sudoers/parse_ldif.c:378 +#: plugins/sudoers/parse_ldif.c:395 plugins/sudoers/parse_ldif.c:407 +#: plugins/sudoers/parse_ldif.c:411 plugins/sudoers/parse_ldif.c:425 +#: plugins/sudoers/parse_ldif.c:483 plugins/sudoers/parse_ldif.c:596 +#: plugins/sudoers/parse_ldif.c:625 plugins/sudoers/parse_ldif.c:650 +#: plugins/sudoers/parse_ldif.c:708 plugins/sudoers/parse_ldif.c:725 +#: plugins/sudoers/parse_ldif.c:753 plugins/sudoers/parse_ldif.c:760 +#: plugins/sudoers/policy.c:152 plugins/sudoers/policy.c:161 +#: plugins/sudoers/policy.c:170 plugins/sudoers/policy.c:197 +#: plugins/sudoers/policy.c:330 plugins/sudoers/policy.c:345 +#: plugins/sudoers/policy.c:347 plugins/sudoers/policy.c:377 +#: plugins/sudoers/policy.c:386 plugins/sudoers/policy.c:434 +#: plugins/sudoers/policy.c:444 plugins/sudoers/policy.c:453 +#: plugins/sudoers/policy.c:462 plugins/sudoers/policy.c:556 +#: plugins/sudoers/policy.c:923 plugins/sudoers/prompt.c:93 +#: plugins/sudoers/pwutil.c:195 plugins/sudoers/pwutil.c:266 +#: plugins/sudoers/pwutil.c:344 plugins/sudoers/pwutil.c:518 +#: plugins/sudoers/pwutil.c:583 plugins/sudoers/pwutil.c:655 +#: plugins/sudoers/pwutil.c:853 plugins/sudoers/pwutil.c:909 +#: plugins/sudoers/pwutil.c:953 plugins/sudoers/pwutil.c:1010 +#: plugins/sudoers/set_perms.c:363 plugins/sudoers/set_perms.c:706 +#: plugins/sudoers/set_perms.c:1073 plugins/sudoers/set_perms.c:1380 +#: plugins/sudoers/set_perms.c:1549 plugins/sudoers/sssd.c:144 +#: plugins/sudoers/sssd.c:407 plugins/sudoers/sssd.c:470 +#: plugins/sudoers/sssd.c:514 plugins/sudoers/sssd.c:561 +#: plugins/sudoers/sssd.c:754 plugins/sudoers/strvec_join.c:53 +#: plugins/sudoers/stubs.c:111 plugins/sudoers/stubs.c:119 +#: plugins/sudoers/sudoers.c:335 plugins/sudoers/sudoers.c:361 +#: plugins/sudoers/sudoers.c:429 plugins/sudoers/sudoers.c:438 +#: plugins/sudoers/sudoers.c:479 plugins/sudoers/sudoers.c:833 +#: plugins/sudoers/sudoers.c:971 plugins/sudoers/sudoers.c:1030 +#: plugins/sudoers/sudoers.c:1296 plugins/sudoers/sudoreplay.c:562 +#: plugins/sudoers/sudoreplay.c:565 plugins/sudoers/sudoreplay.c:1280 +#: plugins/sudoers/sudoreplay.c:1490 plugins/sudoers/sudoreplay.c:1494 +#: plugins/sudoers/testsudoers.c:120 plugins/sudoers/testsudoers.c:224 +#: plugins/sudoers/testsudoers.c:241 plugins/sudoers/testsudoers.c:580 +#: plugins/sudoers/timestamp.c:424 plugins/sudoers/timestamp.c:468 +#: plugins/sudoers/timestamp.c:980 plugins/sudoers/timestamp.c:1118 +#: plugins/sudoers/toke_util.c:77 plugins/sudoers/toke_util.c:105 +#: plugins/sudoers/toke_util.c:130 plugins/sudoers/toke_util.c:154 +#: plugins/sudoers/toke_util.c:193 plugins/sudoers/tsdump.c:123 +#: plugins/sudoers/visudo.c:143 plugins/sudoers/visudo.c:321 +#: plugins/sudoers/visudo.c:327 plugins/sudoers/visudo.c:433 +#: plugins/sudoers/visudo.c:609 plugins/sudoers/visudo.c:926 +#: plugins/sudoers/visudo.c:999 toke.l:938 toke.l:1067 toke.l:1119 toke.l:1127 +#, c-format +msgid "%s: %s" +msgstr "%s: %s" + +#: lib/eventlog/eventlog.c:313 lib/iolog/iolog_json.c:509 +#: lib/iolog/iolog_json.c:512 lib/iolog/iolog_json.c:514 +#: plugins/sudoers/cvtsudoers_ldif.c:244 plugins/sudoers/cvtsudoers_ldif.c:251 +#: plugins/sudoers/cvtsudoers_ldif.c:575 plugins/sudoers/env.c:326 +#: plugins/sudoers/env.c:333 plugins/sudoers/env.c:444 +#: plugins/sudoers/iolog.c:628 plugins/sudoers/ldap.c:517 +#: plugins/sudoers/ldap.c:748 plugins/sudoers/ldap.c:1081 +#: plugins/sudoers/ldap_conf.c:222 plugins/sudoers/ldap_conf.c:312 +#: plugins/sudoers/linux_audit.c:92 plugins/sudoers/policy.c:586 +#: plugins/sudoers/policy.c:755 plugins/sudoers/policy.c:766 +#: plugins/sudoers/prompt.c:168 plugins/sudoers/strvec_join.c:62 +#: plugins/sudoers/testsudoers.c:245 plugins/sudoers/toke_util.c:206 +#, c-format +msgid "internal error, %s overflow" +msgstr "erro interno, transporte %s" + +#: lib/eventlog/eventlog.c:372 +#, c-format +msgid "unable to dup stdin: %m" +msgstr "impossível duplicar stdin: %m" + +#: lib/eventlog/eventlog.c:414 +#, c-format +msgid "unable to execute %s: %m" +msgstr "impossível executar %s: %m" + +#: lib/eventlog/eventlog.c:455 plugins/sudoers/auth/aix_auth.c:198 +msgid "unable to fork" +msgstr "impossível bifurcar" + +#: lib/eventlog/eventlog.c:463 lib/eventlog/eventlog.c:517 +#, c-format +msgid "unable to fork: %m" +msgstr "impossível bifurcar: %m" + +#: lib/eventlog/eventlog.c:507 +#, c-format +msgid "unable to open pipe: %m" +msgstr "impossível abrir túnel: %m" + +#: lib/eventlog/eventlog.c:979 +#, c-format +msgid "%8s : %s" +msgstr "%8s : %s" + +#: lib/eventlog/eventlog.c:1008 +#, c-format +msgid "%8s : (command continued) %s" +msgstr "%8s : (comando continuado) %s" + +#: lib/iolog/iolog_json.c:115 +#, c-format +msgid "expected JSON_STRING, got %d" +msgstr "esperado JSON_STRING, obtido %d" + +#: lib/iolog/iolog_json.c:120 +msgid "JSON_ARRAY too large" +msgstr "JSON_ARRAY muito grande" + +#: lib/iolog/iolog_json.c:352 +msgid "missing double quote in name" +msgstr "aspas dupla em falta no nome" + +#: lib/iolog/iolog_json.c:449 +msgid "missing JSON_OBJECT" +msgstr "JSON_OBJECT em falta" + +#: lib/iolog/iolog_json.c:453 +#, c-format +msgid "expected JSON_OBJECT, got %d" +msgstr "esperado JSON_OBJECT, obtido %d" + +#: lib/iolog/iolog_json.c:599 +#, c-format +msgid "json stack exhausted (max %u frames)" +msgstr "pilha json esgotada (máx. %u instâncias)" + +#: lib/iolog/iolog_json.c:673 +msgid "objects must consist of name:value pairs" +msgstr "os objectos têm de consistir em pares name:value" + +#: lib/iolog/iolog_json.c:678 lib/iolog/iolog_json.c:709 +#: lib/iolog/iolog_json.c:753 lib/iolog/iolog_json.c:775 +#: lib/iolog/iolog_json.c:797 lib/iolog/iolog_json.c:819 +#: lib/iolog/iolog_json.c:841 +msgid "missing separator between values" +msgstr "separador em falta entre valores" + +#: lib/iolog/iolog_json.c:693 lib/iolog/iolog_json.c:867 +msgid "unmatched close brace" +msgstr "chaveta esquerda sem par" + +#: lib/iolog/iolog_json.c:704 +msgid "unexpected array" +msgstr "matriz inesperada" + +#: lib/iolog/iolog_json.c:724 lib/iolog/iolog_json.c:870 +msgid "unmatched close bracket" +msgstr "parêntese recto sem par" + +#: lib/iolog/iolog_json.c:735 +msgid "unexpected string" +msgstr "cadeia inesperada" + +#: lib/iolog/iolog_json.c:746 +msgid "missing colon after name" +msgstr "dois pontos em falta após o nome" + +#: lib/iolog/iolog_json.c:767 lib/iolog/iolog_json.c:789 +msgid "unexpected boolean" +msgstr "booleano inesperado" + +#: lib/iolog/iolog_json.c:811 +msgid "unexpected null" +msgstr "nulo inesperado" + +#: lib/iolog/iolog_json.c:832 +msgid "unexpected number" +msgstr "número inesperado" + +#: lib/iolog/iolog_json.c:879 +msgid "parse error" +msgstr "erro de análise" + +#: lib/iolog/iolog_legacy.c:65 +#, c-format +msgid "%s: invalid log file" +msgstr "%s: ficheiro de diário inválido" + +#: lib/iolog/iolog_legacy.c:83 +#, c-format +msgid "%s: time stamp field is missing" +msgstr "%s: campo de datação em falta" + +#: lib/iolog/iolog_legacy.c:89 +#, c-format +msgid "%s: time stamp %s: %s" +msgstr "%s: datação %s: %s" + +#: lib/iolog/iolog_legacy.c:96 +#, c-format +msgid "%s: user field is missing" +msgstr "%s: campo de utilizador em falta" + +#: lib/iolog/iolog_legacy.c:107 +#, c-format +msgid "%s: runas user field is missing" +msgstr "%s: campo de utilizador runas em falta" + +#: lib/iolog/iolog_legacy.c:118 +#, c-format +msgid "%s: runas group field is missing" +msgstr "%s: campo de grupo runas em falta" + +#: lib/iolog/iolog_mkdirs.c:89 +#, c-format +msgid "%s exists but is not a directory (0%o)" +msgstr "%s existe mas não é uma pasta (0%o)" + +#: lib/iolog/iolog_mkdirs.c:119 lib/iolog/iolog_mkdtemp.c:77 +#: logsrvd/iolog_writer.c:788 plugins/sudoers/timestamp.c:205 +#, c-format +msgid "unable to mkdir %s" +msgstr "impossível criar pasta %s" + +#: lib/iolog/iolog_mkdtemp.c:81 plugins/sudoers/visudo.c:726 +#: plugins/sudoers/visudo.c:737 +#, c-format +msgid "unable to change mode of %s to 0%o" +msgstr "impossível alterar o modo de %s para 0%o" + +#: lib/iolog/iolog_timing.c:261 +#, c-format +msgid "error reading timing file: %s" +msgstr "erro ao ler ficheiro de temporização: %s" + +#: lib/iolog/iolog_timing.c:268 +#, c-format +msgid "invalid timing file line: %s" +msgstr "linha de ficheiro de temporização inválida : %s" + +#: logsrvd/iolog_writer.c:131 plugins/sudoers/logging.c:803 +#: plugins/sudoers/policy.c:536 +msgid "unable to generate UUID" +msgstr "impossível gerar UUID" + +#: logsrvd/iolog_writer.c:158 logsrvd/iolog_writer.c:176 +#: logsrvd/iolog_writer.c:185 logsrvd/iolog_writer.c:203 +#: logsrvd/iolog_writer.c:216 logsrvd/iolog_writer.c:229 +#: logsrvd/iolog_writer.c:240 logsrvd/iolog_writer.c:247 +#: logsrvd/iolog_writer.c:265 logsrvd/iolog_writer.c:272 +#: logsrvd/iolog_writer.c:290 logsrvd/iolog_writer.c:305 +#: logsrvd/iolog_writer.c:318 logsrvd/iolog_writer.c:331 +#: logsrvd/iolog_writer.c:344 logsrvd/iolog_writer.c:359 +#, c-format +msgid "%s: protocol error: wrong type for %s" +msgstr "%s: erro de protocolo: tipo errado para %s" + +#: logsrvd/iolog_writer.c:370 logsrvd/iolog_writer.c:375 +#: logsrvd/iolog_writer.c:380 logsrvd/iolog_writer.c:385 +#, c-format +msgid "%s: protocol error: %s missing from AcceptMessage" +msgstr "%s: erro de protocolo: %s em falta de AcceptMessage" + +#: logsrvd/iolog_writer.c:446 +#, c-format +msgid "%s: unable to format session id" +msgstr "%s: impossível formatar a id da sessão" + +#: logsrvd/iolog_writer.c:460 logsrvd/iolog_writer.c:474 +#: logsrvd/iolog_writer.c:488 logsrvd/iolog_writer.c:503 +#: logsrvd/iolog_writer.c:517 logsrvd/iolog_writer.c:531 +#, c-format +msgid "%s: %s is not set" +msgstr "%s: %s não está definido" + +#: logsrvd/iolog_writer.c:567 logsrvd/iolog_writer.c:574 +#, c-format +msgid "unable to expand iolog path %s" +msgstr "impossível expandir caminho iolog %s" + +#: logsrvd/iolog_writer.c:592 +#, c-format +msgid "unable to create iolog path %s" +msgstr "impossível criar caminho iolog %s" + +#: logsrvd/iolog_writer.c:622 +#, c-format +msgid "invalid iofd %d" +msgstr "iofd %d inválido" + +#: logsrvd/iolog_writer.c:642 +#, c-format +msgid "error closing iofd %d: %s" +msgstr "erro ao fechar iofd %d: %s" + +#: logsrvd/iolog_writer.c:758 +#, c-format +msgid "invalid I/O log %s: %s referenced but not present" +msgstr "Diario de E/S %s inválido: %s referenciado mas ausente" + +#: logsrvd/iolog_writer.c:770 logsrvd/logsrvd_journal.c:378 +#, c-format +msgid "%s: unable to find resume point [%lld, %ld]" +msgstr "%s: impossível encontrar ponto de recomeço [%lld, %ld]" + +#: logsrvd/iolog_writer.c:792 logsrvd/logsrvd_journal.c:421 +#: logsrvd/logsrvd_queue.c:111 logsrvd/tls_init.c:293 +#: plugins/sudoers/check.c:274 plugins/sudoers/cvtsudoers.c:618 +#: plugins/sudoers/cvtsudoers.c:639 plugins/sudoers/cvtsudoers.c:1249 +#: plugins/sudoers/cvtsudoers_json.c:877 plugins/sudoers/cvtsudoers_ldif.c:692 +#: plugins/sudoers/sudoers.c:1083 plugins/sudoers/sudoreplay.c:1456 +#: plugins/sudoers/timestamp.c:433 plugins/sudoers/tsdump.c:128 +#: plugins/sudoers/visudo.c:913 +#, c-format +msgid "unable to open %s" +msgstr "impossível abrir %s" + +#: logsrvd/iolog_writer.c:804 logsrvd/logsrv_util.c:98 +#: logsrvd/logsrv_util.c:105 plugins/sudoers/sudoreplay.c:362 +#: plugins/sudoers/sudoreplay.c:368 +#, c-format +msgid "unable to open %s/%s" +msgstr "impossível abrir %s/%s" + +#: logsrvd/iolog_writer.c:817 +#, c-format +msgid "unable to copy %s/%s to %s/%s: %s" +msgstr "impossível copiar %s/%s para %s/%s: %s" + +#: logsrvd/iolog_writer.c:846 logsrvd/logsrvd_journal.c:186 +#, c-format +msgid "unable to rename %s to %s" +msgstr "impossível renomear %s como %s" + +#: logsrvd/logsrv_util.c:132 +#, c-format +msgid "missing I/O log file %s/%s" +msgstr "ficheiro de diário E/S %s/%s em falta" + +#: logsrvd/logsrv_util.c:139 +#, c-format +msgid "%s/%s: unable to seek forward %zu" +msgstr "%s/%s: impossível procurar adiante %zu" + +#: logsrvd/logsrv_util.c:149 +#, c-format +msgid "%s/%s: unable to find resume point [%lld, %ld]" +msgstr "%s/%s: impossível encontrar ponto de recomeço [%lld, %ld]" + +#: logsrvd/logsrvd.c:272 logsrvd/logsrvd_queue.c:131 +msgid "unable to connect to relay" +msgstr "impossível ligar ao relé" + +#: logsrvd/logsrvd.c:331 logsrvd/logsrvd_relay.c:838 +#, c-format +msgid "server message too large: %zu" +msgstr "mensagem do servidor muito grande: %zu" + +#: logsrvd/logsrvd.c:423 logsrvd/logsrvd.c:540 logsrvd/logsrvd.c:619 +#: logsrvd/logsrvd.c:843 logsrvd/logsrvd.c:857 logsrvd/logsrvd.c:1016 +#: logsrvd/logsrvd.c:1140 logsrvd/logsrvd.c:1309 logsrvd/logsrvd.c:1327 +#: logsrvd/logsrvd.c:1425 logsrvd/logsrvd.c:1548 logsrvd/logsrvd.c:1732 +#: logsrvd/logsrvd_journal.c:485 logsrvd/logsrvd_local.c:196 +#: logsrvd/logsrvd_queue.c:160 logsrvd/logsrvd_relay.c:173 +#: logsrvd/logsrvd_relay.c:250 logsrvd/logsrvd_relay.c:254 +#: logsrvd/logsrvd_relay.c:390 logsrvd/logsrvd_relay.c:582 +#: logsrvd/logsrvd_relay.c:743 logsrvd/logsrvd_relay.c:1124 +#: logsrvd/sendlog.c:1156 logsrvd/tls_client.c:136 logsrvd/tls_client.c:152 +#: logsrvd/tls_client.c:214 plugins/sudoers/audit.c:281 +#: plugins/sudoers/iolog.c:966 plugins/sudoers/iolog.c:1099 +#: plugins/sudoers/iolog.c:1197 plugins/sudoers/log_client.c:112 +#: plugins/sudoers/log_client.c:328 plugins/sudoers/log_client.c:344 +#: plugins/sudoers/log_client.c:391 plugins/sudoers/log_client.c:595 +#: plugins/sudoers/log_client.c:602 plugins/sudoers/log_client.c:1127 +#: plugins/sudoers/log_client.c:1409 plugins/sudoers/log_client.c:1450 +#: plugins/sudoers/log_client.c:1458 plugins/sudoers/log_client.c:1612 +#: plugins/sudoers/log_client.c:1728 plugins/sudoers/log_client.c:2045 +#: plugins/sudoers/log_client.c:2053 plugins/sudoers/logging.c:139 +#: plugins/sudoers/logging.c:195 plugins/sudoers/sudoreplay.c:522 +#: plugins/sudoers/sudoreplay.c:569 plugins/sudoers/sudoreplay.c:811 +#: plugins/sudoers/sudoreplay.c:923 plugins/sudoers/sudoreplay.c:1014 +#: plugins/sudoers/sudoreplay.c:1029 plugins/sudoers/sudoreplay.c:1036 +#: plugins/sudoers/sudoreplay.c:1043 plugins/sudoers/sudoreplay.c:1050 +#: plugins/sudoers/sudoreplay.c:1057 plugins/sudoers/sudoreplay.c:1184 +msgid "unable to add event to queue" +msgstr "impossível adicionar evento à fila" + +#: logsrvd/logsrvd.c:447 logsrvd/logsrvd.c:484 logsrvd/logsrvd.c:516 +#: logsrvd/logsrvd.c:564 logsrvd/logsrvd.c:636 logsrvd/logsrvd.c:666 +#: logsrvd/logsrvd.c:696 logsrvd/logsrvd.c:726 logsrvd/logsrvd_relay.c:511 +#: logsrvd/logsrvd_relay.c:544 +#, c-format +msgid "unexpected state %d for %s" +msgstr "estado %d inesperado para %s" + +#: logsrvd/logsrvd.c:448 logsrvd/logsrvd.c:485 logsrvd/logsrvd.c:517 +#: logsrvd/logsrvd.c:565 logsrvd/logsrvd.c:637 logsrvd/logsrvd.c:667 +#: logsrvd/logsrvd.c:697 logsrvd/logsrvd.c:727 logsrvd/logsrvd_relay.c:513 +#: logsrvd/logsrvd_relay.c:546 +msgid "state machine error" +msgstr "erro da máquina de estado" + +#: logsrvd/logsrvd.c:454 logsrvd/logsrvd.c:455 +msgid "invalid AcceptMessage" +msgstr "AcceptMessage inválida" + +#: logsrvd/logsrvd.c:491 logsrvd/logsrvd.c:492 +msgid "invalid RejectMessage" +msgstr "RejectMessage inválida" + +#: logsrvd/logsrvd.c:599 logsrvd/logsrvd.c:600 +msgid "invalid AlertMessage" +msgstr "AlertMessage inválida" + +#: logsrvd/logsrvd.c:641 logsrvd/logsrvd.c:671 logsrvd/logsrvd.c:701 +#, c-format +msgid "%s: unexpected IoBuffer" +msgstr "%s: IoBuffer inesperado" + +#: logsrvd/logsrvd.c:642 logsrvd/logsrvd.c:672 logsrvd/logsrvd.c:702 +msgid "protocol error" +msgstr "erro de protocolo" + +#: logsrvd/logsrvd.c:797 logsrvd/logsrvd_journal.c:358 +#: logsrvd/logsrvd_local.c:125 logsrvd/logsrvd_relay.c:677 +#, c-format +msgid "unexpected type_case value %d in %s from %s" +msgstr "valor type_case %d inesperado em %s de %s" + +#: logsrvd/logsrvd.c:799 +msgid "unrecognized ClientMessage type" +msgstr "tipo de ClientMessage não reconhecido" + +#: logsrvd/logsrvd.c:889 +#, c-format +msgid "timed out writing to client %s" +msgstr "expirou ao escrever no cliente %s" + +#: logsrvd/logsrvd.c:894 logsrvd/logsrvd_relay.c:910 +#, c-format +msgid "missing write buffer for client %s" +msgstr "buffer de escrita em falta para o cliente %s" + +#: logsrvd/logsrvd.c:987 +#, c-format +msgid "timed out reading from client %s" +msgstr "expirou ao ler do cliente %s" + +#: logsrvd/logsrvd.c:1028 logsrvd/logsrvd_relay.c:774 +#, c-format +msgid "EOF from %s without proper TLS shutdown" +msgstr "EOF de %s sem encerramento apropriado de TLS" + +#: logsrvd/logsrvd.c:1071 logsrvd/logsrvd_relay.c:206 logsrvd/sendlog.c:290 +#: plugins/sudoers/log_client.c:705 +#, c-format +msgid "client message too large: %zu" +msgstr "mensagem do cliente muito grande: %zu" + +#: logsrvd/logsrvd.c:1072 logsrvd/logsrvd_journal.c:247 +#: logsrvd/logsrvd_journal.c:248 +msgid "client message too large" +msgstr "mensagem do cliente muito grande" + +#: logsrvd/logsrvd.c:1090 logsrvd/logsrvd.c:1091 +msgid "invalid ClientMessage" +msgstr "ClientMessage inválida" + +#: logsrvd/logsrvd.c:1388 +msgid "unable to get remote IP addr" +msgstr "impossível obter endereço IP remoto" + +#: logsrvd/logsrvd.c:1417 logsrvd/tls_client.c:201 +#: plugins/sudoers/log_client.c:266 +#, c-format +msgid "Unable to attach user data to the ssl object: %s" +msgstr "Impossível anexar dados do utilizador ao objecto ssl: %s" + +#: logsrvd/logsrvd.c:1598 logsrvd/logsrvd.c:1951 +msgid "unable to setup listen socket" +msgstr "impossível definir o socket de escuta" + +#: logsrvd/logsrvd.c:1715 +#, c-format +msgid "unexpected signal %d" +msgstr "sinal %d inesperado" + +#: logsrvd/logsrvd.c:1853 +msgid "sudo log server" +msgstr "servidor de diário sudo" + +#: logsrvd/logsrvd.c:1855 logsrvd/sendlog.c:122 +msgid "Options:" +msgstr "Opções:" + +#: logsrvd/logsrvd.c:1857 +msgid "path to configuration file" +msgstr "caminho do ficheiro de configuração" + +#: logsrvd/logsrvd.c:1859 logsrvd/sendlog.c:124 +msgid "display help message and exit" +msgstr "mostrar mensagem de ajuda e sair" + +#: logsrvd/logsrvd.c:1861 +msgid "do not fork, run in the foreground" +msgstr "não bifurcar, executar em 2º plano" + +#: logsrvd/logsrvd.c:1863 +msgid "percent chance connections will drop" +msgstr "probabilidade das ligações caírem" + +#: logsrvd/logsrvd.c:1865 logsrvd/sendlog.c:154 +msgid "display version information and exit" +msgstr "mostrar informação da versão e sair" + +#: logsrvd/logsrvd.c:1915 logsrvd/sendlog.c:1532 +msgid "Protobuf-C version 1.3 or higher required" +msgstr "Requerida a versão Protobuf-C 1.3 ou superior" + +#: logsrvd/logsrvd.c:1931 +#, c-format +msgid "invalid random drop value: %s" +msgstr "valor de queda aleatório inválido: %s" + +#: logsrvd/logsrvd.c:1934 logsrvd/sendlog.c:1586 +#: plugins/sudoers/cvtsudoers.c:228 plugins/sudoers/sudoreplay.c:301 +#: plugins/sudoers/visudo.c:175 +#, c-format +msgid "%s version %s\n" +msgstr "%s versão %s\n" + +#: logsrvd/logsrvd_conf.c:391 plugins/sudoers/check.c:336 +#: plugins/sudoers/exptilde.c:85 plugins/sudoers/iolog.c:115 +#: plugins/sudoers/policy.c:1159 plugins/sudoers/sudoers.c:486 +#: plugins/sudoers/sudoers.c:1338 plugins/sudoers/testsudoers.c:215 +#: plugins/sudoers/testsudoers.c:382 +#, c-format +msgid "unknown user %s" +msgstr "utilizador desconhecido %s" + +#: logsrvd/logsrvd_conf.c:408 plugins/sudoers/iolog.c:140 +#: plugins/sudoers/sudoers.c:491 plugins/sudoers/sudoers.c:1372 +#: plugins/sudoers/testsudoers.c:406 +#, c-format +msgid "unknown group %s" +msgstr "grupo desconhecido %s" + +#: logsrvd/logsrvd_conf.c:426 +#, c-format +msgid "unable to parse iolog mode %s" +msgstr "impossível analisar modo iolog %s" + +#: logsrvd/logsrvd_conf.c:443 logsrvd/logsrvd_conf.c:1172 +#, c-format +msgid "invalid value for %s: %s" +msgstr "valor inválido para %s: %s" + +#: logsrvd/logsrvd_conf.c:482 +msgid "TLS not supported" +msgstr "TLS não suportado" + +#: logsrvd/logsrvd_conf.c:504 +#, c-format +msgid "%s:%s" +msgstr "%s:%s" + +#: logsrvd/logsrvd_conf.c:577 logsrvd/logsrvd_conf.c:971 +#, c-format +msgid "%s: not a fully qualified path" +msgstr "%s: não é um caminho completamente qualificado" + +#: logsrvd/logsrvd_conf.c:889 logsrvd/logsrvd_conf.c:905 +#: logsrvd/logsrvd_conf.c:1587 +#, c-format +msgid "unknown syslog facility %s" +msgstr "facilidade syslog desconhecida %s" + +#: logsrvd/logsrvd_conf.c:921 logsrvd/logsrvd_conf.c:937 +#: logsrvd/logsrvd_conf.c:953 logsrvd/logsrvd_conf.c:1591 +#: logsrvd/logsrvd_conf.c:1595 logsrvd/logsrvd_conf.c:1599 +#, c-format +msgid "unknown syslog priority %s" +msgstr "prioridade syslog desconhecida %s" + +#: logsrvd/logsrvd_conf.c:1133 +#, c-format +msgid "%s:%d unmatched '[': %s" +msgstr "%s:%d \"[\" sem par: %s" + +#: logsrvd/logsrvd_conf.c:1144 +#, c-format +msgid "%s:%d invalid config section: %s" +msgstr "%s:%d secção de configuração inválida: %s" + +#: logsrvd/logsrvd_conf.c:1152 +#, c-format +msgid "%s:%d invalid configuration line: %s" +msgstr "%s:%d linha de configuração inválida: %s" + +#: logsrvd/logsrvd_conf.c:1158 +#, c-format +msgid "%s:%d expected section name: %s" +msgstr "%s:%d esperado um nome de secção: %s" + +#: logsrvd/logsrvd_conf.c:1180 +#, c-format +msgid "%s:%d [%s] illegal key: %s" +msgstr "%s:%d [%s] chave ilegal: %s" + +#: logsrvd/logsrvd_conf.c:1210 plugins/sudoers/logging.c:856 +#, c-format +msgid "unable to open log file %s" +msgstr "impossível abrir o diário %s" + +#: logsrvd/logsrvd_conf.c:1667 +msgid "unable to initialize server TLS context" +msgstr "impossível inicializar contexto do servidor TLS" + +#: logsrvd/logsrvd_conf.c:1687 +msgid "unable to initialize relay TLS context" +msgstr "impossível inicializar contexto do intermédio TLS" + +#: logsrvd/logsrvd_journal.c:137 logsrvd/logsrvd_journal.c:417 +#: logsrvd/logsrvd_journal.c:422 +msgid "unable to create journal file" +msgstr "impossível criar o ficheiro de diário" + +#: logsrvd/logsrvd_journal.c:141 logsrvd/logsrvd_queue.c:105 +#: plugins/sudoers/visudo.c:971 +#, c-format +msgid "unable to lock %s" +msgstr "impossível bloquear %s" + +#: logsrvd/logsrvd_journal.c:144 +msgid "unable to lock journal file" +msgstr "impossível bloquear o diário" + +#: logsrvd/logsrvd_journal.c:152 +msgid "unable to open journal file" +msgstr "impossível abrir o ficheiro de diário" + +#: logsrvd/logsrvd_journal.c:173 logsrvd/logsrvd_journal.c:453 +#: logsrvd/logsrvd_journal.c:458 +msgid "unable to write journal file" +msgstr "impossível escrever no diário" + +#: logsrvd/logsrvd_journal.c:181 logsrvd/logsrvd_journal.c:188 +msgid "unable to rename journal file" +msgstr "impossível renomear o diário" + +#: logsrvd/logsrvd_journal.c:235 logsrvd/logsrvd_journal.c:236 +#: logsrvd/logsrvd_journal.c:270 logsrvd/logsrvd_journal.c:271 +msgid "unexpected EOF reading journal file" +msgstr "EOF inesperado ao ler o diário" + +#: logsrvd/logsrvd_journal.c:239 logsrvd/logsrvd_journal.c:240 +#: logsrvd/logsrvd_journal.c:274 logsrvd/logsrvd_journal.c:275 +msgid "error reading journal file" +msgstr "erro ao ler ficheiro de diário" + +#: logsrvd/logsrvd_journal.c:286 logsrvd/logsrvd_journal.c:377 +msgid "invalid journal file, unable to restart" +msgstr "ficheiro de diário inválido, impossível reiniciar" + +#: logsrvd/logsrvd_journal.c:436 +#, c-format +msgid "unable to seek to [%lld, %ld] in journal file %s" +msgstr "impossível localizar [%lld, %ld] no ficheiro de diário %s" + +#: logsrvd/logsrvd_local.c:152 +msgid "error parsing AcceptMessage" +msgstr "erro ao analisar AcceptMessage" + +#: logsrvd/logsrvd_local.c:163 +msgid "error creating I/O log" +msgstr "erro ao criar diário de E/S" + +#: logsrvd/logsrvd_local.c:186 +msgid "error logging accept event" +msgstr "erro ao registar evento de aceitação" + +#: logsrvd/logsrvd_local.c:225 +msgid "error parsing RejectMessage" +msgstr "erro ao analisar RejectMessage" + +#: logsrvd/logsrvd_local.c:249 +msgid "error logging reject event" +msgstr "erro ao registar evento de rejeição" + +#: logsrvd/logsrvd_local.c:284 +msgid "error logging exit event" +msgstr "erro ao registar evento de saída" + +#: logsrvd/logsrvd_local.c:343 logsrvd/logsrvd_local.c:344 +msgid "log is already complete, cannot be restarted" +msgstr "diário já concluído, impossível reiniciar" + +#: logsrvd/logsrvd_local.c:374 +msgid "unable to restart log" +msgstr "impossível reiniciar o diário" + +#: logsrvd/logsrvd_local.c:390 +msgid "error parsing AlertMessage" +msgstr "erro ao analisar AlertMessage" + +#: logsrvd/logsrvd_local.c:400 +msgid "error logging alert event" +msgstr "erro ao registar evento de alerta" + +#: logsrvd/logsrvd_local.c:435 logsrvd/logsrvd_local.c:488 +#: logsrvd/logsrvd_local.c:523 +#, c-format +msgid "unable to format timing buffer, length %d" +msgstr "impossível formatar buffer de temporização, tamanho %d" + +#: logsrvd/logsrvd_local.c:442 logsrvd/logsrvd_local.c:450 +#: logsrvd/logsrvd_local.c:495 logsrvd/logsrvd_local.c:530 +#: plugins/sudoers/sudoreplay.c:351 +#, c-format +msgid "%s/%s: %s" +msgstr "%s/%s: %s" + +#: logsrvd/logsrvd_local.c:470 +msgid "error writing IoBuffer" +msgstr "erro ao escrever IObuffer" + +#: logsrvd/logsrvd_local.c:505 +msgid "error writing ChangeWindowSize" +msgstr "erro ao escrever ChangeWindowSize" + +#: logsrvd/logsrvd_local.c:540 +msgid "error writing CommandSuspend" +msgstr "erro ao escrever CommandSuspend" + +#: logsrvd/logsrvd_relay.c:436 +msgid "TLS handshake with relay host failed" +msgstr "Falha no TLS handshake com o servidor intermédio" + +#: logsrvd/logsrvd_relay.c:464 +msgid "unable to connect to relay host" +msgstr "impossível ligar ao servidor intermédio" + +#: logsrvd/logsrvd_relay.c:519 +#, c-format +msgid "%s: invalid ServerHello, missing server_id" +msgstr "%s: ServerHello inválido, server_id em falta" + +#: logsrvd/logsrvd_relay.c:521 logsrvd/sendlog.c:961 +#: plugins/sudoers/log_client.c:1493 +msgid "invalid ServerHello" +msgstr "ServerHello inválido" + +#: logsrvd/logsrvd_relay.c:680 +msgid "unrecognized ServerMessage type" +msgstr "tipo de ServerMessage não reconhecido" + +#: logsrvd/logsrvd_relay.c:709 +#, c-format +msgid "timed out reading from relay %s (%s)" +msgstr "expirou ao ler do relé %s (%s)" + +#: logsrvd/logsrvd_relay.c:711 +msgid "timeout reading from relay" +msgstr "leitura do servidor intermédio expirou" + +#: logsrvd/logsrvd_relay.c:762 +msgid "relay host name does not match certificate" +msgstr "nome de servidor intermédio não corresponde ao certificado" + +#: logsrvd/logsrvd_relay.c:766 logsrvd/logsrvd_relay.c:779 +#: logsrvd/logsrvd_relay.c:785 +msgid "error reading from relay" +msgstr "erro ao ler do servidor intermédio" + +#: logsrvd/logsrvd_relay.c:806 +msgid "unable to read from relay" +msgstr "impossível ler do servidor intermédio" + +#: logsrvd/logsrvd_relay.c:821 logsrvd/logsrvd_relay.c:939 +msgid "relay server closed connection" +msgstr "o servidor intermédio fechou a ligação" + +#: logsrvd/logsrvd_relay.c:839 +msgid "server message too large" +msgstr "mensagem do servidor muito grande" + +#: logsrvd/logsrvd_relay.c:903 +#, c-format +msgid "timed out writing to relay %s (%s)" +msgstr "expirou ao escrever no relé %s (%s)" + +#: logsrvd/logsrvd_relay.c:905 +msgid "timeout writing to relay" +msgstr "escrita no servidor intermédio expirou" + +#: logsrvd/logsrvd_relay.c:958 logsrvd/logsrvd_relay.c:964 +#: logsrvd/logsrvd_relay.c:974 +msgid "error writing to relay" +msgstr "erro ao escrever no servidor intermédio" + +#: logsrvd/sendlog.c:120 +msgid "send sudo I/O log to remote server" +msgstr "%s - enviar diário sudo E/S para o servidor remoto" + +#: logsrvd/sendlog.c:126 +msgid "only send an accept event (no I/O)" +msgstr "enviar só um evento de aceitação (sem E/S)" + +#: logsrvd/sendlog.c:129 +msgid "certificate bundle file to verify server's cert against" +msgstr "ficheiro de pacote de certificados contra o qual verificar o certificado do servidor" + +#: logsrvd/sendlog.c:131 +msgid "certificate file for TLS handshake" +msgstr "ficheiro de certificado para o TLS handshake" + +#: logsrvd/sendlog.c:134 +msgid "host to send logs to" +msgstr "anfitrião para onde enviar os diários" + +#: logsrvd/sendlog.c:136 +msgid "remote ID of I/O log to be resumed" +msgstr "a ID remota do diário de E/S a retomar" + +#: logsrvd/sendlog.c:139 +msgid "private key file" +msgstr "ficheiro de chave privada" + +#: logsrvd/sendlog.c:141 +msgid "do not verify server certificate" +msgstr "não verificar certificado do servidor" + +#: logsrvd/sendlog.c:144 +msgid "port to use when connecting to host" +msgstr "porta a usar ao ligar ao anfitrião" + +#: logsrvd/sendlog.c:146 +msgid "restart previous I/O log transfer" +msgstr "reiniciar transferência do diário de E/S prévia" + +#: logsrvd/sendlog.c:148 +msgid "reject the command with the given reason" +msgstr "rejeitar o comando com o motivo indicado" + +#: logsrvd/sendlog.c:150 +msgid "stop transfer after reaching this time" +msgstr "parar transferência após atingir este tempo" + +#: logsrvd/sendlog.c:152 +msgid "test audit server by sending selected I/O log n times in parallel" +msgstr "testar servidor de auditoria enviando o diário de E/S seleccionado n vezes em paralelo" + +#: logsrvd/sendlog.c:177 plugins/sudoers/log_client.c:437 +#, c-format +msgid "unable to look up %s:%s: %s" +msgstr "impossível procurar %s:%s: %s" + +#: logsrvd/sendlog.c:215 +msgid "unable to get server IP addr" +msgstr "impossível obter endereço IP do servidor" + +#: logsrvd/sendlog.c:269 plugins/sudoers/sudoreplay.c:871 +#, c-format +msgid "unable to read %s/%s: %s" +msgstr "impossível ler %s/%s: %s" + +#: logsrvd/sendlog.c:831 +#, c-format +msgid "%s: write buffer already in use" +msgstr "%s: buffer de escrita já em uso" + +#: logsrvd/sendlog.c:892 plugins/sudoers/iolog.c:890 +#: plugins/sudoers/iolog.c:959 +#, c-format +msgid "unexpected I/O event %d" +msgstr "evento de E/S %d inesperado" + +#: logsrvd/sendlog.c:938 logsrvd/sendlog.c:955 logsrvd/sendlog.c:989 +#: plugins/sudoers/log_client.c:1142 plugins/sudoers/log_client.c:1419 +#: plugins/sudoers/log_client.c:1487 plugins/sudoers/log_client.c:1526 +#, c-format +msgid "%s: unexpected state %d" +msgstr "%s: estado %d inesperado" + +#: logsrvd/sendlog.c:1025 plugins/sudoers/log_client.c:1570 +#, c-format +msgid "error message received from server: %s" +msgstr "recebida mensagem de erro do servidos: %s" + +#: logsrvd/sendlog.c:1038 plugins/sudoers/log_client.c:1583 +#, c-format +msgid "abort message received from server: %s" +msgstr "recebida mensagem de aborto do servidos: %s" + +#: logsrvd/sendlog.c:1097 plugins/sudoers/log_client.c:1633 +#, c-format +msgid "%s: unexpected type_case value %d" +msgstr "%s: valor type_case %d inesperado" + +#: logsrvd/sendlog.c:1126 +msgid "timeout reading from server" +msgstr "leitura do servidor expirou" + +#: logsrvd/sendlog.c:1205 +msgid "premature EOF" +msgstr "EOF prematuro" + +#: logsrvd/sendlog.c:1218 plugins/sudoers/log_client.c:1791 +#, c-format +msgid "server message too large: %u" +msgstr "mensagem do servidor muito grande: %u" + +#: logsrvd/sendlog.c:1269 +msgid "timeout writing to server" +msgstr "escrita no servidor expirou" + +#: logsrvd/sendlog.c:1609 +msgid "both restart point and iolog ID must be specified" +msgstr "tem de especificar o ponto de reinício e a ID iolog" + +#: logsrvd/sendlog.c:1613 +msgid "a restart point may not be set when no I/O is sent" +msgstr "impossível definir um ponto de reinício sem E/S enviada" + +#: logsrvd/sendlog.c:1689 +#, c-format +msgid "exited prematurely with state %d" +msgstr "saída prematura com o estado %d" + +#: logsrvd/sendlog.c:1690 +#, c-format +msgid "elapsed time sent to server [%lld, %ld]" +msgstr "tempo decorrido de envio para o servidor [%lld, %ld]" + +#: logsrvd/sendlog.c:1692 +#, c-format +msgid "commit point received from server [%lld, %ld]" +msgstr "ponto de submissão recebido do servidor [%lld, %ld]" + +#: logsrvd/tls_client.c:111 plugins/sudoers/log_client.c:300 +msgid "TLS handshake timeout occurred" +msgstr "TLS handshake expirou" + +#: logsrvd/tls_client.c:131 logsrvd/tls_client.c:147 +#: plugins/sudoers/log_client.c:322 plugins/sudoers/log_client.c:338 +msgid "unable to set event" +msgstr "impossível definir o evento" + +#: logsrvd/tls_client.c:157 logsrvd/tls_client.c:161 +#, c-format +msgid "TLS connection failed: %s" +msgstr "Falha na ligação TLS: %s" + +#: logsrvd/tls_client.c:195 +#, c-format +msgid "unable to allocate ssl object: %s" +msgstr "impossível alocar objecto ssl: %s" + +#: logsrvd/tls_client.c:208 +#, c-format +msgid "Unable to attach socket to the ssl object: %s" +msgstr "Impossível anexar socket ao objecto ssl: %s" + +#: logsrvd/tls_client.c:236 +msgid "unable to initialize TLS context" +msgstr "impossível inicializar contexto TLS" + +#: logsrvd/tls_init.c:126 logsrvd/tls_init.c:134 +#, c-format +msgid "unable to set TLS 1.2 ciphersuite to %s: %s" +msgstr "impossível definir TLS 1.2 ciphersuite como %s: %s" + +#: logsrvd/tls_init.c:154 logsrvd/tls_init.c:162 +#, c-format +msgid "unable to set TLS 1.3 ciphersuite to %s: %s" +msgstr "impossível definir TLS 1.3 ciphersuite como %s: %s" + +#: logsrvd/tls_init.c:197 +#, c-format +msgid "unable to create TLS context: %s" +msgstr "impossível criar contexto TLS: %s" + +#: logsrvd/tls_init.c:203 +#, c-format +msgid "unable to set minimum protocol version to TLS 1.2: %s" +msgstr "impossível definir versão mínima do protocolo como TLS 1.2: %s" + +#: logsrvd/tls_init.c:279 +#, c-format +msgid "unable to set diffie-hellman parameters: %s" +msgstr "impossível definir parâmetros diffie-hellman: %s" + +#: logsrvd/tls_init.c:288 +#, c-format +msgid "unable to read diffie-hellman parameters: %s" +msgstr "impossível ler parâmetros diffie-hellman: %s" + +#: plugins/sudoers/audit.c:267 plugins/sudoers/audit.c:422 +#: plugins/sudoers/log_client.c:975 plugins/sudoers/log_client.c:1024 +#: plugins/sudoers/log_client.c:1073 plugins/sudoers/log_client.c:1199 +#: plugins/sudoers/logging.c:554 plugins/sudoers/logging.c:648 +#: plugins/sudoers/logging.c:810 plugins/sudoers/policy.c:123 +msgid "unable to get time of day" +msgstr "impossível obter hora do dia" + +#: plugins/sudoers/auth/aix_auth.c:277 +#, c-format +msgid "unable to change password for %s" +msgstr "impossível alterar a senha para %s" + +#: plugins/sudoers/auth/bsdauth.c:70 +#, c-format +msgid "unable to get login class for user %s" +msgstr "impossível obter classe de sessão para o utilizador %s" + +#: plugins/sudoers/auth/bsdauth.c:75 +msgid "unable to begin bsd authentication" +msgstr "impossível iniciar autenticação bsd" + +#: plugins/sudoers/auth/bsdauth.c:83 +msgid "invalid authentication type" +msgstr "tipo de autenticação inválido" + +#: plugins/sudoers/auth/bsdauth.c:92 +msgid "unable to initialize BSD authentication" +msgstr "impossível inicializar autenticação BSD" + +#: plugins/sudoers/auth/bsdauth.c:179 +msgid "your account has expired" +msgstr "a sua conta expirou" + +#: plugins/sudoers/auth/bsdauth.c:181 +msgid "approval failed" +msgstr "aprovação falhou" + +#: plugins/sudoers/auth/fwtk.c:54 +msgid "unable to read fwtk config" +msgstr "impossível ler fwtk config" + +#: plugins/sudoers/auth/fwtk.c:59 +msgid "unable to connect to authentication server" +msgstr "impossível ligar ao servidor de autenticação" + +#: plugins/sudoers/auth/fwtk.c:65 plugins/sudoers/auth/fwtk.c:89 +#: plugins/sudoers/auth/fwtk.c:121 +msgid "lost connection to authentication server" +msgstr "ligação ao servidor de autenticação perdida" + +#: plugins/sudoers/auth/fwtk.c:69 +#, c-format +msgid "" +"authentication server error:\n" +"%s" +msgstr "" +"erro no servidor de autenticação:\n" +"%s" + +#: plugins/sudoers/auth/kerb5.c:110 +#, c-format +msgid "%s: unable to convert principal to string ('%s'): %s" +msgstr "%s: impossível converter principal para cadeia (\"%s\"): %s" + +#: plugins/sudoers/auth/kerb5.c:160 +#, c-format +msgid "%s: unable to parse '%s': %s" +msgstr "%s: impossível analisar \"%s\": %s" + +#: plugins/sudoers/auth/kerb5.c:169 +#, c-format +msgid "%s: unable to resolve credential cache: %s" +msgstr "%s: impossível resolver cache de credenciais: %s" + +#: plugins/sudoers/auth/kerb5.c:216 +#, c-format +msgid "%s: unable to allocate options: %s" +msgstr "%s: impossível alocar opções: %s" + +#: plugins/sudoers/auth/kerb5.c:231 +#, c-format +msgid "%s: unable to get credentials: %s" +msgstr "%s: impossível obter credentiais: %s" + +#: plugins/sudoers/auth/kerb5.c:244 +#, c-format +msgid "%s: unable to initialize credential cache: %s" +msgstr "%s: impossível inicializar a cache de credenciais: %s" + +#: plugins/sudoers/auth/kerb5.c:247 +#, c-format +msgid "%s: unable to store credential in cache: %s" +msgstr "%s: impossível armazenar a credencial em cache: %s" + +#: plugins/sudoers/auth/kerb5.c:311 +#, c-format +msgid "%s: unable to get host principal: %s" +msgstr "%s: impossível obter o principal do anfitrião: %s" + +#: plugins/sudoers/auth/kerb5.c:325 +#, c-format +msgid "%s: Cannot verify TGT! Possible attack!: %s" +msgstr "%s: Impossível verificar TGT! Possível ataque!: %s" + +#: plugins/sudoers/auth/pam.c:218 +#, c-format +msgid "unable to initialize PAM: %s" +msgstr "impossível inicializar PAM: %s" + +#: plugins/sudoers/auth/pam.c:340 +#, c-format +msgid "PAM authentication error: %s" +msgstr "Erro de autenticação PAM: %s" + +#: plugins/sudoers/auth/pam.c:359 +msgid "account validation failure, is your account locked?" +msgstr "falha na validação de conta, tem a conta trancada?" + +#: plugins/sudoers/auth/pam.c:370 +msgid "Account or password is expired, reset your password and try again" +msgstr "Conta ou senha expiradas, reponha a sua senha e tente novamente" + +#: plugins/sudoers/auth/pam.c:376 +#, c-format +msgid "unable to change expired password: %s" +msgstr "impossível alterar senha expirada: %s" + +#: plugins/sudoers/auth/pam.c:387 +msgid "Password expired, contact your system administrator" +msgstr "Senha expirada, contacte o administrador do sistema" + +#: plugins/sudoers/auth/pam.c:392 +msgid "Account expired or PAM config lacks an \"account\" section for sudo, contact your system administrator" +msgstr "Conta expirada ou configuração PAM sem secção \"account\" para sudo, contacte o administrador do sistema" + +#: plugins/sudoers/auth/pam.c:400 plugins/sudoers/auth/pam.c:405 +#, c-format +msgid "PAM account management error: %s" +msgstr "Erro de gestão de conta PAM: %s" + +#: plugins/sudoers/auth/rfc1938.c:99 plugins/sudoers/visudo.c:241 +#, c-format +msgid "you do not exist in the %s database" +msgstr "utilizador não existente na base de dados %s" + +#: plugins/sudoers/auth/securid5.c:72 +msgid "failed to initialise the ACE API library" +msgstr "falha ao inicializar a biblioteca ACE API" + +#: plugins/sudoers/auth/securid5.c:98 +msgid "unable to contact the SecurID server" +msgstr "impossível contactar o servidor SecurID" + +#: plugins/sudoers/auth/securid5.c:107 +msgid "User ID locked for SecurID Authentication" +msgstr "ID de utilizador bloqueada para autenticação SecurID" + +#: plugins/sudoers/auth/securid5.c:111 plugins/sudoers/auth/securid5.c:162 +msgid "invalid username length for SecurID" +msgstr "tamanho de nome de utilizador inválido para SecurID" + +#: plugins/sudoers/auth/securid5.c:115 plugins/sudoers/auth/securid5.c:167 +msgid "invalid Authentication Handle for SecurID" +msgstr "gestão de autenticação inválida para SecurID" + +#: plugins/sudoers/auth/securid5.c:119 +msgid "SecurID communication failed" +msgstr "Falha na comunicação SecurID" + +#: plugins/sudoers/auth/securid5.c:123 plugins/sudoers/auth/securid5.c:210 +msgid "unknown SecurID error" +msgstr "erro SecurID desconhecido" + +#: plugins/sudoers/auth/securid5.c:157 +msgid "invalid passcode length for SecurID" +msgstr "tamanho de senha inválido para SecurID" + +#: plugins/sudoers/auth/sia.c:69 plugins/sudoers/auth/sia.c:123 +msgid "unable to initialize SIA session" +msgstr "impossível inicializar sessão SIA" + +#: plugins/sudoers/auth/sudo_auth.c:132 +msgid "invalid authentication methods" +msgstr "métodos de autenticação inválidos" + +#: plugins/sudoers/auth/sudo_auth.c:134 +msgid "Invalid authentication methods compiled into sudo! You may not mix standalone and non-standalone authentication." +msgstr "Métodos de autenticação inválidos compilados com sudo! Não pode misturar autenticação independente com outra." + +#: plugins/sudoers/auth/sudo_auth.c:255 plugins/sudoers/auth/sudo_auth.c:305 +msgid "no authentication methods" +msgstr "sem métodos de autenticação" + +#: plugins/sudoers/auth/sudo_auth.c:257 +msgid "There are no authentication methods compiled into sudo! If you want to turn off authentication, use the --disable-authentication configure option." +msgstr "Não há métodos de autenticação compilados com sudo! Se pretende desligar a autenticação. use a opção de configuração --disable-authentication." + +#: plugins/sudoers/auth/sudo_auth.c:307 +msgid "Unable to initialize authentication methods." +msgstr "Impossível inicializar métodos de autenticaçao." + +#: plugins/sudoers/auth/sudo_auth.c:471 +msgid "Authentication methods:" +msgstr "Métodos de autenticação:" + +#: plugins/sudoers/bsm_audit.c:123 plugins/sudoers/bsm_audit.c:214 +msgid "Could not determine audit condition" +msgstr "Impossível determinar condição de auditoria" + +#: plugins/sudoers/bsm_audit.c:188 plugins/sudoers/bsm_audit.c:277 +msgid "unable to commit audit record" +msgstr "impossível submeter registo de auditoria" + +#: plugins/sudoers/check.c:264 +#, c-format +msgid "error reading lecture file %s" +msgstr "erro ao ler ficheiro de palestra %s" + +#: plugins/sudoers/check.c:270 +#, c-format +msgid "ignoring lecture file %s: not a regular file" +msgstr "a ignorar ficheiro de palestra %s: não é um ficheiro normal" + +#: plugins/sudoers/check.c:283 +msgid "" +"\n" +"We trust you have received the usual lecture from the local System\n" +"Administrator. It usually boils down to these three things:\n" +"\n" +" #1) Respect the privacy of others.\n" +" #2) Think before you type.\n" +" #3) With great power comes great responsibility.\n" +"\n" +msgstr "" +"\n" +"Acreditamos que recebeu a lição de moral do administrador de\n" +"sistema local. Normalmente resume-se a estes três pontos:\n" +"\n" +" 1) respeite a privacidade dos outros;\n" +" 2) pense antes de escrever;\n" +" 3) lembre-se que com grande poder vem grande responsabilidade.\n" +"\n" + +#: plugins/sudoers/check.c:331 plugins/sudoers/check.c:341 +#: plugins/sudoers/sudoers.c:876 plugins/sudoers/sudoers.c:897 +#: plugins/sudoers/tsdump.c:119 +#, c-format +msgid "unknown uid %u" +msgstr "uid desconhecida %u" + +#: plugins/sudoers/check_aliases.c:56 +#, c-format +msgid "Error: %s:%d:%d: cycle in %s \"%s\"" +msgstr "Erro: %s:%d:%d: ciclo em %s \"%s\"" + +#: plugins/sudoers/check_aliases.c:57 +#, c-format +msgid "Warning: %s:%d:%d: cycle in %s \"%s\"" +msgstr "Aviso: %s:%d:%d: ciclo em %s \"%s\"" + +#: plugins/sudoers/check_aliases.c:61 +#, c-format +msgid "Error: %s:%d:%d: %s \"%s\" referenced but not defined" +msgstr "Erro: %s:%d:%d: %s \"%s\" referenciado mas não definido" + +#: plugins/sudoers/check_aliases.c:62 +#, c-format +msgid "Warning: %s:%d:%d: %s \"%s\" referenced but not defined" +msgstr "Aviso: %s:%d:%d: %s \"%s\" referenciado mas não definido" + +#: plugins/sudoers/cvtsudoers.c:194 +#, c-format +msgid "order increment: %s: %s" +msgstr "incremento de ordem: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:210 +#, c-format +msgid "starting order: %s: %s" +msgstr "ordem inicial: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:220 +#, c-format +msgid "order padding: %s: %s" +msgstr "espaço de ordem: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:230 plugins/sudoers/visudo.c:177 +#, c-format +msgid "%s grammar version %d\n" +msgstr "%s versão gramatical %d\n" + +#: plugins/sudoers/cvtsudoers.c:247 plugins/sudoers/testsudoers.c:159 +#, c-format +msgid "unsupported input format %s" +msgstr "formato de entrada %s não suportado" + +#: plugins/sudoers/cvtsudoers.c:262 +#, c-format +msgid "unsupported output format %s" +msgstr "formato de saída %s não suportado" + +#: plugins/sudoers/cvtsudoers.c:314 +#, c-format +msgid "%s: input and output files must be different" +msgstr "%s: os ficheiros de entrada e saída têm de ser diferentes" + +#: plugins/sudoers/cvtsudoers.c:330 plugins/sudoers/sudoers.c:159 +#: plugins/sudoers/sudoers.c:205 plugins/sudoers/testsudoers.c:254 +#: plugins/sudoers/visudo.c:247 plugins/sudoers/visudo.c:597 +#: plugins/sudoers/visudo.c:917 +msgid "unable to initialize sudoers default values" +msgstr "impossível inicializar valores predefinidos de sudoers" + +#: plugins/sudoers/cvtsudoers.c:416 plugins/sudoers/ldap_conf.c:431 +#, c-format +msgid "%s: %s: %s: %s" +msgstr "%s: %s: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:475 +#, c-format +msgid "%s: unknown key word %s" +msgstr "%s: palavra-chave desconhecida %s" + +#: plugins/sudoers/cvtsudoers.c:521 +#, c-format +msgid "invalid defaults type: %s" +msgstr "tipo de predefinições inválido: %s" + +#: plugins/sudoers/cvtsudoers.c:544 +#, c-format +msgid "invalid suppression type: %s" +msgstr "tipo de supressão inválido: %s" + +#: plugins/sudoers/cvtsudoers.c:584 plugins/sudoers/cvtsudoers.c:598 +#, c-format +msgid "invalid filter: %s" +msgstr "filtro inválido: %s" + +#: plugins/sudoers/cvtsudoers.c:642 plugins/sudoers/visudo.c:922 +#, c-format +msgid "failed to parse %s file, unknown error" +msgstr "falha ao analisar o ficheiro %s, erro desconhecido" + +#: plugins/sudoers/cvtsudoers.c:650 +#, c-format +msgid "parse error in %s near line %d\n" +msgstr "erro de análise em %s, perto da linha %d\n" + +#: plugins/sudoers/cvtsudoers.c:653 +#, c-format +msgid "parse error in %s\n" +msgstr "erro de análise em %s\n" + +#: plugins/sudoers/cvtsudoers.c:1296 plugins/sudoers/sudoreplay.c:1145 +#: plugins/sudoers/timestamp.c:317 plugins/sudoers/timestamp.c:320 +#, c-format +msgid "unable to write to %s" +msgstr "impossível escrever em %s" + +#: plugins/sudoers/cvtsudoers.c:1319 +#, c-format +msgid "" +"%s - convert between sudoers file formats\n" +"\n" +msgstr "" +"%s - converte entre formatos de ficheiros sudoers\n" +"\n" + +#: plugins/sudoers/cvtsudoers.c:1321 +msgid "" +"\n" +"Options:\n" +" -b, --base=dn the base DN for sudo LDAP queries\n" +" -c, --config=conf_file the path to the configuration file\n" +" -d, --defaults=deftypes only convert Defaults of the specified types\n" +" -e, --expand-aliases expand aliases when converting\n" +" -f, --output-format=format set output format: JSON, LDIF or sudoers\n" +" -i, --input-format=format set input format: LDIF or sudoers\n" +" -I, --increment=num amount to increase each sudoOrder by\n" +" -h, --help display help message and exit\n" +" -m, --match=filter only convert entries that match the filter\n" +" -M, --match-local match filter uses passwd and group databases\n" +" -o, --output=output_file write converted sudoers to output_file\n" +" -O, --order-start=num starting point for first sudoOrder\n" +" -p, --prune-matches prune non-matching users, groups and hosts\n" +" -P, --padding=num base padding for sudoOrder increment\n" +" -s, --suppress=sections suppress output of certain sections\n" +" -V, --version display version information and exit" +msgstr "" +"\n" +"Opções:\n" +" -b, --base=dn o DN base para consultas sudo LDAP\n" +" -c, --config=fich_conf o caminho para o ficheiro de configuração\n" +" -d, --defaults=tipopred só converte predefinições do tipo especificado\n" +" -e, --expand-alias expande aliás ao converter\n" +" -f, --output-format=formato define o formato de saída: JSON, LDIF ou sudoers\n" +" -i, --input-format=formato define o formato de entrada: LDIF ou sudoers\n" +" -I, --increment=número valor a incrementar cada sudoOrder\n" +" -h, --help mostra a ajuda e sai\n" +" -m, --match=filtro só converte entradas que cumpram o filtro\n" +" -M, --match-local filtro de comparação usa bases de dados de senha e grupo\n" +" -o, --output=fich_saída escreve sudoers convertidos em fich_saída\n" +" -O, --order-start=número ponto inicial para o primeiro sudoOrder\n" +" -p, --prune-matches poda utilizadores, grupos e anfitriões não-correspondentes\n" +" -P, --padding=num espaço base para incremento sudoOrder\n" +" -s, --suppress=secções suprime saída de certas secções\n" +" -V, --version mostra informação da versão e sai" + +#: plugins/sudoers/cvtsudoers_json.c:480 plugins/sudoers/cvtsudoers_json.c:514 +#: plugins/sudoers/cvtsudoers_json.c:718 +#, c-format +msgid "unknown defaults entry \"%s\"" +msgstr "entrada de predefinições \"%s\" desconhecida" + +#: plugins/sudoers/cvtsudoers_json.c:651 plugins/sudoers/cvtsudoers_json.c:664 +#: plugins/sudoers/cvtsudoers_ldif.c:346 plugins/sudoers/cvtsudoers_ldif.c:357 +#: plugins/sudoers/ldap.c:503 +msgid "unable to get GMT time" +msgstr "impossível obter hora GMT" + +#: plugins/sudoers/cvtsudoers_json.c:654 plugins/sudoers/cvtsudoers_json.c:667 +#: plugins/sudoers/cvtsudoers_ldif.c:349 plugins/sudoers/cvtsudoers_ldif.c:360 +#: plugins/sudoers/ldap.c:509 +msgid "unable to format timestamp" +msgstr "impossível formatar datação" + +#: plugins/sudoers/cvtsudoers_ldif.c:644 +#, c-format +msgid "too many sudoers entries, maximum %u" +msgstr "demasiadas entradas sudoers, máximo %u" + +#: plugins/sudoers/cvtsudoers_ldif.c:687 +msgid "the SUDOERS_BASE environment variable is not set and the -b option was not specified." +msgstr "a variável de ambiente SUDOERS_BASE não está definida e a opção -b não foi especificada." + +#: plugins/sudoers/def_data.c:50 +#, c-format +msgid "Syslog facility if syslog is being used for logging: %s" +msgstr "Facilidade syslog se syslog estiver a ser usado para início de sessão: %s" + +#: plugins/sudoers/def_data.c:54 +#, c-format +msgid "Syslog priority to use when user authenticates successfully: %s" +msgstr "Prioridade syslog a usar quando o utilizador se autentica com sucesso: %s" + +#: plugins/sudoers/def_data.c:58 +#, c-format +msgid "Syslog priority to use when user authenticates unsuccessfully: %s" +msgstr "Prioridade syslog a usar quando o utilizador não se autentica com sucesso: %s" + +#: plugins/sudoers/def_data.c:62 +msgid "Put OTP prompt on its own line" +msgstr "Põe o prompt OPT na sua própria linha" + +#: plugins/sudoers/def_data.c:66 +msgid "Ignore '.' in $PATH" +msgstr "Ignora \".\" em $PATH" + +#: plugins/sudoers/def_data.c:70 +msgid "Always send mail when sudo is run" +msgstr "Envia sempre correio quando executa sudo" + +#: plugins/sudoers/def_data.c:74 +msgid "Send mail if user authentication fails" +msgstr "Envia correio se a autenticação do utilizador falhar" + +#: plugins/sudoers/def_data.c:78 +msgid "Send mail if the user is not in sudoers" +msgstr "Envia correio se o utilizador não estiver em sudoers" + +#: plugins/sudoers/def_data.c:82 +msgid "Send mail if the user is not in sudoers for this host" +msgstr "Envia correio se o utilizador não estiver em sudoers neste anfitrião" + +#: plugins/sudoers/def_data.c:86 +msgid "Send mail if the user is not allowed to run a command" +msgstr "Envia correio se o utilizador não puder executar um comando" + +#: plugins/sudoers/def_data.c:90 +msgid "Send mail if the user tries to run a command" +msgstr "Envia correio se o utilizador tentar executar um comando" + +#: plugins/sudoers/def_data.c:94 +msgid "Use a separate timestamp for each user/tty combo" +msgstr "Usa uma datação separada para cada par utilizador/tty" + +#: plugins/sudoers/def_data.c:98 +msgid "Lecture user the first time they run sudo" +msgstr "Avisar o utilizador a primeira vez que executa sudo" + +#: plugins/sudoers/def_data.c:102 +#, c-format +msgid "File containing the sudo lecture: %s" +msgstr "Ficheiro com a lição de moral sudo: %s" + +#: plugins/sudoers/def_data.c:106 +msgid "Require users to authenticate by default" +msgstr "Requer autenticação dos utilizadores por predefinição" + +#: plugins/sudoers/def_data.c:110 +msgid "Root may run sudo" +msgstr "Root pode executar sudo" + +#: plugins/sudoers/def_data.c:114 +msgid "Log the hostname in the (non-syslog) log file" +msgstr "Regista o nome de anfitrião no diário (não-syslog)" + +#: plugins/sudoers/def_data.c:118 +msgid "Log the year in the (non-syslog) log file" +msgstr "Regista o ano no diário (não-syslog)" + +#: plugins/sudoers/def_data.c:122 +msgid "If sudo is invoked with no arguments, start a shell" +msgstr "Se sudo for chamado sem argumentos, iniciar uma shel" + +#: plugins/sudoers/def_data.c:126 +msgid "Set $HOME to the target user when starting a shell with -s" +msgstr "Definir $HOME para o utilizador alvo ao iniciar uma shell com -s" + +#: plugins/sudoers/def_data.c:130 +msgid "Always set $HOME to the target user's home directory" +msgstr "Definir $HOME sempre como a pasta home do utilizador alvo" + +#: plugins/sudoers/def_data.c:134 +msgid "Allow some information gathering to give useful error messages" +msgstr "Permite a recolha de alguma informação para dar mensagens de erro úteis" + +#: plugins/sudoers/def_data.c:138 +msgid "Require fully-qualified hostnames in the sudoers file" +msgstr "Requer nomes de anfitrião completamente qualificados no ficheiro sudoers" + +#: plugins/sudoers/def_data.c:142 +msgid "Insult the user when they enter an incorrect password" +msgstr "Insulta o utilizador quando se engana na senha" + +#: plugins/sudoers/def_data.c:146 +msgid "Only allow the user to run sudo if they have a tty" +msgstr "Permitir ao utilizador a execução de sudo só se tiver tty" + +#: plugins/sudoers/def_data.c:150 +msgid "Visudo will honor the EDITOR environment variable" +msgstr "Visudo honra a variável de ambiente EDITOR" + +#: plugins/sudoers/def_data.c:154 +msgid "Prompt for root's password, not the users's" +msgstr "Pedir senha root, não a do utilizador" + +#: plugins/sudoers/def_data.c:158 +msgid "Prompt for the runas_default user's password, not the users's" +msgstr "Pedir a senha de utilizador runas_default, não a do utilizador" + +#: plugins/sudoers/def_data.c:162 +msgid "Prompt for the target user's password, not the users's" +msgstr "Pedir a senha do utilizador alvo, não a do utilizador" + +#: plugins/sudoers/def_data.c:166 +msgid "Apply defaults in the target user's login class if there is one" +msgstr "Aplica predefinições à classe de sessão do utilizador alvo, se existir" + +#: plugins/sudoers/def_data.c:170 +msgid "Set the LOGNAME and USER environment variables" +msgstr "Define as variáveis de ambiente LOGNAME e USER" + +#: plugins/sudoers/def_data.c:174 +msgid "Only set the effective uid to the target user, not the real uid" +msgstr "Definir a uid efectiva só para o utilizador alvo, não a uid real" + +#: plugins/sudoers/def_data.c:178 +msgid "Don't initialize the group vector to that of the target user" +msgstr "Não inicializar o vector de grupo para o do utilizador alvo" + +#: plugins/sudoers/def_data.c:182 +#, c-format +msgid "Length at which to wrap log file lines (0 for no wrap): %u" +msgstr "Tamanho máximo de linhas longas do diário (0 para não quebrar): %u" + +#: plugins/sudoers/def_data.c:186 +#, c-format +msgid "Authentication timestamp timeout: %.1f minutes" +msgstr "Expiração da datação de autenticação: %.1f minutos" + +#: plugins/sudoers/def_data.c:190 +#, c-format +msgid "Password prompt timeout: %.1f minutes" +msgstr "Expiração do pedido de senha: %.1f minutos" + +#: plugins/sudoers/def_data.c:194 +#, c-format +msgid "Number of tries to enter a password: %u" +msgstr "Número de tentativas de inserção de senha: %u" + +#: plugins/sudoers/def_data.c:198 +#, c-format +msgid "Umask to use or 0777 to use user's: 0%o" +msgstr "Umask a usar ou 0777 para usar a do utilizador: 0%o" + +#: plugins/sudoers/def_data.c:202 +#, c-format +msgid "Path to log file: %s" +msgstr "Caminho para o ficheiro de diário: %s" + +#: plugins/sudoers/def_data.c:206 +#, c-format +msgid "Path to mail program: %s" +msgstr "Caminho para o programa de correio: %s" + +#: plugins/sudoers/def_data.c:210 +#, c-format +msgid "Flags for mail program: %s" +msgstr "Bandeiras para o programa de correio: %s" + +#: plugins/sudoers/def_data.c:214 +#, c-format +msgid "Address to send mail to: %s" +msgstr "Endereço para onde enviar o correio: %s" + +#: plugins/sudoers/def_data.c:218 +#, c-format +msgid "Address to send mail from: %s" +msgstr "Endereço de onde enviar o correio: %s" + +#: plugins/sudoers/def_data.c:222 +#, c-format +msgid "Subject line for mail messages: %s" +msgstr "Linha de assunto para as mensagens: %s" + +#: plugins/sudoers/def_data.c:226 +#, c-format +msgid "Incorrect password message: %s" +msgstr "Mensagem de senha incorrecta: %s" + +#: plugins/sudoers/def_data.c:230 +#, c-format +msgid "Path to lecture status dir: %s" +msgstr "Caminho para a pasta de estado da lição de moral: %s" + +#: plugins/sudoers/def_data.c:234 +#, c-format +msgid "Path to authentication timestamp dir: %s" +msgstr "Caminho para a pasta de datação de autenticação: %s" + +#: plugins/sudoers/def_data.c:238 +#, c-format +msgid "Owner of the authentication timestamp dir: %s" +msgstr "Dono da pasta de datação de autenticação: %s" + +#: plugins/sudoers/def_data.c:242 +#, c-format +msgid "Users in this group are exempt from password and PATH requirements: %s" +msgstr "Utilizadores deste grupo estão dispensados de usar senhas e necessidades de PATH: %s" + +#: plugins/sudoers/def_data.c:246 +#, c-format +msgid "Default password prompt: %s" +msgstr "Pedido de senha predefinido: %s" + +#: plugins/sudoers/def_data.c:250 +msgid "If set, passprompt will override system prompt in all cases." +msgstr "Se definido, o pedido de senha sobrepõe-se ao prompt do sistema em qualquer caso." + +#: plugins/sudoers/def_data.c:254 +#, c-format +msgid "Default user to run commands as: %s" +msgstr "Utilizador predefinido para executar comandos: %s" + +#: plugins/sudoers/def_data.c:258 +#, c-format +msgid "Value to override user's $PATH with: %s" +msgstr "Valor a sobrepor a $PATH: %s" + +#: plugins/sudoers/def_data.c:262 +#, c-format +msgid "Path to the editor for use by visudo: %s" +msgstr "Caminho para o editor a usar com visudo: %s" + +#: plugins/sudoers/def_data.c:266 +#, c-format +msgid "When to require a password for 'list' pseudocommand: %s" +msgstr "Quando pedir uma senha para o pseudo-comando \"list\": %s" + +#: plugins/sudoers/def_data.c:270 +#, c-format +msgid "When to require a password for 'verify' pseudocommand: %s" +msgstr "Quando pedir uma senha para o pseudo-comando \"verify\": %s" + +#: plugins/sudoers/def_data.c:274 +msgid "Preload the sudo_noexec library which replaces the exec functions" +msgstr "Pré-carregar a biblioteca sudo_noexec, que substitui as funções executáveis" + +#: plugins/sudoers/def_data.c:278 +msgid "If LDAP directory is up, do we ignore local sudoers file" +msgstr "Se a pasta LDAP está em cima, ignoramos o ficheiro sudoers" + +#: plugins/sudoers/def_data.c:282 +#, c-format +msgid "File descriptors >= %d will be closed before executing a command" +msgstr "Descritores de ficheiro >= %d será fechado antes de executar um comando" + +#: plugins/sudoers/def_data.c:286 +msgid "If set, users may override the value of \"closefrom\" with the -C option" +msgstr "Se definido, os utilizadores podem sobrepor o valor de \"closefrom\" com a opção -C" + +#: plugins/sudoers/def_data.c:290 +msgid "Allow users to set arbitrary environment variables" +msgstr "Permite aos utilizadores definir variáveis de ambiente arbitrárias" + +#: plugins/sudoers/def_data.c:294 +msgid "Reset the environment to a default set of variables" +msgstr "Repor o ambiente num conjunto predefinido de variáveis" + +#: plugins/sudoers/def_data.c:298 +msgid "Environment variables to check for safety:" +msgstr "Variáveis de ambiente para verificar a segurança:" + +#: plugins/sudoers/def_data.c:302 +msgid "Environment variables to remove:" +msgstr "Variáveis de ambiente para remover:" + +#: plugins/sudoers/def_data.c:306 +msgid "Environment variables to preserve:" +msgstr "Variáveis de ambiente para preservar:" + +#: plugins/sudoers/def_data.c:310 +#, c-format +msgid "SELinux role to use in the new security context: %s" +msgstr "Papel SELinux a usar no novo contexto de segurança: %s" + +#: plugins/sudoers/def_data.c:314 +#, c-format +msgid "SELinux type to use in the new security context: %s" +msgstr "Tipo SELinux a usar no novo contexto de segurança: %s" + +#: plugins/sudoers/def_data.c:318 +#, c-format +msgid "Path to the sudo-specific environment file: %s" +msgstr "Caminho para o ficheiro de ambiente específico do sudo: %s" + +#: plugins/sudoers/def_data.c:322 +#, c-format +msgid "Path to the restricted sudo-specific environment file: %s" +msgstr "Caminho para o ficheiro restrito de ambiente específico do sudo: %s" + +#: plugins/sudoers/def_data.c:326 +#, c-format +msgid "Locale to use while parsing sudoers: %s" +msgstr "Idioma a usar ao analisar sudoers: %s" + +#: plugins/sudoers/def_data.c:330 +msgid "Allow sudo to prompt for a password even if it would be visible" +msgstr "Permite ao sudo pedir uma senha mesmo que fique visível" + +#: plugins/sudoers/def_data.c:334 +msgid "Provide visual feedback at the password prompt when there is user input" +msgstr "Fornece resposta visual no pedido de senha quando há entrada do utilizador" + +#: plugins/sudoers/def_data.c:338 +msgid "Use faster globbing that is less accurate but does not access the filesystem" +msgstr "Usa globbing mais rápido e menos preciso, mas não acede ao sistema de ficheiros" + +#: plugins/sudoers/def_data.c:342 +msgid "The umask specified in sudoers will override the user's, even if it is more permissive" +msgstr "A umask especificada no sudoers sobrepõe-se à do utilizador, mesmo que seja mais permissiva" + +#: plugins/sudoers/def_data.c:346 +msgid "Log user's input for the command being run" +msgstr "Regista as entradas do utilizador para o comando em execução" + +#: plugins/sudoers/def_data.c:350 +msgid "Log the output of the command being run" +msgstr "Regista a saída do comando em execução" + +#: plugins/sudoers/def_data.c:354 +msgid "Compress I/O logs using zlib" +msgstr "Comprime diários de E/S com zlib" + +#: plugins/sudoers/def_data.c:358 +msgid "Always run commands in a pseudo-tty" +msgstr "Executa sempre os comandos num pseudo-tty" + +#: plugins/sudoers/def_data.c:362 +#, c-format +msgid "Plugin for non-Unix group support: %s" +msgstr "Extensão para suporte de grupo não-Unix: %s" + +#: plugins/sudoers/def_data.c:366 +#, c-format +msgid "Directory in which to store input/output logs: %s" +msgstr "Pasta onde armazenar os diários de entrada/saída: %s" + +#: plugins/sudoers/def_data.c:370 +#, c-format +msgid "File in which to store the input/output log: %s" +msgstr "Ficheiro onde armazenar o diário de entrada/saída: %s" + +#: plugins/sudoers/def_data.c:374 +msgid "Add an entry to the utmp/utmpx file when allocating a pty" +msgstr "Adiciona uma entrada ao ficheiro utmp/utmpx ao alocar um pty" + +#: plugins/sudoers/def_data.c:378 +msgid "Set the user in utmp to the runas user, not the invoking user" +msgstr "Define o utilizador em utmp como utilizador runas mestre, não como utilizador chamador" + +#: plugins/sudoers/def_data.c:382 +#, c-format +msgid "Set of permitted privileges: %s" +msgstr "Conjunto de privilégios permitidos: %s" + +#: plugins/sudoers/def_data.c:386 +#, c-format +msgid "Set of limit privileges: %s" +msgstr "Conjunto de privilégios limite: %s" + +#: plugins/sudoers/def_data.c:390 +msgid "Run commands on a pty in the background" +msgstr "Executa comandos num pty em 2º plano" + +#: plugins/sudoers/def_data.c:394 +#, c-format +msgid "PAM service name to use: %s" +msgstr "Nome de serviço PAM a usar: %s" + +#: plugins/sudoers/def_data.c:398 +#, c-format +msgid "PAM service name to use for login shells: %s" +msgstr "Nome de serviço PAM a usar para shells de sessão: %s" + +#: plugins/sudoers/def_data.c:402 +msgid "Attempt to establish PAM credentials for the target user" +msgstr "Tenta estabelecer credenciais PAM para o utilizador alvo" + +#: plugins/sudoers/def_data.c:406 +msgid "Create a new PAM session for the command to run in" +msgstr "Cria uma nova sessão PAM onde o comando será executado" + +#: plugins/sudoers/def_data.c:410 +msgid "Perform PAM account validation management" +msgstr "Realizar gestão de validação de conta PAM" + +#: plugins/sudoers/def_data.c:414 +#, c-format +msgid "Maximum I/O log sequence number: %s" +msgstr "Número de sequência máximo do diário de E/S: %s" + +#: plugins/sudoers/def_data.c:418 +msgid "Enable sudoers netgroup support" +msgstr "Activa o suporte a sudoers netgroup" + +#: plugins/sudoers/def_data.c:422 +msgid "Check parent directories for writability when editing files with sudoedit" +msgstr "Verifica se as pastas-mãe se podem escrever ao editar ficheiros com sudoedit" + +#: plugins/sudoers/def_data.c:426 +msgid "Follow symbolic links when editing files with sudoedit" +msgstr "Segue ligações simbólicas ao editar ficheiros com sudoedit" + +#: plugins/sudoers/def_data.c:430 +msgid "Query the group plugin for unknown system groups" +msgstr "Consulta a extensão de grupo para grupos de sistema desconhecidos" + +#: plugins/sudoers/def_data.c:434 +msgid "Match netgroups based on the entire tuple: user, host and domain" +msgstr "Compara netgroups baseado em todo o conjunto: utilizador, anfitrião e domínio" + +#: plugins/sudoers/def_data.c:438 +msgid "Allow commands to be run even if sudo cannot write to the audit log" +msgstr "Permite executar comandos mesmo que o sudo não possa escrever no diário de auditoria" + +#: plugins/sudoers/def_data.c:442 +msgid "Allow commands to be run even if sudo cannot write to the I/O log" +msgstr "Permite executar comandos mesmo que o sudo não possa escrever no diário de E/S" + +#: plugins/sudoers/def_data.c:446 +msgid "Allow commands to be run even if sudo cannot write to the log file" +msgstr "Permite executar comandos mesmo que o sudo não possa escrever no diário" + +#: plugins/sudoers/def_data.c:450 +msgid "Resolve groups in sudoers and match on the group ID, not the name" +msgstr "Resolve grupos no sudoers e compara a ID de grupo, não o nome" + +#: plugins/sudoers/def_data.c:454 +#, c-format +msgid "Log entries larger than this value will be split into multiple syslog messages: %u" +msgstr "Entradas de diário maiores que este valor serão divididas em múltiplas mensagens de syslog: %u" + +#: plugins/sudoers/def_data.c:458 +#, c-format +msgid "User that will own the I/O log files: %s" +msgstr "Utilizador que será dono dos ficheiros de E/S: %s" + +#: plugins/sudoers/def_data.c:462 +#, c-format +msgid "Group that will own the I/O log files: %s" +msgstr "Grupo que será dono dos ficheiros de E/S: %s" + +#: plugins/sudoers/def_data.c:466 +#, c-format +msgid "File mode to use for the I/O log files: 0%o" +msgstr "Modo de ficheiro a usar para os ficheiros de E/S: 0%o" + +#: plugins/sudoers/def_data.c:470 +#, c-format +msgid "Execute commands by file descriptor instead of by path: %s" +msgstr "Executa comandos por descritor de ficheiro em vez de por caminho: %s" + +#: plugins/sudoers/def_data.c:474 +msgid "Ignore unknown Defaults entries in sudoers instead of producing a warning" +msgstr "Ignora entradas Defaults desconhecidas no sudoers, em vez de produzir um aviso" + +#: plugins/sudoers/def_data.c:478 +#, c-format +msgid "Time in seconds after which the command will be terminated: %u" +msgstr "Tempo em segundos após o qual cada comando será terminado: %u" + +#: plugins/sudoers/def_data.c:482 +msgid "Allow the user to specify a timeout on the command line" +msgstr "Permite ao utilizador especificar um tempo de inacção na linha de comandos" + +#: plugins/sudoers/def_data.c:486 +msgid "Flush I/O log data to disk immediately instead of buffering it" +msgstr "Despejar dados de E/S para o disco imediatamente, em vez de usar um buffer" + +#: plugins/sudoers/def_data.c:490 +msgid "Include the process ID when logging via syslog" +msgstr "Incluir a ID de processo ao registar via syslog" + +#: plugins/sudoers/def_data.c:494 +#, c-format +msgid "Type of authentication timestamp record: %s" +msgstr "Tipo de registo de datação de autenticação: %s" + +#: plugins/sudoers/def_data.c:498 +#, c-format +msgid "Authentication failure message: %s" +msgstr "Mensagem de falha na autenticação: %s" + +#: plugins/sudoers/def_data.c:502 +msgid "Ignore case when matching user names" +msgstr "Ignorar maiúsculas ao comparar nomes de utilizadores" + +#: plugins/sudoers/def_data.c:506 +msgid "Ignore case when matching group names" +msgstr "Ignorar maiúsculas ao comparar nomes de grupos" + +#: plugins/sudoers/def_data.c:510 +msgid "Log when a command is allowed by sudoers" +msgstr "Registar um comando permitido por sudoers" + +#: plugins/sudoers/def_data.c:514 +msgid "Log when a command is denied by sudoers" +msgstr "Registar um comando negado por sudoers" + +#: plugins/sudoers/def_data.c:518 +msgid "Sudo log server(s) to connect to with optional port" +msgstr "Servidor(es) de diários sudo aos quais ligar com a porta opcional" + +#: plugins/sudoers/def_data.c:522 +#, c-format +msgid "Sudo log server timeout in seconds: %u" +msgstr "Expiração do servidor de diários sudo em segundos: %u" + +#: plugins/sudoers/def_data.c:526 +msgid "Enable SO_KEEPALIVE socket option on the socket connected to the logserver" +msgstr "Activar a opção de socket SO_KEEPALIVE no socket ligado ao servidor de diários" + +#: plugins/sudoers/def_data.c:530 +#, c-format +msgid "Path to the audit server's CA bundle file: %s" +msgstr "Caminho para o ficheiro de pacote de CA do servidor de auditoria: %s" + +#: plugins/sudoers/def_data.c:534 +#, c-format +msgid "Path to the sudoers certificate file: %s" +msgstr "Caminho para o ficheiro de certificado de sudoers: %s" + +#: plugins/sudoers/def_data.c:538 +#, c-format +msgid "Path to the sudoers private key file: %s" +msgstr "Caminho para o ficheiro de chave privada de sudoers: %s" + +#: plugins/sudoers/def_data.c:542 +msgid "Verify that the log server's certificate is valid" +msgstr "Verifique se o certificado do servidor de registos é válido" + +#: plugins/sudoers/def_data.c:546 +msgid "Allow the use of unknown runas user and/or group ID" +msgstr "Permitir o uso de runas desconhecidas e/ou ID de grupo" + +#: plugins/sudoers/def_data.c:550 +msgid "Only permit running commands as a user with a valid shell" +msgstr "Permitir só executar comandos como utilizador com shell válida" + +#: plugins/sudoers/def_data.c:554 +msgid "Set the pam remote user to the user running sudo" +msgstr "Definir o utilizador remoto pam como o utilizador a executar sudo" + +#: plugins/sudoers/def_data.c:558 +msgid "Set the pam remote host to the local host name" +msgstr "Definir o anfitrião remoto pam como o nome do anfitrião local" + +#: plugins/sudoers/def_data.c:562 +#, c-format +msgid "Working directory to change to before executing the command: %s" +msgstr "Pasta de trabalho a alterar antes de executar o comando: %s" + +#: plugins/sudoers/def_data.c:566 +#, c-format +msgid "Root directory to change to before executing the command: %s" +msgstr "Pasta raiz a alterar antes de executar o comando: %s" + +#: plugins/sudoers/def_data.c:570 +#, c-format +msgid "The format of logs to produce: %s" +msgstr "O formato de diários a produzir: %s" + +#: plugins/sudoers/def_data.c:574 +msgid "Enable SELinux RBAC support" +msgstr "Activar suporte a SELinux RBAC" + +#: plugins/sudoers/def_data.c:578 +#, c-format +msgid "Path to the file that is created the first time sudo is run: %s" +msgstr "Caminho para o ficheiro criado na 1ª execução de sudo: %s" + +#: plugins/sudoers/def_data.c:582 +msgid "Intercept further commands and apply sudoers restrictions to them" +msgstr "Interceptar comandos posteriores e aplicar-lhes restrições sudoers" + +#: plugins/sudoers/def_data.c:586 +msgid "Log any child processes run by the command" +msgstr "Registar processos filho executados pelo comando" + +#: plugins/sudoers/def_data.c:590 +msgid "Log the exit status of commands" +msgstr "Registar estado da saída de comandos" + +#: plugins/sudoers/def_data.c:594 +msgid "Subsequent commands in an intercepted session must be authenticated" +msgstr "Comandos subsequentes numa sessão interceptada têm de ser autenticados" + +#: plugins/sudoers/def_data.c:598 +msgid "Allow an intercepted command to run set setuid or setgid programs" +msgstr "Permitir que um comando interceptado execute os programas setuid ou setgid" + +#: plugins/sudoers/defaults.c:185 +#, c-format +msgid "%s:%d:%d: unknown defaults entry \"%s\"" +msgstr "%s:%d:%d: entrada pré-definida desconhecida \"%s\"" + +#: plugins/sudoers/defaults.c:188 +#, c-format +msgid "%s: unknown defaults entry \"%s\"" +msgstr "%s entrada defaults desconhecida \"%s\"" + +#: plugins/sudoers/defaults.c:234 +#, c-format +msgid "%s:%d:%d: no value specified for \"%s\"" +msgstr "%s:%d:%d: sem valor especificado para \"%s\"" + +#: plugins/sudoers/defaults.c:237 +#, c-format +msgid "%s: no value specified for \"%s\"" +msgstr "%s sem valor especificado para \"%s\"" + +#: plugins/sudoers/defaults.c:250 +#, c-format +msgid "%s:%d:%d: invalid operator \"%c=\" for \"%s\"" +msgstr "%s:%d:%d: operador \"%c=\" inválido para \"%s\"" + +#: plugins/sudoers/defaults.c:253 +#, c-format +msgid "%s: invalid operator \"%c=\" for \"%s\"" +msgstr "%s: operador \"%c=\" inválido para \"%s\"" + +#: plugins/sudoers/defaults.c:289 +#, c-format +msgid "%s:%d:%d: option \"%s\" does not take a value" +msgstr "%s:%d:%d: opção \"%s\" não recebe valores" + +#: plugins/sudoers/defaults.c:292 +#, c-format +msgid "%s: option \"%s\" does not take a value" +msgstr "%s opção \"%s\" não recebe valores" + +#: plugins/sudoers/defaults.c:317 +#, c-format +msgid "%s:%d:%d: invalid Defaults type 0x%x for option \"%s\"" +msgstr "%s:%d:%d: tipo Defaults 0x%x inválido para a opção \"%s\"" + +#: plugins/sudoers/defaults.c:320 +#, c-format +msgid "%s: invalid Defaults type 0x%x for option \"%s\"" +msgstr "%s tipo Defaults 0x%x inválido para a opção \"%s\"" + +#: plugins/sudoers/defaults.c:330 +#, c-format +msgid "%s:%d:%d: value \"%s\" is invalid for option \"%s\"" +msgstr "%s:%d:%d: valor \"%s\" é inválido para a opção \"%s\"" + +#: plugins/sudoers/defaults.c:333 +#, c-format +msgid "%s: value \"%s\" is invalid for option \"%s\"" +msgstr "%s valor \"%s\" é inválido para a opção \"%s\"" + +#: plugins/sudoers/defaults.c:1054 +#, c-format +msgid "%s:%d:%d: values for \"%s\" must start with a '/', '~', or '*'" +msgstr "%s:%d:%d: valores para \"%s\" têm de começar com \"/\", \"~\" ou \"*\"" + +#: plugins/sudoers/defaults.c:1058 +#, c-format +msgid "%s: values for \"%s\" must start with a '/', '~', or '*'" +msgstr "%s: valores para \"%s\" têm de começar com \"/\", \"~\" ou \"*\"" + +#: plugins/sudoers/defaults.c:1069 +#, c-format +msgid "%s:%d:%d: values for \"%s\" must start with a '/'" +msgstr "%s:%d:%d: valores para \"%s\" têm de começar com \"/\"" + +#: plugins/sudoers/defaults.c:1073 +#, c-format +msgid "%s: values for \"%s\" must start with a '/'" +msgstr "%s valores para \"%s\" têm de começar com \"/\"" + +#: plugins/sudoers/env.c:412 +msgid "sudo_putenv: corrupted envp, length mismatch" +msgstr "sudo_putenv: envp corrompido, tamanho trocado" + +#: plugins/sudoers/env.c:1095 +msgid "unable to rebuild the environment" +msgstr "impossível reconstruir o ambiente" + +#: plugins/sudoers/env.c:1169 +#, c-format +msgid "sorry, you are not allowed to set the following environment variables: %s" +msgstr "desculpe, não tem permissão para definir as seguintes variáveis de ambiente: %s" + +#: plugins/sudoers/file.c:108 +#, c-format +msgid "parse error in %s near line %d" +msgstr "erro de análise em %s perto da linha %d" + +#: plugins/sudoers/file.c:111 +#, c-format +msgid "parse error in %s" +msgstr "erro de análise em %s" + +#: plugins/sudoers/filedigest.c:49 +#, c-format +msgid "unsupported digest type %d for %s" +msgstr "tipo de resumo %d não suportado para %s" + +#: plugins/sudoers/filedigest.c:78 +#, c-format +msgid "%s: read error" +msgstr "%s: erro de leitura" + +#: plugins/sudoers/group_plugin.c:83 +#, c-format +msgid "%s must be owned by uid %d" +msgstr "%s tem de ser propriedade de uid %d" + +#: plugins/sudoers/group_plugin.c:87 +#, c-format +msgid "%s must only be writable by owner" +msgstr "%s só pode ter permissão de escrita para o dono" + +#: plugins/sudoers/group_plugin.c:96 plugins/sudoers/sssd.c:569 +#, c-format +msgid "unable to load %s: %s" +msgstr "impossível carregar %s: %s" + +#: plugins/sudoers/group_plugin.c:102 +#, c-format +msgid "unable to find symbol \"group_plugin\" in %s" +msgstr "impossível encontrar o símbolo \"group_plugin\" em %s" + +#: plugins/sudoers/group_plugin.c:107 +#, c-format +msgid "%s: incompatible group plugin major version %d, expected %d" +msgstr "%s: versão principal de extensão de grupo %d incompatível, esperada %d" + +#: plugins/sudoers/interfaces.c:76 plugins/sudoers/interfaces.c:93 +#, c-format +msgid "unable to parse IP address \"%s\"" +msgstr "impossível analisar endereço IP \"%s\"" + +#: plugins/sudoers/interfaces.c:81 plugins/sudoers/interfaces.c:98 +#, c-format +msgid "unable to parse netmask \"%s\"" +msgstr "impossível analisar netmask \"%s\"" + +#: plugins/sudoers/interfaces.c:126 +msgid "Local IP address and netmask pairs:\n" +msgstr "Pares endereço IP local e netmask:\n" + +#: plugins/sudoers/iolog.c:632 +msgid "unable to update sequence file" +msgstr "impossível actualizar o ficheiro de sequência" + +#: plugins/sudoers/iolog.c:663 plugins/sudoers/iolog.c:851 +#: plugins/sudoers/iolog.c:1004 plugins/sudoers/iolog.c:1011 +#: plugins/sudoers/iolog.c:1132 plugins/sudoers/iolog.c:1139 +#: plugins/sudoers/iolog.c:1238 plugins/sudoers/iolog.c:1245 +#, c-format +msgid "unable to write to I/O log file: %s" +msgstr "impossível escrever no ficheiro de E/S: %s" + +#: plugins/sudoers/iolog.c:671 +#, c-format +msgid "unable to create %s/%s" +msgstr "impossível criar %s/%s" + +#: plugins/sudoers/iolog.c:896 +#, c-format +msgid "%s: internal error, I/O log file for event %d not open" +msgstr "%s: erro interno, ficheiro de diário E/S do evento %d não aberto" + +#: plugins/sudoers/iolog.c:989 plugins/sudoers/iolog.c:1117 +#: plugins/sudoers/iolog.c:1222 plugins/sudoers/timestamp.c:849 +#: plugins/sudoers/timestamp.c:941 plugins/sudoers/visudo.c:487 +#: plugins/sudoers/visudo.c:493 +msgid "unable to read the clock" +msgstr "impossível ler o relógio" + +#: plugins/sudoers/iolog.c:1214 plugins/sudoers/log_client.c:1217 +#: plugins/sudoers/log_client.c:1227 plugins/sudoers/log_client.c:1231 +#, c-format +msgid "%s: internal error, invalid signal %d" +msgstr "%s: erro interno, sinal inválido %d" + +#: plugins/sudoers/ldap.c:177 plugins/sudoers/ldap_conf.c:291 +msgid "starttls not supported when using ldaps" +msgstr "starttls não suportado quando usa ldaps" + +#: plugins/sudoers/ldap.c:248 +#, c-format +msgid "unable to initialize SSL cert and key db: %s" +msgstr "impossível inicializar certificado SSL e db de chave: %s" + +#: plugins/sudoers/ldap.c:251 +#, c-format +msgid "you must set TLS_CERT in %s to use SSL" +msgstr "tem de definir TLS_CERT em %s para usar SSL" + +#: plugins/sudoers/ldap.c:1660 +#, c-format +msgid "unable to initialize LDAP: %s" +msgstr "impossível inicializar LDAP: %s" + +#: plugins/sudoers/ldap.c:1697 +msgid "start_tls specified but LDAP libs do not support ldap_start_tls_s() or ldap_start_tls_s_np()" +msgstr "start_tls especificado mas LDAP libs não suporta ldap_start_tls_s() ou ldap_start_tls_s_np()" + +#: plugins/sudoers/ldap.c:1834 plugins/sudoers/parse_ldif.c:746 +#, c-format +msgid "invalid sudoOrder attribute: %s" +msgstr "atributo sudoOrder inválido: %s" + +#: plugins/sudoers/ldap_conf.c:200 +#, c-format +msgid "%s: port too large" +msgstr "%s: porta muito grande" + +#: plugins/sudoers/ldap_conf.c:260 +#, c-format +msgid "unsupported LDAP uri type: %s" +msgstr "tipo de uri LDAP não suportado: %s" + +#: plugins/sudoers/ldap_conf.c:287 +msgid "unable to mix ldap and ldaps URIs" +msgstr "impossível misturar URIs ldap e ldaps" + +#: plugins/sudoers/ldap_util.c:496 plugins/sudoers/ldap_util.c:503 +#: plugins/sudoers/ldap_util.c:511 plugins/sudoers/ldap_util.c:520 +#: plugins/sudoers/ldap_util.c:528 plugins/sudoers/ldap_util.c:538 +#: plugins/sudoers/ldap_util.c:546 +#, c-format +msgid "duplicate sudoOption: %s%s%s" +msgstr "sudoOption duplicada: %s%s%s" + +#: plugins/sudoers/ldap_util.c:565 plugins/sudoers/ldap_util.c:567 +#, c-format +msgid "unable to convert sudoOption: %s%s%s" +msgstr "impossível converter sudoOption: %s%s%s" + +#: plugins/sudoers/linux_audit.c:58 plugins/sudoers/linux_audit.c:60 +msgid "unable to open audit system" +msgstr "impossível abrir o sistema de auditoria" + +#: plugins/sudoers/linux_audit.c:103 +msgid "unable to send audit message" +msgstr "impossível enviar mensagem de auditoria" + +#: plugins/sudoers/log_client.c:116 plugins/sudoers/log_client.c:396 +#: plugins/sudoers/log_client.c:1464 plugins/sudoers/log_client.c:2061 +msgid "error in event loop" +msgstr "erro no ciclo do evento" + +#: plugins/sudoers/log_client.c:196 +#, c-format +msgid "Creation of new SSL_CTX object failed: %s" +msgstr "Falha ao criar o novo objecto SSL_CTX: %s" + +#: plugins/sudoers/log_client.c:219 +#, c-format +msgid "unable to load certificate authority bundle %s" +msgstr "impossível carregar pacote da autoridade do certificado %s" + +#: plugins/sudoers/log_client.c:239 +#, c-format +msgid "unable to load certificate %s" +msgstr "impossível carregar certificado %s" + +#: plugins/sudoers/log_client.c:252 +#, c-format +msgid "unable to load private key %s" +msgstr "impossível carregar chave privada %s" + +#: plugins/sudoers/log_client.c:261 +#, c-format +msgid "Unable to allocate ssl object: %s" +msgstr "Impossível alocar objecto ssl: %s" + +#: plugins/sudoers/log_client.c:349 plugins/sudoers/log_client.c:354 +#, c-format +msgid "TLS connection to %s:%s failed: %s" +msgstr "Ligação TLS a %s:%s falhou: %s" + +#: plugins/sudoers/log_client.c:527 +msgid "TLS initialization was unsuccessful" +msgstr "Inicialização TLS sem sucesso" + +#: plugins/sudoers/log_client.c:537 +msgid "TLS handshake was unsuccessful" +msgstr "TLS handshake sem sucesso" + +#: plugins/sudoers/log_client.c:1235 +#, c-format +msgid "%s: internal error, invalid exit status %d" +msgstr "%s: erro interno, sinal de saída %d inválido" + +#: plugins/sudoers/log_client.c:1602 +msgid "unable to unpack ServerMessage" +msgstr "impossível desempacotar ServerMessage" + +#: plugins/sudoers/log_client.c:1754 plugins/sudoers/log_client.c:1778 +msgid "lost connection to log server" +msgstr "ligação ao servidor de diários perdida" + +#: plugins/sudoers/log_client.c:1855 +msgid "missing write buffer" +msgstr "buffer de escrita em falta" + +#: plugins/sudoers/log_client.c:2002 +msgid "unable to connect to log server" +msgstr "impossível ligar ao servidor de diários" + +#: plugins/sudoers/logging.c:283 +msgid "user NOT in sudoers" +msgstr "utilizador NÃO está no sudores" + +#: plugins/sudoers/logging.c:285 +msgid "user NOT authorized on host" +msgstr "utilizador NÃO autorizado no anfitrião" + +#: plugins/sudoers/logging.c:287 +msgid "command not allowed" +msgstr "comando não permitido" + +#: plugins/sudoers/logging.c:308 +#, c-format +msgid "%s is not in the sudoers file. This incident will be reported.\n" +msgstr "%s não está no ficheiro sudoers. O incidente será reportado.\n" + +#: plugins/sudoers/logging.c:311 +#, c-format +msgid "%s is not allowed to run sudo on %s. This incident will be reported.\n" +msgstr "%s não tem permissão para executar sudo em %s. O incidente será reportado.\n" + +#: plugins/sudoers/logging.c:315 +#, c-format +msgid "Sorry, user %s may not run sudo on %s.\n" +msgstr "Desculpe, %s não pode executar sudo em %s.\n" + +#: plugins/sudoers/logging.c:318 +#, c-format +msgid "Sorry, user %s is not allowed to execute '%s%s%s' as %s%s%s on %s.\n" +msgstr "Desculpe, %s não tem permissão para executar \"%s%s%s\" como %s%s%s em %s.\n" + +#: plugins/sudoers/logging.c:355 plugins/sudoers/sudoers.c:629 +#: plugins/sudoers/sudoers.c:631 plugins/sudoers/sudoers.c:633 +#: plugins/sudoers/sudoers.c:635 plugins/sudoers/sudoers.c:776 +#: plugins/sudoers/sudoers.c:778 +#, c-format +msgid "%s: command not found" +msgstr "%s: comando não encontrado" + +#: plugins/sudoers/logging.c:357 plugins/sudoers/sudoers.c:625 +#, c-format +msgid "" +"ignoring \"%s\" found in '.'\n" +"Use \"sudo ./%s\" if this is the \"%s\" you wish to run." +msgstr "" +"a ignorar \"%s\" encontrado em \".\"\n" +"Use \"sudo ./%s\" se este é o \"%s\" que deseja executar." + +#: plugins/sudoers/logging.c:376 +#, c-format +msgid "%u incorrect password attempt" +msgid_plural "%u incorrect password attempts" +msgstr[0] "%u tentativa incorrecta" +msgstr[1] "%u tentativas incorrectas" + +#: plugins/sudoers/logging.c:432 +msgid "authentication failure" +msgstr "falha de autenticação" + +#: plugins/sudoers/logging.c:472 plugins/sudoers/logging.c:492 +msgid "a password is required" +msgstr "é necessária uma senha" + +#: plugins/sudoers/logging.c:889 +#, c-format +msgid "unable to write log file: %s" +msgstr "impossível escrever o diário: %s" + +#: plugins/sudoers/match_digest.c:129 +#, c-format +msgid "digest for %s (%s) is not in %s form" +msgstr "resumo para %s (%s) não está na forma %s" + +#: plugins/sudoers/parse.c:537 +#, c-format +msgid "" +"\n" +"LDAP Role: %s\n" +msgstr "" +"\n" +"Papel LDAP: %s\n" + +#: plugins/sudoers/parse.c:540 +msgid "" +"\n" +"Sudoers entry:\n" +msgstr "" +"\n" +"Entrada sudoers:\n" + +#: plugins/sudoers/parse.c:542 +msgid " RunAsUsers: " +msgstr " RunAsUsers: " + +#: plugins/sudoers/parse.c:557 +msgid " RunAsGroups: " +msgstr " RunAsGroups: " + +#: plugins/sudoers/parse.c:567 +msgid " Options: " +msgstr " Opções: " + +#: plugins/sudoers/parse.c:623 +msgid " Commands:\n" +msgstr " Comandos:\n" + +#: plugins/sudoers/parse.c:814 +#, c-format +msgid "Matching Defaults entries for %s on %s:\n" +msgstr "Entradas Defaults correspondentes para %s em %s:\n" + +#: plugins/sudoers/parse.c:832 +#, c-format +msgid "Runas and Command-specific defaults for %s:\n" +msgstr "Predefinições Runas específicas de comandos para %s:\n" + +#: plugins/sudoers/parse.c:850 +#, c-format +msgid "User %s may run the following commands on %s:\n" +msgstr "O utilizador %s pode executar os seguintes comandos em %s:\n" + +#: plugins/sudoers/parse.c:865 +#, c-format +msgid "User %s is not allowed to run sudo on %s.\n" +msgstr "O utilizador %s não tem permissão para executar sudo em %s.\n" + +#: plugins/sudoers/parse_ldif.c:616 +#, c-format +msgid "ignoring incomplete sudoRole: cn: %s" +msgstr "a ignorar sudoRole incompleto: cn: %s" + +#: plugins/sudoers/parse_ldif.c:676 +#, c-format +msgid "invalid LDIF attribute: %s" +msgstr "atributo LDIF inválido: %s" + +#: plugins/sudoers/policy.c:80 plugins/sudoers/policy.c:111 +#, c-format +msgid "invalid %.*s set by sudo front-end" +msgstr "%.*s inválido definido pelo front-end do sudo" + +#: plugins/sudoers/policy.c:320 plugins/sudoers/testsudoers.c:268 +msgid "unable to parse network address list" +msgstr "impossível analisar a lista de endereços da rede" + +#: plugins/sudoers/policy.c:471 +msgid "user name not set by sudo front-end" +msgstr "nome de utilizador não definido pelo front-end do sudo" + +#: plugins/sudoers/policy.c:475 +msgid "user-ID not set by sudo front-end" +msgstr "ID de utilizador não definida pelo front-end do sudo" + +#: plugins/sudoers/policy.c:479 +msgid "group-ID not set by sudo front-end" +msgstr "ID de grupo não definida pelo front-end do sudo" + +#: plugins/sudoers/policy.c:483 +msgid "host name not set by sudo front-end" +msgstr "nome de anfitrião não definido pelo front-end do sudo" + +#: plugins/sudoers/policy.c:685 +#, c-format +msgid "invalid working directory: %s" +msgstr "pasta de trabalho inválida: %s" + +#: plugins/sudoers/policy.c:861 +#, c-format +msgid "invalid chroot directory: %s" +msgstr "pasta chroot inválida: %s" + +#: plugins/sudoers/policy.c:996 plugins/sudoers/visudo.c:229 +#: plugins/sudoers/visudo.c:851 +#, c-format +msgid "unable to execute %s" +msgstr "impossível executar %s" + +#: plugins/sudoers/policy.c:1066 plugins/sudoers/policy.c:1103 +#: plugins/sudoers/policy.c:1125 plugins/sudoers/policy.c:1151 +#, c-format +msgid "%s: invalid mode flags from sudo front end: 0x%x" +msgstr "%s: bandeiras de modo inválidas do front-end do sudo: 0x%x" + +#: plugins/sudoers/policy.c:1182 +#, c-format +msgid "Sudoers policy plugin version %s\n" +msgstr "Extensão de política sudoers versão %s\n" + +#: plugins/sudoers/policy.c:1184 +#, c-format +msgid "Sudoers file grammar version %d\n" +msgstr "Gramática do ficheiro sudoers versão %d\n" + +#: plugins/sudoers/policy.c:1188 +#, c-format +msgid "" +"\n" +"Sudoers path: %s\n" +msgstr "" +"\n" +"Caminho do sudoers: %s\n" + +#: plugins/sudoers/policy.c:1191 +#, c-format +msgid "nsswitch path: %s\n" +msgstr "caminho nsswitch: %s\n" + +#: plugins/sudoers/policy.c:1193 +#, c-format +msgid "ldap.conf path: %s\n" +msgstr "caminho do ldap.conf: %s\n" + +#: plugins/sudoers/policy.c:1194 +#, c-format +msgid "ldap.secret path: %s\n" +msgstr "caminho do ldap.secret: %s\n" + +#: plugins/sudoers/policy.c:1227 +#, c-format +msgid "unable to register hook of type %d (version %d.%d)" +msgstr "impossível registar hook do tipo %d (versão %d.%d)" + +#: plugins/sudoers/policy.c:1245 +#, c-format +msgid "unable to deregister hook of type %d (version %d.%d)" +msgstr "impossível de-registar hook do tipo %d (versão %d.%d)" + +#: plugins/sudoers/pwutil.c:218 plugins/sudoers/pwutil.c:236 +#, c-format +msgid "unable to cache uid %u" +msgstr "impossível guardar uid %u" + +#: plugins/sudoers/pwutil.c:230 +#, c-format +msgid "unable to cache uid %u, already exists" +msgstr "impossível guardar uid %u, já existe" + +#: plugins/sudoers/pwutil.c:290 plugins/sudoers/pwutil.c:308 +#: plugins/sudoers/pwutil.c:371 plugins/sudoers/pwutil.c:416 +#, c-format +msgid "unable to cache user %s" +msgstr "impossível guardar utilizador %s" + +#: plugins/sudoers/pwutil.c:303 +#, c-format +msgid "unable to cache user %s, already exists" +msgstr "impossível guardar utilizador %s, já existe" + +#: plugins/sudoers/pwutil.c:535 plugins/sudoers/pwutil.c:553 +#, c-format +msgid "unable to cache gid %u" +msgstr "impossível guardar gid %u" + +#: plugins/sudoers/pwutil.c:547 +#, c-format +msgid "unable to cache gid %u, already exists" +msgstr "impossível guardar gid %u, já existe" + +#: plugins/sudoers/pwutil.c:601 plugins/sudoers/pwutil.c:619 +#: plugins/sudoers/pwutil.c:680 plugins/sudoers/pwutil.c:729 +#, c-format +msgid "unable to cache group %s" +msgstr "impossível guardar grupo %s" + +#: plugins/sudoers/pwutil.c:614 +#, c-format +msgid "unable to cache group %s, already exists" +msgstr "impossível guardar grupo %s, já existe" + +#: plugins/sudoers/pwutil.c:876 plugins/sudoers/pwutil.c:927 +#: plugins/sudoers/pwutil.c:977 plugins/sudoers/pwutil.c:1029 +#, c-format +msgid "unable to cache group list for %s, already exists" +msgstr "impossível guardar lista de grupo para %s, já existe" + +#: plugins/sudoers/pwutil.c:882 plugins/sudoers/pwutil.c:932 +#: plugins/sudoers/pwutil.c:983 plugins/sudoers/pwutil.c:1034 +#, c-format +msgid "unable to cache group list for %s" +msgstr "impossível guardar lista de grupos para %s" + +#: plugins/sudoers/pwutil.c:921 +#, c-format +msgid "unable to parse groups for %s" +msgstr "impossível analisar grupos para %s" + +#: plugins/sudoers/pwutil.c:1023 +#, c-format +msgid "unable to parse gids for %s" +msgstr "impossível analisar gids para %s" + +#: plugins/sudoers/set_perms.c:114 plugins/sudoers/set_perms.c:445 +#: plugins/sudoers/set_perms.c:852 plugins/sudoers/set_perms.c:1162 +#: plugins/sudoers/set_perms.c:1460 +msgid "perm stack overflow" +msgstr "transporte de pilha perm" + +#: plugins/sudoers/set_perms.c:125 plugins/sudoers/set_perms.c:376 +#: plugins/sudoers/set_perms.c:456 plugins/sudoers/set_perms.c:719 +#: plugins/sudoers/set_perms.c:863 plugins/sudoers/set_perms.c:1086 +#: plugins/sudoers/set_perms.c:1173 plugins/sudoers/set_perms.c:1393 +#: plugins/sudoers/set_perms.c:1471 plugins/sudoers/set_perms.c:1562 +msgid "perm stack underflow" +msgstr "importe de pilha perm" + +#: plugins/sudoers/set_perms.c:185 plugins/sudoers/set_perms.c:503 +#: plugins/sudoers/set_perms.c:1227 plugins/sudoers/set_perms.c:1505 +msgid "unable to change to root gid" +msgstr "impossível mudar para gid root" + +#: plugins/sudoers/set_perms.c:276 plugins/sudoers/set_perms.c:600 +#: plugins/sudoers/set_perms.c:995 plugins/sudoers/set_perms.c:1304 +msgid "unable to change to runas gid" +msgstr "impossível mudar para gid runas" + +#: plugins/sudoers/set_perms.c:281 plugins/sudoers/set_perms.c:605 +#: plugins/sudoers/set_perms.c:1000 plugins/sudoers/set_perms.c:1309 +msgid "unable to set runas group vector" +msgstr "impossível definir vector de grupo runas" + +#: plugins/sudoers/set_perms.c:292 plugins/sudoers/set_perms.c:616 +#: plugins/sudoers/set_perms.c:1009 plugins/sudoers/set_perms.c:1318 +msgid "unable to change to runas uid" +msgstr "impossível mudar para uid runas" + +#: plugins/sudoers/set_perms.c:310 plugins/sudoers/set_perms.c:634 +#: plugins/sudoers/set_perms.c:1025 plugins/sudoers/set_perms.c:1334 +msgid "unable to change to sudoers gid" +msgstr "impossível mudar para gid sudoers" + +#: plugins/sudoers/set_perms.c:363 plugins/sudoers/set_perms.c:706 +#: plugins/sudoers/set_perms.c:1073 plugins/sudoers/set_perms.c:1380 +#: plugins/sudoers/set_perms.c:1549 +msgid "too many processes" +msgstr "demasiados processos" + +#: plugins/sudoers/solaris_audit.c:61 +msgid "unable to get current working directory" +msgstr "impossível obter a pasta de trabalho actual" + +#: plugins/sudoers/solaris_audit.c:69 +#, c-format +msgid "truncated audit path user_cmnd: %s" +msgstr "caminho de auditoria truncado user_cmnd: %s" + +#: plugins/sudoers/solaris_audit.c:76 +#, c-format +msgid "truncated audit path argv[0]: %s" +msgstr "caminho de auditoria truncado argv[0]: %s" + +#: plugins/sudoers/sssd.c:572 +msgid "unable to initialize SSS source. Is SSSD installed on your machine?" +msgstr "impossível inicializar fonte SSS. Tem o SSSD instalado?" + +#: plugins/sudoers/sssd.c:580 plugins/sudoers/sssd.c:589 +#: plugins/sudoers/sssd.c:598 plugins/sudoers/sssd.c:607 +#: plugins/sudoers/sssd.c:616 +#, c-format +msgid "unable to find symbol \"%s\" in %s" +msgstr "impossível encontrar símbolo \"%s\" em %s" + +#: plugins/sudoers/sudoers.c:166 plugins/sudoers/sudoers.c:174 +#: plugins/sudoers/sudoers.c:228 plugins/sudoers/sudoers.c:249 +#: plugins/sudoers/sudoers.c:1040 +msgid "problem with defaults entries" +msgstr "problema com entradas defaults" + +#: plugins/sudoers/sudoers.c:253 +msgid "no valid sudoers sources found, quitting" +msgstr "sme fontes sudoers válidas, a sair" + +#: plugins/sudoers/sudoers.c:327 +#, c-format +msgid "user not allowed to change root directory to %s" +msgstr "utilizador sem permissão para alterar pasta chroot para %s" + +#: plugins/sudoers/sudoers.c:329 +#, c-format +msgid "you are not permitted to use the -R option with %s" +msgstr "não tem permissão para usar a opção -R com %s" + +#: plugins/sudoers/sudoers.c:354 +#, c-format +msgid "user not allowed to change directory to %s" +msgstr "utilizador sem permissão para alterar pasta para %s" + +#: plugins/sudoers/sudoers.c:355 +#, c-format +msgid "you are not permitted to use the -D option with %s" +msgstr "não tem permissão para usar a opção -D com %s" + +#: plugins/sudoers/sudoers.c:382 +msgid "no command specified" +msgstr "nenhum comando especificado" + +#: plugins/sudoers/sudoers.c:407 +msgid "sudoers specifies that root is not allowed to sudo" +msgstr "sudoers especifica que root não tem permissão para sudo" + +#: plugins/sudoers/sudoers.c:457 +msgid "user not allowed to override closefrom limit" +msgstr "utilizador não autorizado a sobrepor o limite closefrom" + +#: plugins/sudoers/sudoers.c:458 +msgid "you are not permitted to use the -C option" +msgstr "não tem permissão para usar a opção -C" + +#: plugins/sudoers/sudoers.c:518 +#, c-format +msgid "timestamp owner (%s): No such user" +msgstr "dono da datação (%s): utilizador inexistente" + +#: plugins/sudoers/sudoers.c:533 +msgid "no tty" +msgstr "sem tty" + +#: plugins/sudoers/sudoers.c:534 +msgid "sorry, you must have a tty to run sudo" +msgstr "desculpe, tem de ter um tty para executar sudo" + +#: plugins/sudoers/sudoers.c:541 +#, c-format +msgid "invalid shell for user %s: %s" +msgstr "shell inválida para o utilizador %s: %s" + +#: plugins/sudoers/sudoers.c:624 +msgid "command in current directory" +msgstr "comando na pasta actual" + +#: plugins/sudoers/sudoers.c:643 +msgid "user not allowed to set a command timeout" +msgstr "utilizador sem permissão para definir um tempo de expiração" + +#: plugins/sudoers/sudoers.c:645 +msgid "sorry, you are not allowed set a command timeout" +msgstr "desculpe, não tem permissão para definir um tempo de inacção" + +#: plugins/sudoers/sudoers.c:653 +msgid "user not allowed to preserve the environment" +msgstr "utilizador sem permissão para definir preservar o ambiente" + +#: plugins/sudoers/sudoers.c:655 +msgid "sorry, you are not allowed to preserve the environment" +msgstr "desculpe, não tem permissão para preservar o ambiente" + +#: plugins/sudoers/sudoers.c:989 +msgid "command too long" +msgstr "comando muito longo" + +#: plugins/sudoers/sudoers.c:1028 +msgid "sudoedit doesn't need to be run via sudo" +msgstr "sudoedit não precisa de ser executado via sudo" + +#: plugins/sudoers/sudoers.c:1087 plugins/sudoers/sudoreplay.c:1568 +#: plugins/sudoers/tsdump.c:138 +#, c-format +msgid "unable to read %s" +msgstr "impossível ler %s" + +#: plugins/sudoers/sudoers.c:1112 plugins/sudoers/visudo.c:426 +#: plugins/sudoers/visudo.c:720 +#, c-format +msgid "unable to stat %s" +msgstr "impossível obter informações de %s" + +#: plugins/sudoers/sudoers.c:1116 plugins/sudoers/visudo.c:1009 +#, c-format +msgid "%s is not a regular file" +msgstr "%s não é um ficheiro normal" + +#: plugins/sudoers/sudoers.c:1120 plugins/sudoers/timestamp.c:252 toke.l:1148 +#, c-format +msgid "%s is owned by uid %u, should be %u" +msgstr "%s é propriedade de uid %u, deveria ser %u" + +#: plugins/sudoers/sudoers.c:1124 toke.l:1153 +#, c-format +msgid "%s is world writable" +msgstr "%s é escrito universalmente" + +#: plugins/sudoers/sudoers.c:1128 toke.l:1156 +#, c-format +msgid "%s is owned by gid %u, should be %u" +msgstr "%s é propriedade de gid %u, deveria ser %u" + +#: plugins/sudoers/sudoers.c:1161 +#, c-format +msgid "only root can use \"-c %s\"" +msgstr "só root pode usar \"-c %s\"" + +#: plugins/sudoers/sudoers.c:1180 +#, c-format +msgid "unknown login class %s" +msgstr "classe de sessão desconhecida %s" + +#: plugins/sudoers/sudoers.c:1266 plugins/sudoers/sudoers.c:1281 +#, c-format +msgid "unable to resolve host %s" +msgstr "impossível resolver o anfitrião %s" + +#: plugins/sudoers/sudoreplay.c:259 +#, c-format +msgid "invalid filter option: %s" +msgstr "opção de filtro inválida: %s" + +#: plugins/sudoers/sudoreplay.c:275 +#, c-format +msgid "invalid max wait: %s" +msgstr "espera máxima inválida: %s" + +#: plugins/sudoers/sudoreplay.c:298 +#, c-format +msgid "invalid speed factor: %s" +msgstr "factor de velocidade inválido: %s" + +#: plugins/sudoers/sudoreplay.c:333 +#, c-format +msgid "invalid time offset %s" +msgstr "desvio de tempo %s inválido" + +#: plugins/sudoers/sudoreplay.c:342 +#, c-format +msgid "%s/%.2s/%.2s/%.2s: %s" +msgstr "%s/%.2s/%.2s/%.2s: %s" + +#: plugins/sudoers/sudoreplay.c:347 +#, c-format +msgid "%s/timing: %s" +msgstr "%s/temporização: %s" + +#: plugins/sudoers/sudoreplay.c:375 +#, c-format +msgid "Replaying sudo session: %s" +msgstr "A reproduzir sessão sudo: %s" + +#: plugins/sudoers/sudoreplay.c:637 +msgid "unable to set tty to raw mode" +msgstr "impossível definir tty para modo raw" + +#: plugins/sudoers/sudoreplay.c:688 +msgid "Warning: your terminal is too small to properly replay the log.\n" +msgstr "Aviso: o seu terminal é muito pequeno para reproduzir correctamente o diário.\n" + +#: plugins/sudoers/sudoreplay.c:689 +#, c-format +msgid "Log geometry is %d x %d, your terminal's geometry is %d x %d." +msgstr "A geometria do diário é %d x %d, o seu terminal é %d x %d." + +#: plugins/sudoers/sudoreplay.c:717 +msgid "Replay finished, press any key to restore the terminal." +msgstr "Reprodução terminada, prima qualquer tecla para restaurar o terminal." + +#: plugins/sudoers/sudoreplay.c:1218 plugins/sudoers/sudoreplay.c:1248 +#, c-format +msgid "ambiguous expression \"%s\"" +msgstr "expressão ambígua \"%s\"" + +#: plugins/sudoers/sudoreplay.c:1270 +msgid "unmatched ')' in expression" +msgstr "\")\" sem par em expressão" + +#: plugins/sudoers/sudoreplay.c:1274 +#, c-format +msgid "unknown search term \"%s\"" +msgstr "termo de procura \"%s\" desconhecido" + +#: plugins/sudoers/sudoreplay.c:1289 +#, c-format +msgid "%s requires an argument" +msgstr "%s requer um argumento" + +#: plugins/sudoers/sudoreplay.c:1292 plugins/sudoers/sudoreplay.c:1544 +#, c-format +msgid "invalid regular expression: %s" +msgstr "expressão regular inválida: %s" + +#: plugins/sudoers/sudoreplay.c:1297 +#, c-format +msgid "could not parse date \"%s\"" +msgstr "impossível analisar a data \"%s\"" + +#: plugins/sudoers/sudoreplay.c:1306 +msgid "unmatched '(' in expression" +msgstr "\"(\" sem par em expressão" + +#: plugins/sudoers/sudoreplay.c:1308 +msgid "illegal trailing \"or\"" +msgstr "\"or\" final ilegal" + +#: plugins/sudoers/sudoreplay.c:1310 +msgid "illegal trailing \"!\"" +msgstr "\"!\" final ilegal" + +#: plugins/sudoers/sudoreplay.c:1368 +#, c-format +msgid "unknown search type %d" +msgstr "tipo de procura %d desconhecido" + +#: plugins/sudoers/sudoreplay.c:1635 +#, c-format +msgid "usage: %s [-hnRS] [-d dir] [-m num] [-s num] ID\n" +msgstr "uso: %s [-hnRS] [-d pasta] [-m núm] [-s núm] ID\n" + +#: plugins/sudoers/sudoreplay.c:1638 +#, c-format +msgid "usage: %s [-h] [-d dir] -l [search expression]\n" +msgstr "uso: %s [-h] [-d pasta] -l [expressão de procura]\n" + +#: plugins/sudoers/sudoreplay.c:1647 +#, c-format +msgid "" +"%s - replay sudo session logs\n" +"\n" +msgstr "" +"%s - reproduz os diários de sessão sudo\n" +"\n" + +#: plugins/sudoers/sudoreplay.c:1649 +msgid "" +"\n" +"Options:\n" +" -d, --directory=dir specify directory for session logs\n" +" -f, --filter=filter specify which I/O type(s) to display\n" +" -h, --help display help message and exit\n" +" -l, --list list available session IDs, with optional expression\n" +" -m, --max-wait=num max number of seconds to wait between events\n" +" -n, --non-interactive no prompts, session is sent to the standard output\n" +" -R, --no-resize do not attempt to re-size the terminal\n" +" -S, --suspend-wait wait while the command was suspended\n" +" -s, --speed=num speed up or slow down output\n" +" -V, --version display version information and exit" +msgstr "" +"\n" +"Opções:\n" +" -d, --directory=pasta especifica a pasta para diários de sessão\n" +" -f, --filter=filtro especifica os tipos de E/S a mostrar\n" +" -h, --help mostra a ajuda e sai\n" +" -l, --list lista as IDs de sessão disponíveis, com expressão opcional\n" +" -m, --max-wait=número número máximo de segundos a aguardar entre eventos\n" +" -n, --non-interactive sem prompts, a sessão é enviada para a saída padrão\n" +" -R, --no-resize não tenta redimensionar o terminal\n" +" -S, --suspend-wait espera enquanto o comando foi suspenso\n" +" -s, --speed=número acelera ou trava a saída\n" +" -V, --version mostra informação da versão e sai" + +#: plugins/sudoers/testsudoers.c:344 +msgid "\thost unmatched" +msgstr "\thost sem correspondência" + +#: plugins/sudoers/testsudoers.c:347 +msgid "" +"\n" +"Command allowed" +msgstr "" +"\n" +"Comando permitido" + +#: plugins/sudoers/testsudoers.c:348 +msgid "" +"\n" +"Command denied" +msgstr "" +"\n" +"Comando negado" + +#: plugins/sudoers/testsudoers.c:348 +msgid "" +"\n" +"Command unmatched" +msgstr "" +"\n" +"Comando sem correspondência" + +#: plugins/sudoers/timestamp.c:260 +#, c-format +msgid "%s is group writable" +msgstr "%s é escrito pelo grupo" + +#: plugins/sudoers/timestamp.c:328 plugins/sudoers/timestamp.c:663 +#, c-format +msgid "unable to truncate time stamp file to %lld bytes" +msgstr "impossível truncar o ficheiro de datação para %lld bytes" + +#: plugins/sudoers/timestamp.c:860 +msgid "ignoring time stamp from the future" +msgstr "a ignorar datação do futuro" + +#: plugins/sudoers/timestamp.c:883 +#, c-format +msgid "time stamp too far in the future: %20.20s" +msgstr "datação demasiado no futuro: %20.20s" + +#: plugins/sudoers/timestamp.c:1005 +#, c-format +msgid "unable to lock time stamp file %s" +msgstr "impossível bloquear ficheiro de datação %s" + +#: plugins/sudoers/timestamp.c:1049 plugins/sudoers/timestamp.c:1069 +#, c-format +msgid "lecture status path too long: %s/%s" +msgstr "caminho do estado da lição de moral muito longo: %s/%s" + +#: plugins/sudoers/toke_util.c:150 +msgid "sudoedit should not be specified with a path" +msgstr "sudoedit não deve ser especificado com um caminho" + +#: plugins/sudoers/visudo.c:224 +msgid "the -x option will be removed in a future release" +msgstr "a opção -x será removida numa futura versão" + +#: plugins/sudoers/visudo.c:226 +msgid "please consider using the cvtsudoers utility instead" +msgstr "por favor, considere usar antes o utilitário cvtsudoers" + +#: plugins/sudoers/visudo.c:277 plugins/sudoers/visudo.c:653 +#, c-format +msgid "press return to edit %s: " +msgstr "prima Enter para editar %s: " + +#: plugins/sudoers/visudo.c:338 +#, c-format +msgid "specified editor (%s) doesn't exist" +msgstr "o editor especificado (%s) não existe" + +#: plugins/sudoers/visudo.c:340 +#, c-format +msgid "no editor found (editor path = %s)" +msgstr "sem editor (caminho do editor = %s)" + +#: plugins/sudoers/visudo.c:446 plugins/sudoers/visudo.c:454 +msgid "write error" +msgstr "erro de escrita" + +#: plugins/sudoers/visudo.c:500 +#, c-format +msgid "unable to stat temporary file (%s), %s unchanged" +msgstr "impossível obter informação do ficheiro temporário (%s), %s inalterado" + +#: plugins/sudoers/visudo.c:507 +#, c-format +msgid "zero length temporary file (%s), %s unchanged" +msgstr "ficheiro temporário de tamanho zero (%s), %s inalterado" + +#: plugins/sudoers/visudo.c:513 +#, c-format +msgid "editor (%s) failed, %s unchanged" +msgstr "falha no editor (%s), %s inalterado" + +#: plugins/sudoers/visudo.c:535 +#, c-format +msgid "%s unchanged" +msgstr "%s inalterado" + +#: plugins/sudoers/visudo.c:592 +#, c-format +msgid "unable to re-open temporary file (%s), %s unchanged." +msgstr "impossível reabrir o ficheiro temporário (%s), %s inalterado." + +#: plugins/sudoers/visudo.c:604 +#, c-format +msgid "unable to parse temporary file (%s), unknown error" +msgstr "impossível analisar o ficheiro temporário (%s), erro desconhecido" + +#: plugins/sudoers/visudo.c:642 +#, c-format +msgid "internal error, unable to find %s in list!" +msgstr "erro interno, impossível encontrar %s na lista!" + +#: plugins/sudoers/visudo.c:722 plugins/sudoers/visudo.c:731 +#, c-format +msgid "unable to set (uid, gid) of %s to (%u, %u)" +msgstr "impossível definir (uid, gid) de %s para (%u, %u)" + +#: plugins/sudoers/visudo.c:754 +#, c-format +msgid "%s and %s not on the same file system, using mv to rename" +msgstr "%s e %s em sistemas de ficheiros diferentes, a usar mv para renomear" + +#: plugins/sudoers/visudo.c:765 +#, c-format +msgid "command failed: '%s %s %s', %s unchanged" +msgstr "falha no comando: \"%s %s %s\", %s inalterado" + +#: plugins/sudoers/visudo.c:775 +#, c-format +msgid "error renaming %s, %s unchanged" +msgstr "erro ao renomear %s, %s inalterado" + +#: plugins/sudoers/visudo.c:796 +msgid "What now? " +msgstr "E agora? " + +#: plugins/sudoers/visudo.c:810 +msgid "" +"Options are:\n" +" (e)dit sudoers file again\n" +" e(x)it without saving changes to sudoers file\n" +" (Q)uit and save changes to sudoers file (DANGER!)\n" +msgstr "" +"As opções são:\n" +" (e) editar o ficheiro sudoers de novo\n" +" (x) sair sem gravar as alterações ao ficheiro sudoers\n" +" (Q) sair e gravar as alterações ao ficheiro sudoers (PERIGO!)\n" + +#: plugins/sudoers/visudo.c:856 +#, c-format +msgid "unable to run %s" +msgstr "impossível executar %s" + +#: plugins/sudoers/visudo.c:886 +#, c-format +msgid "%s: wrong owner (uid, gid) should be (%u, %u)\n" +msgstr "%s: dono errrado (uid, gid), deveria ser (%u, %u)\n" + +#: plugins/sudoers/visudo.c:893 +#, c-format +msgid "%s: bad permissions, should be mode 0%o\n" +msgstr "%s: permissões erradas, devia ser modo 0%o\n" + +#: plugins/sudoers/visudo.c:942 plugins/sudoers/visudo.c:949 +#, c-format +msgid "%s: parsed OK\n" +msgstr "%s: análise com sucesso\n" + +#: plugins/sudoers/visudo.c:968 +#, c-format +msgid "%s busy, try again later" +msgstr "%s ocupado, tente mais tarde" + +#: plugins/sudoers/visudo.c:972 +msgid "Edit anyway? [y/N]" +msgstr "Editar mesmo assim ? [y/N]" + +#: plugins/sudoers/visudo.c:1068 +#, c-format +msgid "Warning: %s:%d:%d: unused %s \"%s\"" +msgstr "Aviso: %s:%d:%d: não usado %s \"%s\"" + +#: plugins/sudoers/visudo.c:1184 +#, c-format +msgid "" +"%s - safely edit the sudoers file\n" +"\n" +msgstr "" +"%s - editar com segurança o ficheiro sudoers\n" +"\n" + +#: plugins/sudoers/visudo.c:1186 +msgid "" +"\n" +"Options:\n" +" -c, --check check-only mode\n" +" -f, --file=sudoers specify sudoers file location\n" +" -h, --help display help message and exit\n" +" -q, --quiet less verbose (quiet) syntax error messages\n" +" -s, --strict strict syntax checking\n" +" -V, --version display version information and exit\n" +msgstr "" +"\n" +"Opções:\n" +" -c, --check modo só de verificação\n" +" -f, --file=sudoers especifica a localização do ficheiro sudoers\n" +" -h, --help mostra a ajuda e sai\n" +" -q, --quiet mensagens de erro de sintaxe menos verbosas (silêncio)\n" +" -s, --strict verificação de sintaxe estrita\n" +" -V, --version mostra informação da versão e sai\n" + +#: toke.l:187 +msgid "empty string" +msgstr "cadeia vazia" + +#: toke.l:199 toke.l:513 +msgid "empty group" +msgstr "grupo vazio" + +#: toke.l:209 toke.l:511 +msgid "empty netgroup" +msgstr "grupo de rede vazio" + +#: toke.l:305 toke.l:317 toke.l:329 toke.l:345 toke.l:364 toke.l:404 +msgid "invalid line continuation" +msgstr "continuação de linha inválida" + +#: toke.l:550 toke.l:562 +msgid "invalid IPv6 address" +msgstr "endereço IPv6 inválido" + +#: toke.l:789 +msgid "unexpected line break in string" +msgstr "quebra de linha inesperada em cadeia" + +#: toke.l:1119 +msgid "too many levels of includes" +msgstr "demasiados níveis de includes" + +#~ msgid "%s:%d unknown key: %s" +#~ msgstr "%s:%d chave desconhecida: %s" + +#~ msgid "unable to get TLS server method: %s" +#~ msgstr "impossível obter método TLS do servidor: %s" + +#~ msgid "%s:%u unable to parse \"%s\"" +#~ msgstr "%s:%u impossível analisar \"%s\"" + +#~ msgid "" +#~ "\n" +#~ "Options:\n" +#~ " -f, --file path to configuration file\n" +#~ " -h --help display help message and exit\n" +#~ " -n, --no-fork do not fork, run in the foreground\n" +#~ " -R, --random-drop percent chance connections will drop\n" +#~ " -V, --version display version information and exit\n" +#~ msgstr "" +#~ "\n" +#~ "Opções:\n" +#~ " -f, --file caminho para o ficheiro de configuração\n" +#~ " -h --help mostrar a mensagem de ajuda e sair\n" +#~ " -n, --no-fork não bifurcar, executar em 2º plano\n" +#~ " -R, --random-drop percentagem de hipóteses das ligações caírem\n" +#~ " -V, --version mostrar informação da versão e sair\n" + +#~ msgid "" +#~ "\n" +#~ "Options:\n" +#~ " --help display help message and exit\n" +#~ " -A, --accept only send an accept event (no I/O)\n" +#~ " -h, --host host to send logs to\n" +#~ " -i, --iolog_id remote ID of I/O log to be resumed\n" +#~ " -p, --port port to use when connecting to host\n" +#~ " -r, --restart restart previous I/O log transfer\n" +#~ " -R, --reject reject the command with the given reason\n" +#~ " -b, --ca-bundle certificate bundle file to verify server's cert against\n" +#~ " -c, --cert certificate file for TLS handshake\n" +#~ " -k, --key private key file\n" +#~ " -n, --no-verify do not verify server certificate\n" +#~ " -t, --test test audit server by sending selected I/O log n times in parallel\n" +#~ " -V, --version display version information and exit\n" +#~ msgstr "" +#~ "\n" +#~ "Opções:\n" +#~ " --help mostrar a mensagem de ajuda e sair\n" +#~ " -A, --accept enviar só um evento de aceitação (sem E/S)\n" +#~ " -h, --host anfitrião a quem enviar os diários\n" +#~ " -i, --iolog_id ID remota do diário de E/S a resumir\n" +#~ " -p, --port porta a usar ao ligar ao anfitrião\n" +#~ " -r, --restart reiniciar a transferência de diário de E/S prévia\n" +#~ " -R, --reject rejeitar o comando com o motivo dado\n" +#~ " -b, --ca-bundle ficheiro de pacote de certificados para comparar com o do servidor\n" +#~ " -c, --cert ficheiro de certificado para o handshake TLS\n" +#~ " -k, --key ficheiro de chave privada\n" +#~ " -n, --no-verify não verificar o certificado do servidor\n" +#~ " -t, --test testar servidor de auditoria enviando o diário de E/S seleccionado n vezes em paralelo\n" +#~ " -V, --version mostrar informação da versão e sair\n" + +#~ msgid "Preload the dummy exec functions contained in the sudo_noexec library" +#~ msgstr "Pré-carregar as funções dummy exec contidas na biblioteca sudo_noexec" + +#~ msgid "sudo_ldap_conf_add_ports: port too large" +#~ msgstr "sudo_ldap_conf_add_ports: porta muito grande" + +#~ msgid "SSL_connect failed: ssl_error=%d, stack=%s\n" +#~ msgstr "SSL_connect falhou: ssl_error=%d, stack=%s\n" + +#~ msgid "CA bundle file was not specified" +#~ msgstr "ficheiro de pacote CA não especificado" + +#~ msgid "Client certificate was not specified" +#~ msgstr "Certificado do cliente não especificado" + +#~ msgid "Unable to allocate ssl object: %s\n" +#~ msgstr "Impossível alocar objecto ssl: %s\n" + +#~ msgid "Unable to attach socket to the ssl object: %s\n" +#~ msgstr "Impossível anexar socket ao objecto ssl: %s\n" + +#~ msgid "client message too large: %zu\n" +#~ msgstr "mensagem do cliente muito grande: %zu\n" + +#~ msgid "server message too large: %u\n" +#~ msgstr "mensagem do servidor muito grande: %u\n" + +#~ msgid "CA bundle file is not set in sudoers" +#~ msgstr "Ficheiro de pacote CA não definido em sudoers" + +#~ msgid "Calling SSL_CTX_load_verify_locations() failed: %s" +#~ msgstr "Falha ao chamar SSL_CTX_load_verify_locations(): %s" + +#~ msgid "Signed certificate file is not set in sudoers" +#~ msgstr "Ficheiro de certificado assinado não definido em sudoers" + +#~ msgid "Unable to load private key into the ssl context: %s" +#~ msgstr "Impossível carregar chave privada no contexto ssl: %s" + +#~ msgid "SSL_connect failed: ssl_error=%d, stack=%s" +#~ msgstr "SSL_connect falhoud: ssl_error=%d, stack=%s" + +#~ msgid "SSL_read failed: ssl_error=%d, stack=%s" +#~ msgstr "SSL_read falhou: ssl_error=%d, stack=%s" + +#~ msgid "SSL_write failed: ssl_error=%d, stack=%s" +#~ msgstr "SSL_write falhou: ssl_error=%d, stack=%s" + +#~ msgid "unknown address family: %d" +#~ msgstr "família de endereços desconhecida: %d" + +#~ msgid "audit_failure message too long" +#~ msgstr "mensagem audit_failure muito longa" + +#~ msgid "No user or host" +#~ msgstr "Sem utilizador ou anfitrião" + +#~ msgid "validation failure" +#~ msgstr "falha de validação" + +#~ msgid "%s/%s/timing: %s" +#~ msgstr "%s/%s/temporização: %s" + +#~ msgid "ignoring invalid attribute value: %s" +#~ msgstr "a ignorar valor de atributo inválido: %s" + +#~ msgid "unable to cache user %s, out of memory" +#~ msgstr "impossível guardar utilizador %s, sem memória" + +#~ msgid "unable to cache group %s, out of memory" +#~ msgstr "impossível guardar grupo %s, sem memória" + +#~ msgid "unable to cache group list for %s, out of memory" +#~ msgstr "impossível guardar lista de grupo para %s, sem memória" diff --git a/plugins/sudoers/po/pt_BR.mo b/plugins/sudoers/po/pt_BR.mo new file mode 100644 index 0000000..cb87305 Binary files /dev/null and b/plugins/sudoers/po/pt_BR.mo differ diff --git a/plugins/sudoers/po/pt_BR.po b/plugins/sudoers/po/pt_BR.po new file mode 100644 index 0000000..576ea25 --- /dev/null +++ b/plugins/sudoers/po/pt_BR.po @@ -0,0 +1,3801 @@ +# Brazilian Portuguese translation for sudoers plugin. +# Traduções em português brasileiro para o pacote sudoers. +# Copyright (C) 2021 Free Software Foundation, Inc. +# This file is distributed under the same license as the sudo package. +# Rafael Fontenelle , 2013-2021. +# +msgid "" +msgstr "" +"Project-Id-Version: sudoers 1.9.8b2\n" +"Report-Msgid-Bugs-To: https://bugzilla.sudo.ws\n" +"POT-Creation-Date: 2021-08-19 09:50-0600\n" +"PO-Revision-Date: 2021-08-22 10:47-0300\n" +"Last-Translator: Rafael Fontenelle \n" +"Language-Team: Brazilian Portuguese \n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1)\n" +"X-Generator: Gtranslator 40.0\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: confstr.sh:1 gram.y:1191 +msgid "syntax error" +msgstr "erro de sintaxe" + +#: confstr.sh:2 +msgid "%p's password: " +msgstr "senha do %p: " + +#: confstr.sh:3 +msgid "[sudo] password for %p: " +msgstr "[sudo] senha para %p: " + +#: confstr.sh:4 +msgid "Password: " +msgstr "Senha: " + +#: confstr.sh:5 +msgid "*** SECURITY information for %h ***" +msgstr "*** Informação de SEGURANÇA para %h ***" + +#: confstr.sh:6 +msgid "Sorry, try again." +msgstr "Sinto muito, tente novamente." + +#: gram.y:235 gram.y:302 gram.y:311 gram.y:320 gram.y:330 gram.y:340 +#: gram.y:364 gram.y:391 gram.y:400 gram.y:408 gram.y:417 gram.y:426 +#: gram.y:500 gram.y:510 gram.y:522 gram.y:566 gram.y:575 gram.y:584 +#: gram.y:593 gram.y:712 gram.y:720 gram.y:731 gram.y:743 gram.y:762 +#: gram.y:917 gram.y:922 gram.y:930 gram.y:940 gram.y:946 gram.y:1068 +#: gram.y:1077 gram.y:1085 gram.y:1094 gram.y:1103 gram.y:1132 gram.y:1141 +#: gram.y:1149 gram.y:1239 gram.y:1351 gram.y:1658 gram.y:1708 +#: lib/eventlog/eventlog.c:308 lib/eventlog/eventlog.c:381 +#: lib/eventlog/eventlog.c:783 lib/eventlog/eventlog.c:862 +#: lib/eventlog/eventlog.c:1146 lib/iolog/iolog_json.c:125 +#: lib/iolog/iolog_json.c:330 lib/iolog/iolog_json.c:360 +#: lib/iolog/iolog_json.c:503 lib/iolog/iolog_legacy.c:100 +#: lib/iolog/iolog_legacy.c:111 lib/iolog/iolog_legacy.c:123 +#: lib/iolog/iolog_legacy.c:133 lib/iolog/iolog_legacy.c:139 +#: lib/iolog/iolog_loginfo.c:76 lib/iolog/iolog_loginfo.c:210 +#: logsrvd/iolog_writer.c:85 logsrvd/iolog_writer.c:90 +#: logsrvd/iolog_writer.c:124 logsrvd/iolog_writer.c:172 +#: logsrvd/iolog_writer.c:212 logsrvd/iolog_writer.c:225 +#: logsrvd/iolog_writer.c:261 logsrvd/iolog_writer.c:286 +#: logsrvd/iolog_writer.c:301 logsrvd/iolog_writer.c:314 +#: logsrvd/iolog_writer.c:327 logsrvd/iolog_writer.c:340 +#: logsrvd/iolog_writer.c:355 logsrvd/iolog_writer.c:393 +#: logsrvd/iolog_writer.c:399 logsrvd/iolog_writer.c:406 +#: logsrvd/iolog_writer.c:412 logsrvd/iolog_writer.c:596 +#: logsrvd/logsrv_util.c:62 logsrvd/logsrvd.c:302 logsrvd/logsrvd.c:311 +#: logsrvd/logsrvd.c:1017 logsrvd/logsrvd.c:1079 logsrvd/logsrvd_conf.c:1361 +#: logsrvd/logsrvd_journal.c:71 logsrvd/logsrvd_journal.c:204 +#: logsrvd/logsrvd_journal.c:205 logsrvd/logsrvd_journal.c:261 +#: logsrvd/logsrvd_journal.c:426 logsrvd/logsrvd_journal.c:428 +#: logsrvd/logsrvd_local.c:173 logsrvd/logsrvd_local.c:174 +#: logsrvd/logsrvd_local.c:236 logsrvd/logsrvd_local.c:237 +#: logsrvd/logsrvd_local.c:317 logsrvd/logsrvd_local.c:318 +#: logsrvd/logsrvd_local.c:323 logsrvd/logsrvd_local.c:324 +#: logsrvd/logsrvd_queue.c:155 logsrvd/logsrvd_queue.c:185 +#: logsrvd/logsrvd_queue.c:262 logsrvd/logsrvd_relay.c:445 +#: logsrvd/logsrvd_relay.c:744 logsrvd/logsrvd_relay.c:846 +#: logsrvd/sendlog.c:302 logsrvd/sendlog.c:501 plugins/sudoers/audit.c:114 +#: plugins/sudoers/audit.c:271 plugins/sudoers/auth/bsdauth.c:143 +#: plugins/sudoers/auth/kerb5.c:118 plugins/sudoers/auth/kerb5.c:144 +#: plugins/sudoers/auth/pam.c:691 plugins/sudoers/auth/rfc1938.c:111 +#: plugins/sudoers/auth/sia.c:59 plugins/sudoers/check_aliases.c:95 +#: plugins/sudoers/cvtsudoers.c:119 plugins/sudoers/cvtsudoers.c:160 +#: plugins/sudoers/cvtsudoers.c:177 plugins/sudoers/cvtsudoers.c:188 +#: plugins/sudoers/cvtsudoers.c:300 plugins/sudoers/cvtsudoers.c:428 +#: plugins/sudoers/cvtsudoers.c:561 plugins/sudoers/cvtsudoers.c:578 +#: plugins/sudoers/cvtsudoers.c:646 plugins/sudoers/cvtsudoers.c:761 +#: plugins/sudoers/cvtsudoers.c:769 plugins/sudoers/cvtsudoers.c:1183 +#: plugins/sudoers/cvtsudoers.c:1187 plugins/sudoers/cvtsudoers.c:1289 +#: plugins/sudoers/cvtsudoers_json.c:76 plugins/sudoers/cvtsudoers_ldif.c:151 +#: plugins/sudoers/cvtsudoers_ldif.c:194 plugins/sudoers/cvtsudoers_ldif.c:235 +#: plugins/sudoers/cvtsudoers_ldif.c:300 plugins/sudoers/cvtsudoers_ldif.c:371 +#: plugins/sudoers/cvtsudoers_ldif.c:425 plugins/sudoers/cvtsudoers_ldif.c:433 +#: plugins/sudoers/cvtsudoers_ldif.c:444 plugins/sudoers/cvtsudoers_ldif.c:451 +#: plugins/sudoers/cvtsudoers_ldif.c:464 plugins/sudoers/cvtsudoers_ldif.c:472 +#: plugins/sudoers/cvtsudoers_ldif.c:619 plugins/sudoers/defaults.c:652 +#: plugins/sudoers/defaults.c:947 plugins/sudoers/defaults.c:1122 +#: plugins/sudoers/editor.c:190 plugins/sudoers/env.c:262 +#: plugins/sudoers/exptilde.c:92 plugins/sudoers/filedigest.c:54 +#: plugins/sudoers/filedigest.c:70 plugins/sudoers/gc.c:57 +#: plugins/sudoers/group_plugin.c:133 plugins/sudoers/interfaces.c:68 +#: plugins/sudoers/iolog.c:606 plugins/sudoers/iolog.c:623 +#: plugins/sudoers/ldap.c:184 plugins/sudoers/ldap.c:422 +#: plugins/sudoers/ldap.c:432 plugins/sudoers/ldap.c:437 +#: plugins/sudoers/ldap.c:441 plugins/sudoers/ldap.c:453 +#: plugins/sudoers/ldap.c:744 plugins/sudoers/ldap.c:908 +#: plugins/sudoers/ldap.c:1281 plugins/sudoers/ldap.c:1709 +#: plugins/sudoers/ldap.c:1746 plugins/sudoers/ldap.c:1827 +#: plugins/sudoers/ldap.c:1962 plugins/sudoers/ldap.c:2063 +#: plugins/sudoers/ldap.c:2079 plugins/sudoers/ldap_conf.c:218 +#: plugins/sudoers/ldap_conf.c:249 plugins/sudoers/ldap_conf.c:301 +#: plugins/sudoers/ldap_conf.c:337 plugins/sudoers/ldap_conf.c:441 +#: plugins/sudoers/ldap_conf.c:456 plugins/sudoers/ldap_conf.c:553 +#: plugins/sudoers/ldap_conf.c:586 plugins/sudoers/ldap_conf.c:678 +#: plugins/sudoers/ldap_conf.c:760 plugins/sudoers/ldap_util.c:293 +#: plugins/sudoers/ldap_util.c:300 plugins/sudoers/ldap_util.c:615 +#: plugins/sudoers/linux_audit.c:86 plugins/sudoers/log_client.c:108 +#: plugins/sudoers/log_client.c:386 plugins/sudoers/log_client.c:699 +#: plugins/sudoers/log_client.c:720 plugins/sudoers/log_client.c:1440 +#: plugins/sudoers/log_client.c:1656 plugins/sudoers/log_client.c:1980 +#: plugins/sudoers/log_client.c:2037 plugins/sudoers/logging.c:101 +#: plugins/sudoers/logging.c:181 plugins/sudoers/logging.c:465 +#: plugins/sudoers/logging.c:485 plugins/sudoers/logging.c:627 +#: plugins/sudoers/match_command.c:297 plugins/sudoers/match_command.c:497 +#: plugins/sudoers/match_command.c:546 plugins/sudoers/match_command.c:618 +#: plugins/sudoers/match_command.c:666 plugins/sudoers/match_digest.c:93 +#: plugins/sudoers/parse.c:201 plugins/sudoers/parse.c:218 +#: plugins/sudoers/parse.c:238 plugins/sudoers/parse.c:255 +#: plugins/sudoers/parse.c:278 plugins/sudoers/parse.c:289 +#: plugins/sudoers/parse_ldif.c:153 plugins/sudoers/parse_ldif.c:184 +#: plugins/sudoers/parse_ldif.c:253 plugins/sudoers/parse_ldif.c:260 +#: plugins/sudoers/parse_ldif.c:265 plugins/sudoers/parse_ldif.c:341 +#: plugins/sudoers/parse_ldif.c:352 plugins/sudoers/parse_ldif.c:379 +#: plugins/sudoers/parse_ldif.c:396 plugins/sudoers/parse_ldif.c:408 +#: plugins/sudoers/parse_ldif.c:412 plugins/sudoers/parse_ldif.c:426 +#: plugins/sudoers/parse_ldif.c:483 plugins/sudoers/parse_ldif.c:596 +#: plugins/sudoers/parse_ldif.c:626 plugins/sudoers/parse_ldif.c:651 +#: plugins/sudoers/parse_ldif.c:709 plugins/sudoers/parse_ldif.c:726 +#: plugins/sudoers/parse_ldif.c:754 plugins/sudoers/parse_ldif.c:761 +#: plugins/sudoers/policy.c:556 plugins/sudoers/policy.c:923 +#: plugins/sudoers/prompt.c:93 plugins/sudoers/pwutil.c:195 +#: plugins/sudoers/pwutil.c:266 plugins/sudoers/pwutil.c:344 +#: plugins/sudoers/pwutil.c:518 plugins/sudoers/pwutil.c:583 +#: plugins/sudoers/pwutil.c:655 plugins/sudoers/pwutil.c:853 +#: plugins/sudoers/pwutil.c:909 plugins/sudoers/pwutil.c:953 +#: plugins/sudoers/pwutil.c:1010 plugins/sudoers/sssd.c:145 +#: plugins/sudoers/sssd.c:407 plugins/sudoers/sssd.c:470 +#: plugins/sudoers/sssd.c:514 plugins/sudoers/sssd.c:561 +#: plugins/sudoers/sssd.c:754 plugins/sudoers/strvec_join.c:53 +#: plugins/sudoers/stubs.c:111 plugins/sudoers/stubs.c:119 +#: plugins/sudoers/sudoers.c:335 plugins/sudoers/sudoers.c:361 +#: plugins/sudoers/sudoers.c:429 plugins/sudoers/sudoers.c:438 +#: plugins/sudoers/sudoers.c:479 plugins/sudoers/sudoers.c:833 +#: plugins/sudoers/sudoers.c:971 plugins/sudoers/sudoers.c:1030 +#: plugins/sudoers/sudoers.c:1296 plugins/sudoers/sudoreplay.c:562 +#: plugins/sudoers/sudoreplay.c:565 plugins/sudoers/sudoreplay.c:1280 +#: plugins/sudoers/sudoreplay.c:1490 plugins/sudoers/sudoreplay.c:1494 +#: plugins/sudoers/testsudoers.c:120 plugins/sudoers/testsudoers.c:224 +#: plugins/sudoers/testsudoers.c:241 plugins/sudoers/testsudoers.c:580 +#: plugins/sudoers/timestamp.c:424 plugins/sudoers/timestamp.c:468 +#: plugins/sudoers/timestamp.c:980 plugins/sudoers/timestamp.c:1118 +#: plugins/sudoers/toke_util.c:77 plugins/sudoers/toke_util.c:105 +#: plugins/sudoers/toke_util.c:130 plugins/sudoers/toke_util.c:155 +#: plugins/sudoers/toke_util.c:193 plugins/sudoers/tsdump.c:123 +#: plugins/sudoers/visudo.c:143 plugins/sudoers/visudo.c:321 +#: plugins/sudoers/visudo.c:327 plugins/sudoers/visudo.c:433 +#: plugins/sudoers/visudo.c:609 plugins/sudoers/visudo.c:926 +#: plugins/sudoers/visudo.c:999 toke.l:938 toke.l:1067 toke.l:1127 +msgid "unable to allocate memory" +msgstr "não foi possível alocar memória" + +#: gram.y:617 +msgid "a digest requires a path name" +msgstr "um digest requer um nome de caminho" + +#: gram.y:639 +msgid "values for \"CWD\" must start with a '/', '~', or '*'" +msgstr "valores para \"CWD\" devem iniciar com um \"/\", \"~\" ou \"*\"" + +#: gram.y:651 +msgid "values for \"CHROOT\" must start with a '/', '~', or '*'" +msgstr "valores para \"CHROOT\" devem iniciar com um \"/\", \"~\" ou \"*\"" + +#: gram.y:782 +#, c-format +msgid "syntax error, reserved word %s used as an alias name" +msgstr "erro de sintaxe, palavra reservada %s usada como um nome de alias" + +#: gram.y:805 +msgid "invalid notbefore value" +msgstr "valor de notbefore inválido" + +#: gram.y:814 +msgid "invalid notafter value" +msgstr "falha de notafter inválido" + +#: gram.y:824 plugins/sudoers/policy.c:345 +msgid "timeout value too large" +msgstr "valor de timeout grande demais" + +#: gram.y:826 plugins/sudoers/policy.c:347 +msgid "invalid timeout value" +msgstr "valor de timeout inválido" + +#: gram.y:1193 +#, c-format +msgid "%s:%d:%d: %s\n" +msgstr "%s:%d:%d: %s\n" + +#: gram.y:1237 +#, c-format +msgid "Alias \"%s\" already defined" +msgstr "Alias \"%s\" já definido" + +#: gram.y:1658 gram.y:1708 lib/eventlog/eventlog.c:308 +#: lib/eventlog/eventlog.c:783 lib/eventlog/eventlog.c:858 +#: lib/eventlog/eventlog.c:861 lib/eventlog/eventlog.c:1146 +#: lib/iolog/iolog_json.c:125 lib/iolog/iolog_json.c:329 +#: lib/iolog/iolog_json.c:360 lib/iolog/iolog_json.c:503 +#: lib/iolog/iolog_legacy.c:100 lib/iolog/iolog_legacy.c:111 +#: lib/iolog/iolog_legacy.c:123 lib/iolog/iolog_legacy.c:133 +#: lib/iolog/iolog_legacy.c:139 lib/iolog/iolog_loginfo.c:76 +#: lib/iolog/iolog_loginfo.c:210 logsrvd/iolog_writer.c:85 +#: logsrvd/iolog_writer.c:90 logsrvd/iolog_writer.c:124 +#: logsrvd/iolog_writer.c:162 logsrvd/iolog_writer.c:171 +#: logsrvd/iolog_writer.c:189 logsrvd/iolog_writer.c:211 +#: logsrvd/iolog_writer.c:224 logsrvd/iolog_writer.c:251 +#: logsrvd/iolog_writer.c:260 logsrvd/iolog_writer.c:276 +#: logsrvd/iolog_writer.c:285 logsrvd/iolog_writer.c:300 +#: logsrvd/iolog_writer.c:313 logsrvd/iolog_writer.c:326 +#: logsrvd/iolog_writer.c:339 logsrvd/iolog_writer.c:354 +#: logsrvd/iolog_writer.c:393 logsrvd/iolog_writer.c:399 +#: logsrvd/iolog_writer.c:406 logsrvd/iolog_writer.c:412 +#: logsrvd/iolog_writer.c:596 logsrvd/logsrv_util.c:62 logsrvd/logsrvd.c:302 +#: logsrvd/logsrvd.c:311 logsrvd/logsrvd.c:454 logsrvd/logsrvd.c:491 +#: logsrvd/logsrvd.c:599 logsrvd/logsrvd.c:1090 logsrvd/logsrvd.c:1402 +#: logsrvd/logsrvd.c:1408 logsrvd/logsrvd_conf.c:1361 +#: logsrvd/logsrvd_journal.c:71 logsrvd/logsrvd_journal.c:115 +#: logsrvd/logsrvd_journal.c:204 logsrvd/logsrvd_journal.c:234 +#: logsrvd/logsrvd_journal.c:238 logsrvd/logsrvd_journal.c:246 +#: logsrvd/logsrvd_journal.c:269 logsrvd/logsrvd_journal.c:273 +#: logsrvd/logsrvd_journal.c:426 logsrvd/logsrvd_local.c:173 +#: logsrvd/logsrvd_local.c:236 logsrvd/logsrvd_local.c:317 +#: logsrvd/logsrvd_local.c:323 logsrvd/logsrvd_local.c:342 +#: logsrvd/logsrvd_queue.c:154 logsrvd/logsrvd_queue.c:185 +#: logsrvd/logsrvd_queue.c:262 logsrvd/sendlog.c:302 logsrvd/sendlog.c:501 +#: logsrvd/sendlog.c:1353 logsrvd/sendlog.c:1360 logsrvd/sendlog.c:1563 +#: logsrvd/tls_init.c:218 logsrvd/tls_init.c:239 logsrvd/tls_init.c:249 +#: plugins/sudoers/audit.c:114 plugins/sudoers/audit.c:271 +#: plugins/sudoers/auth/pam.c:505 plugins/sudoers/auth/pam.c:691 +#: plugins/sudoers/auth/rfc1938.c:111 plugins/sudoers/check_aliases.c:95 +#: plugins/sudoers/cvtsudoers.c:119 plugins/sudoers/cvtsudoers.c:159 +#: plugins/sudoers/cvtsudoers.c:176 plugins/sudoers/cvtsudoers.c:187 +#: plugins/sudoers/cvtsudoers.c:299 plugins/sudoers/cvtsudoers.c:427 +#: plugins/sudoers/cvtsudoers.c:560 plugins/sudoers/cvtsudoers.c:577 +#: plugins/sudoers/cvtsudoers.c:646 plugins/sudoers/cvtsudoers.c:761 +#: plugins/sudoers/cvtsudoers.c:768 plugins/sudoers/cvtsudoers.c:1183 +#: plugins/sudoers/cvtsudoers.c:1187 plugins/sudoers/cvtsudoers.c:1289 +#: plugins/sudoers/cvtsudoers_json.c:75 plugins/sudoers/cvtsudoers_ldif.c:150 +#: plugins/sudoers/cvtsudoers_ldif.c:193 plugins/sudoers/cvtsudoers_ldif.c:234 +#: plugins/sudoers/cvtsudoers_ldif.c:299 plugins/sudoers/cvtsudoers_ldif.c:370 +#: plugins/sudoers/cvtsudoers_ldif.c:424 plugins/sudoers/cvtsudoers_ldif.c:432 +#: plugins/sudoers/cvtsudoers_ldif.c:443 plugins/sudoers/cvtsudoers_ldif.c:450 +#: plugins/sudoers/cvtsudoers_ldif.c:463 plugins/sudoers/cvtsudoers_ldif.c:471 +#: plugins/sudoers/cvtsudoers_ldif.c:618 plugins/sudoers/defaults.c:652 +#: plugins/sudoers/defaults.c:947 plugins/sudoers/defaults.c:1122 +#: plugins/sudoers/editor.c:190 plugins/sudoers/env.c:262 +#: plugins/sudoers/exptilde.c:92 plugins/sudoers/filedigest.c:54 +#: plugins/sudoers/filedigest.c:70 plugins/sudoers/gc.c:57 +#: plugins/sudoers/group_plugin.c:132 plugins/sudoers/interfaces.c:68 +#: plugins/sudoers/iolog.c:606 plugins/sudoers/iolog.c:623 +#: plugins/sudoers/ldap.c:184 plugins/sudoers/ldap.c:422 +#: plugins/sudoers/ldap.c:432 plugins/sudoers/ldap.c:437 +#: plugins/sudoers/ldap.c:441 plugins/sudoers/ldap.c:453 +#: plugins/sudoers/ldap.c:744 plugins/sudoers/ldap.c:908 +#: plugins/sudoers/ldap.c:1281 plugins/sudoers/ldap.c:1709 +#: plugins/sudoers/ldap.c:1746 plugins/sudoers/ldap.c:1827 +#: plugins/sudoers/ldap.c:1962 plugins/sudoers/ldap.c:2063 +#: plugins/sudoers/ldap.c:2079 plugins/sudoers/ldap_conf.c:218 +#: plugins/sudoers/ldap_conf.c:249 plugins/sudoers/ldap_conf.c:301 +#: plugins/sudoers/ldap_conf.c:337 plugins/sudoers/ldap_conf.c:441 +#: plugins/sudoers/ldap_conf.c:456 plugins/sudoers/ldap_conf.c:553 +#: plugins/sudoers/ldap_conf.c:586 plugins/sudoers/ldap_conf.c:677 +#: plugins/sudoers/ldap_conf.c:760 plugins/sudoers/ldap_util.c:292 +#: plugins/sudoers/ldap_util.c:299 plugins/sudoers/ldap_util.c:615 +#: plugins/sudoers/linux_audit.c:86 plugins/sudoers/log_client.c:108 +#: plugins/sudoers/log_client.c:217 plugins/sudoers/log_client.c:238 +#: plugins/sudoers/log_client.c:251 plugins/sudoers/log_client.c:386 +#: plugins/sudoers/log_client.c:699 plugins/sudoers/log_client.c:720 +#: plugins/sudoers/log_client.c:1440 plugins/sudoers/log_client.c:1656 +#: plugins/sudoers/log_client.c:1980 plugins/sudoers/log_client.c:2037 +#: plugins/sudoers/logging.c:101 plugins/sudoers/logging.c:180 +#: plugins/sudoers/logging.c:181 plugins/sudoers/logging.c:464 +#: plugins/sudoers/logging.c:484 plugins/sudoers/logging.c:627 +#: plugins/sudoers/match_command.c:296 plugins/sudoers/match_command.c:496 +#: plugins/sudoers/match_command.c:545 plugins/sudoers/match_command.c:618 +#: plugins/sudoers/match_command.c:665 plugins/sudoers/match_digest.c:93 +#: plugins/sudoers/parse.c:200 plugins/sudoers/parse.c:217 +#: plugins/sudoers/parse.c:237 plugins/sudoers/parse.c:254 +#: plugins/sudoers/parse.c:277 plugins/sudoers/parse.c:288 +#: plugins/sudoers/parse_ldif.c:152 plugins/sudoers/parse_ldif.c:183 +#: plugins/sudoers/parse_ldif.c:252 plugins/sudoers/parse_ldif.c:259 +#: plugins/sudoers/parse_ldif.c:264 plugins/sudoers/parse_ldif.c:340 +#: plugins/sudoers/parse_ldif.c:351 plugins/sudoers/parse_ldif.c:378 +#: plugins/sudoers/parse_ldif.c:395 plugins/sudoers/parse_ldif.c:407 +#: plugins/sudoers/parse_ldif.c:411 plugins/sudoers/parse_ldif.c:425 +#: plugins/sudoers/parse_ldif.c:483 plugins/sudoers/parse_ldif.c:596 +#: plugins/sudoers/parse_ldif.c:625 plugins/sudoers/parse_ldif.c:650 +#: plugins/sudoers/parse_ldif.c:708 plugins/sudoers/parse_ldif.c:725 +#: plugins/sudoers/parse_ldif.c:753 plugins/sudoers/parse_ldif.c:760 +#: plugins/sudoers/policy.c:152 plugins/sudoers/policy.c:161 +#: plugins/sudoers/policy.c:170 plugins/sudoers/policy.c:197 +#: plugins/sudoers/policy.c:330 plugins/sudoers/policy.c:345 +#: plugins/sudoers/policy.c:347 plugins/sudoers/policy.c:377 +#: plugins/sudoers/policy.c:386 plugins/sudoers/policy.c:434 +#: plugins/sudoers/policy.c:444 plugins/sudoers/policy.c:453 +#: plugins/sudoers/policy.c:462 plugins/sudoers/policy.c:556 +#: plugins/sudoers/policy.c:923 plugins/sudoers/prompt.c:93 +#: plugins/sudoers/pwutil.c:195 plugins/sudoers/pwutil.c:266 +#: plugins/sudoers/pwutil.c:344 plugins/sudoers/pwutil.c:518 +#: plugins/sudoers/pwutil.c:583 plugins/sudoers/pwutil.c:655 +#: plugins/sudoers/pwutil.c:853 plugins/sudoers/pwutil.c:909 +#: plugins/sudoers/pwutil.c:953 plugins/sudoers/pwutil.c:1010 +#: plugins/sudoers/set_perms.c:363 plugins/sudoers/set_perms.c:706 +#: plugins/sudoers/set_perms.c:1073 plugins/sudoers/set_perms.c:1380 +#: plugins/sudoers/set_perms.c:1549 plugins/sudoers/sssd.c:144 +#: plugins/sudoers/sssd.c:407 plugins/sudoers/sssd.c:470 +#: plugins/sudoers/sssd.c:514 plugins/sudoers/sssd.c:561 +#: plugins/sudoers/sssd.c:754 plugins/sudoers/strvec_join.c:53 +#: plugins/sudoers/stubs.c:111 plugins/sudoers/stubs.c:119 +#: plugins/sudoers/sudoers.c:335 plugins/sudoers/sudoers.c:361 +#: plugins/sudoers/sudoers.c:429 plugins/sudoers/sudoers.c:438 +#: plugins/sudoers/sudoers.c:479 plugins/sudoers/sudoers.c:833 +#: plugins/sudoers/sudoers.c:971 plugins/sudoers/sudoers.c:1030 +#: plugins/sudoers/sudoers.c:1296 plugins/sudoers/sudoreplay.c:562 +#: plugins/sudoers/sudoreplay.c:565 plugins/sudoers/sudoreplay.c:1280 +#: plugins/sudoers/sudoreplay.c:1490 plugins/sudoers/sudoreplay.c:1494 +#: plugins/sudoers/testsudoers.c:120 plugins/sudoers/testsudoers.c:224 +#: plugins/sudoers/testsudoers.c:241 plugins/sudoers/testsudoers.c:580 +#: plugins/sudoers/timestamp.c:424 plugins/sudoers/timestamp.c:468 +#: plugins/sudoers/timestamp.c:980 plugins/sudoers/timestamp.c:1118 +#: plugins/sudoers/toke_util.c:77 plugins/sudoers/toke_util.c:105 +#: plugins/sudoers/toke_util.c:130 plugins/sudoers/toke_util.c:154 +#: plugins/sudoers/toke_util.c:193 plugins/sudoers/tsdump.c:123 +#: plugins/sudoers/visudo.c:143 plugins/sudoers/visudo.c:321 +#: plugins/sudoers/visudo.c:327 plugins/sudoers/visudo.c:433 +#: plugins/sudoers/visudo.c:609 plugins/sudoers/visudo.c:926 +#: plugins/sudoers/visudo.c:999 toke.l:938 toke.l:1067 toke.l:1119 toke.l:1127 +#, c-format +msgid "%s: %s" +msgstr "%s: %s" + +#: lib/eventlog/eventlog.c:313 lib/iolog/iolog_json.c:509 +#: lib/iolog/iolog_json.c:512 lib/iolog/iolog_json.c:514 +#: plugins/sudoers/cvtsudoers_ldif.c:244 plugins/sudoers/cvtsudoers_ldif.c:251 +#: plugins/sudoers/cvtsudoers_ldif.c:575 plugins/sudoers/env.c:326 +#: plugins/sudoers/env.c:333 plugins/sudoers/env.c:444 +#: plugins/sudoers/iolog.c:628 plugins/sudoers/ldap.c:517 +#: plugins/sudoers/ldap.c:748 plugins/sudoers/ldap.c:1081 +#: plugins/sudoers/ldap_conf.c:222 plugins/sudoers/ldap_conf.c:312 +#: plugins/sudoers/linux_audit.c:92 plugins/sudoers/policy.c:586 +#: plugins/sudoers/policy.c:755 plugins/sudoers/policy.c:766 +#: plugins/sudoers/prompt.c:168 plugins/sudoers/strvec_join.c:62 +#: plugins/sudoers/testsudoers.c:245 plugins/sudoers/toke_util.c:206 +#, c-format +msgid "internal error, %s overflow" +msgstr "erro interno, estouro de pilha de %s" + +#: lib/eventlog/eventlog.c:372 +#, c-format +msgid "unable to dup stdin: %m" +msgstr "não foi possível fazer dup da entrada padrão: %m" + +#: lib/eventlog/eventlog.c:414 +#, c-format +msgid "unable to execute %s: %m" +msgstr "não foi possível executar %s: %m" + +#: lib/eventlog/eventlog.c:455 plugins/sudoers/auth/aix_auth.c:198 +msgid "unable to fork" +msgstr "não foi possível fazer fork" + +#: lib/eventlog/eventlog.c:463 lib/eventlog/eventlog.c:517 +#, c-format +msgid "unable to fork: %m" +msgstr "não foi possível fazer fork: %m" + +#: lib/eventlog/eventlog.c:507 +#, c-format +msgid "unable to open pipe: %m" +msgstr "não foi possível abrir um encadeamento (pipe): %m" + +#: lib/eventlog/eventlog.c:979 +#, c-format +msgid "%8s : %s" +msgstr "%8s : %s" + +#: lib/eventlog/eventlog.c:1008 +#, c-format +msgid "%8s : (command continued) %s" +msgstr "%8s : (comando continuado) %s" + +#: lib/iolog/iolog_json.c:115 +#, c-format +msgid "expected JSON_STRING, got %d" +msgstr "esperava JSON_STRING, obteve %d" + +#: lib/iolog/iolog_json.c:120 +msgid "JSON_ARRAY too large" +msgstr "JSON_ARRAY grande demais" + +#: lib/iolog/iolog_json.c:352 +msgid "missing double quote in name" +msgstr "faltando aspas duplas no nome" + +#: lib/iolog/iolog_json.c:449 +msgid "missing JSON_OBJECT" +msgstr "faltando JSON_OBJECT" + +#: lib/iolog/iolog_json.c:453 +#, c-format +msgid "expected JSON_OBJECT, got %d" +msgstr "esperava JSON_OBJECT, obteve %d" + +#: lib/iolog/iolog_json.c:599 +#, c-format +msgid "json stack exhausted (max %u frames)" +msgstr "pilha json esgotada (máx %u quadros)" + +#: lib/iolog/iolog_json.c:673 +msgid "objects must consist of name:value pairs" +msgstr "objetos devem consistir de pares nome:valor" + +#: lib/iolog/iolog_json.c:678 lib/iolog/iolog_json.c:709 +#: lib/iolog/iolog_json.c:753 lib/iolog/iolog_json.c:775 +#: lib/iolog/iolog_json.c:797 lib/iolog/iolog_json.c:819 +#: lib/iolog/iolog_json.c:841 +msgid "missing separator between values" +msgstr "faltando separador entre valores" + +#: lib/iolog/iolog_json.c:693 lib/iolog/iolog_json.c:867 +msgid "unmatched close brace" +msgstr "chave de fechamento sem correspondente" + +#: lib/iolog/iolog_json.c:704 +msgid "unexpected array" +msgstr "array inesperado" + +#: lib/iolog/iolog_json.c:724 lib/iolog/iolog_json.c:870 +msgid "unmatched close bracket" +msgstr "colchete de fechamento sem correspondente" + +#: lib/iolog/iolog_json.c:735 +msgid "unexpected string" +msgstr "string inesperada" + +#: lib/iolog/iolog_json.c:746 +msgid "missing colon after name" +msgstr "faltando caractere de dois pontos após o nome" + +#: lib/iolog/iolog_json.c:767 lib/iolog/iolog_json.c:789 +msgid "unexpected boolean" +msgstr "booleano inesperado" + +#: lib/iolog/iolog_json.c:811 +msgid "unexpected null" +msgstr "nulo inesperado" + +#: lib/iolog/iolog_json.c:832 +msgid "unexpected number" +msgstr "número inesperado" + +#: lib/iolog/iolog_json.c:879 +msgid "parse error" +msgstr "erro de análise" + +#: lib/iolog/iolog_legacy.c:65 +#, c-format +msgid "%s: invalid log file" +msgstr "%s: arquivo de log inválido" + +#: lib/iolog/iolog_legacy.c:83 +#, c-format +msgid "%s: time stamp field is missing" +msgstr "%s: campo de marca de tempo está faltando" + +#: lib/iolog/iolog_legacy.c:89 +#, c-format +msgid "%s: time stamp %s: %s" +msgstr "%s: marca de tempo %s: %s" + +#: lib/iolog/iolog_legacy.c:96 +#, c-format +msgid "%s: user field is missing" +msgstr "%s: campo de usuário está faltando" + +#: lib/iolog/iolog_legacy.c:107 +#, c-format +msgid "%s: runas user field is missing" +msgstr "%s: campo de usuário, a ser executado como, está faltando" + +#: lib/iolog/iolog_legacy.c:118 +#, c-format +msgid "%s: runas group field is missing" +msgstr "%s: campo de grupo, a ser executado como, está faltando" + +#: lib/iolog/iolog_mkdirs.c:89 +#, c-format +msgid "%s exists but is not a directory (0%o)" +msgstr "%s existe, mas não é um diretório (0%o)" + +#: lib/iolog/iolog_mkdirs.c:119 lib/iolog/iolog_mkdtemp.c:77 +#: logsrvd/iolog_writer.c:788 plugins/sudoers/timestamp.c:205 +#, c-format +msgid "unable to mkdir %s" +msgstr "não foi possível fazer mkdir %s" + +#: lib/iolog/iolog_mkdtemp.c:81 plugins/sudoers/visudo.c:726 +#: plugins/sudoers/visudo.c:737 +#, c-format +msgid "unable to change mode of %s to 0%o" +msgstr "não foi possível alterar modo de %s para 0%o" + +# timing é o nome do arquivo gerado pelo sudo; não traduzir. +#: lib/iolog/iolog_timing.c:261 +#, c-format +msgid "error reading timing file: %s" +msgstr "erro ao ler o arquivo timing: %s" + +# timing é o nome do arquivo gerado pelo sudo; não traduzir. +#: lib/iolog/iolog_timing.c:268 +#, c-format +msgid "invalid timing file line: %s" +msgstr "linha inválida no arquivo timing: %s" + +#: logsrvd/iolog_writer.c:131 plugins/sudoers/logging.c:803 +#: plugins/sudoers/policy.c:536 +msgid "unable to generate UUID" +msgstr "não foi possível gerar o UUID" + +#: logsrvd/iolog_writer.c:158 logsrvd/iolog_writer.c:176 +#: logsrvd/iolog_writer.c:185 logsrvd/iolog_writer.c:203 +#: logsrvd/iolog_writer.c:216 logsrvd/iolog_writer.c:229 +#: logsrvd/iolog_writer.c:240 logsrvd/iolog_writer.c:247 +#: logsrvd/iolog_writer.c:265 logsrvd/iolog_writer.c:272 +#: logsrvd/iolog_writer.c:290 logsrvd/iolog_writer.c:305 +#: logsrvd/iolog_writer.c:318 logsrvd/iolog_writer.c:331 +#: logsrvd/iolog_writer.c:344 logsrvd/iolog_writer.c:359 +#, c-format +msgid "%s: protocol error: wrong type for %s" +msgstr "%s erro de protocolo: tipo errado para %s" + +#: logsrvd/iolog_writer.c:370 logsrvd/iolog_writer.c:375 +#: logsrvd/iolog_writer.c:380 logsrvd/iolog_writer.c:385 +#, c-format +msgid "%s: protocol error: %s missing from AcceptMessage" +msgstr "%s: erro de protocolo: faltando %s de AcceptMessage" + +#: logsrvd/iolog_writer.c:446 +#, c-format +msgid "%s: unable to format session id" +msgstr "%s: não foi possível formatar o id de sessão" + +#: logsrvd/iolog_writer.c:460 logsrvd/iolog_writer.c:474 +#: logsrvd/iolog_writer.c:488 logsrvd/iolog_writer.c:503 +#: logsrvd/iolog_writer.c:517 logsrvd/iolog_writer.c:531 +#, c-format +msgid "%s: %s is not set" +msgstr "%s: %s não está definido" + +#: logsrvd/iolog_writer.c:567 logsrvd/iolog_writer.c:574 +#, c-format +msgid "unable to expand iolog path %s" +msgstr "não foi possível expandir o caminho de iolog %s" + +#: logsrvd/iolog_writer.c:592 +#, c-format +msgid "unable to create iolog path %s" +msgstr "não foi possível criar o caminho de iolog %s" + +#: logsrvd/iolog_writer.c:622 +#, c-format +msgid "invalid iofd %d" +msgstr "iofd inválido %d" + +#: logsrvd/iolog_writer.c:642 +#, c-format +msgid "error closing iofd %d: %s" +msgstr "erro ao fechar o iofd %d: %s" + +#: logsrvd/iolog_writer.c:758 +#, c-format +msgid "invalid I/O log %s: %s referenced but not present" +msgstr "log de E/S inválido %s: %s referenciado, mas não definido" + +#: logsrvd/iolog_writer.c:770 logsrvd/logsrvd_journal.c:378 +#, c-format +msgid "%s: unable to find resume point [%lld, %ld]" +msgstr "%s: não foi possível localizar o ponto de resumo [%lld, %ld]" + +#: logsrvd/iolog_writer.c:792 logsrvd/logsrvd_journal.c:421 +#: logsrvd/logsrvd_queue.c:111 logsrvd/tls_init.c:293 +#: plugins/sudoers/check.c:274 plugins/sudoers/cvtsudoers.c:618 +#: plugins/sudoers/cvtsudoers.c:639 plugins/sudoers/cvtsudoers.c:1249 +#: plugins/sudoers/cvtsudoers_json.c:877 plugins/sudoers/cvtsudoers_ldif.c:692 +#: plugins/sudoers/sudoers.c:1083 plugins/sudoers/sudoreplay.c:1456 +#: plugins/sudoers/timestamp.c:433 plugins/sudoers/tsdump.c:128 +#: plugins/sudoers/visudo.c:913 +#, c-format +msgid "unable to open %s" +msgstr "não foi possível abrir %s" + +#: logsrvd/iolog_writer.c:804 logsrvd/logsrv_util.c:98 +#: logsrvd/logsrv_util.c:105 plugins/sudoers/sudoreplay.c:362 +#: plugins/sudoers/sudoreplay.c:368 +#, c-format +msgid "unable to open %s/%s" +msgstr "não foi possível abrir %s/%s" + +#: logsrvd/iolog_writer.c:817 +#, c-format +msgid "unable to copy %s/%s to %s/%s: %s" +msgstr "não foi possível copiar %s/%s para %s/%s: %s" + +#: logsrvd/iolog_writer.c:846 logsrvd/logsrvd_journal.c:186 +#, c-format +msgid "unable to rename %s to %s" +msgstr "não foi possível renomear %s para %s" + +#: logsrvd/logsrv_util.c:132 +#, c-format +msgid "missing I/O log file %s/%s" +msgstr "faltando arquivo de log de E/S %s/%s" + +#: logsrvd/logsrv_util.c:139 +#, c-format +msgid "%s/%s: unable to seek forward %zu" +msgstr "%s/%s: não foi possível buscar para frente %zu" + +#: logsrvd/logsrv_util.c:149 +#, c-format +msgid "%s/%s: unable to find resume point [%lld, %ld]" +msgstr "%s/%s: não foi possível localizar o ponto de resumo [%lld, %ld]" + +#: logsrvd/logsrvd.c:272 logsrvd/logsrvd_queue.c:131 +msgid "unable to connect to relay" +msgstr "não foi possível conectar à retransmissão" + +#: logsrvd/logsrvd.c:331 logsrvd/logsrvd_relay.c:838 +#, c-format +msgid "server message too large: %zu" +msgstr "mensagem do servidor grande demais: %zu" + +#: logsrvd/logsrvd.c:423 logsrvd/logsrvd.c:540 logsrvd/logsrvd.c:619 +#: logsrvd/logsrvd.c:843 logsrvd/logsrvd.c:857 logsrvd/logsrvd.c:1016 +#: logsrvd/logsrvd.c:1140 logsrvd/logsrvd.c:1309 logsrvd/logsrvd.c:1327 +#: logsrvd/logsrvd.c:1425 logsrvd/logsrvd.c:1548 logsrvd/logsrvd.c:1732 +#: logsrvd/logsrvd_journal.c:485 logsrvd/logsrvd_local.c:196 +#: logsrvd/logsrvd_queue.c:160 logsrvd/logsrvd_relay.c:173 +#: logsrvd/logsrvd_relay.c:250 logsrvd/logsrvd_relay.c:254 +#: logsrvd/logsrvd_relay.c:390 logsrvd/logsrvd_relay.c:582 +#: logsrvd/logsrvd_relay.c:743 logsrvd/logsrvd_relay.c:1124 +#: logsrvd/sendlog.c:1156 logsrvd/tls_client.c:136 logsrvd/tls_client.c:152 +#: logsrvd/tls_client.c:214 plugins/sudoers/audit.c:281 +#: plugins/sudoers/iolog.c:966 plugins/sudoers/iolog.c:1099 +#: plugins/sudoers/iolog.c:1197 plugins/sudoers/log_client.c:112 +#: plugins/sudoers/log_client.c:328 plugins/sudoers/log_client.c:344 +#: plugins/sudoers/log_client.c:391 plugins/sudoers/log_client.c:595 +#: plugins/sudoers/log_client.c:602 plugins/sudoers/log_client.c:1127 +#: plugins/sudoers/log_client.c:1409 plugins/sudoers/log_client.c:1450 +#: plugins/sudoers/log_client.c:1458 plugins/sudoers/log_client.c:1612 +#: plugins/sudoers/log_client.c:1728 plugins/sudoers/log_client.c:2045 +#: plugins/sudoers/log_client.c:2053 plugins/sudoers/logging.c:139 +#: plugins/sudoers/logging.c:195 plugins/sudoers/sudoreplay.c:522 +#: plugins/sudoers/sudoreplay.c:569 plugins/sudoers/sudoreplay.c:811 +#: plugins/sudoers/sudoreplay.c:923 plugins/sudoers/sudoreplay.c:1014 +#: plugins/sudoers/sudoreplay.c:1029 plugins/sudoers/sudoreplay.c:1036 +#: plugins/sudoers/sudoreplay.c:1043 plugins/sudoers/sudoreplay.c:1050 +#: plugins/sudoers/sudoreplay.c:1057 plugins/sudoers/sudoreplay.c:1184 +msgid "unable to add event to queue" +msgstr "não foi possível adicionar evento para a fila" + +#: logsrvd/logsrvd.c:447 logsrvd/logsrvd.c:484 logsrvd/logsrvd.c:516 +#: logsrvd/logsrvd.c:564 logsrvd/logsrvd.c:636 logsrvd/logsrvd.c:666 +#: logsrvd/logsrvd.c:696 logsrvd/logsrvd.c:726 logsrvd/logsrvd_relay.c:511 +#: logsrvd/logsrvd_relay.c:544 +#, c-format +msgid "unexpected state %d for %s" +msgstr "estado inesperado %d para %s" + +#: logsrvd/logsrvd.c:448 logsrvd/logsrvd.c:485 logsrvd/logsrvd.c:517 +#: logsrvd/logsrvd.c:565 logsrvd/logsrvd.c:637 logsrvd/logsrvd.c:667 +#: logsrvd/logsrvd.c:697 logsrvd/logsrvd.c:727 logsrvd/logsrvd_relay.c:513 +#: logsrvd/logsrvd_relay.c:546 +msgid "state machine error" +msgstr "erro na máquina de estado" + +#: logsrvd/logsrvd.c:454 logsrvd/logsrvd.c:455 +msgid "invalid AcceptMessage" +msgstr "AcceptMessage inválido" + +#: logsrvd/logsrvd.c:491 logsrvd/logsrvd.c:492 +msgid "invalid RejectMessage" +msgstr "RejectMessage inválido" + +#: logsrvd/logsrvd.c:599 logsrvd/logsrvd.c:600 +msgid "invalid AlertMessage" +msgstr "AlertMessage inválido" + +#: logsrvd/logsrvd.c:641 logsrvd/logsrvd.c:671 logsrvd/logsrvd.c:701 +#, c-format +msgid "%s: unexpected IoBuffer" +msgstr "%s: IoBuffer inesperado" + +#: logsrvd/logsrvd.c:642 logsrvd/logsrvd.c:672 logsrvd/logsrvd.c:702 +msgid "protocol error" +msgstr "erro de protocolo" + +#: logsrvd/logsrvd.c:797 logsrvd/logsrvd_journal.c:358 +#: logsrvd/logsrvd_local.c:125 logsrvd/logsrvd_relay.c:677 +#, c-format +msgid "unexpected type_case value %d in %s from %s" +msgstr "type_case com valor inesperado %d em %s de %s" + +#: logsrvd/logsrvd.c:799 +msgid "unrecognized ClientMessage type" +msgstr "tipo não reconhecido de ClientMessage" + +#: logsrvd/logsrvd.c:889 +#, c-format +msgid "timed out writing to client %s" +msgstr "esgotado o tempo limite de escrita para cliente %s" + +#: logsrvd/logsrvd.c:894 logsrvd/logsrvd_relay.c:910 +#, c-format +msgid "missing write buffer for client %s" +msgstr "faltando buffer de escrita para cliente %s" + +#: logsrvd/logsrvd.c:987 +#, c-format +msgid "timed out reading from client %s" +msgstr "esgotado o tempo limite de leitura do cliente %s" + +#: logsrvd/logsrvd.c:1028 logsrvd/logsrvd_relay.c:774 +#, c-format +msgid "EOF from %s without proper TLS shutdown" +msgstr "EOF de %s sem desligamento TLS adequado" + +#: logsrvd/logsrvd.c:1071 logsrvd/logsrvd_relay.c:206 logsrvd/sendlog.c:290 +#: plugins/sudoers/log_client.c:705 +#, c-format +msgid "client message too large: %zu" +msgstr "mensagem do cliente grande demais: %zu" + +#: logsrvd/logsrvd.c:1072 logsrvd/logsrvd_journal.c:247 +#: logsrvd/logsrvd_journal.c:248 +msgid "client message too large" +msgstr "mensagem do cliente grande demais" + +#: logsrvd/logsrvd.c:1090 logsrvd/logsrvd.c:1091 +msgid "invalid ClientMessage" +msgstr "ClientMessage inválido" + +#: logsrvd/logsrvd.c:1388 +msgid "unable to get remote IP addr" +msgstr "não foi possível obter o endereço IP remoto" + +#: logsrvd/logsrvd.c:1417 logsrvd/tls_client.c:201 +#: plugins/sudoers/log_client.c:266 +#, c-format +msgid "Unable to attach user data to the ssl object: %s" +msgstr "Não foi possível anexar dados do usuário ao objeto ssl: %s" + +#: logsrvd/logsrvd.c:1598 logsrvd/logsrvd.c:1951 +msgid "unable to setup listen socket" +msgstr "não foi possível configurar soquete de escuta" + +#: logsrvd/logsrvd.c:1715 +#, c-format +msgid "unexpected signal %d" +msgstr "string inesperada %d" + +#: logsrvd/logsrvd.c:1853 +msgid "sudo log server" +msgstr "servidor de log do sudo" + +#: logsrvd/logsrvd.c:1855 logsrvd/sendlog.c:122 +msgid "Options:" +msgstr "Opções:" + +#: logsrvd/logsrvd.c:1857 +msgid "path to configuration file" +msgstr "caminho para o arquivo de autenticação" + +#: logsrvd/logsrvd.c:1859 logsrvd/sendlog.c:124 +msgid "display help message and exit" +msgstr "exibe uma mensagem de ajuda e sai" + +#: logsrvd/logsrvd.c:1861 +msgid "do not fork, run in the foreground" +msgstr "não faz fork, executa em primeiro plano" + +#: logsrvd/logsrvd.c:1863 +msgid "percent chance connections will drop" +msgstr "chance em porcentagem das conexões caírem" + +#: logsrvd/logsrvd.c:1865 logsrvd/sendlog.c:154 +msgid "display version information and exit" +msgstr "exibe as informações de versão e sai" + +#: logsrvd/logsrvd.c:1915 logsrvd/sendlog.c:1532 +msgid "Protobuf-C version 1.3 or higher required" +msgstr "Protobuf-C versão 1.3 ou superior é necessário" + +# "random-drop" foi uma escolha por fazer referência à opção de linha de comando -- Rafael +#: logsrvd/logsrvd.c:1931 +#, c-format +msgid "invalid random drop value: %s" +msgstr "valor de \"random-drop\" inválido: %s" + +#: logsrvd/logsrvd.c:1934 logsrvd/sendlog.c:1586 +#: plugins/sudoers/cvtsudoers.c:228 plugins/sudoers/sudoreplay.c:301 +#: plugins/sudoers/visudo.c:175 +#, c-format +msgid "%s version %s\n" +msgstr "%s versão %s\n" + +#: logsrvd/logsrvd_conf.c:391 plugins/sudoers/check.c:336 +#: plugins/sudoers/exptilde.c:85 plugins/sudoers/iolog.c:115 +#: plugins/sudoers/policy.c:1159 plugins/sudoers/sudoers.c:486 +#: plugins/sudoers/sudoers.c:1338 plugins/sudoers/testsudoers.c:215 +#: plugins/sudoers/testsudoers.c:382 +#, c-format +msgid "unknown user %s" +msgstr "usuário desconhecido %s" + +#: logsrvd/logsrvd_conf.c:408 plugins/sudoers/iolog.c:140 +#: plugins/sudoers/sudoers.c:491 plugins/sudoers/sudoers.c:1372 +#: plugins/sudoers/testsudoers.c:406 +#, c-format +msgid "unknown group %s" +msgstr "grupo desconhecido %s" + +#: logsrvd/logsrvd_conf.c:426 +#, c-format +msgid "unable to parse iolog mode %s" +msgstr "não foi possível analisar o modo iolog %s" + +#: logsrvd/logsrvd_conf.c:443 logsrvd/logsrvd_conf.c:1172 +#, c-format +msgid "invalid value for %s: %s" +msgstr "valor inválido para %s: %s" + +#: logsrvd/logsrvd_conf.c:482 +msgid "TLS not supported" +msgstr "sem suporte a TLS" + +#: logsrvd/logsrvd_conf.c:504 +#, c-format +msgid "%s:%s" +msgstr "%s:%s" + +#: logsrvd/logsrvd_conf.c:577 logsrvd/logsrvd_conf.c:971 +#, c-format +msgid "%s: not a fully qualified path" +msgstr "%s: não um caminho totalmente qualificado" + +#: logsrvd/logsrvd_conf.c:889 logsrvd/logsrvd_conf.c:905 +#: logsrvd/logsrvd_conf.c:1587 +#, c-format +msgid "unknown syslog facility %s" +msgstr "facilidade de syslog desconhecida %s" + +#: logsrvd/logsrvd_conf.c:921 logsrvd/logsrvd_conf.c:937 +#: logsrvd/logsrvd_conf.c:953 logsrvd/logsrvd_conf.c:1591 +#: logsrvd/logsrvd_conf.c:1595 logsrvd/logsrvd_conf.c:1599 +#, c-format +msgid "unknown syslog priority %s" +msgstr "prioridade de syslog desconhecida %s" + +#: logsrvd/logsrvd_conf.c:1133 +#, c-format +msgid "%s:%d unmatched '[': %s" +msgstr "%s:%d \"[\" sem correspondente: %s" + +#: logsrvd/logsrvd_conf.c:1144 +#, c-format +msgid "%s:%d invalid config section: %s" +msgstr "%s:%d seção inválida de configuração: %s" + +#: logsrvd/logsrvd_conf.c:1152 +#, c-format +msgid "%s:%d invalid configuration line: %s" +msgstr "%s:%d linha inválida de configuração: %s" + +#: logsrvd/logsrvd_conf.c:1158 +#, c-format +msgid "%s:%d expected section name: %s" +msgstr "%s:%d esperava um nome de seção: %s" + +#: logsrvd/logsrvd_conf.c:1180 +#, c-format +msgid "%s:%d [%s] illegal key: %s" +msgstr "%s:%d [%s] chave ilegal: %s" + +#: logsrvd/logsrvd_conf.c:1210 plugins/sudoers/logging.c:856 +#, c-format +msgid "unable to open log file %s" +msgstr "não foi possível abrir o arquivo de log %s" + +#: logsrvd/logsrvd_conf.c:1667 +msgid "unable to initialize server TLS context" +msgstr "não foi possível inicializar o contexto TLS do servidor" + +#: logsrvd/logsrvd_conf.c:1687 +msgid "unable to initialize relay TLS context" +msgstr "não foi possível inicializar o contexto TLS da retransmissão" + +#: logsrvd/logsrvd_journal.c:137 logsrvd/logsrvd_journal.c:417 +#: logsrvd/logsrvd_journal.c:422 +msgid "unable to create journal file" +msgstr "não foi possível criar o arquivo de journal" + +#: logsrvd/logsrvd_journal.c:141 logsrvd/logsrvd_queue.c:105 +#: plugins/sudoers/visudo.c:971 +#, c-format +msgid "unable to lock %s" +msgstr "não foi possível travar %s" + +#: logsrvd/logsrvd_journal.c:144 +msgid "unable to lock journal file" +msgstr "não foi possível travar o arquivo de journal" + +#: logsrvd/logsrvd_journal.c:152 +msgid "unable to open journal file" +msgstr "não foi possível abrir o arquivo de journal" + +#: logsrvd/logsrvd_journal.c:173 logsrvd/logsrvd_journal.c:453 +#: logsrvd/logsrvd_journal.c:458 +msgid "unable to write journal file" +msgstr "não foi possível escrever o arquivo de journal" + +#: logsrvd/logsrvd_journal.c:181 logsrvd/logsrvd_journal.c:188 +msgid "unable to rename journal file" +msgstr "não foi possível renomear o arquivo de journal" + +#: logsrvd/logsrvd_journal.c:235 logsrvd/logsrvd_journal.c:236 +#: logsrvd/logsrvd_journal.c:270 logsrvd/logsrvd_journal.c:271 +msgid "unexpected EOF reading journal file" +msgstr "EOF inesperado ao ler o arquivo de journal" + +#: logsrvd/logsrvd_journal.c:239 logsrvd/logsrvd_journal.c:240 +#: logsrvd/logsrvd_journal.c:274 logsrvd/logsrvd_journal.c:275 +msgid "error reading journal file" +msgstr "erro ao ler o arquivo de journal" + +#: logsrvd/logsrvd_journal.c:286 logsrvd/logsrvd_journal.c:377 +msgid "invalid journal file, unable to restart" +msgstr "arquivo de journal inválido, não foi possível reiniciar" + +#: logsrvd/logsrvd_journal.c:436 +#, c-format +msgid "unable to seek to [%lld, %ld] in journal file %s" +msgstr "não foi possível procurar [%lld, %ld] em arquivo de journal %s" + +#: logsrvd/logsrvd_local.c:152 +msgid "error parsing AcceptMessage" +msgstr "erro ao analisar AcceptMessage" + +#: logsrvd/logsrvd_local.c:163 +msgid "error creating I/O log" +msgstr "erro ao criar o log de E/S" + +#: logsrvd/logsrvd_local.c:186 +msgid "error logging accept event" +msgstr "erro a registrar log de evento de aceite" + +#: logsrvd/logsrvd_local.c:225 +msgid "error parsing RejectMessage" +msgstr "erro ao analisar RejectMessage" + +#: logsrvd/logsrvd_local.c:249 +msgid "error logging reject event" +msgstr "erro a registrar log de evento de rejeição" + +#: logsrvd/logsrvd_local.c:284 +msgid "error logging exit event" +msgstr "erro a registrar log de evento de saída" + +#: logsrvd/logsrvd_local.c:343 logsrvd/logsrvd_local.c:344 +msgid "log is already complete, cannot be restarted" +msgstr "o log já está completo, não é possível ser reiniciado" + +#: logsrvd/logsrvd_local.c:374 +msgid "unable to restart log" +msgstr "não foi possível reiniciar o log" + +#: logsrvd/logsrvd_local.c:390 +msgid "error parsing AlertMessage" +msgstr "erro ao analisar AlertMessage" + +#: logsrvd/logsrvd_local.c:400 +msgid "error logging alert event" +msgstr "erro a registrar log de evento de alerta" + +#: logsrvd/logsrvd_local.c:435 logsrvd/logsrvd_local.c:488 +#: logsrvd/logsrvd_local.c:523 +#, c-format +msgid "unable to format timing buffer, length %d" +msgstr "não é possível formatar o buffer de tempo, comprimento %d" + +#: logsrvd/logsrvd_local.c:442 logsrvd/logsrvd_local.c:450 +#: logsrvd/logsrvd_local.c:495 logsrvd/logsrvd_local.c:530 +#: plugins/sudoers/sudoreplay.c:351 +#, c-format +msgid "%s/%s: %s" +msgstr "%s/%s: %s" + +#: logsrvd/logsrvd_local.c:470 +msgid "error writing IoBuffer" +msgstr "erro ao escrever IoBuffer" + +#: logsrvd/logsrvd_local.c:505 +msgid "error writing ChangeWindowSize" +msgstr "erro ao escrever ChangeWindowSize" + +#: logsrvd/logsrvd_local.c:540 +msgid "error writing CommandSuspend" +msgstr "erro ao escrever CommandSuspend" + +#: logsrvd/logsrvd_relay.c:436 +msgid "TLS handshake with relay host failed" +msgstr "falha na negociação TLS com host de retransmissão" + +#: logsrvd/logsrvd_relay.c:464 +msgid "unable to connect to relay host" +msgstr "não foi possível conectar ao host de retransmissão" + +#: logsrvd/logsrvd_relay.c:519 +#, c-format +msgid "%s: invalid ServerHello, missing server_id" +msgstr "%s: ServerHello inválido, faltando server_id" + +#: logsrvd/logsrvd_relay.c:521 logsrvd/sendlog.c:961 +#: plugins/sudoers/log_client.c:1493 +msgid "invalid ServerHello" +msgstr "ServerHello inválido" + +#: logsrvd/logsrvd_relay.c:680 +msgid "unrecognized ServerMessage type" +msgstr "tipo não reconhecido de ServerMessage" + +#: logsrvd/logsrvd_relay.c:709 +#, c-format +msgid "timed out reading from relay %s (%s)" +msgstr "esgotado o tempo limite de leitura da retransmissão %s (%s)" + +#: logsrvd/logsrvd_relay.c:711 +msgid "timeout reading from relay" +msgstr "esgotado o tempo limite de leitura da retransmissão" + +#: logsrvd/logsrvd_relay.c:762 +msgid "relay host name does not match certificate" +msgstr "o nome do host de retransmissão não corresponde ao certificado" + +#: logsrvd/logsrvd_relay.c:766 logsrvd/logsrvd_relay.c:779 +#: logsrvd/logsrvd_relay.c:785 +msgid "error reading from relay" +msgstr "erro ao ler da retransmissão" + +#: logsrvd/logsrvd_relay.c:806 +msgid "unable to read from relay" +msgstr "não foi possível ler da retransmissão" + +#: logsrvd/logsrvd_relay.c:821 logsrvd/logsrvd_relay.c:939 +msgid "relay server closed connection" +msgstr "conexão fechada com o servidor de retransmissão" + +#: logsrvd/logsrvd_relay.c:839 +msgid "server message too large" +msgstr "mensagem do servidor grande demais" + +#: logsrvd/logsrvd_relay.c:903 +#, c-format +msgid "timed out writing to relay %s (%s)" +msgstr "esgotado o tempo limite de escrita para retransmissão %s (%s)" + +#: logsrvd/logsrvd_relay.c:905 +msgid "timeout writing to relay" +msgstr "esgotado o tempo limite de escrita para retransmissão" + +#: logsrvd/logsrvd_relay.c:958 logsrvd/logsrvd_relay.c:964 +#: logsrvd/logsrvd_relay.c:974 +msgid "error writing to relay" +msgstr "erro ao escrever para retransmissão" + +#: logsrvd/sendlog.c:120 +msgid "send sudo I/O log to remote server" +msgstr "envia log de E/S do sudo para servidor remoto" + +#: logsrvd/sendlog.c:126 +msgid "only send an accept event (no I/O)" +msgstr "só envia um evento de aceite (sem E/S)" + +#: logsrvd/sendlog.c:129 +msgid "certificate bundle file to verify server's cert against" +msgstr "arquivo de pacote de certificados para verificar o certificado do servidor" + +#: logsrvd/sendlog.c:131 +msgid "certificate file for TLS handshake" +msgstr "arquivo de certificado para negociação TLS" + +#: logsrvd/sendlog.c:134 +msgid "host to send logs to" +msgstr "máquina a ser enviado logs" + +#: logsrvd/sendlog.c:136 +msgid "remote ID of I/O log to be resumed" +msgstr "ID remoto do log de E/S para ser resumido" + +#: logsrvd/sendlog.c:139 +msgid "private key file" +msgstr "arquivo de chave privada" + +#: logsrvd/sendlog.c:141 +msgid "do not verify server certificate" +msgstr "não verifica o certificado do servidor" + +#: logsrvd/sendlog.c:144 +msgid "port to use when connecting to host" +msgstr "porta para usar ao conectar à máquina" + +#: logsrvd/sendlog.c:146 +msgid "restart previous I/O log transfer" +msgstr "reinicia transferência anterior de log de E/S" + +#: logsrvd/sendlog.c:148 +msgid "reject the command with the given reason" +msgstr "rejeita a comando com o motivo dado" + +#: logsrvd/sendlog.c:150 +msgid "stop transfer after reaching this time" +msgstr "interrompe a transferência após chegar a este tempo" + +#: logsrvd/sendlog.c:152 +msgid "test audit server by sending selected I/O log n times in parallel" +msgstr "testa o servidor de auditoria enviando o log de E/S selecionado n vezes em paralelo" + +#: logsrvd/sendlog.c:177 plugins/sudoers/log_client.c:437 +#, c-format +msgid "unable to look up %s:%s: %s" +msgstr "não foi possível procurar %s:%s: %s" + +#: logsrvd/sendlog.c:215 +msgid "unable to get server IP addr" +msgstr "não foi possível obter o endereço IP" + +#: logsrvd/sendlog.c:269 plugins/sudoers/sudoreplay.c:871 +#, c-format +msgid "unable to read %s/%s: %s" +msgstr "não foi possível ler %s/%s: %s" + +#: logsrvd/sendlog.c:831 +#, c-format +msgid "%s: write buffer already in use" +msgstr "%s: buffer de escrita já em uso" + +#: logsrvd/sendlog.c:892 plugins/sudoers/iolog.c:890 +#: plugins/sudoers/iolog.c:959 +#, c-format +msgid "unexpected I/O event %d" +msgstr "E/S com evento inesperado %d" + +#: logsrvd/sendlog.c:938 logsrvd/sendlog.c:955 logsrvd/sendlog.c:989 +#: plugins/sudoers/log_client.c:1142 plugins/sudoers/log_client.c:1419 +#: plugins/sudoers/log_client.c:1487 plugins/sudoers/log_client.c:1526 +#, c-format +msgid "%s: unexpected state %d" +msgstr "%s: estado inesperado %d" + +#: logsrvd/sendlog.c:1025 plugins/sudoers/log_client.c:1570 +#, c-format +msgid "error message received from server: %s" +msgstr "mensagem de erro recebida do servidor: %s" + +#: logsrvd/sendlog.c:1038 plugins/sudoers/log_client.c:1583 +#, c-format +msgid "abort message received from server: %s" +msgstr "mensagem de abortar recebida do servidor: %s" + +#: logsrvd/sendlog.c:1097 plugins/sudoers/log_client.c:1633 +#, c-format +msgid "%s: unexpected type_case value %d" +msgstr "%s: type_case com valor inesperado %d" + +#: logsrvd/sendlog.c:1126 +msgid "timeout reading from server" +msgstr "esgotado o tempo limite de leitura do servidor" + +#: logsrvd/sendlog.c:1205 +msgid "premature EOF" +msgstr "EOF prematuro" + +#: logsrvd/sendlog.c:1218 plugins/sudoers/log_client.c:1791 +#, c-format +msgid "server message too large: %u" +msgstr "mensagem do servidor grande demais: %u" + +#: logsrvd/sendlog.c:1269 +msgid "timeout writing to server" +msgstr "esgotado o tempo limite de escrita para servidor" + +#: logsrvd/sendlog.c:1609 +msgid "both restart point and iolog ID must be specified" +msgstr "ambos ponto de ponto de reinício e ID do iolog devem ser especificados" + +#: logsrvd/sendlog.c:1613 +msgid "a restart point may not be set when no I/O is sent" +msgstr "um ponto de reinício pode não estar definido quando nenhuma E/S é enviada" + +#: logsrvd/sendlog.c:1689 +#, c-format +msgid "exited prematurely with state %d" +msgstr "sai prematuramente com estado %d" + +#: logsrvd/sendlog.c:1690 +#, c-format +msgid "elapsed time sent to server [%lld, %ld]" +msgstr "tempo decorrido enviado ao servidor [%lld, %ld]" + +#: logsrvd/sendlog.c:1692 +#, c-format +msgid "commit point received from server [%lld, %ld]" +msgstr "ponto de confirmação recebido do servidor [%lld, %ld]" + +#: logsrvd/tls_client.c:111 plugins/sudoers/log_client.c:300 +msgid "TLS handshake timeout occurred" +msgstr "esgotado o tempo limite da negociação TLS" + +#: logsrvd/tls_client.c:131 logsrvd/tls_client.c:147 +#: plugins/sudoers/log_client.c:322 plugins/sudoers/log_client.c:338 +msgid "unable to set event" +msgstr "não foi possível definir evento" + +#: logsrvd/tls_client.c:157 logsrvd/tls_client.c:161 +#, c-format +msgid "TLS connection failed: %s" +msgstr "falha de conexão de TLS: %s" + +#: logsrvd/tls_client.c:195 +#, c-format +msgid "unable to allocate ssl object: %s" +msgstr "não foi possível alocar objeto ssl: %s" + +#: logsrvd/tls_client.c:208 +#, c-format +msgid "Unable to attach socket to the ssl object: %s" +msgstr "Não foi possível anexar soquete ao objeto ssl: %s" + +#: logsrvd/tls_client.c:236 +msgid "unable to initialize TLS context" +msgstr "não foi possível inicializar o contexto TLS" + +#: logsrvd/tls_init.c:126 logsrvd/tls_init.c:134 +#, c-format +msgid "unable to set TLS 1.2 ciphersuite to %s: %s" +msgstr "não foi possível definir conjunto de cifras TLS 1.2 para %s: %s" + +#: logsrvd/tls_init.c:154 logsrvd/tls_init.c:162 +#, c-format +msgid "unable to set TLS 1.3 ciphersuite to %s: %s" +msgstr "não foi possível definir conjunto de cifras TLS 1.3 para %s: %s" + +#: logsrvd/tls_init.c:197 +#, c-format +msgid "unable to create TLS context: %s" +msgstr "não foi possível criar o contexto de TLS: %s" + +#: logsrvd/tls_init.c:203 +#, c-format +msgid "unable to set minimum protocol version to TLS 1.2: %s" +msgstr "não foi possível definir a versão mínima do protocolo para TLS 1.2: %s" + +#: logsrvd/tls_init.c:279 +#, c-format +msgid "unable to set diffie-hellman parameters: %s" +msgstr "não foi possível definir os parâmetros de diffie-hellman: %s" + +#: logsrvd/tls_init.c:288 +#, c-format +msgid "unable to read diffie-hellman parameters: %s" +msgstr "não foi possível ler os parâmetros de diffie-hellman: %s" + +#: plugins/sudoers/audit.c:267 plugins/sudoers/audit.c:422 +#: plugins/sudoers/log_client.c:975 plugins/sudoers/log_client.c:1024 +#: plugins/sudoers/log_client.c:1073 plugins/sudoers/log_client.c:1199 +#: plugins/sudoers/logging.c:554 plugins/sudoers/logging.c:648 +#: plugins/sudoers/logging.c:810 plugins/sudoers/policy.c:123 +msgid "unable to get time of day" +msgstr "não foi possível obter o horário do dia" + +#: plugins/sudoers/auth/aix_auth.c:277 +#, c-format +msgid "unable to change password for %s" +msgstr "não foi possível alterar a senha para %s" + +#: plugins/sudoers/auth/bsdauth.c:70 +#, c-format +msgid "unable to get login class for user %s" +msgstr "não foi possível obter classe de login para o usuário %s" + +#: plugins/sudoers/auth/bsdauth.c:75 +msgid "unable to begin bsd authentication" +msgstr "não foi possível iniciar autenticação BSD" + +#: plugins/sudoers/auth/bsdauth.c:83 +msgid "invalid authentication type" +msgstr "tipo de autenticação inválida" + +#: plugins/sudoers/auth/bsdauth.c:92 +msgid "unable to initialize BSD authentication" +msgstr "não foi possível inicializar autenticação BSD" + +#: plugins/sudoers/auth/bsdauth.c:179 +msgid "your account has expired" +msgstr "sua conta expirou" + +#: plugins/sudoers/auth/bsdauth.c:181 +msgid "approval failed" +msgstr "aprovação falhou" + +#: plugins/sudoers/auth/fwtk.c:54 +msgid "unable to read fwtk config" +msgstr "não foi possível ler configuração de fwtk" + +#: plugins/sudoers/auth/fwtk.c:59 +msgid "unable to connect to authentication server" +msgstr "não foi possível conectar ao servidor de autenticação" + +#: plugins/sudoers/auth/fwtk.c:65 plugins/sudoers/auth/fwtk.c:89 +#: plugins/sudoers/auth/fwtk.c:121 +msgid "lost connection to authentication server" +msgstr "conexão perdida com o servidor de autenticação" + +#: plugins/sudoers/auth/fwtk.c:69 +#, c-format +msgid "" +"authentication server error:\n" +"%s" +msgstr "" +"erro no servidor de autenticação:\n" +"%s" + +#: plugins/sudoers/auth/kerb5.c:110 +#, c-format +msgid "%s: unable to convert principal to string ('%s'): %s" +msgstr "%s: não foi possível converter principal para string (\"%s\"): %s" + +#: plugins/sudoers/auth/kerb5.c:160 +#, c-format +msgid "%s: unable to parse '%s': %s" +msgstr "%s: não foi possível analisar \"%s\": %s" + +#: plugins/sudoers/auth/kerb5.c:169 +#, c-format +msgid "%s: unable to resolve credential cache: %s" +msgstr "%s: não foi possível resolver cache de credenciais: %s" + +#: plugins/sudoers/auth/kerb5.c:216 +#, c-format +msgid "%s: unable to allocate options: %s" +msgstr "%s: não foi possível alocar opções: %s" + +#: plugins/sudoers/auth/kerb5.c:231 +#, c-format +msgid "%s: unable to get credentials: %s" +msgstr "%s: não foi possível obter credenciais: %s" + +#: plugins/sudoers/auth/kerb5.c:244 +#, c-format +msgid "%s: unable to initialize credential cache: %s" +msgstr "%s: não foi possível inicializar cache de credenciais: %s" + +#: plugins/sudoers/auth/kerb5.c:247 +#, c-format +msgid "%s: unable to store credential in cache: %s" +msgstr "%s: não foi possível armazenar credenciais no cache: %s" + +#: plugins/sudoers/auth/kerb5.c:311 +#, c-format +msgid "%s: unable to get host principal: %s" +msgstr "%s: não foi possível obter principal da máquina: %s" + +#: plugins/sudoers/auth/kerb5.c:325 +#, c-format +msgid "%s: Cannot verify TGT! Possible attack!: %s" +msgstr "%s: Não foi possível verificar TGT! Possivelmente um ataque!: %s" + +#: plugins/sudoers/auth/pam.c:218 +#, c-format +msgid "unable to initialize PAM: %s" +msgstr "não foi possível inicializar PAM: %s" + +#: plugins/sudoers/auth/pam.c:340 +#, c-format +msgid "PAM authentication error: %s" +msgstr "Erro de autenticação PAM: %s" + +#: plugins/sudoers/auth/pam.c:359 +msgid "account validation failure, is your account locked?" +msgstr "falha de verificação da conta; sua conta está travada?" + +#: plugins/sudoers/auth/pam.c:370 +msgid "Account or password is expired, reset your password and try again" +msgstr "Conta ou senha expirou; redefina sua senha e tente novamente" + +#: plugins/sudoers/auth/pam.c:376 +#, c-format +msgid "unable to change expired password: %s" +msgstr "não foi possível alterar a senha expirada: %s" + +#: plugins/sudoers/auth/pam.c:387 +msgid "Password expired, contact your system administrator" +msgstr "Senha expirou; entre em contato com o administrador do seu sistema" + +#: plugins/sudoers/auth/pam.c:392 +msgid "Account expired or PAM config lacks an \"account\" section for sudo, contact your system administrator" +msgstr "Conta expirou ou a configuração do PAM não possui uma seção \"account\" para sudo; contate o administrador do seu sistema" + +#: plugins/sudoers/auth/pam.c:400 plugins/sudoers/auth/pam.c:405 +#, c-format +msgid "PAM account management error: %s" +msgstr "erro de gerenciamento de conta PAM: %s" + +#: plugins/sudoers/auth/rfc1938.c:99 plugins/sudoers/visudo.c:241 +#, c-format +msgid "you do not exist in the %s database" +msgstr "você não existe no banco de dados de %s" + +#: plugins/sudoers/auth/securid5.c:72 +msgid "failed to initialise the ACE API library" +msgstr "falha ao inicializar a biblioteca API ACE" + +#: plugins/sudoers/auth/securid5.c:98 +msgid "unable to contact the SecurID server" +msgstr "não foi possível contatar o servidor de SecurID" + +#: plugins/sudoers/auth/securid5.c:107 +msgid "User ID locked for SecurID Authentication" +msgstr "ID de usuário travado pela autenticação SecurID" + +#: plugins/sudoers/auth/securid5.c:111 plugins/sudoers/auth/securid5.c:162 +msgid "invalid username length for SecurID" +msgstr "comprimento de nome de usuário inválido para SecurID" + +#: plugins/sudoers/auth/securid5.c:115 plugins/sudoers/auth/securid5.c:167 +msgid "invalid Authentication Handle for SecurID" +msgstr "manipulação inválida de autenticação para SecurID" + +#: plugins/sudoers/auth/securid5.c:119 +msgid "SecurID communication failed" +msgstr "falha de comunicação de SecurID" + +#: plugins/sudoers/auth/securid5.c:123 plugins/sudoers/auth/securid5.c:210 +msgid "unknown SecurID error" +msgstr "erro de SecurID desconhecido" + +#: plugins/sudoers/auth/securid5.c:157 +msgid "invalid passcode length for SecurID" +msgstr "comprimento de senha inválida para SecurID" + +#: plugins/sudoers/auth/sia.c:69 plugins/sudoers/auth/sia.c:123 +msgid "unable to initialize SIA session" +msgstr "não foi possível inicializar a sessão SIA" + +#: plugins/sudoers/auth/sudo_auth.c:132 +msgid "invalid authentication methods" +msgstr "métodos de autenticação inválidos" + +#: plugins/sudoers/auth/sudo_auth.c:134 +msgid "Invalid authentication methods compiled into sudo! You may not mix standalone and non-standalone authentication." +msgstr "Métodos de autenticação inválidos compilado no sudo! Você não pode misturar autenticação autônoma com não-autônoma." + +#: plugins/sudoers/auth/sudo_auth.c:255 plugins/sudoers/auth/sudo_auth.c:305 +msgid "no authentication methods" +msgstr "nenhum método de autenticação" + +#: plugins/sudoers/auth/sudo_auth.c:257 +msgid "There are no authentication methods compiled into sudo! If you want to turn off authentication, use the --disable-authentication configure option." +msgstr "Não há métodos de autenticação compilados no sudo! Se você quiser desligar a autenticação, use a opção de configuração --disable-authentication." + +#: plugins/sudoers/auth/sudo_auth.c:307 +msgid "Unable to initialize authentication methods." +msgstr "Não foi possível inicializar métodos de autenticação." + +#: plugins/sudoers/auth/sudo_auth.c:471 +msgid "Authentication methods:" +msgstr "Métodos de autenticação:" + +#: plugins/sudoers/bsm_audit.c:123 plugins/sudoers/bsm_audit.c:214 +msgid "Could not determine audit condition" +msgstr "Não foi possível determinar a condição de auditoria" + +#: plugins/sudoers/bsm_audit.c:188 plugins/sudoers/bsm_audit.c:277 +msgid "unable to commit audit record" +msgstr "não foi possível enviar o registro de auditoria" + +#: plugins/sudoers/check.c:264 +#, c-format +msgid "error reading lecture file %s" +msgstr "erro ao ler o arquivo de instruções: %s" + +#: plugins/sudoers/check.c:270 +#, c-format +msgid "ignoring lecture file %s: not a regular file" +msgstr "ignorando o arquivo de instruções %s: não é um arquivo comum" + +#: plugins/sudoers/check.c:283 +msgid "" +"\n" +"We trust you have received the usual lecture from the local System\n" +"Administrator. It usually boils down to these three things:\n" +"\n" +" #1) Respect the privacy of others.\n" +" #2) Think before you type.\n" +" #3) With great power comes great responsibility.\n" +"\n" +msgstr "" +"\n" +"Presumimos que você recebeu as instruções de sempre do administrador\n" +"de sistema local. Basicamente, resume-se a estas três coisas:\n" +"\n" +" #1) Respeite a privacidade dos outros.\n" +" #2) Pense antes de digitar.\n" +" #3) Com grandes poderes vêm grandes responsabilidades.\n" +"\n" + +#: plugins/sudoers/check.c:331 plugins/sudoers/check.c:341 +#: plugins/sudoers/sudoers.c:876 plugins/sudoers/sudoers.c:897 +#: plugins/sudoers/tsdump.c:119 +#, c-format +msgid "unknown uid %u" +msgstr "uid desconhecido %u" + +#: plugins/sudoers/check_aliases.c:56 +#, c-format +msgid "Error: %s:%d:%d: cycle in %s \"%s\"" +msgstr "Erro: %s:%d:%d: ciclo em %s \"%s\"" + +#: plugins/sudoers/check_aliases.c:57 +#, c-format +msgid "Warning: %s:%d:%d: cycle in %s \"%s\"" +msgstr "Aviso: %s:%d:%d: ciclo em %s \"%s\"" + +#: plugins/sudoers/check_aliases.c:61 +#, c-format +msgid "Error: %s:%d:%d: %s \"%s\" referenced but not defined" +msgstr "Erro: %s:%d:%d: %s \"%s\" referenciado, mas não definido" + +#: plugins/sudoers/check_aliases.c:62 +#, c-format +msgid "Warning: %s:%d:%d: %s \"%s\" referenced but not defined" +msgstr "Aviso: %s:%d:%d: %s \"%s\" referenciado, mas não definido" + +#: plugins/sudoers/cvtsudoers.c:194 +#, c-format +msgid "order increment: %s: %s" +msgstr "incremento de ordem: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:210 +#, c-format +msgid "starting order: %s: %s" +msgstr "ordem inicial: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:220 +#, c-format +msgid "order padding: %s: %s" +msgstr "preenchimento de ordem: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:230 plugins/sudoers/visudo.c:177 +#, c-format +msgid "%s grammar version %d\n" +msgstr "gramática de %s versão %d\n" + +#: plugins/sudoers/cvtsudoers.c:247 plugins/sudoers/testsudoers.c:159 +#, c-format +msgid "unsupported input format %s" +msgstr "formato de entrada sem suporte %s" + +#: plugins/sudoers/cvtsudoers.c:262 +#, c-format +msgid "unsupported output format %s" +msgstr "formato de saída sem suporte %s" + +#: plugins/sudoers/cvtsudoers.c:314 +#, c-format +msgid "%s: input and output files must be different" +msgstr "%s: arquivos de entrada e saída devem ser diferentes" + +#: plugins/sudoers/cvtsudoers.c:330 plugins/sudoers/sudoers.c:159 +#: plugins/sudoers/sudoers.c:205 plugins/sudoers/testsudoers.c:254 +#: plugins/sudoers/visudo.c:247 plugins/sudoers/visudo.c:597 +#: plugins/sudoers/visudo.c:917 +msgid "unable to initialize sudoers default values" +msgstr "não foi possível inicializar valores padrões do sudoers" + +#: plugins/sudoers/cvtsudoers.c:416 plugins/sudoers/ldap_conf.c:431 +#, c-format +msgid "%s: %s: %s: %s" +msgstr "%s: %s: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:475 +#, c-format +msgid "%s: unknown key word %s" +msgstr "%s: palavra-chave desconhecida %s" + +#: plugins/sudoers/cvtsudoers.c:521 +#, c-format +msgid "invalid defaults type: %s" +msgstr "tipo de defaults inválido: %s" + +#: plugins/sudoers/cvtsudoers.c:544 +#, c-format +msgid "invalid suppression type: %s" +msgstr "tipo de supressão inválida: %s" + +#: plugins/sudoers/cvtsudoers.c:584 plugins/sudoers/cvtsudoers.c:598 +#, c-format +msgid "invalid filter: %s" +msgstr "filtro inválido: %s" + +#: plugins/sudoers/cvtsudoers.c:642 plugins/sudoers/visudo.c:922 +#, c-format +msgid "failed to parse %s file, unknown error" +msgstr "falha em analisar o arquivo %s, erro desconhecido" + +#: plugins/sudoers/cvtsudoers.c:650 +#, c-format +msgid "parse error in %s near line %d\n" +msgstr "erro de análise em %s perto da linha %d\n" + +#: plugins/sudoers/cvtsudoers.c:653 +#, c-format +msgid "parse error in %s\n" +msgstr "erro de análise em \"%s\"\n" + +#: plugins/sudoers/cvtsudoers.c:1296 plugins/sudoers/sudoreplay.c:1145 +#: plugins/sudoers/timestamp.c:317 plugins/sudoers/timestamp.c:320 +#, c-format +msgid "unable to write to %s" +msgstr "não foi possível gravar em %s" + +#: plugins/sudoers/cvtsudoers.c:1319 +#, c-format +msgid "" +"%s - convert between sudoers file formats\n" +"\n" +msgstr "" +"%s - converte entre formatos de arquivo sudoers\n" +"\n" + +#: plugins/sudoers/cvtsudoers.c:1321 +msgid "" +"\n" +"Options:\n" +" -b, --base=dn the base DN for sudo LDAP queries\n" +" -c, --config=conf_file the path to the configuration file\n" +" -d, --defaults=deftypes only convert Defaults of the specified types\n" +" -e, --expand-aliases expand aliases when converting\n" +" -f, --output-format=format set output format: JSON, LDIF or sudoers\n" +" -i, --input-format=format set input format: LDIF or sudoers\n" +" -I, --increment=num amount to increase each sudoOrder by\n" +" -h, --help display help message and exit\n" +" -m, --match=filter only convert entries that match the filter\n" +" -M, --match-local match filter uses passwd and group databases\n" +" -o, --output=output_file write converted sudoers to output_file\n" +" -O, --order-start=num starting point for first sudoOrder\n" +" -p, --prune-matches prune non-matching users, groups and hosts\n" +" -P, --padding=num base padding for sudoOrder increment\n" +" -s, --suppress=sections suppress output of certain sections\n" +" -V, --version display version information and exit" +msgstr "" +"\n" +"Opções:\n" +" -b, --base=dn o DN base para consultas LDAP do sudo\n" +" -c, --config=arquivo_conf o caminho para o arquivo de configuração\n" +" -d, --defaults=tiposdeft só converte Defaults dos tipos especificados\n" +" -e, --expand-aliases expande aliases ao converter\n" +" -f, --output-format=formato define formato de saída: JSON, LDIF ou sudoers\n" +" -i, --input-format=formato define formato de entrada: LDIF ou sudoers\n" +" -I, --increment=núm quantidade para incrementar cada sudoOrder por\n" +" -h, --help exibe a mensagem de ajuda e sai\n" +" -m, --match=filtro só converte entradas que corresponde ao filtro\n" +" -M, --match-local filtro de correspondência usa bancos de dados\n" +" passwd e group\n" +" -o, --output=arquivo_saída escreve sudoers convertido para arquivo_saída\n" +" -O, --order-start=núm ponto inicial para o primeiro sudoOrder\n" +" -p, --prune-matches suprime usuário/grupo/máquina não correspondente\n" +" -P, --padding=núm preenchimento base para incremento de sudoOrder\n" +" -s, --suppress=seções suprime a saída de certas seções\n" +" -V, --version exibe informações de versão e sai" + +#: plugins/sudoers/cvtsudoers_json.c:480 plugins/sudoers/cvtsudoers_json.c:514 +#: plugins/sudoers/cvtsudoers_json.c:718 +#, c-format +msgid "unknown defaults entry \"%s\"" +msgstr "entrada de Defaults \"%s\" desconhecida" + +#: plugins/sudoers/cvtsudoers_json.c:651 plugins/sudoers/cvtsudoers_json.c:664 +#: plugins/sudoers/cvtsudoers_ldif.c:346 plugins/sudoers/cvtsudoers_ldif.c:357 +#: plugins/sudoers/ldap.c:503 +msgid "unable to get GMT time" +msgstr "não foi possível obter o horário GMT" + +#: plugins/sudoers/cvtsudoers_json.c:654 plugins/sudoers/cvtsudoers_json.c:667 +#: plugins/sudoers/cvtsudoers_ldif.c:349 plugins/sudoers/cvtsudoers_ldif.c:360 +#: plugins/sudoers/ldap.c:509 +msgid "unable to format timestamp" +msgstr "não é possível formatar marca de tempo" + +#: plugins/sudoers/cvtsudoers_ldif.c:644 +#, c-format +msgid "too many sudoers entries, maximum %u" +msgstr "entradas de sudoers demais, máximo %u" + +#: plugins/sudoers/cvtsudoers_ldif.c:687 +msgid "the SUDOERS_BASE environment variable is not set and the -b option was not specified." +msgstr "a variável de ambiente SUDOERS_BASE não está definida e a opção -b não foi especificada." + +#: plugins/sudoers/def_data.c:50 +#, c-format +msgid "Syslog facility if syslog is being used for logging: %s" +msgstr "Facilidade do syslog, se syslog estiver sendo usado para registrar logs: %s" + +#: plugins/sudoers/def_data.c:54 +#, c-format +msgid "Syslog priority to use when user authenticates successfully: %s" +msgstr "Prioridade do syslog para usar quando um usuário autenticar com sucesso: %s" + +#: plugins/sudoers/def_data.c:58 +#, c-format +msgid "Syslog priority to use when user authenticates unsuccessfully: %s" +msgstr "Prioridade do syslog para usar quando um usuário não usuário autenticar com sucesso: %s" + +#: plugins/sudoers/def_data.c:62 +msgid "Put OTP prompt on its own line" +msgstr "Colocar prompt OTP na sua própria linha" + +#: plugins/sudoers/def_data.c:66 +msgid "Ignore '.' in $PATH" +msgstr "Ignorar \".\" no $PATH" + +#: plugins/sudoers/def_data.c:70 +msgid "Always send mail when sudo is run" +msgstr "Sempre envia correio quando sudo for executado" + +#: plugins/sudoers/def_data.c:74 +msgid "Send mail if user authentication fails" +msgstr "Envia correio se a autenticação de um usuário falhar" + +#: plugins/sudoers/def_data.c:78 +msgid "Send mail if the user is not in sudoers" +msgstr "Envia correio se o usuário não estiver no sudoers" + +#: plugins/sudoers/def_data.c:82 +msgid "Send mail if the user is not in sudoers for this host" +msgstr "Envia correio se o usuário não estiver no sudoers desta máquina" + +#: plugins/sudoers/def_data.c:86 +msgid "Send mail if the user is not allowed to run a command" +msgstr "Envia correio se o usuário não tiver permissão para executar um comando" + +#: plugins/sudoers/def_data.c:90 +msgid "Send mail if the user tries to run a command" +msgstr "Envia correio se o usuário tentar executar um comando" + +#: plugins/sudoers/def_data.c:94 +msgid "Use a separate timestamp for each user/tty combo" +msgstr "Usa uma marca de tempo separada para cada combo usuário/tty" + +#: plugins/sudoers/def_data.c:98 +msgid "Lecture user the first time they run sudo" +msgstr "Instrui o usuário na primeira vez que ele executar sudo" + +#: plugins/sudoers/def_data.c:102 +#, c-format +msgid "File containing the sudo lecture: %s" +msgstr "Arquivo contendo as instruções do sudo: %s" + +#: plugins/sudoers/def_data.c:106 +msgid "Require users to authenticate by default" +msgstr "Exige que os usuários se autentiquem, por padrão" + +#: plugins/sudoers/def_data.c:110 +msgid "Root may run sudo" +msgstr "Root pode executar sudo" + +#: plugins/sudoers/def_data.c:114 +msgid "Log the hostname in the (non-syslog) log file" +msgstr "Registra o nome da máquina no arquivo de log (não-syslog)" + +#: plugins/sudoers/def_data.c:118 +msgid "Log the year in the (non-syslog) log file" +msgstr "Registra o ano no arquivo de log (não-syslog)" + +#: plugins/sudoers/def_data.c:122 +msgid "If sudo is invoked with no arguments, start a shell" +msgstr "Se sudo for chamado sem argumentos, inicia um shell" + +#: plugins/sudoers/def_data.c:126 +msgid "Set $HOME to the target user when starting a shell with -s" +msgstr "Define $HOME com o usuário alvo ao iniciar um shell com -s" + +#: plugins/sudoers/def_data.c:130 +msgid "Always set $HOME to the target user's home directory" +msgstr "Sempre define $HOME para a pasta pessoal do usuário alvo" + +#: plugins/sudoers/def_data.c:134 +msgid "Allow some information gathering to give useful error messages" +msgstr "Permite juntar algumas informações para fornecer mensagens de erro úteis" + +#: plugins/sudoers/def_data.c:138 +msgid "Require fully-qualified hostnames in the sudoers file" +msgstr "Exige nomes de máquina completos (FQDN) no arquivo sudoers" + +#: plugins/sudoers/def_data.c:142 +msgid "Insult the user when they enter an incorrect password" +msgstr "Insulta o usuário quando ele digitar uma senha incorreta" + +#: plugins/sudoers/def_data.c:146 +msgid "Only allow the user to run sudo if they have a tty" +msgstr "Permite que o usuário execute sudo apenas se ele tiver um tty" + +#: plugins/sudoers/def_data.c:150 +msgid "Visudo will honor the EDITOR environment variable" +msgstr "Visudo vai honrar a variável de ambiente EDITOR" + +#: plugins/sudoers/def_data.c:154 +msgid "Prompt for root's password, not the users's" +msgstr "Pede a senha do root, e não a do usuário" + +#: plugins/sudoers/def_data.c:158 +msgid "Prompt for the runas_default user's password, not the users's" +msgstr "Pede a senha do usuário runas_default, e não a do usuário" + +#: plugins/sudoers/def_data.c:162 +msgid "Prompt for the target user's password, not the users's" +msgstr "Pede a senha do usuário alvo, e não a do usuário" + +#: plugins/sudoers/def_data.c:166 +msgid "Apply defaults in the target user's login class if there is one" +msgstr "Aplica o padrão na classe de login do usuário alvo, se houver alguma" + +#: plugins/sudoers/def_data.c:170 +msgid "Set the LOGNAME and USER environment variables" +msgstr "Define as variáveis de ambiente LOGNAME e USER" + +#: plugins/sudoers/def_data.c:174 +msgid "Only set the effective uid to the target user, not the real uid" +msgstr "Define o uid efetivo apenas para o usuário alvo, e não o uid real" + +#: plugins/sudoers/def_data.c:178 +msgid "Don't initialize the group vector to that of the target user" +msgstr "Não inicializa o vetor de grupos para aquele usuário alvo" + +#: plugins/sudoers/def_data.c:182 +#, c-format +msgid "Length at which to wrap log file lines (0 for no wrap): %u" +msgstr "Comprimento da quebra de linha do arquivo de log (0 para sem quebra): %u" + +# "Limite de tempo da marca de tempo de autenticação" ficaria estranho, então utilizei "... expira em" +#: plugins/sudoers/def_data.c:186 +#, c-format +msgid "Authentication timestamp timeout: %.1f minutes" +msgstr "Marca de tempo de autenticação expira em: %.1f minutos" + +#: plugins/sudoers/def_data.c:190 +#, c-format +msgid "Password prompt timeout: %.1f minutes" +msgstr "Pedido de senha expira em: %.1f minutos" + +#: plugins/sudoers/def_data.c:194 +#, c-format +msgid "Number of tries to enter a password: %u" +msgstr "Número de tentativas para digitar senha: %u" + +#: plugins/sudoers/def_data.c:198 +#, c-format +msgid "Umask to use or 0777 to use user's: 0%o" +msgstr "Umask a ser usada ou 0777 para usar do usuário: 0%o" + +#: plugins/sudoers/def_data.c:202 +#, c-format +msgid "Path to log file: %s" +msgstr "Caminho para o arquivo de log: %s" + +#: plugins/sudoers/def_data.c:206 +#, c-format +msgid "Path to mail program: %s" +msgstr "Caminho para o programa de correio: %s" + +#: plugins/sudoers/def_data.c:210 +#, c-format +msgid "Flags for mail program: %s" +msgstr "Opções para o programa de correio: %s" + +#: plugins/sudoers/def_data.c:214 +#, c-format +msgid "Address to send mail to: %s" +msgstr "Endereço para onde enviar correio: %s" + +#: plugins/sudoers/def_data.c:218 +#, c-format +msgid "Address to send mail from: %s" +msgstr "Endereço de onde enviar correio: %s" + +#: plugins/sudoers/def_data.c:222 +#, c-format +msgid "Subject line for mail messages: %s" +msgstr "Linha do assunto para as mensagens de correio: %s" + +#: plugins/sudoers/def_data.c:226 +#, c-format +msgid "Incorrect password message: %s" +msgstr "Mensagem de senha incorreta: %s" + +#: plugins/sudoers/def_data.c:230 +#, c-format +msgid "Path to lecture status dir: %s" +msgstr "Caminho para o diretório de status de instruções: %s" + +#: plugins/sudoers/def_data.c:234 +#, c-format +msgid "Path to authentication timestamp dir: %s" +msgstr "Caminho para diretório de marca de tempo de autenticação: %s" + +#: plugins/sudoers/def_data.c:238 +#, c-format +msgid "Owner of the authentication timestamp dir: %s" +msgstr "Dono do diretório de marca de tempo de autenticação: %s" + +#: plugins/sudoers/def_data.c:242 +#, c-format +msgid "Users in this group are exempt from password and PATH requirements: %s" +msgstr "Usuários neste grupo estão eximidos da exigência de senha e PATH: %s" + +#: plugins/sudoers/def_data.c:246 +#, c-format +msgid "Default password prompt: %s" +msgstr "Pedido de senha padrão: %s" + +#: plugins/sudoers/def_data.c:250 +msgid "If set, passprompt will override system prompt in all cases." +msgstr "Se definido, o pedido de senha vai sobrescrever o do sistema em todos os casos." + +#: plugins/sudoers/def_data.c:254 +#, c-format +msgid "Default user to run commands as: %s" +msgstr "Usuário padrão para se executar comandos: %s" + +#: plugins/sudoers/def_data.c:258 +#, c-format +msgid "Value to override user's $PATH with: %s" +msgstr "Valor para sobrescrever o $PATH do usuário: %s" + +#: plugins/sudoers/def_data.c:262 +#, c-format +msgid "Path to the editor for use by visudo: %s" +msgstr "Caminho do editor a ser usado pelo visudo: %s" + +#: plugins/sudoers/def_data.c:266 +#, c-format +msgid "When to require a password for 'list' pseudocommand: %s" +msgstr "Quando exigir uma senha para o pseudo-comando \"list\": %s" + +#: plugins/sudoers/def_data.c:270 +#, c-format +msgid "When to require a password for 'verify' pseudocommand: %s" +msgstr "Quando exigir uma senha para o pseudo-comando \"verify\": %s" + +#: plugins/sudoers/def_data.c:274 +msgid "Preload the sudo_noexec library which replaces the exec functions" +msgstr "Pré-carrega a biblioteca sudo_noexec que substitui as funções do exec" + +# ideia da frase original: se acontecer algo, se deve ou não ignorar. Traduzi reorganizando a frase com a finalidade de manter a ideia original. -- Rafael +#: plugins/sudoers/def_data.c:278 +msgid "If LDAP directory is up, do we ignore local sudoers file" +msgstr "Estando o diretório LDAP disponível, se devemos ignorar o arquivo sudoers local" + +#: plugins/sudoers/def_data.c:282 +#, c-format +msgid "File descriptors >= %d will be closed before executing a command" +msgstr "Descritores, de arquivos, >= %d serão fechados antes de executar um comando" + +#: plugins/sudoers/def_data.c:286 +msgid "If set, users may override the value of \"closefrom\" with the -C option" +msgstr "Se definido, usuários podem sobrescrever o valor de \"closefrom\" com a opção -C" + +#: plugins/sudoers/def_data.c:290 +msgid "Allow users to set arbitrary environment variables" +msgstr "Permite que usuários definam variáveis de ambiente arbitrárias" + +#: plugins/sudoers/def_data.c:294 +msgid "Reset the environment to a default set of variables" +msgstr "Redefine o ambiente para um conjunto padrão de variáveis" + +#: plugins/sudoers/def_data.c:298 +msgid "Environment variables to check for safety:" +msgstr "Variáveis de ambiente para verificar por segurança:" + +#: plugins/sudoers/def_data.c:302 +msgid "Environment variables to remove:" +msgstr "Variáveis de ambiente para remover:" + +#: plugins/sudoers/def_data.c:306 +msgid "Environment variables to preserve:" +msgstr "Variáveis de ambiente para preservar:" + +#: plugins/sudoers/def_data.c:310 +#, c-format +msgid "SELinux role to use in the new security context: %s" +msgstr "Papel SELinux para usar no novo contexto de segurança: %s" + +#: plugins/sudoers/def_data.c:314 +#, c-format +msgid "SELinux type to use in the new security context: %s" +msgstr "Tipo SELinux para usar no novo contexto de segurança: %s" + +#: plugins/sudoers/def_data.c:318 +#, c-format +msgid "Path to the sudo-specific environment file: %s" +msgstr "Caminho do arquivo de ambiente específico do sudo: %s" + +#: plugins/sudoers/def_data.c:322 +#, c-format +msgid "Path to the restricted sudo-specific environment file: %s" +msgstr "Caminho do arquivo restrito de ambiente específico do sudo: %s" + +#: plugins/sudoers/def_data.c:326 +#, c-format +msgid "Locale to use while parsing sudoers: %s" +msgstr "Localização para usar ao analisar o sudoers: %s" + +#: plugins/sudoers/def_data.c:330 +msgid "Allow sudo to prompt for a password even if it would be visible" +msgstr "Permite ao sudo solicitar uma senha mesmo se ele estiver visível" + +#: plugins/sudoers/def_data.c:334 +msgid "Provide visual feedback at the password prompt when there is user input" +msgstr "Fornece feedback visual na solicitação de senha quando houver entrada do usuário" + +#: plugins/sudoers/def_data.c:338 +msgid "Use faster globbing that is less accurate but does not access the filesystem" +msgstr "Usa um englobamento mais rápido que é menos preciso, mas não acessa o sistema de arquivos" + +#: plugins/sudoers/def_data.c:342 +msgid "The umask specified in sudoers will override the user's, even if it is more permissive" +msgstr "O umask especificado no sudoers vai sobrescrever o do usuário, mesmo se ele foi mais permissivo" + +#: plugins/sudoers/def_data.c:346 +msgid "Log user's input for the command being run" +msgstr "Registra no log a entrada do usuário para o comando sendo executado" + +#: plugins/sudoers/def_data.c:350 +msgid "Log the output of the command being run" +msgstr "Registra no log a saída do comando sendo executado" + +#: plugins/sudoers/def_data.c:354 +msgid "Compress I/O logs using zlib" +msgstr "Comprime logs I/O usando zlib" + +#: plugins/sudoers/def_data.c:358 +msgid "Always run commands in a pseudo-tty" +msgstr "Sempre executa comandos em um pseudo-tty" + +#: plugins/sudoers/def_data.c:362 +#, c-format +msgid "Plugin for non-Unix group support: %s" +msgstr "Plug-in para suporte a grupo não-Unix: %s" + +#: plugins/sudoers/def_data.c:366 +#, c-format +msgid "Directory in which to store input/output logs: %s" +msgstr "Diretório no qual devem ser armazenados os logs de entrada/saída: %s" + +#: plugins/sudoers/def_data.c:370 +#, c-format +msgid "File in which to store the input/output log: %s" +msgstr "Arquivo no qual deve ser armazenado o log de entrada/saída: %s" + +#: plugins/sudoers/def_data.c:374 +msgid "Add an entry to the utmp/utmpx file when allocating a pty" +msgstr "Adiciona uma entrada ao arquivo utmp/utmpx ao alocar um pty" + +#: plugins/sudoers/def_data.c:378 +msgid "Set the user in utmp to the runas user, not the invoking user" +msgstr "Define o usuário em utmp como usuário a ser executado como, e não o usuário a ser chamado" + +#: plugins/sudoers/def_data.c:382 +#, c-format +msgid "Set of permitted privileges: %s" +msgstr "Conjunto de privilégios permitidos: %s" + +#: plugins/sudoers/def_data.c:386 +#, c-format +msgid "Set of limit privileges: %s" +msgstr "Conjunto de privilégios limitados: %s" + +#: plugins/sudoers/def_data.c:390 +msgid "Run commands on a pty in the background" +msgstr "Executa comandos em um pty em plano de fundo" + +#: plugins/sudoers/def_data.c:394 +#, c-format +msgid "PAM service name to use: %s" +msgstr "Nome do serviço PAM para usar: %s" + +#: plugins/sudoers/def_data.c:398 +#, c-format +msgid "PAM service name to use for login shells: %s" +msgstr "Nome do serviço PAM para usar para shells de login: %s" + +#: plugins/sudoers/def_data.c:402 +msgid "Attempt to establish PAM credentials for the target user" +msgstr "Tenta estabelecer as credenciais PAM para o usuário alvo" + +#: plugins/sudoers/def_data.c:406 +msgid "Create a new PAM session for the command to run in" +msgstr "Cria uma nova sessão PAM para o comando ser executado nela" + +#: plugins/sudoers/def_data.c:410 +msgid "Perform PAM account validation management" +msgstr "Realiza de gerenciamento de validação de conta PAM" + +#: plugins/sudoers/def_data.c:414 +#, c-format +msgid "Maximum I/O log sequence number: %s" +msgstr "Número máximo de sequência de log de E/S: %s" + +#: plugins/sudoers/def_data.c:418 +msgid "Enable sudoers netgroup support" +msgstr "Habilita suporte a netgroup no sudoers" + +#: plugins/sudoers/def_data.c:422 +msgid "Check parent directories for writability when editing files with sudoedit" +msgstr "Verifica diretórios pai para capacidade de gravação ao editar arquivos com sudoedit" + +#: plugins/sudoers/def_data.c:426 +msgid "Follow symbolic links when editing files with sudoedit" +msgstr "Segue links simbólicos ao editar arquivos com sudoedit" + +#: plugins/sudoers/def_data.c:430 +msgid "Query the group plugin for unknown system groups" +msgstr "Consulta o plug-in de grupo por grupos de sistema desconhecidos" + +#: plugins/sudoers/def_data.c:434 +msgid "Match netgroups based on the entire tuple: user, host and domain" +msgstr "Compara netgroups baseada em toda tupla: usuário, máquina e domínio" + +#: plugins/sudoers/def_data.c:438 +msgid "Allow commands to be run even if sudo cannot write to the audit log" +msgstr "Permite comandos serem executados mesmo se sudo não puder escrever em logs de auditoria" + +#: plugins/sudoers/def_data.c:442 +msgid "Allow commands to be run even if sudo cannot write to the I/O log" +msgstr "Permite comandos serem executados mesmo se sudo não puder escrever em logs de E/S" + +#: plugins/sudoers/def_data.c:446 +msgid "Allow commands to be run even if sudo cannot write to the log file" +msgstr "Permite comandos serem executados mesmo se sudo não puder escrever no arquivo de log" + +#: plugins/sudoers/def_data.c:450 +msgid "Resolve groups in sudoers and match on the group ID, not the name" +msgstr "Resolve grupos no sudoers e corresponde ao ID de grupo, e não o nome" + +#: plugins/sudoers/def_data.c:454 +#, c-format +msgid "Log entries larger than this value will be split into multiple syslog messages: %u" +msgstr "Entradas de log maiores que este valor serão divididos em múltiplas mensagens de syslog: %u" + +#: plugins/sudoers/def_data.c:458 +#, c-format +msgid "User that will own the I/O log files: %s" +msgstr "Usuário que será dono dos arquivos de log de E/S: %s" + +#: plugins/sudoers/def_data.c:462 +#, c-format +msgid "Group that will own the I/O log files: %s" +msgstr "Grupo que será dono dos arquivos de log de E/S: %s" + +#: plugins/sudoers/def_data.c:466 +#, c-format +msgid "File mode to use for the I/O log files: 0%o" +msgstr "Modo de arquivo usado para os arquivos de log de E/S: 0%o" + +#: plugins/sudoers/def_data.c:470 +#, c-format +msgid "Execute commands by file descriptor instead of by path: %s" +msgstr "Executa comandos pelo descritor de arquivo em vez de pelo caminho: %s" + +#: plugins/sudoers/def_data.c:474 +msgid "Ignore unknown Defaults entries in sudoers instead of producing a warning" +msgstr "Ignora entradas desconhecidas de Defaults no sudoers em vez de produzir um aviso" + +#: plugins/sudoers/def_data.c:478 +#, c-format +msgid "Time in seconds after which the command will be terminated: %u" +msgstr "Tempo em segundos após o qual o comando será terminado: %u" + +#: plugins/sudoers/def_data.c:482 +msgid "Allow the user to specify a timeout on the command line" +msgstr "Permite o usuário especificar um tempo limite na linha de comando" + +#: plugins/sudoers/def_data.c:486 +msgid "Flush I/O log data to disk immediately instead of buffering it" +msgstr "Descarrega os dados de log de E/S para o disco imediatamente em vez de armazenar no buffer" + +#: plugins/sudoers/def_data.c:490 +msgid "Include the process ID when logging via syslog" +msgstr "Inclui o ID de processo ao registrar log via syslog" + +#: plugins/sudoers/def_data.c:494 +#, c-format +msgid "Type of authentication timestamp record: %s" +msgstr "Tipo de registro de marca de tempo de autenticação: %s" + +#: plugins/sudoers/def_data.c:498 +#, c-format +msgid "Authentication failure message: %s" +msgstr "Mensagem de falha de autenticação: %s" + +#: plugins/sudoers/def_data.c:502 +msgid "Ignore case when matching user names" +msgstr "Ignora maiúsculo/minúsculo ao corresponder nomes de usuário" + +#: plugins/sudoers/def_data.c:506 +msgid "Ignore case when matching group names" +msgstr "Ignora maiúsculo/minúsculo ao corresponder nomes de grupo" + +#: plugins/sudoers/def_data.c:510 +msgid "Log when a command is allowed by sudoers" +msgstr "Registra quando um comando é permitido por sudoers" + +#: plugins/sudoers/def_data.c:514 +msgid "Log when a command is denied by sudoers" +msgstr "Registra quando um comando é negado por sudoers" + +#: plugins/sudoers/def_data.c:518 +msgid "Sudo log server(s) to connect to with optional port" +msgstr "Servidor(es) de log do sudo para conectar com porta opcional" + +#: plugins/sudoers/def_data.c:522 +#, c-format +msgid "Sudo log server timeout in seconds: %u" +msgstr "Tempo limite do servidor de log do sudo em segundos: %u" + +#: plugins/sudoers/def_data.c:526 +msgid "Enable SO_KEEPALIVE socket option on the socket connected to the logserver" +msgstr "Habilita a opção de soquete SO_KEEPALIVE no soquete conectado ao servidor de log" + +#: plugins/sudoers/def_data.c:530 +#, c-format +msgid "Path to the audit server's CA bundle file: %s" +msgstr "Caminho do arquivo de pacote de AC do servidor de auditoria: %s" + +#: plugins/sudoers/def_data.c:534 +#, c-format +msgid "Path to the sudoers certificate file: %s" +msgstr "Caminho do arquivo de certificado do sudoers: %s" + +#: plugins/sudoers/def_data.c:538 +#, c-format +msgid "Path to the sudoers private key file: %s" +msgstr "Caminho do arquivo de chave privada do sudoers: %s" + +#: plugins/sudoers/def_data.c:542 +msgid "Verify that the log server's certificate is valid" +msgstr "Verifica se o certificado do servidor de log é válido" + +#: plugins/sudoers/def_data.c:546 +msgid "Allow the use of unknown runas user and/or group ID" +msgstr "Permite o uso de ID desconhecido do usuário e/ou grupo a ser executado como" + +#: plugins/sudoers/def_data.c:550 +msgid "Only permit running commands as a user with a valid shell" +msgstr "Permite apenas a execução de comandos como um usuário com um shell válido" + +#: plugins/sudoers/def_data.c:554 +msgid "Set the pam remote user to the user running sudo" +msgstr "Define o usuário remoto pam como o usuário executando o sudo" + +#: plugins/sudoers/def_data.c:558 +msgid "Set the pam remote host to the local host name" +msgstr "Define a máquina remota pam com o nome da máquina local" + +#: plugins/sudoers/def_data.c:562 +#, c-format +msgid "Working directory to change to before executing the command: %s" +msgstr "Diretório de trabalho para o qual alterar antes de executar o comando: %s" + +#: plugins/sudoers/def_data.c:566 +#, c-format +msgid "Root directory to change to before executing the command: %s" +msgstr "Diretório raiz para o qual alterar antes de executar o comando: %s" + +#: plugins/sudoers/def_data.c:570 +#, c-format +msgid "The format of logs to produce: %s" +msgstr "O formato dos logs para produzir: %s" + +#: plugins/sudoers/def_data.c:574 +msgid "Enable SELinux RBAC support" +msgstr "Habilita suporte a RBAC no SELinux" + +#: plugins/sudoers/def_data.c:578 +#, c-format +msgid "Path to the file that is created the first time sudo is run: %s" +msgstr "Caminho para o arquivo que é criado na primeira execução do sudo: %s" + +#: plugins/sudoers/def_data.c:582 +msgid "Intercept further commands and apply sudoers restrictions to them" +msgstr "Intercepta outros comandos e aplica restrições sudoers a eles" + +#: plugins/sudoers/def_data.c:586 +msgid "Log any child processes run by the command" +msgstr "Registra log qualquer processo filho executado pelo comando" + +#: plugins/sudoers/def_data.c:590 +msgid "Log the exit status of commands" +msgstr "Registra log o status de saída dos comandos" + +#: plugins/sudoers/def_data.c:594 +msgid "Subsequent commands in an intercepted session must be authenticated" +msgstr "Os comandos subsequentes em uma sessão interceptada devem ser autenticados" + +#: plugins/sudoers/def_data.c:598 +msgid "Allow an intercepted command to run set setuid or setgid programs" +msgstr "Permite que um comando interceptado execute os programas setuid ou setgid definidos" + +#: plugins/sudoers/defaults.c:185 +#, c-format +msgid "%s:%d:%d: unknown defaults entry \"%s\"" +msgstr "%s:%d:%d: entrada padrão \"%s\" desconhecida" + +#: plugins/sudoers/defaults.c:188 +#, c-format +msgid "%s: unknown defaults entry \"%s\"" +msgstr "%s: entrada padrão \"%s\" desconhecida" + +#: plugins/sudoers/defaults.c:234 +#, c-format +msgid "%s:%d:%d: no value specified for \"%s\"" +msgstr "%s:%d:%d: nenhum valor especificado para \"%s\"" + +#: plugins/sudoers/defaults.c:237 +#, c-format +msgid "%s: no value specified for \"%s\"" +msgstr "%s: nenhum valor especificado para \"%s\"" + +#: plugins/sudoers/defaults.c:250 +#, c-format +msgid "%s:%d:%d: invalid operator \"%c=\" for \"%s\"" +msgstr "%s:%d:%d: operador inválido \"%c=\" para \"%s\"" + +#: plugins/sudoers/defaults.c:253 +#, c-format +msgid "%s: invalid operator \"%c=\" for \"%s\"" +msgstr "%s: operador inválido \"%c=\" para \"%s\"" + +#: plugins/sudoers/defaults.c:289 +#, c-format +msgid "%s:%d:%d: option \"%s\" does not take a value" +msgstr "%s:%d:%d: a opção \"%s\" não aceita um valor" + +#: plugins/sudoers/defaults.c:292 +#, c-format +msgid "%s: option \"%s\" does not take a value" +msgstr "%s: a opção \"%s\" não leva um valor" + +#: plugins/sudoers/defaults.c:317 +#, c-format +msgid "%s:%d:%d: invalid Defaults type 0x%x for option \"%s\"" +msgstr "%s:%d:%d: tipo de Defaults 0x%x inválido para a opção \"%s\"" + +#: plugins/sudoers/defaults.c:320 +#, c-format +msgid "%s: invalid Defaults type 0x%x for option \"%s\"" +msgstr "%s: Tipo de Defaults 0x%x inválido para a opção \"%s\"" + +#: plugins/sudoers/defaults.c:330 +#, c-format +msgid "%s:%d:%d: value \"%s\" is invalid for option \"%s\"" +msgstr "%s:%d:%d: valor \"%s\" é inválido para a opção \"%s\"" + +#: plugins/sudoers/defaults.c:333 +#, c-format +msgid "%s: value \"%s\" is invalid for option \"%s\"" +msgstr "%s: o valor \"%s\" é inválido para a opção \"%s\"" + +#: plugins/sudoers/defaults.c:1054 +#, c-format +msgid "%s:%d:%d: values for \"%s\" must start with a '/', '~', or '*'" +msgstr "%s:%d:%d: valores para \"%s\" devem iniciar com um \"/\", \"~\" ou \"*\"" + +#: plugins/sudoers/defaults.c:1058 +#, c-format +msgid "%s: values for \"%s\" must start with a '/', '~', or '*'" +msgstr "%s: valores para \"%s\" devem iniciar com um \"/\", '~', ou '*'" + +#: plugins/sudoers/defaults.c:1069 +#, c-format +msgid "%s:%d:%d: values for \"%s\" must start with a '/'" +msgstr "%s:%d:%d: valores para \"%s\" devem iniciar com um \"/\"" + +#: plugins/sudoers/defaults.c:1073 +#, c-format +msgid "%s: values for \"%s\" must start with a '/'" +msgstr "%s: valores para \"%s\" devem iniciar com um \"/\"" + +#: plugins/sudoers/env.c:412 +msgid "sudo_putenv: corrupted envp, length mismatch" +msgstr "sudo_putenv: envp corrompido, cumprimento não confere" + +#: plugins/sudoers/env.c:1095 +msgid "unable to rebuild the environment" +msgstr "não foi possível recompilar o ambiente" + +#: plugins/sudoers/env.c:1169 +#, c-format +msgid "sorry, you are not allowed to set the following environment variables: %s" +msgstr "sinto muito, você não tem permissão para definir as seguintes variáveis de ambiente: %s" + +#: plugins/sudoers/file.c:108 +#, c-format +msgid "parse error in %s near line %d" +msgstr "erro de análise em %s próximo à linha %d" + +#: plugins/sudoers/file.c:111 +#, c-format +msgid "parse error in %s" +msgstr "erro de análise em %s" + +#: plugins/sudoers/filedigest.c:49 +#, c-format +msgid "unsupported digest type %d for %s" +msgstr "tipo de digest %d sem suporte para %s" + +#: plugins/sudoers/filedigest.c:78 +#, c-format +msgid "%s: read error" +msgstr "%s: erro de leitura" + +#: plugins/sudoers/group_plugin.c:83 +#, c-format +msgid "%s must be owned by uid %d" +msgstr "%s deve ter como dono o uid %d" + +#: plugins/sudoers/group_plugin.c:87 +#, c-format +msgid "%s must only be writable by owner" +msgstr "%s deve ser gravável apenas pelo dono" + +#: plugins/sudoers/group_plugin.c:96 plugins/sudoers/sssd.c:569 +#, c-format +msgid "unable to load %s: %s" +msgstr "não foi possível carregar %s: %s" + +#: plugins/sudoers/group_plugin.c:102 +#, c-format +msgid "unable to find symbol \"group_plugin\" in %s" +msgstr "não foi possível localizar um símbolo \"group_plugin\" %s" + +#: plugins/sudoers/group_plugin.c:107 +#, c-format +msgid "%s: incompatible group plugin major version %d, expected %d" +msgstr "%s: versão maior do plug-in de grupo %d incompatível, esperava %d" + +#: plugins/sudoers/interfaces.c:76 plugins/sudoers/interfaces.c:93 +#, c-format +msgid "unable to parse IP address \"%s\"" +msgstr "não foi possível analisar o endereço IP \"%s\"" + +#: plugins/sudoers/interfaces.c:81 plugins/sudoers/interfaces.c:98 +#, c-format +msgid "unable to parse netmask \"%s\"" +msgstr "não foi possível analisar a máscara de rede \"%s\"" + +#: plugins/sudoers/interfaces.c:126 +msgid "Local IP address and netmask pairs:\n" +msgstr "Par de endereço IP e máscara de rede locais:\n" + +#: plugins/sudoers/iolog.c:632 +msgid "unable to update sequence file" +msgstr "não foi possível atualizar o arquivo de sequência" + +#: plugins/sudoers/iolog.c:663 plugins/sudoers/iolog.c:851 +#: plugins/sudoers/iolog.c:1004 plugins/sudoers/iolog.c:1011 +#: plugins/sudoers/iolog.c:1132 plugins/sudoers/iolog.c:1139 +#: plugins/sudoers/iolog.c:1238 plugins/sudoers/iolog.c:1245 +#, c-format +msgid "unable to write to I/O log file: %s" +msgstr "não foi possível gravar no arquivo de log de E/S: %s" + +#: plugins/sudoers/iolog.c:671 +#, c-format +msgid "unable to create %s/%s" +msgstr "não foi possível criar %s/%s" + +#: plugins/sudoers/iolog.c:896 +#, c-format +msgid "%s: internal error, I/O log file for event %d not open" +msgstr "%s: erro interno, o arquivo de log de E/S para evento %d não está aberto" + +#: plugins/sudoers/iolog.c:989 plugins/sudoers/iolog.c:1117 +#: plugins/sudoers/iolog.c:1222 plugins/sudoers/timestamp.c:849 +#: plugins/sudoers/timestamp.c:941 plugins/sudoers/visudo.c:487 +#: plugins/sudoers/visudo.c:493 +msgid "unable to read the clock" +msgstr "não foi possível ler do relógio" + +#: plugins/sudoers/iolog.c:1214 plugins/sudoers/log_client.c:1217 +#: plugins/sudoers/log_client.c:1227 plugins/sudoers/log_client.c:1231 +#, c-format +msgid "%s: internal error, invalid signal %d" +msgstr "%s: erro interno, sinal inválido %d" + +#: plugins/sudoers/ldap.c:177 plugins/sudoers/ldap_conf.c:291 +msgid "starttls not supported when using ldaps" +msgstr "sem suporte a starttls ao usar ldaps" + +#: plugins/sudoers/ldap.c:248 +#, c-format +msgid "unable to initialize SSL cert and key db: %s" +msgstr "não foi possível inicializar bando de dados de chaves e certificados SSL: %s" + +#: plugins/sudoers/ldap.c:251 +#, c-format +msgid "you must set TLS_CERT in %s to use SSL" +msgstr "você deve definir TLS_CERT em %s para usar SSL" + +#: plugins/sudoers/ldap.c:1660 +#, c-format +msgid "unable to initialize LDAP: %s" +msgstr "não foi possível inicializar LDAP: %s" + +#: plugins/sudoers/ldap.c:1697 +msgid "start_tls specified but LDAP libs do not support ldap_start_tls_s() or ldap_start_tls_s_np()" +msgstr "start_tls especificado, mas bibliotecas LDAP não possuem suporte a ldap_start_tls_s() ou ldap_start_tls_s_np()" + +#: plugins/sudoers/ldap.c:1834 plugins/sudoers/parse_ldif.c:746 +#, c-format +msgid "invalid sudoOrder attribute: %s" +msgstr "atributo sudoOrder inválido: %s" + +#: plugins/sudoers/ldap_conf.c:200 +#, c-format +msgid "%s: port too large" +msgstr "%s: porta grande demais" + +#: plugins/sudoers/ldap_conf.c:260 +#, c-format +msgid "unsupported LDAP uri type: %s" +msgstr "tipo de uri LDAP sem suporte: %s" + +#: plugins/sudoers/ldap_conf.c:287 +msgid "unable to mix ldap and ldaps URIs" +msgstr "não foi possível misturar ldap e ldaps URIs" + +#: plugins/sudoers/ldap_util.c:496 plugins/sudoers/ldap_util.c:503 +#: plugins/sudoers/ldap_util.c:511 plugins/sudoers/ldap_util.c:520 +#: plugins/sudoers/ldap_util.c:528 plugins/sudoers/ldap_util.c:538 +#: plugins/sudoers/ldap_util.c:546 +#, c-format +msgid "duplicate sudoOption: %s%s%s" +msgstr "sudoOption duplicado: %s%s%s" + +#: plugins/sudoers/ldap_util.c:565 plugins/sudoers/ldap_util.c:567 +#, c-format +msgid "unable to convert sudoOption: %s%s%s" +msgstr "não foi possível converter sudoOption: %s%s%s" + +#: plugins/sudoers/linux_audit.c:58 plugins/sudoers/linux_audit.c:60 +msgid "unable to open audit system" +msgstr "não foi possível abrir o sistema de auditoria" + +#: plugins/sudoers/linux_audit.c:103 +msgid "unable to send audit message" +msgstr "não foi possível enviar mensagem de auditoria" + +#: plugins/sudoers/log_client.c:116 plugins/sudoers/log_client.c:396 +#: plugins/sudoers/log_client.c:1464 plugins/sudoers/log_client.c:2061 +msgid "error in event loop" +msgstr "erro no evento de loop" + +#: plugins/sudoers/log_client.c:196 +#, c-format +msgid "Creation of new SSL_CTX object failed: %s" +msgstr "Criação do novo objeto SSL_CTX falhou: %s" + +#: plugins/sudoers/log_client.c:219 +#, c-format +msgid "unable to load certificate authority bundle %s" +msgstr "não foi possível carregar o novo pacote de autoridade certificadora %s" + +#: plugins/sudoers/log_client.c:239 +#, c-format +msgid "unable to load certificate %s" +msgstr "não foi possível carregar o certificado %s" + +#: plugins/sudoers/log_client.c:252 +#, c-format +msgid "unable to load private key %s" +msgstr "não foi possível carregar a chave privada %s" + +#: plugins/sudoers/log_client.c:261 +#, c-format +msgid "Unable to allocate ssl object: %s" +msgstr "Não foi possível alocar objeto ssl: %s" + +#: plugins/sudoers/log_client.c:349 plugins/sudoers/log_client.c:354 +#, c-format +msgid "TLS connection to %s:%s failed: %s" +msgstr "falha de conexão de TLS com %s:%s: %s" + +#: plugins/sudoers/log_client.c:527 +msgid "TLS initialization was unsuccessful" +msgstr "A inicialização do TLS não teve êxito" + +#: plugins/sudoers/log_client.c:537 +msgid "TLS handshake was unsuccessful" +msgstr "A negociação TLS não teve êxito" + +#: plugins/sudoers/log_client.c:1235 +#, c-format +msgid "%s: internal error, invalid exit status %d" +msgstr "%s: erro interno, status de saída inválido %d" + +#: plugins/sudoers/log_client.c:1602 +msgid "unable to unpack ServerMessage" +msgstr "não foi possível desempacotar ServerMessage" + +#: plugins/sudoers/log_client.c:1754 plugins/sudoers/log_client.c:1778 +msgid "lost connection to log server" +msgstr "conexão perdida com o servidor de log" + +#: plugins/sudoers/log_client.c:1855 +msgid "missing write buffer" +msgstr "faltando buffer de escrita" + +#: plugins/sudoers/log_client.c:2002 +msgid "unable to connect to log server" +msgstr "não foi possível conectar ao servidor de log" + +#: plugins/sudoers/logging.c:283 +msgid "user NOT in sudoers" +msgstr "usuário NÃO ESTÁ no sudoers" + +#: plugins/sudoers/logging.c:285 +msgid "user NOT authorized on host" +msgstr "usuário NÃO ESTÁ autorizado na máquina" + +#: plugins/sudoers/logging.c:287 +msgid "command not allowed" +msgstr "comando não permitido" + +#: plugins/sudoers/logging.c:308 +#, c-format +msgid "%s is not in the sudoers file. This incident will be reported.\n" +msgstr "%s não está no arquivo sudoers. Este incidente será relatado.\n" + +#: plugins/sudoers/logging.c:311 +#, c-format +msgid "%s is not allowed to run sudo on %s. This incident will be reported.\n" +msgstr "%s não tem permissão para executar sudo em %s. Este incidente será relatado.\n" + +#: plugins/sudoers/logging.c:315 +#, c-format +msgid "Sorry, user %s may not run sudo on %s.\n" +msgstr "Sinto muito, usuário %s não pode executar sudo em %s.\n" + +#: plugins/sudoers/logging.c:318 +#, c-format +msgid "Sorry, user %s is not allowed to execute '%s%s%s' as %s%s%s on %s.\n" +msgstr "Sinto muito, usuário %s não tem permissão para executar \"%s%s%s\" como %s%s%s em %s.\n" + +#: plugins/sudoers/logging.c:355 plugins/sudoers/sudoers.c:629 +#: plugins/sudoers/sudoers.c:631 plugins/sudoers/sudoers.c:633 +#: plugins/sudoers/sudoers.c:635 plugins/sudoers/sudoers.c:776 +#: plugins/sudoers/sudoers.c:778 +#, c-format +msgid "%s: command not found" +msgstr "%s: comando não encontrado" + +#: plugins/sudoers/logging.c:357 plugins/sudoers/sudoers.c:625 +#, c-format +msgid "" +"ignoring \"%s\" found in '.'\n" +"Use \"sudo ./%s\" if this is the \"%s\" you wish to run." +msgstr "" +"ignorando \"%s\" encontrado em \".\"\n" +"Use \"sudo ./%s\" se isto é o \"%s\" que você deseja executar." + +#: plugins/sudoers/logging.c:376 +#, c-format +msgid "%u incorrect password attempt" +msgid_plural "%u incorrect password attempts" +msgstr[0] "%u tentativa de senha incorreta" +msgstr[1] "%u tentativas de senha incorreta" + +#: plugins/sudoers/logging.c:432 +msgid "authentication failure" +msgstr "falha de autenticação" + +#: plugins/sudoers/logging.c:472 plugins/sudoers/logging.c:492 +msgid "a password is required" +msgstr "uma senha é necessária" + +#: plugins/sudoers/logging.c:889 +#, c-format +msgid "unable to write log file: %s" +msgstr "não foi possível gravar no arquivo de log: %s" + +#: plugins/sudoers/match_digest.c:129 +#, c-format +msgid "digest for %s (%s) is not in %s form" +msgstr "digest de %s (%s) não está na forma %s" + +#: plugins/sudoers/parse.c:537 +#, c-format +msgid "" +"\n" +"LDAP Role: %s\n" +msgstr "" +"\n" +"Papel LDAP: %s\n" + +#: plugins/sudoers/parse.c:540 +msgid "" +"\n" +"Sudoers entry:\n" +msgstr "" +"\n" +"Entradas no sudoers:\n" + +#: plugins/sudoers/parse.c:542 +msgid " RunAsUsers: " +msgstr " UsuáriosRunAs: " + +#: plugins/sudoers/parse.c:557 +msgid " RunAsGroups: " +msgstr " GruposRunAs: " + +#: plugins/sudoers/parse.c:567 +msgid " Options: " +msgstr " Opções: " + +#: plugins/sudoers/parse.c:623 +msgid " Commands:\n" +msgstr " Comandos:\n" + +#: plugins/sudoers/parse.c:814 +#, c-format +msgid "Matching Defaults entries for %s on %s:\n" +msgstr "Entradas de Defaults correspondentes a %s em %s:\n" + +#: plugins/sudoers/parse.c:832 +#, c-format +msgid "Runas and Command-specific defaults for %s:\n" +msgstr "Padrão específico de comandos e \"runas\" de %s:\n" + +#: plugins/sudoers/parse.c:850 +#, c-format +msgid "User %s may run the following commands on %s:\n" +msgstr "Usuário %s pode executar os seguintes comandos em %s:\n" + +#: plugins/sudoers/parse.c:865 +#, c-format +msgid "User %s is not allowed to run sudo on %s.\n" +msgstr "Usuário %s não tem permissão para executar sudo em %s.\n" + +#: plugins/sudoers/parse_ldif.c:616 +#, c-format +msgid "ignoring incomplete sudoRole: cn: %s" +msgstr "ignorando sudoRole incompleto: cn: %s" + +#: plugins/sudoers/parse_ldif.c:676 +#, c-format +msgid "invalid LDIF attribute: %s" +msgstr "atributo LDIF inválido: %s" + +#: plugins/sudoers/policy.c:80 plugins/sudoers/policy.c:111 +#, c-format +msgid "invalid %.*s set by sudo front-end" +msgstr "%.*s inválido definido pelo front-end do sudo" + +#: plugins/sudoers/policy.c:320 plugins/sudoers/testsudoers.c:268 +msgid "unable to parse network address list" +msgstr "não foi possível analisar a lista de endereços de rede" + +#: plugins/sudoers/policy.c:471 +msgid "user name not set by sudo front-end" +msgstr "nome de usuário não definido pelo front-end do sudo" + +#: plugins/sudoers/policy.c:475 +msgid "user-ID not set by sudo front-end" +msgstr "ID de usuário não definido pelo front-end do sudo" + +#: plugins/sudoers/policy.c:479 +msgid "group-ID not set by sudo front-end" +msgstr "ID de grupo não definido pelo front-end do sudo" + +#: plugins/sudoers/policy.c:483 +msgid "host name not set by sudo front-end" +msgstr "nome da máquina não definido pelo front-end do sudo" + +#: plugins/sudoers/policy.c:685 +#, c-format +msgid "invalid working directory: %s" +msgstr "diretório de trabalho inválido: %s" + +#: plugins/sudoers/policy.c:861 +#, c-format +msgid "invalid chroot directory: %s" +msgstr "diretório de chroot inválido: %s" + +#: plugins/sudoers/policy.c:996 plugins/sudoers/visudo.c:229 +#: plugins/sudoers/visudo.c:851 +#, c-format +msgid "unable to execute %s" +msgstr "não foi possível executar %s" + +#: plugins/sudoers/policy.c:1066 plugins/sudoers/policy.c:1103 +#: plugins/sudoers/policy.c:1125 plugins/sudoers/policy.c:1151 +#, c-format +msgid "%s: invalid mode flags from sudo front end: 0x%x" +msgstr "%s: opções de modo inválidas pelo front-end do sudo: 0x%x" + +#: plugins/sudoers/policy.c:1182 +#, c-format +msgid "Sudoers policy plugin version %s\n" +msgstr "Versão de plug-in de política do sudoers %s\n" + +#: plugins/sudoers/policy.c:1184 +#, c-format +msgid "Sudoers file grammar version %d\n" +msgstr "Versão de gramática de arquivo do sudoers %d\n" + +#: plugins/sudoers/policy.c:1188 +#, c-format +msgid "" +"\n" +"Sudoers path: %s\n" +msgstr "" +"\n" +"Caminho do sudoers: %s\n" + +#: plugins/sudoers/policy.c:1191 +#, c-format +msgid "nsswitch path: %s\n" +msgstr "caminho do nsswitch: %s\n" + +#: plugins/sudoers/policy.c:1193 +#, c-format +msgid "ldap.conf path: %s\n" +msgstr "caminho do ldap.conf: %s\n" + +#: plugins/sudoers/policy.c:1194 +#, c-format +msgid "ldap.secret path: %s\n" +msgstr "caminho do ldap.secret: %s\n" + +#: plugins/sudoers/policy.c:1227 +#, c-format +msgid "unable to register hook of type %d (version %d.%d)" +msgstr "não foi possível registrar hook do tipo %d (versão %d.%d)" + +#: plugins/sudoers/policy.c:1245 +#, c-format +msgid "unable to deregister hook of type %d (version %d.%d)" +msgstr "não foi possível cancelar registro de hook do tipo %d (versão %d.%d)" + +#: plugins/sudoers/pwutil.c:218 plugins/sudoers/pwutil.c:236 +#, c-format +msgid "unable to cache uid %u" +msgstr "não foi possível fazer cache de uid %u" + +#: plugins/sudoers/pwutil.c:230 +#, c-format +msgid "unable to cache uid %u, already exists" +msgstr "não foi possível fazer cache de uid %u, já existe" + +#: plugins/sudoers/pwutil.c:290 plugins/sudoers/pwutil.c:308 +#: plugins/sudoers/pwutil.c:371 plugins/sudoers/pwutil.c:416 +#, c-format +msgid "unable to cache user %s" +msgstr "não foi possível fazer cache de usuário %s" + +#: plugins/sudoers/pwutil.c:303 +#, c-format +msgid "unable to cache user %s, already exists" +msgstr "não foi possível fazer cache de usuário %s, já existe" + +#: plugins/sudoers/pwutil.c:535 plugins/sudoers/pwutil.c:553 +#, c-format +msgid "unable to cache gid %u" +msgstr "não foi possível fazer cache de gid %u" + +#: plugins/sudoers/pwutil.c:547 +#, c-format +msgid "unable to cache gid %u, already exists" +msgstr "não foi possível fazer cache de gid %u, já existe" + +#: plugins/sudoers/pwutil.c:601 plugins/sudoers/pwutil.c:619 +#: plugins/sudoers/pwutil.c:680 plugins/sudoers/pwutil.c:729 +#, c-format +msgid "unable to cache group %s" +msgstr "não foi possível fazer cache de grupo %s" + +#: plugins/sudoers/pwutil.c:614 +#, c-format +msgid "unable to cache group %s, already exists" +msgstr "não foi possível fazer cache de grupo %s, já existe" + +#: plugins/sudoers/pwutil.c:876 plugins/sudoers/pwutil.c:927 +#: plugins/sudoers/pwutil.c:977 plugins/sudoers/pwutil.c:1029 +#, c-format +msgid "unable to cache group list for %s, already exists" +msgstr "não foi possível fazer cache da lista de grupos de %s, já existe" + +#: plugins/sudoers/pwutil.c:882 plugins/sudoers/pwutil.c:932 +#: plugins/sudoers/pwutil.c:983 plugins/sudoers/pwutil.c:1034 +#, c-format +msgid "unable to cache group list for %s" +msgstr "não foi fazer cache de lista de grupos para %s" + +#: plugins/sudoers/pwutil.c:921 +#, c-format +msgid "unable to parse groups for %s" +msgstr "não foi possível analisar grupos de %s" + +#: plugins/sudoers/pwutil.c:1023 +#, c-format +msgid "unable to parse gids for %s" +msgstr "não foi possível analisar os gids de %s" + +#: plugins/sudoers/set_perms.c:114 plugins/sudoers/set_perms.c:445 +#: plugins/sudoers/set_perms.c:852 plugins/sudoers/set_perms.c:1162 +#: plugins/sudoers/set_perms.c:1460 +msgid "perm stack overflow" +msgstr "estouro da pilha de permissões" + +#: plugins/sudoers/set_perms.c:125 plugins/sudoers/set_perms.c:376 +#: plugins/sudoers/set_perms.c:456 plugins/sudoers/set_perms.c:719 +#: plugins/sudoers/set_perms.c:863 plugins/sudoers/set_perms.c:1086 +#: plugins/sudoers/set_perms.c:1173 plugins/sudoers/set_perms.c:1393 +#: plugins/sudoers/set_perms.c:1471 plugins/sudoers/set_perms.c:1562 +msgid "perm stack underflow" +msgstr "esvaziamento da pilha de permissões" + +#: plugins/sudoers/set_perms.c:185 plugins/sudoers/set_perms.c:503 +#: plugins/sudoers/set_perms.c:1227 plugins/sudoers/set_perms.c:1505 +msgid "unable to change to root gid" +msgstr "não foi possível alterar gid de root" + +#: plugins/sudoers/set_perms.c:276 plugins/sudoers/set_perms.c:600 +#: plugins/sudoers/set_perms.c:995 plugins/sudoers/set_perms.c:1304 +msgid "unable to change to runas gid" +msgstr "não foi possível alterar para gid de \"runas\"" + +#: plugins/sudoers/set_perms.c:281 plugins/sudoers/set_perms.c:605 +#: plugins/sudoers/set_perms.c:1000 plugins/sudoers/set_perms.c:1309 +msgid "unable to set runas group vector" +msgstr "não foi possível definir vetor de grupo de \"runas\"" + +#: plugins/sudoers/set_perms.c:292 plugins/sudoers/set_perms.c:616 +#: plugins/sudoers/set_perms.c:1009 plugins/sudoers/set_perms.c:1318 +msgid "unable to change to runas uid" +msgstr "não foi possível alterar para uid de \"runas\"" + +#: plugins/sudoers/set_perms.c:310 plugins/sudoers/set_perms.c:634 +#: plugins/sudoers/set_perms.c:1025 plugins/sudoers/set_perms.c:1334 +msgid "unable to change to sudoers gid" +msgstr "não foi possível alterar para gid de sudoers" + +#: plugins/sudoers/set_perms.c:363 plugins/sudoers/set_perms.c:706 +#: plugins/sudoers/set_perms.c:1073 plugins/sudoers/set_perms.c:1380 +#: plugins/sudoers/set_perms.c:1549 +msgid "too many processes" +msgstr "processos demais" + +#: plugins/sudoers/solaris_audit.c:61 +msgid "unable to get current working directory" +msgstr "não foi possível definir diretório de trabalho atual" + +#: plugins/sudoers/solaris_audit.c:69 +#, c-format +msgid "truncated audit path user_cmnd: %s" +msgstr "caminho de auditoria truncado user_cmnd: %s" + +#: plugins/sudoers/solaris_audit.c:76 +#, c-format +msgid "truncated audit path argv[0]: %s" +msgstr "caminho de auditoria truncado argv[0]: %s" + +#: plugins/sudoers/sssd.c:572 +msgid "unable to initialize SSS source. Is SSSD installed on your machine?" +msgstr "não foi possível inicializar a fonte SSS. SSSD está instalado em sua máquina?" + +#: plugins/sudoers/sssd.c:580 plugins/sudoers/sssd.c:589 +#: plugins/sudoers/sssd.c:598 plugins/sudoers/sssd.c:607 +#: plugins/sudoers/sssd.c:616 +#, c-format +msgid "unable to find symbol \"%s\" in %s" +msgstr "não foi possível localizar símbolo \"%s\" em %s" + +#: plugins/sudoers/sudoers.c:166 plugins/sudoers/sudoers.c:174 +#: plugins/sudoers/sudoers.c:228 plugins/sudoers/sudoers.c:249 +#: plugins/sudoers/sudoers.c:1040 +msgid "problem with defaults entries" +msgstr "problema com o entradas padrão" + +#: plugins/sudoers/sudoers.c:253 +msgid "no valid sudoers sources found, quitting" +msgstr "nenhuma fonte de sudoers válida encontrada; saindo" + +#: plugins/sudoers/sudoers.c:327 +#, c-format +msgid "user not allowed to change root directory to %s" +msgstr "usuário sem permissão para alterar o diretório raiz para %s" + +#: plugins/sudoers/sudoers.c:329 +#, c-format +msgid "you are not permitted to use the -R option with %s" +msgstr "você não tem permissão para usar a opção -R com %s" + +#: plugins/sudoers/sudoers.c:354 +#, c-format +msgid "user not allowed to change directory to %s" +msgstr "usuário sem permissão para alterar o diretório para %s" + +#: plugins/sudoers/sudoers.c:355 +#, c-format +msgid "you are not permitted to use the -D option with %s" +msgstr "você não tem permissão para usar a opção -D com %s" + +#: plugins/sudoers/sudoers.c:382 +msgid "no command specified" +msgstr "nenhum comando especificado" + +#: plugins/sudoers/sudoers.c:407 +msgid "sudoers specifies that root is not allowed to sudo" +msgstr "sudoers especifica que o root não tem permissão para usar sudo" + +#: plugins/sudoers/sudoers.c:457 +msgid "user not allowed to override closefrom limit" +msgstr "usuário sem permissão para substituir o limite closefrom" + +#: plugins/sudoers/sudoers.c:458 +msgid "you are not permitted to use the -C option" +msgstr "você não tem permissão para usar a opção -C" + +#: plugins/sudoers/sudoers.c:518 +#, c-format +msgid "timestamp owner (%s): No such user" +msgstr "dono da marca de tempo (%s): Usuário inexistente" + +#: plugins/sudoers/sudoers.c:533 +msgid "no tty" +msgstr "nenhum tty" + +#: plugins/sudoers/sudoers.c:534 +msgid "sorry, you must have a tty to run sudo" +msgstr "sinto muito, você deve ter um tty para executar sudo" + +#: plugins/sudoers/sudoers.c:541 +#, c-format +msgid "invalid shell for user %s: %s" +msgstr "shell inválido para o usuário %s: %s" + +#: plugins/sudoers/sudoers.c:624 +msgid "command in current directory" +msgstr "comando no diretório atual" + +#: plugins/sudoers/sudoers.c:643 +msgid "user not allowed to set a command timeout" +msgstr "usuário sem permissão para definir um tempo limite de comando" + +#: plugins/sudoers/sudoers.c:645 +msgid "sorry, you are not allowed set a command timeout" +msgstr "sinto muito, você não tem permissão para definir um tempo limite de comando" + +#: plugins/sudoers/sudoers.c:653 +msgid "user not allowed to preserve the environment" +msgstr "usuário sem permissão para preservar o ambiente" + +#: plugins/sudoers/sudoers.c:655 +msgid "sorry, you are not allowed to preserve the environment" +msgstr "sinto muito, você não tem permissão para preservar o ambiente" + +#: plugins/sudoers/sudoers.c:989 +msgid "command too long" +msgstr "comando muito grande" + +#: plugins/sudoers/sudoers.c:1028 +msgid "sudoedit doesn't need to be run via sudo" +msgstr "sudoedit não precisa ser executado via sudo" + +#: plugins/sudoers/sudoers.c:1087 plugins/sudoers/sudoreplay.c:1568 +#: plugins/sudoers/tsdump.c:138 +#, c-format +msgid "unable to read %s" +msgstr "não foi possível ler %s" + +#: plugins/sudoers/sudoers.c:1112 plugins/sudoers/visudo.c:426 +#: plugins/sudoers/visudo.c:720 +#, c-format +msgid "unable to stat %s" +msgstr "não foi possível obter o estado de %s" + +#: plugins/sudoers/sudoers.c:1116 plugins/sudoers/visudo.c:1009 +#, c-format +msgid "%s is not a regular file" +msgstr "%s não é um arquivo comum" + +#: plugins/sudoers/sudoers.c:1120 plugins/sudoers/timestamp.c:252 toke.l:1148 +#, c-format +msgid "%s is owned by uid %u, should be %u" +msgstr "%s tem como dono o uid %u, deveria ser %u" + +#: plugins/sudoers/sudoers.c:1124 toke.l:1153 +#, c-format +msgid "%s is world writable" +msgstr "%s é gravável globalmente" + +#: plugins/sudoers/sudoers.c:1128 toke.l:1156 +#, c-format +msgid "%s is owned by gid %u, should be %u" +msgstr "%s tem como dono o gid %u, deveria ser %u" + +#: plugins/sudoers/sudoers.c:1161 +#, c-format +msgid "only root can use \"-c %s\"" +msgstr "apenas o root pode usar \"-c %s\"" + +#: plugins/sudoers/sudoers.c:1180 +#, c-format +msgid "unknown login class %s" +msgstr "classe de login desconhecida %s" + +#: plugins/sudoers/sudoers.c:1266 plugins/sudoers/sudoers.c:1281 +#, c-format +msgid "unable to resolve host %s" +msgstr "não foi possível resolver máquina %s" + +#: plugins/sudoers/sudoreplay.c:259 +#, c-format +msgid "invalid filter option: %s" +msgstr "opção de filtro inválida: %s" + +#: plugins/sudoers/sudoreplay.c:275 +#, c-format +msgid "invalid max wait: %s" +msgstr "espera máxima inválida: %s" + +#: plugins/sudoers/sudoreplay.c:298 +#, c-format +msgid "invalid speed factor: %s" +msgstr "fator de velocidade inválido: %s" + +#: plugins/sudoers/sudoreplay.c:333 +#, c-format +msgid "invalid time offset %s" +msgstr "deslocamento de tempo inválido %s" + +# timing é o nome do arquivo gerado pelo sudo; não traduzir. +#: plugins/sudoers/sudoreplay.c:342 +#, c-format +msgid "%s/%.2s/%.2s/%.2s: %s" +msgstr "%s/%.2s/%.2s/%.2s: %s" + +# timing é o nome do arquivo gerado pelo sudo; não traduzir. +#: plugins/sudoers/sudoreplay.c:347 +#, c-format +msgid "%s/timing: %s" +msgstr "%s/timing: %s" + +#: plugins/sudoers/sudoreplay.c:375 +#, c-format +msgid "Replaying sudo session: %s" +msgstr "Reproduzindo sessão de sudo: %s" + +#: plugins/sudoers/sudoreplay.c:637 +msgid "unable to set tty to raw mode" +msgstr "não foi possível definir o tty para modo raw" + +#: plugins/sudoers/sudoreplay.c:688 +msgid "Warning: your terminal is too small to properly replay the log.\n" +msgstr "Aviso: seu terminal é muito pequeno para reproduzir adequadamente o log.\n" + +#: plugins/sudoers/sudoreplay.c:689 +#, c-format +msgid "Log geometry is %d x %d, your terminal's geometry is %d x %d." +msgstr "Geometria do log é %d x %d; geometria do seu terminal é %d x %d." + +#: plugins/sudoers/sudoreplay.c:717 +msgid "Replay finished, press any key to restore the terminal." +msgstr "Reprodução finalizada, pressione qualquer tecla para restaurar o terminal." + +#: plugins/sudoers/sudoreplay.c:1218 plugins/sudoers/sudoreplay.c:1248 +#, c-format +msgid "ambiguous expression \"%s\"" +msgstr "expressão ambígua \"%s\"" + +#: plugins/sudoers/sudoreplay.c:1270 +msgid "unmatched ')' in expression" +msgstr "\")\" não coincidente na expressão" + +#: plugins/sudoers/sudoreplay.c:1274 +#, c-format +msgid "unknown search term \"%s\"" +msgstr "termo de pesquisa desconhecido \"%s\"" + +#: plugins/sudoers/sudoreplay.c:1289 +#, c-format +msgid "%s requires an argument" +msgstr "%s requer um argumento" + +#: plugins/sudoers/sudoreplay.c:1292 plugins/sudoers/sudoreplay.c:1544 +#, c-format +msgid "invalid regular expression: %s" +msgstr "expressão regular inválida: %s" + +#: plugins/sudoers/sudoreplay.c:1297 +#, c-format +msgid "could not parse date \"%s\"" +msgstr "não foi possível analisar a data \"%s\"" + +#: plugins/sudoers/sudoreplay.c:1306 +msgid "unmatched '(' in expression" +msgstr "\"(\" sem correspondente na expressão" + +#: plugins/sudoers/sudoreplay.c:1308 +msgid "illegal trailing \"or\"" +msgstr "fim de linha ilegal com \"or\"" + +#: plugins/sudoers/sudoreplay.c:1310 +msgid "illegal trailing \"!\"" +msgstr "fim de linha ilegal com \"!\"" + +#: plugins/sudoers/sudoreplay.c:1368 +#, c-format +msgid "unknown search type %d" +msgstr "tipo de pesquisa desconhecido %d" + +#: plugins/sudoers/sudoreplay.c:1635 +#, c-format +msgid "usage: %s [-hnRS] [-d dir] [-m num] [-s num] ID\n" +msgstr "uso: %s [-hnRS] [-d diretório] [-m número] [-s número] ID\n" + +#: plugins/sudoers/sudoreplay.c:1638 +#, c-format +msgid "usage: %s [-h] [-d dir] -l [search expression]\n" +msgstr "uso: %s [-h] [-d diretório] -l [expressão de pesquisa]\n" + +#: plugins/sudoers/sudoreplay.c:1647 +#, c-format +msgid "" +"%s - replay sudo session logs\n" +"\n" +msgstr "" +"%s - reproduz logs de sessão do sudo\n" +"\n" + +#: plugins/sudoers/sudoreplay.c:1649 +msgid "" +"\n" +"Options:\n" +" -d, --directory=dir specify directory for session logs\n" +" -f, --filter=filter specify which I/O type(s) to display\n" +" -h, --help display help message and exit\n" +" -l, --list list available session IDs, with optional expression\n" +" -m, --max-wait=num max number of seconds to wait between events\n" +" -n, --non-interactive no prompts, session is sent to the standard output\n" +" -R, --no-resize do not attempt to re-size the terminal\n" +" -S, --suspend-wait wait while the command was suspended\n" +" -s, --speed=num speed up or slow down output\n" +" -V, --version display version information and exit" +msgstr "" +"\n" +"Opções:\n" +" -d, --directory=dir especifica o diretório dos logs de sessão\n" +" -f, --filter=filtro especifica qual o tipo de E/S para exibir\n" +" -h, --help exibe mensagem de ajuda e sai\n" +" -l, --list lista IDs de sessão disponíveis, podendo ser filtrado\n" +" com uso opcional de expressão regular\n" +" -m, --max-wait=núm número máximo, em segundos, de espera entre eventos\n" +" -n, --non-interactive sem interação, a sessão é enviada para a saída padrão\n" +" -R, --no-resize não tenta redimensionar o terminal\n" +" -S, --suspend-wait aguarda enquanto o comando estava suspenso\n" +" -s, --speed=núm aumenta ou diminui a velocidade da saída\n" +" -V, --version exibe a informação da versão e sai" + +#: plugins/sudoers/testsudoers.c:344 +msgid "\thost unmatched" +msgstr "\tmáquina sem correspondente" + +#: plugins/sudoers/testsudoers.c:347 +msgid "" +"\n" +"Command allowed" +msgstr "" +"\n" +"Comando permitido" + +#: plugins/sudoers/testsudoers.c:348 +msgid "" +"\n" +"Command denied" +msgstr "" +"\n" +"Comando negado" + +#: plugins/sudoers/testsudoers.c:348 +msgid "" +"\n" +"Command unmatched" +msgstr "" +"\n" +"Comando sem correspondente" + +#: plugins/sudoers/timestamp.c:260 +#, c-format +msgid "%s is group writable" +msgstr "%s é gravável pelo grupo" + +#: plugins/sudoers/timestamp.c:328 plugins/sudoers/timestamp.c:663 +#, c-format +msgid "unable to truncate time stamp file to %lld bytes" +msgstr "não foi possível truncar o arquivo de marca de tempo para %lld bytes" + +#: plugins/sudoers/timestamp.c:860 +msgid "ignoring time stamp from the future" +msgstr "ignorado marca de tempo no futuro" + +#: plugins/sudoers/timestamp.c:883 +#, c-format +msgid "time stamp too far in the future: %20.20s" +msgstr "marca de tempo muito a frente no futuro: %20.20s" + +#: plugins/sudoers/timestamp.c:1005 +#, c-format +msgid "unable to lock time stamp file %s" +msgstr "não foi possível travar o arquivo de marca de tempo %s" + +#: plugins/sudoers/timestamp.c:1049 plugins/sudoers/timestamp.c:1069 +#, c-format +msgid "lecture status path too long: %s/%s" +msgstr "caminho de status de instruções muito longo: %s/%s" + +#: plugins/sudoers/toke_util.c:150 +msgid "sudoedit should not be specified with a path" +msgstr "sudoedit não deve ser especificado com um caminho" + +#: plugins/sudoers/visudo.c:224 +msgid "the -x option will be removed in a future release" +msgstr "a opção -x será removida em um lançamento futuro" + +#: plugins/sudoers/visudo.c:226 +msgid "please consider using the cvtsudoers utility instead" +msgstr "por favor, em vez disso, considere usar o utilitário cvtsudoers" + +#: plugins/sudoers/visudo.c:277 plugins/sudoers/visudo.c:653 +#, c-format +msgid "press return to edit %s: " +msgstr "pressione enter para editar %s: " + +#: plugins/sudoers/visudo.c:338 +#, c-format +msgid "specified editor (%s) doesn't exist" +msgstr "editor especificado (%s) não existe" + +#: plugins/sudoers/visudo.c:340 +#, c-format +msgid "no editor found (editor path = %s)" +msgstr "nenhum editor encontrado (caminho do editor = %s)" + +#: plugins/sudoers/visudo.c:446 plugins/sudoers/visudo.c:454 +msgid "write error" +msgstr "erro de escrita" + +#: plugins/sudoers/visudo.c:500 +#, c-format +msgid "unable to stat temporary file (%s), %s unchanged" +msgstr "não foi possível obter estado de arquivo temporário (%s), %s sem alteração" + +#: plugins/sudoers/visudo.c:507 +#, c-format +msgid "zero length temporary file (%s), %s unchanged" +msgstr "arquivo de temporário (%s) com comprimento zero, %s sem alteração" + +#: plugins/sudoers/visudo.c:513 +#, c-format +msgid "editor (%s) failed, %s unchanged" +msgstr "editor (%s) falhou, %s sem alteração" + +#: plugins/sudoers/visudo.c:535 +#, c-format +msgid "%s unchanged" +msgstr "%s sem alteração" + +#: plugins/sudoers/visudo.c:592 +#, c-format +msgid "unable to re-open temporary file (%s), %s unchanged." +msgstr "não foi possível reabrir arquivo temporário (%s), %s sem alteração." + +#: plugins/sudoers/visudo.c:604 +#, c-format +msgid "unable to parse temporary file (%s), unknown error" +msgstr "não foi possível analisar arquivo temporário (%s), erro desconhecido" + +#: plugins/sudoers/visudo.c:642 +#, c-format +msgid "internal error, unable to find %s in list!" +msgstr "erro interno, não foi possível localizar %s na lista!" + +#: plugins/sudoers/visudo.c:722 plugins/sudoers/visudo.c:731 +#, c-format +msgid "unable to set (uid, gid) of %s to (%u, %u)" +msgstr "não foi possível definir (uid, gid) de %s para (%u, %u)" + +#: plugins/sudoers/visudo.c:754 +#, c-format +msgid "%s and %s not on the same file system, using mv to rename" +msgstr "%s e %s não estão no mesmo sistema de arquivos, usando mv para renomear" + +#: plugins/sudoers/visudo.c:765 +#, c-format +msgid "command failed: '%s %s %s', %s unchanged" +msgstr "comando \"%s %s %s\" falhou, %s sem alteração" + +#: plugins/sudoers/visudo.c:775 +#, c-format +msgid "error renaming %s, %s unchanged" +msgstr "erro ao renomear %s, %s sem alteração" + +#: plugins/sudoers/visudo.c:796 +msgid "What now? " +msgstr "Agora o que? " + +#: plugins/sudoers/visudo.c:810 +msgid "" +"Options are:\n" +" (e)dit sudoers file again\n" +" e(x)it without saving changes to sudoers file\n" +" (Q)uit and save changes to sudoers file (DANGER!)\n" +msgstr "" +"Opções são:\n" +" (e)dit - editar arquivos sudoers novamente\n" +" e(x)it - sair sem salvar alterações no arquivo sudoers\n" +" (Q)uit - sair e salvar alterações no arquivo sudoers (PERIGO!)\n" + +#: plugins/sudoers/visudo.c:856 +#, c-format +msgid "unable to run %s" +msgstr "não foi possível executar %s" + +#: plugins/sudoers/visudo.c:886 +#, c-format +msgid "%s: wrong owner (uid, gid) should be (%u, %u)\n" +msgstr "%s: dono (uid, gid) incorreto; deveria ser (%u, %u)\n" + +#: plugins/sudoers/visudo.c:893 +#, c-format +msgid "%s: bad permissions, should be mode 0%o\n" +msgstr "%s: permissões incorretas; deveria estar no modo 0%o\n" + +#: plugins/sudoers/visudo.c:942 plugins/sudoers/visudo.c:949 +#, c-format +msgid "%s: parsed OK\n" +msgstr "%s: análise OK\n" + +#: plugins/sudoers/visudo.c:968 +#, c-format +msgid "%s busy, try again later" +msgstr "%s ocupado, tente novamente" + +#: plugins/sudoers/visudo.c:972 +msgid "Edit anyway? [y/N]" +msgstr "Editar mesmo assim? [y/N]" + +#: plugins/sudoers/visudo.c:1068 +#, c-format +msgid "Warning: %s:%d:%d: unused %s \"%s\"" +msgstr "Aviso: %s:%d:%d: %s não usado \"%s\"" + +#: plugins/sudoers/visudo.c:1184 +#, c-format +msgid "" +"%s - safely edit the sudoers file\n" +"\n" +msgstr "" +"%s - edita o arquivo sudoers com segurança\n" +"\n" + +#: plugins/sudoers/visudo.c:1186 +msgid "" +"\n" +"Options:\n" +" -c, --check check-only mode\n" +" -f, --file=sudoers specify sudoers file location\n" +" -h, --help display help message and exit\n" +" -q, --quiet less verbose (quiet) syntax error messages\n" +" -s, --strict strict syntax checking\n" +" -V, --version display version information and exit\n" +msgstr "" +"\n" +"Opções:\n" +" -c, --check modo de verificação, apenas\n" +" -f, --file=sudoers especifica localização do arquivo sudoers\n" +" -h, --help exibe uma mensagem de ajuda e sai\n" +" -q, --quiet mensagens de erro de sintaxe menos detalhada\n" +" -s, --strict verificação rigorosa de sintaxe\n" +" -V, --version exibe a informação da versão e sai\n" + +#: toke.l:187 +msgid "empty string" +msgstr "string vazia" + +#: toke.l:199 toke.l:513 +msgid "empty group" +msgstr "grupo vazio" + +#: toke.l:209 toke.l:511 +msgid "empty netgroup" +msgstr "netgroup vazio" + +#: toke.l:305 toke.l:317 toke.l:329 toke.l:345 toke.l:364 toke.l:404 +msgid "invalid line continuation" +msgstr "continuação de linha inválida" + +#: toke.l:550 toke.l:562 +msgid "invalid IPv6 address" +msgstr "endereço IPv6 inválido" + +#: toke.l:789 +msgid "unexpected line break in string" +msgstr "quebra de linha inesperada na string" + +#: toke.l:1119 +msgid "too many levels of includes" +msgstr "níveis de inclusões demais" + +#~ msgid "unable to get TLS server method: %s" +#~ msgstr "não foi possível obter o método do servidor TLS: %s" + +#~ msgid "%s:%d unknown key: %s" +#~ msgstr "%s:%d chave desconhecida: %s" + +#~ msgid "%s:%u unable to parse \"%s\"" +#~ msgstr "%s:%u não foi possível analisar \"%s\"" + +#~ msgid "" +#~ "\n" +#~ "Options:\n" +#~ " -f, --file path to configuration file\n" +#~ " -h --help display help message and exit\n" +#~ " -n, --no-fork do not fork, run in the foreground\n" +#~ " -R, --random-drop percent chance connections will drop\n" +#~ " -V, --version display version information and exit\n" +#~ msgstr "" +#~ "\n" +#~ "Opções:\n" +#~ " -f, --file caminho para o arquivo de configuração\n" +#~ " -h, --help exibe uma mensagem de ajuda e sai\n" +#~ " -n, --no-fork não faz fork, executa em primeiro plano\n" +#~ " -R, --random-drop chance em porcentagem das conexões caírem\n" +#~ " -V, --version exibe a informação da versão e sai\n" + +#~ msgid "" +#~ "\n" +#~ "Options:\n" +#~ " --help display help message and exit\n" +#~ " -A, --accept only send an accept event (no I/O)\n" +#~ " -h, --host host to send logs to\n" +#~ " -i, --iolog_id remote ID of I/O log to be resumed\n" +#~ " -p, --port port to use when connecting to host\n" +#~ " -r, --restart restart previous I/O log transfer\n" +#~ " -R, --reject reject the command with the given reason\n" +#~ " -b, --ca-bundle certificate bundle file to verify server's cert against\n" +#~ " -c, --cert certificate file for TLS handshake\n" +#~ " -k, --key private key file\n" +#~ " -n, --no-verify do not verify server certificate\n" +#~ " -t, --test test audit server by sending selected I/O log n times in parallel\n" +#~ " -V, --version display version information and exit\n" +#~ msgstr "" +#~ "\n" +#~ "Opções:\n" +#~ " --help exibe mensagem de ajuda e sai\n" +#~ " -A, --accept só envia um evento de aceite (sem E/S)\n" +#~ " -h, --host máquina a ser enviado logs\n" +#~ " -i, --iolog_id ID remoto do log de E/S para ser resumido\n" +#~ " -p, --port porta para usar ao conectar à máquina\n" +#~ " -r, --restart reinicia transferência anterior de log de E/S\n" +#~ " -R, --reject rejeita a comando com o motivo dado\n" +#~ " -b, --ca-bundle arquivo de pacote de certificados para verificar\n" +#~ " o certificado do servidor\n" +#~ " -c, --cert arquivo de certificado para negociação TLS\n" +#~ " -k, --key arquivo de chave privada\n" +#~ " -n, --no-verify não verifica o certificado do servidor\n" +#~ " -t, --test teste o servidor de auditoria enviando o log de\n" +#~ " E/S selecionado n vezes em paralelo\n" +#~ " -V, --version exibe informações de versão e sai\n" + +#~ msgid "Preload the dummy exec functions contained in the sudo_noexec library" +#~ msgstr "Pré-carrega as funções de exec de teste contidas na biblioteca sudo_noexec" + +#~ msgid "sudo_ldap_conf_add_ports: port too large" +#~ msgstr "sudo_ldap_conf_add_ports: porta muito grande" + +#~ msgid "SSL_connect failed: ssl_error=%d, stack=%s\n" +#~ msgstr "SSL_connect falhou: ssl_error=%d, stack=%s\n" + +#~ msgid "CA bundle file was not specified" +#~ msgstr "O arquivo de pacote de AC não foi especificado" + +#~ msgid "Client certificate was not specified" +#~ msgstr "O certificado do cliente não foi especificado" + +#~| msgid "%s: unable to allocate options: %s" +#~ msgid "Unable to allocate ssl object: %s\n" +#~ msgstr "Não foi possível alocar objeto ssl: %s" + +#, fuzzy +#~| msgid "timeout value too large" +#~ msgid "client message too large: %zu\n" +#~ msgstr "valor de timeout grande demais" + +#, fuzzy +#~| msgid "Send mail if the user is not in sudoers" +#~ msgid "CA bundle file is not set in sudoers" +#~ msgstr "Envia correio se o usuário não estiver no sudoers" + +#, fuzzy +#~| msgid "Send mail if the user is not in sudoers" +#~ msgid "Signed certificate file is not set in sudoers" +#~ msgstr "Envia correio se o usuário não estiver no sudoers" + +#, fuzzy +#~| msgid "unknown search type %d" +#~ msgid "unknown address family: %d" +#~ msgstr "tipo de pesquisa desconhecido %d" + +#~ msgid "audit_failure message too long" +#~ msgstr "mensagem de audit_failure muito grande" + +#~ msgid "No user or host" +#~ msgstr "nenhum usuário ou máquina" + +#~ msgid "validation failure" +#~ msgstr "falha de validação" + +# timing é o nome do arquivo gerado pelo sudo; não traduzir. +#~ msgid "%s/%s/timing: %s" +#~ msgstr "%s/%s/timing: %s" + +#~ msgid "ignoring invalid attribute value: %s" +#~ msgstr "ignorando valor de atributo inválido: %s" + +#~ msgid "unable to cache user %s, out of memory" +#~ msgstr "não foi possível fazer cache de usuário %s, memória insuficiente" + +#~ msgid "unable to cache group %s, out of memory" +#~ msgstr "não foi possível fazer cache de grupo %s, memória insuficiente" + +#~ msgid "unable to cache group list for %s, out of memory" +#~ msgstr "não foi possível fazer cache da lista de grupos de %s, memória insuficiente" + +#~ msgid "" +#~ "\n" +#~ "LDAP Role: UNKNOWN\n" +#~ msgstr "" +#~ "\n" +#~ "Papel LDAP: DESCONHECIDO\n" + +#~ msgid " Order: %s\n" +#~ msgstr " Ordem: %s\n" + +#~ msgid "" +#~ "\n" +#~ "SSSD Role: %s\n" +#~ msgstr "" +#~ "\n" +#~ "Papel SSSD: %s\n" + +#~ msgid "" +#~ "\n" +#~ "SSSD Role: UNKNOWN\n" +#~ msgstr "" +#~ "\n" +#~ "Papel SSSD: DESCONHECIDO\n" + +#~ msgid "Warning: cycle in %s `%s'" +#~ msgstr "Aviso: ciclo em %s \"%s\"" + +#~ msgid "Warning: unused %s `%s'" +#~ msgstr "Aviso: %s não usado \"%s\"" + +#~ msgid "timestamp path too long: %s/%s" +#~ msgstr "caminho de marca de tempo muito longo: %s/%s" + +#~ msgid "unable to stat editor (%s)" +#~ msgstr "não foi possível obter estado do editor (%s)" + +# Mantive, pois hostbuf é uma variável do plugins/sudoers/ldap.c +#~ msgid "sudo_ldap_conf_add_ports: out of space expanding hostbuf" +#~ msgstr "sudo_ldap_conf_add_ports: sem espaço para expansão de hostbuf" + +# Mantive, pois hostbuf é uma variável do plugins/sudoers/ldap.c +#~ msgid "sudo_ldap_parse_uri: out of space building hostbuf" +#~ msgstr "sudo_ldap_parse_uri: sem espaço na construção de hostbuf" + +#~ msgid "sudo_ldap_build_pass1 allocation mismatch" +#~ msgstr "alocação de sudo_ldap_build_pass1 não confere" + +#~ msgid "Password:" +#~ msgstr "Senha:" + +#~ msgid "internal error: insufficient space for log line" +#~ msgstr "erro interno: espaço insuficiente para linha de log" + +#~ msgid "fill_args: buffer overflow" +#~ msgstr "fill_args: estouro de buffer" + +#~ msgid "%s owned by uid %u, should be uid %u" +#~ msgstr "%s tem como dono o uid %u, deveria ser uid %u" + +#~ msgid "%s writable by non-owner (0%o), should be mode 0700" +#~ msgstr "%s gravável por não-dono (0%o); deveria estar no modo 0700" + +#~ msgid "%s exists but is not a regular file (0%o)" +#~ msgstr "%s existe, mas não é um arquivo comum (0%o)" + +#~ msgid "%s writable by non-owner (0%o), should be mode 0600" +#~ msgstr "%s gravável por não-dono (0%o); deveria estar no modo 0600" + +#~ msgid "unable to remove %s, will reset to the Unix epoch" +#~ msgstr "não foi possível remover %s, redefinindo para como estava no Unix" + +#~ msgid "unable to reset %s to the Unix epoch" +#~ msgstr "não foi possível redefinir %s para como estava no Unix" + +#~ msgid "value out of range" +#~ msgstr "valor fora da faixa" + +#~ msgid "unable to mix ldaps and starttls" +#~ msgstr "não foi possível misturar ldaps e starttls" + +#~ msgid "writing to standard output" +#~ msgstr "escrevendo para saída padrão" + +#~ msgid "too many parenthesized expressions, max %d" +#~ msgstr "parênteses de expressões demais, máximo %d" + +#~ msgid "getaudit: failed" +#~ msgstr "getaudit: falhou" + +#~ msgid "getauid: failed" +#~ msgstr "getauid: falhou" + +#~ msgid "au_to_subject: failed" +#~ msgstr "au_to_subject: falhou" + +#~ msgid "au_to_exec_args: failed" +#~ msgstr "au_to_exec_args: falhou" + +#~ msgid "au_to_return32: failed" +#~ msgstr "au_to_return32: falhou" + +#~ msgid "au_to_text: failed" +#~ msgstr "au_to_text: falhou" + +#~ msgid "nanosleep: tv_sec %ld, tv_nsec %ld" +#~ msgstr "nanosleep: tv_sec %ld, tv_nsec %ld" + +#~ msgid "pam_chauthtok: %s" +#~ msgstr "pam_chauthtok: %s" + +#~ msgid "pam_authenticate: %s" +#~ msgstr "pam_authenticate: %s" + +#~ msgid "getauid failed" +#~ msgstr "getauid falhou" + +#, fuzzy +#~ msgid "Unable to dlopen %s: %s" +#~ msgstr "não foi possível fazer dlopen %s: %s" diff --git a/plugins/sudoers/po/ro.mo b/plugins/sudoers/po/ro.mo new file mode 100644 index 0000000..0c0c9e6 Binary files /dev/null and b/plugins/sudoers/po/ro.mo differ diff --git a/plugins/sudoers/po/ro.po b/plugins/sudoers/po/ro.po new file mode 100644 index 0000000..1b56e07 --- /dev/null +++ b/plugins/sudoers/po/ro.po @@ -0,0 +1,4081 @@ +# Portable object template file for the sudoers plugin +# This file is put in the public domain. +# Todd C. Miller , 2011-2018 +# This file is distributed under the same license as the sudo package. +# +# Florentina Mușat , 2020. +# Remus-Gabriel Chelu , 2022, 2023. +# +# Cronologia traducerii fișierului „sudoers”: +# Traducera inițială, făcută de FM, pentru versiunea sudoers 1.9.2rc1. +# Actualizare a algoritmului formelor de plural (de la „trei-vechi” la „patru”, experimental). +# Actualizare a traducerii pentru versiunea 1.9.10b1, făcută de R-GC. +# Actualizare a traducerii pentru versiunea 1.9.11b1, făcută de R-GC. +# Actualizare a traducerii pentru versiunea 1.9.12b2, făcută de R-GC. +# Actualizare a traducerii pentru versiunea 1.9.13b2, făcută de R-GC. +# Actualizare a traducerii pentru versiunea Y, făcută de X, Z(anul). +# +msgid "" +msgstr "" +"Project-Id-Version: sudoers 1.9.13b2\n" +"Report-Msgid-Bugs-To: https://bugzilla.sudo.ws\n" +"POT-Creation-Date: 2023-01-24 13:11-0700\n" +"PO-Revision-Date: 2023-01-26 20:05+0100\n" +"Last-Translator: Remus-Gabriel Chelu \n" +"Language-Team: Romanian \n" +"Language: ro\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=4; plural=((n==1) ? 0 : (n==2) ? 1 : (n==0 || (n%100 > 0 && n%100 < 20)) ? 2 : 3);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.2.2\n" + +#: confstr.sh:1 gram.y:1220 plugins/sudoers/logging.c:866 +msgid "syntax error" +msgstr "eroare de sintaxă" + +#: confstr.sh:2 +msgid "%p's password: " +msgstr "parola lui %p: " + +#: confstr.sh:3 +msgid "[sudo] password for %p: " +msgstr "[sudo] parola pentru %p: " + +#: confstr.sh:4 +msgid "Password: " +msgstr "Parola: " + +#: confstr.sh:5 +msgid "*** SECURITY information for %h ***" +msgstr "*** Informații de SECURITATE pentru %h ***" + +#: confstr.sh:6 +msgid "Sorry, try again." +msgstr "Încercați din nou." + +#: gram.y:237 gram.y:304 gram.y:313 gram.y:322 gram.y:332 gram.y:342 +#: gram.y:366 gram.y:393 gram.y:402 gram.y:410 gram.y:419 gram.y:428 +#: gram.y:502 gram.y:512 gram.y:524 gram.y:572 gram.y:581 gram.y:590 +#: gram.y:599 gram.y:731 gram.y:739 gram.y:750 gram.y:762 gram.y:781 +#: gram.y:944 gram.y:949 gram.y:957 gram.y:971 gram.y:977 gram.y:1099 +#: gram.y:1108 gram.y:1116 gram.y:1125 gram.y:1134 gram.y:1163 gram.y:1172 +#: gram.y:1180 gram.y:1280 gram.y:1410 gram.y:1777 gram.y:1827 +#: lib/eventlog/eventlog.c:235 lib/eventlog/eventlog.c:312 +#: lib/eventlog/eventlog.c:757 lib/eventlog/eventlog.c:834 +#: lib/eventlog/eventlog.c:1135 lib/iolog/iolog_filter.c:142 +#: lib/iolog/iolog_filter.c:202 lib/iolog/iolog_filter.c:233 +#: lib/iolog/iolog_json.c:150 lib/iolog/iolog_json.c:382 +#: lib/iolog/iolog_json.c:412 lib/iolog/iolog_legacy.c:100 +#: lib/iolog/iolog_legacy.c:111 lib/iolog/iolog_legacy.c:123 +#: lib/iolog/iolog_legacy.c:133 lib/iolog/iolog_legacy.c:139 +#: lib/iolog/iolog_loginfo.c:76 lib/iolog/iolog_loginfo.c:212 +#: logsrvd/iolog_writer.c:95 logsrvd/iolog_writer.c:100 +#: logsrvd/iolog_writer.c:134 logsrvd/iolog_writer.c:182 +#: logsrvd/iolog_writer.c:215 logsrvd/iolog_writer.c:225 +#: logsrvd/iolog_writer.c:254 logsrvd/iolog_writer.c:275 +#: logsrvd/iolog_writer.c:287 logsrvd/iolog_writer.c:297 +#: logsrvd/iolog_writer.c:307 logsrvd/iolog_writer.c:317 +#: logsrvd/iolog_writer.c:329 logsrvd/iolog_writer.c:364 +#: logsrvd/iolog_writer.c:370 logsrvd/iolog_writer.c:377 +#: logsrvd/iolog_writer.c:383 logsrvd/iolog_writer.c:567 +#: logsrvd/logsrv_util.c:69 logsrvd/logsrvd.c:301 logsrvd/logsrvd.c:310 +#: logsrvd/logsrvd.c:1050 logsrvd/logsrvd.c:1113 logsrvd/logsrvd.c:1582 +#: logsrvd/logsrvd.c:1587 logsrvd/logsrvd.c:1771 logsrvd/logsrvd.c:1988 +#: logsrvd/logsrvd_conf.c:357 logsrvd/logsrvd_conf.c:370 +#: logsrvd/logsrvd_conf.c:511 logsrvd/logsrvd_conf.c:534 +#: logsrvd/logsrvd_conf.c:538 logsrvd/logsrvd_conf.c:556 +#: logsrvd/logsrvd_conf.c:626 logsrvd/logsrvd_conf.c:650 +#: logsrvd/logsrvd_conf.c:678 logsrvd/logsrvd_conf.c:692 +#: logsrvd/logsrvd_conf.c:706 logsrvd/logsrvd_conf.c:720 +#: logsrvd/logsrvd_conf.c:734 logsrvd/logsrvd_conf.c:748 +#: logsrvd/logsrvd_conf.c:829 logsrvd/logsrvd_conf.c:1036 +#: logsrvd/logsrvd_conf.c:1053 logsrvd/logsrvd_conf.c:1448 +#: logsrvd/logsrvd_conf.c:1595 logsrvd/logsrvd_conf.c:1621 +#: logsrvd/logsrvd_conf.c:1633 logsrvd/logsrvd_conf.c:1640 +#: logsrvd/logsrvd_conf.c:1646 logsrvd/logsrvd_conf.c:1743 +#: logsrvd/logsrvd_journal.c:76 logsrvd/logsrvd_journal.c:216 +#: logsrvd/logsrvd_journal.c:217 logsrvd/logsrvd_journal.c:273 +#: logsrvd/logsrvd_journal.c:433 logsrvd/logsrvd_journal.c:435 +#: logsrvd/logsrvd_local.c:215 logsrvd/logsrvd_local.c:216 +#: logsrvd/logsrvd_local.c:278 logsrvd/logsrvd_local.c:279 +#: logsrvd/logsrvd_local.c:417 logsrvd/logsrvd_local.c:466 +#: logsrvd/logsrvd_local.c:467 logsrvd/logsrvd_local.c:472 +#: logsrvd/logsrvd_local.c:473 logsrvd/logsrvd_queue.c:159 +#: logsrvd/logsrvd_queue.c:189 logsrvd/logsrvd_queue.c:266 +#: logsrvd/logsrvd_relay.c:444 logsrvd/logsrvd_relay.c:743 +#: logsrvd/logsrvd_relay.c:850 logsrvd/sendlog.c:251 logsrvd/sendlog.c:260 +#: logsrvd/sendlog.c:291 logsrvd/sendlog.c:338 logsrvd/sendlog.c:615 +#: logsrvd/sendlog.c:1801 plugins/sudoers/audit.c:116 +#: plugins/sudoers/auth/bsdauth.c:150 plugins/sudoers/auth/kerb5.c:121 +#: plugins/sudoers/auth/kerb5.c:148 plugins/sudoers/auth/pam.c:687 +#: plugins/sudoers/auth/rfc1938.c:111 plugins/sudoers/auth/sia.c:59 +#: plugins/sudoers/check_aliases.c:168 plugins/sudoers/cvtsudoers.c:131 +#: plugins/sudoers/cvtsudoers.c:175 plugins/sudoers/cvtsudoers.c:192 +#: plugins/sudoers/cvtsudoers.c:203 plugins/sudoers/cvtsudoers.c:333 +#: plugins/sudoers/cvtsudoers.c:372 plugins/sudoers/cvtsudoers.c:392 +#: plugins/sudoers/cvtsudoers.c:537 plugins/sudoers/cvtsudoers.c:670 +#: plugins/sudoers/cvtsudoers.c:688 plugins/sudoers/cvtsudoers.c:862 +#: plugins/sudoers/cvtsudoers.c:870 plugins/sudoers/cvtsudoers.c:1365 +#: plugins/sudoers/cvtsudoers.c:1369 plugins/sudoers/cvtsudoers.c:1471 +#: plugins/sudoers/cvtsudoers_csv.c:183 plugins/sudoers/cvtsudoers_csv.c:246 +#: plugins/sudoers/cvtsudoers_json.c:76 plugins/sudoers/cvtsudoers_ldif.c:151 +#: plugins/sudoers/cvtsudoers_ldif.c:194 plugins/sudoers/cvtsudoers_ldif.c:235 +#: plugins/sudoers/cvtsudoers_ldif.c:300 plugins/sudoers/cvtsudoers_ldif.c:376 +#: plugins/sudoers/cvtsudoers_ldif.c:430 plugins/sudoers/cvtsudoers_ldif.c:438 +#: plugins/sudoers/cvtsudoers_ldif.c:449 plugins/sudoers/cvtsudoers_ldif.c:456 +#: plugins/sudoers/cvtsudoers_ldif.c:468 plugins/sudoers/cvtsudoers_ldif.c:481 +#: plugins/sudoers/cvtsudoers_ldif.c:489 plugins/sudoers/cvtsudoers_ldif.c:636 +#: plugins/sudoers/cvtsudoers_merge.c:47 plugins/sudoers/cvtsudoers_merge.c:52 +#: plugins/sudoers/cvtsudoers_merge.c:353 +#: plugins/sudoers/cvtsudoers_merge.c:399 +#: plugins/sudoers/cvtsudoers_merge.c:446 +#: plugins/sudoers/cvtsudoers_merge.c:467 +#: plugins/sudoers/cvtsudoers_merge.c:553 +#: plugins/sudoers/cvtsudoers_merge.c:564 +#: plugins/sudoers/cvtsudoers_merge.c:633 +#: plugins/sudoers/cvtsudoers_merge.c:1158 +#: plugins/sudoers/cvtsudoers_merge.c:1231 plugins/sudoers/defaults.c:434 +#: plugins/sudoers/defaults.c:658 plugins/sudoers/defaults.c:1019 +#: plugins/sudoers/defaults.c:1187 plugins/sudoers/editor.c:197 +#: plugins/sudoers/env.c:263 plugins/sudoers/exptilde.c:92 +#: plugins/sudoers/filedigest.c:54 plugins/sudoers/filedigest.c:70 +#: plugins/sudoers/gc.c:57 plugins/sudoers/group_plugin.c:212 +#: plugins/sudoers/interfaces.c:68 plugins/sudoers/iolog.c:268 +#: plugins/sudoers/iolog.c:668 plugins/sudoers/iolog.c:694 +#: plugins/sudoers/ldap.c:184 plugins/sudoers/ldap.c:466 +#: plugins/sudoers/ldap.c:757 plugins/sudoers/ldap.c:921 +#: plugins/sudoers/ldap.c:1337 plugins/sudoers/ldap.c:1763 +#: plugins/sudoers/ldap.c:1800 plugins/sudoers/ldap.c:2016 +#: plugins/sudoers/ldap.c:2117 plugins/sudoers/ldap.c:2133 +#: plugins/sudoers/ldap_conf.c:218 plugins/sudoers/ldap_conf.c:250 +#: plugins/sudoers/ldap_conf.c:302 plugins/sudoers/ldap_conf.c:338 +#: plugins/sudoers/ldap_conf.c:444 plugins/sudoers/ldap_conf.c:459 +#: plugins/sudoers/ldap_conf.c:564 plugins/sudoers/ldap_conf.c:597 +#: plugins/sudoers/ldap_conf.c:689 plugins/sudoers/ldap_conf.c:771 +#: plugins/sudoers/ldap_util.c:294 plugins/sudoers/ldap_util.c:301 +#: plugins/sudoers/ldap_util.c:614 plugins/sudoers/linux_audit.c:86 +#: plugins/sudoers/log_client.c:117 plugins/sudoers/log_client.c:402 +#: plugins/sudoers/log_client.c:715 plugins/sudoers/log_client.c:736 +#: plugins/sudoers/log_client.c:1415 plugins/sudoers/log_client.c:1536 +#: plugins/sudoers/log_client.c:1636 plugins/sudoers/log_client.c:1972 +#: plugins/sudoers/log_client.c:2031 plugins/sudoers/logging.c:110 +#: plugins/sudoers/logging.c:189 plugins/sudoers/logging.c:457 +#: plugins/sudoers/logging.c:672 plugins/sudoers/logging.c:809 +#: plugins/sudoers/match_command.c:335 plugins/sudoers/match_command.c:603 +#: plugins/sudoers/match_command.c:654 plugins/sudoers/match_command.c:728 +#: plugins/sudoers/match_command.c:776 plugins/sudoers/match_digest.c:93 +#: plugins/sudoers/parse.c:267 plugins/sudoers/parse.c:284 +#: plugins/sudoers/parse.c:303 plugins/sudoers/parse.c:322 +#: plugins/sudoers/parse.c:339 plugins/sudoers/parse.c:362 +#: plugins/sudoers/parse.c:373 plugins/sudoers/parse_ldif.c:153 +#: plugins/sudoers/parse_ldif.c:184 plugins/sudoers/parse_ldif.c:253 +#: plugins/sudoers/parse_ldif.c:261 plugins/sudoers/parse_ldif.c:266 +#: plugins/sudoers/parse_ldif.c:342 plugins/sudoers/parse_ldif.c:353 +#: plugins/sudoers/parse_ldif.c:380 plugins/sudoers/parse_ldif.c:397 +#: plugins/sudoers/parse_ldif.c:409 plugins/sudoers/parse_ldif.c:413 +#: plugins/sudoers/parse_ldif.c:427 plugins/sudoers/parse_ldif.c:484 +#: plugins/sudoers/parse_ldif.c:598 plugins/sudoers/parse_ldif.c:628 +#: plugins/sudoers/parse_ldif.c:653 plugins/sudoers/parse_ldif.c:711 +#: plugins/sudoers/parse_ldif.c:728 plugins/sudoers/parse_ldif.c:756 +#: plugins/sudoers/parse_ldif.c:763 plugins/sudoers/policy.c:626 +#: plugins/sudoers/policy.c:1033 plugins/sudoers/prompt.c:93 +#: plugins/sudoers/pwutil.c:199 plugins/sudoers/pwutil.c:270 +#: plugins/sudoers/pwutil.c:348 plugins/sudoers/pwutil.c:522 +#: plugins/sudoers/pwutil.c:587 plugins/sudoers/pwutil.c:659 +#: plugins/sudoers/pwutil.c:857 plugins/sudoers/pwutil.c:945 +#: plugins/sudoers/pwutil.c:993 plugins/sudoers/pwutil.c:1052 +#: plugins/sudoers/sssd.c:145 plugins/sudoers/sssd.c:185 +#: plugins/sudoers/sssd.c:414 plugins/sudoers/sssd.c:479 +#: plugins/sudoers/sssd.c:505 plugins/sudoers/sssd.c:568 +#: plugins/sudoers/sssd.c:761 plugins/sudoers/strvec_join.c:53 +#: plugins/sudoers/stubs.c:112 plugins/sudoers/stubs.c:120 +#: plugins/sudoers/sudoers.c:354 plugins/sudoers/sudoers.c:380 +#: plugins/sudoers/sudoers.c:447 plugins/sudoers/sudoers.c:464 +#: plugins/sudoers/sudoers.c:505 plugins/sudoers/sudoers.c:849 +#: plugins/sudoers/sudoers.c:902 plugins/sudoers/sudoers.c:1054 +#: plugins/sudoers/sudoers.c:1114 plugins/sudoers/sudoers.c:1369 +#: plugins/sudoers/sudoreplay.c:559 plugins/sudoers/sudoreplay.c:562 +#: plugins/sudoers/sudoreplay.c:1278 plugins/sudoers/sudoreplay.c:1334 +#: plugins/sudoers/sudoreplay.c:1530 plugins/sudoers/sudoreplay.c:1534 +#: plugins/sudoers/testsudoers.c:120 plugins/sudoers/testsudoers.c:224 +#: plugins/sudoers/testsudoers.c:241 plugins/sudoers/testsudoers.c:588 +#: plugins/sudoers/timestamp.c:451 plugins/sudoers/timestamp.c:495 +#: plugins/sudoers/timestamp.c:1017 plugins/sudoers/timestamp.c:1146 +#: plugins/sudoers/toke_util.c:78 plugins/sudoers/toke_util.c:106 +#: plugins/sudoers/toke_util.c:131 plugins/sudoers/toke_util.c:161 +#: plugins/sudoers/toke_util.c:200 plugins/sudoers/tsdump.c:123 +#: plugins/sudoers/visudo.c:150 plugins/sudoers/visudo.c:385 +#: plugins/sudoers/visudo.c:391 plugins/sudoers/visudo.c:502 +#: plugins/sudoers/visudo.c:1056 toke.l:1031 toke.l:1163 toke.l:1234 +msgid "unable to allocate memory" +msgstr "nu se poate aloca memoria" + +#: gram.y:623 +msgid "a digest requires a path name" +msgstr "tabelul sumelor de control necesită un nume de cale" + +#: gram.y:645 +msgid "values for \"CWD\" must start with a '/', '~', or '*'" +msgstr "valorile pentru „CWD” trebuie să înceapă cu un caracter: „/”, „~”, sau „*”" + +#: gram.y:651 +msgid "\"CWD\" path too long" +msgstr "calea „CWD” este prea lungă" + +#: gram.y:661 +msgid "values for \"CHROOT\" must start with a '/', '~', or '*'" +msgstr "valorile pentru „CHROOT” trebuie să înceapă cu un caracter: „/”, „~”, sau „*”" + +#: gram.y:667 +msgid "\"CHROOT\" path too long" +msgstr "calea „CHROOT” este prea lungă" + +#: gram.y:802 +#, c-format +msgid "syntax error, reserved word %s used as an alias name" +msgstr "eroare de sintaxă, cuvântul rezervat %s utilizat ca nume de alias" + +#: gram.y:825 +msgid "invalid notbefore value" +msgstr "valoare „notbefore” nevalidă" + +#: gram.y:834 +msgid "invalid notafter value" +msgstr "valoare „notafter” nevalidă" + +#: gram.y:844 plugins/sudoers/policy.c:385 +msgid "timeout value too large" +msgstr "limită de timp prea mare" + +#: gram.y:846 plugins/sudoers/policy.c:387 +msgid "invalid timeout value" +msgstr "valoare de limită de timp nevalidă" + +#: gram.y:967 plugins/sudoers/sudoers.c:1072 +msgid "command too long" +msgstr "comandă prea lungă" + +#: gram.y:1224 plugins/sudoers/check_aliases.c:96 +#: plugins/sudoers/defaults.c:1276 +#, c-format +msgid "%s:%d:%d: %s\n" +msgstr "%s:%d:%d: %s\n" + +#: gram.y:1278 +#, c-format +msgid "Alias \"%s\" already defined" +msgstr "Aliasul „%s” este deja definit" + +#: gram.y:1777 gram.y:1827 lib/eventlog/eventlog.c:235 +#: lib/eventlog/eventlog.c:757 lib/eventlog/eventlog.c:830 +#: lib/eventlog/eventlog.c:833 lib/eventlog/eventlog.c:1135 +#: lib/iolog/iolog_filter.c:142 lib/iolog/iolog_filter.c:202 +#: lib/iolog/iolog_filter.c:232 lib/iolog/iolog_json.c:150 +#: lib/iolog/iolog_json.c:381 lib/iolog/iolog_json.c:412 +#: lib/iolog/iolog_legacy.c:100 lib/iolog/iolog_legacy.c:111 +#: lib/iolog/iolog_legacy.c:123 lib/iolog/iolog_legacy.c:133 +#: lib/iolog/iolog_legacy.c:139 lib/iolog/iolog_loginfo.c:76 +#: lib/iolog/iolog_loginfo.c:212 logsrvd/iolog_writer.c:95 +#: logsrvd/iolog_writer.c:100 logsrvd/iolog_writer.c:134 +#: logsrvd/iolog_writer.c:171 logsrvd/iolog_writer.c:181 +#: logsrvd/iolog_writer.c:194 logsrvd/iolog_writer.c:214 +#: logsrvd/iolog_writer.c:224 logsrvd/iolog_writer.c:243 +#: logsrvd/iolog_writer.c:253 logsrvd/iolog_writer.c:264 +#: logsrvd/iolog_writer.c:274 logsrvd/iolog_writer.c:286 +#: logsrvd/iolog_writer.c:296 logsrvd/iolog_writer.c:306 +#: logsrvd/iolog_writer.c:316 logsrvd/iolog_writer.c:328 +#: logsrvd/iolog_writer.c:364 logsrvd/iolog_writer.c:370 +#: logsrvd/iolog_writer.c:377 logsrvd/iolog_writer.c:383 +#: logsrvd/iolog_writer.c:567 logsrvd/logsrv_util.c:69 logsrvd/logsrvd.c:301 +#: logsrvd/logsrvd.c:310 logsrvd/logsrvd.c:453 logsrvd/logsrvd.c:490 +#: logsrvd/logsrvd.c:522 logsrvd/logsrvd.c:576 logsrvd/logsrvd.c:611 +#: logsrvd/logsrvd.c:660 logsrvd/logsrvd.c:696 logsrvd/logsrvd.c:732 +#: logsrvd/logsrvd.c:1124 logsrvd/logsrvd.c:1439 logsrvd/logsrvd.c:1446 +#: logsrvd/logsrvd.c:1582 logsrvd/logsrvd.c:1587 logsrvd/logsrvd.c:1771 +#: logsrvd/logsrvd.c:1988 logsrvd/logsrvd_conf.c:357 +#: logsrvd/logsrvd_conf.c:370 logsrvd/logsrvd_conf.c:511 +#: logsrvd/logsrvd_conf.c:534 logsrvd/logsrvd_conf.c:538 +#: logsrvd/logsrvd_conf.c:556 logsrvd/logsrvd_conf.c:626 +#: logsrvd/logsrvd_conf.c:649 logsrvd/logsrvd_conf.c:678 +#: logsrvd/logsrvd_conf.c:692 logsrvd/logsrvd_conf.c:706 +#: logsrvd/logsrvd_conf.c:720 logsrvd/logsrvd_conf.c:734 +#: logsrvd/logsrvd_conf.c:748 logsrvd/logsrvd_conf.c:829 +#: logsrvd/logsrvd_conf.c:1036 logsrvd/logsrvd_conf.c:1053 +#: logsrvd/logsrvd_conf.c:1448 logsrvd/logsrvd_conf.c:1595 +#: logsrvd/logsrvd_conf.c:1621 logsrvd/logsrvd_conf.c:1633 +#: logsrvd/logsrvd_conf.c:1640 logsrvd/logsrvd_conf.c:1646 +#: logsrvd/logsrvd_conf.c:1742 logsrvd/logsrvd_journal.c:76 +#: logsrvd/logsrvd_journal.c:125 logsrvd/logsrvd_journal.c:216 +#: logsrvd/logsrvd_journal.c:246 logsrvd/logsrvd_journal.c:250 +#: logsrvd/logsrvd_journal.c:258 logsrvd/logsrvd_journal.c:281 +#: logsrvd/logsrvd_journal.c:285 logsrvd/logsrvd_journal.c:433 +#: logsrvd/logsrvd_local.c:215 logsrvd/logsrvd_local.c:278 +#: logsrvd/logsrvd_local.c:466 logsrvd/logsrvd_local.c:472 +#: logsrvd/logsrvd_local.c:491 logsrvd/logsrvd_queue.c:158 +#: logsrvd/logsrvd_queue.c:189 logsrvd/logsrvd_queue.c:266 +#: logsrvd/sendlog.c:251 logsrvd/sendlog.c:260 logsrvd/sendlog.c:291 +#: logsrvd/sendlog.c:338 logsrvd/sendlog.c:615 logsrvd/sendlog.c:1503 +#: logsrvd/sendlog.c:1510 logsrvd/sendlog.c:1733 logsrvd/sendlog.c:1801 +#: logsrvd/tls_init.c:305 logsrvd/tls_init.c:329 logsrvd/tls_init.c:340 +#: plugins/sudoers/audit.c:116 plugins/sudoers/auth/pam.c:502 +#: plugins/sudoers/auth/pam.c:687 plugins/sudoers/auth/rfc1938.c:111 +#: plugins/sudoers/check_aliases.c:168 plugins/sudoers/cvtsudoers.c:131 +#: plugins/sudoers/cvtsudoers.c:174 plugins/sudoers/cvtsudoers.c:191 +#: plugins/sudoers/cvtsudoers.c:202 plugins/sudoers/cvtsudoers.c:332 +#: plugins/sudoers/cvtsudoers.c:536 plugins/sudoers/cvtsudoers.c:669 +#: plugins/sudoers/cvtsudoers.c:687 plugins/sudoers/cvtsudoers.c:862 +#: plugins/sudoers/cvtsudoers.c:869 plugins/sudoers/cvtsudoers.c:1365 +#: plugins/sudoers/cvtsudoers.c:1369 plugins/sudoers/cvtsudoers.c:1471 +#: plugins/sudoers/cvtsudoers_csv.c:182 plugins/sudoers/cvtsudoers_csv.c:245 +#: plugins/sudoers/cvtsudoers_json.c:75 plugins/sudoers/cvtsudoers_ldif.c:150 +#: plugins/sudoers/cvtsudoers_ldif.c:193 plugins/sudoers/cvtsudoers_ldif.c:234 +#: plugins/sudoers/cvtsudoers_ldif.c:299 plugins/sudoers/cvtsudoers_ldif.c:375 +#: plugins/sudoers/cvtsudoers_ldif.c:429 plugins/sudoers/cvtsudoers_ldif.c:437 +#: plugins/sudoers/cvtsudoers_ldif.c:448 plugins/sudoers/cvtsudoers_ldif.c:455 +#: plugins/sudoers/cvtsudoers_ldif.c:467 plugins/sudoers/cvtsudoers_ldif.c:480 +#: plugins/sudoers/cvtsudoers_ldif.c:488 plugins/sudoers/cvtsudoers_ldif.c:635 +#: plugins/sudoers/cvtsudoers_merge.c:47 plugins/sudoers/cvtsudoers_merge.c:51 +#: plugins/sudoers/cvtsudoers_merge.c:353 +#: plugins/sudoers/cvtsudoers_merge.c:399 +#: plugins/sudoers/cvtsudoers_merge.c:445 +#: plugins/sudoers/cvtsudoers_merge.c:466 +#: plugins/sudoers/cvtsudoers_merge.c:553 +#: plugins/sudoers/cvtsudoers_merge.c:561 +#: plugins/sudoers/cvtsudoers_merge.c:564 +#: plugins/sudoers/cvtsudoers_merge.c:630 +#: plugins/sudoers/cvtsudoers_merge.c:633 +#: plugins/sudoers/cvtsudoers_merge.c:1157 +#: plugins/sudoers/cvtsudoers_merge.c:1231 plugins/sudoers/defaults.c:434 +#: plugins/sudoers/defaults.c:658 plugins/sudoers/defaults.c:1019 +#: plugins/sudoers/defaults.c:1187 plugins/sudoers/editor.c:197 +#: plugins/sudoers/env.c:263 plugins/sudoers/exptilde.c:92 +#: plugins/sudoers/filedigest.c:54 plugins/sudoers/filedigest.c:70 +#: plugins/sudoers/gc.c:57 plugins/sudoers/group_plugin.c:211 +#: plugins/sudoers/interfaces.c:68 plugins/sudoers/iolog.c:268 +#: plugins/sudoers/iolog.c:668 plugins/sudoers/iolog.c:694 +#: plugins/sudoers/ldap.c:184 plugins/sudoers/ldap.c:466 +#: plugins/sudoers/ldap.c:757 plugins/sudoers/ldap.c:921 +#: plugins/sudoers/ldap.c:1337 plugins/sudoers/ldap.c:1763 +#: plugins/sudoers/ldap.c:1800 plugins/sudoers/ldap.c:2016 +#: plugins/sudoers/ldap.c:2117 plugins/sudoers/ldap.c:2133 +#: plugins/sudoers/ldap_conf.c:218 plugins/sudoers/ldap_conf.c:250 +#: plugins/sudoers/ldap_conf.c:302 plugins/sudoers/ldap_conf.c:338 +#: plugins/sudoers/ldap_conf.c:444 plugins/sudoers/ldap_conf.c:459 +#: plugins/sudoers/ldap_conf.c:564 plugins/sudoers/ldap_conf.c:597 +#: plugins/sudoers/ldap_conf.c:688 plugins/sudoers/ldap_conf.c:771 +#: plugins/sudoers/ldap_util.c:293 plugins/sudoers/ldap_util.c:300 +#: plugins/sudoers/ldap_util.c:614 plugins/sudoers/linux_audit.c:86 +#: plugins/sudoers/log_client.c:117 plugins/sudoers/log_client.c:228 +#: plugins/sudoers/log_client.c:250 plugins/sudoers/log_client.c:264 +#: plugins/sudoers/log_client.c:402 plugins/sudoers/log_client.c:715 +#: plugins/sudoers/log_client.c:736 plugins/sudoers/log_client.c:1415 +#: plugins/sudoers/log_client.c:1536 plugins/sudoers/log_client.c:1636 +#: plugins/sudoers/log_client.c:1972 plugins/sudoers/log_client.c:2031 +#: plugins/sudoers/logging.c:110 plugins/sudoers/logging.c:188 +#: plugins/sudoers/logging.c:189 plugins/sudoers/logging.c:457 +#: plugins/sudoers/logging.c:672 plugins/sudoers/logging.c:809 +#: plugins/sudoers/logging.c:880 plugins/sudoers/logging.c:892 +#: plugins/sudoers/match_command.c:334 plugins/sudoers/match_command.c:602 +#: plugins/sudoers/match_command.c:653 plugins/sudoers/match_command.c:728 +#: plugins/sudoers/match_command.c:775 plugins/sudoers/match_digest.c:93 +#: plugins/sudoers/parse.c:266 plugins/sudoers/parse.c:283 +#: plugins/sudoers/parse.c:302 plugins/sudoers/parse.c:321 +#: plugins/sudoers/parse.c:338 plugins/sudoers/parse.c:361 +#: plugins/sudoers/parse.c:372 plugins/sudoers/parse_ldif.c:152 +#: plugins/sudoers/parse_ldif.c:183 plugins/sudoers/parse_ldif.c:252 +#: plugins/sudoers/parse_ldif.c:260 plugins/sudoers/parse_ldif.c:265 +#: plugins/sudoers/parse_ldif.c:341 plugins/sudoers/parse_ldif.c:352 +#: plugins/sudoers/parse_ldif.c:379 plugins/sudoers/parse_ldif.c:396 +#: plugins/sudoers/parse_ldif.c:408 plugins/sudoers/parse_ldif.c:412 +#: plugins/sudoers/parse_ldif.c:426 plugins/sudoers/parse_ldif.c:484 +#: plugins/sudoers/parse_ldif.c:598 plugins/sudoers/parse_ldif.c:627 +#: plugins/sudoers/parse_ldif.c:652 plugins/sudoers/parse_ldif.c:710 +#: plugins/sudoers/parse_ldif.c:727 plugins/sudoers/parse_ldif.c:755 +#: plugins/sudoers/parse_ldif.c:762 plugins/sudoers/policy.c:154 +#: plugins/sudoers/policy.c:163 plugins/sudoers/policy.c:172 +#: plugins/sudoers/policy.c:201 plugins/sudoers/policy.c:370 +#: plugins/sudoers/policy.c:385 plugins/sudoers/policy.c:387 +#: plugins/sudoers/policy.c:425 plugins/sudoers/policy.c:434 +#: plugins/sudoers/policy.c:482 plugins/sudoers/policy.c:492 +#: plugins/sudoers/policy.c:501 plugins/sudoers/policy.c:510 +#: plugins/sudoers/policy.c:519 plugins/sudoers/policy.c:626 +#: plugins/sudoers/policy.c:1033 plugins/sudoers/prompt.c:93 +#: plugins/sudoers/pwutil.c:199 plugins/sudoers/pwutil.c:270 +#: plugins/sudoers/pwutil.c:348 plugins/sudoers/pwutil.c:522 +#: plugins/sudoers/pwutil.c:587 plugins/sudoers/pwutil.c:659 +#: plugins/sudoers/pwutil.c:857 plugins/sudoers/pwutil.c:945 +#: plugins/sudoers/pwutil.c:993 plugins/sudoers/pwutil.c:1052 +#: plugins/sudoers/set_perms.c:363 plugins/sudoers/set_perms.c:706 +#: plugins/sudoers/set_perms.c:1073 plugins/sudoers/set_perms.c:1380 +#: plugins/sudoers/set_perms.c:1549 plugins/sudoers/sssd.c:144 +#: plugins/sudoers/sssd.c:185 plugins/sudoers/sssd.c:414 +#: plugins/sudoers/sssd.c:479 plugins/sudoers/sssd.c:505 +#: plugins/sudoers/sssd.c:568 plugins/sudoers/sssd.c:761 +#: plugins/sudoers/strvec_join.c:53 plugins/sudoers/stubs.c:112 +#: plugins/sudoers/stubs.c:120 plugins/sudoers/sudoers.c:354 +#: plugins/sudoers/sudoers.c:380 plugins/sudoers/sudoers.c:447 +#: plugins/sudoers/sudoers.c:464 plugins/sudoers/sudoers.c:505 +#: plugins/sudoers/sudoers.c:849 plugins/sudoers/sudoers.c:902 +#: plugins/sudoers/sudoers.c:1054 plugins/sudoers/sudoers.c:1114 +#: plugins/sudoers/sudoers.c:1369 plugins/sudoers/sudoreplay.c:559 +#: plugins/sudoers/sudoreplay.c:562 plugins/sudoers/sudoreplay.c:1278 +#: plugins/sudoers/sudoreplay.c:1334 plugins/sudoers/sudoreplay.c:1530 +#: plugins/sudoers/sudoreplay.c:1534 plugins/sudoers/testsudoers.c:120 +#: plugins/sudoers/testsudoers.c:224 plugins/sudoers/testsudoers.c:241 +#: plugins/sudoers/testsudoers.c:588 plugins/sudoers/timestamp.c:451 +#: plugins/sudoers/timestamp.c:495 plugins/sudoers/timestamp.c:1017 +#: plugins/sudoers/timestamp.c:1146 plugins/sudoers/toke_util.c:78 +#: plugins/sudoers/toke_util.c:106 plugins/sudoers/toke_util.c:131 +#: plugins/sudoers/toke_util.c:160 plugins/sudoers/toke_util.c:200 +#: plugins/sudoers/tsdump.c:123 plugins/sudoers/visudo.c:150 +#: plugins/sudoers/visudo.c:385 plugins/sudoers/visudo.c:391 +#: plugins/sudoers/visudo.c:502 plugins/sudoers/visudo.c:1056 toke.l:1031 +#: toke.l:1163 toke.l:1226 toke.l:1234 +#, c-format +msgid "%s: %s" +msgstr "%s: %s" + +#: lib/eventlog/eventlog.c:303 +#, c-format +msgid "unable to dup stdin: %m" +msgstr "nu se poate duplica stdin: %m" + +#: lib/eventlog/eventlog.c:345 +#, c-format +msgid "unable to execute %s: %m" +msgstr "nu se poate executa %s: %m" + +#: lib/eventlog/eventlog.c:393 plugins/sudoers/auth/aix_auth.c:198 +msgid "unable to fork" +msgstr "nu se poate executa fork()" + +#: lib/eventlog/eventlog.c:403 lib/eventlog/eventlog.c:468 +#, c-format +msgid "unable to fork: %m" +msgstr "nu se poate executa fork(): %m" + +#: lib/eventlog/eventlog.c:458 +#, c-format +msgid "unable to open pipe: %m" +msgstr "nu se poate deschide linia de legătură: %m" + +#: lib/eventlog/eventlog.c:960 +#, c-format +msgid "%8s : %s" +msgstr "%8s : %s" + +#: lib/eventlog/eventlog.c:989 +#, c-format +msgid "%8s : (command continued) %s" +msgstr "%8s : (comandă continuată) %s" + +#: lib/iolog/iolog_filter.c:133 plugins/sudoers/defaults.c:1242 +#: plugins/sudoers/sudoreplay.c:1290 plugins/sudoers/sudoreplay.c:1586 +#, c-format +msgid "invalid regular expression \"%s\": %s" +msgstr "expresie regulată nevalidă „%s”: %s" + +#: lib/iolog/iolog_json.c:140 +#, c-format +msgid "expected JSON_STRING, got %d" +msgstr "se aștepta JSON_STRING, s-a obținut %d" + +#: lib/iolog/iolog_json.c:145 +msgid "JSON_ARRAY too large" +msgstr "JSON_ARRAY este prea mare" + +#: lib/iolog/iolog_json.c:404 +msgid "missing double quote in name" +msgstr "lipsesc ghilimelele duble din nume" + +#: lib/iolog/iolog_json.c:511 +msgid "missing JSON_OBJECT" +msgstr "JSON_OBJECT lipsește" + +#: lib/iolog/iolog_json.c:515 +#, c-format +msgid "expected JSON_OBJECT, got %d" +msgstr "s-a așteptat JSON_OBJECT, s-a obținut %d" + +#: lib/iolog/iolog_json.c:632 +#, c-format +msgid "json stack exhausted (max %u frames)" +msgstr "stiva json a fost epuizată (maxim %u cadre)" + +#: lib/iolog/iolog_json.c:706 +msgid "objects must consist of name:value pairs" +msgstr "obiectele trebuie să fie formate din perechi nume:valoare" + +#: lib/iolog/iolog_json.c:711 lib/iolog/iolog_json.c:742 +#: lib/iolog/iolog_json.c:786 lib/iolog/iolog_json.c:808 +#: lib/iolog/iolog_json.c:830 lib/iolog/iolog_json.c:852 +#: lib/iolog/iolog_json.c:874 +msgid "missing separator between values" +msgstr "lipsește separatorul dintre valori" + +#: lib/iolog/iolog_json.c:726 lib/iolog/iolog_json.c:900 +msgid "unmatched close brace" +msgstr "acoladă de închidere desperecheată" + +#: lib/iolog/iolog_json.c:737 +msgid "unexpected array" +msgstr "matrice neașteptată" + +#: lib/iolog/iolog_json.c:757 lib/iolog/iolog_json.c:903 +msgid "unmatched close bracket" +msgstr "paranteză dreaptă închisă desperecheată" + +#: lib/iolog/iolog_json.c:768 +msgid "unexpected string" +msgstr "șir neașteptat" + +#: lib/iolog/iolog_json.c:779 +msgid "missing colon after name" +msgstr "lipsesc două puncte „:” după nume" + +#: lib/iolog/iolog_json.c:800 lib/iolog/iolog_json.c:822 +msgid "unexpected boolean" +msgstr "valoare boleană neașteptată" + +#: lib/iolog/iolog_json.c:844 +msgid "unexpected null" +msgstr "valoare null neașteptată" + +#: lib/iolog/iolog_json.c:865 +msgid "unexpected number" +msgstr "număr neașteptat" + +#: lib/iolog/iolog_json.c:912 +msgid "parse error" +msgstr "eroare de analizare" + +#: lib/iolog/iolog_legacy.c:65 +#, c-format +msgid "%s: invalid log file" +msgstr "%s: fișier de jurnal nevalid" + +#: lib/iolog/iolog_legacy.c:83 +#, c-format +msgid "%s: time stamp field is missing" +msgstr "%s: câmpul marcaj de timp lipsește" + +#: lib/iolog/iolog_legacy.c:89 +#, c-format +msgid "%s: time stamp %s: %s" +msgstr "%s: marcajul de timp %s: %s" + +#: lib/iolog/iolog_legacy.c:96 +#, c-format +msgid "%s: user field is missing" +msgstr "%s: câmpul utilizator lipsește" + +#: lib/iolog/iolog_legacy.c:107 +#, c-format +msgid "%s: runas user field is missing" +msgstr "%s: câmpul de utilizator efectiv (rulează ca utilizatorul X) lipsește" + +#: lib/iolog/iolog_legacy.c:118 +#, c-format +msgid "%s: runas group field is missing" +msgstr "%s: câmpul de grup efectiv (rulează ca grupul X) lipsește" + +#: lib/iolog/iolog_mkdirs.c:89 +#, c-format +msgid "%s exists but is not a directory (0%o)" +msgstr "%s există dar nu este un director (0%o)" + +#: lib/iolog/iolog_mkdirs.c:123 lib/iolog/iolog_mkdtemp.c:79 +#: logsrvd/iolog_writer.c:781 plugins/sudoers/timestamp.c:209 +#, c-format +msgid "unable to mkdir %s" +msgstr "nu s-a putut executa «mkdir», pentru a crea directorul %s" + +#: lib/iolog/iolog_mkdtemp.c:84 plugins/sudoers/visudo.c:757 +#: plugins/sudoers/visudo.c:791 plugins/sudoers/visudo.c:797 +#, c-format +msgid "unable to change mode of %s to 0%o" +msgstr "nu s-a putut modifica modul de acces de la %s la 0%o" + +#: lib/iolog/iolog_timing.c:261 +#, c-format +msgid "error reading timing file: %s" +msgstr "eroare la citirea fișierului de sincronizare: %s" + +#: lib/iolog/iolog_timing.c:268 +#, c-format +msgid "invalid timing file line: %s" +msgstr "linie de fișier de sincronizare nevalidă: %s" + +#: logsrvd/iolog_writer.c:65 +#, c-format +msgid "%s: protocol error: NULL key" +msgstr "%s: eroare de protocol: cheie nulă (NULL)" + +#: logsrvd/iolog_writer.c:69 +#, c-format +msgid "%s: protocol error: wrong type for %s" +msgstr "%s: eroare de protocol: tip incorect pentru %s" + +#: logsrvd/iolog_writer.c:74 logsrvd/logsrvd_local.c:109 +#: logsrvd/logsrvd_local.c:123 logsrvd/logsrvd_local.c:131 +#: logsrvd/logsrvd_local.c:149 +#, c-format +msgid "%s: protocol error: NULL value found in %s" +msgstr "%s: eroare de protocol: valoare nulă (NULL) găsită în %s" + +#: logsrvd/iolog_writer.c:141 plugins/sudoers/logging.c:980 +#: plugins/sudoers/policy.c:593 +msgid "unable to generate UUID" +msgstr "nu s-a putut genera UUID-ul" + +#: logsrvd/iolog_writer.c:341 logsrvd/iolog_writer.c:346 +#: logsrvd/iolog_writer.c:351 logsrvd/iolog_writer.c:356 +#, c-format +msgid "%s: protocol error: %s missing from AcceptMessage" +msgstr "%s: eroare de protocol: lipsește %s din AcceptMessage" + +#: logsrvd/iolog_writer.c:417 +#, c-format +msgid "%s: unable to format session id" +msgstr "%s: nu se poate formata ID-ul sesiunii" + +#: logsrvd/iolog_writer.c:431 logsrvd/iolog_writer.c:445 +#: logsrvd/iolog_writer.c:459 logsrvd/iolog_writer.c:474 +#: logsrvd/iolog_writer.c:488 logsrvd/iolog_writer.c:502 +#, c-format +msgid "%s: %s is not set" +msgstr "%s: %s nu este configurat" + +#: logsrvd/iolog_writer.c:538 logsrvd/iolog_writer.c:545 +#, c-format +msgid "unable to expand iolog path %s" +msgstr "nu se poate expanda calea către iolog %s" + +#: logsrvd/iolog_writer.c:563 +#, c-format +msgid "unable to create iolog path %s" +msgstr "nu se poate crea calea către iolog %s" + +#: logsrvd/iolog_writer.c:593 +#, c-format +msgid "invalid iofd %d" +msgstr "iofd nevalid: %d" + +#: logsrvd/iolog_writer.c:613 +#, c-format +msgid "error closing iofd %d: %s" +msgstr "eroare la închiderea iofd %d: %s" + +#: logsrvd/iolog_writer.c:633 +#, c-format +msgid "error flushing iofd %d: %s" +msgstr "eroare la golirea iofd %d: %s" + +#: logsrvd/iolog_writer.c:751 +#, c-format +msgid "invalid I/O log %s: %s referenced but not present" +msgstr "jurnal de In/Ieș nevalid %s: %s menționat, dar nu definit" + +#: logsrvd/iolog_writer.c:763 logsrvd/logsrvd_journal.c:385 +#, c-format +msgid "%s: unable to find resume point [%lld, %ld]" +msgstr "%s: nu se poate găsi punctul de reluare [%lld, %ld]" + +#: logsrvd/iolog_writer.c:785 logsrvd/logsrvd_journal.c:428 +#: logsrvd/logsrvd_queue.c:115 logsrvd/tls_init.c:256 +#: plugins/sudoers/check.c:292 plugins/sudoers/cvtsudoers.c:730 +#: plugins/sudoers/cvtsudoers.c:751 plugins/sudoers/cvtsudoers.c:1431 +#: plugins/sudoers/cvtsudoers_csv.c:695 plugins/sudoers/cvtsudoers_json.c:898 +#: plugins/sudoers/cvtsudoers_ldif.c:709 plugins/sudoers/sudoers.c:1152 +#: plugins/sudoers/sudoers.c:1182 plugins/sudoers/sudoreplay.c:1496 +#: plugins/sudoers/timestamp.c:460 plugins/sudoers/tsdump.c:128 +#: plugins/sudoers/visudo.c:975 +#, c-format +msgid "unable to open %s" +msgstr "nu se poate deschide %s" + +#: logsrvd/iolog_writer.c:797 logsrvd/logsrv_util.c:105 +#: logsrvd/logsrv_util.c:112 plugins/sudoers/sudoreplay.c:355 +#: plugins/sudoers/sudoreplay.c:361 +#, c-format +msgid "unable to open %s/%s" +msgstr "nu se poate deschide %s/%s" + +#: logsrvd/iolog_writer.c:810 +#, c-format +msgid "unable to copy %s/%s to %s/%s: %s" +msgstr "nu se poate copia %s/%s în %s/%s: %s" + +#: logsrvd/iolog_writer.c:839 logsrvd/logsrvd_journal.c:198 +#, c-format +msgid "unable to rename %s to %s" +msgstr "nu se poate redenumi %s în %s" + +#: logsrvd/logsrv_util.c:147 logsrvd/logsrv_util.c:176 +#, c-format +msgid "%s/%s: unable to find resume point [%lld, %ld]" +msgstr "%s/%s: nu se poate găsi punctul de reluare [%lld, %ld]" + +#: logsrvd/logsrv_util.c:159 +#, c-format +msgid "missing I/O log file %s/%s" +msgstr "lipsește fișierul jurnal de In/Ieș %s/%s" + +#: logsrvd/logsrv_util.c:166 +#, c-format +msgid "%s/%s: unable to seek forward %zu" +msgstr "%s/%s: nu se poate căuta mai departe %zu" + +#: logsrvd/logsrvd.c:271 logsrvd/logsrvd_queue.c:135 +msgid "unable to connect to relay" +msgstr "nu se poate conecta la releu" + +#: logsrvd/logsrvd.c:330 logsrvd/logsrvd_relay.c:842 +#, c-format +msgid "server message too large: %zu" +msgstr "mesajul serverului este prea mare: %zu" + +#: logsrvd/logsrvd.c:422 logsrvd/logsrvd.c:545 logsrvd/logsrvd.c:631 +#: logsrvd/logsrvd.c:873 logsrvd/logsrvd.c:887 logsrvd/logsrvd.c:1049 +#: logsrvd/logsrvd.c:1174 logsrvd/logsrvd.c:1347 logsrvd/logsrvd.c:1365 +#: logsrvd/logsrvd.c:1464 logsrvd/logsrvd.c:1589 logsrvd/logsrvd.c:1773 +#: logsrvd/logsrvd_journal.c:497 logsrvd/logsrvd_local.c:238 +#: logsrvd/logsrvd_queue.c:164 logsrvd/logsrvd_relay.c:172 +#: logsrvd/logsrvd_relay.c:249 logsrvd/logsrvd_relay.c:253 +#: logsrvd/logsrvd_relay.c:389 logsrvd/logsrvd_relay.c:581 +#: logsrvd/logsrvd_relay.c:742 logsrvd/logsrvd_relay.c:1131 +#: logsrvd/sendlog.c:1291 logsrvd/tls_client.c:136 logsrvd/tls_client.c:152 +#: logsrvd/tls_client.c:216 plugins/sudoers/audit.c:278 +#: plugins/sudoers/iolog.c:1031 plugins/sudoers/iolog.c:1164 +#: plugins/sudoers/iolog.c:1262 plugins/sudoers/log_client.c:121 +#: plugins/sudoers/log_client.c:343 plugins/sudoers/log_client.c:359 +#: plugins/sudoers/log_client.c:407 plugins/sudoers/log_client.c:611 +#: plugins/sudoers/log_client.c:618 plugins/sudoers/log_client.c:1103 +#: plugins/sudoers/log_client.c:1384 plugins/sudoers/log_client.c:1425 +#: plugins/sudoers/log_client.c:1433 plugins/sudoers/log_client.c:1592 +#: plugins/sudoers/log_client.c:1710 plugins/sudoers/log_client.c:2039 +#: plugins/sudoers/log_client.c:2047 plugins/sudoers/logging.c:147 +#: plugins/sudoers/logging.c:205 plugins/sudoers/sudoreplay.c:519 +#: plugins/sudoers/sudoreplay.c:566 plugins/sudoers/sudoreplay.c:808 +#: plugins/sudoers/sudoreplay.c:920 plugins/sudoers/sudoreplay.c:1011 +#: plugins/sudoers/sudoreplay.c:1026 plugins/sudoers/sudoreplay.c:1033 +#: plugins/sudoers/sudoreplay.c:1040 plugins/sudoers/sudoreplay.c:1047 +#: plugins/sudoers/sudoreplay.c:1054 plugins/sudoers/sudoreplay.c:1181 +msgid "unable to add event to queue" +msgstr "nu se poate adăuga evenimentul la coadă" + +#: logsrvd/logsrvd.c:446 logsrvd/logsrvd.c:483 logsrvd/logsrvd.c:515 +#: logsrvd/logsrvd.c:569 logsrvd/logsrvd.c:648 logsrvd/logsrvd.c:684 +#: logsrvd/logsrvd.c:720 logsrvd/logsrvd.c:756 logsrvd/logsrvd_relay.c:510 +#: logsrvd/logsrvd_relay.c:543 +#, c-format +msgid "unexpected state %d for %s" +msgstr "stare neașteptată %d pentru %s" + +#: logsrvd/logsrvd.c:447 logsrvd/logsrvd.c:484 logsrvd/logsrvd.c:516 +#: logsrvd/logsrvd.c:570 logsrvd/logsrvd.c:649 logsrvd/logsrvd.c:685 +#: logsrvd/logsrvd.c:721 logsrvd/logsrvd.c:757 logsrvd/logsrvd_relay.c:512 +#: logsrvd/logsrvd_relay.c:545 +msgid "state machine error" +msgstr "eroare de stare a mașinii" + +#: logsrvd/logsrvd.c:453 logsrvd/logsrvd.c:454 +msgid "invalid AcceptMessage" +msgstr "AcceptMessage nevalid" + +#: logsrvd/logsrvd.c:490 logsrvd/logsrvd.c:491 +msgid "invalid RejectMessage" +msgstr "RejectMessage nevalid" + +#: logsrvd/logsrvd.c:522 logsrvd/logsrvd.c:523 +msgid "invalid ExitMessage" +msgstr "ExitMessage nevalid" + +#: logsrvd/logsrvd.c:576 logsrvd/logsrvd.c:577 +msgid "invalid RestartMessage" +msgstr "RestartMessage nevalid" + +#: logsrvd/logsrvd.c:611 logsrvd/logsrvd.c:612 +msgid "invalid AlertMessage" +msgstr "AlertMessage nevalid" + +#: logsrvd/logsrvd.c:653 logsrvd/logsrvd.c:689 logsrvd/logsrvd.c:725 +#, c-format +msgid "%s: unexpected IoBuffer" +msgstr "%s: IoBuffer neașteptat" + +#: logsrvd/logsrvd.c:654 logsrvd/logsrvd.c:690 logsrvd/logsrvd.c:726 +msgid "protocol error" +msgstr "eroare de protocol" + +#: logsrvd/logsrvd.c:660 logsrvd/logsrvd.c:661 +msgid "invalid IoBuffer" +msgstr "IoBuffer nevalid" + +#: logsrvd/logsrvd.c:696 logsrvd/logsrvd.c:697 +msgid "invalid ChangeWindowSize" +msgstr "ChangeWindowSize nevalid" + +#: logsrvd/logsrvd.c:732 logsrvd/logsrvd.c:733 +msgid "invalid CommandSuspend" +msgstr "CommandSuspend nevalid" + +#: logsrvd/logsrvd.c:782 logsrvd/logsrvd_journal.c:296 +#: logsrvd/logsrvd_relay.c:652 logsrvd/sendlog.c:1192 +#: plugins/sudoers/log_client.c:1582 +#, c-format +msgid "unable to unpack %s size %zu" +msgstr "nu se poate despacheta %s cu dimensiunea %zu" + +#: logsrvd/logsrvd.c:827 logsrvd/logsrvd_journal.c:370 +#: logsrvd/logsrvd_relay.c:676 +#, c-format +msgid "unexpected type_case value %d in %s from %s" +msgstr "valoare type_case %d neașteptată în %s din %s" + +#: logsrvd/logsrvd.c:829 +msgid "unrecognized ClientMessage type" +msgstr "tip de ClientMessage nerecunoscut" + +#: logsrvd/logsrvd.c:919 +#, c-format +msgid "timed out writing to client %s" +msgstr "a expirat timpul de scriere la clientul %s" + +#: logsrvd/logsrvd.c:924 logsrvd/logsrvd_relay.c:914 logsrvd/sendlog.c:1395 +#, c-format +msgid "missing write buffer for client %s" +msgstr "lipsește memoria tampon de scriere pentru clientul %s" + +#: logsrvd/logsrvd.c:1020 +#, c-format +msgid "timed out reading from client %s" +msgstr "a expirat timpul de citire de la clientul %s" + +#: logsrvd/logsrvd.c:1061 logsrvd/logsrvd_relay.c:777 +#, c-format +msgid "EOF from %s without proper TLS shutdown" +msgstr "sfârșit de fișier de la %s fără închiderea corectă a TLS" + +#: logsrvd/logsrvd.c:1105 logsrvd/logsrvd_relay.c:205 logsrvd/sendlog.c:322 +#: plugins/sudoers/log_client.c:721 +#, c-format +msgid "client message too large: %zu" +msgstr "mesajul clientului este prea mare: %zu" + +#: logsrvd/logsrvd.c:1106 logsrvd/logsrvd_journal.c:259 +#: logsrvd/logsrvd_journal.c:260 +msgid "client message too large" +msgstr "mesajul clientului este prea mare" + +#: logsrvd/logsrvd.c:1124 logsrvd/logsrvd.c:1125 +msgid "invalid ClientMessage" +msgstr "ClientMessage nevalid" + +#: logsrvd/logsrvd.c:1425 +msgid "unable to get remote IP addr" +msgstr "nu se poate obține adresa IP de la distanță" + +#: logsrvd/logsrvd.c:1456 logsrvd/tls_client.c:203 +#: plugins/sudoers/log_client.c:281 +#, c-format +msgid "Unable to attach user data to the ssl object: %s" +msgstr "Nu se pot atașa datele utilizatorului la obiectul ssl: %s" + +#: logsrvd/logsrvd.c:1639 logsrvd/logsrvd.c:1992 +msgid "unable to setup listen socket" +msgstr "nu se poate configura soclul de ascultare" + +#: logsrvd/logsrvd.c:1756 +#, c-format +msgid "unexpected signal %d" +msgstr "semnal neașteptat %d" + +#: logsrvd/logsrvd.c:1894 +msgid "sudo log server" +msgstr "server de jurnal al sudo" + +#: logsrvd/logsrvd.c:1896 logsrvd/sendlog.c:121 +msgid "Options:" +msgstr "Opțiuni:" + +#: logsrvd/logsrvd.c:1898 +msgid "path to configuration file" +msgstr "calea către fișierul de configurare" + +#: logsrvd/logsrvd.c:1900 logsrvd/sendlog.c:123 +msgid "display help message and exit" +msgstr "afișează mesajul de ajutor și iese" + +#: logsrvd/logsrvd.c:1902 +msgid "do not fork, run in the foreground" +msgstr "nu se bifurcă, rulează în prim-plan" + +#: logsrvd/logsrvd.c:1904 +msgid "percent chance connections will drop" +msgstr "șansele procentuale de conexiuni vor scădea" + +#: logsrvd/logsrvd.c:1906 logsrvd/sendlog.c:153 +msgid "display version information and exit" +msgstr "afișează informațiile despre versiune și iese" + +#: logsrvd/logsrvd.c:1956 logsrvd/sendlog.c:1702 +msgid "Protobuf-C version 1.3 or higher required" +msgstr "Este necesară versiunea Protobuf-C 1.3 sau mai mare" + +#: logsrvd/logsrvd.c:1972 +#, c-format +msgid "invalid random drop value: %s" +msgstr "valoare nevalidă a probabilității de pierdere: %s" + +#: logsrvd/logsrvd.c:1975 logsrvd/sendlog.c:1756 +#: plugins/sudoers/cvtsudoers.c:246 plugins/sudoers/sudoreplay.c:294 +#: plugins/sudoers/visudo.c:182 +#, c-format +msgid "%s version %s\n" +msgstr "%s versiunea %s\n" + +#: logsrvd/logsrvd_conf.c:422 plugins/sudoers/check.c:358 +#: plugins/sudoers/exptilde.c:85 plugins/sudoers/iolog.c:122 +#: plugins/sudoers/policy.c:1271 plugins/sudoers/sudoers.c:512 +#: plugins/sudoers/sudoers.c:1411 plugins/sudoers/testsudoers.c:215 +#: plugins/sudoers/testsudoers.c:382 +#, c-format +msgid "unknown user %s" +msgstr "utilizator necunoscut %s" + +#: logsrvd/logsrvd_conf.c:439 plugins/sudoers/iolog.c:148 +#: plugins/sudoers/sudoers.c:517 plugins/sudoers/sudoers.c:1445 +#: plugins/sudoers/testsudoers.c:406 +#, c-format +msgid "unknown group %s" +msgstr "grup necunoscut %s" + +#: logsrvd/logsrvd_conf.c:457 +#, c-format +msgid "unable to parse iolog mode %s" +msgstr "nu se poate analiza modul iolog %s" + +#: logsrvd/logsrvd_conf.c:474 logsrvd/logsrvd_conf.c:1243 +#, c-format +msgid "invalid value for %s: %s" +msgstr "valoare nevalidă pentru %s: %s" + +#: logsrvd/logsrvd_conf.c:527 +msgid "TLS not supported" +msgstr "fără suport TLS" + +#: logsrvd/logsrvd_conf.c:549 +#, c-format +msgid "%s:%s" +msgstr "%s:%s" + +#: logsrvd/logsrvd_conf.c:622 logsrvd/logsrvd_conf.c:1032 +#, c-format +msgid "%s: not a fully qualified path" +msgstr "%s: nu este o cale complet calificată" + +#: logsrvd/logsrvd_conf.c:951 logsrvd/logsrvd_conf.c:967 +#: logsrvd/logsrvd_conf.c:1676 +#, c-format +msgid "unknown syslog facility %s" +msgstr "facilitate de syslog necunoscută %s" + +#: logsrvd/logsrvd_conf.c:983 logsrvd/logsrvd_conf.c:999 +#: logsrvd/logsrvd_conf.c:1015 logsrvd/logsrvd_conf.c:1680 +#: logsrvd/logsrvd_conf.c:1684 logsrvd/logsrvd_conf.c:1688 +#, c-format +msgid "unknown syslog priority %s" +msgstr "prioritate de syslog necunoscută %s" + +#: logsrvd/logsrvd_conf.c:1197 +#, c-format +msgid "%s:%d unmatched '[': %s" +msgstr "%s:%d „[” desperecheată: %s" + +#: logsrvd/logsrvd_conf.c:1203 +#, c-format +msgid "%s:%d garbage after ']': %s" +msgstr "%s:%d gunoi după „]”: %s" + +#: logsrvd/logsrvd_conf.c:1215 +#, c-format +msgid "%s:%d invalid config section: %s" +msgstr "%s:%d secțiune de configurare nevalidă: %s" + +#: logsrvd/logsrvd_conf.c:1223 +#, c-format +msgid "%s:%d invalid configuration line: %s" +msgstr "%s:%d linie de configurare nevalidă: %s" + +#: logsrvd/logsrvd_conf.c:1229 +#, c-format +msgid "%s:%d expected section name: %s" +msgstr "%s:%d nume de secțiune așteptat: %s" + +#: logsrvd/logsrvd_conf.c:1251 +#, c-format +msgid "%s:%d [%s] illegal key: %s" +msgstr "%s:%d [%s] cheie ilegală: %s" + +#: logsrvd/logsrvd_conf.c:1281 plugins/sudoers/cvtsudoers.c:268 +#: plugins/sudoers/logging.c:1033 +#, c-format +msgid "unable to open log file %s" +msgstr "nu se poate deschide fișierul de jurnal: %s" + +#: logsrvd/logsrvd_conf.c:1763 +msgid "unable to initialize server TLS context" +msgstr "nu se poate inițializa contextul TLS al serverului" + +#: logsrvd/logsrvd_conf.c:1783 +msgid "unable to initialize relay TLS context" +msgstr "nu se poate inițializa contextul TLS al releului" + +#: logsrvd/logsrvd_journal.c:149 logsrvd/logsrvd_journal.c:424 +#: logsrvd/logsrvd_journal.c:429 +msgid "unable to create journal file" +msgstr "nu se poate crea fișierul de jurnal" + +#: logsrvd/logsrvd_journal.c:153 logsrvd/logsrvd_queue.c:109 +#: plugins/sudoers/visudo.c:1028 +#, c-format +msgid "unable to lock %s" +msgstr "nu se poate bloca %s" + +#: logsrvd/logsrvd_journal.c:156 +msgid "unable to lock journal file" +msgstr "nu se poate bloca fișierul de jurnal" + +#: logsrvd/logsrvd_journal.c:164 +msgid "unable to open journal file" +msgstr "nu se poate deschide fișierul de jurnal" + +#: logsrvd/logsrvd_journal.c:185 logsrvd/logsrvd_journal.c:460 +#: logsrvd/logsrvd_journal.c:465 +msgid "unable to write journal file" +msgstr "nu se poate scrie fișierul de jurnal" + +#: logsrvd/logsrvd_journal.c:193 logsrvd/logsrvd_journal.c:200 +msgid "unable to rename journal file" +msgstr "nu se poate redenumi fișierul de jurnal" + +#: logsrvd/logsrvd_journal.c:247 logsrvd/logsrvd_journal.c:248 +#: logsrvd/logsrvd_journal.c:282 logsrvd/logsrvd_journal.c:283 +msgid "unexpected EOF reading journal file" +msgstr "sfârșit de fișier neașteptat la citirea fișierului de jurnal" + +#: logsrvd/logsrvd_journal.c:251 logsrvd/logsrvd_journal.c:252 +#: logsrvd/logsrvd_journal.c:286 logsrvd/logsrvd_journal.c:287 +msgid "error reading journal file" +msgstr "eroare la citirea fișierului de jurnal" + +#: logsrvd/logsrvd_journal.c:298 logsrvd/logsrvd_journal.c:384 +msgid "invalid journal file, unable to restart" +msgstr "fișier de jurnal nevalid, nu se poate reporni" + +#: logsrvd/logsrvd_journal.c:443 +#, c-format +msgid "unable to seek to [%lld, %ld] in journal file %s" +msgstr "nu se poate ajunge la poziția [%lld, %ld] din fișierul de jurnal %s" + +#: logsrvd/logsrvd_local.c:166 +#, c-format +msgid "unexpected value_case %d in %s from %s" +msgstr "value_case neașteptată %d în %s din %s" + +#: logsrvd/logsrvd_local.c:194 +msgid "error parsing AcceptMessage" +msgstr "eroare la analizarea AcceptMessage" + +#: logsrvd/logsrvd_local.c:205 +msgid "error creating I/O log" +msgstr "eroare la crearea jurnalului de In/Ieș" + +#: logsrvd/logsrvd_local.c:228 +msgid "error logging accept event" +msgstr "eroare la înregistrarea evenimentului de acceptare" + +#: logsrvd/logsrvd_local.c:267 +msgid "error parsing RejectMessage" +msgstr "eroare la analizarea RejectMessage" + +#: logsrvd/logsrvd_local.c:291 +msgid "error logging reject event" +msgstr "eroare la înregistrarea evenimentului de respingere" + +#: logsrvd/logsrvd_local.c:427 logsrvd/logsrvd_local.c:435 +msgid "error logging exit event" +msgstr "eroare la înregistrarea evenimentului de ieșire" + +#: logsrvd/logsrvd_local.c:492 logsrvd/logsrvd_local.c:493 +msgid "log is already complete, cannot be restarted" +msgstr "jurnalul este deja complet, nu poate fi repornit" + +#: logsrvd/logsrvd_local.c:523 +msgid "unable to restart log" +msgstr "nu se poate reporni jurnalizarea" + +#: logsrvd/logsrvd_local.c:539 +msgid "error parsing AlertMessage" +msgstr "eroare la analizarea AlertMessage" + +#: logsrvd/logsrvd_local.c:549 +msgid "error logging alert event" +msgstr "eroare la înregistrarea evenimentului de alertă" + +#: logsrvd/logsrvd_local.c:585 logsrvd/logsrvd_local.c:648 +#: logsrvd/logsrvd_local.c:683 +#, c-format +msgid "unable to format timing buffer, length %d" +msgstr "nu se poate formata memoria tampon de timp, lungime %d" + +#: logsrvd/logsrvd_local.c:599 logsrvd/logsrvd_local.c:607 +#: logsrvd/logsrvd_local.c:655 logsrvd/logsrvd_local.c:690 +#: plugins/sudoers/sudoreplay.c:344 +#, c-format +msgid "%s/%s: %s" +msgstr "%s/%s: %s" + +#: logsrvd/logsrvd_local.c:618 +msgid "randomly dropping connection" +msgstr "întreruperea aleatorie a conexiunii" + +#: logsrvd/logsrvd_local.c:630 +msgid "error writing IoBuffer" +msgstr "eroare la scrierea IoBuffer" + +#: logsrvd/logsrvd_local.c:665 +msgid "error writing ChangeWindowSize" +msgstr "eroare la scrierea ChangeWindowSize" + +#: logsrvd/logsrvd_local.c:700 +msgid "error writing CommandSuspend" +msgstr "eroare la scrierea CommandSuspend" + +#: logsrvd/logsrvd_relay.c:435 +msgid "TLS handshake with relay host failed" +msgstr "negocierea TLS cu gazda releu a eșuat" + +#: logsrvd/logsrvd_relay.c:463 +msgid "unable to connect to relay host" +msgstr "nu se poate conecta la gazda releu" + +# R-GC, scrie: +# după revizuirea fișierului, DȘ spune: +# «→ aici pare că lipsește un spațiu după cele două puncte.» +# *** +# corectare efectuată +#: logsrvd/logsrvd_relay.c:518 +#, c-format +msgid "%s: invalid ServerHello, missing server_id" +msgstr "%s: ServerHello nevalid, server_id lipsește" + +#: logsrvd/logsrvd_relay.c:520 logsrvd/sendlog.c:1096 +#: plugins/sudoers/log_client.c:1468 +msgid "invalid ServerHello" +msgstr "ServerHello nevalid" + +#: logsrvd/logsrvd_relay.c:679 +msgid "unrecognized ServerMessage type" +msgstr "tip de ServerMessage nerecunoscut" + +#: logsrvd/logsrvd_relay.c:708 +#, c-format +msgid "timed out reading from relay %s (%s)" +msgstr "a expirat limita de timp de citire de la releu %s (%s)" + +#: logsrvd/logsrvd_relay.c:710 +msgid "timeout reading from relay" +msgstr "a expirat limita de timp de citire de la releul" + +#: logsrvd/logsrvd_relay.c:762 +msgid "relay host name does not match certificate" +msgstr "numele gazdei releului nu se potrivește cu certificatul" + +#: logsrvd/logsrvd_relay.c:768 logsrvd/logsrvd_relay.c:782 +#: logsrvd/logsrvd_relay.c:789 +msgid "error reading from relay" +msgstr "eroare la citirea de la releu" + +#: logsrvd/logsrvd_relay.c:810 +msgid "unable to read from relay" +msgstr "nu se poate citi de la releu" + +#: logsrvd/logsrvd_relay.c:825 logsrvd/logsrvd_relay.c:943 +msgid "relay server closed connection" +msgstr "conexiune închisă a serverului de releu" + +#: logsrvd/logsrvd_relay.c:843 +msgid "server message too large" +msgstr "mesajul serverului este prea mare" + +#: logsrvd/logsrvd_relay.c:907 +#, c-format +msgid "timed out writing to relay %s (%s)" +msgstr "a expirat limita de timp la scrierea la releu %s (%s)" + +#: logsrvd/logsrvd_relay.c:909 +msgid "timeout writing to relay" +msgstr "a expirat limita de timp de scriere la releu" + +#: logsrvd/logsrvd_relay.c:962 logsrvd/logsrvd_relay.c:969 +#: logsrvd/logsrvd_relay.c:981 +msgid "error writing to relay" +msgstr "eroare la scrierea la releu" + +#: logsrvd/sendlog.c:119 +msgid "send sudo I/O log to remote server" +msgstr "trimite jurnalul de In/Ieș al «sudo» la serverul de la distanță" + +#: logsrvd/sendlog.c:125 +msgid "only send an accept event (no I/O)" +msgstr "trimite doar un eveniment de acceptare (fără In/Ieș)" + +#: logsrvd/sendlog.c:128 +msgid "certificate bundle file to verify server's cert against" +msgstr "fișierul pachet de certificate pentru a verifica certificatul serverului" + +#: logsrvd/sendlog.c:130 +msgid "certificate file for TLS handshake" +msgstr "fișier de certificat pentru negocierea TLS" + +#: logsrvd/sendlog.c:133 +msgid "host to send logs to" +msgstr "gazda la care se trimit jurnalele" + +#: logsrvd/sendlog.c:135 +msgid "remote ID of I/O log to be resumed" +msgstr "ID-ul de la distanță al jurnalului In/Ieș care urmează să fie reluat" + +#: logsrvd/sendlog.c:138 +msgid "private key file" +msgstr "fișier de cheie privată" + +#: logsrvd/sendlog.c:140 +msgid "do not verify server certificate" +msgstr "nu se verifică certificatul serverului" + +#: logsrvd/sendlog.c:143 +msgid "port to use when connecting to host" +msgstr "portul de utilizat atunci când vă conectați la gazdă" + +#: logsrvd/sendlog.c:145 +msgid "restart previous I/O log transfer" +msgstr "repornește transferul precedent de jurnal In/Ieș" + +#: logsrvd/sendlog.c:147 +msgid "reject the command with the given reason" +msgstr "respinge comanda cu motivul specificat" + +#: logsrvd/sendlog.c:149 +msgid "stop transfer after reaching this time" +msgstr "oprește transferul după ce s-a atins acest timp" + +#: logsrvd/sendlog.c:151 +msgid "test audit server by sending selected I/O log n times in parallel" +msgstr "testează serverul de auditare prin trimiterea jurnalului de In/Ieș selectat de n ori în paralel" + +#: logsrvd/sendlog.c:176 plugins/sudoers/log_client.c:453 +#, c-format +msgid "unable to look up %s:%s: %s" +msgstr "nu se poate căuta %s:%s: %s" + +#: logsrvd/sendlog.c:214 +msgid "unable to get server IP addr" +msgstr "nu se poate obține adresa IP a serverului" + +#: logsrvd/sendlog.c:300 plugins/sudoers/sudoreplay.c:868 +#, c-format +msgid "unable to read %s/%s: %s" +msgstr "nu se poate citi %s/%s: %s" + +#: logsrvd/sendlog.c:1020 plugins/sudoers/iolog.c:949 +#: plugins/sudoers/iolog.c:1024 +#, c-format +msgid "unexpected I/O event %d" +msgstr "eveniment de In/Ieș neașteptat %d" + +#: logsrvd/sendlog.c:1073 logsrvd/sendlog.c:1090 logsrvd/sendlog.c:1124 +#: plugins/sudoers/log_client.c:1118 plugins/sudoers/log_client.c:1394 +#: plugins/sudoers/log_client.c:1462 plugins/sudoers/log_client.c:1501 +#, c-format +msgid "%s: unexpected state %d" +msgstr "%s: stare neașteptată %d" + +#: logsrvd/sendlog.c:1160 plugins/sudoers/log_client.c:1550 +#, c-format +msgid "error message received from server: %s" +msgstr "mesaj de eroare primit de la server: %s" + +#: logsrvd/sendlog.c:1173 plugins/sudoers/log_client.c:1563 +#, c-format +msgid "abort message received from server: %s" +msgstr "mesaj de renunțare primit de la server: %s" + +#: logsrvd/sendlog.c:1232 plugins/sudoers/log_client.c:1613 +#, c-format +msgid "%s: unexpected type_case value %d" +msgstr "%s: valoare type_case neașteptată %d" + +#: logsrvd/sendlog.c:1261 +msgid "timeout reading from server" +msgstr "a expirat limita de timp de citire de la server" + +#: logsrvd/sendlog.c:1310 plugins/sudoers/log_client.c:1729 +msgid "host name does not match certificate" +msgstr "numele gazdei nu se potrivește cu certificatul" + +#: logsrvd/sendlog.c:1343 +msgid "premature EOF" +msgstr "sfârșit de fișier prematur" + +#: logsrvd/sendlog.c:1356 plugins/sudoers/log_client.c:1776 +#, c-format +msgid "server message too large: %u" +msgstr "mesajul serverului este prea mare: %u" + +#: logsrvd/sendlog.c:1412 +msgid "timeout writing to server" +msgstr "a expirat limita de timp de scriere la server" + +#: logsrvd/sendlog.c:1779 +msgid "both restart point and iolog ID must be specified" +msgstr "trebuie să fie specificat atît ID-ul iolog cît și punctul de repornire" + +#: logsrvd/sendlog.c:1783 +msgid "a restart point may not be set when no I/O is sent" +msgstr "un punct de repornire poate să nu fie stabilit când nicio In/Ieș nu este stabilită" + +#: logsrvd/sendlog.c:1859 +#, c-format +msgid "exited prematurely with state %d" +msgstr "a ieșit prematur cu starea %d" + +#: logsrvd/sendlog.c:1860 +#, c-format +msgid "elapsed time sent to server [%lld, %ld]" +msgstr "timpul scurs trimis la server [%lld, %ld]" + +#: logsrvd/sendlog.c:1862 +#, c-format +msgid "commit point received from server [%lld, %ld]" +msgstr "punctul de consemnare primit de la server [%lld, %ld]" + +#: logsrvd/tls_client.c:111 plugins/sudoers/log_client.c:315 +msgid "TLS handshake timeout occurred" +msgstr "a expirat limita de timp a negocierii TLS" + +#: logsrvd/tls_client.c:131 logsrvd/tls_client.c:147 +#: plugins/sudoers/log_client.c:337 plugins/sudoers/log_client.c:353 +msgid "unable to set event" +msgstr "nu s-a putut configura evenimentul" + +#: logsrvd/tls_client.c:157 logsrvd/tls_client.c:161 +#, c-format +msgid "TLS connection failed: %s" +msgstr "conexiunea TLS a eșuat: %s" + +#: logsrvd/tls_client.c:196 +#, c-format +msgid "unable to allocate ssl object: %s" +msgstr "nu s-a putut aloca obiectul ssl: %s" + +#: logsrvd/tls_client.c:210 +#, c-format +msgid "Unable to attach socket to the ssl object: %s" +msgstr "Nu s-a putut atașa soclul la obiectul ssl: %s" + +#: logsrvd/tls_client.c:238 +msgid "unable to initialize TLS context" +msgstr "nu s-a putut inițializa contextul ssl: %s" + +#: logsrvd/tls_init.c:138 logsrvd/tls_init.c:146 +#, c-format +msgid "unable to set TLS 1.2 ciphersuite to %s: %s" +msgstr "nu s-a putut configura suita de cifrare TLS 1.2 la valoarea %s: %s" + +#: logsrvd/tls_init.c:166 logsrvd/tls_init.c:174 +#, c-format +msgid "unable to set TLS 1.3 ciphersuite to %s: %s" +msgstr "nu s-a putut configura suita de cifrare TLS 1.3 la valoarea %s: %s" + +#: logsrvd/tls_init.c:206 logsrvd/tls_init.c:227 +#, c-format +msgid "unable to set diffie-hellman parameters: %s" +msgstr "nu se pot stabili parametrii diffie-hellman: %s" + +#: logsrvd/tls_init.c:283 +#, c-format +msgid "unable to create TLS context: %s" +msgstr "nu se poate crea contextul TLS: %s" + +#: logsrvd/tls_init.c:290 +#, c-format +msgid "unable to set minimum protocol version to TLS 1.2: %s" +msgstr "nu se poate stabili versiunea de protocol minimă la TLS 1.2: %s" + +# R-GC, scrie: +# este posibil ca traducerea corectă a acestui +# mesaj, să fie: +# «time of day» → «orele din zi» → «orarul zilei», deci: +# „nu se poate obține orarul zilei” +# *** +# Opinii/Idei? +# === +# după revizuirea fișierului, DȘ spune: +# «→ eu cred că este corect traducerea curentă cu „ora actuală”; „orele +# din zi” nu prea are sens iar „orarul zilei” ar fi „the daily schedule”» +# === +# Ok, rămîne așa cum este +#: plugins/sudoers/audit.c:269 plugins/sudoers/audit.c:429 +#: plugins/sudoers/log_client.c:951 plugins/sudoers/log_client.c:1000 +#: plugins/sudoers/log_client.c:1049 plugins/sudoers/log_client.c:1174 +#: plugins/sudoers/logging.c:595 plugins/sudoers/logging.c:693 +#: plugins/sudoers/logging.c:796 plugins/sudoers/logging.c:987 +#: plugins/sudoers/policy.c:125 +msgid "unable to get time of day" +msgstr "nu se poate obține ora actuală" + +#: plugins/sudoers/auth/aix_auth.c:280 +#, c-format +msgid "unable to change password for %s" +msgstr "nu se poate schimba parola pentru %s" + +#: plugins/sudoers/auth/bsdauth.c:74 +#, c-format +msgid "unable to get login class for user %s" +msgstr "nu se poate obține clasa de autentificare pentru utilizatorul %s" + +#: plugins/sudoers/auth/bsdauth.c:79 +msgid "unable to begin bsd authentication" +msgstr "nu se poate începe autentificarea bsd" + +#: plugins/sudoers/auth/bsdauth.c:87 +msgid "invalid authentication type" +msgstr "tip de autentificare nevalid" + +#: plugins/sudoers/auth/bsdauth.c:96 +msgid "unable to initialize BSD authentication" +msgstr "nu se poate inițializa autentificarea BSD" + +#: plugins/sudoers/auth/bsdauth.c:186 +msgid "your account has expired" +msgstr "contul a expirat" + +#: plugins/sudoers/auth/bsdauth.c:188 +msgid "approval failed" +msgstr "aprobarea a eșuat" + +#: plugins/sudoers/auth/fwtk.c:61 +msgid "unable to read fwtk config" +msgstr "nu se poate citi configurarea fwtk" + +#: plugins/sudoers/auth/fwtk.c:66 +msgid "unable to connect to authentication server" +msgstr "nu se poate conecta la serverul de autentificare" + +#: plugins/sudoers/auth/fwtk.c:72 plugins/sudoers/auth/fwtk.c:97 +#: plugins/sudoers/auth/fwtk.c:129 +msgid "lost connection to authentication server" +msgstr "s-a pierdut conexiunea la serverul de autentificare" + +#: plugins/sudoers/auth/fwtk.c:76 +#, c-format +msgid "" +"authentication server error:\n" +"%s" +msgstr "" +"eroare a serverului de autentificare:\n" +"%s" + +#: plugins/sudoers/auth/kerb5.c:115 +#, c-format +msgid "%s: unable to convert principal to string ('%s'): %s" +msgstr "%s: nu se poate converti identitatea gazdei în șir („%s”): %s" + +#: plugins/sudoers/auth/kerb5.c:164 +#, c-format +msgid "%s: unable to parse '%s': %s" +msgstr "%s: nu se poate analiza „%s”: %s" + +#: plugins/sudoers/auth/kerb5.c:173 +#, c-format +msgid "%s: unable to resolve credential cache: %s" +msgstr "%s: nu s-a putut determina memoria tampon de certificare: %s" + +#: plugins/sudoers/auth/kerb5.c:222 +#, c-format +msgid "%s: unable to allocate options: %s" +msgstr "%s: nu se pot aloca opțiunile: %s" + +#: plugins/sudoers/auth/kerb5.c:237 +#, c-format +msgid "%s: unable to get credentials: %s" +msgstr "%s: nu se pot obține certificările: %s" + +#: plugins/sudoers/auth/kerb5.c:250 +#, c-format +msgid "%s: unable to initialize credential cache: %s" +msgstr "%s: nu se poate inițializa memoria tampon de certificare: %s" + +#: plugins/sudoers/auth/kerb5.c:253 +#, c-format +msgid "%s: unable to store credential in cache: %s" +msgstr "%s: nu se poate stoca certificarea în memoria tampon: %s" + +#: plugins/sudoers/auth/kerb5.c:317 +#, c-format +msgid "%s: unable to get host principal: %s" +msgstr "%s: nu se poate obține identitatea kerberos a gazdei: %s" + +#: plugins/sudoers/auth/kerb5.c:331 +#, c-format +msgid "%s: Cannot verify TGT! Possible attack!: %s" +msgstr "%s: Nu se poate verifica TGT! Posibil atac!: %s" + +#: plugins/sudoers/auth/pam.c:224 +#, c-format +msgid "unable to initialize PAM: %s" +msgstr "nu se poate inițializa PAM: %s" + +#: plugins/sudoers/auth/pam.c:337 +#, c-format +msgid "PAM authentication error: %s" +msgstr "Eroare de autentificare PAM: %s" + +#: plugins/sudoers/auth/pam.c:356 +msgid "account validation failure, is your account locked?" +msgstr "eșec la validarea contului, este contul blocat?" + +#: plugins/sudoers/auth/pam.c:367 +msgid "Account or password is expired, reset your password and try again" +msgstr "Contul sau parola au expirat, restabiliți parola și încercați din nou" + +#: plugins/sudoers/auth/pam.c:373 +#, c-format +msgid "unable to change expired password: %s" +msgstr "nu se poate schimba parola expirată: %s" + +#: plugins/sudoers/auth/pam.c:384 +msgid "Password expired, contact your system administrator" +msgstr "Parolă expirată, contactați administratorul de sistem" + +#: plugins/sudoers/auth/pam.c:389 +msgid "Account expired or PAM config lacks an \"account\" section for sudo, contact your system administrator" +msgstr "Contul este expirat sau configurării PAM îi lipsește o secțiune „account” pentru «sudo», contactați administratorul de sistem" + +#: plugins/sudoers/auth/pam.c:397 plugins/sudoers/auth/pam.c:402 +#, c-format +msgid "PAM account management error: %s" +msgstr "Eroare de gestionare a contului PAM: %s" + +#: plugins/sudoers/auth/rfc1938.c:99 plugins/sudoers/visudo.c:271 +#, c-format +msgid "you do not exist in the %s database" +msgstr "nu existați în baza de date %s" + +#: plugins/sudoers/auth/securid5.c:75 +msgid "failed to initialise the ACE API library" +msgstr "nu s-a putut inițializa biblioteca API ACE" + +#: plugins/sudoers/auth/securid5.c:106 +msgid "unable to contact the SecurID server" +msgstr "nu se poate contacta serverul SecurID" + +#: plugins/sudoers/auth/securid5.c:115 +msgid "User ID locked for SecurID Authentication" +msgstr "ID-ul utilizatorului blocat pentru autentificarea SecurID" + +#: plugins/sudoers/auth/securid5.c:119 plugins/sudoers/auth/securid5.c:171 +msgid "invalid username length for SecurID" +msgstr "lungime de nume de utilizator nevalidă pentru SecurID" + +#: plugins/sudoers/auth/securid5.c:123 plugins/sudoers/auth/securid5.c:176 +msgid "invalid Authentication Handle for SecurID" +msgstr "gestionar de autentificare (Authentication Handle) nevalid pentru SecurID" + +#: plugins/sudoers/auth/securid5.c:127 +msgid "SecurID communication failed" +msgstr "Comunicarea SecurID a eșuat" + +#: plugins/sudoers/auth/securid5.c:131 plugins/sudoers/auth/securid5.c:219 +msgid "unknown SecurID error" +msgstr "eroare de SecurID necunoscută" + +#: plugins/sudoers/auth/securid5.c:166 +msgid "invalid passcode length for SecurID" +msgstr "lungime de cod de parolă nevalidă pentru SecurID" + +#: plugins/sudoers/auth/sia.c:69 plugins/sudoers/auth/sia.c:126 +msgid "unable to initialize SIA session" +msgstr "nu se poate inițializa sesiunea SIA" + +#: plugins/sudoers/auth/sudo_auth.c:135 +msgid "invalid authentication methods" +msgstr "metode de autentificare nevalide" + +#: plugins/sudoers/auth/sudo_auth.c:137 +msgid "Invalid authentication methods compiled into sudo! You may not mix standalone and non-standalone authentication." +msgstr "Metode de autentificare nevalide compilate în «sudo»! Nu se pot amesteca autentificările autonome și neautonome." + +#: plugins/sudoers/auth/sudo_auth.c:258 plugins/sudoers/auth/sudo_auth.c:310 +msgid "no authentication methods" +msgstr "nu există metode de autentificare" + +#: plugins/sudoers/auth/sudo_auth.c:260 +msgid "There are no authentication methods compiled into sudo! If you want to turn off authentication, use the --disable-authentication configure option." +msgstr "Nu există metode de autentificare compilate în «sudo»! Dacă doriți să opriți autentificarea, utilizați opțiunea de configurare „--disable-authentication”." + +#: plugins/sudoers/auth/sudo_auth.c:312 +msgid "Unable to initialize authentication methods." +msgstr "Nu se pot inițializa metodele de autentificare." + +#: plugins/sudoers/auth/sudo_auth.c:486 +msgid "Authentication methods:" +msgstr "Metode de autentificare:" + +#: plugins/sudoers/bsm_audit.c:123 plugins/sudoers/bsm_audit.c:214 +msgid "Could not determine audit condition" +msgstr "Nu s-a putut determina condiția de auditare" + +#: plugins/sudoers/bsm_audit.c:188 plugins/sudoers/bsm_audit.c:277 +msgid "unable to commit audit record" +msgstr "nu se poate consemna înregistrarea de auditare" + +#: plugins/sudoers/check.c:285 +#, c-format +msgid "error reading lecture file %s" +msgstr "eroare la citirea fișierului de instrucțiuni %s" + +#: plugins/sudoers/check.c:288 +#, c-format +msgid "ignoring lecture file %s: not a regular file" +msgstr "se ignoră fișierul de instrucțiuni %s: nu este un fișier obișnuit" + +#: plugins/sudoers/check.c:301 +msgid "" +"\n" +"We trust you have received the usual lecture from the local System\n" +"Administrator. It usually boils down to these three things:\n" +"\n" +" #1) Respect the privacy of others.\n" +" #2) Think before you type.\n" +" #3) With great power comes great responsibility.\n" +"\n" +msgstr "" +"\n" +"Avem încredere că ați primit instrucțiunile de utilizare obișnuite de\n" +"la administratorul de sistem local. De obicei se reduce la aceste trei\n" +"lucruri:\n" +"\n" +" 1. Respectă intimitatea celorlalți.\n" +" 2. Gândește înainte de a tasta.\n" +" 3. Cu o mare putere vine o mare responsabilitate.\n" +"\n" + +#: plugins/sudoers/check.c:309 +msgid "" +"For security reasons, the password you type will not be visible.\n" +"\n" +msgstr "" +"Din motive de securitate, parola pe care o introduceți nu va fi vizibilă.n\n" +"\n" + +#: plugins/sudoers/check.c:353 plugins/sudoers/check.c:363 +#: plugins/sudoers/parse.c:82 plugins/sudoers/sudoers.c:945 +#: plugins/sudoers/sudoers.c:966 plugins/sudoers/tsdump.c:119 +#, c-format +msgid "unknown uid %u" +msgstr "uid necunoscut %u" + +#: plugins/sudoers/check_aliases.c:99 plugins/sudoers/defaults.c:1279 +#, c-format +msgid "%s: %s\n" +msgstr "%s: %s\n" + +#: plugins/sudoers/check_aliases.c:133 +#, c-format +msgid "cycle in %s \"%s\"" +msgstr "ciclu în %s „%s”" + +#: plugins/sudoers/check_aliases.c:136 +#, c-format +msgid "%s \"%s\" referenced but not defined" +msgstr "%s „%s” menționat, dar nu definit" + +#: plugins/sudoers/cvtsudoers.c:209 +#, c-format +msgid "order increment: %s: %s" +msgstr "incrementarea de ordine: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:228 +#, c-format +msgid "starting order: %s: %s" +msgstr "ordinea de pornire: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:238 +#, c-format +msgid "order padding: %s: %s" +msgstr "completarea de ordine: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:248 plugins/sudoers/visudo.c:184 +#, c-format +msgid "%s grammar version %d\n" +msgstr "%s versiune de gramatică %d\n" + +#: plugins/sudoers/cvtsudoers.c:277 plugins/sudoers/testsudoers.c:159 +#, c-format +msgid "unsupported input format %s" +msgstr "format de intrare nesuportat %s" + +#: plugins/sudoers/cvtsudoers.c:295 +#, c-format +msgid "unsupported output format %s" +msgstr "format de ieșire nesuportat %s" + +#: plugins/sudoers/cvtsudoers.c:385 +#, c-format +msgid "%s: input and output files must be different" +msgstr "%s: fișierele de intrare și ieșire trebuie să fie diferite" + +#: plugins/sudoers/cvtsudoers.c:399 plugins/sudoers/sudoers.c:166 +#: plugins/sudoers/sudoers.c:222 plugins/sudoers/testsudoers.c:254 +#: plugins/sudoers/visudo.c:280 plugins/sudoers/visudo.c:654 +msgid "unable to initialize sudoers default values" +msgstr "nu se poate inițializa valorile implicite ale lui „sudoers”" + +#: plugins/sudoers/cvtsudoers.c:525 plugins/sudoers/ldap_conf.c:434 +#, c-format +msgid "%s: %s: %s: %s" +msgstr "%s: %s: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:584 +#, c-format +msgid "%s: unknown key word %s" +msgstr "%s: cuvânt cheie necunoscut %s" + +#: plugins/sudoers/cvtsudoers.c:630 +#, c-format +msgid "invalid defaults type: %s" +msgstr "tip de valori implicite nevalid: %s" + +#: plugins/sudoers/cvtsudoers.c:653 +#, c-format +msgid "invalid suppression type: %s" +msgstr "tip de suprimare nevalid: %s" + +#: plugins/sudoers/cvtsudoers.c:694 plugins/sudoers/cvtsudoers.c:710 +#, c-format +msgid "invalid filter: %s" +msgstr "filtru nevalid: %s" + +#: plugins/sudoers/cvtsudoers.c:754 plugins/sudoers/visudo.c:982 +#, c-format +msgid "failed to parse %s file, unknown error" +msgstr "nu s-a putut analiza fișierul %s, eroare necunoscută" + +#: plugins/sudoers/cvtsudoers.c:1478 plugins/sudoers/sudoreplay.c:1142 +#: plugins/sudoers/timestamp.c:343 plugins/sudoers/timestamp.c:346 +#, c-format +msgid "unable to write to %s" +msgstr "nu se poate scrie la %s" + +#: plugins/sudoers/cvtsudoers.c:1506 +#, c-format +msgid "" +"%s - convert between sudoers file formats\n" +"\n" +msgstr "" +"%s - convertește între formatele de fișier „sudoers”\n" +"\n" + +#: plugins/sudoers/cvtsudoers.c:1508 +msgid "" +"\n" +"Options:\n" +" -b, --base=dn the base DN for sudo LDAP queries\n" +" -c, --config=conf_file the path to the configuration file\n" +" -d, --defaults=deftypes only convert Defaults of the specified types\n" +" -e, --expand-aliases expand aliases when converting\n" +" -f, --output-format=format set output format: JSON, LDIF or sudoers\n" +" -i, --input-format=format set input format: LDIF or sudoers\n" +" -I, --increment=num amount to increase each sudoOrder by\n" +" -h, --help display help message and exit\n" +" -m, --match=filter only convert entries that match the filter\n" +" -M, --match-local match filter uses passwd and group databases\n" +" -o, --output=output_file write converted sudoers to output_file\n" +" -O, --order-start=num starting point for first sudoOrder\n" +" -p, --prune-matches prune non-matching users, groups and hosts\n" +" -P, --padding=num base padding for sudoOrder increment\n" +" -s, --suppress=sections suppress output of certain sections\n" +" -V, --version display version information and exit" +msgstr "" +"\n" +"Opțiuni:\n" +" -b, --base=dn baza DN pentru interogări LDAP «sudo»\n" +" -c, --config=fișier_conf calea către fișierul de configurare\n" +" -d, --defaults=tip_def convertește valorile implicite doar pentru tipurile specificate\n" +" -e, --expand-aliases extinde numele de alias la conversie\n" +" -f, --output-format=format stabilește formatul de ieșire: JSON, LDIF sau „sudoers”\n" +" -i, --input-format=format stabilește formatul de intrare: LDIF sau „sudoers”\n" +" -I, --increment=num cantitate cu care se mărește fiecare sudoOrder\n" +" -h, --help afișează mesajul de ajutor și iese\n" +" -m, --match=filtru convertește doar intrările care se potrivesc cu filtrul\n" +" -M, --match-local filtrul de potrivire utilizează baze de date cu parole și grupuri\n" +" -o, --output=fișier_ieșire scrie „sudoers” convertit, la fișier_ieșire\n" +" -O, --order-start=num punctul de pornire pentru primul sudoOrder\n" +" -p, --prune-matches elimină utilizatori, grupuri și gazde care nu se potrivesc\n" +" -P, --padding=num completarea de bază pentru incrementarea sudoOrder\n" +" -s, --suppress=secțiuni suprimă ieșirea anumitor secțiuni\n" +" -V, --version afișează informația versiunii și iese" + +#: plugins/sudoers/cvtsudoers_csv.c:192 plugins/sudoers/cvtsudoers_csv.c:199 +#: plugins/sudoers/cvtsudoers_ldif.c:244 plugins/sudoers/cvtsudoers_ldif.c:251 +#: plugins/sudoers/cvtsudoers_ldif.c:592 plugins/sudoers/env.c:340 +#: plugins/sudoers/env.c:347 plugins/sudoers/env.c:458 +#: plugins/sudoers/ldap.c:528 plugins/sudoers/ldap.c:761 +#: plugins/sudoers/ldap.c:1134 plugins/sudoers/ldap_conf.c:222 +#: plugins/sudoers/ldap_conf.c:313 plugins/sudoers/ldap_util.c:486 +#: plugins/sudoers/linux_audit.c:92 plugins/sudoers/logging.c:461 +#: plugins/sudoers/logging.c:817 plugins/sudoers/logging.c:827 +#: plugins/sudoers/policy.c:807 plugins/sudoers/policy.c:818 +#: plugins/sudoers/prompt.c:168 plugins/sudoers/serialize_list.c:62 +#: plugins/sudoers/serialize_list.c:71 plugins/sudoers/strvec_join.c:62 +#: plugins/sudoers/sudoreplay.c:1339 plugins/sudoers/sudoreplay.c:1345 +#: plugins/sudoers/sudoreplay.c:1351 plugins/sudoers/testsudoers.c:245 +#: plugins/sudoers/toke_util.c:213 toke.l:995 toke.l:1197 +#, c-format +msgid "internal error, %s overflow" +msgstr "eroare internă, depășire de %s" + +#: plugins/sudoers/cvtsudoers_csv.c:452 plugins/sudoers/cvtsudoers_csv.c:466 +#: plugins/sudoers/cvtsudoers_json.c:657 plugins/sudoers/cvtsudoers_json.c:672 +#: plugins/sudoers/cvtsudoers_ldif.c:347 plugins/sudoers/cvtsudoers_ldif.c:360 +#: plugins/sudoers/ldap.c:512 +msgid "unable to get GMT time" +msgstr "nu se poate obține ora GMT" + +#: plugins/sudoers/cvtsudoers_csv.c:457 plugins/sudoers/cvtsudoers_csv.c:471 +#: plugins/sudoers/cvtsudoers_json.c:662 plugins/sudoers/cvtsudoers_json.c:677 +#: plugins/sudoers/cvtsudoers_ldif.c:352 plugins/sudoers/cvtsudoers_ldif.c:365 +#: plugins/sudoers/ldap.c:520 +msgid "unable to format timestamp" +msgstr "nu se poate formata marcajul de timp" + +#: plugins/sudoers/cvtsudoers_json.c:480 plugins/sudoers/cvtsudoers_json.c:515 +#: plugins/sudoers/cvtsudoers_json.c:728 +#, c-format +msgid "%s:%d:%d: unknown defaults entry \"%s\"" +msgstr "%s:%d:%d: intrare de valori implicite necunoscută „%s”" + +#: plugins/sudoers/cvtsudoers_ldif.c:661 +#, c-format +msgid "too many sudoers entries, maximum %u" +msgstr "prea multe intrări „sudoers”, maxim %u" + +#: plugins/sudoers/cvtsudoers_ldif.c:704 +msgid "the SUDOERS_BASE environment variable is not set and the -b option was not specified." +msgstr "variabila de mediu $SUDOERS_BASE nu este stabilită și opțiunea „-b” nu a fost specificată." + +#: plugins/sudoers/cvtsudoers_merge.c:273 +#: plugins/sudoers/cvtsudoers_merge.c:309 +#, c-format +msgid "%s:%d:%d: converting host list to ALL" +msgstr "%s:%d:%d: se convertește lista de gazde în ALL" + +#: plugins/sudoers/cvtsudoers_merge.c:545 +#, c-format +msgid "unable to find alias %s" +msgstr "nu se poate găsi alias %s" + +#: plugins/sudoers/cvtsudoers_merge.c:548 +#, c-format +msgid "%s:%d:%d: renaming alias %s to %s" +msgstr "%s:%d:%d: redenumire a alias %s în %s" + +#: plugins/sudoers/cvtsudoers_merge.c:605 +#, c-format +msgid "%s:%d:%d: removing duplicate alias %s" +msgstr "%s:%d:%d: se elimină alias duplicat %s" + +#: plugins/sudoers/cvtsudoers_merge.c:830 +#, c-format +msgid "%s:%d:%d: conflicting Defaults entry \"%s\" host-specific in %s:%d:%d" +msgstr "%s:%d:%d: intrare a valorilor Defaults „%s” în conflict cu cea specificată de gazdă în %s:%d:%d" + +#: plugins/sudoers/cvtsudoers_merge.c:864 +#, c-format +msgid "%s:%d:%d: made Defaults \"%s\" specific to host %s" +msgstr "%s:%d:%d: a făcut ca Defaults „%s” să fie specific gazdei %s" + +#: plugins/sudoers/cvtsudoers_merge.c:882 +#, c-format +msgid "%s:%d:%d: unable to make Defaults \"%s\" host-specific" +msgstr "%s:%d:%d: nu se poate face ca Defaults „%s” să fie specific gazdei" + +#: plugins/sudoers/cvtsudoers_merge.c:892 +#, c-format +msgid "%s:%d:%d: removing Defaults \"%s\" overridden by subsequent entries" +msgstr "%s:%d:%d: se elimină valorile Defaults „%s” suprascrise de intrările ulterioare" + +#: plugins/sudoers/cvtsudoers_merge.c:1088 +#, c-format +msgid "%s:%d:%d: merging userspec into %s:%d:%d" +msgstr "%s:%d:%d: se îmbină specificațiile utilizatorului în %s:%d:%d" + +#: plugins/sudoers/cvtsudoers_merge.c:1182 +#, c-format +msgid "%s:%d:%d: removing userspec overridden by subsequent entries" +msgstr "%s:%d:%d: se elimină specificația utilizatorului suprascrisă de intrările ulterioare" + +#: plugins/sudoers/def_data.c:56 +#, c-format +msgid "Syslog facility if syslog is being used for logging: %s" +msgstr "Facilitatea syslog dacă «syslog» este utilizat pentru înregistrarea evenimentelor: %s" + +#: plugins/sudoers/def_data.c:60 +#, c-format +msgid "Syslog priority to use when user authenticates successfully: %s" +msgstr "Prioritatea syslog de utilizat când utilizatorul se autentifică cu succes: %s" + +#: plugins/sudoers/def_data.c:64 +#, c-format +msgid "Syslog priority to use when user authenticates unsuccessfully: %s" +msgstr "Prioritatea syslog de utilizat când utilizatorul nu se autentifică cu succes: %s" + +#: plugins/sudoers/def_data.c:68 +msgid "Put OTP prompt on its own line" +msgstr "Plasează prompterul OTP pe propria linie" + +#: plugins/sudoers/def_data.c:72 +msgid "Ignore '.' in $PATH" +msgstr "Ignoră „.” în $PATH" + +#: plugins/sudoers/def_data.c:76 +msgid "Always send mail when sudo is run" +msgstr "Trimite întotdeauna mail când «sudo» este rulat" + +#: plugins/sudoers/def_data.c:80 +msgid "Send mail if user authentication fails" +msgstr "Trimite mail dacă autentificarea eșuează" + +#: plugins/sudoers/def_data.c:84 +msgid "Send mail if the user is not in sudoers" +msgstr "Trimite mail dacă utilizatorul nu este în „sudoers”" + +#: plugins/sudoers/def_data.c:88 +msgid "Send mail if the user is not in sudoers for this host" +msgstr "Trimite mail dacă utilizatorul nu este în „sudoers” pentru această gazdă" + +#: plugins/sudoers/def_data.c:92 +msgid "Send mail if the user is not allowed to run a command" +msgstr "Trimite mail dacă utilizatorul nu are voie să ruleze o comandă" + +#: plugins/sudoers/def_data.c:96 +msgid "Send mail if the user tries to run a command" +msgstr "Trimite mail dacă utilizatorul încearcă să ruleze o comandă" + +#: plugins/sudoers/def_data.c:100 +msgid "Use a separate timestamp for each user/tty combo" +msgstr "Utilizează un marcaj de timp separat pentru fiecare combinație utilizator/tty" + +#: plugins/sudoers/def_data.c:104 +msgid "Lecture user the first time they run sudo" +msgstr "Ține o prelegere utilizatorului când rulează pentru prima dată «sudo»" + +#: plugins/sudoers/def_data.c:108 +#, c-format +msgid "File containing the sudo lecture: %s" +msgstr "Fișierul care conține instrucțiunile de utilizare ale «sudo»: %s" + +#: plugins/sudoers/def_data.c:112 +msgid "Require users to authenticate by default" +msgstr "Cere utilizatorilor să se autentifice ca implicit" + +#: plugins/sudoers/def_data.c:116 +msgid "Root may run sudo" +msgstr "Root poate rula «sudo»" + +#: plugins/sudoers/def_data.c:120 +msgid "Log the hostname in the (non-syslog) log file" +msgstr "Înregistrează numele gazdei în fișierul de jurnal (ne-syslog)" + +#: plugins/sudoers/def_data.c:124 +msgid "Log the year in the (non-syslog) log file" +msgstr "Înregistrează anul în fișierul de jurnal (ne-syslog)" + +#: plugins/sudoers/def_data.c:128 +msgid "If sudo is invoked with no arguments, start a shell" +msgstr "Dacă «sudo» este invocat fără argumente, pornește un shell" + +#: plugins/sudoers/def_data.c:132 +msgid "Set $HOME to the target user when starting a shell with -s" +msgstr "Stabilește $HOME pentru utilizatorul vizat când se pornește un shell cu opțiunea „-s”" + +#: plugins/sudoers/def_data.c:136 +msgid "Always set $HOME to the target user's home directory" +msgstr "Totdeauna stabilește $HOME la directorul personal al utilizatorului vizat" + +#: plugins/sudoers/def_data.c:140 +msgid "Allow some information gathering to give useful error messages" +msgstr "Permite colectarea de informații pentru a oferi mesaje de eroare utile" + +#: plugins/sudoers/def_data.c:144 +msgid "Require fully-qualified hostnames in the sudoers file" +msgstr "Necesită nume de gazdă calificate complet în fișierul „sudoers”" + +#: plugins/sudoers/def_data.c:148 +msgid "Insult the user when they enter an incorrect password" +msgstr "Insultă utilizatorul când acesta introduce o parolă incorectă" + +#: plugins/sudoers/def_data.c:152 +msgid "Only allow the user to run sudo if they have a tty" +msgstr "Permite utilizatorului să ruleze «sudo» doar dacă are un tty" + +#: plugins/sudoers/def_data.c:156 +msgid "Visudo will honor the EDITOR environment variable" +msgstr "«Visudo» va respecta variabila de mediu $EDITOR" + +#: plugins/sudoers/def_data.c:160 +msgid "Prompt for root's password, not the users's" +msgstr "Solicită parola pentru root, nu a utilizatorului" + +#: plugins/sudoers/def_data.c:164 +msgid "Prompt for the runas_default user's password, not the users's" +msgstr "Solicită parola pentru utilizatorul runas_default, nu a utilizatorului" + +#: plugins/sudoers/def_data.c:168 +msgid "Prompt for the target user's password, not the users's" +msgstr "Solicită parola pentru utilizatorul vizat, nu a utilizatorului" + +#: plugins/sudoers/def_data.c:172 +msgid "Apply defaults in the target user's login class if there is one" +msgstr "Aplică valorile implicite în clasa de autentificare a utilizatorului vizat dacă aceasta există" + +#: plugins/sudoers/def_data.c:176 +msgid "Set the LOGNAME and USER environment variables" +msgstr "Stabilește variabilele de mediu $LOGNAME și $USER" + +#: plugins/sudoers/def_data.c:180 +msgid "Only set the effective uid to the target user, not the real uid" +msgstr "Stabilește pentru utilizatorul vizat doar uid-ul efectiv, nu uid-ul real" + +#: plugins/sudoers/def_data.c:184 +msgid "Don't initialize the group vector to that of the target user" +msgstr "Nu inițializează vectorul de grup la cel al utilizatorului vizat" + +#: plugins/sudoers/def_data.c:188 +#, c-format +msgid "Length at which to wrap log file lines (0 for no wrap): %u" +msgstr "Lungimea la care să se încadreze liniile fișierului de jurnal (0 pentru fără încadrare): %u" + +#: plugins/sudoers/def_data.c:192 +#, c-format +msgid "Authentication timestamp timeout: %.1f minutes" +msgstr "Marcajul de timp al autentificării, expiră în: %.1f minute" + +#: plugins/sudoers/def_data.c:196 +#, c-format +msgid "Password prompt timeout: %.1f minutes" +msgstr "Timpul pentru solicitarea parolei, expiră în: %.1f minute" + +#: plugins/sudoers/def_data.c:200 +#, c-format +msgid "Number of tries to enter a password: %u" +msgstr "Numărul de încercări pentru a introduce o parolă: %u" + +#: plugins/sudoers/def_data.c:204 +#, c-format +msgid "Umask to use or 0777 to use user's: 0%o" +msgstr "Valoarea necesară umask, sau 0777 pentru utilizatorul: 0%o" + +#: plugins/sudoers/def_data.c:208 +#, c-format +msgid "Path to log file: %s" +msgstr "Calea la fișierul de jurnal: %s" + +#: plugins/sudoers/def_data.c:212 +#, c-format +msgid "Path to mail program: %s" +msgstr "Calea la programul de mail: %s" + +#: plugins/sudoers/def_data.c:216 +#, c-format +msgid "Flags for mail program: %s" +msgstr "Opțiuni pentru programul de mail: %s" + +#: plugins/sudoers/def_data.c:220 +#, c-format +msgid "Address to send mail to: %s" +msgstr "Adresa la care să se trimită mailul: %s" + +#: plugins/sudoers/def_data.c:224 +#, c-format +msgid "Address to send mail from: %s" +msgstr "Adresa de la care să se trimită mailul: %s" + +#: plugins/sudoers/def_data.c:228 +#, c-format +msgid "Subject line for mail messages: %s" +msgstr "Linia de subiect pentru mesajele de mail: %s" + +#: plugins/sudoers/def_data.c:232 +#, c-format +msgid "Incorrect password message: %s" +msgstr "Mesajul de avertizare de parolă incorectă: %s" + +#: plugins/sudoers/def_data.c:236 +#, c-format +msgid "Path to lecture status dir: %s" +msgstr "Calea către directorul de stare a instrucțiunilor de utilizare a «sudo»(utilizatorul, le-a primit sau nu): %s" + +#: plugins/sudoers/def_data.c:240 +#, c-format +msgid "Path to authentication timestamp dir: %s" +msgstr "Calea către directorul ce conține marcajele de timp ale autentificării: %s" + +#: plugins/sudoers/def_data.c:244 +#, c-format +msgid "Owner of the authentication timestamp dir: %s" +msgstr "Proprietarul directorului ce conține marcajele de timp ale autentificării: %s" + +#: plugins/sudoers/def_data.c:248 +#, c-format +msgid "Users in this group are exempt from password and PATH requirements: %s" +msgstr "Utilizatorii din acest grup sunt scutiți de la cerințele privind parola și PATH: %s" + +#: plugins/sudoers/def_data.c:252 +#, c-format +msgid "Default password prompt: %s" +msgstr "Solicitarea implicită de parolă: %s" + +#: plugins/sudoers/def_data.c:256 +msgid "If set, passprompt will override system prompt in all cases." +msgstr "Dacă este definită, solicitarea de parolă a «sudo», o va înlocui pe cea de sistem în toate cazurile." + +#: plugins/sudoers/def_data.c:260 +#, c-format +msgid "Default user to run commands as: %s" +msgstr "Utilizatorul implicit cu care să se ruleze comenzile: %s" + +#: plugins/sudoers/def_data.c:264 +#, c-format +msgid "Value to override user's $PATH with: %s" +msgstr "Valoarea cu care să se suprascrie $PATH a utilizatorului: %s" + +#: plugins/sudoers/def_data.c:268 +#, c-format +msgid "Path to the editor for use by visudo: %s" +msgstr "Calea către editorul ce va fi utilizat de către «visudo»: %s" + +#: plugins/sudoers/def_data.c:272 +#, c-format +msgid "When to require a password for 'list' pseudocommand: %s" +msgstr "Când să se ceară o parolă pentru pseudocomanda „list”: %s" + +#: plugins/sudoers/def_data.c:276 +#, c-format +msgid "When to require a password for 'verify' pseudocommand: %s" +msgstr "Când să se ceară o parolă pentru pseudocomanda „verify”: %s" + +#: plugins/sudoers/def_data.c:280 +msgid "Preload the sudo_noexec library which replaces the exec functions" +msgstr "Preîncarcă biblioteca sudo_noexec care înlocuiește funcțiile exec" + +#: plugins/sudoers/def_data.c:284 +msgid "If LDAP directory is up, do we ignore local sudoers file" +msgstr "Dacă directorul LDAP este activ, se ignoră fișierul „sudoers” local" + +#: plugins/sudoers/def_data.c:288 +#, c-format +msgid "File descriptors >= %d will be closed before executing a command" +msgstr "Descriptorii de fișier >= %d se vor închide înainte de executarea unei comenzi" + +#: plugins/sudoers/def_data.c:292 +msgid "If set, users may override the value of \"closefrom\" with the -C option" +msgstr "Dacă este definită, utilizatorii pot să suprascrie valoarea lui „closeform” cu opțiunea „-C”" + +#: plugins/sudoers/def_data.c:296 +msgid "Allow users to set arbitrary environment variables" +msgstr "Permite utilizatorilor să stabilească variabile de mediu arbitrare" + +#: plugins/sudoers/def_data.c:300 +msgid "Reset the environment to a default set of variables" +msgstr "Restabilește mediul la un set de variabile implicite" + +#: plugins/sudoers/def_data.c:304 +msgid "Environment variables to check for safety:" +msgstr "Variabile de mediu care trebuie validate pentru a asigura securitatea:" + +#: plugins/sudoers/def_data.c:308 +msgid "Environment variables to remove:" +msgstr "Variabile de mediu de eliminat:" + +#: plugins/sudoers/def_data.c:312 +msgid "Environment variables to preserve:" +msgstr "Variabile de mediu de păstrat:" + +#: plugins/sudoers/def_data.c:316 +#, c-format +msgid "SELinux role to use in the new security context: %s" +msgstr "Regula SELinux de utilizat în contextul de securitate nou: %s" + +#: plugins/sudoers/def_data.c:320 +#, c-format +msgid "SELinux type to use in the new security context: %s" +msgstr "Tipul de executare a SELinux („default” sau „mlt”), ce va fi utilizat în contextul de securitate nou: %s" + +#: plugins/sudoers/def_data.c:324 +#, c-format +msgid "Path to the sudo-specific environment file: %s" +msgstr "Calea către fișierul de mediu, propriu al «sudo»: %s" + +#: plugins/sudoers/def_data.c:328 +#, c-format +msgid "Path to the restricted sudo-specific environment file: %s" +msgstr "Calea către fișierul restricționat de mediu, propriu al «sudo»: %s" + +#: plugins/sudoers/def_data.c:332 +#, c-format +msgid "Locale to use while parsing sudoers: %s" +msgstr "Localizarea ce va fi utilizată în timpul analizării lui „sudoers”: %s" + +#: plugins/sudoers/def_data.c:336 +msgid "Allow sudo to prompt for a password even if it would be visible" +msgstr "Permite lui «sudo» să solicite o parolă chiar dacă aceasta va fi vizibilă" + +#: plugins/sudoers/def_data.c:340 +msgid "Provide visual feedback at the password prompt when there is user input" +msgstr "Afișează un control vizual la solicitarea parolei, când aceasta este introdusă de către utilizator" + +#: plugins/sudoers/def_data.c:344 +msgid "Use faster globbing that is less accurate but does not access the filesystem" +msgstr "Utilizează expanderea rapidă a numelor de fișiere, care este mai puțin fiabilă, dar nu necesită acces la sistemul de fișiere" + +#: plugins/sudoers/def_data.c:348 +msgid "The umask specified in sudoers will override the user's, even if it is more permissive" +msgstr "Umask(masca de Unix) specificată în „sudoers”, o va înlocui pe cea a utilizatorului, chiar dacă este mai permisivă" + +#: plugins/sudoers/def_data.c:352 +msgid "Log user's input for the command being run" +msgstr "Înregistrează în jurnal intrarea utilizatorului pentru comanda care se execută" + +#: plugins/sudoers/def_data.c:356 +msgid "Log the command's standard input if not connected to a terminal" +msgstr "Înregistrează în jurnal intrarea standard a comenzii dacă nu este conectată la un terminal" + +#: plugins/sudoers/def_data.c:360 +msgid "Log the user's terminal input for the command being run" +msgstr "Înregistrează în jurnal intrarea terminalului utilizatorului pentru comanda care se execută" + +#: plugins/sudoers/def_data.c:364 +msgid "Log the output of the command being run" +msgstr "Înregistrează în jurnal ieșirea comenzii care se execută" + +#: plugins/sudoers/def_data.c:368 +msgid "Log the command's standard output if not connected to a terminal" +msgstr "Înregistrează în jurnal ieșirea standard a comenzii dacă nu este conectată la un terminal" + +#: plugins/sudoers/def_data.c:372 +msgid "Log the command's standard error if not connected to a terminal" +msgstr "Înregistrează în jurnal eroarea standard a comenzii dacă nu este conectată la un terminal" + +#: plugins/sudoers/def_data.c:376 +msgid "Log the terminal output of the command being run" +msgstr "Înregistrează în jurnal ieșirea terminalului comenzii care se execută" + +#: plugins/sudoers/def_data.c:380 +msgid "Compress I/O logs using zlib" +msgstr "Comprimă înregistrările din jurnal de In/Ieș utilizând «zlib»" + +#: plugins/sudoers/def_data.c:384 +msgid "Always run commands in a pseudo-tty" +msgstr "Execută întotdeauna comenzile într-un pseudo-tty" + +#: plugins/sudoers/def_data.c:388 +#, c-format +msgid "Plugin for non-Unix group support: %s" +msgstr "Modul pentru suport de grup non-Unix: %s" + +#: plugins/sudoers/def_data.c:392 +#, c-format +msgid "Directory in which to store input/output logs: %s" +msgstr "Directorul în care se stochează informațiile returnate de operațiile de intrare/ieșire: %s" + +#: plugins/sudoers/def_data.c:396 +#, c-format +msgid "File in which to store the input/output log: %s" +msgstr "Fișierul în care se stochează informațiile returnate de operațiile de intrare/ieșire: %s" + +#: plugins/sudoers/def_data.c:400 +msgid "Add an entry to the utmp/utmpx file when allocating a pty" +msgstr "Adaugă o intrare la fișierul „utmp/utmpx” când se alocă un pty" + +#: plugins/sudoers/def_data.c:404 +msgid "Set the user in utmp to the runas user, not the invoking user" +msgstr "Stabilește utilizatorul în utmp la utilizatorul „run as”, nu la utilizatorul care invocă" + +#: plugins/sudoers/def_data.c:408 +#, c-format +msgid "Set of permitted privileges: %s" +msgstr "Setul de privilegii permise: %s" + +#: plugins/sudoers/def_data.c:412 +#, c-format +msgid "Set of limit privileges: %s" +msgstr "Setul de privilegii limită: %s" + +#: plugins/sudoers/def_data.c:416 +msgid "Run commands on a pty in the background" +msgstr "Rulează comenzile pe un pty în fundal" + +#: plugins/sudoers/def_data.c:420 +#, c-format +msgid "PAM service name to use: %s" +msgstr "Numele serviciului PAM de utilizat: %s" + +#: plugins/sudoers/def_data.c:424 +#, c-format +msgid "PAM service name to use for login shells: %s" +msgstr "Numele serviciului PAM de utilizat pentru shell-urile de autentificare: %s" + +#: plugins/sudoers/def_data.c:428 +#, c-format +msgid "PAM service name to use when sudo is run with the -A option: %s" +msgstr "Numele serviciului PAM de utilizat atunci când «sudo» este rulat cu opțiunea „-A”: %s" + +#: plugins/sudoers/def_data.c:432 +msgid "Attempt to establish PAM credentials for the target user" +msgstr "Încearcă să stabilească certificări PAM pentru utilizatorul vizat" + +#: plugins/sudoers/def_data.c:436 +msgid "Create a new PAM session for the command to run in" +msgstr "Creează o nouă sesiune PAM pentru a rula comanda în ea" + +#: plugins/sudoers/def_data.c:440 +msgid "Perform PAM account validation management" +msgstr "Realizează gestionarea validării contului PAM" + +#: plugins/sudoers/def_data.c:444 +#, c-format +msgid "Maximum I/O log sequence number: %s" +msgstr "Numărul maxim de secvență al jurnalului de In/Ieș: %s" + +#: plugins/sudoers/def_data.c:448 +msgid "Enable sudoers netgroup support" +msgstr "Activează suportul de „netgroup” (grup de rețea) „sudoers”" + +#: plugins/sudoers/def_data.c:452 +msgid "Check parent directories for writability when editing files with sudoedit" +msgstr "Verifică directoarele părinte pentru capacitatea de scriere când se editează fișiere cu «sudoedit»" + +#: plugins/sudoers/def_data.c:456 +msgid "Follow symbolic links when editing files with sudoedit" +msgstr "Urmărește legăturile simbolice când se editează fișierele cu «sudoedit»" + +#: plugins/sudoers/def_data.c:460 +msgid "Query the group plugin for unknown system groups" +msgstr "Interoghează modulul grupului pentru grupuri de sistem necunoscute" + +# R-GC, scrie: +# și, curiozitatea, omoară pisica ! 😈️ +# și ce, mama ..., înseamnă «tuple» ? +# *** +# citat din pagina: +# https://en.wikipedia.org/wiki/Tuple +# „The term originated as an abstraction of +# the sequence: single, couple/double, triple, +# quadruple, quintuple, sextuple, septuple, +# octuple, ..., n‑tuple, ..., where the prefixes +# are taken from the Latin names of the +# numerals. The unique 0-tuple is called the +# null tuple or empty tuple. A 1‑tuple is called +# a single (or singleton), a 2‑tuple is called an +# ordered pair or couple, and a 3‑tuple is +# called a triple (or triplet).” +# === +# Morala, pentru „trăznaia” unuia, se scrie o +# pagină întreagă(destul de vastă) în Wikipedia. +# Și „bagă în boală”, multă lume „luminată”! 😇️ +#: plugins/sudoers/def_data.c:464 +msgid "Match netgroups based on the entire tuple: user, host and domain" +msgstr "Potrivește „netgroups” (grupurile de rețea) pe baza întregului triplet: utilizator, gazdă și domeniu" + +#: plugins/sudoers/def_data.c:468 +msgid "Allow commands to be run even if sudo cannot write to the audit log" +msgstr "Permite executarea comenzilor chiar dacă «sudo» nu poate să scrie în jurnalul auditare" + +#: plugins/sudoers/def_data.c:472 +msgid "Allow commands to be run even if sudo cannot write to the I/O log" +msgstr "Permite executarea comenzilor chiar dacă «sudo» nu poate să scrie în jurnalul de In/Ieș" + +#: plugins/sudoers/def_data.c:476 +msgid "Allow commands to be run even if sudo cannot write to the log file" +msgstr "Permite executarea comenzilor chiar dacă «sudo» nu poate să scrie în fișierul de jurnal" + +# R-GC, scrie: +# cred că o traducere mai bună a acestui +# mesaj, ar fi: +# „Identifică grupurile din „sudoers” și face potrivirea după ID-ul grupului, nu după nume” +# *** +# Opinii/Idei? +#: plugins/sudoers/def_data.c:480 +msgid "Resolve groups in sudoers and match on the group ID, not the name" +msgstr "Rezolvă grupurile în „sudoers” și face potrivirea după ID-ul grupului, nu după nume" + +#: plugins/sudoers/def_data.c:484 +#, c-format +msgid "Log entries larger than this value will be split into multiple syslog messages: %u" +msgstr "Intrările în jurnal mai mari decât această valoare vor fi împărțite în mai multe mesaje syslog: %u" + +# R-GC, scrie: +# am înlocuit vechea traducere, +# a acestui mesaj: +# +# „Utilizator care va deține fișierele istoricului I/O: %s” +# cu cea prezentă, pentru că: +# +# 1. own = proprietar, stăpîn +# +# 2. proprietarul, deține ceva, avînd drepturi +# depline asupra acestui lucru, bun; +# pe cînd un chiriaș, un arendaș cu toate că +# are drepturi asupra acestui lucru, bun; +# drepturile acestea sunt îngrădite de +# contractul avut cu proprietarul de drept, +# cu arendatorul. +# +# 3. cu toate că fișierele de înregistrare a +# diverselor informații despre lucrurile care +# se întîmplă, desfășoară la un moment dat +# în sistem, au un în general, un marcaj de +# timp; nu înseamnă că acestea sunt un +# istoric al acestor informații... +# (marcajul de timp, este decît +# „o plus valoare” a acestor informații) +#: plugins/sudoers/def_data.c:488 +#, c-format +msgid "User that will own the I/O log files: %s" +msgstr "Utilizatorul ce va fi proprietarul fișierelor jurnalului de In/Ieș: %s" + +#: plugins/sudoers/def_data.c:492 +#, c-format +msgid "Group that will own the I/O log files: %s" +msgstr "Grupul ce va fi proprietarul fișierelor jurnalului de In/Ieș: %s" + +#: plugins/sudoers/def_data.c:496 +#, c-format +msgid "File mode to use for the I/O log files: 0%o" +msgstr "Modul de acces la fișier, utilizat pentru fișierele jurnalului de In/Ieș: 0%o" + +#: plugins/sudoers/def_data.c:500 +#, c-format +msgid "Execute commands by file descriptor instead of by path: %s" +msgstr "Execută comenzile după descriptorul fișierului în loc de, după calea de acces: %s" + +#: plugins/sudoers/def_data.c:504 +msgid "Ignore unknown Defaults entries in sudoers instead of producing a warning" +msgstr "Ignoră intrările Defaults necunoscute din „sudoers” în loc de-a genera un avertisment" + +#: plugins/sudoers/def_data.c:508 +#, c-format +msgid "Time in seconds after which the command will be terminated: %u" +msgstr "Timpul în secunde după care comanda va fi terminată: %u" + +#: plugins/sudoers/def_data.c:512 +msgid "Allow the user to specify a timeout on the command line" +msgstr "Permite utilizatorul să specifice o limită de timp, de la linia de comandă" + +#: plugins/sudoers/def_data.c:516 +msgid "Flush I/O log data to disk immediately instead of buffering it" +msgstr "Transferă imediat datele jurnalului de In/Ieș pe disc, în loc să le stocheze în memoria tampon" + +#: plugins/sudoers/def_data.c:520 +msgid "Include the process ID when logging via syslog" +msgstr "Include ID-ul procesului când se înregistrează via syslog" + +#: plugins/sudoers/def_data.c:524 +#, c-format +msgid "Type of authentication timestamp record: %s" +msgstr "Tipul de înregistrare a marcajului de timp a autentificării: %s" + +#: plugins/sudoers/def_data.c:528 +#, c-format +msgid "Authentication failure message: %s" +msgstr "Mesaj de autentificare eșuată: %s" + +#: plugins/sudoers/def_data.c:532 +msgid "Ignore case when matching user names" +msgstr "Ignoră diferența dintre majusculele/minuscule când se caută după numele de utilizator" + +#: plugins/sudoers/def_data.c:536 +msgid "Ignore case when matching group names" +msgstr "Ignoră diferența dintre majusculele/minuscule când se caută după numele de grup" + +#: plugins/sudoers/def_data.c:540 +msgid "Log when a command is allowed by sudoers" +msgstr "Înregistrează când o comandă este permisă de „sudoers”" + +#: plugins/sudoers/def_data.c:544 +msgid "Log when a command is denied by sudoers" +msgstr "Înregistrează când o comandă este respinsă de „sudoers”" + +#: plugins/sudoers/def_data.c:548 +msgid "Sudo log server(s) to connect to with optional port" +msgstr "Server(e) de înregistrare a jurnalului «sudo», la care se conectează cu portul opțional" + +#: plugins/sudoers/def_data.c:552 +#, c-format +msgid "Sudo log server timeout in seconds: %u" +msgstr "Limita de timp a serverului de înregistrare a jurnalului «sudo», în secunde: %u" + +#: plugins/sudoers/def_data.c:556 +msgid "Enable SO_KEEPALIVE socket option on the socket connected to the logserver" +msgstr "Activează opțiunea de soclu SO_KEEPALIVE pe soclul conectat la serverul de înregistrare a jurnalului" + +#: plugins/sudoers/def_data.c:560 +#, c-format +msgid "Path to the audit server's CA bundle file: %s" +msgstr "Calea către fișierul pachet CA al serverului de auditare: %s" + +#: plugins/sudoers/def_data.c:564 +#, c-format +msgid "Path to the sudoers certificate file: %s" +msgstr "Calea către fișierul certificat „sudoers”: %s" + +#: plugins/sudoers/def_data.c:568 +#, c-format +msgid "Path to the sudoers private key file: %s" +msgstr "Calea către fișierul cheie privată „sudoers”: %s" + +#: plugins/sudoers/def_data.c:572 +msgid "Verify that the log server's certificate is valid" +msgstr "Verifică dacă certificatul serverului de înregistrare a jurnalului, este valid" + +#: plugins/sudoers/def_data.c:576 +msgid "Allow the use of unknown runas user and/or group ID" +msgstr "Permite utilizarea de ID de grup și/sau utilizator „run as” necunoscut" + +#: plugins/sudoers/def_data.c:580 +msgid "Only permit running commands as a user with a valid shell" +msgstr "Permite doar rularea de comenzi ca un utilizator cu un shell valid" + +#: plugins/sudoers/def_data.c:584 +msgid "Set the pam remote user to the user running sudo" +msgstr "Stabilește utilizatorul de la distanță de pam, la utilizatorul care rulează «sudo»" + +#: plugins/sudoers/def_data.c:588 +msgid "Set the pam remote host to the local host name" +msgstr "Stabilește gazda de la distanță de pam, la numele de gazdă local" + +#: plugins/sudoers/def_data.c:592 +#, c-format +msgid "Working directory to change to before executing the command: %s" +msgstr "Directorul de lucru la care trebuie să se schimbe, înainte de a executa comanda: %s" + +#: plugins/sudoers/def_data.c:596 +#, c-format +msgid "Root directory to change to before executing the command: %s" +msgstr "Directorul rădăcină la care trebuie să se schimbe, înainte de a executa comanda: %s" + +#: plugins/sudoers/def_data.c:600 +#, c-format +msgid "The format of logs to produce: %s" +msgstr "Formatul jurnalelor de produs: %s" + +#: plugins/sudoers/def_data.c:604 +msgid "Enable SELinux RBAC support" +msgstr "Activează suportul RBAC în SELinux" + +#: plugins/sudoers/def_data.c:608 +#, c-format +msgid "Path to the file that is created the first time sudo is run: %s" +msgstr "Calea către fișierul care este creat prima dată când «sudo» este rulat: %s" + +#: plugins/sudoers/def_data.c:612 +msgid "Intercept further commands and apply sudoers restrictions to them" +msgstr "Interceptează comenzile următoare, și le aplică restricțiile „sudoers”" + +#: plugins/sudoers/def_data.c:616 +msgid "Log sub-commands run by the original command" +msgstr "Înregistrează în jurnal subcomenzile executate de comanda originală" + +#: plugins/sudoers/def_data.c:620 +msgid "Log the exit status of commands" +msgstr "Înregistrează în jurnal starea de ieșire a comenzilor" + +#: plugins/sudoers/def_data.c:624 +msgid "Subsequent commands in an intercepted session must be authenticated" +msgstr "Comenzile ulterioare dintr-o sesiune interceptată trebuie să fie autentificate" + +#: plugins/sudoers/def_data.c:628 +msgid "Allow an intercepted command to run set setuid or setgid programs" +msgstr "Permite unei comenzi interceptate să execute programe marcate setuid sau setgid" + +#: plugins/sudoers/def_data.c:632 +#, c-format +msgid "The maximum size to which the process's address space may grow (in bytes): %s" +msgstr "Dimensiunea maximă la care spațiul de adrese al procesului poate crește (în octeți): %s" + +# R-GC, scrie: +# traducerea acestui mesaj, este făcută în +# baza ideilor ce le-am putut extrage din +# pagina: +# https://en.wikipedia.org/wiki/Core_dump +# *** +# citez, de aici: +# „In computing, a core dump,[a] memory dump, crash dump, storage dump, system dump, or ABEND dump[1] consists of the recorded state of the working memory of a computer program at a specific time, generally when the program has crashed or otherwise terminated abnormally.” +#: plugins/sudoers/def_data.c:636 +#, c-format +msgid "The largest size core dump file that may be created (in bytes): %s" +msgstr "Fișierul de transferare a conținutului memoriei(core dump), pentru depanare, de cea mai mare dimensiune care poate fi creat (în octeți): %s" + +#: plugins/sudoers/def_data.c:640 +#, c-format +msgid "The maximum amount of CPU time that the process may use (in seconds): %s" +msgstr "Cantitatea maximă de timp CPU pe care o poate utiliza procesul (în secunde): %s" + +#: plugins/sudoers/def_data.c:644 +#, c-format +msgid "The maximum size of the data segment for the process (in bytes): %s" +msgstr "Dimensiunea maximă a segmentului de date pentru proces (în octeți): %s" + +#: plugins/sudoers/def_data.c:648 +#, c-format +msgid "The largest size file that the process may create (in bytes): %s" +msgstr "Fișierul de cea mai mare dimensiune pe care procesul îl poate crea (în octeți): %s" + +#: plugins/sudoers/def_data.c:652 +#, c-format +msgid "The maximum number of locks that the process may establish: %s" +msgstr "Numărul maxim de blocări pe care procesul le poate stabili: %s" + +#: plugins/sudoers/def_data.c:656 +#, c-format +msgid "The maximum size that the process may lock in memory (in bytes): %s" +msgstr "Dimensiunea maximă pe care procesul o poate bloca în memorie (în octeți): %s" + +#: plugins/sudoers/def_data.c:660 +#, c-format +msgid "The maximum number of files that the process may have open: %s" +msgstr "Numărul maxim de fișiere pe care procesul le poate avea deschise: %s" + +#: plugins/sudoers/def_data.c:664 +#, c-format +msgid "The maximum number of processes that the user may run simultaneously: %s" +msgstr "Numărul maxim de procese pe care utilizatorul le poate rula simultan: %s" + +#: plugins/sudoers/def_data.c:668 +#, c-format +msgid "The maximum size to which the process's resident set size may grow (in bytes): %s" +msgstr "Dimensiunea maximă până la care poate crește dimensiunea setului rezident al procesului (în octeți): %s" + +#: plugins/sudoers/def_data.c:672 +#, c-format +msgid "The maximum size to which the process's stack may grow (in bytes): %s" +msgstr "Dimensiunea maximă până la care poate crește stiva procesului (în octeți): %s" + +#: plugins/sudoers/def_data.c:676 +msgid "Attempt authentication even when in non-interactive mode" +msgstr "Încercați să vă autentificați chiar și în modul non-interactiv" + +#: plugins/sudoers/def_data.c:680 +msgid "Store plaintext passwords in I/O log input" +msgstr "Stochează parolele în formatul de text simplu în intrarea jurnalului de In/Ieș" + +#: plugins/sudoers/def_data.c:684 +msgid "List of regular expressions to use when matching a password prompt" +msgstr "Listă de expresii regulate de utilizat atunci când se potrivește o solicitare de parolă" + +#: plugins/sudoers/def_data.c:688 +#, c-format +msgid "The mechanism used by the intercept and log_subcmds options: %s" +msgstr "Mecanismul utilizat de opțiunile „intercept” și „log_subcmds”: %s" + +#: plugins/sudoers/def_data.c:692 +msgid "Attempt to verify the command and arguments after execution" +msgstr "Încearcă să verifice comanda și argumentele după execuție" + +#: plugins/sudoers/def_data.c:696 +#, c-format +msgid "AppArmor profile to use in the new security context: %s" +msgstr "Profilul AppArmor de utilizat în noul context de securitate: %s" + +#: plugins/sudoers/defaults.c:191 +#, c-format +msgid "unknown defaults entry \"%s\"" +msgstr "intrare de implicite necunoscută „%s”" + +#: plugins/sudoers/defaults.c:234 +#, c-format +msgid "no value specified for \"%s\"" +msgstr "nicio valoare specificată pentru „%s”" + +#: plugins/sudoers/defaults.c:243 +#, c-format +msgid "invalid operator \"%c=\" for \"%s\"" +msgstr "operator nevalid „%c=\" pentru „%s”" + +#: plugins/sudoers/defaults.c:275 +#, c-format +msgid "option \"%s\" does not take a value" +msgstr "opțiunea „%s” nu primește o valoare" + +#: plugins/sudoers/defaults.c:299 +#, c-format +msgid "invalid Defaults type 0x%x for option \"%s\"" +msgstr "tip de Defaults nevalid 0x%x pentru opțiunea „%s”" + +#: plugins/sudoers/defaults.c:306 +#, c-format +msgid "value \"%s\" is invalid for option \"%s\"" +msgstr "valoarea „%s” nu este validă pentru opțiunea „%s”" + +#: plugins/sudoers/defaults.c:1128 plugins/sudoers/policy.c:210 +#: plugins/sudoers/policy.c:219 +#, c-format +msgid "path name for \"%s\" too long" +msgstr "numele căii pentru „%s” este prea lung" + +#: plugins/sudoers/defaults.c:1134 +#, c-format +msgid "values for \"%s\" must start with a '/', '~', or '*'" +msgstr "valorile pentru „%s” trebuie să înceapă cu un „/”, „~”, sau „*”" + +#: plugins/sudoers/defaults.c:1141 +#, c-format +msgid "values for \"%s\" must start with a '/'" +msgstr "valorile pentru „%s” trebuie să înceapă cu un caracter „/”" + +#: plugins/sudoers/editor.c:180 +#, c-format +msgid "ignoring editor: %.*s" +msgstr "se ignoră editorul: %.*s" + +#: plugins/sudoers/editor.c:181 +msgid "editor arguments may not contain \"--\"" +msgstr "argumentele editorului nu pot să conțină „--”" + +#: plugins/sudoers/env.c:426 +msgid "sudo_putenv: corrupted envp, length mismatch" +msgstr "sudo_putenv: envp corupt, nepotrivire a lungimii" + +#: plugins/sudoers/env.c:1113 +msgid "unable to rebuild the environment" +msgstr "nu se poate reconstrui mediul" + +#: plugins/sudoers/env.c:1192 +#, c-format +msgid "sorry, you are not allowed to set the following environment variables: %s" +msgstr "nu aveți permisiunea de a stabili următoarele variabile de mediu: %s" + +#: plugins/sudoers/filedigest.c:49 +#, c-format +msgid "unsupported digest type %d for %s" +msgstr "tip de sumă de control nesuportată %d pentru %s" + +#: plugins/sudoers/filedigest.c:78 +#, c-format +msgid "%s: read error" +msgstr "%s: eroare de citire" + +#: plugins/sudoers/group_plugin.c:169 plugins/sudoers/sssd.c:576 +#, c-format +msgid "unable to load %s: %s" +msgstr "nu se poate încărca %s: %s" + +#: plugins/sudoers/group_plugin.c:181 +#, c-format +msgid "unable to find symbol \"group_plugin\" in %s" +msgstr "nu se poate găsi simbolul „group_plugin” în %s" + +#: plugins/sudoers/group_plugin.c:186 +#, c-format +msgid "%s: incompatible group plugin major version %d, expected %d" +msgstr "%s: versiunea majoră a modului de grup %d, este incompatibilă, se aștepta %d" + +#: plugins/sudoers/interfaces.c:76 plugins/sudoers/interfaces.c:93 +#, c-format +msgid "unable to parse IP address \"%s\"" +msgstr "nu se poate analiza adresa IP „%s”" + +#: plugins/sudoers/interfaces.c:81 plugins/sudoers/interfaces.c:98 +#, c-format +msgid "unable to parse netmask \"%s\"" +msgstr "nu se poate analiza masca de rețea „%s”" + +#: plugins/sudoers/interfaces.c:126 +msgid "Local IP address and netmask pairs:\n" +msgstr "Perechile adresă de IP locală și mască de rețea:\n" + +#: plugins/sudoers/iolog.c:685 +msgid "unable to update sequence file" +msgstr "nu se poate actualiza fișierul de secvență" + +#: plugins/sudoers/iolog.c:719 plugins/sudoers/iolog.c:907 +#: plugins/sudoers/iolog.c:1069 plugins/sudoers/iolog.c:1076 +#: plugins/sudoers/iolog.c:1197 plugins/sudoers/iolog.c:1204 +#: plugins/sudoers/iolog.c:1303 plugins/sudoers/iolog.c:1310 +#, c-format +msgid "unable to write to I/O log file: %s" +msgstr "nu se poate scrie în fișierul jurnal de In/Ieș: %s" + +#: plugins/sudoers/iolog.c:727 +#, c-format +msgid "unable to create %s/%s" +msgstr "nu se poate crea %s/%s" + +#: plugins/sudoers/iolog.c:955 +#, c-format +msgid "%s: internal error, I/O log file for event %d not open" +msgstr "%s: eroare internă, fișierul jurnal de In/Ieș pentru evenimentul %d nu este deschis" + +#: plugins/sudoers/iolog.c:1054 plugins/sudoers/iolog.c:1182 +#: plugins/sudoers/iolog.c:1287 plugins/sudoers/timestamp.c:879 +#: plugins/sudoers/timestamp.c:971 plugins/sudoers/visudo.c:556 +#: plugins/sudoers/visudo.c:562 +msgid "unable to read the clock" +msgstr "nu se poate citi ceasul" + +#: plugins/sudoers/iolog.c:1279 plugins/sudoers/log_client.c:1192 +#: plugins/sudoers/log_client.c:1202 plugins/sudoers/log_client.c:1206 +#, c-format +msgid "%s: internal error, invalid signal %d" +msgstr "%s: eroare internă, semnal nevalid %d" + +#: plugins/sudoers/ldap.c:177 plugins/sudoers/ldap_conf.c:292 +msgid "starttls not supported when using ldaps" +msgstr "starttls nu este acceptat când se utilizează ldaps" + +#: plugins/sudoers/ldap.c:248 +#, c-format +msgid "unable to initialize SSL cert and key db: %s" +msgstr "nu se poate inițializa certificatul SSL și baza de date a cheii: %s" + +#: plugins/sudoers/ldap.c:251 +#, c-format +msgid "you must set TLS_CERT in %s to use SSL" +msgstr "trebuie să stabiliți TLS_CERT în %s pentru a utiliza SSL" + +#: plugins/sudoers/ldap.c:1714 +#, c-format +msgid "unable to initialize LDAP: %s" +msgstr "nu se poate inițializa LDAP: %s" + +#: plugins/sudoers/ldap.c:1751 +msgid "start_tls specified but LDAP libs do not support ldap_start_tls_s() or ldap_start_tls_s_np()" +msgstr "start_tls specificat, dar bibliotecile LDAP nu acceptă ldap_start_tls_s() sau ldap_start_tls_s_np()" + +#: plugins/sudoers/ldap.c:1888 plugins/sudoers/parse_ldif.c:748 +#, c-format +msgid "invalid sudoOrder attribute: %s" +msgstr "atribut sudoOrder nevalid: %s" + +#: plugins/sudoers/ldap_conf.c:200 +#, c-format +msgid "%s: port too large" +msgstr "%s: portul este prea mare" + +#: plugins/sudoers/ldap_conf.c:261 +#, c-format +msgid "unsupported LDAP uri type: %s" +msgstr "tip de URI LDAP neacceptat: %s" + +#: plugins/sudoers/ldap_conf.c:288 +msgid "unable to mix ldap and ldaps URIs" +msgstr "nu se pot fuziona adrese URI, ldap și ldaps" + +#: plugins/sudoers/ldap_util.c:499 plugins/sudoers/ldap_util.c:506 +#: plugins/sudoers/ldap_util.c:514 plugins/sudoers/ldap_util.c:523 +#: plugins/sudoers/ldap_util.c:531 plugins/sudoers/ldap_util.c:541 +#: plugins/sudoers/ldap_util.c:549 +#, c-format +msgid "duplicate sudoOption: %s%s%s" +msgstr "sudoOption duplicată: %s%s%s" + +#: plugins/sudoers/ldap_util.c:568 plugins/sudoers/ldap_util.c:570 +#, c-format +msgid "unable to convert sudoOption: %s%s%s" +msgstr "nu se poate converti sudoOption: %s%s%s" + +#: plugins/sudoers/linux_audit.c:58 plugins/sudoers/linux_audit.c:60 +msgid "unable to open audit system" +msgstr "nu se poate deschide sistemul de auditare" + +#: plugins/sudoers/linux_audit.c:103 +msgid "unable to send audit message" +msgstr "nu se poate trimite mesajul de auditare" + +#: plugins/sudoers/log_client.c:125 plugins/sudoers/log_client.c:412 +#: plugins/sudoers/log_client.c:1439 plugins/sudoers/log_client.c:2055 +msgid "error in event loop" +msgstr "eroare în bucla de eveniment" + +#: plugins/sudoers/log_client.c:205 +#, c-format +msgid "Creation of new SSL_CTX object failed: %s" +msgstr "Crearea unui nou obiect SSL_CTX a eșuat: %s" + +#: plugins/sudoers/log_client.c:230 +#, c-format +msgid "unable to load certificate authority bundle %s" +msgstr "nu se poate încărca pachetul de autoritate de certificare %s" + +#: plugins/sudoers/log_client.c:252 +#, c-format +msgid "unable to load certificate %s" +msgstr "nu se poate încărca certificatul %s" + +#: plugins/sudoers/log_client.c:266 +#, c-format +msgid "unable to load private key %s" +msgstr "nu se poate încărca cheia privată %s" + +#: plugins/sudoers/log_client.c:275 +#, c-format +msgid "Unable to allocate ssl object: %s" +msgstr "Nu se poate aloca obiectul ssl: %s" + +#: plugins/sudoers/log_client.c:364 plugins/sudoers/log_client.c:369 +#, c-format +msgid "TLS connection to %s:%s failed: %s" +msgstr "Conexiunea TLS la %s:%s a eșuat: %s" + +#: plugins/sudoers/log_client.c:543 +msgid "TLS initialization was unsuccessful" +msgstr "Inițializarea TLS nu a reușit" + +#: plugins/sudoers/log_client.c:553 +msgid "TLS handshake was unsuccessful" +msgstr "Negocierea TLS nu a reușit" + +#: plugins/sudoers/log_client.c:1210 +#, c-format +msgid "%s: internal error, invalid exit status %d" +msgstr "%s: eroare internă, stare de ieșire nevalidă %d" + +#: plugins/sudoers/log_client.c:1739 plugins/sudoers/log_client.c:1763 +msgid "lost connection to log server" +msgstr "a fost pierdută conexiunea la serverul de înregistrare a jurnalului" + +#: plugins/sudoers/log_client.c:1840 +msgid "missing write buffer" +msgstr "lipsește memoria tampon de scriere" + +#: plugins/sudoers/log_client.c:1994 +msgid "unable to connect to log server" +msgstr "nu se poate conecta la serverul de înregistrare a jurnalului" + +#: plugins/sudoers/logging.c:290 +msgid "user NOT in sudoers" +msgstr "utilizatorul NU este în „sudoers”" + +#: plugins/sudoers/logging.c:292 +msgid "user NOT authorized on host" +msgstr "utilizatorul NU este autorizat pe gazdă" + +#: plugins/sudoers/logging.c:294 +msgid "command not allowed" +msgstr "comanda nu este permisă" + +#: plugins/sudoers/logging.c:315 +#, c-format +msgid "%s is not in the sudoers file.\n" +msgstr "%s nu se află în fișierul „sudoers”.\n" + +#: plugins/sudoers/logging.c:318 +#, c-format +msgid "%s is not allowed to run sudo on %s.\n" +msgstr "%s nu are permisiunea de a rula «sudo» pe %s.\n" + +#: plugins/sudoers/logging.c:321 +#, c-format +msgid "Sorry, user %s may not run sudo on %s.\n" +msgstr "Este posibil ca utilizatorul %s să nu poată executa «sudo» pe %s.\n" + +#: plugins/sudoers/logging.c:324 +#, c-format +msgid "Sorry, user %s is not allowed to execute '%s%s%s' as %s%s%s on %s.\n" +msgstr "Utilizatorului %s nu îi este permis să execute „%s%s%s” ca %s%s%s pe %s.\n" + +#: plugins/sudoers/logging.c:334 +msgid "This incident has been reported to the administrator.\n" +msgstr "Acest incident a fost raportat administratorului.\n" + +#: plugins/sudoers/logging.c:369 plugins/sudoers/sudoers.c:655 +#: plugins/sudoers/sudoers.c:657 plugins/sudoers/sudoers.c:659 +#: plugins/sudoers/sudoers.c:661 plugins/sudoers/sudoers.c:816 +#: plugins/sudoers/sudoers.c:818 +#, c-format +msgid "%s: command not found" +msgstr "%s: comanda nu a fost găsită" + +#: plugins/sudoers/logging.c:371 plugins/sudoers/sudoers.c:651 +#, c-format +msgid "" +"ignoring \"%s\" found in '.'\n" +"Use \"sudo ./%s\" if this is the \"%s\" you wish to run." +msgstr "" +"se ignoră „%s” găsit în „.”\n" +"Utilizați «sudo ./%s» dacă aceasta este „%s” pe care doriți să o rulați." + +#: plugins/sudoers/logging.c:391 +#, c-format +msgid "%u incorrect password attempt" +msgid_plural "%u incorrect password attempts" +msgstr[0] "o încercare de parolă incorectă" +msgstr[1] "două încercări de parolă incorecte" +msgstr[2] "%u încercări de parolă incorecte" +msgstr[3] "%u de încercări de parolă incorecte" + +#: plugins/sudoers/logging.c:481 +msgid "authentication failure" +msgstr "eșec de autentificare" + +#: plugins/sudoers/logging.c:520 plugins/sudoers/logging.c:539 +msgid "a password is required" +msgstr "o parolă este necesară" + +#: plugins/sudoers/logging.c:803 plugins/sudoers/logging.c:815 +msgid "problem parsing sudoers" +msgstr "problemă la analizarea sintaxei lui „sudoers”" + +#: plugins/sudoers/logging.c:877 plugins/sudoers/logging.c:889 +#, c-format +msgid "%s:%d:%d: %s" +msgstr "%s:%d:%d: %s" + +#: plugins/sudoers/logging.c:1066 +#, c-format +msgid "unable to write log file: %s" +msgstr "nu se poate scrie fișierul de jurnal: %s" + +#: plugins/sudoers/match_digest.c:112 +#, c-format +msgid "digest for %s (%s) bad length %zu, expected %zu" +msgstr "suma de control pentru %s (%s) are lungimea greșită %zu, se aștepta %zu" + +#: plugins/sudoers/match_digest.c:131 +#, c-format +msgid "digest for %s (%s) is not in %s form" +msgstr "suma de control pentru %s (%s) nu este în formatul %s" + +#: plugins/sudoers/parse.c:631 +#, c-format +msgid "" +"\n" +"LDAP Role: %s\n" +msgstr "" +"\n" +"Regula LDAP: %s\n" + +#: plugins/sudoers/parse.c:634 +msgid "" +"\n" +"Sudoers entry:\n" +msgstr "" +"\n" +"Intrare „sudoers”:\n" + +#: plugins/sudoers/parse.c:636 +msgid " RunAsUsers: " +msgstr " RuleazăCaUtilizatorii: " + +#: plugins/sudoers/parse.c:651 +msgid " RunAsGroups: " +msgstr " RuleazăCaGrupurile: " + +#: plugins/sudoers/parse.c:661 +msgid " Options: " +msgstr " Opțiuni: " + +#: plugins/sudoers/parse.c:725 +msgid " Commands:\n" +msgstr " Comenzi:\n" + +#: plugins/sudoers/parse.c:916 +#, c-format +msgid "Matching Defaults entries for %s on %s:\n" +msgstr "Se potrivesc intrările Defaults pentru %s pe %s:\n" + +#: plugins/sudoers/parse.c:934 +#, c-format +msgid "Runas and Command-specific defaults for %s:\n" +msgstr "Valori implicite specifice „Run_as” și comenzii pentru %s:\n" + +#: plugins/sudoers/parse.c:952 +#, c-format +msgid "User %s may run the following commands on %s:\n" +msgstr "Utilizatorul %s poate să ruleze următoarele comenzi pe %s:\n" + +#: plugins/sudoers/parse.c:967 +#, c-format +msgid "User %s is not allowed to run sudo on %s.\n" +msgstr "Utilizatorului %s nu îi este permis să ruleze «sudo» pe %s.\n" + +#: plugins/sudoers/parse_ldif.c:618 +#, c-format +msgid "ignoring incomplete sudoRole: cn: %s" +msgstr "se ignoră sudoRole incompletă: cn: %s" + +#: plugins/sudoers/parse_ldif.c:678 +#, c-format +msgid "invalid LDIF attribute: %s" +msgstr "atribut LDIF nevalid: %s" + +#: plugins/sudoers/policy.c:82 plugins/sudoers/policy.c:113 +#, c-format +msgid "invalid %.*s set by sudo front-end" +msgstr "%.*s nevalid stabilit de interfața «sudo»" + +#: plugins/sudoers/policy.c:360 plugins/sudoers/testsudoers.c:268 +msgid "unable to parse network address list" +msgstr "nu se poate analiza lista de adrese de rețea" + +#: plugins/sudoers/policy.c:528 +msgid "user name not set by sudo front-end" +msgstr "numele de utilizator nu este stabilit de interfața sudo" + +#: plugins/sudoers/policy.c:532 +msgid "user-ID not set by sudo front-end" +msgstr "ID-ul utilizatorului nu este stabilit de interfața «sudo»" + +#: plugins/sudoers/policy.c:536 +msgid "group-ID not set by sudo front-end" +msgstr "ID-ul grupului nu este stabilit de interfața «sudo»" + +#: plugins/sudoers/policy.c:540 +msgid "host name not set by sudo front-end" +msgstr "numele gazdei nu este stabilit de interfața sudo" + +#: plugins/sudoers/policy.c:737 +#, c-format +msgid "invalid working directory: %s" +msgstr "director de lucru nevalid: %s" + +#: plugins/sudoers/policy.c:921 +#, c-format +msgid "invalid chroot directory: %s" +msgstr "director „chroot” nevalid: %s" + +#: plugins/sudoers/policy.c:1108 plugins/sudoers/visudo.c:259 +#: plugins/sudoers/visudo.c:906 +#, c-format +msgid "unable to execute %s" +msgstr "nu se poate executa %s" + +#: plugins/sudoers/policy.c:1178 plugins/sudoers/policy.c:1215 +#: plugins/sudoers/policy.c:1237 plugins/sudoers/policy.c:1263 +#, c-format +msgid "%s: invalid mode flags from sudo front end: 0x%x" +msgstr "%s: indicatori de mod nevalizi în interfața «sudo»: 0x%x" + +#: plugins/sudoers/policy.c:1299 +#, c-format +msgid "Sudoers policy plugin version %s\n" +msgstr "Versiunea modulului de politică „sudoers”, este %s\n" + +#: plugins/sudoers/policy.c:1301 +#, c-format +msgid "Sudoers file grammar version %d\n" +msgstr "Versiunea de gramatică a fișierului „sudoers”, este %d\n" + +#: plugins/sudoers/policy.c:1305 +#, c-format +msgid "" +"\n" +"Sudoers path: %s\n" +msgstr "" +"\n" +"Cale „sudoers”: %s\n" + +#: plugins/sudoers/policy.c:1308 +#, c-format +msgid "nsswitch path: %s\n" +msgstr "cale nsswitch: %s\n" + +#: plugins/sudoers/policy.c:1310 +#, c-format +msgid "ldap.conf path: %s\n" +msgstr "cale ldap.conf: %s\n" + +#: plugins/sudoers/policy.c:1311 +#, c-format +msgid "ldap.secret path: %s\n" +msgstr "cale ldap.secret: %s\n" + +#: plugins/sudoers/policy.c:1344 +#, c-format +msgid "unable to register hook of type %d (version %d.%d)" +msgstr "nu se poate înregistra cârligul de tip %d (versiunea %d.%d)" + +#: plugins/sudoers/policy.c:1362 +#, c-format +msgid "unable to deregister hook of type %d (version %d.%d)" +msgstr "nu se poate anula înregistrarea cârligului de tip %d (versiunea %d.%d)" + +#: plugins/sudoers/pwutil.c:222 plugins/sudoers/pwutil.c:240 +#, c-format +msgid "unable to cache uid %u" +msgstr "nu se poate stoca în memoria tampon uid-ul %u" + +#: plugins/sudoers/pwutil.c:234 +#, c-format +msgid "unable to cache uid %u, already exists" +msgstr "nu se poate stoca în memoria tampon uid-ul %u, există deja" + +#: plugins/sudoers/pwutil.c:294 plugins/sudoers/pwutil.c:312 +#: plugins/sudoers/pwutil.c:375 plugins/sudoers/pwutil.c:420 +#, c-format +msgid "unable to cache user %s" +msgstr "nu se poate stoca în memoria tampon utilizatorul %s" + +#: plugins/sudoers/pwutil.c:307 +#, c-format +msgid "unable to cache user %s, already exists" +msgstr "nu se poate stoca în memoria tampon utilizatorul %s, există deja" + +#: plugins/sudoers/pwutil.c:539 plugins/sudoers/pwutil.c:557 +#, c-format +msgid "unable to cache gid %u" +msgstr "nu se poate stoca în memoria tampon gid-ul %u" + +#: plugins/sudoers/pwutil.c:551 +#, c-format +msgid "unable to cache gid %u, already exists" +msgstr "nu se poate stoca în memoria tampon gid-ul %u, există deja" + +#: plugins/sudoers/pwutil.c:605 plugins/sudoers/pwutil.c:623 +#: plugins/sudoers/pwutil.c:684 plugins/sudoers/pwutil.c:733 +#, c-format +msgid "unable to cache group %s" +msgstr "nu se poate stoca în memoria tampon grupul %s" + +#: plugins/sudoers/pwutil.c:618 +#, c-format +msgid "unable to cache group %s, already exists" +msgstr "nu se poate stoca în memoria tampon grupul %s, există deja" + +#: plugins/sudoers/pwutil.c:880 plugins/sudoers/pwutil.c:963 +#: plugins/sudoers/pwutil.c:1017 plugins/sudoers/pwutil.c:1071 +#, c-format +msgid "unable to cache group list for %s, already exists" +msgstr "nu se poate stoca în memoria tampon lista grupului pentru %s, există deja" + +#: plugins/sudoers/pwutil.c:886 plugins/sudoers/pwutil.c:968 +#: plugins/sudoers/pwutil.c:1023 plugins/sudoers/pwutil.c:1076 +#, c-format +msgid "unable to cache group list for %s" +msgstr "nu se poate stoca în memoria tampon lista grupului pentru %s" + +#: plugins/sudoers/pwutil.c:957 +#, c-format +msgid "unable to parse groups for %s" +msgstr "nu se pot analiza grupurile pentru %s" + +#: plugins/sudoers/pwutil.c:1065 +#, c-format +msgid "unable to parse gids for %s" +msgstr "nu se pot analiza gid-urile pentru %s" + +#: plugins/sudoers/set_perms.c:114 plugins/sudoers/set_perms.c:445 +#: plugins/sudoers/set_perms.c:852 plugins/sudoers/set_perms.c:1162 +#: plugins/sudoers/set_perms.c:1460 +msgid "perm stack overflow" +msgstr "supraplin al stivei de permisiuni" + +#: plugins/sudoers/set_perms.c:125 plugins/sudoers/set_perms.c:376 +#: plugins/sudoers/set_perms.c:456 plugins/sudoers/set_perms.c:719 +#: plugins/sudoers/set_perms.c:863 plugins/sudoers/set_perms.c:1086 +#: plugins/sudoers/set_perms.c:1173 plugins/sudoers/set_perms.c:1393 +#: plugins/sudoers/set_perms.c:1471 plugins/sudoers/set_perms.c:1562 +msgid "perm stack underflow" +msgstr "subnivel al stivei de permisiuni" + +#: plugins/sudoers/set_perms.c:185 plugins/sudoers/set_perms.c:503 +#: plugins/sudoers/set_perms.c:1227 plugins/sudoers/set_perms.c:1505 +msgid "unable to change to root gid" +msgstr "nu se poate schimba la gid-ul root" + +#: plugins/sudoers/set_perms.c:276 plugins/sudoers/set_perms.c:600 +#: plugins/sudoers/set_perms.c:995 plugins/sudoers/set_perms.c:1304 +msgid "unable to change to runas gid" +msgstr "nu se poate schimba la gid-ul „run as”" + +#: plugins/sudoers/set_perms.c:281 plugins/sudoers/set_perms.c:605 +#: plugins/sudoers/set_perms.c:1000 plugins/sudoers/set_perms.c:1309 +msgid "unable to set runas group vector" +msgstr "nu se poate stabili vectorul de grup „run as”" + +#: plugins/sudoers/set_perms.c:292 plugins/sudoers/set_perms.c:616 +#: plugins/sudoers/set_perms.c:1009 plugins/sudoers/set_perms.c:1318 +msgid "unable to change to runas uid" +msgstr "nu se poate schimba uid-ul „run as”" + +#: plugins/sudoers/set_perms.c:310 plugins/sudoers/set_perms.c:634 +#: plugins/sudoers/set_perms.c:1025 plugins/sudoers/set_perms.c:1334 +msgid "unable to change to sudoers gid" +msgstr "nu se poate schimba gid-ul „sudoers”" + +#: plugins/sudoers/set_perms.c:363 plugins/sudoers/set_perms.c:706 +#: plugins/sudoers/set_perms.c:1073 plugins/sudoers/set_perms.c:1380 +#: plugins/sudoers/set_perms.c:1549 +msgid "too many processes" +msgstr "prea multe procese" + +#: plugins/sudoers/solaris_audit.c:61 +msgid "unable to get current working directory" +msgstr "nu se poate obține directorul de lucru actual" + +#: plugins/sudoers/solaris_audit.c:69 +#, c-format +msgid "truncated audit path user_cmnd: %s" +msgstr "cale de auditare trunchiată user_cmnd: %s" + +#: plugins/sudoers/solaris_audit.c:76 +#, c-format +msgid "truncated audit path argv[0]: %s" +msgstr "cale de auditare trunchiată argv[0]: %s" + +#: plugins/sudoers/sssd.c:579 +msgid "unable to initialize SSS source. Is SSSD installed on your machine?" +msgstr "nu se poate inițializa sursa SSS. Este SSSD instalat pe mașină?" + +#: plugins/sudoers/sssd.c:587 plugins/sudoers/sssd.c:596 +#: plugins/sudoers/sssd.c:605 plugins/sudoers/sssd.c:614 +#: plugins/sudoers/sssd.c:623 +#, c-format +msgid "unable to find symbol \"%s\" in %s" +msgstr "nu se poate găsi simbolul „%s” în %s" + +#: plugins/sudoers/sudoers.c:263 +#, c-format +msgid "unable to get defaults from %s" +msgstr "nu se pot obține valorile implicite de la %s" + +#: plugins/sudoers/sudoers.c:270 +msgid "no valid sudoers sources found, quitting" +msgstr "nicio sursă „sudoers” validă, se iese" + +#: plugins/sudoers/sudoers.c:346 +#, c-format +msgid "user not allowed to change root directory to %s" +msgstr "utilizatorul nu are permisiunea de a schimba directorul rădăcină în %s" + +#: plugins/sudoers/sudoers.c:348 +#, c-format +msgid "you are not permitted to use the -R option with %s" +msgstr "nu aveți permisiunea de a utiliza opțiunea „-R” cu %s" + +#: plugins/sudoers/sudoers.c:373 +#, c-format +msgid "user not allowed to change directory to %s" +msgstr "utilizatorului nu îi este permis să schimbe directorul la %s" + +#: plugins/sudoers/sudoers.c:374 +#, c-format +msgid "you are not permitted to use the -D option with %s" +msgstr "nu aveți permisiunea de a utiliza opțiunea „-D” cu %s" + +#: plugins/sudoers/sudoers.c:401 +msgid "no command specified" +msgstr "nicio comandă specificată" + +#: plugins/sudoers/sudoers.c:426 +msgid "sudoers specifies that root is not allowed to sudo" +msgstr "„sudoers” specifică că root nu are permisiunea să execute «sudo»" + +#: plugins/sudoers/sudoers.c:483 +msgid "user not allowed to override closefrom limit" +msgstr "utilizatorului nu îi este permis să suprascrie limita de closefrom" + +#: plugins/sudoers/sudoers.c:484 +msgid "you are not permitted to use the -C option" +msgstr "nu aveți permisiunea de a utiliza opțiunea „-C”" + +#: plugins/sudoers/sudoers.c:544 +#, c-format +msgid "timestamp owner (%s): No such user" +msgstr "proprietar marcaj de timp (%s): Nu există un astfel de utilizator" + +#: plugins/sudoers/sudoers.c:559 +msgid "no tty" +msgstr "fără tty" + +#: plugins/sudoers/sudoers.c:560 +msgid "sorry, you must have a tty to run sudo" +msgstr "trebuie să aveți un tty pentru a rula «sudo»" + +#: plugins/sudoers/sudoers.c:567 +#, c-format +msgid "invalid shell for user %s: %s" +msgstr "shell nevalid pentru utilizatorul %s: %s" + +#: plugins/sudoers/sudoers.c:650 +msgid "command in current directory" +msgstr "comandă în directorul curent" + +#: plugins/sudoers/sudoers.c:665 +msgid "\"cd\" is a shell built-in command, it cannot be run directly." +msgstr "«cd» este o comandă încorporată în shell, nu poate fi rulată direct." + +#: plugins/sudoers/sudoers.c:667 +msgid "the -s option may be used to run a privileged shell." +msgstr "opțiunea „-s” poate fi utilizată pentru a rula un shell privilegiat." + +#: plugins/sudoers/sudoers.c:669 +msgid "the -D option may be used to run a command in a specific directory." +msgstr "opțiunea „-D” poate fi folosită pentru a rula o comandă într-un anumit director." + +#: plugins/sudoers/sudoers.c:678 +msgid "user not allowed to set a command timeout" +msgstr "utilizatorului nu îi este permis să stabilească o limită de timp a comenzii" + +#: plugins/sudoers/sudoers.c:680 +msgid "sorry, you are not allowed set a command timeout" +msgstr "nu aveți permisiunea de a stabili o limită de timp a comenzii" + +#: plugins/sudoers/sudoers.c:688 +msgid "user not allowed to preserve the environment" +msgstr "utilizatorului nu îi este permis să păstreze mediul" + +#: plugins/sudoers/sudoers.c:690 +msgid "sorry, you are not allowed to preserve the environment" +msgstr "nu aveți permisiunea să păstrați mediul" + +#: plugins/sudoers/sudoers.c:799 +msgid "error setting user-specified environment variables" +msgstr "eroare la stabilirea variabilelor de mediu specificate de utilizator" + +#: plugins/sudoers/sudoers.c:1112 +msgid "sudoedit doesn't need to be run via sudo" +msgstr "«sudoedit» nu are nevoie să fie rulat via «sudo»" + +#: plugins/sudoers/sudoers.c:1157 plugins/sudoers/sudoreplay.c:1612 +#: plugins/sudoers/tsdump.c:138 +#, c-format +msgid "unable to read %s" +msgstr "nu se poate citi %s" + +#: plugins/sudoers/sudoers.c:1186 plugins/sudoers/visudo.c:1066 +#, c-format +msgid "%s is not a regular file" +msgstr "%s nu este un fișier obișnuit" + +#: plugins/sudoers/sudoers.c:1190 plugins/sudoers/timestamp.c:263 toke.l:1255 +#, c-format +msgid "%s is owned by uid %u, should be %u" +msgstr "%s este deținut de uid-ul %u, ar trebui să fie %u" + +#: plugins/sudoers/sudoers.c:1194 plugins/sudoers/timestamp.c:270 toke.l:1260 +#, c-format +msgid "%s is world writable" +msgstr "%s poate fi scris de oricine" + +#: plugins/sudoers/sudoers.c:1198 plugins/sudoers/timestamp.c:275 toke.l:1263 +#, c-format +msgid "%s is owned by gid %u, should be %u" +msgstr "%s este deținut de gid-ul %u, ar trebui să fie %u" + +#: plugins/sudoers/sudoers.c:1233 +#, c-format +msgid "only root can use \"-c %s\"" +msgstr "doar root poate utiliza „-c %s”" + +#: plugins/sudoers/sudoers.c:1252 +#, c-format +msgid "unknown login class %s" +msgstr "clasă de autentificare necunoscută %s" + +#: plugins/sudoers/sudoers.c:1339 plugins/sudoers/sudoers.c:1354 +#, c-format +msgid "unable to resolve host %s" +msgstr "nu se poate rezolva gazda %s" + +#: plugins/sudoers/sudoreplay.c:252 +#, c-format +msgid "invalid filter option: %s" +msgstr "opțiune de filtru nevalidă: %s" + +#: plugins/sudoers/sudoreplay.c:268 +#, c-format +msgid "invalid max wait: %s" +msgstr "așteptare maximă nevalidă: %s" + +#: plugins/sudoers/sudoreplay.c:291 +#, c-format +msgid "invalid speed factor: %s" +msgstr "factor de viteză nevalid: %s" + +#: plugins/sudoers/sudoreplay.c:326 +#, c-format +msgid "invalid time offset %s" +msgstr "decalaj de timp nevalid %s" + +#: plugins/sudoers/sudoreplay.c:335 +#, c-format +msgid "%s/%.2s/%.2s/%.2s: %s" +msgstr "%s/%.2s/%.2s/%.2s: %s" + +#: plugins/sudoers/sudoreplay.c:340 +#, c-format +msgid "%s/timing: %s" +msgstr "%s/sincronizare: %s" + +#: plugins/sudoers/sudoreplay.c:368 +#, c-format +msgid "Replaying sudo session: %s" +msgstr "Se redă sesiunea sudo: %s" + +#: plugins/sudoers/sudoreplay.c:634 +msgid "unable to set tty to raw mode" +msgstr "nu se poate stabili tty la modul „raw”" + +#: plugins/sudoers/sudoreplay.c:685 +msgid "Warning: your terminal is too small to properly replay the log.\n" +msgstr "Avertisment: terminalul este prea mic pentru a putea reda bine jurnalul.\n" + +#: plugins/sudoers/sudoreplay.c:686 +#, c-format +msgid "Log geometry is %d x %d, your terminal's geometry is %d x %d." +msgstr "Geometria jurnalului este %d x %d, iar geometria terminalului este %d x %d." + +#: plugins/sudoers/sudoreplay.c:714 +msgid "Replay finished, press any key to restore the terminal." +msgstr "Redarea s-a încheiat, apăsați orice tastă pentru a restaura terminalul." + +#: plugins/sudoers/sudoreplay.c:1216 plugins/sudoers/sudoreplay.c:1246 +#, c-format +msgid "ambiguous expression \"%s\"" +msgstr "expresie ambiguă „%s”" + +#: plugins/sudoers/sudoreplay.c:1268 +msgid "unmatched ')' in expression" +msgstr "„)” fără pereche în expresie" + +#: plugins/sudoers/sudoreplay.c:1272 +#, c-format +msgid "unknown search term \"%s\"" +msgstr "termen de căutare necunoscut „%s”" + +#: plugins/sudoers/sudoreplay.c:1287 +#, c-format +msgid "%s requires an argument" +msgstr "%s necesită un argument" + +#: plugins/sudoers/sudoreplay.c:1297 +#, c-format +msgid "could not parse date \"%s\"" +msgstr "nu s-a putut analiza data „%s”" + +#: plugins/sudoers/sudoreplay.c:1306 +msgid "unmatched '(' in expression" +msgstr "„(” fără pereche în expresie" + +#: plugins/sudoers/sudoreplay.c:1308 +msgid "illegal trailing \"or\"" +msgstr "terminare ilegală a expresiei, cu „or”" + +#: plugins/sudoers/sudoreplay.c:1310 +msgid "illegal trailing \"!\"" +msgstr "terminare ilegală a expresiei, cu „!”" + +#: plugins/sudoers/sudoreplay.c:1416 +#, c-format +msgid "unknown search type %d" +msgstr "tip de căutare necunoscută %d" + +#: plugins/sudoers/sudoreplay.c:1678 +#, c-format +msgid "usage: %s [-hnRS] [-d dir] [-m num] [-s num] ID\n" +msgstr "utilizare: %s [-hnRS] [-d dir] [-m num] [-s num] ID\n" + +#: plugins/sudoers/sudoreplay.c:1680 +#, c-format +msgid "usage: %s [-h] [-d dir] -l [search expression]\n" +msgstr "utilizare: %s [-h] [-d dir] -l [expresie de căutare]\n" + +#: plugins/sudoers/sudoreplay.c:1694 +#, c-format +msgid "" +"%s - replay sudo session logs\n" +"\n" +msgstr "" +"%s - redă jurnalele de sesiune «sudo»\n" +"\n" + +#: plugins/sudoers/sudoreplay.c:1696 +msgid "" +"\n" +"Options:\n" +" -d, --directory=dir specify directory for session logs\n" +" -f, --filter=filter specify which I/O type(s) to display\n" +" -h, --help display help message and exit\n" +" -l, --list list available session IDs, with optional expression\n" +" -m, --max-wait=num max number of seconds to wait between events\n" +" -n, --non-interactive no prompts, session is sent to the standard output\n" +" -R, --no-resize do not attempt to re-size the terminal\n" +" -S, --suspend-wait wait while the command was suspended\n" +" -s, --speed=num speed up or slow down output\n" +" -V, --version display version information and exit" +msgstr "" +"\n" +"Options:\n" +" -d, --directory=dir specifică directorul pentru jurnalele sesiunii\n" +" -f, --filter=filter specifică care tip(uri) de In/Ieș să se afișeze\n" +" -h, --help afișează mesajul de ajutor și iese\n" +" -l, --list listează ID-urile sesiunii disponibile, cu expresii opționale\n" +" -m, --max-wait=num numărul maxim de secunde de așteptat între evenimente\n" +" -n, --non-interactive fără solicitări, sesiunea este trimisă direct la ieșirea standard\n" +" -R, --no-resize nu încearcă să redimensioneze terminalul\n" +" -S, --suspend-wait așteaptă până când comanda a fost suspendată\n" +" -s, --speed=num accelerează sau încetinește ieșirea\n" +" -V, --version afișează informațiile de versiune și iese" + +#: plugins/sudoers/testsudoers.c:344 +msgid "\thost unmatched" +msgstr "\tgazda nu are nici o potrivire" + +#: plugins/sudoers/testsudoers.c:347 +msgid "" +"\n" +"Command allowed" +msgstr "" +"\n" +"Comandă permisă" + +#: plugins/sudoers/testsudoers.c:348 +msgid "" +"\n" +"Command denied" +msgstr "" +"\n" +"Comandă negată" + +#: plugins/sudoers/testsudoers.c:348 +msgid "" +"\n" +"Command unmatched" +msgstr "" +"\n" +"Comanda nu se potrivește" + +#: plugins/sudoers/timestamp.c:354 plugins/sudoers/timestamp.c:693 +#, c-format +msgid "unable to truncate time stamp file to %lld bytes" +msgstr "nu se poate trunchia fișierul marcajelor de timp în %lld octeți" + +#: plugins/sudoers/timestamp.c:890 +msgid "ignoring time stamp from the future" +msgstr "se vor ignora marcajele de timp pe viitor" + +#: plugins/sudoers/timestamp.c:913 +#, c-format +msgid "time stamp too far in the future: %20.20s" +msgstr "datarea este prea departe în viitor: %20.20s" + +#: plugins/sudoers/timestamp.c:1042 +#, c-format +msgid "unable to lock time stamp file %s" +msgstr "nu se poate bloca fișierul marcajelor de timp %s" + +#: plugins/sudoers/toke_util.c:156 +msgid "sudoedit should not be specified with a path" +msgstr "«sudoedit» nu ar trebui să fie specificat cu o cale" + +#: plugins/sudoers/visudo.c:254 +msgid "the -x option will be removed in a future release" +msgstr "opțiunea „-x” va fi eliminată într-o lansare viitoare" + +#: plugins/sudoers/visudo.c:256 +msgid "please consider using the cvtsudoers utility instead" +msgstr "luați în considerare utilizarea utilitarului «cvtsudoers» în schimb" + +#: plugins/sudoers/visudo.c:311 plugins/sudoers/visudo.c:702 +#, c-format +msgid "press return to edit %s: " +msgstr "apăsați „enter” pentru a edita %s: " + +#: plugins/sudoers/visudo.c:326 +#, c-format +msgid "contents of edit session left in %s" +msgstr "conținutul sesiunii de editare rămase în %s" + +#: plugins/sudoers/visudo.c:403 +#, c-format +msgid "specified editor (%s) doesn't exist" +msgstr "editorul specificat (%s) nu există" + +#: plugins/sudoers/visudo.c:408 +#, c-format +msgid "no editor found (editor path = %s)" +msgstr "nu s-a găsit niciun editor (cale editor = %s)" + +#: plugins/sudoers/visudo.c:495 plugins/sudoers/visudo.c:774 +#, c-format +msgid "unable to stat %s" +msgstr "nu se poate stabili starea lui %s" + +#: plugins/sudoers/visudo.c:515 plugins/sudoers/visudo.c:523 +msgid "write error" +msgstr "eroare de scriere" + +#: plugins/sudoers/visudo.c:569 +#, c-format +msgid "unable to stat temporary file (%s), %s unchanged" +msgstr "nu se poate stabili starea fișierului temporar (%s), %s neschimbat" + +#: plugins/sudoers/visudo.c:576 +#, c-format +msgid "zero length temporary file (%s), %s unchanged" +msgstr "fișier temporar de lungime zero (%s), %s neschimbat" + +#: plugins/sudoers/visudo.c:582 +#, c-format +msgid "editor (%s) failed, %s unchanged" +msgstr "editorul (%s) a eșuat, %s neschimbat" + +#: plugins/sudoers/visudo.c:604 +#, c-format +msgid "%s unchanged" +msgstr "%s neschimbat" + +#: plugins/sudoers/visudo.c:649 +#, c-format +msgid "unable to re-open temporary file (%s), %s unchanged." +msgstr "nu se poate redeschide fișierul temporar (%s), %s neschimbat." + +#: plugins/sudoers/visudo.c:662 +#, c-format +msgid "unable to parse temporary file (%s), unknown error" +msgstr "nu se poate analiza fișierul temporar (%s), eroare necunoscută" + +#: plugins/sudoers/visudo.c:748 plugins/sudoers/visudo.c:778 +#: plugins/sudoers/visudo.c:785 +#, c-format +msgid "unable to set (uid, gid) of %s to (%u, %u)" +msgstr "nu se poate stabili (uid, gid) de %s la (%u, %u)" + +#: plugins/sudoers/visudo.c:813 +#, c-format +msgid "%s and %s not on the same file system, using mv to rename" +msgstr "%s și %s nu sunt pe același sistem de fișiere, se utilizează «mv» pentru a redenumi" + +#: plugins/sudoers/visudo.c:824 +#, c-format +msgid "command failed: '%s %s %s', %s unchanged" +msgstr "comanda a eșuat: „%s %s %s”, %s neschimbat" + +#: plugins/sudoers/visudo.c:831 +#, c-format +msgid "error renaming %s, %s unchanged" +msgstr "eroare la redenumirea %s, %s neschimbat" + +#: plugins/sudoers/visudo.c:851 +msgid "What now? " +msgstr "Acum ce? " + +#: plugins/sudoers/visudo.c:865 +msgid "" +"Options are:\n" +" (e)dit sudoers file again\n" +" e(x)it without saving changes to sudoers file\n" +" (Q)uit and save changes to sudoers file (DANGER!)\n" +msgstr "" +"Opțiunile sunt:\n" +" (e) - editează fișierul „sudoers” din nou\n" +" (x) - ieși fără a salva modificările în fișierul „sudoers”\n" +" (Q) - ieși și salvează modificările în fișierul „sudoers” (PERICOL!)\n" + +#: plugins/sudoers/visudo.c:911 +#, c-format +msgid "unable to run %s" +msgstr "nu se poate rula %s" + +#: plugins/sudoers/visudo.c:942 +#, c-format +msgid "%s: wrong owner (uid, gid) should be (%u, %u)\n" +msgstr "%s: proprietarul greșit (uid, gid) ar trebui să fie (%u, %u)n\n" + +#: plugins/sudoers/visudo.c:953 +#, c-format +msgid "%s: bad permissions, should be mode 0%o\n" +msgstr "%s: permisiuni proaste, ar trebui să fie modul 0%o\n" + +#: plugins/sudoers/visudo.c:999 plugins/sudoers/visudo.c:1006 +#, c-format +msgid "%s: parsed OK\n" +msgstr "%s: analizat, OK\n" + +#: plugins/sudoers/visudo.c:1025 +#, c-format +msgid "%s busy, try again later" +msgstr "%s ocupat, încercați din nou mai târziu" + +#: plugins/sudoers/visudo.c:1029 +msgid "Edit anyway? [y/N]" +msgstr "Editați oricum? [y/N]" + +#: plugins/sudoers/visudo.c:1130 +#, c-format +msgid "Warning: %s:%d:%d: unused %s \"%s\"" +msgstr "Avertisment: %s:%d:%d: neutilizat %s „%s”" + +#: plugins/sudoers/visudo.c:1242 +#, c-format +msgid "" +"%s - safely edit the sudoers file\n" +"\n" +msgstr "" +"%s - editează în siguranță fișierul „sudoers”\n" +"\n" + +#: plugins/sudoers/visudo.c:1244 +msgid "" +"\n" +"Options:\n" +" -c, --check check-only mode\n" +" -f, --file=sudoers specify sudoers file location\n" +" -h, --help display help message and exit\n" +" -I, --no-includes do not edit include files\n" +" -q, --quiet less verbose (quiet) syntax error messages\n" +" -s, --strict strict syntax checking\n" +" -V, --version display version information and exit\n" +msgstr "" +"\n" +"Opțiuni:\n" +" -c, --check modul doar verifică\n" +" -f, --file=sudoers specifică locația fișierului „sudoers”\n" +" -h, --help afișează mesajul de ajutor și iese\n" +" -I, --no-includes nu editează fișierele „include”\n" +" -q, --quiet mesaje de eroare de sintaxă mai puțin detaliate\n" +" -s, --strict verificare strictă de sintaxă\n" +" -V, --version afișează informațiile de versiune și iese\n" + +#: toke.l:189 +msgid "empty string" +msgstr "șir gol" + +#: toke.l:201 toke.l:571 +msgid "empty group" +msgstr "grup gol" + +#: toke.l:211 toke.l:569 +msgid "empty netgroup" +msgstr "netgroup gol" + +#: toke.l:289 +msgid "unterminated regular expression" +msgstr "expresie regulată nedeterminată" + +#: toke.l:363 toke.l:375 toke.l:387 toke.l:403 toke.l:422 toke.l:462 +msgid "invalid line continuation" +msgstr "continuarea liniei nevalidă" + +#: toke.l:608 toke.l:620 +msgid "invalid IPv6 address" +msgstr "adresă IPv6 invalidă" + +#: toke.l:876 +msgid "unexpected line break in string" +msgstr "întrerupere de linie neașteptată în șir" + +#: toke.l:1226 +msgid "too many levels of includes" +msgstr "prea multe niveluri de includeri" + +#~ msgid "%s must be owned by uid %d" +#~ msgstr "%s trebuie să fie deținut de uid-ul %d" + +#~ msgid "%s must only be writable by owner" +#~ msgstr "%s trebuie să poată fi scris numai de către proprietar" + +#~ msgid "%s is group writable" +#~ msgstr "%s poate fi scris de membrii grupului" + +#~ msgid "lecture status path too long: %s/%s" +#~ msgstr "calea fișierului de stare al instrucțiunilor de utilizare, este prea lungă: %s/%s" + +#~ msgid "Warning: %s:%d:%d: cycle in %s \"%s\"" +#~ msgstr "Avertisment: %s:%d:%d ciclu în %s „%s”" + +#~ msgid "Warning: %s:%d:%d: %s \"%s\" referenced but not defined" +#~ msgstr "Avertisment: %s:%d:%d %s \"%s\" menționat, dar nu definit" + +#~ msgid "parse error in %s near line %d\n" +#~ msgstr "eroare de analizare în %s lângă linia %d\n" + +#~ msgid "parse error in %s\n" +#~ msgstr "eroare de analizare în %s\n" + +#~ msgid "%s: unknown defaults entry \"%s\"" +#~ msgstr "%s: intrare defaults necunoscută „%s”" + +#~ msgid "%s:%d:%d: no value specified for \"%s\"" +#~ msgstr "%s:%d:%d nicio valoare specificată pentru „%s”" + +#~ msgid "%s:%d:%d: invalid operator \"%c=\" for \"%s\"" +#~ msgstr "%s:%d:%d: operator nevalid „%c=\" pentru „%s”" + +#~ msgid "%s:%d:%d: option \"%s\" does not take a value" +#~ msgstr "%s:%d:%d: opțiunea „%s” nu primește o valoare" + +#~ msgid "%s:%d:%d: invalid Defaults type 0x%x for option \"%s\"" +#~ msgstr "%s:%d:%d: tip de Defaults nevalid 0x%x pentru opțiunea „%s”" + +#~ msgid "%s:%d:%d: value \"%s\" is invalid for option \"%s\"" +#~ msgstr "%s:%d:%d: valoarea „%s” nu este validă pentru opțiunea „%s”" + +#~ msgid "%s:%d:%d: path name for \"%s\" too long" +#~ msgstr "%s:%d:%d: numele căii pentru „%s” este prea lung" + +#~ msgid "%s: path name for \"%s\" too long" +#~ msgstr "%s: numele căii pentru „%s” este prea lung" + +#~ msgid "%s:%d:%d: values for \"%s\" must start with a '/', '~', or '*'" +#~ msgstr "%s:%d:%d: valorile pentru „%s” trebuie să înceapă cu un „/”, „~”, sau „*”" + +#~ msgid "%s:%d:%d: values for \"%s\" must start with a '/'" +#~ msgstr "%s:%d:%d: valorile pentru „%s” trebuie să înceapă cu un „/”" + +#~ msgid "parse error in %s near line %d" +#~ msgstr "eroare de analizare în %s lângă linia %d" + +#~ msgid "parse error in %s" +#~ msgstr "eroare de analizare în %s" + +#~ msgid "SELinux RBAC is not supported when intercept mode is enabled" +#~ msgstr "SELinux RBAC nu este acceptat când modul de interceptare este activat" + +#~ msgid "SELinux RBAC is not supported when the log_subcmds flag is enabled" +#~ msgstr "SELinux RBAC nu este acceptat când fanionul log_subcmds este activat" + +#~ msgid "problem with defaults entries" +#~ msgstr "problemă cu intrările implicite" + +#~ msgid "internal error, unable to find %s in list!" +#~ msgstr "eroare internă, nu se poate găsi %s în listă!" + +#~ msgid "%s:%u unable to parse \"%s\"" +#~ msgstr "%s:%u nu se poate parsa „%s”" + +#~ msgid "unable to get TLS server method: %s" +#~ msgstr "nu se poate obține metoda de server TLS: %s" + +#~ msgid "" +#~ "\n" +#~ "Options:\n" +#~ " -f, --file path to configuration file\n" +#~ " -h --help display help message and exit\n" +#~ " -n, --no-fork do not fork, run in the foreground\n" +#~ " -R, --random-drop percent chance connections will drop\n" +#~ " -V, --version display version information and exit\n" +#~ msgstr "" +#~ "\n" +#~ "Opțini:\n" +#~ " -f, --file calea către fișierul de configurare\n" +#~ " -h --help afișează mesajul de ajutor și ieși\n" +#~ " -n, --no-fork nu da fork, rulează în prim plan\n" +#~ " -R, --random-drop șansa în procente pentru căderea conexiunii\n" +#~ " -V, --version afișează informațiile de versiune și ieși\n" + +#~ msgid "%s:%d unknown key: %s" +#~ msgstr "%s:%d cheie necunoscută: %s" + +#~ msgid "" +#~ "\n" +#~ "Options:\n" +#~ " --help display help message and exit\n" +#~ " -A, --accept only send an accept event (no I/O)\n" +#~ " -h, --host host to send logs to\n" +#~ " -i, --iolog_id remote ID of I/O log to be resumed\n" +#~ " -p, --port port to use when connecting to host\n" +#~ " -r, --restart restart previous I/O log transfer\n" +#~ " -R, --reject reject the command with the given reason\n" +#~ " -b, --ca-bundle certificate bundle file to verify server's cert against\n" +#~ " -c, --cert certificate file for TLS handshake\n" +#~ " -k, --key private key file\n" +#~ " -n, --no-verify do not verify server certificate\n" +#~ " -t, --test test audit server by sending selected I/O log n times in parallel\n" +#~ " -V, --version display version information and exit\n" +#~ msgstr "" +#~ "\n" +#~ "Opțiuni:\n" +#~ " --help afișează mesajul de ajutor și ieși\n" +#~ " -A, --accept trimite doar un eveniment de acceptare (fără I/O)\n" +#~ " -h, --host gazda la care să se trimită înregistrări\n" +#~ " -i, --iolog_id ID-ul de la distanță al istoricului I/O de rezumat \n" +#~ " -p, --port portul de utilizat când se conectează la gazdă\n" +#~ " -r, --restart repornește transferul de istoric I/O anterior\n" +#~ " -R, --reject respinge comanda cu motivul dat\n" +#~ " -b, --ca-bundle fișier de pachet de certificat împotriva căruia se verifică certificarea serverului\n" +#~ " -c, --cert fișierul certificat pentru conexiunea TLS\n" +#~ " -k, --key fișier cheie privată\n" +#~ " -n, --no-verify nu verifica certificatul serverului\n" +#~ " -V, --version afișează informațiile de versiune și ieși\n" + +#~ msgid "%s: write buffer already in use" +#~ msgstr "%s: preîncărcare de scriere deja în uz" + +#~ msgid "Preload the dummy exec functions contained in the sudo_noexec library" +#~ msgstr "Preîncarcă funcțiile de execuție dummy conținute în biblioteca sudo_nonexec" + +#~ msgid "sudo_ldap_conf_add_ports: port too large" +#~ msgstr "sudo_ldap_conf_add_ports: portul prea mare" + +#~ msgid "%s is not in the sudoers file. This incident will be reported.\n" +#~ msgstr "%s nu este în fișierul sudoers. Acest incident va fi raportat.\n" + +#~ msgid "%s is not allowed to run sudo on %s. This incident will be reported.\n" +#~ msgstr "%s nu are permisiunea de a rula sudo pe %s. Acest incident va fi raportat.\n" + +#~ msgid "SSL_connect failed: ssl_error=%d, stack=%s\n" +#~ msgstr "SSL_connect a eșuat: ssl_error=%d, stiva=%s\n" + +#~ msgid "CA bundle file was not specified" +#~ msgstr "Fișierul de pachet CA nu a fost specificat" + +#~ msgid "Client certificate was not specified" +#~ msgstr "Certificatul clientului nu a fost specificat" + +#~ msgid "Unable to allocate ssl object: %s\n" +#~ msgstr "Nu se poate aloca obiectul ssl: %s\n" + +#~ msgid "Unable to attach socket to the ssl object: %s\n" +#~ msgstr "Nu se poate atașa soclul la obiectul ssl: %s\n" + +#~ msgid "client message too large: %zu\n" +#~ msgstr "mesajul de client este prea mare: %zu\n" + +#~ msgid "server message too large: %u\n" +#~ msgstr "mesaj de server prea mare: %u\n" + +#~ msgid "CA bundle file is not set in sudoers" +#~ msgstr "Fișierul pachet CA nu este stabilit în sudoers" + +#~ msgid "Calling SSL_CTX_load_verify_locations() failed: %s" +#~ msgstr "Apelarea a SSL_CTX_load_verify_locations() a eșuat: %s" + +#~ msgid "Signed certificate file is not set in sudoers" +#~ msgstr "Fișierul de certificat semnat nu este stabilit în sudoers" + +#~ msgid "Unable to load private key into the ssl context: %s" +#~ msgstr "Nu se poate încărca cheia privată în contextul ssl: %s" + +#~ msgid "SSL_connect failed: ssl_error=%d, stack=%s" +#~ msgstr "SSL_connect a eșuat: ssl_error=%d, stivă=%s" + +#~ msgid "SSL_read failed: ssl_error=%d, stack=%s" +#~ msgstr "SSL_read a eșuat: ssl_error=%d, stivă=%s" + +#~ msgid "SSL_write failed: ssl_error=%d, stack=%s" +#~ msgstr "SSL_write a eșuat: ssl_error=%d, stivă=%s" + +#~ msgid "unknown address family: %d" +#~ msgstr "familie de adrese necunoscută: %d" + +#~ msgid "audit_failure message too long" +#~ msgstr "mesaj audit_failure prea mare" diff --git a/plugins/sudoers/po/ru.mo b/plugins/sudoers/po/ru.mo new file mode 100644 index 0000000..f0497ca Binary files /dev/null and b/plugins/sudoers/po/ru.mo differ diff --git a/plugins/sudoers/po/ru.po b/plugins/sudoers/po/ru.po new file mode 100644 index 0000000..2a198cc --- /dev/null +++ b/plugins/sudoers/po/ru.po @@ -0,0 +1,3852 @@ +# Transation of sudoers messages to Russian. +# This file is put in the public domain. +# This file is distributed under the same license as the sudo package. +# +# Artem Vorotnikov , 2015. +# Pavel Maryanov , 2015, 2022. +msgid "" +msgstr "" +"Project-Id-Version: sudoers 1.9.12b2\n" +"Report-Msgid-Bugs-To: https://bugzilla.sudo.ws\n" +"POT-Creation-Date: 2022-10-10 09:13-0600\n" +"PO-Revision-Date: 2022-11-04 15:15+0200\n" +"Last-Translator: Pavel Maryanov \n" +"Language-Team: Russian \n" +"Language: ru\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"X-Generator: Poedit 2.4.2\n" + +#: confstr.sh:1 gram.y:1220 plugins/sudoers/logging.c:862 +msgid "syntax error" +msgstr "ошибка синтаксиса" + +#: confstr.sh:2 +msgid "%p's password: " +msgstr "пароль %p: " + +#: confstr.sh:3 +msgid "[sudo] password for %p: " +msgstr "[sudo] пароль для %p: " + +#: confstr.sh:4 +msgid "Password: " +msgstr "Пароль: " + +#: confstr.sh:5 +msgid "*** SECURITY information for %h ***" +msgstr "*** Данные БЕЗОПАСНОСТИ для %h ***" + +#: confstr.sh:6 +msgid "Sorry, try again." +msgstr "Попробуйте ещё раз." + +#: gram.y:237 gram.y:304 gram.y:313 gram.y:322 gram.y:332 gram.y:342 +#: gram.y:366 gram.y:393 gram.y:402 gram.y:410 gram.y:419 gram.y:428 +#: gram.y:502 gram.y:512 gram.y:524 gram.y:572 gram.y:581 gram.y:590 +#: gram.y:599 gram.y:731 gram.y:739 gram.y:750 gram.y:762 gram.y:781 +#: gram.y:944 gram.y:949 gram.y:957 gram.y:971 gram.y:977 gram.y:1099 +#: gram.y:1108 gram.y:1116 gram.y:1125 gram.y:1134 gram.y:1163 gram.y:1172 +#: gram.y:1180 gram.y:1280 gram.y:1410 gram.y:1777 gram.y:1827 +#: lib/eventlog/eventlog.c:309 lib/eventlog/eventlog.c:382 +#: lib/eventlog/eventlog.c:827 lib/eventlog/eventlog.c:904 +#: lib/eventlog/eventlog.c:1204 lib/iolog/iolog_filter.c:142 +#: lib/iolog/iolog_filter.c:202 lib/iolog/iolog_filter.c:233 +#: lib/iolog/iolog_json.c:150 lib/iolog/iolog_json.c:382 +#: lib/iolog/iolog_json.c:412 lib/iolog/iolog_json.c:555 +#: lib/iolog/iolog_legacy.c:100 lib/iolog/iolog_legacy.c:111 +#: lib/iolog/iolog_legacy.c:123 lib/iolog/iolog_legacy.c:133 +#: lib/iolog/iolog_legacy.c:139 lib/iolog/iolog_loginfo.c:76 +#: lib/iolog/iolog_loginfo.c:212 logsrvd/iolog_writer.c:95 +#: logsrvd/iolog_writer.c:100 logsrvd/iolog_writer.c:134 +#: logsrvd/iolog_writer.c:182 logsrvd/iolog_writer.c:215 +#: logsrvd/iolog_writer.c:225 logsrvd/iolog_writer.c:254 +#: logsrvd/iolog_writer.c:275 logsrvd/iolog_writer.c:287 +#: logsrvd/iolog_writer.c:297 logsrvd/iolog_writer.c:307 +#: logsrvd/iolog_writer.c:317 logsrvd/iolog_writer.c:329 +#: logsrvd/iolog_writer.c:364 logsrvd/iolog_writer.c:370 +#: logsrvd/iolog_writer.c:377 logsrvd/iolog_writer.c:383 +#: logsrvd/iolog_writer.c:567 logsrvd/logsrv_util.c:69 logsrvd/logsrvd.c:301 +#: logsrvd/logsrvd.c:310 logsrvd/logsrvd.c:1050 logsrvd/logsrvd.c:1113 +#: logsrvd/logsrvd.c:1582 logsrvd/logsrvd.c:1587 logsrvd/logsrvd.c:1771 +#: logsrvd/logsrvd.c:1988 logsrvd/logsrvd_conf.c:357 +#: logsrvd/logsrvd_conf.c:370 logsrvd/logsrvd_conf.c:511 +#: logsrvd/logsrvd_conf.c:534 logsrvd/logsrvd_conf.c:538 +#: logsrvd/logsrvd_conf.c:556 logsrvd/logsrvd_conf.c:626 +#: logsrvd/logsrvd_conf.c:650 logsrvd/logsrvd_conf.c:678 +#: logsrvd/logsrvd_conf.c:692 logsrvd/logsrvd_conf.c:706 +#: logsrvd/logsrvd_conf.c:720 logsrvd/logsrvd_conf.c:734 +#: logsrvd/logsrvd_conf.c:748 logsrvd/logsrvd_conf.c:829 +#: logsrvd/logsrvd_conf.c:1036 logsrvd/logsrvd_conf.c:1053 +#: logsrvd/logsrvd_conf.c:1448 logsrvd/logsrvd_conf.c:1595 +#: logsrvd/logsrvd_conf.c:1621 logsrvd/logsrvd_conf.c:1633 +#: logsrvd/logsrvd_conf.c:1640 logsrvd/logsrvd_conf.c:1646 +#: logsrvd/logsrvd_conf.c:1743 logsrvd/logsrvd_journal.c:75 +#: logsrvd/logsrvd_journal.c:213 logsrvd/logsrvd_journal.c:214 +#: logsrvd/logsrvd_journal.c:270 logsrvd/logsrvd_journal.c:430 +#: logsrvd/logsrvd_journal.c:432 logsrvd/logsrvd_local.c:215 +#: logsrvd/logsrvd_local.c:216 logsrvd/logsrvd_local.c:278 +#: logsrvd/logsrvd_local.c:279 logsrvd/logsrvd_local.c:417 +#: logsrvd/logsrvd_local.c:466 logsrvd/logsrvd_local.c:467 +#: logsrvd/logsrvd_local.c:472 logsrvd/logsrvd_local.c:473 +#: logsrvd/logsrvd_queue.c:159 logsrvd/logsrvd_queue.c:189 +#: logsrvd/logsrvd_queue.c:266 logsrvd/logsrvd_relay.c:444 +#: logsrvd/logsrvd_relay.c:743 logsrvd/logsrvd_relay.c:850 +#: logsrvd/sendlog.c:251 logsrvd/sendlog.c:260 logsrvd/sendlog.c:291 +#: logsrvd/sendlog.c:338 logsrvd/sendlog.c:615 logsrvd/sendlog.c:1801 +#: plugins/sudoers/audit.c:116 plugins/sudoers/auth/bsdauth.c:150 +#: plugins/sudoers/auth/kerb5.c:121 plugins/sudoers/auth/kerb5.c:148 +#: plugins/sudoers/auth/pam.c:687 plugins/sudoers/auth/rfc1938.c:111 +#: plugins/sudoers/auth/sia.c:59 plugins/sudoers/check_aliases.c:168 +#: plugins/sudoers/cvtsudoers.c:131 plugins/sudoers/cvtsudoers.c:175 +#: plugins/sudoers/cvtsudoers.c:192 plugins/sudoers/cvtsudoers.c:203 +#: plugins/sudoers/cvtsudoers.c:333 plugins/sudoers/cvtsudoers.c:372 +#: plugins/sudoers/cvtsudoers.c:392 plugins/sudoers/cvtsudoers.c:537 +#: plugins/sudoers/cvtsudoers.c:670 plugins/sudoers/cvtsudoers.c:688 +#: plugins/sudoers/cvtsudoers.c:862 plugins/sudoers/cvtsudoers.c:870 +#: plugins/sudoers/cvtsudoers.c:1365 plugins/sudoers/cvtsudoers.c:1369 +#: plugins/sudoers/cvtsudoers.c:1471 plugins/sudoers/cvtsudoers_csv.c:183 +#: plugins/sudoers/cvtsudoers_csv.c:246 plugins/sudoers/cvtsudoers_json.c:76 +#: plugins/sudoers/cvtsudoers_ldif.c:151 plugins/sudoers/cvtsudoers_ldif.c:194 +#: plugins/sudoers/cvtsudoers_ldif.c:235 plugins/sudoers/cvtsudoers_ldif.c:300 +#: plugins/sudoers/cvtsudoers_ldif.c:376 plugins/sudoers/cvtsudoers_ldif.c:430 +#: plugins/sudoers/cvtsudoers_ldif.c:438 plugins/sudoers/cvtsudoers_ldif.c:449 +#: plugins/sudoers/cvtsudoers_ldif.c:456 plugins/sudoers/cvtsudoers_ldif.c:468 +#: plugins/sudoers/cvtsudoers_ldif.c:481 plugins/sudoers/cvtsudoers_ldif.c:489 +#: plugins/sudoers/cvtsudoers_ldif.c:636 plugins/sudoers/cvtsudoers_merge.c:47 +#: plugins/sudoers/cvtsudoers_merge.c:52 +#: plugins/sudoers/cvtsudoers_merge.c:353 +#: plugins/sudoers/cvtsudoers_merge.c:399 +#: plugins/sudoers/cvtsudoers_merge.c:446 +#: plugins/sudoers/cvtsudoers_merge.c:467 +#: plugins/sudoers/cvtsudoers_merge.c:553 +#: plugins/sudoers/cvtsudoers_merge.c:564 +#: plugins/sudoers/cvtsudoers_merge.c:633 +#: plugins/sudoers/cvtsudoers_merge.c:1158 +#: plugins/sudoers/cvtsudoers_merge.c:1231 plugins/sudoers/defaults.c:434 +#: plugins/sudoers/defaults.c:658 plugins/sudoers/defaults.c:1019 +#: plugins/sudoers/defaults.c:1187 plugins/sudoers/editor.c:188 +#: plugins/sudoers/env.c:263 plugins/sudoers/exptilde.c:92 +#: plugins/sudoers/filedigest.c:54 plugins/sudoers/filedigest.c:70 +#: plugins/sudoers/gc.c:57 plugins/sudoers/group_plugin.c:228 +#: plugins/sudoers/interfaces.c:68 plugins/sudoers/iolog.c:268 +#: plugins/sudoers/iolog.c:668 plugins/sudoers/iolog.c:694 +#: plugins/sudoers/ldap.c:184 plugins/sudoers/ldap.c:464 +#: plugins/sudoers/ldap.c:755 plugins/sudoers/ldap.c:919 +#: plugins/sudoers/ldap.c:1335 plugins/sudoers/ldap.c:1761 +#: plugins/sudoers/ldap.c:1798 plugins/sudoers/ldap.c:1879 +#: plugins/sudoers/ldap.c:2014 plugins/sudoers/ldap.c:2115 +#: plugins/sudoers/ldap.c:2131 plugins/sudoers/ldap_conf.c:218 +#: plugins/sudoers/ldap_conf.c:250 plugins/sudoers/ldap_conf.c:302 +#: plugins/sudoers/ldap_conf.c:338 plugins/sudoers/ldap_conf.c:444 +#: plugins/sudoers/ldap_conf.c:459 plugins/sudoers/ldap_conf.c:564 +#: plugins/sudoers/ldap_conf.c:597 plugins/sudoers/ldap_conf.c:689 +#: plugins/sudoers/ldap_conf.c:771 plugins/sudoers/ldap_util.c:294 +#: plugins/sudoers/ldap_util.c:301 plugins/sudoers/ldap_util.c:614 +#: plugins/sudoers/linux_audit.c:86 plugins/sudoers/log_client.c:117 +#: plugins/sudoers/log_client.c:402 plugins/sudoers/log_client.c:715 +#: plugins/sudoers/log_client.c:736 plugins/sudoers/log_client.c:1416 +#: plugins/sudoers/log_client.c:1537 plugins/sudoers/log_client.c:1637 +#: plugins/sudoers/log_client.c:1973 plugins/sudoers/log_client.c:2032 +#: plugins/sudoers/logging.c:110 plugins/sudoers/logging.c:189 +#: plugins/sudoers/logging.c:453 plugins/sudoers/logging.c:668 +#: plugins/sudoers/logging.c:805 plugins/sudoers/match_command.c:335 +#: plugins/sudoers/match_command.c:603 plugins/sudoers/match_command.c:654 +#: plugins/sudoers/match_command.c:728 plugins/sudoers/match_command.c:776 +#: plugins/sudoers/match_digest.c:93 plugins/sudoers/parse.c:227 +#: plugins/sudoers/parse.c:244 plugins/sudoers/parse.c:263 +#: plugins/sudoers/parse.c:282 plugins/sudoers/parse.c:299 +#: plugins/sudoers/parse.c:322 plugins/sudoers/parse.c:333 +#: plugins/sudoers/parse_ldif.c:153 plugins/sudoers/parse_ldif.c:184 +#: plugins/sudoers/parse_ldif.c:253 plugins/sudoers/parse_ldif.c:261 +#: plugins/sudoers/parse_ldif.c:266 plugins/sudoers/parse_ldif.c:342 +#: plugins/sudoers/parse_ldif.c:353 plugins/sudoers/parse_ldif.c:380 +#: plugins/sudoers/parse_ldif.c:397 plugins/sudoers/parse_ldif.c:409 +#: plugins/sudoers/parse_ldif.c:413 plugins/sudoers/parse_ldif.c:427 +#: plugins/sudoers/parse_ldif.c:484 plugins/sudoers/parse_ldif.c:598 +#: plugins/sudoers/parse_ldif.c:628 plugins/sudoers/parse_ldif.c:653 +#: plugins/sudoers/parse_ldif.c:711 plugins/sudoers/parse_ldif.c:728 +#: plugins/sudoers/parse_ldif.c:756 plugins/sudoers/parse_ldif.c:763 +#: plugins/sudoers/policy.c:624 plugins/sudoers/policy.c:1026 +#: plugins/sudoers/prompt.c:93 plugins/sudoers/pwutil.c:199 +#: plugins/sudoers/pwutil.c:270 plugins/sudoers/pwutil.c:348 +#: plugins/sudoers/pwutil.c:522 plugins/sudoers/pwutil.c:587 +#: plugins/sudoers/pwutil.c:659 plugins/sudoers/pwutil.c:857 +#: plugins/sudoers/pwutil.c:913 plugins/sudoers/pwutil.c:957 +#: plugins/sudoers/pwutil.c:1014 plugins/sudoers/sssd.c:145 +#: plugins/sudoers/sssd.c:185 plugins/sudoers/sssd.c:414 +#: plugins/sudoers/sssd.c:479 plugins/sudoers/sssd.c:505 +#: plugins/sudoers/sssd.c:568 plugins/sudoers/sssd.c:761 +#: plugins/sudoers/strvec_join.c:53 plugins/sudoers/stubs.c:112 +#: plugins/sudoers/stubs.c:120 plugins/sudoers/sudoers.c:354 +#: plugins/sudoers/sudoers.c:380 plugins/sudoers/sudoers.c:448 +#: plugins/sudoers/sudoers.c:457 plugins/sudoers/sudoers.c:498 +#: plugins/sudoers/sudoers.c:827 plugins/sudoers/sudoers.c:877 +#: plugins/sudoers/sudoers.c:1015 plugins/sudoers/sudoers.c:1075 +#: plugins/sudoers/sudoers.c:1330 plugins/sudoers/sudoreplay.c:562 +#: plugins/sudoers/sudoreplay.c:565 plugins/sudoers/sudoreplay.c:1281 +#: plugins/sudoers/sudoreplay.c:1503 plugins/sudoers/sudoreplay.c:1507 +#: plugins/sudoers/testsudoers.c:120 plugins/sudoers/testsudoers.c:224 +#: plugins/sudoers/testsudoers.c:241 plugins/sudoers/testsudoers.c:588 +#: plugins/sudoers/timestamp.c:451 plugins/sudoers/timestamp.c:495 +#: plugins/sudoers/timestamp.c:1017 plugins/sudoers/timestamp.c:1146 +#: plugins/sudoers/toke_util.c:78 plugins/sudoers/toke_util.c:106 +#: plugins/sudoers/toke_util.c:131 plugins/sudoers/toke_util.c:161 +#: plugins/sudoers/toke_util.c:200 plugins/sudoers/tsdump.c:123 +#: plugins/sudoers/visudo.c:150 plugins/sudoers/visudo.c:385 +#: plugins/sudoers/visudo.c:391 plugins/sudoers/visudo.c:498 +#: plugins/sudoers/visudo.c:1054 toke.l:1023 toke.l:1155 toke.l:1226 +msgid "unable to allocate memory" +msgstr "не удаётся выделить память" + +#: gram.y:623 +msgid "a digest requires a path name" +msgstr "для дайджеста нужно указать полный путь" + +#: gram.y:645 +msgid "values for \"CWD\" must start with a '/', '~', or '*'" +msgstr "" + +#: gram.y:651 +msgid "\"CWD\" path too long" +msgstr "" + +#: gram.y:661 +msgid "values for \"CHROOT\" must start with a '/', '~', or '*'" +msgstr "" + +#: gram.y:667 +msgid "\"CHROOT\" path too long" +msgstr "" + +#: gram.y:802 +#, c-format +msgid "syntax error, reserved word %s used as an alias name" +msgstr "" + +#: gram.y:825 +msgid "invalid notbefore value" +msgstr "" + +#: gram.y:834 +msgid "invalid notafter value" +msgstr "" + +#: gram.y:844 plugins/sudoers/policy.c:383 +msgid "timeout value too large" +msgstr "" + +#: gram.y:846 plugins/sudoers/policy.c:385 +msgid "invalid timeout value" +msgstr "" + +#: gram.y:967 plugins/sudoers/sudoers.c:1033 +msgid "command too long" +msgstr "" + +#: gram.y:1224 plugins/sudoers/check_aliases.c:96 +#: plugins/sudoers/defaults.c:1276 +#, fuzzy, c-format +#| msgid "%s: %s" +msgid "%s:%d:%d: %s\n" +msgstr "%s: %s" + +#: gram.y:1278 +#, fuzzy, c-format +#| msgid "Alias `%s' already defined" +msgid "Alias \"%s\" already defined" +msgstr "Псевдоним «%s» уже определён" + +#: gram.y:1777 gram.y:1827 lib/eventlog/eventlog.c:309 +#: lib/eventlog/eventlog.c:827 lib/eventlog/eventlog.c:900 +#: lib/eventlog/eventlog.c:903 lib/eventlog/eventlog.c:1204 +#: lib/iolog/iolog_filter.c:142 lib/iolog/iolog_filter.c:202 +#: lib/iolog/iolog_filter.c:232 lib/iolog/iolog_json.c:150 +#: lib/iolog/iolog_json.c:381 lib/iolog/iolog_json.c:412 +#: lib/iolog/iolog_json.c:555 lib/iolog/iolog_legacy.c:100 +#: lib/iolog/iolog_legacy.c:111 lib/iolog/iolog_legacy.c:123 +#: lib/iolog/iolog_legacy.c:133 lib/iolog/iolog_legacy.c:139 +#: lib/iolog/iolog_loginfo.c:76 lib/iolog/iolog_loginfo.c:212 +#: logsrvd/iolog_writer.c:95 logsrvd/iolog_writer.c:100 +#: logsrvd/iolog_writer.c:134 logsrvd/iolog_writer.c:171 +#: logsrvd/iolog_writer.c:181 logsrvd/iolog_writer.c:194 +#: logsrvd/iolog_writer.c:214 logsrvd/iolog_writer.c:224 +#: logsrvd/iolog_writer.c:243 logsrvd/iolog_writer.c:253 +#: logsrvd/iolog_writer.c:264 logsrvd/iolog_writer.c:274 +#: logsrvd/iolog_writer.c:286 logsrvd/iolog_writer.c:296 +#: logsrvd/iolog_writer.c:306 logsrvd/iolog_writer.c:316 +#: logsrvd/iolog_writer.c:328 logsrvd/iolog_writer.c:364 +#: logsrvd/iolog_writer.c:370 logsrvd/iolog_writer.c:377 +#: logsrvd/iolog_writer.c:383 logsrvd/iolog_writer.c:567 +#: logsrvd/logsrv_util.c:69 logsrvd/logsrvd.c:301 logsrvd/logsrvd.c:310 +#: logsrvd/logsrvd.c:453 logsrvd/logsrvd.c:490 logsrvd/logsrvd.c:522 +#: logsrvd/logsrvd.c:576 logsrvd/logsrvd.c:611 logsrvd/logsrvd.c:660 +#: logsrvd/logsrvd.c:696 logsrvd/logsrvd.c:732 logsrvd/logsrvd.c:1124 +#: logsrvd/logsrvd.c:1439 logsrvd/logsrvd.c:1446 logsrvd/logsrvd.c:1582 +#: logsrvd/logsrvd.c:1587 logsrvd/logsrvd.c:1771 logsrvd/logsrvd.c:1988 +#: logsrvd/logsrvd_conf.c:357 logsrvd/logsrvd_conf.c:370 +#: logsrvd/logsrvd_conf.c:511 logsrvd/logsrvd_conf.c:534 +#: logsrvd/logsrvd_conf.c:538 logsrvd/logsrvd_conf.c:556 +#: logsrvd/logsrvd_conf.c:626 logsrvd/logsrvd_conf.c:649 +#: logsrvd/logsrvd_conf.c:678 logsrvd/logsrvd_conf.c:692 +#: logsrvd/logsrvd_conf.c:706 logsrvd/logsrvd_conf.c:720 +#: logsrvd/logsrvd_conf.c:734 logsrvd/logsrvd_conf.c:748 +#: logsrvd/logsrvd_conf.c:829 logsrvd/logsrvd_conf.c:1036 +#: logsrvd/logsrvd_conf.c:1053 logsrvd/logsrvd_conf.c:1448 +#: logsrvd/logsrvd_conf.c:1595 logsrvd/logsrvd_conf.c:1621 +#: logsrvd/logsrvd_conf.c:1633 logsrvd/logsrvd_conf.c:1640 +#: logsrvd/logsrvd_conf.c:1646 logsrvd/logsrvd_conf.c:1742 +#: logsrvd/logsrvd_journal.c:75 logsrvd/logsrvd_journal.c:122 +#: logsrvd/logsrvd_journal.c:213 logsrvd/logsrvd_journal.c:243 +#: logsrvd/logsrvd_journal.c:247 logsrvd/logsrvd_journal.c:255 +#: logsrvd/logsrvd_journal.c:278 logsrvd/logsrvd_journal.c:282 +#: logsrvd/logsrvd_journal.c:430 logsrvd/logsrvd_local.c:215 +#: logsrvd/logsrvd_local.c:278 logsrvd/logsrvd_local.c:466 +#: logsrvd/logsrvd_local.c:472 logsrvd/logsrvd_local.c:491 +#: logsrvd/logsrvd_queue.c:158 logsrvd/logsrvd_queue.c:189 +#: logsrvd/logsrvd_queue.c:266 logsrvd/sendlog.c:251 logsrvd/sendlog.c:260 +#: logsrvd/sendlog.c:291 logsrvd/sendlog.c:338 logsrvd/sendlog.c:615 +#: logsrvd/sendlog.c:1503 logsrvd/sendlog.c:1510 logsrvd/sendlog.c:1733 +#: logsrvd/sendlog.c:1801 logsrvd/tls_init.c:305 logsrvd/tls_init.c:329 +#: logsrvd/tls_init.c:340 plugins/sudoers/audit.c:116 +#: plugins/sudoers/auth/pam.c:502 plugins/sudoers/auth/pam.c:687 +#: plugins/sudoers/auth/rfc1938.c:111 plugins/sudoers/check_aliases.c:168 +#: plugins/sudoers/cvtsudoers.c:131 plugins/sudoers/cvtsudoers.c:174 +#: plugins/sudoers/cvtsudoers.c:191 plugins/sudoers/cvtsudoers.c:202 +#: plugins/sudoers/cvtsudoers.c:332 plugins/sudoers/cvtsudoers.c:536 +#: plugins/sudoers/cvtsudoers.c:669 plugins/sudoers/cvtsudoers.c:687 +#: plugins/sudoers/cvtsudoers.c:862 plugins/sudoers/cvtsudoers.c:869 +#: plugins/sudoers/cvtsudoers.c:1365 plugins/sudoers/cvtsudoers.c:1369 +#: plugins/sudoers/cvtsudoers.c:1471 plugins/sudoers/cvtsudoers_csv.c:182 +#: plugins/sudoers/cvtsudoers_csv.c:245 plugins/sudoers/cvtsudoers_json.c:75 +#: plugins/sudoers/cvtsudoers_ldif.c:150 plugins/sudoers/cvtsudoers_ldif.c:193 +#: plugins/sudoers/cvtsudoers_ldif.c:234 plugins/sudoers/cvtsudoers_ldif.c:299 +#: plugins/sudoers/cvtsudoers_ldif.c:375 plugins/sudoers/cvtsudoers_ldif.c:429 +#: plugins/sudoers/cvtsudoers_ldif.c:437 plugins/sudoers/cvtsudoers_ldif.c:448 +#: plugins/sudoers/cvtsudoers_ldif.c:455 plugins/sudoers/cvtsudoers_ldif.c:467 +#: plugins/sudoers/cvtsudoers_ldif.c:480 plugins/sudoers/cvtsudoers_ldif.c:488 +#: plugins/sudoers/cvtsudoers_ldif.c:635 plugins/sudoers/cvtsudoers_merge.c:47 +#: plugins/sudoers/cvtsudoers_merge.c:51 +#: plugins/sudoers/cvtsudoers_merge.c:353 +#: plugins/sudoers/cvtsudoers_merge.c:399 +#: plugins/sudoers/cvtsudoers_merge.c:445 +#: plugins/sudoers/cvtsudoers_merge.c:466 +#: plugins/sudoers/cvtsudoers_merge.c:553 +#: plugins/sudoers/cvtsudoers_merge.c:561 +#: plugins/sudoers/cvtsudoers_merge.c:564 +#: plugins/sudoers/cvtsudoers_merge.c:630 +#: plugins/sudoers/cvtsudoers_merge.c:633 +#: plugins/sudoers/cvtsudoers_merge.c:1157 +#: plugins/sudoers/cvtsudoers_merge.c:1231 plugins/sudoers/defaults.c:434 +#: plugins/sudoers/defaults.c:658 plugins/sudoers/defaults.c:1019 +#: plugins/sudoers/defaults.c:1187 plugins/sudoers/editor.c:188 +#: plugins/sudoers/env.c:263 plugins/sudoers/exptilde.c:92 +#: plugins/sudoers/filedigest.c:54 plugins/sudoers/filedigest.c:70 +#: plugins/sudoers/gc.c:57 plugins/sudoers/group_plugin.c:227 +#: plugins/sudoers/interfaces.c:68 plugins/sudoers/iolog.c:268 +#: plugins/sudoers/iolog.c:668 plugins/sudoers/iolog.c:694 +#: plugins/sudoers/ldap.c:184 plugins/sudoers/ldap.c:464 +#: plugins/sudoers/ldap.c:755 plugins/sudoers/ldap.c:919 +#: plugins/sudoers/ldap.c:1335 plugins/sudoers/ldap.c:1761 +#: plugins/sudoers/ldap.c:1798 plugins/sudoers/ldap.c:1879 +#: plugins/sudoers/ldap.c:2014 plugins/sudoers/ldap.c:2115 +#: plugins/sudoers/ldap.c:2131 plugins/sudoers/ldap_conf.c:218 +#: plugins/sudoers/ldap_conf.c:250 plugins/sudoers/ldap_conf.c:302 +#: plugins/sudoers/ldap_conf.c:338 plugins/sudoers/ldap_conf.c:444 +#: plugins/sudoers/ldap_conf.c:459 plugins/sudoers/ldap_conf.c:564 +#: plugins/sudoers/ldap_conf.c:597 plugins/sudoers/ldap_conf.c:688 +#: plugins/sudoers/ldap_conf.c:771 plugins/sudoers/ldap_util.c:293 +#: plugins/sudoers/ldap_util.c:300 plugins/sudoers/ldap_util.c:614 +#: plugins/sudoers/linux_audit.c:86 plugins/sudoers/log_client.c:117 +#: plugins/sudoers/log_client.c:228 plugins/sudoers/log_client.c:250 +#: plugins/sudoers/log_client.c:264 plugins/sudoers/log_client.c:402 +#: plugins/sudoers/log_client.c:715 plugins/sudoers/log_client.c:736 +#: plugins/sudoers/log_client.c:1416 plugins/sudoers/log_client.c:1537 +#: plugins/sudoers/log_client.c:1637 plugins/sudoers/log_client.c:1973 +#: plugins/sudoers/log_client.c:2032 plugins/sudoers/logging.c:110 +#: plugins/sudoers/logging.c:188 plugins/sudoers/logging.c:189 +#: plugins/sudoers/logging.c:453 plugins/sudoers/logging.c:668 +#: plugins/sudoers/logging.c:805 plugins/sudoers/logging.c:876 +#: plugins/sudoers/logging.c:888 plugins/sudoers/match_command.c:334 +#: plugins/sudoers/match_command.c:602 plugins/sudoers/match_command.c:653 +#: plugins/sudoers/match_command.c:728 plugins/sudoers/match_command.c:775 +#: plugins/sudoers/match_digest.c:93 plugins/sudoers/parse.c:226 +#: plugins/sudoers/parse.c:243 plugins/sudoers/parse.c:262 +#: plugins/sudoers/parse.c:281 plugins/sudoers/parse.c:298 +#: plugins/sudoers/parse.c:321 plugins/sudoers/parse.c:332 +#: plugins/sudoers/parse_ldif.c:152 plugins/sudoers/parse_ldif.c:183 +#: plugins/sudoers/parse_ldif.c:252 plugins/sudoers/parse_ldif.c:260 +#: plugins/sudoers/parse_ldif.c:265 plugins/sudoers/parse_ldif.c:341 +#: plugins/sudoers/parse_ldif.c:352 plugins/sudoers/parse_ldif.c:379 +#: plugins/sudoers/parse_ldif.c:396 plugins/sudoers/parse_ldif.c:408 +#: plugins/sudoers/parse_ldif.c:412 plugins/sudoers/parse_ldif.c:426 +#: plugins/sudoers/parse_ldif.c:484 plugins/sudoers/parse_ldif.c:598 +#: plugins/sudoers/parse_ldif.c:627 plugins/sudoers/parse_ldif.c:652 +#: plugins/sudoers/parse_ldif.c:710 plugins/sudoers/parse_ldif.c:727 +#: plugins/sudoers/parse_ldif.c:755 plugins/sudoers/parse_ldif.c:762 +#: plugins/sudoers/policy.c:153 plugins/sudoers/policy.c:162 +#: plugins/sudoers/policy.c:171 plugins/sudoers/policy.c:199 +#: plugins/sudoers/policy.c:368 plugins/sudoers/policy.c:383 +#: plugins/sudoers/policy.c:385 plugins/sudoers/policy.c:423 +#: plugins/sudoers/policy.c:432 plugins/sudoers/policy.c:480 +#: plugins/sudoers/policy.c:490 plugins/sudoers/policy.c:499 +#: plugins/sudoers/policy.c:508 plugins/sudoers/policy.c:517 +#: plugins/sudoers/policy.c:624 plugins/sudoers/policy.c:1026 +#: plugins/sudoers/prompt.c:93 plugins/sudoers/pwutil.c:199 +#: plugins/sudoers/pwutil.c:270 plugins/sudoers/pwutil.c:348 +#: plugins/sudoers/pwutil.c:522 plugins/sudoers/pwutil.c:587 +#: plugins/sudoers/pwutil.c:659 plugins/sudoers/pwutil.c:857 +#: plugins/sudoers/pwutil.c:913 plugins/sudoers/pwutil.c:957 +#: plugins/sudoers/pwutil.c:1014 plugins/sudoers/set_perms.c:363 +#: plugins/sudoers/set_perms.c:706 plugins/sudoers/set_perms.c:1073 +#: plugins/sudoers/set_perms.c:1380 plugins/sudoers/set_perms.c:1549 +#: plugins/sudoers/sssd.c:144 plugins/sudoers/sssd.c:185 +#: plugins/sudoers/sssd.c:414 plugins/sudoers/sssd.c:479 +#: plugins/sudoers/sssd.c:505 plugins/sudoers/sssd.c:568 +#: plugins/sudoers/sssd.c:761 plugins/sudoers/strvec_join.c:53 +#: plugins/sudoers/stubs.c:112 plugins/sudoers/stubs.c:120 +#: plugins/sudoers/sudoers.c:354 plugins/sudoers/sudoers.c:380 +#: plugins/sudoers/sudoers.c:448 plugins/sudoers/sudoers.c:457 +#: plugins/sudoers/sudoers.c:498 plugins/sudoers/sudoers.c:827 +#: plugins/sudoers/sudoers.c:877 plugins/sudoers/sudoers.c:1015 +#: plugins/sudoers/sudoers.c:1075 plugins/sudoers/sudoers.c:1330 +#: plugins/sudoers/sudoreplay.c:562 plugins/sudoers/sudoreplay.c:565 +#: plugins/sudoers/sudoreplay.c:1281 plugins/sudoers/sudoreplay.c:1503 +#: plugins/sudoers/sudoreplay.c:1507 plugins/sudoers/testsudoers.c:120 +#: plugins/sudoers/testsudoers.c:224 plugins/sudoers/testsudoers.c:241 +#: plugins/sudoers/testsudoers.c:588 plugins/sudoers/timestamp.c:451 +#: plugins/sudoers/timestamp.c:495 plugins/sudoers/timestamp.c:1017 +#: plugins/sudoers/timestamp.c:1146 plugins/sudoers/toke_util.c:78 +#: plugins/sudoers/toke_util.c:106 plugins/sudoers/toke_util.c:131 +#: plugins/sudoers/toke_util.c:160 plugins/sudoers/toke_util.c:200 +#: plugins/sudoers/tsdump.c:123 plugins/sudoers/visudo.c:150 +#: plugins/sudoers/visudo.c:385 plugins/sudoers/visudo.c:391 +#: plugins/sudoers/visudo.c:498 plugins/sudoers/visudo.c:1054 toke.l:1023 +#: toke.l:1155 toke.l:1218 toke.l:1226 +#, c-format +msgid "%s: %s" +msgstr "%s: %s" + +#: lib/eventlog/eventlog.c:314 lib/iolog/iolog_json.c:562 +#: lib/iolog/iolog_json.c:568 lib/iolog/iolog_json.c:574 +#: plugins/sudoers/cvtsudoers_csv.c:192 plugins/sudoers/cvtsudoers_csv.c:199 +#: plugins/sudoers/cvtsudoers_ldif.c:244 plugins/sudoers/cvtsudoers_ldif.c:251 +#: plugins/sudoers/cvtsudoers_ldif.c:592 plugins/sudoers/env.c:340 +#: plugins/sudoers/env.c:347 plugins/sudoers/env.c:458 +#: plugins/sudoers/ldap.c:526 plugins/sudoers/ldap.c:759 +#: plugins/sudoers/ldap.c:1132 plugins/sudoers/ldap_conf.c:222 +#: plugins/sudoers/ldap_conf.c:313 plugins/sudoers/ldap_util.c:486 +#: plugins/sudoers/linux_audit.c:92 plugins/sudoers/logging.c:457 +#: plugins/sudoers/logging.c:813 plugins/sudoers/logging.c:823 +#: plugins/sudoers/policy.c:800 plugins/sudoers/policy.c:811 +#: plugins/sudoers/prompt.c:168 plugins/sudoers/serialize_list.c:62 +#: plugins/sudoers/serialize_list.c:71 plugins/sudoers/strvec_join.c:62 +#: plugins/sudoers/testsudoers.c:245 plugins/sudoers/toke_util.c:213 +#: toke.l:987 toke.l:1189 +#, c-format +msgid "internal error, %s overflow" +msgstr "" + +#: lib/eventlog/eventlog.c:373 +#, c-format +msgid "unable to dup stdin: %m" +msgstr "" + +#: lib/eventlog/eventlog.c:415 +#, c-format +msgid "unable to execute %s: %m" +msgstr "" + +#: lib/eventlog/eventlog.c:463 plugins/sudoers/auth/aix_auth.c:198 +msgid "unable to fork" +msgstr "" + +#: lib/eventlog/eventlog.c:473 lib/eventlog/eventlog.c:538 +#, c-format +msgid "unable to fork: %m" +msgstr "" + +#: lib/eventlog/eventlog.c:528 +#, c-format +msgid "unable to open pipe: %m" +msgstr "" + +#: lib/eventlog/eventlog.c:1030 +#, c-format +msgid "%8s : %s" +msgstr "%8s : %s" + +#: lib/eventlog/eventlog.c:1059 +#, c-format +msgid "%8s : (command continued) %s" +msgstr "%8s : (выполнение команды продолжено) %s" + +#: lib/iolog/iolog_filter.c:133 plugins/sudoers/defaults.c:1242 +#: plugins/sudoers/sudoreplay.c:1293 plugins/sudoers/sudoreplay.c:1558 +#, c-format +msgid "invalid regular expression \"%s\": %s" +msgstr "" + +#: lib/iolog/iolog_json.c:140 +#, c-format +msgid "expected JSON_STRING, got %d" +msgstr "" + +#: lib/iolog/iolog_json.c:145 +msgid "JSON_ARRAY too large" +msgstr "" + +#: lib/iolog/iolog_json.c:404 +msgid "missing double quote in name" +msgstr "" + +#: lib/iolog/iolog_json.c:501 +msgid "missing JSON_OBJECT" +msgstr "" + +#: lib/iolog/iolog_json.c:505 +#, c-format +msgid "expected JSON_OBJECT, got %d" +msgstr "" + +#: lib/iolog/iolog_json.c:661 +#, c-format +msgid "json stack exhausted (max %u frames)" +msgstr "" + +#: lib/iolog/iolog_json.c:735 +msgid "objects must consist of name:value pairs" +msgstr "" + +#: lib/iolog/iolog_json.c:740 lib/iolog/iolog_json.c:771 +#: lib/iolog/iolog_json.c:815 lib/iolog/iolog_json.c:837 +#: lib/iolog/iolog_json.c:859 lib/iolog/iolog_json.c:881 +#: lib/iolog/iolog_json.c:903 +msgid "missing separator between values" +msgstr "" + +#: lib/iolog/iolog_json.c:755 lib/iolog/iolog_json.c:929 +msgid "unmatched close brace" +msgstr "" + +#: lib/iolog/iolog_json.c:766 +msgid "unexpected array" +msgstr "" + +#: lib/iolog/iolog_json.c:786 lib/iolog/iolog_json.c:932 +msgid "unmatched close bracket" +msgstr "" + +#: lib/iolog/iolog_json.c:797 +msgid "unexpected string" +msgstr "" + +#: lib/iolog/iolog_json.c:808 +msgid "missing colon after name" +msgstr "" + +#: lib/iolog/iolog_json.c:829 lib/iolog/iolog_json.c:851 +msgid "unexpected boolean" +msgstr "" + +#: lib/iolog/iolog_json.c:873 +msgid "unexpected null" +msgstr "" + +#: lib/iolog/iolog_json.c:894 +msgid "unexpected number" +msgstr "" + +#: lib/iolog/iolog_json.c:941 +#, fuzzy +#| msgid "syntax error" +msgid "parse error" +msgstr "ошибка синтаксиса" + +#: lib/iolog/iolog_legacy.c:65 +#, c-format +msgid "%s: invalid log file" +msgstr "" + +#: lib/iolog/iolog_legacy.c:83 +#, c-format +msgid "%s: time stamp field is missing" +msgstr "" + +#: lib/iolog/iolog_legacy.c:89 +#, c-format +msgid "%s: time stamp %s: %s" +msgstr "" + +#: lib/iolog/iolog_legacy.c:96 +#, c-format +msgid "%s: user field is missing" +msgstr "" + +#: lib/iolog/iolog_legacy.c:107 +#, c-format +msgid "%s: runas user field is missing" +msgstr "" + +#: lib/iolog/iolog_legacy.c:118 +#, c-format +msgid "%s: runas group field is missing" +msgstr "" + +#: lib/iolog/iolog_mkdirs.c:89 +#, c-format +msgid "%s exists but is not a directory (0%o)" +msgstr "" + +#: lib/iolog/iolog_mkdirs.c:123 lib/iolog/iolog_mkdtemp.c:78 +#: logsrvd/iolog_writer.c:781 plugins/sudoers/timestamp.c:209 +#, c-format +msgid "unable to mkdir %s" +msgstr "" + +#: lib/iolog/iolog_mkdtemp.c:83 plugins/sudoers/visudo.c:753 +#: plugins/sudoers/visudo.c:787 plugins/sudoers/visudo.c:793 +#, c-format +msgid "unable to change mode of %s to 0%o" +msgstr "" + +#: lib/iolog/iolog_timing.c:261 +#, c-format +msgid "error reading timing file: %s" +msgstr "" + +#: lib/iolog/iolog_timing.c:268 +#, c-format +msgid "invalid timing file line: %s" +msgstr "" + +#: logsrvd/iolog_writer.c:65 +#, c-format +msgid "%s: protocol error: NULL key" +msgstr "" + +#: logsrvd/iolog_writer.c:69 +#, c-format +msgid "%s: protocol error: wrong type for %s" +msgstr "" + +#: logsrvd/iolog_writer.c:74 logsrvd/logsrvd_local.c:109 +#: logsrvd/logsrvd_local.c:123 logsrvd/logsrvd_local.c:131 +#: logsrvd/logsrvd_local.c:149 +#, c-format +msgid "%s: protocol error: NULL value found in %s" +msgstr "" + +#: logsrvd/iolog_writer.c:141 plugins/sudoers/logging.c:976 +#: plugins/sudoers/policy.c:591 +#, fuzzy +#| msgid "unable to read the clock" +msgid "unable to generate UUID" +msgstr "не удаётся прочитать часы" + +#: logsrvd/iolog_writer.c:341 logsrvd/iolog_writer.c:346 +#: logsrvd/iolog_writer.c:351 logsrvd/iolog_writer.c:356 +#, c-format +msgid "%s: protocol error: %s missing from AcceptMessage" +msgstr "" + +#: logsrvd/iolog_writer.c:417 +#, fuzzy, c-format +#| msgid "%s: unable to allocate options: %s" +msgid "%s: unable to format session id" +msgstr "%s: не удаётся выделить параметры: %s" + +#: logsrvd/iolog_writer.c:431 logsrvd/iolog_writer.c:445 +#: logsrvd/iolog_writer.c:459 logsrvd/iolog_writer.c:474 +#: logsrvd/iolog_writer.c:488 logsrvd/iolog_writer.c:502 +#, c-format +msgid "%s: %s is not set" +msgstr "" + +#: logsrvd/iolog_writer.c:538 logsrvd/iolog_writer.c:545 +#, fuzzy, c-format +#| msgid "unable to open log file: %s: %s" +msgid "unable to expand iolog path %s" +msgstr "не удаётся открыть файл журнала: %s: %s" + +#: logsrvd/iolog_writer.c:563 +#, fuzzy, c-format +#| msgid "unable to read the clock" +msgid "unable to create iolog path %s" +msgstr "не удаётся прочитать часы" + +#: logsrvd/iolog_writer.c:593 +#, c-format +msgid "invalid iofd %d" +msgstr "" + +#: logsrvd/iolog_writer.c:613 +#, c-format +msgid "error closing iofd %d: %s" +msgstr "" + +#: logsrvd/iolog_writer.c:633 +#, c-format +msgid "error flushing iofd %d: %s" +msgstr "" + +#: logsrvd/iolog_writer.c:751 +#, c-format +msgid "invalid I/O log %s: %s referenced but not present" +msgstr "" + +#: logsrvd/iolog_writer.c:763 logsrvd/logsrvd_journal.c:382 +#, fuzzy, c-format +#| msgid "%s: unable to get credentials: %s" +msgid "%s: unable to find resume point [%lld, %ld]" +msgstr "%s: не удаётся получить учётные данные: %s" + +#: logsrvd/iolog_writer.c:785 logsrvd/logsrvd_journal.c:425 +#: logsrvd/logsrvd_queue.c:115 logsrvd/tls_init.c:256 +#: plugins/sudoers/check.c:292 plugins/sudoers/cvtsudoers.c:730 +#: plugins/sudoers/cvtsudoers.c:751 plugins/sudoers/cvtsudoers.c:1431 +#: plugins/sudoers/cvtsudoers_csv.c:695 plugins/sudoers/cvtsudoers_json.c:898 +#: plugins/sudoers/cvtsudoers_ldif.c:709 plugins/sudoers/sudoers.c:1113 +#: plugins/sudoers/sudoers.c:1143 plugins/sudoers/sudoreplay.c:1469 +#: plugins/sudoers/timestamp.c:460 plugins/sudoers/tsdump.c:128 +#: plugins/sudoers/visudo.c:971 +#, c-format +msgid "unable to open %s" +msgstr "" + +#: logsrvd/iolog_writer.c:797 logsrvd/logsrv_util.c:105 +#: logsrvd/logsrv_util.c:112 plugins/sudoers/sudoreplay.c:362 +#: plugins/sudoers/sudoreplay.c:368 +#, fuzzy, c-format +#| msgid "unable to open log file: %s: %s" +msgid "unable to open %s/%s" +msgstr "не удаётся открыть файл журнала: %s: %s" + +#: logsrvd/iolog_writer.c:810 +#, fuzzy, c-format +#| msgid "unable to open log file: %s: %s" +msgid "unable to copy %s/%s to %s/%s: %s" +msgstr "не удаётся открыть файл журнала: %s: %s" + +#: logsrvd/iolog_writer.c:839 logsrvd/logsrvd_journal.c:195 +#, fuzzy, c-format +#| msgid "%s: unable to parse '%s': %s" +msgid "unable to rename %s to %s" +msgstr "%s: не удаётся прочитать '%s': %s" + +#: logsrvd/logsrv_util.c:147 logsrvd/logsrv_util.c:176 +#, c-format +msgid "%s/%s: unable to find resume point [%lld, %ld]" +msgstr "" + +#: logsrvd/logsrv_util.c:159 +#, c-format +msgid "missing I/O log file %s/%s" +msgstr "" + +#: logsrvd/logsrv_util.c:166 +#, fuzzy, c-format +#| msgid "%s: unable to parse '%s': %s" +msgid "%s/%s: unable to seek forward %zu" +msgstr "%s: не удаётся прочитать '%s': %s" + +#: logsrvd/logsrvd.c:271 logsrvd/logsrvd_queue.c:135 +#, fuzzy +#| msgid "unable to connect to authentication server" +msgid "unable to connect to relay" +msgstr "не удаётся связаться с сервером аутентификации" + +#: logsrvd/logsrvd.c:330 logsrvd/logsrvd_relay.c:842 +#, c-format +msgid "server message too large: %zu" +msgstr "" + +#: logsrvd/logsrvd.c:422 logsrvd/logsrvd.c:545 logsrvd/logsrvd.c:631 +#: logsrvd/logsrvd.c:873 logsrvd/logsrvd.c:887 logsrvd/logsrvd.c:1049 +#: logsrvd/logsrvd.c:1174 logsrvd/logsrvd.c:1347 logsrvd/logsrvd.c:1365 +#: logsrvd/logsrvd.c:1464 logsrvd/logsrvd.c:1589 logsrvd/logsrvd.c:1773 +#: logsrvd/logsrvd_journal.c:494 logsrvd/logsrvd_local.c:238 +#: logsrvd/logsrvd_queue.c:164 logsrvd/logsrvd_relay.c:172 +#: logsrvd/logsrvd_relay.c:249 logsrvd/logsrvd_relay.c:253 +#: logsrvd/logsrvd_relay.c:389 logsrvd/logsrvd_relay.c:581 +#: logsrvd/logsrvd_relay.c:742 logsrvd/logsrvd_relay.c:1131 +#: logsrvd/sendlog.c:1291 logsrvd/tls_client.c:136 logsrvd/tls_client.c:152 +#: logsrvd/tls_client.c:216 plugins/sudoers/audit.c:278 +#: plugins/sudoers/iolog.c:1033 plugins/sudoers/iolog.c:1166 +#: plugins/sudoers/iolog.c:1264 plugins/sudoers/log_client.c:121 +#: plugins/sudoers/log_client.c:343 plugins/sudoers/log_client.c:359 +#: plugins/sudoers/log_client.c:407 plugins/sudoers/log_client.c:611 +#: plugins/sudoers/log_client.c:618 plugins/sudoers/log_client.c:1103 +#: plugins/sudoers/log_client.c:1385 plugins/sudoers/log_client.c:1426 +#: plugins/sudoers/log_client.c:1434 plugins/sudoers/log_client.c:1593 +#: plugins/sudoers/log_client.c:1711 plugins/sudoers/log_client.c:2040 +#: plugins/sudoers/log_client.c:2048 plugins/sudoers/logging.c:147 +#: plugins/sudoers/logging.c:205 plugins/sudoers/sudoreplay.c:522 +#: plugins/sudoers/sudoreplay.c:569 plugins/sudoers/sudoreplay.c:811 +#: plugins/sudoers/sudoreplay.c:923 plugins/sudoers/sudoreplay.c:1014 +#: plugins/sudoers/sudoreplay.c:1029 plugins/sudoers/sudoreplay.c:1036 +#: plugins/sudoers/sudoreplay.c:1043 plugins/sudoers/sudoreplay.c:1050 +#: plugins/sudoers/sudoreplay.c:1057 plugins/sudoers/sudoreplay.c:1184 +#, fuzzy +#| msgid "unable to read the clock" +msgid "unable to add event to queue" +msgstr "не удаётся прочитать часы" + +#: logsrvd/logsrvd.c:446 logsrvd/logsrvd.c:483 logsrvd/logsrvd.c:515 +#: logsrvd/logsrvd.c:569 logsrvd/logsrvd.c:648 logsrvd/logsrvd.c:684 +#: logsrvd/logsrvd.c:720 logsrvd/logsrvd.c:756 logsrvd/logsrvd_relay.c:510 +#: logsrvd/logsrvd_relay.c:543 +#, c-format +msgid "unexpected state %d for %s" +msgstr "" + +#: logsrvd/logsrvd.c:447 logsrvd/logsrvd.c:484 logsrvd/logsrvd.c:516 +#: logsrvd/logsrvd.c:570 logsrvd/logsrvd.c:649 logsrvd/logsrvd.c:685 +#: logsrvd/logsrvd.c:721 logsrvd/logsrvd.c:757 logsrvd/logsrvd_relay.c:512 +#: logsrvd/logsrvd_relay.c:545 +msgid "state machine error" +msgstr "" + +#: logsrvd/logsrvd.c:453 logsrvd/logsrvd.c:454 +msgid "invalid AcceptMessage" +msgstr "" + +#: logsrvd/logsrvd.c:490 logsrvd/logsrvd.c:491 +msgid "invalid RejectMessage" +msgstr "" + +#: logsrvd/logsrvd.c:522 logsrvd/logsrvd.c:523 +msgid "invalid ExitMessage" +msgstr "" + +#: logsrvd/logsrvd.c:576 logsrvd/logsrvd.c:577 +msgid "invalid RestartMessage" +msgstr "" + +#: logsrvd/logsrvd.c:611 logsrvd/logsrvd.c:612 +msgid "invalid AlertMessage" +msgstr "" + +#: logsrvd/logsrvd.c:653 logsrvd/logsrvd.c:689 logsrvd/logsrvd.c:725 +#, c-format +msgid "%s: unexpected IoBuffer" +msgstr "" + +#: logsrvd/logsrvd.c:654 logsrvd/logsrvd.c:690 logsrvd/logsrvd.c:726 +msgid "protocol error" +msgstr "" + +#: logsrvd/logsrvd.c:660 logsrvd/logsrvd.c:661 +msgid "invalid IoBuffer" +msgstr "" + +#: logsrvd/logsrvd.c:696 logsrvd/logsrvd.c:697 +msgid "invalid ChangeWindowSize" +msgstr "" + +#: logsrvd/logsrvd.c:732 logsrvd/logsrvd.c:733 +msgid "invalid CommandSuspend" +msgstr "" + +#: logsrvd/logsrvd.c:782 logsrvd/logsrvd_journal.c:293 +#: logsrvd/logsrvd_relay.c:652 logsrvd/sendlog.c:1192 +#: plugins/sudoers/log_client.c:1583 +#, fuzzy, c-format +#| msgid "unable to initialize PAM" +msgid "unable to unpack %s size %zu" +msgstr "не удаётся инициализировать PAM" + +#: logsrvd/logsrvd.c:827 logsrvd/logsrvd_journal.c:367 +#: logsrvd/logsrvd_relay.c:676 +#, c-format +msgid "unexpected type_case value %d in %s from %s" +msgstr "" + +#: logsrvd/logsrvd.c:829 +msgid "unrecognized ClientMessage type" +msgstr "" + +#: logsrvd/logsrvd.c:919 +#, c-format +msgid "timed out writing to client %s" +msgstr "" + +#: logsrvd/logsrvd.c:924 logsrvd/logsrvd_relay.c:914 logsrvd/sendlog.c:1395 +#, c-format +msgid "missing write buffer for client %s" +msgstr "" + +#: logsrvd/logsrvd.c:1020 +#, c-format +msgid "timed out reading from client %s" +msgstr "" + +#: logsrvd/logsrvd.c:1061 logsrvd/logsrvd_relay.c:777 +#, c-format +msgid "EOF from %s without proper TLS shutdown" +msgstr "" + +#: logsrvd/logsrvd.c:1105 logsrvd/logsrvd_relay.c:205 logsrvd/sendlog.c:322 +#: plugins/sudoers/log_client.c:721 +#, c-format +msgid "client message too large: %zu" +msgstr "" + +#: logsrvd/logsrvd.c:1106 logsrvd/logsrvd_journal.c:256 +#: logsrvd/logsrvd_journal.c:257 +msgid "client message too large" +msgstr "" + +#: logsrvd/logsrvd.c:1124 logsrvd/logsrvd.c:1125 +msgid "invalid ClientMessage" +msgstr "" + +#: logsrvd/logsrvd.c:1425 +#, fuzzy +#| msgid "unable to allocate memory" +msgid "unable to get remote IP addr" +msgstr "не удаётся выделить память" + +#: logsrvd/logsrvd.c:1456 logsrvd/tls_client.c:203 +#: plugins/sudoers/log_client.c:281 +#, c-format +msgid "Unable to attach user data to the ssl object: %s" +msgstr "" + +#: logsrvd/logsrvd.c:1639 logsrvd/logsrvd.c:1992 +#, fuzzy +#| msgid "unable to read the clock" +msgid "unable to setup listen socket" +msgstr "не удаётся прочитать часы" + +#: logsrvd/logsrvd.c:1756 +#, c-format +msgid "unexpected signal %d" +msgstr "" + +#: logsrvd/logsrvd.c:1894 +msgid "sudo log server" +msgstr "" + +#: logsrvd/logsrvd.c:1896 logsrvd/sendlog.c:121 +msgid "Options:" +msgstr "" + +#: logsrvd/logsrvd.c:1898 +msgid "path to configuration file" +msgstr "" + +#: logsrvd/logsrvd.c:1900 logsrvd/sendlog.c:123 +msgid "display help message and exit" +msgstr "" + +#: logsrvd/logsrvd.c:1902 +msgid "do not fork, run in the foreground" +msgstr "" + +#: logsrvd/logsrvd.c:1904 +msgid "percent chance connections will drop" +msgstr "" + +#: logsrvd/logsrvd.c:1906 logsrvd/sendlog.c:153 +msgid "display version information and exit" +msgstr "" + +#: logsrvd/logsrvd.c:1956 logsrvd/sendlog.c:1702 +msgid "Protobuf-C version 1.3 or higher required" +msgstr "" + +#: logsrvd/logsrvd.c:1972 +#, fuzzy, c-format +#| msgid "invalid sudoOrder attribute: %s" +msgid "invalid random drop value: %s" +msgstr "недопустимый атрибут sudoOrder: %s" + +#: logsrvd/logsrvd.c:1975 logsrvd/sendlog.c:1756 +#: plugins/sudoers/cvtsudoers.c:246 plugins/sudoers/sudoreplay.c:301 +#: plugins/sudoers/visudo.c:182 +#, c-format +msgid "%s version %s\n" +msgstr "" + +#: logsrvd/logsrvd_conf.c:422 plugins/sudoers/check.c:353 +#: plugins/sudoers/exptilde.c:85 plugins/sudoers/iolog.c:122 +#: plugins/sudoers/policy.c:1264 plugins/sudoers/sudoers.c:505 +#: plugins/sudoers/sudoers.c:1372 plugins/sudoers/testsudoers.c:215 +#: plugins/sudoers/testsudoers.c:382 +#, fuzzy, c-format +#| msgid "unknown user: %s" +msgid "unknown user %s" +msgstr "неизвестный пользователь: %s" + +#: logsrvd/logsrvd_conf.c:439 plugins/sudoers/iolog.c:148 +#: plugins/sudoers/sudoers.c:510 plugins/sudoers/sudoers.c:1406 +#: plugins/sudoers/testsudoers.c:406 +#, fuzzy, c-format +#| msgid "unknown user: %s" +msgid "unknown group %s" +msgstr "неизвестный пользователь: %s" + +#: logsrvd/logsrvd_conf.c:457 +#, fuzzy, c-format +#| msgid "unable to open log file: %s: %s" +msgid "unable to parse iolog mode %s" +msgstr "не удаётся открыть файл журнала: %s: %s" + +#: logsrvd/logsrvd_conf.c:474 logsrvd/logsrvd_conf.c:1243 +#, c-format +msgid "invalid value for %s: %s" +msgstr "" + +#: logsrvd/logsrvd_conf.c:527 +msgid "TLS not supported" +msgstr "" + +#: logsrvd/logsrvd_conf.c:549 +#, c-format +msgid "%s:%s" +msgstr "" + +#: logsrvd/logsrvd_conf.c:622 logsrvd/logsrvd_conf.c:1032 +#, c-format +msgid "%s: not a fully qualified path" +msgstr "" + +#: logsrvd/logsrvd_conf.c:951 logsrvd/logsrvd_conf.c:967 +#: logsrvd/logsrvd_conf.c:1676 +#, c-format +msgid "unknown syslog facility %s" +msgstr "" + +#: logsrvd/logsrvd_conf.c:983 logsrvd/logsrvd_conf.c:999 +#: logsrvd/logsrvd_conf.c:1015 logsrvd/logsrvd_conf.c:1680 +#: logsrvd/logsrvd_conf.c:1684 logsrvd/logsrvd_conf.c:1688 +#, fuzzy, c-format +#| msgid "unknown user: %s" +msgid "unknown syslog priority %s" +msgstr "неизвестный пользователь: %s" + +#: logsrvd/logsrvd_conf.c:1197 +#, fuzzy, c-format +#| msgid "%s: unable to parse '%s': %s" +msgid "%s:%d unmatched '[': %s" +msgstr "%s: не удаётся прочитать '%s': %s" + +#: logsrvd/logsrvd_conf.c:1203 +#, fuzzy, c-format +#| msgid "%s: unable to parse '%s': %s" +msgid "%s:%d garbage after ']': %s" +msgstr "%s: не удаётся прочитать '%s': %s" + +#: logsrvd/logsrvd_conf.c:1215 +#, c-format +msgid "%s:%d invalid config section: %s" +msgstr "" + +#: logsrvd/logsrvd_conf.c:1223 +#, c-format +msgid "%s:%d invalid configuration line: %s" +msgstr "" + +#: logsrvd/logsrvd_conf.c:1229 +#, c-format +msgid "%s:%d expected section name: %s" +msgstr "" + +#: logsrvd/logsrvd_conf.c:1251 +#, c-format +msgid "%s:%d [%s] illegal key: %s" +msgstr "" + +#: logsrvd/logsrvd_conf.c:1281 plugins/sudoers/cvtsudoers.c:268 +#: plugins/sudoers/logging.c:1029 +#, fuzzy, c-format +#| msgid "unable to open log file: %s: %s" +msgid "unable to open log file %s" +msgstr "не удаётся открыть файл журнала: %s: %s" + +#: logsrvd/logsrvd_conf.c:1763 +#, fuzzy +#| msgid "unable to initialize SIA session" +msgid "unable to initialize server TLS context" +msgstr "не удаётся инициализировать сеанс SIA" + +#: logsrvd/logsrvd_conf.c:1783 +#, fuzzy +#| msgid "unable to initialize SIA session" +msgid "unable to initialize relay TLS context" +msgstr "не удаётся инициализировать сеанс SIA" + +#: logsrvd/logsrvd_journal.c:146 logsrvd/logsrvd_journal.c:421 +#: logsrvd/logsrvd_journal.c:426 +#, fuzzy +#| msgid "unable to read fwtk config" +msgid "unable to create journal file" +msgstr "не удаётся прочитать конфигурацию ftwk" + +#: logsrvd/logsrvd_journal.c:150 logsrvd/logsrvd_queue.c:109 +#: plugins/sudoers/visudo.c:1026 +#, fuzzy, c-format +#| msgid "unable to lock log file: %s: %s" +msgid "unable to lock %s" +msgstr "не удаётся заблокировать файл журнала: %s: %s" + +#: logsrvd/logsrvd_journal.c:153 +#, fuzzy +#| msgid "unable to lock log file: %s: %s" +msgid "unable to lock journal file" +msgstr "не удаётся заблокировать файл журнала: %s: %s" + +#: logsrvd/logsrvd_journal.c:161 +#, fuzzy +#| msgid "unable to open log file: %s: %s" +msgid "unable to open journal file" +msgstr "не удаётся открыть файл журнала: %s: %s" + +#: logsrvd/logsrvd_journal.c:182 logsrvd/logsrvd_journal.c:457 +#: logsrvd/logsrvd_journal.c:462 +#, fuzzy +#| msgid "unable to read fwtk config" +msgid "unable to write journal file" +msgstr "не удаётся прочитать конфигурацию ftwk" + +#: logsrvd/logsrvd_journal.c:190 logsrvd/logsrvd_journal.c:197 +#, fuzzy +#| msgid "unable to read fwtk config" +msgid "unable to rename journal file" +msgstr "не удаётся прочитать конфигурацию ftwk" + +#: logsrvd/logsrvd_journal.c:244 logsrvd/logsrvd_journal.c:245 +#: logsrvd/logsrvd_journal.c:279 logsrvd/logsrvd_journal.c:280 +msgid "unexpected EOF reading journal file" +msgstr "" + +#: logsrvd/logsrvd_journal.c:248 logsrvd/logsrvd_journal.c:249 +#: logsrvd/logsrvd_journal.c:283 logsrvd/logsrvd_journal.c:284 +msgid "error reading journal file" +msgstr "" + +#: logsrvd/logsrvd_journal.c:295 logsrvd/logsrvd_journal.c:381 +msgid "invalid journal file, unable to restart" +msgstr "" + +#: logsrvd/logsrvd_journal.c:440 +#, c-format +msgid "unable to seek to [%lld, %ld] in journal file %s" +msgstr "" + +#: logsrvd/logsrvd_local.c:166 +#, c-format +msgid "unexpected value_case %d in %s from %s" +msgstr "" + +#: logsrvd/logsrvd_local.c:194 +msgid "error parsing AcceptMessage" +msgstr "" + +#: logsrvd/logsrvd_local.c:205 +msgid "error creating I/O log" +msgstr "" + +#: logsrvd/logsrvd_local.c:228 +msgid "error logging accept event" +msgstr "" + +#: logsrvd/logsrvd_local.c:267 +msgid "error parsing RejectMessage" +msgstr "" + +#: logsrvd/logsrvd_local.c:291 +msgid "error logging reject event" +msgstr "" + +#: logsrvd/logsrvd_local.c:427 logsrvd/logsrvd_local.c:435 +msgid "error logging exit event" +msgstr "" + +#: logsrvd/logsrvd_local.c:492 logsrvd/logsrvd_local.c:493 +msgid "log is already complete, cannot be restarted" +msgstr "" + +#: logsrvd/logsrvd_local.c:523 +#, fuzzy +#| msgid "unable to read the clock" +msgid "unable to restart log" +msgstr "не удаётся прочитать часы" + +#: logsrvd/logsrvd_local.c:539 +msgid "error parsing AlertMessage" +msgstr "" + +#: logsrvd/logsrvd_local.c:549 +msgid "error logging alert event" +msgstr "" + +#: logsrvd/logsrvd_local.c:585 logsrvd/logsrvd_local.c:648 +#: logsrvd/logsrvd_local.c:683 +#, c-format +msgid "unable to format timing buffer, length %d" +msgstr "" + +#: logsrvd/logsrvd_local.c:599 logsrvd/logsrvd_local.c:607 +#: logsrvd/logsrvd_local.c:655 logsrvd/logsrvd_local.c:690 +#: plugins/sudoers/sudoreplay.c:351 +#, fuzzy, c-format +#| msgid "%s: %s" +msgid "%s/%s: %s" +msgstr "%s: %s" + +#: logsrvd/logsrvd_local.c:618 +msgid "randomly dropping connection" +msgstr "" + +#: logsrvd/logsrvd_local.c:630 +msgid "error writing IoBuffer" +msgstr "" + +#: logsrvd/logsrvd_local.c:665 +msgid "error writing ChangeWindowSize" +msgstr "" + +#: logsrvd/logsrvd_local.c:700 +msgid "error writing CommandSuspend" +msgstr "" + +#: logsrvd/logsrvd_relay.c:435 +msgid "TLS handshake with relay host failed" +msgstr "" + +#: logsrvd/logsrvd_relay.c:463 +#, fuzzy +#| msgid "unable to connect to authentication server" +msgid "unable to connect to relay host" +msgstr "не удаётся связаться с сервером аутентификации" + +#: logsrvd/logsrvd_relay.c:518 +#, c-format +msgid "%s: invalid ServerHello, missing server_id" +msgstr "" + +#: logsrvd/logsrvd_relay.c:520 logsrvd/sendlog.c:1096 +#: plugins/sudoers/log_client.c:1469 +msgid "invalid ServerHello" +msgstr "" + +#: logsrvd/logsrvd_relay.c:679 +msgid "unrecognized ServerMessage type" +msgstr "" + +#: logsrvd/logsrvd_relay.c:708 +#, c-format +msgid "timed out reading from relay %s (%s)" +msgstr "" + +#: logsrvd/logsrvd_relay.c:710 +msgid "timeout reading from relay" +msgstr "" + +#: logsrvd/logsrvd_relay.c:762 +msgid "relay host name does not match certificate" +msgstr "" + +#: logsrvd/logsrvd_relay.c:768 logsrvd/logsrvd_relay.c:782 +#: logsrvd/logsrvd_relay.c:789 +msgid "error reading from relay" +msgstr "" + +#: logsrvd/logsrvd_relay.c:810 +#, fuzzy +#| msgid "unable to read the clock" +msgid "unable to read from relay" +msgstr "не удаётся прочитать часы" + +#: logsrvd/logsrvd_relay.c:825 logsrvd/logsrvd_relay.c:943 +msgid "relay server closed connection" +msgstr "" + +#: logsrvd/logsrvd_relay.c:843 +msgid "server message too large" +msgstr "" + +#: logsrvd/logsrvd_relay.c:907 +#, c-format +msgid "timed out writing to relay %s (%s)" +msgstr "" + +#: logsrvd/logsrvd_relay.c:909 +msgid "timeout writing to relay" +msgstr "" + +#: logsrvd/logsrvd_relay.c:962 logsrvd/logsrvd_relay.c:969 +#: logsrvd/logsrvd_relay.c:981 +msgid "error writing to relay" +msgstr "" + +#: logsrvd/sendlog.c:119 +msgid "send sudo I/O log to remote server" +msgstr "" + +#: logsrvd/sendlog.c:125 +msgid "only send an accept event (no I/O)" +msgstr "" + +#: logsrvd/sendlog.c:128 +msgid "certificate bundle file to verify server's cert against" +msgstr "" + +#: logsrvd/sendlog.c:130 +msgid "certificate file for TLS handshake" +msgstr "" + +#: logsrvd/sendlog.c:133 +msgid "host to send logs to" +msgstr "" + +#: logsrvd/sendlog.c:135 +msgid "remote ID of I/O log to be resumed" +msgstr "" + +#: logsrvd/sendlog.c:138 +msgid "private key file" +msgstr "" + +#: logsrvd/sendlog.c:140 +msgid "do not verify server certificate" +msgstr "" + +#: logsrvd/sendlog.c:143 +msgid "port to use when connecting to host" +msgstr "" + +#: logsrvd/sendlog.c:145 +msgid "restart previous I/O log transfer" +msgstr "" + +#: logsrvd/sendlog.c:147 +msgid "reject the command with the given reason" +msgstr "" + +#: logsrvd/sendlog.c:149 +msgid "stop transfer after reaching this time" +msgstr "" + +#: logsrvd/sendlog.c:151 +msgid "test audit server by sending selected I/O log n times in parallel" +msgstr "" + +#: logsrvd/sendlog.c:176 plugins/sudoers/log_client.c:453 +#, fuzzy, c-format +#| msgid "unable to lock log file: %s: %s" +msgid "unable to look up %s:%s: %s" +msgstr "не удаётся заблокировать файл журнала: %s: %s" + +#: logsrvd/sendlog.c:214 +msgid "unable to get server IP addr" +msgstr "" + +#: logsrvd/sendlog.c:300 plugins/sudoers/sudoreplay.c:871 +#, fuzzy, c-format +#| msgid "%s: unable to parse '%s': %s" +msgid "unable to read %s/%s: %s" +msgstr "%s: не удаётся прочитать '%s': %s" + +#: logsrvd/sendlog.c:1020 plugins/sudoers/iolog.c:951 +#: plugins/sudoers/iolog.c:1026 +#, c-format +msgid "unexpected I/O event %d" +msgstr "" + +#: logsrvd/sendlog.c:1073 logsrvd/sendlog.c:1090 logsrvd/sendlog.c:1124 +#: plugins/sudoers/log_client.c:1118 plugins/sudoers/log_client.c:1395 +#: plugins/sudoers/log_client.c:1463 plugins/sudoers/log_client.c:1502 +#, c-format +msgid "%s: unexpected state %d" +msgstr "" + +#: logsrvd/sendlog.c:1160 plugins/sudoers/log_client.c:1551 +#, c-format +msgid "error message received from server: %s" +msgstr "" + +#: logsrvd/sendlog.c:1173 plugins/sudoers/log_client.c:1564 +#, c-format +msgid "abort message received from server: %s" +msgstr "" + +#: logsrvd/sendlog.c:1232 plugins/sudoers/log_client.c:1614 +#, c-format +msgid "%s: unexpected type_case value %d" +msgstr "" + +#: logsrvd/sendlog.c:1261 +msgid "timeout reading from server" +msgstr "" + +#: logsrvd/sendlog.c:1310 plugins/sudoers/log_client.c:1730 +msgid "host name does not match certificate" +msgstr "" + +#: logsrvd/sendlog.c:1343 +msgid "premature EOF" +msgstr "" + +#: logsrvd/sendlog.c:1356 plugins/sudoers/log_client.c:1777 +#, c-format +msgid "server message too large: %u" +msgstr "" + +#: logsrvd/sendlog.c:1412 +msgid "timeout writing to server" +msgstr "" + +#: logsrvd/sendlog.c:1779 +msgid "both restart point and iolog ID must be specified" +msgstr "" + +#: logsrvd/sendlog.c:1783 +msgid "a restart point may not be set when no I/O is sent" +msgstr "" + +#: logsrvd/sendlog.c:1859 +#, c-format +msgid "exited prematurely with state %d" +msgstr "" + +#: logsrvd/sendlog.c:1860 +#, c-format +msgid "elapsed time sent to server [%lld, %ld]" +msgstr "" + +#: logsrvd/sendlog.c:1862 +#, c-format +msgid "commit point received from server [%lld, %ld]" +msgstr "" + +#: logsrvd/tls_client.c:111 plugins/sudoers/log_client.c:315 +msgid "TLS handshake timeout occurred" +msgstr "" + +#: logsrvd/tls_client.c:131 logsrvd/tls_client.c:147 +#: plugins/sudoers/log_client.c:337 plugins/sudoers/log_client.c:353 +#, fuzzy +#| msgid "unable to rebuild the environment" +msgid "unable to set event" +msgstr "не удаётся перестроить среду" + +#: logsrvd/tls_client.c:157 logsrvd/tls_client.c:161 +#, fuzzy, c-format +#| msgid "SecurID communication failed" +msgid "TLS connection failed: %s" +msgstr "ошибка связи с SecurID" + +#: logsrvd/tls_client.c:196 +#, fuzzy, c-format +#| msgid "%s: unable to allocate options: %s" +msgid "unable to allocate ssl object: %s" +msgstr "%s: не удаётся выделить параметры: %s" + +#: logsrvd/tls_client.c:210 +#, c-format +msgid "Unable to attach socket to the ssl object: %s" +msgstr "" + +#: logsrvd/tls_client.c:238 +#, fuzzy +#| msgid "unable to initialize SIA session" +msgid "unable to initialize TLS context" +msgstr "не удаётся инициализировать сеанс SIA" + +#: logsrvd/tls_init.c:138 logsrvd/tls_init.c:146 +#, c-format +msgid "unable to set TLS 1.2 ciphersuite to %s: %s" +msgstr "" + +#: logsrvd/tls_init.c:166 logsrvd/tls_init.c:174 +#, c-format +msgid "unable to set TLS 1.3 ciphersuite to %s: %s" +msgstr "" + +#: logsrvd/tls_init.c:206 logsrvd/tls_init.c:227 +#, c-format +msgid "unable to set diffie-hellman parameters: %s" +msgstr "" + +#: logsrvd/tls_init.c:283 +#, fuzzy, c-format +#| msgid "unable to read the clock" +msgid "unable to create TLS context: %s" +msgstr "не удаётся прочитать часы" + +#: logsrvd/tls_init.c:290 +#, c-format +msgid "unable to set minimum protocol version to TLS 1.2: %s" +msgstr "" + +#: plugins/sudoers/audit.c:269 plugins/sudoers/audit.c:429 +#: plugins/sudoers/log_client.c:951 plugins/sudoers/log_client.c:1000 +#: plugins/sudoers/log_client.c:1049 plugins/sudoers/log_client.c:1175 +#: plugins/sudoers/logging.c:591 plugins/sudoers/logging.c:689 +#: plugins/sudoers/logging.c:792 plugins/sudoers/logging.c:983 +#: plugins/sudoers/policy.c:124 +#, fuzzy +#| msgid "unable to read the clock" +msgid "unable to get time of day" +msgstr "не удаётся прочитать часы" + +#: plugins/sudoers/auth/aix_auth.c:280 +#, fuzzy, c-format +#| msgid "unable to change expired password: %s" +msgid "unable to change password for %s" +msgstr "не удаётся сменить устаревший пароль: %s" + +#: plugins/sudoers/auth/bsdauth.c:74 +#, c-format +msgid "unable to get login class for user %s" +msgstr "не удаётся получить класс логина для пользователя %s" + +#: plugins/sudoers/auth/bsdauth.c:79 +msgid "unable to begin bsd authentication" +msgstr "не удаётся начать BSD-аутентификацию" + +#: plugins/sudoers/auth/bsdauth.c:87 +msgid "invalid authentication type" +msgstr "некорректный тип аутентификации" + +#: plugins/sudoers/auth/bsdauth.c:96 +msgid "unable to initialize BSD authentication" +msgstr "не удаётся запустить BSD-аутентификацию" + +#: plugins/sudoers/auth/bsdauth.c:186 +msgid "your account has expired" +msgstr "" + +#: plugins/sudoers/auth/bsdauth.c:188 +msgid "approval failed" +msgstr "" + +#: plugins/sudoers/auth/fwtk.c:61 +msgid "unable to read fwtk config" +msgstr "не удаётся прочитать конфигурацию ftwk" + +#: plugins/sudoers/auth/fwtk.c:66 +msgid "unable to connect to authentication server" +msgstr "не удаётся связаться с сервером аутентификации" + +#: plugins/sudoers/auth/fwtk.c:72 plugins/sudoers/auth/fwtk.c:97 +#: plugins/sudoers/auth/fwtk.c:129 +msgid "lost connection to authentication server" +msgstr "потеряно соединение с сервером аутентификации" + +#: plugins/sudoers/auth/fwtk.c:76 +#, c-format +msgid "" +"authentication server error:\n" +"%s" +msgstr "" +"ошибка сервера аутентификации:\n" +"%s" + +#: plugins/sudoers/auth/kerb5.c:115 +#, c-format +msgid "%s: unable to convert principal to string ('%s'): %s" +msgstr "%s: не удаётся преобразовать принципал в строку ('%s'): %s" + +#: plugins/sudoers/auth/kerb5.c:164 +#, c-format +msgid "%s: unable to parse '%s': %s" +msgstr "%s: не удаётся прочитать '%s': %s" + +#: plugins/sudoers/auth/kerb5.c:173 +#, c-format +msgid "%s: unable to resolve credential cache: %s" +msgstr "%s: не удаётся разрешить кэш учётных данных: %s" + +#: plugins/sudoers/auth/kerb5.c:222 +#, c-format +msgid "%s: unable to allocate options: %s" +msgstr "%s: не удаётся выделить параметры: %s" + +#: plugins/sudoers/auth/kerb5.c:237 +#, c-format +msgid "%s: unable to get credentials: %s" +msgstr "%s: не удаётся получить учётные данные: %s" + +#: plugins/sudoers/auth/kerb5.c:250 +#, c-format +msgid "%s: unable to initialize credential cache: %s" +msgstr "%s: не удаётся инициализировать кэш учётных данных: %s" + +#: plugins/sudoers/auth/kerb5.c:253 +#, c-format +msgid "%s: unable to store credential in cache: %s" +msgstr "%s: не удаётся сохранить учётные данные в кэше: %s" + +#: plugins/sudoers/auth/kerb5.c:317 +#, c-format +msgid "%s: unable to get host principal: %s" +msgstr "%s: не удаётся получить принципал хоста: %s" + +#: plugins/sudoers/auth/kerb5.c:331 +#, c-format +msgid "%s: Cannot verify TGT! Possible attack!: %s" +msgstr "%s: Не удаётся проверить TGT. Нас атакуют?!: %s" + +#: plugins/sudoers/auth/pam.c:224 +#, fuzzy, c-format +#| msgid "unable to initialize PAM" +msgid "unable to initialize PAM: %s" +msgstr "не удаётся инициализировать PAM" + +#: plugins/sudoers/auth/pam.c:337 +#, c-format +msgid "PAM authentication error: %s" +msgstr "Ошибка PAM-аутентификации: %s" + +#: plugins/sudoers/auth/pam.c:356 +msgid "account validation failure, is your account locked?" +msgstr "ошибка проверки учётной записи. Она заблокирована?" + +#: plugins/sudoers/auth/pam.c:367 +msgid "Account or password is expired, reset your password and try again" +msgstr "Учётные данные устарели. Сбросьте пароль и попробуйте ещё раз" + +#: plugins/sudoers/auth/pam.c:373 +#, c-format +msgid "unable to change expired password: %s" +msgstr "не удаётся сменить устаревший пароль: %s" + +#: plugins/sudoers/auth/pam.c:384 +msgid "Password expired, contact your system administrator" +msgstr "Пароль устарел. Обратитесь к системному администратору" + +#: plugins/sudoers/auth/pam.c:389 +msgid "Account expired or PAM config lacks an \"account\" section for sudo, contact your system administrator" +msgstr "Срок действия учётной записи истёк или в настройках PAM нет раздела «account» для sudo. Обратитесь к системному администратору" + +#: plugins/sudoers/auth/pam.c:397 plugins/sudoers/auth/pam.c:402 +#, fuzzy, c-format +#| msgid "PAM authentication error: %s" +msgid "PAM account management error: %s" +msgstr "Ошибка PAM-аутентификации: %s" + +#: plugins/sudoers/auth/rfc1938.c:99 plugins/sudoers/visudo.c:271 +#, c-format +msgid "you do not exist in the %s database" +msgstr "вы не существуете в базе данных %s" + +#: plugins/sudoers/auth/securid5.c:75 +msgid "failed to initialise the ACE API library" +msgstr "не удалось инициализировать библиотеку API для ACE" + +#: plugins/sudoers/auth/securid5.c:106 +msgid "unable to contact the SecurID server" +msgstr "не удалось связаться с сервером SecurID" + +#: plugins/sudoers/auth/securid5.c:115 +msgid "User ID locked for SecurID Authentication" +msgstr "ID пользователя заблокирован для аутентификации SecurID" + +#: plugins/sudoers/auth/securid5.c:119 plugins/sudoers/auth/securid5.c:170 +msgid "invalid username length for SecurID" +msgstr "недопустимая длина имени пользователя для SecurID" + +#: plugins/sudoers/auth/securid5.c:123 plugins/sudoers/auth/securid5.c:175 +msgid "invalid Authentication Handle for SecurID" +msgstr "недопустимый обработчик аутентификации для SecurID" + +#: plugins/sudoers/auth/securid5.c:127 +msgid "SecurID communication failed" +msgstr "Ошибка связи с SecurID" + +#: plugins/sudoers/auth/securid5.c:131 plugins/sudoers/auth/securid5.c:218 +msgid "unknown SecurID error" +msgstr "неизвестная ошибка SecurID" + +#: plugins/sudoers/auth/securid5.c:165 +msgid "invalid passcode length for SecurID" +msgstr "недопустимая длина пароля для SecurID" + +#: plugins/sudoers/auth/sia.c:69 plugins/sudoers/auth/sia.c:126 +msgid "unable to initialize SIA session" +msgstr "не удаётся инициализировать сеанс SIA" + +#: plugins/sudoers/auth/sudo_auth.c:135 +msgid "invalid authentication methods" +msgstr "недопустимые методы аутентификации" + +#: plugins/sudoers/auth/sudo_auth.c:137 +msgid "Invalid authentication methods compiled into sudo! You may not mix standalone and non-standalone authentication." +msgstr "Приложение sudo скомпилировано с неверными методами аутентификации. Нельзя смешивать зависимую и независимую аутентификацию." + +#: plugins/sudoers/auth/sudo_auth.c:258 plugins/sudoers/auth/sudo_auth.c:310 +msgid "no authentication methods" +msgstr "методы аутентификации отсутствуют" + +#: plugins/sudoers/auth/sudo_auth.c:260 +msgid "There are no authentication methods compiled into sudo! If you want to turn off authentication, use the --disable-authentication configure option." +msgstr "Приложение sudo скомпилировано без методов аутентификации! Чтобы отключить аутентификацию, используйте параметр --disable-authentication." + +#: plugins/sudoers/auth/sudo_auth.c:312 +msgid "Unable to initialize authentication methods." +msgstr "Не удаётся инициализировать методы аутентификации." + +#: plugins/sudoers/auth/sudo_auth.c:486 +msgid "Authentication methods:" +msgstr "Методы аутентификации:" + +#: plugins/sudoers/bsm_audit.c:123 plugins/sudoers/bsm_audit.c:214 +msgid "Could not determine audit condition" +msgstr "Не удалось определить состояние аудита" + +#: plugins/sudoers/bsm_audit.c:188 plugins/sudoers/bsm_audit.c:277 +msgid "unable to commit audit record" +msgstr "не удаётся отправить запись аудита" + +#: plugins/sudoers/check.c:285 +#, c-format +msgid "error reading lecture file %s" +msgstr "" + +#: plugins/sudoers/check.c:288 +#, c-format +msgid "ignoring lecture file %s: not a regular file" +msgstr "" + +#: plugins/sudoers/check.c:301 +msgid "" +"\n" +"We trust you have received the usual lecture from the local System\n" +"Administrator. It usually boils down to these three things:\n" +"\n" +" #1) Respect the privacy of others.\n" +" #2) Think before you type.\n" +" #3) With great power comes great responsibility.\n" +"\n" +msgstr "" +"\n" +"Мы полагаем, что ваш системный администратор изложил вам основы\n" +"безопасности. Как правило, всё сводится к трём следующим правилам:\n" +"\n" +" №1) Уважайте частную жизнь других.\n" +" №2) Думайте, прежде чем что-то вводить.\n" +" №3) С большой властью приходит большая ответственность.\n" +"\n" + +#: plugins/sudoers/check.c:348 plugins/sudoers/check.c:358 +#: plugins/sudoers/parse.c:64 plugins/sudoers/sudoers.c:920 +#: plugins/sudoers/sudoers.c:941 plugins/sudoers/tsdump.c:119 +#, c-format +msgid "unknown uid %u" +msgstr "неизвестный uid %u" + +#: plugins/sudoers/check_aliases.c:99 plugins/sudoers/defaults.c:1279 +#, c-format +msgid "%s: %s\n" +msgstr "%s: %s\n" + +#: plugins/sudoers/check_aliases.c:133 +#, c-format +msgid "cycle in %s \"%s\"" +msgstr "" + +#: plugins/sudoers/check_aliases.c:136 +#, c-format +msgid "%s \"%s\" referenced but not defined" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:209 +#, c-format +msgid "order increment: %s: %s" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:228 +#, c-format +msgid "starting order: %s: %s" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:238 +#, c-format +msgid "order padding: %s: %s" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:248 plugins/sudoers/visudo.c:184 +#, c-format +msgid "%s grammar version %d\n" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:277 plugins/sudoers/testsudoers.c:159 +#, c-format +msgid "unsupported input format %s" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:295 +#, c-format +msgid "unsupported output format %s" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:385 +#, c-format +msgid "%s: input and output files must be different" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:399 plugins/sudoers/sudoers.c:166 +#: plugins/sudoers/sudoers.c:222 plugins/sudoers/testsudoers.c:254 +#: plugins/sudoers/visudo.c:280 plugins/sudoers/visudo.c:650 +#: plugins/sudoers/visudo.c:975 +msgid "unable to initialize sudoers default values" +msgstr "не удаётся инициализировать значения по умолчанию для sudoers" + +#: plugins/sudoers/cvtsudoers.c:525 plugins/sudoers/ldap_conf.c:434 +#, c-format +msgid "%s: %s: %s: %s" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:584 +#, fuzzy, c-format +#| msgid "unknown user: %s" +msgid "%s: unknown key word %s" +msgstr "неизвестный пользователь: %s" + +#: plugins/sudoers/cvtsudoers.c:630 +#, fuzzy, c-format +#| msgid "invalid sudoOrder attribute: %s" +msgid "invalid defaults type: %s" +msgstr "недопустимый атрибут sudoOrder: %s" + +#: plugins/sudoers/cvtsudoers.c:653 +#, fuzzy, c-format +#| msgid "invalid authentication type" +msgid "invalid suppression type: %s" +msgstr "некорректный тип аутентификации" + +#: plugins/sudoers/cvtsudoers.c:694 plugins/sudoers/cvtsudoers.c:710 +#, fuzzy, c-format +#| msgid "invalid sudoOrder attribute: %s" +msgid "invalid filter: %s" +msgstr "недопустимый атрибут sudoOrder: %s" + +#: plugins/sudoers/cvtsudoers.c:754 plugins/sudoers/visudo.c:980 +#, c-format +msgid "failed to parse %s file, unknown error" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:1478 plugins/sudoers/sudoreplay.c:1145 +#: plugins/sudoers/timestamp.c:343 plugins/sudoers/timestamp.c:346 +#, c-format +msgid "unable to write to %s" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:1506 +#, c-format +msgid "" +"%s - convert between sudoers file formats\n" +"\n" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:1508 +msgid "" +"\n" +"Options:\n" +" -b, --base=dn the base DN for sudo LDAP queries\n" +" -c, --config=conf_file the path to the configuration file\n" +" -d, --defaults=deftypes only convert Defaults of the specified types\n" +" -e, --expand-aliases expand aliases when converting\n" +" -f, --output-format=format set output format: JSON, LDIF or sudoers\n" +" -i, --input-format=format set input format: LDIF or sudoers\n" +" -I, --increment=num amount to increase each sudoOrder by\n" +" -h, --help display help message and exit\n" +" -m, --match=filter only convert entries that match the filter\n" +" -M, --match-local match filter uses passwd and group databases\n" +" -o, --output=output_file write converted sudoers to output_file\n" +" -O, --order-start=num starting point for first sudoOrder\n" +" -p, --prune-matches prune non-matching users, groups and hosts\n" +" -P, --padding=num base padding for sudoOrder increment\n" +" -s, --suppress=sections suppress output of certain sections\n" +" -V, --version display version information and exit" +msgstr "" + +#: plugins/sudoers/cvtsudoers_csv.c:452 plugins/sudoers/cvtsudoers_csv.c:466 +#: plugins/sudoers/cvtsudoers_json.c:657 plugins/sudoers/cvtsudoers_json.c:672 +#: plugins/sudoers/cvtsudoers_ldif.c:347 plugins/sudoers/cvtsudoers_ldif.c:360 +#: plugins/sudoers/ldap.c:510 +msgid "unable to get GMT time" +msgstr "" + +#: plugins/sudoers/cvtsudoers_csv.c:457 plugins/sudoers/cvtsudoers_csv.c:471 +#: plugins/sudoers/cvtsudoers_json.c:662 plugins/sudoers/cvtsudoers_json.c:677 +#: plugins/sudoers/cvtsudoers_ldif.c:352 plugins/sudoers/cvtsudoers_ldif.c:365 +#: plugins/sudoers/ldap.c:518 +msgid "unable to format timestamp" +msgstr "" + +#: plugins/sudoers/cvtsudoers_json.c:480 plugins/sudoers/cvtsudoers_json.c:515 +#: plugins/sudoers/cvtsudoers_json.c:728 +#, c-format +msgid "%s:%d:%d: unknown defaults entry \"%s\"" +msgstr "" + +#: plugins/sudoers/cvtsudoers_ldif.c:661 +#, c-format +msgid "too many sudoers entries, maximum %u" +msgstr "" + +#: plugins/sudoers/cvtsudoers_ldif.c:704 +msgid "the SUDOERS_BASE environment variable is not set and the -b option was not specified." +msgstr "" + +#: plugins/sudoers/cvtsudoers_merge.c:273 +#: plugins/sudoers/cvtsudoers_merge.c:309 +#, c-format +msgid "%s:%d:%d: converting host list to ALL" +msgstr "" + +#: plugins/sudoers/cvtsudoers_merge.c:545 +#, fuzzy, c-format +#| msgid "unable to initialize LDAP: %s" +msgid "unable to find alias %s" +msgstr "не удаётся инициализировать LDAP: %s" + +#: plugins/sudoers/cvtsudoers_merge.c:548 +#, c-format +msgid "%s:%d:%d: renaming alias %s to %s" +msgstr "" + +#: plugins/sudoers/cvtsudoers_merge.c:605 +#, c-format +msgid "%s:%d:%d: removing duplicate alias %s" +msgstr "" + +#: plugins/sudoers/cvtsudoers_merge.c:830 +#, c-format +msgid "%s:%d:%d: conflicting Defaults entry \"%s\" host-specific in %s:%d:%d" +msgstr "" + +#: plugins/sudoers/cvtsudoers_merge.c:864 +#, c-format +msgid "%s:%d:%d: made Defaults \"%s\" specific to host %s" +msgstr "" + +#: plugins/sudoers/cvtsudoers_merge.c:882 +#, c-format +msgid "%s:%d:%d: unable to make Defaults \"%s\" host-specific" +msgstr "" + +#: plugins/sudoers/cvtsudoers_merge.c:892 +#, c-format +msgid "%s:%d:%d: removing Defaults \"%s\" overridden by subsequent entries" +msgstr "" + +#: plugins/sudoers/cvtsudoers_merge.c:1088 +#, c-format +msgid "%s:%d:%d: merging userspec into %s:%d:%d" +msgstr "" + +#: plugins/sudoers/cvtsudoers_merge.c:1182 +#, c-format +msgid "%s:%d:%d: removing userspec overridden by subsequent entries" +msgstr "" + +#: plugins/sudoers/def_data.c:56 +#, c-format +msgid "Syslog facility if syslog is being used for logging: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:60 +#, c-format +msgid "Syslog priority to use when user authenticates successfully: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:64 +#, c-format +msgid "Syslog priority to use when user authenticates unsuccessfully: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:68 +msgid "Put OTP prompt on its own line" +msgstr "" + +#: plugins/sudoers/def_data.c:72 +msgid "Ignore '.' in $PATH" +msgstr "Игнорировать '.' в переменной $PATH" + +#: plugins/sudoers/def_data.c:76 +msgid "Always send mail when sudo is run" +msgstr "Отправлять письмо при каждом запуске sudo" + +#: plugins/sudoers/def_data.c:80 +msgid "Send mail if user authentication fails" +msgstr "Отправлять письмо при ошибке аутентификации" + +#: plugins/sudoers/def_data.c:84 +msgid "Send mail if the user is not in sudoers" +msgstr "Отправлять письмо, если пользователя нет в группе sudoers" + +#: plugins/sudoers/def_data.c:88 +msgid "Send mail if the user is not in sudoers for this host" +msgstr "Отправлять письмо, если пользователя нет в группе sudoers для данного компьютера" + +#: plugins/sudoers/def_data.c:92 +msgid "Send mail if the user is not allowed to run a command" +msgstr "Отправлять письмо, если пользователю не разрешено выполнять команду" + +#: plugins/sudoers/def_data.c:96 +msgid "Send mail if the user tries to run a command" +msgstr "Отправлять письмо, если пользователь пытается выполнить команду" + +#: plugins/sudoers/def_data.c:100 +msgid "Use a separate timestamp for each user/tty combo" +msgstr "" + +#: plugins/sudoers/def_data.c:104 +msgid "Lecture user the first time they run sudo" +msgstr "" + +#: plugins/sudoers/def_data.c:108 +#, c-format +msgid "File containing the sudo lecture: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:112 +msgid "Require users to authenticate by default" +msgstr "" + +#: plugins/sudoers/def_data.c:116 +msgid "Root may run sudo" +msgstr "" + +#: plugins/sudoers/def_data.c:120 +msgid "Log the hostname in the (non-syslog) log file" +msgstr "" + +#: plugins/sudoers/def_data.c:124 +msgid "Log the year in the (non-syslog) log file" +msgstr "" + +#: plugins/sudoers/def_data.c:128 +msgid "If sudo is invoked with no arguments, start a shell" +msgstr "" + +#: plugins/sudoers/def_data.c:132 +msgid "Set $HOME to the target user when starting a shell with -s" +msgstr "" + +#: plugins/sudoers/def_data.c:136 +msgid "Always set $HOME to the target user's home directory" +msgstr "" + +#: plugins/sudoers/def_data.c:140 +msgid "Allow some information gathering to give useful error messages" +msgstr "" + +#: plugins/sudoers/def_data.c:144 +msgid "Require fully-qualified hostnames in the sudoers file" +msgstr "" + +#: plugins/sudoers/def_data.c:148 +msgid "Insult the user when they enter an incorrect password" +msgstr "" + +#: plugins/sudoers/def_data.c:152 +msgid "Only allow the user to run sudo if they have a tty" +msgstr "" + +#: plugins/sudoers/def_data.c:156 +msgid "Visudo will honor the EDITOR environment variable" +msgstr "" + +#: plugins/sudoers/def_data.c:160 +msgid "Prompt for root's password, not the users's" +msgstr "" + +#: plugins/sudoers/def_data.c:164 +msgid "Prompt for the runas_default user's password, not the users's" +msgstr "" + +#: plugins/sudoers/def_data.c:168 +msgid "Prompt for the target user's password, not the users's" +msgstr "" + +#: plugins/sudoers/def_data.c:172 +msgid "Apply defaults in the target user's login class if there is one" +msgstr "" + +#: plugins/sudoers/def_data.c:176 +msgid "Set the LOGNAME and USER environment variables" +msgstr "" + +#: plugins/sudoers/def_data.c:180 +msgid "Only set the effective uid to the target user, not the real uid" +msgstr "" + +#: plugins/sudoers/def_data.c:184 +msgid "Don't initialize the group vector to that of the target user" +msgstr "" + +#: plugins/sudoers/def_data.c:188 +#, c-format +msgid "Length at which to wrap log file lines (0 for no wrap): %u" +msgstr "" + +#: plugins/sudoers/def_data.c:192 +#, c-format +msgid "Authentication timestamp timeout: %.1f minutes" +msgstr "" + +#: plugins/sudoers/def_data.c:196 +#, c-format +msgid "Password prompt timeout: %.1f minutes" +msgstr "" + +#: plugins/sudoers/def_data.c:200 +#, c-format +msgid "Number of tries to enter a password: %u" +msgstr "" + +#: plugins/sudoers/def_data.c:204 +#, c-format +msgid "Umask to use or 0777 to use user's: 0%o" +msgstr "" + +#: plugins/sudoers/def_data.c:208 +#, c-format +msgid "Path to log file: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:212 +#, c-format +msgid "Path to mail program: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:216 +#, c-format +msgid "Flags for mail program: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:220 +#, c-format +msgid "Address to send mail to: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:224 +#, c-format +msgid "Address to send mail from: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:228 +#, c-format +msgid "Subject line for mail messages: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:232 +#, c-format +msgid "Incorrect password message: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:236 +#, c-format +msgid "Path to lecture status dir: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:240 +#, c-format +msgid "Path to authentication timestamp dir: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:244 +#, c-format +msgid "Owner of the authentication timestamp dir: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:248 +#, c-format +msgid "Users in this group are exempt from password and PATH requirements: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:252 +#, c-format +msgid "Default password prompt: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:256 +msgid "If set, passprompt will override system prompt in all cases." +msgstr "" + +#: plugins/sudoers/def_data.c:260 +#, c-format +msgid "Default user to run commands as: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:264 +#, c-format +msgid "Value to override user's $PATH with: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:268 +#, c-format +msgid "Path to the editor for use by visudo: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:272 +#, c-format +msgid "When to require a password for 'list' pseudocommand: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:276 +#, c-format +msgid "When to require a password for 'verify' pseudocommand: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:280 +msgid "Preload the sudo_noexec library which replaces the exec functions" +msgstr "" + +#: plugins/sudoers/def_data.c:284 +msgid "If LDAP directory is up, do we ignore local sudoers file" +msgstr "" + +#: plugins/sudoers/def_data.c:288 +#, c-format +msgid "File descriptors >= %d will be closed before executing a command" +msgstr "" + +#: plugins/sudoers/def_data.c:292 +msgid "If set, users may override the value of \"closefrom\" with the -C option" +msgstr "" + +#: plugins/sudoers/def_data.c:296 +msgid "Allow users to set arbitrary environment variables" +msgstr "" + +#: plugins/sudoers/def_data.c:300 +msgid "Reset the environment to a default set of variables" +msgstr "" + +#: plugins/sudoers/def_data.c:304 +msgid "Environment variables to check for safety:" +msgstr "" + +#: plugins/sudoers/def_data.c:308 +msgid "Environment variables to remove:" +msgstr "" + +#: plugins/sudoers/def_data.c:312 +msgid "Environment variables to preserve:" +msgstr "" + +#: plugins/sudoers/def_data.c:316 +#, c-format +msgid "SELinux role to use in the new security context: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:320 +#, c-format +msgid "SELinux type to use in the new security context: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:324 +#, c-format +msgid "Path to the sudo-specific environment file: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:328 +#, c-format +msgid "Path to the restricted sudo-specific environment file: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:332 +#, c-format +msgid "Locale to use while parsing sudoers: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:336 +msgid "Allow sudo to prompt for a password even if it would be visible" +msgstr "" + +#: plugins/sudoers/def_data.c:340 +msgid "Provide visual feedback at the password prompt when there is user input" +msgstr "" + +#: plugins/sudoers/def_data.c:344 +msgid "Use faster globbing that is less accurate but does not access the filesystem" +msgstr "" + +#: plugins/sudoers/def_data.c:348 +msgid "The umask specified in sudoers will override the user's, even if it is more permissive" +msgstr "" + +#: plugins/sudoers/def_data.c:352 +msgid "Log user's input for the command being run" +msgstr "" + +#: plugins/sudoers/def_data.c:356 +msgid "Log the command's standard input if not connected to a terminal" +msgstr "" + +#: plugins/sudoers/def_data.c:360 +msgid "Log the user's terminal input for the command being run" +msgstr "" + +#: plugins/sudoers/def_data.c:364 +msgid "Log the output of the command being run" +msgstr "" + +#: plugins/sudoers/def_data.c:368 +msgid "Log the command's standard output if not connected to a terminal" +msgstr "" + +#: plugins/sudoers/def_data.c:372 +msgid "Log the command's standard error if not connected to a terminal" +msgstr "" + +#: plugins/sudoers/def_data.c:376 +msgid "Log the terminal output of the command being run" +msgstr "" + +#: plugins/sudoers/def_data.c:380 +msgid "Compress I/O logs using zlib" +msgstr "" + +#: plugins/sudoers/def_data.c:384 +msgid "Always run commands in a pseudo-tty" +msgstr "" + +#: plugins/sudoers/def_data.c:388 +#, c-format +msgid "Plugin for non-Unix group support: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:392 +#, c-format +msgid "Directory in which to store input/output logs: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:396 +#, c-format +msgid "File in which to store the input/output log: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:400 +msgid "Add an entry to the utmp/utmpx file when allocating a pty" +msgstr "" + +#: plugins/sudoers/def_data.c:404 +msgid "Set the user in utmp to the runas user, not the invoking user" +msgstr "" + +#: plugins/sudoers/def_data.c:408 +#, c-format +msgid "Set of permitted privileges: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:412 +#, c-format +msgid "Set of limit privileges: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:416 +msgid "Run commands on a pty in the background" +msgstr "" + +#: plugins/sudoers/def_data.c:420 +#, c-format +msgid "PAM service name to use: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:424 +#, c-format +msgid "PAM service name to use for login shells: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:428 +#, c-format +msgid "PAM service name to use when sudo is run with the -A option: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:432 +msgid "Attempt to establish PAM credentials for the target user" +msgstr "" + +#: plugins/sudoers/def_data.c:436 +msgid "Create a new PAM session for the command to run in" +msgstr "" + +#: plugins/sudoers/def_data.c:440 +msgid "Perform PAM account validation management" +msgstr "" + +#: plugins/sudoers/def_data.c:444 +#, c-format +msgid "Maximum I/O log sequence number: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:448 +msgid "Enable sudoers netgroup support" +msgstr "" + +#: plugins/sudoers/def_data.c:452 +msgid "Check parent directories for writability when editing files with sudoedit" +msgstr "" + +#: plugins/sudoers/def_data.c:456 +msgid "Follow symbolic links when editing files with sudoedit" +msgstr "" + +#: plugins/sudoers/def_data.c:460 +msgid "Query the group plugin for unknown system groups" +msgstr "" + +#: plugins/sudoers/def_data.c:464 +msgid "Match netgroups based on the entire tuple: user, host and domain" +msgstr "" + +#: plugins/sudoers/def_data.c:468 +msgid "Allow commands to be run even if sudo cannot write to the audit log" +msgstr "" + +#: plugins/sudoers/def_data.c:472 +msgid "Allow commands to be run even if sudo cannot write to the I/O log" +msgstr "" + +#: plugins/sudoers/def_data.c:476 +msgid "Allow commands to be run even if sudo cannot write to the log file" +msgstr "" + +#: plugins/sudoers/def_data.c:480 +msgid "Resolve groups in sudoers and match on the group ID, not the name" +msgstr "" + +#: plugins/sudoers/def_data.c:484 +#, c-format +msgid "Log entries larger than this value will be split into multiple syslog messages: %u" +msgstr "" + +#: plugins/sudoers/def_data.c:488 +#, c-format +msgid "User that will own the I/O log files: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:492 +#, c-format +msgid "Group that will own the I/O log files: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:496 +#, c-format +msgid "File mode to use for the I/O log files: 0%o" +msgstr "" + +#: plugins/sudoers/def_data.c:500 +#, c-format +msgid "Execute commands by file descriptor instead of by path: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:504 +msgid "Ignore unknown Defaults entries in sudoers instead of producing a warning" +msgstr "" + +#: plugins/sudoers/def_data.c:508 +#, c-format +msgid "Time in seconds after which the command will be terminated: %u" +msgstr "" + +#: plugins/sudoers/def_data.c:512 +msgid "Allow the user to specify a timeout on the command line" +msgstr "" + +#: plugins/sudoers/def_data.c:516 +msgid "Flush I/O log data to disk immediately instead of buffering it" +msgstr "" + +#: plugins/sudoers/def_data.c:520 +msgid "Include the process ID when logging via syslog" +msgstr "" + +#: plugins/sudoers/def_data.c:524 +#, fuzzy, c-format +#| msgid "no authentication methods" +msgid "Type of authentication timestamp record: %s" +msgstr "методы аутентификации отсутствуют" + +#: plugins/sudoers/def_data.c:528 +#, fuzzy, c-format +#| msgid "Authentication methods:" +msgid "Authentication failure message: %s" +msgstr "Методы аутентификации:" + +#: plugins/sudoers/def_data.c:532 +msgid "Ignore case when matching user names" +msgstr "" + +#: plugins/sudoers/def_data.c:536 +msgid "Ignore case when matching group names" +msgstr "" + +#: plugins/sudoers/def_data.c:540 +msgid "Log when a command is allowed by sudoers" +msgstr "" + +#: plugins/sudoers/def_data.c:544 +msgid "Log when a command is denied by sudoers" +msgstr "" + +#: plugins/sudoers/def_data.c:548 +msgid "Sudo log server(s) to connect to with optional port" +msgstr "" + +#: plugins/sudoers/def_data.c:552 +#, c-format +msgid "Sudo log server timeout in seconds: %u" +msgstr "" + +#: plugins/sudoers/def_data.c:556 +msgid "Enable SO_KEEPALIVE socket option on the socket connected to the logserver" +msgstr "" + +#: plugins/sudoers/def_data.c:560 +#, c-format +msgid "Path to the audit server's CA bundle file: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:564 +#, c-format +msgid "Path to the sudoers certificate file: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:568 +#, c-format +msgid "Path to the sudoers private key file: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:572 +msgid "Verify that the log server's certificate is valid" +msgstr "" + +#: plugins/sudoers/def_data.c:576 +msgid "Allow the use of unknown runas user and/or group ID" +msgstr "" + +#: plugins/sudoers/def_data.c:580 +msgid "Only permit running commands as a user with a valid shell" +msgstr "" + +#: plugins/sudoers/def_data.c:584 +msgid "Set the pam remote user to the user running sudo" +msgstr "" + +#: plugins/sudoers/def_data.c:588 +msgid "Set the pam remote host to the local host name" +msgstr "" + +#: plugins/sudoers/def_data.c:592 +#, c-format +msgid "Working directory to change to before executing the command: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:596 +#, c-format +msgid "Root directory to change to before executing the command: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:600 +#, c-format +msgid "The format of logs to produce: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:604 +msgid "Enable SELinux RBAC support" +msgstr "" + +#: plugins/sudoers/def_data.c:608 +#, c-format +msgid "Path to the file that is created the first time sudo is run: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:612 +msgid "Intercept further commands and apply sudoers restrictions to them" +msgstr "" + +#: plugins/sudoers/def_data.c:616 +msgid "Log sub-commands run by the original command" +msgstr "" + +#: plugins/sudoers/def_data.c:620 +msgid "Log the exit status of commands" +msgstr "" + +#: plugins/sudoers/def_data.c:624 +msgid "Subsequent commands in an intercepted session must be authenticated" +msgstr "" + +#: plugins/sudoers/def_data.c:628 +msgid "Allow an intercepted command to run set setuid or setgid programs" +msgstr "" + +#: plugins/sudoers/def_data.c:632 +#, c-format +msgid "The maximum size to which the process's address space may grow (in bytes): %s" +msgstr "" + +#: plugins/sudoers/def_data.c:636 +#, c-format +msgid "The largest size core dump file that may be created (in bytes): %s" +msgstr "" + +#: plugins/sudoers/def_data.c:640 +#, c-format +msgid "The maximum amount of CPU time that the process may use (in seconds): %s" +msgstr "" + +#: plugins/sudoers/def_data.c:644 +#, c-format +msgid "The maximum size of the data segment for the process (in bytes): %s" +msgstr "" + +#: plugins/sudoers/def_data.c:648 +#, c-format +msgid "The largest size file that the process may create (in bytes): %s" +msgstr "" + +#: plugins/sudoers/def_data.c:652 +#, c-format +msgid "The maximum number of locks that the process may establish: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:656 +#, c-format +msgid "The maximum size that the process may lock in memory (in bytes): %s" +msgstr "" + +#: plugins/sudoers/def_data.c:660 +#, c-format +msgid "The maximum number of files that the process may have open: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:664 +#, c-format +msgid "The maximum number of processes that the user may run simultaneously: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:668 +#, c-format +msgid "The maximum size to which the process's resident set size may grow (in bytes): %s" +msgstr "" + +#: plugins/sudoers/def_data.c:672 +#, c-format +msgid "The maximum size to which the process's stack may grow (in bytes): %s" +msgstr "" + +#: plugins/sudoers/def_data.c:676 +msgid "Attempt authentication even when in non-interactive mode" +msgstr "" + +#: plugins/sudoers/def_data.c:680 +msgid "Store plaintext passwords in I/O log input" +msgstr "" + +#: plugins/sudoers/def_data.c:684 +msgid "List of regular expressions to use when matching a password prompt" +msgstr "" + +#: plugins/sudoers/def_data.c:688 +#, c-format +msgid "The mechanism used by the intercept and log_subcmds options: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:692 +msgid "Attempt to verify the command and arguments after execution" +msgstr "" + +#: plugins/sudoers/def_data.c:696 +#, c-format +msgid "AppArmor profile to use in the new security context: %s" +msgstr "" + +#: plugins/sudoers/defaults.c:191 +#, fuzzy, c-format +#| msgid "unknown user: %s" +msgid "unknown defaults entry \"%s\"" +msgstr "неизвестный пользователь: %s" + +#: plugins/sudoers/defaults.c:234 +#, c-format +msgid "no value specified for \"%s\"" +msgstr "" + +#: plugins/sudoers/defaults.c:243 +#, c-format +msgid "invalid operator \"%c=\" for \"%s\"" +msgstr "" + +#: plugins/sudoers/defaults.c:275 +#, c-format +msgid "option \"%s\" does not take a value" +msgstr "" + +#: plugins/sudoers/defaults.c:299 +#, c-format +msgid "invalid Defaults type 0x%x for option \"%s\"" +msgstr "" + +#: plugins/sudoers/defaults.c:306 +#, c-format +msgid "value \"%s\" is invalid for option \"%s\"" +msgstr "" + +#: plugins/sudoers/defaults.c:1128 plugins/sudoers/policy.c:208 +#: plugins/sudoers/policy.c:217 +#, c-format +msgid "path name for \"%s\" too long" +msgstr "" + +#: plugins/sudoers/defaults.c:1134 +#, c-format +msgid "values for \"%s\" must start with a '/', '~', or '*'" +msgstr "" + +#: plugins/sudoers/defaults.c:1141 +#, c-format +msgid "values for \"%s\" must start with a '/'" +msgstr "" + +#: plugins/sudoers/env.c:426 +msgid "sudo_putenv: corrupted envp, length mismatch" +msgstr "" + +#: plugins/sudoers/env.c:1109 +msgid "unable to rebuild the environment" +msgstr "не удаётся перестроить среду" + +#: plugins/sudoers/env.c:1183 +#, c-format +msgid "sorry, you are not allowed to set the following environment variables: %s" +msgstr "" + +#: plugins/sudoers/filedigest.c:49 +#, c-format +msgid "unsupported digest type %d for %s" +msgstr "" + +#: plugins/sudoers/filedigest.c:78 +#, c-format +msgid "%s: read error" +msgstr "" + +#: plugins/sudoers/group_plugin.c:169 +#, c-format +msgid "%s must be owned by uid %d" +msgstr "" + +#: plugins/sudoers/group_plugin.c:173 +#, c-format +msgid "%s must only be writable by owner" +msgstr "" + +#: plugins/sudoers/group_plugin.c:185 plugins/sudoers/sssd.c:576 +#, c-format +msgid "unable to load %s: %s" +msgstr "" + +#: plugins/sudoers/group_plugin.c:197 +#, c-format +msgid "unable to find symbol \"group_plugin\" in %s" +msgstr "" + +#: plugins/sudoers/group_plugin.c:202 +#, c-format +msgid "%s: incompatible group plugin major version %d, expected %d" +msgstr "" + +#: plugins/sudoers/interfaces.c:76 plugins/sudoers/interfaces.c:93 +#, fuzzy, c-format +#| msgid "%s: unable to parse '%s': %s" +msgid "unable to parse IP address \"%s\"" +msgstr "%s: не удаётся прочитать '%s': %s" + +#: plugins/sudoers/interfaces.c:81 plugins/sudoers/interfaces.c:98 +#, fuzzy, c-format +#| msgid "%s: unable to parse '%s': %s" +msgid "unable to parse netmask \"%s\"" +msgstr "%s: не удаётся прочитать '%s': %s" + +#: plugins/sudoers/interfaces.c:126 +msgid "Local IP address and netmask pairs:\n" +msgstr "" + +#: plugins/sudoers/iolog.c:685 +#, fuzzy +#| msgid "unable to rebuild the environment" +msgid "unable to update sequence file" +msgstr "не удаётся перестроить среду" + +#: plugins/sudoers/iolog.c:719 plugins/sudoers/iolog.c:909 +#: plugins/sudoers/iolog.c:1071 plugins/sudoers/iolog.c:1078 +#: plugins/sudoers/iolog.c:1199 plugins/sudoers/iolog.c:1206 +#: plugins/sudoers/iolog.c:1305 plugins/sudoers/iolog.c:1312 +#, fuzzy, c-format +#| msgid "unable to open log file: %s: %s" +msgid "unable to write to I/O log file: %s" +msgstr "не удаётся открыть файл журнала: %s: %s" + +#: plugins/sudoers/iolog.c:727 +#, fuzzy, c-format +#| msgid "unable to read the clock" +msgid "unable to create %s/%s" +msgstr "не удаётся прочитать часы" + +#: plugins/sudoers/iolog.c:957 +#, c-format +msgid "%s: internal error, I/O log file for event %d not open" +msgstr "" + +#: plugins/sudoers/iolog.c:1056 plugins/sudoers/iolog.c:1184 +#: plugins/sudoers/iolog.c:1289 plugins/sudoers/timestamp.c:879 +#: plugins/sudoers/timestamp.c:971 plugins/sudoers/visudo.c:552 +#: plugins/sudoers/visudo.c:558 +msgid "unable to read the clock" +msgstr "не удаётся прочитать часы" + +#: plugins/sudoers/iolog.c:1281 plugins/sudoers/log_client.c:1193 +#: plugins/sudoers/log_client.c:1203 plugins/sudoers/log_client.c:1207 +#, c-format +msgid "%s: internal error, invalid signal %d" +msgstr "" + +#: plugins/sudoers/ldap.c:177 plugins/sudoers/ldap_conf.c:292 +msgid "starttls not supported when using ldaps" +msgstr "" + +#: plugins/sudoers/ldap.c:248 +#, c-format +msgid "unable to initialize SSL cert and key db: %s" +msgstr "" + +#: plugins/sudoers/ldap.c:251 +#, c-format +msgid "you must set TLS_CERT in %s to use SSL" +msgstr "" + +#: plugins/sudoers/ldap.c:1712 +#, c-format +msgid "unable to initialize LDAP: %s" +msgstr "не удаётся инициализировать LDAP: %s" + +#: plugins/sudoers/ldap.c:1749 +msgid "start_tls specified but LDAP libs do not support ldap_start_tls_s() or ldap_start_tls_s_np()" +msgstr "указано start_tls, но библиотеки LDAP не поддерживают ldap_start_tls_s() или ldap_start_tls_s_np()" + +#: plugins/sudoers/ldap.c:1886 plugins/sudoers/parse_ldif.c:748 +#, c-format +msgid "invalid sudoOrder attribute: %s" +msgstr "недопустимый атрибут sudoOrder: %s" + +#: plugins/sudoers/ldap_conf.c:200 +#, c-format +msgid "%s: port too large" +msgstr "" + +#: plugins/sudoers/ldap_conf.c:261 +#, c-format +msgid "unsupported LDAP uri type: %s" +msgstr "" + +#: plugins/sudoers/ldap_conf.c:288 +msgid "unable to mix ldap and ldaps URIs" +msgstr "" + +#: plugins/sudoers/ldap_util.c:499 plugins/sudoers/ldap_util.c:506 +#: plugins/sudoers/ldap_util.c:514 plugins/sudoers/ldap_util.c:523 +#: plugins/sudoers/ldap_util.c:531 plugins/sudoers/ldap_util.c:541 +#: plugins/sudoers/ldap_util.c:549 +#, c-format +msgid "duplicate sudoOption: %s%s%s" +msgstr "" + +#: plugins/sudoers/ldap_util.c:568 plugins/sudoers/ldap_util.c:570 +#, fuzzy, c-format +#| msgid "%s: unable to allocate options: %s" +msgid "unable to convert sudoOption: %s%s%s" +msgstr "%s: не удаётся выделить параметры: %s" + +#: plugins/sudoers/linux_audit.c:58 plugins/sudoers/linux_audit.c:60 +msgid "unable to open audit system" +msgstr "не удаётся открыть систему аудита" + +#: plugins/sudoers/linux_audit.c:103 +msgid "unable to send audit message" +msgstr "не удаётся отправить сообщение аудита" + +#: plugins/sudoers/log_client.c:125 plugins/sudoers/log_client.c:412 +#: plugins/sudoers/log_client.c:1440 plugins/sudoers/log_client.c:2056 +msgid "error in event loop" +msgstr "" + +#: plugins/sudoers/log_client.c:205 +#, c-format +msgid "Creation of new SSL_CTX object failed: %s" +msgstr "" + +#: plugins/sudoers/log_client.c:230 +#, c-format +msgid "unable to load certificate authority bundle %s" +msgstr "" + +#: plugins/sudoers/log_client.c:252 +#, fuzzy, c-format +#| msgid "%s: unable to store credential in cache: %s" +msgid "unable to load certificate %s" +msgstr "%s: не удаётся сохранить учётные данные в кэше: %s" + +#: plugins/sudoers/log_client.c:266 +#, fuzzy, c-format +#| msgid "unable to allocate memory" +msgid "unable to load private key %s" +msgstr "не удаётся выделить память" + +#: plugins/sudoers/log_client.c:275 +#, fuzzy, c-format +#| msgid "%s: unable to allocate options: %s" +msgid "Unable to allocate ssl object: %s" +msgstr "%s: не удаётся выделить параметры: %s" + +#: plugins/sudoers/log_client.c:364 plugins/sudoers/log_client.c:369 +#, c-format +msgid "TLS connection to %s:%s failed: %s" +msgstr "" + +#: plugins/sudoers/log_client.c:543 +msgid "TLS initialization was unsuccessful" +msgstr "" + +#: plugins/sudoers/log_client.c:553 +msgid "TLS handshake was unsuccessful" +msgstr "" + +#: plugins/sudoers/log_client.c:1211 +#, c-format +msgid "%s: internal error, invalid exit status %d" +msgstr "" + +#: plugins/sudoers/log_client.c:1740 plugins/sudoers/log_client.c:1764 +#, fuzzy +#| msgid "lost connection to authentication server" +msgid "lost connection to log server" +msgstr "потеряно соединение с сервером аутентификации" + +#: plugins/sudoers/log_client.c:1841 +msgid "missing write buffer" +msgstr "" + +#: plugins/sudoers/log_client.c:1995 +#, fuzzy +#| msgid "unable to connect to authentication server" +msgid "unable to connect to log server" +msgstr "не удаётся связаться с сервером аутентификации" + +#: plugins/sudoers/logging.c:290 +msgid "user NOT in sudoers" +msgstr "" + +#: plugins/sudoers/logging.c:292 +msgid "user NOT authorized on host" +msgstr "" + +#: plugins/sudoers/logging.c:294 +msgid "command not allowed" +msgstr "" + +#: plugins/sudoers/logging.c:315 +#, c-format +msgid "%s is not in the sudoers file.\n" +msgstr "" + +#: plugins/sudoers/logging.c:318 +#, fuzzy, c-format +#| msgid "Send mail if the user is not allowed to run a command" +msgid "%s is not allowed to run sudo on %s.\n" +msgstr "Отправлять письмо, если пользователю не разрешено выполнять команду" + +#: plugins/sudoers/logging.c:321 +#, c-format +msgid "Sorry, user %s may not run sudo on %s.\n" +msgstr "" + +#: plugins/sudoers/logging.c:324 +#, c-format +msgid "Sorry, user %s is not allowed to execute '%s%s%s' as %s%s%s on %s.\n" +msgstr "" + +#: plugins/sudoers/logging.c:334 +msgid "This incident has been reported to the administrator.\n" +msgstr "" + +#: plugins/sudoers/logging.c:365 plugins/sudoers/sudoers.c:648 +#: plugins/sudoers/sudoers.c:650 plugins/sudoers/sudoers.c:652 +#: plugins/sudoers/sudoers.c:654 plugins/sudoers/sudoers.c:805 +#: plugins/sudoers/sudoers.c:807 +#, c-format +msgid "%s: command not found" +msgstr "" + +#: plugins/sudoers/logging.c:367 plugins/sudoers/sudoers.c:644 +#, c-format +msgid "" +"ignoring \"%s\" found in '.'\n" +"Use \"sudo ./%s\" if this is the \"%s\" you wish to run." +msgstr "" + +#: plugins/sudoers/logging.c:387 +#, c-format +msgid "%u incorrect password attempt" +msgid_plural "%u incorrect password attempts" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" + +#: plugins/sudoers/logging.c:477 +msgid "authentication failure" +msgstr "" + +#: plugins/sudoers/logging.c:516 plugins/sudoers/logging.c:535 +msgid "a password is required" +msgstr "" + +#: plugins/sudoers/logging.c:799 plugins/sudoers/logging.c:811 +msgid "problem parsing sudoers" +msgstr "" + +#: plugins/sudoers/logging.c:873 plugins/sudoers/logging.c:885 +#, fuzzy, c-format +#| msgid "%s: %s" +msgid "%s:%d:%d: %s" +msgstr "%s: %s" + +#: plugins/sudoers/logging.c:1062 +#, fuzzy, c-format +#| msgid "unable to open log file: %s: %s" +msgid "unable to write log file: %s" +msgstr "не удаётся открыть файл журнала: %s: %s" + +#: plugins/sudoers/match_digest.c:112 +#, c-format +msgid "digest for %s (%s) bad length %zu, expected %zu" +msgstr "" + +#: plugins/sudoers/match_digest.c:131 +#, c-format +msgid "digest for %s (%s) is not in %s form" +msgstr "" + +#: plugins/sudoers/parse.c:591 +#, c-format +msgid "" +"\n" +"LDAP Role: %s\n" +msgstr "" +"\n" +"Роль LDAP: %s\n" + +#: plugins/sudoers/parse.c:594 +msgid "" +"\n" +"Sudoers entry:\n" +msgstr "" + +#: plugins/sudoers/parse.c:596 +msgid " RunAsUsers: " +msgstr "" + +#: plugins/sudoers/parse.c:611 +msgid " RunAsGroups: " +msgstr "" + +#: plugins/sudoers/parse.c:621 +msgid " Options: " +msgstr "" + +#: plugins/sudoers/parse.c:685 +msgid " Commands:\n" +msgstr " Команды:\n" + +#: plugins/sudoers/parse.c:876 +#, c-format +msgid "Matching Defaults entries for %s on %s:\n" +msgstr "" + +#: plugins/sudoers/parse.c:894 +#, c-format +msgid "Runas and Command-specific defaults for %s:\n" +msgstr "" + +#: plugins/sudoers/parse.c:912 +#, c-format +msgid "User %s may run the following commands on %s:\n" +msgstr "" + +#: plugins/sudoers/parse.c:927 +#, c-format +msgid "User %s is not allowed to run sudo on %s.\n" +msgstr "" + +#: plugins/sudoers/parse_ldif.c:618 +#, c-format +msgid "ignoring incomplete sudoRole: cn: %s" +msgstr "" + +#: plugins/sudoers/parse_ldif.c:678 +#, fuzzy, c-format +#| msgid "invalid sudoOrder attribute: %s" +msgid "invalid LDIF attribute: %s" +msgstr "недопустимый атрибут sudoOrder: %s" + +#: plugins/sudoers/policy.c:81 plugins/sudoers/policy.c:112 +#, c-format +msgid "invalid %.*s set by sudo front-end" +msgstr "" + +#: plugins/sudoers/policy.c:358 plugins/sudoers/testsudoers.c:268 +msgid "unable to parse network address list" +msgstr "" + +#: plugins/sudoers/policy.c:526 +msgid "user name not set by sudo front-end" +msgstr "" + +#: plugins/sudoers/policy.c:530 +msgid "user-ID not set by sudo front-end" +msgstr "" + +#: plugins/sudoers/policy.c:534 +msgid "group-ID not set by sudo front-end" +msgstr "" + +#: plugins/sudoers/policy.c:538 +msgid "host name not set by sudo front-end" +msgstr "" + +#: plugins/sudoers/policy.c:730 +#, fuzzy, c-format +#| msgid "invalid sudoOrder attribute: %s" +msgid "invalid working directory: %s" +msgstr "недопустимый атрибут sudoOrder: %s" + +#: plugins/sudoers/policy.c:914 +#, c-format +msgid "invalid chroot directory: %s" +msgstr "" + +#: plugins/sudoers/policy.c:1101 plugins/sudoers/visudo.c:259 +#: plugins/sudoers/visudo.c:902 +#, c-format +msgid "unable to execute %s" +msgstr "" + +#: plugins/sudoers/policy.c:1171 plugins/sudoers/policy.c:1208 +#: plugins/sudoers/policy.c:1230 plugins/sudoers/policy.c:1256 +#, c-format +msgid "%s: invalid mode flags from sudo front end: 0x%x" +msgstr "" + +#: plugins/sudoers/policy.c:1292 +#, c-format +msgid "Sudoers policy plugin version %s\n" +msgstr "" + +#: plugins/sudoers/policy.c:1294 +#, c-format +msgid "Sudoers file grammar version %d\n" +msgstr "" + +#: plugins/sudoers/policy.c:1298 +#, c-format +msgid "" +"\n" +"Sudoers path: %s\n" +msgstr "" + +#: plugins/sudoers/policy.c:1301 +#, c-format +msgid "nsswitch path: %s\n" +msgstr "" + +#: plugins/sudoers/policy.c:1303 +#, c-format +msgid "ldap.conf path: %s\n" +msgstr "" + +#: plugins/sudoers/policy.c:1304 +#, c-format +msgid "ldap.secret path: %s\n" +msgstr "" + +#: plugins/sudoers/policy.c:1337 +#, c-format +msgid "unable to register hook of type %d (version %d.%d)" +msgstr "" + +#: plugins/sudoers/policy.c:1355 +#, c-format +msgid "unable to deregister hook of type %d (version %d.%d)" +msgstr "" + +#: plugins/sudoers/pwutil.c:222 plugins/sudoers/pwutil.c:240 +#, fuzzy, c-format +#| msgid "unable to contact the SecurID server" +msgid "unable to cache uid %u" +msgstr "не удалось связаться с сервером SecurID" + +#: plugins/sudoers/pwutil.c:234 +#, c-format +msgid "unable to cache uid %u, already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:294 plugins/sudoers/pwutil.c:312 +#: plugins/sudoers/pwutil.c:375 plugins/sudoers/pwutil.c:420 +#, fuzzy, c-format +#| msgid "unable to contact the SecurID server" +msgid "unable to cache user %s" +msgstr "не удалось связаться с сервером SecurID" + +#: plugins/sudoers/pwutil.c:307 +#, c-format +msgid "unable to cache user %s, already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:539 plugins/sudoers/pwutil.c:557 +#, fuzzy, c-format +#| msgid "unable to change expired password: %s" +msgid "unable to cache gid %u" +msgstr "не удаётся сменить устаревший пароль: %s" + +#: plugins/sudoers/pwutil.c:551 +#, c-format +msgid "unable to cache gid %u, already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:605 plugins/sudoers/pwutil.c:623 +#: plugins/sudoers/pwutil.c:684 plugins/sudoers/pwutil.c:733 +#, fuzzy, c-format +#| msgid "%s: unable to allocate options: %s" +msgid "unable to cache group %s" +msgstr "%s: не удаётся выделить параметры: %s" + +#: plugins/sudoers/pwutil.c:618 +#, c-format +msgid "unable to cache group %s, already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:880 plugins/sudoers/pwutil.c:931 +#: plugins/sudoers/pwutil.c:981 plugins/sudoers/pwutil.c:1033 +#, c-format +msgid "unable to cache group list for %s, already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:886 plugins/sudoers/pwutil.c:936 +#: plugins/sudoers/pwutil.c:987 plugins/sudoers/pwutil.c:1038 +#, fuzzy, c-format +#| msgid "unable to get login class for user %s" +msgid "unable to cache group list for %s" +msgstr "не удаётся получить класс логина для пользователя %s" + +#: plugins/sudoers/pwutil.c:925 +#, c-format +msgid "unable to parse groups for %s" +msgstr "" + +#: plugins/sudoers/pwutil.c:1027 +#, fuzzy, c-format +#| msgid "%s: unable to parse '%s': %s" +msgid "unable to parse gids for %s" +msgstr "%s: не удаётся прочитать '%s': %s" + +#: plugins/sudoers/set_perms.c:114 plugins/sudoers/set_perms.c:445 +#: plugins/sudoers/set_perms.c:852 plugins/sudoers/set_perms.c:1162 +#: plugins/sudoers/set_perms.c:1460 +msgid "perm stack overflow" +msgstr "" + +#: plugins/sudoers/set_perms.c:125 plugins/sudoers/set_perms.c:376 +#: plugins/sudoers/set_perms.c:456 plugins/sudoers/set_perms.c:719 +#: plugins/sudoers/set_perms.c:863 plugins/sudoers/set_perms.c:1086 +#: plugins/sudoers/set_perms.c:1173 plugins/sudoers/set_perms.c:1393 +#: plugins/sudoers/set_perms.c:1471 plugins/sudoers/set_perms.c:1562 +msgid "perm stack underflow" +msgstr "" + +#: plugins/sudoers/set_perms.c:185 plugins/sudoers/set_perms.c:503 +#: plugins/sudoers/set_perms.c:1227 plugins/sudoers/set_perms.c:1505 +msgid "unable to change to root gid" +msgstr "" + +#: plugins/sudoers/set_perms.c:276 plugins/sudoers/set_perms.c:600 +#: plugins/sudoers/set_perms.c:995 plugins/sudoers/set_perms.c:1304 +msgid "unable to change to runas gid" +msgstr "" + +#: plugins/sudoers/set_perms.c:281 plugins/sudoers/set_perms.c:605 +#: plugins/sudoers/set_perms.c:1000 plugins/sudoers/set_perms.c:1309 +msgid "unable to set runas group vector" +msgstr "" + +#: plugins/sudoers/set_perms.c:292 plugins/sudoers/set_perms.c:616 +#: plugins/sudoers/set_perms.c:1009 plugins/sudoers/set_perms.c:1318 +msgid "unable to change to runas uid" +msgstr "" + +#: plugins/sudoers/set_perms.c:310 plugins/sudoers/set_perms.c:634 +#: plugins/sudoers/set_perms.c:1025 plugins/sudoers/set_perms.c:1334 +msgid "unable to change to sudoers gid" +msgstr "" + +#: plugins/sudoers/set_perms.c:363 plugins/sudoers/set_perms.c:706 +#: plugins/sudoers/set_perms.c:1073 plugins/sudoers/set_perms.c:1380 +#: plugins/sudoers/set_perms.c:1549 +msgid "too many processes" +msgstr "" + +#: plugins/sudoers/solaris_audit.c:61 +msgid "unable to get current working directory" +msgstr "" + +#: plugins/sudoers/solaris_audit.c:69 +#, c-format +msgid "truncated audit path user_cmnd: %s" +msgstr "" + +#: plugins/sudoers/solaris_audit.c:76 +#, c-format +msgid "truncated audit path argv[0]: %s" +msgstr "" + +#: plugins/sudoers/sssd.c:579 +msgid "unable to initialize SSS source. Is SSSD installed on your machine?" +msgstr "" + +#: plugins/sudoers/sssd.c:587 plugins/sudoers/sssd.c:596 +#: plugins/sudoers/sssd.c:605 plugins/sudoers/sssd.c:614 +#: plugins/sudoers/sssd.c:623 +#, c-format +msgid "unable to find symbol \"%s\" in %s" +msgstr "" + +#: plugins/sudoers/sudoers.c:263 +#, fuzzy, c-format +#| msgid "%s: unable to get credentials: %s" +msgid "unable to get defaults from %s" +msgstr "%s: не удаётся получить учётные данные: %s" + +#: plugins/sudoers/sudoers.c:270 +msgid "no valid sudoers sources found, quitting" +msgstr "" + +#: plugins/sudoers/sudoers.c:346 +#, c-format +msgid "user not allowed to change root directory to %s" +msgstr "" + +#: plugins/sudoers/sudoers.c:348 +#, c-format +msgid "you are not permitted to use the -R option with %s" +msgstr "" + +#: plugins/sudoers/sudoers.c:373 +#, fuzzy, c-format +#| msgid "unable to change expired password: %s" +msgid "user not allowed to change directory to %s" +msgstr "не удаётся сменить устаревший пароль: %s" + +#: plugins/sudoers/sudoers.c:374 +#, c-format +msgid "you are not permitted to use the -D option with %s" +msgstr "" + +#: plugins/sudoers/sudoers.c:401 +msgid "no command specified" +msgstr "" + +#: plugins/sudoers/sudoers.c:426 +msgid "sudoers specifies that root is not allowed to sudo" +msgstr "" + +#: plugins/sudoers/sudoers.c:476 +msgid "user not allowed to override closefrom limit" +msgstr "" + +#: plugins/sudoers/sudoers.c:477 +msgid "you are not permitted to use the -C option" +msgstr "" + +#: plugins/sudoers/sudoers.c:537 +#, c-format +msgid "timestamp owner (%s): No such user" +msgstr "" + +#: plugins/sudoers/sudoers.c:552 +msgid "no tty" +msgstr "" + +#: plugins/sudoers/sudoers.c:553 +msgid "sorry, you must have a tty to run sudo" +msgstr "" + +#: plugins/sudoers/sudoers.c:560 +#, fuzzy, c-format +#| msgid "invalid sudoOrder attribute: %s" +msgid "invalid shell for user %s: %s" +msgstr "недопустимый атрибут sudoOrder: %s" + +#: plugins/sudoers/sudoers.c:643 +msgid "command in current directory" +msgstr "" + +#: plugins/sudoers/sudoers.c:658 +msgid "\"cd\" is a shell built-in command, it cannot be run directly." +msgstr "" + +#: plugins/sudoers/sudoers.c:660 +msgid "the -s option may be used to run a privileged shell." +msgstr "" + +#: plugins/sudoers/sudoers.c:662 +msgid "the -D option may be used to run a command in a specific directory." +msgstr "" + +#: plugins/sudoers/sudoers.c:671 +#, fuzzy +#| msgid "Send mail if the user is not allowed to run a command" +msgid "user not allowed to set a command timeout" +msgstr "Отправлять письмо, если пользователю не разрешено выполнять команду" + +#: plugins/sudoers/sudoers.c:673 +msgid "sorry, you are not allowed set a command timeout" +msgstr "" + +#: plugins/sudoers/sudoers.c:681 +#, fuzzy +#| msgid "unable to rebuild the environment" +msgid "user not allowed to preserve the environment" +msgstr "не удаётся перестроить среду" + +#: plugins/sudoers/sudoers.c:683 +msgid "sorry, you are not allowed to preserve the environment" +msgstr "" + +#: plugins/sudoers/sudoers.c:1073 +msgid "sudoedit doesn't need to be run via sudo" +msgstr "" + +#: plugins/sudoers/sudoers.c:1118 plugins/sudoers/sudoreplay.c:1584 +#: plugins/sudoers/tsdump.c:138 +#, c-format +msgid "unable to read %s" +msgstr "" + +#: plugins/sudoers/sudoers.c:1147 plugins/sudoers/visudo.c:1064 +#, c-format +msgid "%s is not a regular file" +msgstr "" + +#: plugins/sudoers/sudoers.c:1151 plugins/sudoers/timestamp.c:263 toke.l:1247 +#, c-format +msgid "%s is owned by uid %u, should be %u" +msgstr "" + +#: plugins/sudoers/sudoers.c:1155 plugins/sudoers/timestamp.c:270 toke.l:1252 +#, c-format +msgid "%s is world writable" +msgstr "" + +#: plugins/sudoers/sudoers.c:1159 plugins/sudoers/timestamp.c:275 toke.l:1255 +#, c-format +msgid "%s is owned by gid %u, should be %u" +msgstr "" + +#: plugins/sudoers/sudoers.c:1194 +#, c-format +msgid "only root can use \"-c %s\"" +msgstr "" + +#: plugins/sudoers/sudoers.c:1213 +#, fuzzy, c-format +#| msgid "unknown user: %s" +msgid "unknown login class %s" +msgstr "неизвестный пользователь: %s" + +#: plugins/sudoers/sudoers.c:1300 plugins/sudoers/sudoers.c:1315 +#, c-format +msgid "unable to resolve host %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:259 +#, c-format +msgid "invalid filter option: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:275 +#, c-format +msgid "invalid max wait: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:298 +#, c-format +msgid "invalid speed factor: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:333 +#, c-format +msgid "invalid time offset %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:342 +#, c-format +msgid "%s/%.2s/%.2s/%.2s: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:347 +#, fuzzy, c-format +#| msgid "%s: %s" +msgid "%s/timing: %s" +msgstr "%s: %s" + +#: plugins/sudoers/sudoreplay.c:375 +#, c-format +msgid "Replaying sudo session: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:637 +msgid "unable to set tty to raw mode" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:688 +msgid "Warning: your terminal is too small to properly replay the log.\n" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:689 +#, c-format +msgid "Log geometry is %d x %d, your terminal's geometry is %d x %d." +msgstr "" + +#: plugins/sudoers/sudoreplay.c:717 +msgid "Replay finished, press any key to restore the terminal." +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1219 plugins/sudoers/sudoreplay.c:1249 +#, c-format +msgid "ambiguous expression \"%s\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1271 +msgid "unmatched ')' in expression" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1275 +#, c-format +msgid "unknown search term \"%s\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1290 +#, c-format +msgid "%s requires an argument" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1300 +#, c-format +msgid "could not parse date \"%s\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1309 +msgid "unmatched '(' in expression" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1311 +msgid "illegal trailing \"or\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1313 +msgid "illegal trailing \"!\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1371 +#, c-format +msgid "unknown search type %d" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1650 +#, c-format +msgid "usage: %s [-hnRS] [-d dir] [-m num] [-s num] ID\n" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1652 +#, c-format +msgid "usage: %s [-h] [-d dir] -l [search expression]\n" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1666 +#, c-format +msgid "" +"%s - replay sudo session logs\n" +"\n" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1668 +msgid "" +"\n" +"Options:\n" +" -d, --directory=dir specify directory for session logs\n" +" -f, --filter=filter specify which I/O type(s) to display\n" +" -h, --help display help message and exit\n" +" -l, --list list available session IDs, with optional expression\n" +" -m, --max-wait=num max number of seconds to wait between events\n" +" -n, --non-interactive no prompts, session is sent to the standard output\n" +" -R, --no-resize do not attempt to re-size the terminal\n" +" -S, --suspend-wait wait while the command was suspended\n" +" -s, --speed=num speed up or slow down output\n" +" -V, --version display version information and exit" +msgstr "" + +#: plugins/sudoers/testsudoers.c:344 +msgid "\thost unmatched" +msgstr "" + +#: plugins/sudoers/testsudoers.c:347 +msgid "" +"\n" +"Command allowed" +msgstr "" + +#: plugins/sudoers/testsudoers.c:348 +msgid "" +"\n" +"Command denied" +msgstr "" + +#: plugins/sudoers/testsudoers.c:348 +msgid "" +"\n" +"Command unmatched" +msgstr "" + +#: plugins/sudoers/timestamp.c:354 plugins/sudoers/timestamp.c:693 +#, c-format +msgid "unable to truncate time stamp file to %lld bytes" +msgstr "" + +#: plugins/sudoers/timestamp.c:890 +msgid "ignoring time stamp from the future" +msgstr "" + +#: plugins/sudoers/timestamp.c:913 +#, c-format +msgid "time stamp too far in the future: %20.20s" +msgstr "" + +#: plugins/sudoers/timestamp.c:1042 +#, fuzzy, c-format +#| msgid "unable to lock log file: %s: %s" +msgid "unable to lock time stamp file %s" +msgstr "не удаётся заблокировать файл журнала: %s: %s" + +#: plugins/sudoers/toke_util.c:156 +msgid "sudoedit should not be specified with a path" +msgstr "" + +#: plugins/sudoers/visudo.c:254 +msgid "the -x option will be removed in a future release" +msgstr "" + +#: plugins/sudoers/visudo.c:256 +msgid "please consider using the cvtsudoers utility instead" +msgstr "" + +#: plugins/sudoers/visudo.c:311 plugins/sudoers/visudo.c:698 +#, c-format +msgid "press return to edit %s: " +msgstr "" + +#: plugins/sudoers/visudo.c:326 +#, c-format +msgid "contents of edit session left in %s" +msgstr "" + +#: plugins/sudoers/visudo.c:402 +#, c-format +msgid "specified editor (%s) doesn't exist" +msgstr "" + +#: plugins/sudoers/visudo.c:404 +#, c-format +msgid "no editor found (editor path = %s)" +msgstr "" + +#: plugins/sudoers/visudo.c:491 plugins/sudoers/visudo.c:770 +#, c-format +msgid "unable to stat %s" +msgstr "" + +#: plugins/sudoers/visudo.c:511 plugins/sudoers/visudo.c:519 +msgid "write error" +msgstr "" + +#: plugins/sudoers/visudo.c:565 +#, c-format +msgid "unable to stat temporary file (%s), %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:572 +#, c-format +msgid "zero length temporary file (%s), %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:578 +#, c-format +msgid "editor (%s) failed, %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:600 +#, c-format +msgid "%s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:645 +#, c-format +msgid "unable to re-open temporary file (%s), %s unchanged." +msgstr "" + +#: plugins/sudoers/visudo.c:658 +#, c-format +msgid "unable to parse temporary file (%s), unknown error" +msgstr "" + +#: plugins/sudoers/visudo.c:744 plugins/sudoers/visudo.c:774 +#: plugins/sudoers/visudo.c:781 +#, c-format +msgid "unable to set (uid, gid) of %s to (%u, %u)" +msgstr "" + +#: plugins/sudoers/visudo.c:809 +#, c-format +msgid "%s and %s not on the same file system, using mv to rename" +msgstr "" + +#: plugins/sudoers/visudo.c:820 +#, c-format +msgid "command failed: '%s %s %s', %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:827 +#, c-format +msgid "error renaming %s, %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:847 +msgid "What now? " +msgstr "" + +#: plugins/sudoers/visudo.c:861 +msgid "" +"Options are:\n" +" (e)dit sudoers file again\n" +" e(x)it without saving changes to sudoers file\n" +" (Q)uit and save changes to sudoers file (DANGER!)\n" +msgstr "" + +#: plugins/sudoers/visudo.c:907 +#, c-format +msgid "unable to run %s" +msgstr "" + +#: plugins/sudoers/visudo.c:938 +#, c-format +msgid "%s: wrong owner (uid, gid) should be (%u, %u)\n" +msgstr "" + +#: plugins/sudoers/visudo.c:949 +#, c-format +msgid "%s: bad permissions, should be mode 0%o\n" +msgstr "" + +#: plugins/sudoers/visudo.c:997 plugins/sudoers/visudo.c:1004 +#, c-format +msgid "%s: parsed OK\n" +msgstr "" + +#: plugins/sudoers/visudo.c:1023 +#, c-format +msgid "%s busy, try again later" +msgstr "" + +#: plugins/sudoers/visudo.c:1027 +msgid "Edit anyway? [y/N]" +msgstr "" + +#: plugins/sudoers/visudo.c:1128 +#, c-format +msgid "Warning: %s:%d:%d: unused %s \"%s\"" +msgstr "" + +#: plugins/sudoers/visudo.c:1240 +#, c-format +msgid "" +"%s - safely edit the sudoers file\n" +"\n" +msgstr "" + +#: plugins/sudoers/visudo.c:1242 +msgid "" +"\n" +"Options:\n" +" -c, --check check-only mode\n" +" -f, --file=sudoers specify sudoers file location\n" +" -h, --help display help message and exit\n" +" -I, --no-includes do not edit include files\n" +" -q, --quiet less verbose (quiet) syntax error messages\n" +" -s, --strict strict syntax checking\n" +" -V, --version display version information and exit\n" +msgstr "" + +#: toke.l:189 +msgid "empty string" +msgstr "" + +#: toke.l:201 toke.l:571 +msgid "empty group" +msgstr "" + +#: toke.l:211 toke.l:569 +msgid "empty netgroup" +msgstr "" + +#: toke.l:289 +msgid "unterminated regular expression" +msgstr "" + +#: toke.l:363 toke.l:375 toke.l:387 toke.l:403 toke.l:422 toke.l:462 +#, fuzzy +#| msgid "invalid authentication type" +msgid "invalid line continuation" +msgstr "некорректный тип аутентификации" + +#: toke.l:608 toke.l:620 +msgid "invalid IPv6 address" +msgstr "" + +#: toke.l:868 +msgid "unexpected line break in string" +msgstr "" + +#: toke.l:1218 +msgid "too many levels of includes" +msgstr "слишком много уровней включения" + +#~ msgid "" +#~ "\n" +#~ "LDAP Role: UNKNOWN\n" +#~ msgstr "" +#~ "\n" +#~ "Роль LDAP: НЕИЗВЕСТНО\n" + +#~ msgid " Order: %s\n" +#~ msgstr " Порядок: %s\n" diff --git a/plugins/sudoers/po/sk.mo b/plugins/sudoers/po/sk.mo new file mode 100644 index 0000000..ec67774 Binary files /dev/null and b/plugins/sudoers/po/sk.mo differ diff --git a/plugins/sudoers/po/sk.po b/plugins/sudoers/po/sk.po new file mode 100644 index 0000000..396072f --- /dev/null +++ b/plugins/sudoers/po/sk.po @@ -0,0 +1,1892 @@ +# Portable object template file for the sudoers plugin +# This file is put in the public domain. +# Todd C. Miller , 2011-2015 +# Dušan Kazik , 2015 +# +msgid "" +msgstr "" +"Project-Id-Version: sudoers 1.8.15b1\n" +"Report-Msgid-Bugs-To: http://www.sudo.ws/bugs\n" +"POT-Creation-Date: 2015-09-10 14:28-0600\n" +"PO-Revision-Date: 2015-10-05 13:26+0200\n" +"Last-Translator: Dušan Kazik \n" +"Language-Team: Slovak \n" +"Language: sk\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" +"X-Generator: Poedit 1.8.5\n" +"X-Poedit-Basepath: .\n" +"X-Poedit-SearchPath-0: .\n" + +#: confstr.sh:1 +msgid "syntax error" +msgstr "chyba syntaxe" + +#: confstr.sh:2 +msgid "%p's password: " +msgstr "Heslo používateľa %p: " + +#: confstr.sh:3 +msgid "[sudo] password for %p: " +msgstr "[sudo] heslo pre používateľa %p: " + +#: confstr.sh:4 +msgid "Password: " +msgstr "Heslo: " + +#: confstr.sh:5 +msgid "*** SECURITY information for %h ***" +msgstr "*** BEZPEČNOSTNÉ informácie pre %h ***" + +#: confstr.sh:6 +msgid "Sorry, try again." +msgstr "Prepáčte, skúste to znovu." + +#: gram.y:183 gram.y:201 gram.y:207 gram.y:213 gram.y:219 gram.y:225 +#: gram.y:241 gram.y:248 gram.y:255 gram.y:262 gram.y:269 gram.y:285 +#: gram.y:308 gram.y:315 gram.y:322 gram.y:329 gram.y:336 gram.y:391 +#: gram.y:399 gram.y:409 gram.y:439 gram.y:446 gram.y:453 gram.y:460 +#: gram.y:572 gram.y:579 gram.y:588 gram.y:597 gram.y:614 gram.y:670 +#: gram.y:677 gram.y:684 gram.y:692 gram.y:784 gram.y:791 gram.y:798 +#: gram.y:805 gram.y:812 gram.y:838 gram.y:845 gram.y:852 gram.y:1136 +#: gram.y:1143 plugins/sudoers/alias.c:123 plugins/sudoers/alias.c:136 +#: plugins/sudoers/auth/bsdauth.c:141 plugins/sudoers/auth/kerb5.c:119 +#: plugins/sudoers/auth/kerb5.c:145 plugins/sudoers/auth/pam.c:397 +#: plugins/sudoers/auth/pam.c:445 plugins/sudoers/auth/rfc1938.c:109 +#: plugins/sudoers/auth/sia.c:110 plugins/sudoers/defaults.c:516 +#: plugins/sudoers/defaults.c:720 plugins/sudoers/defaults.c:880 +#: plugins/sudoers/editor.c:64 plugins/sudoers/editor.c:82 +#: plugins/sudoers/editor.c:92 plugins/sudoers/env.c:233 +#: plugins/sudoers/group_plugin.c:133 plugins/sudoers/iolog.c:586 +#: plugins/sudoers/iolog.c:618 plugins/sudoers/iolog_path.c:167 +#: plugins/sudoers/ldap.c:446 plugins/sudoers/ldap.c:477 +#: plugins/sudoers/ldap.c:529 plugins/sudoers/ldap.c:562 +#: plugins/sudoers/ldap.c:914 plugins/sudoers/ldap.c:1061 +#: plugins/sudoers/ldap.c:1348 plugins/sudoers/ldap.c:1521 +#: plugins/sudoers/ldap.c:1597 plugins/sudoers/ldap.c:1733 +#: plugins/sudoers/ldap.c:1757 plugins/sudoers/ldap.c:1787 +#: plugins/sudoers/ldap.c:1840 plugins/sudoers/ldap.c:1855 +#: plugins/sudoers/ldap.c:1951 plugins/sudoers/ldap.c:1984 +#: plugins/sudoers/ldap.c:2137 plugins/sudoers/ldap.c:2234 +#: plugins/sudoers/ldap.c:3041 plugins/sudoers/ldap.c:3074 +#: plugins/sudoers/ldap.c:3388 plugins/sudoers/ldap.c:3416 +#: plugins/sudoers/ldap.c:3427 plugins/sudoers/ldap.c:3517 +#: plugins/sudoers/ldap.c:3533 plugins/sudoers/linux_audit.c:76 +#: plugins/sudoers/logging.c:188 plugins/sudoers/logging.c:662 +#: plugins/sudoers/logging.c:916 plugins/sudoers/match.c:501 +#: plugins/sudoers/match.c:537 plugins/sudoers/match.c:699 +#: plugins/sudoers/match.c:756 plugins/sudoers/parse.c:235 +#: plugins/sudoers/parse.c:247 plugins/sudoers/parse.c:262 +#: plugins/sudoers/parse.c:274 plugins/sudoers/policy.c:384 +#: plugins/sudoers/policy.c:579 plugins/sudoers/prompt.c:93 +#: plugins/sudoers/sssd.c:160 plugins/sudoers/sssd.c:192 +#: plugins/sudoers/sssd.c:235 plugins/sudoers/sssd.c:242 +#: plugins/sudoers/sssd.c:278 plugins/sudoers/sssd.c:323 +#: plugins/sudoers/sssd.c:917 plugins/sudoers/sssd.c:1050 +#: plugins/sudoers/sudoers.c:159 plugins/sudoers/sudoers.c:294 +#: plugins/sudoers/sudoers.c:304 plugins/sudoers/sudoers.c:312 +#: plugins/sudoers/sudoers.c:365 plugins/sudoers/sudoers.c:663 +#: plugins/sudoers/sudoers.c:749 plugins/sudoers/sudoers.c:793 +#: plugins/sudoers/sudoers_debug.c:107 plugins/sudoers/sudoreplay.c:472 +#: plugins/sudoers/sudoreplay.c:668 plugins/sudoers/sudoreplay.c:780 +#: plugins/sudoers/sudoreplay.c:820 plugins/sudoers/sudoreplay.c:829 +#: plugins/sudoers/sudoreplay.c:839 plugins/sudoers/sudoreplay.c:847 +#: plugins/sudoers/sudoreplay.c:851 plugins/sudoers/sudoreplay.c:1007 +#: plugins/sudoers/sudoreplay.c:1011 plugins/sudoers/testsudoers.c:130 +#: plugins/sudoers/testsudoers.c:188 plugins/sudoers/testsudoers.c:215 +#: plugins/sudoers/testsudoers.c:232 plugins/sudoers/timestamp.c:390 +#: plugins/sudoers/timestamp.c:426 plugins/sudoers/timestamp.c:838 +#: plugins/sudoers/toke_util.c:56 plugins/sudoers/toke_util.c:109 +#: plugins/sudoers/toke_util.c:147 plugins/sudoers/visudo.c:152 +#: plugins/sudoers/visudo.c:213 plugins/sudoers/visudo.c:297 +#: plugins/sudoers/visudo.c:303 plugins/sudoers/visudo.c:433 +#: plugins/sudoers/visudo.c:974 plugins/sudoers/visudo.c:1018 +#: plugins/sudoers/visudo.c:1114 toke.l:785 toke.l:806 toke.l:816 toke.l:924 +#: toke.l:1082 +msgid "unable to allocate memory" +msgstr "nie je možné alokovať pamäť" + +#: gram.y:471 +msgid "a digest requires a path name" +msgstr "" + +#: gram.y:1136 gram.y:1143 plugins/sudoers/auth/pam.c:397 +#: plugins/sudoers/auth/pam.c:445 plugins/sudoers/auth/rfc1938.c:109 +#: plugins/sudoers/defaults.c:516 plugins/sudoers/defaults.c:720 +#: plugins/sudoers/defaults.c:880 plugins/sudoers/editor.c:64 +#: plugins/sudoers/editor.c:82 plugins/sudoers/editor.c:92 +#: plugins/sudoers/env.c:233 plugins/sudoers/group_plugin.c:133 +#: plugins/sudoers/iolog.c:586 plugins/sudoers/iolog.c:618 +#: plugins/sudoers/iolog_path.c:167 plugins/sudoers/ldap.c:446 +#: plugins/sudoers/ldap.c:477 plugins/sudoers/ldap.c:529 +#: plugins/sudoers/ldap.c:562 plugins/sudoers/ldap.c:914 +#: plugins/sudoers/ldap.c:1061 plugins/sudoers/ldap.c:1348 +#: plugins/sudoers/ldap.c:1521 plugins/sudoers/ldap.c:1597 +#: plugins/sudoers/ldap.c:1733 plugins/sudoers/ldap.c:1757 +#: plugins/sudoers/ldap.c:1787 plugins/sudoers/ldap.c:1840 +#: plugins/sudoers/ldap.c:1855 plugins/sudoers/ldap.c:1951 +#: plugins/sudoers/ldap.c:1984 plugins/sudoers/ldap.c:2137 +#: plugins/sudoers/ldap.c:2234 plugins/sudoers/ldap.c:3041 +#: plugins/sudoers/ldap.c:3074 plugins/sudoers/ldap.c:3388 +#: plugins/sudoers/ldap.c:3416 plugins/sudoers/ldap.c:3427 +#: plugins/sudoers/ldap.c:3517 plugins/sudoers/ldap.c:3533 +#: plugins/sudoers/linux_audit.c:76 plugins/sudoers/logging.c:188 +#: plugins/sudoers/logging.c:916 plugins/sudoers/match.c:501 +#: plugins/sudoers/match.c:537 plugins/sudoers/match.c:699 +#: plugins/sudoers/match.c:756 plugins/sudoers/parse.c:235 +#: plugins/sudoers/parse.c:247 plugins/sudoers/parse.c:262 +#: plugins/sudoers/parse.c:274 plugins/sudoers/policy.c:97 +#: plugins/sudoers/policy.c:106 plugins/sudoers/policy.c:115 +#: plugins/sudoers/policy.c:139 plugins/sudoers/policy.c:250 +#: plugins/sudoers/policy.c:271 plugins/sudoers/policy.c:280 +#: plugins/sudoers/policy.c:319 plugins/sudoers/policy.c:329 +#: plugins/sudoers/policy.c:338 plugins/sudoers/policy.c:384 +#: plugins/sudoers/policy.c:579 plugins/sudoers/prompt.c:93 +#: plugins/sudoers/set_perms.c:356 plugins/sudoers/set_perms.c:695 +#: plugins/sudoers/set_perms.c:1054 plugins/sudoers/set_perms.c:1350 +#: plugins/sudoers/set_perms.c:1514 plugins/sudoers/sssd.c:160 +#: plugins/sudoers/sssd.c:192 plugins/sudoers/sssd.c:235 +#: plugins/sudoers/sssd.c:242 plugins/sudoers/sssd.c:278 +#: plugins/sudoers/sssd.c:323 plugins/sudoers/sssd.c:917 +#: plugins/sudoers/sssd.c:1050 plugins/sudoers/sudoers.c:159 +#: plugins/sudoers/sudoers.c:294 plugins/sudoers/sudoers.c:304 +#: plugins/sudoers/sudoers.c:312 plugins/sudoers/sudoers.c:365 +#: plugins/sudoers/sudoers.c:663 plugins/sudoers/sudoers.c:749 +#: plugins/sudoers/sudoers.c:793 plugins/sudoers/sudoers_debug.c:106 +#: plugins/sudoers/sudoreplay.c:472 plugins/sudoers/sudoreplay.c:668 +#: plugins/sudoers/sudoreplay.c:780 plugins/sudoers/sudoreplay.c:820 +#: plugins/sudoers/sudoreplay.c:829 plugins/sudoers/sudoreplay.c:839 +#: plugins/sudoers/sudoreplay.c:847 plugins/sudoers/sudoreplay.c:851 +#: plugins/sudoers/sudoreplay.c:1007 plugins/sudoers/sudoreplay.c:1011 +#: plugins/sudoers/testsudoers.c:130 plugins/sudoers/testsudoers.c:188 +#: plugins/sudoers/testsudoers.c:215 plugins/sudoers/testsudoers.c:232 +#: plugins/sudoers/timestamp.c:390 plugins/sudoers/timestamp.c:426 +#: plugins/sudoers/timestamp.c:838 plugins/sudoers/toke_util.c:56 +#: plugins/sudoers/toke_util.c:109 plugins/sudoers/toke_util.c:147 +#: plugins/sudoers/visudo.c:152 plugins/sudoers/visudo.c:213 +#: plugins/sudoers/visudo.c:297 plugins/sudoers/visudo.c:303 +#: plugins/sudoers/visudo.c:433 plugins/sudoers/visudo.c:974 +#: plugins/sudoers/visudo.c:1018 plugins/sudoers/visudo.c:1114 toke.l:785 +#: toke.l:806 toke.l:816 toke.l:924 toke.l:1082 +#, c-format +msgid "%s: %s" +msgstr "%s: %s" + +#: plugins/sudoers/alias.c:132 +#, c-format +msgid "Alias `%s' already defined" +msgstr "Alias „%s“ už je definovaný" + +#: plugins/sudoers/auth/bsdauth.c:68 +#, c-format +msgid "unable to get login class for user %s" +msgstr "" + +#: plugins/sudoers/auth/bsdauth.c:73 +msgid "unable to begin bsd authentication" +msgstr "" + +#: plugins/sudoers/auth/bsdauth.c:81 +msgid "invalid authentication type" +msgstr "" + +#: plugins/sudoers/auth/bsdauth.c:90 +msgid "unable to initialize BSD authentication" +msgstr "" + +#: plugins/sudoers/auth/fwtk.c:52 +msgid "unable to read fwtk config" +msgstr "" + +#: plugins/sudoers/auth/fwtk.c:57 +msgid "unable to connect to authentication server" +msgstr "" + +#: plugins/sudoers/auth/fwtk.c:63 plugins/sudoers/auth/fwtk.c:87 +#: plugins/sudoers/auth/fwtk.c:120 +msgid "lost connection to authentication server" +msgstr "" + +#: plugins/sudoers/auth/fwtk.c:67 +#, c-format +msgid "" +"authentication server error:\n" +"%s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:111 +#, c-format +msgid "%s: unable to convert principal to string ('%s'): %s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:161 +#, c-format +msgid "%s: unable to parse '%s': %s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:170 +#, c-format +msgid "%s: unable to resolve credential cache: %s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:217 +#, c-format +msgid "%s: unable to allocate options: %s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:232 +#, c-format +msgid "%s: unable to get credentials: %s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:245 +#, c-format +msgid "%s: unable to initialize credential cache: %s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:248 +#, c-format +msgid "%s: unable to store credential in cache: %s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:312 +#, c-format +msgid "%s: unable to get host principal: %s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:326 +#, c-format +msgid "%s: Cannot verify TGT! Possible attack!: %s" +msgstr "" + +#: plugins/sudoers/auth/pam.c:92 +msgid "unable to initialize PAM" +msgstr "" + +#: plugins/sudoers/auth/pam.c:164 +msgid "account validation failure, is your account locked?" +msgstr "" + +#: plugins/sudoers/auth/pam.c:168 +msgid "Account or password is expired, reset your password and try again" +msgstr "" + +#: plugins/sudoers/auth/pam.c:176 +#, c-format +msgid "unable to change expired password: %s" +msgstr "" + +#: plugins/sudoers/auth/pam.c:181 +msgid "Password expired, contact your system administrator" +msgstr "" + +#: plugins/sudoers/auth/pam.c:185 +msgid "Account expired or PAM config lacks an \"account\" section for sudo, contact your system administrator" +msgstr "" + +#: plugins/sudoers/auth/pam.c:199 +#, c-format +msgid "PAM authentication error: %s" +msgstr "" + +#: plugins/sudoers/auth/rfc1938.c:97 plugins/sudoers/visudo.c:218 +#, c-format +msgid "you do not exist in the %s database" +msgstr "" + +#: plugins/sudoers/auth/securid5.c:73 +msgid "failed to initialise the ACE API library" +msgstr "" + +#: plugins/sudoers/auth/securid5.c:99 +msgid "unable to contact the SecurID server" +msgstr "" + +#: plugins/sudoers/auth/securid5.c:108 +msgid "User ID locked for SecurID Authentication" +msgstr "" + +#: plugins/sudoers/auth/securid5.c:112 plugins/sudoers/auth/securid5.c:163 +msgid "invalid username length for SecurID" +msgstr "" + +#: plugins/sudoers/auth/securid5.c:116 plugins/sudoers/auth/securid5.c:168 +msgid "invalid Authentication Handle for SecurID" +msgstr "" + +#: plugins/sudoers/auth/securid5.c:120 +msgid "SecurID communication failed" +msgstr "" + +#: plugins/sudoers/auth/securid5.c:124 plugins/sudoers/auth/securid5.c:207 +msgid "unknown SecurID error" +msgstr "" + +#: plugins/sudoers/auth/securid5.c:158 +msgid "invalid passcode length for SecurID" +msgstr "" + +#: plugins/sudoers/auth/sia.c:120 +msgid "unable to initialize SIA session" +msgstr "" + +#: plugins/sudoers/auth/sudo_auth.c:126 +msgid "invalid authentication methods" +msgstr "" + +#: plugins/sudoers/auth/sudo_auth.c:128 +msgid "Invalid authentication methods compiled into sudo! You may not mix standalone and non-standalone authentication." +msgstr "" + +#: plugins/sudoers/auth/sudo_auth.c:225 plugins/sudoers/auth/sudo_auth.c:274 +msgid "no authentication methods" +msgstr "" + +#: plugins/sudoers/auth/sudo_auth.c:227 +msgid "There are no authentication methods compiled into sudo! If you want to turn off authentication, use the --disable-authentication configure option." +msgstr "" + +#: plugins/sudoers/auth/sudo_auth.c:276 +msgid "Unable to initialize authentication methods." +msgstr "Nie je možné inicializovať spôsoby overenia totožnosti." + +#: plugins/sudoers/auth/sudo_auth.c:435 +msgid "Authentication methods:" +msgstr "Spôsoby overenia totožnosti:" + +#: plugins/sudoers/bsm_audit.c:111 plugins/sudoers/bsm_audit.c:200 +msgid "Could not determine audit condition" +msgstr "" + +#: plugins/sudoers/bsm_audit.c:172 plugins/sudoers/bsm_audit.c:260 +msgid "unable to commit audit record" +msgstr "" + +#: plugins/sudoers/check.c:250 +msgid "" +"\n" +"We trust you have received the usual lecture from the local System\n" +"Administrator. It usually boils down to these three things:\n" +"\n" +" #1) Respect the privacy of others.\n" +" #2) Think before you type.\n" +" #3) With great power comes great responsibility.\n" +"\n" +msgstr "" +"\n" +"Veríme, že ste boli poučený miestnym správcom systému.\n" +"Dodržiavajte tieto tri zásady:\n" +"\n" +" 1.) Rešpektujte súkromie iných.\n" +" 2.) Premýšľajte pred tým, než niečo napíšete.\n" +" 3.) S veľkou mocou prichádza veľká zodpovednosť.\n" +"\n" + +#: plugins/sudoers/check.c:293 plugins/sudoers/check.c:303 +#: plugins/sudoers/sudoers.c:699 plugins/sudoers/sudoers.c:728 +#, c-format +msgid "unknown uid: %u" +msgstr "" + +#: plugins/sudoers/check.c:298 plugins/sudoers/policy.c:751 +#: plugins/sudoers/sudoers.c:1095 plugins/sudoers/testsudoers.c:206 +#: plugins/sudoers/testsudoers.c:361 +#, c-format +msgid "unknown user: %s" +msgstr "neznámy používateľ: %s" + +#: plugins/sudoers/def_data.c:27 +#, c-format +msgid "Syslog facility if syslog is being used for logging: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:31 +#, c-format +msgid "Syslog priority to use when user authenticates successfully: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:35 +#, c-format +msgid "Syslog priority to use when user authenticates unsuccessfully: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:39 +msgid "Put OTP prompt on its own line" +msgstr "" + +#: plugins/sudoers/def_data.c:43 +msgid "Ignore '.' in $PATH" +msgstr "" + +#: plugins/sudoers/def_data.c:47 +msgid "Always send mail when sudo is run" +msgstr "" + +#: plugins/sudoers/def_data.c:51 +msgid "Send mail if user authentication fails" +msgstr "" + +#: plugins/sudoers/def_data.c:55 +msgid "Send mail if the user is not in sudoers" +msgstr "" + +#: plugins/sudoers/def_data.c:59 +msgid "Send mail if the user is not in sudoers for this host" +msgstr "" + +#: plugins/sudoers/def_data.c:63 +msgid "Send mail if the user is not allowed to run a command" +msgstr "" + +#: plugins/sudoers/def_data.c:67 +msgid "Send mail if the user tries to run a command" +msgstr "" + +#: plugins/sudoers/def_data.c:71 +msgid "Use a separate timestamp for each user/tty combo" +msgstr "" + +#: plugins/sudoers/def_data.c:75 +msgid "Lecture user the first time they run sudo" +msgstr "" + +#: plugins/sudoers/def_data.c:79 +#, c-format +msgid "File containing the sudo lecture: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:83 +msgid "Require users to authenticate by default" +msgstr "" + +#: plugins/sudoers/def_data.c:87 +msgid "Root may run sudo" +msgstr "" + +#: plugins/sudoers/def_data.c:91 +msgid "Log the hostname in the (non-syslog) log file" +msgstr "" + +#: plugins/sudoers/def_data.c:95 +msgid "Log the year in the (non-syslog) log file" +msgstr "" + +#: plugins/sudoers/def_data.c:99 +msgid "If sudo is invoked with no arguments, start a shell" +msgstr "" + +#: plugins/sudoers/def_data.c:103 +msgid "Set $HOME to the target user when starting a shell with -s" +msgstr "" + +#: plugins/sudoers/def_data.c:107 +msgid "Always set $HOME to the target user's home directory" +msgstr "" + +#: plugins/sudoers/def_data.c:111 +msgid "Allow some information gathering to give useful error messages" +msgstr "" + +#: plugins/sudoers/def_data.c:115 +msgid "Require fully-qualified hostnames in the sudoers file" +msgstr "" + +#: plugins/sudoers/def_data.c:119 +msgid "Insult the user when they enter an incorrect password" +msgstr "" + +#: plugins/sudoers/def_data.c:123 +msgid "Only allow the user to run sudo if they have a tty" +msgstr "" + +#: plugins/sudoers/def_data.c:127 +msgid "Visudo will honor the EDITOR environment variable" +msgstr "" + +#: plugins/sudoers/def_data.c:131 +msgid "Prompt for root's password, not the users's" +msgstr "" + +#: plugins/sudoers/def_data.c:135 +msgid "Prompt for the runas_default user's password, not the users's" +msgstr "" + +#: plugins/sudoers/def_data.c:139 +msgid "Prompt for the target user's password, not the users's" +msgstr "" + +#: plugins/sudoers/def_data.c:143 +msgid "Apply defaults in the target user's login class if there is one" +msgstr "" + +#: plugins/sudoers/def_data.c:147 +msgid "Set the LOGNAME and USER environment variables" +msgstr "" + +#: plugins/sudoers/def_data.c:151 +msgid "Only set the effective uid to the target user, not the real uid" +msgstr "" + +#: plugins/sudoers/def_data.c:155 +msgid "Don't initialize the group vector to that of the target user" +msgstr "" + +#: plugins/sudoers/def_data.c:159 +#, c-format +msgid "Length at which to wrap log file lines (0 for no wrap): %u" +msgstr "" + +#: plugins/sudoers/def_data.c:163 +#, c-format +msgid "Authentication timestamp timeout: %.1f minutes" +msgstr "" + +#: plugins/sudoers/def_data.c:167 +#, c-format +msgid "Password prompt timeout: %.1f minutes" +msgstr "" + +#: plugins/sudoers/def_data.c:171 +#, c-format +msgid "Number of tries to enter a password: %u" +msgstr "" + +#: plugins/sudoers/def_data.c:175 +#, c-format +msgid "Umask to use or 0777 to use user's: 0%o" +msgstr "" + +#: plugins/sudoers/def_data.c:179 +#, c-format +msgid "Path to log file: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:183 +#, c-format +msgid "Path to mail program: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:187 +#, c-format +msgid "Flags for mail program: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:191 +#, c-format +msgid "Address to send mail to: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:195 +#, c-format +msgid "Address to send mail from: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:199 +#, c-format +msgid "Subject line for mail messages: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:203 +#, c-format +msgid "Incorrect password message: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:207 +#, c-format +msgid "Path to lecture status dir: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:211 +#, c-format +msgid "Path to authentication timestamp dir: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:215 +#, c-format +msgid "Owner of the authentication timestamp dir: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:219 +#, c-format +msgid "Users in this group are exempt from password and PATH requirements: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:223 +#, c-format +msgid "Default password prompt: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:227 +msgid "If set, passprompt will override system prompt in all cases." +msgstr "" + +#: plugins/sudoers/def_data.c:231 +#, c-format +msgid "Default user to run commands as: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:235 +#, c-format +msgid "Value to override user's $PATH with: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:239 +#, c-format +msgid "Path to the editor for use by visudo: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:243 +#, c-format +msgid "When to require a password for 'list' pseudocommand: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:247 +#, c-format +msgid "When to require a password for 'verify' pseudocommand: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:251 +msgid "Preload the dummy exec functions contained in the sudo_noexec library" +msgstr "" + +#: plugins/sudoers/def_data.c:255 +msgid "If LDAP directory is up, do we ignore local sudoers file" +msgstr "" + +#: plugins/sudoers/def_data.c:259 +#, c-format +msgid "File descriptors >= %d will be closed before executing a command" +msgstr "" + +#: plugins/sudoers/def_data.c:263 +msgid "If set, users may override the value of `closefrom' with the -C option" +msgstr "" + +#: plugins/sudoers/def_data.c:267 +msgid "Allow users to set arbitrary environment variables" +msgstr "" + +#: plugins/sudoers/def_data.c:271 +msgid "Reset the environment to a default set of variables" +msgstr "" + +#: plugins/sudoers/def_data.c:275 +msgid "Environment variables to check for sanity:" +msgstr "" + +#: plugins/sudoers/def_data.c:279 +msgid "Environment variables to remove:" +msgstr "" + +#: plugins/sudoers/def_data.c:283 +msgid "Environment variables to preserve:" +msgstr "" + +#: plugins/sudoers/def_data.c:287 +#, c-format +msgid "SELinux role to use in the new security context: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:291 +#, c-format +msgid "SELinux type to use in the new security context: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:295 +#, c-format +msgid "Path to the sudo-specific environment file: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:299 +#, c-format +msgid "Locale to use while parsing sudoers: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:303 +msgid "Allow sudo to prompt for a password even if it would be visible" +msgstr "" + +#: plugins/sudoers/def_data.c:307 +msgid "Provide visual feedback at the password prompt when there is user input" +msgstr "" + +#: plugins/sudoers/def_data.c:311 +msgid "Use faster globbing that is less accurate but does not access the filesystem" +msgstr "" + +#: plugins/sudoers/def_data.c:315 +msgid "The umask specified in sudoers will override the user's, even if it is more permissive" +msgstr "" + +#: plugins/sudoers/def_data.c:319 +msgid "Log user's input for the command being run" +msgstr "" + +#: plugins/sudoers/def_data.c:323 +msgid "Log the output of the command being run" +msgstr "" + +#: plugins/sudoers/def_data.c:327 +msgid "Compress I/O logs using zlib" +msgstr "" + +#: plugins/sudoers/def_data.c:331 +msgid "Always run commands in a pseudo-tty" +msgstr "" + +#: plugins/sudoers/def_data.c:335 +#, c-format +msgid "Plugin for non-Unix group support: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:339 +#, c-format +msgid "Directory in which to store input/output logs: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:343 +#, c-format +msgid "File in which to store the input/output log: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:347 +msgid "Add an entry to the utmp/utmpx file when allocating a pty" +msgstr "" + +#: plugins/sudoers/def_data.c:351 +msgid "Set the user in utmp to the runas user, not the invoking user" +msgstr "" + +#: plugins/sudoers/def_data.c:355 +msgid "Set of permitted privileges" +msgstr "" + +#: plugins/sudoers/def_data.c:359 +msgid "Set of limit privileges" +msgstr "" + +#: plugins/sudoers/def_data.c:363 +msgid "Run commands on a pty in the background" +msgstr "" + +#: plugins/sudoers/def_data.c:367 +msgid "PAM service name to use" +msgstr "" + +#: plugins/sudoers/def_data.c:371 +msgid "PAM service name to use for login shells" +msgstr "" + +#: plugins/sudoers/def_data.c:375 +msgid "Attempt to establish PAM credentials for the target user" +msgstr "" + +#: plugins/sudoers/def_data.c:379 +msgid "Create a new PAM session for the command to run in" +msgstr "" + +#: plugins/sudoers/def_data.c:383 +#, c-format +msgid "Maximum I/O log sequence number: %u" +msgstr "" + +#: plugins/sudoers/def_data.c:387 +msgid "Enable sudoers netgroup support" +msgstr "" + +#: plugins/sudoers/def_data.c:391 +msgid "Follow symbolic links when editing files with sudoedit" +msgstr "" + +#: plugins/sudoers/defaults.c:199 plugins/sudoers/defaults.c:608 +#: plugins/sudoers/visudo_json.c:633 plugins/sudoers/visudo_json.c:668 +#, c-format +msgid "unknown defaults entry `%s'" +msgstr "" + +#: plugins/sudoers/defaults.c:207 plugins/sudoers/defaults.c:217 +#: plugins/sudoers/defaults.c:241 plugins/sudoers/defaults.c:256 +#: plugins/sudoers/defaults.c:269 plugins/sudoers/defaults.c:282 +#: plugins/sudoers/defaults.c:295 plugins/sudoers/defaults.c:315 +#: plugins/sudoers/defaults.c:325 +#, c-format +msgid "value `%s' is invalid for option `%s'" +msgstr "" + +#: plugins/sudoers/defaults.c:210 plugins/sudoers/defaults.c:220 +#: plugins/sudoers/defaults.c:228 plugins/sudoers/defaults.c:251 +#: plugins/sudoers/defaults.c:264 plugins/sudoers/defaults.c:277 +#: plugins/sudoers/defaults.c:290 plugins/sudoers/defaults.c:310 +#: plugins/sudoers/defaults.c:321 +#, c-format +msgid "no value specified for `%s'" +msgstr "" + +#: plugins/sudoers/defaults.c:233 +#, c-format +msgid "values for `%s' must start with a '/'" +msgstr "" + +#: plugins/sudoers/defaults.c:301 +#, c-format +msgid "option `%s' does not take a value" +msgstr "" + +#: plugins/sudoers/env.c:295 plugins/sudoers/env.c:302 +#: plugins/sudoers/env.c:407 plugins/sudoers/ldap.c:450 +#: plugins/sudoers/ldap.c:540 plugins/sudoers/ldap.c:1152 +#: plugins/sudoers/ldap.c:1354 plugins/sudoers/ldap.c:1526 +#: plugins/sudoers/ldap.c:1682 plugins/sudoers/linux_audit.c:82 +#: plugins/sudoers/logging.c:921 plugins/sudoers/policy.c:498 +#: plugins/sudoers/policy.c:507 plugins/sudoers/prompt.c:161 +#: plugins/sudoers/sudoers.c:815 plugins/sudoers/testsudoers.c:236 +#: plugins/sudoers/toke_util.c:160 +#, c-format +msgid "internal error, %s overflow" +msgstr "vnútorná chyba, %s pretečenie" + +#: plugins/sudoers/env.c:376 +msgid "sudo_putenv: corrupted envp, length mismatch" +msgstr "" + +#: plugins/sudoers/env.c:1052 +msgid "unable to rebuild the environment" +msgstr "" + +#: plugins/sudoers/env.c:1126 +#, c-format +msgid "sorry, you are not allowed to set the following environment variables: %s" +msgstr "" + +#: plugins/sudoers/group_plugin.c:85 +#, c-format +msgid "%s must be owned by uid %d" +msgstr "%s musí byť vlastnený identifikátorom uid %d" + +#: plugins/sudoers/group_plugin.c:89 +#, c-format +msgid "%s must only be writable by owner" +msgstr "" + +#: plugins/sudoers/group_plugin.c:97 plugins/sudoers/sssd.c:331 +#, c-format +msgid "unable to load %s: %s" +msgstr "nie je možné načítať %s:%s" + +#: plugins/sudoers/group_plugin.c:103 +#, c-format +msgid "unable to find symbol \"group_plugin\" in %s" +msgstr "" + +#: plugins/sudoers/group_plugin.c:108 +#, c-format +msgid "%s: incompatible group plugin major version %d, expected %d" +msgstr "" + +#: plugins/sudoers/interfaces.c:117 +msgid "Local IP address and netmask pairs:\n" +msgstr "" + +#: plugins/sudoers/iolog.c:92 plugins/sudoers/iolog.c:110 +#: plugins/sudoers/timestamp.c:169 +#, c-format +msgid "%s exists but is not a directory (0%o)" +msgstr "" + +#: plugins/sudoers/iolog.c:103 plugins/sudoers/iolog.c:124 +#: plugins/sudoers/iolog.c:131 plugins/sudoers/timestamp.c:163 +#: plugins/sudoers/timestamp.c:184 +#, c-format +msgid "unable to mkdir %s" +msgstr "" + +#: plugins/sudoers/iolog.c:200 plugins/sudoers/sudoers.c:871 +#: plugins/sudoers/sudoreplay.c:300 plugins/sudoers/sudoreplay.c:769 +#: plugins/sudoers/sudoreplay.c:973 plugins/sudoers/timestamp.c:399 +#: plugins/sudoers/visudo.c:898 plugins/sudoers/visudo_json.c:1012 +#: plugins/sudoers/visudo_json.c:1025 +#, c-format +msgid "unable to open %s" +msgstr "nie je možné otvoriť %s" + +#: plugins/sudoers/iolog.c:241 plugins/sudoers/sudoers.c:875 +#: plugins/sudoers/sudoreplay.c:1084 +#, c-format +msgid "unable to read %s" +msgstr "" + +#: plugins/sudoers/iolog.c:277 plugins/sudoers/sudoreplay.c:550 +#: plugins/sudoers/timestamp.c:298 plugins/sudoers/timestamp.c:301 +#, c-format +msgid "unable to write to %s" +msgstr "nie je možné zapísať do %s" + +#: plugins/sudoers/iolog.c:342 plugins/sudoers/iolog.c:540 +#, c-format +msgid "unable to create %s" +msgstr "" + +#: plugins/sudoers/ldap.c:428 +msgid "sudo_ldap_conf_add_ports: port too large" +msgstr "" + +#: plugins/sudoers/ldap.c:488 +#, c-format +msgid "unsupported LDAP uri type: %s" +msgstr "" + +#: plugins/sudoers/ldap.c:515 +msgid "unable to mix ldap and ldaps URIs" +msgstr "" + +#: plugins/sudoers/ldap.c:519 plugins/sudoers/ldap.c:555 +msgid "starttls not supported when using ldaps" +msgstr "" + +#: plugins/sudoers/ldap.c:626 +#, c-format +msgid "unable to initialize SSL cert and key db: %s" +msgstr "" + +#: plugins/sudoers/ldap.c:629 +#, c-format +msgid "you must set TLS_CERT in %s to use SSL" +msgstr "" + +#: plugins/sudoers/ldap.c:1138 +msgid "unable to get GMT time" +msgstr "" + +#: plugins/sudoers/ldap.c:1144 +msgid "unable to format timestamp" +msgstr "" + +#: plugins/sudoers/ldap.c:1830 +#, c-format +msgid "%s: %s: %s: %s" +msgstr "" + +#: plugins/sudoers/ldap.c:2372 +#, c-format +msgid "" +"\n" +"LDAP Role: %s\n" +msgstr "" + +#: plugins/sudoers/ldap.c:2374 +#, c-format +msgid "" +"\n" +"LDAP Role: UNKNOWN\n" +msgstr "" + +#: plugins/sudoers/ldap.c:2421 +#, c-format +msgid " Order: %s\n" +msgstr "" + +#: plugins/sudoers/ldap.c:2429 plugins/sudoers/parse.c:555 +#: plugins/sudoers/sssd.c:1417 +#, c-format +msgid " Commands:\n" +msgstr "" + +#: plugins/sudoers/ldap.c:2993 +#, c-format +msgid "unable to initialize LDAP: %s" +msgstr "" + +#: plugins/sudoers/ldap.c:3029 +msgid "start_tls specified but LDAP libs do not support ldap_start_tls_s() or ldap_start_tls_s_np()" +msgstr "" + +#: plugins/sudoers/ldap.c:3286 +#, c-format +msgid "invalid sudoOrder attribute: %s" +msgstr "" + +#: plugins/sudoers/linux_audit.c:52 +msgid "unable to open audit system" +msgstr "nie je možné otvoriť systém auditu" + +#: plugins/sudoers/linux_audit.c:93 +msgid "unable to send audit message" +msgstr "nie je možné odoslať správu auditu" + +#: plugins/sudoers/logging.c:106 +#, c-format +msgid "%8s : %s" +msgstr "" + +#: plugins/sudoers/logging.c:134 +#, c-format +msgid "%8s : (command continued) %s" +msgstr "" + +#: plugins/sudoers/logging.c:159 +#, c-format +msgid "unable to open log file: %s: %s" +msgstr "" + +#: plugins/sudoers/logging.c:162 +#, c-format +msgid "unable to lock log file: %s: %s" +msgstr "" + +#: plugins/sudoers/logging.c:211 +msgid "No user or host" +msgstr "" + +#: plugins/sudoers/logging.c:213 +msgid "validation failure" +msgstr "" + +#: plugins/sudoers/logging.c:220 +msgid "user NOT in sudoers" +msgstr "" + +#: plugins/sudoers/logging.c:222 +msgid "user NOT authorized on host" +msgstr "" + +#: plugins/sudoers/logging.c:224 +msgid "command not allowed" +msgstr "" + +#: plugins/sudoers/logging.c:259 +#, c-format +msgid "%s is not in the sudoers file. This incident will be reported.\n" +msgstr "" + +#: plugins/sudoers/logging.c:262 +#, c-format +msgid "%s is not allowed to run sudo on %s. This incident will be reported.\n" +msgstr "" + +#: plugins/sudoers/logging.c:266 +#, c-format +msgid "Sorry, user %s may not run sudo on %s.\n" +msgstr "" + +#: plugins/sudoers/logging.c:269 +#, c-format +msgid "Sorry, user %s is not allowed to execute '%s%s%s' as %s%s%s on %s.\n" +msgstr "" + +#: plugins/sudoers/logging.c:306 plugins/sudoers/sudoers.c:471 +#: plugins/sudoers/sudoers.c:473 plugins/sudoers/sudoers.c:475 +#: plugins/sudoers/sudoers.c:477 plugins/sudoers/sudoers.c:1222 +#: plugins/sudoers/sudoers.c:1224 +#, c-format +msgid "%s: command not found" +msgstr "" + +#: plugins/sudoers/logging.c:308 plugins/sudoers/sudoers.c:467 +#, c-format +msgid "" +"ignoring `%s' found in '.'\n" +"Use `sudo ./%s' if this is the `%s' you wish to run." +msgstr "" + +#: plugins/sudoers/logging.c:325 +msgid "authentication failure" +msgstr "" + +#: plugins/sudoers/logging.c:351 +msgid "a password is required" +msgstr "" + +#: plugins/sudoers/logging.c:422 plugins/sudoers/logging.c:484 +#, c-format +msgid "%u incorrect password attempt" +msgid_plural "%u incorrect password attempts" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" + +#: plugins/sudoers/logging.c:572 +msgid "unable to fork" +msgstr "" + +#: plugins/sudoers/logging.c:580 plugins/sudoers/logging.c:636 +#, c-format +msgid "unable to fork: %m" +msgstr "" + +#: plugins/sudoers/logging.c:626 +#, c-format +msgid "unable to open pipe: %m" +msgstr "" + +#: plugins/sudoers/logging.c:651 +#, c-format +msgid "unable to dup stdin: %m" +msgstr "" + +#: plugins/sudoers/logging.c:689 +#, c-format +msgid "unable to execute %s: %m" +msgstr "" + +#: plugins/sudoers/match.c:606 +#, c-format +msgid "unsupported digest type %d for %s" +msgstr "" + +#: plugins/sudoers/match.c:639 +#, c-format +msgid "%s: read error" +msgstr "" + +#: plugins/sudoers/match.c:653 +#, c-format +msgid "digest for %s (%s) is not in %s form" +msgstr "" + +#: plugins/sudoers/parse.c:114 +#, c-format +msgid "parse error in %s near line %d" +msgstr "" + +#: plugins/sudoers/parse.c:117 +#, c-format +msgid "parse error in %s" +msgstr "" + +#: plugins/sudoers/parse.c:502 +#, c-format +msgid "" +"\n" +"Sudoers entry:\n" +msgstr "" + +#: plugins/sudoers/parse.c:503 +#, c-format +msgid " RunAsUsers: " +msgstr "" + +#: plugins/sudoers/parse.c:517 +#, c-format +msgid " RunAsGroups: " +msgstr "" + +#: plugins/sudoers/parse.c:526 +#, c-format +msgid " Options: " +msgstr "" + +#: plugins/sudoers/policy.c:240 plugins/sudoers/testsudoers.c:253 +msgid "unable to parse network address list" +msgstr "" + +#: plugins/sudoers/policy.c:636 plugins/sudoers/visudo.c:839 +#, c-format +msgid "unable to execute %s" +msgstr "nie je možné vykonať %s" + +#: plugins/sudoers/policy.c:769 +#, c-format +msgid "Sudoers policy plugin version %s\n" +msgstr "" + +#: plugins/sudoers/policy.c:771 +#, c-format +msgid "Sudoers file grammar version %d\n" +msgstr "" + +#: plugins/sudoers/policy.c:775 +#, c-format +msgid "" +"\n" +"Sudoers path: %s\n" +msgstr "" + +#: plugins/sudoers/policy.c:778 +#, c-format +msgid "nsswitch path: %s\n" +msgstr "" + +#: plugins/sudoers/policy.c:780 +#, c-format +msgid "ldap.conf path: %s\n" +msgstr "" + +#: plugins/sudoers/policy.c:781 +#, c-format +msgid "ldap.secret path: %s\n" +msgstr "" + +#: plugins/sudoers/policy.c:814 +#, c-format +msgid "unable to register hook of type %d (version %d.%d)" +msgstr "" + +#: plugins/sudoers/pwutil.c:136 plugins/sudoers/pwutil.c:153 +#, c-format +msgid "unable to cache uid %u, out of memory" +msgstr "" + +#: plugins/sudoers/pwutil.c:147 +#, c-format +msgid "unable to cache uid %u, already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:191 plugins/sudoers/pwutil.c:207 +#: plugins/sudoers/pwutil.c:250 plugins/sudoers/pwutil.c:294 +#, c-format +msgid "unable to cache user %s, out of memory" +msgstr "" + +#: plugins/sudoers/pwutil.c:202 +#, c-format +msgid "unable to cache user %s, already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:427 plugins/sudoers/pwutil.c:444 +#, c-format +msgid "unable to cache gid %u, out of memory" +msgstr "" + +#: plugins/sudoers/pwutil.c:438 +#, c-format +msgid "unable to cache gid %u, already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:476 plugins/sudoers/pwutil.c:492 +#: plugins/sudoers/pwutil.c:524 plugins/sudoers/pwutil.c:565 +#, c-format +msgid "unable to cache group %s, out of memory" +msgstr "" + +#: plugins/sudoers/pwutil.c:487 +#, c-format +msgid "unable to cache group %s, already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:676 plugins/sudoers/pwutil.c:710 +#, c-format +msgid "unable to cache group list for %s, already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:682 plugins/sudoers/pwutil.c:715 +#, c-format +msgid "unable to cache group list for %s, out of memory" +msgstr "" + +#: plugins/sudoers/pwutil.c:705 +#, c-format +msgid "unable to parse groups for %s" +msgstr "" + +#: plugins/sudoers/set_perms.c:113 plugins/sudoers/set_perms.c:438 +#: plugins/sudoers/set_perms.c:841 plugins/sudoers/set_perms.c:1138 +#: plugins/sudoers/set_perms.c:1430 +msgid "perm stack overflow" +msgstr "" + +#: plugins/sudoers/set_perms.c:121 plugins/sudoers/set_perms.c:369 +#: plugins/sudoers/set_perms.c:446 plugins/sudoers/set_perms.c:708 +#: plugins/sudoers/set_perms.c:849 plugins/sudoers/set_perms.c:1067 +#: plugins/sudoers/set_perms.c:1146 plugins/sudoers/set_perms.c:1363 +#: plugins/sudoers/set_perms.c:1438 plugins/sudoers/set_perms.c:1527 +msgid "perm stack underflow" +msgstr "" + +#: plugins/sudoers/set_perms.c:180 plugins/sudoers/set_perms.c:493 +#: plugins/sudoers/set_perms.c:1197 plugins/sudoers/set_perms.c:1470 +msgid "unable to change to root gid" +msgstr "" + +#: plugins/sudoers/set_perms.c:269 plugins/sudoers/set_perms.c:590 +#: plugins/sudoers/set_perms.c:978 plugins/sudoers/set_perms.c:1274 +msgid "unable to change to runas gid" +msgstr "" + +#: plugins/sudoers/set_perms.c:274 plugins/sudoers/set_perms.c:595 +#: plugins/sudoers/set_perms.c:983 plugins/sudoers/set_perms.c:1279 +msgid "unable to set runas group vector" +msgstr "" + +#: plugins/sudoers/set_perms.c:285 plugins/sudoers/set_perms.c:606 +#: plugins/sudoers/set_perms.c:992 plugins/sudoers/set_perms.c:1288 +msgid "unable to change to runas uid" +msgstr "" + +#: plugins/sudoers/set_perms.c:303 plugins/sudoers/set_perms.c:624 +#: plugins/sudoers/set_perms.c:1008 plugins/sudoers/set_perms.c:1304 +msgid "unable to change to sudoers gid" +msgstr "" + +#: plugins/sudoers/set_perms.c:356 plugins/sudoers/set_perms.c:695 +#: plugins/sudoers/set_perms.c:1054 plugins/sudoers/set_perms.c:1350 +#: plugins/sudoers/set_perms.c:1514 +msgid "too many processes" +msgstr "" + +#: plugins/sudoers/solaris_audit.c:51 +msgid "unable to get current working directory" +msgstr "" + +#: plugins/sudoers/solaris_audit.c:59 +#, c-format +msgid "truncated audit path user_cmnd: %s" +msgstr "" + +#: plugins/sudoers/solaris_audit.c:66 +#, c-format +msgid "truncated audit path argv[0]: %s" +msgstr "" + +#: plugins/sudoers/solaris_audit.c:115 +msgid "audit_failure message too long" +msgstr "" + +#: plugins/sudoers/sssd.c:333 +msgid "unable to initialize SSS source. Is SSSD installed on your machine?" +msgstr "" + +#: plugins/sudoers/sssd.c:341 plugins/sudoers/sssd.c:350 +#: plugins/sudoers/sssd.c:359 plugins/sudoers/sssd.c:368 +#: plugins/sudoers/sssd.c:377 +#, c-format +msgid "unable to find symbol \"%s\" in %s" +msgstr "" + +#: plugins/sudoers/sudo_nss.c:290 +#, c-format +msgid "Matching Defaults entries for %s on %s:\n" +msgstr "" + +#: plugins/sudoers/sudo_nss.c:308 +#, c-format +msgid "Runas and Command-specific defaults for %s:\n" +msgstr "" + +#: plugins/sudoers/sudo_nss.c:326 +#, c-format +msgid "User %s may run the following commands on %s:\n" +msgstr "" + +#: plugins/sudoers/sudo_nss.c:339 +#, c-format +msgid "User %s is not allowed to run sudo on %s.\n" +msgstr "" + +#: plugins/sudoers/sudoers.c:172 plugins/sudoers/testsudoers.c:245 +#: plugins/sudoers/visudo.c:223 plugins/sudoers/visudo.c:565 +msgid "unable to initialize sudoers default values" +msgstr "" + +#: plugins/sudoers/sudoers.c:197 plugins/sudoers/sudoers.c:239 +#: plugins/sudoers/sudoers.c:833 +msgid "problem with defaults entries" +msgstr "" + +#: plugins/sudoers/sudoers.c:205 +msgid "no valid sudoers sources found, quitting" +msgstr "" + +#: plugins/sudoers/sudoers.c:275 +msgid "sudoers specifies that root is not allowed to sudo" +msgstr "" + +#: plugins/sudoers/sudoers.c:332 +msgid "you are not permitted to use the -C option" +msgstr "" + +#: plugins/sudoers/sudoers.c:396 +#, c-format +msgid "timestamp owner (%s): No such user" +msgstr "" + +#: plugins/sudoers/sudoers.c:410 +msgid "no tty" +msgstr "" + +#: plugins/sudoers/sudoers.c:411 +msgid "sorry, you must have a tty to run sudo" +msgstr "" + +#: plugins/sudoers/sudoers.c:466 +msgid "command in current directory" +msgstr "" + +#: plugins/sudoers/sudoers.c:486 +msgid "sorry, you are not allowed to preserve the environment" +msgstr "" + +#: plugins/sudoers/sudoers.c:778 +msgid "command too long" +msgstr "" + +#: plugins/sudoers/sudoers.c:886 plugins/sudoers/visudo.c:426 +#: plugins/sudoers/visudo.c:665 +#, c-format +msgid "unable to stat %s" +msgstr "" + +#: plugins/sudoers/sudoers.c:890 +#, c-format +msgid "%s is not a regular file" +msgstr "%s nie je regulárny súbor" + +#: plugins/sudoers/sudoers.c:894 plugins/sudoers/timestamp.c:225 toke.l:947 +#, c-format +msgid "%s is owned by uid %u, should be %u" +msgstr "%s je vlastnený identifikátorom uid %u a mal by byť vlastnený %u" + +#: plugins/sudoers/sudoers.c:898 toke.l:954 +#, c-format +msgid "%s is world writable" +msgstr "" + +#: plugins/sudoers/sudoers.c:902 toke.l:959 +#, c-format +msgid "%s is owned by gid %u, should be %u" +msgstr "" + +#: plugins/sudoers/sudoers.c:933 +#, c-format +msgid "only root can use `-c %s'" +msgstr "" + +#: plugins/sudoers/sudoers.c:952 +#, c-format +msgid "unknown login class: %s" +msgstr "" + +#: plugins/sudoers/sudoers.c:1031 plugins/sudoers/sudoers.c:1059 +#, c-format +msgid "unable to resolve host %s" +msgstr "" + +#: plugins/sudoers/sudoers.c:1126 plugins/sudoers/testsudoers.c:385 +#, c-format +msgid "unknown group: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:232 +#, c-format +msgid "invalid filter option: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:245 +#, c-format +msgid "invalid max wait: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:251 +#, c-format +msgid "invalid speed factor: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:254 plugins/sudoers/visudo.c:180 +#, c-format +msgid "%s version %s\n" +msgstr "%s verzia %s\n" + +#: plugins/sudoers/sudoreplay.c:286 +#, c-format +msgid "%s/%.2s/%.2s/%.2s/timing: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:292 +#, c-format +msgid "%s/%s/timing: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:308 +#, c-format +msgid "Replaying sudo session: %s\n" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:314 +#, c-format +msgid "Warning: your terminal is too small to properly replay the log.\n" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:315 +#, c-format +msgid "Log geometry is %d x %d, your terminal's geometry is %d x %d." +msgstr "" + +#: plugins/sudoers/sudoreplay.c:368 +msgid "unable to set tty to raw mode" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:401 +#, c-format +msgid "invalid timing file line: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:611 plugins/sudoers/sudoreplay.c:636 +#, c-format +msgid "ambiguous expression \"%s\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:658 +msgid "unmatched ')' in expression" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:662 +#, c-format +msgid "unknown search term \"%s\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:677 +#, c-format +msgid "%s requires an argument" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:680 plugins/sudoers/sudoreplay.c:1060 +#, c-format +msgid "invalid regular expression: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:684 +#, c-format +msgid "could not parse date \"%s\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:693 +msgid "unmatched '(' in expression" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:695 +msgid "illegal trailing \"or\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:697 +msgid "illegal trailing \"!\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:746 +#, c-format +msgid "unknown search type %d" +msgstr "neznámy typ vyhľadávania %d" + +#: plugins/sudoers/sudoreplay.c:784 +#, c-format +msgid "%s: invalid log file" +msgstr "%s: neplatný súbor záznamu" + +#: plugins/sudoers/sudoreplay.c:802 +#, c-format +msgid "%s: time stamp field is missing" +msgstr "%s: chýba pole časovej značky" + +#: plugins/sudoers/sudoreplay.c:809 +#, c-format +msgid "%s: time stamp %s: %s" +msgstr "%s: časová značka %s: %s" + +#: plugins/sudoers/sudoreplay.c:816 +#, c-format +msgid "%s: user field is missing" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:825 +#, c-format +msgid "%s: runas user field is missing" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:834 +#, c-format +msgid "%s: runas group field is missing" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1197 +#, c-format +msgid "usage: %s [-h] [-d dir] [-m num] [-s num] ID\n" +msgstr "použitie: %s [-h] [-d adresár] [-m číslo] [-s číslo] ID\n" + +#: plugins/sudoers/sudoreplay.c:1200 +#, c-format +msgid "usage: %s [-h] [-d dir] -l [search expression]\n" +msgstr "použitie: %s [-h] [-d adresár] -l [hľadaný výraz]\n" + +#: plugins/sudoers/sudoreplay.c:1209 +#, c-format +msgid "" +"%s - replay sudo session logs\n" +"\n" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1211 +msgid "" +"\n" +"Options:\n" +" -d, --directory=dir specify directory for session logs\n" +" -f, --filter=filter specify which I/O type(s) to display\n" +" -h, --help display help message and exit\n" +" -l, --list list available session IDs, with optional expression\n" +" -m, --max-wait=num max number of seconds to wait between events\n" +" -s, --speed=num speed up or slow down output\n" +" -V, --version display version information and exit" +msgstr "" +"\n" +"Voľby:\n" +" -d, --directory=adresárr určí adresár pre záznamy relácie\n" +" -f, --filter=filter určuje, ktoré vstupno-výstupné typy sa majú zorbaziť\n" +" -h, --help zorbazí správu pomocníka a skončí\n" +" -l, --list vypíše identifikátory dostupných relácií, s voliteľným výrazom\n" +" -m, --max-wait=číslo maximálny počet sekúnd čakania medzi udalosťami\n" +" -s, --speed=číslo zrýchli alebo spomalí výstup\n" +" -V, --version zobrazí informácie o verzii a skončí" + +#: plugins/sudoers/testsudoers.c:324 +msgid "\thost unmatched" +msgstr "" + +#: plugins/sudoers/testsudoers.c:327 +msgid "" +"\n" +"Command allowed" +msgstr "" +"\n" +"Príkaz povolený" + +#: plugins/sudoers/testsudoers.c:328 +msgid "" +"\n" +"Command denied" +msgstr "" +"\n" +"Príkaz odmietnutý" + +#: plugins/sudoers/testsudoers.c:328 +msgid "" +"\n" +"Command unmatched" +msgstr "" +"\n" +"Príkaz nevyhovujúci" + +#: plugins/sudoers/timestamp.c:233 +#, c-format +msgid "%s is group writable" +msgstr "" + +#: plugins/sudoers/timestamp.c:309 +#, c-format +msgid "unable to truncate time stamp file to %lld bytes" +msgstr "" + +#: plugins/sudoers/timestamp.c:742 plugins/sudoers/timestamp.c:809 +#: plugins/sudoers/visudo.c:486 plugins/sudoers/visudo.c:492 +msgid "unable to read the clock" +msgstr "nie je možné čítať hodiny" + +#: plugins/sudoers/timestamp.c:756 +msgid "ignoring time stamp from the future" +msgstr "" + +#: plugins/sudoers/timestamp.c:768 +#, c-format +msgid "time stamp too far in the future: %20.20s" +msgstr "" + +#: plugins/sudoers/timestamp.c:863 +#, c-format +msgid "unable to lock time stamp file %s" +msgstr "" + +#: plugins/sudoers/timestamp.c:906 plugins/sudoers/timestamp.c:926 +#, c-format +msgid "lecture status path too long: %s/%s" +msgstr "" + +#: plugins/sudoers/visudo.c:182 +#, c-format +msgid "%s grammar version %d\n" +msgstr "" + +#: plugins/sudoers/visudo.c:254 plugins/sudoers/visudo.c:617 +#, c-format +msgid "press return to edit %s: " +msgstr "" + +#: plugins/sudoers/visudo.c:319 +#, c-format +msgid "specified editor (%s) doesn't exist" +msgstr "" + +#: plugins/sudoers/visudo.c:337 +#, c-format +msgid "no editor found (editor path = %s)" +msgstr "" + +#: plugins/sudoers/visudo.c:446 plugins/sudoers/visudo.c:454 +msgid "write error" +msgstr "chyba zápisu" + +#: plugins/sudoers/visudo.c:499 +#, c-format +msgid "unable to stat temporary file (%s), %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:506 +#, c-format +msgid "zero length temporary file (%s), %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:512 +#, c-format +msgid "editor (%s) failed, %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:534 +#, c-format +msgid "%s unchanged" +msgstr "%s nezmenený" + +#: plugins/sudoers/visudo.c:560 +#, c-format +msgid "unable to re-open temporary file (%s), %s unchanged." +msgstr "" + +#: plugins/sudoers/visudo.c:571 +#, c-format +msgid "unabled to parse temporary file (%s), unknown error" +msgstr "" + +#: plugins/sudoers/visudo.c:608 +#, c-format +msgid "internal error, unable to find %s in list!" +msgstr "" + +#: plugins/sudoers/visudo.c:667 plugins/sudoers/visudo.c:676 +#, c-format +msgid "unable to set (uid, gid) of %s to (%u, %u)" +msgstr "" + +#: plugins/sudoers/visudo.c:671 plugins/sudoers/visudo.c:681 +#, c-format +msgid "unable to change mode of %s to 0%o" +msgstr "" + +#: plugins/sudoers/visudo.c:698 +#, c-format +msgid "%s and %s not on the same file system, using mv to rename" +msgstr "" + +#: plugins/sudoers/visudo.c:712 +#, c-format +msgid "command failed: '%s %s %s', %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:722 +#, c-format +msgid "error renaming %s, %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:784 +msgid "What now? " +msgstr "" + +#: plugins/sudoers/visudo.c:798 +msgid "" +"Options are:\n" +" (e)dit sudoers file again\n" +" e(x)it without saving changes to sudoers file\n" +" (Q)uit and save changes to sudoers file (DANGER!)\n" +msgstr "" + +#: plugins/sudoers/visudo.c:846 +#, c-format +msgid "unable to run %s" +msgstr "nie je možné spustiť %s" + +#: plugins/sudoers/visudo.c:872 +#, c-format +msgid "%s: wrong owner (uid, gid) should be (%u, %u)\n" +msgstr "" + +#: plugins/sudoers/visudo.c:879 +#, c-format +msgid "%s: bad permissions, should be mode 0%o\n" +msgstr "" + +#: plugins/sudoers/visudo.c:904 plugins/sudoers/visudo_json.c:1032 +#, c-format +msgid "failed to parse %s file, unknown error" +msgstr "" + +#: plugins/sudoers/visudo.c:920 plugins/sudoers/visudo_json.c:1041 +#, c-format +msgid "parse error in %s near line %d\n" +msgstr "" + +#: plugins/sudoers/visudo.c:923 plugins/sudoers/visudo_json.c:1044 +#, c-format +msgid "parse error in %s\n" +msgstr "" + +#: plugins/sudoers/visudo.c:931 plugins/sudoers/visudo.c:938 +#, c-format +msgid "%s: parsed OK\n" +msgstr "" + +#: plugins/sudoers/visudo.c:985 +#, c-format +msgid "%s busy, try again later" +msgstr "" + +#: plugins/sudoers/visudo.c:1081 +#, c-format +msgid "Error: cycle in %s `%s'" +msgstr "" + +#: plugins/sudoers/visudo.c:1082 +#, c-format +msgid "Warning: cycle in %s `%s'" +msgstr "" + +#: plugins/sudoers/visudo.c:1086 +#, c-format +msgid "Error: %s `%s' referenced but not defined" +msgstr "" + +#: plugins/sudoers/visudo.c:1087 +#, c-format +msgid "Warning: %s `%s' referenced but not defined" +msgstr "" + +#: plugins/sudoers/visudo.c:1230 +#, c-format +msgid "Warning: unused %s `%s'" +msgstr "" + +#: plugins/sudoers/visudo.c:1343 +#, c-format +msgid "" +"%s - safely edit the sudoers file\n" +"\n" +msgstr "" +"%s - bezpečne upraví súbor sudoers\n" +"\n" + +#: plugins/sudoers/visudo.c:1345 +msgid "" +"\n" +"Options:\n" +" -c, --check check-only mode\n" +" -f, --file=sudoers specify sudoers file location\n" +" -h, --help display help message and exit\n" +" -q, --quiet less verbose (quiet) syntax error messages\n" +" -s, --strict strict syntax checking\n" +" -V, --version display version information and exit\n" +" -x, --export=output_file write sudoers in JSON format to output_file" +msgstr "" + +#: plugins/sudoers/visudo_json.c:1018 +#, c-format +msgid "%s: input and output files must be different" +msgstr "" + +#: toke.l:918 +msgid "too many levels of includes" +msgstr "" diff --git a/plugins/sudoers/po/sl.mo b/plugins/sudoers/po/sl.mo new file mode 100644 index 0000000..832663f Binary files /dev/null and b/plugins/sudoers/po/sl.mo differ diff --git a/plugins/sudoers/po/sl.po b/plugins/sudoers/po/sl.po new file mode 100644 index 0000000..55d6733 --- /dev/null +++ b/plugins/sudoers/po/sl.po @@ -0,0 +1,1758 @@ +# Slovenian translation of sudo. +# This file is put in the public domain. +# This file is distributed under the same license as the sudo package. +# +# Damir Jerovšek , 2012. +# Klemen Košir , 2012 - 2013. +# +msgid "" +msgstr "" +"Project-Id-Version: sudoers 1.8.7b1\n" +"Report-Msgid-Bugs-To: http://www.sudo.ws/bugs\n" +"POT-Creation-Date: 2013-04-02 10:40-0400\n" +"PO-Revision-Date: 2013-04-06 09:44+0100\n" +"Last-Translator: Klemen Košir \n" +"Language-Team: Slovenian \n" +"Language: sl\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n%100==4 ? 3 : 0);\n" +"X-Generator: Poedit 1.5.5\n" + +#: confstr.sh:2 plugins/sudoers/auth/pam.c:340 +msgid "Password:" +msgstr "Geslo:" + +#: confstr.sh:3 +msgid "*** SECURITY information for %h ***" +msgstr "*** Varnostni podatki za %h ***" + +#: confstr.sh:4 +msgid "Sorry, try again." +msgstr "Prosimo, poskusite znova." + +#: plugins/sudoers/alias.c:124 +#, c-format +msgid "Alias `%s' already defined" +msgstr "Vzdevek `%s' je že določen" + +#: plugins/sudoers/auth/bsdauth.c:77 +#, c-format +msgid "unable to get login class for user %s" +msgstr "prijavnega razreda uporabnika %s ni mogoče pridobiti" + +#: plugins/sudoers/auth/bsdauth.c:83 +msgid "unable to begin bsd authentication" +msgstr "ni mogoče začeti overitve bsd" + +#: plugins/sudoers/auth/bsdauth.c:91 +msgid "invalid authentication type" +msgstr "neveljavna vrsta overitve" + +#: plugins/sudoers/auth/bsdauth.c:100 +msgid "unable to setup authentication" +msgstr "ni mogoče nastaviti overitve" + +#: plugins/sudoers/auth/fwtk.c:59 +#, c-format +msgid "unable to read fwtk config" +msgstr "ni mogoče brati nastavitev fwtk" + +#: plugins/sudoers/auth/fwtk.c:64 +#, c-format +msgid "unable to connect to authentication server" +msgstr "ni se mogoče povezati s strežnikom overitve" + +#: plugins/sudoers/auth/fwtk.c:70 plugins/sudoers/auth/fwtk.c:94 +#: plugins/sudoers/auth/fwtk.c:127 +#, c-format +msgid "lost connection to authentication server" +msgstr "povezava s strežnikom overitve je bila izgubljena" + +#: plugins/sudoers/auth/fwtk.c:74 +#, c-format +msgid "" +"authentication server error:\n" +"%s" +msgstr "" +"napaka strežnika overitve:\n" +"%s" + +#: plugins/sudoers/auth/kerb5.c:116 +#, c-format +msgid "%s: unable to unparse princ ('%s'): %s" +msgstr "%s: ni mogoče odrazčleniti princ ('%s'): %s" + +#: plugins/sudoers/auth/kerb5.c:159 +#, c-format +msgid "%s: unable to parse '%s': %s" +msgstr "%s: ni mogoče razčleniti '%s': %s" + +#: plugins/sudoers/auth/kerb5.c:169 +#, c-format +msgid "%s: unable to resolve ccache: %s" +msgstr "%s: ni mogoče razrešiti ccache: %s" + +#: plugins/sudoers/auth/kerb5.c:217 +#, c-format +msgid "%s: unable to allocate options: %s" +msgstr "%s: ni mogoče dodeliti možnosti: %s" + +#: plugins/sudoers/auth/kerb5.c:233 +#, c-format +msgid "%s: unable to get credentials: %s" +msgstr "%s: ni mogoče dobiti poverila: %s" + +#: plugins/sudoers/auth/kerb5.c:246 +#, c-format +msgid "%s: unable to initialize ccache: %s" +msgstr "%s: ni mogoče začeti ccache: %s" + +#: plugins/sudoers/auth/kerb5.c:250 +#, c-format +msgid "%s: unable to store cred in ccache: %s" +msgstr "%s: ni mogoče shraniti cred v ccache: %s" + +#: plugins/sudoers/auth/kerb5.c:315 +#, c-format +msgid "%s: unable to get host principal: %s" +msgstr "%s: ni mogoče pridobiti predstojnika gostitve: %s" + +#: plugins/sudoers/auth/kerb5.c:330 +#, c-format +msgid "%s: Cannot verify TGT! Possible attack!: %s" +msgstr "%s: ni mogoče preveriti TGT! Možen napad!: %s" + +#: plugins/sudoers/auth/pam.c:100 +msgid "unable to initialize PAM" +msgstr "ni mogoče začeti PAM" + +#: plugins/sudoers/auth/pam.c:145 +msgid "account validation failure, is your account locked?" +msgstr "potrditev veljavnosti računa je spodletela, je vaš račun zaklenjen?" + +#: plugins/sudoers/auth/pam.c:149 +msgid "Account or password is expired, reset your password and try again" +msgstr "Geslo ali račun je potekel, ponastavite svoje geslo in poskusite znova" + +#: plugins/sudoers/auth/pam.c:156 +#, c-format +msgid "pam_chauthtok: %s" +msgstr "pam_chauthtok: %s" + +#: plugins/sudoers/auth/pam.c:160 +msgid "Password expired, contact your system administrator" +msgstr "Veljavnost gesla je potekla. Stopite v stik s svojim sistemskim skrbnikom" + +#: plugins/sudoers/auth/pam.c:164 +msgid "Account expired or PAM config lacks an \"account\" section for sudo, contact your system administrator" +msgstr "Račun je potekel ali pa nastavitvam PAM primanjkuje odsek \"account\" za sudo, obrnite se na sistemskega skrbnika" + +#: plugins/sudoers/auth/pam.c:181 +#, c-format +msgid "pam_authenticate: %s" +msgstr "pam_authenticate: %s" + +#: plugins/sudoers/auth/pam.c:339 +msgid "Password: " +msgstr "Geslo: " + +#: plugins/sudoers/auth/rfc1938.c:103 plugins/sudoers/visudo.c:212 +#, c-format +msgid "you do not exist in the %s database" +msgstr "ne obstajate v podatkovni zbirki %s" + +#: plugins/sudoers/auth/securid5.c:80 +#, c-format +msgid "failed to initialise the ACE API library" +msgstr "začenjanje knjižnice ACE API je spodletelo" + +#: plugins/sudoers/auth/securid5.c:106 +#, c-format +msgid "unable to contact the SecurID server" +msgstr "ni mogoče navezati stika s strežnikom SecurID" + +#: plugins/sudoers/auth/securid5.c:115 +#, c-format +msgid "User ID locked for SecurID Authentication" +msgstr "ID uporabnika je zaklenjen zaradi overitve SecurID" + +#: plugins/sudoers/auth/securid5.c:119 plugins/sudoers/auth/securid5.c:170 +#, c-format +msgid "invalid username length for SecurID" +msgstr "neveljavna dolžina imena uporabnika za SecurID" + +#: plugins/sudoers/auth/securid5.c:123 plugins/sudoers/auth/securid5.c:175 +#, c-format +msgid "invalid Authentication Handle for SecurID" +msgstr "neveljavna ročica overitve za SecurID" + +#: plugins/sudoers/auth/securid5.c:127 +#, c-format +msgid "SecurID communication failed" +msgstr "sporazumevanje SecurID je spodletelo" + +#: plugins/sudoers/auth/securid5.c:131 plugins/sudoers/auth/securid5.c:214 +#, c-format +msgid "unknown SecurID error" +msgstr "neznana napaka SecurID" + +#: plugins/sudoers/auth/securid5.c:165 +#, c-format +msgid "invalid passcode length for SecurID" +msgstr "neveljavna dolžina gesla za SecurID" + +#: plugins/sudoers/auth/sia.c:108 +msgid "unable to initialize SIA session" +msgstr "ni mogoče začeti seje SIA" + +#: plugins/sudoers/auth/sudo_auth.c:119 +msgid "invalid authentication methods" +msgstr "neveljavni načini overitve" + +#: plugins/sudoers/auth/sudo_auth.c:120 +msgid "Invalid authentication methods compiled into sudo! You may mix standalone and non-standalone authentication." +msgstr "Neveljavni načini overitve so kodno prevedeni v sudo! Mešate lahko samostojno in nesamostojno overjanje." + +#: plugins/sudoers/auth/sudo_auth.c:203 +msgid "no authentication methods" +msgstr "ni načinov overjanja" + +#: plugins/sudoers/auth/sudo_auth.c:205 +msgid "There are no authentication methods compiled into sudo! If you want to turn off authentication, use the --disable-authentication configure option." +msgstr "Ni načinov overitve, kodno prevedenih v sudo! Če želite izklopiti overjanje, uporabite nastavitveno možnost --disable-authentication." + +#: plugins/sudoers/auth/sudo_auth.c:389 +msgid "Authentication methods:" +msgstr "Načini overjanja:" + +#: plugins/sudoers/bsm_audit.c:60 plugins/sudoers/bsm_audit.c:63 +#: plugins/sudoers/bsm_audit.c:112 plugins/sudoers/bsm_audit.c:116 +#: plugins/sudoers/bsm_audit.c:168 plugins/sudoers/bsm_audit.c:172 +#, c-format +msgid "getaudit: failed" +msgstr "getaudit: spodletelo" + +#: plugins/sudoers/bsm_audit.c:90 plugins/sudoers/bsm_audit.c:153 +#, c-format +msgid "Could not determine audit condition" +msgstr "Pogoja presoje varnosti ni bilo mogoče določiti" + +#: plugins/sudoers/bsm_audit.c:101 +#, c-format +msgid "getauid failed" +msgstr "getauid je spodletel" + +#: plugins/sudoers/bsm_audit.c:103 plugins/sudoers/bsm_audit.c:162 +#, c-format +msgid "au_open: failed" +msgstr "au_open: spodletelo" + +#: plugins/sudoers/bsm_audit.c:118 plugins/sudoers/bsm_audit.c:174 +#, c-format +msgid "au_to_subject: failed" +msgstr "au_to_subject: spodletelo" + +#: plugins/sudoers/bsm_audit.c:122 plugins/sudoers/bsm_audit.c:178 +#, c-format +msgid "au_to_exec_args: failed" +msgstr "au_to_exec_args: spodletelo" + +#: plugins/sudoers/bsm_audit.c:126 plugins/sudoers/bsm_audit.c:187 +#, c-format +msgid "au_to_return32: failed" +msgstr "au_to_return32: spodletelo" + +#: plugins/sudoers/bsm_audit.c:129 plugins/sudoers/bsm_audit.c:190 +#, c-format +msgid "unable to commit audit record" +msgstr "ni bilo mogoče uveljaviti zapisa presoje varnosti" + +#: plugins/sudoers/bsm_audit.c:160 +#, c-format +msgid "getauid: failed" +msgstr "getauid: spodletelo" + +#: plugins/sudoers/bsm_audit.c:183 +#, c-format +msgid "au_to_text: failed" +msgstr "au_to_text: spodletelo" + +#: plugins/sudoers/check.c:174 +msgid "" +"\n" +"We trust you have received the usual lecture from the local System\n" +"Administrator. It usually boils down to these three things:\n" +"\n" +" #1) Respect the privacy of others.\n" +" #2) Think before you type.\n" +" #3) With great power comes great responsibility.\n" +"\n" +msgstr "" +"\n" +"Verjetno vam je skrbnik sistemov že pridigal o varnosti,\n" +"vendar si vseeno zapomnite naslednja pravila:\n" +"\n" +" #1) Spoštujte zasebnost drugih.\n" +" #2) Premislite, preden izvedete ukaze.\n" +" #3) Velika moč prinaša veliko odgovornost.\n" +"\n" + +#: plugins/sudoers/check.c:212 plugins/sudoers/check.c:218 +#: plugins/sudoers/sudoers.c:562 plugins/sudoers/sudoers.c:566 +#, c-format +msgid "unknown uid: %u" +msgstr "neznan ID uporabnika: %u" + +#: plugins/sudoers/check.c:215 plugins/sudoers/policy.c:635 +#: plugins/sudoers/sudoers.c:845 plugins/sudoers/testsudoers.c:215 +#: plugins/sudoers/testsudoers.c:359 +#, c-format +msgid "unknown user: %s" +msgstr "neznan uporabnik: %s" + +#: plugins/sudoers/def_data.c:27 +#, c-format +msgid "Syslog facility if syslog is being used for logging: %s" +msgstr "Pripomoček syslog, če se syslog uporablja za beleženje: %s" + +#: plugins/sudoers/def_data.c:31 +#, c-format +msgid "Syslog priority to use when user authenticates successfully: %s" +msgstr "Prednost syslog, ko se uporabnik uspešno overi: %s" + +#: plugins/sudoers/def_data.c:35 +#, c-format +msgid "Syslog priority to use when user authenticates unsuccessfully: %s" +msgstr "Prednost syslog, ko se uporabnik ne overi uspešno: %s" + +#: plugins/sudoers/def_data.c:39 +msgid "Put OTP prompt on its own line" +msgstr "postavi poziv OTP v svojo vrstico" + +#: plugins/sudoers/def_data.c:43 +msgid "Ignore '.' in $PATH" +msgstr "Prezri '.' v $PATH" + +#: plugins/sudoers/def_data.c:47 +msgid "Always send mail when sudo is run" +msgstr "Vedno pošlji pošto, kadar se zažene sudo" + +#: plugins/sudoers/def_data.c:51 +msgid "Send mail if user authentication fails" +msgstr "Pošlji pošto, če overitev uporabnika spodleti" + +#: plugins/sudoers/def_data.c:55 +msgid "Send mail if the user is not in sudoers" +msgstr "Pošlji pošto, če uporabnik ni v sudoers" + +#: plugins/sudoers/def_data.c:59 +msgid "Send mail if the user is not in sudoers for this host" +msgstr "Pošlji pošto, če uporabnik ni v sudoers za tega gostitelja" + +#: plugins/sudoers/def_data.c:63 +msgid "Send mail if the user is not allowed to run a command" +msgstr "Pošlji pošto, če uporabniku ni dovoljeno zagnati ukaza" + +#: plugins/sudoers/def_data.c:67 +msgid "Use a separate timestamp for each user/tty combo" +msgstr "Uporabi ločen časovni žig za vsako kombinacijo uporabnik/tty" + +#: plugins/sudoers/def_data.c:71 +msgid "Lecture user the first time they run sudo" +msgstr "Poduči uporabnika, ko prvič zažene sudo" + +#: plugins/sudoers/def_data.c:75 +#, c-format +msgid "File containing the sudo lecture: %s" +msgstr "Datoteka, ki vsebuje poduk sudo: %s" + +#: plugins/sudoers/def_data.c:79 +msgid "Require users to authenticate by default" +msgstr "Privzeto zahtevaj od uporabnikov, da se overijo" + +#: plugins/sudoers/def_data.c:83 +msgid "Root may run sudo" +msgstr "Skrbnik lahko zažene sudo" + +#: plugins/sudoers/def_data.c:87 +msgid "Log the hostname in the (non-syslog) log file" +msgstr "Beleži ime gostitelja v datoteko dnevnika (ne v sistemski dnevnik)" + +#: plugins/sudoers/def_data.c:91 +msgid "Log the year in the (non-syslog) log file" +msgstr "Beleži leto v (ne-syslog) dnevniško datoteko" + +#: plugins/sudoers/def_data.c:95 +msgid "If sudo is invoked with no arguments, start a shell" +msgstr "Če je sudo poklican brez argumentov, začni lupino" + +#: plugins/sudoers/def_data.c:99 +msgid "Set $HOME to the target user when starting a shell with -s" +msgstr "Postavi $HOME ciljnemu uporabniku, kadar se začne lupina s -s" + +#: plugins/sudoers/def_data.c:103 +msgid "Always set $HOME to the target user's home directory" +msgstr "Vedno postavi $HOME domači mapi ciljnega uporabnika" + +#: plugins/sudoers/def_data.c:107 +msgid "Allow some information gathering to give useful error messages" +msgstr "Dovoli zbrati nekaj podrobnosti za uporabna sporočila napak" + +#: plugins/sudoers/def_data.c:111 +msgid "Require fully-qualified hostnames in the sudoers file" +msgstr "Zahtevaj povsem uvrščena imena gostiteljev v datoteki sudoers" + +#: plugins/sudoers/def_data.c:115 +msgid "Insult the user when they enter an incorrect password" +msgstr "Užali uporabnika, ko vnese nepravilno geslo" + +#: plugins/sudoers/def_data.c:119 +msgid "Only allow the user to run sudo if they have a tty" +msgstr "Dovoli uporabniku zagnati sudo samo v primeru, če imajo tty" + +#: plugins/sudoers/def_data.c:123 +msgid "Visudo will honor the EDITOR environment variable" +msgstr "Visudo bo spoštoval spremenljivko okolja UREJEVALNIKA" + +#: plugins/sudoers/def_data.c:127 +msgid "Prompt for root's password, not the users's" +msgstr "Pozovi za geslo skrbnika, ne uporabnika" + +#: plugins/sudoers/def_data.c:131 +msgid "Prompt for the runas_default user's password, not the users's" +msgstr "Pozovi za geslo uporabnika runas_default namesto uporabnikovega gesla" + +#: plugins/sudoers/def_data.c:135 +msgid "Prompt for the target user's password, not the users's" +msgstr "Pozovi za geslo ciljnega uporabnika namesto uporabnikovega" + +#: plugins/sudoers/def_data.c:139 +msgid "Apply defaults in the target user's login class if there is one" +msgstr "Uveljavi privzete vrednosti v ciljnem uporabniškem razredu prijave, če le ta obstaja" + +#: plugins/sudoers/def_data.c:143 +msgid "Set the LOGNAME and USER environment variables" +msgstr "Nastavi spremenljivke okolja LOGNAME in USER" + +#: plugins/sudoers/def_data.c:147 +msgid "Only set the effective uid to the target user, not the real uid" +msgstr "Nastavi samo dejanski ID uporabnika ciljnemu uporabniku, ne resničnega ID-ja" + +#: plugins/sudoers/def_data.c:151 +msgid "Don't initialize the group vector to that of the target user" +msgstr "Ne začenjaj vektorja skupine ciljnega uporabnika" + +#: plugins/sudoers/def_data.c:155 +#, c-format +msgid "Length at which to wrap log file lines (0 for no wrap): %d" +msgstr "Dolžina, pri kateri se naj prelomijo vrstice datotek beleženja (0 za brez lomljenja):% d" + +#: plugins/sudoers/def_data.c:159 +#, c-format +msgid "Authentication timestamp timeout: %.1f minutes" +msgstr "Časovni potek overitve časovnega žiga: %.1f minut" + +#: plugins/sudoers/def_data.c:163 +#, c-format +msgid "Password prompt timeout: %.1f minutes" +msgstr "Zakasnitev poziva gesla: %.1f minut" + +#: plugins/sudoers/def_data.c:167 +#, c-format +msgid "Number of tries to enter a password: %d" +msgstr "Število poskusov vnosa gesla: %d" + +#: plugins/sudoers/def_data.c:171 +#, c-format +msgid "Umask to use or 0777 to use user's: 0%o" +msgstr "Uporabniška maska, ki bo uporabljena ali 0777 za uporabo uporabnikove: 0%o" + +#: plugins/sudoers/def_data.c:175 +#, c-format +msgid "Path to log file: %s" +msgstr "Pot do datoteke beleženja: %s" + +#: plugins/sudoers/def_data.c:179 +#, c-format +msgid "Path to mail program: %s" +msgstr "Pot do programa pošte: %s" + +#: plugins/sudoers/def_data.c:183 +#, c-format +msgid "Flags for mail program: %s" +msgstr "Zastavice za program pošte: %s" + +#: plugins/sudoers/def_data.c:187 +#, c-format +msgid "Address to send mail to: %s" +msgstr "Naslov prejemnika pošte: %s" + +#: plugins/sudoers/def_data.c:191 +#, c-format +msgid "Address to send mail from: %s" +msgstr "Naslov pošiljatelja pošte: %s" + +#: plugins/sudoers/def_data.c:195 +#, c-format +msgid "Subject line for mail messages: %s" +msgstr "Vrstica zadeve za poštna sporočila: %s" + +#: plugins/sudoers/def_data.c:199 +#, c-format +msgid "Incorrect password message: %s" +msgstr "Nepravilno sporočilo gesla: %s" + +#: plugins/sudoers/def_data.c:203 +#, c-format +msgid "Path to authentication timestamp dir: %s" +msgstr "Pot do mape časovnega žiga overitve: %s" + +#: plugins/sudoers/def_data.c:207 +#, c-format +msgid "Owner of the authentication timestamp dir: %s" +msgstr "Lastnik mape časovnega žiga overitve: %s" + +#: plugins/sudoers/def_data.c:211 +#, c-format +msgid "Users in this group are exempt from password and PATH requirements: %s" +msgstr "Uporabnikov v tej skupini zahteve gesla in PATH ne omejujejo: %s" + +#: plugins/sudoers/def_data.c:215 +#, c-format +msgid "Default password prompt: %s" +msgstr "Privzeti poziv gesla: %s" + +#: plugins/sudoers/def_data.c:219 +msgid "If set, passprompt will override system prompt in all cases." +msgstr "Če je poziv gesla nastavljen, bo prepisal sistemski poziv v vseh primerih." + +#: plugins/sudoers/def_data.c:223 +#, c-format +msgid "Default user to run commands as: %s" +msgstr "Privzet uporabnik za izvajanje ukazov kot: %s" + +#: plugins/sudoers/def_data.c:227 +#, c-format +msgid "Value to override user's $PATH with: %s" +msgstr "Vrednost, s katerim se bo prepisal $PATH uporabnika: %s" + +#: plugins/sudoers/def_data.c:231 +#, c-format +msgid "Path to the editor for use by visudo: %s" +msgstr "Pot do urejevalnika za uporabo z visudo: %s" + +#: plugins/sudoers/def_data.c:235 +#, c-format +msgid "When to require a password for 'list' pseudocommand: %s" +msgstr "Kdaj naj bo zahtevano geslo za psevdoukaz 'list': %s" + +#: plugins/sudoers/def_data.c:239 +#, c-format +msgid "When to require a password for 'verify' pseudocommand: %s" +msgstr "Kdaj naj bo zahtevano geslo za psevdoukaz 'verify': %s" + +#: plugins/sudoers/def_data.c:243 +msgid "Preload the dummy exec functions contained in the sudo_noexec library" +msgstr "Prednaloži preizkusne funkcije, shranjene v knjižnici sudo_noexec" + +#: plugins/sudoers/def_data.c:247 +msgid "If LDAP directory is up, do we ignore local sudoers file" +msgstr "Če je mapa LDAP na voljo, bodo krajevne datoteke sudoers prezrte" + +#: plugins/sudoers/def_data.c:251 +#, c-format +msgid "File descriptors >= %d will be closed before executing a command" +msgstr "Opisniki datotek >= %d bodo končani pred izvedbo ukaza" + +#: plugins/sudoers/def_data.c:255 +msgid "If set, users may override the value of `closefrom' with the -C option" +msgstr "Če je nastavljeno, lahko uporabniki prepišejo vrednost `closefrom' z možnostjo -C" + +#: plugins/sudoers/def_data.c:259 +msgid "Allow users to set arbitrary environment variables" +msgstr "Dovoli uporabnikom nastavljanje poljubnih spremenljivk okolja" + +#: plugins/sudoers/def_data.c:263 +msgid "Reset the environment to a default set of variables" +msgstr "Ponastavi okolje na privzet nabor spremenljivk" + +#: plugins/sudoers/def_data.c:267 +msgid "Environment variables to check for sanity:" +msgstr "Spremenljivke okolja, ki bodo preverjene za smiselnost:" + +#: plugins/sudoers/def_data.c:271 +msgid "Environment variables to remove:" +msgstr "Spremenljivke okolja za odstranitev:" + +#: plugins/sudoers/def_data.c:275 +msgid "Environment variables to preserve:" +msgstr "Spremenljivke okolja za ohranitev:" + +#: plugins/sudoers/def_data.c:279 +#, c-format +msgid "SELinux role to use in the new security context: %s" +msgstr "Vloga SELinux za uporabo v novi vsebini varnosti: %s" + +#: plugins/sudoers/def_data.c:283 +#, c-format +msgid "SELinux type to use in the new security context: %s" +msgstr "Vrsta SELinux za uporabo v novi vsebini varnosti: %s" + +#: plugins/sudoers/def_data.c:287 +#, c-format +msgid "Path to the sudo-specific environment file: %s" +msgstr "Pot do določene sudo datoteke okolja: %s" + +#: plugins/sudoers/def_data.c:291 +#, c-format +msgid "Locale to use while parsing sudoers: %s" +msgstr "Jezikovna oznaka za uporabo pri razčlenjevanju sudoers: %s" + +#: plugins/sudoers/def_data.c:295 +msgid "Allow sudo to prompt for a password even if it would be visible" +msgstr "Dovoli programu sudo, da vpraša za geslo, čeprav bi bilo le-to vidno" + +#: plugins/sudoers/def_data.c:299 +msgid "Provide visual feedback at the password prompt when there is user input" +msgstr "Zagotovi viden odziv ob vnosu gesla ob vnosu uporabnika" + +#: plugins/sudoers/def_data.c:303 +msgid "Use faster globbing that is less accurate but does not access the filesystem" +msgstr "Uporabi hitrejše razširjanje imen poti, ki je manj natančno, vendar ne dostopa do datotečnega sistema" + +#: plugins/sudoers/def_data.c:307 +msgid "The umask specified in sudoers will override the user's, even if it is more permissive" +msgstr "Uporabniška maska v sudoers bo prepisala uporabnikovo tudi, če je bolj premisivna" + +#: plugins/sudoers/def_data.c:311 +msgid "Log user's input for the command being run" +msgstr "Beleži vnos uporabnika za ukaz, ki se izvaja" + +#: plugins/sudoers/def_data.c:315 +msgid "Log the output of the command being run" +msgstr "Beleži izpis ukaza, ki se izvaja" + +#: plugins/sudoers/def_data.c:319 +msgid "Compress I/O logs using zlib" +msgstr "Stisni dnevnike I/O s pomočjo zlib" + +#: plugins/sudoers/def_data.c:323 +msgid "Always run commands in a pseudo-tty" +msgstr "Vedno zaženi ukaze v psevdo-tty" + +#: plugins/sudoers/def_data.c:327 +#, c-format +msgid "Plugin for non-Unix group support: %s" +msgstr "Vstavek za podporo skupinam, ki niso del Unixa: %s" + +#: plugins/sudoers/def_data.c:331 +#, c-format +msgid "Directory in which to store input/output logs: %s" +msgstr "Mapa, v kateri bodo shranjeni dnevniki vnosov/izpisov: %s" + +#: plugins/sudoers/def_data.c:335 +#, c-format +msgid "File in which to store the input/output log: %s" +msgstr "Datoteka, v kateri bo shranjen dnevnik vnosov/izpisov: %s" + +#: plugins/sudoers/def_data.c:339 +msgid "Add an entry to the utmp/utmpx file when allocating a pty" +msgstr "Dodaj vstop datoteki utmp/utmpx, kadar se dodeljuje pty" + +#: plugins/sudoers/def_data.c:343 +msgid "Set the user in utmp to the runas user, not the invoking user" +msgstr "Nastavi uporabnika v utmp uporabniku runas, ne poklicanemu uporabniku" + +#: plugins/sudoers/def_data.c:347 +msgid "Set of permitted privileges" +msgstr "Niz omogočenih dovoljenj" + +#: plugins/sudoers/def_data.c:351 +msgid "Set of limit privileges" +msgstr "Niz omejenih dovoljenj" + +#: plugins/sudoers/def_data.c:355 +msgid "Run commands on a pty in the background" +msgstr "Zaženi ukaze v terminalu v ozadju" + +#: plugins/sudoers/def_data.c:359 +msgid "Create a new PAM session for the command to run in" +msgstr "Ustvari sejo PAM, v kateri se bodo ukazi izvajali" + +#: plugins/sudoers/def_data.c:363 +msgid "Maximum I/O log sequence number" +msgstr "Največja zaporedna številka dnevnika I/O" + +#: plugins/sudoers/defaults.c:207 plugins/sudoers/defaults.c:587 +#, c-format +msgid "unknown defaults entry `%s'" +msgstr "neznan privzet vnos `%s'" + +#: plugins/sudoers/defaults.c:215 plugins/sudoers/defaults.c:225 +#: plugins/sudoers/defaults.c:245 plugins/sudoers/defaults.c:258 +#: plugins/sudoers/defaults.c:271 plugins/sudoers/defaults.c:284 +#: plugins/sudoers/defaults.c:297 plugins/sudoers/defaults.c:317 +#: plugins/sudoers/defaults.c:327 +#, c-format +msgid "value `%s' is invalid for option `%s'" +msgstr "vrednost `%s' je neveljavna za možnost `%s'" + +#: plugins/sudoers/defaults.c:218 plugins/sudoers/defaults.c:228 +#: plugins/sudoers/defaults.c:236 plugins/sudoers/defaults.c:253 +#: plugins/sudoers/defaults.c:266 plugins/sudoers/defaults.c:279 +#: plugins/sudoers/defaults.c:292 plugins/sudoers/defaults.c:312 +#: plugins/sudoers/defaults.c:323 +#, c-format +msgid "no value specified for `%s'" +msgstr "za `%s' ni določena nobena vrednost" + +#: plugins/sudoers/defaults.c:241 +#, c-format +msgid "values for `%s' must start with a '/'" +msgstr "vrednosti za `%s' se morajo začeti s '/'" + +#: plugins/sudoers/defaults.c:303 +#, c-format +msgid "option `%s' does not take a value" +msgstr "možnost `%s' ne sprejme vrednosti" + +#: plugins/sudoers/env.c:288 plugins/sudoers/env.c:293 +#: plugins/sudoers/env.c:395 plugins/sudoers/linux_audit.c:82 +#: plugins/sudoers/policy.c:420 plugins/sudoers/policy.c:427 +#: plugins/sudoers/prompt.c:171 plugins/sudoers/sudoers.c:654 +#: plugins/sudoers/testsudoers.c:243 +#, c-format +msgid "internal error, %s overflow" +msgstr "notranja napaka, prekoračitev funkcije %s" + +#: plugins/sudoers/env.c:367 +#, c-format +msgid "sudo_putenv: corrupted envp, length mismatch" +msgstr "sudo_putenv: pokvarjen envp, neujemanje dolžine" + +#: plugins/sudoers/env.c:1012 +#, c-format +msgid "sorry, you are not allowed to set the following environment variables: %s" +msgstr "nimate dovoljenj nastavljati naslednjih spremenljivk okolja: %s" + +#: plugins/sudoers/group_plugin.c:102 +#, c-format +msgid "%s must be owned by uid %d" +msgstr "%s mora biti v lasti ID-ja uporabnika %d" + +#: plugins/sudoers/group_plugin.c:106 +#, c-format +msgid "%s must only be writable by owner" +msgstr "%s mora biti zapisljiv samo za lastnika" + +#: plugins/sudoers/group_plugin.c:113 +#, c-format +msgid "unable to dlopen %s: %s" +msgstr "ni mogoče uporabiti dlopen %s: %s" + +#: plugins/sudoers/group_plugin.c:118 +#, c-format +msgid "unable to find symbol \"group_plugin\" in %s" +msgstr "ni mogoče najti simbola \"group_plugin\" v %s" + +#: plugins/sudoers/group_plugin.c:123 +#, c-format +msgid "%s: incompatible group plugin major version %d, expected %d" +msgstr "%s: nezdružljiva večja različica vstavka skupin %d, pričakovana %d" + +#: plugins/sudoers/interfaces.c:119 +msgid "Local IP address and netmask pairs:\n" +msgstr "Pari krajevnih naslovov IP in omrežnih mask:\n" + +#: plugins/sudoers/iolog.c:131 plugins/sudoers/iolog.c:144 +#: plugins/sudoers/timestamp.c:199 plugins/sudoers/timestamp.c:243 +#, c-format +msgid "%s exists but is not a directory (0%o)" +msgstr "%s že obstaja, toda ni mapa (0%o)" + +#: plugins/sudoers/iolog.c:141 plugins/sudoers/iolog.c:155 +#: plugins/sudoers/iolog.c:159 plugins/sudoers/timestamp.c:164 +#: plugins/sudoers/timestamp.c:220 plugins/sudoers/timestamp.c:270 +#, c-format +msgid "unable to mkdir %s" +msgstr "ustvarjenje mape %s z mkdir ni mogoče" + +#: plugins/sudoers/iolog.c:217 plugins/sudoers/sudoers.c:708 +#: plugins/sudoers/sudoreplay.c:354 plugins/sudoers/sudoreplay.c:815 +#: plugins/sudoers/sudoreplay.c:978 plugins/sudoers/timestamp.c:154 +#: plugins/sudoers/visudo.c:809 +#, c-format +msgid "unable to open %s" +msgstr "ni mogoče odpreti %s" + +#: plugins/sudoers/iolog.c:250 plugins/sudoers/sudoers.c:711 +#, c-format +msgid "unable to read %s" +msgstr "ni mogoče brati %s" + +#: plugins/sudoers/iolog.c:274 plugins/sudoers/timestamp.c:158 +#, c-format +msgid "unable to write to %s" +msgstr "ni mogoče pisati v %s" + +#: plugins/sudoers/iolog.c:334 +#, c-format +msgid "unable to create %s" +msgstr "ni mogoče ustvariti %s" + +#: plugins/sudoers/ldap.c:385 +#, c-format +msgid "sudo_ldap_conf_add_ports: port too large" +msgstr "sudo_ldap_conf_add_ports: vrednost vrat je prevelika" + +#: plugins/sudoers/ldap.c:408 +#, c-format +msgid "sudo_ldap_conf_add_ports: out of space expanding hostbuf" +msgstr "sudo_ldap_conf_add_ports: med razširjanjem hostbuf je zmanjkalo prostora" + +#: plugins/sudoers/ldap.c:438 +#, c-format +msgid "unsupported LDAP uri type: %s" +msgstr "nepodprta vrsta uri-ja LDAP: %s" + +#: plugins/sudoers/ldap.c:467 +#, c-format +msgid "invalid uri: %s" +msgstr "neveljaven uri: %s" + +#: plugins/sudoers/ldap.c:473 +#, c-format +msgid "unable to mix ldap and ldaps URIs" +msgstr "ni mogoče mešati URI-jev ldap in ldaps" + +#: plugins/sudoers/ldap.c:477 +#, c-format +msgid "unable to mix ldaps and starttls" +msgstr "ni mogoče mešati ldaps in starttls" + +#: plugins/sudoers/ldap.c:496 +#, c-format +msgid "sudo_ldap_parse_uri: out of space building hostbuf" +msgstr "sudo_ldap_parse_uri: med izgradnjo hostbuf je zmanjkalo prostora" + +#: plugins/sudoers/ldap.c:570 +#, c-format +msgid "unable to initialize SSL cert and key db: %s" +msgstr "ni mogoče začenjati potrdila SSL in ključa db: %s" + +#: plugins/sudoers/ldap.c:573 +#, c-format +msgid "you must set TLS_CERT in %s to use SSL" +msgstr "za uporabo SSL-ja morate nastaviti TSL_CERT v datoteki %s" + +#: plugins/sudoers/ldap.c:996 +#, c-format +msgid "unable to get GMT time" +msgstr "ni mogoče dobiti časa GMT" + +#: plugins/sudoers/ldap.c:1002 +#, c-format +msgid "unable to format timestamp" +msgstr "ni mogoče oblikovati časovnega žiga" + +#: plugins/sudoers/ldap.c:1010 +#, c-format +msgid "unable to build time filter" +msgstr "ni mogoče izgraditi časovnega filtra" + +#: plugins/sudoers/ldap.c:1229 +#, c-format +msgid "sudo_ldap_build_pass1 allocation mismatch" +msgstr "sudo_ldap_build_pass1 neujemanje dodelitve" + +#: plugins/sudoers/ldap.c:1776 +#, c-format +msgid "" +"\n" +"LDAP Role: %s\n" +msgstr "" +"\n" +"Vloga LDAP: %s\n" + +#: plugins/sudoers/ldap.c:1778 +#, c-format +msgid "" +"\n" +"LDAP Role: UNKNOWN\n" +msgstr "" +"\n" +"Vloga LDAP: NEZNANA\n" + +#: plugins/sudoers/ldap.c:1825 +#, c-format +msgid " Order: %s\n" +msgstr " Vrstni red: %s\n" + +#: plugins/sudoers/ldap.c:1833 plugins/sudoers/parse.c:515 +#: plugins/sudoers/sssd.c:1173 +#, c-format +msgid " Commands:\n" +msgstr " Ukazi:\n" + +#: plugins/sudoers/ldap.c:2255 +#, c-format +msgid "unable to initialize LDAP: %s" +msgstr "ni mogoče začeti LDAP: %s" + +#: plugins/sudoers/ldap.c:2289 +#, c-format +msgid "start_tls specified but LDAP libs do not support ldap_start_tls_s() or ldap_start_tls_s_np()" +msgstr "start_tls je določen, toda knjižnice LDAP ne podpirajo ldap_start_tls_s() ali ldap_start_tls_s_np()" + +#: plugins/sudoers/ldap.c:2525 +#, c-format +msgid "invalid sudoOrder attribute: %s" +msgstr "neveljaven atribut sudoOrder: %s" + +#: plugins/sudoers/linux_audit.c:57 +#, c-format +msgid "unable to open audit system" +msgstr "ni mogoče odpreti nadzornega sistema" + +#: plugins/sudoers/linux_audit.c:93 +#, c-format +msgid "unable to send audit message" +msgstr "ni mogoče poslati nadzornega sporočila" + +#: plugins/sudoers/logging.c:140 +#, c-format +msgid "%8s : %s" +msgstr "%8s : %s" + +#: plugins/sudoers/logging.c:168 +#, c-format +msgid "%8s : (command continued) %s" +msgstr "%8s : (ukaz) %s" + +#: plugins/sudoers/logging.c:194 +#, c-format +msgid "unable to open log file: %s: %s" +msgstr "ni mogoče odpreti datoteke dnevnika: %s: %s" + +#: plugins/sudoers/logging.c:197 +#, c-format +msgid "unable to lock log file: %s: %s" +msgstr "ni mogoče zakleniti datoteke dnevnika: %s: %s" + +#: plugins/sudoers/logging.c:245 +msgid "No user or host" +msgstr "Brez uporabnika ali gostitelja" + +#: plugins/sudoers/logging.c:247 +msgid "validation failure" +msgstr "potrjevanje veljavnosti ni uspelo" + +#: plugins/sudoers/logging.c:254 +msgid "user NOT in sudoers" +msgstr "uporabnika NI v sudoers" + +#: plugins/sudoers/logging.c:256 +msgid "user NOT authorized on host" +msgstr "uporabnik NI pooblaščen na gostitelju" + +#: plugins/sudoers/logging.c:258 +msgid "command not allowed" +msgstr "ukaz ni dovoljen" + +#: plugins/sudoers/logging.c:288 +#, c-format +msgid "%s is not in the sudoers file. This incident will be reported.\n" +msgstr "%s ni v datoteki sudoers. Ta dogodek bo zabeležen.\n" + +#: plugins/sudoers/logging.c:291 +#, c-format +msgid "%s is not allowed to run sudo on %s. This incident will be reported.\n" +msgstr "%s nima dovoljenj za izvajanje sudo na %s. Ta dogodek bo zabeležen.\n" + +#: plugins/sudoers/logging.c:295 +#, c-format +msgid "Sorry, user %s may not run sudo on %s.\n" +msgstr "Uporabnik %s ne sme izvajati sudo na %s.\n" + +#: plugins/sudoers/logging.c:298 +#, c-format +msgid "Sorry, user %s is not allowed to execute '%s%s%s' as %s%s%s on %s.\n" +msgstr "Uporabnik %s ne sme zagnati '%s%s%s' kot %s%s%s na %s.\n" + +#: plugins/sudoers/logging.c:335 plugins/sudoers/sudoers.c:383 +#: plugins/sudoers/sudoers.c:384 plugins/sudoers/sudoers.c:386 +#: plugins/sudoers/sudoers.c:387 plugins/sudoers/sudoers.c:1001 +#: plugins/sudoers/sudoers.c:1002 +#, c-format +msgid "%s: command not found" +msgstr "%s: ukaza ni bilo mogoče najti" + +#: plugins/sudoers/logging.c:337 plugins/sudoers/sudoers.c:379 +#, c-format +msgid "" +"ignoring `%s' found in '.'\n" +"Use `sudo ./%s' if this is the `%s' you wish to run." +msgstr "" +"prezrtje `%s', najdenega v '.'\n" +"Uporabite `sudo ./%s', če je to `%s', ki ga želite zagnati." + +#: plugins/sudoers/logging.c:353 +msgid "authentication failure" +msgstr "napaka overitve" + +#: plugins/sudoers/logging.c:379 +msgid "a password is required" +msgstr "zahtevano je geslo" + +#: plugins/sudoers/logging.c:443 plugins/sudoers/logging.c:487 +#, c-format +msgid "%d incorrect password attempt" +msgid_plural "%d incorrect password attempts" +msgstr[0] "%d nepravilnih poskusov vnosa gesla" +msgstr[1] "%d nepravilen poskus vnosa gesla" +msgstr[2] "%d nepravilna poskusa vnosa gesla" +msgstr[3] "%d nepravilni poskusi vnosa gesla" + +#: plugins/sudoers/logging.c:566 +#, c-format +msgid "unable to fork" +msgstr "ni mogoče razvejiti" + +#: plugins/sudoers/logging.c:573 plugins/sudoers/logging.c:629 +#, c-format +msgid "unable to fork: %m" +msgstr "ni mogoče razvejiti: %m" + +#: plugins/sudoers/logging.c:619 +#, c-format +msgid "unable to open pipe: %m" +msgstr "ni mogoče odpreti cevi: %m" + +#: plugins/sudoers/logging.c:644 +#, c-format +msgid "unable to dup stdin: %m" +msgstr "ni mogoče podvojiti stdin: %m" + +#: plugins/sudoers/logging.c:680 +#, c-format +msgid "unable to execute %s: %m" +msgstr "ni mogoče izvesti %s: %m" + +#: plugins/sudoers/logging.c:899 +#, c-format +msgid "internal error: insufficient space for log line" +msgstr "notranja napaka: premalo prostora za vrstico dnevnika" + +#: plugins/sudoers/parse.c:124 +#, c-format +msgid "parse error in %s near line %d" +msgstr "napaka razčlenjevanja v %s blizu vrstice %d" + +#: plugins/sudoers/parse.c:127 +#, c-format +msgid "parse error in %s" +msgstr "napaka med razčlenjevanjem datoteke %s" + +#: plugins/sudoers/parse.c:462 +#, c-format +msgid "" +"\n" +"Sudoers entry:\n" +msgstr "" +"\n" +"Vnos sudoers:\n" + +#: plugins/sudoers/parse.c:463 +#, c-format +msgid " RunAsUsers: " +msgstr " ZaženiKotUporabniki: " + +#: plugins/sudoers/parse.c:477 +#, c-format +msgid " RunAsGroups: " +msgstr " ZaženiKotSkupine: " + +#: plugins/sudoers/parse.c:486 +#, c-format +msgid " Options: " +msgstr " Možnosti: " + +#: plugins/sudoers/policy.c:517 plugins/sudoers/visudo.c:750 +#, c-format +msgid "unable to execute %s" +msgstr "ni mogoče izvršiti %s" + +#: plugins/sudoers/policy.c:659 +#, c-format +msgid "Sudoers policy plugin version %s\n" +msgstr "Vstavek pravilnika sudoers različica %s\n" + +#: plugins/sudoers/policy.c:661 +#, c-format +msgid "Sudoers file grammar version %d\n" +msgstr "Datoteka slovnice sudoers različica %d\n" + +#: plugins/sudoers/policy.c:665 +#, c-format +msgid "" +"\n" +"Sudoers path: %s\n" +msgstr "" +"\n" +"Pot sudoers: %s\n" + +#: plugins/sudoers/policy.c:668 +#, c-format +msgid "nsswitch path: %s\n" +msgstr "pot nsswitch: %s\n" + +#: plugins/sudoers/policy.c:670 +#, c-format +msgid "ldap.conf path: %s\n" +msgstr "pot ldap.conf: %s\n" + +#: plugins/sudoers/policy.c:671 +#, c-format +msgid "ldap.secret path: %s\n" +msgstr "pot ldap.secret: %s\n" + +#: plugins/sudoers/pwutil.c:148 +#, c-format +msgid "unable to cache uid %u, already exists" +msgstr "ni mogoče predpomniti ID-ja uporabnika %u, že obstaja" + +#: plugins/sudoers/pwutil.c:190 +#, c-format +msgid "unable to cache user %s, already exists" +msgstr "ni mogoče predpomniti uporabnika %s, že obstaja" + +#: plugins/sudoers/pwutil.c:374 +#, c-format +msgid "unable to cache gid %u, already exists" +msgstr "ni mogoče predpomniti ID-ja skupine %u, že obstaja" + +#: plugins/sudoers/pwutil.c:410 +#, c-format +msgid "unable to cache group %s, already exists" +msgstr "ni mogoče predpomniti skupine %s, že obstaja" + +#: plugins/sudoers/pwutil.c:564 plugins/sudoers/pwutil.c:586 +#, c-format +msgid "unable to cache group list for %s, already exists" +msgstr "seznama skupina za %s ni mogoče predpomniti, saj že obstaja" + +#: plugins/sudoers/pwutil.c:584 +#, c-format +msgid "unable to parse groups for %s" +msgstr "skupin za %s ni mogoče razčleniti" + +#: plugins/sudoers/set_perms.c:122 plugins/sudoers/set_perms.c:445 +#: plugins/sudoers/set_perms.c:846 plugins/sudoers/set_perms.c:1141 +#: plugins/sudoers/set_perms.c:1431 +msgid "perm stack overflow" +msgstr "prekoračitev trajnega sklada" + +#: plugins/sudoers/set_perms.c:130 plugins/sudoers/set_perms.c:453 +#: plugins/sudoers/set_perms.c:854 plugins/sudoers/set_perms.c:1149 +#: plugins/sudoers/set_perms.c:1439 +msgid "perm stack underflow" +msgstr "prekoračitev spodnje meje trajnega sklada" + +#: plugins/sudoers/set_perms.c:189 plugins/sudoers/set_perms.c:500 +#: plugins/sudoers/set_perms.c:1200 plugins/sudoers/set_perms.c:1471 +msgid "unable to change to root gid" +msgstr "številke skupine skrbnika ni mogoče spremeniti" + +#: plugins/sudoers/set_perms.c:278 plugins/sudoers/set_perms.c:597 +#: plugins/sudoers/set_perms.c:983 plugins/sudoers/set_perms.c:1277 +msgid "unable to change to runas gid" +msgstr "ni mogoče spremeniti v ID-ja skupine runas" + +#: plugins/sudoers/set_perms.c:290 plugins/sudoers/set_perms.c:609 +#: plugins/sudoers/set_perms.c:993 plugins/sudoers/set_perms.c:1287 +msgid "unable to change to runas uid" +msgstr "ni mogoče spremeniti v ID-ja uporabnika runas" + +#: plugins/sudoers/set_perms.c:308 plugins/sudoers/set_perms.c:627 +#: plugins/sudoers/set_perms.c:1009 plugins/sudoers/set_perms.c:1303 +msgid "unable to change to sudoers gid" +msgstr "ni mogoče spremeniti ID-ja skupine sudoers" + +#: plugins/sudoers/set_perms.c:361 plugins/sudoers/set_perms.c:698 +#: plugins/sudoers/set_perms.c:1055 plugins/sudoers/set_perms.c:1349 +#: plugins/sudoers/set_perms.c:1515 +msgid "too many processes" +msgstr "preveč opravil" + +#: plugins/sudoers/set_perms.c:1583 +msgid "unable to set runas group vector" +msgstr "ni mogoče nastaviti vektorja skupine runas" + +#: plugins/sudoers/sssd.c:256 +#, c-format +msgid "Unable to dlopen %s: %s" +msgstr "ni mogoče uporabiti dlopen %s: %s" + +#: plugins/sudoers/sssd.c:257 +#, c-format +msgid "Unable to initialize SSS source. Is SSSD installed on your machine?" +msgstr "Vira SSS ni mogoče zagnati. Ali je SSSD pravilno nameščen?" + +#: plugins/sudoers/sssd.c:263 plugins/sudoers/sssd.c:271 +#: plugins/sudoers/sssd.c:278 plugins/sudoers/sssd.c:285 +#: plugins/sudoers/sssd.c:292 +#, c-format +msgid "unable to find symbol \"%s\" in %s" +msgstr "simbola \"%s\" ni mogoče najti v %s" + +#: plugins/sudoers/sudo_nss.c:283 +#, c-format +msgid "Matching Defaults entries for %s on this host:\n" +msgstr "Ujemajoči vpisi privzetih vrednosti za %s na tem gostitelju:\n" + +#: plugins/sudoers/sudo_nss.c:296 +#, c-format +msgid "Runas and Command-specific defaults for %s:\n" +msgstr "Runas in ukazno določene privzete vrednosti za %s:\n" + +#: plugins/sudoers/sudo_nss.c:309 +#, c-format +msgid "User %s may run the following commands on this host:\n" +msgstr "Na tem gostitelju lahko uporabnik %s zažene naslednje ukaze:\n" + +#: plugins/sudoers/sudo_nss.c:318 +#, c-format +msgid "User %s is not allowed to run sudo on %s.\n" +msgstr "Uporabniku %s ni dovoljeno zagnati sudo na %s.\n" + +#: plugins/sudoers/sudoers.c:159 plugins/sudoers/sudoers.c:193 +#: plugins/sudoers/sudoers.c:673 +msgid "problem with defaults entries" +msgstr "težave z vnosi privzetih vrednosti" + +#: plugins/sudoers/sudoers.c:165 +#, c-format +msgid "no valid sudoers sources found, quitting" +msgstr "najdenih niso bili nobeni veljavni viri sudoers, končanje" + +#: plugins/sudoers/sudoers.c:227 +#, c-format +msgid "sudoers specifies that root is not allowed to sudo" +msgstr "sudoers določa, da skrbniku ni dovoljeno uporabiti sudo" + +#: plugins/sudoers/sudoers.c:234 +#, c-format +msgid "you are not permitted to use the -C option" +msgstr "ni vam dovoljeno uporabiti možnosti -C" + +#: plugins/sudoers/sudoers.c:315 +#, c-format +msgid "timestamp owner (%s): No such user" +msgstr "lastnik časovnega žiga (%s): ni takšnega uporabnika" + +#: plugins/sudoers/sudoers.c:329 +msgid "no tty" +msgstr "brez tty" + +#: plugins/sudoers/sudoers.c:330 +#, c-format +msgid "sorry, you must have a tty to run sudo" +msgstr "za izvajanje sudo morate imeti tty" + +#: plugins/sudoers/sudoers.c:378 +msgid "command in current directory" +msgstr "ukaz v trenutni mapi" + +#: plugins/sudoers/sudoers.c:395 +#, c-format +msgid "sorry, you are not allowed to preserve the environment" +msgstr "nimate dovoljenj za ohranjanje okolja" + +#: plugins/sudoers/sudoers.c:723 plugins/sudoers/timestamp.c:215 +#: plugins/sudoers/timestamp.c:259 plugins/sudoers/timestamp.c:327 +#: plugins/sudoers/visudo.c:310 plugins/sudoers/visudo.c:576 +#, c-format +msgid "unable to stat %s" +msgstr "stanja %s ni mogoče dobiti" + +#: plugins/sudoers/sudoers.c:726 +#, c-format +msgid "%s is not a regular file" +msgstr "%s ni običajna datoteka" + +#: plugins/sudoers/sudoers.c:729 toke.l:842 +#, c-format +msgid "%s is owned by uid %u, should be %u" +msgstr "%s je v lasti ID-ja uporabnika %u, moral bi biti %u" + +#: plugins/sudoers/sudoers.c:733 toke.l:849 +#, c-format +msgid "%s is world writable" +msgstr "v datoteko %s lahko zapisujejo vsi uporabniki" + +#: plugins/sudoers/sudoers.c:736 toke.l:854 +#, c-format +msgid "%s is owned by gid %u, should be %u" +msgstr "%s je v lasti ID-ja skupine %u, moral bi biti %u" + +#: plugins/sudoers/sudoers.c:763 +#, c-format +msgid "only root can use `-c %s'" +msgstr "samo skrbnik lahko uporabi `-c %s'" + +#: plugins/sudoers/sudoers.c:780 plugins/sudoers/sudoers.c:782 +#, c-format +msgid "unknown login class: %s" +msgstr "neznan razred prijave: %s" + +#: plugins/sudoers/sudoers.c:814 +#, c-format +msgid "unable to resolve host %s" +msgstr "ni mogoče razrešiti gostitelja %s" + +#: plugins/sudoers/sudoers.c:866 plugins/sudoers/testsudoers.c:377 +#, c-format +msgid "unknown group: %s" +msgstr "neznana skupina: %s" + +#: plugins/sudoers/sudoreplay.c:292 +#, c-format +msgid "invalid filter option: %s" +msgstr "neveljavna možnost filtra: %s" + +#: plugins/sudoers/sudoreplay.c:305 +#, c-format +msgid "invalid max wait: %s" +msgstr "neveljavna zgornja meja čakanja: %s" + +#: plugins/sudoers/sudoreplay.c:311 +#, c-format +msgid "invalid speed factor: %s" +msgstr "neveljaven dejavnik hitrosti: %s" + +#: plugins/sudoers/sudoreplay.c:314 plugins/sudoers/visudo.c:179 +#, c-format +msgid "%s version %s\n" +msgstr "%s različica %s\n" + +#: plugins/sudoers/sudoreplay.c:339 +#, c-format +msgid "%s/%.2s/%.2s/%.2s/timing: %s" +msgstr "%s/%.2s/%.2s/%.2s/časovna uskladitev: %s" + +#: plugins/sudoers/sudoreplay.c:345 +#, c-format +msgid "%s/%s/timing: %s" +msgstr "%s/%s/časovna uskladitev: %s" + +#: plugins/sudoers/sudoreplay.c:363 +#, c-format +msgid "Replaying sudo session: %s\n" +msgstr "Izpisovanje dnevnika seje sudo: %s\n" + +#: plugins/sudoers/sudoreplay.c:369 +#, c-format +msgid "Warning: your terminal is too small to properly replay the log.\n" +msgstr "Opozorilo: terminal je premajhen za pravilno izpisovanje dnevnika.\n" + +#: plugins/sudoers/sudoreplay.c:370 +#, c-format +msgid "Log geometry is %d x %d, your terminal's geometry is %d x %d." +msgstr "Geometrija dnevnika je %d x %d, medtem ko je geometrija terminala %d x %d." + +#: plugins/sudoers/sudoreplay.c:400 +#, c-format +msgid "unable to set tty to raw mode" +msgstr "ni mogoče nastaviti tty na surov način" + +#: plugins/sudoers/sudoreplay.c:416 +#, c-format +msgid "invalid timing file line: %s" +msgstr "neveljavna vrstica datoteke časovne uskladitve: %s" + +#: plugins/sudoers/sudoreplay.c:499 +#, c-format +msgid "writing to standard output" +msgstr "pisanje na standardni izhod" + +#: plugins/sudoers/sudoreplay.c:528 +#, c-format +msgid "nanosleep: tv_sec %ld, tv_nsec %ld" +msgstr "nanosleep: tv_sec %ld, tv_nsec %ld" + +#: plugins/sudoers/sudoreplay.c:641 plugins/sudoers/sudoreplay.c:666 +#, c-format +msgid "ambiguous expression \"%s\"" +msgstr "dvoumen izraz \"%s\"" + +#: plugins/sudoers/sudoreplay.c:683 +#, c-format +msgid "too many parenthesized expressions, max %d" +msgstr "preveč izrazov z oklepaji, največje število %d" + +#: plugins/sudoers/sudoreplay.c:694 +#, c-format +msgid "unmatched ')' in expression" +msgstr "v izrazu je neujemajoč ')'" + +#: plugins/sudoers/sudoreplay.c:700 +#, c-format +msgid "unknown search term \"%s\"" +msgstr "naznan iskalni izraz \"%s\"" + +#: plugins/sudoers/sudoreplay.c:714 +#, c-format +msgid "%s requires an argument" +msgstr "%s zahteva argument" + +#: plugins/sudoers/sudoreplay.c:718 +#, c-format +msgid "invalid regular expression: %s" +msgstr "neveljaven logični izraz: %s" + +#: plugins/sudoers/sudoreplay.c:724 +#, c-format +msgid "could not parse date \"%s\"" +msgstr "ni mogoče razčleniti datuma \"%s\"" + +#: plugins/sudoers/sudoreplay.c:737 +#, c-format +msgid "unmatched '(' in expression" +msgstr "v izrazu je neujemajoč '('" + +#: plugins/sudoers/sudoreplay.c:739 +#, c-format +msgid "illegal trailing \"or\"" +msgstr "neveljaven zaključni \"or\"" + +#: plugins/sudoers/sudoreplay.c:741 +#, c-format +msgid "illegal trailing \"!\"" +msgstr "neveljaven zaključni \"!\"" + +#: plugins/sudoers/sudoreplay.c:1058 +#, c-format +msgid "invalid regex: %s" +msgstr "neveljavni logični izraz: %s" + +#: plugins/sudoers/sudoreplay.c:1182 +#, c-format +msgid "usage: %s [-h] [-d directory] [-m max_wait] [-s speed_factor] ID\n" +msgstr "uporaba: %s [-h] [-d mapa] [-m zg_meja_čakanja] [-s faktor_hitrosti] ID\n" + +#: plugins/sudoers/sudoreplay.c:1185 +#, c-format +msgid "usage: %s [-h] [-d directory] -l [search expression]\n" +msgstr "uporaba: %s [-h] [-d mapa] -l [iskalni izraz]\n" + +#: plugins/sudoers/sudoreplay.c:1194 +#, c-format +msgid "" +"%s - replay sudo session logs\n" +"\n" +msgstr "" +"%s - ponovno predvajaj dnevnike sej sudo\n" +"\n" + +#: plugins/sudoers/sudoreplay.c:1196 +msgid "" +"\n" +"Options:\n" +" -d directory specify directory for session logs\n" +" -f filter specify which I/O type to display\n" +" -h display help message and exit\n" +" -l [expression] list available session IDs that match expression\n" +" -m max_wait max number of seconds to wait between events\n" +" -s speed_factor speed up or slow down output\n" +" -V display version information and exit" +msgstr "" +"\n" +"Možnosti:\n" +" -d mapa določi mapo za dnevnike sej\n" +" -f filter navedi, katera vrsta I/O se naj prikaže \n" +" -h prikaži sporočilo pomoči in končaj\n" +" -l [izraz] navedi razpoložljive ID-je sej, ki se ujemajo z izrazom\n" +" -m zg_meja_čakanja največje število sekund za čakanje med dogodki\n" +" -s faktor_hitrosti pospeši ali upočasni izhod\n" +" -V prikaži podrobnosti o različici in končaj" + +#: plugins/sudoers/testsudoers.c:328 +msgid "\thost unmatched" +msgstr "\tgostitelj se ne ujema" + +#: plugins/sudoers/testsudoers.c:331 +msgid "" +"\n" +"Command allowed" +msgstr "" +"\n" +"Ukaz je dovoljen" + +#: plugins/sudoers/testsudoers.c:332 +msgid "" +"\n" +"Command denied" +msgstr "" +"\n" +"Ukaz je bil zavrnjen" + +#: plugins/sudoers/testsudoers.c:332 +msgid "" +"\n" +"Command unmatched" +msgstr "" +"\n" +"Ukaz se ne ujema" + +#: plugins/sudoers/timestamp.c:128 +#, c-format +msgid "timestamp path too long: %s" +msgstr "pot časovnega žiga je predolga : %s" + +#: plugins/sudoers/timestamp.c:202 plugins/sudoers/timestamp.c:246 +#: plugins/sudoers/timestamp.c:291 +#, c-format +msgid "%s owned by uid %u, should be uid %u" +msgstr "%s je v lasti ID-ja uporabnika %u, moral bi biti ID uporabnika %u" + +#: plugins/sudoers/timestamp.c:207 plugins/sudoers/timestamp.c:251 +#, c-format +msgid "%s writable by non-owner (0%o), should be mode 0700" +msgstr "%s je zapisljiv za ne-lastnika (0%o), moral bi biti način 0700" + +#: plugins/sudoers/timestamp.c:285 +#, c-format +msgid "%s exists but is not a regular file (0%o)" +msgstr "%s obstaja, toda ni običajna datoteka (0%o)" + +#: plugins/sudoers/timestamp.c:297 +#, c-format +msgid "%s writable by non-owner (0%o), should be mode 0600" +msgstr "%s je zapisljiv za ne-lastnika (0%o), moral bi biti način 0600" + +#: plugins/sudoers/timestamp.c:352 +#, c-format +msgid "timestamp too far in the future: %20.20s" +msgstr "časovni žig je predaleč v prihodnosti: %20.20s" + +#: plugins/sudoers/timestamp.c:406 +#, c-format +msgid "unable to remove %s, will reset to the epoch" +msgstr "%s ni mogoče odstraniti" + +#: plugins/sudoers/timestamp.c:413 +#, c-format +msgid "unable to reset %s to the epoch" +msgstr "%s ni mogoče ponastaviti na epoho" + +#: plugins/sudoers/toke_util.c:221 +#, c-format +msgid "fill_args: buffer overflow" +msgstr "fill_args: prekoračitev medpomnilnika" + +#: plugins/sudoers/visudo.c:180 +#, c-format +msgid "%s grammar version %d\n" +msgstr "%s različica slovnice %d\n" + +#: plugins/sudoers/visudo.c:243 plugins/sudoers/visudo.c:533 +#, c-format +msgid "press return to edit %s: " +msgstr "za urejanje %s pritisnite return: " + +#: plugins/sudoers/visudo.c:326 plugins/sudoers/visudo.c:332 +#, c-format +msgid "write error" +msgstr "napaka med pisanjem" + +#: plugins/sudoers/visudo.c:414 +#, c-format +msgid "unable to stat temporary file (%s), %s unchanged" +msgstr "ni mogoče začeti začasne datoteke (%s), %s nepsremenjeno" + +#: plugins/sudoers/visudo.c:419 +#, c-format +msgid "zero length temporary file (%s), %s unchanged" +msgstr "začasna datoteka brez dolžine (%s), %s nespremenjena" + +#: plugins/sudoers/visudo.c:425 +#, c-format +msgid "editor (%s) failed, %s unchanged" +msgstr "urejevalnik (%s) je spodletel, %s nespremenjen" + +#: plugins/sudoers/visudo.c:448 +#, c-format +msgid "%s unchanged" +msgstr "%s nespremenjeno" + +#: plugins/sudoers/visudo.c:477 +#, c-format +msgid "unable to re-open temporary file (%s), %s unchanged." +msgstr "ni mogoče ponovno odpreti začasne datoteke (%s), %s je nespremenjen." + +#: plugins/sudoers/visudo.c:487 +#, c-format +msgid "unabled to parse temporary file (%s), unknown error" +msgstr "ni mogoče razčleniti začasne datoteke (%s), neznana napaka" + +#: plugins/sudoers/visudo.c:526 +#, c-format +msgid "internal error, unable to find %s in list!" +msgstr "notranja napaka, na seznamu ni mogoče najti %s!" + +#: plugins/sudoers/visudo.c:578 plugins/sudoers/visudo.c:587 +#, c-format +msgid "unable to set (uid, gid) of %s to (%u, %u)" +msgstr "ni mogoče nastaviti (ID uporabnika, ID skupine) od %s do (%u, %u)" + +#: plugins/sudoers/visudo.c:582 plugins/sudoers/visudo.c:592 +#, c-format +msgid "unable to change mode of %s to 0%o" +msgstr "ni mogoče spremeniti načina iz %s na 0%o" + +#: plugins/sudoers/visudo.c:609 +#, c-format +msgid "%s and %s not on the same file system, using mv to rename" +msgstr "%s in %s nista na enakem datotečnem sistemu, uporaba mv za preimenovanje" + +#: plugins/sudoers/visudo.c:623 +#, c-format +msgid "command failed: '%s %s %s', %s unchanged" +msgstr "ukaz je spodletel: '%s %s %s', %s nespremenjen" + +#: plugins/sudoers/visudo.c:633 +#, c-format +msgid "error renaming %s, %s unchanged" +msgstr "napaka med preimenovanjem %s, %s nespremenjen" + +#: plugins/sudoers/visudo.c:695 +msgid "What now? " +msgstr "Kaj pa zdaj? " + +#: plugins/sudoers/visudo.c:709 +msgid "" +"Options are:\n" +" (e)dit sudoers file again\n" +" e(x)it without saving changes to sudoers file\n" +" (Q)uit and save changes to sudoers file (DANGER!)\n" +msgstr "" +"Možnosti so:\n" +" (e)ponovno uredi datoteko sudoers\n" +" (x)končaj brez shranjevanja sprememb v datoteko sudoers\n" +" (Q)končaj in shrani spremembe v datoteko sudoers (NEVARNOST!)\n" + +#: plugins/sudoers/visudo.c:757 +#, c-format +msgid "unable to run %s" +msgstr "ni mogoče zagnati %s" + +#: plugins/sudoers/visudo.c:783 +#, c-format +msgid "%s: wrong owner (uid, gid) should be (%u, %u)\n" +msgstr "%s: napačen lastnik (ID uporabnika, ID skupine) moralo bi biti (%u, %u)\n" + +#: plugins/sudoers/visudo.c:790 +#, c-format +msgid "%s: bad permissions, should be mode 0%o\n" +msgstr "%s: slaba dovoljenja, moral bi biti način 0%o\n" + +#: plugins/sudoers/visudo.c:815 +#, c-format +msgid "failed to parse %s file, unknown error" +msgstr "razčlenjevanje datoteke %s je spodletelo, neznana napaka" + +#: plugins/sudoers/visudo.c:831 +#, c-format +msgid "parse error in %s near line %d\n" +msgstr "napaka razčlenjevanja v %s blizu vrstice %d\n" + +#: plugins/sudoers/visudo.c:834 +#, c-format +msgid "parse error in %s\n" +msgstr "napaka razčlenjevanja v %s\n" + +#: plugins/sudoers/visudo.c:841 plugins/sudoers/visudo.c:846 +#, c-format +msgid "%s: parsed OK\n" +msgstr "%s: uspešno razčlenjeno\n" + +#: plugins/sudoers/visudo.c:893 +#, c-format +msgid "%s busy, try again later" +msgstr "%s zaseden, poskusite ponovno pozneje" + +#: plugins/sudoers/visudo.c:937 +#, c-format +msgid "specified editor (%s) doesn't exist" +msgstr "določen urejevalnik (%s) se ne konča" + +#: plugins/sudoers/visudo.c:960 +#, c-format +msgid "unable to stat editor (%s)" +msgstr "ni mogoče začeti urejevalnika (%s)" + +#: plugins/sudoers/visudo.c:1008 +#, c-format +msgid "no editor found (editor path = %s)" +msgstr "najdenega ni nobenega urejevalnika (pot urejevalnika = %s)" + +#: plugins/sudoers/visudo.c:1100 +#, c-format +msgid "Error: cycle in %s_Alias `%s'" +msgstr "Napaka: kroženje v %s_Alias `%s'" + +#: plugins/sudoers/visudo.c:1101 +#, c-format +msgid "Warning: cycle in %s_Alias `%s'" +msgstr "Opozorilo: kroženje v %s_Alias `%s'" + +#: plugins/sudoers/visudo.c:1104 +#, c-format +msgid "Error: %s_Alias `%s' referenced but not defined" +msgstr "Napaka: %s_Alias `%s' sklicevan, toda ne določen" + +#: plugins/sudoers/visudo.c:1105 +#, c-format +msgid "Warning: %s_Alias `%s' referenced but not defined" +msgstr "Warning: %s_Alias `%s' sklicevan, toda ne določen" + +#: plugins/sudoers/visudo.c:1240 +#, c-format +msgid "%s: unused %s_Alias %s" +msgstr "%s: neuporabljen %s_Alias %s" + +#: plugins/sudoers/visudo.c:1302 +#, c-format +msgid "" +"%s - safely edit the sudoers file\n" +"\n" +msgstr "" +"%s - varno uredi datoteko sudoers\n" +"\n" + +#: plugins/sudoers/visudo.c:1304 +msgid "" +"\n" +"Options:\n" +" -c check-only mode\n" +" -f sudoers specify sudoers file location\n" +" -h display help message and exit\n" +" -q less verbose (quiet) syntax error messages\n" +" -s strict syntax checking\n" +" -V display version information and exit" +msgstr "" +"\n" +"Možnosti:\n" +" -c način samo preverjanja\n" +" -f sudoers določi mesto datoteke sudoers\n" +" -h prikaži sporočilo pomoči in končaj\n" +" -q manj podroben izpis (tih) sporočil skladenjskih napak\n" +" -s strogo preverjanje skladnje\n" +" -V prikaži podrobnosti različice in končaj" + +#: toke.l:815 +msgid "too many levels of includes" +msgstr "preveč stopenj vključitev" diff --git a/plugins/sudoers/po/sr.mo b/plugins/sudoers/po/sr.mo new file mode 100644 index 0000000..65570cd Binary files /dev/null and b/plugins/sudoers/po/sr.mo differ diff --git a/plugins/sudoers/po/sr.po b/plugins/sudoers/po/sr.po new file mode 100644 index 0000000..4ea3ec3 --- /dev/null +++ b/plugins/sudoers/po/sr.po @@ -0,0 +1,3962 @@ +# Serbian translation for sudoers. +# This file is put in the public domain. +# Мирослав Николић , 2014–2022. +# +msgid "" +msgstr "" +"Project-Id-Version: sudoers-1.9.11b1\n" +"Report-Msgid-Bugs-To: https://bugzilla.sudo.ws\n" +"POT-Creation-Date: 2022-05-27 08:39-0600\n" +"PO-Revision-Date: 2022-08-22 21:33+0200\n" +"Last-Translator: Мирослав Николић \n" +"Language-Team: Serbian <(nothing)>\n" +"Language: sr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: confstr.sh:1 gram.y:1218 +msgid "syntax error" +msgstr "грешка синтаксе" + +#: confstr.sh:2 +msgid "%p's password: " +msgstr "Лозинка корисника %p: " + +#: confstr.sh:3 +msgid "[sudo] password for %p: " +msgstr "[судо] лозинка за корисника %p: " + +#: confstr.sh:4 +msgid "Password: " +msgstr "Лозинка: " + +#: confstr.sh:5 +msgid "*** SECURITY information for %h ***" +msgstr "*** информације БЕЗБЕДНОСТИ за %h ***" + +#: confstr.sh:6 +msgid "Sorry, try again." +msgstr "Извините, покушајте поново." + +#: gram.y:236 gram.y:303 gram.y:312 gram.y:321 gram.y:331 gram.y:341 +#: gram.y:365 gram.y:392 gram.y:401 gram.y:409 gram.y:418 gram.y:427 +#: gram.y:501 gram.y:511 gram.y:523 gram.y:571 gram.y:580 gram.y:589 +#: gram.y:598 gram.y:730 gram.y:738 gram.y:749 gram.y:761 gram.y:780 +#: gram.y:943 gram.y:948 gram.y:956 gram.y:970 gram.y:976 gram.y:1098 +#: gram.y:1107 gram.y:1115 gram.y:1124 gram.y:1133 gram.y:1162 gram.y:1171 +#: gram.y:1179 gram.y:1272 gram.y:1402 gram.y:1769 gram.y:1816 +#: lib/eventlog/eventlog.c:309 lib/eventlog/eventlog.c:382 +#: lib/eventlog/eventlog.c:827 lib/eventlog/eventlog.c:904 +#: lib/eventlog/eventlog.c:1204 lib/iolog/iolog_filter.c:142 +#: lib/iolog/iolog_filter.c:202 lib/iolog/iolog_filter.c:233 +#: lib/iolog/iolog_json.c:150 lib/iolog/iolog_json.c:382 +#: lib/iolog/iolog_json.c:412 lib/iolog/iolog_json.c:555 +#: lib/iolog/iolog_legacy.c:100 lib/iolog/iolog_legacy.c:111 +#: lib/iolog/iolog_legacy.c:123 lib/iolog/iolog_legacy.c:133 +#: lib/iolog/iolog_legacy.c:139 lib/iolog/iolog_loginfo.c:76 +#: lib/iolog/iolog_loginfo.c:212 logsrvd/iolog_writer.c:84 +#: logsrvd/iolog_writer.c:89 logsrvd/iolog_writer.c:123 +#: logsrvd/iolog_writer.c:172 logsrvd/iolog_writer.c:212 +#: logsrvd/iolog_writer.c:225 logsrvd/iolog_writer.c:261 +#: logsrvd/iolog_writer.c:286 logsrvd/iolog_writer.c:301 +#: logsrvd/iolog_writer.c:314 logsrvd/iolog_writer.c:327 +#: logsrvd/iolog_writer.c:340 logsrvd/iolog_writer.c:355 +#: logsrvd/iolog_writer.c:393 logsrvd/iolog_writer.c:399 +#: logsrvd/iolog_writer.c:406 logsrvd/iolog_writer.c:412 +#: logsrvd/iolog_writer.c:596 logsrvd/logsrv_util.c:64 logsrvd/logsrvd.c:296 +#: logsrvd/logsrvd.c:305 logsrvd/logsrvd.c:1012 logsrvd/logsrvd.c:1075 +#: logsrvd/logsrvd_conf.c:1443 logsrvd/logsrvd_journal.c:70 +#: logsrvd/logsrvd_journal.c:203 logsrvd/logsrvd_journal.c:204 +#: logsrvd/logsrvd_journal.c:260 logsrvd/logsrvd_journal.c:420 +#: logsrvd/logsrvd_journal.c:422 logsrvd/logsrvd_local.c:174 +#: logsrvd/logsrvd_local.c:175 logsrvd/logsrvd_local.c:237 +#: logsrvd/logsrvd_local.c:238 logsrvd/logsrvd_local.c:376 +#: logsrvd/logsrvd_local.c:425 logsrvd/logsrvd_local.c:426 +#: logsrvd/logsrvd_local.c:431 logsrvd/logsrvd_local.c:432 +#: logsrvd/logsrvd_queue.c:154 logsrvd/logsrvd_queue.c:184 +#: logsrvd/logsrvd_queue.c:261 logsrvd/logsrvd_relay.c:439 +#: logsrvd/logsrvd_relay.c:738 logsrvd/logsrvd_relay.c:845 +#: logsrvd/sendlog.c:246 logsrvd/sendlog.c:255 logsrvd/sendlog.c:333 +#: logsrvd/sendlog.c:640 plugins/sudoers/audit.c:116 +#: plugins/sudoers/auth/bsdauth.c:150 plugins/sudoers/auth/kerb5.c:121 +#: plugins/sudoers/auth/kerb5.c:148 plugins/sudoers/auth/pam.c:687 +#: plugins/sudoers/auth/rfc1938.c:111 plugins/sudoers/auth/sia.c:59 +#: plugins/sudoers/check_aliases.c:168 plugins/sudoers/cvtsudoers.c:131 +#: plugins/sudoers/cvtsudoers.c:175 plugins/sudoers/cvtsudoers.c:192 +#: plugins/sudoers/cvtsudoers.c:203 plugins/sudoers/cvtsudoers.c:333 +#: plugins/sudoers/cvtsudoers.c:372 plugins/sudoers/cvtsudoers.c:392 +#: plugins/sudoers/cvtsudoers.c:537 plugins/sudoers/cvtsudoers.c:670 +#: plugins/sudoers/cvtsudoers.c:688 plugins/sudoers/cvtsudoers.c:862 +#: plugins/sudoers/cvtsudoers.c:870 plugins/sudoers/cvtsudoers.c:1365 +#: plugins/sudoers/cvtsudoers.c:1369 plugins/sudoers/cvtsudoers.c:1471 +#: plugins/sudoers/cvtsudoers_csv.c:183 plugins/sudoers/cvtsudoers_csv.c:246 +#: plugins/sudoers/cvtsudoers_json.c:76 plugins/sudoers/cvtsudoers_ldif.c:151 +#: plugins/sudoers/cvtsudoers_ldif.c:194 plugins/sudoers/cvtsudoers_ldif.c:235 +#: plugins/sudoers/cvtsudoers_ldif.c:300 plugins/sudoers/cvtsudoers_ldif.c:376 +#: plugins/sudoers/cvtsudoers_ldif.c:430 plugins/sudoers/cvtsudoers_ldif.c:438 +#: plugins/sudoers/cvtsudoers_ldif.c:449 plugins/sudoers/cvtsudoers_ldif.c:456 +#: plugins/sudoers/cvtsudoers_ldif.c:468 plugins/sudoers/cvtsudoers_ldif.c:481 +#: plugins/sudoers/cvtsudoers_ldif.c:489 plugins/sudoers/cvtsudoers_ldif.c:636 +#: plugins/sudoers/cvtsudoers_merge.c:47 plugins/sudoers/cvtsudoers_merge.c:52 +#: plugins/sudoers/cvtsudoers_merge.c:353 +#: plugins/sudoers/cvtsudoers_merge.c:399 +#: plugins/sudoers/cvtsudoers_merge.c:446 +#: plugins/sudoers/cvtsudoers_merge.c:467 +#: plugins/sudoers/cvtsudoers_merge.c:553 +#: plugins/sudoers/cvtsudoers_merge.c:564 +#: plugins/sudoers/cvtsudoers_merge.c:633 +#: plugins/sudoers/cvtsudoers_merge.c:1158 +#: plugins/sudoers/cvtsudoers_merge.c:1231 plugins/sudoers/defaults.c:434 +#: plugins/sudoers/defaults.c:657 plugins/sudoers/defaults.c:1018 +#: plugins/sudoers/defaults.c:1186 plugins/sudoers/editor.c:190 +#: plugins/sudoers/env.c:262 plugins/sudoers/exptilde.c:92 +#: plugins/sudoers/filedigest.c:54 plugins/sudoers/filedigest.c:70 +#: plugins/sudoers/gc.c:57 plugins/sudoers/group_plugin.c:133 +#: plugins/sudoers/interfaces.c:68 plugins/sudoers/iolog.c:268 +#: plugins/sudoers/iolog.c:668 plugins/sudoers/iolog.c:694 +#: plugins/sudoers/ldap.c:184 plugins/sudoers/ldap.c:464 +#: plugins/sudoers/ldap.c:755 plugins/sudoers/ldap.c:919 +#: plugins/sudoers/ldap.c:1335 plugins/sudoers/ldap.c:1761 +#: plugins/sudoers/ldap.c:1798 plugins/sudoers/ldap.c:1879 +#: plugins/sudoers/ldap.c:2014 plugins/sudoers/ldap.c:2115 +#: plugins/sudoers/ldap.c:2131 plugins/sudoers/ldap_conf.c:218 +#: plugins/sudoers/ldap_conf.c:249 plugins/sudoers/ldap_conf.c:301 +#: plugins/sudoers/ldap_conf.c:337 plugins/sudoers/ldap_conf.c:443 +#: plugins/sudoers/ldap_conf.c:458 plugins/sudoers/ldap_conf.c:563 +#: plugins/sudoers/ldap_conf.c:596 plugins/sudoers/ldap_conf.c:688 +#: plugins/sudoers/ldap_conf.c:770 plugins/sudoers/ldap_util.c:294 +#: plugins/sudoers/ldap_util.c:301 plugins/sudoers/ldap_util.c:614 +#: plugins/sudoers/linux_audit.c:86 plugins/sudoers/log_client.c:112 +#: plugins/sudoers/log_client.c:397 plugins/sudoers/log_client.c:710 +#: plugins/sudoers/log_client.c:731 plugins/sudoers/log_client.c:1451 +#: plugins/sudoers/log_client.c:1672 plugins/sudoers/log_client.c:2003 +#: plugins/sudoers/log_client.c:2059 plugins/sudoers/logging.c:112 +#: plugins/sudoers/logging.c:193 plugins/sudoers/logging.c:461 +#: plugins/sudoers/logging.c:675 plugins/sudoers/logging.c:812 +#: plugins/sudoers/match_command.c:333 plugins/sudoers/match_command.c:594 +#: plugins/sudoers/match_command.c:645 plugins/sudoers/match_command.c:719 +#: plugins/sudoers/match_command.c:767 plugins/sudoers/match_digest.c:93 +#: plugins/sudoers/parse.c:227 plugins/sudoers/parse.c:244 +#: plugins/sudoers/parse.c:263 plugins/sudoers/parse.c:282 +#: plugins/sudoers/parse.c:299 plugins/sudoers/parse.c:322 +#: plugins/sudoers/parse.c:333 plugins/sudoers/parse_ldif.c:153 +#: plugins/sudoers/parse_ldif.c:184 plugins/sudoers/parse_ldif.c:253 +#: plugins/sudoers/parse_ldif.c:261 plugins/sudoers/parse_ldif.c:266 +#: plugins/sudoers/parse_ldif.c:342 plugins/sudoers/parse_ldif.c:353 +#: plugins/sudoers/parse_ldif.c:380 plugins/sudoers/parse_ldif.c:397 +#: plugins/sudoers/parse_ldif.c:409 plugins/sudoers/parse_ldif.c:413 +#: plugins/sudoers/parse_ldif.c:427 plugins/sudoers/parse_ldif.c:484 +#: plugins/sudoers/parse_ldif.c:597 plugins/sudoers/parse_ldif.c:627 +#: plugins/sudoers/parse_ldif.c:652 plugins/sudoers/parse_ldif.c:710 +#: plugins/sudoers/parse_ldif.c:727 plugins/sudoers/parse_ldif.c:755 +#: plugins/sudoers/parse_ldif.c:762 plugins/sudoers/policy.c:606 +#: plugins/sudoers/policy.c:998 plugins/sudoers/prompt.c:93 +#: plugins/sudoers/pwutil.c:199 plugins/sudoers/pwutil.c:270 +#: plugins/sudoers/pwutil.c:348 plugins/sudoers/pwutil.c:522 +#: plugins/sudoers/pwutil.c:587 plugins/sudoers/pwutil.c:659 +#: plugins/sudoers/pwutil.c:857 plugins/sudoers/pwutil.c:913 +#: plugins/sudoers/pwutil.c:957 plugins/sudoers/pwutil.c:1014 +#: plugins/sudoers/sssd.c:145 plugins/sudoers/sssd.c:185 +#: plugins/sudoers/sssd.c:414 plugins/sudoers/sssd.c:479 +#: plugins/sudoers/sssd.c:505 plugins/sudoers/sssd.c:568 +#: plugins/sudoers/sssd.c:761 plugins/sudoers/strvec_join.c:53 +#: plugins/sudoers/stubs.c:111 plugins/sudoers/stubs.c:119 +#: plugins/sudoers/sudoers.c:349 plugins/sudoers/sudoers.c:375 +#: plugins/sudoers/sudoers.c:443 plugins/sudoers/sudoers.c:452 +#: plugins/sudoers/sudoers.c:493 plugins/sudoers/sudoers.c:858 +#: plugins/sudoers/sudoers.c:996 plugins/sudoers/sudoers.c:1055 +#: plugins/sudoers/sudoers.c:1320 plugins/sudoers/sudoreplay.c:562 +#: plugins/sudoers/sudoreplay.c:565 plugins/sudoers/sudoreplay.c:1281 +#: plugins/sudoers/sudoreplay.c:1503 plugins/sudoers/sudoreplay.c:1507 +#: plugins/sudoers/testsudoers.c:120 plugins/sudoers/testsudoers.c:224 +#: plugins/sudoers/testsudoers.c:241 plugins/sudoers/testsudoers.c:581 +#: plugins/sudoers/timestamp.c:424 plugins/sudoers/timestamp.c:468 +#: plugins/sudoers/timestamp.c:980 plugins/sudoers/timestamp.c:1118 +#: plugins/sudoers/toke_util.c:78 plugins/sudoers/toke_util.c:106 +#: plugins/sudoers/toke_util.c:131 plugins/sudoers/toke_util.c:161 +#: plugins/sudoers/toke_util.c:200 plugins/sudoers/tsdump.c:123 +#: plugins/sudoers/visudo.c:148 plugins/sudoers/visudo.c:380 +#: plugins/sudoers/visudo.c:386 plugins/sudoers/visudo.c:492 +#: plugins/sudoers/visudo.c:1048 toke.l:1023 toke.l:1155 toke.l:1226 +msgid "unable to allocate memory" +msgstr "не могу да доделим меморију" + +#: gram.y:622 +msgid "a digest requires a path name" +msgstr "зборник захтева назив путање" + +#: gram.y:644 +msgid "values for \"CWD\" must start with a '/', '~', or '*'" +msgstr "вредност за „CWD“ мора почети са /, ~, или *" + +#: gram.y:650 +msgid "\"CWD\" path too long" +msgstr "„CWD“ путања је предуга" + +#: gram.y:660 +msgid "values for \"CHROOT\" must start with a '/', '~', or '*'" +msgstr "вредност за „CHROOT“ мора почети са /, ~, или *" + +#: gram.y:666 +msgid "\"CHROOT\" path too long" +msgstr "„CHROOT“ путања је предуга" + +#: gram.y:801 +#, c-format +msgid "syntax error, reserved word %s used as an alias name" +msgstr "грешка синтаксе, резервисана реч „%s“ је коришћена као назив алијаса" + +#: gram.y:824 +msgid "invalid notbefore value" +msgstr "неисправна вредност не-пре" + +#: gram.y:833 +msgid "invalid notafter value" +msgstr "неисправна вредност не-после" + +#: gram.y:843 plugins/sudoers/policy.c:376 +msgid "timeout value too large" +msgstr "вредност временског истека је превелика" + +#: gram.y:845 plugins/sudoers/policy.c:378 +msgid "invalid timeout value" +msgstr "неисправна вредност временског ограничења" + +#: gram.y:966 plugins/sudoers/sudoers.c:1014 +msgid "command too long" +msgstr "наредба је предуга" + +#: gram.y:1220 plugins/sudoers/check_aliases.c:96 +#: plugins/sudoers/defaults.c:1275 +#, c-format +msgid "%s:%d:%d: %s\n" +msgstr "%s:%d:%d: %s\n" + +#: gram.y:1270 +#, c-format +msgid "Alias \"%s\" already defined" +msgstr "Псеудоним „%s“ је већ одређен" + +#: gram.y:1769 gram.y:1816 lib/eventlog/eventlog.c:309 +#: lib/eventlog/eventlog.c:827 lib/eventlog/eventlog.c:900 +#: lib/eventlog/eventlog.c:903 lib/eventlog/eventlog.c:1204 +#: lib/iolog/iolog_filter.c:142 lib/iolog/iolog_filter.c:202 +#: lib/iolog/iolog_filter.c:232 lib/iolog/iolog_json.c:150 +#: lib/iolog/iolog_json.c:381 lib/iolog/iolog_json.c:412 +#: lib/iolog/iolog_json.c:555 lib/iolog/iolog_legacy.c:100 +#: lib/iolog/iolog_legacy.c:111 lib/iolog/iolog_legacy.c:123 +#: lib/iolog/iolog_legacy.c:133 lib/iolog/iolog_legacy.c:139 +#: lib/iolog/iolog_loginfo.c:76 lib/iolog/iolog_loginfo.c:212 +#: logsrvd/iolog_writer.c:84 logsrvd/iolog_writer.c:89 +#: logsrvd/iolog_writer.c:123 logsrvd/iolog_writer.c:162 +#: logsrvd/iolog_writer.c:171 logsrvd/iolog_writer.c:189 +#: logsrvd/iolog_writer.c:211 logsrvd/iolog_writer.c:224 +#: logsrvd/iolog_writer.c:251 logsrvd/iolog_writer.c:260 +#: logsrvd/iolog_writer.c:276 logsrvd/iolog_writer.c:285 +#: logsrvd/iolog_writer.c:300 logsrvd/iolog_writer.c:313 +#: logsrvd/iolog_writer.c:326 logsrvd/iolog_writer.c:339 +#: logsrvd/iolog_writer.c:354 logsrvd/iolog_writer.c:393 +#: logsrvd/iolog_writer.c:399 logsrvd/iolog_writer.c:406 +#: logsrvd/iolog_writer.c:412 logsrvd/iolog_writer.c:596 +#: logsrvd/logsrv_util.c:64 logsrvd/logsrvd.c:296 logsrvd/logsrvd.c:305 +#: logsrvd/logsrvd.c:448 logsrvd/logsrvd.c:485 logsrvd/logsrvd.c:593 +#: logsrvd/logsrvd.c:1086 logsrvd/logsrvd.c:1403 logsrvd/logsrvd.c:1410 +#: logsrvd/logsrvd_conf.c:1443 logsrvd/logsrvd_journal.c:70 +#: logsrvd/logsrvd_journal.c:114 logsrvd/logsrvd_journal.c:203 +#: logsrvd/logsrvd_journal.c:233 logsrvd/logsrvd_journal.c:237 +#: logsrvd/logsrvd_journal.c:245 logsrvd/logsrvd_journal.c:268 +#: logsrvd/logsrvd_journal.c:272 logsrvd/logsrvd_journal.c:420 +#: logsrvd/logsrvd_local.c:174 logsrvd/logsrvd_local.c:237 +#: logsrvd/logsrvd_local.c:425 logsrvd/logsrvd_local.c:431 +#: logsrvd/logsrvd_local.c:450 logsrvd/logsrvd_queue.c:153 +#: logsrvd/logsrvd_queue.c:184 logsrvd/logsrvd_queue.c:261 +#: logsrvd/sendlog.c:246 logsrvd/sendlog.c:255 logsrvd/sendlog.c:333 +#: logsrvd/sendlog.c:640 logsrvd/sendlog.c:1526 logsrvd/sendlog.c:1533 +#: logsrvd/sendlog.c:1756 logsrvd/tls_init.c:299 logsrvd/tls_init.c:323 +#: logsrvd/tls_init.c:334 plugins/sudoers/audit.c:116 +#: plugins/sudoers/auth/pam.c:502 plugins/sudoers/auth/pam.c:687 +#: plugins/sudoers/auth/rfc1938.c:111 plugins/sudoers/check_aliases.c:168 +#: plugins/sudoers/cvtsudoers.c:131 plugins/sudoers/cvtsudoers.c:174 +#: plugins/sudoers/cvtsudoers.c:191 plugins/sudoers/cvtsudoers.c:202 +#: plugins/sudoers/cvtsudoers.c:332 plugins/sudoers/cvtsudoers.c:536 +#: plugins/sudoers/cvtsudoers.c:669 plugins/sudoers/cvtsudoers.c:687 +#: plugins/sudoers/cvtsudoers.c:862 plugins/sudoers/cvtsudoers.c:869 +#: plugins/sudoers/cvtsudoers.c:1365 plugins/sudoers/cvtsudoers.c:1369 +#: plugins/sudoers/cvtsudoers.c:1471 plugins/sudoers/cvtsudoers_csv.c:182 +#: plugins/sudoers/cvtsudoers_csv.c:245 plugins/sudoers/cvtsudoers_json.c:75 +#: plugins/sudoers/cvtsudoers_ldif.c:150 plugins/sudoers/cvtsudoers_ldif.c:193 +#: plugins/sudoers/cvtsudoers_ldif.c:234 plugins/sudoers/cvtsudoers_ldif.c:299 +#: plugins/sudoers/cvtsudoers_ldif.c:375 plugins/sudoers/cvtsudoers_ldif.c:429 +#: plugins/sudoers/cvtsudoers_ldif.c:437 plugins/sudoers/cvtsudoers_ldif.c:448 +#: plugins/sudoers/cvtsudoers_ldif.c:455 plugins/sudoers/cvtsudoers_ldif.c:467 +#: plugins/sudoers/cvtsudoers_ldif.c:480 plugins/sudoers/cvtsudoers_ldif.c:488 +#: plugins/sudoers/cvtsudoers_ldif.c:635 plugins/sudoers/cvtsudoers_merge.c:47 +#: plugins/sudoers/cvtsudoers_merge.c:51 +#: plugins/sudoers/cvtsudoers_merge.c:353 +#: plugins/sudoers/cvtsudoers_merge.c:399 +#: plugins/sudoers/cvtsudoers_merge.c:445 +#: plugins/sudoers/cvtsudoers_merge.c:466 +#: plugins/sudoers/cvtsudoers_merge.c:553 +#: plugins/sudoers/cvtsudoers_merge.c:561 +#: plugins/sudoers/cvtsudoers_merge.c:564 +#: plugins/sudoers/cvtsudoers_merge.c:630 +#: plugins/sudoers/cvtsudoers_merge.c:633 +#: plugins/sudoers/cvtsudoers_merge.c:1157 +#: plugins/sudoers/cvtsudoers_merge.c:1231 plugins/sudoers/defaults.c:434 +#: plugins/sudoers/defaults.c:657 plugins/sudoers/defaults.c:1018 +#: plugins/sudoers/defaults.c:1186 plugins/sudoers/editor.c:190 +#: plugins/sudoers/env.c:262 plugins/sudoers/exptilde.c:92 +#: plugins/sudoers/filedigest.c:54 plugins/sudoers/filedigest.c:70 +#: plugins/sudoers/gc.c:57 plugins/sudoers/group_plugin.c:132 +#: plugins/sudoers/interfaces.c:68 plugins/sudoers/iolog.c:268 +#: plugins/sudoers/iolog.c:668 plugins/sudoers/iolog.c:694 +#: plugins/sudoers/ldap.c:184 plugins/sudoers/ldap.c:464 +#: plugins/sudoers/ldap.c:755 plugins/sudoers/ldap.c:919 +#: plugins/sudoers/ldap.c:1335 plugins/sudoers/ldap.c:1761 +#: plugins/sudoers/ldap.c:1798 plugins/sudoers/ldap.c:1879 +#: plugins/sudoers/ldap.c:2014 plugins/sudoers/ldap.c:2115 +#: plugins/sudoers/ldap.c:2131 plugins/sudoers/ldap_conf.c:218 +#: plugins/sudoers/ldap_conf.c:249 plugins/sudoers/ldap_conf.c:301 +#: plugins/sudoers/ldap_conf.c:337 plugins/sudoers/ldap_conf.c:443 +#: plugins/sudoers/ldap_conf.c:458 plugins/sudoers/ldap_conf.c:563 +#: plugins/sudoers/ldap_conf.c:596 plugins/sudoers/ldap_conf.c:687 +#: plugins/sudoers/ldap_conf.c:770 plugins/sudoers/ldap_util.c:293 +#: plugins/sudoers/ldap_util.c:300 plugins/sudoers/ldap_util.c:614 +#: plugins/sudoers/linux_audit.c:86 plugins/sudoers/log_client.c:112 +#: plugins/sudoers/log_client.c:223 plugins/sudoers/log_client.c:245 +#: plugins/sudoers/log_client.c:259 plugins/sudoers/log_client.c:397 +#: plugins/sudoers/log_client.c:710 plugins/sudoers/log_client.c:731 +#: plugins/sudoers/log_client.c:1451 plugins/sudoers/log_client.c:1672 +#: plugins/sudoers/log_client.c:2003 plugins/sudoers/log_client.c:2059 +#: plugins/sudoers/logging.c:112 plugins/sudoers/logging.c:192 +#: plugins/sudoers/logging.c:193 plugins/sudoers/logging.c:461 +#: plugins/sudoers/logging.c:675 plugins/sudoers/logging.c:812 +#: plugins/sudoers/logging.c:882 plugins/sudoers/logging.c:894 +#: plugins/sudoers/match_command.c:332 plugins/sudoers/match_command.c:593 +#: plugins/sudoers/match_command.c:644 plugins/sudoers/match_command.c:719 +#: plugins/sudoers/match_command.c:766 plugins/sudoers/match_digest.c:93 +#: plugins/sudoers/parse.c:226 plugins/sudoers/parse.c:243 +#: plugins/sudoers/parse.c:262 plugins/sudoers/parse.c:281 +#: plugins/sudoers/parse.c:298 plugins/sudoers/parse.c:321 +#: plugins/sudoers/parse.c:332 plugins/sudoers/parse_ldif.c:152 +#: plugins/sudoers/parse_ldif.c:183 plugins/sudoers/parse_ldif.c:252 +#: plugins/sudoers/parse_ldif.c:260 plugins/sudoers/parse_ldif.c:265 +#: plugins/sudoers/parse_ldif.c:341 plugins/sudoers/parse_ldif.c:352 +#: plugins/sudoers/parse_ldif.c:379 plugins/sudoers/parse_ldif.c:396 +#: plugins/sudoers/parse_ldif.c:408 plugins/sudoers/parse_ldif.c:412 +#: plugins/sudoers/parse_ldif.c:426 plugins/sudoers/parse_ldif.c:484 +#: plugins/sudoers/parse_ldif.c:597 plugins/sudoers/parse_ldif.c:626 +#: plugins/sudoers/parse_ldif.c:651 plugins/sudoers/parse_ldif.c:709 +#: plugins/sudoers/parse_ldif.c:726 plugins/sudoers/parse_ldif.c:754 +#: plugins/sudoers/parse_ldif.c:761 plugins/sudoers/policy.c:152 +#: plugins/sudoers/policy.c:161 plugins/sudoers/policy.c:170 +#: plugins/sudoers/policy.c:198 plugins/sudoers/policy.c:361 +#: plugins/sudoers/policy.c:376 plugins/sudoers/policy.c:378 +#: plugins/sudoers/policy.c:414 plugins/sudoers/policy.c:423 +#: plugins/sudoers/policy.c:471 plugins/sudoers/policy.c:481 +#: plugins/sudoers/policy.c:490 plugins/sudoers/policy.c:499 +#: plugins/sudoers/policy.c:606 plugins/sudoers/policy.c:998 +#: plugins/sudoers/prompt.c:93 plugins/sudoers/pwutil.c:199 +#: plugins/sudoers/pwutil.c:270 plugins/sudoers/pwutil.c:348 +#: plugins/sudoers/pwutil.c:522 plugins/sudoers/pwutil.c:587 +#: plugins/sudoers/pwutil.c:659 plugins/sudoers/pwutil.c:857 +#: plugins/sudoers/pwutil.c:913 plugins/sudoers/pwutil.c:957 +#: plugins/sudoers/pwutil.c:1014 plugins/sudoers/set_perms.c:363 +#: plugins/sudoers/set_perms.c:706 plugins/sudoers/set_perms.c:1073 +#: plugins/sudoers/set_perms.c:1380 plugins/sudoers/set_perms.c:1549 +#: plugins/sudoers/sssd.c:144 plugins/sudoers/sssd.c:185 +#: plugins/sudoers/sssd.c:414 plugins/sudoers/sssd.c:479 +#: plugins/sudoers/sssd.c:505 plugins/sudoers/sssd.c:568 +#: plugins/sudoers/sssd.c:761 plugins/sudoers/strvec_join.c:53 +#: plugins/sudoers/stubs.c:111 plugins/sudoers/stubs.c:119 +#: plugins/sudoers/sudoers.c:349 plugins/sudoers/sudoers.c:375 +#: plugins/sudoers/sudoers.c:443 plugins/sudoers/sudoers.c:452 +#: plugins/sudoers/sudoers.c:493 plugins/sudoers/sudoers.c:858 +#: plugins/sudoers/sudoers.c:996 plugins/sudoers/sudoers.c:1055 +#: plugins/sudoers/sudoers.c:1320 plugins/sudoers/sudoreplay.c:562 +#: plugins/sudoers/sudoreplay.c:565 plugins/sudoers/sudoreplay.c:1281 +#: plugins/sudoers/sudoreplay.c:1503 plugins/sudoers/sudoreplay.c:1507 +#: plugins/sudoers/testsudoers.c:120 plugins/sudoers/testsudoers.c:224 +#: plugins/sudoers/testsudoers.c:241 plugins/sudoers/testsudoers.c:581 +#: plugins/sudoers/timestamp.c:424 plugins/sudoers/timestamp.c:468 +#: plugins/sudoers/timestamp.c:980 plugins/sudoers/timestamp.c:1118 +#: plugins/sudoers/toke_util.c:78 plugins/sudoers/toke_util.c:106 +#: plugins/sudoers/toke_util.c:131 plugins/sudoers/toke_util.c:160 +#: plugins/sudoers/toke_util.c:200 plugins/sudoers/tsdump.c:123 +#: plugins/sudoers/visudo.c:148 plugins/sudoers/visudo.c:380 +#: plugins/sudoers/visudo.c:386 plugins/sudoers/visudo.c:492 +#: plugins/sudoers/visudo.c:1048 toke.l:1023 toke.l:1155 toke.l:1218 +#: toke.l:1226 +#, c-format +msgid "%s: %s" +msgstr "%s: %s" + +#: lib/eventlog/eventlog.c:314 lib/iolog/iolog_json.c:562 +#: lib/iolog/iolog_json.c:568 lib/iolog/iolog_json.c:574 +#: plugins/sudoers/cvtsudoers_csv.c:192 plugins/sudoers/cvtsudoers_csv.c:199 +#: plugins/sudoers/cvtsudoers_ldif.c:244 plugins/sudoers/cvtsudoers_ldif.c:251 +#: plugins/sudoers/cvtsudoers_ldif.c:592 plugins/sudoers/env.c:326 +#: plugins/sudoers/env.c:333 plugins/sudoers/env.c:444 +#: plugins/sudoers/ldap.c:526 plugins/sudoers/ldap.c:759 +#: plugins/sudoers/ldap.c:1132 plugins/sudoers/ldap_conf.c:222 +#: plugins/sudoers/ldap_conf.c:312 plugins/sudoers/ldap_util.c:486 +#: plugins/sudoers/linux_audit.c:92 plugins/sudoers/logging.c:465 +#: plugins/sudoers/logging.c:820 plugins/sudoers/logging.c:830 +#: plugins/sudoers/policy.c:776 plugins/sudoers/policy.c:787 +#: plugins/sudoers/prompt.c:168 plugins/sudoers/serialize_list.c:62 +#: plugins/sudoers/serialize_list.c:71 plugins/sudoers/strvec_join.c:62 +#: plugins/sudoers/testsudoers.c:245 plugins/sudoers/toke_util.c:213 +#: toke.l:987 toke.l:1189 +#, c-format +msgid "internal error, %s overflow" +msgstr "унутрашња грешка, прекорачење „%s“" + +#: lib/eventlog/eventlog.c:373 +#, c-format +msgid "unable to dup stdin: %m" +msgstr "не могу да удвостручим стандардни улаз: %m" + +#: lib/eventlog/eventlog.c:415 +#, c-format +msgid "unable to execute %s: %m" +msgstr "не могу да извршим „%s“: %m" + +#: lib/eventlog/eventlog.c:463 plugins/sudoers/auth/aix_auth.c:198 +msgid "unable to fork" +msgstr "не могу да исцепим" + +#: lib/eventlog/eventlog.c:473 lib/eventlog/eventlog.c:538 +#, c-format +msgid "unable to fork: %m" +msgstr "не могу да исцепим: %m" + +#: lib/eventlog/eventlog.c:528 +#, c-format +msgid "unable to open pipe: %m" +msgstr "не могу да отворим спојку: %m" + +#: lib/eventlog/eventlog.c:1030 +#, c-format +msgid "%8s : %s" +msgstr "%8s : %s" + +#: lib/eventlog/eventlog.c:1059 +#, c-format +msgid "%8s : (command continued) %s" +msgstr "%8s : (наредба је настављена) %s" + +#: lib/iolog/iolog_filter.c:133 plugins/sudoers/defaults.c:1241 +#: plugins/sudoers/sudoreplay.c:1293 plugins/sudoers/sudoreplay.c:1558 +#, c-format +msgid "invalid regular expression \"%s\": %s" +msgstr "неисправан регуларан израз „%s“: %s" + +#: lib/iolog/iolog_json.c:140 +#, c-format +msgid "expected JSON_STRING, got %d" +msgstr "очекивах „JSON_STRING“, добих „%d“" + +#: lib/iolog/iolog_json.c:145 +msgid "JSON_ARRAY too large" +msgstr "„JSON_ARRAY“ је превелик" + +#: lib/iolog/iolog_json.c:404 +msgid "missing double quote in name" +msgstr "недостају наводници у називу" + +#: lib/iolog/iolog_json.c:501 +msgid "missing JSON_OBJECT" +msgstr "недостаје „JSON_OBJECT“" + +#: lib/iolog/iolog_json.c:505 +#, c-format +msgid "expected JSON_OBJECT, got %d" +msgstr "очекивах „JSON_OBJECT“, добих „%d“" + +#: lib/iolog/iolog_json.c:661 +#, c-format +msgid "json stack exhausted (max %u frames)" +msgstr "јсон спремник је исцрпљен (највише %u кадра)" + +#: lib/iolog/iolog_json.c:735 +msgid "objects must consist of name:value pairs" +msgstr "објекти морају да садрже пар „назив:вредност“" + +#: lib/iolog/iolog_json.c:740 lib/iolog/iolog_json.c:771 +#: lib/iolog/iolog_json.c:815 lib/iolog/iolog_json.c:837 +#: lib/iolog/iolog_json.c:859 lib/iolog/iolog_json.c:881 +#: lib/iolog/iolog_json.c:903 +msgid "missing separator between values" +msgstr "недостаје раздвајач између вредности" + +#: lib/iolog/iolog_json.c:755 lib/iolog/iolog_json.c:929 +msgid "unmatched close brace" +msgstr "непоклопљена затворена велика заграда" + +#: lib/iolog/iolog_json.c:766 +msgid "unexpected array" +msgstr "неочекиван низ" + +#: lib/iolog/iolog_json.c:786 lib/iolog/iolog_json.c:932 +msgid "unmatched close bracket" +msgstr "непоклопљена затворена средња заграда" + +#: lib/iolog/iolog_json.c:797 +msgid "unexpected string" +msgstr "неочекивана ниска" + +#: lib/iolog/iolog_json.c:808 +msgid "missing colon after name" +msgstr "недостају две тачке након имена" + +#: lib/iolog/iolog_json.c:829 lib/iolog/iolog_json.c:851 +msgid "unexpected boolean" +msgstr "неочекивана логичка вредност" + +#: lib/iolog/iolog_json.c:873 +msgid "unexpected null" +msgstr "неочекивана ништица" + +#: lib/iolog/iolog_json.c:894 +msgid "unexpected number" +msgstr "неочекивани број" + +#: lib/iolog/iolog_json.c:941 +msgid "parse error" +msgstr "грешка обраде" + +#: lib/iolog/iolog_legacy.c:65 +#, c-format +msgid "%s: invalid log file" +msgstr "%s: неисправна датотека дневника" + +#: lib/iolog/iolog_legacy.c:83 +#, c-format +msgid "%s: time stamp field is missing" +msgstr "%s: недостаје поље временске ознаке" + +#: lib/iolog/iolog_legacy.c:89 +#, c-format +msgid "%s: time stamp %s: %s" +msgstr "%s: временска ознака %s: %s" + +#: lib/iolog/iolog_legacy.c:96 +#, c-format +msgid "%s: user field is missing" +msgstr "%s: недостаје поље корисника" + +#: lib/iolog/iolog_legacy.c:107 +#, c-format +msgid "%s: runas user field is missing" +msgstr "%s: недостаје поље „покрени-као корисник“" + +#: lib/iolog/iolog_legacy.c:118 +#, c-format +msgid "%s: runas group field is missing" +msgstr "%s: недостаје поље „покрени-као група“" + +#: lib/iolog/iolog_mkdirs.c:89 +#, c-format +msgid "%s exists but is not a directory (0%o)" +msgstr "%s постоји али није директоријум (0%o)" + +#: lib/iolog/iolog_mkdirs.c:119 lib/iolog/iolog_mkdtemp.c:77 +#: logsrvd/iolog_writer.c:810 plugins/sudoers/timestamp.c:205 +#, c-format +msgid "unable to mkdir %s" +msgstr "не могу да направим директоријум „%s“" + +#: lib/iolog/iolog_mkdtemp.c:81 plugins/sudoers/visudo.c:747 +#: plugins/sudoers/visudo.c:781 plugins/sudoers/visudo.c:787 +#, c-format +msgid "unable to change mode of %s to 0%o" +msgstr "не могу да променим режим „%s“ на 0%o" + +#: lib/iolog/iolog_timing.c:261 +#, c-format +msgid "error reading timing file: %s" +msgstr "грешка читања датотеке временисања: %s" + +#: lib/iolog/iolog_timing.c:268 +#, c-format +msgid "invalid timing file line: %s" +msgstr "неисправан ред датотеке временисања: %s" + +#: logsrvd/iolog_writer.c:130 plugins/sudoers/logging.c:982 +#: plugins/sudoers/policy.c:573 +msgid "unable to generate UUID" +msgstr "не могу да створим УУИБ" + +#: logsrvd/iolog_writer.c:158 logsrvd/iolog_writer.c:176 +#: logsrvd/iolog_writer.c:185 logsrvd/iolog_writer.c:203 +#: logsrvd/iolog_writer.c:216 logsrvd/iolog_writer.c:229 +#: logsrvd/iolog_writer.c:240 logsrvd/iolog_writer.c:247 +#: logsrvd/iolog_writer.c:265 logsrvd/iolog_writer.c:272 +#: logsrvd/iolog_writer.c:290 logsrvd/iolog_writer.c:305 +#: logsrvd/iolog_writer.c:318 logsrvd/iolog_writer.c:331 +#: logsrvd/iolog_writer.c:344 logsrvd/iolog_writer.c:359 +#, c-format +msgid "%s: protocol error: wrong type for %s" +msgstr "%s: грешка протокола: погрешна врста за „%s“" + +#: logsrvd/iolog_writer.c:370 logsrvd/iolog_writer.c:375 +#: logsrvd/iolog_writer.c:380 logsrvd/iolog_writer.c:385 +#, c-format +msgid "%s: protocol error: %s missing from AcceptMessage" +msgstr "%s: грешка протокола: „%s“ недостаје из прихвата поруке" + +#: logsrvd/iolog_writer.c:446 +#, c-format +msgid "%s: unable to format session id" +msgstr "%s: не могу да форматирам иб сесије" + +#: logsrvd/iolog_writer.c:460 logsrvd/iolog_writer.c:474 +#: logsrvd/iolog_writer.c:488 logsrvd/iolog_writer.c:503 +#: logsrvd/iolog_writer.c:517 logsrvd/iolog_writer.c:531 +#, c-format +msgid "%s: %s is not set" +msgstr "%s: „%s“ није постављено " + +#: logsrvd/iolog_writer.c:567 logsrvd/iolog_writer.c:574 +#, c-format +msgid "unable to expand iolog path %s" +msgstr "не могу да раширим путању „%s“ У/И дневника" + +#: logsrvd/iolog_writer.c:592 +#, c-format +msgid "unable to create iolog path %s" +msgstr "не могу да створим путању „%s“ У/И дневника" + +#: logsrvd/iolog_writer.c:622 +#, c-format +msgid "invalid iofd %d" +msgstr "неисправан описник датотеке У/И %d" + +#: logsrvd/iolog_writer.c:642 +#, c-format +msgid "error closing iofd %d: %s" +msgstr "грешка затварања описника датотеке У/И %d: %s" + +#: logsrvd/iolog_writer.c:662 +#, c-format +msgid "error flushing iofd %d: %s" +msgstr "грешка исипања описника датотеке У/И %d: %s" + +#: logsrvd/iolog_writer.c:780 +#, c-format +msgid "invalid I/O log %s: %s referenced but not present" +msgstr "неисправан У/И дневник „%s“: „%s“ је упутно али није присутно" + +#: logsrvd/iolog_writer.c:792 logsrvd/logsrvd_journal.c:372 +#, c-format +msgid "%s: unable to find resume point [%lld, %ld]" +msgstr "%s: не могу да нађем тачку наставка [%lld, %ld]" + +#: logsrvd/iolog_writer.c:814 logsrvd/logsrvd_journal.c:415 +#: logsrvd/logsrvd_queue.c:110 logsrvd/tls_init.c:250 +#: plugins/sudoers/check.c:282 plugins/sudoers/cvtsudoers.c:730 +#: plugins/sudoers/cvtsudoers.c:751 plugins/sudoers/cvtsudoers.c:1431 +#: plugins/sudoers/cvtsudoers_csv.c:692 plugins/sudoers/cvtsudoers_json.c:898 +#: plugins/sudoers/cvtsudoers_ldif.c:709 plugins/sudoers/sudoers.c:1106 +#: plugins/sudoers/sudoreplay.c:1469 plugins/sudoers/timestamp.c:433 +#: plugins/sudoers/tsdump.c:128 plugins/sudoers/visudo.c:965 +#, c-format +msgid "unable to open %s" +msgstr "не могу да отворим „%s“" + +#: logsrvd/iolog_writer.c:826 logsrvd/logsrv_util.c:100 +#: logsrvd/logsrv_util.c:107 plugins/sudoers/sudoreplay.c:362 +#: plugins/sudoers/sudoreplay.c:368 +#, c-format +msgid "unable to open %s/%s" +msgstr "не могу да отворим „%s/%s“" + +#: logsrvd/iolog_writer.c:839 +#, c-format +msgid "unable to copy %s/%s to %s/%s: %s" +msgstr "не могу да умножим „%s/%s“ у „%s/%s“: %s" + +#: logsrvd/iolog_writer.c:868 logsrvd/logsrvd_journal.c:185 +#, c-format +msgid "unable to rename %s to %s" +msgstr "не могу да преименујем „%s“ у „%s“" + +#: logsrvd/logsrv_util.c:142 logsrvd/logsrv_util.c:171 +#, c-format +msgid "%s/%s: unable to find resume point [%lld, %ld]" +msgstr "%s/%s: не могу да нађем тачку наставка [%lld, %ld]" + +#: logsrvd/logsrv_util.c:154 +#, c-format +msgid "missing I/O log file %s/%s" +msgstr "недостаје У/И датотека дневника „%s/%s“" + +#: logsrvd/logsrv_util.c:161 +#, c-format +msgid "%s/%s: unable to seek forward %zu" +msgstr "%s/%s: не могу да премотам унапред „%zu“" + +#: logsrvd/logsrvd.c:266 logsrvd/logsrvd_queue.c:130 +msgid "unable to connect to relay" +msgstr "не могу да се повежем са преносником" + +#: logsrvd/logsrvd.c:325 logsrvd/logsrvd_relay.c:837 +#, c-format +msgid "server message too large: %zu" +msgstr "порука сервера је превелика: %zu" + +#: logsrvd/logsrvd.c:417 logsrvd/logsrvd.c:534 logsrvd/logsrvd.c:613 +#: logsrvd/logsrvd.c:837 logsrvd/logsrvd.c:851 logsrvd/logsrvd.c:1011 +#: logsrvd/logsrvd.c:1136 logsrvd/logsrvd.c:1309 logsrvd/logsrvd.c:1327 +#: logsrvd/logsrvd.c:1428 logsrvd/logsrvd.c:1551 logsrvd/logsrvd.c:1735 +#: logsrvd/logsrvd_journal.c:484 logsrvd/logsrvd_local.c:197 +#: logsrvd/logsrvd_queue.c:159 logsrvd/logsrvd_relay.c:167 +#: logsrvd/logsrvd_relay.c:244 logsrvd/logsrvd_relay.c:248 +#: logsrvd/logsrvd_relay.c:384 logsrvd/logsrvd_relay.c:576 +#: logsrvd/logsrvd_relay.c:737 logsrvd/logsrvd_relay.c:1124 +#: logsrvd/sendlog.c:1316 logsrvd/tls_client.c:131 logsrvd/tls_client.c:147 +#: logsrvd/tls_client.c:211 plugins/sudoers/audit.c:276 +#: plugins/sudoers/iolog.c:1031 plugins/sudoers/iolog.c:1164 +#: plugins/sudoers/iolog.c:1262 plugins/sudoers/log_client.c:116 +#: plugins/sudoers/log_client.c:338 plugins/sudoers/log_client.c:354 +#: plugins/sudoers/log_client.c:402 plugins/sudoers/log_client.c:606 +#: plugins/sudoers/log_client.c:613 plugins/sudoers/log_client.c:1138 +#: plugins/sudoers/log_client.c:1420 plugins/sudoers/log_client.c:1461 +#: plugins/sudoers/log_client.c:1469 plugins/sudoers/log_client.c:1628 +#: plugins/sudoers/log_client.c:1746 plugins/sudoers/log_client.c:2067 +#: plugins/sudoers/log_client.c:2075 plugins/sudoers/logging.c:150 +#: plugins/sudoers/logging.c:209 plugins/sudoers/sudoreplay.c:522 +#: plugins/sudoers/sudoreplay.c:569 plugins/sudoers/sudoreplay.c:811 +#: plugins/sudoers/sudoreplay.c:923 plugins/sudoers/sudoreplay.c:1014 +#: plugins/sudoers/sudoreplay.c:1029 plugins/sudoers/sudoreplay.c:1036 +#: plugins/sudoers/sudoreplay.c:1043 plugins/sudoers/sudoreplay.c:1050 +#: plugins/sudoers/sudoreplay.c:1057 plugins/sudoers/sudoreplay.c:1184 +msgid "unable to add event to queue" +msgstr "не могу да додам догађај у ред" + +#: logsrvd/logsrvd.c:441 logsrvd/logsrvd.c:478 logsrvd/logsrvd.c:510 +#: logsrvd/logsrvd.c:558 logsrvd/logsrvd.c:630 logsrvd/logsrvd.c:660 +#: logsrvd/logsrvd.c:690 logsrvd/logsrvd.c:720 logsrvd/logsrvd_relay.c:505 +#: logsrvd/logsrvd_relay.c:538 +#, c-format +msgid "unexpected state %d for %s" +msgstr "неочекивано стање %d за „%s“" + +#: logsrvd/logsrvd.c:442 logsrvd/logsrvd.c:479 logsrvd/logsrvd.c:511 +#: logsrvd/logsrvd.c:559 logsrvd/logsrvd.c:631 logsrvd/logsrvd.c:661 +#: logsrvd/logsrvd.c:691 logsrvd/logsrvd.c:721 logsrvd/logsrvd_relay.c:507 +#: logsrvd/logsrvd_relay.c:540 +msgid "state machine error" +msgstr "грешка машине стања" + +#: logsrvd/logsrvd.c:448 logsrvd/logsrvd.c:449 +msgid "invalid AcceptMessage" +msgstr "неисправна „Порука прихвата“" + +#: logsrvd/logsrvd.c:485 logsrvd/logsrvd.c:486 +msgid "invalid RejectMessage" +msgstr "неисправна „Порука одбијања“" + +#: logsrvd/logsrvd.c:593 logsrvd/logsrvd.c:594 +msgid "invalid AlertMessage" +msgstr "неисправна „Порука узбуне“" + +#: logsrvd/logsrvd.c:635 logsrvd/logsrvd.c:665 logsrvd/logsrvd.c:695 +#, c-format +msgid "%s: unexpected IoBuffer" +msgstr "%s: неочекивана У/И међумеморија" + +#: logsrvd/logsrvd.c:636 logsrvd/logsrvd.c:666 logsrvd/logsrvd.c:696 +msgid "protocol error" +msgstr "грешка протокола" + +#: logsrvd/logsrvd.c:746 logsrvd/logsrvd_journal.c:283 +#: logsrvd/logsrvd_relay.c:647 logsrvd/sendlog.c:1217 +#: plugins/sudoers/log_client.c:1618 +#, c-format +msgid "unable to unpack %s size %zu" +msgstr "не могу да отпакујем „%s“ величине %zu" + +#: logsrvd/logsrvd.c:791 logsrvd/logsrvd_journal.c:357 +#: logsrvd/logsrvd_local.c:125 logsrvd/logsrvd_relay.c:671 +#, c-format +msgid "unexpected type_case value %d in %s from %s" +msgstr "неочекивана вредност врсте_слова %d у „%s“ из „%s“" + +#: logsrvd/logsrvd.c:793 +msgid "unrecognized ClientMessage type" +msgstr "непозната врста „Поруке_клијента“" + +#: logsrvd/logsrvd.c:883 +#, c-format +msgid "timed out writing to client %s" +msgstr "истекло је време писања на клијенту „%s“" + +#: logsrvd/logsrvd.c:888 logsrvd/logsrvd_relay.c:909 logsrvd/sendlog.c:1420 +#, c-format +msgid "missing write buffer for client %s" +msgstr "недостаје међумеморија писања за клијента „%s“" + +#: logsrvd/logsrvd.c:982 +#, c-format +msgid "timed out reading from client %s" +msgstr "истекло је време читања са клијента „%s“" + +#: logsrvd/logsrvd.c:1023 logsrvd/logsrvd_relay.c:772 +#, c-format +msgid "EOF from %s without proper TLS shutdown" +msgstr "крај датотеке из „%s“ без одговарајућег ТЛС гашења" + +#: logsrvd/logsrvd.c:1067 logsrvd/logsrvd_relay.c:200 logsrvd/sendlog.c:317 +#: plugins/sudoers/log_client.c:716 +#, c-format +msgid "client message too large: %zu" +msgstr "порука клијента је превелика: %zu" + +#: logsrvd/logsrvd.c:1068 logsrvd/logsrvd_journal.c:246 +#: logsrvd/logsrvd_journal.c:247 +msgid "client message too large" +msgstr "порука клијента је превелика" + +#: logsrvd/logsrvd.c:1086 logsrvd/logsrvd.c:1087 +msgid "invalid ClientMessage" +msgstr "неисправна „Порука клијента“" + +#: logsrvd/logsrvd.c:1389 +msgid "unable to get remote IP addr" +msgstr "не могу да добавим удаљену ИП адресу" + +#: logsrvd/logsrvd.c:1420 logsrvd/tls_client.c:198 +#: plugins/sudoers/log_client.c:276 +#, c-format +msgid "Unable to attach user data to the ssl object: %s" +msgstr "Не могу да прикачим податке корисника ссл објекту: %s" + +#: logsrvd/logsrvd.c:1601 logsrvd/logsrvd.c:1953 +msgid "unable to setup listen socket" +msgstr "не могу да подесим прикључницу ослушкивања" + +#: logsrvd/logsrvd.c:1718 +#, c-format +msgid "unexpected signal %d" +msgstr "неочекивани сигнал %d" + +#: logsrvd/logsrvd.c:1855 +msgid "sudo log server" +msgstr "сервер судо дневника" + +#: logsrvd/logsrvd.c:1857 logsrvd/sendlog.c:116 +msgid "Options:" +msgstr "Опције:" + +#: logsrvd/logsrvd.c:1859 +msgid "path to configuration file" +msgstr "путања до датотеке подешавања" + +#: logsrvd/logsrvd.c:1861 logsrvd/sendlog.c:118 +msgid "display help message and exit" +msgstr "приказује поруку помоћи и излази" + +#: logsrvd/logsrvd.c:1863 +msgid "do not fork, run in the foreground" +msgstr "не клонира, ради у првом плану" + +#: logsrvd/logsrvd.c:1865 +msgid "percent chance connections will drop" +msgstr "просенат шанси за одбацивање веза" + +#: logsrvd/logsrvd.c:1867 logsrvd/sendlog.c:148 +msgid "display version information and exit" +msgstr "приказује податке о издању и излази" + +#: logsrvd/logsrvd.c:1917 logsrvd/sendlog.c:1725 +msgid "Protobuf-C version 1.3 or higher required" +msgstr "Потребно је „Protobuf-C“ издање 1.3 или новије" + +#: logsrvd/logsrvd.c:1933 +#, c-format +msgid "invalid random drop value: %s" +msgstr "неисправна вредност одбацивања насумичности: %s" + +#: logsrvd/logsrvd.c:1936 logsrvd/sendlog.c:1779 +#: plugins/sudoers/cvtsudoers.c:246 plugins/sudoers/sudoreplay.c:301 +#: plugins/sudoers/visudo.c:180 +#, c-format +msgid "%s version %s\n" +msgstr "%s издање %s\n" + +#: logsrvd/logsrvd_conf.c:417 plugins/sudoers/check.c:347 +#: plugins/sudoers/exptilde.c:85 plugins/sudoers/iolog.c:122 +#: plugins/sudoers/policy.c:1234 plugins/sudoers/sudoers.c:500 +#: plugins/sudoers/sudoers.c:1362 plugins/sudoers/testsudoers.c:215 +#: plugins/sudoers/testsudoers.c:382 +#, c-format +msgid "unknown user %s" +msgstr "непознат корисник „%s“" + +#: logsrvd/logsrvd_conf.c:434 plugins/sudoers/iolog.c:148 +#: plugins/sudoers/sudoers.c:505 plugins/sudoers/sudoers.c:1396 +#: plugins/sudoers/testsudoers.c:406 +#, c-format +msgid "unknown group %s" +msgstr "непозната група „%s“" + +#: logsrvd/logsrvd_conf.c:452 +#, c-format +msgid "unable to parse iolog mode %s" +msgstr "не могу да обрадим режим У/И дневника „%s“" + +#: logsrvd/logsrvd_conf.c:469 logsrvd/logsrvd_conf.c:1238 +#, c-format +msgid "invalid value for %s: %s" +msgstr "неисправна вредност за „%s“: %s" + +#: logsrvd/logsrvd_conf.c:522 +msgid "TLS not supported" +msgstr "ТЛС није подржано" + +#: logsrvd/logsrvd_conf.c:544 +#, c-format +msgid "%s:%s" +msgstr "%s:%s" + +#: logsrvd/logsrvd_conf.c:617 logsrvd/logsrvd_conf.c:1027 +#, c-format +msgid "%s: not a fully qualified path" +msgstr "%s: није потпуно квалификована путања" + +#: logsrvd/logsrvd_conf.c:945 logsrvd/logsrvd_conf.c:961 +#: logsrvd/logsrvd_conf.c:1671 +#, c-format +msgid "unknown syslog facility %s" +msgstr "непознато постројење системског дневика „%s“" + +#: logsrvd/logsrvd_conf.c:977 logsrvd/logsrvd_conf.c:993 +#: logsrvd/logsrvd_conf.c:1009 logsrvd/logsrvd_conf.c:1675 +#: logsrvd/logsrvd_conf.c:1679 logsrvd/logsrvd_conf.c:1683 +#, c-format +msgid "unknown syslog priority %s" +msgstr "непознат приоритет системског дневика „%s“" + +#: logsrvd/logsrvd_conf.c:1192 +#, c-format +msgid "%s:%d unmatched '[': %s" +msgstr "„%s:%d“ непоклопљена [: %s" + +#: logsrvd/logsrvd_conf.c:1198 +#, c-format +msgid "%s:%d garbage after ']': %s" +msgstr "„%s:%d“ ђубре након ]: %s" + +#: logsrvd/logsrvd_conf.c:1210 +#, c-format +msgid "%s:%d invalid config section: %s" +msgstr "„%s:%d“ неисправан одељак подешавања: %s" + +#: logsrvd/logsrvd_conf.c:1218 +#, c-format +msgid "%s:%d invalid configuration line: %s" +msgstr "„%s:%d“ неисправан ред подешавања: %s" + +#: logsrvd/logsrvd_conf.c:1224 +#, c-format +msgid "%s:%d expected section name: %s" +msgstr "„%s:%d“ очекиван је назив одељка: %s" + +#: logsrvd/logsrvd_conf.c:1246 +#, c-format +msgid "%s:%d [%s] illegal key: %s" +msgstr "%s:%d [%s] неисправан кључ: %s" + +#: logsrvd/logsrvd_conf.c:1276 plugins/sudoers/cvtsudoers.c:268 +#: plugins/sudoers/logging.c:1035 +#, c-format +msgid "unable to open log file %s" +msgstr "не могу да отворим датотеку дневника „%s“" + +#: logsrvd/logsrvd_conf.c:1757 +msgid "unable to initialize server TLS context" +msgstr "не могу да покренем ТЛС контекст сервера" + +#: logsrvd/logsrvd_conf.c:1777 +msgid "unable to initialize relay TLS context" +msgstr "не могу да покренем ТЛС контекст преносника" + +#: logsrvd/logsrvd_journal.c:136 logsrvd/logsrvd_journal.c:411 +#: logsrvd/logsrvd_journal.c:416 +msgid "unable to create journal file" +msgstr "не могу да направим датотеку дневника" + +#: logsrvd/logsrvd_journal.c:140 logsrvd/logsrvd_queue.c:104 +#: plugins/sudoers/visudo.c:1020 +#, c-format +msgid "unable to lock %s" +msgstr "не могу да закључам „%s“" + +#: logsrvd/logsrvd_journal.c:143 +msgid "unable to lock journal file" +msgstr "не могу да закључам датотеку дневника" + +#: logsrvd/logsrvd_journal.c:151 +msgid "unable to open journal file" +msgstr "не могу да отворим датотеку дневника" + +#: logsrvd/logsrvd_journal.c:172 logsrvd/logsrvd_journal.c:447 +#: logsrvd/logsrvd_journal.c:452 +msgid "unable to write journal file" +msgstr "не могу да запишем датотеку дневника" + +#: logsrvd/logsrvd_journal.c:180 logsrvd/logsrvd_journal.c:187 +msgid "unable to rename journal file" +msgstr "не могу да преименујем датотеку дневника" + +#: logsrvd/logsrvd_journal.c:234 logsrvd/logsrvd_journal.c:235 +#: logsrvd/logsrvd_journal.c:269 logsrvd/logsrvd_journal.c:270 +msgid "unexpected EOF reading journal file" +msgstr "неочекивани крај датотеке читајући датотеку дневника" + +#: logsrvd/logsrvd_journal.c:238 logsrvd/logsrvd_journal.c:239 +#: logsrvd/logsrvd_journal.c:273 logsrvd/logsrvd_journal.c:274 +msgid "error reading journal file" +msgstr "грешка читања датотеке дневника" + +#: logsrvd/logsrvd_journal.c:285 logsrvd/logsrvd_journal.c:371 +msgid "invalid journal file, unable to restart" +msgstr "неисправна датотека дневника, не могу поново да почнем" + +#: logsrvd/logsrvd_journal.c:430 +#, c-format +msgid "unable to seek to [%lld, %ld] in journal file %s" +msgstr "не могу да премотам на [%lld, %ld] у датотеци дневника „%s“" + +#: logsrvd/logsrvd_local.c:153 +msgid "error parsing AcceptMessage" +msgstr "грешка обраде „Поруке прихвата“" + +#: logsrvd/logsrvd_local.c:164 +msgid "error creating I/O log" +msgstr "грешка стварања У/И дневника" + +#: logsrvd/logsrvd_local.c:187 +msgid "error logging accept event" +msgstr "грешка прибележавања догађаја прихвата" + +#: logsrvd/logsrvd_local.c:226 +msgid "error parsing RejectMessage" +msgstr "грешка обраде „Поруке одбијања“" + +#: logsrvd/logsrvd_local.c:250 +msgid "error logging reject event" +msgstr "грешка прибележавања догађаја одбијања" + +#: logsrvd/logsrvd_local.c:386 logsrvd/logsrvd_local.c:394 +msgid "error logging exit event" +msgstr "грешка прибележавања догађаја излаза" + +#: logsrvd/logsrvd_local.c:451 logsrvd/logsrvd_local.c:452 +msgid "log is already complete, cannot be restarted" +msgstr "дневик је већ довршен, не може бити поново покренут" + +#: logsrvd/logsrvd_local.c:482 +msgid "unable to restart log" +msgstr "не могу поново да покренем дневник" + +#: logsrvd/logsrvd_local.c:498 +msgid "error parsing AlertMessage" +msgstr "грешка обраде „Поруке узбуне“" + +#: logsrvd/logsrvd_local.c:508 +msgid "error logging alert event" +msgstr "грешка прибележавања догађаја упозорења" + +#: logsrvd/logsrvd_local.c:544 logsrvd/logsrvd_local.c:607 +#: logsrvd/logsrvd_local.c:642 +#, c-format +msgid "unable to format timing buffer, length %d" +msgstr "не могу да обликујем међумеморију временисања, трајање %d" + +#: logsrvd/logsrvd_local.c:558 logsrvd/logsrvd_local.c:566 +#: logsrvd/logsrvd_local.c:614 logsrvd/logsrvd_local.c:649 +#: plugins/sudoers/sudoreplay.c:351 +#, c-format +msgid "%s/%s: %s" +msgstr "%s/%s: %s" + +#: logsrvd/logsrvd_local.c:577 +msgid "randomly dropping connection" +msgstr "насумично одбацујем везу" + +#: logsrvd/logsrvd_local.c:589 +msgid "error writing IoBuffer" +msgstr "Грешка писања „Уи_Међумеморије“" + +#: logsrvd/logsrvd_local.c:624 +msgid "error writing ChangeWindowSize" +msgstr "грешка писања „Промени_величину_прозора“" + +#: logsrvd/logsrvd_local.c:659 +msgid "error writing CommandSuspend" +msgstr "грешка писања „Обуставе_наредбе“" + +#: logsrvd/logsrvd_relay.c:430 +msgid "TLS handshake with relay host failed" +msgstr "ТЛС руковање са домаћином преносника није успело" + +#: logsrvd/logsrvd_relay.c:458 +msgid "unable to connect to relay host" +msgstr "Не могу да се повежем са домаћином преносника" + +#: logsrvd/logsrvd_relay.c:513 +#, c-format +msgid "%s: invalid ServerHello, missing server_id" +msgstr "%s: неисправан поздрав сервера, недостаје иб сервера" + +#: logsrvd/logsrvd_relay.c:515 logsrvd/sendlog.c:1121 +#: plugins/sudoers/log_client.c:1504 +msgid "invalid ServerHello" +msgstr "неисправан „Поздрав_сервера“" + +#: logsrvd/logsrvd_relay.c:674 +msgid "unrecognized ServerMessage type" +msgstr "непозната врста „Поруке_сервера“" + +#: logsrvd/logsrvd_relay.c:703 +#, c-format +msgid "timed out reading from relay %s (%s)" +msgstr "истекло је време читања са преносника „%s“ (%s)" + +#: logsrvd/logsrvd_relay.c:705 +msgid "timeout reading from relay" +msgstr "истекло је време читања са преносника" + +#: logsrvd/logsrvd_relay.c:757 +msgid "relay host name does not match certificate" +msgstr "назив домаћина преносника не одговара уверењу" + +#: logsrvd/logsrvd_relay.c:763 logsrvd/logsrvd_relay.c:777 +#: logsrvd/logsrvd_relay.c:784 +msgid "error reading from relay" +msgstr "грешка читања са преносника" + +#: logsrvd/logsrvd_relay.c:805 +msgid "unable to read from relay" +msgstr "не могу да читам са преносника" + +#: logsrvd/logsrvd_relay.c:820 logsrvd/logsrvd_relay.c:938 +msgid "relay server closed connection" +msgstr "сервер преносника је затворио везу" + +#: logsrvd/logsrvd_relay.c:838 +msgid "server message too large" +msgstr "порука сервера је превелика" + +#: logsrvd/logsrvd_relay.c:902 +#, c-format +msgid "timed out writing to relay %s (%s)" +msgstr "истекло је време писања на преноснику „%s“ (%s)" + +#: logsrvd/logsrvd_relay.c:904 +msgid "timeout writing to relay" +msgstr "истекло је време писања на преноснику" + +#: logsrvd/logsrvd_relay.c:957 logsrvd/logsrvd_relay.c:964 +#: logsrvd/logsrvd_relay.c:974 +msgid "error writing to relay" +msgstr "грешка писања на преноснику" + +#: logsrvd/sendlog.c:114 +msgid "send sudo I/O log to remote server" +msgstr "шаље У/И дневник судоа удаљеном серверу" + +#: logsrvd/sendlog.c:120 +msgid "only send an accept event (no I/O)" +msgstr "шаље само догађај прихвата (не У/И)" + +#: logsrvd/sendlog.c:123 +msgid "certificate bundle file to verify server's cert against" +msgstr "датотека скупа уверења за проверавање уверења сервера" + +#: logsrvd/sendlog.c:125 +msgid "certificate file for TLS handshake" +msgstr "датотека уверења за ТЛС руковање" + +#: logsrvd/sendlog.c:128 +msgid "host to send logs to" +msgstr "домаћин коме шаље дневнике" + +#: logsrvd/sendlog.c:130 +msgid "remote ID of I/O log to be resumed" +msgstr "ИБ удаљеног У/И дневника који ће бити враћен" + +#: logsrvd/sendlog.c:133 +msgid "private key file" +msgstr "датотека приватног кључа" + +#: logsrvd/sendlog.c:135 +msgid "do not verify server certificate" +msgstr "не проверава уверење сервера" + +#: logsrvd/sendlog.c:138 +msgid "port to use when connecting to host" +msgstr "прикључник за коришћење приликом повезивања на домаћина" + +#: logsrvd/sendlog.c:140 +msgid "restart previous I/O log transfer" +msgstr "поново покреће претходни пренос У/И дневника" + +#: logsrvd/sendlog.c:142 +msgid "reject the command with the given reason" +msgstr "одбацује наредбу са датим разлогом" + +#: logsrvd/sendlog.c:144 +msgid "stop transfer after reaching this time" +msgstr "прекида пренос након достизања овог времена" + +#: logsrvd/sendlog.c:146 +msgid "test audit server by sending selected I/O log n times in parallel" +msgstr "тестира анкетни сервер шаљући изабрани У/И дневник n пута у паралели" + +#: logsrvd/sendlog.c:171 plugins/sudoers/log_client.c:448 +#, c-format +msgid "unable to look up %s:%s: %s" +msgstr "не могу да потражим „%s:%s“: %s" + +#: logsrvd/sendlog.c:209 +msgid "unable to get server IP addr" +msgstr "не могу да добавим ИП адресу сервера" + +#: logsrvd/sendlog.c:295 plugins/sudoers/sudoreplay.c:871 +#, c-format +msgid "unable to read %s/%s: %s" +msgstr "не могу да прочитам „%s/%s“: %s" + +#: logsrvd/sendlog.c:1045 plugins/sudoers/iolog.c:949 +#: plugins/sudoers/iolog.c:1024 +#, c-format +msgid "unexpected I/O event %d" +msgstr "неочекивани У/И догађај „%d“" + +#: logsrvd/sendlog.c:1098 logsrvd/sendlog.c:1115 logsrvd/sendlog.c:1149 +#: plugins/sudoers/log_client.c:1153 plugins/sudoers/log_client.c:1430 +#: plugins/sudoers/log_client.c:1498 plugins/sudoers/log_client.c:1537 +#, c-format +msgid "%s: unexpected state %d" +msgstr "%s: неочекивано стање „%d“" + +#: logsrvd/sendlog.c:1185 plugins/sudoers/log_client.c:1586 +#, c-format +msgid "error message received from server: %s" +msgstr "порука грешке је примљена са сервера: %s" + +#: logsrvd/sendlog.c:1198 plugins/sudoers/log_client.c:1599 +#, c-format +msgid "abort message received from server: %s" +msgstr "порука прекида је примљена са сервера: %s" + +#: logsrvd/sendlog.c:1257 plugins/sudoers/log_client.c:1649 +#, c-format +msgid "%s: unexpected type_case value %d" +msgstr "%s: неочекивана вредност врсте_слова „%d“" + +#: logsrvd/sendlog.c:1286 +msgid "timeout reading from server" +msgstr "истекло је време читања са сервера" + +#: logsrvd/sendlog.c:1335 plugins/sudoers/log_client.c:1765 +msgid "host name does not match certificate" +msgstr "назив домаћина не одговара уверењу" + +#: logsrvd/sendlog.c:1368 +msgid "premature EOF" +msgstr "прерани крај датотеке" + +#: logsrvd/sendlog.c:1381 plugins/sudoers/log_client.c:1812 +#, c-format +msgid "server message too large: %u" +msgstr "порука сервера је превелика: %u" + +#: logsrvd/sendlog.c:1437 +msgid "timeout writing to server" +msgstr "истекло је време писања на сервер" + +#: logsrvd/sendlog.c:1802 +msgid "both restart point and iolog ID must be specified" +msgstr "мора бити наведена и тачка поновног покретања и ИБ уи_дневника" + +#: logsrvd/sendlog.c:1806 +msgid "a restart point may not be set when no I/O is sent" +msgstr "тачка поновног покретања се не може подесити када није послат У/И" + +#: logsrvd/sendlog.c:1882 +#, c-format +msgid "exited prematurely with state %d" +msgstr "изађох прерано са стањем „%d“" + +#: logsrvd/sendlog.c:1883 +#, c-format +msgid "elapsed time sent to server [%lld, %ld]" +msgstr "протекло време послато серверу [%lld, %ld]" + +#: logsrvd/sendlog.c:1885 +#, c-format +msgid "commit point received from server [%lld, %ld]" +msgstr "тачка слања примљена са сервера [%lld, %ld]" + +#: logsrvd/tls_client.c:106 plugins/sudoers/log_client.c:310 +msgid "TLS handshake timeout occurred" +msgstr "дошло је до временског истека ТЛС руковања" + +#: logsrvd/tls_client.c:126 logsrvd/tls_client.c:142 +#: plugins/sudoers/log_client.c:332 plugins/sudoers/log_client.c:348 +msgid "unable to set event" +msgstr "не могу да подесим догађај" + +#: logsrvd/tls_client.c:152 logsrvd/tls_client.c:156 +#, c-format +msgid "TLS connection failed: %s" +msgstr "ТЛС веза није успела: %s" + +#: logsrvd/tls_client.c:191 +#, c-format +msgid "unable to allocate ssl object: %s" +msgstr "не могу да доделим ссл објекат: %s" + +#: logsrvd/tls_client.c:205 +#, c-format +msgid "Unable to attach socket to the ssl object: %s" +msgstr "Не могу да прикачим прикључницу ссл објекту: %s" + +#: logsrvd/tls_client.c:233 +msgid "unable to initialize TLS context" +msgstr "не могу да покренем ТЛС контекст" + +#: logsrvd/tls_init.c:132 logsrvd/tls_init.c:140 +#, c-format +msgid "unable to set TLS 1.2 ciphersuite to %s: %s" +msgstr "не могу да подесим шифрарник ТЛС-а 1.2 на „%s“: %s" + +#: logsrvd/tls_init.c:160 logsrvd/tls_init.c:168 +#, c-format +msgid "unable to set TLS 1.3 ciphersuite to %s: %s" +msgstr "не могу да подесим шифрарник ТЛС-а 1.3 на „%s“: %s" + +#: logsrvd/tls_init.c:200 logsrvd/tls_init.c:221 +#, c-format +msgid "unable to set diffie-hellman parameters: %s" +msgstr "не могу да подесим „diffie-hellman“ параметре: %s" + +#: logsrvd/tls_init.c:277 +#, c-format +msgid "unable to create TLS context: %s" +msgstr "Не могу да створим ТЛС контекст: %s" + +#: logsrvd/tls_init.c:284 +#, c-format +msgid "unable to set minimum protocol version to TLS 1.2: %s" +msgstr "не могу да подесим најмање издање протокола на „TLS 1.2“: %s" + +#: plugins/sudoers/audit.c:267 plugins/sudoers/audit.c:419 +#: plugins/sudoers/log_client.c:986 plugins/sudoers/log_client.c:1035 +#: plugins/sudoers/log_client.c:1084 plugins/sudoers/log_client.c:1210 +#: plugins/sudoers/logging.c:599 plugins/sudoers/logging.c:696 +#: plugins/sudoers/logging.c:800 plugins/sudoers/logging.c:989 +#: plugins/sudoers/policy.c:123 +msgid "unable to get time of day" +msgstr "не могу да добавим време дана" + +#: plugins/sudoers/auth/aix_auth.c:280 +#, c-format +msgid "unable to change password for %s" +msgstr "не могу да изменим лозинку за „%s“" + +#: plugins/sudoers/auth/bsdauth.c:74 +#, c-format +msgid "unable to get login class for user %s" +msgstr "не могу да добавим разред пријаве за корисника „%s“" + +#: plugins/sudoers/auth/bsdauth.c:79 +msgid "unable to begin bsd authentication" +msgstr "не могу да почнем бсд потврђивање идентитета" + +#: plugins/sudoers/auth/bsdauth.c:87 +msgid "invalid authentication type" +msgstr "неисправна врста потврђивање идентитета" + +#: plugins/sudoers/auth/bsdauth.c:96 +msgid "unable to initialize BSD authentication" +msgstr "не могу да покренем БСД потврђивање идентитета" + +#: plugins/sudoers/auth/bsdauth.c:186 +msgid "your account has expired" +msgstr "ваш налог је истекао" + +#: plugins/sudoers/auth/bsdauth.c:188 +msgid "approval failed" +msgstr "доказивање није успело" + +#: plugins/sudoers/auth/fwtk.c:61 +msgid "unable to read fwtk config" +msgstr "не могу да читам „fwtk“ подешавања" + +#: plugins/sudoers/auth/fwtk.c:66 +msgid "unable to connect to authentication server" +msgstr "не могу да се повежем на сервер потврђивања идентитета" + +#: plugins/sudoers/auth/fwtk.c:72 plugins/sudoers/auth/fwtk.c:97 +#: plugins/sudoers/auth/fwtk.c:129 +msgid "lost connection to authentication server" +msgstr "изгубио сам везу са сервером потврђивања идентитета" + +#: plugins/sudoers/auth/fwtk.c:76 +#, c-format +msgid "" +"authentication server error:\n" +"%s" +msgstr "" +"грешка сервера потврђивања идентитета:\n" +"%s" + +#: plugins/sudoers/auth/kerb5.c:115 +#, c-format +msgid "%s: unable to convert principal to string ('%s'): %s" +msgstr "%s: не могу да претворим главника у ниску („%s“): %s" + +#: plugins/sudoers/auth/kerb5.c:164 +#, c-format +msgid "%s: unable to parse '%s': %s" +msgstr "%s: не могу да обрадим „%s“: %s" + +#: plugins/sudoers/auth/kerb5.c:173 +#, c-format +msgid "%s: unable to resolve credential cache: %s" +msgstr "%s: не могу да решим оставу пуномоћства: %s" + +#: plugins/sudoers/auth/kerb5.c:222 +#, c-format +msgid "%s: unable to allocate options: %s" +msgstr "%s: не могу да доделим опције: %s" + +#: plugins/sudoers/auth/kerb5.c:237 +#, c-format +msgid "%s: unable to get credentials: %s" +msgstr "%s: не могу да добавим пуномоћства: %s" + +#: plugins/sudoers/auth/kerb5.c:250 +#, c-format +msgid "%s: unable to initialize credential cache: %s" +msgstr "%s: не могу да покренем оставу пуномоћства: %s" + +#: plugins/sudoers/auth/kerb5.c:253 +#, c-format +msgid "%s: unable to store credential in cache: %s" +msgstr "%s: не могу да сместим пуномоћства у оставу: %s" + +#: plugins/sudoers/auth/kerb5.c:317 +#, c-format +msgid "%s: unable to get host principal: %s" +msgstr "%s: не могу да добавим главника домаћина: %s" + +#: plugins/sudoers/auth/kerb5.c:331 +#, c-format +msgid "%s: Cannot verify TGT! Possible attack!: %s" +msgstr "%s: Не могу потврдити ТГТ! Могући напад!: %s" + +#: plugins/sudoers/auth/pam.c:224 +#, c-format +msgid "unable to initialize PAM: %s" +msgstr "не могу да покренем ПАМ: %s" + +#: plugins/sudoers/auth/pam.c:337 +#, c-format +msgid "PAM authentication error: %s" +msgstr "Грешка ПАМ потврђивања идентитета: %s" + +#: plugins/sudoers/auth/pam.c:356 +msgid "account validation failure, is your account locked?" +msgstr "неуспех провере налога, да ли је ваш налог закључан?" + +#: plugins/sudoers/auth/pam.c:367 +msgid "Account or password is expired, reset your password and try again" +msgstr "Налог или лозинка је истекла, поново поставите лозинку и покушајте поново" + +#: plugins/sudoers/auth/pam.c:373 +#, c-format +msgid "unable to change expired password: %s" +msgstr "не могу да изменим истеклу лозинку: %s" + +#: plugins/sudoers/auth/pam.c:384 +msgid "Password expired, contact your system administrator" +msgstr "Лозинка је истекла, обратите се администратору система" + +#: plugins/sudoers/auth/pam.c:389 +msgid "Account expired or PAM config lacks an \"account\" section for sudo, contact your system administrator" +msgstr "Налог је истекао или ПАМ подешавањима недостаје одељак „налог“ за судо, обратите се администратору система" + +#: plugins/sudoers/auth/pam.c:397 plugins/sudoers/auth/pam.c:402 +#, c-format +msgid "PAM account management error: %s" +msgstr "грешка управљања ПАМ налогом: %s" + +#: plugins/sudoers/auth/rfc1938.c:99 plugins/sudoers/visudo.c:266 +#, c-format +msgid "you do not exist in the %s database" +msgstr "ви не постојите у бази подтака „%s“" + +#: plugins/sudoers/auth/securid5.c:75 +msgid "failed to initialise the ACE API library" +msgstr "нисам успео да покренем АЦЕ АПИ библиотеку" + +#: plugins/sudoers/auth/securid5.c:106 +msgid "unable to contact the SecurID server" +msgstr "не могу да ступим у везу са сервером безбеднног ИБ-а" + +#: plugins/sudoers/auth/securid5.c:115 +msgid "User ID locked for SecurID Authentication" +msgstr "ИБ корисника је закључан за потврђивање идентитета безбедног ИБ-а" + +#: plugins/sudoers/auth/securid5.c:119 plugins/sudoers/auth/securid5.c:170 +msgid "invalid username length for SecurID" +msgstr "неисправна дужина корисничког имена за безбедни ИБ" + +#: plugins/sudoers/auth/securid5.c:123 plugins/sudoers/auth/securid5.c:175 +msgid "invalid Authentication Handle for SecurID" +msgstr "неисправна ручка потврђивања идентитета за безбедни ИБ" + +#: plugins/sudoers/auth/securid5.c:127 +msgid "SecurID communication failed" +msgstr "Није успело комуницирање безбедног ИБ-а" + +#: plugins/sudoers/auth/securid5.c:131 plugins/sudoers/auth/securid5.c:218 +msgid "unknown SecurID error" +msgstr "непозната грешка безбедног ИБ-а" + +#: plugins/sudoers/auth/securid5.c:165 +msgid "invalid passcode length for SecurID" +msgstr "неисправна дужина пропусне шифре за безбедни ИБ" + +#: plugins/sudoers/auth/sia.c:69 plugins/sudoers/auth/sia.c:126 +msgid "unable to initialize SIA session" +msgstr "не могу да покренем СИА сесију" + +#: plugins/sudoers/auth/sudo_auth.c:135 +msgid "invalid authentication methods" +msgstr "неисправни начини потврђивања идентитета" + +#: plugins/sudoers/auth/sudo_auth.c:137 +msgid "Invalid authentication methods compiled into sudo! You may not mix standalone and non-standalone authentication." +msgstr "Неисправни начини потврђивања идентитета су преведени у судоу! Не можете мешати самостално и несамостално потврђивање идентитета." + +#: plugins/sudoers/auth/sudo_auth.c:258 plugins/sudoers/auth/sudo_auth.c:310 +msgid "no authentication methods" +msgstr "нема начина потврђивања идентитета" + +#: plugins/sudoers/auth/sudo_auth.c:260 +msgid "There are no authentication methods compiled into sudo! If you want to turn off authentication, use the --disable-authentication configure option." +msgstr "Нема начина потврђивања идентитета преведених у судоу! Ако желите да искључите потврђивање идентитета, користите „--disable-authentication“." + +#: plugins/sudoers/auth/sudo_auth.c:312 +msgid "Unable to initialize authentication methods." +msgstr "Не могу да покренем методе потврђивања идентитета." + +#: plugins/sudoers/auth/sudo_auth.c:486 +msgid "Authentication methods:" +msgstr "Начини потврђивања идентитета:" + +#: plugins/sudoers/bsm_audit.c:123 plugins/sudoers/bsm_audit.c:214 +msgid "Could not determine audit condition" +msgstr "Не могу да утврдим услов прегледа" + +#: plugins/sudoers/bsm_audit.c:188 plugins/sudoers/bsm_audit.c:277 +msgid "unable to commit audit record" +msgstr "не могу да предам снимак прегледа" + +#: plugins/sudoers/check.c:275 +#, c-format +msgid "error reading lecture file %s" +msgstr "грешка читања датотеке обучавања „%s“" + +#: plugins/sudoers/check.c:278 +#, c-format +msgid "ignoring lecture file %s: not a regular file" +msgstr "занемарујем датотеку обучавања „%s“: није обична датотека" + +#: plugins/sudoers/check.c:291 +msgid "" +"\n" +"We trust you have received the usual lecture from the local System\n" +"Administrator. It usually boils down to these three things:\n" +"\n" +" #1) Respect the privacy of others.\n" +" #2) Think before you type.\n" +" #3) With great power comes great responsibility.\n" +"\n" +msgstr "" +"\n" +"Верујемо да вам је администратор система објаснио неке ствари.\n" +"Обично се своде на следеће три:\n" +"\n" +" #1) Поштујте приватност других.\n" +" #2) Размислите пре куцања.\n" +" #3) Са великом моћи долази и велика одговорност.\n" +"\n" + +#: plugins/sudoers/check.c:342 plugins/sudoers/check.c:352 +#: plugins/sudoers/parse.c:64 plugins/sudoers/sudoers.c:901 +#: plugins/sudoers/sudoers.c:922 plugins/sudoers/tsdump.c:119 +#, c-format +msgid "unknown uid %u" +msgstr "непознат јиб %u" + +#: plugins/sudoers/check_aliases.c:99 plugins/sudoers/defaults.c:1278 +#, c-format +msgid "%s: %s\n" +msgstr "%s: %s\n" + +#: plugins/sudoers/check_aliases.c:133 +#, c-format +msgid "cycle in %s \"%s\"" +msgstr "циклус у „%s“ „%s“" + +#: plugins/sudoers/check_aliases.c:136 +#, c-format +msgid "%s \"%s\" referenced but not defined" +msgstr "упута за „%s“ „%s“ постоји али није дефинисана" + +#: plugins/sudoers/cvtsudoers.c:209 +#, c-format +msgid "order increment: %s: %s" +msgstr "повећање поретка: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:228 +#, c-format +msgid "starting order: %s: %s" +msgstr "поредак почетка: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:238 +#, c-format +msgid "order padding: %s: %s" +msgstr "попуњавање поретка: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:248 plugins/sudoers/visudo.c:182 +#, c-format +msgid "%s grammar version %d\n" +msgstr "%s граматика издање %d\n" + +#: plugins/sudoers/cvtsudoers.c:277 plugins/sudoers/testsudoers.c:159 +#, c-format +msgid "unsupported input format %s" +msgstr "неподржан запис улаза „%s“" + +#: plugins/sudoers/cvtsudoers.c:295 +#, c-format +msgid "unsupported output format %s" +msgstr "неподржан запис излаза „%s“" + +#: plugins/sudoers/cvtsudoers.c:385 +#, c-format +msgid "%s: input and output files must be different" +msgstr "%s: улазна датотека треба да се разликује од излазне" + +#: plugins/sudoers/cvtsudoers.c:399 plugins/sudoers/sudoers.c:165 +#: plugins/sudoers/sudoers.c:217 plugins/sudoers/testsudoers.c:254 +#: plugins/sudoers/visudo.c:275 plugins/sudoers/visudo.c:644 +#: plugins/sudoers/visudo.c:969 +msgid "unable to initialize sudoers default values" +msgstr "не могу да покренем основне вредности судоерса" + +#: plugins/sudoers/cvtsudoers.c:525 plugins/sudoers/ldap_conf.c:433 +#, c-format +msgid "%s: %s: %s: %s" +msgstr "%s: %s: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:584 +#, c-format +msgid "%s: unknown key word %s" +msgstr "%s: непозната реч кључа „%s“" + +#: plugins/sudoers/cvtsudoers.c:630 +#, c-format +msgid "invalid defaults type: %s" +msgstr "неисправна врста основности: %s" + +#: plugins/sudoers/cvtsudoers.c:653 +#, c-format +msgid "invalid suppression type: %s" +msgstr "неисправна врста потискивања: %s" + +#: plugins/sudoers/cvtsudoers.c:694 plugins/sudoers/cvtsudoers.c:710 +#, c-format +msgid "invalid filter: %s" +msgstr "неисправан филтер: %s" + +#: plugins/sudoers/cvtsudoers.c:754 plugins/sudoers/visudo.c:974 +#, c-format +msgid "failed to parse %s file, unknown error" +msgstr "нисам успео да обрадим %s датотеку, непозната грешка" + +#: plugins/sudoers/cvtsudoers.c:1478 plugins/sudoers/sudoreplay.c:1145 +#: plugins/sudoers/timestamp.c:317 plugins/sudoers/timestamp.c:320 +#, c-format +msgid "unable to write to %s" +msgstr "не могу да пишем у „%s“" + +#: plugins/sudoers/cvtsudoers.c:1501 +#, c-format +msgid "" +"%s - convert between sudoers file formats\n" +"\n" +msgstr "" +"%s – претвара међусобно записе датотеке судоерса\n" +"\n" + +#: plugins/sudoers/cvtsudoers.c:1503 +msgid "" +"\n" +"Options:\n" +" -b, --base=dn the base DN for sudo LDAP queries\n" +" -c, --config=conf_file the path to the configuration file\n" +" -d, --defaults=deftypes only convert Defaults of the specified types\n" +" -e, --expand-aliases expand aliases when converting\n" +" -f, --output-format=format set output format: JSON, LDIF or sudoers\n" +" -i, --input-format=format set input format: LDIF or sudoers\n" +" -I, --increment=num amount to increase each sudoOrder by\n" +" -h, --help display help message and exit\n" +" -m, --match=filter only convert entries that match the filter\n" +" -M, --match-local match filter uses passwd and group databases\n" +" -o, --output=output_file write converted sudoers to output_file\n" +" -O, --order-start=num starting point for first sudoOrder\n" +" -p, --prune-matches prune non-matching users, groups and hosts\n" +" -P, --padding=num base padding for sudoOrder increment\n" +" -s, --suppress=sections suppress output of certain sections\n" +" -V, --version display version information and exit" +msgstr "" +"\n" +"Опције:\n" +" -b, --base=нд основни НД за „sudo LDAP“ пропитивања\n" +" -c, --config=дат_под путања до датотеке подешавања\n" +" -d, --defaults=врсте_осн претвара само основности наведених врста\n" +" -e, --expand-aliases шири алијасе приликом претварања\n" +" -f, --output-format=запис поставља запис излаза: „JSON“, „LDIF“ или „sudoers“\n" +" -i, --input-format=запис поставља запис улаза: „LDIF“ или „sudoers“\n" +" -I, --increment=бр. износ за повећање сваког „sudoOrder“-а\n" +" -h, --help приказује поруку помоћи и излази\n" +" -m, --match=филтер претвара само уносе који одговарају филтеру\n" +" -M, --match-local упоређује филтерско коришћење базе података лозинке и групе\n" +" -o, --output=дат_изл пише претворене судоерсе у датотеку_излаза\n" +" -O, --order-start=бр. почетна тачка за првог „sudoOrder“-а\n" +" -p, --prune-matches избацује неодговарајуће кориснике, групе и домаћине\n" +" -P, --padding=бр. попуњавање осниове за „sudoOrder“ повећање\n" +" -s, --suppress=одељци потискује излаз неких одељака\n" +" -V, --version приказује податке о издању и излази" + +#: plugins/sudoers/cvtsudoers_csv.c:452 plugins/sudoers/cvtsudoers_csv.c:466 +#: plugins/sudoers/cvtsudoers_json.c:657 plugins/sudoers/cvtsudoers_json.c:672 +#: plugins/sudoers/cvtsudoers_ldif.c:347 plugins/sudoers/cvtsudoers_ldif.c:360 +#: plugins/sudoers/ldap.c:510 +msgid "unable to get GMT time" +msgstr "не могу да добавим ГМТ време" + +#: plugins/sudoers/cvtsudoers_csv.c:457 plugins/sudoers/cvtsudoers_csv.c:471 +#: plugins/sudoers/cvtsudoers_json.c:662 plugins/sudoers/cvtsudoers_json.c:677 +#: plugins/sudoers/cvtsudoers_ldif.c:352 plugins/sudoers/cvtsudoers_ldif.c:365 +#: plugins/sudoers/ldap.c:518 +msgid "unable to format timestamp" +msgstr "не могу да обликујем временску ознаку" + +#: plugins/sudoers/cvtsudoers_json.c:480 plugins/sudoers/cvtsudoers_json.c:515 +#: plugins/sudoers/cvtsudoers_json.c:728 +#, c-format +msgid "%s:%d:%d: unknown defaults entry \"%s\"" +msgstr "%s:%d:%d: непознат унос основности „%s“" + +#: plugins/sudoers/cvtsudoers_ldif.c:661 +#, c-format +msgid "too many sudoers entries, maximum %u" +msgstr "превише уноса судоерса, највише %u" + +#: plugins/sudoers/cvtsudoers_ldif.c:704 +msgid "the SUDOERS_BASE environment variable is not set and the -b option was not specified." +msgstr "променљива „SUDOERS_BASE“ окружења није постављена и „-b“ опција није наведена." + +#: plugins/sudoers/cvtsudoers_merge.c:273 +#: plugins/sudoers/cvtsudoers_merge.c:309 +#, c-format +msgid "%s:%d:%d: converting host list to ALL" +msgstr "%s:%d:%d: претварам списак домаћина у „ALL“" + +#: plugins/sudoers/cvtsudoers_merge.c:545 +#, c-format +msgid "unable to find alias %s" +msgstr "не могу да нађем алијас „%s“" + +#: plugins/sudoers/cvtsudoers_merge.c:548 +#, c-format +msgid "%s:%d:%d: renaming alias %s to %s" +msgstr "%s:%d:%d: преименујем алијаса „%s“ у „%s“" + +#: plugins/sudoers/cvtsudoers_merge.c:605 +#, c-format +msgid "%s:%d:%d: removing duplicate alias %s" +msgstr "%s:%d:%d: уклањам двоструког алијаса „%s“" + +#: plugins/sudoers/cvtsudoers_merge.c:830 +#, c-format +msgid "%s:%d:%d: conflicting Defaults entry \"%s\" host-specific in %s:%d:%d" +msgstr "%s:%d:%d: сукобљавајући унос основности „%s“ домаћину специфичан у „%s:%d:%d“" + +#: plugins/sudoers/cvtsudoers_merge.c:864 +#, c-format +msgid "%s:%d:%d: made Defaults \"%s\" specific to host %s" +msgstr "%s:%d:%d: правим основности „%s“ специфичне домаћину „%s“" + +#: plugins/sudoers/cvtsudoers_merge.c:882 +#, c-format +msgid "%s:%d:%d: unable to make Defaults \"%s\" host-specific" +msgstr "%s:%d:%d: не могу да учиним основности „%s“ домаћину специфичне" + +#: plugins/sudoers/cvtsudoers_merge.c:892 +#, c-format +msgid "%s:%d:%d: removing Defaults \"%s\" overridden by subsequent entries" +msgstr "%s:%d:%d: уклањам основности „%s“ преписане следећим уносима" + +#: plugins/sudoers/cvtsudoers_merge.c:1088 +#, c-format +msgid "%s:%d:%d: merging userspec into %s:%d:%d" +msgstr "%s:%d:%d: стапам корисничку спецификацију у „%s:%d:%d“" + +#: plugins/sudoers/cvtsudoers_merge.c:1182 +#, c-format +msgid "%s:%d:%d: removing userspec overridden by subsequent entries" +msgstr "%s:%d:%d: уклањам корисничку специфичност преписану следећим уносима" + +#: plugins/sudoers/def_data.c:56 +#, c-format +msgid "Syslog facility if syslog is being used for logging: %s" +msgstr "Помоћник сисдневника ако је сисдневник коришћен за пријављивање: %s" + +#: plugins/sudoers/def_data.c:60 +#, c-format +msgid "Syslog priority to use when user authenticates successfully: %s" +msgstr "Приоритет системског дневника за коришћење када корисник успешно потврди идентитет: %s" + +#: plugins/sudoers/def_data.c:64 +#, c-format +msgid "Syslog priority to use when user authenticates unsuccessfully: %s" +msgstr "Приоритет системског дневника за коришћење када корисник неуспешно потврди идентитет: %s" + +#: plugins/sudoers/def_data.c:68 +msgid "Put OTP prompt on its own line" +msgstr "Поставља ОТП упит на свом реду" + +#: plugins/sudoers/def_data.c:72 +msgid "Ignore '.' in $PATH" +msgstr "Занемарује . у $ПУТАЊИ" + +#: plugins/sudoers/def_data.c:76 +msgid "Always send mail when sudo is run" +msgstr "Увек шаље пошту када је судо покренут" + +#: plugins/sudoers/def_data.c:80 +msgid "Send mail if user authentication fails" +msgstr "Пошаљи поруку ако потврђивање идентитета корисника не успе" + +#: plugins/sudoers/def_data.c:84 +msgid "Send mail if the user is not in sudoers" +msgstr "Пошаљи поруку ако корисник није у судоерсу" + +#: plugins/sudoers/def_data.c:88 +msgid "Send mail if the user is not in sudoers for this host" +msgstr "Пошаљи поруку ако корисник није у судоерсу за овог домаћина" + +#: plugins/sudoers/def_data.c:92 +msgid "Send mail if the user is not allowed to run a command" +msgstr "Пошаљи поруку ако кориснику није дозвољено да покрене наредбу" + +#: plugins/sudoers/def_data.c:96 +msgid "Send mail if the user tries to run a command" +msgstr "Пошаљи поруку ако корисник покуша да покрене наредбу" + +#: plugins/sudoers/def_data.c:100 +msgid "Use a separate timestamp for each user/tty combo" +msgstr "Користи одвојене временске ознаке за сваку комбинацију корисник/конзола" + +#: plugins/sudoers/def_data.c:104 +msgid "Lecture user the first time they run sudo" +msgstr "Подучава корисника када први пут покрену судо" + +#: plugins/sudoers/def_data.c:108 +#, c-format +msgid "File containing the sudo lecture: %s" +msgstr "Датотека садржи судо обучавања: %s" + +#: plugins/sudoers/def_data.c:112 +msgid "Require users to authenticate by default" +msgstr "Захтева да корисници потврде идентитет по основи" + +#: plugins/sudoers/def_data.c:116 +msgid "Root may run sudo" +msgstr "Администратор може да покрене судо" + +#: plugins/sudoers/def_data.c:120 +msgid "Log the hostname in the (non-syslog) log file" +msgstr "Бележи назив домаћина у (не-сисдневник) датотеци дневника" + +#: plugins/sudoers/def_data.c:124 +msgid "Log the year in the (non-syslog) log file" +msgstr "Бележи годину у (не-сисдневник) датотеци дневника" + +#: plugins/sudoers/def_data.c:128 +msgid "If sudo is invoked with no arguments, start a shell" +msgstr "Ако је судо призван без аргумената, покреће шкољку" + +#: plugins/sudoers/def_data.c:132 +msgid "Set $HOME to the target user when starting a shell with -s" +msgstr "Подешава $HOME на крајњег корисника када покреће шкољку са „-s“" + +#: plugins/sudoers/def_data.c:136 +msgid "Always set $HOME to the target user's home directory" +msgstr "Увек подешава $HOME на циљни лични директоријум корисника" + +#: plugins/sudoers/def_data.c:140 +msgid "Allow some information gathering to give useful error messages" +msgstr "Дозвољава прикупљање неких података да би дао корисне поруке грешака" + +#: plugins/sudoers/def_data.c:144 +msgid "Require fully-qualified hostnames in the sudoers file" +msgstr "Захтева потпуно одређене називе домаћина у датотеци судоерса" + +#: plugins/sudoers/def_data.c:148 +msgid "Insult the user when they enter an incorrect password" +msgstr "Вређа корисника када унесе нетачну лозинку" + +#: plugins/sudoers/def_data.c:152 +msgid "Only allow the user to run sudo if they have a tty" +msgstr "Дозвољава кориснику да покрене судо само ако има конзолу" + +#: plugins/sudoers/def_data.c:156 +msgid "Visudo will honor the EDITOR environment variable" +msgstr "Висудо ће поштовати променљиву окружења УРЕЂИВАЧА" + +#: plugins/sudoers/def_data.c:160 +msgid "Prompt for root's password, not the users's" +msgstr "Тражи администраторову лозинку, а не корисника" + +#: plugins/sudoers/def_data.c:164 +msgid "Prompt for the runas_default user's password, not the users's" +msgstr "Тражи корисникову лозинку покреникао_основни, а не корисника" + +#: plugins/sudoers/def_data.c:168 +msgid "Prompt for the target user's password, not the users's" +msgstr "Тражи корисникову лозинку мете, а не корисника" + +#: plugins/sudoers/def_data.c:172 +msgid "Apply defaults in the target user's login class if there is one" +msgstr "Примењује основности у циљни кориснички разред пријављивања ако постоји" + +#: plugins/sudoers/def_data.c:176 +msgid "Set the LOGNAME and USER environment variables" +msgstr "Подешава променљиве окружења НАЗИВДНЕВНИКА и КОРИСНИК" + +#: plugins/sudoers/def_data.c:180 +msgid "Only set the effective uid to the target user, not the real uid" +msgstr "Подешава само ефективни јиб на крајњег корисника, а не стваран јиб" + +#: plugins/sudoers/def_data.c:184 +msgid "Don't initialize the group vector to that of the target user" +msgstr "Не покреће вектор групе ка оном крајњег корисника" + +#: plugins/sudoers/def_data.c:188 +#, c-format +msgid "Length at which to wrap log file lines (0 for no wrap): %u" +msgstr "Дужина за преламање редова у датотеци дневника (0 — без преламања): %u" + +#: plugins/sudoers/def_data.c:192 +#, c-format +msgid "Authentication timestamp timeout: %.1f minutes" +msgstr "Време истека временске ознаке потврђивања идентитета: %.1f минута" + +#: plugins/sudoers/def_data.c:196 +#, c-format +msgid "Password prompt timeout: %.1f minutes" +msgstr "Време истека упита лозинке: %.1f минута" + +#: plugins/sudoers/def_data.c:200 +#, c-format +msgid "Number of tries to enter a password: %u" +msgstr "Број покушаја за уношење лозинке: %u" + +#: plugins/sudoers/def_data.c:204 +#, c-format +msgid "Umask to use or 0777 to use user's: 0%o" +msgstr "Умаска за коришћење или 0777 за коришћење корисника: 0%o" + +#: plugins/sudoers/def_data.c:208 +#, c-format +msgid "Path to log file: %s" +msgstr "Путања до датотеке дневника: %s" + +#: plugins/sudoers/def_data.c:212 +#, c-format +msgid "Path to mail program: %s" +msgstr "Путања до програма поште: %s" + +#: plugins/sudoers/def_data.c:216 +#, c-format +msgid "Flags for mail program: %s" +msgstr "Опције за програм поште: %s" + +#: plugins/sudoers/def_data.c:220 +#, c-format +msgid "Address to send mail to: %s" +msgstr "Адреса на коју послати поруку: %s" + +#: plugins/sudoers/def_data.c:224 +#, c-format +msgid "Address to send mail from: %s" +msgstr "Адреса са које послати поруку: %s" + +#: plugins/sudoers/def_data.c:228 +#, c-format +msgid "Subject line for mail messages: %s" +msgstr "Ред теме за поруке поште: %s" + +#: plugins/sudoers/def_data.c:232 +#, c-format +msgid "Incorrect password message: %s" +msgstr "Порука нетачне лозинке: %s" + +#: plugins/sudoers/def_data.c:236 +#, c-format +msgid "Path to lecture status dir: %s" +msgstr "Путања до директоријума стања обучавања: %s" + +#: plugins/sudoers/def_data.c:240 +#, c-format +msgid "Path to authentication timestamp dir: %s" +msgstr "Путања до директоријума временске ознаке потврђивања идентитета: %s" + +#: plugins/sudoers/def_data.c:244 +#, c-format +msgid "Owner of the authentication timestamp dir: %s" +msgstr "Власник директоријума временске ознаке потврђивања идентитета: %s" + +#: plugins/sudoers/def_data.c:248 +#, c-format +msgid "Users in this group are exempt from password and PATH requirements: %s" +msgstr "Корисницима у овој групи се не захтева лозинка и ПУТАЊА: %s" + +#: plugins/sudoers/def_data.c:252 +#, c-format +msgid "Default password prompt: %s" +msgstr "Основни упит лозинке: %s" + +#: plugins/sudoers/def_data.c:256 +msgid "If set, passprompt will override system prompt in all cases." +msgstr "Ако је подешено, упит лозинке ће преписати системски упит у свим случајевима." + +#: plugins/sudoers/def_data.c:260 +#, c-format +msgid "Default user to run commands as: %s" +msgstr "Основни корисник за покретање наредби као: %s" + +#: plugins/sudoers/def_data.c:264 +#, c-format +msgid "Value to override user's $PATH with: %s" +msgstr "Вредност за преписивање корисничке $ПУТАЊЕ са: %s" + +#: plugins/sudoers/def_data.c:268 +#, c-format +msgid "Path to the editor for use by visudo: %s" +msgstr "Путања до уређивача кога ће да користи висудо: %s" + +#: plugins/sudoers/def_data.c:272 +#, c-format +msgid "When to require a password for 'list' pseudocommand: %s" +msgstr "Када да затражи лозинку за псеудонаредбу „list“: %s" + +#: plugins/sudoers/def_data.c:276 +#, c-format +msgid "When to require a password for 'verify' pseudocommand: %s" +msgstr "Када да затражи лозинку за псеудонаредбу „verify“: %s" + +#: plugins/sudoers/def_data.c:280 +msgid "Preload the sudo_noexec library which replaces the exec functions" +msgstr "Унапред учитава „sudo_noexec“ библиотеку која мења функцију извршавања" + +#: plugins/sudoers/def_data.c:284 +msgid "If LDAP directory is up, do we ignore local sudoers file" +msgstr "Ако је ЛДАП директоријум изнет, да ли занемарујемо месну датотеку судоерса" + +#: plugins/sudoers/def_data.c:288 +#, c-format +msgid "File descriptors >= %d will be closed before executing a command" +msgstr "Описници датотека >= %d ће бити затворени пре извршавања наредбе" + +#: plugins/sudoers/def_data.c:292 +msgid "If set, users may override the value of \"closefrom\" with the -C option" +msgstr "Ако је подешено, корисници могу да препишу вредност „closefrom“ са опцијом „-C“" + +#: plugins/sudoers/def_data.c:296 +msgid "Allow users to set arbitrary environment variables" +msgstr "Дозвољава корисницима да подесе произвољне променљиве окружења" + +#: plugins/sudoers/def_data.c:300 +msgid "Reset the environment to a default set of variables" +msgstr "Враћа окружење на основни скуп променљивих" + +#: plugins/sudoers/def_data.c:304 +msgid "Environment variables to check for safety:" +msgstr "Променљиве окружења за проверу исправности:" + +#: plugins/sudoers/def_data.c:308 +msgid "Environment variables to remove:" +msgstr "Променљиве окружења за уклањање:" + +#: plugins/sudoers/def_data.c:312 +msgid "Environment variables to preserve:" +msgstr "Променљиве окружења за очување:" + +#: plugins/sudoers/def_data.c:316 +#, c-format +msgid "SELinux role to use in the new security context: %s" +msgstr "СЕЛинукс улога за употребу у новом контексту безбедности: %s" + +#: plugins/sudoers/def_data.c:320 +#, c-format +msgid "SELinux type to use in the new security context: %s" +msgstr "СЕЛинукс врста за употребу у новом контексту безбедности: %s" + +#: plugins/sudoers/def_data.c:324 +#, c-format +msgid "Path to the sudo-specific environment file: %s" +msgstr "Путања до судо-посебне датотеке окружења: %s" + +#: plugins/sudoers/def_data.c:328 +#, c-format +msgid "Path to the restricted sudo-specific environment file: %s" +msgstr "Путања до ограничене судо-посебне датотеке окружења: %s" + +#: plugins/sudoers/def_data.c:332 +#, c-format +msgid "Locale to use while parsing sudoers: %s" +msgstr "Језк за коришћење при обради судоерса: %s" + +#: plugins/sudoers/def_data.c:336 +msgid "Allow sudo to prompt for a password even if it would be visible" +msgstr "Дозвољава да судо тражи лозинку чак и ако би била видљива" + +#: plugins/sudoers/def_data.c:340 +msgid "Provide visual feedback at the password prompt when there is user input" +msgstr "Обезбеђује видну повратну поруку при тражењу лозинке када постоји унос корисника" + +#: plugins/sudoers/def_data.c:344 +msgid "Use faster globbing that is less accurate but does not access the filesystem" +msgstr "Користи брже упоређивање које је мање тачно али не приступа систему датотека" + +#: plugins/sudoers/def_data.c:348 +msgid "The umask specified in sudoers will override the user's, even if it is more permissive" +msgstr "Умаска наведена у судоерсима ће преписати корисникову, чак и ако има већа овлашћења" + +#: plugins/sudoers/def_data.c:352 +msgid "Log user's input for the command being run" +msgstr "Бележи корисников улаз за покренуту наредбу" + +#: plugins/sudoers/def_data.c:356 +msgid "Log the output of the command being run" +msgstr "Бележи излаз покренуте наредбе" + +#: plugins/sudoers/def_data.c:360 +msgid "Compress I/O logs using zlib" +msgstr "Пакује У/И дневнике користећи злиб" + +#: plugins/sudoers/def_data.c:364 +msgid "Always run commands in a pseudo-tty" +msgstr "Увек покреће наредбе у привидној конзоли" + +#: plugins/sudoers/def_data.c:368 +#, c-format +msgid "Plugin for non-Unix group support: %s" +msgstr "Прикључак за подршку не-Јуникс групе: %s" + +#: plugins/sudoers/def_data.c:372 +#, c-format +msgid "Directory in which to store input/output logs: %s" +msgstr "Директоријум за смештај улазних/излазних дневника: %s" + +#: plugins/sudoers/def_data.c:376 +#, c-format +msgid "File in which to store the input/output log: %s" +msgstr "Датотека за смештај улазно/излазног дневника: %s" + +#: plugins/sudoers/def_data.c:380 +msgid "Add an entry to the utmp/utmpx file when allocating a pty" +msgstr "Додаје унос у датотеку „utmp/utmpx“ када додељује „pty“" + +#: plugins/sudoers/def_data.c:384 +msgid "Set the user in utmp to the runas user, not the invoking user" +msgstr "Подешава корисника у „utmp“-у на корисника покрени-као, не призивајући корисника" + +#: plugins/sudoers/def_data.c:388 +#, c-format +msgid "Set of permitted privileges: %s" +msgstr "Скуп допуштених повластица: %s" + +#: plugins/sudoers/def_data.c:392 +#, c-format +msgid "Set of limit privileges: %s" +msgstr "Скуп повластица ограничења: %s" + +#: plugins/sudoers/def_data.c:396 +msgid "Run commands on a pty in the background" +msgstr "Покреће наредбе у позадини на назовитерминалу" + +#: plugins/sudoers/def_data.c:400 +#, c-format +msgid "PAM service name to use: %s" +msgstr "Назив ПАМ услуге за коришћење: %s" + +#: plugins/sudoers/def_data.c:404 +#, c-format +msgid "PAM service name to use for login shells: %s" +msgstr "Назив ПАМ услуге за шкољке пријављивања: %s" + +#: plugins/sudoers/def_data.c:408 +#, c-format +msgid "PAM service name to use when sudo is run with the -A option: %s" +msgstr "Назив ПАМ услуге за коришћење када судо ради са опцијом „-A“: %s" + +#: plugins/sudoers/def_data.c:412 +msgid "Attempt to establish PAM credentials for the target user" +msgstr "Покушава да успостави ПАМ пуномоћства за циљног корисника" + +#: plugins/sudoers/def_data.c:416 +msgid "Create a new PAM session for the command to run in" +msgstr "Прави нову ПАМ сесију за покретање наредбе" + +#: plugins/sudoers/def_data.c:420 +msgid "Perform PAM account validation management" +msgstr "Обавља управљање провером ПАМ налога" + +#: plugins/sudoers/def_data.c:424 +#, c-format +msgid "Maximum I/O log sequence number: %s" +msgstr "Највећи број низа У/И дневника: %s" + +#: plugins/sudoers/def_data.c:428 +msgid "Enable sudoers netgroup support" +msgstr "Укључује подршку нетгрупе судоерса" + +#: plugins/sudoers/def_data.c:432 +msgid "Check parent directories for writability when editing files with sudoedit" +msgstr "Проверава родитељски директоријум за уписивошћу када уређује датотеке са „sudoedit“" + +#: plugins/sudoers/def_data.c:436 +msgid "Follow symbolic links when editing files with sudoedit" +msgstr "Прати симболичке везе када уређује датотеке са „sudoedit“" + +#: plugins/sudoers/def_data.c:440 +msgid "Query the group plugin for unknown system groups" +msgstr "Пропитује прикључак групе за непознатим групама система" + +#: plugins/sudoers/def_data.c:444 +msgid "Match netgroups based on the entire tuple: user, host and domain" +msgstr "Упоређује мрежне групе на основу читавог слога: корисник, домаћин и домен" + +#: plugins/sudoers/def_data.c:448 +msgid "Allow commands to be run even if sudo cannot write to the audit log" +msgstr "Допушта покретање наредби чак и ако судо не може да пише у дневник прегледа" + +#: plugins/sudoers/def_data.c:452 +msgid "Allow commands to be run even if sudo cannot write to the I/O log" +msgstr "Допушта покретање наредби чак и ако судо не може да пише у дневник У/И" + +#: plugins/sudoers/def_data.c:456 +msgid "Allow commands to be run even if sudo cannot write to the log file" +msgstr "Допушта покретање наредби чак и ако судо не може да пише у датотеку дневника" + +#: plugins/sudoers/def_data.c:460 +msgid "Resolve groups in sudoers and match on the group ID, not the name" +msgstr "Решава групе у судоерсима и упоређује ИД групе, а не назив" + +#: plugins/sudoers/def_data.c:464 +#, c-format +msgid "Log entries larger than this value will be split into multiple syslog messages: %u" +msgstr "Уноси дневника већи од ове вредности биће подељени на више порука системског дневника: %u" + +#: plugins/sudoers/def_data.c:468 +#, c-format +msgid "User that will own the I/O log files: %s" +msgstr "Корисник који ће поседовати датотеке дневника У/И: %s" + +#: plugins/sudoers/def_data.c:472 +#, c-format +msgid "Group that will own the I/O log files: %s" +msgstr "Група која ће поседовати датотеке дневника У/И: %s" + +#: plugins/sudoers/def_data.c:476 +#, c-format +msgid "File mode to use for the I/O log files: 0%o" +msgstr "Режим датотеке за коришћење за датотеке дневника У/И: 0%o" + +#: plugins/sudoers/def_data.c:480 +#, c-format +msgid "Execute commands by file descriptor instead of by path: %s" +msgstr "Извршава наредбе описником датотеке уместо путањом: %s" + +#: plugins/sudoers/def_data.c:484 +msgid "Ignore unknown Defaults entries in sudoers instead of producing a warning" +msgstr "Занемарује непознате уносе основности у судоерсу уместо да даје упозорење" + +#: plugins/sudoers/def_data.c:488 +#, c-format +msgid "Time in seconds after which the command will be terminated: %u" +msgstr "Време у секундама након ког ће наредба бити окончана: %u" + +#: plugins/sudoers/def_data.c:492 +msgid "Allow the user to specify a timeout on the command line" +msgstr "Допушта кориснику да наведе време на линији наредби" + +#: plugins/sudoers/def_data.c:496 +msgid "Flush I/O log data to disk immediately instead of buffering it" +msgstr "Пребацује У/И податке дневника на диск одмах уместо да га смешта у међумеморију" + +#: plugins/sudoers/def_data.c:500 +msgid "Include the process ID when logging via syslog" +msgstr "Укључује ИБ процеса приликом пријављивања путем дневника система" + +#: plugins/sudoers/def_data.c:504 +#, c-format +msgid "Type of authentication timestamp record: %s" +msgstr "Врста временске ознаке потврђивања идентитета: %s" + +#: plugins/sudoers/def_data.c:508 +#, c-format +msgid "Authentication failure message: %s" +msgstr "Потврђивање идентитета није успело: %s" + +#: plugins/sudoers/def_data.c:512 +msgid "Ignore case when matching user names" +msgstr "Занемарује величину слова приликом поклапања назива корисника" + +#: plugins/sudoers/def_data.c:516 +msgid "Ignore case when matching group names" +msgstr "Занемарује величину слова приликом поклапања назива групе" + +#: plugins/sudoers/def_data.c:520 +msgid "Log when a command is allowed by sudoers" +msgstr "Пише дневник када судоерси дозвољавају наредбу" + +#: plugins/sudoers/def_data.c:524 +msgid "Log when a command is denied by sudoers" +msgstr "Пише дневник када судоерси не дозвољавају наредбу" + +#: plugins/sudoers/def_data.c:528 +msgid "Sudo log server(s) to connect to with optional port" +msgstr "Судо сервер(и) дневника за повезивање са изборним прикључником" + +#: plugins/sudoers/def_data.c:532 +#, c-format +msgid "Sudo log server timeout in seconds: %u" +msgstr "Време истека судо сервера дневника у секундама: %u" + +#: plugins/sudoers/def_data.c:536 +msgid "Enable SO_KEEPALIVE socket option on the socket connected to the logserver" +msgstr "Укључује „SO_KEEPALIVE“ опцију прикључнице са повезаном прикључницом са сервером дневника" + +#: plugins/sudoers/def_data.c:540 +#, c-format +msgid "Path to the audit server's CA bundle file: %s" +msgstr "Путања до датотеке групних издавача уверења сервера испитивања: %s" + +#: plugins/sudoers/def_data.c:544 +#, c-format +msgid "Path to the sudoers certificate file: %s" +msgstr "Путања до датотеке уверења судоерса: %s" + +#: plugins/sudoers/def_data.c:548 +#, c-format +msgid "Path to the sudoers private key file: %s" +msgstr "Путања до датотеке датотеке личног кључа судоерса: %s" + +#: plugins/sudoers/def_data.c:552 +msgid "Verify that the log server's certificate is valid" +msgstr "Потврђује да је исправно уверење дневника сервера" + +#: plugins/sudoers/def_data.c:556 +msgid "Allow the use of unknown runas user and/or group ID" +msgstr "Допушта коришћење непознатог „runas“ корисника и/или ИБ-а групе" + +#: plugins/sudoers/def_data.c:560 +msgid "Only permit running commands as a user with a valid shell" +msgstr "Допушта покретање наредби као корисник само са исправном шкољком" + +#: plugins/sudoers/def_data.c:564 +msgid "Set the pam remote user to the user running sudo" +msgstr "Поставља пам удаљеног корисника на корисника покретача судо-а" + +#: plugins/sudoers/def_data.c:568 +msgid "Set the pam remote host to the local host name" +msgstr "Поставља пам удаљеног домаћина на назив локалног домаћина" + +#: plugins/sudoers/def_data.c:572 +#, c-format +msgid "Working directory to change to before executing the command: %s" +msgstr "Радни директоријум за прелазак пре извршавања наредбе: %s" + +#: plugins/sudoers/def_data.c:576 +#, c-format +msgid "Root directory to change to before executing the command: %s" +msgstr "Корени директоријум за прелазак пре извршавања наредбе: %s" + +#: plugins/sudoers/def_data.c:580 +#, c-format +msgid "The format of logs to produce: %s" +msgstr "Формат резултирајућих дневника: %s" + +#: plugins/sudoers/def_data.c:584 +msgid "Enable SELinux RBAC support" +msgstr "Укључује СЕЛинукс РБАЦ подршку" + +#: plugins/sudoers/def_data.c:588 +#, c-format +msgid "Path to the file that is created the first time sudo is run: %s" +msgstr "Путања до датотеке која је створена приликом првог покретања судоа: %s" + +#: plugins/sudoers/def_data.c:592 +msgid "Intercept further commands and apply sudoers restrictions to them" +msgstr "Пресреће будуће наредбе и примењује „sudoers“ ограничења на њима" + +#: plugins/sudoers/def_data.c:596 +msgid "Log sub-commands run by the original command" +msgstr "Бележи поднаредбе које покрене изворна наредба" + +#: plugins/sudoers/def_data.c:600 +msgid "Log the exit status of commands" +msgstr "Бележи стање излаза наредбе" + +#: plugins/sudoers/def_data.c:604 +msgid "Subsequent commands in an intercepted session must be authenticated" +msgstr "Наредне наредбе у пресретнутој сесији морају бити аутентификоване" + +#: plugins/sudoers/def_data.c:608 +msgid "Allow an intercepted command to run set setuid or setgid programs" +msgstr "Омогућава пресретнутој наредби да покрене поставку „setuid“ или „setgid“ програма" + +#: plugins/sudoers/def_data.c:612 +#, c-format +msgid "The maximum size to which the process's address space may grow (in bytes): %s" +msgstr "Највећа величина до које може да нарасте адресни простор процеса (у бајтовима): %s" + +#: plugins/sudoers/def_data.c:616 +#, c-format +msgid "The largest size core dump file that may be created (in bytes): %s" +msgstr "Највећа величина избачаја датотеке језгра која се може направити (у бајтовима): %s" + +#: plugins/sudoers/def_data.c:620 +#, c-format +msgid "The maximum amount of CPU time that the process may use (in seconds): %s" +msgstr "Највећа количина времена процесора које процес може да користи (у секундама): %s" + +#: plugins/sudoers/def_data.c:624 +#, c-format +msgid "The maximum size of the data segment for the process (in bytes): %s" +msgstr "Највећа величина сегмента података за процес (у бајтовима): %s" + +#: plugins/sudoers/def_data.c:628 +#, c-format +msgid "The largest size file that the process may create (in bytes): %s" +msgstr "Највећа величина датотеке коју процес може да направи (у бајтовима): %s" + +#: plugins/sudoers/def_data.c:632 +#, c-format +msgid "The maximum number of locks that the process may establish: %s" +msgstr "Највећи број закључавања која процес може да успостави: %s" + +#: plugins/sudoers/def_data.c:636 +#, c-format +msgid "The maximum size that the process may lock in memory (in bytes): %s" +msgstr "Највећа величина коју процес може да закључа у меморији (у бајтовима): %s" + +#: plugins/sudoers/def_data.c:640 +#, c-format +msgid "The maximum number of files that the process may have open: %s" +msgstr "Највећи број датотека које процес може да отвори: %s" + +#: plugins/sudoers/def_data.c:644 +#, c-format +msgid "The maximum number of processes that the user may run simultaneously: %s" +msgstr "Највећи број процеса које корисник може да покрене истовремено: %s" + +#: plugins/sudoers/def_data.c:648 +#, c-format +msgid "The maximum size to which the process's resident set size may grow (in bytes): %s" +msgstr "Највећа величина до које може да нарасте резидентна величина скупа процеса (у бајтовима): %s" + +#: plugins/sudoers/def_data.c:652 +#, c-format +msgid "The maximum size to which the process's stack may grow (in bytes): %s" +msgstr "Највећа величина до које може да нарасте спремник процеса (у бајтовима): %s" + +#: plugins/sudoers/def_data.c:656 +msgid "Attempt authentication even when in non-interactive mode" +msgstr "Покушава потврђивање идентитета чак и када није у не-међудејственом режиму" + +#: plugins/sudoers/def_data.c:660 +msgid "Store plaintext passwords in I/O log input" +msgstr "Смешта обично-текстуалне лозинке у У/И улаз дневника" + +#: plugins/sudoers/def_data.c:664 +msgid "List of regular expressions to use when matching a password prompt" +msgstr "Списак регуларних израза за коришћење приликом поређења упита лозинке" + +#: plugins/sudoers/def_data.c:668 +#, c-format +msgid "The mechanism used by the intercept and log_subcmds options: %s" +msgstr "Механизам који користе опције „intercept“ и „log_subcmds“: %s" + +#: plugins/sudoers/def_data.c:672 +#, c-format +msgid "AppArmor profile to use in the new security context: %s" +msgstr "АпАрмор профил за коришћење у новом контексту безбедности: %s" + +#: plugins/sudoers/defaults.c:191 +#, c-format +msgid "unknown defaults entry \"%s\"" +msgstr "непознат унос основности „%s“" + +#: plugins/sudoers/defaults.c:234 +#, c-format +msgid "no value specified for \"%s\"" +msgstr "није наведена вредност за „%s“" + +#: plugins/sudoers/defaults.c:243 +#, c-format +msgid "invalid operator \"%c=\" for \"%s\"" +msgstr "неисправан оператор „%c=“ за „%s“" + +#: plugins/sudoers/defaults.c:275 +#, c-format +msgid "option \"%s\" does not take a value" +msgstr "опција „%s“ не узима вредност" + +#: plugins/sudoers/defaults.c:299 +#, c-format +msgid "invalid Defaults type 0x%x for option \"%s\"" +msgstr "неисправна врста основности 0x%x за опцију „%s“" + +#: plugins/sudoers/defaults.c:306 +#, c-format +msgid "value \"%s\" is invalid for option \"%s\"" +msgstr "вредност „%s“ је неисправна за опцију „%s“" + +#: plugins/sudoers/defaults.c:1127 plugins/sudoers/policy.c:207 +#: plugins/sudoers/policy.c:216 +#, c-format +msgid "path name for \"%s\" too long" +msgstr "назив путање за „%s“ је предуг" + +#: plugins/sudoers/defaults.c:1133 +#, c-format +msgid "values for \"%s\" must start with a '/', '~', or '*'" +msgstr "вредност за „%s“ мора да почиње са /, ~ или *" + +#: plugins/sudoers/defaults.c:1140 +#, c-format +msgid "values for \"%s\" must start with a '/'" +msgstr "вредност за „%s“ мора да почне /" + +#: plugins/sudoers/env.c:412 +msgid "sudo_putenv: corrupted envp, length mismatch" +msgstr "sudo_putenv: оштећено стави окружење, дужине не одговарају" + +#: plugins/sudoers/env.c:1095 +msgid "unable to rebuild the environment" +msgstr "не могу поново да изградим окружење" + +#: plugins/sudoers/env.c:1169 +#, c-format +msgid "sorry, you are not allowed to set the following environment variables: %s" +msgstr "извините, није вам дозвољено да подесите следеће променљиве окружења: %s" + +#: plugins/sudoers/filedigest.c:49 +#, c-format +msgid "unsupported digest type %d for %s" +msgstr "неподржана врста прихватања потврђивања иднтитета „%d“ за „%s“" + +#: plugins/sudoers/filedigest.c:78 +#, c-format +msgid "%s: read error" +msgstr "%s: грешка читања" + +#: plugins/sudoers/group_plugin.c:83 +#, c-format +msgid "%s must be owned by uid %d" +msgstr "„%s“ мора бити у власништву јиб-а %d" + +#: plugins/sudoers/group_plugin.c:87 +#, c-format +msgid "%s must only be writable by owner" +msgstr "Само корисник може да пише у „%s“" + +#: plugins/sudoers/group_plugin.c:96 plugins/sudoers/sssd.c:576 +#, c-format +msgid "unable to load %s: %s" +msgstr "не могу да учитам %s: %s" + +#: plugins/sudoers/group_plugin.c:102 +#, c-format +msgid "unable to find symbol \"group_plugin\" in %s" +msgstr "не могу да нађем симбол „group_plugin“ у „%s“" + +#: plugins/sudoers/group_plugin.c:107 +#, c-format +msgid "%s: incompatible group plugin major version %d, expected %d" +msgstr "%s: несагласно веће издање прикључка групе %d, очекивано је %d" + +#: plugins/sudoers/interfaces.c:76 plugins/sudoers/interfaces.c:93 +#, c-format +msgid "unable to parse IP address \"%s\"" +msgstr "не могу да обрадим ИП адресу „%s“" + +#: plugins/sudoers/interfaces.c:81 plugins/sudoers/interfaces.c:98 +#, c-format +msgid "unable to parse netmask \"%s\"" +msgstr "не могу да обрадим мрежну маску „%s“" + +#: plugins/sudoers/interfaces.c:126 +msgid "Local IP address and netmask pairs:\n" +msgstr "Месна ИП адреса и парови мрежне маске:\n" + +#: plugins/sudoers/iolog.c:685 +msgid "unable to update sequence file" +msgstr "не могу да освежим датотеку низа" + +#: plugins/sudoers/iolog.c:719 plugins/sudoers/iolog.c:907 +#: plugins/sudoers/iolog.c:1069 plugins/sudoers/iolog.c:1076 +#: plugins/sudoers/iolog.c:1197 plugins/sudoers/iolog.c:1204 +#: plugins/sudoers/iolog.c:1303 plugins/sudoers/iolog.c:1310 +#, c-format +msgid "unable to write to I/O log file: %s" +msgstr "не могу да пишем у датотеку дневника У/И: %s" + +#: plugins/sudoers/iolog.c:727 +#, c-format +msgid "unable to create %s/%s" +msgstr "не могу да направим „%s/%s“" + +#: plugins/sudoers/iolog.c:955 +#, c-format +msgid "%s: internal error, I/O log file for event %d not open" +msgstr "%s: унутрашња грешка, датотека У/И дневника за догађај %d није отворена" + +#: plugins/sudoers/iolog.c:1054 plugins/sudoers/iolog.c:1182 +#: plugins/sudoers/iolog.c:1287 plugins/sudoers/timestamp.c:849 +#: plugins/sudoers/timestamp.c:941 plugins/sudoers/visudo.c:546 +#: plugins/sudoers/visudo.c:552 +msgid "unable to read the clock" +msgstr "не могу да прочитам сат" + +#: plugins/sudoers/iolog.c:1279 plugins/sudoers/log_client.c:1228 +#: plugins/sudoers/log_client.c:1238 plugins/sudoers/log_client.c:1242 +#, c-format +msgid "%s: internal error, invalid signal %d" +msgstr "%s: унутрашња грешка, неисправан сигнал %d" + +#: plugins/sudoers/ldap.c:177 plugins/sudoers/ldap_conf.c:291 +msgid "starttls not supported when using ldaps" +msgstr "старттлс није подржано када се користи лдапс" + +#: plugins/sudoers/ldap.c:248 +#, c-format +msgid "unable to initialize SSL cert and key db: %s" +msgstr "не могу да покренем ССЛ уверење и бп кључа: %s" + +#: plugins/sudoers/ldap.c:251 +#, c-format +msgid "you must set TLS_CERT in %s to use SSL" +msgstr "морате да подесите „TLS_CERT“ у „%s“ да користите ССЛ" + +#: plugins/sudoers/ldap.c:1712 +#, c-format +msgid "unable to initialize LDAP: %s" +msgstr "не могу да покренем ЛДАП: %s" + +#: plugins/sudoers/ldap.c:1749 +msgid "start_tls specified but LDAP libs do not support ldap_start_tls_s() or ldap_start_tls_s_np()" +msgstr "„start_tls“ је наведено али ЛДАП библиотеке не подржавају „ldap_start_tls_s()“ или „ldap_start_tls_s_np()“" + +#: plugins/sudoers/ldap.c:1886 plugins/sudoers/parse_ldif.c:747 +#, c-format +msgid "invalid sudoOrder attribute: %s" +msgstr "неисправна особина „sudoOrder“: %s" + +#: plugins/sudoers/ldap_conf.c:200 +#, c-format +msgid "%s: port too large" +msgstr "%s: прикључник је превелик" + +#: plugins/sudoers/ldap_conf.c:260 +#, c-format +msgid "unsupported LDAP uri type: %s" +msgstr "неподржана врста ЛДАП путање: %s" + +#: plugins/sudoers/ldap_conf.c:287 +msgid "unable to mix ldap and ldaps URIs" +msgstr "не могу да помешам лдап и лдапс путање" + +#: plugins/sudoers/ldap_util.c:499 plugins/sudoers/ldap_util.c:506 +#: plugins/sudoers/ldap_util.c:514 plugins/sudoers/ldap_util.c:523 +#: plugins/sudoers/ldap_util.c:531 plugins/sudoers/ldap_util.c:541 +#: plugins/sudoers/ldap_util.c:549 +#, c-format +msgid "duplicate sudoOption: %s%s%s" +msgstr "двострука судо опција: %s%s%s" + +#: plugins/sudoers/ldap_util.c:568 plugins/sudoers/ldap_util.c:570 +#, c-format +msgid "unable to convert sudoOption: %s%s%s" +msgstr "не могу да претворим „sudoOption“: %s%s%s" + +#: plugins/sudoers/linux_audit.c:58 plugins/sudoers/linux_audit.c:60 +msgid "unable to open audit system" +msgstr "не могу да отворим систем прегледа" + +#: plugins/sudoers/linux_audit.c:103 +msgid "unable to send audit message" +msgstr "не могу да пошаљем поруку прегледа" + +#: plugins/sudoers/log_client.c:120 plugins/sudoers/log_client.c:407 +#: plugins/sudoers/log_client.c:1475 plugins/sudoers/log_client.c:2083 +msgid "error in event loop" +msgstr "грешка у петљи догађаја" + +#: plugins/sudoers/log_client.c:200 +#, c-format +msgid "Creation of new SSL_CTX object failed: %s" +msgstr "Стварање новог „SSL_CTX“ објекта није успело: %s" + +#: plugins/sudoers/log_client.c:225 +#, c-format +msgid "unable to load certificate authority bundle %s" +msgstr "не могу да учитам комплет ауторитета уверења „%s“" + +#: plugins/sudoers/log_client.c:247 +#, c-format +msgid "unable to load certificate %s" +msgstr "не могу да учитам уверење „%s“" + +#: plugins/sudoers/log_client.c:261 +#, c-format +msgid "unable to load private key %s" +msgstr "не могу да учитам лични кључ „%s“" + +#: plugins/sudoers/log_client.c:270 +#, c-format +msgid "Unable to allocate ssl object: %s" +msgstr "Не могу да доделим ссл објекат: %s" + +#: plugins/sudoers/log_client.c:359 plugins/sudoers/log_client.c:364 +#, c-format +msgid "TLS connection to %s:%s failed: %s" +msgstr "ТЛС повезивање са „%s:%s“ није успело: %s" + +#: plugins/sudoers/log_client.c:538 +msgid "TLS initialization was unsuccessful" +msgstr "ТЛС покретање беше безуспешно" + +#: plugins/sudoers/log_client.c:548 +msgid "TLS handshake was unsuccessful" +msgstr "ТЛС руковање беше безуспешно" + +#: plugins/sudoers/log_client.c:1246 +#, c-format +msgid "%s: internal error, invalid exit status %d" +msgstr "%s: унутрашња грешка, неисправно излазно стање %d" + +#: plugins/sudoers/log_client.c:1775 plugins/sudoers/log_client.c:1799 +msgid "lost connection to log server" +msgstr "изгубих везу са сервером дневника" + +#: plugins/sudoers/log_client.c:1876 +msgid "missing write buffer" +msgstr "недостаје међумеморија писања" + +#: plugins/sudoers/log_client.c:2024 +msgid "unable to connect to log server" +msgstr "не могу да се повежем на сервер дневника" + +#: plugins/sudoers/logging.c:298 +msgid "user NOT in sudoers" +msgstr "корисник НИЈЕ у судоерсу" + +#: plugins/sudoers/logging.c:300 +msgid "user NOT authorized on host" +msgstr "корисник НИЈЕ овлашћен на домаћину" + +#: plugins/sudoers/logging.c:302 +msgid "command not allowed" +msgstr "наредба није допуштена" + +#: plugins/sudoers/logging.c:323 +#, c-format +msgid "%s is not in the sudoers file.\n" +msgstr "„%s“ није у датотеци судоерса.\n" + +#: plugins/sudoers/logging.c:326 +#, c-format +msgid "%s is not allowed to run sudo on %s.\n" +msgstr "Кориснику „%s“ није допуштено да покрене судо на „%s“.\n" + +#: plugins/sudoers/logging.c:329 +#, c-format +msgid "Sorry, user %s may not run sudo on %s.\n" +msgstr "Извините, корисник %s не може покренути судо на %s.\n" + +#: plugins/sudoers/logging.c:332 +#, c-format +msgid "Sorry, user %s is not allowed to execute '%s%s%s' as %s%s%s on %s.\n" +msgstr "Извините, кориснику %s није дозвољено да изврши „%s%s%s“ као %s%s%s на %s.\n" + +#: plugins/sudoers/logging.c:342 +msgid "This incident has been reported to the administrator.\n" +msgstr "Овај инцидент је пријављен администратору.\n" + +#: plugins/sudoers/logging.c:373 plugins/sudoers/sudoers.c:643 +#: plugins/sudoers/sudoers.c:645 plugins/sudoers/sudoers.c:647 +#: plugins/sudoers/sudoers.c:649 plugins/sudoers/sudoers.c:799 +#: plugins/sudoers/sudoers.c:801 +#, c-format +msgid "%s: command not found" +msgstr "%s: нема такве наредбе" + +#: plugins/sudoers/logging.c:375 plugins/sudoers/sudoers.c:639 +#, c-format +msgid "" +"ignoring \"%s\" found in '.'\n" +"Use \"sudo ./%s\" if this is the \"%s\" you wish to run." +msgstr "" +"занемарујем „%s“ пронађено у „.“\n" +"Користите „sudo ./%s“ ако је то „%s“ које желите да покренете." + +#: plugins/sudoers/logging.c:395 +#, c-format +msgid "%u incorrect password attempt" +msgid_plural "%u incorrect password attempts" +msgstr[0] "%u покушај нетачне лозинке" +msgstr[1] "%u покушаја нетачне лозинке" +msgstr[2] "%u покушаја нетачне лозинке" + +#: plugins/sudoers/logging.c:485 +msgid "authentication failure" +msgstr "потврђивање идентитета није успело" + +#: plugins/sudoers/logging.c:524 plugins/sudoers/logging.c:543 +msgid "a password is required" +msgstr "потребна је лозинка" + +#: plugins/sudoers/logging.c:806 plugins/sudoers/logging.c:818 +msgid "problem parsing sudoers" +msgstr "проблем обраде судоерса" + +#: plugins/sudoers/logging.c:879 plugins/sudoers/logging.c:891 +#, c-format +msgid "%s:%d:%d: %s" +msgstr "%s:%d:%d: %s" + +#: plugins/sudoers/logging.c:1068 +#, c-format +msgid "unable to write log file: %s" +msgstr "не могу да запишем датотеку дневника: %s" + +#: plugins/sudoers/match_digest.c:112 +#, c-format +msgid "digest for %s (%s) bad length %zu, expected %zu" +msgstr "приказ за „%s“ (%s) је лоше дужине %zu, очекивах %zu" + +#: plugins/sudoers/match_digest.c:131 +#, c-format +msgid "digest for %s (%s) is not in %s form" +msgstr "приказ за %s (%s) није у %s облику" + +#: plugins/sudoers/parse.c:585 +#, c-format +msgid "" +"\n" +"LDAP Role: %s\n" +msgstr "" +"\n" +"ЛДАП улога: %s\n" + +#: plugins/sudoers/parse.c:588 +msgid "" +"\n" +"Sudoers entry:\n" +msgstr "" +"\n" +"Унос судоерса:\n" + +#: plugins/sudoers/parse.c:590 +msgid " RunAsUsers: " +msgstr " „Покрени-као“ корисници: " + +#: plugins/sudoers/parse.c:605 +msgid " RunAsGroups: " +msgstr " „Покрени-као“ групе: " + +#: plugins/sudoers/parse.c:615 +msgid " Options: " +msgstr " Опције: " + +#: plugins/sudoers/parse.c:679 +msgid " Commands:\n" +msgstr " Наредбе:\n" + +#: plugins/sudoers/parse.c:870 +#, c-format +msgid "Matching Defaults entries for %s on %s:\n" +msgstr "Упоређује уносе основности за „%s“ на %s:\n" + +#: plugins/sudoers/parse.c:888 +#, c-format +msgid "Runas and Command-specific defaults for %s:\n" +msgstr "Покрени-као и Наредбено-посебне основности за „%s“:\n" + +#: plugins/sudoers/parse.c:906 +#, c-format +msgid "User %s may run the following commands on %s:\n" +msgstr "Корисник „%s“ може да покреће следеће наредбе на %s:\n" + +#: plugins/sudoers/parse.c:921 +#, c-format +msgid "User %s is not allowed to run sudo on %s.\n" +msgstr "Корисник „%s“ нема права да покрене судо над „%s“.\n" + +#: plugins/sudoers/parse_ldif.c:617 +#, c-format +msgid "ignoring incomplete sudoRole: cn: %s" +msgstr "занемарујем непотпуно „sudoRole“: cn: %s" + +#: plugins/sudoers/parse_ldif.c:677 +#, c-format +msgid "invalid LDIF attribute: %s" +msgstr "неисправна особина „LDIF“: %s" + +#: plugins/sudoers/policy.c:80 plugins/sudoers/policy.c:111 +#, c-format +msgid "invalid %.*s set by sudo front-end" +msgstr "судо челник је поставио неисправну „%.*s“" + +#: plugins/sudoers/policy.c:351 plugins/sudoers/testsudoers.c:268 +msgid "unable to parse network address list" +msgstr "не могу да обрадим списак адреса мреже" + +#: plugins/sudoers/policy.c:508 +msgid "user name not set by sudo front-end" +msgstr "судо челник није поставио име корисника" + +#: plugins/sudoers/policy.c:512 +msgid "user-ID not set by sudo front-end" +msgstr "судо челник није поставио ИБ корисника" + +#: plugins/sudoers/policy.c:516 +msgid "group-ID not set by sudo front-end" +msgstr "судо челник није поставио ИБ групе" + +#: plugins/sudoers/policy.c:520 +msgid "host name not set by sudo front-end" +msgstr "судо челник није поставио назив домаћина" + +#: plugins/sudoers/policy.c:706 +#, c-format +msgid "invalid working directory: %s" +msgstr "неисправан радни директоријум: %s" + +#: plugins/sudoers/policy.c:886 +#, c-format +msgid "invalid chroot directory: %s" +msgstr "неисправан „chroot“ директоријум: %s" + +#: plugins/sudoers/policy.c:1071 plugins/sudoers/visudo.c:254 +#: plugins/sudoers/visudo.c:896 +#, c-format +msgid "unable to execute %s" +msgstr "не могу да извршим „%s“" + +#: plugins/sudoers/policy.c:1141 plugins/sudoers/policy.c:1178 +#: plugins/sudoers/policy.c:1200 plugins/sudoers/policy.c:1226 +#, c-format +msgid "%s: invalid mode flags from sudo front end: 0x%x" +msgstr "%s: неисправне заставице од судо челника: 0×%x" + +#: plugins/sudoers/policy.c:1262 +#, c-format +msgid "Sudoers policy plugin version %s\n" +msgstr "Издање %s прикључка политике судоерса\n" + +#: plugins/sudoers/policy.c:1264 +#, c-format +msgid "Sudoers file grammar version %d\n" +msgstr "Граматика датотеке судоерса издање %d\n" + +#: plugins/sudoers/policy.c:1268 +#, c-format +msgid "" +"\n" +"Sudoers path: %s\n" +msgstr "" +"\n" +"Путања судоерса: %s\n" + +#: plugins/sudoers/policy.c:1271 +#, c-format +msgid "nsswitch path: %s\n" +msgstr "путања нс-прекидача: %s\n" + +#: plugins/sudoers/policy.c:1273 +#, c-format +msgid "ldap.conf path: %s\n" +msgstr "путања лдап.подешавања: %s\n" + +#: plugins/sudoers/policy.c:1274 +#, c-format +msgid "ldap.secret path: %s\n" +msgstr "путања лдап.тајне: %s\n" + +#: plugins/sudoers/policy.c:1307 +#, c-format +msgid "unable to register hook of type %d (version %d.%d)" +msgstr "немогу да региструјем прикачку врсте „%d“ (издање %d.%d)" + +#: plugins/sudoers/policy.c:1325 +#, c-format +msgid "unable to deregister hook of type %d (version %d.%d)" +msgstr "немогу да поништим регистровање прикачке врсте „%d“ (издање %d.%d)" + +#: plugins/sudoers/pwutil.c:222 plugins/sudoers/pwutil.c:240 +#, c-format +msgid "unable to cache uid %u" +msgstr "не могу да сместим у оставу јиб „%u“" + +#: plugins/sudoers/pwutil.c:234 +#, c-format +msgid "unable to cache uid %u, already exists" +msgstr "не могу да сместим у оставу јиб „%u“, већ постоји" + +#: plugins/sudoers/pwutil.c:294 plugins/sudoers/pwutil.c:312 +#: plugins/sudoers/pwutil.c:375 plugins/sudoers/pwutil.c:420 +#, c-format +msgid "unable to cache user %s" +msgstr "не могу да сместим у оставу корисника „%s“" + +#: plugins/sudoers/pwutil.c:307 +#, c-format +msgid "unable to cache user %s, already exists" +msgstr "не могу да сместим у оставу корисника „%s“, већ постоји" + +#: plugins/sudoers/pwutil.c:539 plugins/sudoers/pwutil.c:557 +#, c-format +msgid "unable to cache gid %u" +msgstr "не могу да сместим у оставу гиб „%u“" + +#: plugins/sudoers/pwutil.c:551 +#, c-format +msgid "unable to cache gid %u, already exists" +msgstr "не могу да сместим у оставу гиб „%u“, већ постоји" + +#: plugins/sudoers/pwutil.c:605 plugins/sudoers/pwutil.c:623 +#: plugins/sudoers/pwutil.c:684 plugins/sudoers/pwutil.c:733 +#, c-format +msgid "unable to cache group %s" +msgstr "не могу да сместим у оставу групу „%s“" + +#: plugins/sudoers/pwutil.c:618 +#, c-format +msgid "unable to cache group %s, already exists" +msgstr "не могу да сместим у оставу групу „%s“, већ постоји" + +#: plugins/sudoers/pwutil.c:880 plugins/sudoers/pwutil.c:931 +#: plugins/sudoers/pwutil.c:981 plugins/sudoers/pwutil.c:1033 +#, c-format +msgid "unable to cache group list for %s, already exists" +msgstr "не могу да сместим у оставу списак групе за „%s“, већ постоји" + +#: plugins/sudoers/pwutil.c:886 plugins/sudoers/pwutil.c:936 +#: plugins/sudoers/pwutil.c:987 plugins/sudoers/pwutil.c:1038 +#, c-format +msgid "unable to cache group list for %s" +msgstr "не могу да сместим у оставу списак групе за „%s“" + +#: plugins/sudoers/pwutil.c:925 +#, c-format +msgid "unable to parse groups for %s" +msgstr "не могу да обрадим групе за „%s“" + +#: plugins/sudoers/pwutil.c:1027 +#, c-format +msgid "unable to parse gids for %s" +msgstr "не могу да обрадим гид-ове за „%s“" + +#: plugins/sudoers/set_perms.c:114 plugins/sudoers/set_perms.c:445 +#: plugins/sudoers/set_perms.c:852 plugins/sudoers/set_perms.c:1162 +#: plugins/sudoers/set_perms.c:1460 +msgid "perm stack overflow" +msgstr "стално прекорачење спремника" + +#: plugins/sudoers/set_perms.c:125 plugins/sudoers/set_perms.c:376 +#: plugins/sudoers/set_perms.c:456 plugins/sudoers/set_perms.c:719 +#: plugins/sudoers/set_perms.c:863 plugins/sudoers/set_perms.c:1086 +#: plugins/sudoers/set_perms.c:1173 plugins/sudoers/set_perms.c:1393 +#: plugins/sudoers/set_perms.c:1471 plugins/sudoers/set_perms.c:1562 +msgid "perm stack underflow" +msgstr "стално поткорачење спремника" + +#: plugins/sudoers/set_perms.c:185 plugins/sudoers/set_perms.c:503 +#: plugins/sudoers/set_perms.c:1227 plugins/sudoers/set_perms.c:1505 +msgid "unable to change to root gid" +msgstr "не могу да пређем на гиб администратора" + +#: plugins/sudoers/set_perms.c:276 plugins/sudoers/set_perms.c:600 +#: plugins/sudoers/set_perms.c:995 plugins/sudoers/set_perms.c:1304 +msgid "unable to change to runas gid" +msgstr "не могу да пређем на гиб покреникао" + +#: plugins/sudoers/set_perms.c:281 plugins/sudoers/set_perms.c:605 +#: plugins/sudoers/set_perms.c:1000 plugins/sudoers/set_perms.c:1309 +msgid "unable to set runas group vector" +msgstr "не могу да подесим вектор „покрени-као група“" + +#: plugins/sudoers/set_perms.c:292 plugins/sudoers/set_perms.c:616 +#: plugins/sudoers/set_perms.c:1009 plugins/sudoers/set_perms.c:1318 +msgid "unable to change to runas uid" +msgstr "не могу да пређем на јиб покреникао" + +#: plugins/sudoers/set_perms.c:310 plugins/sudoers/set_perms.c:634 +#: plugins/sudoers/set_perms.c:1025 plugins/sudoers/set_perms.c:1334 +msgid "unable to change to sudoers gid" +msgstr "не могу да пређем на гиб судоерса" + +#: plugins/sudoers/set_perms.c:363 plugins/sudoers/set_perms.c:706 +#: plugins/sudoers/set_perms.c:1073 plugins/sudoers/set_perms.c:1380 +#: plugins/sudoers/set_perms.c:1549 +msgid "too many processes" +msgstr "превише процеса" + +#: plugins/sudoers/solaris_audit.c:61 +msgid "unable to get current working directory" +msgstr "не могу да добавим тренутни радни директоријум" + +#: plugins/sudoers/solaris_audit.c:69 +#, c-format +msgid "truncated audit path user_cmnd: %s" +msgstr "корисничка_наредба скраћене путање прегледа: %s" + +#: plugins/sudoers/solaris_audit.c:76 +#, c-format +msgid "truncated audit path argv[0]: %s" +msgstr "„argv[0]“ скраћене путање прегледа: %s" + +#: plugins/sudoers/sssd.c:579 +msgid "unable to initialize SSS source. Is SSSD installed on your machine?" +msgstr "не могу да покренем ССС извор. Да ли је СССД инсталиран на вашем рачунару?" + +#: plugins/sudoers/sssd.c:587 plugins/sudoers/sssd.c:596 +#: plugins/sudoers/sssd.c:605 plugins/sudoers/sssd.c:614 +#: plugins/sudoers/sssd.c:623 +#, c-format +msgid "unable to find symbol \"%s\" in %s" +msgstr "не могу да нађем симбол „%s“ у „%s“" + +#: plugins/sudoers/sudoers.c:258 +#, c-format +msgid "unable to get defaults from %s" +msgstr "не могу да добавим основности за „%s“" + +#: plugins/sudoers/sudoers.c:265 +msgid "no valid sudoers sources found, quitting" +msgstr "нисам пронашао исправне изворе судоерса, прекидам" + +#: plugins/sudoers/sudoers.c:341 +#, c-format +msgid "user not allowed to change root directory to %s" +msgstr "кориснику није дозвољено да промени корени директоријум у „%s“" + +#: plugins/sudoers/sudoers.c:343 +#, c-format +msgid "you are not permitted to use the -R option with %s" +msgstr "није вам допуштено да користите опцију „-R“ са „%s“" + +#: plugins/sudoers/sudoers.c:368 +#, c-format +msgid "user not allowed to change directory to %s" +msgstr "кориснику није дозвољено да промени директоријум у „%s“" + +#: plugins/sudoers/sudoers.c:369 +#, c-format +msgid "you are not permitted to use the -D option with %s" +msgstr "није вам допуштено да користите опцију „-D“ са „%s“" + +#: plugins/sudoers/sudoers.c:396 +msgid "no command specified" +msgstr "није наведена наредба" + +#: plugins/sudoers/sudoers.c:421 +msgid "sudoers specifies that root is not allowed to sudo" +msgstr "судоерси наводе да администратор није дозвољен у судоу" + +#: plugins/sudoers/sudoers.c:471 +msgid "user not allowed to override closefrom limit" +msgstr "кориснику није дозвољено да препише „closefrom“ ограничење" + +#: plugins/sudoers/sudoers.c:472 +msgid "you are not permitted to use the -C option" +msgstr "није вам допуштено да користите опцију „-C“" + +#: plugins/sudoers/sudoers.c:532 +#, c-format +msgid "timestamp owner (%s): No such user" +msgstr "власник временске ознаке (%s): нема таквог корисника" + +#: plugins/sudoers/sudoers.c:547 +msgid "no tty" +msgstr "нема конзоле" + +#: plugins/sudoers/sudoers.c:548 +msgid "sorry, you must have a tty to run sudo" +msgstr "извините, морате имати конзолу да покренете судо" + +#: plugins/sudoers/sudoers.c:555 +#, c-format +msgid "invalid shell for user %s: %s" +msgstr "неисправна шкољка за корисника „%s“: %s" + +#: plugins/sudoers/sudoers.c:638 +msgid "command in current directory" +msgstr "наредба у текућем директоријуму" + +#: plugins/sudoers/sudoers.c:653 +msgid "\"cd\" is a shell built-in command, it cannot be run directly." +msgstr "„cd“ је уграђена наредба шкољке, не може бити покренута директно." + +#: plugins/sudoers/sudoers.c:655 +msgid "the -s option may be used to run a privileged shell." +msgstr "опција „-s“ се може користити за покретање привилеговане шкољке." + +#: plugins/sudoers/sudoers.c:657 +msgid "the -D option may be used to run a command in a specific directory." +msgstr "опција „-D“ се може користити за покретање наредбе у специфичном директоријуму." + +#: plugins/sudoers/sudoers.c:666 +msgid "user not allowed to set a command timeout" +msgstr "кориснику није дозвољено да подеси време истека наредбе" + +#: plugins/sudoers/sudoers.c:668 +msgid "sorry, you are not allowed set a command timeout" +msgstr "извините, није вам дозвољено да подесите време истека наредбе" + +#: plugins/sudoers/sudoers.c:676 +msgid "user not allowed to preserve the environment" +msgstr "кориснику није дозвољено да сачува окружење" + +#: plugins/sudoers/sudoers.c:678 +msgid "sorry, you are not allowed to preserve the environment" +msgstr "извините, није вам дозвољено да сачувате окружење" + +#: plugins/sudoers/sudoers.c:1053 +msgid "sudoedit doesn't need to be run via sudo" +msgstr "„sudoedit“ не треба да се покреће путем „sudo“-а" + +#: plugins/sudoers/sudoers.c:1110 plugins/sudoers/sudoreplay.c:1584 +#: plugins/sudoers/tsdump.c:138 +#, c-format +msgid "unable to read %s" +msgstr "не могу да прочитам „%s“" + +#: plugins/sudoers/sudoers.c:1135 plugins/sudoers/visudo.c:485 +#: plugins/sudoers/visudo.c:764 +#, c-format +msgid "unable to stat %s" +msgstr "не могу да добијем податке о „%s“" + +#: plugins/sudoers/sudoers.c:1139 plugins/sudoers/visudo.c:1058 +#, c-format +msgid "%s is not a regular file" +msgstr "„%s“ није обична датотека" + +#: plugins/sudoers/sudoers.c:1143 plugins/sudoers/timestamp.c:252 toke.l:1247 +#, c-format +msgid "%s is owned by uid %u, should be %u" +msgstr "%s је у власништву уиб-а %u, а треба бити %u" + +#: plugins/sudoers/sudoers.c:1147 toke.l:1252 +#, c-format +msgid "%s is world writable" +msgstr "Сви могу да пишу у „%s“" + +#: plugins/sudoers/sudoers.c:1151 toke.l:1255 +#, c-format +msgid "%s is owned by gid %u, should be %u" +msgstr "%s је у власништву уиб-а %u, а треба бити %u" + +#: plugins/sudoers/sudoers.c:1184 +#, c-format +msgid "only root can use \"-c %s\"" +msgstr "само администратор може да користи „-c %s“" + +#: plugins/sudoers/sudoers.c:1203 +#, c-format +msgid "unknown login class %s" +msgstr "непознат разред пријављивања „%s“" + +#: plugins/sudoers/sudoers.c:1290 plugins/sudoers/sudoers.c:1305 +#, c-format +msgid "unable to resolve host %s" +msgstr "не могу да решим домаћина „%s“" + +#: plugins/sudoers/sudoreplay.c:259 +#, c-format +msgid "invalid filter option: %s" +msgstr "неисправна опција пропусника: %s" + +#: plugins/sudoers/sudoreplay.c:275 +#, c-format +msgid "invalid max wait: %s" +msgstr "неисправно најдуже чекање: %s" + +#: plugins/sudoers/sudoreplay.c:298 +#, c-format +msgid "invalid speed factor: %s" +msgstr "неисправан чинилац брзине: %s" + +#: plugins/sudoers/sudoreplay.c:333 +#, c-format +msgid "invalid time offset %s" +msgstr "неисправан временски помак „%s“" + +#: plugins/sudoers/sudoreplay.c:342 +#, c-format +msgid "%s/%.2s/%.2s/%.2s: %s" +msgstr "%s/%.2s/%.2s/%.2s: %s" + +#: plugins/sudoers/sudoreplay.c:347 +#, c-format +msgid "%s/timing: %s" +msgstr "%s/временисање: %s" + +#: plugins/sudoers/sudoreplay.c:375 +#, c-format +msgid "Replaying sudo session: %s" +msgstr "Понављам сесију судоа: %s" + +#: plugins/sudoers/sudoreplay.c:637 +msgid "unable to set tty to raw mode" +msgstr "не могу да подесим конзолу на сирови режим" + +#: plugins/sudoers/sudoreplay.c:688 +msgid "Warning: your terminal is too small to properly replay the log.\n" +msgstr "Упозорење: ваш терминал је премали да би исправно приказао дневник.\n" + +#: plugins/sudoers/sudoreplay.c:689 +#, c-format +msgid "Log geometry is %d x %d, your terminal's geometry is %d x %d." +msgstr "Геометрија дневника је %d x %d, а геометрија терминала је %d x %d." + +#: plugins/sudoers/sudoreplay.c:717 +msgid "Replay finished, press any key to restore the terminal." +msgstr "Одговор је завршен, притисните неки тастер да повратите терминал." + +#: plugins/sudoers/sudoreplay.c:1219 plugins/sudoers/sudoreplay.c:1249 +#, c-format +msgid "ambiguous expression \"%s\"" +msgstr "нејасан израз „%s“" + +#: plugins/sudoers/sudoreplay.c:1271 +msgid "unmatched ')' in expression" +msgstr "непоклопљена ) у изразу" + +#: plugins/sudoers/sudoreplay.c:1275 +#, c-format +msgid "unknown search term \"%s\"" +msgstr "непознат појам претраге „%s“" + +#: plugins/sudoers/sudoreplay.c:1290 +#, c-format +msgid "%s requires an argument" +msgstr "„%s“ захтева аргумент" + +#: plugins/sudoers/sudoreplay.c:1300 +#, c-format +msgid "could not parse date \"%s\"" +msgstr "не могу да обрадим датум „%s“" + +#: plugins/sudoers/sudoreplay.c:1309 +msgid "unmatched '(' in expression" +msgstr "непоклопљена ( у изразу" + +#: plugins/sudoers/sudoreplay.c:1311 +msgid "illegal trailing \"or\"" +msgstr "недозвољено пратеће „или“" + +#: plugins/sudoers/sudoreplay.c:1313 +msgid "illegal trailing \"!\"" +msgstr "недозвољени пратећи „!“" + +#: plugins/sudoers/sudoreplay.c:1371 +#, c-format +msgid "unknown search type %d" +msgstr "непозната врста претраге „%d“" + +#: plugins/sudoers/sudoreplay.c:1651 +#, c-format +msgid "usage: %s [-hnRS] [-d dir] [-m num] [-s num] ID\n" +msgstr "употреба: %s [-hnRS] [-d дир] [-m број] [-s број] ИБ\n" + +#: plugins/sudoers/sudoreplay.c:1654 +#, c-format +msgid "usage: %s [-h] [-d dir] -l [search expression]\n" +msgstr "употреба: %s [-h] [-d дир] -l [израз претраге]\n" + +#: plugins/sudoers/sudoreplay.c:1663 +#, c-format +msgid "" +"%s - replay sudo session logs\n" +"\n" +msgstr "" +"%s — понавља дневнике сесије судоа\n" +"\n" + +#: plugins/sudoers/sudoreplay.c:1665 +msgid "" +"\n" +"Options:\n" +" -d, --directory=dir specify directory for session logs\n" +" -f, --filter=filter specify which I/O type(s) to display\n" +" -h, --help display help message and exit\n" +" -l, --list list available session IDs, with optional expression\n" +" -m, --max-wait=num max number of seconds to wait between events\n" +" -n, --non-interactive no prompts, session is sent to the standard output\n" +" -R, --no-resize do not attempt to re-size the terminal\n" +" -S, --suspend-wait wait while the command was suspended\n" +" -s, --speed=num speed up or slow down output\n" +" -V, --version display version information and exit" +msgstr "" +"\n" +"Опције:\n" +" -d, --directory=дир наводи директоријум за дневнике сесије\n" +" -f, --filter=пропусник наводи У/И врсту(е) за приказивање\n" +" -h, --help приказује поруку помоћи и излази\n" +" -l, --list исписује доступне ИБ-ове сесије, са изборним изразом\n" +" -m, --max-wait=број највећи број секунди за чекање између догађаја\n" +" -n, --non-interactive без упита, сесија се шаље на стандардни излаз\n" +" -R, --no-resize не покушава да промени величину терминала\n" +" -S, --suspend-wait чека док се не обустави наредба\n" +" -s, --speed=број убрзава или успорава излаз\n" +" -V, --version приказује податке о издању и излази" + +#: plugins/sudoers/testsudoers.c:344 +msgid "\thost unmatched" +msgstr "\tдомаћин није поклопљен" + +#: plugins/sudoers/testsudoers.c:347 +msgid "" +"\n" +"Command allowed" +msgstr "" +"\n" +"Наредба је допуштена" + +#: plugins/sudoers/testsudoers.c:348 +msgid "" +"\n" +"Command denied" +msgstr "" +"\n" +"Наредба је одбијена" + +#: plugins/sudoers/testsudoers.c:348 +msgid "" +"\n" +"Command unmatched" +msgstr "" +"\n" +"Наредба није поклопљена" + +#: plugins/sudoers/timestamp.c:260 +#, c-format +msgid "%s is group writable" +msgstr "Група може да пише у „%s“" + +#: plugins/sudoers/timestamp.c:328 plugins/sudoers/timestamp.c:663 +#, c-format +msgid "unable to truncate time stamp file to %lld bytes" +msgstr "не могу да скратим датотеку временске ознаке на %lld бајта" + +#: plugins/sudoers/timestamp.c:860 +msgid "ignoring time stamp from the future" +msgstr "занемарујем временску ознаку из будућности" + +#: plugins/sudoers/timestamp.c:883 +#, c-format +msgid "time stamp too far in the future: %20.20s" +msgstr "временска ознака је превише у будућности: %20.20s" + +#: plugins/sudoers/timestamp.c:1005 +#, c-format +msgid "unable to lock time stamp file %s" +msgstr "не могу да закључам датотеку временске ознаке „%s“" + +#: plugins/sudoers/timestamp.c:1049 plugins/sudoers/timestamp.c:1069 +#, c-format +msgid "lecture status path too long: %s/%s" +msgstr "путања стања обучавања је предуга: %s/%s" + +#: plugins/sudoers/toke_util.c:156 +msgid "sudoedit should not be specified with a path" +msgstr "„sudoedit“ не треба да се наводи са путањом" + +#: plugins/sudoers/visudo.c:249 +msgid "the -x option will be removed in a future release" +msgstr "опција „-x“ биће уклоњена у наредном издању" + +#: plugins/sudoers/visudo.c:251 +msgid "please consider using the cvtsudoers utility instead" +msgstr "размотрите коришћење помагала „cvtsudoers“" + +#: plugins/sudoers/visudo.c:306 plugins/sudoers/visudo.c:692 +#, c-format +msgid "press return to edit %s: " +msgstr "притисните „унеси“ да уредите „%s“: " + +#: plugins/sudoers/visudo.c:321 +#, c-format +msgid "contents of edit session left in %s" +msgstr "садржај сесије уређивања је остао у „%s“" + +#: plugins/sudoers/visudo.c:397 +#, c-format +msgid "specified editor (%s) doesn't exist" +msgstr "наведени уређивач (%s) не постоји" + +#: plugins/sudoers/visudo.c:399 +#, c-format +msgid "no editor found (editor path = %s)" +msgstr "нисам пронашао уређивача (путања уређивача = %s)" + +#: plugins/sudoers/visudo.c:505 plugins/sudoers/visudo.c:513 +msgid "write error" +msgstr "грешка писања" + +#: plugins/sudoers/visudo.c:559 +#, c-format +msgid "unable to stat temporary file (%s), %s unchanged" +msgstr "не могу да добавим податке привремене датотеке (%s), %s је неизмењено" + +#: plugins/sudoers/visudo.c:566 +#, c-format +msgid "zero length temporary file (%s), %s unchanged" +msgstr "привремена датотека нулте дужине (%s), %s је неизмењено" + +#: plugins/sudoers/visudo.c:572 +#, c-format +msgid "editor (%s) failed, %s unchanged" +msgstr "уређивач (%s) није успео, %s је неизмењено" + +#: plugins/sudoers/visudo.c:594 +#, c-format +msgid "%s unchanged" +msgstr "„%s“ је неизмењено" + +#: plugins/sudoers/visudo.c:639 +#, c-format +msgid "unable to re-open temporary file (%s), %s unchanged." +msgstr "не могу поново да отворим привремену датотеку (%s), %s је неизмењено." + +#: plugins/sudoers/visudo.c:652 +#, c-format +msgid "unable to parse temporary file (%s), unknown error" +msgstr "не могу да обрадим привремену датотеку (%s), непозната грешка" + +#: plugins/sudoers/visudo.c:738 plugins/sudoers/visudo.c:768 +#: plugins/sudoers/visudo.c:775 +#, c-format +msgid "unable to set (uid, gid) of %s to (%u, %u)" +msgstr "не могу да подесим (јиб, гиб) за %s на (%u, %u)" + +#: plugins/sudoers/visudo.c:803 +#, c-format +msgid "%s and %s not on the same file system, using mv to rename" +msgstr "„%s“ и „%s“ нису на истом систему датотека, користим „mv“ за преименовање" + +#: plugins/sudoers/visudo.c:814 +#, c-format +msgid "command failed: '%s %s %s', %s unchanged" +msgstr "наредба није успела: „%s %s %s“, %s је неизмењено" + +#: plugins/sudoers/visudo.c:821 +#, c-format +msgid "error renaming %s, %s unchanged" +msgstr "грешка преименовања „%s“, %s је неизмењено" + +#: plugins/sudoers/visudo.c:841 +msgid "What now? " +msgstr "Шта сада? " + +#: plugins/sudoers/visudo.c:855 +msgid "" +"Options are:\n" +" (e)dit sudoers file again\n" +" e(x)it without saving changes to sudoers file\n" +" (Q)uit and save changes to sudoers file (DANGER!)\n" +msgstr "" +"Опције су:\n" +" e — опет уређује датотеку судоерса\n" +" x — излази без чувања измена у датотеци судоерса\n" +" Q — прекида и чува измене у датотеци судоерса (ОПАСНО!)\n" + +#: plugins/sudoers/visudo.c:901 +#, c-format +msgid "unable to run %s" +msgstr "не могу да покренем %s" + +#: plugins/sudoers/visudo.c:932 +#, c-format +msgid "%s: wrong owner (uid, gid) should be (%u, %u)\n" +msgstr "%s: погрешан власник (јиб, гиб) треба бити (%u, %u)\n" + +#: plugins/sudoers/visudo.c:943 +#, c-format +msgid "%s: bad permissions, should be mode 0%o\n" +msgstr "%s: лоша овлашћења, требају бити у режиму 0%o\n" + +#: plugins/sudoers/visudo.c:991 plugins/sudoers/visudo.c:998 +#, c-format +msgid "%s: parsed OK\n" +msgstr "%s: успешно је обрађено\n" + +#: plugins/sudoers/visudo.c:1017 +#, c-format +msgid "%s busy, try again later" +msgstr "„%s“ је заузет, покушајте касније" + +#: plugins/sudoers/visudo.c:1021 +msgid "Edit anyway? [y/N]" +msgstr "Да ипак уреим? [д/Н]" + +#: plugins/sudoers/visudo.c:1117 +#, c-format +msgid "Warning: %s:%d:%d: unused %s \"%s\"" +msgstr "Упозорење: %s:%d:%d: некоришћено „%s“ „%s“" + +#: plugins/sudoers/visudo.c:1229 +#, c-format +msgid "" +"%s - safely edit the sudoers file\n" +"\n" +msgstr "" +"%s — безбедно уређује датотеку судоерса\n" +"\n" + +#: plugins/sudoers/visudo.c:1231 +msgid "" +"\n" +"Options:\n" +" -c, --check check-only mode\n" +" -f, --file=sudoers specify sudoers file location\n" +" -h, --help display help message and exit\n" +" -q, --quiet less verbose (quiet) syntax error messages\n" +" -s, --strict strict syntax checking\n" +" -V, --version display version information and exit\n" +msgstr "" +"\n" +"Опције:\n" +" -c, --check режим само провере\n" +" -f, --file=судоерс наводи место датотеке судоерса\n" +" -h, --help приказује поруку помоћи и излази\n" +" -q, --quiet мање опширне (тихе) поруке грешке синтаксе\n" +" -s, --strict строга провера синтаксе\n" +" -V, --version приказује податке о издању и излази\n" + +#: toke.l:189 +msgid "empty string" +msgstr "празна ниска" + +#: toke.l:201 toke.l:571 +msgid "empty group" +msgstr "празна група" + +#: toke.l:211 toke.l:569 +msgid "empty netgroup" +msgstr "празна мрежна група" + +#: toke.l:289 +msgid "unterminated regular expression" +msgstr "неокончан регуларни израз" + +#: toke.l:363 toke.l:375 toke.l:387 toke.l:403 toke.l:422 toke.l:462 +msgid "invalid line continuation" +msgstr "неисправан наставак реда" + +#: toke.l:608 toke.l:620 +msgid "invalid IPv6 address" +msgstr "неисправна ИПв6 адреса" + +#: toke.l:868 +msgid "unexpected line break in string" +msgstr "неочекивани прекид реда у нисци" + +#: toke.l:1218 +msgid "too many levels of includes" +msgstr "превише нивоа укључивања" + +#~ msgid "Error: %s:%d:%d: cycle in %s \"%s\"" +#~ msgstr "Грешка: %s:%d:%d: циклус у „%s“ „%s“" + +#~ msgid "Warning: %s:%d:%d: cycle in %s \"%s\"" +#~ msgstr "Упозорење: %s:%d:%d: циклус у „%s“ „%s“" + +#~ msgid "Warning: %s:%d:%d: %s \"%s\" referenced but not defined" +#~ msgstr "Упозорење: %s:%d:%d: упута за „%s“ „%s“ постоји али није одређена" + +#~ msgid "parse error in %s near line %d\n" +#~ msgstr "грешка обраде у %s близу реда %d\n" + +#~ msgid "parse error in %s\n" +#~ msgstr "грешка обраде у %s\n" + +#~ msgid "%s: unknown defaults entry \"%s\"" +#~ msgstr "%s: непознат унос основности „%s“" + +#~ msgid "%s:%d:%d: no value specified for \"%s\"" +#~ msgstr "%s:%d:%d: није наведена вредност за „%s“" + +#~ msgid "%s:%d:%d: invalid operator \"%c=\" for \"%s\"" +#~ msgstr "%s:%d:%d: неисправан оператор „%c=“ за „%s“" + +#~ msgid "%s:%d:%d: option \"%s\" does not take a value" +#~ msgstr "%s:%d:%d: опција „%s“ не узима вредност" + +#~ msgid "%s:%d:%d: invalid Defaults type 0x%x for option \"%s\"" +#~ msgstr "%s:%d:%d: неисправна врста основности 0x%x за опцију „%s“" + +#~ msgid "%s:%d:%d: value \"%s\" is invalid for option \"%s\"" +#~ msgstr "%s:%d:%d: вредност „%s“ је неисправна за опцију „%s“" + +#~ msgid "%s:%d:%d: path name for \"%s\" too long" +#~ msgstr "%s:%d:%d: назив путање за „%s“ је предуг" + +#~ msgid "%s: path name for \"%s\" too long" +#~ msgstr "%s: назив путање за „%s“ је предуг" + +#~ msgid "%s:%d:%d: values for \"%s\" must start with a '/', '~', or '*'" +#~ msgstr "%s:%d:%d: вредност за „%s“ мора да почиње са /, ~ или *" + +#~ msgid "%s:%d:%d: values for \"%s\" must start with a '/'" +#~ msgstr "%s:%d:%d: вредност за „%s“ мора да почиње са /" + +#~ msgid "parse error in %s near line %d" +#~ msgstr "грешка обраде у %s близу реда %d" + +#~ msgid "parse error in %s" +#~ msgstr "грешка обраде у %s" + +#~ msgid "SELinux RBAC is not supported when intercept mode is enabled" +#~ msgstr "„SELinux RBAC“ није подржано када је укључен режим пресретања" + +#~ msgid "SELinux RBAC is not supported when the log_subcmds flag is enabled" +#~ msgstr "„SELinux RBAC“ није подржано када је укључена заставица „log_subcmds“" + +#~ msgid "problem with defaults entries" +#~ msgstr "неприлике са основним уносима" + +#~ msgid "internal error, unable to find %s in list!" +#~ msgstr "унутрашња грешка, не могу да пронађем „%s“ на списку!" + +#~ msgid "%s is not in the sudoers file. This incident will be reported.\n" +#~ msgstr "„%s“ се не налази у датотеци судоерса. О овом инциденту ће бити поднет извештај.\n" + +#~ msgid "%s is not allowed to run sudo on %s. This incident will be reported.\n" +#~ msgstr "„%s“ нема права да покрене судо над „%s“. О овом инциденту ће бити поднет извештај.\n" + +#~ msgid "%s: write buffer already in use" +#~ msgstr "%s: међумеморија писања је већ у употреби" + +#~ msgid "unable to read diffie-hellman parameters: %s" +#~ msgstr "не могу да читам „diffie-hellman“ параметре: %s" + +#~ msgid "%s:%d unknown key: %s" +#~ msgstr "„%s:%d“ непознат кључ: %s" + +#~ msgid "unable to get TLS server method: %s" +#~ msgstr "не могу да добавим метод ТЛС сервера: %s" + +#~ msgid "%s:%u unable to parse \"%s\"" +#~ msgstr "„%s:%u“ не могу да обрадим „%s“" + +#~ msgid "" +#~ "\n" +#~ "Options:\n" +#~ " -f, --file path to configuration file\n" +#~ " -h --help display help message and exit\n" +#~ " -n, --no-fork do not fork, run in the foreground\n" +#~ " -R, --random-drop percent chance connections will drop\n" +#~ " -V, --version display version information and exit\n" +#~ msgstr "" +#~ "\n" +#~ "Опције:\n" +#~ " -f, --file путања до датотеке подешавања\n" +#~ " -h --help приказује поруку помоћи и излази\n" +#~ " -n, --no-fork не исцепљује, ради у првом плану\n" +#~ " -R, --random-drop процентуалне шансе везе ће одбацити\n" +#~ " -V, --version приказује податке о издању и излази\n" + +#~ msgid "" +#~ "\n" +#~ "Options:\n" +#~ " --help display help message and exit\n" +#~ " -A, --accept only send an accept event (no I/O)\n" +#~ " -h, --host host to send logs to\n" +#~ " -i, --iolog_id remote ID of I/O log to be resumed\n" +#~ " -p, --port port to use when connecting to host\n" +#~ " -r, --restart restart previous I/O log transfer\n" +#~ " -R, --reject reject the command with the given reason\n" +#~ " -b, --ca-bundle certificate bundle file to verify server's cert against\n" +#~ " -c, --cert certificate file for TLS handshake\n" +#~ " -k, --key private key file\n" +#~ " -n, --no-verify do not verify server certificate\n" +#~ " -t, --test test audit server by sending selected I/O log n times in parallel\n" +#~ " -V, --version display version information and exit\n" +#~ msgstr "" +#~ "\n" +#~ "Опције:\n" +#~ " --help приказује поруку помоћи и излази\n" +#~ " -A, --accept шаље само догађај прихвата (не У/И)\n" +#~ " -h, --host домаћин коме се шаљу дневници\n" +#~ " -i, --iolog_id удаљени ИБ У/И дневника који ће се наставити\n" +#~ " -p, --port прикључник за коришћење приликом повезивања са домаћином\n" +#~ " -r, --restart поново покреће претходни пренос У/И дневника\n" +#~ " -R, --reject одбацује наредбу са датим разлогом\n" +#~ " -b, --ca-bundle датотека групе уверења за проверу уверења сервера\n" +#~ " -c, --cert датотека уверења за ТЛС руковање\n" +#~ " -k, --key датотека личног кључа\n" +#~ " -n, --no-verify не потврђује уверење сервера\n" +#~ " -t, --test проверава сервер испитивања шаљући изабрани У/И дневник n пута у паралели\n" +#~ " -V, --version приказује податке о издању и излази\n" + +#~ msgid "Preload the dummy exec functions contained in the sudo_noexec library" +#~ msgstr "Унапред учитава лажне функције извршавања које се налазе у библиотеци „sudo_noexec“" + +#~ msgid "sudo_ldap_conf_add_ports: port too large" +#~ msgstr "sudo_ldap_conf_add_ports: прикључник је превелик" + +#~ msgid "SSL_connect failed: ssl_error=%d, stack=%s\n" +#~ msgstr "„SSL_повезивање“ није успело: ssl_грешка=%d, спремник=%s\n" + +#~ msgid "CA bundle file was not specified" +#~ msgstr "датотека групних издавача уверења није наведена" + +#~ msgid "Client certificate was not specified" +#~ msgstr "Уверење клијента није наведено" + +#~ msgid "Unable to allocate ssl object: %s\n" +#~ msgstr "Не могу да доделим ссл објекат: %s\n" + +#~ msgid "Unable to attach socket to the ssl object: %s\n" +#~ msgstr "Не могу да прикачим прикључницу ссл објекту: %s\n" + +#~ msgid "client message too large: %zu\n" +#~ msgstr "порука клијента је превелика: %zu\n" + +#~ msgid "server message too large: %u\n" +#~ msgstr "порука сервера је превелика: %u\n" + +#~ msgid "CA bundle file is not set in sudoers" +#~ msgstr "Датотека групних издавача уверења није постављена у судоерсу" + +#~ msgid "Calling SSL_CTX_load_verify_locations() failed: %s" +#~ msgstr "Позивање „SSL_CTX_load_verify_locations()“ није успело: %s" + +#~ msgid "Signed certificate file is not set in sudoers" +#~ msgstr "Потписана датотека уверења није постављена у судоерсу" + +#~ msgid "Unable to load private key into the ssl context: %s" +#~ msgstr "Не могу да учитам лични кључ у ссл контекст: %s" + +#~ msgid "SSL_connect failed: ssl_error=%d, stack=%s" +#~ msgstr "„SSL_повезивање“ није успело: ssl_грешка=%d, спремник=%s" + +#~ msgid "SSL_read failed: ssl_error=%d, stack=%s" +#~ msgstr "„SSL_читање“ није успело: ssl_грешка=%d, спремник=%s" + +#~ msgid "SSL_write failed: ssl_error=%d, stack=%s" +#~ msgstr "„SSL_писање“ није успело: ssl_грешка=%d, спремник=%s" + +#~ msgid "unknown address family: %d" +#~ msgstr "непозната породица адресе: %d" + +#~ msgid "audit_failure message too long" +#~ msgstr "порука неуспеха прегледа је предуга" + +#~ msgid "" +#~ "\n" +#~ "LDAP Role: UNKNOWN\n" +#~ msgstr "" +#~ "\n" +#~ "ЛДАП улога: НЕПОЗНАТО\n" + +#~ msgid " Order: %s\n" +#~ msgstr " Поредак: %s\n" + +#~ msgid "No user or host" +#~ msgstr "Нема корисника или домаћина" + +#~ msgid "validation failure" +#~ msgstr "неуспех потврђивања" + +#~ msgid "unable to cache user %s, out of memory" +#~ msgstr "не могу да сместим у оставу корисника „%s“, нема више меморије" + +#~ msgid "unable to cache group %s, out of memory" +#~ msgstr "не могу да сместим у оставу групу „%s“, нема више меморије" + +#~ msgid "unable to cache group list for %s, out of memory" +#~ msgstr "не могу да сместим у оставу списак групе за „%s“, нема више меморије" + +#~ msgid "" +#~ "\n" +#~ "SSSD Role: %s\n" +#~ msgstr "" +#~ "\n" +#~ "СССД улога: %s\n" + +#~ msgid "" +#~ "\n" +#~ "SSSD Role: UNKNOWN\n" +#~ msgstr "" +#~ "\n" +#~ "СССД улога: НЕПОЗНАТО\n" + +#~ msgid "Warning: unused %s `%s'" +#~ msgstr "Упозорење: некоришћено „%s“ „%s“" + +#~ msgid "timestamp path too long: %s/%s" +#~ msgstr "путања временске ознаке је предуга: %s/%s" + +#~ msgid "unable to stat editor (%s)" +#~ msgstr "не могу да добавим податке уређивача (%s)" + +#~ msgid "sudo_ldap_conf_add_ports: out of space expanding hostbuf" +#~ msgstr "sudo_ldap_conf_add_ports: нестаде простора проширујући међумеморију домаћина" + +#~ msgid "sudo_ldap_parse_uri: out of space building hostbuf" +#~ msgstr "sudo_ldap_parse_uri: нестаде простора изграђујући међумеморију домаћина" + +#~ msgid "sudo_ldap_build_pass1 allocation mismatch" +#~ msgstr "не поклапа се додела „sudo_ldap_build_pass1“" + +#~ msgid "internal error: insufficient space for log line" +#~ msgstr "унутрашња грешка: недовољно простора за ред дневника" + +#~ msgid "fill_args: buffer overflow" +#~ msgstr "fill_args: прекорачење међумеморије" diff --git a/plugins/sudoers/po/sudoers.pot b/plugins/sudoers/po/sudoers.pot new file mode 100644 index 0000000..1b28d2e --- /dev/null +++ b/plugins/sudoers/po/sudoers.pot @@ -0,0 +1,3743 @@ +# Portable object template file for the sudoers plugin +# This file is put in the public domain. +# Todd C. Miller , 2011-2018 +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: sudo 1.9.13\n" +"Report-Msgid-Bugs-To: https://bugzilla.sudo.ws\n" +"POT-Creation-Date: 2023-01-24 13:11-0700\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" + +#: confstr.sh:1 gram.y:1220 plugins/sudoers/logging.c:866 +msgid "syntax error" +msgstr "" + +#: confstr.sh:2 +msgid "%p's password: " +msgstr "" + +#: confstr.sh:3 +msgid "[sudo] password for %p: " +msgstr "" + +#: confstr.sh:4 +msgid "Password: " +msgstr "" + +#: confstr.sh:5 +msgid "*** SECURITY information for %h ***" +msgstr "" + +#: confstr.sh:6 +msgid "Sorry, try again." +msgstr "" + +#: gram.y:237 gram.y:304 gram.y:313 gram.y:322 gram.y:332 gram.y:342 gram.y:366 +#: gram.y:393 gram.y:402 gram.y:410 gram.y:419 gram.y:428 gram.y:502 gram.y:512 +#: gram.y:524 gram.y:572 gram.y:581 gram.y:590 gram.y:599 gram.y:731 gram.y:739 +#: gram.y:750 gram.y:762 gram.y:781 gram.y:944 gram.y:949 gram.y:957 gram.y:971 +#: gram.y:977 gram.y:1099 gram.y:1108 gram.y:1116 gram.y:1125 gram.y:1134 +#: gram.y:1163 gram.y:1172 gram.y:1180 gram.y:1280 gram.y:1410 gram.y:1777 +#: gram.y:1827 lib/eventlog/eventlog.c:235 lib/eventlog/eventlog.c:312 +#: lib/eventlog/eventlog.c:757 lib/eventlog/eventlog.c:834 +#: lib/eventlog/eventlog.c:1135 lib/iolog/iolog_filter.c:142 +#: lib/iolog/iolog_filter.c:202 lib/iolog/iolog_filter.c:233 +#: lib/iolog/iolog_json.c:150 lib/iolog/iolog_json.c:382 +#: lib/iolog/iolog_json.c:412 lib/iolog/iolog_legacy.c:100 +#: lib/iolog/iolog_legacy.c:111 lib/iolog/iolog_legacy.c:123 +#: lib/iolog/iolog_legacy.c:133 lib/iolog/iolog_legacy.c:139 +#: lib/iolog/iolog_loginfo.c:76 lib/iolog/iolog_loginfo.c:212 +#: logsrvd/iolog_writer.c:95 logsrvd/iolog_writer.c:100 +#: logsrvd/iolog_writer.c:134 logsrvd/iolog_writer.c:182 +#: logsrvd/iolog_writer.c:215 logsrvd/iolog_writer.c:225 +#: logsrvd/iolog_writer.c:254 logsrvd/iolog_writer.c:275 +#: logsrvd/iolog_writer.c:287 logsrvd/iolog_writer.c:297 +#: logsrvd/iolog_writer.c:307 logsrvd/iolog_writer.c:317 +#: logsrvd/iolog_writer.c:329 logsrvd/iolog_writer.c:364 +#: logsrvd/iolog_writer.c:370 logsrvd/iolog_writer.c:377 +#: logsrvd/iolog_writer.c:383 logsrvd/iolog_writer.c:567 +#: logsrvd/logsrv_util.c:69 logsrvd/logsrvd.c:301 logsrvd/logsrvd.c:310 +#: logsrvd/logsrvd.c:1050 logsrvd/logsrvd.c:1113 logsrvd/logsrvd.c:1582 +#: logsrvd/logsrvd.c:1587 logsrvd/logsrvd.c:1771 logsrvd/logsrvd.c:1988 +#: logsrvd/logsrvd_conf.c:357 logsrvd/logsrvd_conf.c:370 +#: logsrvd/logsrvd_conf.c:511 logsrvd/logsrvd_conf.c:534 +#: logsrvd/logsrvd_conf.c:538 logsrvd/logsrvd_conf.c:556 +#: logsrvd/logsrvd_conf.c:626 logsrvd/logsrvd_conf.c:650 +#: logsrvd/logsrvd_conf.c:678 logsrvd/logsrvd_conf.c:692 +#: logsrvd/logsrvd_conf.c:706 logsrvd/logsrvd_conf.c:720 +#: logsrvd/logsrvd_conf.c:734 logsrvd/logsrvd_conf.c:748 +#: logsrvd/logsrvd_conf.c:829 logsrvd/logsrvd_conf.c:1036 +#: logsrvd/logsrvd_conf.c:1053 logsrvd/logsrvd_conf.c:1448 +#: logsrvd/logsrvd_conf.c:1595 logsrvd/logsrvd_conf.c:1621 +#: logsrvd/logsrvd_conf.c:1633 logsrvd/logsrvd_conf.c:1640 +#: logsrvd/logsrvd_conf.c:1646 logsrvd/logsrvd_conf.c:1743 +#: logsrvd/logsrvd_journal.c:76 logsrvd/logsrvd_journal.c:216 +#: logsrvd/logsrvd_journal.c:217 logsrvd/logsrvd_journal.c:273 +#: logsrvd/logsrvd_journal.c:433 logsrvd/logsrvd_journal.c:435 +#: logsrvd/logsrvd_local.c:215 logsrvd/logsrvd_local.c:216 +#: logsrvd/logsrvd_local.c:278 logsrvd/logsrvd_local.c:279 +#: logsrvd/logsrvd_local.c:417 logsrvd/logsrvd_local.c:466 +#: logsrvd/logsrvd_local.c:467 logsrvd/logsrvd_local.c:472 +#: logsrvd/logsrvd_local.c:473 logsrvd/logsrvd_queue.c:159 +#: logsrvd/logsrvd_queue.c:189 logsrvd/logsrvd_queue.c:266 +#: logsrvd/logsrvd_relay.c:444 logsrvd/logsrvd_relay.c:743 +#: logsrvd/logsrvd_relay.c:850 logsrvd/sendlog.c:251 logsrvd/sendlog.c:260 +#: logsrvd/sendlog.c:291 logsrvd/sendlog.c:338 logsrvd/sendlog.c:615 +#: logsrvd/sendlog.c:1801 plugins/sudoers/audit.c:116 +#: plugins/sudoers/auth/bsdauth.c:150 plugins/sudoers/auth/kerb5.c:121 +#: plugins/sudoers/auth/kerb5.c:148 plugins/sudoers/auth/pam.c:687 +#: plugins/sudoers/auth/rfc1938.c:111 plugins/sudoers/auth/sia.c:59 +#: plugins/sudoers/check_aliases.c:168 plugins/sudoers/cvtsudoers.c:131 +#: plugins/sudoers/cvtsudoers.c:175 plugins/sudoers/cvtsudoers.c:192 +#: plugins/sudoers/cvtsudoers.c:203 plugins/sudoers/cvtsudoers.c:333 +#: plugins/sudoers/cvtsudoers.c:372 plugins/sudoers/cvtsudoers.c:392 +#: plugins/sudoers/cvtsudoers.c:537 plugins/sudoers/cvtsudoers.c:670 +#: plugins/sudoers/cvtsudoers.c:688 plugins/sudoers/cvtsudoers.c:862 +#: plugins/sudoers/cvtsudoers.c:870 plugins/sudoers/cvtsudoers.c:1365 +#: plugins/sudoers/cvtsudoers.c:1369 plugins/sudoers/cvtsudoers.c:1471 +#: plugins/sudoers/cvtsudoers_csv.c:183 plugins/sudoers/cvtsudoers_csv.c:246 +#: plugins/sudoers/cvtsudoers_json.c:76 plugins/sudoers/cvtsudoers_ldif.c:151 +#: plugins/sudoers/cvtsudoers_ldif.c:194 plugins/sudoers/cvtsudoers_ldif.c:235 +#: plugins/sudoers/cvtsudoers_ldif.c:300 plugins/sudoers/cvtsudoers_ldif.c:376 +#: plugins/sudoers/cvtsudoers_ldif.c:430 plugins/sudoers/cvtsudoers_ldif.c:438 +#: plugins/sudoers/cvtsudoers_ldif.c:449 plugins/sudoers/cvtsudoers_ldif.c:456 +#: plugins/sudoers/cvtsudoers_ldif.c:468 plugins/sudoers/cvtsudoers_ldif.c:481 +#: plugins/sudoers/cvtsudoers_ldif.c:489 plugins/sudoers/cvtsudoers_ldif.c:636 +#: plugins/sudoers/cvtsudoers_merge.c:47 plugins/sudoers/cvtsudoers_merge.c:52 +#: plugins/sudoers/cvtsudoers_merge.c:353 +#: plugins/sudoers/cvtsudoers_merge.c:399 +#: plugins/sudoers/cvtsudoers_merge.c:446 +#: plugins/sudoers/cvtsudoers_merge.c:467 +#: plugins/sudoers/cvtsudoers_merge.c:553 +#: plugins/sudoers/cvtsudoers_merge.c:564 +#: plugins/sudoers/cvtsudoers_merge.c:633 +#: plugins/sudoers/cvtsudoers_merge.c:1158 +#: plugins/sudoers/cvtsudoers_merge.c:1231 plugins/sudoers/defaults.c:434 +#: plugins/sudoers/defaults.c:658 plugins/sudoers/defaults.c:1019 +#: plugins/sudoers/defaults.c:1187 plugins/sudoers/editor.c:197 +#: plugins/sudoers/env.c:263 plugins/sudoers/exptilde.c:92 +#: plugins/sudoers/filedigest.c:54 plugins/sudoers/filedigest.c:70 +#: plugins/sudoers/gc.c:57 plugins/sudoers/group_plugin.c:212 +#: plugins/sudoers/interfaces.c:68 plugins/sudoers/iolog.c:268 +#: plugins/sudoers/iolog.c:668 plugins/sudoers/iolog.c:694 +#: plugins/sudoers/ldap.c:184 plugins/sudoers/ldap.c:466 +#: plugins/sudoers/ldap.c:757 plugins/sudoers/ldap.c:921 +#: plugins/sudoers/ldap.c:1337 plugins/sudoers/ldap.c:1763 +#: plugins/sudoers/ldap.c:1800 plugins/sudoers/ldap.c:2016 +#: plugins/sudoers/ldap.c:2117 plugins/sudoers/ldap.c:2133 +#: plugins/sudoers/ldap_conf.c:218 plugins/sudoers/ldap_conf.c:250 +#: plugins/sudoers/ldap_conf.c:302 plugins/sudoers/ldap_conf.c:338 +#: plugins/sudoers/ldap_conf.c:444 plugins/sudoers/ldap_conf.c:459 +#: plugins/sudoers/ldap_conf.c:564 plugins/sudoers/ldap_conf.c:597 +#: plugins/sudoers/ldap_conf.c:689 plugins/sudoers/ldap_conf.c:771 +#: plugins/sudoers/ldap_util.c:294 plugins/sudoers/ldap_util.c:301 +#: plugins/sudoers/ldap_util.c:614 plugins/sudoers/linux_audit.c:86 +#: plugins/sudoers/log_client.c:117 plugins/sudoers/log_client.c:402 +#: plugins/sudoers/log_client.c:715 plugins/sudoers/log_client.c:736 +#: plugins/sudoers/log_client.c:1415 plugins/sudoers/log_client.c:1536 +#: plugins/sudoers/log_client.c:1636 plugins/sudoers/log_client.c:1972 +#: plugins/sudoers/log_client.c:2031 plugins/sudoers/logging.c:110 +#: plugins/sudoers/logging.c:189 plugins/sudoers/logging.c:457 +#: plugins/sudoers/logging.c:672 plugins/sudoers/logging.c:809 +#: plugins/sudoers/match_command.c:335 plugins/sudoers/match_command.c:603 +#: plugins/sudoers/match_command.c:654 plugins/sudoers/match_command.c:728 +#: plugins/sudoers/match_command.c:776 plugins/sudoers/match_digest.c:93 +#: plugins/sudoers/parse.c:267 plugins/sudoers/parse.c:284 +#: plugins/sudoers/parse.c:303 plugins/sudoers/parse.c:322 +#: plugins/sudoers/parse.c:339 plugins/sudoers/parse.c:362 +#: plugins/sudoers/parse.c:373 plugins/sudoers/parse_ldif.c:153 +#: plugins/sudoers/parse_ldif.c:184 plugins/sudoers/parse_ldif.c:253 +#: plugins/sudoers/parse_ldif.c:261 plugins/sudoers/parse_ldif.c:266 +#: plugins/sudoers/parse_ldif.c:342 plugins/sudoers/parse_ldif.c:353 +#: plugins/sudoers/parse_ldif.c:380 plugins/sudoers/parse_ldif.c:397 +#: plugins/sudoers/parse_ldif.c:409 plugins/sudoers/parse_ldif.c:413 +#: plugins/sudoers/parse_ldif.c:427 plugins/sudoers/parse_ldif.c:484 +#: plugins/sudoers/parse_ldif.c:598 plugins/sudoers/parse_ldif.c:628 +#: plugins/sudoers/parse_ldif.c:653 plugins/sudoers/parse_ldif.c:711 +#: plugins/sudoers/parse_ldif.c:728 plugins/sudoers/parse_ldif.c:756 +#: plugins/sudoers/parse_ldif.c:763 plugins/sudoers/policy.c:626 +#: plugins/sudoers/policy.c:1033 plugins/sudoers/prompt.c:93 +#: plugins/sudoers/pwutil.c:199 plugins/sudoers/pwutil.c:270 +#: plugins/sudoers/pwutil.c:348 plugins/sudoers/pwutil.c:522 +#: plugins/sudoers/pwutil.c:587 plugins/sudoers/pwutil.c:659 +#: plugins/sudoers/pwutil.c:857 plugins/sudoers/pwutil.c:945 +#: plugins/sudoers/pwutil.c:993 plugins/sudoers/pwutil.c:1052 +#: plugins/sudoers/sssd.c:145 plugins/sudoers/sssd.c:185 +#: plugins/sudoers/sssd.c:414 plugins/sudoers/sssd.c:479 +#: plugins/sudoers/sssd.c:505 plugins/sudoers/sssd.c:568 +#: plugins/sudoers/sssd.c:761 plugins/sudoers/strvec_join.c:53 +#: plugins/sudoers/stubs.c:112 plugins/sudoers/stubs.c:120 +#: plugins/sudoers/sudoers.c:354 plugins/sudoers/sudoers.c:380 +#: plugins/sudoers/sudoers.c:447 plugins/sudoers/sudoers.c:464 +#: plugins/sudoers/sudoers.c:505 plugins/sudoers/sudoers.c:849 +#: plugins/sudoers/sudoers.c:902 plugins/sudoers/sudoers.c:1054 +#: plugins/sudoers/sudoers.c:1114 plugins/sudoers/sudoers.c:1369 +#: plugins/sudoers/sudoreplay.c:559 plugins/sudoers/sudoreplay.c:562 +#: plugins/sudoers/sudoreplay.c:1278 plugins/sudoers/sudoreplay.c:1334 +#: plugins/sudoers/sudoreplay.c:1530 plugins/sudoers/sudoreplay.c:1534 +#: plugins/sudoers/testsudoers.c:120 plugins/sudoers/testsudoers.c:224 +#: plugins/sudoers/testsudoers.c:241 plugins/sudoers/testsudoers.c:588 +#: plugins/sudoers/timestamp.c:451 plugins/sudoers/timestamp.c:495 +#: plugins/sudoers/timestamp.c:1017 plugins/sudoers/timestamp.c:1146 +#: plugins/sudoers/toke_util.c:78 plugins/sudoers/toke_util.c:106 +#: plugins/sudoers/toke_util.c:131 plugins/sudoers/toke_util.c:161 +#: plugins/sudoers/toke_util.c:200 plugins/sudoers/tsdump.c:123 +#: plugins/sudoers/visudo.c:150 plugins/sudoers/visudo.c:385 +#: plugins/sudoers/visudo.c:391 plugins/sudoers/visudo.c:502 +#: plugins/sudoers/visudo.c:1056 toke.l:1031 toke.l:1163 toke.l:1234 +msgid "unable to allocate memory" +msgstr "" + +#: gram.y:623 +msgid "a digest requires a path name" +msgstr "" + +#: gram.y:645 +msgid "values for \"CWD\" must start with a '/', '~', or '*'" +msgstr "" + +#: gram.y:651 +msgid "\"CWD\" path too long" +msgstr "" + +#: gram.y:661 +msgid "values for \"CHROOT\" must start with a '/', '~', or '*'" +msgstr "" + +#: gram.y:667 +msgid "\"CHROOT\" path too long" +msgstr "" + +#: gram.y:802 +#, c-format +msgid "syntax error, reserved word %s used as an alias name" +msgstr "" + +#: gram.y:825 +msgid "invalid notbefore value" +msgstr "" + +#: gram.y:834 +msgid "invalid notafter value" +msgstr "" + +#: gram.y:844 plugins/sudoers/policy.c:385 +msgid "timeout value too large" +msgstr "" + +#: gram.y:846 plugins/sudoers/policy.c:387 +msgid "invalid timeout value" +msgstr "" + +#: gram.y:967 plugins/sudoers/sudoers.c:1072 +msgid "command too long" +msgstr "" + +#: gram.y:1224 plugins/sudoers/check_aliases.c:96 +#: plugins/sudoers/defaults.c:1276 +#, c-format +msgid "%s:%d:%d: %s\n" +msgstr "" + +#: gram.y:1278 +#, c-format +msgid "Alias \"%s\" already defined" +msgstr "" + +#: gram.y:1777 gram.y:1827 lib/eventlog/eventlog.c:235 +#: lib/eventlog/eventlog.c:757 lib/eventlog/eventlog.c:830 +#: lib/eventlog/eventlog.c:833 lib/eventlog/eventlog.c:1135 +#: lib/iolog/iolog_filter.c:142 lib/iolog/iolog_filter.c:202 +#: lib/iolog/iolog_filter.c:232 lib/iolog/iolog_json.c:150 +#: lib/iolog/iolog_json.c:381 lib/iolog/iolog_json.c:412 +#: lib/iolog/iolog_legacy.c:100 lib/iolog/iolog_legacy.c:111 +#: lib/iolog/iolog_legacy.c:123 lib/iolog/iolog_legacy.c:133 +#: lib/iolog/iolog_legacy.c:139 lib/iolog/iolog_loginfo.c:76 +#: lib/iolog/iolog_loginfo.c:212 logsrvd/iolog_writer.c:95 +#: logsrvd/iolog_writer.c:100 logsrvd/iolog_writer.c:134 +#: logsrvd/iolog_writer.c:171 logsrvd/iolog_writer.c:181 +#: logsrvd/iolog_writer.c:194 logsrvd/iolog_writer.c:214 +#: logsrvd/iolog_writer.c:224 logsrvd/iolog_writer.c:243 +#: logsrvd/iolog_writer.c:253 logsrvd/iolog_writer.c:264 +#: logsrvd/iolog_writer.c:274 logsrvd/iolog_writer.c:286 +#: logsrvd/iolog_writer.c:296 logsrvd/iolog_writer.c:306 +#: logsrvd/iolog_writer.c:316 logsrvd/iolog_writer.c:328 +#: logsrvd/iolog_writer.c:364 logsrvd/iolog_writer.c:370 +#: logsrvd/iolog_writer.c:377 logsrvd/iolog_writer.c:383 +#: logsrvd/iolog_writer.c:567 logsrvd/logsrv_util.c:69 logsrvd/logsrvd.c:301 +#: logsrvd/logsrvd.c:310 logsrvd/logsrvd.c:453 logsrvd/logsrvd.c:490 +#: logsrvd/logsrvd.c:522 logsrvd/logsrvd.c:576 logsrvd/logsrvd.c:611 +#: logsrvd/logsrvd.c:660 logsrvd/logsrvd.c:696 logsrvd/logsrvd.c:732 +#: logsrvd/logsrvd.c:1124 logsrvd/logsrvd.c:1439 logsrvd/logsrvd.c:1446 +#: logsrvd/logsrvd.c:1582 logsrvd/logsrvd.c:1587 logsrvd/logsrvd.c:1771 +#: logsrvd/logsrvd.c:1988 logsrvd/logsrvd_conf.c:357 logsrvd/logsrvd_conf.c:370 +#: logsrvd/logsrvd_conf.c:511 logsrvd/logsrvd_conf.c:534 +#: logsrvd/logsrvd_conf.c:538 logsrvd/logsrvd_conf.c:556 +#: logsrvd/logsrvd_conf.c:626 logsrvd/logsrvd_conf.c:649 +#: logsrvd/logsrvd_conf.c:678 logsrvd/logsrvd_conf.c:692 +#: logsrvd/logsrvd_conf.c:706 logsrvd/logsrvd_conf.c:720 +#: logsrvd/logsrvd_conf.c:734 logsrvd/logsrvd_conf.c:748 +#: logsrvd/logsrvd_conf.c:829 logsrvd/logsrvd_conf.c:1036 +#: logsrvd/logsrvd_conf.c:1053 logsrvd/logsrvd_conf.c:1448 +#: logsrvd/logsrvd_conf.c:1595 logsrvd/logsrvd_conf.c:1621 +#: logsrvd/logsrvd_conf.c:1633 logsrvd/logsrvd_conf.c:1640 +#: logsrvd/logsrvd_conf.c:1646 logsrvd/logsrvd_conf.c:1742 +#: logsrvd/logsrvd_journal.c:76 logsrvd/logsrvd_journal.c:125 +#: logsrvd/logsrvd_journal.c:216 logsrvd/logsrvd_journal.c:246 +#: logsrvd/logsrvd_journal.c:250 logsrvd/logsrvd_journal.c:258 +#: logsrvd/logsrvd_journal.c:281 logsrvd/logsrvd_journal.c:285 +#: logsrvd/logsrvd_journal.c:433 logsrvd/logsrvd_local.c:215 +#: logsrvd/logsrvd_local.c:278 logsrvd/logsrvd_local.c:466 +#: logsrvd/logsrvd_local.c:472 logsrvd/logsrvd_local.c:491 +#: logsrvd/logsrvd_queue.c:158 logsrvd/logsrvd_queue.c:189 +#: logsrvd/logsrvd_queue.c:266 logsrvd/sendlog.c:251 logsrvd/sendlog.c:260 +#: logsrvd/sendlog.c:291 logsrvd/sendlog.c:338 logsrvd/sendlog.c:615 +#: logsrvd/sendlog.c:1503 logsrvd/sendlog.c:1510 logsrvd/sendlog.c:1733 +#: logsrvd/sendlog.c:1801 logsrvd/tls_init.c:305 logsrvd/tls_init.c:329 +#: logsrvd/tls_init.c:340 plugins/sudoers/audit.c:116 +#: plugins/sudoers/auth/pam.c:502 plugins/sudoers/auth/pam.c:687 +#: plugins/sudoers/auth/rfc1938.c:111 plugins/sudoers/check_aliases.c:168 +#: plugins/sudoers/cvtsudoers.c:131 plugins/sudoers/cvtsudoers.c:174 +#: plugins/sudoers/cvtsudoers.c:191 plugins/sudoers/cvtsudoers.c:202 +#: plugins/sudoers/cvtsudoers.c:332 plugins/sudoers/cvtsudoers.c:536 +#: plugins/sudoers/cvtsudoers.c:669 plugins/sudoers/cvtsudoers.c:687 +#: plugins/sudoers/cvtsudoers.c:862 plugins/sudoers/cvtsudoers.c:869 +#: plugins/sudoers/cvtsudoers.c:1365 plugins/sudoers/cvtsudoers.c:1369 +#: plugins/sudoers/cvtsudoers.c:1471 plugins/sudoers/cvtsudoers_csv.c:182 +#: plugins/sudoers/cvtsudoers_csv.c:245 plugins/sudoers/cvtsudoers_json.c:75 +#: plugins/sudoers/cvtsudoers_ldif.c:150 plugins/sudoers/cvtsudoers_ldif.c:193 +#: plugins/sudoers/cvtsudoers_ldif.c:234 plugins/sudoers/cvtsudoers_ldif.c:299 +#: plugins/sudoers/cvtsudoers_ldif.c:375 plugins/sudoers/cvtsudoers_ldif.c:429 +#: plugins/sudoers/cvtsudoers_ldif.c:437 plugins/sudoers/cvtsudoers_ldif.c:448 +#: plugins/sudoers/cvtsudoers_ldif.c:455 plugins/sudoers/cvtsudoers_ldif.c:467 +#: plugins/sudoers/cvtsudoers_ldif.c:480 plugins/sudoers/cvtsudoers_ldif.c:488 +#: plugins/sudoers/cvtsudoers_ldif.c:635 plugins/sudoers/cvtsudoers_merge.c:47 +#: plugins/sudoers/cvtsudoers_merge.c:51 plugins/sudoers/cvtsudoers_merge.c:353 +#: plugins/sudoers/cvtsudoers_merge.c:399 +#: plugins/sudoers/cvtsudoers_merge.c:445 +#: plugins/sudoers/cvtsudoers_merge.c:466 +#: plugins/sudoers/cvtsudoers_merge.c:553 +#: plugins/sudoers/cvtsudoers_merge.c:561 +#: plugins/sudoers/cvtsudoers_merge.c:564 +#: plugins/sudoers/cvtsudoers_merge.c:630 +#: plugins/sudoers/cvtsudoers_merge.c:633 +#: plugins/sudoers/cvtsudoers_merge.c:1157 +#: plugins/sudoers/cvtsudoers_merge.c:1231 plugins/sudoers/defaults.c:434 +#: plugins/sudoers/defaults.c:658 plugins/sudoers/defaults.c:1019 +#: plugins/sudoers/defaults.c:1187 plugins/sudoers/editor.c:197 +#: plugins/sudoers/env.c:263 plugins/sudoers/exptilde.c:92 +#: plugins/sudoers/filedigest.c:54 plugins/sudoers/filedigest.c:70 +#: plugins/sudoers/gc.c:57 plugins/sudoers/group_plugin.c:211 +#: plugins/sudoers/interfaces.c:68 plugins/sudoers/iolog.c:268 +#: plugins/sudoers/iolog.c:668 plugins/sudoers/iolog.c:694 +#: plugins/sudoers/ldap.c:184 plugins/sudoers/ldap.c:466 +#: plugins/sudoers/ldap.c:757 plugins/sudoers/ldap.c:921 +#: plugins/sudoers/ldap.c:1337 plugins/sudoers/ldap.c:1763 +#: plugins/sudoers/ldap.c:1800 plugins/sudoers/ldap.c:2016 +#: plugins/sudoers/ldap.c:2117 plugins/sudoers/ldap.c:2133 +#: plugins/sudoers/ldap_conf.c:218 plugins/sudoers/ldap_conf.c:250 +#: plugins/sudoers/ldap_conf.c:302 plugins/sudoers/ldap_conf.c:338 +#: plugins/sudoers/ldap_conf.c:444 plugins/sudoers/ldap_conf.c:459 +#: plugins/sudoers/ldap_conf.c:564 plugins/sudoers/ldap_conf.c:597 +#: plugins/sudoers/ldap_conf.c:688 plugins/sudoers/ldap_conf.c:771 +#: plugins/sudoers/ldap_util.c:293 plugins/sudoers/ldap_util.c:300 +#: plugins/sudoers/ldap_util.c:614 plugins/sudoers/linux_audit.c:86 +#: plugins/sudoers/log_client.c:117 plugins/sudoers/log_client.c:228 +#: plugins/sudoers/log_client.c:250 plugins/sudoers/log_client.c:264 +#: plugins/sudoers/log_client.c:402 plugins/sudoers/log_client.c:715 +#: plugins/sudoers/log_client.c:736 plugins/sudoers/log_client.c:1415 +#: plugins/sudoers/log_client.c:1536 plugins/sudoers/log_client.c:1636 +#: plugins/sudoers/log_client.c:1972 plugins/sudoers/log_client.c:2031 +#: plugins/sudoers/logging.c:110 plugins/sudoers/logging.c:188 +#: plugins/sudoers/logging.c:189 plugins/sudoers/logging.c:457 +#: plugins/sudoers/logging.c:672 plugins/sudoers/logging.c:809 +#: plugins/sudoers/logging.c:880 plugins/sudoers/logging.c:892 +#: plugins/sudoers/match_command.c:334 plugins/sudoers/match_command.c:602 +#: plugins/sudoers/match_command.c:653 plugins/sudoers/match_command.c:728 +#: plugins/sudoers/match_command.c:775 plugins/sudoers/match_digest.c:93 +#: plugins/sudoers/parse.c:266 plugins/sudoers/parse.c:283 +#: plugins/sudoers/parse.c:302 plugins/sudoers/parse.c:321 +#: plugins/sudoers/parse.c:338 plugins/sudoers/parse.c:361 +#: plugins/sudoers/parse.c:372 plugins/sudoers/parse_ldif.c:152 +#: plugins/sudoers/parse_ldif.c:183 plugins/sudoers/parse_ldif.c:252 +#: plugins/sudoers/parse_ldif.c:260 plugins/sudoers/parse_ldif.c:265 +#: plugins/sudoers/parse_ldif.c:341 plugins/sudoers/parse_ldif.c:352 +#: plugins/sudoers/parse_ldif.c:379 plugins/sudoers/parse_ldif.c:396 +#: plugins/sudoers/parse_ldif.c:408 plugins/sudoers/parse_ldif.c:412 +#: plugins/sudoers/parse_ldif.c:426 plugins/sudoers/parse_ldif.c:484 +#: plugins/sudoers/parse_ldif.c:598 plugins/sudoers/parse_ldif.c:627 +#: plugins/sudoers/parse_ldif.c:652 plugins/sudoers/parse_ldif.c:710 +#: plugins/sudoers/parse_ldif.c:727 plugins/sudoers/parse_ldif.c:755 +#: plugins/sudoers/parse_ldif.c:762 plugins/sudoers/policy.c:154 +#: plugins/sudoers/policy.c:163 plugins/sudoers/policy.c:172 +#: plugins/sudoers/policy.c:201 plugins/sudoers/policy.c:370 +#: plugins/sudoers/policy.c:385 plugins/sudoers/policy.c:387 +#: plugins/sudoers/policy.c:425 plugins/sudoers/policy.c:434 +#: plugins/sudoers/policy.c:482 plugins/sudoers/policy.c:492 +#: plugins/sudoers/policy.c:501 plugins/sudoers/policy.c:510 +#: plugins/sudoers/policy.c:519 plugins/sudoers/policy.c:626 +#: plugins/sudoers/policy.c:1033 plugins/sudoers/prompt.c:93 +#: plugins/sudoers/pwutil.c:199 plugins/sudoers/pwutil.c:270 +#: plugins/sudoers/pwutil.c:348 plugins/sudoers/pwutil.c:522 +#: plugins/sudoers/pwutil.c:587 plugins/sudoers/pwutil.c:659 +#: plugins/sudoers/pwutil.c:857 plugins/sudoers/pwutil.c:945 +#: plugins/sudoers/pwutil.c:993 plugins/sudoers/pwutil.c:1052 +#: plugins/sudoers/set_perms.c:363 plugins/sudoers/set_perms.c:706 +#: plugins/sudoers/set_perms.c:1073 plugins/sudoers/set_perms.c:1380 +#: plugins/sudoers/set_perms.c:1549 plugins/sudoers/sssd.c:144 +#: plugins/sudoers/sssd.c:185 plugins/sudoers/sssd.c:414 +#: plugins/sudoers/sssd.c:479 plugins/sudoers/sssd.c:505 +#: plugins/sudoers/sssd.c:568 plugins/sudoers/sssd.c:761 +#: plugins/sudoers/strvec_join.c:53 plugins/sudoers/stubs.c:112 +#: plugins/sudoers/stubs.c:120 plugins/sudoers/sudoers.c:354 +#: plugins/sudoers/sudoers.c:380 plugins/sudoers/sudoers.c:447 +#: plugins/sudoers/sudoers.c:464 plugins/sudoers/sudoers.c:505 +#: plugins/sudoers/sudoers.c:849 plugins/sudoers/sudoers.c:902 +#: plugins/sudoers/sudoers.c:1054 plugins/sudoers/sudoers.c:1114 +#: plugins/sudoers/sudoers.c:1369 plugins/sudoers/sudoreplay.c:559 +#: plugins/sudoers/sudoreplay.c:562 plugins/sudoers/sudoreplay.c:1278 +#: plugins/sudoers/sudoreplay.c:1334 plugins/sudoers/sudoreplay.c:1530 +#: plugins/sudoers/sudoreplay.c:1534 plugins/sudoers/testsudoers.c:120 +#: plugins/sudoers/testsudoers.c:224 plugins/sudoers/testsudoers.c:241 +#: plugins/sudoers/testsudoers.c:588 plugins/sudoers/timestamp.c:451 +#: plugins/sudoers/timestamp.c:495 plugins/sudoers/timestamp.c:1017 +#: plugins/sudoers/timestamp.c:1146 plugins/sudoers/toke_util.c:78 +#: plugins/sudoers/toke_util.c:106 plugins/sudoers/toke_util.c:131 +#: plugins/sudoers/toke_util.c:160 plugins/sudoers/toke_util.c:200 +#: plugins/sudoers/tsdump.c:123 plugins/sudoers/visudo.c:150 +#: plugins/sudoers/visudo.c:385 plugins/sudoers/visudo.c:391 +#: plugins/sudoers/visudo.c:502 plugins/sudoers/visudo.c:1056 toke.l:1031 +#: toke.l:1163 toke.l:1226 toke.l:1234 +#, c-format +msgid "%s: %s" +msgstr "" + +#: lib/eventlog/eventlog.c:303 +#, c-format +msgid "unable to dup stdin: %m" +msgstr "" + +#: lib/eventlog/eventlog.c:345 +#, c-format +msgid "unable to execute %s: %m" +msgstr "" + +#: lib/eventlog/eventlog.c:393 plugins/sudoers/auth/aix_auth.c:198 +msgid "unable to fork" +msgstr "" + +#: lib/eventlog/eventlog.c:403 lib/eventlog/eventlog.c:468 +#, c-format +msgid "unable to fork: %m" +msgstr "" + +#: lib/eventlog/eventlog.c:458 +#, c-format +msgid "unable to open pipe: %m" +msgstr "" + +#: lib/eventlog/eventlog.c:960 +#, c-format +msgid "%8s : %s" +msgstr "" + +#: lib/eventlog/eventlog.c:989 +#, c-format +msgid "%8s : (command continued) %s" +msgstr "" + +#: lib/iolog/iolog_filter.c:133 plugins/sudoers/defaults.c:1242 +#: plugins/sudoers/sudoreplay.c:1290 plugins/sudoers/sudoreplay.c:1586 +#, c-format +msgid "invalid regular expression \"%s\": %s" +msgstr "" + +#: lib/iolog/iolog_json.c:140 +#, c-format +msgid "expected JSON_STRING, got %d" +msgstr "" + +#: lib/iolog/iolog_json.c:145 +msgid "JSON_ARRAY too large" +msgstr "" + +#: lib/iolog/iolog_json.c:404 +msgid "missing double quote in name" +msgstr "" + +#: lib/iolog/iolog_json.c:511 +msgid "missing JSON_OBJECT" +msgstr "" + +#: lib/iolog/iolog_json.c:515 +#, c-format +msgid "expected JSON_OBJECT, got %d" +msgstr "" + +#: lib/iolog/iolog_json.c:632 +#, c-format +msgid "json stack exhausted (max %u frames)" +msgstr "" + +#: lib/iolog/iolog_json.c:706 +msgid "objects must consist of name:value pairs" +msgstr "" + +#: lib/iolog/iolog_json.c:711 lib/iolog/iolog_json.c:742 +#: lib/iolog/iolog_json.c:786 lib/iolog/iolog_json.c:808 +#: lib/iolog/iolog_json.c:830 lib/iolog/iolog_json.c:852 +#: lib/iolog/iolog_json.c:874 +msgid "missing separator between values" +msgstr "" + +#: lib/iolog/iolog_json.c:726 lib/iolog/iolog_json.c:900 +msgid "unmatched close brace" +msgstr "" + +#: lib/iolog/iolog_json.c:737 +msgid "unexpected array" +msgstr "" + +#: lib/iolog/iolog_json.c:757 lib/iolog/iolog_json.c:903 +msgid "unmatched close bracket" +msgstr "" + +#: lib/iolog/iolog_json.c:768 +msgid "unexpected string" +msgstr "" + +#: lib/iolog/iolog_json.c:779 +msgid "missing colon after name" +msgstr "" + +#: lib/iolog/iolog_json.c:800 lib/iolog/iolog_json.c:822 +msgid "unexpected boolean" +msgstr "" + +#: lib/iolog/iolog_json.c:844 +msgid "unexpected null" +msgstr "" + +#: lib/iolog/iolog_json.c:865 +msgid "unexpected number" +msgstr "" + +#: lib/iolog/iolog_json.c:912 +msgid "parse error" +msgstr "" + +#: lib/iolog/iolog_legacy.c:65 +#, c-format +msgid "%s: invalid log file" +msgstr "" + +#: lib/iolog/iolog_legacy.c:83 +#, c-format +msgid "%s: time stamp field is missing" +msgstr "" + +#: lib/iolog/iolog_legacy.c:89 +#, c-format +msgid "%s: time stamp %s: %s" +msgstr "" + +#: lib/iolog/iolog_legacy.c:96 +#, c-format +msgid "%s: user field is missing" +msgstr "" + +#: lib/iolog/iolog_legacy.c:107 +#, c-format +msgid "%s: runas user field is missing" +msgstr "" + +#: lib/iolog/iolog_legacy.c:118 +#, c-format +msgid "%s: runas group field is missing" +msgstr "" + +#: lib/iolog/iolog_mkdirs.c:89 +#, c-format +msgid "%s exists but is not a directory (0%o)" +msgstr "" + +#: lib/iolog/iolog_mkdirs.c:123 lib/iolog/iolog_mkdtemp.c:79 +#: logsrvd/iolog_writer.c:781 plugins/sudoers/timestamp.c:209 +#, c-format +msgid "unable to mkdir %s" +msgstr "" + +#: lib/iolog/iolog_mkdtemp.c:84 plugins/sudoers/visudo.c:757 +#: plugins/sudoers/visudo.c:791 plugins/sudoers/visudo.c:797 +#, c-format +msgid "unable to change mode of %s to 0%o" +msgstr "" + +#: lib/iolog/iolog_timing.c:261 +#, c-format +msgid "error reading timing file: %s" +msgstr "" + +#: lib/iolog/iolog_timing.c:268 +#, c-format +msgid "invalid timing file line: %s" +msgstr "" + +#: logsrvd/iolog_writer.c:65 +#, c-format +msgid "%s: protocol error: NULL key" +msgstr "" + +#: logsrvd/iolog_writer.c:69 +#, c-format +msgid "%s: protocol error: wrong type for %s" +msgstr "" + +#: logsrvd/iolog_writer.c:74 logsrvd/logsrvd_local.c:109 +#: logsrvd/logsrvd_local.c:123 logsrvd/logsrvd_local.c:131 +#: logsrvd/logsrvd_local.c:149 +#, c-format +msgid "%s: protocol error: NULL value found in %s" +msgstr "" + +#: logsrvd/iolog_writer.c:141 plugins/sudoers/logging.c:980 +#: plugins/sudoers/policy.c:593 +msgid "unable to generate UUID" +msgstr "" + +#: logsrvd/iolog_writer.c:341 logsrvd/iolog_writer.c:346 +#: logsrvd/iolog_writer.c:351 logsrvd/iolog_writer.c:356 +#, c-format +msgid "%s: protocol error: %s missing from AcceptMessage" +msgstr "" + +#: logsrvd/iolog_writer.c:417 +#, c-format +msgid "%s: unable to format session id" +msgstr "" + +#: logsrvd/iolog_writer.c:431 logsrvd/iolog_writer.c:445 +#: logsrvd/iolog_writer.c:459 logsrvd/iolog_writer.c:474 +#: logsrvd/iolog_writer.c:488 logsrvd/iolog_writer.c:502 +#, c-format +msgid "%s: %s is not set" +msgstr "" + +#: logsrvd/iolog_writer.c:538 logsrvd/iolog_writer.c:545 +#, c-format +msgid "unable to expand iolog path %s" +msgstr "" + +#: logsrvd/iolog_writer.c:563 +#, c-format +msgid "unable to create iolog path %s" +msgstr "" + +#: logsrvd/iolog_writer.c:593 +#, c-format +msgid "invalid iofd %d" +msgstr "" + +#: logsrvd/iolog_writer.c:613 +#, c-format +msgid "error closing iofd %d: %s" +msgstr "" + +#: logsrvd/iolog_writer.c:633 +#, c-format +msgid "error flushing iofd %d: %s" +msgstr "" + +#: logsrvd/iolog_writer.c:751 +#, c-format +msgid "invalid I/O log %s: %s referenced but not present" +msgstr "" + +#: logsrvd/iolog_writer.c:763 logsrvd/logsrvd_journal.c:385 +#, c-format +msgid "%s: unable to find resume point [%lld, %ld]" +msgstr "" + +#: logsrvd/iolog_writer.c:785 logsrvd/logsrvd_journal.c:428 +#: logsrvd/logsrvd_queue.c:115 logsrvd/tls_init.c:256 +#: plugins/sudoers/check.c:292 plugins/sudoers/cvtsudoers.c:730 +#: plugins/sudoers/cvtsudoers.c:751 plugins/sudoers/cvtsudoers.c:1431 +#: plugins/sudoers/cvtsudoers_csv.c:695 plugins/sudoers/cvtsudoers_json.c:898 +#: plugins/sudoers/cvtsudoers_ldif.c:709 plugins/sudoers/sudoers.c:1152 +#: plugins/sudoers/sudoers.c:1182 plugins/sudoers/sudoreplay.c:1496 +#: plugins/sudoers/timestamp.c:460 plugins/sudoers/tsdump.c:128 +#: plugins/sudoers/visudo.c:975 +#, c-format +msgid "unable to open %s" +msgstr "" + +#: logsrvd/iolog_writer.c:797 logsrvd/logsrv_util.c:105 +#: logsrvd/logsrv_util.c:112 plugins/sudoers/sudoreplay.c:355 +#: plugins/sudoers/sudoreplay.c:361 +#, c-format +msgid "unable to open %s/%s" +msgstr "" + +#: logsrvd/iolog_writer.c:810 +#, c-format +msgid "unable to copy %s/%s to %s/%s: %s" +msgstr "" + +#: logsrvd/iolog_writer.c:839 logsrvd/logsrvd_journal.c:198 +#, c-format +msgid "unable to rename %s to %s" +msgstr "" + +#: logsrvd/logsrv_util.c:147 logsrvd/logsrv_util.c:176 +#, c-format +msgid "%s/%s: unable to find resume point [%lld, %ld]" +msgstr "" + +#: logsrvd/logsrv_util.c:159 +#, c-format +msgid "missing I/O log file %s/%s" +msgstr "" + +#: logsrvd/logsrv_util.c:166 +#, c-format +msgid "%s/%s: unable to seek forward %zu" +msgstr "" + +#: logsrvd/logsrvd.c:271 logsrvd/logsrvd_queue.c:135 +msgid "unable to connect to relay" +msgstr "" + +#: logsrvd/logsrvd.c:330 logsrvd/logsrvd_relay.c:842 +#, c-format +msgid "server message too large: %zu" +msgstr "" + +#: logsrvd/logsrvd.c:422 logsrvd/logsrvd.c:545 logsrvd/logsrvd.c:631 +#: logsrvd/logsrvd.c:873 logsrvd/logsrvd.c:887 logsrvd/logsrvd.c:1049 +#: logsrvd/logsrvd.c:1174 logsrvd/logsrvd.c:1347 logsrvd/logsrvd.c:1365 +#: logsrvd/logsrvd.c:1464 logsrvd/logsrvd.c:1589 logsrvd/logsrvd.c:1773 +#: logsrvd/logsrvd_journal.c:497 logsrvd/logsrvd_local.c:238 +#: logsrvd/logsrvd_queue.c:164 logsrvd/logsrvd_relay.c:172 +#: logsrvd/logsrvd_relay.c:249 logsrvd/logsrvd_relay.c:253 +#: logsrvd/logsrvd_relay.c:389 logsrvd/logsrvd_relay.c:581 +#: logsrvd/logsrvd_relay.c:742 logsrvd/logsrvd_relay.c:1131 +#: logsrvd/sendlog.c:1291 logsrvd/tls_client.c:136 logsrvd/tls_client.c:152 +#: logsrvd/tls_client.c:216 plugins/sudoers/audit.c:278 +#: plugins/sudoers/iolog.c:1031 plugins/sudoers/iolog.c:1164 +#: plugins/sudoers/iolog.c:1262 plugins/sudoers/log_client.c:121 +#: plugins/sudoers/log_client.c:343 plugins/sudoers/log_client.c:359 +#: plugins/sudoers/log_client.c:407 plugins/sudoers/log_client.c:611 +#: plugins/sudoers/log_client.c:618 plugins/sudoers/log_client.c:1103 +#: plugins/sudoers/log_client.c:1384 plugins/sudoers/log_client.c:1425 +#: plugins/sudoers/log_client.c:1433 plugins/sudoers/log_client.c:1592 +#: plugins/sudoers/log_client.c:1710 plugins/sudoers/log_client.c:2039 +#: plugins/sudoers/log_client.c:2047 plugins/sudoers/logging.c:147 +#: plugins/sudoers/logging.c:205 plugins/sudoers/sudoreplay.c:519 +#: plugins/sudoers/sudoreplay.c:566 plugins/sudoers/sudoreplay.c:808 +#: plugins/sudoers/sudoreplay.c:920 plugins/sudoers/sudoreplay.c:1011 +#: plugins/sudoers/sudoreplay.c:1026 plugins/sudoers/sudoreplay.c:1033 +#: plugins/sudoers/sudoreplay.c:1040 plugins/sudoers/sudoreplay.c:1047 +#: plugins/sudoers/sudoreplay.c:1054 plugins/sudoers/sudoreplay.c:1181 +msgid "unable to add event to queue" +msgstr "" + +#: logsrvd/logsrvd.c:446 logsrvd/logsrvd.c:483 logsrvd/logsrvd.c:515 +#: logsrvd/logsrvd.c:569 logsrvd/logsrvd.c:648 logsrvd/logsrvd.c:684 +#: logsrvd/logsrvd.c:720 logsrvd/logsrvd.c:756 logsrvd/logsrvd_relay.c:510 +#: logsrvd/logsrvd_relay.c:543 +#, c-format +msgid "unexpected state %d for %s" +msgstr "" + +#: logsrvd/logsrvd.c:447 logsrvd/logsrvd.c:484 logsrvd/logsrvd.c:516 +#: logsrvd/logsrvd.c:570 logsrvd/logsrvd.c:649 logsrvd/logsrvd.c:685 +#: logsrvd/logsrvd.c:721 logsrvd/logsrvd.c:757 logsrvd/logsrvd_relay.c:512 +#: logsrvd/logsrvd_relay.c:545 +msgid "state machine error" +msgstr "" + +#: logsrvd/logsrvd.c:453 logsrvd/logsrvd.c:454 +msgid "invalid AcceptMessage" +msgstr "" + +#: logsrvd/logsrvd.c:490 logsrvd/logsrvd.c:491 +msgid "invalid RejectMessage" +msgstr "" + +#: logsrvd/logsrvd.c:522 logsrvd/logsrvd.c:523 +msgid "invalid ExitMessage" +msgstr "" + +#: logsrvd/logsrvd.c:576 logsrvd/logsrvd.c:577 +msgid "invalid RestartMessage" +msgstr "" + +#: logsrvd/logsrvd.c:611 logsrvd/logsrvd.c:612 +msgid "invalid AlertMessage" +msgstr "" + +#: logsrvd/logsrvd.c:653 logsrvd/logsrvd.c:689 logsrvd/logsrvd.c:725 +#, c-format +msgid "%s: unexpected IoBuffer" +msgstr "" + +#: logsrvd/logsrvd.c:654 logsrvd/logsrvd.c:690 logsrvd/logsrvd.c:726 +msgid "protocol error" +msgstr "" + +#: logsrvd/logsrvd.c:660 logsrvd/logsrvd.c:661 +msgid "invalid IoBuffer" +msgstr "" + +#: logsrvd/logsrvd.c:696 logsrvd/logsrvd.c:697 +msgid "invalid ChangeWindowSize" +msgstr "" + +#: logsrvd/logsrvd.c:732 logsrvd/logsrvd.c:733 +msgid "invalid CommandSuspend" +msgstr "" + +#: logsrvd/logsrvd.c:782 logsrvd/logsrvd_journal.c:296 +#: logsrvd/logsrvd_relay.c:652 logsrvd/sendlog.c:1192 +#: plugins/sudoers/log_client.c:1582 +#, c-format +msgid "unable to unpack %s size %zu" +msgstr "" + +#: logsrvd/logsrvd.c:827 logsrvd/logsrvd_journal.c:370 +#: logsrvd/logsrvd_relay.c:676 +#, c-format +msgid "unexpected type_case value %d in %s from %s" +msgstr "" + +#: logsrvd/logsrvd.c:829 +msgid "unrecognized ClientMessage type" +msgstr "" + +#: logsrvd/logsrvd.c:919 +#, c-format +msgid "timed out writing to client %s" +msgstr "" + +#: logsrvd/logsrvd.c:924 logsrvd/logsrvd_relay.c:914 logsrvd/sendlog.c:1395 +#, c-format +msgid "missing write buffer for client %s" +msgstr "" + +#: logsrvd/logsrvd.c:1020 +#, c-format +msgid "timed out reading from client %s" +msgstr "" + +#: logsrvd/logsrvd.c:1061 logsrvd/logsrvd_relay.c:777 +#, c-format +msgid "EOF from %s without proper TLS shutdown" +msgstr "" + +#: logsrvd/logsrvd.c:1105 logsrvd/logsrvd_relay.c:205 logsrvd/sendlog.c:322 +#: plugins/sudoers/log_client.c:721 +#, c-format +msgid "client message too large: %zu" +msgstr "" + +#: logsrvd/logsrvd.c:1106 logsrvd/logsrvd_journal.c:259 +#: logsrvd/logsrvd_journal.c:260 +msgid "client message too large" +msgstr "" + +#: logsrvd/logsrvd.c:1124 logsrvd/logsrvd.c:1125 +msgid "invalid ClientMessage" +msgstr "" + +#: logsrvd/logsrvd.c:1425 +msgid "unable to get remote IP addr" +msgstr "" + +#: logsrvd/logsrvd.c:1456 logsrvd/tls_client.c:203 +#: plugins/sudoers/log_client.c:281 +#, c-format +msgid "Unable to attach user data to the ssl object: %s" +msgstr "" + +#: logsrvd/logsrvd.c:1639 logsrvd/logsrvd.c:1992 +msgid "unable to setup listen socket" +msgstr "" + +#: logsrvd/logsrvd.c:1756 +#, c-format +msgid "unexpected signal %d" +msgstr "" + +#: logsrvd/logsrvd.c:1894 +msgid "sudo log server" +msgstr "" + +#: logsrvd/logsrvd.c:1896 logsrvd/sendlog.c:121 +msgid "Options:" +msgstr "" + +#: logsrvd/logsrvd.c:1898 +msgid "path to configuration file" +msgstr "" + +#: logsrvd/logsrvd.c:1900 logsrvd/sendlog.c:123 +msgid "display help message and exit" +msgstr "" + +#: logsrvd/logsrvd.c:1902 +msgid "do not fork, run in the foreground" +msgstr "" + +#: logsrvd/logsrvd.c:1904 +msgid "percent chance connections will drop" +msgstr "" + +#: logsrvd/logsrvd.c:1906 logsrvd/sendlog.c:153 +msgid "display version information and exit" +msgstr "" + +#: logsrvd/logsrvd.c:1956 logsrvd/sendlog.c:1702 +msgid "Protobuf-C version 1.3 or higher required" +msgstr "" + +#: logsrvd/logsrvd.c:1972 +#, c-format +msgid "invalid random drop value: %s" +msgstr "" + +#: logsrvd/logsrvd.c:1975 logsrvd/sendlog.c:1756 +#: plugins/sudoers/cvtsudoers.c:246 plugins/sudoers/sudoreplay.c:294 +#: plugins/sudoers/visudo.c:182 +#, c-format +msgid "%s version %s\n" +msgstr "" + +#: logsrvd/logsrvd_conf.c:422 plugins/sudoers/check.c:358 +#: plugins/sudoers/exptilde.c:85 plugins/sudoers/iolog.c:122 +#: plugins/sudoers/policy.c:1271 plugins/sudoers/sudoers.c:512 +#: plugins/sudoers/sudoers.c:1411 plugins/sudoers/testsudoers.c:215 +#: plugins/sudoers/testsudoers.c:382 +#, c-format +msgid "unknown user %s" +msgstr "" + +#: logsrvd/logsrvd_conf.c:439 plugins/sudoers/iolog.c:148 +#: plugins/sudoers/sudoers.c:517 plugins/sudoers/sudoers.c:1445 +#: plugins/sudoers/testsudoers.c:406 +#, c-format +msgid "unknown group %s" +msgstr "" + +#: logsrvd/logsrvd_conf.c:457 +#, c-format +msgid "unable to parse iolog mode %s" +msgstr "" + +#: logsrvd/logsrvd_conf.c:474 logsrvd/logsrvd_conf.c:1243 +#, c-format +msgid "invalid value for %s: %s" +msgstr "" + +#: logsrvd/logsrvd_conf.c:527 +msgid "TLS not supported" +msgstr "" + +#: logsrvd/logsrvd_conf.c:549 +#, c-format +msgid "%s:%s" +msgstr "" + +#: logsrvd/logsrvd_conf.c:622 logsrvd/logsrvd_conf.c:1032 +#, c-format +msgid "%s: not a fully qualified path" +msgstr "" + +#: logsrvd/logsrvd_conf.c:951 logsrvd/logsrvd_conf.c:967 +#: logsrvd/logsrvd_conf.c:1676 +#, c-format +msgid "unknown syslog facility %s" +msgstr "" + +#: logsrvd/logsrvd_conf.c:983 logsrvd/logsrvd_conf.c:999 +#: logsrvd/logsrvd_conf.c:1015 logsrvd/logsrvd_conf.c:1680 +#: logsrvd/logsrvd_conf.c:1684 logsrvd/logsrvd_conf.c:1688 +#, c-format +msgid "unknown syslog priority %s" +msgstr "" + +#: logsrvd/logsrvd_conf.c:1197 +#, c-format +msgid "%s:%d unmatched '[': %s" +msgstr "" + +#: logsrvd/logsrvd_conf.c:1203 +#, c-format +msgid "%s:%d garbage after ']': %s" +msgstr "" + +#: logsrvd/logsrvd_conf.c:1215 +#, c-format +msgid "%s:%d invalid config section: %s" +msgstr "" + +#: logsrvd/logsrvd_conf.c:1223 +#, c-format +msgid "%s:%d invalid configuration line: %s" +msgstr "" + +#: logsrvd/logsrvd_conf.c:1229 +#, c-format +msgid "%s:%d expected section name: %s" +msgstr "" + +#: logsrvd/logsrvd_conf.c:1251 +#, c-format +msgid "%s:%d [%s] illegal key: %s" +msgstr "" + +#: logsrvd/logsrvd_conf.c:1281 plugins/sudoers/cvtsudoers.c:268 +#: plugins/sudoers/logging.c:1033 +#, c-format +msgid "unable to open log file %s" +msgstr "" + +#: logsrvd/logsrvd_conf.c:1763 +msgid "unable to initialize server TLS context" +msgstr "" + +#: logsrvd/logsrvd_conf.c:1783 +msgid "unable to initialize relay TLS context" +msgstr "" + +#: logsrvd/logsrvd_journal.c:149 logsrvd/logsrvd_journal.c:424 +#: logsrvd/logsrvd_journal.c:429 +msgid "unable to create journal file" +msgstr "" + +#: logsrvd/logsrvd_journal.c:153 logsrvd/logsrvd_queue.c:109 +#: plugins/sudoers/visudo.c:1028 +#, c-format +msgid "unable to lock %s" +msgstr "" + +#: logsrvd/logsrvd_journal.c:156 +msgid "unable to lock journal file" +msgstr "" + +#: logsrvd/logsrvd_journal.c:164 +msgid "unable to open journal file" +msgstr "" + +#: logsrvd/logsrvd_journal.c:185 logsrvd/logsrvd_journal.c:460 +#: logsrvd/logsrvd_journal.c:465 +msgid "unable to write journal file" +msgstr "" + +#: logsrvd/logsrvd_journal.c:193 logsrvd/logsrvd_journal.c:200 +msgid "unable to rename journal file" +msgstr "" + +#: logsrvd/logsrvd_journal.c:247 logsrvd/logsrvd_journal.c:248 +#: logsrvd/logsrvd_journal.c:282 logsrvd/logsrvd_journal.c:283 +msgid "unexpected EOF reading journal file" +msgstr "" + +#: logsrvd/logsrvd_journal.c:251 logsrvd/logsrvd_journal.c:252 +#: logsrvd/logsrvd_journal.c:286 logsrvd/logsrvd_journal.c:287 +msgid "error reading journal file" +msgstr "" + +#: logsrvd/logsrvd_journal.c:298 logsrvd/logsrvd_journal.c:384 +msgid "invalid journal file, unable to restart" +msgstr "" + +#: logsrvd/logsrvd_journal.c:443 +#, c-format +msgid "unable to seek to [%lld, %ld] in journal file %s" +msgstr "" + +#: logsrvd/logsrvd_local.c:166 +#, c-format +msgid "unexpected value_case %d in %s from %s" +msgstr "" + +#: logsrvd/logsrvd_local.c:194 +msgid "error parsing AcceptMessage" +msgstr "" + +#: logsrvd/logsrvd_local.c:205 +msgid "error creating I/O log" +msgstr "" + +#: logsrvd/logsrvd_local.c:228 +msgid "error logging accept event" +msgstr "" + +#: logsrvd/logsrvd_local.c:267 +msgid "error parsing RejectMessage" +msgstr "" + +#: logsrvd/logsrvd_local.c:291 +msgid "error logging reject event" +msgstr "" + +#: logsrvd/logsrvd_local.c:427 logsrvd/logsrvd_local.c:435 +msgid "error logging exit event" +msgstr "" + +#: logsrvd/logsrvd_local.c:492 logsrvd/logsrvd_local.c:493 +msgid "log is already complete, cannot be restarted" +msgstr "" + +#: logsrvd/logsrvd_local.c:523 +msgid "unable to restart log" +msgstr "" + +#: logsrvd/logsrvd_local.c:539 +msgid "error parsing AlertMessage" +msgstr "" + +#: logsrvd/logsrvd_local.c:549 +msgid "error logging alert event" +msgstr "" + +#: logsrvd/logsrvd_local.c:585 logsrvd/logsrvd_local.c:648 +#: logsrvd/logsrvd_local.c:683 +#, c-format +msgid "unable to format timing buffer, length %d" +msgstr "" + +#: logsrvd/logsrvd_local.c:599 logsrvd/logsrvd_local.c:607 +#: logsrvd/logsrvd_local.c:655 logsrvd/logsrvd_local.c:690 +#: plugins/sudoers/sudoreplay.c:344 +#, c-format +msgid "%s/%s: %s" +msgstr "" + +#: logsrvd/logsrvd_local.c:618 +msgid "randomly dropping connection" +msgstr "" + +#: logsrvd/logsrvd_local.c:630 +msgid "error writing IoBuffer" +msgstr "" + +#: logsrvd/logsrvd_local.c:665 +msgid "error writing ChangeWindowSize" +msgstr "" + +#: logsrvd/logsrvd_local.c:700 +msgid "error writing CommandSuspend" +msgstr "" + +#: logsrvd/logsrvd_relay.c:435 +msgid "TLS handshake with relay host failed" +msgstr "" + +#: logsrvd/logsrvd_relay.c:463 +msgid "unable to connect to relay host" +msgstr "" + +#: logsrvd/logsrvd_relay.c:518 +#, c-format +msgid "%s: invalid ServerHello, missing server_id" +msgstr "" + +#: logsrvd/logsrvd_relay.c:520 logsrvd/sendlog.c:1096 +#: plugins/sudoers/log_client.c:1468 +msgid "invalid ServerHello" +msgstr "" + +#: logsrvd/logsrvd_relay.c:679 +msgid "unrecognized ServerMessage type" +msgstr "" + +#: logsrvd/logsrvd_relay.c:708 +#, c-format +msgid "timed out reading from relay %s (%s)" +msgstr "" + +#: logsrvd/logsrvd_relay.c:710 +msgid "timeout reading from relay" +msgstr "" + +#: logsrvd/logsrvd_relay.c:762 +msgid "relay host name does not match certificate" +msgstr "" + +#: logsrvd/logsrvd_relay.c:768 logsrvd/logsrvd_relay.c:782 +#: logsrvd/logsrvd_relay.c:789 +msgid "error reading from relay" +msgstr "" + +#: logsrvd/logsrvd_relay.c:810 +msgid "unable to read from relay" +msgstr "" + +#: logsrvd/logsrvd_relay.c:825 logsrvd/logsrvd_relay.c:943 +msgid "relay server closed connection" +msgstr "" + +#: logsrvd/logsrvd_relay.c:843 +msgid "server message too large" +msgstr "" + +#: logsrvd/logsrvd_relay.c:907 +#, c-format +msgid "timed out writing to relay %s (%s)" +msgstr "" + +#: logsrvd/logsrvd_relay.c:909 +msgid "timeout writing to relay" +msgstr "" + +#: logsrvd/logsrvd_relay.c:962 logsrvd/logsrvd_relay.c:969 +#: logsrvd/logsrvd_relay.c:981 +msgid "error writing to relay" +msgstr "" + +#: logsrvd/sendlog.c:119 +msgid "send sudo I/O log to remote server" +msgstr "" + +#: logsrvd/sendlog.c:125 +msgid "only send an accept event (no I/O)" +msgstr "" + +#: logsrvd/sendlog.c:128 +msgid "certificate bundle file to verify server's cert against" +msgstr "" + +#: logsrvd/sendlog.c:130 +msgid "certificate file for TLS handshake" +msgstr "" + +#: logsrvd/sendlog.c:133 +msgid "host to send logs to" +msgstr "" + +#: logsrvd/sendlog.c:135 +msgid "remote ID of I/O log to be resumed" +msgstr "" + +#: logsrvd/sendlog.c:138 +msgid "private key file" +msgstr "" + +#: logsrvd/sendlog.c:140 +msgid "do not verify server certificate" +msgstr "" + +#: logsrvd/sendlog.c:143 +msgid "port to use when connecting to host" +msgstr "" + +#: logsrvd/sendlog.c:145 +msgid "restart previous I/O log transfer" +msgstr "" + +#: logsrvd/sendlog.c:147 +msgid "reject the command with the given reason" +msgstr "" + +#: logsrvd/sendlog.c:149 +msgid "stop transfer after reaching this time" +msgstr "" + +#: logsrvd/sendlog.c:151 +msgid "test audit server by sending selected I/O log n times in parallel" +msgstr "" + +#: logsrvd/sendlog.c:176 plugins/sudoers/log_client.c:453 +#, c-format +msgid "unable to look up %s:%s: %s" +msgstr "" + +#: logsrvd/sendlog.c:214 +msgid "unable to get server IP addr" +msgstr "" + +#: logsrvd/sendlog.c:300 plugins/sudoers/sudoreplay.c:868 +#, c-format +msgid "unable to read %s/%s: %s" +msgstr "" + +#: logsrvd/sendlog.c:1020 plugins/sudoers/iolog.c:949 +#: plugins/sudoers/iolog.c:1024 +#, c-format +msgid "unexpected I/O event %d" +msgstr "" + +#: logsrvd/sendlog.c:1073 logsrvd/sendlog.c:1090 logsrvd/sendlog.c:1124 +#: plugins/sudoers/log_client.c:1118 plugins/sudoers/log_client.c:1394 +#: plugins/sudoers/log_client.c:1462 plugins/sudoers/log_client.c:1501 +#, c-format +msgid "%s: unexpected state %d" +msgstr "" + +#: logsrvd/sendlog.c:1160 plugins/sudoers/log_client.c:1550 +#, c-format +msgid "error message received from server: %s" +msgstr "" + +#: logsrvd/sendlog.c:1173 plugins/sudoers/log_client.c:1563 +#, c-format +msgid "abort message received from server: %s" +msgstr "" + +#: logsrvd/sendlog.c:1232 plugins/sudoers/log_client.c:1613 +#, c-format +msgid "%s: unexpected type_case value %d" +msgstr "" + +#: logsrvd/sendlog.c:1261 +msgid "timeout reading from server" +msgstr "" + +#: logsrvd/sendlog.c:1310 plugins/sudoers/log_client.c:1729 +msgid "host name does not match certificate" +msgstr "" + +#: logsrvd/sendlog.c:1343 +msgid "premature EOF" +msgstr "" + +#: logsrvd/sendlog.c:1356 plugins/sudoers/log_client.c:1776 +#, c-format +msgid "server message too large: %u" +msgstr "" + +#: logsrvd/sendlog.c:1412 +msgid "timeout writing to server" +msgstr "" + +#: logsrvd/sendlog.c:1779 +msgid "both restart point and iolog ID must be specified" +msgstr "" + +#: logsrvd/sendlog.c:1783 +msgid "a restart point may not be set when no I/O is sent" +msgstr "" + +#: logsrvd/sendlog.c:1859 +#, c-format +msgid "exited prematurely with state %d" +msgstr "" + +#: logsrvd/sendlog.c:1860 +#, c-format +msgid "elapsed time sent to server [%lld, %ld]" +msgstr "" + +#: logsrvd/sendlog.c:1862 +#, c-format +msgid "commit point received from server [%lld, %ld]" +msgstr "" + +#: logsrvd/tls_client.c:111 plugins/sudoers/log_client.c:315 +msgid "TLS handshake timeout occurred" +msgstr "" + +#: logsrvd/tls_client.c:131 logsrvd/tls_client.c:147 +#: plugins/sudoers/log_client.c:337 plugins/sudoers/log_client.c:353 +msgid "unable to set event" +msgstr "" + +#: logsrvd/tls_client.c:157 logsrvd/tls_client.c:161 +#, c-format +msgid "TLS connection failed: %s" +msgstr "" + +#: logsrvd/tls_client.c:196 +#, c-format +msgid "unable to allocate ssl object: %s" +msgstr "" + +#: logsrvd/tls_client.c:210 +#, c-format +msgid "Unable to attach socket to the ssl object: %s" +msgstr "" + +#: logsrvd/tls_client.c:238 +msgid "unable to initialize TLS context" +msgstr "" + +#: logsrvd/tls_init.c:138 logsrvd/tls_init.c:146 +#, c-format +msgid "unable to set TLS 1.2 ciphersuite to %s: %s" +msgstr "" + +#: logsrvd/tls_init.c:166 logsrvd/tls_init.c:174 +#, c-format +msgid "unable to set TLS 1.3 ciphersuite to %s: %s" +msgstr "" + +#: logsrvd/tls_init.c:206 logsrvd/tls_init.c:227 +#, c-format +msgid "unable to set diffie-hellman parameters: %s" +msgstr "" + +#: logsrvd/tls_init.c:283 +#, c-format +msgid "unable to create TLS context: %s" +msgstr "" + +#: logsrvd/tls_init.c:290 +#, c-format +msgid "unable to set minimum protocol version to TLS 1.2: %s" +msgstr "" + +#: plugins/sudoers/audit.c:269 plugins/sudoers/audit.c:429 +#: plugins/sudoers/log_client.c:951 plugins/sudoers/log_client.c:1000 +#: plugins/sudoers/log_client.c:1049 plugins/sudoers/log_client.c:1174 +#: plugins/sudoers/logging.c:595 plugins/sudoers/logging.c:693 +#: plugins/sudoers/logging.c:796 plugins/sudoers/logging.c:987 +#: plugins/sudoers/policy.c:125 +msgid "unable to get time of day" +msgstr "" + +#: plugins/sudoers/auth/aix_auth.c:280 +#, c-format +msgid "unable to change password for %s" +msgstr "" + +#: plugins/sudoers/auth/bsdauth.c:74 +#, c-format +msgid "unable to get login class for user %s" +msgstr "" + +#: plugins/sudoers/auth/bsdauth.c:79 +msgid "unable to begin bsd authentication" +msgstr "" + +#: plugins/sudoers/auth/bsdauth.c:87 +msgid "invalid authentication type" +msgstr "" + +#: plugins/sudoers/auth/bsdauth.c:96 +msgid "unable to initialize BSD authentication" +msgstr "" + +#: plugins/sudoers/auth/bsdauth.c:186 +msgid "your account has expired" +msgstr "" + +#: plugins/sudoers/auth/bsdauth.c:188 +msgid "approval failed" +msgstr "" + +#: plugins/sudoers/auth/fwtk.c:61 +msgid "unable to read fwtk config" +msgstr "" + +#: plugins/sudoers/auth/fwtk.c:66 +msgid "unable to connect to authentication server" +msgstr "" + +#: plugins/sudoers/auth/fwtk.c:72 plugins/sudoers/auth/fwtk.c:97 +#: plugins/sudoers/auth/fwtk.c:129 +msgid "lost connection to authentication server" +msgstr "" + +#: plugins/sudoers/auth/fwtk.c:76 +#, c-format +msgid "" +"authentication server error:\n" +"%s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:115 +#, c-format +msgid "%s: unable to convert principal to string ('%s'): %s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:164 +#, c-format +msgid "%s: unable to parse '%s': %s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:173 +#, c-format +msgid "%s: unable to resolve credential cache: %s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:222 +#, c-format +msgid "%s: unable to allocate options: %s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:237 +#, c-format +msgid "%s: unable to get credentials: %s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:250 +#, c-format +msgid "%s: unable to initialize credential cache: %s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:253 +#, c-format +msgid "%s: unable to store credential in cache: %s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:317 +#, c-format +msgid "%s: unable to get host principal: %s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:331 +#, c-format +msgid "%s: Cannot verify TGT! Possible attack!: %s" +msgstr "" + +#: plugins/sudoers/auth/pam.c:224 +#, c-format +msgid "unable to initialize PAM: %s" +msgstr "" + +#: plugins/sudoers/auth/pam.c:337 +#, c-format +msgid "PAM authentication error: %s" +msgstr "" + +#: plugins/sudoers/auth/pam.c:356 +msgid "account validation failure, is your account locked?" +msgstr "" + +#: plugins/sudoers/auth/pam.c:367 +msgid "Account or password is expired, reset your password and try again" +msgstr "" + +#: plugins/sudoers/auth/pam.c:373 +#, c-format +msgid "unable to change expired password: %s" +msgstr "" + +#: plugins/sudoers/auth/pam.c:384 +msgid "Password expired, contact your system administrator" +msgstr "" + +#: plugins/sudoers/auth/pam.c:389 +msgid "" +"Account expired or PAM config lacks an \"account\" section for sudo, contact " +"your system administrator" +msgstr "" + +#: plugins/sudoers/auth/pam.c:397 plugins/sudoers/auth/pam.c:402 +#, c-format +msgid "PAM account management error: %s" +msgstr "" + +#: plugins/sudoers/auth/rfc1938.c:99 plugins/sudoers/visudo.c:271 +#, c-format +msgid "you do not exist in the %s database" +msgstr "" + +#: plugins/sudoers/auth/securid5.c:75 +msgid "failed to initialise the ACE API library" +msgstr "" + +#: plugins/sudoers/auth/securid5.c:106 +msgid "unable to contact the SecurID server" +msgstr "" + +#: plugins/sudoers/auth/securid5.c:115 +msgid "User ID locked for SecurID Authentication" +msgstr "" + +#: plugins/sudoers/auth/securid5.c:119 plugins/sudoers/auth/securid5.c:171 +msgid "invalid username length for SecurID" +msgstr "" + +#: plugins/sudoers/auth/securid5.c:123 plugins/sudoers/auth/securid5.c:176 +msgid "invalid Authentication Handle for SecurID" +msgstr "" + +#: plugins/sudoers/auth/securid5.c:127 +msgid "SecurID communication failed" +msgstr "" + +#: plugins/sudoers/auth/securid5.c:131 plugins/sudoers/auth/securid5.c:219 +msgid "unknown SecurID error" +msgstr "" + +#: plugins/sudoers/auth/securid5.c:166 +msgid "invalid passcode length for SecurID" +msgstr "" + +#: plugins/sudoers/auth/sia.c:69 plugins/sudoers/auth/sia.c:126 +msgid "unable to initialize SIA session" +msgstr "" + +#: plugins/sudoers/auth/sudo_auth.c:135 +msgid "invalid authentication methods" +msgstr "" + +#: plugins/sudoers/auth/sudo_auth.c:137 +msgid "" +"Invalid authentication methods compiled into sudo! You may not mix " +"standalone and non-standalone authentication." +msgstr "" + +#: plugins/sudoers/auth/sudo_auth.c:258 plugins/sudoers/auth/sudo_auth.c:310 +msgid "no authentication methods" +msgstr "" + +#: plugins/sudoers/auth/sudo_auth.c:260 +msgid "" +"There are no authentication methods compiled into sudo! If you want to turn " +"off authentication, use the --disable-authentication configure option." +msgstr "" + +#: plugins/sudoers/auth/sudo_auth.c:312 +msgid "Unable to initialize authentication methods." +msgstr "" + +#: plugins/sudoers/auth/sudo_auth.c:486 +msgid "Authentication methods:" +msgstr "" + +#: plugins/sudoers/bsm_audit.c:123 plugins/sudoers/bsm_audit.c:214 +msgid "Could not determine audit condition" +msgstr "" + +#: plugins/sudoers/bsm_audit.c:188 plugins/sudoers/bsm_audit.c:277 +msgid "unable to commit audit record" +msgstr "" + +#: plugins/sudoers/check.c:285 +#, c-format +msgid "error reading lecture file %s" +msgstr "" + +#: plugins/sudoers/check.c:288 +#, c-format +msgid "ignoring lecture file %s: not a regular file" +msgstr "" + +#: plugins/sudoers/check.c:301 +msgid "" +"\n" +"We trust you have received the usual lecture from the local System\n" +"Administrator. It usually boils down to these three things:\n" +"\n" +" #1) Respect the privacy of others.\n" +" #2) Think before you type.\n" +" #3) With great power comes great responsibility.\n" +"\n" +msgstr "" + +#: plugins/sudoers/check.c:309 +msgid "" +"For security reasons, the password you type will not be visible.\n" +"\n" +msgstr "" + +#: plugins/sudoers/check.c:353 plugins/sudoers/check.c:363 +#: plugins/sudoers/parse.c:82 plugins/sudoers/sudoers.c:945 +#: plugins/sudoers/sudoers.c:966 plugins/sudoers/tsdump.c:119 +#, c-format +msgid "unknown uid %u" +msgstr "" + +#: plugins/sudoers/check_aliases.c:99 plugins/sudoers/defaults.c:1279 +#, c-format +msgid "%s: %s\n" +msgstr "" + +#: plugins/sudoers/check_aliases.c:133 +#, c-format +msgid "cycle in %s \"%s\"" +msgstr "" + +#: plugins/sudoers/check_aliases.c:136 +#, c-format +msgid "%s \"%s\" referenced but not defined" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:209 +#, c-format +msgid "order increment: %s: %s" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:228 +#, c-format +msgid "starting order: %s: %s" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:238 +#, c-format +msgid "order padding: %s: %s" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:248 plugins/sudoers/visudo.c:184 +#, c-format +msgid "%s grammar version %d\n" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:277 plugins/sudoers/testsudoers.c:159 +#, c-format +msgid "unsupported input format %s" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:295 +#, c-format +msgid "unsupported output format %s" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:385 +#, c-format +msgid "%s: input and output files must be different" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:399 plugins/sudoers/sudoers.c:166 +#: plugins/sudoers/sudoers.c:222 plugins/sudoers/testsudoers.c:254 +#: plugins/sudoers/visudo.c:280 plugins/sudoers/visudo.c:654 +msgid "unable to initialize sudoers default values" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:525 plugins/sudoers/ldap_conf.c:434 +#, c-format +msgid "%s: %s: %s: %s" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:584 +#, c-format +msgid "%s: unknown key word %s" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:630 +#, c-format +msgid "invalid defaults type: %s" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:653 +#, c-format +msgid "invalid suppression type: %s" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:694 plugins/sudoers/cvtsudoers.c:710 +#, c-format +msgid "invalid filter: %s" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:754 plugins/sudoers/visudo.c:982 +#, c-format +msgid "failed to parse %s file, unknown error" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:1478 plugins/sudoers/sudoreplay.c:1142 +#: plugins/sudoers/timestamp.c:343 plugins/sudoers/timestamp.c:346 +#, c-format +msgid "unable to write to %s" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:1506 +#, c-format +msgid "" +"%s - convert between sudoers file formats\n" +"\n" +msgstr "" + +#: plugins/sudoers/cvtsudoers.c:1508 +msgid "" +"\n" +"Options:\n" +" -b, --base=dn the base DN for sudo LDAP queries\n" +" -c, --config=conf_file the path to the configuration file\n" +" -d, --defaults=deftypes only convert Defaults of the specified types\n" +" -e, --expand-aliases expand aliases when converting\n" +" -f, --output-format=format set output format: JSON, LDIF or sudoers\n" +" -i, --input-format=format set input format: LDIF or sudoers\n" +" -I, --increment=num amount to increase each sudoOrder by\n" +" -h, --help display help message and exit\n" +" -m, --match=filter only convert entries that match the filter\n" +" -M, --match-local match filter uses passwd and group databases\n" +" -o, --output=output_file write converted sudoers to output_file\n" +" -O, --order-start=num starting point for first sudoOrder\n" +" -p, --prune-matches prune non-matching users, groups and hosts\n" +" -P, --padding=num base padding for sudoOrder increment\n" +" -s, --suppress=sections suppress output of certain sections\n" +" -V, --version display version information and exit" +msgstr "" + +#: plugins/sudoers/cvtsudoers_csv.c:192 plugins/sudoers/cvtsudoers_csv.c:199 +#: plugins/sudoers/cvtsudoers_ldif.c:244 plugins/sudoers/cvtsudoers_ldif.c:251 +#: plugins/sudoers/cvtsudoers_ldif.c:592 plugins/sudoers/env.c:340 +#: plugins/sudoers/env.c:347 plugins/sudoers/env.c:458 +#: plugins/sudoers/ldap.c:528 plugins/sudoers/ldap.c:761 +#: plugins/sudoers/ldap.c:1134 plugins/sudoers/ldap_conf.c:222 +#: plugins/sudoers/ldap_conf.c:313 plugins/sudoers/ldap_util.c:486 +#: plugins/sudoers/linux_audit.c:92 plugins/sudoers/logging.c:461 +#: plugins/sudoers/logging.c:817 plugins/sudoers/logging.c:827 +#: plugins/sudoers/policy.c:807 plugins/sudoers/policy.c:818 +#: plugins/sudoers/prompt.c:168 plugins/sudoers/serialize_list.c:62 +#: plugins/sudoers/serialize_list.c:71 plugins/sudoers/strvec_join.c:62 +#: plugins/sudoers/sudoreplay.c:1339 plugins/sudoers/sudoreplay.c:1345 +#: plugins/sudoers/sudoreplay.c:1351 plugins/sudoers/testsudoers.c:245 +#: plugins/sudoers/toke_util.c:213 toke.l:995 toke.l:1197 +#, c-format +msgid "internal error, %s overflow" +msgstr "" + +#: plugins/sudoers/cvtsudoers_csv.c:452 plugins/sudoers/cvtsudoers_csv.c:466 +#: plugins/sudoers/cvtsudoers_json.c:657 plugins/sudoers/cvtsudoers_json.c:672 +#: plugins/sudoers/cvtsudoers_ldif.c:347 plugins/sudoers/cvtsudoers_ldif.c:360 +#: plugins/sudoers/ldap.c:512 +msgid "unable to get GMT time" +msgstr "" + +#: plugins/sudoers/cvtsudoers_csv.c:457 plugins/sudoers/cvtsudoers_csv.c:471 +#: plugins/sudoers/cvtsudoers_json.c:662 plugins/sudoers/cvtsudoers_json.c:677 +#: plugins/sudoers/cvtsudoers_ldif.c:352 plugins/sudoers/cvtsudoers_ldif.c:365 +#: plugins/sudoers/ldap.c:520 +msgid "unable to format timestamp" +msgstr "" + +#: plugins/sudoers/cvtsudoers_json.c:480 plugins/sudoers/cvtsudoers_json.c:515 +#: plugins/sudoers/cvtsudoers_json.c:728 +#, c-format +msgid "%s:%d:%d: unknown defaults entry \"%s\"" +msgstr "" + +#: plugins/sudoers/cvtsudoers_ldif.c:661 +#, c-format +msgid "too many sudoers entries, maximum %u" +msgstr "" + +#: plugins/sudoers/cvtsudoers_ldif.c:704 +msgid "" +"the SUDOERS_BASE environment variable is not set and the -b option was not " +"specified." +msgstr "" + +#: plugins/sudoers/cvtsudoers_merge.c:273 +#: plugins/sudoers/cvtsudoers_merge.c:309 +#, c-format +msgid "%s:%d:%d: converting host list to ALL" +msgstr "" + +#: plugins/sudoers/cvtsudoers_merge.c:545 +#, c-format +msgid "unable to find alias %s" +msgstr "" + +#: plugins/sudoers/cvtsudoers_merge.c:548 +#, c-format +msgid "%s:%d:%d: renaming alias %s to %s" +msgstr "" + +#: plugins/sudoers/cvtsudoers_merge.c:605 +#, c-format +msgid "%s:%d:%d: removing duplicate alias %s" +msgstr "" + +#: plugins/sudoers/cvtsudoers_merge.c:830 +#, c-format +msgid "%s:%d:%d: conflicting Defaults entry \"%s\" host-specific in %s:%d:%d" +msgstr "" + +#: plugins/sudoers/cvtsudoers_merge.c:864 +#, c-format +msgid "%s:%d:%d: made Defaults \"%s\" specific to host %s" +msgstr "" + +#: plugins/sudoers/cvtsudoers_merge.c:882 +#, c-format +msgid "%s:%d:%d: unable to make Defaults \"%s\" host-specific" +msgstr "" + +#: plugins/sudoers/cvtsudoers_merge.c:892 +#, c-format +msgid "%s:%d:%d: removing Defaults \"%s\" overridden by subsequent entries" +msgstr "" + +#: plugins/sudoers/cvtsudoers_merge.c:1088 +#, c-format +msgid "%s:%d:%d: merging userspec into %s:%d:%d" +msgstr "" + +#: plugins/sudoers/cvtsudoers_merge.c:1182 +#, c-format +msgid "%s:%d:%d: removing userspec overridden by subsequent entries" +msgstr "" + +#: plugins/sudoers/def_data.c:56 +#, c-format +msgid "Syslog facility if syslog is being used for logging: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:60 +#, c-format +msgid "Syslog priority to use when user authenticates successfully: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:64 +#, c-format +msgid "Syslog priority to use when user authenticates unsuccessfully: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:68 +msgid "Put OTP prompt on its own line" +msgstr "" + +#: plugins/sudoers/def_data.c:72 +msgid "Ignore '.' in $PATH" +msgstr "" + +#: plugins/sudoers/def_data.c:76 +msgid "Always send mail when sudo is run" +msgstr "" + +#: plugins/sudoers/def_data.c:80 +msgid "Send mail if user authentication fails" +msgstr "" + +#: plugins/sudoers/def_data.c:84 +msgid "Send mail if the user is not in sudoers" +msgstr "" + +#: plugins/sudoers/def_data.c:88 +msgid "Send mail if the user is not in sudoers for this host" +msgstr "" + +#: plugins/sudoers/def_data.c:92 +msgid "Send mail if the user is not allowed to run a command" +msgstr "" + +#: plugins/sudoers/def_data.c:96 +msgid "Send mail if the user tries to run a command" +msgstr "" + +#: plugins/sudoers/def_data.c:100 +msgid "Use a separate timestamp for each user/tty combo" +msgstr "" + +#: plugins/sudoers/def_data.c:104 +msgid "Lecture user the first time they run sudo" +msgstr "" + +#: plugins/sudoers/def_data.c:108 +#, c-format +msgid "File containing the sudo lecture: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:112 +msgid "Require users to authenticate by default" +msgstr "" + +#: plugins/sudoers/def_data.c:116 +msgid "Root may run sudo" +msgstr "" + +#: plugins/sudoers/def_data.c:120 +msgid "Log the hostname in the (non-syslog) log file" +msgstr "" + +#: plugins/sudoers/def_data.c:124 +msgid "Log the year in the (non-syslog) log file" +msgstr "" + +#: plugins/sudoers/def_data.c:128 +msgid "If sudo is invoked with no arguments, start a shell" +msgstr "" + +#: plugins/sudoers/def_data.c:132 +msgid "Set $HOME to the target user when starting a shell with -s" +msgstr "" + +#: plugins/sudoers/def_data.c:136 +msgid "Always set $HOME to the target user's home directory" +msgstr "" + +#: plugins/sudoers/def_data.c:140 +msgid "Allow some information gathering to give useful error messages" +msgstr "" + +#: plugins/sudoers/def_data.c:144 +msgid "Require fully-qualified hostnames in the sudoers file" +msgstr "" + +#: plugins/sudoers/def_data.c:148 +msgid "Insult the user when they enter an incorrect password" +msgstr "" + +#: plugins/sudoers/def_data.c:152 +msgid "Only allow the user to run sudo if they have a tty" +msgstr "" + +#: plugins/sudoers/def_data.c:156 +msgid "Visudo will honor the EDITOR environment variable" +msgstr "" + +#: plugins/sudoers/def_data.c:160 +msgid "Prompt for root's password, not the users's" +msgstr "" + +#: plugins/sudoers/def_data.c:164 +msgid "Prompt for the runas_default user's password, not the users's" +msgstr "" + +#: plugins/sudoers/def_data.c:168 +msgid "Prompt for the target user's password, not the users's" +msgstr "" + +#: plugins/sudoers/def_data.c:172 +msgid "Apply defaults in the target user's login class if there is one" +msgstr "" + +#: plugins/sudoers/def_data.c:176 +msgid "Set the LOGNAME and USER environment variables" +msgstr "" + +#: plugins/sudoers/def_data.c:180 +msgid "Only set the effective uid to the target user, not the real uid" +msgstr "" + +#: plugins/sudoers/def_data.c:184 +msgid "Don't initialize the group vector to that of the target user" +msgstr "" + +#: plugins/sudoers/def_data.c:188 +#, c-format +msgid "Length at which to wrap log file lines (0 for no wrap): %u" +msgstr "" + +#: plugins/sudoers/def_data.c:192 +#, c-format +msgid "Authentication timestamp timeout: %.1f minutes" +msgstr "" + +#: plugins/sudoers/def_data.c:196 +#, c-format +msgid "Password prompt timeout: %.1f minutes" +msgstr "" + +#: plugins/sudoers/def_data.c:200 +#, c-format +msgid "Number of tries to enter a password: %u" +msgstr "" + +#: plugins/sudoers/def_data.c:204 +#, c-format +msgid "Umask to use or 0777 to use user's: 0%o" +msgstr "" + +#: plugins/sudoers/def_data.c:208 +#, c-format +msgid "Path to log file: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:212 +#, c-format +msgid "Path to mail program: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:216 +#, c-format +msgid "Flags for mail program: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:220 +#, c-format +msgid "Address to send mail to: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:224 +#, c-format +msgid "Address to send mail from: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:228 +#, c-format +msgid "Subject line for mail messages: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:232 +#, c-format +msgid "Incorrect password message: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:236 +#, c-format +msgid "Path to lecture status dir: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:240 +#, c-format +msgid "Path to authentication timestamp dir: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:244 +#, c-format +msgid "Owner of the authentication timestamp dir: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:248 +#, c-format +msgid "Users in this group are exempt from password and PATH requirements: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:252 +#, c-format +msgid "Default password prompt: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:256 +msgid "If set, passprompt will override system prompt in all cases." +msgstr "" + +#: plugins/sudoers/def_data.c:260 +#, c-format +msgid "Default user to run commands as: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:264 +#, c-format +msgid "Value to override user's $PATH with: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:268 +#, c-format +msgid "Path to the editor for use by visudo: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:272 +#, c-format +msgid "When to require a password for 'list' pseudocommand: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:276 +#, c-format +msgid "When to require a password for 'verify' pseudocommand: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:280 +msgid "Preload the sudo_noexec library which replaces the exec functions" +msgstr "" + +#: plugins/sudoers/def_data.c:284 +msgid "If LDAP directory is up, do we ignore local sudoers file" +msgstr "" + +#: plugins/sudoers/def_data.c:288 +#, c-format +msgid "File descriptors >= %d will be closed before executing a command" +msgstr "" + +#: plugins/sudoers/def_data.c:292 +msgid "" +"If set, users may override the value of \"closefrom\" with the -C option" +msgstr "" + +#: plugins/sudoers/def_data.c:296 +msgid "Allow users to set arbitrary environment variables" +msgstr "" + +#: plugins/sudoers/def_data.c:300 +msgid "Reset the environment to a default set of variables" +msgstr "" + +#: plugins/sudoers/def_data.c:304 +msgid "Environment variables to check for safety:" +msgstr "" + +#: plugins/sudoers/def_data.c:308 +msgid "Environment variables to remove:" +msgstr "" + +#: plugins/sudoers/def_data.c:312 +msgid "Environment variables to preserve:" +msgstr "" + +#: plugins/sudoers/def_data.c:316 +#, c-format +msgid "SELinux role to use in the new security context: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:320 +#, c-format +msgid "SELinux type to use in the new security context: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:324 +#, c-format +msgid "Path to the sudo-specific environment file: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:328 +#, c-format +msgid "Path to the restricted sudo-specific environment file: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:332 +#, c-format +msgid "Locale to use while parsing sudoers: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:336 +msgid "Allow sudo to prompt for a password even if it would be visible" +msgstr "" + +#: plugins/sudoers/def_data.c:340 +msgid "Provide visual feedback at the password prompt when there is user input" +msgstr "" + +#: plugins/sudoers/def_data.c:344 +msgid "" +"Use faster globbing that is less accurate but does not access the filesystem" +msgstr "" + +#: plugins/sudoers/def_data.c:348 +msgid "" +"The umask specified in sudoers will override the user's, even if it is more " +"permissive" +msgstr "" + +#: plugins/sudoers/def_data.c:352 +msgid "Log user's input for the command being run" +msgstr "" + +#: plugins/sudoers/def_data.c:356 +msgid "Log the command's standard input if not connected to a terminal" +msgstr "" + +#: plugins/sudoers/def_data.c:360 +msgid "Log the user's terminal input for the command being run" +msgstr "" + +#: plugins/sudoers/def_data.c:364 +msgid "Log the output of the command being run" +msgstr "" + +#: plugins/sudoers/def_data.c:368 +msgid "Log the command's standard output if not connected to a terminal" +msgstr "" + +#: plugins/sudoers/def_data.c:372 +msgid "Log the command's standard error if not connected to a terminal" +msgstr "" + +#: plugins/sudoers/def_data.c:376 +msgid "Log the terminal output of the command being run" +msgstr "" + +#: plugins/sudoers/def_data.c:380 +msgid "Compress I/O logs using zlib" +msgstr "" + +#: plugins/sudoers/def_data.c:384 +msgid "Always run commands in a pseudo-tty" +msgstr "" + +#: plugins/sudoers/def_data.c:388 +#, c-format +msgid "Plugin for non-Unix group support: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:392 +#, c-format +msgid "Directory in which to store input/output logs: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:396 +#, c-format +msgid "File in which to store the input/output log: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:400 +msgid "Add an entry to the utmp/utmpx file when allocating a pty" +msgstr "" + +#: plugins/sudoers/def_data.c:404 +msgid "Set the user in utmp to the runas user, not the invoking user" +msgstr "" + +#: plugins/sudoers/def_data.c:408 +#, c-format +msgid "Set of permitted privileges: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:412 +#, c-format +msgid "Set of limit privileges: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:416 +msgid "Run commands on a pty in the background" +msgstr "" + +#: plugins/sudoers/def_data.c:420 +#, c-format +msgid "PAM service name to use: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:424 +#, c-format +msgid "PAM service name to use for login shells: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:428 +#, c-format +msgid "PAM service name to use when sudo is run with the -A option: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:432 +msgid "Attempt to establish PAM credentials for the target user" +msgstr "" + +#: plugins/sudoers/def_data.c:436 +msgid "Create a new PAM session for the command to run in" +msgstr "" + +#: plugins/sudoers/def_data.c:440 +msgid "Perform PAM account validation management" +msgstr "" + +#: plugins/sudoers/def_data.c:444 +#, c-format +msgid "Maximum I/O log sequence number: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:448 +msgid "Enable sudoers netgroup support" +msgstr "" + +#: plugins/sudoers/def_data.c:452 +msgid "" +"Check parent directories for writability when editing files with sudoedit" +msgstr "" + +#: plugins/sudoers/def_data.c:456 +msgid "Follow symbolic links when editing files with sudoedit" +msgstr "" + +#: plugins/sudoers/def_data.c:460 +msgid "Query the group plugin for unknown system groups" +msgstr "" + +#: plugins/sudoers/def_data.c:464 +msgid "Match netgroups based on the entire tuple: user, host and domain" +msgstr "" + +#: plugins/sudoers/def_data.c:468 +msgid "Allow commands to be run even if sudo cannot write to the audit log" +msgstr "" + +#: plugins/sudoers/def_data.c:472 +msgid "Allow commands to be run even if sudo cannot write to the I/O log" +msgstr "" + +#: plugins/sudoers/def_data.c:476 +msgid "Allow commands to be run even if sudo cannot write to the log file" +msgstr "" + +#: plugins/sudoers/def_data.c:480 +msgid "Resolve groups in sudoers and match on the group ID, not the name" +msgstr "" + +#: plugins/sudoers/def_data.c:484 +#, c-format +msgid "" +"Log entries larger than this value will be split into multiple syslog " +"messages: %u" +msgstr "" + +#: plugins/sudoers/def_data.c:488 +#, c-format +msgid "User that will own the I/O log files: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:492 +#, c-format +msgid "Group that will own the I/O log files: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:496 +#, c-format +msgid "File mode to use for the I/O log files: 0%o" +msgstr "" + +#: plugins/sudoers/def_data.c:500 +#, c-format +msgid "Execute commands by file descriptor instead of by path: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:504 +msgid "" +"Ignore unknown Defaults entries in sudoers instead of producing a warning" +msgstr "" + +#: plugins/sudoers/def_data.c:508 +#, c-format +msgid "Time in seconds after which the command will be terminated: %u" +msgstr "" + +#: plugins/sudoers/def_data.c:512 +msgid "Allow the user to specify a timeout on the command line" +msgstr "" + +#: plugins/sudoers/def_data.c:516 +msgid "Flush I/O log data to disk immediately instead of buffering it" +msgstr "" + +#: plugins/sudoers/def_data.c:520 +msgid "Include the process ID when logging via syslog" +msgstr "" + +#: plugins/sudoers/def_data.c:524 +#, c-format +msgid "Type of authentication timestamp record: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:528 +#, c-format +msgid "Authentication failure message: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:532 +msgid "Ignore case when matching user names" +msgstr "" + +#: plugins/sudoers/def_data.c:536 +msgid "Ignore case when matching group names" +msgstr "" + +#: plugins/sudoers/def_data.c:540 +msgid "Log when a command is allowed by sudoers" +msgstr "" + +#: plugins/sudoers/def_data.c:544 +msgid "Log when a command is denied by sudoers" +msgstr "" + +#: plugins/sudoers/def_data.c:548 +msgid "Sudo log server(s) to connect to with optional port" +msgstr "" + +#: plugins/sudoers/def_data.c:552 +#, c-format +msgid "Sudo log server timeout in seconds: %u" +msgstr "" + +#: plugins/sudoers/def_data.c:556 +msgid "" +"Enable SO_KEEPALIVE socket option on the socket connected to the logserver" +msgstr "" + +#: plugins/sudoers/def_data.c:560 +#, c-format +msgid "Path to the audit server's CA bundle file: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:564 +#, c-format +msgid "Path to the sudoers certificate file: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:568 +#, c-format +msgid "Path to the sudoers private key file: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:572 +msgid "Verify that the log server's certificate is valid" +msgstr "" + +#: plugins/sudoers/def_data.c:576 +msgid "Allow the use of unknown runas user and/or group ID" +msgstr "" + +#: plugins/sudoers/def_data.c:580 +msgid "Only permit running commands as a user with a valid shell" +msgstr "" + +#: plugins/sudoers/def_data.c:584 +msgid "Set the pam remote user to the user running sudo" +msgstr "" + +#: plugins/sudoers/def_data.c:588 +msgid "Set the pam remote host to the local host name" +msgstr "" + +#: plugins/sudoers/def_data.c:592 +#, c-format +msgid "Working directory to change to before executing the command: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:596 +#, c-format +msgid "Root directory to change to before executing the command: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:600 +#, c-format +msgid "The format of logs to produce: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:604 +msgid "Enable SELinux RBAC support" +msgstr "" + +#: plugins/sudoers/def_data.c:608 +#, c-format +msgid "Path to the file that is created the first time sudo is run: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:612 +msgid "Intercept further commands and apply sudoers restrictions to them" +msgstr "" + +#: plugins/sudoers/def_data.c:616 +msgid "Log sub-commands run by the original command" +msgstr "" + +#: plugins/sudoers/def_data.c:620 +msgid "Log the exit status of commands" +msgstr "" + +#: plugins/sudoers/def_data.c:624 +msgid "Subsequent commands in an intercepted session must be authenticated" +msgstr "" + +#: plugins/sudoers/def_data.c:628 +msgid "Allow an intercepted command to run set setuid or setgid programs" +msgstr "" + +#: plugins/sudoers/def_data.c:632 +#, c-format +msgid "" +"The maximum size to which the process's address space may grow (in bytes): %s" +msgstr "" + +#: plugins/sudoers/def_data.c:636 +#, c-format +msgid "The largest size core dump file that may be created (in bytes): %s" +msgstr "" + +#: plugins/sudoers/def_data.c:640 +#, c-format +msgid "" +"The maximum amount of CPU time that the process may use (in seconds): %s" +msgstr "" + +#: plugins/sudoers/def_data.c:644 +#, c-format +msgid "The maximum size of the data segment for the process (in bytes): %s" +msgstr "" + +#: plugins/sudoers/def_data.c:648 +#, c-format +msgid "The largest size file that the process may create (in bytes): %s" +msgstr "" + +#: plugins/sudoers/def_data.c:652 +#, c-format +msgid "The maximum number of locks that the process may establish: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:656 +#, c-format +msgid "The maximum size that the process may lock in memory (in bytes): %s" +msgstr "" + +#: plugins/sudoers/def_data.c:660 +#, c-format +msgid "The maximum number of files that the process may have open: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:664 +#, c-format +msgid "" +"The maximum number of processes that the user may run simultaneously: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:668 +#, c-format +msgid "" +"The maximum size to which the process's resident set size may grow (in " +"bytes): %s" +msgstr "" + +#: plugins/sudoers/def_data.c:672 +#, c-format +msgid "The maximum size to which the process's stack may grow (in bytes): %s" +msgstr "" + +#: plugins/sudoers/def_data.c:676 +msgid "Attempt authentication even when in non-interactive mode" +msgstr "" + +#: plugins/sudoers/def_data.c:680 +msgid "Store plaintext passwords in I/O log input" +msgstr "" + +#: plugins/sudoers/def_data.c:684 +msgid "List of regular expressions to use when matching a password prompt" +msgstr "" + +#: plugins/sudoers/def_data.c:688 +#, c-format +msgid "The mechanism used by the intercept and log_subcmds options: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:692 +msgid "Attempt to verify the command and arguments after execution" +msgstr "" + +#: plugins/sudoers/def_data.c:696 +#, c-format +msgid "AppArmor profile to use in the new security context: %s" +msgstr "" + +#: plugins/sudoers/defaults.c:191 +#, c-format +msgid "unknown defaults entry \"%s\"" +msgstr "" + +#: plugins/sudoers/defaults.c:234 +#, c-format +msgid "no value specified for \"%s\"" +msgstr "" + +#: plugins/sudoers/defaults.c:243 +#, c-format +msgid "invalid operator \"%c=\" for \"%s\"" +msgstr "" + +#: plugins/sudoers/defaults.c:275 +#, c-format +msgid "option \"%s\" does not take a value" +msgstr "" + +#: plugins/sudoers/defaults.c:299 +#, c-format +msgid "invalid Defaults type 0x%x for option \"%s\"" +msgstr "" + +#: plugins/sudoers/defaults.c:306 +#, c-format +msgid "value \"%s\" is invalid for option \"%s\"" +msgstr "" + +#: plugins/sudoers/defaults.c:1128 plugins/sudoers/policy.c:210 +#: plugins/sudoers/policy.c:219 +#, c-format +msgid "path name for \"%s\" too long" +msgstr "" + +#: plugins/sudoers/defaults.c:1134 +#, c-format +msgid "values for \"%s\" must start with a '/', '~', or '*'" +msgstr "" + +#: plugins/sudoers/defaults.c:1141 +#, c-format +msgid "values for \"%s\" must start with a '/'" +msgstr "" + +#: plugins/sudoers/editor.c:180 +#, c-format +msgid "ignoring editor: %.*s" +msgstr "" + +#: plugins/sudoers/editor.c:181 +msgid "editor arguments may not contain \"--\"" +msgstr "" + +#: plugins/sudoers/env.c:426 +msgid "sudo_putenv: corrupted envp, length mismatch" +msgstr "" + +#: plugins/sudoers/env.c:1113 +msgid "unable to rebuild the environment" +msgstr "" + +#: plugins/sudoers/env.c:1192 +#, c-format +msgid "" +"sorry, you are not allowed to set the following environment variables: %s" +msgstr "" + +#: plugins/sudoers/filedigest.c:49 +#, c-format +msgid "unsupported digest type %d for %s" +msgstr "" + +#: plugins/sudoers/filedigest.c:78 +#, c-format +msgid "%s: read error" +msgstr "" + +#: plugins/sudoers/group_plugin.c:169 plugins/sudoers/sssd.c:576 +#, c-format +msgid "unable to load %s: %s" +msgstr "" + +#: plugins/sudoers/group_plugin.c:181 +#, c-format +msgid "unable to find symbol \"group_plugin\" in %s" +msgstr "" + +#: plugins/sudoers/group_plugin.c:186 +#, c-format +msgid "%s: incompatible group plugin major version %d, expected %d" +msgstr "" + +#: plugins/sudoers/interfaces.c:76 plugins/sudoers/interfaces.c:93 +#, c-format +msgid "unable to parse IP address \"%s\"" +msgstr "" + +#: plugins/sudoers/interfaces.c:81 plugins/sudoers/interfaces.c:98 +#, c-format +msgid "unable to parse netmask \"%s\"" +msgstr "" + +#: plugins/sudoers/interfaces.c:126 +msgid "Local IP address and netmask pairs:\n" +msgstr "" + +#: plugins/sudoers/iolog.c:685 +msgid "unable to update sequence file" +msgstr "" + +#: plugins/sudoers/iolog.c:719 plugins/sudoers/iolog.c:907 +#: plugins/sudoers/iolog.c:1069 plugins/sudoers/iolog.c:1076 +#: plugins/sudoers/iolog.c:1197 plugins/sudoers/iolog.c:1204 +#: plugins/sudoers/iolog.c:1303 plugins/sudoers/iolog.c:1310 +#, c-format +msgid "unable to write to I/O log file: %s" +msgstr "" + +#: plugins/sudoers/iolog.c:727 +#, c-format +msgid "unable to create %s/%s" +msgstr "" + +#: plugins/sudoers/iolog.c:955 +#, c-format +msgid "%s: internal error, I/O log file for event %d not open" +msgstr "" + +#: plugins/sudoers/iolog.c:1054 plugins/sudoers/iolog.c:1182 +#: plugins/sudoers/iolog.c:1287 plugins/sudoers/timestamp.c:879 +#: plugins/sudoers/timestamp.c:971 plugins/sudoers/visudo.c:556 +#: plugins/sudoers/visudo.c:562 +msgid "unable to read the clock" +msgstr "" + +#: plugins/sudoers/iolog.c:1279 plugins/sudoers/log_client.c:1192 +#: plugins/sudoers/log_client.c:1202 plugins/sudoers/log_client.c:1206 +#, c-format +msgid "%s: internal error, invalid signal %d" +msgstr "" + +#: plugins/sudoers/ldap.c:177 plugins/sudoers/ldap_conf.c:292 +msgid "starttls not supported when using ldaps" +msgstr "" + +#: plugins/sudoers/ldap.c:248 +#, c-format +msgid "unable to initialize SSL cert and key db: %s" +msgstr "" + +#: plugins/sudoers/ldap.c:251 +#, c-format +msgid "you must set TLS_CERT in %s to use SSL" +msgstr "" + +#: plugins/sudoers/ldap.c:1714 +#, c-format +msgid "unable to initialize LDAP: %s" +msgstr "" + +#: plugins/sudoers/ldap.c:1751 +msgid "" +"start_tls specified but LDAP libs do not support ldap_start_tls_s() or " +"ldap_start_tls_s_np()" +msgstr "" + +#: plugins/sudoers/ldap.c:1888 plugins/sudoers/parse_ldif.c:748 +#, c-format +msgid "invalid sudoOrder attribute: %s" +msgstr "" + +#: plugins/sudoers/ldap_conf.c:200 +#, c-format +msgid "%s: port too large" +msgstr "" + +#: plugins/sudoers/ldap_conf.c:261 +#, c-format +msgid "unsupported LDAP uri type: %s" +msgstr "" + +#: plugins/sudoers/ldap_conf.c:288 +msgid "unable to mix ldap and ldaps URIs" +msgstr "" + +#: plugins/sudoers/ldap_util.c:499 plugins/sudoers/ldap_util.c:506 +#: plugins/sudoers/ldap_util.c:514 plugins/sudoers/ldap_util.c:523 +#: plugins/sudoers/ldap_util.c:531 plugins/sudoers/ldap_util.c:541 +#: plugins/sudoers/ldap_util.c:549 +#, c-format +msgid "duplicate sudoOption: %s%s%s" +msgstr "" + +#: plugins/sudoers/ldap_util.c:568 plugins/sudoers/ldap_util.c:570 +#, c-format +msgid "unable to convert sudoOption: %s%s%s" +msgstr "" + +#: plugins/sudoers/linux_audit.c:58 plugins/sudoers/linux_audit.c:60 +msgid "unable to open audit system" +msgstr "" + +#: plugins/sudoers/linux_audit.c:103 +msgid "unable to send audit message" +msgstr "" + +#: plugins/sudoers/log_client.c:125 plugins/sudoers/log_client.c:412 +#: plugins/sudoers/log_client.c:1439 plugins/sudoers/log_client.c:2055 +msgid "error in event loop" +msgstr "" + +#: plugins/sudoers/log_client.c:205 +#, c-format +msgid "Creation of new SSL_CTX object failed: %s" +msgstr "" + +#: plugins/sudoers/log_client.c:230 +#, c-format +msgid "unable to load certificate authority bundle %s" +msgstr "" + +#: plugins/sudoers/log_client.c:252 +#, c-format +msgid "unable to load certificate %s" +msgstr "" + +#: plugins/sudoers/log_client.c:266 +#, c-format +msgid "unable to load private key %s" +msgstr "" + +#: plugins/sudoers/log_client.c:275 +#, c-format +msgid "Unable to allocate ssl object: %s" +msgstr "" + +#: plugins/sudoers/log_client.c:364 plugins/sudoers/log_client.c:369 +#, c-format +msgid "TLS connection to %s:%s failed: %s" +msgstr "" + +#: plugins/sudoers/log_client.c:543 +msgid "TLS initialization was unsuccessful" +msgstr "" + +#: plugins/sudoers/log_client.c:553 +msgid "TLS handshake was unsuccessful" +msgstr "" + +#: plugins/sudoers/log_client.c:1210 +#, c-format +msgid "%s: internal error, invalid exit status %d" +msgstr "" + +#: plugins/sudoers/log_client.c:1739 plugins/sudoers/log_client.c:1763 +msgid "lost connection to log server" +msgstr "" + +#: plugins/sudoers/log_client.c:1840 +msgid "missing write buffer" +msgstr "" + +#: plugins/sudoers/log_client.c:1994 +msgid "unable to connect to log server" +msgstr "" + +#: plugins/sudoers/logging.c:290 +msgid "user NOT in sudoers" +msgstr "" + +#: plugins/sudoers/logging.c:292 +msgid "user NOT authorized on host" +msgstr "" + +#: plugins/sudoers/logging.c:294 +msgid "command not allowed" +msgstr "" + +#: plugins/sudoers/logging.c:315 +#, c-format +msgid "%s is not in the sudoers file.\n" +msgstr "" + +#: plugins/sudoers/logging.c:318 +#, c-format +msgid "%s is not allowed to run sudo on %s.\n" +msgstr "" + +#: plugins/sudoers/logging.c:321 +#, c-format +msgid "Sorry, user %s may not run sudo on %s.\n" +msgstr "" + +#: plugins/sudoers/logging.c:324 +#, c-format +msgid "Sorry, user %s is not allowed to execute '%s%s%s' as %s%s%s on %s.\n" +msgstr "" + +#: plugins/sudoers/logging.c:334 +msgid "This incident has been reported to the administrator.\n" +msgstr "" + +#: plugins/sudoers/logging.c:369 plugins/sudoers/sudoers.c:655 +#: plugins/sudoers/sudoers.c:657 plugins/sudoers/sudoers.c:659 +#: plugins/sudoers/sudoers.c:661 plugins/sudoers/sudoers.c:816 +#: plugins/sudoers/sudoers.c:818 +#, c-format +msgid "%s: command not found" +msgstr "" + +#: plugins/sudoers/logging.c:371 plugins/sudoers/sudoers.c:651 +#, c-format +msgid "" +"ignoring \"%s\" found in '.'\n" +"Use \"sudo ./%s\" if this is the \"%s\" you wish to run." +msgstr "" + +#: plugins/sudoers/logging.c:391 +#, c-format +msgid "%u incorrect password attempt" +msgid_plural "%u incorrect password attempts" +msgstr[0] "" +msgstr[1] "" + +#: plugins/sudoers/logging.c:481 +msgid "authentication failure" +msgstr "" + +#: plugins/sudoers/logging.c:520 plugins/sudoers/logging.c:539 +msgid "a password is required" +msgstr "" + +#: plugins/sudoers/logging.c:803 plugins/sudoers/logging.c:815 +msgid "problem parsing sudoers" +msgstr "" + +#: plugins/sudoers/logging.c:877 plugins/sudoers/logging.c:889 +#, c-format +msgid "%s:%d:%d: %s" +msgstr "" + +#: plugins/sudoers/logging.c:1066 +#, c-format +msgid "unable to write log file: %s" +msgstr "" + +#: plugins/sudoers/match_digest.c:112 +#, c-format +msgid "digest for %s (%s) bad length %zu, expected %zu" +msgstr "" + +#: plugins/sudoers/match_digest.c:131 +#, c-format +msgid "digest for %s (%s) is not in %s form" +msgstr "" + +#: plugins/sudoers/parse.c:631 +#, c-format +msgid "" +"\n" +"LDAP Role: %s\n" +msgstr "" + +#: plugins/sudoers/parse.c:634 +msgid "" +"\n" +"Sudoers entry:\n" +msgstr "" + +#: plugins/sudoers/parse.c:636 +msgid " RunAsUsers: " +msgstr "" + +#: plugins/sudoers/parse.c:651 +msgid " RunAsGroups: " +msgstr "" + +#: plugins/sudoers/parse.c:661 +msgid " Options: " +msgstr "" + +#: plugins/sudoers/parse.c:725 +msgid " Commands:\n" +msgstr "" + +#: plugins/sudoers/parse.c:916 +#, c-format +msgid "Matching Defaults entries for %s on %s:\n" +msgstr "" + +#: plugins/sudoers/parse.c:934 +#, c-format +msgid "Runas and Command-specific defaults for %s:\n" +msgstr "" + +#: plugins/sudoers/parse.c:952 +#, c-format +msgid "User %s may run the following commands on %s:\n" +msgstr "" + +#: plugins/sudoers/parse.c:967 +#, c-format +msgid "User %s is not allowed to run sudo on %s.\n" +msgstr "" + +#: plugins/sudoers/parse_ldif.c:618 +#, c-format +msgid "ignoring incomplete sudoRole: cn: %s" +msgstr "" + +#: plugins/sudoers/parse_ldif.c:678 +#, c-format +msgid "invalid LDIF attribute: %s" +msgstr "" + +#: plugins/sudoers/policy.c:82 plugins/sudoers/policy.c:113 +#, c-format +msgid "invalid %.*s set by sudo front-end" +msgstr "" + +#: plugins/sudoers/policy.c:360 plugins/sudoers/testsudoers.c:268 +msgid "unable to parse network address list" +msgstr "" + +#: plugins/sudoers/policy.c:528 +msgid "user name not set by sudo front-end" +msgstr "" + +#: plugins/sudoers/policy.c:532 +msgid "user-ID not set by sudo front-end" +msgstr "" + +#: plugins/sudoers/policy.c:536 +msgid "group-ID not set by sudo front-end" +msgstr "" + +#: plugins/sudoers/policy.c:540 +msgid "host name not set by sudo front-end" +msgstr "" + +#: plugins/sudoers/policy.c:737 +#, c-format +msgid "invalid working directory: %s" +msgstr "" + +#: plugins/sudoers/policy.c:921 +#, c-format +msgid "invalid chroot directory: %s" +msgstr "" + +#: plugins/sudoers/policy.c:1108 plugins/sudoers/visudo.c:259 +#: plugins/sudoers/visudo.c:906 +#, c-format +msgid "unable to execute %s" +msgstr "" + +#: plugins/sudoers/policy.c:1178 plugins/sudoers/policy.c:1215 +#: plugins/sudoers/policy.c:1237 plugins/sudoers/policy.c:1263 +#, c-format +msgid "%s: invalid mode flags from sudo front end: 0x%x" +msgstr "" + +#: plugins/sudoers/policy.c:1299 +#, c-format +msgid "Sudoers policy plugin version %s\n" +msgstr "" + +#: plugins/sudoers/policy.c:1301 +#, c-format +msgid "Sudoers file grammar version %d\n" +msgstr "" + +#: plugins/sudoers/policy.c:1305 +#, c-format +msgid "" +"\n" +"Sudoers path: %s\n" +msgstr "" + +#: plugins/sudoers/policy.c:1308 +#, c-format +msgid "nsswitch path: %s\n" +msgstr "" + +#: plugins/sudoers/policy.c:1310 +#, c-format +msgid "ldap.conf path: %s\n" +msgstr "" + +#: plugins/sudoers/policy.c:1311 +#, c-format +msgid "ldap.secret path: %s\n" +msgstr "" + +#: plugins/sudoers/policy.c:1344 +#, c-format +msgid "unable to register hook of type %d (version %d.%d)" +msgstr "" + +#: plugins/sudoers/policy.c:1362 +#, c-format +msgid "unable to deregister hook of type %d (version %d.%d)" +msgstr "" + +#: plugins/sudoers/pwutil.c:222 plugins/sudoers/pwutil.c:240 +#, c-format +msgid "unable to cache uid %u" +msgstr "" + +#: plugins/sudoers/pwutil.c:234 +#, c-format +msgid "unable to cache uid %u, already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:294 plugins/sudoers/pwutil.c:312 +#: plugins/sudoers/pwutil.c:375 plugins/sudoers/pwutil.c:420 +#, c-format +msgid "unable to cache user %s" +msgstr "" + +#: plugins/sudoers/pwutil.c:307 +#, c-format +msgid "unable to cache user %s, already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:539 plugins/sudoers/pwutil.c:557 +#, c-format +msgid "unable to cache gid %u" +msgstr "" + +#: plugins/sudoers/pwutil.c:551 +#, c-format +msgid "unable to cache gid %u, already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:605 plugins/sudoers/pwutil.c:623 +#: plugins/sudoers/pwutil.c:684 plugins/sudoers/pwutil.c:733 +#, c-format +msgid "unable to cache group %s" +msgstr "" + +#: plugins/sudoers/pwutil.c:618 +#, c-format +msgid "unable to cache group %s, already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:880 plugins/sudoers/pwutil.c:963 +#: plugins/sudoers/pwutil.c:1017 plugins/sudoers/pwutil.c:1071 +#, c-format +msgid "unable to cache group list for %s, already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:886 plugins/sudoers/pwutil.c:968 +#: plugins/sudoers/pwutil.c:1023 plugins/sudoers/pwutil.c:1076 +#, c-format +msgid "unable to cache group list for %s" +msgstr "" + +#: plugins/sudoers/pwutil.c:957 +#, c-format +msgid "unable to parse groups for %s" +msgstr "" + +#: plugins/sudoers/pwutil.c:1065 +#, c-format +msgid "unable to parse gids for %s" +msgstr "" + +#: plugins/sudoers/set_perms.c:114 plugins/sudoers/set_perms.c:445 +#: plugins/sudoers/set_perms.c:852 plugins/sudoers/set_perms.c:1162 +#: plugins/sudoers/set_perms.c:1460 +msgid "perm stack overflow" +msgstr "" + +#: plugins/sudoers/set_perms.c:125 plugins/sudoers/set_perms.c:376 +#: plugins/sudoers/set_perms.c:456 plugins/sudoers/set_perms.c:719 +#: plugins/sudoers/set_perms.c:863 plugins/sudoers/set_perms.c:1086 +#: plugins/sudoers/set_perms.c:1173 plugins/sudoers/set_perms.c:1393 +#: plugins/sudoers/set_perms.c:1471 plugins/sudoers/set_perms.c:1562 +msgid "perm stack underflow" +msgstr "" + +#: plugins/sudoers/set_perms.c:185 plugins/sudoers/set_perms.c:503 +#: plugins/sudoers/set_perms.c:1227 plugins/sudoers/set_perms.c:1505 +msgid "unable to change to root gid" +msgstr "" + +#: plugins/sudoers/set_perms.c:276 plugins/sudoers/set_perms.c:600 +#: plugins/sudoers/set_perms.c:995 plugins/sudoers/set_perms.c:1304 +msgid "unable to change to runas gid" +msgstr "" + +#: plugins/sudoers/set_perms.c:281 plugins/sudoers/set_perms.c:605 +#: plugins/sudoers/set_perms.c:1000 plugins/sudoers/set_perms.c:1309 +msgid "unable to set runas group vector" +msgstr "" + +#: plugins/sudoers/set_perms.c:292 plugins/sudoers/set_perms.c:616 +#: plugins/sudoers/set_perms.c:1009 plugins/sudoers/set_perms.c:1318 +msgid "unable to change to runas uid" +msgstr "" + +#: plugins/sudoers/set_perms.c:310 plugins/sudoers/set_perms.c:634 +#: plugins/sudoers/set_perms.c:1025 plugins/sudoers/set_perms.c:1334 +msgid "unable to change to sudoers gid" +msgstr "" + +#: plugins/sudoers/set_perms.c:363 plugins/sudoers/set_perms.c:706 +#: plugins/sudoers/set_perms.c:1073 plugins/sudoers/set_perms.c:1380 +#: plugins/sudoers/set_perms.c:1549 +msgid "too many processes" +msgstr "" + +#: plugins/sudoers/solaris_audit.c:61 +msgid "unable to get current working directory" +msgstr "" + +#: plugins/sudoers/solaris_audit.c:69 +#, c-format +msgid "truncated audit path user_cmnd: %s" +msgstr "" + +#: plugins/sudoers/solaris_audit.c:76 +#, c-format +msgid "truncated audit path argv[0]: %s" +msgstr "" + +#: plugins/sudoers/sssd.c:579 +msgid "unable to initialize SSS source. Is SSSD installed on your machine?" +msgstr "" + +#: plugins/sudoers/sssd.c:587 plugins/sudoers/sssd.c:596 +#: plugins/sudoers/sssd.c:605 plugins/sudoers/sssd.c:614 +#: plugins/sudoers/sssd.c:623 +#, c-format +msgid "unable to find symbol \"%s\" in %s" +msgstr "" + +#: plugins/sudoers/sudoers.c:263 +#, c-format +msgid "unable to get defaults from %s" +msgstr "" + +#: plugins/sudoers/sudoers.c:270 +msgid "no valid sudoers sources found, quitting" +msgstr "" + +#: plugins/sudoers/sudoers.c:346 +#, c-format +msgid "user not allowed to change root directory to %s" +msgstr "" + +#: plugins/sudoers/sudoers.c:348 +#, c-format +msgid "you are not permitted to use the -R option with %s" +msgstr "" + +#: plugins/sudoers/sudoers.c:373 +#, c-format +msgid "user not allowed to change directory to %s" +msgstr "" + +#: plugins/sudoers/sudoers.c:374 +#, c-format +msgid "you are not permitted to use the -D option with %s" +msgstr "" + +#: plugins/sudoers/sudoers.c:401 +msgid "no command specified" +msgstr "" + +#: plugins/sudoers/sudoers.c:426 +msgid "sudoers specifies that root is not allowed to sudo" +msgstr "" + +#: plugins/sudoers/sudoers.c:483 +msgid "user not allowed to override closefrom limit" +msgstr "" + +#: plugins/sudoers/sudoers.c:484 +msgid "you are not permitted to use the -C option" +msgstr "" + +#: plugins/sudoers/sudoers.c:544 +#, c-format +msgid "timestamp owner (%s): No such user" +msgstr "" + +#: plugins/sudoers/sudoers.c:559 +msgid "no tty" +msgstr "" + +#: plugins/sudoers/sudoers.c:560 +msgid "sorry, you must have a tty to run sudo" +msgstr "" + +#: plugins/sudoers/sudoers.c:567 +#, c-format +msgid "invalid shell for user %s: %s" +msgstr "" + +#: plugins/sudoers/sudoers.c:650 +msgid "command in current directory" +msgstr "" + +#: plugins/sudoers/sudoers.c:665 +msgid "\"cd\" is a shell built-in command, it cannot be run directly." +msgstr "" + +#: plugins/sudoers/sudoers.c:667 +msgid "the -s option may be used to run a privileged shell." +msgstr "" + +#: plugins/sudoers/sudoers.c:669 +msgid "the -D option may be used to run a command in a specific directory." +msgstr "" + +#: plugins/sudoers/sudoers.c:678 +msgid "user not allowed to set a command timeout" +msgstr "" + +#: plugins/sudoers/sudoers.c:680 +msgid "sorry, you are not allowed set a command timeout" +msgstr "" + +#: plugins/sudoers/sudoers.c:688 +msgid "user not allowed to preserve the environment" +msgstr "" + +#: plugins/sudoers/sudoers.c:690 +msgid "sorry, you are not allowed to preserve the environment" +msgstr "" + +#: plugins/sudoers/sudoers.c:799 +msgid "error setting user-specified environment variables" +msgstr "" + +#: plugins/sudoers/sudoers.c:1112 +msgid "sudoedit doesn't need to be run via sudo" +msgstr "" + +#: plugins/sudoers/sudoers.c:1157 plugins/sudoers/sudoreplay.c:1612 +#: plugins/sudoers/tsdump.c:138 +#, c-format +msgid "unable to read %s" +msgstr "" + +#: plugins/sudoers/sudoers.c:1186 plugins/sudoers/visudo.c:1066 +#, c-format +msgid "%s is not a regular file" +msgstr "" + +#: plugins/sudoers/sudoers.c:1190 plugins/sudoers/timestamp.c:263 toke.l:1255 +#, c-format +msgid "%s is owned by uid %u, should be %u" +msgstr "" + +#: plugins/sudoers/sudoers.c:1194 plugins/sudoers/timestamp.c:270 toke.l:1260 +#, c-format +msgid "%s is world writable" +msgstr "" + +#: plugins/sudoers/sudoers.c:1198 plugins/sudoers/timestamp.c:275 toke.l:1263 +#, c-format +msgid "%s is owned by gid %u, should be %u" +msgstr "" + +#: plugins/sudoers/sudoers.c:1233 +#, c-format +msgid "only root can use \"-c %s\"" +msgstr "" + +#: plugins/sudoers/sudoers.c:1252 +#, c-format +msgid "unknown login class %s" +msgstr "" + +#: plugins/sudoers/sudoers.c:1339 plugins/sudoers/sudoers.c:1354 +#, c-format +msgid "unable to resolve host %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:252 +#, c-format +msgid "invalid filter option: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:268 +#, c-format +msgid "invalid max wait: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:291 +#, c-format +msgid "invalid speed factor: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:326 +#, c-format +msgid "invalid time offset %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:335 +#, c-format +msgid "%s/%.2s/%.2s/%.2s: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:340 +#, c-format +msgid "%s/timing: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:368 +#, c-format +msgid "Replaying sudo session: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:634 +msgid "unable to set tty to raw mode" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:685 +msgid "Warning: your terminal is too small to properly replay the log.\n" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:686 +#, c-format +msgid "Log geometry is %d x %d, your terminal's geometry is %d x %d." +msgstr "" + +#: plugins/sudoers/sudoreplay.c:714 +msgid "Replay finished, press any key to restore the terminal." +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1216 plugins/sudoers/sudoreplay.c:1246 +#, c-format +msgid "ambiguous expression \"%s\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1268 +msgid "unmatched ')' in expression" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1272 +#, c-format +msgid "unknown search term \"%s\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1287 +#, c-format +msgid "%s requires an argument" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1297 +#, c-format +msgid "could not parse date \"%s\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1306 +msgid "unmatched '(' in expression" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1308 +msgid "illegal trailing \"or\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1310 +msgid "illegal trailing \"!\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1416 +#, c-format +msgid "unknown search type %d" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1678 +#, c-format +msgid "usage: %s [-hnRS] [-d dir] [-m num] [-s num] ID\n" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1680 +#, c-format +msgid "usage: %s [-h] [-d dir] -l [search expression]\n" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1694 +#, c-format +msgid "" +"%s - replay sudo session logs\n" +"\n" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1696 +msgid "" +"\n" +"Options:\n" +" -d, --directory=dir specify directory for session logs\n" +" -f, --filter=filter specify which I/O type(s) to display\n" +" -h, --help display help message and exit\n" +" -l, --list list available session IDs, with optional " +"expression\n" +" -m, --max-wait=num max number of seconds to wait between events\n" +" -n, --non-interactive no prompts, session is sent to the standard output\n" +" -R, --no-resize do not attempt to re-size the terminal\n" +" -S, --suspend-wait wait while the command was suspended\n" +" -s, --speed=num speed up or slow down output\n" +" -V, --version display version information and exit" +msgstr "" + +#: plugins/sudoers/testsudoers.c:344 +msgid "\thost unmatched" +msgstr "" + +#: plugins/sudoers/testsudoers.c:347 +msgid "" +"\n" +"Command allowed" +msgstr "" + +#: plugins/sudoers/testsudoers.c:348 +msgid "" +"\n" +"Command denied" +msgstr "" + +#: plugins/sudoers/testsudoers.c:348 +msgid "" +"\n" +"Command unmatched" +msgstr "" + +#: plugins/sudoers/timestamp.c:354 plugins/sudoers/timestamp.c:693 +#, c-format +msgid "unable to truncate time stamp file to %lld bytes" +msgstr "" + +#: plugins/sudoers/timestamp.c:890 +msgid "ignoring time stamp from the future" +msgstr "" + +#: plugins/sudoers/timestamp.c:913 +#, c-format +msgid "time stamp too far in the future: %20.20s" +msgstr "" + +#: plugins/sudoers/timestamp.c:1042 +#, c-format +msgid "unable to lock time stamp file %s" +msgstr "" + +#: plugins/sudoers/toke_util.c:156 +msgid "sudoedit should not be specified with a path" +msgstr "" + +#: plugins/sudoers/visudo.c:254 +msgid "the -x option will be removed in a future release" +msgstr "" + +#: plugins/sudoers/visudo.c:256 +msgid "please consider using the cvtsudoers utility instead" +msgstr "" + +#: plugins/sudoers/visudo.c:311 plugins/sudoers/visudo.c:702 +#, c-format +msgid "press return to edit %s: " +msgstr "" + +#: plugins/sudoers/visudo.c:326 +#, c-format +msgid "contents of edit session left in %s" +msgstr "" + +#: plugins/sudoers/visudo.c:403 +#, c-format +msgid "specified editor (%s) doesn't exist" +msgstr "" + +#: plugins/sudoers/visudo.c:408 +#, c-format +msgid "no editor found (editor path = %s)" +msgstr "" + +#: plugins/sudoers/visudo.c:495 plugins/sudoers/visudo.c:774 +#, c-format +msgid "unable to stat %s" +msgstr "" + +#: plugins/sudoers/visudo.c:515 plugins/sudoers/visudo.c:523 +msgid "write error" +msgstr "" + +#: plugins/sudoers/visudo.c:569 +#, c-format +msgid "unable to stat temporary file (%s), %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:576 +#, c-format +msgid "zero length temporary file (%s), %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:582 +#, c-format +msgid "editor (%s) failed, %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:604 +#, c-format +msgid "%s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:649 +#, c-format +msgid "unable to re-open temporary file (%s), %s unchanged." +msgstr "" + +#: plugins/sudoers/visudo.c:662 +#, c-format +msgid "unable to parse temporary file (%s), unknown error" +msgstr "" + +#: plugins/sudoers/visudo.c:748 plugins/sudoers/visudo.c:778 +#: plugins/sudoers/visudo.c:785 +#, c-format +msgid "unable to set (uid, gid) of %s to (%u, %u)" +msgstr "" + +#: plugins/sudoers/visudo.c:813 +#, c-format +msgid "%s and %s not on the same file system, using mv to rename" +msgstr "" + +#: plugins/sudoers/visudo.c:824 +#, c-format +msgid "command failed: '%s %s %s', %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:831 +#, c-format +msgid "error renaming %s, %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:851 +msgid "What now? " +msgstr "" + +#: plugins/sudoers/visudo.c:865 +msgid "" +"Options are:\n" +" (e)dit sudoers file again\n" +" e(x)it without saving changes to sudoers file\n" +" (Q)uit and save changes to sudoers file (DANGER!)\n" +msgstr "" + +#: plugins/sudoers/visudo.c:911 +#, c-format +msgid "unable to run %s" +msgstr "" + +#: plugins/sudoers/visudo.c:942 +#, c-format +msgid "%s: wrong owner (uid, gid) should be (%u, %u)\n" +msgstr "" + +#: plugins/sudoers/visudo.c:953 +#, c-format +msgid "%s: bad permissions, should be mode 0%o\n" +msgstr "" + +#: plugins/sudoers/visudo.c:999 plugins/sudoers/visudo.c:1006 +#, c-format +msgid "%s: parsed OK\n" +msgstr "" + +#: plugins/sudoers/visudo.c:1025 +#, c-format +msgid "%s busy, try again later" +msgstr "" + +#: plugins/sudoers/visudo.c:1029 +msgid "Edit anyway? [y/N]" +msgstr "" + +#: plugins/sudoers/visudo.c:1130 +#, c-format +msgid "Warning: %s:%d:%d: unused %s \"%s\"" +msgstr "" + +#: plugins/sudoers/visudo.c:1242 +#, c-format +msgid "" +"%s - safely edit the sudoers file\n" +"\n" +msgstr "" + +#: plugins/sudoers/visudo.c:1244 +msgid "" +"\n" +"Options:\n" +" -c, --check check-only mode\n" +" -f, --file=sudoers specify sudoers file location\n" +" -h, --help display help message and exit\n" +" -I, --no-includes do not edit include files\n" +" -q, --quiet less verbose (quiet) syntax error messages\n" +" -s, --strict strict syntax checking\n" +" -V, --version display version information and exit\n" +msgstr "" + +#: toke.l:189 +msgid "empty string" +msgstr "" + +#: toke.l:201 toke.l:571 +msgid "empty group" +msgstr "" + +#: toke.l:211 toke.l:569 +msgid "empty netgroup" +msgstr "" + +#: toke.l:289 +msgid "unterminated regular expression" +msgstr "" + +#: toke.l:363 toke.l:375 toke.l:387 toke.l:403 toke.l:422 toke.l:462 +msgid "invalid line continuation" +msgstr "" + +#: toke.l:608 toke.l:620 +msgid "invalid IPv6 address" +msgstr "" + +#: toke.l:876 +msgid "unexpected line break in string" +msgstr "" + +#: toke.l:1226 +msgid "too many levels of includes" +msgstr "" diff --git a/plugins/sudoers/po/sv.mo b/plugins/sudoers/po/sv.mo new file mode 100644 index 0000000..27f9f2a Binary files /dev/null and b/plugins/sudoers/po/sv.mo differ diff --git a/plugins/sudoers/po/sv.po b/plugins/sudoers/po/sv.po new file mode 100644 index 0000000..2e3bc06 --- /dev/null +++ b/plugins/sudoers/po/sv.po @@ -0,0 +1,4117 @@ +# Swedish translation for sudoers. +# Copyright © 2012, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023 Free Software Foundation, Inc. +# This file is put in the public domain. +# Daniel Nylander , 2012. +# Sebastian Rasmussen , 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023. +# Luna Jernberg , 2021. +# +msgid "" +msgstr "" +"Project-Id-Version: sudoers 1.9.13b2\n" +"Report-Msgid-Bugs-To: https://bugzilla.sudo.ws\n" +"POT-Creation-Date: 2023-01-24 13:11-0700\n" +"PO-Revision-Date: 2023-01-26 13:20+0100\n" +"Last-Translator: Sebastian Rasmussen \n" +"Language-Team: Swedish \n" +"Language: sv\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.2.2\n" + +#: confstr.sh:1 gram.y:1220 plugins/sudoers/logging.c:866 +msgid "syntax error" +msgstr "syntaxfel" + +#: confstr.sh:2 +msgid "%p's password: " +msgstr "lösenord för %p: " + +#: confstr.sh:3 +msgid "[sudo] password for %p: " +msgstr "[sudo] lösenord för %p: " + +#: confstr.sh:4 +msgid "Password: " +msgstr "Lösenord: " + +#: confstr.sh:5 +msgid "*** SECURITY information for %h ***" +msgstr "*** SÄKERHETSINFORMATION för %h ***" + +#: confstr.sh:6 +msgid "Sorry, try again." +msgstr "Försök igen." + +#: gram.y:237 gram.y:304 gram.y:313 gram.y:322 gram.y:332 gram.y:342 +#: gram.y:366 gram.y:393 gram.y:402 gram.y:410 gram.y:419 gram.y:428 +#: gram.y:502 gram.y:512 gram.y:524 gram.y:572 gram.y:581 gram.y:590 +#: gram.y:599 gram.y:731 gram.y:739 gram.y:750 gram.y:762 gram.y:781 +#: gram.y:944 gram.y:949 gram.y:957 gram.y:971 gram.y:977 gram.y:1099 +#: gram.y:1108 gram.y:1116 gram.y:1125 gram.y:1134 gram.y:1163 gram.y:1172 +#: gram.y:1180 gram.y:1280 gram.y:1410 gram.y:1777 gram.y:1827 +#: lib/eventlog/eventlog.c:235 lib/eventlog/eventlog.c:312 +#: lib/eventlog/eventlog.c:757 lib/eventlog/eventlog.c:834 +#: lib/eventlog/eventlog.c:1135 lib/iolog/iolog_filter.c:142 +#: lib/iolog/iolog_filter.c:202 lib/iolog/iolog_filter.c:233 +#: lib/iolog/iolog_json.c:150 lib/iolog/iolog_json.c:382 +#: lib/iolog/iolog_json.c:412 lib/iolog/iolog_legacy.c:100 +#: lib/iolog/iolog_legacy.c:111 lib/iolog/iolog_legacy.c:123 +#: lib/iolog/iolog_legacy.c:133 lib/iolog/iolog_legacy.c:139 +#: lib/iolog/iolog_loginfo.c:76 lib/iolog/iolog_loginfo.c:212 +#: logsrvd/iolog_writer.c:95 logsrvd/iolog_writer.c:100 +#: logsrvd/iolog_writer.c:134 logsrvd/iolog_writer.c:182 +#: logsrvd/iolog_writer.c:215 logsrvd/iolog_writer.c:225 +#: logsrvd/iolog_writer.c:254 logsrvd/iolog_writer.c:275 +#: logsrvd/iolog_writer.c:287 logsrvd/iolog_writer.c:297 +#: logsrvd/iolog_writer.c:307 logsrvd/iolog_writer.c:317 +#: logsrvd/iolog_writer.c:329 logsrvd/iolog_writer.c:364 +#: logsrvd/iolog_writer.c:370 logsrvd/iolog_writer.c:377 +#: logsrvd/iolog_writer.c:383 logsrvd/iolog_writer.c:567 +#: logsrvd/logsrv_util.c:69 logsrvd/logsrvd.c:301 logsrvd/logsrvd.c:310 +#: logsrvd/logsrvd.c:1050 logsrvd/logsrvd.c:1113 logsrvd/logsrvd.c:1582 +#: logsrvd/logsrvd.c:1587 logsrvd/logsrvd.c:1771 logsrvd/logsrvd.c:1988 +#: logsrvd/logsrvd_conf.c:357 logsrvd/logsrvd_conf.c:370 +#: logsrvd/logsrvd_conf.c:511 logsrvd/logsrvd_conf.c:534 +#: logsrvd/logsrvd_conf.c:538 logsrvd/logsrvd_conf.c:556 +#: logsrvd/logsrvd_conf.c:626 logsrvd/logsrvd_conf.c:650 +#: logsrvd/logsrvd_conf.c:678 logsrvd/logsrvd_conf.c:692 +#: logsrvd/logsrvd_conf.c:706 logsrvd/logsrvd_conf.c:720 +#: logsrvd/logsrvd_conf.c:734 logsrvd/logsrvd_conf.c:748 +#: logsrvd/logsrvd_conf.c:829 logsrvd/logsrvd_conf.c:1036 +#: logsrvd/logsrvd_conf.c:1053 logsrvd/logsrvd_conf.c:1448 +#: logsrvd/logsrvd_conf.c:1595 logsrvd/logsrvd_conf.c:1621 +#: logsrvd/logsrvd_conf.c:1633 logsrvd/logsrvd_conf.c:1640 +#: logsrvd/logsrvd_conf.c:1646 logsrvd/logsrvd_conf.c:1743 +#: logsrvd/logsrvd_journal.c:76 logsrvd/logsrvd_journal.c:216 +#: logsrvd/logsrvd_journal.c:217 logsrvd/logsrvd_journal.c:273 +#: logsrvd/logsrvd_journal.c:433 logsrvd/logsrvd_journal.c:435 +#: logsrvd/logsrvd_local.c:215 logsrvd/logsrvd_local.c:216 +#: logsrvd/logsrvd_local.c:278 logsrvd/logsrvd_local.c:279 +#: logsrvd/logsrvd_local.c:417 logsrvd/logsrvd_local.c:466 +#: logsrvd/logsrvd_local.c:467 logsrvd/logsrvd_local.c:472 +#: logsrvd/logsrvd_local.c:473 logsrvd/logsrvd_queue.c:159 +#: logsrvd/logsrvd_queue.c:189 logsrvd/logsrvd_queue.c:266 +#: logsrvd/logsrvd_relay.c:444 logsrvd/logsrvd_relay.c:743 +#: logsrvd/logsrvd_relay.c:850 logsrvd/sendlog.c:251 logsrvd/sendlog.c:260 +#: logsrvd/sendlog.c:291 logsrvd/sendlog.c:338 logsrvd/sendlog.c:615 +#: logsrvd/sendlog.c:1801 plugins/sudoers/audit.c:116 +#: plugins/sudoers/auth/bsdauth.c:150 plugins/sudoers/auth/kerb5.c:121 +#: plugins/sudoers/auth/kerb5.c:148 plugins/sudoers/auth/pam.c:687 +#: plugins/sudoers/auth/rfc1938.c:111 plugins/sudoers/auth/sia.c:59 +#: plugins/sudoers/check_aliases.c:168 plugins/sudoers/cvtsudoers.c:131 +#: plugins/sudoers/cvtsudoers.c:175 plugins/sudoers/cvtsudoers.c:192 +#: plugins/sudoers/cvtsudoers.c:203 plugins/sudoers/cvtsudoers.c:333 +#: plugins/sudoers/cvtsudoers.c:372 plugins/sudoers/cvtsudoers.c:392 +#: plugins/sudoers/cvtsudoers.c:537 plugins/sudoers/cvtsudoers.c:670 +#: plugins/sudoers/cvtsudoers.c:688 plugins/sudoers/cvtsudoers.c:862 +#: plugins/sudoers/cvtsudoers.c:870 plugins/sudoers/cvtsudoers.c:1365 +#: plugins/sudoers/cvtsudoers.c:1369 plugins/sudoers/cvtsudoers.c:1471 +#: plugins/sudoers/cvtsudoers_csv.c:183 plugins/sudoers/cvtsudoers_csv.c:246 +#: plugins/sudoers/cvtsudoers_json.c:76 plugins/sudoers/cvtsudoers_ldif.c:151 +#: plugins/sudoers/cvtsudoers_ldif.c:194 plugins/sudoers/cvtsudoers_ldif.c:235 +#: plugins/sudoers/cvtsudoers_ldif.c:300 plugins/sudoers/cvtsudoers_ldif.c:376 +#: plugins/sudoers/cvtsudoers_ldif.c:430 plugins/sudoers/cvtsudoers_ldif.c:438 +#: plugins/sudoers/cvtsudoers_ldif.c:449 plugins/sudoers/cvtsudoers_ldif.c:456 +#: plugins/sudoers/cvtsudoers_ldif.c:468 plugins/sudoers/cvtsudoers_ldif.c:481 +#: plugins/sudoers/cvtsudoers_ldif.c:489 plugins/sudoers/cvtsudoers_ldif.c:636 +#: plugins/sudoers/cvtsudoers_merge.c:47 plugins/sudoers/cvtsudoers_merge.c:52 +#: plugins/sudoers/cvtsudoers_merge.c:353 +#: plugins/sudoers/cvtsudoers_merge.c:399 +#: plugins/sudoers/cvtsudoers_merge.c:446 +#: plugins/sudoers/cvtsudoers_merge.c:467 +#: plugins/sudoers/cvtsudoers_merge.c:553 +#: plugins/sudoers/cvtsudoers_merge.c:564 +#: plugins/sudoers/cvtsudoers_merge.c:633 +#: plugins/sudoers/cvtsudoers_merge.c:1158 +#: plugins/sudoers/cvtsudoers_merge.c:1231 plugins/sudoers/defaults.c:434 +#: plugins/sudoers/defaults.c:658 plugins/sudoers/defaults.c:1019 +#: plugins/sudoers/defaults.c:1187 plugins/sudoers/editor.c:197 +#: plugins/sudoers/env.c:263 plugins/sudoers/exptilde.c:92 +#: plugins/sudoers/filedigest.c:54 plugins/sudoers/filedigest.c:70 +#: plugins/sudoers/gc.c:57 plugins/sudoers/group_plugin.c:212 +#: plugins/sudoers/interfaces.c:68 plugins/sudoers/iolog.c:268 +#: plugins/sudoers/iolog.c:668 plugins/sudoers/iolog.c:694 +#: plugins/sudoers/ldap.c:184 plugins/sudoers/ldap.c:466 +#: plugins/sudoers/ldap.c:757 plugins/sudoers/ldap.c:921 +#: plugins/sudoers/ldap.c:1337 plugins/sudoers/ldap.c:1763 +#: plugins/sudoers/ldap.c:1800 plugins/sudoers/ldap.c:2016 +#: plugins/sudoers/ldap.c:2117 plugins/sudoers/ldap.c:2133 +#: plugins/sudoers/ldap_conf.c:218 plugins/sudoers/ldap_conf.c:250 +#: plugins/sudoers/ldap_conf.c:302 plugins/sudoers/ldap_conf.c:338 +#: plugins/sudoers/ldap_conf.c:444 plugins/sudoers/ldap_conf.c:459 +#: plugins/sudoers/ldap_conf.c:564 plugins/sudoers/ldap_conf.c:597 +#: plugins/sudoers/ldap_conf.c:689 plugins/sudoers/ldap_conf.c:771 +#: plugins/sudoers/ldap_util.c:294 plugins/sudoers/ldap_util.c:301 +#: plugins/sudoers/ldap_util.c:614 plugins/sudoers/linux_audit.c:86 +#: plugins/sudoers/log_client.c:117 plugins/sudoers/log_client.c:402 +#: plugins/sudoers/log_client.c:715 plugins/sudoers/log_client.c:736 +#: plugins/sudoers/log_client.c:1415 plugins/sudoers/log_client.c:1536 +#: plugins/sudoers/log_client.c:1636 plugins/sudoers/log_client.c:1972 +#: plugins/sudoers/log_client.c:2031 plugins/sudoers/logging.c:110 +#: plugins/sudoers/logging.c:189 plugins/sudoers/logging.c:457 +#: plugins/sudoers/logging.c:672 plugins/sudoers/logging.c:809 +#: plugins/sudoers/match_command.c:335 plugins/sudoers/match_command.c:603 +#: plugins/sudoers/match_command.c:654 plugins/sudoers/match_command.c:728 +#: plugins/sudoers/match_command.c:776 plugins/sudoers/match_digest.c:93 +#: plugins/sudoers/parse.c:267 plugins/sudoers/parse.c:284 +#: plugins/sudoers/parse.c:303 plugins/sudoers/parse.c:322 +#: plugins/sudoers/parse.c:339 plugins/sudoers/parse.c:362 +#: plugins/sudoers/parse.c:373 plugins/sudoers/parse_ldif.c:153 +#: plugins/sudoers/parse_ldif.c:184 plugins/sudoers/parse_ldif.c:253 +#: plugins/sudoers/parse_ldif.c:261 plugins/sudoers/parse_ldif.c:266 +#: plugins/sudoers/parse_ldif.c:342 plugins/sudoers/parse_ldif.c:353 +#: plugins/sudoers/parse_ldif.c:380 plugins/sudoers/parse_ldif.c:397 +#: plugins/sudoers/parse_ldif.c:409 plugins/sudoers/parse_ldif.c:413 +#: plugins/sudoers/parse_ldif.c:427 plugins/sudoers/parse_ldif.c:484 +#: plugins/sudoers/parse_ldif.c:598 plugins/sudoers/parse_ldif.c:628 +#: plugins/sudoers/parse_ldif.c:653 plugins/sudoers/parse_ldif.c:711 +#: plugins/sudoers/parse_ldif.c:728 plugins/sudoers/parse_ldif.c:756 +#: plugins/sudoers/parse_ldif.c:763 plugins/sudoers/policy.c:626 +#: plugins/sudoers/policy.c:1033 plugins/sudoers/prompt.c:93 +#: plugins/sudoers/pwutil.c:199 plugins/sudoers/pwutil.c:270 +#: plugins/sudoers/pwutil.c:348 plugins/sudoers/pwutil.c:522 +#: plugins/sudoers/pwutil.c:587 plugins/sudoers/pwutil.c:659 +#: plugins/sudoers/pwutil.c:857 plugins/sudoers/pwutil.c:945 +#: plugins/sudoers/pwutil.c:993 plugins/sudoers/pwutil.c:1052 +#: plugins/sudoers/sssd.c:145 plugins/sudoers/sssd.c:185 +#: plugins/sudoers/sssd.c:414 plugins/sudoers/sssd.c:479 +#: plugins/sudoers/sssd.c:505 plugins/sudoers/sssd.c:568 +#: plugins/sudoers/sssd.c:761 plugins/sudoers/strvec_join.c:53 +#: plugins/sudoers/stubs.c:112 plugins/sudoers/stubs.c:120 +#: plugins/sudoers/sudoers.c:354 plugins/sudoers/sudoers.c:380 +#: plugins/sudoers/sudoers.c:447 plugins/sudoers/sudoers.c:464 +#: plugins/sudoers/sudoers.c:505 plugins/sudoers/sudoers.c:849 +#: plugins/sudoers/sudoers.c:902 plugins/sudoers/sudoers.c:1054 +#: plugins/sudoers/sudoers.c:1114 plugins/sudoers/sudoers.c:1369 +#: plugins/sudoers/sudoreplay.c:559 plugins/sudoers/sudoreplay.c:562 +#: plugins/sudoers/sudoreplay.c:1278 plugins/sudoers/sudoreplay.c:1334 +#: plugins/sudoers/sudoreplay.c:1530 plugins/sudoers/sudoreplay.c:1534 +#: plugins/sudoers/testsudoers.c:120 plugins/sudoers/testsudoers.c:224 +#: plugins/sudoers/testsudoers.c:241 plugins/sudoers/testsudoers.c:588 +#: plugins/sudoers/timestamp.c:451 plugins/sudoers/timestamp.c:495 +#: plugins/sudoers/timestamp.c:1017 plugins/sudoers/timestamp.c:1146 +#: plugins/sudoers/toke_util.c:78 plugins/sudoers/toke_util.c:106 +#: plugins/sudoers/toke_util.c:131 plugins/sudoers/toke_util.c:161 +#: plugins/sudoers/toke_util.c:200 plugins/sudoers/tsdump.c:123 +#: plugins/sudoers/visudo.c:150 plugins/sudoers/visudo.c:385 +#: plugins/sudoers/visudo.c:391 plugins/sudoers/visudo.c:502 +#: plugins/sudoers/visudo.c:1056 toke.l:1031 toke.l:1163 toke.l:1234 +msgid "unable to allocate memory" +msgstr "kan inte allokera minne" + +#: gram.y:623 +msgid "a digest requires a path name" +msgstr "en kontrollsumma kräver ett sökvägsnamn" + +#: gram.y:645 +msgid "values for \"CWD\" must start with a '/', '~', or '*'" +msgstr "värden för ”CWD” måste börja med ett ”/”, ”~” eller ”*”" + +#: gram.y:651 +msgid "\"CWD\" path too long" +msgstr "”CWD”-sökväg för lång" + +#: gram.y:661 +msgid "values for \"CHROOT\" must start with a '/', '~', or '*'" +msgstr "värden för ”CHROOT” måste börja med ett ”/”, ”~” eller ”*”" + +#: gram.y:667 +msgid "\"CHROOT\" path too long" +msgstr "”CHROOT”-sökväg för lång" + +#: gram.y:802 +#, c-format +msgid "syntax error, reserved word %s used as an alias name" +msgstr "syntaxfel, reserverat ord %s använt som ett aliasnamn" + +#: gram.y:825 +msgid "invalid notbefore value" +msgstr "ogiltigt notbefore-värde" + +#: gram.y:834 +msgid "invalid notafter value" +msgstr "ogiltigt notafter-värde" + +#: gram.y:844 plugins/sudoers/policy.c:385 +msgid "timeout value too large" +msgstr "tidsgränsvärde för stort" + +#: gram.y:846 plugins/sudoers/policy.c:387 +msgid "invalid timeout value" +msgstr "ogiltigt värde för tidsgräns" + +#: gram.y:967 plugins/sudoers/sudoers.c:1072 +msgid "command too long" +msgstr "kommandot för långt" + +#: gram.y:1224 plugins/sudoers/check_aliases.c:96 +#: plugins/sudoers/defaults.c:1276 +#, c-format +msgid "%s:%d:%d: %s\n" +msgstr "%s:%d:%d: %s\n" + +#: gram.y:1278 +#, c-format +msgid "Alias \"%s\" already defined" +msgstr "Aliaset ”%s” är redan definierat" + +#: gram.y:1777 gram.y:1827 lib/eventlog/eventlog.c:235 +#: lib/eventlog/eventlog.c:757 lib/eventlog/eventlog.c:830 +#: lib/eventlog/eventlog.c:833 lib/eventlog/eventlog.c:1135 +#: lib/iolog/iolog_filter.c:142 lib/iolog/iolog_filter.c:202 +#: lib/iolog/iolog_filter.c:232 lib/iolog/iolog_json.c:150 +#: lib/iolog/iolog_json.c:381 lib/iolog/iolog_json.c:412 +#: lib/iolog/iolog_legacy.c:100 lib/iolog/iolog_legacy.c:111 +#: lib/iolog/iolog_legacy.c:123 lib/iolog/iolog_legacy.c:133 +#: lib/iolog/iolog_legacy.c:139 lib/iolog/iolog_loginfo.c:76 +#: lib/iolog/iolog_loginfo.c:212 logsrvd/iolog_writer.c:95 +#: logsrvd/iolog_writer.c:100 logsrvd/iolog_writer.c:134 +#: logsrvd/iolog_writer.c:171 logsrvd/iolog_writer.c:181 +#: logsrvd/iolog_writer.c:194 logsrvd/iolog_writer.c:214 +#: logsrvd/iolog_writer.c:224 logsrvd/iolog_writer.c:243 +#: logsrvd/iolog_writer.c:253 logsrvd/iolog_writer.c:264 +#: logsrvd/iolog_writer.c:274 logsrvd/iolog_writer.c:286 +#: logsrvd/iolog_writer.c:296 logsrvd/iolog_writer.c:306 +#: logsrvd/iolog_writer.c:316 logsrvd/iolog_writer.c:328 +#: logsrvd/iolog_writer.c:364 logsrvd/iolog_writer.c:370 +#: logsrvd/iolog_writer.c:377 logsrvd/iolog_writer.c:383 +#: logsrvd/iolog_writer.c:567 logsrvd/logsrv_util.c:69 logsrvd/logsrvd.c:301 +#: logsrvd/logsrvd.c:310 logsrvd/logsrvd.c:453 logsrvd/logsrvd.c:490 +#: logsrvd/logsrvd.c:522 logsrvd/logsrvd.c:576 logsrvd/logsrvd.c:611 +#: logsrvd/logsrvd.c:660 logsrvd/logsrvd.c:696 logsrvd/logsrvd.c:732 +#: logsrvd/logsrvd.c:1124 logsrvd/logsrvd.c:1439 logsrvd/logsrvd.c:1446 +#: logsrvd/logsrvd.c:1582 logsrvd/logsrvd.c:1587 logsrvd/logsrvd.c:1771 +#: logsrvd/logsrvd.c:1988 logsrvd/logsrvd_conf.c:357 +#: logsrvd/logsrvd_conf.c:370 logsrvd/logsrvd_conf.c:511 +#: logsrvd/logsrvd_conf.c:534 logsrvd/logsrvd_conf.c:538 +#: logsrvd/logsrvd_conf.c:556 logsrvd/logsrvd_conf.c:626 +#: logsrvd/logsrvd_conf.c:649 logsrvd/logsrvd_conf.c:678 +#: logsrvd/logsrvd_conf.c:692 logsrvd/logsrvd_conf.c:706 +#: logsrvd/logsrvd_conf.c:720 logsrvd/logsrvd_conf.c:734 +#: logsrvd/logsrvd_conf.c:748 logsrvd/logsrvd_conf.c:829 +#: logsrvd/logsrvd_conf.c:1036 logsrvd/logsrvd_conf.c:1053 +#: logsrvd/logsrvd_conf.c:1448 logsrvd/logsrvd_conf.c:1595 +#: logsrvd/logsrvd_conf.c:1621 logsrvd/logsrvd_conf.c:1633 +#: logsrvd/logsrvd_conf.c:1640 logsrvd/logsrvd_conf.c:1646 +#: logsrvd/logsrvd_conf.c:1742 logsrvd/logsrvd_journal.c:76 +#: logsrvd/logsrvd_journal.c:125 logsrvd/logsrvd_journal.c:216 +#: logsrvd/logsrvd_journal.c:246 logsrvd/logsrvd_journal.c:250 +#: logsrvd/logsrvd_journal.c:258 logsrvd/logsrvd_journal.c:281 +#: logsrvd/logsrvd_journal.c:285 logsrvd/logsrvd_journal.c:433 +#: logsrvd/logsrvd_local.c:215 logsrvd/logsrvd_local.c:278 +#: logsrvd/logsrvd_local.c:466 logsrvd/logsrvd_local.c:472 +#: logsrvd/logsrvd_local.c:491 logsrvd/logsrvd_queue.c:158 +#: logsrvd/logsrvd_queue.c:189 logsrvd/logsrvd_queue.c:266 +#: logsrvd/sendlog.c:251 logsrvd/sendlog.c:260 logsrvd/sendlog.c:291 +#: logsrvd/sendlog.c:338 logsrvd/sendlog.c:615 logsrvd/sendlog.c:1503 +#: logsrvd/sendlog.c:1510 logsrvd/sendlog.c:1733 logsrvd/sendlog.c:1801 +#: logsrvd/tls_init.c:305 logsrvd/tls_init.c:329 logsrvd/tls_init.c:340 +#: plugins/sudoers/audit.c:116 plugins/sudoers/auth/pam.c:502 +#: plugins/sudoers/auth/pam.c:687 plugins/sudoers/auth/rfc1938.c:111 +#: plugins/sudoers/check_aliases.c:168 plugins/sudoers/cvtsudoers.c:131 +#: plugins/sudoers/cvtsudoers.c:174 plugins/sudoers/cvtsudoers.c:191 +#: plugins/sudoers/cvtsudoers.c:202 plugins/sudoers/cvtsudoers.c:332 +#: plugins/sudoers/cvtsudoers.c:536 plugins/sudoers/cvtsudoers.c:669 +#: plugins/sudoers/cvtsudoers.c:687 plugins/sudoers/cvtsudoers.c:862 +#: plugins/sudoers/cvtsudoers.c:869 plugins/sudoers/cvtsudoers.c:1365 +#: plugins/sudoers/cvtsudoers.c:1369 plugins/sudoers/cvtsudoers.c:1471 +#: plugins/sudoers/cvtsudoers_csv.c:182 plugins/sudoers/cvtsudoers_csv.c:245 +#: plugins/sudoers/cvtsudoers_json.c:75 plugins/sudoers/cvtsudoers_ldif.c:150 +#: plugins/sudoers/cvtsudoers_ldif.c:193 plugins/sudoers/cvtsudoers_ldif.c:234 +#: plugins/sudoers/cvtsudoers_ldif.c:299 plugins/sudoers/cvtsudoers_ldif.c:375 +#: plugins/sudoers/cvtsudoers_ldif.c:429 plugins/sudoers/cvtsudoers_ldif.c:437 +#: plugins/sudoers/cvtsudoers_ldif.c:448 plugins/sudoers/cvtsudoers_ldif.c:455 +#: plugins/sudoers/cvtsudoers_ldif.c:467 plugins/sudoers/cvtsudoers_ldif.c:480 +#: plugins/sudoers/cvtsudoers_ldif.c:488 plugins/sudoers/cvtsudoers_ldif.c:635 +#: plugins/sudoers/cvtsudoers_merge.c:47 plugins/sudoers/cvtsudoers_merge.c:51 +#: plugins/sudoers/cvtsudoers_merge.c:353 +#: plugins/sudoers/cvtsudoers_merge.c:399 +#: plugins/sudoers/cvtsudoers_merge.c:445 +#: plugins/sudoers/cvtsudoers_merge.c:466 +#: plugins/sudoers/cvtsudoers_merge.c:553 +#: plugins/sudoers/cvtsudoers_merge.c:561 +#: plugins/sudoers/cvtsudoers_merge.c:564 +#: plugins/sudoers/cvtsudoers_merge.c:630 +#: plugins/sudoers/cvtsudoers_merge.c:633 +#: plugins/sudoers/cvtsudoers_merge.c:1157 +#: plugins/sudoers/cvtsudoers_merge.c:1231 plugins/sudoers/defaults.c:434 +#: plugins/sudoers/defaults.c:658 plugins/sudoers/defaults.c:1019 +#: plugins/sudoers/defaults.c:1187 plugins/sudoers/editor.c:197 +#: plugins/sudoers/env.c:263 plugins/sudoers/exptilde.c:92 +#: plugins/sudoers/filedigest.c:54 plugins/sudoers/filedigest.c:70 +#: plugins/sudoers/gc.c:57 plugins/sudoers/group_plugin.c:211 +#: plugins/sudoers/interfaces.c:68 plugins/sudoers/iolog.c:268 +#: plugins/sudoers/iolog.c:668 plugins/sudoers/iolog.c:694 +#: plugins/sudoers/ldap.c:184 plugins/sudoers/ldap.c:466 +#: plugins/sudoers/ldap.c:757 plugins/sudoers/ldap.c:921 +#: plugins/sudoers/ldap.c:1337 plugins/sudoers/ldap.c:1763 +#: plugins/sudoers/ldap.c:1800 plugins/sudoers/ldap.c:2016 +#: plugins/sudoers/ldap.c:2117 plugins/sudoers/ldap.c:2133 +#: plugins/sudoers/ldap_conf.c:218 plugins/sudoers/ldap_conf.c:250 +#: plugins/sudoers/ldap_conf.c:302 plugins/sudoers/ldap_conf.c:338 +#: plugins/sudoers/ldap_conf.c:444 plugins/sudoers/ldap_conf.c:459 +#: plugins/sudoers/ldap_conf.c:564 plugins/sudoers/ldap_conf.c:597 +#: plugins/sudoers/ldap_conf.c:688 plugins/sudoers/ldap_conf.c:771 +#: plugins/sudoers/ldap_util.c:293 plugins/sudoers/ldap_util.c:300 +#: plugins/sudoers/ldap_util.c:614 plugins/sudoers/linux_audit.c:86 +#: plugins/sudoers/log_client.c:117 plugins/sudoers/log_client.c:228 +#: plugins/sudoers/log_client.c:250 plugins/sudoers/log_client.c:264 +#: plugins/sudoers/log_client.c:402 plugins/sudoers/log_client.c:715 +#: plugins/sudoers/log_client.c:736 plugins/sudoers/log_client.c:1415 +#: plugins/sudoers/log_client.c:1536 plugins/sudoers/log_client.c:1636 +#: plugins/sudoers/log_client.c:1972 plugins/sudoers/log_client.c:2031 +#: plugins/sudoers/logging.c:110 plugins/sudoers/logging.c:188 +#: plugins/sudoers/logging.c:189 plugins/sudoers/logging.c:457 +#: plugins/sudoers/logging.c:672 plugins/sudoers/logging.c:809 +#: plugins/sudoers/logging.c:880 plugins/sudoers/logging.c:892 +#: plugins/sudoers/match_command.c:334 plugins/sudoers/match_command.c:602 +#: plugins/sudoers/match_command.c:653 plugins/sudoers/match_command.c:728 +#: plugins/sudoers/match_command.c:775 plugins/sudoers/match_digest.c:93 +#: plugins/sudoers/parse.c:266 plugins/sudoers/parse.c:283 +#: plugins/sudoers/parse.c:302 plugins/sudoers/parse.c:321 +#: plugins/sudoers/parse.c:338 plugins/sudoers/parse.c:361 +#: plugins/sudoers/parse.c:372 plugins/sudoers/parse_ldif.c:152 +#: plugins/sudoers/parse_ldif.c:183 plugins/sudoers/parse_ldif.c:252 +#: plugins/sudoers/parse_ldif.c:260 plugins/sudoers/parse_ldif.c:265 +#: plugins/sudoers/parse_ldif.c:341 plugins/sudoers/parse_ldif.c:352 +#: plugins/sudoers/parse_ldif.c:379 plugins/sudoers/parse_ldif.c:396 +#: plugins/sudoers/parse_ldif.c:408 plugins/sudoers/parse_ldif.c:412 +#: plugins/sudoers/parse_ldif.c:426 plugins/sudoers/parse_ldif.c:484 +#: plugins/sudoers/parse_ldif.c:598 plugins/sudoers/parse_ldif.c:627 +#: plugins/sudoers/parse_ldif.c:652 plugins/sudoers/parse_ldif.c:710 +#: plugins/sudoers/parse_ldif.c:727 plugins/sudoers/parse_ldif.c:755 +#: plugins/sudoers/parse_ldif.c:762 plugins/sudoers/policy.c:154 +#: plugins/sudoers/policy.c:163 plugins/sudoers/policy.c:172 +#: plugins/sudoers/policy.c:201 plugins/sudoers/policy.c:370 +#: plugins/sudoers/policy.c:385 plugins/sudoers/policy.c:387 +#: plugins/sudoers/policy.c:425 plugins/sudoers/policy.c:434 +#: plugins/sudoers/policy.c:482 plugins/sudoers/policy.c:492 +#: plugins/sudoers/policy.c:501 plugins/sudoers/policy.c:510 +#: plugins/sudoers/policy.c:519 plugins/sudoers/policy.c:626 +#: plugins/sudoers/policy.c:1033 plugins/sudoers/prompt.c:93 +#: plugins/sudoers/pwutil.c:199 plugins/sudoers/pwutil.c:270 +#: plugins/sudoers/pwutil.c:348 plugins/sudoers/pwutil.c:522 +#: plugins/sudoers/pwutil.c:587 plugins/sudoers/pwutil.c:659 +#: plugins/sudoers/pwutil.c:857 plugins/sudoers/pwutil.c:945 +#: plugins/sudoers/pwutil.c:993 plugins/sudoers/pwutil.c:1052 +#: plugins/sudoers/set_perms.c:363 plugins/sudoers/set_perms.c:706 +#: plugins/sudoers/set_perms.c:1073 plugins/sudoers/set_perms.c:1380 +#: plugins/sudoers/set_perms.c:1549 plugins/sudoers/sssd.c:144 +#: plugins/sudoers/sssd.c:185 plugins/sudoers/sssd.c:414 +#: plugins/sudoers/sssd.c:479 plugins/sudoers/sssd.c:505 +#: plugins/sudoers/sssd.c:568 plugins/sudoers/sssd.c:761 +#: plugins/sudoers/strvec_join.c:53 plugins/sudoers/stubs.c:112 +#: plugins/sudoers/stubs.c:120 plugins/sudoers/sudoers.c:354 +#: plugins/sudoers/sudoers.c:380 plugins/sudoers/sudoers.c:447 +#: plugins/sudoers/sudoers.c:464 plugins/sudoers/sudoers.c:505 +#: plugins/sudoers/sudoers.c:849 plugins/sudoers/sudoers.c:902 +#: plugins/sudoers/sudoers.c:1054 plugins/sudoers/sudoers.c:1114 +#: plugins/sudoers/sudoers.c:1369 plugins/sudoers/sudoreplay.c:559 +#: plugins/sudoers/sudoreplay.c:562 plugins/sudoers/sudoreplay.c:1278 +#: plugins/sudoers/sudoreplay.c:1334 plugins/sudoers/sudoreplay.c:1530 +#: plugins/sudoers/sudoreplay.c:1534 plugins/sudoers/testsudoers.c:120 +#: plugins/sudoers/testsudoers.c:224 plugins/sudoers/testsudoers.c:241 +#: plugins/sudoers/testsudoers.c:588 plugins/sudoers/timestamp.c:451 +#: plugins/sudoers/timestamp.c:495 plugins/sudoers/timestamp.c:1017 +#: plugins/sudoers/timestamp.c:1146 plugins/sudoers/toke_util.c:78 +#: plugins/sudoers/toke_util.c:106 plugins/sudoers/toke_util.c:131 +#: plugins/sudoers/toke_util.c:160 plugins/sudoers/toke_util.c:200 +#: plugins/sudoers/tsdump.c:123 plugins/sudoers/visudo.c:150 +#: plugins/sudoers/visudo.c:385 plugins/sudoers/visudo.c:391 +#: plugins/sudoers/visudo.c:502 plugins/sudoers/visudo.c:1056 toke.l:1031 +#: toke.l:1163 toke.l:1226 toke.l:1234 +#, c-format +msgid "%s: %s" +msgstr "%s: %s" + +#: lib/eventlog/eventlog.c:303 +#, c-format +msgid "unable to dup stdin: %m" +msgstr "kan inte duplicera stdin: %m" + +#: lib/eventlog/eventlog.c:345 +#, c-format +msgid "unable to execute %s: %m" +msgstr "kan inte köra %s: %m" + +#: lib/eventlog/eventlog.c:393 plugins/sudoers/auth/aix_auth.c:198 +msgid "unable to fork" +msgstr "kan inte grena process" + +#: lib/eventlog/eventlog.c:403 lib/eventlog/eventlog.c:468 +#, c-format +msgid "unable to fork: %m" +msgstr "kan inte grena process: %m" + +#: lib/eventlog/eventlog.c:458 +#, c-format +msgid "unable to open pipe: %m" +msgstr "kan inte öppna rör: %m" + +#: lib/eventlog/eventlog.c:960 +#, c-format +msgid "%8s : %s" +msgstr "%8s : %s" + +#: lib/eventlog/eventlog.c:989 +#, c-format +msgid "%8s : (command continued) %s" +msgstr "%8s : (kommando fortsätter) %s" + +#: lib/iolog/iolog_filter.c:133 plugins/sudoers/defaults.c:1242 +#: plugins/sudoers/sudoreplay.c:1290 plugins/sudoers/sudoreplay.c:1586 +#, c-format +msgid "invalid regular expression \"%s\": %s" +msgstr "ogiltigt reguljärt uttryck ”%s”: %s" + +#: lib/iolog/iolog_json.c:140 +#, c-format +msgid "expected JSON_STRING, got %d" +msgstr "förväntade JSON_STRING, fick %d" + +#: lib/iolog/iolog_json.c:145 +msgid "JSON_ARRAY too large" +msgstr "JSON_ARRAY för stor" + +#: lib/iolog/iolog_json.c:404 +msgid "missing double quote in name" +msgstr "saknar citationstecken i namn" + +#: lib/iolog/iolog_json.c:511 +msgid "missing JSON_OBJECT" +msgstr "saknar JSON_OBJECT" + +#: lib/iolog/iolog_json.c:515 +#, c-format +msgid "expected JSON_OBJECT, got %d" +msgstr "förväntade JSON_OBJECT, fick %d" + +#: lib/iolog/iolog_json.c:632 +#, c-format +msgid "json stack exhausted (max %u frames)" +msgstr "json-stack utarmad (max %u ramar)" + +#: lib/iolog/iolog_json.c:706 +msgid "objects must consist of name:value pairs" +msgstr "objekt måste bestå av namn:värde-par" + +#: lib/iolog/iolog_json.c:711 lib/iolog/iolog_json.c:742 +#: lib/iolog/iolog_json.c:786 lib/iolog/iolog_json.c:808 +#: lib/iolog/iolog_json.c:830 lib/iolog/iolog_json.c:852 +#: lib/iolog/iolog_json.c:874 +msgid "missing separator between values" +msgstr "saknar separator mellan värden" + +#: lib/iolog/iolog_json.c:726 lib/iolog/iolog_json.c:900 +msgid "unmatched close brace" +msgstr "omatchad avslutningsklammerparentes" + +#: lib/iolog/iolog_json.c:737 +msgid "unexpected array" +msgstr "oväntad array" + +#: lib/iolog/iolog_json.c:757 lib/iolog/iolog_json.c:903 +msgid "unmatched close bracket" +msgstr "omatchad avslutningsklammer" + +#: lib/iolog/iolog_json.c:768 +msgid "unexpected string" +msgstr "oväntad sträng" + +#: lib/iolog/iolog_json.c:779 +msgid "missing colon after name" +msgstr "saknar kolon efter namn" + +#: lib/iolog/iolog_json.c:800 lib/iolog/iolog_json.c:822 +msgid "unexpected boolean" +msgstr "oväntad boolean" + +#: lib/iolog/iolog_json.c:844 +msgid "unexpected null" +msgstr "oväntat null" + +#: lib/iolog/iolog_json.c:865 +msgid "unexpected number" +msgstr "oväntat nummer" + +#: lib/iolog/iolog_json.c:912 +msgid "parse error" +msgstr "tolkningsfel" + +#: lib/iolog/iolog_legacy.c:65 +#, c-format +msgid "%s: invalid log file" +msgstr "%s: ogiltig loggfil" + +#: lib/iolog/iolog_legacy.c:83 +#, c-format +msgid "%s: time stamp field is missing" +msgstr "%s: tidsstämpelfält saknas" + +#: lib/iolog/iolog_legacy.c:89 +#, c-format +msgid "%s: time stamp %s: %s" +msgstr "%s: tidsstämpel %s: %s" + +#: lib/iolog/iolog_legacy.c:96 +#, c-format +msgid "%s: user field is missing" +msgstr "%s: användarfältet saknas" + +#: lib/iolog/iolog_legacy.c:107 +#, c-format +msgid "%s: runas user field is missing" +msgstr "%s: runas-användarfältet saknas" + +#: lib/iolog/iolog_legacy.c:118 +#, c-format +msgid "%s: runas group field is missing" +msgstr "%s: runas-gruppfältet saknas" + +#: lib/iolog/iolog_mkdirs.c:89 +#, c-format +msgid "%s exists but is not a directory (0%o)" +msgstr "%s finns men är inte en katalog (0%o)" + +#: lib/iolog/iolog_mkdirs.c:123 lib/iolog/iolog_mkdtemp.c:79 +#: logsrvd/iolog_writer.c:781 plugins/sudoers/timestamp.c:209 +#, c-format +msgid "unable to mkdir %s" +msgstr "kan inte skapa katalogen %s" + +#: lib/iolog/iolog_mkdtemp.c:84 plugins/sudoers/visudo.c:757 +#: plugins/sudoers/visudo.c:791 plugins/sudoers/visudo.c:797 +#, c-format +msgid "unable to change mode of %s to 0%o" +msgstr "kan inte ändra läge för %s till 0%o" + +#: lib/iolog/iolog_timing.c:261 +#, c-format +msgid "error reading timing file: %s" +msgstr "fel vid inläsning av tidsmätningsfil: %s" + +#: lib/iolog/iolog_timing.c:268 +#, c-format +msgid "invalid timing file line: %s" +msgstr "ogiltig rad i tidsmätningsfil: %s" + +#: logsrvd/iolog_writer.c:65 +#, c-format +msgid "%s: protocol error: NULL key" +msgstr "%s: protokollfel: NULL-nyckel" + +#: logsrvd/iolog_writer.c:69 +#, c-format +msgid "%s: protocol error: wrong type for %s" +msgstr "%s: protokollfel: fel typ för %s" + +#: logsrvd/iolog_writer.c:74 logsrvd/logsrvd_local.c:109 +#: logsrvd/logsrvd_local.c:123 logsrvd/logsrvd_local.c:131 +#: logsrvd/logsrvd_local.c:149 +#, c-format +msgid "%s: protocol error: NULL value found in %s" +msgstr "%s: protokollfel: NULL-värde hittat i %s" + +#: logsrvd/iolog_writer.c:141 plugins/sudoers/logging.c:980 +#: plugins/sudoers/policy.c:593 +msgid "unable to generate UUID" +msgstr "kan inte generera UUID" + +#: logsrvd/iolog_writer.c:341 logsrvd/iolog_writer.c:346 +#: logsrvd/iolog_writer.c:351 logsrvd/iolog_writer.c:356 +#, c-format +msgid "%s: protocol error: %s missing from AcceptMessage" +msgstr "%s: protokollfel: %s saknas i AcceptMessage" + +#: logsrvd/iolog_writer.c:417 +#, c-format +msgid "%s: unable to format session id" +msgstr "%s: kan inte formattera sessions-id" + +#: logsrvd/iolog_writer.c:431 logsrvd/iolog_writer.c:445 +#: logsrvd/iolog_writer.c:459 logsrvd/iolog_writer.c:474 +#: logsrvd/iolog_writer.c:488 logsrvd/iolog_writer.c:502 +#, c-format +msgid "%s: %s is not set" +msgstr "%s: %s: är inte satt" + +#: logsrvd/iolog_writer.c:538 logsrvd/iolog_writer.c:545 +#, c-format +msgid "unable to expand iolog path %s" +msgstr "kan inte öppna iolog-sökväg %s" + +#: logsrvd/iolog_writer.c:563 +#, c-format +msgid "unable to create iolog path %s" +msgstr "kan inte skapa iolog-sökväg %s" + +#: logsrvd/iolog_writer.c:593 +#, c-format +msgid "invalid iofd %d" +msgstr "ogiltig iofd %d" + +#: logsrvd/iolog_writer.c:613 +#, c-format +msgid "error closing iofd %d: %s" +msgstr "fel vid stängning av iofd %d: %s" + +#: logsrvd/iolog_writer.c:633 +#, c-format +msgid "error flushing iofd %d: %s" +msgstr "fel vid tömning av iofd %d: %s" + +#: logsrvd/iolog_writer.c:751 +#, c-format +msgid "invalid I/O log %s: %s referenced but not present" +msgstr "ogiltig I/O-logg %s: %s refererad men inte närvarande" + +#: logsrvd/iolog_writer.c:763 logsrvd/logsrvd_journal.c:385 +#, c-format +msgid "%s: unable to find resume point [%lld, %ld]" +msgstr "%s: kan inte hitta omstartspunkt [%lld, %ld]" + +#: logsrvd/iolog_writer.c:785 logsrvd/logsrvd_journal.c:428 +#: logsrvd/logsrvd_queue.c:115 logsrvd/tls_init.c:256 +#: plugins/sudoers/check.c:292 plugins/sudoers/cvtsudoers.c:730 +#: plugins/sudoers/cvtsudoers.c:751 plugins/sudoers/cvtsudoers.c:1431 +#: plugins/sudoers/cvtsudoers_csv.c:695 plugins/sudoers/cvtsudoers_json.c:898 +#: plugins/sudoers/cvtsudoers_ldif.c:709 plugins/sudoers/sudoers.c:1152 +#: plugins/sudoers/sudoers.c:1182 plugins/sudoers/sudoreplay.c:1496 +#: plugins/sudoers/timestamp.c:460 plugins/sudoers/tsdump.c:128 +#: plugins/sudoers/visudo.c:975 +#, c-format +msgid "unable to open %s" +msgstr "kan inte öppna %s" + +#: logsrvd/iolog_writer.c:797 logsrvd/logsrv_util.c:105 +#: logsrvd/logsrv_util.c:112 plugins/sudoers/sudoreplay.c:355 +#: plugins/sudoers/sudoreplay.c:361 +#, c-format +msgid "unable to open %s/%s" +msgstr "kan inte öppna %s/%s" + +#: logsrvd/iolog_writer.c:810 +#, c-format +msgid "unable to copy %s/%s to %s/%s: %s" +msgstr "kan inte kopiera %s/%s till %s/%s: %s" + +#: logsrvd/iolog_writer.c:839 logsrvd/logsrvd_journal.c:198 +#, c-format +msgid "unable to rename %s to %s" +msgstr "kan inte byta namn på %s till %s" + +#: logsrvd/logsrv_util.c:147 logsrvd/logsrv_util.c:176 +#, c-format +msgid "%s/%s: unable to find resume point [%lld, %ld]" +msgstr "%s/%s: kan inte hitta omstartspunkt [%lld, %ld]" + +#: logsrvd/logsrv_util.c:159 +#, c-format +msgid "missing I/O log file %s/%s" +msgstr "saknar I/O-loggfil %s/%s" + +#: logsrvd/logsrv_util.c:166 +#, c-format +msgid "%s/%s: unable to seek forward %zu" +msgstr "%s/%s: kan inte söka framåt %zu" + +#: logsrvd/logsrvd.c:271 logsrvd/logsrvd_queue.c:135 +msgid "unable to connect to relay" +msgstr "kan inte ansluta till relä" + +#: logsrvd/logsrvd.c:330 logsrvd/logsrvd_relay.c:842 +#, c-format +msgid "server message too large: %zu" +msgstr "servermeddelande för långt: %zu" + +#: logsrvd/logsrvd.c:422 logsrvd/logsrvd.c:545 logsrvd/logsrvd.c:631 +#: logsrvd/logsrvd.c:873 logsrvd/logsrvd.c:887 logsrvd/logsrvd.c:1049 +#: logsrvd/logsrvd.c:1174 logsrvd/logsrvd.c:1347 logsrvd/logsrvd.c:1365 +#: logsrvd/logsrvd.c:1464 logsrvd/logsrvd.c:1589 logsrvd/logsrvd.c:1773 +#: logsrvd/logsrvd_journal.c:497 logsrvd/logsrvd_local.c:238 +#: logsrvd/logsrvd_queue.c:164 logsrvd/logsrvd_relay.c:172 +#: logsrvd/logsrvd_relay.c:249 logsrvd/logsrvd_relay.c:253 +#: logsrvd/logsrvd_relay.c:389 logsrvd/logsrvd_relay.c:581 +#: logsrvd/logsrvd_relay.c:742 logsrvd/logsrvd_relay.c:1131 +#: logsrvd/sendlog.c:1291 logsrvd/tls_client.c:136 logsrvd/tls_client.c:152 +#: logsrvd/tls_client.c:216 plugins/sudoers/audit.c:278 +#: plugins/sudoers/iolog.c:1031 plugins/sudoers/iolog.c:1164 +#: plugins/sudoers/iolog.c:1262 plugins/sudoers/log_client.c:121 +#: plugins/sudoers/log_client.c:343 plugins/sudoers/log_client.c:359 +#: plugins/sudoers/log_client.c:407 plugins/sudoers/log_client.c:611 +#: plugins/sudoers/log_client.c:618 plugins/sudoers/log_client.c:1103 +#: plugins/sudoers/log_client.c:1384 plugins/sudoers/log_client.c:1425 +#: plugins/sudoers/log_client.c:1433 plugins/sudoers/log_client.c:1592 +#: plugins/sudoers/log_client.c:1710 plugins/sudoers/log_client.c:2039 +#: plugins/sudoers/log_client.c:2047 plugins/sudoers/logging.c:147 +#: plugins/sudoers/logging.c:205 plugins/sudoers/sudoreplay.c:519 +#: plugins/sudoers/sudoreplay.c:566 plugins/sudoers/sudoreplay.c:808 +#: plugins/sudoers/sudoreplay.c:920 plugins/sudoers/sudoreplay.c:1011 +#: plugins/sudoers/sudoreplay.c:1026 plugins/sudoers/sudoreplay.c:1033 +#: plugins/sudoers/sudoreplay.c:1040 plugins/sudoers/sudoreplay.c:1047 +#: plugins/sudoers/sudoreplay.c:1054 plugins/sudoers/sudoreplay.c:1181 +msgid "unable to add event to queue" +msgstr "kan inte lägga till händelse till kö" + +#: logsrvd/logsrvd.c:446 logsrvd/logsrvd.c:483 logsrvd/logsrvd.c:515 +#: logsrvd/logsrvd.c:569 logsrvd/logsrvd.c:648 logsrvd/logsrvd.c:684 +#: logsrvd/logsrvd.c:720 logsrvd/logsrvd.c:756 logsrvd/logsrvd_relay.c:510 +#: logsrvd/logsrvd_relay.c:543 +#, c-format +msgid "unexpected state %d for %s" +msgstr "oväntat tillstånd %d för %s" + +#: logsrvd/logsrvd.c:447 logsrvd/logsrvd.c:484 logsrvd/logsrvd.c:516 +#: logsrvd/logsrvd.c:570 logsrvd/logsrvd.c:649 logsrvd/logsrvd.c:685 +#: logsrvd/logsrvd.c:721 logsrvd/logsrvd.c:757 logsrvd/logsrvd_relay.c:512 +#: logsrvd/logsrvd_relay.c:545 +msgid "state machine error" +msgstr "fel i tillståndsmaskin" + +#: logsrvd/logsrvd.c:453 logsrvd/logsrvd.c:454 +msgid "invalid AcceptMessage" +msgstr "ogiltigt AcceptMessage" + +#: logsrvd/logsrvd.c:490 logsrvd/logsrvd.c:491 +msgid "invalid RejectMessage" +msgstr "ogiltigt RejectMessage" + +#: logsrvd/logsrvd.c:522 logsrvd/logsrvd.c:523 +msgid "invalid ExitMessage" +msgstr "ogiltigt ExitMessage" + +#: logsrvd/logsrvd.c:576 logsrvd/logsrvd.c:577 +msgid "invalid RestartMessage" +msgstr "ogiltigt RestartMessage" + +#: logsrvd/logsrvd.c:611 logsrvd/logsrvd.c:612 +msgid "invalid AlertMessage" +msgstr "ogiltigt AlertMessage" + +#: logsrvd/logsrvd.c:653 logsrvd/logsrvd.c:689 logsrvd/logsrvd.c:725 +#, c-format +msgid "%s: unexpected IoBuffer" +msgstr "%s: oväntad IoBuffer" + +#: logsrvd/logsrvd.c:654 logsrvd/logsrvd.c:690 logsrvd/logsrvd.c:726 +msgid "protocol error" +msgstr "protokollfel" + +#: logsrvd/logsrvd.c:660 logsrvd/logsrvd.c:661 +msgid "invalid IoBuffer" +msgstr "ogiltig IoBuffer" + +#: logsrvd/logsrvd.c:696 logsrvd/logsrvd.c:697 +msgid "invalid ChangeWindowSize" +msgstr "ogiltig ChangeWindowSize" + +#: logsrvd/logsrvd.c:732 logsrvd/logsrvd.c:733 +msgid "invalid CommandSuspend" +msgstr "ogiltig CommandSuspend" + +#: logsrvd/logsrvd.c:782 logsrvd/logsrvd_journal.c:296 +#: logsrvd/logsrvd_relay.c:652 logsrvd/sendlog.c:1192 +#: plugins/sudoers/log_client.c:1582 +#, c-format +msgid "unable to unpack %s size %zu" +msgstr "kan inte packa upp %s storlek %zu" + +#: logsrvd/logsrvd.c:827 logsrvd/logsrvd_journal.c:370 +#: logsrvd/logsrvd_relay.c:676 +#, c-format +msgid "unexpected type_case value %d in %s from %s" +msgstr "oväntat type_case-värde %d i %s från %s" + +#: logsrvd/logsrvd.c:829 +msgid "unrecognized ClientMessage type" +msgstr "okänd ClientMessage-typ" + +#: logsrvd/logsrvd.c:919 +#, c-format +msgid "timed out writing to client %s" +msgstr "tidsgräns passerad vid skrivning till klient %s" + +#: logsrvd/logsrvd.c:924 logsrvd/logsrvd_relay.c:914 logsrvd/sendlog.c:1395 +#, c-format +msgid "missing write buffer for client %s" +msgstr "saknar skrivbuffert för klient %s" + +#: logsrvd/logsrvd.c:1020 +#, c-format +msgid "timed out reading from client %s" +msgstr "tidsgräns passerad vid läsning från klient %s" + +#: logsrvd/logsrvd.c:1061 logsrvd/logsrvd_relay.c:777 +#, c-format +msgid "EOF from %s without proper TLS shutdown" +msgstr "EOF från %s utan korrekt TLS-nedstängning" + +#: logsrvd/logsrvd.c:1105 logsrvd/logsrvd_relay.c:205 logsrvd/sendlog.c:322 +#: plugins/sudoers/log_client.c:721 +#, c-format +msgid "client message too large: %zu" +msgstr "klientmeddelande för stort: %zu" + +#: logsrvd/logsrvd.c:1106 logsrvd/logsrvd_journal.c:259 +#: logsrvd/logsrvd_journal.c:260 +msgid "client message too large" +msgstr "klientmeddelande för stort" + +#: logsrvd/logsrvd.c:1124 logsrvd/logsrvd.c:1125 +msgid "invalid ClientMessage" +msgstr "ogiltigt ClientMessage" + +#: logsrvd/logsrvd.c:1425 +msgid "unable to get remote IP addr" +msgstr "kan inte hämta fjärr-IP-adress" + +#: logsrvd/logsrvd.c:1456 logsrvd/tls_client.c:203 +#: plugins/sudoers/log_client.c:281 +#, c-format +msgid "Unable to attach user data to the ssl object: %s" +msgstr "Kan inte fästa användardata på ssl-objektet: %s" + +#: logsrvd/logsrvd.c:1639 logsrvd/logsrvd.c:1992 +msgid "unable to setup listen socket" +msgstr "det går inte att ställa in lyssningsuttag" + +#: logsrvd/logsrvd.c:1756 +#, c-format +msgid "unexpected signal %d" +msgstr "oväntad signal %d" + +#: logsrvd/logsrvd.c:1894 +msgid "sudo log server" +msgstr "sudo-loggserver" + +#: logsrvd/logsrvd.c:1896 logsrvd/sendlog.c:121 +msgid "Options:" +msgstr "Alternativ:" + +#: logsrvd/logsrvd.c:1898 +msgid "path to configuration file" +msgstr "sökväg till konfigurationsfil" + +#: logsrvd/logsrvd.c:1900 logsrvd/sendlog.c:123 +msgid "display help message and exit" +msgstr "visa hjälpmeddelande och avsluta" + +#: logsrvd/logsrvd.c:1902 +msgid "do not fork, run in the foreground" +msgstr "grena inte, kör i förgrunden" + +#: logsrvd/logsrvd.c:1904 +msgid "percent chance connections will drop" +msgstr "procents chans att anslutningar slängs" + +#: logsrvd/logsrvd.c:1906 logsrvd/sendlog.c:153 +msgid "display version information and exit" +msgstr "visa versionsinformation och avsluta" + +#: logsrvd/logsrvd.c:1956 logsrvd/sendlog.c:1702 +msgid "Protobuf-C version 1.3 or higher required" +msgstr "Protobuf-C version 1.3 eller högre krävs" + +#: logsrvd/logsrvd.c:1972 +#, c-format +msgid "invalid random drop value: %s" +msgstr "ogiltigt slumpmässigt avbrottsvärde: %s" + +#: logsrvd/logsrvd.c:1975 logsrvd/sendlog.c:1756 +#: plugins/sudoers/cvtsudoers.c:246 plugins/sudoers/sudoreplay.c:294 +#: plugins/sudoers/visudo.c:182 +#, c-format +msgid "%s version %s\n" +msgstr "%s version %s\n" + +#: logsrvd/logsrvd_conf.c:422 plugins/sudoers/check.c:358 +#: plugins/sudoers/exptilde.c:85 plugins/sudoers/iolog.c:122 +#: plugins/sudoers/policy.c:1271 plugins/sudoers/sudoers.c:512 +#: plugins/sudoers/sudoers.c:1411 plugins/sudoers/testsudoers.c:215 +#: plugins/sudoers/testsudoers.c:382 +#, c-format +msgid "unknown user %s" +msgstr "okänd användare %s" + +#: logsrvd/logsrvd_conf.c:439 plugins/sudoers/iolog.c:148 +#: plugins/sudoers/sudoers.c:517 plugins/sudoers/sudoers.c:1445 +#: plugins/sudoers/testsudoers.c:406 +#, c-format +msgid "unknown group %s" +msgstr "okänd grupp %s" + +#: logsrvd/logsrvd_conf.c:457 +#, c-format +msgid "unable to parse iolog mode %s" +msgstr "kan inte tolka iolog-läge %s" + +#: logsrvd/logsrvd_conf.c:474 logsrvd/logsrvd_conf.c:1243 +#, c-format +msgid "invalid value for %s: %s" +msgstr "ogiltigt värde för %s: %s" + +#: logsrvd/logsrvd_conf.c:527 +msgid "TLS not supported" +msgstr "TLS stöds inte" + +#: logsrvd/logsrvd_conf.c:549 +#, c-format +msgid "%s:%s" +msgstr "%s:%s" + +#: logsrvd/logsrvd_conf.c:622 logsrvd/logsrvd_conf.c:1032 +#, c-format +msgid "%s: not a fully qualified path" +msgstr "%s: inte fullständigt kvalificerad sökväg" + +#: logsrvd/logsrvd_conf.c:951 logsrvd/logsrvd_conf.c:967 +#: logsrvd/logsrvd_conf.c:1676 +#, c-format +msgid "unknown syslog facility %s" +msgstr "okänd syslog-funktionalitet: %s" + +#: logsrvd/logsrvd_conf.c:983 logsrvd/logsrvd_conf.c:999 +#: logsrvd/logsrvd_conf.c:1015 logsrvd/logsrvd_conf.c:1680 +#: logsrvd/logsrvd_conf.c:1684 logsrvd/logsrvd_conf.c:1688 +#, c-format +msgid "unknown syslog priority %s" +msgstr "okänd syslog-prioritet: %s" + +#: logsrvd/logsrvd_conf.c:1197 +#, c-format +msgid "%s:%d unmatched '[': %s" +msgstr "%s:%d omatchad ”[”: %s" + +#: logsrvd/logsrvd_conf.c:1203 +#, c-format +msgid "%s:%d garbage after ']': %s" +msgstr "%s:%d skräp eft ”]”: %s" + +#: logsrvd/logsrvd_conf.c:1215 +#, c-format +msgid "%s:%d invalid config section: %s" +msgstr "%s:%d ogiltigt konfigurationsavsnitt: %s" + +#: logsrvd/logsrvd_conf.c:1223 +#, c-format +msgid "%s:%d invalid configuration line: %s" +msgstr "%s:%d ogiltig konfigurationsrad: %s" + +#: logsrvd/logsrvd_conf.c:1229 +#, c-format +msgid "%s:%d expected section name: %s" +msgstr "%s:%d avsnittsnamn förväntades: %s" + +#: logsrvd/logsrvd_conf.c:1251 +#, c-format +msgid "%s:%d [%s] illegal key: %s" +msgstr "%s:%d [%s] ogiltig nyckel: %s" + +#: logsrvd/logsrvd_conf.c:1281 plugins/sudoers/cvtsudoers.c:268 +#: plugins/sudoers/logging.c:1033 +#, c-format +msgid "unable to open log file %s" +msgstr "kan inte öppna loggfil %s" + +#: logsrvd/logsrvd_conf.c:1763 +msgid "unable to initialize server TLS context" +msgstr "kan inte initiera TLS-serverkontext" + +#: logsrvd/logsrvd_conf.c:1783 +msgid "unable to initialize relay TLS context" +msgstr "kan inte initiera TLS-reläkontext" + +#: logsrvd/logsrvd_journal.c:149 logsrvd/logsrvd_journal.c:424 +#: logsrvd/logsrvd_journal.c:429 +msgid "unable to create journal file" +msgstr "kan inte skapa journalfil" + +#: logsrvd/logsrvd_journal.c:153 logsrvd/logsrvd_queue.c:109 +#: plugins/sudoers/visudo.c:1028 +#, c-format +msgid "unable to lock %s" +msgstr "kan inte låsa %s" + +#: logsrvd/logsrvd_journal.c:156 +msgid "unable to lock journal file" +msgstr "kan inte låsa journalfil" + +#: logsrvd/logsrvd_journal.c:164 +msgid "unable to open journal file" +msgstr "kan inte öppna journalfil" + +#: logsrvd/logsrvd_journal.c:185 logsrvd/logsrvd_journal.c:460 +#: logsrvd/logsrvd_journal.c:465 +msgid "unable to write journal file" +msgstr "kan inte skriva journalfil" + +#: logsrvd/logsrvd_journal.c:193 logsrvd/logsrvd_journal.c:200 +msgid "unable to rename journal file" +msgstr "kan inte byta namn på journalfil" + +#: logsrvd/logsrvd_journal.c:247 logsrvd/logsrvd_journal.c:248 +#: logsrvd/logsrvd_journal.c:282 logsrvd/logsrvd_journal.c:283 +msgid "unexpected EOF reading journal file" +msgstr "oväntat filslut vid läsning av journalfil" + +#: logsrvd/logsrvd_journal.c:251 logsrvd/logsrvd_journal.c:252 +#: logsrvd/logsrvd_journal.c:286 logsrvd/logsrvd_journal.c:287 +msgid "error reading journal file" +msgstr "fel vid inläsning av journalfil" + +#: logsrvd/logsrvd_journal.c:298 logsrvd/logsrvd_journal.c:384 +msgid "invalid journal file, unable to restart" +msgstr "ogiltig journalfil, kunde inte starta om" + +#: logsrvd/logsrvd_journal.c:443 +#, c-format +msgid "unable to seek to [%lld, %ld] in journal file %s" +msgstr "kan inte söka till [%lld, %ld] i journalfil %s" + +#: logsrvd/logsrvd_local.c:166 +#, c-format +msgid "unexpected value_case %d in %s from %s" +msgstr "oväntat value_case %d i %s från %s" + +#: logsrvd/logsrvd_local.c:194 +msgid "error parsing AcceptMessage" +msgstr "fel vid tolkning av AcceptMessage" + +#: logsrvd/logsrvd_local.c:205 +msgid "error creating I/O log" +msgstr "fel vid skapande av I/O-logg" + +#: logsrvd/logsrvd_local.c:228 +msgid "error logging accept event" +msgstr "fel vid loggning av acceptanshändelse" + +#: logsrvd/logsrvd_local.c:267 +msgid "error parsing RejectMessage" +msgstr "fel vid tolkning av RejectMessage" + +#: logsrvd/logsrvd_local.c:291 +msgid "error logging reject event" +msgstr "fel vid loggning av avböjningshändelse" + +#: logsrvd/logsrvd_local.c:427 logsrvd/logsrvd_local.c:435 +msgid "error logging exit event" +msgstr "fel vid loggning av avslutningshändelse" + +#: logsrvd/logsrvd_local.c:492 logsrvd/logsrvd_local.c:493 +msgid "log is already complete, cannot be restarted" +msgstr "logg är redan komplett, kan inte startas om" + +#: logsrvd/logsrvd_local.c:523 +msgid "unable to restart log" +msgstr "kan inte starta om logg" + +#: logsrvd/logsrvd_local.c:539 +msgid "error parsing AlertMessage" +msgstr "fel vid tolkning av AlertMessage" + +#: logsrvd/logsrvd_local.c:549 +msgid "error logging alert event" +msgstr "fel vid loggning av alarmhändelse" + +#: logsrvd/logsrvd_local.c:585 logsrvd/logsrvd_local.c:648 +#: logsrvd/logsrvd_local.c:683 +#, c-format +msgid "unable to format timing buffer, length %d" +msgstr "kan inte formatera tidsbuffert, längd %d" + +#: logsrvd/logsrvd_local.c:599 logsrvd/logsrvd_local.c:607 +#: logsrvd/logsrvd_local.c:655 logsrvd/logsrvd_local.c:690 +#: plugins/sudoers/sudoreplay.c:344 +#, c-format +msgid "%s/%s: %s" +msgstr "%s/%s: %s" + +#: logsrvd/logsrvd_local.c:618 +msgid "randomly dropping connection" +msgstr "släpper slumpmässigt anslutningen" + +#: logsrvd/logsrvd_local.c:630 +msgid "error writing IoBuffer" +msgstr "fel vid skrivning av IoBuffer" + +#: logsrvd/logsrvd_local.c:665 +msgid "error writing ChangeWindowSize" +msgstr "fel vid skrivning av ChangeWindowSize" + +#: logsrvd/logsrvd_local.c:700 +msgid "error writing CommandSuspend" +msgstr "fel vid skrivning av CommandSuspend" + +#: logsrvd/logsrvd_relay.c:435 +msgid "TLS handshake with relay host failed" +msgstr "TLS-handskakning med relävärd misslyckades" + +#: logsrvd/logsrvd_relay.c:463 +msgid "unable to connect to relay host" +msgstr "kan inte ansluta till relävärd" + +#: logsrvd/logsrvd_relay.c:518 +#, c-format +msgid "%s: invalid ServerHello, missing server_id" +msgstr "%s: ogiltigt ServerHello, saknar server_id" + +#: logsrvd/logsrvd_relay.c:520 logsrvd/sendlog.c:1096 +#: plugins/sudoers/log_client.c:1468 +msgid "invalid ServerHello" +msgstr "ogiltigt ServerHello" + +#: logsrvd/logsrvd_relay.c:679 +msgid "unrecognized ServerMessage type" +msgstr "okänd ServerMessage-typ" + +#: logsrvd/logsrvd_relay.c:708 +#, c-format +msgid "timed out reading from relay %s (%s)" +msgstr "tidsgräns passerad vid läsning från relä %s (%s)" + +#: logsrvd/logsrvd_relay.c:710 +msgid "timeout reading from relay" +msgstr "tidsgräns passerad vid läsning från relä" + +#: logsrvd/logsrvd_relay.c:762 +msgid "relay host name does not match certificate" +msgstr "relävärdnamnet matchar inte certifikatet" + +#: logsrvd/logsrvd_relay.c:768 logsrvd/logsrvd_relay.c:782 +#: logsrvd/logsrvd_relay.c:789 +msgid "error reading from relay" +msgstr "fel vid läsning från relä" + +#: logsrvd/logsrvd_relay.c:810 +msgid "unable to read from relay" +msgstr "kan inte läsa från relä" + +#: logsrvd/logsrvd_relay.c:825 logsrvd/logsrvd_relay.c:943 +msgid "relay server closed connection" +msgstr "reläserver stängde anslutningen" + +#: logsrvd/logsrvd_relay.c:843 +msgid "server message too large" +msgstr "servermeddelandet för stort" + +#: logsrvd/logsrvd_relay.c:907 +#, c-format +msgid "timed out writing to relay %s (%s)" +msgstr "tidsgräns passerad vid skrivning till relä %s (%s)" + +#: logsrvd/logsrvd_relay.c:909 +msgid "timeout writing to relay" +msgstr "tidsgräns passerad vid skrivning till relä" + +#: logsrvd/logsrvd_relay.c:962 logsrvd/logsrvd_relay.c:969 +#: logsrvd/logsrvd_relay.c:981 +msgid "error writing to relay" +msgstr "fel vid skrivning till relä" + +#: logsrvd/sendlog.c:119 +msgid "send sudo I/O log to remote server" +msgstr "skicka sudo I/O-logg till fjärrserver" + +#: logsrvd/sendlog.c:125 +msgid "only send an accept event (no I/O)" +msgstr "skicka endast en accepteringshändelse (ingen I/O)" + +#: logsrvd/sendlog.c:128 +msgid "certificate bundle file to verify server's cert against" +msgstr "certifikatbuntfil för att verifiera serverns certifikat mot" + +#: logsrvd/sendlog.c:130 +msgid "certificate file for TLS handshake" +msgstr "certifikatfil för TLS-handskakning" + +#: logsrvd/sendlog.c:133 +msgid "host to send logs to" +msgstr "värd att skicka loggar till" + +#: logsrvd/sendlog.c:135 +msgid "remote ID of I/O log to be resumed" +msgstr "fjärr-ID för I/O-logg som ska återupptas" + +#: logsrvd/sendlog.c:138 +msgid "private key file" +msgstr "privat nyckelfil" + +#: logsrvd/sendlog.c:140 +msgid "do not verify server certificate" +msgstr "verifiera inte servercertifikat" + +#: logsrvd/sendlog.c:143 +msgid "port to use when connecting to host" +msgstr "port som ska användas när du ansluter till värd" + +#: logsrvd/sendlog.c:145 +msgid "restart previous I/O log transfer" +msgstr "starta om tidigare I/O-loggöverföring" + +#: logsrvd/sendlog.c:147 +msgid "reject the command with the given reason" +msgstr "avvisa kommandot med angiven anledning" + +#: logsrvd/sendlog.c:149 +msgid "stop transfer after reaching this time" +msgstr "stoppa överföring efter att ha nått denna tid" + +#: logsrvd/sendlog.c:151 +msgid "test audit server by sending selected I/O log n times in parallel" +msgstr "testa granskningsservern genom att skicka utvalda I/O-loggar n gånger parallellt" + +#: logsrvd/sendlog.c:176 plugins/sudoers/log_client.c:453 +#, c-format +msgid "unable to look up %s:%s: %s" +msgstr "kan inte slå upp %s:%s: %s" + +#: logsrvd/sendlog.c:214 +msgid "unable to get server IP addr" +msgstr "kan inte hämta server-IP-adress" + +#: logsrvd/sendlog.c:300 plugins/sudoers/sudoreplay.c:868 +#, c-format +msgid "unable to read %s/%s: %s" +msgstr "kan inte läsa %s/%s: %s" + +#: logsrvd/sendlog.c:1020 plugins/sudoers/iolog.c:949 +#: plugins/sudoers/iolog.c:1024 +#, c-format +msgid "unexpected I/O event %d" +msgstr "oväntad I/O-händelse %d" + +#: logsrvd/sendlog.c:1073 logsrvd/sendlog.c:1090 logsrvd/sendlog.c:1124 +#: plugins/sudoers/log_client.c:1118 plugins/sudoers/log_client.c:1394 +#: plugins/sudoers/log_client.c:1462 plugins/sudoers/log_client.c:1501 +#, c-format +msgid "%s: unexpected state %d" +msgstr "%s: oväntat tillstånd %d" + +#: logsrvd/sendlog.c:1160 plugins/sudoers/log_client.c:1550 +#, c-format +msgid "error message received from server: %s" +msgstr "felmeddelande mottaget från server: %s" + +#: logsrvd/sendlog.c:1173 plugins/sudoers/log_client.c:1563 +#, c-format +msgid "abort message received from server: %s" +msgstr "avbrottsmeddelande mottaget från server: %s" + +#: logsrvd/sendlog.c:1232 plugins/sudoers/log_client.c:1613 +#, c-format +msgid "%s: unexpected type_case value %d" +msgstr "%s: oväntat type_case-värde %d" + +#: logsrvd/sendlog.c:1261 +msgid "timeout reading from server" +msgstr "tidsgräns passerad vid läsning från server" + +#: logsrvd/sendlog.c:1310 plugins/sudoers/log_client.c:1729 +msgid "host name does not match certificate" +msgstr "värdnamn matchar inte certifikat" + +#: logsrvd/sendlog.c:1343 +msgid "premature EOF" +msgstr "oväntad EOF" + +#: logsrvd/sendlog.c:1356 plugins/sudoers/log_client.c:1776 +#, c-format +msgid "server message too large: %u" +msgstr "servermeddelande för långt: %u" + +#: logsrvd/sendlog.c:1412 +msgid "timeout writing to server" +msgstr "tidsgräns passerad vid skrivning till server" + +#: logsrvd/sendlog.c:1779 +msgid "both restart point and iolog ID must be specified" +msgstr "både omstartspunkt och iolog-ID måste anges" + +#: logsrvd/sendlog.c:1783 +msgid "a restart point may not be set when no I/O is sent" +msgstr "en omstartspunkt får inte sättas när ingen I/O skickas" + +#: logsrvd/sendlog.c:1859 +#, c-format +msgid "exited prematurely with state %d" +msgstr "avslutade oväntat i tillstånd %d" + +#: logsrvd/sendlog.c:1860 +#, c-format +msgid "elapsed time sent to server [%lld, %ld]" +msgstr "förfluten tid skickad till server [%lld, %ld]" + +#: logsrvd/sendlog.c:1862 +#, c-format +msgid "commit point received from server [%lld, %ld]" +msgstr "incheckningspunkt mottagen från server [%lld, %ld]" + +#: logsrvd/tls_client.c:111 plugins/sudoers/log_client.c:315 +msgid "TLS handshake timeout occurred" +msgstr "Tidsgräns för TLS-handskakning uppnådd" + +#: logsrvd/tls_client.c:131 logsrvd/tls_client.c:147 +#: plugins/sudoers/log_client.c:337 plugins/sudoers/log_client.c:353 +msgid "unable to set event" +msgstr "kan inte ställa in händelse" + +#: logsrvd/tls_client.c:157 logsrvd/tls_client.c:161 +#, c-format +msgid "TLS connection failed: %s" +msgstr "TLS-anslutning misslyckades: %s" + +#: logsrvd/tls_client.c:196 +#, c-format +msgid "unable to allocate ssl object: %s" +msgstr "kan inte allokera ssl-objekt: %s" + +#: logsrvd/tls_client.c:210 +#, c-format +msgid "Unable to attach socket to the ssl object: %s" +msgstr "Kan inte fästa kontakt på ssl-objektet: %s" + +#: logsrvd/tls_client.c:238 +msgid "unable to initialize TLS context" +msgstr "kan inte initiera TLS-kontext" + +#: logsrvd/tls_init.c:138 logsrvd/tls_init.c:146 +#, c-format +msgid "unable to set TLS 1.2 ciphersuite to %s: %s" +msgstr "kan inte ställa in TLS 1.2-krypteringssvit till %s: %s" + +#: logsrvd/tls_init.c:166 logsrvd/tls_init.c:174 +#, c-format +msgid "unable to set TLS 1.3 ciphersuite to %s: %s" +msgstr "kan inte ställa in TLS 1.3-krypteringssvit till %s: %s" + +#: logsrvd/tls_init.c:206 logsrvd/tls_init.c:227 +#, c-format +msgid "unable to set diffie-hellman parameters: %s" +msgstr "kunde inte sätta diffie-hellman-parametrar: %s" + +#: logsrvd/tls_init.c:283 +#, c-format +msgid "unable to create TLS context: %s" +msgstr "kan inte skapa TLS-kontext: %s" + +#: logsrvd/tls_init.c:290 +#, c-format +msgid "unable to set minimum protocol version to TLS 1.2: %s" +msgstr "kunde inte sätta minsta protokollversion till TLS 1.2: %s" + +#: plugins/sudoers/audit.c:269 plugins/sudoers/audit.c:429 +#: plugins/sudoers/log_client.c:951 plugins/sudoers/log_client.c:1000 +#: plugins/sudoers/log_client.c:1049 plugins/sudoers/log_client.c:1174 +#: plugins/sudoers/logging.c:595 plugins/sudoers/logging.c:693 +#: plugins/sudoers/logging.c:796 plugins/sudoers/logging.c:987 +#: plugins/sudoers/policy.c:125 +msgid "unable to get time of day" +msgstr "kan inte hämta tid på dagen" + +#: plugins/sudoers/auth/aix_auth.c:280 +#, c-format +msgid "unable to change password for %s" +msgstr "kan inte ändra lösenord för %s" + +#: plugins/sudoers/auth/bsdauth.c:74 +#, c-format +msgid "unable to get login class for user %s" +msgstr "kan inte hämta inloggningsklass för användaren %s" + +#: plugins/sudoers/auth/bsdauth.c:79 +msgid "unable to begin bsd authentication" +msgstr "kan inte påbörja bsd-autentisering" + +#: plugins/sudoers/auth/bsdauth.c:87 +msgid "invalid authentication type" +msgstr "ogiltig autentiseringstyp" + +#: plugins/sudoers/auth/bsdauth.c:96 +msgid "unable to initialize BSD authentication" +msgstr "kan inte initiera BSD-autentisering" + +#: plugins/sudoers/auth/bsdauth.c:186 +msgid "your account has expired" +msgstr "ditt konto har gått ut" + +#: plugins/sudoers/auth/bsdauth.c:188 +msgid "approval failed" +msgstr "godkännande misslyckades" + +#: plugins/sudoers/auth/fwtk.c:61 +msgid "unable to read fwtk config" +msgstr "kan inte läsa fwtk-konfiguration" + +#: plugins/sudoers/auth/fwtk.c:66 +msgid "unable to connect to authentication server" +msgstr "kan inte ansluta till autentiseringsservern" + +#: plugins/sudoers/auth/fwtk.c:72 plugins/sudoers/auth/fwtk.c:97 +#: plugins/sudoers/auth/fwtk.c:129 +msgid "lost connection to authentication server" +msgstr "förlorade kontakten med autentiseringsservern" + +#: plugins/sudoers/auth/fwtk.c:76 +#, c-format +msgid "" +"authentication server error:\n" +"%s" +msgstr "" +"fel i autentiseringsservern:\n" +"%s" + +#: plugins/sudoers/auth/kerb5.c:115 +#, c-format +msgid "%s: unable to convert principal to string ('%s'): %s" +msgstr "%s: kan inte konvertera principal till sträng (”%s”): %s" + +#: plugins/sudoers/auth/kerb5.c:164 +#, c-format +msgid "%s: unable to parse '%s': %s" +msgstr "%s: kan inte tolka ”%s”: %s" + +#: plugins/sudoers/auth/kerb5.c:173 +#, c-format +msgid "%s: unable to resolve credential cache: %s" +msgstr "%s: kan inte slå upp inloggningsuppgiftscache: %s" + +#: plugins/sudoers/auth/kerb5.c:222 +#, c-format +msgid "%s: unable to allocate options: %s" +msgstr "%s: kan inte allokera flaggor: %s" + +#: plugins/sudoers/auth/kerb5.c:237 +#, c-format +msgid "%s: unable to get credentials: %s" +msgstr "%s: kan inte hämta inloggningsuppgifter: %s" + +#: plugins/sudoers/auth/kerb5.c:250 +#, c-format +msgid "%s: unable to initialize credential cache: %s" +msgstr "%s: kan inte initiera inloggningsuppgiftscache: %s" + +#: plugins/sudoers/auth/kerb5.c:253 +#, c-format +msgid "%s: unable to store credential in cache: %s" +msgstr "%s: kan inte lagra inloggningsuppgifter i cache: %s" + +#: plugins/sudoers/auth/kerb5.c:317 +#, c-format +msgid "%s: unable to get host principal: %s" +msgstr "%s: kan inte hämta principal för värd: %s" + +#: plugins/sudoers/auth/kerb5.c:331 +#, c-format +msgid "%s: Cannot verify TGT! Possible attack!: %s" +msgstr "%s: Kan inte verifiera TGT! Möjlig attack!: %s" + +#: plugins/sudoers/auth/pam.c:224 +#, c-format +msgid "unable to initialize PAM: %s" +msgstr "kan inte initiera PAM: %s" + +#: plugins/sudoers/auth/pam.c:337 +#, c-format +msgid "PAM authentication error: %s" +msgstr "PAM-autentiseringsfel: %s" + +#: plugins/sudoers/auth/pam.c:356 +msgid "account validation failure, is your account locked?" +msgstr "kontovalidering misslyckades. Är ditt konto låst?" + +#: plugins/sudoers/auth/pam.c:367 +msgid "Account or password is expired, reset your password and try again" +msgstr "Kontot eller lösenordet har gått ut. Återställ ditt lösenord och försök igen" + +#: plugins/sudoers/auth/pam.c:373 +#, c-format +msgid "unable to change expired password: %s" +msgstr "kan inte ändra utgånget lösenord: %s" + +#: plugins/sudoers/auth/pam.c:384 +msgid "Password expired, contact your system administrator" +msgstr "Lösenordet har gått ut. Kontakta din systemadministratör" + +#: plugins/sudoers/auth/pam.c:389 +msgid "Account expired or PAM config lacks an \"account\" section for sudo, contact your system administrator" +msgstr "Konto utgånget eller så saknar PAM-konfigurationen ett ”account”-avsnitt för sudo, kontakta din systemadministratör" + +#: plugins/sudoers/auth/pam.c:397 plugins/sudoers/auth/pam.c:402 +#, c-format +msgid "PAM account management error: %s" +msgstr "Fel vid hantering av PAM-konto: %s" + +#: plugins/sudoers/auth/rfc1938.c:99 plugins/sudoers/visudo.c:271 +#, c-format +msgid "you do not exist in the %s database" +msgstr "du finns inte i %s-databasen" + +#: plugins/sudoers/auth/securid5.c:75 +msgid "failed to initialise the ACE API library" +msgstr "misslyckades med att initiera ACE API-biblioteket" + +#: plugins/sudoers/auth/securid5.c:106 +msgid "unable to contact the SecurID server" +msgstr "kan inte kontakta SecurID-servern" + +#: plugins/sudoers/auth/securid5.c:115 +msgid "User ID locked for SecurID Authentication" +msgstr "Användar-ID låst för SecurID-autentisering" + +#: plugins/sudoers/auth/securid5.c:119 plugins/sudoers/auth/securid5.c:171 +msgid "invalid username length for SecurID" +msgstr "ogiltig längd för användarnamn för SecurID" + +#: plugins/sudoers/auth/securid5.c:123 plugins/sudoers/auth/securid5.c:176 +msgid "invalid Authentication Handle for SecurID" +msgstr "ogiltigt autentiseringshandtag för SecurID" + +#: plugins/sudoers/auth/securid5.c:127 +msgid "SecurID communication failed" +msgstr "SecurID-kommunikation misslyckades" + +#: plugins/sudoers/auth/securid5.c:131 plugins/sudoers/auth/securid5.c:219 +msgid "unknown SecurID error" +msgstr "okänt SecurID-fel" + +#: plugins/sudoers/auth/securid5.c:166 +msgid "invalid passcode length for SecurID" +msgstr "ogiltig lösenordslängd för SecurID" + +#: plugins/sudoers/auth/sia.c:69 plugins/sudoers/auth/sia.c:126 +msgid "unable to initialize SIA session" +msgstr "kan inte initiera SIA-session" + +#: plugins/sudoers/auth/sudo_auth.c:135 +msgid "invalid authentication methods" +msgstr "ogiltiga autentiseringsmetoder" + +#: plugins/sudoers/auth/sudo_auth.c:137 +msgid "Invalid authentication methods compiled into sudo! You may not mix standalone and non-standalone authentication." +msgstr "Ogiltiga autentiseringsmetoder inkompilerade i sudo! Du får inte blanda fristående och icke-fristående autentisering." + +#: plugins/sudoers/auth/sudo_auth.c:258 plugins/sudoers/auth/sudo_auth.c:310 +msgid "no authentication methods" +msgstr "inga autentiseringsmetoder" + +#: plugins/sudoers/auth/sudo_auth.c:260 +msgid "There are no authentication methods compiled into sudo! If you want to turn off authentication, use the --disable-authentication configure option." +msgstr "Det finns inga autentiseringsmetoder inbyggda i sudo! Om du vill inaktivera autentisering, använd konfigurationsflaggan --disable-authentication." + +#: plugins/sudoers/auth/sudo_auth.c:312 +msgid "Unable to initialize authentication methods." +msgstr "Kan inte initiera autentiseringsmetoder." + +#: plugins/sudoers/auth/sudo_auth.c:486 +msgid "Authentication methods:" +msgstr "Autentiseringsmetoder:" + +#: plugins/sudoers/bsm_audit.c:123 plugins/sudoers/bsm_audit.c:214 +msgid "Could not determine audit condition" +msgstr "Kunde inte fastställa granskningsvillkor" + +#: plugins/sudoers/bsm_audit.c:188 plugins/sudoers/bsm_audit.c:277 +msgid "unable to commit audit record" +msgstr "kan inte bekräfta granskningsberättelse" + +#: plugins/sudoers/check.c:285 +#, c-format +msgid "error reading lecture file %s" +msgstr "fel vid inläsning av lektionsfil %s" + +#: plugins/sudoers/check.c:288 +#, c-format +msgid "ignoring lecture file %s: not a regular file" +msgstr "hoppar över lektionsfil %s: inte en vanlig fil" + +#: plugins/sudoers/check.c:301 +msgid "" +"\n" +"We trust you have received the usual lecture from the local System\n" +"Administrator. It usually boils down to these three things:\n" +"\n" +" #1) Respect the privacy of others.\n" +" #2) Think before you type.\n" +" #3) With great power comes great responsibility.\n" +"\n" +msgstr "" +"\n" +"Vi litar på att du har fått den vanliga lektionen från den lokala system-\n" +"administratören. Den kan vanligtvis reduceras till dessa tre saker:\n" +"\n" +" #1) Respektera andras integritet.\n" +" #2) Tänk innan du skriver.\n" +" #3) Med stor makt kommer ett stort ansvar.\n" +"\n" + +#: plugins/sudoers/check.c:309 +msgid "" +"For security reasons, the password you type will not be visible.\n" +"\n" +msgstr "" +"Av säkerhetsskäl kommer lösenordet du skriver in inte att synas.\n" +"\n" + +#: plugins/sudoers/check.c:353 plugins/sudoers/check.c:363 +#: plugins/sudoers/parse.c:82 plugins/sudoers/sudoers.c:945 +#: plugins/sudoers/sudoers.c:966 plugins/sudoers/tsdump.c:119 +#, c-format +msgid "unknown uid %u" +msgstr "okänt uid %u" + +#: plugins/sudoers/check_aliases.c:99 plugins/sudoers/defaults.c:1279 +#, c-format +msgid "%s: %s\n" +msgstr "%s: %s\n" + +#: plugins/sudoers/check_aliases.c:133 +#, c-format +msgid "cycle in %s \"%s\"" +msgstr "cykel i %s ”%s”" + +#: plugins/sudoers/check_aliases.c:136 +#, c-format +msgid "%s \"%s\" referenced but not defined" +msgstr "%s ”%s” refererad till men inte definierad" + +#: plugins/sudoers/cvtsudoers.c:209 +#, c-format +msgid "order increment: %s: %s" +msgstr "ordningsinkrement: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:228 +#, c-format +msgid "starting order: %s: %s" +msgstr "startordning: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:238 +#, c-format +msgid "order padding: %s: %s" +msgstr "ordningsutfyllnad: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:248 plugins/sudoers/visudo.c:184 +#, c-format +msgid "%s grammar version %d\n" +msgstr "%s grammatikversion %d\n" + +#: plugins/sudoers/cvtsudoers.c:277 plugins/sudoers/testsudoers.c:159 +#, c-format +msgid "unsupported input format %s" +msgstr "inmatningsformat %s stöds inte" + +#: plugins/sudoers/cvtsudoers.c:295 +#, c-format +msgid "unsupported output format %s" +msgstr "utmatningsformat %s stöds inte" + +#: plugins/sudoers/cvtsudoers.c:385 +#, c-format +msgid "%s: input and output files must be different" +msgstr "%s: in- och utmatningsfiler måste vara olika" + +#: plugins/sudoers/cvtsudoers.c:399 plugins/sudoers/sudoers.c:166 +#: plugins/sudoers/sudoers.c:222 plugins/sudoers/testsudoers.c:254 +#: plugins/sudoers/visudo.c:280 plugins/sudoers/visudo.c:654 +msgid "unable to initialize sudoers default values" +msgstr "kan inte initiera sudoers standardvärden" + +#: plugins/sudoers/cvtsudoers.c:525 plugins/sudoers/ldap_conf.c:434 +#, c-format +msgid "%s: %s: %s: %s" +msgstr "%s: %s: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:584 +#, c-format +msgid "%s: unknown key word %s" +msgstr "%s: okänt nyckelord %s" + +#: plugins/sudoers/cvtsudoers.c:630 +#, c-format +msgid "invalid defaults type: %s" +msgstr "ogiltig standardtyp: %s" + +#: plugins/sudoers/cvtsudoers.c:653 +#, c-format +msgid "invalid suppression type: %s" +msgstr "ogiltig undertryckningstyp: %s" + +#: plugins/sudoers/cvtsudoers.c:694 plugins/sudoers/cvtsudoers.c:710 +#, c-format +msgid "invalid filter: %s" +msgstr "ogiltigt filter: %s" + +#: plugins/sudoers/cvtsudoers.c:754 plugins/sudoers/visudo.c:982 +#, c-format +msgid "failed to parse %s file, unknown error" +msgstr "misslyckades med att tolka %s-filen, okänt fel" + +#: plugins/sudoers/cvtsudoers.c:1478 plugins/sudoers/sudoreplay.c:1142 +#: plugins/sudoers/timestamp.c:343 plugins/sudoers/timestamp.c:346 +#, c-format +msgid "unable to write to %s" +msgstr "kan inte skriva till %s" + +#: plugins/sudoers/cvtsudoers.c:1506 +#, c-format +msgid "" +"%s - convert between sudoers file formats\n" +"\n" +msgstr "" +"%s - konvertera mellan sudoers filformat\n" +"\n" + +#: plugins/sudoers/cvtsudoers.c:1508 +msgid "" +"\n" +"Options:\n" +" -b, --base=dn the base DN for sudo LDAP queries\n" +" -c, --config=conf_file the path to the configuration file\n" +" -d, --defaults=deftypes only convert Defaults of the specified types\n" +" -e, --expand-aliases expand aliases when converting\n" +" -f, --output-format=format set output format: JSON, LDIF or sudoers\n" +" -i, --input-format=format set input format: LDIF or sudoers\n" +" -I, --increment=num amount to increase each sudoOrder by\n" +" -h, --help display help message and exit\n" +" -m, --match=filter only convert entries that match the filter\n" +" -M, --match-local match filter uses passwd and group databases\n" +" -o, --output=output_file write converted sudoers to output_file\n" +" -O, --order-start=num starting point for first sudoOrder\n" +" -p, --prune-matches prune non-matching users, groups and hosts\n" +" -P, --padding=num base padding for sudoOrder increment\n" +" -s, --suppress=sections suppress output of certain sections\n" +" -V, --version display version information and exit" +msgstr "" +"\n" +"Flaggor:\n" +" -b, --base=dn DN-bas för sudo LDAP-förfrågningar\n" +" -c, --config=konffil sökvägen till konfigurationsfilen\n" +" -d, --defaults=stdtyper konvertera endast Standard av de angivna typerna\n" +" -e, --expand-aliases expandera alias under konvertering\n" +" -f, --output-format=format ställ in utmatningsformat: JSON, LDIF eller sudoers\n" +" -i, --input-format=format ställ in inmatningsformat: LDIF eller sudoers\n" +" -I, --increment=ant antal att öka varje sudoOrder med\n" +" -h, --help visa hjälpmeddelande och avsluta\n" +" -m, --match=filter konvertera endast poster som matchar filtret\n" +" -M, --match-local filtermatchning använder passwd och gruppdatabaser\n" +" -o, --output=utmatningsfil skriv konverterad sudoers till utmatningsfil\n" +" -O, --order-start=ant startpunkt för första sudoOrder\n" +" -p, --prune-matches skala bort användare, grupper och värdar som inte matchar\n" +" -P, --padding=num basutfyllnad för sudoOrder-inkrement\n" +" -s, --suppress=avsnitt undertryck utmatning av vissa avsnitt\n" +" -V, --version visa versionsinformation och avsluta" + +#: plugins/sudoers/cvtsudoers_csv.c:192 plugins/sudoers/cvtsudoers_csv.c:199 +#: plugins/sudoers/cvtsudoers_ldif.c:244 plugins/sudoers/cvtsudoers_ldif.c:251 +#: plugins/sudoers/cvtsudoers_ldif.c:592 plugins/sudoers/env.c:340 +#: plugins/sudoers/env.c:347 plugins/sudoers/env.c:458 +#: plugins/sudoers/ldap.c:528 plugins/sudoers/ldap.c:761 +#: plugins/sudoers/ldap.c:1134 plugins/sudoers/ldap_conf.c:222 +#: plugins/sudoers/ldap_conf.c:313 plugins/sudoers/ldap_util.c:486 +#: plugins/sudoers/linux_audit.c:92 plugins/sudoers/logging.c:461 +#: plugins/sudoers/logging.c:817 plugins/sudoers/logging.c:827 +#: plugins/sudoers/policy.c:807 plugins/sudoers/policy.c:818 +#: plugins/sudoers/prompt.c:168 plugins/sudoers/serialize_list.c:62 +#: plugins/sudoers/serialize_list.c:71 plugins/sudoers/strvec_join.c:62 +#: plugins/sudoers/sudoreplay.c:1339 plugins/sudoers/sudoreplay.c:1345 +#: plugins/sudoers/sudoreplay.c:1351 plugins/sudoers/testsudoers.c:245 +#: plugins/sudoers/toke_util.c:213 toke.l:995 toke.l:1197 +#, c-format +msgid "internal error, %s overflow" +msgstr "internt fel, %s spill" + +#: plugins/sudoers/cvtsudoers_csv.c:452 plugins/sudoers/cvtsudoers_csv.c:466 +#: plugins/sudoers/cvtsudoers_json.c:657 plugins/sudoers/cvtsudoers_json.c:672 +#: plugins/sudoers/cvtsudoers_ldif.c:347 plugins/sudoers/cvtsudoers_ldif.c:360 +#: plugins/sudoers/ldap.c:512 +msgid "unable to get GMT time" +msgstr "kan inte hämta GMT-tid" + +#: plugins/sudoers/cvtsudoers_csv.c:457 plugins/sudoers/cvtsudoers_csv.c:471 +#: plugins/sudoers/cvtsudoers_json.c:662 plugins/sudoers/cvtsudoers_json.c:677 +#: plugins/sudoers/cvtsudoers_ldif.c:352 plugins/sudoers/cvtsudoers_ldif.c:365 +#: plugins/sudoers/ldap.c:520 +msgid "unable to format timestamp" +msgstr "kan inte formatera tidsstämpel" + +#: plugins/sudoers/cvtsudoers_json.c:480 plugins/sudoers/cvtsudoers_json.c:515 +#: plugins/sudoers/cvtsudoers_json.c:728 +#, c-format +msgid "%s:%d:%d: unknown defaults entry \"%s\"" +msgstr "%s:%d:%d: okänd standardpost ”%s”" + +#: plugins/sudoers/cvtsudoers_ldif.c:661 +#, c-format +msgid "too many sudoers entries, maximum %u" +msgstr "för många sudoers-poster, maximalt %u" + +#: plugins/sudoers/cvtsudoers_ldif.c:704 +msgid "the SUDOERS_BASE environment variable is not set and the -b option was not specified." +msgstr "miljövariabeln SUDOERS_BASE är inte satt och flaggan -b angavs inte." + +#: plugins/sudoers/cvtsudoers_merge.c:273 +#: plugins/sudoers/cvtsudoers_merge.c:309 +#, c-format +msgid "%s:%d:%d: converting host list to ALL" +msgstr "%s:%d:%d: konverterar värdlista till ALL" + +#: plugins/sudoers/cvtsudoers_merge.c:545 +#, c-format +msgid "unable to find alias %s" +msgstr "kan inte hitta alias %s" + +#: plugins/sudoers/cvtsudoers_merge.c:548 +#, c-format +msgid "%s:%d:%d: renaming alias %s to %s" +msgstr "%s:%d:%d: byter namn på alias %s till %s" + +#: plugins/sudoers/cvtsudoers_merge.c:605 +#, c-format +msgid "%s:%d:%d: removing duplicate alias %s" +msgstr "%s:%d:%d: tar bort duplicerat alias %s" + +#: plugins/sudoers/cvtsudoers_merge.c:830 +#, c-format +msgid "%s:%d:%d: conflicting Defaults entry \"%s\" host-specific in %s:%d:%d" +msgstr "%s:%d:%d: Defaults-post ”%s” står i konflikt med värdspecifik på %s:%d:%d" + +#: plugins/sudoers/cvtsudoers_merge.c:864 +#, c-format +msgid "%s:%d:%d: made Defaults \"%s\" specific to host %s" +msgstr "%s:%d:%d: gjorde Defaults ”%s” specifika för värd %s" + +#: plugins/sudoers/cvtsudoers_merge.c:882 +#, c-format +msgid "%s:%d:%d: unable to make Defaults \"%s\" host-specific" +msgstr "%s:%d:%d: kan inte göra Defaults ”%s” värdspecifik" + +#: plugins/sudoers/cvtsudoers_merge.c:892 +#, c-format +msgid "%s:%d:%d: removing Defaults \"%s\" overridden by subsequent entries" +msgstr "%s:%d:%d: tar bort Defaults ”%s” åsidosatt av efterföljande poster" + +#: plugins/sudoers/cvtsudoers_merge.c:1088 +#, c-format +msgid "%s:%d:%d: merging userspec into %s:%d:%d" +msgstr "%s:%d:%d: sammanfogar användarspec till %s:%d:%d" + +#: plugins/sudoers/cvtsudoers_merge.c:1182 +#, c-format +msgid "%s:%d:%d: removing userspec overridden by subsequent entries" +msgstr "%s:%d:%d: tar bort användarspec åsidosatt av efterföljande poster" + +#: plugins/sudoers/def_data.c:56 +#, c-format +msgid "Syslog facility if syslog is being used for logging: %s" +msgstr "Syslog-facilitet om syslog används för loggning: %s" + +#: plugins/sudoers/def_data.c:60 +#, c-format +msgid "Syslog priority to use when user authenticates successfully: %s" +msgstr "Syslog-prioritet att använda när användaren lyckas med autentisering: %s" + +#: plugins/sudoers/def_data.c:64 +#, c-format +msgid "Syslog priority to use when user authenticates unsuccessfully: %s" +msgstr "Syslog-prioritet att använda när användaren misslyckas med autentisering: %s" + +#: plugins/sudoers/def_data.c:68 +msgid "Put OTP prompt on its own line" +msgstr "Lägg OTP-prompt på en egen rad" + +#: plugins/sudoers/def_data.c:72 +msgid "Ignore '.' in $PATH" +msgstr "Ignorera ”.” i $PATH" + +#: plugins/sudoers/def_data.c:76 +msgid "Always send mail when sudo is run" +msgstr "Skicka alltid e-post när sudo körs" + +#: plugins/sudoers/def_data.c:80 +msgid "Send mail if user authentication fails" +msgstr "Skicka e-post om användarens autentisering misslyckas" + +#: plugins/sudoers/def_data.c:84 +msgid "Send mail if the user is not in sudoers" +msgstr "Skicka e-post om användaren inte finns med i sudoers" + +#: plugins/sudoers/def_data.c:88 +msgid "Send mail if the user is not in sudoers for this host" +msgstr "Skicka e-post om användaren inte finns med i sudoers för denna värddator" + +#: plugins/sudoers/def_data.c:92 +msgid "Send mail if the user is not allowed to run a command" +msgstr "Skicka e-post om användaren inte tillåts att köra ett kommando" + +#: plugins/sudoers/def_data.c:96 +msgid "Send mail if the user tries to run a command" +msgstr "Skicka e-post om användaren försöker köra ett kommando" + +#: plugins/sudoers/def_data.c:100 +msgid "Use a separate timestamp for each user/tty combo" +msgstr "Använd en separat tidsstämpel för varje användar-/tty-kombination" + +#: plugins/sudoers/def_data.c:104 +msgid "Lecture user the first time they run sudo" +msgstr "Lär upp användaren första gången de kör sudo" + +#: plugins/sudoers/def_data.c:108 +#, c-format +msgid "File containing the sudo lecture: %s" +msgstr "Fil som innehåller sudo-lektion: %s" + +#: plugins/sudoers/def_data.c:112 +msgid "Require users to authenticate by default" +msgstr "Kräv att användare autentiseras som standard" + +#: plugins/sudoers/def_data.c:116 +msgid "Root may run sudo" +msgstr "Root får köra sudo" + +#: plugins/sudoers/def_data.c:120 +msgid "Log the hostname in the (non-syslog) log file" +msgstr "Logga värdnamnet i (den icke syslog-baserade) loggfilen" + +#: plugins/sudoers/def_data.c:124 +msgid "Log the year in the (non-syslog) log file" +msgstr "Logga året i (den icke syslog-baserade) loggfilen" + +#: plugins/sudoers/def_data.c:128 +msgid "If sudo is invoked with no arguments, start a shell" +msgstr "Om sudo startas utan argument, starta ett skal" + +#: plugins/sudoers/def_data.c:132 +msgid "Set $HOME to the target user when starting a shell with -s" +msgstr "Ställ in $HOME till målanvändaren när ett skal startas med -s" + +#: plugins/sudoers/def_data.c:136 +msgid "Always set $HOME to the target user's home directory" +msgstr "Ställ alltid in $HOME till målanvändarens hemkatalog" + +#: plugins/sudoers/def_data.c:140 +msgid "Allow some information gathering to give useful error messages" +msgstr "Tillåt viss informationsinsamling för att ge meningsfulla felmeddelanden" + +#: plugins/sudoers/def_data.c:144 +msgid "Require fully-qualified hostnames in the sudoers file" +msgstr "Kräv fullständiga värdnamn i sudoers-filen" + +#: plugins/sudoers/def_data.c:148 +msgid "Insult the user when they enter an incorrect password" +msgstr "Förolämpa användaren när de anger ett felaktigt lösenord" + +#: plugins/sudoers/def_data.c:152 +msgid "Only allow the user to run sudo if they have a tty" +msgstr "Tillåt bara användare att köra sudo om de har en tty" + +#: plugins/sudoers/def_data.c:156 +msgid "Visudo will honor the EDITOR environment variable" +msgstr "Visudo kommer att respektera miljövariabeln EDITOR" + +#: plugins/sudoers/def_data.c:160 +msgid "Prompt for root's password, not the users's" +msgstr "Fråga efter root-lösenordet, inte användarens" + +#: plugins/sudoers/def_data.c:164 +msgid "Prompt for the runas_default user's password, not the users's" +msgstr "Fråga efter runas_default-användarens lösenord, inte användarens" + +#: plugins/sudoers/def_data.c:168 +msgid "Prompt for the target user's password, not the users's" +msgstr "Fråga efter målanvändarens lösenord, inte användarens" + +#: plugins/sudoers/def_data.c:172 +msgid "Apply defaults in the target user's login class if there is one" +msgstr "Tillämpa standardvärden i målanvändarens inloggningsklass om det finns en" + +#: plugins/sudoers/def_data.c:176 +msgid "Set the LOGNAME and USER environment variables" +msgstr "Ställ in miljövariablerna LOGNAME och USER" + +#: plugins/sudoers/def_data.c:180 +msgid "Only set the effective uid to the target user, not the real uid" +msgstr "Sätt bara det effektiva uid:t till målanvändaren, inte till det riktiga uid:t" + +#: plugins/sudoers/def_data.c:184 +msgid "Don't initialize the group vector to that of the target user" +msgstr "Initiera inte gruppvektorn till den från målanvändaren" + +#: plugins/sudoers/def_data.c:188 +#, c-format +msgid "Length at which to wrap log file lines (0 for no wrap): %u" +msgstr "Längden vid vilken långa loggfilsrader radbryts (0 för att inte radbryta): %u" + +#: plugins/sudoers/def_data.c:192 +#, c-format +msgid "Authentication timestamp timeout: %.1f minutes" +msgstr "Tidsgräns för autentiseringstidsstämpel: %.1f minuter" + +#: plugins/sudoers/def_data.c:196 +#, c-format +msgid "Password prompt timeout: %.1f minutes" +msgstr "Tidsgräns för lösenordsprompt: %.1f minuter" + +#: plugins/sudoers/def_data.c:200 +#, c-format +msgid "Number of tries to enter a password: %u" +msgstr "Antal försök att ange ett lösenord: %u" + +#: plugins/sudoers/def_data.c:204 +#, c-format +msgid "Umask to use or 0777 to use user's: 0%o" +msgstr "Umask att använda eller 0777 för att använda användarens: 0%o" + +#: plugins/sudoers/def_data.c:208 +#, c-format +msgid "Path to log file: %s" +msgstr "Sökväg till loggfil: %s" + +#: plugins/sudoers/def_data.c:212 +#, c-format +msgid "Path to mail program: %s" +msgstr "Sökväg till e-postprogram: %s" + +#: plugins/sudoers/def_data.c:216 +#, c-format +msgid "Flags for mail program: %s" +msgstr "Flaggor för e-postprogram: %s" + +#: plugins/sudoers/def_data.c:220 +#, c-format +msgid "Address to send mail to: %s" +msgstr "Adress att skicka e-post till: %s" + +#: plugins/sudoers/def_data.c:224 +#, c-format +msgid "Address to send mail from: %s" +msgstr "Adress att skicka e-post från: %s" + +#: plugins/sudoers/def_data.c:228 +#, c-format +msgid "Subject line for mail messages: %s" +msgstr "Ämnesrad för e-postmeddelanden: %s" + +#: plugins/sudoers/def_data.c:232 +#, c-format +msgid "Incorrect password message: %s" +msgstr "Meddelande vid felaktigt lösenord: %s" + +#: plugins/sudoers/def_data.c:236 +#, c-format +msgid "Path to lecture status dir: %s" +msgstr "Sökväg till lektionsstatuskatalog: %s" + +#: plugins/sudoers/def_data.c:240 +#, c-format +msgid "Path to authentication timestamp dir: %s" +msgstr "Sökväg till katalog för autentiseringstidsstämplar: %s" + +#: plugins/sudoers/def_data.c:244 +#, c-format +msgid "Owner of the authentication timestamp dir: %s" +msgstr "Ägare av katalogen för autentiseringstidsstämplar: %s" + +#: plugins/sudoers/def_data.c:248 +#, c-format +msgid "Users in this group are exempt from password and PATH requirements: %s" +msgstr "Användare i denna grupp är undantagna från lösenords- och SÖKVÄGs-kraven: %s" + +#: plugins/sudoers/def_data.c:252 +#, c-format +msgid "Default password prompt: %s" +msgstr "Standard lösenordsprompt: %s" + +#: plugins/sudoers/def_data.c:256 +msgid "If set, passprompt will override system prompt in all cases." +msgstr "Om inställt kommer passprompt att åsidosätta systemprompten i varje fall." + +#: plugins/sudoers/def_data.c:260 +#, c-format +msgid "Default user to run commands as: %s" +msgstr "Standardanvändaren att köra kommandon som: %s" + +#: plugins/sudoers/def_data.c:264 +#, c-format +msgid "Value to override user's $PATH with: %s" +msgstr "Värde att åsidosätta användarens $PATH med: %s" + +#: plugins/sudoers/def_data.c:268 +#, c-format +msgid "Path to the editor for use by visudo: %s" +msgstr "Sökväg till textredigerare för användning av visudo: %s" + +#: plugins/sudoers/def_data.c:272 +#, c-format +msgid "When to require a password for 'list' pseudocommand: %s" +msgstr "När ett lösenord ska krävas för pseudokommandot ”list”: %s" + +#: plugins/sudoers/def_data.c:276 +#, c-format +msgid "When to require a password for 'verify' pseudocommand: %s" +msgstr "När lösenord ska krävas för pseudokommandot ”verify”: %s" + +#: plugins/sudoers/def_data.c:280 +msgid "Preload the sudo_noexec library which replaces the exec functions" +msgstr "Förinläs sudo_noexec-biblioteket vilket ersätter exec-funktionerna" + +#: plugins/sudoers/def_data.c:284 +msgid "If LDAP directory is up, do we ignore local sudoers file" +msgstr "Om LDAP-registret är uppe, ignorerar vi den lokala sudoers-filen" + +#: plugins/sudoers/def_data.c:288 +#, c-format +msgid "File descriptors >= %d will be closed before executing a command" +msgstr "Fildeskriptorer >= %d kommer att stängas innan ett kommando körs" + +#: plugins/sudoers/def_data.c:292 +msgid "If set, users may override the value of \"closefrom\" with the -C option" +msgstr "Om inställt kan användare åsidosätta värdet ”closefrom” med flaggan -C" + +#: plugins/sudoers/def_data.c:296 +msgid "Allow users to set arbitrary environment variables" +msgstr "Låt användare ställa in godtyckliga miljövariabler" + +#: plugins/sudoers/def_data.c:300 +msgid "Reset the environment to a default set of variables" +msgstr "Återställ miljön till standarduppsättningen av variabler" + +#: plugins/sudoers/def_data.c:304 +msgid "Environment variables to check for safety:" +msgstr "Miljövariabler att säkerhetskontrollera:" + +#: plugins/sudoers/def_data.c:308 +msgid "Environment variables to remove:" +msgstr "Miljövariabler att ta bort:" + +#: plugins/sudoers/def_data.c:312 +msgid "Environment variables to preserve:" +msgstr "Miljövariabler att behålla:" + +#: plugins/sudoers/def_data.c:316 +#, c-format +msgid "SELinux role to use in the new security context: %s" +msgstr "SELinux-roll att använda i den nya säkerhetskontexten: %s" + +#: plugins/sudoers/def_data.c:320 +#, c-format +msgid "SELinux type to use in the new security context: %s" +msgstr "SELinux-typ att använda i den nya säkerhetskontexten: %s" + +#: plugins/sudoers/def_data.c:324 +#, c-format +msgid "Path to the sudo-specific environment file: %s" +msgstr "Sökväg till den sudo-specifika miljöfilen: %s" + +#: plugins/sudoers/def_data.c:328 +#, c-format +msgid "Path to the restricted sudo-specific environment file: %s" +msgstr "Sökväg till den begränsade sudo-specifika miljöfilen: %s" + +#: plugins/sudoers/def_data.c:332 +#, c-format +msgid "Locale to use while parsing sudoers: %s" +msgstr "Lokalanpassning att använda vid tolkning av sudoers: %s" + +#: plugins/sudoers/def_data.c:336 +msgid "Allow sudo to prompt for a password even if it would be visible" +msgstr "Tillåt sudo att fråga efter ett lösenord även om det skulle vara synligt" + +#: plugins/sudoers/def_data.c:340 +msgid "Provide visual feedback at the password prompt when there is user input" +msgstr "Ge visuell återkoppling vid lösenordsprompten när det finns användarinmatad data" + +#: plugins/sudoers/def_data.c:344 +msgid "Use faster globbing that is less accurate but does not access the filesystem" +msgstr "Använd snabbare matchning som är mindre exakt men inte använder filsystemet" + +#: plugins/sudoers/def_data.c:348 +msgid "The umask specified in sudoers will override the user's, even if it is more permissive" +msgstr "Umasken angiven i sudoers kommer att åsidosätta användarens, även om den är mer tillåtande" + +#: plugins/sudoers/def_data.c:352 +msgid "Log user's input for the command being run" +msgstr "Logga användarens inmatning för kommandot som körs" + +#: plugins/sudoers/def_data.c:356 +msgid "Log the command's standard input if not connected to a terminal" +msgstr "Logga kommandots standard in om inte ansluten till en terminal" + +#: plugins/sudoers/def_data.c:360 +msgid "Log the user's terminal input for the command being run" +msgstr "Logga användarens terminalinmatning för kommandot som körs" + +#: plugins/sudoers/def_data.c:364 +msgid "Log the output of the command being run" +msgstr "Logga utmatningen för kommandot som körs" + +#: plugins/sudoers/def_data.c:368 +msgid "Log the command's standard output if not connected to a terminal" +msgstr "Logga kommandots standard ut om inte ansluten till en terminal" + +#: plugins/sudoers/def_data.c:372 +msgid "Log the command's standard error if not connected to a terminal" +msgstr "Logga kommandots standard fel om inte ansluten till en terminal" + +#: plugins/sudoers/def_data.c:376 +msgid "Log the terminal output of the command being run" +msgstr "Logga terminalutmatningen för kommandot som körs" + +#: plugins/sudoers/def_data.c:380 +msgid "Compress I/O logs using zlib" +msgstr "Komprimera I/O-loggar med hjälp av zlib" + +#: plugins/sudoers/def_data.c:384 +msgid "Always run commands in a pseudo-tty" +msgstr "Kör alltid kommandon i en pseudo-tty" + +#: plugins/sudoers/def_data.c:388 +#, c-format +msgid "Plugin for non-Unix group support: %s" +msgstr "Insticksmodul för stöd för icke-Unix-grupper: %s" + +#: plugins/sudoers/def_data.c:392 +#, c-format +msgid "Directory in which to store input/output logs: %s" +msgstr "Katalog i vilken in-/utmatningsloggar lagras: %s" + +#: plugins/sudoers/def_data.c:396 +#, c-format +msgid "File in which to store the input/output log: %s" +msgstr "Fil i vilken in-/utmatningsloggar lagras: %s" + +#: plugins/sudoers/def_data.c:400 +msgid "Add an entry to the utmp/utmpx file when allocating a pty" +msgstr "Lägg till en post till utmp/utmpx-filen när en pty allokeras" + +#: plugins/sudoers/def_data.c:404 +msgid "Set the user in utmp to the runas user, not the invoking user" +msgstr "Sätt användaren i utmp till runas-användaren, inte användaren som anropar" + +#: plugins/sudoers/def_data.c:408 +#, c-format +msgid "Set of permitted privileges: %s" +msgstr "Uppsättning tillåtna rättigheter: %s" + +#: plugins/sudoers/def_data.c:412 +#, c-format +msgid "Set of limit privileges: %s" +msgstr "Uppsättning av begränsningsrättigheter: %s" + +#: plugins/sudoers/def_data.c:416 +msgid "Run commands on a pty in the background" +msgstr "Kör kommandon i en pty i bakgrunden" + +#: plugins/sudoers/def_data.c:420 +#, c-format +msgid "PAM service name to use: %s" +msgstr "PAM-tjänstnamn att använda: %s" + +#: plugins/sudoers/def_data.c:424 +#, c-format +msgid "PAM service name to use for login shells: %s" +msgstr "PAM-tjänstnamn att använda för inloggningsskal: %s" + +#: plugins/sudoers/def_data.c:428 +#, c-format +msgid "PAM service name to use when sudo is run with the -A option: %s" +msgstr "PAM-tjänstnamn att använda när sudo körs med flaggan -A: %s" + +#: plugins/sudoers/def_data.c:432 +msgid "Attempt to establish PAM credentials for the target user" +msgstr "Försök att etablera PAM-inloggningsuppgifter för målanvändaren" + +#: plugins/sudoers/def_data.c:436 +msgid "Create a new PAM session for the command to run in" +msgstr "Skapa en ny PAM-session för kommandot att köra i" + +#: plugins/sudoers/def_data.c:440 +msgid "Perform PAM account validation management" +msgstr "Utför valideringshantering av PAM-konto" + +#: plugins/sudoers/def_data.c:444 +#, c-format +msgid "Maximum I/O log sequence number: %s" +msgstr "Största sekvensnummer i I/O-logg: %s" + +#: plugins/sudoers/def_data.c:448 +msgid "Enable sudoers netgroup support" +msgstr "Aktivera sudoers nätgruppsstöd" + +#: plugins/sudoers/def_data.c:452 +msgid "Check parent directories for writability when editing files with sudoedit" +msgstr "Kontrollera överordnade kataloger för skrivbarhet när filer redigeras med sudoedit" + +#: plugins/sudoers/def_data.c:456 +msgid "Follow symbolic links when editing files with sudoedit" +msgstr "Följ symboliska länkar när filer redigeras med sudoedit" + +#: plugins/sudoers/def_data.c:460 +msgid "Query the group plugin for unknown system groups" +msgstr "Fråga gruppinsticksmodulen efter okända systemgrupper" + +#: plugins/sudoers/def_data.c:464 +msgid "Match netgroups based on the entire tuple: user, host and domain" +msgstr "Matcha nätgrupper baserat på hela tupeln: användare, värd och domän" + +#: plugins/sudoers/def_data.c:468 +msgid "Allow commands to be run even if sudo cannot write to the audit log" +msgstr "Tillåt kommandon att köras även om sudo inte kan skriva till granskningsloggen" + +#: plugins/sudoers/def_data.c:472 +msgid "Allow commands to be run even if sudo cannot write to the I/O log" +msgstr "Tillåt kommandon att köras även om sudo inte kan skriva I/O-loggen" + +#: plugins/sudoers/def_data.c:476 +msgid "Allow commands to be run even if sudo cannot write to the log file" +msgstr "Tillåt kommandon att köras även om sudo inte kan skriva till loggfilen" + +#: plugins/sudoers/def_data.c:480 +msgid "Resolve groups in sudoers and match on the group ID, not the name" +msgstr "Gör namnupplösning för grupper i sudoers och matcha efter grupp-ID, inte namnet" + +#: plugins/sudoers/def_data.c:484 +#, c-format +msgid "Log entries larger than this value will be split into multiple syslog messages: %u" +msgstr "Loggposter större än detta värde kommer att delas upp i flera syslog-meddelanden: %u" + +#: plugins/sudoers/def_data.c:488 +#, c-format +msgid "User that will own the I/O log files: %s" +msgstr "Användare som kommer att äga I/O-loggfilerna: %s" + +#: plugins/sudoers/def_data.c:492 +#, c-format +msgid "Group that will own the I/O log files: %s" +msgstr "Grupp som kommer att äga I/O-loggfilerna: %s" + +#: plugins/sudoers/def_data.c:496 +#, c-format +msgid "File mode to use for the I/O log files: 0%o" +msgstr "Filrättigheter att använda för I/O-loggfilerna: 0%o" + +#: plugins/sudoers/def_data.c:500 +#, c-format +msgid "Execute commands by file descriptor instead of by path: %s" +msgstr "Kör kommandon efter fildeskriptor istället för efter sökväg: %s" + +#: plugins/sudoers/def_data.c:504 +msgid "Ignore unknown Defaults entries in sudoers instead of producing a warning" +msgstr "Hoppa över okända Defaults-poster i sudoers istället för att skriva ut en varning" + +#: plugins/sudoers/def_data.c:508 +#, c-format +msgid "Time in seconds after which the command will be terminated: %u" +msgstr "Tid i sekunder efter vilka kommandot kommer att avslutas: %u" + +#: plugins/sudoers/def_data.c:512 +msgid "Allow the user to specify a timeout on the command line" +msgstr "Tillåt användaren att ange en tidsgräns på kommandoraden" + +#: plugins/sudoers/def_data.c:516 +msgid "Flush I/O log data to disk immediately instead of buffering it" +msgstr "Spola ut I/O-loggdata till disk omedelbart istället för att buffra det" + +#: plugins/sudoers/def_data.c:520 +msgid "Include the process ID when logging via syslog" +msgstr "Inkludera process-ID:t vid loggning via syslog" + +#: plugins/sudoers/def_data.c:524 +#, c-format +msgid "Type of authentication timestamp record: %s" +msgstr "Typ av post för autentiseringstidsstämplar: %s" + +#: plugins/sudoers/def_data.c:528 +#, c-format +msgid "Authentication failure message: %s" +msgstr "Autentiseringsfelsmeddelande: %s" + +#: plugins/sudoers/def_data.c:532 +msgid "Ignore case when matching user names" +msgstr "Matcha användarnamn skiftlägesokänsligt" + +#: plugins/sudoers/def_data.c:536 +msgid "Ignore case when matching group names" +msgstr "Matcha gruppnamn skiftlägesokänsligt" + +#: plugins/sudoers/def_data.c:540 +msgid "Log when a command is allowed by sudoers" +msgstr "Logga när ett kommando tillåts av sudoers" + +#: plugins/sudoers/def_data.c:544 +msgid "Log when a command is denied by sudoers" +msgstr "Logga när ett kommando nekas av sudoers" + +#: plugins/sudoers/def_data.c:548 +msgid "Sudo log server(s) to connect to with optional port" +msgstr "Sudo-loggservrar att ansluta till med valfri port" + +#: plugins/sudoers/def_data.c:552 +#, c-format +msgid "Sudo log server timeout in seconds: %u" +msgstr "Tidsgräns för sudo-loggserver i sekunder: %u" + +#: plugins/sudoers/def_data.c:556 +msgid "Enable SO_KEEPALIVE socket option on the socket connected to the logserver" +msgstr "Aktivera SO_KEEPALIVE-kontaktalternativ på kontakten ansluten till loggservern" + +#: plugins/sudoers/def_data.c:560 +#, c-format +msgid "Path to the audit server's CA bundle file: %s" +msgstr "Sökväg till granskningsserverns CA-buntfil: %s" + +#: plugins/sudoers/def_data.c:564 +#, c-format +msgid "Path to the sudoers certificate file: %s" +msgstr "Sökväg till sudoers certifikatfil: %s" + +#: plugins/sudoers/def_data.c:568 +#, c-format +msgid "Path to the sudoers private key file: %s" +msgstr "Sökväg till sudoers privata nyckelfil: %s" + +#: plugins/sudoers/def_data.c:572 +msgid "Verify that the log server's certificate is valid" +msgstr "Verifiera att loggserverns certifikatfil är giltig" + +#: plugins/sudoers/def_data.c:576 +msgid "Allow the use of unknown runas user and/or group ID" +msgstr "Tillåt användningen av okänd runas-användare och/eller grupp-ID" + +#: plugins/sudoers/def_data.c:580 +msgid "Only permit running commands as a user with a valid shell" +msgstr "Tillåt endast körning av kommandon som en användare med ett giltigt skal" + +#: plugins/sudoers/def_data.c:584 +msgid "Set the pam remote user to the user running sudo" +msgstr "Ställ in pam-fjärranvändaren för användaren som kör sudo" + +#: plugins/sudoers/def_data.c:588 +msgid "Set the pam remote host to the local host name" +msgstr "Ställ in pam-fjärrvärden till det lokala värdnamnet" + +#: plugins/sudoers/def_data.c:592 +#, c-format +msgid "Working directory to change to before executing the command: %s" +msgstr "Arbetskatalog att ändra till före körning av kommandot: %s" + +#: plugins/sudoers/def_data.c:596 +#, c-format +msgid "Root directory to change to before executing the command: %s" +msgstr "Rotkatalog att ändra till innan kommandot körs: %s" + +#: plugins/sudoers/def_data.c:600 +#, c-format +msgid "The format of logs to produce: %s" +msgstr "Formatet för loggarna som ska produceras: %s" + +#: plugins/sudoers/def_data.c:604 +msgid "Enable SELinux RBAC support" +msgstr "Aktivera SELinux RBAC-stöd" + +#: plugins/sudoers/def_data.c:608 +#, c-format +msgid "Path to the file that is created the first time sudo is run: %s" +msgstr "Sökväg till filen som skapas första gången sudo körs: %s" + +#: plugins/sudoers/def_data.c:612 +msgid "Intercept further commands and apply sudoers restrictions to them" +msgstr "Fånga in vidare kommando och tillämpa sudoers-begränsningar på dem" + +#: plugins/sudoers/def_data.c:616 +msgid "Log sub-commands run by the original command" +msgstr "Logga underkommandon som körs av originalkommandot" + +#: plugins/sudoers/def_data.c:620 +msgid "Log the exit status of commands" +msgstr "Logga avslutningsstatus för kommandon" + +#: plugins/sudoers/def_data.c:624 +msgid "Subsequent commands in an intercepted session must be authenticated" +msgstr "Framtida kommandon i en infångad session måste autentiseras" + +#: plugins/sudoers/def_data.c:628 +msgid "Allow an intercepted command to run set setuid or setgid programs" +msgstr "Tillåt ett infångat kommando att köra setuid- eller setgid-program" + +#: plugins/sudoers/def_data.c:632 +#, c-format +msgid "The maximum size to which the process's address space may grow (in bytes): %s" +msgstr "Maximal storlek upp till vilken processens adressområde får växa (i byte): %s" + +#: plugins/sudoers/def_data.c:636 +#, c-format +msgid "The largest size core dump file that may be created (in bytes): %s" +msgstr "Största storlek för kärndumpfil som får skapas (i byte): %s" + +#: plugins/sudoers/def_data.c:640 +#, c-format +msgid "The maximum amount of CPU time that the process may use (in seconds): %s" +msgstr "Maximal mängd CPU-tid som processen får använda (i sekunder): %s" + +#: plugins/sudoers/def_data.c:644 +#, c-format +msgid "The maximum size of the data segment for the process (in bytes): %s" +msgstr "Maximal storlek på datasegmentet för processen (i byte): %s" + +#: plugins/sudoers/def_data.c:648 +#, c-format +msgid "The largest size file that the process may create (in bytes): %s" +msgstr "Största filstorlek som processen får skapa (i byte): %s" + +#: plugins/sudoers/def_data.c:652 +#, c-format +msgid "The maximum number of locks that the process may establish: %s" +msgstr "Största antalet lås som processen får etablera: %s" + +#: plugins/sudoers/def_data.c:656 +#, c-format +msgid "The maximum size that the process may lock in memory (in bytes): %s" +msgstr "Maximal storlek som processen får låsa i minnet (i byte): %s" + +#: plugins/sudoers/def_data.c:660 +#, c-format +msgid "The maximum number of files that the process may have open: %s" +msgstr "Maximalt antal filer som processen får ha öppna: %s" + +#: plugins/sudoers/def_data.c:664 +#, c-format +msgid "The maximum number of processes that the user may run simultaneously: %s" +msgstr "Maximalt antal processer som användaren får köra samtidigt: %s" + +#: plugins/sudoers/def_data.c:668 +#, c-format +msgid "The maximum size to which the process's resident set size may grow (in bytes): %s" +msgstr "Maximal storlek upp till vilken processens residenta mängd får växa (i byte): %s" + +#: plugins/sudoers/def_data.c:672 +#, c-format +msgid "The maximum size to which the process's stack may grow (in bytes): %s" +msgstr "Maximal storlek upp till vilken processen stack får växa (i byte) : %s" + +#: plugins/sudoers/def_data.c:676 +msgid "Attempt authentication even when in non-interactive mode" +msgstr "Försök att autentisera även i icke-interaktivt läge" + +#: plugins/sudoers/def_data.c:680 +msgid "Store plaintext passwords in I/O log input" +msgstr "Spara lösenord i klartext i I/O-logg-indata" + +#: plugins/sudoers/def_data.c:684 +msgid "List of regular expressions to use when matching a password prompt" +msgstr "Lista över reguljära uttryck att använda vid matchning av en lösenordsförfrågan" + +#: plugins/sudoers/def_data.c:688 +#, c-format +msgid "The mechanism used by the intercept and log_subcmds options: %s" +msgstr "Mekanismen som används av infångning och log_subcmd-flaggorna: %s" + +#: plugins/sudoers/def_data.c:692 +msgid "Attempt to verify the command and arguments after execution" +msgstr "Försök att verifiera kommandot och argumenten efter körning" + +#: plugins/sudoers/def_data.c:696 +#, c-format +msgid "AppArmor profile to use in the new security context: %s" +msgstr "AppArmor-profil att använda i den nya säkerhetskontexten: %s" + +#: plugins/sudoers/defaults.c:191 +#, c-format +msgid "unknown defaults entry \"%s\"" +msgstr "okänd standardpost ”%s”" + +#: plugins/sudoers/defaults.c:234 +#, c-format +msgid "no value specified for \"%s\"" +msgstr "inget värde angivet för ”%s”" + +#: plugins/sudoers/defaults.c:243 +#, c-format +msgid "invalid operator \"%c=\" for \"%s\"" +msgstr "ogiltig operator ”%c=” för ”%s”" + +#: plugins/sudoers/defaults.c:275 +#, c-format +msgid "option \"%s\" does not take a value" +msgstr "flaggan ”%s” tar inte emot något värde" + +#: plugins/sudoers/defaults.c:299 +#, c-format +msgid "invalid Defaults type 0x%x for option \"%s\"" +msgstr "ogiltig Defaults-typ 0x%x för flagga ”%s”" + +#: plugins/sudoers/defaults.c:306 +#, c-format +msgid "value \"%s\" is invalid for option \"%s\"" +msgstr "värdet ”%s” är ogiltigt för flaggan ”%s”" + +#: plugins/sudoers/defaults.c:1128 plugins/sudoers/policy.c:210 +#: plugins/sudoers/policy.c:219 +#, c-format +msgid "path name for \"%s\" too long" +msgstr "sökvägsnamn för ”%s” för långt" + +#: plugins/sudoers/defaults.c:1134 +#, c-format +msgid "values for \"%s\" must start with a '/', '~', or '*'" +msgstr "värden för ”%s” måste börja med ett ”/”, ”~” eller ”*”" + +#: plugins/sudoers/defaults.c:1141 +#, c-format +msgid "values for \"%s\" must start with a '/'" +msgstr "värden för ”%s” måste börja med ett ”/”" + +#: plugins/sudoers/editor.c:180 +#, c-format +msgid "ignoring editor: %.*s" +msgstr "ignorerar textredigerare: %.*s" + +#: plugins/sudoers/editor.c:181 +msgid "editor arguments may not contain \"--\"" +msgstr "textredigerarargument får inte innehålla ”--”" + +#: plugins/sudoers/env.c:426 +msgid "sudo_putenv: corrupted envp, length mismatch" +msgstr "sudo_putenv: trasig envp, längd stämmer inte" + +#: plugins/sudoers/env.c:1113 +msgid "unable to rebuild the environment" +msgstr "kan inte återuppbygga miljön" + +#: plugins/sudoers/env.c:1192 +#, c-format +msgid "sorry, you are not allowed to set the following environment variables: %s" +msgstr "du får inte lov att ställa in följande miljövariabler: %s" + +#: plugins/sudoers/filedigest.c:49 +#, c-format +msgid "unsupported digest type %d for %s" +msgstr "typ %d av kontrollsumma stöds inte för %s" + +#: plugins/sudoers/filedigest.c:78 +#, c-format +msgid "%s: read error" +msgstr "%s: läsfel" + +#: plugins/sudoers/group_plugin.c:169 plugins/sudoers/sssd.c:576 +#, c-format +msgid "unable to load %s: %s" +msgstr "kan inte läsa in %s: %s" + +#: plugins/sudoers/group_plugin.c:181 +#, c-format +msgid "unable to find symbol \"group_plugin\" in %s" +msgstr "kan inte hitta symbolen ”group_plugin” i %s" + +#: plugins/sudoers/group_plugin.c:186 +#, c-format +msgid "%s: incompatible group plugin major version %d, expected %d" +msgstr "%s: inkompatibel gruppinsticksmodul huvudversion %d, förväntade %d" + +#: plugins/sudoers/interfaces.c:76 plugins/sudoers/interfaces.c:93 +#, c-format +msgid "unable to parse IP address \"%s\"" +msgstr "kan inte tolka IP-adress ”%s”" + +#: plugins/sudoers/interfaces.c:81 plugins/sudoers/interfaces.c:98 +#, c-format +msgid "unable to parse netmask \"%s\"" +msgstr "kan inte tolka nätmask ”%s”" + +#: plugins/sudoers/interfaces.c:126 +msgid "Local IP address and netmask pairs:\n" +msgstr "Lokala IP-adress- och nätmaskpar:\n" + +#: plugins/sudoers/iolog.c:685 +msgid "unable to update sequence file" +msgstr "kan inte uppdatera sekvensfil" + +#: plugins/sudoers/iolog.c:719 plugins/sudoers/iolog.c:907 +#: plugins/sudoers/iolog.c:1069 plugins/sudoers/iolog.c:1076 +#: plugins/sudoers/iolog.c:1197 plugins/sudoers/iolog.c:1204 +#: plugins/sudoers/iolog.c:1303 plugins/sudoers/iolog.c:1310 +#, c-format +msgid "unable to write to I/O log file: %s" +msgstr "kan inte skriva till I/O-loggfil: %s" + +#: plugins/sudoers/iolog.c:727 +#, c-format +msgid "unable to create %s/%s" +msgstr "kan inte skapa %s/%s" + +#: plugins/sudoers/iolog.c:955 +#, c-format +msgid "%s: internal error, I/O log file for event %d not open" +msgstr "%s: internt fel, I/O-loggfil för händelse %d inte öppen" + +#: plugins/sudoers/iolog.c:1054 plugins/sudoers/iolog.c:1182 +#: plugins/sudoers/iolog.c:1287 plugins/sudoers/timestamp.c:879 +#: plugins/sudoers/timestamp.c:971 plugins/sudoers/visudo.c:556 +#: plugins/sudoers/visudo.c:562 +msgid "unable to read the clock" +msgstr "kan inte läsa klockan" + +#: plugins/sudoers/iolog.c:1279 plugins/sudoers/log_client.c:1192 +#: plugins/sudoers/log_client.c:1202 plugins/sudoers/log_client.c:1206 +#, c-format +msgid "%s: internal error, invalid signal %d" +msgstr "%s: internt fel, ogiltig signal %d" + +#: plugins/sudoers/ldap.c:177 plugins/sudoers/ldap_conf.c:292 +msgid "starttls not supported when using ldaps" +msgstr "starttls stöds inte när ldaps används" + +#: plugins/sudoers/ldap.c:248 +#, c-format +msgid "unable to initialize SSL cert and key db: %s" +msgstr "kan inte initiera SSL-certifikat och nyckeldatabas: %s" + +#: plugins/sudoers/ldap.c:251 +#, c-format +msgid "you must set TLS_CERT in %s to use SSL" +msgstr "du måste ställa in TLS_CERT i %s för att använda SSL" + +#: plugins/sudoers/ldap.c:1714 +#, c-format +msgid "unable to initialize LDAP: %s" +msgstr "kan inte initiera LDAP: %s" + +#: plugins/sudoers/ldap.c:1751 +msgid "start_tls specified but LDAP libs do not support ldap_start_tls_s() or ldap_start_tls_s_np()" +msgstr "start_tls angivet men LDAP-bibliotek har inte stöd för ldap_start_tls_s() eller ldap_start_tls_s_np()" + +#: plugins/sudoers/ldap.c:1888 plugins/sudoers/parse_ldif.c:748 +#, c-format +msgid "invalid sudoOrder attribute: %s" +msgstr "ogiltigt sudoOrder-attribut: %s" + +#: plugins/sudoers/ldap_conf.c:200 +#, c-format +msgid "%s: port too large" +msgstr "%s: port för stor" + +#: plugins/sudoers/ldap_conf.c:261 +#, c-format +msgid "unsupported LDAP uri type: %s" +msgstr "LDAP-uri-typ stöds ej: %s" + +#: plugins/sudoers/ldap_conf.c:288 +msgid "unable to mix ldap and ldaps URIs" +msgstr "kan inte blanda ldap- och ldaps-URI:er" + +#: plugins/sudoers/ldap_util.c:499 plugins/sudoers/ldap_util.c:506 +#: plugins/sudoers/ldap_util.c:514 plugins/sudoers/ldap_util.c:523 +#: plugins/sudoers/ldap_util.c:531 plugins/sudoers/ldap_util.c:541 +#: plugins/sudoers/ldap_util.c:549 +#, c-format +msgid "duplicate sudoOption: %s%s%s" +msgstr "duplicerad sudoOption: %s%s%s" + +#: plugins/sudoers/ldap_util.c:568 plugins/sudoers/ldap_util.c:570 +#, c-format +msgid "unable to convert sudoOption: %s%s%s" +msgstr "kan inte konvertera sudoOption: %s%s%s" + +#: plugins/sudoers/linux_audit.c:58 plugins/sudoers/linux_audit.c:60 +msgid "unable to open audit system" +msgstr "kan inte öppna granskningssystem" + +#: plugins/sudoers/linux_audit.c:103 +msgid "unable to send audit message" +msgstr "kan inte skicka granskningsmeddelande" + +#: plugins/sudoers/log_client.c:125 plugins/sudoers/log_client.c:412 +#: plugins/sudoers/log_client.c:1439 plugins/sudoers/log_client.c:2055 +msgid "error in event loop" +msgstr "fel i händelseloop" + +#: plugins/sudoers/log_client.c:205 +#, c-format +msgid "Creation of new SSL_CTX object failed: %s" +msgstr "Skapande av nytt SSL_CTX-objekt misslyckades: %s" + +#: plugins/sudoers/log_client.c:230 +#, c-format +msgid "unable to load certificate authority bundle %s" +msgstr "kan inte läsa in certifikatauktoritetsbunt %s" + +#: plugins/sudoers/log_client.c:252 +#, c-format +msgid "unable to load certificate %s" +msgstr "kan inte läsa in certifikat %s" + +#: plugins/sudoers/log_client.c:266 +#, c-format +msgid "unable to load private key %s" +msgstr "kan inte läsa in privat nyckel %s" + +#: plugins/sudoers/log_client.c:275 +#, c-format +msgid "Unable to allocate ssl object: %s" +msgstr "Kan inte allokera ssl-objekt: %s" + +#: plugins/sudoers/log_client.c:364 plugins/sudoers/log_client.c:369 +#, c-format +msgid "TLS connection to %s:%s failed: %s" +msgstr "TLS-anslutning till %s:%s misslyckades: %s" + +#: plugins/sudoers/log_client.c:543 +msgid "TLS initialization was unsuccessful" +msgstr "TLS-initiering misslyckades" + +#: plugins/sudoers/log_client.c:553 +msgid "TLS handshake was unsuccessful" +msgstr "TLS-handskakning misslyckades" + +#: plugins/sudoers/log_client.c:1210 +#, c-format +msgid "%s: internal error, invalid exit status %d" +msgstr "%s: internt fel, ogiltig avslutningskod %d" + +#: plugins/sudoers/log_client.c:1739 plugins/sudoers/log_client.c:1763 +msgid "lost connection to log server" +msgstr "förlorade kontakten med loggservern" + +#: plugins/sudoers/log_client.c:1840 +msgid "missing write buffer" +msgstr "saknar skrivbuffert" + +#: plugins/sudoers/log_client.c:1994 +msgid "unable to connect to log server" +msgstr "kan inte ansluta till loggserver" + +#: plugins/sudoers/logging.c:290 +msgid "user NOT in sudoers" +msgstr "användare finns INTE i sudoers" + +#: plugins/sudoers/logging.c:292 +msgid "user NOT authorized on host" +msgstr "användaren är INTE auktoriserad på värddatorn" + +#: plugins/sudoers/logging.c:294 +msgid "command not allowed" +msgstr "kommandot tillåts inte" + +#: plugins/sudoers/logging.c:315 +#, c-format +msgid "%s is not in the sudoers file.\n" +msgstr "%s finns inte i sudoers-filen.\n" + +#: plugins/sudoers/logging.c:318 +#, c-format +msgid "%s is not allowed to run sudo on %s.\n" +msgstr "%s tillåts inte att köra sudo på %s.\n" + +#: plugins/sudoers/logging.c:321 +#, c-format +msgid "Sorry, user %s may not run sudo on %s.\n" +msgstr "Tyvärr, användaren %s får inte köra sudo på %s.\n" + +#: plugins/sudoers/logging.c:324 +#, c-format +msgid "Sorry, user %s is not allowed to execute '%s%s%s' as %s%s%s on %s.\n" +msgstr "Tyvärr, användaren %s tillåts inte att köra ”%s%s%s” som %s%s%s på %s.\n" + +#: plugins/sudoers/logging.c:334 +msgid "This incident has been reported to the administrator.\n" +msgstr "Denna incident har rapporterats till administratören.\n" + +#: plugins/sudoers/logging.c:369 plugins/sudoers/sudoers.c:655 +#: plugins/sudoers/sudoers.c:657 plugins/sudoers/sudoers.c:659 +#: plugins/sudoers/sudoers.c:661 plugins/sudoers/sudoers.c:816 +#: plugins/sudoers/sudoers.c:818 +#, c-format +msgid "%s: command not found" +msgstr "%s: kommandot hittades inte" + +#: plugins/sudoers/logging.c:371 plugins/sudoers/sudoers.c:651 +#, c-format +msgid "" +"ignoring \"%s\" found in '.'\n" +"Use \"sudo ./%s\" if this is the \"%s\" you wish to run." +msgstr "" +"ignorerar ”%s” som hittades i ”.”\n" +"Använd ”sudo ./%s” om detta är den ”%s” som du vill köra." + +#: plugins/sudoers/logging.c:391 +#, c-format +msgid "%u incorrect password attempt" +msgid_plural "%u incorrect password attempts" +msgstr[0] "%u felaktigt lösenordsförsök" +msgstr[1] "%u felaktiga lösenordsförsök" + +#: plugins/sudoers/logging.c:481 +msgid "authentication failure" +msgstr "autentiseringsfel" + +#: plugins/sudoers/logging.c:520 plugins/sudoers/logging.c:539 +msgid "a password is required" +msgstr "ett lösenord krävs" + +#: plugins/sudoers/logging.c:803 plugins/sudoers/logging.c:815 +msgid "problem parsing sudoers" +msgstr "problem vid tolkning av sudoers" + +#: plugins/sudoers/logging.c:877 plugins/sudoers/logging.c:889 +#, c-format +msgid "%s:%d:%d: %s" +msgstr "%s:%d:%d: %s" + +#: plugins/sudoers/logging.c:1066 +#, c-format +msgid "unable to write log file: %s" +msgstr "kan inte skriva till loggfil: %s" + +#: plugins/sudoers/match_digest.c:112 +#, c-format +msgid "digest for %s (%s) bad length %zu, expected %zu" +msgstr "kontrollsumma för %s (%s) felaktig längd %zu, förväntade %zu" + +#: plugins/sudoers/match_digest.c:131 +#, c-format +msgid "digest for %s (%s) is not in %s form" +msgstr "kontrollsumma för %s (%s) är inte på %s-form" + +#: plugins/sudoers/parse.c:631 +#, c-format +msgid "" +"\n" +"LDAP Role: %s\n" +msgstr "" +"\n" +"LDAP-roll: %s\n" + +#: plugins/sudoers/parse.c:634 +msgid "" +"\n" +"Sudoers entry:\n" +msgstr "" +"\n" +"Sudoers-post:\n" + +#: plugins/sudoers/parse.c:636 +msgid " RunAsUsers: " +msgstr " KörSomAnvändare: " + +#: plugins/sudoers/parse.c:651 +msgid " RunAsGroups: " +msgstr " KörSomGrupper: " + +#: plugins/sudoers/parse.c:661 +msgid " Options: " +msgstr " Flaggor: " + +#: plugins/sudoers/parse.c:725 +msgid " Commands:\n" +msgstr " Kommandon:\n" + +#: plugins/sudoers/parse.c:916 +#, c-format +msgid "Matching Defaults entries for %s on %s:\n" +msgstr "Matchande standardposter för %s på %s:\n" + +#: plugins/sudoers/parse.c:934 +#, c-format +msgid "Runas and Command-specific defaults for %s:\n" +msgstr "Runas- och kommando-specifika standardvärden för %s:\n" + +#: plugins/sudoers/parse.c:952 +#, c-format +msgid "User %s may run the following commands on %s:\n" +msgstr "Användare %s får köra följande kommandon på %s:\n" + +#: plugins/sudoers/parse.c:967 +#, c-format +msgid "User %s is not allowed to run sudo on %s.\n" +msgstr "Användaren %s tillåts inte att köra sudo på %s.\n" + +#: plugins/sudoers/parse_ldif.c:618 +#, c-format +msgid "ignoring incomplete sudoRole: cn: %s" +msgstr "hoppar över ofullständig sudoRole: cn: %s" + +#: plugins/sudoers/parse_ldif.c:678 +#, c-format +msgid "invalid LDIF attribute: %s" +msgstr "ogiltigt LDIF-attribut: %s" + +#: plugins/sudoers/policy.c:82 plugins/sudoers/policy.c:113 +#, c-format +msgid "invalid %.*s set by sudo front-end" +msgstr "ogiltigt %.*s inställt av sudo-framände" + +#: plugins/sudoers/policy.c:360 plugins/sudoers/testsudoers.c:268 +msgid "unable to parse network address list" +msgstr "kan inte tolka nätverksadresslista" + +#: plugins/sudoers/policy.c:528 +msgid "user name not set by sudo front-end" +msgstr "användarnamn inte inställt av sudo-framände" + +#: plugins/sudoers/policy.c:532 +msgid "user-ID not set by sudo front-end" +msgstr "användar-ID inte inställt av sudo-framände" + +#: plugins/sudoers/policy.c:536 +msgid "group-ID not set by sudo front-end" +msgstr "grupp-ID inte inställt av sudo-framände" + +#: plugins/sudoers/policy.c:540 +msgid "host name not set by sudo front-end" +msgstr "värdnamn inte inställt av sudo-framände" + +#: plugins/sudoers/policy.c:737 +#, c-format +msgid "invalid working directory: %s" +msgstr "ogiltig arbetskatalog: %s" + +#: plugins/sudoers/policy.c:921 +#, c-format +msgid "invalid chroot directory: %s" +msgstr "ogiltig chroot-katalog: %s" + +#: plugins/sudoers/policy.c:1108 plugins/sudoers/visudo.c:259 +#: plugins/sudoers/visudo.c:906 +#, c-format +msgid "unable to execute %s" +msgstr "kan inte köra %s" + +#: plugins/sudoers/policy.c:1178 plugins/sudoers/policy.c:1215 +#: plugins/sudoers/policy.c:1237 plugins/sudoers/policy.c:1263 +#, c-format +msgid "%s: invalid mode flags from sudo front end: 0x%x" +msgstr "%s: ogiltiga lägesflaggor från sudo-framände: 0x%x" + +#: plugins/sudoers/policy.c:1299 +#, c-format +msgid "Sudoers policy plugin version %s\n" +msgstr "Sudoers policyinsticksmodul version %s\n" + +#: plugins/sudoers/policy.c:1301 +#, c-format +msgid "Sudoers file grammar version %d\n" +msgstr "Sudoers-filgrammatik version %d\n" + +#: plugins/sudoers/policy.c:1305 +#, c-format +msgid "" +"\n" +"Sudoers path: %s\n" +msgstr "" +"\n" +"Sökväg till sudoers: %s\n" + +#: plugins/sudoers/policy.c:1308 +#, c-format +msgid "nsswitch path: %s\n" +msgstr "Sökväg till nsswitch: %s\n" + +#: plugins/sudoers/policy.c:1310 +#, c-format +msgid "ldap.conf path: %s\n" +msgstr "Sökväg till ldap.conf: %s\n" + +#: plugins/sudoers/policy.c:1311 +#, c-format +msgid "ldap.secret path: %s\n" +msgstr "Sökväg till ldap.secret: %s\n" + +#: plugins/sudoers/policy.c:1344 +#, c-format +msgid "unable to register hook of type %d (version %d.%d)" +msgstr "kan inte registrera krok av typ %d (version %d.%d)" + +#: plugins/sudoers/policy.c:1362 +#, c-format +msgid "unable to deregister hook of type %d (version %d.%d)" +msgstr "kan inte avregistrera krok av typ %d (version %d.%d)" + +#: plugins/sudoers/pwutil.c:222 plugins/sudoers/pwutil.c:240 +#, c-format +msgid "unable to cache uid %u" +msgstr "kan inte cacha uid %u" + +#: plugins/sudoers/pwutil.c:234 +#, c-format +msgid "unable to cache uid %u, already exists" +msgstr "kan inte cacha uid %u, finns redan" + +#: plugins/sudoers/pwutil.c:294 plugins/sudoers/pwutil.c:312 +#: plugins/sudoers/pwutil.c:375 plugins/sudoers/pwutil.c:420 +#, c-format +msgid "unable to cache user %s" +msgstr "kan inte cacha användare %s" + +#: plugins/sudoers/pwutil.c:307 +#, c-format +msgid "unable to cache user %s, already exists" +msgstr "kan inte cacha användare %s, finns redan" + +#: plugins/sudoers/pwutil.c:539 plugins/sudoers/pwutil.c:557 +#, c-format +msgid "unable to cache gid %u" +msgstr "kan inte cacha gid %u" + +#: plugins/sudoers/pwutil.c:551 +#, c-format +msgid "unable to cache gid %u, already exists" +msgstr "kan inte cacha gid %u, finns redan" + +#: plugins/sudoers/pwutil.c:605 plugins/sudoers/pwutil.c:623 +#: plugins/sudoers/pwutil.c:684 plugins/sudoers/pwutil.c:733 +#, c-format +msgid "unable to cache group %s" +msgstr "kan inte cacha grupp %s" + +#: plugins/sudoers/pwutil.c:618 +#, c-format +msgid "unable to cache group %s, already exists" +msgstr "kan inte cacha grupp %s, finns redan" + +#: plugins/sudoers/pwutil.c:880 plugins/sudoers/pwutil.c:963 +#: plugins/sudoers/pwutil.c:1017 plugins/sudoers/pwutil.c:1071 +#, c-format +msgid "unable to cache group list for %s, already exists" +msgstr "kan inte cacha grupplista för %s, finns redan" + +#: plugins/sudoers/pwutil.c:886 plugins/sudoers/pwutil.c:968 +#: plugins/sudoers/pwutil.c:1023 plugins/sudoers/pwutil.c:1076 +#, c-format +msgid "unable to cache group list for %s" +msgstr "kan inte cacha grupplista för %s" + +#: plugins/sudoers/pwutil.c:957 +#, c-format +msgid "unable to parse groups for %s" +msgstr "kan inte tolka grupper för %s" + +#: plugins/sudoers/pwutil.c:1065 +#, c-format +msgid "unable to parse gids for %s" +msgstr "kan inte tolka gids för %s" + +#: plugins/sudoers/set_perms.c:114 plugins/sudoers/set_perms.c:445 +#: plugins/sudoers/set_perms.c:852 plugins/sudoers/set_perms.c:1162 +#: plugins/sudoers/set_perms.c:1460 +msgid "perm stack overflow" +msgstr "perm-stackspill" + +#: plugins/sudoers/set_perms.c:125 plugins/sudoers/set_perms.c:376 +#: plugins/sudoers/set_perms.c:456 plugins/sudoers/set_perms.c:719 +#: plugins/sudoers/set_perms.c:863 plugins/sudoers/set_perms.c:1086 +#: plugins/sudoers/set_perms.c:1173 plugins/sudoers/set_perms.c:1393 +#: plugins/sudoers/set_perms.c:1471 plugins/sudoers/set_perms.c:1562 +msgid "perm stack underflow" +msgstr "perm-stackunderspill" + +#: plugins/sudoers/set_perms.c:185 plugins/sudoers/set_perms.c:503 +#: plugins/sudoers/set_perms.c:1227 plugins/sudoers/set_perms.c:1505 +msgid "unable to change to root gid" +msgstr "kan inte ändra till root-gid" + +#: plugins/sudoers/set_perms.c:276 plugins/sudoers/set_perms.c:600 +#: plugins/sudoers/set_perms.c:995 plugins/sudoers/set_perms.c:1304 +msgid "unable to change to runas gid" +msgstr "kan inte ändra till runas-gid" + +#: plugins/sudoers/set_perms.c:281 plugins/sudoers/set_perms.c:605 +#: plugins/sudoers/set_perms.c:1000 plugins/sudoers/set_perms.c:1309 +msgid "unable to set runas group vector" +msgstr "kan inte ställa in gruppvektor för runas" + +#: plugins/sudoers/set_perms.c:292 plugins/sudoers/set_perms.c:616 +#: plugins/sudoers/set_perms.c:1009 plugins/sudoers/set_perms.c:1318 +msgid "unable to change to runas uid" +msgstr "kan inte ändra till runas-uid" + +#: plugins/sudoers/set_perms.c:310 plugins/sudoers/set_perms.c:634 +#: plugins/sudoers/set_perms.c:1025 plugins/sudoers/set_perms.c:1334 +msgid "unable to change to sudoers gid" +msgstr "kan inte ändra till sudoers-gid" + +#: plugins/sudoers/set_perms.c:363 plugins/sudoers/set_perms.c:706 +#: plugins/sudoers/set_perms.c:1073 plugins/sudoers/set_perms.c:1380 +#: plugins/sudoers/set_perms.c:1549 +msgid "too many processes" +msgstr "för många processer" + +#: plugins/sudoers/solaris_audit.c:61 +msgid "unable to get current working directory" +msgstr "kan inte hämta aktuell arbetskatalog" + +#: plugins/sudoers/solaris_audit.c:69 +#, c-format +msgid "truncated audit path user_cmnd: %s" +msgstr "trunkerad granskningssökväg user_cmnd: %s" + +#: plugins/sudoers/solaris_audit.c:76 +#, c-format +msgid "truncated audit path argv[0]: %s" +msgstr "trunkerad granskningssökväg argv[0]: %s" + +#: plugins/sudoers/sssd.c:579 +msgid "unable to initialize SSS source. Is SSSD installed on your machine?" +msgstr "kan inte initiera SSS-källa. Är SSSD installerat på din maskin?" + +#: plugins/sudoers/sssd.c:587 plugins/sudoers/sssd.c:596 +#: plugins/sudoers/sssd.c:605 plugins/sudoers/sssd.c:614 +#: plugins/sudoers/sssd.c:623 +#, c-format +msgid "unable to find symbol \"%s\" in %s" +msgstr "kan inte hitta symbol ”%s” i %s" + +#: plugins/sudoers/sudoers.c:263 +#, c-format +msgid "unable to get defaults from %s" +msgstr "kan inte hämta standardvärden från %s" + +#: plugins/sudoers/sudoers.c:270 +msgid "no valid sudoers sources found, quitting" +msgstr "inga giltiga sudoers-källor hittades, avslutar" + +#: plugins/sudoers/sudoers.c:346 +#, c-format +msgid "user not allowed to change root directory to %s" +msgstr "användare inte tillåten att ändra rotkatalog till %s" + +#: plugins/sudoers/sudoers.c:348 +#, c-format +msgid "you are not permitted to use the -R option with %s" +msgstr "du tillåts inte att använda flaggan -R med %s" + +#: plugins/sudoers/sudoers.c:373 +#, c-format +msgid "user not allowed to change directory to %s" +msgstr "användare inte tillåten att ändra katalog till %s" + +#: plugins/sudoers/sudoers.c:374 +#, c-format +msgid "you are not permitted to use the -D option with %s" +msgstr "du tillåts inte att använda flaggan -D med %s" + +#: plugins/sudoers/sudoers.c:401 +msgid "no command specified" +msgstr "inget kommando specificerat" + +#: plugins/sudoers/sudoers.c:426 +msgid "sudoers specifies that root is not allowed to sudo" +msgstr "sudoers anger att root inte tillåts att använda sudo" + +#: plugins/sudoers/sudoers.c:483 +msgid "user not allowed to override closefrom limit" +msgstr "användare inte tillåten att åsidosätta closefrom-begränsning" + +#: plugins/sudoers/sudoers.c:484 +msgid "you are not permitted to use the -C option" +msgstr "du tillåts inte att använda flaggan -C" + +#: plugins/sudoers/sudoers.c:544 +#, c-format +msgid "timestamp owner (%s): No such user" +msgstr "tidsstämpelägare (%s): Det finns ingen sådan användare" + +#: plugins/sudoers/sudoers.c:559 +msgid "no tty" +msgstr "ingen tty" + +#: plugins/sudoers/sudoers.c:560 +msgid "sorry, you must have a tty to run sudo" +msgstr "tyvärr, du måste ha en tty för att köra sudo" + +#: plugins/sudoers/sudoers.c:567 +#, c-format +msgid "invalid shell for user %s: %s" +msgstr "ogiltigt skal för användare %s: %s" + +#: plugins/sudoers/sudoers.c:650 +msgid "command in current directory" +msgstr "kommando i aktuell katalog" + +#: plugins/sudoers/sudoers.c:665 +msgid "\"cd\" is a shell built-in command, it cannot be run directly." +msgstr "”cd” är ett inbyggt shell-kommando, det kan inte köras direkt." + +#: plugins/sudoers/sudoers.c:667 +msgid "the -s option may be used to run a privileged shell." +msgstr "flaggan -s får inte användas för att köra ett privilegierat skal." + +#: plugins/sudoers/sudoers.c:669 +msgid "the -D option may be used to run a command in a specific directory." +msgstr "flaggan -D får inte användas för att köra ett kommando i en specifik katalog." + +#: plugins/sudoers/sudoers.c:678 +msgid "user not allowed to set a command timeout" +msgstr "användare inte tillåten att ställa in en tidsgräns för kommandon" + +#: plugins/sudoers/sudoers.c:680 +msgid "sorry, you are not allowed set a command timeout" +msgstr "tyvärr, du tillåts inte att ställa in en tidsgräns för kommandon" + +#: plugins/sudoers/sudoers.c:688 +msgid "user not allowed to preserve the environment" +msgstr "användare inte tillåten att behålla miljön" + +#: plugins/sudoers/sudoers.c:690 +msgid "sorry, you are not allowed to preserve the environment" +msgstr "tyvärr, du tillåts inte att behålla miljövariabler" + +#: plugins/sudoers/sudoers.c:799 +msgid "error setting user-specified environment variables" +msgstr "fel vid sättning av användarspecificerade miljövariabler" + +#: plugins/sudoers/sudoers.c:1112 +msgid "sudoedit doesn't need to be run via sudo" +msgstr "sudoedit behöver inte köras via sudo" + +#: plugins/sudoers/sudoers.c:1157 plugins/sudoers/sudoreplay.c:1612 +#: plugins/sudoers/tsdump.c:138 +#, c-format +msgid "unable to read %s" +msgstr "kan inte läsa %s" + +#: plugins/sudoers/sudoers.c:1186 plugins/sudoers/visudo.c:1066 +#, c-format +msgid "%s is not a regular file" +msgstr "%s är inte en vanlig fil" + +#: plugins/sudoers/sudoers.c:1190 plugins/sudoers/timestamp.c:263 toke.l:1255 +#, c-format +msgid "%s is owned by uid %u, should be %u" +msgstr "%s ägs av uid %u, ska vara %u" + +#: plugins/sudoers/sudoers.c:1194 plugins/sudoers/timestamp.c:270 toke.l:1260 +#, c-format +msgid "%s is world writable" +msgstr "%s är skrivbar för alla" + +#: plugins/sudoers/sudoers.c:1198 plugins/sudoers/timestamp.c:275 toke.l:1263 +#, c-format +msgid "%s is owned by gid %u, should be %u" +msgstr "%s ägs av gid %u, ska vara %u" + +#: plugins/sudoers/sudoers.c:1233 +#, c-format +msgid "only root can use \"-c %s\"" +msgstr "endast root kan använda ”-c %s”" + +#: plugins/sudoers/sudoers.c:1252 +#, c-format +msgid "unknown login class %s" +msgstr "okänd inloggningsklass %s" + +#: plugins/sudoers/sudoers.c:1339 plugins/sudoers/sudoers.c:1354 +#, c-format +msgid "unable to resolve host %s" +msgstr "kan inte slå upp värddatorn %s" + +#: plugins/sudoers/sudoreplay.c:252 +#, c-format +msgid "invalid filter option: %s" +msgstr "ogiltig filterflagga: %s" + +#: plugins/sudoers/sudoreplay.c:268 +#, c-format +msgid "invalid max wait: %s" +msgstr "ogiltig största väntan: %s" + +#: plugins/sudoers/sudoreplay.c:291 +#, c-format +msgid "invalid speed factor: %s" +msgstr "ogiltig hastighetsfaktor: %s" + +#: plugins/sudoers/sudoreplay.c:326 +#, c-format +msgid "invalid time offset %s" +msgstr "ogiltigt värde för tidsavstånd %s" + +#: plugins/sudoers/sudoreplay.c:335 +#, c-format +msgid "%s/%.2s/%.2s/%.2s: %s" +msgstr "%s/%.2s/%.2s/%.2s: %s" + +#: plugins/sudoers/sudoreplay.c:340 +#, c-format +msgid "%s/timing: %s" +msgstr "%s/tidsmätning: %s" + +#: plugins/sudoers/sudoreplay.c:368 +#, c-format +msgid "Replaying sudo session: %s" +msgstr "Spelar upp sudo-session: %s" + +#: plugins/sudoers/sudoreplay.c:634 +msgid "unable to set tty to raw mode" +msgstr "kan inte ställa in tty i råläge" + +#: plugins/sudoers/sudoreplay.c:685 +msgid "Warning: your terminal is too small to properly replay the log.\n" +msgstr "Varning: din terminal är för liten för att korrekt spela upp loggen.\n" + +#: plugins/sudoers/sudoreplay.c:686 +#, c-format +msgid "Log geometry is %d x %d, your terminal's geometry is %d x %d." +msgstr "Logg-geometri är %d x %d, din terminals geometri är %d x %d." + +#: plugins/sudoers/sudoreplay.c:714 +msgid "Replay finished, press any key to restore the terminal." +msgstr "Uppspelning avslutad, tryck på en tangent för att återställa terminalen." + +#: plugins/sudoers/sudoreplay.c:1216 plugins/sudoers/sudoreplay.c:1246 +#, c-format +msgid "ambiguous expression \"%s\"" +msgstr "tvetydigt uttryck ”%s”" + +#: plugins/sudoers/sudoreplay.c:1268 +msgid "unmatched ')' in expression" +msgstr "omatchat ”)” i uttryck" + +#: plugins/sudoers/sudoreplay.c:1272 +#, c-format +msgid "unknown search term \"%s\"" +msgstr "okänt sökvillkor ”%s”" + +#: plugins/sudoers/sudoreplay.c:1287 +#, c-format +msgid "%s requires an argument" +msgstr "%s kräver ett argument" + +#: plugins/sudoers/sudoreplay.c:1297 +#, c-format +msgid "could not parse date \"%s\"" +msgstr "kunde inte tolka datumet ”%s”" + +#: plugins/sudoers/sudoreplay.c:1306 +msgid "unmatched '(' in expression" +msgstr "omatchat ”(” i uttryck" + +#: plugins/sudoers/sudoreplay.c:1308 +msgid "illegal trailing \"or\"" +msgstr "ogiltigt avslutande ”or”" + +#: plugins/sudoers/sudoreplay.c:1310 +msgid "illegal trailing \"!\"" +msgstr "ogiltigt efterföljande ”!”" + +#: plugins/sudoers/sudoreplay.c:1416 +#, c-format +msgid "unknown search type %d" +msgstr "okänd söktyp %d" + +#: plugins/sudoers/sudoreplay.c:1678 +#, c-format +msgid "usage: %s [-hnRS] [-d dir] [-m num] [-s num] ID\n" +msgstr "användning: %s [-hnRS] [-d kat] [-m num] [-s num] ID\n" + +#: plugins/sudoers/sudoreplay.c:1680 +#, c-format +msgid "usage: %s [-h] [-d dir] -l [search expression]\n" +msgstr "användning: %s [-h] [-d kat] -l [sökuttryck]\n" + +#: plugins/sudoers/sudoreplay.c:1694 +#, c-format +msgid "" +"%s - replay sudo session logs\n" +"\n" +msgstr "" +"%s - spela upp loggar från sudo-session\n" +"\n" + +#: plugins/sudoers/sudoreplay.c:1696 +msgid "" +"\n" +"Options:\n" +" -d, --directory=dir specify directory for session logs\n" +" -f, --filter=filter specify which I/O type(s) to display\n" +" -h, --help display help message and exit\n" +" -l, --list list available session IDs, with optional expression\n" +" -m, --max-wait=num max number of seconds to wait between events\n" +" -n, --non-interactive no prompts, session is sent to the standard output\n" +" -R, --no-resize do not attempt to re-size the terminal\n" +" -S, --suspend-wait wait while the command was suspended\n" +" -s, --speed=num speed up or slow down output\n" +" -V, --version display version information and exit" +msgstr "" +"\n" +"Flaggor:\n" +" -d, --directory=kat ange katalog för sessionsloggar\n" +" -f, --filter=filter ange vilka I/O-typer som ska visas\n" +" -h, --help visa hjälptext och avsluta\n" +" -l, --list lista tillgängliga sessions-ID:n, med valfritt uttryck\n" +" -m, --max-wait=num största antal sekunder att vänta mellan händelser\n" +" -n, --non-interactive inga frågor, sessionen skickas till standard ut\n" +" -R, --no-resize försök inte att ändra storlek på terminalen\n" +" -S, --suspend-wait vänta medan kommandot var i viloläge\n" +" -s, --speed=num påskynda eller fördröj utmatning\n" +" -V, --version visa versionsinformation och avsluta" + +#: plugins/sudoers/testsudoers.c:344 +msgid "\thost unmatched" +msgstr "\tvärd omatchad" + +#: plugins/sudoers/testsudoers.c:347 +msgid "" +"\n" +"Command allowed" +msgstr "" +"\n" +"Kommandot tillåts" + +#: plugins/sudoers/testsudoers.c:348 +msgid "" +"\n" +"Command denied" +msgstr "" +"\n" +"Kommandot nekades" + +#: plugins/sudoers/testsudoers.c:348 +msgid "" +"\n" +"Command unmatched" +msgstr "" +"\n" +"Kommando omatchat" + +#: plugins/sudoers/timestamp.c:354 plugins/sudoers/timestamp.c:693 +#, c-format +msgid "unable to truncate time stamp file to %lld bytes" +msgstr "kan inte trunkera tidsstämpelfil till %lld byte" + +#: plugins/sudoers/timestamp.c:890 +msgid "ignoring time stamp from the future" +msgstr "ignorerar tidsstämpel från framtiden" + +#: plugins/sudoers/timestamp.c:913 +#, c-format +msgid "time stamp too far in the future: %20.20s" +msgstr "tidsstämpel är för långt in i framtiden: %20.20s" + +#: plugins/sudoers/timestamp.c:1042 +#, c-format +msgid "unable to lock time stamp file %s" +msgstr "kan inte låsa tidsstämpelfil %s" + +#: plugins/sudoers/toke_util.c:156 +msgid "sudoedit should not be specified with a path" +msgstr "sudoedit ska inte anges med en sökväg" + +#: plugins/sudoers/visudo.c:254 +msgid "the -x option will be removed in a future release" +msgstr "flaggan -x kommer att tas bort i en framtida version" + +#: plugins/sudoers/visudo.c:256 +msgid "please consider using the cvtsudoers utility instead" +msgstr "överväg att använda verktyget cvtsudoers istället" + +#: plugins/sudoers/visudo.c:311 plugins/sudoers/visudo.c:702 +#, c-format +msgid "press return to edit %s: " +msgstr "tryck på retur för att redigera %s: " + +#: plugins/sudoers/visudo.c:326 +#, c-format +msgid "contents of edit session left in %s" +msgstr "innehållet från redigeringssessionen lämnat i %s" + +#: plugins/sudoers/visudo.c:403 +#, c-format +msgid "specified editor (%s) doesn't exist" +msgstr "angiven textredigerare (%s) finns inte" + +#: plugins/sudoers/visudo.c:408 +#, c-format +msgid "no editor found (editor path = %s)" +msgstr "ingen textredigerare hittad (sökväg för textredigerare = %s)" + +#: plugins/sudoers/visudo.c:495 plugins/sudoers/visudo.c:774 +#, c-format +msgid "unable to stat %s" +msgstr "kan inte ta status på %s" + +#: plugins/sudoers/visudo.c:515 plugins/sudoers/visudo.c:523 +msgid "write error" +msgstr "skrivfel" + +#: plugins/sudoers/visudo.c:569 +#, c-format +msgid "unable to stat temporary file (%s), %s unchanged" +msgstr "kan inte hämta filinformation för temporärfil (%s), %s oförändrad" + +# sebras: not an exact translation, but I think it captures the meaning of the original text. +#: plugins/sudoers/visudo.c:576 +#, c-format +msgid "zero length temporary file (%s), %s unchanged" +msgstr "temporärfil tom (%s), %s oförändrad" + +#: plugins/sudoers/visudo.c:582 +#, c-format +msgid "editor (%s) failed, %s unchanged" +msgstr "textredigeraren (%s) misslyckades, %s är oförändrad" + +#: plugins/sudoers/visudo.c:604 +#, c-format +msgid "%s unchanged" +msgstr "%s oförändrad" + +#: plugins/sudoers/visudo.c:649 +#, c-format +msgid "unable to re-open temporary file (%s), %s unchanged." +msgstr "kan inte återöppna temporärfil (%s), %s är oförändrad." + +#: plugins/sudoers/visudo.c:662 +#, c-format +msgid "unable to parse temporary file (%s), unknown error" +msgstr "kan inte tolka temporärfil (%s), okänt fel" + +#: plugins/sudoers/visudo.c:748 plugins/sudoers/visudo.c:778 +#: plugins/sudoers/visudo.c:785 +#, c-format +msgid "unable to set (uid, gid) of %s to (%u, %u)" +msgstr "kan inte ställa in (uid, gid) för %s till (%u, %u)" + +#: plugins/sudoers/visudo.c:813 +#, c-format +msgid "%s and %s not on the same file system, using mv to rename" +msgstr "%s och %s finns inte på samma filsystem, använder mv för att byta namn" + +#: plugins/sudoers/visudo.c:824 +#, c-format +msgid "command failed: '%s %s %s', %s unchanged" +msgstr "kommandot misslyckades: ”%s %s %s”, %s är oförändrad" + +#: plugins/sudoers/visudo.c:831 +#, c-format +msgid "error renaming %s, %s unchanged" +msgstr "fel vid namnbyte för %s, %s är oförändrad" + +#: plugins/sudoers/visudo.c:851 +msgid "What now? " +msgstr "Nu då? " + +#: plugins/sudoers/visudo.c:865 +msgid "" +"Options are:\n" +" (e)dit sudoers file again\n" +" e(x)it without saving changes to sudoers file\n" +" (Q)uit and save changes to sudoers file (DANGER!)\n" +msgstr "" +"Alternativen är:\n" +" r(e)digera sudoers-filen igen\n" +" avsluta (x) utan att spara ändringar i sudoers-filen\n" +" Avsluta (Q) och spara ändringar i sudoers-filen (FARLIGT!)\n" + +#: plugins/sudoers/visudo.c:911 +#, c-format +msgid "unable to run %s" +msgstr "kan inte köra %s" + +#: plugins/sudoers/visudo.c:942 +#, c-format +msgid "%s: wrong owner (uid, gid) should be (%u, %u)\n" +msgstr "%s: felaktig ägare (uid, gid) ska vara (%u, %u)\n" + +#: plugins/sudoers/visudo.c:953 +#, c-format +msgid "%s: bad permissions, should be mode 0%o\n" +msgstr "%s: felaktiga rättigheter, bör vara läge 0%o\n" + +#: plugins/sudoers/visudo.c:999 plugins/sudoers/visudo.c:1006 +#, c-format +msgid "%s: parsed OK\n" +msgstr "%s: tolkad OK\n" + +#: plugins/sudoers/visudo.c:1025 +#, c-format +msgid "%s busy, try again later" +msgstr "%s är upptagen, försök igen senare" + +#: plugins/sudoers/visudo.c:1029 +msgid "Edit anyway? [y/N]" +msgstr "Redigera ändå? [y/N]" + +#: plugins/sudoers/visudo.c:1130 +#, c-format +msgid "Warning: %s:%d:%d: unused %s \"%s\"" +msgstr "Varning: %s:%d:%d: oanvänd %s ”%s”" + +#: plugins/sudoers/visudo.c:1242 +#, c-format +msgid "" +"%s - safely edit the sudoers file\n" +"\n" +msgstr "" +"%s - redigera sudoers-filen på ett säkert sätt\n" +"\n" + +#: plugins/sudoers/visudo.c:1244 +msgid "" +"\n" +"Options:\n" +" -c, --check check-only mode\n" +" -f, --file=sudoers specify sudoers file location\n" +" -h, --help display help message and exit\n" +" -I, --no-includes do not edit include files\n" +" -q, --quiet less verbose (quiet) syntax error messages\n" +" -s, --strict strict syntax checking\n" +" -V, --version display version information and exit\n" +msgstr "" +"\n" +"Flaggor:\n" +" -c, --check genomför endast kontroller\n" +" -f, --file=sudoers ange plats för sudoers-filen\n" +" -h, --help visa hjälptext och avsluta\n" +" -I, --no-includes redigera inte include-filer\n" +" -q, --quiet mindre utförliga (tysta) syntaxfelmeddelanden\n" +" -s, --strict strikt syntaxkontroll\n" +" -V, --version visa versionsinformation och avsluta\n" + +#: toke.l:189 +msgid "empty string" +msgstr "tom sträng" + +#: toke.l:201 toke.l:571 +msgid "empty group" +msgstr "tom grupp" + +#: toke.l:211 toke.l:569 +msgid "empty netgroup" +msgstr "tom nätgrupp" + +#: toke.l:289 +msgid "unterminated regular expression" +msgstr "oavslutat reguljärt uttryck" + +#: toke.l:363 toke.l:375 toke.l:387 toke.l:403 toke.l:422 toke.l:462 +msgid "invalid line continuation" +msgstr "ogiltig radfortsättning" + +#: toke.l:608 toke.l:620 +msgid "invalid IPv6 address" +msgstr "ogiltig IPv6-adress" + +#: toke.l:876 +msgid "unexpected line break in string" +msgstr "oväntad radbrytning i sträng" + +#: toke.l:1226 +msgid "too many levels of includes" +msgstr "för många nivåer av inkluderingar" + +#~ msgid "%s must be owned by uid %d" +#~ msgstr "%s måste ägas av uid %d" + +#~ msgid "%s must only be writable by owner" +#~ msgstr "%s får endast vara skrivbar av ägaren" + +#~ msgid "%s:%d unknown key: %s" +#~ msgstr "%s:%d okänd nyckel: %s" + +#~ msgid "%s: write buffer already in use" +#~ msgstr "%s: skrivbuffert används redan" + +#~ msgid "unable to read diffie-hellman parameters: %s" +#~ msgstr "kunde inte läsa diffie-hellman-parametrar: %s" + +#~ msgid "Error: %s:%d:%d: cycle in %s \"%s\"" +#~ msgstr "Fel: %s:%d:%d: cykel i %s ”%s”" + +#~ msgid "Warning: %s:%d:%d: cycle in %s \"%s\"" +#~ msgstr "Varning: %s:%d:%d: cykel i %s ”%s”" + +#~ msgid "Error: %s:%d:%d: %s \"%s\" referenced but not defined" +#~ msgstr "Fel: %s:%d:%d: %s ”%s” refererad till men inte definierad" + +#~ msgid "Warning: %s:%d:%d: %s \"%s\" referenced but not defined" +#~ msgstr "Varning: %s:%d:%d: %s ”%s” refererad till men inte definierad" + +#~ msgid "parse error in %s near line %d\n" +#~ msgstr "tolkningsfel i %s nära rad %d\n" + +#~ msgid "parse error in %s\n" +#~ msgstr "tolkningsfel i %s\n" + +#~ msgid "%s: unknown defaults entry \"%s\"" +#~ msgstr "%s: okänd standardpost ”%s”" + +#~ msgid "%s:%d:%d: no value specified for \"%s\"" +#~ msgstr "%s:%d:%d: inget värde angivet för ”%s”" + +#~ msgid "%s:%d:%d: option \"%s\" does not take a value" +#~ msgstr "%s:%d:%d: flaggan ”%s” tar inte emot något värde" + +#~ msgid "%s:%d:%d: value \"%s\" is invalid for option \"%s\"" +#~ msgstr "%s:%d:%d: värdet ”%s” är ogiltigt för flaggan ”%s”" + +#~ msgid "%s:%d:%d: values for \"%s\" must start with a '/', '~', or '*'" +#~ msgstr "%s:%d:%d: värden för ”%s” måste börja med ett ”/”, ”~” eller ”*”" + +#~ msgid "%s:%d:%d: values for \"%s\" must start with a '/'" +#~ msgstr "%s:%d:%d: värden för ”%s” måste börja med ett ”/”" + +#~ msgid "parse error in %s near line %d" +#~ msgstr "tolkningsfel i %s nära rad %d" + +#~ msgid "parse error in %s" +#~ msgstr "tolkningsfel i %s" + +#~ msgid "%s is not in the sudoers file. This incident will be reported.\n" +#~ msgstr "%s finns inte i filen sudoers. Denna incident kommer att rapporteras.\n" + +#~ msgid "%s is not allowed to run sudo on %s. This incident will be reported.\n" +#~ msgstr "%s tillåts inte att köra sudo på %s. Denna incident kommer att rapporteras.\n" + +#~ msgid "problem with defaults entries" +#~ msgstr "problem med standardposter" + +#~ msgid "%s is group writable" +#~ msgstr "%s är skrivbar för gruppen" + +#~ msgid "lecture status path too long: %s/%s" +#~ msgstr "sökväg för lektionsstatus för lång: %s/%s" + +#~ msgid "internal error, unable to find %s in list!" +#~ msgstr "internt fel, kan inte hitta %s i listan!" + +#~ msgid "%s:%u unable to parse \"%s\"" +#~ msgstr "%s:%u kan inte tolka ”%s”" + +#~ msgid "unable to get TLS server method: %s" +#~ msgstr "kan inte hämta TLS-servermetod: %s" + +#~ msgid "" +#~ "\n" +#~ "Options:\n" +#~ " -f, --file path to configuration file\n" +#~ " -h --help display help message and exit\n" +#~ " -n, --no-fork do not fork, run in the foreground\n" +#~ " -R, --random-drop percent chance connections will drop\n" +#~ " -V, --version display version information and exit\n" +#~ msgstr "" +#~ "\n" +#~ "Flaggor:\n" +#~ " -f, --file sökväg till konfigurationsfil\n" +#~ " -h --help visa hjälptext och avslutan\n" +#~ " -n, --no-fork grena inte, kör i förgrunden\n" +#~ " -R, --random-drop antal procents chans att anslutningar bryts\n" +#~ " -V, --version visa versionsinformation och avsluta\n" + +#~ msgid "" +#~ "\n" +#~ "Options:\n" +#~ " --help display help message and exit\n" +#~ " -A, --accept only send an accept event (no I/O)\n" +#~ " -h, --host host to send logs to\n" +#~ " -i, --iolog_id remote ID of I/O log to be resumed\n" +#~ " -p, --port port to use when connecting to host\n" +#~ " -r, --restart restart previous I/O log transfer\n" +#~ " -R, --reject reject the command with the given reason\n" +#~ " -b, --ca-bundle certificate bundle file to verify server's cert against\n" +#~ " -c, --cert certificate file for TLS handshake\n" +#~ " -k, --key private key file\n" +#~ " -n, --no-verify do not verify server certificate\n" +#~ " -t, --test test audit server by sending selected I/O log n times in parallel\n" +#~ " -V, --version display version information and exit\n" +#~ msgstr "" +#~ "\n" +#~ "Flaggor:\n" +#~ " --help visa hjälpmeddelande och avsluta\n" +#~ " -A, --accept skicka endast en accepteringshändelse (ingen I/O)\n" +#~ " -h, --host värd att skicka loggar till\n" +#~ " -i, --iolog_id fjärr-ID för I/O-logg som ska återupptas\n" +#~ " -p, --port port att använda vid anslutning till värd\n" +#~ " -r, --restart start om förgående överföring av I/O-logg\n" +#~ " -R, --reject avböj kommandot med angiven anledning\n" +#~ " -b, --ca-bundle certifikatbuntfil att verifiera serverns certifikat mot\n" +#~ " -c, --cert certifikatfil för TLS-handskakning\n" +#~ " -k, --key privat nyckelfil\n" +#~ " -n, --no-verify verifiera inter servercertifikat\n" +#~ " -t, --test testa granskningsserver genom att skicka valda I/O-loggmeddelanden parallellt n gånger\n" +#~ " -V, --version visa versionsinformation och avsluta\n" + +#~ msgid "Preload the dummy exec functions contained in the sudo_noexec library" +#~ msgstr "Förinläs attrapp-exec-funktioner som finns i biblioteket sudo_noexec" + +#~ msgid "sudo_ldap_conf_add_ports: port too large" +#~ msgstr "sudo_ldap_conf_add_ports: port är för stor" + +#~ msgid "SSL_connect failed: ssl_error=%d, stack=%s\n" +#~ msgstr "SSL_connect misslyckades: ssl_error=%d, stack=%s\n" + +#~ msgid "CA bundle file was not specified" +#~ msgstr "Fil för CA-bunt angavs inte" + +#~ msgid "Client certificate was not specified" +#~ msgstr "Klientcertifikat angavs inte" + +#~ msgid "Unable to allocate ssl object: %s\n" +#~ msgstr "Kan inte allokera ssl-objekt: %s\n" + +#~ msgid "Unable to attach socket to the ssl object: %s\n" +#~ msgstr "Kan inte fästa kontakt på ssl-objektet: %s\n" + +#~ msgid "client message too large: %zu\n" +#~ msgstr "klientmeddelande för stort: %zu\n" + +#~ msgid "server message too large: %u\n" +#~ msgstr "servermeddelande för långt: %u\n" + +#~ msgid "CA bundle file is not set in sudoers" +#~ msgstr "CA-buntfil inte inställd i sudoers" + +#~ msgid "Calling SSL_CTX_load_verify_locations() failed: %s" +#~ msgstr "Anrop av SSL_CTX_load_verify_locations() misslyckades: %s" + +#~ msgid "Signed certificate file is not set in sudoers" +#~ msgstr "Signerad certifikatfil inte inställd i sudoers" + +#~ msgid "Unable to load private key into the ssl context: %s" +#~ msgstr "Kan inte läsa in privatnyckel in i ssl-kontexten: %s" + +#~ msgid "SSL_connect failed: ssl_error=%d, stack=%s" +#~ msgstr "SSL_connect misslyckades: ssl_error=%d, stack=%s" + +#~ msgid "SSL_read failed: ssl_error=%d, stack=%s" +#~ msgstr "SSL_read misslyckades: ssl_error=%d, stack=%s" + +#~ msgid "SSL_write failed: ssl_error=%d, stack=%s" +#~ msgstr "SSL_write misslyckades: ssl_error=%d, stack=%s" + +#~ msgid "unknown address family: %d" +#~ msgstr "okänd adressfamilj: %d" + +#~ msgid "audit_failure message too long" +#~ msgstr "audit_failure-meddelande för långt" + +#~ msgid "No user or host" +#~ msgstr "Ingen användare eller värddator" + +#~ msgid "validation failure" +#~ msgstr "valideringsfel" + +#~ msgid "%s/%s/timing: %s" +#~ msgstr "%s/%s/tidsmätning: %s" + +#~ msgid "ignoring invalid attribute value: %s" +#~ msgstr "ignorerar ogiltigt attributvärde: %s" + +#~ msgid "unable to cache user %s, out of memory" +#~ msgstr "kan inte cacha användare %s, slut på minne" + +#~ msgid "unable to cache group %s, out of memory" +#~ msgstr "kan inte cacha grupp %s, slut på minne" + +#~ msgid "unable to cache group list for %s, out of memory" +#~ msgstr "kan inte cacha grupplista för %s, slut på minne" + +#~ msgid "" +#~ "\n" +#~ "LDAP Role: UNKNOWN\n" +#~ msgstr "" +#~ "\n" +#~ "LDAP-roll: OKÄND\n" + +#~ msgid " Order: %s\n" +#~ msgstr " Ordning: %s\n" + +#~ msgid "" +#~ "\n" +#~ "SSSD Role: %s\n" +#~ msgstr "" +#~ "\n" +#~ "SSSD-roll: %s\n" + +#~ msgid "" +#~ "\n" +#~ "SSSD Role: UNKNOWN\n" +#~ msgstr "" +#~ "\n" +#~ "SSSD-roll: OKÄND\n" + +#~ msgid "getaudit: failed" +#~ msgstr "getaudit: misslyckades" + +#~ msgid "getauid failed" +#~ msgstr "getauid misslyckades" + +#~ msgid "au_to_subject: failed" +#~ msgstr "au_to_subject: misslyckades" + +#~ msgid "au_to_exec_args: failed" +#~ msgstr "au_to_exec_args: misslyckades" + +#~ msgid "au_to_return32: failed" +#~ msgstr "au_to_return32: misslyckades" + +#~ msgid "getauid: failed" +#~ msgstr "getauid: misslyckades" + +#~ msgid "au_to_text: failed" +#~ msgstr "au_to_text: misslyckades" + +#~ msgid "internal error, expand_prompt() overflow" +#~ msgstr "internt fel, stackspill i expand_prompt()" + +#~ msgid "%s owned by uid %u, should be uid %u" +#~ msgstr "%s ägs av uid %u, ska vara uid %u" + +#~ msgid "%s exists but is not a regular file (0%o)" +#~ msgstr "%s finns men är inte en vanlig fil (0%o)" + +#~ msgid "internal error, sudo_setenv2() overflow" +#~ msgstr "internt fel, stackspill i sudo_setenv2()" + +#~ msgid "internal error, sudo_setenv() overflow" +#~ msgstr "internt fel, stackspill i sudo_setenv()" + +#~ msgid ">>> %s: %s near line %d <<<" +#~ msgstr ">>> %s: %s nära rad %d <<<" + +#~ msgid "unable to set locale to \"%s\", using \"C\"" +#~ msgstr "kunde inte ställa in lokalanpassning till \"%s\", använder \"C\"" + +#~ msgid "unable to mix ldaps and starttls" +#~ msgstr "kunde inte blanda ldaps och starttls" + +#~ msgid "internal error, linux_audit_command() overflow" +#~ msgstr "internt fel, stackspill i linux_audit_command()" + +#~ msgid "internal error: insufficient space for log line" +#~ msgstr "internt fel: otillräckligt utrymme för loggrad" + +#~ msgid "" +#~ " Commands:\n" +#~ "\t" +#~ msgstr "" +#~ " Kommandon:\n" +#~ "\t" + +#~ msgid ": " +#~ msgstr ": " + +#~ msgid "unable to cache uid %u (%s), already exists" +#~ msgstr "kunde inte mellanlagra uid %u (%s), finns redan" + +#~ msgid "unable to cache gid %u (%s), already exists" +#~ msgstr "kunde inte mellanlagra gid %u (%s), finns redan" + +#~ msgid "internal error, runas_groups overflow" +#~ msgstr "internt fel, stackspill i runas_groups" + +#~ msgid "writing to standard output" +#~ msgstr "skriver till standard ut" + +#~ msgid "internal error, init_vars() overflow" +#~ msgstr "internt fel, stackspill i init_vars()" + +#~ msgid "fill_args: buffer overflow" +#~ msgstr "fill_args: buffertöverflöde" + +#~ msgid "pam_chauthtok: %s" +#~ msgstr "pam_chauthtok: %s" + +#~ msgid "pam_authenticate: %s" +#~ msgstr "pam_authenticate: %s" + +#~ msgid "Password:" +#~ msgstr "Lösenord:" diff --git a/plugins/sudoers/po/tr.mo b/plugins/sudoers/po/tr.mo new file mode 100644 index 0000000..da71fd4 Binary files /dev/null and b/plugins/sudoers/po/tr.mo differ diff --git a/plugins/sudoers/po/tr.po b/plugins/sudoers/po/tr.po new file mode 100644 index 0000000..a7b94d3 --- /dev/null +++ b/plugins/sudoers/po/tr.po @@ -0,0 +1,1721 @@ +# Turkish translations for sudoers package +# This file is put in the public domain. +# Todd C. Miller , 2011-2013 +# +msgid "" +msgstr "" +"Project-Id-Version: sudoers 1.8.7b2\n" +"Report-Msgid-Bugs-To: http://www.sudo.ws/bugs\n" +"POT-Creation-Date: 2013-04-17 15:52-0400\n" +"PO-Revision-Date: 2013-04-27 23:41+0200\n" +"Last-Translator: Özgür Sarıer \n" +"Language-Team: Turkish \n" +"Language: tr\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 1.5.5\n" + +#: confstr.sh:2 +msgid "Password:" +msgstr "Parola:" + +#: confstr.sh:3 +msgid "*** SECURITY information for %h ***" +msgstr "*** %h için GÜVENLİK bilgisi ***" + +#: confstr.sh:4 +msgid "Sorry, try again." +msgstr "Üzgünüm, yeniden deneyin." + +#: plugins/sudoers/alias.c:124 +#, c-format +msgid "Alias `%s' already defined" +msgstr "Takma ad `%s' önceden tanımlanmış" + +#: plugins/sudoers/auth/bsdauth.c:77 +#, c-format +msgid "unable to get login class for user %s" +msgstr "kullanıcı %s için oturum açma sınıfı elde edilemedi" + +#: plugins/sudoers/auth/bsdauth.c:83 +msgid "unable to begin bsd authentication" +msgstr "bsd kimlik doğrulama işlemine başlanılamadı" + +#: plugins/sudoers/auth/bsdauth.c:91 +msgid "invalid authentication type" +msgstr "geçersiz kimlik doğrulama türü" + +#: plugins/sudoers/auth/bsdauth.c:100 +msgid "unable to setup authentication" +msgstr "kimlik doğrulama gerçekleştirilemedi" + +#: plugins/sudoers/auth/fwtk.c:59 +#, c-format +msgid "unable to read fwtk config" +msgstr "fwtk yapılandırması okunamadı" + +#: plugins/sudoers/auth/fwtk.c:64 +#, c-format +msgid "unable to connect to authentication server" +msgstr "kimlik doğrulama sunucusuna bağlanılamadı" + +#: plugins/sudoers/auth/fwtk.c:70 plugins/sudoers/auth/fwtk.c:94 +#: plugins/sudoers/auth/fwtk.c:127 +#, c-format +msgid "lost connection to authentication server" +msgstr "kimlik doğrulama sunucusunda bağlantı kaybı" + +#: plugins/sudoers/auth/fwtk.c:74 +#, c-format +msgid "" +"authentication server error:\n" +"%s" +msgstr "" +"kimlik doğrulama sunucusu hatası:\n" +"%s" + +#: plugins/sudoers/auth/kerb5.c:116 +#, c-format +msgid "%s: unable to convert principal to string ('%s'): %s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:159 +#, c-format +msgid "%s: unable to parse '%s': %s" +msgstr "%s: ayrıştırılamayan öge '%s': %s" + +#: plugins/sudoers/auth/kerb5.c:169 +#, c-format +msgid "%s: unable to resolve credential cache: %s" +msgstr "%s: kimlik bilgisi önbelleği çözülemedi: %s" + +#: plugins/sudoers/auth/kerb5.c:217 +#, c-format +msgid "%s: unable to allocate options: %s" +msgstr "%s: seçenekler ayrılamadı: %s" + +#: plugins/sudoers/auth/kerb5.c:233 +#, c-format +msgid "%s: unable to get credentials: %s" +msgstr "%s: kimlik bilgileri elde edilemedi: %s" + +#: plugins/sudoers/auth/kerb5.c:246 +#, c-format +msgid "%s: unable to initialize credential cache: %s" +msgstr "%s: kimlik bilgisi önbelleği hazırlanamadı: %s" + +#: plugins/sudoers/auth/kerb5.c:250 +#, c-format +msgid "%s: unable to store credential in cache: %s" +msgstr "%s: kimlik bilgisi önbellekte saklanamadı: %s" + +#: plugins/sudoers/auth/kerb5.c:315 +#, c-format +msgid "%s: unable to get host principal: %s" +msgstr "" + +#: plugins/sudoers/auth/kerb5.c:330 +#, c-format +msgid "%s: Cannot verify TGT! Possible attack!: %s" +msgstr "%s: TGT doğrulanamadı! Muhtemel saldırı!: %s" + +#: plugins/sudoers/auth/pam.c:105 +msgid "unable to initialize PAM" +msgstr "PAM başlatılamadı" + +#: plugins/sudoers/auth/pam.c:150 +msgid "account validation failure, is your account locked?" +msgstr "hesap geçerliliği teyit edilemedi, hesabınız kilitli mi?" + +#: plugins/sudoers/auth/pam.c:154 +msgid "Account or password is expired, reset your password and try again" +msgstr "Hesabın veya hesap parolasının süresi dolmuş, parolanızı sıfırlayınız ve yeniden deneyiniz" + +#: plugins/sudoers/auth/pam.c:162 +#, c-format +msgid "unable to change expired password: %s" +msgstr "zaman aşımına uğramış parola değiştirilemedi: %s" + +#: plugins/sudoers/auth/pam.c:167 +msgid "Password expired, contact your system administrator" +msgstr "Parola geçerlilik süresi dolmuş, sistem yöneticinizle temasa geçiniz" + +#: plugins/sudoers/auth/pam.c:171 +msgid "Account expired or PAM config lacks an \"account\" section for sudo, contact your system administrator" +msgstr "Hesap geçerlilik süresi dolmuş veya sudo için PAM yapılandırması bir \"account\" bölümünden yoksun, sistem yöneticinizle temasa geçiniz" + +#: plugins/sudoers/auth/pam.c:188 +#, c-format +msgid "PAM authentication error: %s" +msgstr "PAM kimlik doğrulama hatası: %s" + +#: plugins/sudoers/auth/pam.c:247 +#, c-format +msgid "unable to establish credentials: %s" +msgstr "kimlik bilgileri oluşturulamadı: %s" + +#: plugins/sudoers/auth/rfc1938.c:103 plugins/sudoers/visudo.c:212 +#, c-format +msgid "you do not exist in the %s database" +msgstr "%s veritabanında bulunmuyorsunuz" + +#: plugins/sudoers/auth/securid5.c:80 +#, c-format +msgid "failed to initialise the ACE API library" +msgstr "ACE API kütüphanesinin hazırlanması başarısız oldu" + +#: plugins/sudoers/auth/securid5.c:106 +#, c-format +msgid "unable to contact the SecurID server" +msgstr "SecurID sunucusuyla bağlantı kurulamadı" + +#: plugins/sudoers/auth/securid5.c:115 +#, c-format +msgid "User ID locked for SecurID Authentication" +msgstr "Kullanıcı Kimliği(User ID), SecurID Kimlik Doğrulaması için kilitli" + +#: plugins/sudoers/auth/securid5.c:119 plugins/sudoers/auth/securid5.c:170 +#, c-format +msgid "invalid username length for SecurID" +msgstr "SecurID için geçersiz kullanıcı adı uzunluğu" + +#: plugins/sudoers/auth/securid5.c:123 plugins/sudoers/auth/securid5.c:175 +#, c-format +msgid "invalid Authentication Handle for SecurID" +msgstr "SecurID için geçersiz Kimlik Doğrulama İşleyicisi" + +#: plugins/sudoers/auth/securid5.c:127 +#, c-format +msgid "SecurID communication failed" +msgstr "SecurID iletişimi başarısız oldu" + +#: plugins/sudoers/auth/securid5.c:131 plugins/sudoers/auth/securid5.c:214 +#, c-format +msgid "unknown SecurID error" +msgstr "bilinmeyen SecurID hatası" + +#: plugins/sudoers/auth/securid5.c:165 +#, c-format +msgid "invalid passcode length for SecurID" +msgstr "SecurID için geçersiz şifre uzunluğu" + +#: plugins/sudoers/auth/sia.c:108 +msgid "unable to initialize SIA session" +msgstr "SIA oturumu başlatılamadı" + +#: plugins/sudoers/auth/sudo_auth.c:119 +msgid "invalid authentication methods" +msgstr "geçersiz kimlik doğrulama yöntemleri" + +#: plugins/sudoers/auth/sudo_auth.c:120 +msgid "Invalid authentication methods compiled into sudo! You may not mix standalone and non-standalone authentication." +msgstr "Sudo içinde geçersiz kimlik doğrulama yöntemleri derlenmiş! Bağımsız ve bağımsız olmayan kimlik doğrulama yöntemlerini karma bir şekilde kullanamayabilirsiniz." + +#: plugins/sudoers/auth/sudo_auth.c:203 +msgid "no authentication methods" +msgstr "kimlik doğrulama yöntemleri yok" + +#: plugins/sudoers/auth/sudo_auth.c:205 +msgid "There are no authentication methods compiled into sudo! If you want to turn off authentication, use the --disable-authentication configure option." +msgstr "Sudo içinde herhangi bir kimlik doğrulama yöntemi derlenmemiş! Kimlik doğrulamayı kapatmak isterseniz, --disable-authentication seçeneğini kullanınız." + +#: plugins/sudoers/auth/sudo_auth.c:389 +msgid "Authentication methods:" +msgstr "Kimlik doğrulama yöntemleri:" + +#: plugins/sudoers/bsm_audit.c:60 plugins/sudoers/bsm_audit.c:63 +#: plugins/sudoers/bsm_audit.c:112 plugins/sudoers/bsm_audit.c:116 +#: plugins/sudoers/bsm_audit.c:168 plugins/sudoers/bsm_audit.c:172 +#, c-format +msgid "getaudit: failed" +msgstr "getaudit: işlem başarısız" + +#: plugins/sudoers/bsm_audit.c:90 plugins/sudoers/bsm_audit.c:153 +#, c-format +msgid "Could not determine audit condition" +msgstr "Denetim durumu belirlenemedi" + +#: plugins/sudoers/bsm_audit.c:101 plugins/sudoers/bsm_audit.c:160 +#, c-format +msgid "getauid: failed" +msgstr "getauid: işlem başarısız" + +#: plugins/sudoers/bsm_audit.c:103 plugins/sudoers/bsm_audit.c:162 +#, c-format +msgid "au_open: failed" +msgstr "au_open: işlem başarısız" + +#: plugins/sudoers/bsm_audit.c:118 plugins/sudoers/bsm_audit.c:174 +#, c-format +msgid "au_to_subject: failed" +msgstr "au_to_subject: işlem başarısız" + +#: plugins/sudoers/bsm_audit.c:122 plugins/sudoers/bsm_audit.c:178 +#, c-format +msgid "au_to_exec_args: failed" +msgstr "au_to_exec_args: işlem başarısız" + +#: plugins/sudoers/bsm_audit.c:126 plugins/sudoers/bsm_audit.c:187 +#, c-format +msgid "au_to_return32: failed" +msgstr "au_to_return32: işlem başarısız" + +#: plugins/sudoers/bsm_audit.c:129 plugins/sudoers/bsm_audit.c:190 +#, c-format +msgid "unable to commit audit record" +msgstr "denetim kaydı işlenemiyor" + +#: plugins/sudoers/bsm_audit.c:183 +#, c-format +msgid "au_to_text: failed" +msgstr "au_to_text: işlem başarısız" + +#: plugins/sudoers/check.c:189 +msgid "" +"\n" +"We trust you have received the usual lecture from the local System\n" +"Administrator. It usually boils down to these three things:\n" +"\n" +" #1) Respect the privacy of others.\n" +" #2) Think before you type.\n" +" #3) With great power comes great responsibility.\n" +"\n" +msgstr "" +"\n" +"Yerel Sistem Yöneticisinden olağan öğütleri aldığınıza güveniyoruz.\n" +"Bunları genellikle aşağıdaki üç şeyle özetleyebiliriz:\n" +"\n" +" #1) Diğer kişilerin özel hayatına saygı gösterin.\n" +" #2) Bir yazmadan önce iki kere düşünün.\n" +" #3) Büyük gücün büyük bir sorumluluk getirdiğini unutmayın.\n" +"\n" + +#: plugins/sudoers/check.c:227 plugins/sudoers/check.c:233 +#: plugins/sudoers/sudoers.c:562 plugins/sudoers/sudoers.c:566 +#, c-format +msgid "unknown uid: %u" +msgstr "bilinmeyen uid: %u" + +#: plugins/sudoers/check.c:230 plugins/sudoers/policy.c:635 +#: plugins/sudoers/sudoers.c:845 plugins/sudoers/testsudoers.c:215 +#: plugins/sudoers/testsudoers.c:359 +#, c-format +msgid "unknown user: %s" +msgstr "bilinmeyen kullanıcı: %s" + +#: plugins/sudoers/def_data.c:27 +#, c-format +msgid "Syslog facility if syslog is being used for logging: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:31 +#, c-format +msgid "Syslog priority to use when user authenticates successfully: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:35 +#, c-format +msgid "Syslog priority to use when user authenticates unsuccessfully: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:39 +msgid "Put OTP prompt on its own line" +msgstr "OTP güdüsünü kendi satırına yerleştir" + +#: plugins/sudoers/def_data.c:43 +msgid "Ignore '.' in $PATH" +msgstr "$PATH içindeki '.' ögesini yoksay" + +#: plugins/sudoers/def_data.c:47 +msgid "Always send mail when sudo is run" +msgstr "Sudonun çalıştırıldığı her zaman e-posta gönder" + +#: plugins/sudoers/def_data.c:51 +msgid "Send mail if user authentication fails" +msgstr "Kullanıcı kimlik doğrulaması başarısız olursa e-posta gönder" + +#: plugins/sudoers/def_data.c:55 +msgid "Send mail if the user is not in sudoers" +msgstr "Kullanıcı sudoers içinde değilse e-posta gönder" + +#: plugins/sudoers/def_data.c:59 +msgid "Send mail if the user is not in sudoers for this host" +msgstr "Kullanıcı bu makinedeki sudoers içinde değilse e-posta gönder" + +#: plugins/sudoers/def_data.c:63 +msgid "Send mail if the user is not allowed to run a command" +msgstr "Kullanıcının bir komut çalıştırmasına izin verilmiyor ise e-posta gönder" + +#: plugins/sudoers/def_data.c:67 +msgid "Use a separate timestamp for each user/tty combo" +msgstr "Her kullanıcı/tty birleşik girişi için ayrı bir zaman damgası kullan" + +#: plugins/sudoers/def_data.c:71 +msgid "Lecture user the first time they run sudo" +msgstr "Sudoyu ilk defa çalıştırdıkları zaman kullanıcıya gerekli öğütleri ver" + +#: plugins/sudoers/def_data.c:75 +#, c-format +msgid "File containing the sudo lecture: %s" +msgstr "Dosya sudo öğüdü içeriyor: %s" + +#: plugins/sudoers/def_data.c:79 +msgid "Require users to authenticate by default" +msgstr "Öntanımlı olarak kullanıcıların kimlik doğrulaması gerekmektedir" + +#: plugins/sudoers/def_data.c:83 +msgid "Root may run sudo" +msgstr "Kök kullanıcı (root) sudoyu çalıştırabilir" + +#: plugins/sudoers/def_data.c:87 +msgid "Log the hostname in the (non-syslog) log file" +msgstr "" + +#: plugins/sudoers/def_data.c:91 +msgid "Log the year in the (non-syslog) log file" +msgstr "" + +#: plugins/sudoers/def_data.c:95 +msgid "If sudo is invoked with no arguments, start a shell" +msgstr "Eğer sudo herhangi bir bağımsız değişkenle uyandırılmazsa, bir kabuk başlat" + +#: plugins/sudoers/def_data.c:99 +msgid "Set $HOME to the target user when starting a shell with -s" +msgstr "Kabuğu -s ile başlatırken $HOME çevre değişkenini hedef kullanıcıya ata" + +#: plugins/sudoers/def_data.c:103 +msgid "Always set $HOME to the target user's home directory" +msgstr "Her zaman $HOME çevre değişkenini hedef kullanıcının ev dizinine ata" + +#: plugins/sudoers/def_data.c:107 +msgid "Allow some information gathering to give useful error messages" +msgstr "Yararlı hata iletilerinin verilmesi için bazı bilgilerin toplanmasına izin ver" + +#: plugins/sudoers/def_data.c:111 +msgid "Require fully-qualified hostnames in the sudoers file" +msgstr "Sudoers dosyası içerisinde tam nitelikli ana makine adlarının olması gerekmektedir" + +#: plugins/sudoers/def_data.c:115 +msgid "Insult the user when they enter an incorrect password" +msgstr "Hatalı parola girdikleri zaman kullanıcıyı aşağıla" + +#: plugins/sudoers/def_data.c:119 +msgid "Only allow the user to run sudo if they have a tty" +msgstr "Ancak bir tty sahibi iseler kullanıcıya sudoyu çalıştırma izni ver" + +#: plugins/sudoers/def_data.c:123 +msgid "Visudo will honor the EDITOR environment variable" +msgstr "Visudo EDITOR çevre değişkeninin gereğini şerefle yerine getirecektir." + +#: plugins/sudoers/def_data.c:127 +msgid "Prompt for root's password, not the users's" +msgstr "" + +#: plugins/sudoers/def_data.c:131 +msgid "Prompt for the runas_default user's password, not the users's" +msgstr "" + +#: plugins/sudoers/def_data.c:135 +msgid "Prompt for the target user's password, not the users's" +msgstr "" + +#: plugins/sudoers/def_data.c:139 +msgid "Apply defaults in the target user's login class if there is one" +msgstr "Eğer bir tane varsa hedef kullanıcı oturum açma sınıfında öntanımlıları uygula" + +#: plugins/sudoers/def_data.c:143 +msgid "Set the LOGNAME and USER environment variables" +msgstr "LOGNAME ve USER çevre değişkenlerini ata" + +#: plugins/sudoers/def_data.c:147 +msgid "Only set the effective uid to the target user, not the real uid" +msgstr "" + +#: plugins/sudoers/def_data.c:151 +msgid "Don't initialize the group vector to that of the target user" +msgstr "" + +#: plugins/sudoers/def_data.c:155 +#, c-format +msgid "Length at which to wrap log file lines (0 for no wrap): %d" +msgstr "" + +#: plugins/sudoers/def_data.c:159 +#, c-format +msgid "Authentication timestamp timeout: %.1f minutes" +msgstr "" + +#: plugins/sudoers/def_data.c:163 +#, c-format +msgid "Password prompt timeout: %.1f minutes" +msgstr "" + +#: plugins/sudoers/def_data.c:167 +#, c-format +msgid "Number of tries to enter a password: %d" +msgstr "Bir parola girişinde deneme sayısı: %d" + +#: plugins/sudoers/def_data.c:171 +#, c-format +msgid "Umask to use or 0777 to use user's: 0%o" +msgstr "" + +#: plugins/sudoers/def_data.c:175 +#, c-format +msgid "Path to log file: %s" +msgstr "Günlük kütüğü yolu: %s" + +#: plugins/sudoers/def_data.c:179 +#, c-format +msgid "Path to mail program: %s" +msgstr "E-posta programı yolu: %s" + +#: plugins/sudoers/def_data.c:183 +#, c-format +msgid "Flags for mail program: %s" +msgstr "E-posta programı için bayraklar: %s" + +#: plugins/sudoers/def_data.c:187 +#, c-format +msgid "Address to send mail to: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:191 +#, c-format +msgid "Address to send mail from: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:195 +#, c-format +msgid "Subject line for mail messages: %s" +msgstr "E-posta iletileri için konu satırı: %s" + +#: plugins/sudoers/def_data.c:199 +#, c-format +msgid "Incorrect password message: %s" +msgstr "Hatalı parola iletisi: %s" + +#: plugins/sudoers/def_data.c:203 +#, c-format +msgid "Path to authentication timestamp dir: %s" +msgstr "Kimlik doğrulama zaman damgası dizininin yolu: %s" + +#: plugins/sudoers/def_data.c:207 +#, c-format +msgid "Owner of the authentication timestamp dir: %s" +msgstr "Kimlik doğrulama zaman damgası dizininin sahibi: %s" + +#: plugins/sudoers/def_data.c:211 +#, c-format +msgid "Users in this group are exempt from password and PATH requirements: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:215 +#, c-format +msgid "Default password prompt: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:219 +msgid "If set, passprompt will override system prompt in all cases." +msgstr "" + +#: plugins/sudoers/def_data.c:223 +#, c-format +msgid "Default user to run commands as: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:227 +#, c-format +msgid "Value to override user's $PATH with: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:231 +#, c-format +msgid "Path to the editor for use by visudo: %s" +msgstr "Visudo tarafından kullanılacak düzenleyici yolu: %s" + +#: plugins/sudoers/def_data.c:235 +#, c-format +msgid "When to require a password for 'list' pseudocommand: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:239 +#, c-format +msgid "When to require a password for 'verify' pseudocommand: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:243 +msgid "Preload the dummy exec functions contained in the sudo_noexec library" +msgstr "Sudo_noexec kütüphanesinin içerdiği taklit exec işlevlerini önyükle" + +#: plugins/sudoers/def_data.c:247 +msgid "If LDAP directory is up, do we ignore local sudoers file" +msgstr "LDAP dizini kullanılabilir durumda ise, yerel sudoers dosyalarını yok sayalım mı" + +#: plugins/sudoers/def_data.c:251 +#, c-format +msgid "File descriptors >= %d will be closed before executing a command" +msgstr "" + +#: plugins/sudoers/def_data.c:255 +msgid "If set, users may override the value of `closefrom' with the -C option" +msgstr "" + +#: plugins/sudoers/def_data.c:259 +msgid "Allow users to set arbitrary environment variables" +msgstr "" + +#: plugins/sudoers/def_data.c:263 +msgid "Reset the environment to a default set of variables" +msgstr "" + +#: plugins/sudoers/def_data.c:267 +msgid "Environment variables to check for sanity:" +msgstr "" + +#: plugins/sudoers/def_data.c:271 +msgid "Environment variables to remove:" +msgstr "" + +#: plugins/sudoers/def_data.c:275 +msgid "Environment variables to preserve:" +msgstr "" + +#: plugins/sudoers/def_data.c:279 +#, c-format +msgid "SELinux role to use in the new security context: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:283 +#, c-format +msgid "SELinux type to use in the new security context: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:287 +#, c-format +msgid "Path to the sudo-specific environment file: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:291 +#, c-format +msgid "Locale to use while parsing sudoers: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:295 +msgid "Allow sudo to prompt for a password even if it would be visible" +msgstr "" + +#: plugins/sudoers/def_data.c:299 +msgid "Provide visual feedback at the password prompt when there is user input" +msgstr "" + +#: plugins/sudoers/def_data.c:303 +msgid "Use faster globbing that is less accurate but does not access the filesystem" +msgstr "" + +#: plugins/sudoers/def_data.c:307 +msgid "The umask specified in sudoers will override the user's, even if it is more permissive" +msgstr "" + +#: plugins/sudoers/def_data.c:311 +msgid "Log user's input for the command being run" +msgstr "" + +#: plugins/sudoers/def_data.c:315 +msgid "Log the output of the command being run" +msgstr "" + +#: plugins/sudoers/def_data.c:319 +msgid "Compress I/O logs using zlib" +msgstr "I/O günlüklerini zlib kullanarak sıkıştır" + +#: plugins/sudoers/def_data.c:323 +msgid "Always run commands in a pseudo-tty" +msgstr "" + +#: plugins/sudoers/def_data.c:327 +#, c-format +msgid "Plugin for non-Unix group support: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:331 +#, c-format +msgid "Directory in which to store input/output logs: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:335 +#, c-format +msgid "File in which to store the input/output log: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:339 +msgid "Add an entry to the utmp/utmpx file when allocating a pty" +msgstr "" + +#: plugins/sudoers/def_data.c:343 +msgid "Set the user in utmp to the runas user, not the invoking user" +msgstr "" + +#: plugins/sudoers/def_data.c:347 +msgid "Set of permitted privileges" +msgstr "" + +#: plugins/sudoers/def_data.c:351 +msgid "Set of limit privileges" +msgstr "" + +#: plugins/sudoers/def_data.c:355 +msgid "Run commands on a pty in the background" +msgstr "" + +#: plugins/sudoers/def_data.c:359 +msgid "Create a new PAM session for the command to run in" +msgstr "" + +#: plugins/sudoers/def_data.c:363 +msgid "Maximum I/O log sequence number" +msgstr "" + +#: plugins/sudoers/defaults.c:207 plugins/sudoers/defaults.c:587 +#, c-format +msgid "unknown defaults entry `%s'" +msgstr "" + +#: plugins/sudoers/defaults.c:215 plugins/sudoers/defaults.c:225 +#: plugins/sudoers/defaults.c:245 plugins/sudoers/defaults.c:258 +#: plugins/sudoers/defaults.c:271 plugins/sudoers/defaults.c:284 +#: plugins/sudoers/defaults.c:297 plugins/sudoers/defaults.c:317 +#: plugins/sudoers/defaults.c:327 +#, c-format +msgid "value `%s' is invalid for option `%s'" +msgstr "" + +#: plugins/sudoers/defaults.c:218 plugins/sudoers/defaults.c:228 +#: plugins/sudoers/defaults.c:236 plugins/sudoers/defaults.c:253 +#: plugins/sudoers/defaults.c:266 plugins/sudoers/defaults.c:279 +#: plugins/sudoers/defaults.c:292 plugins/sudoers/defaults.c:312 +#: plugins/sudoers/defaults.c:323 +#, c-format +msgid "no value specified for `%s'" +msgstr "" + +#: plugins/sudoers/defaults.c:241 +#, c-format +msgid "values for `%s' must start with a '/'" +msgstr "" + +#: plugins/sudoers/defaults.c:303 +#, c-format +msgid "option `%s' does not take a value" +msgstr "" + +#: plugins/sudoers/env.c:288 plugins/sudoers/env.c:293 +#: plugins/sudoers/env.c:395 plugins/sudoers/linux_audit.c:82 +#: plugins/sudoers/policy.c:420 plugins/sudoers/policy.c:427 +#: plugins/sudoers/prompt.c:171 plugins/sudoers/sudoers.c:654 +#: plugins/sudoers/testsudoers.c:243 +#, c-format +msgid "internal error, %s overflow" +msgstr "" + +#: plugins/sudoers/env.c:367 +#, c-format +msgid "sudo_putenv: corrupted envp, length mismatch" +msgstr "" + +#: plugins/sudoers/env.c:1012 +#, c-format +msgid "sorry, you are not allowed to set the following environment variables: %s" +msgstr "" + +#: plugins/sudoers/group_plugin.c:102 +#, c-format +msgid "%s must be owned by uid %d" +msgstr "" + +#: plugins/sudoers/group_plugin.c:106 +#, c-format +msgid "%s must only be writable by owner" +msgstr "" + +#: plugins/sudoers/group_plugin.c:113 plugins/sudoers/sssd.c:256 +#, c-format +msgid "unable to dlopen %s: %s" +msgstr "" + +#: plugins/sudoers/group_plugin.c:118 +#, c-format +msgid "unable to find symbol \"group_plugin\" in %s" +msgstr "" + +#: plugins/sudoers/group_plugin.c:123 +#, c-format +msgid "%s: incompatible group plugin major version %d, expected %d" +msgstr "" + +#: plugins/sudoers/interfaces.c:119 +msgid "Local IP address and netmask pairs:\n" +msgstr "" + +#: plugins/sudoers/iolog.c:131 plugins/sudoers/iolog.c:144 +#: plugins/sudoers/timestamp.c:200 plugins/sudoers/timestamp.c:244 +#, c-format +msgid "%s exists but is not a directory (0%o)" +msgstr "" + +#: plugins/sudoers/iolog.c:141 plugins/sudoers/iolog.c:155 +#: plugins/sudoers/iolog.c:159 plugins/sudoers/timestamp.c:165 +#: plugins/sudoers/timestamp.c:221 plugins/sudoers/timestamp.c:271 +#, c-format +msgid "unable to mkdir %s" +msgstr "" + +#: plugins/sudoers/iolog.c:217 plugins/sudoers/sudoers.c:708 +#: plugins/sudoers/sudoreplay.c:354 plugins/sudoers/sudoreplay.c:815 +#: plugins/sudoers/sudoreplay.c:978 plugins/sudoers/timestamp.c:155 +#: plugins/sudoers/visudo.c:809 +#, c-format +msgid "unable to open %s" +msgstr "" + +#: plugins/sudoers/iolog.c:250 plugins/sudoers/sudoers.c:711 +#, c-format +msgid "unable to read %s" +msgstr "" + +#: plugins/sudoers/iolog.c:274 plugins/sudoers/timestamp.c:159 +#, c-format +msgid "unable to write to %s" +msgstr "" + +#: plugins/sudoers/iolog.c:334 +#, c-format +msgid "unable to create %s" +msgstr "" + +#: plugins/sudoers/ldap.c:385 +#, c-format +msgid "sudo_ldap_conf_add_ports: port too large" +msgstr "" + +#: plugins/sudoers/ldap.c:408 +#, c-format +msgid "sudo_ldap_conf_add_ports: out of space expanding hostbuf" +msgstr "" + +#: plugins/sudoers/ldap.c:438 +#, c-format +msgid "unsupported LDAP uri type: %s" +msgstr "" + +#: plugins/sudoers/ldap.c:467 +#, c-format +msgid "invalid uri: %s" +msgstr "" + +#: plugins/sudoers/ldap.c:473 +#, c-format +msgid "unable to mix ldap and ldaps URIs" +msgstr "" + +#: plugins/sudoers/ldap.c:477 +#, c-format +msgid "unable to mix ldaps and starttls" +msgstr "" + +#: plugins/sudoers/ldap.c:496 +#, c-format +msgid "sudo_ldap_parse_uri: out of space building hostbuf" +msgstr "" + +#: plugins/sudoers/ldap.c:570 +#, c-format +msgid "unable to initialize SSL cert and key db: %s" +msgstr "" + +#: plugins/sudoers/ldap.c:573 +#, c-format +msgid "you must set TLS_CERT in %s to use SSL" +msgstr "" + +#: plugins/sudoers/ldap.c:1062 +#, c-format +msgid "unable to get GMT time" +msgstr "" + +#: plugins/sudoers/ldap.c:1068 +#, c-format +msgid "unable to format timestamp" +msgstr "" + +#: plugins/sudoers/ldap.c:1076 +#, c-format +msgid "unable to build time filter" +msgstr "" + +#: plugins/sudoers/ldap.c:1295 +#, c-format +msgid "sudo_ldap_build_pass1 allocation mismatch" +msgstr "" + +#: plugins/sudoers/ldap.c:1842 +#, c-format +msgid "" +"\n" +"LDAP Role: %s\n" +msgstr "" + +#: plugins/sudoers/ldap.c:1844 +#, c-format +msgid "" +"\n" +"LDAP Role: UNKNOWN\n" +msgstr "" + +#: plugins/sudoers/ldap.c:1891 +#, c-format +msgid " Order: %s\n" +msgstr "" + +#: plugins/sudoers/ldap.c:1899 plugins/sudoers/parse.c:515 +#: plugins/sudoers/sssd.c:1242 +#, c-format +msgid " Commands:\n" +msgstr "" + +#: plugins/sudoers/ldap.c:2321 +#, c-format +msgid "unable to initialize LDAP: %s" +msgstr "" + +#: plugins/sudoers/ldap.c:2355 +#, c-format +msgid "start_tls specified but LDAP libs do not support ldap_start_tls_s() or ldap_start_tls_s_np()" +msgstr "" + +#: plugins/sudoers/ldap.c:2591 +#, c-format +msgid "invalid sudoOrder attribute: %s" +msgstr "" + +#: plugins/sudoers/linux_audit.c:57 +#, c-format +msgid "unable to open audit system" +msgstr "" + +#: plugins/sudoers/linux_audit.c:93 +#, c-format +msgid "unable to send audit message" +msgstr "" + +#: plugins/sudoers/logging.c:140 +#, c-format +msgid "%8s : %s" +msgstr "" + +#: plugins/sudoers/logging.c:168 +#, c-format +msgid "%8s : (command continued) %s" +msgstr "" + +#: plugins/sudoers/logging.c:194 +#, c-format +msgid "unable to open log file: %s: %s" +msgstr "günlük kütüğü açılamadı: %s: %s" + +#: plugins/sudoers/logging.c:197 +#, c-format +msgid "unable to lock log file: %s: %s" +msgstr "günlük kütüğü kilitlenemedi: %s: %s" + +#: plugins/sudoers/logging.c:245 +msgid "No user or host" +msgstr "Kullanıcı veya ana makine yok" + +#: plugins/sudoers/logging.c:247 +msgid "validation failure" +msgstr "doğrulama başarısız" + +#: plugins/sudoers/logging.c:254 +msgid "user NOT in sudoers" +msgstr "kullancı sudoers içinde DEĞİL" + +#: plugins/sudoers/logging.c:256 +msgid "user NOT authorized on host" +msgstr "kullanıcı ana makine üzerinde yetkili DEĞİL" + +#: plugins/sudoers/logging.c:258 +msgid "command not allowed" +msgstr "komuta izin verilmiyor" + +#: plugins/sudoers/logging.c:288 +#, c-format +msgid "%s is not in the sudoers file. This incident will be reported.\n" +msgstr "%s sudoers dosyası içinde değil. Bu olay rapor edilecek.\n" + +#: plugins/sudoers/logging.c:291 +#, c-format +msgid "%s is not allowed to run sudo on %s. This incident will be reported.\n" +msgstr "%s, %s üzerinde sudoyu çalıştırma iznine sahip değil. Bu olay rapor edilecek.\n" + +#: plugins/sudoers/logging.c:295 +#, c-format +msgid "Sorry, user %s may not run sudo on %s.\n" +msgstr "Üzgünüm, %s kullanıcısı %s üzerinde sudoyu çalıştıramayabilir.\n" + +#: plugins/sudoers/logging.c:298 +#, c-format +msgid "Sorry, user %s is not allowed to execute '%s%s%s' as %s%s%s on %s.\n" +msgstr "Üzgünüm, %s kullanıcısı '%s%s%s' komutunu %s%s%s olarak %s üzerinde çalıştırma iznine sahip değil.\n" + +#: plugins/sudoers/logging.c:335 plugins/sudoers/sudoers.c:383 +#: plugins/sudoers/sudoers.c:384 plugins/sudoers/sudoers.c:386 +#: plugins/sudoers/sudoers.c:387 plugins/sudoers/sudoers.c:1001 +#: plugins/sudoers/sudoers.c:1002 +#, c-format +msgid "%s: command not found" +msgstr "%s: komut bulunamadı" + +#: plugins/sudoers/logging.c:337 plugins/sudoers/sudoers.c:379 +#, c-format +msgid "" +"ignoring `%s' found in '.'\n" +"Use `sudo ./%s' if this is the `%s' you wish to run." +msgstr "" + +#: plugins/sudoers/logging.c:353 +msgid "authentication failure" +msgstr "" + +#: plugins/sudoers/logging.c:379 +msgid "a password is required" +msgstr "" + +#: plugins/sudoers/logging.c:443 plugins/sudoers/logging.c:487 +#, c-format +msgid "%d incorrect password attempt" +msgid_plural "%d incorrect password attempts" +msgstr[0] "" +msgstr[1] "" + +#: plugins/sudoers/logging.c:566 +#, c-format +msgid "unable to fork" +msgstr "" + +#: plugins/sudoers/logging.c:573 plugins/sudoers/logging.c:629 +#, c-format +msgid "unable to fork: %m" +msgstr "" + +#: plugins/sudoers/logging.c:619 +#, c-format +msgid "unable to open pipe: %m" +msgstr "" + +#: plugins/sudoers/logging.c:644 +#, c-format +msgid "unable to dup stdin: %m" +msgstr "" + +#: plugins/sudoers/logging.c:680 +#, c-format +msgid "unable to execute %s: %m" +msgstr "" + +#: plugins/sudoers/logging.c:899 +#, c-format +msgid "internal error: insufficient space for log line" +msgstr "" + +#: plugins/sudoers/match.c:631 +#, c-format +msgid "unsupported digest type %d for %s" +msgstr "" + +#: plugins/sudoers/match.c:661 +#, c-format +msgid "%s: read error" +msgstr "" + +#: plugins/sudoers/match.c:670 +#, c-format +msgid "digest for %s (%s) is not in %s form" +msgstr "" + +#: plugins/sudoers/parse.c:124 +#, c-format +msgid "parse error in %s near line %d" +msgstr "" + +#: plugins/sudoers/parse.c:127 +#, c-format +msgid "parse error in %s" +msgstr "" + +#: plugins/sudoers/parse.c:462 +#, c-format +msgid "" +"\n" +"Sudoers entry:\n" +msgstr "" + +#: plugins/sudoers/parse.c:463 +#, c-format +msgid " RunAsUsers: " +msgstr "" + +#: plugins/sudoers/parse.c:477 +#, c-format +msgid " RunAsGroups: " +msgstr "" + +#: plugins/sudoers/parse.c:486 +#, c-format +msgid " Options: " +msgstr "" + +#: plugins/sudoers/policy.c:517 plugins/sudoers/visudo.c:750 +#, c-format +msgid "unable to execute %s" +msgstr "" + +#: plugins/sudoers/policy.c:659 +#, c-format +msgid "Sudoers policy plugin version %s\n" +msgstr "" + +#: plugins/sudoers/policy.c:661 +#, c-format +msgid "Sudoers file grammar version %d\n" +msgstr "" + +#: plugins/sudoers/policy.c:665 +#, c-format +msgid "" +"\n" +"Sudoers path: %s\n" +msgstr "" + +#: plugins/sudoers/policy.c:668 +#, c-format +msgid "nsswitch path: %s\n" +msgstr "" + +#: plugins/sudoers/policy.c:670 +#, c-format +msgid "ldap.conf path: %s\n" +msgstr "" + +#: plugins/sudoers/policy.c:671 +#, c-format +msgid "ldap.secret path: %s\n" +msgstr "" + +#: plugins/sudoers/pwutil.c:148 +#, c-format +msgid "unable to cache uid %u, already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:190 +#, c-format +msgid "unable to cache user %s, already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:374 +#, c-format +msgid "unable to cache gid %u, already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:410 +#, c-format +msgid "unable to cache group %s, already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:564 plugins/sudoers/pwutil.c:586 +#, c-format +msgid "unable to cache group list for %s, already exists" +msgstr "" + +#: plugins/sudoers/pwutil.c:584 +#, c-format +msgid "unable to parse groups for %s" +msgstr "" + +#: plugins/sudoers/set_perms.c:122 plugins/sudoers/set_perms.c:445 +#: plugins/sudoers/set_perms.c:846 plugins/sudoers/set_perms.c:1141 +#: plugins/sudoers/set_perms.c:1431 +msgid "perm stack overflow" +msgstr "" + +#: plugins/sudoers/set_perms.c:130 plugins/sudoers/set_perms.c:453 +#: plugins/sudoers/set_perms.c:854 plugins/sudoers/set_perms.c:1149 +#: plugins/sudoers/set_perms.c:1439 +msgid "perm stack underflow" +msgstr "" + +#: plugins/sudoers/set_perms.c:189 plugins/sudoers/set_perms.c:500 +#: plugins/sudoers/set_perms.c:1200 plugins/sudoers/set_perms.c:1471 +msgid "unable to change to root gid" +msgstr "" + +#: plugins/sudoers/set_perms.c:278 plugins/sudoers/set_perms.c:597 +#: plugins/sudoers/set_perms.c:983 plugins/sudoers/set_perms.c:1277 +msgid "unable to change to runas gid" +msgstr "" + +#: plugins/sudoers/set_perms.c:290 plugins/sudoers/set_perms.c:609 +#: plugins/sudoers/set_perms.c:993 plugins/sudoers/set_perms.c:1287 +msgid "unable to change to runas uid" +msgstr "" + +#: plugins/sudoers/set_perms.c:308 plugins/sudoers/set_perms.c:627 +#: plugins/sudoers/set_perms.c:1009 plugins/sudoers/set_perms.c:1303 +msgid "unable to change to sudoers gid" +msgstr "" + +#: plugins/sudoers/set_perms.c:361 plugins/sudoers/set_perms.c:698 +#: plugins/sudoers/set_perms.c:1055 plugins/sudoers/set_perms.c:1349 +#: plugins/sudoers/set_perms.c:1515 +msgid "too many processes" +msgstr "" + +#: plugins/sudoers/set_perms.c:1583 +msgid "unable to set runas group vector" +msgstr "" + +#: plugins/sudoers/sssd.c:257 +#, c-format +msgid "unable to initialize SSS source. Is SSSD installed on your machine?" +msgstr "" + +#: plugins/sudoers/sssd.c:263 plugins/sudoers/sssd.c:271 +#: plugins/sudoers/sssd.c:278 plugins/sudoers/sssd.c:285 +#: plugins/sudoers/sssd.c:292 +#, c-format +msgid "unable to find symbol \"%s\" in %s" +msgstr "" + +#: plugins/sudoers/sudo_nss.c:283 +#, c-format +msgid "Matching Defaults entries for %s on this host:\n" +msgstr "" + +#: plugins/sudoers/sudo_nss.c:296 +#, c-format +msgid "Runas and Command-specific defaults for %s:\n" +msgstr "" + +#: plugins/sudoers/sudo_nss.c:309 +#, c-format +msgid "User %s may run the following commands on this host:\n" +msgstr "" + +#: plugins/sudoers/sudo_nss.c:318 +#, c-format +msgid "User %s is not allowed to run sudo on %s.\n" +msgstr "" + +#: plugins/sudoers/sudoers.c:159 plugins/sudoers/sudoers.c:193 +#: plugins/sudoers/sudoers.c:673 +msgid "problem with defaults entries" +msgstr "" + +#: plugins/sudoers/sudoers.c:165 +#, c-format +msgid "no valid sudoers sources found, quitting" +msgstr "" + +#: plugins/sudoers/sudoers.c:227 +#, c-format +msgid "sudoers specifies that root is not allowed to sudo" +msgstr "" + +#: plugins/sudoers/sudoers.c:234 +#, c-format +msgid "you are not permitted to use the -C option" +msgstr "" + +#: plugins/sudoers/sudoers.c:315 +#, c-format +msgid "timestamp owner (%s): No such user" +msgstr "" + +#: plugins/sudoers/sudoers.c:329 +msgid "no tty" +msgstr "" + +#: plugins/sudoers/sudoers.c:330 +#, c-format +msgid "sorry, you must have a tty to run sudo" +msgstr "" + +#: plugins/sudoers/sudoers.c:378 +msgid "command in current directory" +msgstr "" + +#: plugins/sudoers/sudoers.c:395 +#, c-format +msgid "sorry, you are not allowed to preserve the environment" +msgstr "" + +#: plugins/sudoers/sudoers.c:723 plugins/sudoers/timestamp.c:216 +#: plugins/sudoers/timestamp.c:260 plugins/sudoers/timestamp.c:328 +#: plugins/sudoers/visudo.c:310 plugins/sudoers/visudo.c:576 +#, c-format +msgid "unable to stat %s" +msgstr "" + +#: plugins/sudoers/sudoers.c:726 +#, c-format +msgid "%s is not a regular file" +msgstr "" + +#: plugins/sudoers/sudoers.c:729 toke.l:913 +#, c-format +msgid "%s is owned by uid %u, should be %u" +msgstr "" + +#: plugins/sudoers/sudoers.c:733 toke.l:920 +#, c-format +msgid "%s is world writable" +msgstr "" + +#: plugins/sudoers/sudoers.c:736 toke.l:925 +#, c-format +msgid "%s is owned by gid %u, should be %u" +msgstr "" + +#: plugins/sudoers/sudoers.c:763 +#, c-format +msgid "only root can use `-c %s'" +msgstr "" + +#: plugins/sudoers/sudoers.c:780 plugins/sudoers/sudoers.c:782 +#, c-format +msgid "unknown login class: %s" +msgstr "" + +#: plugins/sudoers/sudoers.c:814 +#, c-format +msgid "unable to resolve host %s" +msgstr "" + +#: plugins/sudoers/sudoers.c:866 plugins/sudoers/testsudoers.c:377 +#, c-format +msgid "unknown group: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:292 +#, c-format +msgid "invalid filter option: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:305 +#, c-format +msgid "invalid max wait: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:311 +#, c-format +msgid "invalid speed factor: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:314 plugins/sudoers/visudo.c:179 +#, c-format +msgid "%s version %s\n" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:339 +#, c-format +msgid "%s/%.2s/%.2s/%.2s/timing: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:345 +#, c-format +msgid "%s/%s/timing: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:363 +#, c-format +msgid "Replaying sudo session: %s\n" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:369 +#, c-format +msgid "Warning: your terminal is too small to properly replay the log.\n" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:370 +#, c-format +msgid "Log geometry is %d x %d, your terminal's geometry is %d x %d." +msgstr "" + +#: plugins/sudoers/sudoreplay.c:400 +#, c-format +msgid "unable to set tty to raw mode" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:416 +#, c-format +msgid "invalid timing file line: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:499 +#, c-format +msgid "writing to standard output" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:528 +#, c-format +msgid "nanosleep: tv_sec %ld, tv_nsec %ld" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:641 plugins/sudoers/sudoreplay.c:666 +#, c-format +msgid "ambiguous expression \"%s\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:683 +#, c-format +msgid "too many parenthesized expressions, max %d" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:694 +#, c-format +msgid "unmatched ')' in expression" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:700 +#, c-format +msgid "unknown search term \"%s\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:714 +#, c-format +msgid "%s requires an argument" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:718 plugins/sudoers/sudoreplay.c:1058 +#, c-format +msgid "invalid regular expression: %s" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:724 +#, c-format +msgid "could not parse date \"%s\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:737 +#, c-format +msgid "unmatched '(' in expression" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:739 +#, c-format +msgid "illegal trailing \"or\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:741 +#, c-format +msgid "illegal trailing \"!\"" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1182 +#, c-format +msgid "usage: %s [-h] [-d directory] [-m max_wait] [-s speed_factor] ID\n" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1185 +#, c-format +msgid "usage: %s [-h] [-d directory] -l [search expression]\n" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1194 +#, c-format +msgid "" +"%s - replay sudo session logs\n" +"\n" +msgstr "" + +#: plugins/sudoers/sudoreplay.c:1196 +msgid "" +"\n" +"Options:\n" +" -d directory specify directory for session logs\n" +" -f filter specify which I/O type to display\n" +" -h display help message and exit\n" +" -l [expression] list available session IDs that match expression\n" +" -m max_wait max number of seconds to wait between events\n" +" -s speed_factor speed up or slow down output\n" +" -V display version information and exit" +msgstr "" + +#: plugins/sudoers/testsudoers.c:328 +msgid "\thost unmatched" +msgstr "" + +#: plugins/sudoers/testsudoers.c:331 +msgid "" +"\n" +"Command allowed" +msgstr "" + +#: plugins/sudoers/testsudoers.c:332 +msgid "" +"\n" +"Command denied" +msgstr "" + +#: plugins/sudoers/testsudoers.c:332 +msgid "" +"\n" +"Command unmatched" +msgstr "" + +#: plugins/sudoers/timestamp.c:129 +#, c-format +msgid "timestamp path too long: %s" +msgstr "" + +#: plugins/sudoers/timestamp.c:203 plugins/sudoers/timestamp.c:247 +#: plugins/sudoers/timestamp.c:292 +#, c-format +msgid "%s owned by uid %u, should be uid %u" +msgstr "" + +#: plugins/sudoers/timestamp.c:208 plugins/sudoers/timestamp.c:252 +#, c-format +msgid "%s writable by non-owner (0%o), should be mode 0700" +msgstr "" + +#: plugins/sudoers/timestamp.c:286 +#, c-format +msgid "%s exists but is not a regular file (0%o)" +msgstr "" + +#: plugins/sudoers/timestamp.c:298 +#, c-format +msgid "%s writable by non-owner (0%o), should be mode 0600" +msgstr "" + +#: plugins/sudoers/timestamp.c:353 +#, c-format +msgid "timestamp too far in the future: %20.20s" +msgstr "" + +#: plugins/sudoers/timestamp.c:407 +#, c-format +msgid "unable to remove %s, will reset to the epoch" +msgstr "" + +#: plugins/sudoers/timestamp.c:414 +#, c-format +msgid "unable to reset %s to the epoch" +msgstr "" + +#: plugins/sudoers/toke_util.c:176 +#, c-format +msgid "fill_args: buffer overflow" +msgstr "" + +#: plugins/sudoers/visudo.c:180 +#, c-format +msgid "%s grammar version %d\n" +msgstr "" + +#: plugins/sudoers/visudo.c:243 plugins/sudoers/visudo.c:533 +#, c-format +msgid "press return to edit %s: " +msgstr "" + +#: plugins/sudoers/visudo.c:326 plugins/sudoers/visudo.c:332 +#, c-format +msgid "write error" +msgstr "yazma hatası" + +#: plugins/sudoers/visudo.c:414 +#, c-format +msgid "unable to stat temporary file (%s), %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:419 +#, c-format +msgid "zero length temporary file (%s), %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:425 +#, c-format +msgid "editor (%s) failed, %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:448 +#, c-format +msgid "%s unchanged" +msgstr "%s değişmemiş" + +#: plugins/sudoers/visudo.c:477 +#, c-format +msgid "unable to re-open temporary file (%s), %s unchanged." +msgstr "geçici dosya (%s) yeniden açılamadı, %s değişmemiş." + +#: plugins/sudoers/visudo.c:487 +#, c-format +msgid "unabled to parse temporary file (%s), unknown error" +msgstr "" + +#: plugins/sudoers/visudo.c:526 +#, c-format +msgid "internal error, unable to find %s in list!" +msgstr "" + +#: plugins/sudoers/visudo.c:578 plugins/sudoers/visudo.c:587 +#, c-format +msgid "unable to set (uid, gid) of %s to (%u, %u)" +msgstr "" + +#: plugins/sudoers/visudo.c:582 plugins/sudoers/visudo.c:592 +#, c-format +msgid "unable to change mode of %s to 0%o" +msgstr "" + +#: plugins/sudoers/visudo.c:609 +#, c-format +msgid "%s and %s not on the same file system, using mv to rename" +msgstr "" + +#: plugins/sudoers/visudo.c:623 +#, c-format +msgid "command failed: '%s %s %s', %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:633 +#, c-format +msgid "error renaming %s, %s unchanged" +msgstr "" + +#: plugins/sudoers/visudo.c:695 +msgid "What now? " +msgstr "" + +#: plugins/sudoers/visudo.c:709 +msgid "" +"Options are:\n" +" (e)dit sudoers file again\n" +" e(x)it without saving changes to sudoers file\n" +" (Q)uit and save changes to sudoers file (DANGER!)\n" +msgstr "" + +#: plugins/sudoers/visudo.c:757 +#, c-format +msgid "unable to run %s" +msgstr "%s çalıştırılamadı" + +#: plugins/sudoers/visudo.c:783 +#, c-format +msgid "%s: wrong owner (uid, gid) should be (%u, %u)\n" +msgstr "" + +#: plugins/sudoers/visudo.c:790 +#, c-format +msgid "%s: bad permissions, should be mode 0%o\n" +msgstr "" + +#: plugins/sudoers/visudo.c:815 +#, c-format +msgid "failed to parse %s file, unknown error" +msgstr "%s dosyasının ayrıştırılması başarısız oldu, bilinmeyen hata" + +#: plugins/sudoers/visudo.c:831 +#, c-format +msgid "parse error in %s near line %d\n" +msgstr "%s içindeki %d satırı yakınında ayrıştırma hatası\n" + +#: plugins/sudoers/visudo.c:834 +#, c-format +msgid "parse error in %s\n" +msgstr "%s içinde ayrıştırma hatası\n" + +#: plugins/sudoers/visudo.c:841 plugins/sudoers/visudo.c:846 +#, c-format +msgid "%s: parsed OK\n" +msgstr "%s: ayrıştırma TAMAM\n" + +#: plugins/sudoers/visudo.c:893 +#, c-format +msgid "%s busy, try again later" +msgstr "%s meşgul, daha sonra tekrar deneyin" + +#: plugins/sudoers/visudo.c:937 +#, c-format +msgid "specified editor (%s) doesn't exist" +msgstr "belirtilen düzenleyici (%s) yok" + +#: plugins/sudoers/visudo.c:960 +#, c-format +msgid "unable to stat editor (%s)" +msgstr "düzenleyici (%s) başlatılamadı" + +#: plugins/sudoers/visudo.c:1008 +#, c-format +msgid "no editor found (editor path = %s)" +msgstr "hiçbir düzenleyici bulunamadı (düzenleyici yolu = %s)" + +#: plugins/sudoers/visudo.c:1100 +#, c-format +msgid "Error: cycle in %s_Alias `%s'" +msgstr "" + +#: plugins/sudoers/visudo.c:1101 +#, c-format +msgid "Warning: cycle in %s_Alias `%s'" +msgstr "" + +#: plugins/sudoers/visudo.c:1104 +#, c-format +msgid "Error: %s_Alias `%s' referenced but not defined" +msgstr "" + +#: plugins/sudoers/visudo.c:1105 +#, c-format +msgid "Warning: %s_Alias `%s' referenced but not defined" +msgstr "" + +#: plugins/sudoers/visudo.c:1240 +#, c-format +msgid "%s: unused %s_Alias %s" +msgstr "" + +#: plugins/sudoers/visudo.c:1302 +#, c-format +msgid "" +"%s - safely edit the sudoers file\n" +"\n" +msgstr "" + +#: plugins/sudoers/visudo.c:1304 +msgid "" +"\n" +"Options:\n" +" -c check-only mode\n" +" -f sudoers specify sudoers file location\n" +" -h display help message and exit\n" +" -q less verbose (quiet) syntax error messages\n" +" -s strict syntax checking\n" +" -V display version information and exit" +msgstr "" +"\n" +"Seçenekler:\n" +" -c sadece denetim kipi\n" +" -f sudoers sudoers dosyasının konumu\n" +" -h yardım iletisini görüntüle ve çık\n" +" -q daha az ayrıntılı (sessiz=quiet) sözdizim hata iletileri\n" +" -s sıkı sözdizim denetimi\n" +" -V sürüm bilgisini görüntüle ve çık" + +#: toke.l:886 +msgid "too many levels of includes" +msgstr "" diff --git a/plugins/sudoers/po/uk.mo b/plugins/sudoers/po/uk.mo new file mode 100644 index 0000000..3344b38 Binary files /dev/null and b/plugins/sudoers/po/uk.mo differ diff --git a/plugins/sudoers/po/uk.po b/plugins/sudoers/po/uk.po new file mode 100644 index 0000000..45c864c --- /dev/null +++ b/plugins/sudoers/po/uk.po @@ -0,0 +1,3866 @@ +# Ukrainian translation for sudoers. +# This file is put in the public domain. +# +# Yuri Chornoivan , 2011-2021, 2022, 2023. +msgid "" +msgstr "" +"Project-Id-Version: sudoers 1.9.13b2\n" +"Report-Msgid-Bugs-To: https://bugzilla.sudo.ws\n" +"POT-Creation-Date: 2023-01-24 13:11-0700\n" +"PO-Revision-Date: 2023-01-26 21:00+0200\n" +"Last-Translator: Yuri Chornoivan \n" +"Language-Team: Ukrainian \n" +"Language: uk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=4; plural=n==1 ? 3 : n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"X-Generator: Lokalize 20.12.0\n" + +#: confstr.sh:1 gram.y:1220 plugins/sudoers/logging.c:866 +msgid "syntax error" +msgstr "синтаксична помилка" + +#: confstr.sh:2 +msgid "%p's password: " +msgstr "Пароль %p: " + +#: confstr.sh:3 +msgid "[sudo] password for %p: " +msgstr "[sudo] пароль до %p: " + +#: confstr.sh:4 +msgid "Password: " +msgstr "Пароль: " + +#: confstr.sh:5 +msgid "*** SECURITY information for %h ***" +msgstr "*** Дані щодо ЗАХИСТУ %h ***" + +#: confstr.sh:6 +msgid "Sorry, try again." +msgstr "Вибачте, повторіть спробу." + +#: gram.y:237 gram.y:304 gram.y:313 gram.y:322 gram.y:332 gram.y:342 +#: gram.y:366 gram.y:393 gram.y:402 gram.y:410 gram.y:419 gram.y:428 +#: gram.y:502 gram.y:512 gram.y:524 gram.y:572 gram.y:581 gram.y:590 +#: gram.y:599 gram.y:731 gram.y:739 gram.y:750 gram.y:762 gram.y:781 +#: gram.y:944 gram.y:949 gram.y:957 gram.y:971 gram.y:977 gram.y:1099 +#: gram.y:1108 gram.y:1116 gram.y:1125 gram.y:1134 gram.y:1163 gram.y:1172 +#: gram.y:1180 gram.y:1280 gram.y:1410 gram.y:1777 gram.y:1827 +#: lib/eventlog/eventlog.c:235 lib/eventlog/eventlog.c:312 +#: lib/eventlog/eventlog.c:757 lib/eventlog/eventlog.c:834 +#: lib/eventlog/eventlog.c:1135 lib/iolog/iolog_filter.c:142 +#: lib/iolog/iolog_filter.c:202 lib/iolog/iolog_filter.c:233 +#: lib/iolog/iolog_json.c:150 lib/iolog/iolog_json.c:382 +#: lib/iolog/iolog_json.c:412 lib/iolog/iolog_legacy.c:100 +#: lib/iolog/iolog_legacy.c:111 lib/iolog/iolog_legacy.c:123 +#: lib/iolog/iolog_legacy.c:133 lib/iolog/iolog_legacy.c:139 +#: lib/iolog/iolog_loginfo.c:76 lib/iolog/iolog_loginfo.c:212 +#: logsrvd/iolog_writer.c:95 logsrvd/iolog_writer.c:100 +#: logsrvd/iolog_writer.c:134 logsrvd/iolog_writer.c:182 +#: logsrvd/iolog_writer.c:215 logsrvd/iolog_writer.c:225 +#: logsrvd/iolog_writer.c:254 logsrvd/iolog_writer.c:275 +#: logsrvd/iolog_writer.c:287 logsrvd/iolog_writer.c:297 +#: logsrvd/iolog_writer.c:307 logsrvd/iolog_writer.c:317 +#: logsrvd/iolog_writer.c:329 logsrvd/iolog_writer.c:364 +#: logsrvd/iolog_writer.c:370 logsrvd/iolog_writer.c:377 +#: logsrvd/iolog_writer.c:383 logsrvd/iolog_writer.c:567 +#: logsrvd/logsrv_util.c:69 logsrvd/logsrvd.c:301 logsrvd/logsrvd.c:310 +#: logsrvd/logsrvd.c:1050 logsrvd/logsrvd.c:1113 logsrvd/logsrvd.c:1582 +#: logsrvd/logsrvd.c:1587 logsrvd/logsrvd.c:1771 logsrvd/logsrvd.c:1988 +#: logsrvd/logsrvd_conf.c:357 logsrvd/logsrvd_conf.c:370 +#: logsrvd/logsrvd_conf.c:511 logsrvd/logsrvd_conf.c:534 +#: logsrvd/logsrvd_conf.c:538 logsrvd/logsrvd_conf.c:556 +#: logsrvd/logsrvd_conf.c:626 logsrvd/logsrvd_conf.c:650 +#: logsrvd/logsrvd_conf.c:678 logsrvd/logsrvd_conf.c:692 +#: logsrvd/logsrvd_conf.c:706 logsrvd/logsrvd_conf.c:720 +#: logsrvd/logsrvd_conf.c:734 logsrvd/logsrvd_conf.c:748 +#: logsrvd/logsrvd_conf.c:829 logsrvd/logsrvd_conf.c:1036 +#: logsrvd/logsrvd_conf.c:1053 logsrvd/logsrvd_conf.c:1448 +#: logsrvd/logsrvd_conf.c:1595 logsrvd/logsrvd_conf.c:1621 +#: logsrvd/logsrvd_conf.c:1633 logsrvd/logsrvd_conf.c:1640 +#: logsrvd/logsrvd_conf.c:1646 logsrvd/logsrvd_conf.c:1743 +#: logsrvd/logsrvd_journal.c:76 logsrvd/logsrvd_journal.c:216 +#: logsrvd/logsrvd_journal.c:217 logsrvd/logsrvd_journal.c:273 +#: logsrvd/logsrvd_journal.c:433 logsrvd/logsrvd_journal.c:435 +#: logsrvd/logsrvd_local.c:215 logsrvd/logsrvd_local.c:216 +#: logsrvd/logsrvd_local.c:278 logsrvd/logsrvd_local.c:279 +#: logsrvd/logsrvd_local.c:417 logsrvd/logsrvd_local.c:466 +#: logsrvd/logsrvd_local.c:467 logsrvd/logsrvd_local.c:472 +#: logsrvd/logsrvd_local.c:473 logsrvd/logsrvd_queue.c:159 +#: logsrvd/logsrvd_queue.c:189 logsrvd/logsrvd_queue.c:266 +#: logsrvd/logsrvd_relay.c:444 logsrvd/logsrvd_relay.c:743 +#: logsrvd/logsrvd_relay.c:850 logsrvd/sendlog.c:251 logsrvd/sendlog.c:260 +#: logsrvd/sendlog.c:291 logsrvd/sendlog.c:338 logsrvd/sendlog.c:615 +#: logsrvd/sendlog.c:1801 plugins/sudoers/audit.c:116 +#: plugins/sudoers/auth/bsdauth.c:150 plugins/sudoers/auth/kerb5.c:121 +#: plugins/sudoers/auth/kerb5.c:148 plugins/sudoers/auth/pam.c:687 +#: plugins/sudoers/auth/rfc1938.c:111 plugins/sudoers/auth/sia.c:59 +#: plugins/sudoers/check_aliases.c:168 plugins/sudoers/cvtsudoers.c:131 +#: plugins/sudoers/cvtsudoers.c:175 plugins/sudoers/cvtsudoers.c:192 +#: plugins/sudoers/cvtsudoers.c:203 plugins/sudoers/cvtsudoers.c:333 +#: plugins/sudoers/cvtsudoers.c:372 plugins/sudoers/cvtsudoers.c:392 +#: plugins/sudoers/cvtsudoers.c:537 plugins/sudoers/cvtsudoers.c:670 +#: plugins/sudoers/cvtsudoers.c:688 plugins/sudoers/cvtsudoers.c:862 +#: plugins/sudoers/cvtsudoers.c:870 plugins/sudoers/cvtsudoers.c:1365 +#: plugins/sudoers/cvtsudoers.c:1369 plugins/sudoers/cvtsudoers.c:1471 +#: plugins/sudoers/cvtsudoers_csv.c:183 plugins/sudoers/cvtsudoers_csv.c:246 +#: plugins/sudoers/cvtsudoers_json.c:76 plugins/sudoers/cvtsudoers_ldif.c:151 +#: plugins/sudoers/cvtsudoers_ldif.c:194 plugins/sudoers/cvtsudoers_ldif.c:235 +#: plugins/sudoers/cvtsudoers_ldif.c:300 plugins/sudoers/cvtsudoers_ldif.c:376 +#: plugins/sudoers/cvtsudoers_ldif.c:430 plugins/sudoers/cvtsudoers_ldif.c:438 +#: plugins/sudoers/cvtsudoers_ldif.c:449 plugins/sudoers/cvtsudoers_ldif.c:456 +#: plugins/sudoers/cvtsudoers_ldif.c:468 plugins/sudoers/cvtsudoers_ldif.c:481 +#: plugins/sudoers/cvtsudoers_ldif.c:489 plugins/sudoers/cvtsudoers_ldif.c:636 +#: plugins/sudoers/cvtsudoers_merge.c:47 plugins/sudoers/cvtsudoers_merge.c:52 +#: plugins/sudoers/cvtsudoers_merge.c:353 +#: plugins/sudoers/cvtsudoers_merge.c:399 +#: plugins/sudoers/cvtsudoers_merge.c:446 +#: plugins/sudoers/cvtsudoers_merge.c:467 +#: plugins/sudoers/cvtsudoers_merge.c:553 +#: plugins/sudoers/cvtsudoers_merge.c:564 +#: plugins/sudoers/cvtsudoers_merge.c:633 +#: plugins/sudoers/cvtsudoers_merge.c:1158 +#: plugins/sudoers/cvtsudoers_merge.c:1231 plugins/sudoers/defaults.c:434 +#: plugins/sudoers/defaults.c:658 plugins/sudoers/defaults.c:1019 +#: plugins/sudoers/defaults.c:1187 plugins/sudoers/editor.c:197 +#: plugins/sudoers/env.c:263 plugins/sudoers/exptilde.c:92 +#: plugins/sudoers/filedigest.c:54 plugins/sudoers/filedigest.c:70 +#: plugins/sudoers/gc.c:57 plugins/sudoers/group_plugin.c:212 +#: plugins/sudoers/interfaces.c:68 plugins/sudoers/iolog.c:268 +#: plugins/sudoers/iolog.c:668 plugins/sudoers/iolog.c:694 +#: plugins/sudoers/ldap.c:184 plugins/sudoers/ldap.c:466 +#: plugins/sudoers/ldap.c:757 plugins/sudoers/ldap.c:921 +#: plugins/sudoers/ldap.c:1337 plugins/sudoers/ldap.c:1763 +#: plugins/sudoers/ldap.c:1800 plugins/sudoers/ldap.c:2016 +#: plugins/sudoers/ldap.c:2117 plugins/sudoers/ldap.c:2133 +#: plugins/sudoers/ldap_conf.c:218 plugins/sudoers/ldap_conf.c:250 +#: plugins/sudoers/ldap_conf.c:302 plugins/sudoers/ldap_conf.c:338 +#: plugins/sudoers/ldap_conf.c:444 plugins/sudoers/ldap_conf.c:459 +#: plugins/sudoers/ldap_conf.c:564 plugins/sudoers/ldap_conf.c:597 +#: plugins/sudoers/ldap_conf.c:689 plugins/sudoers/ldap_conf.c:771 +#: plugins/sudoers/ldap_util.c:294 plugins/sudoers/ldap_util.c:301 +#: plugins/sudoers/ldap_util.c:614 plugins/sudoers/linux_audit.c:86 +#: plugins/sudoers/log_client.c:117 plugins/sudoers/log_client.c:402 +#: plugins/sudoers/log_client.c:715 plugins/sudoers/log_client.c:736 +#: plugins/sudoers/log_client.c:1415 plugins/sudoers/log_client.c:1536 +#: plugins/sudoers/log_client.c:1636 plugins/sudoers/log_client.c:1972 +#: plugins/sudoers/log_client.c:2031 plugins/sudoers/logging.c:110 +#: plugins/sudoers/logging.c:189 plugins/sudoers/logging.c:457 +#: plugins/sudoers/logging.c:672 plugins/sudoers/logging.c:809 +#: plugins/sudoers/match_command.c:335 plugins/sudoers/match_command.c:603 +#: plugins/sudoers/match_command.c:654 plugins/sudoers/match_command.c:728 +#: plugins/sudoers/match_command.c:776 plugins/sudoers/match_digest.c:93 +#: plugins/sudoers/parse.c:267 plugins/sudoers/parse.c:284 +#: plugins/sudoers/parse.c:303 plugins/sudoers/parse.c:322 +#: plugins/sudoers/parse.c:339 plugins/sudoers/parse.c:362 +#: plugins/sudoers/parse.c:373 plugins/sudoers/parse_ldif.c:153 +#: plugins/sudoers/parse_ldif.c:184 plugins/sudoers/parse_ldif.c:253 +#: plugins/sudoers/parse_ldif.c:261 plugins/sudoers/parse_ldif.c:266 +#: plugins/sudoers/parse_ldif.c:342 plugins/sudoers/parse_ldif.c:353 +#: plugins/sudoers/parse_ldif.c:380 plugins/sudoers/parse_ldif.c:397 +#: plugins/sudoers/parse_ldif.c:409 plugins/sudoers/parse_ldif.c:413 +#: plugins/sudoers/parse_ldif.c:427 plugins/sudoers/parse_ldif.c:484 +#: plugins/sudoers/parse_ldif.c:598 plugins/sudoers/parse_ldif.c:628 +#: plugins/sudoers/parse_ldif.c:653 plugins/sudoers/parse_ldif.c:711 +#: plugins/sudoers/parse_ldif.c:728 plugins/sudoers/parse_ldif.c:756 +#: plugins/sudoers/parse_ldif.c:763 plugins/sudoers/policy.c:626 +#: plugins/sudoers/policy.c:1033 plugins/sudoers/prompt.c:93 +#: plugins/sudoers/pwutil.c:199 plugins/sudoers/pwutil.c:270 +#: plugins/sudoers/pwutil.c:348 plugins/sudoers/pwutil.c:522 +#: plugins/sudoers/pwutil.c:587 plugins/sudoers/pwutil.c:659 +#: plugins/sudoers/pwutil.c:857 plugins/sudoers/pwutil.c:945 +#: plugins/sudoers/pwutil.c:993 plugins/sudoers/pwutil.c:1052 +#: plugins/sudoers/sssd.c:145 plugins/sudoers/sssd.c:185 +#: plugins/sudoers/sssd.c:414 plugins/sudoers/sssd.c:479 +#: plugins/sudoers/sssd.c:505 plugins/sudoers/sssd.c:568 +#: plugins/sudoers/sssd.c:761 plugins/sudoers/strvec_join.c:53 +#: plugins/sudoers/stubs.c:112 plugins/sudoers/stubs.c:120 +#: plugins/sudoers/sudoers.c:354 plugins/sudoers/sudoers.c:380 +#: plugins/sudoers/sudoers.c:447 plugins/sudoers/sudoers.c:464 +#: plugins/sudoers/sudoers.c:505 plugins/sudoers/sudoers.c:849 +#: plugins/sudoers/sudoers.c:902 plugins/sudoers/sudoers.c:1054 +#: plugins/sudoers/sudoers.c:1114 plugins/sudoers/sudoers.c:1369 +#: plugins/sudoers/sudoreplay.c:559 plugins/sudoers/sudoreplay.c:562 +#: plugins/sudoers/sudoreplay.c:1278 plugins/sudoers/sudoreplay.c:1334 +#: plugins/sudoers/sudoreplay.c:1530 plugins/sudoers/sudoreplay.c:1534 +#: plugins/sudoers/testsudoers.c:120 plugins/sudoers/testsudoers.c:224 +#: plugins/sudoers/testsudoers.c:241 plugins/sudoers/testsudoers.c:588 +#: plugins/sudoers/timestamp.c:451 plugins/sudoers/timestamp.c:495 +#: plugins/sudoers/timestamp.c:1017 plugins/sudoers/timestamp.c:1146 +#: plugins/sudoers/toke_util.c:78 plugins/sudoers/toke_util.c:106 +#: plugins/sudoers/toke_util.c:131 plugins/sudoers/toke_util.c:161 +#: plugins/sudoers/toke_util.c:200 plugins/sudoers/tsdump.c:123 +#: plugins/sudoers/visudo.c:150 plugins/sudoers/visudo.c:385 +#: plugins/sudoers/visudo.c:391 plugins/sudoers/visudo.c:502 +#: plugins/sudoers/visudo.c:1056 toke.l:1031 toke.l:1163 toke.l:1234 +msgid "unable to allocate memory" +msgstr "не вдалося отримати потрібний об’єм пам’яті" + +#: gram.y:623 +msgid "a digest requires a path name" +msgstr "для контрольної суми слід вказати шлях" + +#: gram.y:645 +msgid "values for \"CWD\" must start with a '/', '~', or '*'" +msgstr "значення «CWD» мають починатися з «/», «~» або «*»" + +#: gram.y:651 +msgid "\"CWD\" path too long" +msgstr "Шлях «CWD» є надто довгим" + +#: gram.y:661 +msgid "values for \"CHROOT\" must start with a '/', '~', or '*'" +msgstr "значення «CHROOT» мають починатися з «/», «~» або «*»" + +#: gram.y:667 +msgid "\"CHROOT\" path too long" +msgstr "Шлях «CHROOT» є надто довгим" + +#: gram.y:802 +#, c-format +msgid "syntax error, reserved word %s used as an alias name" +msgstr "синтаксична помилка, як назву замінника використано зарезервоване слово %s" + +#: gram.y:825 +msgid "invalid notbefore value" +msgstr "некоректне значення notbefore" + +#: gram.y:834 +msgid "invalid notafter value" +msgstr "некоректне значення notafter" + +#: gram.y:844 plugins/sudoers/policy.c:385 +msgid "timeout value too large" +msgstr "значення часу очікування є надто великим" + +#: gram.y:846 plugins/sudoers/policy.c:387 +msgid "invalid timeout value" +msgstr "некоректне значення часу очікування" + +#: gram.y:967 plugins/sudoers/sudoers.c:1072 +msgid "command too long" +msgstr "надто довга команда" + +#: gram.y:1224 plugins/sudoers/check_aliases.c:96 +#: plugins/sudoers/defaults.c:1276 +#, c-format +msgid "%s:%d:%d: %s\n" +msgstr "%s:%d:%d: %s\n" + +#: gram.y:1278 +#, c-format +msgid "Alias \"%s\" already defined" +msgstr "Замінник «%s» вже визначено" + +#: gram.y:1777 gram.y:1827 lib/eventlog/eventlog.c:235 +#: lib/eventlog/eventlog.c:757 lib/eventlog/eventlog.c:830 +#: lib/eventlog/eventlog.c:833 lib/eventlog/eventlog.c:1135 +#: lib/iolog/iolog_filter.c:142 lib/iolog/iolog_filter.c:202 +#: lib/iolog/iolog_filter.c:232 lib/iolog/iolog_json.c:150 +#: lib/iolog/iolog_json.c:381 lib/iolog/iolog_json.c:412 +#: lib/iolog/iolog_legacy.c:100 lib/iolog/iolog_legacy.c:111 +#: lib/iolog/iolog_legacy.c:123 lib/iolog/iolog_legacy.c:133 +#: lib/iolog/iolog_legacy.c:139 lib/iolog/iolog_loginfo.c:76 +#: lib/iolog/iolog_loginfo.c:212 logsrvd/iolog_writer.c:95 +#: logsrvd/iolog_writer.c:100 logsrvd/iolog_writer.c:134 +#: logsrvd/iolog_writer.c:171 logsrvd/iolog_writer.c:181 +#: logsrvd/iolog_writer.c:194 logsrvd/iolog_writer.c:214 +#: logsrvd/iolog_writer.c:224 logsrvd/iolog_writer.c:243 +#: logsrvd/iolog_writer.c:253 logsrvd/iolog_writer.c:264 +#: logsrvd/iolog_writer.c:274 logsrvd/iolog_writer.c:286 +#: logsrvd/iolog_writer.c:296 logsrvd/iolog_writer.c:306 +#: logsrvd/iolog_writer.c:316 logsrvd/iolog_writer.c:328 +#: logsrvd/iolog_writer.c:364 logsrvd/iolog_writer.c:370 +#: logsrvd/iolog_writer.c:377 logsrvd/iolog_writer.c:383 +#: logsrvd/iolog_writer.c:567 logsrvd/logsrv_util.c:69 logsrvd/logsrvd.c:301 +#: logsrvd/logsrvd.c:310 logsrvd/logsrvd.c:453 logsrvd/logsrvd.c:490 +#: logsrvd/logsrvd.c:522 logsrvd/logsrvd.c:576 logsrvd/logsrvd.c:611 +#: logsrvd/logsrvd.c:660 logsrvd/logsrvd.c:696 logsrvd/logsrvd.c:732 +#: logsrvd/logsrvd.c:1124 logsrvd/logsrvd.c:1439 logsrvd/logsrvd.c:1446 +#: logsrvd/logsrvd.c:1582 logsrvd/logsrvd.c:1587 logsrvd/logsrvd.c:1771 +#: logsrvd/logsrvd.c:1988 logsrvd/logsrvd_conf.c:357 +#: logsrvd/logsrvd_conf.c:370 logsrvd/logsrvd_conf.c:511 +#: logsrvd/logsrvd_conf.c:534 logsrvd/logsrvd_conf.c:538 +#: logsrvd/logsrvd_conf.c:556 logsrvd/logsrvd_conf.c:626 +#: logsrvd/logsrvd_conf.c:649 logsrvd/logsrvd_conf.c:678 +#: logsrvd/logsrvd_conf.c:692 logsrvd/logsrvd_conf.c:706 +#: logsrvd/logsrvd_conf.c:720 logsrvd/logsrvd_conf.c:734 +#: logsrvd/logsrvd_conf.c:748 logsrvd/logsrvd_conf.c:829 +#: logsrvd/logsrvd_conf.c:1036 logsrvd/logsrvd_conf.c:1053 +#: logsrvd/logsrvd_conf.c:1448 logsrvd/logsrvd_conf.c:1595 +#: logsrvd/logsrvd_conf.c:1621 logsrvd/logsrvd_conf.c:1633 +#: logsrvd/logsrvd_conf.c:1640 logsrvd/logsrvd_conf.c:1646 +#: logsrvd/logsrvd_conf.c:1742 logsrvd/logsrvd_journal.c:76 +#: logsrvd/logsrvd_journal.c:125 logsrvd/logsrvd_journal.c:216 +#: logsrvd/logsrvd_journal.c:246 logsrvd/logsrvd_journal.c:250 +#: logsrvd/logsrvd_journal.c:258 logsrvd/logsrvd_journal.c:281 +#: logsrvd/logsrvd_journal.c:285 logsrvd/logsrvd_journal.c:433 +#: logsrvd/logsrvd_local.c:215 logsrvd/logsrvd_local.c:278 +#: logsrvd/logsrvd_local.c:466 logsrvd/logsrvd_local.c:472 +#: logsrvd/logsrvd_local.c:491 logsrvd/logsrvd_queue.c:158 +#: logsrvd/logsrvd_queue.c:189 logsrvd/logsrvd_queue.c:266 +#: logsrvd/sendlog.c:251 logsrvd/sendlog.c:260 logsrvd/sendlog.c:291 +#: logsrvd/sendlog.c:338 logsrvd/sendlog.c:615 logsrvd/sendlog.c:1503 +#: logsrvd/sendlog.c:1510 logsrvd/sendlog.c:1733 logsrvd/sendlog.c:1801 +#: logsrvd/tls_init.c:305 logsrvd/tls_init.c:329 logsrvd/tls_init.c:340 +#: plugins/sudoers/audit.c:116 plugins/sudoers/auth/pam.c:502 +#: plugins/sudoers/auth/pam.c:687 plugins/sudoers/auth/rfc1938.c:111 +#: plugins/sudoers/check_aliases.c:168 plugins/sudoers/cvtsudoers.c:131 +#: plugins/sudoers/cvtsudoers.c:174 plugins/sudoers/cvtsudoers.c:191 +#: plugins/sudoers/cvtsudoers.c:202 plugins/sudoers/cvtsudoers.c:332 +#: plugins/sudoers/cvtsudoers.c:536 plugins/sudoers/cvtsudoers.c:669 +#: plugins/sudoers/cvtsudoers.c:687 plugins/sudoers/cvtsudoers.c:862 +#: plugins/sudoers/cvtsudoers.c:869 plugins/sudoers/cvtsudoers.c:1365 +#: plugins/sudoers/cvtsudoers.c:1369 plugins/sudoers/cvtsudoers.c:1471 +#: plugins/sudoers/cvtsudoers_csv.c:182 plugins/sudoers/cvtsudoers_csv.c:245 +#: plugins/sudoers/cvtsudoers_json.c:75 plugins/sudoers/cvtsudoers_ldif.c:150 +#: plugins/sudoers/cvtsudoers_ldif.c:193 plugins/sudoers/cvtsudoers_ldif.c:234 +#: plugins/sudoers/cvtsudoers_ldif.c:299 plugins/sudoers/cvtsudoers_ldif.c:375 +#: plugins/sudoers/cvtsudoers_ldif.c:429 plugins/sudoers/cvtsudoers_ldif.c:437 +#: plugins/sudoers/cvtsudoers_ldif.c:448 plugins/sudoers/cvtsudoers_ldif.c:455 +#: plugins/sudoers/cvtsudoers_ldif.c:467 plugins/sudoers/cvtsudoers_ldif.c:480 +#: plugins/sudoers/cvtsudoers_ldif.c:488 plugins/sudoers/cvtsudoers_ldif.c:635 +#: plugins/sudoers/cvtsudoers_merge.c:47 plugins/sudoers/cvtsudoers_merge.c:51 +#: plugins/sudoers/cvtsudoers_merge.c:353 +#: plugins/sudoers/cvtsudoers_merge.c:399 +#: plugins/sudoers/cvtsudoers_merge.c:445 +#: plugins/sudoers/cvtsudoers_merge.c:466 +#: plugins/sudoers/cvtsudoers_merge.c:553 +#: plugins/sudoers/cvtsudoers_merge.c:561 +#: plugins/sudoers/cvtsudoers_merge.c:564 +#: plugins/sudoers/cvtsudoers_merge.c:630 +#: plugins/sudoers/cvtsudoers_merge.c:633 +#: plugins/sudoers/cvtsudoers_merge.c:1157 +#: plugins/sudoers/cvtsudoers_merge.c:1231 plugins/sudoers/defaults.c:434 +#: plugins/sudoers/defaults.c:658 plugins/sudoers/defaults.c:1019 +#: plugins/sudoers/defaults.c:1187 plugins/sudoers/editor.c:197 +#: plugins/sudoers/env.c:263 plugins/sudoers/exptilde.c:92 +#: plugins/sudoers/filedigest.c:54 plugins/sudoers/filedigest.c:70 +#: plugins/sudoers/gc.c:57 plugins/sudoers/group_plugin.c:211 +#: plugins/sudoers/interfaces.c:68 plugins/sudoers/iolog.c:268 +#: plugins/sudoers/iolog.c:668 plugins/sudoers/iolog.c:694 +#: plugins/sudoers/ldap.c:184 plugins/sudoers/ldap.c:466 +#: plugins/sudoers/ldap.c:757 plugins/sudoers/ldap.c:921 +#: plugins/sudoers/ldap.c:1337 plugins/sudoers/ldap.c:1763 +#: plugins/sudoers/ldap.c:1800 plugins/sudoers/ldap.c:2016 +#: plugins/sudoers/ldap.c:2117 plugins/sudoers/ldap.c:2133 +#: plugins/sudoers/ldap_conf.c:218 plugins/sudoers/ldap_conf.c:250 +#: plugins/sudoers/ldap_conf.c:302 plugins/sudoers/ldap_conf.c:338 +#: plugins/sudoers/ldap_conf.c:444 plugins/sudoers/ldap_conf.c:459 +#: plugins/sudoers/ldap_conf.c:564 plugins/sudoers/ldap_conf.c:597 +#: plugins/sudoers/ldap_conf.c:688 plugins/sudoers/ldap_conf.c:771 +#: plugins/sudoers/ldap_util.c:293 plugins/sudoers/ldap_util.c:300 +#: plugins/sudoers/ldap_util.c:614 plugins/sudoers/linux_audit.c:86 +#: plugins/sudoers/log_client.c:117 plugins/sudoers/log_client.c:228 +#: plugins/sudoers/log_client.c:250 plugins/sudoers/log_client.c:264 +#: plugins/sudoers/log_client.c:402 plugins/sudoers/log_client.c:715 +#: plugins/sudoers/log_client.c:736 plugins/sudoers/log_client.c:1415 +#: plugins/sudoers/log_client.c:1536 plugins/sudoers/log_client.c:1636 +#: plugins/sudoers/log_client.c:1972 plugins/sudoers/log_client.c:2031 +#: plugins/sudoers/logging.c:110 plugins/sudoers/logging.c:188 +#: plugins/sudoers/logging.c:189 plugins/sudoers/logging.c:457 +#: plugins/sudoers/logging.c:672 plugins/sudoers/logging.c:809 +#: plugins/sudoers/logging.c:880 plugins/sudoers/logging.c:892 +#: plugins/sudoers/match_command.c:334 plugins/sudoers/match_command.c:602 +#: plugins/sudoers/match_command.c:653 plugins/sudoers/match_command.c:728 +#: plugins/sudoers/match_command.c:775 plugins/sudoers/match_digest.c:93 +#: plugins/sudoers/parse.c:266 plugins/sudoers/parse.c:283 +#: plugins/sudoers/parse.c:302 plugins/sudoers/parse.c:321 +#: plugins/sudoers/parse.c:338 plugins/sudoers/parse.c:361 +#: plugins/sudoers/parse.c:372 plugins/sudoers/parse_ldif.c:152 +#: plugins/sudoers/parse_ldif.c:183 plugins/sudoers/parse_ldif.c:252 +#: plugins/sudoers/parse_ldif.c:260 plugins/sudoers/parse_ldif.c:265 +#: plugins/sudoers/parse_ldif.c:341 plugins/sudoers/parse_ldif.c:352 +#: plugins/sudoers/parse_ldif.c:379 plugins/sudoers/parse_ldif.c:396 +#: plugins/sudoers/parse_ldif.c:408 plugins/sudoers/parse_ldif.c:412 +#: plugins/sudoers/parse_ldif.c:426 plugins/sudoers/parse_ldif.c:484 +#: plugins/sudoers/parse_ldif.c:598 plugins/sudoers/parse_ldif.c:627 +#: plugins/sudoers/parse_ldif.c:652 plugins/sudoers/parse_ldif.c:710 +#: plugins/sudoers/parse_ldif.c:727 plugins/sudoers/parse_ldif.c:755 +#: plugins/sudoers/parse_ldif.c:762 plugins/sudoers/policy.c:154 +#: plugins/sudoers/policy.c:163 plugins/sudoers/policy.c:172 +#: plugins/sudoers/policy.c:201 plugins/sudoers/policy.c:370 +#: plugins/sudoers/policy.c:385 plugins/sudoers/policy.c:387 +#: plugins/sudoers/policy.c:425 plugins/sudoers/policy.c:434 +#: plugins/sudoers/policy.c:482 plugins/sudoers/policy.c:492 +#: plugins/sudoers/policy.c:501 plugins/sudoers/policy.c:510 +#: plugins/sudoers/policy.c:519 plugins/sudoers/policy.c:626 +#: plugins/sudoers/policy.c:1033 plugins/sudoers/prompt.c:93 +#: plugins/sudoers/pwutil.c:199 plugins/sudoers/pwutil.c:270 +#: plugins/sudoers/pwutil.c:348 plugins/sudoers/pwutil.c:522 +#: plugins/sudoers/pwutil.c:587 plugins/sudoers/pwutil.c:659 +#: plugins/sudoers/pwutil.c:857 plugins/sudoers/pwutil.c:945 +#: plugins/sudoers/pwutil.c:993 plugins/sudoers/pwutil.c:1052 +#: plugins/sudoers/set_perms.c:363 plugins/sudoers/set_perms.c:706 +#: plugins/sudoers/set_perms.c:1073 plugins/sudoers/set_perms.c:1380 +#: plugins/sudoers/set_perms.c:1549 plugins/sudoers/sssd.c:144 +#: plugins/sudoers/sssd.c:185 plugins/sudoers/sssd.c:414 +#: plugins/sudoers/sssd.c:479 plugins/sudoers/sssd.c:505 +#: plugins/sudoers/sssd.c:568 plugins/sudoers/sssd.c:761 +#: plugins/sudoers/strvec_join.c:53 plugins/sudoers/stubs.c:112 +#: plugins/sudoers/stubs.c:120 plugins/sudoers/sudoers.c:354 +#: plugins/sudoers/sudoers.c:380 plugins/sudoers/sudoers.c:447 +#: plugins/sudoers/sudoers.c:464 plugins/sudoers/sudoers.c:505 +#: plugins/sudoers/sudoers.c:849 plugins/sudoers/sudoers.c:902 +#: plugins/sudoers/sudoers.c:1054 plugins/sudoers/sudoers.c:1114 +#: plugins/sudoers/sudoers.c:1369 plugins/sudoers/sudoreplay.c:559 +#: plugins/sudoers/sudoreplay.c:562 plugins/sudoers/sudoreplay.c:1278 +#: plugins/sudoers/sudoreplay.c:1334 plugins/sudoers/sudoreplay.c:1530 +#: plugins/sudoers/sudoreplay.c:1534 plugins/sudoers/testsudoers.c:120 +#: plugins/sudoers/testsudoers.c:224 plugins/sudoers/testsudoers.c:241 +#: plugins/sudoers/testsudoers.c:588 plugins/sudoers/timestamp.c:451 +#: plugins/sudoers/timestamp.c:495 plugins/sudoers/timestamp.c:1017 +#: plugins/sudoers/timestamp.c:1146 plugins/sudoers/toke_util.c:78 +#: plugins/sudoers/toke_util.c:106 plugins/sudoers/toke_util.c:131 +#: plugins/sudoers/toke_util.c:160 plugins/sudoers/toke_util.c:200 +#: plugins/sudoers/tsdump.c:123 plugins/sudoers/visudo.c:150 +#: plugins/sudoers/visudo.c:385 plugins/sudoers/visudo.c:391 +#: plugins/sudoers/visudo.c:502 plugins/sudoers/visudo.c:1056 toke.l:1031 +#: toke.l:1163 toke.l:1226 toke.l:1234 +#, c-format +msgid "%s: %s" +msgstr "%s: %s" + +#: lib/eventlog/eventlog.c:303 +#, c-format +msgid "unable to dup stdin: %m" +msgstr "не вдалося здублювати stdin: %m" + +#: lib/eventlog/eventlog.c:345 +#, c-format +msgid "unable to execute %s: %m" +msgstr "не вдалося виконати %s: %m" + +#: lib/eventlog/eventlog.c:393 plugins/sudoers/auth/aix_auth.c:198 +msgid "unable to fork" +msgstr "не вдалося створити відгалуження" + +#: lib/eventlog/eventlog.c:403 lib/eventlog/eventlog.c:468 +#, c-format +msgid "unable to fork: %m" +msgstr "не вдалося створити відгалуження: %m" + +#: lib/eventlog/eventlog.c:458 +#, c-format +msgid "unable to open pipe: %m" +msgstr "не вдалося відкрити канал: %m" + +#: lib/eventlog/eventlog.c:960 +#, c-format +msgid "%8s : %s" +msgstr "%8s : %s" + +#: lib/eventlog/eventlog.c:989 +#, c-format +msgid "%8s : (command continued) %s" +msgstr "%8s : (команда продовжується) %s" + +#: lib/iolog/iolog_filter.c:133 plugins/sudoers/defaults.c:1242 +#: plugins/sudoers/sudoreplay.c:1290 plugins/sudoers/sudoreplay.c:1586 +#, c-format +msgid "invalid regular expression \"%s\": %s" +msgstr "некоректний формальний вираз «%s»: %s" + +#: lib/iolog/iolog_json.c:140 +#, c-format +msgid "expected JSON_STRING, got %d" +msgstr "мало бути використано JSON_STRING, отримано %d" + +#: lib/iolog/iolog_json.c:145 +msgid "JSON_ARRAY too large" +msgstr "JSON_ARRAY є надто великим" + +#: lib/iolog/iolog_json.c:404 +msgid "missing double quote in name" +msgstr "пропущено подвійні лапки у назві" + +#: lib/iolog/iolog_json.c:511 +msgid "missing JSON_OBJECT" +msgstr "пропущено JSON_OBJECT" + +#: lib/iolog/iolog_json.c:515 +#, c-format +msgid "expected JSON_OBJECT, got %d" +msgstr "мало бути використано JSON_OBJECT, отримано %d" + +#: lib/iolog/iolog_json.c:632 +#, c-format +msgid "json stack exhausted (max %u frames)" +msgstr "вичерпано стек json (у стеку має бути не більше %u кадрів)" + +#: lib/iolog/iolog_json.c:706 +msgid "objects must consist of name:value pairs" +msgstr "об'єкти мають складатися з пар «назва:значення»" + +#: lib/iolog/iolog_json.c:711 lib/iolog/iolog_json.c:742 +#: lib/iolog/iolog_json.c:786 lib/iolog/iolog_json.c:808 +#: lib/iolog/iolog_json.c:830 lib/iolog/iolog_json.c:852 +#: lib/iolog/iolog_json.c:874 +msgid "missing separator between values" +msgstr "пропущено роздільник між значеннями" + +#: lib/iolog/iolog_json.c:726 lib/iolog/iolog_json.c:900 +msgid "unmatched close brace" +msgstr "завершальна фігурна дужка без початкової" + +#: lib/iolog/iolog_json.c:737 +msgid "unexpected array" +msgstr "неочікуваний масив" + +#: lib/iolog/iolog_json.c:757 lib/iolog/iolog_json.c:903 +msgid "unmatched close bracket" +msgstr "завершальна дужка без початкової" + +#: lib/iolog/iolog_json.c:768 +msgid "unexpected string" +msgstr "неочікуваний рядок" + +#: lib/iolog/iolog_json.c:779 +msgid "missing colon after name" +msgstr "пропущено двокрапку після назви" + +#: lib/iolog/iolog_json.c:800 lib/iolog/iolog_json.c:822 +msgid "unexpected boolean" +msgstr "неочікуване булеве значення" + +#: lib/iolog/iolog_json.c:844 +msgid "unexpected null" +msgstr "неочікуване порожнє значення" + +#: lib/iolog/iolog_json.c:865 +msgid "unexpected number" +msgstr "неочікуване число" + +#: lib/iolog/iolog_json.c:912 +msgid "parse error" +msgstr "помилка обробки" + +#: lib/iolog/iolog_legacy.c:65 +#, c-format +msgid "%s: invalid log file" +msgstr "%s: некоректний файл журналу" + +#: lib/iolog/iolog_legacy.c:83 +#, c-format +msgid "%s: time stamp field is missing" +msgstr "%s: не вказано даних щодо часової позначки" + +#: lib/iolog/iolog_legacy.c:89 +#, c-format +msgid "%s: time stamp %s: %s" +msgstr "%s: часова позначка %s: %s" + +#: lib/iolog/iolog_legacy.c:96 +#, c-format +msgid "%s: user field is missing" +msgstr "%s: не вказано даних щодо користувача" + +#: lib/iolog/iolog_legacy.c:107 +#, c-format +msgid "%s: runas user field is missing" +msgstr "%s: не вказано даних щодо користувача, від імені якого відбуватиметься виконання" + +#: lib/iolog/iolog_legacy.c:118 +#, c-format +msgid "%s: runas group field is missing" +msgstr "%s: не вказано даних щодо групи, від імені якої відбуватиметься виконання" + +#: lib/iolog/iolog_mkdirs.c:89 +#, c-format +msgid "%s exists but is not a directory (0%o)" +msgstr "%s існує, але не є каталогом (0%o)" + +#: lib/iolog/iolog_mkdirs.c:123 lib/iolog/iolog_mkdtemp.c:79 +#: logsrvd/iolog_writer.c:781 plugins/sudoers/timestamp.c:209 +#, c-format +msgid "unable to mkdir %s" +msgstr "не вдалося створити каталог %s" + +#: lib/iolog/iolog_mkdtemp.c:84 plugins/sudoers/visudo.c:757 +#: plugins/sudoers/visudo.c:791 plugins/sudoers/visudo.c:797 +#, c-format +msgid "unable to change mode of %s to 0%o" +msgstr "не вдалося змінити режим доступу до %s на значення 0%o" + +#: lib/iolog/iolog_timing.c:261 +#, c-format +msgid "error reading timing file: %s" +msgstr "помилка під час спроби читання файла часових позначок: %s" + +#: lib/iolog/iolog_timing.c:268 +#, c-format +msgid "invalid timing file line: %s" +msgstr "некоректний рядок у файлі timing: %s" + +#: logsrvd/iolog_writer.c:65 +#, c-format +msgid "%s: protocol error: NULL key" +msgstr "%s: помилка протоколу: ключ NULL" + +#: logsrvd/iolog_writer.c:69 +#, c-format +msgid "%s: protocol error: wrong type for %s" +msgstr "%s: помилка протоколу: помилковий тип для %s" + +#: logsrvd/iolog_writer.c:74 logsrvd/logsrvd_local.c:109 +#: logsrvd/logsrvd_local.c:123 logsrvd/logsrvd_local.c:131 +#: logsrvd/logsrvd_local.c:149 +#, c-format +msgid "%s: protocol error: NULL value found in %s" +msgstr "%s: помилка протоколу: виявлено значення NULL у %s" + +#: logsrvd/iolog_writer.c:141 plugins/sudoers/logging.c:980 +#: plugins/sudoers/policy.c:593 +msgid "unable to generate UUID" +msgstr "не вдалося створити UUID" + +#: logsrvd/iolog_writer.c:341 logsrvd/iolog_writer.c:346 +#: logsrvd/iolog_writer.c:351 logsrvd/iolog_writer.c:356 +#, c-format +msgid "%s: protocol error: %s missing from AcceptMessage" +msgstr "%s: помилка протоколу: не вистачає %s з AcceptMessage" + +#: logsrvd/iolog_writer.c:417 +#, c-format +msgid "%s: unable to format session id" +msgstr "%s: не вдалося виконати форматування ідентифікатора сеансу" + +#: logsrvd/iolog_writer.c:431 logsrvd/iolog_writer.c:445 +#: logsrvd/iolog_writer.c:459 logsrvd/iolog_writer.c:474 +#: logsrvd/iolog_writer.c:488 logsrvd/iolog_writer.c:502 +#, c-format +msgid "%s: %s is not set" +msgstr "%s: %s не встановлено" + +#: logsrvd/iolog_writer.c:538 logsrvd/iolog_writer.c:545 +#, c-format +msgid "unable to expand iolog path %s" +msgstr "не вдалося розгорнути шлях iolog %s" + +#: logsrvd/iolog_writer.c:563 +#, c-format +msgid "unable to create iolog path %s" +msgstr "не вдалося створити шлях iolog %s" + +#: logsrvd/iolog_writer.c:593 +#, c-format +msgid "invalid iofd %d" +msgstr "некоректний файловий дескриптор введення-виведення %d" + +#: logsrvd/iolog_writer.c:613 +#, c-format +msgid "error closing iofd %d: %s" +msgstr "помилка під час спроби закрити дескриптор файла введення-виведення %d: %s" + +#: logsrvd/iolog_writer.c:633 +#, c-format +msgid "error flushing iofd %d: %s" +msgstr "помилка під час спроби витерти дескриптор файла введення-виведення %d: %s" + +#: logsrvd/iolog_writer.c:751 +#, c-format +msgid "invalid I/O log %s: %s referenced but not present" +msgstr "некоректний журнал введення-виведення %s: маємо посилання на %s без самого запису" + +#: logsrvd/iolog_writer.c:763 logsrvd/logsrvd_journal.c:385 +#, c-format +msgid "%s: unable to find resume point [%lld, %ld]" +msgstr "%s: не вдалося знайти точку відновлення [%lld, %ld]" + +#: logsrvd/iolog_writer.c:785 logsrvd/logsrvd_journal.c:428 +#: logsrvd/logsrvd_queue.c:115 logsrvd/tls_init.c:256 +#: plugins/sudoers/check.c:292 plugins/sudoers/cvtsudoers.c:730 +#: plugins/sudoers/cvtsudoers.c:751 plugins/sudoers/cvtsudoers.c:1431 +#: plugins/sudoers/cvtsudoers_csv.c:695 plugins/sudoers/cvtsudoers_json.c:898 +#: plugins/sudoers/cvtsudoers_ldif.c:709 plugins/sudoers/sudoers.c:1152 +#: plugins/sudoers/sudoers.c:1182 plugins/sudoers/sudoreplay.c:1496 +#: plugins/sudoers/timestamp.c:460 plugins/sudoers/tsdump.c:128 +#: plugins/sudoers/visudo.c:975 +#, c-format +msgid "unable to open %s" +msgstr "не вдалося відкрити %s" + +#: logsrvd/iolog_writer.c:797 logsrvd/logsrv_util.c:105 +#: logsrvd/logsrv_util.c:112 plugins/sudoers/sudoreplay.c:355 +#: plugins/sudoers/sudoreplay.c:361 +#, c-format +msgid "unable to open %s/%s" +msgstr "не вдалося відкрити %s/%s" + +#: logsrvd/iolog_writer.c:810 +#, c-format +msgid "unable to copy %s/%s to %s/%s: %s" +msgstr "не вдалося скопіювати %s/%s до %s/%s: %s" + +#: logsrvd/iolog_writer.c:839 logsrvd/logsrvd_journal.c:198 +#, c-format +msgid "unable to rename %s to %s" +msgstr "не вдалося перейменувати %s на %s" + +#: logsrvd/logsrv_util.c:147 logsrvd/logsrv_util.c:176 +#, c-format +msgid "%s/%s: unable to find resume point [%lld, %ld]" +msgstr "%s/%s: не вдалося знайти точку відновлення [%lld, %ld]" + +#: logsrvd/logsrv_util.c:159 +#, c-format +msgid "missing I/O log file %s/%s" +msgstr "не вистачає файла журналу введення-виведення, %s/%s" + +#: logsrvd/logsrv_util.c:166 +#, c-format +msgid "%s/%s: unable to seek forward %zu" +msgstr "%s/%s: неможливо виконати позиціювання вперед на %zu" + +#: logsrvd/logsrvd.c:271 logsrvd/logsrvd_queue.c:135 +msgid "unable to connect to relay" +msgstr "не вдалося встановити з'єднання із ретранслятором" + +#: logsrvd/logsrvd.c:330 logsrvd/logsrvd_relay.c:842 +#, c-format +msgid "server message too large: %zu" +msgstr "надто велике повідомлення сервера: %zu" + +#: logsrvd/logsrvd.c:422 logsrvd/logsrvd.c:545 logsrvd/logsrvd.c:631 +#: logsrvd/logsrvd.c:873 logsrvd/logsrvd.c:887 logsrvd/logsrvd.c:1049 +#: logsrvd/logsrvd.c:1174 logsrvd/logsrvd.c:1347 logsrvd/logsrvd.c:1365 +#: logsrvd/logsrvd.c:1464 logsrvd/logsrvd.c:1589 logsrvd/logsrvd.c:1773 +#: logsrvd/logsrvd_journal.c:497 logsrvd/logsrvd_local.c:238 +#: logsrvd/logsrvd_queue.c:164 logsrvd/logsrvd_relay.c:172 +#: logsrvd/logsrvd_relay.c:249 logsrvd/logsrvd_relay.c:253 +#: logsrvd/logsrvd_relay.c:389 logsrvd/logsrvd_relay.c:581 +#: logsrvd/logsrvd_relay.c:742 logsrvd/logsrvd_relay.c:1131 +#: logsrvd/sendlog.c:1291 logsrvd/tls_client.c:136 logsrvd/tls_client.c:152 +#: logsrvd/tls_client.c:216 plugins/sudoers/audit.c:278 +#: plugins/sudoers/iolog.c:1031 plugins/sudoers/iolog.c:1164 +#: plugins/sudoers/iolog.c:1262 plugins/sudoers/log_client.c:121 +#: plugins/sudoers/log_client.c:343 plugins/sudoers/log_client.c:359 +#: plugins/sudoers/log_client.c:407 plugins/sudoers/log_client.c:611 +#: plugins/sudoers/log_client.c:618 plugins/sudoers/log_client.c:1103 +#: plugins/sudoers/log_client.c:1384 plugins/sudoers/log_client.c:1425 +#: plugins/sudoers/log_client.c:1433 plugins/sudoers/log_client.c:1592 +#: plugins/sudoers/log_client.c:1710 plugins/sudoers/log_client.c:2039 +#: plugins/sudoers/log_client.c:2047 plugins/sudoers/logging.c:147 +#: plugins/sudoers/logging.c:205 plugins/sudoers/sudoreplay.c:519 +#: plugins/sudoers/sudoreplay.c:566 plugins/sudoers/sudoreplay.c:808 +#: plugins/sudoers/sudoreplay.c:920 plugins/sudoers/sudoreplay.c:1011 +#: plugins/sudoers/sudoreplay.c:1026 plugins/sudoers/sudoreplay.c:1033 +#: plugins/sudoers/sudoreplay.c:1040 plugins/sudoers/sudoreplay.c:1047 +#: plugins/sudoers/sudoreplay.c:1054 plugins/sudoers/sudoreplay.c:1181 +msgid "unable to add event to queue" +msgstr "не вдалося додати подію до черги обробки" + +#: logsrvd/logsrvd.c:446 logsrvd/logsrvd.c:483 logsrvd/logsrvd.c:515 +#: logsrvd/logsrvd.c:569 logsrvd/logsrvd.c:648 logsrvd/logsrvd.c:684 +#: logsrvd/logsrvd.c:720 logsrvd/logsrvd.c:756 logsrvd/logsrvd_relay.c:510 +#: logsrvd/logsrvd_relay.c:543 +#, c-format +msgid "unexpected state %d for %s" +msgstr "неочікуваний стан %d %s" + +#: logsrvd/logsrvd.c:447 logsrvd/logsrvd.c:484 logsrvd/logsrvd.c:516 +#: logsrvd/logsrvd.c:570 logsrvd/logsrvd.c:649 logsrvd/logsrvd.c:685 +#: logsrvd/logsrvd.c:721 logsrvd/logsrvd.c:757 logsrvd/logsrvd_relay.c:512 +#: logsrvd/logsrvd_relay.c:545 +msgid "state machine error" +msgstr "помилка скінченного автомата" + +#: logsrvd/logsrvd.c:453 logsrvd/logsrvd.c:454 +msgid "invalid AcceptMessage" +msgstr "некоректне AcceptMessage" + +#: logsrvd/logsrvd.c:490 logsrvd/logsrvd.c:491 +msgid "invalid RejectMessage" +msgstr "некоректне RejectMessage" + +#: logsrvd/logsrvd.c:522 logsrvd/logsrvd.c:523 +msgid "invalid ExitMessage" +msgstr "некоректне ExitMessage" + +#: logsrvd/logsrvd.c:576 logsrvd/logsrvd.c:577 +msgid "invalid RestartMessage" +msgstr "некоректне RestartMessage" + +#: logsrvd/logsrvd.c:611 logsrvd/logsrvd.c:612 +msgid "invalid AlertMessage" +msgstr "некоректне AlertMessage" + +#: logsrvd/logsrvd.c:653 logsrvd/logsrvd.c:689 logsrvd/logsrvd.c:725 +#, c-format +msgid "%s: unexpected IoBuffer" +msgstr "%s: неочікуване значення IoBuffer" + +#: logsrvd/logsrvd.c:654 logsrvd/logsrvd.c:690 logsrvd/logsrvd.c:726 +msgid "protocol error" +msgstr "помилка протоколу" + +#: logsrvd/logsrvd.c:660 logsrvd/logsrvd.c:661 +msgid "invalid IoBuffer" +msgstr "некоректне IoBuffer" + +#: logsrvd/logsrvd.c:696 logsrvd/logsrvd.c:697 +msgid "invalid ChangeWindowSize" +msgstr "некоректне ChangeWindowSize" + +#: logsrvd/logsrvd.c:732 logsrvd/logsrvd.c:733 +msgid "invalid CommandSuspend" +msgstr "некоректне CommandSuspend" + +#: logsrvd/logsrvd.c:782 logsrvd/logsrvd_journal.c:296 +#: logsrvd/logsrvd_relay.c:652 logsrvd/sendlog.c:1192 +#: plugins/sudoers/log_client.c:1582 +#, c-format +msgid "unable to unpack %s size %zu" +msgstr "не вдалося розпакувати %s, розмір %zu" + +#: logsrvd/logsrvd.c:827 logsrvd/logsrvd_journal.c:370 +#: logsrvd/logsrvd_relay.c:676 +#, c-format +msgid "unexpected type_case value %d in %s from %s" +msgstr "неочікуване значення type_case %d у %s від %s" + +#: logsrvd/logsrvd.c:829 +msgid "unrecognized ClientMessage type" +msgstr "нерозпізнаний тип ClientMessage" + +#: logsrvd/logsrvd.c:919 +#, c-format +msgid "timed out writing to client %s" +msgstr "перевищено час очікування на завершення запису до клієнта %s" + +#: logsrvd/logsrvd.c:924 logsrvd/logsrvd_relay.c:914 logsrvd/sendlog.c:1395 +#, c-format +msgid "missing write buffer for client %s" +msgstr "пропущено буфер запису для клієнта %s" + +#: logsrvd/logsrvd.c:1020 +#, c-format +msgid "timed out reading from client %s" +msgstr "перевищено час очікування на читання з клієнта %s" + +#: logsrvd/logsrvd.c:1061 logsrvd/logsrvd_relay.c:777 +#, c-format +msgid "EOF from %s without proper TLS shutdown" +msgstr "EOF від %s без належного закриття TLS" + +#: logsrvd/logsrvd.c:1105 logsrvd/logsrvd_relay.c:205 logsrvd/sendlog.c:322 +#: plugins/sudoers/log_client.c:721 +#, c-format +msgid "client message too large: %zu" +msgstr "повідомлення клієнта є надто довгим: %zu" + +#: logsrvd/logsrvd.c:1106 logsrvd/logsrvd_journal.c:259 +#: logsrvd/logsrvd_journal.c:260 +msgid "client message too large" +msgstr "повідомлення клієнта є надто великим" + +#: logsrvd/logsrvd.c:1124 logsrvd/logsrvd.c:1125 +msgid "invalid ClientMessage" +msgstr "некоректне ClientMessage" + +#: logsrvd/logsrvd.c:1425 +msgid "unable to get remote IP addr" +msgstr "не вдалося отримати віддалену IP-адресу" + +#: logsrvd/logsrvd.c:1456 logsrvd/tls_client.c:203 +#: plugins/sudoers/log_client.c:281 +#, c-format +msgid "Unable to attach user data to the ssl object: %s" +msgstr "Не вдалося долучити дані користувача до об'єкта SSL: %s" + +#: logsrvd/logsrvd.c:1639 logsrvd/logsrvd.c:1992 +msgid "unable to setup listen socket" +msgstr "не вдалося налаштувати сокет очікування на дані" + +#: logsrvd/logsrvd.c:1756 +#, c-format +msgid "unexpected signal %d" +msgstr "неочікуваний сигнал %d" + +#: logsrvd/logsrvd.c:1894 +msgid "sudo log server" +msgstr "сервер журналу sudo" + +#: logsrvd/logsrvd.c:1896 logsrvd/sendlog.c:121 +msgid "Options:" +msgstr "Параметри:" + +#: logsrvd/logsrvd.c:1898 +msgid "path to configuration file" +msgstr "шлях до файла налаштувань" + +#: logsrvd/logsrvd.c:1900 logsrvd/sendlog.c:123 +msgid "display help message and exit" +msgstr "показати довідкове повідомлення і завершити роботу" + +#: logsrvd/logsrvd.c:1902 +msgid "do not fork, run in the foreground" +msgstr "не відгалужувати, не переходити у фоновий режим під час виконання" + +#: logsrvd/logsrvd.c:1904 +msgid "percent chance connections will drop" +msgstr "ймовірність розірвання з'єднання" + +#: logsrvd/logsrvd.c:1906 logsrvd/sendlog.c:153 +msgid "display version information and exit" +msgstr "показати дані щодо версії і завершити роботу" + +#: logsrvd/logsrvd.c:1956 logsrvd/sendlog.c:1702 +msgid "Protobuf-C version 1.3 or higher required" +msgstr "Потрібна версія Protobuf-C 1.3 або новіша" + +#: logsrvd/logsrvd.c:1972 +#, c-format +msgid "invalid random drop value: %s" +msgstr "некоректне значення ймовірності скидання: %s" + +#: logsrvd/logsrvd.c:1975 logsrvd/sendlog.c:1756 +#: plugins/sudoers/cvtsudoers.c:246 plugins/sudoers/sudoreplay.c:294 +#: plugins/sudoers/visudo.c:182 +#, c-format +msgid "%s version %s\n" +msgstr "%s, версія %s\n" + +#: logsrvd/logsrvd_conf.c:422 plugins/sudoers/check.c:358 +#: plugins/sudoers/exptilde.c:85 plugins/sudoers/iolog.c:122 +#: plugins/sudoers/policy.c:1271 plugins/sudoers/sudoers.c:512 +#: plugins/sudoers/sudoers.c:1411 plugins/sudoers/testsudoers.c:215 +#: plugins/sudoers/testsudoers.c:382 +#, c-format +msgid "unknown user %s" +msgstr "невідомий користувач %s" + +#: logsrvd/logsrvd_conf.c:439 plugins/sudoers/iolog.c:148 +#: plugins/sudoers/sudoers.c:517 plugins/sudoers/sudoers.c:1445 +#: plugins/sudoers/testsudoers.c:406 +#, c-format +msgid "unknown group %s" +msgstr "невідома група %s" + +#: logsrvd/logsrvd_conf.c:457 +#, c-format +msgid "unable to parse iolog mode %s" +msgstr "не вдалося обробити запис режиму iolog %s" + +#: logsrvd/logsrvd_conf.c:474 logsrvd/logsrvd_conf.c:1243 +#, c-format +msgid "invalid value for %s: %s" +msgstr "некоректне значення %s: %s" + +#: logsrvd/logsrvd_conf.c:527 +msgid "TLS not supported" +msgstr "Підтримки TLS не передбачено" + +#: logsrvd/logsrvd_conf.c:549 +#, c-format +msgid "%s:%s" +msgstr "%s:%s" + +#: logsrvd/logsrvd_conf.c:622 logsrvd/logsrvd_conf.c:1032 +#, c-format +msgid "%s: not a fully qualified path" +msgstr "%s: не є повноцінним записом шляхуnot a fully qualified path" + +#: logsrvd/logsrvd_conf.c:951 logsrvd/logsrvd_conf.c:967 +#: logsrvd/logsrvd_conf.c:1676 +#, c-format +msgid "unknown syslog facility %s" +msgstr "невідома можливість syslog %s" + +#: logsrvd/logsrvd_conf.c:983 logsrvd/logsrvd_conf.c:999 +#: logsrvd/logsrvd_conf.c:1015 logsrvd/logsrvd_conf.c:1680 +#: logsrvd/logsrvd_conf.c:1684 logsrvd/logsrvd_conf.c:1688 +#, c-format +msgid "unknown syslog priority %s" +msgstr "невідома пріоритетність syslog %s" + +#: logsrvd/logsrvd_conf.c:1197 +#, c-format +msgid "%s:%d unmatched '[': %s" +msgstr "%s:%d «[» без пари: %s" + +#: logsrvd/logsrvd_conf.c:1203 +#, c-format +msgid "%s:%d garbage after ']': %s" +msgstr "%s:%d мотлох після «]»: %s" + +#: logsrvd/logsrvd_conf.c:1215 +#, c-format +msgid "%s:%d invalid config section: %s" +msgstr "%s:%d некоректний розділ налаштувань: %s" + +#: logsrvd/logsrvd_conf.c:1223 +#, c-format +msgid "%s:%d invalid configuration line: %s" +msgstr "%s:%d некоректний рядок налаштувань: %s" + +#: logsrvd/logsrvd_conf.c:1229 +#, c-format +msgid "%s:%d expected section name: %s" +msgstr "%s:%d мало бути вказано назву розділу: %s" + +#: logsrvd/logsrvd_conf.c:1251 +#, c-format +msgid "%s:%d [%s] illegal key: %s" +msgstr "%s:%d [%s] заборонений ключ: %s" + +#: logsrvd/logsrvd_conf.c:1281 plugins/sudoers/cvtsudoers.c:268 +#: plugins/sudoers/logging.c:1033 +#, c-format +msgid "unable to open log file %s" +msgstr "не вдалося відкрити файл журналу %s" + +#: logsrvd/logsrvd_conf.c:1763 +msgid "unable to initialize server TLS context" +msgstr "не вдалося ініціалізувати контекст сервера TLS" + +#: logsrvd/logsrvd_conf.c:1783 +msgid "unable to initialize relay TLS context" +msgstr "не вдалося ініціалізувати контекст ретранслятора TLS" + +#: logsrvd/logsrvd_journal.c:149 logsrvd/logsrvd_journal.c:424 +#: logsrvd/logsrvd_journal.c:429 +msgid "unable to create journal file" +msgstr "не вдалося створити файл журналу" + +#: logsrvd/logsrvd_journal.c:153 logsrvd/logsrvd_queue.c:109 +#: plugins/sudoers/visudo.c:1028 +#, c-format +msgid "unable to lock %s" +msgstr "не вдалося заблокувати %s" + +#: logsrvd/logsrvd_journal.c:156 +msgid "unable to lock journal file" +msgstr "не вдалося заблокувати файл журналу" + +#: logsrvd/logsrvd_journal.c:164 +msgid "unable to open journal file" +msgstr "не вдалося відкрити файл журналу" + +#: logsrvd/logsrvd_journal.c:185 logsrvd/logsrvd_journal.c:460 +#: logsrvd/logsrvd_journal.c:465 +msgid "unable to write journal file" +msgstr "не вдалося записати файл журналу" + +#: logsrvd/logsrvd_journal.c:193 logsrvd/logsrvd_journal.c:200 +msgid "unable to rename journal file" +msgstr "не вдалося перейменувати файл журналу" + +#: logsrvd/logsrvd_journal.c:247 logsrvd/logsrvd_journal.c:248 +#: logsrvd/logsrvd_journal.c:282 logsrvd/logsrvd_journal.c:283 +msgid "unexpected EOF reading journal file" +msgstr "неочікуваний символ кінця файла під час читання файла журналу" + +#: logsrvd/logsrvd_journal.c:251 logsrvd/logsrvd_journal.c:252 +#: logsrvd/logsrvd_journal.c:286 logsrvd/logsrvd_journal.c:287 +msgid "error reading journal file" +msgstr "помилка під час спроби читання файла журналу" + +#: logsrvd/logsrvd_journal.c:298 logsrvd/logsrvd_journal.c:384 +msgid "invalid journal file, unable to restart" +msgstr "некоректний файл журналу, неможливо перезапустити" + +#: logsrvd/logsrvd_journal.c:443 +#, c-format +msgid "unable to seek to [%lld, %ld] in journal file %s" +msgstr "не вдалося встановити позицію [%lld, %ld] у файлі журналу %s" + +#: logsrvd/logsrvd_local.c:166 +#, c-format +msgid "unexpected value_case %d in %s from %s" +msgstr "неочікуване значення value_case %d у %s з %s" + +#: logsrvd/logsrvd_local.c:194 +msgid "error parsing AcceptMessage" +msgstr "помилка під час спроби обробити AcceptMessage" + +#: logsrvd/logsrvd_local.c:205 +msgid "error creating I/O log" +msgstr "помилка під час створення журналу введення-виведення" + +#: logsrvd/logsrvd_local.c:228 +msgid "error logging accept event" +msgstr "помилка під час обробки події підтвердження дії журналу" + +#: logsrvd/logsrvd_local.c:267 +msgid "error parsing RejectMessage" +msgstr "помилка під час проби обробити RejectMessage" + +#: logsrvd/logsrvd_local.c:291 +msgid "error logging reject event" +msgstr "помилка під час обробки події відмови у записі до журналу" + +#: logsrvd/logsrvd_local.c:427 logsrvd/logsrvd_local.c:435 +msgid "error logging exit event" +msgstr "помилка під час спроби записати до журналу подію виходу" + +#: logsrvd/logsrvd_local.c:492 logsrvd/logsrvd_local.c:493 +msgid "log is already complete, cannot be restarted" +msgstr "журнал вже завершено — його не можна перезапустити" + +#: logsrvd/logsrvd_local.c:523 +msgid "unable to restart log" +msgstr "не вдалося перезапустити журнал" + +#: logsrvd/logsrvd_local.c:539 +msgid "error parsing AlertMessage" +msgstr "помилка під час спроби обробити AlertMessage" + +#: logsrvd/logsrvd_local.c:549 +msgid "error logging alert event" +msgstr "помилка під час обробки події критичного повідомлення журналу" + +#: logsrvd/logsrvd_local.c:585 logsrvd/logsrvd_local.c:648 +#: logsrvd/logsrvd_local.c:683 +#, c-format +msgid "unable to format timing buffer, length %d" +msgstr "не вдалося виконати форматування буфера часових позначок, довжина — %d" + +#: logsrvd/logsrvd_local.c:599 logsrvd/logsrvd_local.c:607 +#: logsrvd/logsrvd_local.c:655 logsrvd/logsrvd_local.c:690 +#: plugins/sudoers/sudoreplay.c:344 +#, c-format +msgid "%s/%s: %s" +msgstr "%s/%s: %s" + +#: logsrvd/logsrvd_local.c:618 +msgid "randomly dropping connection" +msgstr "випадковим чином розривати з'єднання" + +#: logsrvd/logsrvd_local.c:630 +msgid "error writing IoBuffer" +msgstr "помилка під час спроби записати IoBuffer" + +#: logsrvd/logsrvd_local.c:665 +msgid "error writing ChangeWindowSize" +msgstr "помилка під час спроби записати ChangeWindowSize" + +#: logsrvd/logsrvd_local.c:700 +msgid "error writing CommandSuspend" +msgstr "помилка під час спроби записати CommandSuspend" + +#: logsrvd/logsrvd_relay.c:435 +msgid "TLS handshake with relay host failed" +msgstr "помилка спроби ініціалізації зв'язку TLS із вузлом ретранслятора" + +#: logsrvd/logsrvd_relay.c:463 +msgid "unable to connect to relay host" +msgstr "не вдалося встановити з'єднання із вузлом ретранслятора" + +#: logsrvd/logsrvd_relay.c:518 +#, c-format +msgid "%s: invalid ServerHello, missing server_id" +msgstr "%s: некоректне значення ServerHello — пропущено server_id" + +#: logsrvd/logsrvd_relay.c:520 logsrvd/sendlog.c:1096 +#: plugins/sudoers/log_client.c:1468 +msgid "invalid ServerHello" +msgstr "некоректне ServerHello" + +#: logsrvd/logsrvd_relay.c:679 +msgid "unrecognized ServerMessage type" +msgstr "нерозпізнаний тип ServerMessage" + +#: logsrvd/logsrvd_relay.c:708 +#, c-format +msgid "timed out reading from relay %s (%s)" +msgstr "перевищено час очікування на читання з ретранслятора %s (%s)" + +#: logsrvd/logsrvd_relay.c:710 +msgid "timeout reading from relay" +msgstr "перевищено час очікування на читання з ретранслятора" + +#: logsrvd/logsrvd_relay.c:762 +msgid "relay host name does not match certificate" +msgstr "назва вузла ретранслятора не відповідає сертифікату" + +#: logsrvd/logsrvd_relay.c:768 logsrvd/logsrvd_relay.c:782 +#: logsrvd/logsrvd_relay.c:789 +msgid "error reading from relay" +msgstr "помилка під час спроби читання з ретранслятора" + +#: logsrvd/logsrvd_relay.c:810 +msgid "unable to read from relay" +msgstr "не вдалося прочитати з ретранслятора" + +#: logsrvd/logsrvd_relay.c:825 logsrvd/logsrvd_relay.c:943 +msgid "relay server closed connection" +msgstr "сервер-ретранслятор розірвав з'єднання" + +#: logsrvd/logsrvd_relay.c:843 +msgid "server message too large" +msgstr "повідомлення сервера є надто великим" + +#: logsrvd/logsrvd_relay.c:907 +#, c-format +msgid "timed out writing to relay %s (%s)" +msgstr "перевищено час очікування на завершення запису до ретранслятора %s (%s)" + +#: logsrvd/logsrvd_relay.c:909 +msgid "timeout writing to relay" +msgstr "перевищено час очікування на запис до ретранслятора" + +#: logsrvd/logsrvd_relay.c:962 logsrvd/logsrvd_relay.c:969 +#: logsrvd/logsrvd_relay.c:981 +msgid "error writing to relay" +msgstr "помилка під час спроби записати до ретранслятора" + +#: logsrvd/sendlog.c:119 +msgid "send sudo I/O log to remote server" +msgstr "надіслати журнал введення-виведення sudo на віддалений сервер" + +#: logsrvd/sendlog.c:125 +msgid "only send an accept event (no I/O)" +msgstr "надіслати лише подію прийняття (без введення-виведення)" + +#: logsrvd/sendlog.c:128 +msgid "certificate bundle file to verify server's cert against" +msgstr "файл пакунка сертифікатів, за яким слід перевіряти сертифікат сервера" + +#: logsrvd/sendlog.c:130 +msgid "certificate file for TLS handshake" +msgstr "файл сертифіката для підтвердження зв'язку TLS" + +#: logsrvd/sendlog.c:133 +msgid "host to send logs to" +msgstr "вузол, на який слід надіслати журнал" + +#: logsrvd/sendlog.c:135 +msgid "remote ID of I/O log to be resumed" +msgstr "віддалений ідентифікатор журналу введення-виведення, який слід продовжити" + +#: logsrvd/sendlog.c:138 +msgid "private key file" +msgstr "файл закритого ключа" + +#: logsrvd/sendlog.c:140 +msgid "do not verify server certificate" +msgstr "не перевіряти сертифікат сервера" + +#: logsrvd/sendlog.c:143 +msgid "port to use when connecting to host" +msgstr "порт, яким слід скористатися для з'єднання із вузлом" + +#: logsrvd/sendlog.c:145 +msgid "restart previous I/O log transfer" +msgstr "перезапустити попередній обмін даними журналу введення-виведення" + +#: logsrvd/sendlog.c:147 +msgid "reject the command with the given reason" +msgstr "відкинути команду із вказаною причиною" + +#: logsrvd/sendlog.c:149 +msgid "stop transfer after reaching this time" +msgstr "припинити передавання даних після досягнення цієї тривалості" + +#: logsrvd/sendlog.c:151 +msgid "test audit server by sending selected I/O log n times in parallel" +msgstr "перевірити сервер аудиту надсиланням вибраного журналу введення-виведення n разів у паралельному режимі" + +#: logsrvd/sendlog.c:176 plugins/sudoers/log_client.c:453 +#, c-format +msgid "unable to look up %s:%s: %s" +msgstr "не вдалося виконати пошук %s:%s: %s" + +#: logsrvd/sendlog.c:214 +msgid "unable to get server IP addr" +msgstr "не вдалося отримати IP-адресу сервера" + +#: logsrvd/sendlog.c:300 plugins/sudoers/sudoreplay.c:868 +#, c-format +msgid "unable to read %s/%s: %s" +msgstr "не вдалося прочитати %s/%s: %s" + +#: logsrvd/sendlog.c:1020 plugins/sudoers/iolog.c:949 +#: plugins/sudoers/iolog.c:1024 +#, c-format +msgid "unexpected I/O event %d" +msgstr "неочікувана подія введення-виведення — %d" + +#: logsrvd/sendlog.c:1073 logsrvd/sendlog.c:1090 logsrvd/sendlog.c:1124 +#: plugins/sudoers/log_client.c:1118 plugins/sudoers/log_client.c:1394 +#: plugins/sudoers/log_client.c:1462 plugins/sudoers/log_client.c:1501 +#, c-format +msgid "%s: unexpected state %d" +msgstr "%s: неочікуваний стан — %d" + +#: logsrvd/sendlog.c:1160 plugins/sudoers/log_client.c:1550 +#, c-format +msgid "error message received from server: %s" +msgstr "отримано повідомлення про помилку від сервера: %s" + +#: logsrvd/sendlog.c:1173 plugins/sudoers/log_client.c:1563 +#, c-format +msgid "abort message received from server: %s" +msgstr "отримано повідомлення про переривання від сервера: %s" + +#: logsrvd/sendlog.c:1232 plugins/sudoers/log_client.c:1613 +#, c-format +msgid "%s: unexpected type_case value %d" +msgstr "%s: неочікуване значення type_case — %d" + +#: logsrvd/sendlog.c:1261 +msgid "timeout reading from server" +msgstr "перевищено час очікування на читання з сервера" + +#: logsrvd/sendlog.c:1310 plugins/sudoers/log_client.c:1729 +msgid "host name does not match certificate" +msgstr "назва вузла не відповідає сертифікату" + +#: logsrvd/sendlog.c:1343 +msgid "premature EOF" +msgstr "передчасне завершення файла" + +#: logsrvd/sendlog.c:1356 plugins/sudoers/log_client.c:1776 +#, c-format +msgid "server message too large: %u" +msgstr "повідомлення сервера є надто великим: %u" + +#: logsrvd/sendlog.c:1412 +msgid "timeout writing to server" +msgstr "перевищено час очікування на запис на сервері" + +#: logsrvd/sendlog.c:1779 +msgid "both restart point and iolog ID must be specified" +msgstr "слід вказати одночасно точку перезапуску та ідентифікатор журналу введення-виведення" + +#: logsrvd/sendlog.c:1783 +msgid "a restart point may not be set when no I/O is sent" +msgstr "точку перезапуску не можна встановлювати, якщо не надсилається жодних даних введення-виведення" + +#: logsrvd/sendlog.c:1859 +#, c-format +msgid "exited prematurely with state %d" +msgstr "передчасний вихід зі станом %d" + +#: logsrvd/sendlog.c:1860 +#, c-format +msgid "elapsed time sent to server [%lld, %ld]" +msgstr "на сервер надіслано дані щодо часу, який лишився [%lld, %ld]" + +#: logsrvd/sendlog.c:1862 +#, c-format +msgid "commit point received from server [%lld, %ld]" +msgstr "отримано точку внеску від сервера [%lld, %ld]" + +#: logsrvd/tls_client.c:111 plugins/sudoers/log_client.c:315 +msgid "TLS handshake timeout occurred" +msgstr "сталося перевищення часу очікування на узгодження зв'язку TLS" + +#: logsrvd/tls_client.c:131 logsrvd/tls_client.c:147 +#: plugins/sudoers/log_client.c:337 plugins/sudoers/log_client.c:353 +msgid "unable to set event" +msgstr "не вдалося встановити подію" + +#: logsrvd/tls_client.c:157 logsrvd/tls_client.c:161 +#, c-format +msgid "TLS connection failed: %s" +msgstr "Не вдалося встановити з'єднання TLS: %s" + +#: logsrvd/tls_client.c:196 +#, c-format +msgid "unable to allocate ssl object: %s" +msgstr "не вдалося розмістити об'єкт SSL у пам'яті: %s" + +#: logsrvd/tls_client.c:210 +#, c-format +msgid "Unable to attach socket to the ssl object: %s" +msgstr "Не вдалося долучити сокет до об'єкта SSL: %s" + +#: logsrvd/tls_client.c:238 +msgid "unable to initialize TLS context" +msgstr "не вдалося ініціалізувати контекст TLS" + +#: logsrvd/tls_init.c:138 logsrvd/tls_init.c:146 +#, c-format +msgid "unable to set TLS 1.2 ciphersuite to %s: %s" +msgstr "не вдалося встановити комплекс шифрування TLS 1.2 у %s: %s" + +#: logsrvd/tls_init.c:166 logsrvd/tls_init.c:174 +#, c-format +msgid "unable to set TLS 1.3 ciphersuite to %s: %s" +msgstr "не вдалося встановити комплекс шифрування TLS 1.3 у %s: %s" + +#: logsrvd/tls_init.c:206 logsrvd/tls_init.c:227 +#, c-format +msgid "unable to set diffie-hellman parameters: %s" +msgstr "не вдалося встановити параметри Діфі-Гелмана: %s" + +#: logsrvd/tls_init.c:283 +#, c-format +msgid "unable to create TLS context: %s" +msgstr "не вдалося створити контекст TLS: %s" + +#: logsrvd/tls_init.c:290 +#, c-format +msgid "unable to set minimum protocol version to TLS 1.2: %s" +msgstr "не вдалося встановити мінімальну версію протоколу у значення TLS 1.2: %s" + +#: plugins/sudoers/audit.c:269 plugins/sudoers/audit.c:429 +#: plugins/sudoers/log_client.c:951 plugins/sudoers/log_client.c:1000 +#: plugins/sudoers/log_client.c:1049 plugins/sudoers/log_client.c:1174 +#: plugins/sudoers/logging.c:595 plugins/sudoers/logging.c:693 +#: plugins/sudoers/logging.c:796 plugins/sudoers/logging.c:987 +#: plugins/sudoers/policy.c:125 +msgid "unable to get time of day" +msgstr "не вдалося отримати дані щодо пори доби" + +#: plugins/sudoers/auth/aix_auth.c:280 +#, c-format +msgid "unable to change password for %s" +msgstr "не вдалося змінити пароль до %s" + +#: plugins/sudoers/auth/bsdauth.c:74 +#, c-format +msgid "unable to get login class for user %s" +msgstr "не вдалося отримати клас входу до системи для користувача %s" + +#: plugins/sudoers/auth/bsdauth.c:79 +msgid "unable to begin bsd authentication" +msgstr "не вдалося розпочати розпізнавання за BSD" + +#: plugins/sudoers/auth/bsdauth.c:87 +msgid "invalid authentication type" +msgstr "некоректний тип розпізнавання" + +#: plugins/sudoers/auth/bsdauth.c:96 +msgid "unable to initialize BSD authentication" +msgstr "не вдалося ініціалізувати розпізнавання за BSD" + +#: plugins/sudoers/auth/bsdauth.c:186 +msgid "your account has expired" +msgstr "термін дії вашого облікового запису вичерпано" + +#: plugins/sudoers/auth/bsdauth.c:188 +msgid "approval failed" +msgstr "не вдалося підтвердити" + +#: plugins/sudoers/auth/fwtk.c:61 +msgid "unable to read fwtk config" +msgstr "не вдалося прочитати налаштування fwtk" + +#: plugins/sudoers/auth/fwtk.c:66 +msgid "unable to connect to authentication server" +msgstr "не вдалося встановити з’єднання з сервером розпізнавання" + +#: plugins/sudoers/auth/fwtk.c:72 plugins/sudoers/auth/fwtk.c:97 +#: plugins/sudoers/auth/fwtk.c:129 +msgid "lost connection to authentication server" +msgstr "втрачено зв’язок з сервером розпізнавання" + +#: plugins/sudoers/auth/fwtk.c:76 +#, c-format +msgid "" +"authentication server error:\n" +"%s" +msgstr "" +"помилка сервера розпізнавання:\n" +"%s" + +#: plugins/sudoers/auth/kerb5.c:115 +#, c-format +msgid "%s: unable to convert principal to string ('%s'): %s" +msgstr "%s: не вдалося перетворити реєстраційний запис на рядок («%s»): %s" + +#: plugins/sudoers/auth/kerb5.c:164 +#, c-format +msgid "%s: unable to parse '%s': %s" +msgstr "%s: не вдалося обробити «%s»: %s" + +#: plugins/sudoers/auth/kerb5.c:173 +#, c-format +msgid "%s: unable to resolve credential cache: %s" +msgstr "%s: не вдалося визначити кеш реєстраційних даних: %s" + +#: plugins/sudoers/auth/kerb5.c:222 +#, c-format +msgid "%s: unable to allocate options: %s" +msgstr "%s: не вдалося розмістити параметри: %s" + +#: plugins/sudoers/auth/kerb5.c:237 +#, c-format +msgid "%s: unable to get credentials: %s" +msgstr "%s: не вдалося отримати реєстраційні дані: %s" + +#: plugins/sudoers/auth/kerb5.c:250 +#, c-format +msgid "%s: unable to initialize credential cache: %s" +msgstr "%s: не вдалося ініціалізувати кеш реєстраційних даних: %s" + +#: plugins/sudoers/auth/kerb5.c:253 +#, c-format +msgid "%s: unable to store credential in cache: %s" +msgstr "%s: не вдалося зберегти реєстраційні дані у кеші: %s" + +#: plugins/sudoers/auth/kerb5.c:317 +#, c-format +msgid "%s: unable to get host principal: %s" +msgstr "%s: не вдалося отримати реєстраційний запис вузла: %s" + +#: plugins/sudoers/auth/kerb5.c:331 +#, c-format +msgid "%s: Cannot verify TGT! Possible attack!: %s" +msgstr "%s: спроба перевірки TGT зазнала невдачі! Ймовірно, вас атаковано: %s" + +#: plugins/sudoers/auth/pam.c:224 +#, c-format +msgid "unable to initialize PAM: %s" +msgstr "не вдалося ініціалізувати PAM: %s" + +#: plugins/sudoers/auth/pam.c:337 +#, c-format +msgid "PAM authentication error: %s" +msgstr "Помилка розпізнавання PAM: %s" + +#: plugins/sudoers/auth/pam.c:356 +msgid "account validation failure, is your account locked?" +msgstr "помилка під час спроби перевірки облікового запису. Ваш обліковий запис заблоковано?" + +#: plugins/sudoers/auth/pam.c:367 +msgid "Account or password is expired, reset your password and try again" +msgstr "Строк дії облікового запису або пароля збіг, визначте новий пароль і повторіть спробу" + +#: plugins/sudoers/auth/pam.c:373 +#, c-format +msgid "unable to change expired password: %s" +msgstr "не вдалося змінити пароль, строк дії якого завершився: %s" + +#: plugins/sudoers/auth/pam.c:384 +msgid "Password expired, contact your system administrator" +msgstr "Строк дії пароля збіг, зверніться до адміністратора вашої системи щодо поновлення пароля" + +#: plugins/sudoers/auth/pam.c:389 +msgid "Account expired or PAM config lacks an \"account\" section for sudo, contact your system administrator" +msgstr "Строк дії облікового запису збіг або у файлі налаштувань PAM немає розділу \"account\" для sudo. Повідомте про це адміністратора вашої системи." + +#: plugins/sudoers/auth/pam.c:397 plugins/sudoers/auth/pam.c:402 +#, c-format +msgid "PAM account management error: %s" +msgstr "Помилка керування обліковими записами PAM: %s" + +#: plugins/sudoers/auth/rfc1938.c:99 plugins/sudoers/visudo.c:271 +#, c-format +msgid "you do not exist in the %s database" +msgstr "вас немає у базі даних %s" + +#: plugins/sudoers/auth/securid5.c:75 +msgid "failed to initialise the ACE API library" +msgstr "не вдалося ініціалізувати бібліотеку програмного інтерфейсу до ACE" + +#: plugins/sudoers/auth/securid5.c:106 +msgid "unable to contact the SecurID server" +msgstr "не вдалося встановити зв’язок з сервером SecurID" + +#: plugins/sudoers/auth/securid5.c:115 +msgid "User ID locked for SecurID Authentication" +msgstr "Ідентифікатор користувача заблоковано для розпізнавання SecurID" + +#: plugins/sudoers/auth/securid5.c:119 plugins/sudoers/auth/securid5.c:171 +msgid "invalid username length for SecurID" +msgstr "некоректна довжина імені користувача для SecurID" + +#: plugins/sudoers/auth/securid5.c:123 plugins/sudoers/auth/securid5.c:176 +msgid "invalid Authentication Handle for SecurID" +msgstr "некоректний дескриптор розпізнавання для SecurID" + +#: plugins/sudoers/auth/securid5.c:127 +msgid "SecurID communication failed" +msgstr "спроба обміну даними з SecurID зазнала невдачі" + +#: plugins/sudoers/auth/securid5.c:131 plugins/sudoers/auth/securid5.c:219 +msgid "unknown SecurID error" +msgstr "невідома помилка SecurID" + +#: plugins/sudoers/auth/securid5.c:166 +msgid "invalid passcode length for SecurID" +msgstr "некоректна довжина коду пароля для SecurID" + +#: plugins/sudoers/auth/sia.c:69 plugins/sudoers/auth/sia.c:126 +msgid "unable to initialize SIA session" +msgstr "не вдалося ініціалізувати сеанс SIA" + +#: plugins/sudoers/auth/sudo_auth.c:135 +msgid "invalid authentication methods" +msgstr "некоректні способи розпізнавання" + +#: plugins/sudoers/auth/sudo_auth.c:137 +msgid "Invalid authentication methods compiled into sudo! You may not mix standalone and non-standalone authentication." +msgstr "sudo зібрано з підтримкою некоректних способів розпізнавання! Не можна змішувати власні і зовнішні способи розпізнавання." + +#: plugins/sudoers/auth/sudo_auth.c:258 plugins/sudoers/auth/sudo_auth.c:310 +msgid "no authentication methods" +msgstr "немає способів розпізнавання" + +#: plugins/sudoers/auth/sudo_auth.c:260 +msgid "There are no authentication methods compiled into sudo! If you want to turn off authentication, use the --disable-authentication configure option." +msgstr "sudo зібрано без можливостей з взаємодії з інструментами розпізнавання! Якщо ви хочете вимкнути розпізнавання, скористайтеся параметром налаштування --disable-authentication." + +#: plugins/sudoers/auth/sudo_auth.c:312 +msgid "Unable to initialize authentication methods." +msgstr "Не вдалося ініціалізувати методи розпізнавання." + +#: plugins/sudoers/auth/sudo_auth.c:486 +msgid "Authentication methods:" +msgstr "Способи розпізнавання:" + +#: plugins/sudoers/bsm_audit.c:123 plugins/sudoers/bsm_audit.c:214 +msgid "Could not determine audit condition" +msgstr "Не вдалося визначити умови аудита" + +#: plugins/sudoers/bsm_audit.c:188 plugins/sudoers/bsm_audit.c:277 +msgid "unable to commit audit record" +msgstr "не вдалося надіслати запис аудита" + +#: plugins/sudoers/check.c:285 +#, c-format +msgid "error reading lecture file %s" +msgstr "помилка під час спроби читання файла настанов %s" + +#: plugins/sudoers/check.c:288 +#, c-format +msgid "ignoring lecture file %s: not a regular file" +msgstr "ігноруємо файл настанов %s: він не є звичайним файлом" + +#: plugins/sudoers/check.c:301 +msgid "" +"\n" +"We trust you have received the usual lecture from the local System\n" +"Administrator. It usually boils down to these three things:\n" +"\n" +" #1) Respect the privacy of others.\n" +" #2) Think before you type.\n" +" #3) With great power comes great responsibility.\n" +"\n" +msgstr "" +"\n" +"Ми сподіваємося, що ви отримали належні настанови від адміністратора\n" +"локальної системи. Зазвичай, подібні настанови зводяться до такого:\n" +"\n" +" #1) Поважайте конфіденційність даних інших користувачів.\n" +" #2) Обдумайте свої дії, перш ніж виконувати їх.\n" +" #3) Користування широкими правами розширює сферу відповідальності.\n" +"\n" + +#: plugins/sudoers/check.c:309 +msgid "" +"For security reasons, the password you type will not be visible.\n" +"\n" +msgstr "" +"З міркувань безпеки введений вами пароль не буде показано.\n" +"\n" + +#: plugins/sudoers/check.c:353 plugins/sudoers/check.c:363 +#: plugins/sudoers/parse.c:82 plugins/sudoers/sudoers.c:945 +#: plugins/sudoers/sudoers.c:966 plugins/sudoers/tsdump.c:119 +#, c-format +msgid "unknown uid %u" +msgstr "невідоме значення uid %u" + +#: plugins/sudoers/check_aliases.c:99 plugins/sudoers/defaults.c:1279 +#, c-format +msgid "%s: %s\n" +msgstr "%s: %s\n" + +#: plugins/sudoers/check_aliases.c:133 +#, c-format +msgid "cycle in %s \"%s\"" +msgstr "цикл у %s «%s»" + +#: plugins/sudoers/check_aliases.c:136 +#, c-format +msgid "%s \"%s\" referenced but not defined" +msgstr "виявлено посилання %s «%s», яке не визначено" + +#: plugins/sudoers/cvtsudoers.c:209 +#, c-format +msgid "order increment: %s: %s" +msgstr "збільшення порядку: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:228 +#, c-format +msgid "starting order: %s: %s" +msgstr "початковий порядок: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:238 +#, c-format +msgid "order padding: %s: %s" +msgstr "доповнення порядку: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:248 plugins/sudoers/visudo.c:184 +#, c-format +msgid "%s grammar version %d\n" +msgstr "Граматична перевірка %s, версія %d\n" + +#: plugins/sudoers/cvtsudoers.c:277 plugins/sudoers/testsudoers.c:159 +#, c-format +msgid "unsupported input format %s" +msgstr "непідтримуваний формат вхідних даних, %s" + +#: plugins/sudoers/cvtsudoers.c:295 +#, c-format +msgid "unsupported output format %s" +msgstr "непідтримуваний формат виведення, %s" + +#: plugins/sudoers/cvtsudoers.c:385 +#, c-format +msgid "%s: input and output files must be different" +msgstr "%s: файли вхідних і вихідних даних мають бути різними файлами" + +#: plugins/sudoers/cvtsudoers.c:399 plugins/sudoers/sudoers.c:166 +#: plugins/sudoers/sudoers.c:222 plugins/sudoers/testsudoers.c:254 +#: plugins/sudoers/visudo.c:280 plugins/sudoers/visudo.c:654 +msgid "unable to initialize sudoers default values" +msgstr "не вдалося ініціалізувати типові значення sudoers" + +#: plugins/sudoers/cvtsudoers.c:525 plugins/sudoers/ldap_conf.c:434 +#, c-format +msgid "%s: %s: %s: %s" +msgstr "%s: %s: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:584 +#, c-format +msgid "%s: unknown key word %s" +msgstr "%s: невідоме ключове слово %s" + +#: plugins/sudoers/cvtsudoers.c:630 +#, c-format +msgid "invalid defaults type: %s" +msgstr "некоректний тип типових значень: %s" + +#: plugins/sudoers/cvtsudoers.c:653 +#, c-format +msgid "invalid suppression type: %s" +msgstr "некоректний тип придушення: %s" + +#: plugins/sudoers/cvtsudoers.c:694 plugins/sudoers/cvtsudoers.c:710 +#, c-format +msgid "invalid filter: %s" +msgstr "некоректний фільтр: %s" + +#: plugins/sudoers/cvtsudoers.c:754 plugins/sudoers/visudo.c:982 +#, c-format +msgid "failed to parse %s file, unknown error" +msgstr "не вдалося обробити файл %s, невідома помилка" + +#: plugins/sudoers/cvtsudoers.c:1478 plugins/sudoers/sudoreplay.c:1142 +#: plugins/sudoers/timestamp.c:343 plugins/sudoers/timestamp.c:346 +#, c-format +msgid "unable to write to %s" +msgstr "не вдалося виконати запис до %s" + +#: plugins/sudoers/cvtsudoers.c:1506 +#, c-format +msgid "" +"%s - convert between sudoers file formats\n" +"\n" +msgstr "" +"%s — перетворення форматів файлів sudoers\n" +"\n" + +#: plugins/sudoers/cvtsudoers.c:1508 +msgid "" +"\n" +"Options:\n" +" -b, --base=dn the base DN for sudo LDAP queries\n" +" -c, --config=conf_file the path to the configuration file\n" +" -d, --defaults=deftypes only convert Defaults of the specified types\n" +" -e, --expand-aliases expand aliases when converting\n" +" -f, --output-format=format set output format: JSON, LDIF or sudoers\n" +" -i, --input-format=format set input format: LDIF or sudoers\n" +" -I, --increment=num amount to increase each sudoOrder by\n" +" -h, --help display help message and exit\n" +" -m, --match=filter only convert entries that match the filter\n" +" -M, --match-local match filter uses passwd and group databases\n" +" -o, --output=output_file write converted sudoers to output_file\n" +" -O, --order-start=num starting point for first sudoOrder\n" +" -p, --prune-matches prune non-matching users, groups and hosts\n" +" -P, --padding=num base padding for sudoOrder increment\n" +" -s, --suppress=sections suppress output of certain sections\n" +" -V, --version display version information and exit" +msgstr "" +"\n" +"Параметри:\n" +" -b, --base=dn базовий DN для запитів sudo до LDAP\n" +" -c, --config=файл_налашт шлях до файла налаштувань\n" +" -d, --defaults=типи перетворювати лише записи Defaults вказаних типів\n" +" -e, --expand-aliases розгортати псевдоніми під час перетворення\n" +" -f, --output-format=формат встановити формат виведення: JSON, LDIF або sudoers\n" +" -i, --input-format=формат встановити формат вхідних даних: LDIF або sudoers\n" +" -I, --increment=число число, на яке слід збільшувати sudoOrder\n" +" -h, --help вивести довідкове повідомлення і завершити роботу\n" +" -m, --match=фільтр перетворювати лише записи, які відповідають фільтру\n" +" -M, --match-local встановлювати відповідність фільтра за базами даних passwd та груп\n" +" -o, --output=файл_результатів записати перетворені дані sudoers до файла файл_результатів\n" +" -O, --order-start=число початкова точка для першого sudoOrder\n" +" -p, --prune-matches вилучити невідповідні записи користувачів, груп і вузлів\n" +" -P, --padding=число доповнення основи для нарощування sudoOrder\n" +" -s, --suppress=розділи придушити виведення певних розділів\n" +" -V, --version вивести дані щодо версії і завершити роботу" + +#: plugins/sudoers/cvtsudoers_csv.c:192 plugins/sudoers/cvtsudoers_csv.c:199 +#: plugins/sudoers/cvtsudoers_ldif.c:244 plugins/sudoers/cvtsudoers_ldif.c:251 +#: plugins/sudoers/cvtsudoers_ldif.c:592 plugins/sudoers/env.c:340 +#: plugins/sudoers/env.c:347 plugins/sudoers/env.c:458 +#: plugins/sudoers/ldap.c:528 plugins/sudoers/ldap.c:761 +#: plugins/sudoers/ldap.c:1134 plugins/sudoers/ldap_conf.c:222 +#: plugins/sudoers/ldap_conf.c:313 plugins/sudoers/ldap_util.c:486 +#: plugins/sudoers/linux_audit.c:92 plugins/sudoers/logging.c:461 +#: plugins/sudoers/logging.c:817 plugins/sudoers/logging.c:827 +#: plugins/sudoers/policy.c:807 plugins/sudoers/policy.c:818 +#: plugins/sudoers/prompt.c:168 plugins/sudoers/serialize_list.c:62 +#: plugins/sudoers/serialize_list.c:71 plugins/sudoers/strvec_join.c:62 +#: plugins/sudoers/sudoreplay.c:1339 plugins/sudoers/sudoreplay.c:1345 +#: plugins/sudoers/sudoreplay.c:1351 plugins/sudoers/testsudoers.c:245 +#: plugins/sudoers/toke_util.c:213 toke.l:995 toke.l:1197 +#, c-format +msgid "internal error, %s overflow" +msgstr "внутрішня помилка, переповнення %s" + +#: plugins/sudoers/cvtsudoers_csv.c:452 plugins/sudoers/cvtsudoers_csv.c:466 +#: plugins/sudoers/cvtsudoers_json.c:657 plugins/sudoers/cvtsudoers_json.c:672 +#: plugins/sudoers/cvtsudoers_ldif.c:347 plugins/sudoers/cvtsudoers_ldif.c:360 +#: plugins/sudoers/ldap.c:512 +msgid "unable to get GMT time" +msgstr "не вдалося отримати гринвіцький час" + +#: plugins/sudoers/cvtsudoers_csv.c:457 plugins/sudoers/cvtsudoers_csv.c:471 +#: plugins/sudoers/cvtsudoers_json.c:662 plugins/sudoers/cvtsudoers_json.c:677 +#: plugins/sudoers/cvtsudoers_ldif.c:352 plugins/sudoers/cvtsudoers_ldif.c:365 +#: plugins/sudoers/ldap.c:520 +msgid "unable to format timestamp" +msgstr "не вдалося виконати форматування часового штампа" + +#: plugins/sudoers/cvtsudoers_json.c:480 plugins/sudoers/cvtsudoers_json.c:515 +#: plugins/sudoers/cvtsudoers_json.c:728 +#, c-format +msgid "%s:%d:%d: unknown defaults entry \"%s\"" +msgstr "%s:%d:%d: невідомий запис типових параметрів, «%s»" + +#: plugins/sudoers/cvtsudoers_ldif.c:661 +#, c-format +msgid "too many sudoers entries, maximum %u" +msgstr "забагато записів sudoers, максимальна кількість — %u" + +#: plugins/sudoers/cvtsudoers_ldif.c:704 +msgid "the SUDOERS_BASE environment variable is not set and the -b option was not specified." +msgstr "не встановлено значення змінної середовища SUDOERS_BASE і не вказано параметра -b." + +#: plugins/sudoers/cvtsudoers_merge.c:273 +#: plugins/sudoers/cvtsudoers_merge.c:309 +#, c-format +msgid "%s:%d:%d: converting host list to ALL" +msgstr "%s:%d:%d: перетворюємо список вузлів на ALL" + +#: plugins/sudoers/cvtsudoers_merge.c:545 +#, c-format +msgid "unable to find alias %s" +msgstr "не вдалося знайти альтернативну назву %s" + +#: plugins/sudoers/cvtsudoers_merge.c:548 +#, c-format +msgid "%s:%d:%d: renaming alias %s to %s" +msgstr "%s:%d:%d: перейменування альтернативної назви %s на %s" + +#: plugins/sudoers/cvtsudoers_merge.c:605 +#, c-format +msgid "%s:%d:%d: removing duplicate alias %s" +msgstr "%s:%d:%d: вилучення дубліката альтернативної назви %s" + +#: plugins/sudoers/cvtsudoers_merge.c:830 +#, c-format +msgid "%s:%d:%d: conflicting Defaults entry \"%s\" host-specific in %s:%d:%d" +msgstr "%s:%d:%d: конфлікт запису Defaults «%s» специфічним для вузла у %s:%d:%d" + +#: plugins/sudoers/cvtsudoers_merge.c:864 +#, c-format +msgid "%s:%d:%d: made Defaults \"%s\" specific to host %s" +msgstr "%s:%d:%d: Defaults «%s» зроблено специфічним для вузла %s" + +#: plugins/sudoers/cvtsudoers_merge.c:882 +#, c-format +msgid "%s:%d:%d: unable to make Defaults \"%s\" host-specific" +msgstr "%s:%d:%d: не вдалося зробити Defaults «%s» специфічними для вузла" + +#: plugins/sudoers/cvtsudoers_merge.c:892 +#, c-format +msgid "%s:%d:%d: removing Defaults \"%s\" overridden by subsequent entries" +msgstr "%s:%d:%d: вилучення Defaults «%s» перевизначено наступними записами" + +#: plugins/sudoers/cvtsudoers_merge.c:1088 +#, c-format +msgid "%s:%d:%d: merging userspec into %s:%d:%d" +msgstr "%s:%d:%d: об'єднуємо специфікації користувачів у %s:%d:%d" + +#: plugins/sudoers/cvtsudoers_merge.c:1182 +#, c-format +msgid "%s:%d:%d: removing userspec overridden by subsequent entries" +msgstr "%s:%d:%d: вилучення userspec перевизначено наступними записами" + +#: plugins/sudoers/def_data.c:56 +#, c-format +msgid "Syslog facility if syslog is being used for logging: %s" +msgstr "Інструмент ведення журналу, якщо використано syslog: %s" + +#: plugins/sudoers/def_data.c:60 +#, c-format +msgid "Syslog priority to use when user authenticates successfully: %s" +msgstr "Пріоритетність, яка використовуватиметься у syslog для успішних розпізнавань: %s" + +#: plugins/sudoers/def_data.c:64 +#, c-format +msgid "Syslog priority to use when user authenticates unsuccessfully: %s" +msgstr "Пріоритетність, яка використовуватиметься у syslog для неуспішних розпізнавань: %s" + +#: plugins/sudoers/def_data.c:68 +msgid "Put OTP prompt on its own line" +msgstr "Розташовувати запит щодо OTP у окремому рядку" + +#: plugins/sudoers/def_data.c:72 +msgid "Ignore '.' in $PATH" +msgstr "Ігнорувати «.» у $PATH" + +#: plugins/sudoers/def_data.c:76 +msgid "Always send mail when sudo is run" +msgstr "Завжди надсилати листа, коли викликано sudo" + +#: plugins/sudoers/def_data.c:80 +msgid "Send mail if user authentication fails" +msgstr "Надсилати листа, якщо користувачу не вдалося пройти розпізнавання" + +#: plugins/sudoers/def_data.c:84 +msgid "Send mail if the user is not in sudoers" +msgstr "Надсилати листа, якщо користувача немає серед sudoers" + +#: plugins/sudoers/def_data.c:88 +msgid "Send mail if the user is not in sudoers for this host" +msgstr "Надсилати листа, якщо користувача немає у списку sudoers цього вузла" + +#: plugins/sudoers/def_data.c:92 +msgid "Send mail if the user is not allowed to run a command" +msgstr "Надсилати листа, якщо користувачеві заборонено виконувати команду" + +#: plugins/sudoers/def_data.c:96 +msgid "Send mail if the user tries to run a command" +msgstr "Надсилати листа, якщо користувач намагається віддати команду" + +#: plugins/sudoers/def_data.c:100 +msgid "Use a separate timestamp for each user/tty combo" +msgstr "Окремий часовий штамп для кожної комбінації користувач/tty" + +#: plugins/sudoers/def_data.c:104 +msgid "Lecture user the first time they run sudo" +msgstr "Показувати настанови користувачеві під час першого запуску sudo" + +#: plugins/sudoers/def_data.c:108 +#, c-format +msgid "File containing the sudo lecture: %s" +msgstr "Файл з настановами щодо sudo: %s" + +#: plugins/sudoers/def_data.c:112 +msgid "Require users to authenticate by default" +msgstr "Типово, вимагати розпізнавання" + +#: plugins/sudoers/def_data.c:116 +msgid "Root may run sudo" +msgstr "Root може виконувати sudo" + +#: plugins/sudoers/def_data.c:120 +msgid "Log the hostname in the (non-syslog) log file" +msgstr "Записувати назву вузла до файла журналу (не syslog)" + +#: plugins/sudoers/def_data.c:124 +msgid "Log the year in the (non-syslog) log file" +msgstr "Записувати рік до файла журналу (не syslog)" + +#: plugins/sudoers/def_data.c:128 +msgid "If sudo is invoked with no arguments, start a shell" +msgstr "Якщо sudo викликано без параметрів, запускати командну оболонку" + +#: plugins/sudoers/def_data.c:132 +msgid "Set $HOME to the target user when starting a shell with -s" +msgstr "Встановлювати $HOME відповідно до вказаного користувача для запуску оболонки з -s" + +#: plugins/sudoers/def_data.c:136 +msgid "Always set $HOME to the target user's home directory" +msgstr "Завжди встановлювати значенням $HOME домашній каталог вказаного користувача" + +#: plugins/sudoers/def_data.c:140 +msgid "Allow some information gathering to give useful error messages" +msgstr "Дозволити збирання даних з метою формування зрозумілих повідомлень про помилки" + +#: plugins/sudoers/def_data.c:144 +msgid "Require fully-qualified hostnames in the sudoers file" +msgstr "У файлі sudoers слід вказати повні назви вузлів" + +#: plugins/sudoers/def_data.c:148 +msgid "Insult the user when they enter an incorrect password" +msgstr "Знущатися з користувача, якщо введено помилковий пароль" + +#: plugins/sudoers/def_data.c:152 +msgid "Only allow the user to run sudo if they have a tty" +msgstr "Дозволяти користувачеві виконувати sudo, лише якщо з ним пов’язано tty" + +#: plugins/sudoers/def_data.c:156 +msgid "Visudo will honor the EDITOR environment variable" +msgstr "Visudo зважатимwill honor the EDITOR environment variable" + +#: plugins/sudoers/def_data.c:160 +msgid "Prompt for root's password, not the users's" +msgstr "Надсилати запит на пароль root, а не користувача" + +#: plugins/sudoers/def_data.c:164 +msgid "Prompt for the runas_default user's password, not the users's" +msgstr "Надсилати запит щодо пароля runas_default, але пароля самого користувача" + +#: plugins/sudoers/def_data.c:168 +msgid "Prompt for the target user's password, not the users's" +msgstr "Надсилати запит щодо пароля потрібного користувача, але пароля самого користувача" + +#: plugins/sudoers/def_data.c:172 +msgid "Apply defaults in the target user's login class if there is one" +msgstr "Застосовувати типові параметри у класі вказаного користувача, якщо такий клас є" + +#: plugins/sudoers/def_data.c:176 +msgid "Set the LOGNAME and USER environment variables" +msgstr "Встановити значення змінних середовища LOGNAME і USER" + +#: plugins/sudoers/def_data.c:180 +msgid "Only set the effective uid to the target user, not the real uid" +msgstr "Встановлювати для потрібного користувача ефективний uid, а не справжній uid" + +#: plugins/sudoers/def_data.c:184 +msgid "Don't initialize the group vector to that of the target user" +msgstr "Не ініціалізувати вектор групи відповідно до вказаного користувача" + +#: plugins/sudoers/def_data.c:188 +#, c-format +msgid "Length at which to wrap log file lines (0 for no wrap): %u" +msgstr "Позиція, на якій слід переносити рядки файла журналу (0 — без перенесення): %u" + +#: plugins/sudoers/def_data.c:192 +#, c-format +msgid "Authentication timestamp timeout: %.1f minutes" +msgstr "Час очікування на часовий штамп розпізнавання: %.1f хвилина" + +#: plugins/sudoers/def_data.c:196 +#, c-format +msgid "Password prompt timeout: %.1f minutes" +msgstr "Час очікування на введення пароля: %.1f хвилина" + +#: plugins/sudoers/def_data.c:200 +#, c-format +msgid "Number of tries to enter a password: %u" +msgstr "Кількість спроб введення пароля: %u" + +#: plugins/sudoers/def_data.c:204 +#, c-format +msgid "Umask to use or 0777 to use user's: 0%o" +msgstr "Потрібне значення umask або 0777 для користувачевого: 0%o" + +#: plugins/sudoers/def_data.c:208 +#, c-format +msgid "Path to log file: %s" +msgstr "Шлях до файла журналу: %s" + +#: plugins/sudoers/def_data.c:212 +#, c-format +msgid "Path to mail program: %s" +msgstr "Шлях до програми ел. пошти: %s" + +#: plugins/sudoers/def_data.c:216 +#, c-format +msgid "Flags for mail program: %s" +msgstr "Параметри програми ел. пошти: %s" + +#: plugins/sudoers/def_data.c:220 +#, c-format +msgid "Address to send mail to: %s" +msgstr "Адреса, на яку надсилатимуться листи: %s" + +#: plugins/sudoers/def_data.c:224 +#, c-format +msgid "Address to send mail from: %s" +msgstr "Адреса, з якої надсилатимуться листи: %s" + +#: plugins/sudoers/def_data.c:228 +#, c-format +msgid "Subject line for mail messages: %s" +msgstr "Тема листів: %s" + +#: plugins/sudoers/def_data.c:232 +#, c-format +msgid "Incorrect password message: %s" +msgstr "Повідомлення про помилковий пароль: %s" + +#: plugins/sudoers/def_data.c:236 +#, c-format +msgid "Path to lecture status dir: %s" +msgstr "Шлях до каталогу стану отримання настанов: %s" + +#: plugins/sudoers/def_data.c:240 +#, c-format +msgid "Path to authentication timestamp dir: %s" +msgstr "Шлях до каталогу часових штампів розпізнавання: %s" + +#: plugins/sudoers/def_data.c:244 +#, c-format +msgid "Owner of the authentication timestamp dir: %s" +msgstr "Власник каталогу часових штампів розпізнавання: %s" + +#: plugins/sudoers/def_data.c:248 +#, c-format +msgid "Users in this group are exempt from password and PATH requirements: %s" +msgstr "Користувачів цієї групи звільнено від потреби у введенні пароля і PATH: %s" + +#: plugins/sudoers/def_data.c:252 +#, c-format +msgid "Default password prompt: %s" +msgstr "Типовий запит пароля: %s" + +#: plugins/sudoers/def_data.c:256 +msgid "If set, passprompt will override system prompt in all cases." +msgstr "Якщо встановлено, запит щодо паролю замінюватиме запит системи." + +#: plugins/sudoers/def_data.c:260 +#, c-format +msgid "Default user to run commands as: %s" +msgstr "Типовий користувач для запуску команд: %s" + +#: plugins/sudoers/def_data.c:264 +#, c-format +msgid "Value to override user's $PATH with: %s" +msgstr "Значення для заміни $PATH користувача: %s" + +#: plugins/sudoers/def_data.c:268 +#, c-format +msgid "Path to the editor for use by visudo: %s" +msgstr "Шлях до редактора, який використовуватиме visudo: %s" + +#: plugins/sudoers/def_data.c:272 +#, c-format +msgid "When to require a password for 'list' pseudocommand: %s" +msgstr "Умови запиту пароля для псевдокоманди «list»: %s" + +#: plugins/sudoers/def_data.c:276 +#, c-format +msgid "When to require a password for 'verify' pseudocommand: %s" +msgstr "Умови запиту пароля для псевдокоманди «verify»: %s" + +#: plugins/sudoers/def_data.c:280 +msgid "Preload the sudo_noexec library which replaces the exec functions" +msgstr "Попередньо завантажити бібліотеку sudo_noexec, яка замінює функції виконання" + +#: plugins/sudoers/def_data.c:284 +msgid "If LDAP directory is up, do we ignore local sudoers file" +msgstr "Чи слід ігнорувати локальний файл sudoers, якщо є доступ до каталогу LDAP" + +#: plugins/sudoers/def_data.c:288 +#, c-format +msgid "File descriptors >= %d will be closed before executing a command" +msgstr "Дескриптори файлів >= %d буде закрито перед виконанням команди" + +#: plugins/sudoers/def_data.c:292 +msgid "If set, users may override the value of \"closefrom\" with the -C option" +msgstr "Якщо встановлено, користувачі можуть перевизначати значення closefrom за допомогою параметра -C" + +#: plugins/sudoers/def_data.c:296 +msgid "Allow users to set arbitrary environment variables" +msgstr "Дозволити користувачам встановлювати значення довільних змінних середовища" + +#: plugins/sudoers/def_data.c:300 +msgid "Reset the environment to a default set of variables" +msgstr "Відновити типовий набір змінних середовища" + +#: plugins/sudoers/def_data.c:304 +msgid "Environment variables to check for safety:" +msgstr "Змінні середовища, безпечність яких слід перевіряти:" + +#: plugins/sudoers/def_data.c:308 +msgid "Environment variables to remove:" +msgstr "Змінні середовища, які слід вилучити:" + +#: plugins/sudoers/def_data.c:312 +msgid "Environment variables to preserve:" +msgstr "Змінні середовища, які слід зберегти:" + +#: plugins/sudoers/def_data.c:316 +#, c-format +msgid "SELinux role to use in the new security context: %s" +msgstr "Роль SELinux, яку слід використати у новому контексті захисту: %s" + +#: plugins/sudoers/def_data.c:320 +#, c-format +msgid "SELinux type to use in the new security context: %s" +msgstr "Тип SELinux, який слід використати у новому контексті захисту: %s" + +#: plugins/sudoers/def_data.c:324 +#, c-format +msgid "Path to the sudo-specific environment file: %s" +msgstr "Шлях до специфічного для sudo файла середовища: %s" + +#: plugins/sudoers/def_data.c:328 +#, c-format +msgid "Path to the restricted sudo-specific environment file: %s" +msgstr "Шлях до специфічного для sudo файла середовища з обмеженим доступом: %s" + +#: plugins/sudoers/def_data.c:332 +#, c-format +msgid "Locale to use while parsing sudoers: %s" +msgstr "Локаль, яку слід використати під час обробки sudoers: %s" + +#: plugins/sudoers/def_data.c:336 +msgid "Allow sudo to prompt for a password even if it would be visible" +msgstr "Дозволити sudo надсилати запит щодо пароля, навіть якщо цей пароль буде видимим" + +#: plugins/sudoers/def_data.c:340 +msgid "Provide visual feedback at the password prompt when there is user input" +msgstr "Супроводжувати введення користувачем пароля показом замінників символів пароля" + +#: plugins/sudoers/def_data.c:344 +msgid "Use faster globbing that is less accurate but does not access the filesystem" +msgstr "Швидше встановлення відповідності, менш точне, але без доступу до файлової системи" + +#: plugins/sudoers/def_data.c:348 +msgid "The umask specified in sudoers will override the user's, even if it is more permissive" +msgstr "Значення umask, вказане у sudoers, перевизначатиме значення користувача, навіть якщо це значення відкриває ширший доступ" + +#: plugins/sudoers/def_data.c:352 +msgid "Log user's input for the command being run" +msgstr "Записувати дані, вказані користувачем під час виконання команди" + +#: plugins/sudoers/def_data.c:356 +msgid "Log the command's standard input if not connected to a terminal" +msgstr "Записувати до журналу джерело стандартних вхідних даних команди, якщо команду не з'єднано із терміналом" + +#: plugins/sudoers/def_data.c:360 +msgid "Log the user's terminal input for the command being run" +msgstr "Записувати дані, вказані користувачем у терміналі, під час виконання команди" + +#: plugins/sudoers/def_data.c:364 +msgid "Log the output of the command being run" +msgstr "Записувати дані, виведені командою під час виконання" + +#: plugins/sudoers/def_data.c:368 +msgid "Log the command's standard output if not connected to a terminal" +msgstr "Записувати до журналу стандартне виведення команди, якщо команду не з'єднано із терміналом" + +#: plugins/sudoers/def_data.c:372 +msgid "Log the command's standard error if not connected to a terminal" +msgstr "Записувати до журналу стандартне виведення помилок команди, якщо команду не з'єднано із терміналом" + +#: plugins/sudoers/def_data.c:376 +msgid "Log the terminal output of the command being run" +msgstr "Записувати дані, виведені командою до термінала під час виконання" + +#: plugins/sudoers/def_data.c:380 +msgid "Compress I/O logs using zlib" +msgstr "Стискати журнали за допомогою zlib" + +#: plugins/sudoers/def_data.c:384 +msgid "Always run commands in a pseudo-tty" +msgstr "Завжди запускати команди у псевдо-tty" + +#: plugins/sudoers/def_data.c:388 +#, c-format +msgid "Plugin for non-Unix group support: %s" +msgstr "Додаток для підтримки не-Unix груп: %s" + +#: plugins/sudoers/def_data.c:392 +#, c-format +msgid "Directory in which to store input/output logs: %s" +msgstr "Каталог, у якому слід зберігати журнали введення/виведення: %s" + +#: plugins/sudoers/def_data.c:396 +#, c-format +msgid "File in which to store the input/output log: %s" +msgstr "Файл, у якому слід зберігати журнал введення/виведення даних: %s" + +#: plugins/sudoers/def_data.c:400 +msgid "Add an entry to the utmp/utmpx file when allocating a pty" +msgstr "Додати запис до файла utmp/utmpx під час розміщення pty" + +#: plugins/sudoers/def_data.c:404 +msgid "Set the user in utmp to the runas user, not the invoking user" +msgstr "Встановити користувача у utmp у значення користувача, від імені якого виконується команда" + +#: plugins/sudoers/def_data.c:408 +#, c-format +msgid "Set of permitted privileges: %s" +msgstr "Набір дозвільних прав доступу: %s" + +#: plugins/sudoers/def_data.c:412 +#, c-format +msgid "Set of limit privileges: %s" +msgstr "Набір обмежувальних прав доступу: %s" + +#: plugins/sudoers/def_data.c:416 +msgid "Run commands on a pty in the background" +msgstr "Виконувати команди у pty у фоновому режимі" + +#: plugins/sudoers/def_data.c:420 +#, c-format +msgid "PAM service name to use: %s" +msgstr "Назва служби PAM, якою слід скористатися: %s" + +#: plugins/sudoers/def_data.c:424 +#, c-format +msgid "PAM service name to use for login shells: %s" +msgstr "Назва служби PAM, якою слід скористатися для оболонок входу до системи: %s" + +#: plugins/sudoers/def_data.c:428 +#, c-format +msgid "PAM service name to use when sudo is run with the -A option: %s" +msgstr "Назва служби PAM, якою слід скористатися, якщо sudo запущено з параметром -A: %s" + +#: plugins/sudoers/def_data.c:432 +msgid "Attempt to establish PAM credentials for the target user" +msgstr "Спробувати встановити реєстраційні дані PAM для користувача, від імені якого виконуватимуться дії" + +#: plugins/sudoers/def_data.c:436 +msgid "Create a new PAM session for the command to run in" +msgstr "Створити сеанс PAM для виконання команди" + +#: plugins/sudoers/def_data.c:440 +msgid "Perform PAM account validation management" +msgstr "Виконати керування коректністю облікового запису PAM" + +#: plugins/sudoers/def_data.c:444 +#, c-format +msgid "Maximum I/O log sequence number: %s" +msgstr "Максимальний номер у послідовності журналу введення-виведення: %s" + +#: plugins/sudoers/def_data.c:448 +msgid "Enable sudoers netgroup support" +msgstr "Увімкнути підтримку мережевих груп у sudoers" + +#: plugins/sudoers/def_data.c:452 +msgid "Check parent directories for writability when editing files with sudoedit" +msgstr "Перевіряти можливість запису до батьківського каталогу під час редагування фалів за допомогою sudoedit" + +#: plugins/sudoers/def_data.c:456 +msgid "Follow symbolic links when editing files with sudoedit" +msgstr "Переходити за символічними посиланнями під час редагування файлів за допомогою sudoedit" + +#: plugins/sudoers/def_data.c:460 +msgid "Query the group plugin for unknown system groups" +msgstr "Надсилати запит до додатка груп щодо невідомих груп системи" + +#: plugins/sudoers/def_data.c:464 +msgid "Match netgroups based on the entire tuple: user, host and domain" +msgstr "Встановлювати відповідність мережевим групам за усім кортежем даних: користувачем, вузлом і доменом" + +#: plugins/sudoers/def_data.c:468 +msgid "Allow commands to be run even if sudo cannot write to the audit log" +msgstr "Дозволити виконання команд, навіть якщо sudo не може здійснювати запис до журналу аудиту" + +#: plugins/sudoers/def_data.c:472 +msgid "Allow commands to be run even if sudo cannot write to the I/O log" +msgstr "Дозволити виконання команд, навіть якщо sudo не може здійснювати запис до журналу введення-виведення" + +#: plugins/sudoers/def_data.c:476 +msgid "Allow commands to be run even if sudo cannot write to the log file" +msgstr "Дозволити виконання команд, навіть якщо sudo не може здійснювати запис до файла журналу" + +#: plugins/sudoers/def_data.c:480 +msgid "Resolve groups in sudoers and match on the group ID, not the name" +msgstr "Визначати групи у sudoers і встановлювати відповідність не назві, а ідентифікатору групи" + +#: plugins/sudoers/def_data.c:484 +#, c-format +msgid "Log entries larger than this value will be split into multiple syslog messages: %u" +msgstr "Записи журналу, які виявляться довшими за це значення, буде поділено на декілька повідомлень журналу системи: %u" + +#: plugins/sudoers/def_data.c:488 +#, c-format +msgid "User that will own the I/O log files: %s" +msgstr "Користувач, який буде власником усіх файлів журналу введення-виведення: %s" + +#: plugins/sudoers/def_data.c:492 +#, c-format +msgid "Group that will own the I/O log files: %s" +msgstr "Група, яка буде власником усіх файлів журналу введення-виведення: %s" + +#: plugins/sudoers/def_data.c:496 +#, c-format +msgid "File mode to use for the I/O log files: 0%o" +msgstr "Режим доступу до файлів, яким слід скористатися для файлів журналу введення-виведення: 0%o" + +#: plugins/sudoers/def_data.c:500 +#, c-format +msgid "Execute commands by file descriptor instead of by path: %s" +msgstr "Виконати команди за дескриптором файла замість виконання за шляхом: %s" + +#: plugins/sudoers/def_data.c:504 +msgid "Ignore unknown Defaults entries in sudoers instead of producing a warning" +msgstr "Ігнорувати невідомі записи Defaults у sudoers замість показу попередження" + +#: plugins/sudoers/def_data.c:508 +#, c-format +msgid "Time in seconds after which the command will be terminated: %u" +msgstr "Час у секундах, який має минути, щоб команду буде перервано: %u" + +#: plugins/sudoers/def_data.c:512 +msgid "Allow the user to specify a timeout on the command line" +msgstr "Надати змогу користувачеві встановлювати час очікування у командному рядку" + +#: plugins/sudoers/def_data.c:516 +msgid "Flush I/O log data to disk immediately instead of buffering it" +msgstr "Скидати дані журналу введення-виведення на диск негайно, без буферизації" + +#: plugins/sudoers/def_data.c:520 +msgid "Include the process ID when logging via syslog" +msgstr "Включати ідентифікатор процесу до журналів syslog" + +#: plugins/sudoers/def_data.c:524 +#, c-format +msgid "Type of authentication timestamp record: %s" +msgstr "Тип запису часової позначки розпізнавання: %s" + +#: plugins/sudoers/def_data.c:528 +#, c-format +msgid "Authentication failure message: %s" +msgstr "Повідомлення про помилку розпізнавання: %s" + +#: plugins/sudoers/def_data.c:532 +msgid "Ignore case when matching user names" +msgstr "Ігнорувати регістр символів при пошуку імен користувачів" + +#: plugins/sudoers/def_data.c:536 +msgid "Ignore case when matching group names" +msgstr "Ігнорувати регістр символів при пошуку назв груп" + +#: plugins/sudoers/def_data.c:540 +msgid "Log when a command is allowed by sudoers" +msgstr "Записувати до журналу дані, коли виконання команди дозволене sudoers" + +#: plugins/sudoers/def_data.c:544 +msgid "Log when a command is denied by sudoers" +msgstr "Записувати до журналу дані, коли виконання команди заборонене sudoers" + +#: plugins/sudoers/def_data.c:548 +msgid "Sudo log server(s) to connect to with optional port" +msgstr "Сервер або сервери журналу sudo, з якими слід встановити з'єднання, з необов'язковим зазначенням порту" + +#: plugins/sudoers/def_data.c:552 +#, c-format +msgid "Sudo log server timeout in seconds: %u" +msgstr "Час очікування на дії сервера журналу sudo у секундах: %u" + +#: plugins/sudoers/def_data.c:556 +msgid "Enable SO_KEEPALIVE socket option on the socket connected to the logserver" +msgstr "Увімкнути параметр сокета SO_KEEPALIVE на сокеті, який з'єднано із сервером журналу" + +#: plugins/sudoers/def_data.c:560 +#, c-format +msgid "Path to the audit server's CA bundle file: %s" +msgstr "Шлях до файла пакета CA сервера аудиту: %s" + +#: plugins/sudoers/def_data.c:564 +#, c-format +msgid "Path to the sudoers certificate file: %s" +msgstr "Шлях до файла сертифікатів sudoers: %s" + +#: plugins/sudoers/def_data.c:568 +#, c-format +msgid "Path to the sudoers private key file: %s" +msgstr "Шлях до файла закритого ключа sudoers: %s" + +#: plugins/sudoers/def_data.c:572 +msgid "Verify that the log server's certificate is valid" +msgstr "Перевірити, чи є сертифікат сервера журналювання чинним" + +#: plugins/sudoers/def_data.c:576 +msgid "Allow the use of unknown runas user and/or group ID" +msgstr "Дозволити використання невідомих значень імені користувача і/або ідентифікатора групи для runas" + +#: plugins/sudoers/def_data.c:580 +msgid "Only permit running commands as a user with a valid shell" +msgstr "Дозволяти виконання команд лише від імені користувачів із коректним записом командної оболонки" + +#: plugins/sudoers/def_data.c:584 +msgid "Set the pam remote user to the user running sudo" +msgstr "Встановити для віддаленого користувача PAM те саме ім'я, що і для користувача, від імені якого запущено sudo" + +#: plugins/sudoers/def_data.c:588 +msgid "Set the pam remote host to the local host name" +msgstr "Встановити для віддаленого вузла PAM назву локального вузла" + +#: plugins/sudoers/def_data.c:592 +#, c-format +msgid "Working directory to change to before executing the command: %s" +msgstr "Робочий каталог, до якого слід перейти перед виконанням команди: %s" + +#: plugins/sudoers/def_data.c:596 +#, c-format +msgid "Root directory to change to before executing the command: %s" +msgstr "Кореневий каталог, до якого слід перейти перед виконанням команди: %s" + +#: plugins/sudoers/def_data.c:600 +#, c-format +msgid "The format of logs to produce: %s" +msgstr "Формат журналу: %s" + +#: plugins/sudoers/def_data.c:604 +msgid "Enable SELinux RBAC support" +msgstr "Увімкнути підтримку RBAC SELinux" + +#: plugins/sudoers/def_data.c:608 +#, c-format +msgid "Path to the file that is created the first time sudo is run: %s" +msgstr "Шлях до файла, який було створено під час першого запуску sudo: %s" + +#: plugins/sudoers/def_data.c:612 +msgid "Intercept further commands and apply sudoers restrictions to them" +msgstr "Перехоплювати подальші команди і застосовувати до них обмеження sudoers" + +#: plugins/sudoers/def_data.c:616 +msgid "Log sub-commands run by the original command" +msgstr "Записувати до журналу підкоманди, які запущено початковою командою" + +#: plugins/sudoers/def_data.c:620 +msgid "Log the exit status of commands" +msgstr "Записувати до журналу стан виходу команд" + +#: plugins/sudoers/def_data.c:624 +msgid "Subsequent commands in an intercepted session must be authenticated" +msgstr "Для виконання наступних команд у перехопленому сеансі слід пройти розпізнавання" + +#: plugins/sudoers/def_data.c:628 +msgid "Allow an intercepted command to run set setuid or setgid programs" +msgstr "Дозволити перехопленій команді запускати програми зі встановлення setuid або setgid" + +#: plugins/sudoers/def_data.c:632 +#, c-format +msgid "The maximum size to which the process's address space may grow (in bytes): %s" +msgstr "Максимальний розмір, до якого може зростати адресний простір процесу (у байтах): %s" + +#: plugins/sudoers/def_data.c:636 +#, c-format +msgid "The largest size core dump file that may be created (in bytes): %s" +msgstr "Найбільший розмір файла дампа ядра, який може бути створено (у байтах): %s" + +#: plugins/sudoers/def_data.c:640 +#, c-format +msgid "The maximum amount of CPU time that the process may use (in seconds): %s" +msgstr "Максимальна кількість часу процесора, який може використовувати процес (у секундах): %s" + +#: plugins/sudoers/def_data.c:644 +#, c-format +msgid "The maximum size of the data segment for the process (in bytes): %s" +msgstr "Максимальний розмір сегмента даних для процесу (у байтах): %s" + +#: plugins/sudoers/def_data.c:648 +#, c-format +msgid "The largest size file that the process may create (in bytes): %s" +msgstr "Найбільший розмір файла, який може створювати процес (у байтах): %s" + +#: plugins/sudoers/def_data.c:652 +#, c-format +msgid "The maximum number of locks that the process may establish: %s" +msgstr "Максимальна кількість блокувань, які може встановлювати процес: %s" + +#: plugins/sudoers/def_data.c:656 +#, c-format +msgid "The maximum size that the process may lock in memory (in bytes): %s" +msgstr "Максимальний розмір, який процес може блокувати у пам'яті (у байтах): %s" + +#: plugins/sudoers/def_data.c:660 +#, c-format +msgid "The maximum number of files that the process may have open: %s" +msgstr "Максимальна кількість файлів, які може відкривати процес: %s" + +#: plugins/sudoers/def_data.c:664 +#, c-format +msgid "The maximum number of processes that the user may run simultaneously: %s" +msgstr "Максимальна кількість процесів, які користувач може запускати одночасно: %s" + +#: plugins/sudoers/def_data.c:668 +#, c-format +msgid "The maximum size to which the process's resident set size may grow (in bytes): %s" +msgstr "Максимальний розмір, до якого може зростати розмір резидентного набору (у байтах): %s" + +#: plugins/sudoers/def_data.c:672 +#, c-format +msgid "The maximum size to which the process's stack may grow (in bytes): %s" +msgstr "Максимальний розмір, до якого може зростати стос процесу (у байтах): %s" + +#: plugins/sudoers/def_data.c:676 +msgid "Attempt authentication even when in non-interactive mode" +msgstr "Намагатися пройти розпізнавання, навіть якщо працюємо не в інтерактивному режимі" + +#: plugins/sudoers/def_data.c:680 +msgid "Store plaintext passwords in I/O log input" +msgstr "Зберігати звичайний текст паролів у вхідних даних журналу введення-виведення" + +#: plugins/sudoers/def_data.c:684 +msgid "List of regular expressions to use when matching a password prompt" +msgstr "Список формальних виразів для встановлення відповідності при запиті пароля" + +#: plugins/sudoers/def_data.c:688 +#, c-format +msgid "The mechanism used by the intercept and log_subcmds options: %s" +msgstr "Механізм, який використано для параметрів intercept і log_subcmds: %s" + +#: plugins/sudoers/def_data.c:692 +msgid "Attempt to verify the command and arguments after execution" +msgstr "Спробувати перевірити команду і аргументи після виконання" + +#: plugins/sudoers/def_data.c:696 +#, c-format +msgid "AppArmor profile to use in the new security context: %s" +msgstr "Профіль AppArmor, який слід використати у новому контексті захисту: %s" + +#: plugins/sudoers/defaults.c:191 +#, c-format +msgid "unknown defaults entry \"%s\"" +msgstr "невідомий запис типових параметрів «%s»" + +#: plugins/sudoers/defaults.c:234 +#, c-format +msgid "no value specified for \"%s\"" +msgstr "не вказано значення для «%s»" + +#: plugins/sudoers/defaults.c:243 +#, c-format +msgid "invalid operator \"%c=\" for \"%s\"" +msgstr "некоректний оператор «%c=» для «%s»" + +#: plugins/sudoers/defaults.c:275 +#, c-format +msgid "option \"%s\" does not take a value" +msgstr "параметру «%s» не потрібно передавати значення" + +#: plugins/sudoers/defaults.c:299 +#, c-format +msgid "invalid Defaults type 0x%x for option \"%s\"" +msgstr "некоректний тип Defaults, 0x%x, для параметра «%s»" + +#: plugins/sudoers/defaults.c:306 +#, c-format +msgid "value \"%s\" is invalid for option \"%s\"" +msgstr "значення «%s» є некоректним для параметра «%s»" + +#: plugins/sudoers/defaults.c:1128 plugins/sudoers/policy.c:210 +#: plugins/sudoers/policy.c:219 +#, c-format +msgid "path name for \"%s\" too long" +msgstr "назва шляху для «%s» є надто довгою" + +#: plugins/sudoers/defaults.c:1134 +#, c-format +msgid "values for \"%s\" must start with a '/', '~', or '*'" +msgstr "значення для «%s» має починатися з «/», «~» або «*»" + +#: plugins/sudoers/defaults.c:1141 +#, c-format +msgid "values for \"%s\" must start with a '/'" +msgstr "значення для «%s» має починатися з «/»" + +#: plugins/sudoers/editor.c:180 +#, c-format +msgid "ignoring editor: %.*s" +msgstr "ігноруємо редактор: %.*s" + +#: plugins/sudoers/editor.c:181 +msgid "editor arguments may not contain \"--\"" +msgstr "в записі аргументів редактора не може міститися \"--\"" + +#: plugins/sudoers/env.c:426 +msgid "sudo_putenv: corrupted envp, length mismatch" +msgstr "sudo_putenv: помилкове значення envp, невідповідність довжин" + +#: plugins/sudoers/env.c:1113 +msgid "unable to rebuild the environment" +msgstr "не вдалося перебудувати середовище" + +#: plugins/sudoers/env.c:1192 +#, c-format +msgid "sorry, you are not allowed to set the following environment variables: %s" +msgstr "вибачте, вам не дозволено встановлювати такі змінні середовища: %s" + +#: plugins/sudoers/filedigest.c:49 +#, c-format +msgid "unsupported digest type %d for %s" +msgstr "непідтримуваний тип контрольної суми, %d, для %s" + +#: plugins/sudoers/filedigest.c:78 +#, c-format +msgid "%s: read error" +msgstr "%s: помилка читання" + +#: plugins/sudoers/group_plugin.c:169 plugins/sudoers/sssd.c:576 +#, c-format +msgid "unable to load %s: %s" +msgstr "не вдалося завантажити %s: %s" + +#: plugins/sudoers/group_plugin.c:181 +#, c-format +msgid "unable to find symbol \"group_plugin\" in %s" +msgstr "не вдалося знайти символ «group_plugin» у %s" + +#: plugins/sudoers/group_plugin.c:186 +#, c-format +msgid "%s: incompatible group plugin major version %d, expected %d" +msgstr "%s: несумісна основна версія додатка обробки груп %d, мало бути — %d" + +#: plugins/sudoers/interfaces.c:76 plugins/sudoers/interfaces.c:93 +#, c-format +msgid "unable to parse IP address \"%s\"" +msgstr "не вдалося обробити IP-адресу «%s»" + +#: plugins/sudoers/interfaces.c:81 plugins/sudoers/interfaces.c:98 +#, c-format +msgid "unable to parse netmask \"%s\"" +msgstr "не вдалося обробити маску мережі «%s»" + +#: plugins/sudoers/interfaces.c:126 +msgid "Local IP address and netmask pairs:\n" +msgstr "Пари локальних IP-адрес і масок мережі:\n" + +#: plugins/sudoers/iolog.c:685 +msgid "unable to update sequence file" +msgstr "не вдалося оновити файл послідовності" + +#: plugins/sudoers/iolog.c:719 plugins/sudoers/iolog.c:907 +#: plugins/sudoers/iolog.c:1069 plugins/sudoers/iolog.c:1076 +#: plugins/sudoers/iolog.c:1197 plugins/sudoers/iolog.c:1204 +#: plugins/sudoers/iolog.c:1303 plugins/sudoers/iolog.c:1310 +#, c-format +msgid "unable to write to I/O log file: %s" +msgstr "не вдалося здійснити запис до файла журналу введення-виведення: %s" + +#: plugins/sudoers/iolog.c:727 +#, c-format +msgid "unable to create %s/%s" +msgstr "не вдалося створити %s/%s" + +#: plugins/sudoers/iolog.c:955 +#, c-format +msgid "%s: internal error, I/O log file for event %d not open" +msgstr "%s: внутрішня помилка, файл журналу введення-виведення для події %d не відкрито" + +#: plugins/sudoers/iolog.c:1054 plugins/sudoers/iolog.c:1182 +#: plugins/sudoers/iolog.c:1287 plugins/sudoers/timestamp.c:879 +#: plugins/sudoers/timestamp.c:971 plugins/sudoers/visudo.c:556 +#: plugins/sudoers/visudo.c:562 +msgid "unable to read the clock" +msgstr "не вдалося прочитати час на годиннику" + +#: plugins/sudoers/iolog.c:1279 plugins/sudoers/log_client.c:1192 +#: plugins/sudoers/log_client.c:1202 plugins/sudoers/log_client.c:1206 +#, c-format +msgid "%s: internal error, invalid signal %d" +msgstr "%s: внутрішня помилка, некоректний сигнал %d" + +#: plugins/sudoers/ldap.c:177 plugins/sudoers/ldap_conf.c:292 +msgid "starttls not supported when using ldaps" +msgstr "підтримки starttls, якщо використовується ldaps, не передбачено" + +#: plugins/sudoers/ldap.c:248 +#, c-format +msgid "unable to initialize SSL cert and key db: %s" +msgstr "не вдалося ініціалізувати базу даних сертифікатів і ключів SSL: %s" + +#: plugins/sudoers/ldap.c:251 +#, c-format +msgid "you must set TLS_CERT in %s to use SSL" +msgstr "щоб скористатися SSL, вам слід встановити для TLS_CERT значення %s" + +#: plugins/sudoers/ldap.c:1714 +#, c-format +msgid "unable to initialize LDAP: %s" +msgstr "не вдалося ініціалізувати LDAP: %s" + +#: plugins/sudoers/ldap.c:1751 +msgid "start_tls specified but LDAP libs do not support ldap_start_tls_s() or ldap_start_tls_s_np()" +msgstr "start_tls вказано, але у бібліотеках LDAP не передбачено підтримки ldap_start_tls_s() або ldap_start_tls_s_np()" + +#: plugins/sudoers/ldap.c:1888 plugins/sudoers/parse_ldif.c:748 +#, c-format +msgid "invalid sudoOrder attribute: %s" +msgstr "некоректний атрибут sudoOrder: %s" + +#: plugins/sudoers/ldap_conf.c:200 +#, c-format +msgid "%s: port too large" +msgstr "%s: порт є надто великим" + +#: plugins/sudoers/ldap_conf.c:261 +#, c-format +msgid "unsupported LDAP uri type: %s" +msgstr "непідтримуваний тип адреси LDAP: %s" + +#: plugins/sudoers/ldap_conf.c:288 +msgid "unable to mix ldap and ldaps URIs" +msgstr "не можна використовувати суміш з адрес ldap і ldaps" + +#: plugins/sudoers/ldap_util.c:499 plugins/sudoers/ldap_util.c:506 +#: plugins/sudoers/ldap_util.c:514 plugins/sudoers/ldap_util.c:523 +#: plugins/sudoers/ldap_util.c:531 plugins/sudoers/ldap_util.c:541 +#: plugins/sudoers/ldap_util.c:549 +#, c-format +msgid "duplicate sudoOption: %s%s%s" +msgstr "дублювання sudoOption: %s%s%s" + +#: plugins/sudoers/ldap_util.c:568 plugins/sudoers/ldap_util.c:570 +#, c-format +msgid "unable to convert sudoOption: %s%s%s" +msgstr "не вдалося перетворити запис sudoOption: %s%s%s" + +#: plugins/sudoers/linux_audit.c:58 plugins/sudoers/linux_audit.c:60 +msgid "unable to open audit system" +msgstr "не вдалося відкрити систему аудита" + +#: plugins/sudoers/linux_audit.c:103 +msgid "unable to send audit message" +msgstr "не вдалося надіслати повідомлення аудита" + +#: plugins/sudoers/log_client.c:125 plugins/sudoers/log_client.c:412 +#: plugins/sudoers/log_client.c:1439 plugins/sudoers/log_client.c:2055 +msgid "error in event loop" +msgstr "помилка у циклі обробки подій" + +#: plugins/sudoers/log_client.c:205 +#, c-format +msgid "Creation of new SSL_CTX object failed: %s" +msgstr "Не вдалося створити об'єкт SSL_CTX: %s" + +#: plugins/sudoers/log_client.c:230 +#, c-format +msgid "unable to load certificate authority bundle %s" +msgstr "не вдалося завантажити комплект служби сертифікації %s" + +#: plugins/sudoers/log_client.c:252 +#, c-format +msgid "unable to load certificate %s" +msgstr "не вдалося завантажити сертифікат %s" + +#: plugins/sudoers/log_client.c:266 +#, c-format +msgid "unable to load private key %s" +msgstr "не вдалося завантажити закритий ключ %s" + +#: plugins/sudoers/log_client.c:275 +#, c-format +msgid "Unable to allocate ssl object: %s" +msgstr "Не вдалося розмістити об'єкт SSL у пам'яті: %s" + +#: plugins/sudoers/log_client.c:364 plugins/sudoers/log_client.c:369 +#, c-format +msgid "TLS connection to %s:%s failed: %s" +msgstr "Не вдалося встановити з'єднання TLS із %s:%s: %s" + +#: plugins/sudoers/log_client.c:543 +msgid "TLS initialization was unsuccessful" +msgstr "Спроба ініціалізувати TLS завершилася невдало" + +#: plugins/sudoers/log_client.c:553 +msgid "TLS handshake was unsuccessful" +msgstr "Спроба узгодити зв'язок TLS завершилася невдало" + +#: plugins/sudoers/log_client.c:1210 +#, c-format +msgid "%s: internal error, invalid exit status %d" +msgstr "%s: внутрішня помилка, некоректний стан виходу %d" + +#: plugins/sudoers/log_client.c:1739 plugins/sudoers/log_client.c:1763 +msgid "lost connection to log server" +msgstr "втрачено зв’язок з сервером журналу" + +#: plugins/sudoers/log_client.c:1840 +msgid "missing write buffer" +msgstr "не вказано буфер запису" + +#: plugins/sudoers/log_client.c:1994 +msgid "unable to connect to log server" +msgstr "не вдалося встановити з'єднання із сервером журналу" + +#: plugins/sudoers/logging.c:290 +msgid "user NOT in sudoers" +msgstr "користувача немає у списку sudoers" + +#: plugins/sudoers/logging.c:292 +msgid "user NOT authorized on host" +msgstr "користувача не уповноважено на дії на вузлі" + +#: plugins/sudoers/logging.c:294 +msgid "command not allowed" +msgstr "виконання команди заборонено" + +#: plugins/sudoers/logging.c:315 +#, c-format +msgid "%s is not in the sudoers file.\n" +msgstr "%s немає у файлі sudoers.\n" + +#: plugins/sudoers/logging.c:318 +#, c-format +msgid "%s is not allowed to run sudo on %s.\n" +msgstr "%s не має права виконувати sudo на %s.\n" + +#: plugins/sudoers/logging.c:321 +#, c-format +msgid "Sorry, user %s may not run sudo on %s.\n" +msgstr "Вибачте, користувач %s не має права виконувати sudo на %s.\n" + +#: plugins/sudoers/logging.c:324 +#, c-format +msgid "Sorry, user %s is not allowed to execute '%s%s%s' as %s%s%s on %s.\n" +msgstr "Вибачте, користувач %s не має права виконувати «%s%s%s» від імені %s%s%s на %s.\n" + +#: plugins/sudoers/logging.c:334 +msgid "This incident has been reported to the administrator.\n" +msgstr "Про цю подію подано звіт адміністратору.\n" + +#: plugins/sudoers/logging.c:369 plugins/sudoers/sudoers.c:655 +#: plugins/sudoers/sudoers.c:657 plugins/sudoers/sudoers.c:659 +#: plugins/sudoers/sudoers.c:661 plugins/sudoers/sudoers.c:816 +#: plugins/sudoers/sudoers.c:818 +#, c-format +msgid "%s: command not found" +msgstr "%s: команду не знайдено" + +#: plugins/sudoers/logging.c:371 plugins/sudoers/sudoers.c:651 +#, c-format +msgid "" +"ignoring \"%s\" found in '.'\n" +"Use \"sudo ./%s\" if this is the \"%s\" you wish to run." +msgstr "" +"пропущено «%s» знайдений у «.»\n" +"Скористайтеся командою «sudo ./%s», якщо вам потрібно виконати саме «%s»." + +#: plugins/sudoers/logging.c:391 +#, c-format +msgid "%u incorrect password attempt" +msgid_plural "%u incorrect password attempts" +msgstr[0] "%u невдала спроба введення пароля" +msgstr[1] "%u невдалих спроби введення пароля" +msgstr[2] "%u невдалих спроб введення пароля" +msgstr[3] "одна невдала спроба введення пароля" + +#: plugins/sudoers/logging.c:481 +msgid "authentication failure" +msgstr "помилка під час спроби розпізнавання" + +#: plugins/sudoers/logging.c:520 plugins/sudoers/logging.c:539 +msgid "a password is required" +msgstr "слід вказати пароль" + +#: plugins/sudoers/logging.c:803 plugins/sudoers/logging.c:815 +msgid "problem parsing sudoers" +msgstr "проблема із обробкою sudoers" + +#: plugins/sudoers/logging.c:877 plugins/sudoers/logging.c:889 +#, c-format +msgid "%s:%d:%d: %s" +msgstr "%s:%d:%d: %s" + +#: plugins/sudoers/logging.c:1066 +#, c-format +msgid "unable to write log file: %s" +msgstr "не вдалося виконати запис до файла журналу: %s" + +#: plugins/sudoers/match_digest.c:112 +#, c-format +msgid "digest for %s (%s) bad length %zu, expected %zu" +msgstr "контрольна сума для %s (%s) має помилкову довжину %zu, мало бути %zu" + +#: plugins/sudoers/match_digest.c:131 +#, c-format +msgid "digest for %s (%s) is not in %s form" +msgstr "контрольну суму для %s (%s) подано не у формі %s" + +#: plugins/sudoers/parse.c:631 +#, c-format +msgid "" +"\n" +"LDAP Role: %s\n" +msgstr "" +"\n" +"Роль LDAP: %s\n" + +#: plugins/sudoers/parse.c:634 +msgid "" +"\n" +"Sudoers entry:\n" +msgstr "" +"\n" +"Запис sudoers:\n" + +#: plugins/sudoers/parse.c:636 +msgid " RunAsUsers: " +msgstr " Користувачі для запуску: " + +#: plugins/sudoers/parse.c:651 +msgid " RunAsGroups: " +msgstr " Групи для запуску: " + +#: plugins/sudoers/parse.c:661 +msgid " Options: " +msgstr " Параметри: " + +#: plugins/sudoers/parse.c:725 +msgid " Commands:\n" +msgstr " Команди:\n" + +#: plugins/sudoers/parse.c:916 +#, c-format +msgid "Matching Defaults entries for %s on %s:\n" +msgstr "Відповідність записів Defaults для %s на %s:\n" + +#: plugins/sudoers/parse.c:934 +#, c-format +msgid "Runas and Command-specific defaults for %s:\n" +msgstr "Типові значення для запуску від імені і команд для %s:\n" + +#: plugins/sudoers/parse.c:952 +#, c-format +msgid "User %s may run the following commands on %s:\n" +msgstr "Користувач %s має право виконувати на %s такі команди:\n" + +#: plugins/sudoers/parse.c:967 +#, c-format +msgid "User %s is not allowed to run sudo on %s.\n" +msgstr "Користувач %s не має права виконувати sudo на %s.\n" + +#: plugins/sudoers/parse_ldif.c:618 +#, c-format +msgid "ignoring incomplete sudoRole: cn: %s" +msgstr "ігноруємо неповний запис sudoRole: cn: %s" + +#: plugins/sudoers/parse_ldif.c:678 +#, c-format +msgid "invalid LDIF attribute: %s" +msgstr "некоректний атрибут LDIF: %s" + +#: plugins/sudoers/policy.c:82 plugins/sudoers/policy.c:113 +#, c-format +msgid "invalid %.*s set by sudo front-end" +msgstr "оболонкою sudo встановлено некоректне значення параметра %.*s" + +#: plugins/sudoers/policy.c:360 plugins/sudoers/testsudoers.c:268 +msgid "unable to parse network address list" +msgstr "не вдалося обробити список мережевих адрес" + +#: plugins/sudoers/policy.c:528 +msgid "user name not set by sudo front-end" +msgstr "ім'я користувача не встановлено за допомогою оболонки sudo" + +#: plugins/sudoers/policy.c:532 +msgid "user-ID not set by sudo front-end" +msgstr "ідентифікатор користувача не встановлено за допомогою оболонки sudo" + +#: plugins/sudoers/policy.c:536 +msgid "group-ID not set by sudo front-end" +msgstr "ідентифікатор групи не встановлено за допомогою оболонки sudo" + +#: plugins/sudoers/policy.c:540 +msgid "host name not set by sudo front-end" +msgstr "назву вузла не встановлено за допомогою оболонки sudo" + +#: plugins/sudoers/policy.c:737 +#, c-format +msgid "invalid working directory: %s" +msgstr "некоректний робочий каталог: %s" + +#: plugins/sudoers/policy.c:921 +#, c-format +msgid "invalid chroot directory: %s" +msgstr "некоректний каталог chroot: %s" + +#: plugins/sudoers/policy.c:1108 plugins/sudoers/visudo.c:259 +#: plugins/sudoers/visudo.c:906 +#, c-format +msgid "unable to execute %s" +msgstr "не вдалося виконати %s" + +#: plugins/sudoers/policy.c:1178 plugins/sudoers/policy.c:1215 +#: plugins/sudoers/policy.c:1237 plugins/sudoers/policy.c:1263 +#, c-format +msgid "%s: invalid mode flags from sudo front end: 0x%x" +msgstr "%s: некоректні прапорці режиму від оболонки sudo: 0x%x" + +#: plugins/sudoers/policy.c:1299 +#, c-format +msgid "Sudoers policy plugin version %s\n" +msgstr "Додаток правил sudoers версії %s\n" + +#: plugins/sudoers/policy.c:1301 +#, c-format +msgid "Sudoers file grammar version %d\n" +msgstr "Граматична перевірка файла sudoers версії %d\n" + +#: plugins/sudoers/policy.c:1305 +#, c-format +msgid "" +"\n" +"Sudoers path: %s\n" +msgstr "" +"\n" +"Шлях до sudoers: %s\n" + +#: plugins/sudoers/policy.c:1308 +#, c-format +msgid "nsswitch path: %s\n" +msgstr "Шлях до nsswitch: %s\n" + +#: plugins/sudoers/policy.c:1310 +#, c-format +msgid "ldap.conf path: %s\n" +msgstr "Шлях до ldap.conf: %s\n" + +#: plugins/sudoers/policy.c:1311 +#, c-format +msgid "ldap.secret path: %s\n" +msgstr "Шлях до ldap.secret: %s\n" + +#: plugins/sudoers/policy.c:1344 +#, c-format +msgid "unable to register hook of type %d (version %d.%d)" +msgstr "неможливо зареєструвати процедуру перехоплення типу %d (версія %d.%d)" + +#: plugins/sudoers/policy.c:1362 +#, c-format +msgid "unable to deregister hook of type %d (version %d.%d)" +msgstr "неможливо скасувати реєстрацію процедури перехоплення типу %d (версія %d.%d)" + +#: plugins/sudoers/pwutil.c:222 plugins/sudoers/pwutil.c:240 +#, c-format +msgid "unable to cache uid %u" +msgstr "не вдалося кешувати uid %u" + +#: plugins/sudoers/pwutil.c:234 +#, c-format +msgid "unable to cache uid %u, already exists" +msgstr "не вдалося кешувати uid %u, запис вже існує" + +#: plugins/sudoers/pwutil.c:294 plugins/sudoers/pwutil.c:312 +#: plugins/sudoers/pwutil.c:375 plugins/sudoers/pwutil.c:420 +#, c-format +msgid "unable to cache user %s" +msgstr "не вдалося кешувати користувача %s" + +#: plugins/sudoers/pwutil.c:307 +#, c-format +msgid "unable to cache user %s, already exists" +msgstr "не вдалося кешувати користувача %s, запис вже існує" + +#: plugins/sudoers/pwutil.c:539 plugins/sudoers/pwutil.c:557 +#, c-format +msgid "unable to cache gid %u" +msgstr "не вдалося кешувати gid %u" + +#: plugins/sudoers/pwutil.c:551 +#, c-format +msgid "unable to cache gid %u, already exists" +msgstr "не вдалося кешувати gid %u, запис вже існує" + +#: plugins/sudoers/pwutil.c:605 plugins/sudoers/pwutil.c:623 +#: plugins/sudoers/pwutil.c:684 plugins/sudoers/pwutil.c:733 +#, c-format +msgid "unable to cache group %s" +msgstr "не вдалося кешувати групу %s" + +#: plugins/sudoers/pwutil.c:618 +#, c-format +msgid "unable to cache group %s, already exists" +msgstr "не вдалося кешувати групу %s, запис вже існує" + +#: plugins/sudoers/pwutil.c:880 plugins/sudoers/pwutil.c:963 +#: plugins/sudoers/pwutil.c:1017 plugins/sudoers/pwutil.c:1071 +#, c-format +msgid "unable to cache group list for %s, already exists" +msgstr "не вдалося кешувати список груп %s, запис вже існує" + +#: plugins/sudoers/pwutil.c:886 plugins/sudoers/pwutil.c:968 +#: plugins/sudoers/pwutil.c:1023 plugins/sudoers/pwutil.c:1076 +#, c-format +msgid "unable to cache group list for %s" +msgstr "не вдалося кешувати список груп %s" + +#: plugins/sudoers/pwutil.c:957 +#, c-format +msgid "unable to parse groups for %s" +msgstr "не вдалося обробити записи груп %s" + +#: plugins/sudoers/pwutil.c:1065 +#, c-format +msgid "unable to parse gids for %s" +msgstr "не вдалося обробити записи ідентифікаторів груп %s" + +#: plugins/sudoers/set_perms.c:114 plugins/sudoers/set_perms.c:445 +#: plugins/sudoers/set_perms.c:852 plugins/sudoers/set_perms.c:1162 +#: plugins/sudoers/set_perms.c:1460 +msgid "perm stack overflow" +msgstr "переповнення стека доступу" + +#: plugins/sudoers/set_perms.c:125 plugins/sudoers/set_perms.c:376 +#: plugins/sudoers/set_perms.c:456 plugins/sudoers/set_perms.c:719 +#: plugins/sudoers/set_perms.c:863 plugins/sudoers/set_perms.c:1086 +#: plugins/sudoers/set_perms.c:1173 plugins/sudoers/set_perms.c:1393 +#: plugins/sudoers/set_perms.c:1471 plugins/sudoers/set_perms.c:1562 +msgid "perm stack underflow" +msgstr "вичерпання стека доступу" + +#: plugins/sudoers/set_perms.c:185 plugins/sudoers/set_perms.c:503 +#: plugins/sudoers/set_perms.c:1227 plugins/sudoers/set_perms.c:1505 +msgid "unable to change to root gid" +msgstr "не вдалося змінити ідентифікатор групи (gid) root" + +#: plugins/sudoers/set_perms.c:276 plugins/sudoers/set_perms.c:600 +#: plugins/sudoers/set_perms.c:995 plugins/sudoers/set_perms.c:1304 +msgid "unable to change to runas gid" +msgstr "не вдалося змінити gid на runas" + +#: plugins/sudoers/set_perms.c:281 plugins/sudoers/set_perms.c:605 +#: plugins/sudoers/set_perms.c:1000 plugins/sudoers/set_perms.c:1309 +msgid "unable to set runas group vector" +msgstr "не вдалося встановити вектор групи виконання" + +#: plugins/sudoers/set_perms.c:292 plugins/sudoers/set_perms.c:616 +#: plugins/sudoers/set_perms.c:1009 plugins/sudoers/set_perms.c:1318 +msgid "unable to change to runas uid" +msgstr "не вдалося змінити uid на runas" + +#: plugins/sudoers/set_perms.c:310 plugins/sudoers/set_perms.c:634 +#: plugins/sudoers/set_perms.c:1025 plugins/sudoers/set_perms.c:1334 +msgid "unable to change to sudoers gid" +msgstr "не вдалося змінити gid на sudoers" + +#: plugins/sudoers/set_perms.c:363 plugins/sudoers/set_perms.c:706 +#: plugins/sudoers/set_perms.c:1073 plugins/sudoers/set_perms.c:1380 +#: plugins/sudoers/set_perms.c:1549 +msgid "too many processes" +msgstr "забагато процесів" + +#: plugins/sudoers/solaris_audit.c:61 +msgid "unable to get current working directory" +msgstr "не вдалося отримати поточний робочий каталог" + +#: plugins/sudoers/solaris_audit.c:69 +#, c-format +msgid "truncated audit path user_cmnd: %s" +msgstr "обрізаний шлях аудиту user_cmnd: %s" + +#: plugins/sudoers/solaris_audit.c:76 +#, c-format +msgid "truncated audit path argv[0]: %s" +msgstr "обрізаний шлях аудиту argv[0]: %s" + +#: plugins/sudoers/sssd.c:579 +msgid "unable to initialize SSS source. Is SSSD installed on your machine?" +msgstr "Не вдалося ініціалізувати джерело SSS. Чи встановлено у вашій системі SSSD?" + +#: plugins/sudoers/sssd.c:587 plugins/sudoers/sssd.c:596 +#: plugins/sudoers/sssd.c:605 plugins/sudoers/sssd.c:614 +#: plugins/sudoers/sssd.c:623 +#, c-format +msgid "unable to find symbol \"%s\" in %s" +msgstr "не вдалося знайти символ «%s» у %s" + +#: plugins/sudoers/sudoers.c:263 +#, c-format +msgid "unable to get defaults from %s" +msgstr "на вдалося отримати типові значення від %s" + +#: plugins/sudoers/sudoers.c:270 +msgid "no valid sudoers sources found, quitting" +msgstr "не знайдено коректних джерел даних sudoers, завершення роботи" + +#: plugins/sudoers/sudoers.c:346 +#, c-format +msgid "user not allowed to change root directory to %s" +msgstr "користувачеві заборонено змінювати кореневий каталог на %s" + +#: plugins/sudoers/sudoers.c:348 +#, c-format +msgid "you are not permitted to use the -R option with %s" +msgstr "вам не дозволено використовувати параметр -R з %s" + +#: plugins/sudoers/sudoers.c:373 +#, c-format +msgid "user not allowed to change directory to %s" +msgstr "користувачеві заборонено змінювати каталог на %s" + +#: plugins/sudoers/sudoers.c:374 +#, c-format +msgid "you are not permitted to use the -D option with %s" +msgstr "вам не дозволено використовувати параметр -D з %s" + +#: plugins/sudoers/sudoers.c:401 +msgid "no command specified" +msgstr "не вказано команду" + +#: plugins/sudoers/sudoers.c:426 +msgid "sudoers specifies that root is not allowed to sudo" +msgstr "sudoers вказує, що sudo не можна користуватися для виконання команд від root" + +#: plugins/sudoers/sudoers.c:483 +msgid "user not allowed to override closefrom limit" +msgstr "користувачеві заборонено перевизначати обмеження closefrom" + +#: plugins/sudoers/sudoers.c:484 +msgid "you are not permitted to use the -C option" +msgstr "вам не дозволено використовувати параметр -C" + +#: plugins/sudoers/sudoers.c:544 +#, c-format +msgid "timestamp owner (%s): No such user" +msgstr "власник часового штампа (%s): не знайдено користувача з таким іменем" + +#: plugins/sudoers/sudoers.c:559 +msgid "no tty" +msgstr "немає tty" + +#: plugins/sudoers/sudoers.c:560 +msgid "sorry, you must have a tty to run sudo" +msgstr "вибачте, для виконання sudo вашому користувачеві потрібен tty" + +#: plugins/sudoers/sudoers.c:567 +#, c-format +msgid "invalid shell for user %s: %s" +msgstr "некоректний запис оболонки для користувача %s: %s" + +#: plugins/sudoers/sudoers.c:650 +msgid "command in current directory" +msgstr "команда у поточному каталозі" + +#: plugins/sudoers/sudoers.c:665 +msgid "\"cd\" is a shell built-in command, it cannot be run directly." +msgstr "«cd» є вбудованою командою оболонки, її не може бути запущено безпосередньо." + +#: plugins/sudoers/sudoers.c:667 +msgid "the -s option may be used to run a privileged shell." +msgstr "параметр -s може бути використано для запуску привілейованої оболонки." + +#: plugins/sudoers/sudoers.c:669 +msgid "the -D option may be used to run a command in a specific directory." +msgstr "параметр -D може бути використано для запуску команди у вказаному каталозі." + +#: plugins/sudoers/sudoers.c:678 +msgid "user not allowed to set a command timeout" +msgstr "користувачеві заборонено встановлювати час очікування на виконання команди" + +#: plugins/sudoers/sudoers.c:680 +msgid "sorry, you are not allowed set a command timeout" +msgstr "вибачте, вам не дозволено встановлювати час очікування на виконання команди" + +#: plugins/sudoers/sudoers.c:688 +msgid "user not allowed to preserve the environment" +msgstr "користувачеві заборонено зберігати середовище" + +#: plugins/sudoers/sudoers.c:690 +msgid "sorry, you are not allowed to preserve the environment" +msgstr "вибачте, вам не дозволено зберігати середовище" + +#: plugins/sudoers/sudoers.c:799 +msgid "error setting user-specified environment variables" +msgstr "помилка під час спроби встановити значення змінних середовища, які вказано користувачем" + +#: plugins/sudoers/sudoers.c:1112 +msgid "sudoedit doesn't need to be run via sudo" +msgstr "Немає потреби у запуску sudoedit за допомогою sudo" + +#: plugins/sudoers/sudoers.c:1157 plugins/sudoers/sudoreplay.c:1612 +#: plugins/sudoers/tsdump.c:138 +#, c-format +msgid "unable to read %s" +msgstr "не вдалося прочитати %s" + +#: plugins/sudoers/sudoers.c:1186 plugins/sudoers/visudo.c:1066 +#, c-format +msgid "%s is not a regular file" +msgstr "%s не є звичайним файлом" + +#: plugins/sudoers/sudoers.c:1190 plugins/sudoers/timestamp.c:263 toke.l:1255 +#, c-format +msgid "%s is owned by uid %u, should be %u" +msgstr "%s належить uid %u, має належати %u" + +#: plugins/sudoers/sudoers.c:1194 plugins/sudoers/timestamp.c:270 toke.l:1260 +#, c-format +msgid "%s is world writable" +msgstr "Запис до «%s» можливий для довільного користувача" + +#: plugins/sudoers/sudoers.c:1198 plugins/sudoers/timestamp.c:275 toke.l:1263 +#, c-format +msgid "%s is owned by gid %u, should be %u" +msgstr "%s належить gid %u, має належати %u" + +#: plugins/sudoers/sudoers.c:1233 +#, c-format +msgid "only root can use \"-c %s\"" +msgstr "використовувати «-c %s» може лише root" + +#: plugins/sudoers/sudoers.c:1252 +#, c-format +msgid "unknown login class %s" +msgstr "невідомий клас входу %s" + +#: plugins/sudoers/sudoers.c:1339 plugins/sudoers/sudoers.c:1354 +#, c-format +msgid "unable to resolve host %s" +msgstr "не вдалося визначити адресу вузла %s" + +#: plugins/sudoers/sudoreplay.c:252 +#, c-format +msgid "invalid filter option: %s" +msgstr "некоректний параметр фільтрування: %s" + +#: plugins/sudoers/sudoreplay.c:268 +#, c-format +msgid "invalid max wait: %s" +msgstr "некоректне значення макс. очікування: %s" + +#: plugins/sudoers/sudoreplay.c:291 +#, c-format +msgid "invalid speed factor: %s" +msgstr "некоректний коефіцієнт швидкості: %s" + +#: plugins/sudoers/sudoreplay.c:326 +#, c-format +msgid "invalid time offset %s" +msgstr "некоректний зсув часу %s" + +#: plugins/sudoers/sudoreplay.c:335 +#, c-format +msgid "%s/%.2s/%.2s/%.2s: %s" +msgstr "%s/%.2s/%.2s/%.2s: %s" + +#: plugins/sudoers/sudoreplay.c:340 +#, c-format +msgid "%s/timing: %s" +msgstr "%s/розклад за часом: %s" + +#: plugins/sudoers/sudoreplay.c:368 +#, c-format +msgid "Replaying sudo session: %s" +msgstr "Відтворення сеансу sudo: %s" + +#: plugins/sudoers/sudoreplay.c:634 +msgid "unable to set tty to raw mode" +msgstr "не вдалося перевести tty у режим без обробки даних" + +#: plugins/sudoers/sudoreplay.c:685 +msgid "Warning: your terminal is too small to properly replay the log.\n" +msgstr "Попередження: розміри вашого термінала є замалими для належного показу журналу.\n" + +#: plugins/sudoers/sudoreplay.c:686 +#, c-format +msgid "Log geometry is %d x %d, your terminal's geometry is %d x %d." +msgstr "Встановлено формат журналу %d x %d, тоді як формат термінала — %d x %d." + +#: plugins/sudoers/sudoreplay.c:714 +msgid "Replay finished, press any key to restore the terminal." +msgstr "Відтворення завершено, натисніть будь-яку клавішу, щоб повернутися до термінала." + +#: plugins/sudoers/sudoreplay.c:1216 plugins/sudoers/sudoreplay.c:1246 +#, c-format +msgid "ambiguous expression \"%s\"" +msgstr "неоднозначний вираз «%s»" + +#: plugins/sudoers/sudoreplay.c:1268 +msgid "unmatched ')' in expression" +msgstr "зайва дужка, «)», у виразі" + +#: plugins/sudoers/sudoreplay.c:1272 +#, c-format +msgid "unknown search term \"%s\"" +msgstr "невідомий ключ пошуку «%s»" + +#: plugins/sudoers/sudoreplay.c:1287 +#, c-format +msgid "%s requires an argument" +msgstr "%s потребує визначення аргументу" + +#: plugins/sudoers/sudoreplay.c:1297 +#, c-format +msgid "could not parse date \"%s\"" +msgstr "не вдалося обробити дату «%s»" + +#: plugins/sudoers/sudoreplay.c:1306 +msgid "unmatched '(' in expression" +msgstr "зайва дужка, «(», у виразі" + +#: plugins/sudoers/sudoreplay.c:1308 +msgid "illegal trailing \"or\"" +msgstr "помилкове завершальне «or»" + +#: plugins/sudoers/sudoreplay.c:1310 +msgid "illegal trailing \"!\"" +msgstr "помилкове завершальне «!»" + +#: plugins/sudoers/sudoreplay.c:1416 +#, c-format +msgid "unknown search type %d" +msgstr "невідомий тип пошуку %d" + +#: plugins/sudoers/sudoreplay.c:1678 +#, c-format +msgid "usage: %s [-hnRS] [-d dir] [-m num] [-s num] ID\n" +msgstr "користування: %s [-hnRS] [-d каталог] [-m число] [-s число] ідентифікатор\n" + +#: plugins/sudoers/sudoreplay.c:1680 +#, c-format +msgid "usage: %s [-h] [-d dir] -l [search expression]\n" +msgstr "використання: %s [-h] [-d каталог] -l [вираз для пошуку]\n" + +#: plugins/sudoers/sudoreplay.c:1694 +#, c-format +msgid "" +"%s - replay sudo session logs\n" +"\n" +msgstr "" +"%s — відтворення журналів сеансів sudo\n" +"\n" + +#: plugins/sudoers/sudoreplay.c:1696 +msgid "" +"\n" +"Options:\n" +" -d, --directory=dir specify directory for session logs\n" +" -f, --filter=filter specify which I/O type(s) to display\n" +" -h, --help display help message and exit\n" +" -l, --list list available session IDs, with optional expression\n" +" -m, --max-wait=num max number of seconds to wait between events\n" +" -n, --non-interactive no prompts, session is sent to the standard output\n" +" -R, --no-resize do not attempt to re-size the terminal\n" +" -S, --suspend-wait wait while the command was suspended\n" +" -s, --speed=num speed up or slow down output\n" +" -V, --version display version information and exit" +msgstr "" +"\n" +"Параметри:\n" +" -d, --directory=каталог вказати каталог для журналів сеансу\n" +" -f, --filter=фільтр вказати, який тип вводу-виводу слід показувати\n" +" -h, --help показати довідкове повідомлення і завершити роботу\n" +" -l, --list показати список можливих ідентифікаторів сеансів, відповідних до виразу\n" +" -m, --max-wait=макс_очік максимальний час (у секундах) очікування між подіями\n" +" -n, --non-interactive на надсилати запитів, сеанс роботи буде надіслано до стандартного виведення\n" +" -R, --no-resize не намагатися змінити розміри термінала\n" +" -S, --suspend-wait очікувати, доки виконання команди призупинено\n" +" -s, --speed=коеф_швидк коефіцієнт прискорення або сповільнення виводу даних\n" +" -V, --version показати дані щодо версії і завершити роботу" + +#: plugins/sudoers/testsudoers.c:344 +msgid "\thost unmatched" +msgstr "\tвідповідника вузла не знайдено" + +#: plugins/sudoers/testsudoers.c:347 +msgid "" +"\n" +"Command allowed" +msgstr "" +"\n" +"Команду дозволено" + +#: plugins/sudoers/testsudoers.c:348 +msgid "" +"\n" +"Command denied" +msgstr "" +"\n" +"Команду заборонено" + +#: plugins/sudoers/testsudoers.c:348 +msgid "" +"\n" +"Command unmatched" +msgstr "" +"\n" +"Не знайдено відповідника команди" + +#: plugins/sudoers/timestamp.c:354 plugins/sudoers/timestamp.c:693 +#, c-format +msgid "unable to truncate time stamp file to %lld bytes" +msgstr "не вдалося обрізати файл часової позначки до %lld байтів" + +#: plugins/sudoers/timestamp.c:890 +msgid "ignoring time stamp from the future" +msgstr "ігноруємо часову позначку з майбутнього" + +#: plugins/sudoers/timestamp.c:913 +#, c-format +msgid "time stamp too far in the future: %20.20s" +msgstr "занадто далека часова позначка у майбутньому: %20.20s" + +#: plugins/sudoers/timestamp.c:1042 +#, c-format +msgid "unable to lock time stamp file %s" +msgstr "не вдалося заблокувати файл часової позначки %s" + +#: plugins/sudoers/toke_util.c:156 +msgid "sudoedit should not be specified with a path" +msgstr "sudoedit не слід вказувати разом із шляхом" + +#: plugins/sudoers/visudo.c:254 +msgid "the -x option will be removed in a future release" +msgstr "параметр -x буде вилучено у наступному випуску" + +#: plugins/sudoers/visudo.c:256 +msgid "please consider using the cvtsudoers utility instead" +msgstr "будь ласка, скористайтеся замість нього програмою cvtsudoers" + +#: plugins/sudoers/visudo.c:311 plugins/sudoers/visudo.c:702 +#, c-format +msgid "press return to edit %s: " +msgstr "натисніть Enter для редагування %s: " + +#: plugins/sudoers/visudo.c:326 +#, c-format +msgid "contents of edit session left in %s" +msgstr "дані сеансу редагування залишилися у %s" + +#: plugins/sudoers/visudo.c:403 +#, c-format +msgid "specified editor (%s) doesn't exist" +msgstr "вказаного редактора (%s) не існує" + +#: plugins/sudoers/visudo.c:408 +#, c-format +msgid "no editor found (editor path = %s)" +msgstr "не знайдено жодного редактора (шлях до редактора = %s)" + +#: plugins/sudoers/visudo.c:495 plugins/sudoers/visudo.c:774 +#, c-format +msgid "unable to stat %s" +msgstr "не вдалося виконати stat для %s" + +#: plugins/sudoers/visudo.c:515 plugins/sudoers/visudo.c:523 +msgid "write error" +msgstr "помилка запису" + +#: plugins/sudoers/visudo.c:569 +#, c-format +msgid "unable to stat temporary file (%s), %s unchanged" +msgstr "не вдалося обробити stat файл тимчасових даних (%s), %s не змінено" + +#: plugins/sudoers/visudo.c:576 +#, c-format +msgid "zero length temporary file (%s), %s unchanged" +msgstr "файл тимчасових даних має нульовий об’єм (%s), %s не змінено" + +#: plugins/sudoers/visudo.c:582 +#, c-format +msgid "editor (%s) failed, %s unchanged" +msgstr "помилка редактора (%s), %s не змінено" + +#: plugins/sudoers/visudo.c:604 +#, c-format +msgid "%s unchanged" +msgstr "%s не змінено" + +#: plugins/sudoers/visudo.c:649 +#, c-format +msgid "unable to re-open temporary file (%s), %s unchanged." +msgstr "не вдалося повторно відкрити файл тимчасових даних (%s), %s не змінено." + +#: plugins/sudoers/visudo.c:662 +#, c-format +msgid "unable to parse temporary file (%s), unknown error" +msgstr "не вдалося обробити файл тимчасових даних (%s), невідома помилка" + +#: plugins/sudoers/visudo.c:748 plugins/sudoers/visudo.c:778 +#: plugins/sudoers/visudo.c:785 +#, c-format +msgid "unable to set (uid, gid) of %s to (%u, %u)" +msgstr "не вдалося встановити (uid, gid) %s у значення (%u, %u)" + +#: plugins/sudoers/visudo.c:813 +#, c-format +msgid "%s and %s not on the same file system, using mv to rename" +msgstr "%s і %s не перебувають у одній файловій системі, використовуємо mv для перейменування" + +#: plugins/sudoers/visudo.c:824 +#, c-format +msgid "command failed: '%s %s %s', %s unchanged" +msgstr "помилка команди: «%s %s %s», %s не змінено" + +#: plugins/sudoers/visudo.c:831 +#, c-format +msgid "error renaming %s, %s unchanged" +msgstr "помилка перейменування %s, %s не змінено" + +#: plugins/sudoers/visudo.c:851 +msgid "What now? " +msgstr "А зараз що? " + +#: plugins/sudoers/visudo.c:865 +msgid "" +"Options are:\n" +" (e)dit sudoers file again\n" +" e(x)it without saving changes to sudoers file\n" +" (Q)uit and save changes to sudoers file (DANGER!)\n" +msgstr "" +"Параметри:\n" +" (e) — повторне редагування файла sudoers\n" +" (x) — вийти без внесення змін до файла sudoers\n" +" (Q) — вийти зі збереженням файла sudoers (НЕБЕЗПЕЧНО!)\n" + +#: plugins/sudoers/visudo.c:911 +#, c-format +msgid "unable to run %s" +msgstr "не вдалося виконати %s" + +#: plugins/sudoers/visudo.c:942 +#, c-format +msgid "%s: wrong owner (uid, gid) should be (%u, %u)\n" +msgstr "%s: помилковий власник (uid, gid), має бути (%u, %u)\n" + +#: plugins/sudoers/visudo.c:953 +#, c-format +msgid "%s: bad permissions, should be mode 0%o\n" +msgstr "%s: помилкові права доступу, режим доступу має бути 0%o\n" + +#: plugins/sudoers/visudo.c:999 plugins/sudoers/visudo.c:1006 +#, c-format +msgid "%s: parsed OK\n" +msgstr "%s: вдала обробка\n" + +#: plugins/sudoers/visudo.c:1025 +#, c-format +msgid "%s busy, try again later" +msgstr "%s зайнято, повторіть спробу пізніше" + +#: plugins/sudoers/visudo.c:1029 +msgid "Edit anyway? [y/N]" +msgstr "Редагувати попри усе? [y/N]" + +#: plugins/sudoers/visudo.c:1130 +#, c-format +msgid "Warning: %s:%d:%d: unused %s \"%s\"" +msgstr "Попередження: %s:%d:%d: не використано %s «%s»" + +#: plugins/sudoers/visudo.c:1242 +#, c-format +msgid "" +"%s - safely edit the sudoers file\n" +"\n" +msgstr "" +"%s — безпечне редагування файла sudoers\n" +"\n" + +#: plugins/sudoers/visudo.c:1244 +msgid "" +"\n" +"Options:\n" +" -c, --check check-only mode\n" +" -f, --file=sudoers specify sudoers file location\n" +" -h, --help display help message and exit\n" +" -I, --no-includes do not edit include files\n" +" -q, --quiet less verbose (quiet) syntax error messages\n" +" -s, --strict strict syntax checking\n" +" -V, --version display version information and exit\n" +msgstr "" +"\n" +"Параметри:\n" +" -c, --check режим лише перевірки\n" +" -f, --file=файл вказати розташування файла sudoers\n" +" -h, --help показати довідкове повідомлення і завершити роботу\n" +" -I, --no-includes не редагувати включені файли\n" +" -q, --quiet стислі повідомлення щодо синтаксичних помилок\n" +" -s, --strict строга перевірка синтаксису\n" +" -V, --version показати дані щодо версії і завершити роботу\n" + +#: toke.l:189 +msgid "empty string" +msgstr "порожній рядок" + +#: toke.l:201 toke.l:571 +msgid "empty group" +msgstr "порожня група" + +#: toke.l:211 toke.l:569 +msgid "empty netgroup" +msgstr "порожня мережева група" + +#: toke.l:289 +msgid "unterminated regular expression" +msgstr "незавершений формальний вираз" + +#: toke.l:363 toke.l:375 toke.l:387 toke.l:403 toke.l:422 toke.l:462 +msgid "invalid line continuation" +msgstr "некоректне продовження рядка" + +#: toke.l:608 toke.l:620 +msgid "invalid IPv6 address" +msgstr "некоректна адреса IPv6" + +#: toke.l:876 +msgid "unexpected line break in string" +msgstr "неочікуваний розрив рядків у рядку" + +#: toke.l:1226 +msgid "too many levels of includes" +msgstr "занадто високий рівень вкладеності" + +#~ msgid "%s must be owned by uid %d" +#~ msgstr "%s має належати користувачеві з uid %d" + +#~ msgid "%s must only be writable by owner" +#~ msgstr "%s має бути доступним до запису лише для власника" + +#~ msgid "%s is group writable" +#~ msgstr "%s доступний до запису учасниками групи" + +#~ msgid "lecture status path too long: %s/%s" +#~ msgstr "шлях до даних щодо стану отримання настанов є занадто довгим: %s/%s" + +#~ msgid "Warning: %s:%d:%d: cycle in %s \"%s\"" +#~ msgstr "Попередження: %s:%d:%d: цикл у %s «%s»" + +#~ msgid "Warning: %s:%d:%d: %s \"%s\" referenced but not defined" +#~ msgstr "Попередження: виявлено посилання %s:%d:%d: %s «%s», яке не визначено" + +#~ msgid "parse error in %s near line %d\n" +#~ msgstr "помилка обробки у %s поблизу рядка %d\n" + +#~ msgid "parse error in %s\n" +#~ msgstr "помилка обробки у %s\n" + +#~ msgid "%s:%d:%d: no value specified for \"%s\"" +#~ msgstr "%s:%d:%d: не вказано значення для «%s»" + +#~ msgid "%s:%d:%d: invalid operator \"%c=\" for \"%s\"" +#~ msgstr "%s:%d:%d: некоректний оператор «%c=» для «%s»" + +#~ msgid "%s:%d:%d: option \"%s\" does not take a value" +#~ msgstr "%s:%d:%d: параметру «%s» не потрібно передавати значення" + +#~ msgid "%s:%d:%d: invalid Defaults type 0x%x for option \"%s\"" +#~ msgstr "%s:%d:%d: некоректний тип Defaults, 0x%x, для параметра «%s»" + +#~ msgid "%s:%d:%d: value \"%s\" is invalid for option \"%s\"" +#~ msgstr "%s:%d:%d: значення «%s» є некоректним для параметра «%s»" + +#~ msgid "%s:%d:%d: path name for \"%s\" too long" +#~ msgstr "%s:%d:%d: назва шляху «%s» є надто довгою" + +#~ msgid "%s: path name for \"%s\" too long" +#~ msgstr "%s: назва шляху для «%s» є надто довгою" + +#~ msgid "%s:%d:%d: values for \"%s\" must start with a '/', '~', or '*'" +#~ msgstr "%s:%d:%d: значення для «%s» має починатися з «/», «~» або «*»" + +#~ msgid "%s:%d:%d: values for \"%s\" must start with a '/'" +#~ msgstr "%s:%d:%d: значення для «%s» має починатися з «/»" + +#~ msgid "parse error in %s near line %d" +#~ msgstr "помилка обробки у %s поблизу рядка %d" + +#~ msgid "parse error in %s" +#~ msgstr "помилка обробки у %s" + +#~ msgid "SELinux RBAC is not supported when intercept mode is enabled" +#~ msgstr "Якщо увімкнено режим перехоплення, підтримки RBAC SELinux не передбачено" + +#~ msgid "SELinux RBAC is not supported when the log_subcmds flag is enabled" +#~ msgstr "Якщо увімкнено прапорець log_subcmds, підтримки RBAC SELinux не передбачено" + +#~ msgid "problem with defaults entries" +#~ msgstr "проблема з типовими записами" + +#~ msgid "internal error, unable to find %s in list!" +#~ msgstr "внутрішня помилка, не вдалося знайти %s у списку!" diff --git a/plugins/sudoers/po/vi.mo b/plugins/sudoers/po/vi.mo new file mode 100644 index 0000000..b0901ab Binary files /dev/null and b/plugins/sudoers/po/vi.mo differ diff --git a/plugins/sudoers/po/vi.po b/plugins/sudoers/po/vi.po new file mode 100644 index 0000000..0cc0095 --- /dev/null +++ b/plugins/sudoers/po/vi.po @@ -0,0 +1,2502 @@ +# Vietnamese translation for sudo. +# Bản dịch tiếng Việt dành cho sudo. +# This file is put in the public domain. +# Trần Ngọc Quân , 2012-2014, 2015, 2016, 2017, 2018. +# +msgid "" +msgstr "" +"Project-Id-Version: sudoers 1.8.26b1\n" +"Report-Msgid-Bugs-To: https://bugzilla.sudo.ws\n" +"POT-Creation-Date: 2018-10-29 08:31-0600\n" +"PO-Revision-Date: 2018-11-01 14:10+0700\n" +"Last-Translator: Trần Ngọc Quân \n" +"Language-Team: Vietnamese \n" +"Language: vi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Language-Team-Website: \n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Generator: Gtranslator 2.91.7\n" + +#: confstr.sh:1 +msgid "syntax error" +msgstr "lỗi cú pháp" + +#: confstr.sh:2 +msgid "%p's password: " +msgstr "Mật khẩu của %p: " + +#: confstr.sh:3 +msgid "[sudo] password for %p: " +msgstr "[sudo] mật khẩu dành cho %p: " + +#: confstr.sh:4 +msgid "Password: " +msgstr "Mật khẩu: " + +#: confstr.sh:5 +msgid "*** SECURITY information for %h ***" +msgstr "*** Thông tin AN NINH cho %h ***" + +#: confstr.sh:6 +msgid "Sorry, try again." +msgstr "Rất tiếc, hãy thử lại." + +#: gram.y:192 gram.y:240 gram.y:247 gram.y:254 gram.y:261 gram.y:268 +#: gram.y:284 gram.y:308 gram.y:315 gram.y:322 gram.y:329 gram.y:336 +#: gram.y:399 gram.y:407 gram.y:417 gram.y:450 gram.y:457 gram.y:464 +#: gram.y:471 gram.y:553 gram.y:560 gram.y:569 gram.y:578 gram.y:595 +#: gram.y:707 gram.y:714 gram.y:721 gram.y:729 gram.y:829 gram.y:836 +#: gram.y:843 gram.y:850 gram.y:857 gram.y:883 gram.y:890 gram.y:897 +#: gram.y:1020 gram.y:1294 plugins/sudoers/alias.c:130 +#: plugins/sudoers/alias.c:137 plugins/sudoers/alias.c:153 +#: plugins/sudoers/auth/bsdauth.c:146 plugins/sudoers/auth/kerb5.c:121 +#: plugins/sudoers/auth/kerb5.c:147 plugins/sudoers/auth/pam.c:524 +#: plugins/sudoers/auth/rfc1938.c:114 plugins/sudoers/auth/sia.c:62 +#: plugins/sudoers/cvtsudoers.c:123 plugins/sudoers/cvtsudoers.c:164 +#: plugins/sudoers/cvtsudoers.c:181 plugins/sudoers/cvtsudoers.c:192 +#: plugins/sudoers/cvtsudoers.c:304 plugins/sudoers/cvtsudoers.c:432 +#: plugins/sudoers/cvtsudoers.c:565 plugins/sudoers/cvtsudoers.c:582 +#: plugins/sudoers/cvtsudoers.c:645 plugins/sudoers/cvtsudoers.c:760 +#: plugins/sudoers/cvtsudoers.c:768 plugins/sudoers/cvtsudoers.c:1178 +#: plugins/sudoers/cvtsudoers.c:1182 plugins/sudoers/cvtsudoers.c:1284 +#: plugins/sudoers/cvtsudoers_ldif.c:152 plugins/sudoers/cvtsudoers_ldif.c:195 +#: plugins/sudoers/cvtsudoers_ldif.c:242 plugins/sudoers/cvtsudoers_ldif.c:261 +#: plugins/sudoers/cvtsudoers_ldif.c:332 plugins/sudoers/cvtsudoers_ldif.c:387 +#: plugins/sudoers/cvtsudoers_ldif.c:395 plugins/sudoers/cvtsudoers_ldif.c:412 +#: plugins/sudoers/cvtsudoers_ldif.c:421 plugins/sudoers/cvtsudoers_ldif.c:568 +#: plugins/sudoers/defaults.c:661 plugins/sudoers/defaults.c:954 +#: plugins/sudoers/defaults.c:1125 plugins/sudoers/editor.c:70 +#: plugins/sudoers/editor.c:88 plugins/sudoers/editor.c:99 +#: plugins/sudoers/env.c:247 plugins/sudoers/filedigest.c:64 +#: plugins/sudoers/filedigest.c:80 plugins/sudoers/gc.c:57 +#: plugins/sudoers/group_plugin.c:136 plugins/sudoers/interfaces.c:76 +#: plugins/sudoers/iolog.c:939 plugins/sudoers/iolog_path.c:172 +#: plugins/sudoers/iolog_util.c:83 plugins/sudoers/iolog_util.c:122 +#: plugins/sudoers/iolog_util.c:131 plugins/sudoers/iolog_util.c:141 +#: plugins/sudoers/iolog_util.c:149 plugins/sudoers/iolog_util.c:153 +#: plugins/sudoers/ldap.c:183 plugins/sudoers/ldap.c:414 +#: plugins/sudoers/ldap.c:418 plugins/sudoers/ldap.c:430 +#: plugins/sudoers/ldap.c:721 plugins/sudoers/ldap.c:885 +#: plugins/sudoers/ldap.c:1233 plugins/sudoers/ldap.c:1660 +#: plugins/sudoers/ldap.c:1697 plugins/sudoers/ldap.c:1778 +#: plugins/sudoers/ldap.c:1913 plugins/sudoers/ldap.c:2014 +#: plugins/sudoers/ldap.c:2030 plugins/sudoers/ldap_conf.c:221 +#: plugins/sudoers/ldap_conf.c:252 plugins/sudoers/ldap_conf.c:304 +#: plugins/sudoers/ldap_conf.c:340 plugins/sudoers/ldap_conf.c:443 +#: plugins/sudoers/ldap_conf.c:458 plugins/sudoers/ldap_conf.c:555 +#: plugins/sudoers/ldap_conf.c:588 plugins/sudoers/ldap_conf.c:680 +#: plugins/sudoers/ldap_conf.c:762 plugins/sudoers/ldap_util.c:508 +#: plugins/sudoers/ldap_util.c:564 plugins/sudoers/linux_audit.c:81 +#: plugins/sudoers/logging.c:195 plugins/sudoers/logging.c:511 +#: plugins/sudoers/logging.c:532 plugins/sudoers/logging.c:573 +#: plugins/sudoers/logging.c:752 plugins/sudoers/logging.c:1010 +#: plugins/sudoers/match.c:725 plugins/sudoers/match.c:772 +#: plugins/sudoers/match.c:813 plugins/sudoers/match.c:841 +#: plugins/sudoers/match.c:929 plugins/sudoers/match.c:1009 +#: plugins/sudoers/parse.c:195 plugins/sudoers/parse.c:207 +#: plugins/sudoers/parse.c:222 plugins/sudoers/parse.c:234 +#: plugins/sudoers/parse_ldif.c:141 plugins/sudoers/parse_ldif.c:168 +#: plugins/sudoers/parse_ldif.c:237 plugins/sudoers/parse_ldif.c:244 +#: plugins/sudoers/parse_ldif.c:249 plugins/sudoers/parse_ldif.c:325 +#: plugins/sudoers/parse_ldif.c:336 plugins/sudoers/parse_ldif.c:342 +#: plugins/sudoers/parse_ldif.c:367 plugins/sudoers/parse_ldif.c:379 +#: plugins/sudoers/parse_ldif.c:383 plugins/sudoers/parse_ldif.c:397 +#: plugins/sudoers/parse_ldif.c:564 plugins/sudoers/parse_ldif.c:594 +#: plugins/sudoers/parse_ldif.c:619 plugins/sudoers/parse_ldif.c:679 +#: plugins/sudoers/parse_ldif.c:698 plugins/sudoers/parse_ldif.c:744 +#: plugins/sudoers/parse_ldif.c:754 plugins/sudoers/policy.c:502 +#: plugins/sudoers/policy.c:744 plugins/sudoers/prompt.c:98 +#: plugins/sudoers/pwutil.c:197 plugins/sudoers/pwutil.c:269 +#: plugins/sudoers/pwutil.c:346 plugins/sudoers/pwutil.c:520 +#: plugins/sudoers/pwutil.c:586 plugins/sudoers/pwutil.c:656 +#: plugins/sudoers/pwutil.c:814 plugins/sudoers/pwutil.c:871 +#: plugins/sudoers/pwutil.c:916 plugins/sudoers/pwutil.c:974 +#: plugins/sudoers/sssd.c:152 plugins/sudoers/sssd.c:398 +#: plugins/sudoers/sssd.c:461 plugins/sudoers/sssd.c:505 +#: plugins/sudoers/sssd.c:552 plugins/sudoers/sssd.c:743 +#: plugins/sudoers/stubs.c:101 plugins/sudoers/stubs.c:109 +#: plugins/sudoers/sudoers.c:269 plugins/sudoers/sudoers.c:279 +#: plugins/sudoers/sudoers.c:288 plugins/sudoers/sudoers.c:330 +#: plugins/sudoers/sudoers.c:653 plugins/sudoers/sudoers.c:779 +#: plugins/sudoers/sudoers.c:823 plugins/sudoers/sudoers.c:1097 +#: plugins/sudoers/sudoers_debug.c:112 plugins/sudoers/sudoreplay.c:579 +#: plugins/sudoers/sudoreplay.c:582 plugins/sudoers/sudoreplay.c:1259 +#: plugins/sudoers/sudoreplay.c:1459 plugins/sudoers/sudoreplay.c:1463 +#: plugins/sudoers/testsudoers.c:134 plugins/sudoers/testsudoers.c:234 +#: plugins/sudoers/testsudoers.c:251 plugins/sudoers/testsudoers.c:585 +#: plugins/sudoers/timestamp.c:437 plugins/sudoers/timestamp.c:481 +#: plugins/sudoers/timestamp.c:958 plugins/sudoers/toke_util.c:57 +#: plugins/sudoers/toke_util.c:110 plugins/sudoers/toke_util.c:147 +#: plugins/sudoers/tsdump.c:128 plugins/sudoers/visudo.c:150 +#: plugins/sudoers/visudo.c:312 plugins/sudoers/visudo.c:318 +#: plugins/sudoers/visudo.c:428 plugins/sudoers/visudo.c:606 +#: plugins/sudoers/visudo.c:926 plugins/sudoers/visudo.c:1013 +#: plugins/sudoers/visudo.c:1102 toke.l:844 toke.l:945 toke.l:1102 +msgid "unable to allocate memory" +msgstr "không thể cấp phát bộ nhớ" + +#: gram.y:482 +msgid "a digest requires a path name" +msgstr "tóm lược yêu cầu một đối số là tên đường dẫn" + +#: gram.y:608 +msgid "invalid notbefore value" +msgstr "giá trị notbefore không hợp lệ" + +#: gram.y:616 +msgid "invalid notafter value" +msgstr "giá trị notafter không hợp lệ" + +#: gram.y:625 plugins/sudoers/policy.c:318 +msgid "timeout value too large" +msgstr "giá trị timeout quá lớn" + +#: gram.y:627 plugins/sudoers/policy.c:320 +msgid "invalid timeout value" +msgstr "giá trị timeout không hợp lệ" + +#: gram.y:1294 plugins/sudoers/auth/pam.c:354 plugins/sudoers/auth/pam.c:524 +#: plugins/sudoers/auth/rfc1938.c:114 plugins/sudoers/cvtsudoers.c:123 +#: plugins/sudoers/cvtsudoers.c:163 plugins/sudoers/cvtsudoers.c:180 +#: plugins/sudoers/cvtsudoers.c:191 plugins/sudoers/cvtsudoers.c:303 +#: plugins/sudoers/cvtsudoers.c:431 plugins/sudoers/cvtsudoers.c:564 +#: plugins/sudoers/cvtsudoers.c:581 plugins/sudoers/cvtsudoers.c:645 +#: plugins/sudoers/cvtsudoers.c:760 plugins/sudoers/cvtsudoers.c:767 +#: plugins/sudoers/cvtsudoers.c:1178 plugins/sudoers/cvtsudoers.c:1182 +#: plugins/sudoers/cvtsudoers.c:1284 plugins/sudoers/cvtsudoers_ldif.c:151 +#: plugins/sudoers/cvtsudoers_ldif.c:194 plugins/sudoers/cvtsudoers_ldif.c:241 +#: plugins/sudoers/cvtsudoers_ldif.c:260 plugins/sudoers/cvtsudoers_ldif.c:331 +#: plugins/sudoers/cvtsudoers_ldif.c:386 plugins/sudoers/cvtsudoers_ldif.c:394 +#: plugins/sudoers/cvtsudoers_ldif.c:411 plugins/sudoers/cvtsudoers_ldif.c:420 +#: plugins/sudoers/cvtsudoers_ldif.c:567 plugins/sudoers/defaults.c:661 +#: plugins/sudoers/defaults.c:954 plugins/sudoers/defaults.c:1125 +#: plugins/sudoers/editor.c:70 plugins/sudoers/editor.c:88 +#: plugins/sudoers/editor.c:99 plugins/sudoers/env.c:247 +#: plugins/sudoers/filedigest.c:64 plugins/sudoers/filedigest.c:80 +#: plugins/sudoers/gc.c:57 plugins/sudoers/group_plugin.c:136 +#: plugins/sudoers/interfaces.c:76 plugins/sudoers/iolog.c:939 +#: plugins/sudoers/iolog_path.c:172 plugins/sudoers/iolog_util.c:83 +#: plugins/sudoers/iolog_util.c:122 plugins/sudoers/iolog_util.c:131 +#: plugins/sudoers/iolog_util.c:141 plugins/sudoers/iolog_util.c:149 +#: plugins/sudoers/iolog_util.c:153 plugins/sudoers/ldap.c:183 +#: plugins/sudoers/ldap.c:414 plugins/sudoers/ldap.c:418 +#: plugins/sudoers/ldap.c:430 plugins/sudoers/ldap.c:721 +#: plugins/sudoers/ldap.c:885 plugins/sudoers/ldap.c:1233 +#: plugins/sudoers/ldap.c:1660 plugins/sudoers/ldap.c:1697 +#: plugins/sudoers/ldap.c:1778 plugins/sudoers/ldap.c:1913 +#: plugins/sudoers/ldap.c:2014 plugins/sudoers/ldap.c:2030 +#: plugins/sudoers/ldap_conf.c:221 plugins/sudoers/ldap_conf.c:252 +#: plugins/sudoers/ldap_conf.c:304 plugins/sudoers/ldap_conf.c:340 +#: plugins/sudoers/ldap_conf.c:443 plugins/sudoers/ldap_conf.c:458 +#: plugins/sudoers/ldap_conf.c:555 plugins/sudoers/ldap_conf.c:588 +#: plugins/sudoers/ldap_conf.c:679 plugins/sudoers/ldap_conf.c:762 +#: plugins/sudoers/ldap_util.c:508 plugins/sudoers/ldap_util.c:564 +#: plugins/sudoers/linux_audit.c:81 plugins/sudoers/logging.c:195 +#: plugins/sudoers/logging.c:511 plugins/sudoers/logging.c:532 +#: plugins/sudoers/logging.c:572 plugins/sudoers/logging.c:1010 +#: plugins/sudoers/match.c:724 plugins/sudoers/match.c:771 +#: plugins/sudoers/match.c:813 plugins/sudoers/match.c:841 +#: plugins/sudoers/match.c:929 plugins/sudoers/match.c:1008 +#: plugins/sudoers/parse.c:194 plugins/sudoers/parse.c:206 +#: plugins/sudoers/parse.c:221 plugins/sudoers/parse.c:233 +#: plugins/sudoers/parse_ldif.c:140 plugins/sudoers/parse_ldif.c:167 +#: plugins/sudoers/parse_ldif.c:236 plugins/sudoers/parse_ldif.c:243 +#: plugins/sudoers/parse_ldif.c:248 plugins/sudoers/parse_ldif.c:324 +#: plugins/sudoers/parse_ldif.c:335 plugins/sudoers/parse_ldif.c:341 +#: plugins/sudoers/parse_ldif.c:366 plugins/sudoers/parse_ldif.c:378 +#: plugins/sudoers/parse_ldif.c:382 plugins/sudoers/parse_ldif.c:396 +#: plugins/sudoers/parse_ldif.c:564 plugins/sudoers/parse_ldif.c:593 +#: plugins/sudoers/parse_ldif.c:618 plugins/sudoers/parse_ldif.c:678 +#: plugins/sudoers/parse_ldif.c:697 plugins/sudoers/parse_ldif.c:743 +#: plugins/sudoers/parse_ldif.c:753 plugins/sudoers/policy.c:132 +#: plugins/sudoers/policy.c:141 plugins/sudoers/policy.c:150 +#: plugins/sudoers/policy.c:176 plugins/sudoers/policy.c:303 +#: plugins/sudoers/policy.c:318 plugins/sudoers/policy.c:320 +#: plugins/sudoers/policy.c:346 plugins/sudoers/policy.c:356 +#: plugins/sudoers/policy.c:400 plugins/sudoers/policy.c:410 +#: plugins/sudoers/policy.c:419 plugins/sudoers/policy.c:428 +#: plugins/sudoers/policy.c:502 plugins/sudoers/policy.c:744 +#: plugins/sudoers/prompt.c:98 plugins/sudoers/pwutil.c:197 +#: plugins/sudoers/pwutil.c:269 plugins/sudoers/pwutil.c:346 +#: plugins/sudoers/pwutil.c:520 plugins/sudoers/pwutil.c:586 +#: plugins/sudoers/pwutil.c:656 plugins/sudoers/pwutil.c:814 +#: plugins/sudoers/pwutil.c:871 plugins/sudoers/pwutil.c:916 +#: plugins/sudoers/pwutil.c:974 plugins/sudoers/set_perms.c:392 +#: plugins/sudoers/set_perms.c:771 plugins/sudoers/set_perms.c:1155 +#: plugins/sudoers/set_perms.c:1481 plugins/sudoers/set_perms.c:1646 +#: plugins/sudoers/sssd.c:151 plugins/sudoers/sssd.c:398 +#: plugins/sudoers/sssd.c:461 plugins/sudoers/sssd.c:505 +#: plugins/sudoers/sssd.c:552 plugins/sudoers/sssd.c:743 +#: plugins/sudoers/stubs.c:101 plugins/sudoers/stubs.c:109 +#: plugins/sudoers/sudoers.c:269 plugins/sudoers/sudoers.c:279 +#: plugins/sudoers/sudoers.c:288 plugins/sudoers/sudoers.c:330 +#: plugins/sudoers/sudoers.c:653 plugins/sudoers/sudoers.c:779 +#: plugins/sudoers/sudoers.c:823 plugins/sudoers/sudoers.c:1097 +#: plugins/sudoers/sudoers_debug.c:111 plugins/sudoers/sudoreplay.c:579 +#: plugins/sudoers/sudoreplay.c:582 plugins/sudoers/sudoreplay.c:1259 +#: plugins/sudoers/sudoreplay.c:1459 plugins/sudoers/sudoreplay.c:1463 +#: plugins/sudoers/testsudoers.c:134 plugins/sudoers/testsudoers.c:234 +#: plugins/sudoers/testsudoers.c:251 plugins/sudoers/testsudoers.c:585 +#: plugins/sudoers/timestamp.c:437 plugins/sudoers/timestamp.c:481 +#: plugins/sudoers/timestamp.c:958 plugins/sudoers/toke_util.c:57 +#: plugins/sudoers/toke_util.c:110 plugins/sudoers/toke_util.c:147 +#: plugins/sudoers/tsdump.c:128 plugins/sudoers/visudo.c:150 +#: plugins/sudoers/visudo.c:312 plugins/sudoers/visudo.c:318 +#: plugins/sudoers/visudo.c:428 plugins/sudoers/visudo.c:606 +#: plugins/sudoers/visudo.c:926 plugins/sudoers/visudo.c:1013 +#: plugins/sudoers/visudo.c:1102 toke.l:844 toke.l:945 toke.l:1102 +#, c-format +msgid "%s: %s" +msgstr "%s: %s" + +#: plugins/sudoers/alias.c:148 +#, c-format +msgid "Alias \"%s\" already defined" +msgstr "Bí danh “%s” đã được định nghĩa rồi" + +#: plugins/sudoers/auth/bsdauth.c:73 +#, c-format +msgid "unable to get login class for user %s" +msgstr "không thể lấy lớp đăng nhập cho tài khoản %s" + +#: plugins/sudoers/auth/bsdauth.c:78 +msgid "unable to begin bsd authentication" +msgstr "không thể khởi chạy xác thực kiểu bsd" + +#: plugins/sudoers/auth/bsdauth.c:86 +msgid "invalid authentication type" +msgstr "kiểu xác thực không hợp lệ" + +#: plugins/sudoers/auth/bsdauth.c:95 +msgid "unable to initialize BSD authentication" +msgstr "không thể khởi tạo xác thực kiểu BSD" + +#: plugins/sudoers/auth/bsdauth.c:183 +msgid "your account has expired" +msgstr "tài khoản bạn đã hết hiệu lực" + +#: plugins/sudoers/auth/bsdauth.c:185 +msgid "approval failed" +msgstr "gặp lỗi khi chấp thuận" + +#: plugins/sudoers/auth/fwtk.c:57 +msgid "unable to read fwtk config" +msgstr "không thể đọc cấu hình fwtk" + +#: plugins/sudoers/auth/fwtk.c:62 +msgid "unable to connect to authentication server" +msgstr "không thể kết nối tới máy chủ xác thực" + +#: plugins/sudoers/auth/fwtk.c:68 plugins/sudoers/auth/fwtk.c:92 +#: plugins/sudoers/auth/fwtk.c:124 +msgid "lost connection to authentication server" +msgstr "mất kết nối đến máy phục vụ xác thực" + +#: plugins/sudoers/auth/fwtk.c:72 +#, c-format +msgid "" +"authentication server error:\n" +"%s" +msgstr "" +"lỗi máy phục vụ xác thực:\n" +"%s" + +#: plugins/sudoers/auth/kerb5.c:113 +#, c-format +msgid "%s: unable to convert principal to string ('%s'): %s" +msgstr "%s: không thể chuyển đổi người ủy nhiệm sang chuỗi (“%s”): %s" + +#: plugins/sudoers/auth/kerb5.c:163 +#, c-format +msgid "%s: unable to parse '%s': %s" +msgstr "%s: không thể phân tích “%s”: %s" + +#: plugins/sudoers/auth/kerb5.c:172 +#, c-format +msgid "%s: unable to resolve credential cache: %s" +msgstr "%s: không thể phân giải bộ nhớ đệm “credential”: %s" + +#: plugins/sudoers/auth/kerb5.c:219 +#, c-format +msgid "%s: unable to allocate options: %s" +msgstr "%s: không thể phân bổ các tùy chọn: %s" + +#: plugins/sudoers/auth/kerb5.c:234 +#, c-format +msgid "%s: unable to get credentials: %s" +msgstr "%s: không thể lấy giấy ủy nhiệm: %s" + +#: plugins/sudoers/auth/kerb5.c:247 +#, c-format +msgid "%s: unable to initialize credential cache: %s" +msgstr "%s: không thể khởi tạo bộ nhớ đệm “credential”: %s" + +#: plugins/sudoers/auth/kerb5.c:250 +#, c-format +msgid "%s: unable to store credential in cache: %s" +msgstr "%s: không thể cất giữ “credential” trong bộ nhớ tạm: %s" + +#: plugins/sudoers/auth/kerb5.c:314 +#, c-format +msgid "%s: unable to get host principal: %s" +msgstr "%s: không thể lấy tên máy chủ chính: %s" + +#: plugins/sudoers/auth/kerb5.c:328 +#, c-format +msgid "%s: Cannot verify TGT! Possible attack!: %s" +msgstr "%s: Không thể thẩm tra TGT! Gần như chắc chắn là bị tấn công!: %s" + +#: plugins/sudoers/auth/pam.c:113 +msgid "unable to initialize PAM" +msgstr "không thể khởi tạo PAM" + +#: plugins/sudoers/auth/pam.c:204 +#, c-format +msgid "PAM authentication error: %s" +msgstr "lỗi xác thực PAM: %s" + +#: plugins/sudoers/auth/pam.c:221 +msgid "account validation failure, is your account locked?" +msgstr "xác thực tài khoản gặp lỗi nghiêm trọng, có phải tài khoản của bạn đã bị khóa?" + +#: plugins/sudoers/auth/pam.c:229 +msgid "Account or password is expired, reset your password and try again" +msgstr "Mật khẩu hay tài khoản đã hết hạn sử dụng, hãy đặt lại mật khẩu của bạn và thử lại" + +#: plugins/sudoers/auth/pam.c:238 +#, c-format +msgid "unable to change expired password: %s" +msgstr "không thể thay đổi mật khẩu đã hết hạn: %s" + +#: plugins/sudoers/auth/pam.c:246 +msgid "Password expired, contact your system administrator" +msgstr "Mật khẩu đã hết hạn dùng, hãy liên lạc với người quản trị hệ thống của bạn" + +#: plugins/sudoers/auth/pam.c:250 +msgid "Account expired or PAM config lacks an \"account\" section for sudo, contact your system administrator" +msgstr "Tài khoản hết hạn hoặc cấu hình PAM không có phiên “tài khoản” cho sudo, hãy liên hệ với người quản trị hệ thống của bạn" + +#: plugins/sudoers/auth/pam.c:257 plugins/sudoers/auth/pam.c:262 +#, c-format +msgid "PAM account management error: %s" +msgstr "lỗi quản lý tài khoảnthực PAM: %s" + +#: plugins/sudoers/auth/rfc1938.c:102 plugins/sudoers/visudo.c:232 +#, c-format +msgid "you do not exist in the %s database" +msgstr "bạn không tồn tại trong cơ sở dữ liệu %s" + +#: plugins/sudoers/auth/securid5.c:75 +msgid "failed to initialise the ACE API library" +msgstr "gặp lỗi khi khởi tạo thư viện “ACE API”" + +#: plugins/sudoers/auth/securid5.c:101 +msgid "unable to contact the SecurID server" +msgstr "không thể liên lạc được với máy chủ SecurID" + +#: plugins/sudoers/auth/securid5.c:110 +msgid "User ID locked for SecurID Authentication" +msgstr "ID người dùng bị khóa với “SecurID Authentication”" + +#: plugins/sudoers/auth/securid5.c:114 plugins/sudoers/auth/securid5.c:165 +msgid "invalid username length for SecurID" +msgstr "sai chiều dài tên tài khoản cho SecurID" + +#: plugins/sudoers/auth/securid5.c:118 plugins/sudoers/auth/securid5.c:170 +msgid "invalid Authentication Handle for SecurID" +msgstr "sai Bộ Tiếp Hợp Xác Thực cho SecurID" + +#: plugins/sudoers/auth/securid5.c:122 +msgid "SecurID communication failed" +msgstr "Truyền thông với SecurID gặp lỗi" + +#: plugins/sudoers/auth/securid5.c:126 plugins/sudoers/auth/securid5.c:215 +msgid "unknown SecurID error" +msgstr "không hiểu lỗi SecurID" + +#: plugins/sudoers/auth/securid5.c:160 +msgid "invalid passcode length for SecurID" +msgstr "sai chiều dài passcode cho SecurID" + +#: plugins/sudoers/auth/sia.c:72 plugins/sudoers/auth/sia.c:127 +msgid "unable to initialize SIA session" +msgstr "không thể khởi tạo phiên SIA" + +#: plugins/sudoers/auth/sudo_auth.c:136 +msgid "invalid authentication methods" +msgstr "Phương thức xác thực không hợp lệ" + +#: plugins/sudoers/auth/sudo_auth.c:138 +msgid "Invalid authentication methods compiled into sudo! You may not mix standalone and non-standalone authentication." +msgstr "Phương thức xác thực không hợp lệ được biên dịch vào trong sudo! Bạn không thể pha trộn kiểu xác thực giữa standalone và non-standalone" + +#: plugins/sudoers/auth/sudo_auth.c:259 plugins/sudoers/auth/sudo_auth.c:309 +msgid "no authentication methods" +msgstr "chưa có phương thức xác thực" + +#: plugins/sudoers/auth/sudo_auth.c:261 +msgid "There are no authentication methods compiled into sudo! If you want to turn off authentication, use the --disable-authentication configure option." +msgstr "Ở đây không có phương thức xác thực nào được dịch vào trong sudo! Nếu bạn muốn tắt xác thực, sử dụng tùy chọn cấu hình --disable-authentication" + +#: plugins/sudoers/auth/sudo_auth.c:311 +msgid "Unable to initialize authentication methods." +msgstr "Không thể khởi tạo phương thức xác thực." + +#: plugins/sudoers/auth/sudo_auth.c:477 +msgid "Authentication methods:" +msgstr "Phương thức xác thực:" + +#: plugins/sudoers/bsm_audit.c:123 plugins/sudoers/bsm_audit.c:215 +msgid "Could not determine audit condition" +msgstr "Không thể phân giải điều kiện audit" + +#: plugins/sudoers/bsm_audit.c:188 plugins/sudoers/bsm_audit.c:279 +msgid "unable to commit audit record" +msgstr "không thể chuyển giao bản ghi “audit”" + +#: plugins/sudoers/check.c:267 +msgid "" +"\n" +"We trust you have received the usual lecture from the local System\n" +"Administrator. It usually boils down to these three things:\n" +"\n" +" #1) Respect the privacy of others.\n" +" #2) Think before you type.\n" +" #3) With great power comes great responsibility.\n" +"\n" +msgstr "" +"\n" +"Chúng tôi tin rằng bạn đã nhận được bài giảng từ Quản trị Hệ thống\n" +"nội bộ. Có thể tóm lược chúng lại thành một số điểm quan trọng sau:\n" +"\n" +" #1) Tôn trọng sự riêng tư của người khác.\n" +" #2) Nghĩ trước khi gõ một lệnh.\n" +" #3) Quyền lực lớn đi kèm với trách nhiệm lớn.\n" +"\n" + +#: plugins/sudoers/check.c:310 plugins/sudoers/check.c:320 +#: plugins/sudoers/sudoers.c:696 plugins/sudoers/sudoers.c:741 +#: plugins/sudoers/tsdump.c:124 +#, c-format +msgid "unknown uid: %u" +msgstr "không biết mã số người dùng: %u" + +#: plugins/sudoers/check.c:315 plugins/sudoers/iolog.c:253 +#: plugins/sudoers/policy.c:915 plugins/sudoers/sudoers.c:1136 +#: plugins/sudoers/testsudoers.c:225 plugins/sudoers/testsudoers.c:398 +#, c-format +msgid "unknown user: %s" +msgstr "không biết người dùng: %s" + +#: plugins/sudoers/cvtsudoers.c:198 +#, c-format +msgid "order increment: %s: %s" +msgstr "gia tăng thứ tự: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:214 +#, c-format +msgid "starting order: %s: %s" +msgstr "bắt đầu thứ tự: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:224 +#, c-format +msgid "order padding: %s: %s" +msgstr "đệm thứ tự: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:232 plugins/sudoers/sudoreplay.c:287 +#: plugins/sudoers/visudo.c:182 +#, c-format +msgid "%s version %s\n" +msgstr "%s phiên bản %s\n" + +#: plugins/sudoers/cvtsudoers.c:234 plugins/sudoers/visudo.c:184 +#, c-format +msgid "%s grammar version %d\n" +msgstr "Ngữ pháp %s phiên bản %d\n" + +#: plugins/sudoers/cvtsudoers.c:251 plugins/sudoers/testsudoers.c:173 +#, c-format +msgid "unsupported input format %s" +msgstr "không hỗ trợ định dạng đầu vào %s" + +#: plugins/sudoers/cvtsudoers.c:266 +#, c-format +msgid "unsupported output format %s" +msgstr "không hỗ trợ định dạng đầu ra %s" + +#: plugins/sudoers/cvtsudoers.c:318 +#, c-format +msgid "%s: input and output files must be different" +msgstr "%s: các tập tin đầu vào và đầu ra phải khác nhau" + +#: plugins/sudoers/cvtsudoers.c:334 plugins/sudoers/sudoers.c:172 +#: plugins/sudoers/testsudoers.c:264 plugins/sudoers/visudo.c:238 +#: plugins/sudoers/visudo.c:594 plugins/sudoers/visudo.c:917 +msgid "unable to initialize sudoers default values" +msgstr "không thể khởi giá trị mặc định sudoers" + +#: plugins/sudoers/cvtsudoers.c:420 plugins/sudoers/ldap_conf.c:433 +#, c-format +msgid "%s: %s: %s: %s" +msgstr "%s: %s: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:479 +#, c-format +msgid "%s: unknown key word: %s" +msgstr "%s: không biết từ khóa: %s" + +#: plugins/sudoers/cvtsudoers.c:525 +#, c-format +msgid "invalid defaults type: %s" +msgstr "kiểu mặc định không hợp lệ: %s" + +#: plugins/sudoers/cvtsudoers.c:548 +#, c-format +msgid "invalid suppression type: %s" +msgstr "kiểu biểu thức không hợp lệ: %s" + +#: plugins/sudoers/cvtsudoers.c:588 plugins/sudoers/cvtsudoers.c:602 +#, c-format +msgid "invalid filter: %s" +msgstr "bộ lọc không hợp lệ: %s" + +#: plugins/sudoers/cvtsudoers.c:621 plugins/sudoers/cvtsudoers.c:638 +#: plugins/sudoers/cvtsudoers.c:1244 plugins/sudoers/cvtsudoers_json.c:1128 +#: plugins/sudoers/cvtsudoers_ldif.c:641 plugins/sudoers/iolog.c:411 +#: plugins/sudoers/iolog_util.c:72 plugins/sudoers/sudoers.c:903 +#: plugins/sudoers/sudoreplay.c:333 plugins/sudoers/sudoreplay.c:1425 +#: plugins/sudoers/timestamp.c:446 plugins/sudoers/tsdump.c:133 +#: plugins/sudoers/visudo.c:913 +#, c-format +msgid "unable to open %s" +msgstr "không thể mở “%s”" + +#: plugins/sudoers/cvtsudoers.c:641 plugins/sudoers/visudo.c:922 +#, c-format +msgid "failed to parse %s file, unknown error" +msgstr "gặp lỗi khi phân tích tập tin %s, không rõ bị lỗi gì" + +#: plugins/sudoers/cvtsudoers.c:649 plugins/sudoers/visudo.c:939 +#, c-format +msgid "parse error in %s near line %d\n" +msgstr "lỗi cú pháp trong %s gần dòng %d\n" + +#: plugins/sudoers/cvtsudoers.c:652 plugins/sudoers/visudo.c:942 +#, c-format +msgid "parse error in %s\n" +msgstr "lỗi cú pháp trong %s\n" + +#: plugins/sudoers/cvtsudoers.c:1291 plugins/sudoers/iolog.c:498 +#: plugins/sudoers/sudoreplay.c:1129 plugins/sudoers/timestamp.c:330 +#: plugins/sudoers/timestamp.c:333 +#, c-format +msgid "unable to write to %s" +msgstr "không thể ghi vào %s" + +#: plugins/sudoers/cvtsudoers.c:1314 +#, c-format +msgid "" +"%s - convert between sudoers file formats\n" +"\n" +msgstr "%s - chuyển đổi giữa các định dạng các tập tin sudoers\n" + +#: plugins/sudoers/cvtsudoers.c:1316 +msgid "" +"\n" +"Options:\n" +" -b, --base=dn the base DN for sudo LDAP queries\n" +" -d, --defaults=deftypes only convert Defaults of the specified types\n" +" -e, --expand-aliases expand aliases when converting\n" +" -f, --output-format=format set output format: JSON, LDIF or sudoers\n" +" -i, --input-format=format set input format: LDIF or sudoers\n" +" -I, --increment=num amount to increase each sudoOrder by\n" +" -h, --help display help message and exit\n" +" -m, --match=filter only convert entries that match the filter\n" +" -M, --match-local match filter uses passwd and group databases\n" +" -o, --output=output_file write converted sudoers to output_file\n" +" -O, --order-start=num starting point for first sudoOrder\n" +" -p, --prune-matches prune non-matching users, groups and hosts\n" +" -P, --padding=num base padding for sudoOrder increment\n" +" -s, --suppress=sections suppress output of certain sections\n" +" -V, --version display version information and exit" +msgstr "" +"\n" +"Options:\n" +" -b, --base=dn DN cơ sở cho sudo truy vấn LDAP\n" +" -d, --defaults=deftypes chỉ chuyển đổi mặc định của kiểu đã cho\n" +" -e, --expand-aliases khai triển bí danh khi chuyển đổi\n" +" -f, --output-format=format đặt định dạng đầu ra: JSON, LDIF hay sudoers\n" +" -i, --input-format=format đặt định dạng đầu vào: LDIF hoặc sudoers\n" +" -I, --increment=số tổng gia tăng cho từng sudoOrder\n" +" -h, --help hiển thị trợ giúp rồi thoát\n" +" -m, --match=filter chỉ chuyển đổi những hạng mục khớp bộ lọc\n" +" -M, --match-local khớp lọc sử dụng cơ sở dữ liệu passwd và group người dùng\n" +" -o, --output=tập_tin_đầu_ra ghi sudoers đã chuyển đổi sang tập_tin_đầu_ra\n" +" -O, --order-start=số điểm đầu cho sudoOrder đầu tiên\n" +" -p, --prune-matches cắt bỏ những người dùng, nhóm và máy không khớp mẫu\n" +" -P, --padding=số đệm cơ sở cho gia tăng sudoOrder\n" +" -s, --suppress=sections chặn xuất cho từng phần cụ thể\n" +" -V, --version hiển thị phiên bản rồi thoát" + +#: plugins/sudoers/cvtsudoers_json.c:682 plugins/sudoers/cvtsudoers_json.c:718 +#: plugins/sudoers/cvtsudoers_json.c:936 +#, c-format +msgid "unknown defaults entry \"%s\"" +msgstr "không hiểu mục tin mặc định “%s”" + +#: plugins/sudoers/cvtsudoers_json.c:856 plugins/sudoers/cvtsudoers_json.c:871 +#: plugins/sudoers/cvtsudoers_ldif.c:306 plugins/sudoers/cvtsudoers_ldif.c:317 +#: plugins/sudoers/ldap.c:480 +msgid "unable to get GMT time" +msgstr "không thể lấy giờ quốc tế (GMT)" + +#: plugins/sudoers/cvtsudoers_json.c:859 plugins/sudoers/cvtsudoers_json.c:874 +#: plugins/sudoers/cvtsudoers_ldif.c:309 plugins/sudoers/cvtsudoers_ldif.c:320 +#: plugins/sudoers/ldap.c:486 +msgid "unable to format timestamp" +msgstr "không thể định dạng dấu-vết-thời-gian" + +#: plugins/sudoers/cvtsudoers_ldif.c:524 plugins/sudoers/env.c:309 +#: plugins/sudoers/env.c:316 plugins/sudoers/env.c:421 +#: plugins/sudoers/ldap.c:494 plugins/sudoers/ldap.c:725 +#: plugins/sudoers/ldap.c:1052 plugins/sudoers/ldap_conf.c:225 +#: plugins/sudoers/ldap_conf.c:315 plugins/sudoers/linux_audit.c:87 +#: plugins/sudoers/logging.c:1015 plugins/sudoers/policy.c:623 +#: plugins/sudoers/policy.c:633 plugins/sudoers/prompt.c:166 +#: plugins/sudoers/sudoers.c:845 plugins/sudoers/testsudoers.c:255 +#: plugins/sudoers/toke_util.c:159 +#, c-format +msgid "internal error, %s overflow" +msgstr "lỗi nội bộ, %s bị tràn" + +#: plugins/sudoers/cvtsudoers_ldif.c:593 +#, c-format +msgid "too many sudoers entries, maximum %u" +msgstr "Quá nhiều mục tin sudoers, tối đa là %u" + +#: plugins/sudoers/cvtsudoers_ldif.c:636 +msgid "the SUDOERS_BASE environment variable is not set and the -b option was not specified." +msgstr "biến môi trường SUDOERS_BASE chưa được đặt và tùy chọn chưa được đưa ra." + +#: plugins/sudoers/def_data.c:42 +#, c-format +msgid "Syslog facility if syslog is being used for logging: %s" +msgstr "Trang bị Syslog nếu syslog được sử dụng cho việc ghi nhật ký: %s" + +#: plugins/sudoers/def_data.c:46 +#, c-format +msgid "Syslog priority to use when user authenticates successfully: %s" +msgstr "Mức ưu tiên Syslog sẽ sử dụng khi người dùng đăng nhập thành công: %s" + +#: plugins/sudoers/def_data.c:50 +#, c-format +msgid "Syslog priority to use when user authenticates unsuccessfully: %s" +msgstr "Mức ưu tiên Syslog sẽ sử dụng khi người dùng đăng nhập không thành công: %s" + +#: plugins/sudoers/def_data.c:54 +msgid "Put OTP prompt on its own line" +msgstr "Đặt nhắc OTP (mật khẩu dùng một lần) tại dòng nó sở hữu" + +#: plugins/sudoers/def_data.c:58 +msgid "Ignore '.' in $PATH" +msgstr "Bỏ qua “.” trong biến $PATH" + +#: plugins/sudoers/def_data.c:62 +msgid "Always send mail when sudo is run" +msgstr "Luôn gửi thư mỗi khi chạy lệnh sudo" + +#: plugins/sudoers/def_data.c:66 +msgid "Send mail if user authentication fails" +msgstr "Gửi thư nếu xác thực người dùng gặp lỗi" + +#: plugins/sudoers/def_data.c:70 +msgid "Send mail if the user is not in sudoers" +msgstr "Gửi thư nếu người dùng không ở trong sudoers" + +#: plugins/sudoers/def_data.c:74 +msgid "Send mail if the user is not in sudoers for this host" +msgstr "Gửi thư nếu người dùng không có trong sudoers cho máy chủ này" + +#: plugins/sudoers/def_data.c:78 +msgid "Send mail if the user is not allowed to run a command" +msgstr "Gửi thư nếu người dùng không được phép chạy lệnh nào đó" + +#: plugins/sudoers/def_data.c:82 +msgid "Send mail if the user tries to run a command" +msgstr "Gửi thư nếu người cố chạy lệnh nào đó" + +#: plugins/sudoers/def_data.c:86 +msgid "Use a separate timestamp for each user/tty combo" +msgstr "Sử dụng dấu vết thời gian riêng rẽ cho từng cặp tkhoản/tty" + +#: plugins/sudoers/def_data.c:90 +msgid "Lecture user the first time they run sudo" +msgstr "Hướng dẫn người dùng lần đầu tiên họ chạy lệnh sudo" + +#: plugins/sudoers/def_data.c:94 +#, c-format +msgid "File containing the sudo lecture: %s" +msgstr "TẬP-TIN chứa thuyết trình về “sudo”: %s" + +#: plugins/sudoers/def_data.c:98 +msgid "Require users to authenticate by default" +msgstr "Yêu cầu người dùng chứng thực theo mặc định" + +#: plugins/sudoers/def_data.c:102 +msgid "Root may run sudo" +msgstr "Siêu người dùng (root) có thể chạy lệnh sudo" + +#: plugins/sudoers/def_data.c:106 +msgid "Log the hostname in the (non-syslog) log file" +msgstr "Ghi nhật ký tên-máy-chủ vào tập tin nhật ký (không dùng syslog)" + +#: plugins/sudoers/def_data.c:110 +msgid "Log the year in the (non-syslog) log file" +msgstr "Ghi nhật ký năm vào tập tin nhật ký (không dùng syslog)" + +#: plugins/sudoers/def_data.c:114 +msgid "If sudo is invoked with no arguments, start a shell" +msgstr "Nếu lệnh sudo được triệu gọi mà không đưa ra tham số thì khởi chạy hệ vỏ" + +#: plugins/sudoers/def_data.c:118 +msgid "Set $HOME to the target user when starting a shell with -s" +msgstr "Đặt biến $HOME cho người dùng đích khi sử dụng hệ vỏ (shell) với tùy chọn -s" + +#: plugins/sudoers/def_data.c:122 +msgid "Always set $HOME to the target user's home directory" +msgstr "Luôn đặt biến $HOME cho thư mục cá nhân của người dùng đích" + +#: plugins/sudoers/def_data.c:126 +msgid "Allow some information gathering to give useful error messages" +msgstr "Cho phép một số thông tin được thu thập để đưa ra các thông tin về lỗi hữu dụng" + +#: plugins/sudoers/def_data.c:130 +msgid "Require fully-qualified hostnames in the sudoers file" +msgstr "Yêu cầu tên máy chủ dạng đầy đủ trong tập tin sudoers" + +#: plugins/sudoers/def_data.c:134 +msgid "Insult the user when they enter an incorrect password" +msgstr "Lăng mạ người dùng khi họ nhập vào mật khẩu sai" + +#: plugins/sudoers/def_data.c:138 +msgid "Only allow the user to run sudo if they have a tty" +msgstr "Chỉ cho phép người dùng chạy lệnh sudo nếu họ có tty" + +#: plugins/sudoers/def_data.c:142 +msgid "Visudo will honor the EDITOR environment variable" +msgstr "Visudo sẽ tôn trọng biến môi trường EDITOR" + +#: plugins/sudoers/def_data.c:146 +msgid "Prompt for root's password, not the users's" +msgstr "Hỏi mật khẩu của siêu người dùng, chứ không phải của người dùng" + +#: plugins/sudoers/def_data.c:150 +msgid "Prompt for the runas_default user's password, not the users's" +msgstr "Nhắc mật khẩu của người dùng runas_mặc_định, không phải của người dùng" + +#: plugins/sudoers/def_data.c:154 +msgid "Prompt for the target user's password, not the users's" +msgstr "Nhắc mật khẩu của người dùng đích, không phải cái hiện tại" + +#: plugins/sudoers/def_data.c:158 +msgid "Apply defaults in the target user's login class if there is one" +msgstr "Áp dụng mặc định trong lớp đăng nhập người dùng đích nếu ở đây có một" + +#: plugins/sudoers/def_data.c:162 +msgid "Set the LOGNAME and USER environment variables" +msgstr "Đặt biến môi trường LOGNAME và USER" + +#: plugins/sudoers/def_data.c:166 +msgid "Only set the effective uid to the target user, not the real uid" +msgstr "Chỉ đặt uid đang có hiệu lực cho người dùng đích, không sử dụng uid thật" + +#: plugins/sudoers/def_data.c:170 +msgid "Don't initialize the group vector to that of the target user" +msgstr "Không khởi tạo véc-tơ nhóm cho người dùng đích" + +#: plugins/sudoers/def_data.c:174 +#, c-format +msgid "Length at which to wrap log file lines (0 for no wrap): %u" +msgstr "Độ dài mà tại đó các dòng trong tập tin nhật ký được ngắt dòng (0 là không ngắt dòng): %u" + +#: plugins/sudoers/def_data.c:178 +#, c-format +msgid "Authentication timestamp timeout: %.1f minutes" +msgstr "Thời gian chờ dấu vết thời gian xác thực tối đa: %.1f phút" + +#: plugins/sudoers/def_data.c:182 +#, c-format +msgid "Password prompt timeout: %.1f minutes" +msgstr "Thời gian chờ nhắc mật khẩu tối đa: %.1f phút" + +#: plugins/sudoers/def_data.c:186 +#, c-format +msgid "Number of tries to enter a password: %u" +msgstr "Số lần nhập mật khẩu: %u" + +#: plugins/sudoers/def_data.c:190 +#, c-format +msgid "Umask to use or 0777 to use user's: 0%o" +msgstr "Umask để sử dụng hoặc 0777 để sử dụng của người dùng: 0%o" + +#: plugins/sudoers/def_data.c:194 +#, c-format +msgid "Path to log file: %s" +msgstr "Đường dẫn tới tập tin nhật ký: “%s”" + +#: plugins/sudoers/def_data.c:198 +#, c-format +msgid "Path to mail program: %s" +msgstr "Đường dẫn tới chương trình gửi thư (mail) %s" + +#: plugins/sudoers/def_data.c:202 +#, c-format +msgid "Flags for mail program: %s" +msgstr "Các cờ dành cho chương trình gửi thư (mail): %s" + +#: plugins/sudoers/def_data.c:206 +#, c-format +msgid "Address to send mail to: %s" +msgstr "Địa chỉ để gửi thư đến: %s" + +#: plugins/sudoers/def_data.c:210 +#, c-format +msgid "Address to send mail from: %s" +msgstr "Địa chỉ dùng để gửi thư từ: %s" + +#: plugins/sudoers/def_data.c:214 +#, c-format +msgid "Subject line for mail messages: %s" +msgstr "Chủ đề cho thư: %s" + +#: plugins/sudoers/def_data.c:218 +#, c-format +msgid "Incorrect password message: %s" +msgstr "Mật khẩu không đúng: %s" + +#: plugins/sudoers/def_data.c:222 +#, c-format +msgid "Path to lecture status dir: %s" +msgstr "Đường dẫn đến thư mục trạng thái thuyết trình: %s" + +#: plugins/sudoers/def_data.c:226 +#, c-format +msgid "Path to authentication timestamp dir: %s" +msgstr "Đường dẫn thư mục dấu vết thời gian xác thực: %s" + +#: plugins/sudoers/def_data.c:230 +#, c-format +msgid "Owner of the authentication timestamp dir: %s" +msgstr "Chủ sở hữu đường dẫn thư mục dấu vết thời gian xác thực: %s" + +#: plugins/sudoers/def_data.c:234 +#, c-format +msgid "Users in this group are exempt from password and PATH requirements: %s" +msgstr "Những tài khoản trong nhóm này được miễn mật khẩu và yêu cầu PATH: %s" + +#: plugins/sudoers/def_data.c:238 +#, c-format +msgid "Default password prompt: %s" +msgstr "Lời nhắc nhập mật khẩu mặc định: %s" + +#: plugins/sudoers/def_data.c:242 +msgid "If set, passprompt will override system prompt in all cases." +msgstr "Nếu được đặt, lời nhắc mật khẩu sẽ đè lên dấu nhắc hệ thống trong mọi trường hợp." + +#: plugins/sudoers/def_data.c:246 +#, c-format +msgid "Default user to run commands as: %s" +msgstr "Tài khoản mặc định chạy lệnh như là: %s" + +#: plugins/sudoers/def_data.c:250 +#, c-format +msgid "Value to override user's $PATH with: %s" +msgstr "Giá trị dùng để ghi đè lên $PATH của người dùng: %s" + +#: plugins/sudoers/def_data.c:254 +#, c-format +msgid "Path to the editor for use by visudo: %s" +msgstr "Đường dẫn tới trình biên soạn để sử dụng cho lệnh visudo: %s" + +#: plugins/sudoers/def_data.c:258 +#, c-format +msgid "When to require a password for 'list' pseudocommand: %s" +msgstr "Khi được yêu cầu mật khẩu cho “liệt kê” lệnh-giả: %s" + +#: plugins/sudoers/def_data.c:262 +#, c-format +msgid "When to require a password for 'verify' pseudocommand: %s" +msgstr "Khi được yêu cầu mật khẩu cho lệnh-giả “verify” (“thẩm tra”): %s" + +#: plugins/sudoers/def_data.c:266 +msgid "Preload the dummy exec functions contained in the sudo_noexec library" +msgstr "Tải trước các hàm thi hành giả được chứa trong thư viện sudo_noexec" + +#: plugins/sudoers/def_data.c:270 +msgid "If LDAP directory is up, do we ignore local sudoers file" +msgstr "Nếu thư mục LDAP đã bật, chúng tôi sẽ lờ đi tập tin sudoers phải không" + +#: plugins/sudoers/def_data.c:274 +#, c-format +msgid "File descriptors >= %d will be closed before executing a command" +msgstr "Các bộ mô tả tập tin >= %d sẽ bị đóng trước khi chạy một lệnh" + +#: plugins/sudoers/def_data.c:278 +msgid "If set, users may override the value of `closefrom' with the -C option" +msgstr "Nếu được đặt, người dùng có thể ghi đè lên giá trị của “closefrom” bằng tùy chọn -C" + +#: plugins/sudoers/def_data.c:282 +msgid "Allow users to set arbitrary environment variables" +msgstr "Cho phép người dùng đặt biến môi trường tùy ý" + +#: plugins/sudoers/def_data.c:286 +msgid "Reset the environment to a default set of variables" +msgstr "Đặt lại biến môi trường thành giá trị mặc định của chúng" + +#: plugins/sudoers/def_data.c:290 +msgid "Environment variables to check for sanity:" +msgstr "Các biến môi trường được kiểm tra xem có đúng mực không:" + +#: plugins/sudoers/def_data.c:294 +msgid "Environment variables to remove:" +msgstr "Các biến môi trường bị gỡ bỏ:" + +#: plugins/sudoers/def_data.c:298 +msgid "Environment variables to preserve:" +msgstr "Các biến môi trường được giữ lại:" + +#: plugins/sudoers/def_data.c:302 +#, c-format +msgid "SELinux role to use in the new security context: %s" +msgstr "Vai trò SELinux được dùng trong ngữ cảnh an ninh mới: %s" + +#: plugins/sudoers/def_data.c:306 +#, c-format +msgid "SELinux type to use in the new security context: %s" +msgstr "Kiểu SELinux được dùng trong ngữ cảnh an ninh mới: %s" + +#: plugins/sudoers/def_data.c:310 +#, c-format +msgid "Path to the sudo-specific environment file: %s" +msgstr "Đường dẫn tới tập tin môi trường đặc-tả-sudo: %s" + +#: plugins/sudoers/def_data.c:314 +#, c-format +msgid "Path to the restricted sudo-specific environment file: %s" +msgstr "Đường dẫn tới tập tin môi trường đặc-tả-sudo-hạn-chế: %s" + +#: plugins/sudoers/def_data.c:318 +#, c-format +msgid "Locale to use while parsing sudoers: %s" +msgstr "Miền địa phương sẽ sử dụng khi phân tích sudoers: %s" + +#: plugins/sudoers/def_data.c:322 +msgid "Allow sudo to prompt for a password even if it would be visible" +msgstr "Cho phép sudo hỏi mật khẩu thậm chí ngay cả khi nó đã rõ ràng" + +#: plugins/sudoers/def_data.c:326 +msgid "Provide visual feedback at the password prompt when there is user input" +msgstr "Cung cấp phản hồi ảo lúc nhắc mật khẩu khi đây là đầu nhập người dùng" + +#: plugins/sudoers/def_data.c:330 +msgid "Use faster globbing that is less accurate but does not access the filesystem" +msgstr "Sử dụng globbing kiểu nhanh hơn mà nó thì kém chính xác hơn nhưng lại không cần truy cập hệ thống tập tin" + +#: plugins/sudoers/def_data.c:334 +msgid "The umask specified in sudoers will override the user's, even if it is more permissive" +msgstr "Giá trị umask được chỉ định trong sudoers sẽ ghi đè lên giá trị này của người dùng, thậm chí nó còn dễ dãi hơn" + +#: plugins/sudoers/def_data.c:338 +msgid "Log user's input for the command being run" +msgstr "Ghi nhật ký kết xuất từ người dùng cho lệnh đang chạy" + +#: plugins/sudoers/def_data.c:342 +msgid "Log the output of the command being run" +msgstr "Ghi lại nhật ký kết xuất của lệnh đang chạy" + +#: plugins/sudoers/def_data.c:346 +msgid "Compress I/O logs using zlib" +msgstr "Nén nhật ký V/R sử dụng định dạng zlib" + +#: plugins/sudoers/def_data.c:350 +msgid "Always run commands in a pseudo-tty" +msgstr "Luôn chạy lệnh ở tty-giả" + +#: plugins/sudoers/def_data.c:354 +#, c-format +msgid "Plugin for non-Unix group support: %s" +msgstr "Phần bổ sung cho hỗ trợ nhóm không-Unix: %s" + +#: plugins/sudoers/def_data.c:358 +#, c-format +msgid "Directory in which to store input/output logs: %s" +msgstr "Thư mục mà nó sẽ lưu nhật ký vào/ra: %s" + +#: plugins/sudoers/def_data.c:362 +#, c-format +msgid "File in which to store the input/output log: %s" +msgstr "Tập tin mà nó sẽ lưu nhật ký vào/ra: %s" + +#: plugins/sudoers/def_data.c:366 +msgid "Add an entry to the utmp/utmpx file when allocating a pty" +msgstr "Thêm một mục vào tập tin utmp/utmpx khi phân bổ một pty" + +#: plugins/sudoers/def_data.c:370 +msgid "Set the user in utmp to the runas user, not the invoking user" +msgstr "Đặt người dùng trong utmp thành người dùng runasr, không phải người dùng gọi" + +#: plugins/sudoers/def_data.c:374 +#, c-format +msgid "Set of permitted privileges: %s" +msgstr "Tập hợp các đặc quyền được phép: %s" + +#: plugins/sudoers/def_data.c:378 +#, c-format +msgid "Set of limit privileges: %s" +msgstr "Tập hợp các quyền bị giới hạn: %s" + +#: plugins/sudoers/def_data.c:382 +msgid "Run commands on a pty in the background" +msgstr "Chạy các câu lệnh trên một pty trong nền hệ thống" + +#: plugins/sudoers/def_data.c:386 +#, c-format +msgid "PAM service name to use: %s" +msgstr "Tên dịch vụ PAM được dùng: %s" + +#: plugins/sudoers/def_data.c:390 +#, c-format +msgid "PAM service name to use for login shells: %s" +msgstr "Tên dịch vụ PAM được dùng cho các hệ vỏ đăng nhập: %s" + +#: plugins/sudoers/def_data.c:394 +msgid "Attempt to establish PAM credentials for the target user" +msgstr "Thử thiết lập ủy nhiệm PAM cho người dùng đích" + +#: plugins/sudoers/def_data.c:398 +msgid "Create a new PAM session for the command to run in" +msgstr "Tạo một phiên PAM mới để lệnh chạy với nó" + +#: plugins/sudoers/def_data.c:402 +#, c-format +msgid "Maximum I/O log sequence number: %u" +msgstr "Số lượng nhật ký I/O tối đa: %u" + +#: plugins/sudoers/def_data.c:406 +msgid "Enable sudoers netgroup support" +msgstr "Bật hỗ trợ nhóm-mạng “sudoers”" + +#: plugins/sudoers/def_data.c:410 +msgid "Check parent directories for writability when editing files with sudoedit" +msgstr "Kiểm tra xem các thư mục cha có ghi được hay không khi sửa các tập tin bằng sudoedit" + +#: plugins/sudoers/def_data.c:414 +msgid "Follow symbolic links when editing files with sudoedit" +msgstr "Theo các liên kết mềm khi sửa các tập tin bằng sudoedit" + +#: plugins/sudoers/def_data.c:418 +msgid "Query the group plugin for unknown system groups" +msgstr "Truy vấn các phần bổ sung nhóm cho các nhóm hệ thống chưa biết" + +#: plugins/sudoers/def_data.c:422 +msgid "Match netgroups based on the entire tuple: user, host and domain" +msgstr "Khớp nhóm mạng trên cơ sở toàn thể bộ dữ liệu : tài khoản, tên máy và tên miền" + +#: plugins/sudoers/def_data.c:426 +msgid "Allow commands to be run even if sudo cannot write to the audit log" +msgstr "Cho phép các lệnh có thể chạy ngay cả khi sudo không thể ghi vào nhật ký audit" + +#: plugins/sudoers/def_data.c:430 +msgid "Allow commands to be run even if sudo cannot write to the I/O log" +msgstr "Cho phép các lệnh có thể chạy ngay cả khi sudo không thể ghi vào nhật ký V/R" + +#: plugins/sudoers/def_data.c:434 +msgid "Allow commands to be run even if sudo cannot write to the log file" +msgstr "Cho phép các lệnh có thể chạy ngay cả khi sudo không thể ghi vào tập tin nhật ký" + +#: plugins/sudoers/def_data.c:438 +msgid "Resolve groups in sudoers and match on the group ID, not the name" +msgstr "Phân giải các nhóm trong sudoers và khớp dựa trên mã số nhóm, không phải là tên" + +#: plugins/sudoers/def_data.c:442 +#, c-format +msgid "Log entries larger than this value will be split into multiple syslog messages: %u" +msgstr "Các mục tin của nhật ký lớn hơn giá trị này sẽ được chia thành nhiều chuỗi syslog nhỏ: %u" + +#: plugins/sudoers/def_data.c:446 +#, c-format +msgid "User that will own the I/O log files: %s" +msgstr "Người mà sẽ sở hữu tập tin nhật ký V/R: %s" + +#: plugins/sudoers/def_data.c:450 +#, c-format +msgid "Group that will own the I/O log files: %s" +msgstr "Nhóm mà sẽ sở hữu tập tin nhật ký V/R: %s" + +#: plugins/sudoers/def_data.c:454 +#, c-format +msgid "File mode to use for the I/O log files: 0%o" +msgstr "Chế độ tập tin được dùng cho tập tin nhật ký V/R: 0%o" + +#: plugins/sudoers/def_data.c:458 +#, c-format +msgid "Execute commands by file descriptor instead of by path: %s" +msgstr "Thực thi các lệnh theo bộ mô tả tập tin thay cho đường dẫn: %s" + +#: plugins/sudoers/def_data.c:462 +msgid "Ignore unknown Defaults entries in sudoers instead of producing a warning" +msgstr "Bỏ qua các mục tin Mặc định chưa biết trong sudoers thay vì đưa ra cảnh báo" + +#: plugins/sudoers/def_data.c:466 +#, c-format +msgid "Time in seconds after which the command will be terminated: %u" +msgstr "Thời gian theo giây sau đó thì lệnh sẽ bị chấm dứt: %u" + +#: plugins/sudoers/def_data.c:470 +msgid "Allow the user to specify a timeout on the command line" +msgstr "Cho phép người dùng chỉ định thời gian chờ dòng lệnh tối đa" + +#: plugins/sudoers/def_data.c:474 +msgid "Flush I/O log data to disk immediately instead of buffering it" +msgstr "Đẩy dữ liệu nhật ký V/R lên đĩa ngay lập tức thay vì nhớ đệm nó" + +#: plugins/sudoers/def_data.c:478 +msgid "Include the process ID when logging via syslog" +msgstr "Bao gồm mã số tiến trình khi ghi nhật ký thông qua syslog" + +#: plugins/sudoers/def_data.c:482 +#, c-format +msgid "Type of authentication timestamp record: %s" +msgstr "Kiểu của bản ghi dấu vết thời gian xác thực: %s" + +#: plugins/sudoers/def_data.c:486 +#, c-format +msgid "Authentication failure message: %s" +msgstr "Thông tin xác thực gặp lỗi nghiêm trọng: %s" + +#: plugins/sudoers/def_data.c:490 +msgid "Ignore case when matching user names" +msgstr "Bỏ qua HOA/thường khi khớp tên người dùng" + +#: plugins/sudoers/def_data.c:494 +msgid "Ignore case when matching group names" +msgstr "Bỏ qua HOA/thường khi khớp tên nhóm" + +#: plugins/sudoers/defaults.c:229 +#, c-format +msgid "%s:%d unknown defaults entry \"%s\"" +msgstr "%s:%d không hiểu mục tin mặc định “%s”" + +#: plugins/sudoers/defaults.c:232 +#, c-format +msgid "%s: unknown defaults entry \"%s\"" +msgstr "%s: không hiểu mục tin mặc định “%s”" + +#: plugins/sudoers/defaults.c:275 +#, c-format +msgid "%s:%d no value specified for \"%s\"" +msgstr "%s:%d chưa chỉ ra giá trị cho “%s”" + +#: plugins/sudoers/defaults.c:278 +#, c-format +msgid "%s: no value specified for \"%s\"" +msgstr "%s: chưa chỉ ra giá trị cho “%s”" + +#: plugins/sudoers/defaults.c:298 +#, c-format +msgid "%s:%d values for \"%s\" must start with a '/'" +msgstr "%s:%d giá trị cho “%s” phải bắt đầu bằng dấu “/”" + +#: plugins/sudoers/defaults.c:301 +#, c-format +msgid "%s: values for \"%s\" must start with a '/'" +msgstr "%s: giá trị cho “%s” phải bắt đầu bằng dấu “/”" + +#: plugins/sudoers/defaults.c:323 +#, c-format +msgid "%s:%d option \"%s\" does not take a value" +msgstr "%s:%d tùy chọn “%s” không nhận giá trị" + +#: plugins/sudoers/defaults.c:326 +#, c-format +msgid "%s: option \"%s\" does not take a value" +msgstr "%s: tùy chọn “%s” không nhận giá trị" + +#: plugins/sudoers/defaults.c:351 +#, c-format +msgid "%s:%d invalid Defaults type 0x%x for option \"%s\"" +msgstr "%s:%d kiểu Defaults không hợp lệ 0x%x cho tùy chọn “%s”" + +#: plugins/sudoers/defaults.c:354 +#, c-format +msgid "%s: invalid Defaults type 0x%x for option \"%s\"" +msgstr "%s: kiểu Defaults không hợp lệ 0x%x cho tùy chọn “%s”" + +#: plugins/sudoers/defaults.c:364 +#, c-format +msgid "%s:%d value \"%s\" is invalid for option \"%s\"" +msgstr "%s:%d giá trị “%s” là không hợp lệ đối với tùy chọn “%s”" + +#: plugins/sudoers/defaults.c:367 +#, c-format +msgid "%s: value \"%s\" is invalid for option \"%s\"" +msgstr "%s: giá trị “%s” là không hợp lệ đối với tùy chọn “%s”" + +#: plugins/sudoers/env.c:390 +msgid "sudo_putenv: corrupted envp, length mismatch" +msgstr "sudo_putenv: envp sai hỏng, chiều dài không khớp" + +#: plugins/sudoers/env.c:1111 +msgid "unable to rebuild the environment" +msgstr "không thể xây dựng lại môi trường" + +#: plugins/sudoers/env.c:1185 +#, c-format +msgid "sorry, you are not allowed to set the following environment variables: %s" +msgstr "rất tiếc, bạn không được phép đặt các biến môi trường sau đây: %1s" + +#: plugins/sudoers/file.c:114 +#, c-format +msgid "parse error in %s near line %d" +msgstr "lỗi phân tích trong %s gần dòng %d" + +#: plugins/sudoers/file.c:117 +#, c-format +msgid "parse error in %s" +msgstr "gặp lỗi phân tích trong %s" + +#: plugins/sudoers/filedigest.c:59 +#, c-format +msgid "unsupported digest type %d for %s" +msgstr "không hỗ trợ kiểu tóm lược %d dành cho %s" + +#: plugins/sudoers/filedigest.c:88 +#, c-format +msgid "%s: read error" +msgstr "%s: lỗi đọc" + +#: plugins/sudoers/group_plugin.c:88 +#, c-format +msgid "%s must be owned by uid %d" +msgstr "%s phải được sở hữu bởi uid %d" + +#: plugins/sudoers/group_plugin.c:92 +#, c-format +msgid "%s must only be writable by owner" +msgstr "%s phải là những thứ chỉ có thể ghi bởi chủ sở hữu" + +#: plugins/sudoers/group_plugin.c:100 plugins/sudoers/sssd.c:561 +#, c-format +msgid "unable to load %s: %s" +msgstr "không thể tải %s: %s" + +#: plugins/sudoers/group_plugin.c:106 +#, c-format +msgid "unable to find symbol \"group_plugin\" in %s" +msgstr "không tìm thấy ký hiệu “group_plugin” trong %s" + +#: plugins/sudoers/group_plugin.c:111 +#, c-format +msgid "%s: incompatible group plugin major version %d, expected %d" +msgstr "%s: phiên bản số lớn phần bổ sung nhóm không tương thích %d, mong đợi %d" + +#: plugins/sudoers/interfaces.c:84 plugins/sudoers/interfaces.c:101 +#, c-format +msgid "unable to parse IP address \"%s\"" +msgstr "không thể phân tích địa chỉ IP \"%s\"" + +#: plugins/sudoers/interfaces.c:89 plugins/sudoers/interfaces.c:106 +#, c-format +msgid "unable to parse netmask \"%s\"" +msgstr "không thể phân tích mặt nạ mạng \"%s\"" + +#: plugins/sudoers/interfaces.c:134 +msgid "Local IP address and netmask pairs:\n" +msgstr "Cặp địa chỉ IP và mặt nạ cục bộ:\n" + +#: plugins/sudoers/iolog.c:115 plugins/sudoers/mkdir_parents.c:80 +#, c-format +msgid "%s exists but is not a directory (0%o)" +msgstr "%s có tồn tại nhưng nó không phải là một thư mục (0%o)" + +#: plugins/sudoers/iolog.c:140 plugins/sudoers/iolog.c:180 +#: plugins/sudoers/mkdir_parents.c:69 plugins/sudoers/timestamp.c:210 +#, c-format +msgid "unable to mkdir %s" +msgstr "không thể tạo thư mục “%s”" + +#: plugins/sudoers/iolog.c:184 plugins/sudoers/visudo.c:723 +#: plugins/sudoers/visudo.c:734 +#, c-format +msgid "unable to change mode of %s to 0%o" +msgstr "không thể chuyển đổi chế độ của %s thành 0%o" + +#: plugins/sudoers/iolog.c:292 plugins/sudoers/sudoers.c:1167 +#: plugins/sudoers/testsudoers.c:422 +#, c-format +msgid "unknown group: %s" +msgstr "không nhận ra nhóm: %s" + +#: plugins/sudoers/iolog.c:462 plugins/sudoers/sudoers.c:907 +#: plugins/sudoers/sudoreplay.c:840 plugins/sudoers/sudoreplay.c:1536 +#: plugins/sudoers/tsdump.c:143 +#, c-format +msgid "unable to read %s" +msgstr "không thể đọc %s" + +#: plugins/sudoers/iolog.c:577 plugins/sudoers/iolog.c:797 +#, c-format +msgid "unable to create %s" +msgstr "không thể tạo “%s”" + +#: plugins/sudoers/iolog.c:820 plugins/sudoers/iolog.c:1035 +#: plugins/sudoers/iolog.c:1111 plugins/sudoers/iolog.c:1205 +#: plugins/sudoers/iolog.c:1265 +#, c-format +msgid "unable to write to I/O log file: %s" +msgstr "không thể ghi vào tập tin nhật ký V/R: %s" + +#: plugins/sudoers/iolog.c:1069 +#, c-format +msgid "%s: internal error, I/O log file for event %d not open" +msgstr "%s: lỗi bên trong, tập tin nhật ký vào ra cho sự kiện %d chưa được mở" + +#: plugins/sudoers/iolog.c:1228 +#, c-format +msgid "%s: internal error, invalid signal %d" +msgstr "%s: lỗi bên trong, tín hiệu %d không hợp lệ" + +#: plugins/sudoers/iolog_util.c:87 +#, c-format +msgid "%s: invalid log file" +msgstr "%s: tập tin nhật ký không hợp lệ" + +#: plugins/sudoers/iolog_util.c:105 +#, c-format +msgid "%s: time stamp field is missing" +msgstr "%s: thiếu trường dấu vết thời gian" + +#: plugins/sudoers/iolog_util.c:111 +#, c-format +msgid "%s: time stamp %s: %s" +msgstr "%s: dấu vết thời gian “%s”: %s" + +#: plugins/sudoers/iolog_util.c:118 +#, c-format +msgid "%s: user field is missing" +msgstr "%s: thiếu trường tài khoản người dùng" + +#: plugins/sudoers/iolog_util.c:127 +#, c-format +msgid "%s: runas user field is missing" +msgstr "%s: thiếu trường “runas user” (chạy với tư cách tài khoản này)" + +#: plugins/sudoers/iolog_util.c:136 +#, c-format +msgid "%s: runas group field is missing" +msgstr "%s: thiếu trường “runas group” (chạy dưới danh nghĩa nhóm này)" + +#: plugins/sudoers/ldap.c:176 plugins/sudoers/ldap_conf.c:294 +msgid "starttls not supported when using ldaps" +msgstr "“starttls” chỉ được hỗ trợ khi dùng với “ldaps”" + +#: plugins/sudoers/ldap.c:247 +#, c-format +msgid "unable to initialize SSL cert and key db: %s" +msgstr "không thể khởi tạo chứng nhận SSL và csdl khóa: %s" + +#: plugins/sudoers/ldap.c:250 +#, c-format +msgid "you must set TLS_CERT in %s to use SSL" +msgstr "bạn phải đặt TLS_CERT trong %s để sử dụng SSL" + +#: plugins/sudoers/ldap.c:1612 +#, c-format +msgid "unable to initialize LDAP: %s" +msgstr "không thể khởi tạo LDAP: %s" + +#: plugins/sudoers/ldap.c:1648 +msgid "start_tls specified but LDAP libs do not support ldap_start_tls_s() or ldap_start_tls_s_np()" +msgstr "start_tls được chỉ ra nhưng thư viện LDAP không hỗ trợ ldap_start_tls_s() hoặc ldap_start_tls_s_np()" + +#: plugins/sudoers/ldap.c:1785 plugins/sudoers/parse_ldif.c:735 +#, c-format +msgid "invalid sudoOrder attribute: %s" +msgstr "thuộc tính sudoOrder không hợp lệ: %s" + +#: plugins/sudoers/ldap_conf.c:203 +msgid "sudo_ldap_conf_add_ports: port too large" +msgstr "sudo_ldap_conf_add_ports: cổng quá lớn" + +#: plugins/sudoers/ldap_conf.c:263 +#, c-format +msgid "unsupported LDAP uri type: %s" +msgstr "không hỗ trợ kiểu “LDAP uri”: %s" + +#: plugins/sudoers/ldap_conf.c:290 +msgid "unable to mix ldap and ldaps URIs" +msgstr "không thể trộn ldap và ldaps URIs" + +#: plugins/sudoers/ldap_util.c:454 plugins/sudoers/ldap_util.c:456 +#, c-format +msgid "unable to convert sudoOption: %s%s%s" +msgstr "không thể chuyển đổi sudoOption: %s%s%s" + +#: plugins/sudoers/linux_audit.c:57 +msgid "unable to open audit system" +msgstr "không thể mở hệ thống audit" + +#: plugins/sudoers/linux_audit.c:98 +msgid "unable to send audit message" +msgstr "không thể gửi thông tin audit" + +#: plugins/sudoers/logging.c:113 +#, c-format +msgid "%8s : %s" +msgstr "%8s : %s" + +#: plugins/sudoers/logging.c:141 +#, c-format +msgid "%8s : (command continued) %s" +msgstr "%8s : (lệnh tiếp tục) %s" + +#: plugins/sudoers/logging.c:170 +#, c-format +msgid "unable to open log file: %s" +msgstr "không thể mở tập tin nhật ký: %s" + +#: plugins/sudoers/logging.c:178 +#, c-format +msgid "unable to lock log file: %s" +msgstr "không thể khóa tập tin nhật ký: %s" + +#: plugins/sudoers/logging.c:211 +#, c-format +msgid "unable to write log file: %s" +msgstr "không thể ghi vào tập tin nhật ký: %s" + +#: plugins/sudoers/logging.c:240 +msgid "No user or host" +msgstr "Không có tài khoản hay tên máy chủ" + +#: plugins/sudoers/logging.c:242 +msgid "validation failure" +msgstr "việc phê chuẩn thất bại" + +#: plugins/sudoers/logging.c:249 +msgid "user NOT in sudoers" +msgstr "tài khoản KHÔNG có trong sudoers" + +#: plugins/sudoers/logging.c:251 +msgid "user NOT authorized on host" +msgstr "tài khoản KHÔNG được cho phép sử dụng trên máy chủ" + +#: plugins/sudoers/logging.c:253 +msgid "command not allowed" +msgstr "lệnh không được phép" + +#: plugins/sudoers/logging.c:288 +#, c-format +msgid "%s is not in the sudoers file. This incident will be reported.\n" +msgstr "%s không trong tập tin sudoers. Sự việc này sẽ được báo cáo.\n" + +#: plugins/sudoers/logging.c:291 +#, c-format +msgid "%s is not allowed to run sudo on %s. This incident will be reported.\n" +msgstr "%s không được phép chạy lệnh sudo trên %s. Sự việc này sẽ được báo cáo.\n" + +#: plugins/sudoers/logging.c:295 +#, c-format +msgid "Sorry, user %s may not run sudo on %s.\n" +msgstr "Rất tiếc, tài khoản %s không được chạy lệnh sudo trên %s.\n" + +#: plugins/sudoers/logging.c:298 +#, c-format +msgid "Sorry, user %s is not allowed to execute '%s%s%s' as %s%s%s on %s.\n" +msgstr "Rất tiếc, tài khoản %s không được phép thi hành “%s%s%s” như là %s%s%s trên %s.\n" + +#: plugins/sudoers/logging.c:335 plugins/sudoers/sudoers.c:438 +#: plugins/sudoers/sudoers.c:440 plugins/sudoers/sudoers.c:442 +#: plugins/sudoers/sudoers.c:444 plugins/sudoers/sudoers.c:599 +#: plugins/sudoers/sudoers.c:601 +#, c-format +msgid "%s: command not found" +msgstr "%s: không tìm thấy lệnh" + +#: plugins/sudoers/logging.c:337 plugins/sudoers/sudoers.c:434 +#, c-format +msgid "" +"ignoring \"%s\" found in '.'\n" +"Use \"sudo ./%s\" if this is the \"%s\" you wish to run." +msgstr "" +"đang bỏ qua “%s” được tìm thấy trong “.”\n" +"Sử dụng “sudo ./%s” nếu đây là “%s” bạn muốn chạy." + +#: plugins/sudoers/logging.c:354 +msgid "authentication failure" +msgstr "xác thực gặp lỗi nghiêm trọng" + +#: plugins/sudoers/logging.c:380 +msgid "a password is required" +msgstr "bắt buộc phải có mật khẩu" + +#: plugins/sudoers/logging.c:443 +#, c-format +msgid "%u incorrect password attempt" +msgid_plural "%u incorrect password attempts" +msgstr[0] "đã sai mật khẩu %u lần" + +#: plugins/sudoers/logging.c:666 +msgid "unable to fork" +msgstr "không thể tạo tiến trình con" + +#: plugins/sudoers/logging.c:674 plugins/sudoers/logging.c:726 +#, c-format +msgid "unable to fork: %m" +msgstr "không thể tạo tiến trình con: %m" + +#: plugins/sudoers/logging.c:716 +#, c-format +msgid "unable to open pipe: %m" +msgstr "không thể mở ống dẫn lệnh: %m" + +#: plugins/sudoers/logging.c:741 +#, c-format +msgid "unable to dup stdin: %m" +msgstr "không thể dup (nhân đôi) stdin: %m" + +#: plugins/sudoers/logging.c:779 +#, c-format +msgid "unable to execute %s: %m" +msgstr "không thể thực thi %s: %m" + +#: plugins/sudoers/match.c:874 +#, c-format +msgid "digest for %s (%s) is not in %s form" +msgstr "tóm lược cho %s (%s) không ở dạng thức %s" + +#: plugins/sudoers/mkdir_parents.c:75 plugins/sudoers/sudoers.c:918 +#: plugins/sudoers/visudo.c:421 plugins/sudoers/visudo.c:717 +#, c-format +msgid "unable to stat %s" +msgstr "không thể lấy thống kê %s" + +#: plugins/sudoers/parse.c:444 +#, c-format +msgid "" +"\n" +"LDAP Role: %s\n" +msgstr "" +"\n" +"Vai trò LDAP: %s\n" + +#: plugins/sudoers/parse.c:447 +#, c-format +msgid "" +"\n" +"Sudoers entry:\n" +msgstr "" +"\n" +"Mục Sudoers:\n" + +#: plugins/sudoers/parse.c:449 +#, c-format +msgid " RunAsUsers: " +msgstr " ChạyVớiTưCáchNgườiDùng: " + +#: plugins/sudoers/parse.c:464 +#, c-format +msgid " RunAsGroups: " +msgstr " ChạyVớiTưCáchNhóm: " + +#: plugins/sudoers/parse.c:474 +#, c-format +msgid " Options: " +msgstr " Tùy chọn: " + +#: plugins/sudoers/parse.c:528 +#, c-format +msgid " Commands:\n" +msgstr " Lệnh:\n" + +#: plugins/sudoers/parse.c:719 +#, c-format +msgid "Matching Defaults entries for %s on %s:\n" +msgstr "Các mục mặc định khớp cho %s trên máy %s:\n" + +#: plugins/sudoers/parse.c:737 +#, c-format +msgid "Runas and Command-specific defaults for %s:\n" +msgstr "Runas và Đặc-tả-lệnh mặc định cho %s:\n" + +#: plugins/sudoers/parse.c:755 +#, c-format +msgid "User %s may run the following commands on %s:\n" +msgstr "Người dùng %s có thể chạy những lệnh sau trên máy %s:\n" + +#: plugins/sudoers/parse.c:770 +#, c-format +msgid "User %s is not allowed to run sudo on %s.\n" +msgstr "Tài khoản %s không được phép thi hành sudo trên %s.\n" + +#: plugins/sudoers/parse_ldif.c:145 +#, c-format +msgid "ignoring invalid attribute value: %s" +msgstr "bỏ qua giá trị thuộc tính không hợp lệ: %s" + +#: plugins/sudoers/parse_ldif.c:584 +#, c-format +msgid "ignoring incomplete sudoRole: cn: %s" +msgstr "bỏ qua sudoRole chưa hoàn thiện: cn: %s" + +#: plugins/sudoers/policy.c:88 plugins/sudoers/policy.c:114 +#, c-format +msgid "invalid %.*s set by sudo front-end" +msgstr "%.*s không hợp lệ đặt bởi ứng dụng chạy phía trước sudo" + +#: plugins/sudoers/policy.c:293 plugins/sudoers/testsudoers.c:278 +msgid "unable to parse network address list" +msgstr "không thể phân tích danh sách địa chỉ mạng" + +#: plugins/sudoers/policy.c:437 +msgid "user name not set by sudo front-end" +msgstr "tên người dùng không đặt bởi ứng dụng chạy phía trước sudo" + +#: plugins/sudoers/policy.c:441 +msgid "user ID not set by sudo front-end" +msgstr "mã số người dùng không đặt bởi ứng dụng chạy phía trước sudo" + +#: plugins/sudoers/policy.c:445 +msgid "group ID not set by sudo front-end" +msgstr "mã số nhóm không đặt bởi ứng dụng chạy phía trước sudo" + +#: plugins/sudoers/policy.c:449 +msgid "host name not set by sudo front-end" +msgstr "tên máy không đặt bởi ứng dụng chạy phía trước sudo" + +#: plugins/sudoers/policy.c:802 plugins/sudoers/visudo.c:220 +#: plugins/sudoers/visudo.c:851 +#, c-format +msgid "unable to execute %s" +msgstr "không thể thực thi %s" + +#: plugins/sudoers/policy.c:933 +#, c-format +msgid "Sudoers policy plugin version %s\n" +msgstr "Phiên bản của phần bổ sung chính sách Sudoers %s\n" + +#: plugins/sudoers/policy.c:935 +#, c-format +msgid "Sudoers file grammar version %d\n" +msgstr "Phiên bản ngữ pháp tập tin Sudoers %d\n" + +#: plugins/sudoers/policy.c:939 +#, c-format +msgid "" +"\n" +"Sudoers path: %s\n" +msgstr "" +"\n" +"Đường dẫn Sudoers: %s\n" + +#: plugins/sudoers/policy.c:942 +#, c-format +msgid "nsswitch path: %s\n" +msgstr "đường dẫn nsswitch: %s\n" + +#: plugins/sudoers/policy.c:944 +#, c-format +msgid "ldap.conf path: %s\n" +msgstr "đường dẫn ldap.conf: %s\n" + +#: plugins/sudoers/policy.c:945 +#, c-format +msgid "ldap.secret path: %s\n" +msgstr "đường dẫn ldap.secret: %s\n" + +#: plugins/sudoers/policy.c:978 +#, c-format +msgid "unable to register hook of type %d (version %d.%d)" +msgstr "không thể đăng ký móc kiểu %d (phiên bản %d.%d)" + +#: plugins/sudoers/pwutil.c:220 plugins/sudoers/pwutil.c:239 +#, c-format +msgid "unable to cache uid %u, out of memory" +msgstr "không thể lưu nhớ tạm uid %u, hết bộ nhớ rồi" + +#: plugins/sudoers/pwutil.c:233 +#, c-format +msgid "unable to cache uid %u, already exists" +msgstr "không thể lưu nhớ tạm uid %u, đã có sẵn rồi" + +#: plugins/sudoers/pwutil.c:293 plugins/sudoers/pwutil.c:311 +#: plugins/sudoers/pwutil.c:373 plugins/sudoers/pwutil.c:418 +#, c-format +msgid "unable to cache user %s, out of memory" +msgstr "không thể lưu nhớ tạm tài khoản %s, hết bộ nhớ rồi" + +#: plugins/sudoers/pwutil.c:306 +#, c-format +msgid "unable to cache user %s, already exists" +msgstr "không thể lưu nhớ tạm tài khoản %s, đã có sẵn rồi" + +#: plugins/sudoers/pwutil.c:537 plugins/sudoers/pwutil.c:556 +#, c-format +msgid "unable to cache gid %u, out of memory" +msgstr "không thể lưu nhớ tạm gid %u, đã hết bộ nhớ rồi" + +#: plugins/sudoers/pwutil.c:550 +#, c-format +msgid "unable to cache gid %u, already exists" +msgstr "không thể lưu nhớ tạm gid %u, đã có sẵn rồi" + +#: plugins/sudoers/pwutil.c:604 plugins/sudoers/pwutil.c:622 +#: plugins/sudoers/pwutil.c:669 plugins/sudoers/pwutil.c:711 +#, c-format +msgid "unable to cache group %s, out of memory" +msgstr "không thể lưu nhớ tạm nhóm %s, đã hết bộ nhớ rồi" + +#: plugins/sudoers/pwutil.c:617 +#, c-format +msgid "unable to cache group %s, already exists" +msgstr "không thể lưu nhớ tạm nhóm %s, đã có sẵn rồi" + +#: plugins/sudoers/pwutil.c:837 plugins/sudoers/pwutil.c:889 +#: plugins/sudoers/pwutil.c:940 plugins/sudoers/pwutil.c:993 +#, c-format +msgid "unable to cache group list for %s, already exists" +msgstr "không thể lưu nhớ tạm danh sách nhóm cho %s, đã có sẵn rồi" + +#: plugins/sudoers/pwutil.c:843 plugins/sudoers/pwutil.c:894 +#: plugins/sudoers/pwutil.c:946 plugins/sudoers/pwutil.c:998 +#, c-format +msgid "unable to cache group list for %s, out of memory" +msgstr "không thể lưu nhớ tạm danh sách nhóm cho %s, đã hết bộ nhớ rồi" + +#: plugins/sudoers/pwutil.c:883 +#, c-format +msgid "unable to parse groups for %s" +msgstr "không thể phân tích nhóm cho %s" + +#: plugins/sudoers/pwutil.c:987 +#, c-format +msgid "unable to parse gids for %s" +msgstr "không thể phân tích mã số nhóm cho %s" + +#: plugins/sudoers/set_perms.c:118 plugins/sudoers/set_perms.c:474 +#: plugins/sudoers/set_perms.c:917 plugins/sudoers/set_perms.c:1244 +#: plugins/sudoers/set_perms.c:1561 +msgid "perm stack overflow" +msgstr "ngăn xếp perm bị tràn" + +#: plugins/sudoers/set_perms.c:126 plugins/sudoers/set_perms.c:405 +#: plugins/sudoers/set_perms.c:482 plugins/sudoers/set_perms.c:784 +#: plugins/sudoers/set_perms.c:925 plugins/sudoers/set_perms.c:1168 +#: plugins/sudoers/set_perms.c:1252 plugins/sudoers/set_perms.c:1494 +#: plugins/sudoers/set_perms.c:1569 plugins/sudoers/set_perms.c:1659 +msgid "perm stack underflow" +msgstr "ngăn xếp stack tràn ngầm" + +#: plugins/sudoers/set_perms.c:185 plugins/sudoers/set_perms.c:528 +#: plugins/sudoers/set_perms.c:1303 plugins/sudoers/set_perms.c:1601 +msgid "unable to change to root gid" +msgstr "không thể thay đổi mã số nhóm của siêu người dùng root" + +#: plugins/sudoers/set_perms.c:274 plugins/sudoers/set_perms.c:625 +#: plugins/sudoers/set_perms.c:1054 plugins/sudoers/set_perms.c:1380 +msgid "unable to change to runas gid" +msgstr "không thể thay đổi thành runas gid" + +#: plugins/sudoers/set_perms.c:279 plugins/sudoers/set_perms.c:630 +#: plugins/sudoers/set_perms.c:1059 plugins/sudoers/set_perms.c:1385 +msgid "unable to set runas group vector" +msgstr "không thể đặt véc-tơ nhóm runas" + +#: plugins/sudoers/set_perms.c:290 plugins/sudoers/set_perms.c:641 +#: plugins/sudoers/set_perms.c:1068 plugins/sudoers/set_perms.c:1394 +msgid "unable to change to runas uid" +msgstr "không thể thay đổi thành runas uid" + +#: plugins/sudoers/set_perms.c:308 plugins/sudoers/set_perms.c:659 +#: plugins/sudoers/set_perms.c:1084 plugins/sudoers/set_perms.c:1410 +msgid "unable to change to sudoers gid" +msgstr "không thể thay đổi thành mã số nhóm sudoers" + +#: plugins/sudoers/set_perms.c:392 plugins/sudoers/set_perms.c:771 +#: plugins/sudoers/set_perms.c:1155 plugins/sudoers/set_perms.c:1481 +#: plugins/sudoers/set_perms.c:1646 +msgid "too many processes" +msgstr "quá nhiều tiến trình" + +#: plugins/sudoers/solaris_audit.c:56 +msgid "unable to get current working directory" +msgstr "không thể lấy thư mục làm việc hiện tại" + +#: plugins/sudoers/solaris_audit.c:64 +#, c-format +msgid "truncated audit path user_cmnd: %s" +msgstr "đã cắt ngắn đường dẫn audit user_cmnd: %s" + +#: plugins/sudoers/solaris_audit.c:71 +#, c-format +msgid "truncated audit path argv[0]: %s" +msgstr "đã cắt ngắn đường dẫn audit argv[0]: %s" + +#: plugins/sudoers/solaris_audit.c:120 +msgid "audit_failure message too long" +msgstr "thông điệp audit_failure quá dài" + +#: plugins/sudoers/sssd.c:563 +msgid "unable to initialize SSS source. Is SSSD installed on your machine?" +msgstr "không thể khởi tạo nguồn SSS. SSSD đã được cài đặt trên máy của bạn chưa vậy?" + +#: plugins/sudoers/sssd.c:571 plugins/sudoers/sssd.c:580 +#: plugins/sudoers/sssd.c:589 plugins/sudoers/sssd.c:598 +#: plugins/sudoers/sssd.c:607 +#, c-format +msgid "unable to find symbol \"%s\" in %s" +msgstr "không thể tìm thấy ký hiệu “%s” trong %s" + +#: plugins/sudoers/sudoers.c:208 plugins/sudoers/sudoers.c:864 +msgid "problem with defaults entries" +msgstr "trục trặc với các mục mặc định" + +#: plugins/sudoers/sudoers.c:212 +msgid "no valid sudoers sources found, quitting" +msgstr "không có người dùng hợp lệ nào được tìm thấy, đang thoát ra" + +#: plugins/sudoers/sudoers.c:250 +msgid "sudoers specifies that root is not allowed to sudo" +msgstr "sudoers đã ghi rõ là siêu người dùng (root) không được phép chạy sudo" + +#: plugins/sudoers/sudoers.c:308 +msgid "you are not permitted to use the -C option" +msgstr "bạn không được phép sử dụng tùy chọn -C" + +#: plugins/sudoers/sudoers.c:355 +#, c-format +msgid "timestamp owner (%s): No such user" +msgstr "người sở hữu dấu vết thời gian (%s): Không có người dùng nào như vậy" + +#: plugins/sudoers/sudoers.c:370 +msgid "no tty" +msgstr "không có tty" + +#: plugins/sudoers/sudoers.c:371 +msgid "sorry, you must have a tty to run sudo" +msgstr "rất tiếc, bạn phải có tty mới có thể chạy sudo" + +#: plugins/sudoers/sudoers.c:433 +msgid "command in current directory" +msgstr "lệnh trong thư mục hiện hành" + +#: plugins/sudoers/sudoers.c:452 +msgid "sorry, you are not allowed set a command timeout" +msgstr "rất tiếc, bạn không được phép đặt thời gian chờ lệnh tối đa" + +#: plugins/sudoers/sudoers.c:460 +msgid "sorry, you are not allowed to preserve the environment" +msgstr "rất tiếc, bạn không được phép giữ lại môi trường" + +#: plugins/sudoers/sudoers.c:808 +msgid "command too long" +msgstr "lệnh quá dài" + +#: plugins/sudoers/sudoers.c:922 +#, c-format +msgid "%s is not a regular file" +msgstr "%s không phải tập tin thường" + +#: plugins/sudoers/sudoers.c:926 plugins/sudoers/timestamp.c:257 toke.l:965 +#, c-format +msgid "%s is owned by uid %u, should be %u" +msgstr "%s được sở hữu bởi người dùng mang mã số %u, nên là %u" + +#: plugins/sudoers/sudoers.c:930 toke.l:970 +#, c-format +msgid "%s is world writable" +msgstr "%s ai ghi cũng được" + +#: plugins/sudoers/sudoers.c:934 toke.l:973 +#, c-format +msgid "%s is owned by gid %u, should be %u" +msgstr "%s được sở hữu bởi nhóm mang mã số %u, nên là %u" + +#: plugins/sudoers/sudoers.c:967 +#, c-format +msgid "only root can use \"-c %s\"" +msgstr "chỉ có siêu người dùng (root) mới có thể sử dụng “-c %s”" + +#: plugins/sudoers/sudoers.c:986 +#, c-format +msgid "unknown login class: %s" +msgstr "không rõ lớp đăng nhập: %s" + +#: plugins/sudoers/sudoers.c:1069 plugins/sudoers/sudoers.c:1083 +#, c-format +msgid "unable to resolve host %s" +msgstr "không thể phân giải địa chỉ của máy %s" + +#: plugins/sudoers/sudoreplay.c:248 +#, c-format +msgid "invalid filter option: %s" +msgstr "tùy chọn lọc không hợp lệ: %s" + +#: plugins/sudoers/sudoreplay.c:261 +#, c-format +msgid "invalid max wait: %s" +msgstr "thời gian chờ tối đa không hợp lệ: %s" + +#: plugins/sudoers/sudoreplay.c:284 +#, c-format +msgid "invalid speed factor: %s" +msgstr "sai hệ số nhân tốc độ: %s" + +#: plugins/sudoers/sudoreplay.c:319 +#, c-format +msgid "%s/%.2s/%.2s/%.2s/timing: %s" +msgstr "%s/%.2s/%.2s/%.2s/thời-gian: %s" + +#: plugins/sudoers/sudoreplay.c:325 +#, c-format +msgid "%s/%s/timing: %s" +msgstr "%s/%s/thời-gian: %s" + +#: plugins/sudoers/sudoreplay.c:341 +#, c-format +msgid "Replaying sudo session: %s" +msgstr "Đang chạy lại phiên sudo: %s" + +#: plugins/sudoers/sudoreplay.c:539 plugins/sudoers/sudoreplay.c:586 +#: plugins/sudoers/sudoreplay.c:783 plugins/sudoers/sudoreplay.c:892 +#: plugins/sudoers/sudoreplay.c:977 plugins/sudoers/sudoreplay.c:992 +#: plugins/sudoers/sudoreplay.c:999 plugins/sudoers/sudoreplay.c:1006 +#: plugins/sudoers/sudoreplay.c:1013 plugins/sudoers/sudoreplay.c:1020 +#: plugins/sudoers/sudoreplay.c:1168 +msgid "unable to add event to queue" +msgstr "không thể thêm sự kiện vào hàng đợi" + +#: plugins/sudoers/sudoreplay.c:654 +msgid "unable to set tty to raw mode" +msgstr "không thể đặt thiết bị tty chế độ thô (raw)" + +#: plugins/sudoers/sudoreplay.c:705 +#, c-format +msgid "Warning: your terminal is too small to properly replay the log.\n" +msgstr "Cảnh báo: thiết bị cuối quá nhỏ để có thể chạy nhật ký một cách đúng đắn.\n" + +#: plugins/sudoers/sudoreplay.c:706 +#, c-format +msgid "Log geometry is %d x %d, your terminal's geometry is %d x %d." +msgstr "Định dạng của nhật ký là %d x %d, định dạng của thiết bị cuối là %d x %d." + +#: plugins/sudoers/sudoreplay.c:734 +msgid "Replay finished, press any key to restore the terminal." +msgstr "Trình diễn lại đã kết thúc, vui lòng bấm một phím bất kỳ để hoàn lại thiết bị cuối." + +#: plugins/sudoers/sudoreplay.c:766 +#, c-format +msgid "invalid timing file line: %s" +msgstr "sai dòng ghi thời gian trong tập tin: %s" + +#: plugins/sudoers/sudoreplay.c:1202 plugins/sudoers/sudoreplay.c:1227 +#, c-format +msgid "ambiguous expression \"%s\"" +msgstr "biểu thức không rõ ràng “%s”" + +#: plugins/sudoers/sudoreplay.c:1249 +msgid "unmatched ')' in expression" +msgstr "thiếu “)” trong biểu thức" + +#: plugins/sudoers/sudoreplay.c:1253 +#, c-format +msgid "unknown search term \"%s\"" +msgstr "không hiểu giới hạn tìm kiếm “%s”" + +#: plugins/sudoers/sudoreplay.c:1268 +#, c-format +msgid "%s requires an argument" +msgstr "%s yêu cầu một đối số" + +#: plugins/sudoers/sudoreplay.c:1271 plugins/sudoers/sudoreplay.c:1512 +#, c-format +msgid "invalid regular expression: %s" +msgstr "biểu thức chính quy không hợp lệ: %s" + +#: plugins/sudoers/sudoreplay.c:1275 +#, c-format +msgid "could not parse date \"%s\"" +msgstr "không thể phân tích ngày tháng “%s”" + +#: plugins/sudoers/sudoreplay.c:1284 +msgid "unmatched '(' in expression" +msgstr "thiếu “(” trong biểu thức" + +#: plugins/sudoers/sudoreplay.c:1286 +msgid "illegal trailing \"or\"" +msgstr "thừa “or” ở cuối" + +#: plugins/sudoers/sudoreplay.c:1288 +msgid "illegal trailing \"!\"" +msgstr "thừa “!” ở cuối" + +#: plugins/sudoers/sudoreplay.c:1338 +#, c-format +msgid "unknown search type %d" +msgstr "không hiểu kiểu tìm kiếm “%d”" + +#: plugins/sudoers/sudoreplay.c:1605 +#, c-format +msgid "usage: %s [-hnRS] [-d dir] [-m num] [-s num] ID\n" +msgstr "cách dùng: %s [-hnRS] [-d thư-mục] [-m số] [-s số] ID\n" + +#: plugins/sudoers/sudoreplay.c:1608 +#, c-format +msgid "usage: %s [-h] [-d dir] -l [search expression]\n" +msgstr "cách dùng: %s [-h] [-d th.mục] -l [biểu thức tìm kiếm]\n" + +#: plugins/sudoers/sudoreplay.c:1617 +#, c-format +msgid "" +"%s - replay sudo session logs\n" +"\n" +msgstr "" +"%s - chạy lại nhật ký phiên sudo\n" +"\n" + +#: plugins/sudoers/sudoreplay.c:1619 +msgid "" +"\n" +"Options:\n" +" -d, --directory=dir specify directory for session logs\n" +" -f, --filter=filter specify which I/O type(s) to display\n" +" -h, --help display help message and exit\n" +" -l, --list list available session IDs, with optional expression\n" +" -m, --max-wait=num max number of seconds to wait between events\n" +" -S, --suspend-wait wait while the command was suspended\n" +" -s, --speed=num speed up or slow down output\n" +" -V, --version display version information and exit" +msgstr "" +"\n" +"Tùy chọn:\n" +" -d, --directory=th.mục chỉ định thư mục cho nhật ký phiên\n" +" -f, --filter=bộ-lọc chỉ định kiểu V/R để hiển thị\n" +" -h, --help hiển thị thông tin trợ giúp rồi thoát\n" +" -l, --list liệt kê ID phiên sẵn có, với biểu thức tùy chọn\n" +" -m, --max-wait=sô số giây tối đa sẽ chờ giữa hai sự kiện\n" +" -S, --suspend-wait chờ trong khi lệnh bị treo\n" +" -s, --speed=số tăng hoặc giảm tốc độ kết xuất\n" +" -V, --version hiển thị thông tin về phiên bản rồi thoát" + +#: plugins/sudoers/testsudoers.c:360 +msgid "\thost unmatched" +msgstr "\tmáy chủ không khớp" + +#: plugins/sudoers/testsudoers.c:363 +msgid "" +"\n" +"Command allowed" +msgstr "" +"\n" +"Lệnh được phép" + +#: plugins/sudoers/testsudoers.c:364 +msgid "" +"\n" +"Command denied" +msgstr "" +"\n" +"Lệnh bị cấm" + +#: plugins/sudoers/testsudoers.c:364 +msgid "" +"\n" +"Command unmatched" +msgstr "" +"\n" +"Lệnh không khớp" + +#: plugins/sudoers/timestamp.c:265 +#, c-format +msgid "%s is group writable" +msgstr "%s là người cùng nhóm được ghi" + +#: plugins/sudoers/timestamp.c:341 +#, c-format +msgid "unable to truncate time stamp file to %lld bytes" +msgstr "không thể cắt ngắn tập tin dấu-vết-thời-gian thành %lld byte" + +#: plugins/sudoers/timestamp.c:827 plugins/sudoers/timestamp.c:919 +#: plugins/sudoers/visudo.c:482 plugins/sudoers/visudo.c:488 +msgid "unable to read the clock" +msgstr "không thể đọc khóa" + +#: plugins/sudoers/timestamp.c:838 +msgid "ignoring time stamp from the future" +msgstr "bỏ qua dấu vết thời gian nằm ở thì tương lai" + +#: plugins/sudoers/timestamp.c:861 +#, c-format +msgid "time stamp too far in the future: %20.20s" +msgstr "dấu vết thời gian nằm ở thì tương lai: %20.20s" + +#: plugins/sudoers/timestamp.c:983 +#, c-format +msgid "unable to lock time stamp file %s" +msgstr "không thể khóa tập tin dấu-vết-thời-gian %s" + +#: plugins/sudoers/timestamp.c:1027 plugins/sudoers/timestamp.c:1047 +#, c-format +msgid "lecture status path too long: %s/%s" +msgstr "đường dẫn đến thư mục thuyết trình quá dài: %s/%s" + +#: plugins/sudoers/visudo.c:216 +msgid "the -x option will be removed in a future release" +msgstr "tùy chọn -x sẽ bị xóa bỏ trong tương lai" + +#: plugins/sudoers/visudo.c:217 +msgid "please consider using the cvtsudoers utility instead" +msgstr "vui lòng cân nhắc sử dụng tiện ích cvtsudoers để thay thế" + +#: plugins/sudoers/visudo.c:268 plugins/sudoers/visudo.c:650 +#, c-format +msgid "press return to edit %s: " +msgstr "bấm phím để trở về chỉnh sửa %s:" + +#: plugins/sudoers/visudo.c:329 +#, c-format +msgid "specified editor (%s) doesn't exist" +msgstr "trình biên soạn đã chỉ ra (%s) không tồn tại" + +#: plugins/sudoers/visudo.c:331 +#, c-format +msgid "no editor found (editor path = %s)" +msgstr "không tìm thấy trình biên soạn (đường dẫn của nó = %s)" + +#: plugins/sudoers/visudo.c:441 plugins/sudoers/visudo.c:449 +msgid "write error" +msgstr "lỗi ghi" + +#: plugins/sudoers/visudo.c:495 +#, c-format +msgid "unable to stat temporary file (%s), %s unchanged" +msgstr "không thể lấy thống kê tập tin tạm (%s), %s không thay đổi gì." + +#: plugins/sudoers/visudo.c:502 +#, c-format +msgid "zero length temporary file (%s), %s unchanged" +msgstr "tập tin tạm (%s) có kích cỡ bằng không, %s không thay đổi gì" + +#: plugins/sudoers/visudo.c:508 +#, c-format +msgid "editor (%s) failed, %s unchanged" +msgstr "trình biên soạn (%s) gặp lỗi, %s không thay đổi gì" + +#: plugins/sudoers/visudo.c:530 +#, c-format +msgid "%s unchanged" +msgstr "%s không thay đổi" + +#: plugins/sudoers/visudo.c:589 +#, c-format +msgid "unable to re-open temporary file (%s), %s unchanged." +msgstr "không thể mở lại tập tin tạm (%s), %s không thay đổi gì." + +#: plugins/sudoers/visudo.c:601 +#, c-format +msgid "unabled to parse temporary file (%s), unknown error" +msgstr "không thể phân tích tập tin tạm (%s), lỗi chưa được biết" + +#: plugins/sudoers/visudo.c:639 +#, c-format +msgid "internal error, unable to find %s in list!" +msgstr "lỗi hệ thống, không thể tìm thấy %s trong danh sách!" + +#: plugins/sudoers/visudo.c:719 plugins/sudoers/visudo.c:728 +#, c-format +msgid "unable to set (uid, gid) of %s to (%u, %u)" +msgstr "không thể đặt (uid, gid) của %s thành (%u, %u)" + +#: plugins/sudoers/visudo.c:751 +#, c-format +msgid "%s and %s not on the same file system, using mv to rename" +msgstr "%s và %s không ở trên cùng một hệ thống tập tin, sử dụng lệnh mv để đổi tên" + +#: plugins/sudoers/visudo.c:765 +#, c-format +msgid "command failed: '%s %s %s', %s unchanged" +msgstr "thực hiện lệnh gặp lỗi: “%s %s %s”, %s không thay đổi" + +#: plugins/sudoers/visudo.c:775 +#, c-format +msgid "error renaming %s, %s unchanged" +msgstr "gặp lỗi khi đổi tên %s, %s không thay đổi" + +#: plugins/sudoers/visudo.c:796 +msgid "What now? " +msgstr "Vậy làm gì bây giờ? " + +#: plugins/sudoers/visudo.c:810 +msgid "" +"Options are:\n" +" (e)dit sudoers file again\n" +" e(x)it without saving changes to sudoers file\n" +" (Q)uit and save changes to sudoers file (DANGER!)\n" +msgstr "" +"Các tùy chọn là:\n" +" (e) sửa lại tập tin sudoers\n" +" (x) thoát ra mà không ghi lại tập tin sudoerse\n" +" (q) thoát ra và ghi lại tập tin sudoers (NGUY HIỂM!)\n" + +#: plugins/sudoers/visudo.c:856 +#, c-format +msgid "unable to run %s" +msgstr "không thể chạy %s" + +#: plugins/sudoers/visudo.c:886 +#, c-format +msgid "%s: wrong owner (uid, gid) should be (%u, %u)\n" +msgstr "%s: sai sở hữu (uid, gid) đáng lẽ là (%u, %u)\n" + +#: plugins/sudoers/visudo.c:893 +#, c-format +msgid "%s: bad permissions, should be mode 0%o\n" +msgstr "%s: phân quyền sai, phải ở chế độ 0%o\n" + +#: plugins/sudoers/visudo.c:950 plugins/sudoers/visudo.c:957 +#, c-format +msgid "%s: parsed OK\n" +msgstr "%s: vượt qua kiểm duyệt\n" + +#: plugins/sudoers/visudo.c:976 +#, c-format +msgid "%s busy, try again later" +msgstr "%s đang bận, hãy thử lại sau" + +#: plugins/sudoers/visudo.c:979 +#, c-format +msgid "unable to lock %s" +msgstr "không thể khóa %s" + +#: plugins/sudoers/visudo.c:980 +msgid "Edit anyway? [y/N]" +msgstr "Vẫn sửa? (có/KHÔNG) [y/N]" + +#: plugins/sudoers/visudo.c:1064 +#, c-format +msgid "Error: %s:%d cycle in %s \"%s\"" +msgstr "Lỗi: %s:%d bị quẩn tròn trong %s “%s”" + +#: plugins/sudoers/visudo.c:1065 +#, c-format +msgid "Warning: %s:%d cycle in %s \"%s\"" +msgstr "Cảnh báo: %s:%d bị quẩn tròn trong %s “%s”" + +#: plugins/sudoers/visudo.c:1069 +#, c-format +msgid "Error: %s:%d %s \"%s\" referenced but not defined" +msgstr "Lỗi: %s:%d %s “%s” được tham chiếu nhưng chưa được định nghĩa" + +#: plugins/sudoers/visudo.c:1070 +#, c-format +msgid "Warning: %s:%d %s \"%s\" referenced but not defined" +msgstr "Cảnh báo: %s:%d %s “%s” được tham chiếu nhưng chưa được định nghĩa" + +#: plugins/sudoers/visudo.c:1161 +#, c-format +msgid "Warning: %s:%d unused %s \"%s\"" +msgstr "Cảnh báo: %s:%d không dùng %s “%s”" + +#: plugins/sudoers/visudo.c:1276 +#, c-format +msgid "" +"%s - safely edit the sudoers file\n" +"\n" +msgstr "" +"%s - sửa tập tin sudoers một cách an toàn\n" +"\n" + +#: plugins/sudoers/visudo.c:1278 +msgid "" +"\n" +"Options:\n" +" -c, --check check-only mode\n" +" -f, --file=sudoers specify sudoers file location\n" +" -h, --help display help message and exit\n" +" -q, --quiet less verbose (quiet) syntax error messages\n" +" -s, --strict strict syntax checking\n" +" -V, --version display version information and exit\n" +msgstr "" +"\n" +"Các tùy chọn:\n" +" -c, --check chế độ chỉ kiểm tra\n" +" -f, --file=tập-tin chỉ định vị trí tập tin sudoers\n" +" -h, --help hiển thị thông tin trợ giúp rồi thoát\n" +" -q, --quiet tối thiểu hóa các thông tin (quiet: im lặng)\n" +" -s, --strict kiểm tra cú pháp ngặt nghèo\n" +" -V, --version hiển thị thông tin về phiên bản rồi thoát\n" + +#: toke.l:939 +msgid "too many levels of includes" +msgstr "quá nhiều cấp bao gồm (include)" + +#~ msgid "" +#~ "\n" +#~ "LDAP Role: UNKNOWN\n" +#~ msgstr "" +#~ "\n" +#~ "Vai trò LDAP: KHÔNG HIỂU\n" + +#~ msgid " Order: %s\n" +#~ msgstr " Thứ tự: %s\n" + +#~ msgid "" +#~ "\n" +#~ "SSSD Role: %s\n" +#~ msgstr "" +#~ "\n" +#~ "Vai trò SSSD: %s\n" + +#~ msgid "" +#~ "\n" +#~ "SSSD Role: UNKNOWN\n" +#~ msgstr "" +#~ "\n" +#~ "Vai trò SSSD: KHÔNG HIỂU\n" + +#~ msgid "Warning: cycle in %s `%s'" +#~ msgstr "Cảnh báo: quẩn tròn trong %s “%s”" + +#~ msgid "Warning: %s `%s' referenced but not defined" +#~ msgstr "Cảnh báo: %s “%s” được tham chiếu nhưng chưa được định nghĩa" + +#~ msgid "Warning: unused %s `%s'" +#~ msgstr "Cảnh báo: chưa được dùng %s “%s”" + +#~ msgid "unable allocate memory" +#~ msgstr "không thể cấp phát bộ nhớ" + +#~ msgid "timestamp path too long: %s/%s" +#~ msgstr "đường dẫn dấu vết thời gian quá dài: %s/%s" + +#~ msgid "unable to stat editor (%s)" +#~ msgstr "không thể lấy thống kê trình biên soạn (%s)" + +#~ msgid "sudo_ldap_conf_add_ports: out of space expanding hostbuf" +#~ msgstr "sudo_ldap_conf_add_ports: hết bộ nhớ để mở rộng hostbuf" + +#~ msgid "sudo_ldap_parse_uri: out of space building hostbuf" +#~ msgstr "sudo_ldap_parse_uri: hết bộ nhớ để biên dịch “hostbuf”" + +#~ msgid "sudo_ldap_build_pass1 allocation mismatch" +#~ msgstr "sudo_ldap_build_pass1 phân bổ không khớp" + +#~ msgid "Password:" +#~ msgstr "Mật khẩu:" + +#~ msgid "internal error: insufficient space for log line" +#~ msgstr "lỗi nội bộ: thiếu khoảng trống cho dòng ghi nhật ký" + +#~ msgid "fill_args: buffer overflow" +#~ msgstr "fill_args: bộ đệm bị tràn" + +#~ msgid "%s owned by uid %u, should be uid %u" +#~ msgstr "%s được sở hữu bởi uid %u, nên là %u" + +#~ msgid "%s writable by non-owner (0%o), should be mode 0700" +#~ msgstr "%s có thể được ghi bởi người không sở hữu nó (0%o), cần đặt chế độ 0700" + +#~ msgid "%s exists but is not a regular file (0%o)" +#~ msgstr "%s đã sẵn có nhưng không phải là một tập tin bình thường (0%o)" + +#~ msgid "%s writable by non-owner (0%o), should be mode 0600" +#~ msgstr "%s có thể được ghi bởi người không sở hữu nó (0%o), cần đặt chế độ 0600" + +#~ msgid "unable to remove %s, will reset to the Unix epoch" +#~ msgstr "không thể gỡ bỏ %s, sẽ đặt lại thành thời điểm bắt đầu kiểu Unix" + +#~ msgid "unable to reset %s to the Unix epoch" +#~ msgstr "không thể đặt lại %s thành thời điểm bắt đầu kiểu Unix" + +#~ msgid "value out of range" +#~ msgstr "giá trị nằm ngoài phạm vi" + +#~ msgid "invalid uri: %s" +#~ msgstr "URI không hợp lệ: %s" + +#~ msgid "unable to mix ldaps and starttls" +#~ msgstr "không thể trộn ldaps và starttls" + +#~ msgid "writing to standard output" +#~ msgstr "ghi vào đầu ra tiêu chuẩn" + +#~ msgid "too many parenthesized expressions, max %d" +#~ msgstr "có quá nhiều biểu thức trong dấu ngoặc đơn, tối đa là %d" + +#~ msgid "unable to setup authentication" +#~ msgstr "không thể cài đặt xác thực" + +#~ msgid "getaudit: failed" +#~ msgstr "getaudit: gặp lỗi" + +#~ msgid "getauid: failed" +#~ msgstr "getauid: gặp lỗi" + +#~ msgid "au_to_subject: failed" +#~ msgstr "au_to_subject: gặp lỗi" + +#~ msgid "au_to_exec_args: failed" +#~ msgstr "au_to_exec_args: gặp lỗi" + +#~ msgid "au_to_return32: failed" +#~ msgstr "au_to_return32: gặp lỗi" + +#~ msgid "au_to_text: failed" +#~ msgstr "au_to_text: gặp lỗi" + +#~ msgid "nanosleep: tv_sec %ld, tv_nsec %ld" +#~ msgstr "nanosleep: tv_sec %ld, tv_nsec %ld" + +#~ msgid "pam_chauthtok: %s" +#~ msgstr "pam_chauthtok: %s" + +#~ msgid "pam_authenticate: %s" +#~ msgstr "pam_authenticate: %s" + +#~ msgid "getauid failed" +#~ msgstr "getauid gặp lỗi" + +#~ msgid "Unable to dlopen %s: %s" +#~ msgstr "Không thể dlopen %s: %s" + +#~ msgid "invalid regex: %s" +#~ msgstr "biểu thức chính quy không hợp lệ: %s" + +#~ msgid ">>> %s: %s near line %d <<<" +#~ msgstr ">>> %s: %s gần dòng %d <<<" + +#~ msgid "unable to set locale to \"%s\", using \"C\"" +#~ msgstr "không thể đặt địa phương thành “%s”, sẽ dùng “C”" + +#~ msgid "" +#~ " Commands:\n" +#~ "\t" +#~ msgstr "" +#~ " Lệnh:\n" +#~ "\t" + +#~ msgid ": " +#~ msgstr ": " + +#~ msgid "unable to cache uid %u (%s), already exists" +#~ msgstr "không thể lưu nhớ tạm uid %u (%s), đã có sẵn rồi" + +#~ msgid "unable to cache gid %u (%s), already exists" +#~ msgstr "không thể lưu nhớ tạm gid %u (%s), đã có sẵn rồi" + +#~ msgid "unable to execute %s: %s" +#~ msgstr "không thể thực thi %s: %s" diff --git a/plugins/sudoers/po/zh_CN.mo b/plugins/sudoers/po/zh_CN.mo new file mode 100644 index 0000000..59fc977 Binary files /dev/null and b/plugins/sudoers/po/zh_CN.mo differ diff --git a/plugins/sudoers/po/zh_CN.po b/plugins/sudoers/po/zh_CN.po new file mode 100644 index 0000000..64c0011 --- /dev/null +++ b/plugins/sudoers/po/zh_CN.po @@ -0,0 +1,4134 @@ +# Chinese simplified translation for sudoers. +# This file is put in the public domain. +# Wylmer Wang , 2011-2018 +# Boyuan Yang <073plan@gmail.com>, 2019, 2020, 2021, 2022. +# +msgid "" +msgstr "" +"Project-Id-Version: sudoers 1.9.12b2\n" +"Report-Msgid-Bugs-To: https://bugzilla.sudo.ws\n" +"POT-Creation-Date: 2022-10-10 09:13-0600\n" +"PO-Revision-Date: 2022-11-29 14:54-0500\n" +"Last-Translator: Boyuan Yang <073plan@gmail.com>\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: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.2\n" + +#: confstr.sh:1 gram.y:1220 plugins/sudoers/logging.c:862 +msgid "syntax error" +msgstr "语法错误" + +#: confstr.sh:2 +msgid "%p's password: " +msgstr "%p 的密码:" + +#: confstr.sh:3 +msgid "[sudo] password for %p: " +msgstr "[sudo] %p 的密码:" + +#: confstr.sh:4 +msgid "Password: " +msgstr "密码:" + +#: confstr.sh:5 +msgid "*** SECURITY information for %h ***" +msgstr "*** %h 安全信息 ***" + +#: confstr.sh:6 +msgid "Sorry, try again." +msgstr "对不起,请重试。" + +#: gram.y:237 gram.y:304 gram.y:313 gram.y:322 gram.y:332 gram.y:342 +#: gram.y:366 gram.y:393 gram.y:402 gram.y:410 gram.y:419 gram.y:428 +#: gram.y:502 gram.y:512 gram.y:524 gram.y:572 gram.y:581 gram.y:590 +#: gram.y:599 gram.y:731 gram.y:739 gram.y:750 gram.y:762 gram.y:781 +#: gram.y:944 gram.y:949 gram.y:957 gram.y:971 gram.y:977 gram.y:1099 +#: gram.y:1108 gram.y:1116 gram.y:1125 gram.y:1134 gram.y:1163 gram.y:1172 +#: gram.y:1180 gram.y:1280 gram.y:1410 gram.y:1777 gram.y:1827 +#: lib/eventlog/eventlog.c:309 lib/eventlog/eventlog.c:382 +#: lib/eventlog/eventlog.c:827 lib/eventlog/eventlog.c:904 +#: lib/eventlog/eventlog.c:1204 lib/iolog/iolog_filter.c:142 +#: lib/iolog/iolog_filter.c:202 lib/iolog/iolog_filter.c:233 +#: lib/iolog/iolog_json.c:150 lib/iolog/iolog_json.c:382 +#: lib/iolog/iolog_json.c:412 lib/iolog/iolog_json.c:555 +#: lib/iolog/iolog_legacy.c:100 lib/iolog/iolog_legacy.c:111 +#: lib/iolog/iolog_legacy.c:123 lib/iolog/iolog_legacy.c:133 +#: lib/iolog/iolog_legacy.c:139 lib/iolog/iolog_loginfo.c:76 +#: lib/iolog/iolog_loginfo.c:212 logsrvd/iolog_writer.c:95 +#: logsrvd/iolog_writer.c:100 logsrvd/iolog_writer.c:134 +#: logsrvd/iolog_writer.c:182 logsrvd/iolog_writer.c:215 +#: logsrvd/iolog_writer.c:225 logsrvd/iolog_writer.c:254 +#: logsrvd/iolog_writer.c:275 logsrvd/iolog_writer.c:287 +#: logsrvd/iolog_writer.c:297 logsrvd/iolog_writer.c:307 +#: logsrvd/iolog_writer.c:317 logsrvd/iolog_writer.c:329 +#: logsrvd/iolog_writer.c:364 logsrvd/iolog_writer.c:370 +#: logsrvd/iolog_writer.c:377 logsrvd/iolog_writer.c:383 +#: logsrvd/iolog_writer.c:567 logsrvd/logsrv_util.c:69 logsrvd/logsrvd.c:301 +#: logsrvd/logsrvd.c:310 logsrvd/logsrvd.c:1050 logsrvd/logsrvd.c:1113 +#: logsrvd/logsrvd.c:1582 logsrvd/logsrvd.c:1587 logsrvd/logsrvd.c:1771 +#: logsrvd/logsrvd.c:1988 logsrvd/logsrvd_conf.c:357 +#: logsrvd/logsrvd_conf.c:370 logsrvd/logsrvd_conf.c:511 +#: logsrvd/logsrvd_conf.c:534 logsrvd/logsrvd_conf.c:538 +#: logsrvd/logsrvd_conf.c:556 logsrvd/logsrvd_conf.c:626 +#: logsrvd/logsrvd_conf.c:650 logsrvd/logsrvd_conf.c:678 +#: logsrvd/logsrvd_conf.c:692 logsrvd/logsrvd_conf.c:706 +#: logsrvd/logsrvd_conf.c:720 logsrvd/logsrvd_conf.c:734 +#: logsrvd/logsrvd_conf.c:748 logsrvd/logsrvd_conf.c:829 +#: logsrvd/logsrvd_conf.c:1036 logsrvd/logsrvd_conf.c:1053 +#: logsrvd/logsrvd_conf.c:1448 logsrvd/logsrvd_conf.c:1595 +#: logsrvd/logsrvd_conf.c:1621 logsrvd/logsrvd_conf.c:1633 +#: logsrvd/logsrvd_conf.c:1640 logsrvd/logsrvd_conf.c:1646 +#: logsrvd/logsrvd_conf.c:1743 logsrvd/logsrvd_journal.c:75 +#: logsrvd/logsrvd_journal.c:213 logsrvd/logsrvd_journal.c:214 +#: logsrvd/logsrvd_journal.c:270 logsrvd/logsrvd_journal.c:430 +#: logsrvd/logsrvd_journal.c:432 logsrvd/logsrvd_local.c:215 +#: logsrvd/logsrvd_local.c:216 logsrvd/logsrvd_local.c:278 +#: logsrvd/logsrvd_local.c:279 logsrvd/logsrvd_local.c:417 +#: logsrvd/logsrvd_local.c:466 logsrvd/logsrvd_local.c:467 +#: logsrvd/logsrvd_local.c:472 logsrvd/logsrvd_local.c:473 +#: logsrvd/logsrvd_queue.c:159 logsrvd/logsrvd_queue.c:189 +#: logsrvd/logsrvd_queue.c:266 logsrvd/logsrvd_relay.c:444 +#: logsrvd/logsrvd_relay.c:743 logsrvd/logsrvd_relay.c:850 +#: logsrvd/sendlog.c:251 logsrvd/sendlog.c:260 logsrvd/sendlog.c:291 +#: logsrvd/sendlog.c:338 logsrvd/sendlog.c:615 logsrvd/sendlog.c:1801 +#: plugins/sudoers/audit.c:116 plugins/sudoers/auth/bsdauth.c:150 +#: plugins/sudoers/auth/kerb5.c:121 plugins/sudoers/auth/kerb5.c:148 +#: plugins/sudoers/auth/pam.c:687 plugins/sudoers/auth/rfc1938.c:111 +#: plugins/sudoers/auth/sia.c:59 plugins/sudoers/check_aliases.c:168 +#: plugins/sudoers/cvtsudoers.c:131 plugins/sudoers/cvtsudoers.c:175 +#: plugins/sudoers/cvtsudoers.c:192 plugins/sudoers/cvtsudoers.c:203 +#: plugins/sudoers/cvtsudoers.c:333 plugins/sudoers/cvtsudoers.c:372 +#: plugins/sudoers/cvtsudoers.c:392 plugins/sudoers/cvtsudoers.c:537 +#: plugins/sudoers/cvtsudoers.c:670 plugins/sudoers/cvtsudoers.c:688 +#: plugins/sudoers/cvtsudoers.c:862 plugins/sudoers/cvtsudoers.c:870 +#: plugins/sudoers/cvtsudoers.c:1365 plugins/sudoers/cvtsudoers.c:1369 +#: plugins/sudoers/cvtsudoers.c:1471 plugins/sudoers/cvtsudoers_csv.c:183 +#: plugins/sudoers/cvtsudoers_csv.c:246 plugins/sudoers/cvtsudoers_json.c:76 +#: plugins/sudoers/cvtsudoers_ldif.c:151 plugins/sudoers/cvtsudoers_ldif.c:194 +#: plugins/sudoers/cvtsudoers_ldif.c:235 plugins/sudoers/cvtsudoers_ldif.c:300 +#: plugins/sudoers/cvtsudoers_ldif.c:376 plugins/sudoers/cvtsudoers_ldif.c:430 +#: plugins/sudoers/cvtsudoers_ldif.c:438 plugins/sudoers/cvtsudoers_ldif.c:449 +#: plugins/sudoers/cvtsudoers_ldif.c:456 plugins/sudoers/cvtsudoers_ldif.c:468 +#: plugins/sudoers/cvtsudoers_ldif.c:481 plugins/sudoers/cvtsudoers_ldif.c:489 +#: plugins/sudoers/cvtsudoers_ldif.c:636 plugins/sudoers/cvtsudoers_merge.c:47 +#: plugins/sudoers/cvtsudoers_merge.c:52 +#: plugins/sudoers/cvtsudoers_merge.c:353 +#: plugins/sudoers/cvtsudoers_merge.c:399 +#: plugins/sudoers/cvtsudoers_merge.c:446 +#: plugins/sudoers/cvtsudoers_merge.c:467 +#: plugins/sudoers/cvtsudoers_merge.c:553 +#: plugins/sudoers/cvtsudoers_merge.c:564 +#: plugins/sudoers/cvtsudoers_merge.c:633 +#: plugins/sudoers/cvtsudoers_merge.c:1158 +#: plugins/sudoers/cvtsudoers_merge.c:1231 plugins/sudoers/defaults.c:434 +#: plugins/sudoers/defaults.c:658 plugins/sudoers/defaults.c:1019 +#: plugins/sudoers/defaults.c:1187 plugins/sudoers/editor.c:188 +#: plugins/sudoers/env.c:263 plugins/sudoers/exptilde.c:92 +#: plugins/sudoers/filedigest.c:54 plugins/sudoers/filedigest.c:70 +#: plugins/sudoers/gc.c:57 plugins/sudoers/group_plugin.c:228 +#: plugins/sudoers/interfaces.c:68 plugins/sudoers/iolog.c:268 +#: plugins/sudoers/iolog.c:668 plugins/sudoers/iolog.c:694 +#: plugins/sudoers/ldap.c:184 plugins/sudoers/ldap.c:464 +#: plugins/sudoers/ldap.c:755 plugins/sudoers/ldap.c:919 +#: plugins/sudoers/ldap.c:1335 plugins/sudoers/ldap.c:1761 +#: plugins/sudoers/ldap.c:1798 plugins/sudoers/ldap.c:1879 +#: plugins/sudoers/ldap.c:2014 plugins/sudoers/ldap.c:2115 +#: plugins/sudoers/ldap.c:2131 plugins/sudoers/ldap_conf.c:218 +#: plugins/sudoers/ldap_conf.c:250 plugins/sudoers/ldap_conf.c:302 +#: plugins/sudoers/ldap_conf.c:338 plugins/sudoers/ldap_conf.c:444 +#: plugins/sudoers/ldap_conf.c:459 plugins/sudoers/ldap_conf.c:564 +#: plugins/sudoers/ldap_conf.c:597 plugins/sudoers/ldap_conf.c:689 +#: plugins/sudoers/ldap_conf.c:771 plugins/sudoers/ldap_util.c:294 +#: plugins/sudoers/ldap_util.c:301 plugins/sudoers/ldap_util.c:614 +#: plugins/sudoers/linux_audit.c:86 plugins/sudoers/log_client.c:117 +#: plugins/sudoers/log_client.c:402 plugins/sudoers/log_client.c:715 +#: plugins/sudoers/log_client.c:736 plugins/sudoers/log_client.c:1416 +#: plugins/sudoers/log_client.c:1537 plugins/sudoers/log_client.c:1637 +#: plugins/sudoers/log_client.c:1973 plugins/sudoers/log_client.c:2032 +#: plugins/sudoers/logging.c:110 plugins/sudoers/logging.c:189 +#: plugins/sudoers/logging.c:453 plugins/sudoers/logging.c:668 +#: plugins/sudoers/logging.c:805 plugins/sudoers/match_command.c:335 +#: plugins/sudoers/match_command.c:603 plugins/sudoers/match_command.c:654 +#: plugins/sudoers/match_command.c:728 plugins/sudoers/match_command.c:776 +#: plugins/sudoers/match_digest.c:93 plugins/sudoers/parse.c:227 +#: plugins/sudoers/parse.c:244 plugins/sudoers/parse.c:263 +#: plugins/sudoers/parse.c:282 plugins/sudoers/parse.c:299 +#: plugins/sudoers/parse.c:322 plugins/sudoers/parse.c:333 +#: plugins/sudoers/parse_ldif.c:153 plugins/sudoers/parse_ldif.c:184 +#: plugins/sudoers/parse_ldif.c:253 plugins/sudoers/parse_ldif.c:261 +#: plugins/sudoers/parse_ldif.c:266 plugins/sudoers/parse_ldif.c:342 +#: plugins/sudoers/parse_ldif.c:353 plugins/sudoers/parse_ldif.c:380 +#: plugins/sudoers/parse_ldif.c:397 plugins/sudoers/parse_ldif.c:409 +#: plugins/sudoers/parse_ldif.c:413 plugins/sudoers/parse_ldif.c:427 +#: plugins/sudoers/parse_ldif.c:484 plugins/sudoers/parse_ldif.c:598 +#: plugins/sudoers/parse_ldif.c:628 plugins/sudoers/parse_ldif.c:653 +#: plugins/sudoers/parse_ldif.c:711 plugins/sudoers/parse_ldif.c:728 +#: plugins/sudoers/parse_ldif.c:756 plugins/sudoers/parse_ldif.c:763 +#: plugins/sudoers/policy.c:624 plugins/sudoers/policy.c:1026 +#: plugins/sudoers/prompt.c:93 plugins/sudoers/pwutil.c:199 +#: plugins/sudoers/pwutil.c:270 plugins/sudoers/pwutil.c:348 +#: plugins/sudoers/pwutil.c:522 plugins/sudoers/pwutil.c:587 +#: plugins/sudoers/pwutil.c:659 plugins/sudoers/pwutil.c:857 +#: plugins/sudoers/pwutil.c:913 plugins/sudoers/pwutil.c:957 +#: plugins/sudoers/pwutil.c:1014 plugins/sudoers/sssd.c:145 +#: plugins/sudoers/sssd.c:185 plugins/sudoers/sssd.c:414 +#: plugins/sudoers/sssd.c:479 plugins/sudoers/sssd.c:505 +#: plugins/sudoers/sssd.c:568 plugins/sudoers/sssd.c:761 +#: plugins/sudoers/strvec_join.c:53 plugins/sudoers/stubs.c:112 +#: plugins/sudoers/stubs.c:120 plugins/sudoers/sudoers.c:354 +#: plugins/sudoers/sudoers.c:380 plugins/sudoers/sudoers.c:448 +#: plugins/sudoers/sudoers.c:457 plugins/sudoers/sudoers.c:498 +#: plugins/sudoers/sudoers.c:827 plugins/sudoers/sudoers.c:877 +#: plugins/sudoers/sudoers.c:1015 plugins/sudoers/sudoers.c:1075 +#: plugins/sudoers/sudoers.c:1330 plugins/sudoers/sudoreplay.c:562 +#: plugins/sudoers/sudoreplay.c:565 plugins/sudoers/sudoreplay.c:1281 +#: plugins/sudoers/sudoreplay.c:1503 plugins/sudoers/sudoreplay.c:1507 +#: plugins/sudoers/testsudoers.c:120 plugins/sudoers/testsudoers.c:224 +#: plugins/sudoers/testsudoers.c:241 plugins/sudoers/testsudoers.c:588 +#: plugins/sudoers/timestamp.c:451 plugins/sudoers/timestamp.c:495 +#: plugins/sudoers/timestamp.c:1017 plugins/sudoers/timestamp.c:1146 +#: plugins/sudoers/toke_util.c:78 plugins/sudoers/toke_util.c:106 +#: plugins/sudoers/toke_util.c:131 plugins/sudoers/toke_util.c:161 +#: plugins/sudoers/toke_util.c:200 plugins/sudoers/tsdump.c:123 +#: plugins/sudoers/visudo.c:150 plugins/sudoers/visudo.c:385 +#: plugins/sudoers/visudo.c:391 plugins/sudoers/visudo.c:498 +#: plugins/sudoers/visudo.c:1054 toke.l:1023 toke.l:1155 toke.l:1226 +msgid "unable to allocate memory" +msgstr "无法分配内存" + +#: gram.y:623 +msgid "a digest requires a path name" +msgstr "摘要需要路径参数" + +#: gram.y:645 +msgid "values for \"CWD\" must start with a '/', '~', or '*'" +msgstr "“CWD”的值必须以“/”、“~”或“*”开头" + +#: gram.y:651 +msgid "\"CWD\" path too long" +msgstr "“CWD”路径过长" + +#: gram.y:661 +msgid "values for \"CHROOT\" must start with a '/', '~', or '*'" +msgstr "“CHROOT”的值必须以“/”、“~”或“*”开头" + +#: gram.y:667 +msgid "\"CHROOT\" path too long" +msgstr "“CHROOT”路径过长" + +#: gram.y:802 +#, c-format +msgid "syntax error, reserved word %s used as an alias name" +msgstr "语法错误,保留字 %s 被用作别名" + +#: gram.y:825 +msgid "invalid notbefore value" +msgstr "无效的 notbefore 值" + +#: gram.y:834 +msgid "invalid notafter value" +msgstr "无效的 notafter 值" + +#: gram.y:844 plugins/sudoers/policy.c:383 +msgid "timeout value too large" +msgstr "超时值过大" + +#: gram.y:846 plugins/sudoers/policy.c:385 +msgid "invalid timeout value" +msgstr "无效的超时值" + +#: gram.y:967 plugins/sudoers/sudoers.c:1033 +msgid "command too long" +msgstr "命令过长" + +#: gram.y:1224 plugins/sudoers/check_aliases.c:96 +#: plugins/sudoers/defaults.c:1276 +#, c-format +msgid "%s:%d:%d: %s\n" +msgstr "%s:%d:%d: %s\n" + +#: gram.y:1278 +#, c-format +msgid "Alias \"%s\" already defined" +msgstr "别名“%s”已定义过" + +#: gram.y:1777 gram.y:1827 lib/eventlog/eventlog.c:309 +#: lib/eventlog/eventlog.c:827 lib/eventlog/eventlog.c:900 +#: lib/eventlog/eventlog.c:903 lib/eventlog/eventlog.c:1204 +#: lib/iolog/iolog_filter.c:142 lib/iolog/iolog_filter.c:202 +#: lib/iolog/iolog_filter.c:232 lib/iolog/iolog_json.c:150 +#: lib/iolog/iolog_json.c:381 lib/iolog/iolog_json.c:412 +#: lib/iolog/iolog_json.c:555 lib/iolog/iolog_legacy.c:100 +#: lib/iolog/iolog_legacy.c:111 lib/iolog/iolog_legacy.c:123 +#: lib/iolog/iolog_legacy.c:133 lib/iolog/iolog_legacy.c:139 +#: lib/iolog/iolog_loginfo.c:76 lib/iolog/iolog_loginfo.c:212 +#: logsrvd/iolog_writer.c:95 logsrvd/iolog_writer.c:100 +#: logsrvd/iolog_writer.c:134 logsrvd/iolog_writer.c:171 +#: logsrvd/iolog_writer.c:181 logsrvd/iolog_writer.c:194 +#: logsrvd/iolog_writer.c:214 logsrvd/iolog_writer.c:224 +#: logsrvd/iolog_writer.c:243 logsrvd/iolog_writer.c:253 +#: logsrvd/iolog_writer.c:264 logsrvd/iolog_writer.c:274 +#: logsrvd/iolog_writer.c:286 logsrvd/iolog_writer.c:296 +#: logsrvd/iolog_writer.c:306 logsrvd/iolog_writer.c:316 +#: logsrvd/iolog_writer.c:328 logsrvd/iolog_writer.c:364 +#: logsrvd/iolog_writer.c:370 logsrvd/iolog_writer.c:377 +#: logsrvd/iolog_writer.c:383 logsrvd/iolog_writer.c:567 +#: logsrvd/logsrv_util.c:69 logsrvd/logsrvd.c:301 logsrvd/logsrvd.c:310 +#: logsrvd/logsrvd.c:453 logsrvd/logsrvd.c:490 logsrvd/logsrvd.c:522 +#: logsrvd/logsrvd.c:576 logsrvd/logsrvd.c:611 logsrvd/logsrvd.c:660 +#: logsrvd/logsrvd.c:696 logsrvd/logsrvd.c:732 logsrvd/logsrvd.c:1124 +#: logsrvd/logsrvd.c:1439 logsrvd/logsrvd.c:1446 logsrvd/logsrvd.c:1582 +#: logsrvd/logsrvd.c:1587 logsrvd/logsrvd.c:1771 logsrvd/logsrvd.c:1988 +#: logsrvd/logsrvd_conf.c:357 logsrvd/logsrvd_conf.c:370 +#: logsrvd/logsrvd_conf.c:511 logsrvd/logsrvd_conf.c:534 +#: logsrvd/logsrvd_conf.c:538 logsrvd/logsrvd_conf.c:556 +#: logsrvd/logsrvd_conf.c:626 logsrvd/logsrvd_conf.c:649 +#: logsrvd/logsrvd_conf.c:678 logsrvd/logsrvd_conf.c:692 +#: logsrvd/logsrvd_conf.c:706 logsrvd/logsrvd_conf.c:720 +#: logsrvd/logsrvd_conf.c:734 logsrvd/logsrvd_conf.c:748 +#: logsrvd/logsrvd_conf.c:829 logsrvd/logsrvd_conf.c:1036 +#: logsrvd/logsrvd_conf.c:1053 logsrvd/logsrvd_conf.c:1448 +#: logsrvd/logsrvd_conf.c:1595 logsrvd/logsrvd_conf.c:1621 +#: logsrvd/logsrvd_conf.c:1633 logsrvd/logsrvd_conf.c:1640 +#: logsrvd/logsrvd_conf.c:1646 logsrvd/logsrvd_conf.c:1742 +#: logsrvd/logsrvd_journal.c:75 logsrvd/logsrvd_journal.c:122 +#: logsrvd/logsrvd_journal.c:213 logsrvd/logsrvd_journal.c:243 +#: logsrvd/logsrvd_journal.c:247 logsrvd/logsrvd_journal.c:255 +#: logsrvd/logsrvd_journal.c:278 logsrvd/logsrvd_journal.c:282 +#: logsrvd/logsrvd_journal.c:430 logsrvd/logsrvd_local.c:215 +#: logsrvd/logsrvd_local.c:278 logsrvd/logsrvd_local.c:466 +#: logsrvd/logsrvd_local.c:472 logsrvd/logsrvd_local.c:491 +#: logsrvd/logsrvd_queue.c:158 logsrvd/logsrvd_queue.c:189 +#: logsrvd/logsrvd_queue.c:266 logsrvd/sendlog.c:251 logsrvd/sendlog.c:260 +#: logsrvd/sendlog.c:291 logsrvd/sendlog.c:338 logsrvd/sendlog.c:615 +#: logsrvd/sendlog.c:1503 logsrvd/sendlog.c:1510 logsrvd/sendlog.c:1733 +#: logsrvd/sendlog.c:1801 logsrvd/tls_init.c:305 logsrvd/tls_init.c:329 +#: logsrvd/tls_init.c:340 plugins/sudoers/audit.c:116 +#: plugins/sudoers/auth/pam.c:502 plugins/sudoers/auth/pam.c:687 +#: plugins/sudoers/auth/rfc1938.c:111 plugins/sudoers/check_aliases.c:168 +#: plugins/sudoers/cvtsudoers.c:131 plugins/sudoers/cvtsudoers.c:174 +#: plugins/sudoers/cvtsudoers.c:191 plugins/sudoers/cvtsudoers.c:202 +#: plugins/sudoers/cvtsudoers.c:332 plugins/sudoers/cvtsudoers.c:536 +#: plugins/sudoers/cvtsudoers.c:669 plugins/sudoers/cvtsudoers.c:687 +#: plugins/sudoers/cvtsudoers.c:862 plugins/sudoers/cvtsudoers.c:869 +#: plugins/sudoers/cvtsudoers.c:1365 plugins/sudoers/cvtsudoers.c:1369 +#: plugins/sudoers/cvtsudoers.c:1471 plugins/sudoers/cvtsudoers_csv.c:182 +#: plugins/sudoers/cvtsudoers_csv.c:245 plugins/sudoers/cvtsudoers_json.c:75 +#: plugins/sudoers/cvtsudoers_ldif.c:150 plugins/sudoers/cvtsudoers_ldif.c:193 +#: plugins/sudoers/cvtsudoers_ldif.c:234 plugins/sudoers/cvtsudoers_ldif.c:299 +#: plugins/sudoers/cvtsudoers_ldif.c:375 plugins/sudoers/cvtsudoers_ldif.c:429 +#: plugins/sudoers/cvtsudoers_ldif.c:437 plugins/sudoers/cvtsudoers_ldif.c:448 +#: plugins/sudoers/cvtsudoers_ldif.c:455 plugins/sudoers/cvtsudoers_ldif.c:467 +#: plugins/sudoers/cvtsudoers_ldif.c:480 plugins/sudoers/cvtsudoers_ldif.c:488 +#: plugins/sudoers/cvtsudoers_ldif.c:635 plugins/sudoers/cvtsudoers_merge.c:47 +#: plugins/sudoers/cvtsudoers_merge.c:51 +#: plugins/sudoers/cvtsudoers_merge.c:353 +#: plugins/sudoers/cvtsudoers_merge.c:399 +#: plugins/sudoers/cvtsudoers_merge.c:445 +#: plugins/sudoers/cvtsudoers_merge.c:466 +#: plugins/sudoers/cvtsudoers_merge.c:553 +#: plugins/sudoers/cvtsudoers_merge.c:561 +#: plugins/sudoers/cvtsudoers_merge.c:564 +#: plugins/sudoers/cvtsudoers_merge.c:630 +#: plugins/sudoers/cvtsudoers_merge.c:633 +#: plugins/sudoers/cvtsudoers_merge.c:1157 +#: plugins/sudoers/cvtsudoers_merge.c:1231 plugins/sudoers/defaults.c:434 +#: plugins/sudoers/defaults.c:658 plugins/sudoers/defaults.c:1019 +#: plugins/sudoers/defaults.c:1187 plugins/sudoers/editor.c:188 +#: plugins/sudoers/env.c:263 plugins/sudoers/exptilde.c:92 +#: plugins/sudoers/filedigest.c:54 plugins/sudoers/filedigest.c:70 +#: plugins/sudoers/gc.c:57 plugins/sudoers/group_plugin.c:227 +#: plugins/sudoers/interfaces.c:68 plugins/sudoers/iolog.c:268 +#: plugins/sudoers/iolog.c:668 plugins/sudoers/iolog.c:694 +#: plugins/sudoers/ldap.c:184 plugins/sudoers/ldap.c:464 +#: plugins/sudoers/ldap.c:755 plugins/sudoers/ldap.c:919 +#: plugins/sudoers/ldap.c:1335 plugins/sudoers/ldap.c:1761 +#: plugins/sudoers/ldap.c:1798 plugins/sudoers/ldap.c:1879 +#: plugins/sudoers/ldap.c:2014 plugins/sudoers/ldap.c:2115 +#: plugins/sudoers/ldap.c:2131 plugins/sudoers/ldap_conf.c:218 +#: plugins/sudoers/ldap_conf.c:250 plugins/sudoers/ldap_conf.c:302 +#: plugins/sudoers/ldap_conf.c:338 plugins/sudoers/ldap_conf.c:444 +#: plugins/sudoers/ldap_conf.c:459 plugins/sudoers/ldap_conf.c:564 +#: plugins/sudoers/ldap_conf.c:597 plugins/sudoers/ldap_conf.c:688 +#: plugins/sudoers/ldap_conf.c:771 plugins/sudoers/ldap_util.c:293 +#: plugins/sudoers/ldap_util.c:300 plugins/sudoers/ldap_util.c:614 +#: plugins/sudoers/linux_audit.c:86 plugins/sudoers/log_client.c:117 +#: plugins/sudoers/log_client.c:228 plugins/sudoers/log_client.c:250 +#: plugins/sudoers/log_client.c:264 plugins/sudoers/log_client.c:402 +#: plugins/sudoers/log_client.c:715 plugins/sudoers/log_client.c:736 +#: plugins/sudoers/log_client.c:1416 plugins/sudoers/log_client.c:1537 +#: plugins/sudoers/log_client.c:1637 plugins/sudoers/log_client.c:1973 +#: plugins/sudoers/log_client.c:2032 plugins/sudoers/logging.c:110 +#: plugins/sudoers/logging.c:188 plugins/sudoers/logging.c:189 +#: plugins/sudoers/logging.c:453 plugins/sudoers/logging.c:668 +#: plugins/sudoers/logging.c:805 plugins/sudoers/logging.c:876 +#: plugins/sudoers/logging.c:888 plugins/sudoers/match_command.c:334 +#: plugins/sudoers/match_command.c:602 plugins/sudoers/match_command.c:653 +#: plugins/sudoers/match_command.c:728 plugins/sudoers/match_command.c:775 +#: plugins/sudoers/match_digest.c:93 plugins/sudoers/parse.c:226 +#: plugins/sudoers/parse.c:243 plugins/sudoers/parse.c:262 +#: plugins/sudoers/parse.c:281 plugins/sudoers/parse.c:298 +#: plugins/sudoers/parse.c:321 plugins/sudoers/parse.c:332 +#: plugins/sudoers/parse_ldif.c:152 plugins/sudoers/parse_ldif.c:183 +#: plugins/sudoers/parse_ldif.c:252 plugins/sudoers/parse_ldif.c:260 +#: plugins/sudoers/parse_ldif.c:265 plugins/sudoers/parse_ldif.c:341 +#: plugins/sudoers/parse_ldif.c:352 plugins/sudoers/parse_ldif.c:379 +#: plugins/sudoers/parse_ldif.c:396 plugins/sudoers/parse_ldif.c:408 +#: plugins/sudoers/parse_ldif.c:412 plugins/sudoers/parse_ldif.c:426 +#: plugins/sudoers/parse_ldif.c:484 plugins/sudoers/parse_ldif.c:598 +#: plugins/sudoers/parse_ldif.c:627 plugins/sudoers/parse_ldif.c:652 +#: plugins/sudoers/parse_ldif.c:710 plugins/sudoers/parse_ldif.c:727 +#: plugins/sudoers/parse_ldif.c:755 plugins/sudoers/parse_ldif.c:762 +#: plugins/sudoers/policy.c:153 plugins/sudoers/policy.c:162 +#: plugins/sudoers/policy.c:171 plugins/sudoers/policy.c:199 +#: plugins/sudoers/policy.c:368 plugins/sudoers/policy.c:383 +#: plugins/sudoers/policy.c:385 plugins/sudoers/policy.c:423 +#: plugins/sudoers/policy.c:432 plugins/sudoers/policy.c:480 +#: plugins/sudoers/policy.c:490 plugins/sudoers/policy.c:499 +#: plugins/sudoers/policy.c:508 plugins/sudoers/policy.c:517 +#: plugins/sudoers/policy.c:624 plugins/sudoers/policy.c:1026 +#: plugins/sudoers/prompt.c:93 plugins/sudoers/pwutil.c:199 +#: plugins/sudoers/pwutil.c:270 plugins/sudoers/pwutil.c:348 +#: plugins/sudoers/pwutil.c:522 plugins/sudoers/pwutil.c:587 +#: plugins/sudoers/pwutil.c:659 plugins/sudoers/pwutil.c:857 +#: plugins/sudoers/pwutil.c:913 plugins/sudoers/pwutil.c:957 +#: plugins/sudoers/pwutil.c:1014 plugins/sudoers/set_perms.c:363 +#: plugins/sudoers/set_perms.c:706 plugins/sudoers/set_perms.c:1073 +#: plugins/sudoers/set_perms.c:1380 plugins/sudoers/set_perms.c:1549 +#: plugins/sudoers/sssd.c:144 plugins/sudoers/sssd.c:185 +#: plugins/sudoers/sssd.c:414 plugins/sudoers/sssd.c:479 +#: plugins/sudoers/sssd.c:505 plugins/sudoers/sssd.c:568 +#: plugins/sudoers/sssd.c:761 plugins/sudoers/strvec_join.c:53 +#: plugins/sudoers/stubs.c:112 plugins/sudoers/stubs.c:120 +#: plugins/sudoers/sudoers.c:354 plugins/sudoers/sudoers.c:380 +#: plugins/sudoers/sudoers.c:448 plugins/sudoers/sudoers.c:457 +#: plugins/sudoers/sudoers.c:498 plugins/sudoers/sudoers.c:827 +#: plugins/sudoers/sudoers.c:877 plugins/sudoers/sudoers.c:1015 +#: plugins/sudoers/sudoers.c:1075 plugins/sudoers/sudoers.c:1330 +#: plugins/sudoers/sudoreplay.c:562 plugins/sudoers/sudoreplay.c:565 +#: plugins/sudoers/sudoreplay.c:1281 plugins/sudoers/sudoreplay.c:1503 +#: plugins/sudoers/sudoreplay.c:1507 plugins/sudoers/testsudoers.c:120 +#: plugins/sudoers/testsudoers.c:224 plugins/sudoers/testsudoers.c:241 +#: plugins/sudoers/testsudoers.c:588 plugins/sudoers/timestamp.c:451 +#: plugins/sudoers/timestamp.c:495 plugins/sudoers/timestamp.c:1017 +#: plugins/sudoers/timestamp.c:1146 plugins/sudoers/toke_util.c:78 +#: plugins/sudoers/toke_util.c:106 plugins/sudoers/toke_util.c:131 +#: plugins/sudoers/toke_util.c:160 plugins/sudoers/toke_util.c:200 +#: plugins/sudoers/tsdump.c:123 plugins/sudoers/visudo.c:150 +#: plugins/sudoers/visudo.c:385 plugins/sudoers/visudo.c:391 +#: plugins/sudoers/visudo.c:498 plugins/sudoers/visudo.c:1054 toke.l:1023 +#: toke.l:1155 toke.l:1218 toke.l:1226 +#, c-format +msgid "%s: %s" +msgstr "%s:%s" + +#: lib/eventlog/eventlog.c:314 lib/iolog/iolog_json.c:562 +#: lib/iolog/iolog_json.c:568 lib/iolog/iolog_json.c:574 +#: plugins/sudoers/cvtsudoers_csv.c:192 plugins/sudoers/cvtsudoers_csv.c:199 +#: plugins/sudoers/cvtsudoers_ldif.c:244 plugins/sudoers/cvtsudoers_ldif.c:251 +#: plugins/sudoers/cvtsudoers_ldif.c:592 plugins/sudoers/env.c:340 +#: plugins/sudoers/env.c:347 plugins/sudoers/env.c:458 +#: plugins/sudoers/ldap.c:526 plugins/sudoers/ldap.c:759 +#: plugins/sudoers/ldap.c:1132 plugins/sudoers/ldap_conf.c:222 +#: plugins/sudoers/ldap_conf.c:313 plugins/sudoers/ldap_util.c:486 +#: plugins/sudoers/linux_audit.c:92 plugins/sudoers/logging.c:457 +#: plugins/sudoers/logging.c:813 plugins/sudoers/logging.c:823 +#: plugins/sudoers/policy.c:800 plugins/sudoers/policy.c:811 +#: plugins/sudoers/prompt.c:168 plugins/sudoers/serialize_list.c:62 +#: plugins/sudoers/serialize_list.c:71 plugins/sudoers/strvec_join.c:62 +#: plugins/sudoers/testsudoers.c:245 plugins/sudoers/toke_util.c:213 +#: toke.l:987 toke.l:1189 +#, c-format +msgid "internal error, %s overflow" +msgstr "内部错误,%s 溢出" + +#: lib/eventlog/eventlog.c:373 +#, c-format +msgid "unable to dup stdin: %m" +msgstr "无法 dup stdin:%m" + +#: lib/eventlog/eventlog.c:415 +#, c-format +msgid "unable to execute %s: %m" +msgstr "无法执行 %s:%m" + +#: lib/eventlog/eventlog.c:463 plugins/sudoers/auth/aix_auth.c:198 +msgid "unable to fork" +msgstr "无法执行 fork" + +#: lib/eventlog/eventlog.c:473 lib/eventlog/eventlog.c:538 +#, c-format +msgid "unable to fork: %m" +msgstr "无法执行 fork:%m" + +#: lib/eventlog/eventlog.c:528 +#, c-format +msgid "unable to open pipe: %m" +msgstr "无法打开管道:%m" + +#: lib/eventlog/eventlog.c:1030 +#, c-format +msgid "%8s : %s" +msgstr "%8s:%s" + +#: lib/eventlog/eventlog.c:1059 +#, c-format +msgid "%8s : (command continued) %s" +msgstr "%8s:(命令继续执行) %s" + +#: lib/iolog/iolog_filter.c:133 plugins/sudoers/defaults.c:1242 +#: plugins/sudoers/sudoreplay.c:1293 plugins/sudoers/sudoreplay.c:1558 +#, c-format +msgid "invalid regular expression \"%s\": %s" +msgstr "无效的正则表达式“%s”:%s" + +#: lib/iolog/iolog_json.c:140 +#, c-format +msgid "expected JSON_STRING, got %d" +msgstr "期望得到 JSON_STRING,但得到了 %d" + +#: lib/iolog/iolog_json.c:145 +msgid "JSON_ARRAY too large" +msgstr "JSON_ARRAY 过大" + +#: lib/iolog/iolog_json.c:404 +msgid "missing double quote in name" +msgstr "名称中缺少双引号" + +#: lib/iolog/iolog_json.c:501 +msgid "missing JSON_OBJECT" +msgstr "缺少 JSON_OBJECT" + +#: lib/iolog/iolog_json.c:505 +#, c-format +msgid "expected JSON_OBJECT, got %d" +msgstr "期望得到 JSON_OBJECT,但得到了 %d" + +#: lib/iolog/iolog_json.c:661 +#, c-format +msgid "json stack exhausted (max %u frames)" +msgstr "json 栈耗尽(最大 %u 帧)" + +#: lib/iolog/iolog_json.c:735 +msgid "objects must consist of name:value pairs" +msgstr "对象必须包含 名称:值 对" + +#: lib/iolog/iolog_json.c:740 lib/iolog/iolog_json.c:771 +#: lib/iolog/iolog_json.c:815 lib/iolog/iolog_json.c:837 +#: lib/iolog/iolog_json.c:859 lib/iolog/iolog_json.c:881 +#: lib/iolog/iolog_json.c:903 +msgid "missing separator between values" +msgstr "值之间缺少分隔符" + +#: lib/iolog/iolog_json.c:755 lib/iolog/iolog_json.c:929 +msgid "unmatched close brace" +msgstr "不匹配的右括号" + +#: lib/iolog/iolog_json.c:766 +msgid "unexpected array" +msgstr "未预期的数组" + +#: lib/iolog/iolog_json.c:786 lib/iolog/iolog_json.c:932 +msgid "unmatched close bracket" +msgstr "不匹配的右花括号" + +#: lib/iolog/iolog_json.c:797 +msgid "unexpected string" +msgstr "未预期的字符串" + +#: lib/iolog/iolog_json.c:808 +msgid "missing colon after name" +msgstr "名称后缺少冒号" + +#: lib/iolog/iolog_json.c:829 lib/iolog/iolog_json.c:851 +msgid "unexpected boolean" +msgstr "未预期的布尔值" + +#: lib/iolog/iolog_json.c:873 +msgid "unexpected null" +msgstr "未预期的 null" + +#: lib/iolog/iolog_json.c:894 +msgid "unexpected number" +msgstr "未预期的数字" + +#: lib/iolog/iolog_json.c:941 +msgid "parse error" +msgstr "解析错误" + +#: lib/iolog/iolog_legacy.c:65 +#, c-format +msgid "%s: invalid log file" +msgstr "%s:无效的日志文件" + +#: lib/iolog/iolog_legacy.c:83 +#, c-format +msgid "%s: time stamp field is missing" +msgstr "%s:缺少 时间戳 字段" + +#: lib/iolog/iolog_legacy.c:89 +#, c-format +msgid "%s: time stamp %s: %s" +msgstr "%s:时间戳 %s:%s" + +#: lib/iolog/iolog_legacy.c:96 +#, c-format +msgid "%s: user field is missing" +msgstr "%s:缺少 用户 字段" + +#: lib/iolog/iolog_legacy.c:107 +#, c-format +msgid "%s: runas user field is missing" +msgstr "%s:缺少 runas 用户 字段" + +#: lib/iolog/iolog_legacy.c:118 +#, c-format +msgid "%s: runas group field is missing" +msgstr "%s:缺少 runas 组 字段" + +#: lib/iolog/iolog_mkdirs.c:89 +#, c-format +msgid "%s exists but is not a directory (0%o)" +msgstr "%s 存在,但不是目录(0%o)" + +#: lib/iolog/iolog_mkdirs.c:123 lib/iolog/iolog_mkdtemp.c:78 +#: logsrvd/iolog_writer.c:781 plugins/sudoers/timestamp.c:209 +#, c-format +msgid "unable to mkdir %s" +msgstr "无法创建目录 %s" + +#: lib/iolog/iolog_mkdtemp.c:83 plugins/sudoers/visudo.c:753 +#: plugins/sudoers/visudo.c:787 plugins/sudoers/visudo.c:793 +#, c-format +msgid "unable to change mode of %s to 0%o" +msgstr "无法将 %s 的模式更改为 0%o" + +#: lib/iolog/iolog_timing.c:261 +#, c-format +msgid "error reading timing file: %s" +msgstr "读取时序文件出错:%s" + +#: lib/iolog/iolog_timing.c:268 +#, c-format +msgid "invalid timing file line: %s" +msgstr "无效的时序文件行:%s" + +#: logsrvd/iolog_writer.c:65 +#, c-format +msgid "%s: protocol error: NULL key" +msgstr "%s:协议错误:NULL 键" + +#: logsrvd/iolog_writer.c:69 +#, c-format +msgid "%s: protocol error: wrong type for %s" +msgstr "%s:协议错误:%s 的错误类型" + +#: logsrvd/iolog_writer.c:74 logsrvd/logsrvd_local.c:109 +#: logsrvd/logsrvd_local.c:123 logsrvd/logsrvd_local.c:131 +#: logsrvd/logsrvd_local.c:149 +#, c-format +msgid "%s: protocol error: NULL value found in %s" +msgstr "%s:协议错误:%s 中找到了 NULL 值" + +#: logsrvd/iolog_writer.c:141 plugins/sudoers/logging.c:976 +#: plugins/sudoers/policy.c:591 +msgid "unable to generate UUID" +msgstr "无法生成 UUID" + +#: logsrvd/iolog_writer.c:341 logsrvd/iolog_writer.c:346 +#: logsrvd/iolog_writer.c:351 logsrvd/iolog_writer.c:356 +#, c-format +msgid "%s: protocol error: %s missing from AcceptMessage" +msgstr "%s:协议错误:AcceptMessage 中 %s 缺失" + +#: logsrvd/iolog_writer.c:417 +#, c-format +msgid "%s: unable to format session id" +msgstr "%s:无法格式化会话 id" + +#: logsrvd/iolog_writer.c:431 logsrvd/iolog_writer.c:445 +#: logsrvd/iolog_writer.c:459 logsrvd/iolog_writer.c:474 +#: logsrvd/iolog_writer.c:488 logsrvd/iolog_writer.c:502 +#, c-format +msgid "%s: %s is not set" +msgstr "%s:%s 未设置" + +#: logsrvd/iolog_writer.c:538 logsrvd/iolog_writer.c:545 +#, c-format +msgid "unable to expand iolog path %s" +msgstr "无法展开 iolog 路径 %s" + +#: logsrvd/iolog_writer.c:563 +#, c-format +msgid "unable to create iolog path %s" +msgstr "无法创建 iolog 路径 %s" + +#: logsrvd/iolog_writer.c:593 +#, c-format +msgid "invalid iofd %d" +msgstr "无效的 iofd %d" + +#: logsrvd/iolog_writer.c:613 +#, c-format +msgid "error closing iofd %d: %s" +msgstr "关闭 iofd %d 时出错:%s" + +#: logsrvd/iolog_writer.c:633 +#, c-format +msgid "error flushing iofd %d: %s" +msgstr "冲刷 iofd %d 时出错:%s" + +#: logsrvd/iolog_writer.c:751 +#, c-format +msgid "invalid I/O log %s: %s referenced but not present" +msgstr "无效的 I/O 日志 %s:%s 被引用但不存在" + +#: logsrvd/iolog_writer.c:763 logsrvd/logsrvd_journal.c:382 +#, c-format +msgid "%s: unable to find resume point [%lld, %ld]" +msgstr "%s:无法找到恢复点 [%lld, %ld]" + +#: logsrvd/iolog_writer.c:785 logsrvd/logsrvd_journal.c:425 +#: logsrvd/logsrvd_queue.c:115 logsrvd/tls_init.c:256 +#: plugins/sudoers/check.c:292 plugins/sudoers/cvtsudoers.c:730 +#: plugins/sudoers/cvtsudoers.c:751 plugins/sudoers/cvtsudoers.c:1431 +#: plugins/sudoers/cvtsudoers_csv.c:695 plugins/sudoers/cvtsudoers_json.c:898 +#: plugins/sudoers/cvtsudoers_ldif.c:709 plugins/sudoers/sudoers.c:1113 +#: plugins/sudoers/sudoers.c:1143 plugins/sudoers/sudoreplay.c:1469 +#: plugins/sudoers/timestamp.c:460 plugins/sudoers/tsdump.c:128 +#: plugins/sudoers/visudo.c:971 +#, c-format +msgid "unable to open %s" +msgstr "无法打开 %s" + +#: logsrvd/iolog_writer.c:797 logsrvd/logsrv_util.c:105 +#: logsrvd/logsrv_util.c:112 plugins/sudoers/sudoreplay.c:362 +#: plugins/sudoers/sudoreplay.c:368 +#, c-format +msgid "unable to open %s/%s" +msgstr "无法打开 %s/%s" + +#: logsrvd/iolog_writer.c:810 +#, c-format +msgid "unable to copy %s/%s to %s/%s: %s" +msgstr "无法复制 %s/%s 到 %s/%s:%s" + +#: logsrvd/iolog_writer.c:839 logsrvd/logsrvd_journal.c:195 +#, c-format +msgid "unable to rename %s to %s" +msgstr "无法将 %s 重命名为 %s" + +#: logsrvd/logsrv_util.c:147 logsrvd/logsrv_util.c:176 +#, c-format +msgid "%s/%s: unable to find resume point [%lld, %ld]" +msgstr "%s/%s:无法找到恢复点 [%lld, %ld]" + +#: logsrvd/logsrv_util.c:159 +#, c-format +msgid "missing I/O log file %s/%s" +msgstr "缺失 I/O 日志文件 %s/%s" + +#: logsrvd/logsrv_util.c:166 +#, c-format +msgid "%s/%s: unable to seek forward %zu" +msgstr "%s/%s:无法向前查找 %zu" + +#: logsrvd/logsrvd.c:271 logsrvd/logsrvd_queue.c:135 +msgid "unable to connect to relay" +msgstr "无法连接到中继" + +#: logsrvd/logsrvd.c:330 logsrvd/logsrvd_relay.c:842 +#, c-format +msgid "server message too large: %zu" +msgstr "服务器消息过大:%zu" + +#: logsrvd/logsrvd.c:422 logsrvd/logsrvd.c:545 logsrvd/logsrvd.c:631 +#: logsrvd/logsrvd.c:873 logsrvd/logsrvd.c:887 logsrvd/logsrvd.c:1049 +#: logsrvd/logsrvd.c:1174 logsrvd/logsrvd.c:1347 logsrvd/logsrvd.c:1365 +#: logsrvd/logsrvd.c:1464 logsrvd/logsrvd.c:1589 logsrvd/logsrvd.c:1773 +#: logsrvd/logsrvd_journal.c:494 logsrvd/logsrvd_local.c:238 +#: logsrvd/logsrvd_queue.c:164 logsrvd/logsrvd_relay.c:172 +#: logsrvd/logsrvd_relay.c:249 logsrvd/logsrvd_relay.c:253 +#: logsrvd/logsrvd_relay.c:389 logsrvd/logsrvd_relay.c:581 +#: logsrvd/logsrvd_relay.c:742 logsrvd/logsrvd_relay.c:1131 +#: logsrvd/sendlog.c:1291 logsrvd/tls_client.c:136 logsrvd/tls_client.c:152 +#: logsrvd/tls_client.c:216 plugins/sudoers/audit.c:278 +#: plugins/sudoers/iolog.c:1033 plugins/sudoers/iolog.c:1166 +#: plugins/sudoers/iolog.c:1264 plugins/sudoers/log_client.c:121 +#: plugins/sudoers/log_client.c:343 plugins/sudoers/log_client.c:359 +#: plugins/sudoers/log_client.c:407 plugins/sudoers/log_client.c:611 +#: plugins/sudoers/log_client.c:618 plugins/sudoers/log_client.c:1103 +#: plugins/sudoers/log_client.c:1385 plugins/sudoers/log_client.c:1426 +#: plugins/sudoers/log_client.c:1434 plugins/sudoers/log_client.c:1593 +#: plugins/sudoers/log_client.c:1711 plugins/sudoers/log_client.c:2040 +#: plugins/sudoers/log_client.c:2048 plugins/sudoers/logging.c:147 +#: plugins/sudoers/logging.c:205 plugins/sudoers/sudoreplay.c:522 +#: plugins/sudoers/sudoreplay.c:569 plugins/sudoers/sudoreplay.c:811 +#: plugins/sudoers/sudoreplay.c:923 plugins/sudoers/sudoreplay.c:1014 +#: plugins/sudoers/sudoreplay.c:1029 plugins/sudoers/sudoreplay.c:1036 +#: plugins/sudoers/sudoreplay.c:1043 plugins/sudoers/sudoreplay.c:1050 +#: plugins/sudoers/sudoreplay.c:1057 plugins/sudoers/sudoreplay.c:1184 +msgid "unable to add event to queue" +msgstr "无法将事件添加到队列" + +#: logsrvd/logsrvd.c:446 logsrvd/logsrvd.c:483 logsrvd/logsrvd.c:515 +#: logsrvd/logsrvd.c:569 logsrvd/logsrvd.c:648 logsrvd/logsrvd.c:684 +#: logsrvd/logsrvd.c:720 logsrvd/logsrvd.c:756 logsrvd/logsrvd_relay.c:510 +#: logsrvd/logsrvd_relay.c:543 +#, c-format +msgid "unexpected state %d for %s" +msgstr "未预期的状态 %d 对于 %s" + +#: logsrvd/logsrvd.c:447 logsrvd/logsrvd.c:484 logsrvd/logsrvd.c:516 +#: logsrvd/logsrvd.c:570 logsrvd/logsrvd.c:649 logsrvd/logsrvd.c:685 +#: logsrvd/logsrvd.c:721 logsrvd/logsrvd.c:757 logsrvd/logsrvd_relay.c:512 +#: logsrvd/logsrvd_relay.c:545 +msgid "state machine error" +msgstr "状态机错误" + +#: logsrvd/logsrvd.c:453 logsrvd/logsrvd.c:454 +msgid "invalid AcceptMessage" +msgstr "无效的 AcceptMessage" + +#: logsrvd/logsrvd.c:490 logsrvd/logsrvd.c:491 +msgid "invalid RejectMessage" +msgstr "无效的 RejectMessage" + +#: logsrvd/logsrvd.c:522 logsrvd/logsrvd.c:523 +msgid "invalid ExitMessage" +msgstr "无效的 ExitMessage" + +#: logsrvd/logsrvd.c:576 logsrvd/logsrvd.c:577 +msgid "invalid RestartMessage" +msgstr "无效的 RestartMessage" + +#: logsrvd/logsrvd.c:611 logsrvd/logsrvd.c:612 +msgid "invalid AlertMessage" +msgstr "无效的 AlertMessage" + +#: logsrvd/logsrvd.c:653 logsrvd/logsrvd.c:689 logsrvd/logsrvd.c:725 +#, c-format +msgid "%s: unexpected IoBuffer" +msgstr "%s:未预期的 IoBuffer" + +#: logsrvd/logsrvd.c:654 logsrvd/logsrvd.c:690 logsrvd/logsrvd.c:726 +msgid "protocol error" +msgstr "协议错误" + +#: logsrvd/logsrvd.c:660 logsrvd/logsrvd.c:661 +msgid "invalid IoBuffer" +msgstr "无效的 IoBuffer" + +#: logsrvd/logsrvd.c:696 logsrvd/logsrvd.c:697 +msgid "invalid ChangeWindowSize" +msgstr "无效的 ChangeWindowSize" + +#: logsrvd/logsrvd.c:732 logsrvd/logsrvd.c:733 +msgid "invalid CommandSuspend" +msgstr "无效的 CommandSuspend" + +#: logsrvd/logsrvd.c:782 logsrvd/logsrvd_journal.c:293 +#: logsrvd/logsrvd_relay.c:652 logsrvd/sendlog.c:1192 +#: plugins/sudoers/log_client.c:1583 +#, c-format +msgid "unable to unpack %s size %zu" +msgstr "无法解包 %s,大小为 %zu" + +#: logsrvd/logsrvd.c:827 logsrvd/logsrvd_journal.c:367 +#: logsrvd/logsrvd_relay.c:676 +#, c-format +msgid "unexpected type_case value %d in %s from %s" +msgstr "未预期的 type_case 值 %d 在 %s 来自 %s" + +#: logsrvd/logsrvd.c:829 +msgid "unrecognized ClientMessage type" +msgstr "无法识别的 ClientMessage 类型" + +#: logsrvd/logsrvd.c:919 +#, c-format +msgid "timed out writing to client %s" +msgstr "写入客户端 %s 时超时" + +#: logsrvd/logsrvd.c:924 logsrvd/logsrvd_relay.c:914 logsrvd/sendlog.c:1395 +#, c-format +msgid "missing write buffer for client %s" +msgstr "客户端 %s 缺失写缓冲" + +#: logsrvd/logsrvd.c:1020 +#, c-format +msgid "timed out reading from client %s" +msgstr "从客户端 %s 读取超时" + +#: logsrvd/logsrvd.c:1061 logsrvd/logsrvd_relay.c:777 +#, c-format +msgid "EOF from %s without proper TLS shutdown" +msgstr "没有正确关闭 TLS 连接的情况下接收到了来自 %s 的 EOF" + +#: logsrvd/logsrvd.c:1105 logsrvd/logsrvd_relay.c:205 logsrvd/sendlog.c:322 +#: plugins/sudoers/log_client.c:721 +#, c-format +msgid "client message too large: %zu" +msgstr "客户端消息过大:%zu" + +#: logsrvd/logsrvd.c:1106 logsrvd/logsrvd_journal.c:256 +#: logsrvd/logsrvd_journal.c:257 +msgid "client message too large" +msgstr "客户端消息过长" + +#: logsrvd/logsrvd.c:1124 logsrvd/logsrvd.c:1125 +msgid "invalid ClientMessage" +msgstr "无效的 ClientMessage" + +#: logsrvd/logsrvd.c:1425 +msgid "unable to get remote IP addr" +msgstr "无法获取远程 IP 地址" + +#: logsrvd/logsrvd.c:1456 logsrvd/tls_client.c:203 +#: plugins/sudoers/log_client.c:281 +#, c-format +msgid "Unable to attach user data to the ssl object: %s" +msgstr "无法将用户数据附加到 ssl 对象上:%s" + +#: logsrvd/logsrvd.c:1639 logsrvd/logsrvd.c:1992 +msgid "unable to setup listen socket" +msgstr "无法设置监听套接字" + +#: logsrvd/logsrvd.c:1756 +#, c-format +msgid "unexpected signal %d" +msgstr "未预期的信号 %d" + +#: logsrvd/logsrvd.c:1894 +msgid "sudo log server" +msgstr "sudo 日志服务器" + +#: logsrvd/logsrvd.c:1896 logsrvd/sendlog.c:121 +msgid "Options:" +msgstr "选项:" + +#: logsrvd/logsrvd.c:1898 +msgid "path to configuration file" +msgstr "配置文件路径" + +#: logsrvd/logsrvd.c:1900 logsrvd/sendlog.c:123 +msgid "display help message and exit" +msgstr "显示帮助信息并退出" + +#: logsrvd/logsrvd.c:1902 +msgid "do not fork, run in the foreground" +msgstr "不要进行 fork,在前台运行" + +#: logsrvd/logsrvd.c:1904 +msgid "percent chance connections will drop" +msgstr "连接被丢弃的百分比概率" + +#: logsrvd/logsrvd.c:1906 logsrvd/sendlog.c:153 +msgid "display version information and exit" +msgstr "显示版本信息并退出" + +#: logsrvd/logsrvd.c:1956 logsrvd/sendlog.c:1702 +msgid "Protobuf-C version 1.3 or higher required" +msgstr "需要 Protobuf-C 1.3 版或更高版本" + +#: logsrvd/logsrvd.c:1972 +#, c-format +msgid "invalid random drop value: %s" +msgstr "无效的随机丢弃值:%s" + +#: logsrvd/logsrvd.c:1975 logsrvd/sendlog.c:1756 +#: plugins/sudoers/cvtsudoers.c:246 plugins/sudoers/sudoreplay.c:301 +#: plugins/sudoers/visudo.c:182 +#, c-format +msgid "%s version %s\n" +msgstr "%s 版本 %s\n" + +#: logsrvd/logsrvd_conf.c:422 plugins/sudoers/check.c:353 +#: plugins/sudoers/exptilde.c:85 plugins/sudoers/iolog.c:122 +#: plugins/sudoers/policy.c:1264 plugins/sudoers/sudoers.c:505 +#: plugins/sudoers/sudoers.c:1372 plugins/sudoers/testsudoers.c:215 +#: plugins/sudoers/testsudoers.c:382 +#, c-format +msgid "unknown user %s" +msgstr "未知用户 %s" + +#: logsrvd/logsrvd_conf.c:439 plugins/sudoers/iolog.c:148 +#: plugins/sudoers/sudoers.c:510 plugins/sudoers/sudoers.c:1406 +#: plugins/sudoers/testsudoers.c:406 +#, c-format +msgid "unknown group %s" +msgstr "未知组 %s" + +#: logsrvd/logsrvd_conf.c:457 +#, c-format +msgid "unable to parse iolog mode %s" +msgstr "无法解析 iolog 模式 %s" + +#: logsrvd/logsrvd_conf.c:474 logsrvd/logsrvd_conf.c:1243 +#, c-format +msgid "invalid value for %s: %s" +msgstr "用于 %s 的无效的值:%s" + +#: logsrvd/logsrvd_conf.c:527 +msgid "TLS not supported" +msgstr "不支持 TLS" + +#: logsrvd/logsrvd_conf.c:549 +#, c-format +msgid "%s:%s" +msgstr "%s:%s" + +#: logsrvd/logsrvd_conf.c:622 logsrvd/logsrvd_conf.c:1032 +#, c-format +msgid "%s: not a fully qualified path" +msgstr "%s:不是完全合格的路径" + +#: logsrvd/logsrvd_conf.c:951 logsrvd/logsrvd_conf.c:967 +#: logsrvd/logsrvd_conf.c:1676 +#, c-format +msgid "unknown syslog facility %s" +msgstr "未知的 syslog 设施 %s" + +#: logsrvd/logsrvd_conf.c:983 logsrvd/logsrvd_conf.c:999 +#: logsrvd/logsrvd_conf.c:1015 logsrvd/logsrvd_conf.c:1680 +#: logsrvd/logsrvd_conf.c:1684 logsrvd/logsrvd_conf.c:1688 +#, c-format +msgid "unknown syslog priority %s" +msgstr "位置的 syslog 优先级 %s" + +#: logsrvd/logsrvd_conf.c:1197 +#, c-format +msgid "%s:%d unmatched '[': %s" +msgstr "%s:%d 不匹配的 '[':%s" + +#: logsrvd/logsrvd_conf.c:1203 +#, c-format +msgid "%s:%d garbage after ']': %s" +msgstr "%s:%d 多余内容出现在 '[' 之后:%s" + +#: logsrvd/logsrvd_conf.c:1215 +#, c-format +msgid "%s:%d invalid config section: %s" +msgstr "%s:%d 无效的配置段:%s" + +#: logsrvd/logsrvd_conf.c:1223 +#, c-format +msgid "%s:%d invalid configuration line: %s" +msgstr "%s:%d 无效的配置行:%s" + +#: logsrvd/logsrvd_conf.c:1229 +#, c-format +msgid "%s:%d expected section name: %s" +msgstr "%s:%d 期望的节名称:%s" + +#: logsrvd/logsrvd_conf.c:1251 +#, c-format +msgid "%s:%d [%s] illegal key: %s" +msgstr "%s:%d [%s] 无效键:%s" + +#: logsrvd/logsrvd_conf.c:1281 plugins/sudoers/cvtsudoers.c:268 +#: plugins/sudoers/logging.c:1029 +#, c-format +msgid "unable to open log file %s" +msgstr "无法打开日志文件 %s" + +#: logsrvd/logsrvd_conf.c:1763 +msgid "unable to initialize server TLS context" +msgstr "无法初始化服务器 TLS 上下文" + +#: logsrvd/logsrvd_conf.c:1783 +msgid "unable to initialize relay TLS context" +msgstr "无法初始化中继 TLS 上下文" + +#: logsrvd/logsrvd_journal.c:146 logsrvd/logsrvd_journal.c:421 +#: logsrvd/logsrvd_journal.c:426 +msgid "unable to create journal file" +msgstr "无法创建日志文件" + +#: logsrvd/logsrvd_journal.c:150 logsrvd/logsrvd_queue.c:109 +#: plugins/sudoers/visudo.c:1026 +#, c-format +msgid "unable to lock %s" +msgstr "无法锁定 %s" + +#: logsrvd/logsrvd_journal.c:153 +msgid "unable to lock journal file" +msgstr "无法锁定日志文件" + +#: logsrvd/logsrvd_journal.c:161 +msgid "unable to open journal file" +msgstr "无法打开日志文件" + +#: logsrvd/logsrvd_journal.c:182 logsrvd/logsrvd_journal.c:457 +#: logsrvd/logsrvd_journal.c:462 +msgid "unable to write journal file" +msgstr "无法写入日志文件" + +#: logsrvd/logsrvd_journal.c:190 logsrvd/logsrvd_journal.c:197 +msgid "unable to rename journal file" +msgstr "无法重命名日志文件" + +#: logsrvd/logsrvd_journal.c:244 logsrvd/logsrvd_journal.c:245 +#: logsrvd/logsrvd_journal.c:279 logsrvd/logsrvd_journal.c:280 +msgid "unexpected EOF reading journal file" +msgstr "读取日志文件时未预期的 EOF" + +#: logsrvd/logsrvd_journal.c:248 logsrvd/logsrvd_journal.c:249 +#: logsrvd/logsrvd_journal.c:283 logsrvd/logsrvd_journal.c:284 +msgid "error reading journal file" +msgstr "读取日志文件出错" + +#: logsrvd/logsrvd_journal.c:295 logsrvd/logsrvd_journal.c:381 +msgid "invalid journal file, unable to restart" +msgstr "无效的日志文件,无法重新启动" + +#: logsrvd/logsrvd_journal.c:440 +#, c-format +msgid "unable to seek to [%lld, %ld] in journal file %s" +msgstr "无法 seek 跳转到 [%lld, %ld](在日志文件 %s 中)" + +#: logsrvd/logsrvd_local.c:166 +#, c-format +msgid "unexpected value_case %d in %s from %s" +msgstr "未预期的 value_case 值 %d 在 %s 来自 %s" + +#: logsrvd/logsrvd_local.c:194 +msgid "error parsing AcceptMessage" +msgstr "解析 AcceptMessage 出错" + +#: logsrvd/logsrvd_local.c:205 +msgid "error creating I/O log" +msgstr "创建 I/O 日志出错" + +#: logsrvd/logsrvd_local.c:228 +msgid "error logging accept event" +msgstr "记录接受事件时出错" + +#: logsrvd/logsrvd_local.c:267 +msgid "error parsing RejectMessage" +msgstr "解析 RejectMessage 出错" + +#: logsrvd/logsrvd_local.c:291 +msgid "error logging reject event" +msgstr "记录拒绝事件时出错" + +#: logsrvd/logsrvd_local.c:427 logsrvd/logsrvd_local.c:435 +msgid "error logging exit event" +msgstr "记录退出事件时出错" + +#: logsrvd/logsrvd_local.c:492 logsrvd/logsrvd_local.c:493 +msgid "log is already complete, cannot be restarted" +msgstr "日志已完成,无法重新启动" + +#: logsrvd/logsrvd_local.c:523 +msgid "unable to restart log" +msgstr "无法重新启动 log" + +#: logsrvd/logsrvd_local.c:539 +msgid "error parsing AlertMessage" +msgstr "解析 AlertMessage 出错" + +#: logsrvd/logsrvd_local.c:549 +msgid "error logging alert event" +msgstr "记录警告事件时出错" + +#: logsrvd/logsrvd_local.c:585 logsrvd/logsrvd_local.c:648 +#: logsrvd/logsrvd_local.c:683 +#, c-format +msgid "unable to format timing buffer, length %d" +msgstr "无法格式化时间缓冲区,长度 %d" + +#: logsrvd/logsrvd_local.c:599 logsrvd/logsrvd_local.c:607 +#: logsrvd/logsrvd_local.c:655 logsrvd/logsrvd_local.c:690 +#: plugins/sudoers/sudoreplay.c:351 +#, c-format +msgid "%s/%s: %s" +msgstr "%s/%s:%s" + +#: logsrvd/logsrvd_local.c:618 +msgid "randomly dropping connection" +msgstr "随机丢弃连接" + +#: logsrvd/logsrvd_local.c:630 +msgid "error writing IoBuffer" +msgstr "写入 IoBuffer 出错" + +#: logsrvd/logsrvd_local.c:665 +msgid "error writing ChangeWindowSize" +msgstr "写入 ChangeWindowSize 出错" + +#: logsrvd/logsrvd_local.c:700 +msgid "error writing CommandSuspend" +msgstr "写入 CommandSuspend 出错" + +#: logsrvd/logsrvd_relay.c:435 +msgid "TLS handshake with relay host failed" +msgstr "与中继主机的 TLS 握手失败" + +#: logsrvd/logsrvd_relay.c:463 +msgid "unable to connect to relay host" +msgstr "无法连接到中继主机" + +#: logsrvd/logsrvd_relay.c:518 +#, c-format +msgid "%s: invalid ServerHello, missing server_id" +msgstr "%s:无效的 ServerHello,缺少 server_id" + +#: logsrvd/logsrvd_relay.c:520 logsrvd/sendlog.c:1096 +#: plugins/sudoers/log_client.c:1469 +msgid "invalid ServerHello" +msgstr "无效的 ServerHello" + +#: logsrvd/logsrvd_relay.c:679 +msgid "unrecognized ServerMessage type" +msgstr "无法识别的 ServerMessage 类型" + +#: logsrvd/logsrvd_relay.c:708 +#, c-format +msgid "timed out reading from relay %s (%s)" +msgstr "从中继 %s 读取超时(%s)" + +#: logsrvd/logsrvd_relay.c:710 +msgid "timeout reading from relay" +msgstr "从中继读取超时" + +#: logsrvd/logsrvd_relay.c:762 +msgid "relay host name does not match certificate" +msgstr "中继主机名称与证书不匹配" + +#: logsrvd/logsrvd_relay.c:768 logsrvd/logsrvd_relay.c:782 +#: logsrvd/logsrvd_relay.c:789 +msgid "error reading from relay" +msgstr "从中继读取出错" + +#: logsrvd/logsrvd_relay.c:810 +msgid "unable to read from relay" +msgstr "无法从中继读取" + +#: logsrvd/logsrvd_relay.c:825 logsrvd/logsrvd_relay.c:943 +msgid "relay server closed connection" +msgstr "中继服务器关闭了连接" + +#: logsrvd/logsrvd_relay.c:843 +msgid "server message too large" +msgstr "服务器消息过大" + +#: logsrvd/logsrvd_relay.c:907 +#, c-format +msgid "timed out writing to relay %s (%s)" +msgstr "写入中继 %s 时超时(%s)" + +#: logsrvd/logsrvd_relay.c:909 +msgid "timeout writing to relay" +msgstr "写入中继时超时" + +#: logsrvd/logsrvd_relay.c:962 logsrvd/logsrvd_relay.c:969 +#: logsrvd/logsrvd_relay.c:981 +msgid "error writing to relay" +msgstr "写入中继时出错" + +#: logsrvd/sendlog.c:119 +msgid "send sudo I/O log to remote server" +msgstr "将 sudo I/O 日志发送到远程服务器" + +#: logsrvd/sendlog.c:125 +msgid "only send an accept event (no I/O)" +msgstr "只发送一个 accept 事件(没有 I/O)" + +#: logsrvd/sendlog.c:128 +msgid "certificate bundle file to verify server's cert against" +msgstr "" + +#: logsrvd/sendlog.c:130 +msgid "certificate file for TLS handshake" +msgstr "用于 TLS 握手的证书文件" + +#: logsrvd/sendlog.c:133 +msgid "host to send logs to" +msgstr "主机发送日志到" + +#: logsrvd/sendlog.c:135 +msgid "remote ID of I/O log to be resumed" +msgstr "" + +#: logsrvd/sendlog.c:138 +msgid "private key file" +msgstr "私钥文件" + +#: logsrvd/sendlog.c:140 +msgid "do not verify server certificate" +msgstr "不要验证服务器证书" + +#: logsrvd/sendlog.c:143 +msgid "port to use when connecting to host" +msgstr "连接到主机时使用的端口" + +#: logsrvd/sendlog.c:145 +msgid "restart previous I/O log transfer" +msgstr "重新开始先前的 I/O 日志传输" + +#: logsrvd/sendlog.c:147 +msgid "reject the command with the given reason" +msgstr "" + +#: logsrvd/sendlog.c:149 +msgid "stop transfer after reaching this time" +msgstr "" + +#: logsrvd/sendlog.c:151 +msgid "test audit server by sending selected I/O log n times in parallel" +msgstr "" + +#: logsrvd/sendlog.c:176 plugins/sudoers/log_client.c:453 +#, c-format +msgid "unable to look up %s:%s: %s" +msgstr "无法查找 %s:%s:%s" + +#: logsrvd/sendlog.c:214 +msgid "unable to get server IP addr" +msgstr "无法获取服务器 IP 地址" + +#: logsrvd/sendlog.c:300 plugins/sudoers/sudoreplay.c:871 +#, c-format +msgid "unable to read %s/%s: %s" +msgstr "无法读取 %s/%s:%s" + +#: logsrvd/sendlog.c:1020 plugins/sudoers/iolog.c:951 +#: plugins/sudoers/iolog.c:1026 +#, c-format +msgid "unexpected I/O event %d" +msgstr "未预期的 I/O 事件 %d" + +#: logsrvd/sendlog.c:1073 logsrvd/sendlog.c:1090 logsrvd/sendlog.c:1124 +#: plugins/sudoers/log_client.c:1118 plugins/sudoers/log_client.c:1395 +#: plugins/sudoers/log_client.c:1463 plugins/sudoers/log_client.c:1502 +#, c-format +msgid "%s: unexpected state %d" +msgstr "%s:未预期的状态 %d" + +#: logsrvd/sendlog.c:1160 plugins/sudoers/log_client.c:1551 +#, c-format +msgid "error message received from server: %s" +msgstr "从服务器收到了错误消息:%s" + +#: logsrvd/sendlog.c:1173 plugins/sudoers/log_client.c:1564 +#, c-format +msgid "abort message received from server: %s" +msgstr "从服务器收到了中止消息:%s" + +#: logsrvd/sendlog.c:1232 plugins/sudoers/log_client.c:1614 +#, c-format +msgid "%s: unexpected type_case value %d" +msgstr "%s:未预期的 type_case 值 %d" + +#: logsrvd/sendlog.c:1261 +msgid "timeout reading from server" +msgstr "从服务器读取超时" + +#: logsrvd/sendlog.c:1310 plugins/sudoers/log_client.c:1730 +msgid "host name does not match certificate" +msgstr "主机名称与证书不匹配" + +#: logsrvd/sendlog.c:1343 +msgid "premature EOF" +msgstr "过早的文件结束" + +#: logsrvd/sendlog.c:1356 plugins/sudoers/log_client.c:1777 +#, c-format +msgid "server message too large: %u" +msgstr "服务器消息过大:%u" + +#: logsrvd/sendlog.c:1412 +msgid "timeout writing to server" +msgstr "写入服务器时超时" + +#: logsrvd/sendlog.c:1779 +msgid "both restart point and iolog ID must be specified" +msgstr "" + +#: logsrvd/sendlog.c:1783 +msgid "a restart point may not be set when no I/O is sent" +msgstr "" + +#: logsrvd/sendlog.c:1859 +#, c-format +msgid "exited prematurely with state %d" +msgstr "过早地退出,状态码为 %d" + +#: logsrvd/sendlog.c:1860 +#, c-format +msgid "elapsed time sent to server [%lld, %ld]" +msgstr "" + +#: logsrvd/sendlog.c:1862 +#, c-format +msgid "commit point received from server [%lld, %ld]" +msgstr "" + +#: logsrvd/tls_client.c:111 plugins/sudoers/log_client.c:315 +msgid "TLS handshake timeout occurred" +msgstr "TLS 握手超时" + +#: logsrvd/tls_client.c:131 logsrvd/tls_client.c:147 +#: plugins/sudoers/log_client.c:337 plugins/sudoers/log_client.c:353 +msgid "unable to set event" +msgstr "无法设置事件" + +#: logsrvd/tls_client.c:157 logsrvd/tls_client.c:161 +#, c-format +msgid "TLS connection failed: %s" +msgstr "TLS 连接失败:%s" + +#: logsrvd/tls_client.c:196 +#, c-format +msgid "unable to allocate ssl object: %s" +msgstr "无法分配 ssl 对象:%s" + +#: logsrvd/tls_client.c:210 +#, c-format +msgid "Unable to attach socket to the ssl object: %s" +msgstr "无法将套接字附加给 ssl 对象:%s" + +#: logsrvd/tls_client.c:238 +msgid "unable to initialize TLS context" +msgstr "无法初始化 TLS 上下文" + +#: logsrvd/tls_init.c:138 logsrvd/tls_init.c:146 +#, c-format +msgid "unable to set TLS 1.2 ciphersuite to %s: %s" +msgstr "无法将 TLS 1.2 密码套件设置为 %s: %s" + +#: logsrvd/tls_init.c:166 logsrvd/tls_init.c:174 +#, c-format +msgid "unable to set TLS 1.3 ciphersuite to %s: %s" +msgstr "无法将 TLS 1.3 密码套件设置为 %s: %s" + +#: logsrvd/tls_init.c:206 logsrvd/tls_init.c:227 +#, c-format +msgid "unable to set diffie-hellman parameters: %s" +msgstr "无法设置 diffie-hellman 参数:%s" + +#: logsrvd/tls_init.c:283 +#, c-format +msgid "unable to create TLS context: %s" +msgstr "无法创建 TLS 上下文:%s" + +#: logsrvd/tls_init.c:290 +#, c-format +msgid "unable to set minimum protocol version to TLS 1.2: %s" +msgstr "无法将最低协议版本设置为 TLS 1.2:%s" + +#: plugins/sudoers/audit.c:269 plugins/sudoers/audit.c:429 +#: plugins/sudoers/log_client.c:951 plugins/sudoers/log_client.c:1000 +#: plugins/sudoers/log_client.c:1049 plugins/sudoers/log_client.c:1175 +#: plugins/sudoers/logging.c:591 plugins/sudoers/logging.c:689 +#: plugins/sudoers/logging.c:792 plugins/sudoers/logging.c:983 +#: plugins/sudoers/policy.c:124 +msgid "unable to get time of day" +msgstr "无法获取时间" + +#: plugins/sudoers/auth/aix_auth.c:280 +#, c-format +msgid "unable to change password for %s" +msgstr "无法为 %s 更改密码" + +#: plugins/sudoers/auth/bsdauth.c:74 +#, c-format +msgid "unable to get login class for user %s" +msgstr "无法获取用户 %s 的登录类别(login class)" + +#: plugins/sudoers/auth/bsdauth.c:79 +msgid "unable to begin bsd authentication" +msgstr "无法开始 bsd 认证" + +#: plugins/sudoers/auth/bsdauth.c:87 +msgid "invalid authentication type" +msgstr "无效的认证类型" + +#: plugins/sudoers/auth/bsdauth.c:96 +msgid "unable to initialize BSD authentication" +msgstr "无法初始化 bsd 认证" + +#: plugins/sudoers/auth/bsdauth.c:186 +msgid "your account has expired" +msgstr "您的账户已过期" + +#: plugins/sudoers/auth/bsdauth.c:188 +msgid "approval failed" +msgstr "批准失败" + +#: plugins/sudoers/auth/fwtk.c:61 +msgid "unable to read fwtk config" +msgstr "无法读取 fwtk 配置" + +#: plugins/sudoers/auth/fwtk.c:66 +msgid "unable to connect to authentication server" +msgstr "无法连接到认证服务器" + +#: plugins/sudoers/auth/fwtk.c:72 plugins/sudoers/auth/fwtk.c:97 +#: plugins/sudoers/auth/fwtk.c:129 +msgid "lost connection to authentication server" +msgstr "丢失了到认证服务器的连接" + +#: plugins/sudoers/auth/fwtk.c:76 +#, c-format +msgid "" +"authentication server error:\n" +"%s" +msgstr "" +"认证服务器错误:\n" +"%s" + +#: plugins/sudoers/auth/kerb5.c:115 +#, c-format +msgid "%s: unable to convert principal to string ('%s'): %s" +msgstr "%s:无法将主体(principal)转换为字符串(“%s”):%s" + +#: plugins/sudoers/auth/kerb5.c:164 +#, c-format +msgid "%s: unable to parse '%s': %s" +msgstr "%s:无法解析“%s”:%s" + +#: plugins/sudoers/auth/kerb5.c:173 +#, c-format +msgid "%s: unable to resolve credential cache: %s" +msgstr "%s:无法解析凭据缓存:%s" + +#: plugins/sudoers/auth/kerb5.c:222 +#, c-format +msgid "%s: unable to allocate options: %s" +msgstr "%s:无法分配选项:%s" + +#: plugins/sudoers/auth/kerb5.c:237 +#, c-format +msgid "%s: unable to get credentials: %s" +msgstr "%s:无法获取凭据:%s" + +#: plugins/sudoers/auth/kerb5.c:250 +#, c-format +msgid "%s: unable to initialize credential cache: %s" +msgstr "%s:无法初始化凭据缓存:%s" + +#: plugins/sudoers/auth/kerb5.c:253 +#, c-format +msgid "%s: unable to store credential in cache: %s" +msgstr "%s:无法在缓存中储存凭据:%s" + +#: plugins/sudoers/auth/kerb5.c:317 +#, c-format +msgid "%s: unable to get host principal: %s" +msgstr "%s:无法获取主机主体(principal):%s" + +#: plugins/sudoers/auth/kerb5.c:331 +#, c-format +msgid "%s: Cannot verify TGT! Possible attack!: %s" +msgstr "%s:无法验证目标!可能遭到了攻击!:%s" + +#: plugins/sudoers/auth/pam.c:224 +#, c-format +msgid "unable to initialize PAM: %s" +msgstr "无法初始化 PAM:%s" + +#: plugins/sudoers/auth/pam.c:337 +#, c-format +msgid "PAM authentication error: %s" +msgstr "PAM 认证出错:%s" + +#: plugins/sudoers/auth/pam.c:356 +msgid "account validation failure, is your account locked?" +msgstr "账户验证失败,您的账户是不是上锁了?" + +#: plugins/sudoers/auth/pam.c:367 +msgid "Account or password is expired, reset your password and try again" +msgstr "账户或密码过期,重置您的密码并重试" + +#: plugins/sudoers/auth/pam.c:373 +#, c-format +msgid "unable to change expired password: %s" +msgstr "无法更改过期的密码:%s" + +#: plugins/sudoers/auth/pam.c:384 +msgid "Password expired, contact your system administrator" +msgstr "密码过期,联系您的系统管理员" + +#: plugins/sudoers/auth/pam.c:389 +msgid "Account expired or PAM config lacks an \"account\" section for sudo, contact your system administrator" +msgstr "账户过期,或 PAM 配置缺少 sudo 使用的“account”节,联系您的系统管理员" + +#: plugins/sudoers/auth/pam.c:397 plugins/sudoers/auth/pam.c:402 +#, c-format +msgid "PAM account management error: %s" +msgstr "PAM 账户管理出错:%s" + +#: plugins/sudoers/auth/rfc1938.c:99 plugins/sudoers/visudo.c:271 +#, c-format +msgid "you do not exist in the %s database" +msgstr "%s 数据库中没有您" + +#: plugins/sudoers/auth/securid5.c:75 +msgid "failed to initialise the ACE API library" +msgstr "初始化 ACE API 库失败" + +#: plugins/sudoers/auth/securid5.c:106 +msgid "unable to contact the SecurID server" +msgstr "无法联络 SecurID 服务器" + +#: plugins/sudoers/auth/securid5.c:115 +msgid "User ID locked for SecurID Authentication" +msgstr "为进行 SecurID 认证,已锁定用户 ID" + +#: plugins/sudoers/auth/securid5.c:119 plugins/sudoers/auth/securid5.c:170 +msgid "invalid username length for SecurID" +msgstr "SecurID 的用户名长度无效" + +#: plugins/sudoers/auth/securid5.c:123 plugins/sudoers/auth/securid5.c:175 +msgid "invalid Authentication Handle for SecurID" +msgstr "SecurID 的认证句柄无效" + +#: plugins/sudoers/auth/securid5.c:127 +msgid "SecurID communication failed" +msgstr "SecurID 通讯失败" + +#: plugins/sudoers/auth/securid5.c:131 plugins/sudoers/auth/securid5.c:218 +msgid "unknown SecurID error" +msgstr "未知的 SecurID 错误" + +#: plugins/sudoers/auth/securid5.c:165 +msgid "invalid passcode length for SecurID" +msgstr "无效的 SecurID 密码长度" + +#: plugins/sudoers/auth/sia.c:69 plugins/sudoers/auth/sia.c:126 +msgid "unable to initialize SIA session" +msgstr "无法初始化 SIA 会话" + +#: plugins/sudoers/auth/sudo_auth.c:135 +msgid "invalid authentication methods" +msgstr "无效的认证方法" + +#: plugins/sudoers/auth/sudo_auth.c:137 +msgid "Invalid authentication methods compiled into sudo! You may not mix standalone and non-standalone authentication." +msgstr "编译进 sudo 的认证方法无效!您不能混用独立和非独立认证。" + +#: plugins/sudoers/auth/sudo_auth.c:258 plugins/sudoers/auth/sudo_auth.c:310 +msgid "no authentication methods" +msgstr "无认证方法" + +#: plugins/sudoers/auth/sudo_auth.c:260 +msgid "There are no authentication methods compiled into sudo! If you want to turn off authentication, use the --disable-authentication configure option." +msgstr "sudo 编译时没有加入任何认证方法!如果您想关闭认证,使用 --disable-authentication 配置选项。" + +#: plugins/sudoers/auth/sudo_auth.c:312 +msgid "Unable to initialize authentication methods." +msgstr "无法初始化认证方法。" + +#: plugins/sudoers/auth/sudo_auth.c:486 +msgid "Authentication methods:" +msgstr "认证方法:" + +#: plugins/sudoers/bsm_audit.c:123 plugins/sudoers/bsm_audit.c:214 +msgid "Could not determine audit condition" +msgstr "无法确定审核条件" + +#: plugins/sudoers/bsm_audit.c:188 plugins/sudoers/bsm_audit.c:277 +msgid "unable to commit audit record" +msgstr "无法提交审核记录" + +#: plugins/sudoers/check.c:285 +#, fuzzy, c-format +#| msgid "error reading timing file: %s" +msgid "error reading lecture file %s" +msgstr "读取时序文件出错:%s" + +#: plugins/sudoers/check.c:288 +#, fuzzy, c-format +#| msgid "%s is not a regular file" +msgid "ignoring lecture file %s: not a regular file" +msgstr "%s 不是常规文件" + +#: plugins/sudoers/check.c:301 +msgid "" +"\n" +"We trust you have received the usual lecture from the local System\n" +"Administrator. It usually boils down to these three things:\n" +"\n" +" #1) Respect the privacy of others.\n" +" #2) Think before you type.\n" +" #3) With great power comes great responsibility.\n" +"\n" +msgstr "" +"\n" +"我们信任您已经从系统管理员那里了解了日常注意事项。\n" +"总结起来无外乎这三点:\n" +"\n" +" #1) 尊重别人的隐私。\n" +" #2) 输入前要先考虑(后果和风险)。\n" +" #3) 权力越大,责任越大。\n" +"\n" + +#: plugins/sudoers/check.c:348 plugins/sudoers/check.c:358 +#: plugins/sudoers/parse.c:64 plugins/sudoers/sudoers.c:920 +#: plugins/sudoers/sudoers.c:941 plugins/sudoers/tsdump.c:119 +#, c-format +msgid "unknown uid %u" +msgstr "未知的用户 ID %u" + +#: plugins/sudoers/check_aliases.c:99 plugins/sudoers/defaults.c:1279 +#, c-format +msgid "%s: %s\n" +msgstr "%s:%s\n" + +#: plugins/sudoers/check_aliases.c:133 +#, c-format +msgid "cycle in %s \"%s\"" +msgstr "在 %s“%s”中循环" + +#: plugins/sudoers/check_aliases.c:136 +#, fuzzy, c-format +#| msgid "Error: %s:%d:%d: %s \"%s\" referenced but not defined" +msgid "%s \"%s\" referenced but not defined" +msgstr "错误:%s:%d:%d:引用了 %s“%s”但尚未定义" + +#: plugins/sudoers/cvtsudoers.c:209 +#, c-format +msgid "order increment: %s: %s" +msgstr "顺序增量:%s: %s" + +#: plugins/sudoers/cvtsudoers.c:228 +#, c-format +msgid "starting order: %s: %s" +msgstr "起始顺序:%s:%s" + +#: plugins/sudoers/cvtsudoers.c:238 +#, c-format +msgid "order padding: %s: %s" +msgstr "顺序填充:%s: %s" + +#: plugins/sudoers/cvtsudoers.c:248 plugins/sudoers/visudo.c:184 +#, c-format +msgid "%s grammar version %d\n" +msgstr "%s 语法版本 %d\n" + +#: plugins/sudoers/cvtsudoers.c:277 plugins/sudoers/testsudoers.c:159 +#, c-format +msgid "unsupported input format %s" +msgstr "不支持的输入格式 %s" + +#: plugins/sudoers/cvtsudoers.c:295 +#, c-format +msgid "unsupported output format %s" +msgstr "不支持的输出格式 %s" + +#: plugins/sudoers/cvtsudoers.c:385 +#, c-format +msgid "%s: input and output files must be different" +msgstr "%s:输入和输出文件不能相同" + +#: plugins/sudoers/cvtsudoers.c:399 plugins/sudoers/sudoers.c:166 +#: plugins/sudoers/sudoers.c:222 plugins/sudoers/testsudoers.c:254 +#: plugins/sudoers/visudo.c:280 plugins/sudoers/visudo.c:650 +#: plugins/sudoers/visudo.c:975 +msgid "unable to initialize sudoers default values" +msgstr "无法初始化 sudoers 默认值" + +#: plugins/sudoers/cvtsudoers.c:525 plugins/sudoers/ldap_conf.c:434 +#, c-format +msgid "%s: %s: %s: %s" +msgstr "%s:%s:%s:%s" + +#: plugins/sudoers/cvtsudoers.c:584 +#, c-format +msgid "%s: unknown key word %s" +msgstr "%s:未知的关键词 %s" + +#: plugins/sudoers/cvtsudoers.c:630 +#, c-format +msgid "invalid defaults type: %s" +msgstr "无效的默认值类型:%s" + +#: plugins/sudoers/cvtsudoers.c:653 +#, c-format +msgid "invalid suppression type: %s" +msgstr "无效的压缩类型:%s" + +#: plugins/sudoers/cvtsudoers.c:694 plugins/sudoers/cvtsudoers.c:710 +#, c-format +msgid "invalid filter: %s" +msgstr "无效的过滤器:%s" + +#: plugins/sudoers/cvtsudoers.c:754 plugins/sudoers/visudo.c:980 +#, c-format +msgid "failed to parse %s file, unknown error" +msgstr "解析 %s 文件失败,未知错误" + +#: plugins/sudoers/cvtsudoers.c:1478 plugins/sudoers/sudoreplay.c:1145 +#: plugins/sudoers/timestamp.c:343 plugins/sudoers/timestamp.c:346 +#, c-format +msgid "unable to write to %s" +msgstr "无法写入 %s" + +#: plugins/sudoers/cvtsudoers.c:1506 +#, c-format +msgid "" +"%s - convert between sudoers file formats\n" +"\n" +msgstr "" +"%s - 转换 sudoers 文件格式\n" +"\n" + +#: plugins/sudoers/cvtsudoers.c:1508 +msgid "" +"\n" +"Options:\n" +" -b, --base=dn the base DN for sudo LDAP queries\n" +" -c, --config=conf_file the path to the configuration file\n" +" -d, --defaults=deftypes only convert Defaults of the specified types\n" +" -e, --expand-aliases expand aliases when converting\n" +" -f, --output-format=format set output format: JSON, LDIF or sudoers\n" +" -i, --input-format=format set input format: LDIF or sudoers\n" +" -I, --increment=num amount to increase each sudoOrder by\n" +" -h, --help display help message and exit\n" +" -m, --match=filter only convert entries that match the filter\n" +" -M, --match-local match filter uses passwd and group databases\n" +" -o, --output=output_file write converted sudoers to output_file\n" +" -O, --order-start=num starting point for first sudoOrder\n" +" -p, --prune-matches prune non-matching users, groups and hosts\n" +" -P, --padding=num base padding for sudoOrder increment\n" +" -s, --suppress=sections suppress output of certain sections\n" +" -V, --version display version information and exit" +msgstr "" +"\n" +"选项:\n" +" -b, --base=dn 用于 sudo LDAP 查询的基础 DN\n" +" -c, --config=conf_file 指向配置文件的路径\n" +" -d, --defaults=deftypes 只转换指定类型的默认值\n" +" -e, --expand-aliases 在转换时展开别名\n" +" -f, --output-format=format 设置输出格式:JSON、LDIF 或 sudoers\n" +" -i, --input-format=format 设置输入格式:LDIF 或 sudoers\n" +" -I, --increment=num 每个 sudoOrder 的增加量\n" +" -h, --help 显示帮助消息并退出\n" +" -m, --match=filter 只转换与过滤器匹配的条目\n" +" -M, --match-local 让匹配过滤器使用 passwd 和 group 数据库\n" +" -o, --output=output_file 将转换后的 sudoers 写入 output_file\n" +" -O, --order-start=num 第一个 sudoOrder 的起点\n" +" -p, --prune-matches 清理不匹配的用户、组和主机\n" +" -P, --padding=num sudoOrder 的增加基数\n" +" -s, --suppress=sections 压缩某些部分的输出\n" +" -V, --version 显示版本信息并退出" + +#: plugins/sudoers/cvtsudoers_csv.c:452 plugins/sudoers/cvtsudoers_csv.c:466 +#: plugins/sudoers/cvtsudoers_json.c:657 plugins/sudoers/cvtsudoers_json.c:672 +#: plugins/sudoers/cvtsudoers_ldif.c:347 plugins/sudoers/cvtsudoers_ldif.c:360 +#: plugins/sudoers/ldap.c:510 +msgid "unable to get GMT time" +msgstr "无法获取 GMT 时间" + +#: plugins/sudoers/cvtsudoers_csv.c:457 plugins/sudoers/cvtsudoers_csv.c:471 +#: plugins/sudoers/cvtsudoers_json.c:662 plugins/sudoers/cvtsudoers_json.c:677 +#: plugins/sudoers/cvtsudoers_ldif.c:352 plugins/sudoers/cvtsudoers_ldif.c:365 +#: plugins/sudoers/ldap.c:518 +msgid "unable to format timestamp" +msgstr "无法格式化时间戳" + +#: plugins/sudoers/cvtsudoers_json.c:480 plugins/sudoers/cvtsudoers_json.c:515 +#: plugins/sudoers/cvtsudoers_json.c:728 +#, c-format +msgid "%s:%d:%d: unknown defaults entry \"%s\"" +msgstr "%s:%d:%d:未知的默认条目“%s”" + +#: plugins/sudoers/cvtsudoers_ldif.c:661 +#, c-format +msgid "too many sudoers entries, maximum %u" +msgstr "sudoers 条目过多,最多为 %u" + +#: plugins/sudoers/cvtsudoers_ldif.c:704 +msgid "the SUDOERS_BASE environment variable is not set and the -b option was not specified." +msgstr "没有设置 SUDOERS_BASE 环境变量,并且没有指定 -b 选项。" + +#: plugins/sudoers/cvtsudoers_merge.c:273 +#: plugins/sudoers/cvtsudoers_merge.c:309 +#, fuzzy, c-format +#| msgid "%s:%d no value specified for \"%s\"" +msgid "%s:%d:%d: converting host list to ALL" +msgstr "%s:%d 没有给“%s”指定值" + +#: plugins/sudoers/cvtsudoers_merge.c:545 +#, c-format +msgid "unable to find alias %s" +msgstr "无法找到别名 %s" + +#: plugins/sudoers/cvtsudoers_merge.c:548 +#, c-format +msgid "%s:%d:%d: renaming alias %s to %s" +msgstr "%s:%d:%d:重命名别名 %s 为 %s" + +#: plugins/sudoers/cvtsudoers_merge.c:605 +#, c-format +msgid "%s:%d:%d: removing duplicate alias %s" +msgstr "%s:%d:%d:移除重复别名 %s" + +#: plugins/sudoers/cvtsudoers_merge.c:830 +#, c-format +msgid "%s:%d:%d: conflicting Defaults entry \"%s\" host-specific in %s:%d:%d" +msgstr "" + +#: plugins/sudoers/cvtsudoers_merge.c:864 +#, fuzzy, c-format +#| msgid "%s:%d invalid Defaults type 0x%x for option \"%s\"" +msgid "%s:%d:%d: made Defaults \"%s\" specific to host %s" +msgstr "%1$s:%2$d 选项“%4$s”的默认类型 0x%3$x 无效" + +#: plugins/sudoers/cvtsudoers_merge.c:882 +#, c-format +msgid "%s:%d:%d: unable to make Defaults \"%s\" host-specific" +msgstr "" + +#: plugins/sudoers/cvtsudoers_merge.c:892 +#, c-format +msgid "%s:%d:%d: removing Defaults \"%s\" overridden by subsequent entries" +msgstr "" + +#: plugins/sudoers/cvtsudoers_merge.c:1088 +#, fuzzy, c-format +#| msgid "%s:%d no value specified for \"%s\"" +msgid "%s:%d:%d: merging userspec into %s:%d:%d" +msgstr "%s:%d 没有给“%s”指定值" + +#: plugins/sudoers/cvtsudoers_merge.c:1182 +#, c-format +msgid "%s:%d:%d: removing userspec overridden by subsequent entries" +msgstr "" + +#: plugins/sudoers/def_data.c:56 +#, c-format +msgid "Syslog facility if syslog is being used for logging: %s" +msgstr "若使用了 syslog,用于记录日志的 syslog 设施:%s" + +#: plugins/sudoers/def_data.c:60 +#, c-format +msgid "Syslog priority to use when user authenticates successfully: %s" +msgstr "用户认证成功时使用的 syslog 优先级:%s" + +#: plugins/sudoers/def_data.c:64 +#, c-format +msgid "Syslog priority to use when user authenticates unsuccessfully: %s" +msgstr "用户认证不成功时使用的 syslog 优先级:%s" + +#: plugins/sudoers/def_data.c:68 +msgid "Put OTP prompt on its own line" +msgstr "将 OPT 提示放在独自的行中" + +#: plugins/sudoers/def_data.c:72 +msgid "Ignore '.' in $PATH" +msgstr "忽略 $PATH 中的“.”" + +#: plugins/sudoers/def_data.c:76 +msgid "Always send mail when sudo is run" +msgstr "在运行 sudo 时总是发送邮件" + +#: plugins/sudoers/def_data.c:80 +msgid "Send mail if user authentication fails" +msgstr "在用户认证失败时发送邮件" + +#: plugins/sudoers/def_data.c:84 +msgid "Send mail if the user is not in sudoers" +msgstr "在用户不在 sudoers 列表中时发送邮件" + +#: plugins/sudoers/def_data.c:88 +msgid "Send mail if the user is not in sudoers for this host" +msgstr "在用户不在此主机的 sudoers 列表中时发送邮件" + +#: plugins/sudoers/def_data.c:92 +msgid "Send mail if the user is not allowed to run a command" +msgstr "在用户不允许执行某个命令时发送邮件" + +#: plugins/sudoers/def_data.c:96 +msgid "Send mail if the user tries to run a command" +msgstr "在用户尝试执行某个命令时发送邮件" + +#: plugins/sudoers/def_data.c:100 +msgid "Use a separate timestamp for each user/tty combo" +msgstr "对每个用户/终端组合使用独立的时间戳" + +#: plugins/sudoers/def_data.c:104 +msgid "Lecture user the first time they run sudo" +msgstr "在用户第一次运行 sudo 时向他致辞" + +#: plugins/sudoers/def_data.c:108 +#, c-format +msgid "File containing the sudo lecture: %s" +msgstr "包含 sudo 致辞的文件:%s" + +#: plugins/sudoers/def_data.c:112 +msgid "Require users to authenticate by default" +msgstr "默认要求用户认证" + +#: plugins/sudoers/def_data.c:116 +msgid "Root may run sudo" +msgstr "root 可以运行 sudo" + +#: plugins/sudoers/def_data.c:120 +msgid "Log the hostname in the (non-syslog) log file" +msgstr "将主机名记录在(非 syslog)的日志文件中" + +#: plugins/sudoers/def_data.c:124 +msgid "Log the year in the (non-syslog) log file" +msgstr "将年份记录在(非 syslog)的日志文件中" + +#: plugins/sudoers/def_data.c:128 +msgid "If sudo is invoked with no arguments, start a shell" +msgstr "如果不带参数调用 sudo,启动一个 shell" + +#: plugins/sudoers/def_data.c:132 +msgid "Set $HOME to the target user when starting a shell with -s" +msgstr "若使用 -s 选项启动 shell,将 $HOME 设为目标用户的主目录" + +#: plugins/sudoers/def_data.c:136 +msgid "Always set $HOME to the target user's home directory" +msgstr "总是将 $HOME 设为目标用户的主目录" + +#: plugins/sudoers/def_data.c:140 +msgid "Allow some information gathering to give useful error messages" +msgstr "允许收集一些信息,以提供有用的错误消息" + +#: plugins/sudoers/def_data.c:144 +msgid "Require fully-qualified hostnames in the sudoers file" +msgstr "要求 sudoers 文件中包含完全限定的主机名" + +#: plugins/sudoers/def_data.c:148 +msgid "Insult the user when they enter an incorrect password" +msgstr "在用户输入错误密码时对他们进行(玩笑式的)嘲讽" + +#: plugins/sudoers/def_data.c:152 +msgid "Only allow the user to run sudo if they have a tty" +msgstr "只允许拥有终端的用户执行 sudo" + +#: plugins/sudoers/def_data.c:156 +msgid "Visudo will honor the EDITOR environment variable" +msgstr "Visudo 将优先考虑 EDITOR 环境变量" + +#: plugins/sudoers/def_data.c:160 +msgid "Prompt for root's password, not the users's" +msgstr "询问 root 用户的密码而非用户的密码" + +#: plugins/sudoers/def_data.c:164 +msgid "Prompt for the runas_default user's password, not the users's" +msgstr "询问 runas_default 用户的密码,而非用户密码" + +#: plugins/sudoers/def_data.c:168 +msgid "Prompt for the target user's password, not the users's" +msgstr "询问目标用户的密码,而非用户密码" + +#: plugins/sudoers/def_data.c:172 +msgid "Apply defaults in the target user's login class if there is one" +msgstr "应用目标用户登录类别中的默认设置,如果没有设置的话" + +#: plugins/sudoers/def_data.c:176 +msgid "Set the LOGNAME and USER environment variables" +msgstr "设置 LOGNAME 和 USER 环境变量" + +#: plugins/sudoers/def_data.c:180 +msgid "Only set the effective uid to the target user, not the real uid" +msgstr "只将有效用户 ID 设为目标用户的,而不是实际用户 ID" + +#: plugins/sudoers/def_data.c:184 +msgid "Don't initialize the group vector to that of the target user" +msgstr "不将组向量初始化为目标用户的" + +#: plugins/sudoers/def_data.c:188 +#, c-format +msgid "Length at which to wrap log file lines (0 for no wrap): %u" +msgstr "日志文件折行的长度(0 则不折行):%u" + +#: plugins/sudoers/def_data.c:192 +#, c-format +msgid "Authentication timestamp timeout: %.1f minutes" +msgstr "认证时间戳延时:%.1f 分钟" + +#: plugins/sudoers/def_data.c:196 +#, c-format +msgid "Password prompt timeout: %.1f minutes" +msgstr "密码提示延时:%.1f 分钟" + +#: plugins/sudoers/def_data.c:200 +#, c-format +msgid "Number of tries to enter a password: %u" +msgstr "输入密码的尝试次数:%u" + +#: plugins/sudoers/def_data.c:204 +#, c-format +msgid "Umask to use or 0777 to use user's: 0%o" +msgstr "要使用的 umask,或 0777 使用用户的:0%o" + +#: plugins/sudoers/def_data.c:208 +#, c-format +msgid "Path to log file: %s" +msgstr "日志文件路径:%s" + +#: plugins/sudoers/def_data.c:212 +#, c-format +msgid "Path to mail program: %s" +msgstr "邮件程序路径:%s" + +#: plugins/sudoers/def_data.c:216 +#, c-format +msgid "Flags for mail program: %s" +msgstr "邮件程序标志:%s" + +#: plugins/sudoers/def_data.c:220 +#, c-format +msgid "Address to send mail to: %s" +msgstr "发送邮件的地址:%s" + +#: plugins/sudoers/def_data.c:224 +#, c-format +msgid "Address to send mail from: %s" +msgstr "接收邮件的地址:%s" + +#: plugins/sudoers/def_data.c:228 +#, c-format +msgid "Subject line for mail messages: %s" +msgstr "邮件消息的主题行:%s" + +#: plugins/sudoers/def_data.c:232 +#, c-format +msgid "Incorrect password message: %s" +msgstr "密码错误消息:%s" + +#: plugins/sudoers/def_data.c:236 +#, c-format +msgid "Path to lecture status dir: %s" +msgstr "致辞(lecture)状态文件夹的路径:%s" + +#: plugins/sudoers/def_data.c:240 +#, c-format +msgid "Path to authentication timestamp dir: %s" +msgstr "认证时间戳文件夹的路径:%s" + +#: plugins/sudoers/def_data.c:244 +#, c-format +msgid "Owner of the authentication timestamp dir: %s" +msgstr "认证时间戳的所有者:%s" + +#: plugins/sudoers/def_data.c:248 +#, c-format +msgid "Users in this group are exempt from password and PATH requirements: %s" +msgstr "此组的用户不要求密码和 PATH:%s" + +#: plugins/sudoers/def_data.c:252 +#, c-format +msgid "Default password prompt: %s" +msgstr "默认密码提示:%s" + +#: plugins/sudoers/def_data.c:256 +msgid "If set, passprompt will override system prompt in all cases." +msgstr "如果设置,密码提示将覆盖各种情况下的系统提示。" + +#: plugins/sudoers/def_data.c:260 +#, c-format +msgid "Default user to run commands as: %s" +msgstr "运行命令的默认用户:%s" + +#: plugins/sudoers/def_data.c:264 +#, c-format +msgid "Value to override user's $PATH with: %s" +msgstr "覆盖用户的 $PATH 变量的值:%s" + +#: plugins/sudoers/def_data.c:268 +#, c-format +msgid "Path to the editor for use by visudo: %s" +msgstr "visudo 所使用的编辑器的路径:%s" + +#: plugins/sudoers/def_data.c:272 +#, c-format +msgid "When to require a password for 'list' pseudocommand: %s" +msgstr "何时为“list”伪命令请求密码:%s" + +#: plugins/sudoers/def_data.c:276 +#, c-format +msgid "When to require a password for 'verify' pseudocommand: %s" +msgstr "何时为“verify”伪命令请求密码:%s" + +#: plugins/sudoers/def_data.c:280 +msgid "Preload the sudo_noexec library which replaces the exec functions" +msgstr "预加载替代 exec 函数的 sudo_noexec 库" + +#: plugins/sudoers/def_data.c:284 +msgid "If LDAP directory is up, do we ignore local sudoers file" +msgstr "如果 LDAP 目录有效,是不是忽略本地的 sudoers 文件" + +#: plugins/sudoers/def_data.c:288 +#, c-format +msgid "File descriptors >= %d will be closed before executing a command" +msgstr ">= %d 的文件描述符将会在执行命令前关闭" + +#: plugins/sudoers/def_data.c:292 +msgid "If set, users may override the value of \"closefrom\" with the -C option" +msgstr "如果设置,用户可以通过 -C 选项覆盖“closefrom”的值" + +#: plugins/sudoers/def_data.c:296 +msgid "Allow users to set arbitrary environment variables" +msgstr "允许用户设置任意的环境变量" + +#: plugins/sudoers/def_data.c:300 +msgid "Reset the environment to a default set of variables" +msgstr "将环境重设为默认的变量集" + +#: plugins/sudoers/def_data.c:304 +msgid "Environment variables to check for safety:" +msgstr "要检查安全性的环境变量:" + +#: plugins/sudoers/def_data.c:308 +msgid "Environment variables to remove:" +msgstr "要移除的环境变量:" + +#: plugins/sudoers/def_data.c:312 +msgid "Environment variables to preserve:" +msgstr "要保留的环境变量:" + +#: plugins/sudoers/def_data.c:316 +#, c-format +msgid "SELinux role to use in the new security context: %s" +msgstr "在新的安全环境中使用的 SELinux 角色:%s" + +#: plugins/sudoers/def_data.c:320 +#, c-format +msgid "SELinux type to use in the new security context: %s" +msgstr "在新的安全环境中使用的 SELinux 类型:%s" + +#: plugins/sudoers/def_data.c:324 +#, c-format +msgid "Path to the sudo-specific environment file: %s" +msgstr "sudo 特定环境文件的路径:%s" + +#: plugins/sudoers/def_data.c:328 +#, c-format +msgid "Path to the restricted sudo-specific environment file: %s" +msgstr "受限的 sudo 特定环境文件的路径:%s" + +#: plugins/sudoers/def_data.c:332 +#, c-format +msgid "Locale to use while parsing sudoers: %s" +msgstr "解析 sudoers 时使用的区域设置:%s" + +#: plugins/sudoers/def_data.c:336 +msgid "Allow sudo to prompt for a password even if it would be visible" +msgstr "允许 sudo 询问密码,即使它不可见" + +#: plugins/sudoers/def_data.c:340 +msgid "Provide visual feedback at the password prompt when there is user input" +msgstr "用户在询问密码窗口输入时提供视觉反馈" + +#: plugins/sudoers/def_data.c:344 +msgid "Use faster globbing that is less accurate but does not access the filesystem" +msgstr "使用不太精确但不访问文件系统的较快通配方法" + +#: plugins/sudoers/def_data.c:348 +msgid "The umask specified in sudoers will override the user's, even if it is more permissive" +msgstr "sudoers 中指定的 umask 会覆盖用户的,即使它允许的权限更多" + +#: plugins/sudoers/def_data.c:352 +msgid "Log user's input for the command being run" +msgstr "记录用户在所执行命令中的输入" + +#: plugins/sudoers/def_data.c:356 +msgid "Log the command's standard input if not connected to a terminal" +msgstr "记录命令的标准输入内容,如果它未连接终端的话" + +#: plugins/sudoers/def_data.c:360 +msgid "Log the user's terminal input for the command being run" +msgstr "记录用户在所执行命令中的终端输入" + +#: plugins/sudoers/def_data.c:364 +msgid "Log the output of the command being run" +msgstr "记录所执行命令的输出" + +#: plugins/sudoers/def_data.c:368 +msgid "Log the command's standard output if not connected to a terminal" +msgstr "记录命令的标准输出内容,如果它未连接终端的话" + +#: plugins/sudoers/def_data.c:372 +msgid "Log the command's standard error if not connected to a terminal" +msgstr "记录命令的标准错误内容,如果它未连接终端的话" + +#: plugins/sudoers/def_data.c:376 +msgid "Log the terminal output of the command being run" +msgstr "记录所执行命令的终端输出" + +#: plugins/sudoers/def_data.c:380 +msgid "Compress I/O logs using zlib" +msgstr "使用 zlib 压缩 I/O 日志" + +#: plugins/sudoers/def_data.c:384 +msgid "Always run commands in a pseudo-tty" +msgstr "总是在伪终端中运行命令" + +#: plugins/sudoers/def_data.c:388 +#, c-format +msgid "Plugin for non-Unix group support: %s" +msgstr "用于非 Unix 组支持的插件:%s" + +#: plugins/sudoers/def_data.c:392 +#, c-format +msgid "Directory in which to store input/output logs: %s" +msgstr "用于保存输入/输出日志的目录:%s" + +#: plugins/sudoers/def_data.c:396 +#, c-format +msgid "File in which to store the input/output log: %s" +msgstr "用于保存输入/输出日志的文件:%s" + +#: plugins/sudoers/def_data.c:400 +msgid "Add an entry to the utmp/utmpx file when allocating a pty" +msgstr "在分配伪终端时向 utmp/utmpx 文件中添加一条记录" + +#: plugins/sudoers/def_data.c:404 +msgid "Set the user in utmp to the runas user, not the invoking user" +msgstr "将 utmp 中的用户设为 runas 用户,而不是调用用户" + +#: plugins/sudoers/def_data.c:408 +#, c-format +msgid "Set of permitted privileges: %s" +msgstr "允许权限的集合:%s" + +#: plugins/sudoers/def_data.c:412 +#, c-format +msgid "Set of limit privileges: %s" +msgstr "限制权限的集合:%s" + +#: plugins/sudoers/def_data.c:416 +msgid "Run commands on a pty in the background" +msgstr "在后台的伪终端上运行命令" + +#: plugins/sudoers/def_data.c:420 +#, c-format +msgid "PAM service name to use: %s" +msgstr "要使用的 PAM 服务名称:%s" + +#: plugins/sudoers/def_data.c:424 +#, c-format +msgid "PAM service name to use for login shells: %s" +msgstr "用于登录 shell 的 PAM 服务名称:%s" + +#: plugins/sudoers/def_data.c:428 +#, fuzzy, c-format +#| msgid "PAM service name to use for login shells: %s" +msgid "PAM service name to use when sudo is run with the -A option: %s" +msgstr "用于登录 shell 的 PAM 服务名称:%s" + +#: plugins/sudoers/def_data.c:432 +msgid "Attempt to establish PAM credentials for the target user" +msgstr "尝试为目标用户建立 PAM 凭据" + +#: plugins/sudoers/def_data.c:436 +msgid "Create a new PAM session for the command to run in" +msgstr "创建一个新的 PAM 会话来运行该命令" + +#: plugins/sudoers/def_data.c:440 +msgid "Perform PAM account validation management" +msgstr "执行 PAM 账户验证管理" + +#: plugins/sudoers/def_data.c:444 +#, c-format +msgid "Maximum I/O log sequence number: %s" +msgstr "最大 I/O 日志序列号:%s" + +#: plugins/sudoers/def_data.c:448 +msgid "Enable sudoers netgroup support" +msgstr "启用 support netgroup 支持" + +#: plugins/sudoers/def_data.c:452 +msgid "Check parent directories for writability when editing files with sudoedit" +msgstr "在使用 sudoedit 编辑文件时检查上级目录是否可写" + +#: plugins/sudoers/def_data.c:456 +msgid "Follow symbolic links when editing files with sudoedit" +msgstr "使用 sudoedit 编辑文件时循符号连接(定位到原文件)" + +#: plugins/sudoers/def_data.c:460 +msgid "Query the group plugin for unknown system groups" +msgstr "通过 组 插件查询未知的系统组" + +#: plugins/sudoers/def_data.c:464 +msgid "Match netgroups based on the entire tuple: user, host and domain" +msgstr "基于整个元组(用户、主机和域)来匹配网络组" + +#: plugins/sudoers/def_data.c:468 +msgid "Allow commands to be run even if sudo cannot write to the audit log" +msgstr "即使 sudo 无法写入审核日志也允许命令运行" + +#: plugins/sudoers/def_data.c:472 +msgid "Allow commands to be run even if sudo cannot write to the I/O log" +msgstr "即使 sudo 无法写入 I/O 日志也允许命令运行" + +#: plugins/sudoers/def_data.c:476 +msgid "Allow commands to be run even if sudo cannot write to the log file" +msgstr "即使 sudo 无法写入日志文件也允许命令允许" + +#: plugins/sudoers/def_data.c:480 +msgid "Resolve groups in sudoers and match on the group ID, not the name" +msgstr "解析 sudoers 中的组并与 组 ID (而不是名字) 匹配" + +#: plugins/sudoers/def_data.c:484 +#, c-format +msgid "Log entries larger than this value will be split into multiple syslog messages: %u" +msgstr "大于此数值的日志条目会分为多条 syslog 消息:%u" + +#: plugins/sudoers/def_data.c:488 +#, c-format +msgid "User that will own the I/O log files: %s" +msgstr "将拥有 I/O 日志文件的用户:%s" + +#: plugins/sudoers/def_data.c:492 +#, c-format +msgid "Group that will own the I/O log files: %s" +msgstr "将拥有 I/O 日志文件的组:%s" + +#: plugins/sudoers/def_data.c:496 +#, c-format +msgid "File mode to use for the I/O log files: 0%o" +msgstr "I/O 日志文件要使用的文件模式:0%o" + +#: plugins/sudoers/def_data.c:500 +#, c-format +msgid "Execute commands by file descriptor instead of by path: %s" +msgstr "根据文件描述符执行命令,而非根据路径:%s" + +#: plugins/sudoers/def_data.c:504 +msgid "Ignore unknown Defaults entries in sudoers instead of producing a warning" +msgstr "忽略 sudoers 中未知的 Defaults 条目而非产生警告" + +#: plugins/sudoers/def_data.c:508 +#, c-format +msgid "Time in seconds after which the command will be terminated: %u" +msgstr "超过指定时间后终止命令(秒):%u" + +#: plugins/sudoers/def_data.c:512 +msgid "Allow the user to specify a timeout on the command line" +msgstr "允许用户在命令行中指定超时时间" + +#: plugins/sudoers/def_data.c:516 +msgid "Flush I/O log data to disk immediately instead of buffering it" +msgstr "立即冲洗(flush) I/O 日志数据而非将其缓存" + +#: plugins/sudoers/def_data.c:520 +msgid "Include the process ID when logging via syslog" +msgstr "通过 syslog 登录时包含进程 ID" + +#: plugins/sudoers/def_data.c:524 +#, c-format +msgid "Type of authentication timestamp record: %s" +msgstr "认证时间戳记录的类型:%s" + +#: plugins/sudoers/def_data.c:528 +#, c-format +msgid "Authentication failure message: %s" +msgstr "认证失败消息:%s" + +#: plugins/sudoers/def_data.c:532 +msgid "Ignore case when matching user names" +msgstr "在匹配 用户 名时忽略大小写" + +#: plugins/sudoers/def_data.c:536 +msgid "Ignore case when matching group names" +msgstr "在匹配 组 名时忽略大小写" + +#: plugins/sudoers/def_data.c:540 +msgid "Log when a command is allowed by sudoers" +msgstr "命令被 sudoers 允许时的日志" + +#: plugins/sudoers/def_data.c:544 +msgid "Log when a command is denied by sudoers" +msgstr "命令被 sudoers 拒绝时的日志" + +#: plugins/sudoers/def_data.c:548 +msgid "Sudo log server(s) to connect to with optional port" +msgstr "" + +#: plugins/sudoers/def_data.c:552 +#, c-format +msgid "Sudo log server timeout in seconds: %u" +msgstr "Sudo 日志服务器超时秒数:%u" + +#: plugins/sudoers/def_data.c:556 +msgid "Enable SO_KEEPALIVE socket option on the socket connected to the logserver" +msgstr "" + +#: plugins/sudoers/def_data.c:560 +#, fuzzy, c-format +#| msgid "Path to the sudo-specific environment file: %s" +msgid "Path to the audit server's CA bundle file: %s" +msgstr "sudo 特定环境文件的路径:%s" + +#: plugins/sudoers/def_data.c:564 +#, c-format +msgid "Path to the sudoers certificate file: %s" +msgstr "到 sudoers 证书文件的路径:%s" + +#: plugins/sudoers/def_data.c:568 +#, c-format +msgid "Path to the sudoers private key file: %s" +msgstr "到 sudoers 私钥文件的路径:%s" + +#: plugins/sudoers/def_data.c:572 +msgid "Verify that the log server's certificate is valid" +msgstr "验证日志服务器证书有效性" + +#: plugins/sudoers/def_data.c:576 +msgid "Allow the use of unknown runas user and/or group ID" +msgstr "" + +#: plugins/sudoers/def_data.c:580 +msgid "Only permit running commands as a user with a valid shell" +msgstr "" + +#: plugins/sudoers/def_data.c:584 +msgid "Set the pam remote user to the user running sudo" +msgstr "" + +#: plugins/sudoers/def_data.c:588 +msgid "Set the pam remote host to the local host name" +msgstr "" + +#: plugins/sudoers/def_data.c:592 +#, fuzzy, c-format +#| msgid "File descriptors >= %d will be closed before executing a command" +msgid "Working directory to change to before executing the command: %s" +msgstr ">= %d 的文件描述符将会在执行命令前关闭" + +#: plugins/sudoers/def_data.c:596 +#, fuzzy, c-format +#| msgid "File descriptors >= %d will be closed before executing a command" +msgid "Root directory to change to before executing the command: %s" +msgstr ">= %d 的文件描述符将会在执行命令前关闭" + +#: plugins/sudoers/def_data.c:600 +#, c-format +msgid "The format of logs to produce: %s" +msgstr "要产生日志的格式:%s" + +#: plugins/sudoers/def_data.c:604 +msgid "Enable SELinux RBAC support" +msgstr "启用 SELinux RBAC 支持" + +#: plugins/sudoers/def_data.c:608 +#, c-format +msgid "Path to the file that is created the first time sudo is run: %s" +msgstr "在 sudo 第一次运行时要创建的文件的路径:%s" + +#: plugins/sudoers/def_data.c:612 +msgid "Intercept further commands and apply sudoers restrictions to them" +msgstr "截取未来的命令并对其施加 sudoers 限制" + +#: plugins/sudoers/def_data.c:616 +msgid "Log sub-commands run by the original command" +msgstr "记录原始命令所执行的子命令" + +#: plugins/sudoers/def_data.c:620 +msgid "Log the exit status of commands" +msgstr "记录所执行命令的返回状态值" + +#: plugins/sudoers/def_data.c:624 +msgid "Subsequent commands in an intercepted session must be authenticated" +msgstr "" + +#: plugins/sudoers/def_data.c:628 +msgid "Allow an intercepted command to run set setuid or setgid programs" +msgstr "" + +#: plugins/sudoers/def_data.c:632 +#, c-format +msgid "The maximum size to which the process's address space may grow (in bytes): %s" +msgstr "" + +#: plugins/sudoers/def_data.c:636 +#, c-format +msgid "The largest size core dump file that may be created (in bytes): %s" +msgstr "" + +#: plugins/sudoers/def_data.c:640 +#, c-format +msgid "The maximum amount of CPU time that the process may use (in seconds): %s" +msgstr "" + +#: plugins/sudoers/def_data.c:644 +#, c-format +msgid "The maximum size of the data segment for the process (in bytes): %s" +msgstr "" + +#: plugins/sudoers/def_data.c:648 +#, c-format +msgid "The largest size file that the process may create (in bytes): %s" +msgstr "" + +#: plugins/sudoers/def_data.c:652 +#, c-format +msgid "The maximum number of locks that the process may establish: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:656 +#, c-format +msgid "The maximum size that the process may lock in memory (in bytes): %s" +msgstr "" + +#: plugins/sudoers/def_data.c:660 +#, c-format +msgid "The maximum number of files that the process may have open: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:664 +#, c-format +msgid "The maximum number of processes that the user may run simultaneously: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:668 +#, c-format +msgid "The maximum size to which the process's resident set size may grow (in bytes): %s" +msgstr "" + +#: plugins/sudoers/def_data.c:672 +#, c-format +msgid "The maximum size to which the process's stack may grow (in bytes): %s" +msgstr "" + +#: plugins/sudoers/def_data.c:676 +msgid "Attempt authentication even when in non-interactive mode" +msgstr "即便在非交互模式下也尝试进行认证" + +#: plugins/sudoers/def_data.c:680 +msgid "Store plaintext passwords in I/O log input" +msgstr "在 I/O 日志输入中存储纯文本密码" + +#: plugins/sudoers/def_data.c:684 +msgid "List of regular expressions to use when matching a password prompt" +msgstr "尝试匹配密码提示符时要使用的正则表达式列表" + +#: plugins/sudoers/def_data.c:688 +#, c-format +msgid "The mechanism used by the intercept and log_subcmds options: %s" +msgstr "" + +#: plugins/sudoers/def_data.c:692 +msgid "Attempt to verify the command and arguments after execution" +msgstr "在执行之后尝试验证命令和参数" + +#: plugins/sudoers/def_data.c:696 +#, c-format +msgid "AppArmor profile to use in the new security context: %s" +msgstr "在新的安全环境中使用的 SELinux 配置文件:%s" + +#: plugins/sudoers/defaults.c:191 +#, c-format +msgid "unknown defaults entry \"%s\"" +msgstr "未知的默认条目“%s”" + +#: plugins/sudoers/defaults.c:234 +#, c-format +msgid "no value specified for \"%s\"" +msgstr "没有给“%s”指定值" + +#: plugins/sudoers/defaults.c:243 +#, fuzzy, c-format +#| msgid "%s: invalid Defaults type 0x%x for option \"%s\"" +msgid "invalid operator \"%c=\" for \"%s\"" +msgstr "%1$s:选项“%3$s”的默认类型 0x%2$x 无效" + +#: plugins/sudoers/defaults.c:275 +#, fuzzy, c-format +#| msgid "%s: option \"%s\" does not take a value" +msgid "option \"%s\" does not take a value" +msgstr "%s:“%s”选项不接受值" + +#: plugins/sudoers/defaults.c:299 +#, fuzzy, c-format +#| msgid "%s: invalid Defaults type 0x%x for option \"%s\"" +msgid "invalid Defaults type 0x%x for option \"%s\"" +msgstr "%1$s:选项“%3$s”的默认类型 0x%2$x 无效" + +#: plugins/sudoers/defaults.c:306 +#, fuzzy, c-format +#| msgid "%s: value \"%s\" is invalid for option \"%s\"" +msgid "value \"%s\" is invalid for option \"%s\"" +msgstr "%s:值“%s”对选项“%s”无效" + +#: plugins/sudoers/defaults.c:1128 plugins/sudoers/policy.c:208 +#: plugins/sudoers/policy.c:217 +#, c-format +msgid "path name for \"%s\" too long" +msgstr "“%s”的路径名过长" + +#: plugins/sudoers/defaults.c:1134 +#, c-format +msgid "values for \"%s\" must start with a '/', '~', or '*'" +msgstr "“%s”的值必须以“/”、“~”或“*”开头" + +#: plugins/sudoers/defaults.c:1141 +#, c-format +msgid "values for \"%s\" must start with a '/'" +msgstr "“%s”的值必须以“/”开头" + +#: plugins/sudoers/env.c:426 +msgid "sudo_putenv: corrupted envp, length mismatch" +msgstr "sudo_putenv:envp 损坏,长度不符" + +#: plugins/sudoers/env.c:1109 +msgid "unable to rebuild the environment" +msgstr "无法重建环境" + +#: plugins/sudoers/env.c:1183 +#, c-format +msgid "sorry, you are not allowed to set the following environment variables: %s" +msgstr "对不起,您无权设置以下环境变量:%s" + +#: plugins/sudoers/filedigest.c:49 +#, c-format +msgid "unsupported digest type %d for %s" +msgstr "%2$s 的摘要类型 %1$d 不支持" + +#: plugins/sudoers/filedigest.c:78 +#, c-format +msgid "%s: read error" +msgstr "%s:写错误" + +#: plugins/sudoers/group_plugin.c:169 +#, c-format +msgid "%s must be owned by uid %d" +msgstr "%s 必须属于用户 ID %d" + +#: plugins/sudoers/group_plugin.c:173 +#, c-format +msgid "%s must only be writable by owner" +msgstr "%s 必须只对所有者可写" + +#: plugins/sudoers/group_plugin.c:185 plugins/sudoers/sssd.c:576 +#, c-format +msgid "unable to load %s: %s" +msgstr "无法加载 %s:%s" + +#: plugins/sudoers/group_plugin.c:197 +#, c-format +msgid "unable to find symbol \"group_plugin\" in %s" +msgstr "无法在 %s 中找到符号“group_plugin”" + +#: plugins/sudoers/group_plugin.c:202 +#, c-format +msgid "%s: incompatible group plugin major version %d, expected %d" +msgstr "%s:不兼容的组插件主版本号 %d,应为 %d" + +#: plugins/sudoers/interfaces.c:76 plugins/sudoers/interfaces.c:93 +#, c-format +msgid "unable to parse IP address \"%s\"" +msgstr "无法解析 IP 地址列表“%s”" + +#: plugins/sudoers/interfaces.c:81 plugins/sudoers/interfaces.c:98 +#, c-format +msgid "unable to parse netmask \"%s\"" +msgstr "无法解析网络掩码“%s”" + +#: plugins/sudoers/interfaces.c:126 +msgid "Local IP address and netmask pairs:\n" +msgstr "本地 IP 地址和网络掩码对:\n" + +#: plugins/sudoers/iolog.c:685 +msgid "unable to update sequence file" +msgstr "无法更新序列文件" + +#: plugins/sudoers/iolog.c:719 plugins/sudoers/iolog.c:909 +#: plugins/sudoers/iolog.c:1071 plugins/sudoers/iolog.c:1078 +#: plugins/sudoers/iolog.c:1199 plugins/sudoers/iolog.c:1206 +#: plugins/sudoers/iolog.c:1305 plugins/sudoers/iolog.c:1312 +#, c-format +msgid "unable to write to I/O log file: %s" +msgstr "无法写入 I/O 日志文件:%s" + +#: plugins/sudoers/iolog.c:727 +#, c-format +msgid "unable to create %s/%s" +msgstr "无法创建 %s/%s" + +#: plugins/sudoers/iolog.c:957 +#, c-format +msgid "%s: internal error, I/O log file for event %d not open" +msgstr "%s:内部错误,事件 %d 的 I/O 日志文件未打开" + +#: plugins/sudoers/iolog.c:1056 plugins/sudoers/iolog.c:1184 +#: plugins/sudoers/iolog.c:1289 plugins/sudoers/timestamp.c:879 +#: plugins/sudoers/timestamp.c:971 plugins/sudoers/visudo.c:552 +#: plugins/sudoers/visudo.c:558 +msgid "unable to read the clock" +msgstr "无法读取时钟" + +#: plugins/sudoers/iolog.c:1281 plugins/sudoers/log_client.c:1193 +#: plugins/sudoers/log_client.c:1203 plugins/sudoers/log_client.c:1207 +#, c-format +msgid "%s: internal error, invalid signal %d" +msgstr "%s:内部错误,信号 %d 无效" + +#: plugins/sudoers/ldap.c:177 plugins/sudoers/ldap_conf.c:292 +msgid "starttls not supported when using ldaps" +msgstr "使用 ldaps 时不支持 starttls" + +#: plugins/sudoers/ldap.c:248 +#, c-format +msgid "unable to initialize SSL cert and key db: %s" +msgstr "无法初始化 SSL 证书和密钥数据库:%s" + +#: plugins/sudoers/ldap.c:251 +#, c-format +msgid "you must set TLS_CERT in %s to use SSL" +msgstr "要使用 SSL,您必须在 %s 中设置 TLS_CERT" + +#: plugins/sudoers/ldap.c:1712 +#, c-format +msgid "unable to initialize LDAP: %s" +msgstr "无法初始化 LDAP:%s" + +#: plugins/sudoers/ldap.c:1749 +msgid "start_tls specified but LDAP libs do not support ldap_start_tls_s() or ldap_start_tls_s_np()" +msgstr "指定了 start_tls,但 LDAP 库不支持 ldap_start_tls_s() 或 ldap_start_tls_s_np()" + +#: plugins/sudoers/ldap.c:1886 plugins/sudoers/parse_ldif.c:748 +#, c-format +msgid "invalid sudoOrder attribute: %s" +msgstr "无效的 sudoOrder 属性:%s" + +#: plugins/sudoers/ldap_conf.c:200 +#, c-format +msgid "%s: port too large" +msgstr "%s:端口过大" + +#: plugins/sudoers/ldap_conf.c:261 +#, c-format +msgid "unsupported LDAP uri type: %s" +msgstr "不支持的 LDAP URI 类型:%s" + +#: plugins/sudoers/ldap_conf.c:288 +msgid "unable to mix ldap and ldaps URIs" +msgstr "无法混合 ldap 和 ldaps URI" + +#: plugins/sudoers/ldap_util.c:499 plugins/sudoers/ldap_util.c:506 +#: plugins/sudoers/ldap_util.c:514 plugins/sudoers/ldap_util.c:523 +#: plugins/sudoers/ldap_util.c:531 plugins/sudoers/ldap_util.c:541 +#: plugins/sudoers/ldap_util.c:549 +#, c-format +msgid "duplicate sudoOption: %s%s%s" +msgstr "重复的 sudoOption: %s%s%s" + +#: plugins/sudoers/ldap_util.c:568 plugins/sudoers/ldap_util.c:570 +#, c-format +msgid "unable to convert sudoOption: %s%s%s" +msgstr "无法转换 sudoOption: %s%s%s" + +#: plugins/sudoers/linux_audit.c:58 plugins/sudoers/linux_audit.c:60 +msgid "unable to open audit system" +msgstr "无法打开审核系统" + +#: plugins/sudoers/linux_audit.c:103 +msgid "unable to send audit message" +msgstr "无法发送审核消息" + +#: plugins/sudoers/log_client.c:125 plugins/sudoers/log_client.c:412 +#: plugins/sudoers/log_client.c:1440 plugins/sudoers/log_client.c:2056 +msgid "error in event loop" +msgstr "事件循环中出错" + +#: plugins/sudoers/log_client.c:205 +#, c-format +msgid "Creation of new SSL_CTX object failed: %s" +msgstr "创建新的 SSL_CTX 对象失败:%s" + +#: plugins/sudoers/log_client.c:230 +#, c-format +msgid "unable to load certificate authority bundle %s" +msgstr "无法加载数字证书认证机构集合(CA bundle) %s" + +#: plugins/sudoers/log_client.c:252 +#, c-format +msgid "unable to load certificate %s" +msgstr "无法加载证书 %s" + +#: plugins/sudoers/log_client.c:266 +#, c-format +msgid "unable to load private key %s" +msgstr "无法加载私钥 %s" + +#: plugins/sudoers/log_client.c:275 +#, c-format +msgid "Unable to allocate ssl object: %s" +msgstr "无法分配 ssl 对象:%s" + +#: plugins/sudoers/log_client.c:364 plugins/sudoers/log_client.c:369 +#, c-format +msgid "TLS connection to %s:%s failed: %s" +msgstr "到 %s:%s 的 TLS 连接失败:%s" + +#: plugins/sudoers/log_client.c:543 +msgid "TLS initialization was unsuccessful" +msgstr "TLS 初始化不成功" + +#: plugins/sudoers/log_client.c:553 +msgid "TLS handshake was unsuccessful" +msgstr "TLS 握手不成功" + +#: plugins/sudoers/log_client.c:1211 +#, c-format +msgid "%s: internal error, invalid exit status %d" +msgstr "%s:内部错误,无效的退出状态 %d" + +#: plugins/sudoers/log_client.c:1740 plugins/sudoers/log_client.c:1764 +msgid "lost connection to log server" +msgstr "丢失了到日志服务器的连接" + +#: plugins/sudoers/log_client.c:1841 +msgid "missing write buffer" +msgstr "缺失写缓冲" + +#: plugins/sudoers/log_client.c:1995 +msgid "unable to connect to log server" +msgstr "无法连接到日志服务器" + +#: plugins/sudoers/logging.c:290 +msgid "user NOT in sudoers" +msgstr "用户不在 sudoers 中" + +#: plugins/sudoers/logging.c:292 +msgid "user NOT authorized on host" +msgstr "用户未获得此主机上的授权" + +#: plugins/sudoers/logging.c:294 +msgid "command not allowed" +msgstr "命令禁止使用" + +#: plugins/sudoers/logging.c:315 +#, c-format +msgid "%s is not in the sudoers file.\n" +msgstr "%s 不是 sudoers 文件。\n" + +#: plugins/sudoers/logging.c:318 +#, c-format +msgid "%s is not allowed to run sudo on %s.\n" +msgstr "%s 无权在 %s 上运行 sudo。\n" + +#: plugins/sudoers/logging.c:321 +#, c-format +msgid "Sorry, user %s may not run sudo on %s.\n" +msgstr "对不起,用户 %s 不能在 %s 上运行 sudo。\n" + +#: plugins/sudoers/logging.c:324 +#, c-format +msgid "Sorry, user %s is not allowed to execute '%s%s%s' as %s%s%s on %s.\n" +msgstr "对不起,用户 %1$s 无权以 %5$s%6$s%7$s 的身份在 %8$s 上执行 %2$s%3$s%4$s。\n" + +#: plugins/sudoers/logging.c:334 +msgid "This incident has been reported to the administrator.\n" +msgstr "该事件已报告给管理员。\n" + +#: plugins/sudoers/logging.c:365 plugins/sudoers/sudoers.c:648 +#: plugins/sudoers/sudoers.c:650 plugins/sudoers/sudoers.c:652 +#: plugins/sudoers/sudoers.c:654 plugins/sudoers/sudoers.c:805 +#: plugins/sudoers/sudoers.c:807 +#, c-format +msgid "%s: command not found" +msgstr "%s:找不到命令" + +#: plugins/sudoers/logging.c:367 plugins/sudoers/sudoers.c:644 +#, c-format +msgid "" +"ignoring \"%s\" found in '.'\n" +"Use \"sudo ./%s\" if this is the \"%s\" you wish to run." +msgstr "" +"忽略在“.”中找到的“%s”\n" +"请使用“sudo ./%s”,如果这是您想运行的“%s”。" + +#: plugins/sudoers/logging.c:387 +#, c-format +msgid "%u incorrect password attempt" +msgid_plural "%u incorrect password attempts" +msgstr[0] "%u 次错误密码尝试" + +#: plugins/sudoers/logging.c:477 +msgid "authentication failure" +msgstr "认证失败" + +#: plugins/sudoers/logging.c:516 plugins/sudoers/logging.c:535 +msgid "a password is required" +msgstr "需要密码" + +#: plugins/sudoers/logging.c:799 plugins/sudoers/logging.c:811 +msgid "problem parsing sudoers" +msgstr "解析 sudoers 时出现问题" + +#: plugins/sudoers/logging.c:873 plugins/sudoers/logging.c:885 +#, c-format +msgid "%s:%d:%d: %s" +msgstr "%s:%d:%d: %s" + +#: plugins/sudoers/logging.c:1062 +#, c-format +msgid "unable to write log file: %s" +msgstr "无法写入日志文件: %s" + +#: plugins/sudoers/match_digest.c:112 +#, c-format +msgid "digest for %s (%s) bad length %zu, expected %zu" +msgstr "%s(%s) 的摘要具有错误的长度 %zu,期望为 %zu" + +#: plugins/sudoers/match_digest.c:131 +#, c-format +msgid "digest for %s (%s) is not in %s form" +msgstr "%s(%s) 的摘要不是 %s 形式" + +#: plugins/sudoers/parse.c:591 +#, c-format +msgid "" +"\n" +"LDAP Role: %s\n" +msgstr "" +"\n" +"LDAP 角色:%s\n" + +#: plugins/sudoers/parse.c:594 +msgid "" +"\n" +"Sudoers entry:\n" +msgstr "" +"\n" +"Sudoers 条目:\n" + +#: plugins/sudoers/parse.c:596 +msgid " RunAsUsers: " +msgstr " RunAs 用户:" + +#: plugins/sudoers/parse.c:611 +msgid " RunAsGroups: " +msgstr " RunAs 组:" + +#: plugins/sudoers/parse.c:621 +msgid " Options: " +msgstr " 选项:" + +#: plugins/sudoers/parse.c:685 +msgid " Commands:\n" +msgstr " 命令:\n" + +#: plugins/sudoers/parse.c:876 +#, c-format +msgid "Matching Defaults entries for %s on %s:\n" +msgstr "匹配 %2$s 上 %1$s 的默认条目:\n" + +#: plugins/sudoers/parse.c:894 +#, c-format +msgid "Runas and Command-specific defaults for %s:\n" +msgstr "%s Runas 和命令特定的默认值:\n" + +#: plugins/sudoers/parse.c:912 +#, c-format +msgid "User %s may run the following commands on %s:\n" +msgstr "用户 %s 可以在 %s 上运行以下命令:\n" + +#: plugins/sudoers/parse.c:927 +#, c-format +msgid "User %s is not allowed to run sudo on %s.\n" +msgstr "用户 %s 无权在 %s 上运行 sudo。\n" + +#: plugins/sudoers/parse_ldif.c:618 +#, c-format +msgid "ignoring incomplete sudoRole: cn: %s" +msgstr "将忽略不完整的 sudoRole:cn:%s" + +#: plugins/sudoers/parse_ldif.c:678 +#, c-format +msgid "invalid LDIF attribute: %s" +msgstr "无效的 LDIF 属性:%s" + +#: plugins/sudoers/policy.c:81 plugins/sudoers/policy.c:112 +#, c-format +msgid "invalid %.*s set by sudo front-end" +msgstr "sudo 前端设置了无效的 %.*s" + +#: plugins/sudoers/policy.c:358 plugins/sudoers/testsudoers.c:268 +msgid "unable to parse network address list" +msgstr "无法解析网络地址列表" + +#: plugins/sudoers/policy.c:526 +msgid "user name not set by sudo front-end" +msgstr "用户名未通过 sudo 前端设置" + +#: plugins/sudoers/policy.c:530 +msgid "user-ID not set by sudo front-end" +msgstr "用户 ID 未通过 sudo 前端设置" + +#: plugins/sudoers/policy.c:534 +msgid "group-ID not set by sudo front-end" +msgstr "组 ID 未通过 sudo 前端设置" + +#: plugins/sudoers/policy.c:538 +msgid "host name not set by sudo front-end" +msgstr "主机名未通过 sudo 前端设置" + +#: plugins/sudoers/policy.c:730 +#, c-format +msgid "invalid working directory: %s" +msgstr "无效的工作目录:%s" + +#: plugins/sudoers/policy.c:914 +#, c-format +msgid "invalid chroot directory: %s" +msgstr "无法的 chroot 目录:%s" + +#: plugins/sudoers/policy.c:1101 plugins/sudoers/visudo.c:259 +#: plugins/sudoers/visudo.c:902 +#, c-format +msgid "unable to execute %s" +msgstr "无法执行 %s" + +#: plugins/sudoers/policy.c:1171 plugins/sudoers/policy.c:1208 +#: plugins/sudoers/policy.c:1230 plugins/sudoers/policy.c:1256 +#, c-format +msgid "%s: invalid mode flags from sudo front end: 0x%x" +msgstr "%s:sudo 前端无效的模式标志位:0x%x" + +#: plugins/sudoers/policy.c:1292 +#, c-format +msgid "Sudoers policy plugin version %s\n" +msgstr "Sudoers 策略插件版本 %s\n" + +#: plugins/sudoers/policy.c:1294 +#, c-format +msgid "Sudoers file grammar version %d\n" +msgstr "Sudoers 文件语法版本 %d\n" + +#: plugins/sudoers/policy.c:1298 +#, c-format +msgid "" +"\n" +"Sudoers path: %s\n" +msgstr "" +"\n" +"Sudoers 路径:%s\n" + +#: plugins/sudoers/policy.c:1301 +#, c-format +msgid "nsswitch path: %s\n" +msgstr "nsswitch 路径:%s\n" + +#: plugins/sudoers/policy.c:1303 +#, c-format +msgid "ldap.conf path: %s\n" +msgstr "ldap.conf 路径:%s\n" + +#: plugins/sudoers/policy.c:1304 +#, c-format +msgid "ldap.secret path: %s\n" +msgstr "ldap.secret 路径:%s\n" + +#: plugins/sudoers/policy.c:1337 +#, c-format +msgid "unable to register hook of type %d (version %d.%d)" +msgstr "无法注册类型为 %d 的钩子(hook)(版本 %d.%d)" + +#: plugins/sudoers/policy.c:1355 +#, c-format +msgid "unable to deregister hook of type %d (version %d.%d)" +msgstr "无法取消注册类型为 %d 的钩子(hook)(版本 %d.%d)" + +#: plugins/sudoers/pwutil.c:222 plugins/sudoers/pwutil.c:240 +#, c-format +msgid "unable to cache uid %u" +msgstr "无法缓存用户 ID %u" + +#: plugins/sudoers/pwutil.c:234 +#, c-format +msgid "unable to cache uid %u, already exists" +msgstr "无法缓存用户 ID %u,已存在" + +#: plugins/sudoers/pwutil.c:294 plugins/sudoers/pwutil.c:312 +#: plugins/sudoers/pwutil.c:375 plugins/sudoers/pwutil.c:420 +#, c-format +msgid "unable to cache user %s" +msgstr "无法缓存用户 %s" + +#: plugins/sudoers/pwutil.c:307 +#, c-format +msgid "unable to cache user %s, already exists" +msgstr "无法缓存用户 %s,已存在" + +#: plugins/sudoers/pwutil.c:539 plugins/sudoers/pwutil.c:557 +#, c-format +msgid "unable to cache gid %u" +msgstr "无法缓存组 ID %u" + +#: plugins/sudoers/pwutil.c:551 +#, c-format +msgid "unable to cache gid %u, already exists" +msgstr "无法缓存组 ID %u,已存在" + +#: plugins/sudoers/pwutil.c:605 plugins/sudoers/pwutil.c:623 +#: plugins/sudoers/pwutil.c:684 plugins/sudoers/pwutil.c:733 +#, c-format +msgid "unable to cache group %s" +msgstr "无法缓存组 %s" + +#: plugins/sudoers/pwutil.c:618 +#, c-format +msgid "unable to cache group %s, already exists" +msgstr "无法缓存组 %s,已存在" + +#: plugins/sudoers/pwutil.c:880 plugins/sudoers/pwutil.c:931 +#: plugins/sudoers/pwutil.c:981 plugins/sudoers/pwutil.c:1033 +#, c-format +msgid "unable to cache group list for %s, already exists" +msgstr "无法缓存组列表 %s,已存在" + +#: plugins/sudoers/pwutil.c:886 plugins/sudoers/pwutil.c:936 +#: plugins/sudoers/pwutil.c:987 plugins/sudoers/pwutil.c:1038 +#, c-format +msgid "unable to cache group list for %s" +msgstr "无法缓存组列表 %s" + +#: plugins/sudoers/pwutil.c:925 +#, c-format +msgid "unable to parse groups for %s" +msgstr "无法对 %s 解析组" + +#: plugins/sudoers/pwutil.c:1027 +#, c-format +msgid "unable to parse gids for %s" +msgstr "无法解析 %s 的组 ID" + +#: plugins/sudoers/set_perms.c:114 plugins/sudoers/set_perms.c:445 +#: plugins/sudoers/set_perms.c:852 plugins/sudoers/set_perms.c:1162 +#: plugins/sudoers/set_perms.c:1460 +msgid "perm stack overflow" +msgstr "权限堆栈上溢" + +#: plugins/sudoers/set_perms.c:125 plugins/sudoers/set_perms.c:376 +#: plugins/sudoers/set_perms.c:456 plugins/sudoers/set_perms.c:719 +#: plugins/sudoers/set_perms.c:863 plugins/sudoers/set_perms.c:1086 +#: plugins/sudoers/set_perms.c:1173 plugins/sudoers/set_perms.c:1393 +#: plugins/sudoers/set_perms.c:1471 plugins/sudoers/set_perms.c:1562 +msgid "perm stack underflow" +msgstr "权限堆栈下溢" + +#: plugins/sudoers/set_perms.c:185 plugins/sudoers/set_perms.c:503 +#: plugins/sudoers/set_perms.c:1227 plugins/sudoers/set_perms.c:1505 +msgid "unable to change to root gid" +msgstr "无法切换为 root 组 ID" + +#: plugins/sudoers/set_perms.c:276 plugins/sudoers/set_perms.c:600 +#: plugins/sudoers/set_perms.c:995 plugins/sudoers/set_perms.c:1304 +msgid "unable to change to runas gid" +msgstr "无法切换为 runas 组 ID" + +#: plugins/sudoers/set_perms.c:281 plugins/sudoers/set_perms.c:605 +#: plugins/sudoers/set_perms.c:1000 plugins/sudoers/set_perms.c:1309 +msgid "unable to set runas group vector" +msgstr "无法设置 runas 组向量" + +#: plugins/sudoers/set_perms.c:292 plugins/sudoers/set_perms.c:616 +#: plugins/sudoers/set_perms.c:1009 plugins/sudoers/set_perms.c:1318 +msgid "unable to change to runas uid" +msgstr "无法切换为 runas 用户 ID" + +#: plugins/sudoers/set_perms.c:310 plugins/sudoers/set_perms.c:634 +#: plugins/sudoers/set_perms.c:1025 plugins/sudoers/set_perms.c:1334 +msgid "unable to change to sudoers gid" +msgstr "无法切换为 sudoers 组 ID" + +#: plugins/sudoers/set_perms.c:363 plugins/sudoers/set_perms.c:706 +#: plugins/sudoers/set_perms.c:1073 plugins/sudoers/set_perms.c:1380 +#: plugins/sudoers/set_perms.c:1549 +msgid "too many processes" +msgstr "进程过多" + +#: plugins/sudoers/solaris_audit.c:61 +msgid "unable to get current working directory" +msgstr "无法获取当前工作目录" + +#: plugins/sudoers/solaris_audit.c:69 +#, c-format +msgid "truncated audit path user_cmnd: %s" +msgstr "截断的审核路径 user_cmnd:%s" + +#: plugins/sudoers/solaris_audit.c:76 +#, c-format +msgid "truncated audit path argv[0]: %s" +msgstr "截断的审核路径 argv[0]:%s" + +#: plugins/sudoers/sssd.c:579 +msgid "unable to initialize SSS source. Is SSSD installed on your machine?" +msgstr "无法初始化 SSS 资源。您的计算机上安装 SSSD 了吗?" + +#: plugins/sudoers/sssd.c:587 plugins/sudoers/sssd.c:596 +#: plugins/sudoers/sssd.c:605 plugins/sudoers/sssd.c:614 +#: plugins/sudoers/sssd.c:623 +#, c-format +msgid "unable to find symbol \"%s\" in %s" +msgstr "无法在 %s 中找到符号“%s”" + +#: plugins/sudoers/sudoers.c:263 +#, fuzzy, c-format +#| msgid "unable to parse gids for %s" +msgid "unable to get defaults from %s" +msgstr "无法解析 %s 的组 ID" + +#: plugins/sudoers/sudoers.c:270 +msgid "no valid sudoers sources found, quitting" +msgstr "没有找到有效的 sudoers 资源,退出" + +#: plugins/sudoers/sudoers.c:346 +#, c-format +msgid "user not allowed to change root directory to %s" +msgstr "用户不允许将根目录设置为 %s" + +#: plugins/sudoers/sudoers.c:348 +#, c-format +msgid "you are not permitted to use the -R option with %s" +msgstr "您无权和 %s 一起使用 -R 选项" + +#: plugins/sudoers/sudoers.c:373 +#, c-format +msgid "user not allowed to change directory to %s" +msgstr "用户不允许将目录变更为 %s" + +#: plugins/sudoers/sudoers.c:374 +#, c-format +msgid "you are not permitted to use the -D option with %s" +msgstr "您无权和 %s 一起使用 -D 选项" + +#: plugins/sudoers/sudoers.c:401 +msgid "no command specified" +msgstr "未指定命令" + +#: plugins/sudoers/sudoers.c:426 +msgid "sudoers specifies that root is not allowed to sudo" +msgstr "sudoers 指定 root 不允许执行 sudo" + +#: plugins/sudoers/sudoers.c:476 +msgid "user not allowed to override closefrom limit" +msgstr "" + +#: plugins/sudoers/sudoers.c:477 +msgid "you are not permitted to use the -C option" +msgstr "您无权使用 -C 选项" + +#: plugins/sudoers/sudoers.c:537 +#, c-format +msgid "timestamp owner (%s): No such user" +msgstr "时间戳所有者(%s):无此用户" + +#: plugins/sudoers/sudoers.c:552 +msgid "no tty" +msgstr "无终端" + +#: plugins/sudoers/sudoers.c:553 +msgid "sorry, you must have a tty to run sudo" +msgstr "抱歉,您必须拥有一个终端来执行 sudo" + +#: plugins/sudoers/sudoers.c:560 +#, c-format +msgid "invalid shell for user %s: %s" +msgstr "用户 %s 的无效 shell:%s" + +#: plugins/sudoers/sudoers.c:643 +msgid "command in current directory" +msgstr "当前目录中的命令" + +#: plugins/sudoers/sudoers.c:658 +msgid "\"cd\" is a shell built-in command, it cannot be run directly." +msgstr "“cd”是 shell 内置命令,它无法直接运行。" + +#: plugins/sudoers/sudoers.c:660 +msgid "the -s option may be used to run a privileged shell." +msgstr "-s 选项必须在特权 shell 中使用。" + +#: plugins/sudoers/sudoers.c:662 +msgid "the -D option may be used to run a command in a specific directory." +msgstr "" + +#: plugins/sudoers/sudoers.c:671 +msgid "user not allowed to set a command timeout" +msgstr "不允许用户设置超时时间" + +#: plugins/sudoers/sudoers.c:673 +msgid "sorry, you are not allowed set a command timeout" +msgstr "抱歉,您无权设置超时时间" + +#: plugins/sudoers/sudoers.c:681 +msgid "user not allowed to preserve the environment" +msgstr "不允许用户保留环境" + +#: plugins/sudoers/sudoers.c:683 +msgid "sorry, you are not allowed to preserve the environment" +msgstr "抱歉,您无权保留环境" + +#: plugins/sudoers/sudoers.c:1073 +msgid "sudoedit doesn't need to be run via sudo" +msgstr "sudoedit 无需经由 sudo 运行" + +#: plugins/sudoers/sudoers.c:1118 plugins/sudoers/sudoreplay.c:1584 +#: plugins/sudoers/tsdump.c:138 +#, c-format +msgid "unable to read %s" +msgstr "无法读取 %s" + +#: plugins/sudoers/sudoers.c:1147 plugins/sudoers/visudo.c:1064 +#, c-format +msgid "%s is not a regular file" +msgstr "%s 不是常规文件" + +#: plugins/sudoers/sudoers.c:1151 plugins/sudoers/timestamp.c:263 toke.l:1247 +#, c-format +msgid "%s is owned by uid %u, should be %u" +msgstr "%s 属于用户 ID %u,应为 %u" + +#: plugins/sudoers/sudoers.c:1155 plugins/sudoers/timestamp.c:270 toke.l:1252 +#, c-format +msgid "%s is world writable" +msgstr "%s 可被任何人写" + +#: plugins/sudoers/sudoers.c:1159 plugins/sudoers/timestamp.c:275 toke.l:1255 +#, c-format +msgid "%s is owned by gid %u, should be %u" +msgstr "%s 属于组 ID %u,应为 %u" + +#: plugins/sudoers/sudoers.c:1194 +#, c-format +msgid "only root can use \"-c %s\"" +msgstr "只有 root 才能使用“-c %s”" + +#: plugins/sudoers/sudoers.c:1213 +#, c-format +msgid "unknown login class %s" +msgstr "未知的登录类别 %s" + +#: plugins/sudoers/sudoers.c:1300 plugins/sudoers/sudoers.c:1315 +#, c-format +msgid "unable to resolve host %s" +msgstr "无法解析主机:%s" + +#: plugins/sudoers/sudoreplay.c:259 +#, c-format +msgid "invalid filter option: %s" +msgstr "无效的过滤器选项:%s" + +#: plugins/sudoers/sudoreplay.c:275 +#, c-format +msgid "invalid max wait: %s" +msgstr "无效的最大等待:%s" + +#: plugins/sudoers/sudoreplay.c:298 +#, c-format +msgid "invalid speed factor: %s" +msgstr "无法的速度系数:%s" + +#: plugins/sudoers/sudoreplay.c:333 +#, c-format +msgid "invalid time offset %s" +msgstr "无效的时间偏移量 %s" + +#: plugins/sudoers/sudoreplay.c:342 +#, c-format +msgid "%s/%.2s/%.2s/%.2s: %s" +msgstr "%s/%.2s/%.2s/%.2s: %s" + +#: plugins/sudoers/sudoreplay.c:347 +#, c-format +msgid "%s/timing: %s" +msgstr "%s/时序:%s" + +#: plugins/sudoers/sudoreplay.c:375 +#, c-format +msgid "Replaying sudo session: %s" +msgstr "回放 sudo 会话:%s" + +#: plugins/sudoers/sudoreplay.c:637 +msgid "unable to set tty to raw mode" +msgstr "无法将终端设为原始模式" + +#: plugins/sudoers/sudoreplay.c:688 +msgid "Warning: your terminal is too small to properly replay the log.\n" +msgstr "警告:您的终端尺寸太小,不能正常地回放日志。\n" + +#: plugins/sudoers/sudoreplay.c:689 +#, c-format +msgid "Log geometry is %d x %d, your terminal's geometry is %d x %d." +msgstr "日志的几何尺寸为 %dx%d,您终端的几何尺寸为 %dx%d。" + +#: plugins/sudoers/sudoreplay.c:717 +msgid "Replay finished, press any key to restore the terminal." +msgstr "回放完成,请按任意键返回终端。" + +#: plugins/sudoers/sudoreplay.c:1219 plugins/sudoers/sudoreplay.c:1249 +#, c-format +msgid "ambiguous expression \"%s\"" +msgstr "有歧义的表达式“%s”" + +#: plugins/sudoers/sudoreplay.c:1271 +msgid "unmatched ')' in expression" +msgstr "表达式中的“)”不匹配" + +#: plugins/sudoers/sudoreplay.c:1275 +#, c-format +msgid "unknown search term \"%s\"" +msgstr "未知的搜索词“%s”" + +#: plugins/sudoers/sudoreplay.c:1290 +#, c-format +msgid "%s requires an argument" +msgstr "%s 需要参数" + +#: plugins/sudoers/sudoreplay.c:1300 +#, c-format +msgid "could not parse date \"%s\"" +msgstr "无法解析日期“%s”" + +#: plugins/sudoers/sudoreplay.c:1309 +msgid "unmatched '(' in expression" +msgstr "表达式中的“(”不匹配" + +#: plugins/sudoers/sudoreplay.c:1311 +msgid "illegal trailing \"or\"" +msgstr "非法的结尾字符“or”" + +#: plugins/sudoers/sudoreplay.c:1313 +msgid "illegal trailing \"!\"" +msgstr "非法的结尾字符“!”" + +#: plugins/sudoers/sudoreplay.c:1371 +#, c-format +msgid "unknown search type %d" +msgstr "未知的搜索类型 %d" + +#: plugins/sudoers/sudoreplay.c:1650 +#, c-format +msgid "usage: %s [-hnRS] [-d dir] [-m num] [-s num] ID\n" +msgstr "用法:%s [-hnRS] [-d 目录] [-m 数值] [-s 数值] ID\n" + +#: plugins/sudoers/sudoreplay.c:1652 +#, c-format +msgid "usage: %s [-h] [-d dir] -l [search expression]\n" +msgstr "用法:%s [-h] [-d 目录] -l [搜索表达式]\n" + +#: plugins/sudoers/sudoreplay.c:1666 +#, c-format +msgid "" +"%s - replay sudo session logs\n" +"\n" +msgstr "" +"%s - 回放 sudo 会话记录\n" +"\n" + +#: plugins/sudoers/sudoreplay.c:1668 +msgid "" +"\n" +"Options:\n" +" -d, --directory=dir specify directory for session logs\n" +" -f, --filter=filter specify which I/O type(s) to display\n" +" -h, --help display help message and exit\n" +" -l, --list list available session IDs, with optional expression\n" +" -m, --max-wait=num max number of seconds to wait between events\n" +" -n, --non-interactive no prompts, session is sent to the standard output\n" +" -R, --no-resize do not attempt to re-size the terminal\n" +" -S, --suspend-wait wait while the command was suspended\n" +" -s, --speed=num speed up or slow down output\n" +" -V, --version display version information and exit" +msgstr "" +"\n" +"选项:\n" +" -d, --directory=目录 指定会话日志目录\n" +" -f, --filter=过滤器 指定要显示的 I/O 类型\n" +" -h, --help 显示帮助信息并退出\n" +" -l, --list 列出可用会话 ID,可加表达式限定\n" +" -m, --max-wait=数值 事件间等待的最大秒数\n" +" -n, --non-interactive 不进行提示,会话由标准输出送出\n" +" -R, --no-resize 不要尝试改变终端尺寸\n" +" -S, --suspend-wait 在命令挂起时等待\n" +" -s, --speed=数值 加速或减慢输出\n" +" -V, --version 显示版本信息并退出" + +#: plugins/sudoers/testsudoers.c:344 +msgid "\thost unmatched" +msgstr "\t主机不匹配" + +#: plugins/sudoers/testsudoers.c:347 +msgid "" +"\n" +"Command allowed" +msgstr "" +"\n" +"命令允许" + +#: plugins/sudoers/testsudoers.c:348 +msgid "" +"\n" +"Command denied" +msgstr "" +"\n" +"命令被拒" + +#: plugins/sudoers/testsudoers.c:348 +msgid "" +"\n" +"Command unmatched" +msgstr "" +"\n" +"命令不匹配" + +#: plugins/sudoers/timestamp.c:354 plugins/sudoers/timestamp.c:693 +#, c-format +msgid "unable to truncate time stamp file to %lld bytes" +msgstr "无法将时间戳文件截短为 %lld 字节" + +#: plugins/sudoers/timestamp.c:890 +msgid "ignoring time stamp from the future" +msgstr "将忽略超前的时间戳" + +#: plugins/sudoers/timestamp.c:913 +#, c-format +msgid "time stamp too far in the future: %20.20s" +msgstr "时间戳太超前:%20.20s" + +#: plugins/sudoers/timestamp.c:1042 +#, c-format +msgid "unable to lock time stamp file %s" +msgstr "无法锁定时间戳文件 %s" + +#: plugins/sudoers/toke_util.c:156 +msgid "sudoedit should not be specified with a path" +msgstr "不应当带路径调用 sudoedit" + +#: plugins/sudoers/visudo.c:254 +msgid "the -x option will be removed in a future release" +msgstr "未来版本中 -x 选项会移除" + +#: plugins/sudoers/visudo.c:256 +msgid "please consider using the cvtsudoers utility instead" +msgstr "请考虑换用 cvtsudoers 工具" + +#: plugins/sudoers/visudo.c:311 plugins/sudoers/visudo.c:698 +#, c-format +msgid "press return to edit %s: " +msgstr "按回车键编辑 %s:" + +#: plugins/sudoers/visudo.c:326 +#, c-format +msgid "contents of edit session left in %s" +msgstr "" + +#: plugins/sudoers/visudo.c:402 +#, c-format +msgid "specified editor (%s) doesn't exist" +msgstr "指定的编辑器(%s)不存在" + +#: plugins/sudoers/visudo.c:404 +#, c-format +msgid "no editor found (editor path = %s)" +msgstr "未找到编辑器(编辑器路径 = %s)" + +#: plugins/sudoers/visudo.c:491 plugins/sudoers/visudo.c:770 +#, c-format +msgid "unable to stat %s" +msgstr "无法 stat %s" + +#: plugins/sudoers/visudo.c:511 plugins/sudoers/visudo.c:519 +msgid "write error" +msgstr "写错误" + +#: plugins/sudoers/visudo.c:565 +#, c-format +msgid "unable to stat temporary file (%s), %s unchanged" +msgstr "无法 stat 临时文件(%s),%s 未更改" + +#: plugins/sudoers/visudo.c:572 +#, c-format +msgid "zero length temporary file (%s), %s unchanged" +msgstr "零长度的临时文件(%s),%s 未更改" + +#: plugins/sudoers/visudo.c:578 +#, c-format +msgid "editor (%s) failed, %s unchanged" +msgstr "编辑器(%s)失败,%s 未更改" + +#: plugins/sudoers/visudo.c:600 +#, c-format +msgid "%s unchanged" +msgstr "%s 未更改" + +#: plugins/sudoers/visudo.c:645 +#, c-format +msgid "unable to re-open temporary file (%s), %s unchanged." +msgstr "无法重新打开临时文件(%s),%s 未更改。" + +#: plugins/sudoers/visudo.c:658 +#, c-format +msgid "unable to parse temporary file (%s), unknown error" +msgstr "无法解析临时文件(%s),未知错误" + +#: plugins/sudoers/visudo.c:744 plugins/sudoers/visudo.c:774 +#: plugins/sudoers/visudo.c:781 +#, c-format +msgid "unable to set (uid, gid) of %s to (%u, %u)" +msgstr "无法将 %s 的 (uid, gid) 设为 (%u, %u)" + +#: plugins/sudoers/visudo.c:809 +#, c-format +msgid "%s and %s not on the same file system, using mv to rename" +msgstr "%s 和 %s 不在同一个文件系统,使用 mv 进行重命名" + +#: plugins/sudoers/visudo.c:820 +#, c-format +msgid "command failed: '%s %s %s', %s unchanged" +msgstr "命令失败:“%s %s %s”,%s 未更改" + +#: plugins/sudoers/visudo.c:827 +#, c-format +msgid "error renaming %s, %s unchanged" +msgstr "重命名 %s 出错,%s 未更改" + +#: plugins/sudoers/visudo.c:847 +msgid "What now? " +msgstr "现在做什么?" + +#: plugins/sudoers/visudo.c:861 +msgid "" +"Options are:\n" +" (e)dit sudoers file again\n" +" e(x)it without saving changes to sudoers file\n" +" (Q)uit and save changes to sudoers file (DANGER!)\n" +msgstr "" +"选项有:\n" +" 重新编辑 sudoers 文件(e)\n" +" 退出,不保存对 sudoers 文件的更改(x)\n" +" 退出并将更改保存到 sudoers 文件(危险!)(Q)\n" + +#: plugins/sudoers/visudo.c:907 +#, c-format +msgid "unable to run %s" +msgstr "无法运行 %s" + +#: plugins/sudoers/visudo.c:938 +#, c-format +msgid "%s: wrong owner (uid, gid) should be (%u, %u)\n" +msgstr "%s:错误的所有者(uid, gid),应为 (%u, %u)\n" + +#: plugins/sudoers/visudo.c:949 +#, c-format +msgid "%s: bad permissions, should be mode 0%o\n" +msgstr "%s:权限不正确,模式应该是 0%o\n" + +#: plugins/sudoers/visudo.c:997 plugins/sudoers/visudo.c:1004 +#, c-format +msgid "%s: parsed OK\n" +msgstr "%s:解析正确\n" + +#: plugins/sudoers/visudo.c:1023 +#, c-format +msgid "%s busy, try again later" +msgstr "%s 忙,请稍后重试" + +#: plugins/sudoers/visudo.c:1027 +msgid "Edit anyway? [y/N]" +msgstr "仍然编辑?[y/N]" + +#: plugins/sudoers/visudo.c:1128 +#, c-format +msgid "Warning: %s:%d:%d: unused %s \"%s\"" +msgstr "警告:%s:%d:%d:未使用的 %s“%s”" + +#: plugins/sudoers/visudo.c:1240 +#, c-format +msgid "" +"%s - safely edit the sudoers file\n" +"\n" +msgstr "" +"%s - 安全地编辑 sudoers 文件\n" +"\n" + +#: plugins/sudoers/visudo.c:1242 +msgid "" +"\n" +"Options:\n" +" -c, --check check-only mode\n" +" -f, --file=sudoers specify sudoers file location\n" +" -h, --help display help message and exit\n" +" -I, --no-includes do not edit include files\n" +" -q, --quiet less verbose (quiet) syntax error messages\n" +" -s, --strict strict syntax checking\n" +" -V, --version display version information and exit\n" +msgstr "" +"\n" +"选项:\n" +" -c, --check 纯检查模式\n" +" -f, --file=sudoers 指定 sudoers 文件的位置\n" +" -h, --help 显示帮助信息并退出\n" +" -I, --no-includes 不要编辑 include 文件\n" +" -q, --quiet 较简略(安静)的语法错误信息\n" +" -s, --strict 严格语法检查\n" +" -V, --version 显示版本信息并退出\n" + +#: toke.l:189 +msgid "empty string" +msgstr "空字符串" + +#: toke.l:201 toke.l:571 +msgid "empty group" +msgstr "空组" + +#: toke.l:211 toke.l:569 +msgid "empty netgroup" +msgstr "" + +#: toke.l:289 +msgid "unterminated regular expression" +msgstr "未结束的正则表达式" + +#: toke.l:363 toke.l:375 toke.l:387 toke.l:403 toke.l:422 toke.l:462 +#, fuzzy +#| msgid "invalid authentication type" +msgid "invalid line continuation" +msgstr "无效的认证类型" + +#: toke.l:608 toke.l:620 +msgid "invalid IPv6 address" +msgstr "无效的 IPv6 地址" + +#: toke.l:868 +msgid "unexpected line break in string" +msgstr "字符串中未预期的换行" + +#: toke.l:1218 +msgid "too many levels of includes" +msgstr "include 嵌套层数过多" + +#~ msgid "Error: %s:%d:%d: cycle in %s \"%s\"" +#~ msgstr "错误:%s:%d:%d 在 %s “%s”中循环" + +#~ msgid "Warning: %s:%d:%d: cycle in %s \"%s\"" +#~ msgstr "警告:%s:%d:%d 在 %s “%s”中循环" + +#~ msgid "Warning: %s:%d:%d: %s \"%s\" referenced but not defined" +#~ msgstr "警告:%s:%d:%d:引用了 %s“%s”但尚未定义" + +#~ msgid "parse error in %s near line %d\n" +#~ msgstr "%s 中第 %d 行附近出现解析错误\n" + +#~ msgid "parse error in %s\n" +#~ msgstr "%s 中出现解析错误\n" + +#~ msgid "%s: unknown defaults entry \"%s\"" +#~ msgstr "%s:未知的默认条目“%s”" + +#~ msgid "%s:%d:%d: no value specified for \"%s\"" +#~ msgstr "%s:%d:%d:没有为“%s”指定值" + +#, fuzzy +#~| msgid "%s:%d no value specified for \"%s\"" +#~ msgid "%s:%d:%d: invalid operator \"%c=\" for \"%s\"" +#~ msgstr "%s:%d 没有给“%s”指定值" + +#~ msgid "%s:%d:%d: option \"%s\" does not take a value" +#~ msgstr "%s:%d:%d:选项“%s”不接受值" + +#, fuzzy +#~| msgid "%s:%d invalid Defaults type 0x%x for option \"%s\"" +#~ msgid "%s:%d:%d: invalid Defaults type 0x%x for option \"%s\"" +#~ msgstr "%1$s:%2$d 选项“%4$s”的默认类型 0x%3$x 无效" + +#, fuzzy +#~| msgid "%s:%d value \"%s\" is invalid for option \"%s\"" +#~ msgid "%s:%d:%d: value \"%s\" is invalid for option \"%s\"" +#~ msgstr "%1$s:%2$d 值“%3$s”对选项“%4$s”无效" + +#~ msgid "%s:%d:%d: path name for \"%s\" too long" +#~ msgstr "%s:%d:%d:“%s”的路径名过长" + +#~ msgid "%s: path name for \"%s\" too long" +#~ msgstr "%s:“%s”的路径名过长" + +#, fuzzy +#~| msgid "%s:%d values for \"%s\" must start with a '/'" +#~ msgid "%s:%d:%d: values for \"%s\" must start with a '/', '~', or '*'" +#~ msgstr "%s:%d “%s”的值必须以“/”开头" + +#, fuzzy +#~| msgid "%s:%d values for \"%s\" must start with a '/'" +#~ msgid "%s:%d:%d: values for \"%s\" must start with a '/'" +#~ msgstr "%s:%d “%s”的值必须以“/”开头" + +#~ msgid "parse error in %s near line %d" +#~ msgstr "%s 中第 %d 行附近有解析错误" + +#~ msgid "parse error in %s" +#~ msgstr "%s 中出现解析错误" + +#~ msgid "SELinux RBAC is not supported when the log_subcmds flag is enabled" +#~ msgstr "在 log_subcmds 启用时不支持 SELinux RBAC" + +#~ msgid "problem with defaults entries" +#~ msgstr "默认条目有问题" + +#~ msgid "%s is group writable" +#~ msgstr "%s 可被组写" + +#~ msgid "lecture status path too long: %s/%s" +#~ msgstr "致辞(lecture)状态路径过长:%s/%s" + +#~ msgid "internal error, unable to find %s in list!" +#~ msgstr "内部错误,在列表中找不到 %s!" + +#~ msgid "%s is not in the sudoers file. This incident will be reported.\n" +#~ msgstr "%s 不在 sudoers 文件中。此事将被报告。\n" + +#~ msgid "%s is not allowed to run sudo on %s. This incident will be reported.\n" +#~ msgstr "%s 无权在 %s 上运行 sudo。此事将被报告。\n" + +#~ msgid "%s: write buffer already in use" +#~ msgstr "%s:写缓冲已在使用" + +#~ msgid "unable to read diffie-hellman parameters: %s" +#~ msgstr "无法读取 diffie-hellman 参数:%s" + +#~ msgid "%s:%d unknown key: %s" +#~ msgstr "%s:%d 未知的键:%s" + +#~ msgid "unable to get TLS server method: %s" +#~ msgstr "无法获取 TLS 服务器方法:%s" + +#~ msgid "%s:%u unable to parse \"%s\"" +#~ msgstr "%s:%u 无法解析 \"%s\"" + +#~ msgid "" +#~ "\n" +#~ "Options:\n" +#~ " -f, --file path to configuration file\n" +#~ " -h --help display help message and exit\n" +#~ " -n, --no-fork do not fork, run in the foreground\n" +#~ " -R, --random-drop percent chance connections will drop\n" +#~ " -V, --version display version information and exit\n" +#~ msgstr "" +#~ "\n" +#~ "选项:\n" +#~ " -f, --file 指定配置文件的位置\n" +#~ " -h, --help 显示帮助信息并退出\n" +#~ " -n, --no-fork 不要进行 fork,在前台运行\n" +#~ " -R, --random-drop 指定丢弃连接的百分比概率\n" +#~ " -V, --version 显示版本信息并退出\n" + +#~ msgid "Preload the dummy exec functions contained in the sudo_noexec library" +#~ msgstr "预加载“sudo_noexec”库中包含的哑 exec 函数" + +#~ msgid "sudo_ldap_conf_add_ports: port too large" +#~ msgstr "sudo_ldap_conf_add_ports:端口太大" + +#~ msgid "No user or host" +#~ msgstr "无用户或主机" + +#~ msgid "validation failure" +#~ msgstr "校验失败" + +#~ msgid "audit_failure message too long" +#~ msgstr "audit_failure(审核失败)消息过长" + +#~ msgid "%s/%s/timing: %s" +#~ msgstr "%s/%s/时序:%s" + +#~ msgid "ignoring invalid attribute value: %s" +#~ msgstr "将忽略无效的属性值:%s" + +#~ msgid "unable to cache user %s, out of memory" +#~ msgstr "无法缓存用户 %s,内存不足" + +#~ msgid "unable to cache group %s, out of memory" +#~ msgstr "无法缓存组 %s,内存不足" + +#~ msgid "unable to cache group list for %s, out of memory" +#~ msgstr "无法缓存组列表 %s,内存不足" + +#~ msgid "" +#~ "\n" +#~ "LDAP Role: UNKNOWN\n" +#~ msgstr "" +#~ "\n" +#~ "LDAP 角色:未知\n" + +#~ msgid " Order: %s\n" +#~ msgstr " 顺序:%s\n" + +#~ msgid "" +#~ "\n" +#~ "SSSD Role: %s\n" +#~ msgstr "" +#~ "\n" +#~ "SSSD 角色:%s\n" + +#~ msgid "" +#~ "\n" +#~ "SSSD Role: UNKNOWN\n" +#~ msgstr "" +#~ "\n" +#~ "SSSD 角色:未知\n" + +#~ msgid "Warning: unused %s `%s'" +#~ msgstr "警告:%s “%s”未使用" + +#~ msgid "unable allocate memory" +#~ msgstr "无法分配内存" + +#~ msgid "timestamp path too long: %s/%s" +#~ msgstr "时间戳路径过长:%s/%s" + +#~ msgid "unable to stat editor (%s)" +#~ msgstr "无法 stat 编辑器(%s)" + +#~ msgid "sudo_ldap_conf_add_ports: out of space expanding hostbuf" +#~ msgstr "sudo_ldap_conf_add_ports:扩展主机缓存时空间不足" + +#~ msgid "sudo_ldap_parse_uri: out of space building hostbuf" +#~ msgstr "sudo_ldap_parse_uri:构建主机缓存时空间不足" + +#~ msgid "sudo_ldap_build_pass1 allocation mismatch" +#~ msgstr "sudo_ldap_build_pass1 分配不匹配" + +#~ msgid "Password:" +#~ msgstr "密码:" + +#~ msgid "internal error: insufficient space for log line" +#~ msgstr "内部错误:没有足够的空间存放日志行" + +#~ msgid "fill_args: buffer overflow" +#~ msgstr "fill_args:缓存溢出" + +#~ msgid "%s owned by uid %u, should be uid %u" +#~ msgstr "%s 属于用户 ID %u,应为用户 ID %u" + +#~ msgid "%s writable by non-owner (0%o), should be mode 0700" +#~ msgstr "%s 对非所有者可写(0%o),模式应该为 0700" + +#~ msgid "%s exists but is not a regular file (0%o)" +#~ msgstr "%s 存在,但不是常规文件(0%o)" + +#~ msgid "%s writable by non-owner (0%o), should be mode 0600" +#~ msgstr "%s 对非所有者可写(0%o),模式应该为 0600" + +#~ msgid "unable to remove %s, will reset to the Unix epoch" +#~ msgstr "无法移除 %s ,将重设为 Unix 戳记" + +#~ msgid "unable to reset %s to the Unix epoch" +#~ msgstr "无法将 %s 重设为 Unix 戳记" + +#~ msgid "value out of range" +#~ msgstr "值超出范围" + +#~ msgid "unable to mix ldaps and starttls" +#~ msgstr "无法混合 ldaps 和 starttls" + +#~ msgid "writing to standard output" +#~ msgstr "写入标准输出" + +#~ msgid "too many parenthesized expressions, max %d" +#~ msgstr "括号表达式过多,最多 %d" + +#~ msgid "getaudit: failed" +#~ msgstr "getaudit:失败" + +#~ msgid "getauid: failed" +#~ msgstr "getauid:失败" + +#~ msgid "au_to_subject: failed" +#~ msgstr "au_to_subject:失败" + +#~ msgid "au_to_exec_args: failed" +#~ msgstr "au_to_exec_args:失败" + +#~ msgid "au_to_return32: failed" +#~ msgstr "au_to_return32:失败" + +#~ msgid "au_to_text: failed" +#~ msgstr "au_to_text:失败" + +#~ msgid "nanosleep: tv_sec %ld, tv_nsec %ld" +#~ msgstr "nanosleep:tv_sec %ld,tv_nsec %ld" + +#~ msgid "pam_chauthtok: %s" +#~ msgstr "pam_chauthtok:%s" + +#~ msgid "pam_authenticate: %s" +#~ msgstr "pam_authenticate:%s" + +#~ msgid "getauid failed" +#~ msgstr "getauid 失败" + +#~ msgid "Unable to dlopen %s: %s" +#~ msgstr "无法执行 dlopen %s:%s" + +#~ msgid ">>> %s: %s near line %d <<<" +#~ msgstr ">>> %s:%s 在行 %d 附近<<<" + +#~ msgid "unable to set locale to \"%s\", using \"C\"" +#~ msgstr "无法将区域设置为“%s”,将使用“C”" + +#~ msgid "" +#~ " Commands:\n" +#~ "\t" +#~ msgstr "" +#~ " 命令:\n" +#~ "\t" + +#~ msgid ": " +#~ msgstr ":" + +#~ msgid "unable to cache uid %u (%s), already exists" +#~ msgstr "无法缓存用户 ID %u(%s),已存在" + +#~ msgid "unable to cache gid %u (%s), already exists" +#~ msgstr "无法缓存组 ID %u(%s),已存在" + +#~ msgid "internal error, expand_prompt() overflow" +#~ msgstr "内部错误,expand_prompt() 溢出" + +#~ msgid "internal error, sudo_setenv2() overflow" +#~ msgstr "内部错误,sudo_setenv2() 溢出" + +#~ msgid "internal error, sudo_setenv() overflow" +#~ msgstr "内部错误,sudo_setenv()溢出" + +#~ msgid "internal error, linux_audit_command() overflow" +#~ msgstr "内部错误,linux_audit_command() 溢出" + +#~ msgid "internal error, runas_groups overflow" +#~ msgstr "内部错误,runas_groups 溢出" + +#~ msgid "internal error, init_vars() overflow" +#~ msgstr "内部错误,init_vars() 溢出" + +#~ msgid "fixed mode on %s" +#~ msgstr "对 %s 修正了模式" + +#~ msgid "unable to fix mode on %s" +#~ msgstr "无法对 %s 修正模式" + +#~ msgid "%s is mode 0%o, should be 0%o" +#~ msgstr "%s 的模式为 0%o,应为 0%o" + +#~ msgid "File containing dummy exec functions: %s" +#~ msgstr "含有哑 exec 函数的文件:%s" + +#~ msgid "" +#~ "Available options in a sudoers ``Defaults'' line:\n" +#~ "\n" +#~ msgstr "" +#~ "sudoers 中“Defaults”行中的可用选项:\n" +#~ "\n" + +#~ msgid "%s: %.*s\n" +#~ msgstr "%s:%.*s\n" + +#~ msgid "unable to get runas group vector" +#~ msgstr "无法获取 runas 组向量" + +#~ msgid "%s: %s_Alias `%s' references self" +#~ msgstr "%s:%s_Alias “%s”引用了自己" diff --git a/plugins/sudoers/po/zh_TW.mo b/plugins/sudoers/po/zh_TW.mo new file mode 100644 index 0000000..72f6af3 Binary files /dev/null and b/plugins/sudoers/po/zh_TW.mo differ diff --git a/plugins/sudoers/po/zh_TW.po b/plugins/sudoers/po/zh_TW.po new file mode 100644 index 0000000..192e5cb --- /dev/null +++ b/plugins/sudoers/po/zh_TW.po @@ -0,0 +1,4015 @@ +# Portable object template file for the sudoers plugin +# This file is put in the public domain. +# +# Todd C. Miller , 2011-2018. +# Hugwalk , 2019. +# Yi-Jyun Pan , 2019, 2020, 2021. +msgid "" +msgstr "" +"Project-Id-Version: sudoers 1.9.13b2\n" +"Report-Msgid-Bugs-To: https://bugzilla.sudo.ws\n" +"POT-Creation-Date: 2023-01-24 13:11-0700\n" +"PO-Revision-Date: 2023-02-03 00:50+0800\n" +"Last-Translator: Yi-Jyun Pan \n" +"Language-Team: Chinese (traditional) \n" +"Language: zh_TW\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.2.2\n" + +#: confstr.sh:1 gram.y:1220 plugins/sudoers/logging.c:866 +msgid "syntax error" +msgstr "語法錯誤" + +#: confstr.sh:2 +msgid "%p's password: " +msgstr "%p 的密碼:" + +#: confstr.sh:3 +msgid "[sudo] password for %p: " +msgstr "[sudo] %p 的密碼:" + +#: confstr.sh:4 +msgid "Password: " +msgstr "密碼:" + +#: confstr.sh:5 +msgid "*** SECURITY information for %h ***" +msgstr "*** %h 須知的安全資訊 ***" + +#: confstr.sh:6 +msgid "Sorry, try again." +msgstr "抱歉,請重試。" + +#: gram.y:237 gram.y:304 gram.y:313 gram.y:322 gram.y:332 gram.y:342 +#: gram.y:366 gram.y:393 gram.y:402 gram.y:410 gram.y:419 gram.y:428 +#: gram.y:502 gram.y:512 gram.y:524 gram.y:572 gram.y:581 gram.y:590 +#: gram.y:599 gram.y:731 gram.y:739 gram.y:750 gram.y:762 gram.y:781 +#: gram.y:944 gram.y:949 gram.y:957 gram.y:971 gram.y:977 gram.y:1099 +#: gram.y:1108 gram.y:1116 gram.y:1125 gram.y:1134 gram.y:1163 gram.y:1172 +#: gram.y:1180 gram.y:1280 gram.y:1410 gram.y:1777 gram.y:1827 +#: lib/eventlog/eventlog.c:235 lib/eventlog/eventlog.c:312 +#: lib/eventlog/eventlog.c:757 lib/eventlog/eventlog.c:834 +#: lib/eventlog/eventlog.c:1135 lib/iolog/iolog_filter.c:142 +#: lib/iolog/iolog_filter.c:202 lib/iolog/iolog_filter.c:233 +#: lib/iolog/iolog_json.c:150 lib/iolog/iolog_json.c:382 +#: lib/iolog/iolog_json.c:412 lib/iolog/iolog_legacy.c:100 +#: lib/iolog/iolog_legacy.c:111 lib/iolog/iolog_legacy.c:123 +#: lib/iolog/iolog_legacy.c:133 lib/iolog/iolog_legacy.c:139 +#: lib/iolog/iolog_loginfo.c:76 lib/iolog/iolog_loginfo.c:212 +#: logsrvd/iolog_writer.c:95 logsrvd/iolog_writer.c:100 +#: logsrvd/iolog_writer.c:134 logsrvd/iolog_writer.c:182 +#: logsrvd/iolog_writer.c:215 logsrvd/iolog_writer.c:225 +#: logsrvd/iolog_writer.c:254 logsrvd/iolog_writer.c:275 +#: logsrvd/iolog_writer.c:287 logsrvd/iolog_writer.c:297 +#: logsrvd/iolog_writer.c:307 logsrvd/iolog_writer.c:317 +#: logsrvd/iolog_writer.c:329 logsrvd/iolog_writer.c:364 +#: logsrvd/iolog_writer.c:370 logsrvd/iolog_writer.c:377 +#: logsrvd/iolog_writer.c:383 logsrvd/iolog_writer.c:567 +#: logsrvd/logsrv_util.c:69 logsrvd/logsrvd.c:301 logsrvd/logsrvd.c:310 +#: logsrvd/logsrvd.c:1050 logsrvd/logsrvd.c:1113 logsrvd/logsrvd.c:1582 +#: logsrvd/logsrvd.c:1587 logsrvd/logsrvd.c:1771 logsrvd/logsrvd.c:1988 +#: logsrvd/logsrvd_conf.c:357 logsrvd/logsrvd_conf.c:370 +#: logsrvd/logsrvd_conf.c:511 logsrvd/logsrvd_conf.c:534 +#: logsrvd/logsrvd_conf.c:538 logsrvd/logsrvd_conf.c:556 +#: logsrvd/logsrvd_conf.c:626 logsrvd/logsrvd_conf.c:650 +#: logsrvd/logsrvd_conf.c:678 logsrvd/logsrvd_conf.c:692 +#: logsrvd/logsrvd_conf.c:706 logsrvd/logsrvd_conf.c:720 +#: logsrvd/logsrvd_conf.c:734 logsrvd/logsrvd_conf.c:748 +#: logsrvd/logsrvd_conf.c:829 logsrvd/logsrvd_conf.c:1036 +#: logsrvd/logsrvd_conf.c:1053 logsrvd/logsrvd_conf.c:1448 +#: logsrvd/logsrvd_conf.c:1595 logsrvd/logsrvd_conf.c:1621 +#: logsrvd/logsrvd_conf.c:1633 logsrvd/logsrvd_conf.c:1640 +#: logsrvd/logsrvd_conf.c:1646 logsrvd/logsrvd_conf.c:1743 +#: logsrvd/logsrvd_journal.c:76 logsrvd/logsrvd_journal.c:216 +#: logsrvd/logsrvd_journal.c:217 logsrvd/logsrvd_journal.c:273 +#: logsrvd/logsrvd_journal.c:433 logsrvd/logsrvd_journal.c:435 +#: logsrvd/logsrvd_local.c:215 logsrvd/logsrvd_local.c:216 +#: logsrvd/logsrvd_local.c:278 logsrvd/logsrvd_local.c:279 +#: logsrvd/logsrvd_local.c:417 logsrvd/logsrvd_local.c:466 +#: logsrvd/logsrvd_local.c:467 logsrvd/logsrvd_local.c:472 +#: logsrvd/logsrvd_local.c:473 logsrvd/logsrvd_queue.c:159 +#: logsrvd/logsrvd_queue.c:189 logsrvd/logsrvd_queue.c:266 +#: logsrvd/logsrvd_relay.c:444 logsrvd/logsrvd_relay.c:743 +#: logsrvd/logsrvd_relay.c:850 logsrvd/sendlog.c:251 logsrvd/sendlog.c:260 +#: logsrvd/sendlog.c:291 logsrvd/sendlog.c:338 logsrvd/sendlog.c:615 +#: logsrvd/sendlog.c:1801 plugins/sudoers/audit.c:116 +#: plugins/sudoers/auth/bsdauth.c:150 plugins/sudoers/auth/kerb5.c:121 +#: plugins/sudoers/auth/kerb5.c:148 plugins/sudoers/auth/pam.c:687 +#: plugins/sudoers/auth/rfc1938.c:111 plugins/sudoers/auth/sia.c:59 +#: plugins/sudoers/check_aliases.c:168 plugins/sudoers/cvtsudoers.c:131 +#: plugins/sudoers/cvtsudoers.c:175 plugins/sudoers/cvtsudoers.c:192 +#: plugins/sudoers/cvtsudoers.c:203 plugins/sudoers/cvtsudoers.c:333 +#: plugins/sudoers/cvtsudoers.c:372 plugins/sudoers/cvtsudoers.c:392 +#: plugins/sudoers/cvtsudoers.c:537 plugins/sudoers/cvtsudoers.c:670 +#: plugins/sudoers/cvtsudoers.c:688 plugins/sudoers/cvtsudoers.c:862 +#: plugins/sudoers/cvtsudoers.c:870 plugins/sudoers/cvtsudoers.c:1365 +#: plugins/sudoers/cvtsudoers.c:1369 plugins/sudoers/cvtsudoers.c:1471 +#: plugins/sudoers/cvtsudoers_csv.c:183 plugins/sudoers/cvtsudoers_csv.c:246 +#: plugins/sudoers/cvtsudoers_json.c:76 plugins/sudoers/cvtsudoers_ldif.c:151 +#: plugins/sudoers/cvtsudoers_ldif.c:194 plugins/sudoers/cvtsudoers_ldif.c:235 +#: plugins/sudoers/cvtsudoers_ldif.c:300 plugins/sudoers/cvtsudoers_ldif.c:376 +#: plugins/sudoers/cvtsudoers_ldif.c:430 plugins/sudoers/cvtsudoers_ldif.c:438 +#: plugins/sudoers/cvtsudoers_ldif.c:449 plugins/sudoers/cvtsudoers_ldif.c:456 +#: plugins/sudoers/cvtsudoers_ldif.c:468 plugins/sudoers/cvtsudoers_ldif.c:481 +#: plugins/sudoers/cvtsudoers_ldif.c:489 plugins/sudoers/cvtsudoers_ldif.c:636 +#: plugins/sudoers/cvtsudoers_merge.c:47 plugins/sudoers/cvtsudoers_merge.c:52 +#: plugins/sudoers/cvtsudoers_merge.c:353 +#: plugins/sudoers/cvtsudoers_merge.c:399 +#: plugins/sudoers/cvtsudoers_merge.c:446 +#: plugins/sudoers/cvtsudoers_merge.c:467 +#: plugins/sudoers/cvtsudoers_merge.c:553 +#: plugins/sudoers/cvtsudoers_merge.c:564 +#: plugins/sudoers/cvtsudoers_merge.c:633 +#: plugins/sudoers/cvtsudoers_merge.c:1158 +#: plugins/sudoers/cvtsudoers_merge.c:1231 plugins/sudoers/defaults.c:434 +#: plugins/sudoers/defaults.c:658 plugins/sudoers/defaults.c:1019 +#: plugins/sudoers/defaults.c:1187 plugins/sudoers/editor.c:197 +#: plugins/sudoers/env.c:263 plugins/sudoers/exptilde.c:92 +#: plugins/sudoers/filedigest.c:54 plugins/sudoers/filedigest.c:70 +#: plugins/sudoers/gc.c:57 plugins/sudoers/group_plugin.c:212 +#: plugins/sudoers/interfaces.c:68 plugins/sudoers/iolog.c:268 +#: plugins/sudoers/iolog.c:668 plugins/sudoers/iolog.c:694 +#: plugins/sudoers/ldap.c:184 plugins/sudoers/ldap.c:466 +#: plugins/sudoers/ldap.c:757 plugins/sudoers/ldap.c:921 +#: plugins/sudoers/ldap.c:1337 plugins/sudoers/ldap.c:1763 +#: plugins/sudoers/ldap.c:1800 plugins/sudoers/ldap.c:2016 +#: plugins/sudoers/ldap.c:2117 plugins/sudoers/ldap.c:2133 +#: plugins/sudoers/ldap_conf.c:218 plugins/sudoers/ldap_conf.c:250 +#: plugins/sudoers/ldap_conf.c:302 plugins/sudoers/ldap_conf.c:338 +#: plugins/sudoers/ldap_conf.c:444 plugins/sudoers/ldap_conf.c:459 +#: plugins/sudoers/ldap_conf.c:564 plugins/sudoers/ldap_conf.c:597 +#: plugins/sudoers/ldap_conf.c:689 plugins/sudoers/ldap_conf.c:771 +#: plugins/sudoers/ldap_util.c:294 plugins/sudoers/ldap_util.c:301 +#: plugins/sudoers/ldap_util.c:614 plugins/sudoers/linux_audit.c:86 +#: plugins/sudoers/log_client.c:117 plugins/sudoers/log_client.c:402 +#: plugins/sudoers/log_client.c:715 plugins/sudoers/log_client.c:736 +#: plugins/sudoers/log_client.c:1415 plugins/sudoers/log_client.c:1536 +#: plugins/sudoers/log_client.c:1636 plugins/sudoers/log_client.c:1972 +#: plugins/sudoers/log_client.c:2031 plugins/sudoers/logging.c:110 +#: plugins/sudoers/logging.c:189 plugins/sudoers/logging.c:457 +#: plugins/sudoers/logging.c:672 plugins/sudoers/logging.c:809 +#: plugins/sudoers/match_command.c:335 plugins/sudoers/match_command.c:603 +#: plugins/sudoers/match_command.c:654 plugins/sudoers/match_command.c:728 +#: plugins/sudoers/match_command.c:776 plugins/sudoers/match_digest.c:93 +#: plugins/sudoers/parse.c:267 plugins/sudoers/parse.c:284 +#: plugins/sudoers/parse.c:303 plugins/sudoers/parse.c:322 +#: plugins/sudoers/parse.c:339 plugins/sudoers/parse.c:362 +#: plugins/sudoers/parse.c:373 plugins/sudoers/parse_ldif.c:153 +#: plugins/sudoers/parse_ldif.c:184 plugins/sudoers/parse_ldif.c:253 +#: plugins/sudoers/parse_ldif.c:261 plugins/sudoers/parse_ldif.c:266 +#: plugins/sudoers/parse_ldif.c:342 plugins/sudoers/parse_ldif.c:353 +#: plugins/sudoers/parse_ldif.c:380 plugins/sudoers/parse_ldif.c:397 +#: plugins/sudoers/parse_ldif.c:409 plugins/sudoers/parse_ldif.c:413 +#: plugins/sudoers/parse_ldif.c:427 plugins/sudoers/parse_ldif.c:484 +#: plugins/sudoers/parse_ldif.c:598 plugins/sudoers/parse_ldif.c:628 +#: plugins/sudoers/parse_ldif.c:653 plugins/sudoers/parse_ldif.c:711 +#: plugins/sudoers/parse_ldif.c:728 plugins/sudoers/parse_ldif.c:756 +#: plugins/sudoers/parse_ldif.c:763 plugins/sudoers/policy.c:626 +#: plugins/sudoers/policy.c:1033 plugins/sudoers/prompt.c:93 +#: plugins/sudoers/pwutil.c:199 plugins/sudoers/pwutil.c:270 +#: plugins/sudoers/pwutil.c:348 plugins/sudoers/pwutil.c:522 +#: plugins/sudoers/pwutil.c:587 plugins/sudoers/pwutil.c:659 +#: plugins/sudoers/pwutil.c:857 plugins/sudoers/pwutil.c:945 +#: plugins/sudoers/pwutil.c:993 plugins/sudoers/pwutil.c:1052 +#: plugins/sudoers/sssd.c:145 plugins/sudoers/sssd.c:185 +#: plugins/sudoers/sssd.c:414 plugins/sudoers/sssd.c:479 +#: plugins/sudoers/sssd.c:505 plugins/sudoers/sssd.c:568 +#: plugins/sudoers/sssd.c:761 plugins/sudoers/strvec_join.c:53 +#: plugins/sudoers/stubs.c:112 plugins/sudoers/stubs.c:120 +#: plugins/sudoers/sudoers.c:354 plugins/sudoers/sudoers.c:380 +#: plugins/sudoers/sudoers.c:447 plugins/sudoers/sudoers.c:464 +#: plugins/sudoers/sudoers.c:505 plugins/sudoers/sudoers.c:849 +#: plugins/sudoers/sudoers.c:902 plugins/sudoers/sudoers.c:1054 +#: plugins/sudoers/sudoers.c:1114 plugins/sudoers/sudoers.c:1369 +#: plugins/sudoers/sudoreplay.c:559 plugins/sudoers/sudoreplay.c:562 +#: plugins/sudoers/sudoreplay.c:1278 plugins/sudoers/sudoreplay.c:1334 +#: plugins/sudoers/sudoreplay.c:1530 plugins/sudoers/sudoreplay.c:1534 +#: plugins/sudoers/testsudoers.c:120 plugins/sudoers/testsudoers.c:224 +#: plugins/sudoers/testsudoers.c:241 plugins/sudoers/testsudoers.c:588 +#: plugins/sudoers/timestamp.c:451 plugins/sudoers/timestamp.c:495 +#: plugins/sudoers/timestamp.c:1017 plugins/sudoers/timestamp.c:1146 +#: plugins/sudoers/toke_util.c:78 plugins/sudoers/toke_util.c:106 +#: plugins/sudoers/toke_util.c:131 plugins/sudoers/toke_util.c:161 +#: plugins/sudoers/toke_util.c:200 plugins/sudoers/tsdump.c:123 +#: plugins/sudoers/visudo.c:150 plugins/sudoers/visudo.c:385 +#: plugins/sudoers/visudo.c:391 plugins/sudoers/visudo.c:502 +#: plugins/sudoers/visudo.c:1056 toke.l:1031 toke.l:1163 toke.l:1234 +msgid "unable to allocate memory" +msgstr "無法分配記憶體" + +#: gram.y:623 +msgid "a digest requires a path name" +msgstr "摘要需要路徑名稱" + +#: gram.y:645 +msgid "values for \"CWD\" must start with a '/', '~', or '*'" +msgstr "\"CWD\" 的值開頭必須是 '/'、'~' 或 '*'" + +#: gram.y:651 +msgid "\"CWD\" path too long" +msgstr "「CWD」路徑過長" + +#: gram.y:661 +msgid "values for \"CHROOT\" must start with a '/', '~', or '*'" +msgstr "\"CHROOT\" 的值開頭必須是 '/'、'~' 或 '*'" + +#: gram.y:667 +msgid "\"CHROOT\" path too long" +msgstr "「CHROOT」路徑過長 " + +#: gram.y:802 +#, c-format +msgid "syntax error, reserved word %s used as an alias name" +msgstr "語法錯誤,保留字 %s 被用作別名名稱" + +#: gram.y:825 +msgid "invalid notbefore value" +msgstr "notbefore 的值無效" + +#: gram.y:834 +msgid "invalid notafter value" +msgstr "notafter 的值無效" + +#: gram.y:844 plugins/sudoers/policy.c:385 +msgid "timeout value too large" +msgstr "timeout 值過長" + +#: gram.y:846 plugins/sudoers/policy.c:387 +msgid "invalid timeout value" +msgstr "timeout 值無效" + +#: gram.y:967 plugins/sudoers/sudoers.c:1072 +msgid "command too long" +msgstr "指令過長" + +#: gram.y:1224 plugins/sudoers/check_aliases.c:96 +#: plugins/sudoers/defaults.c:1276 +#, c-format +msgid "%s:%d:%d: %s\n" +msgstr "%s:%d:%d: %s\n" + +#: gram.y:1278 +#, c-format +msgid "Alias \"%s\" already defined" +msgstr "別名「%s」已定義過" + +#: gram.y:1777 gram.y:1827 lib/eventlog/eventlog.c:235 +#: lib/eventlog/eventlog.c:757 lib/eventlog/eventlog.c:830 +#: lib/eventlog/eventlog.c:833 lib/eventlog/eventlog.c:1135 +#: lib/iolog/iolog_filter.c:142 lib/iolog/iolog_filter.c:202 +#: lib/iolog/iolog_filter.c:232 lib/iolog/iolog_json.c:150 +#: lib/iolog/iolog_json.c:381 lib/iolog/iolog_json.c:412 +#: lib/iolog/iolog_legacy.c:100 lib/iolog/iolog_legacy.c:111 +#: lib/iolog/iolog_legacy.c:123 lib/iolog/iolog_legacy.c:133 +#: lib/iolog/iolog_legacy.c:139 lib/iolog/iolog_loginfo.c:76 +#: lib/iolog/iolog_loginfo.c:212 logsrvd/iolog_writer.c:95 +#: logsrvd/iolog_writer.c:100 logsrvd/iolog_writer.c:134 +#: logsrvd/iolog_writer.c:171 logsrvd/iolog_writer.c:181 +#: logsrvd/iolog_writer.c:194 logsrvd/iolog_writer.c:214 +#: logsrvd/iolog_writer.c:224 logsrvd/iolog_writer.c:243 +#: logsrvd/iolog_writer.c:253 logsrvd/iolog_writer.c:264 +#: logsrvd/iolog_writer.c:274 logsrvd/iolog_writer.c:286 +#: logsrvd/iolog_writer.c:296 logsrvd/iolog_writer.c:306 +#: logsrvd/iolog_writer.c:316 logsrvd/iolog_writer.c:328 +#: logsrvd/iolog_writer.c:364 logsrvd/iolog_writer.c:370 +#: logsrvd/iolog_writer.c:377 logsrvd/iolog_writer.c:383 +#: logsrvd/iolog_writer.c:567 logsrvd/logsrv_util.c:69 logsrvd/logsrvd.c:301 +#: logsrvd/logsrvd.c:310 logsrvd/logsrvd.c:453 logsrvd/logsrvd.c:490 +#: logsrvd/logsrvd.c:522 logsrvd/logsrvd.c:576 logsrvd/logsrvd.c:611 +#: logsrvd/logsrvd.c:660 logsrvd/logsrvd.c:696 logsrvd/logsrvd.c:732 +#: logsrvd/logsrvd.c:1124 logsrvd/logsrvd.c:1439 logsrvd/logsrvd.c:1446 +#: logsrvd/logsrvd.c:1582 logsrvd/logsrvd.c:1587 logsrvd/logsrvd.c:1771 +#: logsrvd/logsrvd.c:1988 logsrvd/logsrvd_conf.c:357 +#: logsrvd/logsrvd_conf.c:370 logsrvd/logsrvd_conf.c:511 +#: logsrvd/logsrvd_conf.c:534 logsrvd/logsrvd_conf.c:538 +#: logsrvd/logsrvd_conf.c:556 logsrvd/logsrvd_conf.c:626 +#: logsrvd/logsrvd_conf.c:649 logsrvd/logsrvd_conf.c:678 +#: logsrvd/logsrvd_conf.c:692 logsrvd/logsrvd_conf.c:706 +#: logsrvd/logsrvd_conf.c:720 logsrvd/logsrvd_conf.c:734 +#: logsrvd/logsrvd_conf.c:748 logsrvd/logsrvd_conf.c:829 +#: logsrvd/logsrvd_conf.c:1036 logsrvd/logsrvd_conf.c:1053 +#: logsrvd/logsrvd_conf.c:1448 logsrvd/logsrvd_conf.c:1595 +#: logsrvd/logsrvd_conf.c:1621 logsrvd/logsrvd_conf.c:1633 +#: logsrvd/logsrvd_conf.c:1640 logsrvd/logsrvd_conf.c:1646 +#: logsrvd/logsrvd_conf.c:1742 logsrvd/logsrvd_journal.c:76 +#: logsrvd/logsrvd_journal.c:125 logsrvd/logsrvd_journal.c:216 +#: logsrvd/logsrvd_journal.c:246 logsrvd/logsrvd_journal.c:250 +#: logsrvd/logsrvd_journal.c:258 logsrvd/logsrvd_journal.c:281 +#: logsrvd/logsrvd_journal.c:285 logsrvd/logsrvd_journal.c:433 +#: logsrvd/logsrvd_local.c:215 logsrvd/logsrvd_local.c:278 +#: logsrvd/logsrvd_local.c:466 logsrvd/logsrvd_local.c:472 +#: logsrvd/logsrvd_local.c:491 logsrvd/logsrvd_queue.c:158 +#: logsrvd/logsrvd_queue.c:189 logsrvd/logsrvd_queue.c:266 +#: logsrvd/sendlog.c:251 logsrvd/sendlog.c:260 logsrvd/sendlog.c:291 +#: logsrvd/sendlog.c:338 logsrvd/sendlog.c:615 logsrvd/sendlog.c:1503 +#: logsrvd/sendlog.c:1510 logsrvd/sendlog.c:1733 logsrvd/sendlog.c:1801 +#: logsrvd/tls_init.c:305 logsrvd/tls_init.c:329 logsrvd/tls_init.c:340 +#: plugins/sudoers/audit.c:116 plugins/sudoers/auth/pam.c:502 +#: plugins/sudoers/auth/pam.c:687 plugins/sudoers/auth/rfc1938.c:111 +#: plugins/sudoers/check_aliases.c:168 plugins/sudoers/cvtsudoers.c:131 +#: plugins/sudoers/cvtsudoers.c:174 plugins/sudoers/cvtsudoers.c:191 +#: plugins/sudoers/cvtsudoers.c:202 plugins/sudoers/cvtsudoers.c:332 +#: plugins/sudoers/cvtsudoers.c:536 plugins/sudoers/cvtsudoers.c:669 +#: plugins/sudoers/cvtsudoers.c:687 plugins/sudoers/cvtsudoers.c:862 +#: plugins/sudoers/cvtsudoers.c:869 plugins/sudoers/cvtsudoers.c:1365 +#: plugins/sudoers/cvtsudoers.c:1369 plugins/sudoers/cvtsudoers.c:1471 +#: plugins/sudoers/cvtsudoers_csv.c:182 plugins/sudoers/cvtsudoers_csv.c:245 +#: plugins/sudoers/cvtsudoers_json.c:75 plugins/sudoers/cvtsudoers_ldif.c:150 +#: plugins/sudoers/cvtsudoers_ldif.c:193 plugins/sudoers/cvtsudoers_ldif.c:234 +#: plugins/sudoers/cvtsudoers_ldif.c:299 plugins/sudoers/cvtsudoers_ldif.c:375 +#: plugins/sudoers/cvtsudoers_ldif.c:429 plugins/sudoers/cvtsudoers_ldif.c:437 +#: plugins/sudoers/cvtsudoers_ldif.c:448 plugins/sudoers/cvtsudoers_ldif.c:455 +#: plugins/sudoers/cvtsudoers_ldif.c:467 plugins/sudoers/cvtsudoers_ldif.c:480 +#: plugins/sudoers/cvtsudoers_ldif.c:488 plugins/sudoers/cvtsudoers_ldif.c:635 +#: plugins/sudoers/cvtsudoers_merge.c:47 plugins/sudoers/cvtsudoers_merge.c:51 +#: plugins/sudoers/cvtsudoers_merge.c:353 +#: plugins/sudoers/cvtsudoers_merge.c:399 +#: plugins/sudoers/cvtsudoers_merge.c:445 +#: plugins/sudoers/cvtsudoers_merge.c:466 +#: plugins/sudoers/cvtsudoers_merge.c:553 +#: plugins/sudoers/cvtsudoers_merge.c:561 +#: plugins/sudoers/cvtsudoers_merge.c:564 +#: plugins/sudoers/cvtsudoers_merge.c:630 +#: plugins/sudoers/cvtsudoers_merge.c:633 +#: plugins/sudoers/cvtsudoers_merge.c:1157 +#: plugins/sudoers/cvtsudoers_merge.c:1231 plugins/sudoers/defaults.c:434 +#: plugins/sudoers/defaults.c:658 plugins/sudoers/defaults.c:1019 +#: plugins/sudoers/defaults.c:1187 plugins/sudoers/editor.c:197 +#: plugins/sudoers/env.c:263 plugins/sudoers/exptilde.c:92 +#: plugins/sudoers/filedigest.c:54 plugins/sudoers/filedigest.c:70 +#: plugins/sudoers/gc.c:57 plugins/sudoers/group_plugin.c:211 +#: plugins/sudoers/interfaces.c:68 plugins/sudoers/iolog.c:268 +#: plugins/sudoers/iolog.c:668 plugins/sudoers/iolog.c:694 +#: plugins/sudoers/ldap.c:184 plugins/sudoers/ldap.c:466 +#: plugins/sudoers/ldap.c:757 plugins/sudoers/ldap.c:921 +#: plugins/sudoers/ldap.c:1337 plugins/sudoers/ldap.c:1763 +#: plugins/sudoers/ldap.c:1800 plugins/sudoers/ldap.c:2016 +#: plugins/sudoers/ldap.c:2117 plugins/sudoers/ldap.c:2133 +#: plugins/sudoers/ldap_conf.c:218 plugins/sudoers/ldap_conf.c:250 +#: plugins/sudoers/ldap_conf.c:302 plugins/sudoers/ldap_conf.c:338 +#: plugins/sudoers/ldap_conf.c:444 plugins/sudoers/ldap_conf.c:459 +#: plugins/sudoers/ldap_conf.c:564 plugins/sudoers/ldap_conf.c:597 +#: plugins/sudoers/ldap_conf.c:688 plugins/sudoers/ldap_conf.c:771 +#: plugins/sudoers/ldap_util.c:293 plugins/sudoers/ldap_util.c:300 +#: plugins/sudoers/ldap_util.c:614 plugins/sudoers/linux_audit.c:86 +#: plugins/sudoers/log_client.c:117 plugins/sudoers/log_client.c:228 +#: plugins/sudoers/log_client.c:250 plugins/sudoers/log_client.c:264 +#: plugins/sudoers/log_client.c:402 plugins/sudoers/log_client.c:715 +#: plugins/sudoers/log_client.c:736 plugins/sudoers/log_client.c:1415 +#: plugins/sudoers/log_client.c:1536 plugins/sudoers/log_client.c:1636 +#: plugins/sudoers/log_client.c:1972 plugins/sudoers/log_client.c:2031 +#: plugins/sudoers/logging.c:110 plugins/sudoers/logging.c:188 +#: plugins/sudoers/logging.c:189 plugins/sudoers/logging.c:457 +#: plugins/sudoers/logging.c:672 plugins/sudoers/logging.c:809 +#: plugins/sudoers/logging.c:880 plugins/sudoers/logging.c:892 +#: plugins/sudoers/match_command.c:334 plugins/sudoers/match_command.c:602 +#: plugins/sudoers/match_command.c:653 plugins/sudoers/match_command.c:728 +#: plugins/sudoers/match_command.c:775 plugins/sudoers/match_digest.c:93 +#: plugins/sudoers/parse.c:266 plugins/sudoers/parse.c:283 +#: plugins/sudoers/parse.c:302 plugins/sudoers/parse.c:321 +#: plugins/sudoers/parse.c:338 plugins/sudoers/parse.c:361 +#: plugins/sudoers/parse.c:372 plugins/sudoers/parse_ldif.c:152 +#: plugins/sudoers/parse_ldif.c:183 plugins/sudoers/parse_ldif.c:252 +#: plugins/sudoers/parse_ldif.c:260 plugins/sudoers/parse_ldif.c:265 +#: plugins/sudoers/parse_ldif.c:341 plugins/sudoers/parse_ldif.c:352 +#: plugins/sudoers/parse_ldif.c:379 plugins/sudoers/parse_ldif.c:396 +#: plugins/sudoers/parse_ldif.c:408 plugins/sudoers/parse_ldif.c:412 +#: plugins/sudoers/parse_ldif.c:426 plugins/sudoers/parse_ldif.c:484 +#: plugins/sudoers/parse_ldif.c:598 plugins/sudoers/parse_ldif.c:627 +#: plugins/sudoers/parse_ldif.c:652 plugins/sudoers/parse_ldif.c:710 +#: plugins/sudoers/parse_ldif.c:727 plugins/sudoers/parse_ldif.c:755 +#: plugins/sudoers/parse_ldif.c:762 plugins/sudoers/policy.c:154 +#: plugins/sudoers/policy.c:163 plugins/sudoers/policy.c:172 +#: plugins/sudoers/policy.c:201 plugins/sudoers/policy.c:370 +#: plugins/sudoers/policy.c:385 plugins/sudoers/policy.c:387 +#: plugins/sudoers/policy.c:425 plugins/sudoers/policy.c:434 +#: plugins/sudoers/policy.c:482 plugins/sudoers/policy.c:492 +#: plugins/sudoers/policy.c:501 plugins/sudoers/policy.c:510 +#: plugins/sudoers/policy.c:519 plugins/sudoers/policy.c:626 +#: plugins/sudoers/policy.c:1033 plugins/sudoers/prompt.c:93 +#: plugins/sudoers/pwutil.c:199 plugins/sudoers/pwutil.c:270 +#: plugins/sudoers/pwutil.c:348 plugins/sudoers/pwutil.c:522 +#: plugins/sudoers/pwutil.c:587 plugins/sudoers/pwutil.c:659 +#: plugins/sudoers/pwutil.c:857 plugins/sudoers/pwutil.c:945 +#: plugins/sudoers/pwutil.c:993 plugins/sudoers/pwutil.c:1052 +#: plugins/sudoers/set_perms.c:363 plugins/sudoers/set_perms.c:706 +#: plugins/sudoers/set_perms.c:1073 plugins/sudoers/set_perms.c:1380 +#: plugins/sudoers/set_perms.c:1549 plugins/sudoers/sssd.c:144 +#: plugins/sudoers/sssd.c:185 plugins/sudoers/sssd.c:414 +#: plugins/sudoers/sssd.c:479 plugins/sudoers/sssd.c:505 +#: plugins/sudoers/sssd.c:568 plugins/sudoers/sssd.c:761 +#: plugins/sudoers/strvec_join.c:53 plugins/sudoers/stubs.c:112 +#: plugins/sudoers/stubs.c:120 plugins/sudoers/sudoers.c:354 +#: plugins/sudoers/sudoers.c:380 plugins/sudoers/sudoers.c:447 +#: plugins/sudoers/sudoers.c:464 plugins/sudoers/sudoers.c:505 +#: plugins/sudoers/sudoers.c:849 plugins/sudoers/sudoers.c:902 +#: plugins/sudoers/sudoers.c:1054 plugins/sudoers/sudoers.c:1114 +#: plugins/sudoers/sudoers.c:1369 plugins/sudoers/sudoreplay.c:559 +#: plugins/sudoers/sudoreplay.c:562 plugins/sudoers/sudoreplay.c:1278 +#: plugins/sudoers/sudoreplay.c:1334 plugins/sudoers/sudoreplay.c:1530 +#: plugins/sudoers/sudoreplay.c:1534 plugins/sudoers/testsudoers.c:120 +#: plugins/sudoers/testsudoers.c:224 plugins/sudoers/testsudoers.c:241 +#: plugins/sudoers/testsudoers.c:588 plugins/sudoers/timestamp.c:451 +#: plugins/sudoers/timestamp.c:495 plugins/sudoers/timestamp.c:1017 +#: plugins/sudoers/timestamp.c:1146 plugins/sudoers/toke_util.c:78 +#: plugins/sudoers/toke_util.c:106 plugins/sudoers/toke_util.c:131 +#: plugins/sudoers/toke_util.c:160 plugins/sudoers/toke_util.c:200 +#: plugins/sudoers/tsdump.c:123 plugins/sudoers/visudo.c:150 +#: plugins/sudoers/visudo.c:385 plugins/sudoers/visudo.c:391 +#: plugins/sudoers/visudo.c:502 plugins/sudoers/visudo.c:1056 toke.l:1031 +#: toke.l:1163 toke.l:1226 toke.l:1234 +#, c-format +msgid "%s: %s" +msgstr "%s:%s" + +#: lib/eventlog/eventlog.c:303 +#, c-format +msgid "unable to dup stdin: %m" +msgstr "無法 dup stdin:%m" + +#: lib/eventlog/eventlog.c:345 +#, c-format +msgid "unable to execute %s: %m" +msgstr "無法執行 %s:%m" + +#: lib/eventlog/eventlog.c:393 plugins/sudoers/auth/aix_auth.c:198 +msgid "unable to fork" +msgstr "無法執行 fork" + +#: lib/eventlog/eventlog.c:403 lib/eventlog/eventlog.c:468 +#, c-format +msgid "unable to fork: %m" +msgstr "無法執行 fork:%m" + +#: lib/eventlog/eventlog.c:458 +#, c-format +msgid "unable to open pipe: %m" +msgstr "無法開啟管線:%m" + +#: lib/eventlog/eventlog.c:960 +#, c-format +msgid "%8s : %s" +msgstr "%8s : %s" + +#: lib/eventlog/eventlog.c:989 +#, c-format +msgid "%8s : (command continued) %s" +msgstr "%8s : (指令繼續執行) %s" + +#: lib/iolog/iolog_filter.c:133 plugins/sudoers/defaults.c:1242 +#: plugins/sudoers/sudoreplay.c:1290 plugins/sudoers/sudoreplay.c:1586 +#, c-format +msgid "invalid regular expression \"%s\": %s" +msgstr "無效的「%s」正規表達式:%s" + +#: lib/iolog/iolog_json.c:140 +#, c-format +msgid "expected JSON_STRING, got %d" +msgstr "應為 JSON_STRNG,但收到 %d" + +#: lib/iolog/iolog_json.c:145 +msgid "JSON_ARRAY too large" +msgstr "JSON_ARRAY 太大" + +#: lib/iolog/iolog_json.c:404 +msgid "missing double quote in name" +msgstr "名稱中缺少雙引號" + +#: lib/iolog/iolog_json.c:511 +msgid "missing JSON_OBJECT" +msgstr "缺少 JSON_OBJECT" + +#: lib/iolog/iolog_json.c:515 +#, c-format +msgid "expected JSON_OBJECT, got %d" +msgstr "應為 JSON_OBJECT,但收到 %d" + +#: lib/iolog/iolog_json.c:632 +#, c-format +msgid "json stack exhausted (max %u frames)" +msgstr "JSON 堆疊用盡(最多 %u 個框架)" + +#: lib/iolog/iolog_json.c:706 +msgid "objects must consist of name:value pairs" +msgstr "物件必須由「鍵:值」對組成" + +#: lib/iolog/iolog_json.c:711 lib/iolog/iolog_json.c:742 +#: lib/iolog/iolog_json.c:786 lib/iolog/iolog_json.c:808 +#: lib/iolog/iolog_json.c:830 lib/iolog/iolog_json.c:852 +#: lib/iolog/iolog_json.c:874 +msgid "missing separator between values" +msgstr "數值間缺少分隔符號" + +#: lib/iolog/iolog_json.c:726 lib/iolog/iolog_json.c:900 +msgid "unmatched close brace" +msgstr "未對稱的右大括弧" + +#: lib/iolog/iolog_json.c:737 +msgid "unexpected array" +msgstr "不應有陣列" + +#: lib/iolog/iolog_json.c:757 lib/iolog/iolog_json.c:903 +msgid "unmatched close bracket" +msgstr "未對稱的右中括弧" + +#: lib/iolog/iolog_json.c:768 +msgid "unexpected string" +msgstr "不應有字串" + +#: lib/iolog/iolog_json.c:779 +msgid "missing colon after name" +msgstr "名稱後缺少冒號" + +#: lib/iolog/iolog_json.c:800 lib/iolog/iolog_json.c:822 +msgid "unexpected boolean" +msgstr "不應有布林值" + +#: lib/iolog/iolog_json.c:844 +msgid "unexpected null" +msgstr "不應有 null" + +#: lib/iolog/iolog_json.c:865 +msgid "unexpected number" +msgstr "不應有數字" + +#: lib/iolog/iolog_json.c:912 +msgid "parse error" +msgstr "解析發生錯誤" + +#: lib/iolog/iolog_legacy.c:65 +#, c-format +msgid "%s: invalid log file" +msgstr "%s:無效的記錄檔案" + +#: lib/iolog/iolog_legacy.c:83 +#, c-format +msgid "%s: time stamp field is missing" +msgstr "%s:缺少 時間戳 欄位" + +#: lib/iolog/iolog_legacy.c:89 +#, c-format +msgid "%s: time stamp %s: %s" +msgstr "%s:時間戳 %s:%s" + +#: lib/iolog/iolog_legacy.c:96 +#, c-format +msgid "%s: user field is missing" +msgstr "%s:缺少 使用者 欄位" + +#: lib/iolog/iolog_legacy.c:107 +#, c-format +msgid "%s: runas user field is missing" +msgstr "%s:缺少 runas 使用者 欄位" + +#: lib/iolog/iolog_legacy.c:118 +#, c-format +msgid "%s: runas group field is missing" +msgstr "%s:缺少 runas 群組 欄位" + +#: lib/iolog/iolog_mkdirs.c:89 +#, c-format +msgid "%s exists but is not a directory (0%o)" +msgstr "%s 存在,但非目錄 (0%o)" + +#: lib/iolog/iolog_mkdirs.c:123 lib/iolog/iolog_mkdtemp.c:79 +#: logsrvd/iolog_writer.c:781 plugins/sudoers/timestamp.c:209 +#, c-format +msgid "unable to mkdir %s" +msgstr "無法建立目錄 %s" + +#: lib/iolog/iolog_mkdtemp.c:84 plugins/sudoers/visudo.c:757 +#: plugins/sudoers/visudo.c:791 plugins/sudoers/visudo.c:797 +#, c-format +msgid "unable to change mode of %s to 0%o" +msgstr "無法將 %s 的模式變更為 0%o" + +#: lib/iolog/iolog_timing.c:261 +#, c-format +msgid "error reading timing file: %s" +msgstr "讀取計時檔案時發生錯誤:%s" + +#: lib/iolog/iolog_timing.c:268 +#, c-format +msgid "invalid timing file line: %s" +msgstr "無效的計時檔案行號:%s" + +#: logsrvd/iolog_writer.c:65 +#, c-format +msgid "%s: protocol error: NULL key" +msgstr "%s:通訊協定有誤:NULL 鍵" + +#: logsrvd/iolog_writer.c:69 +#, c-format +msgid "%s: protocol error: wrong type for %s" +msgstr "%s:通訊協定有誤:%s 類型有錯" + +#: logsrvd/iolog_writer.c:74 logsrvd/logsrvd_local.c:109 +#: logsrvd/logsrvd_local.c:123 logsrvd/logsrvd_local.c:131 +#: logsrvd/logsrvd_local.c:149 +#, c-format +msgid "%s: protocol error: NULL value found in %s" +msgstr "%s:通訊協定有誤:%s 中有 NULL 值" + +#: logsrvd/iolog_writer.c:141 plugins/sudoers/logging.c:980 +#: plugins/sudoers/policy.c:593 +msgid "unable to generate UUID" +msgstr "無法產生 UUID" + +#: logsrvd/iolog_writer.c:341 logsrvd/iolog_writer.c:346 +#: logsrvd/iolog_writer.c:351 logsrvd/iolog_writer.c:356 +#, c-format +msgid "%s: protocol error: %s missing from AcceptMessage" +msgstr "%s:通訊協定有誤:AcceptMessage 缺少 %s" + +#: logsrvd/iolog_writer.c:417 +#, c-format +msgid "%s: unable to format session id" +msgstr "%s:無法格式化工作階段 ID" + +#: logsrvd/iolog_writer.c:431 logsrvd/iolog_writer.c:445 +#: logsrvd/iolog_writer.c:459 logsrvd/iolog_writer.c:474 +#: logsrvd/iolog_writer.c:488 logsrvd/iolog_writer.c:502 +#, c-format +msgid "%s: %s is not set" +msgstr "%s:%s 未設定" + +#: logsrvd/iolog_writer.c:538 logsrvd/iolog_writer.c:545 +#, c-format +msgid "unable to expand iolog path %s" +msgstr "無法展開 iolog 路徑 %s" + +#: logsrvd/iolog_writer.c:563 +#, c-format +msgid "unable to create iolog path %s" +msgstr "無法建立 iolog 路徑 %s" + +#: logsrvd/iolog_writer.c:593 +#, c-format +msgid "invalid iofd %d" +msgstr "無效的 iofd %d" + +#: logsrvd/iolog_writer.c:613 +#, c-format +msgid "error closing iofd %d: %s" +msgstr "關閉 iofd %d 時發生錯誤:%s" + +#: logsrvd/iolog_writer.c:633 +#, c-format +msgid "error flushing iofd %d: %s" +msgstr "排清 iofd %d 時發生錯誤:%s" + +#: logsrvd/iolog_writer.c:751 +#, c-format +msgid "invalid I/O log %s: %s referenced but not present" +msgstr "無效的 I/O log %s:%s 有參考,但未呈現" + +#: logsrvd/iolog_writer.c:763 logsrvd/logsrvd_journal.c:385 +#, c-format +msgid "%s: unable to find resume point [%lld, %ld]" +msgstr "%s:找不到繼續點 [%lld, %ld]" + +#: logsrvd/iolog_writer.c:785 logsrvd/logsrvd_journal.c:428 +#: logsrvd/logsrvd_queue.c:115 logsrvd/tls_init.c:256 +#: plugins/sudoers/check.c:292 plugins/sudoers/cvtsudoers.c:730 +#: plugins/sudoers/cvtsudoers.c:751 plugins/sudoers/cvtsudoers.c:1431 +#: plugins/sudoers/cvtsudoers_csv.c:695 plugins/sudoers/cvtsudoers_json.c:898 +#: plugins/sudoers/cvtsudoers_ldif.c:709 plugins/sudoers/sudoers.c:1152 +#: plugins/sudoers/sudoers.c:1182 plugins/sudoers/sudoreplay.c:1496 +#: plugins/sudoers/timestamp.c:460 plugins/sudoers/tsdump.c:128 +#: plugins/sudoers/visudo.c:975 +#, c-format +msgid "unable to open %s" +msgstr "無法開啟 %s" + +#: logsrvd/iolog_writer.c:797 logsrvd/logsrv_util.c:105 +#: logsrvd/logsrv_util.c:112 plugins/sudoers/sudoreplay.c:355 +#: plugins/sudoers/sudoreplay.c:361 +#, c-format +msgid "unable to open %s/%s" +msgstr "無法開啟 %s/%s" + +#: logsrvd/iolog_writer.c:810 +#, c-format +msgid "unable to copy %s/%s to %s/%s: %s" +msgstr "無法複製 %s/%s 至 %s/%s:%s" + +#: logsrvd/iolog_writer.c:839 logsrvd/logsrvd_journal.c:198 +#, c-format +msgid "unable to rename %s to %s" +msgstr "無法重新命名 %s 至 %s" + +#: logsrvd/logsrv_util.c:147 logsrvd/logsrv_util.c:176 +#, c-format +msgid "%s/%s: unable to find resume point [%lld, %ld]" +msgstr "%s/%s:找不到繼續點 [%lld, %ld]" + +#: logsrvd/logsrv_util.c:159 +#, c-format +msgid "missing I/O log file %s/%s" +msgstr "缺少 I/O 記錄檔 %s/%s" + +#: logsrvd/logsrv_util.c:166 +#, c-format +msgid "%s/%s: unable to seek forward %zu" +msgstr "%s/%s:無法往前搜尋 %zu" + +#: logsrvd/logsrvd.c:271 logsrvd/logsrvd_queue.c:135 +msgid "unable to connect to relay" +msgstr "無法連線至轉送點" + +#: logsrvd/logsrvd.c:330 logsrvd/logsrvd_relay.c:842 +#, c-format +msgid "server message too large: %zu" +msgstr "伺服器訊息過長:%zu" + +#: logsrvd/logsrvd.c:422 logsrvd/logsrvd.c:545 logsrvd/logsrvd.c:631 +#: logsrvd/logsrvd.c:873 logsrvd/logsrvd.c:887 logsrvd/logsrvd.c:1049 +#: logsrvd/logsrvd.c:1174 logsrvd/logsrvd.c:1347 logsrvd/logsrvd.c:1365 +#: logsrvd/logsrvd.c:1464 logsrvd/logsrvd.c:1589 logsrvd/logsrvd.c:1773 +#: logsrvd/logsrvd_journal.c:497 logsrvd/logsrvd_local.c:238 +#: logsrvd/logsrvd_queue.c:164 logsrvd/logsrvd_relay.c:172 +#: logsrvd/logsrvd_relay.c:249 logsrvd/logsrvd_relay.c:253 +#: logsrvd/logsrvd_relay.c:389 logsrvd/logsrvd_relay.c:581 +#: logsrvd/logsrvd_relay.c:742 logsrvd/logsrvd_relay.c:1131 +#: logsrvd/sendlog.c:1291 logsrvd/tls_client.c:136 logsrvd/tls_client.c:152 +#: logsrvd/tls_client.c:216 plugins/sudoers/audit.c:278 +#: plugins/sudoers/iolog.c:1031 plugins/sudoers/iolog.c:1164 +#: plugins/sudoers/iolog.c:1262 plugins/sudoers/log_client.c:121 +#: plugins/sudoers/log_client.c:343 plugins/sudoers/log_client.c:359 +#: plugins/sudoers/log_client.c:407 plugins/sudoers/log_client.c:611 +#: plugins/sudoers/log_client.c:618 plugins/sudoers/log_client.c:1103 +#: plugins/sudoers/log_client.c:1384 plugins/sudoers/log_client.c:1425 +#: plugins/sudoers/log_client.c:1433 plugins/sudoers/log_client.c:1592 +#: plugins/sudoers/log_client.c:1710 plugins/sudoers/log_client.c:2039 +#: plugins/sudoers/log_client.c:2047 plugins/sudoers/logging.c:147 +#: plugins/sudoers/logging.c:205 plugins/sudoers/sudoreplay.c:519 +#: plugins/sudoers/sudoreplay.c:566 plugins/sudoers/sudoreplay.c:808 +#: plugins/sudoers/sudoreplay.c:920 plugins/sudoers/sudoreplay.c:1011 +#: plugins/sudoers/sudoreplay.c:1026 plugins/sudoers/sudoreplay.c:1033 +#: plugins/sudoers/sudoreplay.c:1040 plugins/sudoers/sudoreplay.c:1047 +#: plugins/sudoers/sudoreplay.c:1054 plugins/sudoers/sudoreplay.c:1181 +msgid "unable to add event to queue" +msgstr "無法將事件附加到佇列" + +#: logsrvd/logsrvd.c:446 logsrvd/logsrvd.c:483 logsrvd/logsrvd.c:515 +#: logsrvd/logsrvd.c:569 logsrvd/logsrvd.c:648 logsrvd/logsrvd.c:684 +#: logsrvd/logsrvd.c:720 logsrvd/logsrvd.c:756 logsrvd/logsrvd_relay.c:510 +#: logsrvd/logsrvd_relay.c:543 +#, c-format +msgid "unexpected state %d for %s" +msgstr "%2$s 發生非預期狀態 %1$d" + +#: logsrvd/logsrvd.c:447 logsrvd/logsrvd.c:484 logsrvd/logsrvd.c:516 +#: logsrvd/logsrvd.c:570 logsrvd/logsrvd.c:649 logsrvd/logsrvd.c:685 +#: logsrvd/logsrvd.c:721 logsrvd/logsrvd.c:757 logsrvd/logsrvd_relay.c:512 +#: logsrvd/logsrvd_relay.c:545 +msgid "state machine error" +msgstr "狀態機器發生錯誤" + +#: logsrvd/logsrvd.c:453 logsrvd/logsrvd.c:454 +msgid "invalid AcceptMessage" +msgstr "無效的 AcceptMessage" + +#: logsrvd/logsrvd.c:490 logsrvd/logsrvd.c:491 +msgid "invalid RejectMessage" +msgstr "無效的 RejectMessage" + +#: logsrvd/logsrvd.c:522 logsrvd/logsrvd.c:523 +msgid "invalid ExitMessage" +msgstr "無效的 ExitMessage" + +#: logsrvd/logsrvd.c:576 logsrvd/logsrvd.c:577 +msgid "invalid RestartMessage" +msgstr "無效的 RestartMessage" + +#: logsrvd/logsrvd.c:611 logsrvd/logsrvd.c:612 +msgid "invalid AlertMessage" +msgstr "無效的 AlertMessage" + +#: logsrvd/logsrvd.c:653 logsrvd/logsrvd.c:689 logsrvd/logsrvd.c:725 +#, c-format +msgid "%s: unexpected IoBuffer" +msgstr "%s:非預期的 IoBuffer" + +#: logsrvd/logsrvd.c:654 logsrvd/logsrvd.c:690 logsrvd/logsrvd.c:726 +msgid "protocol error" +msgstr "通訊協定錯誤" + +#: logsrvd/logsrvd.c:660 logsrvd/logsrvd.c:661 +msgid "invalid IoBuffer" +msgstr "無效的 IoBuffer" + +#: logsrvd/logsrvd.c:696 logsrvd/logsrvd.c:697 +msgid "invalid ChangeWindowSize" +msgstr "無效的 ChangeWindowSize" + +#: logsrvd/logsrvd.c:732 logsrvd/logsrvd.c:733 +msgid "invalid CommandSuspend" +msgstr "無效的 CommandSuspend" + +#: logsrvd/logsrvd.c:782 logsrvd/logsrvd_journal.c:296 +#: logsrvd/logsrvd_relay.c:652 logsrvd/sendlog.c:1192 +#: plugins/sudoers/log_client.c:1582 +#, c-format +msgid "unable to unpack %s size %zu" +msgstr "無法解開 %s(大小 %zu)" + +#: logsrvd/logsrvd.c:827 logsrvd/logsrvd_journal.c:370 +#: logsrvd/logsrvd_relay.c:676 +#, c-format +msgid "unexpected type_case value %d in %s from %s" +msgstr "從 %3$s 收到的 %2$s 中,發現非預期的 type_case 值 %1$d" + +#: logsrvd/logsrvd.c:829 +msgid "unrecognized ClientMessage type" +msgstr "無法識別的 ClientMessage 類型" + +#: logsrvd/logsrvd.c:919 +#, c-format +msgid "timed out writing to client %s" +msgstr "寫入 %s 用戶端等待逾時" + +#: logsrvd/logsrvd.c:924 logsrvd/logsrvd_relay.c:914 logsrvd/sendlog.c:1395 +#, c-format +msgid "missing write buffer for client %s" +msgstr "缺少 %s 用戶端的寫入緩衝區" + +#: logsrvd/logsrvd.c:1020 +#, c-format +msgid "timed out reading from client %s" +msgstr "從 %s 用戶端讀取等待逾時" + +#: logsrvd/logsrvd.c:1061 logsrvd/logsrvd_relay.c:777 +#, c-format +msgid "EOF from %s without proper TLS shutdown" +msgstr "從 %s 收到 EOF,但其未正確關閉 TLS。" + +#: logsrvd/logsrvd.c:1105 logsrvd/logsrvd_relay.c:205 logsrvd/sendlog.c:322 +#: plugins/sudoers/log_client.c:721 +#, c-format +msgid "client message too large: %zu" +msgstr "用戶端訊息過長:%zu" + +#: logsrvd/logsrvd.c:1106 logsrvd/logsrvd_journal.c:259 +#: logsrvd/logsrvd_journal.c:260 +msgid "client message too large" +msgstr "用戶端訊息過長" + +#: logsrvd/logsrvd.c:1124 logsrvd/logsrvd.c:1125 +msgid "invalid ClientMessage" +msgstr "無效的 ClientMessage" + +#: logsrvd/logsrvd.c:1425 +msgid "unable to get remote IP addr" +msgstr "無法取得遠端 IP 地址" + +#: logsrvd/logsrvd.c:1456 logsrvd/tls_client.c:203 +#: plugins/sudoers/log_client.c:281 +#, c-format +msgid "Unable to attach user data to the ssl object: %s" +msgstr "無法將使用者資料連結至 SSL 物件:%s" + +#: logsrvd/logsrvd.c:1639 logsrvd/logsrvd.c:1992 +msgid "unable to setup listen socket" +msgstr "無法設定監聽 socket 通訊端" + +#: logsrvd/logsrvd.c:1756 +#, c-format +msgid "unexpected signal %d" +msgstr "發生非預期信號 %d" + +#: logsrvd/logsrvd.c:1894 +msgid "sudo log server" +msgstr "sudo 記錄伺服器" + +#: logsrvd/logsrvd.c:1896 logsrvd/sendlog.c:121 +msgid "Options:" +msgstr "選項:" + +#: logsrvd/logsrvd.c:1898 +msgid "path to configuration file" +msgstr "設定檔路徑" + +#: logsrvd/logsrvd.c:1900 logsrvd/sendlog.c:123 +msgid "display help message and exit" +msgstr "顯示說明訊息後結束" + +#: logsrvd/logsrvd.c:1902 +msgid "do not fork, run in the foreground" +msgstr "不要 fork,在前景執行" + +#: logsrvd/logsrvd.c:1904 +msgid "percent chance connections will drop" +msgstr "拋棄連線的機率百分比" + +#: logsrvd/logsrvd.c:1906 logsrvd/sendlog.c:153 +msgid "display version information and exit" +msgstr "顯示版本資訊後結束" + +#: logsrvd/logsrvd.c:1956 logsrvd/sendlog.c:1702 +msgid "Protobuf-C version 1.3 or higher required" +msgstr "需要 Protobuf-C 版本 1.3 或更高版本" + +#: logsrvd/logsrvd.c:1972 +#, c-format +msgid "invalid random drop value: %s" +msgstr "隨機丟棄值無效:%s" + +#: logsrvd/logsrvd.c:1975 logsrvd/sendlog.c:1756 +#: plugins/sudoers/cvtsudoers.c:246 plugins/sudoers/sudoreplay.c:294 +#: plugins/sudoers/visudo.c:182 +#, c-format +msgid "%s version %s\n" +msgstr "%s 版本 %s\n" + +#: logsrvd/logsrvd_conf.c:422 plugins/sudoers/check.c:358 +#: plugins/sudoers/exptilde.c:85 plugins/sudoers/iolog.c:122 +#: plugins/sudoers/policy.c:1271 plugins/sudoers/sudoers.c:512 +#: plugins/sudoers/sudoers.c:1411 plugins/sudoers/testsudoers.c:215 +#: plugins/sudoers/testsudoers.c:382 +#, c-format +msgid "unknown user %s" +msgstr "未知使用者 %s" + +#: logsrvd/logsrvd_conf.c:439 plugins/sudoers/iolog.c:148 +#: plugins/sudoers/sudoers.c:517 plugins/sudoers/sudoers.c:1445 +#: plugins/sudoers/testsudoers.c:406 +#, c-format +msgid "unknown group %s" +msgstr "未知群組 %s" + +#: logsrvd/logsrvd_conf.c:457 +#, c-format +msgid "unable to parse iolog mode %s" +msgstr "無法解析 iolog 模式 %s" + +#: logsrvd/logsrvd_conf.c:474 logsrvd/logsrvd_conf.c:1243 +#, c-format +msgid "invalid value for %s: %s" +msgstr "%s 的值無效:%s" + +#: logsrvd/logsrvd_conf.c:527 +msgid "TLS not supported" +msgstr "不支援 TLS" + +#: logsrvd/logsrvd_conf.c:549 +#, c-format +msgid "%s:%s" +msgstr "%s:%s" + +#: logsrvd/logsrvd_conf.c:622 logsrvd/logsrvd_conf.c:1032 +#, c-format +msgid "%s: not a fully qualified path" +msgstr "%s:路徑不完全合法" + +#: logsrvd/logsrvd_conf.c:951 logsrvd/logsrvd_conf.c:967 +#: logsrvd/logsrvd_conf.c:1676 +#, c-format +msgid "unknown syslog facility %s" +msgstr "未知的 syslog 裝置 %s" + +#: logsrvd/logsrvd_conf.c:983 logsrvd/logsrvd_conf.c:999 +#: logsrvd/logsrvd_conf.c:1015 logsrvd/logsrvd_conf.c:1680 +#: logsrvd/logsrvd_conf.c:1684 logsrvd/logsrvd_conf.c:1688 +#, c-format +msgid "unknown syslog priority %s" +msgstr "未知 syslog 優先級 %s" + +#: logsrvd/logsrvd_conf.c:1197 +#, c-format +msgid "%s:%d unmatched '[': %s" +msgstr "%s:%d 不對稱的 '[': %s" + +#: logsrvd/logsrvd_conf.c:1203 +#, c-format +msgid "%s:%d garbage after ']': %s" +msgstr "%s:%d ‘]’ 後有垃圾資料:%s" + +#: logsrvd/logsrvd_conf.c:1215 +#, c-format +msgid "%s:%d invalid config section: %s" +msgstr "%s:%d 無效的設定檔區段:%s" + +#: logsrvd/logsrvd_conf.c:1223 +#, c-format +msgid "%s:%d invalid configuration line: %s" +msgstr "%s:%d 無效的設定檔行:%s" + +#: logsrvd/logsrvd_conf.c:1229 +#, c-format +msgid "%s:%d expected section name: %s" +msgstr "%s:%d 應有區段名稱:%s" + +#: logsrvd/logsrvd_conf.c:1251 +#, c-format +msgid "%s:%d [%s] illegal key: %s" +msgstr "%s:%d [%s] 本設定鍵無效:%s" + +#: logsrvd/logsrvd_conf.c:1281 plugins/sudoers/cvtsudoers.c:268 +#: plugins/sudoers/logging.c:1033 +#, c-format +msgid "unable to open log file %s" +msgstr "無法開啟記錄檔案 %s" + +#: logsrvd/logsrvd_conf.c:1763 +msgid "unable to initialize server TLS context" +msgstr "無法初始化伺服器 TLS 上下文" + +#: logsrvd/logsrvd_conf.c:1783 +msgid "unable to initialize relay TLS context" +msgstr "無法初始化轉送 TLS 上下文" + +#: logsrvd/logsrvd_journal.c:149 logsrvd/logsrvd_journal.c:424 +#: logsrvd/logsrvd_journal.c:429 +msgid "unable to create journal file" +msgstr "無法建立日誌檔案" + +#: logsrvd/logsrvd_journal.c:153 logsrvd/logsrvd_queue.c:109 +#: plugins/sudoers/visudo.c:1028 +#, c-format +msgid "unable to lock %s" +msgstr "無法鎖定 %s" + +#: logsrvd/logsrvd_journal.c:156 +msgid "unable to lock journal file" +msgstr "無法鎖定日誌檔案" + +#: logsrvd/logsrvd_journal.c:164 +msgid "unable to open journal file" +msgstr "無法開啟日誌檔案" + +#: logsrvd/logsrvd_journal.c:185 logsrvd/logsrvd_journal.c:460 +#: logsrvd/logsrvd_journal.c:465 +msgid "unable to write journal file" +msgstr "無法寫入日誌檔案" + +#: logsrvd/logsrvd_journal.c:193 logsrvd/logsrvd_journal.c:200 +msgid "unable to rename journal file" +msgstr "無法重新命名日誌檔案" + +#: logsrvd/logsrvd_journal.c:247 logsrvd/logsrvd_journal.c:248 +#: logsrvd/logsrvd_journal.c:282 logsrvd/logsrvd_journal.c:283 +msgid "unexpected EOF reading journal file" +msgstr "讀取日誌檔案時遇到非預期的結束字元 (EOF)" + +#: logsrvd/logsrvd_journal.c:251 logsrvd/logsrvd_journal.c:252 +#: logsrvd/logsrvd_journal.c:286 logsrvd/logsrvd_journal.c:287 +msgid "error reading journal file" +msgstr "讀取日誌檔案時發生錯誤" + +#: logsrvd/logsrvd_journal.c:298 logsrvd/logsrvd_journal.c:384 +msgid "invalid journal file, unable to restart" +msgstr "日誌檔案無效,無法重新開始" + +#: logsrvd/logsrvd_journal.c:443 +#, c-format +msgid "unable to seek to [%lld, %ld] in journal file %s" +msgstr "無法搜尋至 %3$s 檔案的 [%1$lld, %2$ld] 位置" + +#: logsrvd/logsrvd_local.c:166 +#, c-format +msgid "unexpected value_case %d in %s from %s" +msgstr "從 %3$s 收到的 %2$s 中,發現非預期的 value_case %1$d" + +#: logsrvd/logsrvd_local.c:194 +msgid "error parsing AcceptMessage" +msgstr "解析 AcceptMessage 時發生錯誤" + +#: logsrvd/logsrvd_local.c:205 +msgid "error creating I/O log" +msgstr "建立 I/O 日誌時發生錯誤" + +#: logsrvd/logsrvd_local.c:228 +msgid "error logging accept event" +msgstr "記錄接受事件時發生錯誤" + +#: logsrvd/logsrvd_local.c:267 +msgid "error parsing RejectMessage" +msgstr "解析 RejectMessage 時發生錯誤" + +#: logsrvd/logsrvd_local.c:291 +msgid "error logging reject event" +msgstr "記錄拒絕事件時發生錯誤" + +#: logsrvd/logsrvd_local.c:427 logsrvd/logsrvd_local.c:435 +msgid "error logging exit event" +msgstr "記錄離開 (exit) 事件時發生錯誤" + +#: logsrvd/logsrvd_local.c:492 logsrvd/logsrvd_local.c:493 +msgid "log is already complete, cannot be restarted" +msgstr "記錄已完成,無法重新開始" + +#: logsrvd/logsrvd_local.c:523 +msgid "unable to restart log" +msgstr "無法重新啟動記錄" + +#: logsrvd/logsrvd_local.c:539 +msgid "error parsing AlertMessage" +msgstr "解析 AlertMessage 時發生錯誤" + +#: logsrvd/logsrvd_local.c:549 +msgid "error logging alert event" +msgstr "記錄提醒事件時發生錯誤" + +#: logsrvd/logsrvd_local.c:585 logsrvd/logsrvd_local.c:648 +#: logsrvd/logsrvd_local.c:683 +#, c-format +msgid "unable to format timing buffer, length %d" +msgstr "無法格式化計時緩衝區,長度 %d" + +#: logsrvd/logsrvd_local.c:599 logsrvd/logsrvd_local.c:607 +#: logsrvd/logsrvd_local.c:655 logsrvd/logsrvd_local.c:690 +#: plugins/sudoers/sudoreplay.c:344 +#, c-format +msgid "%s/%s: %s" +msgstr "%s/%s: %s" + +#: logsrvd/logsrvd_local.c:618 +msgid "randomly dropping connection" +msgstr "隨機丟棄連接" + +#: logsrvd/logsrvd_local.c:630 +msgid "error writing IoBuffer" +msgstr "寫入 IoBuffer 時發生錯誤" + +#: logsrvd/logsrvd_local.c:665 +msgid "error writing ChangeWindowSize" +msgstr "寫入 ChangeWindowSize 時發生錯誤" + +#: logsrvd/logsrvd_local.c:700 +msgid "error writing CommandSuspend" +msgstr "寫入 CommandSuspend 時發生錯誤" + +#: logsrvd/logsrvd_relay.c:435 +msgid "TLS handshake with relay host failed" +msgstr "無法與轉送主機進行 TLS 交握" + +#: logsrvd/logsrvd_relay.c:463 +msgid "unable to connect to relay host" +msgstr "無法連線至轉送主機" + +#: logsrvd/logsrvd_relay.c:518 +#, c-format +msgid "%s: invalid ServerHello, missing server_id" +msgstr "%s:無效的 ServerHello,缺少 server_id" + +#: logsrvd/logsrvd_relay.c:520 logsrvd/sendlog.c:1096 +#: plugins/sudoers/log_client.c:1468 +msgid "invalid ServerHello" +msgstr "無效的 ServerHello" + +#: logsrvd/logsrvd_relay.c:679 +msgid "unrecognized ServerMessage type" +msgstr "未知 ServerMessage 類型" + +#: logsrvd/logsrvd_relay.c:708 +#, c-format +msgid "timed out reading from relay %s (%s)" +msgstr "從轉送點 %s 讀取等待逾時 (%s)" + +#: logsrvd/logsrvd_relay.c:710 +msgid "timeout reading from relay" +msgstr "從轉送點讀取時等待逾時" + +#: logsrvd/logsrvd_relay.c:762 +msgid "relay host name does not match certificate" +msgstr "轉送點主機名稱與憑證不同" + +#: logsrvd/logsrvd_relay.c:768 logsrvd/logsrvd_relay.c:782 +#: logsrvd/logsrvd_relay.c:789 +msgid "error reading from relay" +msgstr "從轉送點讀取時發生錯誤" + +#: logsrvd/logsrvd_relay.c:810 +msgid "unable to read from relay" +msgstr "無法從轉送點讀取" + +#: logsrvd/logsrvd_relay.c:825 logsrvd/logsrvd_relay.c:943 +msgid "relay server closed connection" +msgstr "轉送伺服器已經關閉連線" + +#: logsrvd/logsrvd_relay.c:843 +msgid "server message too large" +msgstr "伺服器訊息過長" + +#: logsrvd/logsrvd_relay.c:907 +#, c-format +msgid "timed out writing to relay %s (%s)" +msgstr "寫入轉送點 %s 等待逾時 (%s)" + +#: logsrvd/logsrvd_relay.c:909 +msgid "timeout writing to relay" +msgstr "寫入至轉送點時等待逾時" + +#: logsrvd/logsrvd_relay.c:962 logsrvd/logsrvd_relay.c:969 +#: logsrvd/logsrvd_relay.c:981 +msgid "error writing to relay" +msgstr "寫入至轉送點時發生錯誤" + +#: logsrvd/sendlog.c:119 +msgid "send sudo I/O log to remote server" +msgstr "傳送 sudo I/O 記錄到遠端伺服器" + +#: logsrvd/sendlog.c:125 +msgid "only send an accept event (no I/O)" +msgstr "只傳送接受事件(無 I/O)" + +#: logsrvd/sendlog.c:128 +msgid "certificate bundle file to verify server's cert against" +msgstr "用來驗證伺服器 cert against 的憑證組合檔案" + +#: logsrvd/sendlog.c:130 +msgid "certificate file for TLS handshake" +msgstr "用在 TLS 交握的憑證檔案" + +#: logsrvd/sendlog.c:133 +msgid "host to send logs to" +msgstr "記錄的傳送目的地主機" + +#: logsrvd/sendlog.c:135 +msgid "remote ID of I/O log to be resumed" +msgstr "要恢復的 I/O 記錄的遠端 ID" + +#: logsrvd/sendlog.c:138 +msgid "private key file" +msgstr "私鑰檔案" + +#: logsrvd/sendlog.c:140 +msgid "do not verify server certificate" +msgstr "不要驗證伺服器的憑證" + +#: logsrvd/sendlog.c:143 +msgid "port to use when connecting to host" +msgstr "連接主機時要使用的連接埠" + +#: logsrvd/sendlog.c:145 +msgid "restart previous I/O log transfer" +msgstr "重新開始上一個 I/O 記錄傳輸" + +#: logsrvd/sendlog.c:147 +msgid "reject the command with the given reason" +msgstr "以指定理由拒絕命令" + +#: logsrvd/sendlog.c:149 +msgid "stop transfer after reaching this time" +msgstr "超過指定時間時停止傳輸" + +#: logsrvd/sendlog.c:151 +msgid "test audit server by sending selected I/O log n times in parallel" +msgstr "透過平行傳送選取 I/O 記錄 n 次來測試稽核伺服器" + +#: logsrvd/sendlog.c:176 plugins/sudoers/log_client.c:453 +#, c-format +msgid "unable to look up %s:%s: %s" +msgstr "無法查看 %s:%s: %s" + +#: logsrvd/sendlog.c:214 +msgid "unable to get server IP addr" +msgstr "無法取得伺服器 IP 地址" + +#: logsrvd/sendlog.c:300 plugins/sudoers/sudoreplay.c:868 +#, c-format +msgid "unable to read %s/%s: %s" +msgstr "無法讀取 %s/%s: %s" + +#: logsrvd/sendlog.c:1020 plugins/sudoers/iolog.c:949 +#: plugins/sudoers/iolog.c:1024 +#, c-format +msgid "unexpected I/O event %d" +msgstr "不應有的 I/O 事件 %d" + +#: logsrvd/sendlog.c:1073 logsrvd/sendlog.c:1090 logsrvd/sendlog.c:1124 +#: plugins/sudoers/log_client.c:1118 plugins/sudoers/log_client.c:1394 +#: plugins/sudoers/log_client.c:1462 plugins/sudoers/log_client.c:1501 +#, c-format +msgid "%s: unexpected state %d" +msgstr "%s:不應有的狀態 %d" + +#: logsrvd/sendlog.c:1160 plugins/sudoers/log_client.c:1550 +#, c-format +msgid "error message received from server: %s" +msgstr "自伺服器接收到錯誤訊息:%s" + +#: logsrvd/sendlog.c:1173 plugins/sudoers/log_client.c:1563 +#, c-format +msgid "abort message received from server: %s" +msgstr "自伺服器接收到中止訊息:%s" + +#: logsrvd/sendlog.c:1232 plugins/sudoers/log_client.c:1613 +#, c-format +msgid "%s: unexpected type_case value %d" +msgstr "%s:不應有的 type_case 值 %d" + +#: logsrvd/sendlog.c:1261 +msgid "timeout reading from server" +msgstr "從伺服器讀取逾時" + +#: logsrvd/sendlog.c:1310 plugins/sudoers/log_client.c:1729 +msgid "host name does not match certificate" +msgstr "主機名稱和憑證不符" + +#: logsrvd/sendlog.c:1343 +msgid "premature EOF" +msgstr "檔案過早結束" + +#: logsrvd/sendlog.c:1356 plugins/sudoers/log_client.c:1776 +#, c-format +msgid "server message too large: %u" +msgstr "伺服器訊息過長:%u" + +#: logsrvd/sendlog.c:1412 +msgid "timeout writing to server" +msgstr "寫入至伺服器逾時" + +#: logsrvd/sendlog.c:1779 +msgid "both restart point and iolog ID must be specified" +msgstr "必須指定重新啟動點 (restart point) 和 iolog ID" + +#: logsrvd/sendlog.c:1783 +msgid "a restart point may not be set when no I/O is sent" +msgstr "未傳送 I/O 時,不應設定重新開始點" + +#: logsrvd/sendlog.c:1859 +#, c-format +msgid "exited prematurely with state %d" +msgstr "過早結束,狀態碼 %d" + +#: logsrvd/sendlog.c:1860 +#, c-format +msgid "elapsed time sent to server [%lld, %ld]" +msgstr "已傳送耗用時間至伺服器 [%lld, %ld]" + +#: logsrvd/sendlog.c:1862 +#, c-format +msgid "commit point received from server [%lld, %ld]" +msgstr "自伺服器接收到提交點 (commit point) [%lld, %ld]" + +#: logsrvd/tls_client.c:111 plugins/sudoers/log_client.c:315 +msgid "TLS handshake timeout occurred" +msgstr "遇到 TLS 交握逾時" + +#: logsrvd/tls_client.c:131 logsrvd/tls_client.c:147 +#: plugins/sudoers/log_client.c:337 plugins/sudoers/log_client.c:353 +msgid "unable to set event" +msgstr "無法設定事件" + +#: logsrvd/tls_client.c:157 logsrvd/tls_client.c:161 +#, c-format +msgid "TLS connection failed: %s" +msgstr "TLS 連線失敗:%s" + +#: logsrvd/tls_client.c:196 +#, c-format +msgid "unable to allocate ssl object: %s" +msgstr "無法配置 SSL 物件:%s" + +#: logsrvd/tls_client.c:210 +#, c-format +msgid "Unable to attach socket to the ssl object: %s" +msgstr "無法將 socket 通訊端連結至 SSL 物件:%s" + +#: logsrvd/tls_client.c:238 +msgid "unable to initialize TLS context" +msgstr "無法初始化 TLS 上下文" + +#: logsrvd/tls_init.c:138 logsrvd/tls_init.c:146 +#, c-format +msgid "unable to set TLS 1.2 ciphersuite to %s: %s" +msgstr "無法將 TLS 1.2 加密套件設為 %s:%s" + +#: logsrvd/tls_init.c:166 logsrvd/tls_init.c:174 +#, c-format +msgid "unable to set TLS 1.3 ciphersuite to %s: %s" +msgstr "無法將 TLS 1.3 加密套件設為 %s:%s" + +#: logsrvd/tls_init.c:206 logsrvd/tls_init.c:227 +#, c-format +msgid "unable to set diffie-hellman parameters: %s" +msgstr "無法設定迪菲-赫爾曼參數:%s" + +#: logsrvd/tls_init.c:283 +#, c-format +msgid "unable to create TLS context: %s" +msgstr "無法建立 TLS 情境:%s" + +#: logsrvd/tls_init.c:290 +#, c-format +msgid "unable to set minimum protocol version to TLS 1.2: %s" +msgstr "無法將最低通訊協定版本設為 TLS 1.2:%s" + +#: plugins/sudoers/audit.c:269 plugins/sudoers/audit.c:429 +#: plugins/sudoers/log_client.c:951 plugins/sudoers/log_client.c:1000 +#: plugins/sudoers/log_client.c:1049 plugins/sudoers/log_client.c:1174 +#: plugins/sudoers/logging.c:595 plugins/sudoers/logging.c:693 +#: plugins/sudoers/logging.c:796 plugins/sudoers/logging.c:987 +#: plugins/sudoers/policy.c:125 +msgid "unable to get time of day" +msgstr "無法取得一日時間" + +#: plugins/sudoers/auth/aix_auth.c:280 +#, c-format +msgid "unable to change password for %s" +msgstr "無法變更 %s 的密碼" + +#: plugins/sudoers/auth/bsdauth.c:74 +#, c-format +msgid "unable to get login class for user %s" +msgstr "無法取得使用者 %s 的登入類別" + +#: plugins/sudoers/auth/bsdauth.c:79 +msgid "unable to begin bsd authentication" +msgstr "無法開始進行 BSD 認證" + +#: plugins/sudoers/auth/bsdauth.c:87 +msgid "invalid authentication type" +msgstr "無效的認證類型" + +#: plugins/sudoers/auth/bsdauth.c:96 +msgid "unable to initialize BSD authentication" +msgstr "無法初始化 BSD 認證程序" + +#: plugins/sudoers/auth/bsdauth.c:186 +msgid "your account has expired" +msgstr "您的帳號已經過期" + +#: plugins/sudoers/auth/bsdauth.c:188 +msgid "approval failed" +msgstr "核可失敗" + +#: plugins/sudoers/auth/fwtk.c:61 +msgid "unable to read fwtk config" +msgstr "無法讀取 fwtk 組態設定" + +#: plugins/sudoers/auth/fwtk.c:66 +msgid "unable to connect to authentication server" +msgstr "無法連線到認證伺服器" + +#: plugins/sudoers/auth/fwtk.c:72 plugins/sudoers/auth/fwtk.c:97 +#: plugins/sudoers/auth/fwtk.c:129 +msgid "lost connection to authentication server" +msgstr "失去對認證伺服器的連線" + +#: plugins/sudoers/auth/fwtk.c:76 +#, c-format +msgid "" +"authentication server error:\n" +"%s" +msgstr "" +"認證伺服器發生錯誤:\n" +"%s" + +#: plugins/sudoers/auth/kerb5.c:115 +#, c-format +msgid "%s: unable to convert principal to string ('%s'): %s" +msgstr "%s:無法將主體轉換成字串 ('%s'):%s" + +#: plugins/sudoers/auth/kerb5.c:164 +#, c-format +msgid "%s: unable to parse '%s': %s" +msgstr "%s:無法解析「%s」:%s" + +#: plugins/sudoers/auth/kerb5.c:173 +#, c-format +msgid "%s: unable to resolve credential cache: %s" +msgstr "%s:無法解析憑證快取:%s" + +#: plugins/sudoers/auth/kerb5.c:222 +#, c-format +msgid "%s: unable to allocate options: %s" +msgstr "%s:無法分配選項:%s" + +#: plugins/sudoers/auth/kerb5.c:237 +#, c-format +msgid "%s: unable to get credentials: %s" +msgstr "%s:無法取得憑證:%s" + +#: plugins/sudoers/auth/kerb5.c:250 +#, c-format +msgid "%s: unable to initialize credential cache: %s" +msgstr "%s:無法初始化憑證快取:%s" + +#: plugins/sudoers/auth/kerb5.c:253 +#, c-format +msgid "%s: unable to store credential in cache: %s" +msgstr "%s:無法將憑證儲存於快取:%s" + +#: plugins/sudoers/auth/kerb5.c:317 +#, c-format +msgid "%s: unable to get host principal: %s" +msgstr "%s:無法取得主機主體:%s" + +#: plugins/sudoers/auth/kerb5.c:331 +#, c-format +msgid "%s: Cannot verify TGT! Possible attack!: %s" +msgstr "%s:無法驗證 TGT!可能發生攻擊事件!:%s" + +#: plugins/sudoers/auth/pam.c:224 +#, c-format +msgid "unable to initialize PAM: %s" +msgstr "無法初始化 PAM:%s" + +#: plugins/sudoers/auth/pam.c:337 +#, c-format +msgid "PAM authentication error: %s" +msgstr "PAM 認證發生錯誤:%s" + +#: plugins/sudoers/auth/pam.c:356 +msgid "account validation failure, is your account locked?" +msgstr "檢查帳號有效性失敗,請檢查您的帳號是否被鎖定。" + +#: plugins/sudoers/auth/pam.c:367 +msgid "Account or password is expired, reset your password and try again" +msgstr "帳號或密碼已標為過期,請重設密碼後重試" + +#: plugins/sudoers/auth/pam.c:373 +#, c-format +msgid "unable to change expired password: %s" +msgstr "無法變更已過期密碼:%s" + +#: plugins/sudoers/auth/pam.c:384 +msgid "Password expired, contact your system administrator" +msgstr "密碼已標為過期,請聯絡您的系統管理員" + +#: plugins/sudoers/auth/pam.c:389 +msgid "Account expired or PAM config lacks an \"account\" section for sudo, contact your system administrator" +msgstr "帳號已過期或是 PAM 組態設定缺少 sudo 的 \"account\" 部份,請聯絡您的系統管理員" + +#: plugins/sudoers/auth/pam.c:397 plugins/sudoers/auth/pam.c:402 +#, c-format +msgid "PAM account management error: %s" +msgstr "PAM 帳號管理發生錯誤:%s" + +#: plugins/sudoers/auth/rfc1938.c:99 plugins/sudoers/visudo.c:271 +#, c-format +msgid "you do not exist in the %s database" +msgstr "您不在 %s 資料庫中" + +#: plugins/sudoers/auth/securid5.c:75 +msgid "failed to initialise the ACE API library" +msgstr "無法初始化 ACE API 函式庫" + +#: plugins/sudoers/auth/securid5.c:106 +msgid "unable to contact the SecurID server" +msgstr "無法聯繫 SecurID 伺服器" + +#: plugins/sudoers/auth/securid5.c:115 +msgid "User ID locked for SecurID Authentication" +msgstr "用於 SecurID 認證的使用者 ID 已被鎖定" + +#: plugins/sudoers/auth/securid5.c:119 plugins/sudoers/auth/securid5.c:171 +msgid "invalid username length for SecurID" +msgstr "用於 SecurID 的使用者名稱長度無效" + +#: plugins/sudoers/auth/securid5.c:123 plugins/sudoers/auth/securid5.c:176 +msgid "invalid Authentication Handle for SecurID" +msgstr "用於 SecurID 的認證處理無效" + +#: plugins/sudoers/auth/securid5.c:127 +msgid "SecurID communication failed" +msgstr "SecurID 通訊失敗" + +#: plugins/sudoers/auth/securid5.c:131 plugins/sudoers/auth/securid5.c:219 +msgid "unknown SecurID error" +msgstr "未知 SecurID 錯誤" + +#: plugins/sudoers/auth/securid5.c:166 +msgid "invalid passcode length for SecurID" +msgstr "用於 SecurID 的密碼長度無效" + +#: plugins/sudoers/auth/sia.c:69 plugins/sudoers/auth/sia.c:126 +msgid "unable to initialize SIA session" +msgstr "無法初始化 SIA 工作階段" + +#: plugins/sudoers/auth/sudo_auth.c:135 +msgid "invalid authentication methods" +msgstr "無效的認證方式" + +#: plugins/sudoers/auth/sudo_auth.c:137 +msgid "Invalid authentication methods compiled into sudo! You may not mix standalone and non-standalone authentication." +msgstr "sudo 被編譯進無效的認證方式!您不能混合獨立及非獨立認證方式。" + +#: plugins/sudoers/auth/sudo_auth.c:258 plugins/sudoers/auth/sudo_auth.c:310 +msgid "no authentication methods" +msgstr "沒有認證方式" + +#: plugins/sudoers/auth/sudo_auth.c:260 +msgid "There are no authentication methods compiled into sudo! If you want to turn off authentication, use the --disable-authentication configure option." +msgstr "沒有編譯進 sudo 的認證方式!若要關閉認證功能,請使用 --disable-authentication 設定選項。" + +#: plugins/sudoers/auth/sudo_auth.c:312 +msgid "Unable to initialize authentication methods." +msgstr "無法初始化認證方式。" + +#: plugins/sudoers/auth/sudo_auth.c:486 +msgid "Authentication methods:" +msgstr "認證方式:" + +#: plugins/sudoers/bsm_audit.c:123 plugins/sudoers/bsm_audit.c:214 +msgid "Could not determine audit condition" +msgstr "無法確定稽核條件" + +#: plugins/sudoers/bsm_audit.c:188 plugins/sudoers/bsm_audit.c:277 +msgid "unable to commit audit record" +msgstr "無法提交稽核記錄" + +#: plugins/sudoers/check.c:285 +#, c-format +msgid "error reading lecture file %s" +msgstr "讀取使用指引檔案 %s 時發生錯誤" + +#: plugins/sudoers/check.c:288 +#, c-format +msgid "ignoring lecture file %s: not a regular file" +msgstr "忽略使用指引檔案 %s:不是一般檔案" + +#: plugins/sudoers/check.c:301 +msgid "" +"\n" +"We trust you have received the usual lecture from the local System\n" +"Administrator. It usually boils down to these three things:\n" +"\n" +" #1) Respect the privacy of others.\n" +" #2) Think before you type.\n" +" #3) With great power comes great responsibility.\n" +"\n" +msgstr "" +"\n" +"我們相信您已經從本機系統管理員取得\n" +"日常注意事項。注意事項通常可以歸結為三件事情:\n" +"\n" +" #1) 尊重他人隱私。\n" +" #2) 輸入指令前先三思。\n" +" #3) 權力越大則責任越大。\n" +"\n" + +#: plugins/sudoers/check.c:309 +msgid "" +"For security reasons, the password you type will not be visible.\n" +"\n" +msgstr "" +"考量到安全性因素,不會顯示您輸入的密碼。\n" +"\n" + +#: plugins/sudoers/check.c:353 plugins/sudoers/check.c:363 +#: plugins/sudoers/parse.c:82 plugins/sudoers/sudoers.c:945 +#: plugins/sudoers/sudoers.c:966 plugins/sudoers/tsdump.c:119 +#, c-format +msgid "unknown uid %u" +msgstr "未知 uid %u" + +#: plugins/sudoers/check_aliases.c:99 plugins/sudoers/defaults.c:1279 +#, c-format +msgid "%s: %s\n" +msgstr "%s:%s\n" + +#: plugins/sudoers/check_aliases.c:133 +#, c-format +msgid "cycle in %s \"%s\"" +msgstr "%s「%s」中有循環" + +#: plugins/sudoers/check_aliases.c:136 +#, c-format +msgid "%s \"%s\" referenced but not defined" +msgstr "引用了尚未定義的 %s「%s」" + +#: plugins/sudoers/cvtsudoers.c:209 +#, c-format +msgid "order increment: %s: %s" +msgstr "新增順序:%s:%s" + +#: plugins/sudoers/cvtsudoers.c:228 +#, c-format +msgid "starting order: %s: %s" +msgstr "順序開頭:%s:%s" + +#: plugins/sudoers/cvtsudoers.c:238 +#, c-format +msgid "order padding: %s: %s" +msgstr "順序間距:%s:%s" + +#: plugins/sudoers/cvtsudoers.c:248 plugins/sudoers/visudo.c:184 +#, c-format +msgid "%s grammar version %d\n" +msgstr "%s 語法版本 %d\n" + +#: plugins/sudoers/cvtsudoers.c:277 plugins/sudoers/testsudoers.c:159 +#, c-format +msgid "unsupported input format %s" +msgstr "不支援的輸入格式 %s" + +#: plugins/sudoers/cvtsudoers.c:295 +#, c-format +msgid "unsupported output format %s" +msgstr "不支援的輸出格式 %s" + +#: plugins/sudoers/cvtsudoers.c:385 +#, c-format +msgid "%s: input and output files must be different" +msgstr "%s:輸入及輸出檔案必須不一致" + +#: plugins/sudoers/cvtsudoers.c:399 plugins/sudoers/sudoers.c:166 +#: plugins/sudoers/sudoers.c:222 plugins/sudoers/testsudoers.c:254 +#: plugins/sudoers/visudo.c:280 plugins/sudoers/visudo.c:654 +msgid "unable to initialize sudoers default values" +msgstr "無法初始化 sudoers 預設值" + +#: plugins/sudoers/cvtsudoers.c:525 plugins/sudoers/ldap_conf.c:434 +#, c-format +msgid "%s: %s: %s: %s" +msgstr "%s: %s: %s: %s" + +#: plugins/sudoers/cvtsudoers.c:584 +#, c-format +msgid "%s: unknown key word %s" +msgstr "%s:未知關鍵字 %s" + +#: plugins/sudoers/cvtsudoers.c:630 +#, c-format +msgid "invalid defaults type: %s" +msgstr "預設類型無效:%s" + +#: plugins/sudoers/cvtsudoers.c:653 +#, c-format +msgid "invalid suppression type: %s" +msgstr "隱藏類型無效:%s" + +#: plugins/sudoers/cvtsudoers.c:694 plugins/sudoers/cvtsudoers.c:710 +#, c-format +msgid "invalid filter: %s" +msgstr "篩選器無效:%s" + +#: plugins/sudoers/cvtsudoers.c:754 plugins/sudoers/visudo.c:982 +#, c-format +msgid "failed to parse %s file, unknown error" +msgstr "無法解析 %s 檔案,原因:未知錯誤" + +#: plugins/sudoers/cvtsudoers.c:1478 plugins/sudoers/sudoreplay.c:1142 +#: plugins/sudoers/timestamp.c:343 plugins/sudoers/timestamp.c:346 +#, c-format +msgid "unable to write to %s" +msgstr "無法寫入 %s" + +#: plugins/sudoers/cvtsudoers.c:1506 +#, c-format +msgid "" +"%s - convert between sudoers file formats\n" +"\n" +msgstr "" +"%s - 轉換 sudoers 檔案之間的格式\n" +"\n" + +#: plugins/sudoers/cvtsudoers.c:1508 +msgid "" +"\n" +"Options:\n" +" -b, --base=dn the base DN for sudo LDAP queries\n" +" -c, --config=conf_file the path to the configuration file\n" +" -d, --defaults=deftypes only convert Defaults of the specified types\n" +" -e, --expand-aliases expand aliases when converting\n" +" -f, --output-format=format set output format: JSON, LDIF or sudoers\n" +" -i, --input-format=format set input format: LDIF or sudoers\n" +" -I, --increment=num amount to increase each sudoOrder by\n" +" -h, --help display help message and exit\n" +" -m, --match=filter only convert entries that match the filter\n" +" -M, --match-local match filter uses passwd and group databases\n" +" -o, --output=output_file write converted sudoers to output_file\n" +" -O, --order-start=num starting point for first sudoOrder\n" +" -p, --prune-matches prune non-matching users, groups and hosts\n" +" -P, --padding=num base padding for sudoOrder increment\n" +" -s, --suppress=sections suppress output of certain sections\n" +" -V, --version display version information and exit" +msgstr "" +"\n" +"選項:\n" +" -b, --base=dn 用於 sudo LDAP 查詢的基礎 DN\n" +" -c, --config=設定檔 組態設定檔的路徑\n" +" -d, --defaults=deftypes 只轉換指定類型的預設值\n" +" -e, --expand-aliases 在轉換時展開別名\n" +" -f, --output-format=格式 設定輸出格式:JSON、LDIF 或 sudoers\n" +" -i, --input-format=格式 設定輸入格式:LDIF 或 sudoers\n" +" -I, --increment=量 每個 sudoOrder 的增加量\n" +" -h, --help 顯示說明訊息後退出\n" +" -m, --match=篩選器 只轉換符合過濾器的條目\n" +" -M, --match-local 符合使用 passwd 和群組資料庫的篩選器\n" +" -o, --output=輸出檔 將轉換後的 sudoers 寫入 <輸出檔>\n" +" -O, --order-start=起點值 第一個 sudoOrder 的起點\n" +" -p, --prune-matches 清理不符合的使用者、群組和主機\n" +" -P, --padding=間隔 sudoOrder 的增加間隔\n" +" -s, --suppress=部份 隱藏某些部分的輸出\n" +" -V, --version 顯示版本訊息後退出" + +#: plugins/sudoers/cvtsudoers_csv.c:192 plugins/sudoers/cvtsudoers_csv.c:199 +#: plugins/sudoers/cvtsudoers_ldif.c:244 plugins/sudoers/cvtsudoers_ldif.c:251 +#: plugins/sudoers/cvtsudoers_ldif.c:592 plugins/sudoers/env.c:340 +#: plugins/sudoers/env.c:347 plugins/sudoers/env.c:458 +#: plugins/sudoers/ldap.c:528 plugins/sudoers/ldap.c:761 +#: plugins/sudoers/ldap.c:1134 plugins/sudoers/ldap_conf.c:222 +#: plugins/sudoers/ldap_conf.c:313 plugins/sudoers/ldap_util.c:486 +#: plugins/sudoers/linux_audit.c:92 plugins/sudoers/logging.c:461 +#: plugins/sudoers/logging.c:817 plugins/sudoers/logging.c:827 +#: plugins/sudoers/policy.c:807 plugins/sudoers/policy.c:818 +#: plugins/sudoers/prompt.c:168 plugins/sudoers/serialize_list.c:62 +#: plugins/sudoers/serialize_list.c:71 plugins/sudoers/strvec_join.c:62 +#: plugins/sudoers/sudoreplay.c:1339 plugins/sudoers/sudoreplay.c:1345 +#: plugins/sudoers/sudoreplay.c:1351 plugins/sudoers/testsudoers.c:245 +#: plugins/sudoers/toke_util.c:213 toke.l:995 toke.l:1197 +#, c-format +msgid "internal error, %s overflow" +msgstr "內部錯誤,%s 溢出" + +#: plugins/sudoers/cvtsudoers_csv.c:452 plugins/sudoers/cvtsudoers_csv.c:466 +#: plugins/sudoers/cvtsudoers_json.c:657 plugins/sudoers/cvtsudoers_json.c:672 +#: plugins/sudoers/cvtsudoers_ldif.c:347 plugins/sudoers/cvtsudoers_ldif.c:360 +#: plugins/sudoers/ldap.c:512 +msgid "unable to get GMT time" +msgstr "無法取得 GMT 時間" + +#: plugins/sudoers/cvtsudoers_csv.c:457 plugins/sudoers/cvtsudoers_csv.c:471 +#: plugins/sudoers/cvtsudoers_json.c:662 plugins/sudoers/cvtsudoers_json.c:677 +#: plugins/sudoers/cvtsudoers_ldif.c:352 plugins/sudoers/cvtsudoers_ldif.c:365 +#: plugins/sudoers/ldap.c:520 +msgid "unable to format timestamp" +msgstr "無法格式化時間戳" + +#: plugins/sudoers/cvtsudoers_json.c:480 plugins/sudoers/cvtsudoers_json.c:515 +#: plugins/sudoers/cvtsudoers_json.c:728 +#, c-format +msgid "%s:%d:%d: unknown defaults entry \"%s\"" +msgstr "%s:%d:%d: 未知的預設條目「%s」" + +#: plugins/sudoers/cvtsudoers_ldif.c:661 +#, c-format +msgid "too many sudoers entries, maximum %u" +msgstr "過多 sudoers 項,最大值為 %u" + +#: plugins/sudoers/cvtsudoers_ldif.c:704 +msgid "the SUDOERS_BASE environment variable is not set and the -b option was not specified." +msgstr "未設定 SUDOERS_BASE 環境變數,且亦未指定 -b 選項。" + +#: plugins/sudoers/cvtsudoers_merge.c:273 +#: plugins/sudoers/cvtsudoers_merge.c:309 +#, c-format +msgid "%s:%d:%d: converting host list to ALL" +msgstr "%s:%d:%d: 將主機清單轉換為 ALL" + +#: plugins/sudoers/cvtsudoers_merge.c:545 +#, c-format +msgid "unable to find alias %s" +msgstr "找不到 %s 別名" + +#: plugins/sudoers/cvtsudoers_merge.c:548 +#, c-format +msgid "%s:%d:%d: renaming alias %s to %s" +msgstr "%s:%d:%d: 將 %s 別名重新命名為 %s" + +#: plugins/sudoers/cvtsudoers_merge.c:605 +#, c-format +msgid "%s:%d:%d: removing duplicate alias %s" +msgstr "%s:%d:%d: 移除重複別名 %s" + +#: plugins/sudoers/cvtsudoers_merge.c:830 +#, c-format +msgid "%s:%d:%d: conflicting Defaults entry \"%s\" host-specific in %s:%d:%d" +msgstr "" + +#: plugins/sudoers/cvtsudoers_merge.c:864 +#, c-format +msgid "%s:%d:%d: made Defaults \"%s\" specific to host %s" +msgstr "%s:%d:%d: 讓 Defaults “%s” 針對 %s 主機" + +#: plugins/sudoers/cvtsudoers_merge.c:882 +#, c-format +msgid "%s:%d:%d: unable to make Defaults \"%s\" host-specific" +msgstr "%s:%d:%d: 無法讓 Defaults「%s」限定於主機" + +#: plugins/sudoers/cvtsudoers_merge.c:892 +#, c-format +msgid "%s:%d:%d: removing Defaults \"%s\" overridden by subsequent entries" +msgstr "%s:%d:%d: 移除被後續項目覆蓋的 Defaults「%s」" + +#: plugins/sudoers/cvtsudoers_merge.c:1088 +#, c-format +msgid "%s:%d:%d: merging userspec into %s:%d:%d" +msgstr "%s:%d:%d: 將使用者規格 (userspec) 合併至 %s:%d:%d" + +#: plugins/sudoers/cvtsudoers_merge.c:1182 +#, c-format +msgid "%s:%d:%d: removing userspec overridden by subsequent entries" +msgstr "%s:%d:%d: 移除被後續項目覆蓋的 userspec" + +#: plugins/sudoers/def_data.c:56 +#, c-format +msgid "Syslog facility if syslog is being used for logging: %s" +msgstr "若使用了 syslog 記錄,要使用的 syslog 裝置:%s" + +#: plugins/sudoers/def_data.c:60 +#, c-format +msgid "Syslog priority to use when user authenticates successfully: %s" +msgstr "使用者認證成功時要使用的 syslog 記錄優先級:%s" + +#: plugins/sudoers/def_data.c:64 +#, c-format +msgid "Syslog priority to use when user authenticates unsuccessfully: %s" +msgstr "使用者認證不成功時使用的 syslog 記錄優先級:%s" + +#: plugins/sudoers/def_data.c:68 +msgid "Put OTP prompt on its own line" +msgstr "將 OPT 提示放在獨自的行中" + +#: plugins/sudoers/def_data.c:72 +msgid "Ignore '.' in $PATH" +msgstr "忽略 $PATH 中的「.」" + +#: plugins/sudoers/def_data.c:76 +msgid "Always send mail when sudo is run" +msgstr "永遠在 sudo 執行時傳送信件" + +#: plugins/sudoers/def_data.c:80 +msgid "Send mail if user authentication fails" +msgstr "使用者認證失敗後傳送信件" + +#: plugins/sudoers/def_data.c:84 +msgid "Send mail if the user is not in sudoers" +msgstr "當使用者不在 sudoers 中時傳送信件" + +#: plugins/sudoers/def_data.c:88 +msgid "Send mail if the user is not in sudoers for this host" +msgstr "當使用者不在此主機的 sudoers 中時傳送信件" + +#: plugins/sudoers/def_data.c:92 +msgid "Send mail if the user is not allowed to run a command" +msgstr "當使用者不允許執行某指令時傳送信件" + +#: plugins/sudoers/def_data.c:96 +msgid "Send mail if the user tries to run a command" +msgstr "當使用者嘗試執行某指令時傳送信件" + +#: plugins/sudoers/def_data.c:100 +msgid "Use a separate timestamp for each user/tty combo" +msgstr "對每個使用者和終端組合使用單獨的時間戳" + +#: plugins/sudoers/def_data.c:104 +msgid "Lecture user the first time they run sudo" +msgstr "在使用者第一次執行 sudo 時,通知使用者相關使用指引" + +#: plugins/sudoers/def_data.c:108 +#, c-format +msgid "File containing the sudo lecture: %s" +msgstr "包含 sudo 使用指引的檔案:%s" + +#: plugins/sudoers/def_data.c:112 +msgid "Require users to authenticate by default" +msgstr "預設要求使用者認證" + +#: plugins/sudoers/def_data.c:116 +msgid "Root may run sudo" +msgstr "Root 可以執行 sudo" + +#: plugins/sudoers/def_data.c:120 +msgid "Log the hostname in the (non-syslog) log file" +msgstr "在(非 syslog)記錄檔中記錄主機名稱" + +#: plugins/sudoers/def_data.c:124 +msgid "Log the year in the (non-syslog) log file" +msgstr "在(非 syslog)記錄檔中記錄年份" + +#: plugins/sudoers/def_data.c:128 +msgid "If sudo is invoked with no arguments, start a shell" +msgstr "若 sudo 不傳入參數呼叫,就開啟 shell" + +#: plugins/sudoers/def_data.c:132 +msgid "Set $HOME to the target user when starting a shell with -s" +msgstr "若以 -s 參數開啟 shell,就設定目標使用者的 $HOME" + +#: plugins/sudoers/def_data.c:136 +msgid "Always set $HOME to the target user's home directory" +msgstr "永遠將 $HOME 設定為目標使用者的家目錄" + +#: plugins/sudoers/def_data.c:140 +msgid "Allow some information gathering to give useful error messages" +msgstr "允許收集一些訊息以提供有用的錯誤訊息" + +#: plugins/sudoers/def_data.c:144 +msgid "Require fully-qualified hostnames in the sudoers file" +msgstr "要求在 sudoers 檔案中包含完整的主機名稱" + +#: plugins/sudoers/def_data.c:148 +msgid "Insult the user when they enter an incorrect password" +msgstr "在使用者輸入錯誤密碼時嘲諷他們" + +#: plugins/sudoers/def_data.c:152 +msgid "Only allow the user to run sudo if they have a tty" +msgstr "只允許有終端的使用者執行 sudo" + +#: plugins/sudoers/def_data.c:156 +msgid "Visudo will honor the EDITOR environment variable" +msgstr "Visudo 將優先考慮 EDITOR 環境變數" + +#: plugins/sudoers/def_data.c:160 +msgid "Prompt for root's password, not the users's" +msgstr "詢問 root 使用者的密碼而非使用者的密碼" + +#: plugins/sudoers/def_data.c:164 +msgid "Prompt for the runas_default user's password, not the users's" +msgstr "詢問 runas_default 使用者的密碼,而非使用者密碼" + +#: plugins/sudoers/def_data.c:168 +msgid "Prompt for the target user's password, not the users's" +msgstr "詢問目標使用者的密碼,而非使用者密碼" + +#: plugins/sudoers/def_data.c:172 +msgid "Apply defaults in the target user's login class if there is one" +msgstr "若有則套用目標使用者登入類別中的預設設定" + +#: plugins/sudoers/def_data.c:176 +msgid "Set the LOGNAME and USER environment variables" +msgstr "設定 LOGNAME 和 USER 環境變數" + +#: plugins/sudoers/def_data.c:180 +msgid "Only set the effective uid to the target user, not the real uid" +msgstr "只將有效使用者 ID 設為目標使用者的 ID,而非實際使用者的 ID" + +#: plugins/sudoers/def_data.c:184 +msgid "Don't initialize the group vector to that of the target user" +msgstr "不將群組集合初始化成目標使用者的群組集合" + +#: plugins/sudoers/def_data.c:188 +#, c-format +msgid "Length at which to wrap log file lines (0 for no wrap): %u" +msgstr "記錄檔案要換行的長度 (0 則不換行):%u" + +#: plugins/sudoers/def_data.c:192 +#, c-format +msgid "Authentication timestamp timeout: %.1f minutes" +msgstr "認證時間戳逾時:%.1f 分鐘" + +#: plugins/sudoers/def_data.c:196 +#, c-format +msgid "Password prompt timeout: %.1f minutes" +msgstr "密碼提示逾時:%.1f 分鐘" + +#: plugins/sudoers/def_data.c:200 +#, c-format +msgid "Number of tries to enter a password: %u" +msgstr "密碼輸入嘗試次數:%u" + +#: plugins/sudoers/def_data.c:204 +#, c-format +msgid "Umask to use or 0777 to use user's: 0%o" +msgstr "要使用的 umask,或設定 0777 以使用使用者的 umask:0%o" + +#: plugins/sudoers/def_data.c:208 +#, c-format +msgid "Path to log file: %s" +msgstr "記錄檔案路徑:%s" + +#: plugins/sudoers/def_data.c:212 +#, c-format +msgid "Path to mail program: %s" +msgstr "郵件程式路徑:%s" + +#: plugins/sudoers/def_data.c:216 +#, c-format +msgid "Flags for mail program: %s" +msgstr "郵件程式旗標:%s" + +#: plugins/sudoers/def_data.c:220 +#, c-format +msgid "Address to send mail to: %s" +msgstr "傳送郵件的位址:%s" + +#: plugins/sudoers/def_data.c:224 +#, c-format +msgid "Address to send mail from: %s" +msgstr "接收郵件的位址:%s" + +#: plugins/sudoers/def_data.c:228 +#, c-format +msgid "Subject line for mail messages: %s" +msgstr "郵件訊息的主旨:%s" + +#: plugins/sudoers/def_data.c:232 +#, c-format +msgid "Incorrect password message: %s" +msgstr "密碼不正確的訊息:%s" + +#: plugins/sudoers/def_data.c:236 +#, c-format +msgid "Path to lecture status dir: %s" +msgstr "指引狀態資料夾的路徑:%s" + +#: plugins/sudoers/def_data.c:240 +#, c-format +msgid "Path to authentication timestamp dir: %s" +msgstr "認證時間戳資料夾的路徑:%s" + +#: plugins/sudoers/def_data.c:244 +#, c-format +msgid "Owner of the authentication timestamp dir: %s" +msgstr "認證時間戳的所有者:%s" + +#: plugins/sudoers/def_data.c:248 +#, c-format +msgid "Users in this group are exempt from password and PATH requirements: %s" +msgstr "此群組內的使用者不需要輸入密碼和 PATH:%s" + +#: plugins/sudoers/def_data.c:252 +#, c-format +msgid "Default password prompt: %s" +msgstr "預設密碼提示:%s" + +#: plugins/sudoers/def_data.c:256 +msgid "If set, passprompt will override system prompt in all cases." +msgstr "如果設定,密碼提示將覆蓋所有情況下的系統提示。" + +#: plugins/sudoers/def_data.c:260 +#, c-format +msgid "Default user to run commands as: %s" +msgstr "要執行指令的預設使用者:%s" + +#: plugins/sudoers/def_data.c:264 +#, c-format +msgid "Value to override user's $PATH with: %s" +msgstr "要覆蓋使用者 $PATH 變數的值:%s" + +#: plugins/sudoers/def_data.c:268 +#, c-format +msgid "Path to the editor for use by visudo: %s" +msgstr "visudo 所使用編輯器的路徑:%s" + +#: plugins/sudoers/def_data.c:272 +#, c-format +msgid "When to require a password for 'list' pseudocommand: %s" +msgstr "何時要為「list」偽指令請求密碼:%s" + +#: plugins/sudoers/def_data.c:276 +#, c-format +msgid "When to require a password for 'verify' pseudocommand: %s" +msgstr "何時要為「verify」偽指令請求密碼:%s" + +#: plugins/sudoers/def_data.c:280 +msgid "Preload the sudo_noexec library which replaces the exec functions" +msgstr "預載會替換掉 exec 函數的 sudo_noexec 函式庫" + +#: plugins/sudoers/def_data.c:284 +msgid "If LDAP directory is up, do we ignore local sudoers file" +msgstr "如果有啟用 LDAP 目錄,是否要忽略本機的 sudoers 檔案" + +#: plugins/sudoers/def_data.c:288 +#, c-format +msgid "File descriptors >= %d will be closed before executing a command" +msgstr ">= %d 的檔案描述符將會在執行指令前關閉" + +#: plugins/sudoers/def_data.c:292 +msgid "If set, users may override the value of \"closefrom\" with the -C option" +msgstr "如果設定,使用者可以透過 -C 選項覆蓋「closefrom」的值" + +#: plugins/sudoers/def_data.c:296 +msgid "Allow users to set arbitrary environment variables" +msgstr "允許使用者設定任意的環境變數" + +#: plugins/sudoers/def_data.c:300 +msgid "Reset the environment to a default set of variables" +msgstr "將環境重設為預設的變數集" + +#: plugins/sudoers/def_data.c:304 +msgid "Environment variables to check for safety:" +msgstr "用來檢查安全性的環境變數:" + +#: plugins/sudoers/def_data.c:308 +msgid "Environment variables to remove:" +msgstr "要移除的環境變數:" + +#: plugins/sudoers/def_data.c:312 +msgid "Environment variables to preserve:" +msgstr "要保留的環境變數:" + +#: plugins/sudoers/def_data.c:316 +#, c-format +msgid "SELinux role to use in the new security context: %s" +msgstr "要在新的安全上下文中使用的 SELinux 角色:%s" + +#: plugins/sudoers/def_data.c:320 +#, c-format +msgid "SELinux type to use in the new security context: %s" +msgstr "要在新的安全上下文中使用的 SELinux 類型:%s" + +#: plugins/sudoers/def_data.c:324 +#, c-format +msgid "Path to the sudo-specific environment file: %s" +msgstr "sudo 特定環境檔案的路徑:%s" + +#: plugins/sudoers/def_data.c:328 +#, c-format +msgid "Path to the restricted sudo-specific environment file: %s" +msgstr "受限 sudo 特定環境檔案的路徑:%s" + +#: plugins/sudoers/def_data.c:332 +#, c-format +msgid "Locale to use while parsing sudoers: %s" +msgstr "解析 sudoers 時要使用的區域設定:%s" + +#: plugins/sudoers/def_data.c:336 +msgid "Allow sudo to prompt for a password even if it would be visible" +msgstr "允許 sudo 詢問密碼,即使它不可見" + +#: plugins/sudoers/def_data.c:340 +msgid "Provide visual feedback at the password prompt when there is user input" +msgstr "使用者在密碼提示輸入時提供視覺回饋" + +#: plugins/sudoers/def_data.c:344 +msgid "Use faster globbing that is less accurate but does not access the filesystem" +msgstr "使用不太精確但不用存取檔案系統的較快 glob 方法" + +#: plugins/sudoers/def_data.c:348 +msgid "The umask specified in sudoers will override the user's, even if it is more permissive" +msgstr "sudoers 中指定的 umask 會覆蓋使用者的 umask,即使使用者允許的權限更多" + +#: plugins/sudoers/def_data.c:352 +msgid "Log user's input for the command being run" +msgstr "記錄指令執行時使用者的輸入內容" + +#: plugins/sudoers/def_data.c:356 +msgid "Log the command's standard input if not connected to a terminal" +msgstr "如果未連結至終端機,則記錄命令的標準輸入" + +#: plugins/sudoers/def_data.c:360 +msgid "Log the user's terminal input for the command being run" +msgstr "記錄命令執行時,使用者在終端機的輸入內容" + +#: plugins/sudoers/def_data.c:364 +msgid "Log the output of the command being run" +msgstr "記錄命令執行時的輸出內容" + +#: plugins/sudoers/def_data.c:368 +msgid "Log the command's standard output if not connected to a terminal" +msgstr "如果未連結至終端機,則記錄命令的標準輸出" + +#: plugins/sudoers/def_data.c:372 +msgid "Log the command's standard error if not connected to a terminal" +msgstr "如果未連結至終端機,則記錄命令的標準錯誤" + +#: plugins/sudoers/def_data.c:376 +msgid "Log the terminal output of the command being run" +msgstr "記錄命令執行時的終端機輸出內容" + +#: plugins/sudoers/def_data.c:380 +msgid "Compress I/O logs using zlib" +msgstr "使用 zlib 壓縮 I/O 記錄" + +#: plugins/sudoers/def_data.c:384 +msgid "Always run commands in a pseudo-tty" +msgstr "總是在偽終端中執行指令" + +#: plugins/sudoers/def_data.c:388 +#, c-format +msgid "Plugin for non-Unix group support: %s" +msgstr "用於非 Unix 群組支援的外掛程式:%s" + +#: plugins/sudoers/def_data.c:392 +#, c-format +msgid "Directory in which to store input/output logs: %s" +msgstr "用於儲存輸入/輸出記錄的目錄:%s" + +#: plugins/sudoers/def_data.c:396 +#, c-format +msgid "File in which to store the input/output log: %s" +msgstr "用於儲存輸入/輸出記錄的檔案:%s" + +#: plugins/sudoers/def_data.c:400 +msgid "Add an entry to the utmp/utmpx file when allocating a pty" +msgstr "在分配偽終端時向 utmp/utmpx 檔案中附加一條記錄" + +#: plugins/sudoers/def_data.c:404 +msgid "Set the user in utmp to the runas user, not the invoking user" +msgstr "將 utmp 中的使用者設為 runas 使用者,而不是呼叫使用者" + +#: plugins/sudoers/def_data.c:408 +#, c-format +msgid "Set of permitted privileges: %s" +msgstr "核准的權限集合:%s" + +#: plugins/sudoers/def_data.c:412 +#, c-format +msgid "Set of limit privileges: %s" +msgstr "限制的權限集合:%s" + +#: plugins/sudoers/def_data.c:416 +msgid "Run commands on a pty in the background" +msgstr "在背景的偽終端上執行指令" + +#: plugins/sudoers/def_data.c:420 +#, c-format +msgid "PAM service name to use: %s" +msgstr "要使用的 PAM 服務名稱:%s" + +#: plugins/sudoers/def_data.c:424 +#, c-format +msgid "PAM service name to use for login shells: %s" +msgstr "用於登入 shell 的 PAM 服務名稱:%s" + +#: plugins/sudoers/def_data.c:428 +#, c-format +msgid "PAM service name to use when sudo is run with the -A option: %s" +msgstr "sudo 以 -A 選項執行時,要使用的 PAM 服務名稱:%s" + +#: plugins/sudoers/def_data.c:432 +msgid "Attempt to establish PAM credentials for the target user" +msgstr "嘗試為目標使用者建立 PAM 憑證" + +#: plugins/sudoers/def_data.c:436 +msgid "Create a new PAM session for the command to run in" +msgstr "建立一個新的 PAM 工作階段來執行該指令" + +#: plugins/sudoers/def_data.c:440 +msgid "Perform PAM account validation management" +msgstr "執行 PAM 帳戶驗證管理工具" + +#: plugins/sudoers/def_data.c:444 +#, c-format +msgid "Maximum I/O log sequence number: %s" +msgstr "最大 I/O 記錄序號:%s" + +#: plugins/sudoers/def_data.c:448 +msgid "Enable sudoers netgroup support" +msgstr "啟用 sudoers netgroup 支援" + +#: plugins/sudoers/def_data.c:452 +msgid "Check parent directories for writability when editing files with sudoedit" +msgstr "在使用 sudoedit 編輯檔案時檢查上層目錄是否可寫" + +#: plugins/sudoers/def_data.c:456 +msgid "Follow symbolic links when editing files with sudoedit" +msgstr "使用 sudoedit 編輯檔案時跟隨符號連結(定位到原檔案)" + +#: plugins/sudoers/def_data.c:460 +msgid "Query the group plugin for unknown system groups" +msgstr "透過群組外掛程式查詢未知的系統群組" + +#: plugins/sudoers/def_data.c:464 +msgid "Match netgroups based on the entire tuple: user, host and domain" +msgstr "基於整個元組(使用者、主機和網域)來符合網路群組" + +#: plugins/sudoers/def_data.c:468 +msgid "Allow commands to be run even if sudo cannot write to the audit log" +msgstr "即使 sudo 無法寫入稽核記錄也允許執行指令" + +#: plugins/sudoers/def_data.c:472 +msgid "Allow commands to be run even if sudo cannot write to the I/O log" +msgstr "即使 sudo 無法寫入 I/O 記錄也允許執行指令" + +#: plugins/sudoers/def_data.c:476 +msgid "Allow commands to be run even if sudo cannot write to the log file" +msgstr "即使 sudo 無法寫入記錄檔案也允許執行指令" + +#: plugins/sudoers/def_data.c:480 +msgid "Resolve groups in sudoers and match on the group ID, not the name" +msgstr "解析 sudoers 中的群組並基於群組 ID(不是名稱)比較" + +#: plugins/sudoers/def_data.c:484 +#, c-format +msgid "Log entries larger than this value will be split into multiple syslog messages: %u" +msgstr "大於此數值的記錄條目會分為多條 syslog 訊息:%u" + +#: plugins/sudoers/def_data.c:488 +#, c-format +msgid "User that will own the I/O log files: %s" +msgstr "將擁有 I/O 記錄檔案的使用者:%s" + +#: plugins/sudoers/def_data.c:492 +#, c-format +msgid "Group that will own the I/O log files: %s" +msgstr "將擁有 I/O 記錄檔案的群組:%s" + +#: plugins/sudoers/def_data.c:496 +#, c-format +msgid "File mode to use for the I/O log files: 0%o" +msgstr "I/O 記錄檔案要使用的檔案模式:0%o" + +#: plugins/sudoers/def_data.c:500 +#, c-format +msgid "Execute commands by file descriptor instead of by path: %s" +msgstr "根據檔案描述符執行指令,而非根據路徑:%s" + +#: plugins/sudoers/def_data.c:504 +msgid "Ignore unknown Defaults entries in sudoers instead of producing a warning" +msgstr "忽略 sudoers 中未知的預設 (Defaults) 條目而非產生警告" + +#: plugins/sudoers/def_data.c:508 +#, c-format +msgid "Time in seconds after which the command will be terminated: %u" +msgstr "超過指定時間後終止指令 (秒):%u" + +#: plugins/sudoers/def_data.c:512 +msgid "Allow the user to specify a timeout on the command line" +msgstr "允許使用者在指令行中指定逾時時間" + +#: plugins/sudoers/def_data.c:516 +msgid "Flush I/O log data to disk immediately instead of buffering it" +msgstr "立即重新整理 I/O 記錄資料而非快取資料" + +#: plugins/sudoers/def_data.c:520 +msgid "Include the process ID when logging via syslog" +msgstr "透過 syslog 登入時包含行程 ID" + +#: plugins/sudoers/def_data.c:524 +#, c-format +msgid "Type of authentication timestamp record: %s" +msgstr "認證時間戳記錄的類型:%s" + +#: plugins/sudoers/def_data.c:528 +#, c-format +msgid "Authentication failure message: %s" +msgstr "認證失敗訊息:%s" + +#: plugins/sudoers/def_data.c:532 +msgid "Ignore case when matching user names" +msgstr "在比較使用者名稱時忽略大小寫" + +#: plugins/sudoers/def_data.c:536 +msgid "Ignore case when matching group names" +msgstr "在比較群組名稱時忽略大小寫" + +#: plugins/sudoers/def_data.c:540 +msgid "Log when a command is allowed by sudoers" +msgstr "當指令被 sudoers 允許通行時記錄" + +#: plugins/sudoers/def_data.c:544 +msgid "Log when a command is denied by sudoers" +msgstr "當指令被 sudoers 拒絕通行時記錄" + +#: plugins/sudoers/def_data.c:548 +msgid "Sudo log server(s) to connect to with optional port" +msgstr "要連線的 Sudo 記錄伺服器 (可加連線埠)" + +#: plugins/sudoers/def_data.c:552 +#, c-format +msgid "Sudo log server timeout in seconds: %u" +msgstr "Sudo 記錄伺服器逾時 (秒):%u" + +#: plugins/sudoers/def_data.c:556 +msgid "Enable SO_KEEPALIVE socket option on the socket connected to the logserver" +msgstr "請在已連線至記錄伺服器的 socket 通訊端啟用 SO_KEEPALIVE socket 選項" + +#: plugins/sudoers/def_data.c:560 +#, c-format +msgid "Path to the audit server's CA bundle file: %s" +msgstr "稽核伺服器的 CA 組合 (bundle) 檔案路徑:%s" + +#: plugins/sudoers/def_data.c:564 +#, c-format +msgid "Path to the sudoers certificate file: %s" +msgstr "sudoers 憑證檔案的路徑:%s" + +#: plugins/sudoers/def_data.c:568 +#, c-format +msgid "Path to the sudoers private key file: %s" +msgstr "sudoers 私鑰檔案的路徑:%s" + +#: plugins/sudoers/def_data.c:572 +msgid "Verify that the log server's certificate is valid" +msgstr "核驗記錄伺服器的憑證是否有效" + +#: plugins/sudoers/def_data.c:576 +msgid "Allow the use of unknown runas user and/or group ID" +msgstr "允許使用未知 runas 使用者及 (或) 群組 ID" + +#: plugins/sudoers/def_data.c:580 +msgid "Only permit running commands as a user with a valid shell" +msgstr "只允許以使用有效 Shell 的使用者執行命令" + +#: plugins/sudoers/def_data.c:584 +msgid "Set the pam remote user to the user running sudo" +msgstr "設定 pam 遠端使用者為執行 sudo 的使用者" + +#: plugins/sudoers/def_data.c:588 +msgid "Set the pam remote host to the local host name" +msgstr "設定 pam 遠端主機至本機主機名稱" + +#: plugins/sudoers/def_data.c:592 +#, c-format +msgid "Working directory to change to before executing the command: %s" +msgstr "執行命令前,要切換到的工作目錄:%s" + +#: plugins/sudoers/def_data.c:596 +#, c-format +msgid "Root directory to change to before executing the command: %s" +msgstr "執行命令前,要切換到的根目錄:%s" + +#: plugins/sudoers/def_data.c:600 +#, c-format +msgid "The format of logs to produce: %s" +msgstr "要產出的記錄格式:%s" + +#: plugins/sudoers/def_data.c:604 +msgid "Enable SELinux RBAC support" +msgstr "啟用 SELinux RBAC 支援" + +#: plugins/sudoers/def_data.c:608 +#, c-format +msgid "Path to the file that is created the first time sudo is run: %s" +msgstr "sudo 第一次執行時建立的檔案路徑:%s" + +#: plugins/sudoers/def_data.c:612 +msgid "Intercept further commands and apply sudoers restrictions to them" +msgstr "攔截之後的命令,並對這些命令套用 sudoers 限制" + +#: plugins/sudoers/def_data.c:616 +msgid "Log sub-commands run by the original command" +msgstr "記錄原始命令執行的子命令" + +#: plugins/sudoers/def_data.c:620 +msgid "Log the exit status of commands" +msgstr "記錄命令的離開狀態碼" + +#: plugins/sudoers/def_data.c:624 +msgid "Subsequent commands in an intercepted session must be authenticated" +msgstr "被攔截工作階段中的後續命令需要進行身份驗證" + +#: plugins/sudoers/def_data.c:628 +msgid "Allow an intercepted command to run set setuid or setgid programs" +msgstr "允許被攔截的命令執行設定 setuid 或 setgid 的程式" + +#: plugins/sudoers/def_data.c:632 +#, c-format +msgid "The maximum size to which the process's address space may grow (in bytes): %s" +msgstr "這個處理程序的地址空間可能增長到的最大大小(位元組):%s" + +#: plugins/sudoers/def_data.c:636 +#, c-format +msgid "The largest size core dump file that may be created (in bytes): %s" +msgstr "可能建立出的最大核心傾印檔案大小(位元組):%s" + +#: plugins/sudoers/def_data.c:640 +#, c-format +msgid "The maximum amount of CPU time that the process may use (in seconds): %s" +msgstr "處理程序最長可能耗用的 CPU 時間(秒):%s" + +#: plugins/sudoers/def_data.c:644 +#, c-format +msgid "The maximum size of the data segment for the process (in bytes): %s" +msgstr "處理程序資料區段的最大大小(位元組):%s" + +#: plugins/sudoers/def_data.c:648 +#, c-format +msgid "The largest size file that the process may create (in bytes): %s" +msgstr "處理程式最大可能建立出的檔案大小(位元組):%s" + +#: plugins/sudoers/def_data.c:652 +#, c-format +msgid "The maximum number of locks that the process may establish: %s" +msgstr "處理程序最多可能建立的鎖 (lock) 數量:%s" + +#: plugins/sudoers/def_data.c:656 +#, c-format +msgid "The maximum size that the process may lock in memory (in bytes): %s" +msgstr "處理程序最大可能在記憶體中鎖定的大小(位元組):%s" + +#: plugins/sudoers/def_data.c:660 +#, c-format +msgid "The maximum number of files that the process may have open: %s" +msgstr "處理程序最多可能開啟的檔案數量:%s" + +#: plugins/sudoers/def_data.c:664 +#, c-format +msgid "The maximum number of processes that the user may run simultaneously: %s" +msgstr "使用者可能同時執行的最大處理程序數量:%s" + +#: plugins/sudoers/def_data.c:668 +#, c-format +msgid "The maximum size to which the process's resident set size may grow (in bytes): %s" +msgstr "這個處理程序的 resident set 可能增長到的最大大小(位元組):%s" + +#: plugins/sudoers/def_data.c:672 +#, c-format +msgid "The maximum size to which the process's stack may grow (in bytes): %s" +msgstr "這個處理程序的堆疊可能增長到的最大大小(位元組):%s" + +#: plugins/sudoers/def_data.c:676 +msgid "Attempt authentication even when in non-interactive mode" +msgstr "非互動模式下仍嘗試進行身份認證" + +#: plugins/sudoers/def_data.c:680 +msgid "Store plaintext passwords in I/O log input" +msgstr "在 I/O 日誌輸入儲存純文字密碼" + +#: plugins/sudoers/def_data.c:684 +msgid "List of regular expressions to use when matching a password prompt" +msgstr "比對密碼提示時,要使用的正規表達式清單" + +#: plugins/sudoers/def_data.c:688 +#, c-format +msgid "The mechanism used by the intercept and log_subcmds options: %s" +msgstr "intercept 和 log_subcmds 選項使用的機制:%s" + +#: plugins/sudoers/def_data.c:692 +msgid "Attempt to verify the command and arguments after execution" +msgstr "嘗試在執行後驗證命令和引數" + +#: plugins/sudoers/def_data.c:696 +#, c-format +msgid "AppArmor profile to use in the new security context: %s" +msgstr "要在新的安全上下文中使用的 AppArmor 設定檔:%s" + +#: plugins/sudoers/defaults.c:191 +#, c-format +msgid "unknown defaults entry \"%s\"" +msgstr "預設項目「%s」未知" + +#: plugins/sudoers/defaults.c:234 +#, c-format +msgid "no value specified for \"%s\"" +msgstr "未指定「%s」的值" + +#: plugins/sudoers/defaults.c:243 +#, c-format +msgid "invalid operator \"%c=\" for \"%s\"" +msgstr "「%2$s」的運算子「%1$c=」無效" + +#: plugins/sudoers/defaults.c:275 +#, c-format +msgid "option \"%s\" does not take a value" +msgstr "「%s」選項不取數值" + +#: plugins/sudoers/defaults.c:299 +#, c-format +msgid "invalid Defaults type 0x%x for option \"%s\"" +msgstr "「%2$s」選項的 Defaults 類型 0x%1$x 無效" + +#: plugins/sudoers/defaults.c:306 +#, c-format +msgid "value \"%s\" is invalid for option \"%s\"" +msgstr "「%s」數值對「%s」選項無效" + +#: plugins/sudoers/defaults.c:1128 plugins/sudoers/policy.c:210 +#: plugins/sudoers/policy.c:219 +#, c-format +msgid "path name for \"%s\" too long" +msgstr "「%s」的路徑名稱太長" + +#: plugins/sudoers/defaults.c:1134 +#, c-format +msgid "values for \"%s\" must start with a '/', '~', or '*'" +msgstr "「%s」的值必須以「/」、「~」或「*」開頭" + +#: plugins/sudoers/defaults.c:1141 +#, c-format +msgid "values for \"%s\" must start with a '/'" +msgstr "「%s」的值必須以「/」開頭" + +#: plugins/sudoers/editor.c:180 +#, c-format +msgid "ignoring editor: %.*s" +msgstr "忽略編輯器:%.*s" + +#: plugins/sudoers/editor.c:181 +msgid "editor arguments may not contain \"--\"" +msgstr "編輯器引數不能包含「--」" + +#: plugins/sudoers/env.c:426 +msgid "sudo_putenv: corrupted envp, length mismatch" +msgstr "sudo_putenv:envp 損壞,長度不符" + +#: plugins/sudoers/env.c:1113 +msgid "unable to rebuild the environment" +msgstr "無法重建環境" + +#: plugins/sudoers/env.c:1192 +#, c-format +msgid "sorry, you are not allowed to set the following environment variables: %s" +msgstr "對不起,您沒有權限設定以下環境變數:%s" + +#: plugins/sudoers/filedigest.c:49 +#, c-format +msgid "unsupported digest type %d for %s" +msgstr "不支援 %2$s 的摘要類型 %1$d" + +#: plugins/sudoers/filedigest.c:78 +#, c-format +msgid "%s: read error" +msgstr "%s:讀取錯誤" + +#: plugins/sudoers/group_plugin.c:169 plugins/sudoers/sssd.c:576 +#, c-format +msgid "unable to load %s: %s" +msgstr "無法載入 %s:%s" + +#: plugins/sudoers/group_plugin.c:181 +#, c-format +msgid "unable to find symbol \"group_plugin\" in %s" +msgstr "無法在 %s 中找到符號「group_plugin」" + +#: plugins/sudoers/group_plugin.c:186 +#, c-format +msgid "%s: incompatible group plugin major version %d, expected %d" +msgstr "%s:不相容的群組外掛程式主要版本號碼 %d,版本應該為 %d" + +#: plugins/sudoers/interfaces.c:76 plugins/sudoers/interfaces.c:93 +#, c-format +msgid "unable to parse IP address \"%s\"" +msgstr "無法解析 IP 位址列表「%s」" + +#: plugins/sudoers/interfaces.c:81 plugins/sudoers/interfaces.c:98 +#, c-format +msgid "unable to parse netmask \"%s\"" +msgstr "無法解析網路遮罩「%s」" + +#: plugins/sudoers/interfaces.c:126 +msgid "Local IP address and netmask pairs:\n" +msgstr "本機 IP 位址和網路遮罩配對:\n" + +#: plugins/sudoers/iolog.c:685 +msgid "unable to update sequence file" +msgstr "無法更新序列檔" + +#: plugins/sudoers/iolog.c:719 plugins/sudoers/iolog.c:907 +#: plugins/sudoers/iolog.c:1069 plugins/sudoers/iolog.c:1076 +#: plugins/sudoers/iolog.c:1197 plugins/sudoers/iolog.c:1204 +#: plugins/sudoers/iolog.c:1303 plugins/sudoers/iolog.c:1310 +#, c-format +msgid "unable to write to I/O log file: %s" +msgstr "無法寫入 I/O 記錄檔案:%s" + +#: plugins/sudoers/iolog.c:727 +#, c-format +msgid "unable to create %s/%s" +msgstr "無法建立 %s/%s" + +#: plugins/sudoers/iolog.c:955 +#, c-format +msgid "%s: internal error, I/O log file for event %d not open" +msgstr "%s:內部錯誤,未開啟事件 %d 的 I/O 記錄檔案" + +#: plugins/sudoers/iolog.c:1054 plugins/sudoers/iolog.c:1182 +#: plugins/sudoers/iolog.c:1287 plugins/sudoers/timestamp.c:879 +#: plugins/sudoers/timestamp.c:971 plugins/sudoers/visudo.c:556 +#: plugins/sudoers/visudo.c:562 +msgid "unable to read the clock" +msgstr "無法讀取時鐘" + +#: plugins/sudoers/iolog.c:1279 plugins/sudoers/log_client.c:1192 +#: plugins/sudoers/log_client.c:1202 plugins/sudoers/log_client.c:1206 +#, c-format +msgid "%s: internal error, invalid signal %d" +msgstr "%s:內部錯誤,訊號 %d 無效" + +#: plugins/sudoers/ldap.c:177 plugins/sudoers/ldap_conf.c:292 +msgid "starttls not supported when using ldaps" +msgstr "使用 ldaps 時不支援使用 starttls" + +#: plugins/sudoers/ldap.c:248 +#, c-format +msgid "unable to initialize SSL cert and key db: %s" +msgstr "無法初始化 SSL 憑證和金鑰資料庫:%s" + +#: plugins/sudoers/ldap.c:251 +#, c-format +msgid "you must set TLS_CERT in %s to use SSL" +msgstr "要使用 SSL,您必須在 %s 設定 TLS_CERT" + +#: plugins/sudoers/ldap.c:1714 +#, c-format +msgid "unable to initialize LDAP: %s" +msgstr "無法初始化 LDAP:%s" + +#: plugins/sudoers/ldap.c:1751 +msgid "start_tls specified but LDAP libs do not support ldap_start_tls_s() or ldap_start_tls_s_np()" +msgstr "指定了 start_tls,但 LDAP 函式庫不支援 ldap_start_tls_s() 或 ldap_start_tls_s_np()" + +#: plugins/sudoers/ldap.c:1888 plugins/sudoers/parse_ldif.c:748 +#, c-format +msgid "invalid sudoOrder attribute: %s" +msgstr "無效的 sudoOrder 屬性:%s" + +#: plugins/sudoers/ldap_conf.c:200 +#, c-format +msgid "%s: port too large" +msgstr "%s:連線埠過大" + +#: plugins/sudoers/ldap_conf.c:261 +#, c-format +msgid "unsupported LDAP uri type: %s" +msgstr "不支援的 LDAP URI 類型:%s" + +#: plugins/sudoers/ldap_conf.c:288 +msgid "unable to mix ldap and ldaps URIs" +msgstr "無法混合 ldap 和 ldaps URI" + +#: plugins/sudoers/ldap_util.c:499 plugins/sudoers/ldap_util.c:506 +#: plugins/sudoers/ldap_util.c:514 plugins/sudoers/ldap_util.c:523 +#: plugins/sudoers/ldap_util.c:531 plugins/sudoers/ldap_util.c:541 +#: plugins/sudoers/ldap_util.c:549 +#, c-format +msgid "duplicate sudoOption: %s%s%s" +msgstr "sudoOption 有重複:%s%s%s" + +#: plugins/sudoers/ldap_util.c:568 plugins/sudoers/ldap_util.c:570 +#, c-format +msgid "unable to convert sudoOption: %s%s%s" +msgstr "無法轉換 sudoOption: %s%s%s" + +#: plugins/sudoers/linux_audit.c:58 plugins/sudoers/linux_audit.c:60 +msgid "unable to open audit system" +msgstr "無法開啟稽核系統" + +#: plugins/sudoers/linux_audit.c:103 +msgid "unable to send audit message" +msgstr "無法傳送稽核訊息" + +#: plugins/sudoers/log_client.c:125 plugins/sudoers/log_client.c:412 +#: plugins/sudoers/log_client.c:1439 plugins/sudoers/log_client.c:2055 +msgid "error in event loop" +msgstr "事件循環中發生錯誤" + +#: plugins/sudoers/log_client.c:205 +#, c-format +msgid "Creation of new SSL_CTX object failed: %s" +msgstr "建立新 SSL_CTX 物件失敗:%s" + +#: plugins/sudoers/log_client.c:230 +#, c-format +msgid "unable to load certificate authority bundle %s" +msgstr "無法載入 %s 憑證授權單位組合" + +#: plugins/sudoers/log_client.c:252 +#, c-format +msgid "unable to load certificate %s" +msgstr "無法載入 %s 憑證" + +#: plugins/sudoers/log_client.c:266 +#, c-format +msgid "unable to load private key %s" +msgstr "無法載入 %s 私鑰" + +#: plugins/sudoers/log_client.c:275 +#, c-format +msgid "Unable to allocate ssl object: %s" +msgstr "無法配置 SSL 物件:%s" + +#: plugins/sudoers/log_client.c:364 plugins/sudoers/log_client.c:369 +#, c-format +msgid "TLS connection to %s:%s failed: %s" +msgstr "TLS 連線至 %s:%s 失敗:%s" + +#: plugins/sudoers/log_client.c:543 +msgid "TLS initialization was unsuccessful" +msgstr "TLS 初始化失敗" + +#: plugins/sudoers/log_client.c:553 +msgid "TLS handshake was unsuccessful" +msgstr "TLS 交握失敗" + +#: plugins/sudoers/log_client.c:1210 +#, c-format +msgid "%s: internal error, invalid exit status %d" +msgstr "%s:內部錯誤,退出狀態碼 %d 無效" + +#: plugins/sudoers/log_client.c:1739 plugins/sudoers/log_client.c:1763 +msgid "lost connection to log server" +msgstr "失去對記錄伺服器的連線" + +#: plugins/sudoers/log_client.c:1840 +msgid "missing write buffer" +msgstr "缺少寫入緩衝區" + +#: plugins/sudoers/log_client.c:1994 +msgid "unable to connect to log server" +msgstr "無法連線到記錄伺服器" + +#: plugins/sudoers/logging.c:290 +msgid "user NOT in sudoers" +msgstr "使用者不在 sudoers 中" + +#: plugins/sudoers/logging.c:292 +msgid "user NOT authorized on host" +msgstr "使用者未取得此主機上的授權" + +#: plugins/sudoers/logging.c:294 +msgid "command not allowed" +msgstr "不允許使用指令" + +#: plugins/sudoers/logging.c:315 +#, c-format +msgid "%s is not in the sudoers file.\n" +msgstr "%s 不在 sudoers 檔案中。\n" + +#: plugins/sudoers/logging.c:318 +#, c-format +msgid "%s is not allowed to run sudo on %s.\n" +msgstr "%s 不允許在 %s 執行 sudo。\n" + +#: plugins/sudoers/logging.c:321 +#, c-format +msgid "Sorry, user %s may not run sudo on %s.\n" +msgstr "對不起,使用者 %s 不能在 %s 上執行 sudo。\n" + +#: plugins/sudoers/logging.c:324 +#, c-format +msgid "Sorry, user %s is not allowed to execute '%s%s%s' as %s%s%s on %s.\n" +msgstr "對不起,使用者 %1$s 不允許以 %8$s 上的 %5$s%6$s%7$s 身份執行「%2$s%3$s%4$s」\n" + +#: plugins/sudoers/logging.c:334 +msgid "This incident has been reported to the administrator.\n" +msgstr "本事件已向管理員報告。\n" + +#: plugins/sudoers/logging.c:369 plugins/sudoers/sudoers.c:655 +#: plugins/sudoers/sudoers.c:657 plugins/sudoers/sudoers.c:659 +#: plugins/sudoers/sudoers.c:661 plugins/sudoers/sudoers.c:816 +#: plugins/sudoers/sudoers.c:818 +#, c-format +msgid "%s: command not found" +msgstr "%s:找不到指令" + +#: plugins/sudoers/logging.c:371 plugins/sudoers/sudoers.c:651 +#, c-format +msgid "" +"ignoring \"%s\" found in '.'\n" +"Use \"sudo ./%s\" if this is the \"%s\" you wish to run." +msgstr "" +"忽略在「.」中找到的「%s」\n" +"請使用「sudo ./%s」,若這是您想執行的「%s」。" + +#: plugins/sudoers/logging.c:391 +#, c-format +msgid "%u incorrect password attempt" +msgid_plural "%u incorrect password attempts" +msgstr[0] "%u 次密碼錯誤嘗試" + +#: plugins/sudoers/logging.c:481 +msgid "authentication failure" +msgstr "認證失敗" + +#: plugins/sudoers/logging.c:520 plugins/sudoers/logging.c:539 +msgid "a password is required" +msgstr "需要密碼" + +#: plugins/sudoers/logging.c:803 plugins/sudoers/logging.c:815 +msgid "problem parsing sudoers" +msgstr "解析 sudoers 時發生問題" + +#: plugins/sudoers/logging.c:877 plugins/sudoers/logging.c:889 +#, c-format +msgid "%s:%d:%d: %s" +msgstr "%s:%d:%d: %s" + +#: plugins/sudoers/logging.c:1066 +#, c-format +msgid "unable to write log file: %s" +msgstr "無法寫入記錄檔案:%s" + +#: plugins/sudoers/match_digest.c:112 +#, c-format +msgid "digest for %s (%s) bad length %zu, expected %zu" +msgstr "%s (%s) 的摘要長度 %zu 是錯誤的(預期是 %zu)" + +#: plugins/sudoers/match_digest.c:131 +#, c-format +msgid "digest for %s (%s) is not in %s form" +msgstr "%s(%s) 的摘要的形式不是 %s" + +#: plugins/sudoers/parse.c:631 +#, c-format +msgid "" +"\n" +"LDAP Role: %s\n" +msgstr "" +"\n" +"LDAP 角色:%s\n" + +#: plugins/sudoers/parse.c:634 +msgid "" +"\n" +"Sudoers entry:\n" +msgstr "" +"\n" +"Sudoers 條目:\n" + +#: plugins/sudoers/parse.c:636 +msgid " RunAsUsers: " +msgstr " RunAs 使用者:" + +#: plugins/sudoers/parse.c:651 +msgid " RunAsGroups: " +msgstr " RunAs 群組:" + +#: plugins/sudoers/parse.c:661 +msgid " Options: " +msgstr " 選項:" + +#: plugins/sudoers/parse.c:725 +msgid " Commands:\n" +msgstr " 指令:\n" + +#: plugins/sudoers/parse.c:916 +#, c-format +msgid "Matching Defaults entries for %s on %s:\n" +msgstr "比較 %s (%s 上) 的預設條目:\n" + +#: plugins/sudoers/parse.c:934 +#, c-format +msgid "Runas and Command-specific defaults for %s:\n" +msgstr "%s RunAs 和指令指定的預設值:\n" + +#: plugins/sudoers/parse.c:952 +#, c-format +msgid "User %s may run the following commands on %s:\n" +msgstr "使用者 %s 可以在 %s 上執行以下指令:\n" + +#: plugins/sudoers/parse.c:967 +#, c-format +msgid "User %s is not allowed to run sudo on %s.\n" +msgstr "使用者 %s 沒有權限在 %s 上執行 sudo。\n" + +#: plugins/sudoers/parse_ldif.c:618 +#, c-format +msgid "ignoring incomplete sudoRole: cn: %s" +msgstr "將忽略不完整的 sudoRole:cn:%s" + +#: plugins/sudoers/parse_ldif.c:678 +#, c-format +msgid "invalid LDIF attribute: %s" +msgstr "LDIF 屬性無效:%s" + +#: plugins/sudoers/policy.c:82 plugins/sudoers/policy.c:113 +#, c-format +msgid "invalid %.*s set by sudo front-end" +msgstr "sudo 前端設定的 %.*s 無效" + +#: plugins/sudoers/policy.c:360 plugins/sudoers/testsudoers.c:268 +msgid "unable to parse network address list" +msgstr "無法解析網路位址列表" + +#: plugins/sudoers/policy.c:528 +msgid "user name not set by sudo front-end" +msgstr "sudo 前端未設定使用者名稱" + +#: plugins/sudoers/policy.c:532 +msgid "user-ID not set by sudo front-end" +msgstr "sudo 前端未設定使用者 ID (user-ID)" + +#: plugins/sudoers/policy.c:536 +msgid "group-ID not set by sudo front-end" +msgstr "sudo 前端未設定群組 ID (group-ID)" + +#: plugins/sudoers/policy.c:540 +msgid "host name not set by sudo front-end" +msgstr "sudo 前端未設定主機名稱" + +#: plugins/sudoers/policy.c:737 +#, c-format +msgid "invalid working directory: %s" +msgstr "無效的工作目錄:%s" + +#: plugins/sudoers/policy.c:921 +#, c-format +msgid "invalid chroot directory: %s" +msgstr "無效的 chroot 目錄:%s" + +#: plugins/sudoers/policy.c:1108 plugins/sudoers/visudo.c:259 +#: plugins/sudoers/visudo.c:906 +#, c-format +msgid "unable to execute %s" +msgstr "無法執行 %s" + +#: plugins/sudoers/policy.c:1178 plugins/sudoers/policy.c:1215 +#: plugins/sudoers/policy.c:1237 plugins/sudoers/policy.c:1263 +#, c-format +msgid "%s: invalid mode flags from sudo front end: 0x%x" +msgstr "%s:來自 sudo 前端的無效 mode 旗標:0x%x" + +#: plugins/sudoers/policy.c:1299 +#, c-format +msgid "Sudoers policy plugin version %s\n" +msgstr "Sudoers 策略外掛程式版本 %s\n" + +#: plugins/sudoers/policy.c:1301 +#, c-format +msgid "Sudoers file grammar version %d\n" +msgstr "Sudoers 檔案文法版本 %d\n" + +#: plugins/sudoers/policy.c:1305 +#, c-format +msgid "" +"\n" +"Sudoers path: %s\n" +msgstr "" +"\n" +"Sudoers 路徑:%s\n" + +#: plugins/sudoers/policy.c:1308 +#, c-format +msgid "nsswitch path: %s\n" +msgstr "nsswitch 路徑:%s\n" + +#: plugins/sudoers/policy.c:1310 +#, c-format +msgid "ldap.conf path: %s\n" +msgstr "ldap.conf 路徑:%s\n" + +#: plugins/sudoers/policy.c:1311 +#, c-format +msgid "ldap.secret path: %s\n" +msgstr "ldap.secret 路徑:%s\n" + +#: plugins/sudoers/policy.c:1344 +#, c-format +msgid "unable to register hook of type %d (version %d.%d)" +msgstr "無法註冊類型為 %d 的觸發器 (版本 %d.%d)" + +#: plugins/sudoers/policy.c:1362 +#, c-format +msgid "unable to deregister hook of type %d (version %d.%d)" +msgstr "無法取消註冊類型為 %d 的觸發器 (版本 %d.%d)" + +#: plugins/sudoers/pwutil.c:222 plugins/sudoers/pwutil.c:240 +#, c-format +msgid "unable to cache uid %u" +msgstr "無法快取使用者 ID %u" + +#: plugins/sudoers/pwutil.c:234 +#, c-format +msgid "unable to cache uid %u, already exists" +msgstr "無法快取使用者 ID %u,原因:使用者 ID 已存在" + +#: plugins/sudoers/pwutil.c:294 plugins/sudoers/pwutil.c:312 +#: plugins/sudoers/pwutil.c:375 plugins/sudoers/pwutil.c:420 +#, c-format +msgid "unable to cache user %s" +msgstr "無法快取 %s 使用者" + +#: plugins/sudoers/pwutil.c:307 +#, c-format +msgid "unable to cache user %s, already exists" +msgstr "無法快取使用者 %s,原因:已存在" + +#: plugins/sudoers/pwutil.c:539 plugins/sudoers/pwutil.c:557 +#, c-format +msgid "unable to cache gid %u" +msgstr "無法快取群組 ID %u" + +#: plugins/sudoers/pwutil.c:551 +#, c-format +msgid "unable to cache gid %u, already exists" +msgstr "無法快取群組 ID %u,原因:已經存在" + +#: plugins/sudoers/pwutil.c:605 plugins/sudoers/pwutil.c:623 +#: plugins/sudoers/pwutil.c:684 plugins/sudoers/pwutil.c:733 +#, c-format +msgid "unable to cache group %s" +msgstr "無法快取 %s 群組" + +#: plugins/sudoers/pwutil.c:618 +#, c-format +msgid "unable to cache group %s, already exists" +msgstr "無法快取群組 %s,原因:已經存在" + +#: plugins/sudoers/pwutil.c:880 plugins/sudoers/pwutil.c:963 +#: plugins/sudoers/pwutil.c:1017 plugins/sudoers/pwutil.c:1071 +#, c-format +msgid "unable to cache group list for %s, already exists" +msgstr "無法快取群組列表 %s,原因:已經存在" + +#: plugins/sudoers/pwutil.c:886 plugins/sudoers/pwutil.c:968 +#: plugins/sudoers/pwutil.c:1023 plugins/sudoers/pwutil.c:1076 +#, c-format +msgid "unable to cache group list for %s" +msgstr "無法快取 %s 的群組列表" + +#: plugins/sudoers/pwutil.c:957 +#, c-format +msgid "unable to parse groups for %s" +msgstr "無法解析 %s 的群組" + +#: plugins/sudoers/pwutil.c:1065 +#, c-format +msgid "unable to parse gids for %s" +msgstr "無法解析 %s 的群組 ID" + +#: plugins/sudoers/set_perms.c:114 plugins/sudoers/set_perms.c:445 +#: plugins/sudoers/set_perms.c:852 plugins/sudoers/set_perms.c:1162 +#: plugins/sudoers/set_perms.c:1460 +msgid "perm stack overflow" +msgstr "權限堆疊溢位" + +#: plugins/sudoers/set_perms.c:125 plugins/sudoers/set_perms.c:376 +#: plugins/sudoers/set_perms.c:456 plugins/sudoers/set_perms.c:719 +#: plugins/sudoers/set_perms.c:863 plugins/sudoers/set_perms.c:1086 +#: plugins/sudoers/set_perms.c:1173 plugins/sudoers/set_perms.c:1393 +#: plugins/sudoers/set_perms.c:1471 plugins/sudoers/set_perms.c:1562 +msgid "perm stack underflow" +msgstr "權限堆疊反向溢位" + +#: plugins/sudoers/set_perms.c:185 plugins/sudoers/set_perms.c:503 +#: plugins/sudoers/set_perms.c:1227 plugins/sudoers/set_perms.c:1505 +msgid "unable to change to root gid" +msgstr "無法切換為 root 群組 ID" + +#: plugins/sudoers/set_perms.c:276 plugins/sudoers/set_perms.c:600 +#: plugins/sudoers/set_perms.c:995 plugins/sudoers/set_perms.c:1304 +msgid "unable to change to runas gid" +msgstr "無法切換為 runas 群組 ID" + +#: plugins/sudoers/set_perms.c:281 plugins/sudoers/set_perms.c:605 +#: plugins/sudoers/set_perms.c:1000 plugins/sudoers/set_perms.c:1309 +msgid "unable to set runas group vector" +msgstr "無法設定 runas 群組集合" + +#: plugins/sudoers/set_perms.c:292 plugins/sudoers/set_perms.c:616 +#: plugins/sudoers/set_perms.c:1009 plugins/sudoers/set_perms.c:1318 +msgid "unable to change to runas uid" +msgstr "無法切換成 runas 使用者 ID" + +#: plugins/sudoers/set_perms.c:310 plugins/sudoers/set_perms.c:634 +#: plugins/sudoers/set_perms.c:1025 plugins/sudoers/set_perms.c:1334 +msgid "unable to change to sudoers gid" +msgstr "無法切換為 sudoers 群組 ID" + +#: plugins/sudoers/set_perms.c:363 plugins/sudoers/set_perms.c:706 +#: plugins/sudoers/set_perms.c:1073 plugins/sudoers/set_perms.c:1380 +#: plugins/sudoers/set_perms.c:1549 +msgid "too many processes" +msgstr "行程過多" + +#: plugins/sudoers/solaris_audit.c:61 +msgid "unable to get current working directory" +msgstr "無法取得目前工作目錄" + +#: plugins/sudoers/solaris_audit.c:69 +#, c-format +msgid "truncated audit path user_cmnd: %s" +msgstr "截短的稽核路徑 user_cmnd:%s" + +#: plugins/sudoers/solaris_audit.c:76 +#, c-format +msgid "truncated audit path argv[0]: %s" +msgstr "截短的稽核路徑 argv[0]:%s" + +#: plugins/sudoers/sssd.c:579 +msgid "unable to initialize SSS source. Is SSSD installed on your machine?" +msgstr "無法初始化 SSS 來源。是否已在您的電腦上安裝 SSSD?" + +#: plugins/sudoers/sssd.c:587 plugins/sudoers/sssd.c:596 +#: plugins/sudoers/sssd.c:605 plugins/sudoers/sssd.c:614 +#: plugins/sudoers/sssd.c:623 +#, c-format +msgid "unable to find symbol \"%s\" in %s" +msgstr "無法在 %2$s 中找到符號「%1$s」" + +#: plugins/sudoers/sudoers.c:263 +#, c-format +msgid "unable to get defaults from %s" +msgstr "無法從 %s 取得預設值" + +#: plugins/sudoers/sudoers.c:270 +msgid "no valid sudoers sources found, quitting" +msgstr "未找到有效的 sudoers 來源,退出" + +#: plugins/sudoers/sudoers.c:346 +#, c-format +msgid "user not allowed to change root directory to %s" +msgstr "不允許使用者切換根目錄至 %s" + +#: plugins/sudoers/sudoers.c:348 +#, c-format +msgid "you are not permitted to use the -R option with %s" +msgstr "不允許您將 -R 選項與 %s 一起使用" + +#: plugins/sudoers/sudoers.c:373 +#, c-format +msgid "user not allowed to change directory to %s" +msgstr "不允許使用者切換至 %s 目錄" + +#: plugins/sudoers/sudoers.c:374 +#, c-format +msgid "you are not permitted to use the -D option with %s" +msgstr "不允許您將 -D 選項與 %s 一起使用" + +#: plugins/sudoers/sudoers.c:401 +msgid "no command specified" +msgstr "未指定命令" + +#: plugins/sudoers/sudoers.c:426 +msgid "sudoers specifies that root is not allowed to sudo" +msgstr "sudoers 指定 root 不允許執行 sudo" + +#: plugins/sudoers/sudoers.c:483 +msgid "user not allowed to override closefrom limit" +msgstr "使用者不允許覆蓋 closefrom 限制" + +#: plugins/sudoers/sudoers.c:484 +msgid "you are not permitted to use the -C option" +msgstr "您沒有權限使用 -C 選項" + +#: plugins/sudoers/sudoers.c:544 +#, c-format +msgid "timestamp owner (%s): No such user" +msgstr "時間戳所有者 (%s):無此使用者" + +#: plugins/sudoers/sudoers.c:559 +msgid "no tty" +msgstr "找不到終端" + +#: plugins/sudoers/sudoers.c:560 +msgid "sorry, you must have a tty to run sudo" +msgstr "抱歉,您必須先要有終端才能執行 sudo" + +#: plugins/sudoers/sudoers.c:567 +#, c-format +msgid "invalid shell for user %s: %s" +msgstr "%s 使用者的 Shell 無效:%s" + +#: plugins/sudoers/sudoers.c:650 +msgid "command in current directory" +msgstr "目前目錄中的指令" + +#: plugins/sudoers/sudoers.c:665 +msgid "\"cd\" is a shell built-in command, it cannot be run directly." +msgstr "「cd」是 shell 內建的命令,不能直接執行。" + +#: plugins/sudoers/sudoers.c:667 +msgid "the -s option may be used to run a privileged shell." +msgstr "-s 選項可用來執行具特殊權限的 shell。" + +#: plugins/sudoers/sudoers.c:669 +msgid "the -D option may be used to run a command in a specific directory." +msgstr "-D 選項可用來在特定目錄執行命令。" + +#: plugins/sudoers/sudoers.c:678 +msgid "user not allowed to set a command timeout" +msgstr "使用者不允許設定命令逾時" + +#: plugins/sudoers/sudoers.c:680 +msgid "sorry, you are not allowed set a command timeout" +msgstr "抱歉,您沒有權限設定逾時時間" + +#: plugins/sudoers/sudoers.c:688 +msgid "user not allowed to preserve the environment" +msgstr "使用者不允許保留環境" + +#: plugins/sudoers/sudoers.c:690 +msgid "sorry, you are not allowed to preserve the environment" +msgstr "抱歉,您沒有權限保留環境" + +#: plugins/sudoers/sudoers.c:799 +msgid "error setting user-specified environment variables" +msgstr "設定使用者指定的環境變數時發生錯誤" + +#: plugins/sudoers/sudoers.c:1112 +msgid "sudoedit doesn't need to be run via sudo" +msgstr "sudoedit 不用以 sudo 執行" + +#: plugins/sudoers/sudoers.c:1157 plugins/sudoers/sudoreplay.c:1612 +#: plugins/sudoers/tsdump.c:138 +#, c-format +msgid "unable to read %s" +msgstr "無法讀取 %s" + +#: plugins/sudoers/sudoers.c:1186 plugins/sudoers/visudo.c:1066 +#, c-format +msgid "%s is not a regular file" +msgstr "%s 不是一般檔案" + +#: plugins/sudoers/sudoers.c:1190 plugins/sudoers/timestamp.c:263 toke.l:1255 +#, c-format +msgid "%s is owned by uid %u, should be %u" +msgstr "%s 由使用者 ID %u 所有,應為 %u" + +#: plugins/sudoers/sudoers.c:1194 plugins/sudoers/timestamp.c:270 toke.l:1260 +#, c-format +msgid "%s is world writable" +msgstr "%s 允許任何人寫入" + +#: plugins/sudoers/sudoers.c:1198 plugins/sudoers/timestamp.c:275 toke.l:1263 +#, c-format +msgid "%s is owned by gid %u, should be %u" +msgstr "%s 屬於群組 ID %u,應為 %u" + +#: plugins/sudoers/sudoers.c:1233 +#, c-format +msgid "only root can use \"-c %s\"" +msgstr "只有 root 才能使用「-c %s」" + +#: plugins/sudoers/sudoers.c:1252 +#, c-format +msgid "unknown login class %s" +msgstr "未知登入類別 %s" + +#: plugins/sudoers/sudoers.c:1339 plugins/sudoers/sudoers.c:1354 +#, c-format +msgid "unable to resolve host %s" +msgstr "無法解析主機:%s" + +#: plugins/sudoers/sudoreplay.c:252 +#, c-format +msgid "invalid filter option: %s" +msgstr "無效的過濾器選項:%s" + +#: plugins/sudoers/sudoreplay.c:268 +#, c-format +msgid "invalid max wait: %s" +msgstr "無效的最大等待時間:%s" + +#: plugins/sudoers/sudoreplay.c:291 +#, c-format +msgid "invalid speed factor: %s" +msgstr "無效的速度因數:%s" + +#: plugins/sudoers/sudoreplay.c:326 +#, c-format +msgid "invalid time offset %s" +msgstr "時間偏移值 %s 無效" + +#: plugins/sudoers/sudoreplay.c:335 +#, c-format +msgid "%s/%.2s/%.2s/%.2s: %s" +msgstr "%s/%.2s/%.2s/%.2s: %s" + +#: plugins/sudoers/sudoreplay.c:340 +#, c-format +msgid "%s/timing: %s" +msgstr "%s/計時:%s" + +#: plugins/sudoers/sudoreplay.c:368 +#, c-format +msgid "Replaying sudo session: %s" +msgstr "重播 sudo 工作階段:%s" + +#: plugins/sudoers/sudoreplay.c:634 +msgid "unable to set tty to raw mode" +msgstr "無法將終端設為原始 (RAW) 模式" + +#: plugins/sudoers/sudoreplay.c:685 +msgid "Warning: your terminal is too small to properly replay the log.\n" +msgstr "警告:您的終端尺寸太小,不能正常地重播記錄。\n" + +#: plugins/sudoers/sudoreplay.c:686 +#, c-format +msgid "Log geometry is %d x %d, your terminal's geometry is %d x %d." +msgstr "記錄的幾何尺寸為 %dx%d,但您終端的幾何尺寸為 %dx%d。" + +#: plugins/sudoers/sudoreplay.c:714 +msgid "Replay finished, press any key to restore the terminal." +msgstr "重播完成,請按任意鍵返回終端。" + +#: plugins/sudoers/sudoreplay.c:1216 plugins/sudoers/sudoreplay.c:1246 +#, c-format +msgid "ambiguous expression \"%s\"" +msgstr "不明確的表達式「%s」" + +#: plugins/sudoers/sudoreplay.c:1268 +msgid "unmatched ')' in expression" +msgstr "表達式中的「)」不對稱" + +#: plugins/sudoers/sudoreplay.c:1272 +#, c-format +msgid "unknown search term \"%s\"" +msgstr "未知的搜尋詞彙「%s」" + +#: plugins/sudoers/sudoreplay.c:1287 +#, c-format +msgid "%s requires an argument" +msgstr "%s 需要參數" + +#: plugins/sudoers/sudoreplay.c:1297 +#, c-format +msgid "could not parse date \"%s\"" +msgstr "無法解析日期「%s」" + +#: plugins/sudoers/sudoreplay.c:1306 +msgid "unmatched '(' in expression" +msgstr "表達式中的「(」不對稱" + +#: plugins/sudoers/sudoreplay.c:1308 +msgid "illegal trailing \"or\"" +msgstr "無效的結尾字元「or」" + +#: plugins/sudoers/sudoreplay.c:1310 +msgid "illegal trailing \"!\"" +msgstr "無效的結尾字元「!」" + +#: plugins/sudoers/sudoreplay.c:1416 +#, c-format +msgid "unknown search type %d" +msgstr "未知的搜尋類型 %d" + +#: plugins/sudoers/sudoreplay.c:1678 +#, c-format +msgid "usage: %s [-hnRS] [-d dir] [-m num] [-s num] ID\n" +msgstr "用法:%s [-hnRS] [-d 目錄] [-m 數值] [-s 數值] ID\n" + +#: plugins/sudoers/sudoreplay.c:1680 +#, c-format +msgid "usage: %s [-h] [-d dir] -l [search expression]\n" +msgstr "用法:%s [-h] [-d 目錄] -l [搜尋表達式]\n" + +#: plugins/sudoers/sudoreplay.c:1694 +#, c-format +msgid "" +"%s - replay sudo session logs\n" +"\n" +msgstr "" +"%s - 重播 sudo 工作階段記錄\n" +"\n" + +#: plugins/sudoers/sudoreplay.c:1696 +msgid "" +"\n" +"Options:\n" +" -d, --directory=dir specify directory for session logs\n" +" -f, --filter=filter specify which I/O type(s) to display\n" +" -h, --help display help message and exit\n" +" -l, --list list available session IDs, with optional expression\n" +" -m, --max-wait=num max number of seconds to wait between events\n" +" -n, --non-interactive no prompts, session is sent to the standard output\n" +" -R, --no-resize do not attempt to re-size the terminal\n" +" -S, --suspend-wait wait while the command was suspended\n" +" -s, --speed=num speed up or slow down output\n" +" -V, --version display version information and exit" +msgstr "" +"\n" +"選項:\n" +" -d, --directory=目錄 指定工作階段的記錄目錄\n" +" -f, --filter=過濾器 指定要顯示的 I/O 類型\n" +" -h, --help 顯示說明訊息並退出\n" +" -l, --list 列出可用工作階段 ID,可加表達式限定列出階段\n" +" -m, --max-wait=數值 事件間等待的最大秒數\n" +" -n, --non-interactive 不提示,將工作階段送至標準輸出\n" +" -R, --no-resize 不嘗試重新調整終端機大小\n" +" -S, --suspend-wait 在指令暫停時等待\n" +" -s, --speed=數值 加速或減速輸出速度\n" +" -V, --version 顯示版本訊息並退出" + +#: plugins/sudoers/testsudoers.c:344 +msgid "\thost unmatched" +msgstr "\t主機不相符" + +#: plugins/sudoers/testsudoers.c:347 +msgid "" +"\n" +"Command allowed" +msgstr "" +"\n" +"指令已允許" + +#: plugins/sudoers/testsudoers.c:348 +msgid "" +"\n" +"Command denied" +msgstr "" +"\n" +"指令被拒" + +#: plugins/sudoers/testsudoers.c:348 +msgid "" +"\n" +"Command unmatched" +msgstr "" +"\n" +"指令不相符" + +#: plugins/sudoers/timestamp.c:354 plugins/sudoers/timestamp.c:693 +#, c-format +msgid "unable to truncate time stamp file to %lld bytes" +msgstr "無法將時間戳檔案截短為 %lld 位元組" + +#: plugins/sudoers/timestamp.c:890 +msgid "ignoring time stamp from the future" +msgstr "將忽略未來時間的時間戳" + +#: plugins/sudoers/timestamp.c:913 +#, c-format +msgid "time stamp too far in the future: %20.20s" +msgstr "時間戳超前目前時間過多:%20.20s" + +#: plugins/sudoers/timestamp.c:1042 +#, c-format +msgid "unable to lock time stamp file %s" +msgstr "無法鎖定時間戳檔案 %s" + +#: plugins/sudoers/toke_util.c:156 +msgid "sudoedit should not be specified with a path" +msgstr "sudoedit 不應用路徑指定" + +#: plugins/sudoers/visudo.c:254 +msgid "the -x option will be removed in a future release" +msgstr "未來版本會移除 -x 選項" + +#: plugins/sudoers/visudo.c:256 +msgid "please consider using the cvtsudoers utility instead" +msgstr "請考慮換用 cvtsudoers 工具" + +#: plugins/sudoers/visudo.c:311 plugins/sudoers/visudo.c:702 +#, c-format +msgid "press return to edit %s: " +msgstr "按確認鍵編輯 %s:" + +#: plugins/sudoers/visudo.c:326 +#, c-format +msgid "contents of edit session left in %s" +msgstr "編輯階段的內容留在 %s" + +#: plugins/sudoers/visudo.c:403 +#, c-format +msgid "specified editor (%s) doesn't exist" +msgstr "指定的編輯器 (%s) 不存在" + +#: plugins/sudoers/visudo.c:408 +#, c-format +msgid "no editor found (editor path = %s)" +msgstr "未找到編輯器 (編輯器路徑 = %s)" + +#: plugins/sudoers/visudo.c:495 plugins/sudoers/visudo.c:774 +#, c-format +msgid "unable to stat %s" +msgstr "無法 stat %s" + +#: plugins/sudoers/visudo.c:515 plugins/sudoers/visudo.c:523 +msgid "write error" +msgstr "寫入時發生錯誤" + +#: plugins/sudoers/visudo.c:569 +#, c-format +msgid "unable to stat temporary file (%s), %s unchanged" +msgstr "無法 stat 暫存檔 (%s),%s 未變更" + +#: plugins/sudoers/visudo.c:576 +#, c-format +msgid "zero length temporary file (%s), %s unchanged" +msgstr "暫存檔內沒有內容 (%s),%s 未變更" + +#: plugins/sudoers/visudo.c:582 +#, c-format +msgid "editor (%s) failed, %s unchanged" +msgstr "編輯器 (%s) 執行失敗,%s 未變更" + +#: plugins/sudoers/visudo.c:604 +#, c-format +msgid "%s unchanged" +msgstr "%s 未變更" + +#: plugins/sudoers/visudo.c:649 +#, c-format +msgid "unable to re-open temporary file (%s), %s unchanged." +msgstr "無法重新開啟暫存檔 (%s),%s 未變更。" + +#: plugins/sudoers/visudo.c:662 +#, c-format +msgid "unable to parse temporary file (%s), unknown error" +msgstr "無法解析暫存檔 (%s),未知錯誤" + +#: plugins/sudoers/visudo.c:748 plugins/sudoers/visudo.c:778 +#: plugins/sudoers/visudo.c:785 +#, c-format +msgid "unable to set (uid, gid) of %s to (%u, %u)" +msgstr "無法將 %s 的 (uid, gid) 設為 (%u, %u)" + +#: plugins/sudoers/visudo.c:813 +#, c-format +msgid "%s and %s not on the same file system, using mv to rename" +msgstr "%s 和 %s 不在同一個檔案系統,將使用 mv 進行重新命名" + +#: plugins/sudoers/visudo.c:824 +#, c-format +msgid "command failed: '%s %s %s', %s unchanged" +msgstr "指令失敗:「%s %s %s」,%s 未變更" + +#: plugins/sudoers/visudo.c:831 +#, c-format +msgid "error renaming %s, %s unchanged" +msgstr "重新命名 %s 發生錯誤,%s 未變更" + +#: plugins/sudoers/visudo.c:851 +msgid "What now? " +msgstr "現在該做些什麼?" + +#: plugins/sudoers/visudo.c:865 +msgid "" +"Options are:\n" +" (e)dit sudoers file again\n" +" e(x)it without saving changes to sudoers file\n" +" (Q)uit and save changes to sudoers file (DANGER!)\n" +msgstr "" +"選項有:\n" +" 重新編輯 sudoers 檔案 (e)\n" +" 退出,不儲存對 sudoers 檔案的變更 (x)\n" +" 退出並將變更儲存到 sudoers 檔案(十分危險!)(Q)\n" + +#: plugins/sudoers/visudo.c:911 +#, c-format +msgid "unable to run %s" +msgstr "無法執行 %s" + +#: plugins/sudoers/visudo.c:942 +#, c-format +msgid "%s: wrong owner (uid, gid) should be (%u, %u)\n" +msgstr "%s:所有者無效,(uid, gid) 應為 (%u, %u)\n" + +#: plugins/sudoers/visudo.c:953 +#, c-format +msgid "%s: bad permissions, should be mode 0%o\n" +msgstr "%s:權限不正確,模式應該是 0%o\n" + +#: plugins/sudoers/visudo.c:999 plugins/sudoers/visudo.c:1006 +#, c-format +msgid "%s: parsed OK\n" +msgstr "%s:解析正確\n" + +#: plugins/sudoers/visudo.c:1025 +#, c-format +msgid "%s busy, try again later" +msgstr "%s 忙碌中,請稍後重試" + +#: plugins/sudoers/visudo.c:1029 +msgid "Edit anyway? [y/N]" +msgstr "仍然編輯?[y/N]" + +#: plugins/sudoers/visudo.c:1130 +#, c-format +msgid "Warning: %s:%d:%d: unused %s \"%s\"" +msgstr "警告:%s:%d:%d: %s「%s」未使用" + +#: plugins/sudoers/visudo.c:1242 +#, c-format +msgid "" +"%s - safely edit the sudoers file\n" +"\n" +msgstr "" +"%s - 安全地編輯 sudoers 檔案\n" +"\n" + +#: plugins/sudoers/visudo.c:1244 +msgid "" +"\n" +"Options:\n" +" -c, --check check-only mode\n" +" -f, --file=sudoers specify sudoers file location\n" +" -h, --help display help message and exit\n" +" -I, --no-includes do not edit include files\n" +" -q, --quiet less verbose (quiet) syntax error messages\n" +" -s, --strict strict syntax checking\n" +" -V, --version display version information and exit\n" +msgstr "" +"\n" +"選項:\n" +" -c, --check 純檢查模式\n" +" -f, --file=sudoers 指定 sudoers 檔的位置\n" +" -h, --help 顯示說明訊息並退出\n" +" -I, --no-includes 不要編輯 include 檔案\n" +" -q, --quiet 不詳細(不輸出)的語法錯誤訊息\n" +" -s, --strict 嚴格語法檢查\n" +" -V, --version 顯示版本訊息並退出\n" + +#: toke.l:189 +msgid "empty string" +msgstr "字串空白" + +#: toke.l:201 toke.l:571 +msgid "empty group" +msgstr "group 空白" + +#: toke.l:211 toke.l:569 +msgid "empty netgroup" +msgstr "netgroup 空白" + +#: toke.l:289 +msgid "unterminated regular expression" +msgstr "未終止的正規表達式" + +#: toke.l:363 toke.l:375 toke.l:387 toke.l:403 toke.l:422 toke.l:462 +msgid "invalid line continuation" +msgstr "無效的行接續符號" + +#: toke.l:608 toke.l:620 +msgid "invalid IPv6 address" +msgstr "無效的 IPv6 地址" + +#: toke.l:876 +msgid "unexpected line break in string" +msgstr "字串中有非預期的斷行字元" + +#: toke.l:1226 +msgid "too many levels of includes" +msgstr "include 嵌套層數過多" + +#~ msgid "%s must be owned by uid %d" +#~ msgstr "%s 必須由使用者 ID %d 所有" + +#~ msgid "%s must only be writable by owner" +#~ msgstr "%s 必須只允許所有者可寫" + +#~ msgid "Warning: %s:%d:%d: cycle in %s \"%s\"" +#~ msgstr "警告:%s:%d:%d: %s「%s」中有循環" + +#~ msgid "Warning: %s:%d:%d: %s \"%s\" referenced but not defined" +#~ msgstr "警告:%s:%d:%d: 已引用但未定義 %s「%s」" + +#~ msgid "parse error in %s near line %d\n" +#~ msgstr "因接近行 %2$d 的 %1$s 字串而導致解析錯誤\n" + +#~ msgid "parse error in %s\n" +#~ msgstr "因 %s 導致解析錯誤\n" + +#~ msgid "%s: unknown defaults entry \"%s\"" +#~ msgstr "%s:未知的預設條目「%s」" + +#~ msgid "%s:%d:%d: no value specified for \"%s\"" +#~ msgstr "%s:%d:%d: 沒有指定「%s」的值" + +#~ msgid "%s:%d:%d: invalid operator \"%c=\" for \"%s\"" +#~ msgstr "%1$s:%2$d:%3$d: 「%5$s」的運算子「%4$c=」無效" + +#~ msgid "%s:%d:%d: option \"%s\" does not take a value" +#~ msgstr "%s:%d:%d: 「%s」選項不帶值" + +#~ msgid "%s:%d:%d: invalid Defaults type 0x%x for option \"%s\"" +#~ msgstr "%1$s:%2$d:%3$d: 選項「%5$s」的預設 (Defaults) 類型 0x%4$x 無效" + +#~ msgid "%s:%d:%d: value \"%s\" is invalid for option \"%s\"" +#~ msgstr "%s:%d:%d: 「%s」值對「%s」選項無效" + +#~ msgid "%s:%d:%d: path name for \"%s\" too long" +#~ msgstr "%s:%d:%d: 「%s」的路徑名稱過長" + +#~ msgid "%s: path name for \"%s\" too long" +#~ msgstr "%s:「%s」的路徑名稱過長" + +#~ msgid "%s:%d:%d: values for \"%s\" must start with a '/', '~', or '*'" +#~ msgstr "%s:%d:%d: \"%s\" 的值開頭必須是 '/'、'~' 或 '*'" + +#~ msgid "%s:%d:%d: values for \"%s\" must start with a '/'" +#~ msgstr "%s:%d:%d: \"%s\" 的值開頭必須是 '/'" + +#~ msgid "parse error in %s near line %d" +#~ msgstr "解析接近第 %2$d 行的 %1$s 時發生錯誤" + +#~ msgid "parse error in %s" +#~ msgstr "解析 %s 中的內容時發生錯誤" + +#~ msgid "SELinux RBAC is not supported when intercept mode is enabled" +#~ msgstr "不支援在啟用攔截模式時使用 SELinux RBAC" + +#~ msgid "SELinux RBAC is not supported when the log_subcmds flag is enabled" +#~ msgstr "不支援在啟用 log_subcmds 旗標時使用 SELinux RBAC" + +#~ msgid "problem with defaults entries" +#~ msgstr "預設條目有問題" + +#~ msgid "%s is group writable" +#~ msgstr "%s 允許群組寫入" + +#~ msgid "lecture status path too long: %s/%s" +#~ msgstr "指引狀態路徑過長:%s/%s" + +#~ msgid "internal error, unable to find %s in list!" +#~ msgstr "內部錯誤,原因:列表中找不到 %s!" + +#~ msgid "%s is not in the sudoers file. This incident will be reported.\n" +#~ msgstr "%s 不在 sudoers 檔案中。此事件將會回報。\n" + +#~ msgid "%s is not allowed to run sudo on %s. This incident will be reported.\n" +#~ msgstr "%s 沒有權限在 %s 上執行 sudo。此事件將會回報。\n" + +#~ msgid "%s: write buffer already in use" +#~ msgstr "%s:寫入緩衝區正被使用" + +#~ msgid "unable to read diffie-hellman parameters: %s" +#~ msgstr "無法讀取 Diffie-Hellman 參數:%s" + +#~ msgid "%s:%d unknown key: %s" +#~ msgstr "%s:%d 未知鍵:%s" + +#~ msgid "unable to get TLS server method: %s" +#~ msgstr "無法取得 TLS 伺服器方法:%s" + +#~ msgid "%s:%u unable to parse \"%s\"" +#~ msgstr "%s:%u 無法解析「%s」" + +#, fuzzy +#~ msgid "" +#~ "\n" +#~ "Options:\n" +#~ " -f, --file path to configuration file\n" +#~ " -h --help display help message and exit\n" +#~ " -n, --no-fork do not fork, run in the foreground\n" +#~ " -R, --random-drop percent chance connections will drop\n" +#~ " -V, --version display version information and exit\n" +#~ msgstr "" +#~ "\n" +#~ "選項:\n" +#~ " -f, --file 設定檔路徑\n" +#~ " -h, --help 顯示說明訊息並退出\n" +#~ " -n, --no-fork 不要 fork,在前景執行\n" +#~ " -R, --random-drop percent chance connections will drop\n" +#~ " -V, --version 顯示版本資訊後離開\n" + +#~ msgid "" +#~ "\n" +#~ "Options:\n" +#~ " --help display help message and exit\n" +#~ " -A, --accept only send an accept event (no I/O)\n" +#~ " -h, --host host to send logs to\n" +#~ " -i, --iolog_id remote ID of I/O log to be resumed\n" +#~ " -p, --port port to use when connecting to host\n" +#~ " -r, --restart restart previous I/O log transfer\n" +#~ " -R, --reject reject the command with the given reason\n" +#~ " -b, --ca-bundle certificate bundle file to verify server's cert against\n" +#~ " -c, --cert certificate file for TLS handshake\n" +#~ " -k, --key private key file\n" +#~ " -n, --no-verify do not verify server certificate\n" +#~ " -t, --test test audit server by sending selected I/O log n times in parallel\n" +#~ " -V, --version display version information and exit\n" +#~ msgstr "" +#~ "\n" +#~ "選項:\n" +#~ " --help 顯示說明訊息後離開\n" +#~ " -A, --accept 只傳送接受事件 (無 I/O)\n" +#~ " -h, --host 要傳送記錄至的目標主機\n" +#~ " -i, --iolog_id 要繼續的 I/O 記錄的遠端 ID\n" +#~ " -p, --port 連線到主機時要使用的連線埠\n" +#~ " -r, --restart 重新啟動上次的 I/O 記錄傳輸\n" +#~ " -R, --reject 以提供的原因拒絕命令\n" +#~ " -b, --ca-bundle 用來核驗伺服器憑證針對對象的憑證組合檔案\n" +#~ " -c, --cert 用於 TLS 交握的憑證檔案\n" +#~ " -k, --key 私鑰檔案\n" +#~ " -n, --no-verify 不核驗伺服器憑證\n" +#~ " -t, --test 透過並行傳送選取的 I/O 記錄 n 次來測試稽核伺服器\n" +#~ " -V, --version 顯示版本資訊後離開\n" + +#~ msgid "Preload the dummy exec functions contained in the sudo_noexec library" +#~ msgstr "預載「sudo_noexec」函式庫中包含的空 exec 函數" + +#~ msgid "sudo_ldap_conf_add_ports: port too large" +#~ msgstr "sudo_ldap_conf_add_ports:連線埠過大" + +#~ msgid "SSL_connect failed: ssl_error=%d, stack=%s\n" +#~ msgstr "SSL_connect 失敗:ssl_error=%d, stack=%s\n" + +#~ msgid "CA bundle file was not specified" +#~ msgstr "未指定 CA bundle 檔案" + +#~ msgid "Client certificate was not specified" +#~ msgstr "未指定用戶端憑證" + +#~ msgid "Unable to allocate ssl object: %s\n" +#~ msgstr "無法配置 SSL 物件:%s\n" + +#~ msgid "Unable to attach socket to the ssl object: %s\n" +#~ msgstr "無法將 socket 通訊端連結到 SSL 物件:%s\v\n" + +#~ msgid "client message too large: %zu\n" +#~ msgstr "用戶端訊息過長:%zu\n" + +#~ msgid "server message too large: %u\n" +#~ msgstr "伺服器訊息過長:%u\n" + +#~ msgid "CA bundle file is not set in sudoers" +#~ msgstr "sudoers 中未設定 CA bundle 檔案" + +#~ msgid "Calling SSL_CTX_load_verify_locations() failed: %s" +#~ msgstr "呼叫 SSL_CTX_load_verify_locations() 失敗:%s" + +#~ msgid "Signed certificate file is not set in sudoers" +#~ msgstr "sudoers 中未設定已簽名的憑證檔案" + +#~ msgid "Unable to load private key into the ssl context: %s" +#~ msgstr "無法載入私鑰進 SSL 上下文:%s" + +#~ msgid "SSL_connect failed: ssl_error=%d, stack=%s" +#~ msgstr "SSL_connect 失敗:ssl_error=%d, stack=%s" + +#~ msgid "SSL_read failed: ssl_error=%d, stack=%s" +#~ msgstr "SSL_read 失敗:ssl_error=%d, stack=%s" + +#~ msgid "SSL_write failed: ssl_error=%d, stack=%s" +#~ msgstr "SSL_write 失敗:ssl_error=%d, stack=%s" + +#~ msgid "unknown address family: %d" +#~ msgstr "未知的位址家族:%d" + +#~ msgid "audit_failure message too long" +#~ msgstr "audit_failure 訊息過長" + +#~ msgid "No user or host" +#~ msgstr "找不到使用者或主機" + +#~ msgid "validation failure" +#~ msgstr "檢查有效性失敗" + +#~ msgid "%s/%s/timing: %s" +#~ msgstr "%s/%s/計時:%s" + +#~ msgid "ignoring invalid attribute value: %s" +#~ msgstr "將忽略無效的屬性值:%s" + +#~ msgid "unable to cache user %s, out of memory" +#~ msgstr "無法快取使用者 %s,原因:記憶體不足" + +#~ msgid "unable to cache group %s, out of memory" +#~ msgstr "無法快取群組 %s,原因:記憶體不足" + +#~ msgid "unable to cache group list for %s, out of memory" +#~ msgstr "無法快取群組列表 %s,原因:已經存在" diff --git a/plugins/sudoers/policy.c b/plugins/sudoers/policy.c new file mode 100644 index 0000000..b547693 --- /dev/null +++ b/plugins/sudoers/policy.c @@ -0,0 +1,1377 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2010-2022 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "sudoers.h" +#include "sudoers_version.h" +#include "interfaces.h" + +static char **command_info; + +/* + * Command execution args to be filled in: argv, envp and command info. + */ +struct sudoers_exec_args { + char ***argv; + char ***envp; + char ***info; +}; + +static unsigned int sudo_version; +static const char *interfaces_string; +sudo_conv_t sudo_conv; +sudo_printf_t sudo_printf; +struct sudo_plugin_event * (*plugin_event_alloc)(void); +const char *path_ldap_conf = _PATH_LDAP_CONF; +const char *path_ldap_secret = _PATH_LDAP_SECRET; +static bool session_opened; +int sudoedit_nfiles; + +extern sudo_dso_public struct policy_plugin sudoers_policy; + +#ifdef HAVE_BSD_AUTH_H +char *login_style; +#endif /* HAVE_BSD_AUTH_H */ + +static int +parse_bool(const char *line, int varlen, int *flags, int fval) +{ + debug_decl(parse_bool, SUDOERS_DEBUG_PLUGIN); + + switch (sudo_strtobool(line + varlen + 1)) { + case true: + SET(*flags, fval); + debug_return_int(true); + case false: + CLR(*flags, fval); + debug_return_int(false); + default: + sudo_warnx(U_("invalid %.*s set by sudo front-end"), + varlen, line); + debug_return_int(-1); + } +} + +#define RUN_VALID_FLAGS (MODE_ASKPASS|MODE_PRESERVE_ENV|MODE_RESET_HOME|MODE_IMPLIED_SHELL|MODE_LOGIN_SHELL|MODE_NONINTERACTIVE|MODE_IGNORE_TICKET|MODE_UPDATE_TICKET|MODE_PRESERVE_GROUPS|MODE_SHELL|MODE_RUN|MODE_POLICY_INTERCEPTED) +#define EDIT_VALID_FLAGS (MODE_ASKPASS|MODE_NONINTERACTIVE|MODE_IGNORE_TICKET|MODE_UPDATE_TICKET|MODE_EDIT) +#define LIST_VALID_FLAGS (MODE_ASKPASS|MODE_NONINTERACTIVE|MODE_IGNORE_TICKET|MODE_UPDATE_TICKET|MODE_LIST|MODE_CHECK) +#define VALIDATE_VALID_FLAGS (MODE_ASKPASS|MODE_NONINTERACTIVE|MODE_IGNORE_TICKET|MODE_UPDATE_TICKET|MODE_VALIDATE) +#define INVALIDATE_VALID_FLAGS (MODE_ASKPASS|MODE_NONINTERACTIVE|MODE_IGNORE_TICKET|MODE_UPDATE_TICKET|MODE_INVALIDATE) + +/* + * Deserialize args, settings and user_info arrays. + * Fills in struct sudo_user and other common sudoers state. + */ +int +sudoers_policy_deserialize_info(void *v, struct defaults_list *defaults) +{ + struct sudoers_open_info *info = v; + const char *p, *errstr, *groups = NULL; + const char *remhost = NULL; + unsigned char uuid[16]; + char * const *cur; + int flags = MODE_UPDATE_TICKET; + debug_decl(sudoers_policy_deserialize_info, SUDOERS_DEBUG_PLUGIN); + +#define MATCHES(s, v) \ + (strncmp((s), (v), sizeof(v) - 1) == 0) + +#define INVALID(v) do { \ + sudo_warnx(U_("invalid %.*s set by sudo front-end"), \ + (int)(sizeof(v) - 2), (v)); \ +} while (0) + +#define CHECK(s, v) do { \ + if ((s)[sizeof(v) - 1] == '\0') { \ + INVALID(v); \ + goto bad; \ + } \ +} while (0) + + if (sudo_gettime_real(&sudo_user.submit_time) == -1) { + sudo_warn("%s", U_("unable to get time of day")); + goto bad; + } + + /* Parse sudo.conf plugin args. */ + sudoers_file = _PATH_SUDOERS; + sudoers_mode = SUDOERS_MODE; + sudoers_uid = SUDOERS_UID; + sudoers_gid = SUDOERS_GID; + if (info->plugin_args != NULL) { + for (cur = info->plugin_args; *cur != NULL; cur++) { + if (MATCHES(*cur, "error_recovery=")) { + int val = sudo_strtobool(*cur + sizeof("error_recovery=") - 1); + if (val == -1) { + INVALID("error_recovery="); /* Not a fatal error. */ + } else { + sudoers_recovery = val; + } + continue; + } + if (MATCHES(*cur, "sudoers_file=")) { + CHECK(*cur, "sudoers_file="); + sudoers_file = *cur + sizeof("sudoers_file=") - 1; + continue; + } + if (MATCHES(*cur, "sudoers_uid=")) { + p = *cur + sizeof("sudoers_uid=") - 1; + sudoers_uid = (uid_t) sudo_strtoid(p, &errstr); + if (errstr != NULL) { + sudo_warnx(U_("%s: %s"), *cur, U_(errstr)); + goto bad; + } + continue; + } + if (MATCHES(*cur, "sudoers_gid=")) { + p = *cur + sizeof("sudoers_gid=") - 1; + sudoers_gid = (gid_t) sudo_strtoid(p, &errstr); + if (errstr != NULL) { + sudo_warnx(U_("%s: %s"), *cur, U_(errstr)); + goto bad; + } + continue; + } + if (MATCHES(*cur, "sudoers_mode=")) { + p = *cur + sizeof("sudoers_mode=") - 1; + sudoers_mode = sudo_strtomode(p, &errstr); + if (errstr != NULL) { + sudo_warnx(U_("%s: %s"), *cur, U_(errstr)); + goto bad; + } + continue; + } + if (MATCHES(*cur, "ldap_conf=")) { + CHECK(*cur, "ldap_conf="); + path_ldap_conf = *cur + sizeof("ldap_conf=") - 1; + continue; + } + if (MATCHES(*cur, "ldap_secret=")) { + CHECK(*cur, "ldap_secret="); + path_ldap_secret = *cur + sizeof("ldap_secret=") - 1; + continue; + } + } + } + + /* Parse command line settings. */ + sudo_user.flags = 0; + user_closefrom = -1; + sudoedit_nfiles = 0; + sudo_mode = 0; + for (cur = info->settings; *cur != NULL; cur++) { + if (MATCHES(*cur, "closefrom=")) { + errno = 0; + p = *cur + sizeof("closefrom=") - 1; + user_closefrom = sudo_strtonum(p, 3, INT_MAX, &errstr); + if (user_closefrom == 0) { + sudo_warnx(U_("%s: %s"), *cur, U_(errstr)); + goto bad; + } + continue; + } + if (MATCHES(*cur, "cmnd_chroot=")) { + CHECK(*cur, "cmnd_chroot="); + user_runchroot = *cur + sizeof("cmnd_chroot=") - 1; + if (strlen(user_runchroot) >= PATH_MAX) { + sudo_warnx(U_("path name for \"%s\" too long"), "cmnd_chroot"); + goto bad; + } + continue; + } + if (MATCHES(*cur, "cmnd_cwd=")) { + CHECK(*cur, "cmnd_cwd="); + user_runcwd = *cur + sizeof("cmnd_cwd=") - 1; + if (strlen(user_runcwd) >= PATH_MAX) { + sudo_warnx(U_("path name for \"%s\" too long"), "cmnd_cwd"); + goto bad; + } + continue; + } + if (MATCHES(*cur, "runas_user=")) { + CHECK(*cur, "runas_user="); + sudo_user.runas_user = *cur + sizeof("runas_user=") - 1; + SET(sudo_user.flags, RUNAS_USER_SPECIFIED); + continue; + } + if (MATCHES(*cur, "runas_group=")) { + CHECK(*cur, "runas_group="); + sudo_user.runas_group = *cur + sizeof("runas_group=") - 1; + SET(sudo_user.flags, RUNAS_GROUP_SPECIFIED); + continue; + } + if (MATCHES(*cur, "prompt=")) { + /* Allow epmpty prompt. */ + user_prompt = *cur + sizeof("prompt=") - 1; + if (!append_default("passprompt_override", NULL, true, NULL, defaults)) + goto oom; + continue; + } + if (MATCHES(*cur, "set_home=")) { + if (parse_bool(*cur, sizeof("set_home") - 1, &flags, + MODE_RESET_HOME) == -1) + goto bad; + continue; + } + if (MATCHES(*cur, "preserve_environment=")) { + if (parse_bool(*cur, sizeof("preserve_environment") - 1, &flags, + MODE_PRESERVE_ENV) == -1) + goto bad; + continue; + } + if (MATCHES(*cur, "run_shell=")) { + if (parse_bool(*cur, sizeof("run_shell") -1, &flags, + MODE_SHELL) == -1) + goto bad; + continue; + } + if (MATCHES(*cur, "login_shell=")) { + if (parse_bool(*cur, sizeof("login_shell") - 1, &flags, + MODE_LOGIN_SHELL) == -1) + goto bad; + continue; + } + if (MATCHES(*cur, "implied_shell=")) { + if (parse_bool(*cur, sizeof("implied_shell") - 1, &flags, + MODE_IMPLIED_SHELL) == -1) + goto bad; + continue; + } + if (MATCHES(*cur, "preserve_groups=")) { + if (parse_bool(*cur, sizeof("preserve_groups") - 1, &flags, + MODE_PRESERVE_GROUPS) == -1) + goto bad; + continue; + } + if (MATCHES(*cur, "ignore_ticket=")) { + if (parse_bool(*cur, sizeof("ignore_ticket") -1, &flags, + MODE_IGNORE_TICKET) == -1) + goto bad; + continue; + } + if (MATCHES(*cur, "update_ticket=")) { + if (parse_bool(*cur, sizeof("update_ticket") -1, &flags, + MODE_UPDATE_TICKET) == -1) + goto bad; + continue; + } + if (MATCHES(*cur, "noninteractive=")) { + if (parse_bool(*cur, sizeof("noninteractive") - 1, &flags, + MODE_NONINTERACTIVE) == -1) + goto bad; + continue; + } + if (MATCHES(*cur, "sudoedit=")) { + if (parse_bool(*cur, sizeof("sudoedit") - 1, &flags, + MODE_EDIT) == -1) + goto bad; + continue; + } + if (MATCHES(*cur, "login_class=")) { + CHECK(*cur, "login_class="); + login_class = *cur + sizeof("login_class=") - 1; + if (!append_default("use_loginclass", NULL, true, NULL, defaults)) + goto oom; + continue; + } + if (MATCHES(*cur, "intercept_ptrace=")) { + if (parse_bool(*cur, sizeof("intercept_ptrace") - 1, &sudo_user.flags, + HAVE_INTERCEPT_PTRACE) == -1) + goto bad; + continue; + } + if (MATCHES(*cur, "intercept_setid=")) { + if (parse_bool(*cur, sizeof("intercept_setid") - 1, &sudo_user.flags, + CAN_INTERCEPT_SETID) == -1) + goto bad; + continue; + } +#ifdef HAVE_SELINUX + if (MATCHES(*cur, "selinux_role=")) { + CHECK(*cur, "selinux_role="); + free(user_role); + user_role = strdup(*cur + sizeof("selinux_role=") - 1); + if (user_role == NULL) + goto oom; + continue; + } + if (MATCHES(*cur, "selinux_type=")) { + CHECK(*cur, "selinux_type="); + free(user_type); + user_type = strdup(*cur + sizeof("selinux_type=") - 1); + if (user_type == NULL) + goto oom; + continue; + } +#endif /* HAVE_SELINUX */ +#ifdef HAVE_APPARMOR + if (MATCHES(*cur, "apparmor_profile=")) { + CHECK(*cur, "apparmor_profile="); + free(user_apparmor_profile); + user_apparmor_profile = strdup(*cur + sizeof("apparmor_profile=") - 1); + if (user_apparmor_profile == NULL) + goto oom; + continue; + } +#endif /* HAVE_APPARMOR */ +#ifdef HAVE_BSD_AUTH_H + if (MATCHES(*cur, "bsdauth_type=")) { + CHECK(*cur, "bsdauth_type="); + login_style = *cur + sizeof("bsdauth_type=") - 1; + continue; + } +#endif /* HAVE_BSD_AUTH_H */ + if (MATCHES(*cur, "network_addrs=")) { + interfaces_string = *cur + sizeof("network_addrs=") - 1; + if (!set_interfaces(interfaces_string)) { + sudo_warn("%s", U_("unable to parse network address list")); + goto bad; + } + continue; + } + if (MATCHES(*cur, "max_groups=")) { + errno = 0; + p = *cur + sizeof("max_groups=") - 1; + sudo_user.max_groups = sudo_strtonum(p, 1, 1024, &errstr); + if (sudo_user.max_groups == 0) { + sudo_warnx(U_("%s: %s"), *cur, U_(errstr)); + goto bad; + } + continue; + } + if (MATCHES(*cur, "remote_host=")) { + CHECK(*cur, "remote_host="); + remhost = *cur + sizeof("remote_host=") - 1; + continue; + } + if (MATCHES(*cur, "timeout=")) { + p = *cur + sizeof("timeout=") - 1; + user_timeout = parse_timeout(p); + if (user_timeout == -1) { + if (errno == ERANGE) + sudo_warnx(U_("%s: %s"), p, U_("timeout value too large")); + else + sudo_warnx(U_("%s: %s"), p, U_("invalid timeout value")); + goto bad; + } + continue; + } + if (MATCHES(*cur, "askpass=")) { + if (parse_bool(*cur, sizeof("askpass") - 1, &flags, + MODE_ASKPASS) == -1) + goto bad; + continue; + } +#ifdef ENABLE_SUDO_PLUGIN_API + if (MATCHES(*cur, "plugin_dir=")) { + CHECK(*cur, "plugin_dir="); + path_plugin_dir = *cur + sizeof("plugin_dir=") - 1; + continue; + } +#endif + } + /* Ignore ticket trumps update. */ + if (ISSET(flags, MODE_IGNORE_TICKET)) + CLR(flags, MODE_UPDATE_TICKET); + + user_gid = (gid_t)-1; + user_uid = (gid_t)-1; + user_umask = (mode_t)-1; + for (cur = info->user_info; *cur != NULL; cur++) { + if (MATCHES(*cur, "user=")) { + CHECK(*cur, "user="); + free(user_name); + if ((user_name = strdup(*cur + sizeof("user=") - 1)) == NULL) + goto oom; + continue; + } + if (MATCHES(*cur, "uid=")) { + p = *cur + sizeof("uid=") - 1; + user_uid = (uid_t) sudo_strtoid(p, &errstr); + if (errstr != NULL) { + sudo_warnx(U_("%s: %s"), *cur, U_(errstr)); + goto bad; + } + continue; + } + if (MATCHES(*cur, "gid=")) { + p = *cur + sizeof("gid=") - 1; + user_gid = (gid_t) sudo_strtoid(p, &errstr); + if (errstr != NULL) { + sudo_warnx(U_("%s: %s"), *cur, U_(errstr)); + goto bad; + } + continue; + } + if (MATCHES(*cur, "groups=")) { + CHECK(*cur, "groups="); + groups = *cur + sizeof("groups=") - 1; + continue; + } + if (MATCHES(*cur, "cwd=")) { + CHECK(*cur, "cwd="); + free(user_cwd); + if ((user_cwd = strdup(*cur + sizeof("cwd=") - 1)) == NULL) + goto oom; + continue; + } + if (MATCHES(*cur, "tty=")) { + CHECK(*cur, "tty="); + free(user_ttypath); + if ((user_ttypath = strdup(*cur + sizeof("tty=") - 1)) == NULL) + goto oom; + user_tty = user_ttypath; + if (strncmp(user_tty, _PATH_DEV, sizeof(_PATH_DEV) - 1) == 0) + user_tty += sizeof(_PATH_DEV) - 1; + continue; + } + if (MATCHES(*cur, "host=")) { + CHECK(*cur, "host="); + if (user_shost != user_host) + free(user_shost); + free(user_host); + if ((user_host = strdup(*cur + sizeof("host=") - 1)) == NULL) + goto oom; + if ((p = strchr(user_host, '.')) != NULL) { + user_shost = strndup(user_host, (size_t)(p - user_host)); + if (user_shost == NULL) + goto oom; + } else { + user_shost = user_host; + } + continue; + } + if (MATCHES(*cur, "lines=")) { + errno = 0; + p = *cur + sizeof("lines=") - 1; + sudo_user.lines = sudo_strtonum(p, 1, INT_MAX, &errstr); + if (sudo_user.lines == 0) { + sudo_warnx(U_("%s: %s"), *cur, U_(errstr)); + goto bad; + } + continue; + } + if (MATCHES(*cur, "cols=")) { + errno = 0; + p = *cur + sizeof("cols=") - 1; + sudo_user.cols = sudo_strtonum(p, 1, INT_MAX, &errstr); + if (sudo_user.cols == 0) { + sudo_warnx(U_("%s: %s"), *cur, U_(errstr)); + goto bad; + } + continue; + } + if (MATCHES(*cur, "sid=")) { + p = *cur + sizeof("sid=") - 1; + user_sid = (pid_t) sudo_strtoid(p, &errstr); + if (errstr != NULL) { + sudo_warnx(U_("%s: %s"), *cur, U_(errstr)); + goto bad; + } + continue; + } + if (MATCHES(*cur, "tcpgid=")) { + p = *cur + sizeof("tcpgid=") - 1; + user_tcpgid = (pid_t) sudo_strtoid(p, &errstr); + if (errstr != NULL) { + sudo_warnx(U_("%s: %s"), *cur, U_(errstr)); + goto bad; + } + continue; + } + if (MATCHES(*cur, "umask=")) { + p = *cur + sizeof("umask=") - 1; + sudo_user.umask = sudo_strtomode(p, &errstr); + if (errstr != NULL) { + sudo_warnx(U_("%s: %s"), *cur, U_(errstr)); + goto bad; + } + continue; + } + } + + /* User name, user-ID, group-ID and host name must be specified. */ + if (user_name == NULL) { + sudo_warnx("%s", U_("user name not set by sudo front-end")); + goto bad; + } + if (user_uid == (uid_t)-1) { + sudo_warnx("%s", U_("user-ID not set by sudo front-end")); + goto bad; + } + if (user_gid == (gid_t)-1) { + sudo_warnx("%s", U_("group-ID not set by sudo front-end")); + goto bad; + } + if (user_host == NULL) { + sudo_warnx("%s", U_("host name not set by sudo front-end")); + goto bad; + } + + if (user_srunhost != user_runhost) + free(user_srunhost); + free(user_runhost); + if ((user_runhost = strdup(remhost ? remhost : user_host)) == NULL) + goto oom; + if ((p = strchr(user_runhost, '.')) != NULL) { + user_srunhost = strndup(user_runhost, (size_t)(p - user_runhost)); + if (user_srunhost == NULL) + goto oom; + } else { + user_srunhost = user_runhost; + } + if (user_cwd == NULL) { + if ((user_cwd = strdup("unknown")) == NULL) + goto oom; + } + if (user_runcwd == NULL) { + /* Unlike user_cwd, user_runcwd is not free()d. */ + user_runcwd = user_cwd; + } + if (user_tty == NULL) { + if ((user_tty = strdup("unknown")) == NULL) + goto oom; + /* user_ttypath remains NULL */ + } + + if (groups != NULL) { + /* sudo_parse_gids() will print a warning on error. */ + user_ngids = sudo_parse_gids(groups, &user_gid, &user_gids); + if (user_ngids == -1) + goto bad; + } + + /* umask is only set in user_info[] for API 1.10 and above. */ + if (user_umask == (mode_t)-1) { + user_umask = umask(0); + umask(user_umask); + } + + /* Always reset the environment for a login shell. */ + if (ISSET(flags, MODE_LOGIN_SHELL)) + def_env_reset = true; + + /* Some systems support fexecve() which we use for digest matches. */ + cmnd_fd = -1; + + /* Create a UUID to store in the event log. */ + sudo_uuid_create(uuid); + if (sudo_uuid_to_string(uuid, sudo_user.uuid_str, sizeof(sudo_user.uuid_str)) == NULL) { + sudo_warnx("%s", U_("unable to generate UUID")); + goto bad; + } + + /* + * Set intercept defaults based on flags set above. + * We pass -1 as the operator to indicate it is set by the front end. + */ + if (ISSET(sudo_user.flags, HAVE_INTERCEPT_PTRACE)) { + if (!append_default("intercept_type", "trace", -1, NULL, defaults)) + goto oom; + } + if (ISSET(sudo_user.flags, CAN_INTERCEPT_SETID)) { + if (!append_default("intercept_allow_setid", NULL, -1, NULL, defaults)) + goto oom; + } + +#ifdef NO_ROOT_MAILER + eventlog_set_mailuid(user_uid); +#endif + + /* Dump settings and user info (XXX - plugin args) */ + for (cur = info->settings; *cur != NULL; cur++) + sudo_debug_printf(SUDO_DEBUG_INFO, "settings: %s", *cur); + for (cur = info->user_info; *cur != NULL; cur++) + sudo_debug_printf(SUDO_DEBUG_INFO, "user_info: %s", *cur); + +#undef MATCHES +#undef INVALID +#undef CHECK + debug_return_int(flags); + +oom: + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); +bad: + debug_return_int(MODE_ERROR); +} + +/* + * Store the execution environment and other front-end settings. + * Builds up the command_info list and sets argv and envp. + * Consumes iolog_path if not NULL. + * Returns true on success, else false. + */ +bool +sudoers_policy_store_result(bool accepted, char *argv[], char *envp[], + mode_t cmnd_umask, char *iolog_path, void *v) +{ + struct sudoers_exec_args *exec_args = v; + int info_len = 0; + debug_decl(sudoers_policy_store_result, SUDOERS_DEBUG_PLUGIN); + + if (exec_args == NULL) + debug_return_bool(true); /* nothing to do */ + + /* Free old data, if any. */ + if (command_info != NULL) { + char **cur; + sudoers_gc_remove(GC_VECTOR, command_info); + for (cur = command_info; *cur != NULL; cur++) + free(*cur); + free(command_info); + } + + /* Increase the length of command_info as needed, it is *not* checked. */ + command_info = calloc(73, sizeof(char *)); + if (command_info == NULL) + goto oom; + + if (safe_cmnd != NULL) { + command_info[info_len] = sudo_new_key_val("command", safe_cmnd); + if (command_info[info_len++] == NULL) + goto oom; + } + if (def_log_subcmds) { + if ((command_info[info_len++] = strdup("log_subcmds=true")) == NULL) + goto oom; + } + if (iolog_enabled) { + if (iolog_path) + command_info[info_len++] = iolog_path; /* now owned */ + if (def_log_stdin) { + if ((command_info[info_len++] = strdup("iolog_stdin=true")) == NULL) + goto oom; + } + if (def_log_stdout) { + if ((command_info[info_len++] = strdup("iolog_stdout=true")) == NULL) + goto oom; + } + if (def_log_stderr) { + if ((command_info[info_len++] = strdup("iolog_stderr=true")) == NULL) + goto oom; + } + if (def_log_ttyin) { + if ((command_info[info_len++] = strdup("iolog_ttyin=true")) == NULL) + goto oom; + } + if (def_log_ttyout) { + if ((command_info[info_len++] = strdup("iolog_ttyout=true")) == NULL) + goto oom; + } + if (def_compress_io) { + if ((command_info[info_len++] = strdup("iolog_compress=true")) == NULL) + goto oom; + } + if (def_iolog_flush) { + if ((command_info[info_len++] = strdup("iolog_flush=true")) == NULL) + goto oom; + } + if ((command_info[info_len++] = sudo_new_key_val("log_passwords", + def_log_passwords ? "true" : "false")) == NULL) + goto oom; + if (!SLIST_EMPTY(&def_passprompt_regex)) { + char *passprompt_regex = + serialize_list("passprompt_regex", &def_passprompt_regex); + if (passprompt_regex == NULL) + goto oom; + command_info[info_len++] = passprompt_regex; + } + if (def_maxseq != NULL) { + if ((command_info[info_len++] = sudo_new_key_val("maxseq", def_maxseq)) == NULL) + goto oom; + } + } + if (ISSET(sudo_mode, MODE_EDIT)) { + if ((command_info[info_len++] = strdup("sudoedit=true")) == NULL) + goto oom; + if (sudoedit_nfiles > 0) { + if (asprintf(&command_info[info_len++], "sudoedit_nfiles=%d", + sudoedit_nfiles) == -1) + goto oom; + } + if (!def_sudoedit_checkdir) { + if ((command_info[info_len++] = strdup("sudoedit_checkdir=false")) == NULL) + goto oom; + } + if (def_sudoedit_follow) { + if ((command_info[info_len++] = strdup("sudoedit_follow=true")) == NULL) + goto oom; + } + } + if (def_runcwd && strcmp(def_runcwd, "*") != 0) { + /* Set cwd to explicit value in sudoers. */ + if (!expand_tilde(&def_runcwd, runas_pw->pw_name)) { + sudo_warnx(U_("invalid working directory: %s"), def_runcwd); + goto bad; + } + if ((command_info[info_len++] = sudo_new_key_val("cwd", def_runcwd)) == NULL) + goto oom; + } else if (ISSET(sudo_mode, MODE_LOGIN_SHELL)) { + /* Set cwd to run user's homedir. */ + if ((command_info[info_len++] = sudo_new_key_val("cwd", runas_pw->pw_dir)) == NULL) + goto oom; + if ((command_info[info_len++] = strdup("cwd_optional=true")) == NULL) + goto oom; + } + if ((command_info[info_len++] = sudo_new_key_val("runas_user", runas_pw->pw_name)) == NULL) + goto oom; + if (runas_gr != NULL) { + if ((command_info[info_len++] = sudo_new_key_val("runas_group", runas_gr->gr_name)) == NULL) + goto oom; + } + if (def_stay_setuid) { + if (asprintf(&command_info[info_len++], "runas_uid=%u", + (unsigned int)user_uid) == -1) + goto oom; + if (asprintf(&command_info[info_len++], "runas_gid=%u", + (unsigned int)user_gid) == -1) + goto oom; + if (asprintf(&command_info[info_len++], "runas_euid=%u", + (unsigned int)runas_pw->pw_uid) == -1) + goto oom; + if (asprintf(&command_info[info_len++], "runas_egid=%u", + runas_gr ? (unsigned int)runas_gr->gr_gid : + (unsigned int)runas_pw->pw_gid) == -1) + goto oom; + } else { + if (asprintf(&command_info[info_len++], "runas_uid=%u", + (unsigned int)runas_pw->pw_uid) == -1) + goto oom; + if (asprintf(&command_info[info_len++], "runas_gid=%u", + runas_gr ? (unsigned int)runas_gr->gr_gid : + (unsigned int)runas_pw->pw_gid) == -1) + goto oom; + } + if (def_preserve_groups) { + if ((command_info[info_len++] = strdup("preserve_groups=true")) == NULL) + goto oom; + } else { + int i, len; + gid_t egid; + size_t glsize; + char *cp, *gid_list; + struct gid_list *gidlist; + + /* Only use results from a group db query, not the front end. */ + gidlist = sudo_get_gidlist(runas_pw, ENTRY_TYPE_QUERIED); + + /* We reserve an extra spot in the list for the effective gid. */ + glsize = sizeof("runas_groups=") - 1 + + ((gidlist->ngids + 1) * (MAX_UID_T_LEN + 1)); + gid_list = malloc(glsize); + if (gid_list == NULL) { + sudo_gidlist_delref(gidlist); + goto oom; + } + memcpy(gid_list, "runas_groups=", sizeof("runas_groups=") - 1); + cp = gid_list + sizeof("runas_groups=") - 1; + + /* On BSD systems the effective gid is the first group in the list. */ + egid = runas_gr ? (unsigned int)runas_gr->gr_gid : + (unsigned int)runas_pw->pw_gid; + len = snprintf(cp, glsize - (cp - gid_list), "%u", (unsigned int)egid); + if (len < 0 || (size_t)len >= glsize - (cp - gid_list)) { + sudo_warnx(U_("internal error, %s overflow"), __func__); + free(gid_list); + sudo_gidlist_delref(gidlist); + goto bad; + } + cp += len; + for (i = 0; i < gidlist->ngids; i++) { + if (gidlist->gids[i] != egid) { + len = snprintf(cp, glsize - (cp - gid_list), ",%u", + (unsigned int) gidlist->gids[i]); + if (len < 0 || (size_t)len >= glsize - (cp - gid_list)) { + sudo_warnx(U_("internal error, %s overflow"), __func__); + free(gid_list); + sudo_gidlist_delref(gidlist); + goto bad; + } + cp += len; + } + } + command_info[info_len++] = gid_list; + sudo_gidlist_delref(gidlist); + } + if (def_closefrom >= 0) { + if (asprintf(&command_info[info_len++], "closefrom=%d", def_closefrom) == -1) + goto oom; + } + if (def_ignore_iolog_errors) { + if ((command_info[info_len++] = strdup("ignore_iolog_errors=true")) == NULL) + goto oom; + } + if (def_intercept) { + if ((command_info[info_len++] = strdup("intercept=true")) == NULL) + goto oom; + } + if (def_intercept_type == trace) { + if ((command_info[info_len++] = strdup("use_ptrace=true")) == NULL) + goto oom; + } + if (def_intercept_verify) { + if ((command_info[info_len++] = strdup("intercept_verify=true")) == NULL) + goto oom; + } + if (def_noexec) { + if ((command_info[info_len++] = strdup("noexec=true")) == NULL) + goto oom; + } + if (def_exec_background) { + if ((command_info[info_len++] = strdup("exec_background=true")) == NULL) + goto oom; + } + if (def_set_utmp) { + if ((command_info[info_len++] = strdup("set_utmp=true")) == NULL) + goto oom; + } + if (def_use_pty) { + if ((command_info[info_len++] = strdup("use_pty=true")) == NULL) + goto oom; + } + if (def_utmp_runas) { + if ((command_info[info_len++] = sudo_new_key_val("utmp_user", runas_pw->pw_name)) == NULL) + goto oom; + } + if (def_iolog_mode != (S_IRUSR|S_IWUSR)) { + if (asprintf(&command_info[info_len++], "iolog_mode=0%o", (unsigned int)def_iolog_mode) == -1) + goto oom; + } + if (def_iolog_user != NULL) { + if ((command_info[info_len++] = sudo_new_key_val("iolog_user", def_iolog_user)) == NULL) + goto oom; + } + if (def_iolog_group != NULL) { + if ((command_info[info_len++] = sudo_new_key_val("iolog_group", def_iolog_group)) == NULL) + goto oom; + } + if (!SLIST_EMPTY(&def_log_servers)) { + char *log_servers = serialize_list("log_servers", &def_log_servers); + if (log_servers == NULL) + goto oom; + command_info[info_len++] = log_servers; + + if (asprintf(&command_info[info_len++], "log_server_timeout=%u", def_log_server_timeout) == -1) + goto oom; + } + + if ((command_info[info_len++] = sudo_new_key_val("log_server_keepalive", + def_log_server_keepalive ? "true" : "false")) == NULL) + goto oom; + + if ((command_info[info_len++] = sudo_new_key_val("log_server_verify", + def_log_server_verify ? "true" : "false")) == NULL) + goto oom; + + if (def_log_server_cabundle != NULL) { + if ((command_info[info_len++] = sudo_new_key_val("log_server_cabundle", def_log_server_cabundle)) == NULL) + goto oom; + } + if (def_log_server_peer_cert != NULL) { + if ((command_info[info_len++] = sudo_new_key_val("log_server_peer_cert", def_log_server_peer_cert)) == NULL) + goto oom; + } + if (def_log_server_peer_key != NULL) { + if ((command_info[info_len++] = sudo_new_key_val("log_server_peer_key", def_log_server_peer_key)) == NULL) + goto oom; + } + + if (def_command_timeout > 0 || user_timeout > 0) { + int timeout = user_timeout; + if (timeout == 0 || (def_command_timeout > 0 && def_command_timeout < timeout)) + timeout = def_command_timeout; + if (asprintf(&command_info[info_len++], "timeout=%u", timeout) == -1) + goto oom; + } + if (def_runchroot != NULL && strcmp(def_runchroot, "*") != 0) { + if (!expand_tilde(&def_runchroot, runas_pw->pw_name)) { + sudo_warnx(U_("invalid chroot directory: %s"), def_runchroot); + goto bad; + } + if ((command_info[info_len++] = sudo_new_key_val("chroot", def_runchroot)) == NULL) + goto oom; + } + if (cmnd_umask != ACCESSPERMS) { + if (asprintf(&command_info[info_len++], "umask=0%o", (unsigned int)cmnd_umask) == -1) + goto oom; + } + if (force_umask) { + if ((command_info[info_len++] = strdup("umask_override=true")) == NULL) + goto oom; + } + if (cmnd_fd != -1) { + if (sudo_version < SUDO_API_MKVERSION(1, 9)) { + /* execfd only supported by plugin API 1.9 and higher */ + close(cmnd_fd); + cmnd_fd = -1; + } else { + if (asprintf(&command_info[info_len++], "execfd=%d", cmnd_fd) == -1) + goto oom; + } + } + if (def_rlimit_as != NULL) { + if ((command_info[info_len++] = sudo_new_key_val("rlimit_as", def_rlimit_as)) == NULL) + goto oom; + } + if (def_rlimit_core != NULL) { + if ((command_info[info_len++] = sudo_new_key_val("rlimit_core", def_rlimit_core)) == NULL) + goto oom; + } + if (def_rlimit_cpu != NULL) { + if ((command_info[info_len++] = sudo_new_key_val("rlimit_cpu", def_rlimit_cpu)) == NULL) + goto oom; + } + if (def_rlimit_data != NULL) { + if ((command_info[info_len++] = sudo_new_key_val("rlimit_data", def_rlimit_data)) == NULL) + goto oom; + } + if (def_rlimit_fsize != NULL) { + if ((command_info[info_len++] = sudo_new_key_val("rlimit_fsize", def_rlimit_fsize)) == NULL) + goto oom; + } + if (def_rlimit_locks != NULL) { + if ((command_info[info_len++] = sudo_new_key_val("rlimit_locks", def_rlimit_locks)) == NULL) + goto oom; + } + if (def_rlimit_memlock != NULL) { + if ((command_info[info_len++] = sudo_new_key_val("rlimit_memlock", def_rlimit_memlock)) == NULL) + goto oom; + } + if (def_rlimit_nofile != NULL) { + if ((command_info[info_len++] = sudo_new_key_val("rlimit_nofile", def_rlimit_nofile)) == NULL) + goto oom; + } + if (def_rlimit_nproc != NULL) { + if ((command_info[info_len++] = sudo_new_key_val("rlimit_nproc", def_rlimit_nproc)) == NULL) + goto oom; + } + if (def_rlimit_rss != NULL) { + if ((command_info[info_len++] = sudo_new_key_val("rlimit_rss", def_rlimit_rss)) == NULL) + goto oom; + } + if (def_rlimit_stack != NULL) { + if ((command_info[info_len++] = sudo_new_key_val("rlimit_stack", def_rlimit_stack)) == NULL) + goto oom; + } +#ifdef HAVE_LOGIN_CAP_H + if (def_use_loginclass) { + if ((command_info[info_len++] = sudo_new_key_val("login_class", login_class)) == NULL) + goto oom; + } +#endif /* HAVE_LOGIN_CAP_H */ +#ifdef HAVE_SELINUX + if (def_selinux && user_role != NULL) { + if ((command_info[info_len++] = sudo_new_key_val("selinux_role", user_role)) == NULL) + goto oom; + } + if (def_selinux && user_type != NULL) { + if ((command_info[info_len++] = sudo_new_key_val("selinux_type", user_type)) == NULL) + goto oom; + } +#endif /* HAVE_SELINUX */ +#ifdef HAVE_APPARMOR + if (user_apparmor_profile != NULL) { + if ((command_info[info_len++] = sudo_new_key_val("apparmor_profile", user_apparmor_profile)) == NULL) + goto oom; + } +#endif /* HAVE_APPARMOR */ +#ifdef HAVE_PRIV_SET + if (runas_privs != NULL) { + if ((command_info[info_len++] = sudo_new_key_val("runas_privs", runas_privs)) == NULL) + goto oom; + } + if (runas_limitprivs != NULL) { + if ((command_info[info_len++] = sudo_new_key_val("runas_limitprivs", runas_limitprivs)) == NULL) + goto oom; + } +#endif /* HAVE_PRIV_SET */ + + /* Fill in exec environment info. */ + *(exec_args->argv) = argv; + *(exec_args->envp) = envp; + *(exec_args->info) = command_info; + + /* Free command_info on exit. */ + sudoers_gc_add(GC_VECTOR, command_info); + + debug_return_bool(true); + +oom: + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); +bad: + free(audit_msg); + audit_msg = NULL; + while (info_len--) + free(command_info[info_len]); + free(command_info); + debug_return_bool(false); +} + +static int +sudoers_policy_open(unsigned int version, sudo_conv_t conversation, + sudo_printf_t plugin_printf, char * const settings[], + char * const user_info[], char * const envp[], char * const args[], + const char **errstr) +{ + struct sudo_conf_debug_file_list debug_files = TAILQ_HEAD_INITIALIZER(debug_files); + struct sudoers_open_info info; + const char *cp, *plugin_path = NULL; + char * const *cur; + int ret; + debug_decl(sudoers_policy_open, SUDOERS_DEBUG_PLUGIN); + + sudo_version = version; + sudo_conv = conversation; + sudo_printf = plugin_printf; + if (sudoers_policy.event_alloc != NULL) + plugin_event_alloc = sudoers_policy.event_alloc; + + /* Plugin args are only specified for API version 1.2 and higher. */ + if (sudo_version < SUDO_API_MKVERSION(1, 2)) + args = NULL; + + /* Initialize the debug subsystem. */ + for (cur = settings; (cp = *cur) != NULL; cur++) { + if (strncmp(cp, "debug_flags=", sizeof("debug_flags=") - 1) == 0) { + cp += sizeof("debug_flags=") - 1; + if (!sudoers_debug_parse_flags(&debug_files, cp)) + debug_return_int(-1); + continue; + } + if (strncmp(cp, "plugin_path=", sizeof("plugin_path=") - 1) == 0) { + plugin_path = cp + sizeof("plugin_path=") - 1; + continue; + } + } + if (!sudoers_debug_register(plugin_path, &debug_files)) + debug_return_int(-1); + + /* Call the sudoers init function. */ + info.settings = settings; + info.user_info = user_info; + info.plugin_args = args; + ret = sudoers_init(&info, log_parse_error, envp); + + /* The audit functions set audit_msg on failure. */ + if (ret != 1 && audit_msg != NULL) { + if (sudo_version >= SUDO_API_MKVERSION(1, 15)) + *errstr = audit_msg; + } + + debug_return_int(ret); +} + +static void +sudoers_policy_close(int exit_status, int error_code) +{ + debug_decl(sudoers_policy_close, SUDOERS_DEBUG_PLUGIN); + + if (session_opened) { + /* Close the session we opened in sudoers_policy_init_session(). */ + (void)sudo_auth_end_session(runas_pw); + + if (error_code) { + errno = error_code; + sudo_warn(U_("unable to execute %s"), safe_cmnd); + } else { + log_exit_status(exit_status); + } + } + + /* Deregister the callback for sudo_fatal()/sudo_fatalx(). */ + sudo_fatal_callback_deregister(sudoers_cleanup); + + /* Free stashed copy of the environment. */ + (void)env_init(NULL); + + /* Free sudoers sources, sudo_user and passwd/group caches. */ + sudoers_cleanup(); + + /* command_info is freed by the g/c code. */ + command_info = NULL; + + /* Free error message passed back to front-end, if any. */ + free(audit_msg); + audit_msg = NULL; + + /* sudoers_debug_deregister() calls sudo_debug_exit() for us. */ + sudoers_debug_deregister(); +} + +/* + * The init_session function is called before executing the command + * and before uid/gid changes occur. + * Returns 1 on success, 0 on failure and -1 on error. + */ +static int +sudoers_policy_init_session(struct passwd *pwd, char **user_env[], + const char **errstr) +{ + int ret; + debug_decl(sudoers_policy_init_session, SUDOERS_DEBUG_PLUGIN); + + /* user_env is only specified for API version 1.2 and higher. */ + if (sudo_version < SUDO_API_MKVERSION(1, 2)) + user_env = NULL; + + ret = sudo_auth_begin_session(pwd, user_env); + + if (ret == 1) { + session_opened = true; + } else if (audit_msg != NULL) { + /* The audit functions set audit_msg on failure. */ + if (sudo_version >= SUDO_API_MKVERSION(1, 15)) + *errstr = audit_msg; + } + debug_return_int(ret); +} + +static int +sudoers_policy_check(int argc, char * const argv[], char *env_add[], + char **command_infop[], char **argv_out[], char **user_env_out[], + const char **errstr) +{ + int valid_flags = RUN_VALID_FLAGS; + struct sudoers_exec_args exec_args; + int ret; + debug_decl(sudoers_policy_check, SUDOERS_DEBUG_PLUGIN); + + if (ISSET(sudo_mode, MODE_EDIT)) + valid_flags = EDIT_VALID_FLAGS; + else + SET(sudo_mode, MODE_RUN); + + if ((sudo_mode & valid_flags) != sudo_mode) { + sudo_warnx(U_("%s: invalid mode flags from sudo front end: 0x%x"), + __func__, sudo_mode); + debug_return_int(-1); + } + + exec_args.argv = argv_out; + exec_args.envp = user_env_out; + exec_args.info = command_infop; + + ret = sudoers_policy_main(argc, argv, 0, env_add, false, &exec_args); +#ifndef NO_LEAKS + if (ret == true && sudo_version >= SUDO_API_MKVERSION(1, 3)) { + /* Unset close function if we don't need it to avoid extra process. */ + if (!iolog_enabled && !def_use_pty && !def_log_exit_status && + SLIST_EMPTY(&def_log_servers) && !sudo_auth_needs_end_session()) + sudoers_policy.close = NULL; + } +#endif + + /* The audit functions set audit_msg on failure. */ + if (ret != 1 && audit_msg != NULL) { + if (sudo_version >= SUDO_API_MKVERSION(1, 15)) + *errstr = audit_msg; + } + debug_return_int(ret); +} + +static int +sudoers_policy_validate(const char **errstr) +{ + char *argv[] = { (char *)"validate", NULL }; + const int argc = 1; + int ret; + debug_decl(sudoers_policy_validate, SUDOERS_DEBUG_PLUGIN); + + SET(sudo_mode, MODE_VALIDATE); + if ((sudo_mode & VALIDATE_VALID_FLAGS) != sudo_mode) { + sudo_warnx(U_("%s: invalid mode flags from sudo front end: 0x%x"), + __func__, sudo_mode); + debug_return_int(-1); + } + + ret = sudoers_policy_main(argc, argv, I_VERIFYPW, NULL, false, NULL); + + /* The audit functions set audit_msg on failure. */ + if (ret != 1 && audit_msg != NULL) { + if (sudo_version >= SUDO_API_MKVERSION(1, 15)) + *errstr = audit_msg; + } + debug_return_int(ret); +} + +static void +sudoers_policy_invalidate(int unlinkit) +{ + debug_decl(sudoers_policy_invalidate, SUDOERS_DEBUG_PLUGIN); + + SET(sudo_mode, MODE_INVALIDATE); + if ((sudo_mode & INVALIDATE_VALID_FLAGS) != sudo_mode) { + sudo_warnx(U_("%s: invalid mode flags from sudo front end: 0x%x"), + __func__, sudo_mode); + } else { + timestamp_remove(unlinkit); + } + + debug_return; +} + +static int +sudoers_policy_list(int argc, char * const argv[], int verbose, + const char *list_user, const char **errstr) +{ + char *list_argv[] = { (char *)"list", NULL }; + int ret; + debug_decl(sudoers_policy_list, SUDOERS_DEBUG_PLUGIN); + + if (argc == 0) { + SET(sudo_mode, MODE_LIST); + argc = 1; + argv = list_argv; + } else { + SET(sudo_mode, MODE_CHECK); + } + + if ((sudo_mode & LIST_VALID_FLAGS) != sudo_mode) { + sudo_warnx(U_("%s: invalid mode flags from sudo front end: 0x%x"), + __func__, sudo_mode); + debug_return_int(-1); + } + + if (list_user) { + list_pw = sudo_getpwnam(list_user); + if (list_pw == NULL) { + sudo_warnx(U_("unknown user %s"), list_user); + debug_return_int(-1); + } + } + ret = sudoers_policy_main(argc, argv, I_LISTPW, NULL, verbose, NULL); + if (list_user) { + sudo_pw_delref(list_pw); + list_pw = NULL; + } + + /* The audit functions set audit_msg on failure. */ + if (ret != 1 && audit_msg != NULL) { + if (sudo_version >= SUDO_API_MKVERSION(1, 15)) + *errstr = audit_msg; + } + debug_return_int(ret); +} + +static int +sudoers_policy_version(int verbose) +{ + debug_decl(sudoers_policy_version, SUDOERS_DEBUG_PLUGIN); + + sudo_printf(SUDO_CONV_INFO_MSG, _("Sudoers policy plugin version %s\n"), + PACKAGE_VERSION); + sudo_printf(SUDO_CONV_INFO_MSG, _("Sudoers file grammar version %d\n"), + SUDOERS_GRAMMAR_VERSION); + + if (verbose) { + sudo_printf(SUDO_CONV_INFO_MSG, _("\nSudoers path: %s\n"), sudoers_file); +#ifdef HAVE_LDAP +# ifdef _PATH_NSSWITCH_CONF + sudo_printf(SUDO_CONV_INFO_MSG, _("nsswitch path: %s\n"), _PATH_NSSWITCH_CONF); +# endif + sudo_printf(SUDO_CONV_INFO_MSG, _("ldap.conf path: %s\n"), path_ldap_conf); + sudo_printf(SUDO_CONV_INFO_MSG, _("ldap.secret path: %s\n"), path_ldap_secret); +#endif + dump_auth_methods(); + dump_defaults(); + sudo_printf(SUDO_CONV_INFO_MSG, "\n"); + if (interfaces_string != NULL) { + dump_interfaces(interfaces_string); + sudo_printf(SUDO_CONV_INFO_MSG, "\n"); + } + } + debug_return_int(true); +} + +static struct sudo_hook sudoers_hooks[] = { + { SUDO_HOOK_VERSION, SUDO_HOOK_SETENV, sudoers_hook_setenv, NULL }, + { SUDO_HOOK_VERSION, SUDO_HOOK_UNSETENV, sudoers_hook_unsetenv, NULL }, + { SUDO_HOOK_VERSION, SUDO_HOOK_GETENV, sudoers_hook_getenv, NULL }, + { SUDO_HOOK_VERSION, SUDO_HOOK_PUTENV, sudoers_hook_putenv, NULL }, + { 0, 0, NULL, NULL } +}; + +/* + * Register environment function hooks. + * Note that we have not registered sudoers with the debug subsystem yet. + */ +static void +sudoers_policy_register_hooks(int version, int (*register_hook)(struct sudo_hook *hook)) +{ + struct sudo_hook *hook; + + for (hook = sudoers_hooks; hook->hook_fn != NULL; hook++) { + if (register_hook(hook) != 0) { + sudo_warn_nodebug( + U_("unable to register hook of type %d (version %d.%d)"), + hook->hook_type, SUDO_API_VERSION_GET_MAJOR(hook->hook_version), + SUDO_API_VERSION_GET_MINOR(hook->hook_version)); + } + } +} + +/* + * De-register environment function hooks. + */ +static void +sudoers_policy_deregister_hooks(int version, int (*deregister_hook)(struct sudo_hook *hook)) +{ + struct sudo_hook *hook; + + for (hook = sudoers_hooks; hook->hook_fn != NULL; hook++) { + if (deregister_hook(hook) != 0) { + sudo_warn_nodebug( + U_("unable to deregister hook of type %d (version %d.%d)"), + hook->hook_type, SUDO_API_VERSION_GET_MAJOR(hook->hook_version), + SUDO_API_VERSION_GET_MINOR(hook->hook_version)); + } + } +} + +sudo_dso_public struct policy_plugin sudoers_policy = { + SUDO_POLICY_PLUGIN, + SUDO_API_VERSION, + sudoers_policy_open, + sudoers_policy_close, + sudoers_policy_version, + sudoers_policy_check, + sudoers_policy_list, + sudoers_policy_validate, + sudoers_policy_invalidate, + sudoers_policy_init_session, + sudoers_policy_register_hooks, + sudoers_policy_deregister_hooks, + NULL /* event_alloc() filled in by sudo */ +}; diff --git a/plugins/sudoers/prompt.c b/plugins/sudoers/prompt.c new file mode 100644 index 0000000..bd00c4e --- /dev/null +++ b/plugins/sudoers/prompt.c @@ -0,0 +1,170 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1993-1996,1998-2005, 2007-2015 + * Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Sponsored in part by the Defense Advanced Research Projects + * Agency (DARPA) and Air Force Research Laboratory, Air Force + * Materiel Command, USAF, under agreement number F39502-99-1-0512. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include +#include + +#include "sudoers.h" + +/* + * Expand %h and %u escapes (if present) in the prompt and pass back + * the dynamically allocated result. + */ +char * +expand_prompt(const char *old_prompt, const char *auth_user) +{ + size_t len, n; + int subst; + const char *p; + char *np, *new_prompt; + debug_decl(expand_prompt, SUDOERS_DEBUG_AUTH); + + /* How much space do we need to malloc for the prompt? */ + subst = 0; + for (p = old_prompt, len = strlen(old_prompt); *p != '\0'; p++) { + if (p[0] =='%') { + switch (p[1]) { + case 'h': + p++; + len += strlen(user_shost) - 2; + subst = 1; + break; + case 'H': + p++; + len += strlen(user_host) - 2; + subst = 1; + break; + case 'p': + p++; + len += strlen(auth_user) - 2; + subst = 1; + break; + case 'u': + p++; + len += strlen(user_name) - 2; + subst = 1; + break; + case 'U': + p++; + len += strlen(runas_pw->pw_name) - 2; + subst = 1; + break; + case '%': + p++; + len--; + subst = 1; + break; + default: + break; + } + } + } + + if ((new_prompt = malloc(++len)) == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + debug_return_str(NULL); + } + + if (subst) { + for (p = old_prompt, np = new_prompt; *p != '\0'; p++) { + if (p[0] =='%') { + switch (p[1]) { + case 'h': + p++; + n = strlcpy(np, user_shost, len); + if (n >= len) + goto oflow; + np += n; + len -= n; + continue; + case 'H': + p++; + n = strlcpy(np, user_host, len); + if (n >= len) + goto oflow; + np += n; + len -= n; + continue; + case 'p': + p++; + n = strlcpy(np, auth_user, len); + if (n >= len) + goto oflow; + np += n; + len -= n; + continue; + case 'u': + p++; + n = strlcpy(np, user_name, len); + if (n >= len) + goto oflow; + np += n; + len -= n; + continue; + case 'U': + p++; + n = strlcpy(np, runas_pw->pw_name, len); + if (n >= len) + goto oflow; + np += n; + len -= n; + continue; + case '%': + /* convert %% -> % */ + p++; + break; + default: + /* no conversion */ + break; + } + } + if (len < 2) /* len includes NUL */ + goto oflow; + *np++ = *p; + len--; + } + if (len != 1) + goto oflow; + *np = '\0'; + } else { + /* Nothing to expand. */ + memcpy(new_prompt, old_prompt, len); /* len includes NUL */ + } + + debug_return_str(new_prompt); + +oflow: + /* We pre-allocate enough space, so this should never happen. */ + free(new_prompt); + sudo_warnx(U_("internal error, %s overflow"), __func__); + debug_return_str(NULL); +} diff --git a/plugins/sudoers/pwutil.c b/plugins/sudoers/pwutil.c new file mode 100644 index 0000000..0dd8968 --- /dev/null +++ b/plugins/sudoers/pwutil.c @@ -0,0 +1,1188 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1996, 1998-2005, 2007-2018 + * Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Sponsored in part by the Defense Advanced Research Projects + * Agency (DARPA) and Air Force Research Laboratory, Air Force + * Materiel Command, USAF, under agreement number F39502-99-1-0512. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include +#include +#include +#ifdef HAVE_STRINGS_H +# include /* strcasecmp */ +#endif +#ifdef HAVE_SETAUTHDB +# include +#endif /* HAVE_SETAUTHDB */ +#include +#include +#include + +#include "sudoers.h" +#include "redblack.h" +#include "pwutil.h" + +/* + * The passwd and group caches. + */ +static struct rbtree *pwcache_byuid, *pwcache_byname; +static struct rbtree *grcache_bygid, *grcache_byname; +static struct rbtree *gidlist_cache, *grlist_cache; + +static int cmp_pwuid(const void *, const void *); +static int cmp_pwnam(const void *, const void *); +static int cmp_grgid(const void *, const void *); + +/* + * Default functions for building cache items. + */ +static sudo_make_pwitem_t make_pwitem = sudo_make_pwitem; +static sudo_make_gritem_t make_gritem = sudo_make_gritem; +static sudo_make_gidlist_item_t make_gidlist_item = sudo_make_gidlist_item; +static sudo_make_grlist_item_t make_grlist_item = sudo_make_grlist_item; + +#define cmp_grnam cmp_pwnam + +/* + * AIX has the concept of authentication registries (files, NIS, LDAP, etc). + * This allows you to have separate ID <-> name mappings based on which + * authentication registries the user was looked up in. + * We store the registry as part of the key and use it when matching. + */ +#ifdef HAVE_SETAUTHDB +# define getauthregistry(u, r) aix_getauthregistry((u), (r)) +#else +# define getauthregistry(u, r) ((r)[0] = '\0') +#endif + +/* + * Change the default pwutil backend functions. + * The default functions query the password and group databases. + */ +void +sudo_pwutil_set_backend(sudo_make_pwitem_t pwitem, sudo_make_gritem_t gritem, + sudo_make_gidlist_item_t gidlist_item, sudo_make_grlist_item_t grlist_item) +{ + debug_decl(sudo_pwutil_set_backend, SUDOERS_DEBUG_NSS); + + if (pwitem != NULL) + make_pwitem = pwitem; + if (gritem != NULL) + make_gritem = gritem; + if (gidlist_item != NULL) + make_gidlist_item = gidlist_item; + if (grlist_item != NULL) + make_grlist_item = grlist_item; + + debug_return; +} + +/* + * Compare by user-ID. + * v1 is the key to find or data to insert, v2 is in-tree data. + */ +static int +cmp_pwuid(const void *v1, const void *v2) +{ + const struct cache_item *ci1 = (const struct cache_item *) v1; + const struct cache_item *ci2 = (const struct cache_item *) v2; + if (ci1->k.uid == ci2->k.uid) + return strcmp(ci1->registry, ci2->registry); + if (ci1->k.uid < ci2->k.uid) + return -1; + return 1; +} + +/* + * Compare by user/group name. + * v1 is the key to find or data to insert, v2 is in-tree data. + */ +static int +cmp_pwnam(const void *v1, const void *v2) +{ + const struct cache_item *ci1 = (const struct cache_item *) v1; + const struct cache_item *ci2 = (const struct cache_item *) v2; + int ret = strcmp(ci1->k.name, ci2->k.name); + if (ret == 0) + ret = strcmp(ci1->registry, ci2->registry); + return ret; +} + +/* + * Compare by user name, taking into account the source type. + * Need to differentiate between group-IDs received from the front-end + * (via getgroups()) and groups IDs queried from the group database. + * v1 is the key to find or data to insert, v2 is in-tree data. + */ +static int +cmp_gidlist(const void *v1, const void *v2) +{ + const struct cache_item *ci1 = (const struct cache_item *) v1; + const struct cache_item *ci2 = (const struct cache_item *) v2; + int ret = strcmp(ci1->k.name, ci2->k.name); + if (ret == 0) { + if (ci1->type == ENTRY_TYPE_ANY || ci1->type == ci2->type) + return strcmp(ci1->registry, ci2->registry); + if (ci1->type < ci2->type) + return -1; + return 1; + } + return ret; +} + +void +sudo_pw_addref(struct passwd *pw) +{ + debug_decl(sudo_pw_addref, SUDOERS_DEBUG_NSS); + ptr_to_item(pw)->refcnt++; + debug_return; +} + +static void +sudo_pw_delref_item(void *v) +{ + struct cache_item *item = v; + debug_decl(sudo_pw_delref_item, SUDOERS_DEBUG_NSS); + + if (--item->refcnt == 0) + free(item); + + debug_return; +} + +void +sudo_pw_delref(struct passwd *pw) +{ + debug_decl(sudo_pw_delref, SUDOERS_DEBUG_NSS); + sudo_pw_delref_item(ptr_to_item(pw)); + debug_return; +} + +/* + * Get a password entry by uid and allocate space for it. + */ +struct passwd * +sudo_getpwuid(uid_t uid) +{ + struct cache_item key, *item; + struct rbnode *node; + debug_decl(sudo_getpwuid, SUDOERS_DEBUG_NSS); + + if (pwcache_byuid == NULL) { + pwcache_byuid = rbcreate(cmp_pwuid); + if (pwcache_byuid == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + debug_return_ptr(NULL); + } + } + + key.k.uid = uid; + getauthregistry(IDtouser(uid), key.registry); + if ((node = rbfind(pwcache_byuid, &key)) != NULL) { + item = node->data; + goto done; + } + /* + * Cache passwd db entry if it exists or a negative response if not. + */ +#ifdef HAVE_SETAUTHDB + aix_setauthdb(IDtouser(uid), key.registry); +#endif + item = make_pwitem(uid, NULL); +#ifdef HAVE_SETAUTHDB + aix_restoreauthdb(); +#endif + if (item == NULL) { + if (errno != ENOENT || (item = calloc(1, sizeof(*item))) == NULL) { + sudo_warn(U_("unable to cache uid %u"), (unsigned int) uid); + /* cppcheck-suppress memleak */ + debug_return_ptr(NULL); + } + item->refcnt = 1; + item->k.uid = uid; + /* item->d.pw = NULL; */ + } + strlcpy(item->registry, key.registry, sizeof(item->registry)); + switch (rbinsert(pwcache_byuid, item, NULL)) { + case 1: + /* should not happen */ + sudo_warnx(U_("unable to cache uid %u, already exists"), + (unsigned int) uid); + item->refcnt = 0; + break; + case -1: + /* can't cache item, just return it */ + sudo_warn(U_("unable to cache uid %u"), (unsigned int) uid); + item->refcnt = 0; + break; + } +done: + if (item->refcnt != 0) { + sudo_debug_printf(SUDO_DEBUG_DEBUG, + "%s: uid %u [%s] -> user %s [%s] (%s)", __func__, + (unsigned int)uid, key.registry, + item->d.pw ? item->d.pw->pw_name : "unknown", + item->registry, node ? "cache hit" : "cached"); + } + if (item->d.pw != NULL) + item->refcnt++; + debug_return_ptr(item->d.pw); +} + +/* + * Get a password entry by name and allocate space for it. + */ +struct passwd * +sudo_getpwnam(const char *name) +{ + struct cache_item key, *item; + struct rbnode *node; + debug_decl(sudo_getpwnam, SUDOERS_DEBUG_NSS); + + if (pwcache_byname == NULL) { + pwcache_byname = rbcreate(cmp_pwnam); + if (pwcache_byname == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + debug_return_ptr(NULL); + } + } + + key.k.name = (char *) name; + getauthregistry((char *) name, key.registry); + if ((node = rbfind(pwcache_byname, &key)) != NULL) { + item = node->data; + goto done; + } + /* + * Cache passwd db entry if it exists or a negative response if not. + */ +#ifdef HAVE_SETAUTHDB + aix_setauthdb((char *) name, key.registry); +#endif + item = make_pwitem((uid_t)-1, name); +#ifdef HAVE_SETAUTHDB + aix_restoreauthdb(); +#endif + if (item == NULL) { + const size_t len = strlen(name) + 1; + if (errno != ENOENT || (item = calloc(1, sizeof(*item) + len)) == NULL) { + sudo_warn(U_("unable to cache user %s"), name); + /* cppcheck-suppress memleak */ + debug_return_ptr(NULL); + } + item->refcnt = 1; + item->k.name = (char *) item + sizeof(*item); + memcpy(item->k.name, name, len); + /* item->d.pw = NULL; */ + } + strlcpy(item->registry, key.registry, sizeof(item->registry)); + switch (rbinsert(pwcache_byname, item, NULL)) { + case 1: + /* should not happen */ + sudo_warnx(U_("unable to cache user %s, already exists"), name); + item->refcnt = 0; + break; + case -1: + /* can't cache item, just return it */ + sudo_warn(U_("unable to cache user %s"), name); + item->refcnt = 0; + break; + } +done: + if (item->refcnt != 0) { + sudo_debug_printf(SUDO_DEBUG_DEBUG, + "%s: user %s [%s] -> uid %d [%s] (%s)", __func__, name, + key.registry, item->d.pw ? (int)item->d.pw->pw_uid : -1, + item->registry, node ? "cache hit" : "cached"); + } + if (item->d.pw != NULL) + item->refcnt++; + debug_return_ptr(item->d.pw); +} + +/* + * Take a user, uid, gid, home and shell and return a faked up passwd struct. + * If home or shell are NULL default values will be used. + */ +struct passwd * +sudo_mkpwent(const char *user, uid_t uid, gid_t gid, const char *home, + const char *shell) +{ + struct cache_item_pw *pwitem; + struct cache_item *item; + struct passwd *pw; + size_t len, name_len, home_len, shell_len; + int i; + debug_decl(sudo_mkpwent, SUDOERS_DEBUG_NSS); + + if (pwcache_byuid == NULL) + pwcache_byuid = rbcreate(cmp_pwuid); + if (pwcache_byname == NULL) + pwcache_byname = rbcreate(cmp_pwnam); + if (pwcache_byuid == NULL || pwcache_byname == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + debug_return_ptr(NULL); + } + + /* Optional arguments. */ + if (home == NULL) + home = "/"; + if (shell == NULL) + shell = _PATH_BSHELL; + + sudo_debug_printf(SUDO_DEBUG_DEBUG, + "%s: creating and caching passwd struct for %s:%u:%u:%s:%s", __func__, + user, (unsigned int)uid, (unsigned int)gid, home, shell); + + name_len = strlen(user); + home_len = strlen(home); + shell_len = strlen(shell); + len = sizeof(*pwitem) + name_len + 1 /* pw_name */ + + sizeof("*") /* pw_passwd */ + sizeof("") /* pw_gecos */ + + home_len + 1 /* pw_dir */ + shell_len + 1 /* pw_shell */; + + for (i = 0; i < 2; i++) { + struct rbtree *pwcache; + struct rbnode *node; + + pwitem = calloc(1, len); + if (pwitem == NULL) { + sudo_warn(U_("unable to cache user %s"), user); + debug_return_ptr(NULL); + } + pw = &pwitem->pw; + pw->pw_uid = uid; + pw->pw_gid = gid; + pw->pw_name = (char *)(pwitem + 1); + memcpy(pw->pw_name, user, name_len + 1); + pw->pw_passwd = pw->pw_name + name_len + 1; + memcpy(pw->pw_passwd, "*", 2); + pw->pw_gecos = pw->pw_passwd + 2; + pw->pw_gecos[0] = '\0'; + pw->pw_dir = pw->pw_gecos + 1; + memcpy(pw->pw_dir, home, home_len + 1); + pw->pw_shell = pw->pw_dir + home_len + 1; + memcpy(pw->pw_shell, shell, shell_len + 1); + + item = &pwitem->cache; + item->refcnt = 1; + item->d.pw = pw; + if (i == 0) { + /* Store by uid. */ + item->k.uid = pw->pw_uid; + pwcache = pwcache_byuid; + } else { + /* Store by name. */ + item->k.name = pw->pw_name; + pwcache = pwcache_byname; + } + getauthregistry(NULL, item->registry); + switch (rbinsert(pwcache, item, &node)) { + case 1: + /* Already exists. */ + item = node->data; + if (item->d.pw == NULL) { + /* Negative cache entry, replace with ours. */ + sudo_pw_delref_item(item); + item = node->data = &pwitem->cache; + } else { + /* Good entry, discard our fake one. */ + free(pwitem); + } + break; + case -1: + /* can't cache item, just return it */ + sudo_warn(U_("unable to cache user %s"), user); + item->refcnt = 0; + break; + } + } + item->refcnt++; + debug_return_ptr(item->d.pw); +} + +/* + * Take a uid in string form "#123" and return a faked up passwd struct. + */ +struct passwd * +sudo_fakepwnam(const char *user, gid_t gid) +{ + const char *errstr; + uid_t uid; + debug_decl(sudo_fakepwnam, SUDOERS_DEBUG_NSS); + + uid = (uid_t) sudo_strtoid(user + 1, &errstr); + if (errstr != NULL) { + sudo_debug_printf(SUDO_DEBUG_DIAG|SUDO_DEBUG_LINENO, + "uid %s %s", user, errstr); + debug_return_ptr(NULL); + } + debug_return_ptr(sudo_mkpwent(user, uid, gid, NULL, NULL)); +} + +void +sudo_freepwcache(void) +{ + debug_decl(sudo_freepwcache, SUDOERS_DEBUG_NSS); + + if (pwcache_byuid != NULL) { + rbdestroy(pwcache_byuid, sudo_pw_delref_item); + pwcache_byuid = NULL; + } + if (pwcache_byname != NULL) { + rbdestroy(pwcache_byname, sudo_pw_delref_item); + pwcache_byname = NULL; + } + + debug_return; +} + +/* + * Compare by group-ID. + * v1 is the key to find or data to insert, v2 is in-tree data. + */ +static int +cmp_grgid(const void *v1, const void *v2) +{ + const struct cache_item *ci1 = (const struct cache_item *) v1; + const struct cache_item *ci2 = (const struct cache_item *) v2; + if (ci1->k.gid == ci2->k.gid) + return strcmp(ci1->registry, ci2->registry); + if (ci1->k.gid < ci2->k.gid) + return -1; + return 1; +} + +void +sudo_gr_addref(struct group *gr) +{ + debug_decl(sudo_gr_addref, SUDOERS_DEBUG_NSS); + ptr_to_item(gr)->refcnt++; + debug_return; +} + +static void +sudo_gr_delref_item(void *v) +{ + struct cache_item *item = v; + debug_decl(sudo_gr_delref_item, SUDOERS_DEBUG_NSS); + + if (--item->refcnt == 0) + free(item); + + debug_return; +} + +void +sudo_gr_delref(struct group *gr) +{ + debug_decl(sudo_gr_delref, SUDOERS_DEBUG_NSS); + sudo_gr_delref_item(ptr_to_item(gr)); + debug_return; +} + +/* + * Get a group entry by gid and allocate space for it. + */ +struct group * +sudo_getgrgid(gid_t gid) +{ + struct cache_item key, *item; + struct rbnode *node; + debug_decl(sudo_getgrgid, SUDOERS_DEBUG_NSS); + + if (grcache_bygid == NULL) { + grcache_bygid = rbcreate(cmp_grgid); + if (grcache_bygid == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + debug_return_ptr(NULL); + } + } + + key.k.gid = gid; + getauthregistry(NULL, key.registry); + if ((node = rbfind(grcache_bygid, &key)) != NULL) { + item = node->data; + goto done; + } + /* + * Cache group db entry if it exists or a negative response if not. + */ + item = make_gritem(gid, NULL); + if (item == NULL) { + if (errno != ENOENT || (item = calloc(1, sizeof(*item))) == NULL) { + sudo_warn(U_("unable to cache gid %u"), (unsigned int) gid); + /* cppcheck-suppress memleak */ + debug_return_ptr(NULL); + } + item->refcnt = 1; + item->k.gid = gid; + /* item->d.gr = NULL; */ + } + strlcpy(item->registry, key.registry, sizeof(item->registry)); + switch (rbinsert(grcache_bygid, item, NULL)) { + case 1: + /* should not happen */ + sudo_warnx(U_("unable to cache gid %u, already exists"), + (unsigned int) gid); + item->refcnt = 0; + break; + case -1: + /* can't cache item, just return it */ + sudo_warn(U_("unable to cache gid %u"), (unsigned int) gid); + item->refcnt = 0; + break; + } +done: + if (item->refcnt != 0) { + sudo_debug_printf(SUDO_DEBUG_DEBUG, + "%s: gid %u [%s] -> group %s [%s] (%s)", __func__, + (unsigned int)gid, key.registry, + item->d.gr ? item->d.gr->gr_name : "unknown", + item->registry, node ? "cache hit" : "cached"); + } + if (item->d.gr != NULL) + item->refcnt++; + debug_return_ptr(item->d.gr); +} + +/* + * Get a group entry by name and allocate space for it. + */ +struct group * +sudo_getgrnam(const char *name) +{ + struct cache_item key, *item; + struct rbnode *node; + debug_decl(sudo_getgrnam, SUDOERS_DEBUG_NSS); + + if (grcache_byname == NULL) { + grcache_byname = rbcreate(cmp_grnam); + if (grcache_byname == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + debug_return_ptr(NULL); + } + } + + key.k.name = (char *) name; + getauthregistry(NULL, key.registry); + if ((node = rbfind(grcache_byname, &key)) != NULL) { + item = node->data; + goto done; + } + /* + * Cache group db entry if it exists or a negative response if not. + */ + item = make_gritem((gid_t)-1, name); + if (item == NULL) { + const size_t len = strlen(name) + 1; + if (errno != ENOENT || (item = calloc(1, sizeof(*item) + len)) == NULL) { + sudo_warn(U_("unable to cache group %s"), name); + /* cppcheck-suppress memleak */ + debug_return_ptr(NULL); + } + item->refcnt = 1; + item->k.name = (char *) item + sizeof(*item); + memcpy(item->k.name, name, len); + /* item->d.gr = NULL; */ + } + strlcpy(item->registry, key.registry, sizeof(item->registry)); + switch (rbinsert(grcache_byname, item, NULL)) { + case 1: + /* should not happen */ + sudo_warnx(U_("unable to cache group %s, already exists"), name); + item->refcnt = 0; + break; + case -1: + /* can't cache item, just return it */ + sudo_warn(U_("unable to cache group %s"), name); + item->refcnt = 0; + break; + } +done: + if (item->refcnt != 0) { + sudo_debug_printf(SUDO_DEBUG_DEBUG, + "%s: group %s [%s] -> gid %d [%s] (%s)", __func__, name, + key.registry, item->d.gr ? (int)item->d.gr->gr_gid : -1, + item->registry, node ? "cache hit" : "cached"); + } + if (item->d.gr != NULL) + item->refcnt++; + debug_return_ptr(item->d.gr); +} + +/* + * Take a group name, ID, members and return a faked up group struct. + */ +struct group * +sudo_mkgrent(const char *group, gid_t gid, ...) +{ + struct cache_item_gr *gritem; + struct cache_item *item; + struct group *gr; + size_t nmem, nsize, total; + char *cp, *mem; + va_list ap; + int i; + debug_decl(sudo_mkgrent, SUDOERS_DEBUG_NSS); + + if (grcache_bygid == NULL) + grcache_bygid = rbcreate(cmp_grgid); + if (grcache_byname == NULL) + grcache_byname = rbcreate(cmp_grnam); + if (grcache_bygid == NULL || grcache_byname == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + debug_return_ptr(NULL); + } + + /* Allocate in one big chunk for easy freeing. */ + nsize = strlen(group) + 1; + total = sizeof(*gritem) + nsize; + va_start(ap, gid); + for (nmem = 1; (mem = va_arg(ap, char *)) != NULL; nmem++) { + total += strlen(mem) + 1; + } + va_end(ap); + total += sizeof(char *) * nmem; + + for (i = 0; i < 2; i++) { + struct rbtree *grcache; + struct rbnode *node; + + /* + * Fill in group contents and make strings relative to space + * at the end of the buffer. Note that gr_mem must come + * immediately after struct group to guarantee proper alignment. + */ + gritem = calloc(1, total); + if (gritem == NULL) { + sudo_warn(U_("unable to cache group %s"), group); + debug_return_ptr(NULL); + } + gr = &gritem->gr; + gr->gr_gid = gid; + gr->gr_passwd = (char *)"*"; + cp = (char *)(gritem + 1); + gr->gr_mem = (char **)cp; + cp += sizeof(char *) * nmem; + va_start(ap, gid); + for (nmem = 0; (mem = va_arg(ap, char *)) != NULL; nmem++) { + size_t len = strlen(mem) + 1; + memcpy(cp, mem, len); + gr->gr_mem[nmem] = cp; + cp += len; + } + va_end(ap); + gr->gr_mem[nmem] = NULL; + gr->gr_name = cp; + memcpy(gr->gr_name, group, nsize); + + item = &gritem->cache; + item->refcnt = 1; + item->d.gr = gr; + if (i == 0) { + /* Store by gid if it doesn't already exist. */ + item->k.gid = gr->gr_gid; + grcache = grcache_bygid; + } else { + /* Store by name, overwriting cached version. */ + gritem->cache.k.name = gr->gr_name; + grcache = grcache_byname; + } + getauthregistry(NULL, item->registry); + switch (rbinsert(grcache, item, &node)) { + case 1: + /* Already exists. */ + item = node->data; + if (item->d.gr == NULL) { + /* Negative cache entry, replace with ours. */ + sudo_gr_delref_item(item); + item = node->data = &gritem->cache; + } else { + /* Good entry, discard our fake one. */ + free(gritem); + } + break; + case -1: + /* can't cache item, just return it */ + sudo_warn(U_("unable to cache group %s"), group); + item->refcnt = 0; + break; + } + } + if (item->d.gr != NULL) + item->refcnt++; + debug_return_ptr(item->d.gr); +} + +/* + * Take a gid in string form "#123" and return a faked up group struct. + */ +struct group * +sudo_fakegrnam(const char *group) +{ + const char *errstr; + gid_t gid; + debug_decl(sudo_fakegrnam, SUDOERS_DEBUG_NSS); + + gid = (gid_t) sudo_strtoid(group + 1, &errstr); + if (errstr != NULL) { + sudo_debug_printf(SUDO_DEBUG_DIAG|SUDO_DEBUG_LINENO, + "gid %s %s", group, errstr); + debug_return_ptr(NULL); + } + + debug_return_ptr(sudo_mkgrent(group, gid, (char *)NULL)); +} + +void +sudo_gidlist_addref(struct gid_list *gidlist) +{ + debug_decl(sudo_gidlist_addref, SUDOERS_DEBUG_NSS); + ptr_to_item(gidlist)->refcnt++; + debug_return; +} + +static void +sudo_gidlist_delref_item(void *v) +{ + struct cache_item *item = v; + debug_decl(sudo_gidlist_delref_item, SUDOERS_DEBUG_NSS); + + if (--item->refcnt == 0) + free(item); + + debug_return; +} + +void +sudo_gidlist_delref(struct gid_list *gidlist) +{ + debug_decl(sudo_gidlist_delref, SUDOERS_DEBUG_NSS); + sudo_gidlist_delref_item(ptr_to_item(gidlist)); + debug_return; +} + +void +sudo_grlist_addref(struct group_list *grlist) +{ + debug_decl(sudo_grlist_addref, SUDOERS_DEBUG_NSS); + ptr_to_item(grlist)->refcnt++; + debug_return; +} + +static void +sudo_grlist_delref_item(void *v) +{ + struct cache_item *item = v; + debug_decl(sudo_grlist_delref_item, SUDOERS_DEBUG_NSS); + + if (--item->refcnt == 0) + free(item); + + debug_return; +} + +void +sudo_grlist_delref(struct group_list *grlist) +{ + debug_decl(sudo_grlist_delref, SUDOERS_DEBUG_NSS); + sudo_grlist_delref_item(ptr_to_item(grlist)); + debug_return; +} + +void +sudo_freegrcache(void) +{ + debug_decl(sudo_freegrcache, SUDOERS_DEBUG_NSS); + + if (grcache_bygid != NULL) { + rbdestroy(grcache_bygid, sudo_gr_delref_item); + grcache_bygid = NULL; + } + if (grcache_byname != NULL) { + rbdestroy(grcache_byname, sudo_gr_delref_item); + grcache_byname = NULL; + } + if (grlist_cache != NULL) { + rbdestroy(grlist_cache, sudo_grlist_delref_item); + grlist_cache = NULL; + } + if (gidlist_cache != NULL) { + rbdestroy(gidlist_cache, sudo_gidlist_delref_item); + gidlist_cache = NULL; + } + + debug_return; +} + +struct group_list * +sudo_get_grlist(const struct passwd *pw) +{ + struct cache_item key, *item; + struct rbnode *node; + debug_decl(sudo_get_grlist, SUDOERS_DEBUG_NSS); + + sudo_debug_printf(SUDO_DEBUG_DEBUG, "%s: looking up group names for %s", + __func__, pw->pw_name); + + if (grlist_cache == NULL) { + grlist_cache = rbcreate(cmp_pwnam); + if (grlist_cache == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + debug_return_ptr(NULL); + } + } + + key.k.name = pw->pw_name; + getauthregistry(pw->pw_name, key.registry); + if ((node = rbfind(grlist_cache, &key)) != NULL) { + item = node->data; + goto done; + } + /* + * Cache group db entry if it exists or a negative response if not. + */ + item = make_grlist_item(pw, NULL); + if (item == NULL) { + /* Out of memory? */ + debug_return_ptr(NULL); + } + strlcpy(item->registry, key.registry, sizeof(item->registry)); + switch (rbinsert(grlist_cache, item, NULL)) { + case 1: + /* should not happen */ + sudo_warnx(U_("unable to cache group list for %s, already exists"), + pw->pw_name); + item->refcnt = 0; + break; + case -1: + /* can't cache item, just return it */ + sudo_warn(U_("unable to cache group list for %s"), pw->pw_name); + item->refcnt = 0; + break; + } + if (item->d.grlist != NULL) { + int i; + for (i = 0; i < item->d.grlist->ngroups; i++) { + sudo_debug_printf(SUDO_DEBUG_DEBUG, + "%s: user %s is a member of group %s", __func__, + pw->pw_name, item->d.grlist->groups[i]); + } + } +done: + if (item->d.grlist != NULL) + item->refcnt++; + debug_return_ptr(item->d.grlist); +} + +static void +sudo_debug_group_list(const char *user, char * const *groups, int level) +{ + size_t i, len = 0; + debug_decl(sudo_debug_group_list, SUDOERS_DEBUG_NSS); + + if (groups == NULL || !sudo_debug_needed(level)) + debug_return; + + for (i = 0; groups[i] != NULL; i++) { + len += strlen(groups[i]) + 1; + } + if (len != 0) { + char *groupstr = malloc(len); + if (groupstr != NULL) { + char *cp = groupstr; + for (i = 0; groups[i] != NULL; i++) { + size_t n = snprintf(cp, len, "%s%s", i ? "," : "", groups[i]); + if (n >= len) + break; + cp += n; + len -= n; + } + sudo_debug_printf(level, "%s: %s", user, groupstr); + free(groupstr); + } + } + debug_return; +} + +int +sudo_set_grlist(struct passwd *pw, char * const *groups) +{ + struct cache_item key, *item; + debug_decl(sudo_set_grlist, SUDOERS_DEBUG_NSS); + + sudo_debug_group_list(pw->pw_name, groups, SUDO_DEBUG_DEBUG); + + if (grlist_cache == NULL) { + grlist_cache = rbcreate(cmp_pwnam); + if (grlist_cache == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + debug_return_int(-1); + } + } + + /* + * Cache group db entry if it doesn't already exist + */ + key.k.name = pw->pw_name; + getauthregistry(NULL, key.registry); + if (rbfind(grlist_cache, &key) == NULL) { + if ((item = make_grlist_item(pw, groups)) == NULL) { + sudo_warnx(U_("unable to parse groups for %s"), pw->pw_name); + debug_return_int(-1); + } + strlcpy(item->registry, key.registry, sizeof(item->registry)); + switch (rbinsert(grlist_cache, item, NULL)) { + case 1: + sudo_warnx(U_("unable to cache group list for %s, already exists"), + pw->pw_name); + sudo_grlist_delref_item(item); + break; + case -1: + sudo_warn(U_("unable to cache group list for %s"), pw->pw_name); + sudo_grlist_delref_item(item); + debug_return_int(-1); + } + } else { + sudo_debug_printf(SUDO_DEBUG_WARN|SUDO_DEBUG_LINENO, + "groups for user %s are already cached", pw->pw_name); + } + + debug_return_int(0); +} + +struct gid_list * +sudo_get_gidlist(const struct passwd *pw, unsigned int type) +{ + struct cache_item key, *item; + struct rbnode *node; + debug_decl(sudo_get_gidlist, SUDOERS_DEBUG_NSS); + + sudo_debug_printf(SUDO_DEBUG_DEBUG, "%s: looking up group-IDs for %s", + __func__, pw->pw_name); + + if (gidlist_cache == NULL) { + gidlist_cache = rbcreate(cmp_gidlist); + if (gidlist_cache == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + debug_return_ptr(NULL); + } + } + + key.k.name = pw->pw_name; + key.type = type; + getauthregistry(pw->pw_name, key.registry); + if ((node = rbfind(gidlist_cache, &key)) != NULL) { + item = node->data; + goto done; + } + /* + * Cache group db entry if it exists or a negative response if not. + */ + item = make_gidlist_item(pw, NULL, type); + if (item == NULL) { + /* Out of memory? */ + debug_return_ptr(NULL); + } + strlcpy(item->registry, key.registry, sizeof(item->registry)); + switch (rbinsert(gidlist_cache, item, NULL)) { + case 1: + /* should not happen */ + sudo_warnx(U_("unable to cache group list for %s, already exists"), + pw->pw_name); + item->refcnt = 0; + break; + case -1: + /* can't cache item, just return it */ + sudo_warn(U_("unable to cache group list for %s"), pw->pw_name); + item->refcnt = 0; + break; + } + if (item->d.gidlist != NULL) { + int i; + for (i = 0; i < item->d.gidlist->ngids; i++) { + sudo_debug_printf(SUDO_DEBUG_DEBUG, + "%s: user %s has supplementary gid %u", __func__, + pw->pw_name, (unsigned int)item->d.gidlist->gids[i]); + } + } +done: + if (item->d.gidlist != NULL) + item->refcnt++; + debug_return_ptr(item->d.gidlist); +} + +int +sudo_set_gidlist(struct passwd *pw, char * const *gids, unsigned int type) +{ + struct cache_item key, *item; + debug_decl(sudo_set_gidlist, SUDOERS_DEBUG_NSS); + + sudo_debug_group_list(pw->pw_name, gids, SUDO_DEBUG_DEBUG); + + if (gidlist_cache == NULL) { + gidlist_cache = rbcreate(cmp_gidlist); + if (gidlist_cache == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + debug_return_int(-1); + } + } + + /* + * Cache group db entry if it doesn't already exist + */ + key.k.name = pw->pw_name; + key.type = type; + getauthregistry(NULL, key.registry); + if (rbfind(gidlist_cache, &key) == NULL) { + if ((item = make_gidlist_item(pw, gids, type)) == NULL) { + sudo_warnx(U_("unable to parse gids for %s"), pw->pw_name); + debug_return_int(-1); + } + strlcpy(item->registry, key.registry, sizeof(item->registry)); + switch (rbinsert(gidlist_cache, item, NULL)) { + case 1: + sudo_warnx(U_("unable to cache group list for %s, already exists"), + pw->pw_name); + sudo_gidlist_delref_item(item); + break; + case -1: + sudo_warn(U_("unable to cache group list for %s"), pw->pw_name); + sudo_gidlist_delref_item(item); + debug_return_int(-1); + } + } else { + sudo_debug_printf(SUDO_DEBUG_WARN|SUDO_DEBUG_LINENO, + "gids for user %s are already cached", pw->pw_name); + } + + debug_return_int(0); +} + +bool +user_in_group(const struct passwd *pw, const char *group) +{ + struct group_list *grlist = NULL; + struct gid_list *gidlist = NULL; + struct group *grp = NULL; + bool matched = false; + int i; + debug_decl(user_in_group, SUDOERS_DEBUG_NSS); + + /* + * If it could be a sudo-style group-ID check gids first. + */ + if (group[0] == '#') { + const char *errstr; + gid_t gid = (gid_t) sudo_strtoid(group + 1, &errstr); + if (errstr != NULL) { + sudo_debug_printf(SUDO_DEBUG_DIAG|SUDO_DEBUG_LINENO, + "gid %s %s", group, errstr); + } else { + if (gid == pw->pw_gid) { + matched = true; + goto done; + } + if ((gidlist = sudo_get_gidlist(pw, ENTRY_TYPE_ANY)) != NULL) { + for (i = 0; i < gidlist->ngids; i++) { + if (gid == gidlist->gids[i]) { + matched = true; + goto done; + } + } + } + } + } + + /* + * Next match the group name. By default, sudoers resolves all the user's + * group-IDs to names and matches by name. If match_group_by_gid is + * set, each group is sudoers is resolved and matching is by group-ID. + */ + if (def_match_group_by_gid) { + gid_t gid; + + /* Look up the ID of the group in sudoers. */ + if ((grp = sudo_getgrnam(group)) == NULL) + goto done; + gid = grp->gr_gid; + + /* Check against user's primary (passwd file) group-ID. */ + if (gid == pw->pw_gid) { + matched = true; + goto done; + } + + /* Check the supplementary group vector. */ + if (gidlist == NULL) { + if ((gidlist = sudo_get_gidlist(pw, ENTRY_TYPE_ANY)) != NULL) { + for (i = 0; i < gidlist->ngids; i++) { + if (gid == gidlist->gids[i]) { + matched = true; + goto done; + } + } + } + } + } else if ((grlist = sudo_get_grlist(pw)) != NULL) { + int (*compare)(const char *, const char *); + if (def_case_insensitive_group) + compare = strcasecmp; + else + compare = strcmp; + + /* Check the supplementary group vector. */ + for (i = 0; i < grlist->ngroups; i++) { + if (compare(group, grlist->groups[i]) == 0) { + matched = true; + goto done; + } + } + + /* Check against user's primary (passwd file) group. */ + if ((grp = sudo_getgrgid(pw->pw_gid)) != NULL) { + if (compare(group, grp->gr_name) == 0) { + matched = true; + goto done; + } + } + } + +done: + if (grp != NULL) + sudo_gr_delref(grp); + if (grlist != NULL) + sudo_grlist_delref(grlist); + if (gidlist != NULL) + sudo_gidlist_delref(gidlist); + + sudo_debug_printf(SUDO_DEBUG_DEBUG, "%s: user %s %sin group %s", + __func__, pw->pw_name, matched ? "" : "NOT ", group); + debug_return_bool(matched); +} diff --git a/plugins/sudoers/pwutil.h b/plugins/sudoers/pwutil.h new file mode 100644 index 0000000..d08f61f --- /dev/null +++ b/plugins/sudoers/pwutil.h @@ -0,0 +1,77 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2010-2013, 2015-2017 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#ifndef SUDOERS_PWUTIL_H +#define SUDOERS_PWUTIL_H + +#define ptr_to_item(p) ((struct cache_item *)((char *)p - offsetof(struct cache_item_##p, p))) + +/* + * Generic cache element. + */ +struct cache_item { + unsigned int refcnt; + unsigned int type; /* only used for gidlist */ + char registry[16]; /* AIX-specific, empty otherwise */ + /* key */ + union { + uid_t uid; + gid_t gid; + char *name; + } k; + /* datum */ + union { + struct passwd *pw; + struct group *gr; + struct group_list *grlist; + struct gid_list *gidlist; + } d; +}; + +/* + * Container structs to simpify size and offset calculations and guarantee + * proper alignment of struct passwd, group, gid_list and group_list. + */ +struct cache_item_pw { + struct cache_item cache; + struct passwd pw; +}; + +struct cache_item_gr { + struct cache_item cache; + struct group gr; +}; + +struct cache_item_grlist { + struct cache_item cache; + struct group_list grlist; + /* actually bigger */ +}; + +struct cache_item_gidlist { + struct cache_item cache; + struct gid_list gidlist; + /* actually bigger */ +}; + +struct cache_item *sudo_make_gritem(gid_t gid, const char *group); +struct cache_item *sudo_make_grlist_item(const struct passwd *pw, char * const *groups); +struct cache_item *sudo_make_gidlist_item(const struct passwd *pw, char * const *gids, unsigned int type); +struct cache_item *sudo_make_pwitem(uid_t uid, const char *user); + +#endif /* SUDOERS_PWUTIL_H */ diff --git a/plugins/sudoers/pwutil_impl.c b/plugins/sudoers/pwutil_impl.c new file mode 100644 index 0000000..199cb5e --- /dev/null +++ b/plugins/sudoers/pwutil_impl.c @@ -0,0 +1,446 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1996, 1998-2005, 2007-2018 + * Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Sponsored in part by the Defense Advanced Research Projects + * Agency (DARPA) and Air Force Research Laboratory, Air Force + * Materiel Command, USAF, under agreement number F39502-99-1-0512. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "sudoers.h" +#include "pwutil.h" + +#ifndef LOGIN_NAME_MAX +# ifdef _POSIX_LOGIN_NAME_MAX +# define LOGIN_NAME_MAX _POSIX_LOGIN_NAME_MAX +# else +# define LOGIN_NAME_MAX 9 +# endif +#endif /* LOGIN_NAME_MAX */ + +#define FIELD_SIZE(src, name, size) \ +do { \ + if (src->name) { \ + size = strlen(src->name) + 1; \ + total += size; \ + } else { \ + size = 0; \ + } \ +} while (0) + +#define FIELD_COPY(src, dst, name, size) \ +do { \ + if (src->name) { \ + memcpy(cp, src->name, size); \ + dst->name = cp; \ + cp += size; \ + } \ +} while (0) + +/* + * Dynamically allocate space for a struct item plus the key and data + * elements. If name is non-NULL it is used as the key, else the + * uid is the key. Fills in datum from struct password. + * Returns NULL on calloc error or unknown name/id, setting errno + * to ENOMEM or ENOENT respectively. + */ +struct cache_item * +sudo_make_pwitem(uid_t uid, const char *name) +{ + char *cp; + const char *pw_shell; + size_t nsize, psize, gsize, dsize, ssize, total; +#ifdef HAVE_LOGIN_CAP_H + size_t csize; +#endif + struct cache_item_pw *pwitem; + struct passwd *pw, *newpw; + debug_decl(sudo_make_pwitem, SUDOERS_DEBUG_NSS); + + /* Look up by name or uid. */ + pw = name ? getpwnam(name) : getpwuid(uid); + if (pw == NULL) { + errno = ENOENT; + debug_return_ptr(NULL); + } + + /* If shell field is empty, expand to _PATH_BSHELL. */ + pw_shell = (pw->pw_shell == NULL || pw->pw_shell[0] == '\0') + ? _PATH_BSHELL : pw->pw_shell; + + /* Allocate in one big chunk for easy freeing. */ + total = sizeof(*pwitem); + FIELD_SIZE(pw, pw_name, nsize); + FIELD_SIZE(pw, pw_passwd, psize); +#ifdef HAVE_LOGIN_CAP_H + FIELD_SIZE(pw, pw_class, csize); +#endif + FIELD_SIZE(pw, pw_gecos, gsize); + FIELD_SIZE(pw, pw_dir, dsize); + /* Treat shell specially since we expand "" -> _PATH_BSHELL */ + ssize = strlen(pw_shell) + 1; + total += ssize; + if (name != NULL) + total += strlen(name) + 1; + + /* Allocate space for struct item, struct passwd and the strings. */ + if ((pwitem = calloc(1, total)) == NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "unable to allocate memory"); + debug_return_ptr(NULL); + } + newpw = &pwitem->pw; + + /* + * Copy in passwd contents and make strings relative to space + * at the end of the struct. + */ + memcpy(newpw, pw, sizeof(*pw)); + cp = (char *)(pwitem + 1); + FIELD_COPY(pw, newpw, pw_name, nsize); + FIELD_COPY(pw, newpw, pw_passwd, psize); +#ifdef HAVE_LOGIN_CAP_H + FIELD_COPY(pw, newpw, pw_class, csize); +#endif + FIELD_COPY(pw, newpw, pw_gecos, gsize); + FIELD_COPY(pw, newpw, pw_dir, dsize); + /* Treat shell specially since we expand "" -> _PATH_BSHELL */ + memcpy(cp, pw_shell, ssize); + newpw->pw_shell = cp; + cp += ssize; + + /* Set key and datum. */ + if (name != NULL) { + memcpy(cp, name, strlen(name) + 1); + pwitem->cache.k.name = cp; + } else { + pwitem->cache.k.uid = pw->pw_uid; + } + pwitem->cache.d.pw = newpw; + pwitem->cache.refcnt = 1; + + debug_return_ptr(&pwitem->cache); +} + +/* + * Dynamically allocate space for a struct item plus the key and data + * elements. If name is non-NULL it is used as the key, else the + * gid is the key. Fills in datum from struct group. + * Returns NULL on calloc error or unknown name/id, setting errno + * to ENOMEM or ENOENT respectively. + */ +struct cache_item * +sudo_make_gritem(gid_t gid, const char *name) +{ + char *cp; + size_t nsize, psize, total, len, nmem = 0; + struct cache_item_gr *gritem; + struct group *gr, *newgr; + debug_decl(sudo_make_gritem, SUDOERS_DEBUG_NSS); + + /* Look up by name or gid. */ + gr = name ? getgrnam(name) : getgrgid(gid); + if (gr == NULL) { + errno = ENOENT; + debug_return_ptr(NULL); + } + + /* Allocate in one big chunk for easy freeing. */ + total = sizeof(*gritem); + FIELD_SIZE(gr, gr_name, nsize); + FIELD_SIZE(gr, gr_passwd, psize); + if (gr->gr_mem) { + for (nmem = 0; gr->gr_mem[nmem] != NULL; nmem++) + total += strlen(gr->gr_mem[nmem]) + 1; + nmem++; + total += sizeof(char *) * nmem; + } + if (name != NULL) + total += strlen(name) + 1; + + if ((gritem = calloc(1, total)) == NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "unable to allocate memory"); + debug_return_ptr(NULL); + } + + /* + * Copy in group contents and make strings relative to space + * at the end of the buffer. Note that gr_mem must come + * immediately after struct group to guarantee proper alignment. + */ + newgr = &gritem->gr; + memcpy(newgr, gr, sizeof(*gr)); + cp = (char *)(gritem + 1); + if (gr->gr_mem) { + newgr->gr_mem = (char **)cp; + cp += sizeof(char *) * nmem; + for (nmem = 0; gr->gr_mem[nmem] != NULL; nmem++) { + len = strlen(gr->gr_mem[nmem]) + 1; + memcpy(cp, gr->gr_mem[nmem], len); + newgr->gr_mem[nmem] = cp; + cp += len; + } + newgr->gr_mem[nmem] = NULL; + } + FIELD_COPY(gr, newgr, gr_passwd, psize); + FIELD_COPY(gr, newgr, gr_name, nsize); + + /* Set key and datum. */ + if (name != NULL) { + memcpy(cp, name, strlen(name) + 1); + gritem->cache.k.name = cp; + } else { + gritem->cache.k.gid = gr->gr_gid; + } + gritem->cache.d.gr = newgr; + gritem->cache.refcnt = 1; + + debug_return_ptr(&gritem->cache); +} + +/* + * Dynamically allocate space for a struct item plus the key and data + * elements. Fills in datum from user_gids or from sudo_getgrouplist2(3). + */ +struct cache_item * +sudo_make_gidlist_item(const struct passwd *pw, char * const *gidstrs, + unsigned int type) +{ + char *cp; + size_t nsize, total; + struct cache_item_gidlist *glitem; + struct gid_list *gidlist; + GETGROUPS_T *gids; + int i, ngids; + debug_decl(sudo_make_gidlist_item, SUDOERS_DEBUG_NSS); + + /* + * Ignore supplied gids if the entry type says we must query the group db. + */ + if (type != ENTRY_TYPE_QUERIED && (gidstrs != NULL || + (pw == sudo_user.pw && sudo_user.gids != NULL))) { + if (gidstrs != NULL) { + /* Use supplied gids list (string format). */ + ngids = 1; + for (i = 0; gidstrs[i] != NULL; i++) + ngids++; + gids = reallocarray(NULL, ngids, sizeof(GETGROUPS_T)); + if (gids == NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "unable to allocate memory"); + debug_return_ptr(NULL); + } + ngids = 1; + gids[0] = pw->pw_gid; + for (i = 0; gidstrs[i] != NULL; i++) { + const char *errstr; + GETGROUPS_T gid = (gid_t) sudo_strtoid(gidstrs[i], &errstr); + if (errstr != NULL) { + sudo_debug_printf(SUDO_DEBUG_DIAG|SUDO_DEBUG_LINENO, + "gid %s %s", gidstrs[i], errstr); + continue; + } + if (gid != gids[0]) + gids[ngids++] = gid; + } + } else { + /* Adopt sudo_user.gids. */ + gids = user_gids; + ngids = user_ngids; + user_gids = NULL; + user_ngids = 0; + } + type = ENTRY_TYPE_FRONTEND; + } else { + type = ENTRY_TYPE_QUERIED; + if (sudo_user.max_groups > 0) { + ngids = sudo_user.max_groups; + gids = reallocarray(NULL, ngids, sizeof(GETGROUPS_T)); + if (gids == NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "unable to allocate memory"); + debug_return_ptr(NULL); + } + /* Clamp to max_groups if insufficient space for all groups. */ + if (sudo_getgrouplist2(pw->pw_name, pw->pw_gid, &gids, &ngids) == -1) + ngids = sudo_user.max_groups; + } else { + gids = NULL; + if (sudo_getgrouplist2(pw->pw_name, pw->pw_gid, &gids, &ngids) == -1) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "unable to allocate memory"); + debug_return_ptr(NULL); + } + } + } + if (ngids <= 0) { + free(gids); + errno = ENOENT; + debug_return_ptr(NULL); + } + + /* Allocate in one big chunk for easy freeing. */ + nsize = strlen(pw->pw_name) + 1; + total = sizeof(*glitem) + nsize; + total += sizeof(gid_t *) * ngids; + + if ((glitem = calloc(1, total)) == NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "unable to allocate memory"); + free(gids); + debug_return_ptr(NULL); + } + + /* + * Copy in group list and make pointers relative to space + * at the end of the buffer. Note that the groups array must come + * immediately after struct group to guarantee proper alignment. + */ + gidlist = &glitem->gidlist; + cp = (char *)(glitem + 1); + gidlist->gids = (gid_t *)cp; + cp += sizeof(gid_t) * ngids; + + /* Set key and datum. */ + memcpy(cp, pw->pw_name, nsize); + glitem->cache.k.name = cp; + glitem->cache.d.gidlist = gidlist; + glitem->cache.refcnt = 1; + glitem->cache.type = type; + + /* + * Store group IDs. + */ + for (i = 0; i < ngids; i++) + gidlist->gids[i] = gids[i]; + gidlist->ngids = ngids; + free(gids); + + debug_return_ptr(&glitem->cache); +} + +/* + * Dynamically allocate space for a struct item plus the key and data + * elements. Fills in group names from a call to sudo_get_gidlist(). + */ +struct cache_item * +sudo_make_grlist_item(const struct passwd *pw, char * const *unused1) +{ + char *cp; + size_t groupname_len, len, ngroups, nsize, total; + struct cache_item_grlist *grlitem; + struct group_list *grlist; + struct gid_list *gidlist; + struct group *grp = NULL; + int i; + debug_decl(sudo_make_grlist_item, SUDOERS_DEBUG_NSS); + + gidlist = sudo_get_gidlist(pw, ENTRY_TYPE_ANY); + if (gidlist == NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "no gid list for use %s", pw->pw_name); + errno = ENOENT; + debug_return_ptr(NULL); + } + +#ifdef _SC_LOGIN_NAME_MAX + groupname_len = MAX(sysconf(_SC_LOGIN_NAME_MAX), 32); +#else + groupname_len = MAX(LOGIN_NAME_MAX, 32); +#endif + + /* Allocate in one big chunk for easy freeing. */ + nsize = strlen(pw->pw_name) + 1; + total = sizeof(*grlitem) + nsize; + total += sizeof(char *) * gidlist->ngids; + total += groupname_len * gidlist->ngids; + +again: + if ((grlitem = calloc(1, total)) == NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "unable to allocate memory"); + sudo_gidlist_delref(gidlist); + debug_return_ptr(NULL); + } + + /* + * Copy in group list and make pointers relative to space + * at the end of the buffer. Note that the groups array must come + * immediately after struct group to guarantee proper alignment. + */ + grlist = &grlitem->grlist; + cp = (char *)(grlitem + 1); + grlist->groups = (char **)cp; + cp += sizeof(char *) * gidlist->ngids; + + /* Set key and datum. */ + memcpy(cp, pw->pw_name, nsize); + grlitem->cache.k.name = cp; + grlitem->cache.d.grlist = grlist; + grlitem->cache.refcnt = 1; + cp += nsize; + + /* + * Resolve and store group names by ID. + */ +#ifdef HAVE_SETAUTHDB + if (grp == NULL) + aix_setauthdb((char *) pw->pw_name, NULL); +#endif + ngroups = 0; + for (i = 0; i < gidlist->ngids; i++) { + if ((grp = sudo_getgrgid(gidlist->gids[i])) != NULL) { + len = strlen(grp->gr_name) + 1; + if (cp - (char *)grlitem + len > total) { + total += len + groupname_len; + free(grlitem); + sudo_gr_delref(grp); + goto again; + } + memcpy(cp, grp->gr_name, len); + grlist->groups[ngroups++] = cp; + cp += len; + sudo_gr_delref(grp); + } + } + grlist->ngroups = ngroups; + sudo_gidlist_delref(gidlist); + +#ifdef HAVE_SETAUTHDB + aix_restoreauthdb(); +#endif + + debug_return_ptr(&grlitem->cache); +} diff --git a/plugins/sudoers/redblack.c b/plugins/sudoers/redblack.c new file mode 100644 index 0000000..a7d023c --- /dev/null +++ b/plugins/sudoers/redblack.c @@ -0,0 +1,479 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2004-2005, 2007, 2009-2015 + * Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +/* + * Adapted from the following code written by Emin Martinian: + * http://web.mit.edu/~emin/www/source_code/red_black_tree/index.html + * + * Copyright (c) 2001 Emin Martinian + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that neither the name of Emin + * Martinian nor the names of any contributors are be used to endorse or + * promote products derived from this software without specific prior + * written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#include + +#include +#include + +#include "sudoers.h" +#include "redblack.h" + +static void rbrepair(struct rbtree *, struct rbnode *); +static void rotate_left(struct rbtree *, struct rbnode *); +static void rotate_right(struct rbtree *, struct rbnode *); +static void rbdestroy_int(struct rbtree *, struct rbnode *, void (*)(void *)); + +/* + * Red-Black tree, see http://en.wikipedia.org/wiki/Red-black_tree + * + * A red-black tree is a binary search tree where each node has a color + * attribute, the value of which is either red or black. Essentially, it + * is just a convenient way to express a 2-3-4 binary search tree where + * the color indicates whether the node is part of a 3-node or a 4-node. + * In addition to the ordinary requirements imposed on binary search + * trees, we make the following additional requirements of any valid + * red-black tree: + * 1) Every node is either red or black. + * 2) The root is black. + * 3) All leaves are black. + * 4) Both children of each red node are black. + * 5) The paths from each leaf up to the root each contain the same + * number of black nodes. + */ + +/* + * Create a red black tree struct using the specified compare routine. + * Allocates and returns the initialized (empty) tree or NULL if + * memory cannot be allocated. + */ +struct rbtree * +rbcreate(int (*compar)(const void *, const void*)) +{ + struct rbtree *tree; + debug_decl(rbcreate, SUDOERS_DEBUG_RBTREE); + + if ((tree = malloc(sizeof(*tree))) == NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "unable to allocate memory"); + debug_return_ptr(NULL); + } + + tree->compar = compar; + + /* + * We use a self-referencing sentinel node called nil to simplify the + * code by avoiding the need to check for NULL pointers. + */ + tree->nil.left = tree->nil.right = tree->nil.parent = &tree->nil; + tree->nil.color = black; + tree->nil.data = NULL; + + /* + * Similarly, the fake root node keeps us from having to worry + * about splitting the root. + */ + tree->root.left = tree->root.right = tree->root.parent = &tree->nil; // -V778 + tree->root.color = black; + tree->root.data = NULL; + + debug_return_ptr(tree); +} + +/* + * Perform a left rotation starting at node. + */ +static void +rotate_left(struct rbtree *tree, struct rbnode *node) +{ + struct rbnode *child; + debug_decl(rotate_left, SUDOERS_DEBUG_RBTREE); + + child = node->right; + node->right = child->left; + + if (child->left != rbnil(tree)) + child->left->parent = node; + child->parent = node->parent; + + if (node == node->parent->left) + node->parent->left = child; + else + node->parent->right = child; + child->left = node; + node->parent = child; + + debug_return; +} + +/* + * Perform a right rotation starting at node. + */ +static void +rotate_right(struct rbtree *tree, struct rbnode *node) +{ + struct rbnode *child; + debug_decl(rotate_right, SUDOERS_DEBUG_RBTREE); + + child = node->left; + node->left = child->right; + + if (child->right != rbnil(tree)) + child->right->parent = node; + child->parent = node->parent; + + if (node == node->parent->left) + node->parent->left = child; + else + node->parent->right = child; + child->right = node; + node->parent = child; + + debug_return; +} + +/* + * Insert data pointer into a redblack tree. + * Returns a 0 on success, 1 if a node matching "data" already exists + * (filling in "existing" if not NULL), or -1 on malloc() failure. + */ +int +rbinsert(struct rbtree *tree, void *data, struct rbnode **existing) +{ + struct rbnode *node = rbfirst(tree); + struct rbnode *parent = rbroot(tree); + int res; + debug_decl(rbinsert, SUDOERS_DEBUG_RBTREE); + + /* Find correct insertion point. */ + while (node != rbnil(tree)) { + parent = node; + if ((res = tree->compar(data, node->data)) == 0) { + if (existing != NULL) + *existing = node; + debug_return_int(1); + } + node = res < 0 ? node->left : node->right; + } + + node = malloc(sizeof(*node)); + if (node == NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "unable to allocate memory"); + debug_return_int(-1); + } + node->data = data; + node->left = node->right = rbnil(tree); + node->parent = parent; + if (parent == rbroot(tree) || tree->compar(data, parent->data) < 0) + parent->left = node; + else + parent->right = node; + node->color = red; + + /* + * If the parent node is black we are all set, if it is red we have + * the following possible cases to deal with. We iterate through + * the rest of the tree to make sure none of the required properties + * is violated. + * + * 1) The uncle is red. We repaint both the parent and uncle black + * and repaint the grandparent node red. + * + * 2) The uncle is black and the new node is the right child of its + * parent, and the parent in turn is the left child of its parent. + * We do a left rotation to switch the roles of the parent and + * child, relying on further iterations to fixup the old parent. + * + * 3) The uncle is black and the new node is the left child of its + * parent, and the parent in turn is the left child of its parent. + * We switch the colors of the parent and grandparent and perform + * a right rotation around the grandparent. This makes the former + * parent the parent of the new node and the former grandparent. + * + * Note that because we use a sentinel for the root node we never + * need to worry about replacing the root. + */ + while (node->parent->color == red) { + struct rbnode *uncle; + if (node->parent == node->parent->parent->left) { + uncle = node->parent->parent->right; + if (uncle->color == red) { + node->parent->color = black; + uncle->color = black; + node->parent->parent->color = red; + node = node->parent->parent; + } else /* if (uncle->color == black) */ { + if (node == node->parent->right) { + node = node->parent; + rotate_left(tree, node); + } + node->parent->color = black; + node->parent->parent->color = red; + rotate_right(tree, node->parent->parent); + } + } else { /* if (node->parent == node->parent->parent->right) */ + uncle = node->parent->parent->left; + if (uncle->color == red) { + node->parent->color = black; + uncle->color = black; + node->parent->parent->color = red; + node = node->parent->parent; + } else /* if (uncle->color == black) */ { + if (node == node->parent->left) { + node = node->parent; + rotate_right(tree, node); + } + node->parent->color = black; + node->parent->parent->color = red; + rotate_left(tree, node->parent->parent); + } + } + } + rbfirst(tree)->color = black; /* first node is always black */ + debug_return_int(0); +} + +/* + * Look for a node matching key in tree. + * Returns a pointer to the node if found, else NULL. + */ +struct rbnode * +rbfind(struct rbtree *tree, void *key) +{ + struct rbnode *node = rbfirst(tree); + int res; + debug_decl(rbfind, SUDOERS_DEBUG_RBTREE); + + while (node != rbnil(tree)) { + if ((res = tree->compar(key, node->data)) == 0) + debug_return_ptr(node); + node = res < 0 ? node->left : node->right; + } + debug_return_ptr(NULL); +} + +/* + * Call func() for each node, passing it the node data and a cookie; + * If func() returns non-zero for a node, the traversal stops and the + * error value is returned. Returns 0 on successful traversal. + */ +int +rbapply_node(struct rbtree *tree, struct rbnode *node, + int (*func)(void *, void *), void *cookie, enum rbtraversal order) +{ + int error; + debug_decl(rbapply_node, SUDOERS_DEBUG_RBTREE); + + if (node != rbnil(tree)) { + if (order == preorder) + if ((error = func(node->data, cookie)) != 0) + debug_return_int(error); + if ((error = rbapply_node(tree, node->left, func, cookie, order)) != 0) + debug_return_int(error); + if (order == inorder) + if ((error = func(node->data, cookie)) != 0) + debug_return_int(error); + if ((error = rbapply_node(tree, node->right, func, cookie, order)) != 0) + debug_return_int(error); + if (order == postorder) + if ((error = func(node->data, cookie)) != 0) + debug_return_int(error); + } + debug_return_int(0); +} + +/* + * Returns the successor of node, or nil if there is none. + */ +static struct rbnode * +rbsuccessor(struct rbtree *tree, struct rbnode *node) +{ + struct rbnode *succ; + debug_decl(rbsuccessor, SUDOERS_DEBUG_RBTREE); + + if ((succ = node->right) != rbnil(tree)) { + while (succ->left != rbnil(tree)) + succ = succ->left; + } else { + /* No right child, move up until we find it or hit the root */ + for (succ = node->parent; node == succ->right; succ = succ->parent) + node = succ; + if (succ == rbroot(tree)) + succ = rbnil(tree); + } + debug_return_ptr(succ); +} + +/* + * Recursive portion of rbdestroy(). + */ +static void +rbdestroy_int(struct rbtree *tree, struct rbnode *node, void (*destroy)(void *)) +{ + debug_decl(rbdestroy_int, SUDOERS_DEBUG_RBTREE); + if (node != rbnil(tree)) { + rbdestroy_int(tree, node->left, destroy); + rbdestroy_int(tree, node->right, destroy); + if (destroy != NULL) + destroy(node->data); + free(node); + } + debug_return; +} + +/* + * Destroy the specified tree, calling the destructor "destroy" + * for each node and then freeing the tree itself. + */ +void +rbdestroy(struct rbtree *tree, void (*destroy)(void *)) +{ + debug_decl(rbdestroy, SUDOERS_DEBUG_RBTREE); + rbdestroy_int(tree, rbfirst(tree), destroy); + free(tree); + debug_return; +} + +/* + * Delete node 'z' from the tree and return its data pointer. + */ +void *rbdelete(struct rbtree *tree, struct rbnode *z) +{ + struct rbnode *x, *y; + void *data = z->data; + debug_decl(rbdelete, SUDOERS_DEBUG_RBTREE); + + if (z->left == rbnil(tree) || z->right == rbnil(tree)) + y = z; + else + y = rbsuccessor(tree, z); + x = (y->left == rbnil(tree)) ? y->right : y->left; + + if ((x->parent = y->parent) == rbroot(tree)) { + rbfirst(tree) = x; + } else { + if (y == y->parent->left) + y->parent->left = x; + else + y->parent->right = x; + } + if (y->color == black) + rbrepair(tree, x); + if (y != z) { + y->left = z->left; + y->right = z->right; + y->parent = z->parent; + y->color = z->color; + z->left->parent = z->right->parent = y; + if (z == z->parent->left) + z->parent->left = y; + else + z->parent->right = y; + } + free(z); + + debug_return_ptr(data); +} + +/* + * Repair the tree after a node has been deleted by rotating and repainting + * colors to restore the 4 properties inherent in red-black trees. + */ +static void +rbrepair(struct rbtree *tree, struct rbnode *node) +{ + struct rbnode *sibling; + debug_decl(rbrepair, SUDOERS_DEBUG_RBTREE); + + while (node->color == black && node != rbfirst(tree)) { + if (node == node->parent->left) { + sibling = node->parent->right; + if (sibling->color == red) { + sibling->color = black; + node->parent->color = red; + rotate_left(tree, node->parent); + sibling = node->parent->right; + } + if (sibling->right->color == black && sibling->left->color == black) { + sibling->color = red; + node = node->parent; + } else { + if (sibling->right->color == black) { + sibling->left->color = black; + sibling->color = red; + rotate_right(tree, sibling); + sibling = node->parent->right; + } + sibling->color = node->parent->color; + node->parent->color = black; + sibling->right->color = black; + rotate_left(tree, node->parent); + node = rbfirst(tree); /* exit loop */ + } + } else { /* if (node == node->parent->right) */ + sibling = node->parent->left; + if (sibling->color == red) { + sibling->color = black; + node->parent->color = red; + rotate_right(tree, node->parent); + sibling = node->parent->left; + } + if (sibling->right->color == black && sibling->left->color == black) { + sibling->color = red; + node = node->parent; + } else { + if (sibling->left->color == black) { + sibling->right->color = black; + sibling->color = red; + rotate_left(tree, sibling); + sibling = node->parent->left; + } + sibling->color = node->parent->color; + node->parent->color = black; + sibling->left->color = black; + rotate_right(tree, node->parent); + node = rbfirst(tree); /* exit loop */ + } + } + } + node->color = black; + + debug_return; +} diff --git a/plugins/sudoers/redblack.h b/plugins/sudoers/redblack.h new file mode 100644 index 0000000..300383d --- /dev/null +++ b/plugins/sudoers/redblack.h @@ -0,0 +1,60 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2004, 2007, 2010, 2013 + * Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#ifndef SUDOERS_REDBLACK_H +#define SUDOERS_REDBLACK_H + +enum rbcolor { + red, + black +}; + +enum rbtraversal { + preorder, + inorder, + postorder +}; + +struct rbnode { + struct rbnode *left, *right, *parent; + void *data; + enum rbcolor color; +}; + +struct rbtree { + int (*compar)(const void *, const void *); + struct rbnode root; + struct rbnode nil; +}; + +#define rbapply(t, f, c, o) rbapply_node((t), (t)->root.left, (f), (c), (o)) +#define rbisempty(t) ((t)->root.left == &(t)->nil && (t)->root.right == &(t)->nil) +#define rbfirst(t) ((t)->root.left) +#define rbroot(t) (&(t)->root) +#define rbnil(t) (&(t)->nil) + +void *rbdelete(struct rbtree *, struct rbnode *); +int rbapply_node(struct rbtree *, struct rbnode *, + int (*)(void *, void *), void *, enum rbtraversal); +struct rbnode *rbfind(struct rbtree *, void *); +int rbinsert(struct rbtree *, void *, struct rbnode **); +struct rbtree *rbcreate(int (*)(const void *, const void *)); +void rbdestroy(struct rbtree *, void (*)(void *)); + +#endif /* SUDOERS_REDBLACK_H */ diff --git a/plugins/sudoers/regress/check_symbols/check_symbols.c b/plugins/sudoers/regress/check_symbols/check_symbols.c new file mode 100644 index 0000000..41c9081 --- /dev/null +++ b/plugins/sudoers/regress/check_symbols/check_symbols.c @@ -0,0 +1,101 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2012-2015 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#include + +#include +#include +#include +#include +#include + +#include "sudo_compat.h" +#include "sudo_dso.h" +#include "sudo_util.h" +#include "sudo_fatal.h" + +sudo_dso_public int main(int argc, char *argv[]); + +static void +usage(void) +{ + fprintf(stderr, "usage: %s plugin.so symbols_file\n", getprogname()); + exit(EXIT_FAILURE); +} + +int +main(int argc, char *argv[]) +{ + void *handle, *sym; + const char *plugin_path; + const char *symbols_file; + char *cp, line[LINE_MAX]; + FILE *fp; + int ntests = 0, errors = 0; + + initprogname(argc > 0 ? argv[0] : "check_symbols"); + + if (argc != 3) + usage(); + plugin_path = argv[1]; + symbols_file = argv[2]; + + handle = sudo_dso_load(plugin_path, SUDO_DSO_LAZY|SUDO_DSO_GLOBAL); + if (handle == NULL) { + const char *errstr = sudo_dso_strerror(); + sudo_fatalx_nodebug("unable to load %s: %s", plugin_path, + errstr ? errstr : "unknown error"); + } + + fp = fopen(symbols_file, "r"); + if (fp == NULL) + sudo_fatal_nodebug("unable to open %s", symbols_file); + + while (fgets(line, sizeof(line), fp) != NULL) { + ntests++; + if ((cp = strchr(line, '\n')) != NULL) + *cp = '\0'; + sym = sudo_dso_findsym(handle, line); + if (sym == NULL) { + const char *errstr = sudo_dso_strerror(); + printf("%s: test %d: unable to resolve symbol %s: %s\n", + getprogname(), ntests, line, errstr ? errstr : "unknown error"); + errors++; + } + } + + /* + * Make sure unexported symbols are not available. + */ + ntests++; + sym = sudo_dso_findsym(handle, "user_in_group"); + if (sym != NULL) { + printf("%s: test %d: able to resolve local symbol user_in_group\n", + getprogname(), ntests); + errors++; + } + + sudo_dso_unload(handle); + + if (ntests != 0) { + printf("%s: %d tests run, %d errors, %d%% success rate\n", + getprogname(), ntests, errors, (ntests - errors) * 100 / ntests); + } + + exit(errors); +} diff --git a/plugins/sudoers/regress/corpus/seed/ldif/invalid_b64.ldif b/plugins/sudoers/regress/corpus/seed/ldif/invalid_b64.ldif new file mode 100644 index 0000000..b8c7b99 --- /dev/null +++ b/plugins/sudoers/regress/corpus/seed/ldif/invalid_b64.ldif @@ -0,0 +1,33 @@ +# defaults, SUDOers, sudo.ws +dn:: Y249ZGVmYXVsdHMsb3U9U1VET2VycyxkYz1zdWRvLGRjPXdz +objectClass: top +objectClass: sudoRole +cn: defaults +description: Default sudoOption's go here +sudoOption:: bG9nX29@1dHB1dA== + +# root, SUDOers, sudo.ws +dn:: Y249cm9vdCxvdT1TVURPZXJzLGRjPXN1ZG8sZGM9_d3M= +objectClass: top +objectClass: sudoRole +cn: root +sudoUser: root +sudoRunAsUser: ALL +sudoRunAsGroup: ALL +sudoHost: ALL +sudoCommand: ALL +sudoOption: !authenticate +sudoOrder: 10 + +# %wheel, SUDOers, sudo.ws +dn:: Y249JXdoZWVsLG91PVNVRE9lcnMsZGM9c3VkbyxkYz13cw!== +objectClass: top +objectClass: sudoRole +cn: %wheel +sudoUser: %wheel +sudoRunAsUser: ALL +sudoRunAsGroup: ALL +sudoHost: +sudo-hosts +sudoCommand: ALL +sudoOption: !authenticate +sudoOrder: 10 diff --git a/plugins/sudoers/regress/corpus/seed/ldif/pr196.ldif b/plugins/sudoers/regress/corpus/seed/ldif/pr196.ldif new file mode 100644 index 0000000..78c150a --- /dev/null +++ b/plugins/sudoers/regress/corpus/seed/ldif/pr196.ldif @@ -0,0 +1,6 @@ +# Exercise the fix for https://github.com/sudo-project/sudo/pull/169 +# +# If the last byte of the input file was a backslash, the parser would +# read past the end of the buffer. +# +dn: cn= Manager\ \ No newline at end of file diff --git a/plugins/sudoers/regress/corpus/seed/ldif/sample.ldif b/plugins/sudoers/regress/corpus/seed/ldif/sample.ldif new file mode 100644 index 0000000..81474a1 --- /dev/null +++ b/plugins/sudoers/regress/corpus/seed/ldif/sample.ldif @@ -0,0 +1,295 @@ +# LDIF version of the example sudoers file + +# Unable to translate ./examples/sudoers:12:17: +# Defaults>root !set_logname + +# Unable to translate ./examples/sudoers:16:24: +# Defaults!/usr/bin/more, /usr/bin/pg, /usr/bin/less noexec + +dn: cn=defaults,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: defaults +description: Default sudoOption's go here +sudoOption: syslog=auth +sudoOption: runcwd=~ + +dn: cn=root,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: root +sudoUser: root +sudoHost: ALL +sudoRunAsUser: ALL +sudoRunAsGroup: ALL +sudoCommand: ALL +sudoOrder: 1 + +dn: cn=%wheel,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: %wheel +sudoUser: %wheel +sudoHost: ALL +sudoRunAsUser: ALL +sudoRunAsGroup: ALL +sudoCommand: ALL +sudoOrder: 2 + +dn: cn=FULLTIMERS,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: FULLTIMERS +sudoUser: millert +sudoUser: mikef +sudoUser: dowdy +sudoHost: ALL +sudoRunAsUser: ALL +sudoRunAsGroup: ALL +sudoOption: !authenticate +sudoOption: !lecture +sudoOption: !runchroot=* +sudoCommand: ALL +sudoOrder: 3 + +dn: cn=PARTTIMERS,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: PARTTIMERS +sudoUser: bostley +sudoUser: jwfox +sudoUser: crawl +sudoHost: ALL +sudoCommand: ALL +sudoOrder: 4 + +dn: cn=jack,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: jack +sudoUser: jack +sudoHost: 128.138.243.0 +sudoHost: 128.138.204.0/24 +sudoHost: 128.138.242.0 +sudoCommand: ALL +sudoOrder: 5 + +dn: cn=lisa,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: lisa +sudoUser: lisa +sudoHost: 128.138.0.0/255.255.0.0 +sudoCommand: ALL +sudoOrder: 6 + +dn: cn=operator,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: operator +sudoUser: operator +sudoHost: ALL +sudoCommand: /usr/sbin/dump +sudoCommand: /usr/sbin/rdump +sudoCommand: /usr/sbin/restore +sudoCommand: /usr/sbin/rrestore +sudoCommand: /usr/bin/mt +sudoCommand: sha224:0GomF8mNN3wlDt1HD9XldjJ3SNgpFdbjO1+NsQ== /home/operator/bin/start_backups +sudoCommand: /usr/bin/kill +sudoCommand: /usr/bin/top +sudoCommand: /usr/sbin/shutdown +sudoCommand: /usr/sbin/halt +sudoCommand: /usr/sbin/reboot +sudoCommand: /usr/sbin/lpc +sudoCommand: /usr/bin/lprm +sudoCommand: sudoedit /etc/printcap +sudoCommand: /usr/oper/bin/ +sudoOrder: 7 + +dn: cn=joe,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: joe +sudoUser: joe +sudoHost: ALL +sudoCommand: /usr/bin/su operator +sudoOrder: 8 + +dn: cn=pete,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: pete +sudoUser: pete +sudoHost: boa +sudoHost: nag +sudoHost: python +sudoCommand: /usr/bin/passwd ^[a-zA-Z0-9_]+$ +sudoCommand: !/usr/bin/passwd root +sudoOrder: 9 + +dn: cn=bob,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: bob +sudoUser: bob +sudoHost: bigtime +sudoHost: eclipse +sudoHost: moet +sudoHost: anchor +sudoRunAsUser: root +sudoRunAsUser: operator +sudoCommand: ALL +sudoOrder: 10 + +dn: cn=bob_1,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: bob_1 +sudoUser: bob +sudoHost: grolsch +sudoHost: dandelion +sudoHost: black +sudoRunAsUser: root +sudoRunAsUser: operator +sudoCommand: ALL +sudoOrder: 11 + +dn: cn=jim,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: jim +sudoUser: jim +sudoHost: +biglab +sudoCommand: ALL +sudoOrder: 12 + +dn: cn=\+secretaries,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: \+secretaries +sudoUser: +secretaries +sudoHost: ALL +sudoCommand: /usr/sbin/lpc +sudoCommand: /usr/bin/lprm +sudoCommand: /usr/bin/adduser +sudoCommand: /usr/bin/rmuser +sudoOrder: 13 + +dn: cn=fred,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: fred +sudoUser: fred +sudoHost: ALL +sudoRunAsUser: oracle +sudoRunAsUser: sybase +sudoOption: !authenticate +sudoCommand: ALL +sudoOrder: 14 + +dn: cn=john,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: john +sudoUser: john +sudoHost: widget +sudoHost: thalamus +sudoHost: foobar +sudoCommand: /usr/bin/su ^[a-zA-Z0-9_]+$ +sudoCommand: !/usr/bin/su root +sudoOrder: 15 + +dn: cn=jen,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: jen +sudoUser: jen +sudoHost: ALL +sudoHost: !primary +sudoHost: !mail +sudoHost: !www +sudoHost: !ns +sudoCommand: ALL +sudoOrder: 16 + +dn: cn=jill,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: jill +sudoUser: jill +sudoHost: primary +sudoHost: mail +sudoHost: www +sudoHost: ns +sudoOption: log_year +sudoOption: logfile=/var/log/sudo.log +sudoCommand: /usr/bin/ +sudoCommand: !/usr/bin/su +sudoCommand: !/sbin/sh +sudoCommand: !/usr/bin/sh +sudoCommand: !/usr/bin/csh +sudoCommand: !/usr/bin/ksh +sudoCommand: !/usr/local/bin/tcsh +sudoCommand: !/usr/bin/rsh +sudoCommand: !/usr/local/bin/zsh +sudoOrder: 17 + +dn: cn=steve,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: steve +sudoUser: steve +sudoHost: 128.138.243.0 +sudoHost: 128.138.204.0/24 +sudoHost: 128.138.242.0 +sudoRunAsUser: operator +sudoCommand: /usr/local/op_commands/ +sudoOrder: 18 + +dn: cn=matt,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: matt +sudoUser: matt +sudoHost: valkyrie +sudoCommand: /usr/bin/kill +sudoCommand: /usr/bin/top +sudoOrder: 19 + +dn: cn=WEBADMIN,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: WEBADMIN +sudoUser: will +sudoUser: wendy +sudoUser: wim +sudoHost: www +sudoRunAsUser: www +sudoCommand: ALL +sudoOrder: 20 + +dn: cn=WEBADMIN_1,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: WEBADMIN_1 +sudoUser: will +sudoUser: wendy +sudoUser: wim +sudoHost: www +sudoRunAsUser: root +sudoCommand: /usr/bin/su www +sudoOrder: 21 + +dn: cn=ALL,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: ALL +sudoUser: ALL +sudoHost: orion +sudoHost: perseus +sudoHost: hercules +sudoOption: !authenticate +sudoCommand: /sbin/umount /CDROM +sudoCommand: /sbin/mount -o nosuid,nodev /dev/cd0a /CDROM +sudoOrder: 22 + diff --git a/plugins/sudoers/regress/corpus/seed/ldif/valid_b64.ldif b/plugins/sudoers/regress/corpus/seed/ldif/valid_b64.ldif new file mode 100644 index 0000000..d17e670 --- /dev/null +++ b/plugins/sudoers/regress/corpus/seed/ldif/valid_b64.ldif @@ -0,0 +1,44 @@ +# defaults, SUDOers, sudo.ws +dn:: Y249ZGVmYXVsdHMsb3U9U1VET2VycyxkYz1zdWRvLGRjPXdz +objectClass: top +objectClass: sudoRole +cn: defaults +description: Default sudoOption's go here +sudoOption:: bG9nX291dHB1dA== + +# root, SUDOers, sudo.ws +dn:: Y249cm9vdCxvdT1TVURPZXJzLGRjPXN1ZG8sZGM9d3M= +objectClass: top +objectClass: sudoRole +cn: root +sudoUser: root +sudoRunAsUser: ALL +sudoRunAsGroup: ALL +sudoHost: ALL +sudoCommand: ALL +sudoOption: !authenticate +sudoOrder: 10 + +# %wheel, SUDOers, sudo.ws +dn:: Y249JXdoZWVsLG91PVNVRE9lcnMsZGM9c3VkbyxkYz13cw== +objectClass: top +objectClass: sudoRole +cn: %wheel +sudoUser: %wheel +sudoRunAsUser: ALL +sudoRunAsGroup: ALL +sudoHost: +sudo-hosts +sudoCommand: ALL +sudoOption: !authenticate +sudoOrder: 10 + +# millert, SUDOers, other-domain.com +dn:: Y249bWlsbGVydCxvdT1TVURPZXJzLGRjPW90aGVyLWRvbWFpbixkYz1jb20= +objectClass: top +objectClass: sudoRole +cn: millert +sudoUser: millert +sudoRunAsUser: ALL +sudoRunAsGroup: ALL +sudoHost: ALL +sudoOrder: 5 diff --git a/plugins/sudoers/regress/corpus/seed/policy/policy.1 b/plugins/sudoers/regress/corpus/seed/policy/policy.1 new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/plugins/sudoers/regress/corpus/seed/policy/policy.1 @@ -0,0 +1 @@ + diff --git a/plugins/sudoers/regress/corpus/seed/policy/policy.2 b/plugins/sudoers/regress/corpus/seed/policy/policy.2 new file mode 100644 index 0000000..ea1793d --- /dev/null +++ b/plugins/sudoers/regress/corpus/seed/policy/policy.2 @@ -0,0 +1,5 @@ +# Minimal test case +user=root +uid=0 +gid=0 +host=localhost diff --git a/plugins/sudoers/regress/corpus/seed/policy/policy.3 b/plugins/sudoers/regress/corpus/seed/policy/policy.3 new file mode 100644 index 0000000..b865e4c --- /dev/null +++ b/plugins/sudoers/regress/corpus/seed/policy/policy.3 @@ -0,0 +1,11 @@ +# Reproduce CVE-2021-3156 +run_shell=true +sudoedit=true +user=millert +uid=1000 +gid=1000 +cwd=/home/millert +host=localhost +argv=foo +argv=\ +argv=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA diff --git a/plugins/sudoers/regress/corpus/seed/policy/policy.4 b/plugins/sudoers/regress/corpus/seed/policy/policy.4 new file mode 100644 index 0000000..e5e3191 --- /dev/null +++ b/plugins/sudoers/regress/corpus/seed/policy/policy.4 @@ -0,0 +1,36 @@ +# sudo -u nobody /usr/bin/id + +plugin_path=/usr/libexec/sudo/sudoers.so +runas_user=nobody +progname=sudo +network_addrs=127.0.0.1/255.255.255.0 +plugin_dir=/usr/libexec/sudo/ + +user=millert +pid=1234 +ppid=1230 +pgid=1234 +tcpgid=1234 +sid=1230 +uid=1000 +euid=0 +gid=1000 +egid=1000 +groups=20,0,1000 +umask=022 +cwd=/home/millert +tty=/dev/pts/1 +host=sudo.ws +lines=24 +cols=80 +rlimit_core=infinity,infinity +rlimit_cpu=infinity,infinity +rlimit_data=1610612736,34359738368 +rlimit_fsize=infinity,infinity +rlimit_memlock=2727370752,8182112256 +rlimit_nofile=256,1024 +rlimit_nproc=256,512 +rlimit_rss=8175603712,8182112256 +rlimit_stack=4194304,33554432 + +argv=/usr/bin/id diff --git a/plugins/sudoers/regress/corpus/seed/policy/policy.5 b/plugins/sudoers/regress/corpus/seed/policy/policy.5 new file mode 100644 index 0000000..bffae4d --- /dev/null +++ b/plugins/sudoers/regress/corpus/seed/policy/policy.5 @@ -0,0 +1,36 @@ +# sudoedit /etc/hosts + +plugin_path=/usr/libexec/sudo/sudoers.so +progname=sudoedit +network_addrs=127.0.0.1/255.255.255.0 +plugin_dir=/usr/libexec/sudo/ + +user=millert +pid=1234 +ppid=1230 +pgid=1234 +tcpgid=1234 +sid=1230 +uid=1000 +euid=0 +gid=1000 +egid=1000 +groups=20,0,1000 +umask=022 +cwd=/home/millert +tty=/dev/pts/1 +host=sudo.ws +lines=24 +cols=80 +rlimit_core=infinity,infinity +rlimit_cpu=infinity,infinity +rlimit_data=1610612736,34359738368 +rlimit_fsize=infinity,infinity +rlimit_memlock=2727370752,8182112256 +rlimit_nofile=256,1024 +rlimit_nproc=256,512 +rlimit_rss=8175603712,8182112256 +rlimit_stack=4194304,33554432 + +argv=sudoedit +argv=/etc/hosts diff --git a/plugins/sudoers/regress/cvtsudoers/sudoers b/plugins/sudoers/regress/cvtsudoers/sudoers new file mode 100644 index 0000000..8a926f8 --- /dev/null +++ b/plugins/sudoers/regress/cvtsudoers/sudoers @@ -0,0 +1,126 @@ +# +# Sample /etc/sudoers file. +# +# This file MUST be edited with the 'visudo' command as root. +# +# See the sudoers man page for the details on how to write a sudoers file. + +## +# Override built-in defaults +## +Defaults syslog=auth +Defaults>root !set_logname +Defaults:FULLTIMERS !lecture +Defaults:millert !authenticate +Defaults@SERVERS log_year, logfile=/var/log/sudo.log +Defaults!PAGERS noexec + +## +# User alias specification +## +User_Alias FULLTIMERS = millert, mikef, dowdy +User_Alias PARTTIMERS = bostley, jwfox, crawl +User_Alias WEBADMIN = will, wendy, wim + +## +# Runas alias specification +## +Runas_Alias OP = root, operator +Runas_Alias DB = oracle, sybase + +## +# Host alias specification +## +Host_Alias SPARC = bigtime, eclipse, moet, anchor:\ + SGI = grolsch, dandelion, black:\ + ALPHA = widget, thalamus, foobar:\ + HPPA = boa, nag, python +Host_Alias CUNETS = 128.138.0.0/255.255.0.0 +Host_Alias CSNETS = 128.138.243.0, 128.138.204.0/24, 128.138.242.0 +Host_Alias SERVERS = primary, mail, www, ns +Host_Alias CDROM = orion, perseus, hercules + +## +# Cmnd alias specification +## +Cmnd_Alias DUMPS = /usr/sbin/dump, /usr/sbin/rdump, /usr/sbin/restore, \ + /usr/sbin/rrestore, /usr/bin/mt, \ + sha224:0GomF8mNN3wlDt1HD9XldjJ3SNgpFdbjO1+NsQ== \ + /home/operator/bin/start_backups +Cmnd_Alias KILL = /usr/bin/kill, /usr/bin/top +Cmnd_Alias PRINTING = /usr/sbin/lpc, /usr/bin/lprm +Cmnd_Alias SHUTDOWN = /usr/sbin/shutdown +Cmnd_Alias HALT = /usr/sbin/halt +Cmnd_Alias REBOOT = /usr/sbin/reboot +Cmnd_Alias SHELLS = /sbin/sh, /usr/bin/sh, /usr/bin/csh, /usr/bin/ksh, \ + /usr/local/bin/tcsh, /usr/bin/rsh, \ + /usr/local/bin/zsh +Cmnd_Alias SU = /usr/bin/su +Cmnd_Alias VIPW = /usr/sbin/vipw, /usr/bin/passwd, /usr/bin/chsh, \ + /usr/bin/chfn +Cmnd_Alias PAGERS = /usr/bin/more, /usr/bin/pg, /usr/bin/less + +## +# User specification +## + +# root and users in group wheel can run anything on any machine as any user +root ALL = (ALL) ALL +%wheel ALL = (ALL) ALL + +# full time sysadmins can run anything on any machine without a password +FULLTIMERS ALL = NOPASSWD: ALL + +# part time sysadmins may run anything but need a password +PARTTIMERS ALL = ALL + +# jack may run anything on machines in CSNETS +jack CSNETS = ALL + +# lisa may run any command on any host in CUNETS (a class B network) +lisa CUNETS = ALL + +# operator may run maintenance commands and anything in /usr/oper/bin/ +operator ALL = DUMPS, KILL, SHUTDOWN, HALT, REBOOT, PRINTING,\ + sudoedit /etc/printcap, /usr/oper/bin/ + +# joe may su only to operator +joe ALL = /usr/bin/su operator + +# pete may change passwords for anyone but root on the hp snakes +pete HPPA = /usr/bin/passwd [A-Za-z]*, !/usr/bin/passwd *root* + +# bob may run anything on the sparc and sgi machines as any user +# listed in the Runas_Alias "OP" (ie: root and operator) +bob SPARC = (OP) ALL : SGI = (OP) ALL + +# fred can run commands as oracle or sybase without a password +fred ALL = (DB) NOPASSWD: ALL + +# on the alphas, john may su to anyone but root and flags are not allowed +john ALPHA = /usr/bin/su [!-]*, !/usr/bin/su *root* + +# jen can run anything on all machines except the ones +# in the "SERVERS" Host_Alias +jen ALL, !SERVERS = ALL + +# jill can run any commands in the directory /usr/bin/, except for +# those in the SU and SHELLS aliases. +jill SERVERS = /usr/bin/, !SU, !SHELLS + +# steve can run any command in the directory /usr/local/op_commands/ +# as user operator. +steve CSNETS = (operator) /usr/local/op_commands/ + +# matt needs to be able to kill things on his workstation when +# they get hung. +matt valkyrie = KILL + +# users in the WEBADMIN User_Alias (will, wendy, and wim) +# may run any command as user www (which owns the web pages) +# or simply su to www. +WEBADMIN www = (www) ALL, (root) /usr/bin/su www + +# anyone can mount/unmount a cd-rom on the machines in the CDROM alias +ALL CDROM = NOPASSWD: /sbin/umount /CDROM,\ + /sbin/mount -o nosuid\,nodev /dev/cd0a /CDROM diff --git a/plugins/sudoers/regress/cvtsudoers/sudoers.defs b/plugins/sudoers/regress/cvtsudoers/sudoers.defs new file mode 100755 index 0000000..b374930 --- /dev/null +++ b/plugins/sudoers/regress/cvtsudoers/sudoers.defs @@ -0,0 +1,19 @@ +Defaults syslog=auth +Defaults>ROOT !set_logname +Defaults:FULLTIMERS !lecture +Defaults:millert !authenticate +Defaults@SERVERS log_year, logfile=/var/log/sudo.log +Defaults!PAGERS noexec + +User_Alias FULLTIMERS = millert, mikef, dowdy +User_Alias PARTTIMERS = bostley, jwfox, crawl + +Host_Alias SERVERS = primary, mail, www, ns +Host_Alias CDROM = orion, perseus, hercules + +Cmnd_Alias VIPW = /usr/sbin/vipw, /usr/bin/passwd, /usr/bin/chsh, \ + /usr/bin/chfn +Cmnd_Alias PAGERS = /usr/bin/more, /usr/bin/pg, /usr/bin/less + +Runas_Alias ROOT = root, toor +Runas_Alias OPERATOR = operator, backup diff --git a/plugins/sudoers/regress/cvtsudoers/sudoers1 b/plugins/sudoers/regress/cvtsudoers/sudoers1 new file mode 100644 index 0000000..d7a05ca --- /dev/null +++ b/plugins/sudoers/regress/cvtsudoers/sudoers1 @@ -0,0 +1,97 @@ +## sudoers file. +## +## This file MUST be edited with the 'visudo' command as root. +## Failure to use 'visudo' may result in syntax or file permission errors +## that prevent sudo from running. +## +## See the sudoers man page for the details on how to write a sudoers file. +## + +## +## Host alias specification +## +## Groups of machines. These may include host names (optionally with wildcards), +## IP addresses, network numbers or netgroups. +Host_Alias WEBSERVERS = www1, www2, www3 + +## +## User alias specification +## +## Groups of users. These may consist of user names, uids, Unix groups, +## or netgroups. +User_Alias ADMINS = millert, dowdy, mikef + +## +## Cmnd alias specification +## +## Groups of commands. Often used to group related commands together. +Cmnd_Alias PROCESSES = /usr/bin/nice, /bin/kill, /usr/bin/renice, \ + /usr/bin/pkill, /usr/bin/top +Cmnd_Alias REBOOT = /sbin/halt, /sbin/reboot, /sbin/poweroff + +## +## Defaults specification +## +## You may wish to keep some of the following environment variables +## when running commands via sudo. +## +## Locale settings +# Defaults env_keep += "LANG LANGUAGE LINGUAS LC_* _XKB_CHARSET" +## +## Run X applications through sudo; HOME is used to find the +## .Xauthority file. Note that other programs use HOME to find +## configuration files and this may lead to privilege escalation! +# Defaults env_keep += "HOME" +## +## X11 resource path settings +# Defaults env_keep += "XAPPLRESDIR XFILESEARCHPATH XUSERFILESEARCHPATH" +## +## Desktop path settings +# Defaults env_keep += "QTDIR KDEDIR" +## +## Allow sudo-run commands to inherit the callers' ConsoleKit session +# Defaults env_keep += "XDG_SESSION_COOKIE" +## +## Uncomment to enable special input methods. Care should be taken as +## this may allow users to subvert the command being run via sudo. +# Defaults env_keep += "XMODIFIERS GTK_IM_MODULE QT_IM_MODULE QT_IM_SWITCHER" +## +## Uncomment to use a hard-coded PATH instead of the user's to find commands +Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" +## +## Uncomment to send mail if the user does not enter the correct password. +# Defaults mail_badpass +## +## Uncomment to enable logging of a command's output, except for +## sudoreplay and reboot. Use sudoreplay to play back logged sessions. +Defaults log_output +Defaults!/usr/bin/sudoreplay !log_output +Defaults!/usr/local/bin/sudoreplay !log_output +Defaults!REBOOT !log_output + +## +## Runas alias specification +## + +## +## User privilege specification +## +root ALL=(ALL) ALL +ALL ALL=(ALL) /usr/bin/id + +## Uncomment to allow members of group wheel to execute any command +# %wheel ALL=(ALL) ALL + +## Same thing without a password +# %wheel ALL=(ALL) NOPASSWD: ALL + +## Uncomment to allow members of group sudo to execute any command +# %sudo ALL=(ALL) ALL + +## Uncomment to allow any user to run sudo if they know the password +## of the user they are running the command as (root by default). +# Defaults targetpw # Ask for the password of the target user +# ALL ALL=(ALL) ALL # WARNING: only use this together with 'Defaults targetpw' + +## Read drop-in files from /etc/sudoers.d +#@includedir /etc/sudoers.d diff --git a/plugins/sudoers/regress/cvtsudoers/sudoers2 b/plugins/sudoers/regress/cvtsudoers/sudoers2 new file mode 100644 index 0000000..442d5e6 --- /dev/null +++ b/plugins/sudoers/regress/cvtsudoers/sudoers2 @@ -0,0 +1,97 @@ +## sudoers file. +## +## This file MUST be edited with the 'visudo' command as root. +## Failure to use 'visudo' may result in syntax or file permission errors +## that prevent sudo from running. +## +## See the sudoers man page for the details on how to write a sudoers file. +## + +## +## Host alias specification +## +## Groups of machines. These may include host names (optionally with wildcards), +## IP addresses, network numbers or netgroups. +Host_Alias WEBSERVERS = www1, www2, www3, www4 + +## +## User alias specification +## +## Groups of users. These may consist of user names, uids, Unix groups, +## or netgroups. +User_Alias ADMINS = millert, dowdy, mikef + +## +## Cmnd alias specification +## +## Groups of commands. Often used to group related commands together. +Cmnd_Alias PROCESSES = /usr/bin/nice, /bin/kill, /usr/bin/renice, \ + /usr/bin/pkill, /usr/bin/top +Cmnd_Alias REBOOT = /sbin/halt, /sbin/reboot, /sbin/poweroff + +## +## Defaults specification +## +## You may wish to keep some of the following environment variables +## when running commands via sudo. +## +## Locale settings +# Defaults env_keep += "LANG LANGUAGE LINGUAS LC_* _XKB_CHARSET" +## +## Run X applications through sudo; HOME is used to find the +## .Xauthority file. Note that other programs use HOME to find +## configuration files and this may lead to privilege escalation! +# Defaults env_keep += "HOME" +## +## X11 resource path settings +# Defaults env_keep += "XAPPLRESDIR XFILESEARCHPATH XUSERFILESEARCHPATH" +## +## Desktop path settings +# Defaults env_keep += "QTDIR KDEDIR" +## +## Allow sudo-run commands to inherit the callers' ConsoleKit session +# Defaults env_keep += "XDG_SESSION_COOKIE" +## +## Uncomment to enable special input methods. Care should be taken as +## this may allow users to subvert the command being run via sudo. +# Defaults env_keep += "XMODIFIERS GTK_IM_MODULE QT_IM_MODULE QT_IM_SWITCHER" +## +## Uncomment to use a hard-coded PATH instead of the user's to find commands +Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" +## +## Uncomment to send mail if the user does not enter the correct password. +# Defaults mail_badpass +## +## Uncomment to enable logging of a command's output, except for +## sudoreplay and reboot. Use sudoreplay to play back logged sessions. +Defaults log_output +Defaults!/usr/bin/sudoreplay !log_output +Defaults!/usr/local/bin/sudoreplay !log_output +Defaults!REBOOT !log_output + +## +## Runas alias specification +## + +## +## User privilege specification +## +root ALL=(ALL) ALL +ALL ALL=(ALL) /usr/bin/id + +## Uncomment to allow members of group wheel to execute any command +# %wheel ALL=(ALL) ALL + +## Same thing without a password +# %wheel ALL=(ALL) NOPASSWD: ALL + +## Uncomment to allow members of group sudo to execute any command +# %sudo ALL=(ALL) ALL + +## Uncomment to allow any user to run sudo if they know the password +## of the user they are running the command as (root by default). +# Defaults targetpw # Ask for the password of the target user +# ALL ALL=(ALL) ALL # WARNING: only use this together with 'Defaults targetpw' + +## Read drop-in files from /etc/sudoers.d +#@includedir /etc/sudoers.d diff --git a/plugins/sudoers/regress/cvtsudoers/sudoers3 b/plugins/sudoers/regress/cvtsudoers/sudoers3 new file mode 100644 index 0000000..ee2769e --- /dev/null +++ b/plugins/sudoers/regress/cvtsudoers/sudoers3 @@ -0,0 +1,97 @@ +## sudoers file. +## +## This file MUST be edited with the 'visudo' command as root. +## Failure to use 'visudo' may result in syntax or file permission errors +## that prevent sudo from running. +## +## See the sudoers man page for the details on how to write a sudoers file. +## + +## +## Host alias specification +## +## Groups of machines. These may include host names (optionally with wildcards), +## IP addresses, network numbers or netgroups. +Host_Alias WEBSERVERS_1 = www1, www2, www3, www5 + +## +## User alias specification +## +## Groups of users. These may consist of user names, uids, Unix groups, +## or netgroups. +User_Alias ADMINS = millert, dowdy, mikef + +## +## Cmnd alias specification +## +## Groups of commands. Often used to group related commands together. +Cmnd_Alias PROCESSES = /usr/bin/nice, /bin/kill, /usr/bin/renice, \ + /usr/bin/pkill, /usr/bin/top +Cmnd_Alias REBOOT = /sbin/halt, /sbin/reboot, /sbin/poweroff + +## +## Defaults specification +## +## You may wish to keep some of the following environment variables +## when running commands via sudo. +## +## Locale settings +# Defaults env_keep += "LANG LANGUAGE LINGUAS LC_* _XKB_CHARSET" +## +## Run X applications through sudo; HOME is used to find the +## .Xauthority file. Note that other programs use HOME to find +## configuration files and this may lead to privilege escalation! +# Defaults env_keep += "HOME" +## +## X11 resource path settings +# Defaults env_keep += "XAPPLRESDIR XFILESEARCHPATH XUSERFILESEARCHPATH" +## +## Desktop path settings +# Defaults env_keep += "QTDIR KDEDIR" +## +## Allow sudo-run commands to inherit the callers' ConsoleKit session +# Defaults env_keep += "XDG_SESSION_COOKIE" +## +## Uncomment to enable special input methods. Care should be taken as +## this may allow users to subvert the command being run via sudo. +# Defaults env_keep += "XMODIFIERS GTK_IM_MODULE QT_IM_MODULE QT_IM_SWITCHER" +## +## Uncomment to use a hard-coded PATH instead of the user's to find commands +Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" +## +## Uncomment to send mail if the user does not enter the correct password. +# Defaults mail_badpass +## +## Uncomment to enable logging of a command's output, except for +## sudoreplay and reboot. Use sudoreplay to play back logged sessions. +# Defaults log_output +# Defaults!/usr/bin/sudoreplay !log_output +# Defaults!/usr/local/bin/sudoreplay !log_output +# Defaults!REBOOT !log_output + +## +## Runas alias specification +## + +## +## User privilege specification +## +root ALL=(ALL) ALL +ALL ALL=(ALL) /usr/bin/id + +## Uncomment to allow members of group wheel to execute any command +# %wheel ALL=(ALL) ALL + +## Same thing without a password +# %wheel ALL=(ALL) NOPASSWD: ALL + +## Uncomment to allow members of group sudo to execute any command +# %sudo ALL=(ALL) ALL + +## Uncomment to allow any user to run sudo if they know the password +## of the user they are running the command as (root by default). +# Defaults targetpw # Ask for the password of the target user +# ALL ALL=(ALL) ALL # WARNING: only use this together with 'Defaults targetpw' + +## Read drop-in files from /etc/sudoers.d +#@includedir /etc/sudoers.d diff --git a/plugins/sudoers/regress/cvtsudoers/sudoers4 b/plugins/sudoers/regress/cvtsudoers/sudoers4 new file mode 100644 index 0000000..c85b0dc --- /dev/null +++ b/plugins/sudoers/regress/cvtsudoers/sudoers4 @@ -0,0 +1,97 @@ +## sudoers file. +## +## This file MUST be edited with the 'visudo' command as root. +## Failure to use 'visudo' may result in syntax or file permission errors +## that prevent sudo from running. +## +## See the sudoers man page for the details on how to write a sudoers file. +## + +## +## Host alias specification +## +## Groups of machines. These may include host names (optionally with wildcards), +## IP addresses, network numbers or netgroups. +Host_Alias WEBSERVERS_1 = www1, www2, www3, www5 + +## +## User alias specification +## +## Groups of users. These may consist of user names, uids, Unix groups, +## or netgroups. +User_Alias ADMINS = millert, dowdy, mikef + +## +## Cmnd alias specification +## +## Groups of commands. Often used to group related commands together. +Cmnd_Alias PROCESSES = /usr/bin/nice, /bin/kill, /usr/bin/renice, \ + /usr/bin/pkill, /usr/bin/top +Cmnd_Alias REBOOT = /sbin/halt, /sbin/reboot, /sbin/poweroff + +## +## Defaults specification +## +## You may wish to keep some of the following environment variables +## when running commands via sudo. +## +## Locale settings +# Defaults env_keep += "LANG LANGUAGE LINGUAS LC_* _XKB_CHARSET" +## +## Run X applications through sudo; HOME is used to find the +## .Xauthority file. Note that other programs use HOME to find +## configuration files and this may lead to privilege escalation! +# Defaults env_keep += "HOME" +## +## X11 resource path settings +# Defaults env_keep += "XAPPLRESDIR XFILESEARCHPATH XUSERFILESEARCHPATH" +## +## Desktop path settings +# Defaults env_keep += "QTDIR KDEDIR" +## +## Allow sudo-run commands to inherit the callers' ConsoleKit session +# Defaults env_keep += "XDG_SESSION_COOKIE" +## +## Uncomment to enable special input methods. Care should be taken as +## this may allow users to subvert the command being run via sudo. +# Defaults env_keep += "XMODIFIERS GTK_IM_MODULE QT_IM_MODULE QT_IM_SWITCHER" +## +## Uncomment to use a hard-coded PATH instead of the user's to find commands +Defaults secure_path="/opt/sudo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" +## +## Uncomment to send mail if the user does not enter the correct password. +# Defaults mail_badpass +## +## Uncomment to enable logging of a command's output, except for +## sudoreplay and reboot. Use sudoreplay to play back logged sessions. +# Defaults log_output +# Defaults!/usr/bin/sudoreplay !log_output +# Defaults!/usr/local/bin/sudoreplay !log_output +# Defaults!REBOOT !log_output + +## +## Runas alias specification +## + +## +## User privilege specification +## +root ALL=(ALL) ALL +ALL ALL=(ALL) /usr/bin/id + +## Uncomment to allow members of group wheel to execute any command +# %wheel ALL=(ALL) ALL + +## Same thing without a password +# %wheel ALL=(ALL) NOPASSWD: ALL + +## Uncomment to allow members of group sudo to execute any command +# %sudo ALL=(ALL) ALL + +## Uncomment to allow any user to run sudo if they know the password +## of the user they are running the command as (root by default). +# Defaults targetpw # Ask for the password of the target user +# ALL ALL=(ALL) ALL # WARNING: only use this together with 'Defaults targetpw' + +## Read drop-in files from /etc/sudoers.d +#@includedir /etc/sudoers.d diff --git a/plugins/sudoers/regress/cvtsudoers/test1.out.ok b/plugins/sudoers/regress/cvtsudoers/test1.out.ok new file mode 100644 index 0000000..da3f555 --- /dev/null +++ b/plugins/sudoers/regress/cvtsudoers/test1.out.ok @@ -0,0 +1,14 @@ +Defaults syslog=auth +Defaults>root !set_logname +Defaults:FULLTIMERS !lecture +Defaults:millert !authenticate +Defaults!PAGERS noexec + +Host_Alias CDROM = orion, perseus, hercules +User_Alias FULLTIMERS = millert, mikef, dowdy +Cmnd_Alias PAGERS = /usr/bin/more, /usr/bin/pg, /usr/bin/less + +FULLTIMERS ALL = NOPASSWD: ALL + +ALL CDROM = NOPASSWD: /sbin/umount /CDROM, /sbin/mount -o nosuid\,nodev\ + /dev/cd0a /CDROM diff --git a/plugins/sudoers/regress/cvtsudoers/test1.sh b/plugins/sudoers/regress/cvtsudoers/test1.sh new file mode 100755 index 0000000..ba5f87f --- /dev/null +++ b/plugins/sudoers/regress/cvtsudoers/test1.sh @@ -0,0 +1,10 @@ +#!/bin/sh +# +# Test user and host filters +# + +: ${CVTSUDOERS=cvtsudoers} + +$CVTSUDOERS -c "" -f sudoers -m user=millert,host=hercules $TESTDIR/sudoers + +exit 0 diff --git a/plugins/sudoers/regress/cvtsudoers/test10.out.ok b/plugins/sudoers/regress/cvtsudoers/test10.out.ok new file mode 100644 index 0000000..26a05d2 --- /dev/null +++ b/plugins/sudoers/regress/cvtsudoers/test10.out.ok @@ -0,0 +1 @@ +Defaults!PAGERS noexec diff --git a/plugins/sudoers/regress/cvtsudoers/test10.sh b/plugins/sudoers/regress/cvtsudoers/test10.sh new file mode 100755 index 0000000..38550a9 --- /dev/null +++ b/plugins/sudoers/regress/cvtsudoers/test10.sh @@ -0,0 +1,10 @@ +#!/bin/sh +# +# Test command defaults filtering +# + +: ${CVTSUDOERS=cvtsudoers} + +$CVTSUDOERS -c "" -f sudoers -s aliases,privileges -d command $TESTDIR/sudoers + +exit 0 diff --git a/plugins/sudoers/regress/cvtsudoers/test11.out.ok b/plugins/sudoers/regress/cvtsudoers/test11.out.ok new file mode 100644 index 0000000..5c4c4e8 --- /dev/null +++ b/plugins/sudoers/regress/cvtsudoers/test11.out.ok @@ -0,0 +1,7 @@ +Defaults!PAGERS noexec + +Host_Alias CDROM = orion, perseus, hercules +Runas_Alias OPERATOR = operator, backup +Cmnd_Alias PAGERS = /usr/bin/more, /usr/bin/pg, /usr/bin/less +User_Alias PARTTIMERS = bostley, jwfox, crawl +Cmnd_Alias VIPW = /usr/sbin/vipw, /usr/bin/passwd, /usr/bin/chsh, /usr/bin/chfn diff --git a/plugins/sudoers/regress/cvtsudoers/test11.sh b/plugins/sudoers/regress/cvtsudoers/test11.sh new file mode 100755 index 0000000..f8d37ef --- /dev/null +++ b/plugins/sudoers/regress/cvtsudoers/test11.sh @@ -0,0 +1,8 @@ +#!/bin/sh +# +# Test that Aliases are removed when filtering by defaults type +# + +: ${CVTSUDOERS=cvtsudoers} + +$CVTSUDOERS -c "" -f sudoers -d command $TESTDIR/sudoers.defs diff --git a/plugins/sudoers/regress/cvtsudoers/test12.out.ok b/plugins/sudoers/regress/cvtsudoers/test12.out.ok new file mode 100644 index 0000000..7f2b15e --- /dev/null +++ b/plugins/sudoers/regress/cvtsudoers/test12.out.ok @@ -0,0 +1,8 @@ +Defaults:FULLTIMERS !lecture +Defaults:millert !authenticate + +Host_Alias CDROM = orion, perseus, hercules +User_Alias FULLTIMERS = millert, mikef, dowdy +Runas_Alias OPERATOR = operator, backup +User_Alias PARTTIMERS = bostley, jwfox, crawl +Cmnd_Alias VIPW = /usr/sbin/vipw, /usr/bin/passwd, /usr/bin/chsh, /usr/bin/chfn diff --git a/plugins/sudoers/regress/cvtsudoers/test12.sh b/plugins/sudoers/regress/cvtsudoers/test12.sh new file mode 100755 index 0000000..dd2cab0 --- /dev/null +++ b/plugins/sudoers/regress/cvtsudoers/test12.sh @@ -0,0 +1,8 @@ +#!/bin/sh +# +# Test that Aliases are removed when filtering by defaults type +# + +: ${CVTSUDOERS=cvtsudoers} + +$CVTSUDOERS -c "" -f sudoers -d user $TESTDIR/sudoers.defs diff --git a/plugins/sudoers/regress/cvtsudoers/test13.out.ok b/plugins/sudoers/regress/cvtsudoers/test13.out.ok new file mode 100644 index 0000000..5276327 --- /dev/null +++ b/plugins/sudoers/regress/cvtsudoers/test13.out.ok @@ -0,0 +1,7 @@ +Defaults@SERVERS log_year, logfile=/var/log/sudo.log + +Host_Alias CDROM = orion, perseus, hercules +Runas_Alias OPERATOR = operator, backup +User_Alias PARTTIMERS = bostley, jwfox, crawl +Host_Alias SERVERS = primary, mail, www, ns +Cmnd_Alias VIPW = /usr/sbin/vipw, /usr/bin/passwd, /usr/bin/chsh, /usr/bin/chfn diff --git a/plugins/sudoers/regress/cvtsudoers/test13.sh b/plugins/sudoers/regress/cvtsudoers/test13.sh new file mode 100755 index 0000000..8ee6000 --- /dev/null +++ b/plugins/sudoers/regress/cvtsudoers/test13.sh @@ -0,0 +1,8 @@ +#!/bin/sh +# +# Test that Aliases are removed when filtering by defaults type +# + +: ${CVTSUDOERS=cvtsudoers} + +$CVTSUDOERS -c "" -f sudoers -d host $TESTDIR/sudoers.defs diff --git a/plugins/sudoers/regress/cvtsudoers/test14.out.ok b/plugins/sudoers/regress/cvtsudoers/test14.out.ok new file mode 100644 index 0000000..3f7710a --- /dev/null +++ b/plugins/sudoers/regress/cvtsudoers/test14.out.ok @@ -0,0 +1,7 @@ +Defaults>ROOT !set_logname + +Host_Alias CDROM = orion, perseus, hercules +Runas_Alias OPERATOR = operator, backup +User_Alias PARTTIMERS = bostley, jwfox, crawl +Runas_Alias ROOT = root, toor +Cmnd_Alias VIPW = /usr/sbin/vipw, /usr/bin/passwd, /usr/bin/chsh, /usr/bin/chfn diff --git a/plugins/sudoers/regress/cvtsudoers/test14.sh b/plugins/sudoers/regress/cvtsudoers/test14.sh new file mode 100755 index 0000000..4486faa --- /dev/null +++ b/plugins/sudoers/regress/cvtsudoers/test14.sh @@ -0,0 +1,8 @@ +#!/bin/sh +# +# Test that Aliases are removed when filtering by defaults type +# + +: ${CVTSUDOERS=cvtsudoers} + +$CVTSUDOERS -c "" -f sudoers -d runas $TESTDIR/sudoers.defs diff --git a/plugins/sudoers/regress/cvtsudoers/test15.out.ok b/plugins/sudoers/regress/cvtsudoers/test15.out.ok new file mode 100644 index 0000000..5177139 --- /dev/null +++ b/plugins/sudoers/regress/cvtsudoers/test15.out.ok @@ -0,0 +1 @@ +user1 host1, host2, host3 = ALL diff --git a/plugins/sudoers/regress/cvtsudoers/test15.sh b/plugins/sudoers/regress/cvtsudoers/test15.sh new file mode 100755 index 0000000..6d65c78 --- /dev/null +++ b/plugins/sudoers/regress/cvtsudoers/test15.sh @@ -0,0 +1,10 @@ +#!/bin/sh +# +# Test filters and pruning +# + +: ${CVTSUDOERS=cvtsudoers} + +$CVTSUDOERS -c "" -f sudoers -p -m user=user1 <root !set_logname +Defaults:FULLTIMERS !lecture +Defaults@SERVERS log_year, logfile=/var/log/sudo.log +Defaults!PAGERS noexec + +User_Alias FULLTIMERS = millert, mikef, dowdy +Cmnd_Alias PAGERS = /usr/bin/more, /usr/bin/pg, /usr/bin/less +Host_Alias SERVERS = primary, mail, www, ns + +FULLTIMERS ALL = NOPASSWD: ALL diff --git a/plugins/sudoers/regress/cvtsudoers/test19.sh b/plugins/sudoers/regress/cvtsudoers/test19.sh new file mode 100755 index 0000000..b3c1bf7 --- /dev/null +++ b/plugins/sudoers/regress/cvtsudoers/test19.sh @@ -0,0 +1,8 @@ +#!/bin/sh +# +# Test filters and pruning; alias contents don't get pruned +# + +: ${CVTSUDOERS=cvtsudoers} + +$CVTSUDOERS -c "" -f sudoers -p -m user=FULLTIMERS,host=SERVERS $TESTDIR/sudoers diff --git a/plugins/sudoers/regress/cvtsudoers/test2.out.ok b/plugins/sudoers/regress/cvtsudoers/test2.out.ok new file mode 100644 index 0000000..d99e0e5 --- /dev/null +++ b/plugins/sudoers/regress/cvtsudoers/test2.out.ok @@ -0,0 +1,10 @@ +Defaults syslog=auth +Defaults>root !set_logname +Defaults:millert, mikef, dowdy !lecture +Defaults:millert !authenticate +Defaults!/usr/bin/more, /usr/bin/pg, /usr/bin/less noexec + +millert, mikef, dowdy ALL = NOPASSWD: ALL + +ALL orion, perseus, hercules = NOPASSWD: /sbin/umount /CDROM, /sbin/mount -o\ + nosuid\,nodev /dev/cd0a /CDROM diff --git a/plugins/sudoers/regress/cvtsudoers/test2.sh b/plugins/sudoers/regress/cvtsudoers/test2.sh new file mode 100755 index 0000000..70e9553 --- /dev/null +++ b/plugins/sudoers/regress/cvtsudoers/test2.sh @@ -0,0 +1,10 @@ +#!/bin/sh +# +# Test user and host filters, expanding aliases +# + +: ${CVTSUDOERS=cvtsudoers} + +$CVTSUDOERS -c "" -f sudoers -e -m user=millert,host=hercules $TESTDIR/sudoers + +exit 0 diff --git a/plugins/sudoers/regress/cvtsudoers/test20.conf b/plugins/sudoers/regress/cvtsudoers/test20.conf new file mode 100644 index 0000000..b60725c --- /dev/null +++ b/plugins/sudoers/regress/cvtsudoers/test20.conf @@ -0,0 +1,6 @@ +defaults = global +expand_aliases = yes +input_format = sudoers +match = user=user2 +output_format = sudoers +prune_matches = yes diff --git a/plugins/sudoers/regress/cvtsudoers/test20.out.ok b/plugins/sudoers/regress/cvtsudoers/test20.out.ok new file mode 100644 index 0000000..79b420b --- /dev/null +++ b/plugins/sudoers/regress/cvtsudoers/test20.out.ok @@ -0,0 +1 @@ +user2 ALL = /usr/bin/id diff --git a/plugins/sudoers/regress/cvtsudoers/test20.sh b/plugins/sudoers/regress/cvtsudoers/test20.sh new file mode 100755 index 0000000..e651e16 --- /dev/null +++ b/plugins/sudoers/regress/cvtsudoers/test20.sh @@ -0,0 +1,13 @@ +#!/bin/sh +# +# Test cvtsudoers.conf +# + +: ${CVTSUDOERS=cvtsudoers} + +$CVTSUDOERS -c $TESTDIR/test20.conf < LDIF -> sudoers +# + +: ${CVTSUDOERS=cvtsudoers} + +$CVTSUDOERS -c "" -b "ou=SUDOers,dc=sudo,dc=ws" $TESTDIR/test23.out.ok | \ + $CVTSUDOERS -c "" -i LDIF -f sudoers | grep -v '^#' diff --git a/plugins/sudoers/regress/cvtsudoers/test24.out.ok b/plugins/sudoers/regress/cvtsudoers/test24.out.ok new file mode 100644 index 0000000..0951767 --- /dev/null +++ b/plugins/sudoers/regress/cvtsudoers/test24.out.ok @@ -0,0 +1,89 @@ +dn: cn=defaults,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: defaults +description: Default sudoOption's go here +sudoOption: logfile=/var/log/sudo + +dn: cn=root,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: root +sudoUser: root +sudoHost: ALL +sudoRunAsUser: ALL +sudoCommand: ALL +sudoOrder: 1 + +dn: cn=%wheel,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: %wheel +sudoUser: %wheel +sudoHost: ALL +sudoRunAsUser: ALL +sudoCommand: ALL +sudoOrder: 2 + +dn: cn=\+admins,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: \+admins +sudoUser: +admins +sudoHost: ALL +sudoOption: !authenticate +sudoCommand: ALL +sudoOrder: 3 + +dn: cn=jack,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: jack +sudoUser: jack +sudoHost: 128.138.204.0/24 +sudoHost: 128.138.242.0 +sudoHost: 128.138.243.0 +sudoCommand: ALL +sudoOrder: 4 + +dn: cn=lisa,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: lisa +sudoUser: lisa +sudoHost: 128.138.0.0/255.255.0.0 +sudoCommand: ALL +sudoOrder: 5 + +dn: cn=operator,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: operator +sudoUser: operator +sudoHost: ALL +sudoCommand: /usr/sbin/dump +sudoCommand: /usr/sbin/rdump +sudoCommand: /usr/sbin/restore +sudoCommand: /usr/sbin/rrestore +sudoCommand: /usr/bin/mt +sudoCommand: sha224:0GomF8mNN3wlDt1HD9XldjJ3SNgpFdbjO1+NsQ== /home/operator/bin/start_backups +sudoCommand: /usr/bin/kill +sudoCommand: /usr/bin/top +sudoCommand: /usr/sbin/shutdown +sudoCommand: /usr/sbin/halt +sudoCommand: /usr/sbin/reboot +sudoCommand: /usr/sbin/lpc +sudoCommand: /usr/bin/lprm +sudoCommand: sudoedit /etc/printcap +sudoCommand: /usr/oper/bin/ +sudoOrder: 6 + +dn: cn=joe,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: joe +sudoUser: joe +sudoHost: ALL +sudoCommand: /usr/bin/su operator +sudoOrder: 7 + diff --git a/plugins/sudoers/regress/cvtsudoers/test24.sh b/plugins/sudoers/regress/cvtsudoers/test24.sh new file mode 100755 index 0000000..72d9983 --- /dev/null +++ b/plugins/sudoers/regress/cvtsudoers/test24.sh @@ -0,0 +1,9 @@ +#!/bin/sh +# +# Test round-tripping of LDIF -> sudoers -> LDIF +# + +: ${CVTSUDOERS=cvtsudoers} + +$CVTSUDOERS -c "" -i LDIF -f sudoers $TESTDIR/test24.out.ok | \ + $CVTSUDOERS -c "" -b "ou=SUDOers,dc=sudo,dc=ws" diff --git a/plugins/sudoers/regress/cvtsudoers/test25.out.ok b/plugins/sudoers/regress/cvtsudoers/test25.out.ok new file mode 100644 index 0000000..d404815 --- /dev/null +++ b/plugins/sudoers/regress/cvtsudoers/test25.out.ok @@ -0,0 +1,31 @@ +dn: cn=defaults,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: defaults +description: Default sudoOption's go here +sudoOption: log_output + +dn: cn=root,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: root +sudoUser: root +sudoHost: ALL +sudoRunAsUser: ALL +sudoRunAsGroup: ALL +sudoOption: !authenticate +sudoCommand: ALL +sudoOrder: 10 + +dn: cn=%wheel,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: %wheel +sudoUser: %wheel +sudoHost: +sudo-hosts +sudoRunAsUser: ALL +sudoRunAsGroup: ALL +sudoOption: !authenticate +sudoCommand: ALL +sudoOrder: 20 + diff --git a/plugins/sudoers/regress/cvtsudoers/test25.sh b/plugins/sudoers/regress/cvtsudoers/test25.sh new file mode 100755 index 0000000..bbb9b51 --- /dev/null +++ b/plugins/sudoers/regress/cvtsudoers/test25.sh @@ -0,0 +1,53 @@ +#!/bin/sh +# +# Test LDIF base64 attribute parsing +# + +: ${CVTSUDOERS=cvtsudoers} + +$CVTSUDOERS -c "" -i ldif -b "ou=SUDOers,dc=sudo,dc=ws" -I 10 -O 10 <root !set_logname +Defaults!PAGERS noexec + +Cmnd_Alias PAGERS = /usr/bin/more, /usr/bin/pg, /usr/bin/less + +%wheel ALL = (ALL) ALL diff --git a/plugins/sudoers/regress/cvtsudoers/test3.sh b/plugins/sudoers/regress/cvtsudoers/test3.sh new file mode 100755 index 0000000..8e42cbc --- /dev/null +++ b/plugins/sudoers/regress/cvtsudoers/test3.sh @@ -0,0 +1,10 @@ +#!/bin/sh +# +# Test group and host filters +# + +: ${CVTSUDOERS=cvtsudoers} + +$CVTSUDOERS -c "" -f sudoers -m group=wheel,host=blackhole $TESTDIR/sudoers + +exit 0 diff --git a/plugins/sudoers/regress/cvtsudoers/test30.out.ok b/plugins/sudoers/regress/cvtsudoers/test30.out.ok new file mode 100644 index 0000000..009a54e --- /dev/null +++ b/plugins/sudoers/regress/cvtsudoers/test30.out.ok @@ -0,0 +1,26 @@ +{ + "User_Specs": [ + { + "User_List": [ + { "username": "user1" }, + { "username": "user2" }, + { "username": "user3" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Commands": [ + { "command": "/path/to/cmda" }, + { + "command": "/path/to/cmdb", + "negated": true + }, + { "command": "/path/to/cmdc" } + ] + } + ] + } + ] +} diff --git a/plugins/sudoers/regress/cvtsudoers/test30.sh b/plugins/sudoers/regress/cvtsudoers/test30.sh new file mode 100755 index 0000000..c5f7615 --- /dev/null +++ b/plugins/sudoers/regress/cvtsudoers/test30.sh @@ -0,0 +1,15 @@ +#!/bin/sh +# +# Test alias expansion when converting to JSON. +# See https://bugzilla.sudo.ws/show_bug.cgi?id=853 +# + +: ${CVTSUDOERS=cvtsudoers} + +$CVTSUDOERS -c "" -e -f json <root !set_logname +Defaults!/usr/bin/more, /usr/bin/pg, /usr/bin/less noexec + +%wheel ALL = (ALL) ALL diff --git a/plugins/sudoers/regress/cvtsudoers/test4.sh b/plugins/sudoers/regress/cvtsudoers/test4.sh new file mode 100755 index 0000000..860eff4 --- /dev/null +++ b/plugins/sudoers/regress/cvtsudoers/test4.sh @@ -0,0 +1,10 @@ +#!/bin/sh +# +# Test group and host filters, expanding aliases +# + +: ${CVTSUDOERS=cvtsudoers} + +$CVTSUDOERS -c "" -f sudoers -e -m group=wheel,host=blackhole $TESTDIR/sudoers + +exit 0 diff --git a/plugins/sudoers/regress/cvtsudoers/test40.out.ok b/plugins/sudoers/regress/cvtsudoers/test40.out.ok new file mode 100644 index 0000000..0fc19e4 --- /dev/null +++ b/plugins/sudoers/regress/cvtsudoers/test40.out.ok @@ -0,0 +1,10 @@ +dn: cn=user0,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user0 +sudoUser: user0 +sudoHost: A00 +sudoRunAsUser: 0 +sudoCommand: /bin/ls +sudoOrder: 1 + diff --git a/plugins/sudoers/regress/cvtsudoers/test40.sh b/plugins/sudoers/regress/cvtsudoers/test40.sh new file mode 100755 index 0000000..ff03c2c --- /dev/null +++ b/plugins/sudoers/regress/cvtsudoers/test40.sh @@ -0,0 +1,29 @@ +#!/bin/sh +# +# Test use-after-free in cvtsudoers when filtering by command. +# +# If compiled with address sanitizer, cvtsudoers will crash without the +# fix in 9da99e0e671e. +# + +: ${CVTSUDOERS=cvtsudoers} + +$CVTSUDOERS -c "" -i ldif -b "ou=SUDOers,dc=sudo,dc=ws" -m cmd='/bin/ls' -p <root !set_logname +Defaults:FULLTIMERS !lecture +Defaults:millert !authenticate +Defaults@SERVERS log_year, logfile=/var/log/sudo.log +Defaults!PAGERS noexec diff --git a/plugins/sudoers/regress/cvtsudoers/test5.sh b/plugins/sudoers/regress/cvtsudoers/test5.sh new file mode 100755 index 0000000..dd7782d --- /dev/null +++ b/plugins/sudoers/regress/cvtsudoers/test5.sh @@ -0,0 +1,10 @@ +#!/bin/sh +# +# Test defaults type filtering +# + +: ${CVTSUDOERS=cvtsudoers} + +$CVTSUDOERS -c "" -f sudoers -s aliases,privileges -d all $TESTDIR/sudoers + +exit 0 diff --git a/plugins/sudoers/regress/cvtsudoers/test6.out.ok b/plugins/sudoers/regress/cvtsudoers/test6.out.ok new file mode 100644 index 0000000..5e65e61 --- /dev/null +++ b/plugins/sudoers/regress/cvtsudoers/test6.out.ok @@ -0,0 +1 @@ +Defaults syslog=auth diff --git a/plugins/sudoers/regress/cvtsudoers/test6.sh b/plugins/sudoers/regress/cvtsudoers/test6.sh new file mode 100755 index 0000000..a6c7ec4 --- /dev/null +++ b/plugins/sudoers/regress/cvtsudoers/test6.sh @@ -0,0 +1,10 @@ +#!/bin/sh +# +# Test global defaults filtering +# + +: ${CVTSUDOERS=cvtsudoers} + +$CVTSUDOERS -c "" -f sudoers -s aliases,privileges -d global $TESTDIR/sudoers + +exit 0 diff --git a/plugins/sudoers/regress/cvtsudoers/test7.out.ok b/plugins/sudoers/regress/cvtsudoers/test7.out.ok new file mode 100644 index 0000000..381de43 --- /dev/null +++ b/plugins/sudoers/regress/cvtsudoers/test7.out.ok @@ -0,0 +1,2 @@ +Defaults:FULLTIMERS !lecture +Defaults:millert !authenticate diff --git a/plugins/sudoers/regress/cvtsudoers/test7.sh b/plugins/sudoers/regress/cvtsudoers/test7.sh new file mode 100755 index 0000000..2f1a301 --- /dev/null +++ b/plugins/sudoers/regress/cvtsudoers/test7.sh @@ -0,0 +1,10 @@ +#!/bin/sh +# +# Test user defaults filtering +# + +: ${CVTSUDOERS=cvtsudoers} + +$CVTSUDOERS -c "" -f sudoers -s aliases,privileges -d user $TESTDIR/sudoers + +exit 0 diff --git a/plugins/sudoers/regress/cvtsudoers/test8.out.ok b/plugins/sudoers/regress/cvtsudoers/test8.out.ok new file mode 100644 index 0000000..7079ee0 --- /dev/null +++ b/plugins/sudoers/regress/cvtsudoers/test8.out.ok @@ -0,0 +1 @@ +Defaults>root !set_logname diff --git a/plugins/sudoers/regress/cvtsudoers/test8.sh b/plugins/sudoers/regress/cvtsudoers/test8.sh new file mode 100755 index 0000000..d00f90e --- /dev/null +++ b/plugins/sudoers/regress/cvtsudoers/test8.sh @@ -0,0 +1,10 @@ +#!/bin/sh +# +# Test runas defaults filtering +# + +: ${CVTSUDOERS=cvtsudoers} + +$CVTSUDOERS -c "" -f sudoers -s aliases,privileges -d runas $TESTDIR/sudoers + +exit 0 diff --git a/plugins/sudoers/regress/cvtsudoers/test9.out.ok b/plugins/sudoers/regress/cvtsudoers/test9.out.ok new file mode 100644 index 0000000..d2a39c4 --- /dev/null +++ b/plugins/sudoers/regress/cvtsudoers/test9.out.ok @@ -0,0 +1 @@ +Defaults@SERVERS log_year, logfile=/var/log/sudo.log diff --git a/plugins/sudoers/regress/cvtsudoers/test9.sh b/plugins/sudoers/regress/cvtsudoers/test9.sh new file mode 100755 index 0000000..b668e1f --- /dev/null +++ b/plugins/sudoers/regress/cvtsudoers/test9.sh @@ -0,0 +1,10 @@ +#!/bin/sh +# +# Test host defaults filtering +# + +: ${CVTSUDOERS=cvtsudoers} + +$CVTSUDOERS -c "" -f sudoers -s aliases,privileges -d host $TESTDIR/sudoers + +exit 0 diff --git a/plugins/sudoers/regress/editor/check_editor.c b/plugins/sudoers/regress/editor/check_editor.c new file mode 100644 index 0000000..eef9d38 --- /dev/null +++ b/plugins/sudoers/regress/editor/check_editor.c @@ -0,0 +1,162 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2021-2022 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#include + +#include +#include +#include + +#define SUDO_ERROR_WRAP 0 + +#include "sudoers.h" +#include + +/* Note hard-coded array lengths. */ +struct test_data { + const char *editor_var; + int nfiles; + const char *files[4]; + const char *editor_path; + int edit_argc; + const char *edit_argv[10]; +} test_data[] = { + { + /* Bug #942 */ + "SUDO_EDITOR=sh -c \"vi \\$1\"", + 1, + { "/etc/motd", NULL }, + "/usr/bin/sh", + 5, + { "sh", "-c", "vi $1", "--", "/etc/motd", NULL } + }, + { + /* Try connecting to the emacs server, falling back on plain emacs. */ + "VISUAL=sh -c \"emacsclient -a emacs -n \\\"\\$@\\\" || emacs \\\"\\$@\\\"\"", + 1, + { "/etc/motd", NULL }, + "/usr/bin/sh", + 5, + { "sh", "-c", "emacsclient -a emacs -n \"$@\" || emacs \"$@\"", "--", "/etc/motd", NULL } + }, + { + /* GitHub issue #99 */ + "EDITOR=/usr/bin/vi\\", + 1, + { "/etc/hosts", "/bogus/file", NULL }, + "/usr/bin/vi\\", + 3, + { "/usr/bin/vi\\", "--", "/etc/hosts", "/bogus/file", NULL } + }, + { + /* GitHub issue #179 */ + "EDITOR=sed -rie s/^\\\\(foo\\\\)/waldo\\\\1/", + 1, + { "/etc/sudoers", NULL }, + "/usr/bin/sed", + 5, + { "sed", "-rie", "s/^\\(foo\\)/waldo\\1/", "--", "/etc/sudoers", NULL } + }, + { NULL } +}; + +sudo_dso_public int main(int argc, char *argv[]); + +/* STUB */ +int +find_path(const char *infile, char **outfile, struct stat *sbp, + const char *path, const char *runchroot, int ignore_dot, + char * const *allowlist) +{ + if (infile[0] == '/') { + *outfile = strdup(infile); + } else { + if (asprintf(outfile, "/usr/bin/%s", infile) == -1) + *outfile = NULL; + } + if (*outfile == NULL) + return NOT_FOUND_ERROR; + return FOUND; +} + +int +main(int argc, char *argv[]) +{ + struct test_data *data; + int ntests = 0, errors = 0; + + initprogname(argc > 0 ? argv[0] : "check_editor"); + + for (data = test_data; data->editor_var != NULL; data++) { + const char *env_editor = NULL; + char *cp, *editor_path, **edit_argv = NULL; + int i, edit_argc = 0; + + /* clear existing editor environment vars */ + putenv((char *)"VISUAL="); + putenv((char *)"EDITOR="); + putenv((char *)"SUDO_EDITOR="); + + putenv((char *)data->editor_var); + editor_path = find_editor(data->nfiles, (char **)data->files, + &edit_argc, &edit_argv, NULL, &env_editor); + ntests++; + if (strcmp(editor_path, data->editor_path) != 0) { + sudo_warnx("test %d: editor_path: expected \"%s\", got \"%s\"", + ntests, data->editor_path, editor_path); + errors++; + } + ntests++; + cp = strchr(data->editor_var, '=') + 1; + if (strcmp(env_editor, cp) != 0) { + sudo_warnx("test %d: env_editor: expected \"%s\", got \"%s\"", + ntests, cp, env_editor ? env_editor : "(NULL)"); + errors++; + } + ntests++; + if (edit_argc != data->edit_argc) { + sudo_warnx("test %d: edit_argc: expected %d, got %d", + ntests, data->edit_argc, edit_argc); + errors++; + } else { + ntests++; + for (i = 0; i < edit_argc; i++) { + if (strcmp(edit_argv[i], data->edit_argv[i]) != 0) { + sudo_warnx("test %d: edit_argv[%d]: expected \"%s\", got \"%s\"", + ntests, i, data->edit_argv[i], edit_argv[i]); + errors++; + break; + } + } + } + + free(editor_path); + edit_argc -= data->nfiles + 1; + for (i = 0; i < edit_argc; i++) { + free(edit_argv[i]); + } + free(edit_argv); + } + + if (ntests != 0) { + printf("%s: %d tests run, %d errors, %d%% success rate\n", + getprogname(), ntests, errors, (ntests - errors) * 100 / ntests); + } + + exit(errors); +} diff --git a/plugins/sudoers/regress/env_match/check_env_pattern.c b/plugins/sudoers/regress/env_match/check_env_pattern.c new file mode 100644 index 0000000..ce2c267 --- /dev/null +++ b/plugins/sudoers/regress/env_match/check_env_pattern.c @@ -0,0 +1,76 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2017 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#include + +#include +#include +#include + +#include "sudoers.h" + +sudo_dso_public int main(int argc, char *argv[]); + +int +main(int argc, char *argv[]) +{ + FILE *fp = stdin; + char pattern[1024], string[1024]; + int errors = 0, tests = 0, got, want; + + initprogname(argc > 0 ? argv[0] : "check_env_pattern"); + + if (argc > 1) { + if ((fp = fopen(argv[1], "r")) == NULL) { + perror(argv[1]); + exit(EXIT_FAILURE); + } + } + + /* + * Read in test file, which is formatted thusly: + * + * pattern string 1/0 + * + */ + for (;;) { + bool full_match = false; + + got = fscanf(fp, "%s %s %d\n", pattern, string, &want); + if (got == EOF) + break; + if (got == 3) { + got = matches_env_pattern(pattern, string, &full_match); + if (full_match) + got++; + if (got != want) { + fprintf(stderr, + "%s: %s %s: want %d, got %d\n", + getprogname(), pattern, string, want, got); + errors++; + } + tests++; + } + } + if (tests != 0) { + printf("%s: %d test%s run, %d errors, %d%% success rate\n", + getprogname(), tests, tests == 1 ? "" : "s", errors, + (tests - errors) * 100 / tests); + } + exit(errors); +} diff --git a/plugins/sudoers/regress/env_match/data b/plugins/sudoers/regress/env_match/data new file mode 100644 index 0000000..ea28b1b --- /dev/null +++ b/plugins/sudoers/regress/env_match/data @@ -0,0 +1,22 @@ +foo=(){false;} foo=(){false;} 2 +foo foo=(){false;} 1 +foo= foo=(){false;} 0 +foo=* foo=(){false;} 1 +foo=(* foo=(){false;} 2 +foo=()* foo=(){false;} 2 +foo=*()* foo=(){false;} 2 +foo() foo()=a 1 +foo*() foo()=b 1 +foo*()* foo()= 1 +foo()* foo()= 1 +foo* foo()= 1 +fo*o*() foo()= 1 +fo*o*() fooo()== 1 +fo*o*() foooo()= 1 +fo*o*() foooo 0 +MYPATH=*:/mydir:* MYPATH=/dir1/subdir1:/mydir:/dir2:/dir3/subdir2 2 +MYPATH=*:/mydir:** MYPATH=/dir1/subdir1:/mydir:/dir2:/dir3/subdir2 2 +MYPATH=*:/mdir:* MYPATH=/dir1/subdir1:/mydir:/dir2:/dir3/subdir2 0 +a*a*a*a*a*a* aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa=b 1 +a*a*a*a*a*a*=b* aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa=b 2 +a*a*a*a*a*a*=* aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa=c 1 diff --git a/plugins/sudoers/regress/exptilde/check_exptilde.c b/plugins/sudoers/regress/exptilde/check_exptilde.c new file mode 100644 index 0000000..93f9b4b --- /dev/null +++ b/plugins/sudoers/regress/exptilde/check_exptilde.c @@ -0,0 +1,105 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2020 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#include + +#include +#include +#include +#include +#include +#include + +#define SUDO_ERROR_WRAP 0 + +#include "sudoers.h" + +#include + +struct sudo_user sudo_user; + +struct test_data { + const char *input; + const char *output; + const char *user; + bool result; +} test_data[] = { + { "foo/bar", NULL, NULL, false }, + { "~root", "/", NULL, true }, + { "~", "/home/millert", "millert", true }, + { "~/foo", "/home/millert/foo", "millert", true }, + { "~millert", "/home/millert", "millert", true }, + { "~millert/bar", "/home/millert/bar", "millert", true }, + { NULL } +}; + +sudo_dso_public int main(int argc, char *argv[]); + +int +main(int argc, char *argv[]) +{ + int ntests = 0, errors = 0; + struct test_data *td; + struct passwd *pw; + char *path = NULL; + bool result; + + initprogname(argc > 0 ? argv[0] : "check_exptilde"); + + /* Prime the passwd cache */ + pw = sudo_mkpwent("root", 0, 0, "/", "/bin/sh"); + if (pw == NULL) + sudo_fatalx("unable to create passwd entry for root"); + sudo_pw_delref(pw); + + pw = sudo_mkpwent("millert", 8036, 20, "/home/millert", "/bin/tcsh"); + if (pw == NULL) + sudo_fatalx("unable to create passwd entry for millert"); + sudo_pw_delref(pw); + + for (td = test_data; td->input != NULL; td++) { + ntests++; + free(path); + if ((path = strdup(td->input)) == NULL) + sudo_fatal(NULL); + result = expand_tilde(&path, td->user); + if (result != td->result) { + errors++; + if (result) { + sudo_warnx("unexpected success: input %s, output %s", + td->input, path); + } else { + sudo_warnx("unexpected failure: input %s", td->input); + } + continue; + } + if (td->result && strcmp(path, td->output) != 0) { + errors++; + sudo_warnx("incorrect output for input %s: expected %s, got %s", + td->input, td->output, path); + continue; + } + } + + if (ntests != 0) { + printf("%s: %d tests run, %d errors, %d%% success rate\n", + getprogname(), ntests, errors, (ntests - errors) * 100 / ntests); + } + + exit(errors); +} diff --git a/plugins/sudoers/regress/fuzz/fuzz_policy.c b/plugins/sudoers/regress/fuzz/fuzz_policy.c new file mode 100644 index 0000000..da53750 --- /dev/null +++ b/plugins/sudoers/regress/fuzz/fuzz_policy.c @@ -0,0 +1,877 @@ +/* + * Copyright (c) 2021-2022 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#include + +#include +#include +#include +#include + +#include +#include +#include +#if defined(HAVE_STDINT_H) +# include +#elif defined(HAVE_INTTYPES_H) +# include +#endif +#include +#include +#include +#include +#include +#ifndef HAVE_GETADDRINFO +# include "compat/getaddrinfo.h" +#endif + +#include "sudoers.h" +#include "sudo_iolog.h" +#include "interfaces.h" +#include "check.h" + +extern char **environ; +extern sudo_dso_public struct policy_plugin sudoers_policy; + +const char *path_plugin_dir = _PATH_SUDO_PLUGIN_DIR; +char *audit_msg; + +static int pass; + +int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size); + +static FILE * +open_data(const uint8_t *data, size_t size) +{ +#ifdef HAVE_FMEMOPEN + /* Operate in-memory. */ + return fmemopen((void *)data, size, "r"); +#else + char tempfile[] = "/tmp/sudoers.XXXXXX"; + size_t nwritten; + int fd; + + /* Use (unlinked) temporary file. */ + fd = mkstemp(tempfile); + if (fd == -1) + return NULL; + unlink(tempfile); + nwritten = write(fd, data, size); + if (nwritten != size) { + close(fd); + return NULL; + } + lseek(fd, 0, SEEK_SET); + return fdopen(fd, "r"); +#endif +} + +/* + * Array that gets resized as needed. + */ +struct dynamic_array { + char **entries; + size_t len; + size_t size; +}; + +static void +free_strvec(char **vec) +{ + int i; + + for (i = 0; vec[i] != NULL; i++) + free(vec[i]); +} + +static void +free_dynamic_array(struct dynamic_array *arr) +{ + if (arr->entries != NULL) { + free_strvec(arr->entries); + free(arr->entries); + } + memset(arr, 0, sizeof(*arr)); +} + +static bool +push(struct dynamic_array *arr, const char *entry) +{ + char *copy = NULL; + + if (entry != NULL) { + if ((copy = strdup(entry)) == NULL) + return false; + } + + if (arr->len + (entry != NULL) >= arr->size) { + char **tmp = reallocarray(arr->entries, arr->size + 1024, sizeof(char *)); + if (tmp == NULL) { + free(copy); + return false; + } + arr->entries = tmp; + arr->size += 1024; + } + if (copy != NULL) + arr->entries[arr->len++] = copy; + arr->entries[arr->len] = NULL; + + return true; +} + +static int +fuzz_conversation(int num_msgs, const struct sudo_conv_message msgs[], + struct sudo_conv_reply replies[], struct sudo_conv_callback *callback) +{ + int n; + + for (n = 0; n < num_msgs; n++) { + const struct sudo_conv_message *msg = &msgs[n]; + + switch (msg->msg_type & 0xff) { + case SUDO_CONV_PROMPT_ECHO_ON: + case SUDO_CONV_PROMPT_MASK: + case SUDO_CONV_PROMPT_ECHO_OFF: + /* input not supported */ + return -1; + case SUDO_CONV_ERROR_MSG: + case SUDO_CONV_INFO_MSG: + /* no output for fuzzers */ + break; + default: + return -1; + } + } + return 0; +} + +static int +fuzz_printf(int msg_type, const char *fmt, ...) +{ + return 0; +} + +static int +fuzz_hook_stub(struct sudo_hook *hook) +{ + return 0; +} + +/* + * The fuzzing environment may not have DNS available, this may result + * in long delays that cause a timeout when fuzzing. This getaddrinfo() + * can look up "localhost" and returns an error for anything else. + */ +#ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION +/* Avoid compilation errors if getaddrinfo() or freeaddrinfo() are macros. */ +# undef getaddrinfo +# undef freeaddrinfo + +int +# ifdef HAVE_GETADDRINFO +getaddrinfo( +# else +sudo_getaddrinfo( +# endif + const char *nodename, const char *servname, + const struct addrinfo *hints, struct addrinfo **res) +{ + struct addrinfo *ai; + struct in_addr addr; + + /* Stub getaddrinfo(3) to avoid a DNS timeout in CIfuzz. */ + if (strcmp(nodename, "localhost") != 0 || servname != NULL) + return EAI_FAIL; + + /* Hard-code localhost. */ + ai = calloc(1, sizeof(*ai) + sizeof(struct sockaddr_in)); + if (ai == NULL) + return EAI_MEMORY; + ai->ai_canonname = strdup("localhost"); + if (ai == NULL) { + free(ai); + return EAI_MEMORY; + } + ai->ai_family = AF_INET; + ai->ai_protocol = IPPROTO_TCP; + ai->ai_addrlen = sizeof(struct sockaddr_in); + ai->ai_addr = (struct sockaddr *)(ai + 1); + inet_pton(AF_INET, "127.0.0.1", &addr); + ((struct sockaddr_in *)ai->ai_addr)->sin_family = AF_INET; + ((struct sockaddr_in *)ai->ai_addr)->sin_addr = addr; + *res = ai; + return 0; +} + +void +# ifdef HAVE_GETADDRINFO +freeaddrinfo(struct addrinfo *ai) +# else +sudo_freeaddrinfo(struct addrinfo *ai) +# endif +{ + struct addrinfo *next; + + while (ai != NULL) { + next = ai->ai_next; + free(ai->ai_canonname); + free(ai); + ai = next; + } +} +#endif /* FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */ + +enum fuzz_policy_pass { + PASS_NONE, + PASS_VERSION, + PASS_CHECK_LOG_LOCAL, + PASS_CHECK_LOG_REMOTE, + PASS_CHECK_NOT_FOUND, + PASS_CHECK_NOT_FOUND_DOT, + PASS_LIST, + PASS_LIST_OTHER, + PASS_LIST_CHECK, + PASS_VALIDATE, + PASS_INVALIDATE +}; + +int +LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) +{ + struct dynamic_array plugin_args = { NULL }; + struct dynamic_array settings = { NULL }; + struct dynamic_array user_info = { NULL }; + struct dynamic_array argv = { NULL }; + struct dynamic_array env_add = { NULL }; + char **command_info = NULL, **argv_out = NULL, **user_env_out = NULL; + const char *errstr = NULL; + const int num_passes = 10; + char *line = NULL; + size_t linesize = 0; + ssize_t linelen; + int res = 1; + FILE *fp; + + fp = open_data(data, size); + if (fp == NULL) + return 0; + + initprogname("fuzz_policy"); + sudoers_debug_register(getprogname(), NULL); + if (getenv("SUDO_FUZZ_VERBOSE") == NULL) + sudo_warn_set_conversation(fuzz_conversation); + + /* user_info and settings must be non-NULL (even if empty). */ + push(&user_info, NULL); + push(&settings, NULL); + + /* Iterate over each line of data. */ + while ((linelen = getdelim(&line, &linesize, '\n', fp)) != -1) { + if (line[linelen - 1] == '\n') + line[linelen - 1] = '\0'; + + /* Skip comments and blank lines. */ + if (line[0] == '#' || line[0] == '\0') + continue; + + /* plugin args */ + if (strncmp(line, "error_recovery=", sizeof("error_recovery=") - 1) == 0) { + push(&plugin_args, line); + continue; + } + if (strncmp(line, "sudoers_file=", sizeof("sudoers_file=") - 1) == 0) { + push(&plugin_args, line); + continue; + } + if (strncmp(line, "sudoers_mode=", sizeof("sudoers_mode=") - 1) == 0) { + push(&plugin_args, line); + continue; + } + if (strncmp(line, "sudoers_gid=", sizeof("sudoers_gid=") - 1) == 0) { + push(&plugin_args, line); + continue; + } + if (strncmp(line, "sudoers_uid=", sizeof("sudoers_uid=") - 1) == 0) { + push(&plugin_args, line); + continue; + } + if (strncmp(line, "ldap_conf=", sizeof("ldap_conf=") - 1) == 0) { + push(&plugin_args, line); + continue; + } + if (strncmp(line, "ldap_secret=", sizeof("ldap_secret=") - 1) == 0) { + push(&plugin_args, line); + continue; + } + + /* user info */ + if (strncmp(line, "user=", sizeof("user=") - 1) == 0) { + push(&user_info, line); + continue; + } + if (strncmp(line, "uid=", sizeof("uid=") - 1) == 0) { + push(&user_info, line); + continue; + } + if (strncmp(line, "gid=", sizeof("gid=") - 1) == 0) { + push(&user_info, line); + continue; + } + if (strncmp(line, "groups=", sizeof("groups=") - 1) == 0) { + push(&user_info, line); + continue; + } + if (strncmp(line, "cwd=", sizeof("cwd=") - 1) == 0) { + push(&user_info, line); + continue; + } + if (strncmp(line, "tty=", sizeof("tty=") - 1) == 0) { + push(&user_info, line); + continue; + } + if (strncmp(line, "host=", sizeof("host=") - 1) == 0) { + push(&user_info, line); + continue; + } + if (strncmp(line, "lines=", sizeof("lines=") - 1) == 0) { + push(&user_info, line); + continue; + } + if (strncmp(line, "cols=", sizeof("cols=") - 1) == 0) { + push(&user_info, line); + continue; + } + if (strncmp(line, "sid=", sizeof("sid=") - 1) == 0) { + push(&user_info, line); + continue; + } + if (strncmp(line, "umask=", sizeof("umask=") - 1) == 0) { + push(&user_info, line); + continue; + } + if (strncmp(line, "rlimit_", sizeof("rlimit_") - 1) == 0) { + push(&user_info, line); + continue; + } + + /* First argv entry is the command, the rest are args. */ + if (strncmp(line, "argv=", sizeof("argv=") - 1) == 0) { + push(&argv, line); + continue; + } + + /* Additional environment variables to add. */ + if (strncmp(line, "env=", sizeof("env=") - 1) == 0) { + const char *cp = line + sizeof("env=") - 1; + if (strchr(cp, '=') != NULL) + push(&env_add, cp); + continue; + } + + /* Treat anything else as a setting. */ + push(&settings, line); + } + fclose(fp); + free(line); + line = NULL; + + /* Exercise code paths that use KRB5CCNAME and SUDO_PROMPT. */ + putenv((char *)"KRB5CCNAME=/tmp/krb5cc_123456"); + putenv((char *)"SUDO_PROMPT=[sudo] password for %p: "); + + sudoers_policy.register_hooks(SUDO_API_VERSION, fuzz_hook_stub); + + for (pass = 1; res == 1 && pass <= num_passes; pass++) { + /* Call policy open function */ + res = sudoers_policy.open(SUDO_API_VERSION, fuzz_conversation, + fuzz_printf, settings.entries, user_info.entries, environ, + plugin_args.entries, &errstr); + if (res == 1) { + if (argv.len == 0) { + /* Must have a command to check. */ + push(&argv, "/usr/bin/id"); + } + + switch (pass) { + case PASS_NONE: + break; + case PASS_VERSION: + /* sudo -V */ + sudoers_policy.show_version(true); + break; + case PASS_CHECK_LOG_LOCAL: { + /* sudo command w/ local I/O logging (MODE_RUN) */ + sudoers_policy.check_policy(argv.len, argv.entries, + env_add.entries, &command_info, &argv_out, &user_env_out, + &errstr); + /* call check_policy() again to check for leaks. */ + sudoers_policy.check_policy(argv.len, argv.entries, + env_add.entries, &command_info, &argv_out, &user_env_out, + &errstr); + /* sudo_auth_begin_session() is stubbed out below. */ + sudoers_policy.init_session(NULL, NULL, NULL); + break; + } + case PASS_CHECK_LOG_REMOTE: + /* sudo command w/ remote I/O logging (MODE_RUN) */ + sudoers_policy.check_policy(argv.len, argv.entries, + env_add.entries, &command_info, &argv_out, &user_env_out, + &errstr); + /* call check_policy() again to check for leaks. */ + sudoers_policy.check_policy(argv.len, argv.entries, + env_add.entries, &command_info, &argv_out, &user_env_out, + &errstr); + /* sudo_auth_begin_session() is stubbed out below. */ + sudoers_policy.init_session(NULL, NULL, NULL); + break; + case PASS_CHECK_NOT_FOUND: + /* sudo command (not found) */ + sudoers_policy.check_policy(argv.len, argv.entries, + env_add.entries, &command_info, &argv_out, &user_env_out, + &errstr); + /* sudo_auth_begin_session() is stubbed out below. */ + sudoers_policy.init_session(NULL, NULL, NULL); + break; + case PASS_CHECK_NOT_FOUND_DOT: + /* sudo command (found but in cwd) */ + sudoers_policy.check_policy(argv.len, argv.entries, + env_add.entries, &command_info, &argv_out, &user_env_out, + &errstr); + /* call check_policy() again to check for leaks. */ + sudoers_policy.check_policy(argv.len, argv.entries, + env_add.entries, &command_info, &argv_out, &user_env_out, + &errstr); + /* sudo_auth_begin_session() is stubbed out below. */ + sudoers_policy.init_session(NULL, NULL, NULL); + break; + case PASS_LIST: + /* sudo -l (MODE_LIST) */ + sudoers_policy.list(0, NULL, false, NULL, &errstr); + /* call list() again to check for leaks. */ + sudoers_policy.list(0, NULL, false, NULL, &errstr); + break; + case PASS_LIST_OTHER: + /* sudo -l -U root (MODE_LIST) */ + sudoers_policy.list(0, NULL, false, "root", &errstr); + /* call list() again to check for leaks. */ + sudoers_policy.list(0, NULL, false, "root", &errstr); + break; + case PASS_LIST_CHECK: + /* sudo -l command (MODE_CHECK) */ + sudoers_policy.list(argv.len, argv.entries, false, NULL, + &errstr); + /* call list() again to check for leaks. */ + sudoers_policy.list(argv.len, argv.entries, false, NULL, + &errstr); + break; + case PASS_VALIDATE: + /* sudo -v (MODE_VALIDATE) */ + sudoers_policy.validate(&errstr); + /* call validate() again to check for leaks. */ + sudoers_policy.validate(&errstr); + break; + case PASS_INVALIDATE: + /* sudo -k */ + sudoers_policy.invalidate(false); + /* call invalidate() again to check for leaks. */ + sudoers_policy.invalidate(false); + break; + } + } + + /* Free resources. */ + if (sudoers_policy.close != NULL) + sudoers_policy.close(0, 0); + else + sudoers_cleanup(); + + /* Call a second time to free old env pointer. */ + env_init(NULL); + } + + sudoers_policy.deregister_hooks(SUDO_API_VERSION, fuzz_hook_stub); + sudoers_gc_run(); + + free_dynamic_array(&plugin_args); + free_dynamic_array(&settings); + free_dynamic_array(&user_info); + free_dynamic_array(&argv); + free_dynamic_array(&env_add); + + sudoers_debug_deregister(); + + fflush(stdout); + + return 0; +} + +/* STUB */ +bool +user_is_exempt(void) +{ + return false; +} + +/* STUB */ +bool +set_interfaces(const char *ai) +{ + return true; +} + +/* STUB */ +void +dump_interfaces(const char *ai) +{ + return; +} + +/* STUB */ +void +dump_auth_methods(void) +{ + return; +} + +/* STUB */ +int +sudo_auth_begin_session(struct passwd *pw, char **user_env[]) +{ + return 1; +} + +/* STUB */ +int +sudo_auth_end_session(struct passwd *pw) +{ + return 1; +} + +/* STUB */ +bool +sudo_auth_needs_end_session(void) +{ + return false; +} + +/* STUB */ +int +timestamp_remove(bool unlink_it) +{ + return true; +} + +/* STUB */ +int +create_admin_success_flag(void) +{ + return true; +} + +/* STUB */ +static int +sudo_file_open(struct sudo_nss *nss) +{ + return 0; +} + +/* STUB */ +static int +sudo_file_close(struct sudo_nss *nss) +{ + return 0; +} + +/* STUB */ +static struct sudoers_parse_tree * +sudo_file_parse(struct sudo_nss *nss) +{ + static struct sudoers_parse_tree parse_tree; + + return &parse_tree; +} + +/* STUB */ +static int +sudo_file_query(struct sudo_nss *nss, struct passwd *pw) +{ + return 0; +} + +/* STUB */ +static int +sudo_file_getdefs(struct sudo_nss *nss) +{ + /* Set some Defaults */ + set_default("log_input", NULL, true, "sudoers", 1, 1, false); + set_default("log_output", NULL, true, "sudoers", 1, 1, false); + set_default("env_file", "/dev/null", true, "sudoers", 1, 1, false); + set_default("restricted_env_file", "/dev/null", true, "sudoers", 1, 1, false); + set_default("exempt_group", "sudo", true, "sudoers", 1, 1, false); + set_default("runchroot", "/", true, "sudoers", 1, 1, false); + set_default("runcwd", "~", true, "sudoers", 1, 1, false); + set_default("fqdn", NULL, true, "sudoers", 1, 1, false); + set_default("runas_default", "root", true, "sudoers", 1, 1, false); + set_default("tty_tickets", NULL, true, "sudoers", 1, 1, false); + set_default("umask", "022", true, "sudoers", 1, 1, false); + set_default("logfile", "/var/log/sudo", true, "sudoers", 1, 1, false); + set_default("syslog", "auth", true, "sudoers", 1, 1, false); + set_default("syslog_goodpri", "notice", true, "sudoers", 1, 1, false); + set_default("syslog_badpri", "alert", true, "sudoers", 1, 1, false); + set_default("syslog_maxlen", "2048", true, "sudoers", 1, 1, false); + set_default("loglinelen", "0", true, "sudoers", 1, 1, false); + set_default("log_year", NULL, true, "sudoers", 1, 1, false); + set_default("log_host", NULL, true, "sudoers", 1, 1, false); + set_default("mailerpath", NULL, false, "sudoers", 1, 1, false); + set_default("mailerflags", "-t", true, "sudoers", 1, 1, false); + set_default("mailto", "root@localhost", true, "sudoers", 1, 1, false); + set_default("mailfrom", "sudo@sudo.ws", true, "sudoers", 1, 1, false); + set_default("mailsub", "Someone has been naughty on %h", true, "sudoers", 1, 1, false); + set_default("timestampowner", "#0", true, "sudoers", 1, 1, false); + set_default("compress_io", NULL, true, "sudoers", 1, 1, false); + set_default("iolog_flush", NULL, true, "sudoers", 1, 1, false); + set_default("iolog_flush", NULL, true, "sudoers", 1, 1, false); + set_default("maxseq", "2176782336", true, "sudoers", 1, 1, false); + set_default("sudoedit_checkdir", NULL, false, "sudoers", 1, 1, false); + set_default("sudoedit_follow", NULL, true, "sudoers", 1, 1, false); + set_default("ignore_iolog_errors", NULL, true, "sudoers", 1, 1, false); + set_default("ignore_iolog_errors", NULL, true, "sudoers", 1, 1, false); + set_default("noexec", NULL, true, "sudoers", 1, 1, false); + set_default("exec_background", NULL, true, "sudoers", 1, 1, false); + set_default("use_pty", NULL, true, "sudoers", 1, 1, false); + set_default("utmp_runas", NULL, true, "sudoers", 1, 1, false); + set_default("iolog_mode", "0640", true, "sudoers", 1, 1, false); + set_default("iolog_user", NULL, false, "sudoers", 1, 1, false); + set_default("iolog_group", NULL, false, "sudoers", 1, 1, false); + if (pass != PASS_CHECK_LOG_LOCAL) { + set_default("log_servers", "localhost", true, "sudoers", 1, 1, false); + set_default("log_server_timeout", "30", true, "sudoers", 1, 1, false); + set_default("log_server_cabundle", "/etc/ssl/cacert.pem", true, "sudoers", 1, 1, false); + set_default("log_server_peer_cert", "/etc/ssl/localhost.crt", true, "sudoers", 1, 1, false); + set_default("log_server_peer_key", "/etc/ssl/private/localhost.key", true, "sudoers", 1, 1, false); + } + + return 0; +} + +static struct sudo_nss sudo_nss_file = { + { NULL, NULL }, + "sudoers", + sudo_file_open, + sudo_file_close, + sudo_file_parse, + sudo_file_query, + sudo_file_getdefs +}; + +struct sudo_nss_list * +sudo_read_nss(void) +{ + static struct sudo_nss_list snl = TAILQ_HEAD_INITIALIZER(snl); + + if (TAILQ_EMPTY(&snl)) + TAILQ_INSERT_TAIL(&snl, &sudo_nss_file, entries); + + return &snl; +} + +/* STUB */ +int +check_user(int validated, int mode) +{ + return true; +} + +/* STUB */ +bool +check_user_shell(const struct passwd *pw) +{ + return true; +} + +/* STUB */ +void +group_plugin_unload(void) +{ + return; +} + +/* STUB */ +bool +log_warning(int flags, const char *fmt, ...) +{ + return true; +} + +/* STUB */ +bool +log_warningx(int flags, const char *fmt, ...) +{ + return true; +} + +/* STUB */ +bool +gai_log_warning(int flags, int errnum, const char *fmt, ...) +{ + return true; +} + +/* STUB */ +bool +log_denial(int status, bool inform_user) +{ + return true; +} + +/* STUB */ +bool +log_failure(int status, int flags) +{ + return true; +} + +/* STUB */ +bool +log_exit_status(int exit_status) +{ + return true; +} + +/* STUB */ +bool +mail_parse_errors(void) +{ + return true; +} + +/* STUB */ +bool +log_parse_error(const char *file, int line, int column, const char *fmt, + va_list args) +{ + return true; +} + +/* STUB */ +int +audit_failure(char *const argv[], char const *const fmt, ...) +{ + return 0; +} + +/* STUB */ +int +sudoers_lookup(struct sudo_nss_list *snl, struct passwd *pw, int *cmnd_status, + int pwflag) +{ + return VALIDATE_SUCCESS; +} + +/* STUB */ +int +display_cmnd(struct sudo_nss_list *snl, struct passwd *pw) +{ + return true; +} + +/* STUB */ +int +display_privs(struct sudo_nss_list *snl, struct passwd *pw, bool verbose) +{ + return true; +} + +/* STUB */ +int +find_path(const char *infile, char **outfile, struct stat *sbp, + const char *path, const char *runchroot, int ignore_dot, + char * const *allowlist) +{ + switch (pass) { + case PASS_CHECK_NOT_FOUND: + return NOT_FOUND; + case PASS_CHECK_NOT_FOUND_DOT: + return NOT_FOUND_DOT; + default: + if (infile[0] == '/') { + *outfile = strdup(infile); + } else { + if (asprintf(outfile, "/usr/bin/%s", infile) == -1) + *outfile = NULL; + } + if (*outfile == NULL) + return NOT_FOUND_ERROR; + return FOUND; + } +} + +/* STUB */ +bool +expand_iolog_path(const char *inpath, char *path, size_t pathlen, + const struct iolog_path_escape *escapes, void *closure) +{ + return strlcpy(path, inpath, pathlen) < pathlen; +} + +/* STUB */ +bool +iolog_nextid(const char *iolog_dir, char sessid[7]) +{ + strlcpy(sessid, "000001", 7); + return true; +} + +/* STUB */ +bool +cb_maxseq(const char *file, int line, int column, + const union sudo_defs_val *sd_un, int op) +{ + return true; +} + +/* STUB */ +bool +cb_iolog_user(const char *file, int line, int column, + const union sudo_defs_val *sd_un, int op) +{ + return true; +} + +/* STUB */ +bool +cb_iolog_group(const char *file, int line, int column, + const union sudo_defs_val *sd_un, int op) +{ + return true; +} + +/* STUB */ +bool +cb_iolog_mode(const char *file, int line, int column, + const union sudo_defs_val *sd_un, int op) +{ + return true; +} + +/* STUB */ +bool +cb_group_plugin(const char *file, int line, int column, + const union sudo_defs_val *sd_un, int op) +{ + return true; +} diff --git a/plugins/sudoers/regress/fuzz/fuzz_policy.dict b/plugins/sudoers/regress/fuzz/fuzz_policy.dict new file mode 100644 index 0000000..d00aeae --- /dev/null +++ b/plugins/sudoers/regress/fuzz/fuzz_policy.dict @@ -0,0 +1,56 @@ +# Policy plugin keywords (all are keyword = value) + +# sudoers plugin options from sudo.conf +"error_recovery" +"sudoers_file" +"sudoers_uid" +"sudoers_gid" +"sudoers_mode" +"ldap_conf" +"ldap_secret" + +# command line settings from front-end +"closefrom" +"cmnd_chroot" +"cmnd_cwd" +"runas_user" +"runas_group" +"prompt" +"set_home" +"preserve_environment" +"run_shell" +"login_shell" +"implied_shell" +"preserve_groups" +"ignore_ticket" +"update_ticket" +"noninteractive" +"sudoedit" +"login_class" +"intercept_setid" +"intercept_ptrace" +"selinux_role" +"selinux_type" +"apparmor_profile" +"bsdauth_type" +"network_addrs" +"max_groups" +"remote_host" +"timeout" +"askpass" +"plugin_dir" +"progname" + +# user information from front-end +"user" +"uid" +"gid" +"groups" +"cwd" +"tty" +"host" +"lines" +"cols" +"sid" +"tcpgid" +"umask" diff --git a/plugins/sudoers/regress/fuzz/fuzz_stubs.c b/plugins/sudoers/regress/fuzz/fuzz_stubs.c new file mode 100644 index 0000000..27b26c0 --- /dev/null +++ b/plugins/sudoers/regress/fuzz/fuzz_stubs.c @@ -0,0 +1,87 @@ +/* + * Copyright (c) 2021 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#include + +#include + +#include +#include +#include +#include +#include +#include +#include +#if defined(HAVE_STDINT_H) +# include +#elif defined(HAVE_INTTYPES_H) +# include +#endif +#include +#include +#ifdef NEED_RESOLV_H +# include +# include +#endif /* NEED_RESOLV_H */ +#include + +#include "sudoers.h" +#include "interfaces.h" + +int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size); + +struct interface_list * +get_interfaces(void) +{ + static struct interface_list empty = SLIST_HEAD_INITIALIZER(interfaces); + return ∅ +} + +void +init_eventlog_config(void) +{ + return; +} + +int +group_plugin_query(const char *user, const char *group, const struct passwd *pw) +{ + return false; +} + +bool +set_perms(int perm) +{ + return true; +} + +bool +restore_perms(void) +{ + return true; +} + +bool +rewind_perms(void) +{ + return true; +} + +bool +sudo_nss_can_continue(struct sudo_nss *nss, int match) +{ + return true; +} diff --git a/plugins/sudoers/regress/fuzz/fuzz_sudoers.c b/plugins/sudoers/regress/fuzz/fuzz_sudoers.c new file mode 100644 index 0000000..15dc72a --- /dev/null +++ b/plugins/sudoers/regress/fuzz/fuzz_sudoers.c @@ -0,0 +1,419 @@ +/* + * Copyright (c) 2021 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#include + +#include + +#include +#include +#include +#include +#include +#include +#include +#if defined(HAVE_STDINT_H) +# include +#elif defined(HAVE_INTTYPES_H) +# include +#endif +#include +#include +#ifdef NEED_RESOLV_H +# include +# include +#endif /* NEED_RESOLV_H */ +#include + +#include "sudoers.h" +#include "interfaces.h" + +static int fuzz_conversation(int num_msgs, const struct sudo_conv_message msgs[], struct sudo_conv_reply replies[], struct sudo_conv_callback *callback); +static int fuzz_printf(int msg_type, const char *fmt, ...); +int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size); + +/* For set_cmnd_path() */ +static const char *orig_cmnd; + +/* Required to link with parser. */ +struct sudo_user sudo_user; +struct passwd *list_pw; +sudo_conv_t sudo_conv = fuzz_conversation; +sudo_printf_t sudo_printf = fuzz_printf; +int sudo_mode; + +FILE * +open_sudoers(const char *file, bool doedit, bool *keepopen) +{ + /* + * If we allow the fuzzer to choose include paths it will + * include random files in the file system. + * This leads to bug reports that cannot be reproduced. + */ + return NULL; +} + +static int +fuzz_printf(int msg_type, const char *fmt, ...) +{ + return 0; +} + +static int +fuzz_conversation(int num_msgs, const struct sudo_conv_message msgs[], + struct sudo_conv_reply replies[], struct sudo_conv_callback *callback) +{ + int n; + + for (n = 0; n < num_msgs; n++) { + const struct sudo_conv_message *msg = &msgs[n]; + + switch (msg->msg_type & 0xff) { + case SUDO_CONV_PROMPT_ECHO_ON: + case SUDO_CONV_PROMPT_MASK: + case SUDO_CONV_PROMPT_ECHO_OFF: + /* input not supported */ + return -1; + case SUDO_CONV_ERROR_MSG: + case SUDO_CONV_INFO_MSG: + /* no output for fuzzers */ + break; + default: + return -1; + } + } + return 0; +} + +bool +init_envtables(void) +{ + return true; +} + +int +set_cmnd_path(const char *runchroot) +{ + /* Reallocate user_cmnd to catch bugs in command_matches(). */ + char *new_cmnd = strdup(orig_cmnd); + if (new_cmnd == NULL) + return NOT_FOUND_ERROR; + free(user_cmnd); + user_cmnd = new_cmnd; + return FOUND; +} + +/* STUB */ +bool +mail_parse_errors(void) +{ + return true; +} + +/* STUB */ +bool +log_warningx(int flags, const char *fmt, ...) +{ + return true; +} + +static int +sudo_fuzz_query(struct sudo_nss *nss, struct passwd *pw) +{ + return 0; +} + +static int +cb_unused(struct sudoers_parse_tree *parse_tree, struct alias *a, void *v) +{ + return 0; +} + +bool +cb_log_input(const char *file, int line, int column, + const union sudo_defs_val *sd_un, int op) +{ + return 0; +} + +bool +cb_log_output(const char *file, int line, int column, + const union sudo_defs_val *sd_un, int op) +{ + return 0; +} + +static FILE * +open_data(const uint8_t *data, size_t size) +{ +#ifdef HAVE_FMEMOPEN + /* Operate in-memory. */ + return fmemopen((void *)data, size, "r"); +#else + char tempfile[] = "/tmp/sudoers.XXXXXX"; + size_t nwritten; + int fd; + + /* Use (unlinked) temporary file. */ + fd = mkstemp(tempfile); + if (fd == -1) + return NULL; + unlink(tempfile); + nwritten = write(fd, data, size); + if (nwritten != size) { + close(fd); + return NULL; + } + lseek(fd, 0, SEEK_SET); + return fdopen(fd, "r"); +#endif +} + +static struct user_data { + const char *user; + const char *runuser; + const char *rungroup; +} user_data[] = { + { "root", NULL, NULL }, + { "millert", "operator", NULL }, + { "millert", NULL, "wheel" }, + { "operator", NULL, NULL }, + { NULL } +}; + +int +LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) +{ + struct user_data *ud; + struct sudo_nss sudo_nss_fuzz; + struct sudo_nss_list snl = TAILQ_HEAD_INITIALIZER(snl); + struct sudoers_parse_tree parse_tree; + struct interface_list *interfaces; + struct passwd *pw; + struct group *gr; + const char *gids[10]; + FILE *fp; + + /* Don't waste time fuzzing tiny inputs. */ + if (size < 5) + return 0; + + fp = open_data(data, size); + if (fp == NULL) + return 0; + + initprogname("fuzz_sudoers"); + sudoers_debug_register(getprogname(), NULL); + if (getenv("SUDO_FUZZ_VERBOSE") == NULL) + sudo_warn_set_conversation(fuzz_conversation); + + /* Sudoers locale setup. */ + sudoers_initlocale(setlocale(LC_ALL, ""), "C"); + sudo_warn_set_locale_func(sudoers_warn_setlocale); + bindtextdomain("sudoers", LOCALEDIR); + textdomain("sudoers"); + + /* Use the sudoers locale for everything. */ + sudoers_setlocale(SUDOERS_LOCALE_SUDOERS, NULL); + + /* Prime the group cache */ + gr = sudo_mkgrent("wheel", 0, "millert", "root", (char *)NULL); + if (gr == NULL) + goto done; + sudo_gr_delref(gr); + + gr = sudo_mkgrent("operator", 5, "operator", "root", "millert", (char *)NULL); + if (gr == NULL) + goto done; + sudo_gr_delref(gr); + + gr = sudo_mkgrent("staff", 20, "root", "millert", (char *)NULL); + if (gr == NULL) + goto done; + sudo_gr_delref(gr); + + gr = sudo_mkgrent("sudo", 100, "root", "millert", (char *)NULL); + if (gr == NULL) + goto done; + sudo_gr_delref(gr); + + /* Prime the passwd cache */ + pw = sudo_mkpwent("root", 0, 0, "/", "/bin/sh"); + if (pw == NULL) + goto done; + gids[0] = "0"; + gids[1] = "20"; + gids[2] = "5"; + gids[3] = NULL; + if (sudo_set_gidlist(pw, (char **)gids, ENTRY_TYPE_FRONTEND) == -1) + goto done; + sudo_pw_delref(pw); + + pw = sudo_mkpwent("operator", 2, 5, "/operator", "/sbin/nologin"); + if (pw == NULL) + goto done; + gids[0] = "5"; + gids[1] = NULL; + if (sudo_set_gidlist(pw, (char **)gids, ENTRY_TYPE_FRONTEND) == -1) + goto done; + sudo_pw_delref(pw); + + pw = sudo_mkpwent("millert", 8036, 20, "/home/millert", "/bin/tcsh"); + if (pw == NULL) + goto done; + gids[0] = "0"; + gids[1] = "20"; + gids[2] = "5"; + gids[3] = "100"; + gids[4] = NULL; + if (sudo_set_gidlist(pw, (char **)gids, ENTRY_TYPE_FRONTEND) == -1) + goto done; + sudo_pw_delref(pw); + + /* The minimum needed to perform matching (user_cmnd must be dynamic). */ + user_host = user_shost = user_runhost = user_srunhost = (char *)"localhost"; + orig_cmnd = (char *)"/usr/bin/id"; + user_cmnd = strdup(orig_cmnd); + if (user_cmnd == NULL) + goto done; + user_args = (char *)"-u"; + user_base = sudo_basename(user_cmnd); + + /* Add a fake network interfaces. */ + interfaces = get_interfaces(); + if (SLIST_EMPTY(interfaces)) { + static struct interface interface; + + interface.family = AF_INET; + inet_pton(AF_INET, "128.138.243.151", &interface.addr.ip4); + inet_pton(AF_INET, "255.255.255.0", &interface.netmask.ip4); + SLIST_INSERT_HEAD(interfaces, &interface, entries); + } + + /* Only one sudoers source, the sudoers file itself. */ + init_parse_tree(&parse_tree, NULL, NULL); + memset(&sudo_nss_fuzz, 0, sizeof(sudo_nss_fuzz)); + sudo_nss_fuzz.parse_tree = &parse_tree; + sudo_nss_fuzz.query = sudo_fuzz_query; + TAILQ_INSERT_TAIL(&snl, &sudo_nss_fuzz, entries); + + /* Initialize defaults and parse sudoers. */ + init_defaults(); + init_parser("sudoers", false, true); + sudoersrestart(fp); + sudoersparse(); + reparent_parse_tree(&parse_tree); + + if (!parse_error) { + /* Match user/host/command against parsed policy. */ + for (ud = user_data; ud->user != NULL; ud++) { + int cmnd_status; + + /* Invoking user. */ + user_name = (char *)ud->user; + if (sudo_user.pw != NULL) + sudo_pw_delref(sudo_user.pw); + sudo_user.pw = sudo_getpwnam(user_name); + if (sudo_user.pw == NULL) { + sudo_warnx_nodebug("unknown user %s", user_name); + continue; + } + + /* Run user. */ + if (runas_pw != NULL) + sudo_pw_delref(runas_pw); + if (ud->runuser != NULL) { + sudo_user.runas_user = (char *)ud->runuser; + SET(sudo_user.flags, RUNAS_USER_SPECIFIED); + runas_pw = sudo_getpwnam(sudo_user.runas_user); + } else { + sudo_user.runas_user = NULL; + CLR(sudo_user.flags, RUNAS_USER_SPECIFIED); + runas_pw = sudo_getpwnam("root"); + } + if (runas_pw == NULL) { + sudo_warnx_nodebug("unknown run user %s", sudo_user.runas_user); + continue; + } + + /* Run group. */ + if (runas_gr != NULL) + sudo_gr_delref(runas_gr); + if (ud->rungroup != NULL) { + sudo_user.runas_group = (char *)ud->rungroup; + SET(sudo_user.flags, RUNAS_GROUP_SPECIFIED); + runas_gr = sudo_getgrnam(sudo_user.runas_group); + if (runas_gr == NULL) { + sudo_warnx_nodebug("unknown run group %s", + sudo_user.runas_group); + continue; + } + } else { + sudo_user.runas_group = NULL; + CLR(sudo_user.flags, RUNAS_GROUP_SPECIFIED); + runas_gr = NULL; + } + + update_defaults(&parse_tree, NULL, SETDEF_ALL, false); + + sudoers_lookup(&snl, sudo_user.pw, &cmnd_status, false); + + /* Match again as a pseudo-command (list, validate, etc). */ + sudoers_lookup(&snl, sudo_user.pw, &cmnd_status, true); + + /* Display privileges. */ + display_privs(&snl, sudo_user.pw, false); + display_privs(&snl, sudo_user.pw, true); + } + + /* Expand tildes in runcwd and runchroot. */ + if (runas_pw != NULL) { + if (def_runcwd != NULL && strcmp(def_runcwd, "*") != 0) { + expand_tilde(&def_runcwd, runas_pw->pw_name); + } + if (def_runchroot != NULL && strcmp(def_runchroot, "*") != 0) { + expand_tilde(&def_runchroot, runas_pw->pw_name); + } + } + + /* Check Defaults and aliases. */ + check_defaults(&parse_tree, false); + check_aliases(&parse_tree, true, false, cb_unused); + } + +done: + /* Cleanup. */ + fclose(fp); + free_parse_tree(&parse_tree); + init_parser(NULL, true, true); + if (sudo_user.pw != NULL) + sudo_pw_delref(sudo_user.pw); + if (runas_pw != NULL) + sudo_pw_delref(runas_pw); + if (runas_gr != NULL) + sudo_gr_delref(runas_gr); + sudo_freepwcache(); + sudo_freegrcache(); + free(user_cmnd); + free(safe_cmnd); + free(list_cmnd); + memset(&sudo_user, 0, sizeof(sudo_user)); + sudoers_setlocale(SUDOERS_LOCALE_USER, NULL); + sudoers_debug_deregister(); + fflush(stdout); + + return 0; +} diff --git a/plugins/sudoers/regress/fuzz/fuzz_sudoers.dict b/plugins/sudoers/regress/fuzz/fuzz_sudoers.dict new file mode 100644 index 0000000..101e002 --- /dev/null +++ b/plugins/sudoers/regress/fuzz/fuzz_sudoers.dict @@ -0,0 +1,221 @@ +# Sudoers policy keywords (all are keyword = value) + +# Users and groups +"root" +"wheel" +"staff" +"sudo" + +# Aliases +"Cmnd_Alias" +"Cmd_Alias" +"Host_Alias" +"Runas_Alias" +"User_Alias" + +# Special keywords +"ALL" +"(ALL:ALL)" +"sudoedit" + +# Date_Spec +"20170214083000Z" +"2017021408Z" +"20160315220000-0500" +"20151201235900" + +# Timeout_Spec +"7d8h30m10s" +"14d" +"8h30m" +"600s" +"3600" + +# Command digests +"sha224:" +"sha256:" +"sha384:" +"sha512:" + +# Command tags +"NOPASSWD" +"PASSWD" +"NOEXEC" +"EXEC" +"SETENV" +"NOSETENV" +"LOG_INPUT" +"NOLOG_INPUT" +"LOG_OUTPUT" +"NOLOG_OUTPUT" +"FOLLOWLNK" +"NOFOLLOWLNK" +"MAIL" +"NOMAIL" + +# Command options +"CHROOT" +"CWD" +"CMND_TIMEOUT" +"NOTBEFORE" +"NOTAFTER" +"ROLE" +"TYPE" +"APPARMOR_PROFILE" +"PRIVS" +"LIMITPRIVS" + +# Defaults settings +"Defaults" +"syslog" +"syslog_goodpri" +"syslog_badpri" +"long_otp_prompt" +"ignore_dot" +"mail_always" +"mail_badpass" +"mail_no_user" +"mail_no_host" +"mail_no_perms" +"mail_all_cmnds" +"tty_tickets" +"lecture" +"lecture_file" +"authenticate" +"root_sudo" +"log_host" +"log_year" +"shell_noargs" +"set_home" +"always_set_home" +"path_info" +"fqdn" +"insults" +"requiretty" +"env_editor" +"rootpw" +"runaspw" +"targetpw" +"use_loginclass" +"set_logname" +"stay_setuid" +"preserve_groups" +"loglinelen" +"timestamp_timeout" +"passwd_timeout" +"passwd_tries" +"umask" +"logfile" +"mailerpath" +"mailerflags" +"mailto" +"mailfrom" +"mailsub" +"badpass_message" +"lecture_status_dir" +"timestampdir" +"timestampowner" +"exempt_group" +"passprompt" +"passprompt_override" +"runas_default" +"secure_path" +"editor" +"listpw" +"verifypw" +"noexec" +"ignore_local_sudoers" +"closefrom" +"closefrom_override" +"setenv" +"env_reset" +"env_check" +"env_delete" +"env_keep" +"role" +"type" +"apparmor_profile" +"env_file" +"restricted_env_file" +"sudoers_locale" +"visiblepw" +"pwfeedback" +"fast_glob" +"umask_override" +"log_input" +"log_output" +"compress_io" +"use_pty" +"group_plugin" +"iolog_dir" +"iolog_file" +"set_utmp" +"utmp_runas" +"privs" +"limitprivs" +"exec_background" +"pam_service" +"pam_login_service" +"pam_setcred" +"pam_session" +"pam_acct_mgmt" +"maxseq" +"use_netgroups" +"sudoedit_checkdir" +"sudoedit_follow" +"always_query_group_plugin" +"netgroup_tuple" +"ignore_audit_errors" +"ignore_iolog_errors" +"ignore_logfile_errors" +"match_group_by_gid" +"syslog_maxlen" +"iolog_user" +"iolog_group" +"iolog_mode" +"fdexec" +"ignore_unknown_defaults" +"command_timeout" +"user_command_timeouts" +"iolog_flush" +"syslog_pid" +"timestamp_type" +"authfail_message" +"case_insensitive_user" +"case_insensitive_group" +"log_allowed" +"log_denied" +"log_servers" +"log_server_timeout" +"log_server_keepalive" +"log_server_cabundle" +"log_server_peer_cert" +"log_server_peer_key" +"log_server_verify" +"runas_allow_unknown_id" +"runas_check_shell" +"pam_ruser" +"pam_rhost" +"runcwd" +"runchroot" +"log_format" +"selinux" +"admin_flag" +"intercept" +"log_subcmds" +"log_exit_status" +"intercept_authenticate" +"intercept_allow_setid" +"rlimit_as" +"rlimit_core" +"rlimit_cpu" +"rlimit_data" +"rlimit_fsize" +"rlimit_locks" +"rlimit_memlock" +"rlimit_nofile" +"rlimit_nproc" +"rlimit_rss" +"rlimit_stack" +"log_passwords" +"passprompt_regex" diff --git a/plugins/sudoers/regress/fuzz/fuzz_sudoers.out.ok b/plugins/sudoers/regress/fuzz/fuzz_sudoers.out.ok new file mode 100644 index 0000000..11f2ca8 --- /dev/null +++ b/plugins/sudoers/regress/fuzz/fuzz_sudoers.out.ok @@ -0,0 +1,577 @@ +Running: examples/sudoers +Matching Defaults entries for root on localhost: + syslog=auth, runcwd=~ + +Runas and Command-specific defaults for root: + Defaults>root !set_logname Defaults!/usr/bin/more, /usr/bin/pg, /usr/bin/less noexec + + +User root may run the following commands on localhost: + (ALL) ALL + (ALL) ALL + +Matching Defaults entries for root on localhost: + syslog=auth, runcwd=~ + +Runas and Command-specific defaults for root: + Defaults>root !set_logname Defaults!/usr/bin/more, /usr/bin/pg, /usr/bin/less noexec + + +User root may run the following commands on localhost: + +Sudoers entry: + RunAsUsers: ALL + Commands: + ALL + +Sudoers entry: + RunAsUsers: ALL + Commands: + ALL + +Matching Defaults entries for millert on localhost: + syslog=auth, runcwd=~, !lecture, runchroot=*, !authenticate + +Runas and Command-specific defaults for millert: + Defaults>root !set_logname Defaults!/usr/bin/more, /usr/bin/pg, /usr/bin/less noexec + + +User millert may run the following commands on localhost: + (ALL) ALL + (root) NOPASSWD: ALL + +Matching Defaults entries for millert on localhost: + syslog=auth, runcwd=~, !lecture, runchroot=*, !authenticate + +Runas and Command-specific defaults for millert: + Defaults>root !set_logname Defaults!/usr/bin/more, /usr/bin/pg, /usr/bin/less noexec + + +User millert may run the following commands on localhost: + +Sudoers entry: + RunAsUsers: ALL + Commands: + ALL + +Sudoers entry: + RunAsUsers: root + Options: !authenticate + Commands: + ALL + +Matching Defaults entries for millert on localhost: + syslog=auth, runcwd=~, !lecture, runchroot=*, !authenticate + +Runas and Command-specific defaults for millert: + Defaults>root !set_logname Defaults!/usr/bin/more, /usr/bin/pg, /usr/bin/less noexec + + +User millert may run the following commands on localhost: + (ALL) ALL + (root) NOPASSWD: ALL + +Matching Defaults entries for millert on localhost: + syslog=auth, runcwd=~, !lecture, runchroot=*, !authenticate + +Runas and Command-specific defaults for millert: + Defaults>root !set_logname Defaults!/usr/bin/more, /usr/bin/pg, /usr/bin/less noexec + + +User millert may run the following commands on localhost: + +Sudoers entry: + RunAsUsers: ALL + Commands: + ALL + +Sudoers entry: + RunAsUsers: root + Options: !authenticate + Commands: + ALL + +Matching Defaults entries for operator on localhost: + syslog=auth, runcwd=~ + +Runas and Command-specific defaults for operator: + Defaults>root !set_logname Defaults!/usr/bin/more, /usr/bin/pg, /usr/bin/less noexec + + +User operator may run the following commands on localhost: + (root) /usr/sbin/dump, /usr/sbin/rdump, /usr/sbin/restore, /usr/sbin/rrestore, /usr/bin/mt, sha224:0GomF8mNN3wlDt1HD9XldjJ3SNgpFdbjO1+NsQ== /home/operator/bin/start_backups, /usr/bin/kill, /usr/bin/top, /usr/sbin/shutdown, /usr/sbin/halt, /usr/sbin/reboot, /usr/sbin/lpc, /usr/bin/lprm, sudoedit /etc/printcap, /usr/oper/bin/ + +Matching Defaults entries for operator on localhost: + syslog=auth, runcwd=~ + +Runas and Command-specific defaults for operator: + Defaults>root !set_logname Defaults!/usr/bin/more, /usr/bin/pg, /usr/bin/less noexec + + +User operator may run the following commands on localhost: + +Sudoers entry: + RunAsUsers: root + Commands: + /usr/sbin/dump + /usr/sbin/rdump + /usr/sbin/restore + /usr/sbin/rrestore + /usr/bin/mt + sha224:0GomF8mNN3wlDt1HD9XldjJ3SNgpFdbjO1+NsQ== /home/operator/bin/start_backups + /usr/bin/kill + /usr/bin/top + /usr/sbin/shutdown + /usr/sbin/halt + /usr/sbin/reboot + /usr/sbin/lpc + /usr/bin/lprm + sudoedit /etc/printcap + /usr/oper/bin/ + +Executed examples/sudoers +Running: regress/sudoers/test1.in +User root is not allowed to run sudo on localhost. + +User root is not allowed to run sudo on localhost. + +User millert is not allowed to run sudo on localhost. + +User millert is not allowed to run sudo on localhost. + +User millert is not allowed to run sudo on localhost. + +User millert is not allowed to run sudo on localhost. + +User operator is not allowed to run sudo on localhost. + +User operator is not allowed to run sudo on localhost. + +Executed regress/sudoers/test1.in +Running: regress/sudoers/test2.in +User root is not allowed to run sudo on localhost. + +User root is not allowed to run sudo on localhost. + +User millert is not allowed to run sudo on localhost. + +User millert is not allowed to run sudo on localhost. + +User millert is not allowed to run sudo on localhost. + +User millert is not allowed to run sudo on localhost. + +User operator is not allowed to run sudo on localhost. + +User operator is not allowed to run sudo on localhost. + +Executed regress/sudoers/test2.in +Running: regress/sudoers/test3.in +User root is not allowed to run sudo on localhost. + +User root is not allowed to run sudo on localhost. + +User millert is not allowed to run sudo on localhost. + +User millert is not allowed to run sudo on localhost. + +User millert is not allowed to run sudo on localhost. + +User millert is not allowed to run sudo on localhost. + +User operator is not allowed to run sudo on localhost. + +User operator is not allowed to run sudo on localhost. + +Executed regress/sudoers/test3.in +Running: regress/sudoers/test4.in +sudoers:7:1: invalid line continuation +User_Alias BAR = bar +^~~~~~~~~~ +Executed regress/sudoers/test4.in +Running: regress/sudoers/test5.in +sudoers:2:19: empty string +User_Alias FOO = "" + ^ +sudoers:3:2: empty string +"" ALL = ALL + ^ +Executed regress/sudoers/test5.in +Running: regress/sudoers/test6.in +Runas and Command-specific defaults for root: + Defaults>#123 set_home + Defaults>#123 set_home + + +User root may run the following commands on localhost: + (root) ALL + (#0 : #0) ALL + (root) ALL + (#0 : #0) ALL + (root) ALL + (root) ALL + +Runas and Command-specific defaults for root: + Defaults>#123 set_home + Defaults>#123 set_home + + +User root may run the following commands on localhost: + +Sudoers entry: + RunAsUsers: root + Commands: + ALL + +Sudoers entry: + RunAsUsers: #0 + RunAsGroups: #0 + Commands: + ALL + +Sudoers entry: + RunAsUsers: root + Commands: + ALL + +Sudoers entry: + RunAsUsers: #0 + RunAsGroups: #0 + Commands: + ALL + +Sudoers entry: + RunAsUsers: root + Commands: + ALL + +Sudoers entry: + RunAsUsers: root + Commands: + ALL + +Runas and Command-specific defaults for millert: + Defaults>#123 set_home + Defaults>#123 set_home + + +User millert may run the following commands on localhost: + (root) ALL + (root) ALL + +Runas and Command-specific defaults for millert: + Defaults>#123 set_home + Defaults>#123 set_home + + +User millert may run the following commands on localhost: + +Sudoers entry: + RunAsUsers: root + Commands: + ALL + +Sudoers entry: + RunAsUsers: root + Commands: + ALL + +Runas and Command-specific defaults for millert: + Defaults>#123 set_home + Defaults>#123 set_home + + +User millert may run the following commands on localhost: + (root) ALL + (root) ALL + +Runas and Command-specific defaults for millert: + Defaults>#123 set_home + Defaults>#123 set_home + + +User millert may run the following commands on localhost: + +Sudoers entry: + RunAsUsers: root + Commands: + ALL + +Sudoers entry: + RunAsUsers: root + Commands: + ALL + +User operator is not allowed to run sudo on localhost. + +User operator is not allowed to run sudo on localhost. + +Executed regress/sudoers/test6.in +Running: regress/sudoers/test7.in +sudoers:2:21: empty group +User_Alias FOO1 = "%" + ^ +sudoers:3:22: empty group +User_Alias FOO2 = "%:" + ^ +sudoers:4:21: empty netgroup +User_Alias FOO3 = "+" + ^ +sudoers:5:19: empty group +User_Alias FOO4 = % + ^ +sudoers:6:19: empty group +User_Alias FOO5 = %: + ^~ +sudoers:7:19: empty netgroup +User_Alias FOO6 = + + ^ +Executed regress/sudoers/test7.in +Running: regress/sudoers/test8.in +sudoers:8:20: unexpected line break in string +User_Alias UA4 = "x + ^ +Executed regress/sudoers/test8.in +Running: regress/sudoers/test9.in +Executed regress/sudoers/test9.in +Running: regress/sudoers/test10.in +Executed regress/sudoers/test10.in +Running: regress/sudoers/test11.in +sudoers:1:6: syntax error +bogus + ^ +Executed regress/sudoers/test11.in +Running: regress/sudoers/test12.in +sudoers:1:17: syntax error +user ALL = (ALL) + ^ +Executed regress/sudoers/test12.in +Running: regress/sudoers/test13.in +sudoers:1:17: syntax error +user ALL = (ALL) + ^ +Executed regress/sudoers/test13.in +Running: regress/sudoers/test14.in +User root is not allowed to run sudo on localhost. + +User root is not allowed to run sudo on localhost. + +User millert may run the following commands on localhost: + (root) sha224:d06a2617c98d377c250edd470fd5e576327748d82915d6e33b5f8db1, sha224:d7910e1967342b4605cb73a550944044c631cd3514001900966962ac /bin/ls, sha256:hOtoe/iK6SlGg7w4BfZBBdSsXjUmTJ5+ts51yjh7vkM=, sha256:1IXHRCxXgSnIEnb+xBz4PAfWaPdXIBWKFF0QCwxJ5G4= /bin/sh, sha512:srzYEQ2aqzm+it3f74opTMkIImZRLxBARVpb0g9RSouJYdLt7DTRMEY4Ry9NyaOiDoUIplpNjqYH0JMYPVdFnw /bin/kill + +User millert may run the following commands on localhost: + +Sudoers entry: + RunAsUsers: root + Commands: + sha224:d06a2617c98d377c250edd470fd5e576327748d82915d6e33b5f8db1, sha224:d7910e1967342b4605cb73a550944044c631cd3514001900966962ac /bin/ls + sha256:hOtoe/iK6SlGg7w4BfZBBdSsXjUmTJ5+ts51yjh7vkM=, sha256:1IXHRCxXgSnIEnb+xBz4PAfWaPdXIBWKFF0QCwxJ5G4= /bin/sh + sha512:srzYEQ2aqzm+it3f74opTMkIImZRLxBARVpb0g9RSouJYdLt7DTRMEY4Ry9NyaOiDoUIplpNjqYH0JMYPVdFnw /bin/kill + +User millert may run the following commands on localhost: + (root) sha224:d06a2617c98d377c250edd470fd5e576327748d82915d6e33b5f8db1, sha224:d7910e1967342b4605cb73a550944044c631cd3514001900966962ac /bin/ls, sha256:hOtoe/iK6SlGg7w4BfZBBdSsXjUmTJ5+ts51yjh7vkM=, sha256:1IXHRCxXgSnIEnb+xBz4PAfWaPdXIBWKFF0QCwxJ5G4= /bin/sh, sha512:srzYEQ2aqzm+it3f74opTMkIImZRLxBARVpb0g9RSouJYdLt7DTRMEY4Ry9NyaOiDoUIplpNjqYH0JMYPVdFnw /bin/kill + +User millert may run the following commands on localhost: + +Sudoers entry: + RunAsUsers: root + Commands: + sha224:d06a2617c98d377c250edd470fd5e576327748d82915d6e33b5f8db1, sha224:d7910e1967342b4605cb73a550944044c631cd3514001900966962ac /bin/ls + sha256:hOtoe/iK6SlGg7w4BfZBBdSsXjUmTJ5+ts51yjh7vkM=, sha256:1IXHRCxXgSnIEnb+xBz4PAfWaPdXIBWKFF0QCwxJ5G4= /bin/sh + sha512:srzYEQ2aqzm+it3f74opTMkIImZRLxBARVpb0g9RSouJYdLt7DTRMEY4Ry9NyaOiDoUIplpNjqYH0JMYPVdFnw /bin/kill + +User operator may run the following commands on localhost: + (root) sha384:knMlCLkJ71K6uRrKo5C1CAvZ5kq+mRpjKDD/RofGosFjiGcYhiYYZORVyiRHgBnu, sha256:1IXHRCxXgSnIEnb+xBz4PAfWaPdXIBWKFF0QCwxJ5G4= ALL + +User operator may run the following commands on localhost: + +Sudoers entry: + RunAsUsers: root + Commands: + sha384:knMlCLkJ71K6uRrKo5C1CAvZ5kq+mRpjKDD/RofGosFjiGcYhiYYZORVyiRHgBnu, sha256:1IXHRCxXgSnIEnb+xBz4PAfWaPdXIBWKFF0QCwxJ5G4= ALL + +Executed regress/sudoers/test14.in +Running: regress/sudoers/test15.in +User root is not allowed to run sudo on localhost. + +User root is not allowed to run sudo on localhost. + +User millert is not allowed to run sudo on localhost. + +User millert is not allowed to run sudo on localhost. + +User millert is not allowed to run sudo on localhost. + +User millert is not allowed to run sudo on localhost. + +User operator is not allowed to run sudo on localhost. + +User operator is not allowed to run sudo on localhost. + +Executed regress/sudoers/test15.in +Running: regress/sudoers/test16.in +User root is not allowed to run sudo on localhost. + +User root is not allowed to run sudo on localhost. + +User millert is not allowed to run sudo on localhost. + +User millert is not allowed to run sudo on localhost. + +User millert is not allowed to run sudo on localhost. + +User millert is not allowed to run sudo on localhost. + +User operator is not allowed to run sudo on localhost. + +User operator is not allowed to run sudo on localhost. + +Executed regress/sudoers/test16.in +Running: regress/sudoers/test17.in +User root is not allowed to run sudo on localhost. + +User root is not allowed to run sudo on localhost. + +User millert is not allowed to run sudo on localhost. + +User millert is not allowed to run sudo on localhost. + +User millert is not allowed to run sudo on localhost. + +User millert is not allowed to run sudo on localhost. + +User operator is not allowed to run sudo on localhost. + +User operator is not allowed to run sudo on localhost. + +Executed regress/sudoers/test17.in +Running: regress/sudoers/test18.in +sudoers:4:21: invalid timeout value +user0 ALL = TIMEOUT=7dd4h10m30s /usr/bin/id, /usr/bin/who, TIMEOUT=0 /bin/ls + ^~~~~~~~~~~ +sudoers:5:21: invalid timeout value +user1 ALL = TIMEOUT=7d4h10mm30s /usr/bin/id + ^~~~~~~~~~~ +sudoers:6:21: invalid timeout value +user2 ALL = TIMEOUT=4hg10m30s /usr/bin/id + ^~~~~~~~~ +sudoers:7:21: invalid timeout value +user3 ALL = TIMEOUT=10m30ss /usr/bin/id + ^~~~~~~ +sudoers:8:21: invalid timeout value +user4 ALL = TIMEOUT=14g /usr/bin/id + ^~~ +Executed regress/sudoers/test18.in +Running: regress/sudoers/test19.in +User root is not allowed to run sudo on localhost. + +User root is not allowed to run sudo on localhost. + +User millert is not allowed to run sudo on localhost. + +User millert is not allowed to run sudo on localhost. + +User millert is not allowed to run sudo on localhost. + +User millert is not allowed to run sudo on localhost. + +User operator is not allowed to run sudo on localhost. + +User operator is not allowed to run sudo on localhost. + +Executed regress/sudoers/test19.in +Running: regress/sudoers/test20.in +User root is not allowed to run sudo on localhost. + +User root is not allowed to run sudo on localhost. + +User millert is not allowed to run sudo on localhost. + +User millert is not allowed to run sudo on localhost. + +User millert is not allowed to run sudo on localhost. + +User millert is not allowed to run sudo on localhost. + +User operator is not allowed to run sudo on localhost. + +User operator is not allowed to run sudo on localhost. + +Executed regress/sudoers/test20.in +Running: regress/sudoers/test21.in +User root is not allowed to run sudo on localhost. + +User root is not allowed to run sudo on localhost. + +User millert is not allowed to run sudo on localhost. + +User millert is not allowed to run sudo on localhost. + +User millert is not allowed to run sudo on localhost. + +User millert is not allowed to run sudo on localhost. + +User operator is not allowed to run sudo on localhost. + +User operator is not allowed to run sudo on localhost. + +Executed regress/sudoers/test21.in +Running: regress/sudoers/test22.in +User root is not allowed to run sudo on localhost. + +User root is not allowed to run sudo on localhost. + +User millert is not allowed to run sudo on localhost. + +User millert is not allowed to run sudo on localhost. + +User millert is not allowed to run sudo on localhost. + +User millert is not allowed to run sudo on localhost. + +User operator is not allowed to run sudo on localhost. + +User operator is not allowed to run sudo on localhost. + +Executed regress/sudoers/test22.in +Running: regress/sudoers/test23.in +User root is not allowed to run sudo on localhost. + +User root is not allowed to run sudo on localhost. + +User millert is not allowed to run sudo on localhost. + +User millert is not allowed to run sudo on localhost. + +User millert is not allowed to run sudo on localhost. + +User millert is not allowed to run sudo on localhost. + +User operator is not allowed to run sudo on localhost. + +User operator is not allowed to run sudo on localhost. + +Executed regress/sudoers/test23.in +Running: regress/sudoers/test24.in +User root is not allowed to run sudo on localhost. + +User root is not allowed to run sudo on localhost. + +User millert is not allowed to run sudo on localhost. + +User millert is not allowed to run sudo on localhost. + +User millert is not allowed to run sudo on localhost. + +User millert is not allowed to run sudo on localhost. + +User operator is not allowed to run sudo on localhost. + +User operator is not allowed to run sudo on localhost. + +Executed regress/sudoers/test24.in +Running: regress/sudoers/test25.in +sudoers:4:28: syntax error +foo ALL = CWD=~ron /bin/ls \ + ^~ +Executed regress/sudoers/test25.in diff --git a/plugins/sudoers/regress/fuzz/fuzz_sudoers_ldif.c b/plugins/sudoers/regress/fuzz/fuzz_sudoers_ldif.c new file mode 100644 index 0000000..f3a28a4 --- /dev/null +++ b/plugins/sudoers/regress/fuzz/fuzz_sudoers_ldif.c @@ -0,0 +1,152 @@ +/* + * Copyright (c) 2021 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#include + +#include +#include +#include +#include +#if defined(HAVE_STDINT_H) +# include +#elif defined(HAVE_INTTYPES_H) +# include +#endif + +#include "sudoers.h" + +static int fuzz_printf(int msg_type, const char *fmt, ...); +int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size); + +/* Required to link with parser. */ +struct sudo_user sudo_user; +struct passwd *list_pw; +sudo_printf_t sudo_printf = fuzz_printf; + +FILE * +open_sudoers(const char *file, bool doedit, bool *keepopen) +{ + /* + * If we allow the fuzzer to choose include paths it will + * include random files in the file system. + * This leads to bug reports that cannot be reproduced. + */ + return NULL; +} + +static int +fuzz_printf(int msg_type, const char *fmt, ...) +{ + return 0; +} + +bool +init_envtables(void) +{ + return true; +} + +int +set_cmnd_path(const char *runchroot) +{ + /* Cannot return FOUND without also setting user_cmnd to a new value. */ + return NOT_FOUND; +} + +static FILE * +open_data(const uint8_t *data, size_t size) +{ +#ifdef HAVE_FMEMOPEN + /* Operate in-memory. */ + return fmemopen((void *)data, size, "r"); +#else + char tempfile[] = "/tmp/ldif.XXXXXX"; + size_t nwritten; + int fd; + + /* Use (unlinked) temporary file. */ + fd = mkstemp(tempfile); + if (fd == -1) + return NULL; + unlink(tempfile); + nwritten = write(fd, data, size); + if (nwritten != size) { + close(fd); + return NULL; + } + lseek(fd, 0, SEEK_SET); + return fdopen(fd, "r"); +#endif +} + +static int +fuzz_conversation(int num_msgs, const struct sudo_conv_message msgs[], + struct sudo_conv_reply replies[], struct sudo_conv_callback *callback) +{ + int n; + + for (n = 0; n < num_msgs; n++) { + const struct sudo_conv_message *msg = &msgs[n]; + + switch (msg->msg_type & 0xff) { + case SUDO_CONV_PROMPT_ECHO_ON: + case SUDO_CONV_PROMPT_MASK: + case SUDO_CONV_PROMPT_ECHO_OFF: + /* input not supported */ + return -1; + case SUDO_CONV_ERROR_MSG: + case SUDO_CONV_INFO_MSG: + /* no output for fuzzers */ + break; + default: + return -1; + } + } + return 0; +} + +int +LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) +{ + struct sudoers_parse_tree parse_tree; + FILE *fp; + + /* Don't waste time fuzzing tiny inputs. */ + if (size < 5) + return 0; + + fp = open_data(data, size); + if (fp == NULL) + return 0; + + initprogname("fuzz_sudoers_ldif"); + sudoers_debug_register(getprogname(), NULL); + if (getenv("SUDO_FUZZ_VERBOSE") == NULL) + sudo_warn_set_conversation(fuzz_conversation); + + /* Initialize defaults and parse LDIF-format sudoers. */ + init_defaults(); + init_parse_tree(&parse_tree, NULL, NULL); + sudoers_parse_ldif(&parse_tree, fp, "ou=SUDOers,dc=sudo,dc=ws", true); + + /* Cleanup. */ + free_parse_tree(&parse_tree); + fclose(fp); + sudoers_debug_deregister(); + fflush(stdout); + + return 0; +} diff --git a/plugins/sudoers/regress/fuzz/fuzz_sudoers_ldif.dict b/plugins/sudoers/regress/fuzz/fuzz_sudoers_ldif.dict new file mode 100644 index 0000000..7c4d2d0 --- /dev/null +++ b/plugins/sudoers/regress/fuzz/fuzz_sudoers_ldif.dict @@ -0,0 +1,14 @@ +# Sudoers LDIF attributes + +"description" +"objectClass" +"organizationalRole" +"sudoCommand" +"sudoHost" +"sudoOption" +"sudoOption" +"sudoOrder" +"sudoRunAs" +"sudoRunAsGroup" +"sudoRunAsUser" +"sudoUser" diff --git a/plugins/sudoers/regress/harness.in b/plugins/sudoers/regress/harness.in new file mode 100755 index 0000000..9aa6e76 --- /dev/null +++ b/plugins/sudoers/regress/harness.in @@ -0,0 +1,217 @@ +#!/bin/sh +# +# Copyright (c) 2022 Todd C. Miller +# +# Permission to use, copy, modify, and distribute this software for any +# purpose with or without fee is hereby granted, provided that the above +# copyright notice and this permission notice appear in all copies. +# +# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +# +# Simple test harness for sudoers tests. +# usage: harness [-v] test_group [test_name ...] +# +srcdir="@abs_srcdir@" +builddir="@abs_builddir@" +SHELL=@SHELL@ +verbose=0 +rval=0 +ntests=0 +errors=0 + +umask 022 + +if [ "$1" = "-v" ]; then + verbose=1 + shift +fi + +if [ $# -eq 0 ]; then + echo "usage: harness test_group [test_name ...]" >&2 + exit 1 +fi +group="$1" +shift +srcdir=${srcdir%"/regress"} +builddir=${builddir%"/regress"} + +if [ ! -d "$srcdir/regress/$group" ]; then + echo "missing test group: regress/$group" >&2 + exit 1 +fi + +case "$group" in +sudoers) + mkdir -p "$builddir/regress/$group" + if [ $# -eq 0 ]; then + tests= + for t in $srcdir/regress/$group/*.in; do + tests="$tests `basename $t .in`" + done + set -- $tests + fi + while [ $# -ne 0 ]; do + test="$1" + shift + in="$srcdir/regress/sudoers/${test}.in" + out="$builddir/regress/sudoers/${test}.out" + out_ok="$srcdir/regress/sudoers/${test}.out.ok" + toke="$builddir/regress/sudoers/${test}.toke" + toke_ok="$srcdir/regress/sudoers/${test}.toke.ok" + json="$builddir/regress/sudoers/${test}.json" + json_ok="$srcdir/regress/sudoers/${test}.json.ok" + ldif="$builddir/regress/sudoers/${test}.ldif" + ldif_ok="$srcdir/regress/sudoers/${test}.ldif.ok" + ldif2sudo="$builddir/regress/sudoers/${test}.ldif2sudo" + ldif2sudo_ok="$srcdir/regress/sudoers/${test}.ldif2sudo.ok" + sudo="$builddir/regress/sudoers/${test}.sudo" + + $builddir/testsudoers -dt <$in >$out 2>$toke || true + ntests=`expr $ntests + 1` + if cmp $out $out_ok >/dev/null; then + if [ $verbose -eq 1 ]; then + echo "$group/$test (parse): OK" + fi + else + errors=`expr $errors + 1` + echo "$group/$test (parse): FAIL" + diff $out $out_ok || true + fi + ntests=`expr $ntests + 1` + if cmp $toke $toke_ok >/dev/null; then + if [ $verbose -eq 1 ]; then + echo "$group/$test (toke): OK" + fi + else + errors=`expr $errors + 1` + echo "$group/$test (toke): FAIL" + diff $toke $toke_ok || true + fi + + $builddir/cvtsudoers -c "" -f json $in >$json 2>/dev/null || true + ntests=`expr $ntests + 1` + if cmp $json $json_ok >/dev/null; then + if [ $verbose -eq 1 ]; then + echo "$group/$test (json): OK" + fi + else + errors=`expr $errors + 1` + echo "$group/$test (json): FAIL" + diff $json $json_ok || true + fi + + SUDOERS_BASE="ou=SUDOers,dc=sudo,dc=ws" \ + $builddir/cvtsudoers -c "" -f ldif < $in >$ldif 2>/dev/null || true + ntests=`expr $ntests + 1` + if cmp $ldif $ldif_ok >/dev/null; then + if [ $verbose -eq 1 ]; then + echo "$group/$test (ldif): OK" + fi + else + errors=`expr $errors + 1` + echo "$group/$test: (ldif) FAIL" + diff $ldif $ldif_ok || true + fi + + $builddir/cvtsudoers -c "" -f sudoers $in >$sudo 2>/dev/null || true + ntests=`expr $ntests + 1` + if $builddir/visudo -qcf $sudo; then + if [ $verbose -eq 1 ]; then + echo "$group/$test (reparse): OK" + fi + else + errors=`expr $errors + 1` + echo "$group/$test: (reparse) FAIL" + $builddir/visudo -cf $sudo || true + fi + + if test -s $ldif_ok; then + $builddir/cvtsudoers -c "" -i ldif -f sudoers $ldif_ok >$ldif2sudo || true + ntests=`expr $ntests + 1` + if cmp $ldif2sudo $ldif2sudo_ok >/dev/null; then + if [ $verbose -eq 1 ]; then + echo "$group/$test (ldif2sudo): OK" + fi + else + errors=`expr $errors + 1` + echo "$group/$test: (ldif2sudo) FAIL" + diff $ldif $ldif_ok || true + fi + fi + done + ${AWK-awk} -v group=$group -v ntests=$ntests -v errors=$errors \ + 'END {printf("%s: %d tests run, %d errors, %d%% success rate\n", group, ntests, errors, (ntests - errors) * 100 / ntests)}' < /dev/null + if test $errors -ne 0; then + rval=`expr $rval + $errors` + fi + ;; +*) + TESTSUDOERS=$builddir/testsudoers; export TESTSUDOERS + VISUDO=$builddir/visudo; export VISUDO + CVTSUDOERS=$builddir/cvtsudoers; export CVTSUDOERS + mkdir -p "regress/$group" + if [ $# -eq 0 ]; then + tests= + for t in $srcdir/regress/$group/*.sh; do + tests="$tests `basename $t .sh`" + done + set -- $tests + fi + while [ $# -ne 0 ]; do + test="$1" + shift + + cmd="$srcdir/regress/$group/${test}.sh" + out="$builddir/regress/$group/${test}.out" + out_ok="$srcdir/regress/$group/${test}.out.ok" + err="$builddir/regress/$group/${test}.err" + err_ok="$srcdir/regress/$group/${test}.err.ok" + status=0 + TESTDIR=$srcdir/regress/$group $SHELL $cmd >$out 2>$err || status=$? + ntests=`expr $ntests + 1` + if cmp $out $out_ok >/dev/null; then + if test $status -eq 0; then + if [ $verbose -eq 1 ]; then + echo "$group/$test: OK" + fi + else + errors=`expr $errors + 1` + echo "$group/$test (exit $status): FAIL" + fi + else + errors=`expr $errors + 1` + echo "$group/$test: FAIL" + diff $out $out_ok || true + fi + ntests=`expr $ntests + 1` + if test -s $err_ok; then + if cmp $err $err_ok >/dev/null; then + if [ $verbose -eq 1 ]; then + echo "$group/$test (stderr): OK" + fi + else + errors=`expr $errors + 1` + echo "$group/$test (stderr): FAIL" + diff $err $err_ok || true + fi + elif test -s $err; then + errors=`expr $errors + 1` + echo "$group/$test (stderr): FAIL" + cat $err 1>&2 + fi + done + ${AWK-awk} -v group=$group -v ntests=$ntests -v errors=$errors \ + 'END {printf("%s: %d tests run, %d errors, %d%% success rate\n", group, ntests, errors, (ntests - errors) * 100 / ntests)}' < /dev/null + if test $errors -ne 0; then + rval=`expr $rval + $errors` + fi + ;; +esac + +exit $rval diff --git a/plugins/sudoers/regress/iolog_plugin/check_iolog_plugin.c b/plugins/sudoers/regress/iolog_plugin/check_iolog_plugin.c new file mode 100644 index 0000000..e4cc141 --- /dev/null +++ b/plugins/sudoers/regress/iolog_plugin/check_iolog_plugin.c @@ -0,0 +1,432 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2018-2020 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#include + +#include +#include +#include +#include +#include +#include + +#define SUDO_ERROR_WRAP 0 + +#include "sudoers.h" +#include "sudo_eventlog.h" +#include "sudo_iolog.h" +#include "sudo_plugin.h" + +#include /* for iolog_path.c */ + +extern struct io_plugin sudoers_io; + +struct sudo_user sudo_user; +struct passwd *list_pw; +sudo_printf_t sudo_printf; +sudo_conv_t sudo_conv; +struct sudo_plugin_event * (*plugin_event_alloc)(void); + +sudo_dso_public int main(int argc, char *argv[], char *envp[]); + +static void +usage(void) +{ + fprintf(stderr, "usage: %s pathname\n", getprogname()); + exit(EXIT_FAILURE); +} + +static int +sudo_printf_int(int msg_type, const char *fmt, ...) +{ + va_list ap; + int len; + + switch (msg_type) { + case SUDO_CONV_INFO_MSG: + va_start(ap, fmt); + len = vfprintf(stdout, fmt, ap); + va_end(ap); + break; + case SUDO_CONV_ERROR_MSG: + va_start(ap, fmt); + len = vfprintf(stderr, fmt, ap); + va_end(ap); + break; + default: + len = -1; + errno = EINVAL; + break; + } + + return len; +} + +static bool +validate_iolog_info(const char *log_dir, bool legacy) +{ + struct eventlog *evlog; + time_t now; + + time(&now); + + /* Parse log file. */ + if ((evlog = iolog_parse_loginfo(-1, log_dir)) == NULL) + return false; + + if (evlog->cwd == NULL || strcmp(evlog->cwd, "/") != 0) { + sudo_warnx("bad cwd: want \"/\", got \"%s\"", + evlog->cwd ? evlog->cwd : "NULL"); + return false; + } + + /* No host in the legacy log file. */ + if (!legacy) { + if (evlog->submithost == NULL || strcmp(evlog->submithost, "localhost") != 0) { + sudo_warnx("bad host: want \"localhost\", got \"%s\"", + evlog->submithost ? evlog->submithost : "NULL"); + return false; + } + } + + if (evlog->submituser == NULL || strcmp(evlog->submituser, "nobody") != 0) { + sudo_warnx("bad user: want \"nobody\" got \"%s\"", + evlog->submituser ? evlog->submituser : "NULL"); + return false; + } + + if (evlog->runuser == NULL || strcmp(evlog->runuser, "root") != 0) { + sudo_warnx("bad runuser: want \"root\" got \"%s\"", + evlog->runuser ? evlog->runuser : "NULL"); + return false; + } + + /* No runas group specified, should be NULL. */ + if (evlog->rungroup != NULL) { + sudo_warnx("bad rungroup: want \"\" got \"%s\"", evlog->rungroup); + return false; + } + + if (evlog->ttyname == NULL || strcmp(evlog->ttyname, "/dev/console") != 0) { + sudo_warnx("bad tty: want \"/dev/console\" got \"%s\"", + evlog->ttyname ? evlog->ttyname : "NULL"); + return false; + } + + if (evlog->command == NULL || strcmp(evlog->command, "/usr/bin/id") != 0) { + sudo_warnx("bad command: want \"/usr/bin/id\" got \"%s\"", + evlog->command ? evlog->command : "NULL"); + return false; + } + + if (evlog->lines != 24) { + sudo_warnx("bad lines: want 24 got %d", evlog->lines); + return false; + } + + if (evlog->columns != 80) { + sudo_warnx("bad columns: want 80 got %d", evlog->columns); + return false; + } + + if (evlog->submit_time.tv_sec < now - 10 || evlog->submit_time.tv_sec > now + 10) { + sudo_warnx("bad submit_time: want %lld got %lld", (long long)now, + (long long)evlog->submit_time.tv_sec); + return false; + } + + eventlog_free(evlog); + + return true; +} + +static bool +validate_timing(FILE *fp, int recno, int type, unsigned int p1, unsigned int p2) +{ + struct timing_closure timing; + char buf[LINE_MAX]; + + if (!fgets(buf, sizeof(buf), fp)) { + sudo_warn("unable to read timing file"); + return false; + } + buf[strcspn(buf, "\n")] = '\0'; + if (!iolog_parse_timing(buf, &timing)) { + sudo_warnx("invalid timing file line: %s", buf); + return false; + } + if (timing.event != type) { + sudo_warnx("record %d: want type %d, got type %d", recno, type, + timing.event); + return false; + } + if (type == IO_EVENT_WINSIZE) { + if (timing.u.winsize.lines != (int)p1) { + sudo_warnx("record %d: want %u lines, got %u", recno, p1, + timing.u.winsize.lines); + return false; + } + if (timing.u.winsize.cols != (int)p2) { + sudo_warnx("record %d: want %u cols, got %u", recno, p2, + timing.u.winsize.cols); + return false; + } + } else { + if (timing.u.nbytes != p1) { + sudo_warnx("record %d: want len %u, got type %zu", recno, p1, + timing.u.nbytes); + return false; + } + } + if (timing.delay.tv_sec != 0) { + sudo_warnx("record %d: got excessive delay %lld.%09ld", recno, + (long long)timing.delay.tv_sec, timing.delay.tv_nsec); + return false; + } + + return true; +} + + +/* + * Test sudoers I/O log plugin endpoints. + */ +static void +test_endpoints(int *ntests, int *nerrors, const char *iolog_dir, char *envp[]) +{ + int rc, cmnd_argc = 1; + const char *errstr = NULL; + char buf[1024], iolog_path[PATH_MAX]; + char runas_gid[64], runas_uid[64]; + FILE *fp; + const char *cmnd_argv[] = { + "/usr/bin/id", + NULL + }; + const char *user_info[] = { + "cols=80", + "lines=24", + "cwd=/", + "host=localhost", + "tty=/dev/console", + "user=nobody", + NULL + }; + const char *command_info[] = { + "command=/usr/bin/id", + iolog_path, + "iolog_stdin=true", + "iolog_stdout=true", + "iolog_stderr=true", + "iolog_ttyin=true", + "iolog_ttyout=true", + "iolog_compress=false", + "iolog_mode=0644", + runas_gid, + runas_uid, + NULL + }; + char *settings[] = { + NULL + }; + const char output[] = "uid=0(root) gid=0(wheel)\r\n"; + + /* Set runas uid/gid to root. */ + snprintf(runas_uid, sizeof(runas_uid), "runas_uid=%u", + (unsigned int)runas_pw->pw_uid); + snprintf(runas_gid, sizeof(runas_gid), "runas_gid=%u", + (unsigned int)runas_pw->pw_gid); + + /* Set path to the iolog directory the user passed in. */ + snprintf(iolog_path, sizeof(iolog_path), "iolog_path=%s", iolog_dir); + + /* Test open endpoint. */ + rc = sudoers_io.open(SUDO_API_VERSION, NULL, sudo_printf_int, settings, + (char **)user_info, (char **)command_info, cmnd_argc, + (char **)cmnd_argv, envp, NULL, &errstr); + (*ntests)++; + if (rc != 1) { + sudo_warnx("I/O log open endpoint failed"); + (*nerrors)++; + return; + } + + /* Test log_ttyout endpoint. */ + rc = sudoers_io.log_ttyout(output, strlen(output), &errstr); + (*ntests)++; + if (rc != 1) { + sudo_warnx("I/O log_ttyout endpoint failed"); + (*nerrors)++; + return; + } + + /* Test change_winsize endpoint (twice). */ + rc = sudoers_io.change_winsize(32, 128, &errstr); + (*ntests)++; + if (rc != 1) { + sudo_warnx("I/O change_winsize endpoint failed"); + (*nerrors)++; + return; + } + rc = sudoers_io.change_winsize(24, 80, &errstr); + (*ntests)++; + if (rc != 1) { + sudo_warnx("I/O change_winsize endpoint failed"); + (*nerrors)++; + return; + } + + /* Close the plugin. */ + sudoers_io.close(0, 0); + + /* Validate I/O log info file (json). */ + (*ntests)++; + if (!validate_iolog_info(iolog_dir, false)) + (*nerrors)++; + + /* Validate I/O log info file (legacy). */ + snprintf(iolog_path, sizeof(iolog_path), "%s/log.json", iolog_dir); + unlink(iolog_path); + (*ntests)++; + if (!validate_iolog_info(iolog_dir, true)) + (*nerrors)++; + + /* Validate the timing file. */ + snprintf(iolog_path, sizeof(iolog_path), "%s/timing", iolog_dir); + (*ntests)++; + if ((fp = fopen(iolog_path, "r")) == NULL) { + sudo_warn("unable to open %s", iolog_path); + (*nerrors)++; + return; + } + + /* Line 1: output of id command. */ + if (!validate_timing(fp, 1, IO_EVENT_TTYOUT, strlen(output), 0)) { + (*nerrors)++; + return; + } + + /* Line 2: window size change. */ + if (!validate_timing(fp, 2, IO_EVENT_WINSIZE, 32, 128)) { + (*nerrors)++; + return; + } + + /* Line 3: window size change. */ + if (!validate_timing(fp, 3, IO_EVENT_WINSIZE, 24, 80)) { + (*nerrors)++; + return; + } + + /* Validate ttyout log file. */ + snprintf(iolog_path, sizeof(iolog_path), "%s/ttyout", iolog_dir); + (*ntests)++; + fclose(fp); + if ((fp = fopen(iolog_path, "r")) == NULL) { + sudo_warn("unable to open %s", iolog_path); + (*nerrors)++; + return; + } + if (!fgets(buf, sizeof(buf), fp)) { + sudo_warn("unable to read %s", iolog_path); + (*nerrors)++; + return; + } + if (strcmp(buf, output) != 0) { + sudo_warnx("ttylog mismatch: want \"%s\", got \"%s\"", output, buf); + (*nerrors)++; + return; + } +} + +int +main(int argc, char *argv[], char *envp[]) +{ + struct passwd *tpw; + int tests = 0, errors = 0; + const char *iolog_dir; + + initprogname(argc > 0 ? argv[0] : "check_iolog_plugin"); + + if (argc != 2) + usage(); + iolog_dir = argv[1]; + + /* Set runas user. */ + if ((tpw = getpwuid(0)) == NULL) { + if ((tpw = getpwnam("root")) == NULL) + sudo_fatalx("unable to look up uid 0 or root"); + } + sudo_user._runas_pw = pw_dup(tpw); + + /* Set invoking user. */ + if ((tpw = getpwuid(geteuid())) == NULL) + sudo_fatalx("unable to look up invoking user's uid"); + sudo_user.pw = pw_dup(tpw); + + /* Set iolog uid/gid to invoking user. */ + iolog_set_owner(sudo_user.pw->pw_uid, sudo_user.pw->pw_gid); + + test_endpoints(&tests, &errors, iolog_dir, envp); + + if (tests != 0) { + printf("check_iolog_plugin: %d test%s run, %d errors, %d%% success rate\n", + tests, tests == 1 ? "" : "s", errors, + (tests - errors) * 100 / tests); + } + + exit(errors); +} + +/* Stub functions */ + +bool +set_perms(int perm) +{ + return true; +} + +bool +restore_perms(void) +{ + return true; +} + +bool +log_warning(int flags, const char *fmt, ...) +{ + va_list ap; + + va_start(ap, fmt); + sudo_vwarn_nodebug(fmt, ap); + va_end(ap); + + return true; +} + +bool +log_warningx(int flags, const char *fmt, ...) +{ + va_list ap; + + va_start(ap, fmt); + sudo_vwarnx_nodebug(fmt, ap); + va_end(ap); + + return true; +} diff --git a/plugins/sudoers/regress/parser/check_addr.c b/plugins/sudoers/regress/parser/check_addr.c new file mode 100644 index 0000000..5fb6f53 --- /dev/null +++ b/plugins/sudoers/regress/parser/check_addr.c @@ -0,0 +1,139 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2011-2013 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#include + +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +#define SUDO_ERROR_WRAP 0 + +#include "sudoers.h" +#include "interfaces.h" + +sudo_dso_public int main(int argc, char *argv[]); + +static int +check_addr(char *input) +{ + int expected, matched; + const char *errstr; + size_t len; + char *cp; + + while (isspace((unsigned char)*input)) + input++; + + /* input: "addr[/mask] 1/0" */ + len = strcspn(input, " \t"); + cp = input + len; + while (isspace((unsigned char)*cp)) + cp++; + expected = sudo_strtonum(cp, 0, 1, &errstr); + if (errstr != NULL) + sudo_fatalx("expecting 0 or 1, got %s", cp); + input[len] = '\0'; + + matched = addr_matches(input); + if (matched != expected) { + sudo_warnx("%s %smatched: FAIL", input, matched ? "" : "not "); + return 1; + } + return 0; +} + +static void +usage(void) +{ + fprintf(stderr, "usage: %s datafile\n", getprogname()); + exit(EXIT_FAILURE); +} + +int +main(int argc, char *argv[]) +{ + int ntests = 0, errors = 0; + char *cp, line[2048]; + size_t len; + FILE *fp; + + initprogname(argc > 0 ? argv[0] : "check_addr"); + + if (argc != 2) + usage(); + + fp = fopen(argv[1], "r"); + if (fp == NULL) + sudo_fatalx("unable to open %s", argv[1]); + + /* + * Input is in the following format. There are two types of + * lines: interfaces, which sets the address and mask of the + * locally connected ethernet interfaces for the lines that + * follow and, address lines that include and address (with + * optional netmask) to match, followed by expected match status + * (1 or 0). E.g. + * + * interfaces: addr1/mask addr2/mask ... + * address: addr[/mask] 1/0 + * address: addr[/mask] 1/0 + * interfaces: addr3/mask addr4/mask ... + * address: addr[/mask] 1/0 + */ + + while (fgets(line, sizeof(line), fp) != NULL) { + len = strcspn(line, "\n"); + line[len] = '\0'; + + /* Ignore comments */ + if ((cp = strchr(line, '#')) != NULL) + *cp = '\0'; + + /* Skip blank lines. */ + if (line[0] == '\0') + continue; + + if (strncmp(line, "interfaces:", sizeof("interfaces:") - 1) == 0) { + if (!set_interfaces(line + sizeof("interfaces:") - 1)) { + sudo_warn("unable to parse interfaces list"); + errors++; + } + } else if (strncmp(line, "address:", sizeof("address:") - 1) == 0) { + errors += check_addr(line + sizeof("address:") - 1); + ntests++; + } else { + sudo_warnx("unexpected data line: %s", line); + continue; + } + } + + if (ntests != 0) { + printf("check_addr: %d tests run, %d errors, %d%% success rate\n", + ntests, errors, (ntests - errors) * 100 / ntests); + } + + exit(errors); +} diff --git a/plugins/sudoers/regress/parser/check_addr.in b/plugins/sudoers/regress/parser/check_addr.in new file mode 100644 index 0000000..a3c8612 --- /dev/null +++ b/plugins/sudoers/regress/parser/check_addr.in @@ -0,0 +1,13 @@ +# +interfaces: 10.5.54.73/255.255.240.0 +address: 10.5.48.0 1 +address: 10.5.54.0/20 1 +# +interfaces: 128.138.243.151/255.255.255.0 128.138.241.53/255.255.255.0 +address: 128.138.243.0 1 +address: 128.138.243.0/24 1 +address: 128.138.241.0 1 +address: 128.138.241.0/24 1 +address: 128.138.242.0/24 0 +address: 128.138.0.0 0 +address: 128.138.0.0/16 1 diff --git a/plugins/sudoers/regress/parser/check_base64.c b/plugins/sudoers/regress/parser/check_base64.c new file mode 100644 index 0000000..cd4eec5 --- /dev/null +++ b/plugins/sudoers/regress/parser/check_base64.c @@ -0,0 +1,117 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2013-2018 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#include + +#include +#include +#include + +#define SUDO_ERROR_WRAP 0 + +#include "sudo_compat.h" +#include "sudo_util.h" + +/* From parse.h */ +extern size_t base64_decode(const char *str, unsigned char *dst, size_t dsize); +extern size_t base64_encode(const unsigned char *in, size_t in_len, char *out, size_t out_len); + +sudo_dso_public int main(int argc, char *argv[]); + +static unsigned char bstring1[] = { 0xea, 0xb8, 0xa2, 0x71, 0xef, 0x67, 0xc1, 0xcd, 0x0d, 0xd9, 0xa6, 0xaa, 0xa8, 0x24, 0x77, 0x2a, 0xfc, 0x6f, 0x76, 0x37, 0x1b, 0xed, 0x9e, 0x1a, 0x90, 0x5f, 0xcf, 0xbc, 0x00 }; + +struct base64_test { + const char *ascii; + const char *encoded; +} test_strings[] = { + { + (char *)bstring1, + "6riice9nwc0N2aaqqCR3Kvxvdjcb7Z4akF/PvA==" + }, + { + "any carnal pleasure.", + "YW55IGNhcm5hbCBwbGVhc3VyZS4=" + }, + { + "any carnal pleasure", + "YW55IGNhcm5hbCBwbGVhc3VyZQ==" + }, + { + "any carnal pleasur", + "YW55IGNhcm5hbCBwbGVhc3Vy" + }, + { + "any carnal pleasu", + "YW55IGNhcm5hbCBwbGVhc3U=" + }, + { + "any carnal pleas", + "YW55IGNhcm5hbCBwbGVhcw==" + } +}; + +int +main(int argc, char *argv[]) +{ + int ntests = nitems(test_strings); + int i, errors = 0; + unsigned char buf[64]; + size_t len; + + initprogname(argc > 0 ? argv[0] : "check_base64"); + + for (i = 0; i < ntests; i++) { + /* Test decode. */ + len = base64_decode(test_strings[i].encoded, buf, sizeof(buf)); + if (len == (size_t)-1) { + fprintf(stderr, "check_base64: failed to decode %s\n", + test_strings[i].encoded); + errors++; + } else { + buf[len] = '\0'; + if (strcmp(test_strings[i].ascii, (char *)buf) != 0) { + fprintf(stderr, "check_base64: expected %s, got %s\n", + test_strings[i].ascii, buf); + errors++; + } + } + + /* Test encode. */ + len = base64_encode((unsigned char *)test_strings[i].ascii, + strlen(test_strings[i].ascii), (char *)buf, sizeof(buf)); + if (len == (size_t)-1) { + fprintf(stderr, "check_base64: failed to encode %s\n", + test_strings[i].ascii); + errors++; + } else { + if (strcmp(test_strings[i].encoded, (char *)buf) != 0) { + fprintf(stderr, "check_base64: expected %s, got %s\n", + test_strings[i].encoded, buf); + errors++; + } + } + } + ntests *= 2; /* we test in both directions */ + + if (ntests != 0) { + printf("%s: %d tests run, %d errors, %d%% success rate\n", + getprogname(), ntests, errors, (ntests - errors) * 100 / ntests); + } + + exit(errors); +} diff --git a/plugins/sudoers/regress/parser/check_digest.c b/plugins/sudoers/regress/parser/check_digest.c new file mode 100644 index 0000000..c784b2b --- /dev/null +++ b/plugins/sudoers/regress/parser/check_digest.c @@ -0,0 +1,125 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2013-2015 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#include + +#include +#include +#include +#include + +#include "sudo_compat.h" +#include "sudo_fatal.h" +#include "sudo_queue.h" +#include "sudo_digest.h" +#include "sudo_util.h" +#include "parse.h" + +sudo_dso_public int main(int argc, char *argv[]); + +#define NUM_TESTS 8 +static const char *test_strings[NUM_TESTS] = { + "", + "a", + "abc", + "message digest", + "abcdefghijklmnopqrstuvwxyz", + "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq", + "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", + "12345678901234567890123456789012345678901234567890123456789" + "012345678901234567890", +}; + +static unsigned char * +check_digest(int digest_type, const char *buf, size_t buflen, size_t *digest_len) +{ + char tfile[] = "digest.XXXXXX"; + unsigned char *digest = NULL; + int tfd; + + /* Write test data to temporary file. */ + tfd = mkstemp(tfile); + if (tfd == -1) { + sudo_warn_nodebug("mkstemp"); + goto done; + } + if ((size_t)write(tfd, buf, buflen) != buflen) { + sudo_warn_nodebug("write"); + goto done; + } + lseek(tfd, 0, SEEK_SET); + + /* Get file digest. */ + digest = sudo_filedigest(tfd, tfile, digest_type, digest_len); + if (digest == NULL) { + /* Warning (if any) printed by sudo_filedigest() */ + goto done; + } +done: + if (tfd != -1) { + close(tfd); + unlink(tfile); + } + return digest; +} + +int +main(int argc, char *argv[]) +{ + static const char hex[] = "0123456789abcdef"; + char buf[1000 * 1000]; + unsigned char *digest; + unsigned int i, j; + size_t digest_len; + int digest_type; + + initprogname(argc > 0 ? argv[0] : "check_digest"); + + for (digest_type = 0; digest_type < SUDO_DIGEST_INVALID; digest_type++) { + for (i = 0; i < NUM_TESTS; i++) { + digest = check_digest(digest_type, test_strings[i], + strlen(test_strings[i]), &digest_len); + if (digest != NULL) { + printf("%s (\"%s\") = ", digest_type_to_name(digest_type), + test_strings[i]); + for (j = 0; j < digest_len; j++) { + putchar(hex[digest[j] >> 4]); + putchar(hex[digest[j] & 0x0f]); + } + putchar('\n'); + free(digest); + } + } + + /* Simulate a string of a million 'a' characters. */ + memset(buf, 'a', sizeof(buf)); + digest = check_digest(digest_type, buf, sizeof(buf), &digest_len); + if (digest != NULL) { + printf("%s (one million 'a' characters) = ", + digest_type_to_name(digest_type)); + for (j = 0; j < digest_len; j++) { + putchar(hex[digest[j] >> 4]); + putchar(hex[digest[j] & 0x0f]); + } + putchar('\n'); + free(digest); + } + } + + return 0; +} diff --git a/plugins/sudoers/regress/parser/check_digest.out.ok b/plugins/sudoers/regress/parser/check_digest.out.ok new file mode 100644 index 0000000..a353664 --- /dev/null +++ b/plugins/sudoers/regress/parser/check_digest.out.ok @@ -0,0 +1,36 @@ +sha224 ("") = d14a028c2a3a2bc9476102bb288234c415a2b01f828ea62ac5b3e42f +sha224 ("a") = abd37534c7d9a2efb9465de931cd7055ffdb8879563ae98078d6d6d5 +sha224 ("abc") = 23097d223405d8228642a477bda255b32aadbce4bda0b3f7e36c9da7 +sha224 ("message digest") = 2cb21c83ae2f004de7e81c3c7019cbcb65b71ab656b22d6d0c39b8eb +sha224 ("abcdefghijklmnopqrstuvwxyz") = 45a5f72c39c5cff2522eb3429799e49e5f44b356ef926bcf390dccc2 +sha224 ("abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq") = 75388b16512776cc5dba5da1fd890150b0c6455cb4f58b1952522525 +sha224 ("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789") = bff72b4fcb7d75e5632900ac5f90d219e05e97a7bde72e740db393d9 +sha224 ("12345678901234567890123456789012345678901234567890123456789012345678901234567890") = b50aecbe4e9bb0b57bc5f3ae760a8e01db24f203fb3cdcd13148046e +sha224 (one million 'a' characters) = 20794655980c91d8bbb4c1ea97618a4bf03f42581948b2ee4ee7ad67 +sha256 ("") = e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 +sha256 ("a") = ca978112ca1bbdcafac231b39a23dc4da786eff8147c4e72b9807785afee48bb +sha256 ("abc") = ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad +sha256 ("message digest") = f7846f55cf23e14eebeab5b4e1550cad5b509e3348fbc4efa3a1413d393cb650 +sha256 ("abcdefghijklmnopqrstuvwxyz") = 71c480df93d6ae2f1efad1447c66c9525e316218cf51fc8d9ed832f2daf18b73 +sha256 ("abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq") = 248d6a61d20638b8e5c026930c3e6039a33ce45964ff2167f6ecedd419db06c1 +sha256 ("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789") = db4bfcbd4da0cd85a60c3c37d3fbd8805c77f15fc6b1fdfe614ee0a7c8fdb4c0 +sha256 ("12345678901234567890123456789012345678901234567890123456789012345678901234567890") = f371bc4a311f2b009eef952dd83ca80e2b60026c8e935592d0f9c308453c813e +sha256 (one million 'a' characters) = cdc76e5c9914fb9281a1c7e284d73e67f1809a48a497200e046d39ccc7112cd0 +sha384 ("") = 38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76f65fbd51ad2f14898b95b +sha384 ("a") = 54a59b9f22b0b80880d8427e548b7c23abd873486e1f035dce9cd697e85175033caa88e6d57bc35efae0b5afd3145f31 +sha384 ("abc") = cb00753f45a35e8bb5a03d699ac65007272c32ab0eded1631a8b605a43ff5bed8086072ba1e7cc2358baeca134c825a7 +sha384 ("message digest") = 473ed35167ec1f5d8e550368a3db39be54639f828868e9454c239fc8b52e3c61dbd0d8b4de1390c256dcbb5d5fd99cd5 +sha384 ("abcdefghijklmnopqrstuvwxyz") = feb67349df3db6f5924815d6c3dc133f091809213731fe5c7b5f4999e463479ff2877f5f2936fa63bb43784b12f3ebb4 +sha384 ("abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq") = 3391fdddfc8dc7393707a65b1b4709397cf8b1d162af05abfe8f450de5f36bc6b0455a8520bc4e6f5fe95b1fe3c8452b +sha384 ("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789") = 1761336e3f7cbfe51deb137f026f89e01a448e3b1fafa64039c1464ee8732f11a5341a6f41e0c202294736ed64db1a84 +sha384 ("12345678901234567890123456789012345678901234567890123456789012345678901234567890") = b12932b0627d1c060942f5447764155655bd4da0c9afa6dd9b9ef53129af1b8fb0195996d2de9ca0df9d821ffee67026 +sha384 (one million 'a' characters) = 9d0e1809716474cb086e834e310a4a1ced149e9c00f248527972cec5704c2a5b07b8b3dc38ecc4ebae97ddd87f3d8985 +sha512 ("") = cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e +sha512 ("a") = 1f40fc92da241694750979ee6cf582f2d5d7d28e18335de05abc54d0560e0f5302860c652bf08d560252aa5e74210546f369fbbbce8c12cfc7957b2652fe9a75 +sha512 ("abc") = ddaf35a193617abacc417349ae20413112e6fa4e89a97ea20a9eeee64b55d39a2192992a274fc1a836ba3c23a3feebbd454d4423643ce80e2a9ac94fa54ca49f +sha512 ("message digest") = 107dbf389d9e9f71a3a95f6c055b9251bc5268c2be16d6c13492ea45b0199f3309e16455ab1e96118e8a905d5597b72038ddb372a89826046de66687bb420e7c +sha512 ("abcdefghijklmnopqrstuvwxyz") = 4dbff86cc2ca1bae1e16468a05cb9881c97f1753bce3619034898faa1aabe429955a1bf8ec483d7421fe3c1646613a59ed5441fb0f321389f77f48a879c7b1f1 +sha512 ("abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq") = 204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c33596fd15c13b1b07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445 +sha512 ("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789") = 1e07be23c26a86ea37ea810c8ec7809352515a970e9253c26f536cfc7a9996c45c8370583e0a78fa4a90041d71a4ceab7423f19c71b9d5a3e01249f0bebd5894 +sha512 ("12345678901234567890123456789012345678901234567890123456789012345678901234567890") = 72ec1ef1124a45b047e8b7c75a932195135bb61de24ec0d1914042246e0aec3a2354e093d76f3048b456764346900cb130d2a4fd5dd16abb5e30bcb850dee843 +sha512 (one million 'a' characters) = e718483d0ce769644e2e42c7bc15b4638e1f98b13b2044285632a803afa973ebde0ff244877ea60a4cb0432ce577c31beb009c5c2c49aa2e4eadb217ad8cc09b diff --git a/plugins/sudoers/regress/parser/check_fill.c b/plugins/sudoers/regress/parser/check_fill.c new file mode 100644 index 0000000..9176fe8 --- /dev/null +++ b/plugins/sudoers/regress/parser/check_fill.c @@ -0,0 +1,205 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2011-2016 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#include + +#include +#include +#ifdef HAVE_STDBOOL_H +# include +#else +# include "compat/stdbool.h" +#endif /* HAVE_STDBOOL_H */ +#include + +#define SUDO_ERROR_WRAP 0 + +#include "sudo_compat.h" +#include "sudo_queue.h" +#include "parse.h" +#include "toke.h" +#include "sudo_plugin.h" +#include "sudo_util.h" +#include + +sudo_dso_public int main(int argc, char *argv[]); + +/* + * TODO: test realloc + */ + +YYSTYPE sudoerslval; +bool sudoers_strict; + +struct fill_test { + const char *input; + const char *output; + int len; + int addspace; +}; + +/* + * In "normal" fill, anything can be escaped and hex chars are expanded. + */ +static struct fill_test txt_data[] = { + { "Embedded\\x20Space", "Embedded Space", 0 }, + { "\\x20Leading", " Leading", 0 }, + { "Trailing\\x20", "Trailing ", 0 }, + { "Multiple\\x20\\x20Spaces", "Multiple Spaces", 0 }, + { "Hexparse\\x200Check", "Hexparse 0Check", 0 }, + { "Escaped\\\\Escape", "Escaped\\Escape", 0 }, + { "LongGroupName", "LongGrou", 8 } +}; + +/* + * The only escaped chars in a command should be [,:= \t#] + * The rest are done by glob() or fnmatch(). + */ +static struct fill_test cmd_data[] = { + { "foo\\,bar", "foo,bar", 0 }, + { "this\\:that", "this:that", 0 }, + { "foo\\=bar", "foo=bar", 0 }, + { "tab\\\tstop", "tab\tstop", 0 }, + { "not a \\#comment", "not a #comment", 0 } +}; + +/* + * No escaped characters in command line args. + * Arguments get appended. + */ +static struct fill_test args_data[] = { + { "/", "/", 0, 0 }, + { "-type", "/ -type", 0, 1 }, + { "f", "/ -type f", 0, 1 }, + { "-exec", "/ -type f -exec", 0, 1 }, + { "ls", "/ -type f -exec ls", 0, 1 }, + { "{}", "/ -type f -exec ls {}", 0, 1 } +}; + +static int +check_fill(const char *input, int len, int addspace, const char *expect, char **resultp) +{ + if (sudoerslval.string != NULL) { + free(sudoerslval.string); + sudoerslval.string = NULL; + } + if (!fill(input, len)) + return -1; + *resultp = sudoerslval.string; + return !strcmp(sudoerslval.string, expect); +} + +static int +check_fill_cmnd(const char *input, int len, int addspace, const char *expect, char **resultp) +{ + if (sudoerslval.command.cmnd != NULL) { + free(sudoerslval.command.cmnd); + sudoerslval.command.cmnd = NULL; + } + if (!fill_cmnd(input, len)) + return -1; + *resultp = sudoerslval.command.cmnd; + return !strcmp(sudoerslval.command.cmnd, expect); +} + +static int +check_fill_args(const char *input, int len, int addspace, const char *expect, char **resultp) +{ + /* Must not free old sudoerslval.command.args as gets appended to. */ + if (!fill_args(input, len, addspace)) + return -1; + *resultp = sudoerslval.command.args; + return !strcmp(sudoerslval.command.args, expect); +} + +static int +do_tests(int (*checker)(const char *, int, int, const char *, char **), + struct fill_test *data, size_t ntests) +{ + int len, errors = 0; + unsigned int i; + char *result; + + for (i = 0; i < ntests; i++) { + if (data[i].len == 0) + len = strlen(data[i].input); + else + len = data[i].len; + + switch ((*checker)(data[i].input, len, data[i].addspace, data[i].output, &result)) { + case 0: + /* no match */ + fprintf(stderr, "Failed parsing %.*s: expected [%s], got [%s]\n", + (int)data[i].len, data[i].input, data[i].output, result); + errors++; + break; + case 1: + /* match */ + break; + default: + /* error */ + fprintf(stderr, "Failed parsing %.*s: fill function failure\n", + (int)data[i].len, data[i].input); + errors++; + break; + } + } + + return errors; +} + +int +main(int argc, char *argv[]) +{ + int ntests, errors = 0; + + initprogname(argc > 0 ? argv[0] : "check_fill"); + + errors += do_tests(check_fill, txt_data, nitems(txt_data)); + errors += do_tests(check_fill_cmnd, cmd_data, nitems(cmd_data)); + errors += do_tests(check_fill_args, args_data, nitems(args_data)); + + ntests = nitems(txt_data) + nitems(cmd_data) + nitems(args_data); + if (ntests != 0) { + printf("%s: %d tests run, %d errors, %d%% success rate\n", + getprogname(), ntests, errors, (ntests - errors) * 100 / ntests); + } + + exit(errors); +} + +/* STUB */ +void +sudoerserror(const char *s) +{ + return; +} + +/* STUB */ +bool +parser_leak_add(enum parser_leak_types type, void *v) +{ + return true; +} + +/* STUB */ +bool +parser_leak_remove(enum parser_leak_types type, void *v) +{ + return true; +} diff --git a/plugins/sudoers/regress/parser/check_gentime.c b/plugins/sudoers/regress/parser/check_gentime.c new file mode 100644 index 0000000..a203bc6 --- /dev/null +++ b/plugins/sudoers/regress/parser/check_gentime.c @@ -0,0 +1,85 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2017 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#include + +#include +#include +#include +#include + +#define SUDO_ERROR_WRAP 0 + +#include "sudo_compat.h" +#include "sudo_util.h" +#include "sudoers_debug.h" +#include "parse.h" + +sudo_dso_public int main(int argc, char *argv[]); + +const struct gentime_test { + const char *gentime; + time_t unixtime; +} tests[] = { + { "199412161032ZZ", -1 }, + { "199412161032Z", 787573920 }, + { "199412160532-0500", 787573920 }, + { "199412160532-05000", -1 }, + { "199412160532", 787573920 }, /* local time is EST */ + { "20170214083000-0500", 1487079000 }, + { "201702140830-0500", 1487079000 }, + { "201702140830", 1487079000 }, /* local time is EST */ + { "201702140830.3-0500", 1487079018 }, + { "201702140830,3-0500", 1487079018 }, + { "20170214083000.5Z", 1487061000 }, + { "20170214083000,5Z", 1487061000 }, + { "201702142359.4Z", 1487116764 }, + { "201702142359,4Z", 1487116764 }, + { "2017021408.5Z", 1487061000 }, + { "2017021408,5Z", 1487061000 }, + { "20170214Z", -1 }, +}; + +int +main(int argc, char *argv[]) +{ + const int ntests = nitems(tests); + int i, errors = 0; + time_t result; + + initprogname(argc > 0 ? argv[0] : "check_gentime"); + + /* Do local time tests in Eastern Standard Time. */ + putenv((char *)"TZ=EST5EST5"); + tzset(); + + for (i = 0; i < ntests; i++) { + result = parse_gentime(tests[i].gentime); + if (result != tests[i].unixtime) { + fprintf(stderr, "check_gentime[%d]: %s: expected %lld, got %lld\n", + i, tests[i].gentime, + (long long)tests[i].unixtime, (long long)result); + errors++; + } + } + if (ntests != 0) { + printf("%s: %d tests run, %d errors, %d%% success rate\n", + getprogname(), ntests, errors, (ntests - errors) * 100 / ntests); + } + exit(errors); +} diff --git a/plugins/sudoers/regress/serialize_list/check_serialize_list.c b/plugins/sudoers/regress/serialize_list/check_serialize_list.c new file mode 100644 index 0000000..422a3b0 --- /dev/null +++ b/plugins/sudoers/regress/serialize_list/check_serialize_list.c @@ -0,0 +1,83 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2022 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#include + +#include +#include +#include + +#define SUDO_ERROR_WRAP 0 + +#include "sudoers.h" + +sudo_dso_public int main(int argc, char *argv[]); + +static void +test_serialize_list(int *ntests_out, int *errors_out) +{ + int ntests = *ntests_out; + int errors = *errors_out; + const char *expected = "myvar=a value with spaces,this\\,and\\,that,\\,"; + struct list_members members = SLIST_HEAD_INITIALIZER(members); + struct list_member lm1, lm2, lm3; + char *result; + + lm1.value = (char *)"a value with spaces"; + lm2.value = (char *)"this,and,that"; + lm3.value = (char *)","; + SLIST_INSERT_HEAD(&members, &lm3, entries); + SLIST_INSERT_HEAD(&members, &lm2, entries); + SLIST_INSERT_HEAD(&members, &lm1, entries); + + ntests++; + result = serialize_list("myvar", &members); + if (result == NULL) { + sudo_warnx("serialize_list returns NULL"); + ++errors; + goto done; + } + ntests++; + if (strcmp(result, expected) != 0) { + sudo_warnx("got \"%s\", expected \"%s\"", result, expected); + ++errors; + goto done; + } + +done: + free(result); + *ntests_out = ntests; + *errors_out = errors; +} + +int +main(int argc, char *argv[]) +{ + int ntests = 0, errors = 0; + + initprogname(argc > 0 ? argv[0] : "check_serialize_list"); + + test_serialize_list(&ntests, &errors); + + if (ntests != 0) { + printf("%s: %d tests run, %d errors, %d%% success rate\n", + getprogname(), ntests, errors, (ntests - errors) * 100 / ntests); + } + + exit(errors); +} diff --git a/plugins/sudoers/regress/starttime/check_starttime.c b/plugins/sudoers/regress/starttime/check_starttime.c new file mode 100644 index 0000000..60adc1a --- /dev/null +++ b/plugins/sudoers/regress/starttime/check_starttime.c @@ -0,0 +1,128 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2017 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#include + +#include +#include +#include +#include +#include +#include + +#include "sudo_compat.h" +#include "sudo_util.h" +#include "sudo_fatal.h" +#include "check.h" + +sudo_dso_public int main(int argc, char *argv[]); + +#ifdef __linux__ +static int +get_now(struct timespec *now) +{ + const char *errstr; + char buf[1024]; + time_t seconds; + int ret = -1; + FILE *fp; + + /* Linux process start time is relative to boot time. */ + fp = fopen("/proc/stat", "r"); + if (fp != NULL) { + while (fgets(buf, sizeof(buf), fp) != NULL) { + if (strncmp(buf, "btime ", 6) != 0) + continue; + buf[strcspn(buf, "\n")] = '\0'; + + /* Boot time is in seconds since the epoch. */ + seconds = sudo_strtonum(buf + 6, 0, TIME_T_MAX, &errstr); + if (errstr != NULL) + return -1; + + /* Instead of the real time, "now" is relative to boot time. */ + if (sudo_gettime_real(now) == -1) + return -1; + now->tv_sec -= seconds; + ret = 0; + break; + } + fclose(fp); + } + return ret; +} +#else +static int +get_now(struct timespec *now) +{ + /* Process start time is relative to wall clock time. */ + return sudo_gettime_real(now); +} +#endif + +int +main(int argc, char *argv[]) +{ + int ntests = 0, errors = 0; + struct timespec now, then, delta; + time_t timeoff = 0; + pid_t pids[2]; + char *faketime; + int i; + + initprogname(argc > 0 ? argv[0] : "check_starttime"); + + if (get_now(&now) == -1) + sudo_fatal_nodebug("unable to get current time"); + + pids[0] = getpid(); + pids[1] = getppid(); + + /* Debian CI pipeline runs tests using faketime. */ + faketime = getenv("FAKETIME"); + if (faketime != NULL) + timeoff = sudo_strtonum(faketime, TIME_T_MIN, TIME_T_MAX, NULL); + + for (i = 0; i < 2; i++) { + ntests++; + if (get_starttime(pids[i], &then) == -1) { + printf("%s: test %d: unable to get start time for pid %d\n", + getprogname(), ntests, (int)pids[i]); + errors++; + } + if (i != 0) + continue; + + /* Verify our own process start time, allowing for some drift. */ + ntests++; + sudo_timespecsub(&then, &now, &delta); + delta.tv_sec += timeoff; + if (delta.tv_sec > 30 || delta.tv_sec < -30) { + printf("%s: test %d: unexpected start time for pid %d: %s", + getprogname(), ntests, (int)pids[i], ctime(&then.tv_sec)); + errors++; + } + } + + if (ntests != 0) { + printf("%s: %d tests run, %d errors, %d%% success rate\n", + getprogname(), ntests, errors, (ntests - errors) * 100 / ntests); + } + + exit(errors); +} diff --git a/plugins/sudoers/regress/sudoers/test1.in b/plugins/sudoers/regress/sudoers/test1.in new file mode 100644 index 0000000..d87c872 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test1.in @@ -0,0 +1,12 @@ +# +# Verify that all command tags are parsed OK. +# See https://bugzilla.sudo.ws/show_bug.cgi?id=437 +# +user1 ALL = LOG_INPUT: LOG_OUTPUT: /usr/bin/su -:\ + ALL = NOLOG_INPUT: NOLOG_OUTPUT: /usr/bin/id +user2 ALL = NOPASSWD: NOEXEC: SETENV: /usr/bin/vi:\ + ALL = PASSWD: EXEC: NOSETENV: /usr/bin/echo +user3 ALL = MAIL: /bin/sh:\ + ALL = NOMAIL: /usr/bin/id +user4 ALL = FOLLOW: sudoedit /etc/motd:\ + ALL = NOFOLLOW: sudoedit /home/*/* diff --git a/plugins/sudoers/regress/sudoers/test1.json.ok b/plugins/sudoers/regress/sudoers/test1.json.ok new file mode 100644 index 0000000..9523e4a --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test1.json.ok @@ -0,0 +1,154 @@ +{ + "User_Specs": [ + { + "User_List": [ + { "username": "user1" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Options": [ + { "log_input": true }, + { "log_output": true } + ], + "Commands": [ + { "command": "/usr/bin/su -" } + ] + } + ] + }, + { + "User_List": [ + { "username": "user1" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Options": [ + { "log_input": false }, + { "log_output": false } + ], + "Commands": [ + { "command": "/usr/bin/id" } + ] + } + ] + }, + { + "User_List": [ + { "username": "user2" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Options": [ + { "authenticate": false }, + { "noexec": true }, + { "setenv": true } + ], + "Commands": [ + { "command": "/usr/bin/vi" } + ] + } + ] + }, + { + "User_List": [ + { "username": "user2" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Options": [ + { "authenticate": true }, + { "noexec": false }, + { "setenv": false } + ], + "Commands": [ + { "command": "/usr/bin/echo" } + ] + } + ] + }, + { + "User_List": [ + { "username": "user3" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Options": [ + { "send_mail": true } + ], + "Commands": [ + { "command": "/bin/sh" } + ] + } + ] + }, + { + "User_List": [ + { "username": "user3" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Options": [ + { "send_mail": false } + ], + "Commands": [ + { "command": "/usr/bin/id" } + ] + } + ] + }, + { + "User_List": [ + { "username": "user4" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Options": [ + { "sudoedit_follow": true } + ], + "Commands": [ + { "command": "sudoedit /etc/motd" } + ] + } + ] + }, + { + "User_List": [ + { "username": "user4" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Options": [ + { "sudoedit_follow": false } + ], + "Commands": [ + { "command": "sudoedit /home/*/*" } + ] + } + ] + } + ] +} diff --git a/plugins/sudoers/regress/sudoers/test1.ldif.ok b/plugins/sudoers/regress/sudoers/test1.ldif.ok new file mode 100644 index 0000000..7f3fcfc --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test1.ldif.ok @@ -0,0 +1,88 @@ +dn: cn=user1,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user1 +sudoUser: user1 +sudoHost: ALL +sudoOption: log_input +sudoOption: log_output +sudoCommand: /usr/bin/su - +sudoOrder: 1 + +dn: cn=user1_1,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user1_1 +sudoUser: user1 +sudoHost: ALL +sudoOption: !log_input +sudoOption: !log_output +sudoCommand: /usr/bin/id +sudoOrder: 2 + +dn: cn=user2,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user2 +sudoUser: user2 +sudoHost: ALL +sudoOption: !authenticate +sudoOption: noexec +sudoOption: setenv +sudoCommand: /usr/bin/vi +sudoOrder: 3 + +dn: cn=user2_1,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user2_1 +sudoUser: user2 +sudoHost: ALL +sudoOption: authenticate +sudoOption: !noexec +sudoOption: !setenv +sudoCommand: /usr/bin/echo +sudoOrder: 4 + +dn: cn=user3,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user3 +sudoUser: user3 +sudoHost: ALL +sudoOption: mail_all_cmnds +sudoCommand: /bin/sh +sudoOrder: 5 + +dn: cn=user3_1,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user3_1 +sudoUser: user3 +sudoHost: ALL +sudoOption: !mail_all_cmnds +sudoOption: !mail_always +sudoOption: !mail_no_perms +sudoCommand: /usr/bin/id +sudoOrder: 6 + +dn: cn=user4,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user4 +sudoUser: user4 +sudoHost: ALL +sudoOption: sudoedit_follow +sudoCommand: sudoedit /etc/motd +sudoOrder: 7 + +dn: cn=user4_1,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user4_1 +sudoUser: user4 +sudoHost: ALL +sudoOption: !sudoedit_follow +sudoCommand: sudoedit /home/*/* +sudoOrder: 8 + diff --git a/plugins/sudoers/regress/sudoers/test1.ldif2sudo.ok b/plugins/sudoers/regress/sudoers/test1.ldif2sudo.ok new file mode 100644 index 0000000..126fe91 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test1.ldif2sudo.ok @@ -0,0 +1,13 @@ +# sudoRole user1, user1_1 +user1 ALL = LOG_INPUT: LOG_OUTPUT: /usr/bin/su -, NOLOG_INPUT: NOLOG_OUTPUT:\ + /usr/bin/id + +# sudoRole user2, user2_1 +user2 ALL = SETENV: NOEXEC: NOPASSWD: /usr/bin/vi, NOSETENV: EXEC: PASSWD:\ + /usr/bin/echo + +# sudoRole user3, user3_1 +user3 ALL = MAIL: /bin/sh, NOMAIL: /usr/bin/id + +# sudoRole user4, user4_1 +user4 ALL = FOLLOW: sudoedit /etc/motd, NOFOLLOW: sudoedit /home/*/* diff --git a/plugins/sudoers/regress/sudoers/test1.out.ok b/plugins/sudoers/regress/sudoers/test1.out.ok new file mode 100644 index 0000000..3d6bab4 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test1.out.ok @@ -0,0 +1,6 @@ +Parses OK + +user1 ALL = LOG_INPUT: LOG_OUTPUT: /usr/bin/su - : ALL = NOLOG_INPUT: NOLOG_OUTPUT: /usr/bin/id +user2 ALL = SETENV: NOEXEC: NOPASSWD: /usr/bin/vi : ALL = NOSETENV: EXEC: PASSWD: /usr/bin/echo +user3 ALL = MAIL: /bin/sh : ALL = NOMAIL: /usr/bin/id +user4 ALL = FOLLOW: sudoedit /etc/motd : ALL = NOFOLLOW: sudoedit /home/*/* diff --git a/plugins/sudoers/regress/sudoers/test1.toke.ok b/plugins/sudoers/regress/sudoers/test1.toke.ok new file mode 100644 index 0000000..28c8592 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test1.toke.ok @@ -0,0 +1,8 @@ +# +# +# +# +WORD(6) ALL = LOG_INPUT LOG_OUTPUT COMMAND ARG : ALL = NOLOG_INPUT NOLOG_OUTPUT COMMAND +WORD(6) ALL = NOPASSWD NOEXEC SETENV COMMAND : ALL = PASSWD EXEC NOSETENV COMMAND +WORD(6) ALL = MAIL COMMAND : ALL = NOMAIL COMMAND +WORD(6) ALL = FOLLOW COMMAND ARG : ALL = NOFOLLOW COMMAND ARG diff --git a/plugins/sudoers/regress/sudoers/test10.in b/plugins/sudoers/regress/sudoers/test10.in new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test10.in @@ -0,0 +1 @@ + diff --git a/plugins/sudoers/regress/sudoers/test10.json.ok b/plugins/sudoers/regress/sudoers/test10.json.ok new file mode 100644 index 0000000..e69de29 diff --git a/plugins/sudoers/regress/sudoers/test10.ldif.ok b/plugins/sudoers/regress/sudoers/test10.ldif.ok new file mode 100644 index 0000000..e69de29 diff --git a/plugins/sudoers/regress/sudoers/test10.out.ok b/plugins/sudoers/regress/sudoers/test10.out.ok new file mode 100644 index 0000000..5af5c53 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test10.out.ok @@ -0,0 +1,2 @@ +Parses OK + diff --git a/plugins/sudoers/regress/sudoers/test10.toke.ok b/plugins/sudoers/regress/sudoers/test10.toke.ok new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test10.toke.ok @@ -0,0 +1 @@ + diff --git a/plugins/sudoers/regress/sudoers/test11.in b/plugins/sudoers/regress/sudoers/test11.in new file mode 100644 index 0000000..5ffba7b --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test11.in @@ -0,0 +1 @@ +bogus diff --git a/plugins/sudoers/regress/sudoers/test11.json.ok b/plugins/sudoers/regress/sudoers/test11.json.ok new file mode 100644 index 0000000..e69de29 diff --git a/plugins/sudoers/regress/sudoers/test11.ldif.ok b/plugins/sudoers/regress/sudoers/test11.ldif.ok new file mode 100644 index 0000000..e69de29 diff --git a/plugins/sudoers/regress/sudoers/test11.out.ok b/plugins/sudoers/regress/sudoers/test11.out.ok new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test11.out.ok @@ -0,0 +1 @@ + diff --git a/plugins/sudoers/regress/sudoers/test11.toke.ok b/plugins/sudoers/regress/sudoers/test11.toke.ok new file mode 100644 index 0000000..bfef7a7 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test11.toke.ok @@ -0,0 +1,2 @@ +WORD(6) +<*> \ No newline at end of file diff --git a/plugins/sudoers/regress/sudoers/test12.in b/plugins/sudoers/regress/sudoers/test12.in new file mode 100644 index 0000000..23bda4a --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test12.in @@ -0,0 +1 @@ +user ALL = (ALL) diff --git a/plugins/sudoers/regress/sudoers/test12.json.ok b/plugins/sudoers/regress/sudoers/test12.json.ok new file mode 100644 index 0000000..e69de29 diff --git a/plugins/sudoers/regress/sudoers/test12.ldif.ok b/plugins/sudoers/regress/sudoers/test12.ldif.ok new file mode 100644 index 0000000..e69de29 diff --git a/plugins/sudoers/regress/sudoers/test12.out.ok b/plugins/sudoers/regress/sudoers/test12.out.ok new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test12.out.ok @@ -0,0 +1 @@ + diff --git a/plugins/sudoers/regress/sudoers/test12.toke.ok b/plugins/sudoers/regress/sudoers/test12.toke.ok new file mode 100644 index 0000000..0d79959 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test12.toke.ok @@ -0,0 +1,2 @@ +WORD(6) ALL = ( ALL ) +<*> \ No newline at end of file diff --git a/plugins/sudoers/regress/sudoers/test13.in b/plugins/sudoers/regress/sudoers/test13.in new file mode 100644 index 0000000..b8002bc --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test13.in @@ -0,0 +1 @@ +user ALL = (ALL) \ No newline at end of file diff --git a/plugins/sudoers/regress/sudoers/test13.json.ok b/plugins/sudoers/regress/sudoers/test13.json.ok new file mode 100644 index 0000000..e69de29 diff --git a/plugins/sudoers/regress/sudoers/test13.ldif.ok b/plugins/sudoers/regress/sudoers/test13.ldif.ok new file mode 100644 index 0000000..e69de29 diff --git a/plugins/sudoers/regress/sudoers/test13.out.ok b/plugins/sudoers/regress/sudoers/test13.out.ok new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test13.out.ok @@ -0,0 +1 @@ + diff --git a/plugins/sudoers/regress/sudoers/test13.toke.ok b/plugins/sudoers/regress/sudoers/test13.toke.ok new file mode 100644 index 0000000..0d79959 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test13.toke.ok @@ -0,0 +1,2 @@ +WORD(6) ALL = ( ALL ) +<*> \ No newline at end of file diff --git a/plugins/sudoers/regress/sudoers/test14.in b/plugins/sudoers/regress/sudoers/test14.in new file mode 100644 index 0000000..bdbac68 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test14.in @@ -0,0 +1,6 @@ +Cmnd_Alias LS = sha224:d06a2617c98d377c250edd470fd5e576327748d82915d6e33b5f8db1, sha224:d7910e1967342b4605cb73a550944044c631cd3514001900966962ac /bin/ls +Cmnd_Alias SH = sha256:hOtoe/iK6SlGg7w4BfZBBdSsXjUmTJ5+ts51yjh7vkM=, sha256:1IXHRCxXgSnIEnb+xBz4PAfWaPdXIBWKFF0QCwxJ5G4= /bin/sh + +millert ALL = LS, SH, sha512:srzYEQ2aqzm+it3f74opTMkIImZRLxBARVpb0g9RSouJYdLt7DTRMEY4Ry9NyaOiDoUIplpNjqYH0JMYPVdFnw /bin/kill + +operator ALL = sha384:knMlCLkJ71K6uRrKo5C1CAvZ5kq+mRpjKDD/RofGosFjiGcYhiYYZORVyiRHgBnu, sha256:1IXHRCxXgSnIEnb+xBz4PAfWaPdXIBWKFF0QCwxJ5G4= ALL diff --git a/plugins/sudoers/regress/sudoers/test14.json.ok b/plugins/sudoers/regress/sudoers/test14.json.ok new file mode 100644 index 0000000..7e0e3c3 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test14.json.ok @@ -0,0 +1,62 @@ +{ + "Command_Aliases": { + "LS": [ + { + "command": "/bin/ls", + "sha224": "d06a2617c98d377c250edd470fd5e576327748d82915d6e33b5f8db1", + "sha224": "d7910e1967342b4605cb73a550944044c631cd3514001900966962ac" + } + ], + "SH": [ + { + "command": "/bin/sh", + "sha256": "hOtoe/iK6SlGg7w4BfZBBdSsXjUmTJ5+ts51yjh7vkM=", + "sha256": "1IXHRCxXgSnIEnb+xBz4PAfWaPdXIBWKFF0QCwxJ5G4=" + } + ] + }, + "User_Specs": [ + { + "User_List": [ + { "username": "millert" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Commands": [ + { "cmndalias": "LS" }, + { "cmndalias": "SH" }, + { + "command": "/bin/kill", + "sha512": "srzYEQ2aqzm+it3f74opTMkIImZRLxBARVpb0g9RSouJYdLt7DTRMEY4Ry9NyaOiDoUIplpNjqYH0JMYPVdFnw" + } + ] + } + ] + }, + { + "User_List": [ + { "username": "operator" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Options": [ + { "setenv": true } + ], + "Commands": [ + { + "command": "ALL", + "sha384": "knMlCLkJ71K6uRrKo5C1CAvZ5kq+mRpjKDD/RofGosFjiGcYhiYYZORVyiRHgBnu", + "sha256": "1IXHRCxXgSnIEnb+xBz4PAfWaPdXIBWKFF0QCwxJ5G4=" + } + ] + } + ] + } + ] +} diff --git a/plugins/sudoers/regress/sudoers/test14.ldif.ok b/plugins/sudoers/regress/sudoers/test14.ldif.ok new file mode 100644 index 0000000..4d26c5d --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test14.ldif.ok @@ -0,0 +1,20 @@ +dn: cn=millert,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: millert +sudoUser: millert +sudoHost: ALL +sudoCommand: sha224:d06a2617c98d377c250edd470fd5e576327748d82915d6e33b5f8db1, sha224:d7910e1967342b4605cb73a550944044c631cd3514001900966962ac /bin/ls +sudoCommand: sha256:hOtoe/iK6SlGg7w4BfZBBdSsXjUmTJ5+ts51yjh7vkM=, sha256:1IXHRCxXgSnIEnb+xBz4PAfWaPdXIBWKFF0QCwxJ5G4= /bin/sh +sudoCommand: sha512:srzYEQ2aqzm+it3f74opTMkIImZRLxBARVpb0g9RSouJYdLt7DTRMEY4Ry9NyaOiDoUIplpNjqYH0JMYPVdFnw /bin/kill +sudoOrder: 1 + +dn: cn=operator,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: operator +sudoUser: operator +sudoHost: ALL +sudoCommand: sha384:knMlCLkJ71K6uRrKo5C1CAvZ5kq+mRpjKDD/RofGosFjiGcYhiYYZORVyiRHgBnu, sha256:1IXHRCxXgSnIEnb+xBz4PAfWaPdXIBWKFF0QCwxJ5G4= ALL +sudoOrder: 2 + diff --git a/plugins/sudoers/regress/sudoers/test14.ldif2sudo.ok b/plugins/sudoers/regress/sudoers/test14.ldif2sudo.ok new file mode 100644 index 0000000..c742a95 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test14.ldif2sudo.ok @@ -0,0 +1,12 @@ +# sudoRole millert +millert ALL = sha224:d06a2617c98d377c250edd470fd5e576327748d82915d6e33b5f8db1,\ + sha224:d7910e1967342b4605cb73a550944044c631cd3514001900966962ac /bin/ls,\ + sha256:hOtoe/iK6SlGg7w4BfZBBdSsXjUmTJ5+ts51yjh7vkM=,\ + sha256:1IXHRCxXgSnIEnb+xBz4PAfWaPdXIBWKFF0QCwxJ5G4= /bin/sh,\ + sha512:srzYEQ2aqzm+it3f74opTMkIImZRLxBARVpb0g9RSouJYdLt7DTRMEY4Ry9NyaOiDoUIplpNjqYH0JMYPVdFnw\ + /bin/kill + +# sudoRole operator +operator ALL =\ + sha384:knMlCLkJ71K6uRrKo5C1CAvZ5kq+mRpjKDD/RofGosFjiGcYhiYYZORVyiRHgBnu,\ + sha256:1IXHRCxXgSnIEnb+xBz4PAfWaPdXIBWKFF0QCwxJ5G4= ALL diff --git a/plugins/sudoers/regress/sudoers/test14.out.ok b/plugins/sudoers/regress/sudoers/test14.out.ok new file mode 100644 index 0000000..658f74d --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test14.out.ok @@ -0,0 +1,7 @@ +Parses OK + +Cmnd_Alias LS = sha224:d06a2617c98d377c250edd470fd5e576327748d82915d6e33b5f8db1, sha224:d7910e1967342b4605cb73a550944044c631cd3514001900966962ac /bin/ls +Cmnd_Alias SH = sha256:hOtoe/iK6SlGg7w4BfZBBdSsXjUmTJ5+ts51yjh7vkM=, sha256:1IXHRCxXgSnIEnb+xBz4PAfWaPdXIBWKFF0QCwxJ5G4= /bin/sh + +millert ALL = LS, SH, sha512:srzYEQ2aqzm+it3f74opTMkIImZRLxBARVpb0g9RSouJYdLt7DTRMEY4Ry9NyaOiDoUIplpNjqYH0JMYPVdFnw /bin/kill +operator ALL = sha384:knMlCLkJ71K6uRrKo5C1CAvZ5kq+mRpjKDD/RofGosFjiGcYhiYYZORVyiRHgBnu, sha256:1IXHRCxXgSnIEnb+xBz4PAfWaPdXIBWKFF0QCwxJ5G4= ALL diff --git a/plugins/sudoers/regress/sudoers/test14.toke.ok b/plugins/sudoers/regress/sudoers/test14.toke.ok new file mode 100644 index 0000000..edf8099 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test14.toke.ok @@ -0,0 +1,6 @@ +CMNDALIAS ALIAS = SHA224_TOK : DIGEST , SHA224_TOK : DIGEST COMMAND +CMNDALIAS ALIAS = SHA256_TOK : DIGEST , SHA256_TOK : DIGEST COMMAND + +WORD(6) ALL = ALIAS , ALIAS , SHA512_TOK : DIGEST COMMAND + +WORD(6) ALL = SHA384_TOK : DIGEST , SHA256_TOK : DIGEST ALL diff --git a/plugins/sudoers/regress/sudoers/test15.in b/plugins/sudoers/regress/sudoers/test15.in new file mode 100644 index 0000000..11bcb13 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test15.in @@ -0,0 +1,2 @@ +# Test parsing of sudoedit rule +user ALL = sudoedit /etc/motd diff --git a/plugins/sudoers/regress/sudoers/test15.json.ok b/plugins/sudoers/regress/sudoers/test15.json.ok new file mode 100644 index 0000000..ff1795a --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test15.json.ok @@ -0,0 +1,19 @@ +{ + "User_Specs": [ + { + "User_List": [ + { "username": "user" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Commands": [ + { "command": "sudoedit /etc/motd" } + ] + } + ] + } + ] +} diff --git a/plugins/sudoers/regress/sudoers/test15.ldif.ok b/plugins/sudoers/regress/sudoers/test15.ldif.ok new file mode 100644 index 0000000..ac35ba0 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test15.ldif.ok @@ -0,0 +1,9 @@ +dn: cn=user,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user +sudoUser: user +sudoHost: ALL +sudoCommand: sudoedit /etc/motd +sudoOrder: 1 + diff --git a/plugins/sudoers/regress/sudoers/test15.ldif2sudo.ok b/plugins/sudoers/regress/sudoers/test15.ldif2sudo.ok new file mode 100644 index 0000000..775d59e --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test15.ldif2sudo.ok @@ -0,0 +1,2 @@ +# sudoRole user +user ALL = sudoedit /etc/motd diff --git a/plugins/sudoers/regress/sudoers/test15.out.ok b/plugins/sudoers/regress/sudoers/test15.out.ok new file mode 100644 index 0000000..b230cf2 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test15.out.ok @@ -0,0 +1,3 @@ +Parses OK + +user ALL = sudoedit /etc/motd diff --git a/plugins/sudoers/regress/sudoers/test15.toke.ok b/plugins/sudoers/regress/sudoers/test15.toke.ok new file mode 100644 index 0000000..08bb2b8 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test15.toke.ok @@ -0,0 +1,2 @@ +# +WORD(6) ALL = COMMAND ARG diff --git a/plugins/sudoers/regress/sudoers/test16.in b/plugins/sudoers/regress/sudoers/test16.in new file mode 100644 index 0000000..d2a79ea --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test16.in @@ -0,0 +1,3 @@ +# Test parsing of sudoedit rule in a Cmnd_Alias +Cmnd_Alias EDIT = sudoedit /etc/motd +user ALL = EDIT diff --git a/plugins/sudoers/regress/sudoers/test16.json.ok b/plugins/sudoers/regress/sudoers/test16.json.ok new file mode 100644 index 0000000..7c42654 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test16.json.ok @@ -0,0 +1,24 @@ +{ + "Command_Aliases": { + "EDIT": [ + { "command": "sudoedit /etc/motd" } + ] + }, + "User_Specs": [ + { + "User_List": [ + { "username": "user" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Commands": [ + { "cmndalias": "EDIT" } + ] + } + ] + } + ] +} diff --git a/plugins/sudoers/regress/sudoers/test16.ldif.ok b/plugins/sudoers/regress/sudoers/test16.ldif.ok new file mode 100644 index 0000000..ac35ba0 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test16.ldif.ok @@ -0,0 +1,9 @@ +dn: cn=user,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user +sudoUser: user +sudoHost: ALL +sudoCommand: sudoedit /etc/motd +sudoOrder: 1 + diff --git a/plugins/sudoers/regress/sudoers/test16.ldif2sudo.ok b/plugins/sudoers/regress/sudoers/test16.ldif2sudo.ok new file mode 100644 index 0000000..775d59e --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test16.ldif2sudo.ok @@ -0,0 +1,2 @@ +# sudoRole user +user ALL = sudoedit /etc/motd diff --git a/plugins/sudoers/regress/sudoers/test16.out.ok b/plugins/sudoers/regress/sudoers/test16.out.ok new file mode 100644 index 0000000..7b8c918 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test16.out.ok @@ -0,0 +1,5 @@ +Parses OK + +Cmnd_Alias EDIT = sudoedit /etc/motd + +user ALL = EDIT diff --git a/plugins/sudoers/regress/sudoers/test16.toke.ok b/plugins/sudoers/regress/sudoers/test16.toke.ok new file mode 100644 index 0000000..debc4c7 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test16.toke.ok @@ -0,0 +1,3 @@ +# +CMNDALIAS ALIAS = COMMAND ARG +WORD(6) ALL = ALIAS diff --git a/plugins/sudoers/regress/sudoers/test17.in b/plugins/sudoers/regress/sudoers/test17.in new file mode 100644 index 0000000..37d066c --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test17.in @@ -0,0 +1,13 @@ +# Test parsing of command_timeout and TIMEOUT syntax +Defaults command_timeout=2d8h10m59s +user0 ALL = TIMEOUT=7D4H10M30S /usr/bin/id, /usr/bin/who, TIMEOUT=0 /bin/ls +user1 ALL = TIMEOUT=7d4h10m30s /usr/bin/id +user2 ALL = TIMEOUT=4h10m30s /usr/bin/id +user3 ALL = TIMEOUT=10m30s /usr/bin/id +user4 ALL = TIMEOUT=14d /usr/bin/id +user5 ALL = TIMEOUT=5m /usr/bin/id +user6 ALL = TIMEOUT=30s /usr/bin/id +user7 ALL = TIMEOUT=45 /usr/bin/id +user8 ALL = TIMEOUT=7d4h10m30s /usr/bin/id, TIMEOUT=4h10m30s /usr/bin/id, \ + TIMEOUT=10m30s /usr/bin/id, TIMEOUT=14d /usr/bin/id, \ + TIMEOUT=5m /usr/bin/id, TIMEOUT=30s /usr/bin/id diff --git a/plugins/sudoers/regress/sudoers/test17.json.ok b/plugins/sudoers/regress/sudoers/test17.json.ok new file mode 100644 index 0000000..2f39a37 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test17.json.ok @@ -0,0 +1,180 @@ +{ + "Defaults": [ + { + "Options": [ + { "command_timeout": "2d8h10m59s" } + ] + } + ], + "User_Specs": [ + { + "User_List": [ + { "username": "user0" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Options": [ + { "command_timeout": 619830 } + ], + "Commands": [ + { "command": "/usr/bin/id" }, + { "command": "/usr/bin/who" }, + { "command": "/bin/ls" } + ] + } + ] + }, + { + "User_List": [ + { "username": "user1" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Options": [ + { "command_timeout": 619830 } + ], + "Commands": [ + { "command": "/usr/bin/id" } + ] + } + ] + }, + { + "User_List": [ + { "username": "user2" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Options": [ + { "command_timeout": 15030 } + ], + "Commands": [ + { "command": "/usr/bin/id" } + ] + } + ] + }, + { + "User_List": [ + { "username": "user3" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Options": [ + { "command_timeout": 630 } + ], + "Commands": [ + { "command": "/usr/bin/id" } + ] + } + ] + }, + { + "User_List": [ + { "username": "user4" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Options": [ + { "command_timeout": 1209600 } + ], + "Commands": [ + { "command": "/usr/bin/id" } + ] + } + ] + }, + { + "User_List": [ + { "username": "user5" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Options": [ + { "command_timeout": 300 } + ], + "Commands": [ + { "command": "/usr/bin/id" } + ] + } + ] + }, + { + "User_List": [ + { "username": "user6" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Options": [ + { "command_timeout": 30 } + ], + "Commands": [ + { "command": "/usr/bin/id" } + ] + } + ] + }, + { + "User_List": [ + { "username": "user7" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Options": [ + { "command_timeout": 45 } + ], + "Commands": [ + { "command": "/usr/bin/id" } + ] + } + ] + }, + { + "User_List": [ + { "username": "user8" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Options": [ + { "command_timeout": 619830 } + ], + "Commands": [ + { "command": "/usr/bin/id" }, + { "command": "/usr/bin/id" }, + { "command": "/usr/bin/id" }, + { "command": "/usr/bin/id" }, + { "command": "/usr/bin/id" }, + { "command": "/usr/bin/id" } + ] + } + ] + } + ] +} diff --git a/plugins/sudoers/regress/sudoers/test17.ldif.ok b/plugins/sudoers/regress/sudoers/test17.ldif.ok new file mode 100644 index 0000000..bdc784c --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test17.ldif.ok @@ -0,0 +1,104 @@ +dn: cn=defaults,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: defaults +description: Default sudoOption's go here +sudoOption: command_timeout=2d8h10m59s + +dn: cn=user0,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user0 +sudoUser: user0 +sudoHost: ALL +sudoOption: command_timeout=619830 +sudoCommand: /usr/bin/id +sudoCommand: /usr/bin/who +sudoCommand: /bin/ls +sudoOrder: 1 + +dn: cn=user1,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user1 +sudoUser: user1 +sudoHost: ALL +sudoOption: command_timeout=619830 +sudoCommand: /usr/bin/id +sudoOrder: 2 + +dn: cn=user2,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user2 +sudoUser: user2 +sudoHost: ALL +sudoOption: command_timeout=15030 +sudoCommand: /usr/bin/id +sudoOrder: 3 + +dn: cn=user3,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user3 +sudoUser: user3 +sudoHost: ALL +sudoOption: command_timeout=630 +sudoCommand: /usr/bin/id +sudoOrder: 4 + +dn: cn=user4,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user4 +sudoUser: user4 +sudoHost: ALL +sudoOption: command_timeout=1209600 +sudoCommand: /usr/bin/id +sudoOrder: 5 + +dn: cn=user5,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user5 +sudoUser: user5 +sudoHost: ALL +sudoOption: command_timeout=300 +sudoCommand: /usr/bin/id +sudoOrder: 6 + +dn: cn=user6,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user6 +sudoUser: user6 +sudoHost: ALL +sudoOption: command_timeout=30 +sudoCommand: /usr/bin/id +sudoOrder: 7 + +dn: cn=user7,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user7 +sudoUser: user7 +sudoHost: ALL +sudoOption: command_timeout=45 +sudoCommand: /usr/bin/id +sudoOrder: 8 + +dn: cn=user8,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user8 +sudoUser: user8 +sudoHost: ALL +sudoOption: command_timeout=619830 +sudoCommand: /usr/bin/id +sudoCommand: /usr/bin/id +sudoCommand: /usr/bin/id +sudoCommand: /usr/bin/id +sudoCommand: /usr/bin/id +sudoCommand: /usr/bin/id +sudoOrder: 9 + diff --git a/plugins/sudoers/regress/sudoers/test17.ldif2sudo.ok b/plugins/sudoers/regress/sudoers/test17.ldif2sudo.ok new file mode 100644 index 0000000..608f52f --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test17.ldif2sudo.ok @@ -0,0 +1,29 @@ +Defaults command_timeout=2d8h10m59s + +# sudoRole user0 +user0 ALL = TIMEOUT=619830 /usr/bin/id, /usr/bin/who, /bin/ls + +# sudoRole user1 +user1 ALL = TIMEOUT=619830 /usr/bin/id + +# sudoRole user2 +user2 ALL = TIMEOUT=15030 /usr/bin/id + +# sudoRole user3 +user3 ALL = TIMEOUT=630 /usr/bin/id + +# sudoRole user4 +user4 ALL = TIMEOUT=1209600 /usr/bin/id + +# sudoRole user5 +user5 ALL = TIMEOUT=300 /usr/bin/id + +# sudoRole user6 +user6 ALL = TIMEOUT=30 /usr/bin/id + +# sudoRole user7 +user7 ALL = TIMEOUT=45 /usr/bin/id + +# sudoRole user8 +user8 ALL = TIMEOUT=619830 /usr/bin/id, /usr/bin/id, /usr/bin/id, /usr/bin/id,\ + /usr/bin/id, /usr/bin/id diff --git a/plugins/sudoers/regress/sudoers/test17.out.ok b/plugins/sudoers/regress/sudoers/test17.out.ok new file mode 100644 index 0000000..f0c8086 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test17.out.ok @@ -0,0 +1,13 @@ +Parses OK + +Defaults command_timeout=2d8h10m59s + +user0 ALL = TIMEOUT=619830 /usr/bin/id, /usr/bin/who, /bin/ls +user1 ALL = TIMEOUT=619830 /usr/bin/id +user2 ALL = TIMEOUT=15030 /usr/bin/id +user3 ALL = TIMEOUT=630 /usr/bin/id +user4 ALL = TIMEOUT=1209600 /usr/bin/id +user5 ALL = TIMEOUT=300 /usr/bin/id +user6 ALL = TIMEOUT=30 /usr/bin/id +user7 ALL = TIMEOUT=45 /usr/bin/id +user8 ALL = TIMEOUT=619830 /usr/bin/id, TIMEOUT=15030 /usr/bin/id, TIMEOUT=630 /usr/bin/id, TIMEOUT=1209600 /usr/bin/id, TIMEOUT=300 /usr/bin/id, TIMEOUT=30 /usr/bin/id diff --git a/plugins/sudoers/regress/sudoers/test17.toke.ok b/plugins/sudoers/regress/sudoers/test17.toke.ok new file mode 100644 index 0000000..d0a82ca --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test17.toke.ok @@ -0,0 +1,11 @@ +# +DEFAULTS DEFVAR = WORD(2) +WORD(6) ALL = CMND_TIMEOUT = WORD(6) COMMAND , COMMAND , CMND_TIMEOUT = WORD(6) COMMAND +WORD(6) ALL = CMND_TIMEOUT = WORD(6) COMMAND +WORD(6) ALL = CMND_TIMEOUT = WORD(6) COMMAND +WORD(6) ALL = CMND_TIMEOUT = WORD(6) COMMAND +WORD(6) ALL = CMND_TIMEOUT = WORD(6) COMMAND +WORD(6) ALL = CMND_TIMEOUT = WORD(6) COMMAND +WORD(6) ALL = CMND_TIMEOUT = WORD(6) COMMAND +WORD(6) ALL = CMND_TIMEOUT = WORD(6) COMMAND +WORD(6) ALL = CMND_TIMEOUT = WORD(6) COMMAND , CMND_TIMEOUT = WORD(6) COMMAND , CMND_TIMEOUT = WORD(6) COMMAND , CMND_TIMEOUT = WORD(6) COMMAND , CMND_TIMEOUT = WORD(6) COMMAND , CMND_TIMEOUT = WORD(6) COMMAND diff --git a/plugins/sudoers/regress/sudoers/test18.in b/plugins/sudoers/regress/sudoers/test18.in new file mode 100644 index 0000000..8d94ec7 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test18.in @@ -0,0 +1,8 @@ +# Test command_timeout and TIMEOUT syntax errors +Defaults command_timeout=2d8h10m59ss +Defaults:root command_timeout=15f +user0 ALL = TIMEOUT=7dd4h10m30s /usr/bin/id, /usr/bin/who, TIMEOUT=0 /bin/ls +user1 ALL = TIMEOUT=7d4h10mm30s /usr/bin/id +user2 ALL = TIMEOUT=4hg10m30s /usr/bin/id +user3 ALL = TIMEOUT=10m30ss /usr/bin/id +user4 ALL = TIMEOUT=14g /usr/bin/id diff --git a/plugins/sudoers/regress/sudoers/test18.json.ok b/plugins/sudoers/regress/sudoers/test18.json.ok new file mode 100644 index 0000000..e69de29 diff --git a/plugins/sudoers/regress/sudoers/test18.ldif.ok b/plugins/sudoers/regress/sudoers/test18.ldif.ok new file mode 100644 index 0000000..e69de29 diff --git a/plugins/sudoers/regress/sudoers/test18.out.ok b/plugins/sudoers/regress/sudoers/test18.out.ok new file mode 100644 index 0000000..03f9ef6 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test18.out.ok @@ -0,0 +1,3 @@ + +Defaults command_timeout=2d8h10m59ss +Defaults:root command_timeout=15f diff --git a/plugins/sudoers/regress/sudoers/test18.toke.ok b/plugins/sudoers/regress/sudoers/test18.toke.ok new file mode 100644 index 0000000..7c800a8 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test18.toke.ok @@ -0,0 +1,10 @@ +# +DEFAULTS DEFVAR = WORD(2) +DEFAULTS_USER WORD(6) DEFVAR = WORD(2) +WORD(6) ALL = CMND_TIMEOUT = WORD(6) <*> COMMAND , COMMAND , CMND_TIMEOUT = WORD(6) COMMAND +WORD(6) ALL = CMND_TIMEOUT = WORD(6) <*> COMMAND +WORD(6) ALL = CMND_TIMEOUT = WORD(6) <*> COMMAND +WORD(6) ALL = CMND_TIMEOUT = WORD(6) <*> COMMAND +WORD(6) ALL = CMND_TIMEOUT = WORD(6) <*> COMMAND +sudoers:2:26: value "2d8h10m59ss" is invalid for option "command_timeout" +sudoers:3:31: value "15f" is invalid for option "command_timeout" diff --git a/plugins/sudoers/regress/sudoers/test19.in b/plugins/sudoers/regress/sudoers/test19.in new file mode 100644 index 0000000..5f637a7 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test19.in @@ -0,0 +1,12 @@ +# Test parsing of NOTBEFORE and NOTAFTER syntax +# Local time zone parsing is checked in visudo/test10.sh +user0 ALL = NOTBEFORE=20170214083000Z NOTAFTER=20170301083000Z /usr/bin/id, /bin/ls +user1 ALL = NOTBEFORE=201702140830Z /usr/bin/id, NOTAFTER=20170301083000Z /bin/ls +user2 ALL = NOTBEFORE=201702140830.3Z /usr/bin/id +user3 ALL = NOTBEFORE=2017021408Z /usr/bin/id +user4 ALL = NOTBEFORE=2017021408.4Z /usr/bin/id +user5 ALL = NOTBEFORE=20170214083000.5Z /usr/bin/id +user6 ALL = NOTBEFORE=20170214083000\,5Z /usr/bin/id +user7 ALL = NOTBEFORE=20170214033000-0500 /usr/bin/id +user8 ALL = NOTBEFORE=20170214033000.0-0500 /usr/bin/id +user9 ALL = NOTBEFORE=20170214033000\,0-0500 /usr/bin/id diff --git a/plugins/sudoers/regress/sudoers/test19.json.ok b/plugins/sudoers/regress/sudoers/test19.json.ok new file mode 100644 index 0000000..c9a1bfd --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test19.json.ok @@ -0,0 +1,187 @@ +{ + "User_Specs": [ + { + "User_List": [ + { "username": "user0" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Options": [ + { "notbefore": "20170214083000Z" }, + { "notafter": "20170301083000Z" } + ], + "Commands": [ + { "command": "/usr/bin/id" }, + { "command": "/bin/ls" } + ] + } + ] + }, + { + "User_List": [ + { "username": "user1" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Options": [ + { "notbefore": "20170214083000Z" } + ], + "Commands": [ + { "command": "/usr/bin/id" }, + { "command": "/bin/ls" } + ] + } + ] + }, + { + "User_List": [ + { "username": "user2" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Options": [ + { "notbefore": "20170214083018Z" } + ], + "Commands": [ + { "command": "/usr/bin/id" } + ] + } + ] + }, + { + "User_List": [ + { "username": "user3" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Options": [ + { "notbefore": "20170214080000Z" } + ], + "Commands": [ + { "command": "/usr/bin/id" } + ] + } + ] + }, + { + "User_List": [ + { "username": "user4" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Options": [ + { "notbefore": "20170214082400Z" } + ], + "Commands": [ + { "command": "/usr/bin/id" } + ] + } + ] + }, + { + "User_List": [ + { "username": "user5" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Options": [ + { "notbefore": "20170214083000Z" } + ], + "Commands": [ + { "command": "/usr/bin/id" } + ] + } + ] + }, + { + "User_List": [ + { "username": "user6" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Options": [ + { "notbefore": "20170214083000Z" } + ], + "Commands": [ + { "command": "/usr/bin/id" } + ] + } + ] + }, + { + "User_List": [ + { "username": "user7" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Options": [ + { "notbefore": "20170214083000Z" } + ], + "Commands": [ + { "command": "/usr/bin/id" } + ] + } + ] + }, + { + "User_List": [ + { "username": "user8" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Options": [ + { "notbefore": "20170214083000Z" } + ], + "Commands": [ + { "command": "/usr/bin/id" } + ] + } + ] + }, + { + "User_List": [ + { "username": "user9" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Options": [ + { "notbefore": "20170214083000Z" } + ], + "Commands": [ + { "command": "/usr/bin/id" } + ] + } + ] + } + ] +} diff --git a/plugins/sudoers/regress/sudoers/test19.ldif.ok b/plugins/sudoers/regress/sudoers/test19.ldif.ok new file mode 100644 index 0000000..362aa9e --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test19.ldif.ok @@ -0,0 +1,103 @@ +dn: cn=user0,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user0 +sudoUser: user0 +sudoHost: ALL +sudoNotBefore: 20170214083000Z +sudoNotAfter: 20170301083000Z +sudoCommand: /usr/bin/id +sudoCommand: /bin/ls +sudoOrder: 1 + +dn: cn=user1,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user1 +sudoUser: user1 +sudoHost: ALL +sudoNotBefore: 20170214083000Z +sudoCommand: /usr/bin/id +sudoCommand: /bin/ls +sudoOrder: 2 + +dn: cn=user2,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user2 +sudoUser: user2 +sudoHost: ALL +sudoNotBefore: 20170214083018Z +sudoCommand: /usr/bin/id +sudoOrder: 3 + +dn: cn=user3,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user3 +sudoUser: user3 +sudoHost: ALL +sudoNotBefore: 20170214080000Z +sudoCommand: /usr/bin/id +sudoOrder: 4 + +dn: cn=user4,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user4 +sudoUser: user4 +sudoHost: ALL +sudoNotBefore: 20170214082400Z +sudoCommand: /usr/bin/id +sudoOrder: 5 + +dn: cn=user5,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user5 +sudoUser: user5 +sudoHost: ALL +sudoNotBefore: 20170214083000Z +sudoCommand: /usr/bin/id +sudoOrder: 6 + +dn: cn=user6,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user6 +sudoUser: user6 +sudoHost: ALL +sudoNotBefore: 20170214083000Z +sudoCommand: /usr/bin/id +sudoOrder: 7 + +dn: cn=user7,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user7 +sudoUser: user7 +sudoHost: ALL +sudoNotBefore: 20170214083000Z +sudoCommand: /usr/bin/id +sudoOrder: 8 + +dn: cn=user8,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user8 +sudoUser: user8 +sudoHost: ALL +sudoNotBefore: 20170214083000Z +sudoCommand: /usr/bin/id +sudoOrder: 9 + +dn: cn=user9,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user9 +sudoUser: user9 +sudoHost: ALL +sudoNotBefore: 20170214083000Z +sudoCommand: /usr/bin/id +sudoOrder: 10 + diff --git a/plugins/sudoers/regress/sudoers/test19.ldif2sudo.ok b/plugins/sudoers/regress/sudoers/test19.ldif2sudo.ok new file mode 100644 index 0000000..1aef1bc --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test19.ldif2sudo.ok @@ -0,0 +1,30 @@ +# sudoRole user0 +user0 ALL = NOTBEFORE=20170214083000Z NOTAFTER=20170301083000Z /usr/bin/id,\ + /bin/ls + +# sudoRole user1 +user1 ALL = NOTBEFORE=20170214083000Z /usr/bin/id, /bin/ls + +# sudoRole user2 +user2 ALL = NOTBEFORE=20170214083018Z /usr/bin/id + +# sudoRole user3 +user3 ALL = NOTBEFORE=20170214080000Z /usr/bin/id + +# sudoRole user4 +user4 ALL = NOTBEFORE=20170214082400Z /usr/bin/id + +# sudoRole user5 +user5 ALL = NOTBEFORE=20170214083000Z /usr/bin/id + +# sudoRole user6 +user6 ALL = NOTBEFORE=20170214083000Z /usr/bin/id + +# sudoRole user7 +user7 ALL = NOTBEFORE=20170214083000Z /usr/bin/id + +# sudoRole user8 +user8 ALL = NOTBEFORE=20170214083000Z /usr/bin/id + +# sudoRole user9 +user9 ALL = NOTBEFORE=20170214083000Z /usr/bin/id diff --git a/plugins/sudoers/regress/sudoers/test19.out.ok b/plugins/sudoers/regress/sudoers/test19.out.ok new file mode 100644 index 0000000..dacfefd --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test19.out.ok @@ -0,0 +1,12 @@ +Parses OK + +user0 ALL = NOTBEFORE=20170214083000Z NOTAFTER=20170301083000Z /usr/bin/id, /bin/ls +user1 ALL = NOTBEFORE=20170214083000Z /usr/bin/id, NOTAFTER=20170301083000Z /bin/ls +user2 ALL = NOTBEFORE=20170214083018Z /usr/bin/id +user3 ALL = NOTBEFORE=20170214080000Z /usr/bin/id +user4 ALL = NOTBEFORE=20170214082400Z /usr/bin/id +user5 ALL = NOTBEFORE=20170214083000Z /usr/bin/id +user6 ALL = NOTBEFORE=20170214083000Z /usr/bin/id +user7 ALL = NOTBEFORE=20170214083000Z /usr/bin/id +user8 ALL = NOTBEFORE=20170214083000Z /usr/bin/id +user9 ALL = NOTBEFORE=20170214083000Z /usr/bin/id diff --git a/plugins/sudoers/regress/sudoers/test19.toke.ok b/plugins/sudoers/regress/sudoers/test19.toke.ok new file mode 100644 index 0000000..04461d9 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test19.toke.ok @@ -0,0 +1,12 @@ +# +# +WORD(6) ALL = NOTBEFORE = WORD(6) NOTAFTER = WORD(6) COMMAND , COMMAND +WORD(6) ALL = NOTBEFORE = WORD(6) COMMAND , NOTAFTER = WORD(6) COMMAND +WORD(6) ALL = NOTBEFORE = WORD(6) COMMAND +WORD(6) ALL = NOTBEFORE = WORD(6) COMMAND +WORD(6) ALL = NOTBEFORE = WORD(6) COMMAND +WORD(6) ALL = NOTBEFORE = WORD(6) COMMAND +WORD(6) ALL = NOTBEFORE = WORD(6) COMMAND +WORD(6) ALL = NOTBEFORE = WORD(6) COMMAND +WORD(6) ALL = NOTBEFORE = WORD(6) COMMAND +WORD(6) ALL = NOTBEFORE = WORD(6) COMMAND diff --git a/plugins/sudoers/regress/sudoers/test2.in b/plugins/sudoers/regress/sudoers/test2.in new file mode 100644 index 0000000..b81ae54 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test2.in @@ -0,0 +1,63 @@ +# Check quoted user name in User_Alias +User_Alias UA1 = "foo" +User_Alias UA2 = "foo.bar" +User_Alias UA3 = "foo\"" +User_Alias UA4 = "foo:bar" +User_Alias UA5 = "foo:bar\"" + +# Check quoted group name in User_Alias +User_Alias UA6 = "%baz" +User_Alias UA7 = "%baz.biz" + +# Check quoted non-Unix group name in User_Alias +User_Alias UA8 = "%:C/non UNIX 0 c" +User_Alias UA9 = "%:C/non\'UNIX\'1 c" +User_Alias UA10 = "%:C/non\"UNIX\"0 c" +User_Alias UA11 = "%:C/non_UNIX_0 c" +User_Alias UA12 = "%:C/non\'UNIX_3 c" + +# Check quoted user name in Runas_Alias +Runas_Alias RA1 = "foo" +Runas_Alias RA2 = "foo\"" +Runas_Alias RA3 = "foo:bar" +Runas_Alias RA4 = "foo:bar\"" + +# Check quoted host name in Defaults +Defaults@"somehost" set_home +Defaults@"quoted\"" set_home + +# Check quoted user name in Defaults +Defaults:"you" set_home +Defaults:"us\"" set_home +Defaults:"%them" set_home +Defaults:"%: non UNIX 0 c" set_home +Defaults:"+net" set_home + +# Check quoted runas name in Defaults +Defaults>"someone" set_home +Defaults>"some one" set_home + +# Check quoted command in Defaults +# XXX - not currently supported +#Defaults!"/bin/ls -l" set_home +#Defaults!"/bin/ls -l \"foo\"" set_home + +# Check quoted user, runas and host name in Cmnd_Spec +"foo" "hosta" = ("root") ALL +"foo.bar" "hostb" = ("root") ALL +"foo\"" "hostc" = ("root") ALL +"foo:bar" "hostd" = ("root") ALL +"foo:bar\"" "hoste" = ("root") ALL + +# Check quoted group/netgroup name in Cmnd_Spec +"%baz" "hosta" = ("root") ALL +"%baz.biz" "hostb" = ("root") ALL +"%:C/non UNIX 0 c" "hostc" = ("root") ALL +"%:C/non\'UNIX\'1 c" "hostd" = ("root") ALL +"%:C/non\"UNIX\"0 c" "hoste" = ("root") ALL +"%:C/non_UNIX_0 c" "hostf" = ("root") ALL +"%:C/non\'UNIX_3 c" "hostg" = ("root") ALL +"+netgr" "hosth" = ("root") ALL + +# Check that quotes don't need escaping in command and args +user ALL = /bin/ls "", /bin/echo " ", /bin/foo"bar "" diff --git a/plugins/sudoers/regress/sudoers/test2.json.ok b/plugins/sudoers/regress/sudoers/test2.json.ok new file mode 100644 index 0000000..46e4c48 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test2.json.ok @@ -0,0 +1,420 @@ +{ + "Defaults": [ + { + "Binding": [ + { "hostname": "somehost" } + ], + "Options": [ + { "set_home": true } + ] + }, + { + "Binding": [ + { "hostname": "quoted\"" } + ], + "Options": [ + { "set_home": true } + ] + }, + { + "Binding": [ + { "username": "you" } + ], + "Options": [ + { "set_home": true } + ] + }, + { + "Binding": [ + { "username": "us\"" } + ], + "Options": [ + { "set_home": true } + ] + }, + { + "Binding": [ + { "usergroup": "them" } + ], + "Options": [ + { "set_home": true } + ] + }, + { + "Binding": [ + { "nonunixgroup": " non UNIX 0 c" } + ], + "Options": [ + { "set_home": true } + ] + }, + { + "Binding": [ + { "netgroup": "net" } + ], + "Options": [ + { "set_home": true } + ] + }, + { + "Binding": [ + { "username": "someone" } + ], + "Options": [ + { "set_home": true } + ] + }, + { + "Binding": [ + { "username": "some one" } + ], + "Options": [ + { "set_home": true } + ] + } + ], + "User_Aliases": { + "UA1": [ + { "username": "foo" } + ], + "UA10": [ + { "nonunixgroup": "C/non\"UNIX\"0 c" } + ], + "UA11": [ + { "nonunixgroup": "C/non_UNIX_0 c" } + ], + "UA12": [ + { "nonunixgroup": "C/non\\'UNIX_3 c" } + ], + "UA2": [ + { "username": "foo.bar" } + ], + "UA3": [ + { "username": "foo\"" } + ], + "UA4": [ + { "username": "foo:bar" } + ], + "UA5": [ + { "username": "foo:bar\"" } + ], + "UA6": [ + { "usergroup": "baz" } + ], + "UA7": [ + { "usergroup": "baz.biz" } + ], + "UA8": [ + { "nonunixgroup": "C/non UNIX 0 c" } + ], + "UA9": [ + { "nonunixgroup": "C/non\\'UNIX\\'1 c" } + ] + }, + "Runas_Aliases": { + "RA1": [ + { "username": "foo" } + ], + "RA2": [ + { "username": "foo\"" } + ], + "RA3": [ + { "username": "foo:bar" } + ], + "RA4": [ + { "username": "foo:bar\"" } + ] + }, + "User_Specs": [ + { + "User_List": [ + { "username": "foo" } + ], + "Host_List": [ + { "hostname": "hosta" } + ], + "Cmnd_Specs": [ + { + "runasusers": [ + { "username": "root" } + ], + "Options": [ + { "setenv": true } + ], + "Commands": [ + { "command": "ALL" } + ] + } + ] + }, + { + "User_List": [ + { "username": "foo.bar" } + ], + "Host_List": [ + { "hostname": "hostb" } + ], + "Cmnd_Specs": [ + { + "runasusers": [ + { "username": "root" } + ], + "Options": [ + { "setenv": true } + ], + "Commands": [ + { "command": "ALL" } + ] + } + ] + }, + { + "User_List": [ + { "username": "foo\"" } + ], + "Host_List": [ + { "hostname": "hostc" } + ], + "Cmnd_Specs": [ + { + "runasusers": [ + { "username": "root" } + ], + "Options": [ + { "setenv": true } + ], + "Commands": [ + { "command": "ALL" } + ] + } + ] + }, + { + "User_List": [ + { "username": "foo:bar" } + ], + "Host_List": [ + { "hostname": "hostd" } + ], + "Cmnd_Specs": [ + { + "runasusers": [ + { "username": "root" } + ], + "Options": [ + { "setenv": true } + ], + "Commands": [ + { "command": "ALL" } + ] + } + ] + }, + { + "User_List": [ + { "username": "foo:bar\"" } + ], + "Host_List": [ + { "hostname": "hoste" } + ], + "Cmnd_Specs": [ + { + "runasusers": [ + { "username": "root" } + ], + "Options": [ + { "setenv": true } + ], + "Commands": [ + { "command": "ALL" } + ] + } + ] + }, + { + "User_List": [ + { "usergroup": "baz" } + ], + "Host_List": [ + { "hostname": "hosta" } + ], + "Cmnd_Specs": [ + { + "runasusers": [ + { "username": "root" } + ], + "Options": [ + { "setenv": true } + ], + "Commands": [ + { "command": "ALL" } + ] + } + ] + }, + { + "User_List": [ + { "usergroup": "baz.biz" } + ], + "Host_List": [ + { "hostname": "hostb" } + ], + "Cmnd_Specs": [ + { + "runasusers": [ + { "username": "root" } + ], + "Options": [ + { "setenv": true } + ], + "Commands": [ + { "command": "ALL" } + ] + } + ] + }, + { + "User_List": [ + { "nonunixgroup": "C/non UNIX 0 c" } + ], + "Host_List": [ + { "hostname": "hostc" } + ], + "Cmnd_Specs": [ + { + "runasusers": [ + { "username": "root" } + ], + "Options": [ + { "setenv": true } + ], + "Commands": [ + { "command": "ALL" } + ] + } + ] + }, + { + "User_List": [ + { "nonunixgroup": "C/non\\'UNIX\\'1 c" } + ], + "Host_List": [ + { "hostname": "hostd" } + ], + "Cmnd_Specs": [ + { + "runasusers": [ + { "username": "root" } + ], + "Options": [ + { "setenv": true } + ], + "Commands": [ + { "command": "ALL" } + ] + } + ] + }, + { + "User_List": [ + { "nonunixgroup": "C/non\"UNIX\"0 c" } + ], + "Host_List": [ + { "hostname": "hoste" } + ], + "Cmnd_Specs": [ + { + "runasusers": [ + { "username": "root" } + ], + "Options": [ + { "setenv": true } + ], + "Commands": [ + { "command": "ALL" } + ] + } + ] + }, + { + "User_List": [ + { "nonunixgroup": "C/non_UNIX_0 c" } + ], + "Host_List": [ + { "hostname": "hostf" } + ], + "Cmnd_Specs": [ + { + "runasusers": [ + { "username": "root" } + ], + "Options": [ + { "setenv": true } + ], + "Commands": [ + { "command": "ALL" } + ] + } + ] + }, + { + "User_List": [ + { "nonunixgroup": "C/non\\'UNIX_3 c" } + ], + "Host_List": [ + { "hostname": "hostg" } + ], + "Cmnd_Specs": [ + { + "runasusers": [ + { "username": "root" } + ], + "Options": [ + { "setenv": true } + ], + "Commands": [ + { "command": "ALL" } + ] + } + ] + }, + { + "User_List": [ + { "netgroup": "netgr" } + ], + "Host_List": [ + { "hostname": "hosth" } + ], + "Cmnd_Specs": [ + { + "runasusers": [ + { "username": "root" } + ], + "Options": [ + { "setenv": true } + ], + "Commands": [ + { "command": "ALL" } + ] + } + ] + }, + { + "User_List": [ + { "username": "user" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Commands": [ + { "command": "/bin/ls \"\"" }, + { "command": "/bin/echo \" \"" }, + { "command": "/bin/foo\"bar \"\"" } + ] + } + ] + } + ] +} diff --git a/plugins/sudoers/regress/sudoers/test2.ldif.ok b/plugins/sudoers/regress/sudoers/test2.ldif.ok new file mode 100644 index 0000000..31d708f --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test2.ldif.ok @@ -0,0 +1,168 @@ +# Unable to translate stdin:26:29: +# Defaults@somehost set_home + +# Unable to translate stdin:27:29: +# Defaults@quoted\" set_home + +# Unable to translate stdin:30:24: +# Defaults:you set_home + +# Unable to translate stdin:31:25: +# Defaults:us\" set_home + +# Unable to translate stdin:32:26: +# Defaults:%them set_home + +# Unable to translate stdin:33:36: +# Defaults:"%: non UNIX 0 c" set_home + +# Unable to translate stdin:34:25: +# Defaults:+net set_home + +# Unable to translate stdin:37:28: +# Defaults>someone set_home + +# Unable to translate stdin:38:29: +# Defaults>"some one" set_home + +dn: cn=foo,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: foo +sudoUser: foo +sudoHost: hosta +sudoRunAsUser: root +sudoCommand: ALL +sudoOrder: 1 + +dn: cn=foo.bar,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: foo.bar +sudoUser: foo.bar +sudoHost: hostb +sudoRunAsUser: root +sudoCommand: ALL +sudoOrder: 2 + +dn: cn=foo\",ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: foo\" +sudoUser: foo" +sudoHost: hostc +sudoRunAsUser: root +sudoCommand: ALL +sudoOrder: 3 + +dn: cn=foo:bar,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: foo:bar +sudoUser: foo:bar +sudoHost: hostd +sudoRunAsUser: root +sudoCommand: ALL +sudoOrder: 4 + +dn: cn=foo:bar\",ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: foo:bar\" +sudoUser: foo:bar" +sudoHost: hoste +sudoRunAsUser: root +sudoCommand: ALL +sudoOrder: 5 + +dn: cn=%baz,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: %baz +sudoUser: %baz +sudoHost: hosta +sudoRunAsUser: root +sudoCommand: ALL +sudoOrder: 6 + +dn: cn=%baz.biz,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: %baz.biz +sudoUser: %baz.biz +sudoHost: hostb +sudoRunAsUser: root +sudoCommand: ALL +sudoOrder: 7 + +dn: cn=%:C/non UNIX 0 c,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: %:C/non UNIX 0 c +sudoUser: %:C/non UNIX 0 c +sudoHost: hostc +sudoRunAsUser: root +sudoCommand: ALL +sudoOrder: 8 + +dn: cn=%:C/non\\'UNIX\\'1 c,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: %:C/non\\'UNIX\\'1 c +sudoUser: %:C/non\'UNIX\'1 c +sudoHost: hostd +sudoRunAsUser: root +sudoCommand: ALL +sudoOrder: 9 + +dn: cn=%:C/non\"UNIX\"0 c,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: %:C/non\"UNIX\"0 c +sudoUser: %:C/non"UNIX"0 c +sudoHost: hoste +sudoRunAsUser: root +sudoCommand: ALL +sudoOrder: 10 + +dn: cn=%:C/non_UNIX_0 c,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: %:C/non_UNIX_0 c +sudoUser: %:C/non_UNIX_0 c +sudoHost: hostf +sudoRunAsUser: root +sudoCommand: ALL +sudoOrder: 11 + +dn: cn=%:C/non\\'UNIX_3 c,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: %:C/non\\'UNIX_3 c +sudoUser: %:C/non\'UNIX_3 c +sudoHost: hostg +sudoRunAsUser: root +sudoCommand: ALL +sudoOrder: 12 + +dn: cn=\+netgr,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: \+netgr +sudoUser: +netgr +sudoHost: hosth +sudoRunAsUser: root +sudoCommand: ALL +sudoOrder: 13 + +dn: cn=user,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user +sudoUser: user +sudoHost: ALL +sudoCommand: /bin/ls "" +sudoCommand: /bin/echo " " +sudoCommand: /bin/foo"bar "" +sudoOrder: 14 + diff --git a/plugins/sudoers/regress/sudoers/test2.ldif2sudo.ok b/plugins/sudoers/regress/sudoers/test2.ldif2sudo.ok new file mode 100644 index 0000000..0277437 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test2.ldif2sudo.ok @@ -0,0 +1,41 @@ +# sudoRole foo +foo hosta = (root) ALL + +# sudoRole foo.bar +foo.bar hostb = (root) ALL + +# sudoRole foo" +foo\" hostc = (root) ALL + +# sudoRole foo:bar +foo\:bar hostd = (root) ALL + +# sudoRole foo:bar" +foo\:bar\" hoste = (root) ALL + +# sudoRole %baz +%baz hosta = (root) ALL + +# sudoRole %baz.biz +%baz.biz hostb = (root) ALL + +# sudoRole %:C/non UNIX 0 c +"%:C/non UNIX 0 c" hostc = (root) ALL + +# sudoRole %:C/non\'UNIX\'1 c +"%:C/non\'UNIX\'1 c" hostd = (root) ALL + +# sudoRole %:C/non"UNIX"0 c +"%:C/non\"UNIX\"0 c" hoste = (root) ALL + +# sudoRole %:C/non_UNIX_0 c +"%:C/non_UNIX_0 c" hostf = (root) ALL + +# sudoRole %:C/non\'UNIX_3 c +"%:C/non\'UNIX_3 c" hostg = (root) ALL + +# sudoRole +netgr ++netgr hosth = (root) ALL + +# sudoRole user +user ALL = /bin/ls "", /bin/echo " ", /bin/foo"bar "" diff --git a/plugins/sudoers/regress/sudoers/test2.out.ok b/plugins/sudoers/regress/sudoers/test2.out.ok new file mode 100644 index 0000000..99171b9 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test2.out.ok @@ -0,0 +1,43 @@ +Parses OK + +Defaults@somehost set_home +Defaults@quoted\" set_home +Defaults:you set_home +Defaults:us\" set_home +Defaults:%them set_home +Defaults:"%: non UNIX 0 c" set_home +Defaults:+net set_home +Defaults>someone set_home +Defaults>"some one" set_home + +Runas_Alias RA1 = foo +Runas_Alias RA2 = foo\" +Runas_Alias RA3 = foo\:bar +Runas_Alias RA4 = foo\:bar\" +User_Alias UA1 = foo +User_Alias UA10 = "%:C/non\"UNIX\"0 c" +User_Alias UA11 = "%:C/non_UNIX_0 c" +User_Alias UA12 = "%:C/non\'UNIX_3 c" +User_Alias UA2 = foo.bar +User_Alias UA3 = foo\" +User_Alias UA4 = foo\:bar +User_Alias UA5 = foo\:bar\" +User_Alias UA6 = %baz +User_Alias UA7 = %baz.biz +User_Alias UA8 = "%:C/non UNIX 0 c" +User_Alias UA9 = "%:C/non\'UNIX\'1 c" + +foo hosta = (root) ALL +foo.bar hostb = (root) ALL +foo\" hostc = (root) ALL +foo\:bar hostd = (root) ALL +foo\:bar\" hoste = (root) ALL +%baz hosta = (root) ALL +%baz.biz hostb = (root) ALL +"%:C/non UNIX 0 c" hostc = (root) ALL +"%:C/non\'UNIX\'1 c" hostd = (root) ALL +"%:C/non\"UNIX\"0 c" hoste = (root) ALL +"%:C/non_UNIX_0 c" hostf = (root) ALL +"%:C/non\'UNIX_3 c" hostg = (root) ALL ++netgr hosth = (root) ALL +user ALL = /bin/ls "", /bin/echo " ", /bin/foo"bar "" diff --git a/plugins/sudoers/regress/sudoers/test2.toke.ok b/plugins/sudoers/regress/sudoers/test2.toke.ok new file mode 100644 index 0000000..4c4b88d --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test2.toke.ok @@ -0,0 +1,63 @@ +# +USERALIAS ALIAS = BEGINSTR STRBODY ENDSTR WORD(4) +USERALIAS ALIAS = BEGINSTR STRBODY ENDSTR WORD(4) +USERALIAS ALIAS = BEGINSTR STRBODY ENDSTR WORD(4) +USERALIAS ALIAS = BEGINSTR STRBODY ENDSTR WORD(4) +USERALIAS ALIAS = BEGINSTR STRBODY ENDSTR WORD(4) + +# +USERALIAS ALIAS = BEGINSTR STRBODY ENDSTR USERGROUP +USERALIAS ALIAS = BEGINSTR STRBODY ENDSTR USERGROUP + +# +USERALIAS ALIAS = BEGINSTR STRBODY ENDSTR USERGROUP +USERALIAS ALIAS = BEGINSTR STRBODY BACKSLASH STRBODY BACKSLASH STRBODY ENDSTR USERGROUP +USERALIAS ALIAS = BEGINSTR STRBODY ENDSTR USERGROUP +USERALIAS ALIAS = BEGINSTR STRBODY ENDSTR USERGROUP +USERALIAS ALIAS = BEGINSTR STRBODY BACKSLASH STRBODY ENDSTR USERGROUP + +# +RUNASALIAS ALIAS = BEGINSTR STRBODY ENDSTR WORD(4) +RUNASALIAS ALIAS = BEGINSTR STRBODY ENDSTR WORD(4) +RUNASALIAS ALIAS = BEGINSTR STRBODY ENDSTR WORD(4) +RUNASALIAS ALIAS = BEGINSTR STRBODY ENDSTR WORD(4) + +# +DEFAULTS_HOST BEGINSTR STRBODY ENDSTR WORD(4) DEFVAR +DEFAULTS_HOST BEGINSTR STRBODY ENDSTR WORD(4) DEFVAR + +# +DEFAULTS_USER BEGINSTR STRBODY ENDSTR WORD(4) DEFVAR +DEFAULTS_USER BEGINSTR STRBODY ENDSTR WORD(4) DEFVAR +DEFAULTS_USER BEGINSTR STRBODY ENDSTR USERGROUP DEFVAR +DEFAULTS_USER BEGINSTR STRBODY ENDSTR USERGROUP DEFVAR +DEFAULTS_USER BEGINSTR STRBODY ENDSTR NETGROUP DEFVAR + +# +DEFAULTS_RUNAS BEGINSTR STRBODY ENDSTR WORD(4) DEFVAR +DEFAULTS_RUNAS BEGINSTR STRBODY ENDSTR WORD(4) DEFVAR + +# +# +# +# + +# +BEGINSTR STRBODY ENDSTR WORD(4) BEGINSTR STRBODY ENDSTR WORD(4) = ( BEGINSTR STRBODY ENDSTR WORD(4) ) ALL +BEGINSTR STRBODY ENDSTR WORD(4) BEGINSTR STRBODY ENDSTR WORD(4) = ( BEGINSTR STRBODY ENDSTR WORD(4) ) ALL +BEGINSTR STRBODY ENDSTR WORD(4) BEGINSTR STRBODY ENDSTR WORD(4) = ( BEGINSTR STRBODY ENDSTR WORD(4) ) ALL +BEGINSTR STRBODY ENDSTR WORD(4) BEGINSTR STRBODY ENDSTR WORD(4) = ( BEGINSTR STRBODY ENDSTR WORD(4) ) ALL +BEGINSTR STRBODY ENDSTR WORD(4) BEGINSTR STRBODY ENDSTR WORD(4) = ( BEGINSTR STRBODY ENDSTR WORD(4) ) ALL + +# +BEGINSTR STRBODY ENDSTR USERGROUP BEGINSTR STRBODY ENDSTR WORD(4) = ( BEGINSTR STRBODY ENDSTR WORD(4) ) ALL +BEGINSTR STRBODY ENDSTR USERGROUP BEGINSTR STRBODY ENDSTR WORD(4) = ( BEGINSTR STRBODY ENDSTR WORD(4) ) ALL +BEGINSTR STRBODY ENDSTR USERGROUP BEGINSTR STRBODY ENDSTR WORD(4) = ( BEGINSTR STRBODY ENDSTR WORD(4) ) ALL +BEGINSTR STRBODY BACKSLASH STRBODY BACKSLASH STRBODY ENDSTR USERGROUP BEGINSTR STRBODY ENDSTR WORD(4) = ( BEGINSTR STRBODY ENDSTR WORD(4) ) ALL +BEGINSTR STRBODY ENDSTR USERGROUP BEGINSTR STRBODY ENDSTR WORD(4) = ( BEGINSTR STRBODY ENDSTR WORD(4) ) ALL +BEGINSTR STRBODY ENDSTR USERGROUP BEGINSTR STRBODY ENDSTR WORD(4) = ( BEGINSTR STRBODY ENDSTR WORD(4) ) ALL +BEGINSTR STRBODY BACKSLASH STRBODY ENDSTR USERGROUP BEGINSTR STRBODY ENDSTR WORD(4) = ( BEGINSTR STRBODY ENDSTR WORD(4) ) ALL +BEGINSTR STRBODY ENDSTR NETGROUP BEGINSTR STRBODY ENDSTR WORD(4) = ( BEGINSTR STRBODY ENDSTR WORD(4) ) ALL + +# +WORD(6) ALL = COMMAND ARG , COMMAND ARG ARG , COMMAND ARG diff --git a/plugins/sudoers/regress/sudoers/test20.in b/plugins/sudoers/regress/sudoers/test20.in new file mode 100644 index 0000000..c24f88a --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test20.in @@ -0,0 +1,26 @@ +# Test parsing of tuples +Defaults lecture +Defaults !lecture +Defaults lecture=never +Defaults lecture=once +Defaults lecture=always + +Defaults listpw +Defaults !listpw +Defaults listpw=never +Defaults listpw=any +Defaults listpw=all +Defaults listpw=always + +Defaults verifypw +Defaults !verifypw +Defaults verifypw=never +Defaults verifypw=any +Defaults verifypw=all +Defaults verifypw=always + +Defaults fdexec +Defaults !fdexec +Defaults fdexec=never +Defaults fdexec=digest_only +Defaults fdexec=always diff --git a/plugins/sudoers/regress/sudoers/test20.json.ok b/plugins/sudoers/regress/sudoers/test20.json.ok new file mode 100644 index 0000000..f2f1d55 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test20.json.ok @@ -0,0 +1,114 @@ +{ + "Defaults": [ + { + "Options": [ + { "lecture": true } + ] + }, + { + "Options": [ + { "lecture": false } + ] + }, + { + "Options": [ + { "lecture": "never" } + ] + }, + { + "Options": [ + { "lecture": "once" } + ] + }, + { + "Options": [ + { "lecture": "always" } + ] + }, + { + "Options": [ + { "listpw": true } + ] + }, + { + "Options": [ + { "listpw": false } + ] + }, + { + "Options": [ + { "listpw": "never" } + ] + }, + { + "Options": [ + { "listpw": "any" } + ] + }, + { + "Options": [ + { "listpw": "all" } + ] + }, + { + "Options": [ + { "listpw": "always" } + ] + }, + { + "Options": [ + { "verifypw": true } + ] + }, + { + "Options": [ + { "verifypw": false } + ] + }, + { + "Options": [ + { "verifypw": "never" } + ] + }, + { + "Options": [ + { "verifypw": "any" } + ] + }, + { + "Options": [ + { "verifypw": "all" } + ] + }, + { + "Options": [ + { "verifypw": "always" } + ] + }, + { + "Options": [ + { "fdexec": true } + ] + }, + { + "Options": [ + { "fdexec": false } + ] + }, + { + "Options": [ + { "fdexec": "never" } + ] + }, + { + "Options": [ + { "fdexec": "digest_only" } + ] + }, + { + "Options": [ + { "fdexec": "always" } + ] + } + ] +} diff --git a/plugins/sudoers/regress/sudoers/test20.ldif.ok b/plugins/sudoers/regress/sudoers/test20.ldif.ok new file mode 100644 index 0000000..de01cde --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test20.ldif.ok @@ -0,0 +1,28 @@ +dn: cn=defaults,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: defaults +description: Default sudoOption's go here +sudoOption: lecture +sudoOption: !lecture +sudoOption: lecture=never +sudoOption: lecture=once +sudoOption: lecture=always +sudoOption: listpw +sudoOption: !listpw +sudoOption: listpw=never +sudoOption: listpw=any +sudoOption: listpw=all +sudoOption: listpw=always +sudoOption: verifypw +sudoOption: !verifypw +sudoOption: verifypw=never +sudoOption: verifypw=any +sudoOption: verifypw=all +sudoOption: verifypw=always +sudoOption: fdexec +sudoOption: !fdexec +sudoOption: fdexec=never +sudoOption: fdexec=digest_only +sudoOption: fdexec=always + diff --git a/plugins/sudoers/regress/sudoers/test20.ldif2sudo.ok b/plugins/sudoers/regress/sudoers/test20.ldif2sudo.ok new file mode 100644 index 0000000..e1c743c --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test20.ldif2sudo.ok @@ -0,0 +1,22 @@ +Defaults lecture +Defaults !lecture +Defaults lecture=never +Defaults lecture=once +Defaults lecture=always +Defaults listpw +Defaults !listpw +Defaults listpw=never +Defaults listpw=any +Defaults listpw=all +Defaults listpw=always +Defaults verifypw +Defaults !verifypw +Defaults verifypw=never +Defaults verifypw=any +Defaults verifypw=all +Defaults verifypw=always +Defaults fdexec +Defaults !fdexec +Defaults fdexec=never +Defaults fdexec=digest_only +Defaults fdexec=always diff --git a/plugins/sudoers/regress/sudoers/test20.out.ok b/plugins/sudoers/regress/sudoers/test20.out.ok new file mode 100644 index 0000000..260be81 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test20.out.ok @@ -0,0 +1,24 @@ +Parses OK + +Defaults lecture +Defaults !lecture +Defaults lecture=never +Defaults lecture=once +Defaults lecture=always +Defaults listpw +Defaults !listpw +Defaults listpw=never +Defaults listpw=any +Defaults listpw=all +Defaults listpw=always +Defaults verifypw +Defaults !verifypw +Defaults verifypw=never +Defaults verifypw=any +Defaults verifypw=all +Defaults verifypw=always +Defaults fdexec +Defaults !fdexec +Defaults fdexec=never +Defaults fdexec=digest_only +Defaults fdexec=always diff --git a/plugins/sudoers/regress/sudoers/test20.toke.ok b/plugins/sudoers/regress/sudoers/test20.toke.ok new file mode 100644 index 0000000..1847149 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test20.toke.ok @@ -0,0 +1,26 @@ +# +DEFAULTS DEFVAR +DEFAULTS !DEFVAR +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) + +DEFAULTS DEFVAR +DEFAULTS !DEFVAR +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) + +DEFAULTS DEFVAR +DEFAULTS !DEFVAR +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) + +DEFAULTS DEFVAR +DEFAULTS !DEFVAR +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) diff --git a/plugins/sudoers/regress/sudoers/test21.in b/plugins/sudoers/regress/sudoers/test21.in new file mode 100644 index 0000000..65416cf --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test21.in @@ -0,0 +1,36 @@ +# Test parsing of syslog settings +Defaults syslog +Defaults !syslog +Defaults syslog=auth +Defaults syslog=daemon +Defaults syslog=user +Defaults syslog=local0 +Defaults syslog=local1 +Defaults syslog=local2 +Defaults syslog=local3 +Defaults syslog=local4 +Defaults syslog=local5 +Defaults syslog=local6 +Defaults syslog=local7 + +Defaults !syslog_goodpri +Defaults syslog_goodpri=alert +Defaults syslog_goodpri=crit +Defaults syslog_goodpri=debug +Defaults syslog_goodpri=emerg +Defaults syslog_goodpri=err +Defaults syslog_goodpri=info +Defaults syslog_goodpri=notice +Defaults syslog_goodpri=warning +Defaults syslog_goodpri=none + +Defaults !syslog_badpri +Defaults syslog_badpri=alert +Defaults syslog_badpri=crit +Defaults syslog_badpri=debug +Defaults syslog_badpri=emerg +Defaults syslog_badpri=err +Defaults syslog_badpri=info +Defaults syslog_badpri=notice +Defaults syslog_badpri=warning +Defaults syslog_badpri=none diff --git a/plugins/sudoers/regress/sudoers/test21.json.ok b/plugins/sudoers/regress/sudoers/test21.json.ok new file mode 100644 index 0000000..7896965 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test21.json.ok @@ -0,0 +1,169 @@ +{ + "Defaults": [ + { + "Options": [ + { "syslog": true } + ] + }, + { + "Options": [ + { "syslog": false } + ] + }, + { + "Options": [ + { "syslog": "auth" } + ] + }, + { + "Options": [ + { "syslog": "daemon" } + ] + }, + { + "Options": [ + { "syslog": "user" } + ] + }, + { + "Options": [ + { "syslog": "local0" } + ] + }, + { + "Options": [ + { "syslog": "local1" } + ] + }, + { + "Options": [ + { "syslog": "local2" } + ] + }, + { + "Options": [ + { "syslog": "local3" } + ] + }, + { + "Options": [ + { "syslog": "local4" } + ] + }, + { + "Options": [ + { "syslog": "local5" } + ] + }, + { + "Options": [ + { "syslog": "local6" } + ] + }, + { + "Options": [ + { "syslog": "local7" } + ] + }, + { + "Options": [ + { "syslog_goodpri": false } + ] + }, + { + "Options": [ + { "syslog_goodpri": "alert" } + ] + }, + { + "Options": [ + { "syslog_goodpri": "crit" } + ] + }, + { + "Options": [ + { "syslog_goodpri": "debug" } + ] + }, + { + "Options": [ + { "syslog_goodpri": "emerg" } + ] + }, + { + "Options": [ + { "syslog_goodpri": "err" } + ] + }, + { + "Options": [ + { "syslog_goodpri": "info" } + ] + }, + { + "Options": [ + { "syslog_goodpri": "notice" } + ] + }, + { + "Options": [ + { "syslog_goodpri": "warning" } + ] + }, + { + "Options": [ + { "syslog_goodpri": "none" } + ] + }, + { + "Options": [ + { "syslog_badpri": false } + ] + }, + { + "Options": [ + { "syslog_badpri": "alert" } + ] + }, + { + "Options": [ + { "syslog_badpri": "crit" } + ] + }, + { + "Options": [ + { "syslog_badpri": "debug" } + ] + }, + { + "Options": [ + { "syslog_badpri": "emerg" } + ] + }, + { + "Options": [ + { "syslog_badpri": "err" } + ] + }, + { + "Options": [ + { "syslog_badpri": "info" } + ] + }, + { + "Options": [ + { "syslog_badpri": "notice" } + ] + }, + { + "Options": [ + { "syslog_badpri": "warning" } + ] + }, + { + "Options": [ + { "syslog_badpri": "none" } + ] + } + ] +} diff --git a/plugins/sudoers/regress/sudoers/test21.ldif.ok b/plugins/sudoers/regress/sudoers/test21.ldif.ok new file mode 100644 index 0000000..b3bede8 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test21.ldif.ok @@ -0,0 +1,39 @@ +dn: cn=defaults,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: defaults +description: Default sudoOption's go here +sudoOption: syslog +sudoOption: !syslog +sudoOption: syslog=auth +sudoOption: syslog=daemon +sudoOption: syslog=user +sudoOption: syslog=local0 +sudoOption: syslog=local1 +sudoOption: syslog=local2 +sudoOption: syslog=local3 +sudoOption: syslog=local4 +sudoOption: syslog=local5 +sudoOption: syslog=local6 +sudoOption: syslog=local7 +sudoOption: !syslog_goodpri +sudoOption: syslog_goodpri=alert +sudoOption: syslog_goodpri=crit +sudoOption: syslog_goodpri=debug +sudoOption: syslog_goodpri=emerg +sudoOption: syslog_goodpri=err +sudoOption: syslog_goodpri=info +sudoOption: syslog_goodpri=notice +sudoOption: syslog_goodpri=warning +sudoOption: syslog_goodpri=none +sudoOption: !syslog_badpri +sudoOption: syslog_badpri=alert +sudoOption: syslog_badpri=crit +sudoOption: syslog_badpri=debug +sudoOption: syslog_badpri=emerg +sudoOption: syslog_badpri=err +sudoOption: syslog_badpri=info +sudoOption: syslog_badpri=notice +sudoOption: syslog_badpri=warning +sudoOption: syslog_badpri=none + diff --git a/plugins/sudoers/regress/sudoers/test21.ldif2sudo.ok b/plugins/sudoers/regress/sudoers/test21.ldif2sudo.ok new file mode 100644 index 0000000..56e09ff --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test21.ldif2sudo.ok @@ -0,0 +1,33 @@ +Defaults syslog +Defaults !syslog +Defaults syslog=auth +Defaults syslog=daemon +Defaults syslog=user +Defaults syslog=local0 +Defaults syslog=local1 +Defaults syslog=local2 +Defaults syslog=local3 +Defaults syslog=local4 +Defaults syslog=local5 +Defaults syslog=local6 +Defaults syslog=local7 +Defaults !syslog_goodpri +Defaults syslog_goodpri=alert +Defaults syslog_goodpri=crit +Defaults syslog_goodpri=debug +Defaults syslog_goodpri=emerg +Defaults syslog_goodpri=err +Defaults syslog_goodpri=info +Defaults syslog_goodpri=notice +Defaults syslog_goodpri=warning +Defaults syslog_goodpri=none +Defaults !syslog_badpri +Defaults syslog_badpri=alert +Defaults syslog_badpri=crit +Defaults syslog_badpri=debug +Defaults syslog_badpri=emerg +Defaults syslog_badpri=err +Defaults syslog_badpri=info +Defaults syslog_badpri=notice +Defaults syslog_badpri=warning +Defaults syslog_badpri=none diff --git a/plugins/sudoers/regress/sudoers/test21.out.ok b/plugins/sudoers/regress/sudoers/test21.out.ok new file mode 100644 index 0000000..136ec64 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test21.out.ok @@ -0,0 +1,35 @@ +Parses OK + +Defaults syslog +Defaults !syslog +Defaults syslog=auth +Defaults syslog=daemon +Defaults syslog=user +Defaults syslog=local0 +Defaults syslog=local1 +Defaults syslog=local2 +Defaults syslog=local3 +Defaults syslog=local4 +Defaults syslog=local5 +Defaults syslog=local6 +Defaults syslog=local7 +Defaults !syslog_goodpri +Defaults syslog_goodpri=alert +Defaults syslog_goodpri=crit +Defaults syslog_goodpri=debug +Defaults syslog_goodpri=emerg +Defaults syslog_goodpri=err +Defaults syslog_goodpri=info +Defaults syslog_goodpri=notice +Defaults syslog_goodpri=warning +Defaults syslog_goodpri=none +Defaults !syslog_badpri +Defaults syslog_badpri=alert +Defaults syslog_badpri=crit +Defaults syslog_badpri=debug +Defaults syslog_badpri=emerg +Defaults syslog_badpri=err +Defaults syslog_badpri=info +Defaults syslog_badpri=notice +Defaults syslog_badpri=warning +Defaults syslog_badpri=none diff --git a/plugins/sudoers/regress/sudoers/test21.toke.ok b/plugins/sudoers/regress/sudoers/test21.toke.ok new file mode 100644 index 0000000..871584b --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test21.toke.ok @@ -0,0 +1,36 @@ +# +DEFAULTS DEFVAR +DEFAULTS !DEFVAR +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) + +DEFAULTS !DEFVAR +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) + +DEFAULTS !DEFVAR +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) diff --git a/plugins/sudoers/regress/sudoers/test22.in b/plugins/sudoers/regress/sudoers/test22.in new file mode 100644 index 0000000..ecf2fd9 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test22.in @@ -0,0 +1,6 @@ +# Test parsing of empty Runas_List + +user1 ALL = ( : ) ALL +user2 ALL = (:) ALL +user3 ALL = ( ) ALL +user4 ALL = () ALL diff --git a/plugins/sudoers/regress/sudoers/test22.json.ok b/plugins/sudoers/regress/sudoers/test22.json.ok new file mode 100644 index 0000000..22141a1 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test22.json.ok @@ -0,0 +1,88 @@ +{ + "User_Specs": [ + { + "User_List": [ + { "username": "user1" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "runasusers": [ + { "username": "" } + ], + "Options": [ + { "setenv": true } + ], + "Commands": [ + { "command": "ALL" } + ] + } + ] + }, + { + "User_List": [ + { "username": "user2" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "runasusers": [ + { "username": "" } + ], + "Options": [ + { "setenv": true } + ], + "Commands": [ + { "command": "ALL" } + ] + } + ] + }, + { + "User_List": [ + { "username": "user3" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "runasusers": [ + { "username": "" } + ], + "Options": [ + { "setenv": true } + ], + "Commands": [ + { "command": "ALL" } + ] + } + ] + }, + { + "User_List": [ + { "username": "user4" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "runasusers": [ + { "username": "" } + ], + "Options": [ + { "setenv": true } + ], + "Commands": [ + { "command": "ALL" } + ] + } + ] + } + ] +} diff --git a/plugins/sudoers/regress/sudoers/test22.ldif.ok b/plugins/sudoers/regress/sudoers/test22.ldif.ok new file mode 100644 index 0000000..14c3df4 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test22.ldif.ok @@ -0,0 +1,40 @@ +dn: cn=user1,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user1 +sudoUser: user1 +sudoHost: ALL +sudoRunAsUser: +sudoCommand: ALL +sudoOrder: 1 + +dn: cn=user2,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user2 +sudoUser: user2 +sudoHost: ALL +sudoRunAsUser: +sudoCommand: ALL +sudoOrder: 2 + +dn: cn=user3,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user3 +sudoUser: user3 +sudoHost: ALL +sudoRunAsUser: +sudoCommand: ALL +sudoOrder: 3 + +dn: cn=user4,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user4 +sudoUser: user4 +sudoHost: ALL +sudoRunAsUser: +sudoCommand: ALL +sudoOrder: 4 + diff --git a/plugins/sudoers/regress/sudoers/test22.ldif2sudo.ok b/plugins/sudoers/regress/sudoers/test22.ldif2sudo.ok new file mode 100644 index 0000000..e0c98e0 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test22.ldif2sudo.ok @@ -0,0 +1,11 @@ +# sudoRole user1 +user1 ALL = () ALL + +# sudoRole user2 +user2 ALL = () ALL + +# sudoRole user3 +user3 ALL = () ALL + +# sudoRole user4 +user4 ALL = () ALL diff --git a/plugins/sudoers/regress/sudoers/test22.out.ok b/plugins/sudoers/regress/sudoers/test22.out.ok new file mode 100644 index 0000000..7117e18 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test22.out.ok @@ -0,0 +1,6 @@ +Parses OK + +user1 ALL = (root) ALL +user2 ALL = (root) ALL +user3 ALL = (root) ALL +user4 ALL = (root) ALL diff --git a/plugins/sudoers/regress/sudoers/test22.toke.ok b/plugins/sudoers/regress/sudoers/test22.toke.ok new file mode 100644 index 0000000..9eeb964 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test22.toke.ok @@ -0,0 +1,6 @@ +# + +WORD(6) ALL = ( : ) ALL +WORD(6) ALL = ( : ) ALL +WORD(6) ALL = ( ) ALL +WORD(6) ALL = ( ) ALL diff --git a/plugins/sudoers/regress/sudoers/test23.in b/plugins/sudoers/regress/sudoers/test23.in new file mode 100644 index 0000000..5e03d9e --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test23.in @@ -0,0 +1,11 @@ +# Test parsing of env_check, env_delete and env_keep +Defaults env_check = "COLORTERM LANG LANGUAGE LC_* LINGUAS" +Defaults env_check += "TERM TZ" + +Defaults env_delete = "IFS CDPATH LOCALDOMAIN RES_OPTIONS HOSTALIASES" +Defaults env_delete += "NLSPATH PATH_LOCALE LD_* _RLD*" + +Defaults env_keep += "LANG LANGUAGE LINGUAS LC_* _XKB_CHARSET" +Defaults env_keep -= _XKB_CHARSET +Defaults env_keep += "XAPPLRESDIR XFILESEARCHPATH XUSERFILESEARCHPATH" +Defaults env_keep += XDG_SESSION_COOKIE diff --git a/plugins/sudoers/regress/sudoers/test23.json.ok b/plugins/sudoers/regress/sudoers/test23.json.ok new file mode 100644 index 0000000..5e8b0da --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test23.json.ok @@ -0,0 +1,102 @@ +{ + "Defaults": [ + { + "Options": [ + { + "operation": "list_assign", + "env_check": [ + "COLORTERM", + "LANG", + "LANGUAGE", + "LC_*", + "LINGUAS" + ] + } + ] + }, + { + "Options": [ + { + "operation": "list_add", + "env_check": [ + "TERM", + "TZ" + ] + } + ] + }, + { + "Options": [ + { + "operation": "list_assign", + "env_delete": [ + "IFS", + "CDPATH", + "LOCALDOMAIN", + "RES_OPTIONS", + "HOSTALIASES" + ] + } + ] + }, + { + "Options": [ + { + "operation": "list_add", + "env_delete": [ + "NLSPATH", + "PATH_LOCALE", + "LD_*", + "_RLD*" + ] + } + ] + }, + { + "Options": [ + { + "operation": "list_add", + "env_keep": [ + "LANG", + "LANGUAGE", + "LINGUAS", + "LC_*", + "_XKB_CHARSET" + ] + } + ] + }, + { + "Options": [ + { + "operation": "list_remove", + "env_keep": [ + "_XKB_CHARSET" + ] + } + ] + }, + { + "Options": [ + { + "operation": "list_add", + "env_keep": [ + "XAPPLRESDIR", + "XFILESEARCHPATH", + "XUSERFILESEARCHPATH" + ] + } + ] + }, + { + "Options": [ + { + "operation": "list_add", + "env_keep": [ + "XDG_SESSION_COOKIE" + ] + } + ] + } + ] +} diff --git a/plugins/sudoers/regress/sudoers/test23.ldif.ok b/plugins/sudoers/regress/sudoers/test23.ldif.ok new file mode 100644 index 0000000..97c1fbd --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test23.ldif.ok @@ -0,0 +1,14 @@ +dn: cn=defaults,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: defaults +description: Default sudoOption's go here +sudoOption: env_check=COLORTERM LANG LANGUAGE LC_* LINGUAS +sudoOption: env_check+=TERM TZ +sudoOption: env_delete=IFS CDPATH LOCALDOMAIN RES_OPTIONS HOSTALIASES +sudoOption: env_delete+=NLSPATH PATH_LOCALE LD_* _RLD* +sudoOption: env_keep+=LANG LANGUAGE LINGUAS LC_* _XKB_CHARSET +sudoOption: env_keep-=_XKB_CHARSET +sudoOption: env_keep+=XAPPLRESDIR XFILESEARCHPATH XUSERFILESEARCHPATH +sudoOption: env_keep+=XDG_SESSION_COOKIE + diff --git a/plugins/sudoers/regress/sudoers/test23.ldif2sudo.ok b/plugins/sudoers/regress/sudoers/test23.ldif2sudo.ok new file mode 100644 index 0000000..bb9f2e9 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test23.ldif2sudo.ok @@ -0,0 +1,8 @@ +Defaults env_check="COLORTERM LANG LANGUAGE LC_* LINGUAS" +Defaults env_check+="TERM TZ" +Defaults env_delete="IFS CDPATH LOCALDOMAIN RES_OPTIONS HOSTALIASES" +Defaults env_delete+="NLSPATH PATH_LOCALE LD_* _RLD*" +Defaults env_keep+="LANG LANGUAGE LINGUAS LC_* _XKB_CHARSET" +Defaults env_keep-=_XKB_CHARSET +Defaults env_keep+="XAPPLRESDIR XFILESEARCHPATH XUSERFILESEARCHPATH" +Defaults env_keep+=XDG_SESSION_COOKIE diff --git a/plugins/sudoers/regress/sudoers/test23.out.ok b/plugins/sudoers/regress/sudoers/test23.out.ok new file mode 100644 index 0000000..fe6e415 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test23.out.ok @@ -0,0 +1,10 @@ +Parses OK + +Defaults env_check="COLORTERM LANG LANGUAGE LC_* LINGUAS" +Defaults env_check+="TERM TZ" +Defaults env_delete="IFS CDPATH LOCALDOMAIN RES_OPTIONS HOSTALIASES" +Defaults env_delete+="NLSPATH PATH_LOCALE LD_* _RLD*" +Defaults env_keep+="LANG LANGUAGE LINGUAS LC_* _XKB_CHARSET" +Defaults env_keep-=_XKB_CHARSET +Defaults env_keep+="XAPPLRESDIR XFILESEARCHPATH XUSERFILESEARCHPATH" +Defaults env_keep+=XDG_SESSION_COOKIE diff --git a/plugins/sudoers/regress/sudoers/test23.toke.ok b/plugins/sudoers/regress/sudoers/test23.toke.ok new file mode 100644 index 0000000..3d7cd84 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test23.toke.ok @@ -0,0 +1,11 @@ +# +DEFAULTS DEFVAR = BEGINSTR STRBODY ENDSTR WORD(4) +DEFAULTS DEFVAR += BEGINSTR STRBODY ENDSTR WORD(4) + +DEFAULTS DEFVAR = BEGINSTR STRBODY ENDSTR WORD(4) +DEFAULTS DEFVAR += BEGINSTR STRBODY ENDSTR WORD(4) + +DEFAULTS DEFVAR += BEGINSTR STRBODY ENDSTR WORD(4) +DEFAULTS DEFVAR -= WORD(2) +DEFAULTS DEFVAR += BEGINSTR STRBODY ENDSTR WORD(4) +DEFAULTS DEFVAR += WORD(2) diff --git a/plugins/sudoers/regress/sudoers/test24.in b/plugins/sudoers/regress/sudoers/test24.in new file mode 100644 index 0000000..3fc3bbc --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test24.in @@ -0,0 +1,6 @@ +# Test parsing of CHROOT and CWD syntax +Defaults runcwd=~ +Defaults runchroot=/ +# +user0 ALL = CHROOT=/var/www CWD=/htdocs /bin/ksh +user1 ALL = CWD=~root /usr/bin/id, CWD=/tmp /bin/ls diff --git a/plugins/sudoers/regress/sudoers/test24.json.ok b/plugins/sudoers/regress/sudoers/test24.json.ok new file mode 100644 index 0000000..964359c --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test24.json.ok @@ -0,0 +1,61 @@ +{ + "Defaults": [ + { + "Options": [ + { "runcwd": "~" } + ] + }, + { + "Options": [ + { "runchroot": "/" } + ] + } + ], + "User_Specs": [ + { + "User_List": [ + { "username": "user0" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Options": [ + "runchroot": "/var/www", + "runcwd": "/htdocs" + ], + "Commands": [ + { "command": "/bin/ksh" } + ] + } + ] + }, + { + "User_List": [ + { "username": "user1" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Options": [ + "runcwd": "~root" + ], + "Commands": [ + { "command": "/usr/bin/id" } + ] + }, + { + "Options": [ + "runcwd": "/tmp" + ], + "Commands": [ + { "command": "/bin/ls" } + ] + } + ] + } + ] +} diff --git a/plugins/sudoers/regress/sudoers/test24.ldif.ok b/plugins/sudoers/regress/sudoers/test24.ldif.ok new file mode 100644 index 0000000..aeb5f7a --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test24.ldif.ok @@ -0,0 +1,39 @@ +dn: cn=defaults,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: defaults +description: Default sudoOption's go here +sudoOption: runcwd=~ +sudoOption: runchroot=/ + +dn: cn=user0,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user0 +sudoUser: user0 +sudoHost: ALL +sudoOption: runchroot=/var/www +sudoOption: runcwd=/htdocs +sudoCommand: /bin/ksh +sudoOrder: 1 + +dn: cn=user1,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user1 +sudoUser: user1 +sudoHost: ALL +sudoOption: runcwd=~root +sudoCommand: /usr/bin/id +sudoOrder: 2 + +dn: cn=user1_1,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user1_1 +sudoUser: user1 +sudoHost: ALL +sudoOption: runcwd=/tmp +sudoCommand: /bin/ls +sudoOrder: 3 + diff --git a/plugins/sudoers/regress/sudoers/test24.ldif2sudo.ok b/plugins/sudoers/regress/sudoers/test24.ldif2sudo.ok new file mode 100644 index 0000000..4c09657 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test24.ldif2sudo.ok @@ -0,0 +1,8 @@ +Defaults runcwd=~ +Defaults runchroot=/ + +# sudoRole user0 +user0 ALL = CHROOT=/var/www CWD=/htdocs /bin/ksh + +# sudoRole user1, user1_1 +user1 ALL = CWD=~root /usr/bin/id, CWD=/tmp /bin/ls diff --git a/plugins/sudoers/regress/sudoers/test24.out.ok b/plugins/sudoers/regress/sudoers/test24.out.ok new file mode 100644 index 0000000..530b700 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test24.out.ok @@ -0,0 +1,7 @@ +Parses OK + +Defaults runcwd=~ +Defaults runchroot=/ + +user0 ALL = CHROOT=/var/www CWD=/htdocs /bin/ksh +user1 ALL = CWD=~root /usr/bin/id, CWD=/tmp /bin/ls diff --git a/plugins/sudoers/regress/sudoers/test24.toke.ok b/plugins/sudoers/regress/sudoers/test24.toke.ok new file mode 100644 index 0000000..47842f4 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test24.toke.ok @@ -0,0 +1,6 @@ +# +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) +# +WORD(6) ALL = CHROOT = WORD(5) CWD = WORD(5) COMMAND +WORD(6) ALL = CWD = WORD(5) COMMAND , CWD = WORD(5) COMMAND diff --git a/plugins/sudoers/regress/sudoers/test25.in b/plugins/sudoers/regress/sudoers/test25.in new file mode 100644 index 0000000..fe35587 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test25.in @@ -0,0 +1,3 @@ +# Test continuation character when there is nothing to continue +# Used to leak "~ron" when run under address sanitizer +foo ALL = CWD=~ron /bin/ls \ diff --git a/plugins/sudoers/regress/sudoers/test25.json.ok b/plugins/sudoers/regress/sudoers/test25.json.ok new file mode 100644 index 0000000..e69de29 diff --git a/plugins/sudoers/regress/sudoers/test25.ldif.ok b/plugins/sudoers/regress/sudoers/test25.ldif.ok new file mode 100644 index 0000000..e69de29 diff --git a/plugins/sudoers/regress/sudoers/test25.out.ok b/plugins/sudoers/regress/sudoers/test25.out.ok new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test25.out.ok @@ -0,0 +1 @@ + diff --git a/plugins/sudoers/regress/sudoers/test25.toke.ok b/plugins/sudoers/regress/sudoers/test25.toke.ok new file mode 100644 index 0000000..e58461e --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test25.toke.ok @@ -0,0 +1,3 @@ +# +# +WORD(6) ALL = CWD = WORD(5) COMMAND <*> \ No newline at end of file diff --git a/plugins/sudoers/regress/sudoers/test26.in b/plugins/sudoers/regress/sudoers/test26.in new file mode 100644 index 0000000..842f2b4 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test26.in @@ -0,0 +1,128 @@ +# Defaults settings that trigger callbacks +Defaults fqdn +Defaults runas_default=root +Defaults tty_tickets +Defaults umask=022 +Defaults runchroot=/ +Defaults logfile=/var/log/sudo +Defaults log_format=json +Defaults syslog=auth, syslog_badpri=alert, syslog_goodpri=notice +Defaults syslog_maxlen=2048 +Defaults !loglinelen, log_year, log_host +Defaults !mailerpath, mailerflags="-t", mailfrom="sudo@sudo.ws", mailto="root@localhost", mailsub="*** Sudo information for %h ***" + +# All other Defaults settings +Defaults long_otp_prompt +Defaults ignore_dot +Defaults !mail_always +Defaults !mail_badpass +Defaults !mail_no_user +Defaults !mail_no_host +Defaults !mail_no_perms +Defaults !mail_all_cmnds +Defaults lecture=always +Defaults lecture_file=/etc/sudo.lecture +Defaults authenticate +Defaults root_sudo +Defaults shell_noargs +Defaults set_home +Defaults always_set_home +Defaults path_info +Defaults insults +Defaults !requiretty +Defaults env_editor +Defaults !rootpw +Defaults !runaspw +Defaults !targetpw +Defaults use_loginclass +Defaults set_logname +Defaults !stay_setuid +Defaults !preserve_groups +Defaults timestamp_timeout=.5 +Defaults passwd_timeout=5 +Defaults passwd_tries=3 +Defaults badpass_message="Take off, eh!" +Defaults lecture_status_dir="/var/lib/sudo/lectured" +Defaults timestampdir="/run/sudo/ts" +Defaults timestampowner=root +Defaults exempt_group=sudo +Defaults passprompt="%p's sudo password: " +Defaults passprompt_override +Defaults secure_path="/usr/bin:/usr/sbin:/bin:/sbin" +Defaults editor=/usr/bin/vi +Defaults listpw=any +Defaults verifypw=all +Defaults noexec +Defaults ignore_local_sudoers +Defaults closefrom=3 +Defaults closefrom_override +Defaults !setenv +Defaults env_reset +Defaults env_check += "TERMCAP" +Defaults !env_delete +Defaults env_keep += "LANG LANGUAGE LINGUAS LC_* _XKB_CHARSET" +#Defaults role +#Defaults type +Defaults env_file="/etc/environment" +Defaults restricted_env_file="/etc/environment.sudo" +Defaults sudoers_locale=C +Defaults !visiblepw +Defaults pwfeedback +Defaults fast_glob +Defaults umask_override +Defaults log_input +Defaults log_output +Defaults compress_io +Defaults use_pty +#Defaults group_plugin +Defaults iolog_dir="/var/log/sudo-io" +Defaults iolog_file="%{seq}" +Defaults set_utmp +Defaults utmp_runas +#Defaults privs +#Defaults limitprivs +Defaults !exec_background +Defaults pam_service="sudo" +Defaults pam_login_service="sudo-login" +Defaults pam_setcred +Defaults pam_session +Defaults pam_acct_mgmt +Defaults maxseq=2176782336 +Defaults use_netgroups +Defaults sudoedit_checkdir +Defaults !sudoedit_follow +Defaults always_query_group_plugin +Defaults netgroup_tuple +Defaults ignore_audit_errors +Defaults ignore_iolog_errors +Defaults ignore_logfile_errors +Defaults !match_group_by_gid +Defaults iolog_user=root +Defaults iolog_group=root +Defaults iolog_mode=0600 +Defaults fdexec=digest_only +Defaults !ignore_unknown_defaults +Defaults command_timeout=7d8h30m10s +Defaults user_command_timeouts +Defaults iolog_flush +Defaults syslog_pid +Defaults timestamp_type=tty +Defaults authfail_message="Learn to type!" +Defaults case_insensitive_user +Defaults case_insensitive_group +Defaults log_allowed +Defaults log_denied +Defaults !log_servers +Defaults log_server_timeout=10 +Defaults log_server_keepalive +Defaults !log_server_cabundle +Defaults !log_server_peer_cert +Defaults !log_server_peer_key +Defaults !log_server_verify +Defaults runas_allow_unknown_id +Defaults runas_check_shell +Defaults pam_ruser +Defaults pam_rhost +Defaults runcwd=~ +Defaults !selinux +Defaults !admin_flag diff --git a/plugins/sudoers/regress/sudoers/test26.json.ok b/plugins/sudoers/regress/sudoers/test26.json.ok new file mode 100644 index 0000000..4fabe5f --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test26.json.ok @@ -0,0 +1,626 @@ +{ + "Defaults": [ + { + "Options": [ + { "fqdn": true } + ] + }, + { + "Options": [ + { "runas_default": "root" } + ] + }, + { + "Options": [ + { "tty_tickets": true } + ] + }, + { + "Options": [ + { "umask": "022" } + ] + }, + { + "Options": [ + { "runchroot": "/" } + ] + }, + { + "Options": [ + { "logfile": "/var/log/sudo" } + ] + }, + { + "Options": [ + { "log_format": "json" } + ] + }, + { + "Options": [ + { "syslog": "auth" }, + { "syslog_badpri": "alert" }, + { "syslog_goodpri": "notice" } + ] + }, + { + "Options": [ + { "syslog_maxlen": "2048" } + ] + }, + { + "Options": [ + { "loglinelen": false }, + { "log_year": true }, + { "log_host": true } + ] + }, + { + "Options": [ + { "mailerpath": false }, + { "mailerflags": "-t" }, + { "mailfrom": "sudo@sudo.ws" }, + { "mailto": "root@localhost" }, + { "mailsub": "*** Sudo information for %h ***" } + ] + }, + { + "Options": [ + { "long_otp_prompt": true } + ] + }, + { + "Options": [ + { "ignore_dot": true } + ] + }, + { + "Options": [ + { "mail_always": false } + ] + }, + { + "Options": [ + { "mail_badpass": false } + ] + }, + { + "Options": [ + { "mail_no_user": false } + ] + }, + { + "Options": [ + { "mail_no_host": false } + ] + }, + { + "Options": [ + { "mail_no_perms": false } + ] + }, + { + "Options": [ + { "mail_all_cmnds": false } + ] + }, + { + "Options": [ + { "lecture": "always" } + ] + }, + { + "Options": [ + { "lecture_file": "/etc/sudo.lecture" } + ] + }, + { + "Options": [ + { "authenticate": true } + ] + }, + { + "Options": [ + { "root_sudo": true } + ] + }, + { + "Options": [ + { "shell_noargs": true } + ] + }, + { + "Options": [ + { "set_home": true } + ] + }, + { + "Options": [ + { "always_set_home": true } + ] + }, + { + "Options": [ + { "path_info": true } + ] + }, + { + "Options": [ + { "insults": true } + ] + }, + { + "Options": [ + { "requiretty": false } + ] + }, + { + "Options": [ + { "env_editor": true } + ] + }, + { + "Options": [ + { "rootpw": false } + ] + }, + { + "Options": [ + { "runaspw": false } + ] + }, + { + "Options": [ + { "targetpw": false } + ] + }, + { + "Options": [ + { "use_loginclass": true } + ] + }, + { + "Options": [ + { "set_logname": true } + ] + }, + { + "Options": [ + { "stay_setuid": false } + ] + }, + { + "Options": [ + { "preserve_groups": false } + ] + }, + { + "Options": [ + { "timestamp_timeout": ".5" } + ] + }, + { + "Options": [ + { "passwd_timeout": "5" } + ] + }, + { + "Options": [ + { "passwd_tries": "3" } + ] + }, + { + "Options": [ + { "badpass_message": "Take off, eh!" } + ] + }, + { + "Options": [ + { "lecture_status_dir": "/var/lib/sudo/lectured" } + ] + }, + { + "Options": [ + { "timestampdir": "/run/sudo/ts" } + ] + }, + { + "Options": [ + { "timestampowner": "root" } + ] + }, + { + "Options": [ + { "exempt_group": "sudo" } + ] + }, + { + "Options": [ + { "passprompt": "%p's sudo password: " } + ] + }, + { + "Options": [ + { "passprompt_override": true } + ] + }, + { + "Options": [ + { "secure_path": "/usr/bin:/usr/sbin:/bin:/sbin" } + ] + }, + { + "Options": [ + { "editor": "/usr/bin/vi" } + ] + }, + { + "Options": [ + { "listpw": "any" } + ] + }, + { + "Options": [ + { "verifypw": "all" } + ] + }, + { + "Options": [ + { "noexec": true } + ] + }, + { + "Options": [ + { "ignore_local_sudoers": true } + ] + }, + { + "Options": [ + { "closefrom": "3" } + ] + }, + { + "Options": [ + { "closefrom_override": true } + ] + }, + { + "Options": [ + { "setenv": false } + ] + }, + { + "Options": [ + { "env_reset": true } + ] + }, + { + "Options": [ + { + "operation": "list_add", + "env_check": [ + "TERMCAP" + ] + } + ] + }, + { + "Options": [ + { "env_delete": false } + ] + }, + { + "Options": [ + { + "operation": "list_add", + "env_keep": [ + "LANG", + "LANGUAGE", + "LINGUAS", + "LC_*", + "_XKB_CHARSET" + ] + } + ] + }, + { + "Options": [ + { "env_file": "/etc/environment" } + ] + }, + { + "Options": [ + { "restricted_env_file": "/etc/environment.sudo" } + ] + }, + { + "Options": [ + { "sudoers_locale": "C" } + ] + }, + { + "Options": [ + { "visiblepw": false } + ] + }, + { + "Options": [ + { "pwfeedback": true } + ] + }, + { + "Options": [ + { "fast_glob": true } + ] + }, + { + "Options": [ + { "umask_override": true } + ] + }, + { + "Options": [ + { "log_input": true } + ] + }, + { + "Options": [ + { "log_output": true } + ] + }, + { + "Options": [ + { "compress_io": true } + ] + }, + { + "Options": [ + { "use_pty": true } + ] + }, + { + "Options": [ + { "iolog_dir": "/var/log/sudo-io" } + ] + }, + { + "Options": [ + { "iolog_file": "%{seq}" } + ] + }, + { + "Options": [ + { "set_utmp": true } + ] + }, + { + "Options": [ + { "utmp_runas": true } + ] + }, + { + "Options": [ + { "exec_background": false } + ] + }, + { + "Options": [ + { "pam_service": "sudo" } + ] + }, + { + "Options": [ + { "pam_login_service": "sudo-login" } + ] + }, + { + "Options": [ + { "pam_setcred": true } + ] + }, + { + "Options": [ + { "pam_session": true } + ] + }, + { + "Options": [ + { "pam_acct_mgmt": true } + ] + }, + { + "Options": [ + { "maxseq": "2176782336" } + ] + }, + { + "Options": [ + { "use_netgroups": true } + ] + }, + { + "Options": [ + { "sudoedit_checkdir": true } + ] + }, + { + "Options": [ + { "sudoedit_follow": false } + ] + }, + { + "Options": [ + { "always_query_group_plugin": true } + ] + }, + { + "Options": [ + { "netgroup_tuple": true } + ] + }, + { + "Options": [ + { "ignore_audit_errors": true } + ] + }, + { + "Options": [ + { "ignore_iolog_errors": true } + ] + }, + { + "Options": [ + { "ignore_logfile_errors": true } + ] + }, + { + "Options": [ + { "match_group_by_gid": false } + ] + }, + { + "Options": [ + { "iolog_user": "root" } + ] + }, + { + "Options": [ + { "iolog_group": "root" } + ] + }, + { + "Options": [ + { "iolog_mode": "0600" } + ] + }, + { + "Options": [ + { "fdexec": "digest_only" } + ] + }, + { + "Options": [ + { "ignore_unknown_defaults": false } + ] + }, + { + "Options": [ + { "command_timeout": "7d8h30m10s" } + ] + }, + { + "Options": [ + { "user_command_timeouts": true } + ] + }, + { + "Options": [ + { "iolog_flush": true } + ] + }, + { + "Options": [ + { "syslog_pid": true } + ] + }, + { + "Options": [ + { "timestamp_type": "tty" } + ] + }, + { + "Options": [ + { "authfail_message": "Learn to type!" } + ] + }, + { + "Options": [ + { "case_insensitive_user": true } + ] + }, + { + "Options": [ + { "case_insensitive_group": true } + ] + }, + { + "Options": [ + { "log_allowed": true } + ] + }, + { + "Options": [ + { "log_denied": true } + ] + }, + { + "Options": [ + { "log_servers": false } + ] + }, + { + "Options": [ + { "log_server_timeout": "10" } + ] + }, + { + "Options": [ + { "log_server_keepalive": true } + ] + }, + { + "Options": [ + { "log_server_cabundle": false } + ] + }, + { + "Options": [ + { "log_server_peer_cert": false } + ] + }, + { + "Options": [ + { "log_server_peer_key": false } + ] + }, + { + "Options": [ + { "log_server_verify": false } + ] + }, + { + "Options": [ + { "runas_allow_unknown_id": true } + ] + }, + { + "Options": [ + { "runas_check_shell": true } + ] + }, + { + "Options": [ + { "pam_ruser": true } + ] + }, + { + "Options": [ + { "pam_rhost": true } + ] + }, + { + "Options": [ + { "runcwd": "~" } + ] + }, + { + "Options": [ + { "selinux": false } + ] + }, + { + "Options": [ + { "admin_flag": false } + ] + } + ] +} diff --git a/plugins/sudoers/regress/sudoers/test26.ldif.ok b/plugins/sudoers/regress/sudoers/test26.ldif.ok new file mode 100644 index 0000000..912e265 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test26.ldif.ok @@ -0,0 +1,134 @@ +dn: cn=defaults,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: defaults +description: Default sudoOption's go here +sudoOption: fqdn +sudoOption: runas_default=root +sudoOption: tty_tickets +sudoOption: umask=022 +sudoOption: runchroot=/ +sudoOption: logfile=/var/log/sudo +sudoOption: log_format=json +sudoOption: syslog=auth +sudoOption: syslog_badpri=alert +sudoOption: syslog_goodpri=notice +sudoOption: syslog_maxlen=2048 +sudoOption: !loglinelen +sudoOption: log_year +sudoOption: log_host +sudoOption: !mailerpath +sudoOption: mailerflags=-t +sudoOption: mailfrom=sudo@sudo.ws +sudoOption: mailto=root@localhost +sudoOption: mailsub=*** Sudo information for %h *** +sudoOption: long_otp_prompt +sudoOption: ignore_dot +sudoOption: !mail_always +sudoOption: !mail_badpass +sudoOption: !mail_no_user +sudoOption: !mail_no_host +sudoOption: !mail_no_perms +sudoOption: !mail_all_cmnds +sudoOption: lecture=always +sudoOption: lecture_file=/etc/sudo.lecture +sudoOption: authenticate +sudoOption: root_sudo +sudoOption: shell_noargs +sudoOption: set_home +sudoOption: always_set_home +sudoOption: path_info +sudoOption: insults +sudoOption: !requiretty +sudoOption: env_editor +sudoOption: !rootpw +sudoOption: !runaspw +sudoOption: !targetpw +sudoOption: use_loginclass +sudoOption: set_logname +sudoOption: !stay_setuid +sudoOption: !preserve_groups +sudoOption: timestamp_timeout=.5 +sudoOption: passwd_timeout=5 +sudoOption: passwd_tries=3 +sudoOption: badpass_message=Take off, eh! +sudoOption: lecture_status_dir=/var/lib/sudo/lectured +sudoOption: timestampdir=/run/sudo/ts +sudoOption: timestampowner=root +sudoOption: exempt_group=sudo +sudoOption: passprompt=%p's sudo password: +sudoOption: passprompt_override +sudoOption: secure_path=/usr/bin:/usr/sbin:/bin:/sbin +sudoOption: editor=/usr/bin/vi +sudoOption: listpw=any +sudoOption: verifypw=all +sudoOption: noexec +sudoOption: ignore_local_sudoers +sudoOption: closefrom=3 +sudoOption: closefrom_override +sudoOption: !setenv +sudoOption: env_reset +sudoOption: env_check+=TERMCAP +sudoOption: !env_delete +sudoOption: env_keep+=LANG LANGUAGE LINGUAS LC_* _XKB_CHARSET +sudoOption: env_file=/etc/environment +sudoOption: restricted_env_file=/etc/environment.sudo +sudoOption: sudoers_locale=C +sudoOption: !visiblepw +sudoOption: pwfeedback +sudoOption: fast_glob +sudoOption: umask_override +sudoOption: log_input +sudoOption: log_output +sudoOption: compress_io +sudoOption: use_pty +sudoOption: iolog_dir=/var/log/sudo-io +sudoOption: iolog_file=%{seq} +sudoOption: set_utmp +sudoOption: utmp_runas +sudoOption: !exec_background +sudoOption: pam_service=sudo +sudoOption: pam_login_service=sudo-login +sudoOption: pam_setcred +sudoOption: pam_session +sudoOption: pam_acct_mgmt +sudoOption: maxseq=2176782336 +sudoOption: use_netgroups +sudoOption: sudoedit_checkdir +sudoOption: !sudoedit_follow +sudoOption: always_query_group_plugin +sudoOption: netgroup_tuple +sudoOption: ignore_audit_errors +sudoOption: ignore_iolog_errors +sudoOption: ignore_logfile_errors +sudoOption: !match_group_by_gid +sudoOption: iolog_user=root +sudoOption: iolog_group=root +sudoOption: iolog_mode=0600 +sudoOption: fdexec=digest_only +sudoOption: !ignore_unknown_defaults +sudoOption: command_timeout=7d8h30m10s +sudoOption: user_command_timeouts +sudoOption: iolog_flush +sudoOption: syslog_pid +sudoOption: timestamp_type=tty +sudoOption: authfail_message=Learn to type! +sudoOption: case_insensitive_user +sudoOption: case_insensitive_group +sudoOption: log_allowed +sudoOption: log_denied +sudoOption: !log_servers +sudoOption: log_server_timeout=10 +sudoOption: log_server_keepalive +sudoOption: !log_server_cabundle +sudoOption: !log_server_peer_cert +sudoOption: !log_server_peer_key +sudoOption: !log_server_verify +sudoOption: runas_allow_unknown_id +sudoOption: runas_check_shell +sudoOption: pam_ruser +sudoOption: pam_rhost +sudoOption: runcwd=~ +sudoOption: !selinux +sudoOption: !admin_flag + diff --git a/plugins/sudoers/regress/sudoers/test26.ldif2sudo.ok b/plugins/sudoers/regress/sudoers/test26.ldif2sudo.ok new file mode 100644 index 0000000..706c6fd --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test26.ldif2sudo.ok @@ -0,0 +1,128 @@ +Defaults fqdn +Defaults runas_default=root +Defaults tty_tickets +Defaults umask=022 +Defaults runchroot=/ +Defaults logfile=/var/log/sudo +Defaults log_format=json +Defaults syslog=auth +Defaults syslog_badpri=alert +Defaults syslog_goodpri=notice +Defaults syslog_maxlen=2048 +Defaults !loglinelen +Defaults log_year +Defaults log_host +Defaults !mailerpath +Defaults mailerflags=-t +Defaults mailfrom=sudo@sudo.ws +Defaults mailto=root@localhost +Defaults mailsub="*** Sudo information for %h ***" +Defaults long_otp_prompt +Defaults ignore_dot +Defaults !mail_always +Defaults !mail_badpass +Defaults !mail_no_user +Defaults !mail_no_host +Defaults !mail_no_perms +Defaults !mail_all_cmnds +Defaults lecture=always +Defaults lecture_file=/etc/sudo.lecture +Defaults authenticate +Defaults root_sudo +Defaults shell_noargs +Defaults set_home +Defaults always_set_home +Defaults path_info +Defaults insults +Defaults !requiretty +Defaults env_editor +Defaults !rootpw +Defaults !runaspw +Defaults !targetpw +Defaults use_loginclass +Defaults set_logname +Defaults !stay_setuid +Defaults !preserve_groups +Defaults timestamp_timeout=.5 +Defaults passwd_timeout=5 +Defaults passwd_tries=3 +Defaults badpass_message="Take off, eh!" +Defaults lecture_status_dir=/var/lib/sudo/lectured +Defaults timestampdir=/run/sudo/ts +Defaults timestampowner=root +Defaults exempt_group=sudo +Defaults passprompt="%p's sudo password:" +Defaults passprompt_override +Defaults secure_path=/usr/bin\:/usr/sbin\:/bin\:/sbin +Defaults editor=/usr/bin/vi +Defaults listpw=any +Defaults verifypw=all +Defaults noexec +Defaults ignore_local_sudoers +Defaults closefrom=3 +Defaults closefrom_override +Defaults !setenv +Defaults env_reset +Defaults env_check+=TERMCAP +Defaults !env_delete +Defaults env_keep+="LANG LANGUAGE LINGUAS LC_* _XKB_CHARSET" +Defaults env_file=/etc/environment +Defaults restricted_env_file=/etc/environment.sudo +Defaults sudoers_locale=C +Defaults !visiblepw +Defaults pwfeedback +Defaults fast_glob +Defaults umask_override +Defaults log_input +Defaults log_output +Defaults compress_io +Defaults use_pty +Defaults iolog_dir=/var/log/sudo-io +Defaults iolog_file=%{seq} +Defaults set_utmp +Defaults utmp_runas +Defaults !exec_background +Defaults pam_service=sudo +Defaults pam_login_service=sudo-login +Defaults pam_setcred +Defaults pam_session +Defaults pam_acct_mgmt +Defaults maxseq=2176782336 +Defaults use_netgroups +Defaults sudoedit_checkdir +Defaults !sudoedit_follow +Defaults always_query_group_plugin +Defaults netgroup_tuple +Defaults ignore_audit_errors +Defaults ignore_iolog_errors +Defaults ignore_logfile_errors +Defaults !match_group_by_gid +Defaults iolog_user=root +Defaults iolog_group=root +Defaults iolog_mode=0600 +Defaults fdexec=digest_only +Defaults !ignore_unknown_defaults +Defaults command_timeout=7d8h30m10s +Defaults user_command_timeouts +Defaults iolog_flush +Defaults syslog_pid +Defaults timestamp_type=tty +Defaults authfail_message="Learn to type!" +Defaults case_insensitive_user +Defaults case_insensitive_group +Defaults log_allowed +Defaults log_denied +Defaults !log_servers +Defaults log_server_timeout=10 +Defaults log_server_keepalive +Defaults !log_server_cabundle +Defaults !log_server_peer_cert +Defaults !log_server_peer_key +Defaults !log_server_verify +Defaults runas_allow_unknown_id +Defaults runas_check_shell +Defaults pam_ruser +Defaults pam_rhost +Defaults runcwd=~ +Defaults !selinux +Defaults !admin_flag diff --git a/plugins/sudoers/regress/sudoers/test26.out.ok b/plugins/sudoers/regress/sudoers/test26.out.ok new file mode 100644 index 0000000..e9f07fb --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test26.out.ok @@ -0,0 +1,122 @@ +Parses OK + +Defaults fqdn +Defaults runas_default=root +Defaults tty_tickets +Defaults umask=022 +Defaults runchroot=/ +Defaults logfile=/var/log/sudo +Defaults log_format=json +Defaults syslog=auth, syslog_badpri=alert, syslog_goodpri=notice +Defaults syslog_maxlen=2048 +Defaults !loglinelen, log_year, log_host +Defaults !mailerpath, mailerflags=-t, mailfrom=sudo@sudo.ws, mailto=root@localhost, mailsub="*** Sudo information for %h ***" +Defaults long_otp_prompt +Defaults ignore_dot +Defaults !mail_always +Defaults !mail_badpass +Defaults !mail_no_user +Defaults !mail_no_host +Defaults !mail_no_perms +Defaults !mail_all_cmnds +Defaults lecture=always +Defaults lecture_file=/etc/sudo.lecture +Defaults authenticate +Defaults root_sudo +Defaults shell_noargs +Defaults set_home +Defaults always_set_home +Defaults path_info +Defaults insults +Defaults !requiretty +Defaults env_editor +Defaults !rootpw +Defaults !runaspw +Defaults !targetpw +Defaults use_loginclass +Defaults set_logname +Defaults !stay_setuid +Defaults !preserve_groups +Defaults timestamp_timeout=.5 +Defaults passwd_timeout=5 +Defaults passwd_tries=3 +Defaults badpass_message="Take off, eh!" +Defaults lecture_status_dir=/var/lib/sudo/lectured +Defaults timestampdir=/run/sudo/ts +Defaults timestampowner=root +Defaults exempt_group=sudo +Defaults passprompt="%p's sudo password: " +Defaults passprompt_override +Defaults secure_path=/usr/bin\:/usr/sbin\:/bin\:/sbin +Defaults editor=/usr/bin/vi +Defaults listpw=any +Defaults verifypw=all +Defaults noexec +Defaults ignore_local_sudoers +Defaults closefrom=3 +Defaults closefrom_override +Defaults !setenv +Defaults env_reset +Defaults env_check+=TERMCAP +Defaults !env_delete +Defaults env_keep+="LANG LANGUAGE LINGUAS LC_* _XKB_CHARSET" +Defaults env_file=/etc/environment +Defaults restricted_env_file=/etc/environment.sudo +Defaults sudoers_locale=C +Defaults !visiblepw +Defaults pwfeedback +Defaults fast_glob +Defaults umask_override +Defaults log_input +Defaults log_output +Defaults compress_io +Defaults use_pty +Defaults iolog_dir=/var/log/sudo-io +Defaults iolog_file=%{seq} +Defaults set_utmp +Defaults utmp_runas +Defaults !exec_background +Defaults pam_service=sudo +Defaults pam_login_service=sudo-login +Defaults pam_setcred +Defaults pam_session +Defaults pam_acct_mgmt +Defaults maxseq=2176782336 +Defaults use_netgroups +Defaults sudoedit_checkdir +Defaults !sudoedit_follow +Defaults always_query_group_plugin +Defaults netgroup_tuple +Defaults ignore_audit_errors +Defaults ignore_iolog_errors +Defaults ignore_logfile_errors +Defaults !match_group_by_gid +Defaults iolog_user=root +Defaults iolog_group=root +Defaults iolog_mode=0600 +Defaults fdexec=digest_only +Defaults !ignore_unknown_defaults +Defaults command_timeout=7d8h30m10s +Defaults user_command_timeouts +Defaults iolog_flush +Defaults syslog_pid +Defaults timestamp_type=tty +Defaults authfail_message="Learn to type!" +Defaults case_insensitive_user +Defaults case_insensitive_group +Defaults log_allowed +Defaults log_denied +Defaults !log_servers +Defaults log_server_timeout=10 +Defaults log_server_keepalive +Defaults !log_server_cabundle +Defaults !log_server_peer_cert +Defaults !log_server_peer_key +Defaults !log_server_verify +Defaults runas_allow_unknown_id +Defaults runas_check_shell +Defaults pam_ruser +Defaults pam_rhost +Defaults runcwd=~ +Defaults !selinux +Defaults !admin_flag diff --git a/plugins/sudoers/regress/sudoers/test26.toke.ok b/plugins/sudoers/regress/sudoers/test26.toke.ok new file mode 100644 index 0000000..9e125fe --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test26.toke.ok @@ -0,0 +1,128 @@ +# +DEFAULTS DEFVAR +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) , DEFVAR = WORD(2) , DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) +DEFAULTS !DEFVAR , DEFVAR , DEFVAR +DEFAULTS !DEFVAR , DEFVAR = BEGINSTR STRBODY ENDSTR WORD(4) , DEFVAR = BEGINSTR STRBODY ENDSTR WORD(4) , DEFVAR = BEGINSTR STRBODY ENDSTR WORD(4) , DEFVAR = BEGINSTR STRBODY ENDSTR WORD(4) + +# +DEFAULTS DEFVAR +DEFAULTS DEFVAR +DEFAULTS !DEFVAR +DEFAULTS !DEFVAR +DEFAULTS !DEFVAR +DEFAULTS !DEFVAR +DEFAULTS !DEFVAR +DEFAULTS !DEFVAR +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR +DEFAULTS DEFVAR +DEFAULTS DEFVAR +DEFAULTS DEFVAR +DEFAULTS DEFVAR +DEFAULTS DEFVAR +DEFAULTS DEFVAR +DEFAULTS !DEFVAR +DEFAULTS DEFVAR +DEFAULTS !DEFVAR +DEFAULTS !DEFVAR +DEFAULTS !DEFVAR +DEFAULTS DEFVAR +DEFAULTS DEFVAR +DEFAULTS !DEFVAR +DEFAULTS !DEFVAR +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = BEGINSTR STRBODY ENDSTR WORD(4) +DEFAULTS DEFVAR = BEGINSTR STRBODY ENDSTR WORD(4) +DEFAULTS DEFVAR = BEGINSTR STRBODY ENDSTR WORD(4) +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = BEGINSTR STRBODY ENDSTR WORD(4) +DEFAULTS DEFVAR +DEFAULTS DEFVAR = BEGINSTR STRBODY ENDSTR WORD(4) +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR +DEFAULTS DEFVAR +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR +DEFAULTS !DEFVAR +DEFAULTS DEFVAR +DEFAULTS DEFVAR += BEGINSTR STRBODY ENDSTR WORD(4) +DEFAULTS !DEFVAR +DEFAULTS DEFVAR += BEGINSTR STRBODY ENDSTR WORD(4) +# +# +DEFAULTS DEFVAR = BEGINSTR STRBODY ENDSTR WORD(4) +DEFAULTS DEFVAR = BEGINSTR STRBODY ENDSTR WORD(4) +DEFAULTS DEFVAR = WORD(2) +DEFAULTS !DEFVAR +DEFAULTS DEFVAR +DEFAULTS DEFVAR +DEFAULTS DEFVAR +DEFAULTS DEFVAR +DEFAULTS DEFVAR +DEFAULTS DEFVAR +DEFAULTS DEFVAR +# +DEFAULTS DEFVAR = BEGINSTR STRBODY ENDSTR WORD(4) +DEFAULTS DEFVAR = BEGINSTR STRBODY ENDSTR WORD(4) +DEFAULTS DEFVAR +DEFAULTS DEFVAR +# +# +DEFAULTS !DEFVAR +DEFAULTS DEFVAR = BEGINSTR STRBODY ENDSTR WORD(4) +DEFAULTS DEFVAR = BEGINSTR STRBODY ENDSTR WORD(4) +DEFAULTS DEFVAR +DEFAULTS DEFVAR +DEFAULTS DEFVAR +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR +DEFAULTS DEFVAR +DEFAULTS !DEFVAR +DEFAULTS DEFVAR +DEFAULTS DEFVAR +DEFAULTS DEFVAR +DEFAULTS DEFVAR +DEFAULTS DEFVAR +DEFAULTS !DEFVAR +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = WORD(2) +DEFAULTS !DEFVAR +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR +DEFAULTS DEFVAR +DEFAULTS DEFVAR +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR = BEGINSTR STRBODY ENDSTR WORD(4) +DEFAULTS DEFVAR +DEFAULTS DEFVAR +DEFAULTS DEFVAR +DEFAULTS DEFVAR +DEFAULTS !DEFVAR +DEFAULTS DEFVAR = WORD(2) +DEFAULTS DEFVAR +DEFAULTS !DEFVAR +DEFAULTS !DEFVAR +DEFAULTS !DEFVAR +DEFAULTS !DEFVAR +DEFAULTS DEFVAR +DEFAULTS DEFVAR +DEFAULTS DEFVAR +DEFAULTS DEFVAR +DEFAULTS DEFVAR = WORD(2) +DEFAULTS !DEFVAR +DEFAULTS !DEFVAR diff --git a/plugins/sudoers/regress/sudoers/test27.in b/plugins/sudoers/regress/sudoers/test27.in new file mode 100644 index 0000000..9e6c28f --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test27.in @@ -0,0 +1,13 @@ +# Query the group plugin too (if there is one) +Defaults always_query_group_plugin + +# Test RunasGroup with and without RunasUser +root ALL = ( root : wheel ) ALL +millert ALL = ( : wheel ) ALL +%sudo ALL = ( : ALL ) ALL + +# Test RunasUser with %group syntax +operator ALL = ( %wheel ) ALL + +# Test netgroup for user and host ++netusers +nethosts = ( +netrunas ) ALL diff --git a/plugins/sudoers/regress/sudoers/test27.json.ok b/plugins/sudoers/regress/sudoers/test27.json.ok new file mode 100644 index 0000000..81700cf --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test27.json.ok @@ -0,0 +1,119 @@ +{ + "Defaults": [ + { + "Options": [ + { "always_query_group_plugin": true } + ] + } + ], + "User_Specs": [ + { + "User_List": [ + { "username": "root" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "runasusers": [ + { "username": "root" } + ], + "runasgroups": [ + { "usergroup": "wheel" } + ], + "Options": [ + { "setenv": true } + ], + "Commands": [ + { "command": "ALL" } + ] + } + ] + }, + { + "User_List": [ + { "username": "millert" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "runasgroups": [ + { "usergroup": "wheel" } + ], + "Options": [ + { "setenv": true } + ], + "Commands": [ + { "command": "ALL" } + ] + } + ] + }, + { + "User_List": [ + { "usergroup": "sudo" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "runasgroups": [ + { "usergroup": "ALL" } + ], + "Options": [ + { "setenv": true } + ], + "Commands": [ + { "command": "ALL" } + ] + } + ] + }, + { + "User_List": [ + { "username": "operator" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "runasusers": [ + { "usergroup": "wheel" } + ], + "Options": [ + { "setenv": true } + ], + "Commands": [ + { "command": "ALL" } + ] + } + ] + }, + { + "User_List": [ + { "netgroup": "netusers" } + ], + "Host_List": [ + { "netgroup": "nethosts" } + ], + "Cmnd_Specs": [ + { + "runasusers": [ + { "netgroup": "netrunas" } + ], + "Options": [ + { "setenv": true } + ], + "Commands": [ + { "command": "ALL" } + ] + } + ] + } + ] +} diff --git a/plugins/sudoers/regress/sudoers/test27.ldif.ok b/plugins/sudoers/regress/sudoers/test27.ldif.ok new file mode 100644 index 0000000..b91a78d --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test27.ldif.ok @@ -0,0 +1,58 @@ +dn: cn=defaults,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: defaults +description: Default sudoOption's go here +sudoOption: always_query_group_plugin + +dn: cn=root,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: root +sudoUser: root +sudoHost: ALL +sudoRunAsUser: root +sudoRunAsGroup: wheel +sudoCommand: ALL +sudoOrder: 1 + +dn: cn=millert,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: millert +sudoUser: millert +sudoHost: ALL +sudoRunAsGroup: wheel +sudoCommand: ALL +sudoOrder: 2 + +dn: cn=%sudo,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: %sudo +sudoUser: %sudo +sudoHost: ALL +sudoRunAsGroup: ALL +sudoCommand: ALL +sudoOrder: 3 + +dn: cn=operator,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: operator +sudoUser: operator +sudoHost: ALL +sudoRunAsUser: %wheel +sudoCommand: ALL +sudoOrder: 4 + +dn: cn=\+netusers,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: \+netusers +sudoUser: +netusers +sudoHost: +nethosts +sudoRunAsUser: +netrunas +sudoCommand: ALL +sudoOrder: 5 + diff --git a/plugins/sudoers/regress/sudoers/test27.ldif2sudo.ok b/plugins/sudoers/regress/sudoers/test27.ldif2sudo.ok new file mode 100644 index 0000000..a73f459 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test27.ldif2sudo.ok @@ -0,0 +1,16 @@ +Defaults always_query_group_plugin + +# sudoRole root +root ALL = (root : wheel) ALL + +# sudoRole millert +millert ALL = ( : wheel) ALL + +# sudoRole %sudo +%sudo ALL = ( : ALL) ALL + +# sudoRole operator +operator ALL = (%wheel) ALL + +# sudoRole +netusers ++netusers +nethosts = (+netrunas) ALL diff --git a/plugins/sudoers/regress/sudoers/test27.out.ok b/plugins/sudoers/regress/sudoers/test27.out.ok new file mode 100644 index 0000000..e8a08da --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test27.out.ok @@ -0,0 +1,9 @@ +Parses OK + +Defaults always_query_group_plugin + +root ALL = (root : wheel) ALL +millert ALL = ( : wheel) ALL +%sudo ALL = ( : ALL) ALL +operator ALL = (%wheel) ALL ++netusers +nethosts = (+netrunas) ALL diff --git a/plugins/sudoers/regress/sudoers/test27.toke.ok b/plugins/sudoers/regress/sudoers/test27.toke.ok new file mode 100644 index 0000000..e7b3eb6 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test27.toke.ok @@ -0,0 +1,13 @@ +# +DEFAULTS DEFVAR + +# +WORD(6) ALL = ( WORD(6) : WORD(6) ) ALL +WORD(6) ALL = ( : WORD(6) ) ALL +USERGROUP ALL = ( : ALL ) ALL + +# +WORD(6) ALL = ( USERGROUP ) ALL + +# +NETGROUP NETGROUP = ( NETGROUP ) ALL diff --git a/plugins/sudoers/regress/sudoers/test28.in b/plugins/sudoers/regress/sudoers/test28.in new file mode 100644 index 0000000..e546aed --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test28.in @@ -0,0 +1,36 @@ +# Test passprompt_regex +Defaults passprompt_regex="(?i)password: *" + +# Test simple command with regex args +user ALL = /bin/ls ^/etc/(hosts|motd|issue)$ + +# Test wildcard command with regex args +user ALL = /usr/bin/c* ^/etc/(hosts|motd|issue)$ + +# Test regex command with no args +user ALL = ^/usr/bin/(who|w|id|whoami)$ + +# Test regex command with empty args +user ALL = ^/usr/bin/(who|w|id|whoami)$ "" + +# Test regex command with simple args +user ALL = ^/usr/bin/(who|w|id|whoami)$ root + +# Test regex command with wildcard args +user ALL = ^/usr/bin/(who|w|id|whoami)$ -* + +# Test regex command with regex args +user ALL = ^/usr/bin/(who|w|id|whoami)$ ^(-[ahi] ?)+$ + +# Test sudoedit with regex args +user ALL = sudoedit ^/etc/(hosts|motd|issue)$ + +# Test regex command with escapted '$', no args +user ALL = ^/usr/bin/\$tree$ + +# Combined entry +user host1 = /bin/ls ^/etc/(hosts|motd|issue)$, \ + /usr/bin/c* ^/etc/(hosts|motd|issue)$ : \ + host2 = ^/usr/bin/(who|w|id|whoami)$ "", \ + ^/usr/bin/(who|w|id|whoami)$ root : \ + host3 = /bin/echo ^\$foo$ diff --git a/plugins/sudoers/regress/sudoers/test28.json.ok b/plugins/sudoers/regress/sudoers/test28.json.ok new file mode 100644 index 0000000..4fa4145 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test28.json.ok @@ -0,0 +1,199 @@ +{ + "Defaults": [ + { + "Options": [ + { + "operation": "list_assign", + "passprompt_regex": [ + "(?i)password:", + "*" + ] + } + ] + } + ], + "User_Specs": [ + { + "User_List": [ + { "username": "user" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Commands": [ + { "command": "/bin/ls ^/etc/(hosts|motd|issue)$" } + ] + } + ] + }, + { + "User_List": [ + { "username": "user" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Commands": [ + { "command": "/usr/bin/c* ^/etc/(hosts|motd|issue)$" } + ] + } + ] + }, + { + "User_List": [ + { "username": "user" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Commands": [ + { "command": "^/usr/bin/(who|w|id|whoami)$" } + ] + } + ] + }, + { + "User_List": [ + { "username": "user" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Commands": [ + { "command": "^/usr/bin/(who|w|id|whoami)$ \"\"" } + ] + } + ] + }, + { + "User_List": [ + { "username": "user" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Commands": [ + { "command": "^/usr/bin/(who|w|id|whoami)$ root" } + ] + } + ] + }, + { + "User_List": [ + { "username": "user" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Commands": [ + { "command": "^/usr/bin/(who|w|id|whoami)$ -*" } + ] + } + ] + }, + { + "User_List": [ + { "username": "user" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Commands": [ + { "command": "^/usr/bin/(who|w|id|whoami)$ ^(-[ahi] ?)+$" } + ] + } + ] + }, + { + "User_List": [ + { "username": "user" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Commands": [ + { "command": "sudoedit ^/etc/(hosts|motd|issue)$" } + ] + } + ] + }, + { + "User_List": [ + { "username": "user" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Commands": [ + { "command": "^/usr/bin/\\$tree$" } + ] + } + ] + }, + { + "User_List": [ + { "username": "user" } + ], + "Host_List": [ + { "hostname": "host1" } + ], + "Cmnd_Specs": [ + { + "Commands": [ + { "command": "/bin/ls ^/etc/(hosts|motd|issue)$" }, + { "command": "/usr/bin/c* ^/etc/(hosts|motd|issue)$" } + ] + } + ] + }, + { + "User_List": [ + { "username": "user" } + ], + "Host_List": [ + { "hostname": "host2" } + ], + "Cmnd_Specs": [ + { + "Commands": [ + { "command": "^/usr/bin/(who|w|id|whoami)$ \"\"" }, + { "command": "^/usr/bin/(who|w|id|whoami)$ root" } + ] + } + ] + }, + { + "User_List": [ + { "username": "user" } + ], + "Host_List": [ + { "hostname": "host3" } + ], + "Cmnd_Specs": [ + { + "Commands": [ + { "command": "/bin/echo ^\\$foo$" } + ] + } + ] + } + ] +} diff --git a/plugins/sudoers/regress/sudoers/test28.ldif.ok b/plugins/sudoers/regress/sudoers/test28.ldif.ok new file mode 100644 index 0000000..1ecc586 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test28.ldif.ok @@ -0,0 +1,117 @@ +dn: cn=defaults,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: defaults +description: Default sudoOption's go here +sudoOption: passprompt_regex=(?i)password: * + +dn: cn=user,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user +sudoUser: user +sudoHost: ALL +sudoCommand: /bin/ls ^/etc/(hosts|motd|issue)$ +sudoOrder: 1 + +dn: cn=user_1,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user_1 +sudoUser: user +sudoHost: ALL +sudoCommand: /usr/bin/c* ^/etc/(hosts|motd|issue)$ +sudoOrder: 2 + +dn: cn=user_2,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user_2 +sudoUser: user +sudoHost: ALL +sudoCommand: ^/usr/bin/(who|w|id|whoami)$ +sudoOrder: 3 + +dn: cn=user_3,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user_3 +sudoUser: user +sudoHost: ALL +sudoCommand: ^/usr/bin/(who|w|id|whoami)$ "" +sudoOrder: 4 + +dn: cn=user_4,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user_4 +sudoUser: user +sudoHost: ALL +sudoCommand: ^/usr/bin/(who|w|id|whoami)$ root +sudoOrder: 5 + +dn: cn=user_5,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user_5 +sudoUser: user +sudoHost: ALL +sudoCommand: ^/usr/bin/(who|w|id|whoami)$ -* +sudoOrder: 6 + +dn: cn=user_6,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user_6 +sudoUser: user +sudoHost: ALL +sudoCommand: ^/usr/bin/(who|w|id|whoami)$ ^(-[ahi] ?)+$ +sudoOrder: 7 + +dn: cn=user_7,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user_7 +sudoUser: user +sudoHost: ALL +sudoCommand: sudoedit ^/etc/(hosts|motd|issue)$ +sudoOrder: 8 + +dn: cn=user_8,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user_8 +sudoUser: user +sudoHost: ALL +sudoCommand: ^/usr/bin/\$tree$ +sudoOrder: 9 + +dn: cn=user_9,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user_9 +sudoUser: user +sudoHost: host1 +sudoCommand: /bin/ls ^/etc/(hosts|motd|issue)$ +sudoCommand: /usr/bin/c* ^/etc/(hosts|motd|issue)$ +sudoOrder: 10 + +dn: cn=user_10,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user_10 +sudoUser: user +sudoHost: host2 +sudoCommand: ^/usr/bin/(who|w|id|whoami)$ "" +sudoCommand: ^/usr/bin/(who|w|id|whoami)$ root +sudoOrder: 11 + +dn: cn=user_11,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user_11 +sudoUser: user +sudoHost: host3 +sudoCommand: /bin/echo ^\$foo$ +sudoOrder: 12 + diff --git a/plugins/sudoers/regress/sudoers/test28.ldif2sudo.ok b/plugins/sudoers/regress/sudoers/test28.ldif2sudo.ok new file mode 100644 index 0000000..0b642fe --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test28.ldif2sudo.ok @@ -0,0 +1,12 @@ +Defaults passprompt_regex="(?i)password: *" + +# sudoRole user, user_1, user_2, user_3, user_4, user_5, user_6, user_7, +# user_8, user_9, user_10, user_11 +user ALL = /bin/ls ^/etc/(hosts|motd|issue)$, /usr/bin/c*\ + ^/etc/(hosts|motd|issue)$, ^/usr/bin/(who|w|id|whoami)$,\ + ^/usr/bin/(who|w|id|whoami)$ "", ^/usr/bin/(who|w|id|whoami)$ root,\ + ^/usr/bin/(who|w|id|whoami)$ -*, ^/usr/bin/(who|w|id|whoami)$ ^(-[ahi]\ + ?)+$, sudoedit ^/etc/(hosts|motd|issue)$, ^/usr/bin/\$tree$ : host1 =\ + /bin/ls ^/etc/(hosts|motd|issue)$, /usr/bin/c* ^/etc/(hosts|motd|issue)$ :\ + host2 = ^/usr/bin/(who|w|id|whoami)$ "", ^/usr/bin/(who|w|id|whoami)$ root\ + : host3 = /bin/echo ^\$foo$ diff --git a/plugins/sudoers/regress/sudoers/test28.out.ok b/plugins/sudoers/regress/sudoers/test28.out.ok new file mode 100644 index 0000000..443573c --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test28.out.ok @@ -0,0 +1,14 @@ +Parses OK + +Defaults passprompt_regex="(?i)password: *" + +user ALL = /bin/ls ^/etc/(hosts|motd|issue)$ +user ALL = /usr/bin/c* ^/etc/(hosts|motd|issue)$ +user ALL = ^/usr/bin/(who|w|id|whoami)$ +user ALL = ^/usr/bin/(who|w|id|whoami)$ "" +user ALL = ^/usr/bin/(who|w|id|whoami)$ root +user ALL = ^/usr/bin/(who|w|id|whoami)$ -* +user ALL = ^/usr/bin/(who|w|id|whoami)$ ^(-[ahi] ?)+$ +user ALL = sudoedit ^/etc/(hosts|motd|issue)$ +user ALL = ^/usr/bin/\$tree$ +user host1 = /bin/ls ^/etc/(hosts|motd|issue)$, /usr/bin/c* ^/etc/(hosts|motd|issue)$ : host2 = ^/usr/bin/(who|w|id|whoami)$ "", ^/usr/bin/(who|w|id|whoami)$ root : host3 = /bin/echo ^\$foo$ diff --git a/plugins/sudoers/regress/sudoers/test28.toke.ok b/plugins/sudoers/regress/sudoers/test28.toke.ok new file mode 100644 index 0000000..03918b9 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test28.toke.ok @@ -0,0 +1,32 @@ +# +DEFAULTS DEFVAR = BEGINSTR STRBODY ENDSTR WORD(4) + +# +WORD(6) ALL = COMMAND ARG REGEX + +# +WORD(6) ALL = COMMAND ARG REGEX + +# +WORD(6) ALL = COMMAND + +# +WORD(6) ALL = COMMAND ARG + +# +WORD(6) ALL = COMMAND ARG + +# +WORD(6) ALL = COMMAND ARG + +# +WORD(6) ALL = COMMAND ARG REGEX + +# +WORD(6) ALL = COMMAND ARG REGEX + +# +WORD(6) ALL = COMMAND + +# +WORD(6) WORD(6) = COMMAND ARG REGEX , COMMAND ARG REGEX : WORD(6) = COMMAND ARG , COMMAND ARG : WORD(6) = COMMAND ARG REGEX QUOTEDCHAR diff --git a/plugins/sudoers/regress/sudoers/test29.in b/plugins/sudoers/regress/sudoers/test29.in new file mode 100644 index 0000000..34092cd --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test29.in @@ -0,0 +1,11 @@ +# Test lexer regex syntax errors +# We don't test regcomp() errors since regerror() strings are not +# standardized. + +user ALL = /bin/ls ^/etc/(hosts|motd|issue + +user ALL = ^/bin/ls + +user ALL = ^/bin/ls$ ^error + +user ALL = ^/bin/ls$ ^error # comment diff --git a/plugins/sudoers/regress/sudoers/test29.json.ok b/plugins/sudoers/regress/sudoers/test29.json.ok new file mode 100644 index 0000000..e69de29 diff --git a/plugins/sudoers/regress/sudoers/test29.ldif.ok b/plugins/sudoers/regress/sudoers/test29.ldif.ok new file mode 100644 index 0000000..e69de29 diff --git a/plugins/sudoers/regress/sudoers/test29.out.ok b/plugins/sudoers/regress/sudoers/test29.out.ok new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test29.out.ok @@ -0,0 +1 @@ + diff --git a/plugins/sudoers/regress/sudoers/test29.toke.ok b/plugins/sudoers/regress/sudoers/test29.toke.ok new file mode 100644 index 0000000..ce3a4a9 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test29.toke.ok @@ -0,0 +1,11 @@ +# +# +# + +WORD(6) ALL = COMMAND ARG REGEX ERROR <*> + +WORD(6) ALL = WORD(6) <*> + +WORD(6) ALL = COMMAND ARG REGEX ERROR <*> + +WORD(6) ALL = COMMAND ARG REGEX ERROR <*> # diff --git a/plugins/sudoers/regress/sudoers/test3.in b/plugins/sudoers/regress/sudoers/test3.in new file mode 100644 index 0000000..82fcd83 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test3.in @@ -0,0 +1,6 @@ +# Test whitespace in User_List as part of a per-user Defaults entry +User_Alias FOO = foo, bar +Defaults:FOO env_reset +Defaults:foo,bar env_reset +Defaults:foo,\ bar env_reset +Defaults:foo, bar env_reset diff --git a/plugins/sudoers/regress/sudoers/test3.json.ok b/plugins/sudoers/regress/sudoers/test3.json.ok new file mode 100644 index 0000000..fc69eb1 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test3.json.ok @@ -0,0 +1,45 @@ +{ + "Defaults": [ + { + "Binding": [ + { "useralias": "FOO" } + ], + "Options": [ + { "env_reset": true } + ] + }, + { + "Binding": [ + { "username": "foo" }, + { "username": "bar" } + ], + "Options": [ + { "env_reset": true } + ] + }, + { + "Binding": [ + { "username": "foo" }, + { "username": " bar" } + ], + "Options": [ + { "env_reset": true } + ] + }, + { + "Binding": [ + { "username": "foo" }, + { "username": "bar" } + ], + "Options": [ + { "env_reset": true } + ] + } + ], + "User_Aliases": { + "FOO": [ + { "username": "foo" }, + { "username": "bar" } + ] + } +} diff --git a/plugins/sudoers/regress/sudoers/test3.ldif.ok b/plugins/sudoers/regress/sudoers/test3.ldif.ok new file mode 100644 index 0000000..783cde5 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test3.ldif.ok @@ -0,0 +1,12 @@ +# Unable to translate stdin:3:23: +# Defaults:foo, bar env_reset + +# Unable to translate stdin:4:27: +# Defaults:foo, bar env_reset + +# Unable to translate stdin:5:29: +# Defaults:foo, " bar" env_reset + +# Unable to translate stdin:6:28: +# Defaults:foo, bar env_reset + diff --git a/plugins/sudoers/regress/sudoers/test3.ldif2sudo.ok b/plugins/sudoers/regress/sudoers/test3.ldif2sudo.ok new file mode 100644 index 0000000..e69de29 diff --git a/plugins/sudoers/regress/sudoers/test3.out.ok b/plugins/sudoers/regress/sudoers/test3.out.ok new file mode 100644 index 0000000..7f620c4 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test3.out.ok @@ -0,0 +1,8 @@ +Parses OK + +Defaults:FOO env_reset +Defaults:foo, bar env_reset +Defaults:foo, " bar" env_reset +Defaults:foo, bar env_reset + +User_Alias FOO = foo, bar diff --git a/plugins/sudoers/regress/sudoers/test3.toke.ok b/plugins/sudoers/regress/sudoers/test3.toke.ok new file mode 100644 index 0000000..028f333 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test3.toke.ok @@ -0,0 +1,6 @@ +# +USERALIAS ALIAS = WORD(6) , WORD(6) +DEFAULTS_USER ALIAS DEFVAR +DEFAULTS_USER WORD(6) , WORD(6) DEFVAR +DEFAULTS_USER WORD(6) , WORD(6) DEFVAR +DEFAULTS_USER WORD(6) , WORD(6) DEFVAR diff --git a/plugins/sudoers/regress/sudoers/test30.in b/plugins/sudoers/regress/sudoers/test30.in new file mode 100644 index 0000000..c89d739 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test30.in @@ -0,0 +1,10 @@ +# Test parsing of "list" pseudo-command. +# It should be allowed as a command but also as a user or host. + +user1 ALL = list + +list ALL = ALL + +user2 ALL = (list : list) ALL + +user3 list = ALL diff --git a/plugins/sudoers/regress/sudoers/test30.json.ok b/plugins/sudoers/regress/sudoers/test30.json.ok new file mode 100644 index 0000000..e95f2c6 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test30.json.ok @@ -0,0 +1,79 @@ +{ + "User_Specs": [ + { + "User_List": [ + { "username": "user1" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Commands": [ + { "command": "list" } + ] + } + ] + }, + { + "User_List": [ + { "username": "list" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Options": [ + { "setenv": true } + ], + "Commands": [ + { "command": "ALL" } + ] + } + ] + }, + { + "User_List": [ + { "username": "user2" } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "runasusers": [ + { "username": "list" } + ], + "runasgroups": [ + { "usergroup": "list" } + ], + "Options": [ + { "setenv": true } + ], + "Commands": [ + { "command": "ALL" } + ] + } + ] + }, + { + "User_List": [ + { "username": "user3" } + ], + "Host_List": [ + { "hostname": "list" } + ], + "Cmnd_Specs": [ + { + "Options": [ + { "setenv": true } + ], + "Commands": [ + { "command": "ALL" } + ] + } + ] + } + ] +} diff --git a/plugins/sudoers/regress/sudoers/test30.ldif.ok b/plugins/sudoers/regress/sudoers/test30.ldif.ok new file mode 100644 index 0000000..2c1913f --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test30.ldif.ok @@ -0,0 +1,38 @@ +dn: cn=user1,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user1 +sudoUser: user1 +sudoHost: ALL +sudoCommand: list +sudoOrder: 1 + +dn: cn=list,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: list +sudoUser: list +sudoHost: ALL +sudoCommand: ALL +sudoOrder: 2 + +dn: cn=user2,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user2 +sudoUser: user2 +sudoHost: ALL +sudoRunAsUser: list +sudoRunAsGroup: list +sudoCommand: ALL +sudoOrder: 3 + +dn: cn=user3,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: user3 +sudoUser: user3 +sudoHost: list +sudoCommand: ALL +sudoOrder: 4 + diff --git a/plugins/sudoers/regress/sudoers/test30.ldif2sudo.ok b/plugins/sudoers/regress/sudoers/test30.ldif2sudo.ok new file mode 100644 index 0000000..8e7b68e --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test30.ldif2sudo.ok @@ -0,0 +1,11 @@ +# sudoRole user1 +user1 ALL = list + +# sudoRole list +list ALL = ALL + +# sudoRole user2 +user2 ALL = (list : list) ALL + +# sudoRole user3 +user3 list = ALL diff --git a/plugins/sudoers/regress/sudoers/test30.out.ok b/plugins/sudoers/regress/sudoers/test30.out.ok new file mode 100644 index 0000000..95fc8ff --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test30.out.ok @@ -0,0 +1,6 @@ +Parses OK + +user1 ALL = list +list ALL = ALL +user2 ALL = (list : list) ALL +user3 list = ALL diff --git a/plugins/sudoers/regress/sudoers/test30.sudo.ok b/plugins/sudoers/regress/sudoers/test30.sudo.ok new file mode 100644 index 0000000..1f34b03 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test30.sudo.ok @@ -0,0 +1,7 @@ +user1 ALL = list + +list ALL = ALL + +user2 ALL = (list : list) ALL + +user3 list = ALL diff --git a/plugins/sudoers/regress/sudoers/test30.toke.ok b/plugins/sudoers/regress/sudoers/test30.toke.ok new file mode 100644 index 0000000..a6a05ef --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test30.toke.ok @@ -0,0 +1,10 @@ +# +# + +WORD(6) ALL = WORD(6) + +WORD(6) ALL = ALL + +WORD(6) ALL = ( WORD(6) : WORD(6) ) ALL + +WORD(6) WORD(6) = ALL diff --git a/plugins/sudoers/regress/sudoers/test4.in b/plugins/sudoers/regress/sudoers/test4.in new file mode 100644 index 0000000..b8df454 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test4.in @@ -0,0 +1,7 @@ +# Test line continuation with anchored matches +User_Alias FOO = foo \ +: BAR = bar + +# This used to pass for sudo < 1.8.1 (though it should not have) +User_Alias FOO = foo \ +User_Alias BAR = bar diff --git a/plugins/sudoers/regress/sudoers/test4.json.ok b/plugins/sudoers/regress/sudoers/test4.json.ok new file mode 100644 index 0000000..e69de29 diff --git a/plugins/sudoers/regress/sudoers/test4.ldif.ok b/plugins/sudoers/regress/sudoers/test4.ldif.ok new file mode 100644 index 0000000..e69de29 diff --git a/plugins/sudoers/regress/sudoers/test4.out.ok b/plugins/sudoers/regress/sudoers/test4.out.ok new file mode 100644 index 0000000..de27db3 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test4.out.ok @@ -0,0 +1,3 @@ + +User_Alias BAR = bar +User_Alias FOO = foo diff --git a/plugins/sudoers/regress/sudoers/test4.toke.ok b/plugins/sudoers/regress/sudoers/test4.toke.ok new file mode 100644 index 0000000..a808e5a --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test4.toke.ok @@ -0,0 +1,5 @@ +# +USERALIAS ALIAS = WORD(6) : ALIAS = WORD(6) + +# +USERALIAS ALIAS = WORD(6) ERROR <*> ALIAS = WORD(6) diff --git a/plugins/sudoers/regress/sudoers/test5.in b/plugins/sudoers/regress/sudoers/test5.in new file mode 100644 index 0000000..354f589 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test5.in @@ -0,0 +1,3 @@ +# Test empty string in User_Alias and Command_Spec +User_Alias FOO = "" +"" ALL = ALL diff --git a/plugins/sudoers/regress/sudoers/test5.json.ok b/plugins/sudoers/regress/sudoers/test5.json.ok new file mode 100644 index 0000000..e69de29 diff --git a/plugins/sudoers/regress/sudoers/test5.ldif.ok b/plugins/sudoers/regress/sudoers/test5.ldif.ok new file mode 100644 index 0000000..e69de29 diff --git a/plugins/sudoers/regress/sudoers/test5.out.ok b/plugins/sudoers/regress/sudoers/test5.out.ok new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test5.out.ok @@ -0,0 +1 @@ + diff --git a/plugins/sudoers/regress/sudoers/test5.toke.ok b/plugins/sudoers/regress/sudoers/test5.toke.ok new file mode 100644 index 0000000..9376455 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test5.toke.ok @@ -0,0 +1,3 @@ +# +USERALIAS ALIAS = BEGINSTR ENDSTR ERROR <*> +BEGINSTR ENDSTR ERROR <*> ALL = ALL diff --git a/plugins/sudoers/regress/sudoers/test6.in b/plugins/sudoers/regress/sudoers/test6.in new file mode 100644 index 0000000..e804571 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test6.in @@ -0,0 +1,15 @@ +# Check that uids work in per-user and per-runas Defaults +Defaults:#123 set_home +Defaults>#123 set_home +Defaults:"#123" set_home +Defaults>"#123" set_home + +# Check that uids work in a Command_Spec +#0 ALL = ALL +#0 ALL = (#0 : #0) ALL +"#0" ALL = ALL +"#0" ALL = ("#0" : "#0") ALL + +# Check that gids work in a Command_Spec +%#0 ALL = ALL +"%#0" ALL = ALL diff --git a/plugins/sudoers/regress/sudoers/test6.json.ok b/plugins/sudoers/regress/sudoers/test6.json.ok new file mode 100644 index 0000000..be1f80f --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test6.json.ok @@ -0,0 +1,158 @@ +{ + "Defaults": [ + { + "Binding": [ + { "userid": 123 } + ], + "Options": [ + { "set_home": true } + ] + }, + { + "Binding": [ + { "userid": 123 } + ], + "Options": [ + { "set_home": true } + ] + }, + { + "Binding": [ + { "userid": 123 } + ], + "Options": [ + { "set_home": true } + ] + }, + { + "Binding": [ + { "userid": 123 } + ], + "Options": [ + { "set_home": true } + ] + } + ], + "User_Specs": [ + { + "User_List": [ + { "userid": 0 } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Options": [ + { "setenv": true } + ], + "Commands": [ + { "command": "ALL" } + ] + } + ] + }, + { + "User_List": [ + { "userid": 0 } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "runasusers": [ + { "userid": 0 } + ], + "runasgroups": [ + { "usergroup": "#0" } + ], + "Options": [ + { "setenv": true } + ], + "Commands": [ + { "command": "ALL" } + ] + } + ] + }, + { + "User_List": [ + { "userid": 0 } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Options": [ + { "setenv": true } + ], + "Commands": [ + { "command": "ALL" } + ] + } + ] + }, + { + "User_List": [ + { "userid": 0 } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "runasusers": [ + { "userid": 0 } + ], + "runasgroups": [ + { "usergroup": "#0" } + ], + "Options": [ + { "setenv": true } + ], + "Commands": [ + { "command": "ALL" } + ] + } + ] + }, + { + "User_List": [ + { "usergid": 0 } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Options": [ + { "setenv": true } + ], + "Commands": [ + { "command": "ALL" } + ] + } + ] + }, + { + "User_List": [ + { "usergid": 0 } + ], + "Host_List": [ + { "hostname": "ALL" } + ], + "Cmnd_Specs": [ + { + "Options": [ + { "setenv": true } + ], + "Commands": [ + { "command": "ALL" } + ] + } + ] + } + ] +} diff --git a/plugins/sudoers/regress/sudoers/test6.ldif.ok b/plugins/sudoers/regress/sudoers/test6.ldif.ok new file mode 100644 index 0000000..046b334 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test6.ldif.ok @@ -0,0 +1,70 @@ +# Unable to translate stdin:2:23: +# Defaults:#123 set_home + +# Unable to translate stdin:3:23: +# Defaults>#123 set_home + +# Unable to translate stdin:4:25: +# Defaults:#123 set_home + +# Unable to translate stdin:5:25: +# Defaults>#123 set_home + +dn: cn=\#0,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: \#0 +sudoUser: #0 +sudoHost: ALL +sudoCommand: ALL +sudoOrder: 1 + +dn: cn=\#0_1,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: \#0_1 +sudoUser: #0 +sudoHost: ALL +sudoRunAsUser: #0 +sudoRunAsGroup: #0 +sudoCommand: ALL +sudoOrder: 2 + +dn: cn=\#0_2,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: \#0_2 +sudoUser: #0 +sudoHost: ALL +sudoCommand: ALL +sudoOrder: 3 + +dn: cn=\#0_3,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: \#0_3 +sudoUser: #0 +sudoHost: ALL +sudoRunAsUser: #0 +sudoRunAsGroup: #0 +sudoCommand: ALL +sudoOrder: 4 + +dn: cn=%\#0,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: %\#0 +sudoUser: %#0 +sudoHost: ALL +sudoCommand: ALL +sudoOrder: 5 + +dn: cn=%\#0_1,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: %\#0_1 +sudoUser: %#0 +sudoHost: ALL +sudoCommand: ALL +sudoOrder: 6 + diff --git a/plugins/sudoers/regress/sudoers/test6.ldif2sudo.ok b/plugins/sudoers/regress/sudoers/test6.ldif2sudo.ok new file mode 100644 index 0000000..bfe40bb --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test6.ldif2sudo.ok @@ -0,0 +1,5 @@ +# sudoRole #0, #0_1, #0_2, #0_3 +#0 ALL = ALL, (#0 : #0) ALL, ALL, (#0 : #0) ALL + +# sudoRole %#0, %#0_1 +%#0 ALL = ALL, ALL diff --git a/plugins/sudoers/regress/sudoers/test6.out.ok b/plugins/sudoers/regress/sudoers/test6.out.ok new file mode 100644 index 0000000..73b8fe0 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test6.out.ok @@ -0,0 +1,13 @@ +Parses OK + +Defaults:#123 set_home +Defaults>#123 set_home +Defaults:#123 set_home +Defaults>#123 set_home + +#0 ALL = ALL +#0 ALL = (#0 : #0) ALL +#0 ALL = ALL +#0 ALL = (#0 : #0) ALL +%#0 ALL = ALL +%#0 ALL = ALL diff --git a/plugins/sudoers/regress/sudoers/test6.toke.ok b/plugins/sudoers/regress/sudoers/test6.toke.ok new file mode 100644 index 0000000..db8e1c5 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test6.toke.ok @@ -0,0 +1,15 @@ +# +DEFAULTS_USER WORD(6) DEFVAR +DEFAULTS_RUNAS WORD(6) DEFVAR +DEFAULTS_USER BEGINSTR STRBODY ENDSTR WORD(4) DEFVAR +DEFAULTS_RUNAS BEGINSTR STRBODY ENDSTR WORD(4) DEFVAR + +# +WORD(6) ALL = ALL +WORD(6) ALL = ( WORD(6) : WORD(6) ) ALL +BEGINSTR STRBODY ENDSTR WORD(4) ALL = ALL +BEGINSTR STRBODY ENDSTR WORD(4) ALL = ( BEGINSTR STRBODY ENDSTR WORD(4) : BEGINSTR STRBODY ENDSTR WORD(4) ) ALL + +# +USERGROUP ALL = ALL +BEGINSTR STRBODY ENDSTR USERGROUP ALL = ALL diff --git a/plugins/sudoers/regress/sudoers/test7.in b/plugins/sudoers/regress/sudoers/test7.in new file mode 100644 index 0000000..7b241d0 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test7.in @@ -0,0 +1,7 @@ +# These should all be syntax errors +User_Alias FOO1 = "%" +User_Alias FOO2 = "%:" +User_Alias FOO3 = "+" +User_Alias FOO4 = % +User_Alias FOO5 = %: +User_Alias FOO6 = + diff --git a/plugins/sudoers/regress/sudoers/test7.json.ok b/plugins/sudoers/regress/sudoers/test7.json.ok new file mode 100644 index 0000000..e69de29 diff --git a/plugins/sudoers/regress/sudoers/test7.ldif.ok b/plugins/sudoers/regress/sudoers/test7.ldif.ok new file mode 100644 index 0000000..e69de29 diff --git a/plugins/sudoers/regress/sudoers/test7.out.ok b/plugins/sudoers/regress/sudoers/test7.out.ok new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test7.out.ok @@ -0,0 +1 @@ + diff --git a/plugins/sudoers/regress/sudoers/test7.toke.ok b/plugins/sudoers/regress/sudoers/test7.toke.ok new file mode 100644 index 0000000..a5bf018 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test7.toke.ok @@ -0,0 +1,7 @@ +# +USERALIAS ALIAS = BEGINSTR STRBODY ENDSTR ERROR <*> +USERALIAS ALIAS = BEGINSTR STRBODY ENDSTR ERROR <*> +USERALIAS ALIAS = BEGINSTR STRBODY ENDSTR ERROR <*> +USERALIAS ALIAS = ERROR <*> +USERALIAS ALIAS = ERROR <*> +USERALIAS ALIAS = ERROR <*> diff --git a/plugins/sudoers/regress/sudoers/test8.in b/plugins/sudoers/regress/sudoers/test8.in new file mode 100644 index 0000000..d25e834 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test8.in @@ -0,0 +1,8 @@ +# Test quoted strings +User_Alias UA1 = "xy" +User_Alias UA2 = "x\ +y" +User_Alias UA3 = x\"y + +# A newline in the middle of a string is an error +User_Alias UA4 = "x diff --git a/plugins/sudoers/regress/sudoers/test8.json.ok b/plugins/sudoers/regress/sudoers/test8.json.ok new file mode 100644 index 0000000..e69de29 diff --git a/plugins/sudoers/regress/sudoers/test8.ldif.ok b/plugins/sudoers/regress/sudoers/test8.ldif.ok new file mode 100644 index 0000000..e69de29 diff --git a/plugins/sudoers/regress/sudoers/test8.out.ok b/plugins/sudoers/regress/sudoers/test8.out.ok new file mode 100644 index 0000000..e62f97f --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test8.out.ok @@ -0,0 +1,4 @@ + +User_Alias UA1 = xy +User_Alias UA2 = xy +User_Alias UA3 = x\"y diff --git a/plugins/sudoers/regress/sudoers/test8.toke.ok b/plugins/sudoers/regress/sudoers/test8.toke.ok new file mode 100644 index 0000000..1bc46cb --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test8.toke.ok @@ -0,0 +1,7 @@ +# +USERALIAS ALIAS = BEGINSTR STRBODY ENDSTR WORD(4) +USERALIAS ALIAS = BEGINSTR STRBODY STRBODY ENDSTR WORD(4) +USERALIAS ALIAS = WORD(6) + +# +USERALIAS ALIAS = BEGINSTR STRBODY ERROR <*> diff --git a/plugins/sudoers/regress/sudoers/test9.in b/plugins/sudoers/regress/sudoers/test9.in new file mode 100644 index 0000000..e69de29 diff --git a/plugins/sudoers/regress/sudoers/test9.json.ok b/plugins/sudoers/regress/sudoers/test9.json.ok new file mode 100644 index 0000000..e69de29 diff --git a/plugins/sudoers/regress/sudoers/test9.ldif.ok b/plugins/sudoers/regress/sudoers/test9.ldif.ok new file mode 100644 index 0000000..e69de29 diff --git a/plugins/sudoers/regress/sudoers/test9.out.ok b/plugins/sudoers/regress/sudoers/test9.out.ok new file mode 100644 index 0000000..5af5c53 --- /dev/null +++ b/plugins/sudoers/regress/sudoers/test9.out.ok @@ -0,0 +1,2 @@ +Parses OK + diff --git a/plugins/sudoers/regress/sudoers/test9.toke.ok b/plugins/sudoers/regress/sudoers/test9.toke.ok new file mode 100644 index 0000000..e69de29 diff --git a/plugins/sudoers/regress/testsudoers/group b/plugins/sudoers/regress/testsudoers/group new file mode 100644 index 0000000..e2202d6 --- /dev/null +++ b/plugins/sudoers/regress/testsudoers/group @@ -0,0 +1,15 @@ +wheel:*:0:root +daemon:*:1:daemon +kmem:*:2:root +sys:*:3:root +tty:*:4:root +operator:*:5:root +bin:*:7: +wsrc:*:9: +users:*:10: +auth:*:11: +games:*:13: +staff:*:20:root +guest:*:31:root +nogroup:*:32766: +nobody:*:32767: diff --git a/plugins/sudoers/regress/testsudoers/test1.out.ok b/plugins/sudoers/regress/testsudoers/test1.out.ok new file mode 100644 index 0000000..5c292be --- /dev/null +++ b/plugins/sudoers/regress/testsudoers/test1.out.ok @@ -0,0 +1,8 @@ +Parses OK + +Entries for user root: + +ALL = ALL + host matched + +Command unmatched diff --git a/plugins/sudoers/regress/testsudoers/test1.sh b/plugins/sudoers/regress/testsudoers/test1.sh new file mode 100755 index 0000000..495f237 --- /dev/null +++ b/plugins/sudoers/regress/testsudoers/test1.sh @@ -0,0 +1,15 @@ +#!/bin/sh +# +# Test for NULL dereference with "sudo -g group" when the sudoers rule +# has no runas user or group listed. +# This is RedHat bug Bug 667103. +# + +: ${TESTSUDOERS=testsudoers} + +exec 2>&1 +$TESTSUDOERS -g bin -P ${TESTDIR}/group root id <"$TESTDIR/test 10.inc" <&1 + +echo "Testing @include of a path with escaped white space" +echo "" +$TESTSUDOERS -U $MYUID -G $MYGID root id <<-EOF + @include $TESTDIR/test\ 10.inc +EOF + +echo "" +echo "Testing @include of a double-quoted path with white space" +echo "" +$TESTSUDOERS -U $MYUID -G $MYGID root id <<-EOF + @include "$TESTDIR/test 10.inc" +EOF + +echo "" +echo "Testing #include of a path with escaped white space" +echo "" +$TESTSUDOERS -U $MYUID -G $MYGID root id <<-EOF + #include $TESTDIR/test\ 10.inc +EOF + +echo "" +echo "Testing #include of a double-quoted path with white space" +echo "" +$TESTSUDOERS -U $MYUID -G $MYGID root id <<-EOF + #include "$TESTDIR/test 10.inc" +EOF + +rm -f "$TESTDIR/test 10.inc" +exit 0 diff --git a/plugins/sudoers/regress/testsudoers/test11.out.ok b/plugins/sudoers/regress/testsudoers/test11.out.ok new file mode 100644 index 0000000..f030dc8 --- /dev/null +++ b/plugins/sudoers/regress/testsudoers/test11.out.ok @@ -0,0 +1,21 @@ +Testing @include with garbage after the path name + +sudoers:1:24: syntax error +@include sudoers.local womp womp + ^~~~ +testsudoers: unable to open sudoers.local: No such file or directory + +Entries for user root: + +Command unmatched + +Testing #include with garbage after the path name + +sudoers:1:24: syntax error +#include sudoers.local womp womp + ^~~~ +testsudoers: unable to open sudoers.local: No such file or directory + +Entries for user root: + +Command unmatched diff --git a/plugins/sudoers/regress/testsudoers/test11.sh b/plugins/sudoers/regress/testsudoers/test11.sh new file mode 100755 index 0000000..d52754d --- /dev/null +++ b/plugins/sudoers/regress/testsudoers/test11.sh @@ -0,0 +1,25 @@ +#!/bin/sh +# +# Test @include with garbage after the path name +# The standard error output is dup'd to the standard output. +# + +: ${TESTSUDOERS=testsudoers} + +MYUID=`\ls -ln $TESTDIR/test2.inc | awk '{print $3}'` +MYGID=`\ls -ln $TESTDIR/test2.inc | awk '{print $4}'` + +echo "Testing @include with garbage after the path name" +echo "" +$TESTSUDOERS -U $MYUID -G $MYGID root id <&1 | sed 's/\(syntax error\), .*/\1/' +@include sudoers.local womp womp +EOF + +echo "" +echo "Testing #include with garbage after the path name" +echo "" +$TESTSUDOERS -U $MYUID -G $MYGID root id <&1 | sed 's/\(syntax error\), .*/\1/' +#include sudoers.local womp womp +EOF + +exit 0 diff --git a/plugins/sudoers/regress/testsudoers/test12.out.ok b/plugins/sudoers/regress/testsudoers/test12.out.ok new file mode 100644 index 0000000..a28a831 --- /dev/null +++ b/plugins/sudoers/regress/testsudoers/test12.out.ok @@ -0,0 +1,18 @@ +Testing sudoers with multiple syntax errors + +sudoers:1:20: syntax error +User_Alias A1 = u1 u2 : A2 = u3, u4 + ^~ +sudoers:3:26: syntax error +millert ALL = /fail : foo + ^ +sudoers:5:16: syntax error +root ALL = ALL bar + ^~~ +sudoers:7:12: expected a fully-qualified path name +root ALL = baz + ^~~ + +User_Alias A1 = u1 + +millert ALL = /fail diff --git a/plugins/sudoers/regress/testsudoers/test12.sh b/plugins/sudoers/regress/testsudoers/test12.sh new file mode 100755 index 0000000..8890ca5 --- /dev/null +++ b/plugins/sudoers/regress/testsudoers/test12.sh @@ -0,0 +1,19 @@ +#!/bin/sh +# +# Test sudoers file with multiple syntax errors +# The standard error output is dup'd to the standard output. +# + +: ${TESTSUDOERS=testsudoers} + +echo "Testing sudoers with multiple syntax errors" +echo "" +$TESTSUDOERS -d <&1 | sed 's/\(syntax error\), .*/\1/' +User_Alias A1 = u1 u2 : A2 = u3, u4 + +millert ALL = /fail : foo + +root ALL = ALL bar + +root ALL = baz +EOF diff --git a/plugins/sudoers/regress/testsudoers/test13.out.ok b/plugins/sudoers/regress/testsudoers/test13.out.ok new file mode 100644 index 0000000..bfb9f53 --- /dev/null +++ b/plugins/sudoers/regress/testsudoers/test13.out.ok @@ -0,0 +1,22 @@ +Testing alias definitions using reserved words + +sudoers:1:12: syntax error, reserved word ALL used as an alias name +Cmnd_Alias ALL=ALL + ^~~ +sudoers:2:12: syntax error, reserved word CHROOT used as an alias name +Cmnd_Alias CHROOT=foo + ^~~~~~ +sudoers:3:12: syntax error, reserved word CMND_TIMEOUT used as an alias name +User_Alias TIMEOUT=foo + ^~~~~~~ +sudoers:4:13: syntax error, reserved word CWD used as an alias name +Runas_Alias CWD=bar + ^~~ +sudoers:5:12: syntax error, reserved word NOTBEFORE used as an alias name +Host_Alias NOTBEFORE=baz + ^~~~~~~~~ +sudoers:6:12: syntax error, reserved word NOTAFTER used as an alias name +Host_Alias NOTAFTER=biff + ^~~~~~~~ + +root ALL = ALL diff --git a/plugins/sudoers/regress/testsudoers/test13.sh b/plugins/sudoers/regress/testsudoers/test13.sh new file mode 100755 index 0000000..d9c3d0c --- /dev/null +++ b/plugins/sudoers/regress/testsudoers/test13.sh @@ -0,0 +1,22 @@ +#!/bin/sh +# +# Test sudoers file with reserved words as alias names. +# The standard error output is dup'd to the standard output. +# + +: ${TESTSUDOERS=testsudoers} + +echo "Testing alias definitions using reserved words" +echo "" +$TESTSUDOERS -d <&1 +Cmnd_Alias ALL=ALL +Cmnd_Alias CHROOT=foo +User_Alias TIMEOUT=foo +Runas_Alias CWD=bar +Host_Alias NOTBEFORE=baz +Host_Alias NOTAFTER=biff + +root ALL = ALL +EOF + +exit 0 diff --git a/plugins/sudoers/regress/testsudoers/test14.out.ok b/plugins/sudoers/regress/testsudoers/test14.out.ok new file mode 100644 index 0000000..add1bb2 --- /dev/null +++ b/plugins/sudoers/regress/testsudoers/test14.out.ok @@ -0,0 +1,18 @@ + +Testing user privilege without a newline + +Parses OK + +millert ALL = ALL + +Testing alias without a newline + +Parses OK + +Cmnd_Alias FOO = /bin/bar + +Testing Defaults without a newline + +Parses OK + +Defaults log_output diff --git a/plugins/sudoers/regress/testsudoers/test14.sh b/plugins/sudoers/regress/testsudoers/test14.sh new file mode 100755 index 0000000..7739c67 --- /dev/null +++ b/plugins/sudoers/regress/testsudoers/test14.sh @@ -0,0 +1,25 @@ +#!/bin/sh +# +# Test entries with no trailing newline. +# + +: ${TESTSUDOERS=testsudoers} + +exec 2>&1 + +echo "" +echo "Testing user privilege without a newline" +echo "" +printf "millert ALL = ALL" | $TESTSUDOERS -d + +echo "" +echo "Testing alias without a newline" +echo "" +printf "Cmnd_Alias FOO=/bin/bar" | $TESTSUDOERS -d + +echo "" +echo "Testing Defaults without a newline" +echo "" +printf "Defaults log_output" | $TESTSUDOERS -d + +exit 0 diff --git a/plugins/sudoers/regress/testsudoers/test15.out.ok b/plugins/sudoers/regress/testsudoers/test15.out.ok new file mode 100644 index 0000000..ca02857 --- /dev/null +++ b/plugins/sudoers/regress/testsudoers/test15.out.ok @@ -0,0 +1,17 @@ +Testing @include of a file with a missing newline + +Parses OK + +Entries for user root: + +ALL = /usr/bin/id + host matched + runas matched + cmnd unmatched + +ALL = ALL + host matched + runas matched + cmnd allowed + +Command allowed diff --git a/plugins/sudoers/regress/testsudoers/test15.sh b/plugins/sudoers/regress/testsudoers/test15.sh new file mode 100755 index 0000000..a4596cd --- /dev/null +++ b/plugins/sudoers/regress/testsudoers/test15.sh @@ -0,0 +1,24 @@ +#!/bin/sh +# +# Test @include of a file with a missing newline +# + +: ${TESTSUDOERS=testsudoers} + +# Create test file +TESTDIR="`pwd`/regress/testsudoers" +printf "root ALL = ALL" >"$TESTDIR/test15.inc" + +MYUID=`\ls -lnd "$TESTDIR/test15.inc" | awk '{print $3}'` +MYGID=`\ls -lnd "$TESTDIR/test15.inc" | awk '{print $4}'` +exec 2>&1 + +echo "Testing @include of a file with a missing newline" +echo "" +$TESTSUDOERS -U $MYUID -G $MYGID root id <<-EOF + @include $TESTDIR/test15.inc + ALL ALL = /usr/bin/id +EOF + +rm -f "$TESTDIR/test15.inc" +exit 0 diff --git a/plugins/sudoers/regress/testsudoers/test16.out.ok b/plugins/sudoers/regress/testsudoers/test16.out.ok new file mode 100644 index 0000000..cdf3dc8 --- /dev/null +++ b/plugins/sudoers/regress/testsudoers/test16.out.ok @@ -0,0 +1,10 @@ +Parses OK + +Entries for user root: + +ALL = (ALL) ALL + host matched + runas matched + cmnd allowed + +Command allowed diff --git a/plugins/sudoers/regress/testsudoers/test16.sh b/plugins/sudoers/regress/testsudoers/test16.sh new file mode 100755 index 0000000..507bdd4 --- /dev/null +++ b/plugins/sudoers/regress/testsudoers/test16.sh @@ -0,0 +1,41 @@ +#!/bin/sh +# +# Test to exercise Bug #994, a crash matching sudoCommand ALL. +# + +: ${TESTSUDOERS=testsudoers} + +$TESTSUDOERS -i ldif root id <<-EOF +dn: dc=sudo,dc=ws +objectClass: dcObject +objectClass: organization +dc: bigwheel +o: Big Wheel +description: Big Wheel + +# Organizational Role for Directory Manager +dn: cn=Manager,dc=sudo,dc=ws +objectClass: organizationalRole +cn: Manager +description: Directory Manager + +# SUDOers, sudo.ws +dn: ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: organizationalUnit +description: SUDO Configuration Subtree +ou: SUDOers + +# root, SUDOers, sudo.ws +dn: cn=root,ou=SUDOers,dc=sudo,dc=ws +objectClass: top +objectClass: sudoRole +cn: root +sudoUser: root +sudoRunAs: ALL +sudoHost: ALL +sudoCommand: ALL +sudoOrder: 10 +EOF + +exit 0 diff --git a/plugins/sudoers/regress/testsudoers/test17.out.ok b/plugins/sudoers/regress/testsudoers/test17.out.ok new file mode 100644 index 0000000..bb07d2c --- /dev/null +++ b/plugins/sudoers/regress/testsudoers/test17.out.ok @@ -0,0 +1,10 @@ +Parses OK + +Entries for user root: + +ALL = (ALL) sha224:fIoq2MAfM/PZKTbkn9RE4VZ8YHjwnwTgE28Hxw== ALL + host matched + runas matched + cmnd allowed + +Command allowed diff --git a/plugins/sudoers/regress/testsudoers/test17.sh b/plugins/sudoers/regress/testsudoers/test17.sh new file mode 100755 index 0000000..b98b907 --- /dev/null +++ b/plugins/sudoers/regress/testsudoers/test17.sh @@ -0,0 +1,51 @@ +#!/bin/sh +# +# Test that digest matching works with LDAP sudoCommand: ALL +# + +: ${TESTSUDOERS=testsudoers} + +# Create test command with known digest +TESTDIR="`pwd`/regress/testsudoers" +cat >"$TESTDIR/hello" <&1 + +# Command and args: regex +$TESTSUDOERS root /bin/ls -l <<'EOF' +root ALL = ^/bin/ls$ ^-[lAt]$ +EOF + +# Command: regex, args: wildcard +$TESTSUDOERS root /bin/cat /var/log/syslog <<'EOF' +root ALL = ^/bin/cat$ /var/log/* +EOF + +# Command: path, args: regex +$TESTSUDOERS root /bin/cat /var/log/authlog <<'EOF' +root ALL = /bin/cat ^/var/log/[^/]+$ +EOF + +# Command: wildcard, args: regex +$TESTSUDOERS root /bin/cat /var/log/mail <<'EOF' +root ALL = /bin/*at ^/var/log/[^/]+$ +EOF + +# Command: path, args: args start with escaped ^ +$TESTSUDOERS root /usr/bin/grep '^foo$' <<'EOF' +root ALL = /usr/bin/grep \^foo$ +EOF + +# Command: sudoedit, args: regex +$TESTSUDOERS root sudoedit /etc/motd <<'EOF' +root ALL = sudoedit ^/etc/(motd|issue|hosts)$ +EOF + +exit 0 diff --git a/plugins/sudoers/regress/testsudoers/test19.out.ok b/plugins/sudoers/regress/testsudoers/test19.out.ok new file mode 100644 index 0000000..a0de240 --- /dev/null +++ b/plugins/sudoers/regress/testsudoers/test19.out.ok @@ -0,0 +1,20 @@ +Parses OK + +Entries for user root: + +ALL = /bin/ls "" + host matched + runas matched + cmnd allowed + +Command allowed +Parses OK + +Entries for user root: + +ALL = /bin/ls "" + host matched + runas matched + cmnd unmatched + +Command unmatched diff --git a/plugins/sudoers/regress/testsudoers/test19.sh b/plugins/sudoers/regress/testsudoers/test19.sh new file mode 100755 index 0000000..113eb2a --- /dev/null +++ b/plugins/sudoers/regress/testsudoers/test19.sh @@ -0,0 +1,20 @@ +#!/bin/sh +# +# Verify that "" in sudoers does not match a literal "" on the command line. +# + +: ${TESTSUDOERS=testsudoers} + +exec 2>&1 + +# This should succeed +$TESTSUDOERS root /bin/ls <<'EOF' +root ALL = /bin/ls "" +EOF + +# This should fail +$TESTSUDOERS root /bin/ls '""' <<'EOF' +root ALL = /bin/ls "" +EOF + +exit 0 diff --git a/plugins/sudoers/regress/testsudoers/test2.inc b/plugins/sudoers/regress/testsudoers/test2.inc new file mode 100644 index 0000000..52ca040 --- /dev/null +++ b/plugins/sudoers/regress/testsudoers/test2.inc @@ -0,0 +1 @@ +root ALL = ALL diff --git a/plugins/sudoers/regress/testsudoers/test2.out.ok b/plugins/sudoers/regress/testsudoers/test2.out.ok new file mode 100644 index 0000000..661f22e --- /dev/null +++ b/plugins/sudoers/regress/testsudoers/test2.out.ok @@ -0,0 +1,25 @@ +Testing @include + +Parses OK + +Entries for user root: + +ALL = ALL + host matched + runas matched + cmnd allowed + +Command allowed + +Testing #include + +Parses OK + +Entries for user root: + +ALL = ALL + host matched + runas matched + cmnd allowed + +Command allowed diff --git a/plugins/sudoers/regress/testsudoers/test2.sh b/plugins/sudoers/regress/testsudoers/test2.sh new file mode 100755 index 0000000..0b0b3f8 --- /dev/null +++ b/plugins/sudoers/regress/testsudoers/test2.sh @@ -0,0 +1,25 @@ +#!/bin/sh +# +# Test @include facility +# + +: ${TESTSUDOERS=testsudoers} + +MYUID=`\ls -ln $TESTDIR/test2.inc | awk '{print $3}'` +MYGID=`\ls -ln $TESTDIR/test2.inc | awk '{print $4}'` +exec 2>&1 + +echo "Testing @include" +echo "" +$TESTSUDOERS -U $MYUID -G $MYGID root id <&1 + +# Exercise double free of user_cmnd in set_cmnd_path() under ASAN. +# We need more than one rule where the last rule matches and has CHROOT. +$TESTSUDOERS root /bin/ls <<'EOF' +root ALL = CWD=/ /bin/pwd +root ALL = CHROOT=/ /bin/ls +EOF + +exit 0 diff --git a/plugins/sudoers/regress/testsudoers/test3.out.ok b/plugins/sudoers/regress/testsudoers/test3.out.ok new file mode 100644 index 0000000..788f2ea --- /dev/null +++ b/plugins/sudoers/regress/testsudoers/test3.out.ok @@ -0,0 +1,51 @@ +Testing @includedir of an unquoted path + +Parses OK + +Entries for user root: + +ALL = ALL + host matched + runas matched + cmnd allowed + +Command allowed + +Testing @includedir of a double-quoted path + +Parses OK + +Entries for user root: + +ALL = ALL + host matched + runas matched + cmnd allowed + +Command allowed + +Testing #includedir of an unquoted path + +Parses OK + +Entries for user root: + +ALL = ALL + host matched + runas matched + cmnd allowed + +Command allowed + +Testing #includedir of a double-quoted path + +Parses OK + +Entries for user root: + +ALL = ALL + host matched + runas matched + cmnd allowed + +Command allowed diff --git a/plugins/sudoers/regress/testsudoers/test3.sh b/plugins/sudoers/regress/testsudoers/test3.sh new file mode 100755 index 0000000..d166de9 --- /dev/null +++ b/plugins/sudoers/regress/testsudoers/test3.sh @@ -0,0 +1,48 @@ +#!/bin/sh +# +# Test @includedir facility +# + +: ${TESTSUDOERS=testsudoers} + +TESTDIR="`pwd`/regress/testsudoers" +# make sure include file is owned by current user +rm -rf "$TESTDIR/test3.d" +mkdir "$TESTDIR/test3.d" +cat >"$TESTDIR/test3.d/root" <<-EOF + root ALL = ALL +EOF + +MYUID=`\ls -lnd $TESTDIR/test3.d | awk '{print $3}'` +MYGID=`\ls -lnd $TESTDIR/test3.d | awk '{print $4}'` +exec 2>&1 + +echo "Testing @includedir of an unquoted path" +echo "" +$TESTSUDOERS -U $MYUID -G $MYGID root id <<-EOF + @includedir $TESTDIR/test3.d +EOF + +echo "" +echo "Testing @includedir of a double-quoted path" +echo "" +$TESTSUDOERS -U $MYUID -G $MYGID root id <<-EOF + @includedir "$TESTDIR/test3.d" +EOF + +echo "" +echo "Testing #includedir of an unquoted path" +echo "" +$TESTSUDOERS -U $MYUID -G $MYGID root id <<-EOF + #includedir $TESTDIR/test3.d +EOF + +echo "" +echo "Testing #includedir of a double-quoted path" +echo "" +$TESTSUDOERS -U $MYUID -G $MYGID root id <<-EOF + #includedir "$TESTDIR/test3.d" +EOF + +rm -rf "$TESTDIR/test3.d" +exit 0 diff --git a/plugins/sudoers/regress/testsudoers/test4.out.ok b/plugins/sudoers/regress/testsudoers/test4.out.ok new file mode 100644 index 0000000..cf68da5 --- /dev/null +++ b/plugins/sudoers/regress/testsudoers/test4.out.ok @@ -0,0 +1,5 @@ +testsudoers: test2.inc should be owned by uid 1 + +Entries for user root: + +Command unmatched diff --git a/plugins/sudoers/regress/testsudoers/test4.sh b/plugins/sudoers/regress/testsudoers/test4.sh new file mode 100755 index 0000000..4d496c7 --- /dev/null +++ b/plugins/sudoers/regress/testsudoers/test4.sh @@ -0,0 +1,13 @@ +#!/bin/sh +# +# Test sudoers owner check +# + +: ${TESTSUDOERS=testsudoers} + +exec 2>&1 +$TESTSUDOERS -U 1 root id <"$TESTFILE" <&1 + +# Test world writable +chmod 666 $TESTFILE +$TESTSUDOERS -U $MYUID -G $MYGID root id <&1 +$TESTSUDOERS root id <&1 +$TESTSUDOERS root id <&1 + +echo "Testing @include without a newline" +echo "" +printf "@include $TESTDIR/test2.inc" | \ + $TESTSUDOERS -U $MYUID -G $MYGID root id + +echo "" +echo "Testing #include without a newline" +echo "" +printf "#include $TESTDIR/test2.inc" | \ + $TESTSUDOERS -U $MYUID -G $MYGID root id + +exit 0 diff --git a/plugins/sudoers/regress/testsudoers/test9.out.ok b/plugins/sudoers/regress/testsudoers/test9.out.ok new file mode 100644 index 0000000..3ec84bd --- /dev/null +++ b/plugins/sudoers/regress/testsudoers/test9.out.ok @@ -0,0 +1,10 @@ +Parses OK + +Entries for user root: + +ALL = ALL + host matched + runas matched + cmnd allowed + +Command allowed diff --git a/plugins/sudoers/regress/testsudoers/test9.sh b/plugins/sudoers/regress/testsudoers/test9.sh new file mode 100755 index 0000000..850bbac --- /dev/null +++ b/plugins/sudoers/regress/testsudoers/test9.sh @@ -0,0 +1,15 @@ +#!/bin/sh +# +# Test #include facility +# + +: ${TESTSUDOERS=testsudoers} + +MYUID=`\ls -ln $TESTDIR/test2.inc | awk '{print $3}'` +MYGID=`\ls -ln $TESTDIR/test2.inc | awk '{print $4}'` +exec 2>&1 +$TESTSUDOERS -U $MYUID -G $MYGID root id < + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#include + +#include +#include +#include + +#define SUDO_ERROR_WRAP 0 + +#include "sudoers.h" + +struct test_data { + const char *input; + const char *result; + size_t result_len; + size_t bufsize; +}; + +/* strlcpy_unescape() does not unescape whitespace */ +static struct test_data strlcpy_unescape_test_data[] = { + { "\\\0ABC", "\\", 1, 2 }, /* 1 */ + { "\\ \\;", "\\ ;", 3, 4 }, /* 2 */ + { "\\\t\\;", "\\\t;", 3, 4 }, /* 3 */ + { "\\foo", "foo", 3, 4 }, /* 4 */ + { "foo\\ bar", "foo\\ bar", 8, 9 }, /* 5 */ + { "foo bar", "f", 7, 2 }, /* 6 */ + { "foo bar", "", 7, 1 }, /* 7 */ + { "foo bar", NULL, 7, 0 }, /* 8 */ + { NULL } +}; + +/* unescape_string() _does_ unescape whitespace */ +static struct test_data unescape_string_test_data[] = { + { "foo\\ bar", "foo bar", 7, 8 }, /* 1 */ + { "foo\\,bar", "foo,bar", 7, 8 }, /* 2 */ + { "baz \\", "baz \\", 5, 5 }, /* 3 */ + { "\\foo", "foo", 3, 4 }, /* 4 */ + { "var=aaa,b\\,b", "var=aaa,b,b", 11, 12 }, /* 5 */ + { "\\a\\ b\\ c\\\\", "a b c\\", 6, 10 }, /* 6 */ + { "\\", "\\", 1, 1 }, /* 7 */ + { "foo", "foo", 3, 3 }, /* 8 */ + { "", "", 0, 0 }, /* 9 */ + { NULL } +}; + +sudo_dso_public int main(int argc, char *argv[]); + +static void +test_strlcpy_unescape(int *ntests_out, int *errors_out) +{ + int ntests = *ntests_out; + int errors = *errors_out; + struct test_data *td; + char buf[1024]; + size_t len; + + for (td = strlcpy_unescape_test_data; td->input != NULL; td++) { + ntests++; + memset(buf, 'A', sizeof(buf)); + len = strlcpy_unescape(buf, td->input, td->bufsize); + if (len != td->result_len) { + sudo_warnx("%d: \"%s\": bad return %zu, expected %zu", + ntests, td->input, len, td->result_len); + errors++; + } + len = td->result ? strlen(td->result) : 0; + if ((len != 0 || td->bufsize != 0) && len >= td->bufsize) { + sudo_warnx("%d: \"%s\": bad length %zu >= %zu", + ntests, td->input, len, td->bufsize); + errors++; + } + if (td->result != NULL && strcmp(td->result, buf) != 0) { + sudo_warnx("%d: \"%s\": got \"%s\", expected \"%s\"", + ntests, td->input, buf, td->result); + errors++; + } + if (buf[td->bufsize] != 'A') { + sudo_warnx("%d: \"%s\": wrote past end of buffer at %zu (0x%x)", + ntests, td->input, td->bufsize, buf[td->bufsize]); + errors++; + } + } + + *ntests_out = ntests; + *errors_out = errors; +} + +static void +test_unescape_string(int *ntests_out, int *errors_out) +{ + int ntests = *ntests_out; + int errors = *errors_out; + struct test_data *td; + char buf[1024]; + + for (td = unescape_string_test_data; td->input != NULL; td++) { + ntests++; + memset(buf, 'A', sizeof(buf)); + memcpy(buf, td->input, td->bufsize); + buf[td->bufsize] = '\0'; + unescape_string(buf); + if (strcmp(td->result, buf) != 0) { + sudo_warnx("%d: \"%s\": got \"%s\", expected \"%s\"", + ntests, td->input, buf, td->result); + errors++; + } + } + + *ntests_out = ntests; + *errors_out = errors; +} + +static void +test_strvec_join(char sep, int *ntests_out, int *errors_out) +{ + int ntests = *ntests_out; + int errors = *errors_out; + char buf[64*1024 + 1], expected[64*1024 + 3]; + char *argv[3], *result; + + /* Test joining an argument vector while unescaping. */ + /* Simulate: sudoedit -s '\' `perl -e 'print "A" x 65536'` */ + memset(buf, 'A', sizeof(buf)); + buf[sizeof(buf) - 1] = '\0'; + argv[0] = (char *)"\\"; + argv[1] = buf; + argv[2] = NULL; + + memset(expected, 'A', sizeof(expected)); + expected[0] = '\\'; + expected[1] = sep; + expected[sizeof(expected) - 1] = '\0'; + + ntests++; + result = strvec_join(argv, sep, strlcpy_unescape); + if (result == NULL) { + sudo_warnx("%d: failed to join argument vector", ntests); + errors++; + } else if (strcmp(result, expected) != 0) { + sudo_warnx("%d: got \"%s\", expected \"%s\"", ntests, + result, expected); + errors++; + } + free(result); + + *ntests_out = ntests; + *errors_out = errors; +} + +int +main(int argc, char *argv[]) +{ + int ntests = 0, errors = 0; + + initprogname(argc > 0 ? argv[0] : "check_unesc"); + + /* strlcpy_unescape tests */ + test_strlcpy_unescape(&ntests, &errors); + + /* unescape_string test */ + test_unescape_string(&ntests, &errors); + + /* strvec_join test */ + test_strvec_join(' ', &ntests, &errors); + test_strvec_join('\n', &ntests, &errors); + + if (ntests != 0) { + printf("%s: %d tests run, %d errors, %d%% success rate\n", + getprogname(), ntests, errors, (ntests - errors) * 100 / ntests); + } + + exit(errors); +} diff --git a/plugins/sudoers/regress/visudo/test1.out.ok b/plugins/sudoers/regress/visudo/test1.out.ok new file mode 100644 index 0000000..e5c355c --- /dev/null +++ b/plugins/sudoers/regress/visudo/test1.out.ok @@ -0,0 +1 @@ +stdin: parsed OK diff --git a/plugins/sudoers/regress/visudo/test1.sh b/plugins/sudoers/regress/visudo/test1.sh new file mode 100755 index 0000000..5676eea --- /dev/null +++ b/plugins/sudoers/regress/visudo/test1.sh @@ -0,0 +1,14 @@ +#!/bin/sh +# +# Sudo Bug 519: +# Visudo in strict mode reports "parse error" even if there is no error +# + +: ${VISUDO=visudo} + +$VISUDO -csf - <root !set_logname +Defaults:FULLTIMERS !lecture +Defaults:millert !authenticate +Defaults@SERVERS log_year, logfile=/var/log/sudo.log +Defaults!PAGERS noexec + +Defaults env_keep -= "HOME" +Defaults env_keep = "COLORS DISPLAY HOSTNAME HISTSIZE KDEDIR LS_COLORS" +Defaults env_keep += "MAIL PS1 PS2 QTDIR LANG LC_ADDRESS LC_CTYPE" + +User_Alias FULLTIMERS = millert, mikef, dowdy + +Cmnd_Alias PAGERS = /usr/bin/more, /usr/bin/pg, /usr/bin/less + +Host_Alias SERVERS = primary, mail, www, ns +EOF + +exit 0 diff --git a/plugins/sudoers/regress/visudo/test7.out.ok b/plugins/sudoers/regress/visudo/test7.out.ok new file mode 100644 index 0000000..e5c355c --- /dev/null +++ b/plugins/sudoers/regress/visudo/test7.out.ok @@ -0,0 +1 @@ +stdin: parsed OK diff --git a/plugins/sudoers/regress/visudo/test7.sh b/plugins/sudoers/regress/visudo/test7.sh new file mode 100755 index 0000000..b993fe7 --- /dev/null +++ b/plugins/sudoers/regress/visudo/test7.sh @@ -0,0 +1,31 @@ +#!/bin/sh +# +# Test sudoers_locale early Defaults +# + +: ${VISUDO=visudo} + +LANG=C; export LANG +LC_NUMERIC=fr_FR.UTF-8; export LC_NUMERIC + +# First check that visudo supports non-C locales +# Note that older versions of sudo did not set the locale +# until sudoers was read so this check will fail on them. +$VISUDO -csf - >/dev/null 2>&1 <<-EOF + Defaults sudoers_locale = fr_FR.UTF-8 + Defaults passwd_timeout = "2,5" + EOF + +# Now make sure we can set passwd_timeout to a floating point value +# using a non-C locale. +if [ $? -eq 0 ]; then + $VISUDO -csf - <<-EOF + Defaults passwd_timeout = "2,5" + Defaults sudoers_locale = fr_FR.UTF-8 + EOF +else + # No support for LC_NUMERIC? + echo "stdin: parsed OK" +fi + +exit 0 diff --git a/plugins/sudoers/regress/visudo/test8.err.ok b/plugins/sudoers/regress/visudo/test8.err.ok new file mode 100644 index 0000000..3e71f62 --- /dev/null +++ b/plugins/sudoers/regress/visudo/test8.err.ok @@ -0,0 +1 @@ +visudo: stdin:1: value "2.5" is invalid for option "passwd_timeout" diff --git a/plugins/sudoers/regress/visudo/test8.out.ok b/plugins/sudoers/regress/visudo/test8.out.ok new file mode 100644 index 0000000..16ebc45 --- /dev/null +++ b/plugins/sudoers/regress/visudo/test8.out.ok @@ -0,0 +1 @@ +parse error in stdin near line 1 diff --git a/plugins/sudoers/regress/visudo/test8.sh b/plugins/sudoers/regress/visudo/test8.sh new file mode 100755 index 0000000..85bdd9f --- /dev/null +++ b/plugins/sudoers/regress/visudo/test8.sh @@ -0,0 +1,32 @@ +#!/bin/sh +# +# Test sudoers_locale early Defaults +# + +: ${VISUDO=visudo} + +LANG=C; export LANG +LC_NUMERIC=fr_FR.UTF-8; export LC_NUMERIC + +# First check that visudo supports non-C locales +# Note that older versions of sudo did not set the locale +# until sudoers was read so this check will fail on them. +$VISUDO -csf - >/dev/null 2>&1 <<-EOF + Defaults sudoers_locale = fr_FR.UTF-8 + Defaults passwd_timeout = "2,5" + EOF + +# Now make sure we can set passwd_timeout to a floating point value +# using a non-C locale. +if [ $? -eq 0 ]; then + $VISUDO -csf - <<-EOF + Defaults passwd_timeout = "2.5" + Defaults sudoers_locale = fr_FR.UTF-8 + EOF +else + # No support for LC_NUMERIC? + echo "parse error in stdin near line 1" + echo 'visudo: stdin:1: value "2.5" is invalid for option "passwd_timeout"' 1>&2 +fi + +exit 0 diff --git a/plugins/sudoers/regress/visudo/test9.out.ok b/plugins/sudoers/regress/visudo/test9.out.ok new file mode 100644 index 0000000..e5c355c --- /dev/null +++ b/plugins/sudoers/regress/visudo/test9.out.ok @@ -0,0 +1 @@ +stdin: parsed OK diff --git a/plugins/sudoers/regress/visudo/test9.sh b/plugins/sudoers/regress/visudo/test9.sh new file mode 100755 index 0000000..175ad6e --- /dev/null +++ b/plugins/sudoers/regress/visudo/test9.sh @@ -0,0 +1,14 @@ +#!/bin/sh +# +# Test IP and network address in host-based Defaults statements +# Bugzilla #766 +# + +: ${VISUDO=visudo} + +$VISUDO -cf - <<-EOF + Defaults@127.0.0.1 !authenticate + Defaults@10.0.0.0/8 !always_set_home + EOF + +exit 0 diff --git a/plugins/sudoers/serialize_list.c b/plugins/sudoers/serialize_list.c new file mode 100644 index 0000000..2c1f916 --- /dev/null +++ b/plugins/sudoers/serialize_list.c @@ -0,0 +1,82 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2019, 2022 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include + +#include "sudoers.h" + +/* + * Convert struct list_members to a comma-separated string with + * the given variable name. Escapes backslashes and commas. + */ +char * +serialize_list(const char *varname, struct list_members *members) +{ + struct list_member *lm, *next; + size_t len, result_size; + char *cp, *result; + debug_decl(serialize_list, SUDOERS_DEBUG_PLUGIN); + + result_size = strlen(varname) + 1; + SLIST_FOREACH(lm, members, entries) { + for (cp = lm->value; *cp != '\0'; cp++) { + result_size++; + if (*cp == '\\' || *cp == ',') + result_size++; + } + result_size++; + } + if ((result = malloc(result_size)) == NULL) + goto bad; + /* No need to check len for overflow here. */ + len = strlcpy(result, varname, result_size); + result[len++] = '='; + SLIST_FOREACH_SAFE(lm, members, entries, next) { + for (cp = lm->value; *cp != '\0'; cp++) { + bool escape = (*cp == '\\' || *cp == ','); + if (len + 1 + escape >= result_size) { + sudo_warnx(U_("internal error, %s overflow"), __func__); + goto bad; + } + if (escape) + result[len++] = '\\'; + result[len++] = *cp; + } + if (next != NULL) { + if (len + 1 >= result_size) { + sudo_warnx(U_("internal error, %s overflow"), __func__); + goto bad; + } + result[len++] = ','; + } + result[len] = '\0'; + } + debug_return_str(result); +bad: + free(result); + debug_return_str(NULL); +} diff --git a/plugins/sudoers/set_perms.c b/plugins/sudoers/set_perms.c new file mode 100644 index 0000000..77ce395 --- /dev/null +++ b/plugins/sudoers/set_perms.c @@ -0,0 +1,1613 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1994-1996, 1998-2020 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Sponsored in part by the Defense Advanced Research Projects + * Agency (DARPA) and Air Force Research Laboratory, Air Force + * Materiel Command, USAF, under agreement number F39502-99-1-0512. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include +#include +#include +#ifdef _AIX +# include +#endif +#include +#include +#include + +#include "sudoers.h" + +/* + * Prototypes + */ +#if defined(HAVE_SETRESUID) || defined(HAVE_SETREUID) || defined(HAVE_SETEUID) +static struct gid_list *runas_setgroups(void); +#endif + +/* + * We keep track of the current permisstions and use a stack to restore + * the old permissions. A depth of 16 is overkill. + */ +struct perm_state { + uid_t ruid; + uid_t euid; +#if defined(HAVE_SETRESUID) || defined(ID_SAVED) + uid_t suid; +#endif + gid_t rgid; + gid_t egid; +#if defined(HAVE_SETRESUID) || defined(ID_SAVED) + gid_t sgid; +#endif + struct gid_list *gidlist; +}; + +#define PERM_STACK_MAX 16 +static struct perm_state perm_stack[PERM_STACK_MAX]; +static int perm_stack_depth = 0; + +#undef ID +#define ID(x) (state->x == ostate->x ? (uid_t)-1 : state->x) +#undef OID +#define OID(x) (ostate->x == state->x ? (uid_t)-1 : ostate->x) + +bool +rewind_perms(void) +{ + debug_decl(rewind_perms, SUDOERS_DEBUG_PERMS); + + if (perm_stack_depth > 0) { + while (perm_stack_depth > 1) { + if (!restore_perms()) + debug_return_bool(false); + } + sudo_gidlist_delref(perm_stack[0].gidlist); + } + + debug_return_bool(true); +} + +#if defined(HAVE_SETRESUID) + +#define UID_CHANGED (state->ruid != ostate->ruid || state->euid != ostate->euid || state->suid != ostate->suid) +#define GID_CHANGED (state->rgid != ostate->rgid || state->egid != ostate->egid || state->sgid != ostate->sgid) + +/* + * Set real and effective and saved uids and gids based on perm. + * We always retain a saved uid of 0 unless we are headed for an exec(). + * We only flip the effective gid since it only changes for PERM_SUDOERS. + * This version of set_perms() works fine with the "stay_setuid" option. + */ +bool +set_perms(int perm) +{ + struct perm_state *state, *ostate = NULL; + char errbuf[1024]; + const char *errstr = errbuf; + debug_decl(set_perms, SUDOERS_DEBUG_PERMS); + + if (perm_stack_depth == PERM_STACK_MAX) { + errstr = N_("perm stack overflow"); + errno = EINVAL; + goto bad; + } + + if (perm == PERM_INITIAL) { + if (perm_stack_depth > 1) + rewind_perms(); + perm_stack_depth = 0; + } else { + if (perm_stack_depth == 0) { + errstr = N_("perm stack underflow"); + errno = EINVAL; + goto bad; + } + ostate = &perm_stack[perm_stack_depth - 1]; + } + state = &perm_stack[perm_stack_depth]; + + switch (perm) { + case PERM_INITIAL: + /* Stash initial state */ +#ifdef HAVE_GETRESUID + if (getresuid(&state->ruid, &state->euid, &state->suid)) { + errstr = "PERM_INITIAL: getresuid"; + goto bad; + + } + if (getresgid(&state->rgid, &state->egid, &state->sgid)) { + errstr = "PERM_INITIAL: getresgid"; + goto bad; + } +#else + state->ruid = getuid(); + state->euid = geteuid(); + state->suid = state->euid; /* in case we are setuid */ + + state->rgid = getgid(); + state->egid = getegid(); + state->sgid = state->egid; /* in case we are setgid */ +#endif + state->gidlist = user_gid_list; + sudo_gidlist_addref(state->gidlist); + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_INITIAL: " + "ruid: %d, euid: %d, suid: %d, rgid: %d, egid: %d, sgid: %d", + __func__, (int)state->ruid, (int)state->euid, (int)state->suid, + (int)state->rgid, (int)state->egid, (int)state->sgid); + break; + + case PERM_ROOT: + state->ruid = ROOT_UID; + state->euid = ROOT_UID; + state->suid = ROOT_UID; + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_ROOT: uid: " + "[%d, %d, %d] -> [%d, %d, %d]", __func__, + (int)ostate->ruid, (int)ostate->euid, (int)ostate->suid, + (int)state->ruid, (int)state->euid, (int)state->suid); + if (UID_CHANGED && setresuid(ID(ruid), ID(euid), ID(suid))) { + (void)snprintf(errbuf, sizeof(errbuf), + "PERM_ROOT: setresuid(%d, %d, %d)", + (int)ID(ruid), (int)ID(euid), (int)ID(suid)); + goto bad; + } + state->rgid = ostate->rgid; + state->egid = ROOT_GID; + state->sgid = ostate->sgid; + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_ROOT: gid: " + "[%d, %d, %d] -> [%d, %d, %d]", __func__, + (int)ostate->rgid, (int)ostate->egid, (int)ostate->sgid, + (int)state->rgid, (int)state->egid, (int)state->sgid); + if (GID_CHANGED && setresgid(ID(rgid), ID(egid), ID(sgid))) { + errstr = N_("unable to change to root gid"); + goto bad; + } + state->gidlist = ostate->gidlist; + sudo_gidlist_addref(state->gidlist); + break; + + case PERM_USER: + state->rgid = ostate->rgid; + state->egid = user_gid; + state->sgid = ostate->sgid; + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_USER: gid: " + "[%d, %d, %d] -> [%d, %d, %d]", __func__, + (int)ostate->rgid, (int)ostate->egid, (int)ostate->sgid, + (int)state->rgid, (int)state->egid, (int)state->sgid); + if (GID_CHANGED && setresgid(ID(rgid), ID(egid), ID(sgid))) { + (void)snprintf(errbuf, sizeof(errbuf), + "PERM_USER: setresgid(%d, %d, %d)", + (int)ID(rgid), (int)ID(egid), (int)ID(sgid)); + goto bad; + } + state->gidlist = user_gid_list; + sudo_gidlist_addref(state->gidlist); + if (state->gidlist != ostate->gidlist) { + if (sudo_setgroups(state->gidlist->ngids, state->gidlist->gids)) { + errstr = "PERM_USER: setgroups"; + goto bad; + } + } + state->ruid = user_uid; + state->euid = user_uid; + state->suid = ROOT_UID; + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_USER: uid: " + "[%d, %d, %d] -> [%d, %d, %d]", __func__, + (int)ostate->ruid, (int)ostate->euid, (int)ostate->suid, + (int)state->ruid, (int)state->euid, (int)state->suid); + if (UID_CHANGED && setresuid(ID(ruid), ID(euid), ID(suid))) { + (void)snprintf(errbuf, sizeof(errbuf), + "PERM_USER: setresuid(%d, %d, %d)", + (int)ID(ruid), (int)ID(euid), (int)ID(suid)); + goto bad; + } + break; + + case PERM_FULL_USER: + /* headed for exec() */ + state->rgid = user_gid; + state->egid = user_gid; + state->sgid = user_gid; + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_FULL_USER: gid: " + "[%d, %d, %d] -> [%d, %d, %d]", __func__, + (int)ostate->rgid, (int)ostate->egid, (int)ostate->sgid, + (int)state->rgid, (int)state->egid, (int)state->sgid); + if (GID_CHANGED && setresgid(ID(rgid), ID(egid), ID(sgid))) { + (void)snprintf(errbuf, sizeof(errbuf), + "PERM_FULL_USER: setresgid(%d, %d, %d)", + (int)ID(rgid), (int)ID(egid), (int)ID(sgid)); + goto bad; + } + state->gidlist = user_gid_list; + sudo_gidlist_addref(state->gidlist); + if (state->gidlist != ostate->gidlist) { + if (sudo_setgroups(state->gidlist->ngids, state->gidlist->gids)) { + errstr = "PERM_FULL_USER: setgroups"; + goto bad; + } + } + state->ruid = user_uid; + state->euid = user_uid; + state->suid = user_uid; + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_FULL_USER: uid: " + "[%d, %d, %d] -> [%d, %d, %d]", __func__, + (int)ostate->ruid, (int)ostate->euid, (int)ostate->suid, + (int)state->ruid, (int)state->euid, (int)state->suid); + if (UID_CHANGED && setresuid(ID(ruid), ID(euid), ID(suid))) { + (void)snprintf(errbuf, sizeof(errbuf), + "PERM_FULL_USER: setresuid(%d, %d, %d)", + (int)ID(ruid), (int)ID(euid), (int)ID(suid)); + goto bad; + } + break; + + case PERM_RUNAS: + state->rgid = ostate->rgid; + state->egid = runas_gr ? runas_gr->gr_gid : runas_pw->pw_gid; + state->sgid = ostate->sgid; + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_RUNAS: gid: " + "[%d, %d, %d] -> [%d, %d, %d]", __func__, + (int)ostate->rgid, (int)ostate->egid, (int)ostate->sgid, + (int)state->rgid, (int)state->egid, (int)state->sgid); + if (GID_CHANGED && setresgid(ID(rgid), ID(egid), ID(sgid))) { + errstr = N_("unable to change to runas gid"); + goto bad; + } + state->gidlist = runas_setgroups(); + if (state->gidlist == NULL) { + errstr = N_("unable to set runas group vector"); + goto bad; + } + state->ruid = ostate->ruid; + state->euid = runas_pw ? runas_pw->pw_uid : user_uid; + state->suid = ostate->suid; + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_RUNAS: uid: " + "[%d, %d, %d] -> [%d, %d, %d]", __func__, + (int)ostate->ruid, (int)ostate->euid, (int)ostate->suid, + (int)state->ruid, (int)state->euid, (int)state->suid); + if (UID_CHANGED && setresuid(ID(ruid), ID(euid), ID(suid))) { + errstr = N_("unable to change to runas uid"); + goto bad; + } + break; + + case PERM_SUDOERS: + state->gidlist = ostate->gidlist; + sudo_gidlist_addref(state->gidlist); + + /* assumes euid == ROOT_UID, ruid == user */ + state->rgid = ostate->rgid; + state->egid = sudoers_gid; + state->sgid = ostate->sgid; + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_SUDOERS: gid: " + "[%d, %d, %d] -> [%d, %d, %d]", __func__, + (int)ostate->rgid, (int)ostate->egid, (int)ostate->sgid, + (int)state->rgid, (int)state->egid, (int)state->sgid); + if (GID_CHANGED && setresgid(ID(rgid), ID(egid), ID(sgid))) { + errstr = N_("unable to change to sudoers gid"); + goto bad; + } + + state->ruid = ROOT_UID; + /* + * If sudoers_uid == ROOT_UID and sudoers_mode is group readable + * we use a non-zero uid in order to avoid NFS lossage. + * Using uid 1 is a bit bogus but should work on all OS's. + */ + if (sudoers_uid == ROOT_UID && (sudoers_mode & S_IRGRP)) + state->euid = 1; + else + state->euid = sudoers_uid; + state->suid = ROOT_UID; + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_SUDOERS: uid: " + "[%d, %d, %d] -> [%d, %d, %d]", __func__, + (int)ostate->ruid, (int)ostate->euid, (int)ostate->suid, + (int)state->ruid, (int)state->euid, (int)state->suid); + if (UID_CHANGED && setresuid(ID(ruid), ID(euid), ID(suid))) { + (void)snprintf(errbuf, sizeof(errbuf), + "PERM_SUDOERS: setresuid(%d, %d, %d)", + (int)ID(ruid), (int)ID(euid), (int)ID(suid)); + goto bad; + } + break; + + case PERM_TIMESTAMP: + state->gidlist = ostate->gidlist; + sudo_gidlist_addref(state->gidlist); + state->rgid = ostate->rgid; + state->egid = ostate->egid; + state->sgid = ostate->sgid; + state->ruid = ROOT_UID; + state->euid = timestamp_uid; + state->suid = ROOT_UID; + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_TIMESTAMP: uid: " + "[%d, %d, %d] -> [%d, %d, %d]", __func__, + (int)ostate->ruid, (int)ostate->euid, (int)ostate->suid, + (int)state->ruid, (int)state->euid, (int)state->suid); + if (UID_CHANGED && setresuid(ID(ruid), ID(euid), ID(suid))) { + (void)snprintf(errbuf, sizeof(errbuf), + "PERM_TIMESTAMP: setresuid(%d, %d, %d)", + (int)ID(ruid), (int)ID(euid), (int)ID(suid)); + goto bad; + } + break; + } + + perm_stack_depth++; + debug_return_bool(true); +bad: + if (errno == EAGAIN) + sudo_warnx(U_("%s: %s"), U_(errstr), U_("too many processes")); + else + sudo_warn("%s", U_(errstr)); + debug_return_bool(false); +} + +bool +restore_perms(void) +{ + struct perm_state *state, *ostate; + debug_decl(restore_perms, SUDOERS_DEBUG_PERMS); + + if (perm_stack_depth < 2) { + sudo_warnx("%s", U_("perm stack underflow")); + debug_return_bool(true); + } + + state = &perm_stack[perm_stack_depth - 1]; + ostate = &perm_stack[perm_stack_depth - 2]; + perm_stack_depth--; + + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: uid: [%d, %d, %d] -> [%d, %d, %d]", + __func__, (int)state->ruid, (int)state->euid, (int)state->suid, + (int)ostate->ruid, (int)ostate->euid, (int)ostate->suid); + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: gid: [%d, %d, %d] -> [%d, %d, %d]", + __func__, (int)state->rgid, (int)state->egid, (int)state->sgid, + (int)ostate->rgid, (int)ostate->egid, (int)ostate->sgid); + + /* XXX - more cases here where euid != ruid */ + if (OID(euid) == ROOT_UID) { + if (setresuid(-1, ROOT_UID, -1)) { + sudo_warn("setresuid() [%d, %d, %d] -> [%d, %d, %d]", + (int)state->ruid, (int)state->euid, (int)state->suid, + -1, ROOT_UID, -1); + goto bad; + } + } + if (setresgid(OID(rgid), OID(egid), OID(sgid))) { + sudo_warn("setresgid() [%d, %d, %d] -> [%d, %d, %d]", + (int)state->rgid, (int)state->egid, (int)state->sgid, + (int)OID(rgid), (int)OID(egid), (int)OID(sgid)); + goto bad; + } + if (state->gidlist != ostate->gidlist) { + if (sudo_setgroups(ostate->gidlist->ngids, ostate->gidlist->gids)) { + sudo_warn("setgroups()"); + goto bad; + } + } + if (setresuid(OID(ruid), OID(euid), OID(suid))) { + sudo_warn("setresuid() [%d, %d, %d] -> [%d, %d, %d]", + (int)state->ruid, (int)state->euid, (int)state->suid, + (int)OID(ruid), (int)OID(euid), (int)OID(suid)); + goto bad; + } + sudo_gidlist_delref(state->gidlist); + debug_return_bool(true); + +bad: + debug_return_bool(false); +} + +#elif defined(_AIX) && defined(ID_SAVED) + +#define UID_CHANGED (state->ruid != ostate->ruid || state->euid != ostate->euid || state->suid != ostate->suid) +#define GID_CHANGED (state->rgid != ostate->rgid || state->egid != ostate->egid || state->sgid != ostate->sgid) + +/* + * Set real and effective and saved uids and gids based on perm. + * We always retain a saved uid of 0 unless we are headed for an exec(). + * We only flip the effective gid since it only changes for PERM_SUDOERS. + * This version of set_perms() works fine with the "stay_setuid" option. + */ +bool +set_perms(int perm) +{ + struct perm_state *state, *ostate = NULL; + char errbuf[1024]; + const char *errstr = errbuf; + debug_decl(set_perms, SUDOERS_DEBUG_PERMS); + + if (perm_stack_depth == PERM_STACK_MAX) { + errstr = N_("perm stack overflow"); + errno = EINVAL; + goto bad; + } + + if (perm == PERM_INITIAL) { + if (perm_stack_depth > 1) + rewind_perms(); + perm_stack_depth = 0; + } else { + if (perm_stack_depth == 0) { + errstr = N_("perm stack underflow"); + errno = EINVAL; + goto bad; + } + ostate = &perm_stack[perm_stack_depth - 1]; + } + state = &perm_stack[perm_stack_depth]; + + switch (perm) { + case PERM_INITIAL: + /* Stash initial state */ + state->ruid = getuidx(ID_REAL); + state->euid = getuidx(ID_EFFECTIVE); + state->suid = getuidx(ID_SAVED); + state->rgid = getgidx(ID_REAL); + state->egid = getgidx(ID_EFFECTIVE); + state->sgid = getgidx(ID_SAVED); + state->gidlist = user_gid_list; + sudo_gidlist_addref(state->gidlist); + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_INITIAL: " + "ruid: %d, euid: %d, suid: %d, rgid: %d, egid: %d, sgid: %d", + __func__, (int)state->ruid, (int)state->euid, (int)state->suid, + (int)state->rgid, (int)state->egid, (int)state->sgid); + break; + + case PERM_ROOT: + state->ruid = ROOT_UID; + state->euid = ROOT_UID; + state->suid = ROOT_UID; + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_ROOT: uid: " + "[%d, %d, %d] -> [%d, %d, %d]", __func__, + (int)ostate->ruid, (int)ostate->euid, (int)ostate->suid, + (int)state->ruid, (int)state->euid, (int)state->suid); + if (UID_CHANGED && setuidx(ID_EFFECTIVE|ID_REAL|ID_SAVED, ROOT_UID)) { + (void)snprintf(errbuf, sizeof(errbuf), + "PERM_ROOT: setuidx(ID_EFFECTIVE|ID_REAL|ID_SAVED, %d)", + ROOT_UID); + goto bad; + } + state->rgid = ostate->rgid; + state->egid = ROOT_GID; + state->sgid = ostate->sgid; + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_ROOT: gid: " + "[%d, %d, %d] -> [%d, %d, %d]", __func__, + (int)ostate->rgid, (int)ostate->egid, (int)ostate->sgid, + (int)state->rgid, (int)state->egid, (int)state->sgid); + if (GID_CHANGED && setgidx(ID_EFFECTIVE, ROOT_GID)) { + errstr = N_("unable to change to root gid"); + goto bad; + } + state->gidlist = ostate->gidlist; + sudo_gidlist_addref(state->gidlist); + break; + + case PERM_USER: + state->rgid = ostate->rgid; + state->egid = user_gid; + state->sgid = ostate->sgid; + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_USER: gid: " + "[%d, %d, %d] -> [%d, %d, %d]", __func__, + (int)ostate->rgid, (int)ostate->egid, (int)ostate->sgid, + (int)state->rgid, (int)state->egid, (int)state->sgid); + if (GID_CHANGED && setgidx(ID_EFFECTIVE, user_gid)) { + (void)snprintf(errbuf, sizeof(errbuf), + "PERM_USER: setgidx(ID_EFFECTIVE, %d)", (int)user_gid); + goto bad; + } + state->gidlist = user_gid_list; + sudo_gidlist_addref(state->gidlist); + if (state->gidlist != ostate->gidlist) { + if (sudo_setgroups(state->gidlist->ngids, state->gidlist->gids)) { + errstr = "PERM_USER: setgroups"; + goto bad; + } + } + state->ruid = user_uid; + state->euid = user_uid; + state->suid = ROOT_UID; + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_USER: uid: " + "[%d, %d, %d] -> [%d, %d, %d]", __func__, + (int)ostate->ruid, (int)ostate->euid, (int)ostate->suid, + (int)state->ruid, (int)state->euid, (int)state->suid); + if (ostate->euid != ROOT_UID || ostate->suid != ROOT_UID) { + if (setuidx(ID_EFFECTIVE|ID_REAL|ID_SAVED, ROOT_UID)) { + (void)snprintf(errbuf, sizeof(errbuf), + "PERM_USER: setuidx(ID_EFFECTIVE|ID_REAL|ID_SAVED, %d)", + ROOT_UID); + goto bad; + } + } + if (setuidx(ID_EFFECTIVE|ID_REAL, user_uid)) { + (void)snprintf(errbuf, sizeof(errbuf), + "PERM_USER: setuidx(ID_EFFECTIVE|ID_REAL, %d)", (int)user_uid); + goto bad; + } + break; + + case PERM_FULL_USER: + /* headed for exec() */ + state->rgid = user_gid; + state->egid = user_gid; + state->sgid = user_gid; + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_FULL_USER: gid: " + "[%d, %d, %d] -> [%d, %d, %d]", __func__, + (int)ostate->rgid, (int)ostate->egid, (int)ostate->sgid, + (int)state->rgid, (int)state->egid, (int)state->sgid); + if (GID_CHANGED && setgidx(ID_EFFECTIVE|ID_REAL|ID_SAVED, user_gid)) { + (void)snprintf(errbuf, sizeof(errbuf), + "PERM_FULL_USER: setgidx(ID_EFFECTIVE|ID_REAL|ID_SAVED, %d)", + (int)user_gid); + goto bad; + } + state->gidlist = user_gid_list; + sudo_gidlist_addref(state->gidlist); + if (state->gidlist != ostate->gidlist) { + if (sudo_setgroups(state->gidlist->ngids, state->gidlist->gids)) { + errstr = "PERM_FULL_USER: setgroups"; + goto bad; + } + } + state->ruid = user_uid; + state->euid = user_uid; + state->suid = user_uid; + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_FULL_USER: uid: " + "[%d, %d, %d] -> [%d, %d, %d]", __func__, + (int)ostate->ruid, (int)ostate->euid, (int)ostate->suid, + (int)state->ruid, (int)state->euid, (int)state->suid); + if (UID_CHANGED && setuidx(ID_EFFECTIVE|ID_REAL|ID_SAVED, user_uid)) { + (void)snprintf(errbuf, sizeof(errbuf), + "PERM_FULL_USER: setuidx(ID_EFFECTIVE|ID_REAL|ID_SAVED, %d)", + (int)user_uid); + goto bad; + } + break; + + case PERM_RUNAS: + state->rgid = ostate->rgid; + state->egid = runas_gr ? runas_gr->gr_gid : runas_pw->pw_gid; + state->sgid = ostate->sgid; + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_RUNAS: gid: " + "[%d, %d, %d] -> [%d, %d, %d]", __func__, + (int)ostate->rgid, (int)ostate->egid, (int)ostate->sgid, + (int)state->rgid, (int)state->egid, (int)state->sgid); + if (GID_CHANGED && setgidx(ID_EFFECTIVE, state->egid)) { + errstr = N_("unable to change to runas gid"); + goto bad; + } + state->gidlist = runas_setgroups(); + if (state->gidlist == NULL) { + errstr = N_("unable to set runas group vector"); + goto bad; + } + state->ruid = ostate->ruid; + state->euid = runas_pw ? runas_pw->pw_uid : user_uid; + state->suid = ostate->suid; + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_RUNAS: uid: " + "[%d, %d, %d] -> [%d, %d, %d]", __func__, + (int)ostate->ruid, (int)ostate->euid, (int)ostate->suid, + (int)state->ruid, (int)state->euid, (int)state->suid); + if (UID_CHANGED && setuidx(ID_EFFECTIVE, state->euid)) { + errstr = N_("unable to change to runas uid"); + goto bad; + } + break; + + case PERM_SUDOERS: + state->gidlist = ostate->gidlist; + sudo_gidlist_addref(state->gidlist); + + /* assume euid == ROOT_UID, ruid == user */ + state->rgid = ostate->rgid; + state->egid = sudoers_gid; + state->sgid = ostate->sgid; + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_SUDOERS: gid: " + "[%d, %d, %d] -> [%d, %d, %d]", __func__, + (int)ostate->rgid, (int)ostate->egid, (int)ostate->sgid, + (int)state->rgid, (int)state->egid, (int)state->sgid); + if (GID_CHANGED && setgidx(ID_EFFECTIVE, sudoers_gid)) { + errstr = N_("unable to change to sudoers gid"); + goto bad; + } + + state->ruid = ROOT_UID; + /* + * If sudoers_uid == ROOT_UID and sudoers_mode is group readable + * we use a non-zero uid in order to avoid NFS lossage. + * Using uid 1 is a bit bogus but should work on all OS's. + */ + if (sudoers_uid == ROOT_UID && (sudoers_mode & S_IRGRP)) + state->euid = 1; + else + state->euid = sudoers_uid; + state->suid = ROOT_UID; + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_SUDOERS: uid: " + "[%d, %d, %d] -> [%d, %d, %d]", __func__, + (int)ostate->ruid, (int)ostate->euid, (int)ostate->suid, + (int)state->ruid, (int)state->euid, (int)state->suid); + if (UID_CHANGED) { + if (ostate->ruid != ROOT_UID || ostate->suid != ROOT_UID) { + if (setuidx(ID_EFFECTIVE|ID_REAL|ID_SAVED, ROOT_UID)) { + (void)snprintf(errbuf, sizeof(errbuf), + "PERM_SUDOERS: setuidx(ID_EFFECTIVE|ID_REAL|ID_SAVED, %d)", + ROOT_UID); + goto bad; + } + } + if (setuidx(ID_EFFECTIVE, state->euid)) { + (void)snprintf(errbuf, sizeof(errbuf), + "PERM_SUDOERS: setuidx(ID_EFFECTIVE, %d)", (int)sudoers_uid); + goto bad; + } + } + break; + + case PERM_TIMESTAMP: + state->gidlist = ostate->gidlist; + sudo_gidlist_addref(state->gidlist); + state->rgid = ostate->rgid; + state->egid = ostate->egid; + state->sgid = ostate->sgid; + state->ruid = ROOT_UID; + state->euid = timestamp_uid; + state->suid = ROOT_UID; + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_TIMESTAMP: uid: " + "[%d, %d, %d] -> [%d, %d, %d]", __func__, + (int)ostate->ruid, (int)ostate->euid, (int)ostate->suid, + (int)state->ruid, (int)state->euid, (int)state->suid); + if (UID_CHANGED) { + if (ostate->ruid != ROOT_UID || ostate->suid != ROOT_UID) { + if (setuidx(ID_EFFECTIVE|ID_REAL|ID_SAVED, ROOT_UID)) { + (void)snprintf(errbuf, sizeof(errbuf), + "PERM_TIMESTAMP: setuidx(ID_EFFECTIVE|ID_REAL|ID_SAVED, %d)", + ROOT_UID); + goto bad; + } + } + if (setuidx(ID_EFFECTIVE, timestamp_uid)) { + (void)snprintf(errbuf, sizeof(errbuf), + "PERM_TIMESTAMP: setuidx(ID_EFFECTIVE, %d)", + (int)timestamp_uid); + goto bad; + } + } + break; + } + + perm_stack_depth++; + debug_return_bool(true); +bad: + if (errno == EAGAIN) + sudo_warnx(U_("%s: %s"), U_(errstr), U_("too many processes")); + else + sudo_warn("%s", U_(errstr)); + debug_return_bool(false); +} + +bool +restore_perms(void) +{ + struct perm_state *state, *ostate; + debug_decl(restore_perms, SUDOERS_DEBUG_PERMS); + + if (perm_stack_depth < 2) { + sudo_warnx("%s", U_("perm stack underflow")); + debug_return_bool(true); + } + + state = &perm_stack[perm_stack_depth - 1]; + ostate = &perm_stack[perm_stack_depth - 2]; + perm_stack_depth--; + + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: uid: [%d, %d, %d] -> [%d, %d, %d]", + __func__, (int)state->ruid, (int)state->euid, (int)state->suid, + (int)ostate->ruid, (int)ostate->euid, (int)ostate->suid); + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: gid: [%d, %d, %d] -> [%d, %d, %d]", + __func__, (int)state->rgid, (int)state->egid, (int)state->sgid, + (int)ostate->rgid, (int)ostate->egid, (int)ostate->sgid); + + if (OID(ruid) != (uid_t)-1 || OID(euid) != (uid_t)-1 || OID(suid) != (uid_t)-1) { + if (OID(euid) == ROOT_UID) { + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: setuidx(ID_EFFECTIVE, %d)", + __func__, ROOT_UID); + if (setuidx(ID_EFFECTIVE, ROOT_UID)) { + sudo_warn("setuidx(ID_EFFECTIVE) [%d, %d, %d] -> [%d, %d, %d]", + (int)state->ruid, (int)state->euid, (int)state->suid, + -1, ROOT_UID, -1); + goto bad; + } + } + if (OID(ruid) == OID(euid) && OID(euid) == OID(suid)) { + sudo_debug_printf(SUDO_DEBUG_INFO, + "%s: setuidx(ID_EFFECTIVE|ID_REAL|ID_SAVED, %d)", + __func__, (int)OID(ruid)); + if (setuidx(ID_EFFECTIVE|ID_REAL|ID_SAVED, OID(ruid))) { + sudo_warn("setuidx(ID_EFFECTIVE|ID_REAL|ID_SAVED) [%d, %d, %d] -> [%d, %d, %d]", + (int)state->ruid, (int)state->euid, (int)state->suid, + (int)OID(ruid), (int)OID(euid), (int)OID(suid)); + goto bad; + } + } else if (OID(ruid) == (uid_t)-1 && OID(suid) == (uid_t)-1) { + /* May have already changed euid to ROOT_UID above. */ + if (OID(euid) != ROOT_UID) { + sudo_debug_printf(SUDO_DEBUG_INFO, + "%s: setuidx(ID_EFFECTIVE, %d)", __func__, OID(euid)); + if (setuidx(ID_EFFECTIVE, OID(euid))) { + sudo_warn("setuidx(ID_EFFECTIVE) [%d, %d, %d] -> [%d, %d, %d]", + (int)state->ruid, (int)state->euid, (int)state->suid, + (int)OID(ruid), (int)OID(euid), (int)OID(suid)); + goto bad; + } + } + } else if (OID(suid) == (uid_t)-1) { + /* Cannot set the real uid alone. */ + sudo_debug_printf(SUDO_DEBUG_INFO, + "%s: setuidx(ID_REAL|ID_EFFECTIVE, %d)", __func__, OID(ruid)); + if (setuidx(ID_REAL|ID_EFFECTIVE, OID(ruid))) { + sudo_warn("setuidx(ID_REAL|ID_EFFECTIVE) [%d, %d, %d] -> [%d, %d, %d]", + (int)state->ruid, (int)state->euid, (int)state->suid, + (int)OID(ruid), (int)OID(euid), (int)OID(suid)); + goto bad; + } + /* Restore the effective euid if it doesn't match the ruid. */ + if (OID(euid) != OID(ruid)) { + sudo_debug_printf(SUDO_DEBUG_INFO, + "%s: setuidx(ID_EFFECTIVE, %d)", __func__, ostate->euid); + if (setuidx(ID_EFFECTIVE, ostate->euid)) { + sudo_warn("setuidx(ID_EFFECTIVE, %d)", (int)ostate->euid); + goto bad; + } + } + } + } + if (OID(rgid) != (gid_t)-1 || OID(egid) != (gid_t)-1 || OID(sgid) != (gid_t)-1) { + if (OID(rgid) == OID(egid) && OID(egid) == OID(sgid)) { + sudo_debug_printf(SUDO_DEBUG_INFO, + "%s: setgidx(ID_EFFECTIVE|ID_REAL|ID_SAVED, %d)", + __func__, (int)OID(rgid)); + if (setgidx(ID_EFFECTIVE|ID_REAL|ID_SAVED, OID(rgid))) { + sudo_warn("setgidx(ID_EFFECTIVE|ID_REAL|ID_SAVED) [%d, %d, %d] -> [%d, %d, %d]", + (int)state->rgid, (int)state->egid, (int)state->sgid, + (int)OID(rgid), (int)OID(egid), (int)OID(sgid)); + goto bad; + } + } else if (OID(rgid) == (gid_t)-1 && OID(sgid) == (gid_t)-1) { + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: setgidx(ID_EFFECTIVE, %d)", + __func__, (int)OID(egid)); + if (setgidx(ID_EFFECTIVE, OID(egid))) { + sudo_warn("setgidx(ID_EFFECTIVE) [%d, %d, %d] -> [%d, %d, %d]", + (int)state->rgid, (int)state->egid, (int)state->sgid, + (int)OID(rgid), (int)OID(egid), (int)OID(sgid)); + goto bad; + } + } else if (OID(sgid) == (gid_t)-1) { + sudo_debug_printf(SUDO_DEBUG_INFO, + "%s: setgidx(ID_EFFECTIVE|ID_REAL, %d)", __func__, OID(rgid)); + if (setgidx(ID_REAL|ID_EFFECTIVE, OID(rgid))) { + sudo_warn("setgidx(ID_REAL|ID_EFFECTIVE) [%d, %d, %d] -> [%d, %d, %d]", + (int)state->rgid, (int)state->egid, (int)state->sgid, + (int)OID(rgid), (int)OID(egid), (int)OID(sgid)); + goto bad; + } + } + } + if (state->gidlist != ostate->gidlist) { + if (sudo_setgroups(ostate->gidlist->ngids, ostate->gidlist->gids)) { + sudo_warn("setgroups()"); + goto bad; + } + } + sudo_gidlist_delref(state->gidlist); + debug_return_bool(true); + +bad: + debug_return_bool(false); +} + +#elif defined(HAVE_SETREUID) + +#define UID_CHANGED (state->ruid != ostate->ruid || state->euid != ostate->euid) +#define GID_CHANGED (state->rgid != ostate->rgid || state->egid != ostate->egid) + +/* + * Set real and effective and saved uids and gids based on perm. + * We always retain a saved uid of 0 unless we are headed for an exec(). + * We only flip the effective gid since it only changes for PERM_SUDOERS. + * This version of set_perms() works fine with the "stay_setuid" option. + */ +bool +set_perms(int perm) +{ + struct perm_state *state, *ostate = NULL; + char errbuf[1024]; + const char *errstr = errbuf; + debug_decl(set_perms, SUDOERS_DEBUG_PERMS); + + if (perm_stack_depth == PERM_STACK_MAX) { + errstr = N_("perm stack overflow"); + errno = EINVAL; + goto bad; + } + + if (perm == PERM_INITIAL) { + if (perm_stack_depth > 1) + rewind_perms(); + perm_stack_depth = 0; + } else { + if (perm_stack_depth == 0) { + errstr = N_("perm stack underflow"); + errno = EINVAL; + goto bad; + } + ostate = &perm_stack[perm_stack_depth - 1]; + } + state = &perm_stack[perm_stack_depth]; + + switch (perm) { + case PERM_INITIAL: + /* Stash initial state */ + state->ruid = getuid(); + state->euid = geteuid(); + state->rgid = getgid(); + state->egid = getegid(); + state->gidlist = user_gid_list; + sudo_gidlist_addref(state->gidlist); + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_INITIAL: " + "ruid: %d, euid: %d, rgid: %d, egid: %d", __func__, + (int)state->ruid, (int)state->euid, + (int)state->rgid, (int)state->egid); + break; + + case PERM_ROOT: + state->ruid = ROOT_UID; + state->euid = ROOT_UID; + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_ROOT: uid: " + "[%d, %d] -> [%d, %d]", __func__, (int)ostate->ruid, + (int)ostate->euid, (int)state->ruid, (int)state->euid); + /* + * setreuid(0, 0) may fail on some systems if euid is not already 0. + */ + if (ostate->euid != ROOT_UID) { + if (setreuid(-1, ROOT_UID)) { + (void)snprintf(errbuf, sizeof(errbuf), + "PERM_ROOT: setreuid(-1, %d)", ROOT_UID); + goto bad; + } + } + if (ostate->ruid != ROOT_UID) { + if (setreuid(ROOT_UID, -1)) { + (void)snprintf(errbuf, sizeof(errbuf), + "PERM_ROOT: setreuid(%d, -1)", ROOT_UID); + goto bad; + } + } + state->rgid = ostate->rgid; + state->egid = ROOT_GID; + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_ROOT: gid: " + "[%d, %d] -> [%d, %d]", __func__, (int)ostate->rgid, + (int)ostate->egid, (int)state->rgid, (int)state->egid); + if (GID_CHANGED && setregid(ID(rgid), ID(egid))) { + (void)snprintf(errbuf, sizeof(errbuf), + "PERM_ROOT: setregid(%d, %d)", (int)ID(rgid), (int)ID(egid)); + goto bad; + } + state->gidlist = ostate->gidlist; + sudo_gidlist_addref(state->gidlist); + break; + + case PERM_USER: + state->rgid = ostate->rgid; + state->egid = user_gid; + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_USER: gid: " + "[%d, %d] -> [%d, %d]", __func__, (int)ostate->rgid, + (int)ostate->egid, (int)state->rgid, (int)state->egid); + if (GID_CHANGED && setregid(ID(rgid), ID(egid))) { + (void)snprintf(errbuf, sizeof(errbuf), + "PERM_USER: setregid(%d, %d)", (int)ID(rgid), (int)ID(egid)); + goto bad; + } + state->gidlist = user_gid_list; + sudo_gidlist_addref(state->gidlist); + if (state->gidlist != ostate->gidlist) { + if (sudo_setgroups(state->gidlist->ngids, state->gidlist->gids)) { + errstr = "PERM_USER: setgroups"; + goto bad; + } + } + state->ruid = ROOT_UID; + state->euid = user_uid; + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_USER: uid: " + "[%d, %d] -> [%d, %d]", __func__, (int)ostate->ruid, + (int)ostate->euid, (int)state->ruid, (int)state->euid); + if (UID_CHANGED && setreuid(ID(ruid), ID(euid))) { + (void)snprintf(errbuf, sizeof(errbuf), + "PERM_USER: setreuid(%d, %d)", (int)ID(ruid), (int)ID(euid)); + goto bad; + } + break; + + case PERM_FULL_USER: + /* headed for exec() */ + state->rgid = user_gid; + state->egid = user_gid; + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_FULL_USER: gid: " + "[%d, %d] -> [%d, %d]", __func__, (int)ostate->rgid, + (int)ostate->egid, (int)state->rgid, (int)state->egid); + if (GID_CHANGED && setregid(ID(rgid), ID(egid))) { + (void)snprintf(errbuf, sizeof(errbuf), + "PERM_FULL_USER: setregid(%d, %d)", + (int)ID(rgid), (int)ID(egid)); + goto bad; + } + state->gidlist = user_gid_list; + sudo_gidlist_addref(state->gidlist); + if (state->gidlist != ostate->gidlist) { + if (sudo_setgroups(state->gidlist->ngids, state->gidlist->gids)) { + errstr = "PERM_FULL_USER: setgroups"; + goto bad; + } + } + state->ruid = user_uid; + state->euid = user_uid; + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_FULL_USER: uid: " + "[%d, %d] -> [%d, %d]", __func__, (int)ostate->ruid, + (int)ostate->euid, (int)state->ruid, (int)state->euid); + if (UID_CHANGED && setreuid(ID(ruid), ID(euid))) { + (void)snprintf(errbuf, sizeof(errbuf), + "PERM_FULL_USER: setreuid(%d, %d)", + (int)ID(ruid), (int)ID(euid)); + goto bad; + } + break; + + case PERM_RUNAS: + state->rgid = ostate->rgid; + state->egid = runas_gr ? runas_gr->gr_gid : runas_pw->pw_gid; + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_RUNAS: gid: " + "[%d, %d] -> [%d, %d]", __func__, (int)ostate->rgid, + (int)ostate->egid, (int)state->rgid, (int)state->egid); + if (GID_CHANGED && setregid(ID(rgid), ID(egid))) { + errstr = N_("unable to change to runas gid"); + goto bad; + } + state->gidlist = runas_setgroups(); + if (state->gidlist == NULL) { + errstr = N_("unable to set runas group vector"); + goto bad; + } + state->ruid = ROOT_UID; + state->euid = runas_pw ? runas_pw->pw_uid : user_uid; + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_RUNAS: uid: " + "[%d, %d] -> [%d, %d]", __func__, (int)ostate->ruid, + (int)ostate->euid, (int)state->ruid, (int)state->euid); + if (UID_CHANGED && setreuid(ID(ruid), ID(euid))) { + errstr = N_("unable to change to runas uid"); + goto bad; + } + break; + + case PERM_SUDOERS: + state->gidlist = ostate->gidlist; + sudo_gidlist_addref(state->gidlist); + + /* assume euid == ROOT_UID, ruid == user */ + state->rgid = ostate->rgid; + state->egid = sudoers_gid; + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_SUDOERS: gid: " + "[%d, %d] -> [%d, %d]", __func__, (int)ostate->rgid, + (int)ostate->egid, (int)state->rgid, (int)state->egid); + if (GID_CHANGED && setregid(ID(rgid), ID(egid))) { + errstr = N_("unable to change to sudoers gid"); + goto bad; + } + + state->ruid = ROOT_UID; + /* + * If sudoers_uid == ROOT_UID and sudoers_mode is group readable + * we use a non-zero uid in order to avoid NFS lossage. + * Using uid 1 is a bit bogus but should work on all OS's. + */ + if (sudoers_uid == ROOT_UID && (sudoers_mode & S_IRGRP)) + state->euid = 1; + else + state->euid = sudoers_uid; + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_SUDOERS: uid: " + "[%d, %d] -> [%d, %d]", __func__, (int)ostate->ruid, + (int)ostate->euid, (int)state->ruid, (int)state->euid); + if (UID_CHANGED && setreuid(ID(ruid), ID(euid))) { + (void)snprintf(errbuf, sizeof(errbuf), + "PERM_SUDOERS: setreuid(%d, %d)", + (int)ID(ruid), (int)ID(euid)); + goto bad; + } + break; + + case PERM_TIMESTAMP: + state->gidlist = ostate->gidlist; + sudo_gidlist_addref(state->gidlist); + state->rgid = ostate->rgid; + state->egid = ostate->egid; + state->ruid = ROOT_UID; + state->euid = timestamp_uid; + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_TIMESTAMP: uid: " + "[%d, %d] -> [%d, %d]", __func__, (int)ostate->ruid, + (int)ostate->euid, (int)state->ruid, (int)state->euid); + if (UID_CHANGED && setreuid(ID(ruid), ID(euid))) { + (void)snprintf(errbuf, sizeof(errbuf), + "PERM_TIMESTAMP: setreuid(%d, %d)", + (int)ID(ruid), (int)ID(euid)); + goto bad; + } + break; + } + + perm_stack_depth++; + debug_return_bool(true); +bad: + if (errno == EAGAIN) + sudo_warnx(U_("%s: %s"), U_(errstr), U_("too many processes")); + else + sudo_warn("%s", U_(errstr)); + debug_return_bool(false); +} + +bool +restore_perms(void) +{ + struct perm_state *state, *ostate; + debug_decl(restore_perms, SUDOERS_DEBUG_PERMS); + + if (perm_stack_depth < 2) { + sudo_warnx("%s", U_("perm stack underflow")); + debug_return_bool(true); + } + + state = &perm_stack[perm_stack_depth - 1]; + ostate = &perm_stack[perm_stack_depth - 2]; + perm_stack_depth--; + + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: uid: [%d, %d] -> [%d, %d]", + __func__, (int)state->ruid, (int)state->euid, + (int)ostate->ruid, (int)ostate->euid); + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: gid: [%d, %d] -> [%d, %d]", + __func__, (int)state->rgid, (int)state->egid, + (int)ostate->rgid, (int)ostate->egid); + + /* + * When changing euid to ROOT_UID, setreuid() may fail even if + * the ruid is ROOT_UID so call setuid() first. + */ + if (OID(euid) == ROOT_UID) { + /* setuid() may not set the saved ID unless the euid is ROOT_UID */ + if (ID(euid) != ROOT_UID) { + if (setreuid(-1, ROOT_UID) != 0) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_ERRNO, + "setreuid() [%d, %d] -> [-1, %d)", (int)state->ruid, + (int)state->euid, ROOT_UID); + } + } + if (setuid(ROOT_UID)) { + sudo_warn("setuid() [%d, %d] -> %d)", (int)state->ruid, + (int)state->euid, ROOT_UID); + goto bad; + } + } + if (setreuid(OID(ruid), OID(euid))) { + sudo_warn("setreuid() [%d, %d] -> [%d, %d]", (int)state->ruid, + (int)state->euid, (int)OID(ruid), (int)OID(euid)); + goto bad; + } + if (setregid(OID(rgid), OID(egid))) { + sudo_warn("setregid() [%d, %d] -> [%d, %d]", (int)state->rgid, + (int)state->egid, (int)OID(rgid), (int)OID(egid)); + goto bad; + } + if (state->gidlist != ostate->gidlist) { + if (sudo_setgroups(ostate->gidlist->ngids, ostate->gidlist->gids)) { + sudo_warn("setgroups()"); + goto bad; + } + } + sudo_gidlist_delref(state->gidlist); + debug_return_bool(true); + +bad: + debug_return_bool(false); +} + +#elif defined(HAVE_SETEUID) + +#define GID_CHANGED (state->rgid != ostate->rgid || state->egid != ostate->egid) + +/* + * Set real and effective uids and gids based on perm. + * We always retain a real or effective uid of ROOT_UID unless + * we are headed for an exec(). + * This version of set_perms() works fine with the "stay_setuid" option. + */ +bool +set_perms(int perm) +{ + struct perm_state *state, *ostate = NULL; + char errbuf[1024]; + const char *errstr = errbuf; + debug_decl(set_perms, SUDOERS_DEBUG_PERMS); + + if (perm_stack_depth == PERM_STACK_MAX) { + errstr = N_("perm stack overflow"); + errno = EINVAL; + goto bad; + } + + if (perm == PERM_INITIAL) { + if (perm_stack_depth > 1) + rewind_perms(); + perm_stack_depth = 0; + } else { + if (perm_stack_depth == 0) { + errstr = N_("perm stack underflow"); + errno = EINVAL; + goto bad; + } + ostate = &perm_stack[perm_stack_depth - 1]; + } + state = &perm_stack[perm_stack_depth]; + + /* + * Since we only have setuid() and seteuid() and semantics + * for these calls differ on various systems, we set + * real and effective uids to ROOT_UID initially to be safe. + */ + if (perm != PERM_INITIAL) { + if (ostate->euid != ROOT_UID && seteuid(ROOT_UID)) { + (void)snprintf(errbuf, sizeof(errbuf), + "set_perms: seteuid(%d)", ROOT_UID); + goto bad; + } + if (ostate->ruid != ROOT_UID && setuid(ROOT_UID)) { + (void)snprintf(errbuf, sizeof(errbuf), + "set_perms: setuid(%d)", ROOT_UID); + goto bad; + } + } + + switch (perm) { + case PERM_INITIAL: + /* Stash initial state */ + state->ruid = getuid(); + state->euid = geteuid(); + state->rgid = getgid(); + state->egid = getegid(); + state->gidlist = user_gid_list; + sudo_gidlist_addref(state->gidlist); + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_INITIAL: " + "ruid: %d, euid: %d, rgid: %d, egid: %d", __func__, + (int)state->ruid, (int)state->euid, + (int)state->rgid, (int)state->egid); + break; + + case PERM_ROOT: + /* We already set ruid/euid above. */ + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_ROOT: uid: " + "[%d, %d] -> [%d, %d]", __func__, (int)ostate->ruid, + (int)ostate->euid, ROOT_UID, ROOT_UID); + state->ruid = ROOT_UID; + state->euid = ROOT_UID; + state->rgid = ostate->rgid; + state->egid = ROOT_GID; + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_ROOT: gid: " + "[%d, %d] -> [%d, %d]", __func__, (int)ostate->rgid, + (int)ostate->egid, ROOT_GID, ROOT_GID); + if (GID_CHANGED && setegid(ROOT_GID)) { + errstr = N_("unable to change to root gid"); + goto bad; + } + state->gidlist = ostate->gidlist; + sudo_gidlist_addref(state->gidlist); + break; + + case PERM_USER: + state->egid = user_gid; + state->rgid = ostate->rgid; + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_USER: gid: " + "[%d, %d] -> [%d, %d]", __func__, (int)ostate->rgid, + (int)ostate->egid, (int)state->rgid, (int)state->egid); + if (GID_CHANGED && setegid(user_gid)) { + (void)snprintf(errbuf, sizeof(errbuf), + "PERM_USER: setegid(%d)", (int)user_gid); + goto bad; + } + state->gidlist = user_gid_list; + sudo_gidlist_addref(state->gidlist); + if (state->gidlist != ostate->gidlist) { + if (sudo_setgroups(state->gidlist->ngids, state->gidlist->gids)) { + errstr = "PERM_USER: setgroups"; + goto bad; + } + } + state->ruid = ROOT_UID; + state->euid = user_uid; + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_USER: uid: " + "[%d, %d] -> [%d, %d]", __func__, (int)ostate->ruid, + (int)ostate->euid, (int)state->ruid, (int)state->euid); + if (seteuid(user_uid)) { + (void)snprintf(errbuf, sizeof(errbuf), + "PERM_USER: seteuid(%d)", (int)user_uid); + goto bad; + } + break; + + case PERM_FULL_USER: + /* headed for exec() */ + state->rgid = user_gid; + state->egid = user_gid; + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_FULL_USER: gid: " + "[%d, %d] -> [%d, %d]", __func__, (int)ostate->rgid, + (int)ostate->egid, (int)state->rgid, (int)state->egid); + if (GID_CHANGED && setgid(user_gid)) { + (void)snprintf(errbuf, sizeof(errbuf), + "PERM_FULL_USER: setgid(%d)", (int)user_gid); + goto bad; + } + state->gidlist = user_gid_list; + sudo_gidlist_addref(state->gidlist); + if (state->gidlist != ostate->gidlist) { + if (sudo_setgroups(state->gidlist->ngids, state->gidlist->gids)) { + errstr = "PERM_FULL_USER: setgroups"; + goto bad; + } + } + state->ruid = user_uid; + state->euid = user_uid; + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_FULL_USER: uid: " + "[%d, %d] -> [%d, %d]", __func__, (int)ostate->ruid, + (int)ostate->euid, (int)state->ruid, (int)state->euid); + if (setuid(user_uid)) { + (void)snprintf(errbuf, sizeof(errbuf), + "PERM_FULL_USER: setuid(%d)", (int)user_uid); + goto bad; + } + break; + + case PERM_RUNAS: + state->rgid = ostate->rgid; + state->egid = runas_gr ? runas_gr->gr_gid : runas_pw->pw_gid; + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_RUNAS: gid: " + "[%d, %d] -> [%d, %d]", __func__, (int)ostate->rgid, + (int)ostate->egid, (int)state->rgid, (int)state->egid); + if (GID_CHANGED && setegid(state->egid)) { + errstr = N_("unable to change to runas gid"); + goto bad; + } + state->gidlist = runas_setgroups(); + if (state->gidlist == NULL) { + errstr = N_("unable to set runas group vector"); + goto bad; + } + state->ruid = ostate->ruid; + state->euid = runas_pw ? runas_pw->pw_uid : user_uid; + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_RUNAS: uid: " + "[%d, %d] -> [%d, %d]", __func__, (int)ostate->ruid, + (int)ostate->euid, (int)state->ruid, (int)state->euid); + if (seteuid(state->euid)) { + errstr = N_("unable to change to runas uid"); + goto bad; + } + break; + + case PERM_SUDOERS: + state->gidlist = ostate->gidlist; + sudo_gidlist_addref(state->gidlist); + + /* assume euid == ROOT_UID, ruid == user */ + state->rgid = ostate->rgid; + state->egid = sudoers_gid; + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_SUDOERS: gid: " + "[%d, %d] -> [%d, %d]", __func__, (int)ostate->rgid, + (int)ostate->egid, (int)state->rgid, (int)state->egid); + if (GID_CHANGED && setegid(sudoers_gid)) { + errstr = N_("unable to change to sudoers gid"); + goto bad; + } + + state->ruid = ROOT_UID; + /* + * If sudoers_uid == ROOT_UID and sudoers_mode is group readable + * we use a non-zero uid in order to avoid NFS lossage. + * Using uid 1 is a bit bogus but should work on all OS's. + */ + if (sudoers_uid == ROOT_UID && (sudoers_mode & S_IRGRP)) + state->euid = 1; + else + state->euid = sudoers_uid; + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_SUDOERS: uid: " + "[%d, %d] -> [%d, %d]", __func__, (int)ostate->ruid, + (int)ostate->euid, (int)state->ruid, (int)state->euid); + if (seteuid(state->euid)) { + (void)snprintf(errbuf, sizeof(errbuf), + "PERM_SUDOERS: seteuid(%d)", (int)state->euid); + goto bad; + } + break; + + case PERM_TIMESTAMP: + state->gidlist = ostate->gidlist; + sudo_gidlist_addref(state->gidlist); + state->rgid = ostate->rgid; + state->egid = ostate->egid; + state->ruid = ROOT_UID; + state->euid = timestamp_uid; + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_TIMESTAMP: uid: " + "[%d, %d] -> [%d, %d]", __func__, (int)ostate->ruid, + (int)ostate->euid, (int)state->ruid, (int)state->euid); + if (seteuid(timestamp_uid)) { + (void)snprintf(errbuf, sizeof(errbuf), + "PERM_TIMESTAMP: seteuid(%d)", (int)timestamp_uid); + goto bad; + } + break; + } + + perm_stack_depth++; + debug_return_bool(true); +bad: + if (errno == EAGAIN) + sudo_warnx(U_("%s: %s"), U_(errstr), U_("too many processes")); + else + sudo_warn("%s", U_(errstr)); + debug_return_bool(false); +} + +bool +restore_perms(void) +{ + struct perm_state *state, *ostate; + debug_decl(restore_perms, SUDOERS_DEBUG_PERMS); + + if (perm_stack_depth < 2) { + sudo_warnx("%s", U_("perm stack underflow")); + debug_return_bool(true); + } + + state = &perm_stack[perm_stack_depth - 1]; + ostate = &perm_stack[perm_stack_depth - 2]; + perm_stack_depth--; + + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: uid: [%d, %d] -> [%d, %d]", + __func__, (int)state->ruid, (int)state->euid, + (int)ostate->ruid, (int)ostate->euid); + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: gid: [%d, %d] -> [%d, %d]", + __func__, (int)state->rgid, (int)state->egid, + (int)ostate->rgid, (int)ostate->egid); + + /* + * Since we only have setuid() and seteuid() and semantics + * for these calls differ on various systems, we set + * real and effective uids to ROOT_UID initially to be safe. + */ + if (seteuid(ROOT_UID)) { + sudo_warn("seteuid() [%d] -> [%d]", (int)state->euid, ROOT_UID); + goto bad; + } + if (setuid(ROOT_UID)) { + sudo_warn("setuid() [%d, %d] -> [%d, %d]", (int)state->ruid, ROOT_UID, + ROOT_UID, ROOT_UID); + goto bad; + } + + if (OID(egid) != (gid_t)-1 && setegid(ostate->egid)) { + sudo_warn("setegid(%d)", (int)ostate->egid); + goto bad; + } + if (state->gidlist != ostate->gidlist) { + if (sudo_setgroups(ostate->gidlist->ngids, ostate->gidlist->gids)) { + sudo_warn("setgroups()"); + goto bad; + } + } + if (OID(euid) != (uid_t)-1 && seteuid(ostate->euid)) { + sudo_warn("seteuid(%d)", (int)ostate->euid); + goto bad; + } + sudo_gidlist_delref(state->gidlist); + debug_return_bool(true); + +bad: + debug_return_bool(false); +} + +#else /* !HAVE_SETRESUID && !HAVE_SETREUID && !HAVE_SETEUID */ + +/* + * Set uids and gids based on perm via setuid() and setgid(). + * NOTE: does not support the "stay_setuid" or timestampowner options. + * Also, sudoers_uid and sudoers_gid are not used. + */ +bool +set_perms(int perm) +{ + struct perm_state *state, *ostate = NULL; + char errbuf[1024]; + const char *errstr = errbuf; + debug_decl(set_perms, SUDOERS_DEBUG_PERMS); + + if (perm_stack_depth == PERM_STACK_MAX) { + errstr = N_("perm stack overflow"); + errno = EINVAL; + goto bad; + } + + if (perm == PERM_INITIAL) { + if (perm_stack_depth > 1) + rewind_perms(); + perm_stack_depth = 0; + } else { + if (perm_stack_depth == 0) { + errstr = N_("perm stack underflow"); + errno = EINVAL; + goto bad; + } + ostate = &perm_stack[perm_stack_depth - 1]; + } + state = &perm_stack[perm_stack_depth]; + + switch (perm) { + case PERM_INITIAL: + /* Stash initial state */ + state->ruid = geteuid() == ROOT_UID ? ROOT_UID : getuid(); + state->rgid = getgid(); + state->gidlist = user_gid_list; + sudo_gidlist_addref(state->gidlist); + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_INITIAL: " + "ruid: %d, rgid: %d", __func__, (int)state->ruid, (int)state->rgid); + break; + + case PERM_ROOT: + state->ruid = ROOT_UID; + state->rgid = ROOT_GID; + state->gidlist = ostate->gidlist; + sudo_gidlist_addref(state->gidlist); + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_ROOT: uid: " + "[%d] -> [%d]", __func__, (int)ostate->ruid, (int)state->ruid); + if (setuid(ROOT_UID)) { + (void)snprintf(errbuf, sizeof(errbuf), + "PERM_ROOT: setuid(%d)", ROOT_UID); + goto bad; + } + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_ROOT: gid: " + "[%d] -> [%d]", __func__, (int)ostate->rgid, (int)state->rgid); + if (setgid(ROOT_GID)) { + errstr = N_("unable to change to root gid"); + goto bad; + } + break; + + case PERM_FULL_USER: + state->rgid = user_gid; + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_FULL_USER: gid: " + "[%d] -> [%d]", __func__, (int)ostate->rgid, (int)state->rgid); + (void) setgid(user_gid); + state->gidlist = user_gid_list; + sudo_gidlist_addref(state->gidlist); + if (state->gidlist != ostate->gidlist) { + if (sudo_setgroups(state->gidlist->ngids, state->gidlist->gids)) { + errstr = "PERM_FULL_USER: setgroups"; + goto bad; + } + } + state->ruid = user_uid; + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: PERM_FULL_USER: uid: " + "[%d] -> [%d]", __func__, (int)ostate->ruid, (int)state->ruid); + if (setuid(user_uid)) { + (void)snprintf(errbuf, sizeof(errbuf), + "PERM_FULL_USER: setuid(%d)", (int)user_uid); + goto bad; + } + break; + + case PERM_USER: + case PERM_SUDOERS: + case PERM_RUNAS: + case PERM_TIMESTAMP: + /* Unsupported since we can't set euid. */ + state->ruid = ostate->ruid; + state->rgid = ostate->rgid; + state->gidlist = ostate->gidlist; + sudo_gidlist_addref(state->gidlist); + break; + } + + perm_stack_depth++; + debug_return_bool(true); +bad: + if (errno == EAGAIN) + sudo_warnx(U_("%s: %s"), U_(errstr), U_("too many processes")); + else + sudo_warn("%s", U_(errstr)); + debug_return_bool(false); +} + +bool +restore_perms(void) +{ + struct perm_state *state, *ostate; + debug_decl(restore_perms, SUDOERS_DEBUG_PERMS); + + if (perm_stack_depth < 2) { + sudo_warnx("%s", U_("perm stack underflow")); + debug_return_bool(true); + } + + state = &perm_stack[perm_stack_depth - 1]; + ostate = &perm_stack[perm_stack_depth - 2]; + perm_stack_depth--; + + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: uid: [%d] -> [%d]", + __func__, (int)state->ruid, (int)ostate->ruid); + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: gid: [%d] -> [%d]", + __func__, (int)state->rgid, (int)ostate->rgid); + + if (OID(rgid) != (gid_t)-1 && setgid(ostate->rgid)) { + sudo_warn("setgid(%d)", (int)ostate->rgid); + goto bad; + } + if (state->gidlist != ostate->gidlist) { + if (sudo_setgroups(ostate->gidlist->ngids, ostate->gidlist->gids)) { + sudo_warn("setgroups()"); + goto bad; + } + } + sudo_gidlist_delref(state->gidlist); + if (OID(ruid) != (uid_t)-1 && setuid(ostate->ruid)) { + sudo_warn("setuid(%d)", (int)ostate->ruid); + goto bad; + } + debug_return_bool(true); + +bad: + debug_return_bool(false); +} +#endif /* HAVE_SETRESUID || HAVE_SETREUID || HAVE_SETEUID */ + +#if defined(HAVE_SETRESUID) || defined(HAVE_SETREUID) || defined(HAVE_SETEUID) +static struct gid_list * +runas_setgroups(void) +{ + struct gid_list *gidlist; + debug_decl(runas_setgroups, SUDOERS_DEBUG_PERMS); + + gidlist = runas_getgroups(); + if (gidlist != NULL && !def_preserve_groups) { + if (sudo_setgroups(gidlist->ngids, gidlist->gids) < 0) { + sudo_gidlist_delref(gidlist); + gidlist = NULL; + } + } + debug_return_ptr(gidlist); +} +#endif /* HAVE_SETRESUID || HAVE_SETREUID || HAVE_SETEUID */ diff --git a/plugins/sudoers/solaris_audit.c b/plugins/sudoers/solaris_audit.c new file mode 100644 index 0000000..1d5786c --- /dev/null +++ b/plugins/sudoers/solaris_audit.c @@ -0,0 +1,139 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2014, Oracle and/or its affiliates. + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#ifdef HAVE_SOLARIS_AUDIT + +#include +#include +#include +#include +#include +#include + +#include +#include + +#include "sudoers.h" +#include "solaris_audit.h" + +static adt_session_data_t *ah; /* audit session handle */ +static adt_event_data_t *event; /* event to be generated */ +static char cwd[PATH_MAX]; +static char cmdpath[PATH_MAX]; + +static int +adt_sudo_common(char *const argv[]) +{ + int argc; + + if (adt_start_session(&ah, NULL, ADT_USE_PROC_DATA) != 0) { + log_warning(SLOG_NO_STDERR, "adt_start_session"); + return -1; + } + if ((event = adt_alloc_event(ah, ADT_sudo)) == NULL) { + log_warning(SLOG_NO_STDERR, "alloc_event"); + (void) adt_end_session(ah); + return -1; + } + if ((event->adt_sudo.cwdpath = getcwd(cwd, sizeof(cwd))) == NULL) { + log_warning(SLOG_NO_STDERR, _("unable to get current working directory")); + } + + /* get the real executable name */ + if (user_cmnd != NULL) { + if (strlcpy(cmdpath, (const char *)user_cmnd, + sizeof(cmdpath)) >= sizeof(cmdpath)) { + log_warningx(SLOG_NO_STDERR, + _("truncated audit path user_cmnd: %s"), + user_cmnd); + } + } else { + if (strlcpy(cmdpath, argv[0], + sizeof(cmdpath)) >= sizeof(cmdpath)) { + log_warningx(SLOG_NO_STDERR, + _("truncated audit path argv[0]: %s"), + argv[0]); + } + } + + for (argc = 0; argv[argc] != NULL; argc++) + continue; + + event->adt_sudo.cmdpath = cmdpath; + event->adt_sudo.argc = argc - 1; + event->adt_sudo.argv = (char **)&argv[1]; + event->adt_sudo.envp = env_get(); + + return 0; +} + + +/* + * Returns 0 on success or -1 on error. + */ +int +solaris_audit_success(char *const argv[]) +{ + int rc = -1; + + if (adt_sudo_common(argv) != 0) { + return -1; + } + if (adt_put_event(event, ADT_SUCCESS, ADT_SUCCESS) != 0) { + log_warning(SLOG_NO_STDERR, "adt_put_event(ADT_SUCCESS)"); + } else { + rc = 0; + } + adt_free_event(event); + (void) adt_end_session(ah); + + return rc; +} + +/* + * Returns 0 on success or -1 on error. + */ +int +solaris_audit_failure(char *const argv[], const char *errmsg) +{ + int rc = -1; + + if (adt_sudo_common(argv) != 0) { + return -1; + } + + event->adt_sudo.errmsg = (char *)errmsg; + if (adt_put_event(event, ADT_FAILURE, ADT_FAIL_VALUE_PROGRAM) != 0) { + log_warning(SLOG_NO_STDERR, "adt_put_event(ADT_FAILURE)"); + } else { + rc = 0; + } + adt_free_event(event); + (void) adt_end_session(ah); + + return rc; +} + +#endif /* HAVE_SOLARIS_AUDIT */ diff --git a/plugins/sudoers/solaris_audit.h b/plugins/sudoers/solaris_audit.h new file mode 100644 index 0000000..c323f99 --- /dev/null +++ b/plugins/sudoers/solaris_audit.h @@ -0,0 +1,25 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2014, Oracle and/or its affiliates. + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#ifndef SUDOERS_SOLARIS_AUDIT_H +#define SUDOERS_SOLARIS_AUDIT_H + +int solaris_audit_success(char *const argv[]); +int solaris_audit_failure(char *const argv[], const char *errmsg); + +#endif /* SUDOERS_SOLARIS_AUDIT_H */ diff --git a/plugins/sudoers/sssd.c b/plugins/sudoers/sssd.c new file mode 100644 index 0000000..d4c70b9 --- /dev/null +++ b/plugins/sudoers/sssd.c @@ -0,0 +1,813 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2003-2022 Todd C. Miller + * Copyright (c) 2011 Daniel Kopecek + * + * This code is derived from software contributed by Aaron Spangler. + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#ifdef HAVE_SSSD + +#include +#include +#include +#include +#ifdef HAVE_STRINGS_H +# include +#endif /* HAVE_STRINGS_H */ +#include +#include +#include + +#include "sudoers.h" +#include "sudo_lbuf.h" +#include "sudo_ldap.h" +#include "sudo_dso.h" + +/* SSSD <--> SUDO interface - do not change */ +struct sss_sudo_attr { + char *name; + char **values; + unsigned int num_values; +}; + +struct sss_sudo_rule { + unsigned int num_attrs; + struct sss_sudo_attr *attrs; +}; + +struct sss_sudo_result { + unsigned int num_rules; + struct sss_sudo_rule *rules; +}; + +typedef int (*sss_sudo_send_recv_t)(uid_t, const char*, const char*, + uint32_t*, struct sss_sudo_result**); + +typedef int (*sss_sudo_send_recv_defaults_t)(uid_t, const char*, uint32_t*, + char**, struct sss_sudo_result**); + +typedef void (*sss_sudo_free_result_t)(struct sss_sudo_result*); + +typedef int (*sss_sudo_get_values_t)(struct sss_sudo_rule*, const char*, + char***); + +typedef void (*sss_sudo_free_values_t)(char**); + +/* sudo_nss handle */ +struct sudo_sss_handle { + char *domainname; + char *ipa_host; + char *ipa_shost; + struct passwd *pw; + void *ssslib; + struct sudoers_parse_tree parse_tree; + sss_sudo_send_recv_t fn_send_recv; + sss_sudo_send_recv_defaults_t fn_send_recv_defaults; + sss_sudo_free_result_t fn_free_result; + sss_sudo_get_values_t fn_get_values; + sss_sudo_free_values_t fn_free_values; +}; + +static int +get_ipa_hostname(char **shostp, char **lhostp) +{ + size_t linesize = 0; + char *lhost = NULL; + char *shost = NULL; + char *line = NULL; + int ret = false; + ssize_t len; + FILE *fp; + debug_decl(get_ipa_hostname, SUDOERS_DEBUG_SSSD); + + fp = fopen(_PATH_SSSD_CONF, "r"); + if (fp != NULL) { + while ((len = getdelim(&line, &linesize, '\n', fp)) != -1) { + char *cp = line; + + /* Trim trailing and leading spaces. */ + while (len > 0 && isspace((unsigned char)line[len - 1])) + line[--len] = '\0'; + while (isspace((unsigned char)*cp)) + cp++; + + /* + * Match ipa_hostname = foo + * Note: currently ignores the domain (XXX) + */ + if (strncmp(cp, "ipa_hostname", 12) == 0) { + cp += 12; + /* Trim " = " after "ipa_hostname" */ + while (isblank((unsigned char)*cp)) + cp++; + if (*cp++ != '=') + continue; + while (isblank((unsigned char)*cp)) + cp++; + /* Ignore empty value */ + if (*cp == '\0') + continue; + lhost = strdup(cp); + if (lhost != NULL && (cp = strchr(lhost, '.')) != NULL) { + shost = strndup(lhost, (size_t)(cp - lhost)); + } else { + shost = lhost; + } + if (shost != NULL && lhost != NULL) { + sudo_debug_printf(SUDO_DEBUG_INFO, + "ipa_hostname %s overrides %s", lhost, user_host); + *shostp = shost; + *lhostp = lhost; + ret = true; + } else { + sudo_warnx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + free(shost); + free(lhost); + ret = -1; + } + break; + } + } + fclose(fp); + free(line); + } + debug_return_int(ret); +} + +/* + * SSSD doesn't handle netgroups, we have to ensure they are correctly filtered + * in sudo. The rules may contain mixed sudoUser specification so we have to + * check not only for netgroup membership but also for user and group matches. + * Otherwise, a netgroup non-match could override a user/group match. + */ +static bool +sudo_sss_check_user(struct sudo_sss_handle *handle, struct sss_sudo_rule *rule) +{ + const char *host = handle->ipa_host ? handle->ipa_host : user_runhost; + const char *shost = handle->ipa_shost ? handle->ipa_shost : user_srunhost; + char **val_array; + int i, rc, ret = false; + debug_decl(sudo_sss_check_user, SUDOERS_DEBUG_SSSD); + + if (rule == NULL) + debug_return_bool(false); + + rc = handle->fn_get_values(rule, "sudoUser", &val_array); + switch (rc) { + case 0: + break; + case ENOENT: + sudo_debug_printf(SUDO_DEBUG_INFO, "No result."); + debug_return_bool(false); + case ENOMEM: + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + FALLTHROUGH; + default: + sudo_debug_printf(SUDO_DEBUG_ERROR, + "handle->fn_get_values(sudoOption): rc=%d", rc); + debug_return_bool(false); + } + + /* Walk through sudoUser values. */ + for (i = 0; val_array[i] != NULL && !ret; ++i) { + const char *val = val_array[i]; + bool negated = false; + + sudo_debug_printf(SUDO_DEBUG_DEBUG, "val[%d]=%s", i, val); + if (*val == '!') { + val++; + negated = true; + } + switch (*val) { + case '+': + /* Netgroup spec found, check membership. */ + if (netgr_matches(val, def_netgroup_tuple ? host : NULL, + def_netgroup_tuple ? shost : NULL, handle->pw->pw_name)) { + ret = true; + } + break; + case '%': + /* User group found, check membership. */ + if (usergr_matches(val, handle->pw->pw_name, handle->pw)) { + ret = true; + } + break; + default: + /* Not a netgroup or user group. */ + if (strcmp(val, "ALL") == 0 || + userpw_matches(val, handle->pw->pw_name, handle->pw)) { + ret = true; + } + break; + } + sudo_debug_printf(SUDO_DEBUG_DIAG, + "sssd/ldap sudoUser '%s%s' ... %s (%s)", negated ? "!" : "", + val, ret ? "MATCH!" : "not", handle->pw->pw_name); + + /* A negated match overrides all other entries. */ + if (ret && negated) { + ret = false; + break; + } + } + handle->fn_free_values(val_array); + debug_return_bool(ret); +} + +static char * +val_array_iter(void **vp) +{ + char **val_array = *vp; + + *vp = val_array + 1; + + return *val_array; +} + +/* + * Wrapper for sudo_ldap_role_to_priv() that takes an sss rule.. + * Returns a struct privilege on success or NULL on failure. + */ +static struct privilege * +sss_rule_to_priv(struct sudo_sss_handle *handle, struct sss_sudo_rule *rule, + int *rc_out) +{ + char **cmnds = NULL, **runasusers = NULL, **runasgroups = NULL; + char **opts = NULL, **notbefore = NULL, **notafter = NULL; + char **hosts = NULL, **cn_array = NULL, *cn = NULL; + struct privilege *priv = NULL; + int rc; + debug_decl(sss_rule_to_priv, SUDOERS_DEBUG_SSSD); + + /* Ignore sudoRole without sudoCommand or sudoHost. */ + rc = handle->fn_get_values(rule, "sudoCommand", &cmnds); + if (rc != 0) + goto cleanup; + rc = handle->fn_get_values(rule, "sudoHost", &hosts); + if (rc != 0) + goto cleanup; + + /* Get the entry's dn for long format printing. */ + rc = handle->fn_get_values(rule, "cn", &cn_array); + if (rc != 0) + goto cleanup; + cn = cn_array[0]; + + /* Get sudoRunAsUser / sudoRunAs */ + rc = handle->fn_get_values(rule, "sudoRunAsUser", &runasusers); + switch (rc) { + case 0: + break; + case ENOENT: + rc = handle->fn_get_values(rule, "sudoRunAs", &runasusers); + switch (rc) { + case 0: + case ENOENT: + break; + default: + goto cleanup; + } + break; + default: + goto cleanup; + } + + /* Get sudoRunAsGroup */ + rc = handle->fn_get_values(rule, "sudoRunAsGroup", &runasgroups); + switch (rc) { + case 0: + case ENOENT: + break; + default: + goto cleanup; + } + + /* Get sudoNotBefore */ + rc = handle->fn_get_values(rule, "sudoNotBefore", ¬before); + switch (rc) { + case 0: + case ENOENT: + break; + default: + goto cleanup; + } + + /* Get sudoNotAfter */ + rc = handle->fn_get_values(rule, "sudoNotAfter", ¬after); + switch (rc) { + case 0: + case ENOENT: + break; + default: + goto cleanup; + } + + /* Parse sudoOptions. */ + rc = handle->fn_get_values(rule, "sudoOption", &opts); + switch (rc) { + case 0: + case ENOENT: + break; + default: + goto cleanup; + } + + priv = sudo_ldap_role_to_priv(cn, hosts, runasusers, runasgroups, + cmnds, opts, notbefore ? notbefore[0] : NULL, + notafter ? notafter[0] : NULL, false, true, val_array_iter); + if (priv == NULL) { + rc = ENOMEM; + goto cleanup; + } + rc = 0; + +cleanup: + handle->fn_free_values(cn_array); + handle->fn_free_values(cmnds); + handle->fn_free_values(hosts); + handle->fn_free_values(runasusers); + handle->fn_free_values(runasgroups); + handle->fn_free_values(opts); + handle->fn_free_values(notbefore); + handle->fn_free_values(notafter); + + *rc_out = rc; + + debug_return_ptr(priv); +} + +static bool +sss_to_sudoers(struct sudo_sss_handle *handle, + struct sss_sudo_result *sss_result) +{ + struct userspec *us; + struct member *m; + unsigned int i; + debug_decl(sss_to_sudoers, SUDOERS_DEBUG_SSSD); + + /* We only have a single userspec */ + if ((us = calloc(1, sizeof(*us))) == NULL) + goto oom; + us->file = sudo_rcstr_dup("SSSD"); + TAILQ_INIT(&us->users); + TAILQ_INIT(&us->privileges); + STAILQ_INIT(&us->comments); + TAILQ_INSERT_TAIL(&handle->parse_tree.userspecs, us, entries); + + /* We only include rules where the user matches. */ + if ((m = sudo_ldap_new_member_all()) == NULL) + goto oom; + TAILQ_INSERT_TAIL(&us->users, m, entries); + + /* + * Treat each rule as a separate privilege. + * + * Sssd has already sorted the rules in descending order. + * The conversion to a sudoers parse tree requires that entries be + * in *ascending* order so we we iterate from last to first. + */ + for (i = sss_result->num_rules; i-- > 0; ) { + struct sss_sudo_rule *rule = sss_result->rules + i; + struct privilege *priv; + int rc; + + /* + * We don't know whether a rule was included due to a user/group + * match or because it contained a netgroup. + */ + if (!sudo_sss_check_user(handle, rule)) + continue; + + if ((priv = sss_rule_to_priv(handle, rule, &rc)) == NULL) { + if (rc == ENOMEM) + goto oom; + continue; + } + TAILQ_INSERT_TAIL(&us->privileges, priv, entries); + } + + debug_return_bool(true); + +oom: + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + free_userspecs(&handle->parse_tree.userspecs); + debug_return_bool(false); +} + +static bool +sudo_sss_parse_options(struct sudo_sss_handle *handle, struct sss_sudo_rule *rule, struct defaults_list *defs) +{ + int i, rc; + char *source = NULL; + bool ret = false; + char **val_array = NULL; + char **cn_array = NULL; + debug_decl(sudo_sss_parse_options, SUDOERS_DEBUG_SSSD); + + if (rule == NULL) + debug_return_bool(true); + + rc = handle->fn_get_values(rule, "sudoOption", &val_array); + switch (rc) { + case 0: + break; + case ENOENT: + sudo_debug_printf(SUDO_DEBUG_INFO, "No result."); + debug_return_bool(true); + case ENOMEM: + goto oom; + default: + sudo_debug_printf(SUDO_DEBUG_ERROR, + "handle->fn_get_values(sudoOption): rc=%d", rc); + debug_return_bool(false); + } + + /* Use sudoRole in place of file name in defaults. */ + if (handle->fn_get_values(rule, "cn", &cn_array) == 0) { + if (cn_array[0] != NULL) { + char *cp; + if (asprintf(&cp, "sudoRole %s", cn_array[0]) == -1) + goto oom; + source = sudo_rcstr_dup(cp); + free(cp); + if (source == NULL) + goto oom; + } + handle->fn_free_values(cn_array); + cn_array = NULL; + } + if (source == NULL) { + if ((source = sudo_rcstr_dup("sudoRole UNKNOWN")) == NULL) + goto oom; + } + + /* Walk through options, appending to defs. */ + for (i = 0; val_array[i] != NULL; i++) { + char *var, *val; + int op; + + op = sudo_ldap_parse_option(val_array[i], &var, &val); + if (!append_default(var, val, op, source, defs)) + goto oom; + } + ret = true; + goto done; + +oom: + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + +done: + sudo_rcstr_delref(source); + handle->fn_free_values(val_array); + debug_return_bool(ret); +} + +static struct sss_sudo_result * +sudo_sss_result_get(struct sudo_nss *nss, struct passwd *pw) +{ + struct sudo_sss_handle *handle = nss->handle; + struct sss_sudo_result *sss_result = NULL; + uint32_t sss_error = 0, rc; + debug_decl(sudo_sss_result_get, SUDOERS_DEBUG_SSSD); + + sudo_debug_printf(SUDO_DEBUG_DIAG, " username=%s", pw->pw_name); + sudo_debug_printf(SUDO_DEBUG_DIAG, "domainname=%s", + handle->domainname ? handle->domainname : "NULL"); + + rc = handle->fn_send_recv(pw->pw_uid, pw->pw_name, + handle->domainname, &sss_error, &sss_result); + switch (rc) { + case 0: + break; + case ENOMEM: + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + FALLTHROUGH; + default: + sudo_debug_printf(SUDO_DEBUG_ERROR, "handle->fn_send_recv: rc=%d", rc); + debug_return_ptr(NULL); + } + + switch (sss_error) { + case 0: + if (sss_result != NULL) { + sudo_debug_printf(SUDO_DEBUG_INFO, "Received %u rule(s)", + sss_result->num_rules); + } else { + sudo_debug_printf(SUDO_DEBUG_ERROR, + "Internal error: sss_result == NULL && sss_error == 0"); + debug_return_ptr(NULL); + } + break; + case ENOENT: + sudo_debug_printf(SUDO_DEBUG_INFO, "The user was not found in SSSD."); + debug_return_ptr(NULL); + default: + sudo_debug_printf(SUDO_DEBUG_ERROR, "sss_error=%u\n", sss_error); + debug_return_ptr(NULL); + } + + debug_return_ptr(sss_result); +} + +/* sudo_nss implementation */ +static int +sudo_sss_close(struct sudo_nss *nss) +{ + struct sudo_sss_handle *handle = nss->handle; + debug_decl(sudo_sss_close, SUDOERS_DEBUG_SSSD); + + if (handle != NULL) { + sudo_dso_unload(handle->ssslib); + if (handle->pw != NULL) + sudo_pw_delref(handle->pw); + free_parse_tree(&handle->parse_tree); + free(handle); + nss->handle = NULL; + } + debug_return_int(0); +} + +static int +sudo_sss_open(struct sudo_nss *nss) +{ + struct sudo_sss_handle *handle; + static const char path[] = _PATH_SSSD_LIB"/libsss_sudo.so"; + debug_decl(sudo_sss_open, SUDOERS_DEBUG_SSSD); + + if (nss->handle != NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR, + "%s: called with non-NULL handle %p", __func__, nss->handle); + sudo_sss_close(nss); + } + + /* Create a handle container. */ + handle = calloc(1, sizeof(struct sudo_sss_handle)); + if (handle == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + debug_return_int(ENOMEM); + } + + /* Load symbols */ + handle->ssslib = sudo_dso_load(path, SUDO_DSO_LAZY); + if (handle->ssslib == NULL) { + const char *errstr = sudo_dso_strerror(); + sudo_warnx(U_("unable to load %s: %s"), path, + errstr ? errstr : "unknown error"); + sudo_warnx("%s", + U_("unable to initialize SSS source. Is SSSD installed on your machine?")); + free(handle); + debug_return_int(EFAULT); + } + + handle->fn_send_recv = + sudo_dso_findsym(handle->ssslib, "sss_sudo_send_recv"); + if (handle->fn_send_recv == NULL) { + sudo_warnx(U_("unable to find symbol \"%s\" in %s"), path, + "sss_sudo_send_recv"); + free(handle); + debug_return_int(EFAULT); + } + + handle->fn_send_recv_defaults = + sudo_dso_findsym(handle->ssslib, "sss_sudo_send_recv_defaults"); + if (handle->fn_send_recv_defaults == NULL) { + sudo_warnx(U_("unable to find symbol \"%s\" in %s"), path, + "sss_sudo_send_recv_defaults"); + free(handle); + debug_return_int(EFAULT); + } + + handle->fn_free_result = + sudo_dso_findsym(handle->ssslib, "sss_sudo_free_result"); + if (handle->fn_free_result == NULL) { + sudo_warnx(U_("unable to find symbol \"%s\" in %s"), path, + "sss_sudo_free_result"); + free(handle); + debug_return_int(EFAULT); + } + + handle->fn_get_values = + sudo_dso_findsym(handle->ssslib, "sss_sudo_get_values"); + if (handle->fn_get_values == NULL) { + sudo_warnx(U_("unable to find symbol \"%s\" in %s"), path, + "sss_sudo_get_values"); + free(handle); + debug_return_int(EFAULT); + } + + handle->fn_free_values = + sudo_dso_findsym(handle->ssslib, "sss_sudo_free_values"); + if (handle->fn_free_values == NULL) { + sudo_warnx(U_("unable to find symbol \"%s\" in %s"), path, + "sss_sudo_free_values"); + free(handle); + debug_return_int(EFAULT); + } + + /* + * If runhost is the same as the local host, check for ipa_hostname + * in sssd.conf and use it in preference to user_runhost. + */ + if (strcasecmp(user_runhost, user_host) == 0) { + if (get_ipa_hostname(&handle->ipa_shost, &handle->ipa_host) == -1) { + free(handle); + debug_return_int(ENOMEM); + } + } + + /* The "parse tree" contains userspecs, defaults, aliases and hostnames. */ + init_parse_tree(&handle->parse_tree, handle->ipa_host, handle->ipa_shost); + nss->handle = handle; + + sudo_debug_printf(SUDO_DEBUG_DEBUG, "handle=%p", handle); + + debug_return_int(0); +} + +/* + * Perform query for user and host and convert to sudoers parse tree. + */ +static int +sudo_sss_query(struct sudo_nss *nss, struct passwd *pw) +{ + struct sudo_sss_handle *handle = nss->handle; + struct sss_sudo_result *sss_result = NULL; + int ret = 0; + debug_decl(sudo_sss_query, SUDOERS_DEBUG_SSSD); + + if (handle == NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR, + "%s: called with NULL handle", __func__); + debug_return_int(-1); + } + + /* Use cached result if it matches pw. */ + if (handle->pw != NULL) { + if (pw == handle->pw) + goto done; + sudo_pw_delref(handle->pw); + handle->pw = NULL; + } + + /* Free old userspecs, if any. */ + free_userspecs(&handle->parse_tree.userspecs); + + /* Fetch list of sudoRole entries that match user and host. */ + sss_result = sudo_sss_result_get(nss, pw); + + sudo_debug_printf(SUDO_DEBUG_DIAG, + "searching SSSD/LDAP for sudoers entries for user %s, host %s", + pw->pw_name, user_runhost); + + /* Stash a ref to the passwd struct in the handle. */ + sudo_pw_addref(pw); + handle->pw = pw; + + /* Convert to sudoers parse tree if the user was found. */ + if (sss_result != NULL) { + if (!sss_to_sudoers(handle, sss_result)) { + ret = -1; + goto done; + } + } + +done: + /* Cleanup */ + handle->fn_free_result(sss_result); + if (ret == -1) { + free_userspecs(&handle->parse_tree.userspecs); + if (handle->pw != NULL) { + sudo_pw_delref(handle->pw); + handle->pw = NULL; + } + } + + sudo_debug_printf(SUDO_DEBUG_DIAG, "Done with LDAP searches"); + + debug_return_int(ret); +} + +/* + * Return the initialized (but empty) sudoers parse tree. + * The contents will be populated by the getdefs() and query() functions. + */ +static struct sudoers_parse_tree * +sudo_sss_parse(struct sudo_nss *nss) +{ + struct sudo_sss_handle *handle = nss->handle; + debug_decl(sudo_sss_parse, SUDOERS_DEBUG_SSSD); + + if (handle == NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR, + "%s: called with NULL handle", __func__); + debug_return_ptr(NULL); + } + + debug_return_ptr(&handle->parse_tree); +} + +static int +sudo_sss_getdefs(struct sudo_nss *nss) +{ + struct sudo_sss_handle *handle = nss->handle; + struct sss_sudo_result *sss_result = NULL; + static bool cached; + uint32_t sss_error; + unsigned int i; + int rc; + debug_decl(sudo_sss_getdefs, SUDOERS_DEBUG_SSSD); + + if (handle == NULL) { + sudo_debug_printf(SUDO_DEBUG_ERROR, + "%s: called with NULL handle", __func__); + debug_return_int(-1); + } + + /* Use cached result if present. */ + if (cached) + debug_return_int(0); + + sudo_debug_printf(SUDO_DEBUG_DIAG, "Looking for cn=defaults"); + + /* NOTE: these are global defaults, user-ID and name are not used. */ + rc = handle->fn_send_recv_defaults(sudo_user.pw->pw_uid, + sudo_user.pw->pw_name, &sss_error, &handle->domainname, &sss_result); + switch (rc) { + case 0: + break; + case ENOMEM: + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + debug_return_int(-1); + default: + /* + * Unable to connect to the sudo SSSD connector. + * SSSD may not be configured for sudo, treat as non-fatal. + */ + sudo_debug_printf(SUDO_DEBUG_ERROR, + "handle->fn_send_recv_defaults: rc=%d, sss_error=%u", rc, sss_error); + debug_return_int(0); + } + + switch (sss_error) { + case 0: + /* Success */ + for (i = 0; i < sss_result->num_rules; ++i) { + struct sss_sudo_rule *sss_rule = sss_result->rules + i; + sudo_debug_printf(SUDO_DEBUG_DIAG, + "Parsing cn=defaults, %d/%d", i, sss_result->num_rules); + if (!sudo_sss_parse_options(handle, sss_rule, + &handle->parse_tree.defaults)) + goto bad; + } + break; + case ENOENT: + sudo_debug_printf(SUDO_DEBUG_INFO, + "No global defaults entry found in SSSD."); + break; + default: + sudo_debug_printf(SUDO_DEBUG_ERROR, "sss_error=%u\n", sss_error); + goto bad; + } + handle->fn_free_result(sss_result); + cached = true; + debug_return_int(0); + +bad: + handle->fn_free_result(sss_result); + debug_return_int(-1); +} + +/* sudo_nss implementation */ +struct sudo_nss sudo_nss_sss = { + { NULL, NULL }, + "sss", + sudo_sss_open, + sudo_sss_close, + sudo_sss_parse, + sudo_sss_query, + sudo_sss_getdefs +}; + +#endif /* HAVE_SSSD */ diff --git a/plugins/sudoers/starttime.c b/plugins/sudoers/starttime.c new file mode 100644 index 0000000..52ebac1 --- /dev/null +++ b/plugins/sudoers/starttime.c @@ -0,0 +1,311 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2012-2020 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +/* Large files not supported by procfs.h on Solaris. */ +#if defined(HAVE_STRUCT_PSINFO_PR_TTYDEV) +# undef _FILE_OFFSET_BITS +# undef _LARGE_FILES +#endif + +#include +#include +#if defined(HAVE_KINFO_PROC_44BSD) || defined (HAVE_KINFO_PROC_OPENBSD) || defined(HAVE_KINFO_PROC2_NETBSD) +# include +#elif defined(HAVE_KINFO_PROC_FREEBSD) || defined(HAVE_KINFO_PROC_DFLY) +# include +# include +# include +#endif +#if defined(HAVE_PROCFS_H) +# include +#elif defined(HAVE_SYS_PROCFS_H) +# include +#endif +#ifdef HAVE_PSTAT_GETPROC +# include +#endif + +#include +#include +#include +#include +#include +#include +#include +#include + +#include "sudoers.h" +#include "check.h" + +/* + * Arguments for sysctl(2) when reading the process start time. + */ +#if defined(HAVE_KINFO_PROC2_NETBSD) +# define SUDO_KERN_PROC KERN_PROC2 +# define sudo_kinfo_proc kinfo_proc2 +# define sudo_kp_namelen 6 +#elif defined(HAVE_KINFO_PROC_OPENBSD) +# define SUDO_KERN_PROC KERN_PROC +# define sudo_kinfo_proc kinfo_proc +# define sudo_kp_namelen 6 +#elif defined(HAVE_KINFO_PROC_FREEBSD) || defined(HAVE_KINFO_PROC_DFLY) || defined(HAVE_KINFO_PROC_44BSD) +# define SUDO_KERN_PROC KERN_PROC +# define sudo_kinfo_proc kinfo_proc +# define sudo_kp_namelen 4 +#endif + +/* + * Store start time of the specified process in starttime. + */ + +#if defined(sudo_kinfo_proc) +int +get_starttime(pid_t pid, struct timespec *starttime) +{ + struct sudo_kinfo_proc *ki_proc = NULL; + size_t size = sizeof(*ki_proc); + int mib[6], rc; + debug_decl(get_starttime, SUDOERS_DEBUG_UTIL); + + /* + * Lookup start time for pid via sysctl. + */ + mib[0] = CTL_KERN; + mib[1] = SUDO_KERN_PROC; + mib[2] = KERN_PROC_PID; + mib[3] = (int)pid; + mib[4] = sizeof(*ki_proc); + mib[5] = 1; + for (;;) { + struct sudo_kinfo_proc *kp; + + size += size / 10; + if ((kp = realloc(ki_proc, size)) == NULL) { + rc = -1; + break; /* really out of memory. */ + } + ki_proc = kp; + rc = sysctl(mib, sudo_kp_namelen, ki_proc, &size, NULL, 0); + if (rc != -1 || errno != ENOMEM) + break; + } + if (rc != -1) { +#if defined(HAVE_KINFO_PROC_FREEBSD) + /* FreeBSD. */ + TIMEVAL_TO_TIMESPEC(&ki_proc->ki_start, starttime); +#elif defined(HAVE_KINFO_PROC_DFLY) + /* Dragonfly. */ + TIMEVAL_TO_TIMESPEC(&ki_proc->kp_start, starttime); +#elif defined(HAVE_KINFO_PROC_44BSD) + /* 4.4BSD and macOS */ + TIMEVAL_TO_TIMESPEC(&ki_proc->kp_proc.p_starttime, starttime); +#else + /* NetBSD and OpenBSD */ + starttime->tv_sec = ki_proc->p_ustart_sec; + starttime->tv_nsec = ki_proc->p_ustart_usec * 1000; +#endif + sudo_debug_printf(SUDO_DEBUG_INFO, + "%s: start time for %d: { %lld, %ld }", __func__, + (int)pid, (long long)starttime->tv_sec, (long)starttime->tv_nsec); + } else { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO|SUDO_DEBUG_ERRNO, + "unable to get start time for %d via KERN_PROC", (int)pid); + } + free(ki_proc); + + debug_return_int(rc == -1 ? -1 : 0); +} +#elif defined(HAVE_STRUCT_PSINFO_PR_TTYDEV) +int +get_starttime(pid_t pid, struct timespec *starttime) +{ + struct psinfo psinfo; + char path[PATH_MAX]; + ssize_t nread; + int fd, ret = -1; + debug_decl(get_starttime, SUDOERS_DEBUG_UTIL); + + /* Determine the start time from pr_start in /proc/pid/psinfo. */ + (void)snprintf(path, sizeof(path), "/proc/%u/psinfo", (unsigned int)pid); + if ((fd = open(path, O_RDONLY, 0)) != -1) { + nread = read(fd, &psinfo, sizeof(psinfo)); + close(fd); + if (nread == (ssize_t)sizeof(psinfo)) { + starttime->tv_sec = psinfo.pr_start.tv_sec; + starttime->tv_nsec = psinfo.pr_start.tv_nsec; + ret = 0; + + sudo_debug_printf(SUDO_DEBUG_INFO, + "%s: start time for %d: { %lld, %ld }", __func__, (int)pid, + (long long)starttime->tv_sec, (long)starttime->tv_nsec); + } + } + + if (ret == -1) + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO|SUDO_DEBUG_ERRNO, + "unable to get start time for %d via %s", (int)pid, path); + debug_return_int(ret); +} +#elif defined(__linux__) +int +get_starttime(pid_t pid, struct timespec *starttime) +{ + char path[PATH_MAX]; + char *cp, buf[1024]; + ssize_t nread; + int ret = -1; + int fd = -1; + long tps; + debug_decl(get_starttime, SUDOERS_DEBUG_UTIL); + + /* + * Start time is in ticks per second on Linux. + */ + tps = sysconf(_SC_CLK_TCK); + if (tps == -1) + goto done; + + /* + * Determine the start time from 22nd field in /proc/pid/stat. + * Ignore /proc/self/stat if it contains embedded NUL bytes. + * XXX - refactor common code with ttyname.c? + */ + (void)snprintf(path, sizeof(path), "/proc/%u/stat", (unsigned int)pid); + if ((fd = open(path, O_RDONLY | O_NOFOLLOW)) != -1) { + cp = buf; + while ((nread = read(fd, cp, buf + sizeof(buf) - cp)) != 0) { + if (nread == -1) { + if (errno == EAGAIN || errno == EINTR) + continue; + break; + } + cp += nread; + if (cp >= buf + sizeof(buf)) + break; + } + if (nread == 0 && memchr(buf, '\0', cp - buf) == NULL) { + /* + * Field 22 is the start time (%ull). + * Since the process name at field 2 "(comm)" may include + * whitespace (including newlines), start at the last ')' found. + */ + *cp = '\0'; + cp = strrchr(buf, ')'); + if (cp != NULL) { + char *ep = cp; + int field = 1; + + while (*++ep != '\0') { + if (*ep == ' ') { + if (++field == 22) { + unsigned long long ullval; + + /* Must start with a digit (not negative). */ + if (!isdigit((unsigned char)*cp)) { + errno = EINVAL; + goto done; + } + + /* starttime is %ul in 2.4 and %ull in >= 2.6 */ + errno = 0; + ullval = strtoull(cp, &ep, 10); + if (ep == cp || *ep != ' ') { + errno = EINVAL; + goto done; + } + if (errno == ERANGE && ullval == ULLONG_MAX) + goto done; + + /* Convert from ticks to timespec */ + starttime->tv_sec = ullval / tps; + starttime->tv_nsec = + (ullval % tps) * (1000000000 / tps); + ret = 0; + + sudo_debug_printf(SUDO_DEBUG_INFO, + "%s: start time for %d: { %lld, %ld }", + __func__, (int)pid, + (long long)starttime->tv_sec, + (long)starttime->tv_nsec); + + goto done; + } + cp = ep + 1; + } + } + } + } + } + errno = ENOENT; + +done: + if (fd != -1) + close(fd); + if (ret == -1) + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO|SUDO_DEBUG_ERRNO, + "unable to get start time for %d via %s", (int)pid, path); + + debug_return_int(ret); +} +#elif defined(HAVE_PSTAT_GETPROC) +int +get_starttime(pid_t pid, struct timespec *starttime) +{ + struct pst_status pst; + int rc; + debug_decl(get_starttime, SUDOERS_DEBUG_UTIL); + + /* + * Determine the start time from pst_start in struct pst_status. + * EOVERFLOW is not a fatal error for the fields we use. + * See the "EOVERFLOW Error" section of pstat_getvminfo(3). + */ + rc = pstat_getproc(&pst, sizeof(pst), 0, pid); + if (rc != -1 || errno == EOVERFLOW) { + starttime->tv_sec = pst.pst_start; + starttime->tv_nsec = 0; + + sudo_debug_printf(SUDO_DEBUG_INFO, + "%s: start time for %d: { %lld, %ld }", __func__, + (int)pid, (long long)starttime->tv_sec, (long)starttime->tv_nsec); + + debug_return_int(0); + } + + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO|SUDO_DEBUG_ERRNO, + "unable to get start time for %d via pstat_getproc", (int)pid); + debug_return_int(-1); +} +#else +int +get_starttime(pid_t pid, struct timespec *starttime) +{ + debug_decl(get_starttime, SUDOERS_DEBUG_UTIL); + + sudo_debug_printf(SUDO_DEBUG_WARN|SUDO_DEBUG_LINENO, + "process start time not supported by sudo on this system"); + debug_return_int(-1); +} +#endif diff --git a/plugins/sudoers/strlcpy_unesc.c b/plugins/sudoers/strlcpy_unesc.c new file mode 100644 index 0000000..c8c89ac --- /dev/null +++ b/plugins/sudoers/strlcpy_unesc.c @@ -0,0 +1,55 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2021 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include + +#include "sudoers.h" + +/* + * Like strlcpy() but collapses non-space chars escaped with a backslash. + */ +size_t +strlcpy_unescape(char *dst, const char *src, size_t size) +{ + size_t len = 0; + char ch; + debug_decl(strlcpy_unescape, SUDOERS_DEBUG_UTIL); + + while ((ch = *src++) != '\0') { + if (ch == '\\' && *src != '\0' && !isspace((unsigned char)*src)) + ch = *src++; + if (size > 1) { + *dst++ = ch; + size--; + } + len++; + } + if (size > 0) + *dst = '\0'; + + debug_return_size_t(len); +} diff --git a/plugins/sudoers/strlist.c b/plugins/sudoers/strlist.c new file mode 100644 index 0000000..4b633ab --- /dev/null +++ b/plugins/sudoers/strlist.c @@ -0,0 +1,92 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2018 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include + +#include "sudo_compat.h" +#include "sudo_queue.h" +#include "sudo_util.h" +#include "sudoers_debug.h" +#include "strlist.h" + +struct sudoers_string * +sudoers_string_alloc(const char *s) +{ + struct sudoers_string *cs; + debug_decl(sudoers_string_alloc, SUDOERS_DEBUG_UTIL); + + if ((cs = malloc(sizeof(*cs))) != NULL) { + if ((cs->str = strdup(s)) == NULL) { + free(cs); + cs = NULL; + } + } + + debug_return_ptr(cs); +} + +void +sudoers_string_free(struct sudoers_string *cs) +{ + if (cs != NULL) { + free(cs->str); + free(cs); + } +} + +struct sudoers_str_list * +str_list_alloc(void) +{ + struct sudoers_str_list *strlist; + debug_decl(str_list_alloc, SUDOERS_DEBUG_UTIL); + + strlist = malloc(sizeof(*strlist)); + if (strlist != NULL) { + STAILQ_INIT(strlist); + strlist->refcnt = 1; + } + + debug_return_ptr(strlist); +} + +void +str_list_free(void *v) +{ + struct sudoers_str_list *strlist = v; + struct sudoers_string *first; + debug_decl(str_list_free, SUDOERS_DEBUG_UTIL); + + if (strlist != NULL) { + if (--strlist->refcnt == 0) { + while ((first = STAILQ_FIRST(strlist)) != NULL) { + STAILQ_REMOVE_HEAD(strlist, entries); + sudoers_string_free(first); + } + free(strlist); + } + } + debug_return; +} diff --git a/plugins/sudoers/strlist.h b/plugins/sudoers/strlist.h new file mode 100644 index 0000000..022f52b --- /dev/null +++ b/plugins/sudoers/strlist.h @@ -0,0 +1,40 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2018 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#ifndef SUDOERS_STRLIST_H +#define SUDOERS_STRLIST_H + +/* + * Simple string list with optional reference count. + */ +struct sudoers_string { + STAILQ_ENTRY(sudoers_string) entries; + char *str; +}; +struct sudoers_str_list { + struct sudoers_string *stqh_first; + struct sudoers_string **stqh_last; + unsigned int refcnt; +}; + +struct sudoers_str_list *str_list_alloc(void); +void str_list_free(void *v); +struct sudoers_string *sudoers_string_alloc(const char *s); +void sudoers_string_free(struct sudoers_string *ls); + +#endif /* SUDOERS_STRLIST_H */ diff --git a/plugins/sudoers/strvec_join.c b/plugins/sudoers/strvec_join.c new file mode 100644 index 0000000..ae209eb --- /dev/null +++ b/plugins/sudoers/strvec_join.c @@ -0,0 +1,74 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2021 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include + +#include "sudoers.h" + +#ifdef HAVE_STRLCPY +# define cpy_default strlcpy +#else +# define cpy_default sudo_strlcpy +#endif + +/* + * Join a NULL-terminated array of strings using the specified separator + * char. If non-NULL, the copy function must have strlcpy-like semantics. + */ +char * +strvec_join(char *const argv[], char sep, size_t (*cpy)(char *, const char *, size_t)) +{ + char *dst, *result = NULL; + char *const *av; + size_t n, size = 0; + debug_decl(strvec_join, SUDOERS_DEBUG_UTIL); + + for (av = argv; *av != NULL; av++) + size += strlen(*av) + 1; + if (size == 0 || (result = malloc(size)) == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + debug_return_ptr(NULL); + } + + if (cpy == NULL) + cpy = cpy_default; + for (dst = result, av = argv; *av != NULL; av++) { + n = cpy(dst, *av, size); + if (n >= size) { + sudo_warnx(U_("internal error, %s overflow"), __func__); + free(result); + debug_return_ptr(NULL); + } + dst += n; + size -= n; + *dst++ = sep; + size--; + } + dst[-1] = '\0'; + + debug_return_str(result); +} diff --git a/plugins/sudoers/stubs.c b/plugins/sudoers/stubs.c new file mode 100644 index 0000000..9aae59d --- /dev/null +++ b/plugins/sudoers/stubs.c @@ -0,0 +1,126 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2018 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +/* + * Stub versions of functions needed by the parser. + * Required to link cvtsudoers and visudo. + */ + +#include + +#include +#include + +#include +#include + +#include "sudoers.h" +#include "cvtsudoers.h" +#include "interfaces.h" + +/* STUB */ +bool +init_envtables(void) +{ + return true; +} + +/* STUB */ +bool +user_is_exempt(void) +{ + return false; +} + +/* STUB */ +void +sudo_setspent(void) +{ + return; +} + +/* STUB */ +void +sudo_endspent(void) +{ + return; +} + +/* STUB */ +int +group_plugin_query(const char *user, const char *group, const struct passwd *pw) +{ + return false; +} + +/* STUB */ +struct interface_list * +get_interfaces(void) +{ + static struct interface_list empty = SLIST_HEAD_INITIALIZER(interfaces); + return ∅ +} + +/* STUB */ +int +set_cmnd_path(const char *runchroot) +{ + /* Cannot return FOUND without also setting user_cmnd to a new value. */ + return NOT_FOUND; +} + +/* STUB */ +void +init_eventlog_config(void) +{ + return; +} + +/* + * Look up the hostname and set user_host and user_shost. + */ +void +get_hostname(void) +{ + char *cp; + debug_decl(get_hostname, SUDOERS_DEBUG_UTIL); + + if ((user_host = sudo_gethostname()) != NULL) { + if ((cp = strchr(user_host, '.'))) { + *cp = '\0'; + if ((user_shost = strdup(user_host)) == NULL) + sudo_fatalx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + *cp = '.'; + } else { + user_shost = user_host; + } + } else { + user_host = user_shost = strdup("localhost"); + if (user_host == NULL) + sudo_fatalx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + } + user_runhost = user_host; + user_srunhost = user_shost; + + debug_return; +} diff --git a/plugins/sudoers/sudo_ldap.h b/plugins/sudoers/sudo_ldap.h new file mode 100644 index 0000000..1c0035d --- /dev/null +++ b/plugins/sudoers/sudo_ldap.h @@ -0,0 +1,31 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2018 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#ifndef SUDOERS_LDAP_H +#define SUDOERS_LDAP_H + +/* Iterators used by sudo_ldap_role_to_priv() to handle bervar ** or char ** */ +typedef char * (*sudo_ldap_iter_t)(void **); + +/* ldap_util.c */ +bool sudo_ldap_is_negated(char **valp); +int sudo_ldap_parse_option(char *optstr, char **varp, char **valp); +struct privilege *sudo_ldap_role_to_priv(const char *cn, void *hosts, void *runasusers, void *runasgroups, void *cmnds, void *opts, const char *notbefore, const char *notafter, bool warnings, bool store_options, sudo_ldap_iter_t iter); +struct member *sudo_ldap_new_member_all(void); + +#endif /* SUDOERS_LDAP_H */ diff --git a/plugins/sudoers/sudo_ldap_conf.h b/plugins/sudoers/sudo_ldap_conf.h new file mode 100644 index 0000000..87ac8c8 --- /dev/null +++ b/plugins/sudoers/sudo_ldap_conf.h @@ -0,0 +1,143 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2018 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#ifndef SUDOERS_LDAP_CONF_H +#define SUDOERS_LDAP_CONF_H + +/* Macros for checking strlcpy/strlcat/sudo_ldap_value_cat return value. */ +#define CHECK_STRLCPY(d, s, l) do { \ + if (strlcpy((d), (s), (l)) >= (l)) { \ + goto overflow; \ + } \ +} while (0) +#define CHECK_STRLCAT(d, s, l) do { \ + if (strlcat((d), (s), (l)) >= (l)) { \ + goto overflow; \ + } \ +} while (0) +#define CHECK_LDAP_VCAT(d, s, l) do { \ + if (sudo_ldap_value_cat((d), (s), (l)) >= (l)) { \ + goto overflow; \ + } \ +} while (0) + +#if defined(__GNUC__) && __GNUC__ == 2 +# define DPRINTF1(fmt...) do { \ + sudo_debug_printf(SUDO_DEBUG_DIAG, fmt); \ + if (ldap_conf.debug >= 1) { \ + sudo_warnx_nodebug(fmt); \ + } \ +} while (0) +# define DPRINTF2(fmt...) do { \ + sudo_debug_printf(SUDO_DEBUG_INFO, fmt); \ + if (ldap_conf.debug >= 2) { \ + sudo_warnx_nodebug(fmt); \ + } \ +} while (0) +#else +# define DPRINTF1(...) do { \ + sudo_debug_printf(SUDO_DEBUG_DIAG, __VA_ARGS__); \ + if (ldap_conf.debug >= 1) { \ + sudo_warnx_nodebug(__VA_ARGS__); \ + } \ +} while (0) +# define DPRINTF2(...) do { \ + sudo_debug_printf(SUDO_DEBUG_INFO, __VA_ARGS__); \ + if (ldap_conf.debug >= 2) { \ + sudo_warnx_nodebug(__VA_ARGS__); \ + } \ +} while (0) +#endif + +/* + * Configuration data types. + * When adding a new data type, be sure to update sudo_ldap_parse_keyword() + * and sudo_ldap_set_options_table(). + */ +#define CONF_BOOL 0 +#define CONF_INT 1 +#define CONF_STR 2 +#define CONF_LIST_STR 4 +#define CONF_DEREF_VAL 5 +#define CONF_REQCERT_VAL 6 + +#define SUDO_LDAP_CLEAR 0 +#define SUDO_LDAP_SSL 1 +#define SUDO_LDAP_STARTTLS 2 + +struct ldap_config_table { + const char *conf_str; /* config file string */ + int type; /* CONF_* value, see above */ + int opt_val; /* LDAP_OPT_* (or -1 for sudo internal) */ + void *valp; /* pointer into ldap_conf */ +}; + +struct ldap_config_str { + STAILQ_ENTRY(ldap_config_str) entries; + char val[1]; +}; +STAILQ_HEAD(ldap_config_str_list, ldap_config_str); + +/* LDAP configuration structure */ +struct ldap_config { + int port; + int version; + int debug; + int ldap_debug; + int tls_checkpeer; + int tls_reqcert; + int timelimit; + int timeout; + int bind_timelimit; + int use_sasl; + int rootuse_sasl; + int ssl_mode; + int timed; + int deref; + char *host; + struct ldap_config_str_list uri; + char *binddn; + char *bindpw; + char *rootbinddn; + struct ldap_config_str_list base; + struct ldap_config_str_list netgroup_base; + char *search_filter; + char *netgroup_search_filter; + char *ssl; + char *tls_cacertfile; + char *tls_cacertdir; + char *tls_random_file; + char *tls_cipher_suite; + char *tls_certfile; + char *tls_keyfile; + char *tls_keypw; + char *sasl_mech; + char *sasl_auth_id; + char *rootsasl_auth_id; + char *sasl_secprops; + char *krb5_ccname; +}; + +extern struct ldap_config ldap_conf; + +const char *sudo_krb5_ccname_path(const char *old_ccname); +bool sudo_ldap_read_config(void); +int sudo_ldap_set_options_global(void); +int sudo_ldap_set_options_conn(LDAP *ld); + +#endif /* SUDOERS_LDAP_CONF_H */ diff --git a/plugins/sudoers/sudo_nss.c b/plugins/sudoers/sudo_nss.c new file mode 100644 index 0000000..a48bb67 --- /dev/null +++ b/plugins/sudoers/sudo_nss.c @@ -0,0 +1,264 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2007-2015 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include +#ifdef HAVE_STRINGS_H +# include +#endif /* HAVE_STRINGS_H */ +#include + +#include "sudoers.h" + +extern struct sudo_nss sudo_nss_file; +#ifdef HAVE_LDAP +extern struct sudo_nss sudo_nss_ldap; +#endif +#ifdef HAVE_SSSD +extern struct sudo_nss sudo_nss_sss; +#endif + +/* Make sure we have not already inserted the nss entry. */ +#define SUDO_NSS_CHECK_UNUSED(nss, tag) \ + if (nss.entries.tqe_next != NULL || nss.entries.tqe_prev != NULL) { \ + sudo_warnx("internal error: nsswitch entry \"%s\" already in use", \ + tag); \ + continue; \ + } + +#if (defined(HAVE_LDAP) || defined(HAVE_SSSD)) && defined(_PATH_NSSWITCH_CONF) +/* + * Read in /etc/nsswitch.conf + * Returns a tail queue of matches. + */ +struct sudo_nss_list * +sudo_read_nss(void) +{ + FILE *fp; + char *line = NULL; + size_t linesize = 0; +#ifdef HAVE_SSSD + bool saw_sss = false; +#endif +#ifdef HAVE_LDAP + bool saw_ldap = false; +#endif + bool saw_files = false; + bool got_match = false; + static struct sudo_nss_list snl = TAILQ_HEAD_INITIALIZER(snl); + debug_decl(sudo_read_nss, SUDOERS_DEBUG_NSS); + + if ((fp = fopen(_PATH_NSSWITCH_CONF, "r")) == NULL) + goto nomatch; + + while (sudo_parseln(&line, &linesize, NULL, fp, 0) != -1) { + char *cp, *last; + + /* Skip blank or comment lines */ + if (*line == '\0') + continue; + + /* Look for a line starting with "sudoers:" */ + if (strncasecmp(line, "sudoers:", 8) != 0) + continue; + + /* Parse line */ + for ((cp = strtok_r(line + 8, " \t", &last)); cp != NULL; (cp = strtok_r(NULL, " \t", &last))) { + if (strcasecmp(cp, "files") == 0 && !saw_files) { + SUDO_NSS_CHECK_UNUSED(sudo_nss_file, "files"); + TAILQ_INSERT_TAIL(&snl, &sudo_nss_file, entries); + got_match = saw_files = true; +#ifdef HAVE_LDAP + } else if (strcasecmp(cp, "ldap") == 0 && !saw_ldap) { + SUDO_NSS_CHECK_UNUSED(sudo_nss_ldap, "ldap"); + TAILQ_INSERT_TAIL(&snl, &sudo_nss_ldap, entries); + got_match = saw_ldap = true; +#endif +#ifdef HAVE_SSSD + } else if (strcasecmp(cp, "sss") == 0 && !saw_sss) { + SUDO_NSS_CHECK_UNUSED(sudo_nss_sss, "sss"); + TAILQ_INSERT_TAIL(&snl, &sudo_nss_sss, entries); + got_match = saw_sss = true; +#endif + } else if (strcasecmp(cp, "[NOTFOUND=return]") == 0 && got_match) { + /* NOTFOUND affects the most recent entry */ + TAILQ_LAST(&snl, sudo_nss_list)->ret_if_notfound = true; + got_match = false; + } else if (strcasecmp(cp, "[SUCCESS=return]") == 0 && got_match) { + /* SUCCESS affects the most recent entry */ + TAILQ_LAST(&snl, sudo_nss_list)->ret_if_found = true; + got_match = false; + } else + got_match = false; + } + /* Only parse the first "sudoers:" line */ + break; + } + free(line); + fclose(fp); + +nomatch: + /* Default to files only if no matches */ + if (TAILQ_EMPTY(&snl)) + TAILQ_INSERT_TAIL(&snl, &sudo_nss_file, entries); + + debug_return_ptr(&snl); +} + +#else /* (HAVE_LDAP || HAVE_SSSD) && _PATH_NSSWITCH_CONF */ + +# if (defined(HAVE_LDAP) || defined(HAVE_SSSD)) && defined(_PATH_NETSVC_CONF) + +/* + * Read in /etc/netsvc.conf (like nsswitch.conf on AIX) + * Returns a tail queue of matches. + */ +struct sudo_nss_list * +sudo_read_nss(void) +{ + FILE *fp; + char *cp, *ep, *last, *line = NULL; + size_t linesize = 0; +#ifdef HAVE_SSSD + bool saw_sss = false; +#endif + bool saw_files = false; + bool saw_ldap = false; + bool got_match = false; + static struct sudo_nss_list snl = TAILQ_HEAD_INITIALIZER(snl); + debug_decl(sudo_read_nss, SUDOERS_DEBUG_NSS); + + if ((fp = fopen(_PATH_NETSVC_CONF, "r")) == NULL) + goto nomatch; + + while (sudo_parseln(&line, &linesize, NULL, fp, 0) != -1) { + /* Skip blank or comment lines */ + if (*(cp = line) == '\0') + continue; + + /* Look for a line starting with "sudoers = " */ + if (strncasecmp(cp, "sudoers", 7) != 0) + continue; + cp += 7; + while (isspace((unsigned char)*cp)) + cp++; + if (*cp++ != '=') + continue; + + /* Parse line */ + for ((cp = strtok_r(cp, ",", &last)); cp != NULL; (cp = strtok_r(NULL, ",", &last))) { + /* Trim leading whitespace. */ + while (isspace((unsigned char)*cp)) + cp++; + + if (!saw_files && strncasecmp(cp, "files", 5) == 0 && + (isspace((unsigned char)cp[5]) || cp[5] == '\0')) { + TAILQ_INSERT_TAIL(&snl, &sudo_nss_file, entries); + got_match = saw_files = true; + ep = &cp[5]; +#ifdef HAVE_LDAP + } else if (!saw_ldap && strncasecmp(cp, "ldap", 4) == 0 && + (isspace((unsigned char)cp[4]) || cp[4] == '\0')) { + TAILQ_INSERT_TAIL(&snl, &sudo_nss_ldap, entries); + got_match = saw_ldap = true; + ep = &cp[4]; +#endif +#ifdef HAVE_SSSD + } else if (!saw_sss && strncasecmp(cp, "sss", 3) == 0 && + (isspace((unsigned char)cp[3]) || cp[3] == '\0')) { + TAILQ_INSERT_TAIL(&snl, &sudo_nss_sss, entries); + got_match = saw_sss = true; + ep = &cp[3]; +#endif + } else { + got_match = false; + } + + /* check for = auth qualifier */ + if (got_match && *ep) { + cp = ep; + while (isspace((unsigned char)*cp) || *cp == '=') + cp++; + if (strncasecmp(cp, "auth", 4) == 0 && + (isspace((unsigned char)cp[4]) || cp[4] == '\0')) { + TAILQ_LAST(&snl, sudo_nss_list)->ret_if_found = true; + } + } + } + /* Only parse the first "sudoers" line */ + break; + } + fclose(fp); + +nomatch: + /* Default to files only if no matches */ + if (TAILQ_EMPTY(&snl)) + TAILQ_INSERT_TAIL(&snl, &sudo_nss_file, entries); + + debug_return_ptr(&snl); +} + +# else /* !_PATH_NETSVC_CONF && !_PATH_NSSWITCH_CONF */ + +/* + * Non-nsswitch.conf version with hard-coded order. + */ +struct sudo_nss_list * +sudo_read_nss(void) +{ + static struct sudo_nss_list snl = TAILQ_HEAD_INITIALIZER(snl); + debug_decl(sudo_read_nss, SUDOERS_DEBUG_NSS); + +# ifdef HAVE_SSSD + TAILQ_INSERT_TAIL(&snl, &sudo_nss_sss, entries); +# endif +# ifdef HAVE_LDAP + TAILQ_INSERT_TAIL(&snl, &sudo_nss_ldap, entries); +# endif + TAILQ_INSERT_TAIL(&snl, &sudo_nss_file, entries); + + debug_return_ptr(&snl); +} + +# endif /* !HAVE_LDAP || !_PATH_NETSVC_CONF */ + +#endif /* HAVE_LDAP && _PATH_NSSWITCH_CONF */ + +bool +sudo_nss_can_continue(struct sudo_nss *nss, int match) +{ + debug_decl(sudo_nss_should_continue, SUDOERS_DEBUG_NSS); + + /* Handle [NOTFOUND=return] */ + if (nss->ret_if_notfound && match == UNSPEC) + debug_return_bool(false); + + /* Handle [SUCCESS=return] */ + if (nss->ret_if_found && match != UNSPEC) + debug_return_bool(false); + + debug_return_bool(true); +} diff --git a/plugins/sudoers/sudo_nss.h b/plugins/sudoers/sudo_nss.h new file mode 100644 index 0000000..a7487cb --- /dev/null +++ b/plugins/sudoers/sudo_nss.h @@ -0,0 +1,47 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2007-2011, 2013-2015, 2017-2018 + * Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#ifndef SUDOERS_NSS_H +#define SUDOERS_NSS_H + +struct passwd; +struct userspec_list; +struct defaults_list; + +/* XXX - parse_tree, ret_if_found and ret_if_notfound should be private */ +struct sudo_nss { + TAILQ_ENTRY(sudo_nss) entries; + const char *source; + int (*open)(struct sudo_nss *nss); + int (*close)(struct sudo_nss *nss); + struct sudoers_parse_tree *(*parse)(struct sudo_nss *nss); + int (*query)(struct sudo_nss *nss, struct passwd *pw); + int (*getdefs)(struct sudo_nss *nss); + void *handle; + struct sudoers_parse_tree *parse_tree; + bool ret_if_found; + bool ret_if_notfound; +}; + +TAILQ_HEAD(sudo_nss_list, sudo_nss); + +struct sudo_nss_list *sudo_read_nss(void); +bool sudo_nss_can_continue(struct sudo_nss *nss, int match); + +#endif /* SUDOERS_NSS_H */ diff --git a/plugins/sudoers/sudo_printf.c b/plugins/sudoers/sudo_printf.c new file mode 100644 index 0000000..5f07162 --- /dev/null +++ b/plugins/sudoers/sudo_printf.c @@ -0,0 +1,69 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2010-2012 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include + +#include "sudo_compat.h" +#include "sudo_plugin.h" +#include "sudo_debug.h" +#include "pathnames.h" + +static int +sudo_printf_int(int msg_type, const char *fmt, ...) +{ + FILE *fp = stdout; + FILE *ttyfp = NULL; + va_list ap; + int len; + + if (ISSET(msg_type, SUDO_CONV_PREFER_TTY)) { + /* Try writing to /dev/tty first. */ + ttyfp = fopen(_PATH_TTY, "w"); + } + + switch (msg_type & 0xff) { + case SUDO_CONV_ERROR_MSG: + fp = stderr; + FALLTHROUGH; + case SUDO_CONV_INFO_MSG: + va_start(ap, fmt); + len = vfprintf(ttyfp ? ttyfp : fp, fmt, ap); + va_end(ap); + break; + default: + len = -1; + errno = EINVAL; + break; + } + + if (ttyfp != NULL) + fclose(ttyfp); + + return len; +} + +sudo_printf_t sudo_printf = sudo_printf_int; diff --git a/plugins/sudoers/sudoers.c b/plugins/sudoers/sudoers.c new file mode 100644 index 0000000..db65986 --- /dev/null +++ b/plugins/sudoers/sudoers.c @@ -0,0 +1,1925 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1993-1996, 1998-2022 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Sponsored in part by the Defense Advanced Research Projects + * Agency (DARPA) and Air Force Research Laboratory, Air Force + * Materiel Command, USAF, under agreement number F39502-99-1-0512. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#ifdef __TANDEM +# include +#endif + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#ifdef HAVE_LOGIN_CAP_H +# include +# ifndef LOGIN_DEFROOTCLASS +# define LOGIN_DEFROOTCLASS "daemon" +# endif +# ifndef LOGIN_SETENV +# define LOGIN_SETENV 0 +# endif +#endif +#ifdef HAVE_SELINUX +# include +#endif +#include +#ifndef HAVE_GETADDRINFO +# include "compat/getaddrinfo.h" +#endif + +#include "sudoers.h" +#include "parse.h" +#include "check.h" +#include "auth/sudo_auth.h" +#include "sudo_iolog.h" + +/* + * Prototypes + */ +static int set_cmnd(void); +static bool init_vars(char * const *); +static bool set_loginclass(struct passwd *); +static bool set_runasgr(const char *, bool); +static bool set_runaspw(const char *, bool); +static bool tty_present(void); +static void set_callbacks(void); + +/* + * Globals + */ +struct sudo_user sudo_user; +struct passwd *list_pw; +uid_t timestamp_uid; +gid_t timestamp_gid; +bool force_umask; +int sudo_mode; + +static char *prev_user; +static struct sudo_nss_list *snl; +static bool unknown_runas_uid; +static bool unknown_runas_gid; +static int cmnd_status = -1; +static struct defaults_list initial_defaults = TAILQ_HEAD_INITIALIZER(initial_defaults); + +#ifdef __linux__ +static struct rlimit nproclimit; +#endif + +/* XXX - must be extern for audit bits of sudo_auth.c */ +int NewArgc; +char **NewArgv; +char **saved_argv; + +#ifdef SUDOERS_LOG_CLIENT +# define remote_iologs (!SLIST_EMPTY(&def_log_servers)) +#else +# define remote_iologs 0 +#endif + +/* + * Unlimit the number of processes since Linux's setuid() will + * apply resource limits when changing uid and return EAGAIN if + * nproc would be exceeded by the uid switch. + */ +static void +unlimit_nproc(void) +{ +#ifdef __linux__ + struct rlimit rl; + debug_decl(unlimit_nproc, SUDOERS_DEBUG_UTIL); + + if (getrlimit(RLIMIT_NPROC, &nproclimit) != 0) + sudo_warn("getrlimit(RLIMIT_NPROC)"); + rl.rlim_cur = rl.rlim_max = RLIM_INFINITY; + if (setrlimit(RLIMIT_NPROC, &rl) != 0) { + rl.rlim_cur = rl.rlim_max = nproclimit.rlim_max; + if (setrlimit(RLIMIT_NPROC, &rl) != 0) + sudo_warn("setrlimit(RLIMIT_NPROC)"); + } + debug_return; +#endif /* __linux__ */ +} + +/* + * Restore saved value of RLIMIT_NPROC. + */ +static void +restore_nproc(void) +{ +#ifdef __linux__ + debug_decl(restore_nproc, SUDOERS_DEBUG_UTIL); + + if (setrlimit(RLIMIT_NPROC, &nproclimit) != 0) + sudo_warn("setrlimit(RLIMIT_NPROC)"); + + debug_return; +#endif /* __linux__ */ +} + +/* + * Re-initialize Defaults settings. + * We do not warn, log or send mail for errors when reinitializing, + * this would have already been done the first time through. + */ +static bool +sudoers_reinit_defaults(void) +{ + struct sudo_nss *nss, *nss_next; + sudoers_logger_t logger = sudoers_error_hook; + debug_decl(sudoers_reinit_defaults, SUDOERS_DEBUG_PLUGIN); + + if (!init_defaults()) { + sudo_warnx("%s", U_("unable to initialize sudoers default values")); + debug_return_bool(false); + } + + /* It should not be possible for the initial defaults to fail to apply. */ + if (!update_defaults(NULL, &initial_defaults, + SETDEF_GENERIC|SETDEF_HOST|SETDEF_USER|SETDEF_RUNAS, false)) + debug_return_bool(false); + + /* Disable error logging while re-processing defaults. */ + sudoers_error_hook = NULL; + + TAILQ_FOREACH_SAFE(nss, snl, entries, nss_next) { + /* Missing/invalid defaults is not a fatal error. */ + if (nss->getdefs(nss) != -1) { + (void)update_defaults(nss->parse_tree, NULL, + SETDEF_GENERIC|SETDEF_HOST|SETDEF_USER|SETDEF_RUNAS, true); + } + } + + /* Restore error logging. */ + sudoers_error_hook = logger; + + /* No need to check the admin flag file multiple times. */ + if (ISSET(sudo_mode, MODE_POLICY_INTERCEPTED)) + def_admin_flag = NULL; + + debug_return_bool(true); +} + +int +sudoers_init(void *info, sudoers_logger_t logger, char * const envp[]) +{ + struct sudo_nss *nss, *nss_next; + int oldlocale, sources = 0; + static int ret = -1; + debug_decl(sudoers_init, SUDOERS_DEBUG_PLUGIN); + + /* Only initialize once. */ + if (snl != NULL) + debug_return_int(ret); + + bindtextdomain("sudoers", LOCALEDIR); + + /* Hook up logging function for parse errors. */ + sudoers_error_hook = logger; + + /* Register fatal/fatalx callback. */ + sudo_fatal_callback_register(sudoers_cleanup); + + /* Initialize environment functions (including replacements). */ + if (!env_init(envp)) + debug_return_int(-1); + + /* Setup defaults data structures. */ + if (!init_defaults()) { + sudo_warnx("%s", U_("unable to initialize sudoers default values")); + debug_return_int(-1); + } + + /* Parse info from front-end. */ + sudo_mode = sudoers_policy_deserialize_info(info, &initial_defaults); + if (ISSET(sudo_mode, MODE_ERROR)) + debug_return_int(-1); + + if (!init_vars(envp)) + debug_return_int(-1); + + /* Parse nsswitch.conf for sudoers order. */ + snl = sudo_read_nss(); + + /* LDAP or NSS may modify the euid so we need to be root for the open. */ + if (!set_perms(PERM_ROOT)) + debug_return_int(-1); + + /* Use the C locale unless another is specified in sudoers. */ + sudoers_setlocale(SUDOERS_LOCALE_SUDOERS, &oldlocale); + sudo_warn_set_locale_func(sudoers_warn_setlocale); + + /* Update defaults set by front-end. */ + if (!update_defaults(NULL, &initial_defaults, + SETDEF_GENERIC|SETDEF_HOST|SETDEF_USER|SETDEF_RUNAS, false)) { + goto cleanup; + } + + /* Open and parse sudoers, set global defaults. */ + init_parser(sudoers_file, false, false); + TAILQ_FOREACH_SAFE(nss, snl, entries, nss_next) { + if (nss->open(nss) == -1 || (nss->parse_tree = nss->parse(nss)) == NULL) { + TAILQ_REMOVE(snl, nss, entries); + continue; + } + sources++; + + /* Missing/invalid defaults is not a fatal error. */ + if (nss->getdefs(nss) == -1) { + log_warningx(SLOG_SEND_MAIL|SLOG_NO_STDERR, + N_("unable to get defaults from %s"), nss->source); + } else { + (void)update_defaults(nss->parse_tree, NULL, + SETDEF_GENERIC|SETDEF_HOST|SETDEF_USER|SETDEF_RUNAS, false); + } + } + if (sources == 0) { + sudo_warnx("%s", U_("no valid sudoers sources found, quitting")); + goto cleanup; + } + + /* Set login class if applicable (after sudoers is parsed). */ + if (set_loginclass(runas_pw ? runas_pw : sudo_user.pw)) + ret = true; + +cleanup: + mail_parse_errors(); + + if (!restore_perms()) + ret = -1; + + /* Restore user's locale. */ + sudo_warn_set_locale_func(NULL); + sudoers_setlocale(oldlocale, NULL); + + debug_return_int(ret); +} + +/* + * Expand I/O log dir and file into a full path. + * Returns the full I/O log path prefixed with "iolog_path=". + * Sets sudo_user.iolog_file as a side effect. + */ +static char * +format_iolog_path(void) +{ + char dir[PATH_MAX], file[PATH_MAX]; + char *iolog_path = NULL; + int oldlocale; + bool ok; + debug_decl(format_iolog_path, SUDOERS_DEBUG_PLUGIN); + + /* Use sudoers locale for strftime() */ + sudoers_setlocale(SUDOERS_LOCALE_SUDOERS, &oldlocale); + ok = expand_iolog_path(def_iolog_dir, dir, sizeof(dir), + &sudoers_iolog_path_escapes[1], NULL); + if (ok) { + ok = expand_iolog_path(def_iolog_file, file, sizeof(file), + &sudoers_iolog_path_escapes[0], dir); + } + sudoers_setlocale(oldlocale, NULL); + if (!ok) + goto done; + + if (asprintf(&iolog_path, "iolog_path=%s/%s", dir, file) == -1) { + iolog_path = NULL; + goto done; + } + + /* Stash pointer to the I/O log for the event log. */ + sudo_user.iolog_path = iolog_path + sizeof("iolog_path=") - 1; + sudo_user.iolog_file = sudo_user.iolog_path + 1 + strlen(dir); + +done: + debug_return_str(iolog_path); +} + +static int +check_user_runchroot(void) +{ + debug_decl(check_user_runchroot, SUDOERS_DEBUG_PLUGIN); + + if (user_runchroot == NULL) + debug_return_bool(true); + + sudo_debug_printf(SUDO_DEBUG_INFO|SUDO_DEBUG_LINENO, + "def_runchroot %s, user_runchroot %s", + def_runchroot ? def_runchroot : "none", + user_runchroot ? user_runchroot : "none"); + + if (def_runchroot == NULL || (strcmp(def_runchroot, "*") != 0 && + strcmp(def_runchroot, user_runchroot) != 0)) { + log_warningx(SLOG_NO_STDERR|SLOG_AUDIT, + N_("user not allowed to change root directory to %s"), + user_runchroot); + sudo_warnx(U_("you are not permitted to use the -R option with %s"), + user_cmnd); + debug_return_bool(false); + } + free(def_runchroot); + if ((def_runchroot = strdup(user_runchroot)) == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + debug_return_int(-1); + } + debug_return_bool(true); +} + +static int +check_user_runcwd(void) +{ + debug_decl(check_user_runcwd, SUDOERS_DEBUG_PLUGIN); + + sudo_debug_printf(SUDO_DEBUG_INFO|SUDO_DEBUG_LINENO, + "def_runcwd %s, user_runcwd %s, user_cwd %s", + def_runcwd ? def_runcwd : "none", user_runcwd ? user_runcwd : "none", + user_cwd ? user_cwd : "none"); + + if (strcmp(user_cwd, user_runcwd) != 0) { + if (def_runcwd == NULL || strcmp(def_runcwd, "*") != 0) { + log_warningx(SLOG_NO_STDERR|SLOG_AUDIT, + N_("user not allowed to change directory to %s"), user_runcwd); + sudo_warnx(U_("you are not permitted to use the -D option with %s"), + user_cmnd); + debug_return_bool(false); + } + free(def_runcwd); + if ((def_runcwd = strdup(user_runcwd)) == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + debug_return_int(-1); + } + } + debug_return_bool(true); +} + +static bool need_reinit; + +int +sudoers_policy_main(int argc, char * const argv[], int pwflag, char *env_add[], + bool verbose, void *closure) +{ + char *iolog_path = NULL; + mode_t cmnd_umask = ACCESSPERMS; + int oldlocale, validated, ret = -1; + debug_decl(sudoers_policy_main, SUDOERS_DEBUG_PLUGIN); + + sudo_warn_set_locale_func(sudoers_warn_setlocale); + + if (argc == 0) { + sudo_warnx("%s", U_("no command specified")); + debug_return_int(-1); + } + + if (need_reinit) { + /* Was previous command intercepted? */ + if (ISSET(sudo_mode, MODE_RUN) && def_intercept) + SET(sudo_mode, MODE_POLICY_INTERCEPTED); + + /* Only certain mode flags are legal for intercepted commands. */ + if (ISSET(sudo_mode, MODE_POLICY_INTERCEPTED)) + sudo_mode &= MODE_INTERCEPT_MASK; + + /* Re-initialize defaults if we are called multiple times. */ + if (!sudoers_reinit_defaults()) + debug_return_int(-1); + } + need_reinit = true; + + unlimit_nproc(); + + /* Is root even allowed to run sudo? */ + if (user_uid == 0 && !def_root_sudo) { + /* Not an audit event (should it be?). */ + sudo_warnx("%s", + U_("sudoers specifies that root is not allowed to sudo")); + goto bad; + } + + if (!set_perms(PERM_INITIAL)) + goto bad; + + /* Environment variables specified on the command line. */ + if (env_add != NULL && env_add[0] != NULL) + sudo_user.env_vars = env_add; + + /* + * Make a local copy of argc/argv, with special handling for the + * '-i' option. We also allocate an extra slot for bash's --login. + */ + if (NewArgv != NULL && NewArgv != saved_argv) { + sudoers_gc_remove(GC_PTR, NewArgv); + free(NewArgv); + } + NewArgv = reallocarray(NULL, argc + 2, sizeof(char *)); + if (NewArgv == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + goto done; + } + sudoers_gc_add(GC_PTR, NewArgv); + if (ISSET(sudo_mode, MODE_CHECK)) { + /* For "sudo -l [-U otheruser] command" */ + NewArgv[0] = (char *)"list"; + memcpy(NewArgv + 1, argv, argc * sizeof(char *)); + NewArgc = argc + 1; + } else { + memcpy(NewArgv, argv, argc * sizeof(char *)); + NewArgc = argc; + } + NewArgv[NewArgc] = NULL; + if (ISSET(sudo_mode, MODE_LOGIN_SHELL) && runas_pw != NULL) { + NewArgv[0] = strdup(runas_pw->pw_shell); + if (NewArgv[0] == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + goto done; + } + sudoers_gc_add(GC_PTR, NewArgv[0]); + } + + /* If given the -P option, set the "preserve_groups" flag. */ + if (ISSET(sudo_mode, MODE_PRESERVE_GROUPS)) + def_preserve_groups = true; + + /* Find command in path and apply per-command Defaults. */ + cmnd_status = set_cmnd(); + if (cmnd_status == NOT_FOUND_ERROR) + goto done; + + /* Check for -C overriding def_closefrom. */ + if (user_closefrom >= 0 && user_closefrom != def_closefrom) { + if (!def_closefrom_override) { + log_warningx(SLOG_NO_STDERR|SLOG_AUDIT, + N_("user not allowed to override closefrom limit")); + sudo_warnx("%s", U_("you are not permitted to use the -C option")); + goto bad; + } + def_closefrom = user_closefrom; + } + + /* + * Check sudoers sources, using the locale specified in sudoers. + */ + sudoers_setlocale(SUDOERS_LOCALE_SUDOERS, &oldlocale); + validated = sudoers_lookup(snl, sudo_user.pw, &cmnd_status, pwflag); + if (ISSET(validated, VALIDATE_ERROR)) { + /* The lookup function should have printed an error. */ + goto done; + } + + /* Restore user's locale. */ + sudoers_setlocale(oldlocale, NULL); + + if (safe_cmnd == NULL) { + if ((safe_cmnd = strdup(user_cmnd)) == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + goto done; + } + } + + /* Defer uid/gid checks until after defaults have been updated. */ + if (unknown_runas_uid && !def_runas_allow_unknown_id) { + log_warningx(SLOG_AUDIT, N_("unknown user %s"), runas_pw->pw_name); + goto done; + } + if (runas_gr != NULL) { + if (unknown_runas_gid && !def_runas_allow_unknown_id) { + log_warningx(SLOG_AUDIT, N_("unknown group %s"), + runas_gr->gr_name); + goto done; + } + } + + /* + * Look up the timestamp dir owner if one is specified. + */ + if (def_timestampowner) { + struct passwd *pw = NULL; + + if (*def_timestampowner == '#') { + const char *errstr; + uid_t uid = sudo_strtoid(def_timestampowner + 1, &errstr); + if (errstr == NULL) + pw = sudo_getpwuid(uid); + } + if (pw == NULL) + pw = sudo_getpwnam(def_timestampowner); + if (pw != NULL) { + timestamp_uid = pw->pw_uid; + timestamp_gid = pw->pw_gid; + sudo_pw_delref(pw); + } else { + /* XXX - audit too? */ + log_warningx(SLOG_SEND_MAIL, + N_("timestamp owner (%s): No such user"), def_timestampowner); + timestamp_uid = ROOT_UID; + timestamp_gid = ROOT_GID; + } + } + + /* If no command line args and "shell_noargs" is not set, error out. */ + if (ISSET(sudo_mode, MODE_IMPLIED_SHELL) && !def_shell_noargs) { + /* Not an audit event. */ + ret = -2; /* usage error */ + goto done; + } + + /* Bail if a tty is required and we don't have one. */ + if (def_requiretty && !tty_present()) { + log_warningx(SLOG_NO_STDERR|SLOG_AUDIT, N_("no tty")); + sudo_warnx("%s", U_("sorry, you must have a tty to run sudo")); + goto bad; + } + + /* Check runas user's shell. */ + if (!check_user_shell(runas_pw)) { + log_warningx(SLOG_RAW_MSG|SLOG_AUDIT, + N_("invalid shell for user %s: %s"), + runas_pw->pw_name, runas_pw->pw_shell); + goto bad; + } + + /* + * We don't reset the environment for sudoedit or if the user + * specified the -E command line flag and they have setenv privs. + */ + if (ISSET(sudo_mode, MODE_EDIT) || + (ISSET(sudo_mode, MODE_PRESERVE_ENV) && def_setenv)) + def_env_reset = false; + + /* Build a new environment that avoids any nasty bits. */ + if (!rebuild_env()) + goto bad; + + /* Require a password if sudoers says so. */ + switch (check_user(validated, sudo_mode)) { + case true: + /* user authenticated successfully. */ + break; + case false: + /* Note: log_denial() calls audit for us. */ + if (!ISSET(validated, VALIDATE_SUCCESS)) { + /* Only display a denial message if no password was read. */ + if (!log_denial(validated, def_passwd_tries <= 0)) + goto done; + } + goto bad; + default: + /* some other error, ret is -1. */ + goto done; + } + + /* Check whether user_runchroot is permitted (if specified). */ + switch (check_user_runchroot()) { + case true: + break; + case false: + goto bad; + default: + goto done; + } + + /* Check whether user_runcwd is permitted (if specified). */ + switch (check_user_runcwd()) { + case true: + break; + case false: + goto bad; + default: + goto done; + } + + /* If run as root with SUDO_USER set, set sudo_user.pw to that user. */ + /* XXX - causes confusion when root is not listed in sudoers */ + if (ISSET(sudo_mode, MODE_RUN|MODE_EDIT) && prev_user != NULL) { + if (user_uid == 0 && strcmp(prev_user, "root") != 0) { + struct passwd *pw; + + if ((pw = sudo_getpwnam(prev_user)) != NULL) { + if (sudo_user.pw != NULL) + sudo_pw_delref(sudo_user.pw); + sudo_user.pw = pw; + } + } + } + + /* If the user was not allowed to run the command we are done. */ + if (!ISSET(validated, VALIDATE_SUCCESS)) { + /* Note: log_failure() calls audit for us. */ + if (!log_failure(validated, cmnd_status)) + goto done; + goto bad; + } + + /* Create Ubuntu-style dot file to indicate sudo was successful. */ + if (create_admin_success_flag() == -1) + goto done; + + /* Finally tell the user if the command did not exist. */ + if (cmnd_status == NOT_FOUND_DOT) { + audit_failure(NewArgv, N_("command in current directory")); + sudo_warnx(U_("ignoring \"%s\" found in '.'\nUse \"sudo ./%s\" if this is the \"%s\" you wish to run."), user_cmnd, user_cmnd, user_cmnd); + goto bad; + } else if (cmnd_status == NOT_FOUND) { + if (ISSET(sudo_mode, MODE_CHECK)) { + audit_failure(NewArgv, N_("%s: command not found"), + NewArgv[1]); + sudo_warnx(U_("%s: command not found"), NewArgv[1]); + } else { + audit_failure(NewArgv, N_("%s: command not found"), + user_cmnd); + sudo_warnx(U_("%s: command not found"), user_cmnd); + if (strncmp(user_cmnd, "cd", 2) == 0 && (user_cmnd[2] == '\0' || + isblank((unsigned char)user_cmnd[2]))) { + sudo_warnx("%s", + U_("\"cd\" is a shell built-in command, it cannot be run directly.")); + sudo_warnx("%s", + U_("the -s option may be used to run a privileged shell.")); + sudo_warnx("%s", + U_("the -D option may be used to run a command in a specific directory.")); + } + } + goto bad; + } + + /* If user specified a timeout make sure sudoers allows it. */ + if (!def_user_command_timeouts && user_timeout > 0) { + log_warningx(SLOG_NO_STDERR|SLOG_AUDIT, + N_("user not allowed to set a command timeout")); + sudo_warnx("%s", + U_("sorry, you are not allowed set a command timeout")); + goto bad; + } + + /* If user specified env vars make sure sudoers allows it. */ + if (ISSET(sudo_mode, MODE_RUN) && !def_setenv) { + if (ISSET(sudo_mode, MODE_PRESERVE_ENV)) { + log_warningx(SLOG_NO_STDERR|SLOG_AUDIT, + N_("user not allowed to preserve the environment")); + sudo_warnx("%s", + U_("sorry, you are not allowed to preserve the environment")); + goto bad; + } else { + if (!validate_env_vars(sudo_user.env_vars)) + goto bad; + } + } + + if (ISSET(sudo_mode, (MODE_RUN | MODE_EDIT)) && !remote_iologs) { + if (iolog_enabled && def_iolog_file && def_iolog_dir) { + if ((iolog_path = format_iolog_path()) == NULL) { + if (!def_ignore_iolog_errors) + goto done; + /* Unable to expand I/O log path, disable I/O logging. */ + def_log_input = false; + def_log_output = false; + def_log_stdin = false; + def_log_stdout = false; + def_log_stderr = false; + def_log_ttyin = false; + def_log_ttyout = false; + } + } + } + + switch (sudo_mode & MODE_MASK) { + case MODE_CHECK: + ret = display_cmnd(snl, list_pw ? list_pw : sudo_user.pw); + goto done; + case MODE_LIST: + ret = display_privs(snl, list_pw ? list_pw : sudo_user.pw, verbose); + goto done; + case MODE_VALIDATE: + ret = true; + goto done; + case MODE_RUN: + case MODE_EDIT: + /* ret will not be set until the very end. */ + break; + default: + /* Should not happen. */ + sudo_warnx("internal error, unexpected sudo mode 0x%x", sudo_mode); + goto done; + } + + /* + * Set umask based on sudoers. + * If user's umask is more restrictive, OR in those bits too + * unless umask_override is set. + */ + if (def_umask != ACCESSPERMS) { + cmnd_umask = def_umask; + if (!def_umask_override) + cmnd_umask |= user_umask; + } + + if (ISSET(sudo_mode, MODE_LOGIN_SHELL)) { + char *p; + + /* Convert /bin/sh -> -sh so shell knows it is a login shell */ + if ((p = strrchr(NewArgv[0], '/')) == NULL) + p = NewArgv[0]; + *p = '-'; + NewArgv[0] = p; + + /* + * Newer versions of bash require the --login option to be used + * in conjunction with the -c option even if the shell name starts + * with a '-'. Unfortunately, bash 1.x uses -login, not --login + * so this will cause an error for that. + */ + if (NewArgc > 1 && strcmp(NewArgv[0], "-bash") == 0 && + strcmp(NewArgv[1], "-c") == 0) { + /* We allocated extra space for the --login above. */ + memmove(&NewArgv[2], &NewArgv[1], sizeof(char *) * NewArgc); + NewArgv[1] = (char *)"--login"; + NewArgc++; + } + +#if defined(_AIX) || (defined(__linux__) && !defined(HAVE_PAM)) + /* Insert system-wide environment variables. */ + if (!read_env_file(_PATH_ENVIRONMENT, true, false)) + sudo_warn("%s", _PATH_ENVIRONMENT); +#endif +#ifdef HAVE_LOGIN_CAP_H + /* Set environment based on login class. */ + if (login_class) { + login_cap_t *lc = login_getclass(login_class); + if (lc != NULL) { + setusercontext(lc, runas_pw, runas_pw->pw_uid, LOGIN_SETPATH|LOGIN_SETENV); + login_close(lc); + } + } +#endif /* HAVE_LOGIN_CAP_H */ + } + + /* Insert system-wide environment variables. */ + if (def_restricted_env_file) { + if (!read_env_file(def_restricted_env_file, false, true)) + sudo_warn("%s", def_restricted_env_file); + } + if (def_env_file) { + if (!read_env_file(def_env_file, false, false)) + sudo_warn("%s", def_env_file); + } + + /* Insert user-specified environment variables. */ + if (!insert_env_vars(sudo_user.env_vars)) { + sudo_warnx("%s", + U_("error setting user-specified environment variables")); + goto done; + } + + /* Note: must call audit before uid change. */ + if (ISSET(sudo_mode, MODE_EDIT)) { + const char *env_editor = NULL; + char **edit_argv; + int edit_argc; + + sudoedit_nfiles = NewArgc - 1; + free(safe_cmnd); + safe_cmnd = find_editor(sudoedit_nfiles, NewArgv + 1, &edit_argc, + &edit_argv, NULL, &env_editor); + if (safe_cmnd == NULL) { + switch (errno) { + case ENOENT: + audit_failure(NewArgv, N_("%s: command not found"), + env_editor ? env_editor : def_editor); + sudo_warnx(U_("%s: command not found"), + env_editor ? env_editor : def_editor); + goto bad; + case EINVAL: + if (def_env_editor && env_editor != NULL) { + /* User tried to do something funny with the editor. */ + log_warningx(SLOG_NO_STDERR|SLOG_AUDIT|SLOG_SEND_MAIL, + "invalid user-specified editor: %s", env_editor); + goto bad; + } + FALLTHROUGH; + default: + goto done; + } + } + /* find_editor() already g/c'd edit_argv[] */ + if (NewArgv != saved_argv) { + sudoers_gc_remove(GC_PTR, NewArgv); + free(NewArgv); + } + NewArgv = edit_argv; + NewArgc = edit_argc; + + /* We want to run the editor with the unmodified environment. */ + env_swap_old(); + } + + /* Save the initial command and argv so we have it for exit logging. */ + if (saved_cmnd == NULL) { + saved_cmnd = strdup(safe_cmnd); + if (saved_cmnd == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + goto done; + } + saved_argv = NewArgv; + } + + ret = true; + goto done; + +bad: + ret = false; + +done: + mail_parse_errors(); + + if (def_group_plugin) + group_plugin_unload(); + init_parser(NULL, false, false); + + if (ret == -1) { + /* Free stashed copy of the environment. */ + (void)env_init(NULL); + + /* Free locally-allocated strings. */ + free(iolog_path); + } else { + /* Store settings to pass back to front-end. */ + if (!sudoers_policy_store_result(ret, NewArgv, env_get(), cmnd_umask, + iolog_path, closure)) + ret = -1; + } + + if (!rewind_perms()) + ret = -1; + + restore_nproc(); + + sudo_warn_set_locale_func(NULL); + + debug_return_int(ret); +} + +/* + * Initialize timezone and fill in sudo_user struct. + */ +static bool +init_vars(char * const envp[]) +{ + char * const * ep; + bool unknown_user = false; + debug_decl(init_vars, SUDOERS_DEBUG_PLUGIN); + + if (!sudoers_initlocale(setlocale(LC_ALL, NULL), def_sudoers_locale)) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + debug_return_bool(false); + } + +#define MATCHES(s, v) \ + (strncmp((s), (v), sizeof(v) - 1) == 0 && (s)[sizeof(v) - 1] != '\0') + + for (ep = envp; *ep; ep++) { + switch (**ep) { + case 'K': + if (MATCHES(*ep, "KRB5CCNAME=")) + user_ccname = *ep + sizeof("KRB5CCNAME=") - 1; + break; + case 'P': + if (MATCHES(*ep, "PATH=")) + user_path = *ep + sizeof("PATH=") - 1; + break; + case 'S': + if (MATCHES(*ep, "SUDO_PROMPT=")) { + /* Don't override "sudo -p prompt" */ + if (user_prompt == NULL) + user_prompt = *ep + sizeof("SUDO_PROMPT=") - 1; + break; + } + if (MATCHES(*ep, "SUDO_USER=")) + prev_user = *ep + sizeof("SUDO_USER=") - 1; + break; + } + } +#undef MATCHES + + /* + * Get a local copy of the user's passwd struct and group list if we + * don't already have them. + */ + if (sudo_user.pw == NULL) { + if ((sudo_user.pw = sudo_getpwnam(user_name)) == NULL) { + /* + * It is not unusual for users to place "sudo -k" in a .logout + * file which can cause sudo to be run during reboot after the + * YP/NIS/NIS+/LDAP/etc daemon has died. + */ + if (sudo_mode == MODE_KILL || sudo_mode == MODE_INVALIDATE) { + sudo_warnx(U_("unknown uid %u"), (unsigned int) user_uid); + debug_return_bool(false); + } + + /* Need to make a fake struct passwd for the call to log_warningx(). */ + sudo_user.pw = sudo_mkpwent(user_name, user_uid, user_gid, NULL, NULL); + unknown_user = true; + } + } + if (user_gid_list == NULL) + user_gid_list = sudo_get_gidlist(sudo_user.pw, ENTRY_TYPE_ANY); + + /* Store initialize permissions so we can restore them later. */ + if (!set_perms(PERM_INITIAL)) + debug_return_bool(false); + + /* Set parse callbacks */ + set_callbacks(); + + /* It is now safe to use log_warningx() and set_perms() */ + if (unknown_user) { + log_warningx(SLOG_SEND_MAIL, N_("unknown uid %u"), + (unsigned int) user_uid); + debug_return_bool(false); + } + + /* + * Set runas passwd/group entries based on command line or sudoers. + * Note that if runas_group was specified without runas_user we + * run the command as the invoking user. + */ + if (sudo_user.runas_group != NULL) { + if (!set_runasgr(sudo_user.runas_group, false)) + debug_return_bool(false); + if (!set_runaspw(sudo_user.runas_user ? + sudo_user.runas_user : user_name, false)) + debug_return_bool(false); + } else { + if (!set_runaspw(sudo_user.runas_user ? + sudo_user.runas_user : def_runas_default, false)) + debug_return_bool(false); + } + + debug_return_bool(true); +} + +/* + * Fill in user_cmnd and user_stat variables. + * Does not fill in user_base. + */ +int +set_cmnd_path(const char *runchroot) +{ + const char *cmnd_in; + char *cmnd_out = NULL; + char *path = user_path; + int ret; + debug_decl(set_cmnd_path, SUDOERS_DEBUG_PLUGIN); + + cmnd_in = ISSET(sudo_mode, MODE_CHECK) ? NewArgv[1] : NewArgv[0]; + + free(list_cmnd); + list_cmnd = NULL; + free(user_cmnd); + user_cmnd = NULL; + if (def_secure_path && !user_is_exempt()) + path = def_secure_path; + if (!set_perms(PERM_RUNAS)) + goto error; + ret = find_path(cmnd_in, &cmnd_out, user_stat, path, + runchroot, def_ignore_dot, NULL); + if (!restore_perms()) + goto error; + if (ret == NOT_FOUND) { + /* Failed as root, try as invoking user. */ + if (!set_perms(PERM_USER)) + goto error; + ret = find_path(cmnd_in, &cmnd_out, user_stat, path, + runchroot, def_ignore_dot, NULL); + if (!restore_perms()) + goto error; + } + + if (ISSET(sudo_mode, MODE_CHECK)) + list_cmnd = cmnd_out; + else + user_cmnd = cmnd_out; + + debug_return_int(ret); +error: + free(cmnd_out); + debug_return_int(NOT_FOUND_ERROR); +} + +/* + * Fill in user_cmnd, user_args, user_base and user_stat variables + * and apply any command-specific defaults entries. + */ +static int +set_cmnd(void) +{ + struct sudo_nss *nss; + int ret = FOUND; + debug_decl(set_cmnd, SUDOERS_DEBUG_PLUGIN); + + /* Allocate user_stat for find_path() and match functions. */ + free(user_stat); + user_stat = calloc(1, sizeof(struct stat)); + if (user_stat == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + debug_return_int(NOT_FOUND_ERROR); + } + + /* Re-initialize for when we are called multiple times. */ + free(safe_cmnd); + safe_cmnd = NULL; + + if (ISSET(sudo_mode, MODE_RUN|MODE_EDIT|MODE_CHECK)) { + if (!ISSET(sudo_mode, MODE_EDIT)) { + const char *runchroot = user_runchroot; + if (runchroot == NULL && def_runchroot != NULL && + strcmp(def_runchroot, "*") != 0) + runchroot = def_runchroot; + + ret = set_cmnd_path(runchroot); + if (ret == NOT_FOUND_ERROR) { + if (errno == ENAMETOOLONG) { + audit_failure(NewArgv, N_("command too long")); + } + log_warning(0, "%s", NewArgv[0]); + debug_return_int(ret); + } + } + + /* set user_args */ + free(user_args); + user_args = NULL; + if (ISSET(sudo_mode, MODE_CHECK)) { + if (NewArgc > 2) { + /* Skip the command being listed in NewArgv[1]. */ + user_args = strvec_join(NewArgv + 2, ' ', NULL); + if (user_args == NULL) + debug_return_int(NOT_FOUND_ERROR); + } + } else if (NewArgc > 1) { + if (ISSET(sudo_mode, MODE_SHELL|MODE_LOGIN_SHELL) && + ISSET(sudo_mode, MODE_RUN)) { + /* + * When running a command via a shell, the sudo front-end + * escapes potential meta chars. We unescape non-spaces + * for sudoers matching and logging purposes. + * TODO: move escaping to the policy plugin instead + */ + user_args = strvec_join(NewArgv + 1, ' ', strlcpy_unescape); + } else { + user_args = strvec_join(NewArgv + 1, ' ', NULL); + } + if (user_args == NULL) + debug_return_int(NOT_FOUND_ERROR); + } + } + if (user_cmnd == NULL) { + user_cmnd = strdup(NewArgv[0]); + if (user_cmnd == NULL) + debug_return_int(NOT_FOUND_ERROR); + } + user_base = sudo_basename(user_cmnd); + + /* Convert "sudo sudoedit" -> "sudoedit" */ + if (ISSET(sudo_mode, MODE_RUN) && strcmp(user_base, "sudoedit") == 0) { + char *new_cmnd; + + CLR(sudo_mode, MODE_RUN); + SET(sudo_mode, MODE_EDIT); + sudo_warnx("%s", U_("sudoedit doesn't need to be run via sudo")); + if ((new_cmnd = strdup("sudoedit")) == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + debug_return_int(NOT_FOUND_ERROR); + } + free(user_cmnd); + user_base = user_cmnd = new_cmnd; + } + + TAILQ_FOREACH(nss, snl, entries) { + /* Missing/invalid defaults is not a fatal error. */ + (void)update_defaults(nss->parse_tree, NULL, SETDEF_CMND, false); + } + + debug_return_int(ret); +} + +/* + * Open sudoers file and check mode/owner/type. + * Returns a handle to the sudoers file or NULL on error. + */ +FILE * +open_sudoers(const char *file, bool doedit, bool *keepopen) +{ + FILE *fp = NULL; + struct stat sb; + int error, fd; + debug_decl(open_sudoers, SUDOERS_DEBUG_PLUGIN); + + if (!set_perms(PERM_SUDOERS)) + debug_return_ptr(NULL); + +again: + fd = sudo_secure_open_file(file, sudoers_uid, sudoers_gid, &sb, &error); + if (fd != -1) { + /* + * Make sure we can read the file so we can present the + * user with a reasonable error message (unlike the lexer). + */ + if ((fp = fdopen(fd, "r")) == NULL) { + log_warning(SLOG_SEND_MAIL, N_("unable to open %s"), file); + close(fd); + } else { + if (sb.st_size != 0 && fgetc(fp) == EOF) { + log_warning(SLOG_SEND_MAIL, + N_("unable to read %s"), file); + fclose(fp); + fp = NULL; + } else { + /* Rewind fp and set close on exec flag. */ + rewind(fp); + (void) fcntl(fileno(fp), F_SETFD, 1); + } + } + } else { + switch (error) { + case SUDO_PATH_MISSING: + /* + * If we tried to open sudoers as non-root but got EACCES, + * try again as root. + */ + if (errno == EACCES && geteuid() != ROOT_UID) { + int serrno = errno; + if (restore_perms()) { + if (!set_perms(PERM_ROOT)) + debug_return_ptr(NULL); + goto again; + } + errno = serrno; + } + log_warning(SLOG_SEND_MAIL, N_("unable to open %s"), file); + break; + case SUDO_PATH_BAD_TYPE: + log_warningx(SLOG_SEND_MAIL, + N_("%s is not a regular file"), file); + break; + case SUDO_PATH_WRONG_OWNER: + log_warningx(SLOG_SEND_MAIL, + N_("%s is owned by uid %u, should be %u"), file, + (unsigned int) sb.st_uid, (unsigned int) sudoers_uid); + break; + case SUDO_PATH_WORLD_WRITABLE: + log_warningx(SLOG_SEND_MAIL, N_("%s is world writable"), file); + break; + case SUDO_PATH_GROUP_WRITABLE: + log_warningx(SLOG_SEND_MAIL, + N_("%s is owned by gid %u, should be %u"), file, + (unsigned int) sb.st_gid, (unsigned int) sudoers_gid); + break; + default: + sudo_warnx("%s: internal error, unexpected error %d", + __func__, error); + break; + } + } + + if (!restore_perms()) { + /* unable to change back to root */ + if (fp != NULL) { + fclose(fp); + fp = NULL; + } + } + + debug_return_ptr(fp); +} + +#ifdef HAVE_LOGIN_CAP_H +static bool +set_loginclass(struct passwd *pw) +{ + const int errflags = SLOG_RAW_MSG; + login_cap_t *lc; + bool ret = true; + debug_decl(set_loginclass, SUDOERS_DEBUG_PLUGIN); + + if (!def_use_loginclass) + goto done; + + if (login_class && strcmp(login_class, "-") != 0) { + if (user_uid != 0 && pw->pw_uid != 0) { + sudo_warnx(U_("only root can use \"-c %s\""), login_class); + ret = false; + goto done; + } + } else { + login_class = pw->pw_class; + if (!login_class || !*login_class) + login_class = (char *) + ((pw->pw_uid == 0) ? LOGIN_DEFROOTCLASS : LOGIN_DEFCLASS); + } + + /* Make sure specified login class is valid. */ + lc = login_getclass(login_class); + if (!lc || !lc->lc_class || strcmp(lc->lc_class, login_class) != 0) { + /* + * Don't make it an error if the user didn't specify the login + * class themselves. We do this because if login.conf gets + * corrupted we want the admin to be able to use sudo to fix it. + */ + log_warningx(errflags, N_("unknown login class %s"), login_class); + def_use_loginclass = false; + if (login_class) + ret = false; + } + login_close(lc); +done: + debug_return_bool(ret); +} +#else +static bool +set_loginclass(struct passwd *pw) +{ + return true; +} +#endif /* HAVE_LOGIN_CAP_H */ + +#ifndef AI_FQDN +# define AI_FQDN AI_CANONNAME +#endif + +/* + * Look up the fully qualified domain name of host. + * Use AI_FQDN if available since "canonical" is not always the same as fqdn. + * Returns 0 on success, setting longp and shortp. + * Returns non-zero on failure, longp and shortp are unchanged. + * See gai_strerror() for the list of error return codes. + */ +static int +resolve_host(const char *host, char **longp, char **shortp) +{ + struct addrinfo *res0, hint; + char *cp, *lname, *sname; + int ret; + debug_decl(resolve_host, SUDOERS_DEBUG_PLUGIN); + + memset(&hint, 0, sizeof(hint)); + hint.ai_family = PF_UNSPEC; + hint.ai_flags = AI_FQDN; + + if ((ret = getaddrinfo(host, NULL, &hint, &res0)) != 0) + debug_return_int(ret); + if ((lname = strdup(res0->ai_canonname)) == NULL) { + freeaddrinfo(res0); + debug_return_int(EAI_MEMORY); + } + if ((cp = strchr(lname, '.')) != NULL) { + sname = strndup(lname, (size_t)(cp - lname)); + if (sname == NULL) { + free(lname); + freeaddrinfo(res0); + debug_return_int(EAI_MEMORY); + } + } else { + sname = lname; + } + freeaddrinfo(res0); + *longp = lname; + *shortp = sname; + + debug_return_int(0); +} + +/* + * Look up the fully qualified domain name of user_host and user_runhost. + * Sets user_host, user_shost, user_runhost and user_srunhost. + */ +static bool +cb_fqdn(const char *file, int line, int column, + const union sudo_defs_val *sd_un, int op) +{ + bool remote; + int rc; + char *lhost, *shost; + debug_decl(cb_fqdn, SUDOERS_DEBUG_PLUGIN); + + /* Nothing to do if fqdn flag is disabled. */ + if (sd_un != NULL && !sd_un->flag) + debug_return_bool(true); + + /* If the -h flag was given we need to resolve both host and runhost. */ + remote = strcmp(user_runhost, user_host) != 0; + + /* First resolve user_host, setting user_host and user_shost. */ + if (resolve_host(user_host, &lhost, &shost) != 0) { + if ((rc = resolve_host(user_runhost, &lhost, &shost)) != 0) { + gai_log_warning(SLOG_SEND_MAIL|SLOG_RAW_MSG, rc, + N_("unable to resolve host %s"), user_host); + debug_return_bool(false); + } + } + if (user_shost != user_host) + free(user_shost); + free(user_host); + user_host = lhost; + user_shost = shost; + + /* Next resolve user_runhost, setting user_runhost and user_srunhost. */ + lhost = shost = NULL; + if (remote) { + if ((rc = resolve_host(user_runhost, &lhost, &shost)) != 0) { + gai_log_warning(SLOG_NO_LOG|SLOG_RAW_MSG, rc, + N_("unable to resolve host %s"), user_runhost); + debug_return_bool(false); + } + } else { + /* Not remote, just use user_host. */ + if ((lhost = strdup(user_host)) != NULL) { + if (user_shost != user_host) + shost = strdup(user_shost); + else + shost = lhost; + } + if (lhost == NULL || shost == NULL) { + free(lhost); + if (lhost != shost) + free(shost); + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + debug_return_bool(false); + } + } + if (lhost != NULL && shost != NULL) { + if (user_srunhost != user_runhost) + free(user_srunhost); + free(user_runhost); + user_runhost = lhost; + user_srunhost = shost; + } + + sudo_debug_printf(SUDO_DEBUG_INFO|SUDO_DEBUG_LINENO, + "host %s, shost %s, runhost %s, srunhost %s", + user_host, user_shost, user_runhost, user_srunhost); + debug_return_bool(true); +} + +/* + * Get passwd entry for the user we are going to run commands as + * and store it in runas_pw. By default, commands run as "root". + */ +static bool +set_runaspw(const char *user, bool quiet) +{ + struct passwd *pw = NULL; + debug_decl(set_runaspw, SUDOERS_DEBUG_PLUGIN); + + unknown_runas_uid = false; + if (*user == '#') { + const char *errstr; + uid_t uid = sudo_strtoid(user + 1, &errstr); + if (errstr == NULL) { + if ((pw = sudo_getpwuid(uid)) == NULL) { + unknown_runas_uid = true; + pw = sudo_fakepwnam(user, user_gid); + } + } + } + if (pw == NULL) { + if ((pw = sudo_getpwnam(user)) == NULL) { + if (!quiet) + log_warningx(SLOG_AUDIT, N_("unknown user %s"), user); + debug_return_bool(false); + } + } + if (runas_pw != NULL) + sudo_pw_delref(runas_pw); + runas_pw = pw; + debug_return_bool(true); +} + +/* + * Get group entry for the group we are going to run commands as + * and store it in runas_gr. + */ +static bool +set_runasgr(const char *group, bool quiet) +{ + struct group *gr = NULL; + debug_decl(set_runasgr, SUDOERS_DEBUG_PLUGIN); + + unknown_runas_gid = false; + if (*group == '#') { + const char *errstr; + gid_t gid = sudo_strtoid(group + 1, &errstr); + if (errstr == NULL) { + if ((gr = sudo_getgrgid(gid)) == NULL) { + unknown_runas_gid = true; + gr = sudo_fakegrnam(group); + } + } + } + if (gr == NULL) { + if ((gr = sudo_getgrnam(group)) == NULL) { + if (!quiet) + log_warningx(SLOG_AUDIT, N_("unknown group %s"), group); + debug_return_bool(false); + } + } + if (runas_gr != NULL) + sudo_gr_delref(runas_gr); + runas_gr = gr; + debug_return_bool(true); +} + +/* + * Callback for runas_default sudoers setting. + */ +static bool +cb_runas_default(const char *file, int line, int column, + const union sudo_defs_val *sd_un, int op) +{ + debug_decl(cb_runas_default, SUDOERS_DEBUG_PLUGIN); + + /* Only reset runaspw if user didn't specify one. */ + if (sudo_user.runas_user == NULL && sudo_user.runas_group == NULL) + debug_return_bool(set_runaspw(sd_un->str, true)); + debug_return_bool(true); +} + +/* + * Callback for tty_tickets sudoers setting. + */ +static bool +cb_tty_tickets(const char *file, int line, int column, + const union sudo_defs_val *sd_un, int op) +{ + debug_decl(cb_tty_tickets, SUDOERS_DEBUG_PLUGIN); + + /* Convert tty_tickets -> timestamp_type */ + if (sd_un->flag) + def_timestamp_type = tty; + else + def_timestamp_type = global; + debug_return_bool(true); +} + +/* + * Callback for umask sudoers setting. + */ +static bool +cb_umask(const char *file, int line, int column, + const union sudo_defs_val *sd_un, int op) +{ + debug_decl(cb_umask, SUDOERS_DEBUG_PLUGIN); + + /* Force umask if explicitly set in sudoers. */ + force_umask = sd_un->mode != ACCESSPERMS; + + debug_return_bool(true); +} + +/* + * Callback for runchroot sudoers setting. + */ +static bool +cb_runchroot(const char *file, int line, int column, + const union sudo_defs_val *sd_un, int op) +{ + debug_decl(cb_runchroot, SUDOERS_DEBUG_PLUGIN); + + sudo_debug_printf(SUDO_DEBUG_INFO|SUDO_DEBUG_LINENO, + "def_runchroot now %s", sd_un->str); + if (user_cmnd != NULL) { + /* Update user_cmnd based on the new chroot. */ + cmnd_status = set_cmnd_path(sd_un->str); + sudo_debug_printf(SUDO_DEBUG_INFO|SUDO_DEBUG_LINENO, + "user_cmnd now %s", user_cmnd); + } + + debug_return_bool(true); +} + +static bool +cb_logfile(const char *file, int line, int column, + const union sudo_defs_val *sd_un, int op) +{ + int logtype = def_syslog ? EVLOG_SYSLOG : EVLOG_NONE; + debug_decl(cb_logfile, SUDOERS_DEBUG_PLUGIN); + + if (sd_un->str != NULL) + SET(logtype, EVLOG_FILE); + eventlog_set_type(logtype); + eventlog_set_logpath(sd_un->str); + + debug_return_bool(true); +} + +static bool +cb_log_format(const char *file, int line, int column, + const union sudo_defs_val *sd_un, int op) +{ + debug_decl(cb_log_format, SUDOERS_DEBUG_PLUGIN); + + eventlog_set_format(sd_un->tuple == sudo ? EVLOG_SUDO : EVLOG_JSON); + + debug_return_bool(true); +} + +static bool +cb_syslog(const char *file, int line, int column, + const union sudo_defs_val *sd_un, int op) +{ + int logtype = def_logfile ? EVLOG_FILE : EVLOG_NONE; + debug_decl(cb_syslog, SUDOERS_DEBUG_PLUGIN); + + if (sd_un->str != NULL) + SET(logtype, EVLOG_SYSLOG); + eventlog_set_type(logtype); + + debug_return_bool(true); +} + +static bool +cb_syslog_goodpri(const char *file, int line, int column, + const union sudo_defs_val *sd_un, int op) +{ + debug_decl(cb_syslog_goodpri, SUDOERS_DEBUG_PLUGIN); + + eventlog_set_syslog_acceptpri(sd_un->ival); + + debug_return_bool(true); +} + +static bool +cb_syslog_badpri(const char *file, int line, int column, + const union sudo_defs_val *sd_un, int op) +{ + debug_decl(cb_syslog_badpri, SUDOERS_DEBUG_PLUGIN); + + eventlog_set_syslog_rejectpri(sd_un->ival); + eventlog_set_syslog_alertpri(sd_un->ival); + + debug_return_bool(true); +} + +static bool +cb_syslog_maxlen(const char *file, int line, int column, + const union sudo_defs_val *sd_un, int op) +{ + debug_decl(cb_syslog_maxlen, SUDOERS_DEBUG_PLUGIN); + + eventlog_set_syslog_maxlen(sd_un->ival); + + debug_return_bool(true); +} + +static bool +cb_loglinelen(const char *file, int line, int column, + const union sudo_defs_val *sd_un, int op) +{ + debug_decl(cb_loglinelen, SUDOERS_DEBUG_PLUGIN); + + eventlog_set_file_maxlen(sd_un->ival); + + debug_return_bool(true); +} + +static bool +cb_log_year(const char *file, int line, int column, + const union sudo_defs_val *sd_un, int op) +{ + debug_decl(cb_syslog_maxlen, SUDOERS_DEBUG_PLUGIN); + + eventlog_set_time_fmt(sd_un->flag ? "%h %e %T %Y" : "%h %e %T"); + + debug_return_bool(true); +} + +static bool +cb_log_host(const char *file, int line, int column, + const union sudo_defs_val *sd_un, int op) +{ + debug_decl(cb_syslog_maxlen, SUDOERS_DEBUG_PLUGIN); + + eventlog_set_omit_hostname(!sd_un->flag); + + debug_return_bool(true); +} + +static bool +cb_mailerpath(const char *file, int line, int column, + const union sudo_defs_val *sd_un, int op) +{ + debug_decl(cb_mailerpath, SUDOERS_DEBUG_PLUGIN); + + eventlog_set_mailerpath(sd_un->str); + + debug_return_bool(true); +} + +static bool +cb_mailerflags(const char *file, int line, int column, + const union sudo_defs_val *sd_un, int op) +{ + debug_decl(cb_mailerflags, SUDOERS_DEBUG_PLUGIN); + + eventlog_set_mailerflags(sd_un->str); + + debug_return_bool(true); +} + +static bool +cb_mailfrom(const char *file, int line, int column, + const union sudo_defs_val *sd_un, int op) +{ + debug_decl(cb_mailfrom, SUDOERS_DEBUG_PLUGIN); + + eventlog_set_mailfrom(sd_un->str); + + debug_return_bool(true); +} + +static bool +cb_mailto(const char *file, int line, int column, + const union sudo_defs_val *sd_un, int op) +{ + debug_decl(cb_mailto, SUDOERS_DEBUG_PLUGIN); + + eventlog_set_mailto(sd_un->str); + + debug_return_bool(true); +} + +static bool +cb_mailsub(const char *file, int line, int column, + const union sudo_defs_val *sd_un, int op) +{ + debug_decl(cb_mailsub, SUDOERS_DEBUG_PLUGIN); + + eventlog_set_mailsub(sd_un->str); + + debug_return_bool(true); +} + +static bool +cb_intercept_type(const char *file, int line, int column, + const union sudo_defs_val *sd_un, int op) +{ + debug_decl(cb_intercept_type, SUDOERS_DEBUG_PLUGIN); + + if (op != -1) { + /* Set explicitly in sudoers. */ + if (sd_un->tuple == dso) { + /* Reset intercept_allow_setid default value. */ + if (!ISSET(sudo_user.flags, USER_INTERCEPT_SETID)) + def_intercept_allow_setid = false; + } + } + + debug_return_bool(true); +} + +static bool +cb_intercept_allow_setid(const char *file, int line, int column, + const union sudo_defs_val *sd_un, int op) +{ + debug_decl(cb_intercept_allow_setid, SUDOERS_DEBUG_PLUGIN); + + /* Operator will be -1 if set by front-end. */ + if (op != -1) { + /* Set explicitly in sudoers. */ + SET(sudo_user.flags, USER_INTERCEPT_SETID); + } + + debug_return_bool(true); +} + +bool +cb_log_input(const char *file, int line, int column, + const union sudo_defs_val *sd_un, int op) +{ + debug_decl(cb_log_input, SUDOERS_DEBUG_PLUGIN); + + def_log_stdin = op; + def_log_ttyin = op; + + debug_return_bool(true); +} + +bool +cb_log_output(const char *file, int line, int column, + const union sudo_defs_val *sd_un, int op) +{ + debug_decl(cb_log_output, SUDOERS_DEBUG_PLUGIN); + + def_log_stdout = op; + def_log_stderr = op; + def_log_ttyout = op; + + debug_return_bool(true); +} + +/* + * Set parse Defaults callbacks. + * We do this here instead in def_data.in so we don't have to + * stub out the callbacks for visudo and testsudoers. + */ +static void +set_callbacks(void) +{ + debug_decl(set_callbacks, SUDOERS_DEBUG_PLUGIN); + + /* Set fqdn callback. */ + sudo_defs_table[I_FQDN].callback = cb_fqdn; + + /* Set group_plugin callback. */ + sudo_defs_table[I_GROUP_PLUGIN].callback = cb_group_plugin; + + /* Set runas callback. */ + sudo_defs_table[I_RUNAS_DEFAULT].callback = cb_runas_default; + + /* Set locale callback. */ + sudo_defs_table[I_SUDOERS_LOCALE].callback = sudoers_locale_callback; + + /* Set maxseq callback. */ + sudo_defs_table[I_MAXSEQ].callback = cb_maxseq; + + /* Set iolog_user callback. */ + sudo_defs_table[I_IOLOG_USER].callback = cb_iolog_user; + + /* Set iolog_group callback. */ + sudo_defs_table[I_IOLOG_GROUP].callback = cb_iolog_group; + + /* Set iolog_mode callback. */ + sudo_defs_table[I_IOLOG_MODE].callback = cb_iolog_mode; + + /* Set tty_tickets callback. */ + sudo_defs_table[I_TTY_TICKETS].callback = cb_tty_tickets; + + /* Set umask callback. */ + sudo_defs_table[I_UMASK].callback = cb_umask; + + /* Set runchroot callback. */ + sudo_defs_table[I_RUNCHROOT].callback = cb_runchroot; + + /* eventlog callbacks */ + sudo_defs_table[I_SYSLOG].callback = cb_syslog; + sudo_defs_table[I_SYSLOG_GOODPRI].callback = cb_syslog_goodpri; + sudo_defs_table[I_SYSLOG_BADPRI].callback = cb_syslog_badpri; + sudo_defs_table[I_SYSLOG_MAXLEN].callback = cb_syslog_maxlen; + sudo_defs_table[I_LOGLINELEN].callback = cb_loglinelen; + sudo_defs_table[I_LOG_HOST].callback = cb_log_host; + sudo_defs_table[I_LOGFILE].callback = cb_logfile; + sudo_defs_table[I_LOG_FORMAT].callback = cb_log_format; + sudo_defs_table[I_LOG_YEAR].callback = cb_log_year; + sudo_defs_table[I_MAILERPATH].callback = cb_mailerpath; + sudo_defs_table[I_MAILERFLAGS].callback = cb_mailerflags; + sudo_defs_table[I_MAILFROM].callback = cb_mailfrom; + sudo_defs_table[I_MAILTO].callback = cb_mailto; + sudo_defs_table[I_MAILSUB].callback = cb_mailsub; + sudo_defs_table[I_PASSPROMPT_REGEX].callback = cb_passprompt_regex; + sudo_defs_table[I_INTERCEPT_TYPE].callback = cb_intercept_type; + sudo_defs_table[I_INTERCEPT_ALLOW_SETID].callback = cb_intercept_allow_setid; + sudo_defs_table[I_LOG_INPUT].callback = cb_log_input; + sudo_defs_table[I_LOG_OUTPUT].callback = cb_log_output; + + debug_return; +} + +/* + * Cleanup hook for sudo_fatal()/sudo_fatalx() + * Also called at policy close time. + */ +void +sudoers_cleanup(void) +{ + struct sudo_nss *nss; + struct defaults *def; + debug_decl(sudoers_cleanup, SUDOERS_DEBUG_PLUGIN); + + if (snl != NULL) { + TAILQ_FOREACH(nss, snl, entries) { + nss->close(nss); + } + snl = NULL; + init_parser(NULL, false, false); + } + while ((def = TAILQ_FIRST(&initial_defaults)) != NULL) { + TAILQ_REMOVE(&initial_defaults, def, entries); + free(def->var); + free(def->val); + free(def); + } + need_reinit = false; + if (def_group_plugin) + group_plugin_unload(); + sudo_user_free(); + sudo_freepwcache(); + sudo_freegrcache(); + + /* Clear globals */ + list_pw = NULL; + saved_argv = NULL; + NewArgv = NULL; + NewArgc = 0; + prev_user = NULL; + + debug_return; +} + +static bool +tty_present(void) +{ + debug_decl(tty_present, SUDOERS_DEBUG_PLUGIN); + + if (user_tcpgid == 0 && user_ttypath == NULL) { + /* No job control or terminal, check /dev/tty. */ + int fd = open(_PATH_TTY, O_RDWR); + if (fd == -1) + debug_return_bool(false); + close(fd); + } + debug_return_bool(true); +} + +/* + * Free memory allocated for struct sudo_user. + */ +void +sudo_user_free(void) +{ + debug_decl(sudo_user_free, SUDOERS_DEBUG_PLUGIN); + + /* Free remaining references to password and group entries. */ + if (sudo_user.pw != NULL) + sudo_pw_delref(sudo_user.pw); + if (runas_pw != NULL) + sudo_pw_delref(runas_pw); + if (runas_gr != NULL) + sudo_gr_delref(runas_gr); + if (user_gid_list != NULL) + sudo_gidlist_delref(user_gid_list); + + /* Free dynamic contents of sudo_user. */ + free(user_cwd); + free(user_name); + free(user_gids); + if (user_ttypath != NULL) + free(user_ttypath); + else + free(user_tty); + if (user_shost != user_host) + free(user_shost); + free(user_host); + if (user_srunhost != user_runhost) + free(user_srunhost); + free(user_runhost); + free(user_cmnd); + free(user_args); + free(list_cmnd); + free(safe_cmnd); + free(saved_cmnd); + free(user_stat); +#ifdef HAVE_SELINUX + free(user_role); + free(user_type); +#endif +#ifdef HAVE_APPARMOR + free(user_apparmor_profile); +#endif +#ifdef HAVE_PRIV_SET + free(runas_privs); + free(runas_limitprivs); +#endif + memset(&sudo_user, 0, sizeof(sudo_user)); + + debug_return; +} diff --git a/plugins/sudoers/sudoers.exp b/plugins/sudoers/sudoers.exp new file mode 100644 index 0000000..f0b2c97 --- /dev/null +++ b/plugins/sudoers/sudoers.exp @@ -0,0 +1,7 @@ +sudoers_policy +sudoers_io +sudoers_audit +sudo_getgrgid +sudo_getgrnam +sudo_gr_addref +sudo_gr_delref diff --git a/plugins/sudoers/sudoers.h b/plugins/sudoers/sudoers.h new file mode 100644 index 0000000..df60627 --- /dev/null +++ b/plugins/sudoers/sudoers.h @@ -0,0 +1,492 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1993-1996, 1998-2005, 2007-2022 + * Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Sponsored in part by the Defense Advanced Research Projects + * Agency (DARPA) and Air Force Research Laboratory, Air Force + * Materiel Command, USAF, under agreement number F39502-99-1-0512. + */ + +#ifndef SUDOERS_SUDOERS_H +#define SUDOERS_SUDOERS_H + +#include /* for gid_t, mode_t, pid_t, size_t, uid_t */ +#include +#ifdef HAVE_STDBOOL_H +# include +#else +# include "compat/stdbool.h" +#endif /* HAVE_STDBOOL_H */ + +#define DEFAULT_TEXT_DOMAIN "sudoers" + +#include "pathnames.h" +#include "sudo_compat.h" +#include "sudo_conf.h" +#include "sudo_eventlog.h" +#include "sudo_fatal.h" +#include "sudo_gettext.h" +#include "sudo_nss.h" +#include "sudo_plugin.h" +#include "sudo_queue.h" +#include "sudo_util.h" +#include "sudoers_debug.h" + +#include "defaults.h" +#include "logging.h" +#include "parse.h" + +/* + * Info passed in from the sudo front-end. + */ +struct sudoers_open_info { + char * const *settings; + char * const *user_info; + char * const *plugin_args; +}; + +/* + * Supplementary group IDs for a user. + */ +struct gid_list { + int ngids; + GETGROUPS_T *gids; +}; + +/* + * Supplementary group names for a user. + */ +struct group_list { + int ngroups; + char **groups; +}; + +/* + * Info pertaining to the invoking user. + * XXX - can we embed struct eventlog here or use it instead? + */ +struct sudo_user { + struct timespec submit_time; + struct passwd *pw; + struct passwd *_runas_pw; + struct group *_runas_gr; + struct stat *cmnd_stat; + char *cwd; + char *name; + char *runas_user; + char *runas_group; + char *path; + char *tty; + char *ttypath; + char *host; + char *shost; + char *runhost; + char *srunhost; + char *runchroot; + char *runcwd; + char *prompt; + char *cmnd; + char *cmnd_args; + char *cmnd_base; + char *cmnd_list; + char *cmnd_safe; + char *cmnd_saved; + char *class_name; + char *krb5_ccname; + struct gid_list *gid_list; + char * const * env_vars; +#ifdef HAVE_SELINUX + char *role; + char *type; +#endif +#ifdef HAVE_APPARMOR + char *apparmor_profile; +#endif +#ifdef HAVE_PRIV_SET + char *privs; + char *limitprivs; +#endif + char *iolog_file; + char *iolog_path; + GETGROUPS_T *gids; + int execfd; + int ngids; + int closefrom; + int lines; + int cols; + int flags; + int max_groups; + int timeout; + mode_t umask; + uid_t uid; + uid_t gid; + pid_t sid; + pid_t tcpgid; + char uuid_str[37]; +}; + +/* + * sudo_get_gidlist() type values + */ +#define ENTRY_TYPE_ANY 0x00 +#define ENTRY_TYPE_QUERIED 0x01 +#define ENTRY_TYPE_FRONTEND 0x02 + +/* + * sudo_user flag values + */ +#define RUNAS_USER_SPECIFIED 0x01 +#define RUNAS_GROUP_SPECIFIED 0x02 +#define CAN_INTERCEPT_SETID 0x04 +#define HAVE_INTERCEPT_PTRACE 0x08 +#define USER_INTERCEPT_SETID 0x10 + +/* + * Return values for sudoers_lookup(), also used as arguments for log_auth() + * Note: cannot use '0' as a value here. + */ +#define VALIDATE_ERROR 0x001 +#define VALIDATE_SUCCESS 0x002 +#define VALIDATE_FAILURE 0x004 +#define FLAG_CHECK_USER 0x010 +#define FLAG_NO_USER 0x020 +#define FLAG_NO_HOST 0x040 +#define FLAG_NO_CHECK 0x080 +#define FLAG_NO_USER_INPUT 0x100 +#define FLAG_BAD_PASSWORD 0x200 + +/* + * find_path()/set_cmnd() return values + */ +#define FOUND 0 +#define NOT_FOUND 1 +#define NOT_FOUND_DOT 2 +#define NOT_FOUND_ERROR 3 +#define NOT_FOUND_PATH 4 + +/* + * Various modes sudo can be in (based on arguments) in hex + */ +#define MODE_RUN 0x00000001 +#define MODE_EDIT 0x00000002 +#define MODE_VALIDATE 0x00000004 +#define MODE_INVALIDATE 0x00000008 +#define MODE_KILL 0x00000010 +#define MODE_VERSION 0x00000020 +#define MODE_HELP 0x00000040 +#define MODE_LIST 0x00000080 +#define MODE_CHECK 0x00000100 +#define MODE_ERROR 0x00000200 +#define MODE_MASK 0x0000ffff + +/* Mode flags */ +#define MODE_ASKPASS 0x00010000 +#define MODE_SHELL 0x00020000 +#define MODE_LOGIN_SHELL 0x00040000 +#define MODE_IMPLIED_SHELL 0x00080000 +#define MODE_RESET_HOME 0x00100000 +#define MODE_PRESERVE_GROUPS 0x00200000 +#define MODE_PRESERVE_ENV 0x00400000 +#define MODE_NONINTERACTIVE 0x00800000 +#define MODE_IGNORE_TICKET 0x01000000 +#define MODE_UPDATE_TICKET 0x02000000 +#define MODE_POLICY_INTERCEPTED 0x04000000 + +/* Mode bits allowed for intercepted commands. */ +#define MODE_INTERCEPT_MASK (MODE_RUN|MODE_NONINTERACTIVE|MODE_IGNORE_TICKET|MODE_POLICY_INTERCEPTED) + +/* + * Used with set_perms() + */ +#define PERM_INITIAL 0x00 +#define PERM_ROOT 0x01 +#define PERM_USER 0x02 +#define PERM_FULL_USER 0x03 +#define PERM_SUDOERS 0x04 +#define PERM_RUNAS 0x05 +#define PERM_TIMESTAMP 0x06 +#define PERM_IOLOG 0x07 + +/* + * Shortcuts for sudo_user contents. + */ +#define user_name (sudo_user.name) +#define user_uid (sudo_user.uid) +#define user_gid (sudo_user.gid) +#define user_sid (sudo_user.sid) +#define user_tcpgid (sudo_user.tcpgid) +#define user_umask (sudo_user.umask) +#define user_passwd (sudo_user.pw->pw_passwd) +#define user_dir (sudo_user.pw->pw_dir) +#define user_gids (sudo_user.gids) +#define user_ngids (sudo_user.ngids) +#define user_gid_list (sudo_user.gid_list) +#define user_tty (sudo_user.tty) +#define user_ttypath (sudo_user.ttypath) +#define user_cwd (sudo_user.cwd) +#define user_cmnd (sudo_user.cmnd) +#define user_args (sudo_user.cmnd_args) +#define user_base (sudo_user.cmnd_base) +#define user_stat (sudo_user.cmnd_stat) +#define user_path (sudo_user.path) +#define user_prompt (sudo_user.prompt) +#define user_host (sudo_user.host) +#define user_shost (sudo_user.shost) +#define user_runhost (sudo_user.runhost) +#define user_srunhost (sudo_user.srunhost) +#define user_ccname (sudo_user.krb5_ccname) +#define list_cmnd (sudo_user.cmnd_list) +#define safe_cmnd (sudo_user.cmnd_safe) +#define saved_cmnd (sudo_user.cmnd_saved) +#define cmnd_fd (sudo_user.execfd) +#define login_class (sudo_user.class_name) +#define runas_pw (sudo_user._runas_pw) +#define runas_gr (sudo_user._runas_gr) +#define user_role (sudo_user.role) +#define user_type (sudo_user.type) +#define user_apparmor_profile (sudo_user.apparmor_profile) +#define user_closefrom (sudo_user.closefrom) +#define runas_privs (sudo_user.privs) +#define runas_limitprivs (sudo_user.limitprivs) +#define user_timeout (sudo_user.timeout) +#define user_runchroot (sudo_user.runchroot) +#define user_runcwd (sudo_user.runcwd) + +/* Default sudoers uid/gid/mode if not set by the Makefile. */ +#ifndef SUDOERS_UID +# define SUDOERS_UID 0 +#endif +#ifndef SUDOERS_GID +# define SUDOERS_GID 0 +#endif +#ifndef SUDOERS_MODE +# define SUDOERS_MODE 0600 +#endif + +struct sudo_lbuf; +struct passwd; +struct stat; +struct timespec; + +/* + * Function prototypes + */ +#define YY_DECL int sudoerslex(void) + +/* goodpath.c */ +bool sudo_goodpath(const char *path, const char *runchroot, struct stat *sbp); + +/* findpath.c */ +int find_path(const char *infile, char **outfile, struct stat *sbp, + const char *path, const char *runchroot, int ignore_dot, + char * const *allowlist); + +/* check.c */ +int check_user(int validate, int mode); +bool check_user_shell(const struct passwd *pw); +bool user_is_exempt(void); + +/* prompt.c */ +char *expand_prompt(const char *old_prompt, const char *auth_user); + +/* timestamp.c */ +int timestamp_remove(bool unlinkit); + +/* sudo_auth.c */ +bool sudo_auth_needs_end_session(void); +int verify_user(struct passwd *pw, char *prompt, int validated, struct sudo_conv_callback *callback); +int sudo_auth_begin_session(struct passwd *pw, char **user_env[]); +int sudo_auth_end_session(struct passwd *pw); +int sudo_auth_init(struct passwd *pw, int mode); +int sudo_auth_approval(struct passwd *pw, int validated, bool exempt); +int sudo_auth_cleanup(struct passwd *pw, bool force); + +/* set_perms.c */ +bool rewind_perms(void); +bool set_perms(int); +bool restore_perms(void); +int pam_prep_user(struct passwd *); + +/* gram.y */ +int sudoersparse(void); +extern char *login_style; +extern bool parse_error; +extern bool sudoers_warnings; +extern bool sudoers_recovery; +extern bool sudoers_strict; + +/* toke.l */ +YY_DECL; +void sudoersrestart(FILE *); +extern FILE *sudoersin; +extern const char *sudoers_file; +extern char *sudoers; +extern mode_t sudoers_mode; +extern uid_t sudoers_uid; +extern gid_t sudoers_gid; +extern int sudolineno; + +/* defaults.c */ +void dump_defaults(void); +void dump_auth_methods(void); + +/* getspwuid.c */ +char *sudo_getepw(const struct passwd *); + +/* pwutil.c */ +typedef struct cache_item * (*sudo_make_pwitem_t)(uid_t uid, const char *user); +typedef struct cache_item * (*sudo_make_gritem_t)(gid_t gid, const char *group); +typedef struct cache_item * (*sudo_make_gidlist_item_t)(const struct passwd *pw, char * const *gids, unsigned int type); +typedef struct cache_item * (*sudo_make_grlist_item_t)(const struct passwd *pw, char * const *groups); +sudo_dso_public struct group *sudo_getgrgid(gid_t); +sudo_dso_public struct group *sudo_getgrnam(const char *); +sudo_dso_public void sudo_gr_addref(struct group *); +sudo_dso_public void sudo_gr_delref(struct group *); +bool user_in_group(const struct passwd *, const char *); +struct group *sudo_fakegrnam(const char *); +struct group *sudo_mkgrent(const char *group, gid_t gid, ...); +struct gid_list *sudo_get_gidlist(const struct passwd *pw, unsigned int type); +struct group_list *sudo_get_grlist(const struct passwd *pw); +struct passwd *sudo_fakepwnam(const char *, gid_t); +struct passwd *sudo_mkpwent(const char *user, uid_t uid, gid_t gid, const char *home, const char *shell); +struct passwd *sudo_getpwnam(const char *); +struct passwd *sudo_getpwuid(uid_t); +void sudo_endspent(void); +void sudo_freegrcache(void); +void sudo_freepwcache(void); +void sudo_gidlist_addref(struct gid_list *); +void sudo_gidlist_delref(struct gid_list *); +void sudo_grlist_addref(struct group_list *); +void sudo_grlist_delref(struct group_list *); +void sudo_pw_addref(struct passwd *); +void sudo_pw_delref(struct passwd *); +int sudo_set_gidlist(struct passwd *pw, char * const *gids, unsigned int type); +int sudo_set_grlist(struct passwd *pw, char * const *groups); +void sudo_pwutil_set_backend(sudo_make_pwitem_t, sudo_make_gritem_t, sudo_make_gidlist_item_t, sudo_make_grlist_item_t); +void sudo_setspent(void); + +/* timestr.c */ +char *get_timestr(time_t, int); + +/* boottime.c */ +bool get_boottime(struct timespec *); + +/* iolog.c */ +bool cb_maxseq(const char *file, int line, int column, const union sudo_defs_val *sd_un, int op); +bool cb_iolog_user(const char *file, int line, int column, const union sudo_defs_val *sd_un, int op); +bool cb_iolog_group(const char *file, int line, int column, const union sudo_defs_val *sd_un, int op); +bool cb_iolog_mode(const char *file, int line, int column, const union sudo_defs_val *sd_un, int op); + +/* iolog_path_escapes.c */ +struct iolog_path_escape; +extern const struct iolog_path_escape *sudoers_iolog_path_escapes; + +/* env.c */ +char **env_get(void); +bool env_merge(char * const envp[]); +bool env_swap_old(void); +bool env_init(char * const envp[]); +bool init_envtables(void); +bool insert_env_vars(char * const envp[]); +bool read_env_file(const char *path, bool overwrite, bool restricted); +bool rebuild_env(void); +bool validate_env_vars(char * const envp[]); +int sudo_setenv(const char *var, const char *val, int overwrite); +int sudo_unsetenv(const char *var); +char *sudo_getenv(const char *name); +char *sudo_getenv_nodebug(const char *name); +int sudo_putenv_nodebug(char *str, bool dupcheck, bool overwrite); +int sudo_unsetenv_nodebug(const char *var); +int sudoers_hook_getenv(const char *name, char **value, void *closure); +int sudoers_hook_putenv(char *string, void *closure); +int sudoers_hook_setenv(const char *name, const char *value, int overwrite, void *closure); +int sudoers_hook_unsetenv(const char *name, void *closure); +void register_env_file(void * (*ef_open)(const char *), void (*ef_close)(void *), char * (*ef_next)(void *, int *), bool sys); + +/* env_pattern.c */ +bool matches_env_pattern(const char *pattern, const char *var, bool *full_match); + +/* sudoers.c */ +FILE *open_sudoers(const char *, bool, bool *); +bool cb_log_input(const char *file, int line, int column, const union sudo_defs_val *sd_un, int op); +bool cb_log_output(const char *file, int line, int column, const union sudo_defs_val *sd_un, int op); +int set_cmnd_path(const char *runchroot); +int sudoers_init(void *info, sudoers_logger_t logger, char * const envp[]); +int sudoers_policy_main(int argc, char *const argv[], int pwflag, char *env_add[], bool verbose, void *closure); +void sudoers_cleanup(void); +void sudo_user_free(void); +extern struct sudo_user sudo_user; +extern struct passwd *list_pw; +extern bool force_umask; +extern int sudo_mode; +extern int sudoedit_nfiles; +extern uid_t timestamp_uid; +extern gid_t timestamp_gid; +extern sudo_conv_t sudo_conv; +extern sudo_printf_t sudo_printf; +extern struct sudo_plugin_event * (*plugin_event_alloc)(void); + +/* sudoers_debug.c */ +bool sudoers_debug_parse_flags(struct sudo_conf_debug_file_list *debug_files, const char *entry); +bool sudoers_debug_register(const char *plugin_path, struct sudo_conf_debug_file_list *debug_files); +void sudoers_debug_deregister(void); + +/* policy.c */ +int sudoers_policy_deserialize_info(void *v, struct defaults_list *defaults); +bool sudoers_policy_store_result(bool accepted, char *argv[], char *envp[], mode_t cmnd_umask, char *iolog_path, void *v); +extern const char *path_ldap_conf; +extern const char *path_ldap_secret; + +/* group_plugin.c */ +int group_plugin_load(const char *plugin_info); +void group_plugin_unload(void); +int group_plugin_query(const char *user, const char *group, + const struct passwd *pwd); +bool cb_group_plugin(const char *file, int line, int column, const union sudo_defs_val *sd_un, int op); +extern const char *path_plugin_dir; + +/* editor.c */ +char *find_editor(int nfiles, char * const *files, int *argc_out, + char ***argv_out, char * const *allowlist, const char **env_editor); + +/* exptilde.c */ +bool expand_tilde(char **path, const char *user); + +/* gc.c */ +enum sudoers_gc_types { + GC_UNKNOWN, + GC_VECTOR, + GC_PTR +}; +bool sudoers_gc_add(enum sudoers_gc_types type, void *ptr); +bool sudoers_gc_remove(enum sudoers_gc_types type, void *ptr); +void sudoers_gc_init(void); +void sudoers_gc_run(void); + +/* strlcpy_unesc.c */ +size_t strlcpy_unescape(char *dst, const char *src, size_t size); + +/* strvec_join.c */ +char *strvec_join(char *const argv[], char sep, size_t (*cpy)(char *, const char *, size_t)); + +/* unesc_str.c */ +void unescape_string(char *str); + +/* serialize_list.c */ +char *serialize_list(const char *varname, struct list_members *members); + +#endif /* SUDOERS_SUDOERS_H */ diff --git a/plugins/sudoers/sudoers.in b/plugins/sudoers/sudoers.in new file mode 100644 index 0000000..5efda5d --- /dev/null +++ b/plugins/sudoers/sudoers.in @@ -0,0 +1,99 @@ +## sudoers file. +## +## This file MUST be edited with the 'visudo' command as root. +## Failure to use 'visudo' may result in syntax or file permission errors +## that prevent sudo from running. +## +## See the sudoers man page for the details on how to write a sudoers file. +## + +## +## Host alias specification +## +## Groups of machines. These may include host names (optionally with wildcards), +## IP addresses, network numbers or netgroups. +# Host_Alias WEBSERVERS = www1, www2, www3 + +## +## User alias specification +## +## Groups of users. These may consist of user names, uids, Unix groups, +## or netgroups. +# User_Alias ADMINS = millert, dowdy, mikef + +## +## Cmnd alias specification +## +## Groups of commands. Often used to group related commands together. +# Cmnd_Alias PROCESSES = /usr/bin/nice, /bin/kill, /usr/bin/renice, \ +# /usr/bin/pkill, /usr/bin/top +# Cmnd_Alias REBOOT = /sbin/halt, /sbin/reboot, /sbin/poweroff + +## +## Defaults specification +## +## You may wish to keep some of the following environment variables +## when running commands via sudo. +## +## Locale settings +# Defaults env_keep += "LANG LANGUAGE LINGUAS LC_* _XKB_CHARSET" +## +## Run X applications through sudo; HOME is used to find the +## .Xauthority file. Note that other programs use HOME to find +## configuration files and this may lead to privilege escalation! +# Defaults env_keep += "HOME" +## +## X11 resource path settings +# Defaults env_keep += "XAPPLRESDIR XFILESEARCHPATH XUSERFILESEARCHPATH" +## +## Desktop path settings +# Defaults env_keep += "QTDIR KDEDIR" +## +## Allow sudo-run commands to inherit the callers' ConsoleKit session +# Defaults env_keep += "XDG_SESSION_COOKIE" +## +## Uncomment to enable special input methods. Care should be taken as +## this may allow users to subvert the command being run via sudo. +# Defaults env_keep += "XMODIFIERS GTK_IM_MODULE QT_IM_MODULE QT_IM_SWITCHER" +## +## Uncomment to use a hard-coded PATH instead of the user's to find commands +# Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" +## +## Uncomment to send mail if the user does not enter the correct password. +# Defaults mail_badpass +## +## Uncomment to enable logging of a command's output, except for +## sudoreplay and reboot. Use sudoreplay to play back logged sessions. +## Sudo will create up to 2,176,782,336 I/O logs before recycling them. +## Set maxseq to a smaller number if you don't have unlimited disk space. +# Defaults log_output +# Defaults!/usr/bin/sudoreplay !log_output +# Defaults!/usr/local/bin/sudoreplay !log_output +# Defaults!REBOOT !log_output +# Defaults maxseq = 1000 + +## +## Runas alias specification +## + +## +## User privilege specification +## +root ALL=(ALL:ALL) ALL + +## Uncomment to allow members of group wheel to execute any command +# %wheel ALL=(ALL:ALL) ALL + +## Same thing without a password +# %wheel ALL=(ALL:ALL) NOPASSWD: ALL + +## Uncomment to allow members of group sudo to execute any command +# %sudo ALL=(ALL:ALL) ALL + +## Uncomment to allow any user to run sudo if they know the password +## of the user they are running the command as (root by default). +# Defaults targetpw # Ask for the password of the target user +# ALL ALL=(ALL:ALL) ALL # WARNING: only use this together with 'Defaults targetpw' + +## Read drop-in files from @sysconfdir@/sudoers.d +@includedir @sysconfdir@/sudoers.d diff --git a/plugins/sudoers/sudoers_debug.c b/plugins/sudoers/sudoers_debug.c new file mode 100644 index 0000000..471ea8c --- /dev/null +++ b/plugins/sudoers/sudoers_debug.c @@ -0,0 +1,135 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2014-2015 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include + +#include "sudoers.h" + +static int sudoers_debug_instance = SUDO_DEBUG_INSTANCE_INITIALIZER; +static unsigned int sudoers_debug_refcnt; + +static const char *const sudoers_subsystem_names[] = { + "alias", + "audit", + "auth", + "defaults", + "env", + "event", + "ldap", + "logging", + "main", + "match", + "netif", + "nss", + "parser", + "perms", + "plugin", + "rbtree", + "sssd", + "util", + NULL +}; + +#define NUM_SUBSYSTEMS (nitems(sudoers_subsystem_names) - 1) + +/* Subsystem IDs assigned at registration time. */ +unsigned int sudoers_subsystem_ids[NUM_SUBSYSTEMS]; + +/* + * Parse the "filename flags,..." debug_flags entry and insert a new + * sudo_debug_file struct into debug_files. + */ +bool +sudoers_debug_parse_flags(struct sudo_conf_debug_file_list *debug_files, + const char *entry) +{ + /* Already initialized? */ + if (sudoers_debug_instance != SUDO_DEBUG_INSTANCE_INITIALIZER) + return true; + + return sudo_debug_parse_flags(debug_files, entry) != -1; +} + +/* + * Register the specified debug files and program with the + * debug subsystem, freeing the debug list when done. + * Sets the active debug instance as a side effect. + */ +bool +sudoers_debug_register(const char *program, + struct sudo_conf_debug_file_list *debug_files) +{ + int instance = sudoers_debug_instance; + struct sudo_debug_file *debug_file, *debug_next; + + /* Setup debugging if indicated. */ + if (debug_files != NULL && !TAILQ_EMPTY(debug_files)) { + if (program != NULL) { + instance = sudo_debug_register(program, sudoers_subsystem_names, + sudoers_subsystem_ids, debug_files, -1); + } + TAILQ_FOREACH_SAFE(debug_file, debug_files, entries, debug_next) { + TAILQ_REMOVE(debug_files, debug_file, entries); + free(debug_file->debug_file); + free(debug_file->debug_flags); + free(debug_file); + } + } + + switch (instance) { + case SUDO_DEBUG_INSTANCE_ERROR: + return false; + case SUDO_DEBUG_INSTANCE_INITIALIZER: + /* Nothing to do */ + break; + default: + /* New debug instance or additional reference on existing one. */ + sudoers_debug_instance = instance; + sudo_debug_set_active_instance(sudoers_debug_instance); + sudoers_debug_refcnt++; + break; + } + + return true; +} + +/* + * Deregister sudoers_debug_instance if it is registered. + */ +void +sudoers_debug_deregister(void) +{ + debug_decl(sudoers_debug_deregister, SUDOERS_DEBUG_PLUGIN); + + if (sudoers_debug_refcnt != 0) { + sudo_debug_exit(__func__, __FILE__, __LINE__, sudo_debug_subsys); + if (--sudoers_debug_refcnt == 0) { + if (sudo_debug_deregister(sudoers_debug_instance) < 1) + sudoers_debug_instance = SUDO_DEBUG_INSTANCE_INITIALIZER; + } + } +} diff --git a/plugins/sudoers/sudoers_debug.h b/plugins/sudoers/sudoers_debug.h new file mode 100644 index 0000000..a3119fe --- /dev/null +++ b/plugins/sudoers/sudoers_debug.h @@ -0,0 +1,48 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2014 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#ifndef SUDOERS_DEBUG_H +#define SUDOERS_DEBUG_H + +#include "sudo_debug.h" + +/* + * Sudoers debug subsystems. + * Note that sudoers_subsystem_ids[] is filled in at debug registration time. + */ +extern unsigned int sudoers_subsystem_ids[]; +#define SUDOERS_DEBUG_ALIAS (sudoers_subsystem_ids[ 0]) /* sudoers alias functions */ +#define SUDOERS_DEBUG_AUDIT (sudoers_subsystem_ids[ 1]) /* audit */ +#define SUDOERS_DEBUG_AUTH (sudoers_subsystem_ids[ 2]) /* authentication functions */ +#define SUDOERS_DEBUG_DEFAULTS (sudoers_subsystem_ids[ 3]) /* sudoers defaults settings */ +#define SUDOERS_DEBUG_ENV (sudoers_subsystem_ids[ 4]) /* environment handling */ +#define SUDOERS_DEBUG_EVENT (sudoers_subsystem_ids[ 5]) /* event handling */ +#define SUDOERS_DEBUG_LDAP (sudoers_subsystem_ids[ 6]) /* sudoers LDAP */ +#define SUDOERS_DEBUG_LOGGING (sudoers_subsystem_ids[ 7]) /* logging functions */ +#define SUDOERS_DEBUG_MAIN (sudoers_subsystem_ids[ 8]) /* main() */ +#define SUDOERS_DEBUG_MATCH (sudoers_subsystem_ids[ 9]) /* sudoers matching */ +#define SUDOERS_DEBUG_NETIF (sudoers_subsystem_ids[10]) /* network interface functions */ +#define SUDOERS_DEBUG_NSS (sudoers_subsystem_ids[11]) /* network service switch */ +#define SUDOERS_DEBUG_PARSER (sudoers_subsystem_ids[12]) /* sudoers parser */ +#define SUDOERS_DEBUG_PERMS (sudoers_subsystem_ids[13]) /* uid/gid swapping functions */ +#define SUDOERS_DEBUG_PLUGIN (sudoers_subsystem_ids[14]) /* main plugin functions */ +#define SUDOERS_DEBUG_RBTREE (sudoers_subsystem_ids[15]) /* red-black tree functions */ +#define SUDOERS_DEBUG_SSSD (sudoers_subsystem_ids[16]) /* sudoers SSSD */ +#define SUDOERS_DEBUG_UTIL (sudoers_subsystem_ids[17]) /* utility functions */ + +#endif /* SUDOERS_DEBUG_H */ diff --git a/plugins/sudoers/sudoers_hooks.c b/plugins/sudoers/sudoers_hooks.c new file mode 100644 index 0000000..738f93b --- /dev/null +++ b/plugins/sudoers/sudoers_hooks.c @@ -0,0 +1,155 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2000-2005, 2007-2019 + * Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Sponsored in part by the Defense Advanced Research Projects + * Agency (DARPA) and Air Force Research Laboratory, Air Force + * Materiel Command, USAF, under agreement number F39502-99-1-0512. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include +#include + +#include "sudoers.h" + +/* + * Similar to setenv(3) but operates on a private copy of the environment. + * Does not include warnings or debugging to avoid recursive calls. + */ +static int +sudo_setenv_nodebug(const char *var, const char *val, int overwrite) +{ + char *ep, *estring = NULL; + const char *cp; + size_t esize; + int ret = -1; + + if (var == NULL || *var == '\0') { + errno = EINVAL; + goto done; + } + + /* + * POSIX says a var name with '=' is an error but BSD + * just ignores the '=' and anything after it. + */ + for (cp = var; *cp && *cp != '='; cp++) + continue; + esize = (size_t)(cp - var) + 2; + if (val) { + esize += strlen(val); /* glibc treats a NULL val as "" */ + } + + /* Allocate and fill in estring. */ + if ((estring = ep = malloc(esize)) == NULL) + goto done; + for (cp = var; *cp && *cp != '='; cp++) + *ep++ = *cp; + *ep++ = '='; + if (val) { + for (cp = val; *cp; cp++) + *ep++ = *cp; + } + *ep = '\0'; + + ret = sudo_putenv_nodebug(estring, true, overwrite); +done: + if (ret == -1) + free(estring); + else + sudoers_gc_add(GC_PTR, estring); + return ret; +} + +int +sudoers_hook_getenv(const char *name, char **value, void *closure) +{ + static bool in_progress = false; /* avoid recursion */ + + if (in_progress || env_get() == NULL) + return SUDO_HOOK_RET_NEXT; + + in_progress = true; + + /* Hack to make GNU gettext() find the sudoers locale when needed. */ + if (*name == 'L' && sudoers_getlocale() == SUDOERS_LOCALE_SUDOERS) { + if (strcmp(name, "LANGUAGE") == 0 || strcmp(name, "LANG") == 0) { + *value = NULL; + goto done; + } + if (strcmp(name, "LC_ALL") == 0 || strcmp(name, "LC_MESSAGES") == 0) { + *value = (char *)def_sudoers_locale; + goto done; + } + } + + *value = sudo_getenv_nodebug(name); +done: + in_progress = false; + return SUDO_HOOK_RET_STOP; +} + +int +sudoers_hook_putenv(char *string, void *closure) +{ + static bool in_progress = false; /* avoid recursion */ + + if (in_progress || env_get() == NULL) + return SUDO_HOOK_RET_NEXT; + + in_progress = true; + sudo_putenv_nodebug(string, true, true); + in_progress = false; + return SUDO_HOOK_RET_STOP; +} + +int +sudoers_hook_setenv(const char *name, const char *value, int overwrite, void *closure) +{ + static bool in_progress = false; /* avoid recursion */ + + if (in_progress || env_get() == NULL) + return SUDO_HOOK_RET_NEXT; + + in_progress = true; + sudo_setenv_nodebug(name, value, overwrite); + in_progress = false; + return SUDO_HOOK_RET_STOP; +} + +int +sudoers_hook_unsetenv(const char *name, void *closure) +{ + static bool in_progress = false; /* avoid recursion */ + + if (in_progress || env_get() == NULL) + return SUDO_HOOK_RET_NEXT; + + in_progress = true; + sudo_unsetenv_nodebug(name); + in_progress = false; + return SUDO_HOOK_RET_STOP; +} diff --git a/plugins/sudoers/sudoers_version.h b/plugins/sudoers/sudoers_version.h new file mode 100644 index 0000000..ecb2b21 --- /dev/null +++ b/plugins/sudoers/sudoers_version.h @@ -0,0 +1,81 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2011-2013, 2015, 2017, 2019-2020 + * Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * Major sudoers grammar changes are documented here. + * Note that minor changes such as added Defaults options are not listed here. + * + * 1 sudo 1.1 + * 2 sudo 1.3, adds support specifying a directory instead of a command. + * 3 sudo 1.3.2, new parser, Aliases have to be upper case + * 4 sudo 1.3.2, adds User_Alias + * 5 sudo 1.3.4, netgroup support + * 6 sudo 1.3.5, support for escaping special chars + * 7 sudo 1.3.7, unix group support + * 8 sudo 1.4.1, wildcard support + * 9 sudo 1.4.2, double quote support in sudoers command line args + * 10 sudo 1.4.3, added NOPASSWD tag + * 11 sudo 1.4.3, added Runas_Spec + * 12 sudo 1.4.3, wildcards may be used in the pathname + * 13 sudo 1.4.3, command args of "" means no args allowed + * 14 sudo 1.4.4, '(' in command args no longer are a syntax error. + * 15 sudo 1.4.4, '!command' works in the presence of runas user or NOPASSWD. + * 16 sudo 1.4.4, all-caps user and host names are now handled properly. + * 17 sudo 1.5.0, usernames may now begin with a digit + * 18 sudo 1.5.3, adds Runas_Alias + * 19 sudo 1.5.7, %group may be used in a Runas_List + * 20 sudo 1.6.0, The runas user and NOPASSWD tags are now persistent across entries in a command list. A PASSWD tag has been added to reverse NOPASSWD + * 21 sudo 1.6.0, The '!' operator can be used in a Runas_Spec or an *_Alias + * 22 sudo 1.6.0, a list of hosts may be used in a Host_Spec + * 23 sudo 1.6.0, a list of users may be used in a User_Spec + * 24 sudo 1.6.0, It is now possible to escape "special" characters in usernames, hostnames, etc with a backslash. + * 25 sudo 1.6.0, Added Defaults run-time settings in sudoers. + * 26 sudo 1.6.0, relaxed the regexp for matching user, host, group names. + * 27 sudo 1.6.1, #uid is now allowed in a Runas_Alias. + * 28 sudo 1.6.2, Wildcards are now allowed in hostnames. + * 29 sudo 1.6.3p7, escaped special characters may be included in pathnames. + * 30 sudo 1.6.8, added NOEXEC and EXEC tags. + * 31 sudo 1.6.9, added SETENV and NOSETENV tags. + * 32 sudo 1.6.9p4, support for IPv6 address matching. + * 33 sudo 1.7.0, #include support. + * 34 sudo 1.7.0, Runas_Group support. + * 35 sudo 1.7.0, uid may now be used anywhere a username is valid. + * 36 sudo 1.7.2, #includedir support. + * 37 sudo 1.7.4, per-command Defaults support. + * 38 sudo 1.7.4, added LOG_INPUT/LOG_OUTPUT and NOLOG_INPUT/NOLOG_OUTPUT tags + * 39 sudo 1.7.6/1.8.1, White space is now permitted within a User_List in a per-user Defaults definition. + * 40 sudo 1.7.6/1.8.1, A group ID is now allowed in a User_List or Runas_List. + * 41 sudo 1.7.6/1.8.4, Support for relative paths in #include and #includedir + * 42 sudo 1.8.6, Support for empty Runas_List (with or without a colon) to mean the invoking user. Support for Solaris Privilege Sets (PRIVS= and LIMITPRIVS=). + * 43 sudo 1.8.7, Support for specifying a digest along with the command. + * 44 sudo 1.8.13, added MAIL/NOMAIL tags. + * 45 sudo 1.8.15, added FOLLOW/NOFOLLOW tags as well as sudoedit_follow and sudoedit_checkdir Defaults. + * 46 sudo 1.8.20, added TIMEOUT, NOTBEFORE and NOTAFTER options. + * 47 sudo 1.9.0, Cmd_Alias treated as Cmnd_Alias, support for multiple digests per command and for ALL. + * 48 sudo 1.9.1, @include and @includedir, include path escaping/quoting. + * 49 sudo 1.9.3, added CWD and CHROOT options. + * 50 sudo 1.9.13, added the list pseudo-command. + */ + +#ifndef SUDOERS_VERSION_H +#define SUDOERS_VERSION_H + +#define SUDOERS_GRAMMAR_VERSION 50 + +#endif /* SUDOERS_VERSION_H */ diff --git a/plugins/sudoers/sudoreplay.c b/plugins/sudoers/sudoreplay.c new file mode 100644 index 0000000..0f068f0 --- /dev/null +++ b/plugins/sudoers/sudoreplay.c @@ -0,0 +1,1718 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2009-2023 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include +#include + +#include +#include +#if defined(HAVE_STDINT_H) +# include +#elif defined(HAVE_INTTYPES_H) +# include +#endif +#include +#include +#include +#include +#include +#include +#include +#include +#ifdef HAVE_STDBOOL_H +# include +#else +# include "compat/stdbool.h" +#endif /* HAVE_STDBOOL_H */ +#include +#include +#ifdef HAVE_GETOPT_LONG +# include +# else +# include "compat/getopt.h" +#endif /* HAVE_GETOPT_LONG */ + +#include "pathnames.h" +#include "sudo_compat.h" +#include "sudo_conf.h" +#include "sudo_debug.h" +#include "sudo_event.h" +#include "sudo_eventlog.h" +#include "sudo_lbuf.h" +#include "sudo_fatal.h" +#include "sudo_gettext.h" +#include "sudo_iolog.h" +#include "sudo_plugin.h" +#include "sudo_queue.h" +#include "sudo_util.h" + +#include "logging.h" + +struct replay_closure { + const char *iolog_dir; + struct sudo_event_base *evbase; + struct sudo_event *delay_ev; + struct sudo_event *keyboard_ev; + struct sudo_event *output_ev; + struct sudo_event *sighup_ev; + struct sudo_event *sigint_ev; + struct sudo_event *sigquit_ev; + struct sudo_event *sigterm_ev; + struct sudo_event *sigtstp_ev; + struct timespec *offset; + struct timespec *max_delay; + struct timing_closure timing; + int iolog_dir_fd; + bool interactive; + bool suspend_wait; + struct io_buffer { + unsigned int len; /* buffer length (how much produced) */ + unsigned int off; /* write position (how much already consumed) */ + unsigned int toread; /* how much remains to be read */ + int lastc; /* last char written */ + char buf[64 * 1024]; + } iobuf; +}; + +/* + * Handle expressions like: + * ( user millert or user root ) and tty console and command /bin/sh + */ +STAILQ_HEAD(search_node_list, search_node); +struct search_node { + STAILQ_ENTRY(search_node) entries; +#define ST_EXPR 1 +#define ST_TTY 2 +#define ST_USER 3 +#define ST_PATTERN 4 +#define ST_RUNASUSER 5 +#define ST_RUNASGROUP 6 +#define ST_FROMDATE 7 +#define ST_TODATE 8 +#define ST_CWD 9 +#define ST_HOST 10 + char type; + bool negated; + bool or; + union { + regex_t cmdre; + struct timespec tstamp; + char *cwd; + char *host; + char *tty; + char *user; + char *runas_group; + char *runas_user; + struct search_node_list expr; + void *ptr; + } u; +}; + +static struct search_node_list search_expr = STAILQ_HEAD_INITIALIZER(search_expr); + +static double speed_factor = 1.0; + +static const char *session_dir = _PATH_SUDO_IO_LOGDIR; + +static bool terminal_can_resize, terminal_was_resized, follow_mode; + +static int terminal_lines, terminal_cols; + +static int ttyfd = -1; + +static struct iolog_file iolog_files[] = { + { false }, /* IOFD_STDIN */ + { false }, /* IOFD_STDOUT */ + { false }, /* IOFD_STDERR */ + { false }, /* IOFD_TTYIN */ + { false }, /* IOFD_TTYOUT */ + { true, }, /* IOFD_TIMING */ +}; + +static const char short_opts[] = "d:f:Fhlm:nRSs:V"; +static struct option long_opts[] = { + { "directory", required_argument, NULL, 'd' }, + { "filter", required_argument, NULL, 'f' }, + { "follow", no_argument, NULL, 'F' }, + { "help", no_argument, NULL, 'h' }, + { "list", no_argument, NULL, 'l' }, + { "max-wait", required_argument, NULL, 'm' }, + { "non-interactive", no_argument, NULL, 'n' }, + { "no-resize", no_argument, NULL, 'R' }, + { "suspend-wait", no_argument, NULL, 'S' }, + { "speed", required_argument, NULL, 's' }, + { "version", no_argument, NULL, 'V' }, + { NULL, no_argument, NULL, '\0' }, +}; + +/* XXX move to separate header? (currently in sudoers.h) */ +extern char *get_timestr(time_t, int); +extern time_t get_date(char *); + +static int list_sessions(int, char **, const char *, const char *, const char *); +static int parse_expr(struct search_node_list *, char **, bool); +static void read_keyboard(int fd, int what, void *v); +static int replay_session(int iolog_dir_fd, const char *iolog_dir, + struct timespec *offset, struct timespec *max_wait, const char *decimal, + bool interactive, bool suspend_wait); +static void sudoreplay_cleanup(void); +static void write_output(int fd, int what, void *v); +static void restore_terminal_size(void); +static void setup_terminal(struct eventlog *evlog, bool interactive, bool resize); +sudo_noreturn static void help(void); +sudo_noreturn static void usage(void); + +#define VALID_ID(s) (isalnum((unsigned char)(s)[0]) && \ + isalnum((unsigned char)(s)[1]) && isalnum((unsigned char)(s)[2]) && \ + isalnum((unsigned char)(s)[3]) && isalnum((unsigned char)(s)[4]) && \ + isalnum((unsigned char)(s)[5]) && (s)[6] == '\0') + +sudo_dso_public int main(int argc, char *argv[]); + +int +main(int argc, char *argv[]) +{ + int ch, i, iolog_dir_fd, len, exitcode = EXIT_FAILURE; + bool def_filter = true, listonly = false; + bool interactive = true, suspend_wait = false, resize = true; + const char *decimal, *id, *user = NULL, *pattern = NULL, *tty = NULL; + char *cp, *ep, iolog_dir[PATH_MAX]; + struct timespec offset = { 0, 0}; + struct eventlog *evlog; + struct timespec max_delay_storage, *max_delay = NULL; + double dval; + debug_decl(main, SUDO_DEBUG_MAIN); + +#if defined(SUDO_DEVEL) && defined(__OpenBSD__) + { + extern char *malloc_options; + malloc_options = "S"; + } +#endif + + initprogname(argc > 0 ? argv[0] : "sudoreplay"); + setlocale(LC_ALL, ""); + decimal = localeconv()->decimal_point; + bindtextdomain("sudoers", LOCALEDIR); /* XXX - should have sudoreplay domain */ + textdomain("sudoers"); + + /* Register fatal/fatalx callback. */ + sudo_fatal_callback_register(sudoreplay_cleanup); + + /* Read sudo.conf and initialize the debug subsystem. */ + if (sudo_conf_read(NULL, SUDO_CONF_DEBUG) == -1) + exit(EXIT_FAILURE); + sudo_debug_register(getprogname(), NULL, NULL, + sudo_conf_debug_files(getprogname()), -1); + + while ((ch = getopt_long(argc, argv, short_opts, long_opts, NULL)) != -1) { + switch (ch) { + case 'd': + session_dir = optarg; + break; + case 'f': + /* Set the replay filter. */ + def_filter = false; + for (cp = strtok_r(optarg, ",", &ep); cp; cp = strtok_r(NULL, ",", &ep)) { + if (strcmp(cp, "stdin") == 0) + iolog_files[IOFD_STDIN].enabled = true; + else if (strcmp(cp, "stdout") == 0) + iolog_files[IOFD_STDOUT].enabled = true; + else if (strcmp(cp, "stderr") == 0) + iolog_files[IOFD_STDERR].enabled = true; + else if (strcmp(cp, "ttyin") == 0) + iolog_files[IOFD_TTYIN].enabled = true; + else if (strcmp(cp, "ttyout") == 0) + iolog_files[IOFD_TTYOUT].enabled = true; + else + sudo_fatalx(U_("invalid filter option: %s"), optarg); + } + break; + case 'F': + follow_mode = true; + break; + case 'h': + help(); + /* NOTREACHED */ + case 'l': + listonly = true; + break; + case 'm': + errno = 0; + dval = strtod(optarg, &ep); + if (*ep != '\0' || errno != 0) + sudo_fatalx(U_("invalid max wait: %s"), optarg); + if (dval <= 0.0) { + sudo_timespecclear(&max_delay_storage); + } else { + max_delay_storage.tv_sec = dval; + max_delay_storage.tv_nsec = + (dval - max_delay_storage.tv_sec) * 1000000000.0; + } + max_delay = &max_delay_storage; + break; + case 'n': + interactive = false; + break; + case 'R': + resize = false; + break; + case 'S': + suspend_wait = true; + break; + case 's': + errno = 0; + speed_factor = strtod(optarg, &ep); + if (*ep != '\0' || errno != 0) + sudo_fatalx(U_("invalid speed factor: %s"), optarg); + break; + case 'V': + (void) printf(_("%s version %s\n"), getprogname(), PACKAGE_VERSION); + exitcode = EXIT_SUCCESS; + goto done; + default: + usage(); + /* NOTREACHED */ + } + + } + argc -= optind; + argv += optind; + + if (listonly) { + exitcode = list_sessions(argc, argv, pattern, user, tty); + goto done; + } + + if (argc != 1) + usage(); + + /* By default we replay stdout, stderr and ttyout. */ + if (def_filter) { + iolog_files[IOFD_STDOUT].enabled = true; + iolog_files[IOFD_STDERR].enabled = true; + iolog_files[IOFD_TTYOUT].enabled = true; + } + + /* Check for offset in @sec.nsec form at the end of the id. */ + id = argv[0]; + if ((cp = strchr(id, '@')) != NULL) { + ep = iolog_parse_delay(cp + 1, &offset, decimal); + if (ep == NULL || *ep != '\0') + sudo_fatalx(U_("invalid time offset %s"), cp + 1); + *cp = '\0'; + } + + /* 6 digit ID in base 36, e.g. 01G712AB or free-form name */ + if (VALID_ID(id)) { + len = snprintf(iolog_dir, sizeof(iolog_dir), "%s/%.2s/%.2s/%.2s", + session_dir, id, &id[2], &id[4]); + if (len < 0 || len >= ssizeof(iolog_dir)) + sudo_fatalx(U_("%s/%.2s/%.2s/%.2s: %s"), session_dir, + id, &id[2], &id[4], strerror(ENAMETOOLONG)); + } else if (id[0] == '/') { + len = snprintf(iolog_dir, sizeof(iolog_dir), "%s", id); + if (len < 0 || len >= ssizeof(iolog_dir)) + sudo_fatalx(U_("%s/timing: %s"), id, strerror(ENAMETOOLONG)); + } else { + len = snprintf(iolog_dir, sizeof(iolog_dir), "%s/%s", session_dir, id); + if (len < 0 || len >= ssizeof(iolog_dir)) { + sudo_fatalx(U_("%s/%s: %s"), session_dir, id, + strerror(ENAMETOOLONG)); + } + } + + /* Open files for replay, applying replay filter for the -f flag. */ + if ((iolog_dir_fd = iolog_openat(AT_FDCWD, iolog_dir, O_RDONLY)) == -1) + sudo_fatal("%s", iolog_dir); + for (i = 0; i < IOFD_MAX; i++) { + if (!iolog_open(&iolog_files[i], iolog_dir_fd, i, "r")) { + if (errno != ENOENT) { + sudo_fatal(U_("unable to open %s/%s"), iolog_dir, + iolog_fd_to_name(i)); + } + } + } + if (!iolog_files[IOFD_TIMING].enabled) { + sudo_fatal(U_("unable to open %s/%s"), iolog_dir, + iolog_fd_to_name(IOFD_TIMING)); + } + + /* Parse log file. */ + if ((evlog = iolog_parse_loginfo(iolog_dir_fd, iolog_dir)) == NULL) + goto done; + printf(_("Replaying sudo session: %s"), evlog->command); + if (evlog->argv != NULL && evlog->argv[0] != NULL) { + for (i = 1; evlog->argv[i] != NULL; i++) + printf(" %s", evlog->argv[i]); + } + + /* Setup terminal if appropriate. */ + if (!isatty(STDIN_FILENO) || !isatty(STDOUT_FILENO)) + interactive = false; + setup_terminal(evlog, interactive, resize); + putchar('\r'); + putchar('\n'); + + /* Done with parsed log file. */ + eventlog_free(evlog); + evlog = NULL; + + /* Replay session corresponding to iolog_files[]. */ + exitcode = replay_session(iolog_dir_fd, iolog_dir, &offset, max_delay, + decimal, interactive, suspend_wait); + + restore_terminal_size(); + sudo_term_restore(ttyfd, true); +done: + sudo_debug_exit_int(__func__, __FILE__, __LINE__, sudo_debug_subsys, exitcode); + return exitcode; +} + +/* + * List of terminals that support xterm-like resizing. + * This is not an exhaustive list. + * For a list of VT100 style escape codes, see: + * http://invisible-island.net/xterm/ctlseqs/ctlseqs.html#VT100%20Mode + */ +struct term_names { + const char *name; + unsigned int len; +} compatible_terms[] = { + { "Eterm", 5 }, + { "aterm", 5 }, + { "dtterm", 6 }, + { "gnome", 5 }, + { "konsole", 7 }, + { "kvt\0", 4 }, + { "mlterm", 6 }, + { "rxvt", 4 }, + { "xterm", 5 }, + { NULL, 0 } +}; + +struct getsize_closure { + int nums[2]; + int nums_depth; + int nums_maxdepth; + int state; + const char *cp; + struct sudo_event *ev; + struct timespec timeout; +}; + +/* getsize states */ +#define INITIAL 0x00 +#define NEW_NUMBER 0x01 +#define NUMBER 0x02 +#define GOTSIZE 0x04 +#define READCHAR 0x10 + +/* + * Callback for reading the terminal size response. + * We use an event for this to support timeouts. + */ +static void +getsize_cb(int fd, int what, void *v) +{ + struct getsize_closure *gc = v; + unsigned char ch = '\0'; + debug_decl(getsize_cb, SUDO_DEBUG_UTIL); + + for (;;) { + if (gc->cp[0] == '\0') { + gc->state = GOTSIZE; + goto done; + } + if (ISSET(gc->state, READCHAR)) { + ssize_t nread = read(ttyfd, &ch, 1); + switch (nread) { + case -1: + if (errno == EAGAIN) + goto another; + FALLTHROUGH; + case 0: + goto done; + default: + CLR(gc->state, READCHAR); + break; + } + } + switch (gc->state) { + case INITIAL: + if (ch == 0233 && gc->cp[0] == '\033') { + /* meta escape, equivalent to ESC[ */ + ch = '['; + gc->cp++; + } + if (gc->cp[0] == '%' && gc->cp[1] == 'd') { + gc->state = NEW_NUMBER; + continue; + } + if (gc->cp[0] != ch) { + sudo_debug_printf(SUDO_DEBUG_WARN|SUDO_DEBUG_LINENO, + "got %d, expected %d", ch, gc->cp[0]); + goto done; + } + sudo_debug_printf(SUDO_DEBUG_DEBUG|SUDO_DEBUG_LINENO, + "got %d", ch); + SET(gc->state, READCHAR); + gc->cp++; + break; + case NEW_NUMBER: + sudo_debug_printf(SUDO_DEBUG_DEBUG|SUDO_DEBUG_LINENO, + "parsing number"); + if (!isdigit(ch)) + goto done; + gc->cp += 2; + if (gc->nums_depth > gc->nums_maxdepth) + goto done; + gc->nums[gc->nums_depth] = 0; + gc->state = NUMBER; + FALLTHROUGH; + case NUMBER: + if (!isdigit(ch)) { + /* done with number, reparse ch */ + sudo_debug_printf(SUDO_DEBUG_DEBUG|SUDO_DEBUG_LINENO, + "number %d (ch %d)", gc->nums[gc->nums_depth], ch); + gc->nums_depth++; + gc->state = INITIAL; + continue; + } + sudo_debug_printf(SUDO_DEBUG_DEBUG|SUDO_DEBUG_LINENO, + "got %d", ch); + if (gc->nums[gc->nums_depth] > INT_MAX / 10) + goto done; + gc->nums[gc->nums_depth] *= 10; + gc->nums[gc->nums_depth] += (ch - '0'); + SET(gc->state, READCHAR); + break; + } + } + +another: + if (sudo_ev_add(NULL, gc->ev, &gc->timeout, false) == -1) + sudo_fatal("%s", U_("unable to add event to queue")); +done: + debug_return; +} + + +/* + * Get the terminal size using vt100 terminal escapes. + */ +static bool +xterm_get_size(int *new_lines, int *new_cols) +{ + struct sudo_event_base *evbase; + struct getsize_closure gc; + const char getsize_request[] = "\0337\033[r\033[999;999H\033[6n"; + const char getsize_response[] = "\033[%d;%dR"; + bool ret = false; + debug_decl(xterm_get_size, SUDO_DEBUG_UTIL); + + /* request the terminal's size */ + if (write(ttyfd, getsize_request, strlen(getsize_request)) == -1) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO|SUDO_DEBUG_ERRNO, + "%s: error writing xterm size request", __func__); + goto done; + } + + /* + * Callback info for reading back the size with a 10 second timeout. + * We expect two numbers (lines and cols). + */ + gc.state = INITIAL|READCHAR; + gc.nums_depth = 0; + gc.nums_maxdepth = 1; + gc.cp = getsize_response; + gc.timeout.tv_sec = 10; + gc.timeout.tv_nsec = 0; + + /* Setup an event for reading the terminal size */ + evbase = sudo_ev_base_alloc(); + if (evbase == NULL) + sudo_fatalx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + gc.ev = sudo_ev_alloc(ttyfd, SUDO_EV_READ, getsize_cb, &gc); + if (gc.ev == NULL) + sudo_fatalx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + + /* Read back terminal size response */ + if (sudo_ev_add(evbase, gc.ev, &gc.timeout, false) == -1) + sudo_fatal("%s", U_("unable to add event to queue")); + sudo_ev_dispatch(evbase); + + if (gc.state == GOTSIZE) { + sudo_debug_printf(SUDO_DEBUG_INFO|SUDO_DEBUG_LINENO, + "terminal size %d x %x", gc.nums[0], gc.nums[1]); + *new_lines = gc.nums[0]; + *new_cols = gc.nums[1]; + ret = true; + } + + sudo_ev_base_free(evbase); + sudo_ev_free(gc.ev); + +done: + debug_return_bool(ret); +} + +/* + * Set the size of the text area to lines and cols. + * Depending on the terminal implementation, the window itself may + * or may not shrink to a smaller size. + */ +static bool +xterm_set_size(int lines, int cols) +{ + const char setsize_fmt[] = "\033[8;%d;%dt"; + int len, new_lines, new_cols; + bool ret = false; + char buf[1024]; + debug_decl(xterm_set_size, SUDO_DEBUG_UTIL); + + /* XXX - save cursor and position restore after resizing */ + len = snprintf(buf, sizeof(buf), setsize_fmt, lines, cols); + if (len < 0 || len >= ssizeof(buf)) { + /* not possible due to size of buf */ + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "%s: internal error, buffer too small?", __func__); + goto done; + } + if (write(ttyfd, buf, strlen(buf)) == -1) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO|SUDO_DEBUG_ERRNO, + "%s: error writing xterm resize request", __func__); + goto done; + } + /* XXX - keyboard input will interfere with this */ + if (!xterm_get_size(&new_lines, &new_cols)) + goto done; + if (lines == new_lines && cols == new_cols) + ret = true; + +done: + debug_return_bool(ret); +} + +static void +setup_terminal(struct eventlog *evlog, bool interactive, bool resize) +{ + const char *term; + debug_decl(check_terminal, SUDO_DEBUG_UTIL); + + fflush(stdout); + + /* Open fd for /dev/tty and set to raw mode. */ + if (interactive) { + ttyfd = open(_PATH_TTY, O_RDWR); + while (!sudo_term_raw(ttyfd, 1)) { + if (errno != EINTR) + sudo_fatal("%s", U_("unable to set tty to raw mode")); + kill(getpid(), SIGTTOU); + } + } + + /* Find terminal size if the session has size info. */ + if (evlog->lines == 0 && evlog->columns == 0) { + /* no tty size info, hope for the best... */ + debug_return; + } + + if (resize && ttyfd != -1) { + term = getenv("TERM"); + if (term != NULL && *term != '\0') { + struct term_names *tn; + + for (tn = compatible_terms; tn->name != NULL; tn++) { + if (strncmp(term, tn->name, tn->len) == 0) { + /* xterm-like terminals can resize themselves. */ + if (xterm_get_size(&terminal_lines, &terminal_cols)) + terminal_can_resize = true; + break; + } + } + } + } + + if (!terminal_can_resize) { + /* either not xterm or not interactive */ + sudo_get_ttysize(&terminal_lines, &terminal_cols); + } + + if (evlog->lines == terminal_lines && evlog->columns == terminal_cols) { + /* nothing to change */ + debug_return; + } + + if (terminal_can_resize) { + /* session terminal size is different, try to resize ours */ + if (xterm_set_size(evlog->lines, evlog->columns)) { + /* success */ + sudo_debug_printf(SUDO_DEBUG_INFO|SUDO_DEBUG_LINENO, + "resized terminal to %d x %x", evlog->lines, evlog->columns); + terminal_was_resized = true; + debug_return; + } + /* resize failed, don't try again */ + terminal_can_resize = false; + } + + if (evlog->lines > terminal_lines || evlog->columns > terminal_cols) { + fputs(_("Warning: your terminal is too small to properly replay the log.\n"), stdout); + printf(_("Log geometry is %d x %d, your terminal's geometry is %d x %d."), evlog->lines, evlog->columns, terminal_lines, terminal_cols); + } + debug_return; +} + +static void +resize_terminal(int lines, int cols) +{ + debug_decl(resize_terminal, SUDO_DEBUG_UTIL); + + if (terminal_can_resize) { + if (xterm_set_size(lines, cols)) + terminal_was_resized = true; + else + terminal_can_resize = false; + } + + debug_return; +} + +static void +restore_terminal_size(void) +{ + debug_decl(restore_terminal, SUDO_DEBUG_UTIL); + + if (terminal_was_resized) { + /* We are still in raw mode, hence the carriage return. */ + putchar('\r'); + fputs(U_("Replay finished, press any key to restore the terminal."), + stdout); + fflush(stdout); + (void)getchar(); + xterm_set_size(terminal_lines, terminal_cols); + putchar('\r'); + putchar('\n'); + } + + debug_return; +} + +static bool +iolog_complete(struct replay_closure *closure) +{ + struct stat sb; + debug_decl(iolog_complete, SUDO_DEBUG_UTIL); + + if (fstatat(closure->iolog_dir_fd, "timing", &sb, 0) != -1) { + if (ISSET(sb.st_mode, S_IWUSR|S_IWGRP|S_IWOTH)) + debug_return_bool(false); + } + + debug_return_bool(true); +} + +/* + * Read the next record from the timing file and schedule a delay + * event with the specified timeout. + * In follow mode, ignore EOF and just delay for a short time. + * Return 0 on success, 1 on EOF and -1 on error. + */ +static int +get_timing_record(struct replay_closure *closure) +{ + struct timing_closure *timing = &closure->timing; + bool nodelay = false; + debug_decl(get_timing_record, SUDO_DEBUG_UTIL); + + if (follow_mode && timing->event == IO_EVENT_COUNT) { + /* In follow mode, we already waited. */ + nodelay = true; + } + + switch (iolog_read_timing_record(&iolog_files[IOFD_TIMING], timing)) { + case -1: + /* error */ + debug_return_int(-1); + case 1: + /* EOF */ + if (!follow_mode || iolog_complete(closure)) { + debug_return_int(1); + } + /* Follow mode, keep reading until done. */ + iolog_clearerr(&iolog_files[IOFD_TIMING]); + timing->delay.tv_sec = 0; + timing->delay.tv_nsec = 1000000; + timing->iol = NULL; + timing->event = IO_EVENT_COUNT; + break; + default: + /* Record number bytes to read. */ + if (timing->event != IO_EVENT_WINSIZE && + timing->event != IO_EVENT_SUSPEND) { + closure->iobuf.len = 0; + closure->iobuf.off = 0; + closure->iobuf.lastc = '\0'; + closure->iobuf.toread = timing->u.nbytes; + } + + if (sudo_timespecisset(closure->offset)) { + if (sudo_timespeccmp(&timing->delay, closure->offset, >)) { + sudo_timespecsub(&timing->delay, closure->offset, &timing->delay); + sudo_timespecclear(closure->offset); + } else { + sudo_timespecsub(closure->offset, &timing->delay, closure->offset); + sudo_timespecclear(&timing->delay); + } + } + + if (nodelay) { + /* Already waited, fire immediately. */ + timing->delay.tv_sec = 0; + timing->delay.tv_nsec = 0; + } else { + /* Adjust delay using speed factor and max_delay. */ + iolog_adjust_delay(&timing->delay, closure->max_delay, + speed_factor); + } + break; + } + + /* Schedule the delay event. */ + if (sudo_ev_add(closure->evbase, closure->delay_ev, &timing->delay, false) == -1) + sudo_fatal("%s", U_("unable to add event to queue")); + + debug_return_int(0); +} + +/* + * Read next timing record. + * Exits the event loop on EOF, breaks out on error. + */ +static void +next_timing_record(struct replay_closure *closure) +{ + debug_decl(next_timing_record, SUDO_DEBUG_UTIL); + +again: + switch (get_timing_record(closure)) { + case 0: + /* success */ + if (closure->timing.event == IO_EVENT_SUSPEND && + closure->timing.u.signo == SIGCONT && !closure->suspend_wait) { + /* Ignore time spent suspended. */ + goto again; + } + break; + case 1: + /* EOF */ + sudo_ev_loopexit(closure->evbase); + break; + default: + /* error */ + sudo_ev_loopbreak(closure->evbase); + break; + } + debug_return; +} + +static bool +fill_iobuf(struct replay_closure *closure) +{ + const size_t space = sizeof(closure->iobuf.buf) - closure->iobuf.len; + const struct timing_closure *timing = &closure->timing; + const char *errstr; + debug_decl(fill_iobuf, SUDO_DEBUG_UTIL); + + if (closure->iobuf.toread != 0 && space != 0) { + const size_t len = + closure->iobuf.toread < space ? closure->iobuf.toread : space; + ssize_t nread = iolog_read(timing->iol, + closure->iobuf.buf + closure->iobuf.off, len, &errstr); + if (nread <= 0) { + if (nread == 0) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "%s/%s: premature EOF, expected %u bytes", + closure->iolog_dir, iolog_fd_to_name(timing->event), + closure->iobuf.toread); + } else { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "%s/%s: read error: %s", closure->iolog_dir, + iolog_fd_to_name(timing->event), errstr); + } + sudo_warnx(U_("unable to read %s/%s: %s"), + closure->iolog_dir, iolog_fd_to_name(timing->event), errstr); + debug_return_bool(false); + } + closure->iobuf.toread -= nread; + closure->iobuf.len += nread; + } + + debug_return_bool(true); +} + +/* + * Called when the inter-record delay has expired. + * Depending on the record type, either reads the next + * record or changes window size. + */ +static void +delay_cb(int fd, int what, void *v) +{ + struct replay_closure *closure = v; + struct timing_closure *timing = &closure->timing; + debug_decl(delay_cb, SUDO_DEBUG_UTIL); + + switch (timing->event) { + case IO_EVENT_WINSIZE: + resize_terminal(timing->u.winsize.lines, timing->u.winsize.cols); + break; + case IO_EVENT_STDIN: + if (iolog_files[IOFD_STDIN].enabled) + timing->iol = &iolog_files[IOFD_STDIN]; + break; + case IO_EVENT_STDOUT: + if (iolog_files[IOFD_STDOUT].enabled) + timing->iol = &iolog_files[IOFD_STDOUT]; + break; + case IO_EVENT_STDERR: + if (iolog_files[IOFD_STDERR].enabled) + timing->iol = &iolog_files[IOFD_STDERR]; + break; + case IO_EVENT_TTYIN: + if (iolog_files[IOFD_TTYIN].enabled) + timing->iol = &iolog_files[IOFD_TTYIN]; + break; + case IO_EVENT_TTYOUT: + if (iolog_files[IOFD_TTYOUT].enabled) + timing->iol = &iolog_files[IOFD_TTYOUT]; + break; + } + + if (timing->iol != NULL) { + /* If the stream is open, enable the write event. */ + if (sudo_ev_add(closure->evbase, closure->output_ev, NULL, false) == -1) + sudo_fatal("%s", U_("unable to add event to queue")); + } else { + /* Not replaying, get the next timing record and continue. */ + next_timing_record(closure); + } + + debug_return; +} + +static void +replay_closure_free(struct replay_closure *closure) +{ + /* + * Free events and event base, then the closure itself. + */ + if (closure->iolog_dir_fd != -1) + close(closure->iolog_dir_fd); + sudo_ev_free(closure->delay_ev); + sudo_ev_free(closure->keyboard_ev); + sudo_ev_free(closure->output_ev); + sudo_ev_free(closure->sighup_ev); + sudo_ev_free(closure->sigint_ev); + sudo_ev_free(closure->sigquit_ev); + sudo_ev_free(closure->sigterm_ev); + sudo_ev_free(closure->sigtstp_ev); + sudo_ev_base_free(closure->evbase); + free(closure); +} + +static void +signal_cb(int signo, int what, void *v) +{ + struct replay_closure *closure = v; + debug_decl(signal_cb, SUDO_DEBUG_UTIL); + + switch (signo) { + case SIGHUP: + case SIGINT: + case SIGQUIT: + case SIGTERM: + /* Free the event base and restore signal handlers. */ + replay_closure_free(closure); + + /* Restore the terminal and die. */ + sudoreplay_cleanup(); + kill(getpid(), signo); + break; + case SIGTSTP: + /* Ignore ^Z since we have no way to restore the screen. */ + break; + } + + debug_return; +} + +static struct replay_closure * +replay_closure_alloc(int iolog_dir_fd, const char *iolog_dir, + struct timespec *offset, struct timespec *max_delay, const char *decimal, + bool interactive, bool suspend_wait) +{ + struct replay_closure *closure; + debug_decl(replay_closure_alloc, SUDO_DEBUG_UTIL); + + if ((closure = calloc(1, sizeof(*closure))) == NULL) + debug_return_ptr(NULL); + + closure->iolog_dir_fd = iolog_dir_fd; + closure->iolog_dir = iolog_dir; + closure->interactive = interactive; + closure->offset = offset; + closure->suspend_wait = suspend_wait; + closure->max_delay = max_delay; + closure->timing.decimal = decimal; + + /* + * Setup event base and delay, input and output events. + * If interactive, take input from and write to /dev/tty. + * If not interactive there is no input event. + */ + closure->evbase = sudo_ev_base_alloc(); + if (closure->evbase == NULL) + goto bad; + closure->delay_ev = sudo_ev_alloc(-1, SUDO_EV_TIMEOUT, delay_cb, closure); + if (closure->delay_ev == NULL) + goto bad; + if (interactive) { + closure->keyboard_ev = sudo_ev_alloc(ttyfd, SUDO_EV_READ|SUDO_EV_PERSIST, + read_keyboard, closure); + if (closure->keyboard_ev == NULL) + goto bad; + if (sudo_ev_add(closure->evbase, closure->keyboard_ev, NULL, false) == -1) + sudo_fatal("%s", U_("unable to add event to queue")); + } + closure->output_ev = sudo_ev_alloc(interactive ? ttyfd : STDOUT_FILENO, + SUDO_EV_WRITE, write_output, closure); + if (closure->output_ev == NULL) + goto bad; + + /* + * Setup signal events, we need to restore the terminal if killed. + */ + closure->sighup_ev = sudo_ev_alloc(SIGHUP, SUDO_EV_SIGNAL, signal_cb, + closure); + if (closure->sighup_ev == NULL) + goto bad; + if (sudo_ev_add(closure->evbase, closure->sighup_ev, NULL, false) == -1) + sudo_fatal("%s", U_("unable to add event to queue")); + + closure->sigint_ev = sudo_ev_alloc(SIGINT, SUDO_EV_SIGNAL, signal_cb, + closure); + if (closure->sigint_ev == NULL) + goto bad; + if (sudo_ev_add(closure->evbase, closure->sigint_ev, NULL, false) == -1) + sudo_fatal("%s", U_("unable to add event to queue")); + + closure->sigquit_ev = sudo_ev_alloc(SIGQUIT, SUDO_EV_SIGNAL, signal_cb, + closure); + if (closure->sigquit_ev == NULL) + goto bad; + if (sudo_ev_add(closure->evbase, closure->sigquit_ev, NULL, false) == -1) + sudo_fatal("%s", U_("unable to add event to queue")); + + closure->sigterm_ev = sudo_ev_alloc(SIGTERM, SUDO_EV_SIGNAL, signal_cb, + closure); + if (closure->sigterm_ev == NULL) + goto bad; + if (sudo_ev_add(closure->evbase, closure->sigterm_ev, NULL, false) == -1) + sudo_fatal("%s", U_("unable to add event to queue")); + + closure->sigtstp_ev = sudo_ev_alloc(SIGTSTP, SUDO_EV_SIGNAL, signal_cb, + closure); + if (closure->sigtstp_ev == NULL) + goto bad; + if (sudo_ev_add(closure->evbase, closure->sigtstp_ev, NULL, false) == -1) + sudo_fatal("%s", U_("unable to add event to queue")); + + debug_return_ptr(closure); +bad: + replay_closure_free(closure); + debug_return_ptr(NULL); +} + +static int +replay_session(int iolog_dir_fd, const char *iolog_dir, struct timespec *offset, + struct timespec *max_delay, const char *decimal, bool interactive, + bool suspend_wait) +{ + struct replay_closure *closure; + int ret = 0; + debug_decl(replay_session, SUDO_DEBUG_UTIL); + + /* Allocate the delay closure and read the first timing record. */ + closure = replay_closure_alloc(iolog_dir_fd, iolog_dir, offset, max_delay, + decimal, interactive, suspend_wait); + if (get_timing_record(closure) != 0) { + ret = 1; + goto done; + } + + /* Run event loop. */ + sudo_ev_dispatch(closure->evbase); + if (sudo_ev_got_break(closure->evbase)) + ret = 1; + +done: + /* Clean up and return. */ + replay_closure_free(closure); + debug_return_int(ret); +} + +/* + * Write the I/O buffer. + */ +static void +write_output(int fd, int what, void *v) +{ + struct replay_closure *closure = v; + const struct timing_closure *timing = &closure->timing; + struct io_buffer *iobuf = &closure->iobuf; + unsigned iovcnt = 1; + struct iovec iov[2]; + bool added_cr = false; + size_t nbytes, nwritten; + debug_decl(write_output, SUDO_DEBUG_UTIL); + + /* Refill iobuf if there is more to read and buf is empty. */ + if (!fill_iobuf(closure)) { + sudo_ev_loopbreak(closure->evbase); + debug_return; + } + + nbytes = iobuf->len - iobuf->off; + iov[0].iov_base = iobuf->buf + iobuf->off; + iov[0].iov_len = nbytes; + + if (closure->interactive && + (timing->event == IO_EVENT_STDOUT || timing->event == IO_EVENT_STDERR)) { + char *nl; + + /* + * We may need to insert a carriage return before the newline. + * Note that the carriage return may have already been written. + */ + nl = memchr(iov[0].iov_base, '\n', iov[0].iov_len); + if (nl != NULL) { + size_t len = (size_t)(nl - (char *)iov[0].iov_base); + if ((nl == iov[0].iov_base && iobuf->lastc != '\r') || + (nl != iov[0].iov_base && nl[-1] != '\r')) { + iov[0].iov_len = len; + iov[1].iov_base = (char *)"\r\n"; + iov[1].iov_len = 2; + iovcnt = 2; + nbytes = iov[0].iov_len + iov[1].iov_len; + added_cr = true; + } + } + } + + nwritten = writev(fd, iov, iovcnt); + switch ((ssize_t)nwritten) { + case -1: + if (errno != EINTR && errno != EAGAIN) + sudo_fatal(U_("unable to write to %s"), "stdout"); + break; + case 0: + /* Should not happen. */ + break; + default: + if (added_cr && nwritten >= nbytes - 1) { + /* The last char written was either '\r' or '\n'. */ + iobuf->lastc = nwritten == nbytes ? '\n' : '\r'; + } else { + /* Stash the last char written. */ + iobuf->lastc = *((char *)iov[0].iov_base + nwritten); + } + if (added_cr) { + /* Subtract one for the carriage return we added above. */ + nwritten--; + } + iobuf->off += nwritten; + break; + } + + if (iobuf->off == iobuf->len) { + /* Write complete, go to next timing entry if possible. */ + switch (get_timing_record(closure)) { + case 0: + /* success */ + break; + case 1: + /* EOF */ + sudo_ev_loopexit(closure->evbase); + break; + default: + /* error */ + sudo_ev_loopbreak(closure->evbase); + break; + } + } else { + /* Reschedule event to write remainder. */ + if (sudo_ev_add(NULL, closure->output_ev, NULL, false) == -1) + sudo_fatal("%s", U_("unable to add event to queue")); + } + debug_return; +} + +/* + * Build expression list from search args + */ +static int +parse_expr(struct search_node_list *head, char *argv[], bool sub_expr) +{ + bool or = false, not = false; + struct search_node *sn; + char type, **av; + const char *errstr; + debug_decl(parse_expr, SUDO_DEBUG_UTIL); + + for (av = argv; *av != NULL; av++) { + switch (av[0][0]) { + case 'a': /* and (ignore) */ + if (strncmp(*av, "and", strlen(*av)) != 0) + goto bad; + continue; + case 'o': /* or */ + if (strncmp(*av, "or", strlen(*av)) != 0) + goto bad; + or = true; + continue; + case '!': /* negate */ + if (av[0][1] != '\0') + goto bad; + not = true; + continue; + case 'c': /* cwd or command */ + if (av[0][1] == '\0') + sudo_fatalx(U_("ambiguous expression \"%s\""), *av); + if (strncmp(*av, "cwd", strlen(*av)) == 0) + type = ST_CWD; + else if (strncmp(*av, "command", strlen(*av)) == 0) + type = ST_PATTERN; + else + goto bad; + break; + case 'f': /* from date */ + if (strncmp(*av, "fromdate", strlen(*av)) != 0) + goto bad; + type = ST_FROMDATE; + break; + case 'g': /* runas group */ + if (strncmp(*av, "group", strlen(*av)) != 0) + goto bad; + type = ST_RUNASGROUP; + break; + case 'h': /* host */ + if (strncmp(*av, "host", strlen(*av)) != 0) + goto bad; + type = ST_HOST; + break; + case 'r': /* runas user */ + if (strncmp(*av, "runas", strlen(*av)) != 0) + goto bad; + type = ST_RUNASUSER; + break; + case 't': /* tty or to date */ + if (av[0][1] == '\0') + sudo_fatalx(U_("ambiguous expression \"%s\""), *av); + if (strncmp(*av, "todate", strlen(*av)) == 0) + type = ST_TODATE; + else if (strncmp(*av, "tty", strlen(*av)) == 0) + type = ST_TTY; + else + goto bad; + break; + case 'u': /* user */ + if (strncmp(*av, "user", strlen(*av)) != 0) + goto bad; + type = ST_USER; + break; + case '(': /* start sub-expression */ + if (av[0][1] != '\0') + goto bad; + type = ST_EXPR; + break; + case ')': /* end sub-expression */ + if (av[0][1] != '\0') + goto bad; + if (!sub_expr) + sudo_fatalx("%s", U_("unmatched ')' in expression")); + debug_return_int(av - argv + 1); + default: + bad: + sudo_fatalx(U_("unknown search term \"%s\""), *av); + /* NOTREACHED */ + } + + /* Allocate new search node */ + if ((sn = calloc(1, sizeof(*sn))) == NULL) + sudo_fatalx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + sn->type = type; + sn->or = or; + sn->negated = not; + if (type == ST_EXPR) { + STAILQ_INIT(&sn->u.expr); + av += parse_expr(&sn->u.expr, av + 1, true); + } else { + if (*(++av) == NULL) + sudo_fatalx(U_("%s requires an argument"), av[-1]); + if (type == ST_PATTERN) { + if (!sudo_regex_compile(&sn->u.cmdre, *av, &errstr)) { + sudo_fatalx(U_("invalid regular expression \"%s\": %s"), + *av, U_(errstr)); + } + } else if (type == ST_TODATE || type == ST_FROMDATE) { + sn->u.tstamp.tv_sec = get_date(*av); + sn->u.tstamp.tv_nsec = 0; + if (sn->u.tstamp.tv_sec == -1) + sudo_fatalx(U_("could not parse date \"%s\""), *av); + } else { + sn->u.ptr = *av; + } + } + not = or = false; /* reset state */ + STAILQ_INSERT_TAIL(head, sn, entries); + } + if (sub_expr) + sudo_fatalx("%s", U_("unmatched '(' in expression")); + if (or) + sudo_fatalx("%s", U_("illegal trailing \"or\"")); + if (not) + sudo_fatalx("%s", U_("illegal trailing \"!\"")); + + debug_return_int(av - argv); +} + +static char * +expand_command(struct eventlog *evlog, char **newbuf) +{ + size_t len, bufsize = strlen(evlog->command) + 1; + char *cp, *buf; + int ac; + debug_decl(expand_command, SUDO_DEBUG_UTIL); + + if (evlog->argv == NULL || evlog->argv[0] == NULL || evlog->argv[1] == NULL) { + /* No arguments, we can use the command as-is. */ + *newbuf = NULL; + debug_return_str(evlog->command); + } + + /* Skip argv[0], we use evlog->command instead. */ + for (ac = 1; evlog->argv[ac] != NULL; ac++) + bufsize += strlen(evlog->argv[ac]) + 1; + + if ((buf = malloc(bufsize)) == NULL) + sudo_fatalx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + cp = buf; + + len = strlcpy(cp, evlog->command, bufsize); + if (len >= bufsize) + sudo_fatalx(U_("internal error, %s overflow"), __func__); + cp += len; + bufsize -= len; + + for (ac = 1; evlog->argv[ac] != NULL; ac++) { + if (bufsize < 2) + sudo_fatalx(U_("internal error, %s overflow"), __func__); + *cp++ = ' '; + bufsize--; + + len = strlcpy(cp, evlog->argv[ac], bufsize); + if (len >= bufsize) + sudo_fatalx(U_("internal error, %s overflow"), __func__); + cp += len; + bufsize -= len; + } + + *newbuf = buf; + debug_return_str(buf); +} + +static bool +match_expr(struct search_node_list *head, struct eventlog *evlog, bool last_match) +{ + struct search_node *sn; + bool res = false, matched = last_match; + char *tofree; + int rc; + debug_decl(match_expr, SUDO_DEBUG_UTIL); + + STAILQ_FOREACH(sn, head, entries) { + switch (sn->type) { + case ST_EXPR: + res = match_expr(&sn->u.expr, evlog, matched); + break; + case ST_CWD: + if (evlog->cwd != NULL) + res = strcmp(sn->u.cwd, evlog->cwd) == 0; + break; + case ST_HOST: + if (evlog->submithost != NULL) + res = strcmp(sn->u.host, evlog->submithost) == 0; + break; + case ST_TTY: + if (evlog->ttyname != NULL) + res = strcmp(sn->u.tty, evlog->ttyname) == 0; + break; + case ST_RUNASGROUP: + if (evlog->rungroup != NULL) + res = strcmp(sn->u.runas_group, evlog->rungroup) == 0; + break; + case ST_RUNASUSER: + if (evlog->runuser != NULL) + res = strcmp(sn->u.runas_user, evlog->runuser) == 0; + break; + case ST_USER: + if (evlog->submituser != NULL) + res = strcmp(sn->u.user, evlog->submituser) == 0; + break; + case ST_PATTERN: + rc = regexec(&sn->u.cmdre, expand_command(evlog, &tofree), + 0, NULL, 0); + if (rc && rc != REG_NOMATCH) { + char buf[BUFSIZ]; + regerror(rc, &sn->u.cmdre, buf, sizeof(buf)); + sudo_fatalx("%s", buf); + } + res = rc == REG_NOMATCH ? 0 : 1; + free(tofree); + break; + case ST_FROMDATE: + res = sudo_timespeccmp(&evlog->submit_time, &sn->u.tstamp, >=); + break; + case ST_TODATE: + res = sudo_timespeccmp(&evlog->submit_time, &sn->u.tstamp, <=); + break; + default: + sudo_fatalx(U_("unknown search type %d"), sn->type); + /* NOTREACHED */ + } + if (sn->negated) + res = !res; + matched = sn->or ? (res || last_match) : (res && last_match); + last_match = matched; + } + debug_return_bool(matched); +} + +static int +list_session(struct sudo_lbuf *lbuf, char *log_dir, regex_t *re, + const char *user, const char *tty) +{ + struct eventlog *evlog = NULL; + const char *timestr; + int ret = -1; + debug_decl(list_session, SUDO_DEBUG_UTIL); + + if ((evlog = iolog_parse_loginfo(-1, log_dir)) == NULL) + goto done; + + if (evlog->command == NULL || evlog->submituser == NULL || + evlog->runuser == NULL) { + goto done; + } + evlog->iolog_file = log_dir + strlen(session_dir) + 1; + + /* Match on search expression if there is one. */ + if (!STAILQ_EMPTY(&search_expr) && !match_expr(&search_expr, evlog, true)) + goto done; + + timestr = get_timestr(evlog->submit_time.tv_sec, 1); + sudo_lbuf_append_esc(lbuf, LBUF_ESC_CNTRL, "%s : %s : ", + timestr ? timestr : "invalid date", evlog->submituser); + + if (eventlog_store_sudo(EVLOG_ACCEPT, evlog, lbuf)) { + puts(lbuf->buf); + ret = 0; + } + +done: + lbuf->error = 0; + lbuf->len = 0; + eventlog_free(evlog); + debug_return_int(ret); +} + +static int +session_compare(const void *v1, const void *v2) +{ + const char *s1 = *(const char **)v1; + const char *s2 = *(const char **)v2; + return strcmp(s1, s2); +} + +/* XXX - always returns 0, calls sudo_fatal() on failure */ +static int +find_sessions(const char *dir, regex_t *re, const char *user, const char *tty) +{ + DIR *d; + struct dirent *dp; + struct stat sb; + struct sudo_lbuf lbuf; + size_t sdlen, sessions_len = 0, sessions_size = 0; + unsigned int i; + int len; + char pathbuf[PATH_MAX], **sessions = NULL; +#ifdef HAVE_STRUCT_DIRENT_D_TYPE + bool checked_type = true; +#else + const bool checked_type = false; +#endif + debug_decl(find_sessions, SUDO_DEBUG_UTIL); + + sudo_lbuf_init(&lbuf, NULL, 0, NULL, 0); + + d = opendir(dir); + if (d == NULL) + sudo_fatal(U_("unable to open %s"), dir); + + /* XXX - would be faster to use openat() and relative names */ + sdlen = strlcpy(pathbuf, dir, sizeof(pathbuf)); + if (sdlen + 1 >= sizeof(pathbuf)) { + errno = ENAMETOOLONG; + sudo_fatal("%s/", dir); + } + pathbuf[sdlen++] = '/'; + pathbuf[sdlen] = '\0'; + + /* Store potential session dirs for sorting. */ + while ((dp = readdir(d)) != NULL) { + /* Skip "." and ".." */ + if (dp->d_name[0] == '.' && (dp->d_name[1] == '\0' || + (dp->d_name[1] == '.' && dp->d_name[2] == '\0'))) + continue; +#ifdef HAVE_STRUCT_DIRENT_D_TYPE + if (checked_type) { + if (dp->d_type != DT_DIR) { + /* Not all file systems support d_type. */ + if (dp->d_type != DT_UNKNOWN) + continue; + checked_type = false; + } + } +#endif + + /* Add name to session list. */ + if (sessions_len + 1 > sessions_size) { + if (sessions_size == 0) + sessions_size = 36 * 36 / 2; + sessions = reallocarray(sessions, sessions_size, 2 * sizeof(char *)); + if (sessions == NULL) + sudo_fatalx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + sessions_size *= 2; + } + if ((sessions[sessions_len] = strdup(dp->d_name)) == NULL) + sudo_fatalx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + sessions_len++; + } + closedir(d); + + /* Sort and list the sessions. */ + if (sessions != NULL) { + qsort(sessions, sessions_len, sizeof(char *), session_compare); + for (i = 0; i < sessions_len; i++) { + len = snprintf(&pathbuf[sdlen], sizeof(pathbuf) - sdlen, + "%s/log", sessions[i]); + if (len < 0 || (size_t)len >= sizeof(pathbuf) - sdlen) { + errno = ENAMETOOLONG; + sudo_fatal("%s/%s/log", dir, sessions[i]); + } + free(sessions[i]); + + /* Check for dir with a log file. */ + if (lstat(pathbuf, &sb) == 0 && S_ISREG(sb.st_mode)) { + pathbuf[sdlen + len - 4] = '\0'; + list_session(&lbuf, pathbuf, re, user, tty); + } else { + /* Strip off "/log" and recurse if a non-log dir. */ + pathbuf[sdlen + len - 4] = '\0'; + if (checked_type || + (lstat(pathbuf, &sb) == 0 && S_ISDIR(sb.st_mode))) + find_sessions(pathbuf, re, user, tty); + } + } + free(sessions); + } + sudo_lbuf_destroy(&lbuf); + + debug_return_int(0); +} + +/* XXX - always returns 0, calls sudo_fatal() on failure */ +static int +list_sessions(int argc, char **argv, const char *pattern, const char *user, + const char *tty) +{ + regex_t rebuf, *re = NULL; + const char *errstr; + debug_decl(list_sessions, SUDO_DEBUG_UTIL); + + /* Parse search expression if present */ + parse_expr(&search_expr, argv, false); + + /* optional regex */ + if (pattern) { + re = &rebuf; + if (!sudo_regex_compile(re, pattern, &errstr)) { + sudo_fatalx(U_("invalid regular expression \"%s\": %s"), + pattern, U_(errstr)); + } + } + + debug_return_int(find_sessions(session_dir, re, user, tty)); +} + +/* + * Check keyboard for ' ', '<', '>', return + * pause, slow, fast, next + */ +static void +read_keyboard(int fd, int what, void *v) +{ + struct replay_closure *closure = v; + static bool paused = false; + struct timespec ts; + ssize_t nread; + char ch; + debug_decl(read_keyboard, SUDO_DEBUG_UTIL); + + nread = read(fd, &ch, 1); + switch (nread) { + case -1: + if (errno != EINTR && errno != EAGAIN) + sudo_fatal(U_("unable to read %s"), "stdin"); + break; + case 0: + /* Ignore EOF. */ + break; + default: + if (paused) { + /* Any key will unpause, run the delay callback directly. */ + paused = false; + delay_cb(-1, SUDO_EV_TIMEOUT, closure); + debug_return; + } + switch (ch) { + case ' ': + paused = true; + /* Disable the delay event until we unpause. */ + sudo_ev_del(closure->evbase, closure->delay_ev); + break; + case '<': + speed_factor /= 2; + if (sudo_ev_pending(closure->delay_ev, SUDO_EV_TIMEOUT, &ts)) { + /* Double remaining timeout. */ + ts.tv_sec *= 2; + ts.tv_nsec *= 2; + if (ts.tv_nsec >= 1000000000) { + ts.tv_sec++; + ts.tv_nsec -= 1000000000; + } + if (sudo_ev_add(NULL, closure->delay_ev, &ts, false) == -1) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "failed to double remaining delay timeout"); + } + } + break; + case '>': + speed_factor *= 2; + if (sudo_ev_pending(closure->delay_ev, SUDO_EV_TIMEOUT, &ts)) { + /* Halve remaining timeout. */ + if (ts.tv_sec & 1) + ts.tv_nsec += 500000000; + ts.tv_sec /= 2; + ts.tv_nsec /= 2; + if (sudo_ev_add(NULL, closure->delay_ev, &ts, false) == -1) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "failed to halve remaining delay timeout"); + } + } + break; + case '\r': + case '\n': + /* Cancel existing delay, run callback directly. */ + sudo_ev_del(closure->evbase, closure->delay_ev); + delay_cb(-1, SUDO_EV_TIMEOUT, closure); + break; + default: + /* Unknown key, nothing to do. */ + break; + } + break; + } + debug_return; +} + +static void +print_usage(FILE *fp) +{ + fprintf(fp, _("usage: %s [-hnRS] [-d dir] [-m num] [-s num] ID\n"), + getprogname()); + fprintf(fp, _("usage: %s [-h] [-d dir] -l [search expression]\n"), + getprogname()); +} + +static void +usage(void) +{ + print_usage(stderr); + exit(EXIT_FAILURE); +} + +static void +help(void) +{ + (void) printf(_("%s - replay sudo session logs\n\n"), getprogname()); + print_usage(stdout); + (void) puts(_("\nOptions:\n" + " -d, --directory=dir specify directory for session logs\n" + " -f, --filter=filter specify which I/O type(s) to display\n" + " -h, --help display help message and exit\n" + " -l, --list list available session IDs, with optional expression\n" + " -m, --max-wait=num max number of seconds to wait between events\n" + " -n, --non-interactive no prompts, session is sent to the standard output\n" + " -R, --no-resize do not attempt to re-size the terminal\n" + " -S, --suspend-wait wait while the command was suspended\n" + " -s, --speed=num speed up or slow down output\n" + " -V, --version display version information and exit")); + exit(EXIT_SUCCESS); +} + +/* + * Cleanup hook for sudo_fatal()/sudo_fatalx() + */ +static void +sudoreplay_cleanup(void) +{ + restore_terminal_size(); + sudo_term_restore(ttyfd, false); +} diff --git a/plugins/sudoers/testsudoers.c b/plugins/sudoers/testsudoers.c new file mode 100644 index 0000000..3eea349 --- /dev/null +++ b/plugins/sudoers/testsudoers.c @@ -0,0 +1,621 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1996, 1998-2005, 2007-2022 + * Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Sponsored in part by the Defense Advanced Research Projects + * Agency (DARPA) and Air Force Research Laboratory, Air Force + * Materiel Command, USAF, under agreement number F39502-99-1-0512. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include +#include +#include +#include +#include +#ifdef HAVE_STRINGS_H +# include +#endif /* HAVE_STRINGS_H */ +#include +#include + +#include "tsgetgrpw.h" +#include "sudoers.h" +#include "interfaces.h" +#include "sudo_conf.h" +#include "sudo_lbuf.h" +#include + +#ifndef YYDEBUG +# define YYDEBUG 0 +#endif + +enum sudoers_formats { + format_ldif, + format_sudoers +}; + +/* + * Function Prototypes + */ +static void dump_sudoers(struct sudo_lbuf *lbuf); +static void set_runaspw(const char *); +static void set_runasgr(const char *); +static bool cb_runas_default(const char *file, int line, int column, const union sudo_defs_val *, int); +static int testsudoers_error(const char *msg); +static int testsudoers_output(const char *buf); +sudo_noreturn static void usage(void); + +/* testsudoers_pwutil.c */ +extern struct cache_item *testsudoers_make_gritem(gid_t gid, const char *group); +extern struct cache_item *testsudoers_make_grlist_item(const struct passwd *pw, char * const *groups); +extern struct cache_item *testsudoers_make_gidlist_item(const struct passwd *pw, char * const *gids, unsigned int type); +extern struct cache_item *testsudoers_make_pwitem(uid_t uid, const char *user); + +/* gram.y */ +extern int (*trace_print)(const char *msg); + +/* + * Globals + */ +struct sudo_user sudo_user; +struct passwd *list_pw; +static const char *orig_cmnd; +static char *runas_group, *runas_user; + +#if defined(SUDO_DEVEL) && defined(__OpenBSD__) +extern char *malloc_options; +#endif +#if YYDEBUG +extern int sudoersdebug; +#endif + +sudo_dso_public int main(int argc, char *argv[]); + +int +main(int argc, char *argv[]) +{ + enum sudoers_formats input_format = format_sudoers; + struct cmndspec *cs; + struct privilege *priv; + struct userspec *us; + char *p, *grfile, *pwfile; + const char *errstr; + int match, host_match, runas_match, cmnd_match; + int ch, dflag, exitcode = EXIT_FAILURE; + struct sudo_lbuf lbuf; + debug_decl(main, SUDOERS_DEBUG_MAIN); + +#if defined(SUDO_DEVEL) && defined(__OpenBSD__) + malloc_options = "S"; +#endif +#if YYDEBUG + sudoersdebug = 1; +#endif + + initprogname(argc > 0 ? argv[0] : "testsudoers"); + + if (!sudoers_initlocale(setlocale(LC_ALL, ""), def_sudoers_locale)) + sudo_fatalx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + sudo_warn_set_locale_func(sudoers_warn_setlocale); + bindtextdomain("sudoers", LOCALEDIR); /* XXX - should have own domain */ + textdomain("sudoers"); + + /* No word wrap on output. */ + sudo_lbuf_init(&lbuf, testsudoers_output, 0, NULL, 0); + + /* Initialize the debug subsystem. */ + if (sudo_conf_read(NULL, SUDO_CONF_DEBUG) == -1) + goto done; + if (!sudoers_debug_register(getprogname(), sudo_conf_debug_files(getprogname()))) + goto done; + + dflag = 0; + grfile = pwfile = NULL; + while ((ch = getopt(argc, argv, "+dg:G:h:i:P:p:tu:U:")) != -1) { + switch (ch) { + case 'd': + dflag = 1; + break; + case 'G': + sudoers_gid = (gid_t)sudo_strtoid(optarg, &errstr); + if (errstr != NULL) + sudo_fatalx("group-ID %s: %s", optarg, errstr); + break; + case 'g': + runas_group = optarg; + SET(sudo_user.flags, RUNAS_GROUP_SPECIFIED); + break; + case 'h': + user_host = optarg; + break; + case 'i': + if (strcasecmp(optarg, "ldif") == 0) { + input_format = format_ldif; + } else if (strcasecmp(optarg, "sudoers") == 0) { + input_format = format_sudoers; + } else { + sudo_warnx(U_("unsupported input format %s"), optarg); + usage(); + } + break; + case 'p': + pwfile = optarg; + break; + case 'P': + grfile = optarg; + break; + case 't': + trace_print = testsudoers_error; + break; + case 'U': + sudoers_uid = (uid_t)sudo_strtoid(optarg, &errstr); + if (errstr != NULL) + sudo_fatalx("user-ID %s: %s", optarg, errstr); + break; + case 'u': + runas_user = optarg; + SET(sudo_user.flags, RUNAS_USER_SPECIFIED); + break; + default: + usage(); + break; + } + } + argc -= optind; + argv += optind; + + if (grfile != NULL || pwfile != NULL) { + /* Set group/passwd file and init the cache. */ + if (grfile) + testsudoers_setgrfile(grfile); + if (pwfile) + testsudoers_setpwfile(pwfile); + + /* Use custom passwd/group backend. */ + sudo_pwutil_set_backend(testsudoers_make_pwitem, + testsudoers_make_gritem, testsudoers_make_gidlist_item, + testsudoers_make_grlist_item); + } + + if (argc < 2) { + if (!dflag) + usage(); + user_name = argc ? *argv++ : (char *)"root"; + orig_cmnd = "true"; + argc = 0; + } else { + user_name = *argv++; + orig_cmnd = *argv++; + argc -= 2; + } + user_cmnd = strdup(orig_cmnd); + if (user_cmnd == NULL) + sudo_fatalx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + user_base = sudo_basename(user_cmnd); + + if ((sudo_user.pw = sudo_getpwnam(user_name)) == NULL) + sudo_fatalx(U_("unknown user %s"), user_name); + + if (user_host == NULL) { + if ((user_host = sudo_gethostname()) == NULL) + sudo_fatal("gethostname"); + } + if ((p = strchr(user_host, '.'))) { + *p = '\0'; + if ((user_shost = strdup(user_host)) == NULL) + sudo_fatalx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + *p = '.'; + } else { + user_shost = user_host; + } + user_runhost = user_host; + user_srunhost = user_shost; + + /* Fill in user_args from argv. */ + if (argc > 0) { + char *to, **from; + size_t size, n; + + for (size = 0, from = argv; *from; from++) + size += strlen(*from) + 1; + + if ((user_args = malloc(size)) == NULL) + sudo_fatalx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + for (to = user_args, from = argv; *from; from++) { + n = strlcpy(to, *from, size - (to - user_args)); + if (n >= size - (to - user_args)) + sudo_fatalx(U_("internal error, %s overflow"), getprogname()); + to += n; + *to++ = ' '; + } + *--to = '\0'; + } + + /* Initialize default values. */ + if (!init_defaults()) + sudo_fatalx("%s", U_("unable to initialize sudoers default values")); + + /* Set group_plugin callback. */ + sudo_defs_table[I_GROUP_PLUGIN].callback = cb_group_plugin; + + /* Set runas callback. */ + sudo_defs_table[I_RUNAS_DEFAULT].callback = cb_runas_default; + + /* Set locale callback. */ + sudo_defs_table[I_SUDOERS_LOCALE].callback = sudoers_locale_callback; + + /* Load ip addr/mask for each interface. */ + if (get_net_ifs(&p) > 0) { + if (!set_interfaces(p)) + sudo_fatal("%s", U_("unable to parse network address list")); + } + + /* Allocate space for data structures in the parser. */ + init_parser("sudoers", false, true); + + /* + * Set runas passwd/group entries based on command line or sudoers. + * Note that if runas_group was specified without runas_user we + * run the command as the invoking user. + */ + if (runas_group != NULL) { + set_runasgr(runas_group); + set_runaspw(runas_user ? runas_user : user_name); + } else + set_runaspw(runas_user ? runas_user : def_runas_default); + + /* Parse the policy file. */ + sudoers_setlocale(SUDOERS_LOCALE_SUDOERS, NULL); + switch (input_format) { + case format_ldif: + if (!sudoers_parse_ldif(&parsed_policy, stdin, NULL, true)) { + (void) puts("Parse error in LDIF"); + parse_error = true; + } + break; + case format_sudoers: + if (sudoersparse() != 0) + parse_error = true; + break; + default: + sudo_fatalx("error: unhandled input %d", input_format); + } + if (!update_defaults(&parsed_policy, NULL, SETDEF_ALL, false)) + parse_error = true; + + if (!parse_error) + (void) puts("Parses OK"); + + if (dflag) { + (void) putchar('\n'); + dump_sudoers(&lbuf); + if (argc < 2) { + exitcode = parse_error ? 1 : 0; + goto done; + } + } + + /* This loop must match the one in sudo_file_lookup() */ + printf("\nEntries for user %s:\n", user_name); + match = UNSPEC; + TAILQ_FOREACH_REVERSE(us, &parsed_policy.userspecs, userspec_list, entries) { + if (userlist_matches(&parsed_policy, sudo_user.pw, &us->users) != ALLOW) + continue; + TAILQ_FOREACH_REVERSE(priv, &us->privileges, privilege_list, entries) { + sudo_lbuf_append(&lbuf, "\n"); + sudoers_format_privilege(&lbuf, &parsed_policy, priv, false); + sudo_lbuf_print(&lbuf); + host_match = hostlist_matches(&parsed_policy, sudo_user.pw, + &priv->hostlist); + if (host_match == ALLOW) { + puts("\thost matched"); + TAILQ_FOREACH_REVERSE(cs, &priv->cmndlist, cmndspec_list, entries) { + runas_match = runaslist_matches(&parsed_policy, + cs->runasuserlist, cs->runasgrouplist, NULL, NULL); + if (runas_match == ALLOW) { + puts("\trunas matched"); + cmnd_match = cmnd_matches(&parsed_policy, cs->cmnd, + cs->runchroot, NULL); + if (cmnd_match != UNSPEC) + match = cmnd_match; + printf("\tcmnd %s\n", match == ALLOW ? "allowed" : + match == DENY ? "denied" : "unmatched"); + } + } + } else + puts(U_("\thost unmatched")); + } + } + puts(match == ALLOW ? U_("\nCommand allowed") : + match == DENY ? U_("\nCommand denied") : U_("\nCommand unmatched")); + + /* + * Exit codes: + * 0 - parsed OK and command matched. + * 1 - parse error + * 2 - command not matched + * 3 - command denied + */ + exitcode = parse_error ? 1 : (match == ALLOW ? 0 : match + 3); +done: + sudo_lbuf_destroy(&lbuf); + sudo_freepwcache(); + sudo_freegrcache(); + sudo_debug_exit_int(__func__, __FILE__, __LINE__, sudo_debug_subsys, exitcode); + exit(exitcode); +} + +static void +set_runaspw(const char *user) +{ + struct passwd *pw = NULL; + debug_decl(set_runaspw, SUDOERS_DEBUG_UTIL); + + if (*user == '#') { + const char *errstr; + uid_t uid = sudo_strtoid(user + 1, &errstr); + if (errstr == NULL) { + if ((pw = sudo_getpwuid(uid)) == NULL) + pw = sudo_fakepwnam(user, user_gid); + } + } + if (pw == NULL) { + if ((pw = sudo_getpwnam(user)) == NULL) + sudo_fatalx(U_("unknown user %s"), user); + } + if (runas_pw != NULL) + sudo_pw_delref(runas_pw); + runas_pw = pw; + debug_return; +} + +static void +set_runasgr(const char *group) +{ + struct group *gr = NULL; + debug_decl(set_runasgr, SUDOERS_DEBUG_UTIL); + + if (*group == '#') { + const char *errstr; + gid_t gid = sudo_strtoid(group + 1, &errstr); + if (errstr == NULL) { + if ((gr = sudo_getgrgid(gid)) == NULL) + gr = sudo_fakegrnam(group); + } + } + if (gr == NULL) { + if ((gr = sudo_getgrnam(group)) == NULL) + sudo_fatalx(U_("unknown group %s"), group); + } + if (runas_gr != NULL) + sudo_gr_delref(runas_gr); + runas_gr = gr; + debug_return; +} + +/* + * Callback for runas_default sudoers setting. + */ +static bool +cb_runas_default(const char *file, int line, int column, + const union sudo_defs_val *sd_un, int op) +{ + /* Only reset runaspw if user didn't specify one. */ + if (!runas_user && !runas_group) + set_runaspw(sd_un->str); + return true; +} + +void +sudo_setspent(void) +{ + return; +} + +void +sudo_endspent(void) +{ + return; +} + +FILE * +open_sudoers(const char *file, bool doedit, bool *keepopen) +{ + struct stat sb; + FILE *fp = NULL; + const char *base; + int error, fd; + debug_decl(open_sudoers, SUDOERS_DEBUG_UTIL); + + /* Report errors using the basename for consistent test output. */ + base = sudo_basename(file); + fd = sudo_secure_open_file(file, sudoers_uid, sudoers_gid, &sb, &error); + if (fd != -1) { + if ((fp = fdopen(fd, "r")) == NULL) { + sudo_warn("unable to open %s", base); + close(fd); + } + } else { + switch (error) { + case SUDO_PATH_MISSING: + sudo_warn("unable to open %s", base); + break; + case SUDO_PATH_BAD_TYPE: + sudo_warnx("%s is not a regular file", base); + break; + case SUDO_PATH_WRONG_OWNER: + sudo_warnx("%s should be owned by uid %u", + base, (unsigned int) sudoers_uid); + break; + case SUDO_PATH_WORLD_WRITABLE: + sudo_warnx("%s is world writable", base); + break; + case SUDO_PATH_GROUP_WRITABLE: + sudo_warnx("%s should be owned by gid %u", + base, (unsigned int) sudoers_gid); + break; + default: + sudo_warnx("%s: internal error, unexpected error %d", + __func__, error); + break; + } + } + + debug_return_ptr(fp); +} + +bool +init_envtables(void) +{ + return(true); +} + +bool +set_perms(int perm) +{ + return true; +} + +bool +restore_perms(void) +{ + return true; +} + +void +init_eventlog_config(void) +{ + return; +} + +int +set_cmnd_path(const char *runchroot) +{ + /* Reallocate user_cmnd to catch bugs in command_matches(). */ + char *new_cmnd = strdup(orig_cmnd); + if (new_cmnd == NULL) + return NOT_FOUND_ERROR; + free(user_cmnd); + user_cmnd = new_cmnd; + return FOUND; +} + +static bool +print_defaults(struct sudo_lbuf *lbuf) +{ + struct defaults *def, *next; + debug_decl(print_defaults, SUDOERS_DEBUG_UTIL); + + TAILQ_FOREACH_SAFE(def, &parsed_policy.defaults, entries, next) + sudoers_format_default_line(lbuf, &parsed_policy, def, &next, false); + + debug_return_bool(!sudo_lbuf_error(lbuf)); +} + +static int +print_alias(struct sudoers_parse_tree *parse_tree, struct alias *a, void *v) +{ + struct sudo_lbuf *lbuf = v; + struct member *m; + debug_decl(print_alias, SUDOERS_DEBUG_UTIL); + + sudo_lbuf_append(lbuf, "%s %s = ", alias_type_to_string(a->type), + a->name); + TAILQ_FOREACH(m, &a->members, entries) { + if (m != TAILQ_FIRST(&a->members)) + sudo_lbuf_append(lbuf, ", "); + sudoers_format_member(lbuf, parse_tree, m, NULL, UNSPEC); + } + sudo_lbuf_append(lbuf, "\n"); + + debug_return_int(sudo_lbuf_error(lbuf) ? -1 : 0); +} + +static bool +print_aliases(struct sudo_lbuf *lbuf) +{ + debug_decl(print_aliases, SUDOERS_DEBUG_UTIL); + + alias_apply(&parsed_policy, print_alias, lbuf); + + debug_return_bool(!sudo_lbuf_error(lbuf)); +} + +static void +dump_sudoers(struct sudo_lbuf *lbuf) +{ + debug_decl(dump_sudoers, SUDOERS_DEBUG_UTIL); + + /* Print Defaults */ + if (!print_defaults(lbuf)) + goto done; + if (lbuf->len > 0) { + sudo_lbuf_print(lbuf); + sudo_lbuf_append(lbuf, "\n"); + } + + /* Print Aliases */ + if (!print_aliases(lbuf)) + goto done; + if (lbuf->len > 1) { + sudo_lbuf_print(lbuf); + sudo_lbuf_append(lbuf, "\n"); + } + + /* Print User_Specs */ + if (!sudoers_format_userspecs(lbuf, &parsed_policy, NULL, false, true)) + goto done; + if (lbuf->len > 1) { + sudo_lbuf_print(lbuf); + } + +done: + if (sudo_lbuf_error(lbuf)) { + if (errno == ENOMEM) + sudo_fatalx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + } + + debug_return; +} + +static int +testsudoers_output(const char *buf) +{ + return fputs(buf, stdout); +} + +static int +testsudoers_error(const char *buf) +{ + return fputs(buf, stderr); +} + +static void +usage(void) +{ + (void) fprintf(stderr, "usage: %s [-dt] [-G sudoers_gid] [-g group] [-h host] [-i input_format] [-P grfile] [-p pwfile] [-U sudoers_uid] [-u user] [args]\n", getprogname()); + exit(EXIT_FAILURE); +} diff --git a/plugins/sudoers/testsudoers_pwutil.c b/plugins/sudoers/testsudoers_pwutil.c new file mode 100644 index 0000000..759b23f --- /dev/null +++ b/plugins/sudoers/testsudoers_pwutil.c @@ -0,0 +1,14 @@ +/* Use custom passwd/group functions with the normal pwutil_impl.c */ +#define sudo_make_pwitem testsudoers_make_pwitem +#define sudo_make_gritem testsudoers_make_gritem +#define sudo_make_gidlist_item testsudoers_make_gidlist_item +#define sudo_make_grlist_item testsudoers_make_grlist_item + +#define getpwnam testsudoers_getpwnam +#define getpwuid testsudoers_getpwuid +#define getgrnam testsudoers_getgrnam +#define getgrgid testsudoers_getgrgid +#define sudo_getgrouplist2_v1 testsudoers_getgrouplist2_v1 + +#include "tsgetgrpw.h" +#include "pwutil_impl.c" diff --git a/plugins/sudoers/timeout.c b/plugins/sudoers/timeout.c new file mode 100644 index 0000000..517db37 --- /dev/null +++ b/plugins/sudoers/timeout.c @@ -0,0 +1,109 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2017 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include +#include +#include +#include + +#include "sudo_compat.h" +#include "sudoers_debug.h" +#include "parse.h" + +/* + * Parse a command timeout in sudoers in the format 1d2h3m4s + * (days, hours, minutes, seconds) or a number of seconds with no suffix. + * Returns the number of seconds or -1 on error. + */ +int +parse_timeout(const char *timestr) +{ + debug_decl(parse_timeout, SUDOERS_DEBUG_PARSER); + const char suffixes[] = "dhms"; + const char *cp = timestr; + int timeout = 0; + int idx = 0; + + do { + char *ep; + char ch; + long l; + + /* Parse number, must be present and positive. */ + errno = 0; + l = strtol(cp, &ep, 10); + if (ep == cp) { + /* missing timeout */ + errno = EINVAL; + debug_return_int(-1); + } + if (errno == ERANGE || l < 0 || l > INT_MAX) + goto overflow; + + /* Find a matching suffix or return an error. */ + if (*ep != '\0') { + ch = tolower((unsigned char)*ep++); + while (suffixes[idx] != ch) { + if (suffixes[idx] == '\0') { + /* parse error */ + errno = EINVAL; + debug_return_int(-1); + } + idx++; + } + + /* Apply suffix. */ + switch (ch) { + case 'd': + if (l > INT_MAX / (24 * 60 * 60)) + goto overflow; + l *= 24 * 60 * 60; + break; + case 'h': + if (l > INT_MAX / (60 * 60)) + goto overflow; + l *= 60 * 60; + break; + case 'm': + if (l > INT_MAX / 60) + goto overflow; + l *= 60; + break; + } + if (l > INT_MAX - timeout) + goto overflow; + } + cp = ep; + + timeout += l; + } while (*cp != '\0'); + + debug_return_int(timeout); +overflow: + errno = ERANGE; + debug_return_int(-1); +} diff --git a/plugins/sudoers/timestamp.c b/plugins/sudoers/timestamp.c new file mode 100644 index 0000000..825eec6 --- /dev/null +++ b/plugins/sudoers/timestamp.c @@ -0,0 +1,1173 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2014-2022 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include +#include +#include +#if defined(HAVE_STDINT_H) +# include +#elif defined(HAVE_INTTYPES_H) +# include +#endif +#include +#include +#include +#include +#include +#include +#include + +#include "sudoers.h" +#include "check.h" + +#define TIMESTAMP_OPEN_ERROR -1 +#define TIMESTAMP_PERM_ERROR -2 + +/* + * Each user has a single time stamp file that contains multiple records. + * Records are locked to ensure that changes are serialized. + * + * The first record is of type TS_LOCKEXCL and is used to gain exclusive + * access to create new records. This is a short-term lock and sudo + * should not sleep while holding it (or the user will not be able to sudo). + * The TS_LOCKEXCL entry must be unlocked before locking the actual record. + */ + +struct ts_cookie { + char *fname; + int fd; + pid_t sid; + bool locked; + off_t pos; + struct timestamp_entry key; +}; + +/* + * Returns true if entry matches key, else false. + * We don't match on the sid or actual time stamp. + */ +static bool +ts_match_record(struct timestamp_entry *key, struct timestamp_entry *entry, + unsigned int recno) +{ + debug_decl(ts_match_record, SUDOERS_DEBUG_AUTH); + + if (entry->version != key->version) { + sudo_debug_printf(SUDO_DEBUG_DEBUG, + "%s:%u record version mismatch (want %u, got %u)", __func__, recno, + key->version, entry->version); + debug_return_bool(false); + } + if (!ISSET(key->flags, TS_ANYUID) && entry->auth_uid != key->auth_uid) { + sudo_debug_printf(SUDO_DEBUG_DEBUG, + "%s:%u record uid mismatch (want %u, got %u)", __func__, recno, + (unsigned int)key->auth_uid, (unsigned int)entry->auth_uid); + debug_return_bool(false); + } + if (entry->type != key->type) { + sudo_debug_printf(SUDO_DEBUG_DEBUG, + "%s:%u record type mismatch (want %u, got %u)", __func__, recno, + key->type, entry->type); + debug_return_bool(false); + } + switch (entry->type) { + case TS_GLOBAL: + /* no ppid or tty to match */ + break; + case TS_PPID: + /* verify parent pid */ + if (entry->u.ppid != key->u.ppid) { + sudo_debug_printf(SUDO_DEBUG_DEBUG, + "%s:%u record ppid mismatch (want %d, got %d)", __func__, recno, + (int)key->u.ppid, (int)entry->u.ppid); + debug_return_bool(false); + } + if (sudo_timespeccmp(&entry->start_time, &key->start_time, !=)) { + sudo_debug_printf(SUDO_DEBUG_DEBUG, + "%s:%u ppid start time mismatch", __func__, recno); + debug_return_bool(false); + } + break; + case TS_TTY: + if (entry->u.ttydev != key->u.ttydev) { + sudo_debug_printf(SUDO_DEBUG_DEBUG, + "%s:%u record tty mismatch (want 0x%x, got 0x%x)", __func__, + recno, (unsigned int)key->u.ttydev, (unsigned int)entry->u.ttydev); + debug_return_bool(false); + } + if (sudo_timespeccmp(&entry->start_time, &key->start_time, !=)) { + sudo_debug_printf(SUDO_DEBUG_DEBUG, + "%s:%u session leader start time mismatch", __func__, recno); + debug_return_bool(false); + } + break; + default: + /* unknown record type, ignore it */ + sudo_debug_printf(SUDO_DEBUG_WARN|SUDO_DEBUG_LINENO, + "%s:%u unknown time stamp record type %d", __func__, recno, + entry->type); + debug_return_bool(false); + } + debug_return_bool(true); +} + +/* + * Searches the time stamp file descriptor for a record that matches key. + * On success, fills in entry with the matching record and returns true. + * On failure, returns false. + * + * Note that records are searched starting at the current file offset, + * which may not be the beginning of the file. + */ +static bool +ts_find_record(int fd, struct timestamp_entry *key, struct timestamp_entry *entry) +{ + struct timestamp_entry cur; + unsigned int recno = 0; + debug_decl(ts_find_record, SUDOERS_DEBUG_AUTH); + + /* + * Find a matching record (does not match sid or time stamp value). + */ + while (read(fd, &cur, sizeof(cur)) == sizeof(cur)) { + recno++; + if (cur.size != sizeof(cur)) { + /* wrong size, seek to start of next record */ + sudo_debug_printf(SUDO_DEBUG_INFO|SUDO_DEBUG_LINENO, + "wrong sized record, got %hu, expected %zu", + cur.size, sizeof(cur)); + if (lseek(fd, (off_t)cur.size - (off_t)sizeof(cur), SEEK_CUR) == -1) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_ERRNO|SUDO_DEBUG_LINENO, + "unable to seek forward %d", + (int)cur.size - (int)sizeof(cur)); + break; + } + if (cur.size == 0) + break; /* size must be non-zero */ + continue; + } + if (ts_match_record(key, &cur, recno)) { + memcpy(entry, &cur, sizeof(struct timestamp_entry)); + debug_return_bool(true); + } + } + debug_return_bool(false); +} + +/* + * Create a directory and any missing parent directories with the + * specified mode. + * Returns an fd usable with the *at() functions on success. + * Returns -1 on failure, setting errno. + */ +static int +ts_mkdirs(const char *path, uid_t owner, gid_t group, mode_t mode, + mode_t parent_mode, bool quiet) +{ + int parentfd, fd = -1; + const char *base; + mode_t omask; + debug_decl(ts_mkdirs, SUDOERS_DEBUG_AUTH); + + /* Child directory we will create. */ + base = sudo_basename(path); + + /* umask must not be more restrictive than the file modes. */ + omask = umask(ACCESSPERMS & ~(mode|parent_mode)); + parentfd = sudo_open_parent_dir(path, owner, group, parent_mode, quiet); + if (parentfd != -1) { + /* Create final path component. */ + sudo_debug_printf(SUDO_DEBUG_DEBUG|SUDO_DEBUG_LINENO, + "mkdir %s, mode 0%o, uid %d, gid %d", path, (unsigned int)mode, + (int)owner, (int)group); + if (mkdirat(parentfd, base, mode) != 0 && errno != EEXIST) { + if (!quiet) + sudo_warn(U_("unable to mkdir %s"), path); + } else { + fd = openat(parentfd, base, O_RDONLY|O_NONBLOCK, 0); + if (fd == -1) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_ERRNO, + "%s: unable to open %s", __func__, path); + } else if (fchown(fd, owner, group) != 0) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_ERRNO, + "%s: unable to chown %d:%d %s", __func__, + (int)owner, (int)group, path); + } + } + close(parentfd); + } + umask(omask); + debug_return_int(fd); +} + +/* + * Check that path is owned by timestamp_uid and not writable by + * group or other. If path is missing and make_it is true, create + * the directory and its parent dirs. + * + * Returns an fd usable with the *at() functions on success. + * Returns -1 on failure, setting errno. + */ +static int +ts_secure_opendir(const char *path, bool make_it, bool quiet) +{ + int error, fd; + struct stat sb; + debug_decl(ts_secure_opendir, SUDOERS_DEBUG_AUTH); + + sudo_debug_printf(SUDO_DEBUG_INFO|SUDO_DEBUG_LINENO, "checking %s", path); + fd = sudo_secure_open_dir(path, timestamp_uid, timestamp_gid, &sb, &error); + if (fd == -1) { + switch (error) { + case SUDO_PATH_MISSING: + if (make_it) { + fd = ts_mkdirs(path, timestamp_uid, timestamp_gid, S_IRWXU, + S_IRWXU|S_IXGRP|S_IXOTH, quiet); + if (fd != -1) + break; + } + if (!quiet) + sudo_warn("%s", path); + break; + case SUDO_PATH_BAD_TYPE: + errno = ENOTDIR; + if (!quiet) + sudo_warn("%s", path); + break; + case SUDO_PATH_WRONG_OWNER: + if (!quiet) { + sudo_warnx(U_("%s is owned by uid %u, should be %u"), + path, (unsigned int)sb.st_uid, (unsigned int)timestamp_uid); + } + errno = EACCES; + break; + case SUDO_PATH_WORLD_WRITABLE: + if (!quiet) + sudo_warnx(U_("%s is world writable"), path); + errno = EACCES; + break; + case SUDO_PATH_GROUP_WRITABLE: + if (!quiet) { + sudo_warnx(U_("%s is owned by gid %u, should be %u"), + path, (unsigned int)sb.st_gid, (unsigned int)timestamp_gid); + } + errno = EACCES; + break; + default: + if (!quiet) { + sudo_warnx("%s: internal error, unexpected error %d", + __func__, error); + errno = EINVAL; + } + break; + } + } + + debug_return_int(fd); +} + +/* + * Open the specified timestamp or lecture file and set the + * close on exec flag. + * Returns open file descriptor on success. + * Returns TIMESTAMP_OPEN_ERROR or TIMESTAMP_PERM_ERROR on error. + */ +static int +ts_openat(int dfd, const char *path, int flags) +{ + bool uid_changed = false; + int fd; + debug_decl(ts_openat, SUDOERS_DEBUG_AUTH); + + if (timestamp_uid != 0) + uid_changed = set_perms(PERM_TIMESTAMP); + fd = openat(dfd, path, flags, S_IRUSR|S_IWUSR); + if (uid_changed && !restore_perms()) { + /* Unable to restore permissions, should not happen. */ + if (fd != -1) { + int serrno = errno; + close(fd); + errno = serrno; + fd = TIMESTAMP_PERM_ERROR; + } + } + if (fd >= 0) + (void)fcntl(fd, F_SETFD, FD_CLOEXEC); + + debug_return_int(fd); +} + +static ssize_t +ts_write(int fd, const char *fname, struct timestamp_entry *entry, off_t offset) +{ + ssize_t nwritten; + off_t old_eof; + debug_decl(ts_write, SUDOERS_DEBUG_AUTH); + + if (offset == -1) { + old_eof = lseek(fd, 0, SEEK_CUR); + if (old_eof == -1) + debug_return_ssize_t(-1); + nwritten = write(fd, entry, entry->size); + } else { + old_eof = offset; + nwritten = pwrite(fd, entry, entry->size, offset); + } + if ((size_t)nwritten != entry->size) { + if (nwritten == -1) { + log_warning(SLOG_SEND_MAIL, + N_("unable to write to %s"), fname); + } else { + log_warningx(SLOG_SEND_MAIL, + N_("unable to write to %s"), fname); + } + + /* Truncate on partial write to be safe (assumes end of file). */ + if (nwritten > 0) { + sudo_debug_printf(SUDO_DEBUG_DEBUG|SUDO_DEBUG_LINENO, + "short write, truncating partial time stamp record"); + if (ftruncate(fd, old_eof) != 0) { + sudo_warn(U_("unable to truncate time stamp file to %lld bytes"), + (long long)old_eof); + } + } + debug_return_ssize_t(-1); + } + debug_return_ssize_t(nwritten); +} + +/* + * Full in struct timestamp_entry with the specified flags + * based on auth user pw. Does not set the time stamp. + */ +static void +ts_init_key(struct timestamp_entry *entry, struct passwd *pw, int flags, + enum def_tuple ticket_type) +{ + struct stat sb; + debug_decl(ts_init_key, SUDOERS_DEBUG_AUTH); + + memset(entry, 0, sizeof(*entry)); + entry->version = TS_VERSION; + entry->size = sizeof(*entry); + entry->flags = flags; + if (pw != NULL) { + entry->auth_uid = pw->pw_uid; + } else { + entry->flags |= TS_ANYUID; + } + entry->sid = user_sid; + switch (ticket_type) { + default: + /* Unknown time stamp ticket type, treat as tty (should not happen). */ + sudo_warnx("unknown time stamp ticket type %d", ticket_type); + FALLTHROUGH; + case tty: + if (user_ttypath != NULL && stat(user_ttypath, &sb) == 0) { + /* tty-based time stamp */ + entry->type = TS_TTY; + entry->u.ttydev = sb.st_rdev; + if (entry->sid != -1) + get_starttime(entry->sid, &entry->start_time); + break; + } + FALLTHROUGH; + case kernel: + case ppid: + /* ppid-based time stamp */ + entry->type = TS_PPID; + entry->u.ppid = getppid(); + get_starttime(entry->u.ppid, &entry->start_time); + break; + case global: + /* global time stamp */ + entry->type = TS_GLOBAL; + break; + } + + debug_return; +} + +static void +ts_init_key_nonglobal(struct timestamp_entry *entry, struct passwd *pw, int flags) +{ + /* + * Even if the timestamp type is global or kernel we still want to do + * per-tty or per-ppid locking so sudo works predictably in a pipeline. + */ + ts_init_key(entry, pw, flags, + def_timestamp_type == ppid ? ppid : tty); +} + +/* + * Open the user's time stamp file. + * Returns a cookie or NULL on error, does not lock the file. + */ +void * +timestamp_open(const char *user, pid_t sid) +{ + struct ts_cookie *cookie; + char *fname = NULL; + int tries, dfd = -1, fd = -1; + debug_decl(timestamp_open, SUDOERS_DEBUG_AUTH); + + /* Zero timeout means don't use the time stamp file. */ + if (!sudo_timespecisset(&def_timestamp_timeout)) { + errno = ENOENT; + goto bad; + } + + /* Check the validity of timestamp dir and create if missing. */ + dfd = ts_secure_opendir(def_timestampdir, true, false); + if (dfd == -1) + goto bad; + + /* Open time stamp file. */ + if (asprintf(&fname, "%s/%s", def_timestampdir, user) == -1) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + goto bad; + } + for (tries = 1; ; tries++) { + struct stat sb; + + fd = ts_openat(dfd, user, O_RDWR|O_CREAT); + switch (fd) { + case TIMESTAMP_OPEN_ERROR: + log_warning(SLOG_SEND_MAIL, N_("unable to open %s"), fname); + goto bad; + case TIMESTAMP_PERM_ERROR: + /* Already logged set_perms/restore_perms error. */ + goto bad; + } + + /* Remove time stamp file if its mtime predates boot time. */ + if (tries == 1 && fstat(fd, &sb) == 0) { + struct timespec boottime, mtime, now; + + if (sudo_gettime_real(&now) == 0 && get_boottime(&boottime)) { + /* Ignore a boot time that is in the future. */ + if (sudo_timespeccmp(&now, &boottime, <)) { + sudo_debug_printf(SUDO_DEBUG_WARN|SUDO_DEBUG_LINENO, + "ignoring boot time that is in the future"); + } else { + mtim_get(&sb, mtime); + if (sudo_timespeccmp(&mtime, &boottime, <)) { + /* Time stamp file too old, remove it. */ + sudo_debug_printf(SUDO_DEBUG_WARN|SUDO_DEBUG_LINENO, + "removing time stamp file that predates boot time"); + close(fd); + unlinkat(dfd, user, 0); + continue; + } + } + } + } + break; + } + + /* Allocate and fill in cookie to store state. */ + cookie = malloc(sizeof(*cookie)); + if (cookie == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + goto bad; + } + cookie->fd = fd; + cookie->fname = fname; + cookie->sid = sid; + cookie->pos = -1; + + close(dfd); + debug_return_ptr(cookie); +bad: + if (dfd != -1) + close(dfd); + if (fd >= 0) + close(fd); + free(fname); + debug_return_ptr(NULL); +} + +static volatile sig_atomic_t got_signal; + +static void +timestamp_handler(int s) +{ + got_signal = s; +} + +/* + * Wrapper for sudo_lock_region() that is interruptible. + */ +static bool +timestamp_lock_record(int fd, off_t pos, off_t len) +{ + struct sigaction sa, saveint, savequit; + sigset_t mask, omask; + bool ret; + debug_decl(timestamp_lock_record, SUDOERS_DEBUG_AUTH); + + if (pos >= 0 && lseek(fd, pos, SEEK_SET) == -1) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_ERRNO|SUDO_DEBUG_LINENO, + "unable to seek to %lld", (long long)pos); + debug_return_bool(false); + } + + /* Allow SIGINT and SIGQUIT to interrupt a lock. */ + got_signal = 0; + memset(&sa, 0, sizeof(sa)); + sigemptyset(&sa.sa_mask); + sa.sa_flags = 0; /* don't restart system calls */ + sa.sa_handler = timestamp_handler; + (void) sigaction(SIGINT, &sa, &saveint); + (void) sigaction(SIGQUIT, &sa, &savequit); + sigemptyset(&mask); + sigaddset(&mask, SIGINT); + sigaddset(&mask, SIGQUIT); + (void) sigprocmask(SIG_UNBLOCK, &mask, &omask); + + ret = sudo_lock_region(fd, SUDO_LOCK, len); + if (!ret) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_ERRNO|SUDO_DEBUG_LINENO, + "failed to lock fd %d [%lld, %lld]", fd, + (long long)pos, (long long)len); + } + + /* Restore the old mask (SIGINT and SIGQUIT blocked) and handlers. */ + (void) sigprocmask(SIG_SETMASK, &omask, NULL); + (void) sigaction(SIGINT, &saveint, NULL); + (void) sigaction(SIGQUIT, &savequit, NULL); + + /* Re-deliver the signal that interrupted the lock, if any. */ + if (!ret && got_signal) + kill(getpid(), got_signal); + + debug_return_bool(ret); +} + +static bool +timestamp_unlock_record(int fd, off_t pos, off_t len) +{ + debug_decl(timestamp_unlock_record, SUDOERS_DEBUG_AUTH); + + if (pos >= 0 && lseek(fd, pos, SEEK_SET) == -1) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_ERRNO|SUDO_DEBUG_LINENO, + "unable to seek to %lld", (long long)pos); + debug_return_bool(false); + } + debug_return_bool(sudo_lock_region(fd, SUDO_UNLOCK, len)); +} + +/* + * Seek to the record's position and read it, locking as needed. + */ +static ssize_t +ts_read(struct ts_cookie *cookie, struct timestamp_entry *entry) +{ + ssize_t nread = -1; + bool should_unlock = false; + debug_decl(ts_read, SUDOERS_DEBUG_AUTH); + + /* If the record is not already locked, lock it now. */ + if (!cookie->locked) { + if (!timestamp_lock_record(cookie->fd, cookie->pos, sizeof(*entry))) + goto done; + should_unlock = true; + } + + /* Seek to the record position and read it. */ + nread = pread(cookie->fd, entry, sizeof(*entry), cookie->pos); + if (nread != sizeof(*entry)) { + /* short read, should not happen */ + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "short read (%zd vs %zu), truncated time stamp file?", + nread, sizeof(*entry)); + goto done; + } + sudo_debug_printf(SUDO_DEBUG_DEBUG|SUDO_DEBUG_LINENO, + "read %zd byte record at %lld", nread, (long long)cookie->pos); + +done: + /* If the record was not locked initially, unlock it. */ + if (should_unlock) + timestamp_unlock_record(cookie->fd, cookie->pos, sizeof(*entry)); + + debug_return_ssize_t(nread); +} + +/* + * Write a TS_LOCKEXCL record at the beginning of the time stamp file. + */ +static bool +timestamp_lock_write(struct ts_cookie *cookie) +{ + struct timestamp_entry entry; + bool ret = true; + debug_decl(timestamp_lock_write, SUDOERS_DEBUG_AUTH); + + memset(&entry, 0, sizeof(entry)); + entry.version = TS_VERSION; + entry.size = sizeof(entry); + entry.type = TS_LOCKEXCL; + if (ts_write(cookie->fd, cookie->fname, &entry, -1) == -1) + ret = false; + debug_return_bool(ret); +} + +/* + * Lock a record in the time stamp file for exclusive access. + * If the record does not exist, it is created (as disabled). + */ +bool +timestamp_lock(void *vcookie, struct passwd *pw) +{ + struct ts_cookie *cookie = vcookie; + struct timestamp_entry entry; + bool overwrite = false; + off_t lock_pos; + ssize_t nread; + debug_decl(timestamp_lock, SUDOERS_DEBUG_AUTH); + + if (cookie == NULL) { + sudo_debug_printf(SUDO_DEBUG_DEBUG|SUDO_DEBUG_LINENO, + "called with a NULL cookie!"); + debug_return_bool(false); + } + + /* + * Take a lock on the "write" record (the first record in the file). + * This will let us seek for the record or extend as needed + * without colliding with anyone else. + */ + if (!timestamp_lock_record(cookie->fd, 0, sizeof(struct timestamp_entry))) + debug_return_bool(false); + + /* Make sure the first record is of type TS_LOCKEXCL. */ + memset(&entry, 0, sizeof(entry)); + nread = read(cookie->fd, &entry, sizeof(entry)); + if (nread < ssizeof(struct timestamp_entry_v1)) { + /* New or invalid time stamp file. */ + overwrite = true; + } else if (entry.type != TS_LOCKEXCL) { + if (entry.size == sizeof(struct timestamp_entry_v1)) { + /* Old sudo record, convert it to TS_LOCKEXCL. */ + entry.type = TS_LOCKEXCL; + memset((char *)&entry + offsetof(struct timestamp_entry, flags), 0, + nread - offsetof(struct timestamp_entry, flags)); + if (ts_write(cookie->fd, cookie->fname, &entry, 0) == -1) + debug_return_bool(false); + } else { + /* Corrupted time stamp file? Just overwrite it. */ + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_ERRNO|SUDO_DEBUG_LINENO, + "corrupt initial record, type: %hu, size: %hu (expected %zu)", + entry.type, entry.size, sizeof(struct timestamp_entry_v1)); + overwrite = true; + } + } + if (overwrite) { + /* Rewrite existing time stamp file or create new one. */ + if (ftruncate(cookie->fd, 0) != 0) { + sudo_warn(U_("unable to truncate time stamp file to %lld bytes"), + 0LL); + debug_return_bool(false); + } + if (!timestamp_lock_write(cookie)) + debug_return_bool(false); + } else if (entry.size != sizeof(entry)) { + /* Reset position if the lock record has an unexpected size. */ + if (lseek(cookie->fd, entry.size, SEEK_SET) == -1) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_ERRNO|SUDO_DEBUG_LINENO, + "unable to seek to %hu", entry.size); + debug_return_bool(false); + } + } + + /* Search for a tty/ppid-based record or append a new one. */ + sudo_debug_printf(SUDO_DEBUG_DEBUG|SUDO_DEBUG_LINENO, + "searching for %s time stamp record", + def_timestamp_type == ppid ? "ppid" : "tty"); + ts_init_key_nonglobal(&cookie->key, pw, TS_DISABLED); + if (ts_find_record(cookie->fd, &cookie->key, &entry)) { + sudo_debug_printf(SUDO_DEBUG_DEBUG|SUDO_DEBUG_LINENO, + "found existing %s time stamp record", + def_timestamp_type == ppid ? "ppid" : "tty"); + lock_pos = lseek(cookie->fd, 0, SEEK_CUR) - (off_t)entry.size; + } else { + sudo_debug_printf(SUDO_DEBUG_DEBUG|SUDO_DEBUG_LINENO, + "appending new %s time stamp record", + def_timestamp_type == ppid ? "ppid" : "tty"); + lock_pos = lseek(cookie->fd, 0, SEEK_CUR); + if (ts_write(cookie->fd, cookie->fname, &cookie->key, -1) == -1) + debug_return_bool(false); + } + sudo_debug_printf(SUDO_DEBUG_DEBUG|SUDO_DEBUG_LINENO, + "%s time stamp position is %lld", + def_timestamp_type == ppid ? "ppid" : "tty", (long long)lock_pos); + + if (def_timestamp_type == global) { + /* + * For global tickets we use a separate record lock that we + * cannot hold long-term since it is shared between all ttys. + */ + cookie->locked = false; + cookie->key.type = TS_GLOBAL; /* find a global record */ + + if (lseek(cookie->fd, 0, SEEK_SET) == -1) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_ERRNO|SUDO_DEBUG_LINENO, + "unable to rewind fd"); + debug_return_bool(false); + } + if (ts_find_record(cookie->fd, &cookie->key, &entry)) { + sudo_debug_printf(SUDO_DEBUG_DEBUG|SUDO_DEBUG_LINENO, + "found existing global record"); + cookie->pos = lseek(cookie->fd, 0, SEEK_CUR) - (off_t)entry.size; + } else { + sudo_debug_printf(SUDO_DEBUG_DEBUG|SUDO_DEBUG_LINENO, + "appending new global record"); + cookie->pos = lseek(cookie->fd, 0, SEEK_CUR); + if (ts_write(cookie->fd, cookie->fname, &cookie->key, -1) == -1) + debug_return_bool(false); + } + } else { + /* For tty/ppid tickets the tty lock is the same as the record lock. */ + cookie->pos = lock_pos; + cookie->locked = true; + } + + /* Unlock the TS_LOCKEXCL record. */ + timestamp_unlock_record(cookie->fd, 0, sizeof(struct timestamp_entry)); + + /* Lock the per-tty record (may sleep). */ + if (!timestamp_lock_record(cookie->fd, lock_pos, sizeof(struct timestamp_entry))) + debug_return_bool(false); + + debug_return_bool(true); +} + +void +timestamp_close(void *vcookie) +{ + struct ts_cookie *cookie = vcookie; + debug_decl(timestamp_close, SUDOERS_DEBUG_AUTH); + + if (cookie != NULL) { + close(cookie->fd); + free(cookie->fname); + free(cookie); + } + + debug_return; +} + +#define TIMESPEC_VALID(ts) \ + ((ts)->tv_sec >= 0 && (ts)->tv_nsec >= 0 && (ts)->tv_nsec < 1000000000L) + +/* + * Check the time stamp file and directory and return their status. + * Called with the file position before the locked record to read. + * Returns one of TS_CURRENT, TS_OLD, TS_MISSING, TS_ERROR, TS_FATAL. + * Fills in fdp with an open file descriptor positioned at the + * appropriate (and locked) record. + */ +int +timestamp_status(void *vcookie, struct passwd *pw) +{ + struct ts_cookie *cookie = vcookie; + struct timestamp_entry entry; + struct timespec diff, now; + int status = TS_ERROR; /* assume the worst */ + ssize_t nread; + debug_decl(timestamp_status, SUDOERS_DEBUG_AUTH); + + /* Zero timeout means don't use time stamp files. */ + if (!sudo_timespecisset(&def_timestamp_timeout)) { + sudo_debug_printf(SUDO_DEBUG_DEBUG|SUDO_DEBUG_LINENO, + "timestamps disabled"); + status = TS_OLD; + goto done; + } + if (cookie == NULL || cookie->pos < 0) { + sudo_debug_printf(SUDO_DEBUG_DEBUG|SUDO_DEBUG_LINENO, + "NULL cookie or invalid position"); + status = TS_OLD; + goto done; + } + +#ifdef TIOCCHKVERAUTH + if (def_timestamp_type == kernel) { + int fd = open(_PATH_TTY, O_RDWR); + if (fd != -1) { + if (ioctl(fd, TIOCCHKVERAUTH) == 0) + status = TS_CURRENT; + else + status = TS_OLD; + close(fd); + goto done; + } + } +#endif + + /* Read the record at the correct position. */ + if ((nread = ts_read(cookie, &entry)) != sizeof(entry)) + goto done; + + /* Make sure what we read matched the expected record. */ + if (entry.version != TS_VERSION || entry.size != nread) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "invalid time stamp file @ %lld", (long long)cookie->pos); + status = TS_OLD; + goto done; + } + + /* Sanity check time stamps. */ + if (!TIMESPEC_VALID(&entry.start_time) || !TIMESPEC_VALID(&entry.ts)) { + sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO, + "invalid timespec in time stamp file @ %lld", + (long long)cookie->pos); + status = TS_OLD; + goto done; + } + + if (ISSET(entry.flags, TS_DISABLED)) { + sudo_debug_printf(SUDO_DEBUG_DEBUG|SUDO_DEBUG_LINENO, + "time stamp record disabled"); + status = TS_OLD; /* disabled via sudo -k */ + goto done; + } + + if (entry.type != TS_GLOBAL && entry.sid != cookie->sid) { + sudo_debug_printf(SUDO_DEBUG_DEBUG|SUDO_DEBUG_LINENO, + "time stamp record sid mismatch"); + status = TS_OLD; /* belongs to different session */ + goto done; + } + + /* Negative timeouts only expire manually (sudo -k). */ + sudo_timespecclear(&diff); + if (sudo_timespeccmp(&def_timestamp_timeout, &diff, <)) { + sudo_debug_printf(SUDO_DEBUG_DEBUG|SUDO_DEBUG_LINENO, + "time stamp record does not expire"); + status = TS_CURRENT; + goto done; + } + + /* Compare stored time stamp with current time. */ + if (sudo_gettime_mono(&now) == -1) { + log_warning(0, N_("unable to read the clock")); + status = TS_ERROR; + goto done; + } + sudo_timespecsub(&now, &entry.ts, &diff); + if (sudo_timespeccmp(&diff, &def_timestamp_timeout, <)) { + status = TS_CURRENT; +#if defined(CLOCK_MONOTONIC) || defined(__MACH__) + /* A monotonic clock should never run backwards. */ + if (diff.tv_sec < 0) { + log_warningx(SLOG_SEND_MAIL, + N_("ignoring time stamp from the future")); + status = TS_OLD; + SET(entry.flags, TS_DISABLED); + (void)ts_write(cookie->fd, cookie->fname, &entry, cookie->pos); + } +#else + /* + * Check for bogus (future) time in the stampfile. + * If diff / 2 > timeout, someone has been fooling with the clock. + */ + sudo_timespecsub(&entry.ts, &now, &diff); + diff.tv_nsec /= 2; + if (diff.tv_sec & 1) + diff.tv_nsec += 500000000; + diff.tv_sec /= 2; + while (diff.tv_nsec >= 1000000000) { + diff.tv_sec++; + diff.tv_nsec -= 1000000000; + } + + if (sudo_timespeccmp(&diff, &def_timestamp_timeout, >)) { + time_t tv_sec = (time_t)entry.ts.tv_sec; + log_warningx(SLOG_SEND_MAIL, + N_("time stamp too far in the future: %20.20s"), + 4 + ctime(&tv_sec)); + status = TS_OLD; + SET(entry.flags, TS_DISABLED); + (void)ts_write(cookie->fd, cookie->fname, &entry, cookie->pos); + } +#endif /* CLOCK_MONOTONIC */ + } else { + status = TS_OLD; + } + +done: + debug_return_int(status); +} + +/* + * Update the time on the time stamp file/dir or create it if necessary. + * Returns true on success, false on failure or -1 on setuid failure. + */ +bool +timestamp_update(void *vcookie, struct passwd *pw) +{ + struct ts_cookie *cookie = vcookie; + int ret = false; + debug_decl(timestamp_update, SUDOERS_DEBUG_AUTH); + + /* Zero timeout means don't use time stamp files. */ + if (!sudo_timespecisset(&def_timestamp_timeout)) { + sudo_debug_printf(SUDO_DEBUG_DEBUG|SUDO_DEBUG_LINENO, + "timestamps disabled"); + goto done; + } + if (cookie == NULL || cookie->pos < 0) { + sudo_debug_printf(SUDO_DEBUG_DEBUG|SUDO_DEBUG_LINENO, + "NULL cookie or invalid position"); + goto done; + } + +#ifdef TIOCSETVERAUTH + if (def_timestamp_type == kernel) { + int fd = open(_PATH_TTY, O_RDWR); + if (fd != -1) { + int secs = def_timestamp_timeout.tv_sec; + if (secs > 0) { + if (secs > 3600) + secs = 3600; /* OpenBSD limitation */ + if (ioctl(fd, TIOCSETVERAUTH, &secs) != 0) + sudo_warn("TIOCSETVERAUTH"); + } + close(fd); + goto done; + } + } +#endif + + /* Update timestamp in key and enable it. */ + CLR(cookie->key.flags, TS_DISABLED); + if (sudo_gettime_mono(&cookie->key.ts) == -1) { + log_warning(0, N_("unable to read the clock")); + goto done; + } + + /* Write out the locked record. */ + sudo_debug_printf(SUDO_DEBUG_DEBUG|SUDO_DEBUG_LINENO, + "writing %zu byte record at %lld", sizeof(cookie->key), + (long long)cookie->pos); + if (ts_write(cookie->fd, cookie->fname, &cookie->key, cookie->pos) != -1) + ret = true; + +done: + debug_return_int(ret); +} + +/* + * Remove the timestamp entry or file if unlink_it is set. + * Returns true on success, false on failure or -1 on setuid failure. + * A missing timestamp entry is not considered an error. + */ +int +timestamp_remove(bool unlink_it) +{ + struct timestamp_entry key, entry; + int dfd = -1, fd = -1, ret = true; + char *fname = NULL; + debug_decl(timestamp_remove, SUDOERS_DEBUG_AUTH); + +#ifdef TIOCCLRVERAUTH + if (def_timestamp_type == kernel) { + fd = open(_PATH_TTY, O_RDWR); + if (fd != -1) { + ioctl(fd, TIOCCLRVERAUTH); + goto done; + } + } +#endif + + dfd = open(def_timestampdir, O_RDONLY|O_NONBLOCK); + if (dfd == -1) { + if (errno != ENOENT) + ret = -1; + goto done; + } + + if (asprintf(&fname, "%s/%s", def_timestampdir, user_name) == -1) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + ret = -1; + goto done; + } + + /* For "sudo -K" simply unlink the time stamp file. */ + if (unlink_it) { + ret = unlinkat(dfd, user_name, 0) ? -1 : true; + goto done; + } + + /* Open time stamp file and lock it for exclusive access. */ + fd = ts_openat(dfd, user_name, O_RDWR); + switch (fd) { + case TIMESTAMP_OPEN_ERROR: + if (errno != ENOENT) + ret = false; + goto done; + case TIMESTAMP_PERM_ERROR: + /* Already logged set_perms/restore_perms error. */ + ret = -1; + goto done; + } + /* Lock first record to gain exclusive access. */ + if (!timestamp_lock_record(fd, -1, sizeof(struct timestamp_entry))) { + sudo_warn(U_("unable to lock time stamp file %s"), fname); + ret = -1; + goto done; + } + + /* + * Find matching entries and invalidate them. + */ + ts_init_key(&key, NULL, 0, def_timestamp_type); + while (ts_find_record(fd, &key, &entry)) { + /* Back up and disable the entry. */ + if (!ISSET(entry.flags, TS_DISABLED)) { + SET(entry.flags, TS_DISABLED); + if (lseek(fd, 0 - (off_t)sizeof(entry), SEEK_CUR) != -1) { + if (ts_write(fd, fname, &entry, -1) == -1) + ret = false; + } + } + } + +done: + if (dfd != -1) + close(dfd); + if (fd >= 0) + close(fd); + free(fname); + debug_return_int(ret); +} + +/* + * Returns true if the user has already been lectured. + */ +bool +already_lectured(void) +{ + bool ret = false; + struct stat sb; + int dfd; + debug_decl(already_lectured, SUDOERS_DEBUG_AUTH); + + dfd = ts_secure_opendir(def_lecture_status_dir, false, true); + if (dfd != -1) { + ret = fstatat(dfd, user_name, &sb, AT_SYMLINK_NOFOLLOW) == 0; + close(dfd); + } + debug_return_bool(ret); +} + +/* + * Create the lecture status file. + * Returns true on success, false on failure or -1 on setuid failure. + */ +int +set_lectured(void) +{ + int dfd, fd, ret = false; + debug_decl(set_lectured, SUDOERS_DEBUG_AUTH); + + /* Check the validity of timestamp dir and create if missing. */ + dfd = ts_secure_opendir(def_lecture_status_dir, true, false); + if (dfd == -1) + goto done; + + /* Create lecture file. */ + fd = ts_openat(dfd, user_name, O_WRONLY|O_CREAT|O_EXCL); + switch (fd) { + case TIMESTAMP_OPEN_ERROR: + /* Failed to open, not a fatal error. */ + break; + case TIMESTAMP_PERM_ERROR: + /* Already logged set_perms/restore_perms error. */ + ret = -1; + break; + default: + /* Success. */ + close(fd); + ret = true; + break; + } + close(dfd); + +done: + debug_return_int(ret); +} + +#ifdef _PATH_SUDO_ADMIN_FLAG +int +create_admin_success_flag(void) +{ + char *flagfile; + int ret = -1; + debug_decl(create_admin_success_flag, SUDOERS_DEBUG_AUTH); + + /* Is the admin flag file even enabled? */ + if (!def_admin_flag) + debug_return_int(true); + + /* Check whether the user is in the sudo or admin group. */ + if (!user_in_group(sudo_user.pw, "sudo") && + !user_in_group(sudo_user.pw, "admin")) + debug_return_int(true); + + /* Build path to flag file. */ + if ((flagfile = strdup(def_admin_flag)) == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + debug_return_int(-1); + } + if (!expand_tilde(&flagfile, user_name)) { + free(flagfile); + debug_return_int(false); + } + + /* Create admin flag file if it doesn't already exist. */ + if (set_perms(PERM_USER)) { + int fd = open(flagfile, O_CREAT|O_WRONLY|O_NONBLOCK|O_EXCL, 0644); + ret = fd != -1 || errno == EEXIST; + if (fd != -1) + close(fd); + if (!restore_perms()) + ret = -1; + } + free(flagfile); + debug_return_int(ret); +} +#else /* !_PATH_SUDO_ADMIN_FLAG */ +int +create_admin_success_flag(void) +{ + /* STUB */ + return true; +} +#endif /* _PATH_SUDO_ADMIN_FLAG */ diff --git a/plugins/sudoers/timestr.c b/plugins/sudoers/timestr.c new file mode 100644 index 0000000..d208215 --- /dev/null +++ b/plugins/sudoers/timestr.c @@ -0,0 +1,50 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1999, 2009-2011, 2013-2015, 2017 + * Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include + +#include "sudoers.h" + +/* + * Return a static buffer with the current date + time. + */ +char * +get_timestr(time_t tstamp, int log_year) +{ + static char buf[128]; + struct tm tm; + int len; + + if (localtime_r(&tstamp, &tm) != NULL) { + /* strftime() does not guarantee to NUL-terminate so we must check. */ + buf[sizeof(buf) - 1] = '\0'; + len = strftime(buf, sizeof(buf), log_year ? "%h %e %T %Y" : "%h %e %T", + &tm); + if (len != 0 && buf[sizeof(buf) - 1] == '\0') + return buf; + } + return NULL; +} diff --git a/plugins/sudoers/toke.c b/plugins/sudoers/toke.c new file mode 100644 index 0000000..aa909ca --- /dev/null +++ b/plugins/sudoers/toke.c @@ -0,0 +1,6002 @@ +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#line 3 "toke.c" + +#define YY_INT_ALIGNED short int + +/* $OpenBSD: flex.skl,v 1.18 2021/11/30 15:50:06 millert Exp $ */ + +/* A lexical scanner generated by flex */ + +#define yy_create_buffer sudoers_create_buffer +#define yy_delete_buffer sudoers_delete_buffer +#define yy_flex_debug sudoers_flex_debug +#define yy_init_buffer sudoers_init_buffer +#define yy_flush_buffer sudoers_flush_buffer +#define yy_load_buffer_state sudoers_load_buffer_state +#define yy_switch_to_buffer sudoers_switch_to_buffer +#define yyin sudoersin +#define yyleng sudoersleng +#define yylex sudoerslex +#define yylineno sudoerslineno +#define yyout sudoersout +#define yyrestart sudoersrestart +#define yytext sudoerstext +#define yywrap sudoerswrap +#define yyalloc sudoersalloc +#define yyrealloc sudoersrealloc +#define yyfree sudoersfree + +#define FLEX_SCANNER +#define YY_FLEX_MAJOR_VERSION 2 +#define YY_FLEX_MINOR_VERSION 5 +#define YY_FLEX_SUBMINOR_VERSION 39 +#if YY_FLEX_SUBMINOR_VERSION > 0 +#define FLEX_BETA +#endif + +/* First, we deal with platform-specific or compiler-specific issues. */ + +/* begin standard C headers. */ +#include +#include +#include +#include + +/* end standard C headers. */ + +/* $OpenBSD: flexint.h,v 1.1 2015/11/19 19:43:40 tedu Exp $ */ + +/* flex integer type definitions */ + +#ifndef FLEXINT_H +#define FLEXINT_H + +/* C99 systems have . Non-C99 systems may or may not. */ + +#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L + +/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, + * if you want the limit (max/min) macros for int types. + */ +#ifndef __STDC_LIMIT_MACROS +#define __STDC_LIMIT_MACROS 1 +#endif + +#include +typedef int8_t flex_int8_t; +typedef uint8_t flex_uint8_t; +typedef int16_t flex_int16_t; +typedef uint16_t flex_uint16_t; +typedef int32_t flex_int32_t; +typedef uint32_t flex_uint32_t; +#else +typedef signed char flex_int8_t; +typedef short int flex_int16_t; +typedef int flex_int32_t; +typedef unsigned char flex_uint8_t; +typedef unsigned short int flex_uint16_t; +typedef unsigned int flex_uint32_t; + +/* Limits of integral types. */ +#ifndef INT8_MIN +#define INT8_MIN (-128) +#endif +#ifndef INT16_MIN +#define INT16_MIN (-32767-1) +#endif +#ifndef INT32_MIN +#define INT32_MIN (-2147483647-1) +#endif +#ifndef INT8_MAX +#define INT8_MAX (127) +#endif +#ifndef INT16_MAX +#define INT16_MAX (32767) +#endif +#ifndef INT32_MAX +#define INT32_MAX (2147483647) +#endif +#ifndef UINT8_MAX +#define UINT8_MAX (255U) +#endif +#ifndef UINT16_MAX +#define UINT16_MAX (65535U) +#endif +#ifndef UINT32_MAX +#define UINT32_MAX (4294967295U) +#endif + +#endif /* ! C99 */ + +#endif /* ! FLEXINT_H */ + +#ifdef __cplusplus + +/* The "const" storage-class-modifier is valid. */ +#define YY_USE_CONST + +#else /* ! __cplusplus */ + +/* C99 requires __STDC__ to be defined as 1. */ +#if defined (__STDC__) + +#define YY_USE_CONST + +#endif /* defined (__STDC__) */ +#endif /* ! __cplusplus */ + +#ifdef YY_USE_CONST +#define yyconst const +#else +#define yyconst +#endif + +/* Returned upon end-of-file. */ +#define YY_NULL 0 + +/* Promotes a possibly negative, possibly signed char to an unsigned + * integer for use as an array index. If the signed char is negative, + * we want to instead treat it as an 8-bit unsigned char, hence the + * double cast. + */ +#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) + +/* Enter a start condition. This macro really ought to take a parameter, + * but we do it the disgusting crufty way forced on us by the ()-less + * definition of BEGIN. + */ +#define BEGIN (yy_start) = 1 + 2 * + +/* Translate the current start state into a value that can be later handed + * to BEGIN to return to the state. The YYSTATE alias is for lex + * compatibility. + */ +#define YY_START (((yy_start) - 1) / 2) +#define YYSTATE YY_START + +/* Action number for EOF rule of a given start state. */ +#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) + +/* Special action meaning "start processing a new file". */ +#define YY_NEW_FILE sudoersrestart(sudoersin ) + +#define YY_END_OF_BUFFER_CHAR 0 + +/* Size of default input buffer. */ +#ifndef YY_BUF_SIZE +#define YY_BUF_SIZE 16384 +#endif + +/* The state buf must be large enough to hold one state per character in the main buffer. + */ +#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) + +#ifndef YY_TYPEDEF_YY_BUFFER_STATE +#define YY_TYPEDEF_YY_BUFFER_STATE +typedef struct yy_buffer_state *YY_BUFFER_STATE; +#endif + +#ifndef YY_TYPEDEF_YY_SIZE_T +#define YY_TYPEDEF_YY_SIZE_T +typedef size_t yy_size_t; +#endif + +extern yy_size_t sudoersleng; + +extern FILE *sudoersin, *sudoersout; + +#define EOB_ACT_CONTINUE_SCAN 0 +#define EOB_ACT_END_OF_FILE 1 +#define EOB_ACT_LAST_MATCH 2 + + #define YY_LESS_LINENO(n) + #define YY_LINENO_REWIND_TO(ptr) + +/* Return all but the first "n" matched characters back to the input stream. */ +#define yyless(n) \ + do \ + { \ + /* Undo effects of setting up sudoerstext. */ \ + int yyless_macro_arg = (n); \ + YY_LESS_LINENO(yyless_macro_arg);\ + *yy_cp = (yy_hold_char); \ + YY_RESTORE_YY_MORE_OFFSET \ + (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ + YY_DO_BEFORE_ACTION; /* set up sudoerstext again */ \ + } \ + while ( 0 ) + +#define unput(c) yyunput( c, (yytext_ptr) ) + +#ifndef YY_STRUCT_YY_BUFFER_STATE +#define YY_STRUCT_YY_BUFFER_STATE +struct yy_buffer_state + { + FILE *yy_input_file; + + char *yy_ch_buf; /* input buffer */ + char *yy_buf_pos; /* current position in input buffer */ + + /* Size of input buffer in bytes, not including room for EOB + * characters. + */ + yy_size_t yy_buf_size; + + /* Number of characters read into yy_ch_buf, not including EOB + * characters. + */ + yy_size_t yy_n_chars; + + /* Whether we "own" the buffer - i.e., we know we created it, + * and can realloc() it to grow it, and should free() it to + * delete it. + */ + int yy_is_our_buffer; + + /* Whether this is an "interactive" input source; if so, and + * if we're using stdio for input, then we want to use getc() + * instead of fread(), to make sure we stop fetching input after + * each newline. + */ + int yy_is_interactive; + + /* Whether we're considered to be at the beginning of a line. + * If so, '^' rules will be active on the next match, otherwise + * not. + */ + int yy_at_bol; + + int yy_bs_lineno; /**< The line count. */ + int yy_bs_column; /**< The column count. */ + + /* Whether to try to fill the input buffer when we reach the + * end of it. + */ + int yy_fill_buffer; + + int yy_buffer_status; + +#define YY_BUFFER_NEW 0 +#define YY_BUFFER_NORMAL 1 + /* When an EOF's been seen but there's still some text to process + * then we mark the buffer as YY_EOF_PENDING, to indicate that we + * shouldn't try reading from the input source any more. We might + * still have a bunch of tokens to match, though, because of + * possible backing-up. + * + * When we actually see the EOF, we change the status to "new" + * (via sudoersrestart()), so that the user can continue scanning by + * just pointing sudoersin at a new input file. + */ +#define YY_BUFFER_EOF_PENDING 2 + + }; +#endif /* !YY_STRUCT_YY_BUFFER_STATE */ + +/* Stack of input buffers. */ +static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */ +static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */ +static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */ + +/* We provide macros for accessing buffer states in case in the + * future we want to put the buffer states in a more general + * "scanner state". + * + * Returns the top of the stack, or NULL. + */ +#define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ + ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ + : NULL) + +/* Same as previous macro, but useful when we know that the buffer stack is not + * NULL or when we need an lvalue. For internal use only. + */ +#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] + +/* yy_hold_char holds the character lost when sudoerstext is formed. */ +static char yy_hold_char; +static yy_size_t yy_n_chars; /* number of characters read into yy_ch_buf */ +yy_size_t sudoersleng; + +/* Points to current character in buffer. */ +static char *yy_c_buf_p = (char *) 0; +static int yy_init = 0; /* whether we need to initialize */ +static int yy_start = 0; /* start state number */ + +/* Flag which is used to allow sudoerswrap()'s to do buffer switches + * instead of setting up a fresh sudoersin. A bit of a hack ... + */ +static int yy_did_buffer_switch_on_eof; + +void sudoersrestart (FILE *input_file ); +void sudoers_switch_to_buffer (YY_BUFFER_STATE new_buffer ); +YY_BUFFER_STATE sudoers_create_buffer (FILE *file,int size ); +void sudoers_delete_buffer (YY_BUFFER_STATE b ); +void sudoers_flush_buffer (YY_BUFFER_STATE b ); +void sudoerspush_buffer_state (YY_BUFFER_STATE new_buffer ); +void sudoerspop_buffer_state (void ); + +static void sudoersensure_buffer_stack (void ); +static void sudoers_load_buffer_state (void ); +static void sudoers_init_buffer (YY_BUFFER_STATE b,FILE *file ); + +#define YY_FLUSH_BUFFER sudoers_flush_buffer(YY_CURRENT_BUFFER ) + +YY_BUFFER_STATE sudoers_scan_buffer (char *base,yy_size_t size ); +YY_BUFFER_STATE sudoers_scan_string (yyconst char *yy_str ); +YY_BUFFER_STATE sudoers_scan_bytes (yyconst char *bytes,yy_size_t len ); + +void *sudoersalloc (yy_size_t ); +void *sudoersrealloc (void *,yy_size_t ); +void sudoersfree (void * ); + +#define yy_new_buffer sudoers_create_buffer + +#define yy_set_interactive(is_interactive) \ + { \ + if ( ! YY_CURRENT_BUFFER ){ \ + sudoersensure_buffer_stack (); \ + YY_CURRENT_BUFFER_LVALUE = \ + sudoers_create_buffer(sudoersin,YY_BUF_SIZE ); \ + } \ + YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ + } + +#define yy_set_bol(at_bol) \ + { \ + if ( ! YY_CURRENT_BUFFER ){\ + sudoersensure_buffer_stack (); \ + YY_CURRENT_BUFFER_LVALUE = \ + sudoers_create_buffer(sudoersin,YY_BUF_SIZE ); \ + } \ + YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ + } + +#define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) + +/* Begin user sect3 */ + +#define sudoerswrap() 1 +#define YY_SKIP_YYWRAP + +typedef unsigned char YY_CHAR; + +FILE *sudoersin = (FILE *) 0, *sudoersout = (FILE *) 0; + +typedef int yy_state_type; + +extern int sudoerslineno; + +int sudoerslineno = 1; + +extern char *sudoerstext; +#define yytext_ptr sudoerstext + +static yy_state_type yy_get_previous_state (void ); +static yy_state_type yy_try_NUL_trans (yy_state_type current_state ); +static int yy_get_next_buffer (void ); +static void yy_fatal_error (yyconst char msg[] ); + +/* Done after the current pattern has been matched and before the + * corresponding action - sets up sudoerstext. + */ +#define YY_DO_BEFORE_ACTION \ + (yytext_ptr) = yy_bp; \ + sudoersleng = (size_t) (yy_cp - yy_bp); \ + (yy_hold_char) = *yy_cp; \ + *yy_cp = '\0'; \ + (yy_c_buf_p) = yy_cp; + +#define YY_NUM_RULES 89 +#define YY_END_OF_BUFFER 90 +/* This struct is not used in this scanner, + but its presence is necessary. */ +struct yy_trans_info + { + flex_int32_t yy_verify; + flex_int32_t yy_nxt; + }; +static yyconst flex_int16_t yy_accept[1242] = + { 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 90, 75, 85, 84, 88, 83, 74, 87, 46, 78, + 79, 46, 80, 75, 75, 75, 75, 82, 81, 88, + 75, 64, 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 88, 75, 75, 75, 85, + 87, 64, 64, 64, 64, 64, 2, 88, 1, 75, + 64, 64, 64, 64, 75, 75, 17, 16, 16, 17, + 16, 16, 88, 21, 21, 19, 19, 21, 19, 20, + 88, 87, 88, 3, 9, 8, 9, 4, 9, 5, + + 88, 13, 13, 13, 11, 12, 88, 23, 23, 22, + 22, 22, 23, 22, 22, 22, 22, 23, 23, 23, + 23, 23, 23, 23, 88, 22, 23, 23, 76, 76, + 77, 76, 71, 71, 71, 71, 71, 71, 71, 64, + 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, + 88, 71, 71, 71, 75, 0, 85, 84, 83, 87, + 87, 0, 0, 75, 48, 0, 46, 0, 47, 0, + 72, 72, 0, 75, 75, 0, 75, 75, 75, 75, + 0, 51, 75, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, + + 64, 64, 0, 86, 75, 75, 75, 0, 73, 0, + 75, 75, 85, 0, 0, 0, 0, 0, 87, 75, + 75, 75, 75, 75, 2, 1, 0, 1, 65, 65, + 0, 64, 75, 0, 65, 0, 75, 17, 17, 15, + 0, 14, 15, 21, 21, 21, 18, 18, 0, 3, + 9, 0, 6, 7, 9, 9, 13, 0, 13, 13, + 0, 10, 0, 48, 0, 0, 47, 23, 23, 0, + 23, 0, 0, 22, 22, 22, 22, 22, 22, 23, + 23, 64, 23, 23, 23, 23, 23, 23, 23, 23, + 73, 0, 23, 23, 76, 76, 76, 71, 0, 48, + + 0, 47, 0, 71, 71, 0, 71, 71, 71, 71, + 71, 71, 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 71, 71, 71, 71, 0, 71, 71, + 87, 87, 87, 0, 48, 75, 75, 75, 75, 75, + 0, 0, 51, 51, 75, 64, 53, 64, 64, 57, + 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, + 73, 75, 75, 75, 0, 0, 0, 0, 0, 87, + 75, 75, 75, 75, 75, 75, 0, 65, 0, 65, + 75, 75, 10, 0, 0, 0, 22, 22, 22, 23, + + 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, + 23, 23, 23, 23, 73, 23, 23, 0, 71, 71, + 71, 71, 71, 64, 53, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, 64, 71, + 71, 71, 71, 87, 87, 87, 75, 75, 75, 75, + 75, 75, 0, 52, 52, 52, 0, 0, 51, 51, + 51, 51, 51, 51, 51, 75, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 59, 64, 64, 60, + 75, 75, 75, 75, 0, 0, 0, 0, 0, 0, + + 87, 75, 75, 75, 65, 75, 0, 0, 0, 0, + 0, 22, 22, 23, 23, 23, 64, 23, 23, 23, + 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, + 23, 71, 71, 71, 71, 71, 71, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 71, 71, 71, 71, 75, 75, 75, 0, + 0, 52, 52, 52, 0, 51, 51, 0, 51, 51, + 51, 51, 51, 51, 51, 51, 51, 51, 51, 75, + 64, 64, 0, 33, 64, 64, 64, 64, 64, 0, + 42, 64, 64, 64, 64, 64, 64, 64, 64, 64, + + 64, 62, 64, 64, 75, 75, 75, 75, 75, 0, + 0, 0, 87, 75, 75, 75, 0, 0, 0, 22, + 22, 23, 23, 64, 64, 23, 23, 23, 23, 23, + 23, 23, 23, 23, 23, 23, 23, 23, 23, 71, + 71, 71, 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 71, 71, 71, 71, 71, + 75, 75, 75, 75, 75, 0, 52, 0, 51, 51, + 51, 0, 0, 0, 51, 51, 51, 51, 51, 51, + 51, 51, 51, 51, 51, 51, 51, 75, 64, 58, + 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, + + 64, 64, 64, 64, 64, 64, 64, 66, 67, 68, + 69, 75, 0, 0, 87, 75, 75, 75, 0, 0, + 0, 0, 0, 23, 23, 64, 64, 23, 23, 23, + 64, 23, 23, 23, 23, 23, 23, 23, 23, 23, + 23, 71, 71, 71, 71, 71, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, 64, 66, + 67, 68, 69, 71, 49, 49, 49, 0, 0, 51, + 51, 51, 51, 51, 51, 51, 0, 0, 0, 0, + 0, 51, 51, 51, 51, 51, 51, 51, 51, 51, + 51, 51, 51, 51, 51, 75, 64, 0, 44, 64, + + 64, 64, 64, 0, 32, 64, 64, 64, 64, 0, + 43, 64, 64, 64, 64, 0, 31, 0, 36, 54, + 75, 0, 0, 87, 75, 75, 75, 49, 49, 49, + 23, 64, 64, 23, 23, 64, 64, 23, 23, 23, + 49, 49, 49, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 71, 75, 49, 49, 49, 49, 0, 51, + 0, 51, 51, 51, 51, 51, 51, 51, 51, 51, + 51, 51, 0, 0, 0, 51, 51, 51, 51, 51, + 51, 51, 51, 51, 51, 51, 51, 51, 24, 64, + 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, + + 56, 64, 70, 0, 0, 87, 75, 28, 65, 0, + 49, 49, 49, 49, 23, 64, 64, 23, 23, 64, + 64, 23, 23, 23, 71, 49, 49, 49, 49, 64, + 64, 64, 64, 64, 64, 64, 64, 64, 70, 50, + 50, 50, 50, 51, 0, 0, 0, 51, 51, 51, + 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, + 0, 0, 0, 0, 0, 51, 51, 51, 51, 51, + 51, 51, 51, 75, 64, 64, 64, 64, 64, 0, + 45, 64, 64, 64, 0, 30, 0, 37, 55, 0, + 28, 26, 87, 29, 0, 75, 50, 50, 50, 50, + + 23, 64, 64, 23, 64, 64, 50, 50, 50, 50, + 64, 64, 64, 64, 64, 64, 75, 75, 50, 50, + 50, 50, 0, 0, 0, 0, 0, 51, 51, 51, + 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, + 51, 51, 51, 51, 51, 51, 51, 75, 64, 0, + 34, 63, 0, 40, 64, 64, 64, 64, 29, 26, + 26, 26, 26, 87, 28, 0, 0, 0, 0, 0, + 28, 0, 0, 0, 50, 50, 50, 50, 64, 23, + 64, 64, 71, 71, 50, 50, 50, 50, 64, 64, + 64, 64, 75, 75, 75, 0, 0, 0, 51, 51, + + 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, + 51, 51, 51, 51, 51, 51, 25, 64, 0, 38, + 64, 64, 64, 26, 87, 0, 28, 0, 0, 0, + 23, 64, 64, 71, 71, 71, 64, 64, 64, 75, + 75, 75, 75, 75, 0, 0, 0, 0, 0, 51, + 51, 51, 51, 51, 51, 51, 51, 64, 0, 35, + 0, 41, 64, 27, 0, 0, 0, 0, 0, 64, + 71, 71, 71, 71, 71, 64, 75, 75, 75, 51, + 51, 51, 51, 51, 51, 64, 0, 39, 27, 27, + 27, 27, 0, 0, 0, 71, 71, 71, 75, 75, + + 75, 75, 75, 51, 51, 51, 51, 51, 64, 27, + 0, 0, 0, 0, 0, 71, 71, 71, 71, 71, + 49, 49, 49, 64, 49, 49, 49, 49, 49, 49, + 49, 49, 49, 61, 49, 49, 49, 49, 49, 49, + 0 + } ; + +static yyconst flex_int32_t yy_ec[256] = + { 0, + 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, + 4, 4, 5, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 6, 7, 8, 9, 10, 11, 1, 1, 12, + 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, + 23, 24, 25, 26, 27, 28, 29, 30, 1, 1, + 31, 32, 14, 33, 34, 35, 36, 37, 38, 39, + 40, 41, 42, 43, 43, 44, 45, 46, 47, 48, + 43, 49, 50, 51, 52, 53, 54, 55, 56, 43, + 14, 57, 14, 58, 59, 1, 60, 61, 62, 63, + + 64, 65, 66, 67, 68, 66, 66, 69, 70, 71, + 72, 66, 66, 73, 74, 75, 76, 66, 66, 66, + 66, 66, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1 + } ; + +static yyconst flex_int32_t yy_meta[77] = + { 0, + 1, 2, 3, 4, 3, 2, 5, 6, 7, 8, + 1, 9, 9, 1, 10, 11, 1, 12, 13, 14, + 14, 14, 14, 14, 14, 14, 14, 14, 14, 15, + 16, 9, 1, 14, 14, 14, 14, 14, 14, 17, + 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, + 17, 17, 17, 17, 17, 17, 18, 1, 19, 20, + 20, 20, 20, 20, 20, 21, 21, 21, 21, 21, + 21, 21, 21, 21, 21, 21 + } ; + +static yyconst flex_int16_t yy_base[1366] = + { 0, + 0, 75, 126, 199, 83, 91, 99, 180, 272, 347, + 422, 478, 131, 147, 535, 0, 189, 219, 611, 0, + 6517, 6458, 76, 9534, 6501, 6471, 9534, 685, 101, 9534, + 9534, 6409, 9534, 199, 697, 238, 143, 6428, 9534, 9534, + 23, 762, 35, 103, 71, 132, 819, 6411, 76, 6422, + 6385, 112, 6373, 6374, 61, 883, 914, 262, 152, 266, + 969, 251, 166, 6339, 122, 6336, 197, 338, 123, 369, + 6350, 6335, 6334, 6344, 1036, 177, 0, 9534, 6364, 6335, + 9534, 0, 1092, 0, 214, 9534, 6338, 6331, 9534, 9534, + 236, 1148, 249, 0, 6280, 9534, 239, 9534, 240, 9534, + + 306, 6245, 311, 262, 9534, 320, 172, 1177, 1236, 1281, + 363, 349, 1340, 1391, 6257, 86, 254, 1448, 6231, 6215, + 6227, 6200, 6212, 6207, 294, 422, 0, 173, 6187, 323, + 9534, 397, 6180, 348, 6168, 450, 1496, 444, 373, 1561, + 6135, 272, 388, 1618, 6117, 6113, 6125, 6109, 6121, 6114, + 1682, 1713, 490, 421, 6089, 737, 304, 9534, 6138, 168, + 9534, 6141, 500, 671, 6086, 848, 446, 926, 6085, 971, + 893, 6064, 1769, 984, 1784, 6077, 6088, 939, 994, 887, + 6075, 422, 243, 1849, 1906, 6050, 6034, 6002, 6013, 5988, + 5981, 5972, 5966, 5970, 5967, 1012, 5912, 5905, 5900, 5892, + + 5894, 5885, 496, 9534, 376, 1022, 1970, 449, 5868, 1024, + 417, 433, 1033, 5854, 5859, 5849, 5841, 5839, 847, 684, + 683, 418, 434, 673, 935, 318, 1089, 454, 1064, 5850, + 2026, 1086, 2057, 694, 5842, 1078, 707, 0, 5891, 528, + 5894, 9534, 9534, 0, 498, 5862, 9534, 1135, 1134, 0, + 5801, 1184, 9534, 9534, 5792, 1140, 5772, 5820, 860, 682, + 1177, 750, 5822, 943, 1075, 1250, 5767, 2114, 0, 1377, + 2173, 1196, 1196, 2215, 5793, 1250, 1263, 1208, 2266, 2323, + 5759, 0, 5764, 5757, 5732, 5726, 5715, 1451, 5705, 5692, + 9534, 1021, 5670, 5664, 5669, 891, 721, 5667, 1536, 5655, + + 1725, 5654, 1756, 1660, 5646, 2387, 1679, 2402, 5670, 1769, + 1804, 1374, 2467, 2524, 5629, 5634, 5619, 5555, 5550, 5541, + 1621, 5532, 5528, 737, 1746, 2588, 5516, 1194, 714, 841, + 431, 856, 944, 1926, 1936, 2628, 2668, 2708, 2746, 5552, + 5529, 2792, 910, 2839, 866, 2904, 2961, 5517, 5503, 0, + 5511, 5489, 5494, 5489, 5436, 5450, 5438, 5445, 5424, 5392, + 5404, 5380, 5375, 259, 5361, 5346, 5360, 5359, 5290, 5288, + 3025, 3081, 1184, 830, 24, 5240, 5230, 5232, 5238, 1042, + 896, 912, 5235, 718, 925, 821, 1979, 9534, 1043, 3137, + 3193, 983, 858, 1993, 2023, 2054, 3231, 5269, 3282, 3339, + + 5250, 5241, 5246, 5181, 5195, 5183, 5165, 5154, 5145, 5157, + 5156, 5126, 5102, 5106, 1063, 1036, 5071, 2089, 3387, 3427, + 3467, 3507, 5079, 3553, 0, 5048, 5027, 5031, 5008, 4998, + 4976, 4970, 4935, 4932, 4930, 4929, 4911, 4897, 4883, 3617, + 3673, 1480, 1018, 9534, 1086, 1124, 2113, 160, 3713, 3753, + 1969, 708, 4889, 4884, 2128, 1239, 4880, 4869, 924, 951, + 3793, 2139, 1814, 3840, 2174, 1050, 3905, 1103, 889, 1183, + 1056, 1117, 1308, 1508, 1498, 1342, 1208, 1341, 1062, 1449, + 1114, 1464, 1109, 1343, 1394, 1215, 4857, 1234, 1137, 4849, + 1366, 1008, 1506, 1424, 4818, 4813, 4815, 4786, 4792, 4778, + + 1671, 86, 1516, 1240, 1330, 1472, 2187, 4814, 2199, 2237, + 2079, 3962, 4013, 4088, 2006, 2060, 1522, 1716, 2367, 2368, + 1973, 2361, 2374, 2404, 2405, 2444, 2562, 1189, 4798, 4793, + 4742, 2549, 1536, 4136, 4176, 2603, 1450, 4775, 1850, 4757, + 4708, 1628, 2268, 4698, 4691, 4682, 4687, 4676, 4660, 4658, + 4654, 4647, 1636, 1682, 1629, 1483, 4216, 4256, 4296, 4625, + 4624, 2609, 4605, 4584, 4583, 4575, 969, 2641, 1824, 2651, + 2066, 4336, 0, 2592, 4384, 2678, 2688, 4431, 2720, 1494, + 1268, 1728, 2442, 9534, 1681, 1717, 1679, 1720, 1810, 2443, + 9534, 1724, 1698, 1468, 1966, 1729, 1647, 1686, 1954, 1967, + + 1821, 4534, 1977, 2041, 1759, 1758, 1980, 1517, 1798, 4489, + 4446, 4424, 2103, 2053, 2054, 1966, 2732, 2768, 2814, 4460, + 4459, 2445, 2877, 4442, 4430, 2880, 2999, 2842, 3000, 3006, + 3012, 2879, 3009, 2882, 4448, 4445, 4440, 4441, 4399, 4479, + 4519, 4559, 4389, 4389, 4371, 4364, 4333, 4324, 4329, 4287, + 4300, 4265, 4274, 4274, 4257, 2037, 2029, 2089, 1916, 1997, + 2694, 2050, 4599, 4639, 3043, 4257, 4242, 4240, 4217, 4677, + 2097, 2869, 3051, 3081, 2159, 2253, 2336, 3094, 2360, 4725, + 0, 3106, 4773, 3134, 3150, 4820, 3158, 2112, 2082, 4202, + 2577, 1827, 2199, 2096, 2216, 3014, 2146, 2326, 2226, 3135, + + 1944, 2188, 2334, 2252, 3186, 3187, 2351, 4173, 4135, 4111, + 4098, 2314, 4078, 4077, 2577, 2385, 2358, 2401, 3206, 4111, + 3218, 3253, 3190, 3284, 3387, 4073, 4055, 3388, 3389, 3390, + 2366, 3427, 3428, 3429, 3435, 3436, 0, 0, 0, 0, + 4003, 3480, 2125, 4868, 4908, 3456, 3467, 4008, 3997, 3979, + 3508, 3973, 3869, 2367, 3509, 3863, 3868, 3510, 3517, 3856, + 3854, 3838, 3835, 2498, 4947, 4986, 5025, 3861, 3843, 3821, + 3359, 5065, 3528, 3538, 5111, 3575, 3614, 3808, 3632, 3644, + 3587, 2537, 2572, 2974, 3030, 3670, 3066, 5159, 0, 3688, + 5207, 3699, 3723, 5254, 3731, 2419, 5319, 3759, 9534, 2275, + + 2756, 1190, 2412, 3760, 9534, 2403, 667, 2319, 2592, 3761, + 9534, 2406, 2068, 3776, 3758, 3762, 9534, 3794, 9534, 3745, + 2524, 3725, 3675, 2759, 2624, 2585, 2776, 3814, 3861, 3983, + 5381, 3680, 3668, 2549, 2557, 3669, 3649, 2610, 2634, 3625, + 5439, 5478, 5517, 5574, 2752, 3598, 2955, 2691, 1603, 2797, + 2980, 2858, 2977, 4075, 2073, 5632, 5671, 4114, 3614, 3601, + 4152, 2769, 4162, 2989, 5711, 0, 4188, 5724, 4199, 3763, + 5770, 4228, 4240, 4268, 4280, 3021, 3028, 3116, 3269, 4306, + 3442, 5818, 0, 4318, 5866, 4356, 3781, 4406, 3029, 5931, + 2506, 3089, 2994, 3081, 4479, 2787, 3022, 3139, 4519, 4559, + + 3563, 2812, 3529, 3525, 3492, 3844, 3147, 3864, 3508, 4366, + 3502, 4491, 4531, 3994, 5993, 3466, 3416, 3842, 1729, 3415, + 3395, 4560, 4561, 0, 4572, 2744, 6051, 6090, 4417, 6147, + 3371, 2428, 4600, 3113, 2962, 3347, 4601, 4602, 3314, 6206, + 6246, 6286, 6326, 3218, 4506, 4615, 4651, 3192, 3189, 3219, + 4661, 3254, 6366, 0, 4699, 6379, 4745, 4120, 6425, 4795, + 4755, 3114, 4842, 4880, 4455, 3147, 3270, 3602, 2759, 3178, + 6473, 0, 4550, 3364, 3535, 4918, 3347, 4921, 3411, 3906, + 9534, 3628, 3412, 3629, 4229, 9534, 4269, 9534, 2995, 2920, + 3765, 3421, 3215, 2813, 4936, 4976, 4932, 4974, 4998, 5037, + + 4823, 4726, 2796, 3047, 2772, 2754, 6485, 6525, 6565, 6605, + 4911, 5026, 2728, 3392, 3211, 3435, 5085, 3134, 6645, 6685, + 5016, 3410, 5095, 2706, 5133, 5181, 5145, 2653, 2613, 3633, + 3684, 5227, 3699, 6725, 0, 5276, 6738, 5237, 4625, 6784, + 5451, 5462, 5489, 5500, 3880, 2590, 3321, 2863, 3750, 4728, + 9534, 2411, 4909, 9534, 5528, 3467, 3970, 3793, 9534, 1934, + 4164, 9534, 3367, 4342, 5547, 5660, 5668, 5699, 5540, 5319, + 5707, 5906, 5658, 2403, 5747, 5792, 5193, 2359, 4910, 2196, + 2137, 1988, 5839, 3588, 6832, 6872, 5852, 3751, 5820, 1948, + 1830, 3447, 6912, 6952, 6992, 6063, 6075, 6102, 1787, 1666, + + 4075, 4089, 6112, 4177, 7032, 0, 6218, 7045, 6229, 4966, + 6258, 1645, 6269, 6297, 5288, 1558, 1440, 4170, 4916, 9534, + 5546, 5904, 4069, 9534, 4481, 6307, 6336, 6348, 6401, 6447, + 5910, 5066, 1398, 7093, 7133, 7173, 6514, 6525, 1288, 6512, + 3880, 7213, 7253, 6501, 6575, 1183, 6587, 6617, 6413, 1096, + 1034, 4640, 1014, 885, 6629, 0, 4323, 3525, 5068, 9534, + 5821, 9534, 6618, 4689, 6658, 833, 6670, 6697, 6459, 6147, + 6712, 4013, 7293, 7333, 6760, 6784, 7373, 7413, 7453, 6804, + 6842, 6852, 699, 0, 514, 3256, 6148, 9534, 3517, 4825, + 9534, 3623, 6884, 6896, 6924, 7493, 7533, 7573, 6934, 4073, + + 7613, 7653, 6965, 9534, 6972, 7003, 5698, 9534, 2225, 9534, + 7013, 471, 7067, 7105, 6539, 7115, 4074, 7693, 7733, 7146, + 7153, 7191, 7229, 3226, 7239, 7267, 7277, 7306, 7316, 7354, + 404, 7392, 7164, 316, 9534, 7430, 5757, 179, 7440, 7346, + 9534, 7790, 7811, 7832, 7853, 7874, 7895, 7916, 7937, 7958, + 7979, 8000, 4595, 8021, 8042, 8063, 8084, 8105, 8126, 3974, + 8147, 8168, 8189, 8210, 8231, 8252, 8273, 8294, 8315, 8336, + 8357, 8378, 8399, 8420, 8441, 8462, 8483, 8504, 8525, 8546, + 4711, 4858, 8555, 8575, 8596, 8617, 8638, 8659, 8680, 8701, + 8722, 4195, 8743, 8764, 8785, 8806, 8818, 8839, 5061, 8860, + + 8881, 8902, 8923, 8944, 8965, 8986, 9007, 9028, 9049, 5015, + 9058, 9078, 9099, 9120, 9141, 5557, 5566, 5900, 9150, 9158, + 9178, 9199, 5062, 6245, 6285, 6325, 9208, 9217, 6365, 6552, + 6559, 9225, 9234, 6773, 6777, 9242, 9251, 9271, 5308, 9283, + 9304, 6822, 9314, 9322, 9331, 9351, 6561, 9363, 9384, 6868, + 9394, 9402, 9411, 9431, 9452, 9473, 6871, 9483, 5651, 6951, + 9492, 6988, 5690, 9512, 3664 + } ; + +static yyconst flex_int16_t yy_def[1366] = + { 0, + 1241, 1, 1, 1, 1242, 1242, 1243, 1243, 1244, 1244, + 1245, 1245, 1246, 1246, 1241, 15, 1247, 1247, 1241, 19, + 1241, 1248, 1241, 1241, 1241, 1241, 1241, 1249, 1250, 1241, + 1241, 1251, 1241, 1252, 1248, 35, 35, 1253, 1241, 1241, + 1248, 1241, 42, 42, 42, 42, 42, 47, 47, 47, + 47, 47, 47, 47, 47, 1248, 1254, 35, 1248, 1241, + 1249, 42, 42, 47, 47, 47, 1241, 1241, 1241, 1255, + 42, 47, 47, 47, 1256, 1248, 1257, 1241, 1241, 1257, + 1241, 1257, 1241, 1258, 1258, 1241, 1241, 1258, 1241, 1241, + 1259, 1249, 1241, 1260, 1261, 1241, 1261, 1241, 1261, 1241, + + 1262, 1263, 1263, 1263, 1241, 1241, 1264, 1265, 1266, 1241, + 110, 110, 110, 1241, 114, 114, 114, 114, 118, 118, + 118, 118, 118, 118, 1267, 110, 113, 113, 1268, 1268, + 1241, 1268, 1269, 1270, 1271, 1272, 1269, 137, 137, 1241, + 140, 140, 140, 140, 144, 144, 144, 144, 144, 144, + 1269, 1273, 137, 1269, 1274, 1274, 1241, 1241, 1241, 1275, + 1241, 1241, 1276, 1241, 1277, 1241, 1264, 1277, 1278, 1278, + 1279, 1280, 1274, 1274, 1274, 1281, 175, 175, 175, 175, + 1282, 1283, 1274, 1241, 184, 185, 185, 185, 185, 185, + 185, 185, 185, 185, 185, 185, 185, 185, 185, 185, + + 185, 185, 1241, 1241, 1274, 1274, 1284, 1285, 1274, 1284, + 1274, 1274, 1241, 1241, 1241, 1241, 1241, 1241, 1275, 1274, + 175, 1274, 1274, 1274, 1241, 1241, 1241, 1241, 1286, 1287, + 1274, 185, 1288, 1289, 1274, 1288, 1274, 1290, 1290, 1241, + 1241, 1241, 1241, 1291, 1291, 1291, 1241, 1241, 1276, 1292, + 1293, 1293, 1241, 1241, 1293, 1293, 1294, 1241, 1294, 1294, + 1241, 1241, 1241, 1264, 1264, 1264, 1295, 1296, 1297, 1295, + 1298, 1241, 1241, 1297, 274, 274, 274, 274, 1241, 279, + 280, 1299, 280, 280, 280, 280, 280, 280, 280, 280, + 1241, 1285, 1297, 1297, 1300, 1300, 1300, 1301, 1301, 1302, + + 1302, 1303, 1303, 1304, 1305, 1301, 1301, 1301, 308, 308, + 308, 308, 1241, 313, 314, 314, 314, 314, 314, 314, + 314, 314, 314, 1301, 1301, 1306, 1301, 1306, 1301, 1301, + 1307, 1307, 1308, 1241, 1241, 1309, 1309, 1309, 1309, 339, + 1310, 1241, 1311, 1241, 1309, 1241, 346, 347, 347, 347, + 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, + 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, + 1312, 1312, 1309, 1309, 1241, 1241, 1241, 1241, 1241, 1307, + 1309, 1309, 339, 1309, 1309, 1309, 1241, 1241, 1313, 1314, + 1314, 1309, 1241, 1241, 1241, 1241, 1297, 397, 1241, 399, + + 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, + 400, 400, 400, 400, 1315, 1297, 1297, 1241, 1301, 1301, + 1301, 308, 422, 313, 314, 314, 314, 314, 314, 314, + 314, 314, 314, 314, 314, 314, 314, 314, 314, 1306, + 1306, 1301, 1301, 1241, 1308, 1308, 1309, 1309, 1309, 1309, + 1309, 1309, 1316, 1317, 1317, 455, 1318, 1317, 1319, 1320, + 1241, 461, 461, 1241, 461, 1309, 1241, 467, 467, 467, + 467, 467, 467, 467, 467, 467, 467, 467, 467, 467, + 467, 467, 467, 467, 467, 467, 467, 467, 467, 467, + 1309, 1309, 1309, 1309, 1241, 1241, 1241, 1241, 1241, 1241, + + 1321, 1309, 1309, 1309, 1322, 1309, 1241, 1241, 1241, 1241, + 1241, 1297, 1241, 513, 514, 514, 1323, 514, 514, 514, + 514, 514, 514, 514, 514, 514, 514, 1297, 1297, 1297, + 1297, 1301, 1301, 1301, 1301, 1301, 1301, 314, 314, 314, + 314, 314, 314, 314, 314, 314, 314, 314, 314, 314, + 314, 314, 1301, 1301, 1301, 1301, 1309, 1309, 1309, 1241, + 1324, 1324, 562, 1324, 1325, 1326, 1327, 1241, 1328, 464, + 1328, 1241, 572, 1328, 1241, 575, 575, 1241, 575, 1309, + 467, 467, 1241, 1241, 467, 467, 467, 467, 467, 1241, + 1241, 467, 467, 467, 467, 467, 467, 467, 467, 467, + + 467, 467, 467, 467, 1309, 1309, 1309, 1309, 1309, 1241, + 1241, 1241, 1321, 1309, 1309, 1309, 1241, 1241, 1241, 512, + 513, 514, 514, 1323, 1323, 514, 514, 514, 514, 514, + 514, 514, 514, 514, 1297, 1297, 1297, 1297, 1297, 1301, + 1301, 1301, 314, 314, 314, 314, 314, 314, 314, 314, + 314, 314, 314, 314, 314, 1301, 1301, 1301, 1301, 1301, + 1309, 1309, 1309, 1309, 1309, 1329, 1329, 1330, 1331, 1241, + 1241, 1241, 1241, 1241, 1332, 1332, 1333, 578, 1333, 1241, + 680, 1333, 1241, 683, 683, 1241, 683, 1309, 467, 467, + 467, 467, 467, 467, 467, 467, 467, 467, 467, 467, + + 467, 467, 467, 467, 467, 467, 467, 1309, 1309, 1309, + 1309, 1309, 1241, 1241, 1321, 1309, 1309, 1309, 1241, 1241, + 1241, 1241, 1241, 514, 514, 1323, 1323, 514, 514, 514, + 1323, 514, 514, 514, 514, 514, 1297, 1297, 1297, 1297, + 1297, 1301, 1301, 1301, 1301, 1301, 314, 314, 314, 314, + 314, 314, 314, 314, 314, 314, 314, 314, 314, 1301, + 1301, 1301, 1301, 1301, 1309, 1309, 1309, 1241, 1334, 1335, + 670, 1241, 772, 772, 1241, 772, 1241, 1241, 1241, 1241, + 1241, 1241, 1336, 1336, 1337, 686, 1337, 1241, 788, 1337, + 1241, 791, 791, 1241, 791, 1309, 1241, 1241, 1241, 797, + + 797, 797, 797, 1241, 1241, 797, 797, 797, 797, 1241, + 1241, 797, 797, 797, 797, 1241, 1241, 1241, 1241, 797, + 1309, 1241, 1241, 1338, 1309, 1309, 1309, 1241, 1241, 1241, + 1241, 1339, 1339, 831, 831, 1339, 1339, 831, 831, 1340, + 1341, 1341, 1341, 1241, 844, 844, 844, 844, 844, 844, + 844, 844, 1341, 1309, 1309, 1309, 1309, 1309, 1241, 1342, + 1241, 1343, 775, 1343, 1343, 865, 1343, 1241, 868, 868, + 1241, 868, 1241, 1241, 1241, 1241, 1344, 1344, 1345, 794, + 1345, 1241, 882, 1345, 1241, 885, 885, 885, 1309, 1241, + 890, 890, 890, 890, 890, 890, 890, 890, 890, 890, + + 890, 890, 1309, 1241, 1241, 1346, 1309, 1309, 1309, 1241, + 1241, 1241, 1241, 1241, 1241, 1347, 1347, 915, 915, 1347, + 1347, 915, 915, 1348, 1349, 1349, 1349, 1349, 1349, 1241, + 930, 930, 930, 930, 930, 930, 930, 930, 1349, 1309, + 1309, 1309, 1309, 1241, 1241, 1241, 1241, 1350, 1350, 1351, + 871, 1351, 1351, 953, 1351, 1241, 956, 956, 1241, 956, + 1241, 1241, 1241, 1241, 1241, 1241, 1352, 1352, 1353, 1353, + 1353, 971, 1353, 1309, 890, 890, 890, 890, 890, 1241, + 1241, 890, 890, 890, 1241, 1241, 1241, 1241, 890, 1241, + 1241, 1354, 1346, 1309, 1355, 1356, 1241, 1241, 1241, 1241, + + 915, 1347, 1347, 915, 1347, 1347, 1349, 1349, 1349, 1349, + 930, 930, 930, 930, 930, 930, 1309, 1309, 1309, 1309, + 1309, 1309, 1241, 1241, 1241, 1241, 1241, 1241, 1357, 1357, + 1358, 959, 1358, 1358, 1034, 1358, 1241, 1037, 1037, 1241, + 1037, 1241, 1241, 1241, 1241, 1359, 1359, 1309, 890, 1241, + 1241, 890, 1241, 1241, 890, 890, 890, 890, 1241, 1354, + 1354, 1241, 1354, 1346, 1355, 1355, 1355, 1355, 1241, 1355, + 1356, 1356, 1241, 1241, 1241, 1241, 1241, 1241, 1347, 915, + 1347, 1347, 1349, 1349, 1349, 1349, 1349, 1349, 930, 930, + 930, 930, 1309, 1309, 1309, 1241, 1241, 1241, 1241, 1360, + + 1360, 1361, 1040, 1361, 1361, 1105, 1361, 1241, 1108, 1108, + 1108, 1241, 1241, 1241, 1241, 1241, 1309, 890, 1241, 1241, + 890, 890, 890, 1241, 1346, 1241, 1241, 1241, 1241, 1241, + 915, 1347, 1347, 1349, 1349, 1349, 930, 930, 930, 1309, + 1309, 1309, 1309, 1309, 1241, 1241, 1241, 1241, 1241, 1241, + 1362, 1362, 1363, 1363, 1363, 1155, 1155, 890, 1241, 1241, + 1241, 1241, 890, 1364, 1241, 1241, 1241, 1241, 1241, 1347, + 1349, 1349, 1349, 1349, 1349, 930, 1309, 1309, 1309, 1241, + 1241, 1241, 1241, 1365, 1365, 890, 1241, 1241, 1364, 1364, + 1241, 1364, 1241, 1241, 1241, 1349, 1349, 1349, 1309, 1309, + + 1309, 1309, 1309, 1241, 1241, 1241, 1241, 1241, 890, 1241, + 1241, 1241, 1241, 1241, 1241, 1349, 1349, 1349, 1349, 1349, + 1309, 1309, 1309, 890, 1241, 1241, 1241, 1349, 1349, 1349, + 1309, 1309, 1309, 890, 1241, 1241, 1241, 1349, 1349, 1349, + 0, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241 + } ; + +static yyconst flex_int16_t yy_nxt[9611] = + { 0, + 22, 23, 24, 22, 25, 23, 26, 27, 28, 22, + 29, 30, 31, 22, 32, 33, 22, 22, 34, 35, + 36, 37, 35, 35, 35, 35, 35, 35, 35, 38, + 39, 40, 41, 42, 43, 44, 43, 45, 46, 47, + 47, 48, 47, 49, 50, 51, 47, 52, 53, 54, + 55, 47, 47, 47, 47, 47, 56, 57, 22, 58, + 58, 58, 58, 58, 58, 22, 22, 22, 22, 22, + 22, 22, 22, 59, 22, 22, 60, 157, 185, 156, + 60, 157, 185, 61, 23, 78, 495, 79, 23, 80, + 183, 81, 23, 78, 496, 79, 23, 80, 81, 81, + + 85, 86, 201, 87, 85, 88, 81, 89, 90, 166, + 62, 63, 81, 82, 185, 64, 202, 193, 185, 614, + 81, 82, 194, 65, 228, 190, 66, 67, 228, 280, + 167, 67, 103, 24, 68, 25, 103, 104, 105, 83, + 283, 69, 156, 188, 70, 197, 185, 83, 103, 24, + 185, 25, 103, 104, 105, 91, 189, 168, 22, 71, + 198, 43, 179, 179, 179, 179, 179, 180, 199, 72, + 161, 73, 332, 74, 47, 185, 47, 447, 191, 185, + 166, 85, 86, 75, 87, 85, 88, 106, 89, 90, + 23, 24, 40, 25, 23, 130, 131, 223, 225, 76, + + 67, 265, 225, 106, 67, 172, 172, 68, 156, 185, + 172, 172, 226, 185, 69, 245, 156, 70, 211, 245, + 23, 24, 40, 25, 23, 130, 131, 212, 266, 221, + 172, 22, 71, 156, 43, 299, 91, 248, 204, 293, + 241, 248, 72, 211, 73, 132, 74, 47, 294, 47, + 203, 204, 237, 241, 203, 173, 75, 178, 178, 178, + 178, 178, 178, 178, 178, 178, 178, 213, 260, 253, + 254, 213, 76, 23, 24, 132, 25, 23, 26, 155, + 92, 177, 177, 177, 177, 177, 177, 177, 177, 177, + 177, 188, 483, 484, 185, 252, 252, 280, 185, 156, + + 284, 214, 215, 291, 189, 157, 216, 256, 204, 157, + 241, 256, 259, 345, 217, 314, 259, 218, 258, 228, + 220, 261, 262, 228, 263, 261, 316, 257, 93, 297, + 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, + 94, 94, 94, 94, 94, 94, 94, 94, 23, 24, + 292, 25, 23, 26, 227, 92, 166, 164, 164, 164, + 164, 164, 164, 164, 164, 164, 164, 258, 277, 277, + 277, 277, 277, 278, 185, 230, 230, 265, 204, 296, + 230, 230, 276, 276, 276, 276, 276, 276, 276, 276, + 276, 276, 311, 311, 311, 311, 311, 312, 203, 204, + + 230, 241, 203, 93, 301, 94, 94, 94, 94, 94, + 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, + 94, 94, 94, 23, 24, 231, 25, 23, 26, 96, + 92, 314, 156, 161, 317, 332, 97, 98, 99, 1241, + 342, 275, 275, 275, 275, 275, 275, 275, 275, 275, + 275, 344, 100, 296, 166, 228, 305, 305, 291, 228, + 156, 305, 305, 310, 310, 310, 310, 310, 310, 310, + 310, 310, 310, 156, 156, 1241, 373, 299, 101, 23, + 24, 305, 25, 23, 26, 96, 92, 329, 1211, 156, + 156, 384, 97, 98, 99, 374, 330, 203, 204, 245, + + 241, 203, 266, 245, 385, 292, 306, 298, 100, 309, + 309, 309, 309, 309, 309, 309, 309, 309, 309, 164, + 164, 164, 164, 164, 164, 164, 164, 164, 164, 203, + 204, 861, 241, 203, 101, 40, 23, 24, 40, 25, + 23, 26, 40, 40, 40, 107, 30, 31, 40, 108, + 33, 40, 40, 109, 110, 111, 112, 110, 110, 110, + 110, 110, 110, 110, 38, 113, 40, 40, 114, 115, + 115, 115, 116, 117, 118, 118, 119, 118, 120, 121, + 122, 118, 123, 118, 124, 118, 118, 118, 118, 118, + 118, 93, 125, 40, 126, 126, 126, 126, 126, 126, + + 127, 127, 127, 127, 127, 127, 127, 127, 128, 127, + 127, 133, 23, 24, 133, 25, 23, 26, 40, 40, + 133, 134, 30, 31, 133, 135, 33, 133, 133, 136, + 137, 138, 139, 137, 137, 137, 137, 137, 137, 137, + 38, 39, 40, 133, 140, 141, 141, 141, 142, 143, + 144, 144, 145, 144, 146, 147, 148, 144, 149, 144, + 150, 144, 144, 144, 144, 144, 144, 151, 152, 133, + 153, 153, 153, 153, 153, 153, 133, 133, 133, 133, + 133, 133, 133, 133, 154, 133, 133, 161, 260, 162, + 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, + + 155, 163, 896, 388, 164, 164, 164, 164, 164, 164, + 164, 164, 164, 164, 174, 185, 175, 175, 175, 175, + 175, 175, 175, 175, 175, 175, 176, 297, 1103, 156, + 177, 177, 177, 177, 177, 177, 386, 176, 258, 204, + 156, 155, 155, 155, 155, 155, 381, 383, 155, 155, + 389, 393, 155, 156, 382, 393, 177, 177, 177, 177, + 177, 177, 155, 156, 156, 155, 155, 155, 155, 392, + 299, 155, 155, 442, 156, 155, 155, 296, 155, 155, + 155, 184, 184, 184, 184, 184, 184, 184, 184, 184, + 184, 176, 381, 299, 155, 184, 184, 184, 184, 184, + + 184, 185, 185, 185, 185, 186, 185, 185, 185, 187, + 185, 185, 185, 185, 185, 185, 185, 185, 156, 155, + 185, 177, 177, 177, 177, 177, 177, 155, 155, 155, + 155, 155, 155, 155, 155, 155, 155, 155, 185, 185, + 185, 185, 185, 185, 185, 185, 185, 185, 1241, 161, + 1165, 332, 185, 185, 185, 185, 185, 185, 444, 393, + 332, 259, 185, 393, 334, 259, 185, 335, 335, 335, + 335, 335, 335, 335, 335, 335, 335, 156, 155, 155, + 155, 155, 155, 155, 203, 204, 156, 205, 206, 155, + 155, 155, 295, 381, 155, 155, 295, 299, 155, 172, + + 172, 494, 1241, 443, 172, 172, 340, 340, 340, 340, + 340, 340, 155, 155, 155, 208, 258, 380, 1241, 208, + 208, 208, 156, 209, 172, 208, 208, 466, 342, 208, + 165, 165, 165, 165, 165, 582, 225, 165, 165, 460, + 225, 165, 342, 208, 208, 208, 161, 296, 446, 173, + 226, 1241, 156, 460, 502, 165, 165, 165, 340, 340, + 340, 340, 340, 340, 340, 340, 340, 340, 156, 342, + 210, 161, 1241, 162, 381, 169, 169, 169, 169, 169, + 464, 156, 169, 169, 504, 163, 169, 342, 164, 164, + 164, 164, 164, 164, 164, 164, 164, 164, 460, 266, + + 169, 169, 169, 336, 337, 338, 336, 336, 336, 336, + 336, 336, 336, 340, 340, 340, 340, 340, 340, 340, + 340, 340, 340, 203, 204, 208, 241, 203, 155, 208, + 415, 861, 207, 371, 213, 607, 219, 234, 213, 156, + 156, 234, 234, 234, 161, 235, 332, 234, 234, 357, + 358, 234, 505, 359, 506, 360, 361, 528, 529, 362, + 530, 363, 364, 1103, 156, 234, 234, 234, 214, 215, + 230, 230, 291, 216, 299, 230, 230, 292, 156, 234, + 372, 217, 155, 166, 218, 1241, 233, 390, 161, 556, + 446, 1241, 236, 240, 204, 230, 241, 240, 242, 389, + + 243, 595, 585, 501, 1241, 242, 156, 243, 164, 164, + 164, 164, 164, 164, 164, 164, 164, 164, 580, 292, + 231, 243, 243, 357, 358, 1032, 444, 359, 446, 360, + 361, 266, 1241, 362, 391, 363, 203, 204, 1241, 241, + 203, 203, 204, 1241, 241, 203, 1241, 599, 243, 242, + 161, 581, 162, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 597, 249, 586, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 267, 261, 262, + 267, 263, 261, 604, 583, 251, 267, 267, 583, 251, + 267, 251, 251, 267, 267, 208, 252, 172, 298, 251, + + 1145, 172, 326, 440, 172, 491, 492, 269, 493, 267, + 635, 172, 584, 636, 251, 394, 395, 396, 394, 394, + 394, 394, 394, 394, 394, 172, 172, 398, 398, 398, + 398, 398, 398, 270, 267, 267, 172, 1241, 185, 172, + 156, 893, 172, 172, 1241, 172, 172, 172, 172, 172, + 441, 593, 172, 172, 264, 264, 264, 264, 564, 564, + 564, 264, 264, 1241, 602, 264, 269, 172, 172, 398, + 398, 398, 398, 398, 398, 398, 398, 398, 398, 603, + 264, 264, 398, 398, 398, 398, 398, 398, 398, 398, + 398, 398, 272, 172, 172, 269, 156, 1241, 273, 269, + + 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, + 176, 269, 689, 381, 275, 275, 275, 275, 275, 275, + 269, 269, 269, 269, 269, 269, 269, 269, 269, 269, + 269, 269, 269, 269, 269, 269, 269, 1241, 1176, 388, + 275, 275, 275, 275, 275, 275, 269, 269, 269, 269, + 269, 269, 269, 269, 269, 269, 269, 1241, 587, 269, + 269, 269, 269, 269, 269, 269, 269, 269, 269, 1241, + 1241, 1241, 1241, 269, 269, 269, 269, 269, 269, 592, + 600, 267, 267, 267, 267, 267, 389, 605, 267, 267, + 606, 594, 267, 423, 423, 423, 423, 423, 423, 269, + + 269, 269, 269, 269, 269, 269, 267, 267, 267, 269, + 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, + 176, 269, 156, 1241, 279, 279, 279, 279, 279, 279, + 280, 280, 280, 280, 281, 280, 280, 280, 280, 280, + 280, 280, 280, 280, 280, 280, 280, 601, 1170, 282, + 275, 275, 275, 275, 275, 275, 269, 269, 269, 269, + 269, 269, 269, 269, 269, 269, 269, 280, 280, 280, + 280, 280, 280, 280, 280, 280, 280, 1241, 1241, 176, + 156, 280, 280, 280, 280, 280, 280, 609, 406, 407, + 596, 280, 408, 1241, 409, 410, 156, 1241, 411, 590, + + 412, 553, 554, 590, 555, 698, 299, 269, 269, 269, + 269, 269, 269, 307, 598, 308, 308, 308, 308, 308, + 308, 308, 308, 308, 308, 176, 608, 591, 156, 309, + 309, 309, 309, 309, 309, 616, 299, 1241, 711, 299, + 298, 298, 298, 298, 298, 176, 660, 298, 298, 588, + 156, 298, 299, 532, 589, 309, 309, 309, 309, 309, + 309, 298, 156, 624, 298, 298, 298, 298, 625, 688, + 298, 298, 156, 156, 298, 298, 342, 298, 298, 298, + 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, + 176, 615, 299, 298, 313, 313, 313, 313, 313, 313, + + 314, 314, 314, 314, 315, 314, 314, 314, 314, 314, + 314, 314, 314, 314, 314, 314, 314, 299, 298, 314, + 309, 309, 309, 309, 309, 309, 298, 298, 298, 298, + 298, 298, 298, 298, 298, 298, 298, 314, 314, 314, + 314, 314, 314, 314, 314, 314, 314, 1241, 935, 659, + 314, 314, 314, 314, 314, 314, 314, 656, 431, 432, + 657, 314, 433, 342, 434, 435, 305, 305, 436, 645, + 437, 305, 305, 161, 646, 332, 1241, 298, 298, 298, + 298, 298, 298, 203, 204, 299, 324, 325, 298, 298, + 298, 305, 299, 298, 298, 1032, 701, 298, 419, 420, + + 421, 419, 419, 419, 419, 419, 419, 419, 1241, 658, + 1241, 298, 298, 298, 208, 1241, 306, 590, 208, 208, + 208, 590, 327, 702, 208, 208, 693, 1241, 208, 300, + 300, 300, 300, 300, 691, 299, 300, 300, 299, 613, + 300, 697, 208, 208, 208, 591, 1241, 203, 204, 1241, + 241, 203, 692, 1241, 300, 300, 300, 1241, 1241, 696, + 302, 302, 302, 302, 302, 694, 1004, 302, 302, 328, + 172, 302, 700, 155, 171, 155, 155, 171, 690, 280, + 155, 155, 708, 709, 171, 302, 302, 302, 423, 423, + 423, 423, 423, 423, 423, 423, 423, 423, 171, 171, + + 155, 174, 299, 339, 339, 339, 339, 339, 339, 339, + 339, 339, 339, 176, 156, 156, 951, 339, 339, 339, + 339, 339, 339, 423, 423, 423, 423, 423, 423, 423, + 423, 423, 423, 573, 573, 573, 573, 573, 574, 1241, + 156, 568, 342, 339, 339, 339, 339, 339, 339, 155, + 1241, 583, 155, 570, 156, 583, 1241, 705, 155, 155, + 712, 695, 155, 155, 800, 155, 155, 155, 346, 346, + 346, 346, 346, 346, 346, 346, 346, 346, 176, 584, + 1138, 155, 346, 346, 346, 346, 346, 346, 185, 185, + 185, 185, 185, 185, 185, 185, 185, 185, 185, 185, + + 185, 185, 185, 185, 185, 156, 155, 185, 339, 339, + 339, 339, 339, 339, 155, 155, 155, 155, 155, 155, + 155, 155, 155, 155, 155, 185, 185, 185, 185, 185, + 185, 185, 185, 185, 185, 1241, 1062, 763, 1063, 185, + 185, 185, 185, 185, 185, 335, 335, 335, 335, 335, + 335, 335, 335, 335, 335, 335, 335, 335, 335, 335, + 335, 335, 335, 335, 335, 155, 155, 155, 155, 155, + 155, 208, 299, 1241, 1241, 208, 208, 208, 1241, 209, + 230, 208, 208, 1241, 230, 208, 447, 230, 448, 448, + 448, 448, 448, 448, 230, 1241, 1241, 812, 1137, 208, + + 208, 208, 1241, 710, 703, 704, 1241, 1241, 230, 230, + 507, 1241, 508, 508, 508, 508, 508, 508, 508, 508, + 508, 508, 156, 628, 699, 156, 210, 230, 718, 706, + 155, 229, 155, 155, 229, 1241, 156, 155, 155, 1133, + 507, 229, 509, 509, 509, 509, 509, 509, 509, 509, + 509, 509, 622, 299, 761, 229, 229, 155, 234, 764, + 760, 1241, 234, 234, 234, 1241, 235, 661, 234, 234, + 1241, 507, 234, 510, 510, 510, 510, 510, 511, 508, + 508, 508, 508, 1241, 342, 299, 234, 234, 234, 1241, + 305, 854, 707, 299, 305, 570, 507, 305, 508, 508, + + 508, 508, 508, 508, 305, 161, 156, 332, 623, 156, + 156, 1241, 762, 236, 267, 342, 185, 267, 305, 305, + 900, 716, 717, 267, 267, 1241, 460, 267, 797, 156, + 267, 267, 557, 558, 559, 557, 557, 557, 557, 557, + 557, 557, 742, 802, 269, 299, 267, 562, 562, 563, + 564, 564, 564, 564, 564, 564, 564, 457, 572, 572, + 572, 572, 572, 572, 572, 572, 572, 572, 156, 156, + 270, 267, 267, 172, 796, 1241, 172, 342, 715, 172, + 172, 299, 172, 172, 172, 172, 172, 1132, 570, 172, + 172, 1241, 806, 571, 571, 571, 571, 571, 571, 571, + + 571, 571, 571, 269, 172, 172, 617, 618, 619, 617, + 617, 617, 617, 617, 617, 617, 507, 1241, 508, 508, + 508, 508, 508, 508, 508, 508, 508, 508, 1241, 272, + 172, 172, 273, 813, 397, 397, 397, 397, 397, 397, + 397, 397, 397, 397, 176, 1241, 1131, 801, 397, 397, + 397, 397, 397, 397, 507, 1241, 508, 508, 508, 508, + 508, 508, 508, 508, 508, 508, 803, 808, 1224, 590, + 568, 342, 809, 590, 397, 397, 397, 397, 397, 397, + 269, 1241, 570, 185, 269, 399, 399, 399, 399, 399, + 399, 399, 399, 399, 399, 176, 269, 591, 815, 399, + + 399, 399, 399, 399, 399, 280, 280, 280, 280, 280, + 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, + 280, 280, 891, 185, 282, 397, 397, 397, 397, 397, + 397, 269, 269, 269, 269, 269, 269, 269, 269, 269, + 269, 269, 280, 280, 280, 280, 280, 280, 280, 280, + 280, 280, 1241, 568, 342, 1241, 280, 280, 280, 280, + 280, 280, 1241, 1241, 897, 678, 1241, 185, 1241, 1241, + 156, 814, 1241, 1241, 807, 1241, 1073, 1241, 342, 1241, + 1241, 821, 269, 269, 269, 269, 269, 269, 305, 678, + 1241, 298, 304, 298, 298, 304, 1241, 1241, 298, 298, + + 629, 820, 304, 1241, 626, 1241, 1241, 836, 849, 1241, + 1241, 627, 837, 850, 156, 630, 304, 304, 298, 307, + 1073, 422, 422, 422, 422, 422, 422, 422, 422, 422, + 422, 176, 826, 1241, 1241, 422, 422, 422, 422, 422, + 422, 156, 899, 583, 590, 1241, 1241, 583, 590, 1241, + 1241, 185, 825, 631, 185, 632, 895, 156, 299, 894, + 185, 422, 422, 422, 422, 422, 422, 298, 827, 185, + 298, 584, 591, 1241, 1241, 156, 298, 298, 314, 1013, + 298, 298, 889, 298, 298, 298, 424, 424, 424, 424, + 424, 424, 424, 424, 424, 424, 176, 633, 724, 298, + + 424, 424, 424, 424, 424, 424, 314, 314, 314, 314, + 314, 314, 314, 314, 314, 314, 314, 314, 314, 314, + 314, 314, 314, 299, 298, 314, 422, 422, 422, 422, + 422, 422, 298, 298, 298, 298, 298, 298, 298, 298, + 298, 298, 298, 314, 314, 314, 314, 314, 314, 314, + 314, 314, 314, 1241, 299, 342, 976, 314, 314, 314, + 314, 314, 314, 1241, 185, 853, 570, 1241, 640, 641, + 642, 640, 640, 640, 640, 640, 640, 640, 798, 161, + 156, 332, 798, 298, 298, 298, 298, 298, 298, 208, + 342, 1241, 919, 208, 208, 208, 280, 327, 903, 208, + + 208, 678, 918, 208, 280, 299, 799, 634, 342, 568, + 342, 676, 676, 676, 676, 676, 676, 208, 208, 208, + 532, 570, 533, 533, 533, 533, 533, 533, 667, 667, + 667, 667, 667, 667, 667, 667, 667, 667, 457, 824, + 185, 156, 951, 898, 328, 447, 922, 448, 448, 448, + 448, 448, 448, 448, 448, 448, 448, 280, 908, 299, + 672, 673, 674, 672, 672, 672, 672, 672, 672, 672, + 579, 579, 579, 579, 579, 579, 579, 579, 579, 579, + 156, 280, 863, 907, 156, 447, 923, 449, 449, 449, + 449, 449, 449, 449, 449, 449, 449, 680, 680, 680, + + 680, 680, 680, 680, 680, 680, 680, 681, 681, 681, + 681, 681, 682, 765, 766, 767, 765, 765, 765, 765, + 765, 765, 765, 1023, 156, 447, 934, 450, 450, 450, + 450, 450, 451, 448, 448, 448, 448, 1241, 314, 679, + 679, 679, 679, 679, 679, 679, 679, 679, 679, 719, + 156, 720, 720, 720, 720, 720, 720, 720, 720, 720, + 720, 161, 925, 332, 156, 452, 452, 452, 452, 452, + 452, 452, 452, 452, 452, 176, 568, 342, 1089, 452, + 452, 452, 452, 452, 452, 719, 861, 721, 721, 721, + 721, 721, 721, 721, 721, 721, 721, 892, 863, 314, + + 299, 1082, 156, 931, 185, 452, 452, 452, 452, 452, + 452, 454, 455, 456, 456, 456, 456, 456, 456, 456, + 456, 457, 906, 1081, 982, 458, 458, 458, 458, 458, + 458, 719, 156, 722, 722, 722, 722, 722, 723, 720, + 720, 720, 720, 1241, 314, 185, 1079, 1241, 936, 989, + 909, 458, 458, 458, 458, 458, 458, 342, 461, 462, + 463, 461, 461, 461, 461, 461, 461, 461, 464, 156, + 185, 1241, 465, 465, 465, 465, 465, 465, 1241, 730, + 1241, 1241, 1241, 1241, 1241, 1241, 777, 1241, 778, 778, + 778, 778, 778, 778, 778, 778, 778, 778, 465, 465, + + 465, 465, 465, 465, 155, 314, 1241, 155, 1241, 1241, + 938, 1241, 725, 155, 155, 728, 734, 155, 155, 156, + 155, 155, 155, 467, 467, 467, 467, 467, 467, 467, + 467, 467, 467, 176, 736, 1117, 155, 467, 467, 467, + 467, 467, 467, 185, 185, 185, 185, 185, 185, 185, + 185, 185, 185, 185, 185, 185, 185, 185, 185, 185, + 156, 155, 185, 452, 452, 452, 452, 452, 452, 155, + 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, + 185, 185, 185, 185, 185, 185, 185, 185, 185, 185, + 1241, 568, 342, 1059, 185, 185, 185, 185, 185, 185, + + 1241, 1241, 314, 678, 1241, 1241, 1241, 1241, 933, 1015, + 1241, 1241, 314, 1241, 1241, 804, 937, 1241, 863, 804, + 155, 155, 155, 155, 155, 155, 208, 314, 1241, 1241, + 208, 208, 208, 299, 209, 1241, 208, 208, 1241, 342, + 208, 1241, 729, 805, 978, 735, 342, 568, 342, 732, + 678, 939, 185, 185, 208, 208, 208, 786, 731, 786, + 661, 733, 662, 662, 662, 662, 662, 662, 777, 983, + 779, 779, 779, 779, 779, 779, 779, 779, 779, 779, + 185, 210, 208, 1241, 342, 156, 208, 208, 208, 208, + 371, 974, 208, 208, 1080, 786, 208, 280, 777, 156, + + 780, 780, 780, 780, 780, 781, 778, 778, 778, 778, + 208, 208, 208, 687, 687, 687, 687, 687, 687, 687, + 687, 687, 687, 568, 342, 784, 784, 784, 784, 784, + 784, 961, 979, 568, 342, 678, 810, 210, 234, 185, + 810, 977, 234, 234, 234, 786, 235, 185, 234, 234, + 1014, 1017, 234, 788, 788, 788, 788, 788, 788, 788, + 788, 788, 788, 314, 811, 342, 234, 234, 234, 789, + 789, 789, 789, 789, 790, 1241, 786, 787, 787, 787, + 787, 787, 787, 787, 787, 787, 787, 816, 818, 984, + 156, 816, 818, 236, 234, 1241, 342, 185, 234, 234, + + 234, 234, 390, 156, 234, 234, 861, 719, 234, 720, + 720, 720, 720, 720, 720, 817, 819, 161, 863, 332, + 994, 863, 234, 234, 234, 828, 829, 830, 828, 828, + 828, 828, 828, 828, 828, 719, 861, 720, 720, 720, + 720, 720, 720, 720, 720, 720, 720, 771, 951, 236, + 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, + 176, 314, 1091, 1234, 512, 512, 512, 512, 512, 512, + 719, 1241, 720, 720, 720, 720, 720, 720, 720, 720, + 720, 720, 1064, 951, 185, 798, 568, 342, 342, 798, + 512, 512, 512, 512, 512, 512, 269, 1209, 880, 880, + + 269, 513, 513, 513, 513, 513, 513, 513, 513, 513, + 513, 176, 269, 799, 185, 513, 513, 513, 513, 513, + 513, 280, 280, 280, 280, 280, 280, 280, 280, 280, + 280, 280, 280, 280, 280, 280, 280, 280, 568, 342, + 282, 512, 512, 512, 512, 512, 512, 269, 269, 269, + 269, 269, 269, 269, 269, 269, 269, 269, 280, 280, + 280, 280, 280, 280, 280, 280, 280, 280, 1241, 1124, + 299, 1063, 280, 280, 280, 280, 280, 280, 776, 776, + 776, 776, 776, 776, 776, 776, 776, 776, 1241, 804, + 1241, 1241, 1241, 804, 1241, 1241, 1052, 1016, 269, 269, + + 269, 269, 269, 269, 532, 185, 533, 533, 533, 533, + 533, 533, 533, 533, 533, 533, 1241, 805, 1241, 1241, + 156, 1012, 1061, 1062, 831, 1063, 1061, 1017, 810, 1241, + 1241, 1048, 810, 1241, 1241, 834, 816, 818, 835, 1090, + 816, 818, 314, 299, 532, 1006, 534, 534, 534, 534, + 534, 534, 534, 534, 534, 534, 811, 1241, 1241, 1241, + 342, 1055, 1005, 1057, 817, 819, 156, 1003, 798, 185, + 185, 880, 798, 742, 839, 743, 743, 743, 743, 743, + 743, 838, 1092, 299, 532, 314, 535, 535, 535, 535, + 535, 536, 533, 533, 533, 533, 799, 314, 1139, 841, + + 842, 843, 841, 841, 841, 841, 841, 841, 841, 804, + 810, 816, 299, 804, 810, 816, 1002, 1121, 818, 1191, + 910, 1192, 818, 299, 298, 185, 537, 537, 537, 537, + 537, 537, 537, 537, 537, 537, 299, 805, 811, 817, + 537, 537, 537, 537, 537, 537, 819, 865, 865, 865, + 865, 865, 865, 865, 865, 865, 865, 866, 866, 866, + 866, 866, 867, 1186, 156, 991, 537, 537, 537, 537, + 537, 537, 538, 538, 538, 538, 538, 538, 538, 538, + 538, 538, 1049, 185, 990, 156, 538, 538, 538, 538, + 538, 538, 1241, 185, 864, 864, 864, 864, 864, 864, + + 864, 864, 864, 864, 777, 1083, 778, 778, 778, 778, + 778, 778, 537, 537, 537, 537, 537, 537, 208, 568, + 342, 185, 208, 208, 208, 1210, 327, 1192, 208, 208, + 771, 880, 208, 873, 874, 875, 873, 873, 873, 873, + 873, 873, 873, 566, 299, 932, 208, 208, 208, 777, + 861, 778, 778, 778, 778, 778, 778, 778, 778, 778, + 778, 777, 951, 778, 778, 778, 778, 778, 778, 778, + 778, 778, 778, 328, 208, 1056, 1058, 1208, 208, 208, + 208, 208, 440, 1208, 208, 208, 185, 185, 208, 795, + 795, 795, 795, 795, 795, 795, 795, 795, 795, 924, + + 921, 861, 208, 208, 208, 568, 342, 878, 878, 878, + 878, 878, 878, 1032, 920, 917, 1241, 786, 882, 882, + 882, 882, 882, 882, 882, 882, 882, 882, 1032, 328, + 447, 916, 448, 448, 448, 448, 448, 448, 448, 448, + 448, 448, 883, 883, 883, 883, 883, 884, 1241, 905, + 881, 881, 881, 881, 881, 881, 881, 881, 881, 881, + 798, 804, 810, 816, 798, 804, 810, 816, 1083, 156, + 447, 995, 448, 448, 448, 448, 448, 448, 448, 448, + 448, 448, 954, 954, 954, 954, 954, 955, 799, 805, + 811, 817, 904, 185, 995, 818, 995, 995, 1118, 818, + + 972, 972, 972, 972, 972, 973, 902, 299, 185, 156, + 568, 342, 569, 569, 569, 569, 569, 569, 569, 569, + 569, 569, 570, 819, 901, 777, 571, 571, 571, 571, + 571, 571, 910, 911, 911, 911, 911, 911, 911, 911, + 911, 911, 911, 980, 1123, 992, 161, 980, 332, 992, + 771, 185, 571, 571, 571, 571, 571, 571, 342, 575, + 576, 577, 575, 575, 575, 575, 575, 575, 575, 578, + 995, 981, 566, 579, 579, 579, 579, 579, 579, 910, + 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, + 457, 299, 280, 995, 299, 995, 996, 1140, 342, 579, + + 579, 579, 579, 579, 579, 155, 993, 980, 155, 880, + 299, 980, 299, 852, 155, 155, 851, 848, 155, 155, + 156, 155, 155, 155, 185, 185, 185, 185, 185, 185, + 185, 185, 185, 185, 176, 981, 156, 155, 185, 185, + 185, 185, 185, 185, 185, 185, 185, 185, 185, 185, + 185, 185, 185, 185, 185, 185, 185, 185, 185, 185, + 185, 156, 155, 185, 155, 155, 155, 155, 155, 155, + 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, + 155, 620, 620, 620, 620, 620, 620, 620, 620, 620, + 620, 176, 250, 250, 250, 620, 620, 620, 620, 620, + + 620, 910, 913, 913, 913, 913, 913, 914, 911, 911, + 911, 911, 910, 911, 911, 911, 911, 911, 911, 847, + 1122, 620, 620, 620, 620, 620, 620, 269, 185, 846, + 1171, 269, 621, 621, 621, 621, 621, 621, 621, 621, + 621, 621, 176, 269, 845, 844, 621, 621, 621, 621, + 621, 621, 280, 280, 280, 280, 280, 280, 280, 280, + 280, 280, 280, 280, 280, 280, 280, 280, 280, 299, + 840, 282, 620, 620, 620, 620, 620, 620, 269, 269, + 269, 269, 269, 269, 269, 269, 269, 269, 269, 583, + 1199, 1216, 861, 583, 940, 941, 942, 943, 940, 940, + + 940, 940, 940, 940, 1032, 833, 861, 280, 280, 280, + 280, 280, 280, 280, 280, 280, 280, 584, 1103, 1163, + 832, 280, 280, 280, 280, 280, 280, 185, 719, 156, + 299, 156, 854, 855, 855, 855, 855, 855, 855, 1035, + 1035, 1035, 1035, 1035, 1036, 823, 822, 269, 269, 269, + 269, 269, 269, 532, 156, 533, 533, 533, 533, 533, + 533, 533, 533, 533, 533, 1061, 1062, 156, 1063, 1061, + 156, 945, 946, 947, 945, 945, 945, 945, 945, 945, + 945, 872, 872, 872, 872, 872, 872, 872, 872, 872, + 872, 156, 299, 532, 1241, 533, 533, 533, 533, 533, + + 533, 533, 533, 533, 533, 861, 1103, 949, 949, 949, + 949, 949, 949, 250, 250, 250, 1158, 863, 953, 953, + 953, 953, 953, 953, 953, 953, 953, 953, 185, 156, + 985, 1241, 299, 661, 985, 662, 662, 662, 662, 662, + 662, 662, 662, 662, 662, 1241, 771, 952, 952, 952, + 952, 952, 952, 952, 952, 952, 952, 961, 986, 962, + 962, 962, 962, 962, 962, 962, 962, 962, 962, 566, + 987, 457, 156, 661, 987, 663, 663, 663, 663, 663, + 663, 663, 663, 663, 663, 961, 457, 963, 963, 963, + 963, 963, 963, 963, 963, 963, 963, 961, 988, 964, + + 964, 964, 964, 964, 965, 962, 962, 962, 962, 759, + 758, 757, 156, 661, 756, 664, 664, 664, 664, 664, + 665, 662, 662, 662, 662, 888, 888, 888, 888, 888, + 888, 888, 888, 888, 888, 568, 342, 968, 968, 968, + 968, 968, 968, 755, 161, 754, 332, 880, 1184, 1184, + 1184, 1184, 156, 568, 342, 676, 676, 676, 676, 676, + 676, 676, 676, 676, 676, 570, 753, 752, 751, 675, + 675, 675, 675, 675, 675, 971, 971, 971, 971, 971, + 971, 971, 971, 971, 971, 997, 998, 999, 1000, 997, + 997, 997, 997, 997, 997, 675, 675, 675, 675, 675, + + 675, 568, 342, 677, 677, 677, 677, 677, 677, 677, + 677, 677, 677, 678, 1125, 750, 749, 679, 679, 679, + 679, 679, 679, 1241, 748, 970, 970, 970, 970, 970, + 970, 970, 970, 970, 970, 925, 926, 926, 926, 926, + 926, 926, 747, 679, 679, 679, 679, 679, 679, 342, + 683, 684, 685, 683, 683, 683, 683, 683, 683, 683, + 686, 741, 740, 739, 687, 687, 687, 687, 687, 687, + 738, 737, 961, 299, 962, 962, 962, 962, 962, 962, + 980, 727, 1164, 161, 980, 332, 1164, 726, 1241, 1241, + 687, 687, 687, 687, 687, 687, 742, 495, 743, 743, + + 743, 743, 743, 743, 743, 743, 743, 743, 981, 910, + 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, + 985, 714, 713, 1023, 985, 1024, 1024, 1024, 1024, 1024, + 1024, 1024, 1024, 1024, 1024, 299, 742, 185, 744, 744, + 744, 744, 744, 744, 744, 744, 744, 744, 986, 910, + 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, + 987, 985, 987, 1241, 987, 985, 987, 568, 342, 1047, + 1047, 1047, 1047, 1047, 1047, 299, 742, 185, 745, 745, + 745, 745, 745, 746, 743, 743, 743, 743, 988, 986, + 988, 1007, 1008, 1009, 1010, 1007, 1007, 1007, 1007, 1007, + + 1007, 980, 985, 987, 670, 980, 985, 987, 181, 181, + 280, 280, 566, 457, 181, 299, 661, 185, 662, 662, + 662, 662, 662, 662, 662, 662, 662, 662, 299, 981, + 986, 988, 1023, 666, 1025, 1025, 1025, 1025, 1025, 1025, + 1025, 1025, 1025, 1025, 1106, 1106, 1106, 1106, 1106, 1107, + 314, 314, 314, 457, 182, 156, 661, 861, 662, 662, + 662, 662, 662, 662, 662, 662, 662, 662, 1023, 1103, + 1026, 1026, 1026, 1026, 1026, 1027, 1024, 1024, 1024, 1024, + 960, 960, 960, 960, 960, 960, 960, 960, 960, 960, + 1190, 1191, 655, 1192, 1190, 156, 772, 773, 774, 772, + + 772, 772, 772, 772, 772, 772, 775, 654, 653, 652, + 776, 776, 776, 776, 776, 776, 861, 651, 1030, 1030, + 1030, 1030, 1030, 1030, 181, 181, 650, 1053, 951, 1050, + 181, 1053, 649, 1050, 648, 647, 776, 776, 776, 776, + 776, 776, 568, 342, 784, 784, 784, 784, 784, 784, + 784, 784, 784, 784, 678, 1054, 644, 1051, 783, 783, + 783, 783, 783, 783, 1034, 1034, 1034, 1034, 1034, 1034, + 1034, 1034, 1034, 1034, 1042, 1043, 1044, 1042, 1042, 1042, + 1042, 1042, 1042, 1042, 783, 783, 783, 783, 783, 783, + 568, 342, 785, 785, 785, 785, 785, 785, 785, 785, + + 785, 785, 786, 643, 176, 639, 787, 787, 787, 787, + 787, 787, 1241, 638, 1033, 1033, 1033, 1033, 1033, 1033, + 1033, 1033, 1033, 1033, 1050, 637, 1190, 1191, 1050, 1192, + 1190, 507, 787, 787, 787, 787, 787, 787, 342, 791, + 792, 793, 791, 791, 791, 791, 791, 791, 791, 794, + 495, 612, 1051, 795, 795, 795, 795, 795, 795, 961, + 495, 962, 962, 962, 962, 962, 962, 962, 962, 962, + 962, 341, 341, 280, 611, 495, 610, 341, 1241, 795, + 795, 795, 795, 795, 795, 742, 1241, 743, 743, 743, + 743, 743, 743, 743, 743, 743, 743, 961, 457, 962, + + 962, 962, 962, 962, 962, 962, 962, 962, 962, 566, + 1053, 1119, 1050, 457, 1053, 1119, 1050, 1119, 182, 1050, + 552, 1119, 1053, 1050, 299, 742, 1053, 743, 743, 743, + 743, 743, 743, 743, 743, 743, 743, 1066, 1054, 1120, + 1051, 1066, 1067, 1068, 1069, 1120, 551, 1051, 550, 1073, + 1054, 1074, 1074, 1074, 1074, 1074, 1074, 1074, 1074, 1074, + 1074, 314, 549, 548, 299, 854, 855, 855, 855, 855, + 855, 855, 855, 855, 855, 855, 185, 1066, 547, 185, + 546, 1066, 1067, 1068, 1069, 1156, 1156, 1156, 1156, 1156, + 1157, 1073, 1070, 1075, 1075, 1075, 1075, 1075, 1075, 1075, + + 1075, 1075, 1075, 156, 854, 856, 856, 856, 856, 856, + 856, 856, 856, 856, 856, 1073, 545, 1076, 1076, 1076, + 1076, 1076, 1077, 1078, 1078, 1078, 1078, 1053, 453, 453, + 544, 1053, 1072, 1017, 453, 1018, 1018, 1018, 1018, 1018, + 1018, 543, 156, 854, 857, 857, 857, 857, 857, 858, + 855, 855, 855, 855, 1073, 1054, 1078, 1078, 1078, 1074, + 1074, 1074, 1074, 1074, 1074, 1074, 542, 1161, 541, 1159, + 540, 1161, 156, 1159, 282, 282, 314, 282, 282, 282, + 282, 156, 861, 539, 862, 862, 862, 862, 862, 862, + 862, 862, 862, 862, 863, 1162, 307, 1160, 864, 864, + + 864, 864, 864, 864, 1093, 1094, 1095, 1093, 1093, 1093, + 1093, 1093, 1093, 1093, 1096, 1097, 1098, 1096, 1096, 1096, + 1096, 1096, 1096, 1096, 864, 864, 864, 864, 864, 864, + 868, 869, 870, 868, 868, 868, 868, 868, 868, 868, + 871, 156, 531, 527, 872, 872, 872, 872, 872, 872, + 1023, 526, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, + 1024, 1024, 1023, 525, 1024, 1024, 1024, 1024, 1024, 1024, + 872, 872, 872, 872, 872, 872, 568, 342, 878, 878, + 878, 878, 878, 878, 878, 878, 878, 878, 786, 524, + 523, 522, 877, 877, 877, 877, 877, 877, 1023, 521, + + 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, + 1073, 520, 1074, 1074, 1074, 1074, 1074, 1074, 877, 877, + 877, 877, 877, 877, 568, 342, 879, 879, 879, 879, + 879, 879, 879, 879, 879, 879, 880, 519, 518, 517, + 881, 881, 881, 881, 881, 881, 1041, 1041, 1041, 1041, + 1041, 1041, 1041, 1041, 1041, 1041, 1105, 1105, 1105, 1105, + 1105, 1105, 1105, 1105, 1105, 1105, 881, 881, 881, 881, + 881, 881, 342, 885, 886, 887, 885, 885, 885, 885, + 885, 885, 885, 516, 515, 514, 273, 888, 888, 888, + 888, 888, 888, 861, 503, 1101, 1101, 1101, 1101, 1101, + + 1101, 500, 499, 498, 497, 1032, 342, 1112, 1112, 1112, + 1112, 1112, 1112, 888, 888, 888, 888, 888, 888, 155, + 1241, 282, 155, 1065, 282, 490, 282, 489, 155, 155, + 1065, 1065, 155, 155, 1065, 155, 155, 155, 185, 185, + 185, 185, 185, 185, 185, 185, 185, 185, 1065, 1065, + 1065, 155, 185, 185, 185, 185, 185, 185, 185, 185, + 185, 185, 185, 185, 185, 185, 185, 890, 185, 185, + 185, 185, 185, 185, 185, 156, 155, 185, 155, 155, + 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, + 155, 155, 155, 155, 155, 269, 488, 487, 486, 269, + + 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, + 485, 269, 482, 481, 280, 280, 280, 280, 280, 280, + 280, 280, 280, 280, 280, 280, 280, 280, 915, 280, + 280, 280, 280, 280, 280, 280, 280, 480, 479, 282, + 269, 269, 269, 269, 269, 269, 269, 269, 269, 269, + 269, 269, 269, 269, 269, 269, 269, 925, 926, 926, + 926, 926, 926, 926, 926, 926, 926, 926, 1241, 478, + 1104, 1104, 1104, 1104, 1104, 1104, 1104, 1104, 1104, 1104, + 342, 1112, 1112, 1112, 1112, 1112, 1112, 1112, 1112, 1112, + 1112, 477, 476, 475, 474, 299, 925, 927, 927, 927, + + 927, 927, 927, 927, 927, 927, 927, 342, 1113, 1113, + 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 342, 1114, + 1114, 1114, 1114, 1114, 1115, 1112, 1112, 1112, 1112, 1119, + 473, 472, 471, 1119, 299, 925, 928, 928, 928, 928, + 928, 929, 926, 926, 926, 926, 470, 1159, 1241, 469, + 468, 1159, 1241, 1241, 1241, 1241, 1126, 1120, 182, 1127, + 1127, 1127, 1127, 1127, 1127, 1127, 1127, 1127, 1127, 174, + 560, 560, 299, 299, 298, 1160, 560, 298, 439, 561, + 561, 438, 430, 298, 298, 561, 185, 298, 298, 429, + 298, 298, 298, 314, 314, 314, 314, 314, 314, 314, + + 314, 314, 314, 1070, 185, 428, 298, 314, 314, 314, + 314, 314, 314, 314, 314, 314, 314, 314, 314, 314, + 314, 930, 314, 314, 314, 314, 314, 314, 314, 314, + 299, 298, 314, 298, 298, 298, 298, 298, 298, 298, + 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, + 854, 855, 855, 855, 855, 855, 855, 855, 855, 855, + 855, 1066, 427, 1116, 1116, 1066, 1067, 1068, 1069, 1241, + 1116, 426, 425, 1241, 1067, 1068, 1069, 1128, 1129, 1130, + 1128, 1128, 1128, 1128, 1128, 1128, 1128, 298, 156, 854, + 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, + + 1241, 1184, 418, 1184, 1241, 1241, 1241, 1069, 1241, 1184, + 303, 301, 1241, 1241, 1241, 1241, 1070, 1204, 1204, 1204, + 1204, 1204, 1204, 299, 1070, 296, 417, 156, 861, 416, + 949, 949, 949, 949, 949, 949, 949, 949, 949, 949, + 863, 861, 414, 950, 950, 950, 950, 950, 950, 950, + 950, 950, 950, 951, 413, 1070, 405, 952, 952, 952, + 952, 952, 952, 1072, 1073, 404, 1074, 1074, 1074, 1074, + 1074, 1074, 1074, 1074, 1074, 1074, 1235, 1235, 1235, 1235, + 1235, 1235, 403, 952, 952, 952, 952, 952, 952, 956, + 957, 958, 956, 956, 956, 956, 956, 956, 956, 959, + + 402, 401, 400, 960, 960, 960, 960, 960, 960, 1073, + 1241, 1074, 1074, 1074, 1074, 1074, 1074, 1074, 1074, 1074, + 1074, 1119, 1161, 270, 262, 1119, 1161, 257, 258, 960, + 960, 960, 960, 960, 960, 568, 342, 968, 968, 968, + 968, 968, 968, 968, 968, 968, 968, 880, 252, 1120, + 1162, 967, 967, 967, 967, 967, 967, 252, 1134, 1135, + 1136, 1134, 1134, 1134, 1134, 1134, 1134, 1134, 246, 1083, + 314, 1084, 1084, 1084, 1084, 1084, 1084, 967, 967, 967, + 967, 967, 967, 568, 342, 969, 969, 969, 969, 969, + 969, 969, 969, 969, 969, 299, 204, 239, 156, 970, + + 970, 970, 970, 970, 970, 1161, 387, 1241, 299, 1161, + 1071, 1159, 379, 565, 565, 1159, 378, 1071, 1071, 565, + 377, 1071, 376, 375, 156, 970, 970, 970, 970, 970, + 970, 155, 370, 1162, 155, 1071, 1071, 1071, 369, 1160, + 155, 155, 368, 367, 155, 155, 366, 155, 155, 155, + 185, 185, 185, 185, 185, 185, 185, 185, 185, 185, + 280, 365, 185, 155, 185, 185, 185, 185, 185, 185, + 185, 185, 185, 185, 185, 185, 185, 185, 185, 185, + 185, 185, 185, 185, 185, 185, 185, 156, 155, 975, + 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, + + 155, 155, 155, 155, 155, 155, 155, 269, 356, 355, + 354, 269, 280, 280, 280, 280, 280, 280, 280, 280, + 280, 280, 353, 269, 352, 351, 280, 280, 280, 280, + 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, + 280, 280, 280, 1001, 280, 280, 280, 280, 280, 350, + 349, 282, 269, 269, 269, 269, 269, 269, 269, 269, + 269, 269, 269, 269, 269, 269, 269, 269, 269, 925, + 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, + 1145, 348, 1146, 1146, 1146, 1146, 1146, 1146, 1146, 1146, + 1146, 1146, 1145, 347, 1147, 1147, 1147, 1147, 1147, 1147, + + 1147, 1147, 1147, 1147, 182, 155, 182, 299, 925, 926, + 926, 926, 926, 926, 926, 926, 926, 926, 926, 1145, + 272, 1148, 1148, 1148, 1148, 1148, 1149, 1146, 1146, 1146, + 1146, 1111, 1111, 1111, 1111, 1111, 1111, 1111, 1111, 1111, + 1111, 170, 168, 161, 159, 156, 299, 298, 1187, 1187, + 298, 323, 1187, 1187, 322, 321, 298, 298, 320, 319, + 298, 298, 318, 298, 298, 298, 314, 314, 314, 314, + 314, 314, 314, 314, 314, 314, 1188, 1188, 314, 298, + 314, 314, 314, 314, 314, 314, 314, 314, 314, 314, + 314, 314, 314, 314, 314, 314, 314, 1011, 314, 314, + + 314, 314, 314, 299, 298, 314, 298, 298, 298, 298, + 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, + 298, 298, 298, 1017, 303, 1018, 1018, 1018, 1018, 1018, + 1018, 1018, 1018, 1018, 1018, 861, 299, 1152, 1152, 1152, + 1152, 1152, 1152, 296, 290, 289, 288, 1103, 1155, 1155, + 1155, 1155, 1155, 1155, 1155, 1155, 1155, 1155, 666, 666, + 287, 286, 156, 1017, 666, 1019, 1019, 1019, 1019, 1019, + 1019, 1019, 1019, 1019, 1019, 1241, 285, 1154, 1154, 1154, + 1154, 1154, 1154, 1154, 1154, 1154, 1154, 342, 1112, 1112, + 1112, 1112, 1112, 1112, 1112, 1112, 1112, 1112, 668, 668, + + 280, 258, 156, 1017, 668, 1020, 1020, 1020, 1020, 1020, + 1021, 1022, 1022, 1022, 1022, 342, 1112, 1112, 1112, 1112, + 1112, 1112, 1112, 1112, 1112, 1112, 1127, 1127, 1127, 1127, + 1127, 1127, 1127, 1127, 1127, 1127, 252, 246, 669, 669, + 158, 239, 156, 1017, 669, 1022, 1022, 1022, 1018, 1018, + 1018, 1018, 1018, 1018, 1018, 1127, 1127, 1127, 1127, 1127, + 1127, 1127, 1127, 1127, 1127, 1165, 158, 1166, 1166, 1166, + 1166, 1166, 1166, 1166, 1166, 1166, 1166, 197, 768, 768, + 232, 194, 156, 861, 768, 1030, 1030, 1030, 1030, 1030, + 1030, 1030, 1030, 1030, 1030, 951, 861, 185, 1031, 1031, + + 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1032, 224, + 222, 200, 1033, 1033, 1033, 1033, 1033, 1033, 1165, 199, + 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, + 1145, 196, 1146, 1146, 1146, 1146, 1146, 1146, 1033, 1033, + 1033, 1033, 1033, 1033, 1037, 1038, 1039, 1037, 1037, 1037, + 1037, 1037, 1037, 1037, 1040, 195, 192, 182, 1041, 1041, + 1041, 1041, 1041, 1041, 1165, 170, 1168, 1168, 1168, 1168, + 1168, 1169, 1166, 1166, 1166, 1166, 1165, 159, 1166, 1166, + 1166, 1166, 1166, 1166, 1041, 1041, 1041, 1041, 1041, 1041, + 568, 342, 1047, 1047, 1047, 1047, 1047, 1047, 1047, 1047, + + 1047, 1047, 1083, 158, 1084, 1084, 1084, 1084, 1084, 1084, + 1084, 1084, 1084, 1084, 156, 1159, 1241, 1241, 1140, 1159, + 1141, 1141, 1141, 1141, 1141, 1141, 1161, 1241, 1241, 1241, + 1161, 1177, 1178, 1179, 1177, 1177, 1177, 1177, 1177, 1177, + 1177, 299, 1083, 1160, 1085, 1085, 1085, 1085, 1085, 1085, + 1085, 1085, 1085, 1085, 1162, 1241, 1211, 156, 1212, 1212, + 1212, 1212, 1212, 1212, 314, 769, 769, 1241, 156, 1241, + 1241, 769, 770, 770, 282, 314, 1241, 282, 770, 282, + 1241, 299, 1083, 1241, 1086, 1086, 1086, 1086, 1086, 1087, + 1088, 1088, 1088, 1088, 1180, 1181, 1182, 1180, 1180, 1180, + + 1180, 1180, 1180, 1180, 1145, 1241, 1146, 1146, 1146, 1146, + 1146, 1146, 1146, 1146, 1146, 1146, 1241, 1241, 1241, 1187, + 1241, 299, 1083, 1187, 1088, 1088, 1088, 1084, 1084, 1084, + 1084, 1084, 1084, 1084, 1145, 1241, 1146, 1146, 1146, 1146, + 1146, 1146, 1146, 1146, 1146, 1146, 861, 1188, 1185, 1185, + 1185, 1185, 1185, 1185, 1185, 1185, 1185, 1185, 1241, 1241, + 1241, 299, 1017, 1241, 1018, 1018, 1018, 1018, 1018, 1018, + 1018, 1018, 1018, 1018, 1241, 1241, 185, 1193, 1194, 1195, + 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1165, 1241, 1166, + 1166, 1166, 1166, 1166, 1166, 1166, 1166, 1166, 1166, 1241, + + 1241, 156, 1017, 1241, 1018, 1018, 1018, 1018, 1018, 1018, + 1018, 1018, 1018, 1018, 1165, 1241, 1166, 1166, 1166, 1166, + 1166, 1166, 1166, 1166, 1166, 1166, 1241, 1241, 1241, 1241, + 1241, 1196, 1197, 1198, 1196, 1196, 1196, 1196, 1196, 1196, + 1196, 156, 861, 1241, 1101, 1101, 1101, 1101, 1101, 1101, + 1101, 1101, 1101, 1101, 1032, 861, 1241, 1102, 1102, 1102, + 1102, 1102, 1102, 1102, 1102, 1102, 1102, 1103, 299, 1241, + 1241, 1104, 1104, 1104, 1104, 1104, 1104, 1171, 1241, 1172, + 1172, 1172, 1172, 1172, 1172, 1187, 859, 859, 1241, 1187, + 860, 860, 859, 1241, 1241, 1241, 860, 1104, 1104, 1104, + + 1104, 1104, 1104, 1108, 1109, 1110, 1108, 1108, 1108, 1108, + 1108, 1108, 1108, 1188, 1241, 1241, 299, 1111, 1111, 1111, + 1111, 1111, 1111, 1204, 1204, 1204, 1204, 1204, 1204, 1204, + 1204, 1204, 1204, 1241, 314, 944, 944, 1241, 1241, 1241, + 1241, 944, 1241, 1111, 1111, 1111, 1111, 1111, 1111, 1083, + 1241, 1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084, + 1084, 1205, 1205, 1205, 1205, 1205, 1205, 1205, 1205, 1205, + 1205, 1206, 1206, 1206, 1206, 1206, 1207, 1204, 1204, 1204, + 1204, 1028, 1028, 1241, 1099, 1099, 1241, 1028, 299, 1083, + 1099, 1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084, + + 1084, 1211, 1241, 1212, 1212, 1212, 1212, 1212, 1212, 1212, + 1212, 1212, 1212, 1211, 1241, 1213, 1213, 1213, 1213, 1213, + 1213, 1213, 1213, 1213, 1213, 1241, 1241, 1241, 299, 1140, + 1241, 1141, 1141, 1141, 1141, 1141, 1141, 1141, 1141, 1141, + 1141, 1211, 1241, 1214, 1214, 1214, 1214, 1214, 1215, 1212, + 1212, 1212, 1212, 1221, 1222, 1223, 1221, 1221, 1221, 1221, + 1221, 1221, 1221, 1241, 1150, 1150, 1241, 1241, 156, 1140, + 1150, 1142, 1142, 1142, 1142, 1142, 1142, 1142, 1142, 1142, + 1142, 1241, 1199, 1241, 1200, 1200, 1200, 1200, 1200, 1200, + 156, 1204, 1204, 1204, 1204, 1204, 1204, 1204, 1204, 1204, + + 1204, 1183, 1183, 1241, 1241, 1241, 1241, 1183, 156, 1140, + 1241, 1143, 1143, 1143, 1143, 1143, 1144, 1141, 1141, 1141, + 1141, 156, 1204, 1204, 1204, 1204, 1204, 1204, 1204, 1204, + 1204, 1204, 1225, 1226, 1227, 1225, 1225, 1225, 1225, 1225, + 1225, 1225, 1241, 1241, 1241, 1241, 1241, 1241, 156, 861, + 1241, 1152, 1152, 1152, 1152, 1152, 1152, 1152, 1152, 1152, + 1152, 1103, 861, 1241, 1153, 1153, 1153, 1153, 1153, 1153, + 1153, 1153, 1153, 1153, 1241, 1241, 1241, 1241, 1154, 1154, + 1154, 1154, 1154, 1154, 1211, 1241, 1212, 1212, 1212, 1212, + 1212, 1212, 1212, 1212, 1212, 1212, 1241, 1241, 1241, 1241, + + 1241, 1241, 1241, 1241, 1154, 1154, 1154, 1154, 1154, 1154, + 1171, 1241, 1172, 1172, 1172, 1172, 1172, 1172, 1172, 1172, + 1172, 1172, 1211, 1241, 1212, 1212, 1212, 1212, 1212, 1212, + 1212, 1212, 1212, 1212, 1228, 1229, 1230, 1228, 1228, 1228, + 1228, 1228, 1228, 1228, 1241, 1241, 1241, 1241, 1241, 299, + 1171, 1241, 1173, 1173, 1173, 1173, 1173, 1173, 1173, 1173, + 1173, 1173, 1241, 1216, 1241, 1217, 1217, 1217, 1217, 1217, + 1217, 299, 1231, 1231, 1231, 1231, 1231, 1231, 1231, 1231, + 1231, 1231, 1241, 1231, 1231, 1231, 1231, 1231, 1231, 299, + 1171, 1241, 1174, 1174, 1174, 1174, 1174, 1175, 1172, 1172, + + 1172, 1172, 299, 1241, 1241, 1241, 1241, 1241, 1241, 156, + 1221, 1221, 1221, 1221, 1221, 1221, 1221, 1221, 1221, 1221, + 156, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 299, + 1140, 1241, 1141, 1141, 1141, 1141, 1141, 1141, 1141, 1141, + 1141, 1141, 1241, 1241, 1241, 1241, 1241, 156, 1232, 1232, + 1232, 1232, 1232, 1233, 1231, 1231, 1231, 1231, 1235, 1235, + 1235, 1235, 1235, 1235, 1235, 1235, 1235, 1235, 1241, 156, + 1140, 1241, 1141, 1141, 1141, 1141, 1141, 1141, 1141, 1141, + 1141, 1141, 1241, 1241, 1241, 156, 1225, 1225, 1225, 1225, + 1225, 1225, 1225, 1225, 1225, 1225, 1236, 1236, 1236, 1236, + + 1236, 1237, 1235, 1235, 1235, 1235, 1241, 1241, 1241, 156, + 1171, 1241, 1172, 1172, 1172, 1172, 1172, 1172, 1172, 1172, + 1172, 1172, 1241, 1241, 1241, 1238, 1238, 1238, 1238, 1238, + 1238, 1238, 1238, 1238, 1238, 1228, 1228, 1228, 1228, 1228, + 1228, 1228, 1228, 1228, 1228, 1241, 1241, 1241, 1241, 299, + 1171, 1241, 1172, 1172, 1172, 1172, 1172, 1172, 1172, 1172, + 1172, 1172, 299, 1241, 1241, 1238, 1238, 1238, 1238, 1238, + 1238, 1241, 299, 1239, 1239, 1239, 1239, 1239, 1240, 1238, + 1238, 1238, 1238, 1241, 1241, 1241, 1241, 1241, 1241, 299, + 1199, 1241, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, + + 1200, 1200, 299, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 299, 1231, 1231, 1231, 1231, 1231, 1231, 1231, 1231, 1231, + 1231, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 156, + 1199, 1241, 1201, 1201, 1201, 1201, 1201, 1201, 1201, 1201, + 1201, 1201, 1241, 1241, 1241, 1241, 1241, 1241, 156, 1235, + 1235, 1235, 1235, 1235, 1235, 1235, 1235, 1235, 1235, 1238, + 1238, 1238, 1238, 1238, 1238, 1238, 1238, 1238, 1238, 156, + 1199, 1241, 1202, 1202, 1202, 1202, 1202, 1203, 1200, 1200, + 1200, 1200, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 299, 1241, 1241, 1241, + + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 156, + 1216, 1241, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, + 1217, 1217, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 299, + 1216, 1241, 1218, 1218, 1218, 1218, 1218, 1218, 1218, 1218, + 1218, 1218, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 299, + 1216, 1241, 1219, 1219, 1219, 1219, 1219, 1220, 1217, 1217, + + 1217, 1217, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 299, + 1199, 1241, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, + 1200, 1200, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 156, + 1199, 1241, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, + 1200, 1200, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 156, + 1216, 1241, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, + 1217, 1217, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 299, + 1216, 1241, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, + 1217, 1217, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 299, + 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, + + 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, + 77, 84, 84, 84, 84, 84, 84, 84, 84, 84, + 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, + 84, 84, 40, 40, 40, 40, 40, 40, 40, 40, + 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, + 40, 40, 40, 95, 95, 95, 95, 95, 95, 95, + 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, + 95, 95, 95, 95, 102, 102, 102, 102, 102, 102, + 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, + 102, 102, 102, 102, 102, 129, 129, 129, 129, 129, + + 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, + 129, 129, 129, 129, 129, 129, 155, 1241, 1241, 155, + 1241, 1241, 1241, 155, 1241, 155, 1241, 155, 155, 155, + 1241, 1241, 155, 155, 155, 155, 155, 160, 160, 160, + 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, + 160, 160, 160, 160, 160, 160, 160, 160, 165, 1241, + 1241, 165, 1241, 1241, 165, 165, 1241, 165, 1241, 165, + 165, 165, 165, 1241, 165, 165, 165, 165, 165, 169, + 1241, 1241, 169, 1241, 1241, 1241, 169, 1241, 169, 1241, + 169, 169, 169, 1241, 1241, 169, 169, 169, 169, 169, + + 171, 1241, 1241, 171, 171, 171, 1241, 171, 171, 171, + 1241, 171, 171, 171, 1241, 1241, 171, 171, 171, 171, + 171, 207, 207, 1241, 207, 207, 207, 1241, 207, 207, + 207, 207, 207, 207, 207, 207, 207, 207, 207, 207, + 207, 207, 229, 1241, 1241, 229, 229, 229, 1241, 229, + 229, 229, 1241, 229, 229, 229, 1241, 1241, 229, 229, + 229, 229, 229, 233, 233, 1241, 233, 233, 233, 1241, + 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, + 233, 233, 233, 233, 238, 1241, 1241, 238, 238, 238, + 1241, 238, 238, 238, 1241, 238, 238, 238, 1241, 238, + + 238, 1241, 238, 238, 238, 244, 244, 1241, 244, 244, + 244, 1241, 1241, 244, 244, 244, 244, 244, 244, 244, + 244, 244, 1241, 244, 244, 244, 247, 247, 247, 247, + 247, 247, 247, 247, 247, 247, 247, 247, 247, 247, + 247, 247, 247, 247, 247, 247, 247, 251, 1241, 1241, + 251, 251, 1241, 1241, 251, 251, 251, 1241, 251, 251, + 251, 251, 1241, 251, 251, 251, 251, 251, 255, 255, + 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, + 255, 255, 255, 255, 255, 255, 255, 255, 255, 257, + 257, 1241, 257, 257, 1241, 257, 257, 257, 257, 257, + + 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, + 264, 1241, 1241, 264, 1241, 1241, 264, 264, 1241, 264, + 1241, 264, 264, 264, 264, 1241, 264, 264, 264, 264, + 264, 268, 1241, 1241, 268, 1241, 1241, 1241, 268, 1241, + 268, 1241, 268, 268, 268, 1241, 268, 268, 268, 268, + 268, 268, 271, 1241, 1241, 271, 271, 271, 1241, 271, + 271, 271, 1241, 271, 271, 271, 1241, 271, 271, 271, + 271, 271, 271, 208, 208, 1241, 208, 208, 208, 1241, + 208, 208, 208, 208, 208, 208, 208, 208, 208, 208, + 208, 208, 208, 208, 295, 1241, 1241, 1241, 295, 295, + + 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, + 295, 295, 295, 295, 295, 298, 1241, 1241, 298, 1241, + 1241, 1241, 298, 1241, 298, 1241, 298, 298, 298, 1241, + 1241, 298, 298, 298, 298, 298, 300, 1241, 1241, 300, + 1241, 1241, 300, 300, 1241, 300, 1241, 300, 300, 300, + 300, 1241, 300, 300, 300, 300, 300, 302, 1241, 1241, + 302, 1241, 1241, 1241, 302, 1241, 302, 1241, 302, 302, + 302, 1241, 1241, 302, 302, 302, 302, 302, 304, 1241, + 1241, 304, 304, 304, 1241, 304, 304, 304, 1241, 304, + 304, 304, 1241, 1241, 304, 304, 304, 304, 304, 326, + + 326, 1241, 326, 326, 326, 1241, 326, 326, 326, 326, + 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, + 155, 1241, 1241, 155, 1241, 1241, 1241, 155, 1241, 155, + 1241, 155, 155, 155, 1241, 1241, 155, 155, 155, 155, + 155, 331, 331, 331, 331, 331, 331, 331, 331, 331, + 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, + 331, 331, 333, 333, 1241, 333, 333, 333, 333, 333, + 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, + 333, 333, 333, 165, 1241, 1241, 165, 1241, 1241, 1241, + 165, 1241, 165, 1241, 165, 165, 165, 1241, 1241, 165, + + 165, 165, 165, 165, 169, 1241, 1241, 169, 1241, 1241, + 1241, 169, 1241, 169, 1241, 169, 169, 169, 1241, 1241, + 169, 169, 169, 169, 169, 171, 1241, 1241, 171, 171, + 171, 1241, 171, 171, 171, 1241, 171, 171, 171, 1241, + 1241, 171, 171, 171, 171, 171, 172, 1241, 1241, 172, + 172, 172, 1241, 172, 172, 172, 1241, 172, 172, 172, + 1241, 1241, 172, 172, 172, 172, 172, 343, 343, 343, + 1241, 1241, 1241, 1241, 343, 207, 207, 1241, 207, 207, + 207, 1241, 207, 207, 207, 207, 207, 207, 207, 207, + 207, 207, 207, 207, 207, 207, 208, 208, 1241, 208, + + 208, 208, 1241, 208, 208, 208, 208, 208, 208, 208, + 208, 208, 208, 208, 208, 208, 208, 229, 1241, 1241, + 229, 229, 229, 1241, 229, 229, 229, 1241, 229, 229, + 229, 1241, 1241, 229, 229, 229, 229, 229, 230, 1241, + 1241, 230, 230, 230, 1241, 230, 230, 230, 1241, 230, + 230, 230, 1241, 1241, 230, 230, 230, 230, 230, 233, + 233, 1241, 233, 233, 233, 1241, 233, 233, 233, 233, + 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, + 234, 234, 1241, 234, 234, 234, 1241, 234, 234, 234, + 234, 234, 234, 234, 234, 234, 234, 234, 234, 234, + + 234, 238, 1241, 1241, 238, 238, 238, 1241, 238, 238, + 238, 1241, 238, 238, 238, 1241, 238, 238, 1241, 238, + 238, 238, 244, 244, 1241, 244, 244, 244, 1241, 1241, + 244, 244, 244, 244, 244, 244, 244, 244, 244, 1241, + 244, 244, 244, 251, 1241, 1241, 251, 251, 1241, 1241, + 251, 251, 251, 1241, 251, 251, 251, 251, 1241, 251, + 251, 251, 251, 251, 257, 257, 1241, 257, 257, 1241, + 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, + 257, 257, 257, 257, 257, 267, 1241, 1241, 267, 1241, + 1241, 1241, 267, 1241, 267, 1241, 267, 267, 267, 1241, + + 1241, 267, 267, 267, 267, 267, 268, 1241, 1241, 268, + 1241, 1241, 1241, 268, 1241, 268, 1241, 268, 268, 268, + 1241, 268, 268, 268, 268, 268, 268, 269, 1241, 1241, + 269, 269, 1241, 269, 269, 1241, 1241, 269, 269, 271, + 1241, 1241, 271, 271, 271, 1241, 271, 271, 271, 1241, + 271, 271, 271, 1241, 271, 271, 271, 271, 271, 271, + 295, 1241, 1241, 1241, 295, 295, 295, 295, 295, 295, + 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, + 295, 298, 1241, 1241, 298, 1241, 1241, 1241, 298, 1241, + 298, 1241, 298, 298, 298, 1241, 1241, 298, 298, 298, + + 298, 298, 300, 1241, 1241, 300, 1241, 1241, 1241, 300, + 1241, 300, 1241, 300, 300, 300, 1241, 1241, 300, 300, + 300, 300, 300, 302, 1241, 1241, 302, 1241, 1241, 1241, + 302, 1241, 302, 1241, 302, 302, 302, 1241, 1241, 302, + 302, 302, 302, 302, 304, 1241, 1241, 304, 304, 304, + 1241, 304, 304, 304, 1241, 304, 304, 304, 1241, 1241, + 304, 304, 304, 304, 304, 305, 1241, 1241, 305, 305, + 305, 1241, 305, 305, 305, 1241, 305, 305, 305, 1241, + 1241, 305, 305, 305, 305, 305, 326, 326, 1241, 326, + 326, 326, 1241, 326, 326, 326, 326, 326, 326, 326, + + 326, 326, 326, 326, 326, 326, 326, 331, 331, 331, + 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, + 331, 331, 331, 331, 331, 331, 331, 331, 445, 445, + 445, 445, 445, 445, 445, 445, 445, 445, 445, 445, + 445, 445, 445, 445, 445, 445, 445, 445, 445, 155, + 1241, 1241, 155, 1241, 1241, 1241, 155, 1241, 155, 1241, + 155, 155, 155, 1241, 1241, 155, 155, 155, 155, 155, + 459, 459, 459, 1241, 1241, 1241, 1241, 459, 207, 207, + 1241, 207, 207, 207, 1241, 207, 207, 207, 207, 207, + 207, 207, 207, 207, 207, 207, 207, 207, 207, 234, + + 234, 1241, 234, 234, 234, 234, 234, 234, 234, 234, + 234, 234, 234, 234, 234, 234, 234, 234, 234, 234, + 233, 233, 1241, 233, 233, 233, 1241, 233, 233, 233, + 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, + 233, 208, 208, 1241, 208, 208, 208, 1241, 208, 208, + 208, 208, 208, 208, 208, 208, 208, 208, 208, 208, + 208, 208, 567, 567, 567, 1241, 1241, 1241, 1241, 567, + 465, 465, 465, 1241, 1241, 1241, 1241, 465, 331, 331, + 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, + 331, 331, 331, 331, 331, 331, 331, 331, 331, 234, + + 234, 1241, 234, 234, 234, 1241, 234, 234, 234, 234, + 234, 234, 234, 234, 234, 234, 234, 234, 234, 234, + 671, 671, 671, 1241, 1241, 1241, 1241, 671, 675, 675, + 675, 675, 1241, 1241, 1241, 1241, 675, 782, 782, 782, + 1241, 1241, 1241, 1241, 782, 783, 783, 783, 783, 1241, + 1241, 1241, 1241, 783, 876, 876, 876, 1241, 1241, 1241, + 1241, 876, 877, 877, 877, 877, 1241, 1241, 1241, 1241, + 877, 331, 331, 331, 331, 331, 331, 331, 331, 331, + 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, + 331, 331, 269, 1241, 1241, 269, 269, 1241, 269, 269, + + 1241, 1241, 269, 269, 298, 1241, 1241, 298, 1241, 1241, + 1241, 298, 1241, 298, 1241, 298, 298, 298, 1241, 1241, + 298, 298, 298, 298, 298, 948, 1241, 948, 948, 1241, + 1241, 1241, 1241, 948, 966, 966, 966, 1241, 1241, 1241, + 1241, 966, 967, 967, 967, 967, 1241, 1241, 1241, 1241, + 967, 331, 331, 331, 331, 331, 331, 331, 331, 331, + 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, + 331, 331, 269, 1241, 1241, 269, 269, 1241, 269, 269, + 1241, 1241, 269, 269, 298, 1241, 1241, 298, 1241, 1241, + 1241, 298, 1241, 298, 1241, 298, 298, 298, 1241, 1241, + + 298, 298, 298, 298, 298, 1029, 1241, 1029, 1029, 1241, + 1241, 1241, 1241, 1029, 1045, 1045, 1045, 1241, 1241, 1241, + 1241, 1045, 1046, 1046, 1046, 1241, 1241, 1241, 1241, 1241, + 1046, 1060, 1060, 1060, 1060, 1060, 1060, 1060, 1060, 1060, + 1060, 1060, 1060, 1060, 1060, 1060, 1060, 1060, 1060, 1060, + 1060, 1060, 1065, 1065, 1241, 1065, 1065, 1065, 1065, 1065, + 1241, 1065, 1241, 1065, 1065, 1065, 1241, 1241, 1065, 1065, + 1065, 1065, 1065, 1071, 1071, 1241, 1071, 1071, 1071, 1071, + 1071, 1241, 1071, 1241, 1071, 1071, 1071, 1241, 1241, 1071, + 1071, 1071, 1071, 1071, 1100, 1241, 1100, 1100, 1241, 1241, + + 1241, 1241, 1100, 1151, 1241, 1151, 1151, 1241, 1241, 1241, + 1241, 1151, 1189, 1189, 1189, 1189, 1189, 1189, 1189, 1189, + 1189, 1189, 1189, 1189, 1189, 1189, 1189, 1189, 1189, 1189, + 1189, 1189, 1189, 21, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241 + } ; + +static yyconst flex_int16_t yy_chk[9611] = + { 0, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 2, 23, 43, 41, + 2, 23, 43, 2, 5, 5, 375, 5, 5, 5, + 41, 5, 6, 6, 375, 6, 6, 6, 5, 6, + + 7, 7, 55, 7, 7, 7, 6, 7, 7, 29, + 2, 2, 5, 5, 45, 2, 55, 49, 45, 502, + 6, 6, 49, 2, 69, 45, 2, 3, 69, 116, + 29, 3, 13, 13, 3, 13, 13, 13, 13, 5, + 116, 3, 502, 44, 3, 52, 44, 6, 14, 14, + 44, 14, 14, 14, 14, 7, 44, 29, 3, 3, + 52, 3, 37, 37, 37, 37, 37, 37, 65, 3, + 160, 3, 160, 3, 3, 46, 3, 448, 46, 46, + 107, 8, 8, 3, 8, 8, 8, 13, 8, 8, + 17, 17, 17, 17, 17, 17, 17, 65, 67, 3, + + 4, 107, 67, 14, 4, 34, 34, 4, 59, 63, + 34, 34, 67, 63, 4, 85, 448, 4, 59, 85, + 18, 18, 18, 18, 18, 18, 18, 59, 107, 63, + 34, 4, 4, 76, 4, 1238, 8, 91, 91, 128, + 91, 91, 4, 76, 4, 17, 4, 4, 128, 4, + 93, 93, 76, 93, 93, 34, 4, 36, 36, 36, + 36, 36, 36, 36, 36, 36, 36, 60, 104, 97, + 99, 60, 4, 9, 9, 18, 9, 9, 9, 58, + 9, 58, 58, 58, 58, 58, 58, 58, 58, 58, + 58, 62, 364, 364, 62, 97, 99, 117, 62, 183, + + 117, 60, 60, 125, 62, 157, 60, 101, 101, 157, + 101, 101, 103, 183, 60, 142, 103, 60, 104, 226, + 62, 106, 106, 226, 106, 106, 142, 106, 9, 130, + 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, + 9, 9, 9, 9, 9, 9, 9, 9, 10, 10, + 125, 10, 10, 10, 68, 10, 134, 68, 68, 68, + 68, 68, 68, 68, 68, 68, 68, 103, 112, 112, + 112, 112, 112, 112, 1234, 70, 70, 134, 205, 130, + 70, 70, 111, 111, 111, 111, 111, 111, 111, 111, + 111, 111, 139, 139, 139, 139, 139, 139, 132, 132, + + 70, 132, 132, 10, 134, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 11, 11, 70, 11, 11, 11, 11, + 11, 143, 205, 331, 143, 331, 11, 11, 11, 126, + 182, 126, 126, 126, 126, 126, 126, 126, 126, 126, + 126, 182, 11, 132, 167, 228, 136, 136, 208, 228, + 1231, 136, 136, 138, 138, 138, 138, 138, 138, 138, + 138, 138, 138, 211, 222, 167, 211, 154, 11, 12, + 12, 136, 12, 12, 12, 12, 12, 154, 1212, 212, + 223, 222, 12, 12, 12, 212, 154, 203, 203, 245, + + 203, 203, 167, 245, 223, 208, 136, 153, 12, 153, + 153, 153, 153, 153, 153, 153, 153, 153, 153, 163, + 163, 163, 163, 163, 163, 163, 163, 163, 163, 240, + 240, 1185, 240, 240, 12, 15, 15, 15, 15, 15, + 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, + 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, + 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, + 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, + 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, + 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, + + 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, + 15, 19, 19, 19, 19, 19, 19, 19, 19, 19, + 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, + 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, + 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, + 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, + 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, + 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, + 19, 19, 19, 19, 19, 19, 19, 28, 260, 28, + 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, + + 221, 28, 807, 234, 28, 28, 28, 28, 28, 28, + 28, 28, 28, 28, 35, 807, 35, 35, 35, 35, + 35, 35, 35, 35, 35, 35, 35, 297, 1183, 224, + 35, 35, 35, 35, 35, 35, 224, 452, 260, 324, + 220, 156, 156, 156, 156, 156, 220, 221, 156, 156, + 234, 262, 156, 35, 220, 262, 35, 35, 35, 35, + 35, 35, 42, 237, 452, 42, 156, 156, 156, 237, + 329, 42, 42, 329, 384, 42, 42, 297, 42, 42, + 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, + 42, 42, 384, 324, 42, 42, 42, 42, 42, 42, + + 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, + 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, + 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, + 42, 42, 42, 42, 42, 42, 42, 42, 47, 47, + 47, 47, 47, 47, 47, 47, 47, 47, 47, 219, + 1166, 219, 47, 47, 47, 47, 47, 47, 332, 393, + 332, 259, 47, 393, 166, 259, 47, 166, 166, 166, + 166, 166, 166, 166, 166, 166, 166, 386, 47, 47, + 47, 47, 47, 47, 56, 56, 374, 56, 56, 56, + 56, 56, 296, 386, 56, 56, 296, 330, 56, 171, + + 171, 374, 1154, 330, 171, 171, 180, 180, 180, 180, + 180, 180, 56, 56, 56, 57, 259, 219, 469, 57, + 57, 57, 345, 57, 171, 57, 57, 345, 343, 57, + 168, 168, 168, 168, 168, 469, 225, 168, 168, 343, + 225, 168, 459, 57, 57, 57, 333, 296, 333, 171, + 225, 264, 381, 459, 381, 168, 168, 168, 178, 178, + 178, 178, 178, 178, 178, 178, 178, 178, 382, 460, + 57, 61, 264, 61, 382, 170, 170, 170, 170, 170, + 460, 385, 170, 170, 385, 61, 170, 567, 61, 61, + 61, 61, 61, 61, 61, 61, 61, 61, 567, 264, + + 170, 170, 170, 174, 174, 174, 174, 174, 174, 174, + 174, 174, 174, 179, 179, 179, 179, 179, 179, 179, + 179, 179, 179, 206, 206, 210, 206, 206, 210, 292, + 292, 1153, 210, 210, 213, 492, 61, 75, 213, 392, + 174, 75, 75, 75, 380, 75, 380, 75, 75, 196, + 196, 75, 389, 196, 392, 196, 196, 416, 416, 196, + 416, 196, 196, 1151, 492, 75, 75, 75, 213, 213, + 229, 229, 415, 213, 443, 229, 229, 292, 206, 236, + 210, 213, 236, 265, 213, 471, 236, 236, 445, 443, + 445, 479, 75, 83, 83, 229, 83, 83, 83, 389, + + 83, 479, 471, 380, 265, 83, 466, 83, 227, 227, + 227, 227, 227, 227, 227, 227, 227, 227, 466, 415, + 229, 83, 83, 232, 232, 1150, 446, 232, 446, 232, + 232, 265, 468, 232, 236, 232, 248, 248, 483, 248, + 248, 256, 256, 481, 256, 256, 472, 483, 83, 83, + 92, 468, 92, 249, 249, 249, 249, 249, 249, 249, + 249, 249, 249, 481, 92, 472, 489, 92, 92, 92, + 92, 92, 92, 92, 92, 92, 92, 108, 261, 261, + 108, 261, 261, 489, 470, 252, 108, 108, 470, 252, + 108, 252, 252, 108, 108, 328, 256, 272, 328, 252, + + 1146, 272, 328, 328, 272, 373, 373, 108, 373, 108, + 528, 272, 470, 528, 252, 273, 273, 273, 273, 273, + 273, 273, 273, 273, 273, 272, 272, 278, 278, 278, + 278, 278, 278, 108, 108, 108, 109, 477, 802, 109, + 373, 802, 109, 109, 486, 109, 109, 109, 109, 109, + 328, 477, 109, 109, 266, 266, 266, 266, 456, 456, + 456, 266, 266, 488, 486, 266, 109, 109, 109, 276, + 276, 276, 276, 276, 276, 276, 276, 276, 276, 488, + 266, 266, 277, 277, 277, 277, 277, 277, 277, 277, + 277, 277, 109, 109, 109, 110, 504, 581, 110, 110, + + 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, + 110, 110, 581, 504, 110, 110, 110, 110, 110, 110, + 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, + 110, 110, 110, 110, 110, 110, 110, 473, 1139, 505, + 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, + 110, 110, 110, 110, 110, 110, 110, 113, 473, 113, + 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, + 478, 476, 484, 113, 113, 113, 113, 113, 113, 476, + 484, 270, 270, 270, 270, 270, 505, 491, 270, 270, + 491, 478, 270, 312, 312, 312, 312, 312, 312, 113, + + 113, 113, 113, 113, 113, 114, 270, 270, 270, 114, + 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, + 114, 114, 491, 485, 114, 114, 114, 114, 114, 114, + 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, + 114, 114, 114, 114, 114, 114, 114, 485, 1133, 114, + 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, + 114, 114, 114, 114, 114, 114, 114, 118, 118, 118, + 118, 118, 118, 118, 118, 118, 118, 118, 480, 537, + 494, 118, 118, 118, 118, 118, 118, 494, 288, 288, + 480, 118, 288, 482, 288, 288, 1117, 594, 288, 475, + + 288, 442, 442, 475, 442, 594, 537, 118, 118, 118, + 118, 118, 118, 137, 482, 137, 137, 137, 137, 137, + 137, 137, 137, 137, 137, 137, 493, 475, 506, 137, + 137, 137, 137, 137, 137, 506, 442, 474, 608, 556, + 299, 299, 299, 299, 299, 503, 556, 299, 299, 474, + 580, 299, 137, 533, 474, 137, 137, 137, 137, 137, + 137, 140, 493, 517, 140, 299, 299, 299, 517, 580, + 140, 140, 503, 608, 140, 140, 1116, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 503, 533, 140, 140, 140, 140, 140, 140, 140, + + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 144, 144, 144, + 144, 144, 144, 144, 144, 144, 144, 144, 849, 555, + 849, 144, 144, 144, 144, 144, 144, 553, 321, 321, + 553, 144, 321, 1112, 321, 321, 304, 304, 321, 542, + 321, 304, 304, 501, 542, 501, 597, 144, 144, 144, + 144, 144, 144, 151, 151, 555, 151, 151, 151, 151, + 151, 304, 553, 151, 151, 1100, 597, 151, 307, 307, + + 307, 307, 307, 307, 307, 307, 307, 307, 587, 554, + 585, 151, 151, 151, 152, 598, 304, 518, 152, 152, + 152, 518, 152, 598, 152, 152, 587, 593, 152, 301, + 301, 301, 301, 301, 585, 307, 301, 301, 554, 501, + 301, 593, 152, 152, 152, 518, 586, 325, 325, 588, + 325, 325, 586, 592, 301, 301, 301, 582, 596, 592, + 303, 303, 303, 303, 303, 588, 919, 303, 303, 152, + 173, 303, 596, 173, 173, 173, 173, 173, 582, 919, + 173, 173, 605, 606, 173, 303, 303, 303, 310, 310, + 310, 310, 310, 310, 310, 310, 310, 310, 173, 173, + + 173, 175, 325, 175, 175, 175, 175, 175, 175, 175, + 175, 175, 175, 175, 606, 605, 1099, 175, 175, 175, + 175, 175, 175, 311, 311, 311, 311, 311, 311, 311, + 311, 311, 311, 463, 463, 463, 463, 463, 463, 589, + 175, 569, 569, 175, 175, 175, 175, 175, 175, 184, + 601, 539, 184, 569, 609, 539, 692, 601, 184, 184, + 609, 589, 184, 184, 692, 184, 184, 184, 184, 184, + 184, 184, 184, 184, 184, 184, 184, 184, 184, 539, + 1091, 184, 184, 184, 184, 184, 184, 184, 184, 184, + 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, + + 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, + 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, + 184, 184, 184, 184, 184, 185, 185, 185, 185, 185, + 185, 185, 185, 185, 185, 185, 1060, 659, 1060, 185, + 185, 185, 185, 185, 185, 334, 334, 334, 334, 334, + 334, 334, 334, 334, 334, 335, 335, 335, 335, 335, + 335, 335, 335, 335, 335, 185, 185, 185, 185, 185, + 185, 207, 659, 701, 521, 207, 207, 207, 521, 207, + 387, 207, 207, 599, 387, 207, 451, 387, 451, 451, + 451, 451, 451, 451, 387, 595, 600, 701, 1090, 207, + + 207, 207, 521, 607, 599, 600, 603, 515, 387, 387, + 394, 515, 394, 394, 394, 394, 394, 394, 394, 394, + 394, 394, 616, 521, 595, 451, 207, 231, 616, 603, + 231, 231, 231, 231, 231, 515, 607, 231, 231, 1082, + 395, 231, 395, 395, 395, 395, 395, 395, 395, 395, + 395, 395, 515, 660, 657, 231, 231, 231, 233, 660, + 656, 516, 233, 233, 233, 516, 233, 662, 233, 233, + 604, 396, 233, 396, 396, 396, 396, 396, 396, 396, + 396, 396, 396, 571, 571, 657, 233, 233, 233, 516, + 418, 855, 604, 656, 418, 571, 511, 418, 511, 511, + + 511, 511, 511, 511, 418, 613, 662, 613, 516, 614, + 615, 689, 658, 233, 268, 671, 813, 268, 418, 418, + 813, 614, 615, 268, 268, 694, 671, 268, 689, 855, + 268, 268, 447, 447, 447, 447, 447, 447, 447, 447, + 447, 447, 743, 694, 268, 658, 268, 455, 455, 455, + 455, 455, 455, 455, 455, 455, 455, 455, 462, 462, + 462, 462, 462, 462, 462, 462, 462, 462, 688, 447, + 268, 268, 268, 271, 688, 697, 271, 675, 613, 271, + 271, 743, 271, 271, 271, 271, 271, 1081, 675, 271, + 271, 465, 697, 465, 465, 465, 465, 465, 465, 465, + + 465, 465, 465, 271, 271, 271, 507, 507, 507, 507, + 507, 507, 507, 507, 507, 507, 509, 702, 509, 509, + 509, 509, 509, 509, 509, 509, 509, 509, 693, 271, + 271, 271, 274, 702, 274, 274, 274, 274, 274, 274, + 274, 274, 274, 274, 274, 695, 1080, 693, 274, 274, + 274, 274, 274, 274, 510, 699, 510, 510, 510, 510, + 510, 510, 510, 510, 510, 510, 695, 699, 1209, 543, + 676, 676, 699, 543, 274, 274, 274, 274, 274, 274, + 279, 704, 676, 1209, 279, 279, 279, 279, 279, 279, + 279, 279, 279, 279, 279, 279, 279, 543, 704, 279, + + 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, + 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, + 279, 279, 800, 800, 279, 279, 279, 279, 279, 279, + 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, + 279, 279, 280, 280, 280, 280, 280, 280, 280, 280, + 280, 280, 280, 677, 677, 698, 280, 280, 280, 280, + 280, 280, 522, 703, 808, 677, 522, 808, 519, 520, + 712, 703, 519, 520, 698, 523, 1078, 679, 679, 523, + 707, 712, 280, 280, 280, 280, 280, 280, 306, 679, + 522, 306, 306, 306, 306, 306, 519, 520, 306, 306, + + 522, 707, 306, 523, 519, 524, 525, 731, 754, 524, + 525, 520, 731, 754, 717, 523, 306, 306, 306, 308, + 1074, 308, 308, 308, 308, 308, 308, 308, 308, 308, + 308, 308, 717, 524, 525, 308, 308, 308, 308, 308, + 308, 716, 812, 583, 590, 526, 622, 583, 590, 526, + 622, 806, 716, 524, 812, 525, 806, 718, 308, 803, + 803, 308, 308, 308, 308, 308, 308, 313, 718, 1052, + 313, 583, 590, 526, 622, 796, 313, 313, 932, 932, + 313, 313, 796, 313, 313, 313, 313, 313, 313, 313, + 313, 313, 313, 313, 313, 313, 313, 526, 622, 313, + + 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, + 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, + 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, + 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, + 313, 313, 313, 314, 314, 314, 314, 314, 314, 314, + 314, 314, 314, 314, 764, 782, 891, 314, 314, 314, + 314, 314, 314, 527, 891, 764, 782, 527, 532, 532, + 532, 532, 532, 532, 532, 532, 532, 532, 691, 715, + 821, 715, 691, 314, 314, 314, 314, 314, 314, 326, + 783, 527, 835, 326, 326, 326, 834, 326, 821, 326, + + 326, 783, 834, 326, 835, 532, 691, 527, 1046, 574, + 574, 574, 574, 574, 574, 574, 574, 326, 326, 326, + 536, 574, 536, 536, 536, 536, 536, 536, 562, 562, + 562, 562, 562, 562, 562, 562, 562, 562, 562, 715, + 809, 826, 1029, 809, 326, 336, 838, 336, 336, 336, + 336, 336, 336, 336, 336, 336, 336, 838, 826, 536, + 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, + 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, + 825, 839, 1028, 825, 336, 337, 839, 337, 337, 337, + 337, 337, 337, 337, 337, 337, 337, 576, 576, 576, + + 576, 576, 576, 576, 576, 576, 576, 577, 577, 577, + 577, 577, 577, 661, 661, 661, 661, 661, 661, 661, + 661, 661, 661, 1024, 337, 338, 848, 338, 338, 338, + 338, 338, 338, 338, 338, 338, 338, 579, 848, 579, + 579, 579, 579, 579, 579, 579, 579, 579, 579, 617, + 661, 617, 617, 617, 617, 617, 617, 617, 617, 617, + 617, 824, 926, 824, 338, 339, 339, 339, 339, 339, + 339, 339, 339, 339, 339, 339, 969, 969, 1013, 339, + 339, 339, 339, 339, 339, 618, 862, 618, 618, 618, + 618, 618, 618, 618, 618, 618, 618, 801, 862, 845, + + 926, 1006, 339, 845, 801, 339, 339, 339, 339, 339, + 339, 342, 342, 342, 342, 342, 342, 342, 342, 342, + 342, 342, 824, 1005, 896, 342, 342, 342, 342, 342, + 342, 619, 827, 619, 619, 619, 619, 619, 619, 619, + 619, 619, 619, 628, 850, 896, 1003, 628, 850, 902, + 827, 342, 342, 342, 342, 342, 342, 344, 344, 344, + 344, 344, 344, 344, 344, 344, 344, 344, 344, 994, + 902, 628, 344, 344, 344, 344, 344, 344, 623, 628, + 632, 626, 623, 634, 632, 626, 672, 634, 672, 672, + 672, 672, 672, 672, 672, 672, 672, 672, 344, 344, + + 344, 344, 344, 344, 346, 852, 623, 346, 632, 626, + 852, 634, 623, 346, 346, 626, 632, 346, 346, 1048, + 346, 346, 346, 346, 346, 346, 346, 346, 346, 346, + 346, 346, 346, 346, 634, 1048, 346, 346, 346, 346, + 346, 346, 346, 346, 346, 346, 346, 346, 346, 346, + 346, 346, 346, 346, 346, 346, 346, 346, 346, 346, + 346, 346, 346, 346, 346, 346, 346, 346, 346, 346, + 346, 346, 346, 346, 346, 346, 346, 346, 346, 346, + 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, + 347, 784, 784, 990, 347, 347, 347, 347, 347, 347, + + 627, 629, 847, 784, 627, 629, 864, 630, 847, 935, + 633, 630, 935, 631, 633, 696, 851, 631, 864, 696, + 347, 347, 347, 347, 347, 347, 371, 851, 627, 629, + 371, 371, 371, 853, 371, 630, 371, 371, 633, 876, + 371, 631, 627, 696, 893, 633, 877, 785, 785, 630, + 876, 853, 893, 989, 371, 371, 371, 877, 629, 785, + 665, 631, 665, 665, 665, 665, 665, 665, 673, 897, + 673, 673, 673, 673, 673, 673, 673, 673, 673, 673, + 897, 371, 372, 787, 787, 889, 372, 372, 372, 372, + 372, 889, 372, 372, 1004, 787, 372, 1004, 674, 665, + + 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, + 372, 372, 372, 678, 678, 678, 678, 678, 678, 678, + 678, 678, 678, 682, 682, 682, 682, 682, 682, 682, + 682, 962, 894, 878, 878, 682, 700, 372, 390, 894, + 700, 892, 390, 390, 390, 878, 390, 892, 390, 390, + 934, 1018, 390, 684, 684, 684, 684, 684, 684, 684, + 684, 684, 684, 934, 700, 966, 390, 390, 390, 685, + 685, 685, 685, 685, 685, 687, 966, 687, 687, 687, + 687, 687, 687, 687, 687, 687, 687, 705, 706, 898, + 1018, 705, 706, 390, 391, 970, 970, 898, 391, 391, + + 391, 391, 391, 907, 391, 391, 949, 723, 391, 723, + 723, 723, 723, 723, 723, 705, 706, 993, 949, 993, + 907, 948, 391, 391, 391, 719, 719, 719, 719, 719, + 719, 719, 719, 719, 719, 721, 950, 721, 721, 721, + 721, 721, 721, 721, 721, 721, 721, 944, 950, 391, + 397, 397, 397, 397, 397, 397, 397, 397, 397, 397, + 397, 1015, 1015, 1224, 397, 397, 397, 397, 397, 397, + 722, 952, 722, 722, 722, 722, 722, 722, 722, 722, + 722, 722, 993, 952, 1224, 724, 879, 879, 967, 724, + 397, 397, 397, 397, 397, 397, 399, 1186, 879, 967, + + 399, 399, 399, 399, 399, 399, 399, 399, 399, 399, + 399, 399, 399, 724, 1186, 399, 399, 399, 399, 399, + 399, 399, 399, 399, 399, 399, 399, 399, 399, 399, + 399, 399, 399, 399, 399, 399, 399, 399, 1047, 1047, + 399, 399, 399, 399, 399, 399, 399, 399, 399, 399, + 399, 399, 399, 399, 399, 399, 399, 399, 400, 400, + 400, 400, 400, 400, 400, 400, 400, 400, 400, 1063, + 939, 1063, 400, 400, 400, 400, 400, 400, 771, 771, + 771, 771, 771, 771, 771, 771, 771, 771, 725, 728, + 729, 730, 725, 728, 729, 730, 977, 936, 400, 400, + + 400, 400, 400, 400, 419, 977, 419, 419, 419, 419, + 419, 419, 419, 419, 419, 419, 725, 728, 729, 730, + 974, 931, 992, 992, 725, 992, 992, 1022, 732, 733, + 734, 974, 732, 733, 734, 729, 735, 736, 730, 1014, + 735, 736, 1014, 419, 420, 921, 420, 420, 420, 420, + 420, 420, 420, 420, 420, 420, 732, 733, 734, 881, + 881, 979, 920, 983, 735, 736, 1022, 917, 747, 979, + 983, 881, 747, 746, 734, 746, 746, 746, 746, 746, + 746, 733, 1016, 420, 421, 1016, 421, 421, 421, 421, + 421, 421, 421, 421, 421, 421, 747, 1092, 1092, 742, + + 742, 742, 742, 742, 742, 742, 742, 742, 742, 751, + 755, 758, 746, 751, 755, 758, 916, 1056, 759, 1189, + 911, 1189, 759, 421, 422, 1056, 422, 422, 422, 422, + 422, 422, 422, 422, 422, 422, 742, 751, 755, 758, + 422, 422, 422, 422, 422, 422, 759, 773, 773, 773, + 773, 773, 773, 773, 773, 773, 773, 774, 774, 774, + 774, 774, 774, 1158, 909, 905, 422, 422, 422, 422, + 422, 422, 424, 424, 424, 424, 424, 424, 424, 424, + 424, 424, 975, 1158, 904, 903, 424, 424, 424, 424, + 424, 424, 776, 975, 776, 776, 776, 776, 776, 776, + + 776, 776, 776, 776, 781, 1084, 781, 781, 781, 781, + 781, 781, 424, 424, 424, 424, 424, 424, 440, 968, + 968, 901, 440, 440, 440, 1192, 440, 1192, 440, 440, + 860, 968, 440, 777, 777, 777, 777, 777, 777, 777, + 777, 777, 777, 859, 1084, 846, 440, 440, 440, 779, + 1030, 779, 779, 779, 779, 779, 779, 779, 779, 779, + 779, 780, 1030, 780, 780, 780, 780, 780, 780, 780, + 780, 780, 780, 440, 441, 982, 984, 1365, 441, 441, + 441, 441, 441, 1365, 441, 441, 982, 984, 441, 786, + 786, 786, 786, 786, 786, 786, 786, 786, 786, 840, + + 837, 1031, 441, 441, 441, 790, 790, 790, 790, 790, + 790, 790, 790, 1031, 836, 833, 1033, 790, 792, 792, + 792, 792, 792, 792, 792, 792, 792, 792, 1033, 441, + 449, 832, 449, 449, 449, 449, 449, 449, 449, 449, + 449, 449, 793, 793, 793, 793, 793, 793, 795, 823, + 795, 795, 795, 795, 795, 795, 795, 795, 795, 795, + 798, 804, 810, 816, 798, 804, 810, 816, 1088, 449, + 450, 991, 450, 450, 450, 450, 450, 450, 450, 450, + 450, 450, 870, 870, 870, 870, 870, 870, 798, 804, + 810, 816, 822, 820, 991, 818, 991, 991, 1049, 818, + + 887, 887, 887, 887, 887, 887, 815, 1088, 1049, 450, + 461, 461, 461, 461, 461, 461, 461, 461, 461, 461, + 461, 461, 461, 818, 814, 778, 461, 461, 461, 461, + 461, 461, 828, 828, 828, 828, 828, 828, 828, 828, + 828, 828, 828, 918, 1058, 906, 906, 918, 906, 906, + 770, 1058, 461, 461, 461, 461, 461, 461, 464, 464, + 464, 464, 464, 464, 464, 464, 464, 464, 464, 464, + 908, 918, 769, 464, 464, 464, 464, 464, 464, 829, + 829, 829, 829, 829, 829, 829, 829, 829, 829, 829, + 768, 763, 918, 908, 762, 908, 908, 1141, 1045, 464, + + 464, 464, 464, 464, 464, 467, 906, 980, 467, 1045, + 761, 980, 760, 757, 467, 467, 756, 753, 467, 467, + 908, 467, 467, 467, 467, 467, 467, 467, 467, 467, + 467, 467, 467, 467, 467, 980, 1141, 467, 467, 467, + 467, 467, 467, 467, 467, 467, 467, 467, 467, 467, + 467, 467, 467, 467, 467, 467, 467, 467, 467, 467, + 467, 467, 467, 467, 467, 467, 467, 467, 467, 467, + 467, 467, 467, 467, 467, 467, 467, 467, 467, 467, + 467, 512, 512, 512, 512, 512, 512, 512, 512, 512, + 512, 512, 1260, 1260, 1260, 512, 512, 512, 512, 512, + + 512, 830, 830, 830, 830, 830, 830, 830, 830, 830, + 830, 830, 914, 914, 914, 914, 914, 914, 914, 752, + 1057, 512, 512, 512, 512, 512, 512, 513, 1057, 750, + 1172, 513, 513, 513, 513, 513, 513, 513, 513, 513, + 513, 513, 513, 513, 749, 748, 513, 513, 513, 513, + 513, 513, 513, 513, 513, 513, 513, 513, 513, 513, + 513, 513, 513, 513, 513, 513, 513, 513, 513, 1172, + 741, 513, 513, 513, 513, 513, 513, 513, 513, 513, + 513, 513, 513, 513, 513, 513, 513, 513, 513, 514, + 1200, 1217, 1101, 514, 854, 854, 854, 854, 854, 854, + + 854, 854, 854, 854, 1101, 727, 1102, 514, 514, 514, + 514, 514, 514, 514, 514, 514, 514, 514, 1102, 1123, + 726, 514, 514, 514, 514, 514, 514, 1123, 720, 1200, + 1217, 854, 858, 858, 858, 858, 858, 858, 858, 958, + 958, 958, 958, 958, 958, 714, 713, 514, 514, 514, + 514, 514, 514, 534, 711, 534, 534, 534, 534, 534, + 534, 534, 534, 534, 534, 1061, 1061, 710, 1061, 1061, + 858, 861, 861, 861, 861, 861, 861, 861, 861, 861, + 861, 863, 863, 863, 863, 863, 863, 863, 863, 863, + 863, 709, 534, 535, 1104, 535, 535, 535, 535, 535, + + 535, 535, 535, 535, 535, 867, 1104, 867, 867, 867, + 867, 867, 867, 1292, 1292, 1292, 1118, 867, 869, 869, + 869, 869, 869, 869, 869, 869, 869, 869, 1118, 708, + 985, 690, 535, 557, 985, 557, 557, 557, 557, 557, + 557, 557, 557, 557, 557, 872, 669, 872, 872, 872, + 872, 872, 872, 872, 872, 872, 872, 873, 985, 873, + 873, 873, 873, 873, 873, 873, 873, 873, 873, 668, + 987, 667, 557, 558, 987, 558, 558, 558, 558, 558, + 558, 558, 558, 558, 558, 874, 666, 874, 874, 874, + 874, 874, 874, 874, 874, 874, 874, 875, 987, 875, + + 875, 875, 875, 875, 875, 875, 875, 875, 875, 655, + 654, 653, 558, 559, 652, 559, 559, 559, 559, 559, + 559, 559, 559, 559, 559, 880, 880, 880, 880, 880, + 880, 880, 880, 880, 880, 884, 884, 884, 884, 884, + 884, 884, 884, 651, 1064, 650, 1064, 884, 1157, 1157, + 1157, 1157, 559, 572, 572, 572, 572, 572, 572, 572, + 572, 572, 572, 572, 572, 572, 649, 648, 647, 572, + 572, 572, 572, 572, 572, 886, 886, 886, 886, 886, + 886, 886, 886, 886, 886, 910, 910, 910, 910, 910, + 910, 910, 910, 910, 910, 572, 572, 572, 572, 572, + + 572, 575, 575, 575, 575, 575, 575, 575, 575, 575, + 575, 575, 575, 575, 1064, 646, 645, 575, 575, 575, + 575, 575, 575, 888, 644, 888, 888, 888, 888, 888, + 888, 888, 888, 888, 888, 929, 929, 929, 929, 929, + 929, 929, 643, 575, 575, 575, 575, 575, 575, 578, + 578, 578, 578, 578, 578, 578, 578, 578, 578, 578, + 578, 639, 638, 637, 578, 578, 578, 578, 578, 578, + 636, 635, 965, 929, 965, 965, 965, 965, 965, 965, + 895, 625, 1125, 1125, 895, 1125, 1125, 624, 621, 620, + 578, 578, 578, 578, 578, 578, 640, 612, 640, 640, + + 640, 640, 640, 640, 640, 640, 640, 640, 895, 912, + 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, + 899, 611, 610, 945, 899, 945, 945, 945, 945, 945, + 945, 945, 945, 945, 945, 640, 641, 895, 641, 641, + 641, 641, 641, 641, 641, 641, 641, 641, 899, 913, + 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, + 900, 922, 923, 602, 900, 922, 923, 973, 973, 973, + 973, 973, 973, 973, 973, 641, 642, 899, 642, 642, + 642, 642, 642, 642, 642, 642, 642, 642, 900, 922, + 923, 925, 925, 925, 925, 925, 925, 925, 925, 925, + + 925, 933, 937, 938, 566, 933, 937, 938, 1253, 1253, + 922, 923, 565, 564, 1253, 642, 663, 900, 663, 663, + 663, 663, 663, 663, 663, 663, 663, 663, 925, 933, + 937, 938, 946, 563, 946, 946, 946, 946, 946, 946, + 946, 946, 946, 946, 1039, 1039, 1039, 1039, 1039, 1039, + 933, 937, 938, 561, 560, 663, 664, 1152, 664, 664, + 664, 664, 664, 664, 664, 664, 664, 664, 947, 1152, + 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, + 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, + 1164, 1164, 552, 1164, 1164, 664, 670, 670, 670, 670, + + 670, 670, 670, 670, 670, 670, 670, 551, 550, 549, + 670, 670, 670, 670, 670, 670, 955, 548, 955, 955, + 955, 955, 955, 955, 1281, 1281, 547, 1002, 955, 1050, + 1281, 1002, 546, 1050, 545, 544, 670, 670, 670, 670, + 670, 670, 680, 680, 680, 680, 680, 680, 680, 680, + 680, 680, 680, 680, 680, 1002, 541, 1050, 680, 680, + 680, 680, 680, 680, 957, 957, 957, 957, 957, 957, + 957, 957, 957, 957, 961, 961, 961, 961, 961, 961, + 961, 961, 961, 961, 680, 680, 680, 680, 680, 680, + 683, 683, 683, 683, 683, 683, 683, 683, 683, 683, + + 683, 683, 683, 540, 538, 531, 683, 683, 683, 683, + 683, 683, 960, 530, 960, 960, 960, 960, 960, 960, + 960, 960, 960, 960, 1001, 529, 1190, 1190, 1001, 1190, + 1190, 508, 683, 683, 683, 683, 683, 683, 686, 686, + 686, 686, 686, 686, 686, 686, 686, 686, 686, 686, + 500, 499, 1001, 686, 686, 686, 686, 686, 686, 963, + 498, 963, 963, 963, 963, 963, 963, 963, 963, 963, + 963, 1282, 1282, 1001, 497, 496, 495, 1282, 490, 686, + 686, 686, 686, 686, 686, 744, 487, 744, 744, 744, + 744, 744, 744, 744, 744, 744, 744, 964, 458, 964, + + 964, 964, 964, 964, 964, 964, 964, 964, 964, 457, + 1053, 1079, 1011, 454, 1053, 1079, 1011, 1119, 453, 976, + 439, 1119, 978, 976, 744, 745, 978, 745, 745, 745, + 745, 745, 745, 745, 745, 745, 745, 995, 1053, 1079, + 1011, 995, 995, 995, 995, 1119, 438, 976, 437, 997, + 978, 997, 997, 997, 997, 997, 997, 997, 997, 997, + 997, 1011, 436, 435, 745, 765, 765, 765, 765, 765, + 765, 765, 765, 765, 765, 765, 976, 996, 434, 978, + 433, 996, 996, 996, 996, 1110, 1110, 1110, 1110, 1110, + 1110, 998, 995, 998, 998, 998, 998, 998, 998, 998, + + 998, 998, 998, 765, 766, 766, 766, 766, 766, 766, + 766, 766, 766, 766, 766, 999, 432, 999, 999, 999, + 999, 999, 999, 999, 999, 999, 999, 1012, 1310, 1310, + 431, 1012, 996, 1021, 1310, 1021, 1021, 1021, 1021, 1021, + 1021, 430, 766, 767, 767, 767, 767, 767, 767, 767, + 767, 767, 767, 767, 1000, 1012, 1000, 1000, 1000, 1000, + 1000, 1000, 1000, 1000, 1000, 1000, 429, 1132, 428, 1159, + 427, 1132, 1021, 1159, 1299, 1323, 1012, 1299, 1323, 1299, + 1323, 767, 772, 426, 772, 772, 772, 772, 772, 772, + 772, 772, 772, 772, 772, 1132, 423, 1159, 772, 772, + + 772, 772, 772, 772, 1017, 1017, 1017, 1017, 1017, 1017, + 1017, 1017, 1017, 1017, 1023, 1023, 1023, 1023, 1023, 1023, + 1023, 1023, 1023, 1023, 772, 772, 772, 772, 772, 772, + 775, 775, 775, 775, 775, 775, 775, 775, 775, 775, + 775, 1017, 417, 414, 775, 775, 775, 775, 775, 775, + 1025, 413, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, + 1025, 1025, 1027, 412, 1027, 1027, 1027, 1027, 1027, 1027, + 775, 775, 775, 775, 775, 775, 788, 788, 788, 788, + 788, 788, 788, 788, 788, 788, 788, 788, 788, 411, + 410, 409, 788, 788, 788, 788, 788, 788, 1026, 408, + + 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, + 1077, 407, 1077, 1077, 1077, 1077, 1077, 1077, 788, 788, + 788, 788, 788, 788, 791, 791, 791, 791, 791, 791, + 791, 791, 791, 791, 791, 791, 791, 406, 405, 404, + 791, 791, 791, 791, 791, 791, 1032, 1032, 1032, 1032, + 1032, 1032, 1032, 1032, 1032, 1032, 1038, 1038, 1038, 1038, + 1038, 1038, 1038, 1038, 1038, 1038, 791, 791, 791, 791, + 791, 791, 794, 794, 794, 794, 794, 794, 794, 794, + 794, 794, 794, 403, 402, 401, 398, 794, 794, 794, + 794, 794, 794, 1036, 383, 1036, 1036, 1036, 1036, 1036, + + 1036, 379, 378, 377, 376, 1036, 1115, 1115, 1115, 1115, + 1115, 1115, 1115, 794, 794, 794, 794, 794, 794, 797, + 1070, 1339, 797, 1070, 1339, 370, 1339, 369, 797, 797, + 1070, 1070, 797, 797, 1070, 797, 797, 797, 797, 797, + 797, 797, 797, 797, 797, 797, 797, 797, 1070, 1070, + 1070, 797, 797, 797, 797, 797, 797, 797, 797, 797, + 797, 797, 797, 797, 797, 797, 797, 797, 797, 797, + 797, 797, 797, 797, 797, 797, 797, 797, 797, 797, + 797, 797, 797, 797, 797, 797, 797, 797, 797, 797, + 797, 797, 797, 797, 797, 831, 368, 367, 366, 831, + + 831, 831, 831, 831, 831, 831, 831, 831, 831, 831, + 365, 831, 363, 362, 831, 831, 831, 831, 831, 831, + 831, 831, 831, 831, 831, 831, 831, 831, 831, 831, + 831, 831, 831, 831, 831, 831, 831, 361, 360, 831, + 831, 831, 831, 831, 831, 831, 831, 831, 831, 831, + 831, 831, 831, 831, 831, 831, 831, 841, 841, 841, + 841, 841, 841, 841, 841, 841, 841, 841, 1041, 359, + 1041, 1041, 1041, 1041, 1041, 1041, 1041, 1041, 1041, 1041, + 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, + 1042, 358, 357, 356, 355, 841, 842, 842, 842, 842, + + 842, 842, 842, 842, 842, 842, 842, 1043, 1043, 1043, + 1043, 1043, 1043, 1043, 1043, 1043, 1043, 1043, 1044, 1044, + 1044, 1044, 1044, 1044, 1044, 1044, 1044, 1044, 1044, 1055, + 354, 353, 352, 1055, 842, 843, 843, 843, 843, 843, + 843, 843, 843, 843, 843, 843, 351, 1121, 1065, 349, + 348, 1121, 1065, 1065, 1065, 1065, 1069, 1055, 341, 1069, + 1069, 1069, 1069, 1069, 1069, 1069, 1069, 1069, 1069, 340, + 1316, 1316, 327, 843, 844, 1121, 1316, 844, 323, 1317, + 1317, 322, 320, 844, 844, 1317, 1055, 844, 844, 319, + 844, 844, 844, 844, 844, 844, 844, 844, 844, 844, + + 844, 844, 844, 1065, 1121, 318, 844, 844, 844, 844, + 844, 844, 844, 844, 844, 844, 844, 844, 844, 844, + 844, 844, 844, 844, 844, 844, 844, 844, 844, 844, + 844, 844, 844, 844, 844, 844, 844, 844, 844, 844, + 844, 844, 844, 844, 844, 844, 844, 844, 844, 844, + 856, 856, 856, 856, 856, 856, 856, 856, 856, 856, + 856, 1066, 317, 1359, 1359, 1066, 1066, 1066, 1066, 1067, + 1359, 316, 315, 1067, 1067, 1067, 1067, 1073, 1073, 1073, + 1073, 1073, 1073, 1073, 1073, 1073, 1073, 309, 856, 857, + 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, + + 1068, 1363, 305, 1363, 1068, 1068, 1068, 1068, 1071, 1363, + 302, 300, 1071, 1071, 1071, 1071, 1066, 1207, 1207, 1207, + 1207, 1207, 1207, 298, 1067, 295, 294, 857, 865, 293, + 865, 865, 865, 865, 865, 865, 865, 865, 865, 865, + 865, 868, 290, 868, 868, 868, 868, 868, 868, 868, + 868, 868, 868, 868, 289, 1068, 287, 868, 868, 868, + 868, 868, 868, 1071, 1075, 286, 1075, 1075, 1075, 1075, + 1075, 1075, 1075, 1075, 1075, 1075, 1237, 1237, 1237, 1237, + 1237, 1237, 285, 868, 868, 868, 868, 868, 868, 871, + 871, 871, 871, 871, 871, 871, 871, 871, 871, 871, + + 284, 283, 281, 871, 871, 871, 871, 871, 871, 1076, + 275, 1076, 1076, 1076, 1076, 1076, 1076, 1076, 1076, 1076, + 1076, 1089, 1161, 267, 263, 1089, 1161, 258, 257, 871, + 871, 871, 871, 871, 871, 882, 882, 882, 882, 882, + 882, 882, 882, 882, 882, 882, 882, 882, 255, 1089, + 1161, 882, 882, 882, 882, 882, 882, 251, 1083, 1083, + 1083, 1083, 1083, 1083, 1083, 1083, 1083, 1083, 246, 1087, + 1089, 1087, 1087, 1087, 1087, 1087, 1087, 882, 882, 882, + 882, 882, 882, 885, 885, 885, 885, 885, 885, 885, + 885, 885, 885, 885, 885, 1083, 241, 239, 235, 885, + + 885, 885, 885, 885, 885, 1122, 230, 1072, 1087, 1122, + 1072, 1131, 218, 1318, 1318, 1131, 217, 1072, 1072, 1318, + 216, 1072, 215, 214, 209, 885, 885, 885, 885, 885, + 885, 890, 202, 1122, 890, 1072, 1072, 1072, 201, 1131, + 890, 890, 200, 199, 890, 890, 198, 890, 890, 890, + 890, 890, 890, 890, 890, 890, 890, 890, 890, 890, + 1131, 197, 1122, 890, 890, 890, 890, 890, 890, 890, + 890, 890, 890, 890, 890, 890, 890, 890, 890, 890, + 890, 890, 890, 890, 890, 890, 890, 890, 890, 890, + 890, 890, 890, 890, 890, 890, 890, 890, 890, 890, + + 890, 890, 890, 890, 890, 890, 890, 915, 195, 194, + 193, 915, 915, 915, 915, 915, 915, 915, 915, 915, + 915, 915, 192, 915, 191, 190, 915, 915, 915, 915, + 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, + 915, 915, 915, 915, 915, 915, 915, 915, 915, 189, + 188, 915, 915, 915, 915, 915, 915, 915, 915, 915, + 915, 915, 915, 915, 915, 915, 915, 915, 915, 927, + 927, 927, 927, 927, 927, 927, 927, 927, 927, 927, + 1096, 187, 1096, 1096, 1096, 1096, 1096, 1096, 1096, 1096, + 1096, 1096, 1097, 186, 1097, 1097, 1097, 1097, 1097, 1097, + + 1097, 1097, 1097, 1097, 181, 177, 176, 927, 928, 928, + 928, 928, 928, 928, 928, 928, 928, 928, 928, 1098, + 172, 1098, 1098, 1098, 1098, 1098, 1098, 1098, 1098, 1098, + 1098, 1103, 1103, 1103, 1103, 1103, 1103, 1103, 1103, 1103, + 1103, 169, 165, 162, 159, 155, 928, 930, 1170, 1187, + 930, 150, 1170, 1187, 149, 148, 930, 930, 147, 146, + 930, 930, 145, 930, 930, 930, 930, 930, 930, 930, + 930, 930, 930, 930, 930, 930, 1170, 1187, 141, 930, + 930, 930, 930, 930, 930, 930, 930, 930, 930, 930, + 930, 930, 930, 930, 930, 930, 930, 930, 930, 930, + + 930, 930, 930, 930, 930, 930, 930, 930, 930, 930, + 930, 930, 930, 930, 930, 930, 930, 930, 930, 930, + 930, 930, 930, 940, 135, 940, 940, 940, 940, 940, + 940, 940, 940, 940, 940, 1107, 133, 1107, 1107, 1107, + 1107, 1107, 1107, 129, 124, 123, 122, 1107, 1109, 1109, + 1109, 1109, 1109, 1109, 1109, 1109, 1109, 1109, 1324, 1324, + 121, 120, 940, 941, 1324, 941, 941, 941, 941, 941, + 941, 941, 941, 941, 941, 1111, 119, 1111, 1111, 1111, + 1111, 1111, 1111, 1111, 1111, 1111, 1111, 1113, 1113, 1113, + 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1325, 1325, + + 115, 102, 941, 942, 1325, 942, 942, 942, 942, 942, + 942, 942, 942, 942, 942, 1114, 1114, 1114, 1114, 1114, + 1114, 1114, 1114, 1114, 1114, 1114, 1126, 1126, 1126, 1126, + 1126, 1126, 1126, 1126, 1126, 1126, 95, 88, 1326, 1326, + 87, 80, 942, 943, 1326, 943, 943, 943, 943, 943, + 943, 943, 943, 943, 943, 1127, 1127, 1127, 1127, 1127, + 1127, 1127, 1127, 1127, 1127, 1128, 79, 1128, 1128, 1128, + 1128, 1128, 1128, 1128, 1128, 1128, 1128, 74, 1329, 1329, + 73, 72, 943, 953, 1329, 953, 953, 953, 953, 953, + 953, 953, 953, 953, 953, 953, 956, 71, 956, 956, + + 956, 956, 956, 956, 956, 956, 956, 956, 956, 66, + 64, 54, 956, 956, 956, 956, 956, 956, 1129, 53, + 1129, 1129, 1129, 1129, 1129, 1129, 1129, 1129, 1129, 1129, + 1149, 51, 1149, 1149, 1149, 1149, 1149, 1149, 956, 956, + 956, 956, 956, 956, 959, 959, 959, 959, 959, 959, + 959, 959, 959, 959, 959, 50, 48, 38, 959, 959, + 959, 959, 959, 959, 1130, 32, 1130, 1130, 1130, 1130, + 1130, 1130, 1130, 1130, 1130, 1130, 1169, 26, 1169, 1169, + 1169, 1169, 1169, 1169, 959, 959, 959, 959, 959, 959, + 971, 971, 971, 971, 971, 971, 971, 971, 971, 971, + + 971, 971, 1007, 25, 1007, 1007, 1007, 1007, 1007, 1007, + 1007, 1007, 1007, 1007, 22, 1137, 21, 0, 1144, 1137, + 1144, 1144, 1144, 1144, 1144, 1144, 1138, 0, 0, 0, + 1138, 1140, 1140, 1140, 1140, 1140, 1140, 1140, 1140, 1140, + 1140, 1007, 1008, 1137, 1008, 1008, 1008, 1008, 1008, 1008, + 1008, 1008, 1008, 1008, 1138, 0, 1215, 1144, 1215, 1215, + 1215, 1215, 1215, 1215, 1137, 1330, 1330, 0, 1140, 0, + 0, 1330, 1331, 1331, 1347, 1138, 0, 1347, 1331, 1347, + 0, 1008, 1009, 0, 1009, 1009, 1009, 1009, 1009, 1009, + 1009, 1009, 1009, 1009, 1145, 1145, 1145, 1145, 1145, 1145, + + 1145, 1145, 1145, 1145, 1147, 0, 1147, 1147, 1147, 1147, + 1147, 1147, 1147, 1147, 1147, 1147, 0, 0, 0, 1163, + 0, 1009, 1010, 1163, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1148, 0, 1148, 1148, 1148, 1148, + 1148, 1148, 1148, 1148, 1148, 1148, 1155, 1163, 1155, 1155, + 1155, 1155, 1155, 1155, 1155, 1155, 1155, 1155, 0, 0, + 0, 1010, 1019, 0, 1019, 1019, 1019, 1019, 1019, 1019, + 1019, 1019, 1019, 1019, 0, 0, 1163, 1165, 1165, 1165, + 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1167, 0, 1167, + 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 0, + + 0, 1019, 1020, 0, 1020, 1020, 1020, 1020, 1020, 1020, + 1020, 1020, 1020, 1020, 1168, 0, 1168, 1168, 1168, 1168, + 1168, 1168, 1168, 1168, 1168, 1168, 0, 0, 0, 0, + 0, 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, + 1171, 1020, 1034, 0, 1034, 1034, 1034, 1034, 1034, 1034, + 1034, 1034, 1034, 1034, 1034, 1037, 0, 1037, 1037, 1037, + 1037, 1037, 1037, 1037, 1037, 1037, 1037, 1037, 1171, 0, + 0, 1037, 1037, 1037, 1037, 1037, 1037, 1175, 0, 1175, + 1175, 1175, 1175, 1175, 1175, 1176, 1334, 1334, 0, 1176, + 1335, 1335, 1334, 0, 0, 0, 1335, 1037, 1037, 1037, + + 1037, 1037, 1037, 1040, 1040, 1040, 1040, 1040, 1040, 1040, + 1040, 1040, 1040, 1176, 0, 0, 1175, 1040, 1040, 1040, + 1040, 1040, 1040, 1180, 1180, 1180, 1180, 1180, 1180, 1180, + 1180, 1180, 1180, 0, 1176, 1342, 1342, 0, 0, 0, + 0, 1342, 0, 1040, 1040, 1040, 1040, 1040, 1040, 1085, + 0, 1085, 1085, 1085, 1085, 1085, 1085, 1085, 1085, 1085, + 1085, 1181, 1181, 1181, 1181, 1181, 1181, 1181, 1181, 1181, + 1181, 1182, 1182, 1182, 1182, 1182, 1182, 1182, 1182, 1182, + 1182, 1350, 1350, 0, 1357, 1357, 0, 1350, 1085, 1086, + 1357, 1086, 1086, 1086, 1086, 1086, 1086, 1086, 1086, 1086, + + 1086, 1193, 0, 1193, 1193, 1193, 1193, 1193, 1193, 1193, + 1193, 1193, 1193, 1194, 0, 1194, 1194, 1194, 1194, 1194, + 1194, 1194, 1194, 1194, 1194, 0, 0, 0, 1086, 1093, + 0, 1093, 1093, 1093, 1093, 1093, 1093, 1093, 1093, 1093, + 1093, 1195, 0, 1195, 1195, 1195, 1195, 1195, 1195, 1195, + 1195, 1195, 1195, 1199, 1199, 1199, 1199, 1199, 1199, 1199, + 1199, 1199, 1199, 0, 1360, 1360, 0, 0, 1093, 1094, + 1360, 1094, 1094, 1094, 1094, 1094, 1094, 1094, 1094, 1094, + 1094, 0, 1203, 0, 1203, 1203, 1203, 1203, 1203, 1203, + 1199, 1205, 1205, 1205, 1205, 1205, 1205, 1205, 1205, 1205, + + 1205, 1362, 1362, 0, 0, 0, 0, 1362, 1094, 1095, + 0, 1095, 1095, 1095, 1095, 1095, 1095, 1095, 1095, 1095, + 1095, 1203, 1206, 1206, 1206, 1206, 1206, 1206, 1206, 1206, + 1206, 1206, 1211, 1211, 1211, 1211, 1211, 1211, 1211, 1211, + 1211, 1211, 0, 0, 0, 0, 0, 0, 1095, 1105, + 0, 1105, 1105, 1105, 1105, 1105, 1105, 1105, 1105, 1105, + 1105, 1105, 1108, 0, 1108, 1108, 1108, 1108, 1108, 1108, + 1108, 1108, 1108, 1108, 0, 0, 0, 0, 1108, 1108, + 1108, 1108, 1108, 1108, 1213, 0, 1213, 1213, 1213, 1213, + 1213, 1213, 1213, 1213, 1213, 1213, 0, 0, 0, 0, + + 0, 0, 0, 0, 1108, 1108, 1108, 1108, 1108, 1108, + 1134, 0, 1134, 1134, 1134, 1134, 1134, 1134, 1134, 1134, + 1134, 1134, 1214, 0, 1214, 1214, 1214, 1214, 1214, 1214, + 1214, 1214, 1214, 1214, 1216, 1216, 1216, 1216, 1216, 1216, + 1216, 1216, 1216, 1216, 0, 0, 0, 0, 0, 1134, + 1135, 0, 1135, 1135, 1135, 1135, 1135, 1135, 1135, 1135, + 1135, 1135, 0, 1220, 0, 1220, 1220, 1220, 1220, 1220, + 1220, 1216, 1221, 1221, 1221, 1221, 1221, 1221, 1221, 1221, + 1221, 1221, 0, 1233, 1233, 1233, 1233, 1233, 1233, 1135, + 1136, 0, 1136, 1136, 1136, 1136, 1136, 1136, 1136, 1136, + + 1136, 1136, 1220, 0, 0, 0, 0, 0, 0, 1221, + 1222, 1222, 1222, 1222, 1222, 1222, 1222, 1222, 1222, 1222, + 1233, 0, 0, 0, 0, 0, 0, 0, 0, 1136, + 1142, 0, 1142, 1142, 1142, 1142, 1142, 1142, 1142, 1142, + 1142, 1142, 0, 0, 0, 0, 0, 1222, 1223, 1223, + 1223, 1223, 1223, 1223, 1223, 1223, 1223, 1223, 1225, 1225, + 1225, 1225, 1225, 1225, 1225, 1225, 1225, 1225, 0, 1142, + 1143, 0, 1143, 1143, 1143, 1143, 1143, 1143, 1143, 1143, + 1143, 1143, 0, 0, 0, 1223, 1226, 1226, 1226, 1226, + 1226, 1226, 1226, 1226, 1226, 1226, 1227, 1227, 1227, 1227, + + 1227, 1227, 1227, 1227, 1227, 1227, 0, 0, 0, 1143, + 1173, 0, 1173, 1173, 1173, 1173, 1173, 1173, 1173, 1173, + 1173, 1173, 0, 0, 0, 1228, 1228, 1228, 1228, 1228, + 1228, 1228, 1228, 1228, 1228, 1229, 1229, 1229, 1229, 1229, + 1229, 1229, 1229, 1229, 1229, 0, 0, 0, 0, 1173, + 1174, 0, 1174, 1174, 1174, 1174, 1174, 1174, 1174, 1174, + 1174, 1174, 1228, 0, 0, 1240, 1240, 1240, 1240, 1240, + 1240, 0, 1229, 1230, 1230, 1230, 1230, 1230, 1230, 1230, + 1230, 1230, 1230, 0, 0, 0, 0, 0, 0, 1174, + 1177, 0, 1177, 1177, 1177, 1177, 1177, 1177, 1177, 1177, + + 1177, 1177, 1240, 0, 0, 0, 0, 0, 0, 0, + 1230, 1232, 1232, 1232, 1232, 1232, 1232, 1232, 1232, 1232, + 1232, 0, 0, 0, 0, 0, 0, 0, 0, 1177, + 1178, 0, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, + 1178, 1178, 0, 0, 0, 0, 0, 0, 1232, 1236, + 1236, 1236, 1236, 1236, 1236, 1236, 1236, 1236, 1236, 1239, + 1239, 1239, 1239, 1239, 1239, 1239, 1239, 1239, 1239, 1178, + 1179, 0, 1179, 1179, 1179, 1179, 1179, 1179, 1179, 1179, + 1179, 1179, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 1239, 0, 0, 0, + + 0, 0, 0, 0, 0, 0, 0, 0, 0, 1179, + 1196, 0, 1196, 1196, 1196, 1196, 1196, 1196, 1196, 1196, + 1196, 1196, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 1196, + 1197, 0, 1197, 1197, 1197, 1197, 1197, 1197, 1197, 1197, + 1197, 1197, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 1197, + 1198, 0, 1198, 1198, 1198, 1198, 1198, 1198, 1198, 1198, + + 1198, 1198, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 1198, + 1201, 0, 1201, 1201, 1201, 1201, 1201, 1201, 1201, 1201, + 1201, 1201, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 1201, + 1202, 0, 1202, 1202, 1202, 1202, 1202, 1202, 1202, 1202, + 1202, 1202, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + + 0, 0, 0, 0, 0, 0, 0, 0, 0, 1202, + 1218, 0, 1218, 1218, 1218, 1218, 1218, 1218, 1218, 1218, + 1218, 1218, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 1218, + 1219, 0, 1219, 1219, 1219, 1219, 1219, 1219, 1219, 1219, + 1219, 1219, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 1219, + 1242, 1242, 1242, 1242, 1242, 1242, 1242, 1242, 1242, 1242, + + 1242, 1242, 1242, 1242, 1242, 1242, 1242, 1242, 1242, 1242, + 1242, 1243, 1243, 1243, 1243, 1243, 1243, 1243, 1243, 1243, + 1243, 1243, 1243, 1243, 1243, 1243, 1243, 1243, 1243, 1243, + 1243, 1243, 1244, 1244, 1244, 1244, 1244, 1244, 1244, 1244, + 1244, 1244, 1244, 1244, 1244, 1244, 1244, 1244, 1244, 1244, + 1244, 1244, 1244, 1245, 1245, 1245, 1245, 1245, 1245, 1245, + 1245, 1245, 1245, 1245, 1245, 1245, 1245, 1245, 1245, 1245, + 1245, 1245, 1245, 1245, 1246, 1246, 1246, 1246, 1246, 1246, + 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, + 1246, 1246, 1246, 1246, 1246, 1247, 1247, 1247, 1247, 1247, + + 1247, 1247, 1247, 1247, 1247, 1247, 1247, 1247, 1247, 1247, + 1247, 1247, 1247, 1247, 1247, 1247, 1248, 0, 0, 1248, + 0, 0, 0, 1248, 0, 1248, 0, 1248, 1248, 1248, + 0, 0, 1248, 1248, 1248, 1248, 1248, 1249, 1249, 1249, + 1249, 1249, 1249, 1249, 1249, 1249, 1249, 1249, 1249, 1249, + 1249, 1249, 1249, 1249, 1249, 1249, 1249, 1249, 1250, 0, + 0, 1250, 0, 0, 1250, 1250, 0, 1250, 0, 1250, + 1250, 1250, 1250, 0, 1250, 1250, 1250, 1250, 1250, 1251, + 0, 0, 1251, 0, 0, 0, 1251, 0, 1251, 0, + 1251, 1251, 1251, 0, 0, 1251, 1251, 1251, 1251, 1251, + + 1252, 0, 0, 1252, 1252, 1252, 0, 1252, 1252, 1252, + 0, 1252, 1252, 1252, 0, 0, 1252, 1252, 1252, 1252, + 1252, 1254, 1254, 0, 1254, 1254, 1254, 0, 1254, 1254, + 1254, 1254, 1254, 1254, 1254, 1254, 1254, 1254, 1254, 1254, + 1254, 1254, 1255, 0, 0, 1255, 1255, 1255, 0, 1255, + 1255, 1255, 0, 1255, 1255, 1255, 0, 0, 1255, 1255, + 1255, 1255, 1255, 1256, 1256, 0, 1256, 1256, 1256, 0, + 1256, 1256, 1256, 1256, 1256, 1256, 1256, 1256, 1256, 1256, + 1256, 1256, 1256, 1256, 1257, 0, 0, 1257, 1257, 1257, + 0, 1257, 1257, 1257, 0, 1257, 1257, 1257, 0, 1257, + + 1257, 0, 1257, 1257, 1257, 1258, 1258, 0, 1258, 1258, + 1258, 0, 0, 1258, 1258, 1258, 1258, 1258, 1258, 1258, + 1258, 1258, 0, 1258, 1258, 1258, 1259, 1259, 1259, 1259, + 1259, 1259, 1259, 1259, 1259, 1259, 1259, 1259, 1259, 1259, + 1259, 1259, 1259, 1259, 1259, 1259, 1259, 1261, 0, 0, + 1261, 1261, 0, 0, 1261, 1261, 1261, 0, 1261, 1261, + 1261, 1261, 0, 1261, 1261, 1261, 1261, 1261, 1262, 1262, + 1262, 1262, 1262, 1262, 1262, 1262, 1262, 1262, 1262, 1262, + 1262, 1262, 1262, 1262, 1262, 1262, 1262, 1262, 1262, 1263, + 1263, 0, 1263, 1263, 0, 1263, 1263, 1263, 1263, 1263, + + 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, + 1264, 0, 0, 1264, 0, 0, 1264, 1264, 0, 1264, + 0, 1264, 1264, 1264, 1264, 0, 1264, 1264, 1264, 1264, + 1264, 1265, 0, 0, 1265, 0, 0, 0, 1265, 0, + 1265, 0, 1265, 1265, 1265, 0, 1265, 1265, 1265, 1265, + 1265, 1265, 1266, 0, 0, 1266, 1266, 1266, 0, 1266, + 1266, 1266, 0, 1266, 1266, 1266, 0, 1266, 1266, 1266, + 1266, 1266, 1266, 1267, 1267, 0, 1267, 1267, 1267, 0, + 1267, 1267, 1267, 1267, 1267, 1267, 1267, 1267, 1267, 1267, + 1267, 1267, 1267, 1267, 1268, 0, 0, 0, 1268, 1268, + + 1268, 1268, 1268, 1268, 1268, 1268, 1268, 1268, 1268, 1268, + 1268, 1268, 1268, 1268, 1268, 1269, 0, 0, 1269, 0, + 0, 0, 1269, 0, 1269, 0, 1269, 1269, 1269, 0, + 0, 1269, 1269, 1269, 1269, 1269, 1270, 0, 0, 1270, + 0, 0, 1270, 1270, 0, 1270, 0, 1270, 1270, 1270, + 1270, 0, 1270, 1270, 1270, 1270, 1270, 1271, 0, 0, + 1271, 0, 0, 0, 1271, 0, 1271, 0, 1271, 1271, + 1271, 0, 0, 1271, 1271, 1271, 1271, 1271, 1272, 0, + 0, 1272, 1272, 1272, 0, 1272, 1272, 1272, 0, 1272, + 1272, 1272, 0, 0, 1272, 1272, 1272, 1272, 1272, 1273, + + 1273, 0, 1273, 1273, 1273, 0, 1273, 1273, 1273, 1273, + 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, + 1274, 0, 0, 1274, 0, 0, 0, 1274, 0, 1274, + 0, 1274, 1274, 1274, 0, 0, 1274, 1274, 1274, 1274, + 1274, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, + 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, + 1275, 1275, 1276, 1276, 0, 1276, 1276, 1276, 1276, 1276, + 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, + 1276, 1276, 1276, 1277, 0, 0, 1277, 0, 0, 0, + 1277, 0, 1277, 0, 1277, 1277, 1277, 0, 0, 1277, + + 1277, 1277, 1277, 1277, 1278, 0, 0, 1278, 0, 0, + 0, 1278, 0, 1278, 0, 1278, 1278, 1278, 0, 0, + 1278, 1278, 1278, 1278, 1278, 1279, 0, 0, 1279, 1279, + 1279, 0, 1279, 1279, 1279, 0, 1279, 1279, 1279, 0, + 0, 1279, 1279, 1279, 1279, 1279, 1280, 0, 0, 1280, + 1280, 1280, 0, 1280, 1280, 1280, 0, 1280, 1280, 1280, + 0, 0, 1280, 1280, 1280, 1280, 1280, 1283, 1283, 1283, + 0, 0, 0, 0, 1283, 1284, 1284, 0, 1284, 1284, + 1284, 0, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, + 1284, 1284, 1284, 1284, 1284, 1284, 1285, 1285, 0, 1285, + + 1285, 1285, 0, 1285, 1285, 1285, 1285, 1285, 1285, 1285, + 1285, 1285, 1285, 1285, 1285, 1285, 1285, 1286, 0, 0, + 1286, 1286, 1286, 0, 1286, 1286, 1286, 0, 1286, 1286, + 1286, 0, 0, 1286, 1286, 1286, 1286, 1286, 1287, 0, + 0, 1287, 1287, 1287, 0, 1287, 1287, 1287, 0, 1287, + 1287, 1287, 0, 0, 1287, 1287, 1287, 1287, 1287, 1288, + 1288, 0, 1288, 1288, 1288, 0, 1288, 1288, 1288, 1288, + 1288, 1288, 1288, 1288, 1288, 1288, 1288, 1288, 1288, 1288, + 1289, 1289, 0, 1289, 1289, 1289, 0, 1289, 1289, 1289, + 1289, 1289, 1289, 1289, 1289, 1289, 1289, 1289, 1289, 1289, + + 1289, 1290, 0, 0, 1290, 1290, 1290, 0, 1290, 1290, + 1290, 0, 1290, 1290, 1290, 0, 1290, 1290, 0, 1290, + 1290, 1290, 1291, 1291, 0, 1291, 1291, 1291, 0, 0, + 1291, 1291, 1291, 1291, 1291, 1291, 1291, 1291, 1291, 0, + 1291, 1291, 1291, 1293, 0, 0, 1293, 1293, 0, 0, + 1293, 1293, 1293, 0, 1293, 1293, 1293, 1293, 0, 1293, + 1293, 1293, 1293, 1293, 1294, 1294, 0, 1294, 1294, 0, + 1294, 1294, 1294, 1294, 1294, 1294, 1294, 1294, 1294, 1294, + 1294, 1294, 1294, 1294, 1294, 1295, 0, 0, 1295, 0, + 0, 0, 1295, 0, 1295, 0, 1295, 1295, 1295, 0, + + 0, 1295, 1295, 1295, 1295, 1295, 1296, 0, 0, 1296, + 0, 0, 0, 1296, 0, 1296, 0, 1296, 1296, 1296, + 0, 1296, 1296, 1296, 1296, 1296, 1296, 1297, 0, 0, + 1297, 1297, 0, 1297, 1297, 0, 0, 1297, 1297, 1298, + 0, 0, 1298, 1298, 1298, 0, 1298, 1298, 1298, 0, + 1298, 1298, 1298, 0, 1298, 1298, 1298, 1298, 1298, 1298, + 1300, 0, 0, 0, 1300, 1300, 1300, 1300, 1300, 1300, + 1300, 1300, 1300, 1300, 1300, 1300, 1300, 1300, 1300, 1300, + 1300, 1301, 0, 0, 1301, 0, 0, 0, 1301, 0, + 1301, 0, 1301, 1301, 1301, 0, 0, 1301, 1301, 1301, + + 1301, 1301, 1302, 0, 0, 1302, 0, 0, 0, 1302, + 0, 1302, 0, 1302, 1302, 1302, 0, 0, 1302, 1302, + 1302, 1302, 1302, 1303, 0, 0, 1303, 0, 0, 0, + 1303, 0, 1303, 0, 1303, 1303, 1303, 0, 0, 1303, + 1303, 1303, 1303, 1303, 1304, 0, 0, 1304, 1304, 1304, + 0, 1304, 1304, 1304, 0, 1304, 1304, 1304, 0, 0, + 1304, 1304, 1304, 1304, 1304, 1305, 0, 0, 1305, 1305, + 1305, 0, 1305, 1305, 1305, 0, 1305, 1305, 1305, 0, + 0, 1305, 1305, 1305, 1305, 1305, 1306, 1306, 0, 1306, + 1306, 1306, 0, 1306, 1306, 1306, 1306, 1306, 1306, 1306, + + 1306, 1306, 1306, 1306, 1306, 1306, 1306, 1307, 1307, 1307, + 1307, 1307, 1307, 1307, 1307, 1307, 1307, 1307, 1307, 1307, + 1307, 1307, 1307, 1307, 1307, 1307, 1307, 1307, 1308, 1308, + 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, + 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1309, + 0, 0, 1309, 0, 0, 0, 1309, 0, 1309, 0, + 1309, 1309, 1309, 0, 0, 1309, 1309, 1309, 1309, 1309, + 1311, 1311, 1311, 0, 0, 0, 0, 1311, 1312, 1312, + 0, 1312, 1312, 1312, 0, 1312, 1312, 1312, 1312, 1312, + 1312, 1312, 1312, 1312, 1312, 1312, 1312, 1312, 1312, 1313, + + 1313, 0, 1313, 1313, 1313, 1313, 1313, 1313, 1313, 1313, + 1313, 1313, 1313, 1313, 1313, 1313, 1313, 1313, 1313, 1313, + 1314, 1314, 0, 1314, 1314, 1314, 0, 1314, 1314, 1314, + 1314, 1314, 1314, 1314, 1314, 1314, 1314, 1314, 1314, 1314, + 1314, 1315, 1315, 0, 1315, 1315, 1315, 0, 1315, 1315, + 1315, 1315, 1315, 1315, 1315, 1315, 1315, 1315, 1315, 1315, + 1315, 1315, 1319, 1319, 1319, 0, 0, 0, 0, 1319, + 1320, 1320, 1320, 0, 0, 0, 0, 1320, 1321, 1321, + 1321, 1321, 1321, 1321, 1321, 1321, 1321, 1321, 1321, 1321, + 1321, 1321, 1321, 1321, 1321, 1321, 1321, 1321, 1321, 1322, + + 1322, 0, 1322, 1322, 1322, 0, 1322, 1322, 1322, 1322, + 1322, 1322, 1322, 1322, 1322, 1322, 1322, 1322, 1322, 1322, + 1327, 1327, 1327, 0, 0, 0, 0, 1327, 1328, 1328, + 1328, 1328, 0, 0, 0, 0, 1328, 1332, 1332, 1332, + 0, 0, 0, 0, 1332, 1333, 1333, 1333, 1333, 0, + 0, 0, 0, 1333, 1336, 1336, 1336, 0, 0, 0, + 0, 1336, 1337, 1337, 1337, 1337, 0, 0, 0, 0, + 1337, 1338, 1338, 1338, 1338, 1338, 1338, 1338, 1338, 1338, + 1338, 1338, 1338, 1338, 1338, 1338, 1338, 1338, 1338, 1338, + 1338, 1338, 1340, 0, 0, 1340, 1340, 0, 1340, 1340, + + 0, 0, 1340, 1340, 1341, 0, 0, 1341, 0, 0, + 0, 1341, 0, 1341, 0, 1341, 1341, 1341, 0, 0, + 1341, 1341, 1341, 1341, 1341, 1343, 0, 1343, 1343, 0, + 0, 0, 0, 1343, 1344, 1344, 1344, 0, 0, 0, + 0, 1344, 1345, 1345, 1345, 1345, 0, 0, 0, 0, + 1345, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, + 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, + 1346, 1346, 1348, 0, 0, 1348, 1348, 0, 1348, 1348, + 0, 0, 1348, 1348, 1349, 0, 0, 1349, 0, 0, + 0, 1349, 0, 1349, 0, 1349, 1349, 1349, 0, 0, + + 1349, 1349, 1349, 1349, 1349, 1351, 0, 1351, 1351, 0, + 0, 0, 0, 1351, 1352, 1352, 1352, 0, 0, 0, + 0, 1352, 1353, 1353, 1353, 0, 0, 0, 0, 0, + 1353, 1354, 1354, 1354, 1354, 1354, 1354, 1354, 1354, 1354, + 1354, 1354, 1354, 1354, 1354, 1354, 1354, 1354, 1354, 1354, + 1354, 1354, 1355, 1355, 0, 1355, 1355, 1355, 1355, 1355, + 0, 1355, 0, 1355, 1355, 1355, 0, 0, 1355, 1355, + 1355, 1355, 1355, 1356, 1356, 0, 1356, 1356, 1356, 1356, + 1356, 0, 1356, 0, 1356, 1356, 1356, 0, 0, 1356, + 1356, 1356, 1356, 1356, 1358, 0, 1358, 1358, 0, 0, + + 0, 0, 1358, 1361, 0, 1361, 1361, 0, 0, 0, + 0, 1361, 1364, 1364, 1364, 1364, 1364, 1364, 1364, 1364, + 1364, 1364, 1364, 1364, 1364, 1364, 1364, 1364, 1364, 1364, + 1364, 1364, 1364, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241 + } ; + +static yy_state_type yy_last_accepting_state; +static char *yy_last_accepting_cpos; + +extern int sudoers_flex_debug; +int sudoers_flex_debug = 0; + +/* The intent behind this definition is that it'll catch + * any uses of REJECT which flex missed. + */ +#define REJECT reject_used_but_not_detected +#define yymore() yymore_used_but_not_detected +#define YY_MORE_ADJ 0 +#define YY_RESTORE_YY_MORE_OFFSET +char *sudoerstext; +#line 1 "toke.l" +#line 2 "toke.l" +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1996, 1998-2005, 2007-2022 + * Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Sponsored in part by the Defense Advanced Research Projects + * Agency (DARPA) and Air Force Research Laboratory, Air Force + * Materiel Command, USAF, under agreement number F39502-99-1-0512. + */ + +#include + +#include +#include +#include +#include +#include +#if defined(HAVE_STDINT_H) +# include +#elif defined(HAVE_INTTYPES_H) +# include +#endif +#include +#include +#include +#include +#include "sudoers.h" +#include "toke.h" +#include +#include "sudo_digest.h" +#include "sudo_lbuf.h" + +#if defined(HAVE_STRUCT_DIRENT_D_NAMLEN) && HAVE_STRUCT_DIRENT_D_NAMLEN +# define NAMLEN(dirent) (dirent)->d_namlen +#else +# define NAMLEN(dirent) strlen((dirent)->d_name) +#endif + +// PVS Studio suppression +// -V::519, 547, 1004, 1037, 1048 + +int sudolineno; /* current sudoers line number. */ +char *sudoers; /* sudoers file being parsed. */ +const char *sudoers_errstr; /* description of last error from lexer. */ +struct sudolinebuf sudolinebuf; /* sudoers line being parsed. */ + +/* Default sudoers path, mode and owner (may be set via sudo.conf) */ +const char *sudoers_file = _PATH_SUDOERS; +mode_t sudoers_mode = SUDOERS_MODE; +uid_t sudoers_uid = SUDOERS_UID; +gid_t sudoers_gid = SUDOERS_GID; + +static bool continued, sawspace; +static int prev_state; +static int digest_type = -1; + +static bool pop_include(void); +static yy_size_t sudoers_input(char *buf, yy_size_t max_size); + +#ifndef TRACELEXER +static struct sudo_lbuf trace_lbuf; +#endif + +int (*trace_print)(const char *msg) = sudoers_trace_print; + +#define ECHO ignore_result(fwrite(sudoerstext, sudoersleng, 1, sudoersout)) + +#define YY_INPUT(buf, result, max_size) (result) = sudoers_input(buf, max_size) + +#define YY_USER_ACTION do { \ + sudolinebuf.toke_start = sudolinebuf.toke_end; \ + sudolinebuf.toke_end += sudoersleng; \ +} while (0); + +#define sudoersless(n) do { \ + sudolinebuf.toke_end = sudolinebuf.toke_start + (n); \ + yyless(n); \ +} while (0); + +#define YY_NO_INPUT 1 + + + + + + + + + +#line 3133 "toke.c" + +#define INITIAL 0 +#define GOTDEFS 1 +#define GOTCMND 2 +#define GOTREGEX 3 +#define STARTDEFS 4 +#define INDEFS 5 +#define INSTR 6 +#define WANTDIGEST 7 +#define GOTINC 8 +#define EXPECTPATH 9 + +#ifndef YY_NO_UNISTD_H +/* Special case for "unistd.h", since it is non-ANSI. We include it way + * down here because we want the user's section 1 to have been scanned first. + * The user has a chance to override it with an option. + */ +#include +#endif + +#ifndef YY_EXTRA_TYPE +#define YY_EXTRA_TYPE void * +#endif + +static int yy_init_globals (void ); + +/* Accessor methods to globals. + These are made visible to non-reentrant scanners for convenience. */ + +int sudoerslex_destroy (void ); + +int sudoersget_debug (void ); + +void sudoersset_debug (int debug_flag ); + +YY_EXTRA_TYPE sudoersget_extra (void ); + +void sudoersset_extra (YY_EXTRA_TYPE user_defined ); + +FILE *sudoersget_in (void ); + +void sudoersset_in (FILE * in_str ); + +FILE *sudoersget_out (void ); + +void sudoersset_out (FILE * out_str ); + +yy_size_t sudoersget_leng (void ); + +char *sudoersget_text (void ); + +int sudoersget_lineno (void ); + +void sudoersset_lineno (int line_number ); + +/* Macros after this point can all be overridden by user definitions in + * section 1. + */ + +#ifndef YY_SKIP_YYWRAP +#ifdef __cplusplus +extern "C" int sudoerswrap (void ); +#else +extern int sudoerswrap (void ); +#endif +#endif + +#ifndef yytext_ptr +static void yy_flex_strncpy (char *,yyconst char *,int ); +#endif + +#ifdef YY_NEED_STRLEN +static int yy_flex_strlen (yyconst char * ); +#endif + +#ifndef YY_NO_INPUT + +#ifdef __cplusplus +static int yyinput (void ); +#else +static int input (void ); +#endif + +#endif + +/* Amount of stuff to slurp up with each read. */ +#ifndef YY_READ_BUF_SIZE +#define YY_READ_BUF_SIZE 8192 +#endif + +/* Copy whatever the last rule matched to the standard output. */ +#ifndef ECHO +/* This used to be an fputs(), but since the string might contain NUL's, + * we now use fwrite(). + */ +#define ECHO do { if (fwrite( sudoerstext, sudoersleng, 1, sudoersout )) {} } while (0) +#endif + +/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, + * is returned in "result". + */ +#ifndef YY_INPUT +#define YY_INPUT(buf,result,max_size) \ + if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ + { \ + int c = '*'; \ + size_t n; \ + for ( n = 0; n < max_size && \ + (c = getc( sudoersin )) != EOF && c != '\n'; ++n ) \ + buf[n] = (char) c; \ + if ( c == '\n' ) \ + buf[n++] = (char) c; \ + if ( c == EOF && ferror( sudoersin ) ) \ + YY_FATAL_ERROR( "input in flex scanner failed" ); \ + result = n; \ + } \ + else \ + { \ + errno=0; \ + while ( (result = fread(buf, 1, max_size, sudoersin))==0 && ferror(sudoersin)) \ + { \ + if( errno != EINTR) \ + { \ + YY_FATAL_ERROR( "input in flex scanner failed" ); \ + break; \ + } \ + errno=0; \ + clearerr(sudoersin); \ + } \ + }\ +\ + +#endif + +/* No semi-colon after return; correct usage is to write "yyterminate();" - + * we don't want an extra ';' after the "return" because that will cause + * some compilers to complain about unreachable statements. + */ +#ifndef yyterminate +#define yyterminate() return YY_NULL +#endif + +/* Number of entries by which start-condition stack grows. */ +#ifndef YY_START_STACK_INCR +#define YY_START_STACK_INCR 25 +#endif + +/* Report a fatal error. */ +#ifndef YY_FATAL_ERROR +#define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) +#endif + +/* end tables serialization structures and prototypes */ + +/* Default declaration of generated scanner - a define so the user can + * easily add parameters. + */ +#ifndef YY_DECL +#define YY_DECL_IS_OURS 1 + +extern int sudoerslex (void); + +#define YY_DECL int sudoerslex (void) +#endif /* !YY_DECL */ + +/* Code executed at the beginning of each rule, after sudoerstext and sudoersleng + * have been set up. + */ +#ifndef YY_USER_ACTION +#define YY_USER_ACTION +#endif + +/* Code executed at the end of each rule. */ +#ifndef YY_BREAK +#define YY_BREAK break; +#endif + +#define YY_RULE_SETUP \ + if ( sudoersleng > 0 ) \ + YY_CURRENT_BUFFER_LVALUE->yy_at_bol = \ + (sudoerstext[sudoersleng - 1] == '\n'); \ + YY_USER_ACTION + +/** The main scanner function which does all the work. + */ +YY_DECL +{ + yy_state_type yy_current_state; + char *yy_cp, *yy_bp; + int yy_act; + + if ( !(yy_init) ) + { + (yy_init) = 1; + +#ifdef YY_USER_INIT + YY_USER_INIT; +#endif + + if ( ! (yy_start) ) + (yy_start) = 1; /* first start state */ + + if ( ! sudoersin ) { + sudoersin = stdin; + } + + if ( ! sudoersout ) { + sudoersout = stdout; + } + + if ( ! YY_CURRENT_BUFFER ) { + sudoersensure_buffer_stack (); + YY_CURRENT_BUFFER_LVALUE = + sudoers_create_buffer(sudoersin,YY_BUF_SIZE ); + } + + sudoers_load_buffer_state( ); + } + + { +#line 124 "toke.l" + +#line 3356 "toke.c" + + while ( 1 ) /* loops until end-of-file is reached */ + { + yy_cp = (yy_c_buf_p); + + /* Support of sudoerstext. */ + *yy_cp = (yy_hold_char); + + /* yy_bp points to the position in yy_ch_buf of the start of + * the current run. + */ + yy_bp = yy_cp; + + yy_current_state = (yy_start); + yy_current_state += YY_AT_BOL(); +yy_match: + do + { + YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ; + if ( yy_accept[yy_current_state] ) + { + (yy_last_accepting_state) = yy_current_state; + (yy_last_accepting_cpos) = yy_cp; + } + while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) + { + yy_current_state = (int) yy_def[yy_current_state]; + if ( yy_current_state >= 1242 ) + yy_c = yy_meta[(unsigned int) yy_c]; + } + yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; + ++yy_cp; + } + while ( yy_base[yy_current_state] != 9534 ); + +yy_find_action: + yy_act = yy_accept[yy_current_state]; + if ( yy_act == 0 ) + { /* have to back up */ + yy_cp = (yy_last_accepting_cpos); + yy_current_state = (yy_last_accepting_state); + yy_act = yy_accept[yy_current_state]; + } + + YY_DO_BEFORE_ACTION; + +do_action: /* This label is used only to access EOF actions. */ + + switch ( yy_act ) + { /* beginning of action switch */ + case 0: /* must back up */ + /* undo the effects of YY_DO_BEFORE_ACTION */ + *yy_cp = (yy_hold_char); + yy_cp = (yy_last_accepting_cpos); + yy_current_state = (yy_last_accepting_state); + goto yy_find_action; + +case 1: +YY_RULE_SETUP +#line 125 "toke.l" +{ + LEXTRACE(", "); + return ','; + } /* return ',' */ + YY_BREAK +case 2: +YY_RULE_SETUP +#line 130 "toke.l" +BEGIN STARTDEFS; + YY_BREAK +case 3: +YY_RULE_SETUP +#line 132 "toke.l" +{ + BEGIN INDEFS; + LEXTRACE("DEFVAR "); + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + return DEFVAR; + } + YY_BREAK + +case 4: +YY_RULE_SETUP +#line 141 "toke.l" +{ + BEGIN STARTDEFS; + LEXTRACE(", "); + return ','; + } /* return ',' */ + YY_BREAK +case 5: +YY_RULE_SETUP +#line 147 "toke.l" +{ + LEXTRACE("= "); + return '='; + } /* return '=' */ + YY_BREAK +case 6: +YY_RULE_SETUP +#line 152 "toke.l" +{ + LEXTRACE("+= "); + return '+'; + } /* return '+' */ + YY_BREAK +case 7: +YY_RULE_SETUP +#line 157 "toke.l" +{ + LEXTRACE("-= "); + return '-'; + } /* return '-' */ + YY_BREAK +case 8: +YY_RULE_SETUP +#line 162 "toke.l" +{ + LEXTRACE("BEGINSTR "); + sudoerslval.string = NULL; + prev_state = YY_START; + BEGIN INSTR; + } + YY_BREAK +case 9: +YY_RULE_SETUP +#line 169 "toke.l" +{ + LEXTRACE("WORD(2) "); + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + return WORD; + } + YY_BREAK + + +case 10: +/* rule 10 can match eol */ +YY_RULE_SETUP +#line 178 "toke.l" +{ + /* Line continuation char followed by newline. */ + sudolineno++; + continued = true; + } + YY_BREAK +case 11: +YY_RULE_SETUP +#line 184 "toke.l" +{ + LEXTRACE("ENDSTR "); + BEGIN prev_state; + + if (sudoerslval.string == NULL) { + sudoers_errstr = N_("empty string"); + LEXTRACE("ERROR "); + return ERROR; + } + if (prev_state == INITIAL || prev_state == GOTDEFS) { + switch (sudoerslval.string[0]) { + case '%': + if (sudoerslval.string[1] == '\0' || + (sudoerslval.string[1] == ':' && + sudoerslval.string[2] == '\0')) { + parser_leak_remove(LEAK_PTR, sudoerslval.string); + free(sudoerslval.string); + sudoers_errstr = N_("empty group"); + LEXTRACE("ERROR "); + return ERROR; + } + LEXTRACE("USERGROUP "); + return USERGROUP; + case '+': + if (sudoerslval.string[1] == '\0') { + parser_leak_remove(LEAK_PTR, sudoerslval.string); + free(sudoerslval.string); + sudoers_errstr = N_("empty netgroup"); + LEXTRACE("ERROR "); + return ERROR; + } + LEXTRACE("NETGROUP "); + return NETGROUP; + } + } + LEXTRACE("WORD(4) "); + return WORD; + } + YY_BREAK +case 12: +YY_RULE_SETUP +#line 223 "toke.l" +{ + LEXTRACE("BACKSLASH "); + if (!append(sudoerstext, sudoersleng)) + yyterminate(); + } + YY_BREAK +case 13: +YY_RULE_SETUP +#line 229 "toke.l" +{ + LEXTRACE("STRBODY "); + if (!append(sudoerstext, sudoersleng)) + yyterminate(); + } + YY_BREAK + + +case 14: +YY_RULE_SETUP +#line 237 "toke.l" +{ + /* quoted fnmatch glob char, pass verbatim */ + LEXTRACE("QUOTEDCHAR "); + if (!fill_args(sudoerstext, 2, sawspace)) + yyterminate(); + sawspace = false; + } + YY_BREAK +case 15: +YY_RULE_SETUP +#line 245 "toke.l" +{ + /* quoted sudoers special char, strip backslash */ + LEXTRACE("QUOTEDCHAR "); + if (!fill_args(sudoerstext + 1, 1, sawspace)) + yyterminate(); + sawspace = false; + } + YY_BREAK +case 16: +/* rule 16 can match eol */ +YY_RULE_SETUP +#line 253 "toke.l" +{ + BEGIN INITIAL; + sudoersless(0); + yy_set_bol(0); + return COMMAND; + } /* end of command line args */ + YY_BREAK +case 17: +YY_RULE_SETUP +#line 260 "toke.l" +{ + if (sudoerslval.command.args == NULL && sudoerstext[0] == '^') { + LEXTRACE("ARG REGEX "); + BEGIN GOTREGEX; + sudoersless(0); + yy_set_bol(0); + } else { + LEXTRACE("ARG "); + if (!fill_args(sudoerstext, sudoersleng, sawspace)) + yyterminate(); + sawspace = false; + } + } /* a command line arg */ + YY_BREAK + + +case 18: +YY_RULE_SETUP +#line 276 "toke.l" +{ + /* quoted character, pass verbatim */ + LEXTRACE("QUOTEDCHAR "); + if (!fill_args(sudoerstext, 2, false)) + yyterminate(); + } + YY_BREAK +case 19: +/* rule 19 can match eol */ +YY_RULE_SETUP +#line 283 "toke.l" +{ + /* Let the parser attempt to recover. */ + sudoersless(0); + yy_set_bol(0); + BEGIN INITIAL; + + sudoers_errstr = N_("unterminated regular expression"); + LEXTRACE("ERROR "); + return ERROR; + } /* illegal inside regex */ + YY_BREAK +case 20: +YY_RULE_SETUP +#line 294 "toke.l" +{ + if (!fill_args("$", 1, false)) + yyterminate(); + BEGIN INITIAL; + continued = false; + if (sudoers_strict) { + if (!sudo_regex_compile(NULL, sudoerstext, &sudoers_errstr)) { + LEXTRACE("ERROR "); + return ERROR; + } + } + return COMMAND; + } + YY_BREAK +case 21: +YY_RULE_SETUP +#line 308 "toke.l" +{ + if (continued) { + /* remove whitespace after line continuation */ + while (isblank((unsigned char)*sudoerstext)) { + sudoerstext++; + sudoersleng--; + } + continued = false; + } + if (sudoersleng != 0) { + if (!fill_args(sudoerstext, sudoersleng, false)) + yyterminate(); + } + } + YY_BREAK + +case 22: +YY_RULE_SETUP +#line 324 "toke.l" +{ + /* Only return DIGEST if the length is correct. */ + yy_size_t digest_len = + sudo_digest_getlen(digest_type); + if ((yy_size_t)sudoersleng == digest_len * 2) { + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + BEGIN INITIAL; + LEXTRACE("DIGEST "); + return DIGEST; + } + BEGIN INITIAL; + sudoersless(sudoersleng); + } /* hex digest */ + YY_BREAK +case 23: +YY_RULE_SETUP +#line 339 "toke.l" +{ + /* Only return DIGEST if the length is correct. */ + yy_size_t len, digest_len = + sudo_digest_getlen(digest_type); + if (sudoerstext[sudoersleng - 1] == '=') { + /* use padding */ + len = 4 * ((digest_len + 2) / 3); + } else { + /* no padding */ + len = (4 * digest_len + 2) / 3; + } + if ((yy_size_t)sudoersleng == len) { + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + BEGIN INITIAL; + LEXTRACE("DIGEST "); + return DIGEST; + } + BEGIN INITIAL; + sudoersless(sudoersleng); + } /* base64 digest */ + YY_BREAK +case 24: +YY_RULE_SETUP +#line 361 "toke.l" +{ + if (continued) { + sudoers_errstr = N_("invalid line continuation"); + LEXTRACE("ERROR "); + return ERROR; + } + + BEGIN GOTINC; + LEXTRACE("INCLUDE "); + return INCLUDE; + } + YY_BREAK +case 25: +YY_RULE_SETUP +#line 373 "toke.l" +{ + if (continued) { + sudoers_errstr = N_("invalid line continuation"); + LEXTRACE("ERROR "); + return ERROR; + } + + BEGIN GOTINC; + LEXTRACE("INCLUDEDIR "); + return INCLUDEDIR; + } + YY_BREAK +case 26: +/* rule 26 can match eol */ +YY_RULE_SETUP +#line 385 "toke.l" +{ + if (continued) { + sudoers_errstr = N_("invalid line continuation"); + LEXTRACE("ERROR "); + return ERROR; + } + + /* only consume #include */ + sudoersless(sizeof("#include") - 1); + yy_set_bol(0); + + BEGIN GOTINC; + LEXTRACE("INCLUDE "); + return INCLUDE; + } + YY_BREAK +case 27: +/* rule 27 can match eol */ +YY_RULE_SETUP +#line 401 "toke.l" +{ + if (continued) { + sudoers_errstr = N_("invalid line continuation"); + LEXTRACE("ERROR "); + return ERROR; + } + + /* only consume #includedir */ + sudoersless(sizeof("#includedir") - 1); + yy_set_bol(0); + + BEGIN GOTINC; + LEXTRACE("INCLUDEDIR "); + return INCLUDEDIR; + } + YY_BREAK +case 28: +YY_RULE_SETUP +#line 417 "toke.l" +{ + char deftype; + int n; + + if (continued) { + sudoers_errstr = N_("invalid line continuation"); + LEXTRACE("ERROR "); + return ERROR; + } + + for (n = 0; isblank((unsigned char)sudoerstext[n]); n++) + continue; + n += sizeof("Defaults") - 1; + if ((deftype = sudoerstext[n++]) != '\0') { + while (isblank((unsigned char)sudoerstext[n])) + n++; + } + BEGIN GOTDEFS; + switch (deftype) { + case ':': + sudoersless(n); + LEXTRACE("DEFAULTS_USER "); + return DEFAULTS_USER; + case '>': + sudoersless(n); + LEXTRACE("DEFAULTS_RUNAS "); + return DEFAULTS_RUNAS; + case '@': + sudoersless(n); + LEXTRACE("DEFAULTS_HOST "); + return DEFAULTS_HOST; + case '!': + sudoersless(n); + LEXTRACE("DEFAULTS_CMND "); + return DEFAULTS_CMND; + default: + LEXTRACE("DEFAULTS "); + return DEFAULTS; + } + } + YY_BREAK +case 29: +YY_RULE_SETUP +#line 458 "toke.l" +{ + int n; + + if (continued) { + sudoers_errstr = N_("invalid line continuation"); + LEXTRACE("ERROR "); + return ERROR; + } + + for (n = 0; isblank((unsigned char)sudoerstext[n]); n++) + continue; + switch (sudoerstext[n]) { + case 'H': + LEXTRACE("HOSTALIAS "); + return HOSTALIAS; + case 'C': + LEXTRACE("CMNDALIAS "); + return CMNDALIAS; + case 'U': + LEXTRACE("USERALIAS "); + return USERALIAS; + case 'R': + LEXTRACE("RUNASALIAS "); + return RUNASALIAS; + } + } + YY_BREAK +case 30: +YY_RULE_SETUP +#line 485 "toke.l" +{ + /* cmnd does not require passwd for this user */ + LEXTRACE("NOPASSWD "); + return NOPASSWD; + } + YY_BREAK +case 31: +YY_RULE_SETUP +#line 491 "toke.l" +{ + /* cmnd requires passwd for this user */ + LEXTRACE("PASSWD "); + return PASSWD; + } + YY_BREAK +case 32: +YY_RULE_SETUP +#line 497 "toke.l" +{ + LEXTRACE("NOEXEC "); + return NOEXEC; + } + YY_BREAK +case 33: +YY_RULE_SETUP +#line 502 "toke.l" +{ + LEXTRACE("EXEC "); + return EXEC; + } + YY_BREAK +case 34: +YY_RULE_SETUP +#line 507 "toke.l" +{ + LEXTRACE("INTERCEPT "); + return INTERCEPT; + } + YY_BREAK +case 35: +YY_RULE_SETUP +#line 512 "toke.l" +{ + LEXTRACE("NOINTERCEPT "); + return NOINTERCEPT; + } + YY_BREAK +case 36: +YY_RULE_SETUP +#line 517 "toke.l" +{ + LEXTRACE("SETENV "); + return SETENV; + } + YY_BREAK +case 37: +YY_RULE_SETUP +#line 522 "toke.l" +{ + LEXTRACE("NOSETENV "); + return NOSETENV; + } + YY_BREAK +case 38: +YY_RULE_SETUP +#line 527 "toke.l" +{ + LEXTRACE("LOG_OUTPUT "); + return LOG_OUTPUT; + } + YY_BREAK +case 39: +YY_RULE_SETUP +#line 532 "toke.l" +{ + LEXTRACE("NOLOG_OUTPUT "); + return NOLOG_OUTPUT; + } + YY_BREAK +case 40: +YY_RULE_SETUP +#line 537 "toke.l" +{ + LEXTRACE("LOG_INPUT "); + return LOG_INPUT; + } + YY_BREAK +case 41: +YY_RULE_SETUP +#line 542 "toke.l" +{ + LEXTRACE("NOLOG_INPUT "); + return NOLOG_INPUT; + } + YY_BREAK +case 42: +YY_RULE_SETUP +#line 547 "toke.l" +{ + LEXTRACE("MAIL "); + return MAIL; + } + YY_BREAK +case 43: +YY_RULE_SETUP +#line 552 "toke.l" +{ + LEXTRACE("NOMAIL "); + return NOMAIL; + } + YY_BREAK +case 44: +YY_RULE_SETUP +#line 557 "toke.l" +{ + LEXTRACE("FOLLOW "); + return FOLLOWLNK; + } + YY_BREAK +case 45: +YY_RULE_SETUP +#line 562 "toke.l" +{ + LEXTRACE("NOFOLLOW "); + return NOFOLLOWLNK; + } + YY_BREAK +case 46: +YY_RULE_SETUP +#line 567 "toke.l" +{ + if (sudoerstext[0] == '+') + sudoers_errstr = N_("empty netgroup"); + else + sudoers_errstr = N_("empty group"); + LEXTRACE("ERROR "); + return ERROR; + } + YY_BREAK +case 47: +YY_RULE_SETUP +#line 576 "toke.l" +{ + /* netgroup */ + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + LEXTRACE("NETGROUP "); + return NETGROUP; + } + YY_BREAK +case 48: +YY_RULE_SETUP +#line 584 "toke.l" +{ + /* group */ + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + LEXTRACE("USERGROUP "); + return USERGROUP; + } + YY_BREAK +case 49: +YY_RULE_SETUP +#line 592 "toke.l" +{ + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + LEXTRACE("NTWKADDR "); + return NTWKADDR; + } + YY_BREAK +case 50: +YY_RULE_SETUP +#line 599 "toke.l" +{ + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + LEXTRACE("NTWKADDR "); + return NTWKADDR; + } + YY_BREAK +case 51: +YY_RULE_SETUP +#line 606 "toke.l" +{ + if (!ipv6_valid(sudoerstext)) { + sudoers_errstr = N_("invalid IPv6 address"); + LEXTRACE("ERROR "); + return ERROR; + } + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + LEXTRACE("NTWKADDR "); + return NTWKADDR; + } + YY_BREAK +case 52: +YY_RULE_SETUP +#line 618 "toke.l" +{ + if (!ipv6_valid(sudoerstext)) { + sudoers_errstr = N_("invalid IPv6 address"); + LEXTRACE("ERROR "); + return ERROR; + } + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + LEXTRACE("NTWKADDR "); + return NTWKADDR; + } + YY_BREAK +case 53: +YY_RULE_SETUP +#line 630 "toke.l" +{ + LEXTRACE("ALL "); + return ALL; + + } + YY_BREAK +case 54: +YY_RULE_SETUP +#line 636 "toke.l" +{ + LEXTRACE("CMND_TIMEOUT "); + return CMND_TIMEOUT; + } + YY_BREAK +case 55: +YY_RULE_SETUP +#line 641 "toke.l" +{ + LEXTRACE("NOTBEFORE "); + return NOTBEFORE; + } + YY_BREAK +case 56: +YY_RULE_SETUP +#line 646 "toke.l" +{ + LEXTRACE("NOTAFTER "); + return NOTAFTER; + } + YY_BREAK +case 57: +YY_RULE_SETUP +#line 651 "toke.l" +{ + LEXTRACE("CWD "); + prev_state = YY_START; + BEGIN EXPECTPATH; + return CWD; + } + YY_BREAK +case 58: +YY_RULE_SETUP +#line 658 "toke.l" +{ + LEXTRACE("CHROOT "); + prev_state = YY_START; + BEGIN EXPECTPATH; + return CHROOT; + } + YY_BREAK +case 59: +YY_RULE_SETUP +#line 665 "toke.l" +{ +#ifdef HAVE_SELINUX + LEXTRACE("ROLE "); + return ROLE; +#else + goto got_alias; +#endif + } + YY_BREAK +case 60: +YY_RULE_SETUP +#line 674 "toke.l" +{ +#ifdef HAVE_SELINUX + LEXTRACE("TYPE "); + return TYPE; +#else + goto got_alias; +#endif + } + YY_BREAK +case 61: +YY_RULE_SETUP +#line 682 "toke.l" +{ +#ifdef HAVE_APPARMOR + LEXTRACE("APPARMOR_PROFILE "); + return APPARMOR_PROFILE; +#else + goto got_alias; +#endif + } + YY_BREAK +case 62: +YY_RULE_SETUP +#line 690 "toke.l" +{ +#ifdef HAVE_PRIV_SET + LEXTRACE("PRIVS "); + return PRIVS; +#else + goto got_alias; +#endif + } + YY_BREAK +case 63: +YY_RULE_SETUP +#line 699 "toke.l" +{ +#ifdef HAVE_PRIV_SET + LEXTRACE("LIMITPRIVS "); + return LIMITPRIVS; +#else + goto got_alias; +#endif + } + YY_BREAK +case 64: +YY_RULE_SETUP +#line 708 "toke.l" +{ + got_alias: + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + LEXTRACE("ALIAS "); + return ALIAS; + } + YY_BREAK +case 65: +YY_RULE_SETUP +#line 716 "toke.l" +{ + /* XXX - no way to specify digest for command */ + /* no command args allowed for Defaults!/path */ + if (!fill_cmnd(sudoerstext, sudoersleng)) + yyterminate(); + LEXTRACE("COMMAND "); + return COMMAND; + } + YY_BREAK +case 66: +YY_RULE_SETUP +#line 725 "toke.l" +{ + digest_type = SUDO_DIGEST_SHA224; + BEGIN WANTDIGEST; + LEXTRACE("SHA224_TOK "); + return SHA224_TOK; + } + YY_BREAK +case 67: +YY_RULE_SETUP +#line 732 "toke.l" +{ + digest_type = SUDO_DIGEST_SHA256; + BEGIN WANTDIGEST; + LEXTRACE("SHA256_TOK "); + return SHA256_TOK; + } + YY_BREAK +case 68: +YY_RULE_SETUP +#line 739 "toke.l" +{ + digest_type = SUDO_DIGEST_SHA384; + BEGIN WANTDIGEST; + LEXTRACE("SHA384_TOK "); + return SHA384_TOK; + } + YY_BREAK +case 69: +YY_RULE_SETUP +#line 746 "toke.l" +{ + digest_type = SUDO_DIGEST_SHA512; + BEGIN WANTDIGEST; + LEXTRACE("SHA512_TOK "); + return SHA512_TOK; + } + YY_BREAK +case 70: +YY_RULE_SETUP +#line 753 "toke.l" +{ + BEGIN GOTCMND; + LEXTRACE("COMMAND "); + if (!fill_cmnd(sudoerstext, sudoersleng)) + yyterminate(); + } /* sudo -e */ + YY_BREAK +case 71: +YY_RULE_SETUP +#line 760 "toke.l" +{ + BEGIN prev_state; + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + LEXTRACE("WORD(5) "); + return WORD; + } + YY_BREAK +case 72: +YY_RULE_SETUP +#line 768 "toke.l" +{ + /* directories can't have args... */ + if (sudoerstext[sudoersleng - 1] == '/') { + LEXTRACE("COMMAND "); + if (!fill_cmnd(sudoerstext, sudoersleng)) + yyterminate(); + return COMMAND; + } + BEGIN GOTCMND; + LEXTRACE("COMMAND "); + if (!fill_cmnd(sudoerstext, sudoersleng)) + yyterminate(); + } /* a pathname */ + YY_BREAK +case 73: +YY_RULE_SETUP +#line 782 "toke.l" +{ + if (sudoers_strict) { + if (!sudo_regex_compile(NULL, sudoerstext, &sudoers_errstr)) { + LEXTRACE("ERROR "); + return ERROR; + } + } + BEGIN GOTCMND; + LEXTRACE("COMMAND "); + if (!fill_cmnd(sudoerstext, sudoersleng)) + yyterminate(); + } /* a regex */ + YY_BREAK +case 74: +YY_RULE_SETUP +#line 795 "toke.l" +{ + LEXTRACE("BEGINSTR "); + sudoerslval.string = NULL; + prev_state = YY_START; + BEGIN INSTR; + } + YY_BREAK +case 75: +YY_RULE_SETUP +#line 802 "toke.l" +{ + /* a word */ + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + LEXTRACE("WORD(6) "); + return WORD; + } + YY_BREAK + +case 76: +YY_RULE_SETUP +#line 811 "toke.l" +{ + /* include file/directory */ + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + BEGIN INITIAL; + LEXTRACE("WORD(7) "); + return WORD; + } + YY_BREAK +case 77: +YY_RULE_SETUP +#line 820 "toke.l" +{ + LEXTRACE("BEGINSTR "); + sudoerslval.string = NULL; + prev_state = INITIAL; + BEGIN INSTR; + } + YY_BREAK + +case 78: +YY_RULE_SETUP +#line 828 "toke.l" +{ + LEXTRACE("( "); + return '('; + } + YY_BREAK +case 79: +YY_RULE_SETUP +#line 833 "toke.l" +{ + LEXTRACE(") "); + return ')'; + } + YY_BREAK +case 80: +YY_RULE_SETUP +#line 838 "toke.l" +{ + LEXTRACE(", "); + return ','; + } /* return ',' */ + YY_BREAK +case 81: +YY_RULE_SETUP +#line 843 "toke.l" +{ + LEXTRACE("= "); + return '='; + } /* return '=' */ + YY_BREAK +case 82: +YY_RULE_SETUP +#line 848 "toke.l" +{ + LEXTRACE(": "); + return ':'; + } /* return ':' */ + YY_BREAK +case 83: +YY_RULE_SETUP +#line 853 "toke.l" +{ + if (sudoersleng & 1) { + LEXTRACE("!"); + return '!'; /* return '!' */ + } + } + YY_BREAK +case 84: +/* rule 84 can match eol */ +YY_RULE_SETUP +#line 860 "toke.l" +{ + if (YY_START == INSTR) { + /* throw away old string */ + parser_leak_remove(LEAK_PTR, sudoerslval.string); + free(sudoerslval.string); + /* re-scan after changing state */ + BEGIN INITIAL; + sudoersless(0); + sudoers_errstr = N_("unexpected line break in string"); + LEXTRACE("ERROR "); + return ERROR; + } + BEGIN INITIAL; + sudolineno++; + continued = false; + LEXTRACE("\n"); + return '\n'; + } /* return newline */ + YY_BREAK +case 85: +YY_RULE_SETUP +#line 879 "toke.l" +{ /* throw away space/tabs */ + sawspace = true; /* but remember for fill_args */ + } + YY_BREAK +case 86: +/* rule 86 can match eol */ +YY_RULE_SETUP +#line 883 "toke.l" +{ + sawspace = true; /* remember for fill_args */ + sudolineno++; + continued = true; + } /* throw away EOL after \ */ + YY_BREAK +case 87: +/* rule 87 can match eol */ +YY_RULE_SETUP +#line 889 "toke.l" +{ + if (sudoerstext[sudoersleng - 1] == '\n') { + /* comment ending in a newline */ + BEGIN INITIAL; + sudolineno++; + continued = false; + } else if (!feof(sudoersin)) { + sudoers_errstr = strerror(errno); + LEXTRACE("ERROR "); + return ERROR; + } + LEXTRACE("#\n"); + return '\n'; + } /* comment, not uid/gid */ + YY_BREAK +case 88: +YY_RULE_SETUP +#line 904 "toke.l" +{ + LEXTRACE("NOMATCH "); + return NOMATCH; + } /* parse error, no matching token */ + YY_BREAK +case YY_STATE_EOF(INITIAL): +case YY_STATE_EOF(GOTDEFS): +case YY_STATE_EOF(GOTCMND): +case YY_STATE_EOF(GOTREGEX): +case YY_STATE_EOF(STARTDEFS): +case YY_STATE_EOF(INDEFS): +case YY_STATE_EOF(INSTR): +case YY_STATE_EOF(WANTDIGEST): +case YY_STATE_EOF(GOTINC): +case YY_STATE_EOF(EXPECTPATH): +#line 909 "toke.l" +{ + if (!pop_include()) + yyterminate(); + } + YY_BREAK +case 89: +YY_RULE_SETUP +#line 914 "toke.l" +ECHO; + YY_BREAK +#line 4493 "toke.c" + + case YY_END_OF_BUFFER: + { + /* Amount of text matched not including the EOB char. */ + int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1; + + /* Undo the effects of YY_DO_BEFORE_ACTION. */ + *yy_cp = (yy_hold_char); + YY_RESTORE_YY_MORE_OFFSET + + if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW ) + { + /* We're scanning a new file or input source. It's + * possible that this happened because the user + * just pointed sudoersin at a new source and called + * sudoerslex(). If so, then we have to assure + * consistency between YY_CURRENT_BUFFER and our + * globals. Here is the right place to do so, because + * this is the first action (other than possibly a + * back-up) that will match for the new input source. + */ + (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; + YY_CURRENT_BUFFER_LVALUE->yy_input_file = sudoersin; + YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; + } + + /* Note that here we test for yy_c_buf_p "<=" to the position + * of the first EOB in the buffer, since yy_c_buf_p will + * already have been incremented past the NUL character + * (since all states make transitions on EOB to the + * end-of-buffer state). Contrast this with the test + * in input(). + */ + if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) + { /* This was really a NUL. */ + yy_state_type yy_next_state; + + (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; + + yy_current_state = yy_get_previous_state( ); + + /* Okay, we're now positioned to make the NUL + * transition. We couldn't have + * yy_get_previous_state() go ahead and do it + * for us because it doesn't know how to deal + * with the possibility of jamming (and we don't + * want to build jamming into it because then it + * will run more slowly). + */ + + yy_next_state = yy_try_NUL_trans( yy_current_state ); + + yy_bp = (yytext_ptr) + YY_MORE_ADJ; + + if ( yy_next_state ) + { + /* Consume the NUL. */ + yy_cp = ++(yy_c_buf_p); + yy_current_state = yy_next_state; + goto yy_match; + } + + else + { + yy_cp = (yy_c_buf_p); + goto yy_find_action; + } + } + + else switch ( yy_get_next_buffer( ) ) + { + case EOB_ACT_END_OF_FILE: + { + (yy_did_buffer_switch_on_eof) = 0; + + if ( sudoerswrap( ) ) + { + /* Note: because we've taken care in + * yy_get_next_buffer() to have set up + * sudoerstext, we can now set up + * yy_c_buf_p so that if some total + * hoser (like flex itself) wants to + * call the scanner after we return the + * YY_NULL, it'll still work - another + * YY_NULL will get returned. + */ + (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ; + + yy_act = YY_STATE_EOF(YY_START); + goto do_action; + } + + else + { + if ( ! (yy_did_buffer_switch_on_eof) ) + YY_NEW_FILE; + } + break; + } + + case EOB_ACT_CONTINUE_SCAN: + (yy_c_buf_p) = + (yytext_ptr) + yy_amount_of_matched_text; + + yy_current_state = yy_get_previous_state( ); + + yy_cp = (yy_c_buf_p); + yy_bp = (yytext_ptr) + YY_MORE_ADJ; + goto yy_match; + + case EOB_ACT_LAST_MATCH: + (yy_c_buf_p) = + &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)]; + + yy_current_state = yy_get_previous_state( ); + + yy_cp = (yy_c_buf_p); + yy_bp = (yytext_ptr) + YY_MORE_ADJ; + goto yy_find_action; + } + break; + } + + default: + YY_FATAL_ERROR( + "fatal flex scanner internal error--no action found" ); + } /* end of action switch */ + } /* end of scanning one token */ + } /* end of user's declarations */ +} /* end of sudoerslex */ + +/* yy_get_next_buffer - try to read in a new buffer + * + * Returns a code representing an action: + * EOB_ACT_LAST_MATCH - + * EOB_ACT_CONTINUE_SCAN - continue scanning from current position + * EOB_ACT_END_OF_FILE - end of file + */ +static int yy_get_next_buffer (void) +{ + char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; + char *source = (yytext_ptr); + int number_to_move, i; + int ret_val; + + if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) + YY_FATAL_ERROR( + "fatal flex scanner internal error--end of buffer missed" ); + + if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 ) + { /* Don't try to fill the buffer, so this is an EOF. */ + if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 ) + { + /* We matched a single character, the EOB, so + * treat this as a final EOF. + */ + return EOB_ACT_END_OF_FILE; + } + + else + { + /* We matched some text prior to the EOB, first + * process it. + */ + return EOB_ACT_LAST_MATCH; + } + } + + /* Try to read more data. */ + + /* First move last chars to start of buffer. */ + number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1; + + for ( i = 0; i < number_to_move; ++i ) + *(dest++) = *(source++); + + if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING ) + /* don't do the read, it's not guaranteed to return an EOF, + * just force an EOF + */ + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0; + + else + { + yy_size_t num_to_read = + YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; + + while ( num_to_read <= 0 ) + { /* Not enough room in the buffer - grow it. */ + + /* just a shorter name for the current buffer */ + YY_BUFFER_STATE b = YY_CURRENT_BUFFER_LVALUE; + + int yy_c_buf_p_offset = + (int) ((yy_c_buf_p) - b->yy_ch_buf); + + if ( b->yy_is_our_buffer ) + { + yy_size_t new_size = b->yy_buf_size * 2; + + if ( new_size <= 0 ) + b->yy_buf_size += b->yy_buf_size / 8; + else + b->yy_buf_size *= 2; + + b->yy_ch_buf = (char *) + /* Include room in for 2 EOB chars. */ + sudoersrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ); + } + else + /* Can't grow it, we don't own it. */ + b->yy_ch_buf = 0; + + if ( ! b->yy_ch_buf ) + YY_FATAL_ERROR( + "fatal error - scanner input buffer overflow" ); + + (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset]; + + num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - + number_to_move - 1; + + } + + if ( num_to_read > YY_READ_BUF_SIZE ) + num_to_read = YY_READ_BUF_SIZE; + + /* Read in more data. */ + YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), + (yy_n_chars), num_to_read ); + + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); + } + + if ( (yy_n_chars) == 0 ) + { + if ( number_to_move == YY_MORE_ADJ ) + { + ret_val = EOB_ACT_END_OF_FILE; + sudoersrestart(sudoersin ); + } + + else + { + ret_val = EOB_ACT_LAST_MATCH; + YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = + YY_BUFFER_EOF_PENDING; + } + } + + else + ret_val = EOB_ACT_CONTINUE_SCAN; + + if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { + /* Extend the array by 50%, plus the number we really need. */ + yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); + YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) sudoersrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size ); + if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) + YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); + /* "- 2" to take care of EOB's */ + YY_CURRENT_BUFFER_LVALUE->yy_buf_size = (int) (new_size - 2); + } + + (yy_n_chars) += number_to_move; + YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR; + YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR; + + (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; + + return ret_val; +} + +/* yy_get_previous_state - get the state just before the EOB char was reached */ + + static yy_state_type yy_get_previous_state (void) +{ + yy_state_type yy_current_state; + char *yy_cp; + + yy_current_state = (yy_start); + yy_current_state += YY_AT_BOL(); + + for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) + { + YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); + if ( yy_accept[yy_current_state] ) + { + (yy_last_accepting_state) = yy_current_state; + (yy_last_accepting_cpos) = yy_cp; + } + while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) + { + yy_current_state = (int) yy_def[yy_current_state]; + if ( yy_current_state >= 1242 ) + yy_c = yy_meta[(unsigned int) yy_c]; + } + yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; + } + + return yy_current_state; +} + +/* yy_try_NUL_trans - try to make a transition on the NUL character + * + * synopsis + * next_state = yy_try_NUL_trans( current_state ); + */ + static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) +{ + int yy_is_jam; + char *yy_cp = (yy_c_buf_p); + + YY_CHAR yy_c = 1; + if ( yy_accept[yy_current_state] ) + { + (yy_last_accepting_state) = yy_current_state; + (yy_last_accepting_cpos) = yy_cp; + } + while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) + { + yy_current_state = (int) yy_def[yy_current_state]; + if ( yy_current_state >= 1242 ) + yy_c = yy_meta[(unsigned int) yy_c]; + } + yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; + yy_is_jam = (yy_current_state == 1241); + + return yy_is_jam ? 0 : yy_current_state; +} + +#ifndef YY_NO_INPUT +#ifdef __cplusplus + static int yyinput (void) +#else + static int input (void) +#endif + +{ + int c; + + *(yy_c_buf_p) = (yy_hold_char); + + if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR ) + { + /* yy_c_buf_p now points to the character we want to return. + * If this occurs *before* the EOB characters, then it's a + * valid NUL; if not, then we've hit the end of the buffer. + */ + if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) + /* This was really a NUL. */ + *(yy_c_buf_p) = '\0'; + + else + { /* need more input */ + yy_size_t offset = (yy_c_buf_p) - (yytext_ptr); + ++(yy_c_buf_p); + + switch ( yy_get_next_buffer( ) ) + { + case EOB_ACT_LAST_MATCH: + /* This happens because yy_g_n_b() + * sees that we've accumulated a + * token and flags that we need to + * try matching the token before + * proceeding. But for input(), + * there's no matching to consider. + * So convert the EOB_ACT_LAST_MATCH + * to EOB_ACT_END_OF_FILE. + */ + + /* Reset buffer status. */ + sudoersrestart(sudoersin ); + + FALLTHROUGH; + + case EOB_ACT_END_OF_FILE: + { + if ( sudoerswrap( ) ) + return EOF; + + if ( ! (yy_did_buffer_switch_on_eof) ) + YY_NEW_FILE; +#ifdef __cplusplus + return yyinput(); +#else + return input(); +#endif + } + + case EOB_ACT_CONTINUE_SCAN: + (yy_c_buf_p) = (yytext_ptr) + offset; + break; + } + } + } + + c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ + *(yy_c_buf_p) = '\0'; /* preserve sudoerstext */ + (yy_hold_char) = *++(yy_c_buf_p); + + YY_CURRENT_BUFFER_LVALUE->yy_at_bol = (c == '\n'); + + return c; +} +#endif /* ifndef YY_NO_INPUT */ + +/** Immediately switch to a different input stream. + * @param input_file A readable stream. + * + * @note This function does not reset the start condition to @c INITIAL . + */ + void sudoersrestart (FILE * input_file ) +{ + + if ( ! YY_CURRENT_BUFFER ){ + sudoersensure_buffer_stack (); + YY_CURRENT_BUFFER_LVALUE = + sudoers_create_buffer(sudoersin,YY_BUF_SIZE ); + } + + sudoers_init_buffer(YY_CURRENT_BUFFER,input_file ); + sudoers_load_buffer_state( ); +} + +/** Switch to a different input buffer. + * @param new_buffer The new input buffer. + * + */ + void sudoers_switch_to_buffer (YY_BUFFER_STATE new_buffer ) +{ + + /* TODO. We should be able to replace this entire function body + * with + * sudoerspop_buffer_state(); + * sudoerspush_buffer_state(new_buffer); + */ + sudoersensure_buffer_stack (); + if ( YY_CURRENT_BUFFER == new_buffer ) + return; + + if ( YY_CURRENT_BUFFER ) + { + /* Flush out information for old buffer. */ + *(yy_c_buf_p) = (yy_hold_char); + YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); + } + + YY_CURRENT_BUFFER_LVALUE = new_buffer; + sudoers_load_buffer_state( ); + + /* We don't actually know whether we did this switch during + * EOF (sudoerswrap()) processing, but the only time this flag + * is looked at is after sudoerswrap() is called, so it's safe + * to go ahead and always set it. + */ + (yy_did_buffer_switch_on_eof) = 1; +} + +static void sudoers_load_buffer_state (void) +{ + (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; + (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; + sudoersin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; + (yy_hold_char) = *(yy_c_buf_p); +} + +/** Allocate and initialize an input buffer state. + * @param file A readable stream. + * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. + * + * @return the allocated buffer state. + */ + YY_BUFFER_STATE sudoers_create_buffer (FILE * file, int size ) +{ + YY_BUFFER_STATE b; + + b = (YY_BUFFER_STATE) sudoersalloc(sizeof( struct yy_buffer_state ) ); + if ( ! b ) + YY_FATAL_ERROR( "out of dynamic memory in sudoers_create_buffer()" ); + + b->yy_buf_size = size; + + /* yy_ch_buf has to be 2 characters longer than the size given because + * we need to put in 2 end-of-buffer characters. + */ + b->yy_ch_buf = (char *) sudoersalloc(b->yy_buf_size + 2 ); + if ( ! b->yy_ch_buf ) + YY_FATAL_ERROR( "out of dynamic memory in sudoers_create_buffer()" ); + + b->yy_is_our_buffer = 1; + + sudoers_init_buffer(b,file ); + + return b; +} + +/** Destroy the buffer. + * @param b a buffer created with sudoers_create_buffer() + * + */ + void sudoers_delete_buffer (YY_BUFFER_STATE b ) +{ + + if ( ! b ) + return; + + if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ + YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; + + if ( b->yy_is_our_buffer ) + sudoersfree((void *) b->yy_ch_buf ); + + sudoersfree((void *) b ); +} + +/* Initializes or reinitializes a buffer. + * This function is sometimes called more than once on the same buffer, + * such as during a sudoersrestart() or at EOF. + */ + static void sudoers_init_buffer (YY_BUFFER_STATE b, FILE * file ) + +{ + int oerrno = errno; + + sudoers_flush_buffer(b ); + + b->yy_input_file = file; + b->yy_fill_buffer = 1; + + /* If b is the current buffer, then sudoers_init_buffer was _probably_ + * called from sudoersrestart() or through yy_get_next_buffer. + * In that case, we don't want to reset the lineno or column. + */ + if (b != YY_CURRENT_BUFFER){ + b->yy_bs_lineno = 1; + b->yy_bs_column = 0; + } + + b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; + + errno = oerrno; +} + +/** Discard all buffered characters. On the next scan, YY_INPUT will be called. + * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. + * + */ + void sudoers_flush_buffer (YY_BUFFER_STATE b ) +{ + if ( ! b ) + return; + + b->yy_n_chars = 0; + + /* We always need two end-of-buffer characters. The first causes + * a transition to the end-of-buffer state. The second causes + * a jam in that state. + */ + b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; + b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; + + b->yy_buf_pos = &b->yy_ch_buf[0]; + + b->yy_at_bol = 1; + b->yy_buffer_status = YY_BUFFER_NEW; + + if ( b == YY_CURRENT_BUFFER ) + sudoers_load_buffer_state( ); +} + +/** Pushes the new state onto the stack. The new state becomes + * the current state. This function will allocate the stack + * if necessary. + * @param new_buffer The new state. + * + */ +void sudoerspush_buffer_state (YY_BUFFER_STATE new_buffer ) +{ + if (new_buffer == NULL) + return; + + sudoersensure_buffer_stack(); + + /* This block is copied from sudoers_switch_to_buffer. */ + if ( YY_CURRENT_BUFFER ) + { + /* Flush out information for old buffer. */ + *(yy_c_buf_p) = (yy_hold_char); + YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); + } + + /* Only push if top exists. Otherwise, replace top. */ + if (YY_CURRENT_BUFFER) + (yy_buffer_stack_top)++; + YY_CURRENT_BUFFER_LVALUE = new_buffer; + + /* copied from sudoers_switch_to_buffer. */ + sudoers_load_buffer_state( ); + (yy_did_buffer_switch_on_eof) = 1; +} + +/** Removes and deletes the top of the stack, if present. + * The next element becomes the new top. + * + */ +void sudoerspop_buffer_state (void) +{ + if (!YY_CURRENT_BUFFER) + return; + + sudoers_delete_buffer(YY_CURRENT_BUFFER ); + YY_CURRENT_BUFFER_LVALUE = NULL; + if ((yy_buffer_stack_top) > 0) + --(yy_buffer_stack_top); + + if (YY_CURRENT_BUFFER) { + sudoers_load_buffer_state( ); + (yy_did_buffer_switch_on_eof) = 1; + } +} + +/* Allocates the stack if it does not exist. + * Guarantees space for at least one push. + */ +static void sudoersensure_buffer_stack (void) +{ + yy_size_t num_to_alloc; + + if (!(yy_buffer_stack)) { + + /* First allocation is just for 2 elements, since we don't know if this + * scanner will even need a stack. We use 2 instead of 1 to avoid an + * immediate realloc on the next call. + */ + num_to_alloc = 1; + (yy_buffer_stack) = (struct yy_buffer_state**)sudoersalloc + (num_to_alloc * sizeof(struct yy_buffer_state*) + ); + if ( ! (yy_buffer_stack) ) + YY_FATAL_ERROR( "out of dynamic memory in sudoersensure_buffer_stack()" ); + + memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); + + (yy_buffer_stack_max) = num_to_alloc; + (yy_buffer_stack_top) = 0; + return; + } + + if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ + + /* Increase the buffer to prepare for a possible push. */ + int grow_size = 8 /* arbitrary grow size */; + + num_to_alloc = (yy_buffer_stack_max) + grow_size; + (yy_buffer_stack) = (struct yy_buffer_state**)sudoersrealloc + ((yy_buffer_stack), + num_to_alloc * sizeof(struct yy_buffer_state*) + ); + if ( ! (yy_buffer_stack) ) + YY_FATAL_ERROR( "out of dynamic memory in sudoersensure_buffer_stack()" ); + + /* zero only the new slots.*/ + memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); + (yy_buffer_stack_max) = num_to_alloc; + } +} + +/** Setup the input buffer state to scan directly from a user-specified character buffer. + * @param base the character buffer + * @param size the size in bytes of the character buffer + * + * @return the newly allocated buffer state object. + */ +YY_BUFFER_STATE sudoers_scan_buffer (char * base, yy_size_t size ) +{ + YY_BUFFER_STATE b; + + if ( size < 2 || + base[size-2] != YY_END_OF_BUFFER_CHAR || + base[size-1] != YY_END_OF_BUFFER_CHAR ) + /* They forgot to leave room for the EOB's. */ + return 0; + + b = (YY_BUFFER_STATE) sudoersalloc(sizeof( struct yy_buffer_state ) ); + if ( ! b ) + YY_FATAL_ERROR( "out of dynamic memory in sudoers_scan_buffer()" ); + + b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ + b->yy_buf_pos = b->yy_ch_buf = base; + b->yy_is_our_buffer = 0; + b->yy_input_file = 0; + b->yy_n_chars = b->yy_buf_size; + b->yy_is_interactive = 0; + b->yy_at_bol = 1; + b->yy_fill_buffer = 0; + b->yy_buffer_status = YY_BUFFER_NEW; + + sudoers_switch_to_buffer(b ); + + return b; +} + +/** Setup the input buffer state to scan a string. The next call to sudoerslex() will + * scan from a @e copy of @a str. + * @param yystr a NUL-terminated string to scan + * + * @return the newly allocated buffer state object. + * @note If you want to scan bytes that may contain NUL values, then use + * sudoers_scan_bytes() instead. + */ +YY_BUFFER_STATE sudoers_scan_string (yyconst char * yystr ) +{ + + return sudoers_scan_bytes(yystr,strlen(yystr) ); +} + +/** Setup the input buffer state to scan the given bytes. The next call to sudoerslex() will + * scan from a @e copy of @a bytes. + * @param yybytes the byte buffer to scan + * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes. + * + * @return the newly allocated buffer state object. + */ +YY_BUFFER_STATE sudoers_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len ) +{ + YY_BUFFER_STATE b; + char *buf; + yy_size_t n; + yy_size_t i; + + /* Get memory for full buffer, including space for trailing EOB's. */ + n = _yybytes_len + 2; + buf = (char *) sudoersalloc(n ); + if ( ! buf ) + YY_FATAL_ERROR( "out of dynamic memory in sudoers_scan_bytes()" ); + + for ( i = 0; i < _yybytes_len; ++i ) + buf[i] = yybytes[i]; + + buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; + + b = sudoers_scan_buffer(buf,n ); + if ( ! b ) + YY_FATAL_ERROR( "bad buffer in sudoers_scan_bytes()" ); + + /* It's okay to grow etc. this buffer, and we should throw it + * away when we're done. + */ + b->yy_is_our_buffer = 1; + + return b; +} + +#ifndef YY_EXIT_FAILURE +#define YY_EXIT_FAILURE 2 +#endif + +static void yy_fatal_error (yyconst char* msg ) +{ + (void) fprintf( stderr, "%s\n", msg ); + exit( YY_EXIT_FAILURE ); +} + +/* Redefine yyless() so it works in section 3 code. */ + +#undef yyless +#define yyless(n) \ + do \ + { \ + /* Undo effects of setting up sudoerstext. */ \ + int yyless_macro_arg = (n); \ + YY_LESS_LINENO(yyless_macro_arg);\ + sudoerstext[sudoersleng] = (yy_hold_char); \ + (yy_c_buf_p) = sudoerstext + yyless_macro_arg; \ + (yy_hold_char) = *(yy_c_buf_p); \ + *(yy_c_buf_p) = '\0'; \ + sudoersleng = yyless_macro_arg; \ + } \ + while ( 0 ) + +/* Accessor methods (get/set functions) to struct members. */ + +/** Get the current line number. + * + */ +int sudoersget_lineno (void) +{ + + return sudoerslineno; +} + +/** Get the input stream. + * + */ +FILE *sudoersget_in (void) +{ + return sudoersin; +} + +/** Get the output stream. + * + */ +FILE *sudoersget_out (void) +{ + return sudoersout; +} + +/** Get the length of the current token. + * + */ +yy_size_t sudoersget_leng (void) +{ + return sudoersleng; +} + +/** Get the current token. + * + */ + +char *sudoersget_text (void) +{ + return sudoerstext; +} + +/** Set the current line number. + * @param line_number + * + */ +void sudoersset_lineno (int line_number ) +{ + + sudoerslineno = line_number; +} + +/** Set the input stream. This does not discard the current + * input buffer. + * @param in_str A readable stream. + * + * @see sudoers_switch_to_buffer + */ +void sudoersset_in (FILE * in_str ) +{ + sudoersin = in_str ; +} + +void sudoersset_out (FILE * out_str ) +{ + sudoersout = out_str ; +} + +int sudoersget_debug (void) +{ + return sudoers_flex_debug; +} + +void sudoersset_debug (int bdebug ) +{ + sudoers_flex_debug = bdebug ; +} + +static int yy_init_globals (void) +{ + /* Initialization is the same as for the non-reentrant scanner. + * This function is called from sudoerslex_destroy(), so don't allocate here. + */ + + (yy_buffer_stack) = 0; + (yy_buffer_stack_top) = 0; + (yy_buffer_stack_max) = 0; + (yy_c_buf_p) = (char *) 0; + (yy_init) = 0; + (yy_start) = 0; + +/* Defined in main.c */ +#ifdef YY_STDINIT + sudoersin = stdin; + sudoersout = stdout; +#else + sudoersin = (FILE *) 0; + sudoersout = (FILE *) 0; +#endif + + /* For future reference: Set errno on error, since we are called by + * sudoerslex_init() + */ + return 0; +} + +/* sudoerslex_destroy is for both reentrant and non-reentrant scanners. */ +int sudoerslex_destroy (void) +{ + + /* Pop the buffer stack, destroying each element. */ + while(YY_CURRENT_BUFFER){ + sudoers_delete_buffer(YY_CURRENT_BUFFER ); + YY_CURRENT_BUFFER_LVALUE = NULL; + sudoerspop_buffer_state(); + } + + /* Destroy the stack itself. */ + sudoersfree((yy_buffer_stack) ); + (yy_buffer_stack) = NULL; + + /* Reset the globals. This is important in a non-reentrant scanner so the next time + * sudoerslex() is called, initialization will occur. */ + yy_init_globals( ); + + return 0; +} + +/* + * Internal utility routines. + */ + +#ifndef yytext_ptr +static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) +{ + int i; + for ( i = 0; i < n; ++i ) + s1[i] = s2[i]; +} +#endif + +#ifdef YY_NEED_STRLEN +static int yy_flex_strlen (yyconst char * s ) +{ + int n; + for ( n = 0; s[n]; ++n ) + ; + + return n; +} +#endif + +void *sudoersalloc (yy_size_t size ) +{ + return (void *) malloc( size ); +} + +void *sudoersrealloc (void * ptr, yy_size_t size ) +{ + /* The cast to (char *) in the following accommodates both + * implementations that use char* generic pointers, and those + * that use void* generic pointers. It works with the latter + * because both ANSI C and C++ allow castless assignment from + * any pointer type to void*, and deal with argument conversions + * as though doing an assignment. + */ + return (void *) realloc( (char *) ptr, size ); +} + +void sudoersfree (void * ptr ) +{ + free( (char *) ptr ); /* see sudoersrealloc() for (char *) cast */ +} + +#define YYTABLES_NAME "yytables" + +#line 914 "toke.l" + + +struct path_list { + SLIST_ENTRY(path_list) entries; + char *path; +}; + +SLIST_HEAD(path_list_head, path_list); + +struct include_stack { + struct sudolinebuf line; + YY_BUFFER_STATE bs; + char *path; + struct path_list_head more; /* more files in case of includedir */ + int lineno; + bool keepopen; +}; + +/* + * Compare two struct path_list structs in reverse order. + */ +static int +pl_compare(const void *v1, const void *v2) +{ + const struct path_list * const *p1 = v1; + const struct path_list * const *p2 = v2; + + return strcmp((*p2)->path, (*p1)->path); +} + +/* + * Open dirpath and fill in pathsp with an array of regular files + * that do not end in '~' or contain a '.'. + * Returns the number of files or -1 on error. + * If zero files are found, NULL is stored in pathsp. + */ +static int +read_dir_files(const char *dirpath, struct path_list ***pathsp) +{ + DIR *dir; + int i, count = 0; + int max_paths = 32; + struct dirent *dent; + struct path_list **paths = NULL; + const size_t dirlen = strlen(dirpath); + debug_decl(read_dir_files, SUDOERS_DEBUG_PARSER); + + dir = opendir(dirpath); + if (dir == NULL) { + if (errno == ENOENT) + goto done; + sudo_warn("%s", dirpath); + goto bad; + } + paths = reallocarray(NULL, max_paths, sizeof(*paths)); + if (paths == NULL) + goto oom; + while ((dent = readdir(dir)) != NULL) { + const size_t namelen = NAMLEN(dent); + struct path_list *pl; + struct stat sb; + size_t len; + char *path; + + /* Ignore files that end in '~' or have a '.' in them. */ + if (namelen == 0 || dent->d_name[namelen - 1] == '~' + || strchr(dent->d_name, '.') != NULL) { + continue; + } + len = dirlen + 1 + namelen; + if ((path = sudo_rcstr_alloc(len)) == NULL) + goto oom; + if ((size_t)snprintf(path, len + 1, "%s/%s", dirpath, dent->d_name) != len) { + sudo_warnx(U_("internal error, %s overflow"), __func__); + sudo_rcstr_delref(path); + goto bad; + } + if (stat(path, &sb) != 0 || !S_ISREG(sb.st_mode)) { + sudo_rcstr_delref(path); + continue; + } + pl = malloc(sizeof(*pl)); + if (pl == NULL) { + sudo_rcstr_delref(path); + goto oom; + } + pl->path = path; + if (count >= max_paths) { + struct path_list **tmp; + max_paths <<= 1; + tmp = reallocarray(paths, max_paths, sizeof(*paths)); + if (tmp == NULL) { + sudo_rcstr_delref(path); + free(pl); + goto oom; + } + paths = tmp; + } + paths[count++] = pl; + } + closedir(dir); + if (count == 0) { + free(paths); + paths = NULL; + } +done: + *pathsp = paths; + debug_return_int(count); +oom: + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); +bad: + sudoerserror(NULL); + if (dir != NULL) + closedir(dir); + for (i = 0; i < count; i++) { + sudo_rcstr_delref(paths[i]->path); + free(paths[i]); + } + free(paths); + debug_return_int(-1); +} + +/* + * Push a list of all files in dirpath onto stack. + * Returns the number of files or -1 on error. + */ +static int +switch_dir(struct include_stack *stack, char *dirpath) +{ + struct path_list **paths = NULL; + int count, i; + debug_decl(switch_dir, SUDOERS_DEBUG_PARSER); + + count = read_dir_files(dirpath, &paths); + if (count > 0) { + /* Sort the list as an array in reverse order. */ + qsort(paths, count, sizeof(*paths), pl_compare); + + /* Build up the list in sorted order. */ + for (i = 0; i < count; i++) { + SLIST_INSERT_HEAD(&stack->more, paths[i], entries); + } + free(paths); + } + + debug_return_int(count); +} + +#define MAX_SUDOERS_DEPTH 128 +#define SUDOERS_STACK_INCREMENT 16 + +static size_t istacksize, idepth; +static struct include_stack *istack; +static bool keepopen; + +void +init_lexer(void) +{ + struct path_list *pl; + debug_decl(init_lexer, SUDOERS_DEBUG_PARSER); + +#ifndef TRACELEXER + free(trace_lbuf.buf); + sudo_lbuf_init(&trace_lbuf, NULL, 0, NULL, 0); +#endif + + while (idepth) { + idepth--; + while ((pl = SLIST_FIRST(&istack[idepth].more)) != NULL) { + SLIST_REMOVE_HEAD(&istack[idepth].more, entries); + sudo_rcstr_delref(pl->path); + free(pl); + } + sudo_rcstr_delref(istack[idepth].path); + if (idepth && !istack[idepth].keepopen) + fclose(istack[idepth].bs->yy_input_file); + sudoers_delete_buffer(istack[idepth].bs); + free(istack[idepth].line.buf); + } + free(istack); + istack = NULL; + istacksize = idepth = 0; + free(sudolinebuf.buf); + memset(&sudolinebuf, 0, sizeof(sudolinebuf)); + sudolineno = 1; + keepopen = false; + sawspace = false; + continued = false; + digest_type = -1; + prev_state = INITIAL; + BEGIN INITIAL; + + debug_return; +} + +/* + * Expand any embedded %h (host) escapes in the given path and makes + * a relative path fully-qualified based on the current sudoers file. + * Returns a reference-counted string. + */ +static char * +expand_include(const char *opath) +{ + const char *cp, *ep; + char *path, *pp; + size_t len, olen, dirlen = 0; + bool subst = false; + debug_decl(expand_include, SUDOERS_DEBUG_PARSER); + + /* Strip double quotes if present. */ + olen = strlen(opath); + if (olen > 1 && opath[0] == '"' && opath[olen - 1] == '"') { + opath++; + olen -= 2; + } + if (olen == 0) + debug_return_ptr(NULL); + + /* Relative paths are located in the same dir as the sudoers file. */ + if (*opath != '/') { + char *dirend = strrchr(sudoers, '/'); + if (dirend != NULL) + dirlen = (size_t)(dirend - sudoers) + 1; + } + + cp = opath; + ep = opath + olen; + len = olen; + while (cp < ep) { + if (cp[0] == '%' && cp[1] == 'h') { + subst = true; + len += strlen(user_shost); + cp += 2; + continue; + } + cp++; + } + + /* Make a copy of the fully-qualified path and return it. */ + path = pp = sudo_rcstr_alloc(dirlen + len); + if (path == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + sudoerserror(NULL); + debug_return_str(NULL); + } + if (dirlen) { + memcpy(path, sudoers, dirlen); + pp += dirlen; + } + if (subst) { + /* substitute for %h */ + cp = opath; + while (cp < ep) { + if (cp[0] == '%' && cp[1] == 'h') { + size_t n = strlcpy(pp, user_shost, len + 1); + if (n >= len + 1) + goto oflow; + cp += 2; + pp += n; + len -= n; + continue; + } + if (len < 1) + goto oflow; + *pp++ = *cp++; + len--; + } + *pp = '\0'; + } else { + memcpy(pp, opath, len); + pp[len] = '\0'; + } + + debug_return_str(path); +oflow: + sudo_warnx(U_("internal error, %s overflow"), __func__); + sudoerserror(NULL); + sudo_rcstr_delref(path); + debug_return_str(NULL); +} + +/* + * Open an include file (or file from a directory), push the old + * sudoers file buffer and switch to the new one. + * A missing or insecure include dir is simply ignored. + * Returns false on error, else true. + */ +bool +push_include(const char *opath, bool isdir) +{ + struct path_list *pl; + char *path; + FILE *fp; + debug_decl(push_include, SUDOERS_DEBUG_PARSER); + + if ((path = expand_include(opath)) == NULL) + debug_return_bool(false); + + /* push current state onto stack */ + if (idepth >= istacksize) { + struct include_stack *new_istack; + + if (idepth > MAX_SUDOERS_DEPTH) { + if (sudoers_warnings) + sudo_warnx(U_("%s: %s"), path, U_("too many levels of includes")); + sudoerserror(NULL); + sudo_rcstr_delref(path); + debug_return_bool(false); + } + istacksize += SUDOERS_STACK_INCREMENT; + new_istack = reallocarray(istack, istacksize, sizeof(*istack)); + if (new_istack == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + sudoerserror(NULL); + sudo_rcstr_delref(path); + debug_return_bool(false); + } + istack = new_istack; + } + SLIST_INIT(&istack[idepth].more); + if (isdir) { + struct stat sb; + int count, status; + + status = sudo_secure_dir(path, sudoers_uid, sudoers_gid, &sb); + if (status != SUDO_PATH_SECURE) { + if (sudoers_warnings) { + switch (status) { + case SUDO_PATH_BAD_TYPE: + errno = ENOTDIR; + sudo_warn("%s", path); + break; + case SUDO_PATH_WRONG_OWNER: + sudo_warnx(U_("%s is owned by uid %u, should be %u"), + path, (unsigned int) sb.st_uid, + (unsigned int) sudoers_uid); + break; + case SUDO_PATH_WORLD_WRITABLE: + sudo_warnx(U_("%s is world writable"), path); + break; + case SUDO_PATH_GROUP_WRITABLE: + sudo_warnx(U_("%s is owned by gid %u, should be %u"), + path, (unsigned int) sb.st_gid, + (unsigned int) sudoers_gid); + break; + default: + break; + } + } + /* A missing or insecure include dir is not a fatal error. */ + sudo_rcstr_delref(path); + debug_return_bool(true); + } + count = switch_dir(&istack[idepth], path); + if (count <= 0) { + /* switch_dir() called sudoerserror() for us */ + sudo_rcstr_delref(path); + debug_return_bool(count ? false : true); + } + + /* Parse the first dir entry we can open, leave the rest for later. */ + do { + sudo_rcstr_delref(path); + if ((pl = SLIST_FIRST(&istack[idepth].more)) == NULL) { + /* Unable to open any files in include dir, not an error. */ + debug_return_bool(true); + } + SLIST_REMOVE_HEAD(&istack[idepth].more, entries); + path = pl->path; + free(pl); + } while ((fp = open_sudoers(path, false, &keepopen)) == NULL); + } else { + if ((fp = open_sudoers(path, true, &keepopen)) == NULL) { + /* The error was already printed by open_sudoers() */ + sudoerserror(NULL); + sudo_rcstr_delref(path); + debug_return_bool(false); + } + } + /* Push the old (current) file and open the new one. */ + istack[idepth].path = sudoers; /* push old path (and its ref) */ + istack[idepth].line = sudolinebuf; + istack[idepth].bs = YY_CURRENT_BUFFER; + istack[idepth].lineno = sudolineno; + istack[idepth].keepopen = keepopen; + idepth++; + sudolineno = 1; + sudoers = path; + sudoers_switch_to_buffer(sudoers_create_buffer(fp, YY_BUF_SIZE)); + memset(&sudolinebuf, 0, sizeof(sudolinebuf)); + + debug_return_bool(true); +} + +/* + * Restore the previous sudoers file and buffer, or, in the case + * of an includedir, switch to the next file in the dir. + * Returns false if there is nothing to pop, else true. + */ +static bool +pop_include(void) +{ + struct path_list *pl; + FILE *fp; + debug_decl(pop_include, SUDOERS_DEBUG_PARSER); + + if (idepth == 0 || YY_CURRENT_BUFFER == NULL) + debug_return_bool(false); + + if (!keepopen) + fclose(YY_CURRENT_BUFFER->yy_input_file); + sudoers_delete_buffer(YY_CURRENT_BUFFER); + /* If we are in an include dir, move to the next file. */ + while ((pl = SLIST_FIRST(&istack[idepth - 1].more)) != NULL) { + SLIST_REMOVE_HEAD(&istack[idepth - 1].more, entries); + fp = open_sudoers(pl->path, false, &keepopen); + if (fp != NULL) { + sudolinebuf.len = sudolinebuf.off = 0; + sudolinebuf.toke_start = sudolinebuf.toke_end = 0; + sudo_rcstr_delref(sudoers); + sudoers = pl->path; + sudolineno = 1; + sudoers_switch_to_buffer(sudoers_create_buffer(fp, YY_BUF_SIZE)); + free(pl); + break; + } + /* Unable to open path in include dir, go to next one. */ + sudo_rcstr_delref(pl->path); + free(pl); + } + /* If no path list, just pop the last dir on the stack. */ + if (pl == NULL) { + idepth--; + sudoers_switch_to_buffer(istack[idepth].bs); + free(sudolinebuf.buf); + sudolinebuf = istack[idepth].line; + sudo_rcstr_delref(sudoers); + sudoers = istack[idepth].path; + sudolineno = istack[idepth].lineno; + keepopen = istack[idepth].keepopen; + } + debug_return_bool(true); +} + +#ifdef TRACELEXER +int +sudoers_trace_print(const char *msg) +{ + return fputs(msg, stderr); +} +#else +int +sudoers_trace_print(const char *msg) +{ + const int sudo_debug_subsys = SUDOERS_DEBUG_PARSER; + + if (sudo_debug_needed(SUDO_DEBUG_DEBUG)) { + sudo_lbuf_append(&trace_lbuf, "%s", msg); + if (strchr(msg, '\n') != NULL) + { + /* We already parsed the newline so sudolineno is off by one. */ + sudo_debug_printf2(NULL, NULL, 0, + sudo_debug_subsys|SUDO_DEBUG_DEBUG, "sudoerslex: %s:%d: %s", + sudoers, sudolineno - 1, trace_lbuf.buf); + trace_lbuf.len = 0; + } + } + return 0; +} +#endif /* TRACELEXER */ + +/* + * Custom input function that uses getdelim(3) and stores the buffer + * where the error functions can access it for better reporting. + * On success, buf is guaranteed to end in a newline and not contain + * embedded NULs. Calls YY_FATAL_ERROR on error. + */ +static yy_size_t +sudoers_input(char *buf, yy_size_t max_size) +{ + char *cp; + size_t avail = sudolinebuf.len - sudolinebuf.off; + debug_decl(sudoers_input, SUDOERS_DEBUG_PARSER); + + /* Refill line buffer if needed. */ + if (avail == 0) { + /* + * Some getdelim(3) implementations write NUL to buf on EOF. + * We peek ahead one char to detect EOF and skip the getdelim() call. + * This will preserve the original value of the last line read. + */ + int ch = getc(sudoersin); + if (ch == EOF) + goto sudoers_eof; + ungetc(ch, sudoersin); + avail = getdelim(&sudolinebuf.buf, &sudolinebuf.size, '\n', sudoersin); + if (avail == (size_t)-1) { +sudoers_eof: + /* EOF or error. */ + if (feof(sudoersin)) + return 0; + YY_FATAL_ERROR("input in flex scanner failed"); + } + + /* getdelim() can return embedded NULs, truncate if we find one. */ + cp = memchr(sudolinebuf.buf, '\0', avail); + if (cp != NULL) { + *cp++ = '\n'; + *cp = '\0'; + avail = (size_t)(cp - sudolinebuf.buf); + } + + /* Add trailing newline if it is missing. */ + if (sudolinebuf.buf[avail - 1] != '\n') { + if (avail + 2 >= sudolinebuf.size) { + cp = realloc(sudolinebuf.buf, avail + 2); + if (cp == NULL) { + YY_FATAL_ERROR("unable to allocate memory"); + return 0; + } + sudolinebuf.buf = cp; + sudolinebuf.size = avail + 2; + } + sudolinebuf.buf[avail++] = '\n'; + sudolinebuf.buf[avail] = '\0'; + } + + sudo_debug_printf(SUDO_DEBUG_DEBUG, "%s:%d: %.*s", sudoers, sudolineno, + (int)(avail -1), sudolinebuf.buf); + + sudolinebuf.len = avail; + sudolinebuf.off = 0; + sudolinebuf.toke_start = sudolinebuf.toke_end = 0; + } + + if (avail > max_size) + avail = max_size; + memcpy(buf, sudolinebuf.buf + sudolinebuf.off, avail); + sudolinebuf.off += avail; + + debug_return_size_t(avail); +} + diff --git a/plugins/sudoers/toke.h b/plugins/sudoers/toke.h new file mode 100644 index 0000000..2b9f111 --- /dev/null +++ b/plugins/sudoers/toke.h @@ -0,0 +1,52 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2011-2013, 2015-2016, 2020 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#ifndef SUDOERS_TOKE_H +#define SUDOERS_TOKE_H + +struct sudolinebuf { + char *buf; /* line buffer */ + size_t size; /* size of buffer */ + size_t len; /* used length */ + size_t off; /* consumed length */ + size_t toke_start; /* starting column of current token */ + size_t toke_end; /* ending column of current token */ +}; +extern const char *sudoers_errstr; +extern struct sudolinebuf sudolinebuf; + +bool append(const char *, size_t); +bool fill_args(const char *, size_t, int); +bool fill_cmnd(const char *, size_t); +bool fill(const char *, size_t); +bool ipv6_valid(const char *s); +int sudoers_trace_print(const char *); +void sudoerserrorf(const char *, ...) sudo_printf0like(1, 2); +void sudoerserror(const char *); +bool push_include(const char *, bool); + +#ifndef FLEX_SCANNER +extern int (*trace_print)(const char *msg); +#endif + +#define LEXTRACE(msg) do { \ + if (trace_print != NULL) \ + (*trace_print)(msg); \ +} while (0); + +#endif /* SUDOERS_TOKE_H */ diff --git a/plugins/sudoers/toke.l b/plugins/sudoers/toke.l new file mode 100644 index 0000000..9e92316 --- /dev/null +++ b/plugins/sudoers/toke.l @@ -0,0 +1,1454 @@ +%{ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1996, 1998-2005, 2007-2022 + * Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Sponsored in part by the Defense Advanced Research Projects + * Agency (DARPA) and Air Force Research Laboratory, Air Force + * Materiel Command, USAF, under agreement number F39502-99-1-0512. + */ + +#include + +#include +#include +#include +#include +#include +#if defined(HAVE_STDINT_H) +# include +#elif defined(HAVE_INTTYPES_H) +# include +#endif +#include +#include +#include +#include +#include "sudoers.h" +#include "toke.h" +#include +#include "sudo_digest.h" +#include "sudo_lbuf.h" + +#if defined(HAVE_STRUCT_DIRENT_D_NAMLEN) && HAVE_STRUCT_DIRENT_D_NAMLEN +# define NAMLEN(dirent) (dirent)->d_namlen +#else +# define NAMLEN(dirent) strlen((dirent)->d_name) +#endif + +// PVS Studio suppression +// -V::519, 547, 1004, 1037, 1048 + +int sudolineno; /* current sudoers line number. */ +char *sudoers; /* sudoers file being parsed. */ +const char *sudoers_errstr; /* description of last error from lexer. */ +struct sudolinebuf sudolinebuf; /* sudoers line being parsed. */ + +/* Default sudoers path, mode and owner (may be set via sudo.conf) */ +const char *sudoers_file = _PATH_SUDOERS; +mode_t sudoers_mode = SUDOERS_MODE; +uid_t sudoers_uid = SUDOERS_UID; +gid_t sudoers_gid = SUDOERS_GID; + +static bool continued, sawspace; +static int prev_state; +static int digest_type = -1; + +static bool pop_include(void); +static yy_size_t sudoers_input(char *buf, yy_size_t max_size); + +#ifndef TRACELEXER +static struct sudo_lbuf trace_lbuf; +#endif + +int (*trace_print)(const char *msg) = sudoers_trace_print; + +#define ECHO ignore_result(fwrite(sudoerstext, sudoersleng, 1, sudoersout)) + +#define YY_INPUT(buf, result, max_size) (result) = sudoers_input(buf, max_size) + +#define YY_USER_ACTION do { \ + sudolinebuf.toke_start = sudolinebuf.toke_end; \ + sudolinebuf.toke_end += sudoersleng; \ +} while (0); + +#define sudoersless(n) do { \ + sudolinebuf.toke_end = sudolinebuf.toke_start + (n); \ + yyless(n); \ +} while (0); + +%} + +HEX16 [0-9A-Fa-f]{1,4} +OCTET (1?[0-9]{1,2})|(2[0-4][0-9])|(25[0-5]) +IPV4ADDR {OCTET}(\.{OCTET}){3} +IPV6ADDR ({HEX16}?:){2,7}{HEX16}?|({HEX16}?:){2,6}:{IPV4ADDR} + +HOSTNAME [[:alnum:]_-]+ +WORD ([^#>!=:,\(\) \t\r\n\\\"]|\\[^\t\n])+ +ID #-?[0-9]+ +PATH \/(\\[\,:= \t#]|[^\,:=\\ \t\r\n#])+ +REGEX \^([^#\r\n\$]|\\[#\$])*\$ +ENVAR ([^#!=, \t\r\n\\\"]|\\[^\r\n])([^#=, \t\r\n\\\"]|\\[^\r\n])* +DEFVAR [a-z_]+ + +%option noinput +%option nounput +%option noyywrap +%option prefix="sudoers" + +%s GOTDEFS +%x GOTCMND +%x GOTREGEX +%x STARTDEFS +%x INDEFS +%x INSTR +%s WANTDIGEST +%x GOTINC +%s EXPECTPATH + +%% +[[:blank:]]*,[[:blank:]]* { + LEXTRACE(", "); + return ','; + } /* return ',' */ + +[[:blank:]]+ BEGIN STARTDEFS; + +{DEFVAR} { + BEGIN INDEFS; + LEXTRACE("DEFVAR "); + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + return DEFVAR; + } + +{ + , { + BEGIN STARTDEFS; + LEXTRACE(", "); + return ','; + } /* return ',' */ + + = { + LEXTRACE("= "); + return '='; + } /* return '=' */ + + \+= { + LEXTRACE("+= "); + return '+'; + } /* return '+' */ + + -= { + LEXTRACE("-= "); + return '-'; + } /* return '-' */ + + \" { + LEXTRACE("BEGINSTR "); + sudoerslval.string = NULL; + prev_state = YY_START; + BEGIN INSTR; + } + + {ENVAR} { + LEXTRACE("WORD(2) "); + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + return WORD; + } +} + +{ + \\[[:blank:]]*\r?\n[[:blank:]]* { + /* Line continuation char followed by newline. */ + sudolineno++; + continued = true; + } + + \" { + LEXTRACE("ENDSTR "); + BEGIN prev_state; + + if (sudoerslval.string == NULL) { + sudoers_errstr = N_("empty string"); + LEXTRACE("ERROR "); + return ERROR; + } + if (prev_state == INITIAL || prev_state == GOTDEFS) { + switch (sudoerslval.string[0]) { + case '%': + if (sudoerslval.string[1] == '\0' || + (sudoerslval.string[1] == ':' && + sudoerslval.string[2] == '\0')) { + parser_leak_remove(LEAK_PTR, sudoerslval.string); + free(sudoerslval.string); + sudoers_errstr = N_("empty group"); + LEXTRACE("ERROR "); + return ERROR; + } + LEXTRACE("USERGROUP "); + return USERGROUP; + case '+': + if (sudoerslval.string[1] == '\0') { + parser_leak_remove(LEAK_PTR, sudoerslval.string); + free(sudoerslval.string); + sudoers_errstr = N_("empty netgroup"); + LEXTRACE("ERROR "); + return ERROR; + } + LEXTRACE("NETGROUP "); + return NETGROUP; + } + } + LEXTRACE("WORD(4) "); + return WORD; + } + + \\ { + LEXTRACE("BACKSLASH "); + if (!append(sudoerstext, sudoersleng)) + yyterminate(); + } + + ([^\"\r\n\\]|\\\")+ { + LEXTRACE("STRBODY "); + if (!append(sudoerstext, sudoersleng)) + yyterminate(); + } +} + +{ + \\[\*\?\[\]\!^] { + /* quoted fnmatch glob char, pass verbatim */ + LEXTRACE("QUOTEDCHAR "); + if (!fill_args(sudoerstext, 2, sawspace)) + yyterminate(); + sawspace = false; + } + + \\[:\\,= \t#] { + /* quoted sudoers special char, strip backslash */ + LEXTRACE("QUOTEDCHAR "); + if (!fill_args(sudoerstext + 1, 1, sawspace)) + yyterminate(); + sawspace = false; + } + + [#:\,=\r\n] { + BEGIN INITIAL; + sudoersless(0); + yy_set_bol(0); + return COMMAND; + } /* end of command line args */ + + [^#\\:, \t\r\n]+ { + if (sudoerslval.command.args == NULL && sudoerstext[0] == '^') { + LEXTRACE("ARG REGEX "); + BEGIN GOTREGEX; + sudoersless(0); + yy_set_bol(0); + } else { + LEXTRACE("ARG "); + if (!fill_args(sudoerstext, sudoersleng, sawspace)) + yyterminate(); + sawspace = false; + } + } /* a command line arg */ +} + +{ + \\[^\r\n] { + /* quoted character, pass verbatim */ + LEXTRACE("QUOTEDCHAR "); + if (!fill_args(sudoerstext, 2, false)) + yyterminate(); + } + + [#\r\n] { + /* Let the parser attempt to recover. */ + sudoersless(0); + yy_set_bol(0); + BEGIN INITIAL; + + sudoers_errstr = N_("unterminated regular expression"); + LEXTRACE("ERROR "); + return ERROR; + } /* illegal inside regex */ + + \$ { + if (!fill_args("$", 1, false)) + yyterminate(); + BEGIN INITIAL; + continued = false; + if (sudoers_strict) { + if (!sudo_regex_compile(NULL, sudoerstext, &sudoers_errstr)) { + LEXTRACE("ERROR "); + return ERROR; + } + } + return COMMAND; + } + + [^#\\\r\n$]+ { + if (continued) { + /* remove whitespace after line continuation */ + while (isblank((unsigned char)*sudoerstext)) { + sudoerstext++; + sudoersleng--; + } + continued = false; + } + if (sudoersleng != 0) { + if (!fill_args(sudoerstext, sudoersleng, false)) + yyterminate(); + } + } +} + +[[:xdigit:]]+ { + /* Only return DIGEST if the length is correct. */ + yy_size_t digest_len = + sudo_digest_getlen(digest_type); + if ((yy_size_t)sudoersleng == digest_len * 2) { + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + BEGIN INITIAL; + LEXTRACE("DIGEST "); + return DIGEST; + } + BEGIN INITIAL; + sudoersless(sudoersleng); + } /* hex digest */ + +[A-Za-z0-9\+/=]+ { + /* Only return DIGEST if the length is correct. */ + yy_size_t len, digest_len = + sudo_digest_getlen(digest_type); + if (sudoerstext[sudoersleng - 1] == '=') { + /* use padding */ + len = 4 * ((digest_len + 2) / 3); + } else { + /* no padding */ + len = (4 * digest_len + 2) / 3; + } + if ((yy_size_t)sudoersleng == len) { + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + BEGIN INITIAL; + LEXTRACE("DIGEST "); + return DIGEST; + } + BEGIN INITIAL; + sudoersless(sudoersleng); + } /* base64 digest */ + +@include { + if (continued) { + sudoers_errstr = N_("invalid line continuation"); + LEXTRACE("ERROR "); + return ERROR; + } + + BEGIN GOTINC; + LEXTRACE("INCLUDE "); + return INCLUDE; + } + +@includedir { + if (continued) { + sudoers_errstr = N_("invalid line continuation"); + LEXTRACE("ERROR "); + return ERROR; + } + + BEGIN GOTINC; + LEXTRACE("INCLUDEDIR "); + return INCLUDEDIR; + } + +^#include[[:blank:]]+.*(\r\n|\n)? { + if (continued) { + sudoers_errstr = N_("invalid line continuation"); + LEXTRACE("ERROR "); + return ERROR; + } + + /* only consume #include */ + sudoersless(sizeof("#include") - 1); + yy_set_bol(0); + + BEGIN GOTINC; + LEXTRACE("INCLUDE "); + return INCLUDE; + } + +^#includedir[[:blank:]]+.*(\r\n|\n)? { + if (continued) { + sudoers_errstr = N_("invalid line continuation"); + LEXTRACE("ERROR "); + return ERROR; + } + + /* only consume #includedir */ + sudoersless(sizeof("#includedir") - 1); + yy_set_bol(0); + + BEGIN GOTINC; + LEXTRACE("INCLUDEDIR "); + return INCLUDEDIR; + } + +^[[:blank:]]*Defaults([:@>\!][[:blank:]]*\!*\"?({ID}|{WORD}))? { + char deftype; + int n; + + if (continued) { + sudoers_errstr = N_("invalid line continuation"); + LEXTRACE("ERROR "); + return ERROR; + } + + for (n = 0; isblank((unsigned char)sudoerstext[n]); n++) + continue; + n += sizeof("Defaults") - 1; + if ((deftype = sudoerstext[n++]) != '\0') { + while (isblank((unsigned char)sudoerstext[n])) + n++; + } + BEGIN GOTDEFS; + switch (deftype) { + case ':': + sudoersless(n); + LEXTRACE("DEFAULTS_USER "); + return DEFAULTS_USER; + case '>': + sudoersless(n); + LEXTRACE("DEFAULTS_RUNAS "); + return DEFAULTS_RUNAS; + case '@': + sudoersless(n); + LEXTRACE("DEFAULTS_HOST "); + return DEFAULTS_HOST; + case '!': + sudoersless(n); + LEXTRACE("DEFAULTS_CMND "); + return DEFAULTS_CMND; + default: + LEXTRACE("DEFAULTS "); + return DEFAULTS; + } + } + +^[[:blank:]]*(Host|Cmnd|Cmd|User|Runas)_Alias { + int n; + + if (continued) { + sudoers_errstr = N_("invalid line continuation"); + LEXTRACE("ERROR "); + return ERROR; + } + + for (n = 0; isblank((unsigned char)sudoerstext[n]); n++) + continue; + switch (sudoerstext[n]) { + case 'H': + LEXTRACE("HOSTALIAS "); + return HOSTALIAS; + case 'C': + LEXTRACE("CMNDALIAS "); + return CMNDALIAS; + case 'U': + LEXTRACE("USERALIAS "); + return USERALIAS; + case 'R': + LEXTRACE("RUNASALIAS "); + return RUNASALIAS; + } + } + +NOPASSWD[[:blank:]]*: { + /* cmnd does not require passwd for this user */ + LEXTRACE("NOPASSWD "); + return NOPASSWD; + } + +PASSWD[[:blank:]]*: { + /* cmnd requires passwd for this user */ + LEXTRACE("PASSWD "); + return PASSWD; + } + +NOEXEC[[:blank:]]*: { + LEXTRACE("NOEXEC "); + return NOEXEC; + } + +EXEC[[:blank:]]*: { + LEXTRACE("EXEC "); + return EXEC; + } + +INTERCEPT[[:blank:]]*: { + LEXTRACE("INTERCEPT "); + return INTERCEPT; + } + +NOINTERCEPT[[:blank:]]*: { + LEXTRACE("NOINTERCEPT "); + return NOINTERCEPT; + } + +SETENV[[:blank:]]*: { + LEXTRACE("SETENV "); + return SETENV; + } + +NOSETENV[[:blank:]]*: { + LEXTRACE("NOSETENV "); + return NOSETENV; + } + +LOG_OUTPUT[[:blank:]]*: { + LEXTRACE("LOG_OUTPUT "); + return LOG_OUTPUT; + } + +NOLOG_OUTPUT[[:blank:]]*: { + LEXTRACE("NOLOG_OUTPUT "); + return NOLOG_OUTPUT; + } + +LOG_INPUT[[:blank:]]*: { + LEXTRACE("LOG_INPUT "); + return LOG_INPUT; + } + +NOLOG_INPUT[[:blank:]]*: { + LEXTRACE("NOLOG_INPUT "); + return NOLOG_INPUT; + } + +MAIL[[:blank:]]*: { + LEXTRACE("MAIL "); + return MAIL; + } + +NOMAIL[[:blank:]]*: { + LEXTRACE("NOMAIL "); + return NOMAIL; + } + +FOLLOW[[:blank:]]*: { + LEXTRACE("FOLLOW "); + return FOLLOWLNK; + } + +NOFOLLOW[[:blank:]]*: { + LEXTRACE("NOFOLLOW "); + return NOFOLLOWLNK; + } + +(\+|\%|\%:) { + if (sudoerstext[0] == '+') + sudoers_errstr = N_("empty netgroup"); + else + sudoers_errstr = N_("empty group"); + LEXTRACE("ERROR "); + return ERROR; + } + +\+{WORD} { + /* netgroup */ + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + LEXTRACE("NETGROUP "); + return NETGROUP; + } + +\%:?({WORD}|{ID}) { + /* group */ + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + LEXTRACE("USERGROUP "); + return USERGROUP; + } + +{IPV4ADDR}(\/{IPV4ADDR})? { + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + LEXTRACE("NTWKADDR "); + return NTWKADDR; + } + +{IPV4ADDR}\/([12]?[0-9]|3[0-2]) { + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + LEXTRACE("NTWKADDR "); + return NTWKADDR; + } + +{IPV6ADDR}(\/{IPV6ADDR})? { + if (!ipv6_valid(sudoerstext)) { + sudoers_errstr = N_("invalid IPv6 address"); + LEXTRACE("ERROR "); + return ERROR; + } + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + LEXTRACE("NTWKADDR "); + return NTWKADDR; + } + +{IPV6ADDR}\/([0-9]|[1-9][0-9]|1[01][0-9]|12[0-8]) { + if (!ipv6_valid(sudoerstext)) { + sudoers_errstr = N_("invalid IPv6 address"); + LEXTRACE("ERROR "); + return ERROR; + } + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + LEXTRACE("NTWKADDR "); + return NTWKADDR; + } + +ALL { + LEXTRACE("ALL "); + return ALL; + + } + +TIMEOUT { + LEXTRACE("CMND_TIMEOUT "); + return CMND_TIMEOUT; + } + +NOTBEFORE { + LEXTRACE("NOTBEFORE "); + return NOTBEFORE; + } + +NOTAFTER { + LEXTRACE("NOTAFTER "); + return NOTAFTER; + } + +CWD { + LEXTRACE("CWD "); + prev_state = YY_START; + BEGIN EXPECTPATH; + return CWD; + } + +CHROOT { + LEXTRACE("CHROOT "); + prev_state = YY_START; + BEGIN EXPECTPATH; + return CHROOT; + } + +ROLE { +#ifdef HAVE_SELINUX + LEXTRACE("ROLE "); + return ROLE; +#else + goto got_alias; +#endif + } + +TYPE { +#ifdef HAVE_SELINUX + LEXTRACE("TYPE "); + return TYPE; +#else + goto got_alias; +#endif + } +APPARMOR_PROFILE { +#ifdef HAVE_APPARMOR + LEXTRACE("APPARMOR_PROFILE "); + return APPARMOR_PROFILE; +#else + goto got_alias; +#endif + } +PRIVS { +#ifdef HAVE_PRIV_SET + LEXTRACE("PRIVS "); + return PRIVS; +#else + goto got_alias; +#endif + } + +LIMITPRIVS { +#ifdef HAVE_PRIV_SET + LEXTRACE("LIMITPRIVS "); + return LIMITPRIVS; +#else + goto got_alias; +#endif + } + +[[:upper:]][[:upper:][:digit:]_]* { + got_alias: + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + LEXTRACE("ALIAS "); + return ALIAS; + } + +({PATH}|{REGEX}|sudoedit) { + /* XXX - no way to specify digest for command */ + /* no command args allowed for Defaults!/path */ + if (!fill_cmnd(sudoerstext, sudoersleng)) + yyterminate(); + LEXTRACE("COMMAND "); + return COMMAND; + } + +sha224 { + digest_type = SUDO_DIGEST_SHA224; + BEGIN WANTDIGEST; + LEXTRACE("SHA224_TOK "); + return SHA224_TOK; + } + +sha256 { + digest_type = SUDO_DIGEST_SHA256; + BEGIN WANTDIGEST; + LEXTRACE("SHA256_TOK "); + return SHA256_TOK; + } + +sha384 { + digest_type = SUDO_DIGEST_SHA384; + BEGIN WANTDIGEST; + LEXTRACE("SHA384_TOK "); + return SHA384_TOK; + } + +sha512 { + digest_type = SUDO_DIGEST_SHA512; + BEGIN WANTDIGEST; + LEXTRACE("SHA512_TOK "); + return SHA512_TOK; + } + +sudoedit { + BEGIN GOTCMND; + LEXTRACE("COMMAND "); + if (!fill_cmnd(sudoerstext, sudoersleng)) + yyterminate(); + } /* sudo -e */ + +({PATH}|{WORD}) { + BEGIN prev_state; + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + LEXTRACE("WORD(5) "); + return WORD; + } + +{PATH} { + /* directories can't have args... */ + if (sudoerstext[sudoersleng - 1] == '/') { + LEXTRACE("COMMAND "); + if (!fill_cmnd(sudoerstext, sudoersleng)) + yyterminate(); + return COMMAND; + } + BEGIN GOTCMND; + LEXTRACE("COMMAND "); + if (!fill_cmnd(sudoerstext, sudoersleng)) + yyterminate(); + } /* a pathname */ + +{REGEX} { + if (sudoers_strict) { + if (!sudo_regex_compile(NULL, sudoerstext, &sudoers_errstr)) { + LEXTRACE("ERROR "); + return ERROR; + } + } + BEGIN GOTCMND; + LEXTRACE("COMMAND "); + if (!fill_cmnd(sudoerstext, sudoersleng)) + yyterminate(); + } /* a regex */ + +\" { + LEXTRACE("BEGINSTR "); + sudoerslval.string = NULL; + prev_state = YY_START; + BEGIN INSTR; + } + +({ID}|{WORD}) { + /* a word */ + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + LEXTRACE("WORD(6) "); + return WORD; + } + +{ + [^\"[:space:]]([^[:space:]]|\\[[:blank:]])* { + /* include file/directory */ + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + BEGIN INITIAL; + LEXTRACE("WORD(7) "); + return WORD; + } + + \" { + LEXTRACE("BEGINSTR "); + sudoerslval.string = NULL; + prev_state = INITIAL; + BEGIN INSTR; + } +} + +\( { + LEXTRACE("( "); + return '('; + } + +\) { + LEXTRACE(") "); + return ')'; + } + +, { + LEXTRACE(", "); + return ','; + } /* return ',' */ + += { + LEXTRACE("= "); + return '='; + } /* return '=' */ + +: { + LEXTRACE(": "); + return ':'; + } /* return ':' */ + +<*>!+ { + if (sudoersleng & 1) { + LEXTRACE("!"); + return '!'; /* return '!' */ + } + } + +<*>\r?\n { + if (YY_START == INSTR) { + /* throw away old string */ + parser_leak_remove(LEAK_PTR, sudoerslval.string); + free(sudoerslval.string); + /* re-scan after changing state */ + BEGIN INITIAL; + sudoersless(0); + sudoers_errstr = N_("unexpected line break in string"); + LEXTRACE("ERROR "); + return ERROR; + } + BEGIN INITIAL; + sudolineno++; + continued = false; + LEXTRACE("\n"); + return '\n'; + } /* return newline */ + +<*>[[:blank:]]+ { /* throw away space/tabs */ + sawspace = true; /* but remember for fill_args */ + } + +<*>\\[[:blank:]]*\r?\n { + sawspace = true; /* remember for fill_args */ + sudolineno++; + continued = true; + } /* throw away EOL after \ */ + +#(-[^\r\n0-9].*|[^\r\n0-9-].*)?(\r\n|\n)? { + if (sudoerstext[sudoersleng - 1] == '\n') { + /* comment ending in a newline */ + BEGIN INITIAL; + sudolineno++; + continued = false; + } else if (!feof(sudoersin)) { + sudoers_errstr = strerror(errno); + LEXTRACE("ERROR "); + return ERROR; + } + LEXTRACE("#\n"); + return '\n'; + } /* comment, not uid/gid */ + +<*>. { + LEXTRACE("NOMATCH "); + return NOMATCH; + } /* parse error, no matching token */ + +<*><> { + if (!pop_include()) + yyterminate(); + } + +%% +struct path_list { + SLIST_ENTRY(path_list) entries; + char *path; +}; + +SLIST_HEAD(path_list_head, path_list); + +struct include_stack { + struct sudolinebuf line; + YY_BUFFER_STATE bs; + char *path; + struct path_list_head more; /* more files in case of includedir */ + int lineno; + bool keepopen; +}; + +/* + * Compare two struct path_list structs in reverse order. + */ +static int +pl_compare(const void *v1, const void *v2) +{ + const struct path_list * const *p1 = v1; + const struct path_list * const *p2 = v2; + + return strcmp((*p2)->path, (*p1)->path); +} + +/* + * Open dirpath and fill in pathsp with an array of regular files + * that do not end in '~' or contain a '.'. + * Returns the number of files or -1 on error. + * If zero files are found, NULL is stored in pathsp. + */ +static int +read_dir_files(const char *dirpath, struct path_list ***pathsp) +{ + DIR *dir; + int i, count = 0; + int max_paths = 32; + struct dirent *dent; + struct path_list **paths = NULL; + const size_t dirlen = strlen(dirpath); + debug_decl(read_dir_files, SUDOERS_DEBUG_PARSER); + + dir = opendir(dirpath); + if (dir == NULL) { + if (errno == ENOENT) + goto done; + sudo_warn("%s", dirpath); + goto bad; + } + paths = reallocarray(NULL, max_paths, sizeof(*paths)); + if (paths == NULL) + goto oom; + while ((dent = readdir(dir)) != NULL) { + const size_t namelen = NAMLEN(dent); + struct path_list *pl; + struct stat sb; + size_t len; + char *path; + + /* Ignore files that end in '~' or have a '.' in them. */ + if (namelen == 0 || dent->d_name[namelen - 1] == '~' + || strchr(dent->d_name, '.') != NULL) { + continue; + } + len = dirlen + 1 + namelen; + if ((path = sudo_rcstr_alloc(len)) == NULL) + goto oom; + if ((size_t)snprintf(path, len + 1, "%s/%s", dirpath, dent->d_name) != len) { + sudo_warnx(U_("internal error, %s overflow"), __func__); + sudo_rcstr_delref(path); + goto bad; + } + if (stat(path, &sb) != 0 || !S_ISREG(sb.st_mode)) { + sudo_rcstr_delref(path); + continue; + } + pl = malloc(sizeof(*pl)); + if (pl == NULL) { + sudo_rcstr_delref(path); + goto oom; + } + pl->path = path; + if (count >= max_paths) { + struct path_list **tmp; + max_paths <<= 1; + tmp = reallocarray(paths, max_paths, sizeof(*paths)); + if (tmp == NULL) { + sudo_rcstr_delref(path); + free(pl); + goto oom; + } + paths = tmp; + } + paths[count++] = pl; + } + closedir(dir); + if (count == 0) { + free(paths); + paths = NULL; + } +done: + *pathsp = paths; + debug_return_int(count); +oom: + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); +bad: + sudoerserror(NULL); + if (dir != NULL) + closedir(dir); + for (i = 0; i < count; i++) { + sudo_rcstr_delref(paths[i]->path); + free(paths[i]); + } + free(paths); + debug_return_int(-1); +} + +/* + * Push a list of all files in dirpath onto stack. + * Returns the number of files or -1 on error. + */ +static int +switch_dir(struct include_stack *stack, char *dirpath) +{ + struct path_list **paths = NULL; + int count, i; + debug_decl(switch_dir, SUDOERS_DEBUG_PARSER); + + count = read_dir_files(dirpath, &paths); + if (count > 0) { + /* Sort the list as an array in reverse order. */ + qsort(paths, count, sizeof(*paths), pl_compare); + + /* Build up the list in sorted order. */ + for (i = 0; i < count; i++) { + SLIST_INSERT_HEAD(&stack->more, paths[i], entries); + } + free(paths); + } + + debug_return_int(count); +} + +#define MAX_SUDOERS_DEPTH 128 +#define SUDOERS_STACK_INCREMENT 16 + +static size_t istacksize, idepth; +static struct include_stack *istack; +static bool keepopen; + +void +init_lexer(void) +{ + struct path_list *pl; + debug_decl(init_lexer, SUDOERS_DEBUG_PARSER); + +#ifndef TRACELEXER + free(trace_lbuf.buf); + sudo_lbuf_init(&trace_lbuf, NULL, 0, NULL, 0); +#endif + + while (idepth) { + idepth--; + while ((pl = SLIST_FIRST(&istack[idepth].more)) != NULL) { + SLIST_REMOVE_HEAD(&istack[idepth].more, entries); + sudo_rcstr_delref(pl->path); + free(pl); + } + sudo_rcstr_delref(istack[idepth].path); + if (idepth && !istack[idepth].keepopen) + fclose(istack[idepth].bs->yy_input_file); + sudoers_delete_buffer(istack[idepth].bs); + free(istack[idepth].line.buf); + } + free(istack); + istack = NULL; + istacksize = idepth = 0; + free(sudolinebuf.buf); + memset(&sudolinebuf, 0, sizeof(sudolinebuf)); + sudolineno = 1; + keepopen = false; + sawspace = false; + continued = false; + digest_type = -1; + prev_state = INITIAL; + BEGIN INITIAL; + + debug_return; +} + +/* + * Expand any embedded %h (host) escapes in the given path and makes + * a relative path fully-qualified based on the current sudoers file. + * Returns a reference-counted string. + */ +static char * +expand_include(const char *opath) +{ + const char *cp, *ep; + char *path, *pp; + size_t len, olen, dirlen = 0; + bool subst = false; + debug_decl(expand_include, SUDOERS_DEBUG_PARSER); + + /* Strip double quotes if present. */ + olen = strlen(opath); + if (olen > 1 && opath[0] == '"' && opath[olen - 1] == '"') { + opath++; + olen -= 2; + } + if (olen == 0) + debug_return_ptr(NULL); + + /* Relative paths are located in the same dir as the sudoers file. */ + if (*opath != '/') { + char *dirend = strrchr(sudoers, '/'); + if (dirend != NULL) + dirlen = (size_t)(dirend - sudoers) + 1; + } + + cp = opath; + ep = opath + olen; + len = olen; + while (cp < ep) { + if (cp[0] == '%' && cp[1] == 'h') { + subst = true; + len += strlen(user_shost); + cp += 2; + continue; + } + cp++; + } + + /* Make a copy of the fully-qualified path and return it. */ + path = pp = sudo_rcstr_alloc(dirlen + len); + if (path == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + sudoerserror(NULL); + debug_return_str(NULL); + } + if (dirlen) { + memcpy(path, sudoers, dirlen); + pp += dirlen; + } + if (subst) { + /* substitute for %h */ + cp = opath; + while (cp < ep) { + if (cp[0] == '%' && cp[1] == 'h') { + size_t n = strlcpy(pp, user_shost, len + 1); + if (n >= len + 1) + goto oflow; + cp += 2; + pp += n; + len -= n; + continue; + } + if (len < 1) + goto oflow; + *pp++ = *cp++; + len--; + } + *pp = '\0'; + } else { + memcpy(pp, opath, len); + pp[len] = '\0'; + } + + debug_return_str(path); +oflow: + sudo_warnx(U_("internal error, %s overflow"), __func__); + sudoerserror(NULL); + sudo_rcstr_delref(path); + debug_return_str(NULL); +} + +/* + * Open an include file (or file from a directory), push the old + * sudoers file buffer and switch to the new one. + * A missing or insecure include dir is simply ignored. + * Returns false on error, else true. + */ +bool +push_include(const char *opath, bool isdir) +{ + struct path_list *pl; + char *path; + FILE *fp; + debug_decl(push_include, SUDOERS_DEBUG_PARSER); + + if ((path = expand_include(opath)) == NULL) + debug_return_bool(false); + + /* push current state onto stack */ + if (idepth >= istacksize) { + struct include_stack *new_istack; + + if (idepth > MAX_SUDOERS_DEPTH) { + if (sudoers_warnings) + sudo_warnx(U_("%s: %s"), path, U_("too many levels of includes")); + sudoerserror(NULL); + sudo_rcstr_delref(path); + debug_return_bool(false); + } + istacksize += SUDOERS_STACK_INCREMENT; + new_istack = reallocarray(istack, istacksize, sizeof(*istack)); + if (new_istack == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + sudoerserror(NULL); + sudo_rcstr_delref(path); + debug_return_bool(false); + } + istack = new_istack; + } + SLIST_INIT(&istack[idepth].more); + if (isdir) { + struct stat sb; + int count, status; + + status = sudo_secure_dir(path, sudoers_uid, sudoers_gid, &sb); + if (status != SUDO_PATH_SECURE) { + if (sudoers_warnings) { + switch (status) { + case SUDO_PATH_BAD_TYPE: + errno = ENOTDIR; + sudo_warn("%s", path); + break; + case SUDO_PATH_WRONG_OWNER: + sudo_warnx(U_("%s is owned by uid %u, should be %u"), + path, (unsigned int) sb.st_uid, + (unsigned int) sudoers_uid); + break; + case SUDO_PATH_WORLD_WRITABLE: + sudo_warnx(U_("%s is world writable"), path); + break; + case SUDO_PATH_GROUP_WRITABLE: + sudo_warnx(U_("%s is owned by gid %u, should be %u"), + path, (unsigned int) sb.st_gid, + (unsigned int) sudoers_gid); + break; + default: + break; + } + } + /* A missing or insecure include dir is not a fatal error. */ + sudo_rcstr_delref(path); + debug_return_bool(true); + } + count = switch_dir(&istack[idepth], path); + if (count <= 0) { + /* switch_dir() called sudoerserror() for us */ + sudo_rcstr_delref(path); + debug_return_bool(count ? false : true); + } + + /* Parse the first dir entry we can open, leave the rest for later. */ + do { + sudo_rcstr_delref(path); + if ((pl = SLIST_FIRST(&istack[idepth].more)) == NULL) { + /* Unable to open any files in include dir, not an error. */ + debug_return_bool(true); + } + SLIST_REMOVE_HEAD(&istack[idepth].more, entries); + path = pl->path; + free(pl); + } while ((fp = open_sudoers(path, false, &keepopen)) == NULL); + } else { + if ((fp = open_sudoers(path, true, &keepopen)) == NULL) { + /* The error was already printed by open_sudoers() */ + sudoerserror(NULL); + sudo_rcstr_delref(path); + debug_return_bool(false); + } + } + /* Push the old (current) file and open the new one. */ + istack[idepth].path = sudoers; /* push old path (and its ref) */ + istack[idepth].line = sudolinebuf; + istack[idepth].bs = YY_CURRENT_BUFFER; + istack[idepth].lineno = sudolineno; + istack[idepth].keepopen = keepopen; + idepth++; + sudolineno = 1; + sudoers = path; + sudoers_switch_to_buffer(sudoers_create_buffer(fp, YY_BUF_SIZE)); + memset(&sudolinebuf, 0, sizeof(sudolinebuf)); + + debug_return_bool(true); +} + +/* + * Restore the previous sudoers file and buffer, or, in the case + * of an includedir, switch to the next file in the dir. + * Returns false if there is nothing to pop, else true. + */ +static bool +pop_include(void) +{ + struct path_list *pl; + FILE *fp; + debug_decl(pop_include, SUDOERS_DEBUG_PARSER); + + if (idepth == 0 || YY_CURRENT_BUFFER == NULL) + debug_return_bool(false); + + if (!keepopen) + fclose(YY_CURRENT_BUFFER->yy_input_file); + sudoers_delete_buffer(YY_CURRENT_BUFFER); + /* If we are in an include dir, move to the next file. */ + while ((pl = SLIST_FIRST(&istack[idepth - 1].more)) != NULL) { + SLIST_REMOVE_HEAD(&istack[idepth - 1].more, entries); + fp = open_sudoers(pl->path, false, &keepopen); + if (fp != NULL) { + sudolinebuf.len = sudolinebuf.off = 0; + sudolinebuf.toke_start = sudolinebuf.toke_end = 0; + sudo_rcstr_delref(sudoers); + sudoers = pl->path; + sudolineno = 1; + sudoers_switch_to_buffer(sudoers_create_buffer(fp, YY_BUF_SIZE)); + free(pl); + break; + } + /* Unable to open path in include dir, go to next one. */ + sudo_rcstr_delref(pl->path); + free(pl); + } + /* If no path list, just pop the last dir on the stack. */ + if (pl == NULL) { + idepth--; + sudoers_switch_to_buffer(istack[idepth].bs); + free(sudolinebuf.buf); + sudolinebuf = istack[idepth].line; + sudo_rcstr_delref(sudoers); + sudoers = istack[idepth].path; + sudolineno = istack[idepth].lineno; + keepopen = istack[idepth].keepopen; + } + debug_return_bool(true); +} + +#ifdef TRACELEXER +int +sudoers_trace_print(const char *msg) +{ + return fputs(msg, stderr); +} +#else +int +sudoers_trace_print(const char *msg) +{ + const int sudo_debug_subsys = SUDOERS_DEBUG_PARSER; + + if (sudo_debug_needed(SUDO_DEBUG_DEBUG)) { + sudo_lbuf_append(&trace_lbuf, "%s", msg); + if (strchr(msg, '\n') != NULL) + { + /* We already parsed the newline so sudolineno is off by one. */ + sudo_debug_printf2(NULL, NULL, 0, + sudo_debug_subsys|SUDO_DEBUG_DEBUG, "sudoerslex: %s:%d: %s", + sudoers, sudolineno - 1, trace_lbuf.buf); + trace_lbuf.len = 0; + } + } + return 0; +} +#endif /* TRACELEXER */ + +/* + * Custom input function that uses getdelim(3) and stores the buffer + * where the error functions can access it for better reporting. + * On success, buf is guaranteed to end in a newline and not contain + * embedded NULs. Calls YY_FATAL_ERROR on error. + */ +static yy_size_t +sudoers_input(char *buf, yy_size_t max_size) +{ + char *cp; + size_t avail = sudolinebuf.len - sudolinebuf.off; + debug_decl(sudoers_input, SUDOERS_DEBUG_PARSER); + + /* Refill line buffer if needed. */ + if (avail == 0) { + /* + * Some getdelim(3) implementations write NUL to buf on EOF. + * We peek ahead one char to detect EOF and skip the getdelim() call. + * This will preserve the original value of the last line read. + */ + int ch = getc(sudoersin); + if (ch == EOF) + goto sudoers_eof; + ungetc(ch, sudoersin); + avail = getdelim(&sudolinebuf.buf, &sudolinebuf.size, '\n', sudoersin); + if (avail == (size_t)-1) { +sudoers_eof: + /* EOF or error. */ + if (feof(sudoersin)) + return 0; + YY_FATAL_ERROR("input in flex scanner failed"); + } + + /* getdelim() can return embedded NULs, truncate if we find one. */ + cp = memchr(sudolinebuf.buf, '\0', avail); + if (cp != NULL) { + *cp++ = '\n'; + *cp = '\0'; + avail = (size_t)(cp - sudolinebuf.buf); + } + + /* Add trailing newline if it is missing. */ + if (sudolinebuf.buf[avail - 1] != '\n') { + if (avail + 2 >= sudolinebuf.size) { + cp = realloc(sudolinebuf.buf, avail + 2); + if (cp == NULL) { + YY_FATAL_ERROR("unable to allocate memory"); + return 0; + } + sudolinebuf.buf = cp; + sudolinebuf.size = avail + 2; + } + sudolinebuf.buf[avail++] = '\n'; + sudolinebuf.buf[avail] = '\0'; + } + + sudo_debug_printf(SUDO_DEBUG_DEBUG, "%s:%d: %.*s", sudoers, sudolineno, + (int)(avail -1), sudolinebuf.buf); + + sudolinebuf.len = avail; + sudolinebuf.off = 0; + sudolinebuf.toke_start = sudolinebuf.toke_end = 0; + } + + if (avail > max_size) + avail = max_size; + memcpy(buf, sudolinebuf.buf + sudolinebuf.off, avail); + sudolinebuf.off += avail; + + debug_return_size_t(avail); +} diff --git a/plugins/sudoers/toke_util.c b/plugins/sudoers/toke_util.c new file mode 100644 index 0000000..d38ae96 --- /dev/null +++ b/plugins/sudoers/toke_util.c @@ -0,0 +1,248 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1996, 1998-2005, 2007-2016 + * Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Sponsored in part by the Defense Advanced Research Projects + * Agency (DARPA) and Air Force Research Laboratory, Air Force + * Materiel Command, USAF, under agreement number F39502-99-1-0512. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include +#include + +#include "sudoers.h" +#include "toke.h" +#include + +static unsigned int arg_len = 0; +static unsigned int arg_size = 0; + +/* + * Copy the string and collapse any escaped characters. + * Requires that dst have at least len + 1 bytes free. + */ +static void +copy_string(char *dst, const char *src, size_t len) +{ + int h; + + while (len--) { + if (*src == '\\' && len) { + if (src[1] == 'x' && len >= 3 && (h = sudo_hexchar(src + 2)) != -1) { + *dst++ = h; + src += 4; + len -= 3; + } else { + src++; + len--; + *dst++ = *src++; + } + } else { + *dst++ = *src++; + } + } + *dst = '\0'; +} + +bool +fill(const char *src, size_t len) +{ + char *dst; + debug_decl(fill, SUDOERS_DEBUG_PARSER); + + dst = malloc(len + 1); + if (dst == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + sudoerserror(NULL); + debug_return_bool(false); + } + parser_leak_add(LEAK_PTR, dst); + copy_string(dst, src, len); + sudoerslval.string = dst; + + debug_return_bool(true); +} + +bool +append(const char *src, size_t len) +{ + size_t olen = 0; + char *dst; + debug_decl(append, SUDOERS_DEBUG_PARSER); + + if (sudoerslval.string != NULL) { + olen = strlen(sudoerslval.string); + parser_leak_remove(LEAK_PTR, sudoerslval.string); + } + + dst = realloc(sudoerslval.string, olen + len + 1); + if (dst == NULL) { + /* realloc failure, avoid leaking original */ + free(sudoerslval.string); + sudoerslval.string = NULL; + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + sudoerserror(NULL); + debug_return_bool(false); + } + parser_leak_add(LEAK_PTR, dst); + copy_string(dst + olen, src, len); + sudoerslval.string = dst; + + debug_return_bool(true); +} + +#define SPECIAL(c) \ + ((c) == ',' || (c) == ':' || (c) == '=' || (c) == ' ' || (c) == '\t' || (c) == '#') + +bool +fill_cmnd(const char *src, size_t len) +{ + char *dst; + size_t i; + debug_decl(fill_cmnd, SUDOERS_DEBUG_PARSER); + + arg_len = arg_size = 0; + + dst = sudoerslval.command.cmnd = malloc(len + 1); + if (dst == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + sudoerserror(NULL); + debug_return_bool(false); + } + sudoerslval.command.args = NULL; + + if (src[0] == '^') { + /* Copy the regular expression, no escaped sudo-specific characters. */ + memcpy(dst, src, len); + dst[len] = '\0'; + } else { + /* Copy the string and collapse any escaped sudo-specific characters. */ + for (i = 0; i < len; i++) { + if (src[i] == '\\' && i != len - 1 && SPECIAL(src[i + 1])) + *dst++ = src[++i]; + else + *dst++ = src[i]; + } + *dst = '\0'; + + /* Check for sudoedit specified as a fully-qualified path. */ + if ((dst = strrchr(sudoerslval.command.cmnd, '/')) != NULL) { // -V575 + if (strcmp(dst, "/sudoedit") == 0) { + if (sudoers_strict) { + sudoerserror( + N_("sudoedit should not be specified with a path")); + } + free(sudoerslval.command.cmnd); + if ((sudoerslval.command.cmnd = strdup("sudoedit")) == NULL) { + sudo_warnx(U_("%s: %s"), __func__, + U_("unable to allocate memory")); + debug_return_bool(false); + } + } + } + } + + parser_leak_add(LEAK_PTR, sudoerslval.command.cmnd); + debug_return_bool(true); +} + +bool +fill_args(const char *s, size_t len, int addspace) +{ + unsigned int new_len; + char *p; + debug_decl(fill_args, SUDOERS_DEBUG_PARSER); + + if (arg_size == 0) { +#ifdef NO_LEAKS + if (sudoerslval.command.args != NULL) { + sudo_warnx("%s: command.args %p, should be NULL", __func__, + sudoerslval.command.args); + sudoerslval.command.args = NULL; + } +#endif + addspace = 0; + new_len = len; + } else { + new_len = arg_len + len + addspace; + } + + if (new_len >= arg_size) { + /* Allocate in increments of 128 bytes to avoid excessive realloc(). */ + arg_size = (new_len + 1 + 127) & ~127; + + parser_leak_remove(LEAK_PTR, sudoerslval.command.args); + p = realloc(sudoerslval.command.args, arg_size); + if (p == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + goto bad; + } + parser_leak_add(LEAK_PTR, p); + sudoerslval.command.args = p; + } + + /* Efficiently append the arg (with a leading space if needed). */ + p = sudoerslval.command.args + arg_len; + if (addspace) + *p++ = ' '; + len = arg_size - (p - sudoerslval.command.args); + if (strlcpy(p, s, len) >= len) { + sudo_warnx(U_("internal error, %s overflow"), __func__); + parser_leak_remove(LEAK_PTR, sudoerslval.command.args); + goto bad; + } + arg_len = new_len; + debug_return_bool(true); +bad: + sudoerserror(NULL); + free(sudoerslval.command.args); + sudoerslval.command.args = NULL; + arg_len = arg_size = 0; + debug_return_bool(false); +} + +/* + * Check to make sure an IPv6 address does not contain multiple instances + * of the string "::". Assumes strlen(s) >= 1. + * Returns true if address is valid else false. + */ +bool +ipv6_valid(const char *s) +{ + int nmatch = 0; + debug_decl(ipv6_valid, SUDOERS_DEBUG_PARSER); + + for (; *s != '\0'; s++) { + if (s[0] == ':' && s[1] == ':') { + if (++nmatch > 1) + break; + } + if (s[0] == '/') + nmatch = 0; /* reset if we hit netmask */ + } + + debug_return_bool(nmatch <= 1); +} diff --git a/plugins/sudoers/tsdump.c b/plugins/sudoers/tsdump.c new file mode 100644 index 0000000..abe56e8 --- /dev/null +++ b/plugins/sudoers/tsdump.c @@ -0,0 +1,311 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2018-2020 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include +#include +#include +#include +#include +#include +#include +#include + +#include "sudoers.h" +#include "check.h" + +struct timestamp_entry_common { + unsigned short version; /* version number */ + unsigned short size; /* entry size */ + unsigned short type; /* TS_GLOBAL, TS_TTY, TS_PPID */ + unsigned short flags; /* TS_DISABLED, TS_ANYUID */ +}; + +union timestamp_entry_storage { + struct timestamp_entry_common common; + struct timestamp_entry_v1 v1; + struct timestamp_entry v2; +}; + +sudo_dso_public int main(int argc, char *argv[]); + +static void dump_entry(struct timestamp_entry *entry, off_t pos); +static bool valid_entry(union timestamp_entry_storage *u, off_t pos); +static bool convert_entry(union timestamp_entry_storage *record, struct timespec *off); +sudo_noreturn static void usage(void); + +/* + * tsdump: a simple utility to dump the contents of a time stamp file. + * Unlock sudo, does not perform any locking of the time stamp file. + */ + +int +main(int argc, char *argv[]) +{ + int ch, fd; + const char *user = NULL; + char *fname = NULL; + union timestamp_entry_storage cur; + struct timespec now, timediff; + debug_decl(main, SUDOERS_DEBUG_MAIN); + +#if defined(SUDO_DEVEL) && defined(__OpenBSD__) + malloc_options = "S"; +#endif + + initprogname(argc > 0 ? argv[0] : "tsdump"); + + bindtextdomain("sudoers", LOCALEDIR); + textdomain("sudoers"); + + /* Initialize the debug subsystem. */ + if (sudo_conf_read(NULL, SUDO_CONF_DEBUG) == -1) + exit(EXIT_FAILURE); + sudoers_debug_register(getprogname(), sudo_conf_debug_files(getprogname())); + + while ((ch = getopt(argc, argv, "f:u:")) != -1) { + switch (ch) { + case 'f': + fname = optarg; + break; + case 'u': + user = optarg; + break; + default: + usage(); + } + } + argc -= optind; + argv += optind; + + if (fname != NULL && user != NULL) { + sudo_warnx("the -f and -u flags are mutually exclusive"); + usage(); + } + + /* Calculate the difference between real time and mono time. */ + if (sudo_gettime_real(&now) == -1) + sudo_fatal("unable to get current time"); + if (sudo_gettime_mono(&timediff) == -1) + sudo_fatal("unable to read the clock"); + sudo_timespecsub(&now, &timediff, &timediff); + + if (fname == NULL) { + struct passwd *pw; + + if (user == NULL) { + if ((pw = getpwuid(geteuid())) == NULL) + sudo_fatalx(U_("unknown uid %u"), (unsigned int)geteuid()); + user = pw->pw_name; + } + if (asprintf(&fname, "%s/%s", _PATH_SUDO_TIMEDIR, user) == -1) + sudo_fatalx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + } + + fd = open(fname, O_RDONLY); + if (fd == -1) + sudo_fatal(U_("unable to open %s"), fname); + + for (;;) { + off_t pos = lseek(fd, 0, SEEK_CUR); + ssize_t nread; + bool valid; + + if ((nread = read(fd, &cur, sizeof(cur))) == 0) + break; + if (nread == -1) + sudo_fatal(U_("unable to read %s"), fname); + + valid = valid_entry(&cur, pos); + if (cur.common.size != 0 && cur.common.size != sizeof(cur)) { + off_t offset = (off_t)cur.common.size - (off_t)sizeof(cur); + if (lseek(fd, offset, SEEK_CUR) == -1) + sudo_fatal("unable to seek %d bytes", (int)offset); + } + if (valid) { + /* Convert entry to latest version as needed. */ + if (!convert_entry(&cur, &timediff)) + continue; + dump_entry(&cur.v2, pos); + } + } + + return 0; +} + +static bool +valid_entry(union timestamp_entry_storage *u, off_t pos) +{ + struct timestamp_entry *entry = (struct timestamp_entry *)u; + debug_decl(valid_entry, SUDOERS_DEBUG_UTIL); + + switch (entry->version) { + case 1: + if (entry->size != sizeof(struct timestamp_entry_v1)) { + printf("wrong sized v1 record @ %lld, got %hu, expected %zu\n", + (long long)pos, entry->size, sizeof(struct timestamp_entry_v1)); + debug_return_bool(false); + } + break; + case 2: + if (entry->size != sizeof(struct timestamp_entry)) { + printf("wrong sized v2 record @ %lld, got %hu, expected %zu\n", + (long long)pos, entry->size, sizeof(struct timestamp_entry)); + debug_return_bool(false); + } + break; + default: + printf("unknown time stamp entry version %d @ %lld\n", + (int)entry->version, (long long)pos); + debug_return_bool(false); + break; + } + debug_return_bool(true); +} + +static char * +type2string(int type) +{ + static char name[64]; + debug_decl(type2string, SUDOERS_DEBUG_UTIL); + + switch (type) { + case TS_LOCKEXCL: + debug_return_str("TS_LOCKEXCL"); + case TS_GLOBAL: + debug_return_str("TS_GLOBAL"); + case TS_TTY: + debug_return_str("TS_TTY"); + case TS_PPID: + debug_return_str("TS_PPID"); + } + (void)snprintf(name, sizeof(name), "UNKNOWN (0x%x)", type); + debug_return_str(name); +} + +static void +print_flags(int flags) +{ + bool first = true; + debug_decl(print_flags, SUDOERS_DEBUG_UTIL); + + printf("flags: "); + if (ISSET(flags, TS_DISABLED)) { + printf("%sTS_DISABLED", first ? "" : ", "); + CLR(flags, TS_DISABLED); + first = false; + } + if (ISSET(flags, TS_ANYUID)) { + /* TS_ANYUID should never appear on disk. */ + printf("%sTS_ANYUID", first ? "" : ", "); + CLR(flags, TS_ANYUID); + first = false; + } + if (flags != 0) + printf("%s0x%x", first ? "" : ", ", flags); + putchar('\n'); + + debug_return; +} + +/* + * Convert an older entry to current. + * Also adjusts time stamps on Linux to be wallclock time. + */ +static bool +convert_entry(union timestamp_entry_storage *record, struct timespec *off) +{ + union timestamp_entry_storage orig; + debug_decl(convert_entry, SUDOERS_DEBUG_UTIL); + + if (record->common.version != TS_VERSION) { + if (record->common.version != 1) { + sudo_warnx("unexpected record version %hu", record->common.version); + debug_return_bool(false); + } + + /* The first four fields are the same regardless of version. */ + memcpy(&orig, record, sizeof(union timestamp_entry_storage)); + record->v2.auth_uid = orig.v1.auth_uid; + record->v2.sid = orig.v1.sid; + sudo_timespecclear(&record->v2.start_time); + record->v2.ts = orig.v1.ts; + if (record->common.type == TS_TTY) + record->v2.u.ttydev = orig.v1.u.ttydev; + else if (record->common.type == TS_PPID) + record->v2.u.ppid = orig.v1.u.ppid; + else + memset(&record->v2.u, 0, sizeof(record->v2.u)); + } + + /* On Linux, start time is relative to boot time, adjust to real time. */ +#ifdef __linux__ + if (sudo_timespecisset(&record->v2.start_time)) + sudo_timespecadd(&record->v2.start_time, off, &record->v2.start_time); +#endif + + /* Adjust time stamp from mono time to real time. */ + if (sudo_timespecisset(&record->v2.ts)) + sudo_timespecadd(&record->v2.ts, off, &record->v2.ts); + + debug_return_bool(true); +} + +static void +dump_entry(struct timestamp_entry *entry, off_t pos) +{ + debug_decl(dump_entry, SUDOERS_DEBUG_UTIL); + + printf("position: %lld\n", (long long)pos); + printf("version: %hu\n", entry->version); + printf("size: %hu\n", entry->size); + printf("type: %s\n", type2string(entry->type)); + print_flags(entry->flags); + printf("auth uid: %d\n", (int)entry->auth_uid); + printf("session ID: %d\n", (int)entry->sid); + if (sudo_timespecisset(&entry->start_time)) + printf("start time: %s", ctime(&entry->start_time.tv_sec)); + if (sudo_timespecisset(&entry->ts)) + printf("time stamp: %s", ctime(&entry->ts.tv_sec)); + if (entry->type == TS_TTY) { + char tty[PATH_MAX]; + if (sudo_ttyname_dev(entry->u.ttydev, tty, sizeof(tty)) == NULL) + printf("terminal: %d\n", (int)entry->u.ttydev); + else + printf("terminal: %s\n", tty); + } else if (entry->type == TS_PPID) { + printf("parent pid: %d\n", (int)entry->u.ppid); + } + printf("\n"); + + debug_return; +} + +static void +usage(void) +{ + fprintf(stderr, "usage: %s [-f timestamp_file] | [-u username]\n", + getprogname()); + exit(EXIT_FAILURE); +} diff --git a/plugins/sudoers/tsgetgrpw.c b/plugins/sudoers/tsgetgrpw.c new file mode 100644 index 0000000..19fb798 --- /dev/null +++ b/plugins/sudoers/tsgetgrpw.c @@ -0,0 +1,421 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2005, 2008, 2010-2015, 2022 + * Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +/* + * Trivial replacements for the libc getgrent() and getpwent() family + * of functions for use by testsudoers in the sudo test harness. + * We need our own since many platforms don't provide set{pw,gr}file(). + */ + +#include + +#include +#include +#include +#include +#include +#include + +#include "tsgetgrpw.h" +#include "sudoers.h" + +#undef GRMEM_MAX +#define GRMEM_MAX 200 + +#ifndef UID_MAX +# define UID_MAX 0xffffffffU +#endif + +#ifndef GID_MAX +# define GID_MAX UID_MAX +#endif + +static FILE *pwf; +static const char *pwfile = "/etc/passwd"; +static int pw_stayopen; + +static FILE *grf; +static const char *grfile = "/etc/group"; +static int gr_stayopen; + +void +testsudoers_setpwfile(const char *file) +{ + pwfile = file; + if (pwf != NULL) + testsudoers_endpwent(); +} + +static int +open_passwd(int reset) +{ + if (pwf == NULL) { + pwf = fopen(pwfile, "r"); + if (pwf != NULL) { + if (fcntl(fileno(pwf), F_SETFD, FD_CLOEXEC) == -1) { + fclose(pwf); + pwf = NULL; + } + } + if (pwf == NULL) + return 0; + } else if (reset) { + rewind(pwf); + } + return 1; +} + +int +testsudoers_setpassent(int stayopen) +{ + if (!open_passwd(1)) + return 0; + pw_stayopen = stayopen; + return 1; +} + +void +testsudoers_setpwent(void) +{ + testsudoers_setpassent(0); +} + +void +testsudoers_endpwent(void) +{ + if (pwf != NULL) { + fclose(pwf); + pwf = NULL; + } + pw_stayopen = 0; +} + +struct passwd * +testsudoers_getpwent(void) +{ + static struct passwd pw; + static char pwbuf[LINE_MAX]; + size_t len; + id_t id; + char *cp, *colon; + const char *errstr; + + if (!open_passwd(0)) + return NULL; + +next_entry: + if ((colon = fgets(pwbuf, sizeof(pwbuf), pwf)) == NULL) + return NULL; + + memset(&pw, 0, sizeof(pw)); + if ((colon = strchr(cp = colon, ':')) == NULL) + goto next_entry; + *colon++ = '\0'; + pw.pw_name = cp; + if ((colon = strchr(cp = colon, ':')) == NULL) + goto next_entry; + *colon++ = '\0'; + pw.pw_passwd = cp; + if ((colon = strchr(cp = colon, ':')) == NULL) + goto next_entry; + *colon++ = '\0'; + id = sudo_strtoid(cp, &errstr); + if (errstr != NULL) + goto next_entry; + pw.pw_uid = (uid_t)id; + if ((colon = strchr(cp = colon, ':')) == NULL) + goto next_entry; + *colon++ = '\0'; + id = sudo_strtoid(cp, &errstr); + if (errstr != NULL) + goto next_entry; + pw.pw_gid = (gid_t)id; + if ((colon = strchr(cp = colon, ':')) == NULL) + goto next_entry; + *colon++ = '\0'; + pw.pw_gecos = cp; + if ((colon = strchr(cp = colon, ':')) == NULL) + goto next_entry; + *colon++ = '\0'; + pw.pw_dir = cp; + pw.pw_shell = colon; + len = strlen(colon); + if (len > 0 && colon[len - 1] == '\n') + colon[len - 1] = '\0'; + return &pw; +} + +struct passwd * +testsudoers_getpwnam(const char *name) +{ + struct passwd *pw; + + if (!open_passwd(1)) + return NULL; + while ((pw = testsudoers_getpwent()) != NULL) { + if (strcmp(pw->pw_name, name) == 0) + break; + } + if (!pw_stayopen) { + fclose(pwf); + pwf = NULL; + } + return pw; +} + +struct passwd * +testsudoers_getpwuid(uid_t uid) +{ + struct passwd *pw; + + if (!open_passwd(1)) + return NULL; + while ((pw = testsudoers_getpwent()) != NULL) { + if (pw->pw_uid == uid) + break; + } + if (!pw_stayopen) { + fclose(pwf); + pwf = NULL; + } + return pw; +} + +void +testsudoers_setgrfile(const char *file) +{ + grfile = file; + if (grf != NULL) + testsudoers_endgrent(); +} + +static int +open_group(int reset) +{ + if (grf == NULL) { + grf = fopen(grfile, "r"); + if (grf != NULL) { + if (fcntl(fileno(grf), F_SETFD, FD_CLOEXEC) == -1) { + fclose(grf); + grf = NULL; + } + } + if (grf == NULL) + return 0; + } else if (reset) { + rewind(grf); + } + return 1; +} + +int +testsudoers_setgroupent(int stayopen) +{ + if (!open_group(1)) + return 0; + gr_stayopen = stayopen; + return 1; +} + +void +testsudoers_setgrent(void) +{ + testsudoers_setgroupent(0); +} + +void +testsudoers_endgrent(void) +{ + if (grf != NULL) { + fclose(grf); + grf = NULL; + } + gr_stayopen = 0; +} + +struct group * +testsudoers_getgrent(void) +{ + static struct group gr; + static char grbuf[LINE_MAX], *gr_mem[GRMEM_MAX+1]; + size_t len; + id_t id; + char *cp, *colon; + const char *errstr; + int n; + + if (!open_group(0)) + return NULL; + +next_entry: + if ((colon = fgets(grbuf, sizeof(grbuf), grf)) == NULL) + return NULL; + + memset(&gr, 0, sizeof(gr)); + if ((colon = strchr(cp = colon, ':')) == NULL) + goto next_entry; + *colon++ = '\0'; + gr.gr_name = cp; + if ((colon = strchr(cp = colon, ':')) == NULL) + goto next_entry; + *colon++ = '\0'; + gr.gr_passwd = cp; + if ((colon = strchr(cp = colon, ':')) == NULL) + goto next_entry; + *colon++ = '\0'; + id = sudo_strtoid(cp, &errstr); + if (errstr != NULL) + goto next_entry; + gr.gr_gid = (gid_t)id; + len = strlen(colon); + if (len > 0 && colon[len - 1] == '\n') + colon[len - 1] = '\0'; + if (*colon != '\0') { + char *last; + + gr.gr_mem = gr_mem; + cp = strtok_r(colon, ",", &last); + for (n = 0; cp != NULL && n < GRMEM_MAX; n++) { + gr.gr_mem[n] = cp; + cp = strtok_r(NULL, ",", &last); + } + gr.gr_mem[n] = NULL; + } else + gr.gr_mem = NULL; + return &gr; +} + +struct group * +testsudoers_getgrnam(const char *name) +{ + struct group *gr; + + if (!open_group(1)) + return NULL; + while ((gr = testsudoers_getgrent()) != NULL) { + if (strcmp(gr->gr_name, name) == 0) + break; + } + if (!gr_stayopen) { + fclose(grf); + grf = NULL; + } + return gr; +} + +struct group * +testsudoers_getgrgid(gid_t gid) +{ + struct group *gr; + + if (!open_group(1)) + return NULL; + while ((gr = testsudoers_getgrent()) != NULL) { + if (gr->gr_gid == gid) + break; + } + if (!gr_stayopen) { + fclose(grf); + grf = NULL; + } + return gr; +} + +/* + * Copied from getgrouplist.c + */ +int +testsudoers_getgrouplist2_v1(const char *name, GETGROUPS_T basegid, + GETGROUPS_T **groupsp, int *ngroupsp) +{ + GETGROUPS_T *groups = *groupsp; + int i, grpsize, ngroups = 1; + int ret = -1; + struct group *grp; + + if (groups == NULL) { + /* Dynamically-sized group vector. */ + grpsize = (int)sysconf(_SC_NGROUPS_MAX); + if (grpsize < 0) + grpsize = NGROUPS_MAX; + groups = reallocarray(NULL, grpsize, 4 * sizeof(*groups)); + if (groups == NULL) + return -1; + grpsize <<= 2; + } else { + /* Static group vector. */ + if ((grpsize = *ngroupsp) < 1) + return -1; + } + + /* We support BSD semantics where the first element is the base gid */ + groups[0] = basegid; + + testsudoers_setgrent(); + while ((grp = testsudoers_getgrent()) != NULL) { + if (grp->gr_gid == basegid || grp->gr_mem == NULL) + continue; + + for (i = 0; grp->gr_mem[i] != NULL; i++) { + if (strcmp(name, grp->gr_mem[i]) == 0) + break; + } + if (grp->gr_mem[i] == NULL) + continue; /* user not found */ + + /* Only add if it is not the same as an existing gid */ + for (i = 0; i < ngroups; i++) { + if (grp->gr_gid == groups[i]) + break; + } + if (i == ngroups) { + if (ngroups == grpsize) { + GETGROUPS_T *tmp; + + if (*groupsp != NULL) { + /* Static group vector. */ + goto done; + } + tmp = reallocarray(groups, grpsize, 2 * sizeof(*groups)); + if (tmp == NULL) { + free(groups); + groups = NULL; + ngroups = 0; + goto done; + } + groups = tmp; + grpsize <<= 1; + } + groups[ngroups++] = grp->gr_gid; + } + } + ret = 0; + +done: + testsudoers_endgrent(); + *groupsp = groups; + *ngroupsp = ngroups; + + return ret; +} diff --git a/plugins/sudoers/tsgetgrpw.h b/plugins/sudoers/tsgetgrpw.h new file mode 100644 index 0000000..7662e02 --- /dev/null +++ b/plugins/sudoers/tsgetgrpw.h @@ -0,0 +1,47 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2010, 2021 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * Trivial replacements for the libc getgrent() and getpwent() family + * of functions for use by testsudoers in the sudo test harness. + * We need our own since many platforms don't provide set{pw,gr}file(). + */ + +#include + +#include +#include + +void testsudoers_setgrfile(const char *); +void testsudoers_setgrent(void); +void testsudoers_endgrent(void); +int testsudoers_setgroupent(int); +struct group *testsudoers_getgrent(void); +struct group *testsudoers_getgrnam(const char *); +struct group *testsudoers_getgrgid(gid_t); + +void testsudoers_setpwfile(const char *); +void testsudoers_setpwent(void); +void testsudoers_endpwent(void); +int testsudoers_setpassent(int); +struct passwd *testsudoers_getpwent(void); +struct passwd *testsudoers_getpwnam(const char *); +struct passwd *testsudoers_getpwuid(uid_t); + +int testsudoers_getgrouplist2_v1(const char *name, GETGROUPS_T basegid, + GETGROUPS_T **groupsp, int *ngroupsp); diff --git a/plugins/sudoers/unesc_str.c b/plugins/sudoers/unesc_str.c new file mode 100644 index 0000000..2b5e242 --- /dev/null +++ b/plugins/sudoers/unesc_str.c @@ -0,0 +1,46 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2022 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include + +#include + +#include "sudoers.h" + +/* + * Remove backslash escape chars. + */ +void +unescape_string(char *str) +{ + char *cp = str; + char *ep = str + strlen(str); + + while ((cp = strchr(cp, '\\')) != NULL) { + if (cp[1] == '\0') + break; + memmove(cp, cp + 1, (size_t)(ep - cp)); + cp++; + ep--; + } +} diff --git a/plugins/sudoers/visudo.c b/plugins/sudoers/visudo.c new file mode 100644 index 0000000..43151d7 --- /dev/null +++ b/plugins/sudoers/visudo.c @@ -0,0 +1,1255 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1996, 1998-2005, 2007-2022 + * Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Sponsored in part by the Defense Advanced Research Projects + * Agency (DARPA) and Air Force Research Laboratory, Air Force + * Materiel Command, USAF, under agreement number F39502-99-1-0512. + */ + +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +/* + * Lock the sudoers file for safe editing (ala vipw) and check for parse errors. + */ + +#ifdef __TANDEM +# include +#endif + +#include + +#include +#include +#include +#ifndef __TANDEM +# include +#endif +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#ifdef HAVE_GETOPT_LONG +# include +# else +# include "compat/getopt.h" +#endif /* HAVE_GETOPT_LONG */ + +#include "sudoers.h" +#include "interfaces.h" +#include "redblack.h" +#include "sudoers_version.h" +#include "sudo_conf.h" +#include + +struct sudoersfile { + TAILQ_ENTRY(sudoersfile) entries; + char *path; + char *tpath; + bool modified; + bool doedit; + int fd; + int errorline; +}; +TAILQ_HEAD(sudoersfile_list, sudoersfile); + +/* + * Function prototypes + */ +static void quit(int); +static int whatnow(void); +static char *get_editor(int *editor_argc, char ***editor_argv); +static bool check_syntax(const char *, bool, bool, bool, bool); +static bool edit_sudoers(struct sudoersfile *, char *, int, char **, int); +static bool install_sudoers(struct sudoersfile *, bool, bool); +static bool visudo_track_error(const char *file, int line, int column, const char *fmt, va_list args) sudo_printf0like(4, 0); +static int print_unused(struct sudoers_parse_tree *, struct alias *, void *); +static bool reparse_sudoers(char *, int, char **, bool, bool); +static int run_command(const char *, char *const *); +static void parse_sudoers_options(void); +static void setup_signals(void); +static void visudo_cleanup(void); +sudo_noreturn static void help(void); +sudo_noreturn static void usage(void); + +extern void get_hostname(void); + +/* + * Globals + */ +struct sudo_user sudo_user; +struct passwd *list_pw; +static struct sudoersfile_list sudoerslist = TAILQ_HEAD_INITIALIZER(sudoerslist); +static bool checkonly; +static bool edit_includes = true; +static unsigned int errors; +static const char short_opts[] = "cf:hIOPqsVx:"; +static struct option long_opts[] = { + { "check", no_argument, NULL, 'c' }, + { "export", required_argument, NULL, 'x' }, + { "file", required_argument, NULL, 'f' }, + { "help", no_argument, NULL, 'h' }, + { "no-includes", no_argument, NULL, 'I' }, + { "owner", no_argument, NULL, 'O' }, + { "perms", no_argument, NULL, 'P' }, + { "quiet", no_argument, NULL, 'q' }, + { "strict", no_argument, NULL, 's' }, + { "version", no_argument, NULL, 'V' }, + { NULL, no_argument, NULL, '\0' }, +}; + +sudo_dso_public int main(int argc, char *argv[]); + +int +main(int argc, char *argv[]) +{ + struct sudoersfile *sp; + char *editor, **editor_argv; + const char *export_path = NULL; + int ch, oldlocale, editor_argc, exitcode = 0; + bool use_perms, use_owner, quiet, strict, fflag; + debug_decl(main, SUDOERS_DEBUG_MAIN); + +#if defined(SUDO_DEVEL) && defined(__OpenBSD__) + { + extern char *malloc_options; + malloc_options = "S"; + } +#endif + + initprogname(argc > 0 ? argv[0] : "visudo"); + if (!sudoers_initlocale(setlocale(LC_ALL, ""), def_sudoers_locale)) + sudo_fatalx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + sudo_warn_set_locale_func(sudoers_warn_setlocale); + bindtextdomain("sudoers", LOCALEDIR); /* XXX - should have visudo domain */ + textdomain("sudoers"); + + if (argc < 1) + usage(); + + /* Register fatal/fatalx callback. */ + sudo_fatal_callback_register(visudo_cleanup); + + /* Set sudoers locale callback. */ + sudo_defs_table[I_SUDOERS_LOCALE].callback = sudoers_locale_callback; + + /* Read debug and plugin sections of sudo.conf. */ + if (sudo_conf_read(NULL, SUDO_CONF_DEBUG|SUDO_CONF_PLUGINS) == -1) + exit(EXIT_FAILURE); + + /* Initialize the debug subsystem. */ + if (!sudoers_debug_register(getprogname(), sudo_conf_debug_files(getprogname()))) + exit(EXIT_FAILURE); + + /* Parse sudoers plugin options, if any. */ + parse_sudoers_options(); + + /* + * Arg handling. + */ + fflag = quiet = strict = use_owner = use_perms = false; + while ((ch = getopt_long(argc, argv, short_opts, long_opts, NULL)) != -1) { + switch (ch) { + case 'V': + (void) printf(_("%s version %s\n"), getprogname(), + PACKAGE_VERSION); + (void) printf(_("%s grammar version %d\n"), getprogname(), + SUDOERS_GRAMMAR_VERSION); + goto done; + case 'c': + checkonly = true; /* check mode */ + break; + case 'f': + sudoers_file = optarg; /* sudoers file path */ + fflag = true; + break; + case 'h': + help(); + break; + case 'I': + edit_includes = false; + break; + case 'O': + use_owner = true; /* check/set owner */ + break; + case 'P': + use_perms = true; /* check/set perms */ + break; + case 's': + strict = true; /* strict mode */ + break; + case 'q': + quiet = true; /* quiet mode */ + break; + case 'x': + export_path = optarg; + break; + default: + usage(); + } + } + argc -= optind; + argv += optind; + + /* Check for optional sudoers file argument. */ + switch (argc) { + case 0: + break; + case 1: + /* Only accept sudoers file if no -f was specified. */ + if (!fflag) { + sudoers_file = *argv; + fflag = true; + } + break; + default: + usage(); + } + + if (fflag) { + /* Looser owner/permission checks for an uninstalled sudoers file. */ + if (!use_owner) { + sudoers_uid = -1; + sudoers_gid = -1; + } + if (!use_perms) + SET(sudoers_mode, S_IWUSR); + } else { + /* Check/set owner and mode for installed sudoers file. */ + use_owner = true; + use_perms = true; + } + + if (export_path != NULL) { + /* Backward compatibility for the time being. */ + sudo_warnx("%s", + U_("the -x option will be removed in a future release")); + sudo_warnx("%s", + U_("please consider using the cvtsudoers utility instead")); + execlp("cvtsudoers", "cvtsudoers", "-f", "json", "-o", export_path, + sudoers_file, (char *)0); + sudo_fatal(U_("unable to execute %s"), "cvtsudoers"); + } + + /* Mock up a fake sudo_user struct. */ + user_cmnd = user_base = strdup("true"); + if (user_cmnd == NULL) + sudo_fatalx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + if (geteuid() == 0) { + const char *user = getenv("SUDO_USER"); + if (user != NULL && *user != '\0') + sudo_user.pw = sudo_getpwnam(user); + } + if (sudo_user.pw == NULL) { + if ((sudo_user.pw = sudo_getpwuid(getuid())) == NULL) + sudo_fatalx(U_("you do not exist in the %s database"), "passwd"); + } + get_hostname(); + + /* Hook the sudoers parser to track files with parse errors. */ + sudoers_error_hook = visudo_track_error; + + /* Setup defaults data structures. */ + if (!init_defaults()) + sudo_fatalx("%s", U_("unable to initialize sudoers default values")); + + if (checkonly) { + exitcode = check_syntax(sudoers_file, quiet, strict, use_owner, + use_perms) ? 0 : 1; + goto done; + } + + /* + * Parse the existing sudoers file(s) to highlight any existing + * errors and to pull in editor and env_editor conf values. + */ + if ((sudoersin = open_sudoers(sudoers_file, true, NULL)) == NULL) + exit(EXIT_FAILURE); + init_parser(sudoers_file, quiet, true); + sudoers_setlocale(SUDOERS_LOCALE_SUDOERS, &oldlocale); + (void) sudoersparse(); + (void) update_defaults(&parsed_policy, NULL, + SETDEF_GENERIC|SETDEF_HOST|SETDEF_USER, quiet); + sudoers_setlocale(oldlocale, NULL); + + editor = get_editor(&editor_argc, &editor_argv); + + /* Install signal handlers to clean up temp files if we are killed. */ + setup_signals(); + + /* Edit the sudoers file(s) */ + TAILQ_FOREACH(sp, &sudoerslist, entries) { + if (!sp->doedit) + continue; + if (sp != TAILQ_FIRST(&sudoerslist)) { + printf(_("press return to edit %s: "), sp->path); + while ((ch = getchar()) != EOF && ch != '\n') + continue; + } + edit_sudoers(sp, editor, editor_argc, editor_argv, -1); + } + + /* + * Check edited files for a parse error, re-edit any that fail + * and install the edited files as needed. + */ + if (reparse_sudoers(editor, editor_argc, editor_argv, strict, quiet)) { + TAILQ_FOREACH(sp, &sudoerslist, entries) { + if (!install_sudoers(sp, use_owner, use_perms)) { + if (sp->tpath != NULL) { + sudo_warnx(U_("contents of edit session left in %s"), + sp->tpath); + free(sp->tpath); + sp->tpath = NULL; + } + exitcode = 1; + } + } + } + free(editor); + +done: + sudo_debug_exit_int(__func__, __FILE__, __LINE__, sudo_debug_subsys, exitcode); + exit(exitcode); +} + +static bool +visudo_track_error(const char *file, int line, int column, const char *fmt, + va_list args) +{ + struct sudoersfile *sp; + debug_decl(visudo_track_error, SUDOERS_DEBUG_UTIL); + + TAILQ_FOREACH(sp, &sudoerslist, entries) { + if (sp->errorline > 0) + continue; /* preserve the first error */ + + if (strcmp(file, sp->path) == 0 || + (sp->tpath != NULL && strcmp(file, sp->tpath) == 0)) { + sp->errorline = line; + break; + } + } + errors++; + + debug_return_bool(true); +} + +static char * +get_editor(int *editor_argc, char ***editor_argv) +{ + char *editor_path = NULL, **allowlist = NULL; + const char *env_editor = NULL; + static const char *files[] = { "+1", "sudoers" }; + unsigned int allowlist_len = 0; + debug_decl(get_editor, SUDOERS_DEBUG_UTIL); + + /* Build up editor allowlist from def_editor unless env_editor is set. */ + if (!def_env_editor) { + const char *cp, *ep; + const char *def_editor_end = def_editor + strlen(def_editor); + + /* Count number of entries in allowlist and split into a list. */ + for (cp = sudo_strsplit(def_editor, def_editor_end, ":", &ep); + cp != NULL; cp = sudo_strsplit(NULL, def_editor_end, ":", &ep)) { + allowlist_len++; + } + allowlist = reallocarray(NULL, allowlist_len + 1, sizeof(char *)); + if (allowlist == NULL) + sudo_fatalx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + allowlist_len = 0; + for (cp = sudo_strsplit(def_editor, def_editor_end, ":", &ep); + cp != NULL; cp = sudo_strsplit(NULL, def_editor_end, ":", &ep)) { + allowlist[allowlist_len] = strndup(cp, (size_t)(ep - cp)); + if (allowlist[allowlist_len] == NULL) + sudo_fatalx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + allowlist_len++; + } + allowlist[allowlist_len] = NULL; + } + + editor_path = find_editor(2, (char **)files, editor_argc, editor_argv, + allowlist, &env_editor); + if (editor_path == NULL) { + if (def_env_editor && env_editor != NULL) { + /* We are honoring $EDITOR so this is a fatal error. */ + if (errno == ENOENT) { + sudo_warnx(U_("specified editor (%s) doesn't exist"), + env_editor); + } + exit(EXIT_FAILURE); + } + sudo_fatalx(U_("no editor found (editor path = %s)"), def_editor); + } + + if (allowlist != NULL) { + while (allowlist_len--) + free(allowlist[allowlist_len]); + free(allowlist); + } + + debug_return_str(editor_path); +} + +/* + * List of editors that support the "+lineno" command line syntax. + * If an entry starts with '*' the tail end of the string is matched. + * No other wild cards are supported. + */ +static const char *lineno_editors[] = { + "ex", + "nex", + "vi", + "nvi", + "vim", + "nvim", + "elvis", + "*macs", + "mg", + "vile", + "jove", + "pico", + "nano", + "ee", + "joe", + "zile", + NULL +}; + +/* + * Check whether or not the specified editor matched lineno_editors[]. + * Returns true if yes, false if no. + */ +static bool +editor_supports_plus(const char *editor) +{ + const char *cp, *editor_base; + const char **av; + debug_decl(editor_supports_plus, SUDOERS_DEBUG_UTIL); + + editor_base = sudo_basename(editor); + if (*editor_base == 'r') + editor_base++; + + for (av = lineno_editors; (cp = *av) != NULL; av++) { + /* We only handle a leading '*' wildcard. */ + if (*cp == '*') { + size_t blen = strlen(editor_base); + size_t clen = strlen(++cp); + if (blen >= clen) { + if (strcmp(cp, editor_base + blen - clen) == 0) + break; + } + } else if (strcmp(cp, editor_base) == 0) + break; + } + debug_return_bool(cp != NULL); +} + +/* + * Edit each sudoers file. + * Returns true on success, else false. + */ +static bool +edit_sudoers(struct sudoersfile *sp, char *editor, int editor_argc, + char **editor_argv, int lineno) +{ + int tfd; /* sudoers temp file descriptor */ + bool modified; /* was the file modified? */ + int ac; /* argument count */ + char linestr[64]; /* string version of lineno */ + struct timespec ts, times[2]; /* time before and after edit */ + struct timespec orig_mtim; /* starting mtime of sudoers file */ + off_t orig_size; /* starting size of sudoers file */ + struct stat sb; /* stat buffer */ + bool ret = false; /* return value */ + debug_decl(edit_sudoers, SUDOERS_DEBUG_UTIL); + + if (fstat(sp->fd, &sb) == -1) + sudo_fatal(U_("unable to stat %s"), sp->path); + orig_size = sb.st_size; + mtim_get(&sb, orig_mtim); + + /* Create the temp file if needed and set timestamp. */ + if (sp->tpath == NULL) { + if (asprintf(&sp->tpath, "%s.tmp", sp->path) == -1) + sudo_fatalx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + tfd = open(sp->tpath, O_WRONLY|O_CREAT|O_TRUNC, S_IRWXU|S_IRUSR); + if (tfd < 0) + sudo_fatal("%s", sp->tpath); + + /* Copy sp->path -> sp->tpath and reset the mtime. */ + if (orig_size != 0) { + char buf[4096], lastch = '\0'; + ssize_t nread; + + (void) lseek(sp->fd, (off_t)0, SEEK_SET); + while ((nread = read(sp->fd, buf, sizeof(buf))) > 0) { + if (write(tfd, buf, nread) != nread) + sudo_fatal("%s", U_("write error")); + lastch = buf[nread - 1]; + } + + /* Add missing newline at EOF if needed. */ + if (lastch != '\n') { + lastch = '\n'; + if (write(tfd, &lastch, 1) != 1) + sudo_fatal("%s", U_("write error")); + } + } + (void) close(tfd); + } + times[0].tv_sec = times[1].tv_sec = orig_mtim.tv_sec; + times[0].tv_nsec = times[1].tv_nsec = orig_mtim.tv_nsec; + (void) utimensat(AT_FDCWD, sp->tpath, times, 0); + + /* Disable +lineno if editor doesn't support it. */ + if (lineno > 0 && !editor_supports_plus(editor)) + lineno = -1; + + /* + * The last 3 slots in the editor argv are: "-- +1 sudoers" + * Replace those placeholders with the real values. + */ + ac = editor_argc - 3; + if (lineno > 0) { + (void)snprintf(linestr, sizeof(linestr), "+%d", lineno); + editor_argv[ac++] = linestr; // -V507 + } + editor_argv[ac++] = (char *)"--"; + editor_argv[ac++] = sp->tpath; + editor_argv[ac] = NULL; + + /* + * Do the edit: + * We cannot check the editor's exit value against 0 since + * XPG4 specifies that vi's exit value is a function of the + * number of errors during editing (?!?!). + */ + if (sudo_gettime_real(×[0]) == -1) { + sudo_warn("%s", U_("unable to read the clock")); + goto done; + } + + if (run_command(editor, editor_argv) != -1) { + if (sudo_gettime_real(×[1]) == -1) { + sudo_warn("%s", U_("unable to read the clock")); + goto done; + } + /* + * Check for zero length sudoers file. + */ + if (stat(sp->tpath, &sb) == -1) { + sudo_warnx(U_("unable to stat temporary file (%s), %s unchanged"), + sp->tpath, sp->path); + goto done; + } + if (sb.st_size == 0 && orig_size != 0) { + /* Avoid accidental zeroing of main sudoers file. */ + if (sp == TAILQ_FIRST(&sudoerslist)) { + sudo_warnx(U_("zero length temporary file (%s), %s unchanged"), + sp->tpath, sp->path); + goto done; + } + } + } else { + sudo_warnx(U_("editor (%s) failed, %s unchanged"), editor, sp->path); + goto done; + } + + /* Set modified bit if the user changed the file. */ + modified = true; + mtim_get(&sb, ts); + if (orig_size == sb.st_size && sudo_timespeccmp(&orig_mtim, &ts, ==)) { + /* + * If mtime and size match but the user spent no measurable + * time in the editor we can't tell if the file was changed. + */ + if (sudo_timespeccmp(×[0], ×[1], !=)) + modified = false; + } + + /* + * If modified in this edit session, mark as modified. + */ + if (modified) + sp->modified = modified; + else + sudo_warnx(U_("%s unchanged"), sp->tpath); + + ret = true; +done: + debug_return_bool(ret); +} + +/* + * Check Defaults and Alias entries. + * On error, visudo_track_error() will set the line number in sudoerslist. + */ +static void +check_defaults_and_aliases(bool strict, bool quiet) +{ + debug_decl(check_defaults_and_aliases, SUDOERS_DEBUG_UTIL); + + if (!check_defaults(&parsed_policy, quiet)) { + parse_error = true; + } + if (check_aliases(&parsed_policy, strict, quiet, print_unused) != 0) { + parse_error = true; + } + debug_return; +} + +/* + * Parse sudoers after editing and re-edit any ones that caused a parse error. + */ +static bool +reparse_sudoers(char *editor, int editor_argc, char **editor_argv, + bool strict, bool quiet) +{ + struct sudoersfile *sp, *last; + FILE *fp; + int ch, oldlocale; + debug_decl(reparse_sudoers, SUDOERS_DEBUG_UTIL); + + /* + * Parse the edited sudoers files. + */ + errors = 0; + while ((sp = TAILQ_FIRST(&sudoerslist)) != NULL) { + last = TAILQ_LAST(&sudoerslist, sudoersfile_list); + fp = fopen(sp->tpath, "r+"); + if (fp == NULL) + sudo_fatalx(U_("unable to re-open temporary file (%s), %s unchanged."), + sp->tpath, sp->path); + + /* Clean slate for each parse */ + if (!init_defaults()) + sudo_fatalx("%s", U_("unable to initialize sudoers default values")); + init_parser(sp->path, quiet, true); + sp->errorline = -1; + + /* Parse the sudoers temp file(s) */ + sudoersrestart(fp); + sudoers_setlocale(SUDOERS_LOCALE_SUDOERS, &oldlocale); + if (sudoersparse() && !parse_error) { + sudo_warnx(U_("unable to parse temporary file (%s), unknown error"), + sp->tpath); + parse_error = true; + } + fclose(sudoersin); + if (!parse_error) { + parse_error = !update_defaults(&parsed_policy, NULL, + SETDEF_GENERIC|SETDEF_HOST|SETDEF_USER, true); + check_defaults_and_aliases(strict, quiet); + } + sudoers_setlocale(oldlocale, NULL); + + /* + * Got an error, prompt the user for what to do now. + */ + if (parse_error) { + switch (whatnow()) { + case 'Q': + parse_error = false; /* ignore parse error */ + break; + case 'x': + visudo_cleanup(); /* discard changes */ + debug_return_bool(false); + case 'e': + default: + /* Edit file with the parse error */ + TAILQ_FOREACH(sp, &sudoerslist, entries) { + if (errors == 0 || sp->errorline > 0) { + edit_sudoers(sp, editor, editor_argc, editor_argv, + sp->errorline); + } + } + break; + } + } + + /* If any new #include directives were added, edit them too. */ + if ((sp = TAILQ_NEXT(last, entries)) != NULL) { + bool modified = false; + do { + printf(_("press return to edit %s: "), sp->path); + while ((ch = getchar()) != EOF && ch != '\n') + continue; + edit_sudoers(sp, editor, editor_argc, editor_argv, -1); + if (sp->modified) + modified = true; + } while ((sp = TAILQ_NEXT(sp, entries)) != NULL); + + /* Reparse sudoers if newly added includes were modified. */ + if (modified) + continue; + } + + /* If all sudoers files parsed OK we are done. */ + if (!parse_error) + break; + } + + debug_return_bool(true); +} + +/* + * Set the owner and mode on a sudoers temp file and + * move it into place. Returns true on success, else false. + */ +static bool +install_sudoers(struct sudoersfile *sp, bool set_owner, bool set_mode) +{ + struct stat sb; + bool ret = false; + debug_decl(install_sudoers, SUDOERS_DEBUG_UTIL); + + if (sp->tpath == NULL) { + ret = true; + goto done; + } + + if (!sp->modified) { + /* + * No changes but fix owner/mode if needed. + */ + (void) unlink(sp->tpath); + if (fstat(sp->fd, &sb) == 0) { + if (set_owner) { + if (sb.st_uid != sudoers_uid || sb.st_gid != sudoers_gid) { + if (chown(sp->path, sudoers_uid, sudoers_gid) != 0) { + sudo_warn(U_("unable to set (uid, gid) of %s to (%u, %u)"), + sp->path, (unsigned int)sudoers_uid, + (unsigned int)sudoers_gid); + } + } + } + if (set_mode) { + if ((sb.st_mode & ACCESSPERMS) != sudoers_mode) { + if (chmod(sp->path, sudoers_mode) != 0) { + sudo_warn(U_("unable to change mode of %s to 0%o"), + sp->path, (unsigned int)sudoers_mode); + } + } + } + } + ret = true; + goto done; + } + + /* + * Change mode and ownership of temp file so when + * we move it to sp->path things are kosher. + */ + if (!set_owner || !set_mode) { + /* Preserve owner/perms of the existing file. */ + if (fstat(sp->fd, &sb) == -1) + sudo_fatal(U_("unable to stat %s"), sp->path); + } + if (set_owner) { + if (chown(sp->tpath, sudoers_uid, sudoers_gid) != 0) { + sudo_warn(U_("unable to set (uid, gid) of %s to (%u, %u)"), + sp->tpath, (unsigned int)sudoers_uid, + (unsigned int)sudoers_gid); + goto done; + } + } else { + if (chown(sp->tpath, sb.st_uid, sb.st_gid) != 0) { + sudo_warn(U_("unable to set (uid, gid) of %s to (%u, %u)"), + sp->tpath, (unsigned int)sb.st_uid, (unsigned int)sb.st_gid); + } + } + if (set_mode) { + if (chmod(sp->tpath, sudoers_mode) != 0) { + sudo_warn(U_("unable to change mode of %s to 0%o"), sp->tpath, + (unsigned int)sudoers_mode); + goto done; + } + } else { + if (chmod(sp->tpath, sb.st_mode & ACCESSPERMS) != 0) { + sudo_warn(U_("unable to change mode of %s to 0%o"), sp->tpath, + (unsigned int)(sb.st_mode & ACCESSPERMS)); + } + } + + /* + * Now that we know sp->tpath parses correctly, it needs to be + * rename(2)'d to sp->path. If the rename(2) fails we try using + * mv(1) in case sp->tpath and sp->path are on different file systems. + */ + if (rename(sp->tpath, sp->path) == 0) { + free(sp->tpath); + sp->tpath = NULL; + } else { + if (errno == EXDEV) { + char *av[4]; + sudo_warnx(U_("%s and %s not on the same file system, using mv to rename"), + sp->tpath, sp->path); + + /* Build up argument vector for the command */ + av[0] = sudo_basename(_PATH_MV); + av[1] = sp->tpath; + av[2] = sp->path; + av[3] = NULL; + + /* And run it... */ + if (run_command(_PATH_MV, av) != 0) { + sudo_warnx(U_("command failed: '%s %s %s', %s unchanged"), + _PATH_MV, sp->tpath, sp->path, sp->path); + goto done; + } + free(sp->tpath); + sp->tpath = NULL; + } else { + sudo_warn(U_("error renaming %s, %s unchanged"), sp->tpath, sp->path); + goto done; + } + } + ret = true; +done: + debug_return_bool(ret); +} + +/* + * Assuming a parse error occurred, prompt the user for what they want + * to do now. Returns the first letter of their choice. + */ +static int +whatnow(void) +{ + int choice, c; + debug_decl(whatnow, SUDOERS_DEBUG_UTIL); + + for (;;) { + (void) fputs(_("What now? "), stdout); + choice = getchar(); + for (c = choice; c != '\n' && c != EOF;) + c = getchar(); + + switch (choice) { + case EOF: + choice = 'x'; + FALLTHROUGH; + case 'e': + case 'x': + case 'Q': + debug_return_int(choice); + default: + (void) puts(_("Options are:\n" + " (e)dit sudoers file again\n" + " e(x)it without saving changes to sudoers file\n" + " (Q)uit and save changes to sudoers file (DANGER!)\n")); + } + } +} + +/* + * Install signal handlers for visudo. + */ +static void +setup_signals(void) +{ + struct sigaction sa; + debug_decl(setup_signals, SUDOERS_DEBUG_UTIL); + + /* + * Setup signal handlers to cleanup nicely. + */ + memset(&sa, 0, sizeof(sa)); + sigemptyset(&sa.sa_mask); + sa.sa_flags = SA_RESTART; + sa.sa_handler = quit; + (void) sigaction(SIGTERM, &sa, NULL); + (void) sigaction(SIGHUP, &sa, NULL); + (void) sigaction(SIGINT, &sa, NULL); + (void) sigaction(SIGQUIT, &sa, NULL); + + debug_return; +} + +static int +run_command(const char *path, char *const *argv) +{ + int status; + pid_t pid, rv; + debug_decl(run_command, SUDOERS_DEBUG_UTIL); + + switch (pid = sudo_debug_fork()) { + case -1: + sudo_fatal(U_("unable to execute %s"), path); + break; /* NOTREACHED */ + case 0: + closefrom(STDERR_FILENO + 1); + execv(path, argv); + sudo_warn(U_("unable to run %s"), path); + _exit(127); + break; /* NOTREACHED */ + } + + for (;;) { + rv = waitpid(pid, &status, 0); + if (rv == -1 && errno != EINTR) + break; + if (rv != -1 && !WIFSTOPPED(status)) + break; + } + + if (rv != -1) + rv = WIFEXITED(status) ? WEXITSTATUS(status) : -1; + debug_return_int(rv); +} + +static bool +check_file(const char *path, bool quiet, bool check_owner, bool check_mode) +{ + struct stat sb; + bool ok = true; + debug_decl(check_file, SUDOERS_DEBUG_UTIL); + + if (stat(path, &sb) == 0) { + if (check_owner) { + if (sb.st_uid != sudoers_uid || sb.st_gid != sudoers_gid) { + ok = false; + if (!quiet) { + fprintf(stderr, + _("%s: wrong owner (uid, gid) should be (%u, %u)\n"), + path, (unsigned int)sudoers_uid, + (unsigned int)sudoers_gid); + } + } + } + if (check_mode) { + if ((sb.st_mode & ALLPERMS) != sudoers_mode) { + ok = false; + if (!quiet) { + fprintf(stderr, + _("%s: bad permissions, should be mode 0%o\n"), + path, (unsigned int)sudoers_mode); + } + } + } + } + debug_return_bool(ok); +} + +static bool +check_syntax(const char *file, bool quiet, bool strict, bool check_owner, + bool check_mode) +{ + bool ok = false; + int oldlocale; + debug_decl(check_syntax, SUDOERS_DEBUG_UTIL); + + if (strcmp(file, "-") == 0) { + sudoersin = stdin; + file = "stdin"; + } else if ((sudoersin = fopen(file, "r")) == NULL) { + if (!quiet) + sudo_warn(U_("unable to open %s"), file); + goto done; + } + init_parser(file, quiet, true); + sudoers_setlocale(SUDOERS_LOCALE_SUDOERS, &oldlocale); + if (sudoersparse() && !parse_error) { + if (!quiet) + sudo_warnx(U_("failed to parse %s file, unknown error"), file); + parse_error = true; + } + if (!parse_error) { + parse_error = !update_defaults(&parsed_policy, NULL, + SETDEF_GENERIC|SETDEF_HOST|SETDEF_USER, true); + check_defaults_and_aliases(strict, quiet); + } + sudoers_setlocale(oldlocale, NULL); + ok = !parse_error; + + if (!parse_error) { + struct sudoersfile *sp; + + /* Parsed OK, check mode and owner. */ + if (check_file(file, quiet, check_owner, check_mode)) { + if (!quiet) + (void) printf(_("%s: parsed OK\n"), file); + } else { + ok = false; + } + TAILQ_FOREACH(sp, &sudoerslist, entries) { + if (check_file(sp->path, quiet, check_owner, check_mode)) { + if (!quiet) + (void) printf(_("%s: parsed OK\n"), sp->path); + } else { + ok = false; + } + } + } + +done: + debug_return_bool(ok); +} + +static bool +lock_sudoers(struct sudoersfile *entry) +{ + int ch; + debug_decl(lock_sudoers, SUDOERS_DEBUG_UTIL); + + if (!sudo_lock_file(entry->fd, SUDO_TLOCK)) { + if (errno == EAGAIN || errno == EWOULDBLOCK) { + sudo_warnx(U_("%s busy, try again later"), entry->path); + debug_return_bool(false); + } + sudo_warn(U_("unable to lock %s"), entry->path); + (void) fputs(_("Edit anyway? [y/N]"), stdout); + ch = getchar(); + if (tolower(ch) != 'y') + debug_return_bool(false); + } + debug_return_bool(true); +} + +/* + * Open (and lock) a new sudoers file. + * Returns a new struct sudoersfile on success or NULL on failure. + */ +static struct sudoersfile * +new_sudoers(const char *path, bool doedit) +{ + struct sudoersfile *entry; + struct stat sb; + int open_flags; + debug_decl(new_sudoersfile, SUDOERS_DEBUG_UTIL); + + if (checkonly) + open_flags = O_RDONLY; + else + open_flags = O_RDWR | O_CREAT; + + entry = calloc(1, sizeof(*entry)); + if (entry == NULL || (entry->path = strdup(path)) == NULL) + sudo_fatalx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + /* entry->tpath = NULL; */ + /* entry->modified = false; */ + entry->doedit = doedit; + entry->fd = open(entry->path, open_flags, sudoers_mode); + if (entry->fd == -1 || fstat(entry->fd, &sb) == -1) { + sudo_warn("%s", entry->path); + goto bad; + } + if (!S_ISREG(sb.st_mode)) { + sudo_warnx(U_("%s is not a regular file"), entry->path); + goto bad; + } + if (!checkonly && !lock_sudoers(entry)) + goto bad; + debug_return_ptr(entry); +bad: + if (entry->fd != -1) + close(entry->fd); + free(entry->path); + free(entry); + debug_return_ptr(NULL); +} + +/* + * Used to open (and lock) the initial sudoers file and to also open + * any subsequent files #included via a callback from the parser. + */ +FILE * +open_sudoers(const char *path, bool doedit, bool *keepopen) +{ + struct sudoersfile *entry; + FILE *fp; + debug_decl(open_sudoers, SUDOERS_DEBUG_UTIL); + + /* Check for existing entry */ + TAILQ_FOREACH(entry, &sudoerslist, entries) { + if (strcmp(path, entry->path) == 0) + break; + } + if (entry == NULL) { + if (doedit && !edit_includes) { + /* Only edit the main sudoers file. */ + if (strcmp(path, sudoers_file) != 0) + doedit = false; + } + if ((entry = new_sudoers(path, doedit)) == NULL) + debug_return_ptr(NULL); + if ((fp = fdopen(entry->fd, "r")) == NULL) + sudo_fatal("%s", entry->path); + TAILQ_INSERT_TAIL(&sudoerslist, entry, entries); + } else { + /* Already exists, open .tmp version if there is one. */ + if (entry->tpath != NULL) { + if ((fp = fopen(entry->tpath, "r")) == NULL) + sudo_fatal("%s", entry->tpath); + } else { + if ((fp = fdopen(entry->fd, "r")) == NULL) + sudo_fatal("%s", entry->path); + rewind(fp); + } + } + if (keepopen != NULL) + *keepopen = true; + debug_return_ptr(fp); +} + +/* Display unused aliases from check_aliases(). */ +static int +print_unused(struct sudoers_parse_tree *parse_tree, struct alias *a, void *v) +{ + const bool quiet = *((bool *)v); + + if (!quiet) { + fprintf(stderr, U_("Warning: %s:%d:%d: unused %s \"%s\""), a->file, + a->line, a->column, alias_type_to_string(a->type), a->name); + fputc('\n', stderr); + } + return 0; +} + +static void +parse_sudoers_options(void) +{ + struct plugin_info_list *plugins; + debug_decl(parse_sudoers_options, SUDOERS_DEBUG_UTIL); + + plugins = sudo_conf_plugins(); + if (plugins) { + struct plugin_info *info; + + TAILQ_FOREACH(info, plugins, entries) { + if (strcmp(info->symbol_name, "sudoers_policy") == 0) + break; + } + if (info != NULL && info->options != NULL) { + char * const *cur; + +#define MATCHES(s, v) \ + (strncmp((s), (v), sizeof(v) - 1) == 0 && (s)[sizeof(v) - 1] != '\0') + + for (cur = info->options; *cur != NULL; cur++) { + const char *errstr, *p; + id_t id; + + if (MATCHES(*cur, "sudoers_file=")) { + sudoers_file = *cur + sizeof("sudoers_file=") - 1; + continue; + } + if (MATCHES(*cur, "sudoers_uid=")) { + p = *cur + sizeof("sudoers_uid=") - 1; + id = sudo_strtoid(p, &errstr); + if (errstr == NULL) + sudoers_uid = (uid_t) id; + continue; + } + if (MATCHES(*cur, "sudoers_gid=")) { + p = *cur + sizeof("sudoers_gid=") - 1; + id = sudo_strtoid(p, &errstr); + if (errstr == NULL) + sudoers_gid = (gid_t) id; + continue; + } + if (MATCHES(*cur, "sudoers_mode=")) { + p = *cur + sizeof("sudoers_mode=") - 1; + id = (id_t) sudo_strtomode(p, &errstr); + if (errstr == NULL) + sudoers_mode = (mode_t) id; + continue; + } + } +#undef MATCHES + } + } + debug_return; +} + +/* + * Unlink any sudoers temp files that remain. + */ +static void +visudo_cleanup(void) +{ + struct sudoersfile *sp; + + TAILQ_FOREACH(sp, &sudoerslist, entries) { + if (sp->tpath != NULL) + (void) unlink(sp->tpath); + } +} + +/* + * Unlink sudoers temp files (if any) and exit. + */ +static void +quit(int signo) +{ + struct iovec iov[4]; + + visudo_cleanup(); + +#define emsg " exiting due to signal: " + iov[0].iov_base = (char *)getprogname(); + iov[0].iov_len = strlen(iov[0].iov_base); + iov[1].iov_base = (char *)emsg; + iov[1].iov_len = sizeof(emsg) - 1; + iov[2].iov_base = strsignal(signo); + iov[2].iov_len = strlen(iov[2].iov_base); + iov[3].iov_base = (char *)"\n"; + iov[3].iov_len = 1; + ignore_result(writev(STDERR_FILENO, iov, 4)); + _exit(signo); +} + +#define VISUDO_USAGE "usage: %s [-chqsV] [[-f] sudoers ]\n" + +static void +usage(void) +{ + (void) fprintf(stderr, VISUDO_USAGE, getprogname()); + exit(EXIT_FAILURE); +} + +static void +help(void) +{ + (void) printf(_("%s - safely edit the sudoers file\n\n"), getprogname()); + (void) printf(VISUDO_USAGE, getprogname()); + (void) puts(_("\nOptions:\n" + " -c, --check check-only mode\n" + " -f, --file=sudoers specify sudoers file location\n" + " -h, --help display help message and exit\n" + " -I, --no-includes do not edit include files\n" + " -q, --quiet less verbose (quiet) syntax error messages\n" + " -s, --strict strict syntax checking\n" + " -V, --version display version information and exit\n")); + exit(EXIT_SUCCESS); +} -- cgit v1.2.3