PDA

View Full Version : Wrong userIds when adding users


jernis
29th August 2005, 12:03
if i add a user with IPSConfig a user is added the the system.

but if i alread added a user manually form the shell and then adds a user from ISPconfig then the ISPConfig user is getting the same userid as the manually added user.

ex :

added manually : (from etc/passwd )

test:x:10023:10008:test:/home/test:/bin/false

then when im adding the user play1 from ISPconfig

play1:x:10023:10005:test:/home/www/web4:/bin/false

the same userId : 10023

is there some kind of id file that ispConfig is using ? and not looking insde the passwd file?

/ Daniel.

till
29th August 2005, 16:05
if i add a user with IPSConfig a user is added the the system.

but if i alread added a user manually form the shell and then adds a user from ISPconfig then the ISPConfig user is getting the same userid as the manually added user.

ex :

added manually : (from etc/passwd )

test:x:10023:10008:test:/home/test:/bin/false

then when im adding the user play1 from ISPconfig

play1:x:10023:10005:test:/home/www/web4:/bin/false

the same userId : 10023

is there some kind of id file that ispConfig is using ? and not looking insde the passwd file?

/ Daniel.


You have to configue "Userid from" and "Groupid from" in the controlpanel under Management > Server > Settings on the tab Other with values that you dont use manually for adding users, otherwise you will get duplicates in /etc/passwd.

Also you have to add manually added usernames (that are added after the installation of ISPConfig) to the file /home/admispconfig/ispconfig/users