View Single Post
Posts: 328 | Thanked: 72 times | Joined on Oct 2010 @ Venezuela
#951
@karam

BusyBox v1.18.5 (Debian 1.18.5power2) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ root


BusyBox v1.18.5 (Debian 1.18.5power2) built-in shell (ash)
Enter 'help' for a list of built-in commands.

carlonN900:~# cd /home/user/MyDocs/
carlonN900:/home/user/MyDocs# sh install.txt
install.txt: line 1: if: not found
Error: you need to run this script as root.
Exiting...
carlonN900:/home/user/MyDocs# whoami
root
carlonN900:/home/user/MyDocs# sh install.txt
install.txt: line 1: if: not found
Error: you need to run this script as root.
Exiting...
carlonN900:/home/user/MyDocs#

carlonN900:/home/user/MyDocs# exit
~ $ sudo gainroot
Root shell enabled


BusyBox v1.18.5 (Debian 1.18.5power2) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/home/user # cd MyDocs/
/home/user/MyDocs # whoami
root
/home/user/MyDocs # sh install.txt
install.txt: line 1: if: not found
Error: you need to run this script as root.
Exiting...
/home/user/MyDocs #