<?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: passwd change.. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-change/m-p/5178531#M459581</link>
    <description>Sorry..i think i confused you..&lt;BR /&gt;&lt;BR /&gt;I attended one interview in that they asked me this question.&lt;BR /&gt;&lt;BR /&gt;We know that users canot edit /etc/passwd and /etc/shadow files.But by using 'passwd' cmd they can change their password.&lt;BR /&gt;is there any background  process or deamon for doing this?.&lt;BR /&gt;I know that root user can change any user passwd.&lt;BR /&gt;Regards,&lt;BR /&gt;Sri</description>
    <pubDate>Mon, 01 Jun 2009 08:10:02 GMT</pubDate>
    <dc:creator>vas_3</dc:creator>
    <dc:date>2009-06-01T08:10:02Z</dc:date>
    <item>
      <title>passwd change..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-change/m-p/5178524#M459574</link>
      <description>HI all,&lt;BR /&gt;&lt;BR /&gt;I have one basic question regarding passwd change of users.&lt;BR /&gt;How user can use 'passwd' command?.I mean how user are able to change their passwd?.They can't edit the /etc/passwd and /etc/shadow files..&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sri.</description>
      <pubDate>Mon, 01 Jun 2009 06:46:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-change/m-p/5178524#M459574</guid>
      <dc:creator>vas_3</dc:creator>
      <dc:date>2009-06-01T06:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: passwd change..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-change/m-p/5178525#M459575</link>
      <description>passwd has setuid root and root can change those files.</description>
      <pubDate>Mon, 01 Jun 2009 06:48:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-change/m-p/5178525#M459575</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-06-01T06:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: passwd change..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-change/m-p/5178526#M459576</link>
      <description>Dear vas&lt;BR /&gt;&lt;BR /&gt;no user can't edit that files only superuser&lt;BR /&gt;i mean root can do it&lt;BR /&gt;&lt;BR /&gt;thanks and regard&lt;BR /&gt;&lt;BR /&gt;Sajjad Sahir</description>
      <pubDate>Mon, 01 Jun 2009 06:50:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-change/m-p/5178526#M459576</guid>
      <dc:creator>Sajjad Sahir</dc:creator>
      <dc:date>2009-06-01T06:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: passwd change..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-change/m-p/5178527#M459577</link>
      <description>Hi Sahir,&lt;BR /&gt;&lt;BR /&gt;Users r using 'passwd' cmd for changing the passwd.That means they r indirectly editing the shadow files right.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sri.</description>
      <pubDate>Mon, 01 Jun 2009 06:55:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-change/m-p/5178527#M459577</guid>
      <dc:creator>vas_3</dc:creator>
      <dc:date>2009-06-01T06:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: passwd change..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-change/m-p/5178528#M459578</link>
      <description>Hello,&lt;BR /&gt;basically&lt;BR /&gt;only root user able to change, however you can assign sudo access to modify /etc/passwd and /etc/shadow files to any non-root user. thanks,</description>
      <pubDate>Mon, 01 Jun 2009 06:55:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-change/m-p/5178528#M459578</guid>
      <dc:creator>avizen9</dc:creator>
      <dc:date>2009-06-01T06:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: passwd change..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-change/m-p/5178529#M459579</link>
      <description>&amp;gt;Users are using passwd(1) for changing passwd(4). That means they are indirectly editing the shadow files right?&lt;BR /&gt;&lt;BR /&gt;Yes, but really root is editing those files.</description>
      <pubDate>Mon, 01 Jun 2009 07:10:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-change/m-p/5178529#M459579</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-06-01T07:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: passwd change..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-change/m-p/5178530#M459580</link>
      <description>Dear Vas&lt;BR /&gt;&lt;BR /&gt;Ordinary users can only change passwords corresponding to their login name. If an old password has been established, it is requested from the user. If valid, a new password is obtained. Once the new password is entered, it is determined if the old password has "aged" sufficiently. If password aging is not sufficient, the new password is rejected and passwd terminates. &lt;BR /&gt;&lt;BR /&gt;If password aging and construction requirements are met, the password is re-entered to ensure consistency. If the new copy differs, passwd repeats the new password prompting cycle, at most twice.&lt;BR /&gt;&lt;BR /&gt;A superuser, whose effective user ID is zero, is allowed to change any password and is not forced to comply with password aging. Superusers are not prompted for old passwords, unless they are attempting to change a superuser's password in a trusted system. On untrusted systems, superusers are not forced to comply with password construction requirements. Null passwords can be created by entering a carriage return in response to the prompt for a new password.&lt;BR /&gt;&lt;BR /&gt;For the files (local system) repository, if no /etc/shadow file exists, then the encrypted password is stored in the password field of /etc/passwd. If the /etc/shadow file exists, then the encrypted password is stored there, and an 'x' is added to the password field of /etc/passwd.&lt;BR /&gt;&lt;BR /&gt;Please remember don't allow any non root users to play with /etc/shadow and /etc/passwd files.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;thanks and regards&lt;BR /&gt;&lt;BR /&gt;Sajjad Sahir&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Jun 2009 07:46:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-change/m-p/5178530#M459580</guid>
      <dc:creator>Sajjad Sahir</dc:creator>
      <dc:date>2009-06-01T07:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: passwd change..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-change/m-p/5178531#M459581</link>
      <description>Sorry..i think i confused you..&lt;BR /&gt;&lt;BR /&gt;I attended one interview in that they asked me this question.&lt;BR /&gt;&lt;BR /&gt;We know that users canot edit /etc/passwd and /etc/shadow files.But by using 'passwd' cmd they can change their password.&lt;BR /&gt;is there any background  process or deamon for doing this?.&lt;BR /&gt;I know that root user can change any user passwd.&lt;BR /&gt;Regards,&lt;BR /&gt;Sri</description>
      <pubDate>Mon, 01 Jun 2009 08:10:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-change/m-p/5178531#M459581</guid>
      <dc:creator>vas_3</dc:creator>
      <dc:date>2009-06-01T08:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: passwd change..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-change/m-p/5178532#M459582</link>
      <description>&amp;gt;But by using passwd cmd they can change their password.  is there any background process or deamon for doing this?&lt;BR /&gt;&lt;BR /&gt;As I said above, when you run any setuid root program, you become root and it can edit those files.&lt;BR /&gt;The only "demon" might be the NIS process on the NIS server.  For "-r nis".</description>
      <pubDate>Mon, 01 Jun 2009 08:26:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-change/m-p/5178532#M459582</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-06-01T08:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: passwd change..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-change/m-p/5178533#M459583</link>
      <description>&amp;gt; We know that users canot edit /etc/passwd and /etc/shadow files.But by using 'passwd' cmd they can change their password.&lt;BR /&gt; &lt;BR /&gt;More accurately stated: We know users cannot run vi or similar program to edit the /etc/passwd file. But as mentioned, the passwd program is a special program that has elevated permission to perform a very specific task: to modify the passwd file on behalf of the user. This is done through permissions given this program that allow it to be run by anyone but be given permission as if it was run by root -- set user-ID or SUID is the common terminology.&lt;BR /&gt;  &lt;BR /&gt;&amp;gt; is there any background process or deamon for doing this?.&lt;BR /&gt; &lt;BR /&gt;No. The program does all the work. There are many programs that are configured this way. For instance, chsh allows you to change your shell in the passwd file -- the ll command will show programs that have set userID with the letter "s" in the permissions:&lt;BR /&gt; &lt;BR /&gt;-r-sr-xr-x   5 root       bin          53248 Apr 27  2007 chsh&lt;BR /&gt; &lt;BR /&gt;This is standard Unix behavior to allow special privileges with certain commands. Some of the details are shown in the man page for ls.</description>
      <pubDate>Mon, 01 Jun 2009 16:17:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-change/m-p/5178533#M459583</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2009-06-01T16:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: passwd change..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-change/m-p/5178534#M459584</link>
      <description>Thanks for your help.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Srinu.</description>
      <pubDate>Tue, 02 Jun 2009 03:40:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-change/m-p/5178534#M459584</guid>
      <dc:creator>vas_3</dc:creator>
      <dc:date>2009-06-02T03:40:41Z</dc:date>
    </item>
  </channel>
</rss>

