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
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
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
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
- 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
- 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