Hi,
I am having two users in my CentOS installation
root user1 (name changed)
user1 is having root privilege also
Problem is, while I was working in Putty with user1 login, my PC had a power failure… 30 mins later when I got the power back on, I found user1 was having access denied when trying to login.
I logged in via root and I checked with command
who
and found user1 still login with my previous IP (my ISP gives dynamic IP). So I ran command
skill -KILL -u user1
I checked and found that user is logout…
Since then still I cant login to that user… I changed its password via
passwd user1
Even with that new password also, user1 cant be logged in…
Then I checked log file and I found following error
User user1 from xxx.xxx...xxxx not allowed because not listed in AllowUsers
What can I do ?
Thanks.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Try to check your /etc/ssh/sshd_configd file and check for the directive “AllowUsers”… You may need to add the user for the same and restart ssh … Depending on your environment setup…
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.