# HG changeset patch # User Paul Issott # Date 1390425689 0 # Node ID e147172174de77c6f3d58cede6c4cb53a8fe5ef7 # Parent b2a0d6170736cccca885505573da740294f131e1 Tiny edits diff -r b2a0d6170736 -r e147172174de README --- a/README Wed Jan 22 18:36:52 2014 +0100 +++ b/README Wed Jan 22 21:21:29 2014 +0000 @@ -2,7 +2,7 @@ ================================================================================ - * Powerfull SliTaz SHell in a few minutes + * Powerful SliTaz SHell in a few minutes * Simple online registration via CGI script * Easy to create and maintain users chroot * Host cmdline tool to handle users and chroot @@ -12,10 +12,10 @@ ---------- Start by getting the latest code via SliTaz Hg repos: -# hg clone http://hg.slitaz.orh/slish +# hg clone http://hg.slitaz.org/slish # cd slish && make install -Setup dierctories, a chroot and configure the system to chroot all +Setup directories, a chroot and configure the system to chroot all SliSH users. # slish setup diff -r b2a0d6170736 -r e147172174de slish --- a/slish Wed Jan 22 18:36:52 2014 +0100 +++ b/slish Wed Jan 22 21:21:29 2014 +0000 @@ -1,7 +1,7 @@ #!/bin/sh # -# SliSH - The SliTaz SHell on demand. No gettext this is a pure adim -# mainly developpee for slish.in but who can be used by other projects. +# SliSH - The SliTaz SHell on demand. No gettext this is a pure admin +# mainly developed for slish.in but which can be used by other projects. # # Copyright (C) 2014 SliTaz GNU/Linux - BSD License # Author: Christophe Lincoln @@ -33,7 +33,7 @@ $(boldify "Commands:") info Display paths, configs and some stats - setup Setup SliSH server and users chroot + setup Setup SliSH server and user chroot gen-chroot Generate a new default or user chroot clean-chroot Clean the chroot but skip home and root adduser Add a user to the server with \$HOME in chroot @@ -63,7 +63,7 @@ echo "Setting up the $(basename $dir) directory..." mkdir -p ${dir} && chown www.www ${dir} done - # Activity log must be writtable by users + # Activity log must be writable by users touch ${activity} && chmod 0666 ${activity} echo "All done!" } @@ -188,7 +188,7 @@ gen_chroot() { [ "$clean" ] && clean_chroot if [ -d "$root/bin" ]; then - echo "A chroot already exist: Use -cc command or --clean option" + echo "A chroot already exists: Use -cc command or --clean option" exit 1 fi [ "$clean" ] || newline @@ -267,7 +267,7 @@ rm -rf ${queue}/${user} done ;; *) - # /usr/bin/slish is be exectue on login to chroot the user + # /usr/bin/slish is be executed on login to chroot the user if [ -d "$root/home/$USER" ]; then . ${people}/"$USER"/account.conf log "Chrooting user: $USER"