LinuxQuestions.org
Review your favorite Linux distribution.
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 11-07-2010, 05:45 AM   #1
Westz
LQ Newbie
 
Registered: Oct 2010
Posts: 7

Rep: Reputation: 0
I'm a retard! lost root password, cant use sudo! (ubuntu 10.04)


ok, so: i was messing around in compiz and accidentally de-opacitized all my windows so i cant see anything whatsoever, not even terminal. so i figured i'd just switch to a secondary account i had rather than go through the trouble of trying to edit compiz configurations by hand. i deleted the profile with a secondary admin account i have. the account has a password, (which i forgot) but doesnt require it to log in, so i can access all my apps okay, but cant install, uninstall, or elevate user rights, or even change my own password. im so damn clueless, and i really dont want to have to reinstall just to be able to use my machine again. quick replies are greatly appreciated

Last edited by Westz; 11-07-2010 at 05:48 AM.
 
Old 11-07-2010, 06:05 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
sounds like you just want to log into a terminal and go from there... ctrl+alt+F2 and go do whatever you want to.
 
Old 11-07-2010, 06:16 AM   #3
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
Another recent thread suggested logging in via a console, as acid_kewpie suggested, then renaming the window manager configuration files. Then you log in using the window manager. It should recreate those files using the default values. If you were just changing compiz then maybe you could rename $HOME/.compiz to $HOME/old-compiz. If that doesn't work then you could rename other configuration files like the .config directory, .gnome2, .gnome2_private, and .themes.
 
Old 11-07-2010, 06:32 AM   #4
Westz
LQ Newbie
 
Registered: Oct 2010
Posts: 7

Original Poster
Rep: Reputation: 0
ive solved my own problem by editing the boot command and running in root shell (the user that was having problems in compiz was deleted) ive successfully changed my password, all is well (sorta) gotta do a lot of reconfiguring... im staying away from opacity though
 
Old 11-07-2010, 06:37 AM   #5
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
I didn't want to say this earlier but now that the problem is solved I think it is worth saying that you should START MAKING BACKUPS OF YOUR HOME DIRECTORIES!
 
  


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
Sudo Password for Root, not Going? Novatian Fedora 12 11-10-2010 03:16 AM
sudo non-user/non-root password Alex_Dc Linux - Security 3 02-19-2010 07:28 PM
my sudo password is not the root password newbiesforever Linux - General 7 01-02-2010 10:59 PM
sudo - root password not working Valkyrie_of_valhalla Linux - Software 3 03-11-2007 02:01 PM
root password doesn't work when I use sudo ... bucovaina78 Linux - Security 5 11-10-2004 03:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:49 PM.

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