Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 17th December 2011, 00:21
The Lost The Lost is offline
Junior Member
 
Join Date: Dec 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default perfect-server-ubuntu-11.10-ispconfig-3 ftp questions

Hello,
Thanks for reading my post. I have some general questions about this particular how-to and where it pertains to user permissions and ftp.

I use this box for numerous things and would like to have 1 super user capable of administering the system without restriction as primarily i have to administer this computer on my own. My questions come down to this current how-to's setup in regards to pureFTPd, i would like this 1 super user to be able to copy files to and from the system anywhere including the root. I would prefer the user not have to log in as root. It would seem that i found some information about pureftpd and that it must be run with the option -a gid where gid indicates the group ID # that i wish to exclude from the chroot. However since this is a mysql installation i dont know how i would do that. Furthermore it would seem that my default user that i created at installation has access outside of his home directory however not the permissions to read-write-execute and i tried adding this username to the root group to grant permissions but im still getting permission denied when i attempt to ftp in and create a folder on the system outside of his home directory.

Sadly, it would seem that the common default go-to comment when posting for help on any forum these days would be usually something like " go read this or go read that, or go search this or go search that " and usually ends up with something like.... " you are an idiot, you are making your system unsecured blah blah blah " what ever happened to sharing information when asked for the sake of trial and error.

For what its worth, i did search which is how i found the -a gid information and as well when i searched about mysql i also found i needed to create another setting file at /etc/pure-ftpd/conf named ChrootEveryone contents of which simply say no but i still havnt gotten the results i need.

To recap short and sweet heres what i've done so far:
1)Fresh install and followed the guide at http://www.howtoforge.com/perfect-se...10-ispconfig-3 minus installing ispconfig-3 cause i needed to sort out this ftp issue first.
2) created file at /etc/pure-ftpd/conf with echo no > /etc/pure-ftpd/conf/ChrootEveryone
3) usermod -a -G root username to add the username to root group so i can create and modify items outside his home directory. (this doesnt seem to be working as intended)

now i know that number 2) needs to be used in conjunction with -a gid in order for full effect but i cant figure out where or how to use that option.

Thanks in advance everyone for reading the post and humoring my question.
Reply With Quote
Sponsored Links
  #2  
Old 18th December 2011, 11:56
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,794
Thanks: 840
Thanked 5,612 Times in 4,423 Posts
Default

The ispconfig installer is configuring all services incl. Ftp, so following this guide without installing ispconfig is quite useless as all services are not properly configured then.

Regarding your file transfer user, normally you use sftp oe scp for that and not ftp. Scp and ftp are file transfer protocols provided by the ssh damon and not pureftpd. A nice windos application is winscp, but most other ftp clients support scp and sftp as well.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 18th December 2011, 20:34
The Lost The Lost is offline
Junior Member
 
Join Date: Dec 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Thanks for not actually answering the original question, let me just be short / sweet and to the point.

How do i exclude a user from chroot with mysql version of pureftpd. I WILL be installing ispconfig just not until this user over ftp is sorted out... Thanks for the input about the ftp via ssh options although im not interested in them for this task.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Not working emails (DNS and postfix problem?) shekiman Installation/Configuration 9 1st March 2011 17:25
ISPConfig3 mail doesn't work Marr General 6 1st September 2010 10:32
ISPConfig3 Mail Warn Errors reason8 General 3 25th November 2009 14:58
ftp is very slow and asks for user/passwd continuously chico58 Installation/Configuration 7 8th October 2008 13:43
Problem with keeping Apache alive bobeq Server Operation 3 29th November 2007 17:11


All times are GMT +2. The time now is 16:37.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.