配置sudo用户

强密码生成

或利用以下指令生成

pwmake 128

初始化用户,配置sudo权限

useradd -m ddd && echo "m&t+arz4SEvWq5)QG" | passwd --stdin ddd
echo "ddd        ALL=(ALL)       NOPASSWD: ALL" >> /etc/sudoers
Copyright © weiliang 2021 all right reserved,powered by Gitbook本书发布时间: 2024-04-22 16:03:41

results matching ""

    No results matching ""