Archive

Articles taggués ‘Mac OS X’

How-To Factory Reset MacBook Air and other macs with macOS

21/11/2017 Aucun commentaire

There are many reasons why you’d want to reset your MacBook Air to factory settings. Perhaps your Mac is showing just a too much little lag. Maybe you want to reset for better overall performance, are thinking of giving away or selling your MacBook after you purchase or receive the latest Mac model. For whatever reason, you need to set your Mac back to its factory defaults.

 

Since our Macs hold so much of our personal and private data, it’s imperative to clean out our machines when selling or giving away our favorite older Macs. And it’s particularly useful for the new user to have a nice clean machine that’s returned to its native factory state.

 

Lire la suite…

Categories: Système Tags: , ,

Where to Set Environment Variables in Mac OS X

20/11/2017 Aucun commentaire

At the command line, environmental variables are defined for the current shell and become inherited by any running command or process. They can determine anything from the default shell, the PATH, the users home directory, to the terminal emulation type, current working directory, where a history file is located, language and localization settings, and going further to include shell variables, which include everything from customizations to the bash prompt, colorized ls output, and changes to terminal appearance, to aliases, and much more.

 

Let’s walk through how to list environment and shell variables, and then how to set and add new environment variables at the command line of Mac OS X.

Displaying Current Environment & Shell Variables in Mac OS X

To quickly get a list of environmental variables, you can use the following command:

printenv

If you want to see a complete list of shell variables, the ‘set’ command can be issued as well:

set

The output of these commands can be lengthy so you may wish to pipe the output through the less or more commands.
Lire la suite…

Categories: Système Tags: , ,

High Sierra Problems: How To Fix The Most Common Macos Issues

30/10/2017 Comments off

The excitement of installing a new version of macOS, especially if its a High Sierra 10.13, is only tempered by the possibility of it not working properly or not being compatible with the apps you use most.

Before you begin upgrade to MacOS make a bootable backup

If you haven’t started the process of upgrading yet, check if the Mac is compatible with macOS High Sierra and make a bootable backup. 

Do it now, before you do anything else. If things go disastrously wrong at least you’ll be able to boot from macOS’ Recovery partition and migrate all your data back to your Mac. You can use any backup tool you like – Apple obviously favours Time Machine, but you don’t have to use it. You can use, for example, Get Backup Pro, which comes with your Setapp subscription. Don’t have a Setapp subscription? Click here to sign up.

Common MacOS High Sierra Problems

While most new versions of macOS are relatively problem-free, it’s not unknown for users to have issues – particularly with a beta or .0 release. Thankfully most are easy to resolve. Here’s how to fix the most common High Sierra issues.

High Sierra Installer Won’t Download

If you’re trying to download the macOS High Sierra installer, you’ll need to have signed up to App Store. If you’ve done that, and managed to start the downloading process only for it to fail, force quit the App Store app.

  1. Press Cmd-Alt-Esc or go to the Apple menu and choose Force Quit.
  2. Select the App Store app and confirm you want to force quit.
  3. Re-launch the App Store and try downloading again.

Macos High Sierra Won’t Install

If the download completes successfully but the installation doesn’t finish, force quit the installer using the same procedure as above. 

  1. Restart your Mac
  2. Launch the App Store app and go to the Purchases tab. 
  3. Find macOS High Sierra and click Install. 

If that doesn’t work, try deleting the downloaded installer (it’s in your Applications folder) using CleanMyMac and download it again.

If you have a copy of macOS Server in your applications folder, that may be the root of the problem. Delete it and try again.

Lire la suite…

Categories: Logiciel, Système Tags: , ,

La liste des touches utilisables sur un Mac lors du démarrage

16/10/2017 Comments off

Si vous êtes l’heureux propriétaire d’un Mac, j’imagine que vous savez qu’en cas de problème technique, il est possible au démarrage de l’ordinateur de remettre à zéro certaines mémoires (PRAM, NVRAM) ou de partir sur un mode recovery.

Mais à chaque fois, ces raccourcis clavier à faire au démarrage du Mac sont une galère à retrouver. C’est pourquoi je vais tous les passer en revue ici et vous n’aurez plus qu’à bookmarker cette page pour la prochaine fois.

Pour utiliser ces raccourcis, vous devez d’abord éteindre complètement l’ordinateur, puis le rallumer, et immédiatement dès que vous avez appuyé sur le bouton d’allumage, maintenir enfoncées les touches suivantes :

Shift (maj) : Permet de démarrer le Mac en mode « safe ». C’est à dire en mode de base, sans toutes les applications que vous auriez pu installer au démarrage. Cela permet de savoir si votre souci est provoqué par une de vos applications ou par un processus propre au système macOS.

Option (alt) : Lance le gestionnaire de boot qui vous permettra de choisir le disque sur lequel vous voulez booter.

Command + R : Démarre en mode récupération (Recovery Mode). Cela vous permettra de remettre à zéro votre Mac, de réinstaller macOS, de restaurer une TimeMachine, ou d’utiliser la ligne de commande ou l’utilitaire de disques pour réparer ou formater un disque dur.

