maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   Ubuntu (https://talk.maemo.org/showthread.php?t=92346)

mscion 2014-01-10 15:26

Re: Ubuntu
 
Quote:

Originally Posted by n950 (Post 1405432)
----------------------
First I have:

/system/bin/sh: sudo not found

Second I have:

su: user passwd does not exist
-----------
You have another solution?

When I boot up linux on android a terminal comes up. From here I can use sudo.
Also, since you are using ubuntu is your default password "ubuntu"
(without quotes of course!)

nieldk 2014-01-10 15:38

Re: Ubuntu
 
in Jolla terminal

$ devel-su
# passwd root

after, in Android terminal

$ su
(enter password you set before, in Jolla terminal)
#

works fine

mscion 2014-01-10 16:03

Re: Ubuntu
 
Oh, Looks like what you wanted to do was access root and sudo on Jolla phone using android terminal. Not root on ubuntu... Sorry about that!

n950 2014-01-10 16:27

Re: Ubuntu
 
Quote:

Originally Posted by nieldk (Post 1405439)
in Jolla terminal

$ devel-su
# passwd root

after, in Android terminal

$ su
(enter password you set before, in Jolla terminal)
#

works fine

I promise you when i follow your tip it doesn't work why?

n950 2014-01-10 16:32

Re: Ubuntu
 
Passwd works.

Now I have an error.

bash: precmd: command not found

WHY?

Mikma 2014-01-10 16:34

Re: Ubuntu
 
Maybe you should stick with Sailfish OS and not play with the linux terminal...

n950 2014-01-10 16:44

Re: Ubuntu
 
Quote:

Originally Posted by Mikma (Post 1405453)
Maybe you should stick with Sailfish OS and not play with the linux terminal...

If you know HOW, let me know because I am not good in comand lines.

nieldk 2014-01-10 16:58

Re: Ubuntu
 
Quote:

Originally Posted by n950 (Post 1405452)
Passwd works.

Now I have an error.

bash: precmd: command not found

WHY?

you played with BASH prompt.
Dude, you have been given the answers. Yet you are demanding in your requests.
Best advice, dont play with things you dont know. You can mess up stuff you dont want. I will even advice you to not use developer mode!

n950 2014-01-10 17:10

Re: Ubuntu
 
Quote:

Originally Posted by nieldk (Post 1405458)
you played with BASH prompt.
Dude, you have been given the answers. Yet you are demanding in your requests.
Best advice, dont play with things you dont know. You can mess up stuff you dont want. I will even advice you to not use developer mode!

1) I run gui to install or run ubuntu
2) I set my pass from my sailfish terminal.
3) I run ubuntu and when i had the android terminal run i have this error just after put pass.

So I don't play with BASH prompt.


All times are GMT. The time now is 01:01.

vBulletin® Version 3.8.8