useradd problem with solaris 10 jumpstart

From: James Zhao (jzhao@cv.net)
Date: Tue Mar 14 2006 - 14:20:39 EST


Hello,

Has anyone tried useradd during solaris 10 jumpstart using the finish
script? I tried with solaris 10 (both March2005 and January2006 release) but
failed.

The useradd cmd is:

chroot /a /usr/sbin/useradd -m -u xx -g yy -d /home/zz -s /bin/sh zz

With march2005 release, the error is:

UX: /usr/sbin/useradd: ERROR: Inconsistent password files. See pwconv(1M).
EXIT_STAT=5

With January 2006 release, the error is:

UX: /usr/sbin/useradd: ERROR: Cannot update system files - login cannot be
created.
EXIT_STAT=14

Thanks.

James Zhao
Email: jzhao@cv.net

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.2.2/280 - Release Date: 3/13/2006
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:39:18 EDT