Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - mujie

Pages: [1]
1
Installation / Add user to multiple groups within CWP
« on: April 16, 2016, 07:01:10 AM »
Hi,

I know about "usermod", "groupadd" or "setfacl". BUT, I want to do it with CWP automatically when I create a new user. For example, I type this command for directory with multiple groups.

/usr/bin/setfacl -R -m g:tomcat:rwx /home/myclientuser

Which is, myclientuser has group "myclientuser" and I want to add it to 2nd group named "tomcat" group. Its work for while, but than not anymore less then minute. So I need to type a command again.

I'm waiting for any suggestion or advise, thanks.

Pages: [1]