手动添加linux用户

 手动添加一个用户
slackware,slackware,uid 5000 gid 5000
1, etcgroup
slackwarex5000
2, etcpasswd
slackwarex50005000Test Userhomeslackwarebinbash
3, etcshadow
slackware153550999997
openssl passwd -1(MD5加密) -salt 12345678
4, cp -r etcskel homeslackware
chown -R slackware.slackware homeslackware && chmod -R go= homeslackware

你可能感兴趣的:(linux,职场,休闲,手动添加一个用户的详细步骤!)