On Sun, 6 Jan 2008, James C. McPherson wrote: > Al Hopper wrote: > ... >> It's not recommended practice to modify the zone config files directly (bad >> boy James!). > > Bad boy Al for making an unwarranted assumption about what > I have or have not done!
Whoops! > >> While configuring the zone you can do this: >> >> add fs >> set dir=/tanku/home >> set special=/tanku/home >> set type=lofs >> set options=nodevices >> end >> commit > > which is exactly what I've been doing. Sorry James. :( > >> My preference is to add the user in the zone using useradd with no "-m" or >> "-d" switch, and then followup by setting the /etc/passwd entry to >> /tanku/home/username and avoid using the /export/home and /home >> conventions. This leaves open the possibility of some NFS mounts later. > > All of which is a workaround for the essential problem that > we don't have a easy and obvious way of adding users to zones > from the command line unless you use the webconsole thingy. > > > > James C. McPherson > -- > Senior Kernel Software Engineer, Solaris > Sun Microsystems > http://blogs.sun.com/jmcp http://www.jmcp.homeunix.com/blog > Regards, Al Hopper Logical Approach Inc, Plano, TX. [EMAIL PROTECTED] Voice: 972.379.2133 Fax: 972.379.2134 Timezone: US CDT OpenSolaris Governing Board (OGB) Member - Apr 2005 to Mar 2007 http://www.opensolaris.org/os/community/ogb/ogb_2005-2007/ Graduate from "sugar-coating school"? Sorry - I never attended! :) _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss