aboutsummaryrefslogtreecommitdiff
path: root/rcynic/installation-scripts/linux/install.sh.in
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2012-12-13 01:59:27 +0000
committerRob Austein <sra@hactrn.net>2012-12-13 01:59:27 +0000
commit6339e69cdb533ff909ce6221870091e9e0bfb6c6 (patch)
tree0359ed8f1faab8cfbe471a6e61c2dd7caf9a231e /rcynic/installation-scripts/linux/install.sh.in
parent18f4eaee9d99c62d82d44af6183ac1e30a57750f (diff)
Update message printed at end of Linux installation. See #363.
svn path=/trunk/; revision=4932
Diffstat (limited to 'rcynic/installation-scripts/linux/install.sh.in')
-rw-r--r--rcynic/installation-scripts/linux/install.sh.in9
1 files changed, 7 insertions, 2 deletions
diff --git a/rcynic/installation-scripts/linux/install.sh.in b/rcynic/installation-scripts/linux/install.sh.in
index 37b4af0a..9ca78f17 100644
--- a/rcynic/installation-scripts/linux/install.sh.in
+++ b/rcynic/installation-scripts/linux/install.sh.in
@@ -229,9 +229,14 @@ EOF
*)
/bin/cat <<EOF
- You'll need to add a crontab entry running the following command as root:
+ You'll need to add a crontab entry running one of the the following command as root:
- /usr/sbin/chroot -u $jailuser -g $jailgroup $jaildir /bin/rcynic -c /etc/rcynic.conf
+ /usr/sbin/chroot --userspec $jailuser:$jailgroup $jaildir /bin/rcynic -c /etc/rcynic.conf
+
+ /usr/bin/chrootuid $jaildir rcynic /bin/rcynic -c /etc/rcynic.conf
+
+ We recommend the latter, as chrootuid has proven more reliable for us than the chroot
+ program that is included on some GNU/Linux platforms.
Please try to pick a random time for this, don't just run it on the hour,
or at local midnight, or, worst of all, at midnight UTC.