On 10/11/11 04:37 PM, Ethan Quach wrote:
Paul,
'/home/admin' is supposed to be auto mounted on '/export/home/admin'
Is your rpool/export/home/admin dataset set with that as the
mountpoint?
well, if you mean 'is it there', yes.
admin@x4100-035:/$ df
/ (rpool/ROOT/solaris):115246123 blocks 115246123
files
/devices (/devices ): 0 blocks 0 files
/dev (/dev ): 0 blocks 0 files
/system/contract (ctfs ): 0 blocks 2147483593
files
/proc (proc ): 0 blocks 29920 files
/etc/mnttab (mnttab ): 0 blocks 0 files
/system/volatile (swap ):15713800 blocks 1156307 files
/system/object (objfs ): 0 blocks 2147483472
files
/etc/dfs/sharetab (sharefs ): 0 blocks 2147483646
files
/lib/libc.so.1 (/usr/lib/libc/libc_hwcap2.so.1):115246123
blocks 115246123 files
/dev/fd (fd ): 0 blocks 0 files
/var (rpool/ROOT/solaris/var):115246123 blocks
115246123 files
/tmp (swap ):15713800 blocks 1156307 files
/rpool (rpool ):115246123 blocks 115246123
files
/rpool/export (rpool/export ):115246123 blocks 115246123
files
/rpool/export/home (rpool/export/home ):115246123 blocks 115246123
files
/rpool/export/home/admin(rpool/export/home/admin):115246123 blocks
115246123 files
Oh, and my /etc/auto_home is:
admin@x4100-035:/$ cat /etc/auto_home
#
# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
# Home directory map for automounter
#
+auto_home
admin localhost:/rpool/export/home/admin
my nsswitch.conf:
cat /etc/nsswitch.conf:
#
# Copyright (c) 1991, 2011, Oracle and/or its affiliates. All
rights reserved.
#
#
# _AUTOGENERATED_FROM_SMF_V1_
#
# WARNING: THIS FILE GENERATED FROM SMF DATA.
# DO NOT EDIT THIS FILE. EDITS WILL BE LOST.
# See nsswitch.conf(4) for details.
passwd: files nis
group: files nis
hosts: files nis dns
ipnodes: files nis dns
networks: files nis
protocols: files nis
rpc: files nis
ethers: files nis
netmasks: files nis
bootparams: files nis
publickey: files nis
netgroup: files nis
automount: files nis
aliases: files nis
services: files nis
printers: user nis
project: files nis
auth_attr: user nis
prof_attr: user nis
tnrhtp: files nis
tnrhdb: files nis
Thanks
Paul
-ethan
On 10/11/11 15:47, Paul de Nijs wrote:
Guys,
Did I miss something when it comes to the default user I define
in the sc_manifest (build 175) ?
<service_bundle name="system configuration" type="profile">
<service name="system/config-user" type="service" version="1">
<instance name="default" enabled="true">
<property_group name="root_account" type="application">
<propval name="password" type="astring" value="2gYEXnZh2Vzm." />
<propval name="type" type="astring" value="role" />
</property_group>
<property_group name="user_account" type="application">
<propval name="login" type="astring" value="admin" />
<propval name="password" type="astring" value="2gYEXnZh2Vzm." />
<propval name="description" type="astring" value="default user
that is" />
<propval name="shell" type="astring" value="/bin/ksh" />
<propval name="uid" type="astring" value="101" />
<propval name="gid" type="astring" value="10" />
<propval name="type" type="astring" value="normal" />
<propval name="roles" type="astring" value="root" />
</property_group>
</instance>
</service>
............
Login with 'admin' on my new system ...
Could not chdir to home directory /home/admin: No such file or
directory
No, of course not, it should be '/export/home/admin'
Why is it in the passwd file '/home/admin'. Do I have to specify
this myself ? Ok, I've got NIS enabled, automount as well for
NIS, where did the "account creation" go wrong ?
Do I have to specify the home directory in my sc_manifest ?
Paul
--
Paul de Nijs | Principal Sales Consultant, HPC Benchmark Engineer
| +1.503.617.8572
Oracle HPC Sales Support
3295 NW 211th Terrace | Hillsboro, OR 97124-7110
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss