Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Keystroke feedback with asterisk in console
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
HMC
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jul 2005
Posts: 79
Location: Australia

PostPosted: Sat Mar 06, 2010 1:59 pm    Post subject: Keystroke feedback with asterisk in console Reply with quote

Hi everyone,

I am looking for method of enabling keystroke feedback (asterisk) when typing passwords at bash console.

Same during the boot process (luks passphrase - kernel compiled with genkernel)

Are there any reasons (eg security) not to do this.

Search eludes me on this one - issue with keywords

Thanks

PS. ~x86
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6747

PostPosted: Sat Mar 06, 2010 2:47 pm    Post subject: Re: Keystroke feedback with asterisk in console Reply with quote

[quote="HMC"]I am looking for method of enabling keystroke feedback (asterisk) when typing passwords at bash console.[/code]
It depends on the program you use. For instance, sudo has a "pwfeedback" option.
Quote:
Same during the boot process (luks passphrase - kernel compiled with genkernel)

I suppose with luks you are lost. Without luks, you can store e.g. your "real" password with gpg and pipe it: pinentry-curses also shows stars.
Quote:
Are there any reasons (eg security) not to do this.

Not really. One might argue that giving away the length of the password somewhat weakens it, but for any real setup this weakening should be close to neglectable.
Back to top
View user's profile Send private message
HMC
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jul 2005
Posts: 79
Location: Australia

PostPosted: Sat Mar 06, 2010 3:19 pm    Post subject: Reply with quote

Thanks that straightened me out.
I'll be looking at su and sudo docs. For some reason I thought (don't know why) it was a function of bash (and busybox), not the app.

Cheers
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum