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!!!!

link|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 – TuxGeek 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
feedback

4 Answers

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.

link|improve this answer
feedback

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.

link|improve this answer
feedback

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?

link|improve this answer
feedback

thnx, i dont know much, just that it asks me a password, and its not my password, every time i turn it on it wants it, and once when my father entered it ,when i restarted it its still there, my father says i will never be able to get rid of his superuser control.... i am trying my best to solve the problem, but its not helping..... please help

Is it asking for a password to mount an encrypted filesystem per chance?

link|improve this answer
feedback

Your Answer

 
or
required, but never shown