Results 1 to 2 of 2
Dear all ,
I am new to the linux world and have some simple questions to consult every brothers.
1. How do I configure the remote protocol access security per ...
- 06-08-2009 #1Just Joined!
- Join Date
- Jun 2009
- Posts
- 1
Some simple questions
Dear all ,
I am new to the linux world and have some simple questions to consult every brothers.
1. How do I configure the remote protocol access security per user account ? For example , I want to allow user A 's account can remometly access the server using SFTP , but block other protocol such as Telnet?
2. When a user remometly access the server using SFTP , how do configure such that this user can only view , write and read his own home's directory ?
3. In the redhat enterprise 5 , I have the installation number . How can I enter this installation number in the redhat?
Regards
- 06-08-2009 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
You can enable/disable network services in the /etc/xinetd.conf file. You can restrict users from any of the services by editing the service configuration file in /etc/xinetd.d, such as telnet. FWIW, by default these services normally only allow root access and to allow other users you need to add them to the "user" field. For example, the default telnet configuration is as follows:
Code:# default: on # description: The telnet server serves telnet sessions; it uses \ # unencrypted username/password pairs for authentication. service telnet { flags = REUSE socket_type = stream wait = no user = root server = /usr/sbin/in.telnetd log_on_failure += USERID disable = yes }Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote