JMLatemby 3 Posted June 5, 2021 Posted June 5, 2021 Hi there, during "dpkg -i emby-server-deb_4.6.2.0_amd64.deb" on Debian, the following warning message is issued: Quote useradd: Warning: missing or non-executable shell '/usr/bin/nologin' Checking the user definitions for user "emby", the above-mentioned wrong shell entry is indeed present: admin@emby:~# cat /etc/passwd | grep ^emby emby:x:998:998:Emby Server:/var/lib/emby:/usr/bin/nologin The correct nologin shell definition under Debian is "/usr/sbin/nologin". I did adjust the entry accordingly. 1
Q-Droid 859 Posted June 5, 2021 Posted June 5, 2021 I'm seeing the same thing in the postinstall scriptlet for the 4.6.2.0 CentOS rpm. As posted above the common location for nologin is sbin. getent passwd emby > /dev/null 2>&1 && usermod -c 'Emby Server' -g emby -d /var/lib/emby -m -s /usr/bin/nologin emby getent passwd emby > /dev/null 2>&1 || (useradd -r -c 'Emby Server' -g emby -d /var/lib/emby -m -s /usr/bin/nologin emby && passwd -l emby > /dev/null && chown emby:emby -R /var/lib/emby)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now