Solaris stupidity
Making a test user on a stock Solaris 9 box. I’m not on it, so time for some command line commando action.
useradd -D
Cool, defaults are all good.
useradd foo
No complaints, cool beans.
passwd foo
Ok, took that ok.
cat /etc/passwd
Everything looks good.
cd /home
ls -al
What the hell? Where’s the home directory?
mkdir foo
unable to create directory: operation not applicable
WHAT??
For some dumbass reason, Solaris 9 automounts the /home directory. Yup, that’s right, some rocket scientist broke his own damn OS. And gawd forbid we DOCUMENT it anywhere, like maybe in a MAN PAGE, FER CRISSAKES?? Or maybe even FIX USERADD???
Idiots.
Thank you Google… probably woulda beat my head against this one for hours.
