LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,849

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
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 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
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: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
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 21 MATE
Posts: 8,048
Blog Entries: 5

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

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
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,524

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

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
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
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,574
Blog Entries: 19

Rep: Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452
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



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 06:50 AM.

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
Open Source Consulting | Domain Registration