The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone




 
 
Register or Connect with Facebook

Discuss AppStore Apps | Browse / Search Cydia | MMi Cydia Stats




  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > iPhone Modding > File Mods
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 08-19-2007, 11:56 PM
mrengles's Avatar
Green Apple
 
Join Date: Aug 2007
Posts: 50
Thanks: 3
Thanked 8 Times in 6 Posts
Change Password???

I have changed my Root password from dottie to xxxx.

How do I change the mobile user password from alpine to a password of my choice. I just don't like the idea of having a default password. I know the mobile user cannot change or edit files from a shell for sftp, but you can view or read all files on the iphone with this user which leaves major wholes in our iphone security.... any ideas?

mrengles
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #2  
Old 08-21-2007, 04:22 PM
Cody Overcash's Avatar
Owner / Founder - ModMyi
aka cash7c3
 
Join Date: May 2007
Device + Firmware: iPhone 3g 3.0 beta 4
Operating System: OS X | XP | Sabayon
Location: Denver, CO
Posts: 3,603
Thanks: 288
Thanked 14,882 Times in 507 Posts
Send a message via AIM to Cody Overcash Send a message via MSN to Cody Overcash Send a message via Yahoo to Cody Overcash

huh? mobile user password, be more specific maybe i dont follow your terminology
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #3  
Old 08-22-2007, 05:09 PM
mrengles's Avatar
Green Apple
 
Join Date: Aug 2007
Posts: 50
Thanks: 3
Thanked 8 Times in 6 Posts

The iPhone has two users, mobile and Root

I want to change the mobile user password like i did the root password.

Why because you can login to anyones iphone using the mobile user if you don't change if from the default password "alpine", and you know their IP address. Very dangerous. you cant change (write) any file using mobile but you can read "view all files" if you give me an iPhone's IP with SSH installed I can pull off all your info.. I mean all if you don't change both passwords....


This is a major security issue for people who have installed SSH onto there iphone and haven't changed both of the users passwords...
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #4  
Old 08-25-2007, 01:12 PM
iPhone? More like MyPhone
 
Join Date: Jul 2007
Posts: 285
Thanks: 3
Thanked 27 Times in 24 Posts

Would a temporary solution be to uninstall SSH. Would that allow you to keep all your mods while still eliminating the security risk. With installer, putting SSH back on is a pretty easy affair.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #5  
Old 08-25-2007, 05:11 PM
mrengles's Avatar
Green Apple
 
Join Date: Aug 2007
Posts: 50
Thanks: 3
Thanked 8 Times in 6 Posts

Yes that would work...

or you can change the mobile password the same way you changed your root password only you would edit the line that says mobile in your master.passwd file instead of root.


there is info on how-to change your root password on another thread... Good Luck!
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #6  
Old 08-25-2007, 06:36 PM
iPhone? More like MyPhone
 
Join Date: Jul 2007
Posts: 233
Thanks: 1
Thanked 20 Times in 18 Posts

I just installed the passwd command (it's in the downloads section now) and used that to change root. I didn't mess with the mobile account, I have no idea what that account gets used for, but didn't want to break anything by changing that password.

If you try it, let us know if you anything stops working.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #7  
Old 08-25-2007, 07:45 PM
What's Jailbreak?
 
Join Date: Jul 2007
Posts: 7
Thanks: 0
Thanked 1 Time in 1 Post

I changed mine by logging in via ssh, or using mobileterminal and doing:

passwd root

or passwd mobile

But you'll need to install passwd either manually or by installing BSD Subsystem with Installer.app
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #8  
Old 09-25-2007, 11:36 AM
What's Jailbreak?
 
Join Date: Sep 2007
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts

Another way to have SSH, and maintain security would be to start it only when needed, and stop it when done.

I can kill sshd, and manually restart it if needed, but it will start at reboot.

The iphone does not have the 'service' command. How do they start it?

A nice applet to start/stop services would be nice.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #9  
Old 09-25-2007, 11:58 AM
iPhone? More like MyPhone
 
Join Date: Sep 2007
Posts: 106
Thanks: 2
Thanked 9 Times in 7 Posts

Quote:
Originally Posted by CrossBow View Post
Another way to have SSH, and maintain security would be to start it only when needed, and stop it when done.

I can kill sshd, and manually restart it if needed, but it will start at reboot.

The iphone does not have the 'service' command. How do they start it?

A nice applet to start/stop services would be nice.
it's included in the BSD sub system pckg
it's called "launchctl"
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #10  
Old 09-25-2007, 02:24 PM
What's Jailbreak?
 
Join Date: Sep 2007
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts

Quote:
it's included in the BSD sub system pckg
it's called "launchctl"
Yeah, got it.

Stop sshd:

Code:
# launchctl remove com.openssh.sshd
It's very polite. Won't dump you, but when you disconnect, it stops sshd.

Start sshd: (From the terminal)

Code:
# launchctl load /Library/LaunchDaemons/com.openssh.sshd.plist
sshd will also restart on boot, so if you crash, or for some reason poweroff, and back on, you'll be open to ssh again.

Thanks ! I should have at least known what to look for. Too much penguin p()()p in my head.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
Reply

  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > iPhone Modding > File Mods

Thread Tools
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
Trackbacks are On
Pingbacks are On
Refbacks are On



Go to Top
ModMyI

All times are GMT -6. The time now is 08:52 PM. Powered by vBulletin® Version 3.8.4
If you need Dedicated Server Hosting, you should check out SingleHop. | Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 Copyright © 2007-09 by ModMy, LLC. All rights reserved.

iPhone News / iPhone Forums / Apple News / Apple Forums / RSS / Contact Us / / Privacy Statement / Top