NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
eton
May 18, 2015Luminary
RAIDiator 4.1.14 changed bash shell behaviour - Bug?
RAIDiator version 4.1.14 changed bash's shell behaviour. Bug or new features? Example of executing bulkGetter script as user UserName under RAIDiator version 4.1.13 (Sparc): # su -c "bulkGetter....
eton
May 22, 2015Luminary
mdgm wrote: It's not root's $PATH you want to change.
If you look at /etc/passwd you will see the path to the home directory for the user. You need a .bashrc file in that directory.
This doesn't seem to be the problem and it worked before. Now I tried to move the script to the UserName path in /etc/passwd. Same result as before (, as I expected). There is something wrong with handling of PATHs in RAIDiator 4.1.14.
# su -c "bulkGetter.sh downloadlist.txt . -rm" -s /bin/sh UserName
sh: line 1: bulkGetter.sh: command not found
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!