maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   xterm. (https://talk.maemo.org/showthread.php?t=14557)

Gadget25 2008-01-07 02:42

xterm.
 
whats the command in xterminal to get super user privil.

GeneralAntilles 2008-01-07 02:53

Re: xterm.
 
Code:

sudo gainroot
Gadget25, you really need to invest some of your time in searching. :)

Gadget25 2008-01-07 03:15

Re: xterm.
 
I do but not finding anything , i tried the command you mentioned it says then after enable rd mode if you want to break your device which i ignore...i am executing a program dpkg -i filename when i do says i need to be a super user...

GeneralAntilles 2008-01-07 03:41

Re: xterm.
 
Go to gronmayer.com/it and search for "becomeroot", then add that repository and install becomeroot from Application Manager.

Gadget25 2008-01-07 03:52

Re: xterm.
 
haaa i did but wasnt sure why n uninstalled thanks will do it again

Gadget25 2008-01-07 04:11

Re: xterm.
 
doh! ok installed now i get file isnt there....i'm using dpkg to run a file

Gadget25 2008-01-07 04:27

Re: xterm.
 
lots to know w linux now i get file locked by another process or something

cakey 2008-01-07 04:32

Re: xterm.
 
You are probably not in the right directory. Where is the file?

cakey 2008-01-07 04:33

Re: xterm.
 
Oh, and kill the Application Manager if its running.

linuxrebel 2008-01-07 04:36

Re: xterm.
 
sudo .... if you are setup like a Linux box should be. Is all you need. Also too if you have installed openssh or otherwise set a root password su works too, however the permissions aren't set correctly by default on maemoOS's.

GeneralAntilles 2008-01-07 04:47

Re: xterm.
 
Quote:

Originally Posted by linuxrebel (Post 122276)
sudo .... if you are setup like a Linux box should be. Is all you need. Also too if you have installed openssh or otherwise set a root password su works too, however the permissions aren't set correctly by default on maemoOS's.

Then why are you trying to confuse the issue? :rolleyes:

All he needs to know is: sudo gainroot, then dpkg -i to install whatever he's trying to install.

Gadget25, you cannot have Application Manager open when you're trying to install stuff from the command line. The system will only allow one installation process (apt, dpkg, Application Manager, etc.) to run at a time to prevent them from running into eachother. Make sure Application Manager is closed, then re-run the dpkg command.

linuxrebel 2008-01-07 04:59

Re: xterm.
 
No sudo gainroot only works if he has his IT in R&D mode. The real problem is that root etc has been hidden behind a lot of BS on the front end. Sudo is the command in xterm to gain root. However he/she can't use it until they have jumped through a whole lot of hoops .... Then and only then can they even use sudo

GeneralAntilles 2008-01-07 05:11

Re: xterm.
 
Quote:

Originally Posted by linuxrebel (Post 122285)
No sudo gainroot only works if he has his IT in R&D mode.

Sorry, but this is incorrect. Installing becomeroot accomplishes the same thing without the hassle of flasher. The rest involve editing suders to include user, which is a mildly difficult and time consuming process.

Quote:

Originally Posted by linuxrebel (Post 122285)
The real problem is that root etc has been hidden behind a lot of BS on the front end.

I don't disagree, but this isn't the place to have a discussion of that sort. Unless you're really just interested in confusing the newbies. . . .

Quote:

Originally Posted by linuxrebel (Post 122285)
Sudo is the command in xterm to gain root.

This is incorrect, sudo is a command to execute the command that follows it as another user (generally the superuser).

Quote:

Originally Posted by linuxrebel (Post 122285)
However he/she can't use it until they have jumped through a whole lot of hoops .... Then and only then can they even use sudo

This is only half right, yes, you can only use sudo after adding user to sudoers, but the becomeroot package allows you to gain a rootshell with the command sudo gainroot.

Please try not to spread incorrect information in a newbie howto thread. If you really want to have this discussion, take it elsewhere. :)

linuxrebel 2008-01-07 05:23

Re: xterm.
 
General ... Sudo was created long before you were born to be a means to track execution of commands as root. I've been using it and helping yunguns since the 70's with systems like this. The problem comes when you overly complicate things like has been done here. So now. you have to

1. Install become root.
2. run gain root
3. modify passwords
4. run sudo .... etc etc etc.

But I suppose that's easier than teaching them how things should work and how to make the IT consistent with other Linux installs. Now comes the question. are you of the mind that you believe I need to leave so be it. After all you be smarteren me. I's jus a dumb ****ry boy.

GeneralAntilles 2008-01-07 05:28

Re: xterm.
 
All I'm trying to do is help him install the application he wants to install. If you want to have a debate about the decision making behind maemo, this isn't the place.

Gadget25 2008-01-07 16:45

Re: xterm.
 
Alright I tried it without app manager and file manager open it says now it cant find the file my file is under the nokia n800 directory not in any specific folder...When typing up the dpkg command with my file i'm in the /home/user directory, I typed sudo gainroot to get there

GeneralAntilles 2008-01-07 17:14

Re: xterm.
 
You need to point dpkg to the file you're trying to install. It can't just guess it for you.

So if it's in the /home/user/MyDocs folder, then do dpkg -i /home/user/MyDocs/<filename of deb>

Gadget25 2008-01-07 19:42

Re: xterm.
 
I give up, nothing is working, either i'm doing something wrong or have to actually do something else but it comes up error its like it aint able to get to the file even with what you told me, ah no big deal...hopefully that will be corrected, trying to put the beta of amsn , but it doesnt work by clicking on the deb file was told needs to be done in the command line to run it

Thanks for all the help anyways guys


All times are GMT. The time now is 06:17.

vBulletin® Version 3.8.8