-
-
Forums
- Products
- Servers and Operating Systems
- Storage
- Software
- Services
- HPE GreenLake
- Company
- Events
- Webinars
- Partner Solutions and Certifications
- Local Language
- China - 简体中文
- Japan - 日本語
- Korea - 한국어
- Taiwan - 繁體中文
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Blog, Poland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- Report Inappropriate Content
03-16-2016 11:26 AM
03-16-2016 11:26 AM
chroot
Hi gurus ,
I have cretaed a chroot enviornment for user1 and its working as expected.
The requirement is another user2 in the server should be able to cd to /chroot location and cp files elsewhere in the server.
!) i tried making user1 and user 2 group same .this leads to user2 being locked in /chroot as well.
2)if i used Match user in sshd_config , and chown :group the /chroot , user1 is not able to sftp.
can someone please share ur experince with this .
BR,
RT.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-16-2016 08:43 PM
03-16-2016 08:43 PM
Re: chroot
> I have cretaed a chroot enviornment for user1
How, exactly?
> and it[']s working as expected.
When you do what, exactly?
> !) i tried making user1 and user 2 group same .this leads to user2
> being locked in /chroot as well.
I know nothing -- See above -- but I don't see why that would happen.
> 2)if i used Match user in sshd_config , and chown :group the /chroot ,
> user1 is not able to sftp.
Does this mean that your "a chroot enviornment" applies to SSH/SFTP
only? Again, details of exactly what you did might be more helpful than
a vague description of what you thought that you did. Also, "is not
able to" is not a useful problem description. It does not say what you
did. It does not say what happened whan you did it.
> can someone please share ur experince with this .
I may have none, but it depends on exactly what "this" is.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-20-2016 04:05 AM
03-20-2016 04:05 AM
Re: chroot
Hi Steven ,
i used chroot.sh root to create chroot env, for user1,with only sftp access.
user2 is normal user of the system.However user2 require to have access to /chroot folder.
user2 should be able to copy files and directory from /chroot directory of user1.
Regards,
RT
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2022 Hewlett Packard Enterprise Development LP