crap...I'm not root (using linloader)....can't CHMOD /ezxlocal
I gave up on telnetd because my firmware doesn't have the required shared libs (as far as I know).
Now I'm trying to setup Bragon's SSHD because I only noticed a frase about "Telnet desabled in new firmwares" in the SSHD README file.
Following the README file instructions I've created this script:
mkdir -p /ezxlocal/etc/dropbear
cd /ezxlocal/etc/dropbear
/mmc/mmca1/.system/QTDownLoad/sshd/dropbearkey -t rsa -f dropbear_rsa_host_key
...
I've tried to run using LinLoader. But mkdir returned this error:
mkdir: cannot create directory `/ezxlocal/etc': Permission denied
This is the ezxlocal's permissions.
drwxr-xr-x 9 root root 0 Dec 31 1969 ezxlocal
This rises the question: The script is not root. Under which user permissions does LinLoader runs my scripts?
Anyone know?
I search the phone and found no SU or SUDO or WHOAMI.
Well...now I will try to CHMOD ezxlocal.
Clovis
(not from KKK)
crap...I'm not root (using linloader)....can't CHMOD /ezxlocal
Hey Clovis,
I've tried the commands who/users and none worked out.
I got curious to find out what user the linloader runs under.
Let us know if you find that out!
A1200i - firmware: R532L4_G_11.40.0FRBP
microSD 128 Mb (1 Gb on the way)
User EZX!!
still can't chmod nor su nor sudo.
on other thread someone told me that Mkezx has su.
I'm gonna setup a linux environment with Mkezx next week.
gosh...have not used linux for the last 8 years.
How did you find out what user was logged?!
A1200i - firmware: R532L4_G_11.40.0FRBP
microSD 128 Mb (1 Gb on the way)
Just used imaginationOriginally Posted by carneiro
Since I don't have WHOAMI (yet). I remembered (from my old *nix days) that ps shows username for process. Just used
Your are the user running bash (or whatever shell you are using to execute the script).Code:ps -u