UNIX Services and Daemons - PowerPoint PPT Presentation

About This Presentation
Title:

UNIX Services and Daemons

Description:

To quote from the Handbook 'UNIX systems seem to be infested with both daemons and demons. ... (schedule files) from both users and administrators. inetd ... – PowerPoint PPT presentation

Number of Views:37
Avg rating:3.0/5.0
Slides: 6
Provided by: DrAlB
Learn more at: http://home.ubalt.edu
Category:

less

Transcript and Presenter's Notes

Title: UNIX Services and Daemons


1
UNIX Services and Daemons
2
Overview
  • Daemons are
  • background processes that perform a
    system-related task
  • are independent processes rather than part of the
    kernel
  • started at boot time or when there is a need for
    them.
  • The historical meaning of the word daemon is an
    independent spirit, nor good or evil. To quote
    from the Handbook UNIX systems seem to be
    infested with both daemons and demons.

3
Essential daemons
  • Init (dont play with it if you are not an
    expert).
  • is the first process to start after boot and
    places the system in single user mode of spawns a
    shell to read the startup files
  • you can re-start the system by sending SIGHUP to
    init.
  • cron
  • runs commands at preset times
  • accepts crontabs (schedule files) from both users
    and administrators
  • inetd
  • is a daemon that manages other daemons
  • only works with network daemons

4
inetd.conf and services
  • /etc/inetd.conf
  • list the services name, type of socket
    (streamTCP), protocol (tcp or udp), requests
    (multiplewait), username to run, fully qualified
    path name of daemon. See example.
  • /etc/services
  • list the services name, port/protocol, alias. See
    example.
  • It is used by inetd to assign ports.

5
The cron daemon
  • It starts at boot and remains up.
  • Almost anything you can do in a shell window can
    be done in cron.
  • SGI /etc/cron.d directory for defaults (deny,
    allow) and /usr/var/spool/cron directory for
    crontabs.
  • Crontabs are the scheduling files. See an example
    here. Are created by user, e.g. root, abento,
    etc.
  • format min hour daymo month daywk cmd
Write a Comment
User Comments (0)
About PowerShow.com