How to Change a User Account Name in Solaris 10

By Chris Hoffman

Solaris is a Unix operating system often used for servers developed by Oracle. Solaris is a multi-user operating system. Like other UNIX operating systems, every user account on Solaris has its own home folder and permissions settings. Solaris includes the standard UNIX "usermod" command which changes a user account's name and automatically takes care of renaming the home folder and adjusting system permissions. You must have root, or administrator, permissions on the system to change a user account's name.

Open a terminal window by clicking the "Desktop_Apps" icon on the Solaris desktop panel and double clicking "Terminal" in the application manager window.

Type "su" into the terminal window and press "Enter" to become the root user with permission to modify user accounts.

Type your root password when prompted and press "Enter."

Type "usermod -l new_name old_name" into the terminal window, replacing "new_name" with a new name for the user account and "old_name" with the user account's current name, and press "Enter."

×