Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Limiting FTP users' access Network
Hi,

I recently got OSX and immediatly started to setup an FTP, using the built in FTP sharing in the system preferences. Everything works great, and the server is running, but the only problem is... every user has access to anything. I can't restrict access to folders (I dont know how anyways...) I would like a setup many different users who can only access their own folders, not my ENTIRE HD. Any help would be appreciated.

Thanks,
  Post a comment  •  Comments (9)  
  • Currently 0.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (0 votes cast)
 
[6,098 views] Email Article To a Friend View Printable Version
Monitor your network traffic Network
Want to get down and dirty and find out what kind of traffic is on your network? Well, a packet sniffer is a great tool for this, and OS X has a copy of tcpdump, the open-source packet sniffer program, pre-installed.

Please note three things about tcpdump:

- It's a command line tool so you'll have to use the Terminal. (See the manual (man tcpdump) pages for options.)
- You have to be root to use it (or use sudo)
- It can be used for good or evil. Please make the right choice.

As a networking teacher, it's a great way to show students how insecure their network traffic really is (especially stuff like telnet and ftp).
  Post a comment  •  Comments (2)  
  • Currently 2.75 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (4 votes cast)
 
[72,636 views] Email Article To a Friend View Printable Version
Multiple Remote Access configurations Network
People may already know this but for those that don't:

You can add several different network configurations in the Network System Preferences panel. For instance if you have several different ISPs. To do this you go to the panel and select advanced options from the drop down menu. Then click New and enter something in the name box (could be the isp name or random numbers it doesn't matter really) and the modem port that you want to use for the connection. Then click ok and return to the advanced section. Then using the drop down box select your new network configuration and enter all of the details. Then when you next go to the internet Connect app you will be able to select between the two connections via the drop down menu at the top. It seems to work quite well. You don't even need to restart internet applications.

Angus
  Post a comment  •  Comments (0)  
  • Currently 3.33 / 5
  You rated: 4 / 5 (3 votes cast)
 
[2,867 views] Email Article To a Friend View Printable Version
A tutorial on using SSH for remote access Network
There was a question in the quickies about accessing files in a Public folder from another SSH capable computer. In this piece, I'll try to answer that question and hopefully help folks understand SSH a little better.

Read the rest of this article for a great overview on what SSH actually is, and how to use it for remote connectivity in OS X.
read more (512 words)   Post a comment  •  Comments (2)  
  • Currently 3.33 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (3 votes cast)
 
[44,857 views] Email Article To a Friend View Printable Version
NFS mounts don't show up on desktop Network
I had a weird probem. When I mounted the following URL:
nfs://192.168.0.2/home/samba
it did not appear on the desktop. A quick look with the terminal, in the /Volumes/ directory showed that, indeed, it had mounted, in a directory named 192.168.0.2/.

The quick fix was to run this command.
ln -s /Volumes/192.168.0.2 ~/disk
Any additional information about why this command was required is appreciated. Thanks.
  Post a comment  •  Comments (3)  
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[8,135 views] Email Article To a Friend View Printable Version
Using NetInfo as replacement for /etc/hosts Network
I've been searching the net now since installing OSX Final for a way to use my hosts file in my /etc folder like I do under Linux for developing websites (i.e. in the hosts file I create "127.0.0.1 somesite.me" and then use apache and http headers so that somesite.me in a browser returns a locally created website).

Looking in the /etc/hosts file you are told that the file isn't consulted unless you change your lookupd configuration. Lookupd is handled by NetInfo. And hence my problem: I had no idea how to change the order in NetInfo to look at the flat file /etc/hosts before going to DNS.

Read the rest of this article if you'd like more info on using NetInfo as at hosts file...
read more (164 words)   Post a comment  •  Comments (10)  
  • Currently 3.00 / 5
  You rated: 5 / 5 (8 votes cast)
 
[33,264 views] Email Article To a Friend View Printable Version
Installing DNSUpdate Network
Whew! Just got through installing DNSUpdate. I had trouble with the installer. It started up, but didn't seem to do anything. By looking at the uninstall directions, I figured out how to install it manually though.

I untarred the Files.tar.gz in the installer:
sudo tar xzvf DNSUpdateInstaller.app/Contents/Resources/Files.tar.gz
That got me most of the way. But it seems that the location of the StartupItems folder has changed since the Public Beta, so I had to move it:
sudo mv /Library/StartupItems/DNSUpdate /System/Library/StartupItems
After that I just rebooted and saw DNSUpdate start up. Then I logged in and ran DynDNS in the /Applications/Utilities folder. I entered my info, and it worked like a charm.
  Post a comment  •  Comments (0)  
  • Currently 2.67 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (3 votes cast)
 
[5,132 views] Email Article To a Friend View Printable Version
Internet port numbers Network
Although this isn't an OS X specific tip, if you do much with the built-in UNIX-based services in OS X (such as SSH, Apache, and FTP), it may be relevant. These services operate over ports, which are defined and managed by IANA (Internet Assigned Numbers Authority). If you'd like to familiarize yourself with who they are and what they do, just visit their web site.

If you'd like to see a very exhaustive list of port assignments, IANA is the place to go. This list is the most exhaustive that I've ever seen. This can be useful for things such as establishing 'port forwarding' in a router, which will allow certain ports (such as 548, for Appletalk over TCP) to be sent through your router to one target machine (your Mac running OS 9 file sharing over TCP/IP).

If you are a "power user" in the Mac OS 9 world, and you want to delve into all the services that are offered with OS X, some knowledge of port numbers may be helpful as you start experimenting with Apache, SSH, FTP, Samba, etc. For the typical OS 9 convert, though, you won't have to know anything about them -- other than they're out there, and they help make some of the cool stuff in the new OS possible.
  Post a comment  •  Comments (6)  
  • Currently 2.50 / 5
  You rated: 3 / 5 (6 votes cast)
 
[16,685 views] Email Article To a Friend View Printable Version
Mount your iDisk from the command line Network
This thread over on the MacNN forums discusses how to mount your iDisk using a terminal session. Why might this be useful? You could SSH to your OS X machine from anywhere, mount your iDisk, and then use cp to copy files from your iDisk to one of your local drives ... with the new "Apple Software" folder on iDisk, this could prove to be very handy!

I've documented the "how-to" in the second part of this posting, but head over to MacNN to read the full details!
read more (97 words)   Post a comment  •  Comments (1)  
  • Currently 2.86 / 5
  You rated: 4 / 5 (7 votes cast)
 
[12,401 views] Email Article To a Friend View Printable Version
How to access your idisk Network
Accessing your idisk (given to you when you sign up for itools) is quite easy under OS X.

When in the finder, select Connect to Server under the Go menu (or just press command-K). When the dialog box appears, make sure the drop-down menu says AFP Servers, and then type idisk.mac.com in the URL entry box.

A username/password dialog box should appear. Enter your mac.com username and password, and your idisk should mount on the desktop. Once it's mounted, you can make an alias to it, and simply double-click it in the future.

Apple has added a new "Software" folder to everyone's idisk which contains a selection of OS X software disk images. To use, simply drag the image you want onto a local volume and it will download. There's a large number of programs listed, and I imagine this folder will get much more active once OS X 1.0 ships. Quite cool, and this alone probably makes it worth getting a (free) itools account.

Thanks to 'James' for submitting the idisk question!
  Post a comment  •  Comments (1)  
  • Currently 2.33 / 5
  You rated: 3 / 5 (6 votes cast)
 
[6,799 views] Email Article To a Friend View Printable Version