A user requests a "hidden" Samba share, named confidential, similar to the Windows Administration Share. How can this be configured?
Correct Answer: A
Explanation To create a hidden Samba share, similar to the Windows Administration Share, the share name must end with a dollar sign ().Thiswillpreventthesharefrombeinglistedinthebrowselist,butitcanstillbeaccessedbytypingthefullsharename.Optio with some additional parameters to configure the share. Option B is incorrect because the share name does not end with a dollar sign. Option C is incorrect because the share name is not enclosed in brackets. Option D is incorrect because the share name contains a space, which is not allowed. Option E is incorrect because the share name is not a valid file name12 References: Hiding samba share from browse list for unauthorised users Creating a samba share where everyone has write access
Question 42
What is the path to the global Postfix configuration file? (Specify the full name of the file, including path.)
Correct Answer:
/etc/postfix/main.cf Explanation: The global Postfix configuration file is located at /etc/postfix/main.cf. This file contains the main parameters that control the behavior of the Postfix mail server. It is a plain text file that consists of parameter-value pairs, comments, and blank lines. The syntax of the file is as follows: parameter = value commentThe parameter names are case-insensitive, and the values can be enclosed in quotes if they contain spaces or special characters. The values can also reference other parameters by using the $parameter syntax. The file can be edited manually or by using the postconf command. The postconf command can also be used to display the current values of the parameters, or to set new values. For example: postconf -d # display default values of all parameters postconf -n # display non-default values of all parameters postconf -e 'parameter = value' # set a new value for a parameter The main.cf file is read by Postfix when it starts or reloads. To reload Postfix after making changes to the file, use the command: postfix reload References: LPIC-2 Exam 202 Objectives, Objective 205.3: Managing a postfix server Postfix Basic Configuration, Postfix Documentation Postfix Configuration Parameters, Postfix Documentation How do I change postfix configuration after installing it?, Server Fault What are the Configuration Files for Postfix, The Geek Search
Question 43
How is the LDAP administrator account configured when the rootdnand rootpwdirectives are not present in the slapd.conffile?
Correct Answer: A
Question 44
FILL BLANK Which OpenLDAP client command can be used to change the password for an LDAP entry? (Specify ONLY the command without any path or parameters.)
Correct Answer:
ldappasswd
Question 45
Which of the following Samba services handles the membership of a file server in an Active Directory domain?