Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    N900 rescue OS - testing release

    Reply
    Page 9 of 10 | Prev |   7     8   9   10   | Next
    Koiruus | # 81 | 2018-02-26, 22:50 | Report

    Phew! Just made my first succesful rescue with this. Works greatly, thanks!

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to Koiruus For This Useful Post:
    Amboss, nieldk

     
    EL_CID_CAMPEADOR | # 82 | 2018-04-30, 01:05 | Report

    i forgot xterminal root password and rescueos doest help me to change it. rootme doesnt work on my phone (xterminal) rescueos shows the pasword is rootme but do not allow me to change it.


    help me i forgot my root password. how to change it?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    endsormeans | # 83 | 2018-04-30, 05:07 | Report

    um....ain't the standard "sudo gainroot" for xterminal?
    It's what I have always used on my n8x0's...
    it should be the same for the n900...
    not much has changed in regard to the basics....regardless of the model...AFAIK...right?
    just gotta install rootsh first

    el cid...if in doubt...just search the forum...I would imagine for something as fundamental as "xterminal root password" would have given you an answer...if not multiple answers to your dilemma ...

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to endsormeans For This Useful Post:
    imaginaryenemy, Ridd92

     
    pichlo | # 84 | 2018-04-30, 05:34 | Report

    Originally Posted by endsormeans View Post
    um....ain't the standard "sudo gainroot" for xterminal?
    It is.

    The only time you may need a root password is when you want to connect to the device as root via something like WinSCP. The number of times I wanted something like that could be counted on... err, one finger. A bent one.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 4 Users Say Thank You to pichlo For This Useful Post:
    Dousan, endsormeans, imaginaryenemy, Ridd92

     
    endsormeans | # 85 | 2018-04-30, 05:41 | Report

    There we go then...
    2 for 2 ...el cid.
    I am thinking that you haven't touched your n900 in quite a while to have forgotten a fundamental as this...

    Now...
    for me...
    back to one of my fav. Quatermas movies ....
    "X the Unknown..."...

    Dun-dun dunnnn!

    (and yes yes... it isn't a "Quatermas" movie ...specifically ..but X is in the genre...my fav Quatermas movie is number 2 for sure...
    though the 1979 wasn't bad either...the 2005 remake was not my cup of tea...though it was done live...which is impressive..
    Now back to the radioactive mud man....dun-dun dunnnn!..)

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by endsormeans; 2018-04-30 at 06:14.

     
    EL_CID_CAMPEADOR | # 86 | 2018-04-30, 15:15 | Report

    i buy sambung galaxy tab in april 2012 and do not touch n900 since 2012.

    the question is if rootsh is essentialy needed. i want to put sudo su with password. any posibility of do thath without instal sudo or rootsh? only with the xterminal preconfigured like fresh install :S sorry for eng

    Edit | Forward | Quote | Quick Reply | Thanks

     
    endsormeans | # 87 | 2018-04-30, 17:13 | Report

    Its ok...
    My Spanish sucks...my girlfriend thinks its ok..but she is biased.

    Anyway....
    Isn't rootsh in the repos?
    You should be able to download it from there...

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Halftux | # 88 | 2018-05-01, 00:36 | Report

    Originally Posted by EL_CID_CAMPEADOR View Post
    the question is if rootsh is essentialy needed. i want to put sudo su with password. any posibility of do thath without instal sudo or rootsh? only with the xterminal preconfigured like fresh install :S sorry for eng
    You could try to copy /etc/passwd to mmc edit the file, blank the password or put some known password into it.

    Code:
    cp /etc/passwd /media/mmc1
    this would be a line with the password rootme
    Code:
    root:5aFRhBRgJ87j6:0:0:root:/root:/bin/sh
    After you have modified your passwd, start rescueOS mount the root and mount mmc.
    Replace the passwd file in /mnt/maemo/etc/.
    As an alternative you could use nano to directly edit the passwd file.

    Then run following command:

    Code:
    chmod u+s /mnt/maemo/bin/su
    Now you can unmount everything, poweroff and start maemo again. You should be able to do 'su' in a terminal with the new password. After that you can change the password if it was blank.

    I will also attach a binary for the N900 which can change the root password in a backup passwd file. Extract it and make it executable. But I guess when you fear rootsh, you will also not running this binary.

    Usage:

    Code:
    ./chrootpwd file=/media/mmc1/passwd
    It will ask for a new root password which replaces the old one in the file.

    Edit | Forward | Quote | Quick Reply | Thanks
    Attached Files
    File Type: gz chrootpwd.tar.gz (10.6 KB, 72 views)

    Last edited by Halftux; 2018-05-08 at 23:46. Reason: forget to unmount
    The Following 4 Users Say Thank You to Halftux For This Useful Post:
    endsormeans, imaginaryenemy, peterleinchen, pichlo

     
    endsormeans | # 89 | 2018-05-01, 04:01 | Report

    No .."point and click " ...for the poor guy ...huh Halftux?


    Weeeeelllllllllll....

    El Cid ..
    ever heard of the term...
    "too smart for your own good"?
    or
    "so smart you fooled yourself"?

    I be thinkin' that if good ole el cid gets through this one...
    he will be rethinking the whole
    "need to make a password for xterm so well even I can't figure it out" ...
    ever ever ever again...


    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by endsormeans; 2018-05-01 at 04:06.
    The Following 3 Users Say Thank You to endsormeans For This Useful Post:
    Halftux, peterleinchen, pichlo

     
    Halftux | # 90 | 2018-05-01, 13:22 | Report

    Originally Posted by endsormeans View Post
    No .."point and click " ...for the poor guy ...huh Halftux?
    It could be done, then I need to rewrite chrootpwd with plain c and integrating to rescueOS, but I am to lazy for that. Or figure out how to run a binary as su without sudo or rootsh and not knowing the password.

    Originally Posted by endsormeans View Post
    El Cid ..
    ever heard of the term...
    "too smart for your own good"?
    or
    "so smart you fooled yourself"?
    Thank you endsormeans I learn from you many unknown english terms. Sometimes it is hard to understand and I need to read more than once. Lol when google "El Cid"
    The biggest harm to the device is when somebody else have it in his own hands. My work doesn't harm myself because I think it is already known.
    Also removing the usb port doesn't give you protection, you still can install rootsh or sudo to change the root password.
    Don't give the device away or do not loose it. Protect sensible data with truecrypt.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by Halftux; 2018-05-01 at 23:18.

     
    Page 9 of 10 | Prev |   7     8   9   10   | Next
vBulletin® Version 3.8.8
Normal Logout