Date: Mon, 10 May 2004 20:58:32 -0700 (PDT) From: Todd Miller <Todd.Miller@courtesan.com> To: freebsd-gnats-submit@FreeBSD.org Subject: docs/66505: escaping '~' and '$' characters in login.conf setenv or path capabilties doesn't work as documented Message-ID: <200405110358.i4B3wWp1080388@www.freebsd.org> Resent-Message-ID: <200405110400.i4B40Wuk071024@freefall.freebsd.org>
index | next in thread | raw e-mail
>Number: 66505
>Category: docs
>Synopsis: escaping '~' and '$' characters in login.conf setenv or path capabilties doesn't work as documented
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: doc-bug
>Submitter-Id: current-users
>Arrival-Date: Mon May 10 21:00:32 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator: Todd Miller
>Release: 4.8 (though -current sources have the same issues)
>Organization:
>Environment:
>Description:
login.conf(5) states that "Capabilities that set environment variables are scanned for both `~' and `$' characters, which are substituted for a user's home directory and name respectively. To pass these characters literally into the environment variable, escape the character by preceding it with a backslash '\'.
>How-To-Repeat:
Try escaping a ~ or $ in a setenv or path capability in login.conf or ~/.login_conf.
>Fix:
Either remove the support for escaping the characters or document its deficiencies.
>Release-Note:
>Audit-Trail:
>Unformatted:
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405110358.i4B3wWp1080388>
