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.
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.