O'Reilly logo

Sun™ ONE Messaging Server: Practices and Techniques for Enterprise Customers by Dave Pickens

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Test User Generation Script

This script generates a sample user file that can be used as input in the previous provisioning script. It differs from the sample data file in that it will create any number of unique users from 1 to n. This script can be used to create hundreds or thousands of test accounts as needed.

Code Example 5-5. Test User Script Usage Example
 # !/bin/csh # # This script adds demo accounts # password set same as user_id if ( $#argv != 1 ) then echo "Wrong number of arguments" echo "Usage: $0 {number}" echo "" echo "where {number} is the number of test accounts to add" exit 1 endif set INSTALL_DIR=/A1000/demo6789/ims52 set mailhost=sparc5-1.central.sun.com set passwd=bacon set x=$1 cd $INSTALL_DIR/ndacli/bin while ( $x > 0 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required