Getting Started With OpenSolaris
Previous Next

Troubleshooting Login and Root Specifications

How to Troubleshoot Your OpenSolaris Login

If you are unable to log in to your installed system, use the following procedure.

  1. Boot the system in single user mode.

    For instructions, see x86: How to Boot a System to Run Level S (Single-User Level) with two changes specific to the OpenSolaris 2009.06 release.

    • In the instructions at this URL, use the kernel$ line option in the instructions instead of kernel line option.

    • Before you are prompted to enter the root password using these instructions, you will need to enter an account name. The account name can be root, or any other privileged account, such as “jack” on the Live CD, or an account that you created during the installation.

  2. Optional: To view the existing users and roles, type:
    -bash-3.2#  cat /etc/user_attr
  3. Optional: To delete a user, type:
    -bash-3.2# userdel username
  4. Create the user name that you want.
    -bash-3.2# useradd username
  5. Assign a password for the user name.
    -bash-3.2# passwd username

    You will be prompted to type the password twice.

  6. Assign the root role to that user.
    -bash-3.2# usermod -R root username
  7. Type Exit to return to the installed system.
Previous Next