Newly created user is not in the sudo list of Fedora 12.
To add a user to sudo list:
1. Switch user to root using su.
2. Execute the following code:
echo username ALL=(ALL) ALL >> /etc/sudoers
Now user username can use sudo command.
Reference:
本文介绍如何将新创建的用户添加到Fedora 12系统的sudo列表中,使得该用户能够使用sudo命令执行管理员级别的操作。
Newly created user is not in the sudo list of Fedora 12.
To add a user to sudo list:
1. Switch user to root using su.
2. Execute the following code:
echo username ALL=(ALL) ALL >> /etc/sudoers
Now user username can use sudo command.
Reference:
3511
149

被折叠的 条评论
为什么被折叠?