Abotu setting 'PermitRootLogin=no' in sshd_config

Roberto Ragusa mail at robertoragusa.it
Fri Nov 21 10:55:10 UTC 2014


On 11/21/2014 09:42 AM, Reindl Harald wrote:

> why? because they are servers for specific tasks and *any* non-root login would be followed by "su - root" anyways and for automated rsync scripts backing up data only root has access you need it also

For rsync-as-root use cases my usual approach is to create another
account with userid=0 and login with ssh on this account.
It is not root, but it has the same powers (because the numeric uid is the only
thing it really matters).

Just wanted to share the trick.

Best regards.

-- 
   Roberto Ragusa    mail at robertoragusa.it


More information about the devel mailing list