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 grep command?

0 Answers  


my clients are getting services from servers but how to know which client is using which service. is there any files to keep information about these? clients used ftp, nis, samba, apache, squid, nfs and mail services how to know how many users got service from server side with date,time and client system ip ?

3 Answers   Wipro,


How to hide the partition in GRUB booting? (This technique is required when you have more that one Windows system on different partitions of the same disk, let us say the first and second partitions of the first hard drive, to boot from the first partition you must hide the second one)

2 Answers  


What are the basic commands for user management?

0 Answers  


Which daemon is used for scheduling of the commands?

0 Answers  






What is the difference between locating and locate command?

0 Answers  


what is the command to make a process to run in the background from foreground?

5 Answers   Patni,


How can I only see the first 14 lines of a file?

5 Answers  


How do you read ext2/3 file system in windows?

8 Answers   HP,


What is in mkdir command?

0 Answers  


How can I delete a file in linux?

0 Answers  


Explain the working of command grouping?

0 Answers  


Categories