Loading ...
Sorry, an error occurred while loading the content.

Re: [redhat] need help in creating new user

Expand Messages
  • Asmaa Sh
    useradd   -md  /home/asmaa   -s /bin/bash   asmaa ________________________________ From: Hyatt, Dan To:
    Message 1 of 4 , Sep 14, 2010
      useradd   -md  /home/asmaa   -s /bin/bash   asmaa

      From: "Hyatt, Dan" <DHyatt@...>
      To: redhat@yahoogroups.com
      Sent: Tue, September 14, 2010 6:29:17 PM
      Subject: RE: [redhat] need help in creating new user



      From: redhat@yahoogroups.com [mailto:redhat@yahoogroups.com] On Behalf
      Of Raja Shekar
      Sent: September 13, 2010 9:45 AM
      To: redhat@yahoogroups.com
      Subject: [redhat] need help in creating new user

      Hi all,
      I am pretty new to RedHat. I tried to create new user account
      in RedHat 9 using command line.

      I gave following commands as super user:
      *useradd -u 515 -m -d /home/raj -s /bin/csh raj*
      *userpasswd raj ( To create password first time)*
      After using these two commands I can able to login in the terminal, but
      could not able to log in through log in screen vch shows after booting
      When I do create new user account through GUI ( systemsetting > user and
      groups),its working perfectly.

      I noticed the difference that it is writing encrypted password in *
      /etc/shadow* file through GUI but through command line, it is writing
      *!! * in password entry.
      *Any reply would really appreciate.*

      Thanks & regards

      -- RedHat 9 is so old, I don't remember what is going on. Why are you
      using csh instead of bash? I would create users without the arguments
      and test them, adding one of your arguments at a time until you find the
      one tripping you up.

      If you can login from the command line, you should be able to log in
      from the GUI, they both run the same commands under the covers.

      I would recommend getting Fedora which is free, or get a temporary copy
      of RedHat to install.

      This e-mail and its attachments may contain Forest Laboratories, Inc.
      proprietary information that is privileged, confidential or subject to copyright
      belonging to Forest Laboratories, Inc. This e-mail is intended solely for the
      use of the individual or entity to which it is addressed. If you are not the
      intended recipient of this e-mail, or the employee or agent responsible for
      delivering this e-mail to the intended recipient, you are hereby notified that
      any dissemination, distribution, copying or action taken in relation to the
      contents of and attachments to this e-mail is strictly prohibited and may be
      unlawful. If you have received this e-mail in error, please notify the sender
      immediately and permanently delete the original and any copy of this e-mail and
      any printout.

      [Non-text portions of this message have been removed]

      [Non-text portions of this message have been removed]
    Your message has been successfully submitted and would be delivered to recipients shortly.