LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 09-10-2019, 06:29 AM   #1
dhar_bikramtm
LQ Newbie
 
Registered: Sep 2019
Posts: 12

Rep: Reputation: Disabled
getting " permission denied error , try after some time " while doing ssh


i unable to do ssh after changing password getting permission denied error.

chage :::

Last password change : Sep 09, 2019
Password expires : Oct 09, 2019
Password inactive : never
Account expires : never
Minimum number of days between password change : 0
Maximum number of days between password change : 30
Number of days of warning before password expires : 7

passwd :

tamha500 PS 2019-09-09 0 30 7 -1 (Password set, SHA512 crypt.)


/var/log/secure :

Sep 9 16:16:20 mkc-web sshd[7074]: pam_unix(sshd:account): expired password for user tamha500 (password aged)
Sep 9 16:16:20 mkc-web sshd[7074]: Accepted password for tamha500 from 10.77.36.98 port 59717 ssh2
Sep 9 16:16:20 mkc-web sshd[7074]: pam_unix(sshd:session): session opened for user tamha500 by (uid=0)
Sep 9 16:16:43 mkc-web passwd: pam_unix(passwd:chauthtok): password changed for tamha500
Sep 9 16:17:02 mkc-web sshd[7074]: pam_unix(sshd:session): session closed for user tamha500
Sep 9 16:17:34 mkc-web sshd[7092]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=10.77.36.98 user=tamha500
Sep 9 16:17:36 mkc-web sshd[7092]: Failed password for tamha500 from 10.77.36.98 port 59719 ssh2
Sep 9 16:20:57 mkc-web sshd[7186]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=10.77.36.98 user=tamha500
Sep 9 16:20:59 mkc-web sshd[7186]: Failed password for tamha500 from 10.77.36.98 port 60504 ssh2
Sep 9 16:21:14 mkc-web sshd[7186]: Failed password for tamha500 from 10.77.36.98 port 60504 ssh2
Sep 9 16:31:18 mkc-web sshd[7419]: Invalid user tamha500. from 10.77.36.98
Sep 9 16:31:18 mkc-web sshd[7420]: input_userauth_request: invalid user tamha500.
Sep 9 16:31:35 mkc-web sshd[7419]: pam_succeed_if(sshd:auth): error retrieving information about user tamha500.
Sep 9 16:31:37 mkc-web sshd[7419]: Failed password for invalid user tamha500. from 10.77.36.98 port 45591 ssh2
Sep 9 16:32:36 mkc-web passwd: pam_unix(passwd:chauthtok): password changed for tamha500
Sep 9 16:32:54 mkc-web su: pam_unix(su:session): session opened for user tamha500 by dhar501(uid=0)
Sep 9 16:33:04 mkc-web su: pam_unix(su:session): session closed for user tamha500
Sep 9 16:49:48 mkc-web su: pam_tally2(su:auth): user tamha500 (1032) tally 5, deny 3
Sep 9 16:50:13 mkc-web su: pam_unix(su:auth): authentication failure; logname=dhar501 uid=1031 euid=0 tty=pts/0 ruser=dhar501 rhost= user=tamha500
Sep 9 16:53:35 mkc-web su: pam_tally2(su:auth): user tamha500 (1032) tally 6, deny 3
Sep 9 16:57:59 mkc-web usermod[8022]: lock user 'tamha500' password
Sep 9 16:58:51 mkc-web usermod[8029]: unlock user 'tamha500' password
Sep 9 16:59:21 mkc-web passwd: pam_unix(passwd:chauthtok): password changed for tamha500
Sep 9 16:59:49 mkc-web su: pam_unix(su:auth): authentication failure; logname=dhar501 uid=1031 euid=0 tty=pts/0 ruser=dhar501 rhost= user=tamha500
Sep 9 17:20:06 mkc-web sshd[8561]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=10.77.36.98 user=tamha500
Sep 9 17:20:07 mkc-web sshd[8561]: Failed password for tamha500 from 10.77.36.98 port 55037 ssh2

kindly help how to resolve the issue
 
Old 09-10-2019, 07:14 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 21,824

Rep: Reputation: 5775Reputation: 5775Reputation: 5775Reputation: 5775Reputation: 5775Reputation: 5775Reputation: 5775Reputation: 5775Reputation: 5775Reputation: 5775Reputation: 5775
Duplicate; reported
 
Old 09-10-2019, 07:16 AM   #3
dhar_bikramtm
LQ Newbie
 
Registered: Sep 2019
Posts: 12

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
Duplicate; reported
i didnt get resolution
 
Old 09-10-2019, 07:35 AM   #4
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 1,999

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by dhar_bikramtm View Post
i didnt get resolution
two threads is not going to help
you will just get the same questions asked as no history to read.
 
Old 09-10-2019, 08:13 AM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 21,824

Rep: Reputation: 5775Reputation: 5775Reputation: 5775Reputation: 5775Reputation: 5775Reputation: 5775Reputation: 5775Reputation: 5775Reputation: 5775Reputation: 5775Reputation: 5775
Quote:
Originally Posted by dhar_bikramtm View Post
i didnt get resolution
You might have, if you answered the questions you were asked, and provided details in your other thread. And ignoring the forum rules and duplicating a post won't get you any better/different answers.
 
Old 09-10-2019, 08:27 AM   #6
rtmistler
Moderator
 
Registered: Mar 2011
Location: MA, USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 8,010
Blog Entries: 13

Rep: Reputation: 3453Reputation: 3453Reputation: 3453Reputation: 3453Reputation: 3453Reputation: 3453Reputation: 3453Reputation: 3453Reputation: 3453Reputation: 3453Reputation: 3453
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

Quote:
Originally Posted by dhar_bikramtm View Post
i didnt get resolution
Kindly refrain from intentionally opening duplicate threads because you feel you did not receive a resolution, there may not be a possible resolution, the problem may be very complex and take some greater effort, or communications necessary to aid with solving the problem may be lacking. There are no guarantees that all questions to threads on LQ will receive answers or resolutions.

Last edited by rtmistler; 09-10-2019 at 08:29 AM.
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Server SSH error:Permission denied, please try again ALice.wagner Linux - Newbie 9 01-04-2019 09:33 PM
What are possible reasons for getting "permission denied" by ssh? tsuren Linux - Networking 5 09-26-2007 12:24 PM
ssh login error : Permission denied, please try again powah Linux - Security 3 07-12-2007 12:32 AM
Need ACCESS to change files! Every time I try to change a setting,"Permission Denied" Balarabay1 SUSE / openSUSE 2 03-06-2006 09:54 AM
"permission denied" when doing rsh/rcp ayeletr Linux - General 1 01-22-2004 09:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration