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 31st January 2009, 15:50
nix4me nix4me is offline
Junior Member
 
Join Date: Jan 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Virtual Hosting With Proftpd And MySQL (Incl. Quota) On Ubuntu 8.04 LTS

I have 2 questions about this howto:

1. In step 3 is says to use uid, gin of 2001. (groupadd -g 2001 ftpgroup
useradd -u 2001 -s /bin/false -d /bin/null -c "proftpd user" -g ftpgroup ftpuser). But in step 4 the database tables are using uid, gid of 5500 as the default. Is this correct? Shouldn't these match?

2. Do all users added to the database get this same uid,gid (2001)?
Reply With Quote
Sponsored Links
  #2  
Old 1st February 2009, 13:29
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Quote:
Originally Posted by nix4me View Post
1. In step 3 is says to use uid, gin of 2001. (groupadd -g 2001 ftpgroup
useradd -u 2001 -s /bin/false -d /bin/null -c "proftpd user" -g ftpgroup ftpuser). But in step 4 the database tables are using uid, gid of 5500 as the default. Is this correct? Shouldn't these match?
IT doesn't matter as long as you fill in the correct GID (2001) when you create a new group in the MySQL table. But if you like, you can change it to 2001 in the CREATE statement.

Quote:
Originally Posted by nix4me View Post
2. Do all users added to the database get this same uid,gid (2001)?
Yes.
__________________
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 17th June 2009, 17:11
diablo666 diablo666 is offline
Member
 
Join Date: Mar 2007
Posts: 95
Thanks: 15
Thanked 2 Times in 2 Posts
 
Default

Quote:
Originally Posted by nix4me View Post
2. Do all users added to the database get this same uid,gid (2001)?
If you set the the columns GID and UID you can upload files with each group and user you want.

I've followed this guide

http://www.howtoforge.com/virtual-ho...ubuntu-8.10-p2
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
Virtual Hosting With Proftpd And MySQL (Incl. Quota) Quinton HOWTO-Related Questions 3 10th January 2009 13:04
Virtual Hosting With Proftpd And MySQL (Incl. Quota) On Debian Etch Spreech HOWTO-Related Questions 4 31st July 2007 19:21
Virtual Hosting With Proftpd And MySQL (Incl. Quota) pontifex HOWTO-Related Questions 56 22nd June 2007 13:29
Virtual Hosting With Proftpd And MySQL (Incl. Quota) miguellamerz HOWTO-Related Questions 3 18th October 2006 01:39
Virtual Hosting With Proftpd And MySQL (Incl. Quota) Secure? ToysunStory HOWTO-Related Questions 1 9th May 2006 00:03


All times are GMT +2. The time now is 21:58.


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