mirror of
https://github.com/YunoHost-Apps/ssh_chroot_dir_ynh.git
synced 2024-09-03 20:26:26 +02:00
commit
2b11c6a6d3
4 changed files with 17 additions and 11 deletions
|
@ -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
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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
|
||||
#=================================================
|
||||
|
|
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue