You are on page 1of 7

Universidad Tecnológica de

México

Practice 2: “Configuring Access Control Lists (ACL’s)”


Alumna: García Chávez Yanetzy Alejandra
Materia: Sistemas Operativos
Profesor: José Carlos Alcántara Rodríguez
Grupo: EC06S
Ciclo: 20-2
Fecha de entrega: 26 de marzo del 2020
Contenido
Objetivo..............................................................................................................................................2
Descripción.........................................................................................................................................2
Conclusiones......................................................................................................................................7
Bibliografía.........................................................................................................................................7

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.

7. Change your user identity to acluser.

8. Display the contents of the file1 file.

9. Exit your su session.

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.

12. Change your user identity back to acluser.

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.

15. Exit your su session.

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.

Do the mask permissions match the group permissions?

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.

24. Exit your su session.

25. Display the ACL for 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.

29. Display the contents of the file3 file.

30. Exit your su session.


Conclusiones
Al momento de manejar los permisos de acl de los archivos, estos me aparecieron como que la
operación no era soportada, por lo que no se pudieron hacer los cambios de acl necesarios para
poder ejecutarlos o leerlos desde el usuario acluser, lo que no me permitió ver la mayoría de los
cambios que estos pueden provocar en los archivos

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

You might also like