ispCP - Board - Support
who changes /etc/passwd File - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: General discussion (/forum-11.html)
+--- Thread: who changes /etc/passwd File (/thread-4013.html)



who changes /etc/passwd File - tsaenger - 08-11-2008 09:46 PM

Hello,

sorry for my english but i am a german.

I would like to know if anybody can tel me witch script will generate the Users at /etc/htaccess file? I like to generate a script to add multiple users to ispcp. At the moment i only make db-inserts and i have to add manualy the user in passwd and group file.

maybe someone can help me?

Thanks

Tobias


RE: who changes /etc/passwd File - Zothos - 08-11-2008 10:01 PM

why dont you add the user ispcp does (take a look at the gui files) And then run the rqst-mngr?

greetz
/Z


RE: who changes /etc/passwd File - tsaenger - 08-11-2008 10:26 PM

Hi Zothos,

now i did it. It needed time to understand the code. Now i know that it's not allowed to add a dataset in table domain with already filled in domain_uid and domain_gid values. In thies feelds 0 have to be the value. The rqst-mngr will change the values into the right ones. Now it works fine.

Thanks

Tobias