F5F Stay Refreshed Software Operating Systems Are you sure you want to proceed with accessing all files?

Are you sure you want to proceed with accessing all files?

Are you sure you want to proceed with accessing all files?

S
ss4587
Junior Member
16
05-14-2023, 07:18 AM
#1
You can assign yourself full permissions for editing, reading, and executing files across all locations by modifying your user profile in the system settings. On your Raspberry Pi 4, open the Files menu, select "Edit," then choose "Change Permissions." Set your account to have read, write, and execute rights for the entire /var directory. This way you can access and modify files directly through the GUI without needing sudo.
S
ss4587
05-14-2023, 07:18 AM #1

You can assign yourself full permissions for editing, reading, and executing files across all locations by modifying your user profile in the system settings. On your Raspberry Pi 4, open the Files menu, select "Edit," then choose "Change Permissions." Set your account to have read, write, and execute rights for the entire /var directory. This way you can access and modify files directly through the GUI without needing sudo.

K
Kush_PotHead
Member
125
05-14-2023, 01:12 PM
#2
Since you mentioned a pi, I'll assume some sort of Linux based distro. There is already an "account" for that, root. You could also launch your file browser as root when you need to do things like this. This is done on purpose, it would not be suggested to log in as root, or make yourself root all the time.
K
Kush_PotHead
05-14-2023, 01:12 PM #2

Since you mentioned a pi, I'll assume some sort of Linux based distro. There is already an "account" for that, root. You could also launch your file browser as root when you need to do things like this. This is done on purpose, it would not be suggested to log in as root, or make yourself root all the time.

W
weepul27
Junior Member
22
05-21-2023, 05:25 AM
#3
Sure thing! Glad you remembered.
W
weepul27
05-21-2023, 05:25 AM #3

Sure thing! Glad you remembered.

S
seigneurZOZ
Member
126
05-21-2023, 12:50 PM
#4
Yes. In certain distributions, gksudo has been removed or reduced in importance, yet using sudo (your file manager) usually remains functional. At least based on my observations.
S
seigneurZOZ
05-21-2023, 12:50 PM #4

Yes. In certain distributions, gksudo has been removed or reduced in importance, yet using sudo (your file manager) usually remains functional. At least based on my observations.

M
Moistified
Member
73
06-01-2023, 06:41 PM
#5
Access the system using the primary account credentials.
M
Moistified
06-01-2023, 06:41 PM #5

Access the system using the primary account credentials.

L
Leaxer
Junior Member
47
06-06-2023, 01:02 AM
#6
if no root setup exists you can still proceed: using sudo su - will prompt for your password, after which you’ll log in as root. (you can confirm this by checking the $ symbol at the end of the prompt.) In the root shell passwd will allow you to configure a root password, then exit. This command switches to su (defaults to root if no username is provided). After this step, you should also be able to log in as root automatically at startup if needed. If you choose this path, I suggest picking a bold color for the GUI theme—especially a mostly red one—to get alerts whenever a root window appears after being started via su from the command line, logged in, or using sudo.
L
Leaxer
06-06-2023, 01:02 AM #6

if no root setup exists you can still proceed: using sudo su - will prompt for your password, after which you’ll log in as root. (you can confirm this by checking the $ symbol at the end of the prompt.) In the root shell passwd will allow you to configure a root password, then exit. This command switches to su (defaults to root if no username is provided). After this step, you should also be able to log in as root automatically at startup if needed. If you choose this path, I suggest picking a bold color for the GUI theme—especially a mostly red one—to get alerts whenever a root window appears after being started via su from the command line, logged in, or using sudo.