This question already has an answer here:
What is the default password of the
sudo? I visit some forums, it tells that the default password is password, but it doesn't work, how can I determine the password?
There is no default password for
Sudo is asking for the user's password it's called with. In your case the password in question is the password of the user
As has been pointed out by other answers there is no default sudo password. When you installed Ubuntu you were asked for a password it is the one you created then that you need.
The computer does not store the password anywhere but a hash value created from it; when you type a password a hash value is calculated and this is compared to the hash stored from the correct password.
This makes it very difficult to find the password.
If you have lost the password you can reset it however. See This question
By default the root account is disabled, therefore there is no password for it.
If you want to run a command with root privileges simply prefix it with 'sudo', it will ask you for the password to the account you are logged in with (not the root account). Assuming that account is an administrator, of course.
If you want to elevate that entire command session to root privileges type 'sudo su', you will still need to enter the password to your account.
Sudo password is the password that you put in the instalation of ubuntu/yours user password, if you don't have a password just click enter at all. Thats easy probaly you need to be an administrator user for using sudo.
Sorry for the spelling
I think the problem is not the password. It looks like 'genz' it's not the root user so when you are trying to use root privileges it means that the user 'genz' doesn't have root privileges. But I'm new in linux so I'm not sure about that...
Means you want to hack and crack yourself for to login again as normal user ???
correct command order - try this:
was it of help ???
if not log-off internet and boot your computer with a live-CD like knoppix
In case you need to delet password entry in shadow-file of /etc ...:
you have to find and edit in terminal of knoppix after:
in root-partition of your installed distro on your harddisk (find proper partition first !) the shadow-file as following:
Scroll down to the line containing the root user's information, which looks something like:
Delete everything between the first and second colons, so that the line looks like:
Save the file and exit your editor.
Do not forget this in terminal:
Type cd to return to your home directory. Type umount mountplace to unmount the partition. Type reboot to reboot your system, and remove the Knoppix CD from the drive.
Now you can log into your system as root with no password.
Make sure you change the password new immediately
Thank you for your interest in this question.
Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.
Would you like to answer one of these unanswered questions instead?