(SOLVED) 'sudo' command showing "*" for password

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
srq2625
Level 4
Level 4
Posts: 420
Joined: Tue Jan 08, 2013 11:35 am
Location: State: Constant Confusion, Country: D'oh

(SOLVED) 'sudo' command showing "*" for password

Post by srq2625 »

I'm not sure if it was announced (and I missed the memo) or if I'm seeing something that shouldn't be happening.

Until recently I don't remember seeing "*" for the password characters when executing a command with sudo. Now I am - see attached images:.

Is this expected behaviour or is something amiss with my install:

Code: Select all

System:    Host: kims-lappy Kernel: 4.18.0-13-generic x86_64 bits: 64 compiler: gcc v: 7.3.0 Desktop: MATE 1.20.1 
           wm: marco dm: LightDM Distro: Linux Mint 19.1 Tessa base: Ubuntu 18.04 bionic 
Machine:   Type: Laptop System: Hewlett-Packard product: HP Pavilion 17 Notebook PC v: 096A120014405F10000620184 
           serial: <filter> Chassis: type: 10 serial: <filter> 
           Mobo: Hewlett-Packard model: 2294 v: 78.21 serial: <filter> UEFI [Legacy]: Insyde v: F.36 date: 02/02/2015 
Battery:   ID-1: BAT0 charge: 38.8 Wh condition: 38.8/38.8 Wh (100%) volts: 16.8/14.8 model: Hewlett-Packard Primary 
           serial: <filter> status: Full 
CPU:       Topology: Dual Core model: Intel Core i5-5200U bits: 64 type: MT MCP arch: Broadwell rev: 4 L2 cache: 3072 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 17558 
           Speed: 798 MHz min/max: 500/2700 MHz Core speeds (MHz): 1: 798 2: 798 3: 798 4: 798 
Graphics:  Device-1: Intel HD Graphics 5500 vendor: Hewlett-Packard driver: i915 v: kernel bus ID: 00:02.0 
           chip ID: 8086:1616 
           Display: x11 server: X.Org 1.19.6 driver: modesetting unloaded: fbdev,vesa compositor: marco 
           resolution: 1920x1080~60Hz 
           OpenGL: renderer: Mesa DRI Intel HD Graphics 5500 (Broadwell GT2) v: 4.5 Mesa 18.0.5 compat-v: 3.0 
           direct render: Yes 
Audio:     Device-1: Intel Broadwell-U Audio vendor: Hewlett-Packard driver: snd_hda_intel v: kernel bus ID: 00:03.0 
           chip ID: 8086:160c 
           Device-2: Intel Wildcat Point-LP High Definition Audio vendor: Hewlett-Packard driver: snd_hda_intel v: kernel 
           bus ID: 00:1b.0 chip ID: 8086:9ca0 
           Sound Server: ALSA v: k4.18.0-13-generic 
Network:   Device-1: Intel Wireless 3160 driver: iwlwifi v: kernel port: 5040 bus ID: 08:00.0 chip ID: 8086:08b3 
           IF: wlo1 state: up mac: <filter> 
           Device-2: Realtek RTL8101/2/6E PCI Express Fast/Gigabit Ethernet vendor: Hewlett-Packard RTL810xE 
           driver: r8169 v: 2.3LK-NAPI port: 3000 bus ID: 09:00.0 chip ID: 10ec:8136 
           IF: eno1 state: down mac: <filter> 
Drives:    Local Storage: total: 119.24 GiB used: 28.79 GiB (24.1%) 
           ID-1: /dev/sda vendor: Samsung model: SSD 850 PRO 128GB size: 119.24 GiB speed: 6.0 Gb/s serial: <filter> 
Partition: ID-1: / size: 29.40 GiB used: 9.21 GiB (31.3%) fs: ext4 dev: /dev/sda1 
           ID-2: /home size: 87.34 GiB used: 19.59 GiB (22.4%) fs: ext4 dev: /dev/sda2 
Sensors:   System Temperatures: cpu: 36.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Info:      Processes: 194 Uptime: 13m Memory: 11.66 GiB used: 1.05 GiB (9.0%) Init: systemd v: 237 runlevel: 5 Compilers: 
           gcc: 7.3.0 alt: 7 Shell: bash v: 4.4.19 running in: mate-terminal inxi: 3.0.29 
TIA for any insight into what I'm seeing
Attachments
SudoStars2.png
SudoStars1.png
Last edited by srq2625 on Sun Dec 23, 2018 4:11 pm, edited 1 time in total.

User avatar
MrEen
Level 20
Level 20
Posts: 10652
Joined: Mon Jun 12, 2017 8:39 pm

Re: 'sudo' command showing "*" for password

Post by MrEen »

Your install is fine. From the What's new page:
Other improvements

Firewall configuration was added to the "First Steps" section of the welcome screen.

To prevent you from typing your password into the wrong window (and sending it online by mistake), sudo now shows asterisks when you type your password.

This release ships with linux-firmware 1.173.2 and the Linux kernel 4.15.0-20.

User avatar
AndyMH
Level 11
Level 11
Posts: 3983
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: 'sudo' command showing "*" for password

Post by AndyMH »

And can you turn it off?
Homebrew i5-8400+GTX1080 Cinnamon 19.0, 3 x Thinkpad T430 Cinnamon 19.0, i7-3632 , i5-3320, i5-3210, Thinkpad T60 19.0 Mate

User avatar
MrEen
Level 20
Level 20
Posts: 10652
Joined: Mon Jun 12, 2017 8:39 pm

Re: 'sudo' command showing "*" for password

Post by MrEen »

From Clem here:

Yes, you can remove /etc/sudoers.d/0pwfeedback.

srq2625
Level 4
Level 4
Posts: 420
Joined: Tue Jan 08, 2013 11:35 am
Location: State: Constant Confusion, Country: D'oh

Re: 'sudo' command showing "*" for password

Post by srq2625 »

Good to know.

Marking this one solved.

Post Reply

Return to “Software & Applications”