Setting a new user as a
sudoer couldn't be easier.
Using the command line to determine the total directory size is pretty simple using the "du" command.
man tar for more information, but this command should do the trick
User management is a fundamental part of running a server, and we will cover how to add/delete and modify users using terminal.
This is a quick one, and easy to answer.
Packages are manually installed via the
dpkg command (Debian Package Management System).
dpkg is the backend to commands like
aptitude, which in turn are the backend for GUI install apps like the Software Center and Synaptic.
There are several options to remove PPAs, or Personal Package Archive, from your system.
For this we will use the unzip command.
Maybe you want to get a read-out of all packages installed on your system. Maybe for review, maybe to put together a new bulk installer. Here's an easy way to do it.
First things first, there are no "quick fixes" other than restoring your system from a backup taken prior to the intrusion, and this has at least two problems.
1. It's difficult to pinpoint when the intrusion happened.
2. It doesn't help you close the "hole" that allowed them to break in last time, nor deal with the consequences of any "data theft" that may also have taken place.
This question keeps being asked repeatedly by the victims of hackers breaking into their web server. The answers very rarely change, but people keep asking the question. I'm not sure why. Perhaps people just don't like the answers they've seen when searching for help, or they can't find someone they trust to give them advice. Or perhaps people read an answer to this question and focus too much on the 5% of why their case is special and different from the answers they can find online and miss the 95% of the question and answer where their case is near enough the same as the one they read online.