Reply
Thread Tools
Posts: 256 | Thanked: 939 times | Joined on Jun 2014 @ Finland
#81
Phew! Just made my first succesful rescue with this. Works greatly, thanks!
 

The Following 2 Users Say Thank You to Koiruus For This Useful Post:
Posts: 49 | Thanked: 16 times | Joined on Feb 2011
#82
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?
 
endsormeans's Avatar
Posts: 3,139 | Thanked: 8,156 times | Joined on Feb 2013 @ From my Gabriola Island hermitage, near the Edge of the World
#83
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 ...
__________________
Lurker since 2007, Member since 2013, Certifiable since 1972

Owner of :
1-n770 (in retirement), 3-n800's / 3-n810's (still in daily use), 5-n900's ((3 are flawless, 1 loose usb ( parts), 1 has no telephony (parts))
3-nexus 5's : 1 w/ Floko Pie 9.1 (running beautifully) waiting for Stable Droid 10 rom, 1 w/ ̶Ubuntu Touch, 1 with Maru OS (intend maemo leste when ready)

1/2 - neo900 pre- "purchased" in 2013. N̶o̶w̶ ̶A̶w̶a̶i̶t̶i̶n̶g̶ ̶r̶e̶f̶u̶n̶d̶ ̶p̶r̶o̶c̶e̶s̶s̶ ̶l̶a̶s̶t̶ ̶f̶e̶w̶ ̶y̶e̶a̶r̶s̶ - neo900 start up declared officially dead -
Lost invested funds.


PIMP MY N8X0 (Idiot's Guide and a video walkthrough)http://talk.maemo.org/showthread.php?t=94294
THE LOST GRONMAYER CATALOGShttp://talk.maemo.org/showthread.php...ight=gronmayer
N8X0 VIDEO ENCODING THE EASY WAYhttp://talk.maemo.org/showthread.php...ght=mediacoder
242gb ON N800http://talk.maemo.org/showthread.php?t=90634
THE PAIN-FREE MAEMO DEVELOPMENT LIVE DISTRO-ISO FOR THE NOOB TO THE PROhttp://talk.maemo.org/showthread.php?t=95567
AFFORDABLE MASS PRODUCTION FOR MAEMO PARTShttp://talk.maemo.org/showthread.php?t=93325

Meateo balloons now available @ Dave999's Meateo Emporium
 

The Following 2 Users Say Thank You to endsormeans For This Useful Post:
pichlo's Avatar
Posts: 6,445 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#84
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.
__________________
Русский военный корабль, иди нахуй!
 

The Following 4 Users Say Thank You to pichlo For This Useful Post:
endsormeans's Avatar
Posts: 3,139 | Thanked: 8,156 times | Joined on Feb 2013 @ From my Gabriola Island hermitage, near the Edge of the World
#85
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!..)
__________________
Lurker since 2007, Member since 2013, Certifiable since 1972

Owner of :
1-n770 (in retirement), 3-n800's / 3-n810's (still in daily use), 5-n900's ((3 are flawless, 1 loose usb ( parts), 1 has no telephony (parts))
3-nexus 5's : 1 w/ Floko Pie 9.1 (running beautifully) waiting for Stable Droid 10 rom, 1 w/ ̶Ubuntu Touch, 1 with Maru OS (intend maemo leste when ready)

1/2 - neo900 pre- "purchased" in 2013. N̶o̶w̶ ̶A̶w̶a̶i̶t̶i̶n̶g̶ ̶r̶e̶f̶u̶n̶d̶ ̶p̶r̶o̶c̶e̶s̶s̶ ̶l̶a̶s̶t̶ ̶f̶e̶w̶ ̶y̶e̶a̶r̶s̶ - neo900 start up declared officially dead -
Lost invested funds.


