The admin-password does not work with the diradmin-account? First things first:
- Don't panic!
- There might be a way out of this.
What happened?
The passwords for the administrative account on OS X Server, I'm talking about the one created during installation, and the diradmin-account are the same, right? Are you sure? They probably are, if you didn't change one of them. These two passwords are the same after the installation, because they have been synchronized during the installation. If you should change one of them later, then they won't be synced again. Shouldn't be a problem, though, everyone keeps records of vital data like this, most of the time.
On the other hand, if one of us sets up a machine, then said machine should get a healthy workout before deployment, to make sure the hardware is OK. This usually includes the installation and configuration of all needed hard- and software. So, in theory, the machine would be ready for deployment. But, during these tests, nobody cares about passwords; the system runs in a controlled environment and access from outside of this environment is either impossible or severely restricted. This could mean—if the Open Directory-user-accounts have been created during this phase—that nobody tried to connect to the directory-tree as diradmin after the change to the 'real' administrative password. Same goes for periodic changes to the administrative password, depending on your policy.
- By default only admins are in the sudoers file - however if you're reasonably Unix-savvy, you can add your non-admin account in as well (and it will stay there). Click to expand. Actually, I see.
- For managed devices, or for a Firepower Management Center with the CLI enabled, enter the expert command to access the shell. At the shell prompt enter the following command: sudo usertool.pl -p 'admin password '. Where password is the desired new password. Type exit to exit the shell.
- Admin (This user is used to login to Skyline UI to configure and manage Skyline Collector configurations) Password for the root account is created during the deployment of the collector OVA; Password for admin is 'default'. This works only for the first login or when you reset the password.
- When the Mac comes back up, Mac OS X should create a new login keychain. Now let's move on to resetting the password! 1: Use the Command Line — In early versions of Mac OS X, the command line was the best way to reset a forgotten administrator password. Even now, command-line password reset remains available, making it the most universal.
Forgot the admin password in Mac OS X? Well, Apple let's you boot computers into what is known as Single User Mode. To boot a Mac into Single User Mode, boot the machine holding down Command-S. Once the system boots up, you should see a command prompt. Here, run fsck: fsck -fy Then mount the file Continue reading Reset the Admin or Root Password in Mac OS X.
It happened, I cannot login as diradmin any more…
Regardless how it happened, don't do anything in a rush now; breathe. Spare yourself the trouble to try passwd diradmin
as super-user, it won't work; you need the old password to make changes. If you have access to the system, either physically or via ssh
, ARD or screen-sharing, then the situation can be rectified. Adobe offline installer.
If possible, make a backup of the system, seriously! Then retrace the steps in How to reset the Open Directory administrator password and you should be OK.
In a nutshell: The documents describes how to use Workgroup Manager to gather information about the password and uses mkpassdb
to dump the password-database and overwrite the old password with a new one. It seems, that on 10.5 all you need to do is to use
sudo mkpassdb -dump
Administrator Default Password
to get the slot-ID and
It happened, I cannot login as diradmin any more…
Regardless how it happened, don't do anything in a rush now; breathe. Spare yourself the trouble to try passwd diradmin
as super-user, it won't work; you need the old password to make changes. If you have access to the system, either physically or via ssh
, ARD or screen-sharing, then the situation can be rectified. Adobe offline installer.
If possible, make a backup of the system, seriously! Then retrace the steps in How to reset the Open Directory administrator password and you should be OK.
In a nutshell: The documents describes how to use Workgroup Manager to gather information about the password and uses mkpassdb
to dump the password-database and overwrite the old password with a new one. It seems, that on 10.5 all you need to do is to use
sudo mkpassdb -dump
Administrator Default Password
to get the slot-ID and
Facebook install now. mkpassdb -setpassword [slot-ID]
Os X Default Admin Password Recovery Tool
executed as super-user, a.k.a. root
(one way to get there is sudo su
), to create a new password for diradmin.
Osx Default Admin Password
The latter is my experience, your mileage my vary.
Disclaimer: The fact that it worked for me, does not necessarily mean it will work for you. You have to do it on your own risk, I'm not responsible if something goes wrong.