Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: betaftpd configuration, trying to conf it< Next Oldest | Next Newest >
Error403 Offline





Group: Members
Posts: 14
Joined: June 2004
Posted: June 13 2004,05:52 QUOTE

Hi again!
So now here's another problem..  How do you configure betaftpd?  such as, I don't want people being able to access .. or / then go fiddle in other user's homedirs..

Or I might just need another ftp server?

Thanks for the help
Back to top
Profile PM 
Error403 Offline





Group: Members
Posts: 14
Joined: June 2004
Posted: June 21 2004,04:13 QUOTE

... anyone?  please?
Back to top
Profile PM 
Grim Offline





Group: Members
Posts: 284
Joined: Mar. 2004
Posted: June 21 2004,12:23 QUOTE

What version of betaftpd comes with DSL?  I forget.  Here's the docs from 0.0.8pre17:
Quote
3. Set up a `betaftpd.users' file in GLOBAL_ROOT_DIR, with the following
  format:

uid username password homedir rootdir gid(s)

uid: The user's uid (note that these fields do NOT have to match those
in /etc/passwd, you're your own boss here).
username: The user's username, of course.
password: The password, encrypted with crypt().
homedir: The directory the user starts in. MUST BE UNDER ROOTDIR.
rootdir: The directory the user sees as /. (Note that homedir and
rootdir is seen from a chroot()ed perspective. So if
you had set GLOBAL_ROOT_DIR to be `/betaftpd' and wanted
a user to have the home directory `/betaftpd/foo/', you
would use just `/foo/'.)

Both directory names must be ended with a slash (/).
gids: Any groups the user is member of, separated with a space.
Should be at least one.

Note: No blank lines or comments allowed. The fields are in a bit unusual
order. This is to reduce parsing overhead.

4. Set up a `betaftpd.groups' file in GLOBAL_ROOT_DIR, with the following
  format:

gid groupname

These fields should be self-explanatory.

5. Set up a `.rights' file in every directory you want to be accessible.
  More details are in the file `README.rights'.


Does this help?


--------------
No good deed goes unpunished...
Back to top
Profile PM WEB 
ReTeP Offline





Group: Members
Posts: 38
Joined: April 2005
Posted: May 06 2005,09:53 QUOTE

Call me stupid but what is the GLOBAL_ROOT_DIR and where can I find/define it?

--------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I'm using a native installed xDSL V0.5 on a modified xbox
   => xDSL is an DSL-clone and it's tweaked for a modified xbox.              
         xDSL is based on Damn Small Linux 2.1RC2
Back to top
Profile PM 
arew264 Offline





Group: Members
Posts: 51
Joined: April 2005
Posted: May 08 2005,18:17 QUOTE

From what I've read researching the same problem, I think you'll just want to find another FTP server as it appears that betaftpd is unconfigurable.
Back to top
Profile PM 
6 replies since June 13 2004,05:52 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: betaftpd configuration

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code