linux sudo密码是什么linux sudo密码是随机的,即每次开机都有一个新的root密码,其设置新密码的方法是:1、在终端输入命令“sudo passwd”,然后输入当前用户的密码,按下“Enter”键;2、重新在终端输入新的密码并确认即可。本教程操作环境:u 1