| 1 |
# SOME DESCRIPTIVE TITLE |
| 2 |
# Copyright (C) YEAR Free Software Foundation, Inc. |
| 3 |
# This file is distributed under the same license as the PACKAGE package. |
| 4 |
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
| 5 |
# |
| 6 |
#, fuzzy |
| 7 |
msgid "" |
| 8 |
msgstr "" |
| 9 |
"Project-Id-Version: PACKAGE VERSION\n" |
| 10 |
"POT-Creation-Date: 2026-06-05 06:42+0200\n" |
| 11 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
| 12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
| 13 |
"Language-Team: LANGUAGE <[email protected]>\n" |
| 14 |
"Language: \n" |
| 15 |
"MIME-Version: 1.0\n" |
| 16 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 17 |
"Content-Transfer-Encoding: 8bit\n" |
| 18 |
|
| 19 |
#. type: TH |
| 20 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 21 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 22 |
#, no-wrap |
| 23 |
msgid "seteuid" |
| 24 |
msgstr "" |
| 25 |
|
| 26 |
#. type: TH |
| 27 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 28 |
#: opensuse-tumbleweed |
| 29 |
#, no-wrap |
| 30 |
msgid "2026-02-08" |
| 31 |
msgstr "" |
| 32 |
|
| 33 |
#. type: TH |
| 34 |
#: archlinux debian-unstable |
| 35 |
#, no-wrap |
| 36 |
msgid "Linux man-pages 6.18" |
| 37 |
msgstr "" |
| 38 |
|
| 39 |
#. type: SH |
| 40 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 41 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 42 |
#, no-wrap |
| 43 |
msgid "NAME" |
| 44 |
msgstr "" |
| 45 |
|
| 46 |
#. type: Plain text |
| 47 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 48 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 49 |
msgid "seteuid, setegid - set effective user or group ID" |
| 50 |
msgstr "" |
| 51 |
|
| 52 |
#. type: SH |
| 53 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 54 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 55 |
#, no-wrap |
| 56 |
msgid "LIBRARY" |
| 57 |
msgstr "" |
| 58 |
|
| 59 |
#. type: Plain text |
| 60 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 61 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 62 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 63 |
msgstr "" |
| 64 |
|
| 65 |
#. type: SH |
| 66 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 67 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 68 |
#, no-wrap |
| 69 |
msgid "SYNOPSIS" |
| 70 |
msgstr "" |
| 71 |
|
| 72 |
#. type: Plain text |
| 73 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 74 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 75 |
#, no-wrap |
| 76 |
msgid "B<#include E<lt>unistd.hE<gt>>\n" |
| 77 |
msgstr "" |
| 78 |
|
| 79 |
#. type: Plain text |
| 80 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 81 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 82 |
#, no-wrap |
| 83 |
msgid "" |
| 84 |
"B<int seteuid(uid_t >I<euid>B<);>\n" |
| 85 |
"B<int setegid(gid_t >I<egid>B<);>\n" |
| 86 |
msgstr "" |
| 87 |
|
| 88 |
#. type: Plain text |
| 89 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 90 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 91 |
msgid "" |
| 92 |
"Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):" |
| 93 |
msgstr "" |
| 94 |
|
| 95 |
#. type: Plain text |
| 96 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 97 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 98 |
msgid "B<seteuid>(), B<setegid>():" |
| 99 |
msgstr "" |
| 100 |
|
| 101 |
#. type: Plain text |
| 102 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 103 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 104 |
#, no-wrap |
| 105 |
msgid "" |
| 106 |
" _POSIX_C_SOURCE E<gt>= 200112L\n" |
| 107 |
" || /* glibc E<lt>= 2.19: */ _BSD_SOURCE\n" |
| 108 |
msgstr "" |
| 109 |
|
| 110 |
#. type: SH |
| 111 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 112 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 113 |
#, no-wrap |
| 114 |
msgid "DESCRIPTION" |
| 115 |
msgstr "" |
| 116 |
|
| 117 |
#. type: Plain text |
| 118 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 119 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 120 |
msgid "" |
| 121 |
"B<seteuid>() sets the effective user ID of the calling process. " |
| 122 |
"Unprivileged processes may only set the effective user ID to the real user " |
| 123 |
"ID, the effective user ID or the saved set-user-ID." |
| 124 |
msgstr "" |
| 125 |
|
| 126 |
#. When |
| 127 |
#. .I euid |
| 128 |
#. equals \-1, nothing is changed. |
| 129 |
#. (This is an artifact of the implementation in glibc of seteuid() |
| 130 |
#. using setresuid(2).) |
| 131 |
#. type: Plain text |
| 132 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 133 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 134 |
msgid "" |
| 135 |
"Precisely the same holds for B<setegid>() with \"group\" instead of " |
| 136 |
"\"user\"." |
| 137 |
msgstr "" |
| 138 |
|
| 139 |
#. type: SH |
| 140 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 141 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 142 |
#, no-wrap |
| 143 |
msgid "RETURN VALUE" |
| 144 |
msgstr "" |
| 145 |
|
| 146 |
#. type: Plain text |
| 147 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 148 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 149 |
msgid "" |
| 150 |
"On success, zero is returned. On error, -1 is returned, and I<errno> is set " |
| 151 |
"to indicate the error." |
| 152 |
msgstr "" |
| 153 |
|
| 154 |
#. type: Plain text |
| 155 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 156 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 157 |
msgid "" |
| 158 |
"I<Note>: there are cases where B<seteuid>() can fail even when the caller " |
| 159 |
"is UID 0; it is a grave security error to omit checking for a failure return " |
| 160 |
"from B<seteuid>()." |
| 161 |
msgstr "" |
| 162 |
|
| 163 |
#. type: SH |
| 164 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 165 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 166 |
#, no-wrap |
| 167 |
msgid "ERRORS" |
| 168 |
msgstr "" |
| 169 |
|
| 170 |
#. type: TP |
| 171 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 172 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 173 |
#, no-wrap |
| 174 |
msgid "B<EINVAL>" |
| 175 |
msgstr "" |
| 176 |
|
| 177 |
#. type: Plain text |
| 178 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 179 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 180 |
msgid "The target user or group ID is not valid in this user namespace." |
| 181 |
msgstr "" |
| 182 |
|
| 183 |
#. type: TP |
| 184 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 185 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 186 |
#, no-wrap |
| 187 |
msgid "B<EPERM>" |
| 188 |
msgstr "" |
| 189 |
|
| 190 |
#. type: Plain text |
| 191 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 192 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 193 |
msgid "" |
| 194 |
"In the case of B<seteuid>(): the calling process is not privileged (does not " |
| 195 |
"have the B<CAP_SETUID> capability in its user namespace) and I<euid> does " |
| 196 |
"not match the current real user ID, current effective user ID, or current " |
| 197 |
"saved set-user-ID." |
| 198 |
msgstr "" |
| 199 |
|
| 200 |
#. type: Plain text |
| 201 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 202 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 203 |
msgid "" |
| 204 |
"In the case of B<setegid>(): the calling process is not privileged (does not " |
| 205 |
"have the B<CAP_SETGID> capability in its user namespace) and I<egid> does " |
| 206 |
"not match the current real group ID, current effective group ID, or current " |
| 207 |
"saved set-group-ID." |
| 208 |
msgstr "" |
| 209 |
|
| 210 |
#. type: SH |
| 211 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 212 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 213 |
#, no-wrap |
| 214 |
msgid "VERSIONS" |
| 215 |
msgstr "" |
| 216 |
|
| 217 |
#. type: Plain text |
| 218 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 219 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 220 |
msgid "" |
| 221 |
"Setting the effective user (group) ID to the saved set-user-ID (saved set-" |
| 222 |
"group-ID) is possible since Linux 1.1.37 (1.1.38). On an arbitrary system " |
| 223 |
"one should check B<_POSIX_SAVED_IDS>." |
| 224 |
msgstr "" |
| 225 |
|
| 226 |
#. type: Plain text |
| 227 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 228 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 229 |
msgid "" |
| 230 |
"Under glibc 2.0, B<seteuid(>I<euid>B<)> is equivalent to B<setreuid(-1,>I< " |
| 231 |
"euid>B<)> and hence may change the saved set-user-ID. Under glibc 2.1 and " |
| 232 |
"later, it is equivalent to B<setresuid(-1,>I< euid>B<, -1)> and hence does " |
| 233 |
"not change the saved set-user-ID. Analogous remarks hold for B<setegid>(), " |
| 234 |
"with the difference that the change in implementation from B<setregid(-1,>I< " |
| 235 |
"egid>B<)> to B<setresgid(-1,>I< egid>B<, -1)> occurred in glibc 2.2 or 2.3 " |
| 236 |
"(depending on the hardware architecture)." |
| 237 |
msgstr "" |
| 238 |
|
| 239 |
#. type: Plain text |
| 240 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 241 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 242 |
msgid "" |
| 243 |
"According to POSIX.1, B<seteuid>() (B<setegid>()) need not permit I<euid> " |
| 244 |
"(I<egid>) to be the same value as the current effective user (group) ID, " |
| 245 |
"and some implementations do not permit this." |
| 246 |
msgstr "" |
| 247 |
|
| 248 |
#. type: SS |
| 249 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 250 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 251 |
#, no-wrap |
| 252 |
msgid "C library/kernel differences" |
| 253 |
msgstr "" |
| 254 |
|
| 255 |
#. type: Plain text |
| 256 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 257 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 258 |
msgid "" |
| 259 |
"On Linux, B<seteuid>() and B<setegid>() are implemented as library " |
| 260 |
"functions that call, respectively, B<setresuid>(2) and B<setresgid>(2)." |
| 261 |
msgstr "" |
| 262 |
|
| 263 |
#. type: SH |
| 264 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 265 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 266 |
#, no-wrap |
| 267 |
msgid "STANDARDS" |
| 268 |
msgstr "" |
| 269 |
|
| 270 |
#. type: Plain text |
| 271 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 272 |
#: opensuse-tumbleweed |
| 273 |
msgid "POSIX.1-2024." |
| 274 |
msgstr "" |
| 275 |
|
| 276 |
#. type: SH |
| 277 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 278 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 279 |
#, no-wrap |
| 280 |
msgid "HISTORY" |
| 281 |
msgstr "" |
| 282 |
|
| 283 |
#. type: Plain text |
| 284 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 285 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 286 |
msgid "POSIX.1-2001, 4.3BSD." |
| 287 |
msgstr "" |
| 288 |
|
| 289 |
#. type: SH |
| 290 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 291 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 292 |
#, no-wrap |
| 293 |
msgid "SEE ALSO" |
| 294 |
msgstr "" |
| 295 |
|
| 296 |
#. type: Plain text |
| 297 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 298 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 299 |
msgid "" |
| 300 |
"B<geteuid>(2), B<setresuid>(2), B<setreuid>(2), B<setuid>(2), " |
| 301 |
"B<capabilities>(7), B<credentials>(7), B<user_namespaces>(7)" |
| 302 |
msgstr "" |
| 303 |
|
| 304 |
#. type: TH |
| 305 |
#: debian-trixie |
| 306 |
#, no-wrap |
| 307 |
msgid "2024-05-02" |
| 308 |
msgstr "" |
| 309 |
|
| 310 |
#. type: TH |
| 311 |
#: debian-trixie |
| 312 |
#, no-wrap |
| 313 |
msgid "Linux man-pages 6.9.1" |
| 314 |
msgstr "" |
| 315 |
|
| 316 |
#. type: Plain text |
| 317 |
#: debian-trixie |
| 318 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 319 |
msgstr "" |
| 320 |
|
| 321 |
#. type: Plain text |
| 322 |
#: debian-trixie fedora-44 fedora-rawhide |
| 323 |
msgid "POSIX.1-2008." |
| 324 |
msgstr "" |
| 325 |
|
| 326 |
#. type: TH |
| 327 |
#: fedora-44 fedora-rawhide |
| 328 |
#, no-wrap |
| 329 |
msgid "2024-07-23" |
| 330 |
msgstr "" |
| 331 |
|
| 332 |
#. type: TH |
| 333 |
#: fedora-44 fedora-rawhide |
| 334 |
#, no-wrap |
| 335 |
msgid "Linux man-pages 6.13" |
| 336 |
msgstr "" |
| 337 |
|
| 338 |
#. type: TH |
| 339 |
#: mageia-cauldron |
| 340 |
#, no-wrap |
| 341 |
msgid "Linux man-pages 6.17" |
| 342 |
msgstr "" |
| 343 |
|
| 344 |
#. type: TH |
| 345 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 346 |
#, no-wrap |
| 347 |
msgid "Linux man-pages (unreleased)" |
| 348 |
msgstr "" |