Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, I want to create the users and set the passwords to 'eW4hNXNIc' for all new users.I don't want any prompts or confirmation when creating the users. Is there a ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    May 2012
    Posts
    110

    Change password with out any prompt, How ?


    Hi,

    I want to create the users and set the passwords to 'eW4hNXNIc' for all new users.I don't want any prompts or confirmation when creating the users.

    Is there a way to achieve this in REDHAT LINUX ? Can some one help?


    regards,
    aparna.

  2. #2
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    Code:
    echo "yourpassword"|passwd --stdin username
    man passwd

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •