Thread: SU Password
-
04-26-2011, 12:11 PM #1Green Apple
- Join Date
- Nov 2010
- Location
- Fullerton, CA & Florianopolis, Brazil
- Posts
- 30
- Thanks
- 1
- Thanked 0 Times in 0 Posts
SU Password
Some time ago I must have changed the su password on my iphone. When I use Putty I get the prompt “login as” and I can enter root and enter my password and gain access. Is that the same as the su password? I really don’t know what su is so the question may sound dumb for that I am sorry.
What is the mobile Password, is it the same or at the initial prompt from Putty do I enter mobile to get to the mobile account?
Kind of confused can anyone point me to an explanation of su, root, mobile account?
Thanks
-
04-26-2011, 12:19 PM #2Livin the iPhone Life
- Join Date
- Jan 2010
- Location
- Dallas, TX
- Posts
- 1,315
- Thanks
- 5
- Thanked 156 Times in 135 Posts
-
04-26-2011, 12:42 PM #3Green Apple
- Join Date
- Nov 2010
- Location
- Fullerton, CA & Florianopolis, Brazil
- Posts
- 30
- Thanks
- 1
- Thanked 0 Times in 0 Posts
tried but did not work.
-
04-26-2011, 01:26 PM #4Livin the iPhone Life
- Join Date
- Jan 2010
- Location
- Dallas, TX
- Posts
- 1,315
- Thanks
- 5
- Thanked 156 Times in 135 Posts
-
04-26-2011, 03:30 PM #5Green Apple
- Join Date
- Nov 2010
- Location
- Fullerton, CA & Florianopolis, Brazil
- Posts
- 30
- Thanks
- 1
- Thanked 0 Times in 0 Posts
-
04-26-2011, 04:03 PM #6
You need to download Mobile Terminal. Your Cydia Repo has it up for downloading for free (latest version for iOS 4+).
-
04-26-2011, 05:44 PM #7Livin the iPhone Life
- Join Date
- Jan 2010
- Location
- Dallas, TX
- Posts
- 1,315
- Thanks
- 5
- Thanked 156 Times in 135 Posts
BTW, I'm not sur if these are the answers ur looking for but:
Su - basically the username for ur device
Root - meaning '/' directory or Root directory
Mobile - could mean /var/mobile which is the Default directory on ur iDevice
-
04-26-2011, 06:03 PM #8Green Apple
- Join Date
- Nov 2010
- Location
- Fullerton, CA & Florianopolis, Brazil
- Posts
- 30
- Thanks
- 1
- Thanked 0 Times in 0 Posts
Thanks, I can log in as root using Putty, is that the same as logging in as su? When I put su instead of root and try and use the same password it won't accept it. Also, installed Terminal but when I try and execute it, it just opens for a second then closes.
Last edited by bsdaiwa; 04-26-2011 at 06:05 PM. Reason: added additional information
-
04-26-2011, 08:19 PM #9Livin the iPhone Life
- Join Date
- Jan 2010
- Location
- Dallas, TX
- Posts
- 1,315
- Thanks
- 5
- Thanked 156 Times in 135 Posts
-
04-26-2011, 08:24 PM #10Green Apple
- Join Date
- Nov 2010
- Location
- Fullerton, CA & Florianopolis, Brazil
- Posts
- 30
- Thanks
- 1
- Thanked 0 Times in 0 Posts
Looked in the folder /Applications/Terminal/ and there was no file that began or had old in it.
-
04-26-2011, 08:50 PM #11Livin the iPhone Life
- Join Date
- Jan 2010
- Location
- Dallas, TX
- Posts
- 1,315
- Thanks
- 5
- Thanked 156 Times in 135 Posts
-
04-26-2011, 09:18 PM #12Livin the iPhone Life
- Join Date
- Jan 2010
- Location
- Dallas, TX
- Posts
- 1,315
- Thanks
- 5
- Thanked 156 Times in 135 Posts
Delete the MobileTerminal u have
Google MobileTerminal ios4 to find out what repo to get it from
Then follow these instructions :
http://www.hackint0sh.org/f127/79608.htm
-
04-26-2011, 09:55 PM #13
You are probably looking in the wrong Applications folder. Look in /var/stash/Applications - not the Applications with your App Store apps.
-
04-26-2011, 10:32 PM #14"The Truth"
- Join Date
- Feb 2009
- Location
- Houston, Texas U.S.A.
- Posts
- 3,477
- Thanks
- 6,118
- Thanked 4,644 Times in 1,613 Posts
su means "super user", same as root. Default passwords for root is "alpine" and for mobile is "alpine". If you changed root, that does not change mobile, which should still be "alpine". Follow the instructions on Cydia regarding the changing of passwords. Basically:
Get your jailbroken iPhone and open MobileTerminal (If you don’t have it already, get it from Cydia)
In MobileTerminal, type in: su root
It’ll ask you for a password, type in: alpine
To make the screen a bit cleaner, type in: cd
Now, to change your password, type in: passwd
Enter the password you desire (You will not see the characters in the screen as you type them for security reasons)
Enter the password you entered once more
You’re essentially done, if you want to change the password for the mobile space on the iPhone, continue reading… If not, close MobileTerminal and pat yourself on the back.
If you’re going to change the password for the Mobile user, type in: passwd mobile
Enter the password you desire (You will not see the characters in the screen as you type them for security reasons)
Enter the password you entered once more
All done! You are now secure! You may close MobileTerminal.Last edited by metaserph; 04-26-2011 at 10:38 PM. Reason: corrections
@Metaserph "You can only attain Peace through spreading Love to create Unity and earn the Respect of others" - Complex Simplicity
-
04-26-2011, 11:37 PM #15iPhone Underground
- Join Date
- Jun 2009
- Location
- Underground
- Posts
- 1,172
- Thanks
- 2
- Thanked 117 Times in 110 Posts
Close but not quite. Su is switch user not super user. Su defaults to root (user) if no user name is specified. Also "su -" will get you root aswell. Su is a program/script to switch users in a shell environment hence the usage: su root, su mobile. Su --help in the terminal will explain more. Root is system "master/admin/owner" highest power user on a *nix system.
-
04-27-2011, 06:23 AM #16Green Apple
- Join Date
- Nov 2010
- Location
- Fullerton, CA & Florianopolis, Brazil
- Posts
- 30
- Thanks
- 1
- Thanked 0 Times in 0 Posts
-
04-27-2011, 06:48 AM #17Livin the iPhone Life
- Join Date
- Jan 2010
- Location
- Dallas, TX
- Posts
- 1,315
- Thanks
- 5
- Thanked 156 Times in 135 Posts
-
04-27-2011, 06:24 PM #18
su is a command and root is a user. If you are logged in as mobile you would use su to change to root. You cannot login as a command or execute a user. [HAHAHAH I guess you can...]
-
04-27-2011, 10:12 PM #19iPhone Underground
- Join Date
- Jun 2009
- Location
- Underground
- Posts
- 1,172
- Thanks
- 2
- Thanked 117 Times in 110 Posts
Yes root is the "highest power" user on a Linux/unix based operating system. iOS is unix based just so you know. Also in a *nix environment the directory "/" is refered to as the root of the file system. That causes a little confusion at first but it's easy to understand.



LinkBack URL
About LinkBacks
Reply With Quote



