Re: Help with login problem!

From: FS (bastiji_at_gmail.com)
Date: 04/29/05

  • Next message: Gérard Milmeister: "Re: [OT] Changing the case of filenames"
    Date: Fri, 29 Apr 2005 09:55:32 -0400
    To: Ankush Grover <ankush174@gmail.com>
    
    

    On 4/29/05, Ankush Grover <ankush174@gmail.com> wrote:
    > When I try to ssh to the said account, it doesn't work. The connection
    > opens, accepts my password and then closes instantly. Trying to "su -
    > newuser" or "su newuser" result in a "could not open session"
    > Interestingly enough, FTP does work!
    >
    > > > >Googling seems to point to permissions problem but I can't figure out
    > > > >where or what. The /etc/passwd is 644, /etc/group is 644 and
    > > > >/etc/shadow is 600. Permissions for the home directory are fine too.
    > > > >
    >
    > Hey,
    >
    > Can you login into the machine without going through SSH,if you are
    > able to do so then the problem is with SSH.
    >
    > Try to restart the SSH service
    >
    > service sshd restart
    >
    > You can also check the /etc/ssh/ssh_config and /etc/ssh/sshd_config files also.
    > SSH is controlled by these files.
    >
    > Moreover create one more user try to login the new user through SSH
    > and also from the FC1 machine also.I
    >
    > Regards
    >
    > Ankush
    >

    Ankush -- Thanks for replying.

    I found out the problem this morning. Somehow the permissions on the
    /etc were set to rwxr--r-- Changing that to rwxr-xr-x, I'm now able to
    login/ssh/console properly.

    Thank you all for your help!

    Rgds,
    Faisal

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Gérard Milmeister: "Re: [OT] Changing the case of filenames"

    Relevant Pages

    • Re: Protocol 2,1 does not work for /etc/ssh/sshd_config
      ... I do "service sshd restart" for both configuration. ... we have serveral boxes which seems to have problems in the protocol handling in the transition from 2 to 1. ... What says a ssh -v -v -v server, ...
      (comp.security.ssh)
    • Protocol 2,1 does not work for /etc/ssh/sshd_config
      ... This does not work (client cannot ssh) even though the man page ... specify this: ... I do "service sshd restart" for both configuration. ...
      (comp.security.ssh)
    • Re: Off topic: Hacker
      ... Since it's a TCP connection to ssh, ... These are automated attacks coming from all around as Mike said, ... Best plan is to get your friend to move his ssh port off 22. ...
      (Fedora)
    • Re: Help with login problem!
      ... When I try to ssh to the said account, ... opens, accepts my password and then closes instantly. ... newuser" or "su newuser" result in a "could not open session" ...
      (Fedora)