You only use the /etc/passwd file to create the correct input. The correct input is then stored in the passwd.tmp file which is then used in your script. Do NOT change anything in your /etc/passwd file!!!
Like I sugested, just put the line "set -x" at the top of you script and check its output...
I'll take it that "# ./Useradd" is a typo as you called your script "addingusers".
If you put "set -x" at the top of your script and run your script again, it will show you how and with what your variables are replaced.
I think you need to replace the colons (":") with spaces in the passwd...
Here are some examples but check out the luxadm man page there are examples for pathnames of all kinds of different storages and how to look them up.
eg.
luxadm -v fast_write -d /devices/sbus@1f,0/SUNW,socal@1,0/sf@0,0/ssd@w2200002037000f96,0:a,raw
luxadm -v fast_write -e...
Are you shure you have the correct drivers? Because if you use a SCSI3 HBA you need to download the drivers seperately. They are not included in Solaris 8 or 9.
This and a lot more thing to think of while connecting a 3310 can be found on sunsolve.sun.com Documentid: 71418
If it is working...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.