Password Problems [Elementary OS Luna]
Hello everyone,
I am not a real n00b at linux but this question is kinda newbisch: I disabled a password for my profile and now i am trying to use sudo but I'm asked to enter a password. I have tried any possible password but I can't unlock it. Please Help! I own a brandless PC with an Intel Celeron 3.06Ghz processor. An Intel motherboard The OS on this PC is Elementary OS Luna Again please help me. Very Kind Regards, mrjenskay |
What is the command you are trying to enter?
|
Any sudo command,
sudo su, sudo apt-get install, sudo gedit, etc. |
And after you type your password, what does it say?
|
it says: "Sorry, try again."
and starts again |
It should be the password you chose when you install the OS.
|
Quote:
|
Dear Rubian,
I previously said that i tried every possible password including my install password. Dear vincix, With disabling the password for my profile i do mean for my user account. I did this by going to the system settings> user accounts > Password> disable Kind Regards, mrjenskay |
Quote:
This will take you to a console where you'll need to find the root partition of your elemenetary OS. You can find this by fdisk -l (if you don't have windows installed or any other operating system, this should be simple) Once you've identified it, you need to change the root. Code:
# chroot /dev/sdXY Now you need to remount your partition in order to have read-write access to your partition, so enter: Code:
# mount -n -t remount,rw / OK, once here you can simply change the password by typing passwd directly or, if you don't want to activate root, I think it might work changing the password of your username directly, so type: Code:
passwd user |
All times are GMT -5. The time now is 02:52 PM. |