[问题]我在linux下用useradd加了个用户,在home下怎么没它的目录阿?
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
- 帖子: 1038
- 注册时间: 2007-01-10 9:32
[问题]我在linux下用useradd加了个用户,在home下怎么没它的目录阿?
[问题]我在linux下用useradd加了个用户,在home下怎么没它的目录阿?开始我还以为没加成功呢,我又打了一遍命令后说这个用户以存在,奇怪!!!!
- BigSnake.NET
- 帖子: 12522
- 注册时间: 2006-07-02 11:16
- 来自: 廣州
- 联系:
info useradd
-m, --create-home
The user’s home directory will be created if it does not exist. The
files contained in SKEL_DIR will be copied to the home directory if
the -k option is used, otherwise the files contained in /etc/skel
will be used instead. Any directories contained in SKEL_DIR or
/etc/skel will be created in the user’s home directory as well. The
-k option is only valid in conjunction with the -m option. The
default is to not create the directory and to not copy any files.
^_^ ~~~
要理解递归,首先要理解递归。
地球人都知道,理论上,理论跟实际是没有差别的,但实际上,理论跟实际的差别是相当大滴。
要理解递归,首先要理解递归。
地球人都知道,理论上,理论跟实际是没有差别的,但实际上,理论跟实际的差别是相当大滴。
- karron
- 帖子: 6226
- 注册时间: 2005-06-11 14:03
- 来自: 不明真相的群众
- 联系: