Piąte_21

 0    21 tarjetas    michalesq
imprimir jugar test de práctica
 
término - definición -
Remove rights to write in a file for the file owner
empezar lección
chmod u-w myfile
Remove rights to read in a file for the file owner
empezar lección
chmod u-r myfile
Add rights to read and write in a file for the file owner
empezar lección
chmod u+rw myfile
Remove rights to read in a file for the owner, group and others
empezar lección
chmod -r myfile
Remove rights to write in a file for the owner, group and others
empezar lección
chmod -w myfile
How to add group in the system?
empezar lección
groupadd finance
How to list all groups?
empezar lección
getent group or cat /etc/group
How to change owner for the file or catalog
empezar lección
chown user: group file or directory
Remove rights to write in a file for the group
empezar lección
chmod g-w myfile
Remove rights to read in a file for the group
empezar lección
chmod g-r myfile
Add rights to read and write in a file for the group
empezar lección
chmod g+rw myfile
Remove rights to write in a file for the others
empezar lección
chmod o-w myfile
Remove rights to read in a file for the others
empezar lección
chmod o-r myfile
Add rights to read and write in a file for the others
empezar lección
chmod o+rw myfile
How to add user to the group
empezar lección
usermod -G finance user // relog to enable access to finance
How to remove execute rights on files?
empezar lección
chmod ug-x -R finance
How to remove execute rights on directories?
empezar lección
chmod ug+X -R finance
How to add rights for all: owner, group and others for the file?
empezar lección
chmod a+r test1
What is setgid
empezar lección
permission bit - gives permission as a group
What is setuid
empezar lección
permission bit - gives permission as a user
How to add setgid?
empezar lección
chmod g+s test1

Debes iniciar sesión para poder comentar.