<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: How to Show Asterisks While Typing Sudo Password in Linux	</title>
	<atom:link href="https://www.tecmint.com/show-asterisks-sudo-password-in-linux/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.tecmint.com/show-asterisks-sudo-password-in-linux/</link>
	<description>Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks.</description>
	<lastBuildDate>Fri, 14 Jul 2023 03:07:24 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Aaron Kili		</title>
		<link>https://www.tecmint.com/show-asterisks-sudo-password-in-linux/comment-page-1/#comment-1370818</link>

		<dc:creator><![CDATA[Aaron Kili]]></dc:creator>
		<pubDate>Mon, 05 Oct 2020 07:28:21 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=28329#comment-1370818</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/show-asterisks-sudo-password-in-linux/comment-page-1/#comment-1369892&quot;&gt;Anonymous Coward&lt;/a&gt;.

@Anonymous

The biggest risk is having an indicator when typing the password, I suppose.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/show-asterisks-sudo-password-in-linux/comment-page-1/#comment-1369892">Anonymous Coward</a>.</p>
<p>@Anonymous</p>
<p>The biggest risk is having an indicator when typing the password, I suppose.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Anonymous Coward		</title>
		<link>https://www.tecmint.com/show-asterisks-sudo-password-in-linux/comment-page-1/#comment-1369892</link>

		<dc:creator><![CDATA[Anonymous Coward]]></dc:creator>
		<pubDate>Fri, 02 Oct 2020 21:51:35 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=28329#comment-1369892</guid>

					<description><![CDATA[Some people say that having an indicator when typing the password is a risk, perhaps they&#039;re right, but having no indication at all can also be a risk. Scenario: you&#039;re typing in your password and getting no feedback as expected, you press enter and ... nothing happens. Surprise! It turns out another input field on another screen had to focus, and your password is now plaintext in your favorite discord channel. Which is the bigger risk?]]></description>
			<content:encoded><![CDATA[<p>Some people say that having an indicator when typing the password is a risk, perhaps they&#8217;re right, but having no indication at all can also be a risk. Scenario: you&#8217;re typing in your password and getting no feedback as expected, you press enter and &#8230; nothing happens. Surprise! It turns out another input field on another screen had to focus, and your password is now plaintext in your favorite discord channel. Which is the bigger risk?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Aaron Kili		</title>
		<link>https://www.tecmint.com/show-asterisks-sudo-password-in-linux/comment-page-1/#comment-1138395</link>

		<dc:creator><![CDATA[Aaron Kili]]></dc:creator>
		<pubDate>Tue, 23 Apr 2019 16:42:49 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=28329#comment-1138395</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/show-asterisks-sudo-password-in-linux/comment-page-1/#comment-1134981&quot;&gt;WQQ&lt;/a&gt;.

@WQQ

It is actually disabled by default. So, here, we are only showing how to enable it.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/show-asterisks-sudo-password-in-linux/comment-page-1/#comment-1134981">WQQ</a>.</p>
<p>@WQQ</p>
<p>It is actually disabled by default. So, here, we are only showing how to enable it.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: WQQ		</title>
		<link>https://www.tecmint.com/show-asterisks-sudo-password-in-linux/comment-page-1/#comment-1134981</link>

		<dc:creator><![CDATA[WQQ]]></dc:creator>
		<pubDate>Thu, 18 Apr 2019 17:47:18 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=28329#comment-1134981</guid>

					<description><![CDATA[While the asterisk thing is sometimes justified, for the most part it is just a nuisance. What is needed is the capability to optionally disable it.]]></description>
			<content:encoded><![CDATA[<p>While the asterisk thing is sometimes justified, for the most part it is just a nuisance. What is needed is the capability to optionally disable it.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Anthony Thyssen		</title>
		<link>https://www.tecmint.com/show-asterisks-sudo-password-in-linux/comment-page-1/#comment-1056635</link>

		<dc:creator><![CDATA[Anthony Thyssen]]></dc:creator>
		<pubDate>Wed, 07 Nov 2018 06:41:44 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=28329#comment-1056635</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/show-asterisks-sudo-password-in-linux/comment-page-1/#comment-961194&quot;&gt;Caleb Cushing&lt;/a&gt;.

Yes there are reasons for not showing asterisks. And there are also ways to still get keypress feedback without showing how may characters you typed. It all depends on how you set up your &quot;&lt;strong&gt;askpass&lt;/strong&gt;&quot; program.

I listed some ideas for this in my study text file &lt;a href=&quot;http://www.ict.griffith.edu.au/anthony/info/crypto/passwd_input.txt&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;passwd_input.txt&lt;/a&gt;.

And look for &quot;&lt;strong&gt;WARNING about using echoed stars...&lt;/strong&gt;&quot;

Here are some ideas...

* Output a random number of stars with each character input.
    But you may need to keep track of the number for &#039;&lt;strong&gt;deletes&lt;/strong&gt;&#039;.

* Show a ascii-art animation (a random muber of steps) for each key...
     &lt;strong&gt;+&lt;/strong&gt; Cycle a spinning line,  &lt;code&gt;\ &#124; / -&lt;/code&gt; or pulsing star &lt;code&gt;. + * + .&lt;/code&gt;
     + or a short bar with a star bounce back and forth
   This does not need to keep track for deletions as you just continue the
   animation when you get a delete or reset line signal.

* Allow the use to turn on no-echo by pressing delete at the start
   &quot;&lt;strong&gt;systemd-ask-password&lt;/strong&gt;&quot; actually does this, printing  &quot;(no echo)&quot;.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/show-asterisks-sudo-password-in-linux/comment-page-1/#comment-961194">Caleb Cushing</a>.</p>
<p>Yes there are reasons for not showing asterisks. And there are also ways to still get keypress feedback without showing how may characters you typed. It all depends on how you set up your &#8220;<strong>askpass</strong>&#8221; program.</p>
<p>I listed some ideas for this in my study text file <a target="_blank" href="http://www.ict.griffith.edu.au/anthony/info/crypto/passwd_input.txt" target="_blank" rel="nofollow noopener">passwd_input.txt</a>.</p>
<p>And look for &#8220;<strong>WARNING about using echoed stars&#8230;</strong>&#8221;</p>
<p>Here are some ideas&#8230;</p>
<p>* Output a random number of stars with each character input.<br />
    But you may need to keep track of the number for &#8216;<strong>deletes</strong>&#8216;.</p>
<p>* Show a ascii-art animation (a random muber of steps) for each key&#8230;<br />
     <strong>+</strong> Cycle a spinning line,  <code>\ | / -</code> or pulsing star <code>. + * + .</code><br />
     + or a short bar with a star bounce back and forth<br />
   This does not need to keep track for deletions as you just continue the<br />
   animation when you get a delete or reset line signal.</p>
<p>* Allow the use to turn on no-echo by pressing delete at the start<br />
   &#8220;<strong>systemd-ask-password</strong>&#8221; actually does this, printing  &#8220;(no echo)&#8221;.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
