Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem when creating users on Solaris 2.6

Status
Not open for further replies.

zoby

Technical User
Mar 5, 2001
35
FR
When I create a new user with admintool, he does not create his directory even if I specifie it. It's very strange. What happen actually is when I apply the creation, admintool exits itself. But it creates the user.

Could someone help me, please, it will be great !
 
Did you tick the Create Home Dir check box?
What is the path of the home directory?

Ged Jones

Top man
 
Yes, I did. And the path is :
/export/home/username.

This happen each time I want to create a new user.
The server is not a NIS server, we connect him with a telnet session trough Workstation NT.

Zoby
 
Hi
Don't know what the problem is. Just add the user from the command line anyway.

useradd -d /export/home/'user' -m -g 'group''user'

71
 
Hi

Try this

useradd -g<space><gid> -u<space><uid><space> -m<space> -d <space>/export/home/<username> <space> -s<space>/bin/sh<space> <username>
 
mkdir /export/home/<user>
chown <user>:<group> /export/home/<user>

hmm :)

we do this manually on our system anyway as we use /etc/auto_home for users.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top