Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

My father put a new superuser password on my laptop, and now i cant access my computer without him putting the password in.

I am really helpless. How can i get rid of his superuser control? Can i delete or change the superuser thing? Please help!!!!

share|improve this question
    
Which distribution of linux? –  James Watt May 19 '10 at 13:18
3  
I think we should be cautious to answer this question...to the OP is there a reason why he put a superuser password? Are you even running Linux? –  Nathan Adams May 19 '10 at 13:21
1  
You can't delete root user –  ukanth May 19 '10 at 13:28
    
Or maybe it is someone else's computer? –  Peter Jaric May 19 '10 at 16:02
    
@ TiNS - but you can change root password easily if you have physical control of the machine. –  DevSolar May 21 '10 at 12:53

3 Answers 3

Assuming it's not a boot password:

You'll need to physically remove the hard disk and mount the drive in another machine. Edit /etc/sudoers and carefully add your username to the list. (I've done this once after mucking up my only admin account's group memberships but be careful! You're bypassing the normal protections on this file that check to make sure it's correctly formatted.)

Or, alternately, you can have a reasoned chat with your father about why he revoked your superuser access, and how you can earn it back.

I recommend the latter.

share|improve this answer

I second the notions about talking to your father. Circumventing his password will only get you into trouble.

But, to everyone who thinks you need to do outrageous things (like removing the hard drive) to get Linux root access:

The Linux root password is ridiculously easy to work around if you have control of the boot process.

All you need is access to the bootloader (init=/bin/bash) or a LiveCD (sudo su -, mount root device somewhere, chroot, passwd, voila.).

BIOS passwords, now, that's a different story. Unless you have the physical access to reset the BIOS.

Bottom line, you have physical access to the computer, it's hard to keep you out.

Now, original poster, please go back to the top and read the first line again.

share|improve this answer

How about ask your father to remove the superuser password?

In any case, I don't understand why you'd need the superuser password just to access the computer - are you logging in as root? Or are you thinking of the BIOS password?

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.