This is a standalone system you are talking about right?
If not, you have many more steps and issues to deal with.
Anyway, the /export/home/user_name is the right path
(of course - as the superuser). If you are just using
/home/user_name as the home directory for the new user
you have a misconception. The /home/user_name only
appears as such in an NIS/NIS+ NFS networked environment.
the actual file server will truly be /export/home/user_name.
The appearance of /home/user_name only appears to start
at /home because it is shared with all of the other
computers within the network. However, there is usually
one main file server on the network. Just as with a print
server, ftp server, applications server, mail server - etc.
And if it were networked in an NFS environment, you would
probably need Solstice!
The King - Hire me, I need a job!
> There r some things u cud look upon.
> . The permissions of the file system you r wishing to create a user on
> . Try out /usr/sbin/useradd -d <dir path> -m <login name> as superuser
> . If u r a superuser , no need to go to group 14
> . The user login name has to be given in the path u specify in
> . Just a check, take a look at the checkbox which before the dir
> It has to be checked in.
> Try these out.
> Project Manager
> Adtel Software
> NOIDA -201303
> > I apologize in advance if this is old material--
> > I have not been able to get local sysadmins to solve this for me,
> > to say "sometimes admintool doesn't work".
> > I am running Solaris 2.7 and having trouble creating new user accts.
> > When logged in as myself, I open a root shell [as su, not su - or
> > root] and run admintool. If I select "Add.." when browsing users, I
> > a window that sets me up. Yet, when I specify a path for the home
> > directory, I am told "Cannot create user's home directory".
> > The help page for "Adding users" does not specify whether I should
> > the path to the parent directory, or include the name of the user's
> > login in the path as well, so I have tried both.
> > I have added myself to the sysadmin group 14, no help.
> > I have created a directory with the user's login name, chmod to give
> > rwx permissions, still no go.
> > I realize I can hack /etc/passwd and /etc/shadow to specify all
> > but then what's the use of admintool?
> > Somewhere recently on one of these newsgroups I saw a "useradd"
> > posted-- is that to deal with this issue?
> Sent via Deja.com http://www.deja.com/
> Before you buy.
Sent via Deja.com http://www.deja.com/
Before you buy.