Question:
question about passwords in ubuntu account?
Chris
2012-04-03 04:10:22 UTC
I just installed the latest version of Ubuntu and I removed the password for the main administration user account but when I try to install something it asks for a password. When I click authenticate with an empty password text box it says authentication error but when I type in my old password (the one I used to install it using wubi.exe) it says error as well. Is there a default password for Ubuntu? Is there a way for me to fix this?

Thank you
Three answers:
Carling
2012-04-03 04:43:39 UTC
You come to Yahoo Answers for Linux questions? 95% of people on here don't even know what Linux is. 98% of windows users don't read what's in front of them. including you. for Linux question you go to a Linux user forum, Ubuntu have their own user forum, you should have used that for your question



Ubuntu is NOT Linux. it's just one of many (300+) distributions, There are far better Linux distributions available, you need to keep with the community distributions. Ubuntu, Fedora and OpenSuse are commercial Linux disributions and don't work out of the box like the community releases do.

check here for all of the top 100 linux releases

http://distrowatch.com
somei
2012-04-03 08:06:26 UTC
Open up a terminal. Run "passwd" command. It will let you reset your user password. You can do administration using this password.



If you don't want to set passsword to normal user account, you will need to activate the root account, by using "sudo passwd root" command in terminal.



If you want to do adminstration without ANY passsword (which is dangerous), do following in terminal:



$ sudo visudo



Find the line that says



%admin ALL=(ALL) ALL



and change it to



%admin ALL=(ALL) NOPASSWD: ALL



Save and exit the file.



Note: To open terminal:

Applications --> accessories --> terminal
?
2012-04-03 04:14:18 UTC
Good question, as I would have said it's not possible to remove the admin password.

Ubuntu must have passwords, so don't do that again.

Just reinstall, lesson learned.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Continue reading on narkive:
Loading...