FG

How can I create a user with read-only access to all files? (ie root without writing permissions)

Fresh3 days ago
Mar 15, 202639351 views
Confidence Score0%
0%

Problem

For backing up my server, I would like to remotely access it via SSH. To minimize all risks, it want to user a user who only has read access, but to all files, just like root. However, he shouldn't have any write rights. Any ideas on how to achieve that?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How can I create a user with read-only access to all files? (ie root without writing permissions)

Low Risk

Might I suggest another method to solve your problem that's less maintenance intensive. You can create ssh keys which have limited access to specific programs. I dislike granting root unrestricted access, but sometimes you need to enable certain com…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment