Thanks, just tested that. :-[ . But if you use an encrytion in
a sysidcfg file say  jumpstart, all the clients will use that.
Interesting. Still doesn't explain why the problematic encryption
only has 12 characters, not 13.

Mike


Edward Pilatowicz wrote:
no, it likely wouldn't be the same.  the classic unix crypt uses a
"salt" to allow for different encodings of the same text string. see:

        http://en.wikipedia.org/wiki/Crypt_(Unix)

ed

On Wed, Aug 26, 2009 at 03:00:01PM -0400, Mike Wahlberg wrote:
Also I created a root  passwd on my Solaris 10 U7
box as abc123, and the encryption from my /etc/shadow
is MNY4FaPMbBnRs, not what you supplied. I would
think the encryption would be the same.

Mike


Edward Pilatowicz wrote:
are you running opensolaris?

if so, i'm guessing that the problem is the format of the hashed
password.  by default, solaris version <= 10 and nevada use crypt for
hashing passwords, but opensolaris uses SHA256.  these settings seem to
be controlled via /etc/security/policy.conf.  just search for string
CRYPT_* in that file and read the associated comments.

ed

On Wed, Aug 26, 2009 at 08:35:19AM -0700, v wrote:

Hello,

I use sysidcfg to configure my zone.  However, during configuration, the root 
password gives a syntax error.  The password I use in the sysidcfg is the 
encrypted version of abc123.  I don't know why it doesn't like it.  Let me walk 
you through my zone creation process.  Maybe somebody can tell me what I am 
doing wrong... (By the way, this is an exclusive IP zone)

1) Install the zone
2) Make the zone ready (zoneadm -z zone1 ready)
3) Copy the below sysidcfg to the root/etc/ directory

terminal=vt100
network_interface=primary { dhcp protocol_ipv6=yes }
name_service=DNS nfs4_domain=dynamic
security_policy=none
timezone=US/Eastern
system_locale=C
root_password=fto/dU8MKwQR

4) Login to the zone (zlogin -C zone1)
5) Open another connection to the global zone
6) Boot zone1 (zoneadm -z zone1 boot)
7) Then, I see the configuration process on the other terminal screen as 
outlined below.  It stops at the root password line and switches over to the 
interactive configuration

[NOTICE: Zone booting up]

SunOS Release 5.11 Version snv_111b 32-bit
Copyright 1983-2009 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Hostname: zone1
Reading ZFS config: done.
Mounting ZFS filesystems: (6/6)
root_password=fto/dU8MKwQR
syntax error line 8 position 15
Creating new rsa public/private host key pair
Creating new dsa public/private host key pair
Configuring network interface addresses: vnic1
--
This message posted from opensolaris.org
_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

--
Michael Wahlberg
OS Collaborator
Sun Technology Center
Sun Microsystems, Inc.
75 Network Drive
Burlington, Mass. 01803 Phone: 781-442-1332 Email
michael.wahlb...@sun.com
Hours: Monday-Friday 7:30am-4PM EST
Manager: joel.fonte...@sun.com


--
Michael Wahlberg
OS Collaborator
Sun Technology Center
Sun Microsystems, Inc.
75 Network Drive
Burlington, Mass. 01803 Phone: 781-442-1332 Email michael.wahlb...@sun.com
Hours: Monday-Friday 7:30am-4PM EST
Manager: joel.fonte...@sun.com

_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

Reply via email to