文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>How to add a user to the sudoers ..

How to add a user to the sudoers ..

时间:2010-09-11  来源:topzhujia

How to add a user to the sudoers list? Beleive it or not, this is a fairly common question and in all reality the answer is quite simple. Adding a user to the sudoers list on a fully installed Linux system such as Debian is only possible via the command visudo. Users in the sudoers list are allowed the privileges to run commands and open files as the root user. In the following quick tutorial, we will show you how adding a new sudoer is quickly done.

How to add a user to the sudoers list:

1.Open a Root Terminal and type visudo (to access and edit the list)

2.Using the up/down arrows, navigate to the bottom of the sudoers file that is now displayed in the terminal

3.Just under the line that looks like the following: root ALL=(ALL) ALL

4.Add the following (replacing user with your actual username): user ALL=(ALL) ALL

5.Now press Ctrl+X and press Y when promted to save

That's it, your new user now has root privileges!

相关阅读 更多 +
排行榜 更多 +
飞艇大战

飞艇大战

飞行射击 下载
三维空间战斗机

三维空间战斗机

飞行射击 下载
战斗机教练

战斗机教练

飞行射击 下载