This topic has been archived. It cannot be replied.
-
工作学习 / IT技术讨论 / I am studying Solaris. Can anyone give me help on this?I just installed solaris7 on my PC. When I logon with root, and tried to create the first user account, I found I could not create home directory for it. Even I couldnt create the directory with the command mkdir.
dr-xr-xr-x 1 root root 1 Jun 28 17:15 home
-laoyou(老油);
2001-6-28
{276}
(#114789@0)
-
Create home directory in /export/home. /home is in use by automounter.
-dennis2(Dennis);
2001-6-29
(#115103@0)
-
Thanks, Dennis2!
Yes, I can creat directory in /export/home, butstill cannot make it to be the home directory for the new user. And nothing happens at /home. I am just a beginner, I need to read much more to understand some concepts. From now on, I just hope to setup a lab environment for my study. And I have another question: is it possible for the solaris 7 to set 2 different IP address on it's only network interface card just as WindowsNT or Win2k can do? I do not want it to route traffice just want to access it from pcs belong to different subnet.
-laoyou(老油);
2001-6-29
{494}
(#115150@0)
-
Come in, please.I don't know how you add a new user but if you follow the instruction in this page you should be fine:
http://docs.sun.com/ab2/coll.47.8/SYSADV1/@Ab2PageView/idmatch(USERSETUP-63804)?Ab2Lang=C&Ab2Enc=iso-8859-1#USERSETUP-63804
(link might be wrapped)
For adding a second IP, take a look at the man page for ifconfig. Basicly you need to do something like this:
ifconfig le0:1 <second IP> netmask <mask>
-dennis2(Dennis);
2001-6-29
{415}
(#115161@0)