1. Why "d" is postfix in almost every service name of Linux
like httpd, dhcpd?
2. how to restrict su & ssh services for some users?
3. how can we configure a default gateway for 10 n/w cards
in a server?

Answer Posted / alf55

In regard to the first question:

The "d" is for "daemon" (from the Greek language meaning
hidden helper providing useful services) not "deamon".
Daemon is pronounced as if were spelled "daymon".

Since on a Unix/Linux system, the jobs provide useful
services and are run in the background and are not started
by a user that logs into the system, they are called daemons.

Way back in the old days of Unix these names were the
"service name" appended with the "d" (such as ftpd, named,
smtpd, popd, etc) and it did not matter which program was
being used to provide that service. So any program used to
provide the "ftp" service was called "ftpd".

In more modern times this has changed by both some distros
and programs. However some still follow the old convention.

Today there are four common conventions in use for the
daemon naming:

"service name" appended with the "d"
"program name" appended with the "d"
"program name" appended with "-daemon"
"program name"

Examples:
of the first would include: named, sshd, ntpd, httpd, dhcpd
of the second would include: cupsd, rsyncd
of the third would include: git-daemon
of the fourth would include: apache, apache2, samba

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which command will show you free/used memory?

550


Explain getopts command of linux?

583


How can we increase disk read performance in single command in Linux operating system?

677


What does chmod 666 do?

527


Which command is used to delete a group?

552






What is cd in cmd?

517


What is bc command in unix?

507


What the command used for search file or files for specific text?

492


What does comm do and how to use it?

541


Which are the linux directory commands?

553


Does cp overwrite?

553


How do I search bash history?

496


What language is clang written in?

483


How do I get to root directory in linux?

562


What is command line in unix?

505