[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Diferencias
Muestra las diferencias entre dos versiones de la página.
Ambos lados, revisión anteriorRevisión previaPróxima revisión | Revisión previaPróxima revisiónAmbos lados, revisión siguiente | ||
es:slackbook:filesystem_permissions [2019/02/03 03:12 (UTC)] – [SUID, SGID, and the Sticky Bit] slackwarespanol | es:slackbook:filesystem_permissions [2019/02/03 12:28 (UTC)] – [Fuentes] slackwarespanol | ||
---|---|---|---|
Línea 1: | Línea 1: | ||
- | <note warning> | ||
- | <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> | ||
====== Permisos del sistema de archivos ====== | ====== Permisos del sistema de archivos ====== | ||
Línea 162: | Línea 160: | ||
- | Notice the permissions on **// | + | Observe los permisos en ** // passwd // **. En lugar de una <key> ' |
- | an < | + | |
- | < | + | |
- | **// | + | |
- | it, the process will run as the user //" | + | |
- | that actually executed it. The reason for this is readily apparent as | + | |
- | soon as you look at the two files it modifies. Neither | + | |
- | ''/ | + | |
- | are writable by anyone other than root. Since users need to change | + | |
- | their personal | + | |
- | run as root in order to modify those files. | + | |
- | So what about the sticky bit? The sticky bit restricts the ability to | + | Entonces, ¿qué pasa con el sticky bit? El sticky bit restringe la capacidad de mover o eliminar archivos y solo se establece en directorios. Los usuarios que no son root no pueden mover o eliminar ningún archivo de un directorio con el conjunto de sticky bit a menos que sean los propietarios de ese archivo. Normalmente, |
- | move or delete files and is only ever set on directories. Non-root | + | |
- | users cannot move or delete any files under a directory with the sticky | + | |
- | bit set unless they are the owner of that file. Normally anyone with | + | |
- | write permission to the file can do this, but the sticky bit prevents | + | |
- | it for anyone but the owner (and of course, root). | + | |
- | a common | + | |
< | < | ||
Línea 190: | Línea 171: | ||
- | Naturally, being a directory for the storage of temporary files system | + | Naturalmente, al ser un directorio para el almacenamiento de archivos temporales en todo el sistema, '' |
- | wide, ''/ | + | |
- | executable by anyone and everyone. Since any user is likely to have a | + | |
- | file or two stored here at any time, it only makes good sense to | + | |
- | prevent other users from deleting those files, so the sticky bit has | + | |
- | been set. You can see it by the presence of the < | + | |
- | place of the < | + | |
- | + | ** Tabla 10.5. Permisos | |
- | **Table 10.5. SUID, SGID, and "Sticky" | + | ^ Tipo de permiso |
- | ^Permission Type ^Octal Value ^Letter Value| | + | |
|SUID |4 |s| | |SUID |4 |s| | ||
|SGID |2 |s| | |SGID |2 |s| | ||
|Sticky |1 |t| | |Sticky |1 |t| | ||
- | When using octal permissions, you must specify an additional leading | + | Al utilizar permisos octales, debe especificar un valor octal inicial adicional. Por ejemplo, para recrear el permiso en '' |
- | octal value. For example, to recreate the permission on | + | |
- | ''/ | + | |
- | permissions on ''/ | + | |
- | Essentially, any time this leading fourth octet isn't specified, | + | |
- | **// | + | |
Línea 218: | Línea 187: | ||
</ | </ | ||
- | + | El uso de los valores de permiso alfabético es ligeramente diferente. Asumiendo que los dos archivos anteriores tienen permisos de 0000 (sin permisos), aquí es cómo los estableceríamos. | |
- | Using the alphabetic permission values is slightly different. Assuming | + | |
- | the two files above have permissions of 0000 (no permissions at all), | + | |
- | here is how we would set them. | + | |
Línea 229: | Línea 195: | ||
</ | </ | ||
- | ====== Chapter Navigation | + | ===== Navegación de capítulos |
- | **Previous Chapter: [[slackbook: | + | **Capítulo anterior: [[:es:slackbook: |
- | **Next Chapter: [[slackbook: | + | **Capítulo siguiente: [[:es:slackbook: |
- | ====== | + | ====== |
<!-- If you copy information from another source, then specify that source --> | <!-- If you copy information from another source, then specify that source --> | ||
- | * Original source: [[http:// | + | * Fuente original: [[http:// |
<!-- Authors are allowed to give credit to themselves! --> | <!-- Authors are allowed to give credit to themselves! --> | ||
- | * Originally written by Alan Hicks, Chris Lumens, David Cantrell, Logan Johnson | + | * Escrito originalmente por Alan Hicks, Chris Lumens, David Cantrell, Logan Johnson |
- | <!-- * Contributions | + | * Traducción por: [[wiki: |
+ | <!-- * Contrbutions | ||
<!-- Please do not modify anything below, except adding new tags.--> | <!-- Please do not modify anything below, except adding new tags.--> |