#1  
Old 17th March 2006, 21:22
wfx wfx is offline
Junior Member
 
Join Date: Mar 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Different User/Group

Hi,
First sorry for my ask in comments (have not see the note about that).
I follow the HowTO:
http://www.howtoforge.com/proftpd_my...ual_hosting_p3
And all works fine (is a realy good HowTo)!

My problem is.
I cant find the way how to use a different user and group for a ftp user.
Example:
FTP User: daisy
Home: /home/daisy as
User: daisy and
Group: users

FTP User: gambit
Home: /home/gambit as
User: www and
Group: www

thx.
wfx

Last edited by wfx; 22nd March 2006 at 17:54.
Reply With Quote
Sponsored Links
  #2  
Old 18th March 2006, 12:18
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Are you referring to the ftpuser table? uid and gid must always have the same values!
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 18th March 2006, 20:18
wfx wfx is offline
Junior Member
 
Join Date: Mar 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I setup in ftpgroup:
groupname gid members
ftpgroup 2001 ftpuser
www 33 www

Then in ftpuser:
userid uid gid
daisy 2001 2001
gambit 33 33

i log in as gambit an create a directory "dada"
and then i look on it :
ftp> ls -l
200 PORT command successful
150 Opening ASCII mode data connection for file list
drwxr-xr-x 2 gambit (?) 4096 Mar 18 19:10 dada
226 Transfer complete.

If i view it on the server i get:
root@philoctetes:~# ls -l /home/gambit/
drwxr-xr-x 2 65533 65533 4096 2006-03-18 20:10 dada

The group www real exist.
Please what do i wrong?
Reply With Quote
  #4  
Old 22nd March 2006, 17:51
wfx wfx is offline
Junior Member
 
Join Date: Mar 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Are you referring to the ftpuser table?
Maybe this is the point, referring from to and how?

Quote:
uid and gid must always have the same values!
this looks right to me.
Reply With Quote
  #5  
Old 22nd March 2006, 18:56
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Quote:
Originally Posted by wfx
Maybe this is the point, referring from to and how?
I meant that you must put the correct values into the ftpuser MySQL table.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 24th March 2006, 17:48
wfx wfx is offline
Junior Member
 
Join Date: Mar 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Then in ftpuser:
userid uid gid
daisy 2001 2001
gambit 33 33

I use 33 for gambit with the result i post.

Ok. thx maybe it is not the way for me to go.
Reply With Quote
  #7  
Old 24th March 2006, 20:03
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Please try a group ID above 1000.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #8  
Old 24th March 2006, 22:59
wfx wfx is offline
Junior Member
 
Join Date: Mar 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

the group with the id 33 is set by the system (distribution) real name is
www-data (for files under htdocs).

thx.
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
apache user/group won't create directory weedguy Installation/Configuration 6 20th September 2005 00:40


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


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