Given these considerations, the government's recent actions in the name of homeland security do not seem unjust or immoral.
Particular cases and practical aspects of profiling will always need to be closely considered to avoid any possible abuses.