Shift + Command + Option + R : Lance aussi le mode Internet Recovery. C’est comme le mode de récupération décrit ci-dessus sauf que tout se lance à partir d’Internet. Cela permet de réinstaller macOS ou autre, même quand la partition de récupération est totalement HS.

Lire la suite…

Categories: Système Tags: , , ,

macOS Boot Option Cheatsheet

16/10/2017 Comments off

To access some specialized Mac features you’ll need to hold down one or more keys during startup. If you’re having trouble with your Mac, this can be a great way to troubleshoot and analyze your options.

To use any of these boot keys, hold down the listed key combo as soon as you press your Mac’s power button. If you’re restarting your Mac, press and hold the keys immediately after your Mac begins to restart. Don’t release the keys until you see the described behavior.

Shift: Start your Mac in Safe Mode. Since safe mode only loads essential software, you can determine whether a system process or a user-installed application is causing your problem.

Option: Boot into Startup Manager. From here you can select different startup disks if any bootable partitions are available.

Command + R: Boot into Recovery Mode. Recovery Mode is macOS’s powerful recovery suite with a bunch of options for saving or wiping your Mac. You can use it to reinstall macOS, restore from a Time Machine backup or use Disk Utility to repair or format your hard drive.

Shift + Command + Option + R: Start in Internet Recovery Mode, skipping your system’s hard drive. This allows you to reinstall the build of macOS that came with your computer from the factory. macOS might do this one on its own if your installation is so messed up that you can’t boot into Recovery Mode.

Command + S: Start in single user, command-line-only mode. This is useful for running diagnostic Terminal commands or fsck, but it can’t do much beyond that.

Command + V: Boot in verbose mode. This mode displays logging and diagnostic messages as your Macboots. If your Mac is showing the Apple logo but failing to start completely, try this step to see where in the boot process the error occurs.

Lire la suite…

macOS High Sierra Supplemental Update Released for Mac Users

06/10/2017 Comments off

Apple has released the first supplemental update to macOS High Sierra 10.13, complete with bug fixes, improvements, and security fixes.

General release notes accompanying the supplemental update suggests the release includes improvements to stability, reliability, and security. Specifically, the update is said to “improve installer robustness” (it is unclear if this addresses the issue where some users are unable to download a complete macOS High Sierra installer without third party utility assistance), includes a fix for cursor graphics bugs when using Adobe InDesign, and resolves and issue with Mail app was unable to delete email from Yahoo accounts. Additionally, the update includes a security fix to address a problem where Disk Utility could be used to reveal the password of an encrypted AFPS volume, and the update also resolves a security bug relating to Keychain passwords. Complete security update release notes are below for those interested. The supplemental update is recommended for all macOS High Sierra users to install.

Mac users running macOS 10.13 High Sierra can find the update available to download and install now in the Mac App Store Updates section. The update is labeled as “macOS High Sierra 10.13 Supplemental Update”.

Note the supplemental update is separate from the beta versions of 10.13.1 currently under the beta testing programs.

Always back up a Mac before installing any system software update, including smaller bug fix updates like this macOS High Sierra Supplemental Update.

The complete security related supplemental update release notes are as follows:

macOS High Sierra 10.13 Supplemental Update
Released October 5, 2017
StorageKit
Available for: macOS High Sierra 10.13
Impact: A local attacker may gain access to an encrypted APFS volume
Description: If a hint was set in Disk Utility when creating an APFS encrypted volume, the password was stored as the hint. This was addressed by clearing hint storage if the hint was the password, and by improving the logic for storing hints.
CVE-2017-7149: Matheus Mariano of Leet Tech
Security
Available for: macOS High Sierra 10.13
Impact: A malicious application can extract keychain passwords
Description: A method existed for applications to bypass the keychain access prompt with a synthetic click. This was addressed by requiring the user password when prompting for keychain access.
CVE-2017-7150: Patrick Wardle of Synack
New downloads of macOS High Sierra 10.13 include the security content of the macOS High Sierra 10.13 Supplemental Update.

Separately, iPhone and iPad users can find iOS 11.0.2 available as an update, which also includes various bug fixes for that system software release, and watchOS 4.0.1 for Apple Watch is out as well.

Categories: Constructeur, Logiciel Tags: ,

How to Download a Full macOS High Sierra Installer App

04/10/2017 Comments off

Many Mac users who are attempting to download macOS High Sierra from the Mac App Store will find that a small 19 MB version of “Install macOS High Sierra.app” downloads to the /Applications folder of the target Mac, rather than the complete 5.2 GB Installer application for macOS High Sierra. This is annoying because it prevents a single download from being used on multiple computers, plus the small installer requires an internet connection during usage to download the rest of the High Sierra update files. Additionally, the tiny 19 MB incomplete installer prevents users from being able to create a macOS High Sierra USB installer drive or other custom update options available through the command line, like skipping the APFS update.

This tutorial will show you a workaround trick that allows Mac users to download the full macOS High Sierra “Install macOS High Sierra.app” file at 5.2 GB with the complete installer tool set and all dmg files and associated Install macOS High Sierra.app/Contents/Resources/ tools, rather than the tiny incomplete truncated installer at 19 MB.

How to Download the Full “Install macOS High Sierra.app” Application

Warning: this method relies on a third party tool from an unverified third party source, if you are not comfortable with using unvetted and unverified software, and if you do not understand the risks associated with using potentially dubious software, do not follow this process. This is for advanced users only.

    1. Go to dosdude1.com here and download the High Sierra patcher application*
    2. Launch “MacOS High Sierra Patcher” and ignore everything about patching, instead pull down the “Tools” menu and choose “Download MacOS High Sierra”

    1. Confirm that you want to download the complete macOS High Sierra install application, and then point it to a location to save on the local hard drive

    1. The patcher app will notify you when the download is complete, when it is done downloading quit out of the patcher app

    1. Locate the “Install macOS High Sierra.app” file you downloaded, it will be the complete installer application with the full Contents/Resources/ toolkit available

* The “macOS High Sierra Patcher” application is intended for those with unsupported Macs and Hackintosh users, but any Mac user can use the app to be able to download the complete installer file from Apple servers. The source of this patcher application is a MacRumors Forums

You can confirm that you have the complete Install macOS High Sierra.app application by getting info on the file, the complete installer should be around 5.2 GB rather than the tiny 19 MB incomplete installer that requires additional downloads.

The complete macOS High Sierra installer downloaded

Why do some users get a small incomplete version of macOS High Sierra installer from the App Store?

This is not yet known, but it happens with the final version of macOS High Sierra installer as well as with some of the beta versions.

It is unclear why some users will get a 19MB version of “Install macOS High Sierra.app” when downloaded from the App Store, while others users will get the complete 5.2GB version of “Install macOS High Sierra.app” when downloading from the App Store. Interestingly, once a user ends up with the 19 MB version of the incomplete installer, that seems to be the only thing that will download for that user regardless of how many times the incomplete installer app is deleted and re downloaded.

Incomplete macOS High Sierra installer

The installer size and completeness inconsistency appears random, and has no relation to disk space, beta enrollment, software catalog, and other theories seem to be incorrect as well.

Utilisation d’un iMac en tant qu’écran avec le mode d’affichage cible

28/09/2017 Comments off

Le mode d’affichage cible permet d’utiliser l’écran intégré d’un iMac pris en charge en tant qu’écran externe pour un autre ordinateur Mac.

 
 

À propos du mode d’affichage cible

Pour utiliser un iMac en tant qu’écran, connectez-le à un autre ordinateur Mac à l’aide du câble adéquat (voir Configuration système requise ci-dessous). Appuyez ensuite sur les touches Commande + F2 du clavier relié à l’iMac. Appuyez de nouveau sur cette combinaison de touches pour mettre fin au mode d’affichage cible.

Configuration système requise

Démarrer le moded’affichage cible

Quitter le mode d’affichage cible Options d’affichage

Configuration système requise

Pour pouvoir utiliser le mode d’affichage cible, vous devez disposer des éléments suivants :

Lire la suite…

Learn Bash: Remove Commands From Your History

21/06/2017 Comments off

Occasionally I type a password or other sensitive information into a shell prompt. Using bash history, the command can be removed.

# say we start with an empty bash command history
bash-3.2$ history
 1 history
# enter a command that requires a password
bash-3.2$ sudo rm -i some_file
Password:
# accidentally ^C and type your password
# into the prompt and hit enter
bash-3.2$ secret_password
bash: secret_password: command not found
# your password is now there for all to
# see in your bash history
bash-3.2$ history
 1 history
 2 sudo rm -i some_file
 3 secret_password
 4 history
# first option to fix it, delete the numbered entry from
# history and write to your ~/.bash_history file
bash-3.2$ history -d 3
bash-3.2$ history -w
# entry 3 will be removed entirely from your command history
bash-3.2$ history
 1 history
 2 sudo rm -i some_file
 3 history
 4 history -d 3
 5 history -w
 6 history
# the second option is to clear the entire history
# and write the changes to disk
bash-3.2$ history -c
bash-3.2$ history -w
# it's now pretty obvious that your history has been
# scrubbed clean, but at least your password is history!
bash-3.2$ history
 1 history -w
 2 history
Categories: Système Tags: , , ,

How to Run MacOS Sierra in a Virtual Machine for Free, the Easy Way

15/04/2017 Comments off

Run Mac OS in Virtual Machine on a Mac

Advanced Mac users may find it useful to run macOS or Mac OS X in a virtual machine atop their existing Mac operating system. Creating a virtual machine for Mac OS is now easier than ever before, and we’ll show you how to set up easy Mac virtual machines on a Mac.

For some quick background, virtualization allows you to run another operating system in a confined virtual machine atop an existing operating system through an application layer. This means there is no disk partitioning involved, the virtualized operating system runs just like any other application on your computer. We have covered this broad topic many times before for purposes like running Windows 10 on a Mac with a VM, to running Ubuntu Linux in VirtualBox, to Snow Leopard in a VM, and others. In the guide here, we will be creating a Macintosh virtual machine for running Mac OS on top of Mac OS, which can be helpful for testing out different apps and operating system versions, amongst other purposes.

Lire la suite…