Star


  • Home

  • Categories

  • About

  • Archives

  • Tags

  • Search
close
Star

Install Sudo in Debian

Posted on 2017-04-29 | In 技术冷板凳 |

Debian系统里默认是没有sudo的,安装操作如下。

Step 1: 用root的身份进入

1
su -u

Step 2: 安装sudo

1
apt-get install sudo

Step 3: 把你的用户名加入sudoer列表中

1
vi /etc/sudoers

编辑此文件,加入这样一句:

1
star ALL=(ALL:ALL) ALL

Step 4: 退出root,测试sudo

1
2
3
exit
sudo su -

Done!

# Debian # sudo
LeetCode 438. Find All Anagrams in a String
LeetCode Backtracking Problems
Star

Star

不要温和地走进那个良夜。@CMU

131 posts
15 categories
102 tags
RSS
Github Douban Weibo Instagram Linkedin
小伙伴
  • Eric
  • Hypo
  • 徐阿衡
  • codefalling
© 2018 Star
Powered by Hexo
Theme - NexT.Mist