* BjĂśrn Esser <bjoern.esser@googlemail.com>, 2011-11-10, 01:21:
if ! grep /usr/sbin/jk_chrootsh /etc/shells >/dev/null; then \ echo "/usr/sbin/jk_chrootsh" >> /etc/shells ;\ fi
As per Policy 10.7.4, you must not modify /etc/shells this way.You should use add-shell here. (Though I'm not sure adding jk_chrootsh to /etc/shells is a good idea in the first place...)
-- Jakub Wilk