About nixCraft

Topics

Solaris modify a user account

Posted by Vivek Gite [Last updated: March 16, 2006]

You need to use usermod command. The usermod utility modifies a user's login definition on the system. It changes the definition of the specified login and makes the appropriate login-related system file and file system changes.

For example adds user didi to the group called pusers.
# usermod -G pusers didi

Both useradd and usermod support following common options:

These are most common options read man page of usremod for rest of all options.

Caution
According to man page of usermod "The system file entries created with this command have a
limit of 512 characters per line. Specifying long arguments to several options may exceed this limit."

E-mail this to a friend      Printable version

You may also be interested in other helpful articles:

Leave a Reply

We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Copyright © 2004-2008 nixCraft. All rights reserved - TOS/Disclaimer - Privacy policy - Sitemap - Powered by Open source software.