- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- chroot going away in HP-UX 12?
Operating System - HP-UX
1822452
Members
2480
Online
109642
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО09-05-2002 11:17 AM
тАО09-05-2002 11:17 AM
Hi,
I heard a rumor that chroot whould not be available in HP-UX 12. I find that hard to believe. Has anyone else heard this? Any comments?
Thanks,
Jim Gallagher
I heard a rumor that chroot whould not be available in HP-UX 12. I find that hard to believe. Has anyone else heard this? Any comments?
Thanks,
Jim Gallagher
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-06-2002 12:49 AM
тАО09-06-2002 12:49 AM
Solution
Hi, Jim!
I cannot confirm this for HP-UX 12... but indeed the chroot(2) will be obsoleted.
You will find in the man page of chroot(2) beginning with 11.11:
---
WARNINGS
Obsolescent Interfaces
chroot() is to be obsoleted at a future date.
---
The chroot(2) has some flaws from a security perspective... so its use is discouraged.
See e.g.
http://www.bpfh.net/simes/computing/chroot-break.html
Please note that the warning is only added to the man page of the chroot systemcall. I strongly assume the command will continue to be available, but using a modern API.
Regards...
Dietmar.
I cannot confirm this for HP-UX 12... but indeed the chroot(2) will be obsoleted.
You will find in the man page of chroot(2) beginning with 11.11:
---
WARNINGS
Obsolescent Interfaces
chroot() is to be obsoleted at a future date.
---
The chroot(2) has some flaws from a security perspective... so its use is discouraged.
See e.g.
http://www.bpfh.net/simes/computing/chroot-break.html
Please note that the warning is only added to the man page of the chroot systemcall. I strongly assume the command will continue to be available, but using a modern API.
Regards...
Dietmar.
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-06-2002 03:01 AM
тАО09-06-2002 03:01 AM
Re: chroot going away in HP-UX 12?
Jim,
I am not sure what the concern is. When obsoleting a command, a replacement command should be released which replaces/enhances the removed command.
This site is a standards compliance site and provides a high level explanation of chroot.
http://devresource.hp.com/STK/class_standards_list.html
Search the page for chroot to find:
chroot() is not portable.
There is not much information on its replacement yet.
Cheryl
I am not sure what the concern is. When obsoleting a command, a replacement command should be released which replaces/enhances the removed command.
This site is a standards compliance site and provides a high level explanation of chroot.
http://devresource.hp.com/STK/class_standards_list.html
Search the page for chroot to find:
chroot() is not portable.
There is not much information on its replacement yet.
Cheryl
"Downtime is a Crime."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-06-2002 08:25 AM
тАО09-06-2002 08:25 AM
Re: chroot going away in HP-UX 12?
OK, thanks for the info. The reason I ask is that we are setting up multiple instances of CIFS(Samba) on a single file server using its root directory (chroot) directive. We need to do this because of uid/gid overlap between the sets of files that will be served. Hopefully, we will have the passwd files merged before HP-UX 12, or there is an option for similar chroot functionality later on.
Thanks,
Jim
Thanks,
Jim
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP