Reset admin password on os x server
we acquired a os x server from a company we purchased and don't have either the server software or the admin passwords to login. Can anyone give me instructions on how to reset the password. I do have OS X Tiger on DVD but not server? Thanks.
As for OS X Server there are two datastores for users/accounts:
a) accounts in Netinfo datastore, like on any other OS X Client OS has
b) accounts in LDAP/OpenDirectory
To reset a) just boot off the cd, there is a "reset passwd" GUI provided.
b) is trickier and therefore you need to interact with another separate datastore that is used just for passwords. Guess what it's named? Right: PasswordServer.
It has a cmdline utility called "mkpassdb". See "man mkpassdb".
You will then use "mkpassdb -dump" to see the entries it has and "mkpassdb -setpassword" to change passwords.
Good luck,
-Ralph
Similar Messages
-
Lost GlassFish admin password# how to reset admin password
Hi
i lost admin password in glassfish( GlassFish Server Open Source Edition 3.1.1 (build 12) ) application server
key-file stored in glassfish-3.1.1\glassfish\domains\domain1\config\admin-keyfile
how i can reset admin password?Forgot Your Account Password
For Lion, Mountain Lion, or Mavericks
Boot to the Recovery HD:
Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
When the menubar appears select Terminal from the Utilities menu.
Enter resetpassword at the prompt and press RETURN. Follow
instructions in the dialog window that will appear.
Or see:
Reset a Mac OS X 10.7 Lion Password
OS X Mountain Lion- Reset a login password,
OS X Mavericks- Solve password problems,
OS X Lion- Apple ID can be used to reset your user account password.
For Snow Leopard and earlier with installer DVD
Mac OS X 10.6- If you forget your administrator password,
OS X- Changing or resetting an account password (Snow Leopard and earlier).
For Snow Leopard and earlier without installer DVD
How to reset your Mac OS X password without an installer disc | MacYourself
Reset OS X Password Without an OS X CD — Tech News and Analysis
How To Create A New Administrator Account - Hack Mac -
Reset admin password - SJSWS 7u8
Hi,
I've read through the documentation and a few of the other posts about resetting the admin password in SJSWS. Plainly, it doesn't work
[root@server bin]# ./wadm reset-admin-password --user admin --host localhost --port 8989
Please enter admin-password>
Please enter admin-password again>
CLI103 Command 'reset-admin-password' failed. :: netscape.ldap.LDAPRebindI've not been able to find any matches to the 'netscape.ldap.LDAPRebind' error, and don't know why it's talking about ldap in the first place (as SJSWS isn't attached to any LDAP).
The local machine (RHEL5.5, Linux x86_64, amd64 SJSWS install) does use LDAP for authentication, but it shouldn't be trying to touch that.
I can't find any further log entries for the failed password change either.
This is the administration console, with one other node hanging off of it.
[root@server bin]# . ../lib/wsenv ; $WS_JAVA/bin/java -version
java version "1.6.0_19"
Java(TM) SE Runtime Environment (build 1.6.0_19-b04)
Java HotSpot(TM) 64-Bit Server VM (build 16.2-b04, mixed mode)Any ideas would be welcome ;)Unfortunately you've run into a known problem - 6914493.
Edit $(INSTALL_ROOT)/bin/wadm and add ${classpath_prefix}/ldapjdk.jar to the classpath variable and try re-running the command. -
Resetting admin password. Please help!!
My friend has a G4 ibook with mac osx 10.3.8 installed, unfortunately he has forgotten his password and this prevents him from installing any software now. I have read the support pages from apple which state i should use the installation disc of the original mac os x. This has unfortunately been lost. I have tried with a newer installation disc "tiger" and this does not work. Can anyone help me.
ThanksAlan....try the following.....
Reset Admin Password ..... using Terminal
1. Type.... passw < return>
2. It'll prompt for the...... “old password” <return>
3. Type..... “new password” <return>
4. Retype ...... “password” <return>
Changing the password in this way has the same effect as changing through "System Preferences".
Reset Admin Password .... using Single User Mode
Hold down (command+S) at startup, you will be presented with a black screen containing a bunch of code... this is called....... Single-User Mode
Type.....
sudo passwd username <return> ... or ...
/usr/bin/passwd username <return>
Type your already existing ..... “old password” <return>
Type in a new...... “password” and verify
Type... reboot <return>
george -
Resetting admin password from non-original CD
We have a 400 Mhz Powerbook G3 running Mac OS X 10.3.3. We got it from eBay as is––no CD's, no other information. Now that I have inadvertently locked System Preferences, that is a problem because we do not know the admin password.
I see that you can reset the password by booting up from a Mac OS install disc. My question is, would it be possible to do that using the OS X install disc for v. 10.3.7 that came with my iBook G4?Usually the OEM install disc that comes with a particular computer model will not work with other models. However, you can give it a try. If you can get it to boot the Powerbook, then after the installer loads select Reset Admin Password from the File menu.
-
How to reset admin password iMac
I changed my IMac admin password and have now forgotten in and can't find my originàl discs to reset it. I understand you can reset it using apple ID but I can't work it out. Can someone help me
Forgot Your Account Password
For Snow Leopard and earlier
Mac OS X 10.6- If you forget your administrator password
For Lion/Mountain Lion
Boot to the Recovery HD:
Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
When the menubar appears select Terminal from the Utilities menu.
Enter resetpassword at the prompt and press RETURN. Follow
instructions in the dialog window that will appear.
Or see Reset a Mac OS X 10.7 Lion Password and
OS X Lion- Apple ID can be used to reset your user account password.
If you are unable to boot from an installer DVD:
(these will only work on Leopard or earlier)
1. Boot to Safe Mode by restarting and after the chime press and hold down
the COMMAND-S keys until a black screen with white type appears.
2. At the prompt, type the following commands pressing return after each
command line:
/sbin/fsck -yf
If you do not receive a "Filesystem OK" message then repeat this command
until you do. If after seven tries you still do not receive a "Filesystem OK"
message, then the system is corrupted and needs to be reinstalled.
mount -uw /
cd /private/var/db/netinfo
mv local.nidb local.old
rm ../.AppleSetupDone
shutdown -r now
The second-to-last command above will cause OS X to think that the operating system is newly installed, and when the new owner starts up the computer it will send him/her to the startup wizard where he/she can start a new user without reinstalling.
This last method does not actually change a password. It simply removes the user accounts and lets you create an initial admin account as if the computer were new out of the box.
Reset Admin Password Using The Terminal
You can reset the password by printing out (or writing down) and carefully following these steps.
First, find the short name of the admin user on the machine. The easiest way of doing this is by looking at what the directory is called in the Users folder.
Now, start in Single-user Mode. It should boot into a command line.
Enter these exact lines. Press RETURN after each.
mount -uw /
ifconfig lo0 up
cd /var/db/netinfo
netinfod -s local
Now you'll need that short name. Enter "passwd", a space, and the short name of the admin. For example, if the admin was rather prosaically called "imadmin", you would enter "passwd imadmin".
The computer will now prompt you to change the password for "lmadmin" (or whatever the short name was). Go ahead and enter a new password.
Now, enter:
sync
reboot
and the machine will reboot. The admin password should now be changed. -
How do you reset Admin password (when not logged in as Admin)??
Here's my predicament. I set up 3 accounts on our laptop - one for me and my wife (Standard accounts) and a House Account as the only Admin. Now, I don't remember the password for the House Account, which serves as the Admin.
I am trying to load new software, but it request administrative privileges. To make matters worse, when I try to install the MAC OSX startup disk (like the help manual says you should to reset the admin password), before my computer will restart the startup disk, it asks me for the Admin password. Because I am not logged in as the Admin, I can't even restart the computer when prompted by the startup and install the OS again.
Any suggestions or help with this issue?
EricDid you create an Open Firmware password as well? If not then just insert the OS X Installer Disc into the optical drive and restart the computer. After the chime press and hold down the 'C' key until the spinning gear appears below the dark gray Apple logo.
-
I'm using apex 4.0.1, I can't reset the admin password, I have tried ALTER USER ANONYMOUS ACCOUNT UNLOCK; apxchpwd.sql; apxxepwd.sql
any help please?
ThanksSamara wrote:
it seems oracle does not upgrade apxchpwd when you upgrade the apex version, i checked the script and still referring to apex 3.1 schema . i rewrite it with schema 4 and worked for me.
thanks for the helpHi,
What you mean by "apxchpwd is not upgraded"?
If you store old install scripts and other scripts in your server, it is not Oracles fault=)
When you upgrade and you like store all scripts somewhere for later use e.g. reset password, you need take actions to manage files.
Delete/overwrite old version files.
If you like after you install/upgrade Apex you can delete all install files when you have copy image folder to HTTP server alias /i/.
Regards,
Jari -
Resetting login password on OS X Server 10.3
I need to reset a password on a OS X server 10.3, so I can log into it. Is it the same as when you want to do a password reset on a MacBook, Mac mini etc.. where you boot off the cd and use the password reset utility? I have no idea what the admin password is, so that is why I need to do it.
Wow. You are making many of us strain our brains. 10.3... Time to upgrade.
So yes, the CD should allow for password recovery. This is the days of NetInfo (how I miss it so). You are actually able to reset the password using Single User mode and a bit of terminal magic. Follow these steps if you don't have the disk.
1: Boot into Single User Mode by holding down Apple - S on startup.
2: Mount the file system so you can write to it with this command:
mount -uw /
3: Next start the NetInfo subsystem by typing the following command:
/sbin/SystemStarter
4: You will see a bunch of messages go by. Eventually the logging will stop but you will not get a command prompt. When the messages stop, simply hit the Return key. This will drop you out of the previous command and present you with a command prompt. The last line I think states System Started.
5: If you know the short name of the user type this command to reset the password, replacing shortname with the user's shortname:
passwd shortname
6: You will be prompted to enter a password. The input is shadowed so type carefully.
7: You must confirm the password.
8: When finished, type reboot to reboot the system. -
Reset admin password in Weblogic 9.2
How do I reset the admin password in Weblogic 9.2?
I attempted to create a new user with the following:
java weblogic.security.utils.AdminAccount adminuser weblogic .
and renaming the boot.properties file, but the server does not start. I get the following error (after starting weblogic and entering in the newly created username/password):
<Jan 12, 2009 5:51:08 PM MST> <Critical> <WebLogicServer> <BEA-000386> <Server s
ubsystem failed. Reason: weblogic.security.SecurityInitializationException: Auth
entication for user adminuser denied
weblogic.security.SecurityInitializationException: Authentication for user admin user denied
I feel that I am missing something obvious to reset the admin password. Any help is appreciatedThis is a very useful thread and definitely works. The above Python code is proper, only that Python requires indentation, and would not work otherwise.
The reason everyone seems to be having problems running this code is because the intentation is missing. See my modified code below. I have put in </tab> to indicate there indentation should be. Simply replace </tab> with an actual tab using Notepad++, Textpad or a similar text editor. I have also made a little modification as I could not get the username and password to display correctly with the above code. The code has complex path processing in function processBootFiles(rootPath, processFunc) which perhaps misses out on the main boot.properties file, even though its coded in.
The key is in getting this function to run explicitely: processFunc("./boot.properties"). Please check the paths for your wlst.sh/.cmd installation and ensure that you are currently in the directory with boot.properties file and run a command to call wlst & this script (call it wlsdecrypt.py) from that directory. This will work and indeed display the username & password :-)
<code>
#=============================================================================
# Jython Script for displaying de-crypted WebLogic boot.properties files
# To run, change to a WebLogic domain directory and execute:
# > /opt/weblogic/wlsadm/weblogic92/common/bin/wlst.sh ~/home/chordadm/wlsdecrypt.py (Unix)
# OR
# > C:\\bea\\weblogic92\\common\\bin\\wlst.cmd C:\\myscripts\\wlsdecrypt.py (Windows)
# Add parameter '-?' to the end of the command line to display more help
#=============================================================================
import os
from java.io import FileInputStream
from java.util import Properties
from weblogic.management import EncryptionHelper
from weblogic.security.service import SecurityManager
from weblogic.security.subject import SubjectManager
#=============================================================================
# Main
#=============================================================================
def main():
</tab>for arg in sys.argv:
</tab></tab>if arg.count(arg.strip()):
</tab></tab></tab>printUsageAndExit()
</tab>saltFilePath=os.path.join('security', 'SerializedSystemIni.dat')
</tab>if not os.path.exists(saltFilePath):
</tab></tab>print "Error: The script must be run from a WebLogic domain direcotry or a directory containing '%s'" % saltFilePath
</tab></tab>printUsageAndExit()
</tab>try:
</tab></tab>open(saltFilePath, 'r').close()
</tab>except IOError:
</tab></tab>print "Error: The file '%s' is not readable - check file permissions" % saltFilePath
</tab></tab>printUsageAndExit()
</tab>processBootFiles(os.curdir, descryptPropsFile)
#=============================================================================
# Decrypt (Note, to encrypt just use: EncryptionHelper.encrypt(text))
#=============================================================================
def decrypt(text):
</tab>getKernelIdMethod = SecurityManager.getDeclaredMethod('getKernelIdentity', None)
</tab>getKernelIdMethod.accessible=1
</tab>return EncryptionHelper.decrypt(text, getKernelIdMethod.invoke(SecurityManager, None))
#=============================================================================
# Process Boot Files
#=============================================================================
def processBootFiles(rootPath, processFunc):
</tab>if not os.path.isdir(rootPath):
</tab></tab>return
</tab>fileNames = os.listdir(rootPath)
</tab>for fileName in fileNames:
</tab></tab>path = os.path.join(rootPath, fileName)
</tab>if os.path.isfile(path):
</tab></tab>if fileName == 'boot.properties':
</tab></tab></tab>processFunc(path)
</tab></tab>elif os.path.isdir(path):
</tab></tab></tab>processBootFiles(path, processFunc)
</tab>processFunc("./boot.properties")
#=============================================================================
# Decrypt Props File
#=============================================================================
def descryptPropsFile(filepath):
</tab>print
</tab>print '----- Decrypting %s -----' % filepath
</tab>try:
</tab></tab>properties = Properties()
</tab></tab>file = FileInputStream(filepath)
</tab></tab>properties.load(file)
</tab></tab>file.close()
</tab></tab>for entry in properties.entrySet():
</tab></tab></tab>print '%s = %s' % (entry.key.strip(), java.lang.String(decrypt(entry.value.strip())))
</tab>except IOError:
</tab></tab>print "Error: Unable to read file '%s' - check file permissions" % filepath
</tab></tab>print
#=============================================================================
# Print Usage And Exit
#=============================================================================
def printUsageAndExit():
</tab>print
</tab>print 'wlsdecrypt.py'
</tab>print '-------------'
</tab>print
</tab>print "Jython Script for displaying de-crypted boot.properties files from a WebLogic domain. Before running the script, change directory to the directory that contains a WebLogic domain (or a directory containing 'security/SerializedSystemIni.dat' and one or more associated 'boot.properties' files). Run this script via WLST or directly via the Java/Jython launch command (the latter option requires both 'jython.jar' and 'weblogic.jar' to be added to the classpath)."
</tab>print
</tab>print 'Example Usage:'
</tab>print
</tab>print '> /opt/weblogic/wlsadm/weblogic92/common/bin/wlst.sh ~/home/chordadm/wlsdecrypt.py (Unix)'
</tab>print
</tab>print '> C:\\bea\\weblogic92\\common\\bin</tab>wlst.cmd C:\\myscripts wlsdecrypt.py (Windows)'
</tab>print
</tab>exit()
# Invoke main and end
main()
</code>
Enjoy,
Swapnil Kashyap -
Resetting ADMIN password for Iomega storcenter PRO 250D
I have a 250D PRO Iomega storcenter which I have forgotten the admin password. I still have user id's and pass but that will not let me trouble shoot etc. my unit. I have held the front button for 12 seconds etc., which I thought was the method but it does not seem to be working or else i forgot the default admin credentials. I believe they are ADMINISTRATOR/ADMIN!! Please anyone feel free to correct and direct me. Thanks in advance for the help. Also if anyone knows what the latest although not recent firmware version etc. is and how to check, I would appreciate it!! Thanks a million in advance!!
Solved!
Go to Solution.Hi and thx 4 the response. Are we saying that pressing the front button for 12 seconds etc. IS the method to reset the server's administrator's password? It is working just fine, I can reboot it and when I press the button and hold it it shuts off, but will reboot if I press it again!! I just need to reset the administrators password. I have all the restoration disks , so I could go that route after backing up all data but want to exhaust all non destructive methods first!!
-
How to reset admin password osx 10.9.5
need to reset my password for mac book pro can't find a hint...
Resetting User Password in Lion, Mountain Lion & Mavericks
Boot into your Recovery Partition by holding down the Command and R keys whilst booting.
When the Recovery screen appears, go to the Utilities menu and open Terminal.
In Terminal, type:
resetpassword
...a small app will open and allow you to choose the user for whom you want to change the password. If you are the admin, be certain that you choose your admin user. Type in your new password twice and give yourself a good hint. Click OK (or Done or whatever) and reboot, enjoying the use of your new, hopefully memorable, password.
Good luck,
Clinton -
I recenly got this macbook, MA&00LL/A, max OS X, V:10.4.11, 2GHz IntelCore 2 duo, 2GHz, When I power up it automatically logs me on as administrator but prompts for password when I try to access/change certain features. I got the macbook from my cousin who has forgot password and has lost disc. I can access root user mode but as iam unfamiliar with apple I am hesitant to delete anything without making things worse. Is their anyway I can reset this admin password without the disc or simply delete this user and reconfigure system as myself as administrator. step by step instructions would be appreciated at this stage till i familiarize myself more. Any help would be greatly appreciated. If it came down to buying a disc, how much roughly do these cost??? thanks again
If you don't have your install disks you can get the 10.4 gray disks by calling Apple Store Customer Service at 1-800-676-2775 They can send them to you for about $16 per disk plus S & H. Just give them your serial number and they'll know which ones you need.
To find your serial number go to the Apple in the upper left corner and select About This Mac, then click on More Info, the System Profiler will then come up. The Serial Number (System) is down near the bottom of the Hardware Overview list.
If you don't have your install disc handy,then follow these steps
1. Start up in single-user mode (hold Command-S as thecomputer starts up).
2. Type: mount -uw /
3. Press Return.
4. Type this: passwd (user's short name) Replace "(user's shortname)" with the short name of the user account whose password you wish to reset. If you are not sure what the account name is, you can get a list of usernames by typing: ls /Users
5. Press Return.
6. Enter a new user password.
7. Press Return.
8. Type: reboot
9. Press Return. -
AirPort won't auto connect after resetting admin password
The other day I reset my admin password using the install disk and now AirPort won't log on automatically when I start my laptop. Has this happened to any one else? I have tried going through the network preferences, internet connect, and tried a couple of other things and the problem hasn't been fixed.
Try the following, in order, until (hopefully) resolved:
1a. Delete Preferred Network(s)
System Preferences > Network > AirPort > Advanced > AirPort tab
Under "Preferred Networks," delete the network(s) you regularly use from the list.
1b. Delete AirPort Keychain Entries
Launch the "Keychain Access" application located in Applications/Utilties.
Click on the "Kind" filter at the top, and look for any "AirPort network password" entries...and delete them.
1c. Add Preferred Network(s)
System Preferences > Network > AirPort > Advanced > AirPort tab
Add the preferred network(s) using the "+" button.
Restart or log out then back in.
2. Move System Configuration Files
(Note: You will have to reestablish your network connections settings.)
Go to /Library/Preferences
Move the SystemConfiguration folder to the desktop.
Restart your Mac. (Note: OS X will rebuild the files that are now sitting on your desktop. If this doesn't resolve the issue, you can move the folder back to it's original location.) -
Need to reset Admin password to my Envy 4360 AIO Offiejet
I have an Envoy 4360 Wireless AIO Officejet eprint printer that I need to reset the Admin password upon in the contrl panel if possible . Forge my Admin password that I set through the Web Portal, using in MAC OS X Yosemite 10.10.4 Any help will be appreciated! Rickll110
Hi , Welcome to the HP Forums! I noticed that you need to reset the Admin password to your HP Officejet 4630 printer. I am happy to look into this for you! I would recommend to restore the network settings to the default settings: Press the Wireless button to access the Wireless Status
menu.Press the button next to Settings to access the Wireless
Settings menu.Select Restore Defaults.Confirm the selection to restore defaults. You should then be able to login in with username: admin and the password is left blank. For future reference, here, is your printer's user guide. Hope this information is helpful, and thank you for posting! “Please click the Thumbs up icon below to thank me for responding.”
Maybe you are looking for
-
Bridge on Mac deleting/rejecting/filtering not working!?! HELP
Ok seems as if I am having a problem only windows users have run into in earlier versions of CS. I was using CS5 on my PC and for many reasons I had to dump the dead weight of the PC world and move to a Mac... FINALLY! But that also ment purchasing
-
Password policy not used by WebGate after upgrade (6.1 - 10g)
Hello, Recently, we upgrade our environment from Oblix Netpoint 6.1 to Oracle Access Manager 10g (10.1.4.0.1) Together with this update we also upgraded the WebGates that are running on the machines that have OAM 10g installed. We did not perform an
-
Create a new user with Privileges to execute Seeded API's
Hi, We have a requirement from our client, they want to create a new user with Privileges to execute Seeded API's, So they dont want to execute using APPS user. We want to know is it possible to have a new user for executing seeded API's and if so wh
-
How to control the mesh tool?
I am wanting to use the mesh tool but I need to know how to control my lines. I want a starting point and an end point but when I click the starting point is decided by me but the end point is decided on its own, and it is not the end point I want. I
-
Matlab, X11, OpenGL, MacOS 10.6.5 update
I recently updated my Imac (2.4 GHz Intel Core 2 Duo) to MacOS X 10.6.5. After the update I could no longer do plots in Matlab run remotely over X11, with display on my iMac. The remote Matlab warns that "OpenGl appears to be installed incorrectly."