Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
ISPConfig 3
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1,573
Issues
1,573
List
Boards
Labels
Milestones
Merge Requests
30
Merge Requests
30
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ISPConfig
ISPConfig 3
Commits
373a9f2b
Commit
373a9f2b
authored
Jul 03, 2019
by
Till Brehm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
implemented
#5116
Cronjob on Jailkit Environment is not executed
parent
b019e483
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
server/scripts/create_jailkit_user.sh
server/scripts/create_jailkit_user.sh
+6
-0
No files found.
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
Markdown
is supported
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