Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > iPhone, iPod and iPad > iOS > Jailbreaks and iOS Hacks

Reply
 
Thread Tools Search this Thread Display Modes
Old Nov 3, 2008, 11:15 PM   #1
DUMBDOG
macrumors newbie
 
Join Date: Oct 2008
mobile terminal and root access?

is there a way to login as the root user rather than the mobile user? I would like to have access to certain commands that I dont have permission when using mobile terminal. So, i would like to get similar functionality on the phone directly like I get with ssh root@iphone from my mac. I often get the permissions denied error when using mobile terminal on the phone. Anything out there?
DUMBDOG is offline   0 Reply With Quote
Old Nov 4, 2008, 07:47 AM   #2
DN7335
macrumors 6502
 
Join Date: Jun 2008
Quote:
Originally Posted by DUMBDOG View Post
is there a way to login as the root user rather than the mobile user? I would like to have access to certain commands that I dont have permission when using mobile terminal. So, i would like to get similar functionality on the phone directly like I get with ssh root@iphone from my mac. I often get the permissions denied error when using mobile terminal on the phone. Anything out there?
I always log in as root. The default password for the root login is "alpine" though you should change it for security purposes once you're in.
__________________
Dual Boot Windows 7/Hackintosh PC, Intel Quad Core CPU 6600, 4GB Ram, Radeon 4850 Pro 512MB, 2TB storage
iPhone 4 32GB v5.0.1 firmware (JB)
iPad 2 WiFi 64GB v5.0.1 firmware (JB)
DN7335 is offline   0 Reply With Quote
Old Nov 5, 2008, 08:16 PM   #3
DUMBDOG
Thread Starter
macrumors newbie
 
Join Date: Oct 2008
how do you login from the phone? I know how to login as root from my Mac, but not directly from the phone. When I open mobileTerminal I think it automatically has me as mobile. how do I then change to root?
DUMBDOG is offline   0 Reply With Quote
Old Nov 5, 2008, 09:17 PM   #4
bradenwh
macrumors 6502
 
Join Date: Apr 2008
Root

When it logs you in as mobile, type login
Then type root
Then type alpine
And there. You are now logged in as root with all root privileges. =]
bradenwh is offline   0 Reply With Quote
Old Nov 6, 2008, 08:50 AM   #5
DravenGSX
macrumors 6502
 
Join Date: Aug 2008
Or, if you're lazy and don't want to type that much. Type "su" at the prompt and press enter. Then enter the root password.
DravenGSX is offline   0 Reply With Quote
Old Mar 5, 2010, 07:28 PM   #6
MyMaria
macrumors newbie
 
Join Date: Mar 2009
Talking

wow! thanks for this... mac stuff sure amazes me every time.. everything's too simple and every time i discover something, i go.. "wow! why didn't i think of that?" you gotta love the mac!
MyMaria is offline   -1 Reply With Quote
Old Mar 5, 2010, 09:03 PM   #7
foob
macrumors 6502
 
Join Date: Feb 2009
su is the normal method which uses a built-in shell command to switch users. Login launches a separate shell. Either works, but login is really overkill in this instance.

They're not really Mac features, they're 30 year old UNIX features.
foob is offline   0 Reply With Quote
Old Feb 6, 2012, 10:46 AM   #8
dabomb1
macrumors newbie
 
Join Date: Feb 2012
Mobile Terminal

Mobile terminal won't let me type in the root password
dabomb1 is offline   0 Reply With Quote

Reply
MacRumors Forums > iPhone, iPod and iPad > iOS > Jailbreaks and iOS Hacks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Lets say someone needs temporary root access without leaving any marks imcoolsobackoff iPad Hacks 5 Sep 7, 2011 06:46 PM
SSH and root access happyrock Jailbreaks and iOS Hacks 13 Feb 22, 2011 01:07 PM
Jailbreaking iPhone and root access cloakedpegasus Jailbreaks and iOS Hacks 2 Feb 8, 2011 03:45 AM
Blackra1n and root access rendez2k Jailbreaks and iOS Hacks 4 Apr 29, 2010 04:09 PM
whats mobile terminal and how do i use it Vegan TJ Jailbreaks and iOS Hacks 14 Oct 29, 2008 09:32 PM


All times are GMT -5. The time now is 08:24 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC