Bug#181448: [Pkg-shadow-devel] Bug#181448: Yet another "crazy" suggestion
Tomasz Kłoczko
Tomasz Kłoczko <kloczek@zie.pg.gda.pl>, 181448@bugs.debian.org
Fri, 27 May 2005 12:29:05 +0200 (CEST)
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
--568760595-1780840340-1117189745=:3825
Content-Type: TEXT/PLAIN; charset=UTF-8
Content-Transfer-Encoding: QUOTED-PRINTABLE
On Tue, 24 May 2005, Christian Perrier wrote:
> tags 181448 wontfix
> thanks
>=20
> Indeed, the wishlist bugs for shadow are a huge can of nasty
> worms...:-(
>=20
>=20
> Now, we have a user requesting in #181448:
>=20
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D
> It is not possible to put SIP URLs like "sip:19081@fwd.pulver.com" in
> the GECOS phone field. This should be allowed, because such URLs are
> used for Voice over IP.
>=20
> Since the GECOS information is stored in the passwd file, where colons
> are used as delimiters, some means of quoting or encoding the colon will
> be necessary.
>=20
> Example:
>=20
> screwdriver% chfn
> Password:=20
> Changing the user information for galen
> Enter the new value, or press return for the default
> Full Name: Galen Hancock
> Room Number []:=20
> Work Phone []: sip:19081@fwd.pulver.com
> Home Phone []:=20
> chfn: invalid work phone: "sip:19081@fwd.pulver.com"
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D
>=20
> Indeed, even manually quoting or escaping colons in /etc/passwd
> completely breaks the given entries.
>=20
> I'm again very reluctant to push Tomasz to introduce a complex
> escaping machanism for passwd fields, allowing the use of colons in
> the GECOS field.
>=20
> This would be VERY likely to potentially break out all custom
> utilities relying on a basic analysis of passwd to but out fields.
>=20
> So, here, I mark the bug as wontfix and wait for comments to convince
> me that it's really worth the effort and absolutely not dangerous.
OK. Point taken.
But I have questions about this:
- is sip:19081@fwd.pulver.com it is URI/URL or not ? if yes probably
correct format of above is "sip://19081@fwd.pulver.com/".
- anyone know some template/example code URI/URL syntax checker ?
kloczek
--=20
-----------------------------------------------------------
*Ludzie nie maj=B1 problem=F3w, tylko sobie sami je stwarzaj=B1*
-----------------------------------------------------------
Tomasz K=B3oczko, sys adm @zie.pg.gda.pl|*e-mail: kloczek@rudy.mif.pg.gda.p=
l*
--568760595-1780840340-1117189745=:3825--