Hi! You should specify -m switch for useradd for creating user home directory. Read a manual page for useradd for defaults; by default Solaris uses /export/home/ for ordinary users homes.
Btw, in FreeBSD, the default also differs: users homes are in /usr/home and /home is only a symlink there. I'd like to give you more general advice: do not expect that Solaris is like Linux, or even BSD. Solaris is ... a moment of silence ... simply Solaris. Many things here work differently like elsewhere and you probably should forget [almost] everything what you know from Linux of BSD. Believe or not, this helps me a lot when migrating from Linux to FreeBSD and later to Solaris. J. On Mon, Apr 13, 2009 at 17:04, red phoenix <[email protected]> wrote: > I use solaris 10, I login solaris with root user,then I create a new > user,like follows: > #useradd wwg passwd wwg > then I enter /home,and ls,but I can't find wwg directory under /home > directory! Why? I remember in other Unix environment,such FreeBSD,when I > create new user,it will create new user directory under /home directory. Why > solaris don't create new user directory under /home? How to do it? Where is > new user directory? > > My second question is which I use vi command in /home directory,then I want > to save it,but I can't save it! It say "operation not applicable" ,Why? > > My third question, I want to know how to switch solaris user? I can switch > user with alt+F1 alt+F2,and so on under FreeBSD or Linux,so I can login with > different user under different windows.But I can't switch user under Solaris > 10 with alt+F1 alt+F2,and so on. What keys are switch key under Solaris 10? > > Thanks in advance! > _______________________________________________ > Solaris-Users mailing list > [email protected] > http://www.filibeto.org/mailman/listinfo/solaris-users > _______________________________________________ Solaris-Users mailing list [email protected] http://www.filibeto.org/mailman/listinfo/solaris-users
