Szóste_21

 0    21 informačný list    michalesq
vytlačiť hrať Skontrolujte sa
 
otázka - Odpoveď -
How to add setuid?
začať sa učiť
chmod u+s test1
How to add setgid with octo notation?
začať sa učiť
chmod 2500 test1
How to add setuid with octo notation?
začať sa učiť
chmod 4500 test1
How to secure file from being removed adding sticky bit?
začať sa učiť
chmod +t test1
How to secure file from being removed adding sticky bit with octo notation?
začať sa učiť
chmod 1777 test1
How to display umaks for the system?
začať sa učiť
umask
Mask the write permissions for the "other" users, then touch file2
začať sa učiť
umask 002
Mask write access for group members and the write for "other" permissions
začať sa učiť
umask 022
Mask read and write permissions for the owner of a file
začať sa učiť
umask 600
Mask read/write access for group for non-privileged users and other permissions and make these changes persistent
začať sa učiť
vim /etc/bashrc and vim /etc/profile // change first umask to 066 (not privileged users)
What does it mean: if [$UID -gt 199 ] && ["`id -gn`" = "`id -un`" ]
začať sa učiť
If the user id > 199 and id for the user and group is equal then user is not privileged, else it is priviledged
How to display manual of the application?
začať sa učiť
man passwd
How to display 5th page of the manual?
začať sa učiť
man 5 passwd
How to look for the "word" in the documentation
začať sa učiť
apropos word
Loading manuals to the cache
začať sa učiť
mandb
directories contain information about documentation
začať sa učiť
/usr/share/doc
locate passwd
začať sa učiť
search everything in the system for passwd command
Update information about the program
začať sa učiť
updatedb
How to display full absolute path for the specific program
začať sa učiť
which passwd
How to look on manual page descriptions for the program
začať sa učiť
whatis passwd
How to show everything about the program
začať sa učiť
whereis passwd

Ak chcete pridať komentár, musíte byť prihlásený.