Package: vsftpd
Version: 2.3.4-1
Severity: normal
Tags: patch
File: /var/lib/dpkg/info/vsftpd.postinst
I think getent is too loud.
--- /var/lib/dpkg/info/vsftpd.postinst 2011-09-05 17:08:16.000000000 +0300
+++ vsftpd.postinst 2011-09-18 11:48:41.000000000 +0300
@@ -16,10 +16,10 @@
db_stop
- if ! getent passwd "${_USERNAME}"
+ if ! getent passwd "${_USERNAME}" > /dev/null
then
adduser --system --home ${_DIRECTORY} --no-create-home
--quiet --gecos 'ftp daemon' --group ${_USERNAME}
- elif ! getent group "${_USERNAME}"
+ elif ! getent group "${_USERNAME}" > /dev/null
then
addgroup --system --quiet ${_USERNAME}
gpasswd -a ${_USERNAME} ${_USERNAME}
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]