LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Newbie Question (https://www.linuxquestions.org/questions/linux-newbie-8/newbie-question-731356/)

youareapkman 06-08-2009 01:57 AM

Newbie Question
 
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 remotely access the server using SFTP , but block other protocol such as Telnet?

2. When a user remotely 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?

Regard

hw-tph 06-08-2009 05:21 AM

1. For most services you can configure based on group membership. I.e. if a user is member of the "ftp" group she can access your server's FTP daemon. However, you should simply not use telnet under any circumstances. If you have the telnet daemon installed, disable it. Use ssh access instead.

2. You can use a chroot jail to make sure the user cannot escape (easily) from her home directory. I don't know about Redhat but Debian has, as always, excellent documentation on how to set this up.

3. I'm no Redhat man. If you purchased a license I suppose Redhat will be willing to tell you how to register your installation.

chrism01 06-09-2009 01:07 AM

3. if its a new RH install, login as root at the cmd line and issue

rhn_register

and follow the prompts.
If you're trying to re-register a machine you have previously done, try http://www.cyberciti.biz/faq/reregis...d-hat-network/


All times are GMT -5. The time now is 11:47 PM.