PIMP MY N8X0 (Idiot's Guide and a video walkthrough)http://talk.maemo.org/showthread.php?t=94294
THE LOST GRONMAYER CATALOGShttp://talk.maemo.org/showthread.php...ight=gronmayer
N8X0 VIDEO ENCODING THE EASY WAYhttp://talk.maemo.org/showthread.php...ght=mediacoder
242gb ON N800http://talk.maemo.org/showthread.php?t=90634
THE PAIN-FREE MAEMO DEVELOPMENT LIVE DISTRO-ISO FOR THE NOOB TO THE PROhttp://talk.maemo.org/showthread.php?t=95567
AFFORDABLE MASS PRODUCTION FOR MAEMO PARTShttp://talk.maemo.org/showthread.php?t=93325

Meateo balloons now available @ Dave999's Meateo Emporium

Last edited by endsormeans; 2018-04-30 at 06:14.
 
Posts: 49 | Thanked: 16 times | Joined on Feb 2011
#86
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
 
endsormeans's Avatar
Posts: 3,139 | Thanked: 8,156 times | Joined on Feb 2013 @ From my Gabriola Island hermitage, near the Edge of the World
#87
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...
__________________
Lurker since 2007, Member since 2013, Certifiable since 1972

Owner of :
1-n770 (in retirement), 3-n800's / 3-n810's (still in daily use), 5-n900's ((3 are flawless, 1 loose usb ( parts), 1 has no telephony (parts))
3-nexus 5's : 1 w/ Floko Pie 9.1 (running beautifully) waiting for Stable Droid 10 rom, 1 w/ ̶Ubuntu Touch, 1 with Maru OS (intend maemo leste when ready)

1/2 - neo900 pre- "purchased" in 2013. N̶o̶w̶ ̶A̶w̶a̶i̶t̶i̶n̶g̶ ̶r̶e̶f̶u̶n̶d̶ ̶p̶r̶o̶c̶e̶s̶s̶ ̶l̶a̶s̶t̶ ̶f̶e̶w̶ ̶y̶e̶a̶r̶s̶ - neo900 start up declared officially dead -
Lost invested funds.


PIMP MY N8X0 (Idiot's Guide and a video walkthrough)http://talk.maemo.org/showthread.php?t=94294
THE LOST GRONMAYER CATALOGShttp://talk.maemo.org/showthread.php...ight=gronmayer
N8X0 VIDEO ENCODING THE EASY WAYhttp://talk.maemo.org/showthread.php...ght=mediacoder
242gb ON N800http://talk.maemo.org/showthread.php?t=90634
THE PAIN-FREE MAEMO DEVELOPMENT LIVE DISTRO-ISO FOR THE NOOB TO THE PROhttp://talk.maemo.org/showthread.php?t=95567
AFFORDABLE MASS PRODUCTION FOR MAEMO PARTShttp://talk.maemo.org/showthread.php?t=93325

Meateo balloons now available @ Dave999's Meateo Emporium
 
Halftux's Avatar
Posts: 862 | Thanked: 2,511 times | Joined on Feb 2012 @ Germany
#88
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.
Attached Files
File Type: gz chrootpwd.tar.gz (10.6 KB, 66 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's Avatar
Posts: 3,139 | Thanked: 8,156 times | Joined on Feb 2013 @ From my Gabriola Island hermitage, near the Edge of the World
#89
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...

__________________
Lurker since 2007, Member since 2013, Certifiable since 1972

Owner of :
1-n770 (in retirement), 3-n800's / 3-n810's (still in daily use), 5-n900's ((3 are flawless, 1 loose usb ( parts), 1 has no telephony (parts))
3-nexus 5's : 1 w/ Floko Pie 9.1 (running beautifully) waiting for Stable Droid 10 rom, 1 w/ ̶Ubuntu Touch, 1 with Maru OS (intend maemo leste when ready)

1/2 - neo900 pre- "purchased" in 2013. N̶o̶w̶ ̶A̶w̶a̶i̶t̶i̶n̶g̶ ̶r̶e̶f̶u̶n̶d̶ ̶p̶r̶o̶c̶e̶s̶s̶ ̶l̶a̶s̶t̶ ̶f̶e̶w̶ ̶y̶e̶a̶r̶s̶ - neo900 start up declared officially dead -
Lost invested funds.


PIMP MY N8X0 (Idiot's Guide and a video walkthrough)http://talk.maemo.org/showthread.php?t=94294
THE LOST GRONMAYER CATALOGShttp://talk.maemo.org/showthread.php...ight=gronmayer
N8X0 VIDEO ENCODING THE EASY WAYhttp://talk.maemo.org/showthread.php...ght=mediacoder
242gb ON N800http://talk.maemo.org/showthread.php?t=90634
THE PAIN-FREE MAEMO DEVELOPMENT LIVE DISTRO-ISO FOR THE NOOB TO THE PROhttp://talk.maemo.org/showthread.php?t=95567
AFFORDABLE MASS PRODUCTION FOR MAEMO PARTShttp://talk.maemo.org/showthread.php?t=93325

Meateo balloons now available @ Dave999's Meateo Emporium

Last edited by endsormeans; 2018-05-01 at 04:06.
 

The Following 3 Users Say Thank You to endsormeans For This Useful Post:
Halftux's Avatar
Posts: 862 | Thanked: 2,511 times | Joined on Feb 2012 @ Germany
#90
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.

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

Thread Tools

 
Forum Jump


All times are GMT. The time now is 23:46.