LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-06-2018, 11:54 AM   #1
superannuated
LQ Newbie
 
Registered: Mar 2018
Posts: 1

Rep: Reputation: Disabled
Entering password to use 'sudo' in Terminal in Ubuntu 17.4 (I think that is the version


I have been attempting to use 'Terminal' in Ubuntu 17.4 ( I think that is the right version ) to configure a printer.but when I try to use 'sudo system-config-printer' then on the next line '[sudo] password for edward' with a small white vertical rectangle immediately following appears. I have tried to enter my password at this point, but cannot enter anything there. I can't go back to the previous line to try entering it there either. I can't find anywhere to actually enter anything !

Please tell me where and how to enter the password. I had last successfully used 'Terminal' on a different 'Ubuntu' computer about a year ago but the way to enter the password for 'sudo' seems to have changed since then.

I have looked at the manual page for 'sudo' but it did not help that below the last visible line there was an obscuring message on white background and I could not shift this to see whether the manual page continued beneath it with the required information.
 
Old 03-06-2018, 12:11 PM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 12,984

Rep: Reputation: 4094Reputation: 4094Reputation: 4094Reputation: 4094Reputation: 4094Reputation: 4094Reputation: 4094Reputation: 4094Reputation: 4094Reputation: 4094Reputation: 4094
so you mean there is no space to enter your password?
I think you can still enter your password and should be accepted (even when you can't see anything).
Would be nice to show us a screenshot or explain better what's happening.
 
1 members found this post helpful.
Old 03-06-2018, 12:14 PM   #3
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,016
Blog Entries: 5

Rep: Reputation: 2859Reputation: 2859Reputation: 2859Reputation: 2859Reputation: 2859Reputation: 2859Reputation: 2859Reputation: 2859Reputation: 2859Reputation: 2859Reputation: 2859
Just a note that you shouldn't still be using Ubuntu 17.04 - it went end-of-life on 13 Jan 2018.

You should upgrade to the short-term version 17.10, wait for the long-term version 18.04 next month, or downgrade to the long-term version 16.04.
 
Old 03-06-2018, 12:15 PM   #4
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
the password is not echoed even as * for security purpose, try entering the password and hitting enter and see if it does anything
 
1 members found this post helpful.
Old 03-06-2018, 12:16 PM   #5
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,016
Blog Entries: 5

Rep: Reputation: 2859Reputation: 2859Reputation: 2859Reputation: 2859Reputation: 2859Reputation: 2859Reputation: 2859Reputation: 2859Reputation: 2859Reputation: 2859Reputation: 2859
+1 for the screenshot. It could make a big difference in diagnosing the problem.
 
Old 03-06-2018, 12:33 PM   #6
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 12,984

Rep: Reputation: 4094Reputation: 4094Reputation: 4094Reputation: 4094Reputation: 4094Reputation: 4094Reputation: 4094Reputation: 4094Reputation: 4094Reputation: 4094Reputation: 4094
Quote:
Originally Posted by frieza View Post
the password is not echoed even as * for security purpose
In the unix/linux world, when no GUI was involved this is the normal/expected behavior.
If there was a GUI (to ask password) usually dots are displayed (in windows stars), but sudo does not use GUI.
You may try gksudo system-config-printer too, that should display a dialog to enter the password.
 
1 members found this post helpful.
Old 03-06-2018, 09:54 PM   #7
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004
I thought Ubuntu installed passwordless sudo by default.
 
Old 03-07-2018, 02:25 AM   #8
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 12,301
Blog Entries: 9

Rep: Reputation: 3307Reputation: 3307Reputation: 3307Reputation: 3307Reputation: 3307Reputation: 3307Reputation: 3307Reputation: 3307Reputation: 3307Reputation: 3307Reputation: 3307
superannuated, in addition to what the others said:
you can enter Ctrl-c to abort a command.
you can navigate man pages with your arrow keys, or PgUp/PgDn.
 
Old 03-07-2018, 03:42 AM   #9
hazel
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 3,273
Blog Entries: 9

Rep: Reputation: 1831Reputation: 1831Reputation: 1831Reputation: 1831Reputation: 1831Reputation: 1831Reputation: 1831Reputation: 1831Reputation: 1831Reputation: 1831Reputation: 1831
General rule for displaying passwords:

* Graphical apps display an asterisk for each character you enter in the box.
* Command line displays nothing! It looks as if the keyboard has gone dead.

Don't panic! Just enter your password and press ENTER. It will be received.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sudo password not same as root password - ubuntu 11.04. hence can't access partitions daudiam Linux - Newbie 1 09-03-2011 11:02 AM
[SOLVED] sudo password ? Ubuntu 10.10 looegee Linux - Newbie 14 05-07-2011 10:37 AM
Ubuntu 10.4 sudo password ruggedcross Linux - Newbie 2 11-01-2010 08:35 AM
Running a script as root with sudo without entering the user password kloss Linux - General 8 10-10-2005 11:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration