pac.create
This commit is contained in:
parent
7c35d33ef9
commit
5979115aed
@ -74,10 +74,15 @@ public class PacProcessorFactory implements EntityProcessorFactory {
|
||||
+ ":" + unixUser.getShell() + "\n");
|
||||
Processor mkdirsProc = new ShellProcessor("chmod 711 " + unixUser.getHomedir() + " && " +
|
||||
"su -l " + unixUser.getName() + " -s \"/bin/bash\" -c \"mkdir " +
|
||||
unixUser.getHomedir() + "/etc " +
|
||||
unixUser.getHomedir() + "/doms " +
|
||||
unixUser.getHomedir() + "/etc " +
|
||||
unixUser.getHomedir() + "/users " +
|
||||
"\""
|
||||
unixUser.getHomedir() + "/var " +
|
||||
"\" && " +
|
||||
"chown httpd " + unixUser.getHomedir() + "/doms && " +
|
||||
"chmod 2700 " + unixUser.getHomedir() + "/etc && " +
|
||||
"chmod 2750 " + unixUser.getHomedir() + "/var && " +
|
||||
"chmod 2750 " + unixUser.getHomedir() + "/users"
|
||||
);
|
||||
try {
|
||||
InputStream stream = TemplateProcessor.class.getClassLoader().getResourceAsStream("/de/hsadmin/mods/pac/email_new_pac_account.jtpl");
|
||||
|
Loading…
Reference in New Issue
Block a user