From 797c297501bc0ff4c45f30150959f9da607b19ab Mon Sep 17 00:00:00 2001 From: schniederzero Date: Mon, 28 Nov 2016 12:03:04 -0600 Subject: [PATCH] Updated Autostart on Debian (markdown) --- Autostart-on-Debian.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Autostart-on-Debian.md b/Autostart-on-Debian.md index 9cf88d6..78d6f15 100644 --- a/Autostart-on-Debian.md +++ b/Autostart-on-Debian.md @@ -100,7 +100,7 @@ exit 0 **Security Note** -For security purposes, you can prevent this account from being logged into by editing the '/etc/passwd' entry for user nzbdrone and changing it to '/bin/false' or /usr/sbin/nologin'. I've also removed the password from '/etc/shadow'. From researching, these both appear to be the manual ways to perform the '--disable-login' and '--disable-password' while creating a new user. +For security purposes, you can prevent this account from being logged into by editing the '/etc/passwd' entry for user nzbdrone and changing it to '/bin/false' or /usr/sbin/nologin'. I've also removed the password from '/etc/shadow'. From researching, these both appear to be the manual ways to perform the '--disable-login' and '--disable-password' while creating a new user. Alternatively, you can accomplish this same task by creating a user with the '--system' option. /etc/passwd 'nzbdrone:x:1001:1001:NzbDrone Sonarr Media:/opt/NzbDrone:/bin/false' /etc/shadow 'nzbdrone:*:17124:0:99999:7:::'