![]() |
I can't get root access. What am I doing wrong?
Hello guys. New rookie doubt.
I need root access to run commands like this: apt-get update; apt-get upgrade I run su, sudo, sudo gainroot, etc. But I can't run the update commands. The password is wrong, I have tried 12345, 0000, rootme and my unlock code but nothing works. I have read in the following link that installing OpenSSH can be solved: https://wiki.maemo.org/Root_access But I run apt-get install OpenSSH ... and it needs root permission too. sudo passwd root doesn't work for me either. When I run "apt-get update; apt-get upgrade" (with and without "su") I get the following error: E: Could not open lock file / var / lib / apt / list / lock - open (13 Permission denied) E: Enable to lock the list directory E: Could not open lock file / var / lib / dpkg / lock - open (13 Permission denied) E: Unable to lock the administration directory (/ var / lib / dpkg /), are you root? What I can do? |
Re: I can't get root access. What am I doing wrong?
Search for package rootsh and install with HAM, standard application manager (after having set the repo mirrors correctly).
Then sudo gainroot is your friend. |
Re: I can't get root access. What am I doing wrong?
Quote:
I downloaded rootsh from here (maybe someone else will find it useful): http://repository.maemo.org/extras/p...free/r/rootsh/ Could I have installed it from the terminal as well? With what command? I tried apt-get install but it asked for root. |
Re: I can't get root access. What am I doing wrong?
Quote:
You need rootsh to get root access in terminal. But how did you install? (my memory is fading and I am not sure if tapping this downloaded file in file manager launched HAM and let it install, like on N9/Jolla now). |
Re: I can't get root access. What am I doing wrong?
I think if thou have not yet read the wikipage here in maemo forum thou could. Then instruction page "perfect setup for N900". But I am also curious have thou tried the Application manager and set up the working repositories? If not, do it. If need help for it, ask, and thee shall be given.
|
Re: I can't get root access. What am I doing wrong?
Just install it through the HAM (Hildon Application Manager) or FAM (Faster Application Manager). Then, you can become "root" with sudo gainroot or just root typed in the terminal. In the future, you can install .deb files throught the terminal by navigating to the folder they are in with cd command and then install them with dpkg -i command. For instance: cd /home/user/MyDocs then you press the enter button..and then you type dpkg -i rootsh.deb Here, we are assuming that the .deb file is located in your MyDocs folder. Ofc, in order to use dpkg -i you have to have superuser privilages first.
|
Re: I can't get root access. What am I doing wrong?
Quote:
Add all the repos incase it needs any dependencies to be installed. |
Re: I can't get root access. What am I doing wrong?
Quote:
Then I also tried to install backupmenu by clicking on the .DEB file, but it didn't let me. I installed it with apt-get install backupmenu (later I realized that this application is installed by default). |
Re: I can't get root access. What am I doing wrong?
Quote:
https://dt.iki.fi/nokia-n900-resurrect This mobile and TMO are wonderful, there is a lot of information and help. It had been a long time since I had so much fun with a cell phone. |
All times are GMT. The time now is 23:21. |
vBulletin® Version 3.8.8