LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-04-2012, 03:03 PM   #1
paranoid2210
LQ Newbie
 
Registered: Aug 2012
Posts: 1

Rep: Reputation: Disabled
Unhappy Help Me!! Someone has taken over my root password and there is a loop on my harddrive


I am very new to ubuntu. I downloaded ubuntu onto my computer and have recently had several problems. It looks like someone has partitioned my harddrive, leaving me with only 4 GB to work with. It also seems like there is some type of loop on my files and folders. I can't access them. I have reinstalled ubuntu several times, only to seemingly further restrict my access to things each time. Also looks like someone has the root control over my computer. How can I gain back control of my computer. How can I get around the root access? Get back my files, etc. Be able to use all of my harddrive (500 GB) and not just 4 GB? Even when I go onto the internet, it seems that they are transferring stuff. I get a message at the bottom of the screen where it says something like, "transferring data to xxx webpage." Please help. This is a nightmare.
 
Old 08-04-2012, 03:19 PM   #2
mennohellinga
Member
 
Registered: Jun 2012
Location: AccountKiller
Distribution: AccountKiller
Posts: 72

Rep: Reputation: 38
Click the ubuntu logo, type 'terminal' and click the terminal icon. Once you have a terminal window, type
Code:
sudo passwd
You will be asked for your password, type it.
Then you will be asked for a new password, this will be the root password. Enter a secure password and remember it. Anyone who wants to do something with the root account from then on will need that password. Then type
Code:
sudo cfdisk /dev/sda
take a screenshot and post it here. Hit 'q' to quit cfdisk and then type
Code:
sudo mv /etc/sudoers /sudo
(you may have to reenter your password)
Now ask yourself who have had access to your computer.

Last edited by mennohellinga; 08-04-2012 at 05:01 PM. Reason: clarified some stuff
 
Old 08-04-2012, 03:26 PM   #3
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 6,324

Rep: Reputation: 1730Reputation: 1730Reputation: 1730Reputation: 1730Reputation: 1730Reputation: 1730Reputation: 1730Reputation: 1730Reputation: 1730Reputation: 1730Reputation: 1730
If you have fully reinstalled several times then I struggle to work out how anyone could have taken over your computer that quickly. Could it be a family member/room mate/whatever doing this? Also, have you verified that the install CD you are using is genuine? Does the md5sum match the one on the website? For example if I run:
Code:
me@pc1:~/isos$ md5sum xubuntu-12.04-alternate-i386.iso 
c80c298a8b8d27f23329461374eb5360  xubuntu-12.04-alternate-i386.iso
I can then match the md5sum on the website here:
https://help.ubuntu.com/community/UbuntuHashes/
 
Old 08-04-2012, 04:55 PM   #4
deadeyes
Member
 
Registered: Aug 2006
Posts: 609

Rep: Reputation: 79
Quote:
Originally Posted by paranoid2210 View Post
I am very new to ubuntu. I downloaded ubuntu onto my computer and have recently had several problems. It looks like someone has partitioned my harddrive, leaving me with only 4 GB to work with. It also seems like there is some type of loop on my files and folders. I can't access them. I have reinstalled ubuntu several times, only to seemingly further restrict my access to things each time. Also looks like someone has the root control over my computer. How can I gain back control of my computer. How can I get around the root access? Get back my files, etc. Be able to use all of my harddrive (500 GB) and not just 4 GB? Even when I go onto the internet, it seems that they are transferring stuff. I get a message at the bottom of the screen where it says something like, "transferring data to xxx webpage." Please help. This is a nightmare.
From your experience with linux and the things you are saying I think this is actually a PEBKAC (problem exist between keyboard and chair ) issue.

The message you are getting about transferring data... we really need more information to investigate that. A screenshot would seriously help.

"Even when I go onto the internet,"
As in firefox?

I am pretty sure if someone controls your computer he won't be showing you that he is copying data over to the internet.

As of your 500GB that you want to fully use, install ubuntu with using the full drive (allowing it to recreate the partition table, which WILL result in ALL DATA lost).
Maybe you are installing over and over again to different partitions. We need a partition layout for this. (probably windows is installed as well?)

I don't get what you mean by the files and directory loop.

If you had any data put on any drives you should be able to copy them over using a live cd.
 
1 members found this post helpful.
Old 08-04-2012, 05:06 PM   #5
mennohellinga
Member
 
Registered: Jun 2012
Location: AccountKiller
Distribution: AccountKiller
Posts: 72

Rep: Reputation: 38
I think he did something wrong with the partitioning of the disk, which is why I asked for a screenshot of cfdisk, but just to be safe, it might be a good idea to change the root password and lock the sudoers file.
 
Old 08-05-2012, 12:16 AM   #6
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Installing ubuntu over & over again is the problem. Most likely you never erased the other setups.
Try downloading gparted-live,
or, use the disk manger,
or, even just post output of
Quote:
fdisk -l
That way you know how many linux paritions you have.
 
Old 08-05-2012, 01:14 PM   #7
deadeyes
Member
 
Registered: Aug 2006
Posts: 609

Rep: Reputation: 79
Quote:
Originally Posted by EDDY1 View Post
Installing ubuntu over & over again is the problem. Most likely you never erased the other setups.
Try downloading gparted-live,
or, use the disk manger,
or, even just post output of That way you know how many linux paritions you have.
... as I mentioned before. However the OP is not answering our questions.
 
Old 08-05-2012, 01:39 PM   #8
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,362

Rep: Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004
It sounds to me like you just don't know how to use the system properly. The chances of somebody re-hacking your computer the instant you set it up time and time again are basically zero. If you want to make sure, disconnect the network connection, reinstall the OS one more time without EVER reattaching the network connection, and see if everything is still behaving as it does now.
 
Old 08-05-2012, 07:49 PM   #9
drachenchen
Member
 
Registered: Feb 2006
Location: Kalamazoo, Michigan, in what used to be the USA
Distribution: (Ex-Ubuntu due to Unity), Debian Squeeze, Bodhi w/ E-17 "Stable", MacPup525, Legacy (TeenPup) Live
Posts: 43

Rep: Reputation: 34
Talking

Howdy, Paranoid2010.

First, DON'T PANIC. Next, stop re-re-re-installing Ubuntu. -Now. It's the Windows approach, and not appropriate here. If the message you got was about a loop device, or a loop-back device, relax, these are normal parts of a Linux operating system. If you cannot access your files and data right now, don't worry, this too is very likely fixable.

Since you are new to Linux, here's a tip: the forums can help you better if you give precise information. I keep pen and paper at my computer. You won't always know how to copy or save information that appears on-screen, but you can jot it down. You can also get the gist of those annoying messages that flash by quickly. More information is nearly always better; that's why other posters have asked you for screen-shots and command outputs. Examples of more precise answers we want from you:

1) What version of Ubuntu are you using? If we know the precise interface you are using, we can walk you through things better.

2) Assuming you are using Ubuntu 12.04, "Precise Pangolin" -- when you installed, did you check the box marked "download updates while installing" ?

If you did, there may be a LOT of web traffic relating to that. The uploading of information about your system to a remote website might be info needed by the update servers, in order to send the appropriate packages to your machine. -AND if you interrupted it, and came back to it later, package management would keep trying to do it, automatically, in the background, until it was finished, or until you told it definitely to stop. To the uninitiated, this might appear sinister...

Do you remember the website that the info was being sent to? An actual URL, or even a domain name, would be _very_ helpful. If it's a standard Ubuntu server, then you have no worries on that issue.

3) The default installation with 12.04 is "install Ubuntu next to other operating systems". Did you install that way?

If you did, each install would be slotted in next to all those that went before. Minimum install space for 12.04 is 4.4 GBs. Maybe you created numerous 4.4 GB partitions. This may have used up your hard drive space with a series of identical installations. Your data may be right where you left it, surrounded by an Ubuntu clone army. Small, 4GB clones.

Find out what you've actually done to your hard drive. Follow mennohellinga's instructions, and show us what cfdisk's output is. If you get many listings of the basic Ubuntu partitions, that may be the problem. There are several ways to remove surplus partitions.

Even if you only have one Ubuntu installation, it may not "see" the partition containing your data. Under Linux, partitions must be "mounted" before the running OS can access them. Windows and Mac do this automatically. It is hidden from you, so you never have to worry about it. Under Linux, it's a choice. Again, read a few howtos about "mounting partitions under Ubuntu 12.04", just so you're not guessing. I haven't used Precise Pangolin's "Unity" desktop, so perhaps somebody else who has, can suggest a good graphical tool to mount and unmount partitions. I use the Enlightenment desktop, and mount/unmount is one mouse click. Hopefully Unity has a painless way to do it, too, but I haven't found it. You may have to do it at the command line. Until you mount the partition containing your data, there is no way that Ubuntu will be able to access it.

Anyway, these are my best guesses and suggestions, until you provide us with more info. Later!
 
Old 08-06-2012, 01:24 AM   #10
guyonearth
Member
 
Registered: Jun 2012
Location: USA
Distribution: Ubuntu
Posts: 414

Rep: Reputation: 82
I think he's realized what he's done and is too embarrassed to respond.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Want to read XP Event Viewer (& recover files if poss.) from reboot-loop harddrive GSGregg General 9 06-23-2011 09:50 AM
Urgent need of help..harddrive locked, don't know password. RoaCh Of DisCor Linux - Hardware 5 08-28-2009 11:25 AM
How could normal user obtain root password or change root password ckamheng Debian 18 02-18-2009 11:28 PM
Can't start up Kubuntu, it keeps asking me password in loop. federicodemaria Linux - General 6 10-30-2008 03:28 PM
Loop-mount image of harddrive addy86 Linux - General 6 06-14-2005 07:06 AM


All times are GMT -5. The time now is 05:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration