Tag Archives: OpenSSH

Puppet – Restart a service after a file has changed

After we have used Puppet to update a service config file, we would like to restart the service so as to apply the new changes to the service.

Say for example, we want to keep the SSH service alive and whenever the /etc/ssh/sshd_config is synchronized from the Puppet server, restart the SSH service. This can be done as follow.
Continue reading Puppet – Restart a service after a file has changed


Unlock iPhone 4s using SAM

Finally i have unlocked the iPhone 4s which Tinyan got it from her uncle about half a year ago. Thanks Steve for letting me know this solution. It unlocks a jailbroken iPhone 4 or iPhone 4s using SAM(Subscriber Artificial Module) which is written by Sam Bingner and it is confirmed by the MuscleNerd of iPhone Dev Team.

You can find the unlock procedures in the following 2 posts.


I tried a few times by following the above steps but no luck. Whenever i connect the iPhone 4s to iTunes in the final step, iTunes always returned that the phone cannot be activated.

Finally, i follow the screencast made by Jeff Benjamin from iDownloadBlog and suddenly the signal bar appears.
Continue reading Unlock iPhone 4s using SAM