Author Topic: Getting root access  (Read 1588 times)

Unhban

  • Sr. Member
  • ****
  • Posts: 322
  • Thinks....
Getting root access
« on: September 07, 2008, 12:18:56 PM »
For those who want to delve into the files of the machines (be aware modding a file could cause a lot of problems...) there is a patch you can download here:

http://www.littlelinuxlaptop.com/software/Getroot.htm

The instructions are not quite correct on that page. The corrected instruction number 5 is:

5. Now, if everything has gone right, pressing CTRL+ALT+F3 will get you Root. Press ENTER to activate the console. Then type in...  root   and then press ENTER.   Press ALT+F2 to return to the desktop.

Of course you will have to use Linux commands to look around the files:

ls              - list files
ls -a          - list files including hidden ones
cd /<directory name>  - change to this directory
cd ..          - go back up a directory

There is a text editor included called Vi. Read up on how to use it before trying!

Again! Be aware modding a file could cause a lot of problems...

crylex

  • Newbie
  • *
  • Posts: 31
Re: Getting root access
« Reply #1 on: September 07, 2008, 12:56:26 PM »
Hi

If you use putty from a windows machine, you log in as root.

on the elonex
1. start the xterm (having installed it from littlelinuxlaptop)
2. type telnetd to start the telnet daemon
3. type ifconfig to get the ip address of the elonex

go to your windows machine
1. start putty (available here http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html )
2. enter the ip address you got from above (in host name or ipadress box)
3. select telnet
4. click open, and access your elonex from you desktop.
5. it will prompt you for a user - enter 'root' and press return - no password required

Yes inappropriate changing of files could cause problems, so unless you are confident in restoring your elonex, don't proceed.

Chris
« Last Edit: September 07, 2008, 01:24:45 PM by crylex »

thekanester

  • Newbie
  • *
  • Posts: 11
Re: Getting root access
« Reply #2 on: September 08, 2008, 09:34:07 AM »
Crylex

Thanks for that. Pretty useful!

Unhban

  • Sr. Member
  • ****
  • Posts: 322
  • Thinks....
Re: Getting root access
« Reply #3 on: September 08, 2008, 09:43:34 AM »
Yes, tis very handy that! My mate though requests ssh, any chance?  8)

crylex

  • Newbie
  • *
  • Posts: 31
Re: Getting root access
« Reply #4 on: September 08, 2008, 10:27:11 PM »
Hi

Checked for the SSHd on the elonex, not installed, which means it needs to be cross compiled for mips, and then installed.

BUT, imho, you don't really need it, unless you want to access the elonex acroos a network that goes outside your router, ie out of your private network. Of course, the onet+ could become a great remote situation quick install monitoring machine, and then you would have to do more secure stuff, but for playing, its not really worth taking up the space.

Chris