Differences between current version and previous revision of SUID.
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 3 | Last edited on Monday, May 15, 2006 1:03:41 pm | by CraigBox | |
Older page: | version 2 | Last edited on Monday, May 15, 2006 1:03:28 pm | by CraigBox | Revert |
@@ -1,5 +1,5 @@
-A [SUID] program (short for Set [UID]) is when a program has the <tt>u+s</tt> permission bit set. This means that the program runs with the EffectiveUid
of the person that owns the file, not the person that runs the program. For instance, a SUID program owned by <tt>root</tt> would run as <tt>root</tt>, instead of a normal user when executed.
+A [SUID] program (short for Set [UID]) is when a program has the <tt>u+s</tt> permission bit set. This means that the program runs with the Effective UID (EUID|UID]
of the person that owns the file, not the person that runs the program. For instance, a SUID program owned by <tt>root</tt> would run as <tt>root</tt>, instead of a normal user when executed.
To run a progam completely as a new user, it needs to be SUID to that user, and you need to execute
<verbatim>