can't log in as 'su'

Asked by always lost

I am trying to install java and the instructions to install a rpm file is type su and the password.....ian@ian-desktop:~$ su
Password:
su: Authentication failure
Sorry.
ian@ian-desktop:~$ sudo
usage: sudo -K | -L | -V | -h | -k | -l | -v
usage: sudo [-HPSb] [-p prompt] [-u username|#uid]
            { -e file [...] | -i | -s | <command> }
ian@ian-desktop:~$
What now? The password is correct.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu kdebase Edit question
Assignee:
No assignee Edit question
Solved by:
Francesco Conti
Solved:
Last query:
Last reply:
Revision history for this message
Best Francesco Conti (madmoose) said :
#1

Please try this:

sudo -s

Revision history for this message
always lost (iansmail1) said :
#2

Thanks Francesco Conti, that solved my question.

Revision history for this message
ray foster (rlf-mt-rushmore) said :
#3

ditto for me too