Normal user cp a file: Permission Denied

bond347

Member
Oct 21, 2022
67
0
6
Hi All,

Objective: Avoid using the root user for system configuration tasks, I’ve created an alternative user with elevated permissions. The goal is to perform all necessary system configurations and administrative tasks without relying on the root account.

Instead of using the root user, I created a new group group1 and assigned the "Administrator" role. Then, I created a new user, admin1, chose Realm PAM, and added the user to group1. These steps were performed via the GUI, and I also added admin1 using adduser via SSH.

Good news: I can successfully log in to both the Proxmox web GUI and SSH as admin1. However, I encounter a problem where I can't perform any operations, such as running a cp command, due to a Permission Denied error. I also tried using "sudo cp" with error "-bash: sudo: command not found".

Could you help identify the issue and provide a resolution?
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!