<?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 chroot and login problems in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/chroot-and-login-problems/m-p/2467887#M16078</link>
    <description>Hi,&lt;BR /&gt;I'm try to setup a chroot environment&lt;BR /&gt;on a hpux 10.20. After setting up the &lt;BR /&gt;chroot environment, the following&lt;BR /&gt;problems occur:&lt;BR /&gt;&lt;BR /&gt;At first, I tried to use the "*" field in the /etc/passwd to force a chroot from login. At first, I tried the chroot environment by replacing the login process through a simple shell skript. This works quite well. The chroot works successfully. My next step was to replace the shell skript throug the original binary. The original binary dies dies with this&lt;BR /&gt;error message:&lt;BR /&gt;'No utmp entry.You must exec "login" from the lowest level "sh".'&lt;BR /&gt;&lt;BR /&gt;After trying this, I wrote a little C program to replace the login process in the new chroot. This process does the chroot and&lt;BR /&gt;sets the u*id's, g*id's and so on. This works fine. &lt;BR /&gt;&lt;BR /&gt;I'm new on administrating hpux. My former tasks was sysop for Solaris.&lt;BR /&gt;Now I got some questions :&lt;BR /&gt;Got someone a example ls-lR for a complete&lt;BR /&gt;chroot environment ? &lt;BR /&gt;&lt;BR /&gt;Or is this a known bug ? &lt;BR /&gt;( As far as I know, are there no patches &lt;BR /&gt;  on this machine installed. )&lt;BR /&gt;&lt;BR /&gt;Is there a tool like truss or strace&lt;BR /&gt;to trace the system calls of a binary ?&lt;BR /&gt;&lt;BR /&gt;thanks in advance,&lt;BR /&gt;ben&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 28 Nov 2000 13:43:59 GMT</pubDate>
    <dc:creator>Ben Kratz</dc:creator>
    <dc:date>2000-11-28T13:43:59Z</dc:date>
    <item>
      <title>chroot and login problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chroot-and-login-problems/m-p/2467887#M16078</link>
      <description>Hi,&lt;BR /&gt;I'm try to setup a chroot environment&lt;BR /&gt;on a hpux 10.20. After setting up the &lt;BR /&gt;chroot environment, the following&lt;BR /&gt;problems occur:&lt;BR /&gt;&lt;BR /&gt;At first, I tried to use the "*" field in the /etc/passwd to force a chroot from login. At first, I tried the chroot environment by replacing the login process through a simple shell skript. This works quite well. The chroot works successfully. My next step was to replace the shell skript throug the original binary. The original binary dies dies with this&lt;BR /&gt;error message:&lt;BR /&gt;'No utmp entry.You must exec "login" from the lowest level "sh".'&lt;BR /&gt;&lt;BR /&gt;After trying this, I wrote a little C program to replace the login process in the new chroot. This process does the chroot and&lt;BR /&gt;sets the u*id's, g*id's and so on. This works fine. &lt;BR /&gt;&lt;BR /&gt;I'm new on administrating hpux. My former tasks was sysop for Solaris.&lt;BR /&gt;Now I got some questions :&lt;BR /&gt;Got someone a example ls-lR for a complete&lt;BR /&gt;chroot environment ? &lt;BR /&gt;&lt;BR /&gt;Or is this a known bug ? &lt;BR /&gt;( As far as I know, are there no patches &lt;BR /&gt;  on this machine installed. )&lt;BR /&gt;&lt;BR /&gt;Is there a tool like truss or strace&lt;BR /&gt;to trace the system calls of a binary ?&lt;BR /&gt;&lt;BR /&gt;thanks in advance,&lt;BR /&gt;ben&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Nov 2000 13:43:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chroot-and-login-problems/m-p/2467887#M16078</guid>
      <dc:creator>Ben Kratz</dc:creator>
      <dc:date>2000-11-28T13:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: chroot and login problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chroot-and-login-problems/m-p/2467888#M16079</link>
      <description>Here's two urls that may help you:&lt;BR /&gt;First:&lt;BR /&gt;&lt;A href="http://us-support3.external.hp.com/cki/bin/doc.pl/sid=4c74076803c7af95d3/screen=ckiDisplayDocument?docId=200000024602784" target="_blank"&gt;http://us-support3.external.hp.com/cki/bin/doc.pl/sid=4c74076803c7af95d3/screen=ckiDisplayDocument?docId=200000024602784&lt;/A&gt;&lt;BR /&gt;Second:&lt;BR /&gt;&lt;A href="http://us-support3.external.hp.com/cki/bin/doc.pl/sid=4c74076803c7af95d3/screen=ckiDisplayDocument?docId=200000049535258" target="_blank"&gt;http://us-support3.external.hp.com/cki/bin/doc.pl/sid=4c74076803c7af95d3/screen=ckiDisplayDocument?docId=200000049535258&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This second one is on an 11.0 system...but it may help you.</description>
      <pubDate>Tue, 28 Nov 2000 13:55:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chroot-and-login-problems/m-p/2467888#M16079</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2000-11-28T13:55:57Z</dc:date>
    </item>
  </channel>
</rss>

