maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   How to enable auto "sudo gainroot" command in XTerminal?? (https://talk.maemo.org/showthread.php?t=61503)

chaoscreater 2010-09-01 02:06

How to enable auto "sudo gainroot" command in XTerminal??
 
Everytime we use xTerminal, we almost always use the sudo gainroot command to gain root access. I don't wanna have to type this everytime, is there a tweak that automatically opens xTerminal with the root access enabled already??


EDIT:

(This targets at the member "festivalnut" and "atilla" in particular).

Appended from my post on page 4 (post 31). This message contains copyright and effective against everyone other than me. Should anyone attempt to edit their previous posts above my post at page 4 (post 31), and attempt to "trick" or override my post with theirs, please compare their edited time & date with mine. If ur too stupid to do that, u fukn fail. With that aside, here's the message:



Quote:

It's been fun guys. But i'm done with u both. One idiot tries to prove his innocence because he posted a useless 3 word sentence on page 1, another idiot feels bad for the first guy and rages and spams.


Both are now blocked ignored.


Any reply posted after mine will be considered ineffective and garbage. This warning message is troll proof, idiot proof and ****** proof. Consider urself an illiterate c.u.n.t, should u still choose to post/flame after this message, or quote this message. Any further insults posted against this will be redundant and fail miserably.


Good bye u losers.

festivalnut 2010-09-01 02:16

Re: How to enable auto "sudo gainroot" command in XTerminal??
 
i hope not.

TiagoTiago 2010-09-01 02:32

Re: How to enable auto "sudo gainroot" command in XTerminal??
 
There is probably a way to launch root terminal directly

fatalsaint 2010-09-01 02:39

Re: How to enable auto "sudo gainroot" command in XTerminal??
 
http://talk.maemo.org/showthread.php?t=40698

I strongly discourage this.

chaoscreater 2010-09-01 02:43

Re: How to enable auto "sudo gainroot" command in XTerminal??
 
thanks fatalsaint, that solved my problem.

And to the 2 other users who replied, no offense but they're kinda pointless and useless answers. If you don't have anything good to suggest, then don't reply at all, just saying.


And of course there is a way, i've seen several threads about this but people had problems with it when trying to modify a few files and put into certain folders. However, Filebox allows root access and opens xTerminal with root access enabled already, so that's the type of tweak or solution i'm looking for.

TiagoTiago 2010-09-01 02:58

Re: How to enable auto "sudo gainroot" command in XTerminal??
 
My reply was positive, no criticism and helps keeping the hopes up, and i wasn't lying, at the time it was my honest opinion that there probably was a way to do it.

jedi 2010-09-01 09:00

Re: How to enable auto "sudo gainroot" command in XTerminal??
 
You could create an alias so you only have to type (for example) "r"

add this line to /etc/profile (you'll have to be root)

Code:

alias r="sudo gainroot"
Now next time you'll login, just type "r" instead :)

James_Littler 2010-09-01 09:23

Re: How to enable auto "sudo gainroot" command in XTerminal??
 
just type 'root' it does the same as sudo gainroot and is much quicker, and you only enable root access in a terminal session if you need it, it shouldnt be enabled automatically.

TiagoTiago 2010-09-01 09:29

Re: How to enable auto "sudo gainroot" command in XTerminal??
 
why does it go to a different folder?

Jude 2010-09-01 09:37

Re: How to enable auto "sudo gainroot" command in XTerminal??
 
Thanks fatalsaint for your assistance..

Why do u say its not recommended to have root on automatically?


All times are GMT. The time now is 07:59.

vBulletin® Version 3.8.8