diff options
author | 1996-11-20 01:07:46 +0000 | |
---|---|---|
committer | 1996-11-20 01:07:46 +0000 | |
commit | a937cb2483e9ee81d2714520f7be69fc8125e02c (patch) | |
tree | 8e95f89c4e94f6506a5d44426cbbcdbc64b933f6 /adduser | |
parent | 00e3bf99dcfe1d4ba8ae3edbe060dd0aeb4c10e8 (diff) | |
download | pw-darwin-a937cb2483e9ee81d2714520f7be69fc8125e02c.tar.gz pw-darwin-a937cb2483e9ee81d2714520f7be69fc8125e02c.tar.zst pw-darwin-a937cb2483e9ee81d2714520f7be69fc8125e02c.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; |