From: Alejandro Colomar Date: Tue, 31 Mar 2026 12:50:00 +0000 (+0200) Subject: man/passwd.5.xml: CAVEATS: Add section X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4a5ca8909a1ff123ace40a36e491e604e4f6f33e;p=thirdparty%2Fshadow.git man/passwd.5.xml: CAVEATS: Add section Document that when reading passwd(5), the C locale should be used. Cc: Iker Pedrosa Cc: Mantas Mikulėnas Cc: KhaelK-Praetorian Cc: Tobias Stoeckmann Signed-off-by: Alejandro Colomar --- diff --git a/man/passwd.5.xml b/man/passwd.5.xml index c528e6977..37b136222 100644 --- a/man/passwd.5.xml +++ b/man/passwd.5.xml @@ -163,6 +163,20 @@ + + CAVEATS + + Unprivileged users may write + arbitrary non-ASCII characters + in the GECOS field, + notably including C1 control characters. + When reading this file, + use the C locale. + Otherwise, + the contents may look different than they are. + + + SEE ALSO