• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Resolved New root user for backup

hardbrasil

Regular Pleskian
Hello fellas, what is wrong with this command

Code:
adduser -ou 0 -g 0 /var/lib/psa/dumps bkpuser


i would like to crate a new user with root privileges and only acessible into this path "/var/lib/psa/dumps"

thanks
 
ok, i got it.

so how group user should i use to have privileges to access that path and move files trough ftp ftps ?
 
Hi hardbrasil,

pls. don't make it more complicated than it probably is.... just tell us, WHAT your goal is, so that someone can suggest a work-around for it. ;)
 
would like to crate a new user with privileges and only acessible into this path "/var/lib/psa/dumps"
 
Hi hardbrasil,

well, you might have already noticed, that files INSIDE the folder "/var/lib/psa/dumps" are owned by root : root , which conflicts with your desire to create a new user with the same priviliges, who should be chrooted to that folder only, so basically the answer to "Is that possible" is "no".

If you desire to "move files trough ftp ftps" regulary from the folder "/var/lib/psa/dumps", consider to use crontabs for the root - user. ;)
 
Back
Top