<?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: SAM problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/4912472#M406376</link>
    <description>Hi Andre',&lt;BR /&gt;&lt;BR /&gt;I would guess it is a problem about PATH variable, infact I don't understand why /usr/sbin is missing in the PATH of your system.&lt;BR /&gt;&lt;BR /&gt;export PATH=$PATH:/usr/sbin&lt;BR /&gt;sam&lt;BR /&gt;&lt;BR /&gt;Does it work?&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Fabio</description>
    <pubDate>Thu, 14 Jul 2005 06:33:10 GMT</pubDate>
    <dc:creator>Fabio Ettore</dc:creator>
    <dc:date>2005-07-14T06:33:10Z</dc:date>
    <item>
      <title>SAM problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/4912467#M406371</link>
      <description># sam&lt;BR /&gt;sh: sam: Execute permission denied.&lt;BR /&gt;&lt;BR /&gt;Hello everyone, I get the above error message&lt;BR /&gt;when I try to use SAM and some other messages that I am sure are from the same problem:&lt;BR /&gt;&lt;BR /&gt;# history&lt;BR /&gt;sh: fc: Cannot access or open the history file.&lt;BR /&gt;&lt;BR /&gt;here is a listing of /etc/PATH&lt;BR /&gt;&lt;BR /&gt;# more PATH&lt;BR /&gt;/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/nettladm/bin:/opt/fc/bin:/opt/fcms/b&lt;BR /&gt;in:/opt/upgrade/bin:/opt/pd/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/hparray/b&lt;BR /&gt;in:/opt/cobol/bin:/opt/perf/bin:/opt/OV/bin/OpC:/opt/ignite/bin:/opt/resmon/bin:&lt;BR /&gt;/opt/pred/bin:/opt/hpnpl//bin:/opt/hpnp//bin&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Jul 2005 12:38:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/4912467#M406371</guid>
      <dc:creator>Andre Lemon</dc:creator>
      <dc:date>2005-07-13T12:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: SAM problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/4912468#M406372</link>
      <description># type sam&lt;BR /&gt;sam is /usr/sbin/sam&lt;BR /&gt;# ll /usr/sbin/sam&lt;BR /&gt;-r-xr-xr-x   1 bin        bin           7032 Nov 20  2001 /usr/sbin/sam&lt;BR /&gt;do you see execute permissions like this one I put above ??&lt;BR /&gt;&lt;BR /&gt;make sure you have the rights to run sam, i.e., you are not a regular user and all regular user rights to sam being turned off.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;for the history file, it looks like somebody have changed the ownership of your history file. Are you root ot equivalent when you are gtting these messages ?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Jul 2005 12:55:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/4912468#M406372</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2005-07-13T12:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: SAM problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/4912469#M406373</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;It seems that the execute permission on /usr/sbin/sam is not there .&lt;BR /&gt;&lt;BR /&gt;first chcek ll /usr/sbin/sam .&lt;BR /&gt;&lt;BR /&gt;But make sure u r looged in as a user who has the permsiion to execute this command .&lt;BR /&gt;Check the file permssion for .sh_history also.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;CS</description>
      <pubDate>Wed, 13 Jul 2005 13:09:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/4912469#M406373</guid>
      <dc:creator>saju_2</dc:creator>
      <dc:date>2005-07-13T13:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: SAM problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/4912470#M406374</link>
      <description>I am on as root, I think that this is more than a problem with accessing SAM, I think that something in the PATH may be the problem.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Andre'</description>
      <pubDate>Thu, 14 Jul 2005 06:05:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/4912470#M406374</guid>
      <dc:creator>Andre Lemon</dc:creator>
      <dc:date>2005-07-14T06:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: SAM problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/4912471#M406375</link>
      <description>Normally, you need to have superuser privilege to run SAM, &lt;BR /&gt;&lt;BR /&gt;root can also configure sam with limited menu items for any user by using restricted sam builder (run sam -r as root ) .&lt;BR /&gt;&lt;BR /&gt;Its not a path issue as you are getting error "execute permission denied" very clearly.&lt;BR /&gt;&lt;BR /&gt;for history issue, try removing and recreating user with same UIS ( do not use userdel without -r option not to delete home directory )&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;deepak&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Jul 2005 06:32:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/4912471#M406375</guid>
      <dc:creator>Deepak.R</dc:creator>
      <dc:date>2005-07-14T06:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: SAM problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/4912472#M406376</link>
      <description>Hi Andre',&lt;BR /&gt;&lt;BR /&gt;I would guess it is a problem about PATH variable, infact I don't understand why /usr/sbin is missing in the PATH of your system.&lt;BR /&gt;&lt;BR /&gt;export PATH=$PATH:/usr/sbin&lt;BR /&gt;sam&lt;BR /&gt;&lt;BR /&gt;Does it work?&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Fabio</description>
      <pubDate>Thu, 14 Jul 2005 06:33:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/4912472#M406376</guid>
      <dc:creator>Fabio Ettore</dc:creator>
      <dc:date>2005-07-14T06:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: SAM problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/4912473#M406377</link>
      <description>That did correct the problem with SAM, however other commands are not working, such as the "esc k".  I notice that the current directory that I am in is not being displayed&lt;BR /&gt;at the prompt how do I get that back?  I am not sure what has caused these little problems.</description>
      <pubDate>Thu, 14 Jul 2005 06:54:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/4912473#M406377</guid>
      <dc:creator>Andre Lemon</dc:creator>
      <dc:date>2005-07-14T06:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: SAM problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/4912474#M406378</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;maybe your home directory was moved or the path isn't right in the passwd.&lt;BR /&gt;&lt;BR /&gt;You have to check where are your .profile, .cshrc, and others.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Volkmar&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Jul 2005 07:08:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/4912474#M406378</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2005-07-14T07:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: SAM problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/4912475#M406379</link>
      <description>I think your $HOME/.profile was not read on login. Infact (apart the PATH problem) PS1 (the current directory on prompt) usually is defined there.&lt;BR /&gt;How did you login as root on the system (telnet, su - root, CDE, or ....what)?&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Fabio</description>
      <pubDate>Thu, 14 Jul 2005 07:14:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/4912475#M406379</guid>
      <dc:creator>Fabio Ettore</dc:creator>
      <dc:date>2005-07-14T07:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: SAM problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/4912476#M406380</link>
      <description>Fabio i am logged into the system directly using a logon called "alsoroot", this is a backup up log for root due to the fact that my Operator was prompted to change the root password while I was away and could not remember what he changed it to and it has since expired.  I cannot reactivate the root logon since I cannot put in the old one first. But anyway.... I am using this one for&lt;BR /&gt;now.  When I look in the /etc/home I do not even see any files for the "root" user, I get the following for "alsoroot" (I see that&lt;BR /&gt;there are a total of 6 files, so are the 3 for "root" hidden?)&lt;BR /&gt;&lt;BR /&gt;# ll *root*&lt;BR /&gt;total 6&lt;BR /&gt;-rw-r--r--   1 root       root           347 Aug 10  2000 .exrc&lt;BR /&gt;-rw-r--r--   1 root       root           593 Aug 10  2000 .profile&lt;BR /&gt;-rw-r--r--   1 root       root           734 Aug 10  2000 .proflie&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Jul 2005 07:23:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/4912476#M406380</guid>
      <dc:creator>Andre Lemon</dc:creator>
      <dc:date>2005-07-14T07:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: SAM problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/4912477#M406381</link>
      <description>On the subject of your root account you may wish to look at this thread, then you might not have to solve your original problem.&lt;BR /&gt;&lt;BR /&gt;If I remember correctly last time I had this problem I was able to correct it without a reboot to single user mode&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums2.itrc.hp.com/service/forums/questionanswer.do?threadId=267217&amp;amp;admit=-1335382922+1121351499796+28353475" target="_blank"&gt;http://forums2.itrc.hp.com/service/forums/questionanswer.do?threadId=267217&amp;amp;admit=-1335382922+1121351499796+28353475&lt;/A&gt;</description>
      <pubDate>Thu, 14 Jul 2005 07:34:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/4912477#M406381</guid>
      <dc:creator>Gavin Clarke</dc:creator>
      <dc:date>2005-07-14T07:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: SAM problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/4912478#M406382</link>
      <description>esc k (vi options) is set in the user's profile.&lt;BR /&gt;&lt;BR /&gt;Perhaps you could copy .profile from root's home directory to alsoroot's home directory?</description>
      <pubDate>Thu, 14 Jul 2005 07:42:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/4912478#M406382</guid>
      <dc:creator>Gavin Clarke</dc:creator>
      <dc:date>2005-07-14T07:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: SAM problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/4912479#M406383</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;what does 'll -a' says?&lt;BR /&gt;&lt;BR /&gt;Also: &lt;BR /&gt;'alsoroot' should be owner of the files in it's home directory.&lt;BR /&gt;Try to change it or make a copy to become owner.&lt;BR /&gt;Also - which group is 'alsoroot'?&lt;BR /&gt;&lt;BR /&gt;V.</description>
      <pubDate>Thu, 14 Jul 2005 08:00:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/4912479#M406383</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2005-07-14T08:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: SAM problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/4912480#M406384</link>
      <description>I fixed everything by doing a restore from a backup prior to yesterday.  Not sure what happened but the problem has been corrected.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks for your suggestions and efforts as always.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Andre'</description>
      <pubDate>Thu, 14 Jul 2005 08:45:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/4912480#M406384</guid>
      <dc:creator>Andre Lemon</dc:creator>
      <dc:date>2005-07-14T08:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: SAM problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/4912481#M406385</link>
      <description>I did a restore.</description>
      <pubDate>Thu, 14 Jul 2005 08:47:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/4912481#M406385</guid>
      <dc:creator>Andre Lemon</dc:creator>
      <dc:date>2005-07-14T08:47:17Z</dc:date>
    </item>
  </channel>
</rss>

