How to configure ssh in Fedora20-GNOME?

asked 2014-11-02 22:41:02 -0500

Gaurav Dighe gravatar image

updated 2014-11-03 04:21:36 -0500

FranciscoD_ gravatar image


I have two users on my Fedora20-GNOME.

  • Users : gaurav and other
  • gaurav - primary user. It has administrator rights(assigned during installation)
  • Group : otherGroup is created.
  • other is assigned to otherGroup

I have created path variables in "other" user's .bashrc files. example: export PATH=/home/other/hadoop/bin:$PATH

Now I want "gaurav " to directly access the libraries of hadoop/bin like( in "other" without providing password

How do I configure the ssh so that "gaurav" can directly invoke commands of "other" without providing password.

Please provide me step by step instructions.

edit retag flag offensive close merge delete



Your question is quite misleading. This has nothing to do with SSH (Secure shell) which is most commonly used to work on remote machines. You're trying to create two users but use them as one - what is the issue with just using one user? (Please edit the question summary to fit your issue better).

FranciscoD_ gravatar imageFranciscoD_ ( 2014-11-03 04:23:00 -0500 )edit

+1, I can't make sense of this question. It would probably help to make it less abstract, ie "I have installed Hadoop in a user's home directory, and I want another user to access those files". Then we can tell you not to do it that way, or whatever :P

randomuser gravatar imagerandomuser ( 2014-11-03 16:58:55 -0500 )edit

randomuser , can you tell me what would be ideal way for installing hadoop. Many tutorials out there asks for creating new user and creating ssh to access them.

Even If i install the hadoop in $HOME directory and create bash, it still asks me for ssh connection. And I still need to provide password of my $HOME user.

Therefore, please guiode me right approach of installing Hadoop(version 1 as well as 2) in Fedora20.

Gaurav Dighe gravatar imageGaurav Dighe ( 2014-11-03 21:11:28 -0500 )edit

I am following below tutorial

Hadoop Installation

Gaurav Dighe gravatar imageGaurav Dighe ( 2014-11-03 21:12:23 -0500 )edit

@Gaurav Dighe, if your question is about how to install hadoop, it might be better to edit your question to clarify. I don't have personal experience with it, but I do see that there are many hadoop packages in the repo, and I know that generally working directories and service users will come with packages that require them. Usually you should be able to configure a service in /etc/ and start it with systemctl; system level services should not touch $HOME.

randomuser gravatar imagerandomuser ( 2014-11-03 23:39:35 -0500 )edit