linux 新建用户授权
新建用户
useradd -m newuser
passwd newuserpwd newuser
usermod -d newuserhome newuser
授权目录给用户
chown newuser:newuser /home/newuser
授权用户组
chgrp -R newuser /path/to/directory
本文来自博客园,作者:vx_guanchaoguo0,转载请注明原文链接:https://www.cnblogs.com/guanchaoguo/p/18084486