<?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: not allowed to run passwd in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-not-allowed-to-run-passwd/m-p/3291328#M744562</link>
    <description>In response to Sridhar Bhaskarla, the default file was already posted earlier.</description>
    <pubDate>Tue, 01 Jun 2004 15:41:29 GMT</pubDate>
    <dc:creator>Dan Corrin</dc:creator>
    <dc:date>2004-06-01T15:41:29Z</dc:date>
    <item>
      <title>passwd: not allowed to run passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-not-allowed-to-run-passwd/m-p/3291320#M744554</link>
      <description>I have a 10.20 system in trusted mode. I run into this problem for most users on the&lt;BR /&gt;system, running passwd as root.&lt;BR /&gt;I am aware that root has a problem with overriding the u_pswduser= flag on 10.20 systems, and the default entry seems normal.&lt;BR /&gt;An example of an entry is:&lt;BR /&gt;sys:u_name=sys:u_id#3:\&lt;BR /&gt;        :u_pwd=*:\&lt;BR /&gt;        :u_auditid#3:\&lt;BR /&gt;        :u_auditflag#1:\&lt;BR /&gt;        :u_unsucchg#1086019826:u_suclog#890421064:u_lock@:\&lt;BR /&gt;        :chkent:&lt;BR /&gt;root@ecdev105:/tcb/files/auth/s# passwd sys&lt;BR /&gt;Last successful password change for sys: NEVER&lt;BR /&gt;Last unsuccessful password change for sys: Mon May 31 12:10:26 2004&lt;BR /&gt;&lt;BR /&gt;passwd: not allowed to run passwd&lt;BR /&gt;</description>
      <pubDate>Mon, 31 May 2004 11:13:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-not-allowed-to-run-passwd/m-p/3291320#M744554</guid>
      <dc:creator>Dan Corrin</dc:creator>
      <dc:date>2004-05-31T11:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: passwd: not allowed to run passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-not-allowed-to-run-passwd/m-p/3291321#M744555</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I'm not sure, if this will help. I have found some note about passwordaging in my notes:&lt;BR /&gt;&lt;BR /&gt;Setting Password restrictions w/o a trusted system , HP/UX, trusted system &lt;BR /&gt;       Before the invention of trusted systems you could put a letter and number combination in your password file. Thi still works today. I managed to fin this in old HP&lt;BR /&gt;       System Admin Student Workbook. At the end of the encrypted password you add ,char1char2 char1 is the maximum number of weeks the password is valid and&lt;BR /&gt;       char2 is the minimum number of weeks that must pass before the password can be changed. The following is a good guide: Value # of weeks&lt;BR /&gt;       . 0&lt;BR /&gt;       / 1&lt;BR /&gt;       0-9 2-11&lt;BR /&gt;       A-Z 12-37&lt;BR /&gt;       a-z 38-63&lt;BR /&gt;       so for example if you wanted a user to change their password somewhere between 11 and 2 weeks you would put ,A9. (man 4 passwd) &lt;BR /&gt;&lt;BR /&gt;May be, this gives you some idea wher to look for the problem. &lt;BR /&gt;&lt;BR /&gt;Bye&lt;BR /&gt;Ralf</description>
      <pubDate>Tue, 01 Jun 2004 01:33:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-not-allowed-to-run-passwd/m-p/3291321#M744555</guid>
      <dc:creator>Ralf Seefeldt</dc:creator>
      <dc:date>2004-06-01T01:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: passwd: not allowed to run passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-not-allowed-to-run-passwd/m-p/3291322#M744556</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;just like to confirm the permission of passwd:&lt;BR /&gt;&lt;BR /&gt;# ll /usr/bin/passwd&lt;BR /&gt;-r-sr-xr-x  5 root   bin&lt;BR /&gt;   ^&lt;BR /&gt;  /|\&lt;BR /&gt;   |&lt;BR /&gt;&lt;BR /&gt;it should have SUID bit set.&lt;BR /&gt;&lt;BR /&gt;regards.</description>
      <pubDate>Tue, 01 Jun 2004 01:47:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-not-allowed-to-run-passwd/m-p/3291322#M744556</guid>
      <dc:creator>Joseph Loo</dc:creator>
      <dc:date>2004-06-01T01:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: passwd: not allowed to run passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-not-allowed-to-run-passwd/m-p/3291323#M744557</link>
      <description>&lt;BR /&gt;In reply to Joseph Loo, I am trying to run the passwd command as root, but in any case it is suid root.&lt;BR /&gt;-r-sr-xr-x   1 root       bin          86016 Mar  3  1997 /bin/passwd&lt;BR /&gt;&lt;BR /&gt;I have attached my /tcb/files/auth/system/default file in case that has any bearing...&lt;BR /&gt;&lt;BR /&gt;Just to clairify, this affects every account on the system, I chose sys for the example as it is a clean/simple entry.</description>
      <pubDate>Tue, 01 Jun 2004 07:42:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-not-allowed-to-run-passwd/m-p/3291323#M744557</guid>
      <dc:creator>Dan Corrin</dc:creator>
      <dc:date>2004-06-01T07:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: passwd: not allowed to run passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-not-allowed-to-run-passwd/m-p/3291324#M744558</link>
      <description>I've seen this before when the tcb became corrupt.  Try pwck and authck, to see if you can spot the issue.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Jun 2004 10:36:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-not-allowed-to-run-passwd/m-p/3291324#M744558</guid>
      <dc:creator>Christopher Caldwell</dc:creator>
      <dc:date>2004-06-01T10:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: passwd: not allowed to run passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-not-allowed-to-run-passwd/m-p/3291325#M744559</link>
      <description>Thanks to Christopher Caldwell, but it didn't help. Running pwck shows a few missing home directories, and authck just verifies my problem: (I also tried deleting pw_id_map so it was re-created, turning auditing off).&lt;BR /&gt;&lt;BR /&gt;root@ecdev105:/# authck -p -v&lt;BR /&gt;finding all entries in the Protected Password database, in /tcb/files/auth&lt;BR /&gt;&lt;BR /&gt;Checking format of files in Protected Password database /tcb/files/auth&lt;BR /&gt;finding all entries in the Protected Password database, in /tcb/files/auth&lt;BR /&gt;Format of all Protected Password entries OK&lt;BR /&gt;&lt;BR /&gt;Checking Protected Password against getprpwent()&lt;BR /&gt;&lt;BR /&gt;Checking Protected Password against /etc/passwd&lt;BR /&gt;&lt;BR /&gt;Checking Protected Password fields against those in /etc/passwd&lt;BR /&gt;&lt;BR /&gt;Checking internal consistency of Protected Password fields&lt;BR /&gt;root cannot have a password set on the account&lt;BR /&gt;daemon cannot have a password set on the account&lt;BR /&gt;bin cannot have a password set on the account&lt;BR /&gt;sys cannot have a password set on the account&lt;BR /&gt;adm cannot have a password set on the account&lt;BR /&gt;etc.&lt;BR /&gt;(If only it would say why...)</description>
      <pubDate>Tue, 01 Jun 2004 11:13:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-not-allowed-to-run-passwd/m-p/3291325#M744559</guid>
      <dc:creator>Dan Corrin</dc:creator>
      <dc:date>2004-06-01T11:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: passwd: not allowed to run passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-not-allowed-to-run-passwd/m-p/3291326#M744560</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Three options:-&lt;BR /&gt;&lt;BR /&gt;1.   Check patch levels.&lt;BR /&gt;2.   Turn off and then back on trusted mode.&lt;BR /&gt;3.   Upgrade to ver 11 (10.20) is now not supported.&lt;BR /&gt;&lt;BR /&gt;Did this ever work and if so what has changed?&lt;BR /&gt;&lt;BR /&gt;Paula&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Jun 2004 13:13:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-not-allowed-to-run-passwd/m-p/3291326#M744560</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2004-06-01T13:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: passwd: not allowed to run passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-not-allowed-to-run-passwd/m-p/3291327#M744561</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Can you post the contents of /tcb/files/auth/system/default?  I believe this file might have gotten corrupted.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Tue, 01 Jun 2004 15:16:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-not-allowed-to-run-passwd/m-p/3291327#M744561</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-06-01T15:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: passwd: not allowed to run passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-not-allowed-to-run-passwd/m-p/3291328#M744562</link>
      <description>In response to Sridhar Bhaskarla, the default file was already posted earlier.</description>
      <pubDate>Tue, 01 Jun 2004 15:41:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-not-allowed-to-run-passwd/m-p/3291328#M744562</guid>
      <dc:creator>Dan Corrin</dc:creator>
      <dc:date>2004-06-01T15:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: passwd: not allowed to run passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-not-allowed-to-run-passwd/m-p/3291329#M744563</link>
      <description>&lt;BR /&gt;Okay, I have the solution. It was, as supposed, the default file that was the problem, the entry u_pickpw was missing.&lt;BR /&gt;After converting to untrusted and back again, passwd started working, so I traced the problem back to the default file, and added in entries one at a time to the original until it worked.</description>
      <pubDate>Wed, 02 Jun 2004 07:56:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-not-allowed-to-run-passwd/m-p/3291329#M744563</guid>
      <dc:creator>Dan Corrin</dc:creator>
      <dc:date>2004-06-02T07:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: passwd: not allowed to run passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-not-allowed-to-run-passwd/m-p/3291330#M744564</link>
      <description>for the record: I had similar problem and authck -pv gave lots of errors re: user  cannot have a password set on the account.  I checked the /tcb/files/auth/system/default file and the   u_pswduser entry had a user listed that did not exist (hmm...).  Changing value to root fixed it.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Chuck Davis</description>
      <pubDate>Tue, 08 Jun 2004 09:46:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-not-allowed-to-run-passwd/m-p/3291330#M744564</guid>
      <dc:creator>Daryl Much</dc:creator>
      <dc:date>2004-06-08T09:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: passwd: not allowed to run passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-not-allowed-to-run-passwd/m-p/3291331#M744565</link>
      <description>I had a similar problem and I traced it back to a directory in /var/spool/cron/crontabs that needed to be deleted.   I had created a directory named 'backup' in the past to hold previous crontab files.   When I converted to trusted it did display an error about the conversion failing but it looked like trusted security was really working.  All the dialogs worked ok.   When I ran authck -p every entry in /etc/passwd had the "cannot change password" message.&lt;BR /&gt;&lt;BR /&gt;I went back into the sam log and noticed the problem lied with the /var/spool/cron/crontabs/backup directory.   I then untrusted the system, removed /var/spool/cron/crontabs/backup and then trusted the system with no errors.&lt;BR /&gt;&lt;BR /&gt;I was fortunate to do this testing on a non-production server.&lt;BR /&gt;&lt;BR /&gt;authck -p now returns no errors.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Feb 2005 10:04:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-not-allowed-to-run-passwd/m-p/3291331#M744565</guid>
      <dc:creator>Jack C. Mahaffey</dc:creator>
      <dc:date>2005-02-09T10:04:12Z</dc:date>
    </item>
  </channel>
</rss>

