Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2003 15:38:46 +0100 (CET)
From:      Jacob Nielsen <jni@orange.dk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   i386/47297: adduser problem
Message-ID:  <200301211438.h0LEcktt001699@fame.adsl.dk>

next in thread | raw e-mail | index | archive | help

>Number:         47297
>Category:       i386
>Synopsis:       adduser problem
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 21 06:40:12 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Jacob Nielsen
>Release:        FreeBSD 5.0-RC3 i386
>Organization:
Orange A/S
>Environment:
System: FreeBSD fame.adsl.dk 5.0-RC3 FreeBSD 5.0-RC3 #0: Fri Jan 10 23:09:54 GMT 2003 root@cypress:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
	The adduser script doesnt escape special characters.

	This is when trying to use '(' and ')' in the password.

>How-To-Repeat:
	Lock out the account after creation? [no]: 
	Username   : cwg
	Password   : *****
	Full Name  : cwg
	Uid        : 1002
	Class      : 
	Groups     : cwg 
	Home       : /home/cwg
	Shell      : /bin/sh
	Locked     : no
	OK? (yes/no): y
	eval: 1: Syntax error: "(" unexpected
	adduser: ERROR: There was an error adding user (cwg).
	fame# 
>Fix:
	Maybe use perl (again) :)
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301211438.h0LEcktt001699>