I can't see the password when I enter it in Terminal wth the command “su” [duplicate]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite













This question already has an answer here:



  • Permission denied when accessing su

    1 answer



I'm trying to install Java, but it requires the "su" command.
When I enter my password, the password field remains blank.
I try to enter my password, but it remains blank. I press enter, just in case in the sight chance it's techincally entered and I can't see it.
It gives me an Authentication Failed message and it makes me enter my password again. Finally, I just exit the terminal. I've read this question
and did not answer my question. My instructions are here.And maybe I'm using the wrong version of Java, so if that is, please point me to the correct version. Here's my system stats:



I'm using terminal, on Ubuntu 14.04 LTS.



Also, I installed Ubuntu about 4 hours ago, so I'm new.



Any help would be greatly appricated.



Thanks in advance,
Ryan










share|improve this question















marked as duplicate by Eliah Kagan, muru, WinEunuuchs2Unix, karel, Eric Carvalho Apr 2 at 23:57


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.










  • 2




    su (without an explicit username) would require the password to the root account - which is normally disabled on Ubuntu. I'd suggest modifying the instructions so that you use sudo instead.
    – steeldriver
    Apr 1 at 23:59














up vote
0
down vote

favorite













This question already has an answer here:



  • Permission denied when accessing su

    1 answer



I'm trying to install Java, but it requires the "su" command.
When I enter my password, the password field remains blank.
I try to enter my password, but it remains blank. I press enter, just in case in the sight chance it's techincally entered and I can't see it.
It gives me an Authentication Failed message and it makes me enter my password again. Finally, I just exit the terminal. I've read this question
and did not answer my question. My instructions are here.And maybe I'm using the wrong version of Java, so if that is, please point me to the correct version. Here's my system stats:



I'm using terminal, on Ubuntu 14.04 LTS.



Also, I installed Ubuntu about 4 hours ago, so I'm new.



Any help would be greatly appricated.



Thanks in advance,
Ryan










share|improve this question















marked as duplicate by Eliah Kagan, muru, WinEunuuchs2Unix, karel, Eric Carvalho Apr 2 at 23:57


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.










  • 2




    su (without an explicit username) would require the password to the root account - which is normally disabled on Ubuntu. I'd suggest modifying the instructions so that you use sudo instead.
    – steeldriver
    Apr 1 at 23:59












up vote
0
down vote

favorite









up vote
0
down vote

favorite












This question already has an answer here:



  • Permission denied when accessing su

    1 answer



I'm trying to install Java, but it requires the "su" command.
When I enter my password, the password field remains blank.
I try to enter my password, but it remains blank. I press enter, just in case in the sight chance it's techincally entered and I can't see it.
It gives me an Authentication Failed message and it makes me enter my password again. Finally, I just exit the terminal. I've read this question
and did not answer my question. My instructions are here.And maybe I'm using the wrong version of Java, so if that is, please point me to the correct version. Here's my system stats:



I'm using terminal, on Ubuntu 14.04 LTS.



Also, I installed Ubuntu about 4 hours ago, so I'm new.



Any help would be greatly appricated.



Thanks in advance,
Ryan










share|improve this question
















This question already has an answer here:



  • Permission denied when accessing su

    1 answer



I'm trying to install Java, but it requires the "su" command.
When I enter my password, the password field remains blank.
I try to enter my password, but it remains blank. I press enter, just in case in the sight chance it's techincally entered and I can't see it.
It gives me an Authentication Failed message and it makes me enter my password again. Finally, I just exit the terminal. I've read this question
and did not answer my question. My instructions are here.And maybe I'm using the wrong version of Java, so if that is, please point me to the correct version. Here's my system stats:



I'm using terminal, on Ubuntu 14.04 LTS.



Also, I installed Ubuntu about 4 hours ago, so I'm new.



Any help would be greatly appricated.



Thanks in advance,
Ryan





This question already has an answer here:



  • Permission denied when accessing su

    1 answer







14.04 sudo gnome-terminal






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 2 at 0:13

























asked Apr 1 at 23:50









Ryan

32




32




marked as duplicate by Eliah Kagan, muru, WinEunuuchs2Unix, karel, Eric Carvalho Apr 2 at 23:57


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.






