SUSE Linux Enterprise Server Administration (Course 3037) 8-1

Total Page:16

File Type:pdf, Size:1020Kb

SUSE Linux Enterprise Server Administration (Course 3037) 8-1

SUSE Linux Enterprise Server Administration (Course 3037) 8-1

SUSE Linux Enterprise Server Administration (Course 3037) 1-4188-3731-8

Chapter 8 Answers

Review Questions

1. What command may be used to create printers? a. cupsadmin b. lpadmin c. lpstat d. cupsd ANSWER: b

2. When you try to send a print job to the printer p1 you receive an error message stating that the print queue is unavailable. What command can you use to allow print jobs to enter the print queue for p1? _____ ANSWER: accept p1

3. What address would you use in your web browser to administer your local CUPS server? _____ ANSWER: http://127.0.0.1:631

4. When you save print options in the kprinter utility as the root user, what file are these options saved to? _____

ANSWER: /etc/cups/lpoptions

5. What CUPS log stores remote printing requests? _____ ANSWER: /var/log/cups/access_log SUSE Linux Enterprise Server Administration (Course 3037) 8-2

6. What line in the /etc/exports file will export the /home directory to the host arfa as read- write while ensuring that the root user does not have administrative rights to the exported directory? _____

ANSWER: /home arfa(rw,root_squash)

7. What three services need to be started on an NFS server? a. RPC mount daemon b. RPC portmapper c. RPC NFS daemon d. RPC exporter ANSWER: a,b,c

8. What command may be used to mount the /home directory on a remote computer called server2 using the NFS protocol to the local /mnt directory? _____

ANSWER: mount –t nfs server2:/home /mnt

9. What command may be used to display the NFS ports registered by the RPM portmapper daemon? _____ ANSWER: rpcinfo -p

10. What two commands can you run to activate changes made to the /etc/samba/smb.conf file? a. smbclient --restart b. rcsmb restart c. nmbclient --restart d. rcnmb restart ANSWER: b,d

11. What command can you use to check the /etc/samba/smb.conf file for errors? _____ ANSWER: testparm SUSE Linux Enterprise Server Administration (Course 3037) 8-3

12. What command may be used to mount the acctg shared directory on the server arfa to the local /mnt directory using SMB? _____ ANSWER: mount –t smbfs //arfa/acctg /mnt

13. Which of the following daemons is started on an NIS server? (Choose all that apply.) e. ypbind f. ypwhich g. ypserv h. RPC portmapper ANSWER: a,c,d

14. What command may be used to generate NIS maps on the command line using entries on the /var/yp/Makefile? _____

ANSWER: make –C /var/yp

15. You have configured your system to authenticate to an NIS server. When you use the passwd command to change your password, it does not change as expected. What command must you use to change your NIS password for it to take effect on the NIS server? _____ ANSWER: yppasswd

16. Which of the following is a valid DN for an LDAP object? a. cn=joe b. cn=joe.ou=acctg. c. cn=joe.ou=acctg.dc=suse d. cn=joe.ou=acctg.dc=suse.dc=com ANSWER: d

17. What package is used to implement LDAP in SLES 9? _____ ANSWER: OpenLDAP SUSE Linux Enterprise Server Administration (Course 3037) 8-4

Discovery Exercises

Configuring a Samba Domain Controller Not available.

Researching File and Printer Sharing Protocols Not available – answers may vary.

Configuring LDAP Not available.

Recommended publications