For those who don’t want the available users to be publically visible to whoever wakes up or powers on your Mac, there is an easy way of hiding the list – or just select members. In a Terminal window run the following:
sudo defaults write /Library/Preferences/com.apple.loginwindow HiddenUsersList -array-add [username]
You can do this to multiple accounts at once;
sudo defaults write /Library/Preferences/com.apple.loginwindow HiddenUsersList -array-add [username01] [username02] [username03]
To find the username that OS X uses for each user account, do the following:
Go to System Preferences -> Users and Groups -> Click the lock to allow changes -> Right click on a username -> Advanced Options
Under the section:
…you will see the account name which OS X uses for that user account.
Someone asked us how to find the “lock” button on Windows 8 the other day – it’s not under the “power” button, which only provides you with the options of sleep/shutdown/restart. Try this shortcut from anywhere in the OS:
Windows Key + L
Quick and easy – though not obvious!
In case you don’t like reading manuals before jumping in (or have forgotten) the default login and password for an ASMB7-iKVM IPMI card is:
You can change this once you log in, and we would definitely recommend you do so – given the amount of control you have over the computer through the remote management interface it’s quite a security hole to leave open!
If you’re unfamiliar with MySQL you may be following a guide which instructs you to log in as root without actually telling you how; use the following:
mysql -u root -p
This logs you in as the root user (-u signifying which user you want to log in as) and -p signifies that you are logging in with a password, which you will be prompted for after you enter the command. The MySQL root password is set when you install MySQL server.
If you need to change the MySQL root user’s password use the following from a command prompt:
mysqladmin -u root -p password NEWPASSWORD
Enter the current root password when prompted and replace NEWPASSWORD with the desired password. This should return you to the command prompt, and you can test whether it was successful by logging in:
mysql -u root -p