diff --git a/Autostart-on-Debian.md b/Autostart-on-Debian.md index dd342fa..e72a41a 100644 --- a/Autostart-on-Debian.md +++ b/Autostart-on-Debian.md @@ -102,7 +102,7 @@ exit 0 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/passwd 'nzbdrone:x:1001:1001:NzbDrone Sonarr Media:/home/nzbdrone:/bin/false' /etc/shadow 'nzbdrone:*:17124:0:99999:7:::' Utilizing the '/usr/sbin/nologin' option will output what's seen below, when attempting to change to that user from root.