On firmware versions 380.58 and 380.59, the symlink /bin/false does not exist and the busybox binary does not support false (but does support true).
I am puzzled by this, as /bin/false is usually used as the shell for non-user/daemon accounts (e.g. postfix, dovecot, httpd).
Can anyone shed light on why 'false' support is missing?
I am puzzled by this, as /bin/false is usually used as the shell for non-user/daemon accounts (e.g. postfix, dovecot, httpd).
Can anyone shed light on why 'false' support is missing?
Code:
admin@router:~ # ls -la /bin/true
lrwxrwxrwx 1 admin root 7 Mar 21 08:12 /bin/true -> busybox
admin@router:~ # ls -la /bin/false
ls: cannot access /bin/false: No such file or directory
Code:
admin@router:~ # /bin/busybox true --help
BusyBox v1.20.2 (2016-03-20 15:54:28 EDT) multi-call binary.
Usage: true
Return an exit code of TRUE (0)
admin@router:~ # /bin/busybox false --help
false: applet not found