LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 08-17-2004, 09:57 AM   #1
dslboy
Member
 
Registered: Aug 2003
Location: Norway
Distribution: Slackware -current
Posts: 157

Rep: Reputation: 30
proftp, global ip and a few more;)


Haven't found any good answers for this yet...

I've just set up proftp working and ready
Now I want to add more users, I will use useradd command right?
But I want to limit users to only browse my ntfs-drive which is mounted under /mnt/ntfs,
their home dirs and maybe a upload folder.

How can I route these dirs to one specific username??
Should I make a symlink to these folders in the users home dir?

I communicate with the server trough ssh, how can I find the global-ip of the server-machine??
Any good commands for this?

Any other hints on making a fast and stable server with proftpd is cool
 
Old 08-20-2004, 02:51 AM   #2
zatriz
Member
 
Registered: Aug 2003
Location: Seattle, Wa
Distribution: Fedora,Trustix,Debian
Posts: 290

Rep: Reputation: 30
you could edit the skel directory so that when ever you create a new user it automatically creates symlinks to the upload and mnt/ntfs folders.
and then you could chroot the ftp user using proftpd.

ifconfig will tell you the ip address of the machine
If you are using a router or dsl modem then you could just setup up dynamic dns and have it update a dns entry then all you would have to do is ping it and it will let you know the ip address.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I like global warming. slapNUT General 177 12-12-2006 04:04 AM
C: global typedefs dominik81 Programming 1 11-30-2003 02:34 PM
Global access in C++ jpc82 Programming 3 11-16-2003 04:00 PM
Global Settings mikeshn Linux - Software 1 07-22-2003 07:42 PM
global declarations Randall Programming 50 03-15-2003 01:24 PM


All times are GMT -5. The time now is 01:39 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration