+ Reply
Results 1 to 19 of 19

Thread: SU Password

  1. #1
    Green Apple
    Join Date
    Nov 2010
    Location
    Fullerton, CA & Florianopolis, Brazil
    Posts
    30
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default 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

  2. #2
    Livin the iPhone Life thazsar's Avatar
    Join Date
    Jan 2010
    Location
    Dallas, TX
    Posts
    1,315
    Thanks
    5
    Thanked 156 Times in 135 Posts

    Quote Originally Posted by bsdaiwa View Post
    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
    Try: alpine

  3. #3
    Green 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.

  4. #4
    Livin the iPhone Life thazsar's Avatar
    Join Date
    Jan 2010
    Location
    Dallas, TX
    Posts
    1,315
    Thanks
    5
    Thanked 156 Times in 135 Posts

    Quote Originally Posted by bsdaiwa View Post
    tried but did not work.
    Go to /Applications/Terminal/ and see if you find a file that says 'old something-something).'. If u do, then make a backup copy of it then delete the original

    Let me know

  5. #5
    Green Apple
    Join Date
    Nov 2010
    Location
    Fullerton, CA & Florianopolis, Brazil
    Posts
    30
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Quote Originally Posted by thazsar View Post
    Go to /Applications/Terminal/ and see if you find a file that says 'old something-something).'. If u do, then make a backup copy of it then delete the original

    Let me know
    No Terminal in Applications folder.

    Thanks for the help.

  6. #6
    Green Apple
    Join Date
    Jan 2011
    Location
    United States
    Posts
    51
    Thanks
    0
    Thanked 10 Times in 7 Posts

    You need to download Mobile Terminal. Your Cydia Repo has it up for downloading for free (latest version for iOS 4+).

  7. #7
    Livin the iPhone Life thazsar's Avatar
    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

  8. #8
    Green 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

  9. #9
    Livin the iPhone Life thazsar's Avatar
    Join Date
    Jan 2010
    Location
    Dallas, TX
    Posts
    1,315
    Thanks
    5
    Thanked 156 Times in 135 Posts

    Quote Originally Posted by bsdaiwa View Post
    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.
    Don't worry about opening it. Just go to /Applications/Terminal and see if u can find that file I asked about

  10. #10
    Green 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.

  11. #11
    Livin the iPhone Life thazsar's Avatar
    Join Date
    Jan 2010
    Location
    Dallas, TX
    Posts
    1,315
    Thanks
    5
    Thanked 156 Times in 135 Posts

    Quote Originally Posted by bsdaiwa View Post
    Looked in the folder /Applications/Terminal/ and there was no file that began or had old in it.
    K, I'll do some research...

  12. #12
    Livin the iPhone Life thazsar's Avatar
    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

  13. #13
    Green Apple
    Join Date
    Jan 2011
    Location
    United States
    Posts
    51
    Thanks
    0
    Thanked 10 Times in 7 Posts

    You are probably looking in the wrong Applications folder. Look in /var/stash/Applications - not the Applications with your App Store apps.

  14. #14
    "The Truth" metaserph's Avatar
    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

  15. #15
    iPhone Underground A3gOwner's Avatar
    Join Date
    Jun 2009
    Location
    Underground
    Posts
    1,172
    Thanks
    2
    Thanked 117 Times in 110 Posts

    Quote Originally Posted by metaserph View Post
    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.
    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.

  16. #16
    Green Apple
    Join Date
    Nov 2010
    Location
    Fullerton, CA & Florianopolis, Brazil
    Posts
    30
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Quote Originally Posted by A3gOwner View Post
    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.
    So when I can login as "root" that is the highest power. If that is correct, then I have the answer I need because I can login as "root" so we can end this with my thanks to all who have helped.

  17. #17
    Livin the iPhone Life thazsar's Avatar
    Join Date
    Jan 2010
    Location
    Dallas, TX
    Posts
    1,315
    Thanks
    5
    Thanked 156 Times in 135 Posts

    Quote Originally Posted by A3gOwner View Post
    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.
    Nice info! I didn't know all if that (but also wasn't sure what he/she was asking about). Thanx A3gOwner!

  18. #18
    What's Jailbreak?
    Join Date
    Feb 2011
    Posts
    13
    Thanks
    1
    Thanked 1 Time in 1 Post
    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...]

  19. #19
    iPhone Underground A3gOwner's Avatar
    Join Date
    Jun 2009
    Location
    Underground
    Posts
    1,172
    Thanks
    2
    Thanked 117 Times in 110 Posts

    Quote Originally Posted by bsdaiwa View Post
    So when I can login as "root" that is the highest power. If that is correct, then I have the answer I need because I can login as "root" so we can end this with my thanks to all who have helped.
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts