<?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: Password modification issue in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/password-modification-issue/m-p/3221846#M170441</link>
    <description>Tamer,&lt;BR /&gt;You said your system is trusted. Take a look at the /tcb/files/auth permissions.&lt;BR /&gt;Here are mine:&lt;BR /&gt;dr-xr-x--x   3 root       sys             96 Sep  9  2002 /tcb&lt;BR /&gt;drwxrwx--x   3 root       sys             96 Feb 20 16:53 files&lt;BR /&gt;drwx------  55 root       sys           1024 Sep  9  2002 auth&lt;BR /&gt;-rw-rw-r--   1 root       root         18060 Jun 16  2003 devassign&lt;BR /&gt;-rw-rw-r--   1 root       root         11280 Feb 20 16:53 ttys&lt;BR /&gt;&lt;BR /&gt;All the files under /tcb/files/auth should have the permissions like the following:&lt;BR /&gt;drwx------   2 root       sys             96 Sep  9  2002 z&lt;BR /&gt;&lt;BR /&gt;Let me know if they are different. That may be where the problem is.&lt;BR /&gt;&lt;BR /&gt;-Hazem</description>
    <pubDate>Wed, 17 Mar 2004 14:18:49 GMT</pubDate>
    <dc:creator>Hazem Mahmoud_3</dc:creator>
    <dc:date>2004-03-17T14:18:49Z</dc:date>
    <item>
      <title>Password modification issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-modification-issue/m-p/3221839#M170434</link>
      <description>I have a trusted HP-UX 10.20 system, I discovered a too serious:&lt;BR /&gt;any user CAN CHANGE the password for any other user(except for root)with command:&lt;BR /&gt;$passwd userid &lt;BR /&gt;and it is successfull !!!????&lt;BR /&gt;&lt;BR /&gt;**N.B:(this server exists in a LAN with NIS service, but this problem doesn't occur in the NIS master server or any other NIS client machine)&lt;BR /&gt;&lt;BR /&gt;Any Solutions from PROFESSIONALS.&lt;BR /&gt;&lt;BR /&gt;Tamer.</description>
      <pubDate>Wed, 17 Mar 2004 13:15:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-modification-issue/m-p/3221839#M170434</guid>
      <dc:creator>Tamer Shaalan</dc:creator>
      <dc:date>2004-03-17T13:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Password modification issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-modification-issue/m-p/3221840#M170435</link>
      <description>Please check modes of password related files. They must be like this:&lt;BR /&gt;hobbit:/# ll `whence passwd`&lt;BR /&gt;-r-sr-xr-x   5 root       bin          49152 May 23  2001 /usr/bin/passwd*&lt;BR /&gt;hobbit:/# ll /etc/passwd&lt;BR /&gt;-r--r--r--   1 root       other          768 Mar 14 17:32 /etc/passwd</description>
      <pubDate>Wed, 17 Mar 2004 13:28:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-modification-issue/m-p/3221840#M170435</guid>
      <dc:creator>Victor Fridyev</dc:creator>
      <dc:date>2004-03-17T13:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: Password modification issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-modification-issue/m-p/3221841#M170436</link>
      <description>Hi Victor,&lt;BR /&gt;this is the output :&lt;BR /&gt;# ll `whence passwd`&lt;BR /&gt;-r-sr-xr-x   1 root       bin          86016 Mar  3  1997 /usr/bin/passwd&lt;BR /&gt;# ll /etc/passwd&lt;BR /&gt;-r--r--r--   1 root       tnm           4211 Mar 17 12:56 /etc/passwd</description>
      <pubDate>Wed, 17 Mar 2004 13:40:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-modification-issue/m-p/3221841#M170436</guid>
      <dc:creator>Tamer Shaalan</dc:creator>
      <dc:date>2004-03-17T13:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: Password modification issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-modification-issue/m-p/3221842#M170437</link>
      <description>I can't really check right now, but it rings a bell..&lt;BR /&gt;&lt;BR /&gt;Did you issue the above as a user or as root ? At one time I've found several passwd binaries on (I think) a similar box, which wasn't good.&lt;BR /&gt;&lt;BR /&gt;Also, are you sure that -any user- can do this ? You're not su'ing from root or something ?&lt;BR /&gt;&lt;BR /&gt;Could you try, as root:&lt;BR /&gt;# useradd test1&lt;BR /&gt;# passwd test1&lt;BR /&gt;# useradd test2&lt;BR /&gt;# passwd test2&lt;BR /&gt;&lt;BR /&gt;Then log off -completely-, logon as test1 straight away, and try to set test2's password.&lt;BR /&gt;&lt;BR /&gt;If that works, I'm booting up a 10.20 again still this week !&lt;BR /&gt;&lt;BR /&gt;Greets&lt;BR /&gt;Wout</description>
      <pubDate>Wed, 17 Mar 2004 13:54:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-modification-issue/m-p/3221842#M170437</guid>
      <dc:creator>Wouter Jagers</dc:creator>
      <dc:date>2004-03-17T13:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: Password modification issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-modification-issue/m-p/3221843#M170438</link>
      <description>The only time I've heard of this happening is when permissions on /etc/passwd or the passwd command file are wrong. The prior posts should be a good guide to verifying and correcting this issue.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 17 Mar 2004 13:58:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-modification-issue/m-p/3221843#M170438</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-03-17T13:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: Password modification issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-modification-issue/m-p/3221844#M170439</link>
      <description>Dear Wouter,&lt;BR /&gt;I tried creating two users, test1 , test2 and test1 can change password to test2 !!!!&lt;BR /&gt;&lt;BR /&gt;SEP :&lt;BR /&gt;I posted the o/p to show permissions of files as you see from my previous post!!!</description>
      <pubDate>Wed, 17 Mar 2004 14:09:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-modification-issue/m-p/3221844#M170439</guid>
      <dc:creator>Tamer Shaalan</dc:creator>
      <dc:date>2004-03-17T14:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: Password modification issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-modification-issue/m-p/3221845#M170440</link>
      <description>I would also think there is a permissions problem somewhere. &lt;BR /&gt;&lt;BR /&gt;maybe the tcb directory? &lt;BR /&gt;dr-xr-x--x   3 root       sys             96 Jan 12 17:27 tcb&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Mar 2004 14:16:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-modification-issue/m-p/3221845#M170440</guid>
      <dc:creator>Marvin Strong</dc:creator>
      <dc:date>2004-03-17T14:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: Password modification issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-modification-issue/m-p/3221846#M170441</link>
      <description>Tamer,&lt;BR /&gt;You said your system is trusted. Take a look at the /tcb/files/auth permissions.&lt;BR /&gt;Here are mine:&lt;BR /&gt;dr-xr-x--x   3 root       sys             96 Sep  9  2002 /tcb&lt;BR /&gt;drwxrwx--x   3 root       sys             96 Feb 20 16:53 files&lt;BR /&gt;drwx------  55 root       sys           1024 Sep  9  2002 auth&lt;BR /&gt;-rw-rw-r--   1 root       root         18060 Jun 16  2003 devassign&lt;BR /&gt;-rw-rw-r--   1 root       root         11280 Feb 20 16:53 ttys&lt;BR /&gt;&lt;BR /&gt;All the files under /tcb/files/auth should have the permissions like the following:&lt;BR /&gt;drwx------   2 root       sys             96 Sep  9  2002 z&lt;BR /&gt;&lt;BR /&gt;Let me know if they are different. That may be where the problem is.&lt;BR /&gt;&lt;BR /&gt;-Hazem</description>
      <pubDate>Wed, 17 Mar 2004 14:18:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-modification-issue/m-p/3221846#M170441</guid>
      <dc:creator>Hazem Mahmoud_3</dc:creator>
      <dc:date>2004-03-17T14:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: Password modification issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-modification-issue/m-p/3221847#M170442</link>
      <description>Dear Hazem,&lt;BR /&gt;Really, I found some differences, corrected them to as what you posted(especially in :&lt;BR /&gt;/tcb/files/auth &amp;amp;&lt;BR /&gt;all files under auth&lt;BR /&gt;but even after correction, the issue is still exist!!!!</description>
      <pubDate>Wed, 17 Mar 2004 14:39:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-modification-issue/m-p/3221847#M170442</guid>
      <dc:creator>Tamer Shaalan</dc:creator>
      <dc:date>2004-03-17T14:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: Password modification issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-modification-issue/m-p/3221848#M170443</link>
      <description>Tamer,&lt;BR /&gt;I would recommend untrusting the system and then trusting it again. Let me know what happens after that.&lt;BR /&gt;And just out of curiousity, see if you have the same issue with the passwd command when the system is untrusted. This will at least help us to narrow down the problem.&lt;BR /&gt;Let us know happens.&lt;BR /&gt;&lt;BR /&gt;-Hazem</description>
      <pubDate>Wed, 17 Mar 2004 15:05:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-modification-issue/m-p/3221848#M170443</guid>
      <dc:creator>Hazem Mahmoud_3</dc:creator>
      <dc:date>2004-03-17T15:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: Password modification issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-modification-issue/m-p/3221849#M170444</link>
      <description>Hazem,&lt;BR /&gt;&lt;BR /&gt;Really, I am afraid from untrusting the system because I don't know what is the effect of that on users &amp;amp; installed applications. This is live system with heavy,continuous work.&lt;BR /&gt;&lt;BR /&gt;Any other ideas ???!!!&lt;BR /&gt;&lt;BR /&gt;Tamer.</description>
      <pubDate>Thu, 18 Mar 2004 08:31:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-modification-issue/m-p/3221849#M170444</guid>
      <dc:creator>Tamer Shaalan</dc:creator>
      <dc:date>2004-03-18T08:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: Password modification issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-modification-issue/m-p/3221850#M170445</link>
      <description>I think the clue here is that the users still can't change root's password.  Could you test to see if it is all the users not handled by NIS that are still ok.&lt;BR /&gt; &lt;BR /&gt;I can't quite see how NIS is going to allow any user to change another users account but I also can't see how the users can change any user except root.&lt;BR /&gt; &lt;BR /&gt;Perhaps we have unusual permissions on the NIS stuff, yppasswd or yppush.</description>
      <pubDate>Thu, 18 Mar 2004 08:37:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-modification-issue/m-p/3221850#M170445</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2004-03-18T08:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: Password modification issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-modification-issue/m-p/3221851#M170446</link>
      <description>Dear Mark,&lt;BR /&gt;&lt;BR /&gt;I already tried with non NIS users(from Wouter's thread) but it is still exist.&lt;BR /&gt; &lt;BR /&gt;Really, this machine is STAND ALONE machine (i.e.,it is not one of NIS machins) because you can't enable NIS as service in a TRUSTED SYSTEM at all!!&lt;BR /&gt;&lt;BR /&gt;All the relation between this machine and NIS is that :&lt;BR /&gt;Users home directories is an individual file system in this trusted machine, and this file system is MOUNTED AS NFS on all NIS machines (master server, secondary, and client machines).&lt;BR /&gt;&lt;BR /&gt;Thank you any way.&lt;BR /&gt;&lt;BR /&gt;Still Need Help !!!!&lt;BR /&gt;&lt;BR /&gt;Tamer.</description>
      <pubDate>Thu, 18 Mar 2004 09:54:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-modification-issue/m-p/3221851#M170446</guid>
      <dc:creator>Tamer Shaalan</dc:creator>
      <dc:date>2004-03-18T09:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: Password modification issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-modification-issue/m-p/3221852#M170447</link>
      <description>Tamer,&lt;BR /&gt;I think I may know where your problem is. Take a look at your user files (under /tcb/files/auth/&lt;FIRST_LETTER_OF_USERNAME&gt;). Take a look to see if there is a field defined as "u_pswduser=". This field basically defines which user is allowed to change this user's password. On my system that field doesn't even exist. It should not exist on your system either. It may be set to "@" or something like that.&lt;BR /&gt;Let me know if that is the case. If that is truly your problem, do not forget to also update the default file that is used when creating all these users (/tcb/files/auth/system/default) to prevent it from happening again in the future.&lt;BR /&gt;&lt;BR /&gt;-Hazem&lt;/FIRST_LETTER_OF_USERNAME&gt;</description>
      <pubDate>Thu, 18 Mar 2004 10:15:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-modification-issue/m-p/3221852#M170447</guid>
      <dc:creator>Hazem Mahmoud_3</dc:creator>
      <dc:date>2004-03-18T10:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: Password modification issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-modification-issue/m-p/3221853#M170448</link>
      <description>Hazem,&lt;BR /&gt;&lt;BR /&gt;This is some output :&lt;BR /&gt;# cd tcb/files/auth&lt;BR /&gt;# ll&lt;BR /&gt;&lt;BR /&gt;drwx------   2 root       sys             96 Feb 24 23:41 n&lt;BR /&gt;drwx------   2 root       sys             96 Nov 20  2002 o&lt;BR /&gt;drwx------   2 root       sys             96 Apr 26  2001 p&lt;BR /&gt;drwx------   2 root       sys             96 Jul 19  2000 q&lt;BR /&gt;drwx------   2 root       sys           1024 Mar 17 20:08 r&lt;BR /&gt;drwx------   2 root       sys           1024 Mar 17 21:33 s&lt;BR /&gt;drwx------   2 root       sys             96 Mar 17 21:00 system&lt;BR /&gt;drwx------   2 root       sys           1024 Mar 17 21:34 t&lt;BR /&gt;drwx------   2 root       sys             96 Jul 19  2000 u&lt;BR /&gt;&lt;BR /&gt;# cd s&lt;BR /&gt;# ll&lt;BR /&gt;total 12&lt;BR /&gt;-rw-rw-r--   1 root       root           174 Sep 23 15:07 sahar&lt;BR /&gt;-rw-rw-r--   1 root       root           185 Mar 31  2002 sameh&lt;BR /&gt;-rw-rw-r--   1 root       root           171 Mar  9 11:31 samira&lt;BR /&gt;-rw-rw-r--   1 root       root           183 Mar 17 21:33 samy&lt;BR /&gt;&lt;BR /&gt;I didn't find the field you mentioned, I found the following exactly:&lt;BR /&gt;&lt;BR /&gt;samy:u_name=samy:u_id#133:\&lt;BR /&gt;        :u_pwd=VALUE:\&lt;BR /&gt;    :u_auditid#VALUE     :\&lt;BR /&gt;    :u_auditflag#VALUE   :\&lt;BR /&gt;    :u_succhg#VALUE:u_unsucchg#VALUE:u_suclog#VALUE:u_lock@:\&lt;BR /&gt;    :chkent:&lt;BR /&gt;where VALUE is any value&lt;BR /&gt; &lt;BR /&gt;can you post me the fields from a user file in your machine (If you permit) to compare with mines&lt;BR /&gt;&lt;BR /&gt;Tamer.&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Mar 2004 15:49:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-modification-issue/m-p/3221853#M170448</guid>
      <dc:creator>Tamer Shaalan</dc:creator>
      <dc:date>2004-03-18T15:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: Password modification issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-modification-issue/m-p/3221854#M170449</link>
      <description>Make sure you are looking at the file that corresponds to the user that can have their password changed by someone else. So for example, if userA can change the password for userB, look at the file for userB and see the configs in that.&lt;BR /&gt;Here is one of mine:&lt;BR /&gt;&lt;BR /&gt;# more hmahmoud&lt;BR /&gt;hmahmoud:u_name=hmahmoud:u_id#111:\&lt;BR /&gt;        :u_pwd=&lt;VALUE&gt;:\&lt;BR /&gt;        :u_auditid#46:\&lt;BR /&gt;        :u_auditflag#1:\&lt;BR /&gt;        :u_succhg#1078930892:u_unsucchg#1079549652:u_suclog#1078932439:u_suctty=pts/3:\&lt;BR /&gt;        :u_unsuclog#1078930843:u_lock@:chkent:&lt;BR /&gt;&lt;/VALUE&gt;</description>
      <pubDate>Thu, 18 Mar 2004 18:06:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-modification-issue/m-p/3221854#M170449</guid>
      <dc:creator>Hazem Mahmoud_3</dc:creator>
      <dc:date>2004-03-18T18:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: Password modification issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-modification-issue/m-p/3221855#M170450</link>
      <description>Hazem:&lt;BR /&gt;&lt;BR /&gt;The user samy,who I sent the items of his file, his password can be changed by another user.&lt;BR /&gt;&lt;BR /&gt;I noticed that the field : &lt;BR /&gt;&lt;BR /&gt;u_suctty=pts/3:\&lt;BR /&gt;&lt;BR /&gt;is missing in my files. but I don't think this is an issue( I think it is related to tyys from which the allowed to login.&lt;BR /&gt;&lt;BR /&gt;Any other ideas !!!!!!!&lt;BR /&gt;&lt;BR /&gt;Tamer</description>
      <pubDate>Sat, 20 Mar 2004 12:43:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-modification-issue/m-p/3221855#M170450</guid>
      <dc:creator>Tamer Shaalan</dc:creator>
      <dc:date>2004-03-20T12:43:49Z</dc:date>
    </item>
  </channel>
</rss>

