您的位置:首页 > 运维架构 > Linux

linux修改用户名

2016-03-20 19:43 489 查看

报警告:is not in the sudoers file()

解决方法:(添加一条)
# vi /etc/sudoers   
## Allow root to run any commands anywhere
root    ALL=(ALL)       ALL
zxp ALL=(ALL)       ALL              (这一行是添加的内容,zxp是用户名)


参考:http://www.cyberciti.biz/faq/howto-change-rename-user-name-id/
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: