HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   Virtual Hosting With Proftpd And MySQL (Incl. Quota) On Ubuntu 8.04 LTS (http://www.howtoforge.com/forums/showthread.php?t=30805)

nix4me 31st January 2009 16:50

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)?

falko 1st February 2009 14:29

Quote:

Originally Posted by nix4me (Post 167217)
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 (Post 167217)
2. Do all users added to the database get this same uid,gid (2001)?

Yes.

diablo666 17th June 2009 18:11

Quote:

Originally Posted by nix4me (Post 167217)
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


All times are GMT +2. The time now is 04:10.

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