- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- password rsync without root account
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp
Knowledge Base
Discussions
Forums
Discussions
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
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
12-07-2021 04:04 AM - last edited on 12-12-2021 04:54 PM by support_s
12-07-2021 04:04 AM - last edited on 12-12-2021 04:54 PM by support_s
password rsync without root account
- Tags:
- Operating System
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2021 05:48 PM
12-08-2021 05:48 PM
Re: password rsync without root account
Rsync is an opensource tool and used more widely on Linux. You may find many solutions and workaround for this.
Following works on my system.
Assuming /tmp/test2 has files with root ownership and non-root users does not have any permissions for these.
Also, this assumes that root's ~/.ssh/id_rsa.pub on host1 is appended to user1's ~/.ssh/authorized_keys file on host2.
user1@host1 $ sudo rsync -p -v -r --rsync-path="sudo rsync" /tmp/test2 user1@host2:/tmp/
Regards
Manish