Find the answer to your Linux question:
Results 1 to 4 of 4
Dear All, I'm new to linux environment. So help me with this forum. I have two linux machines.. Till yesterday, I have access to those 2 systems through Winscp, VNCServer ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2011
    Posts
    3

    Session issues


    Dear All,

    I'm new to linux environment. So help me with this forum.
    I have two linux machines.. Till yesterday, I have access to those 2 systems through Winscp, VNCServer and Putty.

    As I change home owner ship from root to oracle(user), I'm unable to connect through either putty nor Winscp. But I connect through VNC. And also even if I click on services or anyother application in GUI, it displays a dialog box "Unknow error".

    Please find me a solution for this.

  2. #2
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    As I change home owner ship from root to oracle(user),
    What do you mean by this statement? What command or commands did you run to do this?

  3. #3
    Just Joined!
    Join Date
    Aug 2011
    Posts
    3
    Quote Originally Posted by atreyu View Post
    What do you mean by this statement? What command or commands did you run to do this?
    I mean when I change home permission's from root user to oracle user. Making "Oracle" user as root on home directory..

    # chown -R oracle:dba abc
    # chmod -R 777 abc.

    From then im unable to access from winscp and putty.. but can connect through vncserver.

  4. $spacer_open
    $spacer_close
  5. #4
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    Is abc the home path for the user oracle? Show the contents of this command:
    Code:
     grep oracle /etc/passwd
    If abc is your home directory, you definitely don't want to be doing a 'chmod -R 777' on it - that will screw up your SSH config at the least.

    Show permissions of oracle's home dir:
    Code:
    ls -ld `awk -F: '$1 ~ /oracle/{print $6}' /etc/passwd`
    Also, can you show exactly how you are calling SSH?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •