<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to set MD5 encrypted password for new user in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/how-to-set-md5-encrypted-password-for-new-user/m-p/4993154#M47488</link>
    <description>I wonder if the following will help, assuming that in authconfig "use md5 passwords" is selected.&lt;BR /&gt;useradd user1;&lt;BR /&gt;echo password |passwd user1 --stdin;</description>
    <pubDate>Wed, 26 Jul 2006 03:44:53 GMT</pubDate>
    <dc:creator>Alexander Chuzhoy</dc:creator>
    <dc:date>2006-07-26T03:44:53Z</dc:date>
    <item>
      <title>How to set MD5 encrypted password for new user</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-set-md5-encrypted-password-for-new-user/m-p/4993153#M47487</link>
      <description>I'd like to create a user account on every new linux box. I'd like to setup password for this use using MD5 hash from /etc/shadow from existing system.&lt;BR /&gt;But as far as I see, "useradd -p" accepts only "crypt", not MD5.&lt;BR /&gt;&lt;BR /&gt;Is there another  simple method to set up password for new user using MD5 hash?&lt;BR /&gt;&lt;BR /&gt;(there is RHEL3 update 6)</description>
      <pubDate>Wed, 26 Jul 2006 03:22:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-set-md5-encrypted-password-for-new-user/m-p/4993153#M47487</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2006-07-26T03:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to set MD5 encrypted password for new user</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-set-md5-encrypted-password-for-new-user/m-p/4993154#M47488</link>
      <description>I wonder if the following will help, assuming that in authconfig "use md5 passwords" is selected.&lt;BR /&gt;useradd user1;&lt;BR /&gt;echo password |passwd user1 --stdin;</description>
      <pubDate>Wed, 26 Jul 2006 03:44:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-set-md5-encrypted-password-for-new-user/m-p/4993154#M47488</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2006-07-26T03:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to set MD5 encrypted password for new user</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-set-md5-encrypted-password-for-new-user/m-p/4993155#M47489</link>
      <description>as far as I see, in your example I should using palin-text password and I'd like to avoid this.&lt;BR /&gt;I want to use MD5 string from existing shadow file like  "$1$.fdYDaVj$G8zLaaP/Eym0hkokPCnSZ0"</description>
      <pubDate>Wed, 26 Jul 2006 03:56:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-set-md5-encrypted-password-for-new-user/m-p/4993155#M47489</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2006-07-26T03:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to set MD5 encrypted password for new user</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-set-md5-encrypted-password-for-new-user/m-p/4993156#M47490</link>
      <description>If your system use MD5 hashes (MD5crypt function) as standard(for all users)...&lt;BR /&gt;You can just add new user with any password and then just edit /etc/shadow (and it should) be OK, of course must be root to do that.</description>
      <pubDate>Wed, 26 Jul 2006 05:13:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-set-md5-encrypted-password-for-new-user/m-p/4993156#M47490</guid>
      <dc:creator>g33k</dc:creator>
      <dc:date>2006-07-26T05:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to set MD5 encrypted password for new user</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-set-md5-encrypted-password-for-new-user/m-p/4993157#M47491</link>
      <description>g33k, thanks, I'm aware about possibility to edit /etc/shadow with sed/perl/..., but I'd like to do this in more elegant way.</description>
      <pubDate>Wed, 26 Jul 2006 06:13:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-set-md5-encrypted-password-for-new-user/m-p/4993157#M47491</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2006-07-26T06:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to set MD5 encrypted password for new user</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-set-md5-encrypted-password-for-new-user/m-p/4993158#M47492</link>
      <description>There is a command "chpasswd".&lt;BR /&gt;First you must create a file (or something you can pipe to chpasswd command) with the following structure:&lt;BR /&gt;&lt;USERNAME1&gt;:&lt;PASSWORD1&gt;&lt;BR /&gt;&lt;USERNAME2&gt;:&lt;PASSWORD2&gt;&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;The passwords can be encrypted or plaintext. If the passwords are already encrypted (by whatever method), you must use the -e option with the chpasswd command.&lt;/PASSWORD2&gt;&lt;/USERNAME2&gt;&lt;/PASSWORD1&gt;&lt;/USERNAME1&gt;</description>
      <pubDate>Wed, 26 Jul 2006 09:17:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-set-md5-encrypted-password-for-new-user/m-p/4993158#M47492</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2006-07-26T09:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to set MD5 encrypted password for new user</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-set-md5-encrypted-password-for-new-user/m-p/4993159#M47493</link>
      <description>Matti, many thanks! it works.&lt;BR /&gt;&lt;BR /&gt;happy sysadmin day to you and all forumers!</description>
      <pubDate>Thu, 27 Jul 2006 02:30:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-set-md5-encrypted-password-for-new-user/m-p/4993159#M47493</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2006-07-27T02:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to set MD5 encrypted password for new user</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-set-md5-encrypted-password-for-new-user/m-p/4993160#M47494</link>
      <description>thanks to all - chpasswd works!</description>
      <pubDate>Thu, 27 Jul 2006 02:31:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-set-md5-encrypted-password-for-new-user/m-p/4993160#M47494</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2006-07-27T02:31:53Z</dc:date>
    </item>
  </channel>
</rss>

