D-Link Forums

The Graveyard - Products No Longer Supported => D-Link Storage => DNS-325 => Topic started by: gzp on September 13, 2013, 08:28:04 AM

Title: sshd add-on tweaks
Post by: gzp on September 13, 2013, 08:28:04 AM
Hello,

I've tried the (unofficial) sshd add-on from  http://dlink.ua/dns_addons.
It works great and I've managed to "repack" it adding some sshd_config mods (AllowGroup sshusers root).

I've tried to add nano and less from the ffp package, but the only response I get from the sh is "not found".

# ls -l /mnt/HD/HD_a2/Nas_Prog/linux-tools/bin/less
-rwxr-xr-x    1 root     root       125888 Sep 12 16:41 /mnt/HD/HD_a2/Nas_Prog/linux-tools/bin/less
# /mnt/HD/HD_a2/Nas_Prog/linux-tools/bin/less
-sh: /mnt/HD/HD_a2/Nas_Prog/linux-tools/bin/less: not found
# ls -l /usr/bin/less
lrwxrwxrwx    1 root     root           43 Sep 13 15:25 /usr/bin/less -> /mnt/HD/HD_a2/Nas_Prog/linux-tools/bin/less
# less
-sh: less: not found
# /usr/bin/less
-sh: /usr/bin/less: not found

Any suggestions ?

Thanks: gzp

Title: Re: sshd add-on tweaks
Post by: gzp on September 13, 2013, 08:32:54 AM
Oh, and one more note, tinylogin addgroup is not working. It has the addgroup argument parsing error, thus sshusers group cannot be created automatically from init/install scipts from the add-on.

# tinylogin addgroup user
Tinylogin v1.4 (2010.08.23-10:11+0000) multi-call binary

Usage: addgroup [OPTIONS] <group_name>