星期天博客
  • VPN
  • 服务器
    • CDN
  • 云盘
  • 邮箱
  • AI
  • VPN
  • 服务器
    • CDN
  • 云盘
  • 邮箱
  • AI
  1. 首页
  2. 标签
  3. sudoers赋权
centos 7 新建用户及sudo赋权

服务器 centos 7 新建用户及sudo赋权

一般来说为了增加系统安全性,root不能用来登录的。使用adduser yunwei114 修改密码:passwd yunwei114   授权 whereis sudoers 查看sudoers路径 然后 ll /etc/sudoers 查看权限 -r–r—– 1 root root 3938 Mar  6  2019 /etc/sudoers  # 只有读权限 [root@localhost~]# chmod -v

0个评论
服务器 2019-02-23
 Theme by Puock