<div dir="ltr">Thanks Brian, i was hoping it wouldn't be that deep of a change, I think my users will just have to get used to it since I'm not thinking it a big enough problem to change the app. It is always good to be able to have the choice to though :)<br>
<br><br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Sep 6, 2013 at 8:51 AM, Brian Cluff <span dir="ltr"><<a href="mailto:brian@snaptek.com" target="_blank">brian@snaptek.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I was just reading though the source for passwd and it looks like there isn't a way to do it without rewriting parts of passwd to not use the getpass function, or rewriting getpass itself if you want everything to output the stars.<br>
<br>
The getpass() function opens /dev/tty (the controlling<br>
terminal of the process), outputs the string prompt, turns off<br>
echoing, reads one line (the "password"), restores the terminal<br>
state and closes /dev/tty again.<br>
<br>
Brian Cluff<div class="im"><br>
<br>
On 09/06/2013 08:13 AM, Shawn Badger wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Thanks Larry!!<br>
I have found several articles on how to do form within sudo, but nothing<br>
on how to get passwd or bash to do it so far.<br>
<br>
<br>
On Thu, Sep 5, 2013 at 4:29 PM, Dazed_75 <<a href="mailto:lthielster@gmail.com" target="_blank">lthielster@gmail.com</a><br></div><div class="im">
<mailto:<a href="mailto:lthielster@gmail.com" target="_blank">lthielster@gmail.com</a>>> wrote:<br>
<br>
Oops! I misread your question. That was for the part you already know.<br>
<br>
<br>
On Thu, Sep 5, 2013 at 4:27 PM, Dazed_75 <<a href="mailto:lthielster@gmail.com" target="_blank">lthielster@gmail.com</a><br></div><div class="im">
<mailto:<a href="mailto:lthielster@gmail.com" target="_blank">lthielster@gmail.com</a>>> wrote:<br>
<br>
<a href="http://www.maketecheasier.com/quick-tips/show-password-asterisks-in-terminal" target="_blank">http://www.maketecheasier.com/<u></u>quick-tips/show-password-<u></u>asterisks-in-terminal</a><br>
<br>
worked for me :)<br>
<br>
<br>
On Thu, Sep 5, 2013 at 12:55 PM, Shawn Badger <<a href="mailto:shawn@badger.pro" target="_blank">shawn@badger.pro</a><br></div><div class="im">
<mailto:<a href="mailto:shawn@badger.pro" target="_blank">shawn@badger.pro</a>>> wrote:<br>
<br>
I have how to display password feed back while using sudo,<br>
but Google has failed me on how to display feedback while<br>
running passwd in a terminal session. Does anyone know if<br>
the pwfeedback environment setting works outside of sudoers<br>
file or an equivalent setting for the passwd command?<br>
<br>
<br>
<br>
------------------------------<u></u>---------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.<u></u>org</a><br></div>
<mailto:<a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.<u></u>phxlinux.org</a>><div class="im"><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/<u></u>mailman/listinfo/plug-discuss</a><br>
<br>
<br>
<br>
<br>
--<br>
Dazed_75 a.k.a. Larry<br>
<br>
Please protect my address like I protect yours. When sending<br>
messages to multiple recipients, use the BCC: (Blind carbon<br>
copy). Remove addresses from a forwarded message body before<br>
clicking Send.<br>
<br>
<br>
<br>
<br>
--<br>
Dazed_75 a.k.a. Larry<br>
<br>
Please protect my address like I protect yours. When sending<br>
messages to multiple recipients, use the BCC: (Blind carbon copy).<br>
Remove addresses from a forwarded message body before clicking Send.<br>
<br>
------------------------------<u></u>---------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.<u></u>org</a><br></div>
<mailto:<a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.<u></u>phxlinux.org</a>><div class="im"><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/<u></u>mailman/listinfo/plug-discuss</a><br>
<br>
<br>
<br>
<br>
------------------------------<u></u>---------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.<u></u>org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/<u></u>mailman/listinfo/plug-discuss</a><br>
<br>
</div></blockquote><div class="HOEnZb"><div class="h5">
------------------------------<u></u>---------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.<u></u>org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/<u></u>mailman/listinfo/plug-discuss</a><br>
</div></div></blockquote></div><br></div>