Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What happens to hard link when file is deleted?

864


What does uname do in linux?

1035


What is clang tidy?

946


What is cd in cmd?

880


What is cmake in linux?

1090


If the programmer wishes to execute an instruction at the specified time. Which command is used?

1379


How often do you use grep command and how in Linux operating system?

1055


What are the ms dos commands?

988


What file type is a makefile?

901


What is p command?

1023


What are bash scripts used for?

1033


What does pwd mean in linux?

1006


What does wc command do in unix?

967


List the three main parts of an operating system command?

878


What is kill command?

956