当前位置: 技术问答>linux和unix
useradd命令的-K参数怎么理解?
来源: 互联网 发布时间:2017-03-05
本文导语: man里的英文,看不懂,还提到了user_attr(4),更是晕了,请简单描述(中文最好),给个例子更妙! | -k skel_dir A directory that contains skeleton information (such as .profile) that can be copied into...
man里的英文,看不懂,还提到了user_attr(4),更是晕了,请简单描述(中文最好),给个例子更妙!
|
-k skel_dir
A directory that contains skeleton information (such as .profile) that can be copied into a new user's home directory. This directory must already exist. The system provides the /etc/skel directory that can be used for this purpose.
就是为新建的用户拷贝创建一些默认的文件。
A directory that contains skeleton information (such as .profile) that can be copied into a new user's home directory. This directory must already exist. The system provides the /etc/skel directory that can be used for this purpose.
就是为新建的用户拷贝创建一些默认的文件。