<?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 sam problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/2795024#M80740</link>
    <description>hi forums&lt;BR /&gt; I am raising the question again.&lt;BR /&gt;&lt;BR /&gt; When I invoke sam to add a user, it replies back saying permission denied.&lt;BR /&gt;&lt;BR /&gt; When I try to list the disk devices/log volumes it replies back saying that you need superuser privileges to see the info...I logged as root indeed.  &lt;BR /&gt;# id&lt;BR /&gt;uid=0(root) gid=3(sys) groups=0(root),2(bin),4(adm),5(daemon),6(mail),7(lp),20(users),102(mqm)&lt;BR /&gt;&lt;BR /&gt;# groups&lt;BR /&gt;root bin sys adm daemon mail lp users mqm&lt;BR /&gt;&lt;BR /&gt;I tried adding a user with the following script&lt;BR /&gt;# useradd -u 1150 -g users -d /home/testuser -s /usr/bin/ksh -c "test" -m testuser&lt;BR /&gt;rm: /etc/group.tmp2485 not removed.  Permission denied&lt;BR /&gt;/home/testuser: Not owner&lt;BR /&gt;Cannot create home directory&lt;BR /&gt;&lt;BR /&gt;there is an entry in /etc/passwd file&lt;BR /&gt;/home/testuser is created with testuser:users&lt;BR /&gt;/etc/group has modified entry w.r.t to users group&lt;BR /&gt;&lt;BR /&gt;but /home/testuser doesnt contain the .profile that it needed to copy from /etc/skel&lt;BR /&gt;&lt;BR /&gt;any pointers, info on this are appreciated.  &lt;BR /&gt;&lt;BR /&gt;Its bad guess but whether this may due to any patch update.&lt;BR /&gt;&lt;BR /&gt;cheers&lt;BR /&gt;Umapathy&lt;BR /&gt;&lt;BR /&gt;ps: Shiju could you please help me on this. I feel setuid/setgid is not working properly.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 27 Aug 2002 14:04:34 GMT</pubDate>
    <dc:creator>Umapathy S</dc:creator>
    <dc:date>2002-08-27T14:04:34Z</dc:date>
    <item>
      <title>sam problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/2795024#M80740</link>
      <description>hi forums&lt;BR /&gt; I am raising the question again.&lt;BR /&gt;&lt;BR /&gt; When I invoke sam to add a user, it replies back saying permission denied.&lt;BR /&gt;&lt;BR /&gt; When I try to list the disk devices/log volumes it replies back saying that you need superuser privileges to see the info...I logged as root indeed.  &lt;BR /&gt;# id&lt;BR /&gt;uid=0(root) gid=3(sys) groups=0(root),2(bin),4(adm),5(daemon),6(mail),7(lp),20(users),102(mqm)&lt;BR /&gt;&lt;BR /&gt;# groups&lt;BR /&gt;root bin sys adm daemon mail lp users mqm&lt;BR /&gt;&lt;BR /&gt;I tried adding a user with the following script&lt;BR /&gt;# useradd -u 1150 -g users -d /home/testuser -s /usr/bin/ksh -c "test" -m testuser&lt;BR /&gt;rm: /etc/group.tmp2485 not removed.  Permission denied&lt;BR /&gt;/home/testuser: Not owner&lt;BR /&gt;Cannot create home directory&lt;BR /&gt;&lt;BR /&gt;there is an entry in /etc/passwd file&lt;BR /&gt;/home/testuser is created with testuser:users&lt;BR /&gt;/etc/group has modified entry w.r.t to users group&lt;BR /&gt;&lt;BR /&gt;but /home/testuser doesnt contain the .profile that it needed to copy from /etc/skel&lt;BR /&gt;&lt;BR /&gt;any pointers, info on this are appreciated.  &lt;BR /&gt;&lt;BR /&gt;Its bad guess but whether this may due to any patch update.&lt;BR /&gt;&lt;BR /&gt;cheers&lt;BR /&gt;Umapathy&lt;BR /&gt;&lt;BR /&gt;ps: Shiju could you please help me on this. I feel setuid/setgid is not working properly.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Aug 2002 14:04:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/2795024#M80740</guid>
      <dc:creator>Umapathy S</dc:creator>
      <dc:date>2002-08-27T14:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: sam problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/2795025#M80741</link>
      <description>What OS release?&lt;BR /&gt;&lt;BR /&gt;Is this a trusted machine (tcb)??&lt;BR /&gt;&lt;BR /&gt;what does ls -l /etc/group.tmp* return??&lt;BR /&gt;&lt;BR /&gt;what does this return&lt;BR /&gt;&lt;BR /&gt;ls -l /home | grep testuser&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Tue, 27 Aug 2002 14:10:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/2795025#M80741</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-08-27T14:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: sam problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/2795026#M80742</link>
      <description># uname -a&lt;BR /&gt;HP-UX hpk220 B.10.20 U 9000/859 434573382 unlimited-user license&lt;BR /&gt;&lt;BR /&gt;# ls -l /etc/group.tmp*&lt;BR /&gt;-rw-rw-rw-   1 root       sys            741 Aug 27 19:56 /etc/group.tmp2011&lt;BR /&gt;-rw-rw-rw-   1 root       sys            741 Aug 27 20:01 /etc/group.tmp2060&lt;BR /&gt;-rw-rw-rw-   1 root       sys            741 Aug 27 20:32 /etc/group.tmp2485&lt;BR /&gt;&lt;BR /&gt;I guess the times I tried to create users.  I am missing some permissions somewhere I think&lt;BR /&gt;# ls -l /home | grep testuser&lt;BR /&gt;drwxr-xr-x   2 testuser   users           24 Aug 27 20:32 testuser&lt;BR /&gt;&lt;BR /&gt;cheers&lt;BR /&gt;Umapathy&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Aug 2002 14:13:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/2795026#M80742</guid>
      <dc:creator>Umapathy S</dc:creator>
      <dc:date>2002-08-27T14:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: sam problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/2795027#M80743</link>
      <description>Regarding both questions you have asked regarding adding users:  do you have any other security software installed?  For example Seos?&lt;BR /&gt;&lt;BR /&gt;If so, this is the problem.&lt;BR /&gt;&lt;BR /&gt;Cheryl</description>
      <pubDate>Tue, 27 Aug 2002 14:14:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/2795027#M80743</guid>
      <dc:creator>Cheryl Griffin</dc:creator>
      <dc:date>2002-08-27T14:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: sam problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/2795028#M80744</link>
      <description>hi Cheryl&lt;BR /&gt; As far as I know I havnt installed any security software you have mentioned.   &lt;BR /&gt;&lt;BR /&gt; The problem is I went on a week vacation.  May be someone would have changed something.&lt;BR /&gt;&lt;BR /&gt; How do I know the existence of such software other than swlist&lt;BR /&gt;&lt;BR /&gt;cheers&lt;BR /&gt;Umapathy&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Aug 2002 14:19:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/2795028#M80744</guid>
      <dc:creator>Umapathy S</dc:creator>
      <dc:date>2002-08-27T14:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: sam problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/2795029#M80745</link>
      <description>What do you get when you type in "whoami"? If you get intruder alert, you have some sort of corruption. Mostly likely /etc/passwd or /etc/group. You can also get this type of behavior if /var fills up.&lt;BR /&gt;&lt;BR /&gt;I've had this happen twice. The first time /etc/passwd was corrupted. I use vi to rewrite the output and everything was fine.&lt;BR /&gt;&lt;BR /&gt;The second time /var/ filled up. I cleaned up /var but had to reboot to clear up the corruption.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Marty</description>
      <pubDate>Tue, 27 Aug 2002 14:35:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/2795029#M80745</guid>
      <dc:creator>Martin Johnson</dc:creator>
      <dc:date>2002-08-27T14:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: sam problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/2795030#M80746</link>
      <description>hi Martin&lt;BR /&gt;whoami returns correctly&lt;BR /&gt;&lt;BR /&gt;# whoami&lt;BR /&gt;root&lt;BR /&gt;&lt;BR /&gt;/var is very far from full&lt;BR /&gt;&lt;BR /&gt;I ran the following&lt;BR /&gt;&lt;BR /&gt;# pwck&lt;BR /&gt;&lt;BR /&gt;nobody:*:-2:-24::/:&lt;BR /&gt;        Invalid GID&lt;BR /&gt;&lt;BR /&gt;# grpck&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;tty::10:&lt;BR /&gt;        Null login name&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;nogroup:*:-2:&lt;BR /&gt;        Invalid GID&lt;BR /&gt;        Null login name&lt;BR /&gt;&lt;BR /&gt;is there anything to do with this.&lt;BR /&gt;&lt;BR /&gt;Also When I tried to list the softwares installed using sam, it said you dont have superuser privileges.  Indeed all the important sections of sam say the above error&lt;BR /&gt;&lt;BR /&gt;cheers&lt;BR /&gt;Umapathy&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Aug 2002 14:45:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/2795030#M80746</guid>
      <dc:creator>Umapathy S</dc:creator>
      <dc:date>2002-08-27T14:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: sam problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/2795031#M80747</link>
      <description>When I tried to open the "Install software to local host" section of sam, I got the following error&lt;BR /&gt;&lt;BR /&gt;UNEXPECTED EXIT: process /usr/lib/sw/sdfal_check exited with a non-zero exit status.&lt;BR /&gt;&lt;BR /&gt;ERROR: Could not initialize security.  This process does not have super-user privilege.&lt;BR /&gt;&lt;BR /&gt;ERROR: swinstall failed.  See /var/adm/sw/swinstall.log&lt;BR /&gt;&lt;BR /&gt;When I saw swinstall.log I found out only previous entries on my reboot after a patch installation (Unlimitted user license patch)&lt;BR /&gt;&lt;BR /&gt;cheers&lt;BR /&gt;Umapathy&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Aug 2002 15:10:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/2795031#M80747</guid>
      <dc:creator>Umapathy S</dc:creator>
      <dc:date>2002-08-27T15:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: sam problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/2795032#M80748</link>
      <description>Hopefully, you track shell history.  It's time to see what might have been done to the system while you were out.  Look for any chown, chmod, chgrp commands which might have been run.&lt;BR /&gt;&lt;BR /&gt;If you can't pinpoint the problems by looking at shell history, and since user's will never come clean and admit they ran the culprit command, you may have to do things like:&lt;BR /&gt;# swverify \*&lt;BR /&gt;   which will generate more information than you could read in a day but at least it will identify chmod, chgrp and chown problems.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Aug 2002 15:36:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/2795032#M80748</guid>
      <dc:creator>Cheryl Griffin</dc:creator>
      <dc:date>2002-08-27T15:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: sam problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/2795033#M80749</link>
      <description>Solved the problem.&lt;BR /&gt;&lt;BR /&gt;It was with /usr/sbin/sh.  The setuid bit was set for this.  As a result the permission problems.&lt;BR /&gt;&lt;BR /&gt;Thanks for all the responses I got in this regard.&lt;BR /&gt;&lt;BR /&gt;Now I want to know who changed the mode of /usr/sbin/sh.  apart from browsing sh_history any other way to do that&lt;BR /&gt;&lt;BR /&gt;cheers&lt;BR /&gt;Umapathy&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Aug 2002 06:10:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/2795033#M80749</guid>
      <dc:creator>Umapathy S</dc:creator>
      <dc:date>2002-08-28T06:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: sam problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/2795034#M80750</link>
      <description>Hi&lt;BR /&gt;Have a look at :-&lt;BR /&gt;&lt;BR /&gt;last -R root&lt;BR /&gt;&lt;BR /&gt;root     pts/ta       172.20.4.5       Wed Aug 28 07:43   still logged in&lt;BR /&gt;root     console                       Tue Aug 27 17:46 - 18:55  (01:09) &lt;BR /&gt;root     console                       Tue Aug 27 16:52 - 17:20  (00:28) &lt;BR /&gt;root     console                       Tue Aug 27 09:03 - 09:04  (00:01) &lt;BR /&gt;root     pts/ta       172.20.4.5       Tue Aug 27 08:45 - 20:14  (11:28) &lt;BR /&gt;root     pts/tf       172.20.4.5       Tue Aug 27 08:30 - 08:34  (00:04) &lt;BR /&gt;root     pts/td       172.20.4.5       Fri Aug 23 09:58 - 16:34  (06:36) &lt;BR /&gt;root     pts/ta       172.20.4.5       Thu Aug 22 08:15 - 16:33  (08:18) &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Note that it gives ip address of login, look at logins for when you are away. Also look at other root level logins.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Paula</description>
      <pubDate>Wed, 28 Aug 2002 06:33:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-problem/m-p/2795034#M80750</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2002-08-28T06:33:58Z</dc:date>
    </item>
  </channel>
</rss>

