I have linux server with root access. I need deny access for all users and accounts, or change password to deny access
On server I have standard soft such apache, mysql. also I have panel ISP manager
I have idea to edit file /etc/passwd for users with id>=1000 and set shell from /bin/bash to /usr/sbin/nologin, also remove all files /home/%user&/.ssh/authorized_keys
Also I need change all passwords in mysql, maybe from phpmyadmin
Do I missed anything? Maybe need check server for any backdoor, or any other access?
Do isp manager creates it own users which needs to disable?