• Home
  • About
  • Map
  • Archives
  • Videos
  • Gallery
Grab the RSS feed

spiralbound.net

spiralbound.net
  • Home
  • Adventures
  • Data and Technology
  • Et cetera
  • Highlights

RHEL useradd Syntax

  • Data and Technology

    Posted on July 25th, 2007

    Written by cliff

    Related Posts

    • Setting Up The Automounter Service on RHEL
    • Getting ntpd to work correctly on RHEL
    • Installing OpenGroupWare 1.1.5 on RHEL 3

    Tags

    add user, cli, command line, computerr, linux, remember, rhel, server, syntax, unix, user, useradd

    Unlike other flavors of UNIX, RHEL does not have a command like adduser which walks you through the process step-by-step, so you have to remember the four flags useradd requires, and in what order it expects to receive them. Since I don’t manually add users unless I’m installing a new server, I don’t run the command enough to remember the syntax… It’s basically the same as it is on Solaris.

    useradd -g group -c 'User Name' -d /path/to/home/directory -s /bin/bash username

    This entry was posted on Wednesday, July 25th, 2007 at 5:13 pm and is filed under Data and Technology. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
  • 2 Comments

    Take a look at some of the responses we have had to this article.

    1. Debasis chakraborty
      Jan 2nd
      Reply

      plz send me all details of user admn commands on RHEL 4.0 it will help me out thanks for the web site ,i am getting help..

      • cliff
        Jan 3rd
        Reply

        RTFM!

        # man yourcommand

        This simple command will give you all details of user admn commands on RHEL 4.0.

  • Leave a Reply

    Let us know what you thought. Click here to cancel reply.

  • Name(required):

    Email(required):

    Website:

    Message:

  • Sponsor
  • Recent Comments
    • fabioamd87 on IFCONFIG Does Not give You Link Status; ETHTOOL Does
    • Komil on Quick Start Guide for Asterisk
    • cheap tiffany s jewelry and mont blanc pens on German Kite Skates Across Australia
    • Kim on Giant Rabbits in North Korea
    • Emad on Little Japanese Trucks
    • Jonathan on Why Did my Arm Fall Asleep?
    • Jenn on 802 – Hip Hop Vermont Style

Copyright © 2010 spiralbound.net - Powered by Wordpress