Search results

  1. B

    SSH login

    One httpd will be running as root; as on all Unix-like systems, you need root to use a port under 1024. If you set Apache to listen on a larger port (say, 8080), then you can keep it from running anything as root, but shouldn't be necessary. ftpd will be root until a user logs in, then it...
  2. B

    Piping Tar datastream over SSH

    Simply reverse the logic: ssh remote "cd /usr/local/stuff; tar cf - ." | tar xf - will copy everything from /usr/local/stuff to your current directory.
  3. B

    Piping Tar datastream over SSH

    Absolutely, I've used this method for years (via rsh long ago, ssh now). For example, to use tar to copy everything in /usr/local/stuff to remote's /backup, cd /usr/local/stuff tar cf - . | ssh remote "cd /backup; tar xf -" Basically, you're telling tar to tar up everything in your...
  4. B

    Why is writing C so hard!

    Yes there is (but not just Unix).
  5. B

    How Do I Mount Linux Hard Disk In OSX

    Since it's a filesystem used by Linux, it's most likely ext2fs, which OS X does not know how to read. Your best bet would be to put it back on the Linux box and remote mount it to your OS X machine, then copy stuff over. Currently, OS X only knows the following filesystems: CD (ISO9660)...
  6. B

    Secure MySQL connections

    To forward a local connection on port 3306 to a remote server through ssh, you would run ssh -L 3306:remote:3306 user@remote This will cause localhost:3306 to be tunneled through ssh to remote's 3306. As far as MySQL and SSL, I believe that is a compile-time option; there's some info at...
  7. B

    NEW 160gig HD only show 32 gigs Help!!!!

    Most IDE controllers have a 137GB limit (I believe ATA/133 overcomes this). If the 137GB limit is the marketing form of 137GB (ie, 137,000,000,000) then that comes out to 127GB in computer terms (127*1024*1024*1024).
  8. B

    Java 1.4 SDK

    javac is /usr/bin/javac (at least it should be), and is installed with the Essentials package, so if it's not there, something weird is going on. Note that /usr/bin/javac is simply a symlink, so also check for the target, which is /System/Library/Frameworks/JavaVM.framework/Commands/javac...
  9. B

    Boards screwed up?

    There's defintely something weird going on; just replied to a thread, and that thread inverted itself: the original post became the latest, and mine showed at the top, as if it were the first. I definitely agree with RacerX on the feeling.
  10. B

    Where is the shadowed passwdfile?

    Yeah, it's using the classic Unix-style password encryption (DES with the password itself as a key, plus a two character salt). Be sure if anyone else has local access to your machine and you don't completely trust them, to use a good password...
  11. B

    Putting date into folder name at creation.

    If you want something which sorts nicely (alphabetically), replace testuser's definition of dirName with dirName=`date '+%Y%m%d'` which will give you a string in the format of YYYYMMDD, so sorting by date via the name is easy.
  12. B

    File transfer on osx?

    You don't need to ssh first; simply run scp /local/file server:/remote to copy file in the /local directory to the remote machine server, putting it in the directory /remote . The reverse also works, scp server:/remote/file . to copy server's /remote/file to your current directory...
  13. B

    Keybaord cleaning

    I did that very thing about a month ago (first cleaning since I got it in late 2000), and it wasn't exactly what one would call a pretty site. It's amazing how hair of some length can worm its way down there.
  14. B

    broken software update?

    Looks like Apple's server for doling out updates isn't listening at the moment. I see traffic attempting to connect to swquery.apple.com (port 80) with nothing coming back.
  15. B

    some help from ssh/telnet pro please!!!!!

    This should be a matter of first running telnet 192.168.0.1 612 (replacing 192.168.0.1 with the IP for your router/modem). You should see something like Trying 192.168.0.1... Connected to 192.168.0.1. Escape character is '^]'. It may also print some information on the device to...
  16. B

    10.1.4: This is so not funny :(

    When you successfully login to the command line side, check to see if there's anything helpful in /var/log/system.log: tail -40 /var/log/system.log Especially look for anything with loginwindow or WindowServer.
  17. B

    10.1.4 Upgrade ATE MY STICKIES

    It'd be really weird if the update itself did it; perhaps on the reboot after installing, the stickies program didn't quit properly, and couldn't save the data? Otherwise, maybe your system needs an fsck?
  18. B

    10.1.4 is out

    You probably have the file /System/Library/CoreServices/ServerVersion.plist (installed by the update), which causes the login window and About This Mac to think it is X Server; SystemVersion.plist should be the one for X non-Server.
  19. B

    Strange console messages?

    I'd say something like fortune (only a HHGG-specific one) has been installed, and is being run on login.
  20. B

    no password shadowing?

    You are correct, by using NetInfo, encrypted passwords are exposed; making it more important to choose a good one. Some of the files for better /etc password management are there (/etc/master.passwd for example), but without messing with the way authentication works, they aren't used. You...
Back
Top