marked as duplicate by Eliah Kagan, muru, WinEunuuchs2Unix, karel, Eric Carvalho Apr 2 at 23:57


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.









  • 2




    su (without an explicit username) would require the password to the root account - which is normally disabled on Ubuntu. I'd suggest modifying the instructions so that you use sudo instead.
    – steeldriver
    Apr 1 at 23:59












  • 2




    su (without an explicit username) would require the password to the root account - which is normally disabled on Ubuntu. I'd suggest modifying the instructions so that you use sudo instead.
    – steeldriver
    Apr 1 at 23:59







2




2




su (without an explicit username) would require the password to the root account - which is normally disabled on Ubuntu. I'd suggest modifying the instructions so that you use sudo instead.
– steeldriver
Apr 1 at 23:59




su (without an explicit username) would require the password to the root account - which is normally disabled on Ubuntu. I'd suggest modifying the instructions so that you use sudo instead.
– steeldriver
Apr 1 at 23:59










1 Answer
1






active

oldest

votes

















up vote
3
down vote



accepted











but it requires the "su" command




No it does not. It needs "sudo".




but it remains blank




What did you expect? Inputting passwords is always going to be hidden so nobody behind you can see what you insert.




Regarding the link in your question: please do NOT use installers for operating systems other than Ubuntu (or Debian). Installers for Redhat or SUSE do NOT WORK on Ubuntu.



Regarding installing Java: before the command you are suppose to use to install java you put the command sudo and when asked for a password you insert the password for your user. If you have more than 1 user make sure you use the admin account; by default that is the user Ubuntu was installed with unless you changed it afterwards.




The default repositories have a JDK. Install can be done with:



sudo apt update
sudo apt upgrade
sudo apt install default-jdk


And for latest version from oracle you could use this how-to.






share|improve this answer






















  • What java installer am I to use, then? And also, when my password is entered, it's not in dots or asterisks, it's just invisible and as good as a blank password.
    – Ryan
    Apr 2 at 0:46










  • Passwords are not echoed back to the terminal, so shoulder-surfers can't get the length. While it looks like a blank password, it is NOT. It's what you typed.
    – waltinator
    Apr 2 at 2:34










  • Okay, I get it. Thanks for explaining!
    – Ryan
    Apr 2 at 8:11

















1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
3
down vote



accepted











but it requires the "su" command




No it does not. It needs "sudo".




but it remains blank




What did you expect? Inputting passwords is always going to be hidden so nobody behind you can see what you insert.




Regarding the link in your question: please do NOT use installers for operating systems other than Ubuntu (or Debian). Installers for Redhat or SUSE do NOT WORK on Ubuntu.



Regarding installing Java: before the command you are suppose to use to install java you put the command sudo and when asked for a password you insert the password for your user. If you have more than 1 user make sure you use the admin account; by default that is the user Ubuntu was installed with unless you changed it afterwards.




The default repositories have a JDK. Install can be done with:



sudo apt update
sudo apt upgrade
sudo apt install default-jdk


And for latest version from oracle you could use this how-to.






share|improve this answer






















  • What java installer am I to use, then? And also, when my password is entered, it's not in dots or asterisks, it's just invisible and as good as a blank password.
    – Ryan
    Apr 2 at 0:46










  • Passwords are not echoed back to the terminal, so shoulder-surfers can't get the length. While it looks like a blank password, it is NOT. It's what you typed.
    – waltinator
    Apr 2 at 2:34










  • Okay, I get it. Thanks for explaining!
    – Ryan
    Apr 2 at 8:11














up vote
3
down vote



accepted











but it requires the "su" command




No it does not. It needs "sudo".




but it remains blank




What did you expect? Inputting passwords is always going to be hidden so nobody behind you can see what you insert.




Regarding the link in your question: please do NOT use installers for operating systems other than Ubuntu (or Debian). Installers for Redhat or SUSE do NOT WORK on Ubuntu.



Regarding installing Java: before the command you are suppose to use to install java you put the command sudo and when asked for a password you insert the password for your user. If you have more than 1 user make sure you use the admin account; by default that is the user Ubuntu was installed with unless you changed it afterwards.




The default repositories have a JDK. Install can be done with:



