Please excuse me, but what exactly is MacPorts? How does it work? Is it really what I want to use? I found Mac Ports through looking at another program called Jailkit, and there was another website (the predecessor to MacPorts?) called DarwinPorts. Unfortunately, the main page of MacPorts does not have a simplified "This is what this is, this is what it does" type of introduction, and I find that to be enormously helpful in putting myself in the right mindset for what I am dealing with. Essentially what I'm trying to do is create an automated updater on a client computer that logs into the server using sftp and downloads updated files from a certain directory. The server is Mac OS X 10.4.9, and I would like the account that the updater uses to be chrooted to the download directory. Based on my research so far, chroot is broken with the OpenSSH server unless you install a patch or do other stuff, which I'm trying to minimize messing with the current settings of the server and was really hoping to just have a restricted user or group account. The jailkit program seemed like a simple solution, but to use it on the Mac, I would have to install MacPorts? Or is this just introducing another mess for myself? I'm not even positive at this point if that's what I really want to use... Thank you. Diane
Diane, MacPorts... MacPorts, Diane. Okay now you're introduced. :) MacPorts is a distribution of Unix utilities for the Macintosh, like the Fink project. MacPorts is a framework of port files that allows the user to download, compile, and install all the necessary dependancies for Unix utilities (like jailkit) in order to have them work correctly. To install MacPorts, just download the installer and run it. To use MacPorts, you need to opena terminal window, and use the '/opt/local/bin/port' command to then use MacPorts to do things, like... Find out about what jailkit is Biko:~ sck$ port info jailkit jailkit 1.2, security/jailkit (Variants: universal) http://olivier.sessink.nl/jailkit/ Jailkit is a set of utilities to allow quick creation of limited user accounts in a chroot jail. It contains a safe logging daemon, shells that can restrict users, utilities to start daemons in a chroot jail, and utilities for easy setup of chroot jails. Library Dependencies: python23 Platforms: darwin Maintainers: nomaintainer@macports.org Find out about what files are installed as part of jailkit. Biko:~ sck$ port contents jailkit Port jailkit contains: /opt/local/etc/jailkit/jk_check.ini /opt/local/etc/jailkit/jk_chrootsh.ini /opt/local/etc/jailkit/jk_init.ini /opt/local/etc/jailkit/jk_lsh.ini /opt/local/etc/jailkit/jk_socketd.ini /opt/local/sbin/jk_addjailuser /opt/local/sbin/jk_check /opt/local/sbin/jk_chrootlaunch /opt/local/sbin/jk_chrootsh /opt/local/sbin/jk_cp /opt/local/sbin/jk_init /opt/local/sbin/jk_lsh /opt/local/sbin/jk_procmailwrapper /opt/local/sbin/jk_socketd /opt/local/share/doc/jailkit/COPYRIGHT /opt/local/share/doc/jailkit/INSTALL.txt /opt/local/share/doc/jailkit/README.txt /opt/local/share/jailkit/jk_lib.py /opt/local/share/jailkit/jk_lib.pyc /opt/local/share/man/man8/jailkit.8.gz /opt/local/share/man/man8/jk_addjailuser.8.gz /opt/local/share/man/man8/jk_check.8.gz /opt/local/share/man/man8/jk_chrootlaunch.8.gz /opt/local/share/man/man8/jk_chrootsh.8.gz /opt/local/share/man/man8/jk_cp.8.gz /opt/local/share/man/man8/jk_init.8.gz /opt/local/share/man/man8/jk_lsh.8.gz /opt/local/share/man/man8/jk_procmailwrapper.8.gz /opt/local/share/man/man8/jk_socketd.8.gz And install jailkit on my Mac. Biko:~ sck$ sudo port install jailkit Password: ---> Fetching jailkit ---> Attempting to fetch jailkit-1.2.tar.bz2 from http://olivier.sessink.nl/jailkit/ ---> Verifying checksum(s) for jailkit ---> Extracting jailkit ---> Applying patches to jailkit ---> Configuring jailkit ---> Building jailkit with target all ---> Staging jailkit into destroot ---> Installing jailkit 1.2_0 ---> Activating jailkit 1.2_0 ---> Cleaning jailkit Now jailkit is installed on my machine, and I can use 'man jailkit' to find out more about the system. Scott Diane White wrote:
Please excuse me, but what exactly is MacPorts? How does it work? Is it really what I want to use? I found Mac Ports through looking at another program called Jailkit, and there was another website (the predecessor to MacPorts?) called DarwinPorts. Unfortunately, the main page of MacPorts does not have a simplified "This is what this is, this is what it does" type of introduction, and I find that to be enormously helpful in putting myself in the right mindset for what I am dealing with.
Essentially what I'm trying to do is create an automated updater on a client computer that logs into the server using sftp and downloads updated files from a certain directory. The server is Mac OS X 10.4.9, and I would like the account that the updater uses to be chrooted to the download directory. Based on my research so far, chroot is broken with the OpenSSH server unless you install a patch or do other stuff, which I'm trying to minimize messing with the current settings of the server and was really hoping to just have a restricted user or group account.
The jailkit program seemed like a simple solution, but to use it on the Mac, I would have to install MacPorts? Or is this just introducing another mess for myself? I'm not even positive at this point if that's what I really want to use...
Thank you. Diane
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
10 maj 2007 kl. 20.18 skrev Diane White:
Please excuse me, but what exactly is MacPorts
It is a package manager for mac os x (with friends) if that concept is familiar. Basically, it automates the standard way of building software on unix. usually, on unix you do ./configure make sudo make install where the ./configure part may have _lots_ of options The options may be different on different flavers of unix Macports 1- ports the software to mac os x (ie the people behind MacPorts) 2 - provides reasonble configure alternatives 3 - makes is possibly to have several versions of a particular program and easy to switch between 4 - downloads and compiles the software for you 5 - it also downloads and compiles OTHER software, that the one you really want is dependant on You need macports + develpment tools /Björn
On May 10, 2007, at 11:18 AM, Diane White wrote:
Please excuse me, but what exactly is MacPorts? How does it work? Is it really what I want to use? I found Mac Ports through looking at another program called Jailkit, and there was another website (the predecessor to MacPorts?) called DarwinPorts. Unfortunately, the main page of MacPorts does not have a simplified "This is what this is, this is what it does" type of introduction, and I find that to be enormously helpful in putting myself in the right mindset for what I am dealing with.
Hi Diane, We apologize that our web presence isn't better. If you, or anybody else, is interested in improving that, please see my result mail (today) to that effect. James
participants (4)
-
Björn Lundin
-
Diane White
-
James Berry
-
Scott C. Kennedy