My Ubuntu Box Hacked?

Post Reply
Ahso!
Posts: 10215
Joined: Wed Nov 11, 2009 1:38 pm

My Ubuntu Box Hacked?

Post by Ahso! »

All my disk space space has been taken up (400gb). Ubuntu Software Center will not allow me to remove anything.

Any ideas?
“Those who can make you believe absurdities can make you commit atrocities,

Voltaire



I have only one thing to do and that's

Be the wave that I am and then

Sink back into the ocean

Fiona Apple
User avatar
Wandrin
Posts: 1697
Joined: Wed Apr 13, 2011 8:10 pm

My Ubuntu Box Hacked?

Post by Wandrin »

I suggest logging in as root and using a shell command line to see what is taking up the space and who owns it. As root, you should be able to delete unwanted files. If that fails, boot from CD/DVD and do the same thing.
Ahso!
Posts: 10215
Joined: Wed Nov 11, 2009 1:38 pm

My Ubuntu Box Hacked?

Post by Ahso! »

rob@rob-GN561AA-ABA-a6230n:~$ gksudo nautilus

Error copying '/home/rob/.Xauthority' to '/tmp/libgksu-6lFZ7p': No space left on devicerob@rob-GN561AA-ABA-a6230n:~$

“Those who can make you believe absurdities can make you commit atrocities,

Voltaire



I have only one thing to do and that's

Be the wave that I am and then

Sink back into the ocean

Fiona Apple
User avatar
spot
Posts: 41838
Joined: Tue Apr 19, 2005 5:19 pm
Location: Brigstowe

My Ubuntu Box Hacked?

Post by spot »

Where you've typed "gksudo", type this instead:

ls -ls | less

and page up and down what you see. Find a file you can easily recreate (maybe by downloading it again) that's over 10MB, and (change the filename from fred to what you've found)

rm fred

That'll free up enough space to get you into Nautilus with root permission.

If you need to first change to, eg, your Download directory to do the ls command there,

cd Download

For the future you might try installing a couple of useful command line utilities, mc and ncdu.
Nullius in verba ... ☎||||||||||| ... To Fate I sue, of other means bereft, the only refuge for the wretched left. ... Hold no regard for unsupported opinion.
When flower power came along I stood for Human Rights, marched around for peace and freedom, had some nooky every night - we took it serious. [Fred Wedlock, "The Folker"]
Who has a spare two minutes to play in this month's FG Trivia game! ... My other OS is Slackware.
Ahso!
Posts: 10215
Joined: Wed Nov 11, 2009 1:38 pm

My Ubuntu Box Hacked?

Post by Ahso! »

It looks like Dropbox, which I installed for my new Samsung Galaxy S3, was the problem. I uninstalled it, restarted and everything seems okay now.

It was weird because the Software Center wouldn't let me uninstall anything until I restarted.

I got into Nautilus as root but still can't get to the trash folder.


“Those who can make you believe absurdities can make you commit atrocities,

Voltaire



I have only one thing to do and that's

Be the wave that I am and then

Sink back into the ocean

Fiona Apple
User avatar
spot
Posts: 41838
Joined: Tue Apr 19, 2005 5:19 pm
Location: Brigstowe

My Ubuntu Box Hacked?

Post by spot »

Ahso!;1399306 wrote: I got into Nautilus as root but still can't get to the trash folder.It would work if you were logged in locally but ssh won't forward the relevant information to your remote terminal. The words "dbus" and "spawned" ought to be in this answer but I lack the vocabulary.

eta: https://bugs.launchpad.net/ubuntu/+sour ... bug/872841 might be adequate as an explanation.
Nullius in verba ... ☎||||||||||| ... To Fate I sue, of other means bereft, the only refuge for the wretched left. ... Hold no regard for unsupported opinion.
When flower power came along I stood for Human Rights, marched around for peace and freedom, had some nooky every night - we took it serious. [Fred Wedlock, "The Folker"]
Who has a spare two minutes to play in this month's FG Trivia game! ... My other OS is Slackware.
yaaarrrgg
Posts: 1193
Joined: Fri Dec 21, 2007 9:29 pm

My Ubuntu Box Hacked?

Post by yaaarrrgg »

Once a system runs out of disk space, anything that was running at the time can crash and be left in a half-corrupted state. Sometimes reinstalling, or reconfiguring package will sync everything back up. This should force a package to reconfigure itself, like a fresh install:

dpkg-reconfigure packagename


I think trash can manually be deleted at /home/username/.local/share/Trash/files/ , but I haven't tested :)
Ahso!
Posts: 10215
Joined: Wed Nov 11, 2009 1:38 pm

My Ubuntu Box Hacked?

Post by Ahso! »

yaaarrrgg;1399447 wrote: Once a system runs out of disk space, anything that was running at the time can crash and be left in a half-corrupted state. Sometimes reinstalling, or reconfiguring package will sync everything back up. This should force a package to reconfigure itself, like a fresh install:Forgot about that. Thanks!
“Those who can make you believe absurdities can make you commit atrocities,

Voltaire



I have only one thing to do and that's

Be the wave that I am and then

Sink back into the ocean

Fiona Apple
Post Reply

Return to “Computers Internet”