Hello again, I am trying to automate the registration process for razor so that people on this machine will be registered when I add the account. I have made a little sh script (script down below).. The problem is that the registration always fails when run from the script, but I can run the exact same command from the shell (bash) and it succeeds! The error message that is returned is
Error 202 whle performing register, aborting. Any ideas??? Thanks ===================Script Follows====================== #!/bin/sh USER=$1 echo -n "Useradd....." useradd $USER echo "...Done" echo -n "Razor-create....." su -c "razor-admin -create" -l $USER echo "...Done" echo -n "Razor-discover....." su -c "razor-admin -discover" -l $USER echo "...Done" echo -n "Razor-register....." su -c "razor-admin -register -u $USER\@mydomain.com" -l $USER echo "...Done" ------------------------------------------------------- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ _______________________________________________ Razor-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/razor-users
