NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
zennit
Nov 09, 2011Aspirant
su bash problems
Hi Guys, I've just setup a new ssh user using this guide viewtopic.php?f=36&t=25327 When I logged in and tried some commands is was getting: bash: ls: command not found So I changed /etc/p...
mdgm-ntgr
Nov 09, 2011NETGEAR Employee Retired
Your /etc/passwd file is fine, I think. Is this on a x86 ReadyNAS (e.g. NVX/Ultra/Pro)? If so, the encrypted password is stored in /etc/shadow which would explain why you don't see the encrypted password in that file that you'd expect from looking at the Duo (v1)
As NetGear intends SSH access only to be used by the "root" user it's stripped out all the other stuff it sees as unnecessary to keep the firmware image as small as possible.
As for your su problem I don't know.
Have you considered editing /etc/sudoers and using sudo?
As NetGear intends SSH access only to be used by the "root" user it's stripped out all the other stuff it sees as unnecessary to keep the firmware image as small as possible.
As for your su problem I don't know.
Have you considered editing /etc/sudoers and using sudo?
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!