<?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: reboot in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/reboot/m-p/2618896#M755973</link>
    <description>Hi Tarek,&lt;BR /&gt;&lt;BR /&gt;I'm surprised you have a user who even if he knows the root password, rebooted a system he is not supposed to. What kind of environment you have over there. I don't think i have a user who can pull such a stunt on me, will certainly like to kick his, you know what. Happy hunting.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
    <pubDate>Fri, 23 Nov 2001 02:48:53 GMT</pubDate>
    <dc:creator>Sanjay_6</dc:creator>
    <dc:date>2001-11-23T02:48:53Z</dc:date>
    <item>
      <title>reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reboot/m-p/2618889#M755966</link>
      <description>Hi there,&lt;BR /&gt;i have a problem. &lt;BR /&gt;I think that a user had known the root password and now he had set some privileges to himself. I have seen in the log file that this user made a reboot, so he had set privileges to himself, right?? But where?&lt;BR /&gt;What command did he use? &lt;BR /&gt;He did the same thing also on a sun, solaris8. How can i disable it on both sun and hp?&lt;BR /&gt;Thanks&lt;BR /&gt;Tarek&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Nov 2001 15:30:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reboot/m-p/2618889#M755966</guid>
      <dc:creator>Tarek</dc:creator>
      <dc:date>2001-11-22T15:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reboot/m-p/2618890#M755967</link>
      <description>One look at /etc/shutdown.allow? - something like that.&lt;BR /&gt;&lt;BR /&gt;Second, look for any program that has the "setuid" or "setgid". Do a man on find, it describes it there.&lt;BR /&gt;&lt;BR /&gt;third, immediately change the root passwd.&lt;BR /&gt;&lt;BR /&gt;fourth, look at /etc/passwd and /etc/group to make sure they haven't addded themselves as "root" - uid = 0.&lt;BR /&gt;&lt;BR /&gt;fifth, look for .rhosts files, also check /etc/host.equiv.&lt;BR /&gt;&lt;BR /&gt;sixth, go to this link and print it, it has most of what you need to "secure" your server.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://people.hp.se/stevesk/bastion.html" target="_blank"&gt;http://people.hp.se/stevesk/bastion.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;seventh, go kick their butt!&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Thu, 22 Nov 2001 15:36:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reboot/m-p/2618890#M755967</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2001-11-22T15:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reboot/m-p/2618891#M755968</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;this could be lots of things.&lt;BR /&gt;&lt;BR /&gt;1. set-user-id bit on script &lt;BR /&gt;2. .rhosts file root&lt;BR /&gt;3. set priv group (only HP)&lt;BR /&gt;4. second userid 0 in passwd&lt;BR /&gt;etc.&lt;BR /&gt;&lt;BR /&gt;Gideon&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Nov 2001 15:37:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reboot/m-p/2618891#M755968</guid>
      <dc:creator>G. Vrijhoeven</dc:creator>
      <dc:date>2001-11-22T15:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reboot/m-p/2618892#M755969</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;First, change the root password.&lt;BR /&gt;&lt;BR /&gt;Verify there are no other superuser accounts in /etc/passwd (uid = 0).&lt;BR /&gt;Check /etc/hosts.equiv and root's .rhosts file.&lt;BR /&gt;Look for suid root files.  I think you can use find. Check the man page.  I'm not at a UNIX machine right now.&lt;BR /&gt;&lt;BR /&gt;You may want to consider locking his account (passwd -l loginid) until you get this straightened out.  That may be a political issue in your company so you may want to be sure of your facts before doing so.&lt;BR /&gt;&lt;BR /&gt;That's a start.&lt;BR /&gt;&lt;BR /&gt;Darrell</description>
      <pubDate>Thu, 22 Nov 2001 15:39:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reboot/m-p/2618892#M755969</guid>
      <dc:creator>Darrell Allen</dc:creator>
      <dc:date>2001-11-22T15:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reboot/m-p/2618893#M755970</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In which logfile did you see that the user did a reboot?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Can you include the logging?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Bye,&lt;BR /&gt;&lt;BR /&gt;Rik.</description>
      <pubDate>Thu, 22 Nov 2001 16:46:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reboot/m-p/2618893#M755970</guid>
      <dc:creator>RikTytgat</dc:creator>
      <dc:date>2001-11-22T16:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reboot/m-p/2618894#M755971</link>
      <description>Hello tarek,&lt;BR /&gt;&lt;BR /&gt;You have a long way to go to make sure your system is not compromised. If you had a "casual" user getting the root password, it may be fine. However, it's really complicated to make sure that there are no holes in the system once somebody got root privileges there.&lt;BR /&gt;&lt;BR /&gt;Things to look for:&lt;BR /&gt;&lt;BR /&gt;/etc/passwd and /etc/group: Check for gid=0 and uid=0 for  anybody&lt;BR /&gt;&lt;BR /&gt;setuid scripts and programs: Look for setuid/setgid programs. You can use find (and the -perm option) to do that. For more details, man find.&lt;BR /&gt;&lt;BR /&gt;host equivalence: Check .rhosts and /etc/hosts.equiv.  You'll have to check every .rhosts file in your system.&lt;BR /&gt;&lt;BR /&gt;NFS: make sure your user didn't force the no_squash option.&lt;BR /&gt;&lt;BR /&gt;/etc/shutdown.allow: Make sure your user didn't put his username here.&lt;BR /&gt;&lt;BR /&gt;Anyway, these are some *basic* measures. If you're having security problems of this nature, you should consider tripwire or something else that checks your entire system. Also, don't forget that he may have installed a "rootkit" allowing him to come back later even if you take care of all obvious holes.&lt;BR /&gt;&lt;BR /&gt;Hope it helps,&lt;BR /&gt;Paga&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Nov 2001 17:15:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reboot/m-p/2618894#M755971</guid>
      <dc:creator>Marco Paganini</dc:creator>
      <dc:date>2001-11-22T17:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reboot/m-p/2618895#M755972</link>
      <description>Beside above , he maybe issue " sam -r " command to assign shutdown/reboot right to himself .</description>
      <pubDate>Fri, 23 Nov 2001 01:12:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reboot/m-p/2618895#M755972</guid>
      <dc:creator>Frank Li</dc:creator>
      <dc:date>2001-11-23T01:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reboot/m-p/2618896#M755973</link>
      <description>Hi Tarek,&lt;BR /&gt;&lt;BR /&gt;I'm surprised you have a user who even if he knows the root password, rebooted a system he is not supposed to. What kind of environment you have over there. I don't think i have a user who can pull such a stunt on me, will certainly like to kick his, you know what. Happy hunting.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Fri, 23 Nov 2001 02:48:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reboot/m-p/2618896#M755973</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2001-11-23T02:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reboot/m-p/2618897#M755974</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I would suggest that you enable your HP-UX to be trusted so that you can enable auditing of both users and system calls.&lt;BR /&gt;&lt;BR /&gt;Though the log may be considerable, it may be worthwhile in your case to identify the user and the procedure used in the reboot.&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong&lt;BR /&gt;Brainbench MVP for Unix Admin&lt;BR /&gt;&lt;A href="http://www.brainbench.com" target="_blank"&gt;http://www.brainbench.com&lt;/A&gt;</description>
      <pubDate>Fri, 23 Nov 2001 02:59:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reboot/m-p/2618897#M755974</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2001-11-23T02:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reboot/m-p/2618898#M755975</link>
      <description>Well, since you know who this smartass user is, why don't you first check his $HOME/.sh_history file for clues?</description>
      <pubDate>Fri, 23 Nov 2001 03:23:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reboot/m-p/2618898#M755975</guid>
      <dc:creator>Deepak Extross</dc:creator>
      <dc:date>2001-11-23T03:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reboot/m-p/2618899#M755976</link>
      <description>&lt;BR /&gt;1) Change the root password&lt;BR /&gt;&lt;BR /&gt;2) Make your system Trusted&lt;BR /&gt;&lt;BR /&gt;3) Check the system for suid files:&lt;BR /&gt;   find / -type f \( -perm -04000 -o -perm -02000 \) \-exec ls -lg {} \;&lt;BR /&gt;            &lt;BR /&gt;   Quickly scan through each of these files and see whether there is anything which is not supposed to be there. This is usually a favourite backdoor method of hackers or troublemakers to gain root access to the system. &lt;BR /&gt;   &lt;BR /&gt;   If possible, bump the userid out of the system or atleast make it a issue with the management.  In development environments i know programmers plant backdoors to gain root access for downloading and installing applications.  But, Rebooting is a joke.  &lt;BR /&gt;Just don't treat it as one.&lt;BR /&gt;&lt;BR /&gt;-raj</description>
      <pubDate>Fri, 23 Nov 2001 04:31:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reboot/m-p/2618899#M755976</guid>
      <dc:creator>Roger Baptiste</dc:creator>
      <dc:date>2001-11-23T04:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reboot/m-p/2618900#M755977</link>
      <description>Thanks all for your replies. For hp it's ok, but on Sun?? Can someone give me a tip?&lt;BR /&gt;In the passwd the gid and the uid are set as normal user. (It was the first thing i checked before asking this form). The log file i checked was the syslog.log. However i solved on hp, he had put his name in the shutdown.allow &lt;BR /&gt;Now i need a help on Sun if possible.&lt;BR /&gt;Thanks again.&lt;BR /&gt;</description>
      <pubDate>Fri, 23 Nov 2001 12:33:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reboot/m-p/2618900#M755977</guid>
      <dc:creator>Tarek</dc:creator>
      <dc:date>2001-11-23T12:33:01Z</dc:date>
    </item>
  </channel>
</rss>

