Notices


Reply
Thread Tools
nicholes's Avatar
Posts: 1,102 | Thanked: 368 times | Joined on Oct 2010 @ india, indore
#1
I am using ubuntu in andriod phone. I have img file and it runs via terminal when I execute sh file. Problem is when I start terminal and try to install anything using apt-get I got permission denied. When I type su it ask for password. I know one password when I log in via vnc but that doesn't work. What should I do?
__________________
N900 gave me a reason to live in this cruel world

get your smooth live wallpaper today
My YouTube videos
 
Posts: 2,242 | Thanked: 3,988 times | Joined on Apr 2010 @ England
#2
With Ubuntu root doesn't work like that.
You need an admin account and use the admin accounts password.

Root password is locked, you need to use sudo "command" then enter the admins user password.
__________________
The stable-beast currently runs...
21.2011.38-1Smaemo8 (CSSU Stable)
2.6.28.10power53 (125-600Mhz SR VDD1&2)

Wiki Admin
sixwheeledbeast's wiki
Testing Squad Subscriber
- mcallerx - tenminutecore - FlopSwap - Qnotted - zzztop - Bander - Fight2048 -


Before posting or starting a thread please try this.
 
Posts: 24 | Thanked: 32 times | Joined on Dec 2013 @ Finland
#3
I think you can use "sudo passwd" to set root password
 
Posts: 2,242 | Thanked: 3,988 times | Joined on Apr 2010 @ England
#4
That isn't advised.
https://help.ubuntu.com/community/RootSudo
__________________
The stable-beast currently runs...
21.2011.38-1Smaemo8 (CSSU Stable)
2.6.28.10power53 (125-600Mhz SR VDD1&2)

Wiki Admin
sixwheeledbeast's wiki
Testing Squad Subscriber
- mcallerx - tenminutecore - FlopSwap - Qnotted - zzztop - Bander - Fight2048 -


Before posting or starting a thread please try this.
 

The Following 2 Users Say Thank You to sixwheeledbeast For This Useful Post:
nicholes's Avatar
Posts: 1,102 | Thanked: 368 times | Joined on Oct 2010 @ india, indore
#5
Sudo passwd
Permission denied


How do I create or log into admin account?

Please note I am running ubuntu in an andriod phone
__________________
N900 gave me a reason to live in this cruel world

get your smooth live wallpaper today
My YouTube videos
 
nicholes's Avatar
Posts: 1,102 | Thanked: 368 times | Joined on Oct 2010 @ india, indore
#6
When I type "sudo"

Permission denied
__________________
N900 gave me a reason to live in this cruel world

get your smooth live wallpaper today
My YouTube videos
 
Posts: 1,054 | Thanked: 3,474 times | Joined on Oct 2014
#7
If you dont know, you dont need it

From where, with what, etc, etc, etc, did you install Ubuntu ?

Correct usage is

sudo <command> <arguments>

If that doesnt work, something is screwed with whatever, however, whereever you installed Ubuntu.
__________________
You can still support my work by donation - click here

ETH: 0xf7544913017653719259c92d38d50d9d55f7c6cd
 
Posts: 1,509 | Thanked: 3,093 times | Joined on Mar 2010 @ North Potomac MD
#8
I use Linux on Android . I just tried to run ubuntu in a desktop environment on my phone. Opened a terminal and ran sudo apt-get update. It then asked for password. In this case the preset password is ubuntu. Hope this helps.
 
nicholes's Avatar
Posts: 1,102 | Thanked: 368 times | Joined on Oct 2010 @ india, indore
#9
sudo apt-get update gives permission denied
__________________
N900 gave me a reason to live in this cruel world

get your smooth live wallpaper today
My YouTube videos
 
nicholes's Avatar
Posts: 1,102 | Thanked: 368 times | Joined on Oct 2010 @ india, indore
#10
Originally Posted by mscion View Post
I use Linux on Android . I just tried to run ubuntu in a desktop environment on my phone. Opened a terminal and ran sudo apt-get update. It then asked for password. In this case the preset password is ubuntu. Hope this helps.
Can you post link for your img file Ubuntu Linux and sh file.
__________________
N900 gave me a reason to live in this cruel world

get your smooth live wallpaper today
My YouTube videos
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 12:21.