View Single Post
Old 7th February 2006, 00:01
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts

Originally Posted by st2xo
If somebody else could use this info: the two rows on line 1083 should be changed from
exec("chown -R $apache_user:web$doc_id $web_path_realname &> /dev/null");
exec("chown -R $apache_user:web$doc_id $web_path &> /dev/null");
exec("chown -R wwwrun:web$doc_id $web_path_realname &> /dev/null");
exec("chown -R wwwrun:web$doc_id $web_path &> /dev/null");
sometimes wwwrun is www-data - check this out before! This is not tested!
$apache_user contains the Apache user - in your case wwwrun, so there's no need to change this.

Originally Posted by st2xo
I added one user manually with useradd, this user has now the uid 10028 (this is the highest number in /etc/passwd but not the last entry).

Now, a web directory /www/web22 is being permanently changed to xyz.web22 (where xyz is the user with uid 10028). All other dirs in /www are untouched.

(the /www/web22 directory is the second last web, so the last is web23)
Do you know what this could be?
By default ISPConfig creates users with UIDs above 10000. When you add users manually, you should use UIDs below 10000. What happened on your system is this:
You created users with ISPConfig up to the UID 10027. Then you added a user manually; because you did not specify a certain UID, the user got the UID 10028.
Then you created the next user in ISPConfig. Because ISPConfig doesn't know that you created another user manually in the meantime, the new user gets the UID 10028. And voilà, you have two users with conflicting UIDs.
You should assign another UID (below 10000) to your manually created user.
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!


nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote