Thread: change root password
-
03-07-2008, 10:45 AM #1
change root password
so i installed the bsd subsystem and open ssh and been having tons of fun with it, customized ringtones and such. but im alittle concerned about leaving sshd up with a default root password. is there a way to change it and if so will it mess anything up?
-
03-07-2008, 10:55 AM #2iPhone? More like MyPhone
- Join Date
- Sep 2007
- Location
- California
- Posts
- 121
- Thanks
- 27
- Thanked 19 Times in 16 Posts
Have you installed Services?
Have you installed Services? If you haven't, I'd advice that you install that also. Services lets you turn on/off services like Edge, Wifi, Bluetooth, and of course, SSH.
But if you like, there show be a post/thread about changing the password.....I did it once but forgot how since I've updated my firmware from 1.1.1 to 1.1.3.
Hope this helps.
Don't be shy, it's ok to hit that THANKS button.
-
03-07-2008, 11:19 AM #3
services didn't work for me, when i turned one off it would be on again when i open services app
-
03-07-2008, 11:27 AM #4iPhoneaholic
- Join Date
- Aug 2007
- Location
- San Francisco, CA
- Posts
- 476
- Thanks
- 24
- Thanked 112 Times in 94 Posts
BSD can't change the password(on 1.1.3+) ... but Cydia has a passwd command that does work!
my pass is no longer alpine!Last edited by jakecigar; 03-07-2008 at 11:37 AM.
http://jpassoc.com/x -- with free itunes under the puppy!
If I help you out, please press ★THANKS!
3g QuickPWN'ed with 2.1
-
03-07-2008, 11:33 AM #5
i tried the BSD passwd command and it seemed to work just fine
-
03-07-2008, 12:11 PM #6iPhoneaholic
- Join Date
- Aug 2007
- Location
- San Francisco, CA
- Posts
- 476
- Thanks
- 24
- Thanked 112 Times in 94 Posts
http://jpassoc.com/x -- with free itunes under the puppy!
If I help you out, please press ★THANKS!
3g QuickPWN'ed with 2.1
-
03-07-2008, 12:48 PM #7
woh you are right. i can't loginto the terminal anymore on the iphone
installing cydia and using its passwrd utility is the way to go
-
03-07-2008, 12:52 PM #8My iPhone is a Part of Me
- Join Date
- Sep 2007
- Location
- Scottsdale, AZ
- Posts
- 903
- Thanks
- 116
- Thanked 233 Times in 133 Posts
stop flaming posts.. bump
-
03-07-2008, 01:05 PM #9iPhoneaholic
- Join Date
- Aug 2007
- Location
- San Francisco, CA
- Posts
- 476
- Thanks
- 24
- Thanked 112 Times in 94 Posts
You are very welcome!
I think you will have to do some cleaning up undo your damage! my /etc/passwd (and yours should be)
#
# 4.3BSD-compatable User Database
#
# Note that this file is not consulted for login.
# It only exisits for compatability with 4.3BSD utilities.
#
# This file is automatically re-written by various system utilities.
# Do not edit this file. Changes will be lost.
#
nobody:*:-2:-2:Unprivileged User:/var/empty:/usr/bin/false
root:*:0:0:System Administrator:/var/root:/bin/sh
mobile:*:501:501:Mobile User:/var/mobile:/bin/sh
daemon:*:1:1:System Services:/var/root:/usr/bin/false
unknown:*:99:99:Unknown User:/var/empty:/usr/bin/false
_securityd:*:64:64:securityd:/var/empty:/usr/bin/falsehttp://jpassoc.com/x -- with free itunes under the puppy!
If I help you out, please press ★THANKS!
3g QuickPWN'ed with 2.1



LinkBack URL
About LinkBacks
Reply With Quote

