|
|
07-16-2008
, 03:43 AM
|
|
|
Posts: 5,459 |
Thanked: 5,070 times |
Joined on Jan 2006
@ St. Petersburg, FL
|
#2
|
| The Following User Says Thank You to GeneralAntilles For This Useful Post: | ||
|
|
07-16-2008
, 08:19 AM
|
|
|
Posts: 2,514 |
Thanked: 6,571 times |
Joined on Mar 2008
@ UK
|
#3
|
| The Following 2 Users Say Thank You to Jaffa For This Useful Post: | ||
|
|
07-16-2008
, 12:31 PM
|
|
Posts: 47 |
Thanked: 77 times |
Joined on May 2008
|
#4
|
, just like in Ubuntu.
| The Following User Says Thank You to anpaza For This Useful Post: | ||
|
|
07-16-2008
, 12:40 PM
|
|
|
Posts: 4,274 |
Thanked: 5,313 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#5
|
Also it would be better to run /bin/sh and /bin/bash with the -l option (login). This will load ~/.profile for the user account and possibly other stuff to set up the shell for root.
. If I introduce changes, it may break scripts that depend on sudo gainroot (kernel_flasher, lardman's sbcenc's install script etc).
One small note: maybe it would make sense by default to run /bin/bash instead of /bin/sh if it exists. I think if somebody installed bash, then it prefers bash over the default shell.
.
By the way, wouldn't it be easier to just install a file under /etc/sudoers.d/ with something like:
user ALL = NOPASSWD: ALL
? Then you can sudo any command. Or even with user's password (if removing NOPASSWD, just like in Ubuntu.
. Although you could argue rootsh (the program) does do that :/|
|
07-18-2008
, 07:35 PM
|
|
Posts: 47 |
Thanked: 77 times |
Joined on May 2008
|
#6
|

| The Following 3 Users Say Thank You to anpaza For This Useful Post: | ||
|
|
07-19-2008
, 04:36 PM
|
|
|
Posts: 3,397 |
Thanked: 1,197 times |
Joined on Jul 2008
@ Netherlands
|
#7
|
|
|
07-19-2008
, 04:43 PM
|
|
|
Posts: 5,459 |
Thanked: 5,070 times |
Joined on Jan 2006
@ St. Petersburg, FL
|
#8
|
Thanks for the sudser port it certainly has its place besides rootsh.
|
|
07-19-2008
, 08:28 PM
|
|
Posts: 47 |
Thanked: 77 times |
Joined on May 2008
|
#9
|
|
|
07-20-2008
, 04:01 PM
|
|
|
Posts: 3,397 |
Thanked: 1,197 times |
Joined on Jul 2008
@ Netherlands
|
#10
|
![]() |
| Tags |
| becomeroot, rd-mode, root, rootsh, sudo |
| Thread Tools | Search this Thread |
|
Features:
This package provides the exact same functionality of easyroot (and a slight bit more) and becomeroot (a lot more).
The main reason for this package was to have a package in extras that would give you root without having to leave the application manager.
To install, you can find this in the chinook & diablo extras, which if they are enabled, you should see a package called rootsh showing up in your application manager.
Alternatively, you can just click the the install file from here:
http://maemo.org/downloads/product/OS2008/rootsh/