<?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: modprpw -k username in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/modprpw-k-username/m-p/3781076#M263262</link>
    <description>##&lt;BR /&gt;# User alias specification&lt;BR /&gt;##&lt;BR /&gt;User_Alias      FULLTIMERS = nickd, mikef, dowdy&lt;BR /&gt;User_Alias      PARTTIMERS = tsaunder, dstart, cdouza, cknapp, langlcx, jwhite&lt;BR /&gt;##&lt;BR /&gt;# Host alias specification&lt;BR /&gt;##&lt;BR /&gt;Host_Alias      HPPA = istatux&lt;BR /&gt;##&lt;BR /&gt;# Cmnd alias specification&lt;BR /&gt;##&lt;BR /&gt;Cmnd_Alias      KILL = /usr/bin/kill&lt;BR /&gt;Cmnd_Alias      PRINTING = /usr/sbin/lpc, /usr/bin/lprm&lt;BR /&gt;Cmnd_Alias      VIPW = /usr/sbin/vipw, /usr/bin/passwd, /usr/bin/chsh, /usr/bin/chfn, /usr/lbin, /usr/lbin/modprpw&lt;BR /&gt;Cmnd_Alias      PASSWD = /usr/sbin/vipw, /usr/bin/passwd, /usr/bin/chsh, /usr/bin/chfn, /usr/lbin&lt;BR /&gt;Cmnd_Alias      CP = /usr/bin/cp&lt;BR /&gt;Cmnd_Alias      MV = /usr/bin/mv&lt;BR /&gt;&lt;BR /&gt;##&lt;BR /&gt;# users permissions&lt;BR /&gt;##&lt;BR /&gt;tsaunder        ALL = VIPW, PRINTING, CP&lt;BR /&gt;nathan          ALL = PRINTING, CP&lt;BR /&gt;smithmx         ALL = VIPW, PRINTING, CP&lt;BR /&gt;dstark          ALL = VIPW, PRINTING, CP&lt;BR /&gt;langlcx         ALL = VIPW, PRINTING, CP, PASSWD&lt;BR /&gt;whitejg         ALL = VIPW, PRINTING, CP</description>
    <pubDate>Tue, 02 May 2006 12:35:35 GMT</pubDate>
    <dc:creator>Nick D'Angelo</dc:creator>
    <dc:date>2006-05-02T12:35:35Z</dc:date>
    <item>
      <title>modprpw -k username</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modprpw-k-username/m-p/3781073#M263259</link>
      <description>HPUX 11i&lt;BR /&gt;I have setup sudo, but one user is having problems and receives the msg, Not Superuser when executing the command above.&lt;BR /&gt;&lt;BR /&gt;I have checked /etc/group and /etc/passwd to ensure that he is in the same group.&lt;BR /&gt;&lt;BR /&gt;Any ideas?</description>
      <pubDate>Tue, 02 May 2006 12:14:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modprpw-k-username/m-p/3781073#M263259</guid>
      <dc:creator>Nick D'Angelo</dc:creator>
      <dc:date>2006-05-02T12:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: modprpw -k username</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modprpw-k-username/m-p/3781074#M263260</link>
      <description>From the modprpw man page:&lt;BR /&gt;&lt;BR /&gt;" modprpw updates the user's protected password database settings.  This&lt;BR /&gt;      command is available only to the superuser in a trusted system. "</description>
      <pubDate>Tue, 02 May 2006 12:18:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modprpw-k-username/m-p/3781074#M263260</guid>
      <dc:creator>Christian Tremblay</dc:creator>
      <dc:date>2006-05-02T12:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: modprpw -k username</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modprpw-k-username/m-p/3781075#M263261</link>
      <description>What does your sudo configuration look like? Sounds like you didn't get that configured properly.</description>
      <pubDate>Tue, 02 May 2006 12:34:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modprpw-k-username/m-p/3781075#M263261</guid>
      <dc:creator>Jeff_Traigle</dc:creator>
      <dc:date>2006-05-02T12:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: modprpw -k username</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modprpw-k-username/m-p/3781076#M263262</link>
      <description>##&lt;BR /&gt;# User alias specification&lt;BR /&gt;##&lt;BR /&gt;User_Alias      FULLTIMERS = nickd, mikef, dowdy&lt;BR /&gt;User_Alias      PARTTIMERS = tsaunder, dstart, cdouza, cknapp, langlcx, jwhite&lt;BR /&gt;##&lt;BR /&gt;# Host alias specification&lt;BR /&gt;##&lt;BR /&gt;Host_Alias      HPPA = istatux&lt;BR /&gt;##&lt;BR /&gt;# Cmnd alias specification&lt;BR /&gt;##&lt;BR /&gt;Cmnd_Alias      KILL = /usr/bin/kill&lt;BR /&gt;Cmnd_Alias      PRINTING = /usr/sbin/lpc, /usr/bin/lprm&lt;BR /&gt;Cmnd_Alias      VIPW = /usr/sbin/vipw, /usr/bin/passwd, /usr/bin/chsh, /usr/bin/chfn, /usr/lbin, /usr/lbin/modprpw&lt;BR /&gt;Cmnd_Alias      PASSWD = /usr/sbin/vipw, /usr/bin/passwd, /usr/bin/chsh, /usr/bin/chfn, /usr/lbin&lt;BR /&gt;Cmnd_Alias      CP = /usr/bin/cp&lt;BR /&gt;Cmnd_Alias      MV = /usr/bin/mv&lt;BR /&gt;&lt;BR /&gt;##&lt;BR /&gt;# users permissions&lt;BR /&gt;##&lt;BR /&gt;tsaunder        ALL = VIPW, PRINTING, CP&lt;BR /&gt;nathan          ALL = PRINTING, CP&lt;BR /&gt;smithmx         ALL = VIPW, PRINTING, CP&lt;BR /&gt;dstark          ALL = VIPW, PRINTING, CP&lt;BR /&gt;langlcx         ALL = VIPW, PRINTING, CP, PASSWD&lt;BR /&gt;whitejg         ALL = VIPW, PRINTING, CP</description>
      <pubDate>Tue, 02 May 2006 12:35:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modprpw-k-username/m-p/3781076#M263262</guid>
      <dc:creator>Nick D'Angelo</dc:creator>
      <dc:date>2006-05-02T12:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: modprpw -k username</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modprpw-k-username/m-p/3781077#M263263</link>
      <description>How is the user executing the command?  Is he/she doing:&lt;BR /&gt;&lt;BR /&gt;$ sudo /usr/lbin/modprpw -k &lt;USERNAME&gt;&lt;BR /&gt;&lt;BR /&gt;If they omit the 'sudo' then you can receive a message exactly like you see.&lt;BR /&gt;&lt;BR /&gt;You should also verify the 'sudo' permissions and ownership.  It should be have '--s--x--x' for permissions and the owner and group should both be root.&lt;/USERNAME&gt;</description>
      <pubDate>Tue, 02 May 2006 13:07:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modprpw-k-username/m-p/3781077#M263263</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2006-05-02T13:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: modprpw -k username</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modprpw-k-username/m-p/3781078#M263264</link>
      <description>When I try and change the user's password, this is what I get.&lt;BR /&gt;&lt;BR /&gt;Cannot access protected password entry&lt;BR /&gt;&lt;BR /&gt;The other members of IT Support are able to /usr/bin/modprpw -k username so I do not believe that it is a syntax problem.&lt;BR /&gt;&lt;BR /&gt;I believe that the /tcb/auth files might be missing something to cmoplete his proper authentication for sudo.&lt;BR /&gt;&lt;BR /&gt;Nickd</description>
      <pubDate>Tue, 02 May 2006 14:35:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modprpw-k-username/m-p/3781078#M263264</guid>
      <dc:creator>Nick D'Angelo</dc:creator>
      <dc:date>2006-05-02T14:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: modprpw -k username</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modprpw-k-username/m-p/3781079#M263265</link>
      <description>Hmmm...&lt;BR /&gt;&lt;BR /&gt;What does:&lt;BR /&gt;&lt;BR /&gt;# pwck -s &lt;BR /&gt;&lt;BR /&gt;show?&lt;BR /&gt;&lt;BR /&gt;Does this user have the appropriate file in /tcb/files/auth//&lt;USERNAME&gt;&lt;BR /&gt;&lt;BR /&gt;Where the  is the first letter of the users username and &lt;USERNAME&gt; is the username.  For example for root the file is /tcb/files/auth/r/root.&lt;BR /&gt;&lt;BR /&gt;If that file does not exist then the user will definitely have problems.&lt;/USERNAME&gt;&lt;/USERNAME&gt;</description>
      <pubDate>Tue, 02 May 2006 14:39:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modprpw-k-username/m-p/3781079#M263265</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2006-05-02T14:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: modprpw -k username</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modprpw-k-username/m-p/3781080#M263266</link>
      <description>The IT user with sudo problems does not have an entry in the protected password database</description>
      <pubDate>Tue, 02 May 2006 14:44:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modprpw-k-username/m-p/3781080#M263266</guid>
      <dc:creator>Nick D'Angelo</dc:creator>
      <dc:date>2006-05-02T14:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: modprpw -k username</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modprpw-k-username/m-p/3781081#M263267</link>
      <description>I didnt understand problem completly .. &lt;BR /&gt;&lt;BR /&gt;but here is what if you want to reset user password or just reinvoke user &lt;BR /&gt;&lt;BR /&gt;/usr/lbin/modprpw -l -k user &lt;BR /&gt;/usr/lbin/modprpw -l -v user&lt;BR /&gt;&lt;BR /&gt;or change user password first and then issue above commands.. &lt;BR /&gt;&lt;BR /&gt;Next thing is &lt;BR /&gt;&lt;BR /&gt;/etc/sudoers, whatever access user needs, should be mentioned below this.. like %group will follow what accesses he will have.. make a entry for user.. &lt;BR /&gt;&lt;BR /&gt;Prashant&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 02 May 2006 15:29:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modprpw-k-username/m-p/3781081#M263267</guid>
      <dc:creator>Prashant Zanwar_4</dc:creator>
      <dc:date>2006-05-02T15:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: modprpw -k username</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modprpw-k-username/m-p/3781082#M263268</link>
      <description>Well, it needs one.  I'm not sure how the user was created without its entry in /tcb/files/auth/...., but in order for it to work, it has to be there.  The password, and a load of other information, is stored in that file.  I would advise deleting and re-creating that particular user either with useradd or through SAM.</description>
      <pubDate>Tue, 02 May 2006 18:45:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modprpw-k-username/m-p/3781082#M263268</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2006-05-02T18:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: modprpw -k username</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modprpw-k-username/m-p/3781083#M263269</link>
      <description>Also be aware that modprpw checks the REAL uid, not the EFFECTIVE uid when doing the test for superuser.&lt;BR /&gt;</description>
      <pubDate>Wed, 03 May 2006 15:02:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modprpw-k-username/m-p/3781083#M263269</guid>
      <dc:creator>doug hosking</dc:creator>
      <dc:date>2006-05-03T15:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: modprpw -k username</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modprpw-k-username/m-p/3781084#M263270</link>
      <description>If the problem user does not have an entry in the protected database, then the user ID is bogus and sudo is correctly denying acces. This often happens when someone edits the passwd file to add or delete a user -- something that will corrupt the passwd/tcb database. Be sure you tell EVERYONE that has vipw capability to never add or delete users with vi or vipw. The Trusted system is different than a simple passwd file.&lt;BR /&gt; &lt;BR /&gt;Delete the bad user and then re-add the user correctly with SAM or useradd.</description>
      <pubDate>Wed, 03 May 2006 17:33:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modprpw-k-username/m-p/3781084#M263270</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-05-03T17:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: modprpw -k username</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modprpw-k-username/m-p/3781085#M263271</link>
      <description>Bill, I am the only one who adds users and I never vi to add them.&lt;BR /&gt;&lt;BR /&gt;I use useradd as part of a script.&lt;BR /&gt;&lt;BR /&gt;I will delete the user using sam and add it using sam and get back to the forum.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 04 May 2006 07:49:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modprpw-k-username/m-p/3781085#M263271</guid>
      <dc:creator>Nick D'Angelo</dc:creator>
      <dc:date>2006-05-04T07:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: modprpw -k username</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modprpw-k-username/m-p/3781086#M263272</link>
      <description>I recreated the user using sam.&lt;BR /&gt;&lt;BR /&gt;I logged on as the user and completed the steps below and no go.&lt;BR /&gt;&lt;BR /&gt;$ cd /usr/lbin&lt;BR /&gt;$ ./modprpw -k tsaunder&lt;BR /&gt;Not Superuser.&lt;BR /&gt;&lt;BR /&gt;I have attached my sudoers file.&lt;BR /&gt;&lt;BR /&gt;There is an entry in the /tcb/files/auth/l directory for langlcx</description>
      <pubDate>Thu, 04 May 2006 07:57:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modprpw-k-username/m-p/3781086#M263272</guid>
      <dc:creator>Nick D'Angelo</dc:creator>
      <dc:date>2006-05-04T07:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: modprpw -k username</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modprpw-k-username/m-p/3781087#M263273</link>
      <description>In order to use 'sudo' you MUST preface the commands you run with sudo.  So to run your modprpw you should do:&lt;BR /&gt;&lt;BR /&gt;$ sudo /usr/lbin/modprpw -k &lt;USERNAME&gt;&lt;BR /&gt;&lt;BR /&gt;sudo can't do anything unless it is actually executed.&lt;/USERNAME&gt;</description>
      <pubDate>Thu, 04 May 2006 08:03:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modprpw-k-username/m-p/3781087#M263273</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2006-05-04T08:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: modprpw -k username</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modprpw-k-username/m-p/3781088#M263274</link>
      <description>I feel like such a loser.&lt;BR /&gt;&lt;BR /&gt;Sometimes you can't see the trees for the forest.&lt;BR /&gt;&lt;BR /&gt;If everyone would like full points, please post a reply due to my being a dolt.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 04 May 2006 08:07:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modprpw-k-username/m-p/3781088#M263274</guid>
      <dc:creator>Nick D'Angelo</dc:creator>
      <dc:date>2006-05-04T08:07:32Z</dc:date>
    </item>
  </channel>
</rss>

