#!/bin/bash
# $AUUGid: www/data/saauug/events/2005/meetings/ldap/files/create_users,v 1.1 2005/08/05 11:56:55 benjsc Exp $
# create 9 user accounts
# (later, we will use the PADL scripts to convert account data into LDIF files
#  for upload into the LDAP server)

# set default location for home directories of newly created accounts
useradd -D -b /home/nfs

# create accounts and prompt for passwords
for u in 1 2 3 4 5 6 7 8 9
do
  useradd -c "User ${u}" -m -u 60${u}  u${u}
  passwd u${u}
done

# reset default location for home directories to its usual value
useradd -D -b /home