sudo apt update
sudo apt upgrade
sudo apt install default-jdk


And for latest version from oracle you could use this how-to.






share|improve this answer






















  • What java installer am I to use, then? And also, when my password is entered, it's not in dots or asterisks, it's just invisible and as good as a blank password.
    – Ryan
    Apr 2 at 0:46










  • Passwords are not echoed back to the terminal, so shoulder-surfers can't get the length. While it looks like a blank password, it is NOT. It's what you typed.
    – waltinator
    Apr 2 at 2:34










  • Okay, I get it. Thanks for explaining!
    – Ryan
    Apr 2 at 8:11












up vote
3
down vote



accepted







up vote
3
down vote



accepted







but it requires the "su" command




No it does not. It needs "sudo".




but it remains blank




What did you expect? Inputting passwords is always going to be hidden so nobody behind you can see what you insert.




Regarding the link in your question: please do NOT use installers for operating systems other than Ubuntu (or Debian). Installers for Redhat or SUSE do NOT WORK on Ubuntu.



Regarding installing Java: before the command you are suppose to use to install java you put the command sudo and when asked for a password you insert the password for your user. If you have more than 1 user make sure you use the admin account; by default that is the user Ubuntu was installed with unless you changed it afterwards.




The default repositories have a JDK. Install can be done with:



sudo apt update
sudo apt upgrade
sudo apt install default-jdk


And for latest version from oracle you could use this how-to.






share|improve this answer















but it requires the "su" command




No it does not. It needs "sudo".




but it remains blank




What did you expect? Inputting passwords is always going to be hidden so nobody behind you can see what you insert.




Regarding the link in your question: please do NOT use installers for operating systems other than Ubuntu (or Debian). Installers for Redhat or SUSE do NOT WORK on Ubuntu.



Regarding installing Java: before the command you are suppose to use to install java you put the command sudo and when asked for a password you insert the password for your user. If you have more than 1 user make sure you use the admin account; by default that is the user Ubuntu was installed with unless you changed it afterwards.




The default repositories have a JDK. Install can be done with:



sudo apt update
sudo apt upgrade
sudo apt install default-jdk


And for latest version from oracle you could use this how-to.







share|improve this answer














share|improve this answer



share|improve this answer








edited Apr 2 at 0:18

























answered Apr 2 at 0:12









Rinzwind

197k25377510




197k25377510











  • What java installer am I to use, then? And also, when my password is entered, it's not in dots or asterisks, it's just invisible and as good as a blank password.
    – Ryan
    Apr 2 at 0:46










  • Passwords are not echoed back to the terminal, so shoulder-surfers can't get the length. While it looks like a blank password, it is NOT. It's what you typed.
    – waltinator
    Apr 2 at 2:34










  • Okay, I get it. Thanks for explaining!
    – Ryan
    Apr 2 at 8:11
















  • What java installer am I to use, then? And also, when my password is entered, it's not in dots or asterisks, it's just invisible and as good as a blank password.
    – Ryan
    Apr 2 at 0:46










  • Passwords are not echoed back to the terminal, so shoulder-surfers can't get the length. While it looks like a blank password, it is NOT. It's what you typed.
    – waltinator
    Apr 2 at 2:34










  • Okay, I get it. Thanks for explaining!
    – Ryan
    Apr 2 at 8:11















What java installer am I to use, then? And also, when my password is entered, it's not in dots or asterisks, it's just invisible and as good as a blank password.
– Ryan
Apr 2 at 0:46




What java installer am I to use, then? And also, when my password is entered, it's not in dots or asterisks, it's just invisible and as good as a blank password.
– Ryan
Apr 2 at 0:46












Passwords are not echoed back to the terminal, so shoulder-surfers can't get the length. While it looks like a blank password, it is NOT. It's what you typed.
– waltinator
Apr 2 at 2:34




Passwords are not echoed back to the terminal, so shoulder-surfers can't get the length. While it looks like a blank password, it is NOT. It's what you typed.
– waltinator
Apr 2 at 2:34












Okay, I get it. Thanks for explaining!
– Ryan
Apr 2 at 8:11




Okay, I get it. Thanks for explaining!
– Ryan
Apr 2 at 8:11


Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491