diff options
author | Wolfram Schneider <wosch@FreeBSD.org> | 1996-11-20 01:07:46 +0000 |
---|---|---|
committer | Wolfram Schneider <wosch@FreeBSD.org> | 1996-11-20 01:07:46 +0000 |
commit | 7d7c29a95db70a41d97f8dd0089887542fc0e519 (patch) | |
tree | b1991794c4426fdbdbc34e0bc233a08ba4624266 /adduser | |
parent | 495533f172691d7c3cb333862a13765462a7039a (diff) | |
download | pw-darwin-7d7c29a95db70a41d97f8dd0089887542fc0e519.tar.gz pw-darwin-7d7c29a95db70a41d97f8dd0089887542fc0e519.tar.zst pw-darwin-7d7c29a95db70a41d97f8dd0089887542fc0e519.zip |
do not print 'illegal shell' for pseudo users news and xten
Submitted by: kuku
Diffstat (limited to 'adduser')
-rw-r--r-- | adduser/adduser.perl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/adduser/adduser.perl b/adduser/adduser.perl index d2e6050..6ccab02 100644 --- a/adduser/adduser.perl +++ b/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; |