Ruslan Valiyev wrote:
How do I add users with "useradd" in a non-global zone?
webzone:/# useradd -g www -d /home/admin -c "General User" -s /usr/bin/bash -m
admin
UX: useradd: ERROR: Unable to create the home directory: Operation not
applicable.
I believe that I have to edit auto_master, auto_home and vfstab.
But could someone, please, guide me a little bit here?
___________________________________
Ruslan Valiyev | [EMAIL PROTECTED]
_______________________________________________
opensolaris-help mailing list
[email protected]
The default configuration is to use the automounter to
populate /home, and to get the auto_home map from
a nameservice....
In the case where I don't have a networked auto_home
map to tell me where all the users have their home directories,
I usually just put the following in /etc/auto_home for
each user w/ a local directory in /export/home:
usrname: localhost:/export/home/usrname
I also add this entry into /etc/auto_master:
/home /etc/auto_home
This results in a loopback mount into /home of /export/home/usrname.
- Bart
--
Bart Smaalders Solaris Kernel Performance
[EMAIL PROTECTED] http://blogs.sun.com/barts
_______________________________________________
opensolaris-help mailing list
[email protected]