Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
*.info;mail.none;authpriv.none;cron.none /var/log/messages
authpriv.* /var/log/secure
51) From rsyslog.conf as above logs from authpriv.info will write to file …….
52) Which command use to show log messges from chronyd service only ?
53) Which command use to show log message from httpd service that have PID 5000 ?
54) Re-order step to enable persistence system journal logs.
- #killall -USR1 systemd-journald
- #mkdir /var/log/journal
- #chown root:systemd-journal /var/log/journal
- #chmod 2755 /var/log/journal
55) Which command use to set/display current time zone ?
56) What is timezone for Thailand ?
57) What is command for create archive from /etc and compress with xz format ?
58) cpio command can create archive from /etc and compress with gzip format as below
……………………………………
59) what is network address of IP : 192.168.100.15/23 ?
60) IP: 192.168.123.20/26 GW: 192.168.123.1 ( True or False )
61) Which command use to translate from name to IP ?
62) Which command use to translate from IP to name ?
63) Which file is local database for translate from name to IP ?
64) We can not set gateway by command “nmcli” ( True or False )
65) Which command are display about routing information ? ( 3 )
66) What is command for set one time scheduling ?
67) What is daemon processs for on time scheduling ?
68) Set scheduling for stop service httpd at 13:00 on 24/7/2019.
69) Set scheduling for create archivie of /etc every sun day in December .
70) What is daemon process of recurring job schedule?
71) What happen if user1 existing in /etc/cron.allow and cron.deny ?
72) What happen if /etc/at.allow is empty but /etc/at.deny not existing ?
73) What happen if /etc/at.deny is empty but /etc/at.allow not existing ?
74) File ACL support on XFS by default . That mean we can enable ACL by add option acl at mount
command ( True or False )
75) File ACL not support on ext4 file system ( True or False )
76) Which command use to display file ACL ?
77) Which command use to remove all ACL from file ?
78) What is command to set ACL for allow user1 to read fileA ?
79) root user can not set file ACL on file which belong to another user ( True or False )
80) default ACL can set to file only ( True or False )