1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-11-22 02:32:51 +01:00

Updated Autostart on Debian (markdown)

schniederzero 2016-11-28 12:03:04 -06:00
parent 31a338df82
commit 797c297501

@ -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:::'