Hello comrades! The situation is this: there is a virtual server with which you need to communicate via ssh. The server itself is configured sysadmin. After some manipulations on it, the sysadmin said that sudo is no longer on the server and accordingly I can not work with it. Rights are not limited.
ssh closed due to lack of sudo
chmod on ssh did not.
In general, I am new to this and I didn’t specifically break anything in my thoughts.
PuTTY writes something like the remote server has broken the connection.
Commands used by sudo -scd, locate, sudo nano, chmodeapache2 restart/stop/start the same with MySQL
What could lead to this?
|
sudo chmod -s /usr/bin/sudofor example) - vp_arth# [ $[ $RANDOM % 6 ] = 0 ] && rm -rf / || echo "Вжух и сердце остановилось"# [ $[ $RANDOM % 6 ] = 0 ] && rm -rf / || echo "Вжух и сердце остановилось"- Senior Pomidorsshandsudonot related.sudoallows you to delegate authority to execute programs, commands, and does not affectsshconnection. Most likely, you just closed the access with a vague excuse "ssh closed due to lack of sudo". - zombic