This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
backuppc [2018/12/17 23:20] – [Add User] admin | backuppc [2018/12/18 21:06] – [Ping Command] admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== BackupPC DS 413j ====== | + | ====== BackupPC |
Based on this guide https:// | Based on this guide https:// | ||
Line 37: | Line 37: | ||
</ | </ | ||
+ | ===== Ping Command ===== | ||
+ | |||
+ | < | ||
+ | $Conf{PingCmd} = 'sudo $pingPath -c 1 -w 3 $host'; | ||
+ | </ | ||
+ | |||
+ | ===== Change sudoers file ===== | ||
+ | |||
+ | |||
+ | After root ALL ... add the following in / | ||
+ | < | ||
+ | admin ALL = NOPASSWD: /bin/ping | ||
+ | backuppc ALL = NOPASSWD: /bin/ping | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== Locked out from root access (no sudo possible anymore) ===== | ||
+ | |||
+ | Works 8-): | ||
+ | |||
+ | https:// |