summaryrefslogtreecommitdiffstats
path: root/usr.sbin/adduser
diff options
context:
space:
mode:
authorwosch <wosch@FreeBSD.org>1996-11-20 01:07:46 +0000
committerwosch <wosch@FreeBSD.org>1996-11-20 01:07:46 +0000
commite5c94a20acafffd5794c5f365dc0f6644a5cf698 (patch)
tree12297c7a94d0b8f11ab949cc5c6126cf38968322 /usr.sbin/adduser
parentef41f18ddebc2d5e1cb53e9d3de8276edc6e1811 (diff)
downloadFreeBSD-src-e5c94a20acafffd5794c5f365dc0f6644a5cf698.zip
FreeBSD-src-e5c94a20acafffd5794c5f365dc0f6644a5cf698.tar.gz
do not print 'illegal shell' for pseudo users news and xten
Submitted by: kuku
Diffstat (limited to 'usr.sbin/adduser')
-rw-r--r--usr.sbin/adduser/adduser.perl4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/adduser/adduser.perl b/usr.sbin/adduser/adduser.perl
index d2e6050..6ccab028 100644
--- a/usr.sbin/adduser/adduser.perl
+++ b/usr.sbin/adduser/adduser.perl
@@ -24,7 +24,7 @@
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
-# $Id: adduser.perl,v 1.18 1996/09/14 23:22:23 wosch Exp $
+# $Id: adduser.perl,v 1.19 1996/09/17 19:34:56 wosch Exp $
# read variables
@@ -255,7 +255,7 @@ sub passwd_read {
print "User $p_username: illegal shell: ``$sh''\n"
if ($verbose && $sh &&
!$shell{&basename($sh)} &&
- $p_username !~ /^(bin|uucp|falcon|nobody)$/ &&
+ $p_username !~ /^(news|xten|bin|nobody|uucp)$/ &&
$sh !~ /\/(pppd|sliplogin)$/);
$uid{$p_uid} = $p_username;
$pwgid{$p_gid} = $p_username;
OpenPOWER on IntegriCloud