Bug 29376

Summary: Special chars in username not handled properly
Product: [Retired] Red Hat Linux Reporter: Enrico Scholz <rh-bugzilla>
Component: internet-configAssignee: Than Ngo <than>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-02-25 12:33:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Enrico Scholz 2001-02-25 12:30:44 UTC
When having an username with an '#' (e.g. the German T-Online ISP has such
names) it will be put into the secret-file without quoting.

Because ipppd interprets '#' as comment-sign all information behind it will
be ignored and authentification will fail.

I suggest to quote the name in /etc/init.d/isdn:178 (and below in current
rawhide):

-                create_option_file "user \"$USER\"" "$1"
+                create_option_file "user $USER" "$1"

Comment 1 Enrico Scholz 2001-02-25 12:33:04 UTC
Uups; diff-output swapped...

Comment 2 Ngo Than 2001-02-26 09:57:45 UTC
It's fixed with internet-config-0.33-1. Thanks.