<?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: A filesystem for /root? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/a-filesystem-for-root/m-p/2664593#M931024</link>
    <description>hi&lt;BR /&gt;&lt;BR /&gt;  I will not suggest this. Root users home directory should be / only. Otherwise U may end up in problem. U can seen, some times LVM may not comes up because of some reason. That time / will be mounted as /dev/root. If U create another file system for root users, In crucial situations U may not be able to that particular FS. Better to leave as it is.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Best of luck&lt;BR /&gt;Shahul</description>
    <pubDate>Thu, 14 Feb 2002 06:47:33 GMT</pubDate>
    <dc:creator>Shahul</dc:creator>
    <dc:date>2002-02-14T06:47:33Z</dc:date>
    <item>
      <title>A filesystem for /root?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-filesystem-for-root/m-p/2664588#M931019</link>
      <description>&lt;BR /&gt;I have created a directory /root for the root users. What would be the implications if I create a filesystem for this directory ?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Feb 2002 05:49:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-filesystem-for-root/m-p/2664588#M931019</guid>
      <dc:creator>Hooi Siew Hoong_1</dc:creator>
      <dc:date>2002-02-14T05:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: A filesystem for /root?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-filesystem-for-root/m-p/2664589#M931020</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;beware!&lt;BR /&gt;&lt;BR /&gt;Lots of problems ahead - including a system that cannot boot any longer!&lt;BR /&gt;&lt;BR /&gt;Remember that "root" needs his/her home-directory and shell for trouble-shooting in single-user mode...&lt;BR /&gt;&lt;BR /&gt;Just my $0.02,&lt;BR /&gt;Wodisch</description>
      <pubDate>Thu, 14 Feb 2002 06:02:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-filesystem-for-root/m-p/2664589#M931020</guid>
      <dc:creator>Wodisch</dc:creator>
      <dc:date>2002-02-14T06:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: A filesystem for /root?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-filesystem-for-root/m-p/2664590#M931021</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The only user who should have access to&lt;BR /&gt;/root is root itself. If you created &lt;BR /&gt;another file system under this there is&lt;BR /&gt;a possibility that root cannot login.&lt;BR /&gt;&lt;BR /&gt;Any other user such as system administrators&lt;BR /&gt;that have access to the root account&lt;BR /&gt;should have there own home directory anyway&lt;BR /&gt;usually e.g. /home/michael or /users/michael&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;-Michael&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Feb 2002 06:05:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-filesystem-for-root/m-p/2664590#M931021</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-02-14T06:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: A filesystem for /root?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-filesystem-for-root/m-p/2664591#M931022</link>
      <description>Don't see any problem as long as it is not in vg00. Otherwise someone may accidentally fill it up and crash the server.</description>
      <pubDate>Thu, 14 Feb 2002 06:36:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-filesystem-for-root/m-p/2664591#M931022</guid>
      <dc:creator>Wilfred Chau_1</dc:creator>
      <dc:date>2002-02-14T06:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: A filesystem for /root?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-filesystem-for-root/m-p/2664592#M931023</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I agree with Wodisch.&lt;BR /&gt;&lt;BR /&gt;In single-user mode, only some system filesystems are mounted. If you create a separate filesystem for the root user, it will not be mounted in single-user mode. If you change the login shell for root from /sbin/sh to /usr/bin/ksh or /usr/bin/sh for that matter, you will not be able to a login shell in single-user mode properly because /usr is not mounted in single-user mode.&lt;BR /&gt;&lt;BR /&gt;This is the reason why root's login shell is /sbin/sh and home directory is /.&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong</description>
      <pubDate>Thu, 14 Feb 2002 06:44:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-filesystem-for-root/m-p/2664592#M931023</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2002-02-14T06:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: A filesystem for /root?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-filesystem-for-root/m-p/2664593#M931024</link>
      <description>hi&lt;BR /&gt;&lt;BR /&gt;  I will not suggest this. Root users home directory should be / only. Otherwise U may end up in problem. U can seen, some times LVM may not comes up because of some reason. That time / will be mounted as /dev/root. If U create another file system for root users, In crucial situations U may not be able to that particular FS. Better to leave as it is.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Best of luck&lt;BR /&gt;Shahul</description>
      <pubDate>Thu, 14 Feb 2002 06:47:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-filesystem-for-root/m-p/2664593#M931024</guid>
      <dc:creator>Shahul</dc:creator>
      <dc:date>2002-02-14T06:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: A filesystem for /root?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-filesystem-for-root/m-p/2664594#M931025</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The home directory for root *must* be&lt;BR /&gt;part of the '/' filesystem. You can have&lt;BR /&gt;it in any directory you like, but it &lt;BR /&gt;*must* be under the '/' mount-point.&lt;BR /&gt;&lt;BR /&gt;-Michael</description>
      <pubDate>Thu, 14 Feb 2002 06:48:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-filesystem-for-root/m-p/2664594#M931025</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-02-14T06:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: A filesystem for /root?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-filesystem-for-root/m-p/2664595#M931026</link>
      <description>Hi all&lt;BR /&gt;&lt;BR /&gt;I don't see really a problem with separate /root filesystem. And I don't see a problem during boot in single user mode. Without mounted /root filesystem there is an empty /root directory or even with this files you need in this time.&lt;BR /&gt;I don't use a separate /root filesystem but in my imagine it may be helpful.&lt;BR /&gt;&lt;BR /&gt;Only my idea&lt;BR /&gt;Ruediger&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Feb 2002 08:41:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-filesystem-for-root/m-p/2664595#M931026</guid>
      <dc:creator>Ruediger Noack</dc:creator>
      <dc:date>2002-02-14T08:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: A filesystem for /root?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-filesystem-for-root/m-p/2664596#M931027</link>
      <description>You need to have /root on / as you will not be able to  boot.  it needs the .profile for root&lt;BR /&gt;&lt;BR /&gt;However.....&lt;BR /&gt;If you make a /root directory within /, with your basic .profile &amp;amp; then have a /root mounted ontop (masking the .profile) I think this should work.  &lt;BR /&gt;&lt;BR /&gt;But why?  if your "root" users are inadvertently filling up / then they need their ar*e kicking.  If core files are being dumped there, create a directory called core &amp;amp; change the perms to 000, then the core's will no longer be dumped!  I can't think of any other reasons why you need a seperate f/s for root home?&lt;BR /&gt;&lt;BR /&gt;Tim</description>
      <pubDate>Thu, 14 Feb 2002 15:53:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-filesystem-for-root/m-p/2664596#M931027</guid>
      <dc:creator>Tim D Fulford</dc:creator>
      <dc:date>2002-02-14T15:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: A filesystem for /root?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-filesystem-for-root/m-p/2664597#M931028</link>
      <description>I agree that the /root userdir should remain part of /.  Too many possibilities for things to go wrong otherwise. It is needed in single user mode, boot time etc...&lt;BR /&gt;&lt;BR /&gt;GL,&lt;BR /&gt;C</description>
      <pubDate>Thu, 14 Feb 2002 16:14:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-filesystem-for-root/m-p/2664597#M931028</guid>
      <dc:creator>Craig Rants</dc:creator>
      <dc:date>2002-02-14T16:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: A filesystem for /root?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-filesystem-for-root/m-p/2664598#M931029</link>
      <description>I just did a test on my 11i B132L workstation.&lt;BR /&gt;&lt;BR /&gt;I created a new LV and mounted it as /root.  I modified /etc/passwd so that root's home dir is now /root.&lt;BR /&gt;&lt;BR /&gt;I copied all . files from / to /root and only left .profile .shrc and my .env (personal stuff) in /.&lt;BR /&gt;&lt;BR /&gt;I rebooted the machine and let it come up in multi-user mode.  No problems that I could see.  CDE came up.  Networking was up.  Everything appears to be good.&lt;BR /&gt;&lt;BR /&gt;I then rebooted again, but interupted the boot process and came up in single user mode.  It came up fine here too.  Everything you would expect is still there.&lt;BR /&gt;&lt;BR /&gt;When coming up this way, /root is there, but since it is not mounted there are none of the . files that you would expect.  This doesn't appear to cause a problem for me at this point.&lt;BR /&gt;&lt;BR /&gt;Now I am not saying that you won't have any problems.  I am just saying that I haven't observed any so far.&lt;BR /&gt;&lt;BR /&gt;MY OPINION is that it works and you shouldn't have any problems.  There are no guarantees or warranties on this though.  Use at your own risk!</description>
      <pubDate>Thu, 14 Feb 2002 16:47:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-filesystem-for-root/m-p/2664598#M931029</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2002-02-14T16:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: A filesystem for /root?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-filesystem-for-root/m-p/2664599#M931030</link>
      <description>Personally, I think it's a really good idea to have root's home directory not at / but at a lower level (i.e. /root).  (See &lt;A href="http://people.hp.se/stevesk/bastion11.html" target="_blank"&gt;http://people.hp.se/stevesk/bastion11.html&lt;/A&gt; item number 11 for somebody else that agrees with me)&lt;BR /&gt;&lt;BR /&gt;Having /root on a different file system from / shouldn't cause any problems that I can think of.  &lt;BR /&gt;&lt;BR /&gt;Consider this:  &lt;BR /&gt;&lt;BR /&gt;1.  /root (the directory) must exist on the / file system for it to even be mounted, so /root will always exist, wether in single user mode or not.&lt;BR /&gt;&lt;BR /&gt;2.  Having a profile is just a convienence feature for us shell bound folks that like to type (but not too much) rather than point/click.  If you don't have a profile, you will still get a shell, but with no PATH, TERM, etc. set up.   You will have to bang all that stuff in yourself at the keyboard.&lt;BR /&gt;&lt;BR /&gt;Somebody mentioned above (can't see the name at the moment, sorry) of copying a skeleton .profile into /root before the file system is mounted over it so a .profile will exist as a convenience when /root isn't mounted.  That's a pretty good idea.</description>
      <pubDate>Fri, 15 Feb 2002 15:43:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-filesystem-for-root/m-p/2664599#M931030</guid>
      <dc:creator>Eric Ladner</dc:creator>
      <dc:date>2002-02-15T15:43:14Z</dc:date>
    </item>
  </channel>
</rss>

