WeHack BBS
useradd $HOME的默认权限设置 - 可打印的版本

+- WeHack BBS (https://bbs.wehack.space)
+-- 版块: 计算机技术 (https://bbs.wehack.space/forum-5.html)
+--- 版块: GNU/Linux 讨论区 (https://bbs.wehack.space/forum-6.html)
+--- 主题: useradd $HOME的默认权限设置 (/thread-16.html)



useradd $HOME的默认权限设置 - vimacs - 01-12-2018

https://serverfault.com/questions/98842/useradd-with-755-permissions

在login.def中设置,设置UMASK为077即可使新建的$HOME权限为700.