Hello, My /etc/passwd file has ben corrupted, and I would need to reconstruct it with the users data in ispconfig. How can I manage this in a easy way? Thank's in advance.....Larry
More data I have changed a user and checked the log /home/admispconfig/ispconfig/ispconfig.log file and the following shows up: 19.06.2008 - 20:49:04 => INFO - USER: jmabando:x:12993:10002:Jose Maria Abando Plaza:/var/www/web2/user/jmabando:/bin/false 19.06.2008 - 20:49:04 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 891: setquota -u jmabando 0 0 0 0 -a &> /dev/null 19.06.2008 - 20:49:04 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 892: setquota -T -u jmabando 604800 604800 -a &> /dev/null 19.06.2008 - 20:49:04 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_procmail.lib.php, Line 57: cp -f /root/ispconfig/isp/conf/forward.master /var/www/web2/user/jmabando/.forward 19.06.2008 - 20:49:06 => INFO - USER: beatrizabascal:x:12994:10002:Beatriz Maria Abascal Alonso-Lamberti :/var/www/web2/user/beatrizabascal:/bin/false 19.06.2008 - 20:49:06 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 891: setquota -u beatrizabascal 0 0 0 0 -a &> /dev/null 19.06.2008 - 20:49:06 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 892: setquota -T -u beatrizabascal 604800 604800 -a &> /dev/null 19.06.2008 - 20:49:06 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_procmail.lib.php, Line 57: cp -f /root/ispconfig/isp/conf/forward.master /var/www/web2/user/beatrizabascal/.forward 19.06.2008 - 20:49:08 => INFO - USER: diegoacebal:x:12995:10002iego Acebal de Salas :/var/www/web2/user/diegoacebal:/bin/false19.06.2008 - 20:49:08 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 891: setquota -u diegoacebal 0 0 0 0 -a &> /dev/null 19.06.2008 - 20:49:08 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 892: setquota -T -u diegoacebal 604800 604800 -a &> /dev/null 19.06.2008 - 20:49:08 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_procmail.lib.php, Line 57: cp -f /root/ispconfig/isp/conf/forward.master /var/www/web2/user/diegoacebal/.forward Here we can see where the /etc/passwd file starts to get messed up. Hope this gives you a clue of what is happening. I also have another thread with the /etc/passwd corrupted file thing and will post also this data since the it may be a problem in common. Thank's in advance.....Larry.
Hi again, I figure out what happened here. I am using the ISPConfig Remoting Framework 1.0 library to create the accounts from a web. It just happens that an administrator used a file for a massive user creation and this file contained "line feeds" at the end of the name. Causing this odd-look /etc/passwd and also affecting the proper functioning of the ispconfig update process. I also find out that no check is done for a new user to have an email already asigned as an alias to another user. The ISPConfig Remoting Framework library creates the user, all the process work's fine, but the sendmail fails because there are repeated entries in the /etc/mail/virtusertable file. Leaving the "email" server working in a rather "extrange" mode since the virtusertable.db file is old in respect to the rest of the configuration. I cleaned the names of "unwanted" characters and erased the repeated aliases and everything went back to normal. Thank's again and hope this information is good for you improve the ispconfig software. Larry.