Debian Codegraph @

templates/man2/setuid.2.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # 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:43+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 "setuid"
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 "setuid - set user identity"
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 "B<int setuid(uid_t >I<uid>B<);>\n"
84 msgstr ""
85
86 #. type: SH
87 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
88 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
89 #, no-wrap
90 msgid "DESCRIPTION"
91 msgstr ""
92
93 #. type: Plain text
94 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
95 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
96 msgid ""
97 "B<setuid>() sets the effective user ID of the calling process. If the "
98 "calling process is privileged (more precisely: if the process has the "
99 "B<CAP_SETUID> capability in its user namespace), the real UID and saved set-"
100 "user-ID are also set."
101 msgstr ""
102
103 #. type: Plain text
104 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
105 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
106 msgid ""
107 "Under Linux, B<setuid>() is implemented like the POSIX version with the "
108 "B<_POSIX_SAVED_IDS> feature. This allows a set-user-ID (other than root) "
109 "program to drop all of its user privileges, do some un-privileged work, and "
110 "then reengage the original effective user ID in a secure manner."
111 msgstr ""
112
113 #. type: Plain text
114 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
115 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
116 msgid ""
117 "If the user is root or the program is set-user-ID-root, special care must be "
118 "taken: B<setuid>() checks the effective user ID of the caller and if it is "
119 "the superuser, all process-related user ID's are set to I<uid>. After this "
120 "has occurred, it is impossible for the program to regain root privileges."
121 msgstr ""
122
123 #. type: Plain text
124 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
125 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
126 msgid ""
127 "Thus, a set-user-ID-root program wishing to temporarily drop root "
128 "privileges, assume the identity of an unprivileged user, and then regain "
129 "root privileges afterward cannot use B<setuid>(). You can accomplish this "
130 "with B<seteuid>(2)."
131 msgstr ""
132
133 #. type: SH
134 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
135 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
136 #, no-wrap
137 msgid "RETURN VALUE"
138 msgstr ""
139
140 #. type: Plain text
141 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
142 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
143 msgid ""
144 "On success, zero is returned. On error, -1 is returned, and I<errno> is set "
145 "to indicate the error."
146 msgstr ""
147
148 #. type: Plain text
149 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
150 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
151 msgid ""
152 "I<Note>: there are cases where B<setuid>() can fail even when the caller is "
153 "UID 0; it is a grave security error to omit checking for a failure return "
154 "from B<setuid>()."
155 msgstr ""
156
157 #. type: SH
158 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
159 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
160 #, no-wrap
161 msgid "ERRORS"
162 msgstr ""
163
164 #. type: TP
165 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
166 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
167 #, no-wrap
168 msgid "B<EAGAIN>"
169 msgstr ""
170
171 #. type: Plain text
172 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
173 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
174 msgid ""
175 "The call would change the caller's real UID (i.e., I<uid> does not match the "
176 "caller's real UID), but there was a temporary failure allocating the "
177 "necessary kernel data structures."
178 msgstr ""
179
180 #. type: Plain text
181 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
182 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
183 msgid ""
184 "I<uid> does not match the real user ID of the caller and this call would "
185 "bring the number of processes belonging to the real user ID I<uid> over the "
186 "caller's B<RLIMIT_NPROC> resource limit. Since Linux 3.1, this error case "
187 "no longer occurs (but robust applications should check for this error); see "
188 "the description of B<EAGAIN> in B<execve>(2)."
189 msgstr ""
190
191 #. type: TP
192 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
193 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
194 #, no-wrap
195 msgid "B<EINVAL>"
196 msgstr ""
197
198 #. type: Plain text
199 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
200 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
201 msgid "The user ID specified in I<uid> is not valid in this user namespace."
202 msgstr ""
203
204 #. type: TP
205 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
206 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
207 #, no-wrap
208 msgid "B<EPERM>"
209 msgstr ""
210
211 #. type: Plain text
212 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
213 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
214 msgid ""
215 "The user is not privileged (Linux: does not have the B<CAP_SETUID> "
216 "capability in its user namespace) and I<uid> does not match the real UID or "
217 "saved set-user-ID of the calling process."
218 msgstr ""
219
220 #. type: SH
221 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
222 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
223 #, no-wrap
224 msgid "VERSIONS"
225 msgstr ""
226
227 #. type: SS
228 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
229 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
230 #, no-wrap
231 msgid "C library/kernel differences"
232 msgstr ""
233
234 #. type: Plain text
235 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
236 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
237 msgid ""
238 "At the kernel level, user IDs and group IDs are a per-thread attribute. "
239 "However, POSIX requires that all threads in a process share the same "
240 "credentials. The NPTL threading implementation handles the POSIX "
241 "requirements by providing wrapper functions for the various system calls "
242 "that change process UIDs and GIDs. These wrapper functions (including the "
243 "one for B<setuid>()) employ a signal-based technique to ensure that when "
244 "one thread changes credentials, all of the other threads in the process also "
245 "change their credentials. For details, see B<nptl>(7)."
246 msgstr ""
247
248 #. type: SH
249 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
250 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
251 #, no-wrap
252 msgid "STANDARDS"
253 msgstr ""
254
255 #. type: Plain text
256 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
257 #: opensuse-tumbleweed
258 msgid "POSIX.1-2024."
259 msgstr ""
260
261 #. type: SH
262 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
263 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
264 #, no-wrap
265 msgid "HISTORY"
266 msgstr ""
267
268 #. type: Plain text
269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
271 msgid "POSIX.1-2001, SVr4."
272 msgstr ""
273
274 #. SVr4 documents an additional EINVAL error condition.
275 #. type: Plain text
276 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
277 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
278 msgid ""
279 "Not quite compatible with the 4.4BSD call, which sets all of the real, "
280 "saved, and effective user IDs."
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 ""
287 "The original Linux B<setuid>() system call supported only 16-bit user IDs. "
288 "Subsequently, Linux 2.4 added B<setuid32>() supporting 32-bit IDs. The "
289 "glibc B<setuid>() wrapper function transparently deals with the variation "
290 "across kernel versions."
291 msgstr ""
292
293 #. type: SH
294 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
295 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
296 #, no-wrap
297 msgid "NOTES"
298 msgstr ""
299
300 #. type: Plain text
301 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
302 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
303 msgid ""
304 "Linux has the concept of the filesystem user ID, normally equal to the "
305 "effective user ID. The B<setuid>() call also sets the filesystem user ID "
306 "of the calling process. See B<setfsuid>(2)."
307 msgstr ""
308
309 #. type: Plain text
310 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
311 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
312 msgid ""
313 "If I<uid> is different from the old effective UID, the process will be "
314 "forbidden from leaving core dumps."
315 msgstr ""
316
317 #. type: SH
318 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
319 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
320 #, no-wrap
321 msgid "SEE ALSO"
322 msgstr ""
323
324 #. type: Plain text
325 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
326 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
327 msgid ""
328 "B<getuid>(2), B<seteuid>(2), B<setfsuid>(2), B<setreuid>(2), "
329 "B<capabilities>(7), B<credentials>(7), B<user_namespaces>(7)"
330 msgstr ""
331
332 #. type: TH
333 #: debian-trixie
334 #, no-wrap
335 msgid "2024-05-02"
336 msgstr ""
337
338 #. type: TH
339 #: debian-trixie
340 #, no-wrap
341 msgid "Linux man-pages 6.9.1"
342 msgstr ""
343
344 #. type: Plain text
345 #: debian-trixie
346 msgid "Standard C library (I<libc>, I<-lc>)"
347 msgstr ""
348
349 #. type: Plain text
350 #: debian-trixie fedora-44 fedora-rawhide
351 msgid "POSIX.1-2008."
352 msgstr ""
353
354 #. type: TH
355 #: fedora-44 fedora-rawhide
356 #, no-wrap
357 msgid "2024-07-23"
358 msgstr ""
359
360 #. type: TH
361 #: fedora-44 fedora-rawhide
362 #, no-wrap
363 msgid "Linux man-pages 6.13"
364 msgstr ""
365
366 #. type: TH
367 #: mageia-cauldron
368 #, no-wrap
369 msgid "Linux man-pages 6.17"
370 msgstr ""
371
372 #. type: TH
373 #: opensuse-leap-16-1 opensuse-tumbleweed
374 #, no-wrap
375 msgid "Linux man-pages (unreleased)"
376 msgstr ""