How Download backup with PermitRootLogin no

orizonmedia

Registered
Jan 16, 2015
4
0
1
Rimouski, Canada
cPanel Access Level
Root Administrator
Hi!
I have read about cpanel security and it is recommanded to disable root login : PermitRootLogin no
But if this option is disable, how can i download the serveur backup in /backup ? My sftp root login don't work anymore.

Maybe give Folder access to my new sudo user?



Thank!
 
Last edited:

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,271
313
Houston
If you disable root logins, you will indeed be unable to access the server with the root user this way. The alternate option would be to store the backups in a location a sudo user has access to.