HostedDB - Dedicated UNIX Servers

Securing-Optimizing-RH-Linux-1_2_28
Comments and suggestions concerning this book should be mailed to gmourani@videotron.ca © Copyright 1999-2000 Gerhard Mourani and Open Network Architecture ® 28 This command will list all files in installed RPM package. It works only when the package is already installed in your system. · To check a RPM signature package, use the command: [root@deep /]# rpm --checksig foo This command checks the PGP signature of specified package to ensure its integrity and origin. Always use this command first before installing new RPM package on your system. Also, GnuPG or Pgp software must be already installed on your system before you can use this command. Starting and stopping daemon services The init program of Linux also known as process control initialization is in charge of starting all the normal and authorized processes that need to run at boot time in your system. These may include the APACHE daemons, NETWORK daemons, and anything else that must be running when your machine boots. Each of these processes has a script under “/etc/rc.d/init.d/” directory written to accept an argument, which can be “start”, “stop” and “restart”. You can execute those scripts by hand in fact with a command like: For example: · To start the httpd Web Server manually under Linux. [root@deep /]# /etc/rc.d/init.d/httpd start Starting httpd:                                              [  OK  ] · To stop the httpd Web Server manually under Linux. [root@deep /]# /etc/rc.d/init.d/httpd stop Shutting down http:                                          [  OK  ] · To restart the httpd Web Server manually under Linux. [root@deep /]# /etc/rc.d/init.d/httpd restart Shutting down http:                                          [  OK  ] Starting httpd:                                              [  OK  ] Check inside your “/etc/rc.d/init.d/” directory for services available and use command start | stop | restart to work around. Software that must be uninstalled after installation of the Server Red Hat Linux install other pre-established program in your system by default and don’t give you the choice to uninstall them during the install setup. For this reason, you must uninstall the following software on your system after the installation of your server: pump mt-st eject mailcap apmd kernel-pcmcia-cs linuxconf getty_ps setconsole isapnptools setserial kudzu raidtools gnupg redhat-logos redhat-release gd pciutils rmt Use command RPM like the following to uninstall them. · The command to uninstall software is: