adding user using script

Thomas Spuhler thomas at btspuhler.com
Sun Feb 28 04:33:43 CET 2010


So far I have not been able to get the WEB interface working. 
To test the kolab and perl-kolab packages, I try to add a new user using the 
/usr/lib/kolab/adduser script.
But I am getting this error:
/usr/lib/kolab/adduser: line 77: kolab: command not found
Are you sure you want to proceed? (y/n)
it is coing from this part:

#Check if the user already exists
DN=`kolab showuser $EMAIL | grep dn` (this is line 77)
if test "$DN" != ""; then
echo User already found! Or other error occurred.
exit 255
fi


-- 
Thomas




More information about the users mailing list