作为桌面使用来说,经常sudo就经常要输入密码,很不方便,由于只是个人桌面使用,就不考虑太多安全性之类的东西了,方便使用就好。
sudo visudo
添加一行:
yourusername ALL=(ALL) NOPASSWD: ALL
保存退出即可。这样下次sudo的时候就不需要再输入密码了。
ppt.cc/fuhP4x ppt.cc/fVjECx ppt.cc/fEnHsx ppt.cc/fRZTnx ppt.cc/fSZ3cx ppt.cc/fLOuCx ppt.cc/fE9Nux ppt.cc/fL5Kyx ppt.cc/f71Yqx tecmint.com linuxcool.com linux.die.net linux.it.net.cn ostechnix.com unix.com ubuntugeek.com runoob.com man.linuxde.net ppt.cc/fwpCex ppt.cc/fxcLIx ppt.cc/foX6Ux linuxprobe.com linuxtechi.com howtoforge.com linuxstory.org systutorials.com ghacks.net linuxopsys.com ppt.cc/ffAGfx ppt.cc/fJbezx ppt.cc/fNIQDx ppt.cc/fCSllx ppt.cc/fybDVx ppt.cc/fIMQxx ppt.cc/fKlBax
作为桌面使用来说,经常sudo就经常要输入密码,很不方便,由于只是个人桌面使用,就不考虑太多安全性之类的东西了,方便使用就好。
sudo visudo
添加一行:
yourusername ALL=(ALL) NOPASSWD: ALL
保存退出即可。这样下次sudo的时候就不需要再输入密码了。
No comments:
Post a Comment