diff --git a/conf/app.src b/conf/app.src index ea3d390..a3635fa 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/maniackcrudelis/ssh_chroot/archive/v1.2.tar.gz -SOURCE_SUM=e3b1d77aff02189e3c237bf68df8b171e49fbdb8837e0df55d61b28121138e81 +SOURCE_URL=https://github.com/maniackcrudelis/ssh_chroot/archive/v1.3.tar.gz +SOURCE_SUM=d44b51f8d838fc9f929e6048b825c8f74d52f6a254764527bce1ed4a4c558652 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true diff --git a/manifest.json b/manifest.json index fc55172..0339b0a 100644 --- a/manifest.json +++ b/manifest.json @@ -1,13 +1,13 @@ { - "name": "ssh chroot directory", - "id": "ssh_chroot_dir", - "packaging_format": 1, - "description": { - "en": "ssh chroot directories with quotas disk.", - "fr": "Dossier ssh en chroot avec gestion de quotas." - }, - "version": "1.2~ynh4", - "url": "https://github.com/maniackcrudelis/ssh_chroot", + "name": "ssh chroot directory", + "id": "ssh_chroot_dir", + "packaging_format": 1, + "description": { + "en": "ssh chroot directories with quotas disk.", + "fr": "Dossier ssh en chroot avec gestion de quotas." + }, + "version": "1.3~ynh1", + "url": "https://github.com/maniackcrudelis/ssh_chroot", "upstream": { "license": "GPL-3.0", "website": "https://github.com/maniackcrudelis/ssh_chroot", diff --git a/scripts/install b/scripts/install index ceed539..6c9fb88 100755 --- a/scripts/install +++ b/scripts/install @@ -136,6 +136,9 @@ then $final_path/chroot_manager.sh adduser --name $ssh_user $auth_opt "$auth_value" --directory "$user_dir" --quota $size fi +# Allow the user to use ssh +adduser $ssh_user ssh.app + #================================================= # ADD A LINK TO CHROOT_MANAGER #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 87c1d4f..980d1ed 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -84,6 +84,9 @@ then ssh_chroot_set_permissions "$user_dir" $ssh_user fi +# Allow the user to use ssh +adduser $ssh_user ssh.app + #================================================= # UPDATE THE LINK TO CHROOT_MANAGER #=================================================