Debian中设置sudo

    技术2022-05-19  21

    安装好Debian后还不能使用sudo 如果没有安装sudo,则在root用户下apt-get install sudo 在root设置sudoers配制文件 chmod +w /etc/sudoers vim /etc/sudoers 添加一行   username     ALL=(ALL) ALL 其中username是你的用户名,保存 更改sudoers文件权限  chmod 0440 /etc/sudoers 退出root 转贴自:http://blog.chinaunix.net/u1/51074/showart_429833.html 方法二: 7 、 把你安装时建立的那个用户加入sudoers visudo 在 root ALL=(ALL) ALL 下面加入

    转载请注明原文地址: https://ibbs.8miu.com/read-2211775.html

    最新回复(0)