<?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: Can not start SAM anymore in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-start-sam-anymore/m-p/2477912#M17784</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;results :&lt;BR /&gt;&lt;BR /&gt;# id -nu&lt;BR /&gt;root&lt;BR /&gt;# which sam&lt;BR /&gt;/usr/sbin/sam&lt;BR /&gt;# ls -l /usr/sbin/sam&lt;BR /&gt;-r-sr-sr-x 1 bin bin 7248 Oct 27 1997 /usr/sbin/sam&lt;BR /&gt;-----------------------&lt;BR /&gt;There's no other user with id 0 than root.&lt;BR /&gt;&lt;BR /&gt;i installed a set of patches, but not on sam itself (i don't think so in fact)&lt;BR /&gt;&lt;BR /&gt;The newer i installed are:&lt;BR /&gt;PHCO_13809&lt;BR /&gt;PHCO_21833&lt;BR /&gt;PHCO_22076&lt;BR /&gt;PHNE_21433&lt;BR /&gt;PHSS_20863&lt;BR /&gt;PHSS_21959&lt;BR /&gt;PHSS_21982&lt;BR /&gt;PHSS_22341&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The funny thing is that i have the message "WARNING:  YOU ARE SUPERUSER !!" at logon...&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Stephane</description>
    <pubDate>Wed, 03 Jan 2001 08:37:13 GMT</pubDate>
    <dc:creator>Stephane Vinsot</dc:creator>
    <dc:date>2001-01-03T08:37:13Z</dc:date>
    <item>
      <title>Can not start SAM anymore</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-start-sam-anymore/m-p/2477909#M17781</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I don't know what i did, and if i've done something wrong, but SAM soesn't want to start anymore.&lt;BR /&gt;&lt;BR /&gt;When i try to start it, i receive a error message :"Sorry, you must have superuser (root) privilege to entre SAM."&lt;BR /&gt;But i AM root:&lt;BR /&gt;"xxx:/tmp&amp;gt; id&lt;BR /&gt;uid=0(root) gid=3(sys) groups=0(root),1 (other),2(bin),4(adm),5(daemon),6(mail),7&lt;BR /&gt;(lp),20(users),24(ism),30(nsgroup)"&lt;BR /&gt;&lt;BR /&gt;Thanks for the help.</description>
      <pubDate>Tue, 02 Jan 2001 17:45:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-start-sam-anymore/m-p/2477909#M17781</guid>
      <dc:creator>Stephane Vinsot</dc:creator>
      <dc:date>2001-01-02T17:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: Can not start SAM anymore</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-start-sam-anymore/m-p/2477910#M17782</link>
      <description>Do you have any old sam processes running or is sam open by someone else?  What are the permissions on /usr/sbin/sam?  Mine is &lt;BR /&gt;&lt;BR /&gt;-r-xr-xr-x   1 bin        bin           7219 Jun  7  1996 /usr/sbin/sam (I am on 10.20).&lt;BR /&gt;&lt;BR /&gt;Have you installed any patches recently?  &lt;BR /&gt;&lt;BR /&gt;Do a 'which sam' and see which sam you are running.  It should be /usr/sbin/sam.  Do you any custom scripts that call sam that would switch you to a different user?  Also, try doing an 'id -nu' and see what it returns.  It should return root.  This is what sam uses to determine what user you are logged in as.</description>
      <pubDate>Tue, 02 Jan 2001 19:52:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-start-sam-anymore/m-p/2477910#M17782</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2001-01-02T19:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: Can not start SAM anymore</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-start-sam-anymore/m-p/2477911#M17783</link>
      <description>Hi Stephane,&lt;BR /&gt;&lt;BR /&gt;Did you add another user with uid 0 in the passwd file ??&lt;BR /&gt;If a user with uid 0 has a /etc/passwd entry before 'root', id -nu will return that username even if you're logged in as root.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Dan&lt;BR /&gt;&lt;BR /&gt;PS: If you have another used with UID 0, keep in mind that this is a major security risk and that it should be avoided.</description>
      <pubDate>Wed, 03 Jan 2001 07:44:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-start-sam-anymore/m-p/2477911#M17783</guid>
      <dc:creator>Dan Hetzel</dc:creator>
      <dc:date>2001-01-03T07:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: Can not start SAM anymore</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-start-sam-anymore/m-p/2477912#M17784</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;results :&lt;BR /&gt;&lt;BR /&gt;# id -nu&lt;BR /&gt;root&lt;BR /&gt;# which sam&lt;BR /&gt;/usr/sbin/sam&lt;BR /&gt;# ls -l /usr/sbin/sam&lt;BR /&gt;-r-sr-sr-x 1 bin bin 7248 Oct 27 1997 /usr/sbin/sam&lt;BR /&gt;-----------------------&lt;BR /&gt;There's no other user with id 0 than root.&lt;BR /&gt;&lt;BR /&gt;i installed a set of patches, but not on sam itself (i don't think so in fact)&lt;BR /&gt;&lt;BR /&gt;The newer i installed are:&lt;BR /&gt;PHCO_13809&lt;BR /&gt;PHCO_21833&lt;BR /&gt;PHCO_22076&lt;BR /&gt;PHNE_21433&lt;BR /&gt;PHSS_20863&lt;BR /&gt;PHSS_21959&lt;BR /&gt;PHSS_21982&lt;BR /&gt;PHSS_22341&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The funny thing is that i have the message "WARNING:  YOU ARE SUPERUSER !!" at logon...&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Stephane</description>
      <pubDate>Wed, 03 Jan 2001 08:37:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-start-sam-anymore/m-p/2477912#M17784</guid>
      <dc:creator>Stephane Vinsot</dc:creator>
      <dc:date>2001-01-03T08:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: Can not start SAM anymore</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-start-sam-anymore/m-p/2477913#M17785</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You should apply the latest superseeding patches as&lt;BR /&gt;Patch PHCO_21833 has been superseeded by PHCO_22265&lt;BR /&gt;Patch PHCO_22076 has been superseeded by PHCO_22314&lt;BR /&gt;Patch PHNE_21433 has been superseeded by PHNE_22086&lt;BR /&gt;&lt;BR /&gt;Latest SAM cumulative patch is PHCO_21267&lt;BR /&gt;&lt;A href="ftp://ftp.itrc.hp.com/hp-ux_patches/s700_800/11.X/PHCO_21267" target="_blank"&gt;ftp://ftp.itrc.hp.com/hp-ux_patches/s700_800/11.X/PHCO_21267&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Dan&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Jan 2001 09:02:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-start-sam-anymore/m-p/2477913#M17785</guid>
      <dc:creator>Dan Hetzel</dc:creator>
      <dc:date>2001-01-03T09:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: Can not start SAM anymore</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-start-sam-anymore/m-p/2477914#M17786</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Did the SAM problem started after the patches were installed?&lt;BR /&gt;&lt;BR /&gt;Did you check if the patches you applied are in a configured state.&lt;BR /&gt;- swlist -l fileset -a state&lt;BR /&gt; &lt;BR /&gt;ll /usr/sbin/sam&lt;BR /&gt;-r-xr-xr-x   1 bin    bin 7219 Jun  7  1996 /usr/sbin/sam &lt;BR /&gt;I don?t have the setuid set on my 10.20 system.&lt;BR /&gt;&lt;BR /&gt;Check it on other systems you?ve.&lt;BR /&gt;&lt;BR /&gt;Darrel&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Jan 2001 09:21:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-start-sam-anymore/m-p/2477914#M17786</guid>
      <dc:creator>Darrel Louis</dc:creator>
      <dc:date>2001-01-03T09:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: Can not start SAM anymore</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-start-sam-anymore/m-p/2477915#M17787</link>
      <description>Hi Stephane,&lt;BR /&gt;&lt;BR /&gt;Darrel is right !! The setuid bit shouldn't be set on /usr/sbin/sam.&lt;BR /&gt;If it is set, it forces your uid to 'bin' and that's why sam is complaining because you're not root !&lt;BR /&gt;&lt;BR /&gt;Well seen, Darrel !&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Dan&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Jan 2001 09:31:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-start-sam-anymore/m-p/2477915#M17787</guid>
      <dc:creator>Dan Hetzel</dc:creator>
      <dc:date>2001-01-03T09:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: Can not start SAM anymore</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-start-sam-anymore/m-p/2477916#M17788</link>
      <description>Ok it was the set user id bit.&lt;BR /&gt;&lt;BR /&gt;I really don't know why it was changed...</description>
      <pubDate>Wed, 03 Jan 2001 10:14:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-start-sam-anymore/m-p/2477916#M17788</guid>
      <dc:creator>Stephane Vinsot</dc:creator>
      <dc:date>2001-01-03T10:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: Can not start SAM anymore</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-start-sam-anymore/m-p/2477917#M17789</link>
      <description>Hi Stephane,&lt;BR /&gt;&lt;BR /&gt;Thanks for the points, but I think that applying the latest SAM cumulative patch would be a good idea anyway.&lt;BR /&gt;&lt;BR /&gt;Check for your superseeded patches, even if they are unrelated to sam.&lt;BR /&gt;&lt;BR /&gt;Dan&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Jan 2001 10:17:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-start-sam-anymore/m-p/2477917#M17789</guid>
      <dc:creator>Dan Hetzel</dc:creator>
      <dc:date>2001-01-03T10:17:29Z</dc:date>
    </item>
  </channel>
</rss>

