LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 06-25-2001, 09:41 AM   #16
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47

Do you have /bin/ls? Otherwise your listings may be empty as it can't find ls...

Just a thought.

Jamie...
 
Old 06-25-2001, 09:52 AM   #17
DanTup
LQ Newbie
 
Registered: Jun 2001
Posts: 13

Original Poster
Rep: Reputation: 0
Yup, copied the whole /bin folder.

I just got rid of it and tried a few things...

the /./ on the end of the home dir doesn't seem to do anything at all.

In FTP, telling it to treat group ftponly as a guest makes it not show /home/test (but show it as if it's at root, eg seems to be chrooting to /home/test), but tha won't let me see any files other than those create this session.

According to that doc, the /./ sticks it in the home dir (wrong, I can go anywhere with just that!), and setting it as guest seems to give you an upload only (and no ls!) scenario!

I'm well confused!
 
Old 06-25-2001, 10:58 AM   #18
DanTup
LQ Newbie
 
Registered: Jun 2001
Posts: 13

Original Poster
Rep: Reputation: 0
I added the users to the group "ftponly", then I set ftp to treat that group as guests. I gave guests delete/rename etc. access, and changed their home dir to /home/username/./web and copied /bin and /lib into /home/username

Works fine!
 
Old 06-25-2001, 03:24 PM   #19
Ricardo77uk
Member
 
Registered: Jun 2001
Location: London England
Distribution: Suse 7.1
Posts: 45

Rep: Reputation: 15
a permissions prob i think

Dan, I think its a permission problem...the directories your creating are surely present only i think for some reason you havent enabled the directory to show entries.

It can be done with chmod via an FTP client


Im not sure of the above but it may help...
 
Old 06-25-2001, 04:24 PM   #20
nabil
Member
 
Registered: Feb 2001
Location: MI, USA
Distribution: Debian Linux 100% GNU
Posts: 210

Rep: Reputation: 31
BTW:
Are you using Webmin on a public IP connection ??? If you are, then I warn you that it is not very secure, cause I used it before and some one from Brazil hacked into port 10000 set for Webmin and created account and stuff...
Right now I won't even open up port 21 for telnet rather to have this huge window open for any one to hack in and do whatever.
 
Old 06-26-2001, 04:14 AM   #21
DanTup
LQ Newbie
 
Registered: Jun 2001
Posts: 13

Original Poster
Rep: Reputation: 0
I've got most things (including telnet) turned off for security, just what we need is enabled.

Ok, I spent all yesterday sorting that out, and it turns out, he wants the two users that I locked down, do have access to the *same* directory, which he must also have access to, and be web-accesible!

Can I just set their home dirs to /var/www/theirdomain/./web and copy bin and lib to theirdomain? Will it screw the website up having thei profiles in there (those .bash files etc.) ??

Also, is there any way I can disable Perl and PHP (not sure if any other languages might be enabled?!) for that folder (they don't need it, so if I disable it, they can't get crafty ideas about running Perl scripts!). And if I do it via .htaccess, they can edit the file, so could I put it in /var/www/theirdomain, and would it still work (since theirdomain is mapped to /var/www/theirdomain/web - will it look further up for .htacces files)?

Thanks,

Danny
 
  


Reply



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
webmin and frox ftp karlos9988 Linux - Software 1 03-10-2005 10:49 AM
ProFTPD & Webmin Keyser Sose Slackware 3 12-02-2004 01:54 PM
Webmin and FTP Alan Powell Linux - Newbie 1 04-27-2004 12:43 PM
WU-FTP or other WebMin Modules scottpioso Red Hat 0 01-12-2004 08:52 AM
FTP protocol and Webmin/squid/firewall--help ! dasilva Linux - Networking 1 10-10-2003 07:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:58 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration