文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
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!

相关阅读 更多 +
排行榜 更多 +
mirrox模组(玩家自制)手机版下载

mirrox模组(玩家自制)手机版下载

休闲益智 下载
集装箱模拟器手机版下载安装

集装箱模拟器手机版下载安装

模拟经营 下载
哔咔漫画app下载免费2025

哔咔漫画app下载免费2025

浏览阅读 下载