LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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


Reply
  Search this Thread
Old 05-15-2017, 01:50 PM   #1
cp24eva
LQ Newbie
 
Registered: Nov 2011
Posts: 7

Rep: Reputation: Disabled
fatal: Access denied for user by PAM account configuration [preauth]


I'm sure this is a newb question and that is why I am here lol. I have a user trying to ssh into a RHEL7 server, but gets immediately disconnected when entering his password in putty. I can't get over this issue for ONE particular user. I've looked at the /etc/shadow file and the /etc/passwd file and nothing seems out of the ordinary. I've changed his password, unlock his account with passwd -u. Changed his account expiry with change -d. I also reset his pam_tally2 with pam_tally2 --user<username> --reset. Not sure what else to do. I am not allow to change the pam.d configs. I mean, I could probably do it, but then I'd have to change them back so I don't think that is an option for me at the moment. Work fine for me and a bunch of others, just not this one person. Any suggestions? I can't restart sshd at the moment. Too many ppl utilizing the server.
 
Old 05-15-2017, 02:30 PM   #2
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.8.2003
Posts: 5,425

Rep: Reputation: 2054Reputation: 2054Reputation: 2054Reputation: 2054Reputation: 2054Reputation: 2054Reputation: 2054Reputation: 2054Reputation: 2054Reputation: 2054Reputation: 2054
My first suspicion, given everything you've already checked, would be that his PuTTY is not configured properly. That is, that the problem is with his PC, not on the server.

Can that user login from another client machine? Have you reviewed his connection settings?
Turn on session logging in PuTTY to see what PuTTY is doing.

Sean

Last edited by scasey; 05-15-2017 at 04:11 PM.
 
  


Reply


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
[SOLVED] FAILED to authorize user with PAM (Permission denied) newbie14 Linux - Security 30 08-04-2017 07:36 AM
[SOLVED] pam_access(sshd:account): access denied for user `local' from `server' neogeo Linux - Newbie 2 07-24-2017 12:23 AM
mounting a user's home folder through pam mount who authenticated through AD has permission denied RoyalSoldier Linux - Server 2 02-07-2016 03:49 PM
Access denied : User admin is not allowed to use the Webmin Configuration module rtoney5 Linux - Software 1 04-15-2010 09:54 PM
PAM rejected by account configuration[12] papa32 Linux - Security 3 12-10-2002 07:42 PM

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

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

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
Open Source Consulting | Domain Registration