首页 > 系统服务 > 详细

ubuntu 添加和删除用户

时间:2017-01-17 23:41:39      阅读:348      评论:0      收藏:0      [点我收藏+]

Without a home directory

sudo useradd myuser

With home directory

sudo useradd -m myuser

Then set the password

sudo passwd myuser

Then set the shell

sudo usermod -s /bin/bash myuser
shareedit
 
    
Simple but very useful answer. Thanks. – Brady Zhu Sep 17 ‘13 at 5:59
    
unfortunately, I indeed follow this to add a user, and then get the error ‘Access denied‘ when I try to sign in with it. What‘s wrong with it? – Brady Zhu Sep 17 ‘13 at 6:03

------------------------

 

http://stackoverflow.com/questions/38288/how-do-i-add-a-user-in-ubuntu

ubuntu 添加和删除用户

原文:http://www.cnblogs.com/oxspirt/p/6294856.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!