Admin restore -> admin ssh login fails

Status
Not open for further replies.

Jackiegoal

Verified User
Joined
Nov 22, 2006
Messages
66
Hello,

I've recently performed an admin restore on a clean server (during a server switch). I'm quite happy with the functionality, it didn't work for a few accounts, but I restored them manually and doing it this way saved me quite some time.

However, after a few days I wanted to shutdown root access as everything appeared to be working fine and make the admin user the only one who could perform su commands. But I couldn't login as admin! It appears the backup restore has corrupted something somewhere and I can't seem to find what's wrong.

I checked sshd_config, it shows "AllowUsers admin", I checked /etc/passwd, it shows a listing for admin which leads to /bin/bash (which I think means it has ssh access).

What could be wrong? Is this a bug?

I'm very happy I logged in to admin to shutdown root access instead of done it in a root session as otherwise I would have been unable to login to ssh.
 
Okay, never mind. I had already tried resetting the admin password, which didn't have any effect. So I tried to disable SSH access for user admin which didn't seem to work, but when I tried resetting the password again and then activated SSH access it worked!

I thought I wouldn't remove this topic for future reference, if a mod thinks otherwise: go right ahead and delete it!
 
Status
Not open for further replies.
Back
Top