Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Webslice
ISPConfig 3
Commits
373a9f2b
Commit
373a9f2b
authored
Jul 03, 2019
by
Till Brehm
Browse files
implemented #5116 Cronjob on Jailkit Environment is not executed
parent
b019e483
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/scripts/create_jailkit_user.sh
View file @
373a9f2b
...
...
@@ -21,6 +21,12 @@ CHROOT_SHELL=$4
CHROOT_P_USER
=
$5
CHROOT_P_USER_HOMEDIR
=
$6
### Check if USERHOMEDIR already exists ###
if
[
!
-d
$CHROOT_HOMEDIR
/.
$CHROOT_USERHOMEDIR
]
;
then
mkdir
-p
$CHROOT_HOMEDIR
/.
$CHROOT_USERHOMEDIR
chown
-R
$CHROOT_USERNAME
$CHROOT_HOMEDIR
/.
$CHROOT_USERHOMEDIR
fi
### Reconfigure the chroot home directory for the user ###
usermod
--home
=
$CHROOT_HOMEDIR
/.
$CHROOT_USERHOMEDIR
$CHROOT_USERNAME
2>/dev/null
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment