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

Similar Threads
thread Thread Starter Forum Replies Last Post
iPad: How to change the 4-digit lockscreen passcode as root in terminal? celibateromeo Jailbreaks and iOS Hacks 10 Apr 2, 2014 03:55 PM
How to type curly quote in Terminal as root? esskay Mac OS X 10.7 Lion 2 Jan 19, 2013 09:05 PM
THIS IS DANGEROUS, root access inside a Terminal. wisecracker MacBook Pro 9 Nov 1, 2012 05:59 PM
Run Terminal Command as root on Startup evilblob OS X 10.8 Mountain Lion 1 Aug 2, 2012 01:25 AM
Terminal - SSH as Root, No ANSI Colours Kilamite Mac Applications and Mac App Store 3 Jun 30, 2012 10:45 AM

Forum Jump

All times are GMT -5. The time now is 04:01 AM.

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

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