<?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 Changing root directory in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-root-directory/m-p/2517898#M521289</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I've created a golden image of a trusted system, where I have changed the root directory from / to /root.  Only when I rebuild the server it doesn't make this change and results in the system not functioning correctly.  If you edit passwd and change the directory the system works fine.&lt;BR /&gt;&lt;BR /&gt;I'm using post_configure_script to copy over hosts, nsswitch and resolv, I'm also thinking of scripting in changing the passwd.  Does anyone know the syntax for this?&lt;BR /&gt;&lt;BR /&gt;Many Thanks, Paul</description>
    <pubDate>Tue, 17 Apr 2001 16:44:32 GMT</pubDate>
    <dc:creator>Paul McCleary</dc:creator>
    <dc:date>2001-04-17T16:44:32Z</dc:date>
    <item>
      <title>Changing root directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-root-directory/m-p/2517898#M521289</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I've created a golden image of a trusted system, where I have changed the root directory from / to /root.  Only when I rebuild the server it doesn't make this change and results in the system not functioning correctly.  If you edit passwd and change the directory the system works fine.&lt;BR /&gt;&lt;BR /&gt;I'm using post_configure_script to copy over hosts, nsswitch and resolv, I'm also thinking of scripting in changing the passwd.  Does anyone know the syntax for this?&lt;BR /&gt;&lt;BR /&gt;Many Thanks, Paul</description>
      <pubDate>Tue, 17 Apr 2001 16:44:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-root-directory/m-p/2517898#M521289</guid>
      <dc:creator>Paul McCleary</dc:creator>
      <dc:date>2001-04-17T16:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: Changing root directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-root-directory/m-p/2517899#M521290</link>
      <description>Accordingly to make_sys_image(1M) man page, the file /etc/passwd is by default preserved in the golden image on trusted systems.&lt;BR /&gt;&lt;BR /&gt;You can check it doing the command :&lt;BR /&gt;gzcat &lt;GOLDEN_IMAGE&gt; | tar tf - | grep 'etc/passwd'&lt;BR /&gt;If the file /etc/passwd is included in you golden image, customized root directory should be active (as i do for myself, but on a non-trusted system).&lt;BR /&gt;&lt;BR /&gt;Tor set the password during an installation, use &lt;BR /&gt;root_password = &lt;CRYPTED password=""&gt;&lt;BR /&gt;in Ignite config files (see instl_adm(4)).&lt;/CRYPTED&gt;&lt;/GOLDEN_IMAGE&gt;</description>
      <pubDate>Mon, 23 Apr 2001 13:12:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-root-directory/m-p/2517899#M521290</guid>
      <dc:creator>marc seguin</dc:creator>
      <dc:date>2001-04-23T13:12:30Z</dc:date>
    </item>
  </channel>
</rss>

