• November 01, 2024, 04:24:36 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: sshd add-on tweaks  (Read 3676 times)

gzp

  • Level 1 Member
  • *
  • Posts: 10
sshd add-on tweaks
« 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

Logged

gzp

  • Level 1 Member
  • *
  • Posts: 10
Re: sshd add-on tweaks
« Reply #1 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>
Logged