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
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 |
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 |
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 |
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 |
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 |
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 |
How to write the output of a command to a file?
What is the purpose output of cd command?
What are the commands used in command prompt?
What is the command to calculate the size of a folder?
1.I want to change runlevel but the Users shall not be disturbed?how? 2.Disk have 5gb disk utilization even though files unable to create, why? 3.what are the internal and external command in linux? 4.sar command o/p? 5.how list the open files? 6.what is kernel compiling? 7.How do u See complete configuration in ur system? 8.how will u make a daily updates with cron daily? 9.which port is associated with ttys0? 10.specific some problems linux admin(if u are linux admin)faced and how did u overcome it?
10 Answers IBM, TCS,
What is bash linux?
What command should you use to check your file system?
if i have one folder say aaa and that folder having 100 files from that 50 files there aaa word is written how to find in which aaa is writen and without opening that file
The ‘logout’ built in command is used to
What is the command to check cpu speed in linux?
Which command reduces the size of a file?
What is history command in linux?