fi
NFSHOME="jsc-nfs.czech.sun.com"
-HOMEPATH="/home.local/$USER"
+HOMEPATH="/net/$NFSHOME/export/home/$USER"
REALNAME="`perl -e '$_=(getpwnam "'"$USER"'")[6];s/^root for //;print;'`"
ssh -t root@"$1" '
grep "^'$USER':" /etc/passwd && exit 1
useradd '$USER'
sed '\''s#^'$USER':.*$#'$USER':x:0:0:root for '"$REALNAME:$HOMEPATH"':/bin/bash#'\'' </etc/passwd >/etc/passwd.'$USER';cat /etc/passwd.'$USER' >/etc/passwd;rm -f /etc/passwd.'$USER'
- echo >>/etc/vfstab '"`echo -e "$NFSHOME:$HOMEPATH"'\t-\t'"$HOMEPATH"'\tnfs\t-\tyes\tintr,bg'`"'
- mkdir -p '"$HOMEPATH"'
- mount '"$HOMEPATH"'
passwd -r files '$USER'
echo done
'