[Tutorials] 终端输入密码可以显示*号的解决方案(只为好玩儿,高手勿喷)
Tofloor
poster avatar
lin2admin
deepin
2021-02-05 20:24
Author

在linux终端中输入密码,默认是不显示任何字符的,对于有些朋友,感觉不爽,经过一番搜索,找到了解决方案,有需要的朋友可以弄一下。

步骤:

1、打开终端,输入 sudo visudo ;

2、找到“Defaults    env_reset” 这段代码,修改为  Defaults     env_reset,pwfeedback  ;(注意有个英文的逗号,)

3、按Ctrl+X 保存退出即可。

Reply Favorite View the author
All Replies
Ziggy
deepin
2021-02-05 20:56
#1

对新手还是挺好的

Reply View the author
deepin_z
deepin
2021-02-05 21:50
#2

你还别说,还真有人问过我这个问题。。。

Reply View the author
code nxj
deepin
2021-02-05 23:41
#3

收藏下

Reply View the author
moling
deepin
2021-02-06 01:39
#4

这个功能还是蛮有意思的么

Reply View the author
野疯牛
deepin
2021-02-06 08:29
#5

有啥用啊 凭空增加风险  别人一看就知道你密码几位数了

Reply View the author
momen
deepin
2021-02-07 07:02
#6

我就想起我第一次用Linux,我都懵了,咋敲半天键盘没反应呢

Reply View the author