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 | 42eacfd392f1f24077111c3371c71d68b0f7a558 (patch) | |
tree | 12297c7a94d0b8f11ab949cc5c6126cf38968322 /usr.sbin/adduser/adduser.perl | |
parent | 7632575be684fd3b06ea7fe2163b2ed6eafab620 (diff) | |
download | src-42eacfd392f1f24077111c3371c71d68b0f7a558.tar.gz src-42eacfd392f1f24077111c3371c71d68b0f7a558.zip |
do not print 'illegal shell' for pseudo users news and xten
Submitted by: kuku
Notes
Notes:
svn path=/head/; revision=19890
Diffstat (limited to 'usr.sbin/adduser/adduser.perl')
-rw-r--r-- | usr.sbin/adduser/adduser.perl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/adduser/adduser.perl b/usr.sbin/adduser/adduser.perl index d2e6050b0010..6ccab0284beb 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; |