Changes

Jump to: navigation, search

OPS235 Lab 5 - Fedora17

30 bytes added, 13:08, 13 February 2010
Investigation 5: How do we turn system services on and off?
#Run the command:
#*<code>chkconfig --list</code>
#What does the output show?
#What is the relationship between the Service Configuration tool, the symbolic links in the startup directory, and the <code>chkconfig</code> command?
#You can also use <code>chkconfig</code> to set services to be on or off for certain runlevels. For example, to turn httpd on for runlevel 4, we issue the command:
#*<code>chkconfig --level 4 httpd on</code>
#To turn it off, we type:
#*<code>chkconfig --level 4 httpd off</code>
#To increase your computer's security, make sure these services are disabled:
#*anacron, bluetooth, cups, irda, irqbalance, isdn, mdmonitor, netfs, nfs, nfslock, pcscd, rpcgssd, rpcidmapd, rpcsvcgssd, sendmail, ypbind.
{{Admon/note|Carefull|You should understand that while most services in this list are often not needed, or are needed under circumstances different than those which occur here, there may be situations in which some of them are required, and it may be up to you as an administrator to determine which services are needed, and which should be turned off.}}
 
 
What does the output show?
14. What is the relationship between the Service Configuration tool, the symbolic links in the startup directory, and the chkconfig command?
15. You can also set services to be on or off for certain runlevels. For example, to turn httpd on for runlevel 4, we issue the command:
 
chkconfig --level 4 httpd on
 
 
To turn it off, we type:
 
chkconfig --level 4 httpd off
 
 
16. To increase your computer's security, make sure these services are disabled:
 
anacron, bluetooth, cups, irda, irqbalance, isdn, mdmonitor, netfs, nfs, nfslock, pcscd, rpcgssd, rpcidmapd, rpcsvcgssd, sendmail, ypbind.
 
You should understand that while most services in this list are often not needed, or are needed under circumstances different than those which occur here, there may be situations in which some of them are required, and it may be up to you as an administrator to determine which services are needed, and which should be turned off.
17. Finally, make sure the gpm service runs in runlevel 3, but not in 5.
Answer the Investigation 5 question.
9
edits

Navigation menu