<?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: Changing user password in HP-UX programmatically in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-user-password-in-hp-ux-programmatically/m-p/2525327#M728616</link>
    <description>Yes, man putpwent(3C) (non trusted systems), putprent(3C) (trusted systems), and yppasswd(3N) for NIS environments. You will also need to look at getpass and crypt(3). This is one of the few cases where NIS is probably the easist method. But the process is rather simple in c.&lt;BR /&gt;&lt;BR /&gt;One thing to remember - while doing development&lt;BR /&gt;make sure that 1) you have copied a good version of /etc/passwd to a safe place 2) you are logged on as root in at least one other place so that you can replace your corrupt passwd file; and 3) after modifying the passwd file with your code run pwck to make sure all is well.&lt;BR /&gt;&lt;BR /&gt;This should get you started, Clay.&lt;BR /&gt;</description>
    <pubDate>Sun, 06 May 2001 18:19:03 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2001-05-06T18:19:03Z</dc:date>
    <item>
      <title>Changing user password in HP-UX programmatically</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-user-password-in-hp-ux-programmatically/m-p/2525326#M728615</link>
      <description>Is there anyway -using shell scripting or C program- to change the user password programmatically. "I thing it can be done using TCL / Expect" but is there any simpler way ???&lt;BR /&gt;&lt;BR /&gt;Thank You&lt;BR /&gt;Ahmed</description>
      <pubDate>Sun, 06 May 2001 11:10:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-user-password-in-hp-ux-programmatically/m-p/2525326#M728615</guid>
      <dc:creator>Ahmed Atef</dc:creator>
      <dc:date>2001-05-06T11:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: Changing user password in HP-UX programmatically</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-user-password-in-hp-ux-programmatically/m-p/2525327#M728616</link>
      <description>Yes, man putpwent(3C) (non trusted systems), putprent(3C) (trusted systems), and yppasswd(3N) for NIS environments. You will also need to look at getpass and crypt(3). This is one of the few cases where NIS is probably the easist method. But the process is rather simple in c.&lt;BR /&gt;&lt;BR /&gt;One thing to remember - while doing development&lt;BR /&gt;make sure that 1) you have copied a good version of /etc/passwd to a safe place 2) you are logged on as root in at least one other place so that you can replace your corrupt passwd file; and 3) after modifying the passwd file with your code run pwck to make sure all is well.&lt;BR /&gt;&lt;BR /&gt;This should get you started, Clay.&lt;BR /&gt;</description>
      <pubDate>Sun, 06 May 2001 18:19:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-user-password-in-hp-ux-programmatically/m-p/2525327#M728616</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-05-06T18:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: Changing user password in HP-UX programmatically</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-user-password-in-hp-ux-programmatically/m-p/2525328#M728617</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;try using the expect tool. You can download and read about it at &lt;A href="http://expect.nist.gov" target="_blank"&gt;http://expect.nist.gov&lt;/A&gt;&lt;BR /&gt;It's really useful for a lot of things.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Theo</description>
      <pubDate>Mon, 07 May 2001 11:01:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-user-password-in-hp-ux-programmatically/m-p/2525328#M728617</guid>
      <dc:creator>Theo Wawers</dc:creator>
      <dc:date>2001-05-07T11:01:04Z</dc:date>
    </item>
  </channel>
</rss>

