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?

Answers were Sorted based on User's Feedback



1. Why "d" is postfix in almost every service name of Linux like httpd, dhcpd? 2. how t..

Answer / nilesh ghadge

d means deamon . deamons are nothing but the startup scripts
used to start and to stop the services.

Is This Answer Correct ?    23 Yes 1 No

1. Why "d" is postfix in almost every service name of Linux like httpd, dhcpd? 2. how t..

Answer / gokul

2# SSH CAN BE BLOCKED BY ADDING ITS DAEMON
TO /etc/hosts.deny along with ip of the user

Is This Answer Correct ?    15 Yes 4 No

1. Why "d" is postfix in almost every service name of Linux like httpd, dhcpd? 2. how t..

Answer / kailas marathe

D Means Deamon. Deamon are nothing but start up script
which are used to start & stop the service.

we can restrict the SU & ssh service for some users by
applying Iptables or by applying in /etc/hosts.deny.
we can configure the default gateway for 10 n/w users by
configuring the gateway in ifcfgeth0 file.

Is This Answer Correct ?    6 Yes 2 No

1. Why "d" is postfix in almost every service name of Linux like httpd, dhcpd? 2. how t..

Answer / 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

1. Why "d" is postfix in almost every service name of Linux like httpd, dhcpd? 2. how t..

Answer / raguraman

how can we configure a default gateway for 10 n/w cards
in a server?

route add default gw <gateway ip> eth0

Is This Answer Correct ?    0 Yes 0 No

1. Why "d" is postfix in almost every service name of Linux like httpd, dhcpd? 2. how t..

Answer / alf55

In regard to question #2:

The "su" command is restricted to those people that know the
password of the user that they are switching to.

If user "pete" uses the command "su - fred" then user pete
would have to enter the proper password for "fred" to succeed.

If you are referring to "sudo" there is a configuration file
that is edited by a special command usually called sudoedit
but I have seen it have other names. The "sudo" command can
be restricted based on host, username, group membership and
so on. Unlike what people think, sudo can be used to change
to any user to perform a command and lots of "database
administrators" and sites with more than one system
administrators use this feature to be able to track which
"real users" issue which commands.

As far as "ssh" the configuration file "ssh_config" found in
"/etc/ssh/" is the "client" side configuration file and it
allows the restrictions/permissions on a per user basis when
that is needed.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Linux Commands Interview Questions

What is DISM command?

0 Answers  


What does the following command line produce? Explain each aspect of this line. $ (date ; ps -ef | awk {print $1}' | sort | uniq | wc -l ) >> Activity.log

4 Answers   Cisco,


how to see the system configuration in your linux system?

7 Answers  


What is makefile in unix?

0 Answers  


How do you execute more than one command or program from a single command line entry?

0 Answers  






Write a command that will display all .txt files, including its individual permission.

0 Answers  


What is git command?

0 Answers  


Brief about the command kill PID?

0 Answers  


What is pwd in linux command?

0 Answers  


how to create SAMBA server in fedora 9 linux ?

6 Answers   Wipro,


Explain about the command lynx?

0 Answers  


How use linux command line?

0 Answers  


Categories