- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Is it OK to move the root home directory to /root?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2001 07:49 PM
11-18-2001 07:49 PM
I think it's much neater.
We are running trusted systems. Do you think this will pose a problem?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2001 07:59 PM
11-18-2001 07:59 PM
SolutionThere is no problem whatsoever. In fact it is
encouraged. Have a look at these two links.
http://people.hp.se/stevesk/bastion11.html
http://forums.itrc.hp.com/cm/QuestionAnswer/1,11866,0x4499e7e60861d511abcd0090277a778c,00.htm
HTH
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2001 08:19 PM
11-18-2001 08:19 PM
Re: Is it OK to move the root home directory to /root?
Just remember to modify the /etc/passwd file correctly and move all, including hidden, files to the new $HOME.
You may need to update some of your environment-setup scripts as well.
And do open an additional session as root while you are making the change, just in case you get locked out. Close it only after you are sure you can login again.
Good Luck.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2001 08:53 PM
11-18-2001 08:53 PM
Re: Is it OK to move the root home directory to /root?
Not to forget that if you are running HP-UX in trusted mode, you will need to update root's TCB entry by running pwconv so as to match root's /etc/passwd entry.
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 09:08 AM
11-19-2001 09:08 AM
Re: Is it OK to move the root home directory to /root?
in addition "/root" should be a directory on the "/"-filesystem, do not put it on a seperate filesystem.
You might be trapped, when you need to boot into single-user mode.
Volker
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 09:13 AM
11-19-2001 09:13 AM
Re: Is it OK to move the root home directory to /root?
That is a very good thing as long as /root is in the / filesystem. Another good thing is to create a /root/bin directory with permissions 700. That will allow you to have a good safe place to keep root only scripts or those that are run by cron and must in-turn su to another user.
Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 04:26 PM
11-19-2001 04:26 PM
Re: Is it OK to move the root home directory to /root?
ulimit -c 0