I installed Solaris Express from 5 CD-Roms (downloaded & burned from opensolaris.org) on to my dual-core AMD64 box, pretty much as described, here:
I installed the “Common Desktop” because I was curious about it, but I’ve decided I’m probably never going to use this as a desktop or laptop, so instead I stuck the PC in the closet, and I’m only accessing it via SSH.
Since that’s how it’s going to be : just servers in our cabinet : that’s how I want to learn to access it. Everything on the command-line. For future installs, I’ll make sure to not even install any of the GUI/X11 stuff.
First thing I noticed:
No users created. Only root.
Root doesn’t have a home (/root/) directory, either, it just uses /. Since sshd doesn’t allow root login by default, this would have to be done at the console (with keyboard+monitor attached) before turning it into SSH-only access.
For my testing, I changed /etc/ssh/sshd_config to allow root access, and kill -HUP `cat /var/run/sshd.pid`. Now I can log in as root. (I wouldn’t do this for a public/production server. I’d just add user accounts immediately.)
When I go to add user accounts, I notice two strange things:
1. no “walk-through” script, that prompts you for users’ groups, passwords, and all that.
2. even though /home/$username is the default, it won’t let you create anything there. You have to create home directories in /export/home/$username, though I don’t know why, yet. Apparently it’s going to be mounted later
I have to create my own user, like this:
useradd -g derek -d /export/home/derek -s /bin/bash -c “Derek Sivers” -m -k /etc/skel derek
Then I have to rename local.profile and local.chshrc to .profile and .cshrc.
I make a .ssh dir && chmod 700 .ssh then copy my ssh2 keys into its authorized_keys.
Now I’m in at a familiar shell.