Removing a record from LDAP: ldapdelete -h <YourDomain> -D
-
-
Mac OS X Server: Finding Users with a Primary Group ID
dscl localhost search /Search/Groups PrimaryGroupID <GroupNumber>
-
Mac OS X Server: serveradmin
When managing a Mac OS X Servers services one of the most important commands to get comfortable with is the serveradmin command. This command can be used to control most of the default services used for providing features to client systems and communicates directly with the servermgrd process. serveradmin list To see the settings for a given service that you are running use the settings verb as can be seen below: serveradmin settings <service> To alter the settings of a service you use the settings verb and the service but serveradmin settings <service> To start a service once it has the settings you so desire: serveradmin start <service>…
-
Man Pages in Safari or Firefox
BWANA! Once installed just type man:chmod, or man:sudo and the man page will be displayed in safari. The links work as well. It even has a search bar at the top. http://www.bruji.com/bwana/
-
Mac OS X Server: Xserve Serial Port
The Xserve has a serial port and it’s enabled by default. You can disable by commenting out this line: tty.serial “/usr/libexec/getty serial.57600” vt100 off secure
-
Mac OS X Server: Changing the IP
One of the more common mistakes I see people make in the Mac OS X Server world is to just change the IP address. There are consequences. So, if you are going to change the IP address of your server, make sure to run the changeip command when you are doing so.
-
securemac.com
This site isn’t being updated enough. Maybe I should start my own security site for the Mac. Not that I have time… Hmmmm…
-
Mac OS X: Hey, where's my admin user?
Hiding an admin user is a fairly straight forward task in Mac OS X. To do so, open Terminal and run the following command: defaults write /Library/Preferences/com.apple.loginwindow Hide500Users -bool YES Now, what if you sit down at a machine and you don’t see an expected admin user? Well, use that same command with a NO at the end to (hopefully) bring it back: defaults write /Library/Preferences/com.apple.loginwindow Hide500Users -bool NO
-
Mac OS X Server: slapd arguments
How do I know what arguments were used when launching slapd? the /var/run/slapd.args file
-
Mac OS X Server: Maximum Print Jobs
The maximum jobs per print queue is configured in the /etc/cups/cupsd.conf file. # # MaxJobs: maximum number of jobs to keep in memory (active and completed.) # Default is 500; the value 0 is used for no limit. # #MaxJobs 500 Just uncomment the MaxJobs variable and set as needed.