Use dseditgroup to allow users access to services (ssh, screen sharing, and more)

Want to add a user to a specific group using the command line? dseditgroup is your friend! Add users, or groups, to a group you create or system groups which control access to services.

Make sure to insert your local admin’s short name (localadmin) and the user (username) or group (groupname) you’re trying to add.

Remote Login (SSH)
User: dseditgroup -o edit -n /Local/Default -u localadmin -p -a username -t user
Group: dseditgroup -o edit -n /Local/Default -u localadmin -p -a groupname -t group

Screen Sharing
User: dseditgroup -o edit -n /Local/Default -u localadmin -p -a username -t user
Group: dseditgroup -o edit -n /Local/Default -u localadmin -p -a groupname -t group

Print Administrators
User: dseditgroup -o edit -n /Local/Default -u localadmin -p -a username -t user _lpadmin
Group: dseditgroup -o edit -n /Local/Default -u localadmin -p -a groupname -t …

Source: Mac OSX Hints


Use AppleScript and Remote Desktop to set a non-default NetBoot startup disk

The following AppleScript will use Remote Desktop to set a non-default NetBoot image as the startup disk. Make sure to insert your server’s IP Address and the image name…

tell application “Remote Desktop”
set theServer to “”
set theImage to “10.8.5 NetBoot”
set theComputers to the selection
set theTask to make new set network startup disk task with properties {from server:theServer, mount volume:theImage, restarting:true}
execute theTask on theComputers
end tell

Source: Mac OSX Hints


#SquareCMD Episode Eighty One: Export iPhone 5S Slow-mo Footage.

By brolloh The slow-mo camera functionality is a superb creative addition on the iPhone 5S, we’re sure like us your first test was to film a running tap (if not, try it!). With the move towards video on social media platforms well underway with the likes of Vine’s 6 second Twitter friendly creations and Instagram’s 15 second alternative, slow-mo gives us a new avenue to explore. Getting slow-mo video into these apps is more hassle than it needs to be though!
Filming a slow-mo clip in the default camera app gives you the option to define when the slow motion portion will begin and end and save it in the camera roll.

Open Instagram or Vine and import this video however and you’ll find your slow-mo section is nowhere to be found.
Until developers or Apple (we’re not sure which) allow slow-mo creations to be imported or exported, we have to find an alternative route – there are two options.
What we need to do is force your iPhone 5S to package the video, as it stands presently your video is at the mercy of its own player (the one that defines slow-mo sections). The first option is one of the oldest tricks in the book – email the clip to yourself.

You’ll receive the video as a .MOV file which you can then save back to the camera roll, Instagram and Vine will both play nicely with this file.

The second option, and the one we prefer if you have a friend nearby, is to use Airdrop. The slow-mo video file will be created in the same way as emailing yourself, but far less compression is used when compressing the file for sending resulting in better image quality. Airdrop to your friend, get them to Airdrop it back and you’re away – a packaged slow-mo file will be waiting for you in the camera roll, Instagram ready!
Come back soon for more.

Source: SquareCMD


Pinch and zoom the cover art album browser in the Music app

When you turn your iOS 7 device to landscape (horizontal) mode in the Music app, you get a lovely grid of album cover art from the music in your library. You can tap on one to see that album in details.

But you may not realize just how interactive that grid is. You can swipe across it to drag other album covers into view. But even better, you can pinch and zoom to change how many album covers fit onto the screen at a time.

Source: Mac OSX Hints


Let Siri give a random number

Siri can returna random number, letter, or word.
After reading Lex’s hint about rolling the dice and flipping a coin, I decided to see whether Siri can generate random numbers. It can have Wolfram do it. You can speak “random number” (which it interprets as “random integer”), “random integer”, or “random real”. You can also specify ranges, such as “random number between ten and 100” or “random real between 20 and 30”.

“random word” and “random letter” also work.

Source: Mac OSX Hints


Roll the dice or flip a coin with Siri

Over at Finer Things, David Chartier points out that Siri can help you play games of chance. Unfortunately, however, the virtual assistant can’t necessarily help you win at said games. Still, you can use Siri when you need to flip a coin or roll a pair of dice.

Say “Flip a coin,” and Siri will either announce that it’s heads or tails. Ask Siri to “roll the dice,” and you’ll get a pair of numbers between one and six. You can’t ask Siri to roll a single die. Or rather, you can, but you’ll still get two numbers back.

Hardcore role playing game enthusiasts will need a separate app or actual dice hardware to roll dice with more than six sides; Siri’s apparently not into D&D.

Source: Mac OSX Hints


Use TextEdit in native Full Screen mode

Do you love TextEdit for its simplicity and elegance? Have you ever thought that it’d be great to use it in full screen mode? Here’s how to achieve that. Apple has released TextEdit’s source code as an example of an Xcode project; with Xcode installed, you’ll be able to manufacture a version of TextEdit with full screen support.

Open TextEdit.xcodeproj and on the left, find the Interfaces folder and select the file DocumentWindow. Then, select the window; make sure you select the window itself and not one of the objects contained in it. On the right, you can see the different inspectors Xcode provides. You’ll want to select the fourth, the Attributes inspector. There are a lot of changeable attributes of the window available, but what we’re interested in is the full screen support. Change that to “Primary Window”. Build and run the application. Presto, you have full screen support!

To get the finished, executable application, locate “” in the f …

Source: Mac OSX Hints


Make Do Not Disturb on iOS 7 work even when your device is awake

iOS 6 introduced Do Not Disturb, but some of us were annoyed by its implementation: Though the feature silenced iOS notification sounds while your iPhone or iPad were sleeping, those noises still blasted out when the device was in use. If that’s not what you want to have happen, iOS 7 has the solution.

Armed with this hint, Do Not Disturb will empower you to use your iOS device in a room with sleeping people, or in a meeting where you’re supposed to be paying attention, without fear that a bleep or bloop will bother those around you.

Head over to the Settings app, and tap on Do Not Disturb. Scroll down to the bottom of the screen, and set Silence to Always, instead of Only While iPhone Is Locked. From now on, Do Not Disturb works regardless of whether your iPhone is awake and in use, whenever the mode is enabled.

Source: Mac OSX Hints


Just another Mac Tips site