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
Which command is used to find what is in your home directory?
Is cmake a compiler?
what is the roles and responsibilities in linux system admin having 2yrs exp..?
What does p mean linux?
Does linux cp command overwrite?
How do I find previous commands in linux?
What is lsof command in linux?
You wish to print the file vacations with 60 lines to a page. Which of the following commands will accomplish this?
What does execute mean in linux?
Describe the mknod command and when you’d use it.
What is the syntax of mkdir?
What are the basic dos commands?
The head command writes the how many lines of a file to screen?
What does chmod 777 do?
can any one send me one project on linux ...?