no shell for root :(
helloI don't allow direct root login on my server, so I need to login with my user before "su"ing to root
but I think I messed with something when using chsh and disabled my own shell (setted to /usr/local/cpanel/bin/noshell ), while logged as root
now I don't get to get root again:
-bash-2.05b$ su -l
Password:
Shell access is not enabled on your account!
If you need shell access please contact support.
-bash-2.05b$ su
Password:
Shell access is not enabled on your account!
If you need shell access please contact support.
any ideas on how to fix that? (if possible, without needing to reboot/login as singleuser)
maybe I can execute commands as root (even not having a shell), if I know it's password while logged as the other user?
thanks