Active Topics

 


Reply
Thread Tools
nicholes's Avatar
Posts: 1,103 | 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,290 | Thanked: 4,134 times | Joined on Apr 2010 @ UK
#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.
__________________

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: 30 | Thanked: 48 times | Joined on Dec 2013 @ Finland
#3
I think you can use "sudo passwd" to set root password
 
Posts: 2,290 | Thanked: 4,134 times | Joined on Apr 2010 @ UK
#4
That isn't advised.
https://help.ubuntu.com/community/RootSudo
__________________

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,103 | 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,103 | 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,293 | Thanked: 4,319 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.
 
Posts: 1,873 | Thanked: 4,529 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,103 | 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,103 | 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


 
Forum Jump


All times are GMT. The time now is 09:56.