Hello all .
Am  urmatorul script :
#!/bin/sh
HOME="/home/ppp/mail/"
SHELL="/etc/pppsh/mailppp"
GROUP="mailppp"
MANHOME="/wheel/staff/manager"
echo -n "Enter the username you want to be added: "
read USERNAME
if [ -z "$USERNAME" ]; then
  echo "You must provide a username."
  sleep 2
  $MANHOME/addmail
fi
echo "Adding new user to system..."
/usr/sbin/useradd -d $HOME -s $SHELL -g $GROUP $USERNAME
echo
/usr/bin/chfn $USERNAME
echo
/usr/bin/passwd $USERNAME
/bin/chown -R root.mailppp $HOME
chmod -R 777 $HOME
echo "Job done."
$MANHOME/main

acuma asta pune toti useri in /home/ppp/mail... ce vreau eu ..as vrea 
sa faca in home/ppp/mail cite un dir ptr fiecare user care se adauga la sistem
ex : home/ppp/mail/user1.
Aveti vreo idee ce as putea modifica si unde?

---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to 
unsubscribe from this list.

Raspunde prin e-mail lui