<?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 Password checking in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/password-checking/m-p/3605543#M104162</link>
    <description>Is there possible to check password for user login validation in login script and tell me the example</description>
    <pubDate>Wed, 17 Aug 2005 07:47:40 GMT</pubDate>
    <dc:creator>Karthick K S</dc:creator>
    <dc:date>2005-08-17T07:47:40Z</dc:date>
    <item>
      <title>Password checking</title>
      <link>https://community.hpe.com/t5/operating-system-linux/password-checking/m-p/3605543#M104162</link>
      <description>Is there possible to check password for user login validation in login script and tell me the example</description>
      <pubDate>Wed, 17 Aug 2005 07:47:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/password-checking/m-p/3605543#M104162</guid>
      <dc:creator>Karthick K S</dc:creator>
      <dc:date>2005-08-17T07:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: Password checking</title>
      <link>https://community.hpe.com/t5/operating-system-linux/password-checking/m-p/3605544#M104163</link>
      <description>Hey;&lt;BR /&gt;&lt;BR /&gt;If I'm understanding you correctly, you can do the same thing any UNIX system does when it verifies identify on login.&lt;BR /&gt;&lt;BR /&gt;1.  Obtain the encrypted password from the password file (getpwent)&lt;BR /&gt;&lt;BR /&gt;2.  Obtain the password from the user.  Encrypt the user-supplied password using the same salt as was used with the encrypted password. (crypt)&lt;BR /&gt;&lt;BR /&gt;3.  Do a simple string comparison of the two encrypted pwds.  If they're equal, they're the same password; otherwise, the user entered the wrong password.&lt;BR /&gt;&lt;BR /&gt;HTH;&lt;BR /&gt;&lt;BR /&gt;Doug&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Aug 2005 08:00:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/password-checking/m-p/3605544#M104163</guid>
      <dc:creator>Doug O'Leary</dc:creator>
      <dc:date>2005-08-17T08:00:43Z</dc:date>
    </item>
  </channel>
</rss>

