Enabling SSH service from command line in MacOS can be done using with some brief commands without using the GUI (Sytem preferences).
To do that, open an Terminal window and run the following commands:
$ systemsetup -setremotelogin on
$ sudo sudo launchctl load -w /System/Library/LaunchDaemons/ssh.plist
To disable remote login (SSH):
$ systemsetup -setremotelogin off
Do you really want to turn remote login off? If you do, you will lose this connection and can only turn it back on locally Read more...
MacOS
All posts tagged MacOS
Sometimes we would like to use some MacOS dmg file in non Apple machine like installing MacOS as a Virtual machine in some ...
Review how to install mac as Virtual Machine here: http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2005334
To manage image files we have hdiutil, that allow you to manipulate disk images (attach, verify, burn, etc).
Save your .dmg running hdiutil to convert it to CD-R image *Note: you have so run hdiutil as root Read more...
There is a way to run the Veritas Java console in MacOSX and manage Veritas Cluster Server from a Mac. I used RPM packages from Red-Hat to create a MacOS compatible Java Console, in the end, everything is Java, and Java is portable between systems.
We will need the Veritas Console RPM package, and the alien software to convert rpm files to tar.gz.
Alien can be downloaded from
http://ftp.de.debian.org/debian/pool/main/a/alien/alien_8.83.tar.gz
Decompress the tar file in a temporary folder Read more...
para el samba y parar e iniciar procesos en snow lepard:
Stop or start daemons in MacOS Snow Leopoard is very easy running System Preferences pannel and select Sharing, you will find all the sharing applications (or daemons/agents) like SAMBA, FTP, SSH, etc, but, what about start or stop them using the console...
Here is how to do it.
You have two options, one deprecated and other more modern:
# service --list
to list the available services to work with.
but you will receive this Read more...