• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

adding to linux add user script?

Soybomb

Diamond Member
I'm setting up a RedHat 6.2 machine that will be serving up user's webpages in part. I added a public_html directory in /etc/skel/ so when adduser is used that is created in their home directory. Each new user that is added though needs the permissions of the /home/user/public_html directory changed by doing:
chmod 701 /home/username
chmod 751 /home/username/public_html
Is there a way I can make those permissions be set to that directory to each new user? Setting them like that in skel doesn't make the permissions carry over it seems.
 
Make a group (like html) and give your users rights to that group, and give the group rights to the directory.
 
Back
Top