How to Modify a UID in Solaris 10

by Kristen Waters

Solaris 10 uses a UID (User ID) to identify each user account. The UID is a unique number assigned to each user. It is usually assigned by the operating system when the account is created. It may be necessary to modify or change a user's UID so in order to allow the user to access a particular program or another operating systems in a network. The "usermod" command is used to change a user's UID.

Click the "Launch" button on the bottom left side of the screen.

Choose the "Applications" option.

Choose the "Terminal" option to open a terminal window.

Type the command "su" to switch to the root user.

Type the command "usermod -u <new_uid> <username>" to modify the UID for a particular user. Replace "<new_uid>" with the new UID for the user. Replace "<username>" with the username for the user.

Type the command "exit" to close the root user session.

About the Author

Kristen Waters has been writing for the computer industry since 2004. She has written training materials for both large and small computer companies as well as how-to and informative articles for many online publications. She holds Bachelor of Science degrees from both York College of Pennsylvania and the University of Maryland.