Solaris: Adding a new user - LUX.ET.UMBRA
38

Solaris: Adding a new user

| | Comments (0) | TrackBacks (0)

solaris.jpg User additions are no different in Solaris. The useradd command is what's used to do the addition (must be done as the root user).

The -g flag defines which group you're adding the user into, and the -d flag defines the user's home directory. Obviously the last part is the username that you're trying to add. Also, always remember to use the -m flag. This flag creates the user's initial directory structure from the skeleton directory, and gives it the right permissions. If you forget to do this, you'll have to do it manually.

# useradd -g users -m -d /home/export/username username

0 TrackBacks

Listed below are links to blogs that reference this entry: Solaris: Adding a new user.

TrackBack URL for this entry: http://life.firelace.com/mt-cgi/mt-tb.cgi/7655

Leave a comment

 

About this Entry

This page contains a single entry by darkmoon published on July 28, 2008 12:01 AM.

GTalk gadget was the previous entry in this blog.

Ginger Chews packaging look scary is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

 

 

 

 

Powered by Movable Type 4.23-en