Professional Documents
Culture Documents
Universidad Tecnológica de México
Universidad Tecnológica de México
México
Objetivo
A lo largo de esta práctica se mostrará la manera en la que se crean y configuran permisos de
accesos únicos en archivos y directorios por medio de las listas de control de acceso (ACL’s) por
medio de comandos o usando el editor de archivos GUI
Descripción
1. Log in and open a terminal window.
2. Create the directory named $HOME/acl_test, and change directories to that location.
3. Create two new files named file2 and file3. Record the permissions applied to each.
4. Use the echo command to create the file1 file and add the text string Success for life. to
the file.
5. Display the ACL for the file1 file.
Do the permissions in the ACL match the permissions indicated by the ls command? Si, cuentan
con los mismos permisos
6. Change permissions on the file1 file so that only the owner and the group have read
access.
10. Use the setfacl command to add an ACL entry that allows read access for acluser to the
ACL for the file1 file.
11. Verify that the new ACL entry exists.
13. Use the ls command to display the permissions applied to the file1 file.
14. Change to the acl_test directory and attempt to display the contents of the file1 file.
16. Create and display the ACL for the file2 file.
Do the group permissions match the permissions associated with the mask entry?
R = Si
17. Change the permission mode to grant read, write, and execute permissions to the group
that owns the file2 file.
18. Display the ACL and a long listing for the file2 file.
R = Si
19. Set the mask permissions for the file2 file to read-only.
20. Display the ACL and a long listing for the file2 file.
21. Add an ACL entry for the group named aclgroup to the file2 file. Grant only read and
execute permissions for this group.
22. Change your user identity to acluser, thereby inheriting the users environment.
23. Use the echo command to insert the text string Success for life. into the file2 file.
26. Create a file called file3 and add an ACL entry to the file that recalculates the mask
allowing a user from the aclgroup group to insert a line of text to the file.
27. Change your user identity to acluser, inheriting the users environment.
28. Use the echo command to insert into the text string Success for life. in the file3 file.
Por otro lado, pude rectificar la manera de crear y cambiar los permisos de los archivos para que
otras personas puedan revisarlos o no.
Bibliografía
admi. (2015). UNIX/Linux : Access control lists (ACLs) basics. 26/03/20, de THE GEEK DIARY
Sitio web: https://www.thegeekdiary.com/unix-linux-access-control-lists-acls-basics/
Mirian Rivas. (2019). Cómo crear usuarios dentro de Linux usando el comando useradd.
26/03/2020, de NeoGuias Sitio web: https://www.neoguias.com/crear-usuario-linux-
comando-useradd/
Sun Microsystems, Inc. (2005). UNIX® Essentials Featuring the Solaris™ 10 Operating
System SA-100-S10. Santa Clara, California 95054, U.S.A.: Network Circle